twilio 4.0.1 → 4.0.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/lib/base/BaseTwilio.d.ts +81 -0
- package/lib/base/BaseTwilio.js +172 -0
- package/lib/base/Domain.d.ts +29 -0
- package/lib/base/Domain.js +53 -0
- package/lib/base/Page.d.ts +104 -0
- package/lib/base/Page.js +192 -0
- package/lib/base/RequestClient.d.ts +143 -0
- package/lib/base/RequestClient.js +223 -0
- package/lib/base/RestException.d.ts +16 -0
- package/lib/base/RestException.js +33 -0
- package/lib/base/Version.d.ts +129 -0
- package/lib/base/Version.js +335 -0
- package/lib/base/deserialize.d.ts +41 -0
- package/lib/base/deserialize.js +76 -0
- package/lib/base/serialize.d.ts +53 -0
- package/lib/base/serialize.js +122 -0
- package/lib/base/utility.d.ts +2 -0
- package/lib/base/utility.js +13 -0
- package/lib/base/values.d.ts +10 -0
- package/lib/base/values.js +16 -0
- package/lib/http/request.d.ts +25 -0
- package/lib/http/request.js +85 -0
- package/lib/http/response.d.ts +7 -0
- package/lib/http/response.js +13 -0
- package/lib/index.d.ts +39 -0
- package/lib/index.js +89 -0
- package/lib/interfaces.d.ts +94 -0
- package/lib/interfaces.js +2 -0
- package/lib/jwt/AccessToken.d.ts +191 -0
- package/lib/jwt/AccessToken.js +261 -0
- package/lib/jwt/ClientCapability.d.ts +61 -0
- package/lib/jwt/ClientCapability.js +122 -0
- package/lib/jwt/taskrouter/TaskRouterCapability.d.ts +74 -0
- package/lib/jwt/taskrouter/TaskRouterCapability.js +101 -0
- package/lib/jwt/taskrouter/util.d.ts +66 -0
- package/lib/jwt/taskrouter/util.js +169 -0
- package/lib/rest/Accounts.d.ts +19 -0
- package/lib/rest/Accounts.js +29 -0
- package/lib/rest/AccountsBase.d.ts +13 -0
- package/lib/rest/AccountsBase.js +31 -0
- package/lib/rest/Api.d.ts +127 -0
- package/lib/rest/Api.js +182 -0
- package/lib/rest/ApiBase.d.ts +13 -0
- package/lib/rest/ApiBase.js +31 -0
- package/lib/rest/Autopilot.d.ts +14 -0
- package/lib/rest/Autopilot.js +22 -0
- package/lib/rest/AutopilotBase.d.ts +13 -0
- package/lib/rest/AutopilotBase.js +31 -0
- package/lib/rest/Bulkexports.d.ts +14 -0
- package/lib/rest/Bulkexports.js +22 -0
- package/lib/rest/BulkexportsBase.d.ts +13 -0
- package/lib/rest/BulkexportsBase.js +31 -0
- package/lib/rest/Chat.d.ts +19 -0
- package/lib/rest/Chat.js +29 -0
- package/lib/rest/ChatBase.d.ts +19 -0
- package/lib/rest/ChatBase.js +41 -0
- package/lib/rest/Content.d.ts +9 -0
- package/lib/rest/Content.js +15 -0
- package/lib/rest/ContentBase.d.ts +13 -0
- package/lib/rest/ContentBase.js +31 -0
- package/lib/rest/Conversations.d.ts +44 -0
- package/lib/rest/Conversations.js +64 -0
- package/lib/rest/ConversationsBase.d.ts +13 -0
- package/lib/rest/ConversationsBase.js +31 -0
- package/lib/rest/Events.d.ts +24 -0
- package/lib/rest/Events.js +36 -0
- package/lib/rest/EventsBase.d.ts +13 -0
- package/lib/rest/EventsBase.js +31 -0
- package/lib/rest/FlexApi.d.ts +39 -0
- package/lib/rest/FlexApi.js +57 -0
- package/lib/rest/FlexApiBase.d.ts +16 -0
- package/lib/rest/FlexApiBase.js +36 -0
- package/lib/rest/FrontlineApi.d.ts +9 -0
- package/lib/rest/FrontlineApi.js +15 -0
- package/lib/rest/FrontlineApiBase.d.ts +13 -0
- package/lib/rest/FrontlineApiBase.js +31 -0
- package/lib/rest/Insights.d.ts +29 -0
- package/lib/rest/Insights.js +43 -0
- package/lib/rest/InsightsBase.d.ts +13 -0
- package/lib/rest/InsightsBase.js +31 -0
- package/lib/rest/IpMessaging.d.ts +14 -0
- package/lib/rest/IpMessaging.js +22 -0
- package/lib/rest/IpMessagingBase.d.ts +16 -0
- package/lib/rest/IpMessagingBase.js +36 -0
- package/lib/rest/Lookups.d.ts +9 -0
- package/lib/rest/Lookups.js +15 -0
- package/lib/rest/LookupsBase.d.ts +16 -0
- package/lib/rest/LookupsBase.js +36 -0
- package/lib/rest/Media.d.ts +19 -0
- package/lib/rest/Media.js +29 -0
- package/lib/rest/MediaBase.d.ts +13 -0
- package/lib/rest/MediaBase.js +31 -0
- package/lib/rest/Messaging.d.ts +39 -0
- package/lib/rest/Messaging.js +57 -0
- package/lib/rest/MessagingBase.d.ts +13 -0
- package/lib/rest/MessagingBase.js +31 -0
- package/lib/rest/Microvisor.d.ts +14 -0
- package/lib/rest/Microvisor.js +22 -0
- package/lib/rest/MicrovisorBase.d.ts +13 -0
- package/lib/rest/MicrovisorBase.js +31 -0
- package/lib/rest/Monitor.d.ts +14 -0
- package/lib/rest/Monitor.js +22 -0
- package/lib/rest/MonitorBase.d.ts +13 -0
- package/lib/rest/MonitorBase.js +31 -0
- package/lib/rest/Notify.d.ts +14 -0
- package/lib/rest/Notify.js +22 -0
- package/lib/rest/NotifyBase.d.ts +13 -0
- package/lib/rest/NotifyBase.js +31 -0
- package/lib/rest/Numbers.d.ts +9 -0
- package/lib/rest/Numbers.js +15 -0
- package/lib/rest/NumbersBase.d.ts +13 -0
- package/lib/rest/NumbersBase.js +31 -0
- package/lib/rest/Oauth.d.ts +29 -0
- package/lib/rest/Oauth.js +43 -0
- package/lib/rest/OauthBase.d.ts +13 -0
- package/lib/rest/OauthBase.js +31 -0
- package/lib/rest/Preview.d.ts +54 -0
- package/lib/rest/Preview.js +78 -0
- package/lib/rest/PreviewBase.d.ts +28 -0
- package/lib/rest/PreviewBase.js +57 -0
- package/lib/rest/Pricing.d.ts +29 -0
- package/lib/rest/Pricing.js +43 -0
- package/lib/rest/PricingBase.d.ts +16 -0
- package/lib/rest/PricingBase.js +36 -0
- package/lib/rest/Proxy.d.ts +9 -0
- package/lib/rest/Proxy.js +15 -0
- package/lib/rest/ProxyBase.d.ts +13 -0
- package/lib/rest/ProxyBase.js +31 -0
- package/lib/rest/Routes.d.ts +19 -0
- package/lib/rest/Routes.js +29 -0
- package/lib/rest/RoutesBase.d.ts +13 -0
- package/lib/rest/RoutesBase.js +31 -0
- package/lib/rest/Serverless.d.ts +9 -0
- package/lib/rest/Serverless.js +15 -0
- package/lib/rest/ServerlessBase.d.ts +13 -0
- package/lib/rest/ServerlessBase.js +31 -0
- package/lib/rest/Studio.d.ts +14 -0
- package/lib/rest/Studio.js +22 -0
- package/lib/rest/StudioBase.d.ts +16 -0
- package/lib/rest/StudioBase.js +36 -0
- package/lib/rest/Supersim.d.ts +49 -0
- package/lib/rest/Supersim.js +71 -0
- package/lib/rest/SupersimBase.d.ts +13 -0
- package/lib/rest/SupersimBase.js +31 -0
- package/lib/rest/Sync.d.ts +9 -0
- package/lib/rest/Sync.js +15 -0
- package/lib/rest/SyncBase.d.ts +13 -0
- package/lib/rest/SyncBase.js +31 -0
- package/lib/rest/Taskrouter.d.ts +9 -0
- package/lib/rest/Taskrouter.js +15 -0
- package/lib/rest/TaskrouterBase.d.ts +13 -0
- package/lib/rest/TaskrouterBase.js +31 -0
- package/lib/rest/Trunking.d.ts +9 -0
- package/lib/rest/Trunking.js +15 -0
- package/lib/rest/TrunkingBase.d.ts +13 -0
- package/lib/rest/TrunkingBase.js +31 -0
- package/lib/rest/Trusthub.d.ts +39 -0
- package/lib/rest/Trusthub.js +57 -0
- package/lib/rest/TrusthubBase.d.ts +13 -0
- package/lib/rest/TrusthubBase.js +31 -0
- package/lib/rest/Twilio.d.ts +266 -0
- package/lib/rest/Twilio.js +317 -0
- package/lib/rest/Verify.d.ts +29 -0
- package/lib/rest/Verify.js +43 -0
- package/lib/rest/VerifyBase.d.ts +13 -0
- package/lib/rest/VerifyBase.js +31 -0
- package/lib/rest/Video.d.ts +34 -0
- package/lib/rest/Video.js +50 -0
- package/lib/rest/VideoBase.d.ts +13 -0
- package/lib/rest/VideoBase.js +31 -0
- package/lib/rest/Voice.d.ts +34 -0
- package/lib/rest/Voice.js +50 -0
- package/lib/rest/VoiceBase.d.ts +13 -0
- package/lib/rest/VoiceBase.js +31 -0
- package/lib/rest/Wireless.d.ts +24 -0
- package/lib/rest/Wireless.js +36 -0
- package/lib/rest/WirelessBase.d.ts +13 -0
- package/lib/rest/WirelessBase.js +31 -0
- package/lib/rest/accounts/V1.d.ts +25 -0
- package/lib/rest/accounts/V1.js +50 -0
- package/lib/rest/accounts/v1/authTokenPromotion.d.ts +105 -0
- package/lib/rest/accounts/v1/authTokenPromotion.js +109 -0
- package/lib/rest/accounts/v1/credential/aws.d.ts +296 -0
- package/lib/rest/accounts/v1/credential/aws.js +251 -0
- package/lib/rest/accounts/v1/credential/publicKey.d.ts +296 -0
- package/lib/rest/accounts/v1/credential/publicKey.js +252 -0
- package/lib/rest/accounts/v1/credential.d.ts +22 -0
- package/lib/rest/accounts/v1/credential.js +51 -0
- package/lib/rest/accounts/v1/secondaryAuthToken.d.ts +122 -0
- package/lib/rest/accounts/v1/secondaryAuthToken.js +128 -0
- package/lib/rest/api/V2010.d.ts +20 -0
- package/lib/rest/api/V2010.js +42 -0
- package/lib/rest/api/v2010/account/address/dependentPhoneNumber.d.ts +295 -0
- package/lib/rest/api/v2010/account/address/dependentPhoneNumber.js +175 -0
- package/lib/rest/api/v2010/account/address.d.ts +414 -0
- package/lib/rest/api/v2010/account/address.js +338 -0
- package/lib/rest/api/v2010/account/application.d.ts +463 -0
- package/lib/rest/api/v2010/account/application.js +349 -0
- package/lib/rest/api/v2010/account/authorizedConnectApp.d.ts +244 -0
- package/lib/rest/api/v2010/account/authorizedConnectApp.js +198 -0
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/local.d.ts +322 -0
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/local.js +185 -0
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/machineToMachine.d.ts +322 -0
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/machineToMachine.js +185 -0
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/mobile.d.ts +322 -0
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/mobile.js +185 -0
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/national.d.ts +322 -0
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/national.js +185 -0
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/sharedCost.d.ts +322 -0
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/sharedCost.js +185 -0
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/tollFree.d.ts +322 -0
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/tollFree.js +185 -0
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/voip.d.ts +322 -0
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/voip.js +185 -0
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry.d.ts +269 -0
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry.js +279 -0
- package/lib/rest/api/v2010/account/balance.d.ts +58 -0
- package/lib/rest/api/v2010/account/balance.js +70 -0
- package/lib/rest/api/v2010/account/call/event.d.ts +150 -0
- package/lib/rest/api/v2010/account/call/event.js +127 -0
- package/lib/rest/api/v2010/account/call/feedback.d.ts +160 -0
- package/lib/rest/api/v2010/account/call/feedback.js +154 -0
- package/lib/rest/api/v2010/account/call/feedbackSummary.d.ts +201 -0
- package/lib/rest/api/v2010/account/call/feedbackSummary.js +189 -0
- package/lib/rest/api/v2010/account/call/notification.d.ts +312 -0
- package/lib/rest/api/v2010/account/call/notification.js +223 -0
- package/lib/rest/api/v2010/account/call/payment.d.ts +182 -0
- package/lib/rest/api/v2010/account/call/payment.js +198 -0
- package/lib/rest/api/v2010/account/call/recording.d.ts +386 -0
- package/lib/rest/api/v2010/account/call/recording.js +303 -0
- package/lib/rest/api/v2010/account/call/siprec.d.ts +559 -0
- package/lib/rest/api/v2010/account/call/siprec.js +562 -0
- package/lib/rest/api/v2010/account/call/stream.d.ts +551 -0
- package/lib/rest/api/v2010/account/call/stream.js +560 -0
- package/lib/rest/api/v2010/account/call/userDefinedMessage.d.ts +75 -0
- package/lib/rest/api/v2010/account/call/userDefinedMessage.js +89 -0
- package/lib/rest/api/v2010/account/call/userDefinedMessageSubscription.d.ts +130 -0
- package/lib/rest/api/v2010/account/call/userDefinedMessageSubscription.js +150 -0
- package/lib/rest/api/v2010/account/call.d.ts +633 -0
- package/lib/rest/api/v2010/account/call.js +531 -0
- package/lib/rest/api/v2010/account/conference/participant.d.ts +472 -0
- package/lib/rest/api/v2010/account/conference/participant.js +407 -0
- package/lib/rest/api/v2010/account/conference/recording.d.ts +346 -0
- package/lib/rest/api/v2010/account/conference/recording.js +267 -0
- package/lib/rest/api/v2010/account/conference.d.ts +362 -0
- package/lib/rest/api/v2010/account/conference.js +272 -0
- package/lib/rest/api/v2010/account/connectApp.d.ts +324 -0
- package/lib/rest/api/v2010/account/connectApp.js +257 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn/assignedAddOnExtension.d.ts +241 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn/assignedAddOnExtension.js +210 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.d.ts +292 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.js +257 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/local.d.ts +417 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/local.js +261 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.d.ts +417 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.js +261 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.d.ts +417 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.js +261 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber.d.ts +593 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber.js +450 -0
- package/lib/rest/api/v2010/account/key.d.ts +266 -0
- package/lib/rest/api/v2010/account/key.js +229 -0
- package/lib/rest/api/v2010/account/message/feedback.d.ts +91 -0
- package/lib/rest/api/v2010/account/message/feedback.js +93 -0
- package/lib/rest/api/v2010/account/message/media.d.ts +262 -0
- package/lib/rest/api/v2010/account/message/media.js +220 -0
- package/lib/rest/api/v2010/account/message.d.ts +468 -0
- package/lib/rest/api/v2010/account/message.js +362 -0
- package/lib/rest/api/v2010/account/newKey.d.ts +86 -0
- package/lib/rest/api/v2010/account/newKey.js +88 -0
- package/lib/rest/api/v2010/account/newSigningKey.d.ts +86 -0
- package/lib/rest/api/v2010/account/newSigningKey.js +88 -0
- package/lib/rest/api/v2010/account/notification.d.ts +310 -0
- package/lib/rest/api/v2010/account/notification.js +217 -0
- package/lib/rest/api/v2010/account/outgoingCallerId.d.ts +296 -0
- package/lib/rest/api/v2010/account/outgoingCallerId.js +239 -0
- package/lib/rest/api/v2010/account/queue/member.d.ts +249 -0
- package/lib/rest/api/v2010/account/queue/member.js +220 -0
- package/lib/rest/api/v2010/account/queue.d.ts +324 -0
- package/lib/rest/api/v2010/account/queue.js +278 -0
- package/lib/rest/api/v2010/account/recording/addOnResult/payload.d.ts +270 -0
- package/lib/rest/api/v2010/account/recording/addOnResult/payload.js +233 -0
- package/lib/rest/api/v2010/account/recording/addOnResult.d.ts +268 -0
- package/lib/rest/api/v2010/account/recording/addOnResult.js +233 -0
- package/lib/rest/api/v2010/account/recording/transcription.d.ts +278 -0
- package/lib/rest/api/v2010/account/recording/transcription.js +226 -0
- package/lib/rest/api/v2010/account/recording.d.ts +387 -0
- package/lib/rest/api/v2010/account/recording.js +276 -0
- package/lib/rest/api/v2010/account/shortCode.d.ts +321 -0
- package/lib/rest/api/v2010/account/shortCode.js +240 -0
- package/lib/rest/api/v2010/account/signingKey.d.ts +254 -0
- package/lib/rest/api/v2010/account/signingKey.js +229 -0
- package/lib/rest/api/v2010/account/sip/credentialList/credential.d.ts +304 -0
- package/lib/rest/api/v2010/account/sip/credentialList/credential.js +266 -0
- package/lib/rest/api/v2010/account/sip/credentialList.d.ts +292 -0
- package/lib/rest/api/v2010/account/sip/credentialList.js +269 -0
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsCredentialListMapping.d.ts +248 -0
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsCredentialListMapping.js +232 -0
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsIpAccessControlListMapping.d.ts +248 -0
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsIpAccessControlListMapping.js +232 -0
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls.d.ts +24 -0
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls.js +60 -0
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations/authRegistrationsCredentialListMapping.d.ts +248 -0
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations/authRegistrationsCredentialListMapping.js +232 -0
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations.d.ts +21 -0
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations.js +50 -0
- package/lib/rest/api/v2010/account/sip/domain/authTypes.d.ts +24 -0
- package/lib/rest/api/v2010/account/sip/domain/authTypes.js +58 -0
- package/lib/rest/api/v2010/account/sip/domain/credentialListMapping.d.ts +260 -0
- package/lib/rest/api/v2010/account/sip/domain/credentialListMapping.js +236 -0
- package/lib/rest/api/v2010/account/sip/domain/ipAccessControlListMapping.d.ts +260 -0
- package/lib/rest/api/v2010/account/sip/domain/ipAccessControlListMapping.js +236 -0
- package/lib/rest/api/v2010/account/sip/domain.d.ts +459 -0
- package/lib/rest/api/v2010/account/sip/domain.js +371 -0
- package/lib/rest/api/v2010/account/sip/ipAccessControlList/ipAddress.d.ts +322 -0
- package/lib/rest/api/v2010/account/sip/ipAccessControlList/ipAddress.js +281 -0
- package/lib/rest/api/v2010/account/sip/ipAccessControlList.d.ts +292 -0
- package/lib/rest/api/v2010/account/sip/ipAccessControlList.js +269 -0
- package/lib/rest/api/v2010/account/sip.d.ts +26 -0
- package/lib/rest/api/v2010/account/sip.js +64 -0
- package/lib/rest/api/v2010/account/token.d.ts +104 -0
- package/lib/rest/api/v2010/account/token.js +95 -0
- package/lib/rest/api/v2010/account/transcription.d.ts +276 -0
- package/lib/rest/api/v2010/account/transcription.js +220 -0
- package/lib/rest/api/v2010/account/usage/record/allTime.d.ts +249 -0
- package/lib/rest/api/v2010/account/usage/record/allTime.js +158 -0
- package/lib/rest/api/v2010/account/usage/record/daily.d.ts +249 -0
- package/lib/rest/api/v2010/account/usage/record/daily.js +158 -0
- package/lib/rest/api/v2010/account/usage/record/lastMonth.d.ts +249 -0
- package/lib/rest/api/v2010/account/usage/record/lastMonth.js +158 -0
- package/lib/rest/api/v2010/account/usage/record/monthly.d.ts +249 -0
- package/lib/rest/api/v2010/account/usage/record/monthly.js +158 -0
- package/lib/rest/api/v2010/account/usage/record/thisMonth.d.ts +249 -0
- package/lib/rest/api/v2010/account/usage/record/thisMonth.js +158 -0
- package/lib/rest/api/v2010/account/usage/record/today.d.ts +249 -0
- package/lib/rest/api/v2010/account/usage/record/today.js +158 -0
- package/lib/rest/api/v2010/account/usage/record/yearly.d.ts +249 -0
- package/lib/rest/api/v2010/account/usage/record/yearly.js +158 -0
- package/lib/rest/api/v2010/account/usage/record/yesterday.d.ts +249 -0
- package/lib/rest/api/v2010/account/usage/record/yesterday.js +158 -0
- package/lib/rest/api/v2010/account/usage/record.d.ts +273 -0
- package/lib/rest/api/v2010/account/usage/record.js +230 -0
- package/lib/rest/api/v2010/account/usage/trigger.d.ts +383 -0
- package/lib/rest/api/v2010/account/usage/trigger.js +302 -0
- package/lib/rest/api/v2010/account/usage.d.ts +23 -0
- package/lib/rest/api/v2010/account/usage.js +55 -0
- package/lib/rest/api/v2010/account/validationRequest.d.ts +88 -0
- package/lib/rest/api/v2010/account/validationRequest.js +96 -0
- package/lib/rest/api/v2010/account.d.ts +509 -0
- package/lib/rest/api/v2010/account.js +546 -0
- package/lib/rest/autopilot/V1.d.ts +20 -0
- package/lib/rest/autopilot/V1.js +43 -0
- package/lib/rest/autopilot/v1/assistant/defaults.d.ts +143 -0
- package/lib/rest/autopilot/v1/assistant/defaults.js +142 -0
- package/lib/rest/autopilot/v1/assistant/dialogue.d.ts +108 -0
- package/lib/rest/autopilot/v1/assistant/dialogue.js +120 -0
- package/lib/rest/autopilot/v1/assistant/fieldType/fieldValue.d.ts +288 -0
- package/lib/rest/autopilot/v1/assistant/fieldType/fieldValue.js +249 -0
- package/lib/rest/autopilot/v1/assistant/fieldType.d.ts +324 -0
- package/lib/rest/autopilot/v1/assistant/fieldType.js +277 -0
- package/lib/rest/autopilot/v1/assistant/modelBuild.d.ts +326 -0
- package/lib/rest/autopilot/v1/assistant/modelBuild.js +266 -0
- package/lib/rest/autopilot/v1/assistant/query.d.ts +374 -0
- package/lib/rest/autopilot/v1/assistant/query.js +288 -0
- package/lib/rest/autopilot/v1/assistant/styleSheet.d.ts +143 -0
- package/lib/rest/autopilot/v1/assistant/styleSheet.js +142 -0
- package/lib/rest/autopilot/v1/assistant/task/field.d.ts +274 -0
- package/lib/rest/autopilot/v1/assistant/task/field.js +243 -0
- package/lib/rest/autopilot/v1/assistant/task/sample.d.ts +334 -0
- package/lib/rest/autopilot/v1/assistant/task/sample.js +280 -0
- package/lib/rest/autopilot/v1/assistant/task/taskActions.d.ts +151 -0
- package/lib/rest/autopilot/v1/assistant/task/taskActions.js +150 -0
- package/lib/rest/autopilot/v1/assistant/task/taskStatistics.d.ts +115 -0
- package/lib/rest/autopilot/v1/assistant/task/taskStatistics.js +125 -0
- package/lib/rest/autopilot/v1/assistant/task.d.ts +362 -0
- package/lib/rest/autopilot/v1/assistant/task.js +326 -0
- package/lib/rest/autopilot/v1/assistant/webhook.d.ts +330 -0
- package/lib/rest/autopilot/v1/assistant/webhook.js +278 -0
- package/lib/rest/autopilot/v1/assistant.d.ts +438 -0
- package/lib/rest/autopilot/v1/assistant.js +392 -0
- package/lib/rest/autopilot/v1/restoreAssistant.d.ts +119 -0
- package/lib/rest/autopilot/v1/restoreAssistant.js +96 -0
- package/lib/rest/bulkexports/V1.d.ts +20 -0
- package/lib/rest/bulkexports/V1.js +43 -0
- package/lib/rest/bulkexports/v1/export/day.d.ts +216 -0
- package/lib/rest/bulkexports/v1/export/day.js +187 -0
- package/lib/rest/bulkexports/v1/export/exportCustomJob.d.ts +229 -0
- package/lib/rest/bulkexports/v1/export/exportCustomJob.js +178 -0
- package/lib/rest/bulkexports/v1/export/job.d.ts +162 -0
- package/lib/rest/bulkexports/v1/export/job.js +146 -0
- package/lib/rest/bulkexports/v1/export.d.ts +113 -0
- package/lib/rest/bulkexports/v1/export.js +144 -0
- package/lib/rest/bulkexports/v1/exportConfiguration.d.ts +152 -0
- package/lib/rest/bulkexports/v1/exportConfiguration.js +145 -0
- package/lib/rest/chat/V1.d.ts +20 -0
- package/lib/rest/chat/V1.js +42 -0
- package/lib/rest/chat/V2.d.ts +20 -0
- package/lib/rest/chat/V2.js +42 -0
- package/lib/rest/chat/V3.d.ts +15 -0
- package/lib/rest/chat/V3.js +36 -0
- package/lib/rest/chat/v1/credential.d.ts +324 -0
- package/lib/rest/chat/v1/credential.js +274 -0
- package/lib/rest/chat/v1/service/channel/invite.d.ts +286 -0
- package/lib/rest/chat/v1/service/channel/invite.js +245 -0
- package/lib/rest/chat/v1/service/channel/member.d.ts +336 -0
- package/lib/rest/chat/v1/service/channel/member.js +276 -0
- package/lib/rest/chat/v1/service/channel/message.d.ts +351 -0
- package/lib/rest/chat/v1/service/channel/message.js +282 -0
- package/lib/rest/chat/v1/service/channel.d.ts +388 -0
- package/lib/rest/chat/v1/service/channel.js +323 -0
- package/lib/rest/chat/v1/service/role.d.ts +298 -0
- package/lib/rest/chat/v1/service/role.js +267 -0
- package/lib/rest/chat/v1/service/user/userChannel.d.ts +184 -0
- package/lib/rest/chat/v1/service/user/userChannel.js +139 -0
- package/lib/rest/chat/v1/service/user.d.ts +360 -0
- package/lib/rest/chat/v1/service/user.js +293 -0
- package/lib/rest/chat/v1/service.d.ts +512 -0
- package/lib/rest/chat/v1/service.js +454 -0
- package/lib/rest/chat/v2/credential.d.ts +324 -0
- package/lib/rest/chat/v2/credential.js +274 -0
- package/lib/rest/chat/v2/service/binding.d.ts +282 -0
- package/lib/rest/chat/v2/service/binding.js +222 -0
- package/lib/rest/chat/v2/service/channel/invite.d.ts +286 -0
- package/lib/rest/chat/v2/service/channel/invite.js +245 -0
- package/lib/rest/chat/v2/service/channel/member.d.ts +390 -0
- package/lib/rest/chat/v2/service/channel/member.js +306 -0
- package/lib/rest/chat/v2/service/channel/message.d.ts +423 -0
- package/lib/rest/chat/v2/service/channel/message.js +316 -0
- package/lib/rest/chat/v2/service/channel/webhook.d.ts +338 -0
- package/lib/rest/chat/v2/service/channel/webhook.js +288 -0
- package/lib/rest/chat/v2/service/channel.d.ts +438 -0
- package/lib/rest/chat/v2/service/channel.js +358 -0
- package/lib/rest/chat/v2/service/role.d.ts +298 -0
- package/lib/rest/chat/v2/service/role.js +267 -0
- package/lib/rest/chat/v2/service/user/userBinding.d.ts +278 -0
- package/lib/rest/chat/v2/service/user/userBinding.js +226 -0
- package/lib/rest/chat/v2/service/user/userChannel.d.ts +336 -0
- package/lib/rest/chat/v2/service/user/userChannel.js +263 -0
- package/lib/rest/chat/v2/service/user.d.ts +373 -0
- package/lib/rest/chat/v2/service/user.js +310 -0
- package/lib/rest/chat/v2/service.d.ts +486 -0
- package/lib/rest/chat/v2/service.js +401 -0
- package/lib/rest/chat/v3/channel.d.ts +189 -0
- package/lib/rest/chat/v3/channel.js +149 -0
- package/lib/rest/content/V1.d.ts +15 -0
- package/lib/rest/content/V1.js +36 -0
- package/lib/rest/content/v1/content/approvalFetch.d.ts +101 -0
- package/lib/rest/content/v1/content/approvalFetch.js +115 -0
- package/lib/rest/content/v1/content.d.ts +266 -0
- package/lib/rest/content/v1/content.js +221 -0
- package/lib/rest/conversations/V1.d.ts +50 -0
- package/lib/rest/conversations/V1.js +82 -0
- package/lib/rest/conversations/v1/addressConfiguration.d.ts +355 -0
- package/lib/rest/conversations/v1/addressConfiguration.js +298 -0
- package/lib/rest/conversations/v1/configuration/webhook.d.ts +163 -0
- package/lib/rest/conversations/v1/configuration/webhook.js +147 -0
- package/lib/rest/conversations/v1/configuration.d.ts +168 -0
- package/lib/rest/conversations/v1/configuration.js +155 -0
- package/lib/rest/conversations/v1/conversation/message/deliveryReceipt.d.ts +249 -0
- package/lib/rest/conversations/v1/conversation/message/deliveryReceipt.js +203 -0
- package/lib/rest/conversations/v1/conversation/message.d.ts +423 -0
- package/lib/rest/conversations/v1/conversation/message.js +321 -0
- package/lib/rest/conversations/v1/conversation/participant.d.ts +398 -0
- package/lib/rest/conversations/v1/conversation/participant.js +312 -0
- package/lib/rest/conversations/v1/conversation/webhook.d.ts +328 -0
- package/lib/rest/conversations/v1/conversation/webhook.js +278 -0
- package/lib/rest/conversations/v1/conversation.d.ts +429 -0
- package/lib/rest/conversations/v1/conversation.js +345 -0
- package/lib/rest/conversations/v1/credential.d.ts +326 -0
- package/lib/rest/conversations/v1/credential.js +276 -0
- package/lib/rest/conversations/v1/participantConversation.d.ts +242 -0
- package/lib/rest/conversations/v1/participantConversation.js +152 -0
- package/lib/rest/conversations/v1/role.d.ts +296 -0
- package/lib/rest/conversations/v1/role.js +260 -0
- package/lib/rest/conversations/v1/service/binding.d.ts +276 -0
- package/lib/rest/conversations/v1/service/binding.js +220 -0
- package/lib/rest/conversations/v1/service/configuration/notification.d.ts +185 -0
- package/lib/rest/conversations/v1/service/configuration/notification.js +176 -0
- package/lib/rest/conversations/v1/service/configuration/webhook.d.ts +165 -0
- package/lib/rest/conversations/v1/service/configuration/webhook.js +154 -0
- package/lib/rest/conversations/v1/service/configuration.d.ts +173 -0
- package/lib/rest/conversations/v1/service/configuration.js +174 -0
- package/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.d.ts +257 -0
- package/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.js +216 -0
- package/lib/rest/conversations/v1/service/conversation/message.d.ts +431 -0
- package/lib/rest/conversations/v1/service/conversation/message.js +329 -0
- package/lib/rest/conversations/v1/service/conversation/participant.d.ts +406 -0
- package/lib/rest/conversations/v1/service/conversation/participant.js +320 -0
- package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +336 -0
- package/lib/rest/conversations/v1/service/conversation/webhook.js +286 -0
- package/lib/rest/conversations/v1/service/conversation.d.ts +431 -0
- package/lib/rest/conversations/v1/service/conversation.js +353 -0
- package/lib/rest/conversations/v1/service/participantConversation.d.ts +243 -0
- package/lib/rest/conversations/v1/service/participantConversation.js +156 -0
- package/lib/rest/conversations/v1/service/role.d.ts +298 -0
- package/lib/rest/conversations/v1/service/role.js +267 -0
- package/lib/rest/conversations/v1/service/user/userConversation.d.ts +349 -0
- package/lib/rest/conversations/v1/service/user/userConversation.js +271 -0
- package/lib/rest/conversations/v1/service/user.d.ts +381 -0
- package/lib/rest/conversations/v1/service/user.js +301 -0
- package/lib/rest/conversations/v1/service.d.ts +304 -0
- package/lib/rest/conversations/v1/service.js +299 -0
- package/lib/rest/conversations/v1/user/userConversation.d.ts +347 -0
- package/lib/rest/conversations/v1/user/userConversation.js +264 -0
- package/lib/rest/conversations/v1/user.d.ts +379 -0
- package/lib/rest/conversations/v1/user.js +294 -0
- package/lib/rest/events/V1.d.ts +30 -0
- package/lib/rest/events/V1.js +54 -0
- package/lib/rest/events/v1/eventType.d.ts +226 -0
- package/lib/rest/events/v1/eventType.js +185 -0
- package/lib/rest/events/v1/schema/schemaVersion.d.ts +210 -0
- package/lib/rest/events/v1/schema/schemaVersion.js +185 -0
- package/lib/rest/events/v1/schema.d.ts +114 -0
- package/lib/rest/events/v1/schema.js +126 -0
- package/lib/rest/events/v1/sink/sinkTest.d.ts +46 -0
- package/lib/rest/events/v1/sink/sinkTest.js +66 -0
- package/lib/rest/events/v1/sink/sinkValidate.d.ts +54 -0
- package/lib/rest/events/v1/sink/sinkValidate.js +78 -0
- package/lib/rest/events/v1/sink.d.ts +322 -0
- package/lib/rest/events/v1/sink.js +289 -0
- package/lib/rest/events/v1/subscription/subscribedEvent.d.ts +290 -0
- package/lib/rest/events/v1/subscription/subscribedEvent.js +254 -0
- package/lib/rest/events/v1/subscription.d.ts +324 -0
- package/lib/rest/events/v1/subscription.js +277 -0
- package/lib/rest/flexApi/V1.d.ts +70 -0
- package/lib/rest/flexApi/V1.js +113 -0
- package/lib/rest/flexApi/V2.d.ts +15 -0
- package/lib/rest/flexApi/V2.js +36 -0
- package/lib/rest/flexApi/v1/assessments.d.ts +81 -0
- package/lib/rest/flexApi/v1/assessments.js +100 -0
- package/lib/rest/flexApi/v1/channel.d.ts +280 -0
- package/lib/rest/flexApi/v1/channel.js +251 -0
- package/lib/rest/flexApi/v1/configuration.d.ts +368 -0
- package/lib/rest/flexApi/v1/configuration.js +195 -0
- package/lib/rest/flexApi/v1/flexFlow.d.ts +406 -0
- package/lib/rest/flexApi/v1/flexFlow.js +336 -0
- package/lib/rest/flexApi/v1/insightsQuestionnairesCategory.d.ts +168 -0
- package/lib/rest/flexApi/v1/insightsQuestionnairesCategory.js +167 -0
- package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.d.ts +208 -0
- package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.js +205 -0
- package/lib/rest/flexApi/v1/insightsSession.d.ts +130 -0
- package/lib/rest/flexApi/v1/insightsSession.js +115 -0
- package/lib/rest/flexApi/v1/insightsSettingsAnswerSets.d.ts +82 -0
- package/lib/rest/flexApi/v1/insightsSettingsAnswerSets.js +83 -0
- package/lib/rest/flexApi/v1/insightsSettingsComment.d.ts +67 -0
- package/lib/rest/flexApi/v1/insightsSettingsComment.js +79 -0
- package/lib/rest/flexApi/v1/insightsUserRoles.d.ts +109 -0
- package/lib/rest/flexApi/v1/insightsUserRoles.js +109 -0
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.d.ts +181 -0
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.js +154 -0
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +238 -0
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.js +222 -0
- package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +266 -0
- package/lib/rest/flexApi/v1/interaction/interactionChannel.js +244 -0
- package/lib/rest/flexApi/v1/interaction.d.ts +126 -0
- package/lib/rest/flexApi/v1/interaction.js +152 -0
- package/lib/rest/flexApi/v1/webChannel.d.ts +305 -0
- package/lib/rest/flexApi/v1/webChannel.js +268 -0
- package/lib/rest/flexApi/v2/webChannels.d.ts +65 -0
- package/lib/rest/flexApi/v2/webChannels.js +82 -0
- package/lib/rest/frontlineApi/V1.d.ts +15 -0
- package/lib/rest/frontlineApi/V1.js +36 -0
- package/lib/rest/frontlineApi/v1/user.d.ts +164 -0
- package/lib/rest/frontlineApi/v1/user.js +150 -0
- package/lib/rest/insights/V1.d.ts +35 -0
- package/lib/rest/insights/V1.js +61 -0
- package/lib/rest/insights/v1/call/annotation.d.ts +187 -0
- package/lib/rest/insights/v1/call/annotation.js +166 -0
- package/lib/rest/insights/v1/call/callSummary.d.ts +175 -0
- package/lib/rest/insights/v1/call/callSummary.js +159 -0
- package/lib/rest/insights/v1/call/event.d.ts +178 -0
- package/lib/rest/insights/v1/call/event.js +144 -0
- package/lib/rest/insights/v1/call/metric.d.ts +178 -0
- package/lib/rest/insights/v1/call/metric.js +142 -0
- package/lib/rest/insights/v1/call.d.ts +117 -0
- package/lib/rest/insights/v1/call.js +159 -0
- package/lib/rest/insights/v1/callSummaries.d.ts +316 -0
- package/lib/rest/insights/v1/callSummaries.js +196 -0
- package/lib/rest/insights/v1/conference/conferenceParticipant.d.ts +375 -0
- package/lib/rest/insights/v1/conference/conferenceParticipant.js +246 -0
- package/lib/rest/insights/v1/conference.d.ts +377 -0
- package/lib/rest/insights/v1/conference.js +248 -0
- package/lib/rest/insights/v1/room/participant.d.ts +280 -0
- package/lib/rest/insights/v1/room/participant.js +212 -0
- package/lib/rest/insights/v1/room.d.ts +363 -0
- package/lib/rest/insights/v1/room.js +244 -0
- package/lib/rest/insights/v1/setting.d.ts +158 -0
- package/lib/rest/insights/v1/setting.js +143 -0
- package/lib/rest/ipMessaging/V1.d.ts +20 -0
- package/lib/rest/ipMessaging/V1.js +42 -0
- package/lib/rest/ipMessaging/V2.d.ts +20 -0
- package/lib/rest/ipMessaging/V2.js +42 -0
- package/lib/rest/ipMessaging/v1/credential.d.ts +303 -0
- package/lib/rest/ipMessaging/v1/credential.js +274 -0
- package/lib/rest/ipMessaging/v1/service/channel/invite.d.ts +256 -0
- package/lib/rest/ipMessaging/v1/service/channel/invite.js +245 -0
- package/lib/rest/ipMessaging/v1/service/channel/member.d.ts +303 -0
- package/lib/rest/ipMessaging/v1/service/channel/member.js +276 -0
- package/lib/rest/ipMessaging/v1/service/channel/message.d.ts +312 -0
- package/lib/rest/ipMessaging/v1/service/channel/message.js +282 -0
- package/lib/rest/ipMessaging/v1/service/channel.d.ts +349 -0
- package/lib/rest/ipMessaging/v1/service/channel.js +323 -0
- package/lib/rest/ipMessaging/v1/service/role.d.ts +274 -0
- package/lib/rest/ipMessaging/v1/service/role.js +267 -0
- package/lib/rest/ipMessaging/v1/service/user/userChannel.d.ts +163 -0
- package/lib/rest/ipMessaging/v1/service/user/userChannel.js +139 -0
- package/lib/rest/ipMessaging/v1/service/user.d.ts +318 -0
- package/lib/rest/ipMessaging/v1/service/user.js +293 -0
- package/lib/rest/ipMessaging/v1/service.d.ts +449 -0
- package/lib/rest/ipMessaging/v1/service.js +454 -0
- package/lib/rest/ipMessaging/v2/credential.d.ts +303 -0
- package/lib/rest/ipMessaging/v2/credential.js +274 -0
- package/lib/rest/ipMessaging/v2/service/binding.d.ts +249 -0
- package/lib/rest/ipMessaging/v2/service/binding.js +222 -0
- package/lib/rest/ipMessaging/v2/service/channel/invite.d.ts +256 -0
- package/lib/rest/ipMessaging/v2/service/channel/invite.js +245 -0
- package/lib/rest/ipMessaging/v2/service/channel/member.d.ts +354 -0
- package/lib/rest/ipMessaging/v2/service/channel/member.js +306 -0
- package/lib/rest/ipMessaging/v2/service/channel/message.d.ts +375 -0
- package/lib/rest/ipMessaging/v2/service/channel/message.js +316 -0
- package/lib/rest/ipMessaging/v2/service/channel/webhook.d.ts +311 -0
- package/lib/rest/ipMessaging/v2/service/channel/webhook.js +288 -0
- package/lib/rest/ipMessaging/v2/service/channel.d.ts +399 -0
- package/lib/rest/ipMessaging/v2/service/channel.js +358 -0
- package/lib/rest/ipMessaging/v2/service/role.d.ts +274 -0
- package/lib/rest/ipMessaging/v2/service/role.js +267 -0
- package/lib/rest/ipMessaging/v2/service/user/userBinding.d.ts +245 -0
- package/lib/rest/ipMessaging/v2/service/user/userBinding.js +226 -0
- package/lib/rest/ipMessaging/v2/service/user/userChannel.d.ts +283 -0
- package/lib/rest/ipMessaging/v2/service/user/userChannel.js +257 -0
- package/lib/rest/ipMessaging/v2/service/user.d.ts +331 -0
- package/lib/rest/ipMessaging/v2/service/user.js +310 -0
- package/lib/rest/ipMessaging/v2/service.d.ts +417 -0
- package/lib/rest/ipMessaging/v2/service.js +401 -0
- package/lib/rest/lookups/V1.d.ts +15 -0
- package/lib/rest/lookups/V1.js +36 -0
- package/lib/rest/lookups/V2.d.ts +15 -0
- package/lib/rest/lookups/V2.js +36 -0
- package/lib/rest/lookups/v1/phoneNumber.d.ts +149 -0
- package/lib/rest/lookups/v1/phoneNumber.js +133 -0
- package/lib/rest/lookups/v2/phoneNumber.d.ts +202 -0
- package/lib/rest/lookups/v2/phoneNumber.js +158 -0
- package/lib/rest/media/V1.d.ts +25 -0
- package/lib/rest/media/V1.js +51 -0
- package/lib/rest/media/v1/mediaProcessor.d.ts +318 -0
- package/lib/rest/media/v1/mediaProcessor.js +256 -0
- package/lib/rest/media/v1/mediaRecording.d.ts +310 -0
- package/lib/rest/media/v1/mediaRecording.js +226 -0
- package/lib/rest/media/v1/playerStreamer/playbackGrant.d.ts +151 -0
- package/lib/rest/media/v1/playerStreamer/playbackGrant.js +146 -0
- package/lib/rest/media/v1/playerStreamer.d.ts +328 -0
- package/lib/rest/media/v1/playerStreamer.js +264 -0
- package/lib/rest/messaging/V1.d.ts +50 -0
- package/lib/rest/messaging/V1.js +82 -0
- package/lib/rest/messaging/v1/brandRegistration/brandVetting.d.ts +265 -0
- package/lib/rest/messaging/v1/brandRegistration/brandVetting.js +224 -0
- package/lib/rest/messaging/v1/brandRegistration.d.ts +344 -0
- package/lib/rest/messaging/v1/brandRegistration.js +275 -0
- package/lib/rest/messaging/v1/deactivations.d.ts +106 -0
- package/lib/rest/messaging/v1/deactivations.js +107 -0
- package/lib/rest/messaging/v1/domainCerts.d.ts +164 -0
- package/lib/rest/messaging/v1/domainCerts.js +164 -0
- package/lib/rest/messaging/v1/domainConfig.d.ts +153 -0
- package/lib/rest/messaging/v1/domainConfig.js +152 -0
- package/lib/rest/messaging/v1/externalCampaign.d.ts +79 -0
- package/lib/rest/messaging/v1/externalCampaign.js +87 -0
- package/lib/rest/messaging/v1/service/alphaSender.d.ts +264 -0
- package/lib/rest/messaging/v1/service/alphaSender.js +231 -0
- package/lib/rest/messaging/v1/service/phoneNumber.d.ts +270 -0
- package/lib/rest/messaging/v1/service/phoneNumber.js +234 -0
- package/lib/rest/messaging/v1/service/shortCode.d.ts +270 -0
- package/lib/rest/messaging/v1/service/shortCode.js +234 -0
- package/lib/rest/messaging/v1/service/usAppToPerson.d.ts +384 -0
- package/lib/rest/messaging/v1/service/usAppToPerson.js +304 -0
- package/lib/rest/messaging/v1/service/usAppToPersonUsecase.d.ts +62 -0
- package/lib/rest/messaging/v1/service/usAppToPersonUsecase.js +79 -0
- package/lib/rest/messaging/v1/service.d.ts +494 -0
- package/lib/rest/messaging/v1/service.js +408 -0
- package/lib/rest/messaging/v1/tollfreeVerification.d.ts +521 -0
- package/lib/rest/messaging/v1/tollfreeVerification.js +396 -0
- package/lib/rest/messaging/v1/usecase.d.ts +45 -0
- package/lib/rest/messaging/v1/usecase.js +62 -0
- package/lib/rest/microvisor/V1.d.ts +20 -0
- package/lib/rest/microvisor/V1.js +42 -0
- package/lib/rest/microvisor/v1/app.d.ts +240 -0
- package/lib/rest/microvisor/v1/app.js +201 -0
- package/lib/rest/microvisor/v1/device.d.ts +281 -0
- package/lib/rest/microvisor/v1/device.js +217 -0
- package/lib/rest/monitor/V1.d.ts +20 -0
- package/lib/rest/monitor/V1.js +42 -0
- package/lib/rest/monitor/v1/alert.d.ts +314 -0
- package/lib/rest/monitor/v1/alert.js +212 -0
- package/lib/rest/monitor/v1/event.d.ts +301 -0
- package/lib/rest/monitor/v1/event.js +208 -0
- package/lib/rest/notify/V1.d.ts +20 -0
- package/lib/rest/notify/V1.js +42 -0
- package/lib/rest/notify/v1/credential.d.ts +324 -0
- package/lib/rest/notify/v1/credential.js +274 -0
- package/lib/rest/notify/v1/service/binding.d.ts +337 -0
- package/lib/rest/notify/v1/service/binding.js +268 -0
- package/lib/rest/notify/v1/service/notification.d.ts +208 -0
- package/lib/rest/notify/v1/service/notification.js +152 -0
- package/lib/rest/notify/v1/service.d.ts +458 -0
- package/lib/rest/notify/v1/service.js +369 -0
- package/lib/rest/numbers/V2.d.ts +15 -0
- package/lib/rest/numbers/V2.js +37 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.d.ts +219 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.js +163 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +231 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.js +200 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/itemAssignment.d.ts +252 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/itemAssignment.js +227 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.d.ts +106 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.js +97 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle.d.ts +445 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle.js +354 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +308 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/endUser.js +261 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/endUserType.d.ts +211 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/endUserType.js +179 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +239 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/regulation.js +189 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +326 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.js +267 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.d.ts +211 -0
- package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.js +179 -0
- package/lib/rest/numbers/v2/regulatoryCompliance.d.ts +34 -0
- package/lib/rest/numbers/v2/regulatoryCompliance.js +87 -0
- package/lib/rest/oauth/V1.d.ts +35 -0
- package/lib/rest/oauth/V1.js +61 -0
- package/lib/rest/oauth/v1/deviceCode.d.ts +87 -0
- package/lib/rest/oauth/v1/deviceCode.js +90 -0
- package/lib/rest/oauth/v1/oauth.d.ts +84 -0
- package/lib/rest/oauth/v1/oauth.js +102 -0
- package/lib/rest/oauth/v1/openidDiscovery.d.ts +150 -0
- package/lib/rest/oauth/v1/openidDiscovery.js +126 -0
- package/lib/rest/oauth/v1/token.d.ts +88 -0
- package/lib/rest/oauth/v1/token.js +98 -0
- package/lib/rest/oauth/v1/userInfo.d.ts +108 -0
- package/lib/rest/oauth/v1/userInfo.js +110 -0
- package/lib/rest/preview/DeployedDevices.d.ts +15 -0
- package/lib/rest/preview/DeployedDevices.js +36 -0
- package/lib/rest/preview/HostedNumbers.d.ts +20 -0
- package/lib/rest/preview/HostedNumbers.js +44 -0
- package/lib/rest/preview/Marketplace.d.ts +20 -0
- package/lib/rest/preview/Marketplace.js +44 -0
- package/lib/rest/preview/Sync.d.ts +15 -0
- package/lib/rest/preview/Sync.js +36 -0
- package/lib/rest/preview/Understand.d.ts +15 -0
- package/lib/rest/preview/Understand.js +36 -0
- package/lib/rest/preview/Wireless.d.ts +25 -0
- package/lib/rest/preview/Wireless.js +48 -0
- package/lib/rest/preview/deployed_devices/fleet/certificate.d.ts +324 -0
- package/lib/rest/preview/deployed_devices/fleet/certificate.js +269 -0
- package/lib/rest/preview/deployed_devices/fleet/deployment.d.ts +318 -0
- package/lib/rest/preview/deployed_devices/fleet/deployment.js +264 -0
- package/lib/rest/preview/deployed_devices/fleet/device.d.ts +358 -0
- package/lib/rest/preview/deployed_devices/fleet/device.js +284 -0
- package/lib/rest/preview/deployed_devices/fleet/key.d.ts +330 -0
- package/lib/rest/preview/deployed_devices/fleet/key.js +268 -0
- package/lib/rest/preview/deployed_devices/fleet.d.ts +352 -0
- package/lib/rest/preview/deployed_devices/fleet.js +307 -0
- package/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.d.ts +293 -0
- package/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.js +174 -0
- package/lib/rest/preview/hosted_numbers/authorizationDocument.d.ts +327 -0
- package/lib/rest/preview/hosted_numbers/authorizationDocument.js +285 -0
- package/lib/rest/preview/hosted_numbers/hostedNumberOrder.d.ts +468 -0
- package/lib/rest/preview/hosted_numbers/hostedNumberOrder.js +345 -0
- package/lib/rest/preview/marketplace/availableAddOn/availableAddOnExtension.d.ts +219 -0
- package/lib/rest/preview/marketplace/availableAddOn/availableAddOnExtension.js +187 -0
- package/lib/rest/preview/marketplace/availableAddOn.d.ts +231 -0
- package/lib/rest/preview/marketplace/availableAddOn.js +196 -0
- package/lib/rest/preview/marketplace/installedAddOn/installedAddOnExtension.d.ts +251 -0
- package/lib/rest/preview/marketplace/installedAddOn/installedAddOnExtension.js +214 -0
- package/lib/rest/preview/marketplace/installedAddOn.d.ts +332 -0
- package/lib/rest/preview/marketplace/installedAddOn.js +281 -0
- package/lib/rest/preview/sync/service/document/documentPermission.d.ts +280 -0
- package/lib/rest/preview/sync/service/document/documentPermission.js +253 -0
- package/lib/rest/preview/sync/service/document.d.ts +295 -0
- package/lib/rest/preview/sync/service/document.js +281 -0
- package/lib/rest/preview/sync/service/syncList/syncListItem.d.ts +321 -0
- package/lib/rest/preview/sync/service/syncList/syncListItem.js +280 -0
- package/lib/rest/preview/sync/service/syncList/syncListPermission.d.ts +280 -0
- package/lib/rest/preview/sync/service/syncList/syncListPermission.js +253 -0
- package/lib/rest/preview/sync/service/syncList.d.ts +270 -0
- package/lib/rest/preview/sync/service/syncList.js +263 -0
- package/lib/rest/preview/sync/service/syncMap/syncMapItem.d.ts +323 -0
- package/lib/rest/preview/sync/service/syncMap/syncMapItem.js +284 -0
- package/lib/rest/preview/sync/service/syncMap/syncMapPermission.d.ts +280 -0
- package/lib/rest/preview/sync/service/syncMap/syncMapPermission.js +253 -0
- package/lib/rest/preview/sync/service/syncMap.d.ts +270 -0
- package/lib/rest/preview/sync/service/syncMap.js +263 -0
- package/lib/rest/preview/sync/service.d.ts +330 -0
- package/lib/rest/preview/sync/service.js +308 -0
- package/lib/rest/preview/understand/assistant/assistantFallbackActions.d.ts +131 -0
- package/lib/rest/preview/understand/assistant/assistantFallbackActions.js +142 -0
- package/lib/rest/preview/understand/assistant/assistantInitiationActions.d.ts +131 -0
- package/lib/rest/preview/understand/assistant/assistantInitiationActions.js +142 -0
- package/lib/rest/preview/understand/assistant/dialogue.d.ts +105 -0
- package/lib/rest/preview/understand/assistant/dialogue.js +120 -0
- package/lib/rest/preview/understand/assistant/fieldType/fieldValue.d.ts +285 -0
- package/lib/rest/preview/understand/assistant/fieldType/fieldValue.js +249 -0
- package/lib/rest/preview/understand/assistant/fieldType.d.ts +318 -0
- package/lib/rest/preview/understand/assistant/fieldType.js +277 -0
- package/lib/rest/preview/understand/assistant/modelBuild.d.ts +320 -0
- package/lib/rest/preview/understand/assistant/modelBuild.js +266 -0
- package/lib/rest/preview/understand/assistant/query.d.ts +361 -0
- package/lib/rest/preview/understand/assistant/query.js +286 -0
- package/lib/rest/preview/understand/assistant/styleSheet.d.ts +140 -0
- package/lib/rest/preview/understand/assistant/styleSheet.js +142 -0
- package/lib/rest/preview/understand/assistant/task/field.d.ts +271 -0
- package/lib/rest/preview/understand/assistant/task/field.js +243 -0
- package/lib/rest/preview/understand/assistant/task/sample.d.ts +331 -0
- package/lib/rest/preview/understand/assistant/task/sample.js +280 -0
- package/lib/rest/preview/understand/assistant/task/taskActions.d.ts +145 -0
- package/lib/rest/preview/understand/assistant/task/taskActions.js +150 -0
- package/lib/rest/preview/understand/assistant/task/taskStatistics.d.ts +112 -0
- package/lib/rest/preview/understand/assistant/task/taskStatistics.js +125 -0
- package/lib/rest/preview/understand/assistant/task.d.ts +356 -0
- package/lib/rest/preview/understand/assistant/task.js +326 -0
- package/lib/rest/preview/understand/assistant.d.ts +422 -0
- package/lib/rest/preview/understand/assistant.js +392 -0
- package/lib/rest/preview/wireless/command.d.ts +266 -0
- package/lib/rest/preview/wireless/command.js +232 -0
- package/lib/rest/preview/wireless/ratePlan.d.ts +326 -0
- package/lib/rest/preview/wireless/ratePlan.js +286 -0
- package/lib/rest/preview/wireless/sim/usage.d.ts +131 -0
- package/lib/rest/preview/wireless/sim/usage.js +133 -0
- package/lib/rest/preview/wireless/sim.d.ts +361 -0
- package/lib/rest/preview/wireless/sim.js +291 -0
- package/lib/rest/pricing/V1.d.ts +25 -0
- package/lib/rest/pricing/V1.js +48 -0
- package/lib/rest/pricing/V2.d.ts +25 -0
- package/lib/rest/pricing/V2.js +48 -0
- package/lib/rest/pricing/v1/messaging/country.d.ts +233 -0
- package/lib/rest/pricing/v1/messaging/country.js +190 -0
- package/lib/rest/pricing/v1/messaging.d.ts +19 -0
- package/lib/rest/pricing/v1/messaging.js +42 -0
- package/lib/rest/pricing/v1/phoneNumber/country.d.ts +216 -0
- package/lib/rest/pricing/v1/phoneNumber/country.js +182 -0
- package/lib/rest/pricing/v1/phoneNumber.d.ts +19 -0
- package/lib/rest/pricing/v1/phoneNumber.js +42 -0
- package/lib/rest/pricing/v1/voice/country.d.ts +228 -0
- package/lib/rest/pricing/v1/voice/country.js +187 -0
- package/lib/rest/pricing/v1/voice/number.d.ts +127 -0
- package/lib/rest/pricing/v1/voice/number.js +130 -0
- package/lib/rest/pricing/v1/voice.d.ts +22 -0
- package/lib/rest/pricing/v1/voice.js +51 -0
- package/lib/rest/pricing/v2/country.d.ts +229 -0
- package/lib/rest/pricing/v2/country.js +187 -0
- package/lib/rest/pricing/v2/number.d.ts +158 -0
- package/lib/rest/pricing/v2/number.js +137 -0
- package/lib/rest/pricing/v2/voice/country.d.ts +229 -0
- package/lib/rest/pricing/v2/voice/country.js +187 -0
- package/lib/rest/pricing/v2/voice/number.d.ts +159 -0
- package/lib/rest/pricing/v2/voice/number.js +137 -0
- package/lib/rest/pricing/v2/voice.d.ts +22 -0
- package/lib/rest/pricing/v2/voice.js +51 -0
- package/lib/rest/proxy/V1.d.ts +15 -0
- package/lib/rest/proxy/V1.js +36 -0
- package/lib/rest/proxy/v1/service/phoneNumber.d.ts +340 -0
- package/lib/rest/proxy/v1/service/phoneNumber.js +272 -0
- package/lib/rest/proxy/v1/service/session/interaction.d.ts +309 -0
- package/lib/rest/proxy/v1/service/session/interaction.js +238 -0
- package/lib/rest/proxy/v1/service/session/participant/messageInteraction.d.ts +326 -0
- package/lib/rest/proxy/v1/service/session/participant/messageInteraction.js +257 -0
- package/lib/rest/proxy/v1/service/session/participant.d.ts +310 -0
- package/lib/rest/proxy/v1/service/session/participant.js +266 -0
- package/lib/rest/proxy/v1/service/session.d.ts +388 -0
- package/lib/rest/proxy/v1/service/session.js +316 -0
- package/lib/rest/proxy/v1/service/shortCode.d.ts +316 -0
- package/lib/rest/proxy/v1/service/shortCode.js +262 -0
- package/lib/rest/proxy/v1/service.d.ts +388 -0
- package/lib/rest/proxy/v1/service.js +330 -0
- package/lib/rest/routes/V2.d.ts +25 -0
- package/lib/rest/routes/V2.js +48 -0
- package/lib/rest/routes/v2/phoneNumber.d.ts +168 -0
- package/lib/rest/routes/v2/phoneNumber.js +149 -0
- package/lib/rest/routes/v2/sipDomain.d.ts +144 -0
- package/lib/rest/routes/v2/sipDomain.js +149 -0
- package/lib/rest/routes/v2/trunk.d.ts +168 -0
- package/lib/rest/routes/v2/trunk.js +149 -0
- package/lib/rest/serverless/V1.d.ts +15 -0
- package/lib/rest/serverless/V1.js +36 -0
- package/lib/rest/serverless/v1/service/asset/assetVersion.d.ts +231 -0
- package/lib/rest/serverless/v1/service/asset/assetVersion.js +197 -0
- package/lib/rest/serverless/v1/service/asset.d.ts +298 -0
- package/lib/rest/serverless/v1/service/asset.js +271 -0
- package/lib/rest/serverless/v1/service/build/buildStatus.d.ts +107 -0
- package/lib/rest/serverless/v1/service/build/buildStatus.js +123 -0
- package/lib/rest/serverless/v1/service/build.d.ts +303 -0
- package/lib/rest/serverless/v1/service/build.js +260 -0
- package/lib/rest/serverless/v1/service/environment/deployment.d.ts +257 -0
- package/lib/rest/serverless/v1/service/environment/deployment.js +220 -0
- package/lib/rest/serverless/v1/service/environment/log.d.ts +273 -0
- package/lib/rest/serverless/v1/service/environment/log.js +211 -0
- package/lib/rest/serverless/v1/service/environment/variable.d.ts +318 -0
- package/lib/rest/serverless/v1/service/environment/variable.js +272 -0
- package/lib/rest/serverless/v1/service/environment.d.ts +308 -0
- package/lib/rest/serverless/v1/service/environment.js +278 -0
- package/lib/rest/serverless/v1/service/function/functionVersion/functionVersionContent.d.ts +114 -0
- package/lib/rest/serverless/v1/service/function/functionVersion/functionVersionContent.js +131 -0
- package/lib/rest/serverless/v1/service/function/functionVersion.d.ts +242 -0
- package/lib/rest/serverless/v1/service/function/functionVersion.js +212 -0
- package/lib/rest/serverless/v1/service/function.d.ts +298 -0
- package/lib/rest/serverless/v1/service/function.js +271 -0
- package/lib/rest/serverless/v1/service.d.ts +364 -0
- package/lib/rest/serverless/v1/service.js +321 -0
- package/lib/rest/studio/V1.d.ts +15 -0
- package/lib/rest/studio/V1.js +36 -0
- package/lib/rest/studio/V2.d.ts +20 -0
- package/lib/rest/studio/V2.js +42 -0
- package/lib/rest/studio/v1/flow/engagement/engagementContext.d.ts +109 -0
- package/lib/rest/studio/v1/flow/engagement/engagementContext.js +123 -0
- package/lib/rest/studio/v1/flow/engagement/step/stepContext.d.ts +117 -0
- package/lib/rest/studio/v1/flow/engagement/step/stepContext.js +131 -0
- package/lib/rest/studio/v1/flow/engagement/step.d.ts +265 -0
- package/lib/rest/studio/v1/flow/engagement/step.js +218 -0
- package/lib/rest/studio/v1/flow/engagement.d.ts +300 -0
- package/lib/rest/studio/v1/flow/engagement.js +269 -0
- package/lib/rest/studio/v1/flow/execution/executionContext.d.ts +109 -0
- package/lib/rest/studio/v1/flow/execution/executionContext.js +123 -0
- package/lib/rest/studio/v1/flow/execution/executionStep/executionStepContext.d.ts +117 -0
- package/lib/rest/studio/v1/flow/execution/executionStep/executionStepContext.js +131 -0
- package/lib/rest/studio/v1/flow/execution/executionStep.d.ts +265 -0
- package/lib/rest/studio/v1/flow/execution/executionStep.js +218 -0
- package/lib/rest/studio/v1/flow/execution.d.ts +338 -0
- package/lib/rest/studio/v1/flow/execution.js +298 -0
- package/lib/rest/studio/v1/flow.d.ts +266 -0
- package/lib/rest/studio/v1/flow.js +231 -0
- package/lib/rest/studio/v2/flow/execution/executionContext.d.ts +109 -0
- package/lib/rest/studio/v2/flow/execution/executionContext.js +123 -0
- package/lib/rest/studio/v2/flow/execution/executionStep/executionStepContext.d.ts +117 -0
- package/lib/rest/studio/v2/flow/execution/executionStep/executionStepContext.js +131 -0
- package/lib/rest/studio/v2/flow/execution/executionStep.d.ts +265 -0
- package/lib/rest/studio/v2/flow/execution/executionStep.js +218 -0
- package/lib/rest/studio/v2/flow/execution.d.ts +332 -0
- package/lib/rest/studio/v2/flow/execution.js +296 -0
- package/lib/rest/studio/v2/flow/flowRevision.d.ts +253 -0
- package/lib/rest/studio/v2/flow/flowRevision.js +199 -0
- package/lib/rest/studio/v2/flow/flowTestUser.d.ts +121 -0
- package/lib/rest/studio/v2/flow/flowTestUser.js +138 -0
- package/lib/rest/studio/v2/flow.d.ts +361 -0
- package/lib/rest/studio/v2/flow.js +319 -0
- package/lib/rest/studio/v2/flowValidate.d.ts +60 -0
- package/lib/rest/studio/v2/flowValidate.js +85 -0
- package/lib/rest/supersim/V1.d.ts +55 -0
- package/lib/rest/supersim/V1.js +86 -0
- package/lib/rest/supersim/v1/esimProfile.d.ts +297 -0
- package/lib/rest/supersim/v1/esimProfile.js +226 -0
- package/lib/rest/supersim/v1/fleet.d.ts +363 -0
- package/lib/rest/supersim/v1/fleet.js +277 -0
- package/lib/rest/supersim/v1/ipCommand.d.ts +303 -0
- package/lib/rest/supersim/v1/ipCommand.js +238 -0
- package/lib/rest/supersim/v1/network.d.ts +229 -0
- package/lib/rest/supersim/v1/network.js +185 -0
- package/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.d.ts +252 -0
- package/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.js +227 -0
- package/lib/rest/supersim/v1/networkAccessProfile.d.ts +296 -0
- package/lib/rest/supersim/v1/networkAccessProfile.js +248 -0
- package/lib/rest/supersim/v1/settingsUpdate.d.ts +194 -0
- package/lib/rest/supersim/v1/settingsUpdate.js +136 -0
- package/lib/rest/supersim/v1/sim/billingPeriod.d.ts +183 -0
- package/lib/rest/supersim/v1/sim/billingPeriod.js +136 -0
- package/lib/rest/supersim/v1/sim/simIpAddress.d.ts +147 -0
- package/lib/rest/supersim/v1/sim/simIpAddress.js +124 -0
- package/lib/rest/supersim/v1/sim.d.ts +341 -0
- package/lib/rest/supersim/v1/sim.js +283 -0
- package/lib/rest/supersim/v1/smsCommand.d.ts +271 -0
- package/lib/rest/supersim/v1/smsCommand.js +222 -0
- package/lib/rest/supersim/v1/usageRecord.d.ts +252 -0
- package/lib/rest/supersim/v1/usageRecord.js +154 -0
- package/lib/rest/sync/V1.d.ts +15 -0
- package/lib/rest/sync/V1.js +36 -0
- package/lib/rest/sync/v1/service/document/documentPermission.d.ts +280 -0
- package/lib/rest/sync/v1/service/document/documentPermission.js +253 -0
- package/lib/rest/sync/v1/service/document.d.ts +354 -0
- package/lib/rest/sync/v1/service/document.js +289 -0
- package/lib/rest/sync/v1/service/syncList/syncListItem.d.ts +385 -0
- package/lib/rest/sync/v1/service/syncList/syncListItem.js +296 -0
- package/lib/rest/sync/v1/service/syncList/syncListPermission.d.ts +280 -0
- package/lib/rest/sync/v1/service/syncList/syncListPermission.js +253 -0
- package/lib/rest/sync/v1/service/syncList.d.ts +354 -0
- package/lib/rest/sync/v1/service/syncList.js +298 -0
- package/lib/rest/sync/v1/service/syncMap/syncMapItem.d.ts +387 -0
- package/lib/rest/sync/v1/service/syncMap/syncMapItem.js +300 -0
- package/lib/rest/sync/v1/service/syncMap/syncMapPermission.d.ts +280 -0
- package/lib/rest/sync/v1/service/syncMap/syncMapPermission.js +253 -0
- package/lib/rest/sync/v1/service/syncMap.d.ts +354 -0
- package/lib/rest/sync/v1/service/syncMap.js +298 -0
- package/lib/rest/sync/v1/service/syncStream/streamMessage.d.ts +61 -0
- package/lib/rest/sync/v1/service/syncStream/streamMessage.js +83 -0
- package/lib/rest/sync/v1/service/syncStream.d.ts +336 -0
- package/lib/rest/sync/v1/service/syncStream.js +279 -0
- package/lib/rest/sync/v1/service.d.ts +404 -0
- package/lib/rest/sync/v1/service.js +344 -0
- package/lib/rest/taskrouter/V1.d.ts +15 -0
- package/lib/rest/taskrouter/V1.js +36 -0
- package/lib/rest/taskrouter/v1/workspace/activity.d.ts +323 -0
- package/lib/rest/taskrouter/v1/workspace/activity.js +267 -0
- package/lib/rest/taskrouter/v1/workspace/event.d.ts +351 -0
- package/lib/rest/taskrouter/v1/workspace/event.js +231 -0
- package/lib/rest/taskrouter/v1/workspace/task/reservation.d.ts +412 -0
- package/lib/rest/taskrouter/v1/workspace/task/reservation.js +344 -0
- package/lib/rest/taskrouter/v1/workspace/task.d.ts +495 -0
- package/lib/rest/taskrouter/v1/workspace/task.js +341 -0
- package/lib/rest/taskrouter/v1/workspace/taskChannel.d.ts +324 -0
- package/lib/rest/taskrouter/v1/workspace/taskChannel.js +271 -0
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.d.ts +244 -0
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.js +172 -0
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueRealTimeStatistics.d.ts +188 -0
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueRealTimeStatistics.js +148 -0
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueStatistics.d.ts +148 -0
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueStatistics.js +139 -0
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.d.ts +203 -0
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.js +142 -0
- package/lib/rest/taskrouter/v1/workspace/taskQueue.d.ts +417 -0
- package/lib/rest/taskrouter/v1/workspace/taskQueue.js +349 -0
- package/lib/rest/taskrouter/v1/workspace/worker/reservation.d.ts +401 -0
- package/lib/rest/taskrouter/v1/workspace/worker/reservation.js +338 -0
- package/lib/rest/taskrouter/v1/workspace/worker/workerChannel.d.ts +307 -0
- package/lib/rest/taskrouter/v1/workspace/worker/workerChannel.js +236 -0
- package/lib/rest/taskrouter/v1/workspace/worker/workerStatistics.d.ts +140 -0
- package/lib/rest/taskrouter/v1/workspace/worker/workerStatistics.js +135 -0
- package/lib/rest/taskrouter/v1/workspace/worker/workersCumulativeStatistics.d.ts +180 -0
- package/lib/rest/taskrouter/v1/workspace/worker/workersCumulativeStatistics.js +143 -0
- package/lib/rest/taskrouter/v1/workspace/worker/workersRealTimeStatistics.d.ts +132 -0
- package/lib/rest/taskrouter/v1/workspace/worker/workersRealTimeStatistics.js +123 -0
- package/lib/rest/taskrouter/v1/workspace/worker/workersStatistics.d.ts +144 -0
- package/lib/rest/taskrouter/v1/workspace/worker/workersStatistics.js +135 -0
- package/lib/rest/taskrouter/v1/workspace/worker.d.ts +454 -0
- package/lib/rest/taskrouter/v1/workspace/worker.js +370 -0
- package/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.d.ts +244 -0
- package/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.js +171 -0
- package/lib/rest/taskrouter/v1/workspace/workflow/workflowRealTimeStatistics.d.ts +158 -0
- package/lib/rest/taskrouter/v1/workspace/workflow/workflowRealTimeStatistics.js +137 -0
- package/lib/rest/taskrouter/v1/workspace/workflow/workflowStatistics.d.ts +148 -0
- package/lib/rest/taskrouter/v1/workspace/workflow/workflowStatistics.js +139 -0
- package/lib/rest/taskrouter/v1/workspace/workflow.d.ts +384 -0
- package/lib/rest/taskrouter/v1/workspace/workflow.js +334 -0
- package/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.d.ts +236 -0
- package/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.js +163 -0
- package/lib/rest/taskrouter/v1/workspace/workspaceRealTimeStatistics.d.ts +162 -0
- package/lib/rest/taskrouter/v1/workspace/workspaceRealTimeStatistics.js +133 -0
- package/lib/rest/taskrouter/v1/workspace/workspaceStatistics.d.ts +140 -0
- package/lib/rest/taskrouter/v1/workspace/workspaceStatistics.js +131 -0
- package/lib/rest/taskrouter/v1/workspace.d.ts +452 -0
- package/lib/rest/taskrouter/v1/workspace.js +418 -0
- package/lib/rest/trunking/V1.d.ts +15 -0
- package/lib/rest/trunking/V1.js +36 -0
- package/lib/rest/trunking/v1/trunk/credentialList.d.ts +258 -0
- package/lib/rest/trunking/v1/trunk/credentialList.js +230 -0
- package/lib/rest/trunking/v1/trunk/ipAccessControlList.d.ts +258 -0
- package/lib/rest/trunking/v1/trunk/ipAccessControlList.js +230 -0
- package/lib/rest/trunking/v1/trunk/originationUrl.d.ts +340 -0
- package/lib/rest/trunking/v1/trunk/originationUrl.js +289 -0
- package/lib/rest/trunking/v1/trunk/phoneNumber.d.ts +375 -0
- package/lib/rest/trunking/v1/trunk/phoneNumber.js +268 -0
- package/lib/rest/trunking/v1/trunk/recording.d.ts +129 -0
- package/lib/rest/trunking/v1/trunk/recording.js +140 -0
- package/lib/rest/trunking/v1/trunk.d.ts +431 -0
- package/lib/rest/trunking/v1/trunk.js +364 -0
- package/lib/rest/trusthub/V1.d.ts +45 -0
- package/lib/rest/trusthub/V1.js +76 -0
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesChannelEndpointAssignment.d.ts +272 -0
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesChannelEndpointAssignment.js +239 -0
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEntityAssignments.d.ts +252 -0
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEntityAssignments.js +227 -0
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +239 -0
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.js +212 -0
- package/lib/rest/trusthub/v1/customerProfiles.d.ts +380 -0
- package/lib/rest/trusthub/v1/customerProfiles.js +322 -0
- package/lib/rest/trusthub/v1/endUser.d.ts +310 -0
- package/lib/rest/trusthub/v1/endUser.js +261 -0
- package/lib/rest/trusthub/v1/endUserType.d.ts +211 -0
- package/lib/rest/trusthub/v1/endUserType.js +179 -0
- package/lib/rest/trusthub/v1/policies.d.ts +205 -0
- package/lib/rest/trusthub/v1/policies.js +177 -0
- package/lib/rest/trusthub/v1/supportingDocument.d.ts +320 -0
- package/lib/rest/trusthub/v1/supportingDocument.js +265 -0
- package/lib/rest/trusthub/v1/supportingDocumentType.d.ts +211 -0
- package/lib/rest/trusthub/v1/supportingDocumentType.js +179 -0
- package/lib/rest/trusthub/v1/trustProducts/trustProductsChannelEndpointAssignment.d.ts +272 -0
- package/lib/rest/trusthub/v1/trustProducts/trustProductsChannelEndpointAssignment.js +239 -0
- package/lib/rest/trusthub/v1/trustProducts/trustProductsEntityAssignments.d.ts +252 -0
- package/lib/rest/trusthub/v1/trustProducts/trustProductsEntityAssignments.js +227 -0
- package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +239 -0
- package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.js +212 -0
- package/lib/rest/trusthub/v1/trustProducts.d.ts +380 -0
- package/lib/rest/trusthub/v1/trustProducts.js +322 -0
- package/lib/rest/verify/V2.d.ts +40 -0
- package/lib/rest/verify/V2.js +69 -0
- package/lib/rest/verify/v2/form.d.ts +98 -0
- package/lib/rest/verify/v2/form.js +112 -0
- package/lib/rest/verify/v2/safelist.d.ts +127 -0
- package/lib/rest/verify/v2/safelist.js +150 -0
- package/lib/rest/verify/v2/service/accessToken.d.ts +158 -0
- package/lib/rest/verify/v2/service/accessToken.js +159 -0
- package/lib/rest/verify/v2/service/entity/challenge/notification.d.ts +112 -0
- package/lib/rest/verify/v2/service/entity/challenge/notification.js +102 -0
- package/lib/rest/verify/v2/service/entity/challenge.d.ts +384 -0
- package/lib/rest/verify/v2/service/entity/challenge.js +296 -0
- package/lib/rest/verify/v2/service/entity/factor.d.ts +335 -0
- package/lib/rest/verify/v2/service/entity/factor.js +270 -0
- package/lib/rest/verify/v2/service/entity/newFactor.d.ts +157 -0
- package/lib/rest/verify/v2/service/entity/newFactor.js +137 -0
- package/lib/rest/verify/v2/service/entity.d.ts +288 -0
- package/lib/rest/verify/v2/service/entity.js +270 -0
- package/lib/rest/verify/v2/service/messagingConfiguration.d.ts +286 -0
- package/lib/rest/verify/v2/service/messagingConfiguration.js +260 -0
- package/lib/rest/verify/v2/service/rateLimit/bucket.d.ts +318 -0
- package/lib/rest/verify/v2/service/rateLimit/bucket.js +272 -0
- package/lib/rest/verify/v2/service/rateLimit.d.ts +322 -0
- package/lib/rest/verify/v2/service/rateLimit.js +275 -0
- package/lib/rest/verify/v2/service/verification.d.ts +237 -0
- package/lib/rest/verify/v2/service/verification.js +217 -0
- package/lib/rest/verify/v2/service/verificationCheck.d.ts +134 -0
- package/lib/rest/verify/v2/service/verificationCheck.js +110 -0
- package/lib/rest/verify/v2/service/webhook.d.ts +340 -0
- package/lib/rest/verify/v2/service/webhook.js +287 -0
- package/lib/rest/verify/v2/service.d.ts +481 -0
- package/lib/rest/verify/v2/service.js +426 -0
- package/lib/rest/verify/v2/template.d.ts +172 -0
- package/lib/rest/verify/v2/template.js +128 -0
- package/lib/rest/verify/v2/verificationAttempt.d.ts +288 -0
- package/lib/rest/verify/v2/verificationAttempt.js +207 -0
- package/lib/rest/verify/v2/verificationAttemptsSummary.d.ts +138 -0
- package/lib/rest/verify/v2/verificationAttemptsSummary.js +126 -0
- package/lib/rest/video/V1.d.ts +40 -0
- package/lib/rest/video/V1.js +69 -0
- package/lib/rest/video/v1/composition.d.ts +377 -0
- package/lib/rest/video/v1/composition.js +275 -0
- package/lib/rest/video/v1/compositionHook.d.ts +389 -0
- package/lib/rest/video/v1/compositionHook.js +310 -0
- package/lib/rest/video/v1/compositionSettings.d.ts +159 -0
- package/lib/rest/video/v1/compositionSettings.js +151 -0
- package/lib/rest/video/v1/recording.d.ts +335 -0
- package/lib/rest/video/v1/recording.js +236 -0
- package/lib/rest/video/v1/recordingSettings.d.ts +159 -0
- package/lib/rest/video/v1/recordingSettings.js +151 -0
- package/lib/rest/video/v1/room/participant/anonymize.d.ts +143 -0
- package/lib/rest/video/v1/room/participant/anonymize.js +135 -0
- package/lib/rest/video/v1/room/participant/publishedTrack.d.ts +237 -0
- package/lib/rest/video/v1/room/participant/publishedTrack.js +199 -0
- package/lib/rest/video/v1/room/participant/subscribeRules.d.ts +103 -0
- package/lib/rest/video/v1/room/participant/subscribeRules.js +103 -0
- package/lib/rest/video/v1/room/participant/subscribedTrack.d.ts +243 -0
- package/lib/rest/video/v1/room/participant/subscribedTrack.js +201 -0
- package/lib/rest/video/v1/room/participant.d.ts +351 -0
- package/lib/rest/video/v1/room/participant.js +286 -0
- package/lib/rest/video/v1/room/recordingRules.d.ts +95 -0
- package/lib/rest/video/v1/room/recordingRules.js +98 -0
- package/lib/rest/video/v1/room/roomRecording.d.ts +318 -0
- package/lib/rest/video/v1/room/roomRecording.js +236 -0
- package/lib/rest/video/v1/room.d.ts +449 -0
- package/lib/rest/video/v1/room.js +339 -0
- package/lib/rest/voice/V1.d.ts +40 -0
- package/lib/rest/voice/V1.js +69 -0
- package/lib/rest/voice/v1/archivedCall.d.ts +51 -0
- package/lib/rest/voice/v1/archivedCall.js +71 -0
- package/lib/rest/voice/v1/byocTrunk.d.ts +393 -0
- package/lib/rest/voice/v1/byocTrunk.js +304 -0
- package/lib/rest/voice/v1/connectionPolicy/connectionPolicyTarget.d.ts +340 -0
- package/lib/rest/voice/v1/connectionPolicy/connectionPolicyTarget.js +280 -0
- package/lib/rest/voice/v1/connectionPolicy.d.ts +314 -0
- package/lib/rest/voice/v1/connectionPolicy.js +265 -0
- package/lib/rest/voice/v1/dialingPermissions/bulkCountryUpdate.d.ts +59 -0
- package/lib/rest/voice/v1/dialingPermissions/bulkCountryUpdate.js +77 -0
- package/lib/rest/voice/v1/dialingPermissions/country/highriskSpecialPrefix.d.ts +143 -0
- package/lib/rest/voice/v1/dialingPermissions/country/highriskSpecialPrefix.js +122 -0
- package/lib/rest/voice/v1/dialingPermissions/country.d.ts +279 -0
- package/lib/rest/voice/v1/dialingPermissions/country.js +214 -0
- package/lib/rest/voice/v1/dialingPermissions/settings.d.ts +129 -0
- package/lib/rest/voice/v1/dialingPermissions/settings.js +130 -0
- package/lib/rest/voice/v1/dialingPermissions.d.ts +25 -0
- package/lib/rest/voice/v1/dialingPermissions.js +60 -0
- package/lib/rest/voice/v1/ipRecord.d.ts +308 -0
- package/lib/rest/voice/v1/ipRecord.js +256 -0
- package/lib/rest/voice/v1/sourceIpMapping.d.ts +278 -0
- package/lib/rest/voice/v1/sourceIpMapping.js +252 -0
- package/lib/rest/wireless/V1.d.ts +30 -0
- package/lib/rest/wireless/V1.js +54 -0
- package/lib/rest/wireless/v1/command.d.ts +314 -0
- package/lib/rest/wireless/v1/command.js +253 -0
- package/lib/rest/wireless/v1/ratePlan.d.ts +382 -0
- package/lib/rest/wireless/v1/ratePlan.js +293 -0
- package/lib/rest/wireless/v1/sim/dataSession.d.ts +233 -0
- package/lib/rest/wireless/v1/sim/dataSession.js +152 -0
- package/lib/rest/wireless/v1/sim/usageRecord.d.ts +186 -0
- package/lib/rest/wireless/v1/sim/usageRecord.js +136 -0
- package/lib/rest/wireless/v1/sim.d.ts +465 -0
- package/lib/rest/wireless/v1/sim.js +332 -0
- package/lib/rest/wireless/v1/usageRecord.d.ts +179 -0
- package/lib/rest/wireless/v1/usageRecord.js +130 -0
- package/lib/twiml/FaxResponse.d.ts +66 -0
- package/lib/twiml/FaxResponse.js +67 -0
- package/lib/twiml/MessagingResponse.d.ts +117 -0
- package/lib/twiml/MessagingResponse.js +120 -0
- package/lib/twiml/TwiML.d.ts +42 -0
- package/lib/twiml/TwiML.js +83 -0
- package/lib/twiml/VoiceResponse.d.ts +2448 -0
- package/lib/twiml/VoiceResponse.js +1434 -0
- package/lib/webhooks/webhooks.d.ts +136 -0
- package/lib/webhooks/webhooks.js +302 -0
- package/package.json +2 -2
|
@@ -0,0 +1,1434 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This code was generated by
|
|
4
|
+
* \ / _ _ _| _ _
|
|
5
|
+
* | (_)\/(_)(_|\/| |(/_ v1.0.0
|
|
6
|
+
* / /
|
|
7
|
+
*/
|
|
8
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const TwiML_1 = __importDefault(require("./TwiML"));
|
|
13
|
+
class VoiceResponse extends TwiML_1.default {
|
|
14
|
+
/**
|
|
15
|
+
* <Response> TwiML for Voice
|
|
16
|
+
*/
|
|
17
|
+
constructor() {
|
|
18
|
+
super();
|
|
19
|
+
this._propertyName = "response";
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Comments in <Response>
|
|
23
|
+
*
|
|
24
|
+
* @param comment - XML Comment
|
|
25
|
+
*/
|
|
26
|
+
comment(comment) {
|
|
27
|
+
return this.response.comment(comment);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Comments after <Response>
|
|
31
|
+
*
|
|
32
|
+
* @param comment - XML Comment
|
|
33
|
+
*/
|
|
34
|
+
commentAfter(comment) {
|
|
35
|
+
return this.response.commentAfter(comment);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Comments before <Response>
|
|
39
|
+
*
|
|
40
|
+
* @param comment - XML Comment
|
|
41
|
+
*/
|
|
42
|
+
commentBefore(comment) {
|
|
43
|
+
return this.response.commentBefore(comment);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* <Connect> TwiML Verb
|
|
47
|
+
*
|
|
48
|
+
* @param attributes - TwiML attributes
|
|
49
|
+
*/
|
|
50
|
+
connect(attributes) {
|
|
51
|
+
return new VoiceResponse.Connect(this.response.ele("Connect", attributes));
|
|
52
|
+
}
|
|
53
|
+
dial(attributes, number) {
|
|
54
|
+
if (typeof attributes === "string") {
|
|
55
|
+
number = attributes;
|
|
56
|
+
attributes = {};
|
|
57
|
+
}
|
|
58
|
+
return new VoiceResponse.Dial(this.response.ele("Dial", attributes, number));
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* <Echo> TwiML Verb
|
|
62
|
+
*
|
|
63
|
+
* @param attributes - TwiML attributes
|
|
64
|
+
*/
|
|
65
|
+
echo(attributes) {
|
|
66
|
+
return new VoiceResponse.Echo(this.response.ele("Echo", attributes));
|
|
67
|
+
}
|
|
68
|
+
enqueue(attributes, name) {
|
|
69
|
+
if (typeof attributes === "string") {
|
|
70
|
+
name = attributes;
|
|
71
|
+
attributes = {};
|
|
72
|
+
}
|
|
73
|
+
return new VoiceResponse.Enqueue(this.response.ele("Enqueue", attributes, name));
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* <Gather> TwiML Verb
|
|
77
|
+
*
|
|
78
|
+
* @param attributes - TwiML attributes
|
|
79
|
+
*/
|
|
80
|
+
gather(attributes) {
|
|
81
|
+
return new VoiceResponse.Gather(this.response.ele("Gather", attributes));
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* <Hangup> TwiML Verb
|
|
85
|
+
*
|
|
86
|
+
* @param attributes - TwiML attributes
|
|
87
|
+
*/
|
|
88
|
+
hangup(attributes) {
|
|
89
|
+
return new VoiceResponse.Hangup(this.response.ele("Hangup", attributes));
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* <Leave> TwiML Verb
|
|
93
|
+
*
|
|
94
|
+
* @param attributes - TwiML attributes
|
|
95
|
+
*/
|
|
96
|
+
leave(attributes) {
|
|
97
|
+
return new VoiceResponse.Leave(this.response.ele("Leave", attributes));
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* <Pause> TwiML Verb
|
|
101
|
+
*
|
|
102
|
+
* @param attributes - TwiML attributes
|
|
103
|
+
*/
|
|
104
|
+
pause(attributes) {
|
|
105
|
+
return new VoiceResponse.Pause(this.response.ele("Pause", attributes));
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* <Pay> Twiml Verb
|
|
109
|
+
*
|
|
110
|
+
* @param attributes - TwiML attributes
|
|
111
|
+
*/
|
|
112
|
+
pay(attributes) {
|
|
113
|
+
return new VoiceResponse.Pay(this.response.ele("Pay", attributes));
|
|
114
|
+
}
|
|
115
|
+
play(attributes, url) {
|
|
116
|
+
if (typeof attributes === "string") {
|
|
117
|
+
url = attributes;
|
|
118
|
+
attributes = {};
|
|
119
|
+
}
|
|
120
|
+
return new VoiceResponse.Play(this.response.ele("Play", attributes, url));
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* <Prompt> Twiml Verb
|
|
124
|
+
*
|
|
125
|
+
* @param attributes - TwiML attributes
|
|
126
|
+
*/
|
|
127
|
+
prompt(attributes) {
|
|
128
|
+
return new VoiceResponse.Prompt(this.response.ele("Prompt", attributes));
|
|
129
|
+
}
|
|
130
|
+
queue(attributes, name) {
|
|
131
|
+
if (typeof attributes === "string") {
|
|
132
|
+
name = attributes;
|
|
133
|
+
attributes = {};
|
|
134
|
+
}
|
|
135
|
+
return new VoiceResponse.Queue(this.response.ele("Queue", attributes, name));
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* <Record> TwiML Verb
|
|
139
|
+
*
|
|
140
|
+
* @param attributes - TwiML attributes
|
|
141
|
+
*/
|
|
142
|
+
record(attributes) {
|
|
143
|
+
return new VoiceResponse.Record(this.response.ele("Record", attributes));
|
|
144
|
+
}
|
|
145
|
+
redirect(attributes, url) {
|
|
146
|
+
if (typeof attributes === "string") {
|
|
147
|
+
url = attributes;
|
|
148
|
+
attributes = {};
|
|
149
|
+
}
|
|
150
|
+
return new VoiceResponse.Redirect(this.response.ele("Redirect", attributes, url));
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* <Refer> TwiML Verb
|
|
154
|
+
*
|
|
155
|
+
* @param attributes - TwiML attributes
|
|
156
|
+
*/
|
|
157
|
+
refer(attributes) {
|
|
158
|
+
return new VoiceResponse.Refer(this.response.ele("Refer", attributes));
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* <Reject> TwiML Verb
|
|
162
|
+
*
|
|
163
|
+
* @param attributes - TwiML attributes
|
|
164
|
+
*/
|
|
165
|
+
reject(attributes) {
|
|
166
|
+
return new VoiceResponse.Reject(this.response.ele("Reject", attributes));
|
|
167
|
+
}
|
|
168
|
+
say(attributes, message) {
|
|
169
|
+
if (typeof attributes === "string") {
|
|
170
|
+
message = attributes;
|
|
171
|
+
attributes = {};
|
|
172
|
+
}
|
|
173
|
+
return new VoiceResponse.Say(this.response.ele("Say", attributes, message));
|
|
174
|
+
}
|
|
175
|
+
sms(attributes, message) {
|
|
176
|
+
if (typeof attributes === "string") {
|
|
177
|
+
message = attributes;
|
|
178
|
+
attributes = {};
|
|
179
|
+
}
|
|
180
|
+
return new VoiceResponse.Sms(this.response.ele("Sms", attributes, message));
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* <Start> TwiML Verb
|
|
184
|
+
*
|
|
185
|
+
* @param attributes - TwiML attributes
|
|
186
|
+
*/
|
|
187
|
+
start(attributes) {
|
|
188
|
+
return new VoiceResponse.Start(this.response.ele("Start", attributes));
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* <Stop> TwiML Verb
|
|
192
|
+
*
|
|
193
|
+
* @param attributes - TwiML attributes
|
|
194
|
+
*/
|
|
195
|
+
stop(attributes) {
|
|
196
|
+
return new VoiceResponse.Stop(this.response.ele("Stop", attributes));
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
(function (VoiceResponse) {
|
|
200
|
+
class Application extends TwiML_1.default {
|
|
201
|
+
/**
|
|
202
|
+
* <Application> TwiML Noun
|
|
203
|
+
*/
|
|
204
|
+
constructor(application) {
|
|
205
|
+
super();
|
|
206
|
+
this.application = application;
|
|
207
|
+
this._propertyName = "application";
|
|
208
|
+
}
|
|
209
|
+
applicationSid(attributes, sid) {
|
|
210
|
+
if (typeof attributes === "string") {
|
|
211
|
+
sid = attributes;
|
|
212
|
+
attributes = {};
|
|
213
|
+
}
|
|
214
|
+
return new VoiceResponse.ApplicationSid(this.application.ele("ApplicationSid", attributes, sid));
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* <Parameter> TwiML Noun
|
|
218
|
+
*
|
|
219
|
+
* @param attributes - TwiML attributes
|
|
220
|
+
*/
|
|
221
|
+
parameter(attributes) {
|
|
222
|
+
return new VoiceResponse.Parameter(this.application.ele("Parameter", attributes));
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
VoiceResponse.Application = Application;
|
|
226
|
+
class ApplicationSid extends TwiML_1.default {
|
|
227
|
+
/**
|
|
228
|
+
* <ApplicationSid> TwiML Noun
|
|
229
|
+
*/
|
|
230
|
+
constructor(applicationSid) {
|
|
231
|
+
super();
|
|
232
|
+
this.applicationSid = applicationSid;
|
|
233
|
+
this._propertyName = "applicationSid";
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
VoiceResponse.ApplicationSid = ApplicationSid;
|
|
237
|
+
class Autopilot extends TwiML_1.default {
|
|
238
|
+
/**
|
|
239
|
+
* <Autopilot> TwiML Noun
|
|
240
|
+
*/
|
|
241
|
+
constructor(autopilot) {
|
|
242
|
+
super();
|
|
243
|
+
this.autopilot = autopilot;
|
|
244
|
+
this._propertyName = "autopilot";
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
VoiceResponse.Autopilot = Autopilot;
|
|
248
|
+
class Client extends TwiML_1.default {
|
|
249
|
+
/**
|
|
250
|
+
* <Client> TwiML Noun
|
|
251
|
+
*/
|
|
252
|
+
constructor(client) {
|
|
253
|
+
super();
|
|
254
|
+
this.client = client;
|
|
255
|
+
this._propertyName = "client";
|
|
256
|
+
}
|
|
257
|
+
identity(attributes, clientIdentity) {
|
|
258
|
+
if (typeof attributes === "string") {
|
|
259
|
+
clientIdentity = attributes;
|
|
260
|
+
attributes = {};
|
|
261
|
+
}
|
|
262
|
+
return new VoiceResponse.Identity(this.client.ele("Identity", attributes, clientIdentity));
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* <Parameter> TwiML Noun
|
|
266
|
+
*
|
|
267
|
+
* @param attributes - TwiML attributes
|
|
268
|
+
*/
|
|
269
|
+
parameter(attributes) {
|
|
270
|
+
return new VoiceResponse.Parameter(this.client.ele("Parameter", attributes));
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
VoiceResponse.Client = Client;
|
|
274
|
+
class Conference extends TwiML_1.default {
|
|
275
|
+
/**
|
|
276
|
+
* <Conference> TwiML Noun
|
|
277
|
+
*/
|
|
278
|
+
constructor(conference) {
|
|
279
|
+
super();
|
|
280
|
+
this.conference = conference;
|
|
281
|
+
this._propertyName = "conference";
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
VoiceResponse.Conference = Conference;
|
|
285
|
+
class Config extends TwiML_1.default {
|
|
286
|
+
/**
|
|
287
|
+
* <Config> TwiML Noun
|
|
288
|
+
*/
|
|
289
|
+
constructor(config) {
|
|
290
|
+
super();
|
|
291
|
+
this.config = config;
|
|
292
|
+
this._propertyName = "config";
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
VoiceResponse.Config = Config;
|
|
296
|
+
class Connect extends TwiML_1.default {
|
|
297
|
+
/**
|
|
298
|
+
* <Connect> TwiML Verb
|
|
299
|
+
*/
|
|
300
|
+
constructor(connect) {
|
|
301
|
+
super();
|
|
302
|
+
this.connect = connect;
|
|
303
|
+
this._propertyName = "connect";
|
|
304
|
+
}
|
|
305
|
+
autopilot(attributes, name) {
|
|
306
|
+
if (typeof attributes === "string") {
|
|
307
|
+
name = attributes;
|
|
308
|
+
attributes = {};
|
|
309
|
+
}
|
|
310
|
+
return new VoiceResponse.Autopilot(this.connect.ele("Autopilot", attributes, name));
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* <Conversation> TwiML Noun
|
|
314
|
+
*
|
|
315
|
+
* @param attributes - TwiML attributes
|
|
316
|
+
*/
|
|
317
|
+
conversation(attributes) {
|
|
318
|
+
return new VoiceResponse.Conversation(this.connect.ele("Conversation", attributes));
|
|
319
|
+
}
|
|
320
|
+
room(attributes, name) {
|
|
321
|
+
if (typeof attributes === "string") {
|
|
322
|
+
name = attributes;
|
|
323
|
+
attributes = {};
|
|
324
|
+
}
|
|
325
|
+
return new VoiceResponse.Room(this.connect.ele("Room", attributes, name));
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* <Stream> TwiML Noun
|
|
329
|
+
*
|
|
330
|
+
* @param attributes - TwiML attributes
|
|
331
|
+
*/
|
|
332
|
+
stream(attributes) {
|
|
333
|
+
return new VoiceResponse.Stream(this.connect.ele("Stream", attributes));
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* <VirtualAgent> TwiML Noun
|
|
337
|
+
*
|
|
338
|
+
* @param attributes - TwiML attributes
|
|
339
|
+
*/
|
|
340
|
+
virtualAgent(attributes) {
|
|
341
|
+
return new VoiceResponse.VirtualAgent(this.connect.ele("VirtualAgent", attributes));
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
VoiceResponse.Connect = Connect;
|
|
345
|
+
class Conversation extends TwiML_1.default {
|
|
346
|
+
/**
|
|
347
|
+
* <Conversation> TwiML Noun
|
|
348
|
+
*/
|
|
349
|
+
constructor(conversation) {
|
|
350
|
+
super();
|
|
351
|
+
this.conversation = conversation;
|
|
352
|
+
this._propertyName = "conversation";
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
VoiceResponse.Conversation = Conversation;
|
|
356
|
+
class Dial extends TwiML_1.default {
|
|
357
|
+
/**
|
|
358
|
+
* <Dial> TwiML Verb
|
|
359
|
+
*/
|
|
360
|
+
constructor(dial) {
|
|
361
|
+
super();
|
|
362
|
+
this.dial = dial;
|
|
363
|
+
this._propertyName = "dial";
|
|
364
|
+
}
|
|
365
|
+
application(attributes, applicationSid) {
|
|
366
|
+
if (typeof attributes === "string") {
|
|
367
|
+
applicationSid = attributes;
|
|
368
|
+
attributes = {};
|
|
369
|
+
}
|
|
370
|
+
return new VoiceResponse.Application(this.dial.ele("Application", attributes, applicationSid));
|
|
371
|
+
}
|
|
372
|
+
client(attributes, identity) {
|
|
373
|
+
if (typeof attributes === "string") {
|
|
374
|
+
identity = attributes;
|
|
375
|
+
attributes = {};
|
|
376
|
+
}
|
|
377
|
+
return new VoiceResponse.Client(this.dial.ele("Client", attributes, identity));
|
|
378
|
+
}
|
|
379
|
+
conference(attributes, name) {
|
|
380
|
+
if (typeof attributes === "string") {
|
|
381
|
+
name = attributes;
|
|
382
|
+
attributes = {};
|
|
383
|
+
}
|
|
384
|
+
return new VoiceResponse.Conference(this.dial.ele("Conference", attributes, name));
|
|
385
|
+
}
|
|
386
|
+
number(attributes, phoneNumber) {
|
|
387
|
+
if (typeof attributes === "string") {
|
|
388
|
+
phoneNumber = attributes;
|
|
389
|
+
attributes = {};
|
|
390
|
+
}
|
|
391
|
+
return new VoiceResponse.Number(this.dial.ele("Number", attributes, phoneNumber));
|
|
392
|
+
}
|
|
393
|
+
queue(attributes, name) {
|
|
394
|
+
if (typeof attributes === "string") {
|
|
395
|
+
name = attributes;
|
|
396
|
+
attributes = {};
|
|
397
|
+
}
|
|
398
|
+
return new VoiceResponse.Queue(this.dial.ele("Queue", attributes, name));
|
|
399
|
+
}
|
|
400
|
+
sim(attributes, simSid) {
|
|
401
|
+
if (typeof attributes === "string") {
|
|
402
|
+
simSid = attributes;
|
|
403
|
+
attributes = {};
|
|
404
|
+
}
|
|
405
|
+
return new VoiceResponse.Sim(this.dial.ele("Sim", attributes, simSid));
|
|
406
|
+
}
|
|
407
|
+
sip(attributes, sipUrl) {
|
|
408
|
+
if (typeof attributes === "string") {
|
|
409
|
+
sipUrl = attributes;
|
|
410
|
+
attributes = {};
|
|
411
|
+
}
|
|
412
|
+
return new VoiceResponse.Sip(this.dial.ele("Sip", attributes, sipUrl));
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
VoiceResponse.Dial = Dial;
|
|
416
|
+
class Echo extends TwiML_1.default {
|
|
417
|
+
/**
|
|
418
|
+
* <Echo> TwiML Verb
|
|
419
|
+
*/
|
|
420
|
+
constructor(echo) {
|
|
421
|
+
super();
|
|
422
|
+
this.echo = echo;
|
|
423
|
+
this._propertyName = "echo";
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
VoiceResponse.Echo = Echo;
|
|
427
|
+
class Enqueue extends TwiML_1.default {
|
|
428
|
+
/**
|
|
429
|
+
* <Enqueue> TwiML Noun
|
|
430
|
+
*/
|
|
431
|
+
constructor(enqueue) {
|
|
432
|
+
super();
|
|
433
|
+
this.enqueue = enqueue;
|
|
434
|
+
this._propertyName = "enqueue";
|
|
435
|
+
}
|
|
436
|
+
task(attributes, body) {
|
|
437
|
+
if (typeof attributes === "string") {
|
|
438
|
+
body = attributes;
|
|
439
|
+
attributes = {};
|
|
440
|
+
}
|
|
441
|
+
return new VoiceResponse.Task(this.enqueue.ele("Task", attributes, body));
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
VoiceResponse.Enqueue = Enqueue;
|
|
445
|
+
class Gather extends TwiML_1.default {
|
|
446
|
+
/**
|
|
447
|
+
* <Gather> TwiML Verb
|
|
448
|
+
*/
|
|
449
|
+
constructor(gather) {
|
|
450
|
+
super();
|
|
451
|
+
this.gather = gather;
|
|
452
|
+
this._propertyName = "gather";
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* <Pause> TwiML Verb
|
|
456
|
+
*
|
|
457
|
+
* @param attributes - TwiML attributes
|
|
458
|
+
*/
|
|
459
|
+
pause(attributes) {
|
|
460
|
+
return new VoiceResponse.Pause(this.gather.ele("Pause", attributes));
|
|
461
|
+
}
|
|
462
|
+
play(attributes, url) {
|
|
463
|
+
if (typeof attributes === "string") {
|
|
464
|
+
url = attributes;
|
|
465
|
+
attributes = {};
|
|
466
|
+
}
|
|
467
|
+
return new VoiceResponse.Play(this.gather.ele("Play", attributes, url));
|
|
468
|
+
}
|
|
469
|
+
say(attributes, message) {
|
|
470
|
+
if (typeof attributes === "string") {
|
|
471
|
+
message = attributes;
|
|
472
|
+
attributes = {};
|
|
473
|
+
}
|
|
474
|
+
return new VoiceResponse.Say(this.gather.ele("Say", attributes, message));
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
VoiceResponse.Gather = Gather;
|
|
478
|
+
class Hangup extends TwiML_1.default {
|
|
479
|
+
/**
|
|
480
|
+
* <Hangup> TwiML Verb
|
|
481
|
+
*/
|
|
482
|
+
constructor(hangup) {
|
|
483
|
+
super();
|
|
484
|
+
this.hangup = hangup;
|
|
485
|
+
this._propertyName = "hangup";
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* <Parameter> TwiML Noun
|
|
489
|
+
*
|
|
490
|
+
* @param attributes - TwiML attributes
|
|
491
|
+
*/
|
|
492
|
+
parameter(attributes) {
|
|
493
|
+
return new VoiceResponse.Parameter(this.hangup.ele("Parameter", attributes));
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
VoiceResponse.Hangup = Hangup;
|
|
497
|
+
class Identity extends TwiML_1.default {
|
|
498
|
+
/**
|
|
499
|
+
* <Identity> TwiML Noun
|
|
500
|
+
*/
|
|
501
|
+
constructor(identity) {
|
|
502
|
+
super();
|
|
503
|
+
this.identity = identity;
|
|
504
|
+
this._propertyName = "identity";
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
VoiceResponse.Identity = Identity;
|
|
508
|
+
class Leave extends TwiML_1.default {
|
|
509
|
+
/**
|
|
510
|
+
* <Leave> TwiML Verb
|
|
511
|
+
*/
|
|
512
|
+
constructor(leave) {
|
|
513
|
+
super();
|
|
514
|
+
this.leave = leave;
|
|
515
|
+
this._propertyName = "leave";
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
VoiceResponse.Leave = Leave;
|
|
519
|
+
class Number extends TwiML_1.default {
|
|
520
|
+
/**
|
|
521
|
+
* <Number> TwiML Noun
|
|
522
|
+
*/
|
|
523
|
+
constructor(number) {
|
|
524
|
+
super();
|
|
525
|
+
this.number = number;
|
|
526
|
+
this._propertyName = "number";
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
VoiceResponse.Number = Number;
|
|
530
|
+
class Parameter extends TwiML_1.default {
|
|
531
|
+
/**
|
|
532
|
+
* <Parameter> TwiML Noun
|
|
533
|
+
*/
|
|
534
|
+
constructor(parameter) {
|
|
535
|
+
super();
|
|
536
|
+
this.parameter = parameter;
|
|
537
|
+
this._propertyName = "parameter";
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
VoiceResponse.Parameter = Parameter;
|
|
541
|
+
class Pause extends TwiML_1.default {
|
|
542
|
+
/**
|
|
543
|
+
* <Pause> TwiML Verb
|
|
544
|
+
*/
|
|
545
|
+
constructor(pause) {
|
|
546
|
+
super();
|
|
547
|
+
this.pause = pause;
|
|
548
|
+
this._propertyName = "pause";
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
VoiceResponse.Pause = Pause;
|
|
552
|
+
class Pay extends TwiML_1.default {
|
|
553
|
+
/**
|
|
554
|
+
* <Pay> Twiml Verb
|
|
555
|
+
*/
|
|
556
|
+
constructor(pay) {
|
|
557
|
+
super();
|
|
558
|
+
this.pay = pay;
|
|
559
|
+
this._propertyName = "pay";
|
|
560
|
+
}
|
|
561
|
+
/**
|
|
562
|
+
* <Parameter> TwiML Noun
|
|
563
|
+
*
|
|
564
|
+
* @param attributes - TwiML attributes
|
|
565
|
+
*/
|
|
566
|
+
parameter(attributes) {
|
|
567
|
+
return new VoiceResponse.Parameter(this.pay.ele("Parameter", attributes));
|
|
568
|
+
}
|
|
569
|
+
/**
|
|
570
|
+
* <Prompt> Twiml Verb
|
|
571
|
+
*
|
|
572
|
+
* @param attributes - TwiML attributes
|
|
573
|
+
*/
|
|
574
|
+
prompt(attributes) {
|
|
575
|
+
return new VoiceResponse.Prompt(this.pay.ele("Prompt", attributes));
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
VoiceResponse.Pay = Pay;
|
|
579
|
+
class Play extends TwiML_1.default {
|
|
580
|
+
/**
|
|
581
|
+
* <Play> TwiML Verb
|
|
582
|
+
*/
|
|
583
|
+
constructor(play) {
|
|
584
|
+
super();
|
|
585
|
+
this.play = play;
|
|
586
|
+
this._propertyName = "play";
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
VoiceResponse.Play = Play;
|
|
590
|
+
class Prompt extends TwiML_1.default {
|
|
591
|
+
/**
|
|
592
|
+
* <Prompt> Twiml Verb
|
|
593
|
+
*/
|
|
594
|
+
constructor(prompt) {
|
|
595
|
+
super();
|
|
596
|
+
this.prompt = prompt;
|
|
597
|
+
this._propertyName = "prompt";
|
|
598
|
+
}
|
|
599
|
+
/**
|
|
600
|
+
* <Pause> TwiML Verb
|
|
601
|
+
*
|
|
602
|
+
* @param attributes - TwiML attributes
|
|
603
|
+
*/
|
|
604
|
+
pause(attributes) {
|
|
605
|
+
return new VoiceResponse.Pause(this.prompt.ele("Pause", attributes));
|
|
606
|
+
}
|
|
607
|
+
play(attributes, url) {
|
|
608
|
+
if (typeof attributes === "string") {
|
|
609
|
+
url = attributes;
|
|
610
|
+
attributes = {};
|
|
611
|
+
}
|
|
612
|
+
return new VoiceResponse.Play(this.prompt.ele("Play", attributes, url));
|
|
613
|
+
}
|
|
614
|
+
say(attributes, message) {
|
|
615
|
+
if (typeof attributes === "string") {
|
|
616
|
+
message = attributes;
|
|
617
|
+
attributes = {};
|
|
618
|
+
}
|
|
619
|
+
return new VoiceResponse.Say(this.prompt.ele("Say", attributes, message));
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
VoiceResponse.Prompt = Prompt;
|
|
623
|
+
class Queue extends TwiML_1.default {
|
|
624
|
+
/**
|
|
625
|
+
* <Queue> TwiML Noun
|
|
626
|
+
*/
|
|
627
|
+
constructor(queue) {
|
|
628
|
+
super();
|
|
629
|
+
this.queue = queue;
|
|
630
|
+
this._propertyName = "queue";
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
VoiceResponse.Queue = Queue;
|
|
634
|
+
class Record extends TwiML_1.default {
|
|
635
|
+
/**
|
|
636
|
+
* <Record> TwiML Verb
|
|
637
|
+
*/
|
|
638
|
+
constructor(record) {
|
|
639
|
+
super();
|
|
640
|
+
this.record = record;
|
|
641
|
+
this._propertyName = "record";
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
VoiceResponse.Record = Record;
|
|
645
|
+
class Redirect extends TwiML_1.default {
|
|
646
|
+
/**
|
|
647
|
+
* <Redirect> TwiML Verb
|
|
648
|
+
*/
|
|
649
|
+
constructor(redirect) {
|
|
650
|
+
super();
|
|
651
|
+
this.redirect = redirect;
|
|
652
|
+
this._propertyName = "redirect";
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
VoiceResponse.Redirect = Redirect;
|
|
656
|
+
class Refer extends TwiML_1.default {
|
|
657
|
+
/**
|
|
658
|
+
* <Refer> TwiML Verb
|
|
659
|
+
*/
|
|
660
|
+
constructor(refer) {
|
|
661
|
+
super();
|
|
662
|
+
this.refer = refer;
|
|
663
|
+
this._propertyName = "refer";
|
|
664
|
+
}
|
|
665
|
+
sip(attributes, sipUrl) {
|
|
666
|
+
if (typeof attributes === "string") {
|
|
667
|
+
sipUrl = attributes;
|
|
668
|
+
attributes = {};
|
|
669
|
+
}
|
|
670
|
+
return new VoiceResponse.ReferSip(this.refer.ele("Sip", attributes, sipUrl));
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
VoiceResponse.Refer = Refer;
|
|
674
|
+
class ReferSip extends TwiML_1.default {
|
|
675
|
+
/**
|
|
676
|
+
* <Sip> TwiML Noun used in <Refer>
|
|
677
|
+
*/
|
|
678
|
+
constructor(referSip) {
|
|
679
|
+
super();
|
|
680
|
+
this.referSip = referSip;
|
|
681
|
+
this._propertyName = "referSip";
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
VoiceResponse.ReferSip = ReferSip;
|
|
685
|
+
class Reject extends TwiML_1.default {
|
|
686
|
+
/**
|
|
687
|
+
* <Reject> TwiML Verb
|
|
688
|
+
*/
|
|
689
|
+
constructor(reject) {
|
|
690
|
+
super();
|
|
691
|
+
this.reject = reject;
|
|
692
|
+
this._propertyName = "reject";
|
|
693
|
+
}
|
|
694
|
+
/**
|
|
695
|
+
* <Parameter> TwiML Noun
|
|
696
|
+
*
|
|
697
|
+
* @param attributes - TwiML attributes
|
|
698
|
+
*/
|
|
699
|
+
parameter(attributes) {
|
|
700
|
+
return new VoiceResponse.Parameter(this.reject.ele("Parameter", attributes));
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
VoiceResponse.Reject = Reject;
|
|
704
|
+
class Room extends TwiML_1.default {
|
|
705
|
+
/**
|
|
706
|
+
* <Room> TwiML Noun
|
|
707
|
+
*/
|
|
708
|
+
constructor(room) {
|
|
709
|
+
super();
|
|
710
|
+
this.room = room;
|
|
711
|
+
this._propertyName = "room";
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
VoiceResponse.Room = Room;
|
|
715
|
+
class Say extends TwiML_1.default {
|
|
716
|
+
/**
|
|
717
|
+
* <Say> TwiML Verb
|
|
718
|
+
*/
|
|
719
|
+
constructor(say) {
|
|
720
|
+
super();
|
|
721
|
+
this.say = say;
|
|
722
|
+
this._propertyName = "say";
|
|
723
|
+
}
|
|
724
|
+
/**
|
|
725
|
+
* Adding a Pause in <Say>
|
|
726
|
+
*
|
|
727
|
+
* @param attributes - TwiML attributes
|
|
728
|
+
*/
|
|
729
|
+
break(attributes) {
|
|
730
|
+
return new VoiceResponse.SsmlBreak(this.say.ele("break", attributes));
|
|
731
|
+
}
|
|
732
|
+
emphasis(attributes, words) {
|
|
733
|
+
if (typeof attributes === "string") {
|
|
734
|
+
words = attributes;
|
|
735
|
+
attributes = {};
|
|
736
|
+
}
|
|
737
|
+
return new VoiceResponse.SsmlEmphasis(this.say.ele("emphasis", attributes, words));
|
|
738
|
+
}
|
|
739
|
+
lang(attributes, words) {
|
|
740
|
+
if (typeof attributes === "string") {
|
|
741
|
+
words = attributes;
|
|
742
|
+
attributes = {};
|
|
743
|
+
}
|
|
744
|
+
return new VoiceResponse.SsmlLang(this.say.ele("lang", attributes, words));
|
|
745
|
+
}
|
|
746
|
+
p(attributes, words) {
|
|
747
|
+
if (typeof attributes === "string") {
|
|
748
|
+
words = attributes;
|
|
749
|
+
attributes = {};
|
|
750
|
+
}
|
|
751
|
+
return new VoiceResponse.SsmlP(this.say.ele("p", attributes, words));
|
|
752
|
+
}
|
|
753
|
+
phoneme(attributes, words) {
|
|
754
|
+
if (typeof attributes === "string") {
|
|
755
|
+
words = attributes;
|
|
756
|
+
attributes = {};
|
|
757
|
+
}
|
|
758
|
+
return new VoiceResponse.SsmlPhoneme(this.say.ele("phoneme", attributes, words));
|
|
759
|
+
}
|
|
760
|
+
prosody(attributes, words) {
|
|
761
|
+
if (typeof attributes === "string") {
|
|
762
|
+
words = attributes;
|
|
763
|
+
attributes = {};
|
|
764
|
+
}
|
|
765
|
+
return new VoiceResponse.SsmlProsody(this.say.ele("prosody", attributes, words));
|
|
766
|
+
}
|
|
767
|
+
s(attributes, words) {
|
|
768
|
+
if (typeof attributes === "string") {
|
|
769
|
+
words = attributes;
|
|
770
|
+
attributes = {};
|
|
771
|
+
}
|
|
772
|
+
return new VoiceResponse.SsmlS(this.say.ele("s", attributes, words));
|
|
773
|
+
}
|
|
774
|
+
sayAs(attributes, words) {
|
|
775
|
+
if (typeof attributes === "string") {
|
|
776
|
+
words = attributes;
|
|
777
|
+
attributes = {};
|
|
778
|
+
}
|
|
779
|
+
return new VoiceResponse.SsmlSayAs(this.say.ele("say-as", attributes, words));
|
|
780
|
+
}
|
|
781
|
+
sub(attributes, words) {
|
|
782
|
+
if (typeof attributes === "string") {
|
|
783
|
+
words = attributes;
|
|
784
|
+
attributes = {};
|
|
785
|
+
}
|
|
786
|
+
return new VoiceResponse.SsmlSub(this.say.ele("sub", attributes, words));
|
|
787
|
+
}
|
|
788
|
+
w(attributes, words) {
|
|
789
|
+
if (typeof attributes === "string") {
|
|
790
|
+
words = attributes;
|
|
791
|
+
attributes = {};
|
|
792
|
+
}
|
|
793
|
+
return new VoiceResponse.SsmlW(this.say.ele("w", attributes, words));
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
VoiceResponse.Say = Say;
|
|
797
|
+
class Sim extends TwiML_1.default {
|
|
798
|
+
/**
|
|
799
|
+
* <Sim> TwiML Noun
|
|
800
|
+
*/
|
|
801
|
+
constructor(sim) {
|
|
802
|
+
super();
|
|
803
|
+
this.sim = sim;
|
|
804
|
+
this._propertyName = "sim";
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
VoiceResponse.Sim = Sim;
|
|
808
|
+
class Sip extends TwiML_1.default {
|
|
809
|
+
/**
|
|
810
|
+
* <Sip> TwiML Noun
|
|
811
|
+
*/
|
|
812
|
+
constructor(sip) {
|
|
813
|
+
super();
|
|
814
|
+
this.sip = sip;
|
|
815
|
+
this._propertyName = "sip";
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
VoiceResponse.Sip = Sip;
|
|
819
|
+
class Siprec extends TwiML_1.default {
|
|
820
|
+
/**
|
|
821
|
+
* <Siprec> TwiML Noun
|
|
822
|
+
*/
|
|
823
|
+
constructor(siprec) {
|
|
824
|
+
super();
|
|
825
|
+
this.siprec = siprec;
|
|
826
|
+
this._propertyName = "siprec";
|
|
827
|
+
}
|
|
828
|
+
/**
|
|
829
|
+
* <Parameter> TwiML Noun
|
|
830
|
+
*
|
|
831
|
+
* @param attributes - TwiML attributes
|
|
832
|
+
*/
|
|
833
|
+
parameter(attributes) {
|
|
834
|
+
return new VoiceResponse.Parameter(this.siprec.ele("Parameter", attributes));
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
VoiceResponse.Siprec = Siprec;
|
|
838
|
+
class Sms extends TwiML_1.default {
|
|
839
|
+
/**
|
|
840
|
+
* <Sms> TwiML Noun
|
|
841
|
+
*/
|
|
842
|
+
constructor(sms) {
|
|
843
|
+
super();
|
|
844
|
+
this.sms = sms;
|
|
845
|
+
this._propertyName = "sms";
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
VoiceResponse.Sms = Sms;
|
|
849
|
+
class SsmlBreak extends TwiML_1.default {
|
|
850
|
+
/**
|
|
851
|
+
* Adding a Pause in <Say>
|
|
852
|
+
*/
|
|
853
|
+
constructor(ssmlBreak) {
|
|
854
|
+
super();
|
|
855
|
+
this.ssmlBreak = ssmlBreak;
|
|
856
|
+
this._propertyName = "ssmlBreak";
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
VoiceResponse.SsmlBreak = SsmlBreak;
|
|
860
|
+
class SsmlEmphasis extends TwiML_1.default {
|
|
861
|
+
/**
|
|
862
|
+
* Emphasizing Words in <Say>
|
|
863
|
+
*/
|
|
864
|
+
constructor(ssmlEmphasis) {
|
|
865
|
+
super();
|
|
866
|
+
this.ssmlEmphasis = ssmlEmphasis;
|
|
867
|
+
this._propertyName = "ssmlEmphasis";
|
|
868
|
+
}
|
|
869
|
+
/**
|
|
870
|
+
* Adding a Pause in <Say>
|
|
871
|
+
*
|
|
872
|
+
* @param attributes - TwiML attributes
|
|
873
|
+
*/
|
|
874
|
+
break(attributes) {
|
|
875
|
+
return new VoiceResponse.SsmlBreak(this.ssmlEmphasis.ele("break", attributes));
|
|
876
|
+
}
|
|
877
|
+
emphasis(attributes, words) {
|
|
878
|
+
if (typeof attributes === "string") {
|
|
879
|
+
words = attributes;
|
|
880
|
+
attributes = {};
|
|
881
|
+
}
|
|
882
|
+
return new VoiceResponse.SsmlEmphasis(this.ssmlEmphasis.ele("emphasis", attributes, words));
|
|
883
|
+
}
|
|
884
|
+
lang(attributes, words) {
|
|
885
|
+
if (typeof attributes === "string") {
|
|
886
|
+
words = attributes;
|
|
887
|
+
attributes = {};
|
|
888
|
+
}
|
|
889
|
+
return new VoiceResponse.SsmlLang(this.ssmlEmphasis.ele("lang", attributes, words));
|
|
890
|
+
}
|
|
891
|
+
phoneme(attributes, words) {
|
|
892
|
+
if (typeof attributes === "string") {
|
|
893
|
+
words = attributes;
|
|
894
|
+
attributes = {};
|
|
895
|
+
}
|
|
896
|
+
return new VoiceResponse.SsmlPhoneme(this.ssmlEmphasis.ele("phoneme", attributes, words));
|
|
897
|
+
}
|
|
898
|
+
prosody(attributes, words) {
|
|
899
|
+
if (typeof attributes === "string") {
|
|
900
|
+
words = attributes;
|
|
901
|
+
attributes = {};
|
|
902
|
+
}
|
|
903
|
+
return new VoiceResponse.SsmlProsody(this.ssmlEmphasis.ele("prosody", attributes, words));
|
|
904
|
+
}
|
|
905
|
+
sayAs(attributes, words) {
|
|
906
|
+
if (typeof attributes === "string") {
|
|
907
|
+
words = attributes;
|
|
908
|
+
attributes = {};
|
|
909
|
+
}
|
|
910
|
+
return new VoiceResponse.SsmlSayAs(this.ssmlEmphasis.ele("say-as", attributes, words));
|
|
911
|
+
}
|
|
912
|
+
sub(attributes, words) {
|
|
913
|
+
if (typeof attributes === "string") {
|
|
914
|
+
words = attributes;
|
|
915
|
+
attributes = {};
|
|
916
|
+
}
|
|
917
|
+
return new VoiceResponse.SsmlSub(this.ssmlEmphasis.ele("sub", attributes, words));
|
|
918
|
+
}
|
|
919
|
+
w(attributes, words) {
|
|
920
|
+
if (typeof attributes === "string") {
|
|
921
|
+
words = attributes;
|
|
922
|
+
attributes = {};
|
|
923
|
+
}
|
|
924
|
+
return new VoiceResponse.SsmlW(this.ssmlEmphasis.ele("w", attributes, words));
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
VoiceResponse.SsmlEmphasis = SsmlEmphasis;
|
|
928
|
+
class SsmlLang extends TwiML_1.default {
|
|
929
|
+
/**
|
|
930
|
+
* Specifying Another Language for Specific Words in <Say>
|
|
931
|
+
*/
|
|
932
|
+
constructor(ssmlLang) {
|
|
933
|
+
super();
|
|
934
|
+
this.ssmlLang = ssmlLang;
|
|
935
|
+
this._propertyName = "ssmlLang";
|
|
936
|
+
}
|
|
937
|
+
/**
|
|
938
|
+
* Adding a Pause in <Say>
|
|
939
|
+
*
|
|
940
|
+
* @param attributes - TwiML attributes
|
|
941
|
+
*/
|
|
942
|
+
break(attributes) {
|
|
943
|
+
return new VoiceResponse.SsmlBreak(this.ssmlLang.ele("break", attributes));
|
|
944
|
+
}
|
|
945
|
+
emphasis(attributes, words) {
|
|
946
|
+
if (typeof attributes === "string") {
|
|
947
|
+
words = attributes;
|
|
948
|
+
attributes = {};
|
|
949
|
+
}
|
|
950
|
+
return new VoiceResponse.SsmlEmphasis(this.ssmlLang.ele("emphasis", attributes, words));
|
|
951
|
+
}
|
|
952
|
+
lang(attributes, words) {
|
|
953
|
+
if (typeof attributes === "string") {
|
|
954
|
+
words = attributes;
|
|
955
|
+
attributes = {};
|
|
956
|
+
}
|
|
957
|
+
return new VoiceResponse.SsmlLang(this.ssmlLang.ele("lang", attributes, words));
|
|
958
|
+
}
|
|
959
|
+
p(attributes, words) {
|
|
960
|
+
if (typeof attributes === "string") {
|
|
961
|
+
words = attributes;
|
|
962
|
+
attributes = {};
|
|
963
|
+
}
|
|
964
|
+
return new VoiceResponse.SsmlP(this.ssmlLang.ele("p", attributes, words));
|
|
965
|
+
}
|
|
966
|
+
phoneme(attributes, words) {
|
|
967
|
+
if (typeof attributes === "string") {
|
|
968
|
+
words = attributes;
|
|
969
|
+
attributes = {};
|
|
970
|
+
}
|
|
971
|
+
return new VoiceResponse.SsmlPhoneme(this.ssmlLang.ele("phoneme", attributes, words));
|
|
972
|
+
}
|
|
973
|
+
prosody(attributes, words) {
|
|
974
|
+
if (typeof attributes === "string") {
|
|
975
|
+
words = attributes;
|
|
976
|
+
attributes = {};
|
|
977
|
+
}
|
|
978
|
+
return new VoiceResponse.SsmlProsody(this.ssmlLang.ele("prosody", attributes, words));
|
|
979
|
+
}
|
|
980
|
+
s(attributes, words) {
|
|
981
|
+
if (typeof attributes === "string") {
|
|
982
|
+
words = attributes;
|
|
983
|
+
attributes = {};
|
|
984
|
+
}
|
|
985
|
+
return new VoiceResponse.SsmlS(this.ssmlLang.ele("s", attributes, words));
|
|
986
|
+
}
|
|
987
|
+
sayAs(attributes, words) {
|
|
988
|
+
if (typeof attributes === "string") {
|
|
989
|
+
words = attributes;
|
|
990
|
+
attributes = {};
|
|
991
|
+
}
|
|
992
|
+
return new VoiceResponse.SsmlSayAs(this.ssmlLang.ele("say-as", attributes, words));
|
|
993
|
+
}
|
|
994
|
+
sub(attributes, words) {
|
|
995
|
+
if (typeof attributes === "string") {
|
|
996
|
+
words = attributes;
|
|
997
|
+
attributes = {};
|
|
998
|
+
}
|
|
999
|
+
return new VoiceResponse.SsmlSub(this.ssmlLang.ele("sub", attributes, words));
|
|
1000
|
+
}
|
|
1001
|
+
w(attributes, words) {
|
|
1002
|
+
if (typeof attributes === "string") {
|
|
1003
|
+
words = attributes;
|
|
1004
|
+
attributes = {};
|
|
1005
|
+
}
|
|
1006
|
+
return new VoiceResponse.SsmlW(this.ssmlLang.ele("w", attributes, words));
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
VoiceResponse.SsmlLang = SsmlLang;
|
|
1010
|
+
class SsmlP extends TwiML_1.default {
|
|
1011
|
+
/**
|
|
1012
|
+
* Adding a Pause Between Paragraphs in <Say>
|
|
1013
|
+
*/
|
|
1014
|
+
constructor(ssmlP) {
|
|
1015
|
+
super();
|
|
1016
|
+
this.ssmlP = ssmlP;
|
|
1017
|
+
this._propertyName = "ssmlP";
|
|
1018
|
+
}
|
|
1019
|
+
/**
|
|
1020
|
+
* Adding a Pause in <Say>
|
|
1021
|
+
*
|
|
1022
|
+
* @param attributes - TwiML attributes
|
|
1023
|
+
*/
|
|
1024
|
+
break(attributes) {
|
|
1025
|
+
return new VoiceResponse.SsmlBreak(this.ssmlP.ele("break", attributes));
|
|
1026
|
+
}
|
|
1027
|
+
emphasis(attributes, words) {
|
|
1028
|
+
if (typeof attributes === "string") {
|
|
1029
|
+
words = attributes;
|
|
1030
|
+
attributes = {};
|
|
1031
|
+
}
|
|
1032
|
+
return new VoiceResponse.SsmlEmphasis(this.ssmlP.ele("emphasis", attributes, words));
|
|
1033
|
+
}
|
|
1034
|
+
lang(attributes, words) {
|
|
1035
|
+
if (typeof attributes === "string") {
|
|
1036
|
+
words = attributes;
|
|
1037
|
+
attributes = {};
|
|
1038
|
+
}
|
|
1039
|
+
return new VoiceResponse.SsmlLang(this.ssmlP.ele("lang", attributes, words));
|
|
1040
|
+
}
|
|
1041
|
+
phoneme(attributes, words) {
|
|
1042
|
+
if (typeof attributes === "string") {
|
|
1043
|
+
words = attributes;
|
|
1044
|
+
attributes = {};
|
|
1045
|
+
}
|
|
1046
|
+
return new VoiceResponse.SsmlPhoneme(this.ssmlP.ele("phoneme", attributes, words));
|
|
1047
|
+
}
|
|
1048
|
+
prosody(attributes, words) {
|
|
1049
|
+
if (typeof attributes === "string") {
|
|
1050
|
+
words = attributes;
|
|
1051
|
+
attributes = {};
|
|
1052
|
+
}
|
|
1053
|
+
return new VoiceResponse.SsmlProsody(this.ssmlP.ele("prosody", attributes, words));
|
|
1054
|
+
}
|
|
1055
|
+
s(attributes, words) {
|
|
1056
|
+
if (typeof attributes === "string") {
|
|
1057
|
+
words = attributes;
|
|
1058
|
+
attributes = {};
|
|
1059
|
+
}
|
|
1060
|
+
return new VoiceResponse.SsmlS(this.ssmlP.ele("s", attributes, words));
|
|
1061
|
+
}
|
|
1062
|
+
sayAs(attributes, words) {
|
|
1063
|
+
if (typeof attributes === "string") {
|
|
1064
|
+
words = attributes;
|
|
1065
|
+
attributes = {};
|
|
1066
|
+
}
|
|
1067
|
+
return new VoiceResponse.SsmlSayAs(this.ssmlP.ele("say-as", attributes, words));
|
|
1068
|
+
}
|
|
1069
|
+
sub(attributes, words) {
|
|
1070
|
+
if (typeof attributes === "string") {
|
|
1071
|
+
words = attributes;
|
|
1072
|
+
attributes = {};
|
|
1073
|
+
}
|
|
1074
|
+
return new VoiceResponse.SsmlSub(this.ssmlP.ele("sub", attributes, words));
|
|
1075
|
+
}
|
|
1076
|
+
w(attributes, words) {
|
|
1077
|
+
if (typeof attributes === "string") {
|
|
1078
|
+
words = attributes;
|
|
1079
|
+
attributes = {};
|
|
1080
|
+
}
|
|
1081
|
+
return new VoiceResponse.SsmlW(this.ssmlP.ele("w", attributes, words));
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
VoiceResponse.SsmlP = SsmlP;
|
|
1085
|
+
class SsmlPhoneme extends TwiML_1.default {
|
|
1086
|
+
/**
|
|
1087
|
+
* Using Phonetic Pronunciation in <Say>
|
|
1088
|
+
*/
|
|
1089
|
+
constructor(ssmlPhoneme) {
|
|
1090
|
+
super();
|
|
1091
|
+
this.ssmlPhoneme = ssmlPhoneme;
|
|
1092
|
+
this._propertyName = "ssmlPhoneme";
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
VoiceResponse.SsmlPhoneme = SsmlPhoneme;
|
|
1096
|
+
class SsmlProsody extends TwiML_1.default {
|
|
1097
|
+
/**
|
|
1098
|
+
* Controling Volume, Speaking Rate, and Pitch in <Say>
|
|
1099
|
+
*/
|
|
1100
|
+
constructor(ssmlProsody) {
|
|
1101
|
+
super();
|
|
1102
|
+
this.ssmlProsody = ssmlProsody;
|
|
1103
|
+
this._propertyName = "ssmlProsody";
|
|
1104
|
+
}
|
|
1105
|
+
/**
|
|
1106
|
+
* Adding a Pause in <Say>
|
|
1107
|
+
*
|
|
1108
|
+
* @param attributes - TwiML attributes
|
|
1109
|
+
*/
|
|
1110
|
+
break(attributes) {
|
|
1111
|
+
return new VoiceResponse.SsmlBreak(this.ssmlProsody.ele("break", attributes));
|
|
1112
|
+
}
|
|
1113
|
+
emphasis(attributes, words) {
|
|
1114
|
+
if (typeof attributes === "string") {
|
|
1115
|
+
words = attributes;
|
|
1116
|
+
attributes = {};
|
|
1117
|
+
}
|
|
1118
|
+
return new VoiceResponse.SsmlEmphasis(this.ssmlProsody.ele("emphasis", attributes, words));
|
|
1119
|
+
}
|
|
1120
|
+
lang(attributes, words) {
|
|
1121
|
+
if (typeof attributes === "string") {
|
|
1122
|
+
words = attributes;
|
|
1123
|
+
attributes = {};
|
|
1124
|
+
}
|
|
1125
|
+
return new VoiceResponse.SsmlLang(this.ssmlProsody.ele("lang", attributes, words));
|
|
1126
|
+
}
|
|
1127
|
+
p(attributes, words) {
|
|
1128
|
+
if (typeof attributes === "string") {
|
|
1129
|
+
words = attributes;
|
|
1130
|
+
attributes = {};
|
|
1131
|
+
}
|
|
1132
|
+
return new VoiceResponse.SsmlP(this.ssmlProsody.ele("p", attributes, words));
|
|
1133
|
+
}
|
|
1134
|
+
phoneme(attributes, words) {
|
|
1135
|
+
if (typeof attributes === "string") {
|
|
1136
|
+
words = attributes;
|
|
1137
|
+
attributes = {};
|
|
1138
|
+
}
|
|
1139
|
+
return new VoiceResponse.SsmlPhoneme(this.ssmlProsody.ele("phoneme", attributes, words));
|
|
1140
|
+
}
|
|
1141
|
+
prosody(attributes, words) {
|
|
1142
|
+
if (typeof attributes === "string") {
|
|
1143
|
+
words = attributes;
|
|
1144
|
+
attributes = {};
|
|
1145
|
+
}
|
|
1146
|
+
return new VoiceResponse.SsmlProsody(this.ssmlProsody.ele("prosody", attributes, words));
|
|
1147
|
+
}
|
|
1148
|
+
s(attributes, words) {
|
|
1149
|
+
if (typeof attributes === "string") {
|
|
1150
|
+
words = attributes;
|
|
1151
|
+
attributes = {};
|
|
1152
|
+
}
|
|
1153
|
+
return new VoiceResponse.SsmlS(this.ssmlProsody.ele("s", attributes, words));
|
|
1154
|
+
}
|
|
1155
|
+
sayAs(attributes, words) {
|
|
1156
|
+
if (typeof attributes === "string") {
|
|
1157
|
+
words = attributes;
|
|
1158
|
+
attributes = {};
|
|
1159
|
+
}
|
|
1160
|
+
return new VoiceResponse.SsmlSayAs(this.ssmlProsody.ele("say-as", attributes, words));
|
|
1161
|
+
}
|
|
1162
|
+
sub(attributes, words) {
|
|
1163
|
+
if (typeof attributes === "string") {
|
|
1164
|
+
words = attributes;
|
|
1165
|
+
attributes = {};
|
|
1166
|
+
}
|
|
1167
|
+
return new VoiceResponse.SsmlSub(this.ssmlProsody.ele("sub", attributes, words));
|
|
1168
|
+
}
|
|
1169
|
+
w(attributes, words) {
|
|
1170
|
+
if (typeof attributes === "string") {
|
|
1171
|
+
words = attributes;
|
|
1172
|
+
attributes = {};
|
|
1173
|
+
}
|
|
1174
|
+
return new VoiceResponse.SsmlW(this.ssmlProsody.ele("w", attributes, words));
|
|
1175
|
+
}
|
|
1176
|
+
}
|
|
1177
|
+
VoiceResponse.SsmlProsody = SsmlProsody;
|
|
1178
|
+
class SsmlS extends TwiML_1.default {
|
|
1179
|
+
/**
|
|
1180
|
+
* Adding A Pause Between Sentences in <Say>
|
|
1181
|
+
*/
|
|
1182
|
+
constructor(ssmlS) {
|
|
1183
|
+
super();
|
|
1184
|
+
this.ssmlS = ssmlS;
|
|
1185
|
+
this._propertyName = "ssmlS";
|
|
1186
|
+
}
|
|
1187
|
+
/**
|
|
1188
|
+
* Adding a Pause in <Say>
|
|
1189
|
+
*
|
|
1190
|
+
* @param attributes - TwiML attributes
|
|
1191
|
+
*/
|
|
1192
|
+
break(attributes) {
|
|
1193
|
+
return new VoiceResponse.SsmlBreak(this.ssmlS.ele("break", attributes));
|
|
1194
|
+
}
|
|
1195
|
+
emphasis(attributes, words) {
|
|
1196
|
+
if (typeof attributes === "string") {
|
|
1197
|
+
words = attributes;
|
|
1198
|
+
attributes = {};
|
|
1199
|
+
}
|
|
1200
|
+
return new VoiceResponse.SsmlEmphasis(this.ssmlS.ele("emphasis", attributes, words));
|
|
1201
|
+
}
|
|
1202
|
+
lang(attributes, words) {
|
|
1203
|
+
if (typeof attributes === "string") {
|
|
1204
|
+
words = attributes;
|
|
1205
|
+
attributes = {};
|
|
1206
|
+
}
|
|
1207
|
+
return new VoiceResponse.SsmlLang(this.ssmlS.ele("lang", attributes, words));
|
|
1208
|
+
}
|
|
1209
|
+
phoneme(attributes, words) {
|
|
1210
|
+
if (typeof attributes === "string") {
|
|
1211
|
+
words = attributes;
|
|
1212
|
+
attributes = {};
|
|
1213
|
+
}
|
|
1214
|
+
return new VoiceResponse.SsmlPhoneme(this.ssmlS.ele("phoneme", attributes, words));
|
|
1215
|
+
}
|
|
1216
|
+
prosody(attributes, words) {
|
|
1217
|
+
if (typeof attributes === "string") {
|
|
1218
|
+
words = attributes;
|
|
1219
|
+
attributes = {};
|
|
1220
|
+
}
|
|
1221
|
+
return new VoiceResponse.SsmlProsody(this.ssmlS.ele("prosody", attributes, words));
|
|
1222
|
+
}
|
|
1223
|
+
sayAs(attributes, words) {
|
|
1224
|
+
if (typeof attributes === "string") {
|
|
1225
|
+
words = attributes;
|
|
1226
|
+
attributes = {};
|
|
1227
|
+
}
|
|
1228
|
+
return new VoiceResponse.SsmlSayAs(this.ssmlS.ele("say-as", attributes, words));
|
|
1229
|
+
}
|
|
1230
|
+
sub(attributes, words) {
|
|
1231
|
+
if (typeof attributes === "string") {
|
|
1232
|
+
words = attributes;
|
|
1233
|
+
attributes = {};
|
|
1234
|
+
}
|
|
1235
|
+
return new VoiceResponse.SsmlSub(this.ssmlS.ele("sub", attributes, words));
|
|
1236
|
+
}
|
|
1237
|
+
w(attributes, words) {
|
|
1238
|
+
if (typeof attributes === "string") {
|
|
1239
|
+
words = attributes;
|
|
1240
|
+
attributes = {};
|
|
1241
|
+
}
|
|
1242
|
+
return new VoiceResponse.SsmlW(this.ssmlS.ele("w", attributes, words));
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
VoiceResponse.SsmlS = SsmlS;
|
|
1246
|
+
class SsmlSayAs extends TwiML_1.default {
|
|
1247
|
+
/**
|
|
1248
|
+
* Controlling How Special Types of Words Are Spoken in <Say>
|
|
1249
|
+
*/
|
|
1250
|
+
constructor(ssmlSayAs) {
|
|
1251
|
+
super();
|
|
1252
|
+
this.ssmlSayAs = ssmlSayAs;
|
|
1253
|
+
this._propertyName = "ssmlSayAs";
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
VoiceResponse.SsmlSayAs = SsmlSayAs;
|
|
1257
|
+
class SsmlSub extends TwiML_1.default {
|
|
1258
|
+
/**
|
|
1259
|
+
* Pronouncing Acronyms and Abbreviations in <Say>
|
|
1260
|
+
*/
|
|
1261
|
+
constructor(ssmlSub) {
|
|
1262
|
+
super();
|
|
1263
|
+
this.ssmlSub = ssmlSub;
|
|
1264
|
+
this._propertyName = "ssmlSub";
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
VoiceResponse.SsmlSub = SsmlSub;
|
|
1268
|
+
class SsmlW extends TwiML_1.default {
|
|
1269
|
+
/**
|
|
1270
|
+
* Improving Pronunciation by Specifying Parts of Speech in <Say>
|
|
1271
|
+
*/
|
|
1272
|
+
constructor(ssmlW) {
|
|
1273
|
+
super();
|
|
1274
|
+
this.ssmlW = ssmlW;
|
|
1275
|
+
this._propertyName = "ssmlW";
|
|
1276
|
+
}
|
|
1277
|
+
/**
|
|
1278
|
+
* Adding a Pause in <Say>
|
|
1279
|
+
*
|
|
1280
|
+
* @param attributes - TwiML attributes
|
|
1281
|
+
*/
|
|
1282
|
+
break(attributes) {
|
|
1283
|
+
return new VoiceResponse.SsmlBreak(this.ssmlW.ele("break", attributes));
|
|
1284
|
+
}
|
|
1285
|
+
emphasis(attributes, words) {
|
|
1286
|
+
if (typeof attributes === "string") {
|
|
1287
|
+
words = attributes;
|
|
1288
|
+
attributes = {};
|
|
1289
|
+
}
|
|
1290
|
+
return new VoiceResponse.SsmlEmphasis(this.ssmlW.ele("emphasis", attributes, words));
|
|
1291
|
+
}
|
|
1292
|
+
phoneme(attributes, words) {
|
|
1293
|
+
if (typeof attributes === "string") {
|
|
1294
|
+
words = attributes;
|
|
1295
|
+
attributes = {};
|
|
1296
|
+
}
|
|
1297
|
+
return new VoiceResponse.SsmlPhoneme(this.ssmlW.ele("phoneme", attributes, words));
|
|
1298
|
+
}
|
|
1299
|
+
prosody(attributes, words) {
|
|
1300
|
+
if (typeof attributes === "string") {
|
|
1301
|
+
words = attributes;
|
|
1302
|
+
attributes = {};
|
|
1303
|
+
}
|
|
1304
|
+
return new VoiceResponse.SsmlProsody(this.ssmlW.ele("prosody", attributes, words));
|
|
1305
|
+
}
|
|
1306
|
+
sayAs(attributes, words) {
|
|
1307
|
+
if (typeof attributes === "string") {
|
|
1308
|
+
words = attributes;
|
|
1309
|
+
attributes = {};
|
|
1310
|
+
}
|
|
1311
|
+
return new VoiceResponse.SsmlSayAs(this.ssmlW.ele("say-as", attributes, words));
|
|
1312
|
+
}
|
|
1313
|
+
sub(attributes, words) {
|
|
1314
|
+
if (typeof attributes === "string") {
|
|
1315
|
+
words = attributes;
|
|
1316
|
+
attributes = {};
|
|
1317
|
+
}
|
|
1318
|
+
return new VoiceResponse.SsmlSub(this.ssmlW.ele("sub", attributes, words));
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
VoiceResponse.SsmlW = SsmlW;
|
|
1322
|
+
class Start extends TwiML_1.default {
|
|
1323
|
+
/**
|
|
1324
|
+
* <Start> TwiML Verb
|
|
1325
|
+
*/
|
|
1326
|
+
constructor(start) {
|
|
1327
|
+
super();
|
|
1328
|
+
this.start = start;
|
|
1329
|
+
this._propertyName = "start";
|
|
1330
|
+
}
|
|
1331
|
+
/**
|
|
1332
|
+
* <Siprec> TwiML Noun
|
|
1333
|
+
*
|
|
1334
|
+
* @param attributes - TwiML attributes
|
|
1335
|
+
*/
|
|
1336
|
+
siprec(attributes) {
|
|
1337
|
+
return new VoiceResponse.Siprec(this.start.ele("Siprec", attributes));
|
|
1338
|
+
}
|
|
1339
|
+
/**
|
|
1340
|
+
* <Stream> TwiML Noun
|
|
1341
|
+
*
|
|
1342
|
+
* @param attributes - TwiML attributes
|
|
1343
|
+
*/
|
|
1344
|
+
stream(attributes) {
|
|
1345
|
+
return new VoiceResponse.Stream(this.start.ele("Stream", attributes));
|
|
1346
|
+
}
|
|
1347
|
+
}
|
|
1348
|
+
VoiceResponse.Start = Start;
|
|
1349
|
+
class Stop extends TwiML_1.default {
|
|
1350
|
+
/**
|
|
1351
|
+
* <Stop> TwiML Verb
|
|
1352
|
+
*/
|
|
1353
|
+
constructor(stop) {
|
|
1354
|
+
super();
|
|
1355
|
+
this.stop = stop;
|
|
1356
|
+
this._propertyName = "stop";
|
|
1357
|
+
}
|
|
1358
|
+
/**
|
|
1359
|
+
* <Siprec> TwiML Noun
|
|
1360
|
+
*
|
|
1361
|
+
* @param attributes - TwiML attributes
|
|
1362
|
+
*/
|
|
1363
|
+
siprec(attributes) {
|
|
1364
|
+
return new VoiceResponse.Siprec(this.stop.ele("Siprec", attributes));
|
|
1365
|
+
}
|
|
1366
|
+
/**
|
|
1367
|
+
* <Stream> TwiML Noun
|
|
1368
|
+
*
|
|
1369
|
+
* @param attributes - TwiML attributes
|
|
1370
|
+
*/
|
|
1371
|
+
stream(attributes) {
|
|
1372
|
+
return new VoiceResponse.Stream(this.stop.ele("Stream", attributes));
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
VoiceResponse.Stop = Stop;
|
|
1376
|
+
class Stream extends TwiML_1.default {
|
|
1377
|
+
/**
|
|
1378
|
+
* <Stream> TwiML Noun
|
|
1379
|
+
*/
|
|
1380
|
+
constructor(stream) {
|
|
1381
|
+
super();
|
|
1382
|
+
this.stream = stream;
|
|
1383
|
+
this._propertyName = "stream";
|
|
1384
|
+
}
|
|
1385
|
+
/**
|
|
1386
|
+
* <Parameter> TwiML Noun
|
|
1387
|
+
*
|
|
1388
|
+
* @param attributes - TwiML attributes
|
|
1389
|
+
*/
|
|
1390
|
+
parameter(attributes) {
|
|
1391
|
+
return new VoiceResponse.Parameter(this.stream.ele("Parameter", attributes));
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1394
|
+
VoiceResponse.Stream = Stream;
|
|
1395
|
+
class Task extends TwiML_1.default {
|
|
1396
|
+
/**
|
|
1397
|
+
* <Task> TwiML Noun
|
|
1398
|
+
*/
|
|
1399
|
+
constructor(task) {
|
|
1400
|
+
super();
|
|
1401
|
+
this.task = task;
|
|
1402
|
+
this._propertyName = "task";
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
VoiceResponse.Task = Task;
|
|
1406
|
+
class VirtualAgent extends TwiML_1.default {
|
|
1407
|
+
/**
|
|
1408
|
+
* <VirtualAgent> TwiML Noun
|
|
1409
|
+
*/
|
|
1410
|
+
constructor(virtualAgent) {
|
|
1411
|
+
super();
|
|
1412
|
+
this.virtualAgent = virtualAgent;
|
|
1413
|
+
this._propertyName = "virtualAgent";
|
|
1414
|
+
}
|
|
1415
|
+
/**
|
|
1416
|
+
* <Config> TwiML Noun
|
|
1417
|
+
*
|
|
1418
|
+
* @param attributes - TwiML attributes
|
|
1419
|
+
*/
|
|
1420
|
+
config(attributes) {
|
|
1421
|
+
return new VoiceResponse.Config(this.virtualAgent.ele("Config", attributes));
|
|
1422
|
+
}
|
|
1423
|
+
/**
|
|
1424
|
+
* <Parameter> TwiML Noun
|
|
1425
|
+
*
|
|
1426
|
+
* @param attributes - TwiML attributes
|
|
1427
|
+
*/
|
|
1428
|
+
parameter(attributes) {
|
|
1429
|
+
return new VoiceResponse.Parameter(this.virtualAgent.ele("Parameter", attributes));
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1432
|
+
VoiceResponse.VirtualAgent = VirtualAgent;
|
|
1433
|
+
})(VoiceResponse || (VoiceResponse = {}));
|
|
1434
|
+
exports.default = VoiceResponse;
|