@zernio/node 0.2.54 → 0.2.56
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 +20 -8
- package/dist/index.d.ts +20 -8
- package/package.json +1 -1
- package/src/generated/types.gen.ts +20 -8
package/dist/index.d.mts
CHANGED
|
@@ -714,6 +714,18 @@ type Ad = {
|
|
|
714
714
|
* Alternative image URL
|
|
715
715
|
*/
|
|
716
716
|
imageUrl?: string;
|
|
717
|
+
/**
|
|
718
|
+
* Meta video ID for VIDEO-type ads. Null for non-video ads. Callers that need an embeddable MP4 can call GET /{videoId}?fields=source with the page access token.
|
|
719
|
+
*/
|
|
720
|
+
videoId?: (string) | null;
|
|
721
|
+
/**
|
|
722
|
+
* Public Facebook watch URL for VIDEO-type ads (https://www.facebook.com/watch/?v={videoId}). Null for non-video ads.
|
|
723
|
+
*/
|
|
724
|
+
videoUrl?: (string) | null;
|
|
725
|
+
/**
|
|
726
|
+
* Meta creative object_type (e.g. SHARE, VIDEO, PRIVACY_CHECK_FAIL, POST_DELETED). Use this to render state-aware previews — when Meta moderation strips image/video fields, only thumbnailUrl at 64x64 is available.
|
|
727
|
+
*/
|
|
728
|
+
objectType?: string;
|
|
717
729
|
/**
|
|
718
730
|
* All media URLs for this ad (carousel images, multiple assets). Populated for Meta (carousel child_attachments), Google Ads (responsive display marketing_images), and LinkedIn (multi-image posts).
|
|
719
731
|
*/
|
|
@@ -1020,7 +1032,7 @@ type ConnectionLog = {
|
|
|
1020
1032
|
* The social account ID (present on successful connections and disconnects)
|
|
1021
1033
|
*/
|
|
1022
1034
|
accountId?: string;
|
|
1023
|
-
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
1035
|
+
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
|
|
1024
1036
|
/**
|
|
1025
1037
|
* Type of connection event: connect_success, connect_failed, disconnect, reconnect_success, reconnect_failed
|
|
1026
1038
|
*/
|
|
@@ -1089,7 +1101,7 @@ type ConnectionLog = {
|
|
|
1089
1101
|
};
|
|
1090
1102
|
createdAt?: string;
|
|
1091
1103
|
};
|
|
1092
|
-
type platform2 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
1104
|
+
type platform2 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
|
|
1093
1105
|
/**
|
|
1094
1106
|
* Type of connection event: connect_success, connect_failed, disconnect, reconnect_success, reconnect_failed
|
|
1095
1107
|
*/
|
|
@@ -1829,7 +1841,7 @@ type PostLog = {
|
|
|
1829
1841
|
});
|
|
1830
1842
|
userId?: string;
|
|
1831
1843
|
profileId?: string;
|
|
1832
|
-
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
1844
|
+
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
|
|
1833
1845
|
accountId?: string;
|
|
1834
1846
|
accountUsername?: string;
|
|
1835
1847
|
/**
|
|
@@ -2185,7 +2197,7 @@ type SnapchatPlatformData = {
|
|
|
2185
2197
|
type contentType3 = 'story' | 'saved_story' | 'spotlight';
|
|
2186
2198
|
type SocialAccount = {
|
|
2187
2199
|
_id?: string;
|
|
2188
|
-
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
|
|
2200
|
+
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
|
|
2189
2201
|
profileId?: (string | Profile);
|
|
2190
2202
|
username?: string;
|
|
2191
2203
|
displayName?: string;
|
|
@@ -2244,7 +2256,7 @@ type SocialAccount = {
|
|
|
2244
2256
|
[key: string]: unknown;
|
|
2245
2257
|
};
|
|
2246
2258
|
};
|
|
2247
|
-
type platform4 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
|
|
2259
|
+
type platform4 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
|
|
2248
2260
|
/**
|
|
2249
2261
|
* **Deprecated.** With the new ads account model, ads accounts are separate SocialAccount
|
|
2250
2262
|
* documents. Check for accounts with ads platform values (metaads, linkedinads, pinterestads,
|
|
@@ -3276,7 +3288,7 @@ type ValidatePostData = {
|
|
|
3276
3288
|
* Target platforms (same format as POST /v1/posts)
|
|
3277
3289
|
*/
|
|
3278
3290
|
platforms: Array<{
|
|
3279
|
-
platform: 'twitter' | 'instagram' | 'tiktok' | 'youtube' | 'facebook' | 'linkedin' | 'bluesky' | 'threads' | 'reddit' | 'pinterest' | 'telegram' | 'snapchat' | 'googlebusiness';
|
|
3291
|
+
platform: 'twitter' | 'instagram' | 'tiktok' | 'youtube' | 'facebook' | 'linkedin' | 'bluesky' | 'threads' | 'reddit' | 'pinterest' | 'telegram' | 'snapchat' | 'googlebusiness' | 'discord';
|
|
3280
3292
|
customContent?: string;
|
|
3281
3293
|
platformSpecificData?: {
|
|
3282
3294
|
[key: string]: unknown;
|
|
@@ -4638,7 +4650,7 @@ type GetAllAccountsHealthData = {
|
|
|
4638
4650
|
/**
|
|
4639
4651
|
* Filter by platform
|
|
4640
4652
|
*/
|
|
4641
|
-
platform?: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
4653
|
+
platform?: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
|
|
4642
4654
|
/**
|
|
4643
4655
|
* Filter by profile ID
|
|
4644
4656
|
*/
|
|
@@ -4896,7 +4908,7 @@ type GetConnectUrlData = {
|
|
|
4896
4908
|
/**
|
|
4897
4909
|
* Social media platform to connect
|
|
4898
4910
|
*/
|
|
4899
|
-
platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'reddit' | 'pinterest' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
4911
|
+
platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'reddit' | 'pinterest' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
|
|
4900
4912
|
};
|
|
4901
4913
|
query: {
|
|
4902
4914
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -714,6 +714,18 @@ type Ad = {
|
|
|
714
714
|
* Alternative image URL
|
|
715
715
|
*/
|
|
716
716
|
imageUrl?: string;
|
|
717
|
+
/**
|
|
718
|
+
* Meta video ID for VIDEO-type ads. Null for non-video ads. Callers that need an embeddable MP4 can call GET /{videoId}?fields=source with the page access token.
|
|
719
|
+
*/
|
|
720
|
+
videoId?: (string) | null;
|
|
721
|
+
/**
|
|
722
|
+
* Public Facebook watch URL for VIDEO-type ads (https://www.facebook.com/watch/?v={videoId}). Null for non-video ads.
|
|
723
|
+
*/
|
|
724
|
+
videoUrl?: (string) | null;
|
|
725
|
+
/**
|
|
726
|
+
* Meta creative object_type (e.g. SHARE, VIDEO, PRIVACY_CHECK_FAIL, POST_DELETED). Use this to render state-aware previews — when Meta moderation strips image/video fields, only thumbnailUrl at 64x64 is available.
|
|
727
|
+
*/
|
|
728
|
+
objectType?: string;
|
|
717
729
|
/**
|
|
718
730
|
* All media URLs for this ad (carousel images, multiple assets). Populated for Meta (carousel child_attachments), Google Ads (responsive display marketing_images), and LinkedIn (multi-image posts).
|
|
719
731
|
*/
|
|
@@ -1020,7 +1032,7 @@ type ConnectionLog = {
|
|
|
1020
1032
|
* The social account ID (present on successful connections and disconnects)
|
|
1021
1033
|
*/
|
|
1022
1034
|
accountId?: string;
|
|
1023
|
-
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
1035
|
+
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
|
|
1024
1036
|
/**
|
|
1025
1037
|
* Type of connection event: connect_success, connect_failed, disconnect, reconnect_success, reconnect_failed
|
|
1026
1038
|
*/
|
|
@@ -1089,7 +1101,7 @@ type ConnectionLog = {
|
|
|
1089
1101
|
};
|
|
1090
1102
|
createdAt?: string;
|
|
1091
1103
|
};
|
|
1092
|
-
type platform2 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
1104
|
+
type platform2 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
|
|
1093
1105
|
/**
|
|
1094
1106
|
* Type of connection event: connect_success, connect_failed, disconnect, reconnect_success, reconnect_failed
|
|
1095
1107
|
*/
|
|
@@ -1829,7 +1841,7 @@ type PostLog = {
|
|
|
1829
1841
|
});
|
|
1830
1842
|
userId?: string;
|
|
1831
1843
|
profileId?: string;
|
|
1832
|
-
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
1844
|
+
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
|
|
1833
1845
|
accountId?: string;
|
|
1834
1846
|
accountUsername?: string;
|
|
1835
1847
|
/**
|
|
@@ -2185,7 +2197,7 @@ type SnapchatPlatformData = {
|
|
|
2185
2197
|
type contentType3 = 'story' | 'saved_story' | 'spotlight';
|
|
2186
2198
|
type SocialAccount = {
|
|
2187
2199
|
_id?: string;
|
|
2188
|
-
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
|
|
2200
|
+
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
|
|
2189
2201
|
profileId?: (string | Profile);
|
|
2190
2202
|
username?: string;
|
|
2191
2203
|
displayName?: string;
|
|
@@ -2244,7 +2256,7 @@ type SocialAccount = {
|
|
|
2244
2256
|
[key: string]: unknown;
|
|
2245
2257
|
};
|
|
2246
2258
|
};
|
|
2247
|
-
type platform4 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
|
|
2259
|
+
type platform4 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
|
|
2248
2260
|
/**
|
|
2249
2261
|
* **Deprecated.** With the new ads account model, ads accounts are separate SocialAccount
|
|
2250
2262
|
* documents. Check for accounts with ads platform values (metaads, linkedinads, pinterestads,
|
|
@@ -3276,7 +3288,7 @@ type ValidatePostData = {
|
|
|
3276
3288
|
* Target platforms (same format as POST /v1/posts)
|
|
3277
3289
|
*/
|
|
3278
3290
|
platforms: Array<{
|
|
3279
|
-
platform: 'twitter' | 'instagram' | 'tiktok' | 'youtube' | 'facebook' | 'linkedin' | 'bluesky' | 'threads' | 'reddit' | 'pinterest' | 'telegram' | 'snapchat' | 'googlebusiness';
|
|
3291
|
+
platform: 'twitter' | 'instagram' | 'tiktok' | 'youtube' | 'facebook' | 'linkedin' | 'bluesky' | 'threads' | 'reddit' | 'pinterest' | 'telegram' | 'snapchat' | 'googlebusiness' | 'discord';
|
|
3280
3292
|
customContent?: string;
|
|
3281
3293
|
platformSpecificData?: {
|
|
3282
3294
|
[key: string]: unknown;
|
|
@@ -4638,7 +4650,7 @@ type GetAllAccountsHealthData = {
|
|
|
4638
4650
|
/**
|
|
4639
4651
|
* Filter by platform
|
|
4640
4652
|
*/
|
|
4641
|
-
platform?: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
4653
|
+
platform?: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
|
|
4642
4654
|
/**
|
|
4643
4655
|
* Filter by profile ID
|
|
4644
4656
|
*/
|
|
@@ -4896,7 +4908,7 @@ type GetConnectUrlData = {
|
|
|
4896
4908
|
/**
|
|
4897
4909
|
* Social media platform to connect
|
|
4898
4910
|
*/
|
|
4899
|
-
platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'reddit' | 'pinterest' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
4911
|
+
platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'reddit' | 'pinterest' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
|
|
4900
4912
|
};
|
|
4901
4913
|
query: {
|
|
4902
4914
|
/**
|
package/package.json
CHANGED
|
@@ -118,6 +118,18 @@ export type Ad = {
|
|
|
118
118
|
* Alternative image URL
|
|
119
119
|
*/
|
|
120
120
|
imageUrl?: string;
|
|
121
|
+
/**
|
|
122
|
+
* Meta video ID for VIDEO-type ads. Null for non-video ads. Callers that need an embeddable MP4 can call GET /{videoId}?fields=source with the page access token.
|
|
123
|
+
*/
|
|
124
|
+
videoId?: (string) | null;
|
|
125
|
+
/**
|
|
126
|
+
* Public Facebook watch URL for VIDEO-type ads (https://www.facebook.com/watch/?v={videoId}). Null for non-video ads.
|
|
127
|
+
*/
|
|
128
|
+
videoUrl?: (string) | null;
|
|
129
|
+
/**
|
|
130
|
+
* Meta creative object_type (e.g. SHARE, VIDEO, PRIVACY_CHECK_FAIL, POST_DELETED). Use this to render state-aware previews — when Meta moderation strips image/video fields, only thumbnailUrl at 64x64 is available.
|
|
131
|
+
*/
|
|
132
|
+
objectType?: string;
|
|
121
133
|
/**
|
|
122
134
|
* All media URLs for this ad (carousel images, multiple assets). Populated for Meta (carousel child_attachments), Google Ads (responsive display marketing_images), and LinkedIn (multi-image posts).
|
|
123
135
|
*/
|
|
@@ -444,7 +456,7 @@ export type ConnectionLog = {
|
|
|
444
456
|
* The social account ID (present on successful connections and disconnects)
|
|
445
457
|
*/
|
|
446
458
|
accountId?: string;
|
|
447
|
-
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
459
|
+
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
|
|
448
460
|
/**
|
|
449
461
|
* Type of connection event: connect_success, connect_failed, disconnect, reconnect_success, reconnect_failed
|
|
450
462
|
*/
|
|
@@ -514,7 +526,7 @@ export type ConnectionLog = {
|
|
|
514
526
|
createdAt?: string;
|
|
515
527
|
};
|
|
516
528
|
|
|
517
|
-
export type platform2 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
529
|
+
export type platform2 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
|
|
518
530
|
|
|
519
531
|
/**
|
|
520
532
|
* Type of connection event: connect_success, connect_failed, disconnect, reconnect_success, reconnect_failed
|
|
@@ -1309,7 +1321,7 @@ export type PostLog = {
|
|
|
1309
1321
|
});
|
|
1310
1322
|
userId?: string;
|
|
1311
1323
|
profileId?: string;
|
|
1312
|
-
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
1324
|
+
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
|
|
1313
1325
|
accountId?: string;
|
|
1314
1326
|
accountUsername?: string;
|
|
1315
1327
|
/**
|
|
@@ -1691,7 +1703,7 @@ export type contentType3 = 'story' | 'saved_story' | 'spotlight';
|
|
|
1691
1703
|
|
|
1692
1704
|
export type SocialAccount = {
|
|
1693
1705
|
_id?: string;
|
|
1694
|
-
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
|
|
1706
|
+
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
|
|
1695
1707
|
profileId?: (string | Profile);
|
|
1696
1708
|
username?: string;
|
|
1697
1709
|
displayName?: string;
|
|
@@ -1751,7 +1763,7 @@ export type SocialAccount = {
|
|
|
1751
1763
|
};
|
|
1752
1764
|
};
|
|
1753
1765
|
|
|
1754
|
-
export type platform4 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
|
|
1766
|
+
export type platform4 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
|
|
1755
1767
|
|
|
1756
1768
|
/**
|
|
1757
1769
|
* **Deprecated.** With the new ads account model, ads accounts are separate SocialAccount
|
|
@@ -2845,7 +2857,7 @@ export type ValidatePostData = {
|
|
|
2845
2857
|
* Target platforms (same format as POST /v1/posts)
|
|
2846
2858
|
*/
|
|
2847
2859
|
platforms: Array<{
|
|
2848
|
-
platform: 'twitter' | 'instagram' | 'tiktok' | 'youtube' | 'facebook' | 'linkedin' | 'bluesky' | 'threads' | 'reddit' | 'pinterest' | 'telegram' | 'snapchat' | 'googlebusiness';
|
|
2860
|
+
platform: 'twitter' | 'instagram' | 'tiktok' | 'youtube' | 'facebook' | 'linkedin' | 'bluesky' | 'threads' | 'reddit' | 'pinterest' | 'telegram' | 'snapchat' | 'googlebusiness' | 'discord';
|
|
2849
2861
|
customContent?: string;
|
|
2850
2862
|
platformSpecificData?: {
|
|
2851
2863
|
[key: string]: unknown;
|
|
@@ -4339,7 +4351,7 @@ export type GetAllAccountsHealthData = {
|
|
|
4339
4351
|
/**
|
|
4340
4352
|
* Filter by platform
|
|
4341
4353
|
*/
|
|
4342
|
-
platform?: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
4354
|
+
platform?: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
|
|
4343
4355
|
/**
|
|
4344
4356
|
* Filter by profile ID
|
|
4345
4357
|
*/
|
|
@@ -4617,7 +4629,7 @@ export type GetConnectUrlData = {
|
|
|
4617
4629
|
/**
|
|
4618
4630
|
* Social media platform to connect
|
|
4619
4631
|
*/
|
|
4620
|
-
platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'reddit' | 'pinterest' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
4632
|
+
platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'reddit' | 'pinterest' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
|
|
4621
4633
|
};
|
|
4622
4634
|
query: {
|
|
4623
4635
|
/**
|