@zernio/node 0.2.56 → 0.2.58
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 +192 -1310
- package/dist/index.d.ts +192 -1310
- 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 +234 -1411
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>;
|
|
@@ -702,6 +676,43 @@ type Ad = {
|
|
|
702
676
|
platformAdSetId?: string;
|
|
703
677
|
campaignName?: string;
|
|
704
678
|
adSetName?: string;
|
|
679
|
+
/**
|
|
680
|
+
* Raw Meta campaign objective (e.g. OUTCOME_SALES, OUTCOME_LEADS, OUTCOME_TRAFFIC). Only present for Meta ads.
|
|
681
|
+
*/
|
|
682
|
+
platformObjective?: (string) | null;
|
|
683
|
+
/**
|
|
684
|
+
* Meta ad set optimization goal (e.g. OFFSITE_CONVERSIONS, VALUE, LEAD_GENERATION, LINK_CLICKS). Only present for Meta ads.
|
|
685
|
+
*/
|
|
686
|
+
optimizationGoal?: (string) | null;
|
|
687
|
+
/**
|
|
688
|
+
* Bid strategy (e.g. LOWEST_COST_WITHOUT_CAP, COST_CAP, LOWEST_COST_WITH_MIN_ROAS). Ad set level overrides campaign level. Only present for Meta ads.
|
|
689
|
+
*/
|
|
690
|
+
bidStrategy?: (string) | null;
|
|
691
|
+
/**
|
|
692
|
+
* Meta promoted object containing conversion event details. Structure varies by objective. Only present for Meta ads.
|
|
693
|
+
*/
|
|
694
|
+
promotedObject?: {
|
|
695
|
+
/**
|
|
696
|
+
* Conversion event type (e.g. PURCHASE, LEAD, COMPLETE_REGISTRATION, ADD_TO_CART)
|
|
697
|
+
*/
|
|
698
|
+
custom_event_type?: string;
|
|
699
|
+
/**
|
|
700
|
+
* Meta pixel ID
|
|
701
|
+
*/
|
|
702
|
+
pixel_id?: string;
|
|
703
|
+
/**
|
|
704
|
+
* Facebook page ID
|
|
705
|
+
*/
|
|
706
|
+
page_id?: string;
|
|
707
|
+
/**
|
|
708
|
+
* Facebook app ID
|
|
709
|
+
*/
|
|
710
|
+
application_id?: string;
|
|
711
|
+
/**
|
|
712
|
+
* Product catalog set ID
|
|
713
|
+
*/
|
|
714
|
+
product_set_id?: string;
|
|
715
|
+
} | null;
|
|
705
716
|
/**
|
|
706
717
|
* Platform-specific creative data. Fields vary by platform.
|
|
707
718
|
*/
|
|
@@ -783,6 +794,26 @@ type AdCampaign = {
|
|
|
783
794
|
platformAdAccountId?: string;
|
|
784
795
|
accountId?: string;
|
|
785
796
|
profileId?: string;
|
|
797
|
+
/**
|
|
798
|
+
* Raw Meta campaign objective (e.g. OUTCOME_SALES, OUTCOME_LEADS, OUTCOME_TRAFFIC)
|
|
799
|
+
*/
|
|
800
|
+
platformObjective?: (string) | null;
|
|
801
|
+
/**
|
|
802
|
+
* Meta optimization goal. String if all ad sets share the same goal, array of distinct values if they differ.
|
|
803
|
+
*/
|
|
804
|
+
optimizationGoal?: ((string | Array<(string)>) | null);
|
|
805
|
+
/**
|
|
806
|
+
* Campaign-level bid strategy (e.g. LOWEST_COST_WITHOUT_CAP, COST_CAP, LOWEST_COST_WITH_MIN_ROAS)
|
|
807
|
+
*/
|
|
808
|
+
bidStrategy?: (string) | null;
|
|
809
|
+
/**
|
|
810
|
+
* Meta promoted object at campaign level (conversion event details)
|
|
811
|
+
*/
|
|
812
|
+
promotedObject?: {
|
|
813
|
+
custom_event_type?: string;
|
|
814
|
+
pixel_id?: string;
|
|
815
|
+
page_id?: string;
|
|
816
|
+
} | null;
|
|
786
817
|
earliestAd?: string;
|
|
787
818
|
latestAd?: string;
|
|
788
819
|
};
|
|
@@ -825,6 +856,22 @@ type AdTreeAdSet = {
|
|
|
825
856
|
type?: 'daily' | 'lifetime';
|
|
826
857
|
} | null;
|
|
827
858
|
metrics?: AdMetrics;
|
|
859
|
+
/**
|
|
860
|
+
* Meta ad set optimization goal (e.g. OFFSITE_CONVERSIONS, VALUE, LEAD_GENERATION)
|
|
861
|
+
*/
|
|
862
|
+
optimizationGoal?: (string) | null;
|
|
863
|
+
/**
|
|
864
|
+
* Bid strategy for this ad set (overrides campaign level when set)
|
|
865
|
+
*/
|
|
866
|
+
bidStrategy?: (string) | null;
|
|
867
|
+
/**
|
|
868
|
+
* Meta promoted object for this ad set (conversion event details)
|
|
869
|
+
*/
|
|
870
|
+
promotedObject?: {
|
|
871
|
+
custom_event_type?: string;
|
|
872
|
+
pixel_id?: string;
|
|
873
|
+
page_id?: string;
|
|
874
|
+
} | null;
|
|
828
875
|
/**
|
|
829
876
|
* Individual ads within this ad set (capped at 100). Returns a subset of Ad fields from the aggregation (core fields like _id, name, platform, status, budget, metrics, creative, goal are included; targeting and schedule may be absent).
|
|
830
877
|
*/
|
|
@@ -854,6 +901,26 @@ type AdTreeCampaign = {
|
|
|
854
901
|
platformAdAccountId?: string;
|
|
855
902
|
accountId?: string;
|
|
856
903
|
profileId?: string;
|
|
904
|
+
/**
|
|
905
|
+
* Raw Meta campaign objective (e.g. OUTCOME_SALES, OUTCOME_LEADS, OUTCOME_TRAFFIC)
|
|
906
|
+
*/
|
|
907
|
+
platformObjective?: (string) | null;
|
|
908
|
+
/**
|
|
909
|
+
* Meta optimization goal. String if all ad sets share the same goal, array of distinct values if they differ.
|
|
910
|
+
*/
|
|
911
|
+
optimizationGoal?: ((string | Array<(string)>) | null);
|
|
912
|
+
/**
|
|
913
|
+
* Campaign-level bid strategy (e.g. LOWEST_COST_WITHOUT_CAP, COST_CAP, LOWEST_COST_WITH_MIN_ROAS)
|
|
914
|
+
*/
|
|
915
|
+
bidStrategy?: (string) | null;
|
|
916
|
+
/**
|
|
917
|
+
* Meta promoted object at campaign level (conversion event details)
|
|
918
|
+
*/
|
|
919
|
+
promotedObject?: {
|
|
920
|
+
custom_event_type?: string;
|
|
921
|
+
pixel_id?: string;
|
|
922
|
+
page_id?: string;
|
|
923
|
+
} | null;
|
|
857
924
|
adSets?: Array<AdTreeAdSet>;
|
|
858
925
|
};
|
|
859
926
|
type AnalyticsListResponse = {
|
|
@@ -1018,98 +1085,6 @@ type BlueskyPlatformData = {
|
|
|
1018
1085
|
mediaItems?: Array<MediaItem>;
|
|
1019
1086
|
}>;
|
|
1020
1087
|
};
|
|
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' | 'discord';
|
|
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' | 'discord';
|
|
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
1088
|
type ErrorResponse = {
|
|
1114
1089
|
error?: string;
|
|
1115
1090
|
details?: {
|
|
@@ -1333,7 +1308,7 @@ type InboxWebhookMessage = {
|
|
|
1333
1308
|
sentAt: string;
|
|
1334
1309
|
isRead: boolean;
|
|
1335
1310
|
};
|
|
1336
|
-
type
|
|
1311
|
+
type platform2 = 'instagram' | 'facebook' | 'telegram' | 'whatsapp';
|
|
1337
1312
|
type direction = 'incoming' | 'outgoing';
|
|
1338
1313
|
type InstagramAccountInsightsResponse = {
|
|
1339
1314
|
success?: boolean;
|
|
@@ -1906,6 +1881,7 @@ type PostLog = {
|
|
|
1906
1881
|
attemptNumber?: number;
|
|
1907
1882
|
createdAt?: string;
|
|
1908
1883
|
};
|
|
1884
|
+
type platform3 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord';
|
|
1909
1885
|
/**
|
|
1910
1886
|
* Type of action logged: publish (initial attempt), retry (after failure), media_upload, rate_limit_pause, token_refresh, cancelled
|
|
1911
1887
|
*/
|
|
@@ -2228,19 +2204,6 @@ type SocialAccount = {
|
|
|
2228
2204
|
*
|
|
2229
2205
|
*/
|
|
2230
2206
|
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
2207
|
/**
|
|
2245
2208
|
* Platform-specific metadata. Fields vary by platform. For WhatsApp accounts, includes:
|
|
2246
2209
|
* - `qualityRating`: Phone number quality rating from Meta (`GREEN`, `YELLOW`, `RED`, or `UNKNOWN`)
|
|
@@ -2257,19 +2220,6 @@ type SocialAccount = {
|
|
|
2257
2220
|
};
|
|
2258
2221
|
};
|
|
2259
2222
|
type platform4 = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'discord' | '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';
|
|
2273
2223
|
/**
|
|
2274
2224
|
* 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
2225
|
*/
|
|
@@ -2550,52 +2500,6 @@ type Webhook = {
|
|
|
2550
2500
|
[key: string]: (string);
|
|
2551
2501
|
};
|
|
2552
2502
|
};
|
|
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
2503
|
/**
|
|
2600
2504
|
* Webhook payload for account connected events
|
|
2601
2505
|
*/
|
|
@@ -2620,7 +2524,7 @@ type WebhookPayloadAccountConnected = {
|
|
|
2620
2524
|
};
|
|
2621
2525
|
timestamp: string;
|
|
2622
2526
|
};
|
|
2623
|
-
type
|
|
2527
|
+
type event = 'account.connected';
|
|
2624
2528
|
/**
|
|
2625
2529
|
* Webhook payload for account disconnected events
|
|
2626
2530
|
*/
|
|
@@ -2653,7 +2557,7 @@ type WebhookPayloadAccountDisconnected = {
|
|
|
2653
2557
|
};
|
|
2654
2558
|
timestamp: string;
|
|
2655
2559
|
};
|
|
2656
|
-
type
|
|
2560
|
+
type event2 = 'account.disconnected';
|
|
2657
2561
|
/**
|
|
2658
2562
|
* Whether the disconnection was intentional (user action) or unintentional (token expired/revoked)
|
|
2659
2563
|
*/
|
|
@@ -2724,7 +2628,7 @@ type WebhookPayloadComment = {
|
|
|
2724
2628
|
};
|
|
2725
2629
|
timestamp: string;
|
|
2726
2630
|
};
|
|
2727
|
-
type
|
|
2631
|
+
type event3 = 'comment.received';
|
|
2728
2632
|
type platform5 = 'instagram' | 'facebook' | 'twitter' | 'youtube' | 'linkedin' | 'bluesky' | 'reddit';
|
|
2729
2633
|
/**
|
|
2730
2634
|
* Webhook payload for message received events
|
|
@@ -2841,7 +2745,7 @@ type WebhookPayloadMessage = {
|
|
|
2841
2745
|
} | null;
|
|
2842
2746
|
timestamp: string;
|
|
2843
2747
|
};
|
|
2844
|
-
type
|
|
2748
|
+
type event4 = 'message.received';
|
|
2845
2749
|
/**
|
|
2846
2750
|
* Webhook payload for `message.deleted` events. Fires when the sender
|
|
2847
2751
|
* deletes (unsends) a message. Supported platforms: Instagram (incoming
|
|
@@ -2863,7 +2767,7 @@ type WebhookPayloadMessageDeleted = {
|
|
|
2863
2767
|
account: InboxWebhookAccount;
|
|
2864
2768
|
timestamp: string;
|
|
2865
2769
|
};
|
|
2866
|
-
type
|
|
2770
|
+
type event5 = 'message.deleted';
|
|
2867
2771
|
/**
|
|
2868
2772
|
* Shared payload for `message.delivered`, `message.read`, and
|
|
2869
2773
|
* `message.failed` events. Fires when the platform reports a new
|
|
@@ -2896,7 +2800,7 @@ type WebhookPayloadMessageDeliveryStatus = {
|
|
|
2896
2800
|
account: InboxWebhookAccount;
|
|
2897
2801
|
timestamp: string;
|
|
2898
2802
|
};
|
|
2899
|
-
type
|
|
2803
|
+
type event6 = 'message.delivered' | 'message.read' | 'message.failed';
|
|
2900
2804
|
/**
|
|
2901
2805
|
* Webhook payload for `message.edited` events. Fires when the sender
|
|
2902
2806
|
* edits a previously-sent message. Supported platforms: Instagram,
|
|
@@ -2936,7 +2840,7 @@ type WebhookPayloadMessageEdited = {
|
|
|
2936
2840
|
account: InboxWebhookAccount;
|
|
2937
2841
|
timestamp: string;
|
|
2938
2842
|
};
|
|
2939
|
-
type
|
|
2843
|
+
type event7 = 'message.edited';
|
|
2940
2844
|
/**
|
|
2941
2845
|
* Webhook payload for message sent events (fired when a message is sent via the API)
|
|
2942
2846
|
*/
|
|
@@ -3010,7 +2914,7 @@ type WebhookPayloadMessageSent = {
|
|
|
3010
2914
|
};
|
|
3011
2915
|
timestamp: string;
|
|
3012
2916
|
};
|
|
3013
|
-
type
|
|
2917
|
+
type event8 = 'message.sent';
|
|
3014
2918
|
/**
|
|
3015
2919
|
* Webhook payload for post events
|
|
3016
2920
|
*/
|
|
@@ -3036,7 +2940,7 @@ type WebhookPayloadPost = {
|
|
|
3036
2940
|
};
|
|
3037
2941
|
timestamp: string;
|
|
3038
2942
|
};
|
|
3039
|
-
type
|
|
2943
|
+
type event9 = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled';
|
|
3040
2944
|
/**
|
|
3041
2945
|
* Webhook payload for test deliveries
|
|
3042
2946
|
*/
|
|
@@ -3052,7 +2956,7 @@ type WebhookPayloadTest = {
|
|
|
3052
2956
|
message: string;
|
|
3053
2957
|
timestamp: string;
|
|
3054
2958
|
};
|
|
3055
|
-
type
|
|
2959
|
+
type event10 = 'webhook.test';
|
|
3056
2960
|
type WhatsAppBodyComponent = {
|
|
3057
2961
|
type: 'body';
|
|
3058
2962
|
/**
|
|
@@ -4625,26 +4529,6 @@ type DeleteAccountResponse = ({
|
|
|
4625
4529
|
type DeleteAccountError = ({
|
|
4626
4530
|
error?: string;
|
|
4627
4531
|
});
|
|
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
4532
|
type GetAllAccountsHealthData = {
|
|
4649
4533
|
query?: {
|
|
4650
4534
|
/**
|
|
@@ -7172,130 +7056,6 @@ type ListLogsResponse = ({
|
|
|
7172
7056
|
type ListLogsError = ({
|
|
7173
7057
|
error?: string;
|
|
7174
7058
|
});
|
|
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
7059
|
type GetPostLogsData = {
|
|
7300
7060
|
path: {
|
|
7301
7061
|
/**
|
|
@@ -8765,1059 +8525,181 @@ type DeleteInboxReviewReplyResponse = ({
|
|
|
8765
8525
|
type DeleteInboxReviewReplyError = ({
|
|
8766
8526
|
error?: string;
|
|
8767
8527
|
} | unknown);
|
|
8768
|
-
type
|
|
8769
|
-
|
|
8528
|
+
type GetWhatsAppTemplatesData = {
|
|
8529
|
+
query: {
|
|
8770
8530
|
/**
|
|
8771
8531
|
* WhatsApp social account ID
|
|
8772
8532
|
*/
|
|
8773
8533
|
accountId: string;
|
|
8534
|
+
};
|
|
8535
|
+
};
|
|
8536
|
+
type GetWhatsAppTemplatesResponse = ({
|
|
8537
|
+
success?: boolean;
|
|
8538
|
+
templates?: Array<{
|
|
8774
8539
|
/**
|
|
8775
|
-
*
|
|
8540
|
+
* WhatsApp template ID
|
|
8776
8541
|
*/
|
|
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
|
-
};
|
|
8806
|
-
};
|
|
8807
|
-
type SendWhatsAppBulkResponse = ({
|
|
8808
|
-
success?: boolean;
|
|
8809
|
-
summary?: {
|
|
8810
|
-
total?: number;
|
|
8811
|
-
sent?: number;
|
|
8812
|
-
failed?: number;
|
|
8813
|
-
};
|
|
8814
|
-
results?: Array<{
|
|
8815
|
-
phone?: string;
|
|
8816
|
-
success?: boolean;
|
|
8817
|
-
messageId?: string;
|
|
8818
|
-
error?: string;
|
|
8819
|
-
}>;
|
|
8820
|
-
});
|
|
8821
|
-
type SendWhatsAppBulkError = (unknown | {
|
|
8822
|
-
error?: string;
|
|
8823
|
-
});
|
|
8824
|
-
type GetWhatsAppContactsData = {
|
|
8825
|
-
query: {
|
|
8826
|
-
/**
|
|
8827
|
-
* WhatsApp social account ID
|
|
8828
|
-
*/
|
|
8829
|
-
accountId: string;
|
|
8830
|
-
/**
|
|
8831
|
-
* Filter by group
|
|
8832
|
-
*/
|
|
8833
|
-
group?: string;
|
|
8834
|
-
/**
|
|
8835
|
-
* Maximum results (default 50)
|
|
8836
|
-
*/
|
|
8837
|
-
limit?: number;
|
|
8838
|
-
/**
|
|
8839
|
-
* Filter by opt-in status
|
|
8840
|
-
*/
|
|
8841
|
-
optedIn?: 'true' | 'false';
|
|
8842
|
-
/**
|
|
8843
|
-
* Search contacts by name, phone, email, or company
|
|
8844
|
-
*/
|
|
8845
|
-
search?: string;
|
|
8846
|
-
/**
|
|
8847
|
-
* Offset for pagination
|
|
8848
|
-
*/
|
|
8849
|
-
skip?: number;
|
|
8850
|
-
/**
|
|
8851
|
-
* Filter by tag
|
|
8852
|
-
*/
|
|
8853
|
-
tag?: string;
|
|
8854
|
-
};
|
|
8855
|
-
};
|
|
8856
|
-
type GetWhatsAppContactsResponse = ({
|
|
8857
|
-
success?: boolean;
|
|
8858
|
-
contacts?: Array<{
|
|
8859
8542
|
id?: string;
|
|
8860
|
-
phone?: string;
|
|
8861
|
-
waId?: string;
|
|
8862
8543
|
name?: string;
|
|
8863
|
-
|
|
8864
|
-
|
|
8865
|
-
|
|
8866
|
-
|
|
8867
|
-
isOptedIn?: boolean;
|
|
8868
|
-
lastMessageSentAt?: string;
|
|
8869
|
-
lastMessageReceivedAt?: string;
|
|
8870
|
-
messagesSentCount?: number;
|
|
8871
|
-
messagesReceivedCount?: number;
|
|
8872
|
-
customFields?: {
|
|
8544
|
+
status?: 'APPROVED' | 'PENDING' | 'REJECTED';
|
|
8545
|
+
category?: 'AUTHENTICATION' | 'MARKETING' | 'UTILITY';
|
|
8546
|
+
language?: string;
|
|
8547
|
+
components?: Array<{
|
|
8873
8548
|
[key: string]: unknown;
|
|
8874
|
-
}
|
|
8875
|
-
notes?: string;
|
|
8876
|
-
createdAt?: string;
|
|
8549
|
+
}>;
|
|
8877
8550
|
}>;
|
|
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
8551
|
});
|
|
8889
|
-
type
|
|
8552
|
+
type GetWhatsAppTemplatesError = (unknown | {
|
|
8890
8553
|
error?: string;
|
|
8891
8554
|
});
|
|
8892
|
-
type
|
|
8555
|
+
type CreateWhatsAppTemplateData = {
|
|
8893
8556
|
body: {
|
|
8894
8557
|
/**
|
|
8895
8558
|
* WhatsApp social account ID
|
|
8896
8559
|
*/
|
|
8897
8560
|
accountId: string;
|
|
8898
8561
|
/**
|
|
8899
|
-
*
|
|
8900
|
-
*/
|
|
8901
|
-
phone: string;
|
|
8902
|
-
/**
|
|
8903
|
-
* Contact name
|
|
8562
|
+
* Template name (lowercase, letters/numbers/underscores, must start with a letter)
|
|
8904
8563
|
*/
|
|
8905
8564
|
name: string;
|
|
8906
8565
|
/**
|
|
8907
|
-
*
|
|
8908
|
-
*/
|
|
8909
|
-
email?: string;
|
|
8910
|
-
/**
|
|
8911
|
-
* Company name
|
|
8566
|
+
* Template category
|
|
8912
8567
|
*/
|
|
8913
|
-
|
|
8568
|
+
category: 'AUTHENTICATION' | 'MARKETING' | 'UTILITY';
|
|
8914
8569
|
/**
|
|
8915
|
-
*
|
|
8570
|
+
* Template language code (e.g., en_US)
|
|
8916
8571
|
*/
|
|
8917
|
-
|
|
8572
|
+
language: string;
|
|
8918
8573
|
/**
|
|
8919
|
-
*
|
|
8574
|
+
* Template components (header, body, footer, buttons). Required for custom templates, omit when using library_template_name.
|
|
8920
8575
|
*/
|
|
8921
|
-
|
|
8576
|
+
components?: Array<WhatsAppTemplateComponent>;
|
|
8922
8577
|
/**
|
|
8923
|
-
*
|
|
8578
|
+
* Name of a pre-built template from Meta's template library (e.g., "appointment_reminder",
|
|
8579
|
+
* "auto_pay_reminder_1", "address_update"). When provided, the template is pre-approved
|
|
8580
|
+
* by Meta with no review wait. Omit `components` when using this field.
|
|
8581
|
+
*
|
|
8924
8582
|
*/
|
|
8925
|
-
|
|
8583
|
+
library_template_name?: string;
|
|
8926
8584
|
/**
|
|
8927
|
-
*
|
|
8585
|
+
* Optional body customizations for library templates. Available options depend on the
|
|
8586
|
+
* template (e.g., add_contact_number, add_learn_more_link, add_security_recommendation,
|
|
8587
|
+
* add_track_package_link, code_expiration_minutes).
|
|
8588
|
+
*
|
|
8928
8589
|
*/
|
|
8929
|
-
|
|
8930
|
-
[key: string]:
|
|
8590
|
+
library_template_body_inputs?: {
|
|
8591
|
+
[key: string]: unknown;
|
|
8931
8592
|
};
|
|
8932
8593
|
/**
|
|
8933
|
-
*
|
|
8594
|
+
* Optional button customizations for library templates. Each item specifies button type
|
|
8595
|
+
* and configuration (e.g., URL, phone number, quick reply).
|
|
8596
|
+
*
|
|
8934
8597
|
*/
|
|
8935
|
-
|
|
8598
|
+
library_template_button_inputs?: Array<{
|
|
8599
|
+
type?: 'quick_reply' | 'url' | 'phone_number';
|
|
8600
|
+
url?: {
|
|
8601
|
+
base_url?: string;
|
|
8602
|
+
};
|
|
8603
|
+
phone_number?: string;
|
|
8604
|
+
}>;
|
|
8936
8605
|
};
|
|
8937
8606
|
};
|
|
8938
|
-
type
|
|
8607
|
+
type CreateWhatsAppTemplateResponse = ({
|
|
8939
8608
|
success?: boolean;
|
|
8940
|
-
|
|
8609
|
+
template?: {
|
|
8941
8610
|
id?: string;
|
|
8942
|
-
phone?: string;
|
|
8943
8611
|
name?: string;
|
|
8944
|
-
|
|
8945
|
-
|
|
8946
|
-
|
|
8947
|
-
|
|
8948
|
-
|
|
8949
|
-
|
|
8612
|
+
/**
|
|
8613
|
+
* APPROVED for library templates, PENDING for custom
|
|
8614
|
+
*/
|
|
8615
|
+
status?: string;
|
|
8616
|
+
category?: string;
|
|
8617
|
+
language?: string;
|
|
8950
8618
|
};
|
|
8951
8619
|
});
|
|
8952
|
-
type
|
|
8620
|
+
type CreateWhatsAppTemplateError = (unknown | {
|
|
8953
8621
|
error?: string;
|
|
8954
8622
|
});
|
|
8955
|
-
type
|
|
8623
|
+
type GetWhatsAppTemplateData = {
|
|
8956
8624
|
path: {
|
|
8957
8625
|
/**
|
|
8958
|
-
*
|
|
8626
|
+
* Template name
|
|
8627
|
+
*/
|
|
8628
|
+
templateName: string;
|
|
8629
|
+
};
|
|
8630
|
+
query: {
|
|
8631
|
+
/**
|
|
8632
|
+
* WhatsApp social account ID
|
|
8959
8633
|
*/
|
|
8960
|
-
|
|
8634
|
+
accountId: string;
|
|
8961
8635
|
};
|
|
8962
8636
|
};
|
|
8963
|
-
type
|
|
8637
|
+
type GetWhatsAppTemplateResponse = ({
|
|
8964
8638
|
success?: boolean;
|
|
8965
|
-
|
|
8639
|
+
template?: {
|
|
8966
8640
|
id?: string;
|
|
8967
|
-
phone?: string;
|
|
8968
|
-
waId?: string;
|
|
8969
8641
|
name?: string;
|
|
8970
|
-
|
|
8971
|
-
|
|
8972
|
-
|
|
8973
|
-
|
|
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?: {
|
|
8642
|
+
status?: string;
|
|
8643
|
+
category?: string;
|
|
8644
|
+
language?: string;
|
|
8645
|
+
components?: Array<{
|
|
8983
8646
|
[key: string]: unknown;
|
|
8984
|
-
}
|
|
8985
|
-
notes?: string;
|
|
8986
|
-
createdAt?: string;
|
|
8987
|
-
updatedAt?: string;
|
|
8647
|
+
}>;
|
|
8988
8648
|
};
|
|
8989
8649
|
});
|
|
8990
|
-
type
|
|
8650
|
+
type GetWhatsAppTemplateError = (unknown | {
|
|
8991
8651
|
error?: string;
|
|
8992
8652
|
});
|
|
8993
|
-
type
|
|
8653
|
+
type UpdateWhatsAppTemplateData = {
|
|
8994
8654
|
body: {
|
|
8995
8655
|
/**
|
|
8996
|
-
*
|
|
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)
|
|
8656
|
+
* WhatsApp social account ID
|
|
9025
8657
|
*/
|
|
9026
|
-
|
|
9027
|
-
[key: string]: ((string) | null);
|
|
9028
|
-
};
|
|
8658
|
+
accountId: string;
|
|
9029
8659
|
/**
|
|
9030
|
-
*
|
|
8660
|
+
* Updated template components
|
|
9031
8661
|
*/
|
|
9032
|
-
|
|
8662
|
+
components: Array<WhatsAppTemplateComponent>;
|
|
9033
8663
|
};
|
|
9034
8664
|
path: {
|
|
9035
8665
|
/**
|
|
9036
|
-
*
|
|
8666
|
+
* Template name
|
|
9037
8667
|
*/
|
|
9038
|
-
|
|
8668
|
+
templateName: string;
|
|
9039
8669
|
};
|
|
9040
8670
|
};
|
|
9041
|
-
type
|
|
8671
|
+
type UpdateWhatsAppTemplateResponse = ({
|
|
9042
8672
|
success?: boolean;
|
|
9043
|
-
|
|
8673
|
+
template?: {
|
|
9044
8674
|
id?: string;
|
|
9045
|
-
phone?: string;
|
|
9046
8675
|
name?: string;
|
|
9047
|
-
|
|
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;
|
|
8676
|
+
status?: string;
|
|
9058
8677
|
};
|
|
9059
8678
|
});
|
|
9060
|
-
type
|
|
8679
|
+
type UpdateWhatsAppTemplateError = (unknown | {
|
|
9061
8680
|
error?: string;
|
|
9062
8681
|
});
|
|
9063
|
-
type
|
|
8682
|
+
type DeleteWhatsAppTemplateData = {
|
|
9064
8683
|
path: {
|
|
9065
8684
|
/**
|
|
9066
|
-
*
|
|
8685
|
+
* Template name
|
|
9067
8686
|
*/
|
|
9068
|
-
|
|
8687
|
+
templateName: string;
|
|
9069
8688
|
};
|
|
9070
|
-
|
|
9071
|
-
type DeleteWhatsAppContactResponse = ({
|
|
9072
|
-
success?: boolean;
|
|
9073
|
-
message?: string;
|
|
9074
|
-
});
|
|
9075
|
-
type DeleteWhatsAppContactError = ({
|
|
9076
|
-
error?: string;
|
|
9077
|
-
});
|
|
9078
|
-
type ImportWhatsAppContactsData = {
|
|
9079
|
-
body: {
|
|
8689
|
+
query: {
|
|
9080
8690
|
/**
|
|
9081
8691
|
* WhatsApp social account ID
|
|
9082
8692
|
*/
|
|
9083
8693
|
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
8694
|
};
|
|
9118
8695
|
};
|
|
9119
|
-
type
|
|
8696
|
+
type DeleteWhatsAppTemplateResponse = ({
|
|
9120
8697
|
success?: boolean;
|
|
9121
|
-
|
|
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;
|
|
8698
|
+
message?: string;
|
|
9442
8699
|
});
|
|
9443
8700
|
type DeleteWhatsAppTemplateError = (unknown | {
|
|
9444
8701
|
error?: string;
|
|
9445
8702
|
});
|
|
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
|
|
9513
|
-
*/
|
|
9514
|
-
description?: string;
|
|
9515
|
-
template: {
|
|
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
|
-
}>;
|
|
9530
|
-
};
|
|
9531
|
-
/**
|
|
9532
|
-
* Initial recipients (optional)
|
|
9533
|
-
*/
|
|
9534
|
-
recipients?: Array<{
|
|
9535
|
-
/**
|
|
9536
|
-
* Phone number in E.164 format
|
|
9537
|
-
*/
|
|
9538
|
-
phone: string;
|
|
9539
|
-
name?: string;
|
|
9540
|
-
/**
|
|
9541
|
-
* Per-recipient template variables
|
|
9542
|
-
*/
|
|
9543
|
-
variables?: {
|
|
9544
|
-
[key: string]: (string);
|
|
9545
|
-
};
|
|
9546
|
-
}>;
|
|
9547
|
-
};
|
|
9548
|
-
};
|
|
9549
|
-
type CreateWhatsAppBroadcastResponse = ({
|
|
9550
|
-
success?: boolean;
|
|
9551
|
-
broadcast?: {
|
|
9552
|
-
id?: string;
|
|
9553
|
-
name?: string;
|
|
9554
|
-
description?: string;
|
|
9555
|
-
template?: {
|
|
9556
|
-
[key: string]: unknown;
|
|
9557
|
-
};
|
|
9558
|
-
/**
|
|
9559
|
-
* Always "draft" for new broadcasts
|
|
9560
|
-
*/
|
|
9561
|
-
status?: string;
|
|
9562
|
-
recipientCount?: number;
|
|
9563
|
-
createdAt?: string;
|
|
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;
|
|
9608
|
-
};
|
|
9609
|
-
};
|
|
9610
|
-
type DeleteWhatsAppBroadcastResponse = ({
|
|
9611
|
-
success?: boolean;
|
|
9612
|
-
message?: string;
|
|
9613
|
-
});
|
|
9614
|
-
type DeleteWhatsAppBroadcastError = (unknown | {
|
|
9615
|
-
error?: string;
|
|
9616
|
-
});
|
|
9617
|
-
type SendWhatsAppBroadcastData = {
|
|
9618
|
-
path: {
|
|
9619
|
-
/**
|
|
9620
|
-
* Broadcast ID
|
|
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)
|
|
9651
|
-
*/
|
|
9652
|
-
scheduledAt: string;
|
|
9653
|
-
};
|
|
9654
|
-
path: {
|
|
9655
|
-
/**
|
|
9656
|
-
* Broadcast ID
|
|
9657
|
-
*/
|
|
9658
|
-
broadcastId: string;
|
|
9659
|
-
};
|
|
9660
|
-
};
|
|
9661
|
-
type ScheduleWhatsAppBroadcastResponse = ({
|
|
9662
|
-
success?: boolean;
|
|
9663
|
-
broadcast?: {
|
|
9664
|
-
id?: string;
|
|
9665
|
-
/**
|
|
9666
|
-
* "scheduled"
|
|
9667
|
-
*/
|
|
9668
|
-
status?: string;
|
|
9669
|
-
scheduledAt?: string;
|
|
9670
|
-
};
|
|
9671
|
-
});
|
|
9672
|
-
type ScheduleWhatsAppBroadcastError = (unknown | {
|
|
9673
|
-
error?: string;
|
|
9674
|
-
});
|
|
9675
|
-
type CancelWhatsAppBroadcastScheduleData = {
|
|
9676
|
-
path: {
|
|
9677
|
-
/**
|
|
9678
|
-
* Broadcast ID
|
|
9679
|
-
*/
|
|
9680
|
-
broadcastId: string;
|
|
9681
|
-
};
|
|
9682
|
-
};
|
|
9683
|
-
type CancelWhatsAppBroadcastScheduleResponse = ({
|
|
9684
|
-
success?: boolean;
|
|
9685
|
-
broadcast?: {
|
|
9686
|
-
id?: string;
|
|
9687
|
-
/**
|
|
9688
|
-
* "draft"
|
|
9689
|
-
*/
|
|
9690
|
-
status?: string;
|
|
9691
|
-
};
|
|
9692
|
-
message?: string;
|
|
9693
|
-
});
|
|
9694
|
-
type CancelWhatsAppBroadcastScheduleError = (unknown | {
|
|
9695
|
-
error?: string;
|
|
9696
|
-
});
|
|
9697
|
-
type GetWhatsAppBroadcastRecipientsData = {
|
|
9698
|
-
path: {
|
|
9699
|
-
/**
|
|
9700
|
-
* Broadcast ID
|
|
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
|
|
9715
|
-
*/
|
|
9716
|
-
status?: 'pending' | 'sent' | 'delivered' | 'read' | 'failed';
|
|
9717
|
-
};
|
|
9718
|
-
};
|
|
9719
|
-
type GetWhatsAppBroadcastRecipientsResponse = ({
|
|
9720
|
-
success?: boolean;
|
|
9721
|
-
recipients?: Array<{
|
|
9722
|
-
phone?: string;
|
|
9723
|
-
name?: string;
|
|
9724
|
-
variables?: {
|
|
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;
|
|
9747
|
-
};
|
|
9748
|
-
});
|
|
9749
|
-
type GetWhatsAppBroadcastRecipientsError = ({
|
|
9750
|
-
error?: string;
|
|
9751
|
-
});
|
|
9752
|
-
type AddWhatsAppBroadcastRecipientsData = {
|
|
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
|
-
};
|
|
9768
|
-
path: {
|
|
9769
|
-
/**
|
|
9770
|
-
* Broadcast ID
|
|
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
|
|
9797
|
-
*/
|
|
9798
|
-
phones: Array<(string)>;
|
|
9799
|
-
};
|
|
9800
|
-
path: {
|
|
9801
|
-
/**
|
|
9802
|
-
* Broadcast ID
|
|
9803
|
-
*/
|
|
9804
|
-
broadcastId: string;
|
|
9805
|
-
};
|
|
9806
|
-
};
|
|
9807
|
-
type RemoveWhatsAppBroadcastRecipientsResponse = ({
|
|
9808
|
-
success?: boolean;
|
|
9809
|
-
/**
|
|
9810
|
-
* Number of recipients removed
|
|
9811
|
-
*/
|
|
9812
|
-
removed?: number;
|
|
9813
|
-
/**
|
|
9814
|
-
* Remaining recipient count
|
|
9815
|
-
*/
|
|
9816
|
-
totalRecipients?: number;
|
|
9817
|
-
});
|
|
9818
|
-
type RemoveWhatsAppBroadcastRecipientsError = (unknown | {
|
|
9819
|
-
error?: string;
|
|
9820
|
-
});
|
|
9821
8703
|
type GetWhatsAppBusinessProfileData = {
|
|
9822
8704
|
query: {
|
|
9823
8705
|
/**
|
|
@@ -12358,4 +11240,4 @@ type AddUsersToAdAudienceError = (unknown | {
|
|
|
12358
11240
|
error?: string;
|
|
12359
11241
|
});
|
|
12360
11242
|
|
|
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 };
|
|
11243
|
+
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 };
|