@getlatedev/node 0.2.1713 → 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 CHANGED
@@ -37409,6 +37409,18 @@ type ConnectShopifyWithTokenError = (unknown | ErrorResponse | {
37409
37409
  });
37410
37410
  type GetGoogleAnalyticsConnectUrlData = {
37411
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;
37412
37424
  /**
37413
37425
  * Your Zernio profile ID (get from /v1/profiles).
37414
37426
  */
@@ -37421,6 +37433,19 @@ type GetGoogleAnalyticsConnectUrlData = {
37421
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.
37422
37434
  */
37423
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;
37424
37449
  };
37425
37450
  };
37426
37451
  type GetGoogleAnalyticsConnectUrlResponse = ({
@@ -37542,6 +37567,18 @@ type SelectGoogleAnalyticsPropertyResponse = ({
37542
37567
  type SelectGoogleAnalyticsPropertyError = (ErrorResponse | unknown);
37543
37568
  type GetGoogleSearchConsoleConnectUrlData = {
37544
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;
37545
37582
  /**
37546
37583
  * Your Zernio profile ID (get from /v1/profiles).
37547
37584
  */
@@ -37554,6 +37591,19 @@ type GetGoogleSearchConsoleConnectUrlData = {
37554
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.
37555
37592
  */
37556
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;
37557
37607
  };
37558
37608
  };
37559
37609
  type GetGoogleSearchConsoleConnectUrlResponse = ({
package/dist/index.d.ts CHANGED
@@ -37409,6 +37409,18 @@ type ConnectShopifyWithTokenError = (unknown | ErrorResponse | {
37409
37409
  });
37410
37410
  type GetGoogleAnalyticsConnectUrlData = {
37411
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;
37412
37424
  /**
37413
37425
  * Your Zernio profile ID (get from /v1/profiles).
37414
37426
  */
@@ -37421,6 +37433,19 @@ type GetGoogleAnalyticsConnectUrlData = {
37421
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.
37422
37434
  */
37423
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;
37424
37449
  };
37425
37450
  };
37426
37451
  type GetGoogleAnalyticsConnectUrlResponse = ({
@@ -37542,6 +37567,18 @@ type SelectGoogleAnalyticsPropertyResponse = ({
37542
37567
  type SelectGoogleAnalyticsPropertyError = (ErrorResponse | unknown);
37543
37568
  type GetGoogleSearchConsoleConnectUrlData = {
37544
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;
37545
37582
  /**
37546
37583
  * Your Zernio profile ID (get from /v1/profiles).
37547
37584
  */
@@ -37554,6 +37591,19 @@ type GetGoogleSearchConsoleConnectUrlData = {
37554
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.
37555
37592
  */
37556
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;
37557
37607
  };
37558
37608
  };
37559
37609
  type GetGoogleSearchConsoleConnectUrlResponse = ({
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.1713",
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.1713",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1713",
3
+ "version": "0.2.1714",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -36563,6 +36563,18 @@ export type ConnectShopifyWithTokenError = (unknown | ErrorResponse | {
36563
36563
 
36564
36564
  export type GetGoogleAnalyticsConnectUrlData = {
36565
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;
36566
36578
  /**
36567
36579
  * Your Zernio profile ID (get from /v1/profiles).
36568
36580
  */
@@ -36575,6 +36587,19 @@ export type GetGoogleAnalyticsConnectUrlData = {
36575
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.
36576
36588
  */
36577
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;
36578
36603
  };
36579
36604
  };
36580
36605
 
@@ -36705,6 +36730,18 @@ export type SelectGoogleAnalyticsPropertyError = (ErrorResponse | unknown);
36705
36730
 
36706
36731
  export type GetGoogleSearchConsoleConnectUrlData = {
36707
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;
36708
36745
  /**
36709
36746
  * Your Zernio profile ID (get from /v1/profiles).
36710
36747
  */
@@ -36717,6 +36754,19 @@ export type GetGoogleSearchConsoleConnectUrlData = {
36717
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.
36718
36755
  */
36719
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;
36720
36770
  };
36721
36771
  };
36722
36772