@getlatedev/node 0.2.397 → 0.2.399
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 +1 -5
- package/dist/index.d.mts +43 -44
- package/dist/index.d.ts +43 -44
- package/dist/index.js +37 -42
- package/dist/index.mjs +37 -42
- package/package.json +1 -1
- package/src/client.ts +35 -41
- package/src/generated/types.gen.ts +6 -2
package/README.md
CHANGED
|
@@ -586,11 +586,6 @@ try {
|
|
|
586
586
|
| `gmbVerifications.fetchGoogleBusinessVerificationOptions()` | Fetch verification options |
|
|
587
587
|
| `gmbVerifications.startGoogleBusinessVerification()` | Start a verification |
|
|
588
588
|
|
|
589
|
-
### Inbox
|
|
590
|
-
| Method | Description |
|
|
591
|
-
|--------|-------------|
|
|
592
|
-
| `inbox.getWhatsAppMedia()` | Download WhatsApp media |
|
|
593
|
-
|
|
594
589
|
### Inbox Analytics
|
|
595
590
|
| Method | Description |
|
|
596
591
|
|--------|-------------|
|
|
@@ -770,6 +765,7 @@ try {
|
|
|
770
765
|
| `whatsapp.getWhatsAppDataset()` | Get CTWA conversions dataset |
|
|
771
766
|
| `whatsapp.getWhatsAppDisplayName()` | Get display name status |
|
|
772
767
|
| `whatsapp.getWhatsAppGroupChat()` | Get group info |
|
|
768
|
+
| `whatsapp.getWhatsAppMedia()` | Download WhatsApp media |
|
|
773
769
|
| `whatsapp.getWhatsAppTemplate()` | Get template |
|
|
774
770
|
| `whatsapp.getWhatsAppTemplates()` | List templates |
|
|
775
771
|
| `whatsapp.updateWhatsAppBusinessProfile()` | Update business profile |
|
package/dist/index.d.mts
CHANGED
|
@@ -123,8 +123,8 @@ declare class Zernio {
|
|
|
123
123
|
* Reddit API - Search and feed
|
|
124
124
|
*/
|
|
125
125
|
reddit: {
|
|
126
|
-
searchReddit: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SearchRedditData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SearchRedditResponse,
|
|
127
|
-
getRedditFeed: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetRedditFeedData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetRedditFeedResponse,
|
|
126
|
+
searchReddit: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SearchRedditData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SearchRedditResponse, SearchRedditError, ThrowOnError>;
|
|
127
|
+
getRedditFeed: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetRedditFeedData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetRedditFeedResponse, GetRedditFeedError, ThrowOnError>;
|
|
128
128
|
};
|
|
129
129
|
/**
|
|
130
130
|
* Usage API - Get usage statistics
|
|
@@ -398,10 +398,43 @@ declare class Zernio {
|
|
|
398
398
|
uploadMediaDirect: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UploadMediaDirectData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UploadMediaDirectResponse, unknown, ThrowOnError>;
|
|
399
399
|
};
|
|
400
400
|
/**
|
|
401
|
-
*
|
|
401
|
+
* whatsapp API
|
|
402
402
|
*/
|
|
403
|
-
|
|
403
|
+
whatsapp: {
|
|
404
404
|
getWhatsAppMedia: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppMediaData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppMediaResponse, unknown, ThrowOnError>;
|
|
405
|
+
getWhatsAppTemplates: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppTemplatesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppTemplatesResponse, unknown, ThrowOnError>;
|
|
406
|
+
createWhatsAppTemplate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateWhatsAppTemplateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateWhatsAppTemplateResponse, unknown, ThrowOnError>;
|
|
407
|
+
getWhatsAppTemplate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppTemplateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppTemplateResponse, unknown, ThrowOnError>;
|
|
408
|
+
updateWhatsAppTemplate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateWhatsAppTemplateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateWhatsAppTemplateResponse, unknown, ThrowOnError>;
|
|
409
|
+
deleteWhatsAppTemplate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteWhatsAppTemplateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteWhatsAppTemplateResponse, unknown, ThrowOnError>;
|
|
410
|
+
getWhatsAppBusinessProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppBusinessProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppBusinessProfileResponse, unknown, ThrowOnError>;
|
|
411
|
+
updateWhatsAppBusinessProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateWhatsAppBusinessProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateWhatsAppBusinessProfileResponse, unknown, ThrowOnError>;
|
|
412
|
+
uploadWhatsAppProfilePhoto: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UploadWhatsAppProfilePhotoData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UploadWhatsAppProfilePhotoResponse, unknown, ThrowOnError>;
|
|
413
|
+
getWhatsAppDisplayName: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppDisplayNameData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppDisplayNameResponse, unknown, ThrowOnError>;
|
|
414
|
+
updateWhatsAppDisplayName: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateWhatsAppDisplayNameData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateWhatsAppDisplayNameResponse, unknown, ThrowOnError>;
|
|
415
|
+
getWhatsappBusinessUsername: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsappBusinessUsernameData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsappBusinessUsernameResponse, unknown, ThrowOnError>;
|
|
416
|
+
setWhatsappBusinessUsername: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SetWhatsappBusinessUsernameData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SetWhatsappBusinessUsernameResponse, unknown, ThrowOnError>;
|
|
417
|
+
deleteWhatsappBusinessUsername: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteWhatsappBusinessUsernameData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteWhatsappBusinessUsernameResponse, unknown, ThrowOnError>;
|
|
418
|
+
getWhatsappBusinessUsernameSuggestions: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsappBusinessUsernameSuggestionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsappBusinessUsernameSuggestionsResponse, unknown, ThrowOnError>;
|
|
419
|
+
getWhatsAppBlockStatus: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppBlockStatusData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppBlockStatusResponse, unknown, ThrowOnError>;
|
|
420
|
+
getWhatsAppBlockedUsers: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppBlockedUsersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppBlockedUsersResponse, unknown, ThrowOnError>;
|
|
421
|
+
blockWhatsAppUsers: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<BlockWhatsAppUsersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BlockWhatsAppUsersResponse, unknown, ThrowOnError>;
|
|
422
|
+
unblockWhatsAppUsers: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UnblockWhatsAppUsersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UnblockWhatsAppUsersResponse, unknown, ThrowOnError>;
|
|
423
|
+
getWhatsAppDataset: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppDatasetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppDatasetResponse, unknown, ThrowOnError>;
|
|
424
|
+
createWhatsAppDataset: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateWhatsAppDatasetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateWhatsAppDatasetResponse, unknown, ThrowOnError>;
|
|
425
|
+
listWhatsAppGroupChats: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListWhatsAppGroupChatsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListWhatsAppGroupChatsResponse, ListWhatsAppGroupChatsError, ThrowOnError>;
|
|
426
|
+
createWhatsAppGroupChat: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateWhatsAppGroupChatData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateWhatsAppGroupChatResponse, CreateWhatsAppGroupChatError, ThrowOnError>;
|
|
427
|
+
getWhatsAppGroupChat: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppGroupChatData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppGroupChatResponse, GetWhatsAppGroupChatError, ThrowOnError>;
|
|
428
|
+
updateWhatsAppGroupChat: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateWhatsAppGroupChatData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateWhatsAppGroupChatResponse, UpdateWhatsAppGroupChatError, ThrowOnError>;
|
|
429
|
+
deleteWhatsAppGroupChat: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteWhatsAppGroupChatData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteWhatsAppGroupChatResponse, DeleteWhatsAppGroupChatError, ThrowOnError>;
|
|
430
|
+
addWhatsAppGroupParticipants: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<AddWhatsAppGroupParticipantsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AddWhatsAppGroupParticipantsResponse, AddWhatsAppGroupParticipantsError, ThrowOnError>;
|
|
431
|
+
removeWhatsAppGroupParticipants: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RemoveWhatsAppGroupParticipantsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RemoveWhatsAppGroupParticipantsResponse, RemoveWhatsAppGroupParticipantsError, ThrowOnError>;
|
|
432
|
+
createWhatsAppGroupInviteLink: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateWhatsAppGroupInviteLinkData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateWhatsAppGroupInviteLinkResponse, CreateWhatsAppGroupInviteLinkError, ThrowOnError>;
|
|
433
|
+
listWhatsAppGroupJoinRequests: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListWhatsAppGroupJoinRequestsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListWhatsAppGroupJoinRequestsResponse, ListWhatsAppGroupJoinRequestsError, ThrowOnError>;
|
|
434
|
+
approveWhatsAppGroupJoinRequests: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ApproveWhatsAppGroupJoinRequestsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ApproveWhatsAppGroupJoinRequestsResponse, ApproveWhatsAppGroupJoinRequestsError, ThrowOnError>;
|
|
435
|
+
rejectWhatsAppGroupJoinRequests: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RejectWhatsAppGroupJoinRequestsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RejectWhatsAppGroupJoinRequestsResponse, RejectWhatsAppGroupJoinRequestsError, ThrowOnError>;
|
|
436
|
+
listWhatsAppConversions: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListWhatsAppConversionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListWhatsAppConversionsResponse, unknown, ThrowOnError>;
|
|
437
|
+
sendWhatsAppConversion: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SendWhatsAppConversionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SendWhatsAppConversionResponse, unknown, ThrowOnError>;
|
|
405
438
|
};
|
|
406
439
|
/**
|
|
407
440
|
* accountsettings API
|
|
@@ -459,44 +492,6 @@ declare class Zernio {
|
|
|
459
492
|
replyToInboxReview: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ReplyToInboxReviewData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ReplyToInboxReviewResponse, unknown, ThrowOnError>;
|
|
460
493
|
deleteInboxReviewReply: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteInboxReviewReplyData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteInboxReviewReplyResponse, unknown, ThrowOnError>;
|
|
461
494
|
};
|
|
462
|
-
/**
|
|
463
|
-
* whatsapp API
|
|
464
|
-
*/
|
|
465
|
-
whatsapp: {
|
|
466
|
-
getWhatsAppTemplates: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppTemplatesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppTemplatesResponse, unknown, ThrowOnError>;
|
|
467
|
-
createWhatsAppTemplate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateWhatsAppTemplateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateWhatsAppTemplateResponse, unknown, ThrowOnError>;
|
|
468
|
-
getWhatsAppTemplate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppTemplateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppTemplateResponse, unknown, ThrowOnError>;
|
|
469
|
-
updateWhatsAppTemplate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateWhatsAppTemplateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateWhatsAppTemplateResponse, unknown, ThrowOnError>;
|
|
470
|
-
deleteWhatsAppTemplate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteWhatsAppTemplateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteWhatsAppTemplateResponse, unknown, ThrowOnError>;
|
|
471
|
-
getWhatsAppBusinessProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppBusinessProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppBusinessProfileResponse, unknown, ThrowOnError>;
|
|
472
|
-
updateWhatsAppBusinessProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateWhatsAppBusinessProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateWhatsAppBusinessProfileResponse, unknown, ThrowOnError>;
|
|
473
|
-
uploadWhatsAppProfilePhoto: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UploadWhatsAppProfilePhotoData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UploadWhatsAppProfilePhotoResponse, unknown, ThrowOnError>;
|
|
474
|
-
getWhatsAppDisplayName: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppDisplayNameData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppDisplayNameResponse, unknown, ThrowOnError>;
|
|
475
|
-
updateWhatsAppDisplayName: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateWhatsAppDisplayNameData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateWhatsAppDisplayNameResponse, unknown, ThrowOnError>;
|
|
476
|
-
getWhatsappBusinessUsername: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsappBusinessUsernameData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsappBusinessUsernameResponse, unknown, ThrowOnError>;
|
|
477
|
-
setWhatsappBusinessUsername: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SetWhatsappBusinessUsernameData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SetWhatsappBusinessUsernameResponse, unknown, ThrowOnError>;
|
|
478
|
-
deleteWhatsappBusinessUsername: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteWhatsappBusinessUsernameData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteWhatsappBusinessUsernameResponse, unknown, ThrowOnError>;
|
|
479
|
-
getWhatsappBusinessUsernameSuggestions: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsappBusinessUsernameSuggestionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsappBusinessUsernameSuggestionsResponse, unknown, ThrowOnError>;
|
|
480
|
-
getWhatsAppBlockStatus: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppBlockStatusData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppBlockStatusResponse, unknown, ThrowOnError>;
|
|
481
|
-
getWhatsAppBlockedUsers: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppBlockedUsersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppBlockedUsersResponse, unknown, ThrowOnError>;
|
|
482
|
-
blockWhatsAppUsers: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<BlockWhatsAppUsersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BlockWhatsAppUsersResponse, unknown, ThrowOnError>;
|
|
483
|
-
unblockWhatsAppUsers: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UnblockWhatsAppUsersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UnblockWhatsAppUsersResponse, unknown, ThrowOnError>;
|
|
484
|
-
getWhatsAppDataset: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppDatasetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppDatasetResponse, unknown, ThrowOnError>;
|
|
485
|
-
createWhatsAppDataset: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateWhatsAppDatasetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateWhatsAppDatasetResponse, unknown, ThrowOnError>;
|
|
486
|
-
listWhatsAppGroupChats: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListWhatsAppGroupChatsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListWhatsAppGroupChatsResponse, ListWhatsAppGroupChatsError, ThrowOnError>;
|
|
487
|
-
createWhatsAppGroupChat: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateWhatsAppGroupChatData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateWhatsAppGroupChatResponse, CreateWhatsAppGroupChatError, ThrowOnError>;
|
|
488
|
-
getWhatsAppGroupChat: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppGroupChatData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppGroupChatResponse, GetWhatsAppGroupChatError, ThrowOnError>;
|
|
489
|
-
updateWhatsAppGroupChat: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateWhatsAppGroupChatData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateWhatsAppGroupChatResponse, UpdateWhatsAppGroupChatError, ThrowOnError>;
|
|
490
|
-
deleteWhatsAppGroupChat: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteWhatsAppGroupChatData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteWhatsAppGroupChatResponse, DeleteWhatsAppGroupChatError, ThrowOnError>;
|
|
491
|
-
addWhatsAppGroupParticipants: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<AddWhatsAppGroupParticipantsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AddWhatsAppGroupParticipantsResponse, AddWhatsAppGroupParticipantsError, ThrowOnError>;
|
|
492
|
-
removeWhatsAppGroupParticipants: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RemoveWhatsAppGroupParticipantsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RemoveWhatsAppGroupParticipantsResponse, RemoveWhatsAppGroupParticipantsError, ThrowOnError>;
|
|
493
|
-
createWhatsAppGroupInviteLink: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateWhatsAppGroupInviteLinkData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateWhatsAppGroupInviteLinkResponse, CreateWhatsAppGroupInviteLinkError, ThrowOnError>;
|
|
494
|
-
listWhatsAppGroupJoinRequests: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListWhatsAppGroupJoinRequestsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListWhatsAppGroupJoinRequestsResponse, ListWhatsAppGroupJoinRequestsError, ThrowOnError>;
|
|
495
|
-
approveWhatsAppGroupJoinRequests: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ApproveWhatsAppGroupJoinRequestsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ApproveWhatsAppGroupJoinRequestsResponse, ApproveWhatsAppGroupJoinRequestsError, ThrowOnError>;
|
|
496
|
-
rejectWhatsAppGroupJoinRequests: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RejectWhatsAppGroupJoinRequestsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RejectWhatsAppGroupJoinRequestsResponse, RejectWhatsAppGroupJoinRequestsError, ThrowOnError>;
|
|
497
|
-
listWhatsAppConversions: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListWhatsAppConversionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListWhatsAppConversionsResponse, unknown, ThrowOnError>;
|
|
498
|
-
sendWhatsAppConversion: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SendWhatsAppConversionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SendWhatsAppConversionResponse, unknown, ThrowOnError>;
|
|
499
|
-
};
|
|
500
495
|
/**
|
|
501
496
|
* whatsappcalling API
|
|
502
497
|
*/
|
|
@@ -9226,7 +9221,7 @@ type SearchRedditResponse = ({
|
|
|
9226
9221
|
after?: (string) | null;
|
|
9227
9222
|
before?: (string) | null;
|
|
9228
9223
|
});
|
|
9229
|
-
type SearchRedditError = (
|
|
9224
|
+
type SearchRedditError = (ErrorResponse | {
|
|
9230
9225
|
error?: string;
|
|
9231
9226
|
});
|
|
9232
9227
|
type GetRedditFeedData = {
|
|
@@ -9244,7 +9239,7 @@ type GetRedditFeedResponse = ({
|
|
|
9244
9239
|
after?: (string) | null;
|
|
9245
9240
|
before?: (string) | null;
|
|
9246
9241
|
});
|
|
9247
|
-
type GetRedditFeedError = (
|
|
9242
|
+
type GetRedditFeedError = (ErrorResponse | {
|
|
9248
9243
|
error?: string;
|
|
9249
9244
|
});
|
|
9250
9245
|
type GetBillingResponse = (BillingSnapshot);
|
|
@@ -18034,6 +18029,10 @@ type ListSmsRegistrationsResponse = ({
|
|
|
18034
18029
|
*/
|
|
18035
18030
|
campaignId?: (string) | null;
|
|
18036
18031
|
declineReason?: (string) | null;
|
|
18032
|
+
/**
|
|
18033
|
+
* Toll-free only: when the carrier requested changes ("Waiting For Customer"). The request must be resubmitted within 7 days of this timestamp or it expires.
|
|
18034
|
+
*/
|
|
18035
|
+
tfActionRequiredAt?: (string) | null;
|
|
18037
18036
|
phoneNumbers?: Array<(string)>;
|
|
18038
18037
|
/**
|
|
18039
18038
|
* Sole-prop 10DLC only; the OTP step is still pending.
|
package/dist/index.d.ts
CHANGED
|
@@ -123,8 +123,8 @@ declare class Zernio {
|
|
|
123
123
|
* Reddit API - Search and feed
|
|
124
124
|
*/
|
|
125
125
|
reddit: {
|
|
126
|
-
searchReddit: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SearchRedditData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SearchRedditResponse,
|
|
127
|
-
getRedditFeed: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetRedditFeedData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetRedditFeedResponse,
|
|
126
|
+
searchReddit: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SearchRedditData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SearchRedditResponse, SearchRedditError, ThrowOnError>;
|
|
127
|
+
getRedditFeed: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetRedditFeedData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetRedditFeedResponse, GetRedditFeedError, ThrowOnError>;
|
|
128
128
|
};
|
|
129
129
|
/**
|
|
130
130
|
* Usage API - Get usage statistics
|
|
@@ -398,10 +398,43 @@ declare class Zernio {
|
|
|
398
398
|
uploadMediaDirect: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UploadMediaDirectData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UploadMediaDirectResponse, unknown, ThrowOnError>;
|
|
399
399
|
};
|
|
400
400
|
/**
|
|
401
|
-
*
|
|
401
|
+
* whatsapp API
|
|
402
402
|
*/
|
|
403
|
-
|
|
403
|
+
whatsapp: {
|
|
404
404
|
getWhatsAppMedia: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppMediaData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppMediaResponse, unknown, ThrowOnError>;
|
|
405
|
+
getWhatsAppTemplates: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppTemplatesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppTemplatesResponse, unknown, ThrowOnError>;
|
|
406
|
+
createWhatsAppTemplate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateWhatsAppTemplateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateWhatsAppTemplateResponse, unknown, ThrowOnError>;
|
|
407
|
+
getWhatsAppTemplate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppTemplateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppTemplateResponse, unknown, ThrowOnError>;
|
|
408
|
+
updateWhatsAppTemplate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateWhatsAppTemplateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateWhatsAppTemplateResponse, unknown, ThrowOnError>;
|
|
409
|
+
deleteWhatsAppTemplate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteWhatsAppTemplateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteWhatsAppTemplateResponse, unknown, ThrowOnError>;
|
|
410
|
+
getWhatsAppBusinessProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppBusinessProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppBusinessProfileResponse, unknown, ThrowOnError>;
|
|
411
|
+
updateWhatsAppBusinessProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateWhatsAppBusinessProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateWhatsAppBusinessProfileResponse, unknown, ThrowOnError>;
|
|
412
|
+
uploadWhatsAppProfilePhoto: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UploadWhatsAppProfilePhotoData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UploadWhatsAppProfilePhotoResponse, unknown, ThrowOnError>;
|
|
413
|
+
getWhatsAppDisplayName: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppDisplayNameData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppDisplayNameResponse, unknown, ThrowOnError>;
|
|
414
|
+
updateWhatsAppDisplayName: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateWhatsAppDisplayNameData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateWhatsAppDisplayNameResponse, unknown, ThrowOnError>;
|
|
415
|
+
getWhatsappBusinessUsername: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsappBusinessUsernameData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsappBusinessUsernameResponse, unknown, ThrowOnError>;
|
|
416
|
+
setWhatsappBusinessUsername: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SetWhatsappBusinessUsernameData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SetWhatsappBusinessUsernameResponse, unknown, ThrowOnError>;
|
|
417
|
+
deleteWhatsappBusinessUsername: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteWhatsappBusinessUsernameData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteWhatsappBusinessUsernameResponse, unknown, ThrowOnError>;
|
|
418
|
+
getWhatsappBusinessUsernameSuggestions: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsappBusinessUsernameSuggestionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsappBusinessUsernameSuggestionsResponse, unknown, ThrowOnError>;
|
|
419
|
+
getWhatsAppBlockStatus: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppBlockStatusData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppBlockStatusResponse, unknown, ThrowOnError>;
|
|
420
|
+
getWhatsAppBlockedUsers: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppBlockedUsersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppBlockedUsersResponse, unknown, ThrowOnError>;
|
|
421
|
+
blockWhatsAppUsers: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<BlockWhatsAppUsersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BlockWhatsAppUsersResponse, unknown, ThrowOnError>;
|
|
422
|
+
unblockWhatsAppUsers: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UnblockWhatsAppUsersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UnblockWhatsAppUsersResponse, unknown, ThrowOnError>;
|
|
423
|
+
getWhatsAppDataset: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppDatasetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppDatasetResponse, unknown, ThrowOnError>;
|
|
424
|
+
createWhatsAppDataset: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateWhatsAppDatasetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateWhatsAppDatasetResponse, unknown, ThrowOnError>;
|
|
425
|
+
listWhatsAppGroupChats: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListWhatsAppGroupChatsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListWhatsAppGroupChatsResponse, ListWhatsAppGroupChatsError, ThrowOnError>;
|
|
426
|
+
createWhatsAppGroupChat: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateWhatsAppGroupChatData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateWhatsAppGroupChatResponse, CreateWhatsAppGroupChatError, ThrowOnError>;
|
|
427
|
+
getWhatsAppGroupChat: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppGroupChatData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppGroupChatResponse, GetWhatsAppGroupChatError, ThrowOnError>;
|
|
428
|
+
updateWhatsAppGroupChat: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateWhatsAppGroupChatData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateWhatsAppGroupChatResponse, UpdateWhatsAppGroupChatError, ThrowOnError>;
|
|
429
|
+
deleteWhatsAppGroupChat: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteWhatsAppGroupChatData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteWhatsAppGroupChatResponse, DeleteWhatsAppGroupChatError, ThrowOnError>;
|
|
430
|
+
addWhatsAppGroupParticipants: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<AddWhatsAppGroupParticipantsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AddWhatsAppGroupParticipantsResponse, AddWhatsAppGroupParticipantsError, ThrowOnError>;
|
|
431
|
+
removeWhatsAppGroupParticipants: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RemoveWhatsAppGroupParticipantsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RemoveWhatsAppGroupParticipantsResponse, RemoveWhatsAppGroupParticipantsError, ThrowOnError>;
|
|
432
|
+
createWhatsAppGroupInviteLink: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateWhatsAppGroupInviteLinkData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateWhatsAppGroupInviteLinkResponse, CreateWhatsAppGroupInviteLinkError, ThrowOnError>;
|
|
433
|
+
listWhatsAppGroupJoinRequests: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListWhatsAppGroupJoinRequestsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListWhatsAppGroupJoinRequestsResponse, ListWhatsAppGroupJoinRequestsError, ThrowOnError>;
|
|
434
|
+
approveWhatsAppGroupJoinRequests: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ApproveWhatsAppGroupJoinRequestsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ApproveWhatsAppGroupJoinRequestsResponse, ApproveWhatsAppGroupJoinRequestsError, ThrowOnError>;
|
|
435
|
+
rejectWhatsAppGroupJoinRequests: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RejectWhatsAppGroupJoinRequestsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RejectWhatsAppGroupJoinRequestsResponse, RejectWhatsAppGroupJoinRequestsError, ThrowOnError>;
|
|
436
|
+
listWhatsAppConversions: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListWhatsAppConversionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListWhatsAppConversionsResponse, unknown, ThrowOnError>;
|
|
437
|
+
sendWhatsAppConversion: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SendWhatsAppConversionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SendWhatsAppConversionResponse, unknown, ThrowOnError>;
|
|
405
438
|
};
|
|
406
439
|
/**
|
|
407
440
|
* accountsettings API
|
|
@@ -459,44 +492,6 @@ declare class Zernio {
|
|
|
459
492
|
replyToInboxReview: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ReplyToInboxReviewData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ReplyToInboxReviewResponse, unknown, ThrowOnError>;
|
|
460
493
|
deleteInboxReviewReply: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteInboxReviewReplyData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteInboxReviewReplyResponse, unknown, ThrowOnError>;
|
|
461
494
|
};
|
|
462
|
-
/**
|
|
463
|
-
* whatsapp API
|
|
464
|
-
*/
|
|
465
|
-
whatsapp: {
|
|
466
|
-
getWhatsAppTemplates: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppTemplatesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppTemplatesResponse, unknown, ThrowOnError>;
|
|
467
|
-
createWhatsAppTemplate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateWhatsAppTemplateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateWhatsAppTemplateResponse, unknown, ThrowOnError>;
|
|
468
|
-
getWhatsAppTemplate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppTemplateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppTemplateResponse, unknown, ThrowOnError>;
|
|
469
|
-
updateWhatsAppTemplate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateWhatsAppTemplateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateWhatsAppTemplateResponse, unknown, ThrowOnError>;
|
|
470
|
-
deleteWhatsAppTemplate: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteWhatsAppTemplateData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteWhatsAppTemplateResponse, unknown, ThrowOnError>;
|
|
471
|
-
getWhatsAppBusinessProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppBusinessProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppBusinessProfileResponse, unknown, ThrowOnError>;
|
|
472
|
-
updateWhatsAppBusinessProfile: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateWhatsAppBusinessProfileData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateWhatsAppBusinessProfileResponse, unknown, ThrowOnError>;
|
|
473
|
-
uploadWhatsAppProfilePhoto: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UploadWhatsAppProfilePhotoData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UploadWhatsAppProfilePhotoResponse, unknown, ThrowOnError>;
|
|
474
|
-
getWhatsAppDisplayName: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppDisplayNameData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppDisplayNameResponse, unknown, ThrowOnError>;
|
|
475
|
-
updateWhatsAppDisplayName: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateWhatsAppDisplayNameData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateWhatsAppDisplayNameResponse, unknown, ThrowOnError>;
|
|
476
|
-
getWhatsappBusinessUsername: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsappBusinessUsernameData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsappBusinessUsernameResponse, unknown, ThrowOnError>;
|
|
477
|
-
setWhatsappBusinessUsername: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SetWhatsappBusinessUsernameData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SetWhatsappBusinessUsernameResponse, unknown, ThrowOnError>;
|
|
478
|
-
deleteWhatsappBusinessUsername: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteWhatsappBusinessUsernameData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteWhatsappBusinessUsernameResponse, unknown, ThrowOnError>;
|
|
479
|
-
getWhatsappBusinessUsernameSuggestions: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsappBusinessUsernameSuggestionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsappBusinessUsernameSuggestionsResponse, unknown, ThrowOnError>;
|
|
480
|
-
getWhatsAppBlockStatus: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppBlockStatusData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppBlockStatusResponse, unknown, ThrowOnError>;
|
|
481
|
-
getWhatsAppBlockedUsers: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppBlockedUsersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppBlockedUsersResponse, unknown, ThrowOnError>;
|
|
482
|
-
blockWhatsAppUsers: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<BlockWhatsAppUsersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<BlockWhatsAppUsersResponse, unknown, ThrowOnError>;
|
|
483
|
-
unblockWhatsAppUsers: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UnblockWhatsAppUsersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UnblockWhatsAppUsersResponse, unknown, ThrowOnError>;
|
|
484
|
-
getWhatsAppDataset: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppDatasetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppDatasetResponse, unknown, ThrowOnError>;
|
|
485
|
-
createWhatsAppDataset: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateWhatsAppDatasetData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateWhatsAppDatasetResponse, unknown, ThrowOnError>;
|
|
486
|
-
listWhatsAppGroupChats: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListWhatsAppGroupChatsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListWhatsAppGroupChatsResponse, ListWhatsAppGroupChatsError, ThrowOnError>;
|
|
487
|
-
createWhatsAppGroupChat: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateWhatsAppGroupChatData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateWhatsAppGroupChatResponse, CreateWhatsAppGroupChatError, ThrowOnError>;
|
|
488
|
-
getWhatsAppGroupChat: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppGroupChatData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppGroupChatResponse, GetWhatsAppGroupChatError, ThrowOnError>;
|
|
489
|
-
updateWhatsAppGroupChat: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateWhatsAppGroupChatData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateWhatsAppGroupChatResponse, UpdateWhatsAppGroupChatError, ThrowOnError>;
|
|
490
|
-
deleteWhatsAppGroupChat: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteWhatsAppGroupChatData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteWhatsAppGroupChatResponse, DeleteWhatsAppGroupChatError, ThrowOnError>;
|
|
491
|
-
addWhatsAppGroupParticipants: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<AddWhatsAppGroupParticipantsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<AddWhatsAppGroupParticipantsResponse, AddWhatsAppGroupParticipantsError, ThrowOnError>;
|
|
492
|
-
removeWhatsAppGroupParticipants: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RemoveWhatsAppGroupParticipantsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RemoveWhatsAppGroupParticipantsResponse, RemoveWhatsAppGroupParticipantsError, ThrowOnError>;
|
|
493
|
-
createWhatsAppGroupInviteLink: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<CreateWhatsAppGroupInviteLinkData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<CreateWhatsAppGroupInviteLinkResponse, CreateWhatsAppGroupInviteLinkError, ThrowOnError>;
|
|
494
|
-
listWhatsAppGroupJoinRequests: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListWhatsAppGroupJoinRequestsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListWhatsAppGroupJoinRequestsResponse, ListWhatsAppGroupJoinRequestsError, ThrowOnError>;
|
|
495
|
-
approveWhatsAppGroupJoinRequests: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ApproveWhatsAppGroupJoinRequestsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ApproveWhatsAppGroupJoinRequestsResponse, ApproveWhatsAppGroupJoinRequestsError, ThrowOnError>;
|
|
496
|
-
rejectWhatsAppGroupJoinRequests: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RejectWhatsAppGroupJoinRequestsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RejectWhatsAppGroupJoinRequestsResponse, RejectWhatsAppGroupJoinRequestsError, ThrowOnError>;
|
|
497
|
-
listWhatsAppConversions: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ListWhatsAppConversionsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListWhatsAppConversionsResponse, unknown, ThrowOnError>;
|
|
498
|
-
sendWhatsAppConversion: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SendWhatsAppConversionData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SendWhatsAppConversionResponse, unknown, ThrowOnError>;
|
|
499
|
-
};
|
|
500
495
|
/**
|
|
501
496
|
* whatsappcalling API
|
|
502
497
|
*/
|
|
@@ -9226,7 +9221,7 @@ type SearchRedditResponse = ({
|
|
|
9226
9221
|
after?: (string) | null;
|
|
9227
9222
|
before?: (string) | null;
|
|
9228
9223
|
});
|
|
9229
|
-
type SearchRedditError = (
|
|
9224
|
+
type SearchRedditError = (ErrorResponse | {
|
|
9230
9225
|
error?: string;
|
|
9231
9226
|
});
|
|
9232
9227
|
type GetRedditFeedData = {
|
|
@@ -9244,7 +9239,7 @@ type GetRedditFeedResponse = ({
|
|
|
9244
9239
|
after?: (string) | null;
|
|
9245
9240
|
before?: (string) | null;
|
|
9246
9241
|
});
|
|
9247
|
-
type GetRedditFeedError = (
|
|
9242
|
+
type GetRedditFeedError = (ErrorResponse | {
|
|
9248
9243
|
error?: string;
|
|
9249
9244
|
});
|
|
9250
9245
|
type GetBillingResponse = (BillingSnapshot);
|
|
@@ -18034,6 +18029,10 @@ type ListSmsRegistrationsResponse = ({
|
|
|
18034
18029
|
*/
|
|
18035
18030
|
campaignId?: (string) | null;
|
|
18036
18031
|
declineReason?: (string) | null;
|
|
18032
|
+
/**
|
|
18033
|
+
* Toll-free only: when the carrier requested changes ("Waiting For Customer"). The request must be resubmitted within 7 days of this timestamp or it expires.
|
|
18034
|
+
*/
|
|
18035
|
+
tfActionRequiredAt?: (string) | null;
|
|
18037
18036
|
phoneNumbers?: Array<(string)>;
|
|
18038
18037
|
/**
|
|
18039
18038
|
* Sole-prop 10DLC only; the OTP step is still pending.
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.399",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -3812,10 +3812,43 @@ var Zernio = class {
|
|
|
3812
3812
|
uploadMediaDirect
|
|
3813
3813
|
};
|
|
3814
3814
|
/**
|
|
3815
|
-
*
|
|
3815
|
+
* whatsapp API
|
|
3816
3816
|
*/
|
|
3817
|
-
this.
|
|
3818
|
-
getWhatsAppMedia
|
|
3817
|
+
this.whatsapp = {
|
|
3818
|
+
getWhatsAppMedia,
|
|
3819
|
+
getWhatsAppTemplates,
|
|
3820
|
+
createWhatsAppTemplate,
|
|
3821
|
+
getWhatsAppTemplate,
|
|
3822
|
+
updateWhatsAppTemplate,
|
|
3823
|
+
deleteWhatsAppTemplate,
|
|
3824
|
+
getWhatsAppBusinessProfile,
|
|
3825
|
+
updateWhatsAppBusinessProfile,
|
|
3826
|
+
uploadWhatsAppProfilePhoto,
|
|
3827
|
+
getWhatsAppDisplayName,
|
|
3828
|
+
updateWhatsAppDisplayName,
|
|
3829
|
+
getWhatsappBusinessUsername,
|
|
3830
|
+
setWhatsappBusinessUsername,
|
|
3831
|
+
deleteWhatsappBusinessUsername,
|
|
3832
|
+
getWhatsappBusinessUsernameSuggestions,
|
|
3833
|
+
getWhatsAppBlockStatus,
|
|
3834
|
+
getWhatsAppBlockedUsers,
|
|
3835
|
+
blockWhatsAppUsers,
|
|
3836
|
+
unblockWhatsAppUsers,
|
|
3837
|
+
getWhatsAppDataset,
|
|
3838
|
+
createWhatsAppDataset,
|
|
3839
|
+
listWhatsAppGroupChats,
|
|
3840
|
+
createWhatsAppGroupChat,
|
|
3841
|
+
getWhatsAppGroupChat,
|
|
3842
|
+
updateWhatsAppGroupChat,
|
|
3843
|
+
deleteWhatsAppGroupChat,
|
|
3844
|
+
addWhatsAppGroupParticipants,
|
|
3845
|
+
removeWhatsAppGroupParticipants,
|
|
3846
|
+
createWhatsAppGroupInviteLink,
|
|
3847
|
+
listWhatsAppGroupJoinRequests,
|
|
3848
|
+
approveWhatsAppGroupJoinRequests,
|
|
3849
|
+
rejectWhatsAppGroupJoinRequests,
|
|
3850
|
+
listWhatsAppConversions,
|
|
3851
|
+
sendWhatsAppConversion
|
|
3819
3852
|
};
|
|
3820
3853
|
/**
|
|
3821
3854
|
* accountsettings API
|
|
@@ -3873,44 +3906,6 @@ var Zernio = class {
|
|
|
3873
3906
|
replyToInboxReview,
|
|
3874
3907
|
deleteInboxReviewReply
|
|
3875
3908
|
};
|
|
3876
|
-
/**
|
|
3877
|
-
* whatsapp API
|
|
3878
|
-
*/
|
|
3879
|
-
this.whatsapp = {
|
|
3880
|
-
getWhatsAppTemplates,
|
|
3881
|
-
createWhatsAppTemplate,
|
|
3882
|
-
getWhatsAppTemplate,
|
|
3883
|
-
updateWhatsAppTemplate,
|
|
3884
|
-
deleteWhatsAppTemplate,
|
|
3885
|
-
getWhatsAppBusinessProfile,
|
|
3886
|
-
updateWhatsAppBusinessProfile,
|
|
3887
|
-
uploadWhatsAppProfilePhoto,
|
|
3888
|
-
getWhatsAppDisplayName,
|
|
3889
|
-
updateWhatsAppDisplayName,
|
|
3890
|
-
getWhatsappBusinessUsername,
|
|
3891
|
-
setWhatsappBusinessUsername,
|
|
3892
|
-
deleteWhatsappBusinessUsername,
|
|
3893
|
-
getWhatsappBusinessUsernameSuggestions,
|
|
3894
|
-
getWhatsAppBlockStatus,
|
|
3895
|
-
getWhatsAppBlockedUsers,
|
|
3896
|
-
blockWhatsAppUsers,
|
|
3897
|
-
unblockWhatsAppUsers,
|
|
3898
|
-
getWhatsAppDataset,
|
|
3899
|
-
createWhatsAppDataset,
|
|
3900
|
-
listWhatsAppGroupChats,
|
|
3901
|
-
createWhatsAppGroupChat,
|
|
3902
|
-
getWhatsAppGroupChat,
|
|
3903
|
-
updateWhatsAppGroupChat,
|
|
3904
|
-
deleteWhatsAppGroupChat,
|
|
3905
|
-
addWhatsAppGroupParticipants,
|
|
3906
|
-
removeWhatsAppGroupParticipants,
|
|
3907
|
-
createWhatsAppGroupInviteLink,
|
|
3908
|
-
listWhatsAppGroupJoinRequests,
|
|
3909
|
-
approveWhatsAppGroupJoinRequests,
|
|
3910
|
-
rejectWhatsAppGroupJoinRequests,
|
|
3911
|
-
listWhatsAppConversions,
|
|
3912
|
-
sendWhatsAppConversion
|
|
3913
|
-
};
|
|
3914
3909
|
/**
|
|
3915
3910
|
* whatsappcalling API
|
|
3916
3911
|
*/
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.399",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -3781,10 +3781,43 @@ var Zernio = class {
|
|
|
3781
3781
|
uploadMediaDirect
|
|
3782
3782
|
};
|
|
3783
3783
|
/**
|
|
3784
|
-
*
|
|
3784
|
+
* whatsapp API
|
|
3785
3785
|
*/
|
|
3786
|
-
this.
|
|
3787
|
-
getWhatsAppMedia
|
|
3786
|
+
this.whatsapp = {
|
|
3787
|
+
getWhatsAppMedia,
|
|
3788
|
+
getWhatsAppTemplates,
|
|
3789
|
+
createWhatsAppTemplate,
|
|
3790
|
+
getWhatsAppTemplate,
|
|
3791
|
+
updateWhatsAppTemplate,
|
|
3792
|
+
deleteWhatsAppTemplate,
|
|
3793
|
+
getWhatsAppBusinessProfile,
|
|
3794
|
+
updateWhatsAppBusinessProfile,
|
|
3795
|
+
uploadWhatsAppProfilePhoto,
|
|
3796
|
+
getWhatsAppDisplayName,
|
|
3797
|
+
updateWhatsAppDisplayName,
|
|
3798
|
+
getWhatsappBusinessUsername,
|
|
3799
|
+
setWhatsappBusinessUsername,
|
|
3800
|
+
deleteWhatsappBusinessUsername,
|
|
3801
|
+
getWhatsappBusinessUsernameSuggestions,
|
|
3802
|
+
getWhatsAppBlockStatus,
|
|
3803
|
+
getWhatsAppBlockedUsers,
|
|
3804
|
+
blockWhatsAppUsers,
|
|
3805
|
+
unblockWhatsAppUsers,
|
|
3806
|
+
getWhatsAppDataset,
|
|
3807
|
+
createWhatsAppDataset,
|
|
3808
|
+
listWhatsAppGroupChats,
|
|
3809
|
+
createWhatsAppGroupChat,
|
|
3810
|
+
getWhatsAppGroupChat,
|
|
3811
|
+
updateWhatsAppGroupChat,
|
|
3812
|
+
deleteWhatsAppGroupChat,
|
|
3813
|
+
addWhatsAppGroupParticipants,
|
|
3814
|
+
removeWhatsAppGroupParticipants,
|
|
3815
|
+
createWhatsAppGroupInviteLink,
|
|
3816
|
+
listWhatsAppGroupJoinRequests,
|
|
3817
|
+
approveWhatsAppGroupJoinRequests,
|
|
3818
|
+
rejectWhatsAppGroupJoinRequests,
|
|
3819
|
+
listWhatsAppConversions,
|
|
3820
|
+
sendWhatsAppConversion
|
|
3788
3821
|
};
|
|
3789
3822
|
/**
|
|
3790
3823
|
* accountsettings API
|
|
@@ -3842,44 +3875,6 @@ var Zernio = class {
|
|
|
3842
3875
|
replyToInboxReview,
|
|
3843
3876
|
deleteInboxReviewReply
|
|
3844
3877
|
};
|
|
3845
|
-
/**
|
|
3846
|
-
* whatsapp API
|
|
3847
|
-
*/
|
|
3848
|
-
this.whatsapp = {
|
|
3849
|
-
getWhatsAppTemplates,
|
|
3850
|
-
createWhatsAppTemplate,
|
|
3851
|
-
getWhatsAppTemplate,
|
|
3852
|
-
updateWhatsAppTemplate,
|
|
3853
|
-
deleteWhatsAppTemplate,
|
|
3854
|
-
getWhatsAppBusinessProfile,
|
|
3855
|
-
updateWhatsAppBusinessProfile,
|
|
3856
|
-
uploadWhatsAppProfilePhoto,
|
|
3857
|
-
getWhatsAppDisplayName,
|
|
3858
|
-
updateWhatsAppDisplayName,
|
|
3859
|
-
getWhatsappBusinessUsername,
|
|
3860
|
-
setWhatsappBusinessUsername,
|
|
3861
|
-
deleteWhatsappBusinessUsername,
|
|
3862
|
-
getWhatsappBusinessUsernameSuggestions,
|
|
3863
|
-
getWhatsAppBlockStatus,
|
|
3864
|
-
getWhatsAppBlockedUsers,
|
|
3865
|
-
blockWhatsAppUsers,
|
|
3866
|
-
unblockWhatsAppUsers,
|
|
3867
|
-
getWhatsAppDataset,
|
|
3868
|
-
createWhatsAppDataset,
|
|
3869
|
-
listWhatsAppGroupChats,
|
|
3870
|
-
createWhatsAppGroupChat,
|
|
3871
|
-
getWhatsAppGroupChat,
|
|
3872
|
-
updateWhatsAppGroupChat,
|
|
3873
|
-
deleteWhatsAppGroupChat,
|
|
3874
|
-
addWhatsAppGroupParticipants,
|
|
3875
|
-
removeWhatsAppGroupParticipants,
|
|
3876
|
-
createWhatsAppGroupInviteLink,
|
|
3877
|
-
listWhatsAppGroupJoinRequests,
|
|
3878
|
-
approveWhatsAppGroupJoinRequests,
|
|
3879
|
-
rejectWhatsAppGroupJoinRequests,
|
|
3880
|
-
listWhatsAppConversions,
|
|
3881
|
-
sendWhatsAppConversion
|
|
3882
|
-
};
|
|
3883
3878
|
/**
|
|
3884
3879
|
* whatsappcalling API
|
|
3885
3880
|
*/
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -931,10 +931,43 @@ export class Zernio {
|
|
|
931
931
|
};
|
|
932
932
|
|
|
933
933
|
/**
|
|
934
|
-
*
|
|
934
|
+
* whatsapp API
|
|
935
935
|
*/
|
|
936
|
-
|
|
936
|
+
whatsapp = {
|
|
937
937
|
getWhatsAppMedia: getWhatsAppMedia,
|
|
938
|
+
getWhatsAppTemplates: getWhatsAppTemplates,
|
|
939
|
+
createWhatsAppTemplate: createWhatsAppTemplate,
|
|
940
|
+
getWhatsAppTemplate: getWhatsAppTemplate,
|
|
941
|
+
updateWhatsAppTemplate: updateWhatsAppTemplate,
|
|
942
|
+
deleteWhatsAppTemplate: deleteWhatsAppTemplate,
|
|
943
|
+
getWhatsAppBusinessProfile: getWhatsAppBusinessProfile,
|
|
944
|
+
updateWhatsAppBusinessProfile: updateWhatsAppBusinessProfile,
|
|
945
|
+
uploadWhatsAppProfilePhoto: uploadWhatsAppProfilePhoto,
|
|
946
|
+
getWhatsAppDisplayName: getWhatsAppDisplayName,
|
|
947
|
+
updateWhatsAppDisplayName: updateWhatsAppDisplayName,
|
|
948
|
+
getWhatsappBusinessUsername: getWhatsappBusinessUsername,
|
|
949
|
+
setWhatsappBusinessUsername: setWhatsappBusinessUsername,
|
|
950
|
+
deleteWhatsappBusinessUsername: deleteWhatsappBusinessUsername,
|
|
951
|
+
getWhatsappBusinessUsernameSuggestions: getWhatsappBusinessUsernameSuggestions,
|
|
952
|
+
getWhatsAppBlockStatus: getWhatsAppBlockStatus,
|
|
953
|
+
getWhatsAppBlockedUsers: getWhatsAppBlockedUsers,
|
|
954
|
+
blockWhatsAppUsers: blockWhatsAppUsers,
|
|
955
|
+
unblockWhatsAppUsers: unblockWhatsAppUsers,
|
|
956
|
+
getWhatsAppDataset: getWhatsAppDataset,
|
|
957
|
+
createWhatsAppDataset: createWhatsAppDataset,
|
|
958
|
+
listWhatsAppGroupChats: listWhatsAppGroupChats,
|
|
959
|
+
createWhatsAppGroupChat: createWhatsAppGroupChat,
|
|
960
|
+
getWhatsAppGroupChat: getWhatsAppGroupChat,
|
|
961
|
+
updateWhatsAppGroupChat: updateWhatsAppGroupChat,
|
|
962
|
+
deleteWhatsAppGroupChat: deleteWhatsAppGroupChat,
|
|
963
|
+
addWhatsAppGroupParticipants: addWhatsAppGroupParticipants,
|
|
964
|
+
removeWhatsAppGroupParticipants: removeWhatsAppGroupParticipants,
|
|
965
|
+
createWhatsAppGroupInviteLink: createWhatsAppGroupInviteLink,
|
|
966
|
+
listWhatsAppGroupJoinRequests: listWhatsAppGroupJoinRequests,
|
|
967
|
+
approveWhatsAppGroupJoinRequests: approveWhatsAppGroupJoinRequests,
|
|
968
|
+
rejectWhatsAppGroupJoinRequests: rejectWhatsAppGroupJoinRequests,
|
|
969
|
+
listWhatsAppConversions: listWhatsAppConversions,
|
|
970
|
+
sendWhatsAppConversion: sendWhatsAppConversion,
|
|
938
971
|
};
|
|
939
972
|
|
|
940
973
|
/**
|
|
@@ -998,45 +1031,6 @@ export class Zernio {
|
|
|
998
1031
|
deleteInboxReviewReply: deleteInboxReviewReply,
|
|
999
1032
|
};
|
|
1000
1033
|
|
|
1001
|
-
/**
|
|
1002
|
-
* whatsapp API
|
|
1003
|
-
*/
|
|
1004
|
-
whatsapp = {
|
|
1005
|
-
getWhatsAppTemplates: getWhatsAppTemplates,
|
|
1006
|
-
createWhatsAppTemplate: createWhatsAppTemplate,
|
|
1007
|
-
getWhatsAppTemplate: getWhatsAppTemplate,
|
|
1008
|
-
updateWhatsAppTemplate: updateWhatsAppTemplate,
|
|
1009
|
-
deleteWhatsAppTemplate: deleteWhatsAppTemplate,
|
|
1010
|
-
getWhatsAppBusinessProfile: getWhatsAppBusinessProfile,
|
|
1011
|
-
updateWhatsAppBusinessProfile: updateWhatsAppBusinessProfile,
|
|
1012
|
-
uploadWhatsAppProfilePhoto: uploadWhatsAppProfilePhoto,
|
|
1013
|
-
getWhatsAppDisplayName: getWhatsAppDisplayName,
|
|
1014
|
-
updateWhatsAppDisplayName: updateWhatsAppDisplayName,
|
|
1015
|
-
getWhatsappBusinessUsername: getWhatsappBusinessUsername,
|
|
1016
|
-
setWhatsappBusinessUsername: setWhatsappBusinessUsername,
|
|
1017
|
-
deleteWhatsappBusinessUsername: deleteWhatsappBusinessUsername,
|
|
1018
|
-
getWhatsappBusinessUsernameSuggestions: getWhatsappBusinessUsernameSuggestions,
|
|
1019
|
-
getWhatsAppBlockStatus: getWhatsAppBlockStatus,
|
|
1020
|
-
getWhatsAppBlockedUsers: getWhatsAppBlockedUsers,
|
|
1021
|
-
blockWhatsAppUsers: blockWhatsAppUsers,
|
|
1022
|
-
unblockWhatsAppUsers: unblockWhatsAppUsers,
|
|
1023
|
-
getWhatsAppDataset: getWhatsAppDataset,
|
|
1024
|
-
createWhatsAppDataset: createWhatsAppDataset,
|
|
1025
|
-
listWhatsAppGroupChats: listWhatsAppGroupChats,
|
|
1026
|
-
createWhatsAppGroupChat: createWhatsAppGroupChat,
|
|
1027
|
-
getWhatsAppGroupChat: getWhatsAppGroupChat,
|
|
1028
|
-
updateWhatsAppGroupChat: updateWhatsAppGroupChat,
|
|
1029
|
-
deleteWhatsAppGroupChat: deleteWhatsAppGroupChat,
|
|
1030
|
-
addWhatsAppGroupParticipants: addWhatsAppGroupParticipants,
|
|
1031
|
-
removeWhatsAppGroupParticipants: removeWhatsAppGroupParticipants,
|
|
1032
|
-
createWhatsAppGroupInviteLink: createWhatsAppGroupInviteLink,
|
|
1033
|
-
listWhatsAppGroupJoinRequests: listWhatsAppGroupJoinRequests,
|
|
1034
|
-
approveWhatsAppGroupJoinRequests: approveWhatsAppGroupJoinRequests,
|
|
1035
|
-
rejectWhatsAppGroupJoinRequests: rejectWhatsAppGroupJoinRequests,
|
|
1036
|
-
listWhatsAppConversions: listWhatsAppConversions,
|
|
1037
|
-
sendWhatsAppConversion: sendWhatsAppConversion,
|
|
1038
|
-
};
|
|
1039
|
-
|
|
1040
1034
|
/**
|
|
1041
1035
|
* whatsappcalling API
|
|
1042
1036
|
*/
|
|
@@ -8694,7 +8694,7 @@ export type SearchRedditResponse = ({
|
|
|
8694
8694
|
before?: (string) | null;
|
|
8695
8695
|
});
|
|
8696
8696
|
|
|
8697
|
-
export type SearchRedditError = (
|
|
8697
|
+
export type SearchRedditError = (ErrorResponse | {
|
|
8698
8698
|
error?: string;
|
|
8699
8699
|
});
|
|
8700
8700
|
|
|
@@ -8715,7 +8715,7 @@ export type GetRedditFeedResponse = ({
|
|
|
8715
8715
|
before?: (string) | null;
|
|
8716
8716
|
});
|
|
8717
8717
|
|
|
8718
|
-
export type GetRedditFeedError = (
|
|
8718
|
+
export type GetRedditFeedError = (ErrorResponse | {
|
|
8719
8719
|
error?: string;
|
|
8720
8720
|
});
|
|
8721
8721
|
|
|
@@ -18161,6 +18161,10 @@ export type ListSmsRegistrationsResponse = ({
|
|
|
18161
18161
|
*/
|
|
18162
18162
|
campaignId?: (string) | null;
|
|
18163
18163
|
declineReason?: (string) | null;
|
|
18164
|
+
/**
|
|
18165
|
+
* Toll-free only: when the carrier requested changes ("Waiting For Customer"). The request must be resubmitted within 7 days of this timestamp or it expires.
|
|
18166
|
+
*/
|
|
18167
|
+
tfActionRequiredAt?: (string) | null;
|
|
18164
18168
|
phoneNumbers?: Array<(string)>;
|
|
18165
18169
|
/**
|
|
18166
18170
|
* Sole-prop 10DLC only; the OTP step is still pending.
|