twilio 5.10.7 → 5.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1379) hide show
  1. package/package.json +1 -1
  2. package/lib/auth_strategy/AuthStrategy.d.ts +0 -7
  3. package/lib/auth_strategy/AuthStrategy.js +0 -11
  4. package/lib/auth_strategy/BasicAuthStrategy.d.ts +0 -8
  5. package/lib/auth_strategy/BasicAuthStrategy.js +0 -21
  6. package/lib/auth_strategy/NoAuthStrategy.d.ts +0 -6
  7. package/lib/auth_strategy/NoAuthStrategy.js +0 -18
  8. package/lib/auth_strategy/TokenAuthStrategy.d.ts +0 -16
  9. package/lib/auth_strategy/TokenAuthStrategy.js +0 -60
  10. package/lib/base/BaseTwilio.d.ts +0 -122
  11. package/lib/base/BaseTwilio.js +0 -254
  12. package/lib/base/Domain.d.ts +0 -29
  13. package/lib/base/Domain.js +0 -53
  14. package/lib/base/Page.d.ts +0 -104
  15. package/lib/base/Page.js +0 -195
  16. package/lib/base/RequestClient.d.ts +0 -186
  17. package/lib/base/RequestClient.js +0 -281
  18. package/lib/base/RestException.d.ts +0 -16
  19. package/lib/base/RestException.js +0 -33
  20. package/lib/base/ValidationClient.d.ts +0 -10
  21. package/lib/base/ValidationClient.js +0 -2
  22. package/lib/base/Version.d.ts +0 -129
  23. package/lib/base/Version.js +0 -336
  24. package/lib/base/deserialize.d.ts +0 -41
  25. package/lib/base/deserialize.js +0 -75
  26. package/lib/base/serialize.d.ts +0 -53
  27. package/lib/base/serialize.js +0 -121
  28. package/lib/base/utility.d.ts +0 -2
  29. package/lib/base/utility.js +0 -13
  30. package/lib/base/values.d.ts +0 -10
  31. package/lib/base/values.js +0 -15
  32. package/lib/credential_provider/ClientCredentialProvider.d.ts +0 -22
  33. package/lib/credential_provider/ClientCredentialProvider.js +0 -50
  34. package/lib/credential_provider/CredentialProvider.d.ts +0 -7
  35. package/lib/credential_provider/CredentialProvider.js +0 -11
  36. package/lib/credential_provider/NoAuthCredentialProvider.d.ts +0 -9
  37. package/lib/credential_provider/NoAuthCredentialProvider.js +0 -19
  38. package/lib/credential_provider/OrgsCredentialProvider.d.ts +0 -22
  39. package/lib/credential_provider/OrgsCredentialProvider.js +0 -50
  40. package/lib/http/bearer_token/ApiTokenManager.d.ts +0 -8
  41. package/lib/http/bearer_token/ApiTokenManager.js +0 -33
  42. package/lib/http/bearer_token/OrgsTokenManager.d.ts +0 -8
  43. package/lib/http/bearer_token/OrgsTokenManager.js +0 -33
  44. package/lib/http/bearer_token/TokenManager.d.ts +0 -3
  45. package/lib/http/bearer_token/TokenManager.js +0 -5
  46. package/lib/http/request.d.ts +0 -25
  47. package/lib/http/request.js +0 -85
  48. package/lib/http/response.d.ts +0 -7
  49. package/lib/http/response.js +0 -13
  50. package/lib/index.d.ts +0 -70
  51. package/lib/index.js +0 -90
  52. package/lib/interfaces.d.ts +0 -94
  53. package/lib/interfaces.js +0 -2
  54. package/lib/jwt/AccessToken.d.ts +0 -186
  55. package/lib/jwt/AccessToken.js +0 -256
  56. package/lib/jwt/ClientCapability.d.ts +0 -61
  57. package/lib/jwt/ClientCapability.js +0 -122
  58. package/lib/jwt/taskrouter/TaskRouterCapability.d.ts +0 -74
  59. package/lib/jwt/taskrouter/TaskRouterCapability.js +0 -101
  60. package/lib/jwt/taskrouter/util.d.ts +0 -66
  61. package/lib/jwt/taskrouter/util.js +0 -168
  62. package/lib/jwt/validation/RequestCanonicalizer.d.ts +0 -20
  63. package/lib/jwt/validation/RequestCanonicalizer.js +0 -97
  64. package/lib/jwt/validation/ValidationToken.d.ts +0 -45
  65. package/lib/jwt/validation/ValidationToken.js +0 -121
  66. package/lib/rest/Accounts.d.ts +0 -19
  67. package/lib/rest/Accounts.js +0 -29
  68. package/lib/rest/AccountsBase.d.ts +0 -13
  69. package/lib/rest/AccountsBase.js +0 -31
  70. package/lib/rest/Api.d.ts +0 -127
  71. package/lib/rest/Api.js +0 -182
  72. package/lib/rest/ApiBase.d.ts +0 -13
  73. package/lib/rest/ApiBase.js +0 -31
  74. package/lib/rest/Assistants.d.ts +0 -4
  75. package/lib/rest/Assistants.js +0 -8
  76. package/lib/rest/AssistantsBase.d.ts +0 -13
  77. package/lib/rest/AssistantsBase.js +0 -31
  78. package/lib/rest/Bulkexports.d.ts +0 -14
  79. package/lib/rest/Bulkexports.js +0 -22
  80. package/lib/rest/BulkexportsBase.d.ts +0 -13
  81. package/lib/rest/BulkexportsBase.js +0 -31
  82. package/lib/rest/Chat.d.ts +0 -19
  83. package/lib/rest/Chat.js +0 -29
  84. package/lib/rest/ChatBase.d.ts +0 -19
  85. package/lib/rest/ChatBase.js +0 -41
  86. package/lib/rest/Content.d.ts +0 -9
  87. package/lib/rest/Content.js +0 -15
  88. package/lib/rest/ContentBase.d.ts +0 -16
  89. package/lib/rest/ContentBase.js +0 -36
  90. package/lib/rest/Conversations.d.ts +0 -44
  91. package/lib/rest/Conversations.js +0 -64
  92. package/lib/rest/ConversationsBase.d.ts +0 -13
  93. package/lib/rest/ConversationsBase.js +0 -31
  94. package/lib/rest/Events.d.ts +0 -24
  95. package/lib/rest/Events.js +0 -36
  96. package/lib/rest/EventsBase.d.ts +0 -13
  97. package/lib/rest/EventsBase.js +0 -31
  98. package/lib/rest/FlexApi.d.ts +0 -39
  99. package/lib/rest/FlexApi.js +0 -57
  100. package/lib/rest/FlexApiBase.d.ts +0 -16
  101. package/lib/rest/FlexApiBase.js +0 -36
  102. package/lib/rest/FrontlineApi.d.ts +0 -9
  103. package/lib/rest/FrontlineApi.js +0 -15
  104. package/lib/rest/FrontlineApiBase.d.ts +0 -13
  105. package/lib/rest/FrontlineApiBase.js +0 -31
  106. package/lib/rest/Iam.d.ts +0 -4
  107. package/lib/rest/Iam.js +0 -8
  108. package/lib/rest/IamBase.d.ts +0 -13
  109. package/lib/rest/IamBase.js +0 -31
  110. package/lib/rest/Insights.d.ts +0 -29
  111. package/lib/rest/Insights.js +0 -43
  112. package/lib/rest/InsightsBase.d.ts +0 -13
  113. package/lib/rest/InsightsBase.js +0 -31
  114. package/lib/rest/Intelligence.d.ts +0 -4
  115. package/lib/rest/Intelligence.js +0 -8
  116. package/lib/rest/IntelligenceBase.d.ts +0 -13
  117. package/lib/rest/IntelligenceBase.js +0 -31
  118. package/lib/rest/IpMessaging.d.ts +0 -14
  119. package/lib/rest/IpMessaging.js +0 -22
  120. package/lib/rest/IpMessagingBase.d.ts +0 -16
  121. package/lib/rest/IpMessagingBase.js +0 -36
  122. package/lib/rest/Knowledge.d.ts +0 -4
  123. package/lib/rest/Knowledge.js +0 -8
  124. package/lib/rest/KnowledgeBase.d.ts +0 -13
  125. package/lib/rest/KnowledgeBase.js +0 -31
  126. package/lib/rest/Lookups.d.ts +0 -9
  127. package/lib/rest/Lookups.js +0 -15
  128. package/lib/rest/LookupsBase.d.ts +0 -16
  129. package/lib/rest/LookupsBase.js +0 -36
  130. package/lib/rest/Marketplace.d.ts +0 -4
  131. package/lib/rest/Marketplace.js +0 -8
  132. package/lib/rest/MarketplaceBase.d.ts +0 -13
  133. package/lib/rest/MarketplaceBase.js +0 -31
  134. package/lib/rest/Messaging.d.ts +0 -39
  135. package/lib/rest/Messaging.js +0 -57
  136. package/lib/rest/MessagingBase.d.ts +0 -16
  137. package/lib/rest/MessagingBase.js +0 -36
  138. package/lib/rest/Monitor.d.ts +0 -14
  139. package/lib/rest/Monitor.js +0 -22
  140. package/lib/rest/MonitorBase.d.ts +0 -13
  141. package/lib/rest/MonitorBase.js +0 -31
  142. package/lib/rest/Notify.d.ts +0 -14
  143. package/lib/rest/Notify.js +0 -22
  144. package/lib/rest/NotifyBase.d.ts +0 -13
  145. package/lib/rest/NotifyBase.js +0 -31
  146. package/lib/rest/Numbers.d.ts +0 -9
  147. package/lib/rest/Numbers.js +0 -15
  148. package/lib/rest/NumbersBase.d.ts +0 -19
  149. package/lib/rest/NumbersBase.js +0 -41
  150. package/lib/rest/Oauth.d.ts +0 -4
  151. package/lib/rest/Oauth.js +0 -8
  152. package/lib/rest/OauthBase.d.ts +0 -16
  153. package/lib/rest/OauthBase.js +0 -36
  154. package/lib/rest/Preview.d.ts +0 -39
  155. package/lib/rest/Preview.js +0 -57
  156. package/lib/rest/PreviewBase.d.ts +0 -19
  157. package/lib/rest/PreviewBase.js +0 -41
  158. package/lib/rest/PreviewIam.d.ts +0 -18
  159. package/lib/rest/PreviewIam.js +0 -29
  160. package/lib/rest/PreviewIamBase.d.ts +0 -13
  161. package/lib/rest/PreviewIamBase.js +0 -31
  162. package/lib/rest/Pricing.d.ts +0 -29
  163. package/lib/rest/Pricing.js +0 -43
  164. package/lib/rest/PricingBase.d.ts +0 -16
  165. package/lib/rest/PricingBase.js +0 -36
  166. package/lib/rest/Proxy.d.ts +0 -9
  167. package/lib/rest/Proxy.js +0 -15
  168. package/lib/rest/ProxyBase.d.ts +0 -13
  169. package/lib/rest/ProxyBase.js +0 -31
  170. package/lib/rest/Routes.d.ts +0 -19
  171. package/lib/rest/Routes.js +0 -29
  172. package/lib/rest/RoutesBase.d.ts +0 -13
  173. package/lib/rest/RoutesBase.js +0 -31
  174. package/lib/rest/Serverless.d.ts +0 -9
  175. package/lib/rest/Serverless.js +0 -15
  176. package/lib/rest/ServerlessBase.d.ts +0 -13
  177. package/lib/rest/ServerlessBase.js +0 -31
  178. package/lib/rest/Studio.d.ts +0 -14
  179. package/lib/rest/Studio.js +0 -22
  180. package/lib/rest/StudioBase.d.ts +0 -16
  181. package/lib/rest/StudioBase.js +0 -36
  182. package/lib/rest/Supersim.d.ts +0 -49
  183. package/lib/rest/Supersim.js +0 -71
  184. package/lib/rest/SupersimBase.d.ts +0 -13
  185. package/lib/rest/SupersimBase.js +0 -31
  186. package/lib/rest/Sync.d.ts +0 -9
  187. package/lib/rest/Sync.js +0 -15
  188. package/lib/rest/SyncBase.d.ts +0 -13
  189. package/lib/rest/SyncBase.js +0 -31
  190. package/lib/rest/Taskrouter.d.ts +0 -9
  191. package/lib/rest/Taskrouter.js +0 -15
  192. package/lib/rest/TaskrouterBase.d.ts +0 -13
  193. package/lib/rest/TaskrouterBase.js +0 -31
  194. package/lib/rest/Trunking.d.ts +0 -9
  195. package/lib/rest/Trunking.js +0 -15
  196. package/lib/rest/TrunkingBase.d.ts +0 -13
  197. package/lib/rest/TrunkingBase.js +0 -31
  198. package/lib/rest/Trusthub.d.ts +0 -39
  199. package/lib/rest/Trusthub.js +0 -57
  200. package/lib/rest/TrusthubBase.d.ts +0 -13
  201. package/lib/rest/TrusthubBase.js +0 -31
  202. package/lib/rest/Twilio.d.ts +0 -287
  203. package/lib/rest/Twilio.js +0 -335
  204. package/lib/rest/Verify.d.ts +0 -29
  205. package/lib/rest/Verify.js +0 -43
  206. package/lib/rest/VerifyBase.d.ts +0 -13
  207. package/lib/rest/VerifyBase.js +0 -31
  208. package/lib/rest/Video.d.ts +0 -34
  209. package/lib/rest/Video.js +0 -50
  210. package/lib/rest/VideoBase.d.ts +0 -13
  211. package/lib/rest/VideoBase.js +0 -31
  212. package/lib/rest/Voice.d.ts +0 -34
  213. package/lib/rest/Voice.js +0 -50
  214. package/lib/rest/VoiceBase.d.ts +0 -13
  215. package/lib/rest/VoiceBase.js +0 -31
  216. package/lib/rest/Wireless.d.ts +0 -24
  217. package/lib/rest/Wireless.js +0 -36
  218. package/lib/rest/WirelessBase.d.ts +0 -13
  219. package/lib/rest/WirelessBase.js +0 -31
  220. package/lib/rest/accounts/V1.d.ts +0 -45
  221. package/lib/rest/accounts/V1.js +0 -76
  222. package/lib/rest/accounts/v1/authTokenPromotion.d.ts +0 -104
  223. package/lib/rest/accounts/v1/authTokenPromotion.js +0 -112
  224. package/lib/rest/accounts/v1/bulkConsents.d.ts +0 -52
  225. package/lib/rest/accounts/v1/bulkConsents.js +0 -75
  226. package/lib/rest/accounts/v1/bulkContacts.d.ts +0 -52
  227. package/lib/rest/accounts/v1/bulkContacts.js +0 -75
  228. package/lib/rest/accounts/v1/credential/aws.d.ts +0 -295
  229. package/lib/rest/accounts/v1/credential/aws.js +0 -259
  230. package/lib/rest/accounts/v1/credential/publicKey.d.ts +0 -295
  231. package/lib/rest/accounts/v1/credential/publicKey.js +0 -260
  232. package/lib/rest/accounts/v1/credential.d.ts +0 -21
  233. package/lib/rest/accounts/v1/credential.js +0 -50
  234. package/lib/rest/accounts/v1/messagingGeopermissions.d.ts +0 -76
  235. package/lib/rest/accounts/v1/messagingGeopermissions.js +0 -98
  236. package/lib/rest/accounts/v1/safelist.d.ts +0 -106
  237. package/lib/rest/accounts/v1/safelist.js +0 -121
  238. package/lib/rest/accounts/v1/secondaryAuthToken.d.ts +0 -121
  239. package/lib/rest/accounts/v1/secondaryAuthToken.js +0 -133
  240. package/lib/rest/api/V2010.d.ts +0 -20
  241. package/lib/rest/api/V2010.js +0 -42
  242. package/lib/rest/api/v2010/account/address/dependentPhoneNumber.d.ts +0 -295
  243. package/lib/rest/api/v2010/account/address/dependentPhoneNumber.js +0 -176
  244. package/lib/rest/api/v2010/account/address.d.ts +0 -419
  245. package/lib/rest/api/v2010/account/address.js +0 -348
  246. package/lib/rest/api/v2010/account/application.d.ts +0 -457
  247. package/lib/rest/api/v2010/account/application.js +0 -357
  248. package/lib/rest/api/v2010/account/authorizedConnectApp.d.ts +0 -234
  249. package/lib/rest/api/v2010/account/authorizedConnectApp.js +0 -198
  250. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/local.d.ts +0 -321
  251. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/local.js +0 -186
  252. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/machineToMachine.d.ts +0 -321
  253. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/machineToMachine.js +0 -186
  254. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/mobile.d.ts +0 -321
  255. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/mobile.js +0 -186
  256. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/national.d.ts +0 -321
  257. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/national.js +0 -186
  258. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/sharedCost.d.ts +0 -321
  259. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/sharedCost.js +0 -186
  260. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/tollFree.d.ts +0 -321
  261. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/tollFree.js +0 -186
  262. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/voip.d.ts +0 -321
  263. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/voip.js +0 -186
  264. package/lib/rest/api/v2010/account/availablePhoneNumberCountry.d.ts +0 -268
  265. package/lib/rest/api/v2010/account/availablePhoneNumberCountry.js +0 -283
  266. package/lib/rest/api/v2010/account/balance.d.ts +0 -57
  267. package/lib/rest/api/v2010/account/balance.js +0 -73
  268. package/lib/rest/api/v2010/account/call/event.d.ts +0 -149
  269. package/lib/rest/api/v2010/account/call/event.js +0 -128
  270. package/lib/rest/api/v2010/account/call/notification.d.ts +0 -310
  271. package/lib/rest/api/v2010/account/call/notification.js +0 -227
  272. package/lib/rest/api/v2010/account/call/payment.d.ts +0 -196
  273. package/lib/rest/api/v2010/account/call/payment.js +0 -200
  274. package/lib/rest/api/v2010/account/call/recording.d.ts +0 -391
  275. package/lib/rest/api/v2010/account/call/recording.js +0 -311
  276. package/lib/rest/api/v2010/account/call/siprec.d.ts +0 -564
  277. package/lib/rest/api/v2010/account/call/siprec.js +0 -564
  278. package/lib/rest/api/v2010/account/call/stream.d.ts +0 -556
  279. package/lib/rest/api/v2010/account/call/stream.js +0 -562
  280. package/lib/rest/api/v2010/account/call/transcription.d.ts +0 -183
  281. package/lib/rest/api/v2010/account/call/transcription.js +0 -186
  282. package/lib/rest/api/v2010/account/call/userDefinedMessage.d.ts +0 -74
  283. package/lib/rest/api/v2010/account/call/userDefinedMessage.js +0 -90
  284. package/lib/rest/api/v2010/account/call/userDefinedMessageSubscription.d.ts +0 -129
  285. package/lib/rest/api/v2010/account/call/userDefinedMessageSubscription.js +0 -153
  286. package/lib/rest/api/v2010/account/call.d.ts +0 -632
  287. package/lib/rest/api/v2010/account/call.js +0 -530
  288. package/lib/rest/api/v2010/account/conference/participant.d.ts +0 -486
  289. package/lib/rest/api/v2010/account/conference/participant.js +0 -423
  290. package/lib/rest/api/v2010/account/conference/recording.d.ts +0 -351
  291. package/lib/rest/api/v2010/account/conference/recording.js +0 -274
  292. package/lib/rest/api/v2010/account/conference.d.ts +0 -367
  293. package/lib/rest/api/v2010/account/conference.js +0 -277
  294. package/lib/rest/api/v2010/account/connectApp.d.ts +0 -325
  295. package/lib/rest/api/v2010/account/connectApp.js +0 -264
  296. package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn/assignedAddOnExtension.d.ts +0 -240
  297. package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn/assignedAddOnExtension.js +0 -214
  298. package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.d.ts +0 -291
  299. package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.js +0 -264
  300. package/lib/rest/api/v2010/account/incomingPhoneNumber/local.d.ts +0 -420
  301. package/lib/rest/api/v2010/account/incomingPhoneNumber/local.js +0 -263
  302. package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.d.ts +0 -420
  303. package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.js +0 -263
  304. package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.d.ts +0 -420
  305. package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.js +0 -263
  306. package/lib/rest/api/v2010/account/incomingPhoneNumber.d.ts +0 -596
  307. package/lib/rest/api/v2010/account/incomingPhoneNumber.js +0 -458
  308. package/lib/rest/api/v2010/account/key.d.ts +0 -265
  309. package/lib/rest/api/v2010/account/key.js +0 -236
  310. package/lib/rest/api/v2010/account/message/feedback.d.ts +0 -93
  311. package/lib/rest/api/v2010/account/message/feedback.js +0 -94
  312. package/lib/rest/api/v2010/account/message/media.d.ts +0 -261
  313. package/lib/rest/api/v2010/account/message/media.js +0 -226
  314. package/lib/rest/api/v2010/account/message.d.ts +0 -491
  315. package/lib/rest/api/v2010/account/message.js +0 -374
  316. package/lib/rest/api/v2010/account/newKey.d.ts +0 -85
  317. package/lib/rest/api/v2010/account/newKey.js +0 -89
  318. package/lib/rest/api/v2010/account/newSigningKey.d.ts +0 -85
  319. package/lib/rest/api/v2010/account/newSigningKey.js +0 -89
  320. package/lib/rest/api/v2010/account/notification.d.ts +0 -308
  321. package/lib/rest/api/v2010/account/notification.js +0 -221
  322. package/lib/rest/api/v2010/account/outgoingCallerId.d.ts +0 -295
  323. package/lib/rest/api/v2010/account/outgoingCallerId.js +0 -246
  324. package/lib/rest/api/v2010/account/queue/member.d.ts +0 -248
  325. package/lib/rest/api/v2010/account/queue/member.js +0 -225
  326. package/lib/rest/api/v2010/account/queue.d.ts +0 -323
  327. package/lib/rest/api/v2010/account/queue.js +0 -286
  328. package/lib/rest/api/v2010/account/recording/addOnResult/payload/data.d.ts +0 -88
  329. package/lib/rest/api/v2010/account/recording/addOnResult/payload/data.js +0 -130
  330. package/lib/rest/api/v2010/account/recording/addOnResult/payload.d.ts +0 -277
  331. package/lib/rest/api/v2010/account/recording/addOnResult/payload.js +0 -252
  332. package/lib/rest/api/v2010/account/recording/addOnResult.d.ts +0 -270
  333. package/lib/rest/api/v2010/account/recording/addOnResult.js +0 -239
  334. package/lib/rest/api/v2010/account/recording/transcription.d.ts +0 -280
  335. package/lib/rest/api/v2010/account/recording/transcription.js +0 -232
  336. package/lib/rest/api/v2010/account/recording.d.ts +0 -392
  337. package/lib/rest/api/v2010/account/recording.js +0 -280
  338. package/lib/rest/api/v2010/account/shortCode.d.ts +0 -318
  339. package/lib/rest/api/v2010/account/shortCode.js +0 -245
  340. package/lib/rest/api/v2010/account/signingKey.d.ts +0 -253
  341. package/lib/rest/api/v2010/account/signingKey.js +0 -236
  342. package/lib/rest/api/v2010/account/sip/credentialList/credential.d.ts +0 -303
  343. package/lib/rest/api/v2010/account/sip/credentialList/credential.js +0 -274
  344. package/lib/rest/api/v2010/account/sip/credentialList.d.ts +0 -291
  345. package/lib/rest/api/v2010/account/sip/credentialList.js +0 -277
  346. package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsCredentialListMapping.d.ts +0 -247
  347. package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsCredentialListMapping.js +0 -239
  348. package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsIpAccessControlListMapping.d.ts +0 -247
  349. package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsIpAccessControlListMapping.js +0 -239
  350. package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls.d.ts +0 -23
  351. package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls.js +0 -59
  352. package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations/authRegistrationsCredentialListMapping.d.ts +0 -247
  353. package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations/authRegistrationsCredentialListMapping.js +0 -239
  354. package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations.d.ts +0 -20
  355. package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations.js +0 -49
  356. package/lib/rest/api/v2010/account/sip/domain/authTypes.d.ts +0 -23
  357. package/lib/rest/api/v2010/account/sip/domain/authTypes.js +0 -57
  358. package/lib/rest/api/v2010/account/sip/domain/credentialListMapping.d.ts +0 -259
  359. package/lib/rest/api/v2010/account/sip/domain/credentialListMapping.js +0 -243
  360. package/lib/rest/api/v2010/account/sip/domain/ipAccessControlListMapping.d.ts +0 -259
  361. package/lib/rest/api/v2010/account/sip/domain/ipAccessControlListMapping.js +0 -243
  362. package/lib/rest/api/v2010/account/sip/domain.d.ts +0 -455
  363. package/lib/rest/api/v2010/account/sip/domain.js +0 -379
  364. package/lib/rest/api/v2010/account/sip/ipAccessControlList/ipAddress.d.ts +0 -321
  365. package/lib/rest/api/v2010/account/sip/ipAccessControlList/ipAddress.js +0 -289
  366. package/lib/rest/api/v2010/account/sip/ipAccessControlList.d.ts +0 -291
  367. package/lib/rest/api/v2010/account/sip/ipAccessControlList.js +0 -277
  368. package/lib/rest/api/v2010/account/sip.d.ts +0 -25
  369. package/lib/rest/api/v2010/account/sip.js +0 -63
  370. package/lib/rest/api/v2010/account/token.d.ts +0 -103
  371. package/lib/rest/api/v2010/account/token.js +0 -96
  372. package/lib/rest/api/v2010/account/transcription.d.ts +0 -278
  373. package/lib/rest/api/v2010/account/transcription.js +0 -226
  374. package/lib/rest/api/v2010/account/usage/record/allTime.d.ts +0 -250
  375. package/lib/rest/api/v2010/account/usage/record/allTime.js +0 -159
  376. package/lib/rest/api/v2010/account/usage/record/daily.d.ts +0 -250
  377. package/lib/rest/api/v2010/account/usage/record/daily.js +0 -159
  378. package/lib/rest/api/v2010/account/usage/record/lastMonth.d.ts +0 -250
  379. package/lib/rest/api/v2010/account/usage/record/lastMonth.js +0 -159
  380. package/lib/rest/api/v2010/account/usage/record/monthly.d.ts +0 -250
  381. package/lib/rest/api/v2010/account/usage/record/monthly.js +0 -159
  382. package/lib/rest/api/v2010/account/usage/record/thisMonth.d.ts +0 -250
  383. package/lib/rest/api/v2010/account/usage/record/thisMonth.js +0 -159
  384. package/lib/rest/api/v2010/account/usage/record/today.d.ts +0 -250
  385. package/lib/rest/api/v2010/account/usage/record/today.js +0 -159
  386. package/lib/rest/api/v2010/account/usage/record/yearly.d.ts +0 -250
  387. package/lib/rest/api/v2010/account/usage/record/yearly.js +0 -159
  388. package/lib/rest/api/v2010/account/usage/record/yesterday.d.ts +0 -250
  389. package/lib/rest/api/v2010/account/usage/record/yesterday.js +0 -159
  390. package/lib/rest/api/v2010/account/usage/record.d.ts +0 -274
  391. package/lib/rest/api/v2010/account/usage/record.js +0 -231
  392. package/lib/rest/api/v2010/account/usage/trigger.d.ts +0 -389
  393. package/lib/rest/api/v2010/account/usage/trigger.js +0 -310
  394. package/lib/rest/api/v2010/account/usage.d.ts +0 -22
  395. package/lib/rest/api/v2010/account/usage.js +0 -54
  396. package/lib/rest/api/v2010/account/validationRequest.d.ts +0 -87
  397. package/lib/rest/api/v2010/account/validationRequest.js +0 -97
  398. package/lib/rest/api/v2010/account.d.ts +0 -514
  399. package/lib/rest/api/v2010/account.js +0 -552
  400. package/lib/rest/assistants/V1.d.ts +0 -35
  401. package/lib/rest/assistants/V1.js +0 -60
  402. package/lib/rest/assistants/v1/assistant/assistantsKnowledge.d.ts +0 -265
  403. package/lib/rest/assistants/v1/assistant/assistantsKnowledge.js +0 -221
  404. package/lib/rest/assistants/v1/assistant/assistantsTool.d.ts +0 -265
  405. package/lib/rest/assistants/v1/assistant/assistantsTool.js +0 -221
  406. package/lib/rest/assistants/v1/assistant/feedback.d.ts +0 -231
  407. package/lib/rest/assistants/v1/assistant/feedback.js +0 -165
  408. package/lib/rest/assistants/v1/assistant/message.d.ts +0 -112
  409. package/lib/rest/assistants/v1/assistant/message.js +0 -93
  410. package/lib/rest/assistants/v1/assistant.d.ts +0 -510
  411. package/lib/rest/assistants/v1/assistant.js +0 -336
  412. package/lib/rest/assistants/v1/knowledge/chunk.d.ts +0 -166
  413. package/lib/rest/assistants/v1/knowledge/chunk.js +0 -131
  414. package/lib/rest/assistants/v1/knowledge/knowledgeStatus.d.ts +0 -100
  415. package/lib/rest/assistants/v1/knowledge/knowledgeStatus.js +0 -118
  416. package/lib/rest/assistants/v1/knowledge.d.ts +0 -415
  417. package/lib/rest/assistants/v1/knowledge.js +0 -302
  418. package/lib/rest/assistants/v1/policy.d.ts +0 -201
  419. package/lib/rest/assistants/v1/policy.js +0 -139
  420. package/lib/rest/assistants/v1/session/message.d.ts +0 -196
  421. package/lib/rest/assistants/v1/session/message.js +0 -141
  422. package/lib/rest/assistants/v1/session.d.ts +0 -230
  423. package/lib/rest/assistants/v1/session.js +0 -198
  424. package/lib/rest/assistants/v1/tool.d.ts +0 -447
  425. package/lib/rest/assistants/v1/tool.js +0 -281
  426. package/lib/rest/bulkexports/V1.d.ts +0 -20
  427. package/lib/rest/bulkexports/V1.js +0 -43
  428. package/lib/rest/bulkexports/v1/export/day.d.ts +0 -215
  429. package/lib/rest/bulkexports/v1/export/day.js +0 -191
  430. package/lib/rest/bulkexports/v1/export/exportCustomJob.d.ts +0 -228
  431. package/lib/rest/bulkexports/v1/export/exportCustomJob.js +0 -180
  432. package/lib/rest/bulkexports/v1/export/job.d.ts +0 -161
  433. package/lib/rest/bulkexports/v1/export/job.js +0 -151
  434. package/lib/rest/bulkexports/v1/export.d.ts +0 -112
  435. package/lib/rest/bulkexports/v1/export.js +0 -147
  436. package/lib/rest/bulkexports/v1/exportConfiguration.d.ts +0 -151
  437. package/lib/rest/bulkexports/v1/exportConfiguration.js +0 -149
  438. package/lib/rest/chat/V1.d.ts +0 -20
  439. package/lib/rest/chat/V1.js +0 -42
  440. package/lib/rest/chat/V2.d.ts +0 -20
  441. package/lib/rest/chat/V2.js +0 -42
  442. package/lib/rest/chat/V3.d.ts +0 -15
  443. package/lib/rest/chat/V3.js +0 -36
  444. package/lib/rest/chat/v1/credential.d.ts +0 -326
  445. package/lib/rest/chat/v1/credential.js +0 -282
  446. package/lib/rest/chat/v1/service/channel/invite.d.ts +0 -285
  447. package/lib/rest/chat/v1/service/channel/invite.js +0 -252
  448. package/lib/rest/chat/v1/service/channel/member.d.ts +0 -335
  449. package/lib/rest/chat/v1/service/channel/member.js +0 -284
  450. package/lib/rest/chat/v1/service/channel/message.d.ts +0 -350
  451. package/lib/rest/chat/v1/service/channel/message.js +0 -290
  452. package/lib/rest/chat/v1/service/channel.d.ts +0 -390
  453. package/lib/rest/chat/v1/service/channel.js +0 -331
  454. package/lib/rest/chat/v1/service/role.d.ts +0 -300
  455. package/lib/rest/chat/v1/service/role.js +0 -275
  456. package/lib/rest/chat/v1/service/user/userChannel.d.ts +0 -186
  457. package/lib/rest/chat/v1/service/user/userChannel.js +0 -140
  458. package/lib/rest/chat/v1/service/user.d.ts +0 -359
  459. package/lib/rest/chat/v1/service/user.js +0 -301
  460. package/lib/rest/chat/v1/service.d.ts +0 -511
  461. package/lib/rest/chat/v1/service.js +0 -462
  462. package/lib/rest/chat/v2/credential.d.ts +0 -326
  463. package/lib/rest/chat/v2/credential.js +0 -282
  464. package/lib/rest/chat/v2/service/binding.d.ts +0 -284
  465. package/lib/rest/chat/v2/service/binding.js +0 -228
  466. package/lib/rest/chat/v2/service/channel/invite.d.ts +0 -285
  467. package/lib/rest/chat/v2/service/channel/invite.js +0 -252
  468. package/lib/rest/chat/v2/service/channel/member.d.ts +0 -389
  469. package/lib/rest/chat/v2/service/channel/member.js +0 -312
  470. package/lib/rest/chat/v2/service/channel/message.d.ts +0 -422
  471. package/lib/rest/chat/v2/service/channel/message.js +0 -322
  472. package/lib/rest/chat/v2/service/channel/webhook.d.ts +0 -340
  473. package/lib/rest/chat/v2/service/channel/webhook.js +0 -296
  474. package/lib/rest/chat/v2/service/channel.d.ts +0 -440
  475. package/lib/rest/chat/v2/service/channel.js +0 -364
  476. package/lib/rest/chat/v2/service/role.d.ts +0 -300
  477. package/lib/rest/chat/v2/service/role.js +0 -275
  478. package/lib/rest/chat/v2/service/user/userBinding.d.ts +0 -280
  479. package/lib/rest/chat/v2/service/user/userBinding.js +0 -232
  480. package/lib/rest/chat/v2/service/user/userChannel.d.ts +0 -341
  481. package/lib/rest/chat/v2/service/user/userChannel.js +0 -268
  482. package/lib/rest/chat/v2/service/user.d.ts +0 -372
  483. package/lib/rest/chat/v2/service/user.js +0 -318
  484. package/lib/rest/chat/v2/service.d.ts +0 -485
  485. package/lib/rest/chat/v2/service.js +0 -409
  486. package/lib/rest/chat/v3/channel.d.ts +0 -191
  487. package/lib/rest/chat/v3/channel.js +0 -150
  488. package/lib/rest/content/V1.d.ts +0 -25
  489. package/lib/rest/content/V1.js +0 -50
  490. package/lib/rest/content/V2.d.ts +0 -20
  491. package/lib/rest/content/V2.js +0 -43
  492. package/lib/rest/content/v1/content/approvalCreate.d.ts +0 -79
  493. package/lib/rest/content/v1/content/approvalCreate.js +0 -94
  494. package/lib/rest/content/v1/content/approvalFetch.d.ts +0 -100
  495. package/lib/rest/content/v1/content/approvalFetch.js +0 -118
  496. package/lib/rest/content/v1/content.d.ts +0 -568
  497. package/lib/rest/content/v1/content.js +0 -418
  498. package/lib/rest/content/v1/contentAndApprovals.d.ts +0 -189
  499. package/lib/rest/content/v1/contentAndApprovals.js +0 -135
  500. package/lib/rest/content/v1/legacyContent.d.ts +0 -201
  501. package/lib/rest/content/v1/legacyContent.js +0 -139
  502. package/lib/rest/content/v2/content.d.ts +0 -249
  503. package/lib/rest/content/v2/content.js +0 -155
  504. package/lib/rest/content/v2/contentAndApprovals.d.ts +0 -243
  505. package/lib/rest/content/v2/contentAndApprovals.js +0 -153
  506. package/lib/rest/conversations/V1.d.ts +0 -55
  507. package/lib/rest/conversations/V1.js +0 -90
  508. package/lib/rest/conversations/v1/addressConfiguration.d.ts +0 -365
  509. package/lib/rest/conversations/v1/addressConfiguration.js +0 -310
  510. package/lib/rest/conversations/v1/configuration/webhook.d.ts +0 -168
  511. package/lib/rest/conversations/v1/configuration/webhook.js +0 -151
  512. package/lib/rest/conversations/v1/configuration.d.ts +0 -167
  513. package/lib/rest/conversations/v1/configuration.js +0 -159
  514. package/lib/rest/conversations/v1/conversation/message/deliveryReceipt.d.ts +0 -251
  515. package/lib/rest/conversations/v1/conversation/message/deliveryReceipt.js +0 -207
  516. package/lib/rest/conversations/v1/conversation/message.d.ts +0 -426
  517. package/lib/rest/conversations/v1/conversation/message.js +0 -331
  518. package/lib/rest/conversations/v1/conversation/participant.d.ts +0 -397
  519. package/lib/rest/conversations/v1/conversation/participant.js +0 -318
  520. package/lib/rest/conversations/v1/conversation/webhook.d.ts +0 -330
  521. package/lib/rest/conversations/v1/conversation/webhook.js +0 -286
  522. package/lib/rest/conversations/v1/conversation.d.ts +0 -457
  523. package/lib/rest/conversations/v1/conversation.js +0 -365
  524. package/lib/rest/conversations/v1/conversationWithParticipants.d.ts +0 -161
  525. package/lib/rest/conversations/v1/conversationWithParticipants.js +0 -127
  526. package/lib/rest/conversations/v1/credential.d.ts +0 -328
  527. package/lib/rest/conversations/v1/credential.js +0 -284
  528. package/lib/rest/conversations/v1/participantConversation.d.ts +0 -244
  529. package/lib/rest/conversations/v1/participantConversation.js +0 -153
  530. package/lib/rest/conversations/v1/role.d.ts +0 -298
  531. package/lib/rest/conversations/v1/role.js +0 -268
  532. package/lib/rest/conversations/v1/service/binding.d.ts +0 -278
  533. package/lib/rest/conversations/v1/service/binding.js +0 -226
  534. package/lib/rest/conversations/v1/service/configuration/notification.d.ts +0 -184
  535. package/lib/rest/conversations/v1/service/configuration/notification.js +0 -180
  536. package/lib/rest/conversations/v1/service/configuration/webhook.d.ts +0 -167
  537. package/lib/rest/conversations/v1/service/configuration/webhook.js +0 -158
  538. package/lib/rest/conversations/v1/service/configuration.d.ts +0 -172
  539. package/lib/rest/conversations/v1/service/configuration.js +0 -178
  540. package/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.d.ts +0 -259
  541. package/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.js +0 -220
  542. package/lib/rest/conversations/v1/service/conversation/message.d.ts +0 -434
  543. package/lib/rest/conversations/v1/service/conversation/message.js +0 -339
  544. package/lib/rest/conversations/v1/service/conversation/participant.d.ts +0 -405
  545. package/lib/rest/conversations/v1/service/conversation/participant.js +0 -326
  546. package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +0 -338
  547. package/lib/rest/conversations/v1/service/conversation/webhook.js +0 -294
  548. package/lib/rest/conversations/v1/service/conversation.d.ts +0 -459
  549. package/lib/rest/conversations/v1/service/conversation.js +0 -373
  550. package/lib/rest/conversations/v1/service/conversationWithParticipants.d.ts +0 -162
  551. package/lib/rest/conversations/v1/service/conversationWithParticipants.js +0 -131
  552. package/lib/rest/conversations/v1/service/participantConversation.d.ts +0 -245
  553. package/lib/rest/conversations/v1/service/participantConversation.js +0 -157
  554. package/lib/rest/conversations/v1/service/role.d.ts +0 -300
  555. package/lib/rest/conversations/v1/service/role.js +0 -275
  556. package/lib/rest/conversations/v1/service/user/userConversation.d.ts +0 -354
  557. package/lib/rest/conversations/v1/service/user/userConversation.js +0 -278
  558. package/lib/rest/conversations/v1/service/user.d.ts +0 -380
  559. package/lib/rest/conversations/v1/service/user.js +0 -307
  560. package/lib/rest/conversations/v1/service.d.ts +0 -311
  561. package/lib/rest/conversations/v1/service.js +0 -319
  562. package/lib/rest/conversations/v1/user/userConversation.d.ts +0 -352
  563. package/lib/rest/conversations/v1/user/userConversation.js +0 -271
  564. package/lib/rest/conversations/v1/user.d.ts +0 -378
  565. package/lib/rest/conversations/v1/user.js +0 -300
  566. package/lib/rest/events/V1.d.ts +0 -30
  567. package/lib/rest/events/V1.js +0 -54
  568. package/lib/rest/events/v1/eventType.d.ts +0 -237
  569. package/lib/rest/events/v1/eventType.js +0 -193
  570. package/lib/rest/events/v1/schema/schemaVersion.d.ts +0 -209
  571. package/lib/rest/events/v1/schema/schemaVersion.js +0 -189
  572. package/lib/rest/events/v1/schema.d.ts +0 -113
  573. package/lib/rest/events/v1/schema.js +0 -129
  574. package/lib/rest/events/v1/sink/sinkTest.d.ts +0 -45
  575. package/lib/rest/events/v1/sink/sinkTest.js +0 -69
  576. package/lib/rest/events/v1/sink/sinkValidate.d.ts +0 -53
  577. package/lib/rest/events/v1/sink/sinkValidate.js +0 -79
  578. package/lib/rest/events/v1/sink.d.ts +0 -327
  579. package/lib/rest/events/v1/sink.js +0 -297
  580. package/lib/rest/events/v1/subscription/subscribedEvent.d.ts +0 -289
  581. package/lib/rest/events/v1/subscription/subscribedEvent.js +0 -262
  582. package/lib/rest/events/v1/subscription.d.ts +0 -321
  583. package/lib/rest/events/v1/subscription.js +0 -283
  584. package/lib/rest/flexApi/V1.d.ts +0 -125
  585. package/lib/rest/flexApi/V1.js +0 -191
  586. package/lib/rest/flexApi/V2.d.ts +0 -20
  587. package/lib/rest/flexApi/V2.js +0 -42
  588. package/lib/rest/flexApi/v1/assessments.d.ts +0 -321
  589. package/lib/rest/flexApi/v1/assessments.js +0 -280
  590. package/lib/rest/flexApi/v1/channel.d.ts +0 -279
  591. package/lib/rest/flexApi/v1/channel.js +0 -258
  592. package/lib/rest/flexApi/v1/configuration.d.ts +0 -438
  593. package/lib/rest/flexApi/v1/configuration.js +0 -233
  594. package/lib/rest/flexApi/v1/flexFlow.d.ts +0 -411
  595. package/lib/rest/flexApi/v1/flexFlow.js +0 -344
  596. package/lib/rest/flexApi/v1/insightsAssessmentsComment.d.ts +0 -250
  597. package/lib/rest/flexApi/v1/insightsAssessmentsComment.js +0 -192
  598. package/lib/rest/flexApi/v1/insightsConversations.d.ts +0 -171
  599. package/lib/rest/flexApi/v1/insightsConversations.js +0 -129
  600. package/lib/rest/flexApi/v1/insightsQuestionnaires.d.ts +0 -356
  601. package/lib/rest/flexApi/v1/insightsQuestionnaires.js +0 -286
  602. package/lib/rest/flexApi/v1/insightsQuestionnairesCategory.d.ts +0 -278
  603. package/lib/rest/flexApi/v1/insightsQuestionnairesCategory.js +0 -237
  604. package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.d.ts +0 -336
  605. package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.js +0 -273
  606. package/lib/rest/flexApi/v1/insightsSegments.d.ts +0 -276
  607. package/lib/rest/flexApi/v1/insightsSegments.js +0 -167
  608. package/lib/rest/flexApi/v1/insightsSession.d.ts +0 -129
  609. package/lib/rest/flexApi/v1/insightsSession.js +0 -116
  610. package/lib/rest/flexApi/v1/insightsSettingsAnswerSets.d.ts +0 -81
  611. package/lib/rest/flexApi/v1/insightsSettingsAnswerSets.js +0 -84
  612. package/lib/rest/flexApi/v1/insightsSettingsComment.d.ts +0 -66
  613. package/lib/rest/flexApi/v1/insightsSettingsComment.js +0 -80
  614. package/lib/rest/flexApi/v1/insightsUserRoles.d.ts +0 -108
  615. package/lib/rest/flexApi/v1/insightsUserRoles.js +0 -110
  616. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.d.ts +0 -180
  617. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.js +0 -156
  618. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +0 -248
  619. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.js +0 -229
  620. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionTransfer.d.ts +0 -237
  621. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionTransfer.js +0 -203
  622. package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +0 -279
  623. package/lib/rest/flexApi/v1/interaction/interactionChannel.js +0 -262
  624. package/lib/rest/flexApi/v1/interaction.d.ts +0 -177
  625. package/lib/rest/flexApi/v1/interaction.js +0 -190
  626. package/lib/rest/flexApi/v1/plugin/pluginVersions.d.ts +0 -304
  627. package/lib/rest/flexApi/v1/plugin/pluginVersions.js +0 -243
  628. package/lib/rest/flexApi/v1/plugin.d.ts +0 -344
  629. package/lib/rest/flexApi/v1/plugin.js +0 -271
  630. package/lib/rest/flexApi/v1/pluginArchive.d.ts +0 -154
  631. package/lib/rest/flexApi/v1/pluginArchive.js +0 -129
  632. package/lib/rest/flexApi/v1/pluginConfiguration/configuredPlugin.d.ts +0 -309
  633. package/lib/rest/flexApi/v1/pluginConfiguration/configuredPlugin.js +0 -220
  634. package/lib/rest/flexApi/v1/pluginConfiguration.d.ts +0 -286
  635. package/lib/rest/flexApi/v1/pluginConfiguration.js +0 -236
  636. package/lib/rest/flexApi/v1/pluginConfigurationArchive.d.ts +0 -142
  637. package/lib/rest/flexApi/v1/pluginConfigurationArchive.js +0 -125
  638. package/lib/rest/flexApi/v1/pluginRelease.d.ts +0 -259
  639. package/lib/rest/flexApi/v1/pluginRelease.js +0 -214
  640. package/lib/rest/flexApi/v1/pluginVersionArchive.d.ts +0 -161
  641. package/lib/rest/flexApi/v1/pluginVersionArchive.js +0 -137
  642. package/lib/rest/flexApi/v1/provisioningStatus.d.ts +0 -87
  643. package/lib/rest/flexApi/v1/provisioningStatus.js +0 -106
  644. package/lib/rest/flexApi/v1/webChannel.d.ts +0 -304
  645. package/lib/rest/flexApi/v1/webChannel.js +0 -276
  646. package/lib/rest/flexApi/v2/flexUser.d.ts +0 -209
  647. package/lib/rest/flexApi/v2/flexUser.js +0 -175
  648. package/lib/rest/flexApi/v2/webChannels.d.ts +0 -68
  649. package/lib/rest/flexApi/v2/webChannels.js +0 -87
  650. package/lib/rest/frontlineApi/V1.d.ts +0 -15
  651. package/lib/rest/frontlineApi/V1.js +0 -36
  652. package/lib/rest/frontlineApi/v1/user.d.ts +0 -166
  653. package/lib/rest/frontlineApi/v1/user.js +0 -154
  654. package/lib/rest/iam/V1.d.ts +0 -35
  655. package/lib/rest/iam/V1.js +0 -60
  656. package/lib/rest/iam/v1/apiKey.d.ts +0 -166
  657. package/lib/rest/iam/v1/apiKey.js +0 -167
  658. package/lib/rest/iam/v1/getApiKeys.d.ts +0 -165
  659. package/lib/rest/iam/v1/getApiKeys.js +0 -127
  660. package/lib/rest/iam/v1/newApiKey.d.ts +0 -89
  661. package/lib/rest/iam/v1/newApiKey.js +0 -91
  662. package/lib/rest/iam/v1/oAuthApp.d.ts +0 -204
  663. package/lib/rest/iam/v1/oAuthApp.js +0 -189
  664. package/lib/rest/iam/v1/token.d.ts +0 -87
  665. package/lib/rest/iam/v1/token.js +0 -99
  666. package/lib/rest/insights/V1.d.ts +0 -35
  667. package/lib/rest/insights/V1.js +0 -61
  668. package/lib/rest/insights/v1/call/annotation.d.ts +0 -183
  669. package/lib/rest/insights/v1/call/annotation.js +0 -170
  670. package/lib/rest/insights/v1/call/callSummary.d.ts +0 -231
  671. package/lib/rest/insights/v1/call/callSummary.js +0 -160
  672. package/lib/rest/insights/v1/call/event.d.ts +0 -204
  673. package/lib/rest/insights/v1/call/event.js +0 -145
  674. package/lib/rest/insights/v1/call/metric.d.ts +0 -198
  675. package/lib/rest/insights/v1/call/metric.js +0 -143
  676. package/lib/rest/insights/v1/call.d.ts +0 -116
  677. package/lib/rest/insights/v1/call.js +0 -162
  678. package/lib/rest/insights/v1/callSummaries.d.ts +0 -480
  679. package/lib/rest/insights/v1/callSummaries.js +0 -236
  680. package/lib/rest/insights/v1/conference/conferenceParticipant.d.ts +0 -374
  681. package/lib/rest/insights/v1/conference/conferenceParticipant.js +0 -248
  682. package/lib/rest/insights/v1/conference.d.ts +0 -376
  683. package/lib/rest/insights/v1/conference.js +0 -252
  684. package/lib/rest/insights/v1/room/participant.d.ts +0 -279
  685. package/lib/rest/insights/v1/room/participant.js +0 -216
  686. package/lib/rest/insights/v1/room.d.ts +0 -361
  687. package/lib/rest/insights/v1/room.js +0 -248
  688. package/lib/rest/insights/v1/setting.d.ts +0 -169
  689. package/lib/rest/insights/v1/setting.js +0 -145
  690. package/lib/rest/intelligence/V2.d.ts +0 -50
  691. package/lib/rest/intelligence/V2.js +0 -82
  692. package/lib/rest/intelligence/v2/customOperator.d.ts +0 -332
  693. package/lib/rest/intelligence/v2/customOperator.js +0 -287
  694. package/lib/rest/intelligence/v2/operator.d.ts +0 -265
  695. package/lib/rest/intelligence/v2/operator.js +0 -201
  696. package/lib/rest/intelligence/v2/operatorAttachment.d.ts +0 -111
  697. package/lib/rest/intelligence/v2/operatorAttachment.js +0 -140
  698. package/lib/rest/intelligence/v2/operatorAttachments.d.ts +0 -93
  699. package/lib/rest/intelligence/v2/operatorAttachments.js +0 -113
  700. package/lib/rest/intelligence/v2/operatorType.d.ts +0 -267
  701. package/lib/rest/intelligence/v2/operatorType.js +0 -201
  702. package/lib/rest/intelligence/v2/prebuiltOperator.d.ts +0 -265
  703. package/lib/rest/intelligence/v2/prebuiltOperator.js +0 -201
  704. package/lib/rest/intelligence/v2/service.d.ts +0 -394
  705. package/lib/rest/intelligence/v2/service.js +0 -315
  706. package/lib/rest/intelligence/v2/transcript/encryptedOperatorResults.d.ts +0 -113
  707. package/lib/rest/intelligence/v2/transcript/encryptedOperatorResults.js +0 -120
  708. package/lib/rest/intelligence/v2/transcript/encryptedSentences.d.ts +0 -113
  709. package/lib/rest/intelligence/v2/transcript/encryptedSentences.js +0 -120
  710. package/lib/rest/intelligence/v2/transcript/media.d.ts +0 -131
  711. package/lib/rest/intelligence/v2/transcript/media.js +0 -123
  712. package/lib/rest/intelligence/v2/transcript/operatorResult.d.ts +0 -307
  713. package/lib/rest/intelligence/v2/transcript/operatorResult.js +0 -220
  714. package/lib/rest/intelligence/v2/transcript/sentence.d.ts +0 -193
  715. package/lib/rest/intelligence/v2/transcript/sentence.js +0 -141
  716. package/lib/rest/intelligence/v2/transcript.d.ts +0 -398
  717. package/lib/rest/intelligence/v2/transcript.js +0 -336
  718. package/lib/rest/ipMessaging/V1.d.ts +0 -20
  719. package/lib/rest/ipMessaging/V1.js +0 -42
  720. package/lib/rest/ipMessaging/V2.d.ts +0 -20
  721. package/lib/rest/ipMessaging/V2.js +0 -42
  722. package/lib/rest/ipMessaging/v1/credential.d.ts +0 -302
  723. package/lib/rest/ipMessaging/v1/credential.js +0 -282
  724. package/lib/rest/ipMessaging/v1/service/channel/invite.d.ts +0 -255
  725. package/lib/rest/ipMessaging/v1/service/channel/invite.js +0 -252
  726. package/lib/rest/ipMessaging/v1/service/channel/member.d.ts +0 -302
  727. package/lib/rest/ipMessaging/v1/service/channel/member.js +0 -284
  728. package/lib/rest/ipMessaging/v1/service/channel/message.d.ts +0 -311
  729. package/lib/rest/ipMessaging/v1/service/channel/message.js +0 -290
  730. package/lib/rest/ipMessaging/v1/service/channel.d.ts +0 -348
  731. package/lib/rest/ipMessaging/v1/service/channel.js +0 -331
  732. package/lib/rest/ipMessaging/v1/service/role.d.ts +0 -273
  733. package/lib/rest/ipMessaging/v1/service/role.js +0 -275
  734. package/lib/rest/ipMessaging/v1/service/user/userChannel.d.ts +0 -162
  735. package/lib/rest/ipMessaging/v1/service/user/userChannel.js +0 -140
  736. package/lib/rest/ipMessaging/v1/service/user.d.ts +0 -317
  737. package/lib/rest/ipMessaging/v1/service/user.js +0 -301
  738. package/lib/rest/ipMessaging/v1/service.d.ts +0 -448
  739. package/lib/rest/ipMessaging/v1/service.js +0 -462
  740. package/lib/rest/ipMessaging/v2/credential.d.ts +0 -302
  741. package/lib/rest/ipMessaging/v2/credential.js +0 -282
  742. package/lib/rest/ipMessaging/v2/service/binding.d.ts +0 -248
  743. package/lib/rest/ipMessaging/v2/service/binding.js +0 -228
  744. package/lib/rest/ipMessaging/v2/service/channel/invite.d.ts +0 -255
  745. package/lib/rest/ipMessaging/v2/service/channel/invite.js +0 -252
  746. package/lib/rest/ipMessaging/v2/service/channel/member.d.ts +0 -353
  747. package/lib/rest/ipMessaging/v2/service/channel/member.js +0 -312
  748. package/lib/rest/ipMessaging/v2/service/channel/message.d.ts +0 -374
  749. package/lib/rest/ipMessaging/v2/service/channel/message.js +0 -322
  750. package/lib/rest/ipMessaging/v2/service/channel/webhook.d.ts +0 -310
  751. package/lib/rest/ipMessaging/v2/service/channel/webhook.js +0 -296
  752. package/lib/rest/ipMessaging/v2/service/channel.d.ts +0 -398
  753. package/lib/rest/ipMessaging/v2/service/channel.js +0 -364
  754. package/lib/rest/ipMessaging/v2/service/role.d.ts +0 -273
  755. package/lib/rest/ipMessaging/v2/service/role.js +0 -275
  756. package/lib/rest/ipMessaging/v2/service/user/userBinding.d.ts +0 -244
  757. package/lib/rest/ipMessaging/v2/service/user/userBinding.js +0 -232
  758. package/lib/rest/ipMessaging/v2/service/user/userChannel.d.ts +0 -282
  759. package/lib/rest/ipMessaging/v2/service/user/userChannel.js +0 -264
  760. package/lib/rest/ipMessaging/v2/service/user.d.ts +0 -330
  761. package/lib/rest/ipMessaging/v2/service/user.js +0 -318
  762. package/lib/rest/ipMessaging/v2/service.d.ts +0 -416
  763. package/lib/rest/ipMessaging/v2/service.js +0 -409
  764. package/lib/rest/knowledge/V1.d.ts +0 -15
  765. package/lib/rest/knowledge/V1.js +0 -36
  766. package/lib/rest/knowledge/v1/knowledge/chunk.d.ts +0 -166
  767. package/lib/rest/knowledge/v1/knowledge/chunk.js +0 -131
  768. package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.d.ts +0 -100
  769. package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.js +0 -118
  770. package/lib/rest/knowledge/v1/knowledge.d.ts +0 -411
  771. package/lib/rest/knowledge/v1/knowledge.js +0 -302
  772. package/lib/rest/lookups/V1.d.ts +0 -15
  773. package/lib/rest/lookups/V1.js +0 -36
  774. package/lib/rest/lookups/V2.d.ts +0 -35
  775. package/lib/rest/lookups/V2.js +0 -61
  776. package/lib/rest/lookups/v1/phoneNumber.d.ts +0 -148
  777. package/lib/rest/lookups/v1/phoneNumber.js +0 -134
  778. package/lib/rest/lookups/v2/bucket.d.ts +0 -204
  779. package/lib/rest/lookups/v2/bucket.js +0 -187
  780. package/lib/rest/lookups/v2/lookupOverride.d.ts +0 -278
  781. package/lib/rest/lookups/v2/lookupOverride.js +0 -225
  782. package/lib/rest/lookups/v2/phoneNumber.d.ts +0 -269
  783. package/lib/rest/lookups/v2/phoneNumber.js +0 -200
  784. package/lib/rest/lookups/v2/query.d.ts +0 -176
  785. package/lib/rest/lookups/v2/query.js +0 -123
  786. package/lib/rest/lookups/v2/rateLimit.d.ts +0 -82
  787. package/lib/rest/lookups/v2/rateLimit.js +0 -82
  788. package/lib/rest/marketplace/V1.d.ts +0 -35
  789. package/lib/rest/marketplace/V1.js +0 -64
  790. package/lib/rest/marketplace/v1/availableAddOn/availableAddOnExtension.d.ts +0 -218
  791. package/lib/rest/marketplace/v1/availableAddOn/availableAddOnExtension.js +0 -191
  792. package/lib/rest/marketplace/v1/availableAddOn.d.ts +0 -230
  793. package/lib/rest/marketplace/v1/availableAddOn.js +0 -200
  794. package/lib/rest/marketplace/v1/installedAddOn/installedAddOnExtension.d.ts +0 -250
  795. package/lib/rest/marketplace/v1/installedAddOn/installedAddOnExtension.js +0 -219
  796. package/lib/rest/marketplace/v1/installedAddOn/installedAddOnUsage.d.ts +0 -78
  797. package/lib/rest/marketplace/v1/installedAddOn/installedAddOnUsage.js +0 -86
  798. package/lib/rest/marketplace/v1/installedAddOn.d.ts +0 -339
  799. package/lib/rest/marketplace/v1/installedAddOn.js +0 -302
  800. package/lib/rest/marketplace/v1/moduleData.d.ts +0 -124
  801. package/lib/rest/marketplace/v1/moduleData.js +0 -109
  802. package/lib/rest/marketplace/v1/moduleDataManagement.d.ts +0 -189
  803. package/lib/rest/marketplace/v1/moduleDataManagement.js +0 -167
  804. package/lib/rest/marketplace/v1/referralConversion.d.ts +0 -53
  805. package/lib/rest/marketplace/v1/referralConversion.js +0 -77
  806. package/lib/rest/messaging/V1.d.ts +0 -75
  807. package/lib/rest/messaging/V1.js +0 -120
  808. package/lib/rest/messaging/V2.d.ts +0 -20
  809. package/lib/rest/messaging/V2.js +0 -44
  810. package/lib/rest/messaging/v1/brandRegistration/brandRegistrationOtp.d.ts +0 -51
  811. package/lib/rest/messaging/v1/brandRegistration/brandRegistrationOtp.js +0 -71
  812. package/lib/rest/messaging/v1/brandRegistration/brandVetting.d.ts +0 -261
  813. package/lib/rest/messaging/v1/brandRegistration/brandVetting.js +0 -227
  814. package/lib/rest/messaging/v1/brandRegistration.d.ts +0 -366
  815. package/lib/rest/messaging/v1/brandRegistration.js +0 -298
  816. package/lib/rest/messaging/v1/deactivations.d.ts +0 -105
  817. package/lib/rest/messaging/v1/deactivations.js +0 -108
  818. package/lib/rest/messaging/v1/domainCerts.d.ts +0 -163
  819. package/lib/rest/messaging/v1/domainCerts.js +0 -170
  820. package/lib/rest/messaging/v1/domainConfig.d.ts +0 -174
  821. package/lib/rest/messaging/v1/domainConfig.js +0 -159
  822. package/lib/rest/messaging/v1/domainConfigMessagingService.d.ts +0 -126
  823. package/lib/rest/messaging/v1/domainConfigMessagingService.js +0 -127
  824. package/lib/rest/messaging/v1/domainValidateDn.d.ts +0 -90
  825. package/lib/rest/messaging/v1/domainValidateDn.js +0 -115
  826. package/lib/rest/messaging/v1/externalCampaign.d.ts +0 -80
  827. package/lib/rest/messaging/v1/externalCampaign.js +0 -90
  828. package/lib/rest/messaging/v1/linkshorteningMessagingService.d.ts +0 -108
  829. package/lib/rest/messaging/v1/linkshorteningMessagingService.js +0 -140
  830. package/lib/rest/messaging/v1/linkshorteningMessagingServiceDomainAssociation.d.ts +0 -90
  831. package/lib/rest/messaging/v1/linkshorteningMessagingServiceDomainAssociation.js +0 -115
  832. package/lib/rest/messaging/v1/requestManagedCert.d.ts +0 -126
  833. package/lib/rest/messaging/v1/requestManagedCert.js +0 -125
  834. package/lib/rest/messaging/v1/service/alphaSender.d.ts +0 -263
  835. package/lib/rest/messaging/v1/service/alphaSender.js +0 -238
  836. package/lib/rest/messaging/v1/service/channelSender.d.ts +0 -269
  837. package/lib/rest/messaging/v1/service/channelSender.js +0 -240
  838. package/lib/rest/messaging/v1/service/destinationAlphaSender.d.ts +0 -277
  839. package/lib/rest/messaging/v1/service/destinationAlphaSender.js +0 -244
  840. package/lib/rest/messaging/v1/service/phoneNumber.d.ts +0 -269
  841. package/lib/rest/messaging/v1/service/phoneNumber.js +0 -241
  842. package/lib/rest/messaging/v1/service/shortCode.d.ts +0 -269
  843. package/lib/rest/messaging/v1/service/shortCode.js +0 -241
  844. package/lib/rest/messaging/v1/service/usAppToPerson.d.ts +0 -451
  845. package/lib/rest/messaging/v1/service/usAppToPerson.js +0 -379
  846. package/lib/rest/messaging/v1/service/usAppToPersonUsecase.d.ts +0 -61
  847. package/lib/rest/messaging/v1/service/usAppToPersonUsecase.js +0 -80
  848. package/lib/rest/messaging/v1/service.d.ts +0 -510
  849. package/lib/rest/messaging/v1/service.js +0 -442
  850. package/lib/rest/messaging/v1/tollfreeVerification.d.ts +0 -719
  851. package/lib/rest/messaging/v1/tollfreeVerification.js +0 -523
  852. package/lib/rest/messaging/v1/usecase.d.ts +0 -44
  853. package/lib/rest/messaging/v1/usecase.js +0 -65
  854. package/lib/rest/messaging/v2/channelsSender.d.ts +0 -564
  855. package/lib/rest/messaging/v2/channelsSender.js +0 -324
  856. package/lib/rest/messaging/v2/typingIndicator.d.ts +0 -54
  857. package/lib/rest/messaging/v2/typingIndicator.js +0 -79
  858. package/lib/rest/monitor/V1.d.ts +0 -20
  859. package/lib/rest/monitor/V1.js +0 -42
  860. package/lib/rest/monitor/v1/alert.d.ts +0 -312
  861. package/lib/rest/monitor/v1/alert.js +0 -216
  862. package/lib/rest/monitor/v1/event.d.ts +0 -300
  863. package/lib/rest/monitor/v1/event.js +0 -212
  864. package/lib/rest/notify/V1.d.ts +0 -20
  865. package/lib/rest/notify/V1.js +0 -42
  866. package/lib/rest/notify/v1/credential.d.ts +0 -326
  867. package/lib/rest/notify/v1/credential.js +0 -282
  868. package/lib/rest/notify/v1/service/binding.d.ts +0 -339
  869. package/lib/rest/notify/v1/service/binding.js +0 -275
  870. package/lib/rest/notify/v1/service/notification.d.ts +0 -210
  871. package/lib/rest/notify/v1/service/notification.js +0 -153
  872. package/lib/rest/notify/v1/service.d.ts +0 -457
  873. package/lib/rest/notify/v1/service.js +0 -377
  874. package/lib/rest/numbers/V1.d.ts +0 -60
  875. package/lib/rest/numbers/V1.js +0 -102
  876. package/lib/rest/numbers/V2.d.ts +0 -40
  877. package/lib/rest/numbers/V2.js +0 -70
  878. package/lib/rest/numbers/V3.d.ts +0 -15
  879. package/lib/rest/numbers/V3.js +0 -37
  880. package/lib/rest/numbers/v1/bulkEligibility.d.ts +0 -136
  881. package/lib/rest/numbers/v1/bulkEligibility.js +0 -146
  882. package/lib/rest/numbers/v1/eligibility.d.ts +0 -61
  883. package/lib/rest/numbers/v1/eligibility.js +0 -78
  884. package/lib/rest/numbers/v1/portingAllPortIn.d.ts +0 -201
  885. package/lib/rest/numbers/v1/portingAllPortIn.js +0 -139
  886. package/lib/rest/numbers/v1/portingPortIn.d.ts +0 -366
  887. package/lib/rest/numbers/v1/portingPortIn.js +0 -202
  888. package/lib/rest/numbers/v1/portingPortInPhoneNumber.d.ts +0 -201
  889. package/lib/rest/numbers/v1/portingPortInPhoneNumber.js +0 -170
  890. package/lib/rest/numbers/v1/portingPortability.d.ts +0 -157
  891. package/lib/rest/numbers/v1/portingPortability.js +0 -131
  892. package/lib/rest/numbers/v1/portingWebhookConfiguration.d.ts +0 -79
  893. package/lib/rest/numbers/v1/portingWebhookConfiguration.js +0 -84
  894. package/lib/rest/numbers/v1/portingWebhookConfigurationDelete.d.ts +0 -53
  895. package/lib/rest/numbers/v1/portingWebhookConfigurationDelete.js +0 -70
  896. package/lib/rest/numbers/v1/signingRequestConfiguration.d.ts +0 -217
  897. package/lib/rest/numbers/v1/signingRequestConfiguration.js +0 -162
  898. package/lib/rest/numbers/v1/webhook.d.ts +0 -74
  899. package/lib/rest/numbers/v1/webhook.js +0 -75
  900. package/lib/rest/numbers/v2/application.d.ts +0 -257
  901. package/lib/rest/numbers/v2/application.js +0 -218
  902. package/lib/rest/numbers/v2/authorizationDocument/dependentHostedNumberOrder.d.ts +0 -267
  903. package/lib/rest/numbers/v2/authorizationDocument/dependentHostedNumberOrder.js +0 -165
  904. package/lib/rest/numbers/v2/authorizationDocument.d.ts +0 -292
  905. package/lib/rest/numbers/v2/authorizationDocument.js +0 -269
  906. package/lib/rest/numbers/v2/bulkHostedNumberOrder.d.ts +0 -180
  907. package/lib/rest/numbers/v2/bulkHostedNumberOrder.js +0 -154
  908. package/lib/rest/numbers/v2/bundleClone.d.ts +0 -155
  909. package/lib/rest/numbers/v2/bundleClone.js +0 -137
  910. package/lib/rest/numbers/v2/hostedNumberOrder.d.ts +0 -453
  911. package/lib/rest/numbers/v2/hostedNumberOrder.js +0 -343
  912. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.d.ts +0 -221
  913. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.js +0 -165
  914. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +0 -233
  915. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.js +0 -207
  916. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/itemAssignment.d.ts +0 -251
  917. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/itemAssignment.js +0 -234
  918. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.d.ts +0 -108
  919. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.js +0 -98
  920. package/lib/rest/numbers/v2/regulatoryCompliance/bundle.d.ts +0 -449
  921. package/lib/rest/numbers/v2/regulatoryCompliance/bundle.js +0 -364
  922. package/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +0 -310
  923. package/lib/rest/numbers/v2/regulatoryCompliance/endUser.js +0 -269
  924. package/lib/rest/numbers/v2/regulatoryCompliance/endUserType.d.ts +0 -210
  925. package/lib/rest/numbers/v2/regulatoryCompliance/endUserType.js +0 -183
  926. package/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +0 -272
  927. package/lib/rest/numbers/v2/regulatoryCompliance/regulation.js +0 -199
  928. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +0 -334
  929. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.js +0 -277
  930. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.d.ts +0 -210
  931. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.js +0 -183
  932. package/lib/rest/numbers/v2/regulatoryCompliance.d.ts +0 -37
  933. package/lib/rest/numbers/v2/regulatoryCompliance.js +0 -86
  934. package/lib/rest/numbers/v3/hostedNumberOrder.d.ts +0 -210
  935. package/lib/rest/numbers/v3/hostedNumberOrder.js +0 -154
  936. package/lib/rest/oauth/V1.d.ts +0 -20
  937. package/lib/rest/oauth/V1.js +0 -42
  938. package/lib/rest/oauth/V2.d.ts +0 -15
  939. package/lib/rest/oauth/V2.js +0 -36
  940. package/lib/rest/oauth/v1/authorize.d.ts +0 -68
  941. package/lib/rest/oauth/v1/authorize.js +0 -84
  942. package/lib/rest/oauth/v1/token.d.ts +0 -87
  943. package/lib/rest/oauth/v1/token.js +0 -99
  944. package/lib/rest/oauth/v2/token.d.ts +0 -97
  945. package/lib/rest/oauth/v2/token.js +0 -101
  946. package/lib/rest/preview/HostedNumbers.d.ts +0 -20
  947. package/lib/rest/preview/HostedNumbers.js +0 -44
  948. package/lib/rest/preview/Marketplace.d.ts +0 -20
  949. package/lib/rest/preview/Marketplace.js +0 -44
  950. package/lib/rest/preview/Wireless.d.ts +0 -25
  951. package/lib/rest/preview/Wireless.js +0 -48
  952. package/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.d.ts +0 -298
  953. package/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.js +0 -175
  954. package/lib/rest/preview/hosted_numbers/authorizationDocument.d.ts +0 -329
  955. package/lib/rest/preview/hosted_numbers/authorizationDocument.js +0 -291
  956. package/lib/rest/preview/hosted_numbers/hostedNumberOrder.d.ts +0 -473
  957. package/lib/rest/preview/hosted_numbers/hostedNumberOrder.js +0 -353
  958. package/lib/rest/preview/marketplace/availableAddOn/availableAddOnExtension.d.ts +0 -218
  959. package/lib/rest/preview/marketplace/availableAddOn/availableAddOnExtension.js +0 -191
  960. package/lib/rest/preview/marketplace/availableAddOn.d.ts +0 -230
  961. package/lib/rest/preview/marketplace/availableAddOn.js +0 -200
  962. package/lib/rest/preview/marketplace/installedAddOn/installedAddOnExtension.d.ts +0 -250
  963. package/lib/rest/preview/marketplace/installedAddOn/installedAddOnExtension.js +0 -219
  964. package/lib/rest/preview/marketplace/installedAddOn.d.ts +0 -331
  965. package/lib/rest/preview/marketplace/installedAddOn.js +0 -289
  966. package/lib/rest/preview/wireless/command.d.ts +0 -265
  967. package/lib/rest/preview/wireless/command.js +0 -237
  968. package/lib/rest/preview/wireless/ratePlan.d.ts +0 -325
  969. package/lib/rest/preview/wireless/ratePlan.js +0 -294
  970. package/lib/rest/preview/wireless/sim/usage.d.ts +0 -130
  971. package/lib/rest/preview/wireless/sim/usage.js +0 -134
  972. package/lib/rest/preview/wireless/sim.d.ts +0 -356
  973. package/lib/rest/preview/wireless/sim.js +0 -296
  974. package/lib/rest/previewIam/V1.d.ts +0 -20
  975. package/lib/rest/previewIam/V1.js +0 -42
  976. package/lib/rest/previewIam/Versionless.d.ts +0 -15
  977. package/lib/rest/previewIam/Versionless.js +0 -36
  978. package/lib/rest/previewIam/v1/authorize.d.ts +0 -68
  979. package/lib/rest/previewIam/v1/authorize.js +0 -84
  980. package/lib/rest/previewIam/v1/token.d.ts +0 -87
  981. package/lib/rest/previewIam/v1/token.js +0 -99
  982. package/lib/rest/previewIam/versionless/organization/account.d.ts +0 -215
  983. package/lib/rest/previewIam/versionless/organization/account.js +0 -195
  984. package/lib/rest/previewIam/versionless/organization/roleAssignment.d.ts +0 -273
  985. package/lib/rest/previewIam/versionless/organization/roleAssignment.js +0 -221
  986. package/lib/rest/previewIam/versionless/organization/user.d.ts +0 -447
  987. package/lib/rest/previewIam/versionless/organization/user.js +0 -299
  988. package/lib/rest/previewIam/versionless/organization.d.ts +0 -52
  989. package/lib/rest/previewIam/versionless/organization.js +0 -80
  990. package/lib/rest/pricing/V1.d.ts +0 -25
  991. package/lib/rest/pricing/V1.js +0 -48
  992. package/lib/rest/pricing/V2.d.ts +0 -25
  993. package/lib/rest/pricing/V2.js +0 -48
  994. package/lib/rest/pricing/v1/messaging/country.d.ts +0 -232
  995. package/lib/rest/pricing/v1/messaging/country.js +0 -194
  996. package/lib/rest/pricing/v1/messaging.d.ts +0 -18
  997. package/lib/rest/pricing/v1/messaging.js +0 -41
  998. package/lib/rest/pricing/v1/phoneNumber/country.d.ts +0 -215
  999. package/lib/rest/pricing/v1/phoneNumber/country.js +0 -186
  1000. package/lib/rest/pricing/v1/phoneNumber.d.ts +0 -18
  1001. package/lib/rest/pricing/v1/phoneNumber.js +0 -41
  1002. package/lib/rest/pricing/v1/voice/country.d.ts +0 -227
  1003. package/lib/rest/pricing/v1/voice/country.js +0 -191
  1004. package/lib/rest/pricing/v1/voice/number.d.ts +0 -126
  1005. package/lib/rest/pricing/v1/voice/number.js +0 -133
  1006. package/lib/rest/pricing/v1/voice.d.ts +0 -21
  1007. package/lib/rest/pricing/v1/voice.js +0 -50
  1008. package/lib/rest/pricing/v2/country.d.ts +0 -228
  1009. package/lib/rest/pricing/v2/country.js +0 -191
  1010. package/lib/rest/pricing/v2/number.d.ts +0 -157
  1011. package/lib/rest/pricing/v2/number.js +0 -138
  1012. package/lib/rest/pricing/v2/voice/country.d.ts +0 -228
  1013. package/lib/rest/pricing/v2/voice/country.js +0 -191
  1014. package/lib/rest/pricing/v2/voice/number.d.ts +0 -158
  1015. package/lib/rest/pricing/v2/voice/number.js +0 -138
  1016. package/lib/rest/pricing/v2/voice.d.ts +0 -21
  1017. package/lib/rest/pricing/v2/voice.js +0 -50
  1018. package/lib/rest/proxy/V1.d.ts +0 -15
  1019. package/lib/rest/proxy/V1.js +0 -36
  1020. package/lib/rest/proxy/v1/service/phoneNumber.d.ts +0 -339
  1021. package/lib/rest/proxy/v1/service/phoneNumber.js +0 -280
  1022. package/lib/rest/proxy/v1/service/session/interaction.d.ts +0 -314
  1023. package/lib/rest/proxy/v1/service/session/interaction.js +0 -244
  1024. package/lib/rest/proxy/v1/service/session/participant/messageInteraction.d.ts +0 -331
  1025. package/lib/rest/proxy/v1/service/session/participant/messageInteraction.js +0 -262
  1026. package/lib/rest/proxy/v1/service/session/participant.d.ts +0 -309
  1027. package/lib/rest/proxy/v1/service/session/participant.js +0 -273
  1028. package/lib/rest/proxy/v1/service/session.d.ts +0 -393
  1029. package/lib/rest/proxy/v1/service/session.js +0 -324
  1030. package/lib/rest/proxy/v1/service.d.ts +0 -385
  1031. package/lib/rest/proxy/v1/service.js +0 -325
  1032. package/lib/rest/routes/V2.d.ts +0 -25
  1033. package/lib/rest/routes/V2.js +0 -48
  1034. package/lib/rest/routes/v2/phoneNumber.d.ts +0 -167
  1035. package/lib/rest/routes/v2/phoneNumber.js +0 -153
  1036. package/lib/rest/routes/v2/sipDomain.d.ts +0 -143
  1037. package/lib/rest/routes/v2/sipDomain.js +0 -153
  1038. package/lib/rest/routes/v2/trunk.d.ts +0 -167
  1039. package/lib/rest/routes/v2/trunk.js +0 -153
  1040. package/lib/rest/serverless/V1.d.ts +0 -15
  1041. package/lib/rest/serverless/V1.js +0 -36
  1042. package/lib/rest/serverless/v1/service/asset/assetVersion.d.ts +0 -233
  1043. package/lib/rest/serverless/v1/service/asset/assetVersion.js +0 -201
  1044. package/lib/rest/serverless/v1/service/asset.d.ts +0 -297
  1045. package/lib/rest/serverless/v1/service/asset.js +0 -279
  1046. package/lib/rest/serverless/v1/service/build/buildStatus.d.ts +0 -109
  1047. package/lib/rest/serverless/v1/service/build/buildStatus.js +0 -126
  1048. package/lib/rest/serverless/v1/service/build.d.ts +0 -308
  1049. package/lib/rest/serverless/v1/service/build.js +0 -267
  1050. package/lib/rest/serverless/v1/service/environment/deployment.d.ts +0 -258
  1051. package/lib/rest/serverless/v1/service/environment/deployment.js +0 -227
  1052. package/lib/rest/serverless/v1/service/environment/log.d.ts +0 -274
  1053. package/lib/rest/serverless/v1/service/environment/log.js +0 -215
  1054. package/lib/rest/serverless/v1/service/environment/variable.d.ts +0 -317
  1055. package/lib/rest/serverless/v1/service/environment/variable.js +0 -280
  1056. package/lib/rest/serverless/v1/service/environment.d.ts +0 -307
  1057. package/lib/rest/serverless/v1/service/environment.js +0 -285
  1058. package/lib/rest/serverless/v1/service/function/functionVersion/functionVersionContent.d.ts +0 -113
  1059. package/lib/rest/serverless/v1/service/function/functionVersion/functionVersionContent.js +0 -134
  1060. package/lib/rest/serverless/v1/service/function/functionVersion.d.ts +0 -244
  1061. package/lib/rest/serverless/v1/service/function/functionVersion.js +0 -216
  1062. package/lib/rest/serverless/v1/service/function.d.ts +0 -297
  1063. package/lib/rest/serverless/v1/service/function.js +0 -279
  1064. package/lib/rest/serverless/v1/service.d.ts +0 -363
  1065. package/lib/rest/serverless/v1/service.js +0 -329
  1066. package/lib/rest/studio/V1.d.ts +0 -15
  1067. package/lib/rest/studio/V1.js +0 -36
  1068. package/lib/rest/studio/V2.d.ts +0 -20
  1069. package/lib/rest/studio/V2.js +0 -42
  1070. package/lib/rest/studio/v1/flow/engagement/engagementContext.d.ts +0 -108
  1071. package/lib/rest/studio/v1/flow/engagement/engagementContext.js +0 -126
  1072. package/lib/rest/studio/v1/flow/engagement/step/stepContext.d.ts +0 -116
  1073. package/lib/rest/studio/v1/flow/engagement/step/stepContext.js +0 -134
  1074. package/lib/rest/studio/v1/flow/engagement/step.d.ts +0 -276
  1075. package/lib/rest/studio/v1/flow/engagement/step.js +0 -226
  1076. package/lib/rest/studio/v1/flow/engagement.d.ts +0 -302
  1077. package/lib/rest/studio/v1/flow/engagement.js +0 -276
  1078. package/lib/rest/studio/v1/flow/execution/executionContext.d.ts +0 -108
  1079. package/lib/rest/studio/v1/flow/execution/executionContext.js +0 -126
  1080. package/lib/rest/studio/v1/flow/execution/executionStep/executionStepContext.d.ts +0 -116
  1081. package/lib/rest/studio/v1/flow/execution/executionStep/executionStepContext.js +0 -134
  1082. package/lib/rest/studio/v1/flow/execution/executionStep.d.ts +0 -276
  1083. package/lib/rest/studio/v1/flow/execution/executionStep.js +0 -226
  1084. package/lib/rest/studio/v1/flow/execution.d.ts +0 -340
  1085. package/lib/rest/studio/v1/flow/execution.js +0 -306
  1086. package/lib/rest/studio/v1/flow.d.ts +0 -268
  1087. package/lib/rest/studio/v1/flow.js +0 -237
  1088. package/lib/rest/studio/v2/flow/execution/executionContext.d.ts +0 -108
  1089. package/lib/rest/studio/v2/flow/execution/executionContext.js +0 -126
  1090. package/lib/rest/studio/v2/flow/execution/executionStep/executionStepContext.d.ts +0 -116
  1091. package/lib/rest/studio/v2/flow/execution/executionStep/executionStepContext.js +0 -134
  1092. package/lib/rest/studio/v2/flow/execution/executionStep.d.ts +0 -276
  1093. package/lib/rest/studio/v2/flow/execution/executionStep.js +0 -226
  1094. package/lib/rest/studio/v2/flow/execution.d.ts +0 -334
  1095. package/lib/rest/studio/v2/flow/execution.js +0 -304
  1096. package/lib/rest/studio/v2/flow/flowRevision.d.ts +0 -255
  1097. package/lib/rest/studio/v2/flow/flowRevision.js +0 -203
  1098. package/lib/rest/studio/v2/flow/flowTestUser.d.ts +0 -120
  1099. package/lib/rest/studio/v2/flow/flowTestUser.js +0 -142
  1100. package/lib/rest/studio/v2/flow.d.ts +0 -363
  1101. package/lib/rest/studio/v2/flow.js +0 -327
  1102. package/lib/rest/studio/v2/flowValidate.d.ts +0 -62
  1103. package/lib/rest/studio/v2/flowValidate.js +0 -86
  1104. package/lib/rest/supersim/V1.d.ts +0 -55
  1105. package/lib/rest/supersim/V1.js +0 -86
  1106. package/lib/rest/supersim/v1/esimProfile.d.ts +0 -313
  1107. package/lib/rest/supersim/v1/esimProfile.js +0 -237
  1108. package/lib/rest/supersim/v1/fleet.d.ts +0 -363
  1109. package/lib/rest/supersim/v1/fleet.js +0 -283
  1110. package/lib/rest/supersim/v1/ipCommand.d.ts +0 -311
  1111. package/lib/rest/supersim/v1/ipCommand.js +0 -243
  1112. package/lib/rest/supersim/v1/network.d.ts +0 -228
  1113. package/lib/rest/supersim/v1/network.js +0 -189
  1114. package/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.d.ts +0 -251
  1115. package/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.js +0 -234
  1116. package/lib/rest/supersim/v1/networkAccessProfile.d.ts +0 -295
  1117. package/lib/rest/supersim/v1/networkAccessProfile.js +0 -254
  1118. package/lib/rest/supersim/v1/settingsUpdate.d.ts +0 -196
  1119. package/lib/rest/supersim/v1/settingsUpdate.js +0 -137
  1120. package/lib/rest/supersim/v1/sim/billingPeriod.d.ts +0 -185
  1121. package/lib/rest/supersim/v1/sim/billingPeriod.js +0 -137
  1122. package/lib/rest/supersim/v1/sim/simIpAddress.d.ts +0 -149
  1123. package/lib/rest/supersim/v1/sim/simIpAddress.js +0 -125
  1124. package/lib/rest/supersim/v1/sim.d.ts +0 -343
  1125. package/lib/rest/supersim/v1/sim.js +0 -289
  1126. package/lib/rest/supersim/v1/smsCommand.d.ts +0 -276
  1127. package/lib/rest/supersim/v1/smsCommand.js +0 -227
  1128. package/lib/rest/supersim/v1/usageRecord.d.ts +0 -257
  1129. package/lib/rest/supersim/v1/usageRecord.js +0 -155
  1130. package/lib/rest/sync/V1.d.ts +0 -15
  1131. package/lib/rest/sync/V1.js +0 -36
  1132. package/lib/rest/sync/v1/service/document/documentPermission.d.ts +0 -279
  1133. package/lib/rest/sync/v1/service/document/documentPermission.js +0 -260
  1134. package/lib/rest/sync/v1/service/document.d.ts +0 -353
  1135. package/lib/rest/sync/v1/service/document.js +0 -297
  1136. package/lib/rest/sync/v1/service/syncList/syncListItem.d.ts +0 -384
  1137. package/lib/rest/sync/v1/service/syncList/syncListItem.js +0 -302
  1138. package/lib/rest/sync/v1/service/syncList/syncListPermission.d.ts +0 -279
  1139. package/lib/rest/sync/v1/service/syncList/syncListPermission.js +0 -260
  1140. package/lib/rest/sync/v1/service/syncList.d.ts +0 -353
  1141. package/lib/rest/sync/v1/service/syncList.js +0 -306
  1142. package/lib/rest/sync/v1/service/syncMap/syncMapItem.d.ts +0 -386
  1143. package/lib/rest/sync/v1/service/syncMap/syncMapItem.js +0 -306
  1144. package/lib/rest/sync/v1/service/syncMap/syncMapPermission.d.ts +0 -279
  1145. package/lib/rest/sync/v1/service/syncMap/syncMapPermission.js +0 -260
  1146. package/lib/rest/sync/v1/service/syncMap.d.ts +0 -353
  1147. package/lib/rest/sync/v1/service/syncMap.js +0 -306
  1148. package/lib/rest/sync/v1/service/syncStream/streamMessage.d.ts +0 -60
  1149. package/lib/rest/sync/v1/service/syncStream/streamMessage.js +0 -84
  1150. package/lib/rest/sync/v1/service/syncStream.d.ts +0 -335
  1151. package/lib/rest/sync/v1/service/syncStream.js +0 -287
  1152. package/lib/rest/sync/v1/service.d.ts +0 -403
  1153. package/lib/rest/sync/v1/service.js +0 -352
  1154. package/lib/rest/taskrouter/V1.d.ts +0 -15
  1155. package/lib/rest/taskrouter/V1.js +0 -36
  1156. package/lib/rest/taskrouter/v1/workspace/activity.d.ts +0 -322
  1157. package/lib/rest/taskrouter/v1/workspace/activity.js +0 -275
  1158. package/lib/rest/taskrouter/v1/workspace/event.d.ts +0 -350
  1159. package/lib/rest/taskrouter/v1/workspace/event.js +0 -235
  1160. package/lib/rest/taskrouter/v1/workspace/task/reservation.d.ts +0 -416
  1161. package/lib/rest/taskrouter/v1/workspace/task/reservation.js +0 -351
  1162. package/lib/rest/taskrouter/v1/workspace/task.d.ts +0 -531
  1163. package/lib/rest/taskrouter/v1/workspace/task.js +0 -365
  1164. package/lib/rest/taskrouter/v1/workspace/taskChannel.d.ts +0 -323
  1165. package/lib/rest/taskrouter/v1/workspace/taskChannel.js +0 -279
  1166. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueBulkRealTimeStatistics.d.ts +0 -86
  1167. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueBulkRealTimeStatistics.js +0 -90
  1168. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.d.ts +0 -243
  1169. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.js +0 -173
  1170. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueRealTimeStatistics.d.ts +0 -187
  1171. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueRealTimeStatistics.js +0 -149
  1172. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueStatistics.d.ts +0 -147
  1173. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueStatistics.js +0 -140
  1174. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.d.ts +0 -202
  1175. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.js +0 -143
  1176. package/lib/rest/taskrouter/v1/workspace/taskQueue.d.ts +0 -422
  1177. package/lib/rest/taskrouter/v1/workspace/taskQueue.js +0 -367
  1178. package/lib/rest/taskrouter/v1/workspace/worker/reservation.d.ts +0 -405
  1179. package/lib/rest/taskrouter/v1/workspace/worker/reservation.js +0 -345
  1180. package/lib/rest/taskrouter/v1/workspace/worker/workerChannel.d.ts +0 -306
  1181. package/lib/rest/taskrouter/v1/workspace/worker/workerChannel.js +0 -241
  1182. package/lib/rest/taskrouter/v1/workspace/worker/workerStatistics.d.ts +0 -139
  1183. package/lib/rest/taskrouter/v1/workspace/worker/workerStatistics.js +0 -136
  1184. package/lib/rest/taskrouter/v1/workspace/worker/workersCumulativeStatistics.d.ts +0 -179
  1185. package/lib/rest/taskrouter/v1/workspace/worker/workersCumulativeStatistics.js +0 -144
  1186. package/lib/rest/taskrouter/v1/workspace/worker/workersRealTimeStatistics.d.ts +0 -131
  1187. package/lib/rest/taskrouter/v1/workspace/worker/workersRealTimeStatistics.js +0 -124
  1188. package/lib/rest/taskrouter/v1/workspace/worker/workersStatistics.d.ts +0 -143
  1189. package/lib/rest/taskrouter/v1/workspace/worker/workersStatistics.js +0 -136
  1190. package/lib/rest/taskrouter/v1/workspace/worker.d.ts +0 -453
  1191. package/lib/rest/taskrouter/v1/workspace/worker.js +0 -376
  1192. package/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.d.ts +0 -243
  1193. package/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.js +0 -172
  1194. package/lib/rest/taskrouter/v1/workspace/workflow/workflowRealTimeStatistics.d.ts +0 -157
  1195. package/lib/rest/taskrouter/v1/workspace/workflow/workflowRealTimeStatistics.js +0 -138
  1196. package/lib/rest/taskrouter/v1/workspace/workflow/workflowStatistics.d.ts +0 -147
  1197. package/lib/rest/taskrouter/v1/workspace/workflow/workflowStatistics.js +0 -140
  1198. package/lib/rest/taskrouter/v1/workspace/workflow.d.ts +0 -383
  1199. package/lib/rest/taskrouter/v1/workspace/workflow.js +0 -342
  1200. package/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.d.ts +0 -235
  1201. package/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.js +0 -164
  1202. package/lib/rest/taskrouter/v1/workspace/workspaceRealTimeStatistics.d.ts +0 -161
  1203. package/lib/rest/taskrouter/v1/workspace/workspaceRealTimeStatistics.js +0 -134
  1204. package/lib/rest/taskrouter/v1/workspace/workspaceStatistics.d.ts +0 -139
  1205. package/lib/rest/taskrouter/v1/workspace/workspaceStatistics.js +0 -132
  1206. package/lib/rest/taskrouter/v1/workspace.d.ts +0 -454
  1207. package/lib/rest/taskrouter/v1/workspace.js +0 -426
  1208. package/lib/rest/trunking/V1.d.ts +0 -15
  1209. package/lib/rest/trunking/V1.js +0 -36
  1210. package/lib/rest/trunking/v1/trunk/credentialList.d.ts +0 -257
  1211. package/lib/rest/trunking/v1/trunk/credentialList.js +0 -237
  1212. package/lib/rest/trunking/v1/trunk/ipAccessControlList.d.ts +0 -257
  1213. package/lib/rest/trunking/v1/trunk/ipAccessControlList.js +0 -237
  1214. package/lib/rest/trunking/v1/trunk/originationUrl.d.ts +0 -339
  1215. package/lib/rest/trunking/v1/trunk/originationUrl.js +0 -297
  1216. package/lib/rest/trunking/v1/trunk/phoneNumber.d.ts +0 -372
  1217. package/lib/rest/trunking/v1/trunk/phoneNumber.js +0 -275
  1218. package/lib/rest/trunking/v1/trunk/recording.d.ts +0 -134
  1219. package/lib/rest/trunking/v1/trunk/recording.js +0 -144
  1220. package/lib/rest/trunking/v1/trunk.d.ts +0 -441
  1221. package/lib/rest/trunking/v1/trunk.js +0 -374
  1222. package/lib/rest/trusthub/V1.d.ts +0 -60
  1223. package/lib/rest/trusthub/V1.js +0 -99
  1224. package/lib/rest/trusthub/v1/complianceInquiries.d.ts +0 -138
  1225. package/lib/rest/trusthub/v1/complianceInquiries.js +0 -149
  1226. package/lib/rest/trusthub/v1/complianceRegistrationInquiries.d.ts +0 -234
  1227. package/lib/rest/trusthub/v1/complianceRegistrationInquiries.js +0 -233
  1228. package/lib/rest/trusthub/v1/complianceTollfreeInquiries.d.ts +0 -120
  1229. package/lib/rest/trusthub/v1/complianceTollfreeInquiries.js +0 -132
  1230. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesChannelEndpointAssignment.d.ts +0 -271
  1231. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesChannelEndpointAssignment.js +0 -246
  1232. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEntityAssignments.d.ts +0 -257
  1233. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEntityAssignments.js +0 -236
  1234. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +0 -241
  1235. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.js +0 -217
  1236. package/lib/rest/trusthub/v1/customerProfiles.d.ts +0 -388
  1237. package/lib/rest/trusthub/v1/customerProfiles.js +0 -332
  1238. package/lib/rest/trusthub/v1/endUser.d.ts +0 -309
  1239. package/lib/rest/trusthub/v1/endUser.js +0 -269
  1240. package/lib/rest/trusthub/v1/endUserType.d.ts +0 -210
  1241. package/lib/rest/trusthub/v1/endUserType.js +0 -183
  1242. package/lib/rest/trusthub/v1/policies.d.ts +0 -204
  1243. package/lib/rest/trusthub/v1/policies.js +0 -181
  1244. package/lib/rest/trusthub/v1/supportingDocument.d.ts +0 -322
  1245. package/lib/rest/trusthub/v1/supportingDocument.js +0 -273
  1246. package/lib/rest/trusthub/v1/supportingDocumentType.d.ts +0 -210
  1247. package/lib/rest/trusthub/v1/supportingDocumentType.js +0 -183
  1248. package/lib/rest/trusthub/v1/trustProducts/trustProductsChannelEndpointAssignment.d.ts +0 -271
  1249. package/lib/rest/trusthub/v1/trustProducts/trustProductsChannelEndpointAssignment.js +0 -246
  1250. package/lib/rest/trusthub/v1/trustProducts/trustProductsEntityAssignments.d.ts +0 -257
  1251. package/lib/rest/trusthub/v1/trustProducts/trustProductsEntityAssignments.js +0 -236
  1252. package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +0 -241
  1253. package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.js +0 -217
  1254. package/lib/rest/trusthub/v1/trustProducts.d.ts +0 -388
  1255. package/lib/rest/trusthub/v1/trustProducts.js +0 -332
  1256. package/lib/rest/verify/V2.d.ts +0 -40
  1257. package/lib/rest/verify/V2.js +0 -69
  1258. package/lib/rest/verify/v2/form.d.ts +0 -100
  1259. package/lib/rest/verify/v2/form.js +0 -115
  1260. package/lib/rest/verify/v2/safelist.d.ts +0 -126
  1261. package/lib/rest/verify/v2/safelist.js +0 -156
  1262. package/lib/rest/verify/v2/service/accessToken.d.ts +0 -160
  1263. package/lib/rest/verify/v2/service/accessToken.js +0 -163
  1264. package/lib/rest/verify/v2/service/approveChallenge.d.ts +0 -202
  1265. package/lib/rest/verify/v2/service/approveChallenge.js +0 -123
  1266. package/lib/rest/verify/v2/service/entity/challenge/notification.d.ts +0 -111
  1267. package/lib/rest/verify/v2/service/entity/challenge/notification.js +0 -103
  1268. package/lib/rest/verify/v2/service/entity/challenge.d.ts +0 -392
  1269. package/lib/rest/verify/v2/service/entity/challenge.js +0 -302
  1270. package/lib/rest/verify/v2/service/entity/factor.d.ts +0 -340
  1271. package/lib/rest/verify/v2/service/entity/factor.js +0 -277
  1272. package/lib/rest/verify/v2/service/entity/newFactor.d.ts +0 -165
  1273. package/lib/rest/verify/v2/service/entity/newFactor.js +0 -140
  1274. package/lib/rest/verify/v2/service/entity.d.ts +0 -287
  1275. package/lib/rest/verify/v2/service/entity.js +0 -277
  1276. package/lib/rest/verify/v2/service/messagingConfiguration.d.ts +0 -285
  1277. package/lib/rest/verify/v2/service/messagingConfiguration.js +0 -268
  1278. package/lib/rest/verify/v2/service/newChallenge.d.ts +0 -205
  1279. package/lib/rest/verify/v2/service/newChallenge.js +0 -153
  1280. package/lib/rest/verify/v2/service/newFactor.d.ts +0 -154
  1281. package/lib/rest/verify/v2/service/newFactor.js +0 -118
  1282. package/lib/rest/verify/v2/service/newVerifyFactor.d.ts +0 -162
  1283. package/lib/rest/verify/v2/service/newVerifyFactor.js +0 -111
  1284. package/lib/rest/verify/v2/service/rateLimit/bucket.d.ts +0 -317
  1285. package/lib/rest/verify/v2/service/rateLimit/bucket.js +0 -280
  1286. package/lib/rest/verify/v2/service/rateLimit.d.ts +0 -321
  1287. package/lib/rest/verify/v2/service/rateLimit.js +0 -283
  1288. package/lib/rest/verify/v2/service/verification.d.ts +0 -252
  1289. package/lib/rest/verify/v2/service/verification.js +0 -228
  1290. package/lib/rest/verify/v2/service/verificationCheck.d.ts +0 -138
  1291. package/lib/rest/verify/v2/service/verificationCheck.js +0 -113
  1292. package/lib/rest/verify/v2/service/webhook.d.ts +0 -348
  1293. package/lib/rest/verify/v2/service/webhook.js +0 -295
  1294. package/lib/rest/verify/v2/service.d.ts +0 -560
  1295. package/lib/rest/verify/v2/service.js +0 -535
  1296. package/lib/rest/verify/v2/template.d.ts +0 -171
  1297. package/lib/rest/verify/v2/template.js +0 -129
  1298. package/lib/rest/verify/v2/verificationAttempt.d.ts +0 -293
  1299. package/lib/rest/verify/v2/verificationAttempt.js +0 -211
  1300. package/lib/rest/verify/v2/verificationAttemptsSummary.d.ts +0 -137
  1301. package/lib/rest/verify/v2/verificationAttemptsSummary.js +0 -127
  1302. package/lib/rest/video/V1.d.ts +0 -40
  1303. package/lib/rest/video/V1.js +0 -69
  1304. package/lib/rest/video/v1/composition.d.ts +0 -381
  1305. package/lib/rest/video/v1/composition.js +0 -282
  1306. package/lib/rest/video/v1/compositionHook.d.ts +0 -390
  1307. package/lib/rest/video/v1/compositionHook.js +0 -318
  1308. package/lib/rest/video/v1/compositionSettings.d.ts +0 -158
  1309. package/lib/rest/video/v1/compositionSettings.js +0 -155
  1310. package/lib/rest/video/v1/recording.d.ts +0 -342
  1311. package/lib/rest/video/v1/recording.js +0 -242
  1312. package/lib/rest/video/v1/recordingSettings.d.ts +0 -158
  1313. package/lib/rest/video/v1/recordingSettings.js +0 -155
  1314. package/lib/rest/video/v1/room/participant/anonymize.d.ts +0 -145
  1315. package/lib/rest/video/v1/room/participant/anonymize.js +0 -138
  1316. package/lib/rest/video/v1/room/participant/publishedTrack.d.ts +0 -239
  1317. package/lib/rest/video/v1/room/participant/publishedTrack.js +0 -203
  1318. package/lib/rest/video/v1/room/participant/subscribeRules.d.ts +0 -102
  1319. package/lib/rest/video/v1/room/participant/subscribeRules.js +0 -107
  1320. package/lib/rest/video/v1/room/participant/subscribedTrack.d.ts +0 -245
  1321. package/lib/rest/video/v1/room/participant/subscribedTrack.js +0 -205
  1322. package/lib/rest/video/v1/room/participant.d.ts +0 -353
  1323. package/lib/rest/video/v1/room/participant.js +0 -291
  1324. package/lib/rest/video/v1/room/recordingRules.d.ts +0 -94
  1325. package/lib/rest/video/v1/room/recordingRules.js +0 -102
  1326. package/lib/rest/video/v1/room/roomRecording.d.ts +0 -326
  1327. package/lib/rest/video/v1/room/roomRecording.js +0 -242
  1328. package/lib/rest/video/v1/room/transcriptions.d.ts +0 -315
  1329. package/lib/rest/video/v1/room/transcriptions.js +0 -253
  1330. package/lib/rest/video/v1/room.d.ts +0 -459
  1331. package/lib/rest/video/v1/room.js +0 -362
  1332. package/lib/rest/voice/V1.d.ts +0 -40
  1333. package/lib/rest/voice/V1.js +0 -69
  1334. package/lib/rest/voice/v1/archivedCall.d.ts +0 -50
  1335. package/lib/rest/voice/v1/archivedCall.js +0 -73
  1336. package/lib/rest/voice/v1/byocTrunk.d.ts +0 -389
  1337. package/lib/rest/voice/v1/byocTrunk.js +0 -312
  1338. package/lib/rest/voice/v1/connectionPolicy/connectionPolicyTarget.d.ts +0 -339
  1339. package/lib/rest/voice/v1/connectionPolicy/connectionPolicyTarget.js +0 -288
  1340. package/lib/rest/voice/v1/connectionPolicy.d.ts +0 -313
  1341. package/lib/rest/voice/v1/connectionPolicy.js +0 -273
  1342. package/lib/rest/voice/v1/dialingPermissions/bulkCountryUpdate.d.ts +0 -58
  1343. package/lib/rest/voice/v1/dialingPermissions/bulkCountryUpdate.js +0 -78
  1344. package/lib/rest/voice/v1/dialingPermissions/country/highriskSpecialPrefix.d.ts +0 -142
  1345. package/lib/rest/voice/v1/dialingPermissions/country/highriskSpecialPrefix.js +0 -123
  1346. package/lib/rest/voice/v1/dialingPermissions/country.d.ts +0 -278
  1347. package/lib/rest/voice/v1/dialingPermissions/country.js +0 -218
  1348. package/lib/rest/voice/v1/dialingPermissions/settings.d.ts +0 -128
  1349. package/lib/rest/voice/v1/dialingPermissions/settings.js +0 -134
  1350. package/lib/rest/voice/v1/dialingPermissions.d.ts +0 -24
  1351. package/lib/rest/voice/v1/dialingPermissions.js +0 -59
  1352. package/lib/rest/voice/v1/ipRecord.d.ts +0 -307
  1353. package/lib/rest/voice/v1/ipRecord.js +0 -264
  1354. package/lib/rest/voice/v1/sourceIpMapping.d.ts +0 -277
  1355. package/lib/rest/voice/v1/sourceIpMapping.js +0 -260
  1356. package/lib/rest/wireless/V1.d.ts +0 -30
  1357. package/lib/rest/wireless/V1.js +0 -54
  1358. package/lib/rest/wireless/v1/command.d.ts +0 -325
  1359. package/lib/rest/wireless/v1/command.js +0 -260
  1360. package/lib/rest/wireless/v1/ratePlan.d.ts +0 -387
  1361. package/lib/rest/wireless/v1/ratePlan.js +0 -303
  1362. package/lib/rest/wireless/v1/sim/dataSession.d.ts +0 -232
  1363. package/lib/rest/wireless/v1/sim/dataSession.js +0 -153
  1364. package/lib/rest/wireless/v1/sim/usageRecord.d.ts +0 -188
  1365. package/lib/rest/wireless/v1/sim/usageRecord.js +0 -137
  1366. package/lib/rest/wireless/v1/sim.d.ts +0 -465
  1367. package/lib/rest/wireless/v1/sim.js +0 -339
  1368. package/lib/rest/wireless/v1/usageRecord.d.ts +0 -181
  1369. package/lib/rest/wireless/v1/usageRecord.js +0 -131
  1370. package/lib/twiml/FaxResponse.d.ts +0 -66
  1371. package/lib/twiml/FaxResponse.js +0 -66
  1372. package/lib/twiml/MessagingResponse.d.ts +0 -117
  1373. package/lib/twiml/MessagingResponse.js +0 -119
  1374. package/lib/twiml/TwiML.d.ts +0 -42
  1375. package/lib/twiml/TwiML.js +0 -83
  1376. package/lib/twiml/VoiceResponse.d.ts +0 -2885
  1377. package/lib/twiml/VoiceResponse.js +0 -1632
  1378. package/lib/webhooks/webhooks.d.ts +0 -134
  1379. package/lib/webhooks/webhooks.js +0 -322
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "twilio",
3
3
  "description": "A Twilio helper library",
