pingram 1.0.39 → 1.0.40-alpha.1695
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/src/apis/AccountsApi.d.ts +4 -4
- package/dist/generated/src/apis/AccountsApi.js +2 -2
- package/dist/generated/src/apis/AddressesApi.d.ts +4 -4
- package/dist/generated/src/apis/AddressesApi.js +2 -2
- package/dist/generated/src/apis/BroadcastsApi.d.ts +24 -24
- package/dist/generated/src/apis/BroadcastsApi.js +12 -12
- package/dist/generated/src/apis/DomainsApi.d.ts +8 -8
- package/dist/generated/src/apis/DomainsApi.js +4 -4
- package/dist/generated/src/apis/EmailApi.d.ts +4 -4
- package/dist/generated/src/apis/EmailApi.js +2 -2
- package/dist/generated/src/apis/RegistrationsApi.d.ts +8 -8
- package/dist/generated/src/apis/RegistrationsApi.js +4 -4
- package/dist/generated/src/apis/VoiceApi.d.ts +44 -142
- package/dist/generated/src/apis/VoiceApi.js +40 -264
- package/dist/generated/src/apis/WebhooksApi.d.ts +8 -8
- package/dist/generated/src/apis/WebhooksApi.js +4 -4
- package/dist/generated/src/apis/index.d.ts +1 -1
- package/dist/generated/src/models/AccountAddressesResponseAddressesInner.d.ts +5 -5
- package/dist/generated/src/models/AccountAddressesResponseAddressesInner.js +4 -6
- package/dist/generated/src/models/AccountGetResponse.d.ts +27 -27
- package/dist/generated/src/models/AccountGetResponse.js +22 -32
- package/dist/generated/src/models/Agent.d.ts +59 -0
- package/dist/generated/src/models/Agent.js +71 -0
- package/dist/generated/src/models/Agent1.d.ts +80 -0
- package/dist/generated/src/models/Agent1.js +83 -0
- package/dist/generated/src/models/AgentAgent.d.ts +60 -0
- package/dist/generated/src/models/AgentAgent.js +74 -0
- package/dist/generated/src/models/AgentAgentConversation.d.ts +70 -0
- package/dist/generated/src/models/AgentAgentConversation.js +76 -0
- package/dist/generated/src/models/AgentAgentModel.d.ts +26 -0
- package/dist/generated/src/models/AgentAgentModel.js +78 -0
- package/dist/generated/src/models/AgentAgentToolsInner.d.ts +28 -0
- package/dist/generated/src/models/{BindNumberResponseAgentSpecToolsInner.js → AgentAgentToolsInner.js} +24 -10
- package/dist/generated/src/models/AgentAgentVariablesInner.d.ts +44 -0
- package/dist/generated/src/models/AgentAgentVariablesInner.js +54 -0
- package/dist/generated/src/models/ArmVoiceInboundClaimRequest.d.ts +33 -0
- package/dist/generated/src/models/ArmVoiceInboundClaimRequest.js +51 -0
- package/dist/generated/src/models/ArmVoiceInboundClaimRequestInbound.d.ts +25 -0
- package/dist/generated/src/models/ArmVoiceInboundClaimRequestInbound.js +71 -0
- package/dist/generated/src/models/ArmVoiceInboundClaimResponse.d.ts +38 -0
- package/dist/generated/src/models/ArmVoiceInboundClaimResponse.js +54 -0
- package/dist/generated/src/models/BillingPostResponseBody.d.ts +27 -27
- package/dist/generated/src/models/BillingPostResponseBody.js +22 -32
- package/dist/generated/src/models/BroadcastMetricsResponse.d.ts +19 -19
- package/dist/generated/src/models/BroadcastMetricsResponse.js +17 -21
- package/dist/generated/src/models/BroadcastResponse.d.ts +24 -24
- package/dist/generated/src/models/BroadcastResponse.js +20 -26
- package/dist/generated/src/models/ChannelsEnum.d.ts +11 -11
- package/dist/generated/src/models/ChannelsEnum.js +13 -15
- package/dist/generated/src/models/CreateAccountRequestPlan.d.ts +9 -9
- package/dist/generated/src/models/CreateAccountRequestPlan.js +8 -10
- package/dist/generated/src/models/CreateAccountResponse.d.ts +13 -13
- package/dist/generated/src/models/CreateAccountResponse.js +11 -15
- package/dist/generated/src/models/CreateBroadcastRequest.d.ts +6 -6
- package/dist/generated/src/models/CreateBroadcastRequest.js +3 -5
- package/dist/generated/src/models/CreateKeyRequest.d.ts +5 -5
- package/dist/generated/src/models/CreateKeyRequest.js +4 -6
- package/dist/generated/src/models/CreateKeyResponse.d.ts +5 -5
- package/dist/generated/src/models/CreateKeyResponse.js +4 -6
- package/dist/generated/src/models/CreateLibraryResponse.d.ts +5 -5
- package/dist/generated/src/models/CreateLibraryResponse.js +4 -6
- package/dist/generated/src/models/Custom.d.ts +27 -9
- package/dist/generated/src/models/Custom.js +13 -7
- package/dist/generated/src/models/Disabled.d.ts +39 -0
- package/dist/generated/src/models/Disabled.js +59 -0
- package/dist/generated/src/models/Disconnect.d.ts +39 -0
- package/dist/generated/src/models/Disconnect.js +59 -0
- package/dist/generated/src/models/DomainDnsCheckRecordsInner.d.ts +14 -14
- package/dist/generated/src/models/DomainDnsCheckRecordsInner.js +12 -16
- package/dist/generated/src/models/Dtmf.d.ts +6 -6
- package/dist/generated/src/models/Dtmf.js +3 -5
- package/dist/generated/src/models/EmailComponentResponse.d.ts +4 -4
- package/dist/generated/src/models/EmailComponentResponse.js +3 -5
- package/dist/generated/src/models/GetEmailComponentsResponseInner.d.ts +4 -4
- package/dist/generated/src/models/GetEmailComponentsResponseInner.js +3 -5
- package/dist/generated/src/models/GetInappNotificationsResponseNotificationsInnerDeliveryOptions.d.ts +5 -5
- package/dist/generated/src/models/GetInappNotificationsResponseNotificationsInnerDeliveryOptions.js +4 -6
- package/dist/generated/src/models/GetKeysResponseKeysInner.d.ts +5 -5
- package/dist/generated/src/models/GetKeysResponseKeysInner.js +4 -6
- package/dist/generated/src/models/GetLogsResponseMessagesInner.d.ts +7 -7
- package/dist/generated/src/models/GetLogsResponseMessagesInner.js +6 -8
- package/dist/generated/src/models/GetLogsResponseMessagesInnerAttachmentsInner.d.ts +5 -5
- package/dist/generated/src/models/GetLogsResponseMessagesInnerAttachmentsInner.js +4 -6
- package/dist/generated/src/models/GetMembersResponseInner.d.ts +9 -9
- package/dist/generated/src/models/GetMembersResponseInner.js +7 -11
- package/dist/generated/src/models/GetMetricsResponseInner.d.ts +7 -7
- package/dist/generated/src/models/GetMetricsResponseInner.js +6 -8
- package/dist/generated/src/models/GetNotificationsResponseInnerOptionsEMAIL.d.ts +9 -9
- package/dist/generated/src/models/GetNotificationsResponseInnerOptionsEMAIL.js +8 -10
- package/dist/generated/src/models/GetNotificationsResponseInnerOptionsEMAILMonthly.d.ts +5 -5
- package/dist/generated/src/models/GetNotificationsResponseInnerOptionsEMAILMonthly.js +4 -6
- package/dist/generated/src/models/GetNotificationsResponseInnerThrottling.d.ts +14 -14
- package/dist/generated/src/models/GetNotificationsResponseInnerThrottling.js +12 -16
- package/dist/generated/src/models/GetSendersResponseInner.d.ts +15 -15
- package/dist/generated/src/models/GetSendersResponseInner.js +13 -17
- package/dist/generated/src/models/GetSendersResponseInnerVerificationRecordsDkim.d.ts +5 -5
- package/dist/generated/src/models/GetSendersResponseInnerVerificationRecordsDkim.js +4 -6
- package/dist/generated/src/models/GetTemplatesListResponseInner.d.ts +5 -5
- package/dist/generated/src/models/GetTemplatesListResponseInner.js +4 -6
- package/dist/generated/src/models/GetTemplatesListResponseInnerAnyOf6.d.ts +5 -5
- package/dist/generated/src/models/GetTemplatesListResponseInnerAnyOf6.js +4 -6
- package/dist/generated/src/models/GetTemplatesResponse.d.ts +5 -5
- package/dist/generated/src/models/GetTemplatesResponse.js +4 -6
- package/dist/generated/src/models/GetUsersResponseUsersInnerEmailSuppressionStatus.d.ts +5 -5
- package/dist/generated/src/models/GetUsersResponseUsersInnerEmailSuppressionStatus.js +4 -6
- package/dist/generated/src/models/GetUsersResponseUsersInnerPushTokensInner.d.ts +5 -5
- package/dist/generated/src/models/GetUsersResponseUsersInnerPushTokensInner.js +4 -6
- package/dist/generated/src/models/GetVoiceCallResponseCall.d.ts +47 -47
- package/dist/generated/src/models/GetVoiceCallResponseCall.js +39 -49
- package/dist/generated/src/models/GetVoiceCallResponseCallCost.d.ts +1 -1
- package/dist/generated/src/models/GetVoiceCallResponseCallCostLinesInner.d.ts +1 -1
- package/dist/generated/src/models/GoogleGemini31FlashLivePreview.d.ts +71 -0
- package/dist/generated/src/models/GoogleGemini31FlashLivePreview.js +78 -0
- package/dist/generated/src/models/InboundConfig.d.ts +25 -0
- package/dist/generated/src/models/InboundConfig.js +71 -0
- package/dist/generated/src/models/InboundResponseBody.d.ts +6 -6
- package/dist/generated/src/models/InboundResponseBody.js +5 -7
- package/dist/generated/src/models/InboundResponseBodyResultsInner.d.ts +17 -17
- package/dist/generated/src/models/InboundResponseBodyResultsInner.js +15 -19
- package/dist/generated/src/models/IngishtsPostRequest.d.ts +5 -5
- package/dist/generated/src/models/IngishtsPostRequest.js +4 -6
- package/dist/generated/src/models/IngishtsPostRequestMetricDataQueriesInnerMetricStat.d.ts +30 -30
- package/dist/generated/src/models/IngishtsPostRequestMetricDataQueriesInnerMetricStat.js +29 -31
- package/dist/generated/src/models/IntercomWebhook.d.ts +4 -4
- package/dist/generated/src/models/IntercomWebhook.js +3 -5
- package/dist/generated/src/models/IntercomWebhookDataItem.d.ts +15 -15
- package/dist/generated/src/models/IntercomWebhookDataItem.js +12 -18
- package/dist/generated/src/models/IntercomWebhookDataItemAnyOf.d.ts +15 -15
- package/dist/generated/src/models/IntercomWebhookDataItemAnyOf.js +12 -18
- package/dist/generated/src/models/IntercomWebhookDataItemAnyOfContacts.d.ts +4 -4
- package/dist/generated/src/models/IntercomWebhookDataItemAnyOfContacts.js +3 -5
- package/dist/generated/src/models/Knowledge.d.ts +7 -7
- package/dist/generated/src/models/Knowledge.js +3 -5
- package/dist/generated/src/models/KnowledgeDocumentsInner.d.ts +2 -2
- package/dist/generated/src/models/ListAccountsResponseAccountsInner.d.ts +11 -11
- package/dist/generated/src/models/ListAccountsResponseAccountsInner.js +9 -13
- package/dist/generated/src/models/ListBroadcastsResponseBroadcastsInner.d.ts +31 -31
- package/dist/generated/src/models/ListBroadcastsResponseBroadcastsInner.js +25 -31
- package/dist/generated/src/models/ListBroadcastsResponseBroadcastsInnerAudience.d.ts +40 -0
- package/dist/generated/src/models/ListBroadcastsResponseBroadcastsInnerAudience.js +58 -0
- package/dist/generated/src/models/ListInvoicesResponseInvoicesInner.d.ts +8 -8
- package/dist/generated/src/models/ListInvoicesResponseInvoicesInner.js +7 -9
- package/dist/generated/src/models/ListLibraryResponseItemsInner.d.ts +5 -5
- package/dist/generated/src/models/ListLibraryResponseItemsInner.js +4 -6
- package/dist/generated/src/models/ListPhoneNumbersResponseNumbersInner.d.ts +15 -14
- package/dist/generated/src/models/ListPhoneNumbersResponseNumbersInner.js +14 -15
- package/dist/generated/src/models/ListVoiceCallsResponseCallsInner.d.ts +47 -47
- package/dist/generated/src/models/ListVoiceCallsResponseCallsInner.js +39 -49
- package/dist/generated/src/models/LocalNumberAdminUpdateRequest.d.ts +71 -0
- package/dist/generated/src/models/LocalNumberAdminUpdateRequest.js +74 -0
- package/dist/generated/src/models/LocalNumberAdminUpdateRequestFields.d.ts +110 -0
- package/dist/generated/src/models/LocalNumberAdminUpdateRequestFields.js +86 -0
- package/dist/generated/src/models/LocalNumberSubmitRequest.d.ts +44 -0
- package/dist/generated/src/models/LocalNumberSubmitRequest.js +52 -0
- package/dist/generated/src/models/LocalNumberUploadRequest.d.ts +66 -0
- package/dist/generated/src/models/LocalNumberUploadRequest.js +73 -0
- package/dist/generated/src/models/LocalNumberUploadResponse.d.ts +51 -0
- package/dist/generated/src/models/LocalNumberUploadResponse.js +67 -0
- package/dist/generated/src/models/LogQueryPostBody.d.ts +11 -11
- package/dist/generated/src/models/LogQueryPostBody.js +10 -12
- package/dist/generated/src/models/LogsDeliveryStatusResponseStatusesInner.d.ts +24 -24
- package/dist/generated/src/models/LogsDeliveryStatusResponseStatusesInner.js +22 -26
- package/dist/generated/src/models/LogsGetResponseLogsInner.d.ts +278 -277
- package/dist/generated/src/models/LogsGetResponseLogsInner.js +253 -302
- package/dist/generated/src/models/MFASetupRequest.d.ts +4 -4
- package/dist/generated/src/models/MFASetupRequest.js +3 -5
- package/dist/generated/src/models/MFAStatusResponse.d.ts +4 -4
- package/dist/generated/src/models/MFAStatusResponse.js +3 -5
- package/dist/generated/src/models/MFAVerifyRequest.d.ts +4 -4
- package/dist/generated/src/models/MFAVerifyRequest.js +3 -5
- package/dist/generated/src/models/Mcp.d.ts +8 -8
- package/dist/generated/src/models/Mcp.js +3 -5
- package/dist/generated/src/models/NotificationPatchRequestThrottling.d.ts +14 -14
- package/dist/generated/src/models/NotificationPatchRequestThrottling.js +12 -16
- package/dist/generated/src/models/OpenaiGptLive1.d.ts +85 -0
- package/dist/generated/src/models/OpenaiGptLive1.js +92 -0
- package/dist/generated/src/models/OpenaiGptRealtime21.d.ts +73 -0
- package/dist/generated/src/models/OpenaiGptRealtime21.js +80 -0
- package/dist/generated/src/models/OpenaiGptRealtime21Mini.d.ts +73 -0
- package/dist/generated/src/models/OpenaiGptRealtime21Mini.js +80 -0
- package/dist/generated/src/models/PasswordStatusResponse.d.ts +38 -0
- package/dist/generated/src/models/PasswordStatusResponse.js +54 -0
- package/dist/generated/src/models/Script.d.ts +53 -0
- package/dist/generated/src/models/Script.js +69 -0
- package/dist/generated/src/models/Script1.d.ts +74 -0
- package/dist/generated/src/models/Script1.js +81 -0
- package/dist/generated/src/models/ScriptPrivacy.d.ts +38 -0
- package/dist/generated/src/models/ScriptPrivacy.js +50 -0
- package/dist/generated/src/models/ScriptStepsInner.d.ts +45 -0
- package/dist/generated/src/models/ScriptStepsInner.js +63 -0
- package/dist/generated/src/models/SenderPostBodyOptionsFcmAndroid.d.ts +5 -5
- package/dist/generated/src/models/SenderPostBodyOptionsFcmAndroid.js +4 -6
- package/dist/generated/src/models/SenderPostBodySlack.d.ts +5 -5
- package/dist/generated/src/models/SenderPostBodySlack.js +4 -6
- package/dist/generated/src/models/SetDefaultTemplateRequest.d.ts +8 -8
- package/dist/generated/src/models/SetDefaultTemplateRequest.js +7 -9
- package/dist/generated/src/models/SetPasswordRequest.d.ts +32 -0
- package/dist/generated/src/models/SetPasswordRequest.js +50 -0
- package/dist/generated/src/models/SignInUsernameRequest.d.ts +32 -0
- package/dist/generated/src/models/SignInUsernameRequest.js +50 -0
- package/dist/generated/src/models/SignInUsernameResponse.d.ts +32 -0
- package/dist/generated/src/models/SignInUsernameResponse.js +50 -0
- package/dist/generated/src/models/SignOutRequest.d.ts +32 -0
- package/dist/generated/src/models/SignOutRequest.js +50 -0
- package/dist/generated/src/models/SmsComplianceCountriesResponse.d.ts +33 -0
- package/dist/generated/src/models/SmsComplianceCountriesResponse.js +51 -0
- package/dist/generated/src/models/SmsComplianceCountriesResponseCountriesInner.d.ts +50 -0
- package/dist/generated/src/models/SmsComplianceCountriesResponseCountriesInner.js +62 -0
- package/dist/generated/src/models/SmsComplianceCountry.d.ts +50 -0
- package/dist/generated/src/models/SmsComplianceCountry.js +62 -0
- package/dist/generated/src/models/SmsComplianceCountryCreateRequest.d.ts +45 -0
- package/dist/generated/src/models/SmsComplianceCountryCreateRequest.js +59 -0
- package/dist/generated/src/models/SmsLocalNumberRegistrationAdmin.d.ts +153 -0
- package/dist/generated/src/models/SmsLocalNumberRegistrationAdmin.js +134 -0
- package/dist/generated/src/models/SmsLocalNumberRegistrationAdminDocumentsInner.d.ts +60 -0
- package/dist/generated/src/models/SmsLocalNumberRegistrationAdminDocumentsInner.js +69 -0
- package/dist/generated/src/models/SmsLocalNumberSubmitResponse.d.ts +100 -0
- package/dist/generated/src/models/SmsLocalNumberSubmitResponse.js +97 -0
- package/dist/generated/src/models/SmsLocalNumberSubmitResponseQuestionsInner.d.ts +52 -0
- package/dist/generated/src/models/SmsLocalNumberSubmitResponseQuestionsInner.js +66 -0
- package/dist/generated/src/models/SmsLocalNumberSubmitResponseSlotsInner.d.ts +80 -0
- package/dist/generated/src/models/SmsLocalNumberSubmitResponseSlotsInner.js +80 -0
- package/dist/generated/src/models/SmsRegistration.d.ts +68 -0
- package/dist/generated/src/models/SmsRegistration.js +78 -0
- package/dist/generated/src/models/SmsRegistrationA2p10dlc.d.ts +304 -0
- package/dist/generated/src/models/SmsRegistrationA2p10dlc.js +205 -0
- package/dist/generated/src/models/SmsRegistrationCreateRequest.d.ts +40 -0
- package/dist/generated/src/models/SmsRegistrationCreateRequest.js +56 -0
- package/dist/generated/src/models/SmsRegistrationCreateRequestA2p10dlc.d.ts +262 -0
- package/dist/generated/src/models/SmsRegistrationCreateRequestA2p10dlc.js +186 -0
- package/dist/generated/src/models/SmsRegistrationCreateRequestLocalNumber.d.ts +56 -0
- package/dist/generated/src/models/SmsRegistrationCreateRequestLocalNumber.js +68 -0
- package/dist/generated/src/models/SmsRegistrationCreateRequestLocalNumberDocumentsInner.d.ts +66 -0
- package/dist/generated/src/models/SmsRegistrationCreateRequestLocalNumberDocumentsInner.js +69 -0
- package/dist/generated/src/models/SmsRegistrationLocalNumber.d.ts +129 -0
- package/dist/generated/src/models/SmsRegistrationLocalNumber.js +122 -0
- package/dist/generated/src/models/SmsRegistrationLocalNumberDocumentsInner.d.ts +54 -0
- package/dist/generated/src/models/SmsRegistrationLocalNumberDocumentsInner.js +65 -0
- package/dist/generated/src/models/SmsRegistrationSenderId.d.ts +102 -0
- package/dist/generated/src/models/SmsRegistrationSenderId.js +97 -0
- package/dist/generated/src/models/SmsRegistrationUpdateRequest.d.ts +40 -0
- package/dist/generated/src/models/SmsRegistrationUpdateRequest.js +56 -0
- package/dist/generated/src/models/SmsRegistrationUpdateRequestA2p10dlc.d.ts +262 -0
- package/dist/generated/src/models/SmsRegistrationUpdateRequestA2p10dlc.js +166 -0
- package/dist/generated/src/models/SmsRegistrationUpdateRequestLocalNumber.d.ts +56 -0
- package/dist/generated/src/models/SmsRegistrationUpdateRequestLocalNumber.js +68 -0
- package/dist/generated/src/models/SmsSenderId.d.ts +72 -0
- package/dist/generated/src/models/SmsSenderId.js +78 -0
- package/dist/generated/src/models/SmsSenderIdAdmin.d.ts +84 -0
- package/dist/generated/src/models/SmsSenderIdAdmin.js +84 -0
- package/dist/generated/src/models/SmsSenderIdAdminUpdateRequest.d.ts +48 -0
- package/dist/generated/src/models/SmsSenderIdAdminUpdateRequest.js +62 -0
- package/dist/generated/src/models/SmsSenderIdCreateRequest.d.ts +32 -0
- package/dist/generated/src/models/SmsSenderIdCreateRequest.js +50 -0
- package/dist/generated/src/models/TenDlcBrandAdminUpdateRequest.d.ts +48 -48
- package/dist/generated/src/models/TenDlcBrandAdminUpdateRequest.js +44 -52
- package/dist/generated/src/models/TenDlcBrandCreateRequest.d.ts +13 -13
- package/dist/generated/src/models/TenDlcBrandCreateRequest.js +11 -15
- package/dist/generated/src/models/TenDlcBrandRegistration.d.ts +18 -18
- package/dist/generated/src/models/TenDlcBrandRegistration.js +16 -20
- package/dist/generated/src/models/TenDlcBrandRegistrationDetails.d.ts +18 -18
- package/dist/generated/src/models/TenDlcBrandRegistrationDetails.js +16 -20
- package/dist/generated/src/models/TenDlcBrandUpdateRequest.d.ts +13 -13
- package/dist/generated/src/models/TenDlcBrandUpdateRequest.js +11 -15
- package/dist/generated/src/models/TenDlcCampaignAdminUpdateRequest.d.ts +9 -9
- package/dist/generated/src/models/TenDlcCampaignAdminUpdateRequest.js +8 -10
- package/dist/generated/src/models/TenDlcCampaignRegistration.d.ts +9 -9
- package/dist/generated/src/models/TenDlcCampaignRegistration.js +8 -10
- package/dist/generated/src/models/TenDlcCampaignRegistrationDetails.d.ts +9 -9
- package/dist/generated/src/models/TenDlcCampaignRegistrationDetails.js +8 -10
- package/dist/generated/src/models/Transfer.d.ts +10 -29
- package/dist/generated/src/models/Transfer.js +8 -24
- package/dist/generated/src/models/Transfer1.d.ts +52 -0
- package/dist/generated/src/models/Transfer1.js +68 -0
- package/dist/generated/src/models/TransferDestinationsInner.d.ts +58 -0
- package/dist/generated/src/models/TransferDestinationsInner.js +68 -0
- package/dist/generated/src/models/UpdateBroadcastRequest.d.ts +6 -6
- package/dist/generated/src/models/UpdateBroadcastRequest.js +3 -5
- package/dist/generated/src/models/UserPreferencesGETResponsePreferencesInner.d.ts +9 -9
- package/dist/generated/src/models/UserPreferencesGETResponsePreferencesInner.js +8 -10
- package/dist/generated/src/models/UserPreferencesPOSTRequestInner.d.ts +9 -9
- package/dist/generated/src/models/UserPreferencesPOSTRequestInner.js +8 -10
- package/dist/generated/src/models/UserPreferencesPOSTResponseInnerChannelsStatesInner.d.ts +9 -9
- package/dist/generated/src/models/UserPreferencesPOSTResponseInnerChannelsStatesInner.js +8 -10
- package/dist/generated/src/models/VoiceBrowserCallRequest.d.ts +13 -5
- package/dist/generated/src/models/VoiceBrowserCallRequest.js +14 -6
- package/dist/generated/src/models/VoiceBrowserCallRequestConfig.d.ts +100 -0
- package/dist/generated/src/models/VoiceBrowserCallRequestConfig.js +93 -0
- package/dist/generated/src/models/VoiceBrowserCallRequestConfigAnyOf.d.ts +23 -0
- package/dist/generated/src/models/VoiceBrowserCallRequestConfigAnyOf.js +57 -0
- package/dist/generated/src/models/VoiceCallRequest.d.ts +5 -11
- package/dist/generated/src/models/VoiceCallRequest.js +9 -11
- package/dist/generated/src/models/VoiceCallResponse.d.ts +1 -7
- package/dist/generated/src/models/VoiceCallResponse.js +0 -4
- package/dist/generated/src/models/Weather.d.ts +39 -0
- package/dist/generated/src/models/Weather.js +59 -0
- package/dist/generated/src/models/WebhookEndpoint.d.ts +28 -25
- package/dist/generated/src/models/WebhookEndpoint.js +27 -26
- package/dist/generated/src/models/WebhookEndpointUpsertRequest.d.ts +28 -25
- package/dist/generated/src/models/WebhookEndpointUpsertRequest.js +27 -26
- package/dist/generated/src/models/WebhookEndpointsResponseEndpointsInner.d.ts +28 -25
- package/dist/generated/src/models/WebhookEndpointsResponseEndpointsInner.js +27 -26
- package/dist/generated/src/models/WebhookEvent.d.ts +28 -25
- package/dist/generated/src/models/WebhookEvent.js +27 -26
- package/dist/generated/src/models/XaiGrokVoiceLatest.d.ts +68 -0
- package/dist/generated/src/models/XaiGrokVoiceLatest.js +75 -0
- package/dist/generated/src/models/index.d.ts +63 -21
- package/dist/generated/src/models/index.js +63 -21
- package/dist/src/client.js +1 -1
- package/dist/src/index.d.ts +7 -0
- package/package.json +3 -3
- package/dist/generated/src/models/BindNumberRequest.d.ts +0 -32
- package/dist/generated/src/models/BindNumberRequest.js +0 -50
- package/dist/generated/src/models/BindNumberResponse.d.ts +0 -33
- package/dist/generated/src/models/BindNumberResponse.js +0 -51
- package/dist/generated/src/models/BindNumberResponseAgent.d.ts +0 -85
- package/dist/generated/src/models/BindNumberResponseAgent.js +0 -92
- package/dist/generated/src/models/BindNumberResponseAgentSpec.d.ts +0 -87
- package/dist/generated/src/models/BindNumberResponseAgentSpec.js +0 -89
- package/dist/generated/src/models/BindNumberResponseAgentSpecCompliance.d.ts +0 -32
- package/dist/generated/src/models/BindNumberResponseAgentSpecCompliance.js +0 -50
- package/dist/generated/src/models/BindNumberResponseAgentSpecConversation.d.ts +0 -76
- package/dist/generated/src/models/BindNumberResponseAgentSpecConversation.js +0 -87
- package/dist/generated/src/models/BindNumberResponseAgentSpecInbound.d.ts +0 -46
- package/dist/generated/src/models/BindNumberResponseAgentSpecInbound.js +0 -64
- package/dist/generated/src/models/BindNumberResponseAgentSpecModel.d.ts +0 -23
- package/dist/generated/src/models/BindNumberResponseAgentSpecModel.js +0 -57
- package/dist/generated/src/models/BindNumberResponseAgentSpecOutbound.d.ts +0 -67
- package/dist/generated/src/models/BindNumberResponseAgentSpecOutbound.js +0 -80
- package/dist/generated/src/models/BindNumberResponseAgentSpecToolsInner.d.ts +0 -26
- package/dist/generated/src/models/BindNumberResponseAgentSpecVariablesInner.d.ts +0 -44
- package/dist/generated/src/models/BindNumberResponseAgentSpecVariablesInner.js +0 -54
- package/dist/generated/src/models/Chained.d.ts +0 -87
- package/dist/generated/src/models/Chained.js +0 -93
- package/dist/generated/src/models/CreateVoiceAgentRequest.d.ts +0 -33
- package/dist/generated/src/models/CreateVoiceAgentRequest.js +0 -51
- package/dist/generated/src/models/CreateVoiceAgentResponse.d.ts +0 -33
- package/dist/generated/src/models/CreateVoiceAgentResponse.js +0 -51
- package/dist/generated/src/models/DeleteVoiceAgentResponse.d.ts +0 -32
- package/dist/generated/src/models/DeleteVoiceAgentResponse.js +0 -50
- package/dist/generated/src/models/GetVoiceAgentResponse.d.ts +0 -33
- package/dist/generated/src/models/GetVoiceAgentResponse.js +0 -51
- package/dist/generated/src/models/ListVoiceAgentsResponse.d.ts +0 -33
- package/dist/generated/src/models/ListVoiceAgentsResponse.js +0 -51
- package/dist/generated/src/models/S2s.d.ts +0 -63
- package/dist/generated/src/models/S2s.js +0 -77
- package/dist/generated/src/models/UnbindNumberResponse.d.ts +0 -33
- package/dist/generated/src/models/UnbindNumberResponse.js +0 -51
- package/dist/generated/src/models/UpdateVoiceAgentRequest.d.ts +0 -33
- package/dist/generated/src/models/UpdateVoiceAgentRequest.js +0 -51
- package/dist/generated/src/models/UpdateVoiceAgentResponse.d.ts +0 -33
- package/dist/generated/src/models/UpdateVoiceAgentResponse.js +0 -51
|
@@ -23,7 +23,7 @@ export interface CreateAccountOperationRequest {
|
|
|
23
23
|
export interface AccountsApiInterface {
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @summary Create
|
|
26
|
+
* @summary Create one additional Pingram account (a separate workspace) for the signed-in user. The caller must already belong to an account. Requires a user session or personal access token; an account API key cannot call this. Does not create a login, and does not change, delete, or grant access to existing accounts. Omit plan and nothing is charged. The new account is ready for billing to be added later, and it cannot send until then. Setting plan charges immediately. It starts a paid subscription on the payment method already saved on sourceBillingAccountId, an account the caller must own. Optional memberEmails adds people who already share an account with the caller and invites everyone else.
|
|
27
27
|
* @param {CreateAccountRequest} createAccountRequest
|
|
28
28
|
* @param {*} [options] Override http request option.
|
|
29
29
|
* @throws {RequiredError}
|
|
@@ -31,7 +31,7 @@ export interface AccountsApiInterface {
|
|
|
31
31
|
*/
|
|
32
32
|
createAccountRaw(requestParameters: CreateAccountOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateAccountResponse>>;
|
|
33
33
|
/**
|
|
34
|
-
* Create
|
|
34
|
+
* Create one additional Pingram account (a separate workspace) for the signed-in user. The caller must already belong to an account. Requires a user session or personal access token; an account API key cannot call this. Does not create a login, and does not change, delete, or grant access to existing accounts. Omit plan and nothing is charged. The new account is ready for billing to be added later, and it cannot send until then. Setting plan charges immediately. It starts a paid subscription on the payment method already saved on sourceBillingAccountId, an account the caller must own. Optional memberEmails adds people who already share an account with the caller and invites everyone else.
|
|
35
35
|
*/
|
|
36
36
|
createAccount(createAccountRequest: CreateAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateAccountResponse>;
|
|
37
37
|
/**
|
|
@@ -52,11 +52,11 @@ export interface AccountsApiInterface {
|
|
|
52
52
|
*/
|
|
53
53
|
export declare class AccountsApi extends runtime.BaseAPI implements AccountsApiInterface {
|
|
54
54
|
/**
|
|
55
|
-
* Create
|
|
55
|
+
* Create one additional Pingram account (a separate workspace) for the signed-in user. The caller must already belong to an account. Requires a user session or personal access token; an account API key cannot call this. Does not create a login, and does not change, delete, or grant access to existing accounts. Omit plan and nothing is charged. The new account is ready for billing to be added later, and it cannot send until then. Setting plan charges immediately. It starts a paid subscription on the payment method already saved on sourceBillingAccountId, an account the caller must own. Optional memberEmails adds people who already share an account with the caller and invites everyone else.
|
|
56
56
|
*/
|
|
57
57
|
createAccountRaw(requestParameters: CreateAccountOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateAccountResponse>>;
|
|
58
58
|
/**
|
|
59
|
-
* Create
|
|
59
|
+
* Create one additional Pingram account (a separate workspace) for the signed-in user. The caller must already belong to an account. Requires a user session or personal access token; an account API key cannot call this. Does not create a login, and does not change, delete, or grant access to existing accounts. Omit plan and nothing is charged. The new account is ready for billing to be added later, and it cannot send until then. Setting plan charges immediately. It starts a paid subscription on the payment method already saved on sourceBillingAccountId, an account the caller must own. Optional memberEmails adds people who already share an account with the caller and invites everyone else.
|
|
60
60
|
*/
|
|
61
61
|
createAccount(createAccountRequest: CreateAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateAccountResponse>;
|
|
62
62
|
/**
|
|
@@ -54,7 +54,7 @@ const index_1 = require("../models/index");
|
|
|
54
54
|
*/
|
|
55
55
|
class AccountsApi extends runtime.BaseAPI {
|
|
56
56
|
/**
|
|
57
|
-
* Create
|
|
57
|
+
* Create one additional Pingram account (a separate workspace) for the signed-in user. The caller must already belong to an account. Requires a user session or personal access token; an account API key cannot call this. Does not create a login, and does not change, delete, or grant access to existing accounts. Omit plan and nothing is charged. The new account is ready for billing to be added later, and it cannot send until then. Setting plan charges immediately. It starts a paid subscription on the payment method already saved on sourceBillingAccountId, an account the caller must own. Optional memberEmails adds people who already share an account with the caller and invites everyone else.
|
|
58
58
|
*/
|
|
59
59
|
async createAccountRaw(requestParameters, initOverrides) {
|
|
60
60
|
if (requestParameters['createAccountRequest'] == null) {
|
|
@@ -102,7 +102,7 @@ class AccountsApi extends runtime.BaseAPI {
|
|
|
102
102
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CreateAccountResponseFromJSON)(jsonValue));
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
|
-
* Create
|
|
105
|
+
* Create one additional Pingram account (a separate workspace) for the signed-in user. The caller must already belong to an account. Requires a user session or personal access token; an account API key cannot call this. Does not create a login, and does not change, delete, or grant access to existing accounts. Omit plan and nothing is charged. The new account is ready for billing to be added later, and it cannot send until then. Setting plan charges immediately. It starts a paid subscription on the payment method already saved on sourceBillingAccountId, an account the caller must own. Optional memberEmails adds people who already share an account with the caller and invites everyone else.
|
|
106
106
|
*/
|
|
107
107
|
async createAccount(createAccountRequest, initOverrides) {
|
|
108
108
|
const response = await this.createAccountRaw({ createAccountRequest: createAccountRequest }, initOverrides);
|
|
@@ -67,7 +67,7 @@ export interface AddressesApiInterface {
|
|
|
67
67
|
listAddresses(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountAddressesResponse>;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
|
-
* @summary Update
|
|
70
|
+
* @summary Update one inbox on this account. A new prefix deletes the old address, so mail to the previous address stops, and that address is not kept. displayName only relabels a custom inbox and does not change where mail is delivered. Does not create an inbox or change its domain.
|
|
71
71
|
* @param {UpdateAddressRequest} updateAddressRequest
|
|
72
72
|
* @param {*} [options] Override http request option.
|
|
73
73
|
* @throws {RequiredError}
|
|
@@ -75,7 +75,7 @@ export interface AddressesApiInterface {
|
|
|
75
75
|
*/
|
|
76
76
|
updateAddressRaw(requestParameters: UpdateAddressOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AddressResponse>>;
|
|
77
77
|
/**
|
|
78
|
-
* Update
|
|
78
|
+
* Update one inbox on this account. A new prefix deletes the old address, so mail to the previous address stops, and that address is not kept. displayName only relabels a custom inbox and does not change where mail is delivered. Does not create an inbox or change its domain.
|
|
79
79
|
*/
|
|
80
80
|
updateAddress(updateAddressRequest: UpdateAddressRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AddressResponse>;
|
|
81
81
|
}
|
|
@@ -108,11 +108,11 @@ export declare class AddressesApi extends runtime.BaseAPI implements AddressesAp
|
|
|
108
108
|
*/
|
|
109
109
|
listAddresses(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountAddressesResponse>;
|
|
110
110
|
/**
|
|
111
|
-
* Update
|
|
111
|
+
* Update one inbox on this account. A new prefix deletes the old address, so mail to the previous address stops, and that address is not kept. displayName only relabels a custom inbox and does not change where mail is delivered. Does not create an inbox or change its domain.
|
|
112
112
|
*/
|
|
113
113
|
updateAddressRaw(requestParameters: UpdateAddressOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AddressResponse>>;
|
|
114
114
|
/**
|
|
115
|
-
* Update
|
|
115
|
+
* Update one inbox on this account. A new prefix deletes the old address, so mail to the previous address stops, and that address is not kept. displayName only relabels a custom inbox and does not change where mail is delivered. Does not create an inbox or change its domain.
|
|
116
116
|
*/
|
|
117
117
|
updateAddress(updateAddressRequest: UpdateAddressRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AddressResponse>;
|
|
118
118
|
}
|
|
@@ -213,7 +213,7 @@ class AddressesApi extends runtime.BaseAPI {
|
|
|
213
213
|
return await response.value();
|
|
214
214
|
}
|
|
215
215
|
/**
|
|
216
|
-
* Update
|
|
216
|
+
* Update one inbox on this account. A new prefix deletes the old address, so mail to the previous address stops, and that address is not kept. displayName only relabels a custom inbox and does not change where mail is delivered. Does not create an inbox or change its domain.
|
|
217
217
|
*/
|
|
218
218
|
async updateAddressRaw(requestParameters, initOverrides) {
|
|
219
219
|
if (requestParameters['updateAddressRequest'] == null) {
|
|
@@ -261,7 +261,7 @@ class AddressesApi extends runtime.BaseAPI {
|
|
|
261
261
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AddressResponseFromJSON)(jsonValue));
|
|
262
262
|
}
|
|
263
263
|
/**
|
|
264
|
-
* Update
|
|
264
|
+
* Update one inbox on this account. A new prefix deletes the old address, so mail to the previous address stops, and that address is not kept. displayName only relabels a custom inbox and does not change where mail is delivered. Does not create an inbox or change its domain.
|
|
265
265
|
*/
|
|
266
266
|
async updateAddress(updateAddressRequest, initOverrides) {
|
|
267
267
|
const response = await this.updateAddressRaw({ updateAddressRequest: updateAddressRequest }, initOverrides);
|
|
@@ -94,7 +94,7 @@ export interface BroadcastsApiInterface {
|
|
|
94
94
|
archive(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
|
|
95
95
|
/**
|
|
96
96
|
*
|
|
97
|
-
* @summary Cancel an email broadcast. Scheduled broadcasts revert to draft and drop their schedule. Sending or paused broadcasts become canceled; remaining pending recipients are skipped.
|
|
97
|
+
* @summary Cancel an email broadcast. Scheduled broadcasts revert to draft and drop their schedule (they can be scheduled again). Sending or paused broadcasts become canceled; recipients already processed stay as they are, and remaining pending recipients are skipped and will not be sent. That skip cannot be undone.
|
|
98
98
|
* @param {string} broadcastId Broadcast ID
|
|
99
99
|
* @param {*} [options] Override http request option.
|
|
100
100
|
* @throws {RequiredError}
|
|
@@ -102,12 +102,12 @@ export interface BroadcastsApiInterface {
|
|
|
102
102
|
*/
|
|
103
103
|
cancelRaw(requestParameters: CancelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
|
|
104
104
|
/**
|
|
105
|
-
* Cancel an email broadcast. Scheduled broadcasts revert to draft and drop their schedule. Sending or paused broadcasts become canceled; remaining pending recipients are skipped.
|
|
105
|
+
* Cancel an email broadcast. Scheduled broadcasts revert to draft and drop their schedule (they can be scheduled again). Sending or paused broadcasts become canceled; recipients already processed stay as they are, and remaining pending recipients are skipped and will not be sent. That skip cannot be undone.
|
|
106
106
|
*/
|
|
107
107
|
cancel(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
|
|
108
108
|
/**
|
|
109
109
|
*
|
|
110
|
-
* @summary Create a draft email broadcast. html is the send-ready body. Optional internalTemplate is visual-editor source; if set it must be paired with html
|
|
110
|
+
* @summary Create a draft email broadcast. html is the send-ready body. Optional internalTemplate is visual-editor source; if set it must be paired with html. A later update can add it to a draft by sending it with html. Set audience to either a Mongo-style user filter (sync users via Users API first; for large lists) or a raw email list (max 10,000). Include name, from fields, subject, and HTML. Notification type is optional on create and required before send or schedule; it is created automatically if missing.
|
|
111
111
|
* @param {CreateBroadcastRequest} createBroadcastRequest
|
|
112
112
|
* @param {*} [options] Override http request option.
|
|
113
113
|
* @throws {RequiredError}
|
|
@@ -115,7 +115,7 @@ export interface BroadcastsApiInterface {
|
|
|
115
115
|
*/
|
|
116
116
|
createRaw(requestParameters: CreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
|
|
117
117
|
/**
|
|
118
|
-
* Create a draft email broadcast. html is the send-ready body. Optional internalTemplate is visual-editor source; if set it must be paired with html
|
|
118
|
+
* Create a draft email broadcast. html is the send-ready body. Optional internalTemplate is visual-editor source; if set it must be paired with html. A later update can add it to a draft by sending it with html. Set audience to either a Mongo-style user filter (sync users via Users API first; for large lists) or a raw email list (max 10,000). Include name, from fields, subject, and HTML. Notification type is optional on create and required before send or schedule; it is created automatically if missing.
|
|
119
119
|
*/
|
|
120
120
|
create(createBroadcastRequest: CreateBroadcastRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
|
|
121
121
|
/**
|
|
@@ -146,7 +146,7 @@ export interface BroadcastsApiInterface {
|
|
|
146
146
|
getMetrics(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastMetricsResponse>;
|
|
147
147
|
/**
|
|
148
148
|
*
|
|
149
|
-
* @summary List email broadcasts for the account, newest first. Returns metadata
|
|
149
|
+
* @summary List email broadcasts for the account, newest first. Returns metadata without html or internalTemplate bodies. A live-filter audience includes the filter. A raw email audience includes emailCount and omits the addresses. Paginate with limit (default 50, max 100) and nextToken.
|
|
150
150
|
* @param {number} [limit] Max broadcasts to return (default 50)
|
|
151
151
|
* @param {string} [nextToken] Pagination token
|
|
152
152
|
* @param {*} [options] Override http request option.
|
|
@@ -155,7 +155,7 @@ export interface BroadcastsApiInterface {
|
|
|
155
155
|
*/
|
|
156
156
|
listRaw(requestParameters: ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListBroadcastsResponse>>;
|
|
157
157
|
/**
|
|
158
|
-
* List email broadcasts for the account, newest first. Returns metadata
|
|
158
|
+
* List email broadcasts for the account, newest first. Returns metadata without html or internalTemplate bodies. A live-filter audience includes the filter. A raw email audience includes emailCount and omits the addresses. Paginate with limit (default 50, max 100) and nextToken.
|
|
159
159
|
*/
|
|
160
160
|
list(limit?: number, nextToken?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListBroadcastsResponse>;
|
|
161
161
|
/**
|
|
@@ -202,7 +202,7 @@ export interface BroadcastsApiInterface {
|
|
|
202
202
|
resume(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
|
|
203
203
|
/**
|
|
204
204
|
*
|
|
205
|
-
* @summary Schedule a draft email broadcast for a future ISO datetime (sendAt). Requires a non-empty subject.
|
|
205
|
+
* @summary Schedule a draft email broadcast for a future ISO datetime (sendAt). Requires a non-empty subject. Cancels any existing schedule when the broadcast is returned to draft via cancel.
|
|
206
206
|
* @param {string} broadcastId Broadcast ID
|
|
207
207
|
* @param {ScheduleBroadcastRequest} scheduleBroadcastRequest
|
|
208
208
|
* @param {*} [options] Override http request option.
|
|
@@ -211,12 +211,12 @@ export interface BroadcastsApiInterface {
|
|
|
211
211
|
*/
|
|
212
212
|
scheduleRaw(requestParameters: ScheduleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
|
|
213
213
|
/**
|
|
214
|
-
* Schedule a draft email broadcast for a future ISO datetime (sendAt). Requires a non-empty subject.
|
|
214
|
+
* Schedule a draft email broadcast for a future ISO datetime (sendAt). Requires a non-empty subject. Cancels any existing schedule when the broadcast is returned to draft via cancel.
|
|
215
215
|
*/
|
|
216
216
|
schedule(broadcastId: string, scheduleBroadcastRequest: ScheduleBroadcastRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
|
|
217
217
|
/**
|
|
218
218
|
*
|
|
219
|
-
* @summary Send a draft email broadcast immediately. Requires a non-empty subject.
|
|
219
|
+
* @summary Send a draft email broadcast immediately. Requires a non-empty subject. Transitions status to sending and starts delivery.
|
|
220
220
|
* @param {string} broadcastId Broadcast ID
|
|
221
221
|
* @param {*} [options] Override http request option.
|
|
222
222
|
* @throws {RequiredError}
|
|
@@ -224,7 +224,7 @@ export interface BroadcastsApiInterface {
|
|
|
224
224
|
*/
|
|
225
225
|
sendRaw(requestParameters: SendRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
|
|
226
226
|
/**
|
|
227
|
-
* Send a draft email broadcast immediately. Requires a non-empty subject.
|
|
227
|
+
* Send a draft email broadcast immediately. Requires a non-empty subject. Transitions status to sending and starts delivery.
|
|
228
228
|
*/
|
|
229
229
|
send(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
|
|
230
230
|
/**
|
|
@@ -242,7 +242,7 @@ export interface BroadcastsApiInterface {
|
|
|
242
242
|
unarchive(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
|
|
243
243
|
/**
|
|
244
244
|
*
|
|
245
|
-
* @summary Update a draft email broadcast (name, type, audience, sender, subject, html). html is the send-ready body. Send an empty replyToAddress to clear Reply-To. internalTemplate
|
|
245
|
+
* @summary Update a draft email broadcast. Fields you send replace the stored values (name, type, audience, sender, subject, html) and the previous values are not kept; omitted fields stay. html is the send-ready body. Send an empty replyToAddress to clear Reply-To. internalTemplate is visual-editor source: send it with html to add it to an html-only draft or to update it. It cannot be removed. Only drafts can be edited; scheduled or active broadcasts are locked. This does not send the broadcast.
|
|
246
246
|
* @param {string} broadcastId Broadcast ID
|
|
247
247
|
* @param {UpdateBroadcastRequest} updateBroadcastRequest
|
|
248
248
|
* @param {*} [options] Override http request option.
|
|
@@ -251,7 +251,7 @@ export interface BroadcastsApiInterface {
|
|
|
251
251
|
*/
|
|
252
252
|
updateRaw(requestParameters: UpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
|
|
253
253
|
/**
|
|
254
|
-
* Update a draft email broadcast (name, type, audience, sender, subject, html). html is the send-ready body. Send an empty replyToAddress to clear Reply-To. internalTemplate
|
|
254
|
+
* Update a draft email broadcast. Fields you send replace the stored values (name, type, audience, sender, subject, html) and the previous values are not kept; omitted fields stay. html is the send-ready body. Send an empty replyToAddress to clear Reply-To. internalTemplate is visual-editor source: send it with html to add it to an html-only draft or to update it. It cannot be removed. Only drafts can be edited; scheduled or active broadcasts are locked. This does not send the broadcast.
|
|
255
255
|
*/
|
|
256
256
|
update(broadcastId: string, updateBroadcastRequest: UpdateBroadcastRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
|
|
257
257
|
}
|
|
@@ -276,19 +276,19 @@ export declare class BroadcastsApi extends runtime.BaseAPI implements Broadcasts
|
|
|
276
276
|
*/
|
|
277
277
|
archive(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
|
|
278
278
|
/**
|
|
279
|
-
* Cancel an email broadcast. Scheduled broadcasts revert to draft and drop their schedule. Sending or paused broadcasts become canceled; remaining pending recipients are skipped.
|
|
279
|
+
* Cancel an email broadcast. Scheduled broadcasts revert to draft and drop their schedule (they can be scheduled again). Sending or paused broadcasts become canceled; recipients already processed stay as they are, and remaining pending recipients are skipped and will not be sent. That skip cannot be undone.
|
|
280
280
|
*/
|
|
281
281
|
cancelRaw(requestParameters: CancelRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
|
|
282
282
|
/**
|
|
283
|
-
* Cancel an email broadcast. Scheduled broadcasts revert to draft and drop their schedule. Sending or paused broadcasts become canceled; remaining pending recipients are skipped.
|
|
283
|
+
* Cancel an email broadcast. Scheduled broadcasts revert to draft and drop their schedule (they can be scheduled again). Sending or paused broadcasts become canceled; recipients already processed stay as they are, and remaining pending recipients are skipped and will not be sent. That skip cannot be undone.
|
|
284
284
|
*/
|
|
285
285
|
cancel(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
|
|
286
286
|
/**
|
|
287
|
-
* Create a draft email broadcast. html is the send-ready body. Optional internalTemplate is visual-editor source; if set it must be paired with html
|
|
287
|
+
* Create a draft email broadcast. html is the send-ready body. Optional internalTemplate is visual-editor source; if set it must be paired with html. A later update can add it to a draft by sending it with html. Set audience to either a Mongo-style user filter (sync users via Users API first; for large lists) or a raw email list (max 10,000). Include name, from fields, subject, and HTML. Notification type is optional on create and required before send or schedule; it is created automatically if missing.
|
|
288
288
|
*/
|
|
289
289
|
createRaw(requestParameters: CreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
|
|
290
290
|
/**
|
|
291
|
-
* Create a draft email broadcast. html is the send-ready body. Optional internalTemplate is visual-editor source; if set it must be paired with html
|
|
291
|
+
* Create a draft email broadcast. html is the send-ready body. Optional internalTemplate is visual-editor source; if set it must be paired with html. A later update can add it to a draft by sending it with html. Set audience to either a Mongo-style user filter (sync users via Users API first; for large lists) or a raw email list (max 10,000). Include name, from fields, subject, and HTML. Notification type is optional on create and required before send or schedule; it is created automatically if missing.
|
|
292
292
|
*/
|
|
293
293
|
create(createBroadcastRequest: CreateBroadcastRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
|
|
294
294
|
/**
|
|
@@ -308,11 +308,11 @@ export declare class BroadcastsApi extends runtime.BaseAPI implements Broadcasts
|
|
|
308
308
|
*/
|
|
309
309
|
getMetrics(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastMetricsResponse>;
|
|
310
310
|
/**
|
|
311
|
-
* List email broadcasts for the account, newest first. Returns metadata
|
|
311
|
+
* List email broadcasts for the account, newest first. Returns metadata without html or internalTemplate bodies. A live-filter audience includes the filter. A raw email audience includes emailCount and omits the addresses. Paginate with limit (default 50, max 100) and nextToken.
|
|
312
312
|
*/
|
|
313
313
|
listRaw(requestParameters: ListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListBroadcastsResponse>>;
|
|
314
314
|
/**
|
|
315
|
-
* List email broadcasts for the account, newest first. Returns metadata
|
|
315
|
+
* List email broadcasts for the account, newest first. Returns metadata without html or internalTemplate bodies. A live-filter audience includes the filter. A raw email audience includes emailCount and omits the addresses. Paginate with limit (default 50, max 100) and nextToken.
|
|
316
316
|
*/
|
|
317
317
|
list(limit?: number, nextToken?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListBroadcastsResponse>;
|
|
318
318
|
/**
|
|
@@ -340,19 +340,19 @@ export declare class BroadcastsApi extends runtime.BaseAPI implements Broadcasts
|
|
|
340
340
|
*/
|
|
341
341
|
resume(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
|
|
342
342
|
/**
|
|
343
|
-
* Schedule a draft email broadcast for a future ISO datetime (sendAt). Requires a non-empty subject.
|
|
343
|
+
* Schedule a draft email broadcast for a future ISO datetime (sendAt). Requires a non-empty subject. Cancels any existing schedule when the broadcast is returned to draft via cancel.
|
|
344
344
|
*/
|
|
345
345
|
scheduleRaw(requestParameters: ScheduleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
|
|
346
346
|
/**
|
|
347
|
-
* Schedule a draft email broadcast for a future ISO datetime (sendAt). Requires a non-empty subject.
|
|
347
|
+
* Schedule a draft email broadcast for a future ISO datetime (sendAt). Requires a non-empty subject. Cancels any existing schedule when the broadcast is returned to draft via cancel.
|
|
348
348
|
*/
|
|
349
349
|
schedule(broadcastId: string, scheduleBroadcastRequest: ScheduleBroadcastRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
|
|
350
350
|
/**
|
|
351
|
-
* Send a draft email broadcast immediately. Requires a non-empty subject.
|
|
351
|
+
* Send a draft email broadcast immediately. Requires a non-empty subject. Transitions status to sending and starts delivery.
|
|
352
352
|
*/
|
|
353
353
|
sendRaw(requestParameters: SendRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
|
|
354
354
|
/**
|
|
355
|
-
* Send a draft email broadcast immediately. Requires a non-empty subject.
|
|
355
|
+
* Send a draft email broadcast immediately. Requires a non-empty subject. Transitions status to sending and starts delivery.
|
|
356
356
|
*/
|
|
357
357
|
send(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
|
|
358
358
|
/**
|
|
@@ -364,11 +364,11 @@ export declare class BroadcastsApi extends runtime.BaseAPI implements Broadcasts
|
|
|
364
364
|
*/
|
|
365
365
|
unarchive(broadcastId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
|
|
366
366
|
/**
|
|
367
|
-
* Update a draft email broadcast (name, type, audience, sender, subject, html). html is the send-ready body. Send an empty replyToAddress to clear Reply-To. internalTemplate
|
|
367
|
+
* Update a draft email broadcast. Fields you send replace the stored values (name, type, audience, sender, subject, html) and the previous values are not kept; omitted fields stay. html is the send-ready body. Send an empty replyToAddress to clear Reply-To. internalTemplate is visual-editor source: send it with html to add it to an html-only draft or to update it. It cannot be removed. Only drafts can be edited; scheduled or active broadcasts are locked. This does not send the broadcast.
|
|
368
368
|
*/
|
|
369
369
|
updateRaw(requestParameters: UpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BroadcastResponse>>;
|
|
370
370
|
/**
|
|
371
|
-
* Update a draft email broadcast (name, type, audience, sender, subject, html). html is the send-ready body. Send an empty replyToAddress to clear Reply-To. internalTemplate
|
|
371
|
+
* Update a draft email broadcast. Fields you send replace the stored values (name, type, audience, sender, subject, html) and the previous values are not kept; omitted fields stay. html is the send-ready body. Send an empty replyToAddress to clear Reply-To. internalTemplate is visual-editor source: send it with html to add it to an html-only draft or to update it. It cannot be removed. Only drafts can be edited; scheduled or active broadcasts are locked. This does not send the broadcast.
|
|
372
372
|
*/
|
|
373
373
|
update(broadcastId: string, updateBroadcastRequest: UpdateBroadcastRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BroadcastResponse>;
|
|
374
374
|
}
|
|
@@ -162,7 +162,7 @@ class BroadcastsApi extends runtime.BaseAPI {
|
|
|
162
162
|
return await response.value();
|
|
163
163
|
}
|
|
164
164
|
/**
|
|
165
|
-
* Cancel an email broadcast. Scheduled broadcasts revert to draft and drop their schedule. Sending or paused broadcasts become canceled; remaining pending recipients are skipped.
|
|
165
|
+
* Cancel an email broadcast. Scheduled broadcasts revert to draft and drop their schedule (they can be scheduled again). Sending or paused broadcasts become canceled; recipients already processed stay as they are, and remaining pending recipients are skipped and will not be sent. That skip cannot be undone.
|
|
166
166
|
*/
|
|
167
167
|
async cancelRaw(requestParameters, initOverrides) {
|
|
168
168
|
if (requestParameters['broadcastId'] == null) {
|
|
@@ -209,14 +209,14 @@ class BroadcastsApi extends runtime.BaseAPI {
|
|
|
209
209
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.BroadcastResponseFromJSON)(jsonValue));
|
|
210
210
|
}
|
|
211
211
|
/**
|
|
212
|
-
* Cancel an email broadcast. Scheduled broadcasts revert to draft and drop their schedule. Sending or paused broadcasts become canceled; remaining pending recipients are skipped.
|
|
212
|
+
* Cancel an email broadcast. Scheduled broadcasts revert to draft and drop their schedule (they can be scheduled again). Sending or paused broadcasts become canceled; recipients already processed stay as they are, and remaining pending recipients are skipped and will not be sent. That skip cannot be undone.
|
|
213
213
|
*/
|
|
214
214
|
async cancel(broadcastId, initOverrides) {
|
|
215
215
|
const response = await this.cancelRaw({ broadcastId: broadcastId }, initOverrides);
|
|
216
216
|
return await response.value();
|
|
217
217
|
}
|
|
218
218
|
/**
|
|
219
|
-
* Create a draft email broadcast. html is the send-ready body. Optional internalTemplate is visual-editor source; if set it must be paired with html
|
|
219
|
+
* Create a draft email broadcast. html is the send-ready body. Optional internalTemplate is visual-editor source; if set it must be paired with html. A later update can add it to a draft by sending it with html. Set audience to either a Mongo-style user filter (sync users via Users API first; for large lists) or a raw email list (max 10,000). Include name, from fields, subject, and HTML. Notification type is optional on create and required before send or schedule; it is created automatically if missing.
|
|
220
220
|
*/
|
|
221
221
|
async createRaw(requestParameters, initOverrides) {
|
|
222
222
|
if (requestParameters['createBroadcastRequest'] == null) {
|
|
@@ -264,7 +264,7 @@ class BroadcastsApi extends runtime.BaseAPI {
|
|
|
264
264
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.BroadcastResponseFromJSON)(jsonValue));
|
|
265
265
|
}
|
|
266
266
|
/**
|
|
267
|
-
* Create a draft email broadcast. html is the send-ready body. Optional internalTemplate is visual-editor source; if set it must be paired with html
|
|
267
|
+
* Create a draft email broadcast. html is the send-ready body. Optional internalTemplate is visual-editor source; if set it must be paired with html. A later update can add it to a draft by sending it with html. Set audience to either a Mongo-style user filter (sync users via Users API first; for large lists) or a raw email list (max 10,000). Include name, from fields, subject, and HTML. Notification type is optional on create and required before send or schedule; it is created automatically if missing.
|
|
268
268
|
*/
|
|
269
269
|
async create(createBroadcastRequest, initOverrides) {
|
|
270
270
|
const response = await this.createRaw({ createBroadcastRequest: createBroadcastRequest }, initOverrides);
|
|
@@ -379,7 +379,7 @@ class BroadcastsApi extends runtime.BaseAPI {
|
|
|
379
379
|
return await response.value();
|
|
380
380
|
}
|
|
381
381
|
/**
|
|
382
|
-
* List email broadcasts for the account, newest first. Returns metadata
|
|
382
|
+
* List email broadcasts for the account, newest first. Returns metadata without html or internalTemplate bodies. A live-filter audience includes the filter. A raw email audience includes emailCount and omits the addresses. Paginate with limit (default 50, max 100) and nextToken.
|
|
383
383
|
*/
|
|
384
384
|
async listRaw(requestParameters, initOverrides) {
|
|
385
385
|
const queryParameters = {};
|
|
@@ -428,7 +428,7 @@ class BroadcastsApi extends runtime.BaseAPI {
|
|
|
428
428
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ListBroadcastsResponseFromJSON)(jsonValue));
|
|
429
429
|
}
|
|
430
430
|
/**
|
|
431
|
-
* List email broadcasts for the account, newest first. Returns metadata
|
|
431
|
+
* List email broadcasts for the account, newest first. Returns metadata without html or internalTemplate bodies. A live-filter audience includes the filter. A raw email audience includes emailCount and omits the addresses. Paginate with limit (default 50, max 100) and nextToken.
|
|
432
432
|
*/
|
|
433
433
|
async list(limit, nextToken, initOverrides) {
|
|
434
434
|
const response = await this.listRaw({ limit: limit, nextToken: nextToken }, initOverrides);
|
|
@@ -611,7 +611,7 @@ class BroadcastsApi extends runtime.BaseAPI {
|
|
|
611
611
|
return await response.value();
|
|
612
612
|
}
|
|
613
613
|
/**
|
|
614
|
-
* Schedule a draft email broadcast for a future ISO datetime (sendAt). Requires a non-empty subject.
|
|
614
|
+
* Schedule a draft email broadcast for a future ISO datetime (sendAt). Requires a non-empty subject. Cancels any existing schedule when the broadcast is returned to draft via cancel.
|
|
615
615
|
*/
|
|
616
616
|
async scheduleRaw(requestParameters, initOverrides) {
|
|
617
617
|
if (requestParameters['broadcastId'] == null) {
|
|
@@ -663,7 +663,7 @@ class BroadcastsApi extends runtime.BaseAPI {
|
|
|
663
663
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.BroadcastResponseFromJSON)(jsonValue));
|
|
664
664
|
}
|
|
665
665
|
/**
|
|
666
|
-
* Schedule a draft email broadcast for a future ISO datetime (sendAt). Requires a non-empty subject.
|
|
666
|
+
* Schedule a draft email broadcast for a future ISO datetime (sendAt). Requires a non-empty subject. Cancels any existing schedule when the broadcast is returned to draft via cancel.
|
|
667
667
|
*/
|
|
668
668
|
async schedule(broadcastId, scheduleBroadcastRequest, initOverrides) {
|
|
669
669
|
const response = await this.scheduleRaw({
|
|
@@ -673,7 +673,7 @@ class BroadcastsApi extends runtime.BaseAPI {
|
|
|
673
673
|
return await response.value();
|
|
674
674
|
}
|
|
675
675
|
/**
|
|
676
|
-
* Send a draft email broadcast immediately. Requires a non-empty subject.
|
|
676
|
+
* Send a draft email broadcast immediately. Requires a non-empty subject. Transitions status to sending and starts delivery.
|
|
677
677
|
*/
|
|
678
678
|
async sendRaw(requestParameters, initOverrides) {
|
|
679
679
|
if (requestParameters['broadcastId'] == null) {
|
|
@@ -720,7 +720,7 @@ class BroadcastsApi extends runtime.BaseAPI {
|
|
|
720
720
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.BroadcastResponseFromJSON)(jsonValue));
|
|
721
721
|
}
|
|
722
722
|
/**
|
|
723
|
-
* Send a draft email broadcast immediately. Requires a non-empty subject.
|
|
723
|
+
* Send a draft email broadcast immediately. Requires a non-empty subject. Transitions status to sending and starts delivery.
|
|
724
724
|
*/
|
|
725
725
|
async send(broadcastId, initOverrides) {
|
|
726
726
|
const response = await this.sendRaw({ broadcastId: broadcastId }, initOverrides);
|
|
@@ -781,7 +781,7 @@ class BroadcastsApi extends runtime.BaseAPI {
|
|
|
781
781
|
return await response.value();
|
|
782
782
|
}
|
|
783
783
|
/**
|
|
784
|
-
* Update a draft email broadcast (name, type, audience, sender, subject, html). html is the send-ready body. Send an empty replyToAddress to clear Reply-To. internalTemplate
|
|
784
|
+
* Update a draft email broadcast. Fields you send replace the stored values (name, type, audience, sender, subject, html) and the previous values are not kept; omitted fields stay. html is the send-ready body. Send an empty replyToAddress to clear Reply-To. internalTemplate is visual-editor source: send it with html to add it to an html-only draft or to update it. It cannot be removed. Only drafts can be edited; scheduled or active broadcasts are locked. This does not send the broadcast.
|
|
785
785
|
*/
|
|
786
786
|
async updateRaw(requestParameters, initOverrides) {
|
|
787
787
|
if (requestParameters['broadcastId'] == null) {
|
|
@@ -833,7 +833,7 @@ class BroadcastsApi extends runtime.BaseAPI {
|
|
|
833
833
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.BroadcastResponseFromJSON)(jsonValue));
|
|
834
834
|
}
|
|
835
835
|
/**
|
|
836
|
-
* Update a draft email broadcast (name, type, audience, sender, subject, html). html is the send-ready body. Send an empty replyToAddress to clear Reply-To. internalTemplate
|
|
836
|
+
* Update a draft email broadcast. Fields you send replace the stored values (name, type, audience, sender, subject, html) and the previous values are not kept; omitted fields stay. html is the send-ready body. Send an empty replyToAddress to clear Reply-To. internalTemplate is visual-editor source: send it with html to add it to an html-only draft or to update it. It cannot be removed. Only drafts can be edited; scheduled or active broadcasts are locked. This does not send the broadcast.
|
|
837
837
|
*/
|
|
838
838
|
async update(broadcastId, updateBroadcastRequest, initOverrides) {
|
|
839
839
|
const response = await this.updateRaw({
|
|
@@ -29,7 +29,7 @@ export interface StartDomainVerificationRequest {
|
|
|
29
29
|
export interface DomainsApiInterface {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @summary
|
|
32
|
+
* @summary Start verification for a domain you already own so Pingram can use it for email. Pass a bare domain (example.com) or subdomain (mail.example.com). This does not purchase, transfer, renew, or control the domain, does not edit DNS, and does not disable sending or receiving on other platforms. It saves the domain on this Pingram account and returns DNS records for you to publish. Required DKIM lets Pingram send email from addresses on this domain once verification completes. Optional inbound MX, once you publish it, routes that domain\'s inbound email to Pingram. This call only begins verification. Publish the records, then start verification in the dashboard or with the start-verification API. Adding a domain that is already on the account returns the existing records.
|
|
33
33
|
* @param {PostSendersRequestBody} postSendersRequestBody
|
|
34
34
|
* @param {*} [options] Override http request option.
|
|
35
35
|
* @throws {RequiredError}
|
|
@@ -37,7 +37,7 @@ export interface DomainsApiInterface {
|
|
|
37
37
|
*/
|
|
38
38
|
addDomainRaw(requestParameters: AddDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<GetSendersResponseInner>>>;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Start verification for a domain you already own so Pingram can use it for email. Pass a bare domain (example.com) or subdomain (mail.example.com). This does not purchase, transfer, renew, or control the domain, does not edit DNS, and does not disable sending or receiving on other platforms. It saves the domain on this Pingram account and returns DNS records for you to publish. Required DKIM lets Pingram send email from addresses on this domain once verification completes. Optional inbound MX, once you publish it, routes that domain\'s inbound email to Pingram. This call only begins verification. Publish the records, then start verification in the dashboard or with the start-verification API. Adding a domain that is already on the account returns the existing records.
|
|
41
41
|
*/
|
|
42
42
|
addDomain(postSendersRequestBody: PostSendersRequestBody, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<GetSendersResponseInner>>;
|
|
43
43
|
/**
|
|
@@ -55,14 +55,14 @@ export interface DomainsApiInterface {
|
|
|
55
55
|
deleteDomain(sender: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessResponse>;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
|
-
* @summary List
|
|
58
|
+
* @summary List domains already added to this Pingram account for email. Each entry includes verification status and the DNS records Pingram expects you to publish. Does not search a registrar, purchase or transfer a domain, change DNS, or include domains that have not been added to this account.
|
|
59
59
|
* @param {*} [options] Override http request option.
|
|
60
60
|
* @throws {RequiredError}
|
|
61
61
|
* @memberof DomainsApiInterface
|
|
62
62
|
*/
|
|
63
63
|
listDomainsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<GetSendersResponseInner>>>;
|
|
64
64
|
/**
|
|
65
|
-
* List
|
|
65
|
+
* List domains already added to this Pingram account for email. Each entry includes verification status and the DNS records Pingram expects you to publish. Does not search a registrar, purchase or transfer a domain, change DNS, or include domains that have not been added to this account.
|
|
66
66
|
*/
|
|
67
67
|
listDomains(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<GetSendersResponseInner>>;
|
|
68
68
|
/**
|
|
@@ -84,11 +84,11 @@ export interface DomainsApiInterface {
|
|
|
84
84
|
*/
|
|
85
85
|
export declare class DomainsApi extends runtime.BaseAPI implements DomainsApiInterface {
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* Start verification for a domain you already own so Pingram can use it for email. Pass a bare domain (example.com) or subdomain (mail.example.com). This does not purchase, transfer, renew, or control the domain, does not edit DNS, and does not disable sending or receiving on other platforms. It saves the domain on this Pingram account and returns DNS records for you to publish. Required DKIM lets Pingram send email from addresses on this domain once verification completes. Optional inbound MX, once you publish it, routes that domain\'s inbound email to Pingram. This call only begins verification. Publish the records, then start verification in the dashboard or with the start-verification API. Adding a domain that is already on the account returns the existing records.
|
|
88
88
|
*/
|
|
89
89
|
addDomainRaw(requestParameters: AddDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<GetSendersResponseInner>>>;
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
91
|
+
* Start verification for a domain you already own so Pingram can use it for email. Pass a bare domain (example.com) or subdomain (mail.example.com). This does not purchase, transfer, renew, or control the domain, does not edit DNS, and does not disable sending or receiving on other platforms. It saves the domain on this Pingram account and returns DNS records for you to publish. Required DKIM lets Pingram send email from addresses on this domain once verification completes. Optional inbound MX, once you publish it, routes that domain\'s inbound email to Pingram. This call only begins verification. Publish the records, then start verification in the dashboard or with the start-verification API. Adding a domain that is already on the account returns the existing records.
|
|
92
92
|
*/
|
|
93
93
|
addDomain(postSendersRequestBody: PostSendersRequestBody, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<GetSendersResponseInner>>;
|
|
94
94
|
/**
|
|
@@ -100,11 +100,11 @@ export declare class DomainsApi extends runtime.BaseAPI implements DomainsApiInt
|
|
|
100
100
|
*/
|
|
101
101
|
deleteDomain(sender: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessResponse>;
|
|
102
102
|
/**
|
|
103
|
-
* List
|
|
103
|
+
* List domains already added to this Pingram account for email. Each entry includes verification status and the DNS records Pingram expects you to publish. Does not search a registrar, purchase or transfer a domain, change DNS, or include domains that have not been added to this account.
|
|
104
104
|
*/
|
|
105
105
|
listDomainsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<GetSendersResponseInner>>>;
|
|
106
106
|
/**
|
|
107
|
-
* List
|
|
107
|
+
* List domains already added to this Pingram account for email. Each entry includes verification status and the DNS records Pingram expects you to publish. Does not search a registrar, purchase or transfer a domain, change DNS, or include domains that have not been added to this account.
|
|
108
108
|
*/
|
|
109
109
|
listDomains(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<GetSendersResponseInner>>;
|
|
110
110
|
/**
|
|
@@ -54,7 +54,7 @@ const index_1 = require("../models/index");
|
|
|
54
54
|
*/
|
|
55
55
|
class DomainsApi extends runtime.BaseAPI {
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Start verification for a domain you already own so Pingram can use it for email. Pass a bare domain (example.com) or subdomain (mail.example.com). This does not purchase, transfer, renew, or control the domain, does not edit DNS, and does not disable sending or receiving on other platforms. It saves the domain on this Pingram account and returns DNS records for you to publish. Required DKIM lets Pingram send email from addresses on this domain once verification completes. Optional inbound MX, once you publish it, routes that domain\'s inbound email to Pingram. This call only begins verification. Publish the records, then start verification in the dashboard or with the start-verification API. Adding a domain that is already on the account returns the existing records.
|
|
58
58
|
*/
|
|
59
59
|
async addDomainRaw(requestParameters, initOverrides) {
|
|
60
60
|
if (requestParameters['postSendersRequestBody'] == null) {
|
|
@@ -102,7 +102,7 @@ class DomainsApi extends runtime.BaseAPI {
|
|
|
102
102
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.GetSendersResponseInnerFromJSON));
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* Start verification for a domain you already own so Pingram can use it for email. Pass a bare domain (example.com) or subdomain (mail.example.com). This does not purchase, transfer, renew, or control the domain, does not edit DNS, and does not disable sending or receiving on other platforms. It saves the domain on this Pingram account and returns DNS records for you to publish. Required DKIM lets Pingram send email from addresses on this domain once verification completes. Optional inbound MX, once you publish it, routes that domain\'s inbound email to Pingram. This call only begins verification. Publish the records, then start verification in the dashboard or with the start-verification API. Adding a domain that is already on the account returns the existing records.
|
|
106
106
|
*/
|
|
107
107
|
async addDomain(postSendersRequestBody, initOverrides) {
|
|
108
108
|
const response = await this.addDomainRaw({ postSendersRequestBody: postSendersRequestBody }, initOverrides);
|
|
@@ -163,7 +163,7 @@ class DomainsApi extends runtime.BaseAPI {
|
|
|
163
163
|
return await response.value();
|
|
164
164
|
}
|
|
165
165
|
/**
|
|
166
|
-
* List
|
|
166
|
+
* List domains already added to this Pingram account for email. Each entry includes verification status and the DNS records Pingram expects you to publish. Does not search a registrar, purchase or transfer a domain, change DNS, or include domains that have not been added to this account.
|
|
167
167
|
*/
|
|
168
168
|
async listDomainsRaw(initOverrides) {
|
|
169
169
|
const queryParameters = {};
|
|
@@ -206,7 +206,7 @@ class DomainsApi extends runtime.BaseAPI {
|
|
|
206
206
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.GetSendersResponseInnerFromJSON));
|
|
207
207
|
}
|
|
208
208
|
/**
|
|
209
|
-
* List
|
|
209
|
+
* List domains already added to this Pingram account for email. Each entry includes verification status and the DNS records Pingram expects you to publish. Does not search a registrar, purchase or transfer a domain, change DNS, or include domains that have not been added to this account.
|
|
210
210
|
*/
|
|
211
211
|
async listDomains(initOverrides) {
|
|
212
212
|
const response = await this.listDomainsRaw(initOverrides);
|
|
@@ -39,7 +39,7 @@ export interface EmailApiInterface {
|
|
|
39
39
|
deleteSuppressions(reason: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MessageResponse>;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
|
-
* @summary Send an email. Requires `type`, `to`, `subject`, and `html`. Optional: `fromAddress`, `fromName`, `schedule`, attachments.
|
|
42
|
+
* @summary Send an email. Requires `type`, `to`, `subject`, and `html`. Optional: `fromAddress`, `fromName`, `schedule`, attachments. To reach people outside your account, use an address on a verified domain. The shared Pingram address can only email the account itself and always sends as noreply.
|
|
43
43
|
* @param {SendEmailRequest} sendEmailRequest
|
|
44
44
|
* @param {*} [options] Override http request option.
|
|
45
45
|
* @throws {RequiredError}
|
|
@@ -47,7 +47,7 @@ export interface EmailApiInterface {
|
|
|
47
47
|
*/
|
|
48
48
|
sendRaw(requestParameters: SendRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SendEmailApiResponse>>;
|
|
49
49
|
/**
|
|
50
|
-
* Send an email. Requires `type`, `to`, `subject`, and `html`. Optional: `fromAddress`, `fromName`, `schedule`, attachments.
|
|
50
|
+
* Send an email. Requires `type`, `to`, `subject`, and `html`. Optional: `fromAddress`, `fromName`, `schedule`, attachments. To reach people outside your account, use an address on a verified domain. The shared Pingram address can only email the account itself and always sends as noreply.
|
|
51
51
|
*/
|
|
52
52
|
send(sendEmailRequest: SendEmailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SendEmailApiResponse>;
|
|
53
53
|
}
|
|
@@ -64,11 +64,11 @@ export declare class EmailApi extends runtime.BaseAPI implements EmailApiInterfa
|
|
|
64
64
|
*/
|
|
65
65
|
deleteSuppressions(reason: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MessageResponse>;
|
|
66
66
|
/**
|
|
67
|
-
* Send an email. Requires `type`, `to`, `subject`, and `html`. Optional: `fromAddress`, `fromName`, `schedule`, attachments.
|
|
67
|
+
* Send an email. Requires `type`, `to`, `subject`, and `html`. Optional: `fromAddress`, `fromName`, `schedule`, attachments. To reach people outside your account, use an address on a verified domain. The shared Pingram address can only email the account itself and always sends as noreply.
|
|
68
68
|
*/
|
|
69
69
|
sendRaw(requestParameters: SendRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SendEmailApiResponse>>;
|
|
70
70
|
/**
|
|
71
|
-
* Send an email. Requires `type`, `to`, `subject`, and `html`. Optional: `fromAddress`, `fromName`, `schedule`, attachments.
|
|
71
|
+
* Send an email. Requires `type`, `to`, `subject`, and `html`. Optional: `fromAddress`, `fromName`, `schedule`, attachments. To reach people outside your account, use an address on a verified domain. The shared Pingram address can only email the account itself and always sends as noreply.
|
|
72
72
|
*/
|
|
73
73
|
send(sendEmailRequest: SendEmailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SendEmailApiResponse>;
|
|
74
74
|
}
|
|
@@ -108,7 +108,7 @@ class EmailApi extends runtime.BaseAPI {
|
|
|
108
108
|
return await response.value();
|
|
109
109
|
}
|
|
110
110
|
/**
|
|
111
|
-
* Send an email. Requires `type`, `to`, `subject`, and `html`. Optional: `fromAddress`, `fromName`, `schedule`, attachments.
|
|
111
|
+
* Send an email. Requires `type`, `to`, `subject`, and `html`. Optional: `fromAddress`, `fromName`, `schedule`, attachments. To reach people outside your account, use an address on a verified domain. The shared Pingram address can only email the account itself and always sends as noreply.
|
|
112
112
|
*/
|
|
113
113
|
async sendRaw(requestParameters, initOverrides) {
|
|
114
114
|
if (requestParameters['sendEmailRequest'] == null) {
|
|
@@ -156,7 +156,7 @@ class EmailApi extends runtime.BaseAPI {
|
|
|
156
156
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SendEmailApiResponseFromJSON)(jsonValue));
|
|
157
157
|
}
|
|
158
158
|
/**
|
|
159
|
-
* Send an email. Requires `type`, `to`, `subject`, and `html`. Optional: `fromAddress`, `fromName`, `schedule`, attachments.
|
|
159
|
+
* Send an email. Requires `type`, `to`, `subject`, and `html`. Optional: `fromAddress`, `fromName`, `schedule`, attachments. To reach people outside your account, use an address on a verified domain. The shared Pingram address can only email the account itself and always sends as noreply.
|
|
160
160
|
*/
|
|
161
161
|
async send(sendEmailRequest, initOverrides) {
|
|
162
162
|
const response = await this.sendRaw({ sendEmailRequest: sendEmailRequest }, initOverrides);
|