twilio 4.0.0 → 4.0.1
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 +8 -8
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -7
- package/dist/lib/base/BaseTwilio.d.ts +0 -81
- package/dist/lib/base/BaseTwilio.js +0 -172
- package/dist/lib/base/Domain.d.ts +0 -29
- package/dist/lib/base/Domain.js +0 -53
- package/dist/lib/base/Page.d.ts +0 -104
- package/dist/lib/base/Page.js +0 -192
- package/dist/lib/base/RequestClient.d.ts +0 -143
- package/dist/lib/base/RequestClient.js +0 -223
- package/dist/lib/base/RestException.d.ts +0 -16
- package/dist/lib/base/RestException.js +0 -33
- package/dist/lib/base/Version.d.ts +0 -129
- package/dist/lib/base/Version.js +0 -335
- package/dist/lib/base/deserialize.d.ts +0 -41
- package/dist/lib/base/deserialize.js +0 -76
- package/dist/lib/base/serialize.d.ts +0 -53
- package/dist/lib/base/serialize.js +0 -122
- package/dist/lib/base/utility.d.ts +0 -2
- package/dist/lib/base/utility.js +0 -13
- package/dist/lib/base/values.d.ts +0 -10
- package/dist/lib/base/values.js +0 -16
- package/dist/lib/http/request.d.ts +0 -25
- package/dist/lib/http/request.js +0 -85
- package/dist/lib/http/response.d.ts +0 -7
- package/dist/lib/http/response.js +0 -13
- package/dist/lib/index.d.ts +0 -39
- package/dist/lib/index.js +0 -89
- package/dist/lib/interfaces.d.ts +0 -94
- package/dist/lib/interfaces.js +0 -2
- package/dist/lib/jwt/AccessToken.d.ts +0 -191
- package/dist/lib/jwt/AccessToken.js +0 -261
- package/dist/lib/jwt/ClientCapability.d.ts +0 -61
- package/dist/lib/jwt/ClientCapability.js +0 -122
- package/dist/lib/jwt/taskrouter/TaskRouterCapability.d.ts +0 -74
- package/dist/lib/jwt/taskrouter/TaskRouterCapability.js +0 -101
- package/dist/lib/jwt/taskrouter/util.d.ts +0 -66
- package/dist/lib/jwt/taskrouter/util.js +0 -169
- package/dist/lib/rest/Accounts.d.ts +0 -19
- package/dist/lib/rest/Accounts.js +0 -29
- package/dist/lib/rest/AccountsBase.d.ts +0 -13
- package/dist/lib/rest/AccountsBase.js +0 -31
- package/dist/lib/rest/Api.d.ts +0 -127
- package/dist/lib/rest/Api.js +0 -182
- package/dist/lib/rest/ApiBase.d.ts +0 -13
- package/dist/lib/rest/ApiBase.js +0 -31
- package/dist/lib/rest/Autopilot.d.ts +0 -14
- package/dist/lib/rest/Autopilot.js +0 -22
- package/dist/lib/rest/AutopilotBase.d.ts +0 -13
- package/dist/lib/rest/AutopilotBase.js +0 -31
- package/dist/lib/rest/Bulkexports.d.ts +0 -14
- package/dist/lib/rest/Bulkexports.js +0 -22
- package/dist/lib/rest/BulkexportsBase.d.ts +0 -13
- package/dist/lib/rest/BulkexportsBase.js +0 -31
- package/dist/lib/rest/Chat.d.ts +0 -19
- package/dist/lib/rest/Chat.js +0 -29
- package/dist/lib/rest/ChatBase.d.ts +0 -19
- package/dist/lib/rest/ChatBase.js +0 -41
- package/dist/lib/rest/Content.d.ts +0 -9
- package/dist/lib/rest/Content.js +0 -15
- package/dist/lib/rest/ContentBase.d.ts +0 -13
- package/dist/lib/rest/ContentBase.js +0 -31
- package/dist/lib/rest/Conversations.d.ts +0 -44
- package/dist/lib/rest/Conversations.js +0 -64
- package/dist/lib/rest/ConversationsBase.d.ts +0 -13
- package/dist/lib/rest/ConversationsBase.js +0 -31
- package/dist/lib/rest/Events.d.ts +0 -24
- package/dist/lib/rest/Events.js +0 -36
- package/dist/lib/rest/EventsBase.d.ts +0 -13
- package/dist/lib/rest/EventsBase.js +0 -31
- package/dist/lib/rest/FlexApi.d.ts +0 -39
- package/dist/lib/rest/FlexApi.js +0 -57
- package/dist/lib/rest/FlexApiBase.d.ts +0 -16
- package/dist/lib/rest/FlexApiBase.js +0 -36
- package/dist/lib/rest/FrontlineApi.d.ts +0 -9
- package/dist/lib/rest/FrontlineApi.js +0 -15
- package/dist/lib/rest/FrontlineApiBase.d.ts +0 -13
- package/dist/lib/rest/FrontlineApiBase.js +0 -31
- package/dist/lib/rest/Insights.d.ts +0 -29
- package/dist/lib/rest/Insights.js +0 -43
- package/dist/lib/rest/InsightsBase.d.ts +0 -13
- package/dist/lib/rest/InsightsBase.js +0 -31
- package/dist/lib/rest/IpMessaging.d.ts +0 -14
- package/dist/lib/rest/IpMessaging.js +0 -22
- package/dist/lib/rest/IpMessagingBase.d.ts +0 -16
- package/dist/lib/rest/IpMessagingBase.js +0 -36
- package/dist/lib/rest/Lookups.d.ts +0 -9
- package/dist/lib/rest/Lookups.js +0 -15
- package/dist/lib/rest/LookupsBase.d.ts +0 -16
- package/dist/lib/rest/LookupsBase.js +0 -36
- package/dist/lib/rest/Media.d.ts +0 -19
- package/dist/lib/rest/Media.js +0 -29
- package/dist/lib/rest/MediaBase.d.ts +0 -13
- package/dist/lib/rest/MediaBase.js +0 -31
- package/dist/lib/rest/Messaging.d.ts +0 -39
- package/dist/lib/rest/Messaging.js +0 -57
- package/dist/lib/rest/MessagingBase.d.ts +0 -13
- package/dist/lib/rest/MessagingBase.js +0 -31
- package/dist/lib/rest/Microvisor.d.ts +0 -14
- package/dist/lib/rest/Microvisor.js +0 -22
- package/dist/lib/rest/MicrovisorBase.d.ts +0 -13
- package/dist/lib/rest/MicrovisorBase.js +0 -31
- package/dist/lib/rest/Monitor.d.ts +0 -14
- package/dist/lib/rest/Monitor.js +0 -22
- package/dist/lib/rest/MonitorBase.d.ts +0 -13
- package/dist/lib/rest/MonitorBase.js +0 -31
- package/dist/lib/rest/Notify.d.ts +0 -14
- package/dist/lib/rest/Notify.js +0 -22
- package/dist/lib/rest/NotifyBase.d.ts +0 -13
- package/dist/lib/rest/NotifyBase.js +0 -31
- package/dist/lib/rest/Numbers.d.ts +0 -9
- package/dist/lib/rest/Numbers.js +0 -15
- package/dist/lib/rest/NumbersBase.d.ts +0 -13
- package/dist/lib/rest/NumbersBase.js +0 -31
- package/dist/lib/rest/Oauth.d.ts +0 -29
- package/dist/lib/rest/Oauth.js +0 -43
- package/dist/lib/rest/OauthBase.d.ts +0 -13
- package/dist/lib/rest/OauthBase.js +0 -31
- package/dist/lib/rest/Preview.d.ts +0 -54
- package/dist/lib/rest/Preview.js +0 -78
- package/dist/lib/rest/PreviewBase.d.ts +0 -28
- package/dist/lib/rest/PreviewBase.js +0 -57
- package/dist/lib/rest/Pricing.d.ts +0 -29
- package/dist/lib/rest/Pricing.js +0 -43
- package/dist/lib/rest/PricingBase.d.ts +0 -16
- package/dist/lib/rest/PricingBase.js +0 -36
- package/dist/lib/rest/Proxy.d.ts +0 -9
- package/dist/lib/rest/Proxy.js +0 -15
- package/dist/lib/rest/ProxyBase.d.ts +0 -13
- package/dist/lib/rest/ProxyBase.js +0 -31
- package/dist/lib/rest/Routes.d.ts +0 -19
- package/dist/lib/rest/Routes.js +0 -29
- package/dist/lib/rest/RoutesBase.d.ts +0 -13
- package/dist/lib/rest/RoutesBase.js +0 -31
- package/dist/lib/rest/Serverless.d.ts +0 -9
- package/dist/lib/rest/Serverless.js +0 -15
- package/dist/lib/rest/ServerlessBase.d.ts +0 -13
- package/dist/lib/rest/ServerlessBase.js +0 -31
- package/dist/lib/rest/Studio.d.ts +0 -14
- package/dist/lib/rest/Studio.js +0 -22
- package/dist/lib/rest/StudioBase.d.ts +0 -16
- package/dist/lib/rest/StudioBase.js +0 -36
- package/dist/lib/rest/Supersim.d.ts +0 -49
- package/dist/lib/rest/Supersim.js +0 -71
- package/dist/lib/rest/SupersimBase.d.ts +0 -13
- package/dist/lib/rest/SupersimBase.js +0 -31
- package/dist/lib/rest/Sync.d.ts +0 -9
- package/dist/lib/rest/Sync.js +0 -15
- package/dist/lib/rest/SyncBase.d.ts +0 -13
- package/dist/lib/rest/SyncBase.js +0 -31
- package/dist/lib/rest/Taskrouter.d.ts +0 -9
- package/dist/lib/rest/Taskrouter.js +0 -15
- package/dist/lib/rest/TaskrouterBase.d.ts +0 -13
- package/dist/lib/rest/TaskrouterBase.js +0 -31
- package/dist/lib/rest/Trunking.d.ts +0 -9
- package/dist/lib/rest/Trunking.js +0 -15
- package/dist/lib/rest/TrunkingBase.d.ts +0 -13
- package/dist/lib/rest/TrunkingBase.js +0 -31
- package/dist/lib/rest/Trusthub.d.ts +0 -39
- package/dist/lib/rest/Trusthub.js +0 -57
- package/dist/lib/rest/TrusthubBase.d.ts +0 -13
- package/dist/lib/rest/TrusthubBase.js +0 -31
- package/dist/lib/rest/Twilio.d.ts +0 -266
- package/dist/lib/rest/Twilio.js +0 -317
- package/dist/lib/rest/Verify.d.ts +0 -29
- package/dist/lib/rest/Verify.js +0 -43
- package/dist/lib/rest/VerifyBase.d.ts +0 -13
- package/dist/lib/rest/VerifyBase.js +0 -31
- package/dist/lib/rest/Video.d.ts +0 -34
- package/dist/lib/rest/Video.js +0 -50
- package/dist/lib/rest/VideoBase.d.ts +0 -13
- package/dist/lib/rest/VideoBase.js +0 -31
- package/dist/lib/rest/Voice.d.ts +0 -34
- package/dist/lib/rest/Voice.js +0 -50
- package/dist/lib/rest/VoiceBase.d.ts +0 -13
- package/dist/lib/rest/VoiceBase.js +0 -31
- package/dist/lib/rest/Wireless.d.ts +0 -24
- package/dist/lib/rest/Wireless.js +0 -36
- package/dist/lib/rest/WirelessBase.d.ts +0 -13
- package/dist/lib/rest/WirelessBase.js +0 -31
- package/dist/lib/rest/accounts/V1.d.ts +0 -25
- package/dist/lib/rest/accounts/V1.js +0 -50
- package/dist/lib/rest/accounts/v1/authTokenPromotion.d.ts +0 -105
- package/dist/lib/rest/accounts/v1/authTokenPromotion.js +0 -109
- package/dist/lib/rest/accounts/v1/credential/aws.d.ts +0 -296
- package/dist/lib/rest/accounts/v1/credential/aws.js +0 -251
- package/dist/lib/rest/accounts/v1/credential/publicKey.d.ts +0 -296
- package/dist/lib/rest/accounts/v1/credential/publicKey.js +0 -252
- package/dist/lib/rest/accounts/v1/credential.d.ts +0 -22
- package/dist/lib/rest/accounts/v1/credential.js +0 -51
- package/dist/lib/rest/accounts/v1/secondaryAuthToken.d.ts +0 -122
- package/dist/lib/rest/accounts/v1/secondaryAuthToken.js +0 -128
- package/dist/lib/rest/api/V2010.d.ts +0 -20
- package/dist/lib/rest/api/V2010.js +0 -42
- package/dist/lib/rest/api/v2010/account/address/dependentPhoneNumber.d.ts +0 -295
- package/dist/lib/rest/api/v2010/account/address/dependentPhoneNumber.js +0 -175
- package/dist/lib/rest/api/v2010/account/address.d.ts +0 -414
- package/dist/lib/rest/api/v2010/account/address.js +0 -338
- package/dist/lib/rest/api/v2010/account/application.d.ts +0 -463
- package/dist/lib/rest/api/v2010/account/application.js +0 -349
- package/dist/lib/rest/api/v2010/account/authorizedConnectApp.d.ts +0 -244
- package/dist/lib/rest/api/v2010/account/authorizedConnectApp.js +0 -198
- package/dist/lib/rest/api/v2010/account/availablePhoneNumberCountry/local.d.ts +0 -322
- package/dist/lib/rest/api/v2010/account/availablePhoneNumberCountry/local.js +0 -185
- package/dist/lib/rest/api/v2010/account/availablePhoneNumberCountry/machineToMachine.d.ts +0 -322
- package/dist/lib/rest/api/v2010/account/availablePhoneNumberCountry/machineToMachine.js +0 -185
- package/dist/lib/rest/api/v2010/account/availablePhoneNumberCountry/mobile.d.ts +0 -322
- package/dist/lib/rest/api/v2010/account/availablePhoneNumberCountry/mobile.js +0 -185
- package/dist/lib/rest/api/v2010/account/availablePhoneNumberCountry/national.d.ts +0 -322
- package/dist/lib/rest/api/v2010/account/availablePhoneNumberCountry/national.js +0 -185
- package/dist/lib/rest/api/v2010/account/availablePhoneNumberCountry/sharedCost.d.ts +0 -322
- package/dist/lib/rest/api/v2010/account/availablePhoneNumberCountry/sharedCost.js +0 -185
- package/dist/lib/rest/api/v2010/account/availablePhoneNumberCountry/tollFree.d.ts +0 -322
- package/dist/lib/rest/api/v2010/account/availablePhoneNumberCountry/tollFree.js +0 -185
- package/dist/lib/rest/api/v2010/account/availablePhoneNumberCountry/voip.d.ts +0 -322
- package/dist/lib/rest/api/v2010/account/availablePhoneNumberCountry/voip.js +0 -185
- package/dist/lib/rest/api/v2010/account/availablePhoneNumberCountry.d.ts +0 -269
- package/dist/lib/rest/api/v2010/account/availablePhoneNumberCountry.js +0 -279
- package/dist/lib/rest/api/v2010/account/balance.d.ts +0 -58
- package/dist/lib/rest/api/v2010/account/balance.js +0 -70
- package/dist/lib/rest/api/v2010/account/call/event.d.ts +0 -150
- package/dist/lib/rest/api/v2010/account/call/event.js +0 -127
- package/dist/lib/rest/api/v2010/account/call/feedback.d.ts +0 -160
- package/dist/lib/rest/api/v2010/account/call/feedback.js +0 -154
- package/dist/lib/rest/api/v2010/account/call/feedbackSummary.d.ts +0 -201
- package/dist/lib/rest/api/v2010/account/call/feedbackSummary.js +0 -189
- package/dist/lib/rest/api/v2010/account/call/notification.d.ts +0 -312
- package/dist/lib/rest/api/v2010/account/call/notification.js +0 -223
- package/dist/lib/rest/api/v2010/account/call/payment.d.ts +0 -182
- package/dist/lib/rest/api/v2010/account/call/payment.js +0 -198
- package/dist/lib/rest/api/v2010/account/call/recording.d.ts +0 -386
- package/dist/lib/rest/api/v2010/account/call/recording.js +0 -303
- package/dist/lib/rest/api/v2010/account/call/siprec.d.ts +0 -559
- package/dist/lib/rest/api/v2010/account/call/siprec.js +0 -562
- package/dist/lib/rest/api/v2010/account/call/stream.d.ts +0 -551
- package/dist/lib/rest/api/v2010/account/call/stream.js +0 -560
- package/dist/lib/rest/api/v2010/account/call/userDefinedMessage.d.ts +0 -75
- package/dist/lib/rest/api/v2010/account/call/userDefinedMessage.js +0 -89
- package/dist/lib/rest/api/v2010/account/call/userDefinedMessageSubscription.d.ts +0 -130
- package/dist/lib/rest/api/v2010/account/call/userDefinedMessageSubscription.js +0 -150
- package/dist/lib/rest/api/v2010/account/call.d.ts +0 -633
- package/dist/lib/rest/api/v2010/account/call.js +0 -531
- package/dist/lib/rest/api/v2010/account/conference/participant.d.ts +0 -472
- package/dist/lib/rest/api/v2010/account/conference/participant.js +0 -407
- package/dist/lib/rest/api/v2010/account/conference/recording.d.ts +0 -346
- package/dist/lib/rest/api/v2010/account/conference/recording.js +0 -267
- package/dist/lib/rest/api/v2010/account/conference.d.ts +0 -362
- package/dist/lib/rest/api/v2010/account/conference.js +0 -272
- package/dist/lib/rest/api/v2010/account/connectApp.d.ts +0 -324
- package/dist/lib/rest/api/v2010/account/connectApp.js +0 -257
- package/dist/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn/assignedAddOnExtension.d.ts +0 -241
- package/dist/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn/assignedAddOnExtension.js +0 -210
- package/dist/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.d.ts +0 -292
- package/dist/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.js +0 -257
- package/dist/lib/rest/api/v2010/account/incomingPhoneNumber/local.d.ts +0 -417
- package/dist/lib/rest/api/v2010/account/incomingPhoneNumber/local.js +0 -261
- package/dist/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.d.ts +0 -417
- package/dist/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.js +0 -261
- package/dist/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.d.ts +0 -417
- package/dist/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.js +0 -261
- package/dist/lib/rest/api/v2010/account/incomingPhoneNumber.d.ts +0 -593
- package/dist/lib/rest/api/v2010/account/incomingPhoneNumber.js +0 -450
- package/dist/lib/rest/api/v2010/account/key.d.ts +0 -266
- package/dist/lib/rest/api/v2010/account/key.js +0 -229
- package/dist/lib/rest/api/v2010/account/message/feedback.d.ts +0 -91
- package/dist/lib/rest/api/v2010/account/message/feedback.js +0 -93
- package/dist/lib/rest/api/v2010/account/message/media.d.ts +0 -262
- package/dist/lib/rest/api/v2010/account/message/media.js +0 -220
- package/dist/lib/rest/api/v2010/account/message.d.ts +0 -468
- package/dist/lib/rest/api/v2010/account/message.js +0 -362
- package/dist/lib/rest/api/v2010/account/newKey.d.ts +0 -86
- package/dist/lib/rest/api/v2010/account/newKey.js +0 -88
- package/dist/lib/rest/api/v2010/account/newSigningKey.d.ts +0 -86
- package/dist/lib/rest/api/v2010/account/newSigningKey.js +0 -88
- package/dist/lib/rest/api/v2010/account/notification.d.ts +0 -310
- package/dist/lib/rest/api/v2010/account/notification.js +0 -217
- package/dist/lib/rest/api/v2010/account/outgoingCallerId.d.ts +0 -296
- package/dist/lib/rest/api/v2010/account/outgoingCallerId.js +0 -239
- package/dist/lib/rest/api/v2010/account/queue/member.d.ts +0 -249
- package/dist/lib/rest/api/v2010/account/queue/member.js +0 -220
- package/dist/lib/rest/api/v2010/account/queue.d.ts +0 -324
- package/dist/lib/rest/api/v2010/account/queue.js +0 -278
- package/dist/lib/rest/api/v2010/account/recording/addOnResult/payload.d.ts +0 -270
- package/dist/lib/rest/api/v2010/account/recording/addOnResult/payload.js +0 -233
- package/dist/lib/rest/api/v2010/account/recording/addOnResult.d.ts +0 -268
- package/dist/lib/rest/api/v2010/account/recording/addOnResult.js +0 -233
- package/dist/lib/rest/api/v2010/account/recording/transcription.d.ts +0 -278
- package/dist/lib/rest/api/v2010/account/recording/transcription.js +0 -226
- package/dist/lib/rest/api/v2010/account/recording.d.ts +0 -387
- package/dist/lib/rest/api/v2010/account/recording.js +0 -276
- package/dist/lib/rest/api/v2010/account/shortCode.d.ts +0 -321
- package/dist/lib/rest/api/v2010/account/shortCode.js +0 -240
- package/dist/lib/rest/api/v2010/account/signingKey.d.ts +0 -254
- package/dist/lib/rest/api/v2010/account/signingKey.js +0 -229
- package/dist/lib/rest/api/v2010/account/sip/credentialList/credential.d.ts +0 -304
- package/dist/lib/rest/api/v2010/account/sip/credentialList/credential.js +0 -266
- package/dist/lib/rest/api/v2010/account/sip/credentialList.d.ts +0 -292
- package/dist/lib/rest/api/v2010/account/sip/credentialList.js +0 -269
- package/dist/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsCredentialListMapping.d.ts +0 -248
- package/dist/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsCredentialListMapping.js +0 -232
- package/dist/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsIpAccessControlListMapping.d.ts +0 -248
- package/dist/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsIpAccessControlListMapping.js +0 -232
- package/dist/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls.d.ts +0 -24
- package/dist/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls.js +0 -60
- package/dist/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations/authRegistrationsCredentialListMapping.d.ts +0 -248
- package/dist/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations/authRegistrationsCredentialListMapping.js +0 -232
- package/dist/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations.d.ts +0 -21
- package/dist/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations.js +0 -50
- package/dist/lib/rest/api/v2010/account/sip/domain/authTypes.d.ts +0 -24
- package/dist/lib/rest/api/v2010/account/sip/domain/authTypes.js +0 -58
- package/dist/lib/rest/api/v2010/account/sip/domain/credentialListMapping.d.ts +0 -260
- package/dist/lib/rest/api/v2010/account/sip/domain/credentialListMapping.js +0 -236
- package/dist/lib/rest/api/v2010/account/sip/domain/ipAccessControlListMapping.d.ts +0 -260
- package/dist/lib/rest/api/v2010/account/sip/domain/ipAccessControlListMapping.js +0 -236
- package/dist/lib/rest/api/v2010/account/sip/domain.d.ts +0 -459
- package/dist/lib/rest/api/v2010/account/sip/domain.js +0 -371
- package/dist/lib/rest/api/v2010/account/sip/ipAccessControlList/ipAddress.d.ts +0 -322
- package/dist/lib/rest/api/v2010/account/sip/ipAccessControlList/ipAddress.js +0 -281
- package/dist/lib/rest/api/v2010/account/sip/ipAccessControlList.d.ts +0 -292
- package/dist/lib/rest/api/v2010/account/sip/ipAccessControlList.js +0 -269
- package/dist/lib/rest/api/v2010/account/sip.d.ts +0 -26
- package/dist/lib/rest/api/v2010/account/sip.js +0 -64
- package/dist/lib/rest/api/v2010/account/token.d.ts +0 -104
- package/dist/lib/rest/api/v2010/account/token.js +0 -95
- package/dist/lib/rest/api/v2010/account/transcription.d.ts +0 -276
- package/dist/lib/rest/api/v2010/account/transcription.js +0 -220
- package/dist/lib/rest/api/v2010/account/usage/record/allTime.d.ts +0 -249
- package/dist/lib/rest/api/v2010/account/usage/record/allTime.js +0 -158
- package/dist/lib/rest/api/v2010/account/usage/record/daily.d.ts +0 -249
- package/dist/lib/rest/api/v2010/account/usage/record/daily.js +0 -158
- package/dist/lib/rest/api/v2010/account/usage/record/lastMonth.d.ts +0 -249
- package/dist/lib/rest/api/v2010/account/usage/record/lastMonth.js +0 -158
- package/dist/lib/rest/api/v2010/account/usage/record/monthly.d.ts +0 -249
- package/dist/lib/rest/api/v2010/account/usage/record/monthly.js +0 -158
- package/dist/lib/rest/api/v2010/account/usage/record/thisMonth.d.ts +0 -249
- package/dist/lib/rest/api/v2010/account/usage/record/thisMonth.js +0 -158
- package/dist/lib/rest/api/v2010/account/usage/record/today.d.ts +0 -249
- package/dist/lib/rest/api/v2010/account/usage/record/today.js +0 -158
- package/dist/lib/rest/api/v2010/account/usage/record/yearly.d.ts +0 -249
- package/dist/lib/rest/api/v2010/account/usage/record/yearly.js +0 -158
- package/dist/lib/rest/api/v2010/account/usage/record/yesterday.d.ts +0 -249
- package/dist/lib/rest/api/v2010/account/usage/record/yesterday.js +0 -158
- package/dist/lib/rest/api/v2010/account/usage/record.d.ts +0 -273
- package/dist/lib/rest/api/v2010/account/usage/record.js +0 -230
- package/dist/lib/rest/api/v2010/account/usage/trigger.d.ts +0 -383
- package/dist/lib/rest/api/v2010/account/usage/trigger.js +0 -302
- package/dist/lib/rest/api/v2010/account/usage.d.ts +0 -23
- package/dist/lib/rest/api/v2010/account/usage.js +0 -55
- package/dist/lib/rest/api/v2010/account/validationRequest.d.ts +0 -88
- package/dist/lib/rest/api/v2010/account/validationRequest.js +0 -96
- package/dist/lib/rest/api/v2010/account.d.ts +0 -509
- package/dist/lib/rest/api/v2010/account.js +0 -546
- package/dist/lib/rest/autopilot/V1.d.ts +0 -20
- package/dist/lib/rest/autopilot/V1.js +0 -43
- package/dist/lib/rest/autopilot/v1/assistant/defaults.d.ts +0 -143
- package/dist/lib/rest/autopilot/v1/assistant/defaults.js +0 -142
- package/dist/lib/rest/autopilot/v1/assistant/dialogue.d.ts +0 -108
- package/dist/lib/rest/autopilot/v1/assistant/dialogue.js +0 -120
- package/dist/lib/rest/autopilot/v1/assistant/fieldType/fieldValue.d.ts +0 -288
- package/dist/lib/rest/autopilot/v1/assistant/fieldType/fieldValue.js +0 -249
- package/dist/lib/rest/autopilot/v1/assistant/fieldType.d.ts +0 -324
- package/dist/lib/rest/autopilot/v1/assistant/fieldType.js +0 -277
- package/dist/lib/rest/autopilot/v1/assistant/modelBuild.d.ts +0 -326
- package/dist/lib/rest/autopilot/v1/assistant/modelBuild.js +0 -266
- package/dist/lib/rest/autopilot/v1/assistant/query.d.ts +0 -374
- package/dist/lib/rest/autopilot/v1/assistant/query.js +0 -288
- package/dist/lib/rest/autopilot/v1/assistant/styleSheet.d.ts +0 -143
- package/dist/lib/rest/autopilot/v1/assistant/styleSheet.js +0 -142
- package/dist/lib/rest/autopilot/v1/assistant/task/field.d.ts +0 -274
- package/dist/lib/rest/autopilot/v1/assistant/task/field.js +0 -243
- package/dist/lib/rest/autopilot/v1/assistant/task/sample.d.ts +0 -334
- package/dist/lib/rest/autopilot/v1/assistant/task/sample.js +0 -280
- package/dist/lib/rest/autopilot/v1/assistant/task/taskActions.d.ts +0 -151
- package/dist/lib/rest/autopilot/v1/assistant/task/taskActions.js +0 -150
- package/dist/lib/rest/autopilot/v1/assistant/task/taskStatistics.d.ts +0 -115
- package/dist/lib/rest/autopilot/v1/assistant/task/taskStatistics.js +0 -125
- package/dist/lib/rest/autopilot/v1/assistant/task.d.ts +0 -362
- package/dist/lib/rest/autopilot/v1/assistant/task.js +0 -326
- package/dist/lib/rest/autopilot/v1/assistant/webhook.d.ts +0 -330
- package/dist/lib/rest/autopilot/v1/assistant/webhook.js +0 -278
- package/dist/lib/rest/autopilot/v1/assistant.d.ts +0 -438
- package/dist/lib/rest/autopilot/v1/assistant.js +0 -392
- package/dist/lib/rest/autopilot/v1/restoreAssistant.d.ts +0 -119
- package/dist/lib/rest/autopilot/v1/restoreAssistant.js +0 -96
- package/dist/lib/rest/bulkexports/V1.d.ts +0 -20
- package/dist/lib/rest/bulkexports/V1.js +0 -43
- package/dist/lib/rest/bulkexports/v1/export/day.d.ts +0 -216
- package/dist/lib/rest/bulkexports/v1/export/day.js +0 -187
- package/dist/lib/rest/bulkexports/v1/export/exportCustomJob.d.ts +0 -229
- package/dist/lib/rest/bulkexports/v1/export/exportCustomJob.js +0 -178
- package/dist/lib/rest/bulkexports/v1/export/job.d.ts +0 -162
- package/dist/lib/rest/bulkexports/v1/export/job.js +0 -146
- package/dist/lib/rest/bulkexports/v1/export.d.ts +0 -113
- package/dist/lib/rest/bulkexports/v1/export.js +0 -144
- package/dist/lib/rest/bulkexports/v1/exportConfiguration.d.ts +0 -152
- package/dist/lib/rest/bulkexports/v1/exportConfiguration.js +0 -145
- package/dist/lib/rest/chat/V1.d.ts +0 -20
- package/dist/lib/rest/chat/V1.js +0 -42
- package/dist/lib/rest/chat/V2.d.ts +0 -20
- package/dist/lib/rest/chat/V2.js +0 -42
- package/dist/lib/rest/chat/V3.d.ts +0 -15
- package/dist/lib/rest/chat/V3.js +0 -36
- package/dist/lib/rest/chat/v1/credential.d.ts +0 -324
- package/dist/lib/rest/chat/v1/credential.js +0 -274
- package/dist/lib/rest/chat/v1/service/channel/invite.d.ts +0 -286
- package/dist/lib/rest/chat/v1/service/channel/invite.js +0 -245
- package/dist/lib/rest/chat/v1/service/channel/member.d.ts +0 -336
- package/dist/lib/rest/chat/v1/service/channel/member.js +0 -276
- package/dist/lib/rest/chat/v1/service/channel/message.d.ts +0 -351
- package/dist/lib/rest/chat/v1/service/channel/message.js +0 -282
- package/dist/lib/rest/chat/v1/service/channel.d.ts +0 -388
- package/dist/lib/rest/chat/v1/service/channel.js +0 -323
- package/dist/lib/rest/chat/v1/service/role.d.ts +0 -298
- package/dist/lib/rest/chat/v1/service/role.js +0 -267
- package/dist/lib/rest/chat/v1/service/user/userChannel.d.ts +0 -184
- package/dist/lib/rest/chat/v1/service/user/userChannel.js +0 -139
- package/dist/lib/rest/chat/v1/service/user.d.ts +0 -360
- package/dist/lib/rest/chat/v1/service/user.js +0 -293
- package/dist/lib/rest/chat/v1/service.d.ts +0 -512
- package/dist/lib/rest/chat/v1/service.js +0 -454
- package/dist/lib/rest/chat/v2/credential.d.ts +0 -324
- package/dist/lib/rest/chat/v2/credential.js +0 -274
- package/dist/lib/rest/chat/v2/service/binding.d.ts +0 -282
- package/dist/lib/rest/chat/v2/service/binding.js +0 -222
- package/dist/lib/rest/chat/v2/service/channel/invite.d.ts +0 -286
- package/dist/lib/rest/chat/v2/service/channel/invite.js +0 -245
- package/dist/lib/rest/chat/v2/service/channel/member.d.ts +0 -390
- package/dist/lib/rest/chat/v2/service/channel/member.js +0 -306
- package/dist/lib/rest/chat/v2/service/channel/message.d.ts +0 -423
- package/dist/lib/rest/chat/v2/service/channel/message.js +0 -316
- package/dist/lib/rest/chat/v2/service/channel/webhook.d.ts +0 -338
- package/dist/lib/rest/chat/v2/service/channel/webhook.js +0 -288
- package/dist/lib/rest/chat/v2/service/channel.d.ts +0 -438
- package/dist/lib/rest/chat/v2/service/channel.js +0 -358
- package/dist/lib/rest/chat/v2/service/role.d.ts +0 -298
- package/dist/lib/rest/chat/v2/service/role.js +0 -267
- package/dist/lib/rest/chat/v2/service/user/userBinding.d.ts +0 -278
- package/dist/lib/rest/chat/v2/service/user/userBinding.js +0 -226
- package/dist/lib/rest/chat/v2/service/user/userChannel.d.ts +0 -336
- package/dist/lib/rest/chat/v2/service/user/userChannel.js +0 -263
- package/dist/lib/rest/chat/v2/service/user.d.ts +0 -373
- package/dist/lib/rest/chat/v2/service/user.js +0 -310
- package/dist/lib/rest/chat/v2/service.d.ts +0 -486
- package/dist/lib/rest/chat/v2/service.js +0 -401
- package/dist/lib/rest/chat/v3/channel.d.ts +0 -189
- package/dist/lib/rest/chat/v3/channel.js +0 -149
- package/dist/lib/rest/content/V1.d.ts +0 -15
- package/dist/lib/rest/content/V1.js +0 -36
- package/dist/lib/rest/content/v1/content/approvalFetch.d.ts +0 -101
- package/dist/lib/rest/content/v1/content/approvalFetch.js +0 -115
- package/dist/lib/rest/content/v1/content.d.ts +0 -266
- package/dist/lib/rest/content/v1/content.js +0 -221
- package/dist/lib/rest/conversations/V1.d.ts +0 -50
- package/dist/lib/rest/conversations/V1.js +0 -82
- package/dist/lib/rest/conversations/v1/addressConfiguration.d.ts +0 -355
- package/dist/lib/rest/conversations/v1/addressConfiguration.js +0 -298
- package/dist/lib/rest/conversations/v1/configuration/webhook.d.ts +0 -163
- package/dist/lib/rest/conversations/v1/configuration/webhook.js +0 -147
- package/dist/lib/rest/conversations/v1/configuration.d.ts +0 -168
- package/dist/lib/rest/conversations/v1/configuration.js +0 -155
- package/dist/lib/rest/conversations/v1/conversation/message/deliveryReceipt.d.ts +0 -249
- package/dist/lib/rest/conversations/v1/conversation/message/deliveryReceipt.js +0 -203
- package/dist/lib/rest/conversations/v1/conversation/message.d.ts +0 -423
- package/dist/lib/rest/conversations/v1/conversation/message.js +0 -321
- package/dist/lib/rest/conversations/v1/conversation/participant.d.ts +0 -398
- package/dist/lib/rest/conversations/v1/conversation/participant.js +0 -312
- package/dist/lib/rest/conversations/v1/conversation/webhook.d.ts +0 -328
- package/dist/lib/rest/conversations/v1/conversation/webhook.js +0 -278
- package/dist/lib/rest/conversations/v1/conversation.d.ts +0 -429
- package/dist/lib/rest/conversations/v1/conversation.js +0 -345
- package/dist/lib/rest/conversations/v1/credential.d.ts +0 -326
- package/dist/lib/rest/conversations/v1/credential.js +0 -276
- package/dist/lib/rest/conversations/v1/participantConversation.d.ts +0 -242
- package/dist/lib/rest/conversations/v1/participantConversation.js +0 -152
- package/dist/lib/rest/conversations/v1/role.d.ts +0 -296
- package/dist/lib/rest/conversations/v1/role.js +0 -260
- package/dist/lib/rest/conversations/v1/service/binding.d.ts +0 -276
- package/dist/lib/rest/conversations/v1/service/binding.js +0 -220
- package/dist/lib/rest/conversations/v1/service/configuration/notification.d.ts +0 -185
- package/dist/lib/rest/conversations/v1/service/configuration/notification.js +0 -176
- package/dist/lib/rest/conversations/v1/service/configuration/webhook.d.ts +0 -165
- package/dist/lib/rest/conversations/v1/service/configuration/webhook.js +0 -154
- package/dist/lib/rest/conversations/v1/service/configuration.d.ts +0 -173
- package/dist/lib/rest/conversations/v1/service/configuration.js +0 -174
- package/dist/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.d.ts +0 -257
- package/dist/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.js +0 -216
- package/dist/lib/rest/conversations/v1/service/conversation/message.d.ts +0 -431
- package/dist/lib/rest/conversations/v1/service/conversation/message.js +0 -329
- package/dist/lib/rest/conversations/v1/service/conversation/participant.d.ts +0 -406
- package/dist/lib/rest/conversations/v1/service/conversation/participant.js +0 -320
- package/dist/lib/rest/conversations/v1/service/conversation/webhook.d.ts +0 -336
- package/dist/lib/rest/conversations/v1/service/conversation/webhook.js +0 -286
- package/dist/lib/rest/conversations/v1/service/conversation.d.ts +0 -431
- package/dist/lib/rest/conversations/v1/service/conversation.js +0 -353
- package/dist/lib/rest/conversations/v1/service/participantConversation.d.ts +0 -243
- package/dist/lib/rest/conversations/v1/service/participantConversation.js +0 -156
- package/dist/lib/rest/conversations/v1/service/role.d.ts +0 -298
- package/dist/lib/rest/conversations/v1/service/role.js +0 -267
- package/dist/lib/rest/conversations/v1/service/user/userConversation.d.ts +0 -349
- package/dist/lib/rest/conversations/v1/service/user/userConversation.js +0 -271
- package/dist/lib/rest/conversations/v1/service/user.d.ts +0 -381
- package/dist/lib/rest/conversations/v1/service/user.js +0 -301
- package/dist/lib/rest/conversations/v1/service.d.ts +0 -304
- package/dist/lib/rest/conversations/v1/service.js +0 -299
- package/dist/lib/rest/conversations/v1/user/userConversation.d.ts +0 -347
- package/dist/lib/rest/conversations/v1/user/userConversation.js +0 -264
- package/dist/lib/rest/conversations/v1/user.d.ts +0 -379
- package/dist/lib/rest/conversations/v1/user.js +0 -294
- package/dist/lib/rest/events/V1.d.ts +0 -30
- package/dist/lib/rest/events/V1.js +0 -54
- package/dist/lib/rest/events/v1/eventType.d.ts +0 -226
- package/dist/lib/rest/events/v1/eventType.js +0 -185
- package/dist/lib/rest/events/v1/schema/schemaVersion.d.ts +0 -210
- package/dist/lib/rest/events/v1/schema/schemaVersion.js +0 -185
- package/dist/lib/rest/events/v1/schema.d.ts +0 -114
- package/dist/lib/rest/events/v1/schema.js +0 -126
- package/dist/lib/rest/events/v1/sink/sinkTest.d.ts +0 -46
- package/dist/lib/rest/events/v1/sink/sinkTest.js +0 -66
- package/dist/lib/rest/events/v1/sink/sinkValidate.d.ts +0 -54
- package/dist/lib/rest/events/v1/sink/sinkValidate.js +0 -78
- package/dist/lib/rest/events/v1/sink.d.ts +0 -322
- package/dist/lib/rest/events/v1/sink.js +0 -289
- package/dist/lib/rest/events/v1/subscription/subscribedEvent.d.ts +0 -290
- package/dist/lib/rest/events/v1/subscription/subscribedEvent.js +0 -254
- package/dist/lib/rest/events/v1/subscription.d.ts +0 -324
- package/dist/lib/rest/events/v1/subscription.js +0 -277
- package/dist/lib/rest/flexApi/V1.d.ts +0 -70
- package/dist/lib/rest/flexApi/V1.js +0 -113
- package/dist/lib/rest/flexApi/V2.d.ts +0 -15
- package/dist/lib/rest/flexApi/V2.js +0 -36
- package/dist/lib/rest/flexApi/v1/assessments.d.ts +0 -81
- package/dist/lib/rest/flexApi/v1/assessments.js +0 -100
- package/dist/lib/rest/flexApi/v1/channel.d.ts +0 -280
- package/dist/lib/rest/flexApi/v1/channel.js +0 -251
- package/dist/lib/rest/flexApi/v1/configuration.d.ts +0 -368
- package/dist/lib/rest/flexApi/v1/configuration.js +0 -195
- package/dist/lib/rest/flexApi/v1/flexFlow.d.ts +0 -406
- package/dist/lib/rest/flexApi/v1/flexFlow.js +0 -336
- package/dist/lib/rest/flexApi/v1/insightsQuestionnairesCategory.d.ts +0 -168
- package/dist/lib/rest/flexApi/v1/insightsQuestionnairesCategory.js +0 -167
- package/dist/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.d.ts +0 -208
- package/dist/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.js +0 -205
- package/dist/lib/rest/flexApi/v1/insightsSession.d.ts +0 -130
- package/dist/lib/rest/flexApi/v1/insightsSession.js +0 -115
- package/dist/lib/rest/flexApi/v1/insightsSettingsAnswerSets.d.ts +0 -82
- package/dist/lib/rest/flexApi/v1/insightsSettingsAnswerSets.js +0 -83
- package/dist/lib/rest/flexApi/v1/insightsSettingsComment.d.ts +0 -67
- package/dist/lib/rest/flexApi/v1/insightsSettingsComment.js +0 -79
- package/dist/lib/rest/flexApi/v1/insightsUserRoles.d.ts +0 -109
- package/dist/lib/rest/flexApi/v1/insightsUserRoles.js +0 -109
- package/dist/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.d.ts +0 -181
- package/dist/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.js +0 -154
- package/dist/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +0 -238
- package/dist/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.js +0 -222
- package/dist/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +0 -266
- package/dist/lib/rest/flexApi/v1/interaction/interactionChannel.js +0 -244
- package/dist/lib/rest/flexApi/v1/interaction.d.ts +0 -126
- package/dist/lib/rest/flexApi/v1/interaction.js +0 -152
- package/dist/lib/rest/flexApi/v1/webChannel.d.ts +0 -305
- package/dist/lib/rest/flexApi/v1/webChannel.js +0 -268
- package/dist/lib/rest/flexApi/v2/webChannels.d.ts +0 -65
- package/dist/lib/rest/flexApi/v2/webChannels.js +0 -82
- package/dist/lib/rest/frontlineApi/V1.d.ts +0 -15
- package/dist/lib/rest/frontlineApi/V1.js +0 -36
- package/dist/lib/rest/frontlineApi/v1/user.d.ts +0 -164
- package/dist/lib/rest/frontlineApi/v1/user.js +0 -150
- package/dist/lib/rest/insights/V1.d.ts +0 -35
- package/dist/lib/rest/insights/V1.js +0 -61
- package/dist/lib/rest/insights/v1/call/annotation.d.ts +0 -187
- package/dist/lib/rest/insights/v1/call/annotation.js +0 -166
- package/dist/lib/rest/insights/v1/call/callSummary.d.ts +0 -175
- package/dist/lib/rest/insights/v1/call/callSummary.js +0 -159
- package/dist/lib/rest/insights/v1/call/event.d.ts +0 -178
- package/dist/lib/rest/insights/v1/call/event.js +0 -144
- package/dist/lib/rest/insights/v1/call/metric.d.ts +0 -178
- package/dist/lib/rest/insights/v1/call/metric.js +0 -142
- package/dist/lib/rest/insights/v1/call.d.ts +0 -117
- package/dist/lib/rest/insights/v1/call.js +0 -159
- package/dist/lib/rest/insights/v1/callSummaries.d.ts +0 -316
- package/dist/lib/rest/insights/v1/callSummaries.js +0 -196
- package/dist/lib/rest/insights/v1/conference/conferenceParticipant.d.ts +0 -375
- package/dist/lib/rest/insights/v1/conference/conferenceParticipant.js +0 -246
- package/dist/lib/rest/insights/v1/conference.d.ts +0 -377
- package/dist/lib/rest/insights/v1/conference.js +0 -248
- package/dist/lib/rest/insights/v1/room/participant.d.ts +0 -280
- package/dist/lib/rest/insights/v1/room/participant.js +0 -212
- package/dist/lib/rest/insights/v1/room.d.ts +0 -363
- package/dist/lib/rest/insights/v1/room.js +0 -244
- package/dist/lib/rest/insights/v1/setting.d.ts +0 -158
- package/dist/lib/rest/insights/v1/setting.js +0 -143
- package/dist/lib/rest/ipMessaging/V1.d.ts +0 -20
- package/dist/lib/rest/ipMessaging/V1.js +0 -42
- package/dist/lib/rest/ipMessaging/V2.d.ts +0 -20
- package/dist/lib/rest/ipMessaging/V2.js +0 -42
- package/dist/lib/rest/ipMessaging/v1/credential.d.ts +0 -303
- package/dist/lib/rest/ipMessaging/v1/credential.js +0 -274
- package/dist/lib/rest/ipMessaging/v1/service/channel/invite.d.ts +0 -256
- package/dist/lib/rest/ipMessaging/v1/service/channel/invite.js +0 -245
- package/dist/lib/rest/ipMessaging/v1/service/channel/member.d.ts +0 -303
- package/dist/lib/rest/ipMessaging/v1/service/channel/member.js +0 -276
- package/dist/lib/rest/ipMessaging/v1/service/channel/message.d.ts +0 -312
- package/dist/lib/rest/ipMessaging/v1/service/channel/message.js +0 -282
- package/dist/lib/rest/ipMessaging/v1/service/channel.d.ts +0 -349
- package/dist/lib/rest/ipMessaging/v1/service/channel.js +0 -323
- package/dist/lib/rest/ipMessaging/v1/service/role.d.ts +0 -274
- package/dist/lib/rest/ipMessaging/v1/service/role.js +0 -267
- package/dist/lib/rest/ipMessaging/v1/service/user/userChannel.d.ts +0 -163
- package/dist/lib/rest/ipMessaging/v1/service/user/userChannel.js +0 -139
- package/dist/lib/rest/ipMessaging/v1/service/user.d.ts +0 -318
- package/dist/lib/rest/ipMessaging/v1/service/user.js +0 -293
- package/dist/lib/rest/ipMessaging/v1/service.d.ts +0 -449
- package/dist/lib/rest/ipMessaging/v1/service.js +0 -454
- package/dist/lib/rest/ipMessaging/v2/credential.d.ts +0 -303
- package/dist/lib/rest/ipMessaging/v2/credential.js +0 -274
- package/dist/lib/rest/ipMessaging/v2/service/binding.d.ts +0 -249
- package/dist/lib/rest/ipMessaging/v2/service/binding.js +0 -222
- package/dist/lib/rest/ipMessaging/v2/service/channel/invite.d.ts +0 -256
- package/dist/lib/rest/ipMessaging/v2/service/channel/invite.js +0 -245
- package/dist/lib/rest/ipMessaging/v2/service/channel/member.d.ts +0 -354
- package/dist/lib/rest/ipMessaging/v2/service/channel/member.js +0 -306
- package/dist/lib/rest/ipMessaging/v2/service/channel/message.d.ts +0 -375
- package/dist/lib/rest/ipMessaging/v2/service/channel/message.js +0 -316
- package/dist/lib/rest/ipMessaging/v2/service/channel/webhook.d.ts +0 -311
- package/dist/lib/rest/ipMessaging/v2/service/channel/webhook.js +0 -288
- package/dist/lib/rest/ipMessaging/v2/service/channel.d.ts +0 -399
- package/dist/lib/rest/ipMessaging/v2/service/channel.js +0 -358
- package/dist/lib/rest/ipMessaging/v2/service/role.d.ts +0 -274
- package/dist/lib/rest/ipMessaging/v2/service/role.js +0 -267
- package/dist/lib/rest/ipMessaging/v2/service/user/userBinding.d.ts +0 -245
- package/dist/lib/rest/ipMessaging/v2/service/user/userBinding.js +0 -226
- package/dist/lib/rest/ipMessaging/v2/service/user/userChannel.d.ts +0 -283
- package/dist/lib/rest/ipMessaging/v2/service/user/userChannel.js +0 -257
- package/dist/lib/rest/ipMessaging/v2/service/user.d.ts +0 -331
- package/dist/lib/rest/ipMessaging/v2/service/user.js +0 -310
- package/dist/lib/rest/ipMessaging/v2/service.d.ts +0 -417
- package/dist/lib/rest/ipMessaging/v2/service.js +0 -401
- package/dist/lib/rest/lookups/V1.d.ts +0 -15
- package/dist/lib/rest/lookups/V1.js +0 -36
- package/dist/lib/rest/lookups/V2.d.ts +0 -15
- package/dist/lib/rest/lookups/V2.js +0 -36
- package/dist/lib/rest/lookups/v1/phoneNumber.d.ts +0 -149
- package/dist/lib/rest/lookups/v1/phoneNumber.js +0 -133
- package/dist/lib/rest/lookups/v2/phoneNumber.d.ts +0 -202
- package/dist/lib/rest/lookups/v2/phoneNumber.js +0 -158
- package/dist/lib/rest/media/V1.d.ts +0 -25
- package/dist/lib/rest/media/V1.js +0 -51
- package/dist/lib/rest/media/v1/mediaProcessor.d.ts +0 -318
- package/dist/lib/rest/media/v1/mediaProcessor.js +0 -256
- package/dist/lib/rest/media/v1/mediaRecording.d.ts +0 -310
- package/dist/lib/rest/media/v1/mediaRecording.js +0 -226
- package/dist/lib/rest/media/v1/playerStreamer/playbackGrant.d.ts +0 -151
- package/dist/lib/rest/media/v1/playerStreamer/playbackGrant.js +0 -146
- package/dist/lib/rest/media/v1/playerStreamer.d.ts +0 -328
- package/dist/lib/rest/media/v1/playerStreamer.js +0 -264
- package/dist/lib/rest/messaging/V1.d.ts +0 -50
- package/dist/lib/rest/messaging/V1.js +0 -82
- package/dist/lib/rest/messaging/v1/brandRegistration/brandVetting.d.ts +0 -265
- package/dist/lib/rest/messaging/v1/brandRegistration/brandVetting.js +0 -224
- package/dist/lib/rest/messaging/v1/brandRegistration.d.ts +0 -344
- package/dist/lib/rest/messaging/v1/brandRegistration.js +0 -275
- package/dist/lib/rest/messaging/v1/deactivations.d.ts +0 -106
- package/dist/lib/rest/messaging/v1/deactivations.js +0 -107
- package/dist/lib/rest/messaging/v1/domainCerts.d.ts +0 -164
- package/dist/lib/rest/messaging/v1/domainCerts.js +0 -164
- package/dist/lib/rest/messaging/v1/domainConfig.d.ts +0 -153
- package/dist/lib/rest/messaging/v1/domainConfig.js +0 -152
- package/dist/lib/rest/messaging/v1/externalCampaign.d.ts +0 -79
- package/dist/lib/rest/messaging/v1/externalCampaign.js +0 -87
- package/dist/lib/rest/messaging/v1/service/alphaSender.d.ts +0 -264
- package/dist/lib/rest/messaging/v1/service/alphaSender.js +0 -231
- package/dist/lib/rest/messaging/v1/service/phoneNumber.d.ts +0 -270
- package/dist/lib/rest/messaging/v1/service/phoneNumber.js +0 -234
- package/dist/lib/rest/messaging/v1/service/shortCode.d.ts +0 -270
- package/dist/lib/rest/messaging/v1/service/shortCode.js +0 -234
- package/dist/lib/rest/messaging/v1/service/usAppToPerson.d.ts +0 -384
- package/dist/lib/rest/messaging/v1/service/usAppToPerson.js +0 -304
- package/dist/lib/rest/messaging/v1/service/usAppToPersonUsecase.d.ts +0 -62
- package/dist/lib/rest/messaging/v1/service/usAppToPersonUsecase.js +0 -79
- package/dist/lib/rest/messaging/v1/service.d.ts +0 -494
- package/dist/lib/rest/messaging/v1/service.js +0 -408
- package/dist/lib/rest/messaging/v1/tollfreeVerification.d.ts +0 -521
- package/dist/lib/rest/messaging/v1/tollfreeVerification.js +0 -396
- package/dist/lib/rest/messaging/v1/usecase.d.ts +0 -45
- package/dist/lib/rest/messaging/v1/usecase.js +0 -62
- package/dist/lib/rest/microvisor/V1.d.ts +0 -20
- package/dist/lib/rest/microvisor/V1.js +0 -42
- package/dist/lib/rest/microvisor/v1/app.d.ts +0 -240
- package/dist/lib/rest/microvisor/v1/app.js +0 -201
- package/dist/lib/rest/microvisor/v1/device.d.ts +0 -281
- package/dist/lib/rest/microvisor/v1/device.js +0 -217
- package/dist/lib/rest/monitor/V1.d.ts +0 -20
- package/dist/lib/rest/monitor/V1.js +0 -42
- package/dist/lib/rest/monitor/v1/alert.d.ts +0 -314
- package/dist/lib/rest/monitor/v1/alert.js +0 -212
- package/dist/lib/rest/monitor/v1/event.d.ts +0 -301
- package/dist/lib/rest/monitor/v1/event.js +0 -208
- package/dist/lib/rest/notify/V1.d.ts +0 -20
- package/dist/lib/rest/notify/V1.js +0 -42
- package/dist/lib/rest/notify/v1/credential.d.ts +0 -324
- package/dist/lib/rest/notify/v1/credential.js +0 -274
- package/dist/lib/rest/notify/v1/service/binding.d.ts +0 -337
- package/dist/lib/rest/notify/v1/service/binding.js +0 -268
- package/dist/lib/rest/notify/v1/service/notification.d.ts +0 -208
- package/dist/lib/rest/notify/v1/service/notification.js +0 -152
- package/dist/lib/rest/notify/v1/service.d.ts +0 -458
- package/dist/lib/rest/notify/v1/service.js +0 -369
- package/dist/lib/rest/numbers/V2.d.ts +0 -15
- package/dist/lib/rest/numbers/V2.js +0 -37
- package/dist/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.d.ts +0 -219
- package/dist/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.js +0 -163
- package/dist/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +0 -231
- package/dist/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.js +0 -200
- package/dist/lib/rest/numbers/v2/regulatoryCompliance/bundle/itemAssignment.d.ts +0 -252
- package/dist/lib/rest/numbers/v2/regulatoryCompliance/bundle/itemAssignment.js +0 -227
- package/dist/lib/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.d.ts +0 -106
- package/dist/lib/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.js +0 -97
- package/dist/lib/rest/numbers/v2/regulatoryCompliance/bundle.d.ts +0 -445
- package/dist/lib/rest/numbers/v2/regulatoryCompliance/bundle.js +0 -354
- package/dist/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +0 -308
- package/dist/lib/rest/numbers/v2/regulatoryCompliance/endUser.js +0 -261
- package/dist/lib/rest/numbers/v2/regulatoryCompliance/endUserType.d.ts +0 -211
- package/dist/lib/rest/numbers/v2/regulatoryCompliance/endUserType.js +0 -179
- package/dist/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +0 -239
- package/dist/lib/rest/numbers/v2/regulatoryCompliance/regulation.js +0 -189
- package/dist/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +0 -326
- package/dist/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.js +0 -267
- package/dist/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.d.ts +0 -211
- package/dist/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.js +0 -179
- package/dist/lib/rest/numbers/v2/regulatoryCompliance.d.ts +0 -34
- package/dist/lib/rest/numbers/v2/regulatoryCompliance.js +0 -87
- package/dist/lib/rest/oauth/V1.d.ts +0 -35
- package/dist/lib/rest/oauth/V1.js +0 -61
- package/dist/lib/rest/oauth/v1/deviceCode.d.ts +0 -87
- package/dist/lib/rest/oauth/v1/deviceCode.js +0 -90
- package/dist/lib/rest/oauth/v1/oauth.d.ts +0 -84
- package/dist/lib/rest/oauth/v1/oauth.js +0 -102
- package/dist/lib/rest/oauth/v1/openidDiscovery.d.ts +0 -150
- package/dist/lib/rest/oauth/v1/openidDiscovery.js +0 -126
- package/dist/lib/rest/oauth/v1/token.d.ts +0 -88
- package/dist/lib/rest/oauth/v1/token.js +0 -98
- package/dist/lib/rest/oauth/v1/userInfo.d.ts +0 -108
- package/dist/lib/rest/oauth/v1/userInfo.js +0 -110
- package/dist/lib/rest/preview/DeployedDevices.d.ts +0 -15
- package/dist/lib/rest/preview/DeployedDevices.js +0 -36
- package/dist/lib/rest/preview/HostedNumbers.d.ts +0 -20
- package/dist/lib/rest/preview/HostedNumbers.js +0 -44
- package/dist/lib/rest/preview/Marketplace.d.ts +0 -20
- package/dist/lib/rest/preview/Marketplace.js +0 -44
- package/dist/lib/rest/preview/Sync.d.ts +0 -15
- package/dist/lib/rest/preview/Sync.js +0 -36
- package/dist/lib/rest/preview/Understand.d.ts +0 -15
- package/dist/lib/rest/preview/Understand.js +0 -36
- package/dist/lib/rest/preview/Wireless.d.ts +0 -25
- package/dist/lib/rest/preview/Wireless.js +0 -48
- package/dist/lib/rest/preview/deployed_devices/fleet/certificate.d.ts +0 -324
- package/dist/lib/rest/preview/deployed_devices/fleet/certificate.js +0 -269
- package/dist/lib/rest/preview/deployed_devices/fleet/deployment.d.ts +0 -318
- package/dist/lib/rest/preview/deployed_devices/fleet/deployment.js +0 -264
- package/dist/lib/rest/preview/deployed_devices/fleet/device.d.ts +0 -358
- package/dist/lib/rest/preview/deployed_devices/fleet/device.js +0 -284
- package/dist/lib/rest/preview/deployed_devices/fleet/key.d.ts +0 -330
- package/dist/lib/rest/preview/deployed_devices/fleet/key.js +0 -268
- package/dist/lib/rest/preview/deployed_devices/fleet.d.ts +0 -352
- package/dist/lib/rest/preview/deployed_devices/fleet.js +0 -307
- package/dist/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.d.ts +0 -293
- package/dist/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.js +0 -174
- package/dist/lib/rest/preview/hosted_numbers/authorizationDocument.d.ts +0 -327
- package/dist/lib/rest/preview/hosted_numbers/authorizationDocument.js +0 -285
- package/dist/lib/rest/preview/hosted_numbers/hostedNumberOrder.d.ts +0 -468
- package/dist/lib/rest/preview/hosted_numbers/hostedNumberOrder.js +0 -345
- package/dist/lib/rest/preview/marketplace/availableAddOn/availableAddOnExtension.d.ts +0 -219
- package/dist/lib/rest/preview/marketplace/availableAddOn/availableAddOnExtension.js +0 -187
- package/dist/lib/rest/preview/marketplace/availableAddOn.d.ts +0 -231
- package/dist/lib/rest/preview/marketplace/availableAddOn.js +0 -196
- package/dist/lib/rest/preview/marketplace/installedAddOn/installedAddOnExtension.d.ts +0 -251
- package/dist/lib/rest/preview/marketplace/installedAddOn/installedAddOnExtension.js +0 -214
- package/dist/lib/rest/preview/marketplace/installedAddOn.d.ts +0 -332
- package/dist/lib/rest/preview/marketplace/installedAddOn.js +0 -281
- package/dist/lib/rest/preview/sync/service/document/documentPermission.d.ts +0 -280
- package/dist/lib/rest/preview/sync/service/document/documentPermission.js +0 -253
- package/dist/lib/rest/preview/sync/service/document.d.ts +0 -295
- package/dist/lib/rest/preview/sync/service/document.js +0 -281
- package/dist/lib/rest/preview/sync/service/syncList/syncListItem.d.ts +0 -321
- package/dist/lib/rest/preview/sync/service/syncList/syncListItem.js +0 -280
- package/dist/lib/rest/preview/sync/service/syncList/syncListPermission.d.ts +0 -280
- package/dist/lib/rest/preview/sync/service/syncList/syncListPermission.js +0 -253
- package/dist/lib/rest/preview/sync/service/syncList.d.ts +0 -270
- package/dist/lib/rest/preview/sync/service/syncList.js +0 -263
- package/dist/lib/rest/preview/sync/service/syncMap/syncMapItem.d.ts +0 -323
- package/dist/lib/rest/preview/sync/service/syncMap/syncMapItem.js +0 -284
- package/dist/lib/rest/preview/sync/service/syncMap/syncMapPermission.d.ts +0 -280
- package/dist/lib/rest/preview/sync/service/syncMap/syncMapPermission.js +0 -253
- package/dist/lib/rest/preview/sync/service/syncMap.d.ts +0 -270
- package/dist/lib/rest/preview/sync/service/syncMap.js +0 -263
- package/dist/lib/rest/preview/sync/service.d.ts +0 -330
- package/dist/lib/rest/preview/sync/service.js +0 -308
- package/dist/lib/rest/preview/understand/assistant/assistantFallbackActions.d.ts +0 -131
- package/dist/lib/rest/preview/understand/assistant/assistantFallbackActions.js +0 -142
- package/dist/lib/rest/preview/understand/assistant/assistantInitiationActions.d.ts +0 -131
- package/dist/lib/rest/preview/understand/assistant/assistantInitiationActions.js +0 -142
- package/dist/lib/rest/preview/understand/assistant/dialogue.d.ts +0 -105
- package/dist/lib/rest/preview/understand/assistant/dialogue.js +0 -120
- package/dist/lib/rest/preview/understand/assistant/fieldType/fieldValue.d.ts +0 -285
- package/dist/lib/rest/preview/understand/assistant/fieldType/fieldValue.js +0 -249
- package/dist/lib/rest/preview/understand/assistant/fieldType.d.ts +0 -318
- package/dist/lib/rest/preview/understand/assistant/fieldType.js +0 -277
- package/dist/lib/rest/preview/understand/assistant/modelBuild.d.ts +0 -320
- package/dist/lib/rest/preview/understand/assistant/modelBuild.js +0 -266
- package/dist/lib/rest/preview/understand/assistant/query.d.ts +0 -361
- package/dist/lib/rest/preview/understand/assistant/query.js +0 -286
- package/dist/lib/rest/preview/understand/assistant/styleSheet.d.ts +0 -140
- package/dist/lib/rest/preview/understand/assistant/styleSheet.js +0 -142
- package/dist/lib/rest/preview/understand/assistant/task/field.d.ts +0 -271
- package/dist/lib/rest/preview/understand/assistant/task/field.js +0 -243
- package/dist/lib/rest/preview/understand/assistant/task/sample.d.ts +0 -331
- package/dist/lib/rest/preview/understand/assistant/task/sample.js +0 -280
- package/dist/lib/rest/preview/understand/assistant/task/taskActions.d.ts +0 -145
- package/dist/lib/rest/preview/understand/assistant/task/taskActions.js +0 -150
- package/dist/lib/rest/preview/understand/assistant/task/taskStatistics.d.ts +0 -112
- package/dist/lib/rest/preview/understand/assistant/task/taskStatistics.js +0 -125
- package/dist/lib/rest/preview/understand/assistant/task.d.ts +0 -356
- package/dist/lib/rest/preview/understand/assistant/task.js +0 -326
- package/dist/lib/rest/preview/understand/assistant.d.ts +0 -422
- package/dist/lib/rest/preview/understand/assistant.js +0 -392
- package/dist/lib/rest/preview/wireless/command.d.ts +0 -266
- package/dist/lib/rest/preview/wireless/command.js +0 -232
- package/dist/lib/rest/preview/wireless/ratePlan.d.ts +0 -326
- package/dist/lib/rest/preview/wireless/ratePlan.js +0 -286
- package/dist/lib/rest/preview/wireless/sim/usage.d.ts +0 -131
- package/dist/lib/rest/preview/wireless/sim/usage.js +0 -133
- package/dist/lib/rest/preview/wireless/sim.d.ts +0 -361
- package/dist/lib/rest/preview/wireless/sim.js +0 -291
- package/dist/lib/rest/pricing/V1.d.ts +0 -25
- package/dist/lib/rest/pricing/V1.js +0 -48
- package/dist/lib/rest/pricing/V2.d.ts +0 -25
- package/dist/lib/rest/pricing/V2.js +0 -48
- package/dist/lib/rest/pricing/v1/messaging/country.d.ts +0 -233
- package/dist/lib/rest/pricing/v1/messaging/country.js +0 -190
- package/dist/lib/rest/pricing/v1/messaging.d.ts +0 -19
- package/dist/lib/rest/pricing/v1/messaging.js +0 -42
- package/dist/lib/rest/pricing/v1/phoneNumber/country.d.ts +0 -216
- package/dist/lib/rest/pricing/v1/phoneNumber/country.js +0 -182
- package/dist/lib/rest/pricing/v1/phoneNumber.d.ts +0 -19
- package/dist/lib/rest/pricing/v1/phoneNumber.js +0 -42
- package/dist/lib/rest/pricing/v1/voice/country.d.ts +0 -228
- package/dist/lib/rest/pricing/v1/voice/country.js +0 -187
- package/dist/lib/rest/pricing/v1/voice/number.d.ts +0 -127
- package/dist/lib/rest/pricing/v1/voice/number.js +0 -130
- package/dist/lib/rest/pricing/v1/voice.d.ts +0 -22
- package/dist/lib/rest/pricing/v1/voice.js +0 -51
- package/dist/lib/rest/pricing/v2/country.d.ts +0 -229
- package/dist/lib/rest/pricing/v2/country.js +0 -187
- package/dist/lib/rest/pricing/v2/number.d.ts +0 -158
- package/dist/lib/rest/pricing/v2/number.js +0 -137
- package/dist/lib/rest/pricing/v2/voice/country.d.ts +0 -229
- package/dist/lib/rest/pricing/v2/voice/country.js +0 -187
- package/dist/lib/rest/pricing/v2/voice/number.d.ts +0 -159
- package/dist/lib/rest/pricing/v2/voice/number.js +0 -137
- package/dist/lib/rest/pricing/v2/voice.d.ts +0 -22
- package/dist/lib/rest/pricing/v2/voice.js +0 -51
- package/dist/lib/rest/proxy/V1.d.ts +0 -15
- package/dist/lib/rest/proxy/V1.js +0 -36
- package/dist/lib/rest/proxy/v1/service/phoneNumber.d.ts +0 -340
- package/dist/lib/rest/proxy/v1/service/phoneNumber.js +0 -272
- package/dist/lib/rest/proxy/v1/service/session/interaction.d.ts +0 -309
- package/dist/lib/rest/proxy/v1/service/session/interaction.js +0 -238
- package/dist/lib/rest/proxy/v1/service/session/participant/messageInteraction.d.ts +0 -326
- package/dist/lib/rest/proxy/v1/service/session/participant/messageInteraction.js +0 -257
- package/dist/lib/rest/proxy/v1/service/session/participant.d.ts +0 -310
- package/dist/lib/rest/proxy/v1/service/session/participant.js +0 -266
- package/dist/lib/rest/proxy/v1/service/session.d.ts +0 -388
- package/dist/lib/rest/proxy/v1/service/session.js +0 -316
- package/dist/lib/rest/proxy/v1/service/shortCode.d.ts +0 -316
- package/dist/lib/rest/proxy/v1/service/shortCode.js +0 -262
- package/dist/lib/rest/proxy/v1/service.d.ts +0 -388
- package/dist/lib/rest/proxy/v1/service.js +0 -330
- package/dist/lib/rest/routes/V2.d.ts +0 -25
- package/dist/lib/rest/routes/V2.js +0 -48
- package/dist/lib/rest/routes/v2/phoneNumber.d.ts +0 -168
- package/dist/lib/rest/routes/v2/phoneNumber.js +0 -149
- package/dist/lib/rest/routes/v2/sipDomain.d.ts +0 -144
- package/dist/lib/rest/routes/v2/sipDomain.js +0 -149
- package/dist/lib/rest/routes/v2/trunk.d.ts +0 -168
- package/dist/lib/rest/routes/v2/trunk.js +0 -149
- package/dist/lib/rest/serverless/V1.d.ts +0 -15
- package/dist/lib/rest/serverless/V1.js +0 -36
- package/dist/lib/rest/serverless/v1/service/asset/assetVersion.d.ts +0 -231
- package/dist/lib/rest/serverless/v1/service/asset/assetVersion.js +0 -197
- package/dist/lib/rest/serverless/v1/service/asset.d.ts +0 -298
- package/dist/lib/rest/serverless/v1/service/asset.js +0 -271
- package/dist/lib/rest/serverless/v1/service/build/buildStatus.d.ts +0 -107
- package/dist/lib/rest/serverless/v1/service/build/buildStatus.js +0 -123
- package/dist/lib/rest/serverless/v1/service/build.d.ts +0 -303
- package/dist/lib/rest/serverless/v1/service/build.js +0 -260
- package/dist/lib/rest/serverless/v1/service/environment/deployment.d.ts +0 -257
- package/dist/lib/rest/serverless/v1/service/environment/deployment.js +0 -220
- package/dist/lib/rest/serverless/v1/service/environment/log.d.ts +0 -273
- package/dist/lib/rest/serverless/v1/service/environment/log.js +0 -211
- package/dist/lib/rest/serverless/v1/service/environment/variable.d.ts +0 -318
- package/dist/lib/rest/serverless/v1/service/environment/variable.js +0 -272
- package/dist/lib/rest/serverless/v1/service/environment.d.ts +0 -308
- package/dist/lib/rest/serverless/v1/service/environment.js +0 -278
- package/dist/lib/rest/serverless/v1/service/function/functionVersion/functionVersionContent.d.ts +0 -114
- package/dist/lib/rest/serverless/v1/service/function/functionVersion/functionVersionContent.js +0 -131
- package/dist/lib/rest/serverless/v1/service/function/functionVersion.d.ts +0 -242
- package/dist/lib/rest/serverless/v1/service/function/functionVersion.js +0 -212
- package/dist/lib/rest/serverless/v1/service/function.d.ts +0 -298
- package/dist/lib/rest/serverless/v1/service/function.js +0 -271
- package/dist/lib/rest/serverless/v1/service.d.ts +0 -364
- package/dist/lib/rest/serverless/v1/service.js +0 -321
- package/dist/lib/rest/studio/V1.d.ts +0 -15
- package/dist/lib/rest/studio/V1.js +0 -36
- package/dist/lib/rest/studio/V2.d.ts +0 -20
- package/dist/lib/rest/studio/V2.js +0 -42
- package/dist/lib/rest/studio/v1/flow/engagement/engagementContext.d.ts +0 -109
- package/dist/lib/rest/studio/v1/flow/engagement/engagementContext.js +0 -123
- package/dist/lib/rest/studio/v1/flow/engagement/step/stepContext.d.ts +0 -117
- package/dist/lib/rest/studio/v1/flow/engagement/step/stepContext.js +0 -131
- package/dist/lib/rest/studio/v1/flow/engagement/step.d.ts +0 -265
- package/dist/lib/rest/studio/v1/flow/engagement/step.js +0 -218
- package/dist/lib/rest/studio/v1/flow/engagement.d.ts +0 -300
- package/dist/lib/rest/studio/v1/flow/engagement.js +0 -269
- package/dist/lib/rest/studio/v1/flow/execution/executionContext.d.ts +0 -109
- package/dist/lib/rest/studio/v1/flow/execution/executionContext.js +0 -123
- package/dist/lib/rest/studio/v1/flow/execution/executionStep/executionStepContext.d.ts +0 -117
- package/dist/lib/rest/studio/v1/flow/execution/executionStep/executionStepContext.js +0 -131
- package/dist/lib/rest/studio/v1/flow/execution/executionStep.d.ts +0 -265
- package/dist/lib/rest/studio/v1/flow/execution/executionStep.js +0 -218
- package/dist/lib/rest/studio/v1/flow/execution.d.ts +0 -338
- package/dist/lib/rest/studio/v1/flow/execution.js +0 -298
- package/dist/lib/rest/studio/v1/flow.d.ts +0 -266
- package/dist/lib/rest/studio/v1/flow.js +0 -231
- package/dist/lib/rest/studio/v2/flow/execution/executionContext.d.ts +0 -109
- package/dist/lib/rest/studio/v2/flow/execution/executionContext.js +0 -123
- package/dist/lib/rest/studio/v2/flow/execution/executionStep/executionStepContext.d.ts +0 -117
- package/dist/lib/rest/studio/v2/flow/execution/executionStep/executionStepContext.js +0 -131
- package/dist/lib/rest/studio/v2/flow/execution/executionStep.d.ts +0 -265
- package/dist/lib/rest/studio/v2/flow/execution/executionStep.js +0 -218
- package/dist/lib/rest/studio/v2/flow/execution.d.ts +0 -332
- package/dist/lib/rest/studio/v2/flow/execution.js +0 -296
- package/dist/lib/rest/studio/v2/flow/flowRevision.d.ts +0 -253
- package/dist/lib/rest/studio/v2/flow/flowRevision.js +0 -199
- package/dist/lib/rest/studio/v2/flow/flowTestUser.d.ts +0 -121
- package/dist/lib/rest/studio/v2/flow/flowTestUser.js +0 -138
- package/dist/lib/rest/studio/v2/flow.d.ts +0 -361
- package/dist/lib/rest/studio/v2/flow.js +0 -319
- package/dist/lib/rest/studio/v2/flowValidate.d.ts +0 -60
- package/dist/lib/rest/studio/v2/flowValidate.js +0 -85
- package/dist/lib/rest/supersim/V1.d.ts +0 -55
- package/dist/lib/rest/supersim/V1.js +0 -86
- package/dist/lib/rest/supersim/v1/esimProfile.d.ts +0 -297
- package/dist/lib/rest/supersim/v1/esimProfile.js +0 -226
- package/dist/lib/rest/supersim/v1/fleet.d.ts +0 -363
- package/dist/lib/rest/supersim/v1/fleet.js +0 -277
- package/dist/lib/rest/supersim/v1/ipCommand.d.ts +0 -303
- package/dist/lib/rest/supersim/v1/ipCommand.js +0 -238
- package/dist/lib/rest/supersim/v1/network.d.ts +0 -229
- package/dist/lib/rest/supersim/v1/network.js +0 -185
- package/dist/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.d.ts +0 -252
- package/dist/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.js +0 -227
- package/dist/lib/rest/supersim/v1/networkAccessProfile.d.ts +0 -296
- package/dist/lib/rest/supersim/v1/networkAccessProfile.js +0 -248
- package/dist/lib/rest/supersim/v1/settingsUpdate.d.ts +0 -194
- package/dist/lib/rest/supersim/v1/settingsUpdate.js +0 -136
- package/dist/lib/rest/supersim/v1/sim/billingPeriod.d.ts +0 -183
- package/dist/lib/rest/supersim/v1/sim/billingPeriod.js +0 -136
- package/dist/lib/rest/supersim/v1/sim/simIpAddress.d.ts +0 -147
- package/dist/lib/rest/supersim/v1/sim/simIpAddress.js +0 -124
- package/dist/lib/rest/supersim/v1/sim.d.ts +0 -341
- package/dist/lib/rest/supersim/v1/sim.js +0 -283
- package/dist/lib/rest/supersim/v1/smsCommand.d.ts +0 -271
- package/dist/lib/rest/supersim/v1/smsCommand.js +0 -222
- package/dist/lib/rest/supersim/v1/usageRecord.d.ts +0 -252
- package/dist/lib/rest/supersim/v1/usageRecord.js +0 -154
- package/dist/lib/rest/sync/V1.d.ts +0 -15
- package/dist/lib/rest/sync/V1.js +0 -36
- package/dist/lib/rest/sync/v1/service/document/documentPermission.d.ts +0 -280
- package/dist/lib/rest/sync/v1/service/document/documentPermission.js +0 -253
- package/dist/lib/rest/sync/v1/service/document.d.ts +0 -354
- package/dist/lib/rest/sync/v1/service/document.js +0 -289
- package/dist/lib/rest/sync/v1/service/syncList/syncListItem.d.ts +0 -385
- package/dist/lib/rest/sync/v1/service/syncList/syncListItem.js +0 -296
- package/dist/lib/rest/sync/v1/service/syncList/syncListPermission.d.ts +0 -280
- package/dist/lib/rest/sync/v1/service/syncList/syncListPermission.js +0 -253
- package/dist/lib/rest/sync/v1/service/syncList.d.ts +0 -354
- package/dist/lib/rest/sync/v1/service/syncList.js +0 -298
- package/dist/lib/rest/sync/v1/service/syncMap/syncMapItem.d.ts +0 -387
- package/dist/lib/rest/sync/v1/service/syncMap/syncMapItem.js +0 -300
- package/dist/lib/rest/sync/v1/service/syncMap/syncMapPermission.d.ts +0 -280
- package/dist/lib/rest/sync/v1/service/syncMap/syncMapPermission.js +0 -253
- package/dist/lib/rest/sync/v1/service/syncMap.d.ts +0 -354
- package/dist/lib/rest/sync/v1/service/syncMap.js +0 -298
- package/dist/lib/rest/sync/v1/service/syncStream/streamMessage.d.ts +0 -61
- package/dist/lib/rest/sync/v1/service/syncStream/streamMessage.js +0 -83
- package/dist/lib/rest/sync/v1/service/syncStream.d.ts +0 -336
- package/dist/lib/rest/sync/v1/service/syncStream.js +0 -279
- package/dist/lib/rest/sync/v1/service.d.ts +0 -404
- package/dist/lib/rest/sync/v1/service.js +0 -344
- package/dist/lib/rest/taskrouter/V1.d.ts +0 -15
- package/dist/lib/rest/taskrouter/V1.js +0 -36
- package/dist/lib/rest/taskrouter/v1/workspace/activity.d.ts +0 -323
- package/dist/lib/rest/taskrouter/v1/workspace/activity.js +0 -267
- package/dist/lib/rest/taskrouter/v1/workspace/event.d.ts +0 -351
- package/dist/lib/rest/taskrouter/v1/workspace/event.js +0 -231
- package/dist/lib/rest/taskrouter/v1/workspace/task/reservation.d.ts +0 -412
- package/dist/lib/rest/taskrouter/v1/workspace/task/reservation.js +0 -344
- package/dist/lib/rest/taskrouter/v1/workspace/task.d.ts +0 -495
- package/dist/lib/rest/taskrouter/v1/workspace/task.js +0 -341
- package/dist/lib/rest/taskrouter/v1/workspace/taskChannel.d.ts +0 -324
- package/dist/lib/rest/taskrouter/v1/workspace/taskChannel.js +0 -271
- package/dist/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.d.ts +0 -244
- package/dist/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.js +0 -172
- package/dist/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueRealTimeStatistics.d.ts +0 -188
- package/dist/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueRealTimeStatistics.js +0 -148
- package/dist/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueStatistics.d.ts +0 -148
- package/dist/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueStatistics.js +0 -139
- package/dist/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.d.ts +0 -203
- package/dist/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.js +0 -142
- package/dist/lib/rest/taskrouter/v1/workspace/taskQueue.d.ts +0 -417
- package/dist/lib/rest/taskrouter/v1/workspace/taskQueue.js +0 -349
- package/dist/lib/rest/taskrouter/v1/workspace/worker/reservation.d.ts +0 -401
- package/dist/lib/rest/taskrouter/v1/workspace/worker/reservation.js +0 -338
- package/dist/lib/rest/taskrouter/v1/workspace/worker/workerChannel.d.ts +0 -307
- package/dist/lib/rest/taskrouter/v1/workspace/worker/workerChannel.js +0 -236
- package/dist/lib/rest/taskrouter/v1/workspace/worker/workerStatistics.d.ts +0 -140
- package/dist/lib/rest/taskrouter/v1/workspace/worker/workerStatistics.js +0 -135
- package/dist/lib/rest/taskrouter/v1/workspace/worker/workersCumulativeStatistics.d.ts +0 -180
- package/dist/lib/rest/taskrouter/v1/workspace/worker/workersCumulativeStatistics.js +0 -143
- package/dist/lib/rest/taskrouter/v1/workspace/worker/workersRealTimeStatistics.d.ts +0 -132
- package/dist/lib/rest/taskrouter/v1/workspace/worker/workersRealTimeStatistics.js +0 -123
- package/dist/lib/rest/taskrouter/v1/workspace/worker/workersStatistics.d.ts +0 -144
- package/dist/lib/rest/taskrouter/v1/workspace/worker/workersStatistics.js +0 -135
- package/dist/lib/rest/taskrouter/v1/workspace/worker.d.ts +0 -454
- package/dist/lib/rest/taskrouter/v1/workspace/worker.js +0 -370
- package/dist/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.d.ts +0 -244
- package/dist/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.js +0 -171
- package/dist/lib/rest/taskrouter/v1/workspace/workflow/workflowRealTimeStatistics.d.ts +0 -158
- package/dist/lib/rest/taskrouter/v1/workspace/workflow/workflowRealTimeStatistics.js +0 -137
- package/dist/lib/rest/taskrouter/v1/workspace/workflow/workflowStatistics.d.ts +0 -148
- package/dist/lib/rest/taskrouter/v1/workspace/workflow/workflowStatistics.js +0 -139
- package/dist/lib/rest/taskrouter/v1/workspace/workflow.d.ts +0 -384
- package/dist/lib/rest/taskrouter/v1/workspace/workflow.js +0 -334
- package/dist/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.d.ts +0 -236
- package/dist/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.js +0 -163
- package/dist/lib/rest/taskrouter/v1/workspace/workspaceRealTimeStatistics.d.ts +0 -162
- package/dist/lib/rest/taskrouter/v1/workspace/workspaceRealTimeStatistics.js +0 -133
- package/dist/lib/rest/taskrouter/v1/workspace/workspaceStatistics.d.ts +0 -140
- package/dist/lib/rest/taskrouter/v1/workspace/workspaceStatistics.js +0 -131
- package/dist/lib/rest/taskrouter/v1/workspace.d.ts +0 -452
- package/dist/lib/rest/taskrouter/v1/workspace.js +0 -418
- package/dist/lib/rest/trunking/V1.d.ts +0 -15
- package/dist/lib/rest/trunking/V1.js +0 -36
- package/dist/lib/rest/trunking/v1/trunk/credentialList.d.ts +0 -258
- package/dist/lib/rest/trunking/v1/trunk/credentialList.js +0 -230
- package/dist/lib/rest/trunking/v1/trunk/ipAccessControlList.d.ts +0 -258
- package/dist/lib/rest/trunking/v1/trunk/ipAccessControlList.js +0 -230
- package/dist/lib/rest/trunking/v1/trunk/originationUrl.d.ts +0 -340
- package/dist/lib/rest/trunking/v1/trunk/originationUrl.js +0 -289
- package/dist/lib/rest/trunking/v1/trunk/phoneNumber.d.ts +0 -375
- package/dist/lib/rest/trunking/v1/trunk/phoneNumber.js +0 -268
- package/dist/lib/rest/trunking/v1/trunk/recording.d.ts +0 -129
- package/dist/lib/rest/trunking/v1/trunk/recording.js +0 -140
- package/dist/lib/rest/trunking/v1/trunk.d.ts +0 -431
- package/dist/lib/rest/trunking/v1/trunk.js +0 -364
- package/dist/lib/rest/trusthub/V1.d.ts +0 -45
- package/dist/lib/rest/trusthub/V1.js +0 -76
- package/dist/lib/rest/trusthub/v1/customerProfiles/customerProfilesChannelEndpointAssignment.d.ts +0 -272
- package/dist/lib/rest/trusthub/v1/customerProfiles/customerProfilesChannelEndpointAssignment.js +0 -239
- package/dist/lib/rest/trusthub/v1/customerProfiles/customerProfilesEntityAssignments.d.ts +0 -252
- package/dist/lib/rest/trusthub/v1/customerProfiles/customerProfilesEntityAssignments.js +0 -227
- package/dist/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +0 -239
- package/dist/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.js +0 -212
- package/dist/lib/rest/trusthub/v1/customerProfiles.d.ts +0 -380
- package/dist/lib/rest/trusthub/v1/customerProfiles.js +0 -322
- package/dist/lib/rest/trusthub/v1/endUser.d.ts +0 -310
- package/dist/lib/rest/trusthub/v1/endUser.js +0 -261
- package/dist/lib/rest/trusthub/v1/endUserType.d.ts +0 -211
- package/dist/lib/rest/trusthub/v1/endUserType.js +0 -179
- package/dist/lib/rest/trusthub/v1/policies.d.ts +0 -205
- package/dist/lib/rest/trusthub/v1/policies.js +0 -177
- package/dist/lib/rest/trusthub/v1/supportingDocument.d.ts +0 -320
- package/dist/lib/rest/trusthub/v1/supportingDocument.js +0 -265
- package/dist/lib/rest/trusthub/v1/supportingDocumentType.d.ts +0 -211
- package/dist/lib/rest/trusthub/v1/supportingDocumentType.js +0 -179
- package/dist/lib/rest/trusthub/v1/trustProducts/trustProductsChannelEndpointAssignment.d.ts +0 -272
- package/dist/lib/rest/trusthub/v1/trustProducts/trustProductsChannelEndpointAssignment.js +0 -239
- package/dist/lib/rest/trusthub/v1/trustProducts/trustProductsEntityAssignments.d.ts +0 -252
- package/dist/lib/rest/trusthub/v1/trustProducts/trustProductsEntityAssignments.js +0 -227
- package/dist/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +0 -239
- package/dist/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.js +0 -212
- package/dist/lib/rest/trusthub/v1/trustProducts.d.ts +0 -380
- package/dist/lib/rest/trusthub/v1/trustProducts.js +0 -322
- package/dist/lib/rest/verify/V2.d.ts +0 -40
- package/dist/lib/rest/verify/V2.js +0 -69
- package/dist/lib/rest/verify/v2/form.d.ts +0 -98
- package/dist/lib/rest/verify/v2/form.js +0 -112
- package/dist/lib/rest/verify/v2/safelist.d.ts +0 -127
- package/dist/lib/rest/verify/v2/safelist.js +0 -150
- package/dist/lib/rest/verify/v2/service/accessToken.d.ts +0 -158
- package/dist/lib/rest/verify/v2/service/accessToken.js +0 -159
- package/dist/lib/rest/verify/v2/service/entity/challenge/notification.d.ts +0 -112
- package/dist/lib/rest/verify/v2/service/entity/challenge/notification.js +0 -102
- package/dist/lib/rest/verify/v2/service/entity/challenge.d.ts +0 -384
- package/dist/lib/rest/verify/v2/service/entity/challenge.js +0 -296
- package/dist/lib/rest/verify/v2/service/entity/factor.d.ts +0 -335
- package/dist/lib/rest/verify/v2/service/entity/factor.js +0 -270
- package/dist/lib/rest/verify/v2/service/entity/newFactor.d.ts +0 -157
- package/dist/lib/rest/verify/v2/service/entity/newFactor.js +0 -137
- package/dist/lib/rest/verify/v2/service/entity.d.ts +0 -288
- package/dist/lib/rest/verify/v2/service/entity.js +0 -270
- package/dist/lib/rest/verify/v2/service/messagingConfiguration.d.ts +0 -286
- package/dist/lib/rest/verify/v2/service/messagingConfiguration.js +0 -260
- package/dist/lib/rest/verify/v2/service/rateLimit/bucket.d.ts +0 -318
- package/dist/lib/rest/verify/v2/service/rateLimit/bucket.js +0 -272
- package/dist/lib/rest/verify/v2/service/rateLimit.d.ts +0 -322
- package/dist/lib/rest/verify/v2/service/rateLimit.js +0 -275
- package/dist/lib/rest/verify/v2/service/verification.d.ts +0 -237
- package/dist/lib/rest/verify/v2/service/verification.js +0 -217
- package/dist/lib/rest/verify/v2/service/verificationCheck.d.ts +0 -134
- package/dist/lib/rest/verify/v2/service/verificationCheck.js +0 -110
- package/dist/lib/rest/verify/v2/service/webhook.d.ts +0 -340
- package/dist/lib/rest/verify/v2/service/webhook.js +0 -287
- package/dist/lib/rest/verify/v2/service.d.ts +0 -481
- package/dist/lib/rest/verify/v2/service.js +0 -426
- package/dist/lib/rest/verify/v2/template.d.ts +0 -172
- package/dist/lib/rest/verify/v2/template.js +0 -128
- package/dist/lib/rest/verify/v2/verificationAttempt.d.ts +0 -288
- package/dist/lib/rest/verify/v2/verificationAttempt.js +0 -207
- package/dist/lib/rest/verify/v2/verificationAttemptsSummary.d.ts +0 -138
- package/dist/lib/rest/verify/v2/verificationAttemptsSummary.js +0 -126
- package/dist/lib/rest/video/V1.d.ts +0 -40
- package/dist/lib/rest/video/V1.js +0 -69
- package/dist/lib/rest/video/v1/composition.d.ts +0 -377
- package/dist/lib/rest/video/v1/composition.js +0 -275
- package/dist/lib/rest/video/v1/compositionHook.d.ts +0 -389
- package/dist/lib/rest/video/v1/compositionHook.js +0 -310
- package/dist/lib/rest/video/v1/compositionSettings.d.ts +0 -159
- package/dist/lib/rest/video/v1/compositionSettings.js +0 -151
- package/dist/lib/rest/video/v1/recording.d.ts +0 -335
- package/dist/lib/rest/video/v1/recording.js +0 -236
- package/dist/lib/rest/video/v1/recordingSettings.d.ts +0 -159
- package/dist/lib/rest/video/v1/recordingSettings.js +0 -151
- package/dist/lib/rest/video/v1/room/participant/anonymize.d.ts +0 -143
- package/dist/lib/rest/video/v1/room/participant/anonymize.js +0 -135
- package/dist/lib/rest/video/v1/room/participant/publishedTrack.d.ts +0 -237
- package/dist/lib/rest/video/v1/room/participant/publishedTrack.js +0 -199
- package/dist/lib/rest/video/v1/room/participant/subscribeRules.d.ts +0 -103
- package/dist/lib/rest/video/v1/room/participant/subscribeRules.js +0 -103
- package/dist/lib/rest/video/v1/room/participant/subscribedTrack.d.ts +0 -243
- package/dist/lib/rest/video/v1/room/participant/subscribedTrack.js +0 -201
- package/dist/lib/rest/video/v1/room/participant.d.ts +0 -351
- package/dist/lib/rest/video/v1/room/participant.js +0 -286
- package/dist/lib/rest/video/v1/room/recordingRules.d.ts +0 -95
- package/dist/lib/rest/video/v1/room/recordingRules.js +0 -98
- package/dist/lib/rest/video/v1/room/roomRecording.d.ts +0 -318
- package/dist/lib/rest/video/v1/room/roomRecording.js +0 -236
- package/dist/lib/rest/video/v1/room.d.ts +0 -449
- package/dist/lib/rest/video/v1/room.js +0 -339
- package/dist/lib/rest/voice/V1.d.ts +0 -40
- package/dist/lib/rest/voice/V1.js +0 -69
- package/dist/lib/rest/voice/v1/archivedCall.d.ts +0 -51
- package/dist/lib/rest/voice/v1/archivedCall.js +0 -71
- package/dist/lib/rest/voice/v1/byocTrunk.d.ts +0 -393
- package/dist/lib/rest/voice/v1/byocTrunk.js +0 -304
- package/dist/lib/rest/voice/v1/connectionPolicy/connectionPolicyTarget.d.ts +0 -340
- package/dist/lib/rest/voice/v1/connectionPolicy/connectionPolicyTarget.js +0 -280
- package/dist/lib/rest/voice/v1/connectionPolicy.d.ts +0 -314
- package/dist/lib/rest/voice/v1/connectionPolicy.js +0 -265
- package/dist/lib/rest/voice/v1/dialingPermissions/bulkCountryUpdate.d.ts +0 -59
- package/dist/lib/rest/voice/v1/dialingPermissions/bulkCountryUpdate.js +0 -77
- package/dist/lib/rest/voice/v1/dialingPermissions/country/highriskSpecialPrefix.d.ts +0 -143
- package/dist/lib/rest/voice/v1/dialingPermissions/country/highriskSpecialPrefix.js +0 -122
- package/dist/lib/rest/voice/v1/dialingPermissions/country.d.ts +0 -279
- package/dist/lib/rest/voice/v1/dialingPermissions/country.js +0 -214
- package/dist/lib/rest/voice/v1/dialingPermissions/settings.d.ts +0 -129
- package/dist/lib/rest/voice/v1/dialingPermissions/settings.js +0 -130
- package/dist/lib/rest/voice/v1/dialingPermissions.d.ts +0 -25
- package/dist/lib/rest/voice/v1/dialingPermissions.js +0 -60
- package/dist/lib/rest/voice/v1/ipRecord.d.ts +0 -308
- package/dist/lib/rest/voice/v1/ipRecord.js +0 -256
- package/dist/lib/rest/voice/v1/sourceIpMapping.d.ts +0 -278
- package/dist/lib/rest/voice/v1/sourceIpMapping.js +0 -252
- package/dist/lib/rest/wireless/V1.d.ts +0 -30
- package/dist/lib/rest/wireless/V1.js +0 -54
- package/dist/lib/rest/wireless/v1/command.d.ts +0 -314
- package/dist/lib/rest/wireless/v1/command.js +0 -253
- package/dist/lib/rest/wireless/v1/ratePlan.d.ts +0 -382
- package/dist/lib/rest/wireless/v1/ratePlan.js +0 -293
- package/dist/lib/rest/wireless/v1/sim/dataSession.d.ts +0 -233
- package/dist/lib/rest/wireless/v1/sim/dataSession.js +0 -152
- package/dist/lib/rest/wireless/v1/sim/usageRecord.d.ts +0 -186
- package/dist/lib/rest/wireless/v1/sim/usageRecord.js +0 -136
- package/dist/lib/rest/wireless/v1/sim.d.ts +0 -465
- package/dist/lib/rest/wireless/v1/sim.js +0 -332
- package/dist/lib/rest/wireless/v1/usageRecord.d.ts +0 -179
- package/dist/lib/rest/wireless/v1/usageRecord.js +0 -130
- package/dist/lib/twiml/FaxResponse.d.ts +0 -66
- package/dist/lib/twiml/FaxResponse.js +0 -67
- package/dist/lib/twiml/MessagingResponse.d.ts +0 -117
- package/dist/lib/twiml/MessagingResponse.js +0 -120
- package/dist/lib/twiml/TwiML.d.ts +0 -42
- package/dist/lib/twiml/TwiML.js +0 -83
- package/dist/lib/twiml/VoiceResponse.d.ts +0 -2448
- package/dist/lib/twiml/VoiceResponse.js +0 -1434
- package/dist/lib/webhooks/webhooks.d.ts +0 -136
- package/dist/lib/webhooks/webhooks.js +0 -302
- package/dist/package.json +0 -80
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
|
-
import { IncomingHttpHeaders } from "http2";
|
|
4
|
-
export interface Request {
|
|
5
|
-
protocol: string;
|
|
6
|
-
header(name: string): string | undefined;
|
|
7
|
-
headers: IncomingHttpHeaders;
|
|
8
|
-
originalUrl: string;
|
|
9
|
-
rawBody?: any;
|
|
10
|
-
body: any;
|
|
11
|
-
}
|
|
12
|
-
export interface RequestValidatorOptions {
|
|
13
|
-
/**
|
|
14
|
-
* The full URL (with query string) you used to configure the webhook with Twilio - overrides host/protocol options
|
|
15
|
-
*/
|
|
16
|
-
url?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Manually specify the host name used by Twilio in a number's webhook config
|
|
19
|
-
*/
|
|
20
|
-
host?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Manually specify the protocol used by Twilio in a number's webhook config
|
|
23
|
-
*/
|
|
24
|
-
protocol?: string;
|
|
25
|
-
}
|
|
26
|
-
export interface WebhookOptions {
|
|
27
|
-
/**
|
|
28
|
-
* Whether or not the middleware should validate the request
|
|
29
|
-
* came from Twilio. Default true. If the request does not originate from
|
|
30
|
-
* Twilio, we will return a text body and a 403. If there is no configured
|
|
31
|
-
* auth token and validate=true, this is an error condition, so we will return
|
|
32
|
-
* a 500.
|
|
33
|
-
*/
|
|
34
|
-
validate?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Add helpers to the response object to improve support for XML (TwiML) rendering. Default true.
|
|
37
|
-
*/
|
|
38
|
-
includeHelpers?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* The full URL (with query string) you used to configure the webhook with Twilio - overrides host/protocol options
|
|
41
|
-
*/
|
|
42
|
-
url?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Manually specify the host name used by Twilio in a number's webhook config
|
|
45
|
-
*/
|
|
46
|
-
host?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Manually specify the protocol used by Twilio in a number's webhook config
|
|
49
|
-
*/
|
|
50
|
-
protocol?: string;
|
|
51
|
-
/**
|
|
52
|
-
* Authentication token
|
|
53
|
-
*/
|
|
54
|
-
authToken?: string;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
Utility function to get the expected signature for a given request
|
|
58
|
-
|
|
59
|
-
@param authToken - The auth token, as seen in the Twilio portal
|
|
60
|
-
@param url - The full URL (with query string) you configured to handle
|
|
61
|
-
this request
|
|
62
|
-
@param params - the parameters sent with this request
|
|
63
|
-
@returns signature
|
|
64
|
-
*/
|
|
65
|
-
export declare function getExpectedTwilioSignature(authToken: string, url: string, params: Record<string, any>): string;
|
|
66
|
-
/**
|
|
67
|
-
Utility function to get the expected body hash for a given request's body
|
|
68
|
-
|
|
69
|
-
@param body - The plain-text body of the request
|
|
70
|
-
*/
|
|
71
|
-
export declare function getExpectedBodyHash(body: string): string;
|
|
72
|
-
/**
|
|
73
|
-
Utility function to validate an incoming request is indeed from Twilio
|
|
74
|
-
|
|
75
|
-
@param authToken - The auth token, as seen in the Twilio portal
|
|
76
|
-
@param twilioHeader - The value of the X-Twilio-Signature header from the request
|
|
77
|
-
@param url - The full URL (with query string) you configured to handle this request
|
|
78
|
-
@param params - the parameters sent with this request
|
|
79
|
-
@returns valid
|
|
80
|
-
*/
|
|
81
|
-
export declare function validateRequest(authToken: string, twilioHeader: string, url: string, params: Record<string, any>): boolean;
|
|
82
|
-
export declare function validateBody(body: string, bodyHash: any[] | string | Buffer): boolean;
|
|
83
|
-
/**
|
|
84
|
-
Utility function to validate an incoming request is indeed from Twilio. This also validates
|
|
85
|
-
the request body against the bodySHA256 post parameter.
|
|
86
|
-
|
|
87
|
-
@param authToken - The auth token, as seen in the Twilio portal
|
|
88
|
-
@param twilioHeader - The value of the X-Twilio-Signature header from the request
|
|
89
|
-
@param url - The full URL (with query string) you configured to handle this request
|
|
90
|
-
@param body - The body of the request
|
|
91
|
-
@returns valid
|
|
92
|
-
*/
|
|
93
|
-
export declare function validateRequestWithBody(authToken: string, twilioHeader: string, url: string, body: string): boolean;
|
|
94
|
-
/**
|
|
95
|
-
Utility function to validate an incoming request is indeed from Twilio.
|
|
96
|
-
adapted from https://github.com/crabasa/twiliosig
|
|
97
|
-
|
|
98
|
-
@param request - A request object (based on Express implementation http://expressjs.com/api.html#req.params)
|
|
99
|
-
@param authToken - The auth token, as seen in the Twilio portal
|
|
100
|
-
@param opts - options for request validation:
|
|
101
|
-
-> url: The full URL (with query string) you used to configure the webhook with Twilio - overrides host/protocol options
|
|
102
|
-
-> host: manually specify the host name used by Twilio in a number's webhook config
|
|
103
|
-
-> protocol: manually specify the protocol used by Twilio in a number's webhook config
|
|
104
|
-
*/
|
|
105
|
-
export declare function validateIncomingRequest(request: Request, authToken: string, opts?: RequestValidatorOptions): boolean;
|
|
106
|
-
export declare function validateExpressRequest(request: Request, authToken: string, opts?: RequestValidatorOptions): boolean;
|
|
107
|
-
/**
|
|
108
|
-
Express middleware to accompany a Twilio webhook. Provides Twilio
|
|
109
|
-
request validation, and makes the response a little more friendly for our
|
|
110
|
-
TwiML generator. Request validation requires the express.urlencoded middleware
|
|
111
|
-
to have been applied (e.g. app.use(express.urlencoded()); in your app config).
|
|
112
|
-
|
|
113
|
-
Options:
|
|
114
|
-
- validate: {Boolean} whether or not the middleware should validate the request
|
|
115
|
-
came from Twilio. Default true. If the request does not originate from
|
|
116
|
-
Twilio, we will return a text body and a 403. If there is no configured
|
|
117
|
-
auth token and validate=true, this is an error condition, so we will return
|
|
118
|
-
a 500.
|
|
119
|
-
- host: manually specify the host name used by Twilio in a number's webhook config
|
|
120
|
-
- protocol: manually specify the protocol used by Twilio in a number's webhook config
|
|
121
|
-
- url: The full URL (with query string) you used to configure the webhook with Twilio - overrides host/protocol options
|
|
122
|
-
|
|
123
|
-
Returns a middleware function.
|
|
124
|
-
|
|
125
|
-
Examples:
|
|
126
|
-
var webhookMiddleware = twilio.webhook();
|
|
127
|
-
var webhookMiddleware = twilio.webhook('asdha9dhjasd'); //init with auth token
|
|
128
|
-
var webhookMiddleware = twilio.webhook({
|
|
129
|
-
validate:false // don't attempt request validation
|
|
130
|
-
});
|
|
131
|
-
var webhookMiddleware = twilio.webhook({
|
|
132
|
-
host: 'hook.twilio.com',
|
|
133
|
-
protocol: 'https'
|
|
134
|
-
});
|
|
135
|
-
*/
|
|
136
|
-
export declare function webhook(opts?: string | WebhookOptions, authToken?: string | WebhookOptions): (req: any, res: any, next: any) => void;
|
|
@@ -1,302 +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.webhook = exports.validateExpressRequest = exports.validateIncomingRequest = exports.validateRequestWithBody = exports.validateBody = exports.validateRequest = exports.getExpectedBodyHash = exports.getExpectedTwilioSignature = void 0;
|
|
7
|
-
const scmp = require("scmp");
|
|
8
|
-
const crypto_1 = __importDefault(require("crypto"));
|
|
9
|
-
const url_1 = __importDefault(require("url"));
|
|
10
|
-
const url_parse_1 = __importDefault(require("url-parse"));
|
|
11
|
-
/**
|
|
12
|
-
* Utility function to construct the URL string, since Node.js url library won't include standard port numbers
|
|
13
|
-
*
|
|
14
|
-
* @param parsedUrl - The parsed url object that Twilio requested on your server
|
|
15
|
-
* @returns URL with standard port number included
|
|
16
|
-
*/
|
|
17
|
-
function buildUrlWithStandardPort(parsedUrl) {
|
|
18
|
-
let url = "";
|
|
19
|
-
const port = parsedUrl.protocol === "https:" ? ":443" : ":80";
|
|
20
|
-
url += parsedUrl.protocol ? parsedUrl.protocol + "//" : "";
|
|
21
|
-
url += parsedUrl.username;
|
|
22
|
-
url += parsedUrl.password ? ":" + parsedUrl.password : "";
|
|
23
|
-
url += parsedUrl.username || parsedUrl.password ? "@" : "";
|
|
24
|
-
url += parsedUrl.host ? parsedUrl.host + port : "";
|
|
25
|
-
url += parsedUrl.pathname + parsedUrl.query + parsedUrl.hash;
|
|
26
|
-
return url;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
Utility function to add a port number to a URL
|
|
30
|
-
|
|
31
|
-
@param parsedUrl - The parsed url object that Twilio requested on your server
|
|
32
|
-
@returns URL with port
|
|
33
|
-
*/
|
|
34
|
-
function addPort(parsedUrl) {
|
|
35
|
-
if (!parsedUrl.port) {
|
|
36
|
-
return buildUrlWithStandardPort(parsedUrl);
|
|
37
|
-
}
|
|
38
|
-
return parsedUrl.toString();
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
Utility function to remove a port number from a URL
|
|
42
|
-
|
|
43
|
-
@param parsedUrl - The parsed url object that Twilio requested on your server
|
|
44
|
-
@returns URL without port
|
|
45
|
-
*/
|
|
46
|
-
function removePort(parsedUrl) {
|
|
47
|
-
parsedUrl.set("port", "");
|
|
48
|
-
return parsedUrl.toString();
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
Utility function to convert request parameter to a string format
|
|
52
|
-
|
|
53
|
-
@param paramName - The request parameter name
|
|
54
|
-
@param paramValue - The request parameter value
|
|
55
|
-
@returns Formatted parameter string
|
|
56
|
-
*/
|
|
57
|
-
function toFormUrlEncodedParam(paramName, paramValue) {
|
|
58
|
-
if (paramValue instanceof Array) {
|
|
59
|
-
return Array.from(new Set(paramValue))
|
|
60
|
-
.sort()
|
|
61
|
-
.map((val) => toFormUrlEncodedParam(paramName, val))
|
|
62
|
-
.reduce((acc, val) => acc + val, "");
|
|
63
|
-
}
|
|
64
|
-
return paramName + paramValue;
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
Utility function to get the expected signature for a given request
|
|
68
|
-
|
|
69
|
-
@param authToken - The auth token, as seen in the Twilio portal
|
|
70
|
-
@param url - The full URL (with query string) you configured to handle
|
|
71
|
-
this request
|
|
72
|
-
@param params - the parameters sent with this request
|
|
73
|
-
@returns signature
|
|
74
|
-
*/
|
|
75
|
-
function getExpectedTwilioSignature(authToken, url, params) {
|
|
76
|
-
if (url.indexOf("bodySHA256") !== -1 && params === null) {
|
|
77
|
-
params = {};
|
|
78
|
-
}
|
|
79
|
-
var data = Object.keys(params)
|
|
80
|
-
.sort()
|
|
81
|
-
.reduce((acc, key) => acc + toFormUrlEncodedParam(key, params[key]), url);
|
|
82
|
-
return crypto_1.default
|
|
83
|
-
.createHmac("sha1", authToken)
|
|
84
|
-
.update(Buffer.from(data, "utf-8"))
|
|
85
|
-
.digest("base64");
|
|
86
|
-
}
|
|
87
|
-
exports.getExpectedTwilioSignature = getExpectedTwilioSignature;
|
|
88
|
-
/**
|
|
89
|
-
Utility function to get the expected body hash for a given request's body
|
|
90
|
-
|
|
91
|
-
@param body - The plain-text body of the request
|
|
92
|
-
*/
|
|
93
|
-
function getExpectedBodyHash(body) {
|
|
94
|
-
return crypto_1.default
|
|
95
|
-
.createHash("sha256")
|
|
96
|
-
.update(Buffer.from(body, "utf-8"))
|
|
97
|
-
.digest("hex");
|
|
98
|
-
}
|
|
99
|
-
exports.getExpectedBodyHash = getExpectedBodyHash;
|
|
100
|
-
/**
|
|
101
|
-
Utility function to validate an incoming request is indeed from Twilio
|
|
102
|
-
|
|
103
|
-
@param authToken - The auth token, as seen in the Twilio portal
|
|
104
|
-
@param twilioHeader - The value of the X-Twilio-Signature header from the request
|
|
105
|
-
@param url - The full URL (with query string) you configured to handle this request
|
|
106
|
-
@param params - the parameters sent with this request
|
|
107
|
-
@returns valid
|
|
108
|
-
*/
|
|
109
|
-
function validateRequest(authToken, twilioHeader, url, params) {
|
|
110
|
-
twilioHeader = twilioHeader || "";
|
|
111
|
-
const urlObject = new url_parse_1.default(url);
|
|
112
|
-
const urlWithPort = addPort(urlObject);
|
|
113
|
-
const urlWithoutPort = removePort(urlObject);
|
|
114
|
-
/*
|
|
115
|
-
* Check signature of the url with and without the port number
|
|
116
|
-
* since signature generation on the back end is inconsistent
|
|
117
|
-
*/
|
|
118
|
-
const signatureWithPort = getExpectedTwilioSignature(authToken, urlWithPort, params);
|
|
119
|
-
const signatureWithoutPort = getExpectedTwilioSignature(authToken, urlWithoutPort, params);
|
|
120
|
-
const validSignatureWithPort = scmp(Buffer.from(twilioHeader), Buffer.from(signatureWithPort));
|
|
121
|
-
const validSignatureWithoutPort = scmp(Buffer.from(twilioHeader), Buffer.from(signatureWithoutPort));
|
|
122
|
-
return validSignatureWithoutPort || validSignatureWithPort;
|
|
123
|
-
}
|
|
124
|
-
exports.validateRequest = validateRequest;
|
|
125
|
-
function validateBody(body, bodyHash) {
|
|
126
|
-
var expectedHash = getExpectedBodyHash(body);
|
|
127
|
-
return scmp(Buffer.from(bodyHash), Buffer.from(expectedHash));
|
|
128
|
-
}
|
|
129
|
-
exports.validateBody = validateBody;
|
|
130
|
-
/**
|
|
131
|
-
Utility function to validate an incoming request is indeed from Twilio. This also validates
|
|
132
|
-
the request body against the bodySHA256 post parameter.
|
|
133
|
-
|
|
134
|
-
@param authToken - The auth token, as seen in the Twilio portal
|
|
135
|
-
@param twilioHeader - The value of the X-Twilio-Signature header from the request
|
|
136
|
-
@param url - The full URL (with query string) you configured to handle this request
|
|
137
|
-
@param body - The body of the request
|
|
138
|
-
@returns valid
|
|
139
|
-
*/
|
|
140
|
-
function validateRequestWithBody(authToken, twilioHeader, url, body) {
|
|
141
|
-
const urlObject = new url_parse_1.default(url, true);
|
|
142
|
-
return (validateRequest(authToken, twilioHeader, url, {}) &&
|
|
143
|
-
validateBody(body, urlObject.query.bodySHA256 || ""));
|
|
144
|
-
}
|
|
145
|
-
exports.validateRequestWithBody = validateRequestWithBody;
|
|
146
|
-
/**
|
|
147
|
-
Utility function to validate an incoming request is indeed from Twilio.
|
|
148
|
-
adapted from https://github.com/crabasa/twiliosig
|
|
149
|
-
|
|
150
|
-
@param request - A request object (based on Express implementation http://expressjs.com/api.html#req.params)
|
|
151
|
-
@param authToken - The auth token, as seen in the Twilio portal
|
|
152
|
-
@param opts - options for request validation:
|
|
153
|
-
-> url: The full URL (with query string) you used to configure the webhook with Twilio - overrides host/protocol options
|
|
154
|
-
-> host: manually specify the host name used by Twilio in a number's webhook config
|
|
155
|
-
-> protocol: manually specify the protocol used by Twilio in a number's webhook config
|
|
156
|
-
*/
|
|
157
|
-
function validateIncomingRequest(request, authToken, opts) {
|
|
158
|
-
var options = opts || {};
|
|
159
|
-
var webhookUrl;
|
|
160
|
-
if (options.url) {
|
|
161
|
-
// Let the user specify the full URL
|
|
162
|
-
webhookUrl = options.url;
|
|
163
|
-
}
|
|
164
|
-
else {
|
|
165
|
-
// Use configured host/protocol, or infer based on request
|
|
166
|
-
var protocol = options.protocol || request.protocol;
|
|
167
|
-
var host = options.host || request.headers.host;
|
|
168
|
-
webhookUrl = url_1.default.format({
|
|
169
|
-
protocol: protocol,
|
|
170
|
-
host: host,
|
|
171
|
-
pathname: request.originalUrl,
|
|
172
|
-
});
|
|
173
|
-
if (request.originalUrl.search(/\?/) >= 0) {
|
|
174
|
-
webhookUrl = webhookUrl.replace(/%3F/g, "?");
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
if (webhookUrl.indexOf("bodySHA256") > 0) {
|
|
178
|
-
return validateRequestWithBody(authToken, request.header("X-Twilio-Signature") || "", webhookUrl, request.rawBody || "{}");
|
|
179
|
-
}
|
|
180
|
-
else {
|
|
181
|
-
return validateRequest(authToken, request.header("X-Twilio-Signature") || "", webhookUrl, request.body || {});
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
exports.validateIncomingRequest = validateIncomingRequest;
|
|
185
|
-
function validateExpressRequest(request, authToken, opts) {
|
|
186
|
-
return validateIncomingRequest(request, authToken, opts);
|
|
187
|
-
}
|
|
188
|
-
exports.validateExpressRequest = validateExpressRequest;
|
|
189
|
-
/**
|
|
190
|
-
Express middleware to accompany a Twilio webhook. Provides Twilio
|
|
191
|
-
request validation, and makes the response a little more friendly for our
|
|
192
|
-
TwiML generator. Request validation requires the express.urlencoded middleware
|
|
193
|
-
to have been applied (e.g. app.use(express.urlencoded()); in your app config).
|
|
194
|
-
|
|
195
|
-
Options:
|
|
196
|
-
- validate: {Boolean} whether or not the middleware should validate the request
|
|
197
|
-
came from Twilio. Default true. If the request does not originate from
|
|
198
|
-
Twilio, we will return a text body and a 403. If there is no configured
|
|
199
|
-
auth token and validate=true, this is an error condition, so we will return
|
|
200
|
-
a 500.
|
|
201
|
-
- host: manually specify the host name used by Twilio in a number's webhook config
|
|
202
|
-
- protocol: manually specify the protocol used by Twilio in a number's webhook config
|
|
203
|
-
- url: The full URL (with query string) you used to configure the webhook with Twilio - overrides host/protocol options
|
|
204
|
-
|
|
205
|
-
Returns a middleware function.
|
|
206
|
-
|
|
207
|
-
Examples:
|
|
208
|
-
var webhookMiddleware = twilio.webhook();
|
|
209
|
-
var webhookMiddleware = twilio.webhook('asdha9dhjasd'); //init with auth token
|
|
210
|
-
var webhookMiddleware = twilio.webhook({
|
|
211
|
-
validate:false // don't attempt request validation
|
|
212
|
-
});
|
|
213
|
-
var webhookMiddleware = twilio.webhook({
|
|
214
|
-
host: 'hook.twilio.com',
|
|
215
|
-
protocol: 'https'
|
|
216
|
-
});
|
|
217
|
-
*/
|
|
218
|
-
function webhook(opts, authToken) {
|
|
219
|
-
let token;
|
|
220
|
-
let options = undefined;
|
|
221
|
-
// Narrowing the args
|
|
222
|
-
if (opts) {
|
|
223
|
-
if (typeof opts === "string") {
|
|
224
|
-
token = opts;
|
|
225
|
-
}
|
|
226
|
-
if (typeof opts === "object") {
|
|
227
|
-
options = opts;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
if (authToken) {
|
|
231
|
-
if (typeof authToken === "string") {
|
|
232
|
-
token = authToken;
|
|
233
|
-
}
|
|
234
|
-
if (typeof authToken === "object") {
|
|
235
|
-
options = authToken;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
if (!options) {
|
|
239
|
-
options = {
|
|
240
|
-
validate: true,
|
|
241
|
-
};
|
|
242
|
-
}
|
|
243
|
-
// Process arguments
|
|
244
|
-
var tokenString;
|
|
245
|
-
for (var i = 0, l = arguments.length; i < l; i++) {
|
|
246
|
-
var arg = arguments[i];
|
|
247
|
-
if (typeof arg === "string") {
|
|
248
|
-
tokenString = arg;
|
|
249
|
-
}
|
|
250
|
-
else {
|
|
251
|
-
options = Object.assign(options || {}, arg);
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
// set auth token from input or environment variable
|
|
255
|
-
if (options) {
|
|
256
|
-
options.authToken = tokenString
|
|
257
|
-
? tokenString
|
|
258
|
-
: process.env.TWILIO_AUTH_TOKEN;
|
|
259
|
-
}
|
|
260
|
-
// Create middleware function
|
|
261
|
-
return function hook(request, response, next) {
|
|
262
|
-
// Do validation if requested
|
|
263
|
-
if (options?.validate) {
|
|
264
|
-
// Check if the 'X-Twilio-Signature' header exists or not
|
|
265
|
-
if (!request.header("X-Twilio-Signature")) {
|
|
266
|
-
return response
|
|
267
|
-
.type("text/plain")
|
|
268
|
-
.status(400)
|
|
269
|
-
.send("No signature header error - X-Twilio-Signature header does not exist, maybe this request is not coming from Twilio.");
|
|
270
|
-
}
|
|
271
|
-
// Check for a valid auth token
|
|
272
|
-
if (!options?.authToken) {
|
|
273
|
-
console.error("[Twilio]: Error - Twilio auth token is required for webhook request validation.");
|
|
274
|
-
response
|
|
275
|
-
.type("text/plain")
|
|
276
|
-
.status(500)
|
|
277
|
-
.send("Webhook Error - we attempted to validate this request without first configuring our auth token.");
|
|
278
|
-
}
|
|
279
|
-
else {
|
|
280
|
-
// Check that the request originated from Twilio
|
|
281
|
-
var valid = validateExpressRequest(request, options?.authToken, {
|
|
282
|
-
url: options?.url,
|
|
283
|
-
host: options?.host,
|
|
284
|
-
protocol: options?.protocol,
|
|
285
|
-
});
|
|
286
|
-
if (valid) {
|
|
287
|
-
next();
|
|
288
|
-
}
|
|
289
|
-
else {
|
|
290
|
-
return response
|
|
291
|
-
.type("text/plain")
|
|
292
|
-
.status(403)
|
|
293
|
-
.send("Twilio Request Validation Failed.");
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
else {
|
|
298
|
-
next();
|
|
299
|
-
}
|
|
300
|
-
};
|
|
301
|
-
}
|
|
302
|
-
exports.webhook = webhook;
|
package/dist/package.json
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "twilio",
|
|
3
|
-
"description": "A Twilio helper library",
|
|
4
|
-
"version": "4.0.0",
|
|
5
|
-
"author": "API Team <api@twilio.com>",
|
|
6
|
-
"contributors": [
|
|
7
|
-
{
|
|
8
|
-
"name": "twilio-node contributors",
|
|
9
|
-
"url": "https://github.com/twilio/twilio-node/graphs/contributors"
|
|
10
|
-
}
|
|
11
|
-
],
|
|
12
|
-
"keywords": [
|
|
13
|
-
"twilio",
|
|
14
|
-
"sms",
|
|
15
|
-
"rest",
|
|
16
|
-
"api"
|
|
17
|
-
],
|
|
18
|
-
"repository": {
|
|
19
|
-
"type": "git",
|
|
20
|
-
"url": "https://github.com/twilio/twilio-node.git"
|
|
21
|
-
},
|
|
22
|
-
"dependencies": {
|
|
23
|
-
"axios": "^0.26.1",
|
|
24
|
-
"dayjs": "^1.8.29",
|
|
25
|
-
"https-proxy-agent": "^5.0.0",
|
|
26
|
-
"jsonwebtoken": "^9.0.0",
|
|
27
|
-
"qs": "^6.9.4",
|
|
28
|
-
"scmp": "^2.1.0",
|
|
29
|
-
"url-parse": "^1.5.9",
|
|
30
|
-
"xmlbuilder": "^13.0.2"
|
|
31
|
-
},
|
|
32
|
-
"devDependencies": {
|
|
33
|
-
"@babel/preset-env": "^7.20.2",
|
|
34
|
-
"@babel/preset-typescript": "^7.18.6",
|
|
35
|
-
"@types/jest": "^29.2.5",
|
|
36
|
-
"@types/jsonwebtoken": "^9.0.0",
|
|
37
|
-
"@types/node": "^18.11.18",
|
|
38
|
-
"@types/qs": "^6.9.7",
|
|
39
|
-
"@types/url-parse": "^1.4.8",
|
|
40
|
-
"babel-plugin-replace-ts-export-assignment": "^0.0.2",
|
|
41
|
-
"eslint": "^8.31.0",
|
|
42
|
-
"express": "^4.17.1",
|
|
43
|
-
"jest": "^29.3.1",
|
|
44
|
-
"jshint": "^2.11.0",
|
|
45
|
-
"localtunnel": "^2.0.2",
|
|
46
|
-
"mock-fs": "^5.2.0",
|
|
47
|
-
"nock": "^13.2.9",
|
|
48
|
-
"node-mocks-http": "^1.8.1",
|
|
49
|
-
"prettier": "^2.7.1",
|
|
50
|
-
"ts-jest": "^29.0.5",
|
|
51
|
-
"typescript": "^4.7.2",
|
|
52
|
-
"typedoc": "^0.23.21"
|
|
53
|
-
},
|
|
54
|
-
"scripts": {
|
|
55
|
-
"test": "npm run test:javascript && npm run test:typescript",
|
|
56
|
-
"test:javascript": "jest spec/* --coverage --detectOpenHandles",
|
|
57
|
-
"test:typescript": "tsc --noEmit",
|
|
58
|
-
"jshint": "jshint lib/rest/** lib/base/** lib/http/**",
|
|
59
|
-
"jscs": "eslint lib/base/**/**.js lib/http/**/**.js --fix",
|
|
60
|
-
"prepublish": "npm run build",
|
|
61
|
-
"build": "tsc && cp package.json dist/",
|
|
62
|
-
"check": "npm run jshint && npm run jscs",
|
|
63
|
-
"ci": "npm run test && npm run nsp && npm run prettier-check",
|
|
64
|
-
"nsp": "npm audit --production",
|
|
65
|
-
"prettier": "prettier --write .",
|
|
66
|
-
"prettier-check": "prettier --check .",
|
|
67
|
-
"cluster": "jest ./cluster_test.spec.ts --coverage",
|
|
68
|
-
"webhook-test": "jest ./webhook_cluster_test.spec.ts --coverage",
|
|
69
|
-
"typedoc": "typedoc --entryPointStrategy expand lib --out docs --logLevel Error"
|
|
70
|
-
},
|
|
71
|
-
"files": [
|
|
72
|
-
"dist"
|
|
73
|
-
],
|
|
74
|
-
"main": "./dist/lib",
|
|
75
|
-
"types": "./dist/index.d.ts",
|
|
76
|
-
"engines": {
|
|
77
|
-
"node": ">=14.0"
|
|
78
|
-
},
|
|
79
|
-
"license": "MIT"
|
|
80
|
-
}
|