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,387 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { inspect, InspectOptions } from "util";
|
|
3
|
+
import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
4
|
+
import Response from "../../../../http/response";
|
|
5
|
+
import V2010 from "../../V2010";
|
|
6
|
+
import { AddOnResultListInstance } from "./recording/addOnResult";
|
|
7
|
+
import { TranscriptionListInstance } from "./recording/transcription";
|
|
8
|
+
type RecordingSource = "DialVerb" | "Conference" | "OutboundAPI" | "Trunking" | "RecordVerb" | "StartCallRecordingAPI" | "StartConferenceRecordingAPI";
|
|
9
|
+
type RecordingStatus = "in-progress" | "paused" | "stopped" | "processing" | "completed" | "absent" | "deleted";
|
|
10
|
+
/**
|
|
11
|
+
* Options to pass to fetch a RecordingInstance
|
|
12
|
+
*/
|
|
13
|
+
export interface RecordingContextFetchOptions {
|
|
14
|
+
/** A boolean parameter indicating whether to retrieve soft deleted recordings or not. Recordings metadata are kept after deletion for a retention period of 40 days. */
|
|
15
|
+
includeSoftDeleted?: boolean;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Options to pass to each
|
|
19
|
+
*/
|
|
20
|
+
export interface RecordingListInstanceEachOptions {
|
|
21
|
+
/** Only include recordings that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read recordings that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read recordings that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read recordings that were created on or after midnight of this date. */
|
|
22
|
+
dateCreated?: Date;
|
|
23
|
+
/** Only include recordings that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read recordings that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read recordings that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read recordings that were created on or after midnight of this date. */
|
|
24
|
+
dateCreatedBefore?: Date;
|
|
25
|
+
/** Only include recordings that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read recordings that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read recordings that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read recordings that were created on or after midnight of this date. */
|
|
26
|
+
dateCreatedAfter?: Date;
|
|
27
|
+
/** The [Call](https://www.twilio.com/docs/voice/api/call-resource) SID of the resources to read. */
|
|
28
|
+
callSid?: string;
|
|
29
|
+
/** The Conference SID that identifies the conference associated with the recording to read. */
|
|
30
|
+
conferenceSid?: string;
|
|
31
|
+
/** A boolean parameter indicating whether to retrieve soft deleted recordings or not. Recordings metadata are kept after deletion for a retention period of 40 days. */
|
|
32
|
+
includeSoftDeleted?: boolean;
|
|
33
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
|
|
34
|
+
pageSize?: number;
|
|
35
|
+
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
36
|
+
callback?: (item: RecordingInstance, done: (err?: Error) => void) => void;
|
|
37
|
+
/** Function to be called upon completion of streaming */
|
|
38
|
+
done?: Function;
|
|
39
|
+
/** Upper limit for the number of records to return. each() guarantees never to return more than limit. Default is no limit */
|
|
40
|
+
limit?: number;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Options to pass to list
|
|
44
|
+
*/
|
|
45
|
+
export interface RecordingListInstanceOptions {
|
|
46
|
+
/** Only include recordings that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read recordings that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read recordings that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read recordings that were created on or after midnight of this date. */
|
|
47
|
+
dateCreated?: Date;
|
|
48
|
+
/** Only include recordings that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read recordings that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read recordings that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read recordings that were created on or after midnight of this date. */
|
|
49
|
+
dateCreatedBefore?: Date;
|
|
50
|
+
/** Only include recordings that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read recordings that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read recordings that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read recordings that were created on or after midnight of this date. */
|
|
51
|
+
dateCreatedAfter?: Date;
|
|
52
|
+
/** The [Call](https://www.twilio.com/docs/voice/api/call-resource) SID of the resources to read. */
|
|
53
|
+
callSid?: string;
|
|
54
|
+
/** The Conference SID that identifies the conference associated with the recording to read. */
|
|
55
|
+
conferenceSid?: string;
|
|
56
|
+
/** A boolean parameter indicating whether to retrieve soft deleted recordings or not. Recordings metadata are kept after deletion for a retention period of 40 days. */
|
|
57
|
+
includeSoftDeleted?: boolean;
|
|
58
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
|
|
59
|
+
pageSize?: number;
|
|
60
|
+
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
61
|
+
limit?: number;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Options to pass to page
|
|
65
|
+
*/
|
|
66
|
+
export interface RecordingListInstancePageOptions {
|
|
67
|
+
/** Only include recordings that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read recordings that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read recordings that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read recordings that were created on or after midnight of this date. */
|
|
68
|
+
dateCreated?: Date;
|
|
69
|
+
/** Only include recordings that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read recordings that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read recordings that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read recordings that were created on or after midnight of this date. */
|
|
70
|
+
dateCreatedBefore?: Date;
|
|
71
|
+
/** Only include recordings that were created on this date. Specify a date as `YYYY-MM-DD` in GMT, for example: `2009-07-06`, to read recordings that were created on this date. You can also specify an inequality, such as `DateCreated<=YYYY-MM-DD`, to read recordings that were created on or before midnight of this date, and `DateCreated>=YYYY-MM-DD` to read recordings that were created on or after midnight of this date. */
|
|
72
|
+
dateCreatedAfter?: Date;
|
|
73
|
+
/** The [Call](https://www.twilio.com/docs/voice/api/call-resource) SID of the resources to read. */
|
|
74
|
+
callSid?: string;
|
|
75
|
+
/** The Conference SID that identifies the conference associated with the recording to read. */
|
|
76
|
+
conferenceSid?: string;
|
|
77
|
+
/** A boolean parameter indicating whether to retrieve soft deleted recordings or not. Recordings metadata are kept after deletion for a retention period of 40 days. */
|
|
78
|
+
includeSoftDeleted?: boolean;
|
|
79
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
|
|
80
|
+
pageSize?: number;
|
|
81
|
+
/** Page Number, this value is simply for client state */
|
|
82
|
+
pageNumber?: number;
|
|
83
|
+
/** PageToken provided by the API */
|
|
84
|
+
pageToken?: string;
|
|
85
|
+
}
|
|
86
|
+
export interface RecordingContext {
|
|
87
|
+
addOnResults: AddOnResultListInstance;
|
|
88
|
+
transcriptions: TranscriptionListInstance;
|
|
89
|
+
/**
|
|
90
|
+
* Remove a RecordingInstance
|
|
91
|
+
*
|
|
92
|
+
* @param callback - Callback to handle processed record
|
|
93
|
+
*
|
|
94
|
+
* @returns Resolves to processed boolean
|
|
95
|
+
*/
|
|
96
|
+
remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
|
|
97
|
+
/**
|
|
98
|
+
* Fetch a RecordingInstance
|
|
99
|
+
*
|
|
100
|
+
* @param callback - Callback to handle processed record
|
|
101
|
+
*
|
|
102
|
+
* @returns Resolves to processed RecordingInstance
|
|
103
|
+
*/
|
|
104
|
+
fetch(callback?: (error: Error | null, item?: RecordingInstance) => any): Promise<RecordingInstance>;
|
|
105
|
+
/**
|
|
106
|
+
* Fetch a RecordingInstance
|
|
107
|
+
*
|
|
108
|
+
* @param params - Parameter for request
|
|
109
|
+
* @param callback - Callback to handle processed record
|
|
110
|
+
*
|
|
111
|
+
* @returns Resolves to processed RecordingInstance
|
|
112
|
+
*/
|
|
113
|
+
fetch(params: RecordingContextFetchOptions, callback?: (error: Error | null, item?: RecordingInstance) => any): Promise<RecordingInstance>;
|
|
114
|
+
/**
|
|
115
|
+
* Provide a user-friendly representation
|
|
116
|
+
*/
|
|
117
|
+
toJSON(): any;
|
|
118
|
+
[inspect.custom](_depth: any, options: InspectOptions): any;
|
|
119
|
+
}
|
|
120
|
+
export interface RecordingContextSolution {
|
|
121
|
+
accountSid: string;
|
|
122
|
+
sid: string;
|
|
123
|
+
}
|
|
124
|
+
export declare class RecordingContextImpl implements RecordingContext {
|
|
125
|
+
protected _version: V2010;
|
|
126
|
+
protected _solution: RecordingContextSolution;
|
|
127
|
+
protected _uri: string;
|
|
128
|
+
protected _addOnResults?: AddOnResultListInstance;
|
|
129
|
+
protected _transcriptions?: TranscriptionListInstance;
|
|
130
|
+
constructor(_version: V2010, accountSid: string, sid: string);
|
|
131
|
+
get addOnResults(): AddOnResultListInstance;
|
|
132
|
+
get transcriptions(): TranscriptionListInstance;
|
|
133
|
+
remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
|
|
134
|
+
fetch(params?: RecordingContextFetchOptions | ((error: Error | null, item?: RecordingInstance) => any), callback?: (error: Error | null, item?: RecordingInstance) => any): Promise<RecordingInstance>;
|
|
135
|
+
/**
|
|
136
|
+
* Provide a user-friendly representation
|
|
137
|
+
*
|
|
138
|
+
* @returns Object
|
|
139
|
+
*/
|
|
140
|
+
toJSON(): RecordingContextSolution;
|
|
141
|
+
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
142
|
+
}
|
|
143
|
+
interface RecordingPayload extends TwilioResponsePayload {
|
|
144
|
+
recordings: RecordingResource[];
|
|
145
|
+
}
|
|
146
|
+
interface RecordingResource {
|
|
147
|
+
account_sid: string;
|
|
148
|
+
api_version: string;
|
|
149
|
+
call_sid: string;
|
|
150
|
+
conference_sid: string;
|
|
151
|
+
date_created: Date;
|
|
152
|
+
date_updated: Date;
|
|
153
|
+
start_time: Date;
|
|
154
|
+
duration: string;
|
|
155
|
+
sid: string;
|
|
156
|
+
price: string;
|
|
157
|
+
price_unit: string;
|
|
158
|
+
status: RecordingStatus;
|
|
159
|
+
channels: number;
|
|
160
|
+
source: RecordingSource;
|
|
161
|
+
error_code: number;
|
|
162
|
+
uri: string;
|
|
163
|
+
encryption_details: any;
|
|
164
|
+
subresource_uris: Record<string, string>;
|
|
165
|
+
media_url: string;
|
|
166
|
+
}
|
|
167
|
+
export declare class RecordingInstance {
|
|
168
|
+
protected _version: V2010;
|
|
169
|
+
protected _solution: RecordingContextSolution;
|
|
170
|
+
protected _context?: RecordingContext;
|
|
171
|
+
constructor(_version: V2010, payload: RecordingResource, accountSid: string, sid?: string);
|
|
172
|
+
/**
|
|
173
|
+
* The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Recording resource.
|
|
174
|
+
*/
|
|
175
|
+
accountSid: string;
|
|
176
|
+
/**
|
|
177
|
+
* The API version used during the recording.
|
|
178
|
+
*/
|
|
179
|
+
apiVersion: string;
|
|
180
|
+
/**
|
|
181
|
+
* The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Recording resource is associated with. This will always refer to the parent leg of a two-leg call.
|
|
182
|
+
*/
|
|
183
|
+
callSid: string;
|
|
184
|
+
/**
|
|
185
|
+
* The Conference SID that identifies the conference associated with the recording, if a conference recording.
|
|
186
|
+
*/
|
|
187
|
+
conferenceSid: string;
|
|
188
|
+
/**
|
|
189
|
+
* The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
|
|
190
|
+
*/
|
|
191
|
+
dateCreated: Date;
|
|
192
|
+
/**
|
|
193
|
+
* The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
|
|
194
|
+
*/
|
|
195
|
+
dateUpdated: Date;
|
|
196
|
+
/**
|
|
197
|
+
* The start time of the recording in GMT and in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
|
|
198
|
+
*/
|
|
199
|
+
startTime: Date;
|
|
200
|
+
/**
|
|
201
|
+
* The length of the recording in seconds.
|
|
202
|
+
*/
|
|
203
|
+
duration: string;
|
|
204
|
+
/**
|
|
205
|
+
* The unique string that that we created to identify the Recording resource.
|
|
206
|
+
*/
|
|
207
|
+
sid: string;
|
|
208
|
+
/**
|
|
209
|
+
* The one-time cost of creating the recording in the `price_unit` currency.
|
|
210
|
+
*/
|
|
211
|
+
price: string;
|
|
212
|
+
/**
|
|
213
|
+
* The currency used in the `price` property. Example: `USD`.
|
|
214
|
+
*/
|
|
215
|
+
priceUnit: string;
|
|
216
|
+
status: RecordingStatus;
|
|
217
|
+
/**
|
|
218
|
+
* The number of channels in the final recording file. Can be: `1` or `2`. You can split a call with two legs into two separate recording channels if you record using [TwiML Dial](https://www.twilio.com/docs/voice/twiml/dial#record) or the [Outbound Rest API](https://www.twilio.com/docs/voice/make-calls#manage-your-outbound-call).
|
|
219
|
+
*/
|
|
220
|
+
channels: number;
|
|
221
|
+
source: RecordingSource;
|
|
222
|
+
/**
|
|
223
|
+
* The error code that describes why the recording is `absent`. The error code is described in our [Error Dictionary](https://www.twilio.com/docs/api/errors). This value is null if the recording `status` is not `absent`.
|
|
224
|
+
*/
|
|
225
|
+
errorCode: number;
|
|
226
|
+
/**
|
|
227
|
+
* The URI of the resource, relative to `https://api.twilio.com`.
|
|
228
|
+
*/
|
|
229
|
+
uri: string;
|
|
230
|
+
/**
|
|
231
|
+
* How to decrypt the recording if it was encrypted using [Call Recording Encryption](https://www.twilio.com/docs/voice/tutorials/voice-recording-encryption) feature.
|
|
232
|
+
*/
|
|
233
|
+
encryptionDetails: any;
|
|
234
|
+
/**
|
|
235
|
+
* A list of related resources identified by their relative URIs.
|
|
236
|
+
*/
|
|
237
|
+
subresourceUris: Record<string, string>;
|
|
238
|
+
/**
|
|
239
|
+
* The URL of the media file associated with this recording resource. When stored externally, this is the full URL location of the media file.
|
|
240
|
+
*/
|
|
241
|
+
mediaUrl: string;
|
|
242
|
+
private get _proxy();
|
|
243
|
+
/**
|
|
244
|
+
* Remove a RecordingInstance
|
|
245
|
+
*
|
|
246
|
+
* @param callback - Callback to handle processed record
|
|
247
|
+
*
|
|
248
|
+
* @returns Resolves to processed boolean
|
|
249
|
+
*/
|
|
250
|
+
remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
|
|
251
|
+
/**
|
|
252
|
+
* Fetch a RecordingInstance
|
|
253
|
+
*
|
|
254
|
+
* @param callback - Callback to handle processed record
|
|
255
|
+
*
|
|
256
|
+
* @returns Resolves to processed RecordingInstance
|
|
257
|
+
*/
|
|
258
|
+
fetch(callback?: (error: Error | null, item?: RecordingInstance) => any): Promise<RecordingInstance>;
|
|
259
|
+
/**
|
|
260
|
+
* Fetch a RecordingInstance
|
|
261
|
+
*
|
|
262
|
+
* @param params - Parameter for request
|
|
263
|
+
* @param callback - Callback to handle processed record
|
|
264
|
+
*
|
|
265
|
+
* @returns Resolves to processed RecordingInstance
|
|
266
|
+
*/
|
|
267
|
+
fetch(params: RecordingContextFetchOptions, callback?: (error: Error | null, item?: RecordingInstance) => any): Promise<RecordingInstance>;
|
|
268
|
+
/**
|
|
269
|
+
* Access the addOnResults.
|
|
270
|
+
*/
|
|
271
|
+
addOnResults(): AddOnResultListInstance;
|
|
272
|
+
/**
|
|
273
|
+
* Access the transcriptions.
|
|
274
|
+
*/
|
|
275
|
+
transcriptions(): TranscriptionListInstance;
|
|
276
|
+
/**
|
|
277
|
+
* Provide a user-friendly representation
|
|
278
|
+
*
|
|
279
|
+
* @returns Object
|
|
280
|
+
*/
|
|
281
|
+
toJSON(): {
|
|
282
|
+
accountSid: string;
|
|
283
|
+
apiVersion: string;
|
|
284
|
+
callSid: string;
|
|
285
|
+
conferenceSid: string;
|
|
286
|
+
dateCreated: Date;
|
|
287
|
+
dateUpdated: Date;
|
|
288
|
+
startTime: Date;
|
|
289
|
+
duration: string;
|
|
290
|
+
sid: string;
|
|
291
|
+
price: string;
|
|
292
|
+
priceUnit: string;
|
|
293
|
+
status: RecordingStatus;
|
|
294
|
+
channels: number;
|
|
295
|
+
source: RecordingSource;
|
|
296
|
+
errorCode: number;
|
|
297
|
+
uri: string;
|
|
298
|
+
encryptionDetails: any;
|
|
299
|
+
subresourceUris: Record<string, string>;
|
|
300
|
+
mediaUrl: string;
|
|
301
|
+
};
|
|
302
|
+
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
303
|
+
}
|
|
304
|
+
export interface RecordingSolution {
|
|
305
|
+
accountSid: string;
|
|
306
|
+
}
|
|
307
|
+
export interface RecordingListInstance {
|
|
308
|
+
_version: V2010;
|
|
309
|
+
_solution: RecordingSolution;
|
|
310
|
+
_uri: string;
|
|
311
|
+
(sid: string): RecordingContext;
|
|
312
|
+
get(sid: string): RecordingContext;
|
|
313
|
+
/**
|
|
314
|
+
* Streams RecordingInstance records from the API.
|
|
315
|
+
*
|
|
316
|
+
* This operation lazily loads records as efficiently as possible until the limit
|
|
317
|
+
* is reached.
|
|
318
|
+
*
|
|
319
|
+
* The results are passed into the callback function, so this operation is memory
|
|
320
|
+
* efficient.
|
|
321
|
+
*
|
|
322
|
+
* If a function is passed as the first argument, it will be used as the callback
|
|
323
|
+
* function.
|
|
324
|
+
*
|
|
325
|
+
* @param { RecordingListInstanceEachOptions } [params] - Options for request
|
|
326
|
+
* @param { function } [callback] - Function to process each record
|
|
327
|
+
*/
|
|
328
|
+
each(callback?: (item: RecordingInstance, done: (err?: Error) => void) => void): void;
|
|
329
|
+
each(params: RecordingListInstanceEachOptions, callback?: (item: RecordingInstance, done: (err?: Error) => void) => void): void;
|
|
330
|
+
/**
|
|
331
|
+
* Retrieve a single target page of RecordingInstance records from the API.
|
|
332
|
+
*
|
|
333
|
+
* The request is executed immediately.
|
|
334
|
+
*
|
|
335
|
+
* @param { string } [targetUrl] - API-generated URL for the requested results page
|
|
336
|
+
* @param { function } [callback] - Callback to handle list of records
|
|
337
|
+
*/
|
|
338
|
+
getPage(targetUrl: string, callback?: (error: Error | null, items: RecordingPage) => any): Promise<RecordingPage>;
|
|
339
|
+
/**
|
|
340
|
+
* Lists RecordingInstance records from the API as a list.
|
|
341
|
+
*
|
|
342
|
+
* If a function is passed as the first argument, it will be used as the callback
|
|
343
|
+
* function.
|
|
344
|
+
*
|
|
345
|
+
* @param { RecordingListInstanceOptions } [params] - Options for request
|
|
346
|
+
* @param { function } [callback] - Callback to handle list of records
|
|
347
|
+
*/
|
|
348
|
+
list(callback?: (error: Error | null, items: RecordingInstance[]) => any): Promise<RecordingInstance[]>;
|
|
349
|
+
list(params: RecordingListInstanceOptions, callback?: (error: Error | null, items: RecordingInstance[]) => any): Promise<RecordingInstance[]>;
|
|
350
|
+
/**
|
|
351
|
+
* Retrieve a single page of RecordingInstance records from the API.
|
|
352
|
+
*
|
|
353
|
+
* The request is executed immediately.
|
|
354
|
+
*
|
|
355
|
+
* If a function is passed as the first argument, it will be used as the callback
|
|
356
|
+
* function.
|
|
357
|
+
*
|
|
358
|
+
* @param { RecordingListInstancePageOptions } [params] - Options for request
|
|
359
|
+
* @param { function } [callback] - Callback to handle list of records
|
|
360
|
+
*/
|
|
361
|
+
page(callback?: (error: Error | null, items: RecordingPage) => any): Promise<RecordingPage>;
|
|
362
|
+
page(params: RecordingListInstancePageOptions, callback?: (error: Error | null, items: RecordingPage) => any): Promise<RecordingPage>;
|
|
363
|
+
/**
|
|
364
|
+
* Provide a user-friendly representation
|
|
365
|
+
*/
|
|
366
|
+
toJSON(): any;
|
|
367
|
+
[inspect.custom](_depth: any, options: InspectOptions): any;
|
|
368
|
+
}
|
|
369
|
+
export declare function RecordingListInstance(version: V2010, accountSid: string): RecordingListInstance;
|
|
370
|
+
export declare class RecordingPage extends Page<V2010, RecordingPayload, RecordingResource, RecordingInstance> {
|
|
371
|
+
/**
|
|
372
|
+
* Initialize the RecordingPage
|
|
373
|
+
*
|
|
374
|
+
* @param version - Version of the resource
|
|
375
|
+
* @param response - Response from the API
|
|
376
|
+
* @param solution - Path solution
|
|
377
|
+
*/
|
|
378
|
+
constructor(version: V2010, response: Response<string>, solution: RecordingSolution);
|
|
379
|
+
/**
|
|
380
|
+
* Build an instance of RecordingInstance
|
|
381
|
+
*
|
|
382
|
+
* @param payload - Payload response from the API
|
|
383
|
+
*/
|
|
384
|
+
getInstance(payload: RecordingResource): RecordingInstance;
|
|
385
|
+
[inspect.custom](depth: any, options: InspectOptions): string;
|
|
386
|
+
}
|
|
387
|
+
export {};
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* This code was generated by
|
|
4
|
+
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
|
5
|
+
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
|
6
|
+
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
|
7
|
+
*
|
|
8
|
+
* Twilio - Api
|
|
9
|
+
* This is the public Twilio REST API.
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.RecordingPage = exports.RecordingListInstance = exports.RecordingInstance = exports.RecordingContextImpl = void 0;
|
|
20
|
+
const util_1 = require("util");
|
|
21
|
+
const Page_1 = __importDefault(require("../../../../base/Page"));
|
|
22
|
+
const deserialize = require("../../../../base/deserialize");
|
|
23
|
+
const serialize = require("../../../../base/serialize");
|
|
24
|
+
const utility_1 = require("../../../../base/utility");
|
|
25
|
+
const addOnResult_1 = require("./recording/addOnResult");
|
|
26
|
+
const transcription_1 = require("./recording/transcription");
|
|
27
|
+
class RecordingContextImpl {
|
|
28
|
+
constructor(_version, accountSid, sid) {
|
|
29
|
+
this._version = _version;
|
|
30
|
+
if (!(0, utility_1.isValidPathParam)(accountSid)) {
|
|
31
|
+
throw new Error("Parameter 'accountSid' is not valid.");
|
|
32
|
+
}
|
|
33
|
+
if (!(0, utility_1.isValidPathParam)(sid)) {
|
|
34
|
+
throw new Error("Parameter 'sid' is not valid.");
|
|
35
|
+
}
|
|
36
|
+
this._solution = { accountSid, sid };
|
|
37
|
+
this._uri = `/Accounts/${accountSid}/Recordings/${sid}.json`;
|
|
38
|
+
}
|
|
39
|
+
get addOnResults() {
|
|
40
|
+
this._addOnResults =
|
|
41
|
+
this._addOnResults ||
|
|
42
|
+
(0, addOnResult_1.AddOnResultListInstance)(this._version, this._solution.accountSid, this._solution.sid);
|
|
43
|
+
return this._addOnResults;
|
|
44
|
+
}
|
|
45
|
+
get transcriptions() {
|
|
46
|
+
this._transcriptions =
|
|
47
|
+
this._transcriptions ||
|
|
48
|
+
(0, transcription_1.TranscriptionListInstance)(this._version, this._solution.accountSid, this._solution.sid);
|
|
49
|
+
return this._transcriptions;
|
|
50
|
+
}
|
|
51
|
+
remove(callback) {
|
|
52
|
+
const instance = this;
|
|
53
|
+
let operationVersion = instance._version, operationPromise = operationVersion.remove({
|
|
54
|
+
uri: instance._uri,
|
|
55
|
+
method: "delete",
|
|
56
|
+
});
|
|
57
|
+
operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
|
|
58
|
+
return operationPromise;
|
|
59
|
+
}
|
|
60
|
+
fetch(params, callback) {
|
|
61
|
+
if (params instanceof Function) {
|
|
62
|
+
callback = params;
|
|
63
|
+
params = {};
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
params = params || {};
|
|
67
|
+
}
|
|
68
|
+
let data = {};
|
|
69
|
+
if (params["includeSoftDeleted"] !== undefined)
|
|
70
|
+
data["IncludeSoftDeleted"] = serialize.bool(params["includeSoftDeleted"]);
|
|
71
|
+
const headers = {};
|
|
72
|
+
const instance = this;
|
|
73
|
+
let operationVersion = instance._version, operationPromise = operationVersion.fetch({
|
|
74
|
+
uri: instance._uri,
|
|
75
|
+
method: "get",
|
|
76
|
+
params: data,
|
|
77
|
+
headers,
|
|
78
|
+
});
|
|
79
|
+
operationPromise = operationPromise.then((payload) => new RecordingInstance(operationVersion, payload, instance._solution.accountSid, instance._solution.sid));
|
|
80
|
+
operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
|
|
81
|
+
return operationPromise;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Provide a user-friendly representation
|
|
85
|
+
*
|
|
86
|
+
* @returns Object
|
|
87
|
+
*/
|
|
88
|
+
toJSON() {
|
|
89
|
+
return this._solution;
|
|
90
|
+
}
|
|
91
|
+
[util_1.inspect.custom](_depth, options) {
|
|
92
|
+
return (0, util_1.inspect)(this.toJSON(), options);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.RecordingContextImpl = RecordingContextImpl;
|
|
96
|
+
class RecordingInstance {
|
|
97
|
+
constructor(_version, payload, accountSid, sid) {
|
|
98
|
+
this._version = _version;
|
|
99
|
+
this.accountSid = payload.account_sid;
|
|
100
|
+
this.apiVersion = payload.api_version;
|
|
101
|
+
this.callSid = payload.call_sid;
|
|
102
|
+
this.conferenceSid = payload.conference_sid;
|
|
103
|
+
this.dateCreated = deserialize.rfc2822DateTime(payload.date_created);
|
|
104
|
+
this.dateUpdated = deserialize.rfc2822DateTime(payload.date_updated);
|
|
105
|
+
this.startTime = deserialize.rfc2822DateTime(payload.start_time);
|
|
106
|
+
this.duration = payload.duration;
|
|
107
|
+
this.sid = payload.sid;
|
|
108
|
+
this.price = payload.price;
|
|
109
|
+
this.priceUnit = payload.price_unit;
|
|
110
|
+
this.status = payload.status;
|
|
111
|
+
this.channels = deserialize.integer(payload.channels);
|
|
112
|
+
this.source = payload.source;
|
|
113
|
+
this.errorCode = deserialize.integer(payload.error_code);
|
|
114
|
+
this.uri = payload.uri;
|
|
115
|
+
this.encryptionDetails = payload.encryption_details;
|
|
116
|
+
this.subresourceUris = payload.subresource_uris;
|
|
117
|
+
this.mediaUrl = payload.media_url;
|
|
118
|
+
this._solution = { accountSid, sid: sid || this.sid };
|
|
119
|
+
}
|
|
120
|
+
get _proxy() {
|
|
121
|
+
this._context =
|
|
122
|
+
this._context ||
|
|
123
|
+
new RecordingContextImpl(this._version, this._solution.accountSid, this._solution.sid);
|
|
124
|
+
return this._context;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Remove a RecordingInstance
|
|
128
|
+
*
|
|
129
|
+
* @param callback - Callback to handle processed record
|
|
130
|
+
*
|
|
131
|
+
* @returns Resolves to processed boolean
|
|
132
|
+
*/
|
|
133
|
+
remove(callback) {
|
|
134
|
+
return this._proxy.remove(callback);
|
|
135
|
+
}
|
|
136
|
+
fetch(params, callback) {
|
|
137
|
+
return this._proxy.fetch(params, callback);
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Access the addOnResults.
|
|
141
|
+
*/
|
|
142
|
+
addOnResults() {
|
|
143
|
+
return this._proxy.addOnResults;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Access the transcriptions.
|
|
147
|
+
*/
|
|
148
|
+
transcriptions() {
|
|
149
|
+
return this._proxy.transcriptions;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Provide a user-friendly representation
|
|
153
|
+
*
|
|
154
|
+
* @returns Object
|
|
155
|
+
*/
|
|
156
|
+
toJSON() {
|
|
157
|
+
return {
|
|
158
|
+
accountSid: this.accountSid,
|
|
159
|
+
apiVersion: this.apiVersion,
|
|
160
|
+
callSid: this.callSid,
|
|
161
|
+
conferenceSid: this.conferenceSid,
|
|
162
|
+
dateCreated: this.dateCreated,
|
|
163
|
+
dateUpdated: this.dateUpdated,
|
|
164
|
+
startTime: this.startTime,
|
|
165
|
+
duration: this.duration,
|
|
166
|
+
sid: this.sid,
|
|
167
|
+
price: this.price,
|
|
168
|
+
priceUnit: this.priceUnit,
|
|
169
|
+
status: this.status,
|
|
170
|
+
channels: this.channels,
|
|
171
|
+
source: this.source,
|
|
172
|
+
errorCode: this.errorCode,
|
|
173
|
+
uri: this.uri,
|
|
174
|
+
encryptionDetails: this.encryptionDetails,
|
|
175
|
+
subresourceUris: this.subresourceUris,
|
|
176
|
+
mediaUrl: this.mediaUrl,
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
[util_1.inspect.custom](_depth, options) {
|
|
180
|
+
return (0, util_1.inspect)(this.toJSON(), options);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
exports.RecordingInstance = RecordingInstance;
|
|
184
|
+
function RecordingListInstance(version, accountSid) {
|
|
185
|
+
if (!(0, utility_1.isValidPathParam)(accountSid)) {
|
|
186
|
+
throw new Error("Parameter 'accountSid' is not valid.");
|
|
187
|
+
}
|
|
188
|
+
const instance = ((sid) => instance.get(sid));
|
|
189
|
+
instance.get = function get(sid) {
|
|
190
|
+
return new RecordingContextImpl(version, accountSid, sid);
|
|
191
|
+
};
|
|
192
|
+
instance._version = version;
|
|
193
|
+
instance._solution = { accountSid };
|
|
194
|
+
instance._uri = `/Accounts/${accountSid}/Recordings.json`;
|
|
195
|
+
instance.page = function page(params, callback) {
|
|
196
|
+
if (params instanceof Function) {
|
|
197
|
+
callback = params;
|
|
198
|
+
params = {};
|
|
199
|
+
}
|
|
200
|
+
else {
|
|
201
|
+
params = params || {};
|
|
202
|
+
}
|
|
203
|
+
let data = {};
|
|
204
|
+
if (params["dateCreated"] !== undefined)
|
|
205
|
+
data["DateCreated"] = serialize.iso8601DateTime(params["dateCreated"]);
|
|
206
|
+
if (params["dateCreatedBefore"] !== undefined)
|
|
207
|
+
data["DateCreated<"] = serialize.iso8601DateTime(params["dateCreatedBefore"]);
|
|
208
|
+
if (params["dateCreatedAfter"] !== undefined)
|
|
209
|
+
data["DateCreated>"] = serialize.iso8601DateTime(params["dateCreatedAfter"]);
|
|
210
|
+
if (params["callSid"] !== undefined)
|
|
211
|
+
data["CallSid"] = params["callSid"];
|
|
212
|
+
if (params["conferenceSid"] !== undefined)
|
|
213
|
+
data["ConferenceSid"] = params["conferenceSid"];
|
|
214
|
+
if (params["includeSoftDeleted"] !== undefined)
|
|
215
|
+
data["IncludeSoftDeleted"] = serialize.bool(params["includeSoftDeleted"]);
|
|
216
|
+
if (params["pageSize"] !== undefined)
|
|
217
|
+
data["PageSize"] = params["pageSize"];
|
|
218
|
+
if (params.pageNumber !== undefined)
|
|
219
|
+
data["Page"] = params.pageNumber;
|
|
220
|
+
if (params.pageToken !== undefined)
|
|
221
|
+
data["PageToken"] = params.pageToken;
|
|
222
|
+
const headers = {};
|
|
223
|
+
let operationVersion = version, operationPromise = operationVersion.page({
|
|
224
|
+
uri: instance._uri,
|
|
225
|
+
method: "get",
|
|
226
|
+
params: data,
|
|
227
|
+
headers,
|
|
228
|
+
});
|
|
229
|
+
operationPromise = operationPromise.then((payload) => new RecordingPage(operationVersion, payload, instance._solution));
|
|
230
|
+
operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
|
|
231
|
+
return operationPromise;
|
|
232
|
+
};
|
|
233
|
+
instance.each = instance._version.each;
|
|
234
|
+
instance.list = instance._version.list;
|
|
235
|
+
instance.getPage = function getPage(targetUrl, callback) {
|
|
236
|
+
const operationPromise = instance._version._domain.twilio.request({
|
|
237
|
+
method: "get",
|
|
238
|
+
uri: targetUrl,
|
|
239
|
+
});
|
|
240
|
+
let pagePromise = operationPromise.then((payload) => new RecordingPage(instance._version, payload, instance._solution));
|
|
241
|
+
pagePromise = instance._version.setPromiseCallback(pagePromise, callback);
|
|
242
|
+
return pagePromise;
|
|
243
|
+
};
|
|
244
|
+
instance.toJSON = function toJSON() {
|
|
245
|
+
return instance._solution;
|
|
246
|
+
};
|
|
247
|
+
instance[util_1.inspect.custom] = function inspectImpl(_depth, options) {
|
|
248
|
+
return (0, util_1.inspect)(instance.toJSON(), options);
|
|
249
|
+
};
|
|
250
|
+
return instance;
|
|
251
|
+
}
|
|
252
|
+
exports.RecordingListInstance = RecordingListInstance;
|
|
253
|
+
class RecordingPage extends Page_1.default {
|
|
254
|
+
/**
|
|
255
|
+
* Initialize the RecordingPage
|
|
256
|
+
*
|
|
257
|
+
* @param version - Version of the resource
|
|
258
|
+
* @param response - Response from the API
|
|
259
|
+
* @param solution - Path solution
|
|
260
|
+
*/
|
|
261
|
+
constructor(version, response, solution) {
|
|
262
|
+
super(version, response, solution);
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Build an instance of RecordingInstance
|
|
266
|
+
*
|
|
267
|
+
* @param payload - Payload response from the API
|
|
268
|
+
*/
|
|
269
|
+
getInstance(payload) {
|
|
270
|
+
return new RecordingInstance(this._version, payload, this._solution.accountSid);
|
|
271
|
+
}
|
|
272
|
+
[util_1.inspect.custom](depth, options) {
|
|
273
|
+
return (0, util_1.inspect)(this.toJSON(), options);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
exports.RecordingPage = RecordingPage;
|