@getlatedev/node 0.2.1402 → 0.2.1404
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 +18 -2
- package/dist/index.d.ts +18 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +18 -2
package/dist/index.d.mts
CHANGED
|
@@ -15996,7 +15996,7 @@ type SnapchatPlatformData = {
|
|
|
15996
15996
|
type contentType3 = 'story' | 'saved_story' | 'spotlight';
|
|
15997
15997
|
type SocialAccount = {
|
|
15998
15998
|
_id: string;
|
|
15999
|
-
platform: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads' | 'google' | 'microsoft' | 'hubspot' | 'webflow' | 'googleanalytics';
|
|
15999
|
+
platform: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads' | 'google' | 'microsoft' | 'hubspot' | 'webflow' | 'googleanalytics' | 'imessage' | 'tiktokshop' | 'microsoftads';
|
|
16000
16000
|
profileId: (string | Profile);
|
|
16001
16001
|
username?: string;
|
|
16002
16002
|
displayName?: string;
|
|
@@ -16129,7 +16129,7 @@ type SocialAccount = {
|
|
|
16129
16129
|
[key: string]: unknown;
|
|
16130
16130
|
};
|
|
16131
16131
|
};
|
|
16132
|
-
type platform14 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads' | 'google' | 'microsoft' | 'hubspot' | 'webflow' | 'googleanalytics';
|
|
16132
|
+
type platform14 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads' | 'google' | 'microsoft' | 'hubspot' | 'webflow' | 'googleanalytics' | 'imessage' | 'tiktokshop' | 'microsoftads';
|
|
16133
16133
|
/**
|
|
16134
16134
|
* TikTok accounts only. The account type TikTok reported when the account was connected.
|
|
16135
16135
|
*
|
|
@@ -31798,6 +31798,14 @@ type CreateOAuthAppData = {
|
|
|
31798
31798
|
label: string;
|
|
31799
31799
|
clientId: string;
|
|
31800
31800
|
clientSecret: string;
|
|
31801
|
+
/**
|
|
31802
|
+
* Instagram only: the numeric ID of the Meta app your Instagram app lives in. Zernio uses it with `metaAppSecret` to register the webhook. Send both or neither.
|
|
31803
|
+
*/
|
|
31804
|
+
metaAppId?: string;
|
|
31805
|
+
/**
|
|
31806
|
+
* Instagram only: the secret of that Meta app. Never returned.
|
|
31807
|
+
*/
|
|
31808
|
+
metaAppSecret?: string;
|
|
31801
31809
|
/**
|
|
31802
31810
|
* Slack only: the signing secret from the app's Basic Information page. Needed to receive events from your Slack app; any other platform is a 400.
|
|
31803
31811
|
*/
|
|
@@ -31827,6 +31835,14 @@ type UpdateOAuthAppData = {
|
|
|
31827
31835
|
body: {
|
|
31828
31836
|
label?: string;
|
|
31829
31837
|
clientSecret?: string;
|
|
31838
|
+
/**
|
|
31839
|
+
* Instagram only: the numeric ID of the Meta app your Instagram app lives in. Zernio uses it with `metaAppSecret` to register the webhook. Send both or neither.
|
|
31840
|
+
*/
|
|
31841
|
+
metaAppId?: string;
|
|
31842
|
+
/**
|
|
31843
|
+
* Instagram only: the secret of that Meta app. Never returned.
|
|
31844
|
+
*/
|
|
31845
|
+
metaAppSecret?: string;
|
|
31830
31846
|
/**
|
|
31831
31847
|
* Slack only: saves or replaces the signing secret from the app's Basic Information page; any other platform is a 400.
|
|
31832
31848
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -15996,7 +15996,7 @@ type SnapchatPlatformData = {
|
|
|
15996
15996
|
type contentType3 = 'story' | 'saved_story' | 'spotlight';
|
|
15997
15997
|
type SocialAccount = {
|
|
15998
15998
|
_id: string;
|
|
15999
|
-
platform: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads' | 'google' | 'microsoft' | 'hubspot' | 'webflow' | 'googleanalytics';
|
|
15999
|
+
platform: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads' | 'google' | 'microsoft' | 'hubspot' | 'webflow' | 'googleanalytics' | 'imessage' | 'tiktokshop' | 'microsoftads';
|
|
16000
16000
|
profileId: (string | Profile);
|
|
16001
16001
|
username?: string;
|
|
16002
16002
|
displayName?: string;
|
|
@@ -16129,7 +16129,7 @@ type SocialAccount = {
|
|
|
16129
16129
|
[key: string]: unknown;
|
|
16130
16130
|
};
|
|
16131
16131
|
};
|
|
16132
|
-
type platform14 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads' | 'google' | 'microsoft' | 'hubspot' | 'webflow' | 'googleanalytics';
|
|
16132
|
+
type platform14 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads' | 'google' | 'microsoft' | 'hubspot' | 'webflow' | 'googleanalytics' | 'imessage' | 'tiktokshop' | 'microsoftads';
|
|
16133
16133
|
/**
|
|
16134
16134
|
* TikTok accounts only. The account type TikTok reported when the account was connected.
|
|
16135
16135
|
*
|
|
@@ -31798,6 +31798,14 @@ type CreateOAuthAppData = {
|
|
|
31798
31798
|
label: string;
|
|
31799
31799
|
clientId: string;
|
|
31800
31800
|
clientSecret: string;
|
|
31801
|
+
/**
|
|
31802
|
+
* Instagram only: the numeric ID of the Meta app your Instagram app lives in. Zernio uses it with `metaAppSecret` to register the webhook. Send both or neither.
|
|
31803
|
+
*/
|
|
31804
|
+
metaAppId?: string;
|
|
31805
|
+
/**
|
|
31806
|
+
* Instagram only: the secret of that Meta app. Never returned.
|
|
31807
|
+
*/
|
|
31808
|
+
metaAppSecret?: string;
|
|
31801
31809
|
/**
|
|
31802
31810
|
* Slack only: the signing secret from the app's Basic Information page. Needed to receive events from your Slack app; any other platform is a 400.
|
|
31803
31811
|
*/
|
|
@@ -31827,6 +31835,14 @@ type UpdateOAuthAppData = {
|
|
|
31827
31835
|
body: {
|
|
31828
31836
|
label?: string;
|
|
31829
31837
|
clientSecret?: string;
|
|
31838
|
+
/**
|
|
31839
|
+
* Instagram only: the numeric ID of the Meta app your Instagram app lives in. Zernio uses it with `metaAppSecret` to register the webhook. Send both or neither.
|
|
31840
|
+
*/
|
|
31841
|
+
metaAppId?: string;
|
|
31842
|
+
/**
|
|
31843
|
+
* Instagram only: the secret of that Meta app. Never returned.
|
|
31844
|
+
*/
|
|
31845
|
+
metaAppSecret?: string;
|
|
31830
31846
|
/**
|
|
31831
31847
|
* Slack only: saves or replaces the signing secret from the app's Basic Information page; any other platform is a 400.
|
|
31832
31848
|
*/
|
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.1404",
|
|
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.1404",
|
|
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
|
@@ -14370,7 +14370,7 @@ export type contentType3 = 'story' | 'saved_story' | 'spotlight';
|
|
|
14370
14370
|
|
|
14371
14371
|
export type SocialAccount = {
|
|
14372
14372
|
_id: string;
|
|
14373
|
-
platform: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads' | 'google' | 'microsoft' | 'hubspot' | 'webflow' | 'googleanalytics';
|
|
14373
|
+
platform: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads' | 'google' | 'microsoft' | 'hubspot' | 'webflow' | 'googleanalytics' | 'imessage' | 'tiktokshop' | 'microsoftads';
|
|
14374
14374
|
profileId: (string | Profile);
|
|
14375
14375
|
username?: string;
|
|
14376
14376
|
displayName?: string;
|
|
@@ -14504,7 +14504,7 @@ export type SocialAccount = {
|
|
|
14504
14504
|
};
|
|
14505
14505
|
};
|
|
14506
14506
|
|
|
14507
|
-
export type platform14 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads' | 'google' | 'microsoft' | 'hubspot' | 'webflow' | 'googleanalytics';
|
|
14507
|
+
export type platform14 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'slack' | 'whatsapp' | 'shopify' | 'wordpress' | 'wix' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads' | 'openaiads' | 'redditads' | 'sms' | 'phone' | 'rcs' | 'whopads' | 'google' | 'microsoft' | 'hubspot' | 'webflow' | 'googleanalytics' | 'imessage' | 'tiktokshop' | 'microsoftads';
|
|
14508
14508
|
|
|
14509
14509
|
/**
|
|
14510
14510
|
* TikTok accounts only. The account type TikTok reported when the account was connected.
|
|
@@ -31003,6 +31003,14 @@ export type CreateOAuthAppData = {
|
|
|
31003
31003
|
label: string;
|
|
31004
31004
|
clientId: string;
|
|
31005
31005
|
clientSecret: string;
|
|
31006
|
+
/**
|
|
31007
|
+
* Instagram only: the numeric ID of the Meta app your Instagram app lives in. Zernio uses it with `metaAppSecret` to register the webhook. Send both or neither.
|
|
31008
|
+
*/
|
|
31009
|
+
metaAppId?: string;
|
|
31010
|
+
/**
|
|
31011
|
+
* Instagram only: the secret of that Meta app. Never returned.
|
|
31012
|
+
*/
|
|
31013
|
+
metaAppSecret?: string;
|
|
31006
31014
|
/**
|
|
31007
31015
|
* Slack only: the signing secret from the app's Basic Information page. Needed to receive events from your Slack app; any other platform is a 400.
|
|
31008
31016
|
*/
|
|
@@ -31038,6 +31046,14 @@ export type UpdateOAuthAppData = {
|
|
|
31038
31046
|
body: {
|
|
31039
31047
|
label?: string;
|
|
31040
31048
|
clientSecret?: string;
|
|
31049
|
+
/**
|
|
31050
|
+
* Instagram only: the numeric ID of the Meta app your Instagram app lives in. Zernio uses it with `metaAppSecret` to register the webhook. Send both or neither.
|
|
31051
|
+
*/
|
|
31052
|
+
metaAppId?: string;
|
|
31053
|
+
/**
|
|
31054
|
+
* Instagram only: the secret of that Meta app. Never returned.
|
|
31055
|
+
*/
|
|
31056
|
+
metaAppSecret?: string;
|
|
31041
31057
|
/**
|
|
31042
31058
|
* Slack only: saves or replaces the signing secret from the app's Basic Information page; any other platform is a 400.
|
|
31043
31059
|
*/
|