twilio 5.10.7 → 5.11.0
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/package.json +1 -1
- package/lib/auth_strategy/AuthStrategy.d.ts +0 -7
- package/lib/auth_strategy/AuthStrategy.js +0 -11
- package/lib/auth_strategy/BasicAuthStrategy.d.ts +0 -8
- package/lib/auth_strategy/BasicAuthStrategy.js +0 -21
- package/lib/auth_strategy/NoAuthStrategy.d.ts +0 -6
- package/lib/auth_strategy/NoAuthStrategy.js +0 -18
- package/lib/auth_strategy/TokenAuthStrategy.d.ts +0 -16
- package/lib/auth_strategy/TokenAuthStrategy.js +0 -60
- package/lib/base/BaseTwilio.d.ts +0 -122
- package/lib/base/BaseTwilio.js +0 -254
- package/lib/base/Domain.d.ts +0 -29
- package/lib/base/Domain.js +0 -53
- package/lib/base/Page.d.ts +0 -104
- package/lib/base/Page.js +0 -195
- package/lib/base/RequestClient.d.ts +0 -186
- package/lib/base/RequestClient.js +0 -281
- package/lib/base/RestException.d.ts +0 -16
- package/lib/base/RestException.js +0 -33
- package/lib/base/ValidationClient.d.ts +0 -10
- package/lib/base/ValidationClient.js +0 -2
- package/lib/base/Version.d.ts +0 -129
- package/lib/base/Version.js +0 -336
- package/lib/base/deserialize.d.ts +0 -41
- package/lib/base/deserialize.js +0 -75
- package/lib/base/serialize.d.ts +0 -53
- package/lib/base/serialize.js +0 -121
- package/lib/base/utility.d.ts +0 -2
- package/lib/base/utility.js +0 -13
- package/lib/base/values.d.ts +0 -10
- package/lib/base/values.js +0 -15
- package/lib/credential_provider/ClientCredentialProvider.d.ts +0 -22
- package/lib/credential_provider/ClientCredentialProvider.js +0 -50
- package/lib/credential_provider/CredentialProvider.d.ts +0 -7
- package/lib/credential_provider/CredentialProvider.js +0 -11
- package/lib/credential_provider/NoAuthCredentialProvider.d.ts +0 -9
- package/lib/credential_provider/NoAuthCredentialProvider.js +0 -19
- package/lib/credential_provider/OrgsCredentialProvider.d.ts +0 -22
- package/lib/credential_provider/OrgsCredentialProvider.js +0 -50
- package/lib/http/bearer_token/ApiTokenManager.d.ts +0 -8
- package/lib/http/bearer_token/ApiTokenManager.js +0 -33
- package/lib/http/bearer_token/OrgsTokenManager.d.ts +0 -8
- package/lib/http/bearer_token/OrgsTokenManager.js +0 -33
- package/lib/http/bearer_token/TokenManager.d.ts +0 -3
- package/lib/http/bearer_token/TokenManager.js +0 -5
- package/lib/http/request.d.ts +0 -25
- package/lib/http/request.js +0 -85
- package/lib/http/response.d.ts +0 -7
- package/lib/http/response.js +0 -13
- package/lib/index.d.ts +0 -70
- package/lib/index.js +0 -90
- package/lib/interfaces.d.ts +0 -94
- package/lib/interfaces.js +0 -2
- package/lib/jwt/AccessToken.d.ts +0 -186
- package/lib/jwt/AccessToken.js +0 -256
- package/lib/jwt/ClientCapability.d.ts +0 -61
- package/lib/jwt/ClientCapability.js +0 -122
- package/lib/jwt/taskrouter/TaskRouterCapability.d.ts +0 -74
- package/lib/jwt/taskrouter/TaskRouterCapability.js +0 -101
- package/lib/jwt/taskrouter/util.d.ts +0 -66
- package/lib/jwt/taskrouter/util.js +0 -168
- package/lib/jwt/validation/RequestCanonicalizer.d.ts +0 -20
- package/lib/jwt/validation/RequestCanonicalizer.js +0 -97
- package/lib/jwt/validation/ValidationToken.d.ts +0 -45
- package/lib/jwt/validation/ValidationToken.js +0 -121
- package/lib/rest/Accounts.d.ts +0 -19
- package/lib/rest/Accounts.js +0 -29
- package/lib/rest/AccountsBase.d.ts +0 -13
- package/lib/rest/AccountsBase.js +0 -31
- package/lib/rest/Api.d.ts +0 -127
- package/lib/rest/Api.js +0 -182
- package/lib/rest/ApiBase.d.ts +0 -13
- package/lib/rest/ApiBase.js +0 -31
- package/lib/rest/Assistants.d.ts +0 -4
- package/lib/rest/Assistants.js +0 -8
- package/lib/rest/AssistantsBase.d.ts +0 -13
- package/lib/rest/AssistantsBase.js +0 -31
- package/lib/rest/Bulkexports.d.ts +0 -14
- package/lib/rest/Bulkexports.js +0 -22
- package/lib/rest/BulkexportsBase.d.ts +0 -13
- package/lib/rest/BulkexportsBase.js +0 -31
- package/lib/rest/Chat.d.ts +0 -19
- package/lib/rest/Chat.js +0 -29
- package/lib/rest/ChatBase.d.ts +0 -19
- package/lib/rest/ChatBase.js +0 -41
- package/lib/rest/Content.d.ts +0 -9
- package/lib/rest/Content.js +0 -15
- package/lib/rest/ContentBase.d.ts +0 -16
- package/lib/rest/ContentBase.js +0 -36
- package/lib/rest/Conversations.d.ts +0 -44
- package/lib/rest/Conversations.js +0 -64
- package/lib/rest/ConversationsBase.d.ts +0 -13
- package/lib/rest/ConversationsBase.js +0 -31
- package/lib/rest/Events.d.ts +0 -24
- package/lib/rest/Events.js +0 -36
- package/lib/rest/EventsBase.d.ts +0 -13
- package/lib/rest/EventsBase.js +0 -31
- package/lib/rest/FlexApi.d.ts +0 -39
- package/lib/rest/FlexApi.js +0 -57
- package/lib/rest/FlexApiBase.d.ts +0 -16
- package/lib/rest/FlexApiBase.js +0 -36
- package/lib/rest/FrontlineApi.d.ts +0 -9
- package/lib/rest/FrontlineApi.js +0 -15
- package/lib/rest/FrontlineApiBase.d.ts +0 -13
- package/lib/rest/FrontlineApiBase.js +0 -31
- package/lib/rest/Iam.d.ts +0 -4
- package/lib/rest/Iam.js +0 -8
- package/lib/rest/IamBase.d.ts +0 -13
- package/lib/rest/IamBase.js +0 -31
- package/lib/rest/Insights.d.ts +0 -29
- package/lib/rest/Insights.js +0 -43
- package/lib/rest/InsightsBase.d.ts +0 -13
- package/lib/rest/InsightsBase.js +0 -31
- package/lib/rest/Intelligence.d.ts +0 -4
- package/lib/rest/Intelligence.js +0 -8
- package/lib/rest/IntelligenceBase.d.ts +0 -13
- package/lib/rest/IntelligenceBase.js +0 -31
- package/lib/rest/IpMessaging.d.ts +0 -14
- package/lib/rest/IpMessaging.js +0 -22
- package/lib/rest/IpMessagingBase.d.ts +0 -16
- package/lib/rest/IpMessagingBase.js +0 -36
- package/lib/rest/Knowledge.d.ts +0 -4
- package/lib/rest/Knowledge.js +0 -8
- package/lib/rest/KnowledgeBase.d.ts +0 -13
- package/lib/rest/KnowledgeBase.js +0 -31
- package/lib/rest/Lookups.d.ts +0 -9
- package/lib/rest/Lookups.js +0 -15
- package/lib/rest/LookupsBase.d.ts +0 -16
- package/lib/rest/LookupsBase.js +0 -36
- package/lib/rest/Marketplace.d.ts +0 -4
- package/lib/rest/Marketplace.js +0 -8
- package/lib/rest/MarketplaceBase.d.ts +0 -13
- package/lib/rest/MarketplaceBase.js +0 -31
- package/lib/rest/Messaging.d.ts +0 -39
- package/lib/rest/Messaging.js +0 -57
- package/lib/rest/MessagingBase.d.ts +0 -16
- package/lib/rest/MessagingBase.js +0 -36
- package/lib/rest/Monitor.d.ts +0 -14
- package/lib/rest/Monitor.js +0 -22
- package/lib/rest/MonitorBase.d.ts +0 -13
- package/lib/rest/MonitorBase.js +0 -31
- package/lib/rest/Notify.d.ts +0 -14
- package/lib/rest/Notify.js +0 -22
- package/lib/rest/NotifyBase.d.ts +0 -13
- package/lib/rest/NotifyBase.js +0 -31
- package/lib/rest/Numbers.d.ts +0 -9
- package/lib/rest/Numbers.js +0 -15
- package/lib/rest/NumbersBase.d.ts +0 -19
- package/lib/rest/NumbersBase.js +0 -41
- package/lib/rest/Oauth.d.ts +0 -4
- package/lib/rest/Oauth.js +0 -8
- package/lib/rest/OauthBase.d.ts +0 -16
- package/lib/rest/OauthBase.js +0 -36
- package/lib/rest/Preview.d.ts +0 -39
- package/lib/rest/Preview.js +0 -57
- package/lib/rest/PreviewBase.d.ts +0 -19
- package/lib/rest/PreviewBase.js +0 -41
- package/lib/rest/PreviewIam.d.ts +0 -18
- package/lib/rest/PreviewIam.js +0 -29
- package/lib/rest/PreviewIamBase.d.ts +0 -13
- package/lib/rest/PreviewIamBase.js +0 -31
- package/lib/rest/Pricing.d.ts +0 -29
- package/lib/rest/Pricing.js +0 -43
- package/lib/rest/PricingBase.d.ts +0 -16
- package/lib/rest/PricingBase.js +0 -36
- package/lib/rest/Proxy.d.ts +0 -9
- package/lib/rest/Proxy.js +0 -15
- package/lib/rest/ProxyBase.d.ts +0 -13
- package/lib/rest/ProxyBase.js +0 -31
- package/lib/rest/Routes.d.ts +0 -19
- package/lib/rest/Routes.js +0 -29
- package/lib/rest/RoutesBase.d.ts +0 -13
- package/lib/rest/RoutesBase.js +0 -31
- package/lib/rest/Serverless.d.ts +0 -9
- package/lib/rest/Serverless.js +0 -15
- package/lib/rest/ServerlessBase.d.ts +0 -13
- package/lib/rest/ServerlessBase.js +0 -31
- package/lib/rest/Studio.d.ts +0 -14
- package/lib/rest/Studio.js +0 -22
- package/lib/rest/StudioBase.d.ts +0 -16
- package/lib/rest/StudioBase.js +0 -36
- package/lib/rest/Supersim.d.ts +0 -49
- package/lib/rest/Supersim.js +0 -71
- package/lib/rest/SupersimBase.d.ts +0 -13
- package/lib/rest/SupersimBase.js +0 -31
- package/lib/rest/Sync.d.ts +0 -9
- package/lib/rest/Sync.js +0 -15
- package/lib/rest/SyncBase.d.ts +0 -13
- package/lib/rest/SyncBase.js +0 -31
- package/lib/rest/Taskrouter.d.ts +0 -9
- package/lib/rest/Taskrouter.js +0 -15
- package/lib/rest/TaskrouterBase.d.ts +0 -13
- package/lib/rest/TaskrouterBase.js +0 -31
- package/lib/rest/Trunking.d.ts +0 -9
- package/lib/rest/Trunking.js +0 -15
- package/lib/rest/TrunkingBase.d.ts +0 -13
- package/lib/rest/TrunkingBase.js +0 -31
- package/lib/rest/Trusthub.d.ts +0 -39
- package/lib/rest/Trusthub.js +0 -57
- package/lib/rest/TrusthubBase.d.ts +0 -13
- package/lib/rest/TrusthubBase.js +0 -31
- package/lib/rest/Twilio.d.ts +0 -287
- package/lib/rest/Twilio.js +0 -335
- package/lib/rest/Verify.d.ts +0 -29
- package/lib/rest/Verify.js +0 -43
- package/lib/rest/VerifyBase.d.ts +0 -13
- package/lib/rest/VerifyBase.js +0 -31
- package/lib/rest/Video.d.ts +0 -34
- package/lib/rest/Video.js +0 -50
- package/lib/rest/VideoBase.d.ts +0 -13
- package/lib/rest/VideoBase.js +0 -31
- package/lib/rest/Voice.d.ts +0 -34
- package/lib/rest/Voice.js +0 -50
- package/lib/rest/VoiceBase.d.ts +0 -13
- package/lib/rest/VoiceBase.js +0 -31
- package/lib/rest/Wireless.d.ts +0 -24
- package/lib/rest/Wireless.js +0 -36
- package/lib/rest/WirelessBase.d.ts +0 -13
- package/lib/rest/WirelessBase.js +0 -31
- package/lib/rest/accounts/V1.d.ts +0 -45
- package/lib/rest/accounts/V1.js +0 -76
- package/lib/rest/accounts/v1/authTokenPromotion.d.ts +0 -104
- package/lib/rest/accounts/v1/authTokenPromotion.js +0 -112
- package/lib/rest/accounts/v1/bulkConsents.d.ts +0 -52
- package/lib/rest/accounts/v1/bulkConsents.js +0 -75
- package/lib/rest/accounts/v1/bulkContacts.d.ts +0 -52
- package/lib/rest/accounts/v1/bulkContacts.js +0 -75
- package/lib/rest/accounts/v1/credential/aws.d.ts +0 -295
- package/lib/rest/accounts/v1/credential/aws.js +0 -259
- package/lib/rest/accounts/v1/credential/publicKey.d.ts +0 -295
- package/lib/rest/accounts/v1/credential/publicKey.js +0 -260
- package/lib/rest/accounts/v1/credential.d.ts +0 -21
- package/lib/rest/accounts/v1/credential.js +0 -50
- package/lib/rest/accounts/v1/messagingGeopermissions.d.ts +0 -76
- package/lib/rest/accounts/v1/messagingGeopermissions.js +0 -98
- package/lib/rest/accounts/v1/safelist.d.ts +0 -106
- package/lib/rest/accounts/v1/safelist.js +0 -121
- package/lib/rest/accounts/v1/secondaryAuthToken.d.ts +0 -121
- package/lib/rest/accounts/v1/secondaryAuthToken.js +0 -133
- package/lib/rest/api/V2010.d.ts +0 -20
- package/lib/rest/api/V2010.js +0 -42
- package/lib/rest/api/v2010/account/address/dependentPhoneNumber.d.ts +0 -295
- package/lib/rest/api/v2010/account/address/dependentPhoneNumber.js +0 -176
- package/lib/rest/api/v2010/account/address.d.ts +0 -419
- package/lib/rest/api/v2010/account/address.js +0 -348
- package/lib/rest/api/v2010/account/application.d.ts +0 -457
- package/lib/rest/api/v2010/account/application.js +0 -357
- package/lib/rest/api/v2010/account/authorizedConnectApp.d.ts +0 -234
- package/lib/rest/api/v2010/account/authorizedConnectApp.js +0 -198
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/local.d.ts +0 -321
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/local.js +0 -186
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/machineToMachine.d.ts +0 -321
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/machineToMachine.js +0 -186
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/mobile.d.ts +0 -321
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/mobile.js +0 -186
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/national.d.ts +0 -321
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/national.js +0 -186
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/sharedCost.d.ts +0 -321
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/sharedCost.js +0 -186
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/tollFree.d.ts +0 -321
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/tollFree.js +0 -186
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/voip.d.ts +0 -321
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry/voip.js +0 -186
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry.d.ts +0 -268
- package/lib/rest/api/v2010/account/availablePhoneNumberCountry.js +0 -283
- package/lib/rest/api/v2010/account/balance.d.ts +0 -57
- package/lib/rest/api/v2010/account/balance.js +0 -73
- package/lib/rest/api/v2010/account/call/event.d.ts +0 -149
- package/lib/rest/api/v2010/account/call/event.js +0 -128
- package/lib/rest/api/v2010/account/call/notification.d.ts +0 -310
- package/lib/rest/api/v2010/account/call/notification.js +0 -227
- package/lib/rest/api/v2010/account/call/payment.d.ts +0 -196
- package/lib/rest/api/v2010/account/call/payment.js +0 -200
- package/lib/rest/api/v2010/account/call/recording.d.ts +0 -391
- package/lib/rest/api/v2010/account/call/recording.js +0 -311
- package/lib/rest/api/v2010/account/call/siprec.d.ts +0 -564
- package/lib/rest/api/v2010/account/call/siprec.js +0 -564
- package/lib/rest/api/v2010/account/call/stream.d.ts +0 -556
- package/lib/rest/api/v2010/account/call/stream.js +0 -562
- package/lib/rest/api/v2010/account/call/transcription.d.ts +0 -183
- package/lib/rest/api/v2010/account/call/transcription.js +0 -186
- package/lib/rest/api/v2010/account/call/userDefinedMessage.d.ts +0 -74
- package/lib/rest/api/v2010/account/call/userDefinedMessage.js +0 -90
- package/lib/rest/api/v2010/account/call/userDefinedMessageSubscription.d.ts +0 -129
- package/lib/rest/api/v2010/account/call/userDefinedMessageSubscription.js +0 -153
- package/lib/rest/api/v2010/account/call.d.ts +0 -632
- package/lib/rest/api/v2010/account/call.js +0 -530
- package/lib/rest/api/v2010/account/conference/participant.d.ts +0 -486
- package/lib/rest/api/v2010/account/conference/participant.js +0 -423
- package/lib/rest/api/v2010/account/conference/recording.d.ts +0 -351
- package/lib/rest/api/v2010/account/conference/recording.js +0 -274
- package/lib/rest/api/v2010/account/conference.d.ts +0 -367
- package/lib/rest/api/v2010/account/conference.js +0 -277
- package/lib/rest/api/v2010/account/connectApp.d.ts +0 -325
- package/lib/rest/api/v2010/account/connectApp.js +0 -264
- package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn/assignedAddOnExtension.d.ts +0 -240
- package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn/assignedAddOnExtension.js +0 -214
- package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.d.ts +0 -291
- package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.js +0 -264
- package/lib/rest/api/v2010/account/incomingPhoneNumber/local.d.ts +0 -420
- package/lib/rest/api/v2010/account/incomingPhoneNumber/local.js +0 -263
- package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.d.ts +0 -420
- package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.js +0 -263
- package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.d.ts +0 -420
- package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.js +0 -263
- package/lib/rest/api/v2010/account/incomingPhoneNumber.d.ts +0 -596
- package/lib/rest/api/v2010/account/incomingPhoneNumber.js +0 -458
- package/lib/rest/api/v2010/account/key.d.ts +0 -265
- package/lib/rest/api/v2010/account/key.js +0 -236
- package/lib/rest/api/v2010/account/message/feedback.d.ts +0 -93
- package/lib/rest/api/v2010/account/message/feedback.js +0 -94
- package/lib/rest/api/v2010/account/message/media.d.ts +0 -261
- package/lib/rest/api/v2010/account/message/media.js +0 -226
- package/lib/rest/api/v2010/account/message.d.ts +0 -491
- package/lib/rest/api/v2010/account/message.js +0 -374
- package/lib/rest/api/v2010/account/newKey.d.ts +0 -85
- package/lib/rest/api/v2010/account/newKey.js +0 -89
- package/lib/rest/api/v2010/account/newSigningKey.d.ts +0 -85
- package/lib/rest/api/v2010/account/newSigningKey.js +0 -89
- package/lib/rest/api/v2010/account/notification.d.ts +0 -308
- package/lib/rest/api/v2010/account/notification.js +0 -221
- package/lib/rest/api/v2010/account/outgoingCallerId.d.ts +0 -295
- package/lib/rest/api/v2010/account/outgoingCallerId.js +0 -246
- package/lib/rest/api/v2010/account/queue/member.d.ts +0 -248
- package/lib/rest/api/v2010/account/queue/member.js +0 -225
- package/lib/rest/api/v2010/account/queue.d.ts +0 -323
- package/lib/rest/api/v2010/account/queue.js +0 -286
- package/lib/rest/api/v2010/account/recording/addOnResult/payload/data.d.ts +0 -88
- package/lib/rest/api/v2010/account/recording/addOnResult/payload/data.js +0 -130
- package/lib/rest/api/v2010/account/recording/addOnResult/payload.d.ts +0 -277
- package/lib/rest/api/v2010/account/recording/addOnResult/payload.js +0 -252
- package/lib/rest/api/v2010/account/recording/addOnResult.d.ts +0 -270
- package/lib/rest/api/v2010/account/recording/addOnResult.js +0 -239
- package/lib/rest/api/v2010/account/recording/transcription.d.ts +0 -280
- package/lib/rest/api/v2010/account/recording/transcription.js +0 -232
- package/lib/rest/api/v2010/account/recording.d.ts +0 -392
- package/lib/rest/api/v2010/account/recording.js +0 -280
- package/lib/rest/api/v2010/account/shortCode.d.ts +0 -318
- package/lib/rest/api/v2010/account/shortCode.js +0 -245
- package/lib/rest/api/v2010/account/signingKey.d.ts +0 -253
- package/lib/rest/api/v2010/account/signingKey.js +0 -236
- package/lib/rest/api/v2010/account/sip/credentialList/credential.d.ts +0 -303
- package/lib/rest/api/v2010/account/sip/credentialList/credential.js +0 -274
- package/lib/rest/api/v2010/account/sip/credentialList.d.ts +0 -291
- package/lib/rest/api/v2010/account/sip/credentialList.js +0 -277
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsCredentialListMapping.d.ts +0 -247
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsCredentialListMapping.js +0 -239
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsIpAccessControlListMapping.d.ts +0 -247
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsIpAccessControlListMapping.js +0 -239
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls.d.ts +0 -23
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls.js +0 -59
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations/authRegistrationsCredentialListMapping.d.ts +0 -247
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations/authRegistrationsCredentialListMapping.js +0 -239
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations.d.ts +0 -20
- package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations.js +0 -49
- package/lib/rest/api/v2010/account/sip/domain/authTypes.d.ts +0 -23
- package/lib/rest/api/v2010/account/sip/domain/authTypes.js +0 -57
- package/lib/rest/api/v2010/account/sip/domain/credentialListMapping.d.ts +0 -259
- package/lib/rest/api/v2010/account/sip/domain/credentialListMapping.js +0 -243
- package/lib/rest/api/v2010/account/sip/domain/ipAccessControlListMapping.d.ts +0 -259
- package/lib/rest/api/v2010/account/sip/domain/ipAccessControlListMapping.js +0 -243
- package/lib/rest/api/v2010/account/sip/domain.d.ts +0 -455
- package/lib/rest/api/v2010/account/sip/domain.js +0 -379
- package/lib/rest/api/v2010/account/sip/ipAccessControlList/ipAddress.d.ts +0 -321
- package/lib/rest/api/v2010/account/sip/ipAccessControlList/ipAddress.js +0 -289
- package/lib/rest/api/v2010/account/sip/ipAccessControlList.d.ts +0 -291
- package/lib/rest/api/v2010/account/sip/ipAccessControlList.js +0 -277
- package/lib/rest/api/v2010/account/sip.d.ts +0 -25
- package/lib/rest/api/v2010/account/sip.js +0 -63
- package/lib/rest/api/v2010/account/token.d.ts +0 -103
- package/lib/rest/api/v2010/account/token.js +0 -96
- package/lib/rest/api/v2010/account/transcription.d.ts +0 -278
- package/lib/rest/api/v2010/account/transcription.js +0 -226
- package/lib/rest/api/v2010/account/usage/record/allTime.d.ts +0 -250
- package/lib/rest/api/v2010/account/usage/record/allTime.js +0 -159
- package/lib/rest/api/v2010/account/usage/record/daily.d.ts +0 -250
- package/lib/rest/api/v2010/account/usage/record/daily.js +0 -159
- package/lib/rest/api/v2010/account/usage/record/lastMonth.d.ts +0 -250
- package/lib/rest/api/v2010/account/usage/record/lastMonth.js +0 -159
- package/lib/rest/api/v2010/account/usage/record/monthly.d.ts +0 -250
- package/lib/rest/api/v2010/account/usage/record/monthly.js +0 -159
- package/lib/rest/api/v2010/account/usage/record/thisMonth.d.ts +0 -250
- package/lib/rest/api/v2010/account/usage/record/thisMonth.js +0 -159
- package/lib/rest/api/v2010/account/usage/record/today.d.ts +0 -250
- package/lib/rest/api/v2010/account/usage/record/today.js +0 -159
- package/lib/rest/api/v2010/account/usage/record/yearly.d.ts +0 -250
- package/lib/rest/api/v2010/account/usage/record/yearly.js +0 -159
- package/lib/rest/api/v2010/account/usage/record/yesterday.d.ts +0 -250
- package/lib/rest/api/v2010/account/usage/record/yesterday.js +0 -159
- package/lib/rest/api/v2010/account/usage/record.d.ts +0 -274
- package/lib/rest/api/v2010/account/usage/record.js +0 -231
- package/lib/rest/api/v2010/account/usage/trigger.d.ts +0 -389
- package/lib/rest/api/v2010/account/usage/trigger.js +0 -310
- package/lib/rest/api/v2010/account/usage.d.ts +0 -22
- package/lib/rest/api/v2010/account/usage.js +0 -54
- package/lib/rest/api/v2010/account/validationRequest.d.ts +0 -87
- package/lib/rest/api/v2010/account/validationRequest.js +0 -97
- package/lib/rest/api/v2010/account.d.ts +0 -514
- package/lib/rest/api/v2010/account.js +0 -552
- package/lib/rest/assistants/V1.d.ts +0 -35
- package/lib/rest/assistants/V1.js +0 -60
- package/lib/rest/assistants/v1/assistant/assistantsKnowledge.d.ts +0 -265
- package/lib/rest/assistants/v1/assistant/assistantsKnowledge.js +0 -221
- package/lib/rest/assistants/v1/assistant/assistantsTool.d.ts +0 -265
- package/lib/rest/assistants/v1/assistant/assistantsTool.js +0 -221
- package/lib/rest/assistants/v1/assistant/feedback.d.ts +0 -231
- package/lib/rest/assistants/v1/assistant/feedback.js +0 -165
- package/lib/rest/assistants/v1/assistant/message.d.ts +0 -112
- package/lib/rest/assistants/v1/assistant/message.js +0 -93
- package/lib/rest/assistants/v1/assistant.d.ts +0 -510
- package/lib/rest/assistants/v1/assistant.js +0 -336
- package/lib/rest/assistants/v1/knowledge/chunk.d.ts +0 -166
- package/lib/rest/assistants/v1/knowledge/chunk.js +0 -131
- package/lib/rest/assistants/v1/knowledge/knowledgeStatus.d.ts +0 -100
- package/lib/rest/assistants/v1/knowledge/knowledgeStatus.js +0 -118
- package/lib/rest/assistants/v1/knowledge.d.ts +0 -415
- package/lib/rest/assistants/v1/knowledge.js +0 -302
- package/lib/rest/assistants/v1/policy.d.ts +0 -201
- package/lib/rest/assistants/v1/policy.js +0 -139
- package/lib/rest/assistants/v1/session/message.d.ts +0 -196
- package/lib/rest/assistants/v1/session/message.js +0 -141
- package/lib/rest/assistants/v1/session.d.ts +0 -230
- package/lib/rest/assistants/v1/session.js +0 -198
- package/lib/rest/assistants/v1/tool.d.ts +0 -447
- package/lib/rest/assistants/v1/tool.js +0 -281
- package/lib/rest/bulkexports/V1.d.ts +0 -20
- package/lib/rest/bulkexports/V1.js +0 -43
- package/lib/rest/bulkexports/v1/export/day.d.ts +0 -215
- package/lib/rest/bulkexports/v1/export/day.js +0 -191
- package/lib/rest/bulkexports/v1/export/exportCustomJob.d.ts +0 -228
- package/lib/rest/bulkexports/v1/export/exportCustomJob.js +0 -180
- package/lib/rest/bulkexports/v1/export/job.d.ts +0 -161
- package/lib/rest/bulkexports/v1/export/job.js +0 -151
- package/lib/rest/bulkexports/v1/export.d.ts +0 -112
- package/lib/rest/bulkexports/v1/export.js +0 -147
- package/lib/rest/bulkexports/v1/exportConfiguration.d.ts +0 -151
- package/lib/rest/bulkexports/v1/exportConfiguration.js +0 -149
- package/lib/rest/chat/V1.d.ts +0 -20
- package/lib/rest/chat/V1.js +0 -42
- package/lib/rest/chat/V2.d.ts +0 -20
- package/lib/rest/chat/V2.js +0 -42
- package/lib/rest/chat/V3.d.ts +0 -15
- package/lib/rest/chat/V3.js +0 -36
- package/lib/rest/chat/v1/credential.d.ts +0 -326
- package/lib/rest/chat/v1/credential.js +0 -282
- package/lib/rest/chat/v1/service/channel/invite.d.ts +0 -285
- package/lib/rest/chat/v1/service/channel/invite.js +0 -252
- package/lib/rest/chat/v1/service/channel/member.d.ts +0 -335
- package/lib/rest/chat/v1/service/channel/member.js +0 -284
- package/lib/rest/chat/v1/service/channel/message.d.ts +0 -350
- package/lib/rest/chat/v1/service/channel/message.js +0 -290
- package/lib/rest/chat/v1/service/channel.d.ts +0 -390
- package/lib/rest/chat/v1/service/channel.js +0 -331
- package/lib/rest/chat/v1/service/role.d.ts +0 -300
- package/lib/rest/chat/v1/service/role.js +0 -275
- package/lib/rest/chat/v1/service/user/userChannel.d.ts +0 -186
- package/lib/rest/chat/v1/service/user/userChannel.js +0 -140
- package/lib/rest/chat/v1/service/user.d.ts +0 -359
- package/lib/rest/chat/v1/service/user.js +0 -301
- package/lib/rest/chat/v1/service.d.ts +0 -511
- package/lib/rest/chat/v1/service.js +0 -462
- package/lib/rest/chat/v2/credential.d.ts +0 -326
- package/lib/rest/chat/v2/credential.js +0 -282
- package/lib/rest/chat/v2/service/binding.d.ts +0 -284
- package/lib/rest/chat/v2/service/binding.js +0 -228
- package/lib/rest/chat/v2/service/channel/invite.d.ts +0 -285
- package/lib/rest/chat/v2/service/channel/invite.js +0 -252
- package/lib/rest/chat/v2/service/channel/member.d.ts +0 -389
- package/lib/rest/chat/v2/service/channel/member.js +0 -312
- package/lib/rest/chat/v2/service/channel/message.d.ts +0 -422
- package/lib/rest/chat/v2/service/channel/message.js +0 -322
- package/lib/rest/chat/v2/service/channel/webhook.d.ts +0 -340
- package/lib/rest/chat/v2/service/channel/webhook.js +0 -296
- package/lib/rest/chat/v2/service/channel.d.ts +0 -440
- package/lib/rest/chat/v2/service/channel.js +0 -364
- package/lib/rest/chat/v2/service/role.d.ts +0 -300
- package/lib/rest/chat/v2/service/role.js +0 -275
- package/lib/rest/chat/v2/service/user/userBinding.d.ts +0 -280
- package/lib/rest/chat/v2/service/user/userBinding.js +0 -232
- package/lib/rest/chat/v2/service/user/userChannel.d.ts +0 -341
- package/lib/rest/chat/v2/service/user/userChannel.js +0 -268
- package/lib/rest/chat/v2/service/user.d.ts +0 -372
- package/lib/rest/chat/v2/service/user.js +0 -318
- package/lib/rest/chat/v2/service.d.ts +0 -485
- package/lib/rest/chat/v2/service.js +0 -409
- package/lib/rest/chat/v3/channel.d.ts +0 -191
- package/lib/rest/chat/v3/channel.js +0 -150
- package/lib/rest/content/V1.d.ts +0 -25
- package/lib/rest/content/V1.js +0 -50
- package/lib/rest/content/V2.d.ts +0 -20
- package/lib/rest/content/V2.js +0 -43
- package/lib/rest/content/v1/content/approvalCreate.d.ts +0 -79
- package/lib/rest/content/v1/content/approvalCreate.js +0 -94
- package/lib/rest/content/v1/content/approvalFetch.d.ts +0 -100
- package/lib/rest/content/v1/content/approvalFetch.js +0 -118
- package/lib/rest/content/v1/content.d.ts +0 -568
- package/lib/rest/content/v1/content.js +0 -418
- package/lib/rest/content/v1/contentAndApprovals.d.ts +0 -189
- package/lib/rest/content/v1/contentAndApprovals.js +0 -135
- package/lib/rest/content/v1/legacyContent.d.ts +0 -201
- package/lib/rest/content/v1/legacyContent.js +0 -139
- package/lib/rest/content/v2/content.d.ts +0 -249
- package/lib/rest/content/v2/content.js +0 -155
- package/lib/rest/content/v2/contentAndApprovals.d.ts +0 -243
- package/lib/rest/content/v2/contentAndApprovals.js +0 -153
- package/lib/rest/conversations/V1.d.ts +0 -55
- package/lib/rest/conversations/V1.js +0 -90
- package/lib/rest/conversations/v1/addressConfiguration.d.ts +0 -365
- package/lib/rest/conversations/v1/addressConfiguration.js +0 -310
- package/lib/rest/conversations/v1/configuration/webhook.d.ts +0 -168
- package/lib/rest/conversations/v1/configuration/webhook.js +0 -151
- package/lib/rest/conversations/v1/configuration.d.ts +0 -167
- package/lib/rest/conversations/v1/configuration.js +0 -159
- package/lib/rest/conversations/v1/conversation/message/deliveryReceipt.d.ts +0 -251
- package/lib/rest/conversations/v1/conversation/message/deliveryReceipt.js +0 -207
- package/lib/rest/conversations/v1/conversation/message.d.ts +0 -426
- package/lib/rest/conversations/v1/conversation/message.js +0 -331
- package/lib/rest/conversations/v1/conversation/participant.d.ts +0 -397
- package/lib/rest/conversations/v1/conversation/participant.js +0 -318
- package/lib/rest/conversations/v1/conversation/webhook.d.ts +0 -330
- package/lib/rest/conversations/v1/conversation/webhook.js +0 -286
- package/lib/rest/conversations/v1/conversation.d.ts +0 -457
- package/lib/rest/conversations/v1/conversation.js +0 -365
- package/lib/rest/conversations/v1/conversationWithParticipants.d.ts +0 -161
- package/lib/rest/conversations/v1/conversationWithParticipants.js +0 -127
- package/lib/rest/conversations/v1/credential.d.ts +0 -328
- package/lib/rest/conversations/v1/credential.js +0 -284
- package/lib/rest/conversations/v1/participantConversation.d.ts +0 -244
- package/lib/rest/conversations/v1/participantConversation.js +0 -153
- package/lib/rest/conversations/v1/role.d.ts +0 -298
- package/lib/rest/conversations/v1/role.js +0 -268
- package/lib/rest/conversations/v1/service/binding.d.ts +0 -278
- package/lib/rest/conversations/v1/service/binding.js +0 -226
- package/lib/rest/conversations/v1/service/configuration/notification.d.ts +0 -184
- package/lib/rest/conversations/v1/service/configuration/notification.js +0 -180
- package/lib/rest/conversations/v1/service/configuration/webhook.d.ts +0 -167
- package/lib/rest/conversations/v1/service/configuration/webhook.js +0 -158
- package/lib/rest/conversations/v1/service/configuration.d.ts +0 -172
- package/lib/rest/conversations/v1/service/configuration.js +0 -178
- package/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.d.ts +0 -259
- package/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.js +0 -220
- package/lib/rest/conversations/v1/service/conversation/message.d.ts +0 -434
- package/lib/rest/conversations/v1/service/conversation/message.js +0 -339
- package/lib/rest/conversations/v1/service/conversation/participant.d.ts +0 -405
- package/lib/rest/conversations/v1/service/conversation/participant.js +0 -326
- package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +0 -338
- package/lib/rest/conversations/v1/service/conversation/webhook.js +0 -294
- package/lib/rest/conversations/v1/service/conversation.d.ts +0 -459
- package/lib/rest/conversations/v1/service/conversation.js +0 -373
- package/lib/rest/conversations/v1/service/conversationWithParticipants.d.ts +0 -162
- package/lib/rest/conversations/v1/service/conversationWithParticipants.js +0 -131
- package/lib/rest/conversations/v1/service/participantConversation.d.ts +0 -245
- package/lib/rest/conversations/v1/service/participantConversation.js +0 -157
- package/lib/rest/conversations/v1/service/role.d.ts +0 -300
- package/lib/rest/conversations/v1/service/role.js +0 -275
- package/lib/rest/conversations/v1/service/user/userConversation.d.ts +0 -354
- package/lib/rest/conversations/v1/service/user/userConversation.js +0 -278
- package/lib/rest/conversations/v1/service/user.d.ts +0 -380
- package/lib/rest/conversations/v1/service/user.js +0 -307
- package/lib/rest/conversations/v1/service.d.ts +0 -311
- package/lib/rest/conversations/v1/service.js +0 -319
- package/lib/rest/conversations/v1/user/userConversation.d.ts +0 -352
- package/lib/rest/conversations/v1/user/userConversation.js +0 -271
- package/lib/rest/conversations/v1/user.d.ts +0 -378
- package/lib/rest/conversations/v1/user.js +0 -300
- package/lib/rest/events/V1.d.ts +0 -30
- package/lib/rest/events/V1.js +0 -54
- package/lib/rest/events/v1/eventType.d.ts +0 -237
- package/lib/rest/events/v1/eventType.js +0 -193
- package/lib/rest/events/v1/schema/schemaVersion.d.ts +0 -209
- package/lib/rest/events/v1/schema/schemaVersion.js +0 -189
- package/lib/rest/events/v1/schema.d.ts +0 -113
- package/lib/rest/events/v1/schema.js +0 -129
- package/lib/rest/events/v1/sink/sinkTest.d.ts +0 -45
- package/lib/rest/events/v1/sink/sinkTest.js +0 -69
- package/lib/rest/events/v1/sink/sinkValidate.d.ts +0 -53
- package/lib/rest/events/v1/sink/sinkValidate.js +0 -79
- package/lib/rest/events/v1/sink.d.ts +0 -327
- package/lib/rest/events/v1/sink.js +0 -297
- package/lib/rest/events/v1/subscription/subscribedEvent.d.ts +0 -289
- package/lib/rest/events/v1/subscription/subscribedEvent.js +0 -262
- package/lib/rest/events/v1/subscription.d.ts +0 -321
- package/lib/rest/events/v1/subscription.js +0 -283
- package/lib/rest/flexApi/V1.d.ts +0 -125
- package/lib/rest/flexApi/V1.js +0 -191
- package/lib/rest/flexApi/V2.d.ts +0 -20
- package/lib/rest/flexApi/V2.js +0 -42
- package/lib/rest/flexApi/v1/assessments.d.ts +0 -321
- package/lib/rest/flexApi/v1/assessments.js +0 -280
- package/lib/rest/flexApi/v1/channel.d.ts +0 -279
- package/lib/rest/flexApi/v1/channel.js +0 -258
- package/lib/rest/flexApi/v1/configuration.d.ts +0 -438
- package/lib/rest/flexApi/v1/configuration.js +0 -233
- package/lib/rest/flexApi/v1/flexFlow.d.ts +0 -411
- package/lib/rest/flexApi/v1/flexFlow.js +0 -344
- package/lib/rest/flexApi/v1/insightsAssessmentsComment.d.ts +0 -250
- package/lib/rest/flexApi/v1/insightsAssessmentsComment.js +0 -192
- package/lib/rest/flexApi/v1/insightsConversations.d.ts +0 -171
- package/lib/rest/flexApi/v1/insightsConversations.js +0 -129
- package/lib/rest/flexApi/v1/insightsQuestionnaires.d.ts +0 -356
- package/lib/rest/flexApi/v1/insightsQuestionnaires.js +0 -286
- package/lib/rest/flexApi/v1/insightsQuestionnairesCategory.d.ts +0 -278
- package/lib/rest/flexApi/v1/insightsQuestionnairesCategory.js +0 -237
- package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.d.ts +0 -336
- package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.js +0 -273
- package/lib/rest/flexApi/v1/insightsSegments.d.ts +0 -276
- package/lib/rest/flexApi/v1/insightsSegments.js +0 -167
- package/lib/rest/flexApi/v1/insightsSession.d.ts +0 -129
- package/lib/rest/flexApi/v1/insightsSession.js +0 -116
- package/lib/rest/flexApi/v1/insightsSettingsAnswerSets.d.ts +0 -81
- package/lib/rest/flexApi/v1/insightsSettingsAnswerSets.js +0 -84
- package/lib/rest/flexApi/v1/insightsSettingsComment.d.ts +0 -66
- package/lib/rest/flexApi/v1/insightsSettingsComment.js +0 -80
- package/lib/rest/flexApi/v1/insightsUserRoles.d.ts +0 -108
- package/lib/rest/flexApi/v1/insightsUserRoles.js +0 -110
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.d.ts +0 -180
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.js +0 -156
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +0 -248
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.js +0 -229
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionTransfer.d.ts +0 -237
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionTransfer.js +0 -203
- package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +0 -279
- package/lib/rest/flexApi/v1/interaction/interactionChannel.js +0 -262
- package/lib/rest/flexApi/v1/interaction.d.ts +0 -177
- package/lib/rest/flexApi/v1/interaction.js +0 -190
- package/lib/rest/flexApi/v1/plugin/pluginVersions.d.ts +0 -304
- package/lib/rest/flexApi/v1/plugin/pluginVersions.js +0 -243
- package/lib/rest/flexApi/v1/plugin.d.ts +0 -344
- package/lib/rest/flexApi/v1/plugin.js +0 -271
- package/lib/rest/flexApi/v1/pluginArchive.d.ts +0 -154
- package/lib/rest/flexApi/v1/pluginArchive.js +0 -129
- package/lib/rest/flexApi/v1/pluginConfiguration/configuredPlugin.d.ts +0 -309
- package/lib/rest/flexApi/v1/pluginConfiguration/configuredPlugin.js +0 -220
- package/lib/rest/flexApi/v1/pluginConfiguration.d.ts +0 -286
- package/lib/rest/flexApi/v1/pluginConfiguration.js +0 -236
- package/lib/rest/flexApi/v1/pluginConfigurationArchive.d.ts +0 -142
- package/lib/rest/flexApi/v1/pluginConfigurationArchive.js +0 -125
- package/lib/rest/flexApi/v1/pluginRelease.d.ts +0 -259
- package/lib/rest/flexApi/v1/pluginRelease.js +0 -214
- package/lib/rest/flexApi/v1/pluginVersionArchive.d.ts +0 -161
- package/lib/rest/flexApi/v1/pluginVersionArchive.js +0 -137
- package/lib/rest/flexApi/v1/provisioningStatus.d.ts +0 -87
- package/lib/rest/flexApi/v1/provisioningStatus.js +0 -106
- package/lib/rest/flexApi/v1/webChannel.d.ts +0 -304
- package/lib/rest/flexApi/v1/webChannel.js +0 -276
- package/lib/rest/flexApi/v2/flexUser.d.ts +0 -209
- package/lib/rest/flexApi/v2/flexUser.js +0 -175
- package/lib/rest/flexApi/v2/webChannels.d.ts +0 -68
- package/lib/rest/flexApi/v2/webChannels.js +0 -87
- package/lib/rest/frontlineApi/V1.d.ts +0 -15
- package/lib/rest/frontlineApi/V1.js +0 -36
- package/lib/rest/frontlineApi/v1/user.d.ts +0 -166
- package/lib/rest/frontlineApi/v1/user.js +0 -154
- package/lib/rest/iam/V1.d.ts +0 -35
- package/lib/rest/iam/V1.js +0 -60
- package/lib/rest/iam/v1/apiKey.d.ts +0 -166
- package/lib/rest/iam/v1/apiKey.js +0 -167
- package/lib/rest/iam/v1/getApiKeys.d.ts +0 -165
- package/lib/rest/iam/v1/getApiKeys.js +0 -127
- package/lib/rest/iam/v1/newApiKey.d.ts +0 -89
- package/lib/rest/iam/v1/newApiKey.js +0 -91
- package/lib/rest/iam/v1/oAuthApp.d.ts +0 -204
- package/lib/rest/iam/v1/oAuthApp.js +0 -189
- package/lib/rest/iam/v1/token.d.ts +0 -87
- package/lib/rest/iam/v1/token.js +0 -99
- package/lib/rest/insights/V1.d.ts +0 -35
- package/lib/rest/insights/V1.js +0 -61
- package/lib/rest/insights/v1/call/annotation.d.ts +0 -183
- package/lib/rest/insights/v1/call/annotation.js +0 -170
- package/lib/rest/insights/v1/call/callSummary.d.ts +0 -231
- package/lib/rest/insights/v1/call/callSummary.js +0 -160
- package/lib/rest/insights/v1/call/event.d.ts +0 -204
- package/lib/rest/insights/v1/call/event.js +0 -145
- package/lib/rest/insights/v1/call/metric.d.ts +0 -198
- package/lib/rest/insights/v1/call/metric.js +0 -143
- package/lib/rest/insights/v1/call.d.ts +0 -116
- package/lib/rest/insights/v1/call.js +0 -162
- package/lib/rest/insights/v1/callSummaries.d.ts +0 -480
- package/lib/rest/insights/v1/callSummaries.js +0 -236
- package/lib/rest/insights/v1/conference/conferenceParticipant.d.ts +0 -374
- package/lib/rest/insights/v1/conference/conferenceParticipant.js +0 -248
- package/lib/rest/insights/v1/conference.d.ts +0 -376
- package/lib/rest/insights/v1/conference.js +0 -252
- package/lib/rest/insights/v1/room/participant.d.ts +0 -279
- package/lib/rest/insights/v1/room/participant.js +0 -216
- package/lib/rest/insights/v1/room.d.ts +0 -361
- package/lib/rest/insights/v1/room.js +0 -248
- package/lib/rest/insights/v1/setting.d.ts +0 -169
- package/lib/rest/insights/v1/setting.js +0 -145
- package/lib/rest/intelligence/V2.d.ts +0 -50
- package/lib/rest/intelligence/V2.js +0 -82
- package/lib/rest/intelligence/v2/customOperator.d.ts +0 -332
- package/lib/rest/intelligence/v2/customOperator.js +0 -287
- package/lib/rest/intelligence/v2/operator.d.ts +0 -265
- package/lib/rest/intelligence/v2/operator.js +0 -201
- package/lib/rest/intelligence/v2/operatorAttachment.d.ts +0 -111
- package/lib/rest/intelligence/v2/operatorAttachment.js +0 -140
- package/lib/rest/intelligence/v2/operatorAttachments.d.ts +0 -93
- package/lib/rest/intelligence/v2/operatorAttachments.js +0 -113
- package/lib/rest/intelligence/v2/operatorType.d.ts +0 -267
- package/lib/rest/intelligence/v2/operatorType.js +0 -201
- package/lib/rest/intelligence/v2/prebuiltOperator.d.ts +0 -265
- package/lib/rest/intelligence/v2/prebuiltOperator.js +0 -201
- package/lib/rest/intelligence/v2/service.d.ts +0 -394
- package/lib/rest/intelligence/v2/service.js +0 -315
- package/lib/rest/intelligence/v2/transcript/encryptedOperatorResults.d.ts +0 -113
- package/lib/rest/intelligence/v2/transcript/encryptedOperatorResults.js +0 -120
- package/lib/rest/intelligence/v2/transcript/encryptedSentences.d.ts +0 -113
- package/lib/rest/intelligence/v2/transcript/encryptedSentences.js +0 -120
- package/lib/rest/intelligence/v2/transcript/media.d.ts +0 -131
- package/lib/rest/intelligence/v2/transcript/media.js +0 -123
- package/lib/rest/intelligence/v2/transcript/operatorResult.d.ts +0 -307
- package/lib/rest/intelligence/v2/transcript/operatorResult.js +0 -220
- package/lib/rest/intelligence/v2/transcript/sentence.d.ts +0 -193
- package/lib/rest/intelligence/v2/transcript/sentence.js +0 -141
- package/lib/rest/intelligence/v2/transcript.d.ts +0 -398
- package/lib/rest/intelligence/v2/transcript.js +0 -336
- package/lib/rest/ipMessaging/V1.d.ts +0 -20
- package/lib/rest/ipMessaging/V1.js +0 -42
- package/lib/rest/ipMessaging/V2.d.ts +0 -20
- package/lib/rest/ipMessaging/V2.js +0 -42
- package/lib/rest/ipMessaging/v1/credential.d.ts +0 -302
- package/lib/rest/ipMessaging/v1/credential.js +0 -282
- package/lib/rest/ipMessaging/v1/service/channel/invite.d.ts +0 -255
- package/lib/rest/ipMessaging/v1/service/channel/invite.js +0 -252
- package/lib/rest/ipMessaging/v1/service/channel/member.d.ts +0 -302
- package/lib/rest/ipMessaging/v1/service/channel/member.js +0 -284
- package/lib/rest/ipMessaging/v1/service/channel/message.d.ts +0 -311
- package/lib/rest/ipMessaging/v1/service/channel/message.js +0 -290
- package/lib/rest/ipMessaging/v1/service/channel.d.ts +0 -348
- package/lib/rest/ipMessaging/v1/service/channel.js +0 -331
- package/lib/rest/ipMessaging/v1/service/role.d.ts +0 -273
- package/lib/rest/ipMessaging/v1/service/role.js +0 -275
- package/lib/rest/ipMessaging/v1/service/user/userChannel.d.ts +0 -162
- package/lib/rest/ipMessaging/v1/service/user/userChannel.js +0 -140
- package/lib/rest/ipMessaging/v1/service/user.d.ts +0 -317
- package/lib/rest/ipMessaging/v1/service/user.js +0 -301
- package/lib/rest/ipMessaging/v1/service.d.ts +0 -448
- package/lib/rest/ipMessaging/v1/service.js +0 -462
- package/lib/rest/ipMessaging/v2/credential.d.ts +0 -302
- package/lib/rest/ipMessaging/v2/credential.js +0 -282
- package/lib/rest/ipMessaging/v2/service/binding.d.ts +0 -248
- package/lib/rest/ipMessaging/v2/service/binding.js +0 -228
- package/lib/rest/ipMessaging/v2/service/channel/invite.d.ts +0 -255
- package/lib/rest/ipMessaging/v2/service/channel/invite.js +0 -252
- package/lib/rest/ipMessaging/v2/service/channel/member.d.ts +0 -353
- package/lib/rest/ipMessaging/v2/service/channel/member.js +0 -312
- package/lib/rest/ipMessaging/v2/service/channel/message.d.ts +0 -374
- package/lib/rest/ipMessaging/v2/service/channel/message.js +0 -322
- package/lib/rest/ipMessaging/v2/service/channel/webhook.d.ts +0 -310
- package/lib/rest/ipMessaging/v2/service/channel/webhook.js +0 -296
- package/lib/rest/ipMessaging/v2/service/channel.d.ts +0 -398
- package/lib/rest/ipMessaging/v2/service/channel.js +0 -364
- package/lib/rest/ipMessaging/v2/service/role.d.ts +0 -273
- package/lib/rest/ipMessaging/v2/service/role.js +0 -275
- package/lib/rest/ipMessaging/v2/service/user/userBinding.d.ts +0 -244
- package/lib/rest/ipMessaging/v2/service/user/userBinding.js +0 -232
- package/lib/rest/ipMessaging/v2/service/user/userChannel.d.ts +0 -282
- package/lib/rest/ipMessaging/v2/service/user/userChannel.js +0 -264
- package/lib/rest/ipMessaging/v2/service/user.d.ts +0 -330
- package/lib/rest/ipMessaging/v2/service/user.js +0 -318
- package/lib/rest/ipMessaging/v2/service.d.ts +0 -416
- package/lib/rest/ipMessaging/v2/service.js +0 -409
- package/lib/rest/knowledge/V1.d.ts +0 -15
- package/lib/rest/knowledge/V1.js +0 -36
- package/lib/rest/knowledge/v1/knowledge/chunk.d.ts +0 -166
- package/lib/rest/knowledge/v1/knowledge/chunk.js +0 -131
- package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.d.ts +0 -100
- package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.js +0 -118
- package/lib/rest/knowledge/v1/knowledge.d.ts +0 -411
- package/lib/rest/knowledge/v1/knowledge.js +0 -302
- package/lib/rest/lookups/V1.d.ts +0 -15
- package/lib/rest/lookups/V1.js +0 -36
- package/lib/rest/lookups/V2.d.ts +0 -35
- package/lib/rest/lookups/V2.js +0 -61
- package/lib/rest/lookups/v1/phoneNumber.d.ts +0 -148
- package/lib/rest/lookups/v1/phoneNumber.js +0 -134
- package/lib/rest/lookups/v2/bucket.d.ts +0 -204
- package/lib/rest/lookups/v2/bucket.js +0 -187
- package/lib/rest/lookups/v2/lookupOverride.d.ts +0 -278
- package/lib/rest/lookups/v2/lookupOverride.js +0 -225
- package/lib/rest/lookups/v2/phoneNumber.d.ts +0 -269
- package/lib/rest/lookups/v2/phoneNumber.js +0 -200
- package/lib/rest/lookups/v2/query.d.ts +0 -176
- package/lib/rest/lookups/v2/query.js +0 -123
- package/lib/rest/lookups/v2/rateLimit.d.ts +0 -82
- package/lib/rest/lookups/v2/rateLimit.js +0 -82
- package/lib/rest/marketplace/V1.d.ts +0 -35
- package/lib/rest/marketplace/V1.js +0 -64
- package/lib/rest/marketplace/v1/availableAddOn/availableAddOnExtension.d.ts +0 -218
- package/lib/rest/marketplace/v1/availableAddOn/availableAddOnExtension.js +0 -191
- package/lib/rest/marketplace/v1/availableAddOn.d.ts +0 -230
- package/lib/rest/marketplace/v1/availableAddOn.js +0 -200
- package/lib/rest/marketplace/v1/installedAddOn/installedAddOnExtension.d.ts +0 -250
- package/lib/rest/marketplace/v1/installedAddOn/installedAddOnExtension.js +0 -219
- package/lib/rest/marketplace/v1/installedAddOn/installedAddOnUsage.d.ts +0 -78
- package/lib/rest/marketplace/v1/installedAddOn/installedAddOnUsage.js +0 -86
- package/lib/rest/marketplace/v1/installedAddOn.d.ts +0 -339
- package/lib/rest/marketplace/v1/installedAddOn.js +0 -302
- package/lib/rest/marketplace/v1/moduleData.d.ts +0 -124
- package/lib/rest/marketplace/v1/moduleData.js +0 -109
- package/lib/rest/marketplace/v1/moduleDataManagement.d.ts +0 -189
- package/lib/rest/marketplace/v1/moduleDataManagement.js +0 -167
- package/lib/rest/marketplace/v1/referralConversion.d.ts +0 -53
- package/lib/rest/marketplace/v1/referralConversion.js +0 -77
- package/lib/rest/messaging/V1.d.ts +0 -75
- package/lib/rest/messaging/V1.js +0 -120
- package/lib/rest/messaging/V2.d.ts +0 -20
- package/lib/rest/messaging/V2.js +0 -44
- package/lib/rest/messaging/v1/brandRegistration/brandRegistrationOtp.d.ts +0 -51
- package/lib/rest/messaging/v1/brandRegistration/brandRegistrationOtp.js +0 -71
- package/lib/rest/messaging/v1/brandRegistration/brandVetting.d.ts +0 -261
- package/lib/rest/messaging/v1/brandRegistration/brandVetting.js +0 -227
- package/lib/rest/messaging/v1/brandRegistration.d.ts +0 -366
- package/lib/rest/messaging/v1/brandRegistration.js +0 -298
- package/lib/rest/messaging/v1/deactivations.d.ts +0 -105
- package/lib/rest/messaging/v1/deactivations.js +0 -108
- package/lib/rest/messaging/v1/domainCerts.d.ts +0 -163
- package/lib/rest/messaging/v1/domainCerts.js +0 -170
- package/lib/rest/messaging/v1/domainConfig.d.ts +0 -174
- package/lib/rest/messaging/v1/domainConfig.js +0 -159
- package/lib/rest/messaging/v1/domainConfigMessagingService.d.ts +0 -126
- package/lib/rest/messaging/v1/domainConfigMessagingService.js +0 -127
- package/lib/rest/messaging/v1/domainValidateDn.d.ts +0 -90
- package/lib/rest/messaging/v1/domainValidateDn.js +0 -115
- package/lib/rest/messaging/v1/externalCampaign.d.ts +0 -80
- package/lib/rest/messaging/v1/externalCampaign.js +0 -90
- package/lib/rest/messaging/v1/linkshorteningMessagingService.d.ts +0 -108
- package/lib/rest/messaging/v1/linkshorteningMessagingService.js +0 -140
- package/lib/rest/messaging/v1/linkshorteningMessagingServiceDomainAssociation.d.ts +0 -90
- package/lib/rest/messaging/v1/linkshorteningMessagingServiceDomainAssociation.js +0 -115
- package/lib/rest/messaging/v1/requestManagedCert.d.ts +0 -126
- package/lib/rest/messaging/v1/requestManagedCert.js +0 -125
- package/lib/rest/messaging/v1/service/alphaSender.d.ts +0 -263
- package/lib/rest/messaging/v1/service/alphaSender.js +0 -238
- package/lib/rest/messaging/v1/service/channelSender.d.ts +0 -269
- package/lib/rest/messaging/v1/service/channelSender.js +0 -240
- package/lib/rest/messaging/v1/service/destinationAlphaSender.d.ts +0 -277
- package/lib/rest/messaging/v1/service/destinationAlphaSender.js +0 -244
- package/lib/rest/messaging/v1/service/phoneNumber.d.ts +0 -269
- package/lib/rest/messaging/v1/service/phoneNumber.js +0 -241
- package/lib/rest/messaging/v1/service/shortCode.d.ts +0 -269
- package/lib/rest/messaging/v1/service/shortCode.js +0 -241
- package/lib/rest/messaging/v1/service/usAppToPerson.d.ts +0 -451
- package/lib/rest/messaging/v1/service/usAppToPerson.js +0 -379
- package/lib/rest/messaging/v1/service/usAppToPersonUsecase.d.ts +0 -61
- package/lib/rest/messaging/v1/service/usAppToPersonUsecase.js +0 -80
- package/lib/rest/messaging/v1/service.d.ts +0 -510
- package/lib/rest/messaging/v1/service.js +0 -442
- package/lib/rest/messaging/v1/tollfreeVerification.d.ts +0 -719
- package/lib/rest/messaging/v1/tollfreeVerification.js +0 -523
- package/lib/rest/messaging/v1/usecase.d.ts +0 -44
- package/lib/rest/messaging/v1/usecase.js +0 -65
- package/lib/rest/messaging/v2/channelsSender.d.ts +0 -564
- package/lib/rest/messaging/v2/channelsSender.js +0 -324
- package/lib/rest/messaging/v2/typingIndicator.d.ts +0 -54
- package/lib/rest/messaging/v2/typingIndicator.js +0 -79
- package/lib/rest/monitor/V1.d.ts +0 -20
- package/lib/rest/monitor/V1.js +0 -42
- package/lib/rest/monitor/v1/alert.d.ts +0 -312
- package/lib/rest/monitor/v1/alert.js +0 -216
- package/lib/rest/monitor/v1/event.d.ts +0 -300
- package/lib/rest/monitor/v1/event.js +0 -212
- package/lib/rest/notify/V1.d.ts +0 -20
- package/lib/rest/notify/V1.js +0 -42
- package/lib/rest/notify/v1/credential.d.ts +0 -326
- package/lib/rest/notify/v1/credential.js +0 -282
- package/lib/rest/notify/v1/service/binding.d.ts +0 -339
- package/lib/rest/notify/v1/service/binding.js +0 -275
- package/lib/rest/notify/v1/service/notification.d.ts +0 -210
- package/lib/rest/notify/v1/service/notification.js +0 -153
- package/lib/rest/notify/v1/service.d.ts +0 -457
- package/lib/rest/notify/v1/service.js +0 -377
- package/lib/rest/numbers/V1.d.ts +0 -60
- package/lib/rest/numbers/V1.js +0 -102
- package/lib/rest/numbers/V2.d.ts +0 -40
- package/lib/rest/numbers/V2.js +0 -70
- package/lib/rest/numbers/V3.d.ts +0 -15
- package/lib/rest/numbers/V3.js +0 -37
- package/lib/rest/numbers/v1/bulkEligibility.d.ts +0 -136
- package/lib/rest/numbers/v1/bulkEligibility.js +0 -146
- package/lib/rest/numbers/v1/eligibility.d.ts +0 -61
- package/lib/rest/numbers/v1/eligibility.js +0 -78
- package/lib/rest/numbers/v1/portingAllPortIn.d.ts +0 -201
- package/lib/rest/numbers/v1/portingAllPortIn.js +0 -139
- package/lib/rest/numbers/v1/portingPortIn.d.ts +0 -366
- package/lib/rest/numbers/v1/portingPortIn.js +0 -202
- package/lib/rest/numbers/v1/portingPortInPhoneNumber.d.ts +0 -201
- package/lib/rest/numbers/v1/portingPortInPhoneNumber.js +0 -170
- package/lib/rest/numbers/v1/portingPortability.d.ts +0 -157
- package/lib/rest/numbers/v1/portingPortability.js +0 -131
- package/lib/rest/numbers/v1/portingWebhookConfiguration.d.ts +0 -79
- package/lib/rest/numbers/v1/portingWebhookConfiguration.js +0 -84
- package/lib/rest/numbers/v1/portingWebhookConfigurationDelete.d.ts +0 -53
- package/lib/rest/numbers/v1/portingWebhookConfigurationDelete.js +0 -70
- package/lib/rest/numbers/v1/signingRequestConfiguration.d.ts +0 -217
- package/lib/rest/numbers/v1/signingRequestConfiguration.js +0 -162
- package/lib/rest/numbers/v1/webhook.d.ts +0 -74
- package/lib/rest/numbers/v1/webhook.js +0 -75
- package/lib/rest/numbers/v2/application.d.ts +0 -257
- package/lib/rest/numbers/v2/application.js +0 -218
- package/lib/rest/numbers/v2/authorizationDocument/dependentHostedNumberOrder.d.ts +0 -267
- package/lib/rest/numbers/v2/authorizationDocument/dependentHostedNumberOrder.js +0 -165
- package/lib/rest/numbers/v2/authorizationDocument.d.ts +0 -292
- package/lib/rest/numbers/v2/authorizationDocument.js +0 -269
- package/lib/rest/numbers/v2/bulkHostedNumberOrder.d.ts +0 -180
- package/lib/rest/numbers/v2/bulkHostedNumberOrder.js +0 -154
- package/lib/rest/numbers/v2/bundleClone.d.ts +0 -155
- package/lib/rest/numbers/v2/bundleClone.js +0 -137
- package/lib/rest/numbers/v2/hostedNumberOrder.d.ts +0 -453
- package/lib/rest/numbers/v2/hostedNumberOrder.js +0 -343
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.d.ts +0 -221
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.js +0 -165
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +0 -233
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.js +0 -207
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/itemAssignment.d.ts +0 -251
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/itemAssignment.js +0 -234
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.d.ts +0 -108
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.js +0 -98
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle.d.ts +0 -449
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle.js +0 -364
- package/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +0 -310
- package/lib/rest/numbers/v2/regulatoryCompliance/endUser.js +0 -269
- package/lib/rest/numbers/v2/regulatoryCompliance/endUserType.d.ts +0 -210
- package/lib/rest/numbers/v2/regulatoryCompliance/endUserType.js +0 -183
- package/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +0 -272
- package/lib/rest/numbers/v2/regulatoryCompliance/regulation.js +0 -199
- package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +0 -334
- package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.js +0 -277
- package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.d.ts +0 -210
- package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.js +0 -183
- package/lib/rest/numbers/v2/regulatoryCompliance.d.ts +0 -37
- package/lib/rest/numbers/v2/regulatoryCompliance.js +0 -86
- package/lib/rest/numbers/v3/hostedNumberOrder.d.ts +0 -210
- package/lib/rest/numbers/v3/hostedNumberOrder.js +0 -154
- package/lib/rest/oauth/V1.d.ts +0 -20
- package/lib/rest/oauth/V1.js +0 -42
- package/lib/rest/oauth/V2.d.ts +0 -15
- package/lib/rest/oauth/V2.js +0 -36
- package/lib/rest/oauth/v1/authorize.d.ts +0 -68
- package/lib/rest/oauth/v1/authorize.js +0 -84
- package/lib/rest/oauth/v1/token.d.ts +0 -87
- package/lib/rest/oauth/v1/token.js +0 -99
- package/lib/rest/oauth/v2/token.d.ts +0 -97
- package/lib/rest/oauth/v2/token.js +0 -101
- package/lib/rest/preview/HostedNumbers.d.ts +0 -20
- package/lib/rest/preview/HostedNumbers.js +0 -44
- package/lib/rest/preview/Marketplace.d.ts +0 -20
- package/lib/rest/preview/Marketplace.js +0 -44
- package/lib/rest/preview/Wireless.d.ts +0 -25
- package/lib/rest/preview/Wireless.js +0 -48
- package/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.d.ts +0 -298
- package/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.js +0 -175
- package/lib/rest/preview/hosted_numbers/authorizationDocument.d.ts +0 -329
- package/lib/rest/preview/hosted_numbers/authorizationDocument.js +0 -291
- package/lib/rest/preview/hosted_numbers/hostedNumberOrder.d.ts +0 -473
- package/lib/rest/preview/hosted_numbers/hostedNumberOrder.js +0 -353
- package/lib/rest/preview/marketplace/availableAddOn/availableAddOnExtension.d.ts +0 -218
- package/lib/rest/preview/marketplace/availableAddOn/availableAddOnExtension.js +0 -191
- package/lib/rest/preview/marketplace/availableAddOn.d.ts +0 -230
- package/lib/rest/preview/marketplace/availableAddOn.js +0 -200
- package/lib/rest/preview/marketplace/installedAddOn/installedAddOnExtension.d.ts +0 -250
- package/lib/rest/preview/marketplace/installedAddOn/installedAddOnExtension.js +0 -219
- package/lib/rest/preview/marketplace/installedAddOn.d.ts +0 -331
- package/lib/rest/preview/marketplace/installedAddOn.js +0 -289
- package/lib/rest/preview/wireless/command.d.ts +0 -265
- package/lib/rest/preview/wireless/command.js +0 -237
- package/lib/rest/preview/wireless/ratePlan.d.ts +0 -325
- package/lib/rest/preview/wireless/ratePlan.js +0 -294
- package/lib/rest/preview/wireless/sim/usage.d.ts +0 -130
- package/lib/rest/preview/wireless/sim/usage.js +0 -134
- package/lib/rest/preview/wireless/sim.d.ts +0 -356
- package/lib/rest/preview/wireless/sim.js +0 -296
- package/lib/rest/previewIam/V1.d.ts +0 -20
- package/lib/rest/previewIam/V1.js +0 -42
- package/lib/rest/previewIam/Versionless.d.ts +0 -15
- package/lib/rest/previewIam/Versionless.js +0 -36
- package/lib/rest/previewIam/v1/authorize.d.ts +0 -68
- package/lib/rest/previewIam/v1/authorize.js +0 -84
- package/lib/rest/previewIam/v1/token.d.ts +0 -87
- package/lib/rest/previewIam/v1/token.js +0 -99
- package/lib/rest/previewIam/versionless/organization/account.d.ts +0 -215
- package/lib/rest/previewIam/versionless/organization/account.js +0 -195
- package/lib/rest/previewIam/versionless/organization/roleAssignment.d.ts +0 -273
- package/lib/rest/previewIam/versionless/organization/roleAssignment.js +0 -221
- package/lib/rest/previewIam/versionless/organization/user.d.ts +0 -447
- package/lib/rest/previewIam/versionless/organization/user.js +0 -299
- package/lib/rest/previewIam/versionless/organization.d.ts +0 -52
- package/lib/rest/previewIam/versionless/organization.js +0 -80
- package/lib/rest/pricing/V1.d.ts +0 -25
- package/lib/rest/pricing/V1.js +0 -48
- package/lib/rest/pricing/V2.d.ts +0 -25
- package/lib/rest/pricing/V2.js +0 -48
- package/lib/rest/pricing/v1/messaging/country.d.ts +0 -232
- package/lib/rest/pricing/v1/messaging/country.js +0 -194
- package/lib/rest/pricing/v1/messaging.d.ts +0 -18
- package/lib/rest/pricing/v1/messaging.js +0 -41
- package/lib/rest/pricing/v1/phoneNumber/country.d.ts +0 -215
- package/lib/rest/pricing/v1/phoneNumber/country.js +0 -186
- package/lib/rest/pricing/v1/phoneNumber.d.ts +0 -18
- package/lib/rest/pricing/v1/phoneNumber.js +0 -41
- package/lib/rest/pricing/v1/voice/country.d.ts +0 -227
- package/lib/rest/pricing/v1/voice/country.js +0 -191
- package/lib/rest/pricing/v1/voice/number.d.ts +0 -126
- package/lib/rest/pricing/v1/voice/number.js +0 -133
- package/lib/rest/pricing/v1/voice.d.ts +0 -21
- package/lib/rest/pricing/v1/voice.js +0 -50
- package/lib/rest/pricing/v2/country.d.ts +0 -228
- package/lib/rest/pricing/v2/country.js +0 -191
- package/lib/rest/pricing/v2/number.d.ts +0 -157
- package/lib/rest/pricing/v2/number.js +0 -138
- package/lib/rest/pricing/v2/voice/country.d.ts +0 -228
- package/lib/rest/pricing/v2/voice/country.js +0 -191
- package/lib/rest/pricing/v2/voice/number.d.ts +0 -158
- package/lib/rest/pricing/v2/voice/number.js +0 -138
- package/lib/rest/pricing/v2/voice.d.ts +0 -21
- package/lib/rest/pricing/v2/voice.js +0 -50
- package/lib/rest/proxy/V1.d.ts +0 -15
- package/lib/rest/proxy/V1.js +0 -36
- package/lib/rest/proxy/v1/service/phoneNumber.d.ts +0 -339
- package/lib/rest/proxy/v1/service/phoneNumber.js +0 -280
- package/lib/rest/proxy/v1/service/session/interaction.d.ts +0 -314
- package/lib/rest/proxy/v1/service/session/interaction.js +0 -244
- package/lib/rest/proxy/v1/service/session/participant/messageInteraction.d.ts +0 -331
- package/lib/rest/proxy/v1/service/session/participant/messageInteraction.js +0 -262
- package/lib/rest/proxy/v1/service/session/participant.d.ts +0 -309
- package/lib/rest/proxy/v1/service/session/participant.js +0 -273
- package/lib/rest/proxy/v1/service/session.d.ts +0 -393
- package/lib/rest/proxy/v1/service/session.js +0 -324
- package/lib/rest/proxy/v1/service.d.ts +0 -385
- package/lib/rest/proxy/v1/service.js +0 -325
- package/lib/rest/routes/V2.d.ts +0 -25
- package/lib/rest/routes/V2.js +0 -48
- package/lib/rest/routes/v2/phoneNumber.d.ts +0 -167
- package/lib/rest/routes/v2/phoneNumber.js +0 -153
- package/lib/rest/routes/v2/sipDomain.d.ts +0 -143
- package/lib/rest/routes/v2/sipDomain.js +0 -153
- package/lib/rest/routes/v2/trunk.d.ts +0 -167
- package/lib/rest/routes/v2/trunk.js +0 -153
- package/lib/rest/serverless/V1.d.ts +0 -15
- package/lib/rest/serverless/V1.js +0 -36
- package/lib/rest/serverless/v1/service/asset/assetVersion.d.ts +0 -233
- package/lib/rest/serverless/v1/service/asset/assetVersion.js +0 -201
- package/lib/rest/serverless/v1/service/asset.d.ts +0 -297
- package/lib/rest/serverless/v1/service/asset.js +0 -279
- package/lib/rest/serverless/v1/service/build/buildStatus.d.ts +0 -109
- package/lib/rest/serverless/v1/service/build/buildStatus.js +0 -126
- package/lib/rest/serverless/v1/service/build.d.ts +0 -308
- package/lib/rest/serverless/v1/service/build.js +0 -267
- package/lib/rest/serverless/v1/service/environment/deployment.d.ts +0 -258
- package/lib/rest/serverless/v1/service/environment/deployment.js +0 -227
- package/lib/rest/serverless/v1/service/environment/log.d.ts +0 -274
- package/lib/rest/serverless/v1/service/environment/log.js +0 -215
- package/lib/rest/serverless/v1/service/environment/variable.d.ts +0 -317
- package/lib/rest/serverless/v1/service/environment/variable.js +0 -280
- package/lib/rest/serverless/v1/service/environment.d.ts +0 -307
- package/lib/rest/serverless/v1/service/environment.js +0 -285
- package/lib/rest/serverless/v1/service/function/functionVersion/functionVersionContent.d.ts +0 -113
- package/lib/rest/serverless/v1/service/function/functionVersion/functionVersionContent.js +0 -134
- package/lib/rest/serverless/v1/service/function/functionVersion.d.ts +0 -244
- package/lib/rest/serverless/v1/service/function/functionVersion.js +0 -216
- package/lib/rest/serverless/v1/service/function.d.ts +0 -297
- package/lib/rest/serverless/v1/service/function.js +0 -279
- package/lib/rest/serverless/v1/service.d.ts +0 -363
- package/lib/rest/serverless/v1/service.js +0 -329
- package/lib/rest/studio/V1.d.ts +0 -15
- package/lib/rest/studio/V1.js +0 -36
- package/lib/rest/studio/V2.d.ts +0 -20
- package/lib/rest/studio/V2.js +0 -42
- package/lib/rest/studio/v1/flow/engagement/engagementContext.d.ts +0 -108
- package/lib/rest/studio/v1/flow/engagement/engagementContext.js +0 -126
- package/lib/rest/studio/v1/flow/engagement/step/stepContext.d.ts +0 -116
- package/lib/rest/studio/v1/flow/engagement/step/stepContext.js +0 -134
- package/lib/rest/studio/v1/flow/engagement/step.d.ts +0 -276
- package/lib/rest/studio/v1/flow/engagement/step.js +0 -226
- package/lib/rest/studio/v1/flow/engagement.d.ts +0 -302
- package/lib/rest/studio/v1/flow/engagement.js +0 -276
- package/lib/rest/studio/v1/flow/execution/executionContext.d.ts +0 -108
- package/lib/rest/studio/v1/flow/execution/executionContext.js +0 -126
- package/lib/rest/studio/v1/flow/execution/executionStep/executionStepContext.d.ts +0 -116
- package/lib/rest/studio/v1/flow/execution/executionStep/executionStepContext.js +0 -134
- package/lib/rest/studio/v1/flow/execution/executionStep.d.ts +0 -276
- package/lib/rest/studio/v1/flow/execution/executionStep.js +0 -226
- package/lib/rest/studio/v1/flow/execution.d.ts +0 -340
- package/lib/rest/studio/v1/flow/execution.js +0 -306
- package/lib/rest/studio/v1/flow.d.ts +0 -268
- package/lib/rest/studio/v1/flow.js +0 -237
- package/lib/rest/studio/v2/flow/execution/executionContext.d.ts +0 -108
- package/lib/rest/studio/v2/flow/execution/executionContext.js +0 -126
- package/lib/rest/studio/v2/flow/execution/executionStep/executionStepContext.d.ts +0 -116
- package/lib/rest/studio/v2/flow/execution/executionStep/executionStepContext.js +0 -134
- package/lib/rest/studio/v2/flow/execution/executionStep.d.ts +0 -276
- package/lib/rest/studio/v2/flow/execution/executionStep.js +0 -226
- package/lib/rest/studio/v2/flow/execution.d.ts +0 -334
- package/lib/rest/studio/v2/flow/execution.js +0 -304
- package/lib/rest/studio/v2/flow/flowRevision.d.ts +0 -255
- package/lib/rest/studio/v2/flow/flowRevision.js +0 -203
- package/lib/rest/studio/v2/flow/flowTestUser.d.ts +0 -120
- package/lib/rest/studio/v2/flow/flowTestUser.js +0 -142
- package/lib/rest/studio/v2/flow.d.ts +0 -363
- package/lib/rest/studio/v2/flow.js +0 -327
- package/lib/rest/studio/v2/flowValidate.d.ts +0 -62
- package/lib/rest/studio/v2/flowValidate.js +0 -86
- package/lib/rest/supersim/V1.d.ts +0 -55
- package/lib/rest/supersim/V1.js +0 -86
- package/lib/rest/supersim/v1/esimProfile.d.ts +0 -313
- package/lib/rest/supersim/v1/esimProfile.js +0 -237
- package/lib/rest/supersim/v1/fleet.d.ts +0 -363
- package/lib/rest/supersim/v1/fleet.js +0 -283
- package/lib/rest/supersim/v1/ipCommand.d.ts +0 -311
- package/lib/rest/supersim/v1/ipCommand.js +0 -243
- package/lib/rest/supersim/v1/network.d.ts +0 -228
- package/lib/rest/supersim/v1/network.js +0 -189
- package/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.d.ts +0 -251
- package/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.js +0 -234
- package/lib/rest/supersim/v1/networkAccessProfile.d.ts +0 -295
- package/lib/rest/supersim/v1/networkAccessProfile.js +0 -254
- package/lib/rest/supersim/v1/settingsUpdate.d.ts +0 -196
- package/lib/rest/supersim/v1/settingsUpdate.js +0 -137
- package/lib/rest/supersim/v1/sim/billingPeriod.d.ts +0 -185
- package/lib/rest/supersim/v1/sim/billingPeriod.js +0 -137
- package/lib/rest/supersim/v1/sim/simIpAddress.d.ts +0 -149
- package/lib/rest/supersim/v1/sim/simIpAddress.js +0 -125
- package/lib/rest/supersim/v1/sim.d.ts +0 -343
- package/lib/rest/supersim/v1/sim.js +0 -289
- package/lib/rest/supersim/v1/smsCommand.d.ts +0 -276
- package/lib/rest/supersim/v1/smsCommand.js +0 -227
- package/lib/rest/supersim/v1/usageRecord.d.ts +0 -257
- package/lib/rest/supersim/v1/usageRecord.js +0 -155
- package/lib/rest/sync/V1.d.ts +0 -15
- package/lib/rest/sync/V1.js +0 -36
- package/lib/rest/sync/v1/service/document/documentPermission.d.ts +0 -279
- package/lib/rest/sync/v1/service/document/documentPermission.js +0 -260
- package/lib/rest/sync/v1/service/document.d.ts +0 -353
- package/lib/rest/sync/v1/service/document.js +0 -297
- package/lib/rest/sync/v1/service/syncList/syncListItem.d.ts +0 -384
- package/lib/rest/sync/v1/service/syncList/syncListItem.js +0 -302
- package/lib/rest/sync/v1/service/syncList/syncListPermission.d.ts +0 -279
- package/lib/rest/sync/v1/service/syncList/syncListPermission.js +0 -260
- package/lib/rest/sync/v1/service/syncList.d.ts +0 -353
- package/lib/rest/sync/v1/service/syncList.js +0 -306
- package/lib/rest/sync/v1/service/syncMap/syncMapItem.d.ts +0 -386
- package/lib/rest/sync/v1/service/syncMap/syncMapItem.js +0 -306
- package/lib/rest/sync/v1/service/syncMap/syncMapPermission.d.ts +0 -279
- package/lib/rest/sync/v1/service/syncMap/syncMapPermission.js +0 -260
- package/lib/rest/sync/v1/service/syncMap.d.ts +0 -353
- package/lib/rest/sync/v1/service/syncMap.js +0 -306
- package/lib/rest/sync/v1/service/syncStream/streamMessage.d.ts +0 -60
- package/lib/rest/sync/v1/service/syncStream/streamMessage.js +0 -84
- package/lib/rest/sync/v1/service/syncStream.d.ts +0 -335
- package/lib/rest/sync/v1/service/syncStream.js +0 -287
- package/lib/rest/sync/v1/service.d.ts +0 -403
- package/lib/rest/sync/v1/service.js +0 -352
- package/lib/rest/taskrouter/V1.d.ts +0 -15
- package/lib/rest/taskrouter/V1.js +0 -36
- package/lib/rest/taskrouter/v1/workspace/activity.d.ts +0 -322
- package/lib/rest/taskrouter/v1/workspace/activity.js +0 -275
- package/lib/rest/taskrouter/v1/workspace/event.d.ts +0 -350
- package/lib/rest/taskrouter/v1/workspace/event.js +0 -235
- package/lib/rest/taskrouter/v1/workspace/task/reservation.d.ts +0 -416
- package/lib/rest/taskrouter/v1/workspace/task/reservation.js +0 -351
- package/lib/rest/taskrouter/v1/workspace/task.d.ts +0 -531
- package/lib/rest/taskrouter/v1/workspace/task.js +0 -365
- package/lib/rest/taskrouter/v1/workspace/taskChannel.d.ts +0 -323
- package/lib/rest/taskrouter/v1/workspace/taskChannel.js +0 -279
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueBulkRealTimeStatistics.d.ts +0 -86
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueBulkRealTimeStatistics.js +0 -90
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.d.ts +0 -243
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.js +0 -173
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueRealTimeStatistics.d.ts +0 -187
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueRealTimeStatistics.js +0 -149
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueStatistics.d.ts +0 -147
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueStatistics.js +0 -140
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.d.ts +0 -202
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.js +0 -143
- package/lib/rest/taskrouter/v1/workspace/taskQueue.d.ts +0 -422
- package/lib/rest/taskrouter/v1/workspace/taskQueue.js +0 -367
- package/lib/rest/taskrouter/v1/workspace/worker/reservation.d.ts +0 -405
- package/lib/rest/taskrouter/v1/workspace/worker/reservation.js +0 -345
- package/lib/rest/taskrouter/v1/workspace/worker/workerChannel.d.ts +0 -306
- package/lib/rest/taskrouter/v1/workspace/worker/workerChannel.js +0 -241
- package/lib/rest/taskrouter/v1/workspace/worker/workerStatistics.d.ts +0 -139
- package/lib/rest/taskrouter/v1/workspace/worker/workerStatistics.js +0 -136
- package/lib/rest/taskrouter/v1/workspace/worker/workersCumulativeStatistics.d.ts +0 -179
- package/lib/rest/taskrouter/v1/workspace/worker/workersCumulativeStatistics.js +0 -144
- package/lib/rest/taskrouter/v1/workspace/worker/workersRealTimeStatistics.d.ts +0 -131
- package/lib/rest/taskrouter/v1/workspace/worker/workersRealTimeStatistics.js +0 -124
- package/lib/rest/taskrouter/v1/workspace/worker/workersStatistics.d.ts +0 -143
- package/lib/rest/taskrouter/v1/workspace/worker/workersStatistics.js +0 -136
- package/lib/rest/taskrouter/v1/workspace/worker.d.ts +0 -453
- package/lib/rest/taskrouter/v1/workspace/worker.js +0 -376
- package/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.d.ts +0 -243
- package/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.js +0 -172
- package/lib/rest/taskrouter/v1/workspace/workflow/workflowRealTimeStatistics.d.ts +0 -157
- package/lib/rest/taskrouter/v1/workspace/workflow/workflowRealTimeStatistics.js +0 -138
- package/lib/rest/taskrouter/v1/workspace/workflow/workflowStatistics.d.ts +0 -147
- package/lib/rest/taskrouter/v1/workspace/workflow/workflowStatistics.js +0 -140
- package/lib/rest/taskrouter/v1/workspace/workflow.d.ts +0 -383
- package/lib/rest/taskrouter/v1/workspace/workflow.js +0 -342
- package/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.d.ts +0 -235
- package/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.js +0 -164
- package/lib/rest/taskrouter/v1/workspace/workspaceRealTimeStatistics.d.ts +0 -161
- package/lib/rest/taskrouter/v1/workspace/workspaceRealTimeStatistics.js +0 -134
- package/lib/rest/taskrouter/v1/workspace/workspaceStatistics.d.ts +0 -139
- package/lib/rest/taskrouter/v1/workspace/workspaceStatistics.js +0 -132
- package/lib/rest/taskrouter/v1/workspace.d.ts +0 -454
- package/lib/rest/taskrouter/v1/workspace.js +0 -426
- package/lib/rest/trunking/V1.d.ts +0 -15
- package/lib/rest/trunking/V1.js +0 -36
- package/lib/rest/trunking/v1/trunk/credentialList.d.ts +0 -257
- package/lib/rest/trunking/v1/trunk/credentialList.js +0 -237
- package/lib/rest/trunking/v1/trunk/ipAccessControlList.d.ts +0 -257
- package/lib/rest/trunking/v1/trunk/ipAccessControlList.js +0 -237
- package/lib/rest/trunking/v1/trunk/originationUrl.d.ts +0 -339
- package/lib/rest/trunking/v1/trunk/originationUrl.js +0 -297
- package/lib/rest/trunking/v1/trunk/phoneNumber.d.ts +0 -372
- package/lib/rest/trunking/v1/trunk/phoneNumber.js +0 -275
- package/lib/rest/trunking/v1/trunk/recording.d.ts +0 -134
- package/lib/rest/trunking/v1/trunk/recording.js +0 -144
- package/lib/rest/trunking/v1/trunk.d.ts +0 -441
- package/lib/rest/trunking/v1/trunk.js +0 -374
- package/lib/rest/trusthub/V1.d.ts +0 -60
- package/lib/rest/trusthub/V1.js +0 -99
- package/lib/rest/trusthub/v1/complianceInquiries.d.ts +0 -138
- package/lib/rest/trusthub/v1/complianceInquiries.js +0 -149
- package/lib/rest/trusthub/v1/complianceRegistrationInquiries.d.ts +0 -234
- package/lib/rest/trusthub/v1/complianceRegistrationInquiries.js +0 -233
- package/lib/rest/trusthub/v1/complianceTollfreeInquiries.d.ts +0 -120
- package/lib/rest/trusthub/v1/complianceTollfreeInquiries.js +0 -132
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesChannelEndpointAssignment.d.ts +0 -271
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesChannelEndpointAssignment.js +0 -246
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEntityAssignments.d.ts +0 -257
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEntityAssignments.js +0 -236
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +0 -241
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.js +0 -217
- package/lib/rest/trusthub/v1/customerProfiles.d.ts +0 -388
- package/lib/rest/trusthub/v1/customerProfiles.js +0 -332
- package/lib/rest/trusthub/v1/endUser.d.ts +0 -309
- package/lib/rest/trusthub/v1/endUser.js +0 -269
- package/lib/rest/trusthub/v1/endUserType.d.ts +0 -210
- package/lib/rest/trusthub/v1/endUserType.js +0 -183
- package/lib/rest/trusthub/v1/policies.d.ts +0 -204
- package/lib/rest/trusthub/v1/policies.js +0 -181
- package/lib/rest/trusthub/v1/supportingDocument.d.ts +0 -322
- package/lib/rest/trusthub/v1/supportingDocument.js +0 -273
- package/lib/rest/trusthub/v1/supportingDocumentType.d.ts +0 -210
- package/lib/rest/trusthub/v1/supportingDocumentType.js +0 -183
- package/lib/rest/trusthub/v1/trustProducts/trustProductsChannelEndpointAssignment.d.ts +0 -271
- package/lib/rest/trusthub/v1/trustProducts/trustProductsChannelEndpointAssignment.js +0 -246
- package/lib/rest/trusthub/v1/trustProducts/trustProductsEntityAssignments.d.ts +0 -257
- package/lib/rest/trusthub/v1/trustProducts/trustProductsEntityAssignments.js +0 -236
- package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +0 -241
- package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.js +0 -217
- package/lib/rest/trusthub/v1/trustProducts.d.ts +0 -388
- package/lib/rest/trusthub/v1/trustProducts.js +0 -332
- package/lib/rest/verify/V2.d.ts +0 -40
- package/lib/rest/verify/V2.js +0 -69
- package/lib/rest/verify/v2/form.d.ts +0 -100
- package/lib/rest/verify/v2/form.js +0 -115
- package/lib/rest/verify/v2/safelist.d.ts +0 -126
- package/lib/rest/verify/v2/safelist.js +0 -156
- package/lib/rest/verify/v2/service/accessToken.d.ts +0 -160
- package/lib/rest/verify/v2/service/accessToken.js +0 -163
- package/lib/rest/verify/v2/service/approveChallenge.d.ts +0 -202
- package/lib/rest/verify/v2/service/approveChallenge.js +0 -123
- package/lib/rest/verify/v2/service/entity/challenge/notification.d.ts +0 -111
- package/lib/rest/verify/v2/service/entity/challenge/notification.js +0 -103
- package/lib/rest/verify/v2/service/entity/challenge.d.ts +0 -392
- package/lib/rest/verify/v2/service/entity/challenge.js +0 -302
- package/lib/rest/verify/v2/service/entity/factor.d.ts +0 -340
- package/lib/rest/verify/v2/service/entity/factor.js +0 -277
- package/lib/rest/verify/v2/service/entity/newFactor.d.ts +0 -165
- package/lib/rest/verify/v2/service/entity/newFactor.js +0 -140
- package/lib/rest/verify/v2/service/entity.d.ts +0 -287
- package/lib/rest/verify/v2/service/entity.js +0 -277
- package/lib/rest/verify/v2/service/messagingConfiguration.d.ts +0 -285
- package/lib/rest/verify/v2/service/messagingConfiguration.js +0 -268
- package/lib/rest/verify/v2/service/newChallenge.d.ts +0 -205
- package/lib/rest/verify/v2/service/newChallenge.js +0 -153
- package/lib/rest/verify/v2/service/newFactor.d.ts +0 -154
- package/lib/rest/verify/v2/service/newFactor.js +0 -118
- package/lib/rest/verify/v2/service/newVerifyFactor.d.ts +0 -162
- package/lib/rest/verify/v2/service/newVerifyFactor.js +0 -111
- package/lib/rest/verify/v2/service/rateLimit/bucket.d.ts +0 -317
- package/lib/rest/verify/v2/service/rateLimit/bucket.js +0 -280
- package/lib/rest/verify/v2/service/rateLimit.d.ts +0 -321
- package/lib/rest/verify/v2/service/rateLimit.js +0 -283
- package/lib/rest/verify/v2/service/verification.d.ts +0 -252
- package/lib/rest/verify/v2/service/verification.js +0 -228
- package/lib/rest/verify/v2/service/verificationCheck.d.ts +0 -138
- package/lib/rest/verify/v2/service/verificationCheck.js +0 -113
- package/lib/rest/verify/v2/service/webhook.d.ts +0 -348
- package/lib/rest/verify/v2/service/webhook.js +0 -295
- package/lib/rest/verify/v2/service.d.ts +0 -560
- package/lib/rest/verify/v2/service.js +0 -535
- package/lib/rest/verify/v2/template.d.ts +0 -171
- package/lib/rest/verify/v2/template.js +0 -129
- package/lib/rest/verify/v2/verificationAttempt.d.ts +0 -293
- package/lib/rest/verify/v2/verificationAttempt.js +0 -211
- package/lib/rest/verify/v2/verificationAttemptsSummary.d.ts +0 -137
- package/lib/rest/verify/v2/verificationAttemptsSummary.js +0 -127
- package/lib/rest/video/V1.d.ts +0 -40
- package/lib/rest/video/V1.js +0 -69
- package/lib/rest/video/v1/composition.d.ts +0 -381
- package/lib/rest/video/v1/composition.js +0 -282
- package/lib/rest/video/v1/compositionHook.d.ts +0 -390
- package/lib/rest/video/v1/compositionHook.js +0 -318
- package/lib/rest/video/v1/compositionSettings.d.ts +0 -158
- package/lib/rest/video/v1/compositionSettings.js +0 -155
- package/lib/rest/video/v1/recording.d.ts +0 -342
- package/lib/rest/video/v1/recording.js +0 -242
- package/lib/rest/video/v1/recordingSettings.d.ts +0 -158
- package/lib/rest/video/v1/recordingSettings.js +0 -155
- package/lib/rest/video/v1/room/participant/anonymize.d.ts +0 -145
- package/lib/rest/video/v1/room/participant/anonymize.js +0 -138
- package/lib/rest/video/v1/room/participant/publishedTrack.d.ts +0 -239
- package/lib/rest/video/v1/room/participant/publishedTrack.js +0 -203
- package/lib/rest/video/v1/room/participant/subscribeRules.d.ts +0 -102
- package/lib/rest/video/v1/room/participant/subscribeRules.js +0 -107
- package/lib/rest/video/v1/room/participant/subscribedTrack.d.ts +0 -245
- package/lib/rest/video/v1/room/participant/subscribedTrack.js +0 -205
- package/lib/rest/video/v1/room/participant.d.ts +0 -353
- package/lib/rest/video/v1/room/participant.js +0 -291
- package/lib/rest/video/v1/room/recordingRules.d.ts +0 -94
- package/lib/rest/video/v1/room/recordingRules.js +0 -102
- package/lib/rest/video/v1/room/roomRecording.d.ts +0 -326
- package/lib/rest/video/v1/room/roomRecording.js +0 -242
- package/lib/rest/video/v1/room/transcriptions.d.ts +0 -315
- package/lib/rest/video/v1/room/transcriptions.js +0 -253
- package/lib/rest/video/v1/room.d.ts +0 -459
- package/lib/rest/video/v1/room.js +0 -362
- package/lib/rest/voice/V1.d.ts +0 -40
- package/lib/rest/voice/V1.js +0 -69
- package/lib/rest/voice/v1/archivedCall.d.ts +0 -50
- package/lib/rest/voice/v1/archivedCall.js +0 -73
- package/lib/rest/voice/v1/byocTrunk.d.ts +0 -389
- package/lib/rest/voice/v1/byocTrunk.js +0 -312
- package/lib/rest/voice/v1/connectionPolicy/connectionPolicyTarget.d.ts +0 -339
- package/lib/rest/voice/v1/connectionPolicy/connectionPolicyTarget.js +0 -288
- package/lib/rest/voice/v1/connectionPolicy.d.ts +0 -313
- package/lib/rest/voice/v1/connectionPolicy.js +0 -273
- package/lib/rest/voice/v1/dialingPermissions/bulkCountryUpdate.d.ts +0 -58
- package/lib/rest/voice/v1/dialingPermissions/bulkCountryUpdate.js +0 -78
- package/lib/rest/voice/v1/dialingPermissions/country/highriskSpecialPrefix.d.ts +0 -142
- package/lib/rest/voice/v1/dialingPermissions/country/highriskSpecialPrefix.js +0 -123
- package/lib/rest/voice/v1/dialingPermissions/country.d.ts +0 -278
- package/lib/rest/voice/v1/dialingPermissions/country.js +0 -218
- package/lib/rest/voice/v1/dialingPermissions/settings.d.ts +0 -128
- package/lib/rest/voice/v1/dialingPermissions/settings.js +0 -134
- package/lib/rest/voice/v1/dialingPermissions.d.ts +0 -24
- package/lib/rest/voice/v1/dialingPermissions.js +0 -59
- package/lib/rest/voice/v1/ipRecord.d.ts +0 -307
- package/lib/rest/voice/v1/ipRecord.js +0 -264
- package/lib/rest/voice/v1/sourceIpMapping.d.ts +0 -277
- package/lib/rest/voice/v1/sourceIpMapping.js +0 -260
- package/lib/rest/wireless/V1.d.ts +0 -30
- package/lib/rest/wireless/V1.js +0 -54
- package/lib/rest/wireless/v1/command.d.ts +0 -325
- package/lib/rest/wireless/v1/command.js +0 -260
- package/lib/rest/wireless/v1/ratePlan.d.ts +0 -387
- package/lib/rest/wireless/v1/ratePlan.js +0 -303
- package/lib/rest/wireless/v1/sim/dataSession.d.ts +0 -232
- package/lib/rest/wireless/v1/sim/dataSession.js +0 -153
- package/lib/rest/wireless/v1/sim/usageRecord.d.ts +0 -188
- package/lib/rest/wireless/v1/sim/usageRecord.js +0 -137
- package/lib/rest/wireless/v1/sim.d.ts +0 -465
- package/lib/rest/wireless/v1/sim.js +0 -339
- package/lib/rest/wireless/v1/usageRecord.d.ts +0 -181
- package/lib/rest/wireless/v1/usageRecord.js +0 -131
- package/lib/twiml/FaxResponse.d.ts +0 -66
- package/lib/twiml/FaxResponse.js +0 -66
- package/lib/twiml/MessagingResponse.d.ts +0 -117
- package/lib/twiml/MessagingResponse.js +0 -119
- package/lib/twiml/TwiML.d.ts +0 -42
- package/lib/twiml/TwiML.js +0 -83
- package/lib/twiml/VoiceResponse.d.ts +0 -2885
- package/lib/twiml/VoiceResponse.js +0 -1632
- package/lib/webhooks/webhooks.d.ts +0 -134
- package/lib/webhooks/webhooks.js +0 -322
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Policy = void 0;
|
|
7
|
-
const jsonwebtoken_1 = __importDefault(require("jsonwebtoken"));
|
|
8
|
-
/**
|
|
9
|
-
* Create a new Policy
|
|
10
|
-
*/
|
|
11
|
-
class Policy {
|
|
12
|
-
/**
|
|
13
|
-
* Create a new Policy instance
|
|
14
|
-
*
|
|
15
|
-
* @param options - ...
|
|
16
|
-
* @param options.url - Policy URL
|
|
17
|
-
* @param options.method - HTTP Method
|
|
18
|
-
* @param options.queryFilter - Request query filter allowances
|
|
19
|
-
* @param options.postFilter - Request post filter allowances
|
|
20
|
-
* @param options.allowed - Allow the policy
|
|
21
|
-
*/
|
|
22
|
-
constructor(options) {
|
|
23
|
-
options = options || {};
|
|
24
|
-
this.url = options.url || "";
|
|
25
|
-
this.method = options.method || "GET";
|
|
26
|
-
this.queryFilter = options.queryFilter || {};
|
|
27
|
-
this.postFilter = options.postFilter || {};
|
|
28
|
-
this.allow = options.allow || true;
|
|
29
|
-
}
|
|
30
|
-
payload() {
|
|
31
|
-
return {
|
|
32
|
-
url: this.url,
|
|
33
|
-
method: this.method,
|
|
34
|
-
query_filter: this.queryFilter,
|
|
35
|
-
post_filter: this.postFilter,
|
|
36
|
-
allow: this.allow,
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
exports.Policy = Policy;
|
|
41
|
-
class TaskRouterCapability {
|
|
42
|
-
/**
|
|
43
|
-
* @param options - ...
|
|
44
|
-
* @param options.accountSid - account sid
|
|
45
|
-
* @param options.authToken - auth token
|
|
46
|
-
* @param options.workspaceSid - workspace sid
|
|
47
|
-
* @param options.channelId - taskrouter channel id
|
|
48
|
-
* @param options.friendlyName - friendly name for the jwt
|
|
49
|
-
* @param options.ttl - time to live
|
|
50
|
-
* @param options.version - taskrouter version
|
|
51
|
-
*/
|
|
52
|
-
constructor(options) {
|
|
53
|
-
if (!options) {
|
|
54
|
-
throw new Error('Required parameter "options" missing.');
|
|
55
|
-
}
|
|
56
|
-
if (!options.accountSid) {
|
|
57
|
-
throw new Error('Required parameter "options.accountSid" missing.');
|
|
58
|
-
}
|
|
59
|
-
if (!options.authToken) {
|
|
60
|
-
throw new Error('Required parameter "options.authToken" missing.');
|
|
61
|
-
}
|
|
62
|
-
if (!options.workspaceSid) {
|
|
63
|
-
throw new Error('Required parameter "options.workspaceSid" missing.');
|
|
64
|
-
}
|
|
65
|
-
if (!options.channelId) {
|
|
66
|
-
throw new Error('Required parameter "options.channelId" missing.');
|
|
67
|
-
}
|
|
68
|
-
this.accountSid = options.accountSid;
|
|
69
|
-
this.authToken = options.authToken;
|
|
70
|
-
this.workspaceSid = options.workspaceSid;
|
|
71
|
-
this.channelId = options.channelId;
|
|
72
|
-
this.friendlyName = options.friendlyName;
|
|
73
|
-
this.ttl = options.ttl || 3600;
|
|
74
|
-
this.version = options.version || "v1";
|
|
75
|
-
this.policies = [];
|
|
76
|
-
}
|
|
77
|
-
addPolicy(policy) {
|
|
78
|
-
this.policies.push(policy);
|
|
79
|
-
}
|
|
80
|
-
toJwt() {
|
|
81
|
-
var payload = {
|
|
82
|
-
iss: this.accountSid,
|
|
83
|
-
exp: Math.floor(new Date().valueOf() / 1000) + this.ttl,
|
|
84
|
-
version: this.version,
|
|
85
|
-
friendly_name: this.friendlyName,
|
|
86
|
-
account_sid: this.accountSid,
|
|
87
|
-
channel: this.channelId,
|
|
88
|
-
workspace_sid: this.workspaceSid,
|
|
89
|
-
policies: this.policies.map((policy) => policy.payload()),
|
|
90
|
-
};
|
|
91
|
-
if (this.channelId.startsWith("WK")) {
|
|
92
|
-
payload.worker_sid = this.channelId;
|
|
93
|
-
}
|
|
94
|
-
else if (this.channelId.startsWith("WQ")) {
|
|
95
|
-
payload.taskqueue_sid = this.channelId;
|
|
96
|
-
}
|
|
97
|
-
return jsonwebtoken_1.default.sign(payload, this.authToken);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
TaskRouterCapability.Policy = Policy;
|
|
101
|
-
exports.default = TaskRouterCapability;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { Policy } from "./TaskRouterCapability";
|
|
2
|
-
/**
|
|
3
|
-
* Build the default Policies for a worker
|
|
4
|
-
*
|
|
5
|
-
* @param version - TaskRouter version
|
|
6
|
-
* @param workspaceSid - workspace sid
|
|
7
|
-
* @param workerSid - worker sid
|
|
8
|
-
* @returns list of Policies
|
|
9
|
-
*/
|
|
10
|
-
export declare function defaultWorkerPolicies(version: string, workspaceSid: string, workerSid: string): Policy[];
|
|
11
|
-
/**
|
|
12
|
-
* Build the default Event Bridge Policies
|
|
13
|
-
*
|
|
14
|
-
* @param accountSid - account sid
|
|
15
|
-
* @param channelId - channel id
|
|
16
|
-
* @returns list of Policies
|
|
17
|
-
*/
|
|
18
|
-
export declare function defaultEventBridgePolicies(accountSid: string, channelId: string): Policy[];
|
|
19
|
-
/**
|
|
20
|
-
* Generate TaskRouter workspace url
|
|
21
|
-
*
|
|
22
|
-
* @param workspaceSid - workspace sid or '**' for all workspaces
|
|
23
|
-
* @returns generated url
|
|
24
|
-
*/
|
|
25
|
-
export declare function workspacesUrl(workspaceSid?: string): string;
|
|
26
|
-
/**
|
|
27
|
-
* Generate TaskRouter task queue url
|
|
28
|
-
*
|
|
29
|
-
* @param workspaceSid - workspace sid
|
|
30
|
-
* @param taskQueueSid - task queue sid or '**' for all task queues
|
|
31
|
-
* @returns generated url
|
|
32
|
-
*/
|
|
33
|
-
export declare function taskQueuesUrl(workspaceSid: string, taskQueueSid?: string): string;
|
|
34
|
-
/**
|
|
35
|
-
* Generate TaskRouter task url
|
|
36
|
-
*
|
|
37
|
-
* @param workspaceSid - workspace sid
|
|
38
|
-
* @param taskSid - task sid or '**' for all tasks
|
|
39
|
-
* @returns generated url
|
|
40
|
-
*/
|
|
41
|
-
export declare function tasksUrl(workspaceSid: string, taskSid?: string): string;
|
|
42
|
-
/**
|
|
43
|
-
* Generate TaskRouter activity url
|
|
44
|
-
*
|
|
45
|
-
* @param workspaceSid - workspace sid
|
|
46
|
-
* @param activitySid - activity sid or '**' for all activities
|
|
47
|
-
* @returns generated url
|
|
48
|
-
*/
|
|
49
|
-
export declare function activitiesUrl(workspaceSid: string, activitySid?: string): string;
|
|
50
|
-
/**
|
|
51
|
-
* Generate TaskRouter worker url
|
|
52
|
-
*
|
|
53
|
-
* @param workspaceSid - workspace sid
|
|
54
|
-
* @param workerSid - worker sid or '**' for all workers
|
|
55
|
-
* @returns generated url
|
|
56
|
-
*/
|
|
57
|
-
export declare function workersUrl(workspaceSid: string, workerSid?: string): string;
|
|
58
|
-
/**
|
|
59
|
-
* Generate TaskRouter worker reservation url
|
|
60
|
-
*
|
|
61
|
-
* @param workspaceSid - workspace sid
|
|
62
|
-
* @param workerSid - worker sid
|
|
63
|
-
* @param reservationSid - reservation sid or '**' for all reservations
|
|
64
|
-
* @returns generated url
|
|
65
|
-
*/
|
|
66
|
-
export declare function reservationsUrl(workspaceSid: string, workerSid: string, reservationSid?: string): string;
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultWorkerPolicies = defaultWorkerPolicies;
|
|
4
|
-
exports.defaultEventBridgePolicies = defaultEventBridgePolicies;
|
|
5
|
-
exports.workspacesUrl = workspacesUrl;
|
|
6
|
-
exports.taskQueuesUrl = taskQueuesUrl;
|
|
7
|
-
exports.tasksUrl = tasksUrl;
|
|
8
|
-
exports.activitiesUrl = activitiesUrl;
|
|
9
|
-
exports.workersUrl = workersUrl;
|
|
10
|
-
exports.reservationsUrl = reservationsUrl;
|
|
11
|
-
const TaskRouterCapability_1 = require("./TaskRouterCapability");
|
|
12
|
-
const EVENT_URL_BASE = "https://event-bridge.twilio.com/v1/wschannels";
|
|
13
|
-
const TASKROUTER_BASE_URL = "https://taskrouter.twilio.com";
|
|
14
|
-
const TASKROUTER_VERSION = "v1";
|
|
15
|
-
/**
|
|
16
|
-
* Build the default Policies for a worker
|
|
17
|
-
*
|
|
18
|
-
* @param version - TaskRouter version
|
|
19
|
-
* @param workspaceSid - workspace sid
|
|
20
|
-
* @param workerSid - worker sid
|
|
21
|
-
* @returns list of Policies
|
|
22
|
-
*/
|
|
23
|
-
function defaultWorkerPolicies(version, workspaceSid, workerSid) {
|
|
24
|
-
var activities = new TaskRouterCapability_1.Policy({
|
|
25
|
-
url: [
|
|
26
|
-
TASKROUTER_BASE_URL,
|
|
27
|
-
version,
|
|
28
|
-
"Workspaces",
|
|
29
|
-
workspaceSid,
|
|
30
|
-
"Activities",
|
|
31
|
-
].join("/"),
|
|
32
|
-
method: "GET",
|
|
33
|
-
allow: true,
|
|
34
|
-
});
|
|
35
|
-
var tasks = new TaskRouterCapability_1.Policy({
|
|
36
|
-
url: [
|
|
37
|
-
TASKROUTER_BASE_URL,
|
|
38
|
-
version,
|
|
39
|
-
"Workspaces",
|
|
40
|
-
workspaceSid,
|
|
41
|
-
"Tasks",
|
|
42
|
-
"**",
|
|
43
|
-
].join("/"),
|
|
44
|
-
method: "GET",
|
|
45
|
-
allow: true,
|
|
46
|
-
});
|
|
47
|
-
var reservations = new TaskRouterCapability_1.Policy({
|
|
48
|
-
url: [
|
|
49
|
-
TASKROUTER_BASE_URL,
|
|
50
|
-
version,
|
|
51
|
-
"Workspaces",
|
|
52
|
-
workspaceSid,
|
|
53
|
-
"Workers",
|
|
54
|
-
workerSid,
|
|
55
|
-
"Reservations",
|
|
56
|
-
"**",
|
|
57
|
-
].join("/"),
|
|
58
|
-
method: "GET",
|
|
59
|
-
allow: true,
|
|
60
|
-
});
|
|
61
|
-
var workerFetch = new TaskRouterCapability_1.Policy({
|
|
62
|
-
url: [
|
|
63
|
-
TASKROUTER_BASE_URL,
|
|
64
|
-
version,
|
|
65
|
-
"Workspaces",
|
|
66
|
-
workspaceSid,
|
|
67
|
-
"Workers",
|
|
68
|
-
workerSid,
|
|
69
|
-
].join("/"),
|
|
70
|
-
method: "GET",
|
|
71
|
-
allow: true,
|
|
72
|
-
});
|
|
73
|
-
return [activities, tasks, reservations, workerFetch];
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Build the default Event Bridge Policies
|
|
77
|
-
*
|
|
78
|
-
* @param accountSid - account sid
|
|
79
|
-
* @param channelId - channel id
|
|
80
|
-
* @returns list of Policies
|
|
81
|
-
*/
|
|
82
|
-
function defaultEventBridgePolicies(accountSid, channelId) {
|
|
83
|
-
var url = [EVENT_URL_BASE, accountSid, channelId].join("/");
|
|
84
|
-
return [
|
|
85
|
-
new TaskRouterCapability_1.Policy({
|
|
86
|
-
url: url,
|
|
87
|
-
method: "GET",
|
|
88
|
-
allow: true,
|
|
89
|
-
}),
|
|
90
|
-
new TaskRouterCapability_1.Policy({
|
|
91
|
-
url: url,
|
|
92
|
-
method: "POST",
|
|
93
|
-
allow: true,
|
|
94
|
-
}),
|
|
95
|
-
];
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Generate TaskRouter workspace url
|
|
99
|
-
*
|
|
100
|
-
* @param workspaceSid - workspace sid or '**' for all workspaces
|
|
101
|
-
* @returns generated url
|
|
102
|
-
*/
|
|
103
|
-
function workspacesUrl(workspaceSid) {
|
|
104
|
-
return [TASKROUTER_BASE_URL, TASKROUTER_VERSION, "Workspaces", workspaceSid]
|
|
105
|
-
.filter((item) => typeof item === "string")
|
|
106
|
-
.join("/");
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* Generate TaskRouter task queue url
|
|
110
|
-
*
|
|
111
|
-
* @param workspaceSid - workspace sid
|
|
112
|
-
* @param taskQueueSid - task queue sid or '**' for all task queues
|
|
113
|
-
* @returns generated url
|
|
114
|
-
*/
|
|
115
|
-
function taskQueuesUrl(workspaceSid, taskQueueSid) {
|
|
116
|
-
return [workspacesUrl(workspaceSid), "TaskQueues", taskQueueSid]
|
|
117
|
-
.filter((item) => typeof item === "string")
|
|
118
|
-
.join("/");
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* Generate TaskRouter task url
|
|
122
|
-
*
|
|
123
|
-
* @param workspaceSid - workspace sid
|
|
124
|
-
* @param taskSid - task sid or '**' for all tasks
|
|
125
|
-
* @returns generated url
|
|
126
|
-
*/
|
|
127
|
-
function tasksUrl(workspaceSid, taskSid) {
|
|
128
|
-
return [workspacesUrl(workspaceSid), "Tasks", taskSid]
|
|
129
|
-
.filter((item) => typeof item === "string")
|
|
130
|
-
.join("/");
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* Generate TaskRouter activity url
|
|
134
|
-
*
|
|
135
|
-
* @param workspaceSid - workspace sid
|
|
136
|
-
* @param activitySid - activity sid or '**' for all activities
|
|
137
|
-
* @returns generated url
|
|
138
|
-
*/
|
|
139
|
-
function activitiesUrl(workspaceSid, activitySid) {
|
|
140
|
-
return [workspacesUrl(workspaceSid), "Activities", activitySid]
|
|
141
|
-
.filter((item) => typeof item === "string")
|
|
142
|
-
.join("/");
|
|
143
|
-
}
|
|
144
|
-
/**
|
|
145
|
-
* Generate TaskRouter worker url
|
|
146
|
-
*
|
|
147
|
-
* @param workspaceSid - workspace sid
|
|
148
|
-
* @param workerSid - worker sid or '**' for all workers
|
|
149
|
-
* @returns generated url
|
|
150
|
-
*/
|
|
151
|
-
function workersUrl(workspaceSid, workerSid) {
|
|
152
|
-
return [workspacesUrl(workspaceSid), "Workers", workerSid]
|
|
153
|
-
.filter((item) => typeof item === "string")
|
|
154
|
-
.join("/");
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* Generate TaskRouter worker reservation url
|
|
158
|
-
*
|
|
159
|
-
* @param workspaceSid - workspace sid
|
|
160
|
-
* @param workerSid - worker sid
|
|
161
|
-
* @param reservationSid - reservation sid or '**' for all reservations
|
|
162
|
-
* @returns generated url
|
|
163
|
-
*/
|
|
164
|
-
function reservationsUrl(workspaceSid, workerSid, reservationSid) {
|
|
165
|
-
return [workersUrl(workspaceSid, workerSid), "Reservations", reservationSid]
|
|
166
|
-
.filter((item) => typeof item === "string")
|
|
167
|
-
.join("/");
|
|
168
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare class RequestCanonicalizer {
|
|
2
|
-
method: string;
|
|
3
|
-
uri: string;
|
|
4
|
-
queryParams: Record<string, string>;
|
|
5
|
-
requestBody: any;
|
|
6
|
-
headers: Record<string, string>;
|
|
7
|
-
constructor(method: string, uri: string, queryParams: Record<string, string>, requestBody: any, headers: Record<string, string>);
|
|
8
|
-
getCanonicalizedMethod(): string;
|
|
9
|
-
customEncode(str: string): string;
|
|
10
|
-
ASCIICompare(a: string, b: string): number;
|
|
11
|
-
getCanonicalizedPath(): string;
|
|
12
|
-
getCanonicalizedQueryParams(): string;
|
|
13
|
-
getCanonicalizedHeaders(): string;
|
|
14
|
-
getCanonicalizedHashedHeaders(): string;
|
|
15
|
-
getCanonicalizedRequestBody(): string;
|
|
16
|
-
sha256Hex(body: string): string;
|
|
17
|
-
getCanonicalizedRequestString(): string;
|
|
18
|
-
create(): string;
|
|
19
|
-
}
|
|
20
|
-
export default RequestCanonicalizer;
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const crypto_1 = __importDefault(require("crypto"));
|
|
7
|
-
class RequestCanonicalizer {
|
|
8
|
-
constructor(method, uri, queryParams, requestBody, headers) {
|
|
9
|
-
this.method = method;
|
|
10
|
-
this.uri = uri;
|
|
11
|
-
this.queryParams = queryParams;
|
|
12
|
-
this.requestBody = requestBody;
|
|
13
|
-
this.headers = headers;
|
|
14
|
-
}
|
|
15
|
-
getCanonicalizedMethod() {
|
|
16
|
-
return this.method.toUpperCase();
|
|
17
|
-
}
|
|
18
|
-
customEncode(str) {
|
|
19
|
-
return encodeURIComponent(decodeURIComponent(str))
|
|
20
|
-
.replace(/\*/g, "%2A")
|
|
21
|
-
.replace(/%7E/g, "~");
|
|
22
|
-
}
|
|
23
|
-
ASCIICompare(a, b) {
|
|
24
|
-
if (a < b)
|
|
25
|
-
return -1;
|
|
26
|
-
return a > b ? 1 : 0;
|
|
27
|
-
}
|
|
28
|
-
getCanonicalizedPath() {
|
|
29
|
-
// Remove query string from path
|
|
30
|
-
const path = this.uri.split("?")[0];
|
|
31
|
-
// Normalize duplicate slashes (but preserve the leading one)
|
|
32
|
-
const normalizedPath = path.replace(/\/+/g, "/");
|
|
33
|
-
// We must preserve slashes (as path delimiters) but encode each segment
|
|
34
|
-
// Split and encode, but first decode each segment to avoid double-encoding
|
|
35
|
-
return normalizedPath
|
|
36
|
-
.split("/")
|
|
37
|
-
.map((segment) => this.customEncode(segment))
|
|
38
|
-
.join("/");
|
|
39
|
-
}
|
|
40
|
-
getCanonicalizedQueryParams() {
|
|
41
|
-
if (!this.queryParams) {
|
|
42
|
-
return "";
|
|
43
|
-
}
|
|
44
|
-
// sort query params on the basis of '{key}={value}'
|
|
45
|
-
const sortedQueryParams = Object.entries(this.queryParams)
|
|
46
|
-
.map(([key, value]) => {
|
|
47
|
-
return `${key}=${value}`;
|
|
48
|
-
})
|
|
49
|
-
.sort((a, b) => this.ASCIICompare(a, b)) // forces ASCII sorting using custom compare
|
|
50
|
-
.map((param) => {
|
|
51
|
-
const [key, value] = param.split("=");
|
|
52
|
-
return `${this.customEncode(key)}=${this.customEncode(value)}`; // encode and concatenate as `key=value`
|
|
53
|
-
});
|
|
54
|
-
return sortedQueryParams.join("&");
|
|
55
|
-
}
|
|
56
|
-
getCanonicalizedHeaders() {
|
|
57
|
-
// sort headers on the basis of '{key}:{value}'
|
|
58
|
-
const sortedHeaders = Object.keys(this.headers)
|
|
59
|
-
.map((key) => {
|
|
60
|
-
if (!this.headers[key]) {
|
|
61
|
-
return `${key.toLowerCase()}:`;
|
|
62
|
-
}
|
|
63
|
-
return `${key.toLowerCase()}:${this.headers[key].trim()}`;
|
|
64
|
-
})
|
|
65
|
-
.sort((a, b) => this.ASCIICompare(a, b)); // forces ASCII sorting using custom compare
|
|
66
|
-
return `${sortedHeaders.join("\n")}\n`;
|
|
67
|
-
}
|
|
68
|
-
getCanonicalizedHashedHeaders() {
|
|
69
|
-
const sortedHeaders = Object.keys(this.headers).sort((a, b) => this.ASCIICompare(a, b)); // forces ASCII sorting using custom compare
|
|
70
|
-
return sortedHeaders.join(";");
|
|
71
|
-
}
|
|
72
|
-
getCanonicalizedRequestBody() {
|
|
73
|
-
if (!this.requestBody) {
|
|
74
|
-
return "";
|
|
75
|
-
}
|
|
76
|
-
if (typeof this.requestBody === "string") {
|
|
77
|
-
return this.sha256Hex(this.requestBody);
|
|
78
|
-
}
|
|
79
|
-
else
|
|
80
|
-
return this.sha256Hex(JSON.stringify(this.requestBody));
|
|
81
|
-
}
|
|
82
|
-
sha256Hex(body) {
|
|
83
|
-
return crypto_1.default.createHash("sha256").update(body).digest("hex");
|
|
84
|
-
}
|
|
85
|
-
getCanonicalizedRequestString() {
|
|
86
|
-
return `${this.getCanonicalizedMethod()}
|
|
87
|
-
${this.getCanonicalizedPath()}
|
|
88
|
-
${this.getCanonicalizedQueryParams()}
|
|
89
|
-
${this.getCanonicalizedHeaders()}
|
|
90
|
-
${this.getCanonicalizedHashedHeaders()}
|
|
91
|
-
${this.getCanonicalizedRequestBody()}`;
|
|
92
|
-
}
|
|
93
|
-
create() {
|
|
94
|
-
return this.sha256Hex(this.getCanonicalizedRequestString());
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
exports.default = RequestCanonicalizer;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { ValidationClientOptions } from "../../base/ValidationClient";
|
|
2
|
-
import RequestCanonicalizer from "./RequestCanonicalizer";
|
|
3
|
-
import jwt, { Algorithm } from "jsonwebtoken";
|
|
4
|
-
declare class ValidationToken {
|
|
5
|
-
static readonly DEFAULT_ALGORITHM: "RS256";
|
|
6
|
-
static readonly ALGORITHMS: readonly [jwt.Algorithm, jwt.Algorithm];
|
|
7
|
-
private readonly _accountSid;
|
|
8
|
-
private readonly _credentialSid;
|
|
9
|
-
private readonly _signingKey;
|
|
10
|
-
private readonly _privateKey;
|
|
11
|
-
private readonly _algorithm;
|
|
12
|
-
ttl: number;
|
|
13
|
-
get accountSid(): string;
|
|
14
|
-
get credentialSid(): string;
|
|
15
|
-
get signingKey(): string;
|
|
16
|
-
get privateKey(): string;
|
|
17
|
-
get algorithm(): Algorithm;
|
|
18
|
-
/**
|
|
19
|
-
* @constructor
|
|
20
|
-
* @param opts - The Options used to configure the ValidationToken
|
|
21
|
-
* @param opts.accountSid - The account SID
|
|
22
|
-
* @param opts.credentialSid - The credential SID for public key submitted to Twilio
|
|
23
|
-
* @param opts.signingKey - The signing key
|
|
24
|
-
* @param opts.privateKey - The private key for signing the token
|
|
25
|
-
* @param opts.algorithm - The algorithm to use for signing the token
|
|
26
|
-
* @param opts.ttl - The time to live for the token in seconds
|
|
27
|
-
*/
|
|
28
|
-
constructor(opts: ValidationClientOptions);
|
|
29
|
-
/**
|
|
30
|
-
* Generates a `RequestCanonicalizer` instance for the given HTTP request.
|
|
31
|
-
*
|
|
32
|
-
* @param request - The HTTP request object containing details such as headers, URL, method, query parameters, and body.
|
|
33
|
-
* @throws {Error} If the request URL or method is missing.
|
|
34
|
-
* @returns {RequestCanonicalizer} - An instance of `RequestCanonicalizer` initialized with the canonicalized request details.
|
|
35
|
-
*/
|
|
36
|
-
getRequestCanonicalizer(request: any): RequestCanonicalizer;
|
|
37
|
-
/**
|
|
38
|
-
* Generate a JWT token to include in the request header for PKCV
|
|
39
|
-
* @param request - The request object
|
|
40
|
-
* @returns {string} - The JWT token
|
|
41
|
-
*/
|
|
42
|
-
fromHttpRequest(request: any): string;
|
|
43
|
-
}
|
|
44
|
-
declare namespace ValidationToken { }
|
|
45
|
-
export = ValidationToken;
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
const RequestCanonicalizer_1 = __importDefault(require("./RequestCanonicalizer"));
|
|
6
|
-
const jsonwebtoken_1 = __importDefault(require("jsonwebtoken"));
|
|
7
|
-
class ValidationToken {
|
|
8
|
-
get accountSid() {
|
|
9
|
-
return this._accountSid;
|
|
10
|
-
}
|
|
11
|
-
get credentialSid() {
|
|
12
|
-
return this._credentialSid;
|
|
13
|
-
}
|
|
14
|
-
get signingKey() {
|
|
15
|
-
return this._signingKey;
|
|
16
|
-
}
|
|
17
|
-
get privateKey() {
|
|
18
|
-
return this._privateKey;
|
|
19
|
-
}
|
|
20
|
-
get algorithm() {
|
|
21
|
-
return this._algorithm;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* @constructor
|
|
25
|
-
* @param opts - The Options used to configure the ValidationToken
|
|
26
|
-
* @param opts.accountSid - The account SID
|
|
27
|
-
* @param opts.credentialSid - The credential SID for public key submitted to Twilio
|
|
28
|
-
* @param opts.signingKey - The signing key
|
|
29
|
-
* @param opts.privateKey - The private key for signing the token
|
|
30
|
-
* @param opts.algorithm - The algorithm to use for signing the token
|
|
31
|
-
* @param opts.ttl - The time to live for the token in seconds
|
|
32
|
-
*/
|
|
33
|
-
constructor(opts) {
|
|
34
|
-
if (!opts.accountSid) {
|
|
35
|
-
throw new Error("accountSid is required");
|
|
36
|
-
}
|
|
37
|
-
if (!opts.credentialSid) {
|
|
38
|
-
throw new Error("credentialSid is required");
|
|
39
|
-
}
|
|
40
|
-
if (!opts.signingKey) {
|
|
41
|
-
throw new Error("signingKey is required");
|
|
42
|
-
}
|
|
43
|
-
if (!opts.privateKey) {
|
|
44
|
-
throw new Error("privateKey is required");
|
|
45
|
-
}
|
|
46
|
-
const algorithm = opts.algorithm ?? ValidationToken.DEFAULT_ALGORITHM; // default to RS256;
|
|
47
|
-
if (!ValidationToken.ALGORITHMS.includes(algorithm)) {
|
|
48
|
-
throw new Error("Algorithm not supported. Allowed values are " +
|
|
49
|
-
ValidationToken.ALGORITHMS.join(", "));
|
|
50
|
-
}
|
|
51
|
-
this._accountSid = opts.accountSid;
|
|
52
|
-
this._credentialSid = opts.credentialSid;
|
|
53
|
-
this._signingKey = opts.signingKey;
|
|
54
|
-
this._privateKey = opts.privateKey;
|
|
55
|
-
this._algorithm = algorithm;
|
|
56
|
-
this.ttl = 300;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Generates a `RequestCanonicalizer` instance for the given HTTP request.
|
|
60
|
-
*
|
|
61
|
-
* @param request - The HTTP request object containing details such as headers, URL, method, query parameters, and body.
|
|
62
|
-
* @throws {Error} If the request URL or method is missing.
|
|
63
|
-
* @returns {RequestCanonicalizer} - An instance of `RequestCanonicalizer` initialized with the canonicalized request details.
|
|
64
|
-
*/
|
|
65
|
-
getRequestCanonicalizer(request) {
|
|
66
|
-
const headers = request.headers ?? {};
|
|
67
|
-
const requestUrl = request.url;
|
|
68
|
-
const method = request.method;
|
|
69
|
-
const queryParams = request.params;
|
|
70
|
-
const requestBody = request.data;
|
|
71
|
-
if (!requestUrl) {
|
|
72
|
-
throw new Error("Url is required");
|
|
73
|
-
}
|
|
74
|
-
if (!method) {
|
|
75
|
-
throw new Error("Method is required");
|
|
76
|
-
}
|
|
77
|
-
const url = new URL(requestUrl);
|
|
78
|
-
let signedHeaders = {
|
|
79
|
-
host: url.host,
|
|
80
|
-
authorization: headers["Authorization"],
|
|
81
|
-
};
|
|
82
|
-
return new RequestCanonicalizer_1.default(method, url.pathname, queryParams, requestBody, signedHeaders);
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* Generate a JWT token to include in the request header for PKCV
|
|
86
|
-
* @param request - The request object
|
|
87
|
-
* @returns {string} - The JWT token
|
|
88
|
-
*/
|
|
89
|
-
fromHttpRequest(request) {
|
|
90
|
-
try {
|
|
91
|
-
const requestCanonicalizer = this.getRequestCanonicalizer(request);
|
|
92
|
-
const canonicalizedRequest = requestCanonicalizer.create();
|
|
93
|
-
const header = {
|
|
94
|
-
cty: "twilio-pkrv;v=1",
|
|
95
|
-
typ: "JWT",
|
|
96
|
-
alg: this._algorithm,
|
|
97
|
-
kid: this._credentialSid,
|
|
98
|
-
};
|
|
99
|
-
const payload = {
|
|
100
|
-
iss: this._signingKey,
|
|
101
|
-
sub: this._accountSid,
|
|
102
|
-
hrh: requestCanonicalizer.getCanonicalizedHashedHeaders(),
|
|
103
|
-
rqh: canonicalizedRequest,
|
|
104
|
-
};
|
|
105
|
-
return jsonwebtoken_1.default.sign(payload, this._privateKey, {
|
|
106
|
-
header: header,
|
|
107
|
-
algorithm: this._algorithm,
|
|
108
|
-
expiresIn: this.ttl,
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
catch (err) {
|
|
112
|
-
throw new Error("Error generating JWT token " + err);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
ValidationToken.DEFAULT_ALGORITHM = "RS256";
|
|
117
|
-
ValidationToken.ALGORITHMS = [
|
|
118
|
-
"RS256",
|
|
119
|
-
"PS256",
|
|
120
|
-
];
|
|
121
|
-
module.exports = ValidationToken;
|
package/lib/rest/Accounts.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { AuthTokenPromotionListInstance } from "./accounts/v1/authTokenPromotion";
|
|
2
|
-
import { CredentialListInstance } from "./accounts/v1/credential";
|
|
3
|
-
import { SecondaryAuthTokenListInstance } from "./accounts/v1/secondaryAuthToken";
|
|
4
|
-
import AccountsBase from "./AccountsBase";
|
|
5
|
-
declare class Accounts extends AccountsBase {
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated - Use v1.authTokenPromotion; instead
|
|
8
|
-
*/
|
|
9
|
-
get authTokenPromotion(): AuthTokenPromotionListInstance;
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated - Use v1.credentials; instead
|
|
12
|
-
*/
|
|
13
|
-
get credentials(): CredentialListInstance;
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated - Use v1.secondaryAuthToken; instead
|
|
16
|
-
*/
|
|
17
|
-
get secondaryAuthToken(): SecondaryAuthTokenListInstance;
|
|
18
|
-
}
|
|
19
|
-
export = Accounts;
|
package/lib/rest/Accounts.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
const AccountsBase_1 = __importDefault(require("./AccountsBase"));
|
|
6
|
-
class Accounts extends AccountsBase_1.default {
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated - Use v1.authTokenPromotion; instead
|
|
9
|
-
*/
|
|
10
|
-
get authTokenPromotion() {
|
|
11
|
-
console.warn("authTokenPromotion is deprecated. Use v1.authTokenPromotion; instead.");
|
|
12
|
-
return this.v1.authTokenPromotion;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated - Use v1.credentials; instead
|
|
16
|
-
*/
|
|
17
|
-
get credentials() {
|
|
18
|
-
console.warn("credentials is deprecated. Use v1.credentials; instead.");
|
|
19
|
-
return this.v1.credentials;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* @deprecated - Use v1.secondaryAuthToken; instead
|
|
23
|
-
*/
|
|
24
|
-
get secondaryAuthToken() {
|
|
25
|
-
console.warn("secondaryAuthToken is deprecated. Use v1.secondaryAuthToken; instead.");
|
|
26
|
-
return this.v1.secondaryAuthToken;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
module.exports = Accounts;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import Domain from "../base/Domain";
|
|
2
|
-
import V1 from "./accounts/V1";
|
|
3
|
-
declare class AccountsBase extends Domain {
|
|
4
|
-
_v1?: V1;
|
|
5
|
-
/**
|
|
6
|
-
* Initialize accounts domain
|
|
7
|
-
*
|
|
8
|
-
* @param twilio - The twilio client
|
|
9
|
-
*/
|
|
10
|
-
constructor(twilio: any);
|
|
11
|
-
get v1(): V1;
|
|
12
|
-
}
|
|
13
|
-
export = AccountsBase;
|