@getlatedev/node 0.2.1383 → 0.2.1384
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 +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +9 -1
package/dist/index.d.mts
CHANGED
|
@@ -28391,7 +28391,7 @@ type GetConnectUrlData = {
|
|
|
28391
28391
|
/**
|
|
28392
28392
|
* Connect through one of your own OAuth apps (see /v1/connect/oauth-apps), so the consent screen shows your app and the platform's limits are your app's. Without it the connect runs on Zernio's app, whatever apps the workspace has saved.
|
|
28393
28393
|
*
|
|
28394
|
-
* - Only platforms listed in `platforms` of GET /v1/connect/oauth-apps accept an app. Any other returns 400, and so do ads connects (`adsConnect=true` in the redirect URL) and connects that end on a destination picker other than Facebook Pages (Instagram through Facebook Login, for example).
|
|
28394
|
+
* - Only platforms listed in `platforms` of GET /v1/connect/oauth-apps accept an app. Any other returns 400, and so do ads connects (`adsConnect=true` in the redirect URL) and connects that end on a destination picker other than Facebook Pages, Pinterest boards and Snapchat public profiles (Instagram through Facebook Login, for example).
|
|
28395
28395
|
* - A LinkedIn connect through an app saves the member's own profile: organization pages, and mention lookups, stay on Zernio's app.
|
|
28396
28396
|
* - The connect requests the app's `scopeAreas`. `scopes` may narrow them but not add an area the app does not enable (400).
|
|
28397
28397
|
* - If the user does not grant every requested area, the account still connects and the redirect carries `missing_permissions=<areas>` (the headless POST returns `missingPermissions`).
|
|
@@ -31788,6 +31788,10 @@ type SelectPinterestBoardData = {
|
|
|
31788
31788
|
* Custom redirect URL after connection completes
|
|
31789
31789
|
*/
|
|
31790
31790
|
redirect_url?: string;
|
|
31791
|
+
/**
|
|
31792
|
+
* The `oauthAppId` from the selection redirect, when the connect ran on one of your own OAuth apps. Pass it back so a retried selection stays on that app; a different app than the connect used returns 400.
|
|
31793
|
+
*/
|
|
31794
|
+
oauthAppId?: string;
|
|
31791
31795
|
};
|
|
31792
31796
|
};
|
|
31793
31797
|
type SelectPinterestBoardResponse = ({
|
|
@@ -31906,6 +31910,10 @@ type SelectSnapchatProfileData = {
|
|
|
31906
31910
|
* Custom redirect URL after connection completes
|
|
31907
31911
|
*/
|
|
31908
31912
|
redirect_url?: string;
|
|
31913
|
+
/**
|
|
31914
|
+
* The `oauthAppId` from the selection redirect, when the connect ran on one of your own OAuth apps. Pass it back so a retried selection stays on that app; a different app than the connect used returns 400.
|
|
31915
|
+
*/
|
|
31916
|
+
oauthAppId?: string;
|
|
31909
31917
|
};
|
|
31910
31918
|
headers?: {
|
|
31911
31919
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -28391,7 +28391,7 @@ type GetConnectUrlData = {
|
|
|
28391
28391
|
/**
|
|
28392
28392
|
* Connect through one of your own OAuth apps (see /v1/connect/oauth-apps), so the consent screen shows your app and the platform's limits are your app's. Without it the connect runs on Zernio's app, whatever apps the workspace has saved.
|
|
28393
28393
|
*
|
|
28394
|
-
* - Only platforms listed in `platforms` of GET /v1/connect/oauth-apps accept an app. Any other returns 400, and so do ads connects (`adsConnect=true` in the redirect URL) and connects that end on a destination picker other than Facebook Pages (Instagram through Facebook Login, for example).
|
|
28394
|
+
* - Only platforms listed in `platforms` of GET /v1/connect/oauth-apps accept an app. Any other returns 400, and so do ads connects (`adsConnect=true` in the redirect URL) and connects that end on a destination picker other than Facebook Pages, Pinterest boards and Snapchat public profiles (Instagram through Facebook Login, for example).
|
|
28395
28395
|
* - A LinkedIn connect through an app saves the member's own profile: organization pages, and mention lookups, stay on Zernio's app.
|
|
28396
28396
|
* - The connect requests the app's `scopeAreas`. `scopes` may narrow them but not add an area the app does not enable (400).
|
|
28397
28397
|
* - If the user does not grant every requested area, the account still connects and the redirect carries `missing_permissions=<areas>` (the headless POST returns `missingPermissions`).
|
|
@@ -31788,6 +31788,10 @@ type SelectPinterestBoardData = {
|
|
|
31788
31788
|
* Custom redirect URL after connection completes
|
|
31789
31789
|
*/
|
|
31790
31790
|
redirect_url?: string;
|
|
31791
|
+
/**
|
|
31792
|
+
* The `oauthAppId` from the selection redirect, when the connect ran on one of your own OAuth apps. Pass it back so a retried selection stays on that app; a different app than the connect used returns 400.
|
|
31793
|
+
*/
|
|
31794
|
+
oauthAppId?: string;
|
|
31791
31795
|
};
|
|
31792
31796
|
};
|
|
31793
31797
|
type SelectPinterestBoardResponse = ({
|
|
@@ -31906,6 +31910,10 @@ type SelectSnapchatProfileData = {
|
|
|
31906
31910
|
* Custom redirect URL after connection completes
|
|
31907
31911
|
*/
|
|
31908
31912
|
redirect_url?: string;
|
|
31913
|
+
/**
|
|
31914
|
+
* The `oauthAppId` from the selection redirect, when the connect ran on one of your own OAuth apps. Pass it back so a retried selection stays on that app; a different app than the connect used returns 400.
|
|
31915
|
+
*/
|
|
31916
|
+
oauthAppId?: string;
|
|
31909
31917
|
};
|
|
31910
31918
|
headers?: {
|
|
31911
31919
|
/**
|
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.1384",
|
|
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.1384",
|
|
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
|
@@ -27437,7 +27437,7 @@ export type GetConnectUrlData = {
|
|
|
27437
27437
|
/**
|
|
27438
27438
|
* Connect through one of your own OAuth apps (see /v1/connect/oauth-apps), so the consent screen shows your app and the platform's limits are your app's. Without it the connect runs on Zernio's app, whatever apps the workspace has saved.
|
|
27439
27439
|
*
|
|
27440
|
-
* - Only platforms listed in `platforms` of GET /v1/connect/oauth-apps accept an app. Any other returns 400, and so do ads connects (`adsConnect=true` in the redirect URL) and connects that end on a destination picker other than Facebook Pages (Instagram through Facebook Login, for example).
|
|
27440
|
+
* - Only platforms listed in `platforms` of GET /v1/connect/oauth-apps accept an app. Any other returns 400, and so do ads connects (`adsConnect=true` in the redirect URL) and connects that end on a destination picker other than Facebook Pages, Pinterest boards and Snapchat public profiles (Instagram through Facebook Login, for example).
|
|
27441
27441
|
* - A LinkedIn connect through an app saves the member's own profile: organization pages, and mention lookups, stay on Zernio's app.
|
|
27442
27442
|
* - The connect requests the app's `scopeAreas`. `scopes` may narrow them but not add an area the app does not enable (400).
|
|
27443
27443
|
* - If the user does not grant every requested area, the account still connects and the redirect carries `missing_permissions=<areas>` (the headless POST returns `missingPermissions`).
|
|
@@ -31011,6 +31011,10 @@ export type SelectPinterestBoardData = {
|
|
|
31011
31011
|
* Custom redirect URL after connection completes
|
|
31012
31012
|
*/
|
|
31013
31013
|
redirect_url?: string;
|
|
31014
|
+
/**
|
|
31015
|
+
* The `oauthAppId` from the selection redirect, when the connect ran on one of your own OAuth apps. Pass it back so a retried selection stays on that app; a different app than the connect used returns 400.
|
|
31016
|
+
*/
|
|
31017
|
+
oauthAppId?: string;
|
|
31014
31018
|
};
|
|
31015
31019
|
};
|
|
31016
31020
|
|
|
@@ -31135,6 +31139,10 @@ export type SelectSnapchatProfileData = {
|
|
|
31135
31139
|
* Custom redirect URL after connection completes
|
|
31136
31140
|
*/
|
|
31137
31141
|
redirect_url?: string;
|
|
31142
|
+
/**
|
|
31143
|
+
* The `oauthAppId` from the selection redirect, when the connect ran on one of your own OAuth apps. Pass it back so a retried selection stays on that app; a different app than the connect used returns 400.
|
|
31144
|
+
*/
|
|
31145
|
+
oauthAppId?: string;
|
|
31138
31146
|
};
|
|
31139
31147
|
headers?: {
|
|
31140
31148
|
/**
|