@getlatedev/node 0.2.1712 → 0.2.1714
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +71 -0
- package/dist/index.d.ts +71 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +2 -0
- package/src/generated/types.gen.ts +71 -0
package/dist/index.d.mts
CHANGED
|
@@ -21656,7 +21656,24 @@ type TrackingSite = {
|
|
|
21656
21656
|
* Signs the visitor's IP and country your proxy forwards. Only on reading or updating one site.
|
|
21657
21657
|
*/
|
|
21658
21658
|
secret?: (string) | null;
|
|
21659
|
+
/**
|
|
21660
|
+
* The loader of each of `googleTagIds` on the site's own domain. Use `src` in place of the tag's googletagmanager.com address.
|
|
21661
|
+
*/
|
|
21662
|
+
googleTags?: Array<{
|
|
21663
|
+
/**
|
|
21664
|
+
* The Google tag id, such as `GTM-XXXXXXX` or `G-XXXXXXXXXX`.
|
|
21665
|
+
*/
|
|
21666
|
+
id?: string;
|
|
21667
|
+
/**
|
|
21668
|
+
* Such as `https://brand.com/zt/gtg/<hex>/?id=GTM-XXXXXXX`.
|
|
21669
|
+
*/
|
|
21670
|
+
src?: string;
|
|
21671
|
+
}>;
|
|
21659
21672
|
} | null;
|
|
21673
|
+
/**
|
|
21674
|
+
* The site's own Google tags (Tag Manager, GA4, Google Ads) its own-domain path relays to Google, so they load and measure from the site's domain.
|
|
21675
|
+
*/
|
|
21676
|
+
googleTagIds?: Array<(string)>;
|
|
21660
21677
|
consentMode?: TrackingSiteConsentMode;
|
|
21661
21678
|
/**
|
|
21662
21679
|
* One per setup step: `script` for the install, then one per ad account the site sends to, keyed by its platform and ids.
|
|
@@ -37392,6 +37409,18 @@ type ConnectShopifyWithTokenError = (unknown | ErrorResponse | {
|
|
|
37392
37409
|
});
|
|
37393
37410
|
type GetGoogleAnalyticsConnectUrlData = {
|
|
37394
37411
|
query: {
|
|
37412
|
+
/**
|
|
37413
|
+
* Welcome screen only: your product name in its heading. Same rules as on GET /v1/connect/{platform}.
|
|
37414
|
+
*/
|
|
37415
|
+
brandName?: string;
|
|
37416
|
+
/**
|
|
37417
|
+
* Welcome screen only: https URL of your square logo. Rejected with 400 `INVALID_FIELD_VALUE` when the welcome screen is not shown.
|
|
37418
|
+
*/
|
|
37419
|
+
logoUrl?: string;
|
|
37420
|
+
/**
|
|
37421
|
+
* Welcome screen only: hex colour (`#RRGGBB`) of its button.
|
|
37422
|
+
*/
|
|
37423
|
+
primaryColor?: string;
|
|
37395
37424
|
/**
|
|
37396
37425
|
* Your Zernio profile ID (get from /v1/profiles).
|
|
37397
37426
|
*/
|
|
@@ -37404,6 +37433,19 @@ type GetGoogleAnalyticsConnectUrlData = {
|
|
|
37404
37433
|
* Custom redirect after connection. Must be an absolute http(s) URL or custom app scheme such as `myapp://callback`; relative and unsafe URLs return 400.
|
|
37405
37434
|
*/
|
|
37406
37435
|
redirect_url?: string;
|
|
37436
|
+
/**
|
|
37437
|
+
* When `true`, `authUrl` opens on the Zernio-hosted welcome screen with your brand, as on GET /v1/connect/{platform}, naming Google Analytics.
|
|
37438
|
+
*
|
|
37439
|
+
* - With no `redirect_url`, the flow ends on the branded result page instead of the Zernio dashboard.
|
|
37440
|
+
* - When left out, the screen shows if the workspace saved it as on by default (`PUT /v1/connect/welcome-screen`). Pass `false` to skip it.
|
|
37441
|
+
* - Cannot be combined with `headless=true` in `redirect_url` (400 `INVALID_FIELD_VALUE`).
|
|
37442
|
+
*
|
|
37443
|
+
*/
|
|
37444
|
+
welcome?: boolean;
|
|
37445
|
+
/**
|
|
37446
|
+
* Welcome screen only: a URL-encoded JSON object restyling and rewording the welcome screen and the result page, with the keys documented on GET /v1/connect/{platform}. Rejected when the welcome screen is not shown.
|
|
37447
|
+
*/
|
|
37448
|
+
welcomeTheme?: string;
|
|
37407
37449
|
};
|
|
37408
37450
|
};
|
|
37409
37451
|
type GetGoogleAnalyticsConnectUrlResponse = ({
|
|
@@ -37525,6 +37567,18 @@ type SelectGoogleAnalyticsPropertyResponse = ({
|
|
|
37525
37567
|
type SelectGoogleAnalyticsPropertyError = (ErrorResponse | unknown);
|
|
37526
37568
|
type GetGoogleSearchConsoleConnectUrlData = {
|
|
37527
37569
|
query: {
|
|
37570
|
+
/**
|
|
37571
|
+
* Welcome screen only: your product name in its heading. Same rules as on GET /v1/connect/{platform}.
|
|
37572
|
+
*/
|
|
37573
|
+
brandName?: string;
|
|
37574
|
+
/**
|
|
37575
|
+
* Welcome screen only: https URL of your square logo. Rejected with 400 `INVALID_FIELD_VALUE` when the welcome screen is not shown.
|
|
37576
|
+
*/
|
|
37577
|
+
logoUrl?: string;
|
|
37578
|
+
/**
|
|
37579
|
+
* Welcome screen only: hex colour (`#RRGGBB`) of its button.
|
|
37580
|
+
*/
|
|
37581
|
+
primaryColor?: string;
|
|
37528
37582
|
/**
|
|
37529
37583
|
* Your Zernio profile ID (get from /v1/profiles).
|
|
37530
37584
|
*/
|
|
@@ -37537,6 +37591,19 @@ type GetGoogleSearchConsoleConnectUrlData = {
|
|
|
37537
37591
|
* Custom redirect after connection. Must be an absolute http(s) URL or custom app scheme such as `myapp://callback`; relative and unsafe URLs return 400.
|
|
37538
37592
|
*/
|
|
37539
37593
|
redirect_url?: string;
|
|
37594
|
+
/**
|
|
37595
|
+
* When `true`, `authUrl` opens on the Zernio-hosted welcome screen with your brand, as on GET /v1/connect/{platform}, naming Google Search Console.
|
|
37596
|
+
*
|
|
37597
|
+
* - With no `redirect_url`, the flow ends on the branded result page instead of the Zernio dashboard.
|
|
37598
|
+
* - When left out, the screen shows if the workspace saved it as on by default (`PUT /v1/connect/welcome-screen`). Pass `false` to skip it.
|
|
37599
|
+
* - Cannot be combined with `headless=true` in `redirect_url` (400 `INVALID_FIELD_VALUE`).
|
|
37600
|
+
*
|
|
37601
|
+
*/
|
|
37602
|
+
welcome?: boolean;
|
|
37603
|
+
/**
|
|
37604
|
+
* Welcome screen only: a URL-encoded JSON object restyling and rewording the welcome screen and the result page, with the keys documented on GET /v1/connect/{platform}. Rejected when the welcome screen is not shown.
|
|
37605
|
+
*/
|
|
37606
|
+
welcomeTheme?: string;
|
|
37540
37607
|
};
|
|
37541
37608
|
};
|
|
37542
37609
|
type GetGoogleSearchConsoleConnectUrlResponse = ({
|
|
@@ -73798,6 +73865,10 @@ type UpdateTrackingSiteData = {
|
|
|
73798
73865
|
* The path your server forwards to the collector, such as `/zt`. `null` removes it.
|
|
73799
73866
|
*/
|
|
73800
73867
|
proxyPath?: (string) | null;
|
|
73868
|
+
/**
|
|
73869
|
+
* Google tag ids such as `GTM-XXXXXXX`, `G-XXXXXXXXXX` or `AW-XXXXXXXXXX`, up to 10. `null` or `[]` removes them.
|
|
73870
|
+
*/
|
|
73871
|
+
googleTagIds?: Array<(string)> | null;
|
|
73801
73872
|
};
|
|
73802
73873
|
path: {
|
|
73803
73874
|
siteId: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -21656,7 +21656,24 @@ type TrackingSite = {
|
|
|
21656
21656
|
* Signs the visitor's IP and country your proxy forwards. Only on reading or updating one site.
|
|
21657
21657
|
*/
|
|
21658
21658
|
secret?: (string) | null;
|
|
21659
|
+
/**
|
|
21660
|
+
* The loader of each of `googleTagIds` on the site's own domain. Use `src` in place of the tag's googletagmanager.com address.
|
|
21661
|
+
*/
|
|
21662
|
+
googleTags?: Array<{
|
|
21663
|
+
/**
|
|
21664
|
+
* The Google tag id, such as `GTM-XXXXXXX` or `G-XXXXXXXXXX`.
|
|
21665
|
+
*/
|
|
21666
|
+
id?: string;
|
|
21667
|
+
/**
|
|
21668
|
+
* Such as `https://brand.com/zt/gtg/<hex>/?id=GTM-XXXXXXX`.
|
|
21669
|
+
*/
|
|
21670
|
+
src?: string;
|
|
21671
|
+
}>;
|
|
21659
21672
|
} | null;
|
|
21673
|
+
/**
|
|
21674
|
+
* The site's own Google tags (Tag Manager, GA4, Google Ads) its own-domain path relays to Google, so they load and measure from the site's domain.
|
|
21675
|
+
*/
|
|
21676
|
+
googleTagIds?: Array<(string)>;
|
|
21660
21677
|
consentMode?: TrackingSiteConsentMode;
|
|
21661
21678
|
/**
|
|
21662
21679
|
* One per setup step: `script` for the install, then one per ad account the site sends to, keyed by its platform and ids.
|
|
@@ -37392,6 +37409,18 @@ type ConnectShopifyWithTokenError = (unknown | ErrorResponse | {
|
|
|
37392
37409
|
});
|
|
37393
37410
|
type GetGoogleAnalyticsConnectUrlData = {
|
|
37394
37411
|
query: {
|
|
37412
|
+
/**
|
|
37413
|
+
* Welcome screen only: your product name in its heading. Same rules as on GET /v1/connect/{platform}.
|
|
37414
|
+
*/
|
|
37415
|
+
brandName?: string;
|
|
37416
|
+
/**
|
|
37417
|
+
* Welcome screen only: https URL of your square logo. Rejected with 400 `INVALID_FIELD_VALUE` when the welcome screen is not shown.
|
|
37418
|
+
*/
|
|
37419
|
+
logoUrl?: string;
|
|
37420
|
+
/**
|
|
37421
|
+
* Welcome screen only: hex colour (`#RRGGBB`) of its button.
|
|
37422
|
+
*/
|
|
37423
|
+
primaryColor?: string;
|
|
37395
37424
|
/**
|
|
37396
37425
|
* Your Zernio profile ID (get from /v1/profiles).
|
|
37397
37426
|
*/
|
|
@@ -37404,6 +37433,19 @@ type GetGoogleAnalyticsConnectUrlData = {
|
|
|
37404
37433
|
* Custom redirect after connection. Must be an absolute http(s) URL or custom app scheme such as `myapp://callback`; relative and unsafe URLs return 400.
|
|
37405
37434
|
*/
|
|
37406
37435
|
redirect_url?: string;
|
|
37436
|
+
/**
|
|
37437
|
+
* When `true`, `authUrl` opens on the Zernio-hosted welcome screen with your brand, as on GET /v1/connect/{platform}, naming Google Analytics.
|
|
37438
|
+
*
|
|
37439
|
+
* - With no `redirect_url`, the flow ends on the branded result page instead of the Zernio dashboard.
|
|
37440
|
+
* - When left out, the screen shows if the workspace saved it as on by default (`PUT /v1/connect/welcome-screen`). Pass `false` to skip it.
|
|
37441
|
+
* - Cannot be combined with `headless=true` in `redirect_url` (400 `INVALID_FIELD_VALUE`).
|
|
37442
|
+
*
|
|
37443
|
+
*/
|
|
37444
|
+
welcome?: boolean;
|
|
37445
|
+
/**
|
|
37446
|
+
* Welcome screen only: a URL-encoded JSON object restyling and rewording the welcome screen and the result page, with the keys documented on GET /v1/connect/{platform}. Rejected when the welcome screen is not shown.
|
|
37447
|
+
*/
|
|
37448
|
+
welcomeTheme?: string;
|
|
37407
37449
|
};
|
|
37408
37450
|
};
|
|
37409
37451
|
type GetGoogleAnalyticsConnectUrlResponse = ({
|
|
@@ -37525,6 +37567,18 @@ type SelectGoogleAnalyticsPropertyResponse = ({
|
|
|
37525
37567
|
type SelectGoogleAnalyticsPropertyError = (ErrorResponse | unknown);
|
|
37526
37568
|
type GetGoogleSearchConsoleConnectUrlData = {
|
|
37527
37569
|
query: {
|
|
37570
|
+
/**
|
|
37571
|
+
* Welcome screen only: your product name in its heading. Same rules as on GET /v1/connect/{platform}.
|
|
37572
|
+
*/
|
|
37573
|
+
brandName?: string;
|
|
37574
|
+
/**
|
|
37575
|
+
* Welcome screen only: https URL of your square logo. Rejected with 400 `INVALID_FIELD_VALUE` when the welcome screen is not shown.
|
|
37576
|
+
*/
|
|
37577
|
+
logoUrl?: string;
|
|
37578
|
+
/**
|
|
37579
|
+
* Welcome screen only: hex colour (`#RRGGBB`) of its button.
|
|
37580
|
+
*/
|
|
37581
|
+
primaryColor?: string;
|
|
37528
37582
|
/**
|
|
37529
37583
|
* Your Zernio profile ID (get from /v1/profiles).
|
|
37530
37584
|
*/
|
|
@@ -37537,6 +37591,19 @@ type GetGoogleSearchConsoleConnectUrlData = {
|
|
|
37537
37591
|
* Custom redirect after connection. Must be an absolute http(s) URL or custom app scheme such as `myapp://callback`; relative and unsafe URLs return 400.
|
|
37538
37592
|
*/
|
|
37539
37593
|
redirect_url?: string;
|
|
37594
|
+
/**
|
|
37595
|
+
* When `true`, `authUrl` opens on the Zernio-hosted welcome screen with your brand, as on GET /v1/connect/{platform}, naming Google Search Console.
|
|
37596
|
+
*
|
|
37597
|
+
* - With no `redirect_url`, the flow ends on the branded result page instead of the Zernio dashboard.
|
|
37598
|
+
* - When left out, the screen shows if the workspace saved it as on by default (`PUT /v1/connect/welcome-screen`). Pass `false` to skip it.
|
|
37599
|
+
* - Cannot be combined with `headless=true` in `redirect_url` (400 `INVALID_FIELD_VALUE`).
|
|
37600
|
+
*
|
|
37601
|
+
*/
|
|
37602
|
+
welcome?: boolean;
|
|
37603
|
+
/**
|
|
37604
|
+
* Welcome screen only: a URL-encoded JSON object restyling and rewording the welcome screen and the result page, with the keys documented on GET /v1/connect/{platform}. Rejected when the welcome screen is not shown.
|
|
37605
|
+
*/
|
|
37606
|
+
welcomeTheme?: string;
|
|
37540
37607
|
};
|
|
37541
37608
|
};
|
|
37542
37609
|
type GetGoogleSearchConsoleConnectUrlResponse = ({
|
|
@@ -73798,6 +73865,10 @@ type UpdateTrackingSiteData = {
|
|
|
73798
73865
|
* The path your server forwards to the collector, such as `/zt`. `null` removes it.
|
|
73799
73866
|
*/
|
|
73800
73867
|
proxyPath?: (string) | null;
|
|
73868
|
+
/**
|
|
73869
|
+
* Google tag ids such as `GTM-XXXXXXX`, `G-XXXXXXXXXX` or `AW-XXXXXXXXXX`, up to 10. `null` or `[]` removes them.
|
|
73870
|
+
*/
|
|
73871
|
+
googleTagIds?: Array<(string)> | null;
|
|
73801
73872
|
};
|
|
73802
73873
|
path: {
|
|
73803
73874
|
siteId: string;
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.1714",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.1714",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -20461,6 +20461,8 @@ export const getTrackingSite = <ThrowOnError extends boolean = false>(options: O
|
|
|
20461
20461
|
*
|
|
20462
20462
|
* `proxyPath` serves the tag from a path of the site itself, such as `brand.com/zt`, through a proxy on your server. The response's `proxy.secret` signs what the proxy forwards. `null` removes it.
|
|
20463
20463
|
*
|
|
20464
|
+
* `googleTagIds` lists the site's own Google tags that the same proxy relays to Google's tag gateway. Load each from its `proxy.googleTags[].src` instead of googletagmanager.com. `null` or an empty list removes them.
|
|
20465
|
+
*
|
|
20464
20466
|
*/
|
|
20465
20467
|
export const updateTrackingSite = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateTrackingSiteData, ThrowOnError>) => {
|
|
20466
20468
|
return (options?.client ?? client).patch<UpdateTrackingSiteResponse, UpdateTrackingSiteError, ThrowOnError>({
|
|
@@ -19999,7 +19999,24 @@ export type TrackingSite = {
|
|
|
19999
19999
|
* Signs the visitor's IP and country your proxy forwards. Only on reading or updating one site.
|
|
20000
20000
|
*/
|
|
20001
20001
|
secret?: (string) | null;
|
|
20002
|
+
/**
|
|
20003
|
+
* The loader of each of `googleTagIds` on the site's own domain. Use `src` in place of the tag's googletagmanager.com address.
|
|
20004
|
+
*/
|
|
20005
|
+
googleTags?: Array<{
|
|
20006
|
+
/**
|
|
20007
|
+
* The Google tag id, such as `GTM-XXXXXXX` or `G-XXXXXXXXXX`.
|
|
20008
|
+
*/
|
|
20009
|
+
id?: string;
|
|
20010
|
+
/**
|
|
20011
|
+
* Such as `https://brand.com/zt/gtg/<hex>/?id=GTM-XXXXXXX`.
|
|
20012
|
+
*/
|
|
20013
|
+
src?: string;
|
|
20014
|
+
}>;
|
|
20002
20015
|
} | null;
|
|
20016
|
+
/**
|
|
20017
|
+
* The site's own Google tags (Tag Manager, GA4, Google Ads) its own-domain path relays to Google, so they load and measure from the site's domain.
|
|
20018
|
+
*/
|
|
20019
|
+
googleTagIds?: Array<(string)>;
|
|
20003
20020
|
consentMode?: TrackingSiteConsentMode;
|
|
20004
20021
|
/**
|
|
20005
20022
|
* One per setup step: `script` for the install, then one per ad account the site sends to, keyed by its platform and ids.
|
|
@@ -36546,6 +36563,18 @@ export type ConnectShopifyWithTokenError = (unknown | ErrorResponse | {
|
|
|
36546
36563
|
|
|
36547
36564
|
export type GetGoogleAnalyticsConnectUrlData = {
|
|
36548
36565
|
query: {
|
|
36566
|
+
/**
|
|
36567
|
+
* Welcome screen only: your product name in its heading. Same rules as on GET /v1/connect/{platform}.
|
|
36568
|
+
*/
|
|
36569
|
+
brandName?: string;
|
|
36570
|
+
/**
|
|
36571
|
+
* Welcome screen only: https URL of your square logo. Rejected with 400 `INVALID_FIELD_VALUE` when the welcome screen is not shown.
|
|
36572
|
+
*/
|
|
36573
|
+
logoUrl?: string;
|
|
36574
|
+
/**
|
|
36575
|
+
* Welcome screen only: hex colour (`#RRGGBB`) of its button.
|
|
36576
|
+
*/
|
|
36577
|
+
primaryColor?: string;
|
|
36549
36578
|
/**
|
|
36550
36579
|
* Your Zernio profile ID (get from /v1/profiles).
|
|
36551
36580
|
*/
|
|
@@ -36558,6 +36587,19 @@ export type GetGoogleAnalyticsConnectUrlData = {
|
|
|
36558
36587
|
* Custom redirect after connection. Must be an absolute http(s) URL or custom app scheme such as `myapp://callback`; relative and unsafe URLs return 400.
|
|
36559
36588
|
*/
|
|
36560
36589
|
redirect_url?: string;
|
|
36590
|
+
/**
|
|
36591
|
+
* When `true`, `authUrl` opens on the Zernio-hosted welcome screen with your brand, as on GET /v1/connect/{platform}, naming Google Analytics.
|
|
36592
|
+
*
|
|
36593
|
+
* - With no `redirect_url`, the flow ends on the branded result page instead of the Zernio dashboard.
|
|
36594
|
+
* - When left out, the screen shows if the workspace saved it as on by default (`PUT /v1/connect/welcome-screen`). Pass `false` to skip it.
|
|
36595
|
+
* - Cannot be combined with `headless=true` in `redirect_url` (400 `INVALID_FIELD_VALUE`).
|
|
36596
|
+
*
|
|
36597
|
+
*/
|
|
36598
|
+
welcome?: boolean;
|
|
36599
|
+
/**
|
|
36600
|
+
* Welcome screen only: a URL-encoded JSON object restyling and rewording the welcome screen and the result page, with the keys documented on GET /v1/connect/{platform}. Rejected when the welcome screen is not shown.
|
|
36601
|
+
*/
|
|
36602
|
+
welcomeTheme?: string;
|
|
36561
36603
|
};
|
|
36562
36604
|
};
|
|
36563
36605
|
|
|
@@ -36688,6 +36730,18 @@ export type SelectGoogleAnalyticsPropertyError = (ErrorResponse | unknown);
|
|
|
36688
36730
|
|
|
36689
36731
|
export type GetGoogleSearchConsoleConnectUrlData = {
|
|
36690
36732
|
query: {
|
|
36733
|
+
/**
|
|
36734
|
+
* Welcome screen only: your product name in its heading. Same rules as on GET /v1/connect/{platform}.
|
|
36735
|
+
*/
|
|
36736
|
+
brandName?: string;
|
|
36737
|
+
/**
|
|
36738
|
+
* Welcome screen only: https URL of your square logo. Rejected with 400 `INVALID_FIELD_VALUE` when the welcome screen is not shown.
|
|
36739
|
+
*/
|
|
36740
|
+
logoUrl?: string;
|
|
36741
|
+
/**
|
|
36742
|
+
* Welcome screen only: hex colour (`#RRGGBB`) of its button.
|
|
36743
|
+
*/
|
|
36744
|
+
primaryColor?: string;
|
|
36691
36745
|
/**
|
|
36692
36746
|
* Your Zernio profile ID (get from /v1/profiles).
|
|
36693
36747
|
*/
|
|
@@ -36700,6 +36754,19 @@ export type GetGoogleSearchConsoleConnectUrlData = {
|
|
|
36700
36754
|
* Custom redirect after connection. Must be an absolute http(s) URL or custom app scheme such as `myapp://callback`; relative and unsafe URLs return 400.
|
|
36701
36755
|
*/
|
|
36702
36756
|
redirect_url?: string;
|
|
36757
|
+
/**
|
|
36758
|
+
* When `true`, `authUrl` opens on the Zernio-hosted welcome screen with your brand, as on GET /v1/connect/{platform}, naming Google Search Console.
|
|
36759
|
+
*
|
|
36760
|
+
* - With no `redirect_url`, the flow ends on the branded result page instead of the Zernio dashboard.
|
|
36761
|
+
* - When left out, the screen shows if the workspace saved it as on by default (`PUT /v1/connect/welcome-screen`). Pass `false` to skip it.
|
|
36762
|
+
* - Cannot be combined with `headless=true` in `redirect_url` (400 `INVALID_FIELD_VALUE`).
|
|
36763
|
+
*
|
|
36764
|
+
*/
|
|
36765
|
+
welcome?: boolean;
|
|
36766
|
+
/**
|
|
36767
|
+
* Welcome screen only: a URL-encoded JSON object restyling and rewording the welcome screen and the result page, with the keys documented on GET /v1/connect/{platform}. Rejected when the welcome screen is not shown.
|
|
36768
|
+
*/
|
|
36769
|
+
welcomeTheme?: string;
|
|
36703
36770
|
};
|
|
36704
36771
|
};
|
|
36705
36772
|
|
|
@@ -75624,6 +75691,10 @@ export type UpdateTrackingSiteData = {
|
|
|
75624
75691
|
* The path your server forwards to the collector, such as `/zt`. `null` removes it.
|
|
75625
75692
|
*/
|
|
75626
75693
|
proxyPath?: (string) | null;
|
|
75694
|
+
/**
|
|
75695
|
+
* Google tag ids such as `GTM-XXXXXXX`, `G-XXXXXXXXXX` or `AW-XXXXXXXXXX`, up to 10. `null` or `[]` removes them.
|
|
75696
|
+
*/
|
|
75697
|
+
googleTagIds?: Array<(string)> | null;
|
|
75627
75698
|
};
|
|
75628
75699
|
path: {
|
|
75629
75700
|
siteId: string;
|