@zernio/node 0.2.701 → 0.2.702
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 +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +5 -4
package/dist/index.d.mts
CHANGED
|
@@ -13811,7 +13811,7 @@ type GetConnectUrlData = {
|
|
|
13811
13811
|
*/
|
|
13812
13812
|
profileId: string;
|
|
13813
13813
|
/**
|
|
13814
|
-
* Your custom redirect URL after connection completes.
|
|
13814
|
+
* Your custom redirect URL after connection completes. MUST be an absolute http(s) URL or a custom app scheme for mobile deeplinks (e.g. myapp://callback); a relative path is rejected with 400 INVALID_REDIRECT_URL. Result params are appended with the URL API, so an existing query string is preserved. Standard mode appends connected={platform}&profileId=X&accountId=Y&username=Z. Headless mode appends OAuth data params for platforms requiring selection (e.g. LinkedIn orgs, Facebook pages). If no selection is needed, the account is created directly and the redirect includes accountId.
|
|
13815
13815
|
*
|
|
13816
13816
|
* On failure, the browser is sent to the same redirect_url with `error` and `platform` appended.
|
|
13817
13817
|
* `error` and `platform` are always present. `error_message`, `is_user_fixable`, `reason` and
|
|
@@ -14069,8 +14069,9 @@ type ConnectAdsData = {
|
|
|
14069
14069
|
/**
|
|
14070
14070
|
* Custom URL the browser is sent to once the OAuth flow finishes. Honored on
|
|
14071
14071
|
* every ads platform, including the separate-token (`tiktok`, `twitter`) and
|
|
14072
|
-
* standalone (`googleads`) flows.
|
|
14073
|
-
* for mobile deeplinks (e.g. myapp://callback)
|
|
14072
|
+
* standalone (`googleads`) flows. MUST be an absolute http(s) URL or a custom
|
|
14073
|
+
* app scheme for mobile deeplinks (e.g. myapp://callback); a relative path is
|
|
14074
|
+
* rejected with 400 INVALID_REDIRECT_URL. On success
|
|
14074
14075
|
* `tiktok`, `twitter` and `googleads` land on the URL unchanged, while the
|
|
14075
14076
|
* same-token platforms (`facebook`, `instagram`, `linkedin`, `pinterest`)
|
|
14076
14077
|
* append `connected`, `profileId`, `accountId`, `username` and, on API-key
|
|
@@ -14112,7 +14113,7 @@ type GetShopifyConnectUrlData = {
|
|
|
14112
14113
|
*/
|
|
14113
14114
|
profileId: string;
|
|
14114
14115
|
/**
|
|
14115
|
-
* Your custom redirect URL after connection completes.
|
|
14116
|
+
* Your custom redirect URL after connection completes. MUST be an absolute http(s) URL or a custom app scheme for mobile deeplinks (e.g. myapp://callback); a relative path is rejected with 400 INVALID_REDIRECT_URL. On failure an `error` query param is appended.
|
|
14116
14117
|
*/
|
|
14117
14118
|
redirect_url?: string;
|
|
14118
14119
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -13811,7 +13811,7 @@ type GetConnectUrlData = {
|
|
|
13811
13811
|
*/
|
|
13812
13812
|
profileId: string;
|
|
13813
13813
|
/**
|
|
13814
|
-
* Your custom redirect URL after connection completes.
|
|
13814
|
+
* Your custom redirect URL after connection completes. MUST be an absolute http(s) URL or a custom app scheme for mobile deeplinks (e.g. myapp://callback); a relative path is rejected with 400 INVALID_REDIRECT_URL. Result params are appended with the URL API, so an existing query string is preserved. Standard mode appends connected={platform}&profileId=X&accountId=Y&username=Z. Headless mode appends OAuth data params for platforms requiring selection (e.g. LinkedIn orgs, Facebook pages). If no selection is needed, the account is created directly and the redirect includes accountId.
|
|
13815
13815
|
*
|
|
13816
13816
|
* On failure, the browser is sent to the same redirect_url with `error` and `platform` appended.
|
|
13817
13817
|
* `error` and `platform` are always present. `error_message`, `is_user_fixable`, `reason` and
|
|
@@ -14069,8 +14069,9 @@ type ConnectAdsData = {
|
|
|
14069
14069
|
/**
|
|
14070
14070
|
* Custom URL the browser is sent to once the OAuth flow finishes. Honored on
|
|
14071
14071
|
* every ads platform, including the separate-token (`tiktok`, `twitter`) and
|
|
14072
|
-
* standalone (`googleads`) flows.
|
|
14073
|
-
* for mobile deeplinks (e.g. myapp://callback)
|
|
14072
|
+
* standalone (`googleads`) flows. MUST be an absolute http(s) URL or a custom
|
|
14073
|
+
* app scheme for mobile deeplinks (e.g. myapp://callback); a relative path is
|
|
14074
|
+
* rejected with 400 INVALID_REDIRECT_URL. On success
|
|
14074
14075
|
* `tiktok`, `twitter` and `googleads` land on the URL unchanged, while the
|
|
14075
14076
|
* same-token platforms (`facebook`, `instagram`, `linkedin`, `pinterest`)
|
|
14076
14077
|
* append `connected`, `profileId`, `accountId`, `username` and, on API-key
|
|
@@ -14112,7 +14113,7 @@ type GetShopifyConnectUrlData = {
|
|
|
14112
14113
|
*/
|
|
14113
14114
|
profileId: string;
|
|
14114
14115
|
/**
|
|
14115
|
-
* Your custom redirect URL after connection completes.
|
|
14116
|
+
* Your custom redirect URL after connection completes. MUST be an absolute http(s) URL or a custom app scheme for mobile deeplinks (e.g. myapp://callback); a relative path is rejected with 400 INVALID_REDIRECT_URL. On failure an `error` query param is appended.
|
|
14116
14117
|
*/
|
|
14117
14118
|
redirect_url?: string;
|
|
14118
14119
|
/**
|
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.
|
|
39
|
+
version: "0.2.702",
|
|
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.
|
|
8
|
+
version: "0.2.702",
|
|
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
|
@@ -13070,7 +13070,7 @@ export type GetConnectUrlData = {
|
|
|
13070
13070
|
*/
|
|
13071
13071
|
profileId: string;
|
|
13072
13072
|
/**
|
|
13073
|
-
* Your custom redirect URL after connection completes.
|
|
13073
|
+
* Your custom redirect URL after connection completes. MUST be an absolute http(s) URL or a custom app scheme for mobile deeplinks (e.g. myapp://callback); a relative path is rejected with 400 INVALID_REDIRECT_URL. Result params are appended with the URL API, so an existing query string is preserved. Standard mode appends connected={platform}&profileId=X&accountId=Y&username=Z. Headless mode appends OAuth data params for platforms requiring selection (e.g. LinkedIn orgs, Facebook pages). If no selection is needed, the account is created directly and the redirect includes accountId.
|
|
13074
13074
|
*
|
|
13075
13075
|
* On failure, the browser is sent to the same redirect_url with `error` and `platform` appended.
|
|
13076
13076
|
* `error` and `platform` are always present. `error_message`, `is_user_fixable`, `reason` and
|
|
@@ -13334,8 +13334,9 @@ export type ConnectAdsData = {
|
|
|
13334
13334
|
/**
|
|
13335
13335
|
* Custom URL the browser is sent to once the OAuth flow finishes. Honored on
|
|
13336
13336
|
* every ads platform, including the separate-token (`tiktok`, `twitter`) and
|
|
13337
|
-
* standalone (`googleads`) flows.
|
|
13338
|
-
* for mobile deeplinks (e.g. myapp://callback)
|
|
13337
|
+
* standalone (`googleads`) flows. MUST be an absolute http(s) URL or a custom
|
|
13338
|
+
* app scheme for mobile deeplinks (e.g. myapp://callback); a relative path is
|
|
13339
|
+
* rejected with 400 INVALID_REDIRECT_URL. On success
|
|
13339
13340
|
* `tiktok`, `twitter` and `googleads` land on the URL unchanged, while the
|
|
13340
13341
|
* same-token platforms (`facebook`, `instagram`, `linkedin`, `pinterest`)
|
|
13341
13342
|
* append `connected`, `profileId`, `accountId`, `username` and, on API-key
|
|
@@ -13380,7 +13381,7 @@ export type GetShopifyConnectUrlData = {
|
|
|
13380
13381
|
*/
|
|
13381
13382
|
profileId: string;
|
|
13382
13383
|
/**
|
|
13383
|
-
* Your custom redirect URL after connection completes.
|
|
13384
|
+
* Your custom redirect URL after connection completes. MUST be an absolute http(s) URL or a custom app scheme for mobile deeplinks (e.g. myapp://callback); a relative path is rejected with 400 INVALID_REDIRECT_URL. On failure an `error` query param is appended.
|
|
13384
13385
|
*/
|
|
13385
13386
|
redirect_url?: string;
|
|
13386
13387
|
/**
|