4
- "version": "5.10.7",
4
+ "version": "5.11.0",
5
5
  "author": "API Team <api@twilio.com>",
6
6
  "contributors": [
7
7
  {
@@ -1,7 +0,0 @@
1
- export default abstract class AuthStrategy {
2
- private authType;
3
- protected constructor(authType: string);
4
- getAuthType(): string;
5
- abstract getAuthString(): Promise<string>;
6
- abstract requiresAuthentication(): boolean;
7
- }
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- class AuthStrategy {
4
- constructor(authType) {
5
- this.authType = authType;
6
- }
7
- getAuthType() {
8
- return this.authType;
9
- }
10
- }
11
- exports.default = AuthStrategy;
@@ -1,8 +0,0 @@
1
- import AuthStrategy from "./AuthStrategy";
2
- export default class BasicAuthStrategy extends AuthStrategy {
3
- private username;
4
- private password;
5
- constructor(username: string, password: string);
6
- getAuthString(): Promise<string>;
7
- requiresAuthentication(): boolean;
8
- }
@@ -1,21 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const AuthStrategy_1 = __importDefault(require("./AuthStrategy"));
7
- class BasicAuthStrategy extends AuthStrategy_1.default {
8
- constructor(username, password) {
9
- super("basic");
10
- this.username = username;
11
- this.password = password;
12
- }
13
- getAuthString() {
14
- const auth = Buffer.from(this.username + ":" + this.password).toString("base64");
15
- return Promise.resolve(`Basic ${auth}`);
16
- }
17
- requiresAuthentication() {
18
- return true;
19
- }
20
- }
21
- exports.default = BasicAuthStrategy;
@@ -1,6 +0,0 @@
1
- import AuthStrategy from "./AuthStrategy";
2
- export default class NoAuthStrategy extends AuthStrategy {
3
- constructor();
4
- getAuthString(): Promise<string>;
5
- requiresAuthentication(): boolean;
6
- }
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const AuthStrategy_1 = __importDefault(require("./AuthStrategy"));
7
- class NoAuthStrategy extends AuthStrategy_1.default {
8
- constructor() {
9
- super("noauth");
10
- }
11
- getAuthString() {
12
- return Promise.resolve("");
13
- }
14
- requiresAuthentication() {
15
- return false;
16
- }
17
- }
18
- exports.default = NoAuthStrategy;
@@ -1,16 +0,0 @@
1
- import AuthStrategy from "./AuthStrategy";
2
- import TokenManager from "../http/bearer_token/TokenManager";
3
- export default class TokenAuthStrategy extends AuthStrategy {
4
- private token;
5
- private tokenManager;
6
- constructor(tokenManager: TokenManager);
7
- getAuthString(): Promise<string>;
8
- requiresAuthentication(): boolean;
9
- fetchToken(): Promise<string>;
10
- /**
11
- * Function to check if the token is expired with a buffer of 30 seconds.
12
- * @param token - The JWT token as a string.
13
- * @returns Boolean indicating if the token is expired.
14
- */
15
- isTokenExpired(token: string): boolean;
16
- }
@@ -1,60 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const AuthStrategy_1 = __importDefault(require("./AuthStrategy"));
7
- const jsonwebtoken_1 = __importDefault(require("jsonwebtoken"));
8
- class TokenAuthStrategy extends AuthStrategy_1.default {
9
- constructor(tokenManager) {
10
- super("token");
11
- this.token = "";
12
- this.tokenManager = tokenManager;
13
- }
14
- async getAuthString() {
15
- return this.fetchToken()
16
- .then((token) => {
17
- this.token = token;
18
- return `Bearer ${this.token}`;
19
- })
20
- .catch((error) => {
21
- throw new Error(`Failed to fetch access token: ${error.message}`);
22
- });
23
- }
24
- requiresAuthentication() {
25
- return true;
26
- }
27
- async fetchToken() {
28
- if (this.token == null ||
29
- this.token.length === 0 ||
30
- this.isTokenExpired(this.token)) {
31
- return this.tokenManager.fetchToken();
32
- }
33
- return Promise.resolve(this.token);
34
- }
35
- /**
36
- * Function to check if the token is expired with a buffer of 30 seconds.
37
- * @param token - The JWT token as a string.
38
- * @returns Boolean indicating if the token is expired.
39
- */
40
- isTokenExpired(token) {
41
- try {
42
- // Decode the token without verifying the signature, as we only want to read the expiration for this check
43
- const decoded = jsonwebtoken_1.default.decode(token);
44
- if (!decoded || !decoded.exp) {
45
- // If the token doesn't have an expiration, consider it expired
46
- return true;
47
- }
48
- const expiresAt = decoded.exp * 1000;
49
- const bufferMilliseconds = 30 * 1000;
50
- const bufferExpiresAt = expiresAt - bufferMilliseconds;
51
- // Return true if the current time is after the expiration time with buffer
52
- return Date.now() > bufferExpiresAt;
53
- }
54
- catch (error) {
55
- // If there's an error decoding the token, consider it expired
56
- return true;
57
- }
58
- }
59
- }
60
- exports.default = TokenAuthStrategy;
@@ -1,122 +0,0 @@
1
- import RequestClient from "./RequestClient";
2
- import { ValidationClientOptions } from "./ValidationClient";
3
- import { HttpMethod } from "../interfaces";
4
- import { Headers } from "../http/request";
5
- import AuthStrategy from "../auth_strategy/AuthStrategy";
6
- import CredentialProvider from "../credential_provider/CredentialProvider";
7
- declare namespace Twilio {
8
- const regionToEdgeMap: Map<string, string>;
9
- interface ClientOpts {
10
- httpClient?: RequestClient;
11
- accountSid?: string;
12
- env?: NodeJS.ProcessEnv;
13
- edge?: string;
14
- region?: string;
15
- lazyLoading?: boolean;
16
- logLevel?: string;
17
- userAgentExtensions?: string[];
18
- autoRetry?: boolean;
19
- maxRetryDelay?: number;
20
- maxRetries?: number;
21
- validationClient?: ValidationClientOptions;
22
- /**
23
- https.Agent options
24
- */
25
- timeout?: number;
26
- keepAlive?: boolean;
27
- keepAliveMsecs?: number;
28
- maxSockets?: number;
29
- maxTotalSockets?: number;
30
- maxFreeSockets?: number;
31
- scheduling?: "fifo" | "lifo" | undefined;
32
- ca?: string | Buffer;
33
- }
34
- interface RequestOpts {
35
- method?: HttpMethod;
36
- uri?: string;
37
- username?: string;
38
- password?: string;
39
- authStrategy?: AuthStrategy;
40
- headers?: Headers;
41
- params?: object;
42
- data?: object;
43
- timeout?: number;
44
- allowRedirects?: boolean;
45
- logLevel?: string;
46
- }
47
- /**
48
- * Parent class for Twilio Client that implements request & validation logic
49
- */
50
- class Client {
51
- username?: string;
52
- password?: string;
53
- accountSid: string;
54
- credentialProvider?: CredentialProvider;
55
- opts?: ClientOpts;
56
- env?: NodeJS.ProcessEnv;
57
- edge?: string;
58
- region?: string;
59
- logLevel?: string;
60
- autoRetry?: boolean;
61
- maxRetryDelay?: number;
62
- maxRetries?: number;
63
- validationClient?: ValidationClientOptions;
64
- /**
65
- https.Agent options
66
- */
67
- timeout?: number;
68
- keepAlive?: boolean;
69
- keepAliveMsecs?: number;
70
- maxSockets?: number;
71
- maxTotalSockets?: number;
72
- maxFreeSockets?: number;
73
- scheduling?: "fifo" | "lifo" | undefined;
74
- ca?: string | Buffer;
75
- userAgentExtensions?: string[];
76
- _httpClient?: RequestClient;
77
- /**
78
- * Create a BaseTwilio instance
79
- *
80
- * @param username -
81
- * The username used for authentication. This is normally account sid, but if using key/secret auth will be
82
- * the api key sid.
83
- * @param password -
84
- * The password used for authentication. This is normally auth token, but if using key/secret auth will be
85
- * the secret.
86
- * @param opts - The options argument
87
- *
88
- * @returns A new instance of BaseTwilio
89
- */
90
- constructor(username?: string, password?: string, opts?: ClientOpts);
91
- setOpts(opts?: ClientOpts): void;
92
- setAccountSid(accountSid?: string): void;
93
- setCredentialProvider(credentialProvider: CredentialProvider): void;
94
- invalidateBasicAuth(): void;
95
- invalidateOAuth(): void;
96
- get httpClient(): RequestClient;
97
- /**
98
- * Makes a request to the Twilio API using the configured http client.
99
- * Authentication information is automatically added if none is provided.
100
- *
101
- * @param opts - The options argument
102
- */
103
- request(opts: RequestOpts): Promise<any>;
104
- /**
105
- * Adds a region and/or edge to a given hostname
106
- *
107
- * @param hostname - A URI hostname (e.g. api.twilio.com)
108
- * @param targetEdge - The targeted edge location (e.g. sydney)
109
- * @param targetRegion - The targeted region location (e.g. au1)
110
- */
111
- getHostname(hostname: string, targetEdge: string | undefined, targetRegion: string | undefined): string;
112
- /**
113
- * Test if your environment is impacted by a TLS or certificate
114
- * change is by sending an HTTP request to the test endpoint
115
- *
116
- * @throws RestException if the request fails
117
- *
118
- */
119
- validateSslCert(): Promise<any>;
120
- }
121
- }
122
- export = Twilio;
@@ -1,254 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- const RequestClient_1 = __importDefault(require("./RequestClient")); /* jshint ignore:line */
6
- const os = require("os"); /* jshint ignore:line */
7
- const url = require("url"); /* jshint ignore:line */
8
- const moduleInfo = require("../../package.json"); /* jshint ignore:line */
9
- const util = require("util"); /* jshint ignore:line */
10
- const RestException = require("../base/RestException"); /* jshint ignore:line */
11
- var Twilio;
12
- (function (Twilio) {
13
- Twilio.regionToEdgeMap = new Map([
14
- ["au1", "sydney"],
15
- ["br1", "sao-paulo"],
16
- ["de1", "frankfurt"],
17
- ["ie1", "dublin"],
18
- ["jp1", "tokyo"],
19
- ["jp2", "osaka"],
20
- ["sg1", "singapore"],
21
- ["us1", "ashburn"],
22
- ["us2", "umatilla"],
23
- ]);
24
- /* jshint ignore:start */
25
- /**
26
- * Parent class for Twilio Client that implements request & validation logic
27
- */
28
- /* jshint ignore:end */
29
- class Client {
30
- /* jshint ignore:start */
31
- /**
32
- * Create a BaseTwilio instance
33
- *
34
- * @param username -
35
- * The username used for authentication. This is normally account sid, but if using key/secret auth will be
36
- * the api key sid.
37
- * @param password -
38
- * The password used for authentication. This is normally auth token, but if using key/secret auth will be
39
- * the secret.
40
- * @param opts - The options argument
41
- *
42
- * @returns A new instance of BaseTwilio
43
- */
44
- /* jshint ignore:end */
45
- constructor(username, password, opts) {
46
- this.setOpts(opts);
47
- this.username =
48
- username ??
49
- this.env?.TWILIO_ACCOUNT_SID ??
50
- process.env.TWILIO_ACCOUNT_SID;
51
- this.password =
52
- password ??
53
- this.env?.TWILIO_AUTH_TOKEN ??
54
- process.env.TWILIO_AUTH_TOKEN;
55
- this.accountSid = "";
56
- this.setAccountSid(this.opts?.accountSid || this.username);
57
- this.invalidateOAuth();
58
- }
59
- setOpts(opts) {
60
- this.opts = opts || {};
61
- this.env = this.opts.env || {};
62
- this.edge =
63
- this.opts.edge ?? this.env.TWILIO_EDGE ?? process.env.TWILIO_EDGE;
64
- this.region =
65
- this.opts.region ?? this.env.TWILIO_REGION ?? process.env.TWILIO_REGION;
66
- this.logLevel =
67
- this.opts.logLevel ??
68
- this.env.TWILIO_LOG_LEVEL ??
69
- process.env.TWILIO_LOG_LEVEL;
70
- this.timeout = this.opts.timeout;
71
- this.keepAlive = this.opts.keepAlive;
72
- this.keepAliveMsecs = this.opts.keepAliveMsecs;
73
- this.maxSockets = this.opts.maxSockets;
74
- this.maxTotalSockets = this.opts.maxTotalSockets;
75
- this.maxFreeSockets = this.opts.maxFreeSockets;
76
- this.scheduling = this.opts.scheduling;
77
- this.ca = this.opts.ca;
78
- this.autoRetry = this.opts.autoRetry || false;
79
- this.maxRetryDelay = this.opts.maxRetryDelay;
80
- this.maxRetries = this.opts.maxRetries;
81
- this.validationClient = this.opts.validationClient;
82
- this.userAgentExtensions = this.opts.userAgentExtensions || [];
83
- this._httpClient = this.opts.httpClient;
84
- if (this.opts.lazyLoading === false) {
85
- this._httpClient = this.httpClient;
86
- }
87
- }
88
- setAccountSid(accountSid) {
89
- this.accountSid = accountSid || "";
90
- if (this.accountSid && !this.accountSid?.startsWith("AC")) {
91
- const apiKeyMsg = this.accountSid?.startsWith("SK")
92
- ? ". The given SID indicates an API Key which requires the accountSid to be passed as an additional option"
93
- : "";
94
- throw new Error("accountSid must start with AC" + apiKeyMsg);
95
- }
96
- }
97
- setCredentialProvider(credentialProvider) {
98
- this.credentialProvider = credentialProvider;
99
- this.accountSid = "";
100
- this.invalidateBasicAuth();
101
- }
102
- invalidateBasicAuth() {
103
- this.username = undefined;
104
- this.password = undefined;
105
- }
106
- invalidateOAuth() {
107
- this.credentialProvider = undefined;
108
- }
109
- get httpClient() {
110
- if (!this._httpClient) {
111
- this._httpClient = new RequestClient_1.default({
112
- timeout: this.timeout,
113
- keepAlive: this.keepAlive,
114
- keepAliveMsecs: this.keepAliveMsecs,
115
- maxSockets: this.maxSockets,
116
- maxTotalSockets: this.maxTotalSockets,
117
- maxFreeSockets: this.maxFreeSockets,
118
- scheduling: this.scheduling,
119
- ca: this.ca,
120
- autoRetry: this.autoRetry,
121
- maxRetryDelay: this.maxRetryDelay,
122
- maxRetries: this.maxRetries,
123
- validationClient: this.validationClient,
124
- });
125
- }
126
- return this._httpClient;
127
- }
128
- /* jshint ignore:start */
129
- /**
130
- * Makes a request to the Twilio API using the configured http client.
131
- * Authentication information is automatically added if none is provided.
132
- *
133
- * @param opts - The options argument
134
- */
135
- /* jshint ignore:end */
136
- request(opts) {
137
- if ((this.edge !== undefined && this.region === undefined) ||
138
- (this.edge === undefined && this.region !== undefined)) {
139
- console.warn("[DEPRECATION WARNING] For regional processing, DNS is of format product.edge.region.twilio.com;otherwise use product.twilio.com");
140
- }
141
- if (this.region !== undefined && this.edge === undefined) {
142
- const mappedEdge = Twilio.regionToEdgeMap.get(this.region);
143
- if (mappedEdge) {
144
- console.warn("Setting edge value from the region mapping");
145
- this.edge = mappedEdge;
146
- }
147
- }
148
- opts = opts || {};
149
- if (!opts.method) {
150
- throw new Error("method is required");
151
- }
152
- if (!opts.uri) {
153
- throw new Error("uri is required");
154
- }
155
- const username = opts.username || this.username;
156
- const password = opts.password || this.password;
157
- const authStrategy = opts.authStrategy || this.credentialProvider?.toAuthStrategy();
158
- if (!authStrategy) {
159
- if (!username) {
160
- (() => {
161
- throw new Error("username is required");
162
- })();
163
- }
164
- if (!password) {
165
- (() => {
166
- throw new Error("password is required");
167
- })();
168
- }
169
- }
170
- const headers = opts.headers || {};
171
- const pkgVersion = moduleInfo.version;
172
- const osName = os.platform();
173
- const osArch = os.arch();
174
- const nodeVersion = process.version;
175
- headers["User-Agent"] = util.format("twilio-node/%s (%s %s) node/%s", pkgVersion, osName, osArch, nodeVersion);
176
- this.userAgentExtensions?.forEach((extension) => {
177
- headers["User-Agent"] += ` ${extension}`;
178
- });
179
- headers["Accept-Charset"] = "utf-8";
180
- if ((opts.method === "post" || opts.method === "put") &&
181
- !headers["Content-Type"]) {
182
- headers["Content-Type"] = "application/x-www-form-urlencoded";
183
- }
184
- if (opts.method !== "delete" && !headers["Accept"]) {
185
- headers["Accept"] = "application/json";
186
- }
187
- var uri = new url.URL(opts.uri);
188
- uri.hostname = this.getHostname(uri.hostname, this.edge, this.region);
189
- return this.httpClient?.request({
190
- method: opts.method,
191
- uri: uri.href,
192
- username: username,
193
- password: password,
194
- authStrategy: authStrategy,
195
- headers: headers,
196
- params: opts.params,
197
- data: opts.data,
198
- timeout: opts.timeout,
199
- allowRedirects: opts.allowRedirects,
200
- // use the Twilio client's log-level if the httpClient's log-level is unspecified
201
- logLevel: opts.logLevel || this.opts?.logLevel,
202
- });
203
- }
204
- /* jshint ignore:start */
205
- /**
206
- * Adds a region and/or edge to a given hostname
207
- *
208
- * @param hostname - A URI hostname (e.g. api.twilio.com)
209
- * @param targetEdge - The targeted edge location (e.g. sydney)
210
- * @param targetRegion - The targeted region location (e.g. au1)
211
- */
212
- /* jshint ignore:end */
213
- getHostname(hostname, targetEdge, targetRegion) {
214
- const defaultRegion = "us1";
215
- const domain = hostname.split(".").slice(-2).join(".");
216
- const prefix = hostname.split("." + domain)[0];
217
- let [product, edge, region] = prefix.split(".");
218
- if (edge && !region) {
219
- region = edge;
220
- edge = undefined;
221
- }
222
- region = targetRegion || region || (targetEdge && defaultRegion);
223
- if (!region) {
224
- return hostname;
225
- }
226
- edge = targetEdge || edge;
227
- return [product, edge, region, domain].filter((part) => part).join(".");
228
- }
229
- /* jshint ignore:start */
230
- /**
231
- * Test if your environment is impacted by a TLS or certificate
232
- * change is by sending an HTTP request to the test endpoint
233
- *
234
- * @throws RestException if the request fails
235
- *
236
- */
237
- /* jshint ignore:end */
238
- validateSslCert() {
239
- return this.httpClient
240
- ?.request({
241
- method: "get",
242
- uri: "https://tls-test.twilio.com:443",
243
- })
244
- .then((response) => {
245
- if (response["statusCode"] < 200 || response["statusCode"] >= 300) {
246
- throw new RestException(response);
247
- }
248
- return response;
249
- });
250
- }
251
- }
252
- Twilio.Client = Client;
253
- })(Twilio || (Twilio = {}));
254
- module.exports = Twilio;
@@ -1,29 +0,0 @@
1
- import { Client as BaseTwilio, RequestOpts } from "./BaseTwilio";
2
- /**
3
- * Base domain object
4
- */
5
- export default class Domain {
6
- twilio: BaseTwilio;
7
- baseUrl: string;
8
- /**
9
- * Creates a Domain instance
10
- *
11
- * @param twilio - A Twilio Client
12
- * @param baseUrl - Base url for this domain
13
- */
14
- constructor(twilio: BaseTwilio, baseUrl: string);
15
- /**
16
- * Turn a uri into an absolute url
17
- *
18
- * @param uri - uri to transform
19
- * @returns absolute url
20
- */
21
- absoluteUrl(uri?: string): string;
22
- /**
23
- * Make request to this domain
24
- *
25
- * @param opts - request options
26
- * @returns request promise
27
- */
28
- request(opts: RequestOpts): Promise<any>;
29
- }
@@ -1,53 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const utility_1 = require("./utility");
4
- /**
5
- * Base domain object
6
- */
7
- class Domain {
8
- /**
9
- * Creates a Domain instance
10
- *
11
- * @param twilio - A Twilio Client
12
- * @param baseUrl - Base url for this domain
13
- */
14
- constructor(twilio, baseUrl) {
15
- this.twilio = twilio;
16
- this.baseUrl = baseUrl;
17
- }
18
- /**
19
- * Turn a uri into an absolute url
20
- *
21
- * @param uri - uri to transform
22
- * @returns absolute url
23
- */
24
- absoluteUrl(uri) {
25
- var result = "";
26
- if (typeof this.baseUrl === "string") {
27
- const cleanBaseUrl = (0, utility_1.trim)(this.baseUrl, "/");
28
- result += cleanBaseUrl;
29
- result += "/";
30
- }
31
- if (typeof uri === "string") {
32
- uri = (0, utility_1.trim)(uri, "/");
33
- if (result === "") {
34
- result += "/";
35
- }
36
- result += uri;
37
- }
38
- return result;
39
- }
40
- /**
41
- * Make request to this domain
42
- *
43
- * @param opts - request options
44
- * @returns request promise
45
- */
46
- request(opts) {
47
- return this.twilio.request({
48
- ...opts,
49
- uri: this.absoluteUrl(opts.uri),
50
- });
51
- }
52
- }
53
- exports.default = Domain;