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