@getlatedev/node 0.2.329 → 0.2.331
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 +14 -2
- package/dist/index.d.ts +14 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +14 -2
package/dist/index.d.mts
CHANGED
|
@@ -6026,6 +6026,12 @@ type WebhookPayloadPost = {
|
|
|
6026
6026
|
publishedUrl?: string;
|
|
6027
6027
|
error?: string;
|
|
6028
6028
|
}>;
|
|
6029
|
+
/**
|
|
6030
|
+
* The free-form `metadata` object supplied when the post was created, echoed back so you can map events onto your own records. Omitted when the post was created without it.
|
|
6031
|
+
*/
|
|
6032
|
+
metadata?: {
|
|
6033
|
+
[key: string]: unknown;
|
|
6034
|
+
};
|
|
6029
6035
|
};
|
|
6030
6036
|
timestamp: string;
|
|
6031
6037
|
};
|
|
@@ -6072,6 +6078,12 @@ type WebhookPayloadPostPlatform = {
|
|
|
6072
6078
|
publishedUrl?: string;
|
|
6073
6079
|
error?: string;
|
|
6074
6080
|
}>;
|
|
6081
|
+
/**
|
|
6082
|
+
* The free-form `metadata` object supplied when the post was created, echoed back so you can map events onto your own records. Omitted when the post was created without it.
|
|
6083
|
+
*/
|
|
6084
|
+
metadata?: {
|
|
6085
|
+
[key: string]: unknown;
|
|
6086
|
+
};
|
|
6075
6087
|
};
|
|
6076
6088
|
/**
|
|
6077
6089
|
* The specific platform that just transitioned to a terminal state.
|
|
@@ -9416,7 +9428,7 @@ type GetConnectUrlData = {
|
|
|
9416
9428
|
*/
|
|
9417
9429
|
profileId: string;
|
|
9418
9430
|
/**
|
|
9419
|
-
* Your custom redirect URL after connection completes. Standard mode appends
|
|
9431
|
+
* Your custom redirect URL after connection completes. Accepts an http(s) URL, a custom app scheme for mobile deeplinks (e.g. myapp://callback), or a relative path. 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.
|
|
9420
9432
|
*/
|
|
9421
9433
|
redirect_url?: string;
|
|
9422
9434
|
};
|
|
@@ -9553,7 +9565,7 @@ type ConnectAdsData = {
|
|
|
9553
9565
|
*/
|
|
9554
9566
|
profileId: string;
|
|
9555
9567
|
/**
|
|
9556
|
-
* Custom redirect URL after OAuth completes (same-token platforms only)
|
|
9568
|
+
* 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.
|
|
9557
9569
|
*/
|
|
9558
9570
|
redirect_url?: string;
|
|
9559
9571
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -6026,6 +6026,12 @@ type WebhookPayloadPost = {
|
|
|
6026
6026
|
publishedUrl?: string;
|
|
6027
6027
|
error?: string;
|
|
6028
6028
|
}>;
|
|
6029
|
+
/**
|
|
6030
|
+
* The free-form `metadata` object supplied when the post was created, echoed back so you can map events onto your own records. Omitted when the post was created without it.
|
|
6031
|
+
*/
|
|
6032
|
+
metadata?: {
|
|
6033
|
+
[key: string]: unknown;
|
|
6034
|
+
};
|
|
6029
6035
|
};
|
|
6030
6036
|
timestamp: string;
|
|
6031
6037
|
};
|
|
@@ -6072,6 +6078,12 @@ type WebhookPayloadPostPlatform = {
|
|
|
6072
6078
|
publishedUrl?: string;
|
|
6073
6079
|
error?: string;
|
|
6074
6080
|
}>;
|
|
6081
|
+
/**
|
|
6082
|
+
* The free-form `metadata` object supplied when the post was created, echoed back so you can map events onto your own records. Omitted when the post was created without it.
|
|
6083
|
+
*/
|
|
6084
|
+
metadata?: {
|
|
6085
|
+
[key: string]: unknown;
|
|
6086
|
+
};
|
|
6075
6087
|
};
|
|
6076
6088
|
/**
|
|
6077
6089
|
* The specific platform that just transitioned to a terminal state.
|
|
@@ -9416,7 +9428,7 @@ type GetConnectUrlData = {
|
|
|
9416
9428
|
*/
|
|
9417
9429
|
profileId: string;
|
|
9418
9430
|
/**
|
|
9419
|
-
* Your custom redirect URL after connection completes. Standard mode appends
|
|
9431
|
+
* Your custom redirect URL after connection completes. Accepts an http(s) URL, a custom app scheme for mobile deeplinks (e.g. myapp://callback), or a relative path. 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.
|
|
9420
9432
|
*/
|
|
9421
9433
|
redirect_url?: string;
|
|
9422
9434
|
};
|
|
@@ -9553,7 +9565,7 @@ type ConnectAdsData = {
|
|
|
9553
9565
|
*/
|
|
9554
9566
|
profileId: string;
|
|
9555
9567
|
/**
|
|
9556
|
-
* Custom redirect URL after OAuth completes (same-token platforms only)
|
|
9568
|
+
* 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.
|
|
9557
9569
|
*/
|
|
9558
9570
|
redirect_url?: string;
|
|
9559
9571
|
};
|
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.331",
|
|
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.331",
|
|
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
|
@@ -5374,6 +5374,12 @@ export type WebhookPayloadPost = {
|
|
|
5374
5374
|
publishedUrl?: string;
|
|
5375
5375
|
error?: string;
|
|
5376
5376
|
}>;
|
|
5377
|
+
/**
|
|
5378
|
+
* The free-form `metadata` object supplied when the post was created, echoed back so you can map events onto your own records. Omitted when the post was created without it.
|
|
5379
|
+
*/
|
|
5380
|
+
metadata?: {
|
|
5381
|
+
[key: string]: unknown;
|
|
5382
|
+
};
|
|
5377
5383
|
};
|
|
5378
5384
|
timestamp: string;
|
|
5379
5385
|
};
|
|
@@ -5422,6 +5428,12 @@ export type WebhookPayloadPostPlatform = {
|
|
|
5422
5428
|
publishedUrl?: string;
|
|
5423
5429
|
error?: string;
|
|
5424
5430
|
}>;
|
|
5431
|
+
/**
|
|
5432
|
+
* The free-form `metadata` object supplied when the post was created, echoed back so you can map events onto your own records. Omitted when the post was created without it.
|
|
5433
|
+
*/
|
|
5434
|
+
metadata?: {
|
|
5435
|
+
[key: string]: unknown;
|
|
5436
|
+
};
|
|
5425
5437
|
};
|
|
5426
5438
|
/**
|
|
5427
5439
|
* The specific platform that just transitioned to a terminal state.
|
|
@@ -9014,7 +9026,7 @@ export type GetConnectUrlData = {
|
|
|
9014
9026
|
*/
|
|
9015
9027
|
profileId: string;
|
|
9016
9028
|
/**
|
|
9017
|
-
* Your custom redirect URL after connection completes. Standard mode appends
|
|
9029
|
+
* Your custom redirect URL after connection completes. Accepts an http(s) URL, a custom app scheme for mobile deeplinks (e.g. myapp://callback), or a relative path. 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.
|
|
9018
9030
|
*/
|
|
9019
9031
|
redirect_url?: string;
|
|
9020
9032
|
};
|
|
@@ -9157,7 +9169,7 @@ export type ConnectAdsData = {
|
|
|
9157
9169
|
*/
|
|
9158
9170
|
profileId: string;
|
|
9159
9171
|
/**
|
|
9160
|
-
* Custom redirect URL after OAuth completes (same-token platforms only)
|
|
9172
|
+
* 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.
|
|
9161
9173
|
*/
|
|
9162
9174
|
redirect_url?: string;
|
|
9163
9175
|
};
|