rcs-js 1.0.22 → 2.0.0-rc.2
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 +27 -11
- package/dist/cjs/Client.d.ts +31 -27
- package/dist/cjs/Client.js +43 -95
- package/dist/cjs/api/errors/InternalServerError.d.ts +2 -1
- package/dist/cjs/api/errors/NotFoundError.d.ts +9 -0
- package/dist/cjs/api/errors/NotFoundError.js +52 -0
- package/dist/cjs/api/errors/NotImplementedError.d.ts +9 -0
- package/dist/cjs/api/errors/NotImplementedError.js +52 -0
- package/dist/cjs/api/errors/PaymentRequiredError.d.ts +2 -1
- package/dist/cjs/api/errors/UnauthorizedError.d.ts +2 -1
- package/dist/cjs/api/errors/index.d.ts +2 -1
- package/dist/cjs/api/errors/index.js +2 -1
- package/dist/cjs/api/index.d.ts +0 -1
- package/dist/cjs/api/index.js +0 -1
- package/dist/cjs/api/resources/brands/client/Client.d.ts +176 -0
- package/dist/cjs/api/resources/brands/client/Client.js +533 -0
- package/dist/cjs/api/resources/brands/client/requests/AutofillBrandParams.d.ts +29 -0
- package/dist/cjs/api/resources/brands/client/requests/BrandsGetRequest.d.ts +15 -0
- package/dist/cjs/api/resources/brands/client/requests/UpsertBrandParams.d.ts +49 -0
- package/dist/cjs/api/resources/brands/client/requests/ValidateBrandParams.d.ts +59 -0
- package/dist/cjs/api/resources/brands/client/requests/VetBrandParams.d.ts +9 -0
- package/dist/cjs/api/resources/brands/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/brands/index.d.ts +1 -0
- package/dist/cjs/api/resources/brands/index.js +17 -0
- package/dist/cjs/api/resources/campaigns/client/Client.d.ts +28 -0
- package/dist/cjs/api/resources/campaigns/client/Client.js +27 -0
- package/dist/cjs/api/resources/campaigns/index.d.ts +2 -0
- package/dist/cjs/api/resources/campaigns/index.js +18 -0
- package/dist/cjs/api/resources/campaigns/resources/dlc/client/Client.d.ts +158 -0
- package/dist/cjs/api/resources/campaigns/resources/dlc/client/Client.js +459 -0
- package/dist/cjs/api/resources/campaigns/resources/dlc/client/requests/UpsertDlcCampaignParams.d.ts +145 -0
- package/dist/cjs/api/resources/campaigns/resources/dlc/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/campaigns/resources/dlc/index.d.ts +1 -0
- package/dist/cjs/api/resources/campaigns/resources/dlc/index.js +17 -0
- package/dist/cjs/api/resources/campaigns/resources/index.d.ts +8 -0
- package/dist/cjs/api/resources/campaigns/resources/index.js +47 -0
- package/dist/cjs/api/resources/campaigns/resources/rcs/client/Client.d.ts +159 -0
- package/dist/cjs/api/resources/campaigns/resources/rcs/client/Client.js +457 -0
- package/dist/cjs/api/resources/campaigns/resources/rcs/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/campaigns/resources/rcs/client/requests/UpsertRcsCampaignParams.d.ts +158 -0
- package/dist/cjs/api/resources/campaigns/resources/rcs/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/campaigns/resources/rcs/types/RcsAutofillResponse.d.ts +7 -0
- package/dist/cjs/api/resources/campaigns/resources/rcs/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/campaigns/resources/rcs/types/index.js +17 -0
- package/dist/cjs/api/resources/campaigns/resources/tollFree/client/Client.d.ts +136 -0
- package/dist/cjs/api/resources/campaigns/resources/tollFree/client/Client.js +440 -0
- package/dist/cjs/api/resources/campaigns/resources/tollFree/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/campaigns/resources/tollFree/client/index.js +17 -0
- package/dist/cjs/api/resources/campaigns/resources/tollFree/client/requests/UpsertTollFreeCampaignParams.d.ts +58 -0
- package/dist/cjs/api/resources/campaigns/resources/tollFree/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/campaigns/resources/tollFree/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/campaigns/resources/tollFree/types/TollFreeAutofillResponse.d.ts +7 -0
- package/dist/cjs/api/resources/campaigns/resources/tollFree/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/campaigns/resources/tollFree/types/index.js +17 -0
- package/dist/cjs/api/resources/contacts/client/Client.d.ts +90 -0
- package/dist/cjs/api/resources/contacts/client/Client.js +288 -0
- package/dist/cjs/api/resources/contacts/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/contacts/client/index.js +17 -0
- package/dist/cjs/api/resources/contacts/client/requests/ContactsGetRequest.d.ts +17 -0
- package/dist/cjs/api/resources/contacts/client/requests/CreateContactParams.d.ts +14 -0
- package/dist/cjs/api/resources/contacts/client/requests/UpdateContactParams.d.ts +18 -0
- package/dist/cjs/api/resources/contacts/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/contacts/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/contacts/index.d.ts +1 -0
- package/dist/cjs/api/resources/contacts/index.js +17 -0
- package/dist/cjs/api/resources/conversations/client/Client.d.ts +93 -0
- package/dist/cjs/api/resources/conversations/client/Client.js +288 -0
- package/dist/cjs/api/resources/conversations/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/conversations/client/index.js +17 -0
- package/dist/cjs/api/resources/conversations/client/requests/ListConversationsParams.d.ts +30 -0
- package/dist/cjs/api/resources/conversations/client/requests/UpdateConversationParams.d.ts +16 -0
- package/dist/cjs/api/resources/conversations/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/conversations/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/conversations/index.d.ts +1 -0
- package/dist/cjs/api/resources/conversations/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +16 -8
- package/dist/cjs/api/resources/index.js +17 -9
- package/dist/cjs/api/resources/message/client/Client.d.ts +22 -0
- package/dist/cjs/api/resources/message/client/Client.js +17 -0
- package/dist/cjs/api/resources/message/client/index.js +2 -0
- package/dist/cjs/api/resources/message/index.d.ts +2 -0
- package/dist/cjs/api/resources/message/index.js +18 -0
- package/dist/cjs/api/resources/message/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/message/resources/index.js +37 -0
- package/dist/cjs/api/resources/message/resources/sms/client/Client.d.ts +52 -0
- package/dist/cjs/api/resources/message/resources/sms/client/Client.js +135 -0
- package/dist/cjs/api/resources/message/resources/sms/client/index.js +2 -0
- package/dist/cjs/api/resources/message/resources/sms/index.d.ts +1 -0
- package/dist/cjs/api/resources/message/resources/sms/index.js +17 -0
- package/dist/cjs/api/resources/messages/client/Client.d.ts +81 -0
- package/dist/cjs/api/resources/messages/client/Client.js +222 -0
- package/dist/cjs/api/resources/messages/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/messages/client/index.js +17 -0
- package/dist/cjs/api/resources/messages/client/requests/ReactMessageParams.d.ts +36 -0
- package/dist/cjs/api/resources/messages/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/messages/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/messages/index.d.ts +2 -0
- package/dist/cjs/api/resources/messages/index.js +18 -0
- package/dist/cjs/api/resources/messages/resources/index.d.ts +5 -0
- package/dist/cjs/api/resources/messages/resources/index.js +44 -0
- package/dist/cjs/api/resources/messages/resources/mms/client/Client.d.ts +53 -0
- package/dist/cjs/api/resources/messages/resources/mms/client/Client.js +136 -0
- package/dist/cjs/api/resources/messages/resources/mms/client/index.js +2 -0
- package/dist/cjs/api/resources/messages/resources/mms/index.d.ts +1 -0
- package/dist/cjs/api/resources/messages/resources/mms/index.js +17 -0
- package/dist/cjs/api/resources/messages/resources/rcs/client/Client.d.ts +57 -0
- package/dist/cjs/api/resources/messages/resources/rcs/client/Client.js +140 -0
- package/dist/cjs/api/resources/messages/resources/rcs/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/messages/resources/rcs/client/index.js +2 -0
- package/dist/cjs/api/resources/messages/resources/rcs/index.d.ts +1 -0
- package/dist/cjs/api/resources/messages/resources/rcs/index.js +17 -0
- package/dist/cjs/api/resources/messages/resources/send/client/Client.d.ts +110 -0
- package/dist/cjs/api/resources/messages/resources/send/client/Client.js +311 -0
- package/dist/cjs/api/resources/messages/resources/send/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/messages/resources/send/client/index.js +17 -0
- package/dist/cjs/api/resources/messages/resources/send/client/requests/Mms.d.ts +66 -0
- package/dist/cjs/api/resources/messages/resources/send/client/requests/Sms.d.ts +38 -0
- package/dist/cjs/api/resources/messages/resources/send/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/messages/resources/send/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/messages/resources/send/index.d.ts +2 -0
- package/dist/cjs/api/resources/messages/resources/send/index.js +18 -0
- package/dist/cjs/api/resources/messages/resources/send/types/SendMmsResponse.d.ts +5 -0
- package/dist/cjs/api/resources/messages/resources/send/types/SendRcsResponse.d.ts +5 -0
- package/dist/cjs/api/resources/messages/resources/send/types/SendSmsResponse.d.ts +5 -0
- package/dist/cjs/api/resources/messages/resources/send/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/messages/resources/send/types/index.js +19 -0
- package/dist/cjs/api/resources/phoneNumbers/client/Client.d.ts +117 -0
- package/dist/cjs/api/resources/phoneNumbers/client/Client.js +318 -0
- package/dist/cjs/api/resources/phoneNumbers/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/phoneNumbers/client/index.js +17 -0
- package/dist/cjs/api/resources/phoneNumbers/client/requests/BuyPhoneNumberParams.d.ts +19 -0
- package/dist/cjs/api/resources/phoneNumbers/client/requests/RetrievePhoneNumberDetailsParams.d.ts +76 -0
- package/dist/cjs/api/resources/phoneNumbers/client/requests/RetrievePhoneNumberDetailsParams.js +13 -0
- package/dist/cjs/api/resources/phoneNumbers/client/requests/SearchPhoneNumberParams.d.ts +76 -0
- package/dist/cjs/api/resources/phoneNumbers/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/phoneNumbers/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/phoneNumbers/index.d.ts +3 -0
- package/dist/cjs/api/resources/phoneNumbers/index.js +19 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/Client.d.ts +73 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/Client.js +213 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/index.js +17 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/requests/AttachCampaignParams.d.ts +19 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/requests/DetachCampaignParams.d.ts +13 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/campaign/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/campaign/index.d.ts +1 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/campaign/index.js +17 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/index.js +42 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/webhook/client/Client.d.ts +80 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/webhook/client/Client.js +219 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/webhook/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/webhook/client/index.js +2 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/webhook/index.d.ts +1 -0
- package/dist/cjs/api/resources/phoneNumbers/resources/webhook/index.js +17 -0
- package/dist/cjs/api/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.ts +5 -0
- package/dist/cjs/api/resources/phoneNumbers/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/phoneNumbers/types/index.js +17 -0
- package/dist/cjs/api/resources/status/client/Client.d.ts +22 -0
- package/dist/cjs/api/resources/status/client/Client.js +17 -0
- package/dist/cjs/api/resources/status/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/status/client/index.js +2 -0
- package/dist/cjs/api/resources/status/index.d.ts +2 -0
- package/dist/cjs/api/resources/status/index.js +18 -0
- package/dist/cjs/api/resources/status/resources/get/client/Client.d.ts +122 -0
- package/dist/cjs/api/resources/status/resources/get/client/Client.js +422 -0
- package/dist/cjs/api/resources/status/resources/get/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/status/resources/get/client/index.js +2 -0
- package/dist/cjs/api/resources/status/resources/get/index.d.ts +1 -0
- package/dist/cjs/api/resources/status/resources/get/index.js +17 -0
- package/dist/cjs/api/resources/status/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/status/resources/index.js +37 -0
- package/dist/cjs/api/resources/tools/client/Client.d.ts +10 -53
- package/dist/cjs/api/resources/tools/client/Client.js +12 -190
- package/dist/cjs/api/resources/tools/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/tools/client/index.js +0 -15
- package/dist/cjs/api/resources/tools/index.d.ts +1 -1
- package/dist/cjs/api/resources/tools/index.js +1 -1
- package/dist/cjs/api/resources/tools/resources/contactCard/client/Client.d.ts +112 -0
- package/dist/cjs/api/resources/tools/resources/contactCard/client/Client.js +248 -0
- package/dist/cjs/api/resources/tools/resources/contactCard/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/tools/resources/contactCard/client/index.js +17 -0
- package/dist/cjs/api/resources/tools/resources/contactCard/client/requests/GetVcardParams.d.ts +24 -0
- package/dist/cjs/api/resources/tools/resources/contactCard/client/requests/UpsertVcardParams.d.ts +57 -0
- package/dist/cjs/api/resources/tools/resources/contactCard/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/tools/resources/contactCard/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/tools/resources/contactCard/index.d.ts +1 -0
- package/dist/cjs/api/resources/tools/resources/contactCard/index.js +17 -0
- package/dist/cjs/api/resources/tools/resources/file/client/Client.d.ts +59 -0
- package/dist/cjs/api/resources/tools/resources/file/client/Client.js +142 -0
- package/dist/cjs/api/resources/tools/resources/file/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/tools/resources/file/client/index.js +17 -0
- package/dist/cjs/api/resources/tools/resources/file/client/requests/UploadFileParams.d.ts +56 -0
- package/dist/cjs/api/resources/tools/resources/file/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/tools/resources/file/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/tools/resources/file/index.d.ts +1 -0
- package/dist/cjs/api/resources/tools/resources/file/index.js +17 -0
- package/dist/cjs/api/resources/tools/resources/index.d.ts +6 -0
- package/dist/cjs/api/resources/tools/resources/index.js +45 -0
- package/dist/cjs/api/resources/tools/resources/url/client/Client.d.ts +92 -0
- package/dist/cjs/api/resources/tools/resources/url/client/Client.js +278 -0
- package/dist/cjs/api/resources/tools/resources/url/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/tools/resources/url/client/index.js +17 -0
- package/dist/cjs/api/resources/tools/resources/url/client/requests/CreateUrlParams.d.ts +18 -0
- package/dist/cjs/api/resources/tools/resources/url/client/requests/UpdateUrlParams.d.ts +15 -0
- package/dist/cjs/api/resources/tools/resources/url/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/tools/resources/url/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/tools/resources/url/index.d.ts +1 -0
- package/dist/cjs/api/resources/tools/resources/url/index.js +17 -0
- package/dist/cjs/api/resources/webhooks/client/Client.d.ts +52 -0
- package/dist/cjs/api/resources/webhooks/client/Client.js +135 -0
- package/dist/cjs/api/resources/webhooks/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/webhooks/client/index.js +17 -0
- package/dist/cjs/api/resources/webhooks/client/requests/GetWebhookParams.d.ts +13 -0
- package/dist/cjs/api/resources/webhooks/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/webhooks/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/webhooks/index.d.ts +1 -0
- package/dist/cjs/api/resources/webhooks/index.js +17 -0
- package/dist/cjs/api/types/AdvancedPhoneInformation.d.ts +161 -0
- package/dist/cjs/api/types/AdvancedPhoneInformation.js +17 -0
- package/dist/cjs/api/types/AttachWebhookParams.d.ts +22 -0
- package/dist/cjs/api/types/AttachedPhoneNumberResult.d.ts +42 -0
- package/dist/cjs/api/types/AutofillCampaignParams.d.ts +9 -0
- package/dist/cjs/api/types/AutofillDlcCampaignResponse.d.ts +104 -0
- package/dist/cjs/api/types/BadRequestErrorBody.d.ts +5 -3
- package/dist/cjs/api/types/BasicPhoneInformation.d.ts +53 -0
- package/dist/cjs/api/types/BrandStatus.d.ts +23 -0
- package/dist/cjs/api/types/BrandStatusEnum.d.ts +21 -0
- package/dist/cjs/api/types/BrandStatusEnum.js +14 -0
- package/dist/cjs/api/types/CampaignEnum.d.ts +15 -0
- package/dist/cjs/api/types/CampaignEnum.js +11 -0
- package/dist/cjs/api/types/CampaignQuery.d.ts +12 -0
- package/dist/cjs/api/types/CampaignQuery.js +5 -0
- package/dist/cjs/api/types/CampaignSubmissionResult.d.ts +7 -0
- package/dist/cjs/api/types/CampaignSubmissionResult.js +5 -0
- package/dist/cjs/api/types/CampaignValidationResult.d.ts +22 -0
- package/dist/cjs/api/types/CampaignValidationResult.js +5 -0
- package/dist/cjs/api/types/ClickAction.d.ts +28 -0
- package/dist/cjs/api/types/ClickAction.js +5 -0
- package/dist/cjs/api/types/CompanySectorEnum.d.ts +26 -0
- package/dist/cjs/api/types/CompanySectorEnum.js +25 -0
- package/dist/cjs/api/types/CompanyTypeEnum.d.ts +14 -0
- package/dist/cjs/api/types/CompanyTypeEnum.js +13 -0
- package/dist/cjs/api/types/ConfiguredWebhook.d.ts +35 -0
- package/dist/cjs/api/types/ConfiguredWebhook.js +5 -0
- package/dist/cjs/api/types/Contact.d.ts +17 -0
- package/dist/cjs/api/types/Contact.js +5 -0
- package/dist/cjs/api/types/ContactId.d.ts +7 -0
- package/dist/cjs/api/types/ContactId.js +5 -0
- package/dist/cjs/api/types/Conversation.d.ts +63 -0
- package/dist/cjs/api/types/Conversation.js +5 -0
- package/dist/cjs/api/types/ConversationList.d.ts +14 -0
- package/dist/cjs/api/types/ConversationList.js +5 -0
- package/dist/cjs/api/types/CreateUrlOptions.d.ts +11 -0
- package/dist/cjs/api/types/CreateUrlOptions.js +5 -0
- package/dist/cjs/api/types/DetachedPhoneNumberResult.d.ts +42 -0
- package/dist/cjs/api/types/DetachedPhoneNumberResult.js +5 -0
- package/dist/cjs/api/types/DetachedWebhookInfo.d.ts +11 -0
- package/dist/cjs/api/types/DetachedWebhookInfo.js +5 -0
- package/dist/cjs/api/types/DetailedPhoneNumberEnum.d.ts +24 -0
- package/dist/cjs/api/types/DetailedPhoneNumberEnum.js +20 -0
- package/dist/cjs/api/types/DlcAssignmentStatusEnum.d.ts +20 -0
- package/dist/cjs/api/types/DlcAssignmentStatusEnum.js +13 -0
- package/dist/cjs/api/types/DlcCampaignStatus.d.ts +55 -0
- package/dist/cjs/api/types/DlcCampaignStatus.js +5 -0
- package/dist/cjs/api/types/DlcCampaignUseCaseEnum.d.ts +35 -0
- package/dist/cjs/api/types/DlcCampaignUseCaseEnum.js +34 -0
- package/dist/cjs/api/types/DlcCampaignWithExtendedBrandAndStatus.d.ts +116 -0
- package/dist/cjs/api/types/DlcCampaignWithExtendedBrandAndStatus.js +5 -0
- package/dist/cjs/api/types/EnhancedContact.d.ts +9 -0
- package/dist/cjs/api/types/EnhancedContact.js +5 -0
- package/dist/cjs/api/types/EnhancedContactItem.d.ts +24 -0
- package/dist/cjs/api/types/EnhancedContactItem.js +5 -0
- package/dist/cjs/api/types/Error_.d.ts +10 -0
- package/dist/cjs/api/types/Error_.js +5 -0
- package/dist/cjs/api/types/ExtendedBrand.d.ts +23 -0
- package/dist/cjs/api/types/ExtendedBrand.js +5 -0
- package/dist/cjs/api/types/ExtendedBrandWithVetting.d.ts +12 -0
- package/dist/cjs/api/types/ExtendedBrandWithVetting.js +5 -0
- package/dist/cjs/api/types/ExtendedRcsCampaign.d.ts +112 -0
- package/dist/cjs/api/types/ExtendedRcsCampaign.js +5 -0
- package/dist/cjs/api/types/GetConversationParams.d.ts +18 -0
- package/dist/cjs/api/types/GetConversationParams.js +5 -0
- package/dist/cjs/api/types/InboundButton.d.ts +11 -0
- package/dist/cjs/api/types/InboundButton.js +5 -0
- package/dist/cjs/api/types/LinkClickEvent.d.ts +107 -0
- package/dist/cjs/api/types/LinkClickEvent.js +5 -0
- package/dist/cjs/api/types/LocationShareAction.d.ts +22 -0
- package/dist/cjs/api/types/LocationShareAction.js +5 -0
- package/dist/cjs/api/types/Message.d.ts +42 -0
- package/dist/cjs/api/types/Message.js +5 -0
- package/dist/cjs/api/types/MessageContent.d.ts +22 -0
- package/dist/cjs/api/types/MessageContent.js +5 -0
- package/dist/cjs/api/types/MessageMethodEnum.d.ts +12 -0
- package/dist/cjs/api/types/MessageMethodEnum.js +11 -0
- package/dist/cjs/api/types/MessageProtocolEnum.d.ts +12 -0
- package/dist/cjs/api/types/MessageProtocolEnum.js +11 -0
- package/dist/cjs/api/types/MessageSchedule.d.ts +20 -0
- package/dist/cjs/api/types/MessageSchedule.js +5 -0
- package/dist/cjs/api/types/MessageStatusEnum.d.ts +16 -0
- package/dist/cjs/api/types/MessageStatusEnum.js +15 -0
- package/dist/cjs/api/types/MessageVolumeEnum.d.ts +20 -0
- package/dist/cjs/api/types/MessageVolumeEnum.js +19 -0
- package/dist/cjs/api/types/MessagingProfileEnum.d.ts +11 -0
- package/dist/cjs/api/types/MessagingProfileEnum.js +10 -0
- package/dist/cjs/api/types/MmsContent.d.ts +16 -0
- package/dist/cjs/api/types/MmsContent.js +5 -0
- package/dist/cjs/api/types/MmsValidationResult.d.ts +41 -0
- package/dist/cjs/api/types/MmsValidationResult.js +5 -0
- package/dist/cjs/api/types/NullableContact.d.ts +16 -0
- package/dist/cjs/api/types/NullableContact.js +5 -0
- package/dist/cjs/api/types/NumberFormat.d.ts +19 -0
- package/dist/cjs/api/types/NumberFormat.js +5 -0
- package/dist/cjs/api/types/OptInMethodEnum.d.ts +13 -0
- package/dist/cjs/api/types/OptInMethodEnum.js +12 -0
- package/dist/cjs/api/types/OptionalBrandInfo.d.ts +23 -0
- package/dist/cjs/api/types/OptionalBrandInfo.js +5 -0
- package/dist/cjs/api/types/OptionalContact.d.ts +13 -0
- package/dist/cjs/api/types/OptionalContact.js +5 -0
- package/dist/cjs/api/types/OptionalContacts.d.ts +16 -0
- package/dist/cjs/api/types/OptionalContacts.js +5 -0
- package/dist/cjs/api/types/PhoneCapabilities.d.ts +14 -0
- package/dist/cjs/api/types/PhoneCapabilities.js +5 -0
- package/dist/cjs/api/types/PhoneEnum.d.ts +13 -0
- package/dist/cjs/api/types/PhoneEnum.js +10 -0
- package/dist/cjs/api/types/PhoneFeatureEnum.d.ts +19 -0
- package/dist/cjs/api/types/PhoneFeatureEnum.js +16 -0
- package/dist/cjs/api/types/PhoneNumberDetails.d.ts +49 -0
- package/dist/cjs/api/types/PhoneNumberDetails.js +5 -0
- package/dist/cjs/api/types/PhoneNumberEnum.d.ts +19 -0
- package/dist/cjs/api/types/PhoneNumberEnum.js +16 -0
- package/dist/cjs/api/types/PhoneNumberStatus.d.ts +21 -0
- package/dist/cjs/api/types/PhoneNumberStatus.js +5 -0
- package/dist/cjs/api/types/PhoneNumberStatusEnum.d.ts +16 -0
- package/dist/cjs/api/types/PhoneNumberStatusEnum.js +11 -0
- package/dist/cjs/api/types/ProfileStatusEnum.d.ts +18 -0
- package/dist/cjs/api/types/ProfileStatusEnum.js +12 -0
- package/dist/cjs/api/types/PurchasedNumber.d.ts +26 -0
- package/dist/cjs/api/types/PurchasedNumber.js +5 -0
- package/dist/cjs/api/types/Rcs.d.ts +14 -0
- package/dist/cjs/api/types/Rcs.js +5 -0
- package/dist/cjs/api/types/RcsBase.d.ts +29 -0
- package/dist/cjs/api/types/RcsBase.js +5 -0
- package/dist/cjs/api/types/RcsButtonCall.d.ts +12 -0
- package/dist/cjs/api/types/RcsButtonCall.js +5 -0
- package/dist/cjs/api/types/RcsButtonContent.d.ts +25 -0
- package/dist/cjs/api/types/RcsButtonContent.js +5 -0
- package/dist/cjs/api/types/RcsButtonOpenUrl.d.ts +12 -0
- package/dist/cjs/api/types/RcsButtonOpenUrl.js +5 -0
- package/dist/cjs/api/types/RcsButtonRequestUserLocation.d.ts +10 -0
- package/dist/cjs/api/types/RcsButtonRequestUserLocation.js +5 -0
- package/dist/cjs/api/types/RcsButtonScheduleEvent.d.ts +18 -0
- package/dist/cjs/api/types/RcsButtonScheduleEvent.js +5 -0
- package/dist/cjs/api/types/RcsButtonSendLocation.d.ts +23 -0
- package/dist/cjs/api/types/RcsButtonSendLocation.js +5 -0
- package/dist/cjs/api/types/RcsButtonTrigger.d.ts +14 -0
- package/dist/cjs/api/types/RcsButtonTrigger.js +5 -0
- package/dist/cjs/api/types/RcsCampaign.d.ts +106 -0
- package/dist/cjs/api/types/RcsCampaign.js +5 -0
- package/dist/cjs/api/types/RcsCampaignOptInMethodEnum.d.ts +15 -0
- package/dist/cjs/api/types/RcsCampaignOptInMethodEnum.js +14 -0
- package/dist/cjs/api/types/RcsCampaignStatus.d.ts +22 -0
- package/dist/cjs/api/types/RcsCampaignStatus.js +5 -0
- package/dist/cjs/api/types/RcsCampaignUseCaseEnum.d.ts +23 -0
- package/dist/cjs/api/types/RcsCampaignUseCaseEnum.js +22 -0
- package/dist/cjs/api/types/RcsCard.d.ts +6 -0
- package/dist/cjs/api/types/RcsCard.js +5 -0
- package/dist/cjs/api/types/RcsCards.d.ts +33 -0
- package/dist/cjs/api/types/RcsCards.js +5 -0
- package/dist/cjs/api/types/RcsCardsContent.d.ts +32 -0
- package/dist/cjs/api/types/RcsCardsContent.js +5 -0
- package/dist/cjs/api/types/RcsContent.d.ts +21 -0
- package/dist/cjs/api/types/RcsContent.js +5 -0
- package/dist/cjs/api/types/RcsMedia.d.ts +14 -0
- package/dist/cjs/api/types/RcsMedia.js +5 -0
- package/dist/cjs/api/types/RcsMediaContent.d.ts +14 -0
- package/dist/cjs/api/types/RcsMediaContent.js +5 -0
- package/dist/cjs/api/types/RcsMediaDetailsContent.d.ts +14 -0
- package/dist/cjs/api/types/RcsMediaDetailsContent.js +5 -0
- package/dist/cjs/api/types/RcsText.d.ts +6 -0
- package/dist/cjs/api/types/RcsText.js +5 -0
- package/dist/cjs/api/types/RcsTextContent.d.ts +13 -0
- package/dist/cjs/api/types/RcsTextContent.js +5 -0
- package/dist/cjs/api/types/RcsValidateContent.d.ts +20 -0
- package/dist/cjs/api/types/RcsValidateContent.js +5 -0
- package/dist/cjs/api/types/RcsValidationResult.d.ts +11 -0
- package/dist/cjs/api/types/RcsValidationResult.js +5 -0
- package/dist/cjs/api/types/ReactionResult.d.ts +9 -0
- package/dist/cjs/api/types/ReactionResult.js +5 -0
- package/dist/cjs/api/types/ScheduledMessaage.d.ts +24 -0
- package/dist/cjs/api/types/ScheduledMessaage.js +5 -0
- package/dist/cjs/api/types/Sender.d.ts +9 -0
- package/dist/cjs/api/types/Sender.js +5 -0
- package/dist/cjs/api/types/SentMmsDetails.d.ts +17 -0
- package/dist/cjs/api/types/SentMmsDetails.js +5 -0
- package/dist/cjs/api/types/SentRcsDetails.d.ts +17 -0
- package/dist/cjs/api/types/SentRcsDetails.js +5 -0
- package/dist/cjs/api/types/SentSmsDetails.d.ts +38 -0
- package/dist/cjs/api/types/SentSmsDetails.js +16 -0
- package/dist/cjs/api/types/ShortenedUrl.d.ts +16 -0
- package/dist/cjs/api/types/ShortenedUrl.js +5 -0
- package/dist/cjs/api/types/ShortenedUrlWithClickData.d.ts +12 -0
- package/dist/cjs/api/types/ShortenedUrlWithClickData.js +5 -0
- package/dist/cjs/api/types/SmsContent.d.ts +10 -0
- package/dist/cjs/api/types/SmsContent.js +5 -0
- package/dist/cjs/api/types/SmsValidationResult.d.ts +59 -0
- package/dist/cjs/api/types/SmsValidationResult.js +5 -0
- package/dist/cjs/api/types/SubUseCaseEnum.d.ts +19 -0
- package/dist/cjs/api/types/SubUseCaseEnum.js +18 -0
- package/dist/cjs/api/types/SubmissionResults.d.ts +7 -0
- package/dist/cjs/api/types/SubmissionResults.js +5 -0
- package/dist/cjs/api/types/SuccessfulConversationUpdate.d.ts +10 -0
- package/dist/cjs/api/types/SuccessfulConversationUpdate.js +5 -0
- package/dist/cjs/api/types/TollFreeCampaign.d.ts +37 -0
- package/dist/cjs/api/types/TollFreeCampaign.js +5 -0
- package/dist/cjs/api/types/TollFreeCampaignStatus.d.ts +46 -0
- package/dist/cjs/api/types/TollFreeCampaignStatus.js +5 -0
- package/dist/cjs/api/types/TollFreeCampaignUseCaseEnum.d.ts +52 -0
- package/dist/cjs/api/types/TollFreeCampaignUseCaseEnum.js +51 -0
- package/dist/cjs/api/types/TollFreeCampaignWithExtendedBrandAndStatus.d.ts +18 -0
- package/dist/cjs/api/types/TollFreeCampaignWithExtendedBrandAndStatus.js +5 -0
- package/dist/cjs/api/types/TollFreeStatusEnum.d.ts +21 -0
- package/dist/cjs/api/types/TollFreeStatusEnum.js +14 -0
- package/dist/cjs/api/types/Tracking.d.ts +15 -0
- package/dist/cjs/api/types/Tracking.js +10 -0
- package/dist/cjs/api/types/UpdatedContactId.d.ts +7 -0
- package/dist/cjs/api/types/UpdatedContactId.js +5 -0
- package/dist/cjs/api/types/UploadResults.d.ts +24 -0
- package/dist/cjs/api/types/UploadResults.js +5 -0
- package/dist/cjs/api/types/VCardData.d.ts +32 -0
- package/dist/cjs/api/types/VCardData.js +5 -0
- package/dist/cjs/api/types/ValidateCampaignParams.d.ts +9 -0
- package/dist/cjs/api/types/ValidateCampaignParams.js +5 -0
- package/dist/cjs/api/types/ValidationErrorDetails.d.ts +11 -0
- package/dist/cjs/api/types/ValidationErrorDetails.js +5 -0
- package/dist/cjs/api/types/ValidationResults.d.ts +10 -0
- package/dist/cjs/api/types/ValidationResults.js +5 -0
- package/dist/cjs/api/types/Vcard.d.ts +73 -0
- package/dist/cjs/api/types/Vcard.js +5 -0
- package/dist/cjs/api/types/VcardAddress.d.ts +38 -0
- package/dist/cjs/api/types/VcardAddress.js +21 -0
- package/dist/cjs/api/types/VcardContent.d.ts +8 -0
- package/dist/cjs/api/types/VcardContent.js +5 -0
- package/dist/cjs/api/types/VcardEmail.d.ts +30 -0
- package/dist/cjs/api/types/VcardEmail.js +27 -0
- package/dist/cjs/api/types/VcardPhone.d.ts +30 -0
- package/dist/cjs/api/types/VcardPhone.js +27 -0
- package/dist/cjs/api/types/VcardResource.d.ts +13 -0
- package/dist/cjs/api/types/VcardResource.js +5 -0
- package/dist/cjs/api/types/VettingFeedback.d.ts +13 -0
- package/dist/cjs/api/types/VettingFeedback.js +5 -0
- package/dist/cjs/api/types/VettingHistory.d.ts +27 -0
- package/dist/cjs/api/types/VettingHistory.js +15 -0
- package/dist/cjs/api/types/VettingResults.d.ts +7 -0
- package/dist/cjs/api/types/VettingResults.js +5 -0
- package/dist/cjs/api/types/WebhookEventEnum.d.ts +12 -0
- package/dist/cjs/api/types/WebhookEventEnum.js +10 -0
- package/dist/cjs/api/types/WebhookResult.d.ts +12 -0
- package/dist/cjs/api/types/WebhookResult.js +5 -0
- package/dist/cjs/api/types/Webhooks.d.ts +14 -0
- package/dist/cjs/api/types/Webhooks.js +5 -0
- package/dist/cjs/api/types/ZodError.d.ts +15 -0
- package/dist/cjs/api/types/ZodError.js +5 -0
- package/dist/cjs/api/types/index.d.ts +125 -25
- package/dist/cjs/api/types/index.js +125 -25
- package/dist/cjs/core/fetcher/Fetcher.d.ts +2 -2
- package/dist/cjs/core/fetcher/Fetcher.js +2 -2
- package/dist/cjs/core/fetcher/index.d.ts +5 -5
- package/dist/cjs/core/fetcher/index.js +5 -5
- package/dist/cjs/core/fetcher/requestWithRetries.js +34 -2
- package/dist/cjs/core/headers.d.ts +2 -2
- package/dist/cjs/environments.d.ts +1 -1
- package/dist/cjs/environments.js +1 -1
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +31 -27
- package/dist/esm/Client.mjs +43 -95
- package/dist/esm/api/errors/InternalServerError.d.mts +2 -1
- package/dist/esm/api/errors/NotFoundError.d.mts +9 -0
- package/dist/esm/api/errors/NotFoundError.mjs +15 -0
- package/dist/esm/api/errors/NotImplementedError.d.mts +9 -0
- package/dist/esm/api/errors/NotImplementedError.mjs +15 -0
- package/dist/esm/api/errors/PaymentRequiredError.d.mts +2 -1
- package/dist/esm/api/errors/UnauthorizedError.d.mts +2 -1
- package/dist/esm/api/errors/index.d.mts +2 -1
- package/dist/esm/api/errors/index.mjs +2 -1
- package/dist/esm/api/index.d.mts +0 -1
- package/dist/esm/api/index.mjs +0 -1
- package/dist/esm/api/resources/brands/client/Client.d.mts +176 -0
- package/dist/esm/api/resources/brands/client/Client.mjs +496 -0
- package/dist/esm/api/resources/brands/client/requests/AutofillBrandParams.d.mts +29 -0
- package/dist/esm/api/resources/brands/client/requests/BrandsGetRequest.d.mts +15 -0
- package/dist/esm/api/resources/brands/client/requests/UpsertBrandParams.d.mts +49 -0
- package/dist/esm/api/resources/brands/client/requests/ValidateBrandParams.d.mts +59 -0
- package/dist/esm/api/resources/brands/client/requests/VetBrandParams.d.mts +9 -0
- package/dist/esm/api/resources/brands/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/brands/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/brands/index.d.mts +1 -0
- package/dist/esm/api/resources/brands/index.mjs +1 -0
- package/dist/esm/api/resources/campaigns/client/Client.d.mts +28 -0
- package/dist/esm/api/resources/campaigns/client/Client.mjs +23 -0
- package/dist/esm/api/resources/campaigns/client/index.d.mts +1 -0
- package/dist/esm/api/resources/campaigns/client/index.mjs +1 -0
- package/dist/esm/api/resources/campaigns/index.d.mts +2 -0
- package/dist/esm/api/resources/campaigns/index.mjs +2 -0
- package/dist/esm/api/resources/campaigns/resources/dlc/client/Client.d.mts +158 -0
- package/dist/esm/api/resources/campaigns/resources/dlc/client/Client.mjs +422 -0
- package/dist/esm/api/resources/campaigns/resources/dlc/client/requests/UpsertDlcCampaignParams.d.mts +145 -0
- package/dist/esm/api/resources/campaigns/resources/dlc/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/campaigns/resources/dlc/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/campaigns/resources/dlc/index.d.mts +1 -0
- package/dist/esm/api/resources/campaigns/resources/dlc/index.mjs +1 -0
- package/dist/esm/api/resources/campaigns/resources/index.d.mts +8 -0
- package/dist/esm/api/resources/campaigns/resources/index.mjs +8 -0
- package/dist/esm/api/resources/campaigns/resources/rcs/client/Client.d.mts +159 -0
- package/dist/esm/api/resources/campaigns/resources/rcs/client/Client.mjs +420 -0
- package/dist/esm/api/resources/campaigns/resources/rcs/client/index.d.mts +2 -0
- package/dist/esm/api/resources/campaigns/resources/rcs/client/requests/UpsertRcsCampaignParams.d.mts +158 -0
- package/dist/esm/api/resources/campaigns/resources/rcs/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/campaigns/resources/rcs/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/campaigns/resources/rcs/types/RcsAutofillResponse.d.mts +7 -0
- package/dist/esm/api/resources/campaigns/resources/rcs/types/index.d.mts +1 -0
- package/dist/esm/api/resources/campaigns/resources/rcs/types/index.mjs +1 -0
- package/dist/esm/api/resources/campaigns/resources/tollFree/client/Client.d.mts +136 -0
- package/dist/esm/api/resources/campaigns/resources/tollFree/client/Client.mjs +403 -0
- package/dist/esm/api/resources/campaigns/resources/tollFree/client/index.d.mts +2 -0
- package/dist/esm/api/resources/campaigns/resources/tollFree/client/requests/UpsertTollFreeCampaignParams.d.mts +58 -0
- package/dist/esm/api/resources/campaigns/resources/tollFree/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/campaigns/resources/tollFree/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/campaigns/resources/tollFree/types/TollFreeAutofillResponse.d.mts +7 -0
- package/dist/esm/api/resources/campaigns/resources/tollFree/types/index.d.mts +1 -0
- package/dist/esm/api/resources/campaigns/resources/tollFree/types/index.mjs +1 -0
- package/dist/esm/api/resources/contacts/client/Client.d.mts +90 -0
- package/dist/esm/api/resources/contacts/client/Client.mjs +251 -0
- package/dist/esm/api/resources/contacts/client/index.d.mts +2 -0
- package/dist/esm/api/resources/contacts/client/index.mjs +1 -0
- package/dist/esm/api/resources/contacts/client/requests/ContactsGetRequest.d.mts +17 -0
- package/dist/esm/api/resources/contacts/client/requests/CreateContactParams.d.mts +14 -0
- package/dist/esm/api/resources/contacts/client/requests/UpdateContactParams.d.mts +18 -0
- package/dist/esm/api/resources/contacts/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/contacts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/contacts/index.d.mts +1 -0
- package/dist/esm/api/resources/contacts/index.mjs +1 -0
- package/dist/esm/api/resources/conversations/client/Client.d.mts +93 -0
- package/dist/esm/api/resources/conversations/client/Client.mjs +251 -0
- package/dist/esm/api/resources/conversations/client/index.d.mts +2 -0
- package/dist/esm/api/resources/conversations/client/index.mjs +1 -0
- package/dist/esm/api/resources/conversations/client/requests/ListConversationsParams.d.mts +30 -0
- package/dist/esm/api/resources/conversations/client/requests/UpdateConversationParams.d.mts +16 -0
- package/dist/esm/api/resources/conversations/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/conversations/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/conversations/index.d.mts +1 -0
- package/dist/esm/api/resources/conversations/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +16 -8
- package/dist/esm/api/resources/index.mjs +16 -8
- package/dist/esm/api/resources/message/client/Client.d.mts +22 -0
- package/dist/esm/api/resources/message/client/Client.mjs +13 -0
- package/dist/esm/api/resources/message/client/index.d.mts +1 -0
- package/dist/esm/api/resources/message/client/index.mjs +1 -0
- package/dist/esm/api/resources/message/index.d.mts +2 -0
- package/dist/esm/api/resources/message/index.mjs +2 -0
- package/dist/esm/api/resources/message/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/message/resources/index.mjs +1 -0
- package/dist/esm/api/resources/message/resources/sms/client/Client.d.mts +52 -0
- package/dist/esm/api/resources/message/resources/sms/client/Client.mjs +98 -0
- package/dist/esm/api/resources/message/resources/sms/client/index.d.mts +1 -0
- package/dist/esm/api/resources/message/resources/sms/client/index.mjs +1 -0
- package/dist/esm/api/resources/message/resources/sms/index.d.mts +1 -0
- package/dist/esm/api/resources/message/resources/sms/index.mjs +1 -0
- package/dist/esm/api/resources/messages/client/Client.d.mts +81 -0
- package/dist/esm/api/resources/messages/client/Client.mjs +185 -0
- package/dist/esm/api/resources/messages/client/index.d.mts +2 -0
- package/dist/esm/api/resources/messages/client/index.mjs +1 -0
- package/dist/esm/api/resources/messages/client/requests/ReactMessageParams.d.mts +36 -0
- package/dist/esm/api/resources/messages/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/messages/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/messages/index.d.mts +2 -0
- package/dist/esm/api/resources/messages/index.mjs +2 -0
- package/dist/esm/api/resources/messages/resources/index.d.mts +5 -0
- package/dist/esm/api/resources/messages/resources/index.mjs +5 -0
- package/dist/esm/api/resources/messages/resources/mms/client/Client.d.mts +53 -0
- package/dist/esm/api/resources/messages/resources/mms/client/Client.mjs +99 -0
- package/dist/esm/api/resources/messages/resources/mms/client/index.d.mts +1 -0
- package/dist/esm/api/resources/messages/resources/mms/client/index.mjs +1 -0
- package/dist/esm/api/resources/messages/resources/mms/index.d.mts +1 -0
- package/dist/esm/api/resources/messages/resources/mms/index.mjs +1 -0
- package/dist/esm/api/resources/messages/resources/rcs/client/Client.d.mts +57 -0
- package/dist/esm/api/resources/messages/resources/rcs/client/Client.mjs +103 -0
- package/dist/esm/api/resources/messages/resources/rcs/client/index.d.mts +1 -0
- package/dist/esm/api/resources/messages/resources/rcs/client/index.mjs +1 -0
- package/dist/esm/api/resources/messages/resources/rcs/index.d.mts +1 -0
- package/dist/esm/api/resources/messages/resources/rcs/index.mjs +1 -0
- package/dist/esm/api/resources/messages/resources/send/client/Client.d.mts +110 -0
- package/dist/esm/api/resources/messages/resources/send/client/Client.mjs +274 -0
- package/dist/esm/api/resources/messages/resources/send/client/index.d.mts +2 -0
- package/dist/esm/api/resources/messages/resources/send/client/index.mjs +1 -0
- package/dist/esm/api/resources/messages/resources/send/client/requests/Mms.d.mts +66 -0
- package/dist/esm/api/resources/messages/resources/send/client/requests/Sms.d.mts +38 -0
- package/dist/esm/api/resources/messages/resources/send/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/messages/resources/send/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/messages/resources/send/index.d.mts +2 -0
- package/dist/esm/api/resources/messages/resources/send/index.mjs +2 -0
- package/dist/esm/api/resources/messages/resources/send/types/SendMmsResponse.d.mts +5 -0
- package/dist/esm/api/resources/messages/resources/send/types/SendRcsResponse.d.mts +5 -0
- package/dist/esm/api/resources/messages/resources/send/types/SendSmsResponse.d.mts +5 -0
- package/dist/esm/api/resources/messages/resources/send/types/index.d.mts +3 -0
- package/dist/esm/api/resources/messages/resources/send/types/index.mjs +3 -0
- package/dist/esm/api/resources/phoneNumbers/client/Client.d.mts +117 -0
- package/dist/esm/api/resources/phoneNumbers/client/Client.mjs +281 -0
- package/dist/esm/api/resources/phoneNumbers/client/index.d.mts +2 -0
- package/dist/esm/api/resources/phoneNumbers/client/index.mjs +1 -0
- package/dist/esm/api/resources/phoneNumbers/client/requests/BuyPhoneNumberParams.d.mts +19 -0
- package/dist/esm/api/resources/phoneNumbers/client/requests/RetrievePhoneNumberDetailsParams.d.mts +76 -0
- package/dist/esm/api/resources/phoneNumbers/client/requests/RetrievePhoneNumberDetailsParams.mjs +10 -0
- package/dist/esm/api/resources/phoneNumbers/client/requests/SearchPhoneNumberParams.d.mts +76 -0
- package/dist/esm/api/resources/phoneNumbers/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/phoneNumbers/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/phoneNumbers/index.d.mts +3 -0
- package/dist/esm/api/resources/phoneNumbers/index.mjs +3 -0
- package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/Client.d.mts +73 -0
- package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/Client.mjs +176 -0
- package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/index.d.mts +2 -0
- package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/index.mjs +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/requests/AttachCampaignParams.d.mts +19 -0
- package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/requests/DetachCampaignParams.d.mts +13 -0
- package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/phoneNumbers/resources/campaign/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/campaign/index.d.mts +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/campaign/index.mjs +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/phoneNumbers/resources/index.mjs +3 -0
- package/dist/esm/api/resources/phoneNumbers/resources/webhook/client/Client.d.mts +80 -0
- package/dist/esm/api/resources/phoneNumbers/resources/webhook/client/Client.mjs +182 -0
- package/dist/esm/api/resources/phoneNumbers/resources/webhook/client/index.d.mts +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/webhook/client/index.mjs +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/webhook/index.d.mts +1 -0
- package/dist/esm/api/resources/phoneNumbers/resources/webhook/index.mjs +1 -0
- package/dist/esm/api/resources/phoneNumbers/types/PhoneNumbersGetResponse.d.mts +5 -0
- package/dist/esm/api/resources/phoneNumbers/types/index.d.mts +1 -0
- package/dist/esm/api/resources/phoneNumbers/types/index.mjs +1 -0
- package/dist/esm/api/resources/status/client/Client.d.mts +22 -0
- package/dist/esm/api/resources/status/client/Client.mjs +13 -0
- package/dist/esm/api/resources/status/client/index.d.mts +1 -0
- package/dist/esm/api/resources/status/client/index.mjs +1 -0
- package/dist/esm/api/resources/status/index.d.mts +2 -0
- package/dist/esm/api/resources/status/index.mjs +2 -0
- package/dist/esm/api/resources/status/resources/get/client/Client.d.mts +122 -0
- package/dist/esm/api/resources/status/resources/get/client/Client.mjs +385 -0
- package/dist/esm/api/resources/status/resources/get/client/index.d.mts +1 -0
- package/dist/esm/api/resources/status/resources/get/client/index.mjs +1 -0
- package/dist/esm/api/resources/status/resources/get/index.d.mts +1 -0
- package/dist/esm/api/resources/status/resources/get/index.mjs +1 -0
- package/dist/esm/api/resources/status/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/status/resources/index.mjs +1 -0
- package/dist/esm/api/resources/tools/client/Client.d.mts +10 -53
- package/dist/esm/api/resources/tools/client/Client.mjs +12 -157
- package/dist/esm/api/resources/tools/client/index.d.mts +0 -1
- package/dist/esm/api/resources/tools/client/index.mjs +1 -1
- package/dist/esm/api/resources/tools/index.d.mts +1 -1
- package/dist/esm/api/resources/tools/index.mjs +1 -1
- package/dist/esm/api/resources/tools/resources/contactCard/client/Client.d.mts +112 -0
- package/dist/esm/api/resources/tools/resources/contactCard/client/Client.mjs +211 -0
- package/dist/esm/api/resources/tools/resources/contactCard/client/index.d.mts +2 -0
- package/dist/esm/api/resources/tools/resources/contactCard/client/index.mjs +1 -0
- package/dist/esm/api/resources/tools/resources/contactCard/client/requests/GetVcardParams.d.mts +24 -0
- package/dist/esm/api/resources/tools/resources/contactCard/client/requests/UpsertVcardParams.d.mts +57 -0
- package/dist/esm/api/resources/tools/resources/contactCard/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/tools/resources/contactCard/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/tools/resources/contactCard/index.d.mts +1 -0
- package/dist/esm/api/resources/tools/resources/contactCard/index.mjs +1 -0
- package/dist/esm/api/resources/tools/resources/file/client/Client.d.mts +59 -0
- package/dist/esm/api/resources/tools/resources/file/client/Client.mjs +105 -0
- package/dist/esm/api/resources/tools/resources/file/client/index.d.mts +2 -0
- package/dist/esm/api/resources/tools/resources/file/client/index.mjs +1 -0
- package/dist/esm/api/resources/tools/resources/file/client/requests/UploadFileParams.d.mts +56 -0
- package/dist/esm/api/resources/tools/resources/file/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/tools/resources/file/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/tools/resources/file/index.d.mts +1 -0
- package/dist/esm/api/resources/tools/resources/file/index.mjs +1 -0
- package/dist/esm/api/resources/tools/resources/index.d.mts +6 -0
- package/dist/esm/api/resources/tools/resources/index.mjs +6 -0
- package/dist/esm/api/resources/tools/resources/url/client/Client.d.mts +92 -0
- package/dist/esm/api/resources/tools/resources/url/client/Client.mjs +241 -0
- package/dist/esm/api/resources/tools/resources/url/client/index.d.mts +2 -0
- package/dist/esm/api/resources/tools/resources/url/client/index.mjs +1 -0
- package/dist/esm/api/resources/tools/resources/url/client/requests/CreateUrlParams.d.mts +18 -0
- package/dist/esm/api/resources/tools/resources/url/client/requests/UpdateUrlParams.d.mts +15 -0
- package/dist/esm/api/resources/tools/resources/url/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/tools/resources/url/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/tools/resources/url/index.d.mts +1 -0
- package/dist/esm/api/resources/tools/resources/url/index.mjs +1 -0
- package/dist/esm/api/resources/webhooks/client/Client.d.mts +52 -0
- package/dist/esm/api/resources/webhooks/client/Client.mjs +98 -0
- package/dist/esm/api/resources/webhooks/client/index.d.mts +2 -0
- package/dist/esm/api/resources/webhooks/client/index.mjs +1 -0
- package/dist/esm/api/resources/webhooks/client/requests/GetWebhookParams.d.mts +13 -0
- package/dist/esm/api/resources/webhooks/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/webhooks/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/webhooks/index.d.mts +1 -0
- package/dist/esm/api/resources/webhooks/index.mjs +1 -0
- package/dist/esm/api/types/AdvancedPhoneInformation.d.mts +161 -0
- package/dist/esm/api/types/AdvancedPhoneInformation.mjs +14 -0
- package/dist/esm/api/types/AttachWebhookParams.d.mts +22 -0
- package/dist/esm/api/types/AttachedPhoneNumberResult.d.mts +42 -0
- package/dist/esm/api/types/AutofillCampaignParams.d.mts +9 -0
- package/dist/esm/api/types/AutofillDlcCampaignResponse.d.mts +104 -0
- package/dist/esm/api/types/BadRequestErrorBody.d.mts +5 -3
- package/dist/esm/api/types/BasicPhoneInformation.d.mts +53 -0
- package/dist/esm/api/types/BrandStatus.d.mts +23 -0
- package/dist/esm/api/types/BrandStatusEnum.d.mts +21 -0
- package/dist/esm/api/types/BrandStatusEnum.mjs +11 -0
- package/dist/esm/api/types/CampaignEnum.d.mts +15 -0
- package/dist/esm/api/types/CampaignEnum.mjs +8 -0
- package/dist/esm/api/types/CampaignQuery.d.mts +12 -0
- package/dist/esm/api/types/CampaignQuery.mjs +4 -0
- package/dist/esm/api/types/CampaignSubmissionResult.d.mts +7 -0
- package/dist/esm/api/types/CampaignSubmissionResult.mjs +4 -0
- package/dist/esm/api/types/CampaignValidationResult.d.mts +22 -0
- package/dist/esm/api/types/CampaignValidationResult.mjs +4 -0
- package/dist/esm/api/types/ClickAction.d.mts +28 -0
- package/dist/esm/api/types/ClickAction.mjs +4 -0
- package/dist/esm/api/types/CompanySectorEnum.d.mts +26 -0
- package/dist/esm/api/types/CompanySectorEnum.mjs +22 -0
- package/dist/esm/api/types/CompanyTypeEnum.d.mts +14 -0
- package/dist/esm/api/types/CompanyTypeEnum.mjs +10 -0
- package/dist/esm/api/types/ConfiguredWebhook.d.mts +35 -0
- package/dist/esm/api/types/ConfiguredWebhook.mjs +4 -0
- package/dist/esm/api/types/Contact.d.mts +17 -0
- package/dist/esm/api/types/Contact.mjs +4 -0
- package/dist/esm/api/types/ContactId.d.mts +7 -0
- package/dist/esm/api/types/ContactId.mjs +4 -0
- package/dist/esm/api/types/Conversation.d.mts +63 -0
- package/dist/esm/api/types/Conversation.mjs +4 -0
- package/dist/esm/api/types/ConversationList.d.mts +14 -0
- package/dist/esm/api/types/ConversationList.mjs +4 -0
- package/dist/esm/api/types/CreateUrlOptions.d.mts +11 -0
- package/dist/esm/api/types/CreateUrlOptions.mjs +4 -0
- package/dist/esm/api/types/DetachedPhoneNumberResult.d.mts +42 -0
- package/dist/esm/api/types/DetachedPhoneNumberResult.mjs +4 -0
- package/dist/esm/api/types/DetachedWebhookInfo.d.mts +11 -0
- package/dist/esm/api/types/DetachedWebhookInfo.mjs +4 -0
- package/dist/esm/api/types/DetailedPhoneNumberEnum.d.mts +24 -0
- package/dist/esm/api/types/DetailedPhoneNumberEnum.mjs +17 -0
- package/dist/esm/api/types/DlcAssignmentStatusEnum.d.mts +20 -0
- package/dist/esm/api/types/DlcAssignmentStatusEnum.mjs +10 -0
- package/dist/esm/api/types/DlcCampaignStatus.d.mts +55 -0
- package/dist/esm/api/types/DlcCampaignStatus.mjs +4 -0
- package/dist/esm/api/types/DlcCampaignUseCaseEnum.d.mts +35 -0
- package/dist/esm/api/types/DlcCampaignUseCaseEnum.mjs +31 -0
- package/dist/esm/api/types/DlcCampaignWithExtendedBrandAndStatus.d.mts +116 -0
- package/dist/esm/api/types/DlcCampaignWithExtendedBrandAndStatus.mjs +4 -0
- package/dist/esm/api/types/EnhancedContact.d.mts +9 -0
- package/dist/esm/api/types/EnhancedContact.mjs +4 -0
- package/dist/esm/api/types/EnhancedContactItem.d.mts +24 -0
- package/dist/esm/api/types/EnhancedContactItem.mjs +4 -0
- package/dist/esm/api/types/Error_.d.mts +10 -0
- package/dist/esm/api/types/Error_.mjs +4 -0
- package/dist/esm/api/types/ExtendedBrand.d.mts +23 -0
- package/dist/esm/api/types/ExtendedBrand.mjs +4 -0
- package/dist/esm/api/types/ExtendedBrandWithVetting.d.mts +12 -0
- package/dist/esm/api/types/ExtendedBrandWithVetting.mjs +4 -0
- package/dist/esm/api/types/ExtendedRcsCampaign.d.mts +112 -0
- package/dist/esm/api/types/ExtendedRcsCampaign.mjs +4 -0
- package/dist/esm/api/types/GetConversationParams.d.mts +18 -0
- package/dist/esm/api/types/GetConversationParams.mjs +4 -0
- package/dist/esm/api/types/InboundButton.d.mts +11 -0
- package/dist/esm/api/types/InboundButton.mjs +4 -0
- package/dist/esm/api/types/LinkClickEvent.d.mts +107 -0
- package/dist/esm/api/types/LinkClickEvent.mjs +4 -0
- package/dist/esm/api/types/LocationShareAction.d.mts +22 -0
- package/dist/esm/api/types/LocationShareAction.mjs +4 -0
- package/dist/esm/api/types/Message.d.mts +42 -0
- package/dist/esm/api/types/Message.mjs +4 -0
- package/dist/esm/api/types/MessageContent.d.mts +22 -0
- package/dist/esm/api/types/MessageContent.mjs +4 -0
- package/dist/esm/api/types/MessageMethodEnum.d.mts +12 -0
- package/dist/esm/api/types/MessageMethodEnum.mjs +8 -0
- package/dist/esm/api/types/MessageProtocolEnum.d.mts +12 -0
- package/dist/esm/api/types/MessageProtocolEnum.mjs +8 -0
- package/dist/esm/api/types/MessageSchedule.d.mts +20 -0
- package/dist/esm/api/types/MessageSchedule.mjs +4 -0
- package/dist/esm/api/types/MessageStatusEnum.d.mts +16 -0
- package/dist/esm/api/types/MessageStatusEnum.mjs +12 -0
- package/dist/esm/api/types/MessageVolumeEnum.d.mts +20 -0
- package/dist/esm/api/types/MessageVolumeEnum.mjs +16 -0
- package/dist/esm/api/types/MessagingProfileEnum.d.mts +11 -0
- package/dist/esm/api/types/MessagingProfileEnum.mjs +7 -0
- package/dist/esm/api/types/MmsContent.d.mts +16 -0
- package/dist/esm/api/types/MmsContent.mjs +4 -0
- package/dist/esm/api/types/MmsValidationResult.d.mts +41 -0
- package/dist/esm/api/types/MmsValidationResult.mjs +4 -0
- package/dist/esm/api/types/NullableContact.d.mts +16 -0
- package/dist/esm/api/types/NullableContact.mjs +4 -0
- package/dist/esm/api/types/NumberFormat.d.mts +19 -0
- package/dist/esm/api/types/NumberFormat.mjs +4 -0
- package/dist/esm/api/types/OptInMethodEnum.d.mts +13 -0
- package/dist/esm/api/types/OptInMethodEnum.mjs +9 -0
- package/dist/esm/api/types/OptionalBrandInfo.d.mts +23 -0
- package/dist/esm/api/types/OptionalBrandInfo.mjs +4 -0
- package/dist/esm/api/types/OptionalContact.d.mts +13 -0
- package/dist/esm/api/types/OptionalContact.mjs +4 -0
- package/dist/esm/api/types/OptionalContacts.d.mts +16 -0
- package/dist/esm/api/types/OptionalContacts.mjs +4 -0
- package/dist/esm/api/types/PhoneCapabilities.d.mts +14 -0
- package/dist/esm/api/types/PhoneCapabilities.mjs +4 -0
- package/dist/esm/api/types/PhoneEnum.d.mts +13 -0
- package/dist/esm/api/types/PhoneEnum.mjs +7 -0
- package/dist/esm/api/types/PhoneFeatureEnum.d.mts +19 -0
- package/dist/esm/api/types/PhoneFeatureEnum.mjs +13 -0
- package/dist/esm/api/types/PhoneNumberDetails.d.mts +49 -0
- package/dist/esm/api/types/PhoneNumberDetails.mjs +4 -0
- package/dist/esm/api/types/PhoneNumberEnum.d.mts +19 -0
- package/dist/esm/api/types/PhoneNumberEnum.mjs +13 -0
- package/dist/esm/api/types/PhoneNumberStatus.d.mts +21 -0
- package/dist/esm/api/types/PhoneNumberStatus.mjs +4 -0
- package/dist/esm/api/types/PhoneNumberStatusEnum.d.mts +16 -0
- package/dist/esm/api/types/PhoneNumberStatusEnum.mjs +8 -0
- package/dist/esm/api/types/ProfileStatusEnum.d.mts +18 -0
- package/dist/esm/api/types/ProfileStatusEnum.mjs +9 -0
- package/dist/esm/api/types/PurchasedNumber.d.mts +26 -0
- package/dist/esm/api/types/PurchasedNumber.mjs +4 -0
- package/dist/esm/api/types/Rcs.d.mts +14 -0
- package/dist/esm/api/types/Rcs.mjs +4 -0
- package/dist/esm/api/types/RcsBase.d.mts +29 -0
- package/dist/esm/api/types/RcsBase.mjs +4 -0
- package/dist/esm/api/types/RcsButtonCall.d.mts +12 -0
- package/dist/esm/api/types/RcsButtonCall.mjs +4 -0
- package/dist/esm/api/types/RcsButtonContent.d.mts +25 -0
- package/dist/esm/api/types/RcsButtonContent.mjs +4 -0
- package/dist/esm/api/types/RcsButtonOpenUrl.d.mts +12 -0
- package/dist/esm/api/types/RcsButtonOpenUrl.mjs +4 -0
- package/dist/esm/api/types/RcsButtonRequestUserLocation.d.mts +10 -0
- package/dist/esm/api/types/RcsButtonRequestUserLocation.mjs +4 -0
- package/dist/esm/api/types/RcsButtonScheduleEvent.d.mts +18 -0
- package/dist/esm/api/types/RcsButtonScheduleEvent.mjs +4 -0
- package/dist/esm/api/types/RcsButtonSendLocation.d.mts +23 -0
- package/dist/esm/api/types/RcsButtonSendLocation.mjs +4 -0
- package/dist/esm/api/types/RcsButtonTrigger.d.mts +14 -0
- package/dist/esm/api/types/RcsButtonTrigger.mjs +4 -0
- package/dist/esm/api/types/RcsCampaign.d.mts +106 -0
- package/dist/esm/api/types/RcsCampaign.mjs +4 -0
- package/dist/esm/api/types/RcsCampaignOptInMethodEnum.d.mts +15 -0
- package/dist/esm/api/types/RcsCampaignOptInMethodEnum.mjs +11 -0
- package/dist/esm/api/types/RcsCampaignStatus.d.mts +22 -0
- package/dist/esm/api/types/RcsCampaignStatus.mjs +4 -0
- package/dist/esm/api/types/RcsCampaignUseCaseEnum.d.mts +23 -0
- package/dist/esm/api/types/RcsCampaignUseCaseEnum.mjs +19 -0
- package/dist/esm/api/types/RcsCard.d.mts +6 -0
- package/dist/esm/api/types/RcsCard.mjs +4 -0
- package/dist/esm/api/types/RcsCards.d.mts +33 -0
- package/dist/esm/api/types/RcsCards.mjs +4 -0
- package/dist/esm/api/types/RcsCardsContent.d.mts +32 -0
- package/dist/esm/api/types/RcsCardsContent.mjs +4 -0
- package/dist/esm/api/types/RcsContent.d.mts +21 -0
- package/dist/esm/api/types/RcsContent.mjs +4 -0
- package/dist/esm/api/types/RcsMedia.d.mts +14 -0
- package/dist/esm/api/types/RcsMedia.mjs +4 -0
- package/dist/esm/api/types/RcsMediaContent.d.mts +14 -0
- package/dist/esm/api/types/RcsMediaContent.mjs +4 -0
- package/dist/esm/api/types/RcsMediaDetailsContent.d.mts +14 -0
- package/dist/esm/api/types/RcsMediaDetailsContent.mjs +4 -0
- package/dist/esm/api/types/RcsText.d.mts +6 -0
- package/dist/esm/api/types/RcsText.mjs +4 -0
- package/dist/esm/api/types/RcsTextContent.d.mts +13 -0
- package/dist/esm/api/types/RcsTextContent.mjs +4 -0
- package/dist/esm/api/types/RcsValidateContent.d.mts +20 -0
- package/dist/esm/api/types/RcsValidateContent.mjs +4 -0
- package/dist/esm/api/types/RcsValidationResult.d.mts +11 -0
- package/dist/esm/api/types/RcsValidationResult.mjs +4 -0
- package/dist/esm/api/types/ReactionResult.d.mts +9 -0
- package/dist/esm/api/types/ReactionResult.mjs +4 -0
- package/dist/esm/api/types/ScheduledMessaage.d.mts +24 -0
- package/dist/esm/api/types/ScheduledMessaage.mjs +4 -0
- package/dist/esm/api/types/Sender.d.mts +9 -0
- package/dist/esm/api/types/Sender.mjs +4 -0
- package/dist/esm/api/types/SentMmsDetails.d.mts +17 -0
- package/dist/esm/api/types/SentMmsDetails.mjs +4 -0
- package/dist/esm/api/types/SentRcsDetails.d.mts +17 -0
- package/dist/esm/api/types/SentRcsDetails.mjs +4 -0
- package/dist/esm/api/types/SentSmsDetails.d.mts +38 -0
- package/dist/esm/api/types/SentSmsDetails.mjs +13 -0
- package/dist/esm/api/types/ShortenedUrl.d.mts +16 -0
- package/dist/esm/api/types/ShortenedUrl.mjs +4 -0
- package/dist/esm/api/types/ShortenedUrlWithClickData.d.mts +12 -0
- package/dist/esm/api/types/ShortenedUrlWithClickData.mjs +4 -0
- package/dist/esm/api/types/SmsContent.d.mts +10 -0
- package/dist/esm/api/types/SmsContent.mjs +4 -0
- package/dist/esm/api/types/SmsValidationResult.d.mts +59 -0
- package/dist/esm/api/types/SmsValidationResult.mjs +4 -0
- package/dist/esm/api/types/SubUseCaseEnum.d.mts +19 -0
- package/dist/esm/api/types/SubUseCaseEnum.mjs +15 -0
- package/dist/esm/api/types/SubmissionResults.d.mts +7 -0
- package/dist/esm/api/types/SubmissionResults.mjs +4 -0
- package/dist/esm/api/types/SuccessfulConversationUpdate.d.mts +10 -0
- package/dist/esm/api/types/SuccessfulConversationUpdate.mjs +4 -0
- package/dist/esm/api/types/TollFreeCampaign.d.mts +37 -0
- package/dist/esm/api/types/TollFreeCampaign.mjs +4 -0
- package/dist/esm/api/types/TollFreeCampaignStatus.d.mts +46 -0
- package/dist/esm/api/types/TollFreeCampaignStatus.mjs +4 -0
- package/dist/esm/api/types/TollFreeCampaignUseCaseEnum.d.mts +52 -0
- package/dist/esm/api/types/TollFreeCampaignUseCaseEnum.mjs +48 -0
- package/dist/esm/api/types/TollFreeCampaignWithExtendedBrandAndStatus.d.mts +18 -0
- package/dist/esm/api/types/TollFreeCampaignWithExtendedBrandAndStatus.mjs +4 -0
- package/dist/esm/api/types/TollFreeStatusEnum.d.mts +21 -0
- package/dist/esm/api/types/TollFreeStatusEnum.mjs +11 -0
- package/dist/esm/api/types/Tracking.d.mts +15 -0
- package/dist/esm/api/types/Tracking.mjs +7 -0
- package/dist/esm/api/types/UpdatedContactId.d.mts +7 -0
- package/dist/esm/api/types/UpdatedContactId.mjs +4 -0
- package/dist/esm/api/types/UploadResults.d.mts +24 -0
- package/dist/esm/api/types/UploadResults.mjs +4 -0
- package/dist/esm/api/types/VCardData.d.mts +32 -0
- package/dist/esm/api/types/VCardData.mjs +4 -0
- package/dist/esm/api/types/ValidateCampaignParams.d.mts +9 -0
- package/dist/esm/api/types/ValidateCampaignParams.mjs +4 -0
- package/dist/esm/api/types/ValidationErrorDetails.d.mts +11 -0
- package/dist/esm/api/types/ValidationErrorDetails.mjs +4 -0
- package/dist/esm/api/types/ValidationResults.d.mts +10 -0
- package/dist/esm/api/types/ValidationResults.mjs +4 -0
- package/dist/esm/api/types/Vcard.d.mts +73 -0
- package/dist/esm/api/types/Vcard.mjs +4 -0
- package/dist/esm/api/types/VcardAddress.d.mts +38 -0
- package/dist/esm/api/types/VcardAddress.mjs +18 -0
- package/dist/esm/api/types/VcardContent.d.mts +8 -0
- package/dist/esm/api/types/VcardContent.mjs +4 -0
- package/dist/esm/api/types/VcardEmail.d.mts +30 -0
- package/dist/esm/api/types/VcardEmail.mjs +24 -0
- package/dist/esm/api/types/VcardPhone.d.mts +30 -0
- package/dist/esm/api/types/VcardPhone.mjs +24 -0
- package/dist/esm/api/types/VcardResource.d.mts +13 -0
- package/dist/esm/api/types/VcardResource.mjs +4 -0
- package/dist/esm/api/types/VettingFeedback.d.mts +13 -0
- package/dist/esm/api/types/VettingFeedback.mjs +4 -0
- package/dist/esm/api/types/VettingHistory.d.mts +27 -0
- package/dist/esm/api/types/VettingHistory.mjs +12 -0
- package/dist/esm/api/types/VettingResults.d.mts +7 -0
- package/dist/esm/api/types/VettingResults.mjs +4 -0
- package/dist/esm/api/types/WebhookEventEnum.d.mts +12 -0
- package/dist/esm/api/types/WebhookEventEnum.mjs +7 -0
- package/dist/esm/api/types/WebhookResult.d.mts +12 -0
- package/dist/esm/api/types/WebhookResult.mjs +4 -0
- package/dist/esm/api/types/Webhooks.d.mts +14 -0
- package/dist/esm/api/types/Webhooks.mjs +4 -0
- package/dist/esm/api/types/ZodError.d.mts +15 -0
- package/dist/esm/api/types/ZodError.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +125 -25
- package/dist/esm/api/types/index.mjs +125 -25
- package/dist/esm/core/fetcher/Fetcher.d.mts +2 -2
- package/dist/esm/core/fetcher/Fetcher.mjs +2 -2
- package/dist/esm/core/fetcher/index.d.mts +5 -5
- package/dist/esm/core/fetcher/index.mjs +2 -2
- package/dist/esm/core/fetcher/requestWithRetries.mjs +34 -2
- package/dist/esm/core/headers.d.mts +2 -2
- package/dist/esm/environments.d.mts +1 -1
- package/dist/esm/environments.mjs +1 -1
- package/dist/esm/index.d.mts +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +3328 -66
- package/dist/cjs/api/client/index.d.ts +0 -1
- package/dist/cjs/api/client/requests/GetRcsFunctionalityRequest.d.ts +0 -13
- package/dist/cjs/api/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/errors/ForbiddenError.d.ts +0 -8
- package/dist/cjs/api/errors/ForbiddenError.js +0 -52
- package/dist/cjs/api/resources/company/client/Client.d.ts +0 -81
- package/dist/cjs/api/resources/company/client/Client.js +0 -274
- package/dist/cjs/api/resources/company/client/requests/CompanyGetRequest.d.ts +0 -17
- package/dist/cjs/api/resources/company/client/requests/CompanyUpdateRequest.d.ts +0 -17
- package/dist/cjs/api/resources/company/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/company/types/CompanyRegisterRequest.d.ts +0 -19
- package/dist/cjs/api/resources/company/types/CompanyRegisterResponse.d.ts +0 -12
- package/dist/cjs/api/resources/company/types/CompanyUpdateResponse.d.ts +0 -12
- package/dist/cjs/api/resources/company/types/index.d.ts +0 -3
- package/dist/cjs/api/resources/company/types/index.js +0 -19
- package/dist/cjs/api/resources/send/client/Client.d.ts +0 -97
- package/dist/cjs/api/resources/send/client/Client.js +0 -294
- package/dist/cjs/api/resources/send/client/requests/Rcs.d.ts +0 -62
- package/dist/cjs/api/resources/send/client/requests/SendMmsRequest.d.ts +0 -23
- package/dist/cjs/api/resources/send/client/requests/SendSmsRequest.d.ts +0 -21
- package/dist/cjs/api/resources/send/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/send/types/SendMmsResponse.d.ts +0 -9
- package/dist/cjs/api/resources/send/types/SendRcsResponse.d.ts +0 -9
- package/dist/cjs/api/resources/send/types/SendSmsResponse.d.ts +0 -9
- package/dist/cjs/api/resources/send/types/index.d.ts +0 -3
- package/dist/cjs/api/resources/send/types/index.js +0 -19
- package/dist/cjs/api/resources/tools/client/requests/ToolsShortenUrlRequest.d.ts +0 -15
- package/dist/cjs/api/resources/tools/client/requests/ToolsUploadUrlRequest.d.ts +0 -23
- package/dist/cjs/api/resources/tools/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/tools/types/ToolsShortenUrlResponse.d.ts +0 -9
- package/dist/cjs/api/resources/tools/types/ToolsUploadUrlResponse.d.ts +0 -9
- package/dist/cjs/api/resources/tools/types/index.d.ts +0 -2
- package/dist/cjs/api/resources/tools/types/index.js +0 -18
- package/dist/cjs/api/types/Action.d.ts +0 -46
- package/dist/cjs/api/types/Action.js +0 -17
- package/dist/cjs/api/types/AdditionalEmail.d.ts +0 -9
- package/dist/cjs/api/types/AdditionalPhoneNumber.d.ts +0 -9
- package/dist/cjs/api/types/AdditionalWebsite.d.ts +0 -9
- package/dist/cjs/api/types/Card.d.ts +0 -14
- package/dist/cjs/api/types/Company.d.ts +0 -97
- package/dist/cjs/api/types/CompanyCategory.d.ts +0 -20
- package/dist/cjs/api/types/CompanyCategory.js +0 -22
- package/dist/cjs/api/types/CompanyContact.d.ts +0 -21
- package/dist/cjs/api/types/CompanyDetails.d.ts +0 -22
- package/dist/cjs/api/types/ForbiddenErrorBody.d.ts +0 -6
- package/dist/cjs/api/types/InboundActionMessage.d.ts +0 -19
- package/dist/cjs/api/types/InboundLocationMessage.d.ts +0 -21
- package/dist/cjs/api/types/InboundMediaMessage.d.ts +0 -18
- package/dist/cjs/api/types/InboundMessage.d.ts +0 -23
- package/dist/cjs/api/types/InboundMessage.js +0 -15
- package/dist/cjs/api/types/InboundTextMessage.d.ts +0 -17
- package/dist/cjs/api/types/InternalServerErrorBody.d.ts +0 -6
- package/dist/cjs/api/types/MediaPayload.d.ts +0 -7
- package/dist/cjs/api/types/MessageMetadata.d.ts +0 -6
- package/dist/cjs/api/types/Messaging.d.ts +0 -15
- package/dist/cjs/api/types/Optionals.d.ts +0 -13
- package/dist/cjs/api/types/PaymentRequiredErrorBody.d.ts +0 -6
- package/dist/cjs/api/types/PointOfContact.d.ts +0 -11
- package/dist/cjs/api/types/RcsFunctionalities.d.ts +0 -21
- package/dist/cjs/api/types/SenderMetadata.d.ts +0 -8
- package/dist/cjs/api/types/UnauthorizedErrorBody.d.ts +0 -6
- package/dist/cjs/wrapper/PinnacleClient.d.ts +0 -17
- package/dist/cjs/wrapper/PinnacleClient.js +0 -64
- package/dist/esm/api/client/requests/GetRcsFunctionalityRequest.d.mts +0 -13
- package/dist/esm/api/client/requests/index.d.mts +0 -1
- package/dist/esm/api/errors/ForbiddenError.d.mts +0 -8
- package/dist/esm/api/errors/ForbiddenError.mjs +0 -15
- package/dist/esm/api/resources/company/client/Client.d.mts +0 -81
- package/dist/esm/api/resources/company/client/Client.mjs +0 -237
- package/dist/esm/api/resources/company/client/requests/CompanyGetRequest.d.mts +0 -17
- package/dist/esm/api/resources/company/client/requests/CompanyUpdateRequest.d.mts +0 -17
- package/dist/esm/api/resources/company/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/company/types/CompanyRegisterRequest.d.mts +0 -19
- package/dist/esm/api/resources/company/types/CompanyRegisterResponse.d.mts +0 -12
- package/dist/esm/api/resources/company/types/CompanyUpdateResponse.d.mts +0 -12
- package/dist/esm/api/resources/company/types/index.d.mts +0 -3
- package/dist/esm/api/resources/company/types/index.mjs +0 -3
- package/dist/esm/api/resources/send/client/Client.d.mts +0 -97
- package/dist/esm/api/resources/send/client/Client.mjs +0 -257
- package/dist/esm/api/resources/send/client/requests/Rcs.d.mts +0 -62
- package/dist/esm/api/resources/send/client/requests/SendMmsRequest.d.mts +0 -23
- package/dist/esm/api/resources/send/client/requests/SendSmsRequest.d.mts +0 -21
- package/dist/esm/api/resources/send/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/send/types/SendMmsResponse.d.mts +0 -9
- package/dist/esm/api/resources/send/types/SendRcsResponse.d.mts +0 -9
- package/dist/esm/api/resources/send/types/SendSmsResponse.d.mts +0 -9
- package/dist/esm/api/resources/send/types/index.d.mts +0 -3
- package/dist/esm/api/resources/send/types/index.mjs +0 -3
- package/dist/esm/api/resources/tools/client/requests/ToolsShortenUrlRequest.d.mts +0 -15
- package/dist/esm/api/resources/tools/client/requests/ToolsUploadUrlRequest.d.mts +0 -23
- package/dist/esm/api/resources/tools/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/tools/types/ToolsShortenUrlResponse.d.mts +0 -9
- package/dist/esm/api/resources/tools/types/ToolsUploadUrlResponse.d.mts +0 -9
- package/dist/esm/api/resources/tools/types/index.d.mts +0 -2
- package/dist/esm/api/resources/tools/types/index.mjs +0 -2
- package/dist/esm/api/types/Action.d.mts +0 -46
- package/dist/esm/api/types/Action.mjs +0 -14
- package/dist/esm/api/types/AdditionalEmail.d.mts +0 -9
- package/dist/esm/api/types/AdditionalPhoneNumber.d.mts +0 -9
- package/dist/esm/api/types/AdditionalWebsite.d.mts +0 -9
- package/dist/esm/api/types/Card.d.mts +0 -14
- package/dist/esm/api/types/Company.d.mts +0 -97
- package/dist/esm/api/types/CompanyCategory.d.mts +0 -20
- package/dist/esm/api/types/CompanyCategory.mjs +0 -19
- package/dist/esm/api/types/CompanyContact.d.mts +0 -21
- package/dist/esm/api/types/CompanyDetails.d.mts +0 -22
- package/dist/esm/api/types/ForbiddenErrorBody.d.mts +0 -6
- package/dist/esm/api/types/InboundActionMessage.d.mts +0 -19
- package/dist/esm/api/types/InboundLocationMessage.d.mts +0 -21
- package/dist/esm/api/types/InboundMediaMessage.d.mts +0 -18
- package/dist/esm/api/types/InboundMessage.d.mts +0 -23
- package/dist/esm/api/types/InboundMessage.mjs +0 -12
- package/dist/esm/api/types/InboundTextMessage.d.mts +0 -17
- package/dist/esm/api/types/InternalServerErrorBody.d.mts +0 -6
- package/dist/esm/api/types/MediaPayload.d.mts +0 -7
- package/dist/esm/api/types/MessageMetadata.d.mts +0 -6
- package/dist/esm/api/types/Messaging.d.mts +0 -15
- package/dist/esm/api/types/Optionals.d.mts +0 -13
- package/dist/esm/api/types/PaymentRequiredErrorBody.d.mts +0 -6
- package/dist/esm/api/types/PointOfContact.d.mts +0 -11
- package/dist/esm/api/types/RcsFunctionalities.d.mts +0 -21
- package/dist/esm/api/types/SenderMetadata.d.mts +0 -8
- package/dist/esm/api/types/UnauthorizedErrorBody.d.mts +0 -6
- package/dist/esm/wrapper/PinnacleClient.d.mts +0 -17
- package/dist/esm/wrapper/PinnacleClient.mjs +0 -60
- /package/dist/cjs/api/resources/{company → brands}/client/index.d.ts +0 -0
- /package/dist/cjs/api/{client → resources/brands/client}/index.js +0 -0
- /package/dist/cjs/api/{client/requests/GetRcsFunctionalityRequest.js → resources/brands/client/requests/AutofillBrandParams.js} +0 -0
- /package/dist/cjs/api/resources/{company/client/requests/CompanyGetRequest.js → brands/client/requests/BrandsGetRequest.js} +0 -0
- /package/dist/cjs/api/resources/{company/client/requests/CompanyUpdateRequest.js → brands/client/requests/UpsertBrandParams.js} +0 -0
- /package/dist/cjs/api/resources/{company/types/CompanyRegisterRequest.js → brands/client/requests/ValidateBrandParams.js} +0 -0
- /package/dist/cjs/api/resources/{company/types/CompanyRegisterResponse.js → brands/client/requests/VetBrandParams.js} +0 -0
- /package/dist/cjs/api/{client → resources/brands/client}/requests/index.js +0 -0
- /package/dist/{esm/api/client/requests/index.mjs → cjs/api/resources/campaigns/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/{company/client/requests → campaigns/client}/index.js +0 -0
- /package/dist/cjs/api/resources/{send → campaigns/resources/dlc}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{company → campaigns/resources/dlc}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{company/types/CompanyUpdateResponse.js → campaigns/resources/dlc/client/requests/UpsertDlcCampaignParams.js} +0 -0
- /package/dist/cjs/api/resources/{send → campaigns/resources/dlc}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{send → campaigns/resources/rcs}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{send/client/requests/Rcs.js → campaigns/resources/rcs/client/requests/UpsertRcsCampaignParams.js} +0 -0
- /package/dist/cjs/api/resources/{tools → campaigns/resources/rcs}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{company → campaigns/resources/rcs}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{company → campaigns/resources/rcs}/index.js +0 -0
- /package/dist/cjs/api/resources/{send/client/requests/SendMmsRequest.js → campaigns/resources/rcs/types/RcsAutofillResponse.js} +0 -0
- /package/dist/cjs/api/resources/{send/client/requests/SendSmsRequest.js → campaigns/resources/tollFree/client/requests/UpsertTollFreeCampaignParams.js} +0 -0
- /package/dist/cjs/api/resources/{send → campaigns/resources/tollFree}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{send → campaigns/resources/tollFree}/index.js +0 -0
- /package/dist/cjs/api/resources/{send/types/SendMmsResponse.js → campaigns/resources/tollFree/types/TollFreeAutofillResponse.js} +0 -0
- /package/dist/cjs/api/resources/{send/types/SendRcsResponse.js → contacts/client/requests/ContactsGetRequest.js} +0 -0
- /package/dist/cjs/api/resources/{send/types/SendSmsResponse.js → contacts/client/requests/CreateContactParams.js} +0 -0
- /package/dist/cjs/api/resources/{tools/client/requests/ToolsShortenUrlRequest.js → contacts/client/requests/UpdateContactParams.js} +0 -0
- /package/dist/cjs/api/resources/{tools/client/requests/ToolsUploadUrlRequest.js → conversations/client/requests/ListConversationsParams.js} +0 -0
- /package/dist/cjs/api/resources/{tools/types/ToolsShortenUrlResponse.js → conversations/client/requests/UpdateConversationParams.js} +0 -0
- /package/dist/{esm/api/resources/company/client/requests/index.mjs → cjs/api/resources/message/client/index.d.ts} +0 -0
- /package/dist/{esm/api/resources/send/client/requests/index.mjs → cjs/api/resources/message/resources/sms/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/{tools/types/ToolsUploadUrlResponse.js → messages/client/requests/ReactMessageParams.js} +0 -0
- /package/dist/{esm/api/resources/tools/client/requests/index.mjs → cjs/api/resources/messages/resources/mms/client/index.d.ts} +0 -0
- /package/dist/cjs/api/{types/AdditionalEmail.js → resources/messages/resources/send/client/requests/Mms.js} +0 -0
- /package/dist/cjs/api/{types/AdditionalPhoneNumber.js → resources/messages/resources/send/client/requests/Sms.js} +0 -0
- /package/dist/cjs/api/{types/AdditionalWebsite.js → resources/messages/resources/send/types/SendMmsResponse.js} +0 -0
- /package/dist/cjs/api/{types/Card.js → resources/messages/resources/send/types/SendRcsResponse.js} +0 -0
- /package/dist/cjs/api/{types/Company.js → resources/messages/resources/send/types/SendSmsResponse.js} +0 -0
- /package/dist/cjs/api/{types/CompanyContact.js → resources/phoneNumbers/client/requests/BuyPhoneNumberParams.js} +0 -0
- /package/dist/cjs/api/{types/CompanyDetails.js → resources/phoneNumbers/client/requests/SearchPhoneNumberParams.js} +0 -0
- /package/dist/cjs/api/{types/ForbiddenErrorBody.js → resources/phoneNumbers/resources/campaign/client/requests/AttachCampaignParams.js} +0 -0
- /package/dist/cjs/api/{types/InboundActionMessage.js → resources/phoneNumbers/resources/campaign/client/requests/DetachCampaignParams.js} +0 -0
- /package/dist/cjs/api/{types/InboundLocationMessage.js → resources/phoneNumbers/types/PhoneNumbersGetResponse.js} +0 -0
- /package/dist/cjs/api/{types/InboundMediaMessage.js → resources/tools/resources/contactCard/client/requests/GetVcardParams.js} +0 -0
- /package/dist/cjs/api/{types/InboundTextMessage.js → resources/tools/resources/contactCard/client/requests/UpsertVcardParams.js} +0 -0
- /package/dist/cjs/api/{types/InternalServerErrorBody.js → resources/tools/resources/file/client/requests/UploadFileParams.js} +0 -0
- /package/dist/cjs/api/{types/MediaPayload.js → resources/tools/resources/url/client/requests/CreateUrlParams.js} +0 -0
- /package/dist/cjs/api/{types/MessageMetadata.js → resources/tools/resources/url/client/requests/UpdateUrlParams.js} +0 -0
- /package/dist/cjs/api/{types/Messaging.js → resources/webhooks/client/requests/GetWebhookParams.js} +0 -0
- /package/dist/cjs/api/types/{Optionals.js → AttachWebhookParams.js} +0 -0
- /package/dist/cjs/api/types/{PaymentRequiredErrorBody.js → AttachedPhoneNumberResult.js} +0 -0
- /package/dist/cjs/api/types/{PointOfContact.js → AutofillCampaignParams.js} +0 -0
- /package/dist/cjs/api/types/{RcsFunctionalities.js → AutofillDlcCampaignResponse.js} +0 -0
- /package/dist/cjs/api/types/{SenderMetadata.js → BasicPhoneInformation.js} +0 -0
- /package/dist/cjs/api/types/{UnauthorizedErrorBody.js → BrandStatus.js} +0 -0
- /package/dist/esm/api/resources/{company → brands}/client/index.d.mts +0 -0
- /package/dist/esm/api/{client → resources/brands/client}/index.mjs +0 -0
- /package/dist/esm/api/{client/requests/GetRcsFunctionalityRequest.mjs → resources/brands/client/requests/AutofillBrandParams.mjs} +0 -0
- /package/dist/esm/api/resources/{company/client/requests/CompanyGetRequest.mjs → brands/client/requests/BrandsGetRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{company/client/requests/CompanyUpdateRequest.mjs → brands/client/requests/UpsertBrandParams.mjs} +0 -0
- /package/dist/esm/api/resources/{company/types/CompanyRegisterRequest.mjs → brands/client/requests/ValidateBrandParams.mjs} +0 -0
- /package/dist/esm/api/resources/{company/types/CompanyRegisterResponse.mjs → brands/client/requests/VetBrandParams.mjs} +0 -0
- /package/dist/esm/api/resources/{send → campaigns/resources/dlc}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{company → campaigns/resources/dlc}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{company/types/CompanyUpdateResponse.mjs → campaigns/resources/dlc/client/requests/UpsertDlcCampaignParams.mjs} +0 -0
- /package/dist/esm/api/resources/{send → campaigns/resources/rcs}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{send/client/requests/Rcs.mjs → campaigns/resources/rcs/client/requests/UpsertRcsCampaignParams.mjs} +0 -0
- /package/dist/esm/api/resources/{company → campaigns/resources/rcs}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{company → campaigns/resources/rcs}/index.mjs +0 -0
- /package/dist/esm/api/resources/{send/client/requests/SendMmsRequest.mjs → campaigns/resources/rcs/types/RcsAutofillResponse.mjs} +0 -0
- /package/dist/esm/api/{client/index.d.mts → resources/campaigns/resources/tollFree/client/index.mjs} +0 -0
- /package/dist/esm/api/resources/{send/client/requests/SendSmsRequest.mjs → campaigns/resources/tollFree/client/requests/UpsertTollFreeCampaignParams.mjs} +0 -0
- /package/dist/esm/api/resources/{send → campaigns/resources/tollFree}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{send → campaigns/resources/tollFree}/index.mjs +0 -0
- /package/dist/esm/api/resources/{send/types/SendMmsResponse.mjs → campaigns/resources/tollFree/types/TollFreeAutofillResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{send/types/SendRcsResponse.mjs → contacts/client/requests/ContactsGetRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{send/types/SendSmsResponse.mjs → contacts/client/requests/CreateContactParams.mjs} +0 -0
- /package/dist/esm/api/resources/{tools/client/requests/ToolsShortenUrlRequest.mjs → contacts/client/requests/UpdateContactParams.mjs} +0 -0
- /package/dist/esm/api/resources/{tools/client/requests/ToolsUploadUrlRequest.mjs → conversations/client/requests/ListConversationsParams.mjs} +0 -0
- /package/dist/esm/api/resources/{tools/types/ToolsShortenUrlResponse.mjs → conversations/client/requests/UpdateConversationParams.mjs} +0 -0
- /package/dist/esm/api/resources/{tools/types/ToolsUploadUrlResponse.mjs → messages/client/requests/ReactMessageParams.mjs} +0 -0
- /package/dist/esm/api/{types/AdditionalEmail.mjs → resources/messages/resources/send/client/requests/Mms.mjs} +0 -0
- /package/dist/esm/api/{types/AdditionalPhoneNumber.mjs → resources/messages/resources/send/client/requests/Sms.mjs} +0 -0
- /package/dist/esm/api/{types/AdditionalWebsite.mjs → resources/messages/resources/send/types/SendMmsResponse.mjs} +0 -0
- /package/dist/esm/api/{types/Card.mjs → resources/messages/resources/send/types/SendRcsResponse.mjs} +0 -0
- /package/dist/esm/api/{types/Company.mjs → resources/messages/resources/send/types/SendSmsResponse.mjs} +0 -0
- /package/dist/esm/api/{types/CompanyContact.mjs → resources/phoneNumbers/client/requests/BuyPhoneNumberParams.mjs} +0 -0
- /package/dist/esm/api/{types/CompanyDetails.mjs → resources/phoneNumbers/client/requests/SearchPhoneNumberParams.mjs} +0 -0
- /package/dist/esm/api/{types/ForbiddenErrorBody.mjs → resources/phoneNumbers/resources/campaign/client/requests/AttachCampaignParams.mjs} +0 -0
- /package/dist/esm/api/{types/InboundActionMessage.mjs → resources/phoneNumbers/resources/campaign/client/requests/DetachCampaignParams.mjs} +0 -0
- /package/dist/esm/api/{types/InboundLocationMessage.mjs → resources/phoneNumbers/types/PhoneNumbersGetResponse.mjs} +0 -0
- /package/dist/esm/api/{types/InboundMediaMessage.mjs → resources/tools/resources/contactCard/client/requests/GetVcardParams.mjs} +0 -0
- /package/dist/esm/api/{types/InboundTextMessage.mjs → resources/tools/resources/contactCard/client/requests/UpsertVcardParams.mjs} +0 -0
- /package/dist/esm/api/{types/InternalServerErrorBody.mjs → resources/tools/resources/file/client/requests/UploadFileParams.mjs} +0 -0
- /package/dist/esm/api/{types/MediaPayload.mjs → resources/tools/resources/url/client/requests/CreateUrlParams.mjs} +0 -0
- /package/dist/esm/api/{types/MessageMetadata.mjs → resources/tools/resources/url/client/requests/UpdateUrlParams.mjs} +0 -0
- /package/dist/esm/api/{types/Messaging.mjs → resources/webhooks/client/requests/GetWebhookParams.mjs} +0 -0
- /package/dist/esm/api/types/{Optionals.mjs → AttachWebhookParams.mjs} +0 -0
- /package/dist/esm/api/types/{PaymentRequiredErrorBody.mjs → AttachedPhoneNumberResult.mjs} +0 -0
- /package/dist/esm/api/types/{PointOfContact.mjs → AutofillCampaignParams.mjs} +0 -0
- /package/dist/esm/api/types/{RcsFunctionalities.mjs → AutofillDlcCampaignResponse.mjs} +0 -0
- /package/dist/esm/api/types/{SenderMetadata.mjs → BasicPhoneInformation.mjs} +0 -0
- /package/dist/esm/api/types/{UnauthorizedErrorBody.mjs → BrandStatus.mjs} +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Pinnacle from "../index.mjs";
|
|
5
|
+
export type Rcs =
|
|
6
|
+
/**
|
|
7
|
+
* Send a text RCS message with optional quick reply buttons. */
|
|
8
|
+
Pinnacle.RcsText
|
|
9
|
+
/**
|
|
10
|
+
* Send a media RCS message with optional quick reply buttons. */
|
|
11
|
+
| Pinnacle.RcsMedia
|
|
12
|
+
/**
|
|
13
|
+
* Send a cards RCS message with optional quick reply buttons. */
|
|
14
|
+
| Pinnacle.RcsCard;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Pinnacle from "../index.mjs";
|
|
5
|
+
export interface RcsBase {
|
|
6
|
+
/** Your RCS agent ID which must be prefixed with 'agent_'. */
|
|
7
|
+
from: string;
|
|
8
|
+
/** Configure how your RCS message is sent and tracked. */
|
|
9
|
+
options?: RcsBase.Options;
|
|
10
|
+
/** Recipient's phone number in E.164 format. */
|
|
11
|
+
to: string;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace RcsBase {
|
|
14
|
+
/**
|
|
15
|
+
* Configure how your RCS message is sent and tracked.
|
|
16
|
+
*/
|
|
17
|
+
interface Options {
|
|
18
|
+
schedule?: Pinnacle.MessageSchedule;
|
|
19
|
+
/** Send via the test agent to whitelisted test devices. Useful for development and debugging. */
|
|
20
|
+
test_mode?: boolean;
|
|
21
|
+
tracking?: Pinnacle.Tracking;
|
|
22
|
+
/**
|
|
23
|
+
* Validate your message for any unsupported files. <br>
|
|
24
|
+
*
|
|
25
|
+
* If failed, errors will be thrown and the message will not send.
|
|
26
|
+
*/
|
|
27
|
+
validate?: boolean;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Button that initiates a phone call when tapped by the recipient.
|
|
6
|
+
*/
|
|
7
|
+
export interface RcsButtonCall {
|
|
8
|
+
/** Phone number to call in E.164 format */
|
|
9
|
+
payload: string;
|
|
10
|
+
/** Display text for the button. */
|
|
11
|
+
title: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Pinnacle from "../index.mjs";
|
|
5
|
+
export type RcsButtonContent = Pinnacle.RcsButtonContent.OpenUrl | Pinnacle.RcsButtonContent.Call | Pinnacle.RcsButtonContent.Trigger | Pinnacle.RcsButtonContent.RequestUserLocation | Pinnacle.RcsButtonContent.ScheduleEvent | Pinnacle.RcsButtonContent.SendLocation;
|
|
6
|
+
export declare namespace RcsButtonContent {
|
|
7
|
+
interface OpenUrl extends Pinnacle.RcsButtonOpenUrl {
|
|
8
|
+
type: "openUrl";
|
|
9
|
+
}
|
|
10
|
+
interface Call extends Pinnacle.RcsButtonCall {
|
|
11
|
+
type: "call";
|
|
12
|
+
}
|
|
13
|
+
interface Trigger extends Pinnacle.RcsButtonTrigger {
|
|
14
|
+
type: "trigger";
|
|
15
|
+
}
|
|
16
|
+
interface RequestUserLocation extends Pinnacle.RcsButtonRequestUserLocation {
|
|
17
|
+
type: "requestUserLocation";
|
|
18
|
+
}
|
|
19
|
+
interface ScheduleEvent extends Pinnacle.RcsButtonScheduleEvent {
|
|
20
|
+
type: "scheduleEvent";
|
|
21
|
+
}
|
|
22
|
+
interface SendLocation extends Pinnacle.RcsButtonSendLocation {
|
|
23
|
+
type: "sendLocation";
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Button that opens a URL when tapped by the recipient.
|
|
6
|
+
*/
|
|
7
|
+
export interface RcsButtonOpenUrl {
|
|
8
|
+
/** The URL to open when the button is tapped. Must be a valid HTTP or HTTPS URL. */
|
|
9
|
+
payload: string;
|
|
10
|
+
/** Display text for the button. */
|
|
11
|
+
title: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Button that prompts the recipient to share their current location.
|
|
6
|
+
*/
|
|
7
|
+
export interface RcsButtonRequestUserLocation {
|
|
8
|
+
/** Display text for the button. */
|
|
9
|
+
title: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Button that prompts the recipient to add an event to their calendar.
|
|
6
|
+
*/
|
|
7
|
+
export interface RcsButtonScheduleEvent {
|
|
8
|
+
/** Detailed description for the calendar event. */
|
|
9
|
+
eventDescription?: string;
|
|
10
|
+
/** End time in ISO 8601 format. */
|
|
11
|
+
eventEndTime: string;
|
|
12
|
+
/** Starting time in ISO 8601 format. */
|
|
13
|
+
eventStartTime: string;
|
|
14
|
+
/** Title of the event. */
|
|
15
|
+
eventTitle: string;
|
|
16
|
+
/** Display text for the button. */
|
|
17
|
+
title: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Button that shares a specific location with the recipient when tapped.
|
|
6
|
+
*/
|
|
7
|
+
export interface RcsButtonSendLocation {
|
|
8
|
+
/** Geographic coordinates of the location to share. */
|
|
9
|
+
latLong: RcsButtonSendLocation.LatLong;
|
|
10
|
+
/** Display text for the button. */
|
|
11
|
+
title: string;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace RcsButtonSendLocation {
|
|
14
|
+
/**
|
|
15
|
+
* Geographic coordinates of the location to share.
|
|
16
|
+
*/
|
|
17
|
+
interface LatLong {
|
|
18
|
+
/** Latitude coordinate in decimal degrees. */
|
|
19
|
+
lat: number;
|
|
20
|
+
/** Longitude coordinate in decimal degrees. */
|
|
21
|
+
lng: number;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Button that sends custom data back to your application when tapped by the recipient.
|
|
6
|
+
*/
|
|
7
|
+
export interface RcsButtonTrigger {
|
|
8
|
+
/** Additional data attached to the button interaction. */
|
|
9
|
+
metadata: string;
|
|
10
|
+
/** Custom data sent to your webhook when the button is tapped. Use this to identify the user's choice. */
|
|
11
|
+
payload: string;
|
|
12
|
+
/** Display text for the button. */
|
|
13
|
+
title: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Pinnacle from "../index.mjs";
|
|
5
|
+
export interface RcsCampaign {
|
|
6
|
+
/** Agent configured to the campaign. */
|
|
7
|
+
agent?: RcsCampaign.Agent;
|
|
8
|
+
/** Unique identifier for the campaign. */
|
|
9
|
+
campaignId?: number;
|
|
10
|
+
/** List of what the agent might say to users. */
|
|
11
|
+
expectedAgentResponses?: string[];
|
|
12
|
+
/** Legal documentation links. */
|
|
13
|
+
links?: RcsCampaign.Links;
|
|
14
|
+
/** Opt-in configuration. */
|
|
15
|
+
optIn?: RcsCampaign.OptIn;
|
|
16
|
+
/** Opt-out configuration. */
|
|
17
|
+
optOut?: RcsCampaign.OptOut;
|
|
18
|
+
/** Use case classification for the campaign. */
|
|
19
|
+
useCase?: RcsCampaign.UseCase;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace RcsCampaign {
|
|
22
|
+
/**
|
|
23
|
+
* Agent configured to the campaign.
|
|
24
|
+
*/
|
|
25
|
+
interface Agent {
|
|
26
|
+
/** Name of the agent. */
|
|
27
|
+
name?: string;
|
|
28
|
+
/** Description of the agent. */
|
|
29
|
+
description?: string;
|
|
30
|
+
/** Color of the agent's buttons. */
|
|
31
|
+
color?: string;
|
|
32
|
+
/** List of emails. */
|
|
33
|
+
emails?: Agent.Emails.Item[];
|
|
34
|
+
/** List of phone numbers. */
|
|
35
|
+
phones?: Agent.Phones.Item[];
|
|
36
|
+
/** List of urls. */
|
|
37
|
+
websites?: Agent.Websites.Item[];
|
|
38
|
+
/** Link to the agent's hero. */
|
|
39
|
+
heroUrl?: string;
|
|
40
|
+
/** Link to the agent's icon. */
|
|
41
|
+
iconUrl?: string;
|
|
42
|
+
}
|
|
43
|
+
namespace Agent {
|
|
44
|
+
type Emails = Emails.Item[];
|
|
45
|
+
namespace Emails {
|
|
46
|
+
interface Item {
|
|
47
|
+
/** Email attached to the agent. */
|
|
48
|
+
email?: string;
|
|
49
|
+
/** Label for the email. */
|
|
50
|
+
label?: string;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
type Phones = Phones.Item[];
|
|
54
|
+
namespace Phones {
|
|
55
|
+
interface Item {
|
|
56
|
+
/** Phone number attached to the agent in E.164 format. */
|
|
57
|
+
phone?: string;
|
|
58
|
+
/** Label for the phone number. */
|
|
59
|
+
label?: string;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
type Websites = Websites.Item[];
|
|
63
|
+
namespace Websites {
|
|
64
|
+
interface Item {
|
|
65
|
+
/** Url attached to the agent. */
|
|
66
|
+
url?: string;
|
|
67
|
+
/** Label for the url. */
|
|
68
|
+
label?: string;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Legal documentation links.
|
|
74
|
+
*/
|
|
75
|
+
interface Links {
|
|
76
|
+
/** Privacy policy URL. */
|
|
77
|
+
privacyPolicy?: string;
|
|
78
|
+
/** Terms of service URL. */
|
|
79
|
+
termsOfService?: string;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Opt-in configuration.
|
|
83
|
+
*/
|
|
84
|
+
interface OptIn {
|
|
85
|
+
/** Message shown to users explaining what they are agreeing to when opting in. */
|
|
86
|
+
termsAndConditions?: string;
|
|
87
|
+
method?: Pinnacle.RcsCampaignOptInMethodEnum;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Opt-out configuration.
|
|
91
|
+
*/
|
|
92
|
+
interface OptOut {
|
|
93
|
+
/** Description for the keyword. */
|
|
94
|
+
description?: string;
|
|
95
|
+
/** Keywords to opt-out. */
|
|
96
|
+
keywords?: string[];
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Use case classification for the campaign.
|
|
100
|
+
*/
|
|
101
|
+
interface UseCase {
|
|
102
|
+
/** Summary of the use case. */
|
|
103
|
+
behavior?: string;
|
|
104
|
+
value?: Pinnacle.RcsCampaignUseCaseEnum;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Opt in options.
|
|
6
|
+
*/
|
|
7
|
+
export type RcsCampaignOptInMethodEnum = "WEBSITE" | "SMS" | "APP" | "VERBAL" | "WRITTEN" | "OTHER";
|
|
8
|
+
export declare const RcsCampaignOptInMethodEnum: {
|
|
9
|
+
readonly Website: "WEBSITE";
|
|
10
|
+
readonly Sms: "SMS";
|
|
11
|
+
readonly App: "APP";
|
|
12
|
+
readonly Verbal: "VERBAL";
|
|
13
|
+
readonly Written: "WRITTEN";
|
|
14
|
+
readonly Other: "OTHER";
|
|
15
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Pinnacle from "../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Response for get RCS campaign status.
|
|
7
|
+
*/
|
|
8
|
+
export interface RcsCampaignStatus {
|
|
9
|
+
/** List of errors that occured. */
|
|
10
|
+
errors: string[];
|
|
11
|
+
/** Id of the RCS campaign. */
|
|
12
|
+
id: number;
|
|
13
|
+
/**
|
|
14
|
+
* Current review status of the RCS campaign. <br>
|
|
15
|
+
*
|
|
16
|
+
* `INCOMPLETE`: Not submitted.<br>
|
|
17
|
+
* `IN REVIEW`: Being reviewed by carriers.<br>
|
|
18
|
+
* `VERIFIED`: Approved and ready to send messages.<br>
|
|
19
|
+
* `FAILED`: Issues and errors related to the campaign's details. See [errors](rcs-campaign#response.body.errors) for these potential issues.<br>
|
|
20
|
+
*/
|
|
21
|
+
status: Pinnacle.ProfileStatusEnum;
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The primary use case classification for this campaign.
|
|
6
|
+
*/
|
|
7
|
+
export type RcsCampaignUseCaseEnum = "ENTERTAINMENT" | "SHOPPING_AND_RETAIL" | "GAMES" | "NEWS" | "HEALTH" | "UTILITIES" | "FINANCE" | "SPORTS" | "SOCIAL" | "FOOD_AND_BEVERAGE" | "UNCATEGORIZED" | "TRAVEL" | "PRODUCTIVITY" | "OTHER";
|
|
8
|
+
export declare const RcsCampaignUseCaseEnum: {
|
|
9
|
+
readonly Entertainment: "ENTERTAINMENT";
|
|
10
|
+
readonly ShoppingAndRetail: "SHOPPING_AND_RETAIL";
|
|
11
|
+
readonly Games: "GAMES";
|
|
12
|
+
readonly News: "NEWS";
|
|
13
|
+
readonly Health: "HEALTH";
|
|
14
|
+
readonly Utilities: "UTILITIES";
|
|
15
|
+
readonly Finance: "FINANCE";
|
|
16
|
+
readonly Sports: "SPORTS";
|
|
17
|
+
readonly Social: "SOCIAL";
|
|
18
|
+
readonly FoodAndBeverage: "FOOD_AND_BEVERAGE";
|
|
19
|
+
readonly Uncategorized: "UNCATEGORIZED";
|
|
20
|
+
readonly Travel: "TRAVEL";
|
|
21
|
+
readonly Productivity: "PRODUCTIVITY";
|
|
22
|
+
readonly Other: "OTHER";
|
|
23
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export const RcsCampaignUseCaseEnum = {
|
|
5
|
+
Entertainment: "ENTERTAINMENT",
|
|
6
|
+
ShoppingAndRetail: "SHOPPING_AND_RETAIL",
|
|
7
|
+
Games: "GAMES",
|
|
8
|
+
News: "NEWS",
|
|
9
|
+
Health: "HEALTH",
|
|
10
|
+
Utilities: "UTILITIES",
|
|
11
|
+
Finance: "FINANCE",
|
|
12
|
+
Sports: "SPORTS",
|
|
13
|
+
Social: "SOCIAL",
|
|
14
|
+
FoodAndBeverage: "FOOD_AND_BEVERAGE",
|
|
15
|
+
Uncategorized: "UNCATEGORIZED",
|
|
16
|
+
Travel: "TRAVEL",
|
|
17
|
+
Productivity: "PRODUCTIVITY",
|
|
18
|
+
Other: "OTHER",
|
|
19
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Pinnacle from "../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Message containing cards, each with its own title, subtitle, and/or buttons. Quick replies can also be added. <br>
|
|
7
|
+
*
|
|
8
|
+
* See (supported file types)[https://app.pinnacle.sh/supported-file-types?type=RCS-CARD].
|
|
9
|
+
*/
|
|
10
|
+
export interface RcsCards {
|
|
11
|
+
/** Collection of cards attached to the message. */
|
|
12
|
+
cards: RcsCards.Cards.Item[];
|
|
13
|
+
/** List of interactive quick reply buttons in the message. */
|
|
14
|
+
quickReplies: Pinnacle.RcsButtonContent[];
|
|
15
|
+
}
|
|
16
|
+
export declare namespace RcsCards {
|
|
17
|
+
type Cards = Cards.Item[];
|
|
18
|
+
namespace Cards {
|
|
19
|
+
/**
|
|
20
|
+
* Individual card containing title, optional media, and action buttons.
|
|
21
|
+
*/
|
|
22
|
+
interface Item {
|
|
23
|
+
/** Action buttons attached to the card. */
|
|
24
|
+
buttons: Pinnacle.RcsButtonContent[];
|
|
25
|
+
/** Media file URLs to send. */
|
|
26
|
+
media?: string;
|
|
27
|
+
/** Secondary text displayed below the title for additional context. */
|
|
28
|
+
subtitle?: string;
|
|
29
|
+
/** Title displayed on the card. */
|
|
30
|
+
title: string;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Pinnacle from "../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Message containing cards, each with its own title, subtitle, and/or buttons. Quick replies can also be added. <br>
|
|
7
|
+
*
|
|
8
|
+
* See (supported file types)[https://app.pinnacle.sh/supported-file-types?type=RCS-CARD].
|
|
9
|
+
*/
|
|
10
|
+
export interface RcsCardsContent {
|
|
11
|
+
/** Collection of cards attached to the message. */
|
|
12
|
+
cards: RcsCardsContent.Cards.Item[];
|
|
13
|
+
/** List of interactive quick reply buttons in the message. */
|
|
14
|
+
quickReplies: Pinnacle.RcsButtonContent[];
|
|
15
|
+
}
|
|
16
|
+
export declare namespace RcsCardsContent {
|
|
17
|
+
type Cards = Cards.Item[];
|
|
18
|
+
namespace Cards {
|
|
19
|
+
/**
|
|
20
|
+
* Individual card containing title, optional media, and action buttons.
|
|
21
|
+
*/
|
|
22
|
+
interface Item {
|
|
23
|
+
/** Action buttons attached to the card. */
|
|
24
|
+
buttons: Pinnacle.RcsButtonContent[];
|
|
25
|
+
media?: Pinnacle.RcsMediaDetailsContent;
|
|
26
|
+
/** Secondary text displayed below the title for additional context. */
|
|
27
|
+
subtitle?: string;
|
|
28
|
+
/** Title displayed on the card. */
|
|
29
|
+
title: string;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Pinnacle from "../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Message with richer content (longer text, media files, cards, and buttons) from interacting with an RCS agent.
|
|
7
|
+
*/
|
|
8
|
+
export type RcsContent =
|
|
9
|
+
/**
|
|
10
|
+
* Message containing longer text content with optional quick reply buttons. */
|
|
11
|
+
Pinnacle.RcsTextContent
|
|
12
|
+
/**
|
|
13
|
+
* Message containing a media file and/or text with optional quick reply buttons. <br>
|
|
14
|
+
*
|
|
15
|
+
* See [supported file types](https://app.pinnacle.sh/supported-file-types?type=RCS-MEDIA). */
|
|
16
|
+
| Pinnacle.RcsMediaContent
|
|
17
|
+
/**
|
|
18
|
+
* Message containing cards, each with its own title, subtitle, and/or buttons. Quick replies can also be added. <br>
|
|
19
|
+
*
|
|
20
|
+
* See [supported file types](https://app.pinnacle.sh/supported-file-types?type=RCS-CARD). */
|
|
21
|
+
| Pinnacle.RcsCardsContent;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Pinnacle from "../index.mjs";
|
|
5
|
+
export interface RcsMedia extends Pinnacle.RcsBase {
|
|
6
|
+
/**
|
|
7
|
+
* Media file URLs to send. <br>
|
|
8
|
+
*
|
|
9
|
+
* See [supported media types](https://app.pinnacle.sh/supported-file-types?type=RCS-MEDIA).
|
|
10
|
+
*/
|
|
11
|
+
media: string;
|
|
12
|
+
/** List of interactive quick reply buttons in the message. */
|
|
13
|
+
quickReplies: Pinnacle.RcsButtonContent[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Pinnacle from "../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Message containing a media file and/or text with optional quick reply buttons. <br>
|
|
7
|
+
*
|
|
8
|
+
* See (supported file types)[https://app.pinnacle.sh/supported-file-types?type=RCS-MEDIA].
|
|
9
|
+
*/
|
|
10
|
+
export interface RcsMediaContent {
|
|
11
|
+
media: Pinnacle.RcsMediaDetailsContent;
|
|
12
|
+
/** List of interactive quick reply buttons in the message. */
|
|
13
|
+
quickReplies: Pinnacle.RcsButtonContent[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Metadata about the media file in the message.
|
|
6
|
+
*/
|
|
7
|
+
export interface RcsMediaDetailsContent {
|
|
8
|
+
/** Path to the file in Pinnacle's storage. */
|
|
9
|
+
fullPath?: string;
|
|
10
|
+
/** Detected MIME type of the media file. */
|
|
11
|
+
mimeType: string;
|
|
12
|
+
/** Direct URL to the media file. */
|
|
13
|
+
url: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Pinnacle from "../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Message containing longer text content with optional quick reply buttons.
|
|
7
|
+
*/
|
|
8
|
+
export interface RcsTextContent {
|
|
9
|
+
/** List of interactive quick reply buttons in the message. */
|
|
10
|
+
quickReplies: Pinnacle.RcsButtonContent[];
|
|
11
|
+
/** Text content of the RCS message. */
|
|
12
|
+
text: string;
|
|
13
|
+
}
|