@getlatedev/node 0.2.1713 → 0.2.1715
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 +64 -2
- package/dist/index.d.ts +64 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +4 -0
- package/src/generated/types.gen.ts +64 -2
package/dist/index.d.mts
CHANGED
|
@@ -10708,6 +10708,14 @@ type ConversionEvent = {
|
|
|
10708
10708
|
* Axon Pixel browser id (the `_axwrt` cookie). Sent to Axon as `user_data.axwrt`, not hashed.
|
|
10709
10709
|
*/
|
|
10710
10710
|
axwrt?: string;
|
|
10711
|
+
/**
|
|
10712
|
+
* X click ID (the `twclid` URL param X adds to ad clicks). Sent to X as a `twclid` identifier, not hashed.
|
|
10713
|
+
*/
|
|
10714
|
+
twclid?: string;
|
|
10715
|
+
/**
|
|
10716
|
+
* Microsoft Advertising click ID (the `msclkid` URL param Microsoft adds to ad clicks). Sent to Microsoft as `MicrosoftClickId`, not hashed.
|
|
10717
|
+
*/
|
|
10718
|
+
msclkid?: string;
|
|
10711
10719
|
};
|
|
10712
10720
|
};
|
|
10713
10721
|
/**
|
|
@@ -37409,6 +37417,18 @@ type ConnectShopifyWithTokenError = (unknown | ErrorResponse | {
|
|
|
37409
37417
|
});
|
|
37410
37418
|
type GetGoogleAnalyticsConnectUrlData = {
|
|
37411
37419
|
query: {
|
|
37420
|
+
/**
|
|
37421
|
+
* Welcome screen only: your product name in its heading. Same rules as on GET /v1/connect/{platform}.
|
|
37422
|
+
*/
|
|
37423
|
+
brandName?: string;
|
|
37424
|
+
/**
|
|
37425
|
+
* Welcome screen only: https URL of your square logo. Rejected with 400 `INVALID_FIELD_VALUE` when the welcome screen is not shown.
|
|
37426
|
+
*/
|
|
37427
|
+
logoUrl?: string;
|
|
37428
|
+
/**
|
|
37429
|
+
* Welcome screen only: hex colour (`#RRGGBB`) of its button.
|
|
37430
|
+
*/
|
|
37431
|
+
primaryColor?: string;
|
|
37412
37432
|
/**
|
|
37413
37433
|
* Your Zernio profile ID (get from /v1/profiles).
|
|
37414
37434
|
*/
|
|
@@ -37421,6 +37441,19 @@ type GetGoogleAnalyticsConnectUrlData = {
|
|
|
37421
37441
|
* 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.
|
|
37422
37442
|
*/
|
|
37423
37443
|
redirect_url?: string;
|
|
37444
|
+
/**
|
|
37445
|
+
* When `true`, `authUrl` opens on the Zernio-hosted welcome screen with your brand, as on GET /v1/connect/{platform}, naming Google Analytics.
|
|
37446
|
+
*
|
|
37447
|
+
* - With no `redirect_url`, the flow ends on the branded result page instead of the Zernio dashboard.
|
|
37448
|
+
* - 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.
|
|
37449
|
+
* - Cannot be combined with `headless=true` in `redirect_url` (400 `INVALID_FIELD_VALUE`).
|
|
37450
|
+
*
|
|
37451
|
+
*/
|
|
37452
|
+
welcome?: boolean;
|
|
37453
|
+
/**
|
|
37454
|
+
* 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.
|
|
37455
|
+
*/
|
|
37456
|
+
welcomeTheme?: string;
|
|
37424
37457
|
};
|
|
37425
37458
|
};
|
|
37426
37459
|
type GetGoogleAnalyticsConnectUrlResponse = ({
|
|
@@ -37542,6 +37575,18 @@ type SelectGoogleAnalyticsPropertyResponse = ({
|
|
|
37542
37575
|
type SelectGoogleAnalyticsPropertyError = (ErrorResponse | unknown);
|
|
37543
37576
|
type GetGoogleSearchConsoleConnectUrlData = {
|
|
37544
37577
|
query: {
|
|
37578
|
+
/**
|
|
37579
|
+
* Welcome screen only: your product name in its heading. Same rules as on GET /v1/connect/{platform}.
|
|
37580
|
+
*/
|
|
37581
|
+
brandName?: string;
|
|
37582
|
+
/**
|
|
37583
|
+
* Welcome screen only: https URL of your square logo. Rejected with 400 `INVALID_FIELD_VALUE` when the welcome screen is not shown.
|
|
37584
|
+
*/
|
|
37585
|
+
logoUrl?: string;
|
|
37586
|
+
/**
|
|
37587
|
+
* Welcome screen only: hex colour (`#RRGGBB`) of its button.
|
|
37588
|
+
*/
|
|
37589
|
+
primaryColor?: string;
|
|
37545
37590
|
/**
|
|
37546
37591
|
* Your Zernio profile ID (get from /v1/profiles).
|
|
37547
37592
|
*/
|
|
@@ -37554,6 +37599,19 @@ type GetGoogleSearchConsoleConnectUrlData = {
|
|
|
37554
37599
|
* 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.
|
|
37555
37600
|
*/
|
|
37556
37601
|
redirect_url?: string;
|
|
37602
|
+
/**
|
|
37603
|
+
* When `true`, `authUrl` opens on the Zernio-hosted welcome screen with your brand, as on GET /v1/connect/{platform}, naming Google Search Console.
|
|
37604
|
+
*
|
|
37605
|
+
* - With no `redirect_url`, the flow ends on the branded result page instead of the Zernio dashboard.
|
|
37606
|
+
* - 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.
|
|
37607
|
+
* - Cannot be combined with `headless=true` in `redirect_url` (400 `INVALID_FIELD_VALUE`).
|
|
37608
|
+
*
|
|
37609
|
+
*/
|
|
37610
|
+
welcome?: boolean;
|
|
37611
|
+
/**
|
|
37612
|
+
* 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.
|
|
37613
|
+
*/
|
|
37614
|
+
welcomeTheme?: string;
|
|
37557
37615
|
};
|
|
37558
37616
|
};
|
|
37559
37617
|
type GetGoogleSearchConsoleConnectUrlResponse = ({
|
|
@@ -73905,7 +73963,9 @@ type ListAdConversionDestinationsResponse = ({
|
|
|
73905
73963
|
* Destination identifier. Meta: pixel ID. Google:
|
|
73906
73964
|
* conversion action resource name. LinkedIn:
|
|
73907
73965
|
* numeric conversion rule ID. OpenAI Ads: pixel wire
|
|
73908
|
-
* id. Reddit: pixel id (`a2_...`).
|
|
73966
|
+
* id. Reddit: pixel id (`a2_...`). Microsoft
|
|
73967
|
+
* Advertising: `accounts/{id}/conversionGoals/{id}`.
|
|
73968
|
+
* X Ads: pixel event id (`tw-...`).
|
|
73909
73969
|
*
|
|
73910
73970
|
*/
|
|
73911
73971
|
id?: string;
|
|
@@ -74309,7 +74369,9 @@ type ListConversionDestinationsResponse = ({
|
|
|
74309
74369
|
* Destination identifier. Meta: pixel ID. Google:
|
|
74310
74370
|
* conversion action resource name. LinkedIn:
|
|
74311
74371
|
* numeric conversion rule ID. OpenAI Ads: pixel wire
|
|
74312
|
-
* id. Reddit: pixel id (`a2_...`).
|
|
74372
|
+
* id. Reddit: pixel id (`a2_...`). Microsoft
|
|
74373
|
+
* Advertising: `accounts/{id}/conversionGoals/{id}`.
|
|
74374
|
+
* X Ads: pixel event id (`tw-...`).
|
|
74313
74375
|
*
|
|
74314
74376
|
*/
|
|
74315
74377
|
id?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -10708,6 +10708,14 @@ type ConversionEvent = {
|
|
|
10708
10708
|
* Axon Pixel browser id (the `_axwrt` cookie). Sent to Axon as `user_data.axwrt`, not hashed.
|
|
10709
10709
|
*/
|
|
10710
10710
|
axwrt?: string;
|
|
10711
|
+
/**
|
|
10712
|
+
* X click ID (the `twclid` URL param X adds to ad clicks). Sent to X as a `twclid` identifier, not hashed.
|
|
10713
|
+
*/
|
|
10714
|
+
twclid?: string;
|
|
10715
|
+
/**
|
|
10716
|
+
* Microsoft Advertising click ID (the `msclkid` URL param Microsoft adds to ad clicks). Sent to Microsoft as `MicrosoftClickId`, not hashed.
|
|
10717
|
+
*/
|
|
10718
|
+
msclkid?: string;
|
|
10711
10719
|
};
|
|
10712
10720
|
};
|
|
10713
10721
|
/**
|
|
@@ -37409,6 +37417,18 @@ type ConnectShopifyWithTokenError = (unknown | ErrorResponse | {
|
|
|
37409
37417
|
});
|
|
37410
37418
|
type GetGoogleAnalyticsConnectUrlData = {
|
|
37411
37419
|
query: {
|
|
37420
|
+
/**
|
|
37421
|
+
* Welcome screen only: your product name in its heading. Same rules as on GET /v1/connect/{platform}.
|
|
37422
|
+
*/
|
|
37423
|
+
brandName?: string;
|
|
37424
|
+
/**
|
|
37425
|
+
* Welcome screen only: https URL of your square logo. Rejected with 400 `INVALID_FIELD_VALUE` when the welcome screen is not shown.
|
|
37426
|
+
*/
|
|
37427
|
+
logoUrl?: string;
|
|
37428
|
+
/**
|
|
37429
|
+
* Welcome screen only: hex colour (`#RRGGBB`) of its button.
|
|
37430
|
+
*/
|
|
37431
|
+
primaryColor?: string;
|
|
37412
37432
|
/**
|
|
37413
37433
|
* Your Zernio profile ID (get from /v1/profiles).
|
|
37414
37434
|
*/
|
|
@@ -37421,6 +37441,19 @@ type GetGoogleAnalyticsConnectUrlData = {
|
|
|
37421
37441
|
* 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.
|
|
37422
37442
|
*/
|
|
37423
37443
|
redirect_url?: string;
|
|
37444
|
+
/**
|
|
37445
|
+
* When `true`, `authUrl` opens on the Zernio-hosted welcome screen with your brand, as on GET /v1/connect/{platform}, naming Google Analytics.
|
|
37446
|
+
*
|
|
37447
|
+
* - With no `redirect_url`, the flow ends on the branded result page instead of the Zernio dashboard.
|
|
37448
|
+
* - 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.
|
|
37449
|
+
* - Cannot be combined with `headless=true` in `redirect_url` (400 `INVALID_FIELD_VALUE`).
|
|
37450
|
+
*
|
|
37451
|
+
*/
|
|
37452
|
+
welcome?: boolean;
|
|
37453
|
+
/**
|
|
37454
|
+
* 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.
|
|
37455
|
+
*/
|
|
37456
|
+
welcomeTheme?: string;
|
|
37424
37457
|
};
|
|
37425
37458
|
};
|
|
37426
37459
|
type GetGoogleAnalyticsConnectUrlResponse = ({
|
|
@@ -37542,6 +37575,18 @@ type SelectGoogleAnalyticsPropertyResponse = ({
|
|
|
37542
37575
|
type SelectGoogleAnalyticsPropertyError = (ErrorResponse | unknown);
|
|
37543
37576
|
type GetGoogleSearchConsoleConnectUrlData = {
|
|
37544
37577
|
query: {
|
|
37578
|
+
/**
|
|
37579
|
+
* Welcome screen only: your product name in its heading. Same rules as on GET /v1/connect/{platform}.
|
|
37580
|
+
*/
|
|
37581
|
+
brandName?: string;
|
|
37582
|
+
/**
|
|
37583
|
+
* Welcome screen only: https URL of your square logo. Rejected with 400 `INVALID_FIELD_VALUE` when the welcome screen is not shown.
|
|
37584
|
+
*/
|
|
37585
|
+
logoUrl?: string;
|
|
37586
|
+
/**
|
|
37587
|
+
* Welcome screen only: hex colour (`#RRGGBB`) of its button.
|
|
37588
|
+
*/
|
|
37589
|
+
primaryColor?: string;
|
|
37545
37590
|
/**
|
|
37546
37591
|
* Your Zernio profile ID (get from /v1/profiles).
|
|
37547
37592
|
*/
|
|
@@ -37554,6 +37599,19 @@ type GetGoogleSearchConsoleConnectUrlData = {
|
|
|
37554
37599
|
* 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.
|
|
37555
37600
|
*/
|
|
37556
37601
|
redirect_url?: string;
|
|
37602
|
+
/**
|
|
37603
|
+
* When `true`, `authUrl` opens on the Zernio-hosted welcome screen with your brand, as on GET /v1/connect/{platform}, naming Google Search Console.
|
|
37604
|
+
*
|
|
37605
|
+
* - With no `redirect_url`, the flow ends on the branded result page instead of the Zernio dashboard.
|
|
37606
|
+
* - 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.
|
|
37607
|
+
* - Cannot be combined with `headless=true` in `redirect_url` (400 `INVALID_FIELD_VALUE`).
|
|
37608
|
+
*
|
|
37609
|
+
*/
|
|
37610
|
+
welcome?: boolean;
|
|
37611
|
+
/**
|
|
37612
|
+
* 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.
|
|
37613
|
+
*/
|
|
37614
|
+
welcomeTheme?: string;
|
|
37557
37615
|
};
|
|
37558
37616
|
};
|
|
37559
37617
|
type GetGoogleSearchConsoleConnectUrlResponse = ({
|
|
@@ -73905,7 +73963,9 @@ type ListAdConversionDestinationsResponse = ({
|
|
|
73905
73963
|
* Destination identifier. Meta: pixel ID. Google:
|
|
73906
73964
|
* conversion action resource name. LinkedIn:
|
|
73907
73965
|
* numeric conversion rule ID. OpenAI Ads: pixel wire
|
|
73908
|
-
* id. Reddit: pixel id (`a2_...`).
|
|
73966
|
+
* id. Reddit: pixel id (`a2_...`). Microsoft
|
|
73967
|
+
* Advertising: `accounts/{id}/conversionGoals/{id}`.
|
|
73968
|
+
* X Ads: pixel event id (`tw-...`).
|
|
73909
73969
|
*
|
|
73910
73970
|
*/
|
|
73911
73971
|
id?: string;
|
|
@@ -74309,7 +74369,9 @@ type ListConversionDestinationsResponse = ({
|
|
|
74309
74369
|
* Destination identifier. Meta: pixel ID. Google:
|
|
74310
74370
|
* conversion action resource name. LinkedIn:
|
|
74311
74371
|
* numeric conversion rule ID. OpenAI Ads: pixel wire
|
|
74312
|
-
* id. Reddit: pixel id (`a2_...`).
|
|
74372
|
+
* id. Reddit: pixel id (`a2_...`). Microsoft
|
|
74373
|
+
* Advertising: `accounts/{id}/conversionGoals/{id}`.
|
|
74374
|
+
* X Ads: pixel event id (`tw-...`).
|
|
74313
74375
|
*
|
|
74314
74376
|
*/
|
|
74315
74377
|
id?: 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.1715",
|
|
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.1715",
|
|
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
|
@@ -19897,6 +19897,8 @@ export const getConversionsQuality = <ThrowOnError extends boolean = false>(opti
|
|
|
19897
19897
|
* - OpenAI Ads (`openaiads`) via its Conversions API (a separate host, `bzr.openai.com`)
|
|
19898
19898
|
* - Pinterest (`pinterestads`) via `POST /v5/ad_accounts/{id}/events`
|
|
19899
19899
|
* - Reddit (`redditads`) via the Reddit Conversions API (`POST /api/v3/pixels/{pixelId}/conversion_events`)
|
|
19900
|
+
* - Microsoft Advertising (`microsoftads`) via offline conversion uploads (`ApplyOfflineConversions`)
|
|
19901
|
+
* - X Ads (`xads`) via the X Conversion API (`POST /12/measurement/conversions/{pixelId}`)
|
|
19900
19902
|
*
|
|
19901
19903
|
* ### `destinationId` per platform
|
|
19902
19904
|
*
|
|
@@ -19907,6 +19909,8 @@ export const getConversionsQuality = <ThrowOnError extends boolean = false>(opti
|
|
|
19907
19909
|
* - OpenAI Ads: pixel wire id (numeric `pixel_id`, distinct from the internal pixel id), as returned by `GET /v1/ads/conversions/destinations`
|
|
19908
19910
|
* - Pinterest: numeric ad account id, e.g. `549755885175` (Pinterest attributes to the ad account, not to a tag)
|
|
19909
19911
|
* - Reddit: pixel id, e.g. `a2_abc123`, as returned by `GET /v1/ads/conversions/destinations` (any other shape returns 400)
|
|
19912
|
+
* - Microsoft Advertising: offline conversion goal, e.g. `accounts/123456789/conversionGoals/987654`. Each event needs `clickIds.msclkid`, an `email` or a `phone`; the goal decides the event type.
|
|
19913
|
+
* - X Ads: X Pixel event id, e.g. `tw-rbhhj-rcfms`. Each event needs `clickIds.twclid`, an `email`, a `phone`, or `ipAddress` plus `userAgent`; the event decides the type and `eventId` is sent as `conversion_id`.
|
|
19910
19914
|
*
|
|
19911
19915
|
* Callers can list valid destinations via `GET /v1/ads/conversions/destinations`.
|
|
19912
19916
|
*
|
|
@@ -8554,6 +8554,14 @@ export type ConversionEvent = {
|
|
|
8554
8554
|
* Axon Pixel browser id (the `_axwrt` cookie). Sent to Axon as `user_data.axwrt`, not hashed.
|
|
8555
8555
|
*/
|
|
8556
8556
|
axwrt?: string;
|
|
8557
|
+
/**
|
|
8558
|
+
* X click ID (the `twclid` URL param X adds to ad clicks). Sent to X as a `twclid` identifier, not hashed.
|
|
8559
|
+
*/
|
|
8560
|
+
twclid?: string;
|
|
8561
|
+
/**
|
|
8562
|
+
* Microsoft Advertising click ID (the `msclkid` URL param Microsoft adds to ad clicks). Sent to Microsoft as `MicrosoftClickId`, not hashed.
|
|
8563
|
+
*/
|
|
8564
|
+
msclkid?: string;
|
|
8557
8565
|
};
|
|
8558
8566
|
};
|
|
8559
8567
|
/**
|
|
@@ -36563,6 +36571,18 @@ export type ConnectShopifyWithTokenError = (unknown | ErrorResponse | {
|
|
|
36563
36571
|
|
|
36564
36572
|
export type GetGoogleAnalyticsConnectUrlData = {
|
|
36565
36573
|
query: {
|
|
36574
|
+
/**
|
|
36575
|
+
* Welcome screen only: your product name in its heading. Same rules as on GET /v1/connect/{platform}.
|
|
36576
|
+
*/
|
|
36577
|
+
brandName?: string;
|
|
36578
|
+
/**
|
|
36579
|
+
* Welcome screen only: https URL of your square logo. Rejected with 400 `INVALID_FIELD_VALUE` when the welcome screen is not shown.
|
|
36580
|
+
*/
|
|
36581
|
+
logoUrl?: string;
|
|
36582
|
+
/**
|
|
36583
|
+
* Welcome screen only: hex colour (`#RRGGBB`) of its button.
|
|
36584
|
+
*/
|
|
36585
|
+
primaryColor?: string;
|
|
36566
36586
|
/**
|
|
36567
36587
|
* Your Zernio profile ID (get from /v1/profiles).
|
|
36568
36588
|
*/
|
|
@@ -36575,6 +36595,19 @@ export type GetGoogleAnalyticsConnectUrlData = {
|
|
|
36575
36595
|
* 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.
|
|
36576
36596
|
*/
|
|
36577
36597
|
redirect_url?: string;
|
|
36598
|
+
/**
|
|
36599
|
+
* When `true`, `authUrl` opens on the Zernio-hosted welcome screen with your brand, as on GET /v1/connect/{platform}, naming Google Analytics.
|
|
36600
|
+
*
|
|
36601
|
+
* - With no `redirect_url`, the flow ends on the branded result page instead of the Zernio dashboard.
|
|
36602
|
+
* - 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.
|
|
36603
|
+
* - Cannot be combined with `headless=true` in `redirect_url` (400 `INVALID_FIELD_VALUE`).
|
|
36604
|
+
*
|
|
36605
|
+
*/
|
|
36606
|
+
welcome?: boolean;
|
|
36607
|
+
/**
|
|
36608
|
+
* 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.
|
|
36609
|
+
*/
|
|
36610
|
+
welcomeTheme?: string;
|
|
36578
36611
|
};
|
|
36579
36612
|
};
|
|
36580
36613
|
|
|
@@ -36705,6 +36738,18 @@ export type SelectGoogleAnalyticsPropertyError = (ErrorResponse | unknown);
|
|
|
36705
36738
|
|
|
36706
36739
|
export type GetGoogleSearchConsoleConnectUrlData = {
|
|
36707
36740
|
query: {
|
|
36741
|
+
/**
|
|
36742
|
+
* Welcome screen only: your product name in its heading. Same rules as on GET /v1/connect/{platform}.
|
|
36743
|
+
*/
|
|
36744
|
+
brandName?: string;
|
|
36745
|
+
/**
|
|
36746
|
+
* Welcome screen only: https URL of your square logo. Rejected with 400 `INVALID_FIELD_VALUE` when the welcome screen is not shown.
|
|
36747
|
+
*/
|
|
36748
|
+
logoUrl?: string;
|
|
36749
|
+
/**
|
|
36750
|
+
* Welcome screen only: hex colour (`#RRGGBB`) of its button.
|
|
36751
|
+
*/
|
|
36752
|
+
primaryColor?: string;
|
|
36708
36753
|
/**
|
|
36709
36754
|
* Your Zernio profile ID (get from /v1/profiles).
|
|
36710
36755
|
*/
|
|
@@ -36717,6 +36762,19 @@ export type GetGoogleSearchConsoleConnectUrlData = {
|
|
|
36717
36762
|
* 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.
|
|
36718
36763
|
*/
|
|
36719
36764
|
redirect_url?: string;
|
|
36765
|
+
/**
|
|
36766
|
+
* When `true`, `authUrl` opens on the Zernio-hosted welcome screen with your brand, as on GET /v1/connect/{platform}, naming Google Search Console.
|
|
36767
|
+
*
|
|
36768
|
+
* - With no `redirect_url`, the flow ends on the branded result page instead of the Zernio dashboard.
|
|
36769
|
+
* - 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.
|
|
36770
|
+
* - Cannot be combined with `headless=true` in `redirect_url` (400 `INVALID_FIELD_VALUE`).
|
|
36771
|
+
*
|
|
36772
|
+
*/
|
|
36773
|
+
welcome?: boolean;
|
|
36774
|
+
/**
|
|
36775
|
+
* 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.
|
|
36776
|
+
*/
|
|
36777
|
+
welcomeTheme?: string;
|
|
36720
36778
|
};
|
|
36721
36779
|
};
|
|
36722
36780
|
|
|
@@ -75747,7 +75805,9 @@ export type ListAdConversionDestinationsResponse = ({
|
|
|
75747
75805
|
* Destination identifier. Meta: pixel ID. Google:
|
|
75748
75806
|
* conversion action resource name. LinkedIn:
|
|
75749
75807
|
* numeric conversion rule ID. OpenAI Ads: pixel wire
|
|
75750
|
-
* id. Reddit: pixel id (`a2_...`).
|
|
75808
|
+
* id. Reddit: pixel id (`a2_...`). Microsoft
|
|
75809
|
+
* Advertising: `accounts/{id}/conversionGoals/{id}`.
|
|
75810
|
+
* X Ads: pixel event id (`tw-...`).
|
|
75751
75811
|
*
|
|
75752
75812
|
*/
|
|
75753
75813
|
id?: string;
|
|
@@ -76184,7 +76244,9 @@ export type ListConversionDestinationsResponse = ({
|
|
|
76184
76244
|
* Destination identifier. Meta: pixel ID. Google:
|
|
76185
76245
|
* conversion action resource name. LinkedIn:
|
|
76186
76246
|
* numeric conversion rule ID. OpenAI Ads: pixel wire
|
|
76187
|
-
* id. Reddit: pixel id (`a2_...`).
|
|
76247
|
+
* id. Reddit: pixel id (`a2_...`). Microsoft
|
|
76248
|
+
* Advertising: `accounts/{id}/conversionGoals/{id}`.
|
|
76249
|
+
* X Ads: pixel event id (`tw-...`).
|
|
76188
76250
|
*
|
|
76189
76251
|
*/
|
|
76190
76252
|
id?: string;
|