@zernio/node 0.2.860 → 0.2.861

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
@@ -19351,7 +19351,12 @@ type ConnectBlueskyCredentialsData = {
19351
19351
  */
19352
19352
  state: string;
19353
19353
  /**
19354
- * Optional URL to redirect to after successful connection
19354
+ * Optional URL to redirect to after successful connection. Used when the state carries no redirect (a state minted by GET /v1/connect/bluesky with redirect_url already carries one, and that one wins).
19355
+ */
19356
+ redirect_url?: string;
19357
+ /**
19358
+ * Alias of redirect_url, kept for existing callers
19359
+ * @deprecated
19355
19360
  */
19356
19361
  redirectUri?: string;
19357
19362
  };
@@ -19378,7 +19383,12 @@ type ConnectOpenAiAdsCredentialsData = {
19378
19383
  */
19379
19384
  state?: string;
19380
19385
  /**
19381
- * Optional URL to redirect to after successful connection
19386
+ * Optional URL to redirect to after successful connection, echoed back as redirectUrl.
19387
+ */
19388
+ redirect_url?: string;
19389
+ /**
19390
+ * Alias of redirect_url, kept for existing callers
19391
+ * @deprecated
19382
19392
  */
19383
19393
  redirectUri?: string;
19384
19394
  };
@@ -19641,6 +19651,11 @@ type ConnectWhatsAppEmbeddedSignupData = {
19641
19651
  /**
19642
19652
  * Hosted signup page only. When present, the response also carries `redirectUrl`, the URL the user should land on, with the outcome mapped exactly like the redirect flow (success params, or `error` and `platform` with the same values). Must be an absolute http(s) URL or a custom app scheme.
19643
19653
  */
19654
+ redirect_url?: string;
19655
+ /**
19656
+ * Alias of redirect_url, kept for existing callers
19657
+ * @deprecated
19658
+ */
19644
19659
  redirectUrl?: string;
19645
19660
  /**
19646
19661
  * Hosted signup page only. Append the connect token to the success redirect, as the redirect flow does for API-key callers.
@@ -19665,7 +19680,7 @@ type ConnectWhatsAppEmbeddedSignupResponse = ({
19665
19680
  selectedPhoneNumber?: string;
19666
19681
  };
19667
19682
  /**
19668
- * Present only when `redirectUrl` was sent; also present on error responses.
19683
+ * Present only when `redirect_url` was sent; also present on error responses.
19669
19684
  */
19670
19685
  redirectUrl?: string;
19671
19686
  });
package/dist/index.d.ts CHANGED
@@ -19351,7 +19351,12 @@ type ConnectBlueskyCredentialsData = {
19351
19351
  */
19352
19352
  state: string;
19353
19353
  /**
19354
- * Optional URL to redirect to after successful connection
19354
+ * Optional URL to redirect to after successful connection. Used when the state carries no redirect (a state minted by GET /v1/connect/bluesky with redirect_url already carries one, and that one wins).
19355
+ */
19356
+ redirect_url?: string;
19357
+ /**
19358
+ * Alias of redirect_url, kept for existing callers
19359
+ * @deprecated
19355
19360
  */
19356
19361
  redirectUri?: string;
19357
19362
  };
@@ -19378,7 +19383,12 @@ type ConnectOpenAiAdsCredentialsData = {
19378
19383
  */
19379
19384
  state?: string;
19380
19385
  /**
19381
- * Optional URL to redirect to after successful connection
19386
+ * Optional URL to redirect to after successful connection, echoed back as redirectUrl.
19387
+ */
19388
+ redirect_url?: string;
19389
+ /**
19390
+ * Alias of redirect_url, kept for existing callers
19391
+ * @deprecated
19382
19392
  */
19383
19393
  redirectUri?: string;
19384
19394
  };
