@zernio/node 0.2.640 → 0.2.641

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
@@ -13295,7 +13295,17 @@ type ConnectAdsData = {
13295
13295
  */
13296
13296
  profileId: string;
13297
13297
  /**
13298
- * Custom redirect URL after OAuth completes (same-token platforms only). Accepts an http(s) URL, a custom app scheme for mobile deeplinks (e.g. myapp://callback), or a relative path.
13298
+ * Custom URL the browser is sent to once the OAuth flow finishes. Honored on
13299
+ * every ads platform, including the separate-token (`tiktok`, `twitter`) and
13300
+ * standalone (`googleads`) flows. Accepts an http(s) URL, a custom app scheme
13301
+ * for mobile deeplinks (e.g. myapp://callback), or a relative path. On success
13302
+ * `tiktok`, `twitter` and `googleads` land on the URL unchanged, while the
13303
+ * same-token platforms (`facebook`, `instagram`, `linkedin`, `pinterest`)
13304
+ * append `connected`, `profileId`, `accountId`, `username` and, on API-key
13305
+ * calls, `connect_token`. On failure every platform appends error details,
13306
+ * starting with `error` and `platform`. When omitted, the browser lands on
13307
+ * the Zernio dashboard.
13308
+ *
13299
13309
  */
13300
13310
  redirect_url?: string;
13301
13311
  };
package/dist/index.d.ts CHANGED
@@ -13295,7 +13295,17 @@ type ConnectAdsData = {
13295
13295
  */
13296
13296
  profileId: string;
13297
13297
  /**
13298
- * Custom redirect URL after OAuth completes (same-token platforms only). Accepts an http(s) URL, a custom app scheme for mobile deeplinks (e.g. myapp://callback), or a relative path.
13298
+ * Custom URL the browser is sent to once the OAuth flow finishes. Honored on
13299
+ * every ads platform, including the separate-token (`tiktok`, `twitter`) and
13300
+ * standalone (`googleads`) flows. Accepts an http(s) URL, a custom app scheme
13301
+ * for mobile deeplinks (e.g. myapp://callback), or a relative path. On success
13302
+ * `tiktok`, `twitter` and `googleads` land on the URL unchanged, while the
13303
+ * same-token platforms (`facebook`, `instagram`, `linkedin`, `pinterest`)
13304
+ * append `connected`, `profileId`, `accountId`, `username` and, on API-key
13305
+ * calls, `connect_token`. On failure every platform appends error details,
13306
+ * starting with `error` and `platform`. When omitted, the browser lands on
13307
+ * the Zernio dashboard.
13308
+ *
13299
13309
  */
13300
13310
  redirect_url?: string;
13301
13311
  };
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.640",
39
+ version: "0.2.641",
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.640",
8
+ version: "0.2.641",
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.640",
3
+ "version": "0.2.641",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -12559,7 +12559,17 @@ export type ConnectAdsData = {
12559
12559
  */
12560
12560
  profileId: string;
12561
12561
  /**
12562
- * Custom redirect URL after OAuth completes (same-token platforms only). Accepts an http(s) URL, a custom app scheme for mobile deeplinks (e.g. myapp://callback), or a relative path.
12562
+ * Custom URL the browser is sent to once the OAuth flow finishes. Honored on
12563
+ * every ads platform, including the separate-token (`tiktok`, `twitter`) and
12564
+ * standalone (`googleads`) flows. Accepts an http(s) URL, a custom app scheme
12565
+ * for mobile deeplinks (e.g. myapp://callback), or a relative path. On success
12566
+ * `tiktok`, `twitter` and `googleads` land on the URL unchanged, while the
12567
+ * same-token platforms (`facebook`, `instagram`, `linkedin`, `pinterest`)
12568
+ * append `connected`, `profileId`, `accountId`, `username` and, on API-key
12569
+ * calls, `connect_token`. On failure every platform appends error details,
12570
+ * starting with `error` and `platform`. When omitted, the browser lands on
12571
+ * the Zernio dashboard.
12572
+ *
12563
12573
  */
12564
12574
  redirect_url?: string;
12565
12575
  };