@zernio/node 0.2.55 → 0.2.57
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/README.md +0 -26
- package/dist/index.d.mts +107 -1318
- package/dist/index.d.ts +107 -1318
- package/dist/index.js +1 -183
- package/dist/index.mjs +1 -183
- package/package.json +1 -1
- package/src/client.ts +0 -52
- package/src/generated/sdk.gen.ts +1 -383
- package/src/generated/types.gen.ts +108 -1378
package/dist/index.d.mts
CHANGED
|
@@ -152,7 +152,6 @@ declare class Zernio {
|
|
|
152
152
|
getFollowerStats: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetFollowerStatsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetFollowerStatsResponse, GetFollowerStatsError, ThrowOnError>;
|
|
153
153
|
updateAccount: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateAccountData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateAccountResponse, unknown, ThrowOnError>;
|
|
154
154
|
deleteAccount: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteAccountData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteAccountResponse, DeleteAccountError, ThrowOnError>;
|
|
155
|
-
disconnectAds: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DisconnectAdsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DisconnectAdsResponse, unknown, ThrowOnError>;
|
|
156
155
|
getAllAccountsHealth: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetAllAccountsHealthData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAllAccountsHealthResponse, GetAllAccountsHealthError, ThrowOnError>;
|
|
157
156
|
getAccountHealth: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetAccountHealthData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetAccountHealthResponse, GetAccountHealthError, ThrowOnError>;
|
|
158
157
|
getTikTokCreatorInfo: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetTikTokCreatorInfoData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetTikTokCreatorInfoResponse, GetTikTokCreatorInfoError, ThrowOnError>;
|
|
@@ -281,15 +280,12 @@ declare class Zernio {
|
|
|
281
280
|
updateWebhookSettings: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateWebhookSettingsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateWebhookSettingsResponse, unknown, ThrowOnError>;
|
|
282
281
|
deleteWebhookSettings: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteWebhookSettingsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteWebhookSettingsResponse, unknown, ThrowOnError>;
|
|
283
282
|
testWebhook: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<TestWebhookData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TestWebhookResponse, unknown, ThrowOnError>;
|
|
284
|
-
getWebhookLogs: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetWebhookLogsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWebhookLogsResponse, GetWebhookLogsError, ThrowOnError>;
|
|
285
283
|
};
|
|
286
284
|
/**
|
|
287
285
|
* Logs API - Publishing logs
|
|
288
286
|
*/
|
|
289
287
|
logs: {
|
|
290
288
|
listLogs: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListLogsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListLogsResponse, ListLogsError, ThrowOnError>;
|
|
291
|
-
listPostsLogs: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListPostsLogsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListPostsLogsResponse, ListPostsLogsError, ThrowOnError>;
|
|
292
|
-
listConnectionLogs: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListConnectionLogsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListConnectionLogsResponse, ListConnectionLogsError, ThrowOnError>;
|
|
293
289
|
getPostLogs: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetPostLogsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetPostLogsResponse, unknown, ThrowOnError>;
|
|
294
290
|
};
|
|
295
291
|
/**
|
|
@@ -360,33 +356,11 @@ declare class Zernio {
|
|
|
360
356
|
* whatsapp API
|
|
361
357
|
*/
|
|
362
358
|
whatsapp: {
|
|
363
|
-
sendWhatsAppBulk: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SendWhatsAppBulkData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SendWhatsAppBulkResponse, unknown, ThrowOnError>;
|
|
364
|
-
getWhatsAppContacts: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppContactsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppContactsResponse, unknown, ThrowOnError>;
|
|
365
|
-
createWhatsAppContact: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateWhatsAppContactData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateWhatsAppContactResponse, unknown, ThrowOnError>;
|
|
366
|
-
getWhatsAppContact: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppContactData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppContactResponse, GetWhatsAppContactError, ThrowOnError>;
|
|
367
|
-
updateWhatsAppContact: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateWhatsAppContactData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateWhatsAppContactResponse, UpdateWhatsAppContactError, ThrowOnError>;
|
|
368
|
-
deleteWhatsAppContact: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteWhatsAppContactData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteWhatsAppContactResponse, DeleteWhatsAppContactError, ThrowOnError>;
|
|
369
|
-
importWhatsAppContacts: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ImportWhatsAppContactsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ImportWhatsAppContactsResponse, unknown, ThrowOnError>;
|
|
370
|
-
bulkUpdateWhatsAppContacts: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<BulkUpdateWhatsAppContactsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BulkUpdateWhatsAppContactsResponse, unknown, ThrowOnError>;
|
|
371
|
-
bulkDeleteWhatsAppContacts: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<BulkDeleteWhatsAppContactsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BulkDeleteWhatsAppContactsResponse, unknown, ThrowOnError>;
|
|
372
|
-
getWhatsAppGroups: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppGroupsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppGroupsResponse, unknown, ThrowOnError>;
|
|
373
|
-
renameWhatsAppGroup: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RenameWhatsAppGroupData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RenameWhatsAppGroupResponse, unknown, ThrowOnError>;
|
|
374
|
-
deleteWhatsAppGroup: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteWhatsAppGroupData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteWhatsAppGroupResponse, unknown, ThrowOnError>;
|
|
375
359
|
getWhatsAppTemplates: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppTemplatesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppTemplatesResponse, unknown, ThrowOnError>;
|
|
376
360
|
createWhatsAppTemplate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateWhatsAppTemplateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateWhatsAppTemplateResponse, unknown, ThrowOnError>;
|
|
377
361
|
getWhatsAppTemplate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppTemplateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppTemplateResponse, unknown, ThrowOnError>;
|
|
378
362
|
updateWhatsAppTemplate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateWhatsAppTemplateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateWhatsAppTemplateResponse, unknown, ThrowOnError>;
|
|
379
363
|
deleteWhatsAppTemplate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteWhatsAppTemplateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteWhatsAppTemplateResponse, unknown, ThrowOnError>;
|
|
380
|
-
getWhatsAppBroadcasts: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppBroadcastsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppBroadcastsResponse, unknown, ThrowOnError>;
|
|
381
|
-
createWhatsAppBroadcast: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateWhatsAppBroadcastData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateWhatsAppBroadcastResponse, unknown, ThrowOnError>;
|
|
382
|
-
getWhatsAppBroadcast: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppBroadcastData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppBroadcastResponse, GetWhatsAppBroadcastError, ThrowOnError>;
|
|
383
|
-
deleteWhatsAppBroadcast: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteWhatsAppBroadcastData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteWhatsAppBroadcastResponse, unknown, ThrowOnError>;
|
|
384
|
-
sendWhatsAppBroadcast: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SendWhatsAppBroadcastData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SendWhatsAppBroadcastResponse, unknown, ThrowOnError>;
|
|
385
|
-
scheduleWhatsAppBroadcast: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ScheduleWhatsAppBroadcastData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ScheduleWhatsAppBroadcastResponse, unknown, ThrowOnError>;
|
|
386
|
-
cancelWhatsAppBroadcastSchedule: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CancelWhatsAppBroadcastScheduleData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CancelWhatsAppBroadcastScheduleResponse, unknown, ThrowOnError>;
|
|
387
|
-
getWhatsAppBroadcastRecipients: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppBroadcastRecipientsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppBroadcastRecipientsResponse, GetWhatsAppBroadcastRecipientsError, ThrowOnError>;
|
|
388
|
-
addWhatsAppBroadcastRecipients: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<AddWhatsAppBroadcastRecipientsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AddWhatsAppBroadcastRecipientsResponse, unknown, ThrowOnError>;
|
|
389
|
-
removeWhatsAppBroadcastRecipients: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RemoveWhatsAppBroadcastRecipientsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RemoveWhatsAppBroadcastRecipientsResponse, unknown, ThrowOnError>;
|
|
390
364
|
getWhatsAppBusinessProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppBusinessProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppBusinessProfileResponse, unknown, ThrowOnError>;
|
|
391
365
|
updateWhatsAppBusinessProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateWhatsAppBusinessProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateWhatsAppBusinessProfileResponse, unknown, ThrowOnError>;
|
|
392
366
|
uploadWhatsAppProfilePhoto: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UploadWhatsAppProfilePhotoData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UploadWhatsAppProfilePhotoResponse, unknown, ThrowOnError>;
|
|
@@ -1018,98 +992,6 @@ type BlueskyPlatformData = {
|
|
|
1018
992
|
mediaItems?: Array<MediaItem>;
|
|
1019
993
|
}>;
|
|
1020
994
|
};
|
|
1021
|
-
/**
|
|
1022
|
-
* Connection event log showing account connection/disconnection history
|
|
1023
|
-
*/
|
|
1024
|
-
type ConnectionLog = {
|
|
1025
|
-
_id?: string;
|
|
1026
|
-
/**
|
|
1027
|
-
* User who owns the connection (may be null for early OAuth failures)
|
|
1028
|
-
*/
|
|
1029
|
-
userId?: string;
|
|
1030
|
-
profileId?: string;
|
|
1031
|
-
/**
|
|
1032
|
-
* The social account ID (present on successful connections and disconnects)
|
|
1033
|
-
*/
|
|
1034
|
-
accountId?: string;
|
|
1035
|
-
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
1036
|
-
/**
|
|
1037
|
-
* Type of connection event: connect_success, connect_failed, disconnect, reconnect_success, reconnect_failed
|
|
1038
|
-
*/
|
|
1039
|
-
eventType?: 'connect_success' | 'connect_failed' | 'disconnect' | 'reconnect_success' | 'reconnect_failed';
|
|
1040
|
-
/**
|
|
1041
|
-
* How the connection was initiated
|
|
1042
|
-
*/
|
|
1043
|
-
connectionMethod?: 'oauth' | 'credentials' | 'invitation';
|
|
1044
|
-
/**
|
|
1045
|
-
* Error details (present on failed events)
|
|
1046
|
-
*/
|
|
1047
|
-
error?: {
|
|
1048
|
-
/**
|
|
1049
|
-
* Error code (e.g., oauth_denied, token_exchange_failed)
|
|
1050
|
-
*/
|
|
1051
|
-
code?: string;
|
|
1052
|
-
/**
|
|
1053
|
-
* Human-readable error message
|
|
1054
|
-
*/
|
|
1055
|
-
message?: string;
|
|
1056
|
-
/**
|
|
1057
|
-
* Raw error response (truncated to 2000 chars)
|
|
1058
|
-
*/
|
|
1059
|
-
rawResponse?: string;
|
|
1060
|
-
};
|
|
1061
|
-
/**
|
|
1062
|
-
* Success details (present on successful events)
|
|
1063
|
-
*/
|
|
1064
|
-
success?: {
|
|
1065
|
-
displayName?: string;
|
|
1066
|
-
username?: string;
|
|
1067
|
-
profilePicture?: string;
|
|
1068
|
-
/**
|
|
1069
|
-
* OAuth scopes/permissions granted
|
|
1070
|
-
*/
|
|
1071
|
-
permissions?: Array<(string)>;
|
|
1072
|
-
tokenExpiresAt?: string;
|
|
1073
|
-
/**
|
|
1074
|
-
* Account type (personal, business, organization)
|
|
1075
|
-
*/
|
|
1076
|
-
accountType?: string;
|
|
1077
|
-
};
|
|
1078
|
-
/**
|
|
1079
|
-
* Additional context about the connection attempt
|
|
1080
|
-
*/
|
|
1081
|
-
context?: {
|
|
1082
|
-
isHeadlessMode?: boolean;
|
|
1083
|
-
hasCustomRedirectUrl?: boolean;
|
|
1084
|
-
isReconnection?: boolean;
|
|
1085
|
-
/**
|
|
1086
|
-
* Using bring-your-own-keys
|
|
1087
|
-
*/
|
|
1088
|
-
isBYOK?: boolean;
|
|
1089
|
-
invitationToken?: string;
|
|
1090
|
-
connectToken?: string;
|
|
1091
|
-
};
|
|
1092
|
-
/**
|
|
1093
|
-
* How long the operation took in milliseconds
|
|
1094
|
-
*/
|
|
1095
|
-
durationMs?: number;
|
|
1096
|
-
/**
|
|
1097
|
-
* Additional metadata
|
|
1098
|
-
*/
|
|
1099
|
-
metadata?: {
|
|
1100
|
-
[key: string]: unknown;
|
|
1101
|
-
};
|
|
1102
|
-
createdAt?: string;
|
|
1103
|
-
};
|
|
1104
|
-
type platform2 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
1105
|
-
/**
|
|
1106
|
-
* Type of connection event: connect_success, connect_failed, disconnect, reconnect_success, reconnect_failed
|
|
1107
|
-
*/
|
|
1108
|
-
type eventType = 'connect_success' | 'connect_failed' | 'disconnect' | 'reconnect_success' | 'reconnect_failed';
|
|
1109
|
-
/**
|
|
1110
|
-
* How the connection was initiated
|
|
1111
|
-
*/
|
|
1112
|
-
type connectionMethod = 'oauth' | 'credentials' | 'invitation';
|
|
1113
995
|
type ErrorResponse = {
|
|
1114
996
|
error?: string;
|
|
1115
997
|
details?: {
|
|
@@ -1333,7 +1215,7 @@ type InboxWebhookMessage = {
|
|
|
1333
1215
|
sentAt: string;
|
|
1334
1216
|
isRead: boolean;
|
|
1335
1217
|
};
|
|
1336
|
-
type
|
|
1218
|
+
type platform2 = 'instagram' | 'facebook' | 'telegram' | 'whatsapp';
|
|
1337
1219
|
type direction = 'incoming' | 'outgoing';
|
|
1338
1220
|
type InstagramAccountInsightsResponse = {
|
|
1339
1221
|
success?: boolean;
|
|
@@ -1841,7 +1723,7 @@ type PostLog = {
|
|
|
1841
1723
|
});
|
|
1842
1724
|
userId?: string;
|
|
1843
1725
|
profileId?: string;
|
|
1844
|
-
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
1726
|
+
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
|
|
1845
1727
|
accountId?: string;
|
|
1846
1728
|
accountUsername?: string;
|
|
1847
1729
|
/**
|
|
@@ -1906,6 +1788,7 @@ type PostLog = {
|
|
|
1906
1788
|
attemptNumber?: number;
|
|
1907
1789
|
createdAt?: string;
|
|
1908
1790
|
};
|
|
1791
|
+
type platform3 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
|
|
1909
1792
|
/**
|
|
1910
1793
|
* Type of action logged: publish (initial attempt), retry (after failure), media_upload, rate_limit_pause, token_refresh, cancelled
|
|
1911
1794
|
*/
|
|
@@ -2197,7 +2080,7 @@ type SnapchatPlatformData = {
|
|
|
2197
2080
|
type contentType3 = 'story' | 'saved_story' | 'spotlight';
|
|
2198
2081
|
type SocialAccount = {
|
|
2199
2082
|
_id?: string;
|
|
2200
|
-
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
|
|
2083
|
+
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
|
|
2201
2084
|
profileId?: (string | Profile);
|
|
2202
2085
|
username?: string;
|
|
2203
2086
|
displayName?: string;
|
|
@@ -2228,19 +2111,6 @@ type SocialAccount = {
|
|
|
2228
2111
|
*
|
|
2229
2112
|
*/
|
|
2230
2113
|
enabled?: boolean;
|
|
2231
|
-
/**
|
|
2232
|
-
* **Deprecated.** With the new ads account model, ads accounts are separate SocialAccount
|
|
2233
|
-
* documents. Check for accounts with ads platform values (metaads, linkedinads, pinterestads,
|
|
2234
|
-
* tiktokads, xads, googleads) instead.
|
|
2235
|
-
*
|
|
2236
|
-
* Legacy behavior:
|
|
2237
|
-
* - `connected`: Ads are ready to use (same-token platforms like Meta/LinkedIn, or separate ads token is present).
|
|
2238
|
-
* - `not_connected`: Platform supports ads but requires a separate ads OAuth. Use `GET /v1/connect/{platform}/ads` to connect.
|
|
2239
|
-
* - `not_available`: Platform does not support ads (e.g., YouTube, Reddit, Bluesky).
|
|
2240
|
-
*
|
|
2241
|
-
* @deprecated
|
|
2242
|
-
*/
|
|
2243
|
-
adsStatus?: 'connected' | 'not_connected' | 'not_available';
|
|
2244
2114
|
/**
|
|
2245
2115
|
* Platform-specific metadata. Fields vary by platform. For WhatsApp accounts, includes:
|
|
2246
2116
|
* - `qualityRating`: Phone number quality rating from Meta (`GREEN`, `YELLOW`, `RED`, or `UNKNOWN`)
|
|
@@ -2256,20 +2126,7 @@ type SocialAccount = {
|
|
|
2256
2126
|
[key: string]: unknown;
|
|
2257
2127
|
};
|
|
2258
2128
|
};
|
|
2259
|
-
type platform4 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
|
|
2260
|
-
/**
|
|
2261
|
-
* **Deprecated.** With the new ads account model, ads accounts are separate SocialAccount
|
|
2262
|
-
* documents. Check for accounts with ads platform values (metaads, linkedinads, pinterestads,
|
|
2263
|
-
* tiktokads, xads, googleads) instead.
|
|
2264
|
-
*
|
|
2265
|
-
* Legacy behavior:
|
|
2266
|
-
* - `connected`: Ads are ready to use (same-token platforms like Meta/LinkedIn, or separate ads token is present).
|
|
2267
|
-
* - `not_connected`: Platform supports ads but requires a separate ads OAuth. Use `GET /v1/connect/{platform}/ads` to connect.
|
|
2268
|
-
* - `not_available`: Platform does not support ads (e.g., YouTube, Reddit, Bluesky).
|
|
2269
|
-
*
|
|
2270
|
-
* @deprecated
|
|
2271
|
-
*/
|
|
2272
|
-
type adsStatus = 'connected' | 'not_connected' | 'not_available';
|
|
2129
|
+
type platform4 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | 'whatsapp' | 'linkedinads' | 'metaads' | 'pinterestads' | 'tiktokads' | 'xads' | 'googleads';
|
|
2273
2130
|
/**
|
|
2274
2131
|
* Text, images (up to 10), videos (up to 10), and mixed media albums. Captions up to 1024 chars for media, 4096 for text-only.
|
|
2275
2132
|
*/
|
|
@@ -2550,52 +2407,6 @@ type Webhook = {
|
|
|
2550
2407
|
[key: string]: (string);
|
|
2551
2408
|
};
|
|
2552
2409
|
};
|
|
2553
|
-
/**
|
|
2554
|
-
* Webhook delivery log entry
|
|
2555
|
-
*/
|
|
2556
|
-
type WebhookLog = {
|
|
2557
|
-
_id?: string;
|
|
2558
|
-
/**
|
|
2559
|
-
* ID of the webhook that was triggered
|
|
2560
|
-
*/
|
|
2561
|
-
webhookId?: string;
|
|
2562
|
-
/**
|
|
2563
|
-
* Name of the webhook that was triggered
|
|
2564
|
-
*/
|
|
2565
|
-
webhookName?: string;
|
|
2566
|
-
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.failed' | 'comment.received' | 'webhook.test';
|
|
2567
|
-
url?: string;
|
|
2568
|
-
status?: 'success' | 'failed';
|
|
2569
|
-
/**
|
|
2570
|
-
* HTTP status code from webhook endpoint
|
|
2571
|
-
*/
|
|
2572
|
-
statusCode?: number;
|
|
2573
|
-
/**
|
|
2574
|
-
* Payload sent to webhook endpoint
|
|
2575
|
-
*/
|
|
2576
|
-
requestPayload?: {
|
|
2577
|
-
[key: string]: unknown;
|
|
2578
|
-
};
|
|
2579
|
-
/**
|
|
2580
|
-
* Response body from webhook endpoint (truncated to 10KB)
|
|
2581
|
-
*/
|
|
2582
|
-
responseBody?: string;
|
|
2583
|
-
/**
|
|
2584
|
-
* Error message if delivery failed
|
|
2585
|
-
*/
|
|
2586
|
-
errorMessage?: string;
|
|
2587
|
-
/**
|
|
2588
|
-
* Delivery attempt number (max 7 attempts)
|
|
2589
|
-
*/
|
|
2590
|
-
attemptNumber?: number;
|
|
2591
|
-
/**
|
|
2592
|
-
* Response time in milliseconds
|
|
2593
|
-
*/
|
|
2594
|
-
responseTime?: number;
|
|
2595
|
-
createdAt?: string;
|
|
2596
|
-
};
|
|
2597
|
-
type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.failed' | 'comment.received' | 'webhook.test';
|
|
2598
|
-
type status8 = 'success' | 'failed';
|
|
2599
2410
|
/**
|
|
2600
2411
|
* Webhook payload for account connected events
|
|
2601
2412
|
*/
|
|
@@ -2620,7 +2431,7 @@ type WebhookPayloadAccountConnected = {
|
|
|
2620
2431
|
};
|
|
2621
2432
|
timestamp: string;
|
|
2622
2433
|
};
|
|
2623
|
-
type
|
|
2434
|
+
type event = 'account.connected';
|
|
2624
2435
|
/**
|
|
2625
2436
|
* Webhook payload for account disconnected events
|
|
2626
2437
|
*/
|
|
@@ -2653,7 +2464,7 @@ type WebhookPayloadAccountDisconnected = {
|
|
|
2653
2464
|
};
|
|
2654
2465
|
timestamp: string;
|
|
2655
2466
|
};
|
|
2656
|
-
type
|
|
2467
|
+
type event2 = 'account.disconnected';
|
|
2657
2468
|
/**
|
|
2658
2469
|
* Whether the disconnection was intentional (user action) or unintentional (token expired/revoked)
|
|
2659
2470
|
*/
|
|
@@ -2724,7 +2535,7 @@ type WebhookPayloadComment = {
|
|
|
2724
2535
|
};
|
|
2725
2536
|
timestamp: string;
|
|
2726
2537
|
};
|
|
2727
|
-
type
|
|
2538
|
+
type event3 = 'comment.received';
|
|
2728
2539
|
type platform5 = 'instagram' | 'facebook' | 'twitter' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit';
|
|
2729
2540
|
/**
|
|
2730
2541
|
* Webhook payload for message received events
|
|
@@ -2841,7 +2652,7 @@ type WebhookPayloadMessage = {
|
|
|
2841
2652
|
} | null;
|
|
2842
2653
|
timestamp: string;
|
|
2843
2654
|
};
|
|
2844
|
-
type
|
|
2655
|
+
type event4 = 'message.received';
|
|
2845
2656
|
/**
|
|
2846
2657
|
* Webhook payload for `message.deleted` events. Fires when the sender
|
|
2847
2658
|
* deletes (unsends) a message. Supported platforms: Instagram (incoming
|
|
@@ -2863,7 +2674,7 @@ type WebhookPayloadMessageDeleted = {
|
|
|
2863
2674
|
account: InboxWebhookAccount;
|
|
2864
2675
|
timestamp: string;
|
|
2865
2676
|
};
|
|
2866
|
-
type
|
|
2677
|
+
type event5 = 'message.deleted';
|
|
2867
2678
|
/**
|
|
2868
2679
|
* Shared payload for `message.delivered`, `message.read`, and
|
|
2869
2680
|
* `message.failed` events. Fires when the platform reports a new
|
|
@@ -2896,7 +2707,7 @@ type WebhookPayloadMessageDeliveryStatus = {
|
|
|
2896
2707
|
account: InboxWebhookAccount;
|
|
2897
2708
|
timestamp: string;
|
|
2898
2709
|
};
|
|
2899
|
-
type
|
|
2710
|
+
type event6 = 'message.delivered' | 'message.read' | 'message.failed';
|
|
2900
2711
|
/**
|
|
2901
2712
|
* Webhook payload for `message.edited` events. Fires when the sender
|
|
2902
2713
|
* edits a previously-sent message. Supported platforms: Instagram,
|
|
@@ -2936,7 +2747,7 @@ type WebhookPayloadMessageEdited = {
|
|
|
2936
2747
|
account: InboxWebhookAccount;
|
|
2937
2748
|
timestamp: string;
|
|
2938
2749
|
};
|
|
2939
|
-
type
|
|
2750
|
+
type event7 = 'message.edited';
|
|
2940
2751
|
/**
|
|
2941
2752
|
* Webhook payload for message sent events (fired when a message is sent via the API)
|
|
2942
2753
|
*/
|
|
@@ -3010,7 +2821,7 @@ type WebhookPayloadMessageSent = {
|
|
|
3010
2821
|
};
|
|
3011
2822
|
timestamp: string;
|
|
3012
2823
|
};
|
|
3013
|
-
type
|
|
2824
|
+
type event8 = 'message.sent';
|
|
3014
2825
|
/**
|
|
3015
2826
|
* Webhook payload for post events
|
|
3016
2827
|
*/
|
|
@@ -3036,7 +2847,7 @@ type WebhookPayloadPost = {
|
|
|
3036
2847
|
};
|
|
3037
2848
|
timestamp: string;
|
|
3038
2849
|
};
|
|
3039
|
-
type
|
|
2850
|
+
type event9 = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled';
|
|
3040
2851
|
/**
|
|
3041
2852
|
* Webhook payload for test deliveries
|
|
3042
2853
|
*/
|
|
@@ -3052,7 +2863,7 @@ type WebhookPayloadTest = {
|
|
|
3052
2863
|
message: string;
|
|
3053
2864
|
timestamp: string;
|
|
3054
2865
|
};
|
|
3055
|
-
type
|
|
2866
|
+
type event10 = 'webhook.test';
|
|
3056
2867
|
type WhatsAppBodyComponent = {
|
|
3057
2868
|
type: 'body';
|
|
3058
2869
|
/**
|
|
@@ -3288,7 +3099,7 @@ type ValidatePostData = {
|
|
|
3288
3099
|
* Target platforms (same format as POST /v1/posts)
|
|
3289
3100
|
*/
|
|
3290
3101
|
platforms: Array<{
|
|
3291
|
-
platform: 'twitter' | 'instagram' | 'tiktok' | 'youtube' | 'facebook' | 'linkedin' | 'bluesky' | 'threads' | 'reddit' | 'pinterest' | 'telegram' | 'snapchat' | 'googlebusiness';
|
|
3102
|
+
platform: 'twitter' | 'instagram' | 'tiktok' | 'youtube' | 'facebook' | 'linkedin' | 'bluesky' | 'threads' | 'reddit' | 'pinterest' | 'telegram' | 'snapchat' | 'googlebusiness' | 'discord';
|
|
3292
3103
|
customContent?: string;
|
|
3293
3104
|
platformSpecificData?: {
|
|
3294
3105
|
[key: string]: unknown;
|
|
@@ -4625,32 +4436,12 @@ type DeleteAccountResponse = ({
|
|
|
4625
4436
|
type DeleteAccountError = ({
|
|
4626
4437
|
error?: string;
|
|
4627
4438
|
});
|
|
4628
|
-
type DisconnectAdsData = {
|
|
4629
|
-
body?: {
|
|
4630
|
-
/**
|
|
4631
|
-
* The ads platform (optional, used for logging only)
|
|
4632
|
-
*/
|
|
4633
|
-
adsPlatform?: 'metaads' | 'linkedinads' | 'pinterestads' | 'tiktokads' | 'xads';
|
|
4634
|
-
};
|
|
4635
|
-
path: {
|
|
4636
|
-
/**
|
|
4637
|
-
* The ads SocialAccount ID to disconnect
|
|
4638
|
-
*/
|
|
4639
|
-
accountId: string;
|
|
4640
|
-
};
|
|
4641
|
-
};
|
|
4642
|
-
type DisconnectAdsResponse = ({
|
|
4643
|
-
message?: string;
|
|
4644
|
-
});
|
|
4645
|
-
type DisconnectAdsError = (unknown | {
|
|
4646
|
-
error?: string;
|
|
4647
|
-
});
|
|
4648
4439
|
type GetAllAccountsHealthData = {
|
|
4649
4440
|
query?: {
|
|
4650
4441
|
/**
|
|
4651
4442
|
* Filter by platform
|
|
4652
4443
|
*/
|
|
4653
|
-
platform?: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
4444
|
+
platform?: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
|
|
4654
4445
|
/**
|
|
4655
4446
|
* Filter by profile ID
|
|
4656
4447
|
*/
|
|
@@ -4908,7 +4699,7 @@ type GetConnectUrlData = {
|
|
|
4908
4699
|
/**
|
|
4909
4700
|
* Social media platform to connect
|
|
4910
4701
|
*/
|
|
4911
|
-
platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'reddit' | 'pinterest' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
|
|
4702
|
+
platform: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'tiktok' | 'youtube' | 'threads' | 'reddit' | 'pinterest' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
|
|
4912
4703
|
};
|
|
4913
4704
|
query: {
|
|
4914
4705
|
/**
|
|
@@ -7172,130 +6963,6 @@ type ListLogsResponse = ({
|
|
|
7172
6963
|
type ListLogsError = ({
|
|
7173
6964
|
error?: string;
|
|
7174
6965
|
});
|
|
7175
|
-
type GetWebhookLogsData = {
|
|
7176
|
-
query?: {
|
|
7177
|
-
/**
|
|
7178
|
-
* Filter by event type
|
|
7179
|
-
*/
|
|
7180
|
-
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.failed' | 'comment.received' | 'webhook.test';
|
|
7181
|
-
/**
|
|
7182
|
-
* Maximum number of logs to return (max 100)
|
|
7183
|
-
*/
|
|
7184
|
-
limit?: number;
|
|
7185
|
-
/**
|
|
7186
|
-
* Filter by delivery status
|
|
7187
|
-
*/
|
|
7188
|
-
status?: 'success' | 'failed';
|
|
7189
|
-
/**
|
|
7190
|
-
* Filter by webhook ID
|
|
7191
|
-
*/
|
|
7192
|
-
webhookId?: string;
|
|
7193
|
-
};
|
|
7194
|
-
};
|
|
7195
|
-
type GetWebhookLogsResponse = ({
|
|
7196
|
-
logs?: Array<WebhookLog>;
|
|
7197
|
-
});
|
|
7198
|
-
type GetWebhookLogsError = ({
|
|
7199
|
-
error?: string;
|
|
7200
|
-
});
|
|
7201
|
-
type ListPostsLogsData = {
|
|
7202
|
-
query?: {
|
|
7203
|
-
/**
|
|
7204
|
-
* Filter by action type
|
|
7205
|
-
*/
|
|
7206
|
-
action?: 'publish' | 'retry' | 'media_upload' | 'rate_limit_pause' | 'token_refresh' | 'cancelled' | 'all';
|
|
7207
|
-
/**
|
|
7208
|
-
* Number of days to look back (max 7)
|
|
7209
|
-
*/
|
|
7210
|
-
days?: number;
|
|
7211
|
-
/**
|
|
7212
|
-
* Maximum number of logs to return (max 100)
|
|
7213
|
-
*/
|
|
7214
|
-
limit?: number;
|
|
7215
|
-
/**
|
|
7216
|
-
* Filter by platform
|
|
7217
|
-
*/
|
|
7218
|
-
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'all';
|
|
7219
|
-
/**
|
|
7220
|
-
* Search through log entries by text content.
|
|
7221
|
-
*/
|
|
7222
|
-
search?: string;
|
|
7223
|
-
/**
|
|
7224
|
-
* Number of logs to skip (for pagination)
|
|
7225
|
-
*/
|
|
7226
|
-
skip?: number;
|
|
7227
|
-
/**
|
|
7228
|
-
* Filter by log status
|
|
7229
|
-
*/
|
|
7230
|
-
status?: 'success' | 'failed' | 'pending' | 'skipped' | 'all';
|
|
7231
|
-
};
|
|
7232
|
-
};
|
|
7233
|
-
type ListPostsLogsResponse = ({
|
|
7234
|
-
logs?: Array<PostLog>;
|
|
7235
|
-
pagination?: {
|
|
7236
|
-
/**
|
|
7237
|
-
* Total number of logs matching the query
|
|
7238
|
-
*/
|
|
7239
|
-
total?: number;
|
|
7240
|
-
limit?: number;
|
|
7241
|
-
skip?: number;
|
|
7242
|
-
/**
|
|
7243
|
-
* Total number of pages
|
|
7244
|
-
*/
|
|
7245
|
-
pages?: number;
|
|
7246
|
-
hasMore?: boolean;
|
|
7247
|
-
};
|
|
7248
|
-
});
|
|
7249
|
-
type ListPostsLogsError = ({
|
|
7250
|
-
error?: string;
|
|
7251
|
-
});
|
|
7252
|
-
type ListConnectionLogsData = {
|
|
7253
|
-
query?: {
|
|
7254
|
-
/**
|
|
7255
|
-
* Number of days to look back (max 7)
|
|
7256
|
-
*/
|
|
7257
|
-
days?: number;
|
|
7258
|
-
/**
|
|
7259
|
-
* Filter by event type
|
|
7260
|
-
*/
|
|
7261
|
-
eventType?: 'connect_success' | 'connect_failed' | 'disconnect' | 'reconnect_success' | 'reconnect_failed' | 'all';
|
|
7262
|
-
/**
|
|
7263
|
-
* Maximum number of logs to return (max 100)
|
|
7264
|
-
*/
|
|
7265
|
-
limit?: number;
|
|
7266
|
-
/**
|
|
7267
|
-
* Filter by platform
|
|
7268
|
-
*/
|
|
7269
|
-
platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'all';
|
|
7270
|
-
/**
|
|
7271
|
-
* Number of logs to skip (for pagination)
|
|
7272
|
-
*/
|
|
7273
|
-
skip?: number;
|
|
7274
|
-
/**
|
|
7275
|
-
* Filter by status (shorthand for event types)
|
|
7276
|
-
*/
|
|
7277
|
-
status?: 'success' | 'failed' | 'all';
|
|
7278
|
-
};
|
|
7279
|
-
};
|
|
7280
|
-
type ListConnectionLogsResponse = ({
|
|
7281
|
-
logs?: Array<ConnectionLog>;
|
|
7282
|
-
pagination?: {
|
|
7283
|
-
/**
|
|
7284
|
-
* Total number of logs matching the query
|
|
7285
|
-
*/
|
|
7286
|
-
total?: number;
|
|
7287
|
-
limit?: number;
|
|
7288
|
-
skip?: number;
|
|
7289
|
-
/**
|
|
7290
|
-
* Total number of pages
|
|
7291
|
-
*/
|
|
7292
|
-
pages?: number;
|
|
7293
|
-
hasMore?: boolean;
|
|
7294
|
-
};
|
|
7295
|
-
});
|
|
7296
|
-
type ListConnectionLogsError = ({
|
|
7297
|
-
error?: string;
|
|
7298
|
-
});
|
|
7299
6966
|
type GetPostLogsData = {
|
|
7300
6967
|
path: {
|
|
7301
6968
|
/**
|
|
@@ -8765,1057 +8432,179 @@ type DeleteInboxReviewReplyResponse = ({
|
|
|
8765
8432
|
type DeleteInboxReviewReplyError = ({
|
|
8766
8433
|
error?: string;
|
|
8767
8434
|
} | unknown);
|
|
8768
|
-
type
|
|
8769
|
-
|
|
8435
|
+
type GetWhatsAppTemplatesData = {
|
|
8436
|
+
query: {
|
|
8770
8437
|
/**
|
|
8771
8438
|
* WhatsApp social account ID
|
|
8772
8439
|
*/
|
|
8773
8440
|
accountId: string;
|
|
8774
|
-
/**
|
|
8775
|
-
* List of recipients (max 100)
|
|
8776
|
-
*/
|
|
8777
|
-
recipients: Array<{
|
|
8778
|
-
/**
|
|
8779
|
-
* Recipient phone number in E.164 format
|
|
8780
|
-
*/
|
|
8781
|
-
phone: string;
|
|
8782
|
-
/**
|
|
8783
|
-
* Per-recipient template variables keyed by index (e.g., "1", "2")
|
|
8784
|
-
*/
|
|
8785
|
-
variables?: {
|
|
8786
|
-
[key: string]: (string);
|
|
8787
|
-
};
|
|
8788
|
-
}>;
|
|
8789
|
-
template: {
|
|
8790
|
-
/**
|
|
8791
|
-
* Template name
|
|
8792
|
-
*/
|
|
8793
|
-
name: string;
|
|
8794
|
-
/**
|
|
8795
|
-
* Template language code
|
|
8796
|
-
*/
|
|
8797
|
-
language: string;
|
|
8798
|
-
/**
|
|
8799
|
-
* Base template components
|
|
8800
|
-
*/
|
|
8801
|
-
components?: Array<{
|
|
8802
|
-
[key: string]: unknown;
|
|
8803
|
-
}>;
|
|
8804
|
-
};
|
|
8805
8441
|
};
|
|
8806
8442
|
};
|
|
8807
|
-
type
|
|
8443
|
+
type GetWhatsAppTemplatesResponse = ({
|
|
8808
8444
|
success?: boolean;
|
|
8809
|
-
|
|
8810
|
-
|
|
8811
|
-
|
|
8812
|
-
|
|
8813
|
-
|
|
8814
|
-
|
|
8815
|
-
|
|
8816
|
-
|
|
8817
|
-
|
|
8818
|
-
|
|
8445
|
+
templates?: Array<{
|
|
8446
|
+
/**
|
|
8447
|
+
* WhatsApp template ID
|
|
8448
|
+
*/
|
|
8449
|
+
id?: string;
|
|
8450
|
+
name?: string;
|
|
8451
|
+
status?: 'APPROVED' | 'PENDING' | 'REJECTED';
|
|
8452
|
+
category?: 'AUTHENTICATION' | 'MARKETING' | 'UTILITY';
|
|
8453
|
+
language?: string;
|
|
8454
|
+
components?: Array<{
|
|
8455
|
+
[key: string]: unknown;
|
|
8456
|
+
}>;
|
|
8819
8457
|
}>;
|
|
8820
8458
|
});
|
|
8821
|
-
type
|
|
8459
|
+
type GetWhatsAppTemplatesError = (unknown | {
|
|
8822
8460
|
error?: string;
|
|
8823
8461
|
});
|
|
8824
|
-
type
|
|
8825
|
-
|
|
8462
|
+
type CreateWhatsAppTemplateData = {
|
|
8463
|
+
body: {
|
|
8826
8464
|
/**
|
|
8827
8465
|
* WhatsApp social account ID
|
|
8828
8466
|
*/
|
|
8829
8467
|
accountId: string;
|
|
8830
8468
|
/**
|
|
8831
|
-
*
|
|
8469
|
+
* Template name (lowercase, letters/numbers/underscores, must start with a letter)
|
|
8832
8470
|
*/
|
|
8833
|
-
|
|
8471
|
+
name: string;
|
|
8834
8472
|
/**
|
|
8835
|
-
*
|
|
8473
|
+
* Template category
|
|
8836
8474
|
*/
|
|
8837
|
-
|
|
8475
|
+
category: 'AUTHENTICATION' | 'MARKETING' | 'UTILITY';
|
|
8838
8476
|
/**
|
|
8839
|
-
*
|
|
8477
|
+
* Template language code (e.g., en_US)
|
|
8840
8478
|
*/
|
|
8841
|
-
|
|
8479
|
+
language: string;
|
|
8842
8480
|
/**
|
|
8843
|
-
*
|
|
8481
|
+
* Template components (header, body, footer, buttons). Required for custom templates, omit when using library_template_name.
|
|
8844
8482
|
*/
|
|
8845
|
-
|
|
8483
|
+
components?: Array<WhatsAppTemplateComponent>;
|
|
8846
8484
|
/**
|
|
8847
|
-
*
|
|
8485
|
+
* Name of a pre-built template from Meta's template library (e.g., "appointment_reminder",
|
|
8486
|
+
* "auto_pay_reminder_1", "address_update"). When provided, the template is pre-approved
|
|
8487
|
+
* by Meta with no review wait. Omit `components` when using this field.
|
|
8488
|
+
*
|
|
8848
8489
|
*/
|
|
8849
|
-
|
|
8490
|
+
library_template_name?: string;
|
|
8850
8491
|
/**
|
|
8851
|
-
*
|
|
8852
|
-
|
|
8853
|
-
|
|
8854
|
-
|
|
8855
|
-
};
|
|
8856
|
-
type GetWhatsAppContactsResponse = ({
|
|
8857
|
-
success?: boolean;
|
|
8858
|
-
contacts?: Array<{
|
|
8859
|
-
id?: string;
|
|
8860
|
-
phone?: string;
|
|
8861
|
-
waId?: string;
|
|
8862
|
-
name?: string;
|
|
8863
|
-
email?: string;
|
|
8864
|
-
company?: string;
|
|
8865
|
-
tags?: Array<(string)>;
|
|
8866
|
-
groups?: Array<(string)>;
|
|
8867
|
-
isOptedIn?: boolean;
|
|
8868
|
-
lastMessageSentAt?: string;
|
|
8869
|
-
lastMessageReceivedAt?: string;
|
|
8870
|
-
messagesSentCount?: number;
|
|
8871
|
-
messagesReceivedCount?: number;
|
|
8872
|
-
customFields?: {
|
|
8873
|
-
[key: string]: unknown;
|
|
8874
|
-
};
|
|
8875
|
-
notes?: string;
|
|
8876
|
-
createdAt?: string;
|
|
8877
|
-
}>;
|
|
8878
|
-
filters?: {
|
|
8879
|
-
tags?: Array<(string)>;
|
|
8880
|
-
groups?: Array<(string)>;
|
|
8881
|
-
};
|
|
8882
|
-
pagination?: {
|
|
8883
|
-
total?: number;
|
|
8884
|
-
limit?: number;
|
|
8885
|
-
skip?: number;
|
|
8886
|
-
hasMore?: boolean;
|
|
8887
|
-
};
|
|
8888
|
-
});
|
|
8889
|
-
type GetWhatsAppContactsError = (unknown | {
|
|
8890
|
-
error?: string;
|
|
8891
|
-
});
|
|
8892
|
-
type CreateWhatsAppContactData = {
|
|
8893
|
-
body: {
|
|
8894
|
-
/**
|
|
8895
|
-
* WhatsApp social account ID
|
|
8896
|
-
*/
|
|
8897
|
-
accountId: string;
|
|
8898
|
-
/**
|
|
8899
|
-
* Phone number in E.164 format
|
|
8900
|
-
*/
|
|
8901
|
-
phone: string;
|
|
8902
|
-
/**
|
|
8903
|
-
* Contact name
|
|
8904
|
-
*/
|
|
8905
|
-
name: string;
|
|
8906
|
-
/**
|
|
8907
|
-
* Contact email
|
|
8908
|
-
*/
|
|
8909
|
-
email?: string;
|
|
8910
|
-
/**
|
|
8911
|
-
* Company name
|
|
8912
|
-
*/
|
|
8913
|
-
company?: string;
|
|
8914
|
-
/**
|
|
8915
|
-
* Tags for categorization
|
|
8916
|
-
*/
|
|
8917
|
-
tags?: Array<(string)>;
|
|
8918
|
-
/**
|
|
8919
|
-
* Groups the contact belongs to
|
|
8920
|
-
*/
|
|
8921
|
-
groups?: Array<(string)>;
|
|
8922
|
-
/**
|
|
8923
|
-
* Whether the contact has opted in to receive messages
|
|
8924
|
-
*/
|
|
8925
|
-
isOptedIn?: boolean;
|
|
8926
|
-
/**
|
|
8927
|
-
* Custom key-value fields
|
|
8928
|
-
*/
|
|
8929
|
-
customFields?: {
|
|
8930
|
-
[key: string]: (string);
|
|
8931
|
-
};
|
|
8932
|
-
/**
|
|
8933
|
-
* Notes about the contact
|
|
8934
|
-
*/
|
|
8935
|
-
notes?: string;
|
|
8936
|
-
};
|
|
8937
|
-
};
|
|
8938
|
-
type CreateWhatsAppContactResponse = ({
|
|
8939
|
-
success?: boolean;
|
|
8940
|
-
contact?: {
|
|
8941
|
-
id?: string;
|
|
8942
|
-
phone?: string;
|
|
8943
|
-
name?: string;
|
|
8944
|
-
email?: string;
|
|
8945
|
-
company?: string;
|
|
8946
|
-
tags?: Array<(string)>;
|
|
8947
|
-
groups?: Array<(string)>;
|
|
8948
|
-
isOptedIn?: boolean;
|
|
8949
|
-
createdAt?: string;
|
|
8950
|
-
};
|
|
8951
|
-
});
|
|
8952
|
-
type CreateWhatsAppContactError = (unknown | {
|
|
8953
|
-
error?: string;
|
|
8954
|
-
});
|
|
8955
|
-
type GetWhatsAppContactData = {
|
|
8956
|
-
path: {
|
|
8957
|
-
/**
|
|
8958
|
-
* Contact ID
|
|
8959
|
-
*/
|
|
8960
|
-
contactId: string;
|
|
8961
|
-
};
|
|
8962
|
-
};
|
|
8963
|
-
type GetWhatsAppContactResponse = ({
|
|
8964
|
-
success?: boolean;
|
|
8965
|
-
contact?: {
|
|
8966
|
-
id?: string;
|
|
8967
|
-
phone?: string;
|
|
8968
|
-
waId?: string;
|
|
8969
|
-
name?: string;
|
|
8970
|
-
email?: string;
|
|
8971
|
-
company?: string;
|
|
8972
|
-
tags?: Array<(string)>;
|
|
8973
|
-
groups?: Array<(string)>;
|
|
8974
|
-
isOptedIn?: boolean;
|
|
8975
|
-
optInDate?: string;
|
|
8976
|
-
optOutDate?: string;
|
|
8977
|
-
isBlocked?: boolean;
|
|
8978
|
-
lastMessageSentAt?: string;
|
|
8979
|
-
lastMessageReceivedAt?: string;
|
|
8980
|
-
messagesSentCount?: number;
|
|
8981
|
-
messagesReceivedCount?: number;
|
|
8982
|
-
customFields?: {
|
|
8983
|
-
[key: string]: unknown;
|
|
8984
|
-
};
|
|
8985
|
-
notes?: string;
|
|
8986
|
-
createdAt?: string;
|
|
8987
|
-
updatedAt?: string;
|
|
8988
|
-
};
|
|
8989
|
-
});
|
|
8990
|
-
type GetWhatsAppContactError = ({
|
|
8991
|
-
error?: string;
|
|
8992
|
-
});
|
|
8993
|
-
type UpdateWhatsAppContactData = {
|
|
8994
|
-
body: {
|
|
8995
|
-
/**
|
|
8996
|
-
* Contact name
|
|
8997
|
-
*/
|
|
8998
|
-
name?: string;
|
|
8999
|
-
/**
|
|
9000
|
-
* Contact email
|
|
9001
|
-
*/
|
|
9002
|
-
email?: string;
|
|
9003
|
-
/**
|
|
9004
|
-
* Company name
|
|
9005
|
-
*/
|
|
9006
|
-
company?: string;
|
|
9007
|
-
/**
|
|
9008
|
-
* Tags (replaces existing)
|
|
9009
|
-
*/
|
|
9010
|
-
tags?: Array<(string)>;
|
|
9011
|
-
/**
|
|
9012
|
-
* Groups (replaces existing)
|
|
9013
|
-
*/
|
|
9014
|
-
groups?: Array<(string)>;
|
|
9015
|
-
/**
|
|
9016
|
-
* Opt-in status (changes are timestamped)
|
|
9017
|
-
*/
|
|
9018
|
-
isOptedIn?: boolean;
|
|
9019
|
-
/**
|
|
9020
|
-
* Block status
|
|
9021
|
-
*/
|
|
9022
|
-
isBlocked?: boolean;
|
|
9023
|
-
/**
|
|
9024
|
-
* Custom fields to merge (set value to null to remove a field)
|
|
9025
|
-
*/
|
|
9026
|
-
customFields?: {
|
|
9027
|
-
[key: string]: ((string) | null);
|
|
9028
|
-
};
|
|
9029
|
-
/**
|
|
9030
|
-
* Notes about the contact
|
|
9031
|
-
*/
|
|
9032
|
-
notes?: string;
|
|
9033
|
-
};
|
|
9034
|
-
path: {
|
|
9035
|
-
/**
|
|
9036
|
-
* Contact ID
|
|
9037
|
-
*/
|
|
9038
|
-
contactId: string;
|
|
9039
|
-
};
|
|
9040
|
-
};
|
|
9041
|
-
type UpdateWhatsAppContactResponse = ({
|
|
9042
|
-
success?: boolean;
|
|
9043
|
-
contact?: {
|
|
9044
|
-
id?: string;
|
|
9045
|
-
phone?: string;
|
|
9046
|
-
name?: string;
|
|
9047
|
-
email?: string;
|
|
9048
|
-
company?: string;
|
|
9049
|
-
tags?: Array<(string)>;
|
|
9050
|
-
groups?: Array<(string)>;
|
|
9051
|
-
isOptedIn?: boolean;
|
|
9052
|
-
isBlocked?: boolean;
|
|
9053
|
-
customFields?: {
|
|
9054
|
-
[key: string]: unknown;
|
|
9055
|
-
};
|
|
9056
|
-
notes?: string;
|
|
9057
|
-
updatedAt?: string;
|
|
9058
|
-
};
|
|
9059
|
-
});
|
|
9060
|
-
type UpdateWhatsAppContactError = ({
|
|
9061
|
-
error?: string;
|
|
9062
|
-
});
|
|
9063
|
-
type DeleteWhatsAppContactData = {
|
|
9064
|
-
path: {
|
|
9065
|
-
/**
|
|
9066
|
-
* Contact ID
|
|
9067
|
-
*/
|
|
9068
|
-
contactId: string;
|
|
9069
|
-
};
|
|
9070
|
-
};
|
|
9071
|
-
type DeleteWhatsAppContactResponse = ({
|
|
9072
|
-
success?: boolean;
|
|
9073
|
-
message?: string;
|
|
9074
|
-
});
|
|
9075
|
-
type DeleteWhatsAppContactError = ({
|
|
9076
|
-
error?: string;
|
|
9077
|
-
});
|
|
9078
|
-
type ImportWhatsAppContactsData = {
|
|
9079
|
-
body: {
|
|
9080
|
-
/**
|
|
9081
|
-
* WhatsApp social account ID
|
|
9082
|
-
*/
|
|
9083
|
-
accountId: string;
|
|
9084
|
-
/**
|
|
9085
|
-
* Contacts to import (max 1000)
|
|
9086
|
-
*/
|
|
9087
|
-
contacts: Array<{
|
|
9088
|
-
/**
|
|
9089
|
-
* Phone number in E.164 format
|
|
9090
|
-
*/
|
|
9091
|
-
phone: string;
|
|
9092
|
-
/**
|
|
9093
|
-
* Contact name
|
|
9094
|
-
*/
|
|
9095
|
-
name: string;
|
|
9096
|
-
email?: string;
|
|
9097
|
-
company?: string;
|
|
9098
|
-
tags?: Array<(string)>;
|
|
9099
|
-
groups?: Array<(string)>;
|
|
9100
|
-
customFields?: {
|
|
9101
|
-
[key: string]: (string);
|
|
9102
|
-
};
|
|
9103
|
-
notes?: string;
|
|
9104
|
-
}>;
|
|
9105
|
-
/**
|
|
9106
|
-
* Tags applied to all imported contacts
|
|
9107
|
-
*/
|
|
9108
|
-
defaultTags?: Array<(string)>;
|
|
9109
|
-
/**
|
|
9110
|
-
* Groups applied to all imported contacts
|
|
9111
|
-
*/
|
|
9112
|
-
defaultGroups?: Array<(string)>;
|
|
9113
|
-
/**
|
|
9114
|
-
* Skip contacts with existing phone numbers
|
|
9115
|
-
*/
|
|
9116
|
-
skipDuplicates?: boolean;
|
|
9117
|
-
};
|
|
9118
|
-
};
|
|
9119
|
-
type ImportWhatsAppContactsResponse = ({
|
|
9120
|
-
success?: boolean;
|
|
9121
|
-
summary?: {
|
|
9122
|
-
total?: number;
|
|
9123
|
-
created?: number;
|
|
9124
|
-
skipped?: number;
|
|
9125
|
-
failed?: number;
|
|
9126
|
-
};
|
|
9127
|
-
results?: Array<{
|
|
9128
|
-
phone?: string;
|
|
9129
|
-
name?: string;
|
|
9130
|
-
success?: boolean;
|
|
9131
|
-
contactId?: string;
|
|
9132
|
-
error?: string;
|
|
9133
|
-
}>;
|
|
9134
|
-
});
|
|
9135
|
-
type ImportWhatsAppContactsError = (unknown | {
|
|
9136
|
-
error?: string;
|
|
9137
|
-
});
|
|
9138
|
-
type BulkUpdateWhatsAppContactsData = {
|
|
9139
|
-
body: {
|
|
9140
|
-
/**
|
|
9141
|
-
* Bulk action to perform
|
|
9142
|
-
*/
|
|
9143
|
-
action: 'addTags' | 'removeTags' | 'addGroups' | 'removeGroups' | 'optIn' | 'optOut' | 'block' | 'unblock';
|
|
9144
|
-
/**
|
|
9145
|
-
* Contact IDs to update (max 500)
|
|
9146
|
-
*/
|
|
9147
|
-
contactIds: Array<(string)>;
|
|
9148
|
-
/**
|
|
9149
|
-
* Tags to add or remove (required for addTags/removeTags)
|
|
9150
|
-
*/
|
|
9151
|
-
tags?: Array<(string)>;
|
|
9152
|
-
/**
|
|
9153
|
-
* Groups to add or remove (required for addGroups/removeGroups)
|
|
9154
|
-
*/
|
|
9155
|
-
groups?: Array<(string)>;
|
|
9156
|
-
};
|
|
9157
|
-
};
|
|
9158
|
-
type BulkUpdateWhatsAppContactsResponse = ({
|
|
9159
|
-
success?: boolean;
|
|
9160
|
-
action?: string;
|
|
9161
|
-
/**
|
|
9162
|
-
* Number of contacts modified
|
|
9163
|
-
*/
|
|
9164
|
-
modified?: number;
|
|
9165
|
-
/**
|
|
9166
|
-
* Number of contacts matched
|
|
9167
|
-
*/
|
|
9168
|
-
matched?: number;
|
|
9169
|
-
});
|
|
9170
|
-
type BulkUpdateWhatsAppContactsError = (unknown | {
|
|
9171
|
-
error?: string;
|
|
9172
|
-
});
|
|
9173
|
-
type BulkDeleteWhatsAppContactsData = {
|
|
9174
|
-
body: {
|
|
9175
|
-
/**
|
|
9176
|
-
* Contact IDs to delete (max 500)
|
|
9177
|
-
*/
|
|
9178
|
-
contactIds: Array<(string)>;
|
|
9179
|
-
};
|
|
9180
|
-
};
|
|
9181
|
-
type BulkDeleteWhatsAppContactsResponse = ({
|
|
9182
|
-
success?: boolean;
|
|
9183
|
-
/**
|
|
9184
|
-
* Number of contacts deleted
|
|
9185
|
-
*/
|
|
9186
|
-
deleted?: number;
|
|
9187
|
-
});
|
|
9188
|
-
type BulkDeleteWhatsAppContactsError = (unknown | {
|
|
9189
|
-
error?: string;
|
|
9190
|
-
});
|
|
9191
|
-
type GetWhatsAppGroupsData = {
|
|
9192
|
-
query: {
|
|
9193
|
-
/**
|
|
9194
|
-
* WhatsApp social account ID
|
|
9195
|
-
*/
|
|
9196
|
-
accountId: string;
|
|
9197
|
-
};
|
|
9198
|
-
};
|
|
9199
|
-
type GetWhatsAppGroupsResponse = ({
|
|
9200
|
-
success?: boolean;
|
|
9201
|
-
groups?: Array<{
|
|
9202
|
-
name?: string;
|
|
9203
|
-
/**
|
|
9204
|
-
* Total contacts in this group
|
|
9205
|
-
*/
|
|
9206
|
-
totalCount?: number;
|
|
9207
|
-
/**
|
|
9208
|
-
* Opted-in contacts in this group
|
|
9209
|
-
*/
|
|
9210
|
-
optedInCount?: number;
|
|
9211
|
-
}>;
|
|
9212
|
-
summary?: {
|
|
9213
|
-
totalContacts?: number;
|
|
9214
|
-
optedInContacts?: number;
|
|
9215
|
-
groupCount?: number;
|
|
9216
|
-
};
|
|
9217
|
-
});
|
|
9218
|
-
type GetWhatsAppGroupsError = (unknown | {
|
|
9219
|
-
error?: string;
|
|
9220
|
-
});
|
|
9221
|
-
type RenameWhatsAppGroupData = {
|
|
9222
|
-
body: {
|
|
9223
|
-
/**
|
|
9224
|
-
* WhatsApp social account ID
|
|
9225
|
-
*/
|
|
9226
|
-
accountId: string;
|
|
9227
|
-
/**
|
|
9228
|
-
* Current group name
|
|
9229
|
-
*/
|
|
9230
|
-
oldName: string;
|
|
9231
|
-
/**
|
|
9232
|
-
* New group name
|
|
9233
|
-
*/
|
|
9234
|
-
newName: string;
|
|
9235
|
-
};
|
|
9236
|
-
};
|
|
9237
|
-
type RenameWhatsAppGroupResponse = ({
|
|
9238
|
-
success?: boolean;
|
|
9239
|
-
message?: string;
|
|
9240
|
-
/**
|
|
9241
|
-
* Number of contacts updated
|
|
9242
|
-
*/
|
|
9243
|
-
modified?: number;
|
|
9244
|
-
});
|
|
9245
|
-
type RenameWhatsAppGroupError = (unknown | {
|
|
9246
|
-
error?: string;
|
|
9247
|
-
});
|
|
9248
|
-
type DeleteWhatsAppGroupData = {
|
|
9249
|
-
body: {
|
|
9250
|
-
/**
|
|
9251
|
-
* WhatsApp social account ID
|
|
9252
|
-
*/
|
|
9253
|
-
accountId: string;
|
|
9254
|
-
/**
|
|
9255
|
-
* Group name to delete
|
|
9256
|
-
*/
|
|
9257
|
-
groupName: string;
|
|
9258
|
-
};
|
|
9259
|
-
};
|
|
9260
|
-
type DeleteWhatsAppGroupResponse = ({
|
|
9261
|
-
success?: boolean;
|
|
9262
|
-
message?: string;
|
|
9263
|
-
/**
|
|
9264
|
-
* Number of contacts updated
|
|
9265
|
-
*/
|
|
9266
|
-
modified?: number;
|
|
9267
|
-
});
|
|
9268
|
-
type DeleteWhatsAppGroupError = (unknown | {
|
|
9269
|
-
error?: string;
|
|
9270
|
-
});
|
|
9271
|
-
type GetWhatsAppTemplatesData = {
|
|
9272
|
-
query: {
|
|
9273
|
-
/**
|
|
9274
|
-
* WhatsApp social account ID
|
|
9275
|
-
*/
|
|
9276
|
-
accountId: string;
|
|
9277
|
-
};
|
|
9278
|
-
};
|
|
9279
|
-
type GetWhatsAppTemplatesResponse = ({
|
|
9280
|
-
success?: boolean;
|
|
9281
|
-
templates?: Array<{
|
|
9282
|
-
/**
|
|
9283
|
-
* WhatsApp template ID
|
|
9284
|
-
*/
|
|
9285
|
-
id?: string;
|
|
9286
|
-
name?: string;
|
|
9287
|
-
status?: 'APPROVED' | 'PENDING' | 'REJECTED';
|
|
9288
|
-
category?: 'AUTHENTICATION' | 'MARKETING' | 'UTILITY';
|
|
9289
|
-
language?: string;
|
|
9290
|
-
components?: Array<{
|
|
9291
|
-
[key: string]: unknown;
|
|
9292
|
-
}>;
|
|
9293
|
-
}>;
|
|
9294
|
-
});
|
|
9295
|
-
type GetWhatsAppTemplatesError = (unknown | {
|
|
9296
|
-
error?: string;
|
|
9297
|
-
});
|
|
9298
|
-
type CreateWhatsAppTemplateData = {
|
|
9299
|
-
body: {
|
|
9300
|
-
/**
|
|
9301
|
-
* WhatsApp social account ID
|
|
9302
|
-
*/
|
|
9303
|
-
accountId: string;
|
|
9304
|
-
/**
|
|
9305
|
-
* Template name (lowercase, letters/numbers/underscores, must start with a letter)
|
|
9306
|
-
*/
|
|
9307
|
-
name: string;
|
|
9308
|
-
/**
|
|
9309
|
-
* Template category
|
|
9310
|
-
*/
|
|
9311
|
-
category: 'AUTHENTICATION' | 'MARKETING' | 'UTILITY';
|
|
9312
|
-
/**
|
|
9313
|
-
* Template language code (e.g., en_US)
|
|
9314
|
-
*/
|
|
9315
|
-
language: string;
|
|
9316
|
-
/**
|
|
9317
|
-
* Template components (header, body, footer, buttons). Required for custom templates, omit when using library_template_name.
|
|
9318
|
-
*/
|
|
9319
|
-
components?: Array<WhatsAppTemplateComponent>;
|
|
9320
|
-
/**
|
|
9321
|
-
* Name of a pre-built template from Meta's template library (e.g., "appointment_reminder",
|
|
9322
|
-
* "auto_pay_reminder_1", "address_update"). When provided, the template is pre-approved
|
|
9323
|
-
* by Meta with no review wait. Omit `components` when using this field.
|
|
9324
|
-
*
|
|
9325
|
-
*/
|
|
9326
|
-
library_template_name?: string;
|
|
9327
|
-
/**
|
|
9328
|
-
* Optional body customizations for library templates. Available options depend on the
|
|
9329
|
-
* template (e.g., add_contact_number, add_learn_more_link, add_security_recommendation,
|
|
9330
|
-
* add_track_package_link, code_expiration_minutes).
|
|
9331
|
-
*
|
|
9332
|
-
*/
|
|
9333
|
-
library_template_body_inputs?: {
|
|
9334
|
-
[key: string]: unknown;
|
|
9335
|
-
};
|
|
9336
|
-
/**
|
|
9337
|
-
* Optional button customizations for library templates. Each item specifies button type
|
|
9338
|
-
* and configuration (e.g., URL, phone number, quick reply).
|
|
9339
|
-
*
|
|
9340
|
-
*/
|
|
9341
|
-
library_template_button_inputs?: Array<{
|
|
9342
|
-
type?: 'quick_reply' | 'url' | 'phone_number';
|
|
9343
|
-
url?: {
|
|
9344
|
-
base_url?: string;
|
|
9345
|
-
};
|
|
9346
|
-
phone_number?: string;
|
|
9347
|
-
}>;
|
|
9348
|
-
};
|
|
9349
|
-
};
|
|
9350
|
-
type CreateWhatsAppTemplateResponse = ({
|
|
9351
|
-
success?: boolean;
|
|
9352
|
-
template?: {
|
|
9353
|
-
id?: string;
|
|
9354
|
-
name?: string;
|
|
9355
|
-
/**
|
|
9356
|
-
* APPROVED for library templates, PENDING for custom
|
|
9357
|
-
*/
|
|
9358
|
-
status?: string;
|
|
9359
|
-
category?: string;
|
|
9360
|
-
language?: string;
|
|
9361
|
-
};
|
|
9362
|
-
});
|
|
9363
|
-
type CreateWhatsAppTemplateError = (unknown | {
|
|
9364
|
-
error?: string;
|
|
9365
|
-
});
|
|
9366
|
-
type GetWhatsAppTemplateData = {
|
|
9367
|
-
path: {
|
|
9368
|
-
/**
|
|
9369
|
-
* Template name
|
|
9370
|
-
*/
|
|
9371
|
-
templateName: string;
|
|
9372
|
-
};
|
|
9373
|
-
query: {
|
|
9374
|
-
/**
|
|
9375
|
-
* WhatsApp social account ID
|
|
9376
|
-
*/
|
|
9377
|
-
accountId: string;
|
|
9378
|
-
};
|
|
9379
|
-
};
|
|
9380
|
-
type GetWhatsAppTemplateResponse = ({
|
|
9381
|
-
success?: boolean;
|
|
9382
|
-
template?: {
|
|
9383
|
-
id?: string;
|
|
9384
|
-
name?: string;
|
|
9385
|
-
status?: string;
|
|
9386
|
-
category?: string;
|
|
9387
|
-
language?: string;
|
|
9388
|
-
components?: Array<{
|
|
9389
|
-
[key: string]: unknown;
|
|
9390
|
-
}>;
|
|
9391
|
-
};
|
|
9392
|
-
});
|
|
9393
|
-
type GetWhatsAppTemplateError = (unknown | {
|
|
9394
|
-
error?: string;
|
|
9395
|
-
});
|
|
9396
|
-
type UpdateWhatsAppTemplateData = {
|
|
9397
|
-
body: {
|
|
9398
|
-
/**
|
|
9399
|
-
* WhatsApp social account ID
|
|
9400
|
-
*/
|
|
9401
|
-
accountId: string;
|
|
9402
|
-
/**
|
|
9403
|
-
* Updated template components
|
|
9404
|
-
*/
|
|
9405
|
-
components: Array<WhatsAppTemplateComponent>;
|
|
9406
|
-
};
|
|
9407
|
-
path: {
|
|
9408
|
-
/**
|
|
9409
|
-
* Template name
|
|
9410
|
-
*/
|
|
9411
|
-
templateName: string;
|
|
9412
|
-
};
|
|
9413
|
-
};
|
|
9414
|
-
type UpdateWhatsAppTemplateResponse = ({
|
|
9415
|
-
success?: boolean;
|
|
9416
|
-
template?: {
|
|
9417
|
-
id?: string;
|
|
9418
|
-
name?: string;
|
|
9419
|
-
status?: string;
|
|
9420
|
-
};
|
|
9421
|
-
});
|
|
9422
|
-
type UpdateWhatsAppTemplateError = (unknown | {
|
|
9423
|
-
error?: string;
|
|
9424
|
-
});
|
|
9425
|
-
type DeleteWhatsAppTemplateData = {
|
|
9426
|
-
path: {
|
|
9427
|
-
/**
|
|
9428
|
-
* Template name
|
|
9429
|
-
*/
|
|
9430
|
-
templateName: string;
|
|
9431
|
-
};
|
|
9432
|
-
query: {
|
|
9433
|
-
/**
|
|
9434
|
-
* WhatsApp social account ID
|
|
9435
|
-
*/
|
|
9436
|
-
accountId: string;
|
|
9437
|
-
};
|
|
9438
|
-
};
|
|
9439
|
-
type DeleteWhatsAppTemplateResponse = ({
|
|
9440
|
-
success?: boolean;
|
|
9441
|
-
message?: string;
|
|
9442
|
-
});
|
|
9443
|
-
type DeleteWhatsAppTemplateError = (unknown | {
|
|
9444
|
-
error?: string;
|
|
9445
|
-
});
|
|
9446
|
-
type GetWhatsAppBroadcastsData = {
|
|
9447
|
-
query: {
|
|
9448
|
-
/**
|
|
9449
|
-
* WhatsApp social account ID
|
|
9450
|
-
*/
|
|
9451
|
-
accountId: string;
|
|
9452
|
-
/**
|
|
9453
|
-
* Maximum results (default 50)
|
|
9454
|
-
*/
|
|
9455
|
-
limit?: number;
|
|
9456
|
-
/**
|
|
9457
|
-
* Offset for pagination
|
|
9458
|
-
*/
|
|
9459
|
-
skip?: number;
|
|
9460
|
-
/**
|
|
9461
|
-
* Filter by broadcast status
|
|
9462
|
-
*/
|
|
9463
|
-
status?: 'draft' | 'scheduled' | 'sending' | 'completed' | 'failed' | 'cancelled';
|
|
9464
|
-
};
|
|
9465
|
-
};
|
|
9466
|
-
type GetWhatsAppBroadcastsResponse = ({
|
|
9467
|
-
success?: boolean;
|
|
9468
|
-
broadcasts?: Array<{
|
|
9469
|
-
id?: string;
|
|
9470
|
-
name?: string;
|
|
9471
|
-
description?: string;
|
|
9472
|
-
template?: {
|
|
9473
|
-
name?: string;
|
|
9474
|
-
language?: string;
|
|
9475
|
-
};
|
|
9476
|
-
status?: 'draft' | 'scheduled' | 'sending' | 'completed' | 'failed' | 'cancelled';
|
|
9477
|
-
/**
|
|
9478
|
-
* Template name or message text snippet
|
|
9479
|
-
*/
|
|
9480
|
-
messagePreview?: string;
|
|
9481
|
-
recipientCount?: number;
|
|
9482
|
-
scheduledAt?: string;
|
|
9483
|
-
startedAt?: string;
|
|
9484
|
-
completedAt?: string;
|
|
9485
|
-
sentCount?: number;
|
|
9486
|
-
deliveredCount?: number;
|
|
9487
|
-
readCount?: number;
|
|
9488
|
-
failedCount?: number;
|
|
9489
|
-
createdAt?: string;
|
|
9490
|
-
}>;
|
|
9491
|
-
pagination?: {
|
|
9492
|
-
total?: number;
|
|
9493
|
-
limit?: number;
|
|
9494
|
-
skip?: number;
|
|
9495
|
-
hasMore?: boolean;
|
|
9496
|
-
};
|
|
9497
|
-
});
|
|
9498
|
-
type GetWhatsAppBroadcastsError = (unknown | {
|
|
9499
|
-
error?: string;
|
|
9500
|
-
});
|
|
9501
|
-
type CreateWhatsAppBroadcastData = {
|
|
9502
|
-
body: {
|
|
9503
|
-
/**
|
|
9504
|
-
* WhatsApp social account ID
|
|
9505
|
-
*/
|
|
9506
|
-
accountId: string;
|
|
9507
|
-
/**
|
|
9508
|
-
* Broadcast name
|
|
9509
|
-
*/
|
|
9510
|
-
name: string;
|
|
9511
|
-
/**
|
|
9512
|
-
* Broadcast description
|
|
8492
|
+
* Optional body customizations for library templates. Available options depend on the
|
|
8493
|
+
* template (e.g., add_contact_number, add_learn_more_link, add_security_recommendation,
|
|
8494
|
+
* add_track_package_link, code_expiration_minutes).
|
|
8495
|
+
*
|
|
9513
8496
|
*/
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
/**
|
|
9517
|
-
* Template name
|
|
9518
|
-
*/
|
|
9519
|
-
name: string;
|
|
9520
|
-
/**
|
|
9521
|
-
* Template language code
|
|
9522
|
-
*/
|
|
9523
|
-
language: string;
|
|
9524
|
-
/**
|
|
9525
|
-
* Base template components
|
|
9526
|
-
*/
|
|
9527
|
-
components?: Array<{
|
|
9528
|
-
[key: string]: unknown;
|
|
9529
|
-
}>;
|
|
8497
|
+
library_template_body_inputs?: {
|
|
8498
|
+
[key: string]: unknown;
|
|
9530
8499
|
};
|
|
9531
8500
|
/**
|
|
9532
|
-
*
|
|
8501
|
+
* Optional button customizations for library templates. Each item specifies button type
|
|
8502
|
+
* and configuration (e.g., URL, phone number, quick reply).
|
|
8503
|
+
*
|
|
9533
8504
|
*/
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
phone: string;
|
|
9539
|
-
name?: string;
|
|
9540
|
-
/**
|
|
9541
|
-
* Per-recipient template variables
|
|
9542
|
-
*/
|
|
9543
|
-
variables?: {
|
|
9544
|
-
[key: string]: (string);
|
|
8505
|
+
library_template_button_inputs?: Array<{
|
|
8506
|
+
type?: 'quick_reply' | 'url' | 'phone_number';
|
|
8507
|
+
url?: {
|
|
8508
|
+
base_url?: string;
|
|
9545
8509
|
};
|
|
8510
|
+
phone_number?: string;
|
|
9546
8511
|
}>;
|
|
9547
8512
|
};
|
|
9548
8513
|
};
|
|
9549
|
-
type
|
|
8514
|
+
type CreateWhatsAppTemplateResponse = ({
|
|
9550
8515
|
success?: boolean;
|
|
9551
|
-
|
|
8516
|
+
template?: {
|
|
9552
8517
|
id?: string;
|
|
9553
8518
|
name?: string;
|
|
9554
|
-
description?: string;
|
|
9555
|
-
template?: {
|
|
9556
|
-
[key: string]: unknown;
|
|
9557
|
-
};
|
|
9558
8519
|
/**
|
|
9559
|
-
*
|
|
8520
|
+
* APPROVED for library templates, PENDING for custom
|
|
9560
8521
|
*/
|
|
9561
8522
|
status?: string;
|
|
9562
|
-
|
|
9563
|
-
|
|
9564
|
-
};
|
|
9565
|
-
});
|
|
9566
|
-
type CreateWhatsAppBroadcastError = (unknown | {
|
|
9567
|
-
error?: string;
|
|
9568
|
-
});
|
|
9569
|
-
type GetWhatsAppBroadcastData = {
|
|
9570
|
-
path: {
|
|
9571
|
-
/**
|
|
9572
|
-
* Broadcast ID
|
|
9573
|
-
*/
|
|
9574
|
-
broadcastId: string;
|
|
9575
|
-
};
|
|
9576
|
-
};
|
|
9577
|
-
type GetWhatsAppBroadcastResponse = ({
|
|
9578
|
-
success?: boolean;
|
|
9579
|
-
broadcast?: {
|
|
9580
|
-
id?: string;
|
|
9581
|
-
name?: string;
|
|
9582
|
-
description?: string;
|
|
9583
|
-
template?: {
|
|
9584
|
-
[key: string]: unknown;
|
|
9585
|
-
};
|
|
9586
|
-
status?: 'draft' | 'scheduled' | 'sending' | 'completed' | 'failed' | 'cancelled';
|
|
9587
|
-
recipientCount?: number;
|
|
9588
|
-
scheduledAt?: string;
|
|
9589
|
-
startedAt?: string;
|
|
9590
|
-
completedAt?: string;
|
|
9591
|
-
sentCount?: number;
|
|
9592
|
-
deliveredCount?: number;
|
|
9593
|
-
readCount?: number;
|
|
9594
|
-
failedCount?: number;
|
|
9595
|
-
createdAt?: string;
|
|
9596
|
-
updatedAt?: string;
|
|
9597
|
-
};
|
|
9598
|
-
});
|
|
9599
|
-
type GetWhatsAppBroadcastError = ({
|
|
9600
|
-
error?: string;
|
|
9601
|
-
});
|
|
9602
|
-
type DeleteWhatsAppBroadcastData = {
|
|
9603
|
-
path: {
|
|
9604
|
-
/**
|
|
9605
|
-
* Broadcast ID
|
|
9606
|
-
*/
|
|
9607
|
-
broadcastId: string;
|
|
8523
|
+
category?: string;
|
|
8524
|
+
language?: string;
|
|
9608
8525
|
};
|
|
9609
|
-
};
|
|
9610
|
-
type DeleteWhatsAppBroadcastResponse = ({
|
|
9611
|
-
success?: boolean;
|
|
9612
|
-
message?: string;
|
|
9613
8526
|
});
|
|
9614
|
-
type
|
|
8527
|
+
type CreateWhatsAppTemplateError = (unknown | {
|
|
9615
8528
|
error?: string;
|
|
9616
8529
|
});
|
|
9617
|
-
type
|
|
8530
|
+
type GetWhatsAppTemplateData = {
|
|
9618
8531
|
path: {
|
|
9619
8532
|
/**
|
|
9620
|
-
*
|
|
9621
|
-
*/
|
|
9622
|
-
broadcastId: string;
|
|
9623
|
-
};
|
|
9624
|
-
};
|
|
9625
|
-
type SendWhatsAppBroadcastResponse = ({
|
|
9626
|
-
success?: boolean;
|
|
9627
|
-
/**
|
|
9628
|
-
* Final broadcast status
|
|
9629
|
-
*/
|
|
9630
|
-
status?: 'completed' | 'failed';
|
|
9631
|
-
/**
|
|
9632
|
-
* Number of messages sent successfully
|
|
9633
|
-
*/
|
|
9634
|
-
sent?: number;
|
|
9635
|
-
/**
|
|
9636
|
-
* Number of messages that failed
|
|
9637
|
-
*/
|
|
9638
|
-
failed?: number;
|
|
9639
|
-
/**
|
|
9640
|
-
* Total recipient count
|
|
9641
|
-
*/
|
|
9642
|
-
total?: number;
|
|
9643
|
-
});
|
|
9644
|
-
type SendWhatsAppBroadcastError = (unknown | {
|
|
9645
|
-
error?: string;
|
|
9646
|
-
});
|
|
9647
|
-
type ScheduleWhatsAppBroadcastData = {
|
|
9648
|
-
body: {
|
|
9649
|
-
/**
|
|
9650
|
-
* ISO 8601 date-time for sending (must be in the future, max 30 days)
|
|
8533
|
+
* Template name
|
|
9651
8534
|
*/
|
|
9652
|
-
|
|
8535
|
+
templateName: string;
|
|
9653
8536
|
};
|
|
9654
|
-
|
|
8537
|
+
query: {
|
|
9655
8538
|
/**
|
|
9656
|
-
*
|
|
8539
|
+
* WhatsApp social account ID
|
|
9657
8540
|
*/
|
|
9658
|
-
|
|
8541
|
+
accountId: string;
|
|
9659
8542
|
};
|
|
9660
8543
|
};
|
|
9661
|
-
type
|
|
8544
|
+
type GetWhatsAppTemplateResponse = ({
|
|
9662
8545
|
success?: boolean;
|
|
9663
|
-
|
|
8546
|
+
template?: {
|
|
9664
8547
|
id?: string;
|
|
9665
|
-
|
|
9666
|
-
* "scheduled"
|
|
9667
|
-
*/
|
|
8548
|
+
name?: string;
|
|
9668
8549
|
status?: string;
|
|
9669
|
-
|
|
8550
|
+
category?: string;
|
|
8551
|
+
language?: string;
|
|
8552
|
+
components?: Array<{
|
|
8553
|
+
[key: string]: unknown;
|
|
8554
|
+
}>;
|
|
9670
8555
|
};
|
|
9671
8556
|
});
|
|
9672
|
-
type
|
|
8557
|
+
type GetWhatsAppTemplateError = (unknown | {
|
|
9673
8558
|
error?: string;
|
|
9674
8559
|
});
|
|
9675
|
-
type
|
|
9676
|
-
|
|
8560
|
+
type UpdateWhatsAppTemplateData = {
|
|
8561
|
+
body: {
|
|
9677
8562
|
/**
|
|
9678
|
-
*
|
|
8563
|
+
* WhatsApp social account ID
|
|
9679
8564
|
*/
|
|
9680
|
-
|
|
9681
|
-
};
|
|
9682
|
-
};
|
|
9683
|
-
type CancelWhatsAppBroadcastScheduleResponse = ({
|
|
9684
|
-
success?: boolean;
|
|
9685
|
-
broadcast?: {
|
|
9686
|
-
id?: string;
|
|
8565
|
+
accountId: string;
|
|
9687
8566
|
/**
|
|
9688
|
-
*
|
|
8567
|
+
* Updated template components
|
|
9689
8568
|
*/
|
|
9690
|
-
|
|
8569
|
+
components: Array<WhatsAppTemplateComponent>;
|
|
9691
8570
|
};
|
|
9692
|
-
message?: string;
|
|
9693
|
-
});
|
|
9694
|
-
type CancelWhatsAppBroadcastScheduleError = (unknown | {
|
|
9695
|
-
error?: string;
|
|
9696
|
-
});
|
|
9697
|
-
type GetWhatsAppBroadcastRecipientsData = {
|
|
9698
8571
|
path: {
|
|
9699
8572
|
/**
|
|
9700
|
-
*
|
|
9701
|
-
*/
|
|
9702
|
-
broadcastId: string;
|
|
9703
|
-
};
|
|
9704
|
-
query?: {
|
|
9705
|
-
/**
|
|
9706
|
-
* Maximum results (default 100)
|
|
9707
|
-
*/
|
|
9708
|
-
limit?: number;
|
|
9709
|
-
/**
|
|
9710
|
-
* Offset for pagination
|
|
9711
|
-
*/
|
|
9712
|
-
skip?: number;
|
|
9713
|
-
/**
|
|
9714
|
-
* Filter by recipient delivery status
|
|
8573
|
+
* Template name
|
|
9715
8574
|
*/
|
|
9716
|
-
|
|
8575
|
+
templateName: string;
|
|
9717
8576
|
};
|
|
9718
8577
|
};
|
|
9719
|
-
type
|
|
8578
|
+
type UpdateWhatsAppTemplateResponse = ({
|
|
9720
8579
|
success?: boolean;
|
|
9721
|
-
|
|
9722
|
-
|
|
8580
|
+
template?: {
|
|
8581
|
+
id?: string;
|
|
9723
8582
|
name?: string;
|
|
9724
|
-
|
|
9725
|
-
[key: string]: unknown;
|
|
9726
|
-
};
|
|
9727
|
-
status?: 'pending' | 'sent' | 'delivered' | 'read' | 'failed';
|
|
9728
|
-
messageId?: string;
|
|
9729
|
-
error?: string;
|
|
9730
|
-
sentAt?: string;
|
|
9731
|
-
deliveredAt?: string;
|
|
9732
|
-
readAt?: string;
|
|
9733
|
-
}>;
|
|
9734
|
-
pagination?: {
|
|
9735
|
-
total?: number;
|
|
9736
|
-
limit?: number;
|
|
9737
|
-
skip?: number;
|
|
9738
|
-
hasMore?: boolean;
|
|
9739
|
-
};
|
|
9740
|
-
summary?: {
|
|
9741
|
-
total?: number;
|
|
9742
|
-
pending?: number;
|
|
9743
|
-
sent?: number;
|
|
9744
|
-
delivered?: number;
|
|
9745
|
-
read?: number;
|
|
9746
|
-
failed?: number;
|
|
8583
|
+
status?: string;
|
|
9747
8584
|
};
|
|
9748
8585
|
});
|
|
9749
|
-
type
|
|
8586
|
+
type UpdateWhatsAppTemplateError = (unknown | {
|
|
9750
8587
|
error?: string;
|
|
9751
8588
|
});
|
|
9752
|
-
type
|
|
9753
|
-
body: {
|
|
9754
|
-
/**
|
|
9755
|
-
* Recipients to add (max 1000)
|
|
9756
|
-
*/
|
|
9757
|
-
recipients: Array<{
|
|
9758
|
-
/**
|
|
9759
|
-
* Phone number in E.164 format
|
|
9760
|
-
*/
|
|
9761
|
-
phone: string;
|
|
9762
|
-
name?: string;
|
|
9763
|
-
variables?: {
|
|
9764
|
-
[key: string]: (string);
|
|
9765
|
-
};
|
|
9766
|
-
}>;
|
|
9767
|
-
};
|
|
8589
|
+
type DeleteWhatsAppTemplateData = {
|
|
9768
8590
|
path: {
|
|
9769
8591
|
/**
|
|
9770
|
-
*
|
|
9771
|
-
*/
|
|
9772
|
-
broadcastId: string;
|
|
9773
|
-
};
|
|
9774
|
-
};
|
|
9775
|
-
type AddWhatsAppBroadcastRecipientsResponse = ({
|
|
9776
|
-
success?: boolean;
|
|
9777
|
-
/**
|
|
9778
|
-
* Number of new recipients added
|
|
9779
|
-
*/
|
|
9780
|
-
added?: number;
|
|
9781
|
-
/**
|
|
9782
|
-
* Number of duplicate phone numbers skipped
|
|
9783
|
-
*/
|
|
9784
|
-
duplicates?: number;
|
|
9785
|
-
/**
|
|
9786
|
-
* Total recipient count after addition
|
|
9787
|
-
*/
|
|
9788
|
-
totalRecipients?: number;
|
|
9789
|
-
});
|
|
9790
|
-
type AddWhatsAppBroadcastRecipientsError = (unknown | {
|
|
9791
|
-
error?: string;
|
|
9792
|
-
});
|
|
9793
|
-
type RemoveWhatsAppBroadcastRecipientsData = {
|
|
9794
|
-
body: {
|
|
9795
|
-
/**
|
|
9796
|
-
* Phone numbers to remove
|
|
8592
|
+
* Template name
|
|
9797
8593
|
*/
|
|
9798
|
-
|
|
8594
|
+
templateName: string;
|
|
9799
8595
|
};
|
|
9800
|
-
|
|
8596
|
+
query: {
|
|
9801
8597
|
/**
|
|
9802
|
-
*
|
|
8598
|
+
* WhatsApp social account ID
|
|
9803
8599
|
*/
|
|
9804
|
-
|
|
8600
|
+
accountId: string;
|
|
9805
8601
|
};
|
|
9806
8602
|
};
|
|
9807
|
-
type
|
|
8603
|
+
type DeleteWhatsAppTemplateResponse = ({
|
|
9808
8604
|
success?: boolean;
|
|
9809
|
-
|
|
9810
|
-
* Number of recipients removed
|
|
9811
|
-
*/
|
|
9812
|
-
removed?: number;
|
|
9813
|
-
/**
|
|
9814
|
-
* Remaining recipient count
|
|
9815
|
-
*/
|
|
9816
|
-
totalRecipients?: number;
|
|
8605
|
+
message?: string;
|
|
9817
8606
|
});
|
|
9818
|
-
type
|
|
8607
|
+
type DeleteWhatsAppTemplateError = (unknown | {
|
|
9819
8608
|
error?: string;
|
|
9820
8609
|
});
|
|
9821
8610
|
type GetWhatsAppBusinessProfileData = {
|
|
@@ -12358,4 +11147,4 @@ type AddUsersToAdAudienceError = (unknown | {
|
|
|
12358
11147
|
error?: string;
|
|
12359
11148
|
});
|
|
12360
11149
|
|
|
12361
|
-
export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type ActivateSequenceData, type ActivateSequenceError, type ActivateSequenceResponse, type Ad, type AdCampaign, type AdMetrics, type AdTreeAdSet, type AdTreeCampaign, type AddBroadcastRecipientsData, type AddBroadcastRecipientsError, type AddBroadcastRecipientsResponse, type AddMessageReactionData, type AddMessageReactionError, type AddMessageReactionResponse, type AddUsersToAdAudienceData, type AddUsersToAdAudienceError, type AddUsersToAdAudienceResponse, type AddWhatsAppBroadcastRecipientsData, type AddWhatsAppBroadcastRecipientsError, type AddWhatsAppBroadcastRecipientsResponse, type AddWhatsAppGroupParticipantsData, type AddWhatsAppGroupParticipantsError, type AddWhatsAppGroupParticipantsResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type ApproveWhatsAppGroupJoinRequestsData, type ApproveWhatsAppGroupJoinRequestsError, type ApproveWhatsAppGroupJoinRequestsResponse, type BlueskyPlatformData, type BookmarkPostData, type BookmarkPostError, type BookmarkPostResponse, type BoostPostData, type BoostPostError, type BoostPostResponse, type BulkCreateContactsData, type BulkCreateContactsError, type BulkCreateContactsResponse, type BulkDeleteWhatsAppContactsData, type BulkDeleteWhatsAppContactsError, type BulkDeleteWhatsAppContactsResponse, type BulkUpdateWhatsAppContactsData, type BulkUpdateWhatsAppContactsError, type BulkUpdateWhatsAppContactsResponse, type BulkUploadPostsData, type BulkUploadPostsError, type BulkUploadPostsResponse, type CancelBroadcastData, type CancelBroadcastError, type CancelBroadcastResponse, type CancelWhatsAppBroadcastScheduleData, type CancelWhatsAppBroadcastScheduleError, type CancelWhatsAppBroadcastScheduleResponse, type ClearContactFieldValueData, type ClearContactFieldValueError, type ClearContactFieldValueResponse, type ClientOptions, type CompleteTelegramConnectData, type CompleteTelegramConnectError, type CompleteTelegramConnectResponse, type ConnectAdsData, type ConnectAdsError, type ConnectAdsResponse, type ConnectBlueskyCredentialsData, type ConnectBlueskyCredentialsError, type ConnectBlueskyCredentialsResponse, type ConnectWhatsAppCredentialsData, type ConnectWhatsAppCredentialsError, type ConnectWhatsAppCredentialsResponse, type ConnectionLog, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateAdAudienceData, type CreateAdAudienceError, type CreateAdAudienceResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateBroadcastData, type CreateBroadcastError, type CreateBroadcastResponse, type CreateCommentAutomationData, type CreateCommentAutomationError, type CreateCommentAutomationResponse, type CreateContactData, type CreateContactError, type CreateContactResponse, type CreateCustomFieldData, type CreateCustomFieldError, type CreateCustomFieldResponse, type CreateGoogleBusinessMediaData, type CreateGoogleBusinessMediaError, type CreateGoogleBusinessMediaResponse, type CreateGoogleBusinessPlaceActionData, type CreateGoogleBusinessPlaceActionError, type CreateGoogleBusinessPlaceActionResponse, type CreateInboxConversationData, type CreateInboxConversationError, type CreateInboxConversationResponse, type CreateInviteTokenData, type CreateInviteTokenError, type CreateInviteTokenResponse, type CreatePostData, type CreatePostError, type CreatePostResponse, type CreateProfileData, type CreateProfileError, type CreateProfileResponse, type CreateQueueSlotData, type CreateQueueSlotError, type CreateQueueSlotResponse, type CreateSequenceData, type CreateSequenceError, type CreateSequenceResponse, type CreateStandaloneAdData, type CreateStandaloneAdError, type CreateStandaloneAdResponse, type CreateWebhookSettingsData, type CreateWebhookSettingsError, type CreateWebhookSettingsResponse, type CreateWhatsAppBroadcastData, type CreateWhatsAppBroadcastError, type CreateWhatsAppBroadcastResponse, type CreateWhatsAppContactData, type CreateWhatsAppContactError, type CreateWhatsAppContactResponse, type CreateWhatsAppFlowData, type CreateWhatsAppFlowError, type CreateWhatsAppFlowResponse, type CreateWhatsAppGroupChatData, type CreateWhatsAppGroupChatError, type CreateWhatsAppGroupChatResponse, type CreateWhatsAppGroupInviteLinkData, type CreateWhatsAppGroupInviteLinkError, type CreateWhatsAppGroupInviteLinkResponse, type CreateWhatsAppTemplateData, type CreateWhatsAppTemplateError, type CreateWhatsAppTemplateResponse, type DeleteAccountData, type DeleteAccountError, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupResponse, type DeleteAccountResponse, type DeleteAdAudienceData, type DeleteAdAudienceError, type DeleteAdAudienceResponse, type DeleteAdData, type DeleteAdError, type DeleteAdResponse, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyResponse, type DeleteBroadcastData, type DeleteBroadcastError, type DeleteBroadcastResponse, type DeleteCommentAutomationData, type DeleteCommentAutomationError, type DeleteCommentAutomationResponse, type DeleteContactData, type DeleteContactError, type DeleteContactResponse, type DeleteCustomFieldData, type DeleteCustomFieldError, type DeleteCustomFieldResponse, type DeleteGoogleBusinessMediaData, type DeleteGoogleBusinessMediaError, type DeleteGoogleBusinessMediaResponse, type DeleteGoogleBusinessPlaceActionData, type DeleteGoogleBusinessPlaceActionError, type DeleteGoogleBusinessPlaceActionResponse, type DeleteInboxCommentData, type DeleteInboxCommentError, type DeleteInboxCommentResponse, type DeleteInboxMessageData, type DeleteInboxMessageError, type DeleteInboxMessageResponse, type DeleteInboxReviewReplyData, type DeleteInboxReviewReplyError, type DeleteInboxReviewReplyResponse, type DeleteInstagramIceBreakersData, type DeleteInstagramIceBreakersError, type DeleteInstagramIceBreakersResponse, type DeleteMessengerMenuData, type DeleteMessengerMenuError, type DeleteMessengerMenuResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteSequenceData, type DeleteSequenceError, type DeleteSequenceResponse, type DeleteTelegramCommandsData, type DeleteTelegramCommandsError, type DeleteTelegramCommandsResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, type DeleteWhatsAppBroadcastData, type DeleteWhatsAppBroadcastError, type DeleteWhatsAppBroadcastResponse, type DeleteWhatsAppContactData, type DeleteWhatsAppContactError, type DeleteWhatsAppContactResponse, type DeleteWhatsAppFlowData, type DeleteWhatsAppFlowError, type DeleteWhatsAppFlowResponse, type DeleteWhatsAppGroupChatData, type DeleteWhatsAppGroupChatError, type DeleteWhatsAppGroupChatResponse, type DeleteWhatsAppGroupData, type DeleteWhatsAppGroupError, type DeleteWhatsAppGroupResponse, type DeleteWhatsAppTemplateData, type DeleteWhatsAppTemplateError, type DeleteWhatsAppTemplateResponse, type DeprecateWhatsAppFlowData, type DeprecateWhatsAppFlowError, type DeprecateWhatsAppFlowResponse, type DisconnectAdsData, type DisconnectAdsError, type DisconnectAdsResponse, type EditInboxMessageData, type EditInboxMessageError, type EditInboxMessageResponse, type EditPostData, type EditPostError, type EditPostResponse, type EnrollContactsData, type EnrollContactsError, type EnrollContactsResponse, type ErrorResponse, type FacebookPlatformData, type FollowUserData, type FollowUserError, type FollowUserResponse, type FollowerStatsResponse, type FoodMenu, type FoodMenuItem, type FoodMenuItemAttributes, type FoodMenuLabel, type FoodMenuSection, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAdAnalyticsData, type GetAdAnalyticsError, type GetAdAnalyticsResponse, type GetAdAudienceData, type GetAdAudienceError, type GetAdAudienceResponse, type GetAdData, type GetAdError, type GetAdResponse, type GetAdTreeData, type GetAdTreeError, type GetAdTreeResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetBestTimeToPostData, type GetBestTimeToPostError, type GetBestTimeToPostResponse, type GetBroadcastData, type GetBroadcastError, type GetBroadcastResponse, type GetCommentAutomationData, type GetCommentAutomationError, type GetCommentAutomationResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetContactChannelsData, type GetContactChannelsError, type GetContactChannelsResponse, type GetContactData, type GetContactError, type GetContactResponse, type GetContentDecayData, type GetContentDecayError, type GetContentDecayResponse, type GetDailyMetricsData, type GetDailyMetricsError, type GetDailyMetricsResponse, type GetFacebookPagesData, type GetFacebookPagesError, type GetFacebookPagesResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGmbLocationsData, type GetGmbLocationsError, type GetGmbLocationsResponse, type GetGoogleBusinessAttributesData, type GetGoogleBusinessAttributesError, type GetGoogleBusinessAttributesResponse, type GetGoogleBusinessFoodMenusData, type GetGoogleBusinessFoodMenusError, type GetGoogleBusinessFoodMenusResponse, type GetGoogleBusinessLocationDetailsData, type GetGoogleBusinessLocationDetailsError, type GetGoogleBusinessLocationDetailsResponse, type GetGoogleBusinessPerformanceData, type GetGoogleBusinessPerformanceError, type GetGoogleBusinessPerformanceResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetGoogleBusinessSearchKeywordsData, type GetGoogleBusinessSearchKeywordsError, type GetGoogleBusinessSearchKeywordsResponse, type GetInboxConversationData, type GetInboxConversationError, type GetInboxConversationMessagesData, type GetInboxConversationMessagesError, type GetInboxConversationMessagesResponse, type GetInboxConversationResponse, type GetInboxPostCommentsData, type GetInboxPostCommentsError, type GetInboxPostCommentsResponse, type GetInstagramAccountInsightsData, type GetInstagramAccountInsightsError, type GetInstagramAccountInsightsResponse, type GetInstagramDemographicsData, type GetInstagramDemographicsError, type GetInstagramDemographicsResponse, type GetInstagramIceBreakersData, type GetInstagramIceBreakersError, type GetInstagramIceBreakersResponse, type GetLinkedInAggregateAnalyticsData, type GetLinkedInAggregateAnalyticsError, type GetLinkedInAggregateAnalyticsResponse, type GetLinkedInMentionsData, type GetLinkedInMentionsError, type GetLinkedInMentionsResponse, type GetLinkedInOrganizationsData, type GetLinkedInOrganizationsError, type GetLinkedInOrganizationsResponse, type GetLinkedInPostAnalyticsData, type GetLinkedInPostAnalyticsError, type GetLinkedInPostAnalyticsResponse, type GetLinkedInPostReactionsData, type GetLinkedInPostReactionsError, type GetLinkedInPostReactionsResponse, type GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, type GetMessengerMenuData, type GetMessengerMenuError, type GetMessengerMenuResponse, type GetNextQueueSlotData, type GetNextQueueSlotError, type GetNextQueueSlotResponse, type GetPendingOAuthDataData, type GetPendingOAuthDataError, type GetPendingOAuthDataResponse, type GetPinterestBoardsData, type GetPinterestBoardsError, type GetPinterestBoardsResponse, type GetPostData, type GetPostError, type GetPostLogsData, type GetPostLogsError, type GetPostLogsResponse, type GetPostResponse, type GetPostTimelineData, type GetPostTimelineError, type GetPostTimelineResponse, type GetPostingFrequencyData, type GetPostingFrequencyError, type GetPostingFrequencyResponse, type GetProfileData, type GetProfileError, type GetProfileResponse, type GetRedditFeedData, type GetRedditFeedError, type GetRedditFeedResponse, type GetRedditFlairsData, type GetRedditFlairsError, type GetRedditFlairsResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, type GetSequenceData, type GetSequenceError, type GetSequenceResponse, type GetTelegramCommandsData, type GetTelegramCommandsError, type GetTelegramCommandsResponse, type GetTelegramConnectStatusData, type GetTelegramConnectStatusError, type GetTelegramConnectStatusResponse, type GetTikTokCreatorInfoData, type GetTikTokCreatorInfoError, type GetTikTokCreatorInfoResponse, type GetUsageStatsError, type GetUsageStatsResponse, type GetUserData, type GetUserError, type GetUserResponse, type GetWebhookLogsData, type GetWebhookLogsError, type GetWebhookLogsResponse, type GetWebhookSettingsError, type GetWebhookSettingsResponse, type GetWhatsAppBroadcastData, type GetWhatsAppBroadcastError, type GetWhatsAppBroadcastRecipientsData, type GetWhatsAppBroadcastRecipientsError, type GetWhatsAppBroadcastRecipientsResponse, type GetWhatsAppBroadcastResponse, type GetWhatsAppBroadcastsData, type GetWhatsAppBroadcastsError, type GetWhatsAppBroadcastsResponse, type GetWhatsAppBusinessProfileData, type GetWhatsAppBusinessProfileError, type GetWhatsAppBusinessProfileResponse, type GetWhatsAppContactData, type GetWhatsAppContactError, type GetWhatsAppContactResponse, type GetWhatsAppContactsData, type GetWhatsAppContactsError, type GetWhatsAppContactsResponse, type GetWhatsAppDisplayNameData, type GetWhatsAppDisplayNameError, type GetWhatsAppDisplayNameResponse, type GetWhatsAppFlowData, type GetWhatsAppFlowError, type GetWhatsAppFlowJsonData, type GetWhatsAppFlowJsonError, type GetWhatsAppFlowJsonResponse, type GetWhatsAppFlowResponse, type GetWhatsAppGroupChatData, type GetWhatsAppGroupChatError, type GetWhatsAppGroupChatResponse, type GetWhatsAppGroupsData, type GetWhatsAppGroupsError, type GetWhatsAppGroupsResponse, type GetWhatsAppPhoneNumberData, type GetWhatsAppPhoneNumberError, type GetWhatsAppPhoneNumberResponse, type GetWhatsAppPhoneNumbersData, type GetWhatsAppPhoneNumbersError, type GetWhatsAppPhoneNumbersResponse, type GetWhatsAppTemplateData, type GetWhatsAppTemplateError, type GetWhatsAppTemplateResponse, type GetWhatsAppTemplatesData, type GetWhatsAppTemplatesError, type GetWhatsAppTemplatesResponse, type GetYouTubeDailyViewsData, type GetYouTubeDailyViewsError, type GetYouTubeDailyViewsResponse, type GetYouTubeDemographicsData, type GetYouTubeDemographicsError, type GetYouTubeDemographicsResponse, type GetYoutubePlaylistsData, type GetYoutubePlaylistsError, type GetYoutubePlaylistsResponse, type GoogleBusinessPlatformData, type HandleOAuthCallbackData, type HandleOAuthCallbackError, type HandleOAuthCallbackResponse, type HideInboxCommentData, type HideInboxCommentError, type HideInboxCommentResponse, type ImportWhatsAppContactsData, type ImportWhatsAppContactsError, type ImportWhatsAppContactsResponse, type InboxWebhookAccount, type InboxWebhookConversation, type InboxWebhookMessage, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, type InstagramAccountInsightsResponse, type InstagramDemographicsResponse, type InstagramPlatformData, Late, LateApiError, type LikeInboxCommentData, type LikeInboxCommentError, type LikeInboxCommentResponse, type LinkedInAggregateAnalyticsDailyResponse, type LinkedInAggregateAnalyticsTotalResponse, type LinkedInPlatformData, type ListAccountGroupsError, type ListAccountGroupsResponse, type ListAccountsData, type ListAccountsError, type ListAccountsResponse, type ListAdAccountsData, type ListAdAccountsError, type ListAdAccountsResponse, type ListAdAudiencesData, type ListAdAudiencesError, type ListAdAudiencesResponse, type ListAdCampaignsData, type ListAdCampaignsError, type ListAdCampaignsResponse, type ListAdsData, type ListAdsError, type ListAdsResponse, type ListApiKeysError, type ListApiKeysResponse, type ListBroadcastRecipientsData, type ListBroadcastRecipientsError, type ListBroadcastRecipientsResponse, type ListBroadcastsData, type ListBroadcastsError, type ListBroadcastsResponse, type ListCommentAutomationLogsData, type ListCommentAutomationLogsError, type ListCommentAutomationLogsResponse, type ListCommentAutomationsData, type ListCommentAutomationsError, type ListCommentAutomationsResponse, type ListConnectionLogsData, type ListConnectionLogsError, type ListConnectionLogsResponse, type ListContactsData, type ListContactsError, type ListContactsResponse, type ListCustomFieldsData, type ListCustomFieldsError, type ListCustomFieldsResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListGoogleBusinessMediaData, type ListGoogleBusinessMediaError, type ListGoogleBusinessMediaResponse, type ListGoogleBusinessPlaceActionsData, type ListGoogleBusinessPlaceActionsError, type ListGoogleBusinessPlaceActionsResponse, type ListInboxCommentsData, type ListInboxCommentsError, type ListInboxCommentsResponse, type ListInboxConversationsData, type ListInboxConversationsError, type ListInboxConversationsResponse, type ListInboxReviewsData, type ListInboxReviewsError, type ListInboxReviewsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListLogsData, type ListLogsError, type ListLogsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsLogsData, type ListPostsLogsError, type ListPostsLogsResponse, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSequenceEnrollmentsData, type ListSequenceEnrollmentsError, type ListSequenceEnrollmentsResponse, type ListSequencesData, type ListSequencesError, type ListSequencesResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type ListWhatsAppFlowsData, type ListWhatsAppFlowsError, type ListWhatsAppFlowsResponse, type ListWhatsAppGroupChatsData, type ListWhatsAppGroupChatsError, type ListWhatsAppGroupChatsResponse, type ListWhatsAppGroupJoinRequestsData, type ListWhatsAppGroupJoinRequestsError, type ListWhatsAppGroupJoinRequestsResponse, type MediaItem, type MediaUploadResponse, type Money, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PauseSequenceData, type PauseSequenceError, type PauseSequenceResponse, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostLog, type PostRetryResponse, type PostUpdateResponse, type PostsListResponse, type PreviewQueueData, type PreviewQueueError, type PreviewQueueResponse, type Profile, type ProfileCreateResponse, type ProfileDeleteResponse, type ProfileGetResponse, type ProfileUpdateResponse, type ProfilesListResponse, type PublishWhatsAppFlowData, type PublishWhatsAppFlowError, type PublishWhatsAppFlowResponse, type PurchaseWhatsAppPhoneNumberData, type PurchaseWhatsAppPhoneNumberError, type PurchaseWhatsAppPhoneNumberResponse, type QueueDeleteResponse, type QueueNextSlotResponse, type QueuePreviewResponse, type QueueSchedule, type QueueSlot, type QueueSlotsResponse, type QueueUpdateResponse, RateLimitError, type RecyclingConfig, type RecyclingState, type RedditPlatformData, type RedditPost, type RejectWhatsAppGroupJoinRequestsData, type RejectWhatsAppGroupJoinRequestsError, type RejectWhatsAppGroupJoinRequestsResponse, type ReleaseWhatsAppPhoneNumberData, type ReleaseWhatsAppPhoneNumberError, type ReleaseWhatsAppPhoneNumberResponse, type RemoveBookmarkData, type RemoveBookmarkError, type RemoveBookmarkResponse, type RemoveMessageReactionData, type RemoveMessageReactionError, type RemoveMessageReactionResponse, type RemoveWhatsAppBroadcastRecipientsData, type RemoveWhatsAppBroadcastRecipientsError, type RemoveWhatsAppBroadcastRecipientsResponse, type RemoveWhatsAppGroupParticipantsData, type RemoveWhatsAppGroupParticipantsError, type RemoveWhatsAppGroupParticipantsResponse, type RenameWhatsAppGroupData, type RenameWhatsAppGroupError, type RenameWhatsAppGroupResponse, type ReplyToInboxPostData, type ReplyToInboxPostError, type ReplyToInboxPostResponse, type ReplyToInboxReviewData, type ReplyToInboxReviewError, type ReplyToInboxReviewResponse, type RetryPostData, type RetryPostError, type RetryPostResponse, type RetweetPostData, type RetweetPostError, type RetweetPostResponse, type ScheduleBroadcastData, type ScheduleBroadcastError, type ScheduleBroadcastResponse, type ScheduleWhatsAppBroadcastData, type ScheduleWhatsAppBroadcastError, type ScheduleWhatsAppBroadcastResponse, type SearchAdInterestsData, type SearchAdInterestsError, type SearchAdInterestsResponse, type SearchRedditData, type SearchRedditError, type SearchRedditResponse, type SelectFacebookPageData, type SelectFacebookPageError, type SelectFacebookPageResponse, type SelectGoogleBusinessLocationData, type SelectGoogleBusinessLocationError, type SelectGoogleBusinessLocationResponse, type SelectLinkedInOrganizationData, type SelectLinkedInOrganizationError, type SelectLinkedInOrganizationResponse, type SelectPinterestBoardData, type SelectPinterestBoardError, type SelectPinterestBoardResponse, type SelectSnapchatProfileData, type SelectSnapchatProfileError, type SelectSnapchatProfileResponse, type SendBroadcastData, type SendBroadcastError, type SendBroadcastResponse, type SendInboxMessageData, type SendInboxMessageError, type SendInboxMessageResponse, type SendPrivateReplyToCommentData, type SendPrivateReplyToCommentError, type SendPrivateReplyToCommentResponse, type SendTypingIndicatorData, type SendTypingIndicatorError, type SendTypingIndicatorResponse, type SendWhatsAppBroadcastData, type SendWhatsAppBroadcastError, type SendWhatsAppBroadcastResponse, type SendWhatsAppBulkData, type SendWhatsAppBulkError, type SendWhatsAppBulkResponse, type SendWhatsAppFlowMessageData, type SendWhatsAppFlowMessageError, type SendWhatsAppFlowMessageResponse, type SetContactFieldValueData, type SetContactFieldValueError, type SetContactFieldValueResponse, type SetInstagramIceBreakersData, type SetInstagramIceBreakersError, type SetInstagramIceBreakersResponse, type SetMessengerMenuData, type SetMessengerMenuError, type SetMessengerMenuResponse, type SetTelegramCommandsData, type SetTelegramCommandsError, type SetTelegramCommandsResponse, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TwitterPlatformData, type UndoRetweetData, type UndoRetweetError, type UndoRetweetResponse, type UnenrollContactData, type UnenrollContactError, type UnenrollContactResponse, type UnfollowUserData, type UnfollowUserError, type UnfollowUserResponse, type UnhideInboxCommentData, type UnhideInboxCommentError, type UnhideInboxCommentResponse, type UnlikeInboxCommentData, type UnlikeInboxCommentError, type UnlikeInboxCommentResponse, type UnpublishPostData, type UnpublishPostError, type UnpublishPostResponse, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateAdCampaignStatusData, type UpdateAdCampaignStatusError, type UpdateAdCampaignStatusResponse, type UpdateAdData, type UpdateAdError, type UpdateAdResponse, type UpdateBroadcastData, type UpdateBroadcastError, type UpdateBroadcastResponse, type UpdateCommentAutomationData, type UpdateCommentAutomationError, type UpdateCommentAutomationResponse, type UpdateContactData, type UpdateContactError, type UpdateContactResponse, type UpdateCustomFieldData, type UpdateCustomFieldError, type UpdateCustomFieldResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, type UpdateGmbLocationData, type UpdateGmbLocationError, type UpdateGmbLocationResponse, type UpdateGoogleBusinessAttributesData, type UpdateGoogleBusinessAttributesError, type UpdateGoogleBusinessAttributesResponse, type UpdateGoogleBusinessFoodMenusData, type UpdateGoogleBusinessFoodMenusError, type UpdateGoogleBusinessFoodMenusResponse, type UpdateGoogleBusinessLocationDetailsData, type UpdateGoogleBusinessLocationDetailsError, type UpdateGoogleBusinessLocationDetailsResponse, type UpdateInboxConversationData, type UpdateInboxConversationError, type UpdateInboxConversationResponse, type UpdateLinkedInOrganizationData, type UpdateLinkedInOrganizationError, type UpdateLinkedInOrganizationResponse, type UpdatePinterestBoardsData, type UpdatePinterestBoardsError, type UpdatePinterestBoardsResponse, type UpdatePostData, type UpdatePostError, type UpdatePostMetadataData, type UpdatePostMetadataError, type UpdatePostMetadataResponse, type UpdatePostResponse, type UpdateProfileData, type UpdateProfileError, type UpdateProfileResponse, type UpdateQueueSlotData, type UpdateQueueSlotError, type UpdateQueueSlotResponse, type UpdateRedditSubredditsData, type UpdateRedditSubredditsError, type UpdateRedditSubredditsResponse, type UpdateSequenceData, type UpdateSequenceError, type UpdateSequenceResponse, type UpdateWebhookSettingsData, type UpdateWebhookSettingsError, type UpdateWebhookSettingsResponse, type UpdateWhatsAppBusinessProfileData, type UpdateWhatsAppBusinessProfileError, type UpdateWhatsAppBusinessProfileResponse, type UpdateWhatsAppContactData, type UpdateWhatsAppContactError, type UpdateWhatsAppContactResponse, type UpdateWhatsAppDisplayNameData, type UpdateWhatsAppDisplayNameError, type UpdateWhatsAppDisplayNameResponse, type UpdateWhatsAppFlowData, type UpdateWhatsAppFlowError, type UpdateWhatsAppFlowResponse, type UpdateWhatsAppGroupChatData, type UpdateWhatsAppGroupChatError, type UpdateWhatsAppGroupChatResponse, type UpdateWhatsAppTemplateData, type UpdateWhatsAppTemplateError, type UpdateWhatsAppTemplateResponse, type UpdateYoutubeDefaultPlaylistData, type UpdateYoutubeDefaultPlaylistError, type UpdateYoutubeDefaultPlaylistResponse, type UploadMediaDirectData, type UploadMediaDirectError, type UploadMediaDirectResponse, type UploadTokenResponse, type UploadTokenStatusResponse, type UploadWhatsAppFlowJsonData, type UploadWhatsAppFlowJsonError, type UploadWhatsAppFlowJsonResponse, type UploadWhatsAppProfilePhotoData, type UploadWhatsAppProfilePhotoError, type UploadWhatsAppProfilePhotoResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, type ValidateMediaData, type ValidateMediaError, type ValidateMediaResponse, type ValidatePostData, type ValidatePostError, type ValidatePostLengthData, type ValidatePostLengthError, type ValidatePostLengthResponse, type ValidatePostResponse, type ValidateSubredditData, type ValidateSubredditError, type ValidateSubredditResponse, ValidationError, type Webhook, type WebhookLog, type WebhookPayloadAccountConnected, type WebhookPayloadAccountDisconnected, type WebhookPayloadComment, type WebhookPayloadMessage, type WebhookPayloadMessageDeleted, type WebhookPayloadMessageDeliveryStatus, type WebhookPayloadMessageEdited, type WebhookPayloadMessageSent, type WebhookPayloadPost, type WebhookPayloadTest, type WhatsAppBodyComponent, type WhatsAppButtonsComponent, type WhatsAppFooterComponent, type WhatsAppHeaderComponent, type WhatsAppTemplateButton, type WhatsAppTemplateComponent, type YouTubeDailyViewsResponse, type YouTubeDemographicsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, Zernio, ZernioApiError, type action, type adType, type adsStatus, type aggregation, type aggregation2, type aggregation3, type billingPeriod, type commercialContentType, type connectionMethod, type contentType, type contentType2, type contentType3, Zernio as default, type direction, type disconnectionType, type errorCategory, type errorSource, type event, type event10, type event11, type event2, type event3, type event4, type event5, type event6, type event7, type event8, type event9, type eventType, type format, type gapFreq, type goal, type graduationStrategy, type mediaType, type mediaType2, type metric, type metricType, type otp_type, parseApiError, type parseMode, type permission, type platform, type platform2, type platform3, type platform4, type platform5, type replySettings, type scope, type status, type status2, type status3, type status4, type status5, type status6, type status7, type status8, type syncStatus, type syncStatus2, type timeframe, type type, type type2, type type3, type type4, type type5, type visibility };
|
|
11150
|
+
export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type ActivateSequenceData, type ActivateSequenceError, type ActivateSequenceResponse, type Ad, type AdCampaign, type AdMetrics, type AdTreeAdSet, type AdTreeCampaign, type AddBroadcastRecipientsData, type AddBroadcastRecipientsError, type AddBroadcastRecipientsResponse, type AddMessageReactionData, type AddMessageReactionError, type AddMessageReactionResponse, type AddUsersToAdAudienceData, type AddUsersToAdAudienceError, type AddUsersToAdAudienceResponse, type AddWhatsAppGroupParticipantsData, type AddWhatsAppGroupParticipantsError, type AddWhatsAppGroupParticipantsResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type ApproveWhatsAppGroupJoinRequestsData, type ApproveWhatsAppGroupJoinRequestsError, type ApproveWhatsAppGroupJoinRequestsResponse, type BlueskyPlatformData, type BookmarkPostData, type BookmarkPostError, type BookmarkPostResponse, type BoostPostData, type BoostPostError, type BoostPostResponse, type BulkCreateContactsData, type BulkCreateContactsError, type BulkCreateContactsResponse, type BulkUploadPostsData, type BulkUploadPostsError, type BulkUploadPostsResponse, type CancelBroadcastData, type CancelBroadcastError, type CancelBroadcastResponse, type ClearContactFieldValueData, type ClearContactFieldValueError, type ClearContactFieldValueResponse, type ClientOptions, type CompleteTelegramConnectData, type CompleteTelegramConnectError, type CompleteTelegramConnectResponse, type ConnectAdsData, type ConnectAdsError, type ConnectAdsResponse, type ConnectBlueskyCredentialsData, type ConnectBlueskyCredentialsError, type ConnectBlueskyCredentialsResponse, type ConnectWhatsAppCredentialsData, type ConnectWhatsAppCredentialsError, type ConnectWhatsAppCredentialsResponse, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateAdAudienceData, type CreateAdAudienceError, type CreateAdAudienceResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateBroadcastData, type CreateBroadcastError, type CreateBroadcastResponse, type CreateCommentAutomationData, type CreateCommentAutomationError, type CreateCommentAutomationResponse, type CreateContactData, type CreateContactError, type CreateContactResponse, type CreateCustomFieldData, type CreateCustomFieldError, type CreateCustomFieldResponse, type CreateGoogleBusinessMediaData, type CreateGoogleBusinessMediaError, type CreateGoogleBusinessMediaResponse, type CreateGoogleBusinessPlaceActionData, type CreateGoogleBusinessPlaceActionError, type CreateGoogleBusinessPlaceActionResponse, type CreateInboxConversationData, type CreateInboxConversationError, type CreateInboxConversationResponse, type CreateInviteTokenData, type CreateInviteTokenError, type CreateInviteTokenResponse, type CreatePostData, type CreatePostError, type CreatePostResponse, type CreateProfileData, type CreateProfileError, type CreateProfileResponse, type CreateQueueSlotData, type CreateQueueSlotError, type CreateQueueSlotResponse, type CreateSequenceData, type CreateSequenceError, type CreateSequenceResponse, type CreateStandaloneAdData, type CreateStandaloneAdError, type CreateStandaloneAdResponse, type CreateWebhookSettingsData, type CreateWebhookSettingsError, type CreateWebhookSettingsResponse, type CreateWhatsAppFlowData, type CreateWhatsAppFlowError, type CreateWhatsAppFlowResponse, type CreateWhatsAppGroupChatData, type CreateWhatsAppGroupChatError, type CreateWhatsAppGroupChatResponse, type CreateWhatsAppGroupInviteLinkData, type CreateWhatsAppGroupInviteLinkError, type CreateWhatsAppGroupInviteLinkResponse, type CreateWhatsAppTemplateData, type CreateWhatsAppTemplateError, type CreateWhatsAppTemplateResponse, type DeleteAccountData, type DeleteAccountError, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupResponse, type DeleteAccountResponse, type DeleteAdAudienceData, type DeleteAdAudienceError, type DeleteAdAudienceResponse, type DeleteAdData, type DeleteAdError, type DeleteAdResponse, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyResponse, type DeleteBroadcastData, type DeleteBroadcastError, type DeleteBroadcastResponse, type DeleteCommentAutomationData, type DeleteCommentAutomationError, type DeleteCommentAutomationResponse, type DeleteContactData, type DeleteContactError, type DeleteContactResponse, type DeleteCustomFieldData, type DeleteCustomFieldError, type DeleteCustomFieldResponse, type DeleteGoogleBusinessMediaData, type DeleteGoogleBusinessMediaError, type DeleteGoogleBusinessMediaResponse, type DeleteGoogleBusinessPlaceActionData, type DeleteGoogleBusinessPlaceActionError, type DeleteGoogleBusinessPlaceActionResponse, type DeleteInboxCommentData, type DeleteInboxCommentError, type DeleteInboxCommentResponse, type DeleteInboxMessageData, type DeleteInboxMessageError, type DeleteInboxMessageResponse, type DeleteInboxReviewReplyData, type DeleteInboxReviewReplyError, type DeleteInboxReviewReplyResponse, type DeleteInstagramIceBreakersData, type DeleteInstagramIceBreakersError, type DeleteInstagramIceBreakersResponse, type DeleteMessengerMenuData, type DeleteMessengerMenuError, type DeleteMessengerMenuResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteSequenceData, type DeleteSequenceError, type DeleteSequenceResponse, type DeleteTelegramCommandsData, type DeleteTelegramCommandsError, type DeleteTelegramCommandsResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, type DeleteWhatsAppFlowData, type DeleteWhatsAppFlowError, type DeleteWhatsAppFlowResponse, type DeleteWhatsAppGroupChatData, type DeleteWhatsAppGroupChatError, type DeleteWhatsAppGroupChatResponse, type DeleteWhatsAppTemplateData, type DeleteWhatsAppTemplateError, type DeleteWhatsAppTemplateResponse, type DeprecateWhatsAppFlowData, type DeprecateWhatsAppFlowError, type DeprecateWhatsAppFlowResponse, type EditInboxMessageData, type EditInboxMessageError, type EditInboxMessageResponse, type EditPostData, type EditPostError, type EditPostResponse, type EnrollContactsData, type EnrollContactsError, type EnrollContactsResponse, type ErrorResponse, type FacebookPlatformData, type FollowUserData, type FollowUserError, type FollowUserResponse, type FollowerStatsResponse, type FoodMenu, type FoodMenuItem, type FoodMenuItemAttributes, type FoodMenuLabel, type FoodMenuSection, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAdAnalyticsData, type GetAdAnalyticsError, type GetAdAnalyticsResponse, type GetAdAudienceData, type GetAdAudienceError, type GetAdAudienceResponse, type GetAdData, type GetAdError, type GetAdResponse, type GetAdTreeData, type GetAdTreeError, type GetAdTreeResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetBestTimeToPostData, type GetBestTimeToPostError, type GetBestTimeToPostResponse, type GetBroadcastData, type GetBroadcastError, type GetBroadcastResponse, type GetCommentAutomationData, type GetCommentAutomationError, type GetCommentAutomationResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetContactChannelsData, type GetContactChannelsError, type GetContactChannelsResponse, type GetContactData, type GetContactError, type GetContactResponse, type GetContentDecayData, type GetContentDecayError, type GetContentDecayResponse, type GetDailyMetricsData, type GetDailyMetricsError, type GetDailyMetricsResponse, type GetFacebookPagesData, type GetFacebookPagesError, type GetFacebookPagesResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGmbLocationsData, type GetGmbLocationsError, type GetGmbLocationsResponse, type GetGoogleBusinessAttributesData, type GetGoogleBusinessAttributesError, type GetGoogleBusinessAttributesResponse, type GetGoogleBusinessFoodMenusData, type GetGoogleBusinessFoodMenusError, type GetGoogleBusinessFoodMenusResponse, type GetGoogleBusinessLocationDetailsData, type GetGoogleBusinessLocationDetailsError, type GetGoogleBusinessLocationDetailsResponse, type GetGoogleBusinessPerformanceData, type GetGoogleBusinessPerformanceError, type GetGoogleBusinessPerformanceResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetGoogleBusinessSearchKeywordsData, type GetGoogleBusinessSearchKeywordsError, type GetGoogleBusinessSearchKeywordsResponse, type GetInboxConversationData, type GetInboxConversationError, type GetInboxConversationMessagesData, type GetInboxConversationMessagesError, type GetInboxConversationMessagesResponse, type GetInboxConversationResponse, type GetInboxPostCommentsData, type GetInboxPostCommentsError, type GetInboxPostCommentsResponse, type GetInstagramAccountInsightsData, type GetInstagramAccountInsightsError, type GetInstagramAccountInsightsResponse, type GetInstagramDemographicsData, type GetInstagramDemographicsError, type GetInstagramDemographicsResponse, type GetInstagramIceBreakersData, type GetInstagramIceBreakersError, type GetInstagramIceBreakersResponse, type GetLinkedInAggregateAnalyticsData, type GetLinkedInAggregateAnalyticsError, type GetLinkedInAggregateAnalyticsResponse, type GetLinkedInMentionsData, type GetLinkedInMentionsError, type GetLinkedInMentionsResponse, type GetLinkedInOrganizationsData, type GetLinkedInOrganizationsError, type GetLinkedInOrganizationsResponse, type GetLinkedInPostAnalyticsData, type GetLinkedInPostAnalyticsError, type GetLinkedInPostAnalyticsResponse, type GetLinkedInPostReactionsData, type GetLinkedInPostReactionsError, type GetLinkedInPostReactionsResponse, type GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, type GetMessengerMenuData, type GetMessengerMenuError, type GetMessengerMenuResponse, type GetNextQueueSlotData, type GetNextQueueSlotError, type GetNextQueueSlotResponse, type GetPendingOAuthDataData, type GetPendingOAuthDataError, type GetPendingOAuthDataResponse, type GetPinterestBoardsData, type GetPinterestBoardsError, type GetPinterestBoardsResponse, type GetPostData, type GetPostError, type GetPostLogsData, type GetPostLogsError, type GetPostLogsResponse, type GetPostResponse, type GetPostTimelineData, type GetPostTimelineError, type GetPostTimelineResponse, type GetPostingFrequencyData, type GetPostingFrequencyError, type GetPostingFrequencyResponse, type GetProfileData, type GetProfileError, type GetProfileResponse, type GetRedditFeedData, type GetRedditFeedError, type GetRedditFeedResponse, type GetRedditFlairsData, type GetRedditFlairsError, type GetRedditFlairsResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, type GetSequenceData, type GetSequenceError, type GetSequenceResponse, type GetTelegramCommandsData, type GetTelegramCommandsError, type GetTelegramCommandsResponse, type GetTelegramConnectStatusData, type GetTelegramConnectStatusError, type GetTelegramConnectStatusResponse, type GetTikTokCreatorInfoData, type GetTikTokCreatorInfoError, type GetTikTokCreatorInfoResponse, type GetUsageStatsError, type GetUsageStatsResponse, type GetUserData, type GetUserError, type GetUserResponse, type GetWebhookSettingsError, type GetWebhookSettingsResponse, type GetWhatsAppBusinessProfileData, type GetWhatsAppBusinessProfileError, type GetWhatsAppBusinessProfileResponse, type GetWhatsAppDisplayNameData, type GetWhatsAppDisplayNameError, type GetWhatsAppDisplayNameResponse, type GetWhatsAppFlowData, type GetWhatsAppFlowError, type GetWhatsAppFlowJsonData, type GetWhatsAppFlowJsonError, type GetWhatsAppFlowJsonResponse, type GetWhatsAppFlowResponse, type GetWhatsAppGroupChatData, type GetWhatsAppGroupChatError, type GetWhatsAppGroupChatResponse, type GetWhatsAppPhoneNumberData, type GetWhatsAppPhoneNumberError, type GetWhatsAppPhoneNumberResponse, type GetWhatsAppPhoneNumbersData, type GetWhatsAppPhoneNumbersError, type GetWhatsAppPhoneNumbersResponse, type GetWhatsAppTemplateData, type GetWhatsAppTemplateError, type GetWhatsAppTemplateResponse, type GetWhatsAppTemplatesData, type GetWhatsAppTemplatesError, type GetWhatsAppTemplatesResponse, type GetYouTubeDailyViewsData, type GetYouTubeDailyViewsError, type GetYouTubeDailyViewsResponse, type GetYouTubeDemographicsData, type GetYouTubeDemographicsError, type GetYouTubeDemographicsResponse, type GetYoutubePlaylistsData, type GetYoutubePlaylistsError, type GetYoutubePlaylistsResponse, type GoogleBusinessPlatformData, type HandleOAuthCallbackData, type HandleOAuthCallbackError, type HandleOAuthCallbackResponse, type HideInboxCommentData, type HideInboxCommentError, type HideInboxCommentResponse, type InboxWebhookAccount, type InboxWebhookConversation, type InboxWebhookMessage, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, type InstagramAccountInsightsResponse, type InstagramDemographicsResponse, type InstagramPlatformData, Late, LateApiError, type LikeInboxCommentData, type LikeInboxCommentError, type LikeInboxCommentResponse, type LinkedInAggregateAnalyticsDailyResponse, type LinkedInAggregateAnalyticsTotalResponse, type LinkedInPlatformData, type ListAccountGroupsError, type ListAccountGroupsResponse, type ListAccountsData, type ListAccountsError, type ListAccountsResponse, type ListAdAccountsData, type ListAdAccountsError, type ListAdAccountsResponse, type ListAdAudiencesData, type ListAdAudiencesError, type ListAdAudiencesResponse, type ListAdCampaignsData, type ListAdCampaignsError, type ListAdCampaignsResponse, type ListAdsData, type ListAdsError, type ListAdsResponse, type ListApiKeysError, type ListApiKeysResponse, type ListBroadcastRecipientsData, type ListBroadcastRecipientsError, type ListBroadcastRecipientsResponse, type ListBroadcastsData, type ListBroadcastsError, type ListBroadcastsResponse, type ListCommentAutomationLogsData, type ListCommentAutomationLogsError, type ListCommentAutomationLogsResponse, type ListCommentAutomationsData, type ListCommentAutomationsError, type ListCommentAutomationsResponse, type ListContactsData, type ListContactsError, type ListContactsResponse, type ListCustomFieldsData, type ListCustomFieldsError, type ListCustomFieldsResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListGoogleBusinessMediaData, type ListGoogleBusinessMediaError, type ListGoogleBusinessMediaResponse, type ListGoogleBusinessPlaceActionsData, type ListGoogleBusinessPlaceActionsError, type ListGoogleBusinessPlaceActionsResponse, type ListInboxCommentsData, type ListInboxCommentsError, type ListInboxCommentsResponse, type ListInboxConversationsData, type ListInboxConversationsError, type ListInboxConversationsResponse, type ListInboxReviewsData, type ListInboxReviewsError, type ListInboxReviewsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListLogsData, type ListLogsError, type ListLogsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSequenceEnrollmentsData, type ListSequenceEnrollmentsError, type ListSequenceEnrollmentsResponse, type ListSequencesData, type ListSequencesError, type ListSequencesResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type ListWhatsAppFlowsData, type ListWhatsAppFlowsError, type ListWhatsAppFlowsResponse, type ListWhatsAppGroupChatsData, type ListWhatsAppGroupChatsError, type ListWhatsAppGroupChatsResponse, type ListWhatsAppGroupJoinRequestsData, type ListWhatsAppGroupJoinRequestsError, type ListWhatsAppGroupJoinRequestsResponse, type MediaItem, type MediaUploadResponse, type Money, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PauseSequenceData, type PauseSequenceError, type PauseSequenceResponse, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostLog, type PostRetryResponse, type PostUpdateResponse, type PostsListResponse, type PreviewQueueData, type PreviewQueueError, type PreviewQueueResponse, type Profile, type ProfileCreateResponse, type ProfileDeleteResponse, type ProfileGetResponse, type ProfileUpdateResponse, type ProfilesListResponse, type PublishWhatsAppFlowData, type PublishWhatsAppFlowError, type PublishWhatsAppFlowResponse, type PurchaseWhatsAppPhoneNumberData, type PurchaseWhatsAppPhoneNumberError, type PurchaseWhatsAppPhoneNumberResponse, type QueueDeleteResponse, type QueueNextSlotResponse, type QueuePreviewResponse, type QueueSchedule, type QueueSlot, type QueueSlotsResponse, type QueueUpdateResponse, RateLimitError, type RecyclingConfig, type RecyclingState, type RedditPlatformData, type RedditPost, type RejectWhatsAppGroupJoinRequestsData, type RejectWhatsAppGroupJoinRequestsError, type RejectWhatsAppGroupJoinRequestsResponse, type ReleaseWhatsAppPhoneNumberData, type ReleaseWhatsAppPhoneNumberError, type ReleaseWhatsAppPhoneNumberResponse, type RemoveBookmarkData, type RemoveBookmarkError, type RemoveBookmarkResponse, type RemoveMessageReactionData, type RemoveMessageReactionError, type RemoveMessageReactionResponse, type RemoveWhatsAppGroupParticipantsData, type RemoveWhatsAppGroupParticipantsError, type RemoveWhatsAppGroupParticipantsResponse, type ReplyToInboxPostData, type ReplyToInboxPostError, type ReplyToInboxPostResponse, type ReplyToInboxReviewData, type ReplyToInboxReviewError, type ReplyToInboxReviewResponse, type RetryPostData, type RetryPostError, type RetryPostResponse, type RetweetPostData, type RetweetPostError, type RetweetPostResponse, type ScheduleBroadcastData, type ScheduleBroadcastError, type ScheduleBroadcastResponse, type SearchAdInterestsData, type SearchAdInterestsError, type SearchAdInterestsResponse, type SearchRedditData, type SearchRedditError, type SearchRedditResponse, type SelectFacebookPageData, type SelectFacebookPageError, type SelectFacebookPageResponse, type SelectGoogleBusinessLocationData, type SelectGoogleBusinessLocationError, type SelectGoogleBusinessLocationResponse, type SelectLinkedInOrganizationData, type SelectLinkedInOrganizationError, type SelectLinkedInOrganizationResponse, type SelectPinterestBoardData, type SelectPinterestBoardError, type SelectPinterestBoardResponse, type SelectSnapchatProfileData, type SelectSnapchatProfileError, type SelectSnapchatProfileResponse, type SendBroadcastData, type SendBroadcastError, type SendBroadcastResponse, type SendInboxMessageData, type SendInboxMessageError, type SendInboxMessageResponse, type SendPrivateReplyToCommentData, type SendPrivateReplyToCommentError, type SendPrivateReplyToCommentResponse, type SendTypingIndicatorData, type SendTypingIndicatorError, type SendTypingIndicatorResponse, type SendWhatsAppFlowMessageData, type SendWhatsAppFlowMessageError, type SendWhatsAppFlowMessageResponse, type SetContactFieldValueData, type SetContactFieldValueError, type SetContactFieldValueResponse, type SetInstagramIceBreakersData, type SetInstagramIceBreakersError, type SetInstagramIceBreakersResponse, type SetMessengerMenuData, type SetMessengerMenuError, type SetMessengerMenuResponse, type SetTelegramCommandsData, type SetTelegramCommandsError, type SetTelegramCommandsResponse, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TwitterPlatformData, type UndoRetweetData, type UndoRetweetError, type UndoRetweetResponse, type UnenrollContactData, type UnenrollContactError, type UnenrollContactResponse, type UnfollowUserData, type UnfollowUserError, type UnfollowUserResponse, type UnhideInboxCommentData, type UnhideInboxCommentError, type UnhideInboxCommentResponse, type UnlikeInboxCommentData, type UnlikeInboxCommentError, type UnlikeInboxCommentResponse, type UnpublishPostData, type UnpublishPostError, type UnpublishPostResponse, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateAdCampaignStatusData, type UpdateAdCampaignStatusError, type UpdateAdCampaignStatusResponse, type UpdateAdData, type UpdateAdError, type UpdateAdResponse, type UpdateBroadcastData, type UpdateBroadcastError, type UpdateBroadcastResponse, type UpdateCommentAutomationData, type UpdateCommentAutomationError, type UpdateCommentAutomationResponse, type UpdateContactData, type UpdateContactError, type UpdateContactResponse, type UpdateCustomFieldData, type UpdateCustomFieldError, type UpdateCustomFieldResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, type UpdateGmbLocationData, type UpdateGmbLocationError, type UpdateGmbLocationResponse, type UpdateGoogleBusinessAttributesData, type UpdateGoogleBusinessAttributesError, type UpdateGoogleBusinessAttributesResponse, type UpdateGoogleBusinessFoodMenusData, type UpdateGoogleBusinessFoodMenusError, type UpdateGoogleBusinessFoodMenusResponse, type UpdateGoogleBusinessLocationDetailsData, type UpdateGoogleBusinessLocationDetailsError, type UpdateGoogleBusinessLocationDetailsResponse, type UpdateInboxConversationData, type UpdateInboxConversationError, type UpdateInboxConversationResponse, type UpdateLinkedInOrganizationData, type UpdateLinkedInOrganizationError, type UpdateLinkedInOrganizationResponse, type UpdatePinterestBoardsData, type UpdatePinterestBoardsError, type UpdatePinterestBoardsResponse, type UpdatePostData, type UpdatePostError, type UpdatePostMetadataData, type UpdatePostMetadataError, type UpdatePostMetadataResponse, type UpdatePostResponse, type UpdateProfileData, type UpdateProfileError, type UpdateProfileResponse, type UpdateQueueSlotData, type UpdateQueueSlotError, type UpdateQueueSlotResponse, type UpdateRedditSubredditsData, type UpdateRedditSubredditsError, type UpdateRedditSubredditsResponse, type UpdateSequenceData, type UpdateSequenceError, type UpdateSequenceResponse, type UpdateWebhookSettingsData, type UpdateWebhookSettingsError, type UpdateWebhookSettingsResponse, type UpdateWhatsAppBusinessProfileData, type UpdateWhatsAppBusinessProfileError, type UpdateWhatsAppBusinessProfileResponse, type UpdateWhatsAppDisplayNameData, type UpdateWhatsAppDisplayNameError, type UpdateWhatsAppDisplayNameResponse, type UpdateWhatsAppFlowData, type UpdateWhatsAppFlowError, type UpdateWhatsAppFlowResponse, type UpdateWhatsAppGroupChatData, type UpdateWhatsAppGroupChatError, type UpdateWhatsAppGroupChatResponse, type UpdateWhatsAppTemplateData, type UpdateWhatsAppTemplateError, type UpdateWhatsAppTemplateResponse, type UpdateYoutubeDefaultPlaylistData, type UpdateYoutubeDefaultPlaylistError, type UpdateYoutubeDefaultPlaylistResponse, type UploadMediaDirectData, type UploadMediaDirectError, type UploadMediaDirectResponse, type UploadTokenResponse, type UploadTokenStatusResponse, type UploadWhatsAppFlowJsonData, type UploadWhatsAppFlowJsonError, type UploadWhatsAppFlowJsonResponse, type UploadWhatsAppProfilePhotoData, type UploadWhatsAppProfilePhotoError, type UploadWhatsAppProfilePhotoResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, type ValidateMediaData, type ValidateMediaError, type ValidateMediaResponse, type ValidatePostData, type ValidatePostError, type ValidatePostLengthData, type ValidatePostLengthError, type ValidatePostLengthResponse, type ValidatePostResponse, type ValidateSubredditData, type ValidateSubredditError, type ValidateSubredditResponse, ValidationError, type Webhook, type WebhookPayloadAccountConnected, type WebhookPayloadAccountDisconnected, type WebhookPayloadComment, type WebhookPayloadMessage, type WebhookPayloadMessageDeleted, type WebhookPayloadMessageDeliveryStatus, type WebhookPayloadMessageEdited, type WebhookPayloadMessageSent, type WebhookPayloadPost, type WebhookPayloadTest, type WhatsAppBodyComponent, type WhatsAppButtonsComponent, type WhatsAppFooterComponent, type WhatsAppHeaderComponent, type WhatsAppTemplateButton, type WhatsAppTemplateComponent, type YouTubeDailyViewsResponse, type YouTubeDemographicsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, Zernio, ZernioApiError, type action, type adType, type aggregation, type aggregation2, type aggregation3, type billingPeriod, type commercialContentType, type contentType, type contentType2, type contentType3, Zernio as default, type direction, type disconnectionType, type errorCategory, type errorSource, type event, type event10, type event2, type event3, type event4, type event5, type event6, type event7, type event8, type event9, type format, type gapFreq, type goal, type graduationStrategy, type mediaType, type mediaType2, type metric, type metricType, type otp_type, parseApiError, type parseMode, type permission, type platform, type platform2, type platform3, type platform4, type platform5, type replySettings, type scope, type status, type status2, type status3, type status4, type status5, type status6, type status7, type syncStatus, type syncStatus2, type timeframe, type type, type type2, type type3, type type4, type type5, type visibility };
|