@@ -19641,6 +19651,11 @@ type ConnectWhatsAppEmbeddedSignupData = {
19641
19651
  /**
19642
19652
  * Hosted signup page only. When present, the response also carries `redirectUrl`, the URL the user should land on, with the outcome mapped exactly like the redirect flow (success params, or `error` and `platform` with the same values). Must be an absolute http(s) URL or a custom app scheme.
19643
19653
  */
19654
+ redirect_url?: string;
19655
+ /**
19656
+ * Alias of redirect_url, kept for existing callers
19657
+ * @deprecated
19658
+ */
19644
19659
  redirectUrl?: string;
19645
19660
  /**
19646
19661
  * Hosted signup page only. Append the connect token to the success redirect, as the redirect flow does for API-key callers.
@@ -19665,7 +19680,7 @@ type ConnectWhatsAppEmbeddedSignupResponse = ({
19665
19680
  selectedPhoneNumber?: string;
19666
19681
  };
19667
19682
  /**
19668
- * Present only when `redirectUrl` was sent; also present on error responses.
19683
+ * Present only when `redirect_url` was sent; also present on error responses.
19669
19684
  */
19670
19685
  redirectUrl?: string;
19671
19686
  });
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: "@zernio/node",
39
- version: "0.2.860",
39
+ version: "0.2.861",
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: "@zernio/node",
8
- version: "0.2.860",
8
+ version: "0.2.861",
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": "@zernio/node",
3
- "version": "0.2.860",
3
+ "version": "0.2.861",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -18536,7 +18536,12 @@ export type ConnectBlueskyCredentialsData = {
18536
18536
  */
18537
18537
  state: string;
18538
18538
  /**
18539
- * Optional URL to redirect to after successful connection
18539
+ * Optional URL to redirect to after successful connection. Used when the state carries no redirect (a state minted by GET /v1/connect/bluesky with redirect_url already carries one, and that one wins).
18540
+ */
18541
+ redirect_url?: string;
18542
+ /**
18543
+ * Alias of redirect_url, kept for existing callers
18544
+ * @deprecated
18540
18545
  */
18541
18546
  redirectUri?: string;
18542
18547
  };
@@ -18566,7 +18571,12 @@ export type ConnectOpenAiAdsCredentialsData = {
18566
18571
  */
18567
18572
  state?: string;
18568
18573
  /**
18569
- * Optional URL to redirect to after successful connection
18574
+ * Optional URL to redirect to after successful connection, echoed back as redirectUrl.
18575
+ */
18576
+ redirect_url?: string;
18577
+ /**
18578
+ * Alias of redirect_url, kept for existing callers
18579
+ * @deprecated
18570
18580
  */
18571
18581
  redirectUri?: string;
18572
18582
  };
@@ -18841,6 +18851,11 @@ export type ConnectWhatsAppEmbeddedSignupData = {
18841
18851
  /**
18842
18852
  * Hosted signup page only. When present, the response also carries `redirectUrl`, the URL the user should land on, with the outcome mapped exactly like the redirect flow (success params, or `error` and `platform` with the same values). Must be an absolute http(s) URL or a custom app scheme.
18843
18853
  */
18854
+ redirect_url?: string;
18855
+ /**
18856
+ * Alias of redirect_url, kept for existing callers
18857
+ * @deprecated
18858
+ */
18844
18859
  redirectUrl?: string;
18845
18860
  /**
18846
18861
  * Hosted signup page only. Append the connect token to the success redirect, as the redirect flow does for API-key callers.
@@ -18866,7 +18881,7 @@ export type ConnectWhatsAppEmbeddedSignupResponse = ({
18866
18881
  selectedPhoneNumber?: string;
18867
18882
  };
18868
18883
  /**
18869
- * Present only when `redirectUrl` was sent; also present on error responses.
18884
+ * Present only when `redirect_url` was sent; also present on error responses.
18870
18885
  */
18871
18886
  redirectUrl?: string;
18872
18887
  });