@getlatedev/node 0.2.1130 → 0.2.1131
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 +35 -7
- package/dist/index.d.ts +35 -7
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +35 -7
package/dist/index.d.mts
CHANGED
|
@@ -22044,7 +22044,17 @@ type ConfigureTikTokAdsBrandIdentityResponse = ({
|
|
|
22044
22044
|
});
|
|
22045
22045
|
type ConfigureTikTokAdsBrandIdentityError = (unknown | ErrorResponse);
|
|
22046
22046
|
type ListFacebookPagesData = {
|
|
22047
|
+
headers?: {
|
|
22048
|
+
/**
|
|
22049
|
+
* The OAuth user token, in place of the tempToken query parameter. Prefer it: a query string is written to request logs along the way.
|
|
22050
|
+
*/
|
|
22051
|
+
'X-Temp-Token'?: string;
|
|
22052
|
+
};
|
|
22047
22053
|
query?: {
|
|
22054
|
+
/**
|
|
22055
|
+
* Set by the Zernio-hosted picker, whose user token stays in an httpOnly cookie. Integrators send tempToken instead.
|
|
22056
|
+
*/
|
|
22057
|
+
connectFlow?: string;
|
|
22048
22058
|
/**
|
|
22049
22059
|
* Profile ID from your classic connection flow. Required with tempToken.
|
|
22050
22060
|
*/
|
|
@@ -22054,7 +22064,7 @@ type ListFacebookPagesData = {
|
|
|
22054
22064
|
*/
|
|
22055
22065
|
selectionToken?: string;
|
|
22056
22066
|
/**
|
|
22057
|
-
* Temporary Facebook access token from the classic OAuth callback. Required with profileId.
|
|
22067
|
+
* Temporary Facebook access token from the classic OAuth callback. Required with profileId unless sent in the X-Temp-Token header.
|
|
22058
22068
|
*/
|
|
22059
22069
|
tempToken?: string;
|
|
22060
22070
|
};
|
|
@@ -22109,9 +22119,13 @@ type SelectFacebookPageData = {
|
|
|
22109
22119
|
*/
|
|
22110
22120
|
pageIds?: Array<(string)>;
|
|
22111
22121
|
/**
|
|
22112
|
-
* Temporary Facebook access token from OAuth.
|
|
22122
|
+
* Temporary Facebook access token from OAuth. Required unless sent in the X-Temp-Token header.
|
|
22113
22123
|
*/
|
|
22114
|
-
tempToken
|
|
22124
|
+
tempToken?: string;
|
|
22125
|
+
/**
|
|
22126
|
+
* Set by the Zernio-hosted picker, whose user token stays in an httpOnly cookie. Integrators send tempToken instead.
|
|
22127
|
+
*/
|
|
22128
|
+
connectFlow?: string;
|
|
22115
22129
|
/**
|
|
22116
22130
|
* Decoded user profile object from the OAuth callback.
|
|
22117
22131
|
*/
|
|
@@ -22177,15 +22191,25 @@ type SelectFacebookPageResponse = ({
|
|
|
22177
22191
|
});
|
|
22178
22192
|
type SelectFacebookPageError = (unknown | ErrorResponse);
|
|
22179
22193
|
type ListInstagramPagesData = {
|
|
22194
|
+
headers?: {
|
|
22195
|
+
/**
|
|
22196
|
+
* The OAuth user token, in place of the tempToken query parameter. Prefer it: a query string is written to request logs along the way.
|
|
22197
|
+
*/
|
|
22198
|
+
'X-Temp-Token'?: string;
|
|
22199
|
+
};
|
|
22180
22200
|
query: {
|
|
22201
|
+
/**
|
|
22202
|
+
* Set by the Zernio-hosted picker, whose user token stays in an httpOnly cookie. Integrators send tempToken instead.
|
|
22203
|
+
*/
|
|
22204
|
+
connectFlow?: string;
|
|
22181
22205
|
/**
|
|
22182
22206
|
* Profile ID from your connection flow
|
|
22183
22207
|
*/
|
|
22184
22208
|
profileId: string;
|
|
22185
22209
|
/**
|
|
22186
|
-
* Long-lived Facebook user access token from the OAuth callback redirect
|
|
22210
|
+
* Long-lived Facebook user access token from the OAuth callback redirect. Required unless sent in the X-Temp-Token header.
|
|
22187
22211
|
*/
|
|
22188
|
-
tempToken
|
|
22212
|
+
tempToken?: string;
|
|
22189
22213
|
};
|
|
22190
22214
|
};
|
|
22191
22215
|
type ListInstagramPagesResponse = ({
|
|
@@ -22231,9 +22255,13 @@ type SelectInstagramAccountData = {
|
|
|
22231
22255
|
*/
|
|
22232
22256
|
pageIds?: Array<(string)>;
|
|
22233
22257
|
/**
|
|
22234
|
-
* Long-lived Facebook user access token from the OAuth callback redirect
|
|
22258
|
+
* Long-lived Facebook user access token from the OAuth callback redirect. Required unless sent in the X-Temp-Token header.
|
|
22235
22259
|
*/
|
|
22236
|
-
tempToken
|
|
22260
|
+
tempToken?: string;
|
|
22261
|
+
/**
|
|
22262
|
+
* Set by the Zernio-hosted picker, whose user token stays in an httpOnly cookie. Integrators send tempToken instead.
|
|
22263
|
+
*/
|
|
22264
|
+
connectFlow?: string;
|
|
22237
22265
|
/**
|
|
22238
22266
|
* Optional custom redirect URL to return to after selection
|
|
22239
22267
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -22044,7 +22044,17 @@ type ConfigureTikTokAdsBrandIdentityResponse = ({
|
|
|
22044
22044
|
});
|
|
22045
22045
|
type ConfigureTikTokAdsBrandIdentityError = (unknown | ErrorResponse);
|
|
22046
22046
|
type ListFacebookPagesData = {
|
|
22047
|
+
headers?: {
|
|
22048
|
+
/**
|
|
22049
|
+
* The OAuth user token, in place of the tempToken query parameter. Prefer it: a query string is written to request logs along the way.
|
|
22050
|
+
*/
|
|
22051
|
+
'X-Temp-Token'?: string;
|
|
22052
|
+
};
|
|
22047
22053
|
query?: {
|
|
22054
|
+
/**
|
|
22055
|
+
* Set by the Zernio-hosted picker, whose user token stays in an httpOnly cookie. Integrators send tempToken instead.
|
|
22056
|
+
*/
|
|
22057
|
+
connectFlow?: string;
|
|
22048
22058
|
/**
|
|
22049
22059
|
* Profile ID from your classic connection flow. Required with tempToken.
|
|
22050
22060
|
*/
|
|
@@ -22054,7 +22064,7 @@ type ListFacebookPagesData = {
|
|
|
22054
22064
|
*/
|
|
22055
22065
|
selectionToken?: string;
|
|
22056
22066
|
/**
|
|
22057
|
-
* Temporary Facebook access token from the classic OAuth callback. Required with profileId.
|
|
22067
|
+
* Temporary Facebook access token from the classic OAuth callback. Required with profileId unless sent in the X-Temp-Token header.
|
|
22058
22068
|
*/
|
|
22059
22069
|
tempToken?: string;
|
|
22060
22070
|
};
|
|
@@ -22109,9 +22119,13 @@ type SelectFacebookPageData = {
|
|
|
22109
22119
|
*/
|
|
22110
22120
|
pageIds?: Array<(string)>;
|
|
22111
22121
|
/**
|
|
22112
|
-
* Temporary Facebook access token from OAuth.
|
|
22122
|
+
* Temporary Facebook access token from OAuth. Required unless sent in the X-Temp-Token header.
|
|
22113
22123
|
*/
|
|
22114
|
-
tempToken
|
|
22124
|
+
tempToken?: string;
|
|
22125
|
+
/**
|
|
22126
|
+
* Set by the Zernio-hosted picker, whose user token stays in an httpOnly cookie. Integrators send tempToken instead.
|
|
22127
|
+
*/
|
|
22128
|
+
connectFlow?: string;
|
|
22115
22129
|
/**
|
|
22116
22130
|
* Decoded user profile object from the OAuth callback.
|
|
22117
22131
|
*/
|
|
@@ -22177,15 +22191,25 @@ type SelectFacebookPageResponse = ({
|
|
|
22177
22191
|
});
|
|
22178
22192
|
type SelectFacebookPageError = (unknown | ErrorResponse);
|
|
22179
22193
|
type ListInstagramPagesData = {
|
|
22194
|
+
headers?: {
|
|
22195
|
+
/**
|
|
22196
|
+
* The OAuth user token, in place of the tempToken query parameter. Prefer it: a query string is written to request logs along the way.
|
|
22197
|
+
*/
|
|
22198
|
+
'X-Temp-Token'?: string;
|
|
22199
|
+
};
|
|
22180
22200
|
query: {
|
|
22201
|
+
/**
|
|
22202
|
+
* Set by the Zernio-hosted picker, whose user token stays in an httpOnly cookie. Integrators send tempToken instead.
|
|
22203
|
+
*/
|
|
22204
|
+
connectFlow?: string;
|
|
22181
22205
|
/**
|
|
22182
22206
|
* Profile ID from your connection flow
|
|
22183
22207
|
*/
|
|
22184
22208
|
profileId: string;
|
|
22185
22209
|
/**
|
|
22186
|
-
* Long-lived Facebook user access token from the OAuth callback redirect
|
|
22210
|
+
* Long-lived Facebook user access token from the OAuth callback redirect. Required unless sent in the X-Temp-Token header.
|
|
22187
22211
|
*/
|
|
22188
|
-
tempToken
|
|
22212
|
+
tempToken?: string;
|
|
22189
22213
|
};
|
|
22190
22214
|
};
|
|
22191
22215
|
type ListInstagramPagesResponse = ({
|
|
@@ -22231,9 +22255,13 @@ type SelectInstagramAccountData = {
|
|
|
22231
22255
|
*/
|
|
22232
22256
|
pageIds?: Array<(string)>;
|
|
22233
22257
|
/**
|
|
22234
|
-
* Long-lived Facebook user access token from the OAuth callback redirect
|
|
22258
|
+
* Long-lived Facebook user access token from the OAuth callback redirect. Required unless sent in the X-Temp-Token header.
|
|
22235
22259
|
*/
|
|
22236
|
-
tempToken
|
|
22260
|
+
tempToken?: string;
|
|
22261
|
+
/**
|
|
22262
|
+
* Set by the Zernio-hosted picker, whose user token stays in an httpOnly cookie. Integrators send tempToken instead.
|
|
22263
|
+
*/
|
|
22264
|
+
connectFlow?: string;
|
|
22237
22265
|
/**
|
|
22238
22266
|
* Optional custom redirect URL to return to after selection
|
|
22239
22267
|
*/
|
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.1131",
|
|
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.1131",
|
|
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
|
@@ -21020,7 +21020,17 @@ export type ConfigureTikTokAdsBrandIdentityResponse = ({
|
|
|
21020
21020
|
export type ConfigureTikTokAdsBrandIdentityError = (unknown | ErrorResponse);
|
|
21021
21021
|
|
|
21022
21022
|
export type ListFacebookPagesData = {
|
|
21023
|
+
headers?: {
|
|
21024
|
+
/**
|
|
21025
|
+
* The OAuth user token, in place of the tempToken query parameter. Prefer it: a query string is written to request logs along the way.
|
|
21026
|
+
*/
|
|
21027
|
+
'X-Temp-Token'?: string;
|
|
21028
|
+
};
|
|
21023
21029
|
query?: {
|
|
21030
|
+
/**
|
|
21031
|
+
* Set by the Zernio-hosted picker, whose user token stays in an httpOnly cookie. Integrators send tempToken instead.
|
|
21032
|
+
*/
|
|
21033
|
+
connectFlow?: string;
|
|
21024
21034
|
/**
|
|
21025
21035
|
* Profile ID from your classic connection flow. Required with tempToken.
|
|
21026
21036
|
*/
|
|
@@ -21030,7 +21040,7 @@ export type ListFacebookPagesData = {
|
|
|
21030
21040
|
*/
|
|
21031
21041
|
selectionToken?: string;
|
|
21032
21042
|
/**
|
|
21033
|
-
* Temporary Facebook access token from the classic OAuth callback. Required with profileId.
|
|
21043
|
+
* Temporary Facebook access token from the classic OAuth callback. Required with profileId unless sent in the X-Temp-Token header.
|
|
21034
21044
|
*/
|
|
21035
21045
|
tempToken?: string;
|
|
21036
21046
|
};
|
|
@@ -21088,9 +21098,13 @@ export type SelectFacebookPageData = {
|
|
|
21088
21098
|
*/
|
|
21089
21099
|
pageIds?: Array<(string)>;
|
|
21090
21100
|
/**
|
|
21091
|
-
* Temporary Facebook access token from OAuth.
|
|
21101
|
+
* Temporary Facebook access token from OAuth. Required unless sent in the X-Temp-Token header.
|
|
21092
21102
|
*/
|
|
21093
|
-
tempToken
|
|
21103
|
+
tempToken?: string;
|
|
21104
|
+
/**
|
|
21105
|
+
* Set by the Zernio-hosted picker, whose user token stays in an httpOnly cookie. Integrators send tempToken instead.
|
|
21106
|
+
*/
|
|
21107
|
+
connectFlow?: string;
|
|
21094
21108
|
/**
|
|
21095
21109
|
* Decoded user profile object from the OAuth callback.
|
|
21096
21110
|
*/
|
|
@@ -21159,15 +21173,25 @@ export type SelectFacebookPageResponse = ({
|
|
|
21159
21173
|
export type SelectFacebookPageError = (unknown | ErrorResponse);
|
|
21160
21174
|
|
|
21161
21175
|
export type ListInstagramPagesData = {
|
|
21176
|
+
headers?: {
|
|
21177
|
+
/**
|
|
21178
|
+
* The OAuth user token, in place of the tempToken query parameter. Prefer it: a query string is written to request logs along the way.
|
|
21179
|
+
*/
|
|
21180
|
+
'X-Temp-Token'?: string;
|
|
21181
|
+
};
|
|
21162
21182
|
query: {
|
|
21183
|
+
/**
|
|
21184
|
+
* Set by the Zernio-hosted picker, whose user token stays in an httpOnly cookie. Integrators send tempToken instead.
|
|
21185
|
+
*/
|
|
21186
|
+
connectFlow?: string;
|
|
21163
21187
|
/**
|
|
21164
21188
|
* Profile ID from your connection flow
|
|
21165
21189
|
*/
|
|
21166
21190
|
profileId: string;
|
|
21167
21191
|
/**
|
|
21168
|
-
* Long-lived Facebook user access token from the OAuth callback redirect
|
|
21192
|
+
* Long-lived Facebook user access token from the OAuth callback redirect. Required unless sent in the X-Temp-Token header.
|
|
21169
21193
|
*/
|
|
21170
|
-
tempToken
|
|
21194
|
+
tempToken?: string;
|
|
21171
21195
|
};
|
|
21172
21196
|
};
|
|
21173
21197
|
|
|
@@ -21216,9 +21240,13 @@ export type SelectInstagramAccountData = {
|
|
|
21216
21240
|
*/
|
|
21217
21241
|
pageIds?: Array<(string)>;
|
|
21218
21242
|
/**
|
|
21219
|
-
* Long-lived Facebook user access token from the OAuth callback redirect
|
|
21243
|
+
* Long-lived Facebook user access token from the OAuth callback redirect. Required unless sent in the X-Temp-Token header.
|
|
21220
21244
|
*/
|
|
21221
|
-
tempToken
|
|
21245
|
+
tempToken?: string;
|
|
21246
|
+
/**
|
|
21247
|
+
* Set by the Zernio-hosted picker, whose user token stays in an httpOnly cookie. Integrators send tempToken instead.
|
|
21248
|
+
*/
|
|
21249
|
+
connectFlow?: string;
|
|
21222
21250
|
/**
|
|
21223
21251
|
* Optional custom redirect URL to return to after selection
|
|
21224
21252
|
*/
|