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
@@ -0,0 +1,2448 @@
1
+ /**
2
+ * This code was generated by
3
+ * \ / _ _ _| _ _
4
+ * | (_)\/(_)(_|\/| |(/_ v1.0.0
5
+ * / /
6
+ */
7
+ import { XMLElement } from "xmlbuilder";
8
+ import TwiML from "./TwiML";
9
+ declare class VoiceResponse extends TwiML {
10
+ /**
11
+ * <Response> TwiML for Voice
12
+ */
13
+ constructor();
14
+ /**
15
+ * Comments in <Response>
16
+ *
17
+ * @param comment - XML Comment
18
+ */
19
+ comment(comment: string): XMLElement;
20
+ /**
21
+ * Comments after <Response>
22
+ *
23
+ * @param comment - XML Comment
24
+ */
25
+ commentAfter(comment: string): XMLElement;
26
+ /**
27
+ * Comments before <Response>
28
+ *
29
+ * @param comment - XML Comment
30
+ */
31
+ commentBefore(comment: string): XMLElement;
32
+ /**
33
+ * <Connect> TwiML Verb
34
+ *
35
+ * @param attributes - TwiML attributes
36
+ */
37
+ connect(attributes?: VoiceResponse.ConnectAttributes): VoiceResponse.Connect;
38
+ /**
39
+ * <Dial> TwiML Verb
40
+ *
41
+ * @param attributes - TwiML attributes
42
+ * @param number - Phone number to dial
43
+ */
44
+ dial(number?: string): VoiceResponse.Dial;
45
+ dial(attributes?: VoiceResponse.DialAttributes, number?: string): VoiceResponse.Dial;
46
+ /**
47
+ * <Echo> TwiML Verb
48
+ *
49
+ * @param attributes - TwiML attributes
50
+ */
51
+ echo(attributes?: object): VoiceResponse.Echo;
52
+ /**
53
+ * <Enqueue> TwiML Noun
54
+ *
55
+ * @param attributes - TwiML attributes
56
+ * @param name - Friendly name
57
+ */
58
+ enqueue(name?: string): VoiceResponse.Enqueue;
59
+ enqueue(attributes?: VoiceResponse.EnqueueAttributes, name?: string): VoiceResponse.Enqueue;
60
+ /**
61
+ * <Gather> TwiML Verb
62
+ *
63
+ * @param attributes - TwiML attributes
64
+ */
65
+ gather(attributes?: VoiceResponse.GatherAttributes): VoiceResponse.Gather;
66
+ /**
67
+ * <Hangup> TwiML Verb
68
+ *
69
+ * @param attributes - TwiML attributes
70
+ */
71
+ hangup(attributes?: object): VoiceResponse.Hangup;
72
+ /**
73
+ * <Leave> TwiML Verb
74
+ *
75
+ * @param attributes - TwiML attributes
76
+ */
77
+ leave(attributes?: object): VoiceResponse.Leave;
78
+ /**
79
+ * <Pause> TwiML Verb
80
+ *
81
+ * @param attributes - TwiML attributes
82
+ */
83
+ pause(attributes?: VoiceResponse.PauseAttributes): VoiceResponse.Pause;
84
+ /**
85
+ * <Pay> Twiml Verb
86
+ *
87
+ * @param attributes - TwiML attributes
88
+ */
89
+ pay(attributes?: VoiceResponse.PayAttributes): VoiceResponse.Pay;
90
+ /**
91
+ * <Play> TwiML Verb
92
+ *
93
+ * @param attributes - TwiML attributes
94
+ * @param url - Media URL
95
+ */
96
+ play(url?: string): VoiceResponse.Play;
97
+ play(attributes?: VoiceResponse.PlayAttributes, url?: string): VoiceResponse.Play;
98
+ /**
99
+ * <Prompt> Twiml Verb
100
+ *
101
+ * @param attributes - TwiML attributes
102
+ */
103
+ prompt(attributes?: VoiceResponse.PromptAttributes): VoiceResponse.Prompt;
104
+ /**
105
+ * <Queue> TwiML Noun
106
+ *
107
+ * @param attributes - TwiML attributes
108
+ * @param name - Queue name
109
+ */
110
+ queue(name: string): VoiceResponse.Queue;
111
+ queue(attributes: VoiceResponse.QueueAttributes, name: string): VoiceResponse.Queue;
112
+ /**
113
+ * <Record> TwiML Verb
114
+ *
115
+ * @param attributes - TwiML attributes
116
+ */
117
+ record(attributes?: VoiceResponse.RecordAttributes): VoiceResponse.Record;
118
+ /**
119
+ * <Redirect> TwiML Verb
120
+ *
121
+ * @param attributes - TwiML attributes
122
+ * @param url - Redirect URL
123
+ */
124
+ redirect(url: string): VoiceResponse.Redirect;
125
+ redirect(attributes: VoiceResponse.RedirectAttributes, url: string): VoiceResponse.Redirect;
126
+ /**
127
+ * <Refer> TwiML Verb
128
+ *
129
+ * @param attributes - TwiML attributes
130
+ */
131
+ refer(attributes?: VoiceResponse.ReferAttributes): VoiceResponse.Refer;
132
+ /**
133
+ * <Reject> TwiML Verb
134
+ *
135
+ * @param attributes - TwiML attributes
136
+ */
137
+ reject(attributes?: VoiceResponse.RejectAttributes): VoiceResponse.Reject;
138
+ /**
139
+ * <Say> TwiML Verb
140
+ *
141
+ * @param attributes - TwiML attributes
142
+ * @param message - Message to say
143
+ */
144
+ say(message: string): VoiceResponse.Say;
145
+ say(attributes: VoiceResponse.SayAttributes, message: string): VoiceResponse.Say;
146
+ /**
147
+ * <Sms> TwiML Noun
148
+ *
149
+ * @param attributes - TwiML attributes
150
+ * @param message - Message body
151
+ */
152
+ sms(message: string): VoiceResponse.Sms;
153
+ sms(attributes: VoiceResponse.SmsAttributes, message: string): VoiceResponse.Sms;
154
+ /**
155
+ * <Start> TwiML Verb
156
+ *
157
+ * @param attributes - TwiML attributes
158
+ */
159
+ start(attributes?: VoiceResponse.StartAttributes): VoiceResponse.Start;
160
+ /**
161
+ * <Stop> TwiML Verb
162
+ *
163
+ * @param attributes - TwiML attributes
164
+ */
165
+ stop(attributes?: object): VoiceResponse.Stop;
166
+ }
167
+ declare namespace VoiceResponse {
168
+ type ApplicationEvent = "initiated" | "ringing" | "answered" | "completed";
169
+ type ClientEvent = "initiated" | "ringing" | "answered" | "completed";
170
+ type ConferenceBeep = "true" | "false" | "onEnter" | "onExit";
171
+ type ConferenceEvent = "start" | "end" | "join" | "leave" | "mute" | "hold" | "modify" | "speaker" | "announcement";
172
+ type ConferenceJitterBufferSize = "large" | "medium" | "small" | "off";
173
+ type ConferenceRecord = "do-not-record" | "record-from-start";
174
+ type ConferenceRecordingEvent = "in-progress" | "completed" | "absent";
175
+ type ConferenceRegion = "us1" | "ie1" | "sg1" | "br1" | "au1" | "jp1" | "de1";
176
+ type ConferenceTrim = "trim-silence" | "do-not-trim";
177
+ type ConversationEvent = "call-initiated" | "call-ringing" | "call-answered" | "call-completed";
178
+ type ConversationRecord = "do-not-record" | "record-from-answer" | "record-from-ringing" | "record-from-answer-dual" | "record-from-ringing-dual" | "true" | "false";
179
+ type ConversationRecordingEvent = "in-progress" | "completed" | "absent";
180
+ type ConversationTrim = "trim-silence" | "do-not-trim";
181
+ type DialRecord = "do-not-record" | "record-from-answer" | "record-from-ringing" | "record-from-answer-dual" | "record-from-ringing-dual";
182
+ type DialRecordingEvent = "in-progress" | "completed" | "absent";
183
+ type DialRecordingTrack = "both" | "inbound" | "outbound";
184
+ type DialRingTone = "at" | "au" | "bg" | "br" | "be" | "ch" | "cl" | "cn" | "cz" | "de" | "dk" | "ee" | "es" | "fi" | "fr" | "gr" | "hu" | "il" | "in" | "it" | "lt" | "jp" | "mx" | "my" | "nl" | "no" | "nz" | "ph" | "pl" | "pt" | "ru" | "se" | "sg" | "th" | "uk" | "us" | "us-old" | "tw" | "ve" | "za";
185
+ type DialTrim = "trim-silence" | "do-not-trim";
186
+ type GatherInput = "dtmf" | "speech";
187
+ type GatherLanguage = "af-ZA" | "am-ET" | "ar-AE" | "ar-BH" | "ar-DZ" | "ar-EG" | "ar-IL" | "ar-IQ" | "ar-JO" | "ar-KW" | "ar-LB" | "ar-MA" | "ar-OM" | "ar-PS" | "ar-QA" | "ar-SA" | "ar-TN" | "az-AZ" | "bg-BG" | "bn-BD" | "bn-IN" | "ca-ES" | "cs-CZ" | "da-DK" | "de-DE" | "el-GR" | "en-AU" | "en-CA" | "en-GB" | "en-GH" | "en-IE" | "en-IN" | "en-KE" | "en-NG" | "en-NZ" | "en-PH" | "en-SG" | "en-TZ" | "en-US" | "en-ZA" | "es-AR" | "es-BO" | "es-CL" | "es-CO" | "es-CR" | "es-DO" | "es-EC" | "es-ES" | "es-GT" | "es-HN" | "es-MX" | "es-NI" | "es-PA" | "es-PE" | "es-PR" | "es-PY" | "es-SV" | "es-US" | "es-UY" | "es-VE" | "et-EE" | "eu-ES" | "fa-IR" | "fi-FI" | "fil-PH" | "fr-CA" | "fr-FR" | "gl-ES" | "gu-IN" | "he-IL" | "hi-IN" | "hr-HR" | "hu-HU" | "hy-AM" | "id-ID" | "is-IS" | "it-IT" | "ja-JP" | "jv-ID" | "ka-GE" | "km-KH" | "kn-IN" | "ko-KR" | "lo-LA" | "lt-LT" | "lv-LV" | "mk-MK" | "ml-IN" | "mn-MN" | "mr-IN" | "ms-MY" | "my-MM" | "nar-IQ" | "nb-NO" | "ne-NP" | "nl-BE" | "nl-NL" | "pa-guru-IN" | "pl-PL" | "pt-BR" | "pt-PT" | "ro-RO" | "ru-RU" | "si-LK" | "sk-SK" | "sl-SI" | "sq-AL" | "sr-RS" | "su-ID" | "sv-SE" | "sw-KE" | "sw-TZ" | "ta-IN" | "ta-LK" | "ta-MY" | "ta-SG" | "te-IN" | "th-TH" | "tr-TR" | "uk-UA" | "ur-IN" | "ur-PK" | "uz-UZ" | "vi-VN" | "yue-Hant-HK" | "zh" | "cmn-Hans-CN" | "zh-TW" | "cmn-Hant-TW" | "zu-ZA";
188
+ type GatherSpeechModel = "default" | "numbers_and_commands" | "phone_call" | "experimental_conversations" | "experimental_utterances";
189
+ type NumberEvent = "initiated" | "ringing" | "answered" | "completed";
190
+ type PayBankAccountType = "consumer-checking" | "consumer-savings" | "commercial-checking" | "commercial-savings";
191
+ type PayInput = "dtmf";
192
+ type PayLanguage = "de-DE" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-IE" | "en-NZ" | "en-PH" | "en-ZA" | "en-US" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "it-IT";
193
+ type PayPaymentMethod = "ach-debit" | "credit-card";
194
+ type PayStatusCallbackMethod = "GET" | "POST";
195
+ type PayTokenType = "one-time" | "reusable";
196
+ type PayValidCardTypes = "visa" | "mastercard" | "amex" | "maestro" | "discover" | "optima" | "jcb" | "diners-club" | "enroute";
197
+ type PromptCardType = "visa" | "mastercard" | "amex" | "maestro" | "discover" | "optima" | "jcb" | "diners-club" | "enroute";
198
+ type PromptErrorType = "timeout" | "invalid-card-number" | "invalid-card-type" | "invalid-date" | "invalid-security-code" | "internal-error" | "input-matching-failed";
199
+ type PromptFor = "payment-card-number" | "expiration-date" | "security-code" | "postal-code" | "payment-processing" | "bank-account-number" | "bank-routing-number";
200
+ type RecordRecordingEvent = "in-progress" | "completed" | "absent";
201
+ type RecordTrim = "trim-silence" | "do-not-trim";
202
+ type RejectReason = "rejected" | "busy";
203
+ type SayLanguage = "arb" | "ca-ES" | "cy-GB" | "da-DK" | "de-DE" | "de-AT" | "en-AU" | "en-CA" | "en-GB" | "en-GB-WLS" | "en-IN" | "en-NZ" | "en-ZA" | "en-US" | "es-ES" | "es-MX" | "es-US" | "fi-FI" | "fr-CA" | "fr-FR" | "hi-IN" | "is-IS" | "it-IT" | "ja-JP" | "ko-KR" | "nb-NO" | "nl-NL" | "pl-PL" | "pt-BR" | "pt-PT" | "ro-RO" | "ru-RU" | "sv-SE" | "tr-TR" | "zh-CN" | "zh-HK" | "zh-TW";
204
+ type SayVoice = "man" | "woman" | "alice" | "Polly.Aditi" | "Polly.Amy" | "Polly.Astrid" | "Polly.Bianca" | "Polly.Brian" | "Polly.Camila" | "Polly.Carla" | "Polly.Carmen" | "Polly.Celine" | "Polly.Chantal" | "Polly.Conchita" | "Polly.Cristiano" | "Polly.Dora" | "Polly.Emma" | "Polly.Enrique" | "Polly.Ewa" | "Polly.Filiz" | "Polly.Geraint" | "Polly.Giorgio" | "Polly.Gwyneth" | "Polly.Hans" | "Polly.Ines" | "Polly.Ivy" | "Polly.Jacek" | "Polly.Jan" | "Polly.Joanna" | "Polly.Joey" | "Polly.Justin" | "Polly.Karl" | "Polly.Kendra" | "Polly.Kimberly" | "Polly.Lea" | "Polly.Liv" | "Polly.Lotte" | "Polly.Lucia" | "Polly.Lupe" | "Polly.Mads" | "Polly.Maja" | "Polly.Marlene" | "Polly.Mathieu" | "Polly.Matthew" | "Polly.Maxim" | "Polly.Mia" | "Polly.Miguel" | "Polly.Mizuki" | "Polly.Naja" | "Polly.Nicole" | "Polly.Penelope" | "Polly.Raveena" | "Polly.Ricardo" | "Polly.Ruben" | "Polly.Russell" | "Polly.Salli" | "Polly.Seoyeon" | "Polly.Takumi" | "Polly.Tatyana" | "Polly.Vicki" | "Polly.Vitoria" | "Polly.Zeina" | "Polly.Zhiyu" | "Polly.Amy-Neural" | "Polly.Aria-Neural" | "Polly.Arlet-Neural" | "Polly.Arthur-Neural" | "Polly.Ayanda-Neural" | "Polly.Bianca-Neural" | "Polly.Brian-Neural" | "Polly.Camila-Neural" | "Polly.Daniel-Neural" | "Polly.Elin-Neural" | "Polly.Emma-Neural" | "Polly.Gabrielle-Neural" | "Polly.Hala-Neural" | "Polly.Hannah-Neural" | "Polly.Hiujin-Neural" | "Polly.Ida-Neural" | "Polly.Ines-Neural" | "Polly.Ivy-Neural" | "Polly.Joanna-Neural" | "Polly.Joey-Neural" | "Polly.Justin-Neural" | "Polly.Kajal-Neural" | "Polly.Kendra-Neural" | "Polly.Kevin-Neural" | "Polly.Kimberly-Neural" | "Polly.Laura-Neural" | "Polly.Lea-Neural" | "Polly.Liam-Neural" | "Polly.Lucia-Neural" | "Polly.Lupe-Neural" | "Polly.Matthew-Neural" | "Polly.Mia-Neural" | "Polly.Ola-Neural" | "Polly.Olivia-Neural" | "Polly.Pedro-Neural" | "Polly.Salli-Neural" | "Polly.Seoyeon-Neural" | "Polly.Suvi-Neural" | "Polly.Takumi-Neural" | "Polly.Vicki-Neural" | "Polly.Vitoria-Neural" | "Polly.Zhiyu-Neural";
205
+ type SipEvent = "initiated" | "ringing" | "answered" | "completed";
206
+ type SiprecTrack = "inbound_track" | "outbound_track" | "both_tracks";
207
+ type SsmlBreakStrength = "none" | "x-weak" | "weak" | "medium" | "strong" | "x-strong";
208
+ type SsmlEmphasisLevel = "strong" | "moderate" | "reduced";
209
+ type SsmlLangXmlLang = "arb" | "ar-AE" | "ca-ES" | "cmn-CN" | "cy-GB" | "da-DK" | "de-DE" | "de-AT" | "en-AU" | "en-GB" | "en-GB-WLS" | "en-IN" | "en-NZ" | "en-US" | "en-ZA" | "es-ES" | "es-MX" | "es-US" | "fi-FI" | "fr-CA" | "fr-FR" | "hi-IN" | "is-IS" | "it-IT" | "ja-JP" | "ko-KR" | "nb-NO" | "nl-NL" | "pl-PL" | "pt-BR" | "pt-PT" | "ro-RO" | "ru-RU" | "sv-SE" | "tr-TR" | "yue-CN";
210
+ type SsmlPhonemeAlphabet = "ipa" | "x-sampa" | "x-amazon-jyutping" | "x-amazon-pinyin" | "x-amazon-pron-kana" | "x-amazon-yomigana";
211
+ type SsmlSayAsFormat = "mdy" | "dmy" | "ymd" | "md" | "dm" | "ym" | "my" | "d" | "m" | "y" | "yyyymmdd";
212
+ type SsmlSayAsInterpretAs = "characters" | "spell-out" | "cardinal" | "number" | "ordinal" | "digits" | "fraction" | "unit" | "date" | "time" | "address" | "expletive" | "telephone";
213
+ type StreamStatusCallbackMethod = "GET" | "POST";
214
+ type StreamTrack = "inbound_track" | "outbound_track" | "both_tracks";
215
+ /**
216
+ * Attributes to pass to connect
217
+ */
218
+ export interface ConnectAttributes {
219
+ /** action - Action URL */
220
+ action?: string;
221
+ /** method - Action URL method */
222
+ method?: string;
223
+ }
224
+ /**
225
+ * Attributes to pass to dial
226
+ */
227
+ export interface DialAttributes {
228
+ /** action - Action URL */
229
+ action?: string;
230
+ /** answerOnBridge - Preserve the ringing behavior of the inbound call until the Dialed call picks up */
231
+ answerOnBridge?: boolean;
232
+ /** callerId - Caller ID to display */
233
+ callerId?: string;
234
+ /** hangupOnStar - Hangup call on star press */
235
+ hangupOnStar?: boolean;
236
+ /** method - Action URL method */
237
+ method?: string;
238
+ /** record - Record the call */
239
+ record?: DialRecord;
240
+ /** recordingStatusCallback - Recording status callback URL */
241
+ recordingStatusCallback?: string;
242
+ /** recordingStatusCallbackEvent - Recording status callback events */
243
+ recordingStatusCallbackEvent?: DialRecordingEvent[];
244
+ /** recordingStatusCallbackMethod - Recording status callback URL method */
245
+ recordingStatusCallbackMethod?: string;
246
+ /** recordingTrack - To indicate which audio track should be recorded */
247
+ recordingTrack?: DialRecordingTrack;
248
+ /** referMethod - The HTTP method to use for the refer Webhook */
249
+ referMethod?: string;
250
+ /** referUrl - Webhook that will receive future SIP REFER requests */
251
+ referUrl?: string;
252
+ /** ringTone - Ringtone allows you to override the ringback tone that Twilio will play back to the caller while executing the Dial */
253
+ ringTone?: DialRingTone;
254
+ /** sequential - Used to determine if child TwiML nouns should be dialed in order, one after the other (sequential) or dial all at once (parallel). Default is false, parallel */
255
+ sequential?: boolean;
256
+ /** timeLimit - Max time length */
257
+ timeLimit?: number;
258
+ /** timeout - Time to wait for answer */
259
+ timeout?: number;
260
+ /** trim - Trim the recording */
261
+ trim?: DialTrim;
262
+ }
263
+ /**
264
+ * Attributes to pass to enqueue
265
+ */
266
+ export interface EnqueueAttributes {
267
+ /** action - Action URL */
268
+ action?: string;
269
+ /** maxQueueSize - Maximum size of queue */
270
+ maxQueueSize?: number;
271
+ /** method - Action URL method */
272
+ method?: string;
273
+ /** waitUrl - Wait URL */
274
+ waitUrl?: string;
275
+ /** waitUrlMethod - Wait URL method */
276
+ waitUrlMethod?: string;
277
+ /** workflowSid - TaskRouter Workflow SID */
278
+ workflowSid?: string;
279
+ }
280
+ /**
281
+ * Attributes to pass to gather
282
+ */
283
+ export interface GatherAttributes {
284
+ /** action - Action URL */
285
+ action?: string;
286
+ /** actionOnEmptyResult - Force webhook to the action URL event if there is no input */
287
+ actionOnEmptyResult?: boolean;
288
+ /** bargeIn - Stop playing media upon speech */
289
+ bargeIn?: boolean;
290
+ /** debug - Allow debug for gather */
291
+ debug?: boolean;
292
+ /** enhanced - Use enhanced speech model */
293
+ enhanced?: boolean;
294
+ /** finishOnKey - Finish gather on key */
295
+ finishOnKey?: string;
296
+ /** hints - Speech recognition hints */
297
+ hints?: string;
298
+ /** input - Input type Twilio should accept */
299
+ input?: GatherInput[];
300
+ /** language - Language to use */
301
+ language?: GatherLanguage;
302
+ /** maxSpeechTime - Max allowed time for speech input */
303
+ maxSpeechTime?: number;
304
+ /** method - Action URL method */
305
+ method?: string;
306
+ /** numDigits - Number of digits to collect */
307
+ numDigits?: number;
308
+ /** partialResultCallback - Partial result callback URL */
309
+ partialResultCallback?: string;
310
+ /** partialResultCallbackMethod - Partial result callback URL method */
311
+ partialResultCallbackMethod?: string;
312
+ /** profanityFilter - Profanity Filter on speech */
313
+ profanityFilter?: boolean;
314
+ /** speechModel - Specify the model that is best suited for your use case */
315
+ speechModel?: GatherSpeechModel;
316
+ /** speechTimeout - Time to wait to gather speech input and it should be either auto or a positive integer. */
317
+ speechTimeout?: string;
318
+ /** timeout - Time to wait to gather input */
319
+ timeout?: number;
320
+ }
321
+ /**
322
+ * Attributes to pass to pause
323
+ */
324
+ export interface PauseAttributes {
325
+ /** length - Length in seconds to pause */
326
+ length?: number;
327
+ }
328
+ /**
329
+ * Attributes to pass to play
330
+ */
331
+ export interface PlayAttributes {
332
+ /** digits - Play DTMF tones for digits */
333
+ digits?: string;
334
+ /** loop - Times to loop media */
335
+ loop?: number;
336
+ }
337
+ /**
338
+ * Attributes to pass to queue
339
+ */
340
+ export interface QueueAttributes {
341
+ /** method - Action URL method */
342
+ method?: string;
343
+ /** postWorkActivitySid - TaskRouter Activity SID */
344
+ postWorkActivitySid?: string;
345
+ /** reservationSid - TaskRouter Reservation SID */
346
+ reservationSid?: string;
347
+ /** url - Action URL */
348
+ url?: string;
349
+ }
350
+ /**
351
+ * Attributes to pass to record
352
+ */
353
+ export interface RecordAttributes {
354
+ /** action - Action URL */
355
+ action?: string;
356
+ /** finishOnKey - Finish recording on key */
357
+ finishOnKey?: string;
358
+ /** maxLength - Max time to record in seconds */
359
+ maxLength?: number;
360
+ /** method - Action URL method */
361
+ method?: string;
362
+ /** playBeep - Play beep */
363
+ playBeep?: boolean;
364
+ /** recordingStatusCallback - Status callback URL */
365
+ recordingStatusCallback?: string;
366
+ /** recordingStatusCallbackEvent - Recording status callback events */
367
+ recordingStatusCallbackEvent?: RecordRecordingEvent[];
368
+ /** recordingStatusCallbackMethod - Status callback URL method */
369
+ recordingStatusCallbackMethod?: string;
370
+ /** timeout - Timeout to begin recording */
371
+ timeout?: number;
372
+ /** transcribe - Transcribe the recording */
373
+ transcribe?: boolean;
374
+ /** transcribeCallback - Transcribe callback URL */
375
+ transcribeCallback?: string;
376
+ /** trim - Trim the recording */
377
+ trim?: RecordTrim;
378
+ }
379
+ /**
380
+ * Attributes to pass to redirect
381
+ */
382
+ export interface RedirectAttributes {
383
+ /** method - Redirect URL method */
384
+ method?: string;
385
+ }
386
+ /**
387
+ * Attributes to pass to reject
388
+ */
389
+ export interface RejectAttributes {
390
+ /** reason - Rejection reason */
391
+ reason?: RejectReason;
392
+ }
393
+ /**
394
+ * Attributes to pass to say
395
+ */
396
+ export interface SayAttributes {
397
+ /** language - Message language */
398
+ language?: SayLanguage;
399
+ /** loop - Times to loop message */
400
+ loop?: number;
401
+ /** voice - Voice to use */
402
+ voice?: SayVoice;
403
+ }
404
+ /**
405
+ * Attributes to pass to sms
406
+ */
407
+ export interface SmsAttributes {
408
+ /** action - Action URL */
409
+ action?: string;
410
+ /** from - Number to send message from */
411
+ from?: string;
412
+ /** method - Action URL method */
413
+ method?: string;
414
+ /** statusCallback - Status callback URL */
415
+ statusCallback?: string;
416
+ /** to - Number to send message to */
417
+ to?: string;
418
+ }
419
+ /**
420
+ * Attributes to pass to pay
421
+ */
422
+ export interface PayAttributes {
423
+ /** action - Action URL */
424
+ action?: string;
425
+ /** bankAccountType - Bank account type for ach transactions. If set, payment method attribute must be provided and value should be set to ach-debit. defaults to consumer-checking */
426
+ bankAccountType?: PayBankAccountType;
427
+ /** chargeAmount - Amount to process. If value is greater than 0 then make the payment else create a payment token */
428
+ chargeAmount?: string;
429
+ /** currency - Currency of the amount attribute */
430
+ currency?: string;
431
+ /** description - Details regarding the payment */
432
+ description?: string;
433
+ /** input - Input type Twilio should accept */
434
+ input?: PayInput;
435
+ /** language - Language to use */
436
+ language?: PayLanguage;
437
+ /** maxAttempts - Maximum number of allowed retries when gathering input */
438
+ maxAttempts?: number;
439
+ /** minPostalCodeLength - Prompt for minimum postal code length */
440
+ minPostalCodeLength?: number;
441
+ /** paymentConnector - Unique name for payment connector */
442
+ paymentConnector?: string;
443
+ /** paymentMethod - Payment method to be used. defaults to credit-card */
444
+ paymentMethod?: PayPaymentMethod;
445
+ /** postalCode - Prompt for postal code and it should be true/false or default postal code */
446
+ postalCode?: string;
447
+ /** securityCode - Prompt for security code */
448
+ securityCode?: boolean;
449
+ /** statusCallback - Status callback URL */
450
+ statusCallback?: string;
451
+ /** statusCallbackMethod - Status callback method */
452
+ statusCallbackMethod?: PayStatusCallbackMethod;
453
+ /** timeout - Time to wait to gather input */
454
+ timeout?: number;
455
+ /** tokenType - Type of token */
456
+ tokenType?: PayTokenType;
457
+ /** validCardTypes - Comma separated accepted card types */
458
+ validCardTypes?: PayValidCardTypes[];
459
+ }
460
+ /**
461
+ * Attributes to pass to prompt
462
+ */
463
+ export interface PromptAttributes {
464
+ /** attempt - Current attempt count */
465
+ attempt?: number[];
466
+ /** cardType - Type of the credit card */
467
+ cardType?: PromptCardType[];
468
+ /** errorType - Type of error */
469
+ errorType?: PromptErrorType[];
470
+ /** for - Name of the payment source data element */
471
+ for?: PromptFor;
472
+ /** requireMatchingInputs - Require customer to input requested information twice and verify matching. */
473
+ requireMatchingInputs?: boolean;
474
+ }
475
+ /**
476
+ * Attributes to pass to start
477
+ */
478
+ export interface StartAttributes {
479
+ /** action - Action URL */
480
+ action?: string;
481
+ /** method - Action URL method */
482
+ method?: string;
483
+ }
484
+ /**
485
+ * Attributes to pass to refer
486
+ */
487
+ export interface ReferAttributes {
488
+ /** action - Action URL */
489
+ action?: string;
490
+ /** method - Action URL method */
491
+ method?: string;
492
+ }
493
+ /**
494
+ * Attributes to pass to stream
495
+ */
496
+ export interface StreamAttributes {
497
+ /** connectorName - Unique name for Stream Connector */
498
+ connectorName?: string;
499
+ /** name - Friendly name given to the Stream */
500
+ name?: string;
501
+ /** statusCallback - Status Callback URL */
502
+ statusCallback?: string;
503
+ /** statusCallbackMethod - Status Callback URL method */
504
+ statusCallbackMethod?: StreamStatusCallbackMethod;
505
+ /** track - Track to be streamed to remote service */
506
+ track?: StreamTrack;
507
+ /** url - URL of the remote service where the Stream is routed */
508
+ url?: string;
509
+ }
510
+ /**
511
+ * Attributes to pass to siprec
512
+ */
513
+ export interface SiprecAttributes {
514
+ /** connectorName - Unique name for Connector */
515
+ connectorName?: string;
516
+ /** name - Friendly name given to SIPREC */
517
+ name?: string;
518
+ /** track - Track to be streamed to remote service */
519
+ track?: SiprecTrack;
520
+ }
521
+ /**
522
+ * Attributes to pass to parameter
523
+ */
524
+ export interface ParameterAttributes {
525
+ /** name - The name of the custom parameter */
526
+ name?: string;
527
+ /** value - The value of the custom parameter */
528
+ value?: string;
529
+ }
530
+ /**
531
+ * Attributes to pass to parameter
532
+ */
533
+ export interface ParameterAttributes {
534
+ /** name - The name of the custom parameter */
535
+ name?: string;
536
+ /** value - The value of the custom parameter */
537
+ value?: string;
538
+ }
539
+ /**
540
+ * Attributes to pass to stream
541
+ */
542
+ export interface StreamAttributes {
543
+ /** connectorName - Unique name for Stream Connector */
544
+ connectorName?: string;
545
+ /** name - Friendly name given to the Stream */
546
+ name?: string;
547
+ /** statusCallback - Status Callback URL */
548
+ statusCallback?: string;
549
+ /** statusCallbackMethod - Status Callback URL method */
550
+ statusCallbackMethod?: StreamStatusCallbackMethod;
551
+ /** track - Track to be streamed to remote service */
552
+ track?: StreamTrack;
553
+ /** url - URL of the remote service where the Stream is routed */
554
+ url?: string;
555
+ }
556
+ /**
557
+ * Attributes to pass to siprec
558
+ */
559
+ export interface SiprecAttributes {
560
+ /** connectorName - Unique name for Connector */
561
+ connectorName?: string;
562
+ /** name - Friendly name given to SIPREC */
563
+ name?: string;
564
+ /** track - Track to be streamed to remote service */
565
+ track?: SiprecTrack;
566
+ }
567
+ /**
568
+ * Attributes to pass to say
569
+ */
570
+ export interface SayAttributes {
571
+ /** language - Message language */
572
+ language?: SayLanguage;
573
+ /** loop - Times to loop message */
574
+ loop?: number;
575
+ /** voice - Voice to use */
576
+ voice?: SayVoice;
577
+ }
578
+ /**
579
+ * Attributes to pass to play
580
+ */
581
+ export interface PlayAttributes {
582
+ /** digits - Play DTMF tones for digits */
583
+ digits?: string;
584
+ /** loop - Times to loop media */
585
+ loop?: number;
586
+ }
587
+ /**
588
+ * Attributes to pass to pause
589
+ */
590
+ export interface PauseAttributes {
591
+ /** length - Length in seconds to pause */
592
+ length?: number;
593
+ }
594
+ /**
595
+ * Attributes to pass to break
596
+ */
597
+ export interface SsmlBreakAttributes {
598
+ /** strength - Set a pause based on strength */
599
+ strength?: SsmlBreakStrength;
600
+ /** time - Set a pause to a specific length of time in seconds or milliseconds, available values: [number]s, [number]ms */
601
+ time?: string;
602
+ }
603
+ /**
604
+ * Attributes to pass to emphasis
605
+ */
606
+ export interface SsmlEmphasisAttributes {
607
+ /** level - Specify the degree of emphasis */
608
+ level?: SsmlEmphasisLevel;
609
+ }
610
+ /**
611
+ * Attributes to pass to lang
612
+ */
613
+ export interface SsmlLangAttributes {
614
+ /** xml:lang - Specify the language */
615
+ "xml:lang"?: SsmlLangXmlLang;
616
+ }
617
+ /**
618
+ * Attributes to pass to phoneme
619
+ */
620
+ export interface SsmlPhonemeAttributes {
621
+ /** alphabet - Specify the phonetic alphabet */
622
+ alphabet?: SsmlPhonemeAlphabet;
623
+ /** ph - Specifiy the phonetic symbols for pronunciation */
624
+ ph?: string;
625
+ }
626
+ /**
627
+ * Attributes to pass to prosody
628
+ */
629
+ export interface SsmlProsodyAttributes {
630
+ /** pitch - Specify the pitch, available values: default, x-low, low, medium, high, x-high, +n%, -n% */
631
+ pitch?: string;
632
+ /** rate - Specify the rate, available values: x-slow, slow, medium, fast, x-fast, n% */
633
+ rate?: string;
634
+ /** volume - Specify the volume, available values: default, silent, x-soft, soft, medium, loud, x-loud, +ndB, -ndB */
635
+ volume?: string;
636
+ }
637
+ /**
638
+ * Attributes to pass to sayAs
639
+ */
640
+ export interface SsmlSayAsAttributes {
641
+ /** format - Specify the format of the date when interpret-as is set to date */
642
+ format?: SsmlSayAsFormat;
643
+ /** interpret-as - Specify the type of words are spoken */
644
+ "interpret-as"?: SsmlSayAsInterpretAs;
645
+ }
646
+ /**
647
+ * Attributes to pass to sub
648
+ */
649
+ export interface SsmlSubAttributes {
650
+ /** alias - Substitute a different word (or pronunciation) for selected text such as an acronym or abbreviation */
651
+ alias?: string;
652
+ }
653
+ /**
654
+ * Attributes to pass to w
655
+ */
656
+ export interface SsmlWAttributes {
657
+ /** role - Customize the pronunciation of words by specifying the word’s part of speech or alternate meaning */
658
+ role?: string;
659
+ }
660
+ /**
661
+ * Attributes to pass to break
662
+ */
663
+ export interface SsmlBreakAttributes {
664
+ /** strength - Set a pause based on strength */
665
+ strength?: SsmlBreakStrength;
666
+ /** time - Set a pause to a specific length of time in seconds or milliseconds, available values: [number]s, [number]ms */
667
+ time?: string;
668
+ }
669
+ /**
670
+ * Attributes to pass to emphasis
671
+ */
672
+ export interface SsmlEmphasisAttributes {
673
+ /** level - Specify the degree of emphasis */
674
+ level?: SsmlEmphasisLevel;
675
+ }
676
+ /**
677
+ * Attributes to pass to phoneme
678
+ */
679
+ export interface SsmlPhonemeAttributes {
680
+ /** alphabet - Specify the phonetic alphabet */
681
+ alphabet?: SsmlPhonemeAlphabet;
682
+ /** ph - Specifiy the phonetic symbols for pronunciation */
683
+ ph?: string;
684
+ }
685
+ /**
686
+ * Attributes to pass to prosody
687
+ */
688
+ export interface SsmlProsodyAttributes {
689
+ /** pitch - Specify the pitch, available values: default, x-low, low, medium, high, x-high, +n%, -n% */
690
+ pitch?: string;
691
+ /** rate - Specify the rate, available values: x-slow, slow, medium, fast, x-fast, n% */
692
+ rate?: string;
693
+ /** volume - Specify the volume, available values: default, silent, x-soft, soft, medium, loud, x-loud, +ndB, -ndB */
694
+ volume?: string;
695
+ }
696
+ /**
697
+ * Attributes to pass to sayAs
698
+ */
699
+ export interface SsmlSayAsAttributes {
700
+ /** format - Specify the format of the date when interpret-as is set to date */
701
+ format?: SsmlSayAsFormat;
702
+ /** interpret-as - Specify the type of words are spoken */
703
+ "interpret-as"?: SsmlSayAsInterpretAs;
704
+ }
705
+ /**
706
+ * Attributes to pass to sub
707
+ */
708
+ export interface SsmlSubAttributes {
709
+ /** alias - Substitute a different word (or pronunciation) for selected text such as an acronym or abbreviation */
710
+ alias?: string;
711
+ }
712
+ /**
713
+ * Attributes to pass to break
714
+ */
715
+ export interface SsmlBreakAttributes {
716
+ /** strength - Set a pause based on strength */
717
+ strength?: SsmlBreakStrength;
718
+ /** time - Set a pause to a specific length of time in seconds or milliseconds, available values: [number]s, [number]ms */
719
+ time?: string;
720
+ }
721
+ /**
722
+ * Attributes to pass to emphasis
723
+ */
724
+ export interface SsmlEmphasisAttributes {
725
+ /** level - Specify the degree of emphasis */
726
+ level?: SsmlEmphasisLevel;
727
+ }
728
+ /**
729
+ * Attributes to pass to lang
730
+ */
731
+ export interface SsmlLangAttributes {
732
+ /** xml:lang - Specify the language */
733
+ "xml:lang"?: SsmlLangXmlLang;
734
+ }
735
+ /**
736
+ * Attributes to pass to phoneme
737
+ */
738
+ export interface SsmlPhonemeAttributes {
739
+ /** alphabet - Specify the phonetic alphabet */
740
+ alphabet?: SsmlPhonemeAlphabet;
741
+ /** ph - Specifiy the phonetic symbols for pronunciation */
742
+ ph?: string;
743
+ }
744
+ /**
745
+ * Attributes to pass to prosody
746
+ */
747
+ export interface SsmlProsodyAttributes {
748
+ /** pitch - Specify the pitch, available values: default, x-low, low, medium, high, x-high, +n%, -n% */
749
+ pitch?: string;
750
+ /** rate - Specify the rate, available values: x-slow, slow, medium, fast, x-fast, n% */
751
+ rate?: string;
752
+ /** volume - Specify the volume, available values: default, silent, x-soft, soft, medium, loud, x-loud, +ndB, -ndB */
753
+ volume?: string;
754
+ }
755
+ /**
756
+ * Attributes to pass to sayAs
757
+ */
758
+ export interface SsmlSayAsAttributes {
759
+ /** format - Specify the format of the date when interpret-as is set to date */
760
+ format?: SsmlSayAsFormat;
761
+ /** interpret-as - Specify the type of words are spoken */
762
+ "interpret-as"?: SsmlSayAsInterpretAs;
763
+ }
764
+ /**
765
+ * Attributes to pass to sub
766
+ */
767
+ export interface SsmlSubAttributes {
768
+ /** alias - Substitute a different word (or pronunciation) for selected text such as an acronym or abbreviation */
769
+ alias?: string;
770
+ }
771
+ /**
772
+ * Attributes to pass to w
773
+ */
774
+ export interface SsmlWAttributes {
775
+ /** role - Customize the pronunciation of words by specifying the word’s part of speech or alternate meaning */
776
+ role?: string;
777
+ }
778
+ /**
779
+ * Attributes to pass to break
780
+ */
781
+ export interface SsmlBreakAttributes {
782
+ /** strength - Set a pause based on strength */
783
+ strength?: SsmlBreakStrength;
784
+ /** time - Set a pause to a specific length of time in seconds or milliseconds, available values: [number]s, [number]ms */
785
+ time?: string;
786
+ }
787
+ /**
788
+ * Attributes to pass to emphasis
789
+ */
790
+ export interface SsmlEmphasisAttributes {
791
+ /** level - Specify the degree of emphasis */
792
+ level?: SsmlEmphasisLevel;
793
+ }
794
+ /**
795
+ * Attributes to pass to lang
796
+ */
797
+ export interface SsmlLangAttributes {
798
+ /** xml:lang - Specify the language */
799
+ "xml:lang"?: SsmlLangXmlLang;
800
+ }
801
+ /**
802
+ * Attributes to pass to phoneme
803
+ */
804
+ export interface SsmlPhonemeAttributes {
805
+ /** alphabet - Specify the phonetic alphabet */
806
+ alphabet?: SsmlPhonemeAlphabet;
807
+ /** ph - Specifiy the phonetic symbols for pronunciation */
808
+ ph?: string;
809
+ }
810
+ /**
811
+ * Attributes to pass to prosody
812
+ */
813
+ export interface SsmlProsodyAttributes {
814
+ /** pitch - Specify the pitch, available values: default, x-low, low, medium, high, x-high, +n%, -n% */
815
+ pitch?: string;
816
+ /** rate - Specify the rate, available values: x-slow, slow, medium, fast, x-fast, n% */
817
+ rate?: string;
818
+ /** volume - Specify the volume, available values: default, silent, x-soft, soft, medium, loud, x-loud, +ndB, -ndB */
819
+ volume?: string;
820
+ }
821
+ /**
822
+ * Attributes to pass to sayAs
823
+ */
824
+ export interface SsmlSayAsAttributes {
825
+ /** format - Specify the format of the date when interpret-as is set to date */
826
+ format?: SsmlSayAsFormat;
827
+ /** interpret-as - Specify the type of words are spoken */
828
+ "interpret-as"?: SsmlSayAsInterpretAs;
829
+ }
830
+ /**
831
+ * Attributes to pass to sub
832
+ */
833
+ export interface SsmlSubAttributes {
834
+ /** alias - Substitute a different word (or pronunciation) for selected text such as an acronym or abbreviation */
835
+ alias?: string;
836
+ }
837
+ /**
838
+ * Attributes to pass to w
839
+ */
840
+ export interface SsmlWAttributes {
841
+ /** role - Customize the pronunciation of words by specifying the word’s part of speech or alternate meaning */
842
+ role?: string;
843
+ }
844
+ /**
845
+ * Attributes to pass to break
846
+ */
847
+ export interface SsmlBreakAttributes {
848
+ /** strength - Set a pause based on strength */
849
+ strength?: SsmlBreakStrength;
850
+ /** time - Set a pause to a specific length of time in seconds or milliseconds, available values: [number]s, [number]ms */
851
+ time?: string;
852
+ }
853
+ /**
854
+ * Attributes to pass to emphasis
855
+ */
856
+ export interface SsmlEmphasisAttributes {
857
+ /** level - Specify the degree of emphasis */
858
+ level?: SsmlEmphasisLevel;
859
+ }
860
+ /**
861
+ * Attributes to pass to lang
862
+ */
863
+ export interface SsmlLangAttributes {
864
+ /** xml:lang - Specify the language */
865
+ "xml:lang"?: SsmlLangXmlLang;
866
+ }
867
+ /**
868
+ * Attributes to pass to phoneme
869
+ */
870
+ export interface SsmlPhonemeAttributes {
871
+ /** alphabet - Specify the phonetic alphabet */
872
+ alphabet?: SsmlPhonemeAlphabet;
873
+ /** ph - Specifiy the phonetic symbols for pronunciation */
874
+ ph?: string;
875
+ }
876
+ /**
877
+ * Attributes to pass to prosody
878
+ */
879
+ export interface SsmlProsodyAttributes {
880
+ /** pitch - Specify the pitch, available values: default, x-low, low, medium, high, x-high, +n%, -n% */
881
+ pitch?: string;
882
+ /** rate - Specify the rate, available values: x-slow, slow, medium, fast, x-fast, n% */
883
+ rate?: string;
884
+ /** volume - Specify the volume, available values: default, silent, x-soft, soft, medium, loud, x-loud, +ndB, -ndB */
885
+ volume?: string;
886
+ }
887
+ /**
888
+ * Attributes to pass to sayAs
889
+ */
890
+ export interface SsmlSayAsAttributes {
891
+ /** format - Specify the format of the date when interpret-as is set to date */
892
+ format?: SsmlSayAsFormat;
893
+ /** interpret-as - Specify the type of words are spoken */
894
+ "interpret-as"?: SsmlSayAsInterpretAs;
895
+ }
896
+ /**
897
+ * Attributes to pass to sub
898
+ */
899
+ export interface SsmlSubAttributes {
900
+ /** alias - Substitute a different word (or pronunciation) for selected text such as an acronym or abbreviation */
901
+ alias?: string;
902
+ }
903
+ /**
904
+ * Attributes to pass to w
905
+ */
906
+ export interface SsmlWAttributes {
907
+ /** role - Customize the pronunciation of words by specifying the word’s part of speech or alternate meaning */
908
+ role?: string;
909
+ }
910
+ /**
911
+ * Attributes to pass to break
912
+ */
913
+ export interface SsmlBreakAttributes {
914
+ /** strength - Set a pause based on strength */
915
+ strength?: SsmlBreakStrength;
916
+ /** time - Set a pause to a specific length of time in seconds or milliseconds, available values: [number]s, [number]ms */
917
+ time?: string;
918
+ }
919
+ /**
920
+ * Attributes to pass to emphasis
921
+ */
922
+ export interface SsmlEmphasisAttributes {
923
+ /** level - Specify the degree of emphasis */
924
+ level?: SsmlEmphasisLevel;
925
+ }
926
+ /**
927
+ * Attributes to pass to lang
928
+ */
929
+ export interface SsmlLangAttributes {
930
+ /** xml:lang - Specify the language */
931
+ "xml:lang"?: SsmlLangXmlLang;
932
+ }
933
+ /**
934
+ * Attributes to pass to phoneme
935
+ */
936
+ export interface SsmlPhonemeAttributes {
937
+ /** alphabet - Specify the phonetic alphabet */
938
+ alphabet?: SsmlPhonemeAlphabet;
939
+ /** ph - Specifiy the phonetic symbols for pronunciation */
940
+ ph?: string;
941
+ }
942
+ /**
943
+ * Attributes to pass to prosody
944
+ */
945
+ export interface SsmlProsodyAttributes {
946
+ /** pitch - Specify the pitch, available values: default, x-low, low, medium, high, x-high, +n%, -n% */
947
+ pitch?: string;
948
+ /** rate - Specify the rate, available values: x-slow, slow, medium, fast, x-fast, n% */
949
+ rate?: string;
950
+ /** volume - Specify the volume, available values: default, silent, x-soft, soft, medium, loud, x-loud, +ndB, -ndB */
951
+ volume?: string;
952
+ }
953
+ /**
954
+ * Attributes to pass to sayAs
955
+ */
956
+ export interface SsmlSayAsAttributes {
957
+ /** format - Specify the format of the date when interpret-as is set to date */
958
+ format?: SsmlSayAsFormat;
959
+ /** interpret-as - Specify the type of words are spoken */
960
+ "interpret-as"?: SsmlSayAsInterpretAs;
961
+ }
962
+ /**
963
+ * Attributes to pass to sub
964
+ */
965
+ export interface SsmlSubAttributes {
966
+ /** alias - Substitute a different word (or pronunciation) for selected text such as an acronym or abbreviation */
967
+ alias?: string;
968
+ }
969
+ /**
970
+ * Attributes to pass to w
971
+ */
972
+ export interface SsmlWAttributes {
973
+ /** role - Customize the pronunciation of words by specifying the word’s part of speech or alternate meaning */
974
+ role?: string;
975
+ }
976
+ /**
977
+ * Attributes to pass to break
978
+ */
979
+ export interface SsmlBreakAttributes {
980
+ /** strength - Set a pause based on strength */
981
+ strength?: SsmlBreakStrength;
982
+ /** time - Set a pause to a specific length of time in seconds or milliseconds, available values: [number]s, [number]ms */
983
+ time?: string;
984
+ }
985
+ /**
986
+ * Attributes to pass to emphasis
987
+ */
988
+ export interface SsmlEmphasisAttributes {
989
+ /** level - Specify the degree of emphasis */
990
+ level?: SsmlEmphasisLevel;
991
+ }
992
+ /**
993
+ * Attributes to pass to lang
994
+ */
995
+ export interface SsmlLangAttributes {
996
+ /** xml:lang - Specify the language */
997
+ "xml:lang"?: SsmlLangXmlLang;
998
+ }
999
+ /**
1000
+ * Attributes to pass to phoneme
1001
+ */
1002
+ export interface SsmlPhonemeAttributes {
1003
+ /** alphabet - Specify the phonetic alphabet */
1004
+ alphabet?: SsmlPhonemeAlphabet;
1005
+ /** ph - Specifiy the phonetic symbols for pronunciation */
1006
+ ph?: string;
1007
+ }
1008
+ /**
1009
+ * Attributes to pass to prosody
1010
+ */
1011
+ export interface SsmlProsodyAttributes {
1012
+ /** pitch - Specify the pitch, available values: default, x-low, low, medium, high, x-high, +n%, -n% */
1013
+ pitch?: string;
1014
+ /** rate - Specify the rate, available values: x-slow, slow, medium, fast, x-fast, n% */
1015
+ rate?: string;
1016
+ /** volume - Specify the volume, available values: default, silent, x-soft, soft, medium, loud, x-loud, +ndB, -ndB */
1017
+ volume?: string;
1018
+ }
1019
+ /**
1020
+ * Attributes to pass to sayAs
1021
+ */
1022
+ export interface SsmlSayAsAttributes {
1023
+ /** format - Specify the format of the date when interpret-as is set to date */
1024
+ format?: SsmlSayAsFormat;
1025
+ /** interpret-as - Specify the type of words are spoken */
1026
+ "interpret-as"?: SsmlSayAsInterpretAs;
1027
+ }
1028
+ /**
1029
+ * Attributes to pass to sub
1030
+ */
1031
+ export interface SsmlSubAttributes {
1032
+ /** alias - Substitute a different word (or pronunciation) for selected text such as an acronym or abbreviation */
1033
+ alias?: string;
1034
+ }
1035
+ /**
1036
+ * Attributes to pass to w
1037
+ */
1038
+ export interface SsmlWAttributes {
1039
+ /** role - Customize the pronunciation of words by specifying the word’s part of speech or alternate meaning */
1040
+ role?: string;
1041
+ }
1042
+ /**
1043
+ * Attributes to pass to prompt
1044
+ */
1045
+ export interface PromptAttributes {
1046
+ /** attempt - Current attempt count */
1047
+ attempt?: number[];
1048
+ /** cardType - Type of the credit card */
1049
+ cardType?: PromptCardType[];
1050
+ /** errorType - Type of error */
1051
+ errorType?: PromptErrorType[];
1052
+ /** for - Name of the payment source data element */
1053
+ for?: PromptFor;
1054
+ /** requireMatchingInputs - Require customer to input requested information twice and verify matching. */
1055
+ requireMatchingInputs?: boolean;
1056
+ }
1057
+ /**
1058
+ * Attributes to pass to parameter
1059
+ */
1060
+ export interface ParameterAttributes {
1061
+ /** name - The name of the custom parameter */
1062
+ name?: string;
1063
+ /** value - The value of the custom parameter */
1064
+ value?: string;
1065
+ }
1066
+ /**
1067
+ * Attributes to pass to parameter
1068
+ */
1069
+ export interface ParameterAttributes {
1070
+ /** name - The name of the custom parameter */
1071
+ name?: string;
1072
+ /** value - The value of the custom parameter */
1073
+ value?: string;
1074
+ }
1075
+ /**
1076
+ * Attributes to pass to parameter
1077
+ */
1078
+ export interface ParameterAttributes {
1079
+ /** name - The name of the custom parameter */
1080
+ name?: string;
1081
+ /** value - The value of the custom parameter */
1082
+ value?: string;
1083
+ }
1084
+ /**
1085
+ * Attributes to pass to say
1086
+ */
1087
+ export interface SayAttributes {
1088
+ /** language - Message language */
1089
+ language?: SayLanguage;
1090
+ /** loop - Times to loop message */
1091
+ loop?: number;
1092
+ /** voice - Voice to use */
1093
+ voice?: SayVoice;
1094
+ }
1095
+ /**
1096
+ * Attributes to pass to pause
1097
+ */
1098
+ export interface PauseAttributes {
1099
+ /** length - Length in seconds to pause */
1100
+ length?: number;
1101
+ }
1102
+ /**
1103
+ * Attributes to pass to play
1104
+ */
1105
+ export interface PlayAttributes {
1106
+ /** digits - Play DTMF tones for digits */
1107
+ digits?: string;
1108
+ /** loop - Times to loop media */
1109
+ loop?: number;
1110
+ }
1111
+ /**
1112
+ * Attributes to pass to task
1113
+ */
1114
+ export interface TaskAttributes {
1115
+ /** priority - Task priority */
1116
+ priority?: number;
1117
+ /** timeout - Timeout associated with task */
1118
+ timeout?: number;
1119
+ }
1120
+ /**
1121
+ * Attributes to pass to client
1122
+ */
1123
+ export interface ClientAttributes {
1124
+ /** method - Client URL Method */
1125
+ method?: string;
1126
+ /** statusCallback - Status Callback URL */
1127
+ statusCallback?: string;
1128
+ /** statusCallbackEvent - Events to trigger status callback */
1129
+ statusCallbackEvent?: ClientEvent[];
1130
+ /** statusCallbackMethod - Status Callback URL Method */
1131
+ statusCallbackMethod?: string;
1132
+ /** url - Client URL */
1133
+ url?: string;
1134
+ }
1135
+ /**
1136
+ * Attributes to pass to conference
1137
+ */
1138
+ export interface ConferenceAttributes {
1139
+ /** beep - Play beep when joining */
1140
+ beep?: ConferenceBeep;
1141
+ /** coach - Call coach */
1142
+ coach?: string;
1143
+ /** endConferenceOnExit - End the conferenceon exit */
1144
+ endConferenceOnExit?: boolean;
1145
+ /** eventCallbackUrl - Event callback URL */
1146
+ eventCallbackUrl?: string;
1147
+ /** jitterBufferSize - Size of jitter buffer for participant */
1148
+ jitterBufferSize?: ConferenceJitterBufferSize;
1149
+ /** maxParticipants - Maximum number of participants */
1150
+ maxParticipants?: number;
1151
+ /** muted - Join the conference muted */
1152
+ muted?: boolean;
1153
+ /** participantLabel - A label for participant */
1154
+ participantLabel?: string;
1155
+ /** record - Record the conference */
1156
+ record?: ConferenceRecord;
1157
+ /** recordingStatusCallback - Recording status callback URL */
1158
+ recordingStatusCallback?: string;
1159
+ /** recordingStatusCallbackEvent - Recording status callback events */
1160
+ recordingStatusCallbackEvent?: ConferenceRecordingEvent[];
1161
+ /** recordingStatusCallbackMethod - Recording status callback URL method */
1162
+ recordingStatusCallbackMethod?: string;
1163
+ /** region - Conference region */
1164
+ region?: ConferenceRegion;
1165
+ /** startConferenceOnEnter - Start the conference on enter */
1166
+ startConferenceOnEnter?: boolean;
1167
+ /** statusCallback - Status callback URL */
1168
+ statusCallback?: string;
1169
+ /** statusCallbackEvent - Events to call status callback URL */
1170
+ statusCallbackEvent?: ConferenceEvent[];
1171
+ /** statusCallbackMethod - Status callback URL method */
1172
+ statusCallbackMethod?: string;
1173
+ /** trim - Trim the conference recording */
1174
+ trim?: ConferenceTrim;
1175
+ /** waitMethod - Wait URL method */
1176
+ waitMethod?: string;
1177
+ /** waitUrl - Wait URL */
1178
+ waitUrl?: string;
1179
+ }
1180
+ /**
1181
+ * Attributes to pass to number
1182
+ */
1183
+ export interface NumberAttributes {
1184
+ /** amdStatusCallback - The URL we should call to send amd status information to your application */
1185
+ amdStatusCallback?: string;
1186
+ /** amdStatusCallbackMethod - HTTP Method to use with amd_status_callback */
1187
+ amdStatusCallbackMethod?: string;
1188
+ /** byoc - BYOC trunk SID (Beta) */
1189
+ byoc?: string;
1190
+ /** machineDetection - Enable machine detection or end of greeting detection */
1191
+ machineDetection?: string;
1192
+ /** machineDetectionSilenceTimeout - Number of milliseconds of initial silence */
1193
+ machineDetectionSilenceTimeout?: number;
1194
+ /** machineDetectionSpeechEndThreshold - Number of milliseconds of silence after speech activity */
1195
+ machineDetectionSpeechEndThreshold?: number;
1196
+ /** machineDetectionSpeechThreshold - Number of milliseconds for measuring stick for the length of the speech activity */
1197
+ machineDetectionSpeechThreshold?: number;
1198
+ /** machineDetectionTimeout - Number of seconds to wait for machine detection */
1199
+ machineDetectionTimeout?: number;
1200
+ /** method - TwiML URL method */
1201
+ method?: string;
1202
+ /** sendDigits - DTMF tones to play when the call is answered */
1203
+ sendDigits?: string;
1204
+ /** statusCallback - Status callback URL */
1205
+ statusCallback?: string;
1206
+ /** statusCallbackEvent - Events to call status callback */
1207
+ statusCallbackEvent?: NumberEvent[];
1208
+ /** statusCallbackMethod - Status callback URL method */
1209
+ statusCallbackMethod?: string;
1210
+ /** url - TwiML URL */
1211
+ url?: string;
1212
+ }
1213
+ /**
1214
+ * Attributes to pass to queue
1215
+ */
1216
+ export interface QueueAttributes {
1217
+ /** method - Action URL method */
1218
+ method?: string;
1219
+ /** postWorkActivitySid - TaskRouter Activity SID */
1220
+ postWorkActivitySid?: string;
1221
+ /** reservationSid - TaskRouter Reservation SID */
1222
+ reservationSid?: string;
1223
+ /** url - Action URL */
1224
+ url?: string;
1225
+ }
1226
+ /**
1227
+ * Attributes to pass to sip
1228
+ */
1229
+ export interface SipAttributes {
1230
+ /** amdStatusCallback - The URL we should call to send amd status information to your application */
1231
+ amdStatusCallback?: string;
1232
+ /** amdStatusCallbackMethod - HTTP Method to use with amd_status_callback */
1233
+ amdStatusCallbackMethod?: string;
1234
+ /** machineDetection - Enable machine detection or end of greeting detection */
1235
+ machineDetection?: string;
1236
+ /** machineDetectionSilenceTimeout - Number of milliseconds of initial silence */
1237
+ machineDetectionSilenceTimeout?: number;
1238
+ /** machineDetectionSpeechEndThreshold - Number of milliseconds of silence after speech activity */
1239
+ machineDetectionSpeechEndThreshold?: number;
1240
+ /** machineDetectionSpeechThreshold - Number of milliseconds for measuring stick for the length of the speech activity */
1241
+ machineDetectionSpeechThreshold?: number;
1242
+ /** machineDetectionTimeout - Number of seconds to wait for machine detection */
1243
+ machineDetectionTimeout?: number;
1244
+ /** method - Action URL method */
1245
+ method?: string;
1246
+ /** password - SIP Password */
1247
+ password?: string;
1248
+ /** statusCallback - Status callback URL */
1249
+ statusCallback?: string;
1250
+ /** statusCallbackEvent - Status callback events */
1251
+ statusCallbackEvent?: SipEvent[];
1252
+ /** statusCallbackMethod - Status callback URL method */
1253
+ statusCallbackMethod?: string;
1254
+ /** url - Action URL */
1255
+ url?: string;
1256
+ /** username - SIP Username */
1257
+ username?: string;
1258
+ }
1259
+ /**
1260
+ * Attributes to pass to application
1261
+ */
1262
+ export interface ApplicationAttributes {
1263
+ /** copyParentTo - Copy parent call To field to called application side, otherwise use the application sid as To field */
1264
+ copyParentTo?: boolean;
1265
+ /** customerId - Identity of the customer calling application */
1266
+ customerId?: string;
1267
+ /** method - TwiML URL Method */
1268
+ method?: string;
1269
+ /** statusCallback - Status Callback URL */
1270
+ statusCallback?: string;
1271
+ /** statusCallbackEvent - Events to trigger status callback */
1272
+ statusCallbackEvent?: ApplicationEvent[];
1273
+ /** statusCallbackMethod - Status Callback URL Method */
1274
+ statusCallbackMethod?: string;
1275
+ /** url - TwiML URL */
1276
+ url?: string;
1277
+ }
1278
+ /**
1279
+ * Attributes to pass to parameter
1280
+ */
1281
+ export interface ParameterAttributes {
1282
+ /** name - The name of the custom parameter */
1283
+ name?: string;
1284
+ /** value - The value of the custom parameter */
1285
+ value?: string;
1286
+ }
1287
+ /**
1288
+ * Attributes to pass to parameter
1289
+ */
1290
+ export interface ParameterAttributes {
1291
+ /** name - The name of the custom parameter */
1292
+ name?: string;
1293
+ /** value - The value of the custom parameter */
1294
+ value?: string;
1295
+ }
1296
+ /**
1297
+ * Attributes to pass to room
1298
+ */
1299
+ export interface RoomAttributes {
1300
+ /** participantIdentity - Participant identity when connecting to the Room */
1301
+ participantIdentity?: string;
1302
+ }
1303
+ /**
1304
+ * Attributes to pass to stream
1305
+ */
1306
+ export interface StreamAttributes {
1307
+ /** connectorName - Unique name for Stream Connector */
1308
+ connectorName?: string;
1309
+ /** name - Friendly name given to the Stream */
1310
+ name?: string;
1311
+ /** statusCallback - Status Callback URL */
1312
+ statusCallback?: string;
1313
+ /** statusCallbackMethod - Status Callback URL method */
1314
+ statusCallbackMethod?: StreamStatusCallbackMethod;
1315
+ /** track - Track to be streamed to remote service */
1316
+ track?: StreamTrack;
1317
+ /** url - URL of the remote service where the Stream is routed */
1318
+ url?: string;
1319
+ }
1320
+ /**
1321
+ * Attributes to pass to virtualAgent
1322
+ */
1323
+ export interface VirtualAgentAttributes {
1324
+ /** connectorName - Defines the conversation profile Dialogflow needs to use */
1325
+ connectorName?: string;
1326
+ /** language - Language to be used by Dialogflow to transcribe speech */
1327
+ language?: string;
1328
+ /** sentimentAnalysis - Whether sentiment analysis needs to be enabled or not */
1329
+ sentimentAnalysis?: boolean;
1330
+ /** statusCallback - URL to post status callbacks from Twilio */
1331
+ statusCallback?: string;
1332
+ /** statusCallbackMethod - HTTP method to use when requesting the status callback URL */
1333
+ statusCallbackMethod?: string;
1334
+ }
1335
+ /**
1336
+ * Attributes to pass to conversation
1337
+ */
1338
+ export interface ConversationAttributes {
1339
+ /** inboundAutocreation - Inbound autocreation */
1340
+ inboundAutocreation?: boolean;
1341
+ /** inboundTimeout - Inbound timeout */
1342
+ inboundTimeout?: number;
1343
+ /** method - TwiML URL method */
1344
+ method?: string;
1345
+ /** record - Record */
1346
+ record?: ConversationRecord;
1347
+ /** recordingStatusCallback - Recording status callback URL */
1348
+ recordingStatusCallback?: string;
1349
+ /** recordingStatusCallbackEvent - Recording status callback events */
1350
+ recordingStatusCallbackEvent?: ConversationRecordingEvent[];
1351
+ /** recordingStatusCallbackMethod - Recording status callback URL method */
1352
+ recordingStatusCallbackMethod?: string;
1353
+ /** routingAssignmentTimeout - Routing assignment timeout */
1354
+ routingAssignmentTimeout?: number;
1355
+ /** serviceInstanceSid - Service instance Sid */
1356
+ serviceInstanceSid?: string;
1357
+ /** statusCallback - Status callback URL */
1358
+ statusCallback?: string;
1359
+ /** statusCallbackEvent - Events to call status callback URL */
1360
+ statusCallbackEvent?: ConversationEvent[];
1361
+ /** statusCallbackMethod - Status callback URL method */
1362
+ statusCallbackMethod?: string;
1363
+ /** trim - Trim */
1364
+ trim?: ConversationTrim;
1365
+ /** url - TwiML URL */
1366
+ url?: string;
1367
+ }
1368
+ /**
1369
+ * Attributes to pass to config
1370
+ */
1371
+ export interface ConfigAttributes {
1372
+ /** name - The name of the custom config */
1373
+ name?: string;
1374
+ /** value - The value of the custom config */
1375
+ value?: string;
1376
+ }
1377
+ /**
1378
+ * Attributes to pass to parameter
1379
+ */
1380
+ export interface ParameterAttributes {
1381
+ /** name - The name of the custom parameter */
1382
+ name?: string;
1383
+ /** value - The value of the custom parameter */
1384
+ value?: string;
1385
+ }
1386
+ export class Application extends TwiML {
1387
+ application: XMLElement;
1388
+ /**
1389
+ * <Application> TwiML Noun
1390
+ */
1391
+ constructor(application: XMLElement);
1392
+ /**
1393
+ * <ApplicationSid> TwiML Noun
1394
+ *
1395
+ * @param attributes - TwiML attributes
1396
+ * @param sid - Application sid to dial
1397
+ */
1398
+ applicationSid(sid: string): VoiceResponse.ApplicationSid;
1399
+ applicationSid(attributes: object, sid: string): VoiceResponse.ApplicationSid;
1400
+ /**
1401
+ * <Parameter> TwiML Noun
1402
+ *
1403
+ * @param attributes - TwiML attributes
1404
+ */
1405
+ parameter(attributes?: VoiceResponse.ParameterAttributes): VoiceResponse.Parameter;
1406
+ }
1407
+ export class ApplicationSid extends TwiML {
1408
+ applicationSid: XMLElement;
1409
+ /**
1410
+ * <ApplicationSid> TwiML Noun
1411
+ */
1412
+ constructor(applicationSid: XMLElement);
1413
+ }
1414
+ export class Autopilot extends TwiML {
1415
+ autopilot: XMLElement;
1416
+ /**
1417
+ * <Autopilot> TwiML Noun
1418
+ */
1419
+ constructor(autopilot: XMLElement);
1420
+ }
1421
+ export class Client extends TwiML {
1422
+ client: XMLElement;
1423
+ /**
1424
+ * <Client> TwiML Noun
1425
+ */
1426
+ constructor(client: XMLElement);
1427
+ /**
1428
+ * <Identity> TwiML Noun
1429
+ *
1430
+ * @param attributes - TwiML attributes
1431
+ * @param clientIdentity - Identity of the client to dial
1432
+ */
1433
+ identity(clientIdentity: string): VoiceResponse.Identity;
1434
+ identity(attributes: object, clientIdentity: string): VoiceResponse.Identity;
1435
+ /**
1436
+ * <Parameter> TwiML Noun
1437
+ *
1438
+ * @param attributes - TwiML attributes
1439
+ */
1440
+ parameter(attributes?: VoiceResponse.ParameterAttributes): VoiceResponse.Parameter;
1441
+ }
1442
+ export class Conference extends TwiML {
1443
+ conference: XMLElement;
1444
+ /**
1445
+ * <Conference> TwiML Noun
1446
+ */
1447
+ constructor(conference: XMLElement);
1448
+ }
1449
+ export class Config extends TwiML {
1450
+ config: XMLElement;
1451
+ /**
1452
+ * <Config> TwiML Noun
1453
+ */
1454
+ constructor(config: XMLElement);
1455
+ }
1456
+ export class Connect extends TwiML {
1457
+ connect: XMLElement;
1458
+ /**
1459
+ * <Connect> TwiML Verb
1460
+ */
1461
+ constructor(connect: XMLElement);
1462
+ /**
1463
+ * <Autopilot> TwiML Noun
1464
+ *
1465
+ * @param attributes - TwiML attributes
1466
+ * @param name - Autopilot assistant sid or unique name
1467
+ */
1468
+ autopilot(name: string): VoiceResponse.Autopilot;
1469
+ autopilot(attributes: object, name: string): VoiceResponse.Autopilot;
1470
+ /**
1471
+ * <Conversation> TwiML Noun
1472
+ *
1473
+ * @param attributes - TwiML attributes
1474
+ */
1475
+ conversation(attributes?: VoiceResponse.ConversationAttributes): VoiceResponse.Conversation;
1476
+ /**
1477
+ * <Room> TwiML Noun
1478
+ *
1479
+ * @param attributes - TwiML attributes
1480
+ * @param name - Room name
1481
+ */
1482
+ room(name: string): VoiceResponse.Room;
1483
+ room(attributes: VoiceResponse.RoomAttributes, name: string): VoiceResponse.Room;
1484
+ /**
1485
+ * <Stream> TwiML Noun
1486
+ *
1487
+ * @param attributes - TwiML attributes
1488
+ */
1489
+ stream(attributes?: VoiceResponse.StreamAttributes): VoiceResponse.Stream;
1490
+ /**
1491
+ * <VirtualAgent> TwiML Noun
1492
+ *
1493
+ * @param attributes - TwiML attributes
1494
+ */
1495
+ virtualAgent(attributes?: VoiceResponse.VirtualAgentAttributes): VoiceResponse.VirtualAgent;
1496
+ }
1497
+ export class Conversation extends TwiML {
1498
+ conversation: XMLElement;
1499
+ /**
1500
+ * <Conversation> TwiML Noun
1501
+ */
1502
+ constructor(conversation: XMLElement);
1503
+ }
1504
+ export class Dial extends TwiML {
1505
+ dial: XMLElement;
1506
+ /**
1507
+ * <Dial> TwiML Verb
1508
+ */
1509
+ constructor(dial: XMLElement);
1510
+ /**
1511
+ * <Application> TwiML Noun
1512
+ *
1513
+ * @param attributes - TwiML attributes
1514
+ * @param applicationSid - Application sid
1515
+ */
1516
+ application(applicationSid?: string): VoiceResponse.Application;
1517
+ application(attributes?: VoiceResponse.ApplicationAttributes, applicationSid?: string): VoiceResponse.Application;
1518
+ /**
1519
+ * <Client> TwiML Noun
1520
+ *
1521
+ * @param attributes - TwiML attributes
1522
+ * @param identity - Client identity
1523
+ */
1524
+ client(identity?: string): VoiceResponse.Client;
1525
+ client(attributes?: VoiceResponse.ClientAttributes, identity?: string): VoiceResponse.Client;
1526
+ /**
1527
+ * <Conference> TwiML Noun
1528
+ *
1529
+ * @param attributes - TwiML attributes
1530
+ * @param name - Conference name
1531
+ */
1532
+ conference(name: string): VoiceResponse.Conference;
1533
+ conference(attributes: VoiceResponse.ConferenceAttributes, name: string): VoiceResponse.Conference;
1534
+ /**
1535
+ * <Number> TwiML Noun
1536
+ *
1537
+ * @param attributes - TwiML attributes
1538
+ * @param phoneNumber - Phone Number to dial
1539
+ */
1540
+ number(phoneNumber: string): VoiceResponse.Number;
1541
+ number(attributes: VoiceResponse.NumberAttributes, phoneNumber: string): VoiceResponse.Number;
1542
+ /**
1543
+ * <Queue> TwiML Noun
1544
+ *
1545
+ * @param attributes - TwiML attributes
1546
+ * @param name - Queue name
1547
+ */
1548
+ queue(name: string): VoiceResponse.Queue;
1549
+ queue(attributes: VoiceResponse.QueueAttributes, name: string): VoiceResponse.Queue;
1550
+ /**
1551
+ * <Sim> TwiML Noun
1552
+ *
1553
+ * @param attributes - TwiML attributes
1554
+ * @param simSid - SIM SID
1555
+ */
1556
+ sim(simSid: string): VoiceResponse.Sim;
1557
+ sim(attributes: object, simSid: string): VoiceResponse.Sim;
1558
+ /**
1559
+ * <Sip> TwiML Noun
1560
+ *
1561
+ * @param attributes - TwiML attributes
1562
+ * @param sipUrl - SIP URL
1563
+ */
1564
+ sip(sipUrl: string): VoiceResponse.Sip;
1565
+ sip(attributes: VoiceResponse.SipAttributes, sipUrl: string): VoiceResponse.Sip;
1566
+ }
1567
+ export class Echo extends TwiML {
1568
+ echo: XMLElement;
1569
+ /**
1570
+ * <Echo> TwiML Verb
1571
+ */
1572
+ constructor(echo: XMLElement);
1573
+ }
1574
+ export class Enqueue extends TwiML {
1575
+ enqueue: XMLElement;
1576
+ /**
1577
+ * <Enqueue> TwiML Noun
1578
+ */
1579
+ constructor(enqueue: XMLElement);
1580
+ /**
1581
+ * <Task> TwiML Noun
1582
+ *
1583
+ * @param attributes - TwiML attributes
1584
+ * @param body - TaskRouter task attributes
1585
+ */
1586
+ task(body: string): VoiceResponse.Task;
1587
+ task(attributes: VoiceResponse.TaskAttributes, body: string): VoiceResponse.Task;
1588
+ }
1589
+ export class Gather extends TwiML {
1590
+ gather: XMLElement;
1591
+ /**
1592
+ * <Gather> TwiML Verb
1593
+ */
1594
+ constructor(gather: XMLElement);
1595
+ /**
1596
+ * <Pause> TwiML Verb
1597
+ *
1598
+ * @param attributes - TwiML attributes
1599
+ */
1600
+ pause(attributes?: VoiceResponse.PauseAttributes): VoiceResponse.Pause;
1601
+ /**
1602
+ * <Play> TwiML Verb
1603
+ *
1604
+ * @param attributes - TwiML attributes
1605
+ * @param url - Media URL
1606
+ */
1607
+ play(url?: string): VoiceResponse.Play;
1608
+ play(attributes?: VoiceResponse.PlayAttributes, url?: string): VoiceResponse.Play;
1609
+ /**
1610
+ * <Say> TwiML Verb
1611
+ *
1612
+ * @param attributes - TwiML attributes
1613
+ * @param message - Message to say
1614
+ */
1615
+ say(message: string): VoiceResponse.Say;
1616
+ say(attributes: VoiceResponse.SayAttributes, message: string): VoiceResponse.Say;
1617
+ }
1618
+ export class Hangup extends TwiML {
1619
+ hangup: XMLElement;
1620
+ /**
1621
+ * <Hangup> TwiML Verb
1622
+ */
1623
+ constructor(hangup: XMLElement);
1624
+ /**
1625
+ * <Parameter> TwiML Noun
1626
+ *
1627
+ * @param attributes - TwiML attributes
1628
+ */
1629
+ parameter(attributes?: VoiceResponse.ParameterAttributes): VoiceResponse.Parameter;
1630
+ }
1631
+ export class Identity extends TwiML {
1632
+ identity: XMLElement;
1633
+ /**
1634
+ * <Identity> TwiML Noun
1635
+ */
1636
+ constructor(identity: XMLElement);
1637
+ }
1638
+ export class Leave extends TwiML {
1639
+ leave: XMLElement;
1640
+ /**
1641
+ * <Leave> TwiML Verb
1642
+ */
1643
+ constructor(leave: XMLElement);
1644
+ }
1645
+ export class Number extends TwiML {
1646
+ number: XMLElement;
1647
+ /**
1648
+ * <Number> TwiML Noun
1649
+ */
1650
+ constructor(number: XMLElement);
1651
+ }
1652
+ export class Parameter extends TwiML {
1653
+ parameter: XMLElement;
1654
+ /**
1655
+ * <Parameter> TwiML Noun
1656
+ */
1657
+ constructor(parameter: XMLElement);
1658
+ }
1659
+ export class Pause extends TwiML {
1660
+ pause: XMLElement;
1661
+ /**
1662
+ * <Pause> TwiML Verb
1663
+ */
1664
+ constructor(pause: XMLElement);
1665
+ }
1666
+ export class Pay extends TwiML {
1667
+ pay: XMLElement;
1668
+ /**
1669
+ * <Pay> Twiml Verb
1670
+ */
1671
+ constructor(pay: XMLElement);
1672
+ /**
1673
+ * <Parameter> TwiML Noun
1674
+ *
1675
+ * @param attributes - TwiML attributes
1676
+ */
1677
+ parameter(attributes?: VoiceResponse.ParameterAttributes): VoiceResponse.Parameter;
1678
+ /**
1679
+ * <Prompt> Twiml Verb
1680
+ *
1681
+ * @param attributes - TwiML attributes
1682
+ */
1683
+ prompt(attributes?: VoiceResponse.PromptAttributes): VoiceResponse.Prompt;
1684
+ }
1685
+ export class Play extends TwiML {
1686
+ play: XMLElement;
1687
+ /**
1688
+ * <Play> TwiML Verb
1689
+ */
1690
+ constructor(play: XMLElement);
1691
+ }
1692
+ export class Prompt extends TwiML {
1693
+ prompt: XMLElement;
1694
+ /**
1695
+ * <Prompt> Twiml Verb
1696
+ */
1697
+ constructor(prompt: XMLElement);
1698
+ /**
1699
+ * <Pause> TwiML Verb
1700
+ *
1701
+ * @param attributes - TwiML attributes
1702
+ */
1703
+ pause(attributes?: VoiceResponse.PauseAttributes): VoiceResponse.Pause;
1704
+ /**
1705
+ * <Play> TwiML Verb
1706
+ *
1707
+ * @param attributes - TwiML attributes
1708
+ * @param url - Media URL
1709
+ */
1710
+ play(url?: string): VoiceResponse.Play;
1711
+ play(attributes?: VoiceResponse.PlayAttributes, url?: string): VoiceResponse.Play;
1712
+ /**
1713
+ * <Say> TwiML Verb
1714
+ *
1715
+ * @param attributes - TwiML attributes
1716
+ * @param message - Message to say
1717
+ */
1718
+ say(message: string): VoiceResponse.Say;
1719
+ say(attributes: VoiceResponse.SayAttributes, message: string): VoiceResponse.Say;
1720
+ }
1721
+ export class Queue extends TwiML {
1722
+ queue: XMLElement;
1723
+ /**
1724
+ * <Queue> TwiML Noun
1725
+ */
1726
+ constructor(queue: XMLElement);
1727
+ }
1728
+ export class Record extends TwiML {
1729
+ record: XMLElement;
1730
+ /**
1731
+ * <Record> TwiML Verb
1732
+ */
1733
+ constructor(record: XMLElement);
1734
+ }
1735
+ export class Redirect extends TwiML {
1736
+ redirect: XMLElement;
1737
+ /**
1738
+ * <Redirect> TwiML Verb
1739
+ */
1740
+ constructor(redirect: XMLElement);
1741
+ }
1742
+ export class Refer extends TwiML {
1743
+ refer: XMLElement;
1744
+ /**
1745
+ * <Refer> TwiML Verb
1746
+ */
1747
+ constructor(refer: XMLElement);
1748
+ /**
1749
+ * <Sip> TwiML Noun used in <Refer>
1750
+ *
1751
+ * @param attributes - TwiML attributes
1752
+ * @param sipUrl - SIP URL
1753
+ */
1754
+ sip(sipUrl: string): VoiceResponse.ReferSip;
1755
+ sip(attributes: object, sipUrl: string): VoiceResponse.ReferSip;
1756
+ }
1757
+ export class ReferSip extends TwiML {
1758
+ referSip: XMLElement;
1759
+ /**
1760
+ * <Sip> TwiML Noun used in <Refer>
1761
+ */
1762
+ constructor(referSip: XMLElement);
1763
+ }
1764
+ export class Reject extends TwiML {
1765
+ reject: XMLElement;
1766
+ /**
1767
+ * <Reject> TwiML Verb
1768
+ */
1769
+ constructor(reject: XMLElement);
1770
+ /**
1771
+ * <Parameter> TwiML Noun
1772
+ *
1773
+ * @param attributes - TwiML attributes
1774
+ */
1775
+ parameter(attributes?: VoiceResponse.ParameterAttributes): VoiceResponse.Parameter;
1776
+ }
1777
+ export class Room extends TwiML {
1778
+ room: XMLElement;
1779
+ /**
1780
+ * <Room> TwiML Noun
1781
+ */
1782
+ constructor(room: XMLElement);
1783
+ }
1784
+ export class Say extends TwiML {
1785
+ say: XMLElement;
1786
+ /**
1787
+ * <Say> TwiML Verb
1788
+ */
1789
+ constructor(say: XMLElement);
1790
+ /**
1791
+ * Adding a Pause in <Say>
1792
+ *
1793
+ * @param attributes - TwiML attributes
1794
+ */
1795
+ break(attributes?: VoiceResponse.SsmlBreakAttributes): VoiceResponse.SsmlBreak;
1796
+ /**
1797
+ * Emphasizing Words in <Say>
1798
+ *
1799
+ * @param attributes - TwiML attributes
1800
+ * @param words - Words to emphasize
1801
+ */
1802
+ emphasis(words: string): VoiceResponse.SsmlEmphasis;
1803
+ emphasis(attributes: VoiceResponse.SsmlEmphasisAttributes, words: string): VoiceResponse.SsmlEmphasis;
1804
+ /**
1805
+ * Specifying Another Language for Specific Words in <Say>
1806
+ *
1807
+ * @param attributes - TwiML attributes
1808
+ * @param words - Words to speak
1809
+ */
1810
+ lang(words: string): VoiceResponse.SsmlLang;
1811
+ lang(attributes: VoiceResponse.SsmlLangAttributes, words: string): VoiceResponse.SsmlLang;
1812
+ /**
1813
+ * Adding a Pause Between Paragraphs in <Say>
1814
+ *
1815
+ * @param attributes - TwiML attributes
1816
+ * @param words - Words to speak
1817
+ */
1818
+ p(words: string): VoiceResponse.SsmlP;
1819
+ p(attributes: object, words: string): VoiceResponse.SsmlP;
1820
+ /**
1821
+ * Using Phonetic Pronunciation in <Say>
1822
+ *
1823
+ * @param attributes - TwiML attributes
1824
+ * @param words - Words to speak
1825
+ */
1826
+ phoneme(words: string): VoiceResponse.SsmlPhoneme;
1827
+ phoneme(attributes: VoiceResponse.SsmlPhonemeAttributes, words: string): VoiceResponse.SsmlPhoneme;
1828
+ /**
1829
+ * Controling Volume, Speaking Rate, and Pitch in <Say>
1830
+ *
1831
+ * @param attributes - TwiML attributes
1832
+ * @param words - Words to speak
1833
+ */
1834
+ prosody(words: string): VoiceResponse.SsmlProsody;
1835
+ prosody(attributes: VoiceResponse.SsmlProsodyAttributes, words: string): VoiceResponse.SsmlProsody;
1836
+ /**
1837
+ * Adding A Pause Between Sentences in <Say>
1838
+ *
1839
+ * @param attributes - TwiML attributes
1840
+ * @param words - Words to speak
1841
+ */
1842
+ s(words: string): VoiceResponse.SsmlS;
1843
+ s(attributes: object, words: string): VoiceResponse.SsmlS;
1844
+ /**
1845
+ * Controlling How Special Types of Words Are Spoken in <Say>
1846
+ *
1847
+ * @param attributes - TwiML attributes
1848
+ * @param words - Words to be interpreted
1849
+ */
1850
+ sayAs(words: string): VoiceResponse.SsmlSayAs;
1851
+ sayAs(attributes: VoiceResponse.SsmlSayAsAttributes, words: string): VoiceResponse.SsmlSayAs;
1852
+ /**
1853
+ * Pronouncing Acronyms and Abbreviations in <Say>
1854
+ *
1855
+ * @param attributes - TwiML attributes
1856
+ * @param words - Words to be substituted
1857
+ */
1858
+ sub(words: string): VoiceResponse.SsmlSub;
1859
+ sub(attributes: VoiceResponse.SsmlSubAttributes, words: string): VoiceResponse.SsmlSub;
1860
+ /**
1861
+ * Improving Pronunciation by Specifying Parts of Speech in <Say>
1862
+ *
1863
+ * @param attributes - TwiML attributes
1864
+ * @param words - Words to speak
1865
+ */
1866
+ w(words: string): VoiceResponse.SsmlW;
1867
+ w(attributes: VoiceResponse.SsmlWAttributes, words: string): VoiceResponse.SsmlW;
1868
+ }
1869
+ export class Sim extends TwiML {
1870
+ sim: XMLElement;
1871
+ /**
1872
+ * <Sim> TwiML Noun
1873
+ */
1874
+ constructor(sim: XMLElement);
1875
+ }
1876
+ export class Sip extends TwiML {
1877
+ sip: XMLElement;
1878
+ /**
1879
+ * <Sip> TwiML Noun
1880
+ */
1881
+ constructor(sip: XMLElement);
1882
+ }
1883
+ export class Siprec extends TwiML {
1884
+ siprec: XMLElement;
1885
+ /**
1886
+ * <Siprec> TwiML Noun
1887
+ */
1888
+ constructor(siprec: XMLElement);
1889
+ /**
1890
+ * <Parameter> TwiML Noun
1891
+ *
1892
+ * @param attributes - TwiML attributes
1893
+ */
1894
+ parameter(attributes?: VoiceResponse.ParameterAttributes): VoiceResponse.Parameter;
1895
+ }
1896
+ export class Sms extends TwiML {
1897
+ sms: XMLElement;
1898
+ /**
1899
+ * <Sms> TwiML Noun
1900
+ */
1901
+ constructor(sms: XMLElement);
1902
+ }
1903
+ export class SsmlBreak extends TwiML {
1904
+ ssmlBreak: XMLElement;
1905
+ /**
1906
+ * Adding a Pause in <Say>
1907
+ */
1908
+ constructor(ssmlBreak: XMLElement);
1909
+ }
1910
+ export class SsmlEmphasis extends TwiML {
1911
+ ssmlEmphasis: XMLElement;
1912
+ /**
1913
+ * Emphasizing Words in <Say>
1914
+ */
1915
+ constructor(ssmlEmphasis: XMLElement);
1916
+ /**
1917
+ * Adding a Pause in <Say>
1918
+ *
1919
+ * @param attributes - TwiML attributes
1920
+ */
1921
+ break(attributes?: VoiceResponse.SsmlBreakAttributes): VoiceResponse.SsmlBreak;
1922
+ /**
1923
+ * Emphasizing Words in <Say>
1924
+ *
1925
+ * @param attributes - TwiML attributes
1926
+ * @param words - Words to emphasize
1927
+ */
1928
+ emphasis(words: string): VoiceResponse.SsmlEmphasis;
1929
+ emphasis(attributes: VoiceResponse.SsmlEmphasisAttributes, words: string): VoiceResponse.SsmlEmphasis;
1930
+ /**
1931
+ * Specifying Another Language for Specific Words in <Say>
1932
+ *
1933
+ * @param attributes - TwiML attributes
1934
+ * @param words - Words to speak
1935
+ */
1936
+ lang(words: string): VoiceResponse.SsmlLang;
1937
+ lang(attributes: VoiceResponse.SsmlLangAttributes, words: string): VoiceResponse.SsmlLang;
1938
+ /**
1939
+ * Using Phonetic Pronunciation in <Say>
1940
+ *
1941
+ * @param attributes - TwiML attributes
1942
+ * @param words - Words to speak
1943
+ */
1944
+ phoneme(words: string): VoiceResponse.SsmlPhoneme;
1945
+ phoneme(attributes: VoiceResponse.SsmlPhonemeAttributes, words: string): VoiceResponse.SsmlPhoneme;
1946
+ /**
1947
+ * Controling Volume, Speaking Rate, and Pitch in <Say>
1948
+ *
1949
+ * @param attributes - TwiML attributes
1950
+ * @param words - Words to speak
1951
+ */
1952
+ prosody(words: string): VoiceResponse.SsmlProsody;
1953
+ prosody(attributes: VoiceResponse.SsmlProsodyAttributes, words: string): VoiceResponse.SsmlProsody;
1954
+ /**
1955
+ * Controlling How Special Types of Words Are Spoken in <Say>
1956
+ *
1957
+ * @param attributes - TwiML attributes
1958
+ * @param words - Words to be interpreted
1959
+ */
1960
+ sayAs(words: string): VoiceResponse.SsmlSayAs;
1961
+ sayAs(attributes: VoiceResponse.SsmlSayAsAttributes, words: string): VoiceResponse.SsmlSayAs;
1962
+ /**
1963
+ * Pronouncing Acronyms and Abbreviations in <Say>
1964
+ *
1965
+ * @param attributes - TwiML attributes
1966
+ * @param words - Words to be substituted
1967
+ */
1968
+ sub(words: string): VoiceResponse.SsmlSub;
1969
+ sub(attributes: VoiceResponse.SsmlSubAttributes, words: string): VoiceResponse.SsmlSub;
1970
+ /**
1971
+ * Improving Pronunciation by Specifying Parts of Speech in <Say>
1972
+ *
1973
+ * @param attributes - TwiML attributes
1974
+ * @param words - Words to speak
1975
+ */
1976
+ w(words: string): VoiceResponse.SsmlW;
1977
+ w(attributes: VoiceResponse.SsmlWAttributes, words: string): VoiceResponse.SsmlW;
1978
+ }
1979
+ export class SsmlLang extends TwiML {
1980
+ ssmlLang: XMLElement;
1981
+ /**
1982
+ * Specifying Another Language for Specific Words in <Say>
1983
+ */
1984
+ constructor(ssmlLang: XMLElement);
1985
+ /**
1986
+ * Adding a Pause in <Say>
1987
+ *
1988
+ * @param attributes - TwiML attributes
1989
+ */
1990
+ break(attributes?: VoiceResponse.SsmlBreakAttributes): VoiceResponse.SsmlBreak;
1991
+ /**
1992
+ * Emphasizing Words in <Say>
1993
+ *
1994
+ * @param attributes - TwiML attributes
1995
+ * @param words - Words to emphasize
1996
+ */
1997
+ emphasis(words: string): VoiceResponse.SsmlEmphasis;
1998
+ emphasis(attributes: VoiceResponse.SsmlEmphasisAttributes, words: string): VoiceResponse.SsmlEmphasis;
1999
+ /**
2000
+ * Specifying Another Language for Specific Words in <Say>
2001
+ *
2002
+ * @param attributes - TwiML attributes
2003
+ * @param words - Words to speak
2004
+ */
2005
+ lang(words: string): VoiceResponse.SsmlLang;
2006
+ lang(attributes: VoiceResponse.SsmlLangAttributes, words: string): VoiceResponse.SsmlLang;
2007
+ /**
2008
+ * Adding a Pause Between Paragraphs in <Say>
2009
+ *
2010
+ * @param attributes - TwiML attributes
2011
+ * @param words - Words to speak
2012
+ */
2013
+ p(words: string): VoiceResponse.SsmlP;
2014
+ p(attributes: object, words: string): VoiceResponse.SsmlP;
2015
+ /**
2016
+ * Using Phonetic Pronunciation in <Say>
2017
+ *
2018
+ * @param attributes - TwiML attributes
2019
+ * @param words - Words to speak
2020
+ */
2021
+ phoneme(words: string): VoiceResponse.SsmlPhoneme;
2022
+ phoneme(attributes: VoiceResponse.SsmlPhonemeAttributes, words: string): VoiceResponse.SsmlPhoneme;
2023
+ /**
2024
+ * Controling Volume, Speaking Rate, and Pitch in <Say>
2025
+ *
2026
+ * @param attributes - TwiML attributes
2027
+ * @param words - Words to speak
2028
+ */
2029
+ prosody(words: string): VoiceResponse.SsmlProsody;
2030
+ prosody(attributes: VoiceResponse.SsmlProsodyAttributes, words: string): VoiceResponse.SsmlProsody;
2031
+ /**
2032
+ * Adding A Pause Between Sentences in <Say>
2033
+ *
2034
+ * @param attributes - TwiML attributes
2035
+ * @param words - Words to speak
2036
+ */
2037
+ s(words: string): VoiceResponse.SsmlS;
2038
+ s(attributes: object, words: string): VoiceResponse.SsmlS;
2039
+ /**
2040
+ * Controlling How Special Types of Words Are Spoken in <Say>
2041
+ *
2042
+ * @param attributes - TwiML attributes
2043
+ * @param words - Words to be interpreted
2044
+ */
2045
+ sayAs(words: string): VoiceResponse.SsmlSayAs;
2046
+ sayAs(attributes: VoiceResponse.SsmlSayAsAttributes, words: string): VoiceResponse.SsmlSayAs;
2047
+ /**
2048
+ * Pronouncing Acronyms and Abbreviations in <Say>
2049
+ *
2050
+ * @param attributes - TwiML attributes
2051
+ * @param words - Words to be substituted
2052
+ */
2053
+ sub(words: string): VoiceResponse.SsmlSub;
2054
+ sub(attributes: VoiceResponse.SsmlSubAttributes, words: string): VoiceResponse.SsmlSub;
2055
+ /**
2056
+ * Improving Pronunciation by Specifying Parts of Speech in <Say>
2057
+ *
2058
+ * @param attributes - TwiML attributes
2059
+ * @param words - Words to speak
2060
+ */
2061
+ w(words: string): VoiceResponse.SsmlW;
2062
+ w(attributes: VoiceResponse.SsmlWAttributes, words: string): VoiceResponse.SsmlW;
2063
+ }
2064
+ export class SsmlP extends TwiML {
2065
+ ssmlP: XMLElement;
2066
+ /**
2067
+ * Adding a Pause Between Paragraphs in <Say>
2068
+ */
2069
+ constructor(ssmlP: XMLElement);
2070
+ /**
2071
+ * Adding a Pause in <Say>
2072
+ *
2073
+ * @param attributes - TwiML attributes
2074
+ */
2075
+ break(attributes?: VoiceResponse.SsmlBreakAttributes): VoiceResponse.SsmlBreak;
2076
+ /**
2077
+ * Emphasizing Words in <Say>
2078
+ *
2079
+ * @param attributes - TwiML attributes
2080
+ * @param words - Words to emphasize
2081
+ */
2082
+ emphasis(words: string): VoiceResponse.SsmlEmphasis;
2083
+ emphasis(attributes: VoiceResponse.SsmlEmphasisAttributes, words: string): VoiceResponse.SsmlEmphasis;
2084
+ /**
2085
+ * Specifying Another Language for Specific Words in <Say>
2086
+ *
2087
+ * @param attributes - TwiML attributes
2088
+ * @param words - Words to speak
2089
+ */
2090
+ lang(words: string): VoiceResponse.SsmlLang;
2091
+ lang(attributes: VoiceResponse.SsmlLangAttributes, words: string): VoiceResponse.SsmlLang;
2092
+ /**
2093
+ * Using Phonetic Pronunciation in <Say>
2094
+ *
2095
+ * @param attributes - TwiML attributes
2096
+ * @param words - Words to speak
2097
+ */
2098
+ phoneme(words: string): VoiceResponse.SsmlPhoneme;
2099
+ phoneme(attributes: VoiceResponse.SsmlPhonemeAttributes, words: string): VoiceResponse.SsmlPhoneme;
2100
+ /**
2101
+ * Controling Volume, Speaking Rate, and Pitch in <Say>
2102
+ *
2103
+ * @param attributes - TwiML attributes
2104
+ * @param words - Words to speak
2105
+ */
2106
+ prosody(words: string): VoiceResponse.SsmlProsody;
2107
+ prosody(attributes: VoiceResponse.SsmlProsodyAttributes, words: string): VoiceResponse.SsmlProsody;
2108
+ /**
2109
+ * Adding A Pause Between Sentences in <Say>
2110
+ *
2111
+ * @param attributes - TwiML attributes
2112
+ * @param words - Words to speak
2113
+ */
2114
+ s(words: string): VoiceResponse.SsmlS;
2115
+ s(attributes: object, words: string): VoiceResponse.SsmlS;
2116
+ /**
2117
+ * Controlling How Special Types of Words Are Spoken in <Say>
2118
+ *
2119
+ * @param attributes - TwiML attributes
2120
+ * @param words - Words to be interpreted
2121
+ */
2122
+ sayAs(words: string): VoiceResponse.SsmlSayAs;
2123
+ sayAs(attributes: VoiceResponse.SsmlSayAsAttributes, words: string): VoiceResponse.SsmlSayAs;
2124
+ /**
2125
+ * Pronouncing Acronyms and Abbreviations in <Say>
2126
+ *
2127
+ * @param attributes - TwiML attributes
2128
+ * @param words - Words to be substituted
2129
+ */
2130
+ sub(words: string): VoiceResponse.SsmlSub;
2131
+ sub(attributes: VoiceResponse.SsmlSubAttributes, words: string): VoiceResponse.SsmlSub;
2132
+ /**
2133
+ * Improving Pronunciation by Specifying Parts of Speech in <Say>
2134
+ *
2135
+ * @param attributes - TwiML attributes
2136
+ * @param words - Words to speak
2137
+ */
2138
+ w(words: string): VoiceResponse.SsmlW;
2139
+ w(attributes: VoiceResponse.SsmlWAttributes, words: string): VoiceResponse.SsmlW;
2140
+ }
2141
+ export class SsmlPhoneme extends TwiML {
2142
+ ssmlPhoneme: XMLElement;
2143
+ /**
2144
+ * Using Phonetic Pronunciation in <Say>
2145
+ */
2146
+ constructor(ssmlPhoneme: XMLElement);
2147
+ }
2148
+ export class SsmlProsody extends TwiML {
2149
+ ssmlProsody: XMLElement;
2150
+ /**
2151
+ * Controling Volume, Speaking Rate, and Pitch in <Say>
2152
+ */
2153
+ constructor(ssmlProsody: XMLElement);
2154
+ /**
2155
+ * Adding a Pause in <Say>
2156
+ *
2157
+ * @param attributes - TwiML attributes
2158
+ */
2159
+ break(attributes?: VoiceResponse.SsmlBreakAttributes): VoiceResponse.SsmlBreak;
2160
+ /**
2161
+ * Emphasizing Words in <Say>
2162
+ *
2163
+ * @param attributes - TwiML attributes
2164
+ * @param words - Words to emphasize
2165
+ */
2166
+ emphasis(words: string): VoiceResponse.SsmlEmphasis;
2167
+ emphasis(attributes: VoiceResponse.SsmlEmphasisAttributes, words: string): VoiceResponse.SsmlEmphasis;
2168
+ /**
2169
+ * Specifying Another Language for Specific Words in <Say>
2170
+ *
2171
+ * @param attributes - TwiML attributes
2172
+ * @param words - Words to speak
2173
+ */
2174
+ lang(words: string): VoiceResponse.SsmlLang;
2175
+ lang(attributes: VoiceResponse.SsmlLangAttributes, words: string): VoiceResponse.SsmlLang;
2176
+ /**
2177
+ * Adding a Pause Between Paragraphs in <Say>
2178
+ *
2179
+ * @param attributes - TwiML attributes
2180
+ * @param words - Words to speak
2181
+ */
2182
+ p(words: string): VoiceResponse.SsmlP;
2183
+ p(attributes: object, words: string): VoiceResponse.SsmlP;
2184
+ /**
2185
+ * Using Phonetic Pronunciation in <Say>
2186
+ *
2187
+ * @param attributes - TwiML attributes
2188
+ * @param words - Words to speak
2189
+ */
2190
+ phoneme(words: string): VoiceResponse.SsmlPhoneme;
2191
+ phoneme(attributes: VoiceResponse.SsmlPhonemeAttributes, words: string): VoiceResponse.SsmlPhoneme;
2192
+ /**
2193
+ * Controling Volume, Speaking Rate, and Pitch in <Say>
2194
+ *
2195
+ * @param attributes - TwiML attributes
2196
+ * @param words - Words to speak
2197
+ */
2198
+ prosody(words: string): VoiceResponse.SsmlProsody;
2199
+ prosody(attributes: VoiceResponse.SsmlProsodyAttributes, words: string): VoiceResponse.SsmlProsody;
2200
+ /**
2201
+ * Adding A Pause Between Sentences in <Say>
2202
+ *
2203
+ * @param attributes - TwiML attributes
2204
+ * @param words - Words to speak
2205
+ */
2206
+ s(words: string): VoiceResponse.SsmlS;
2207
+ s(attributes: object, words: string): VoiceResponse.SsmlS;
2208
+ /**
2209
+ * Controlling How Special Types of Words Are Spoken in <Say>
2210
+ *
2211
+ * @param attributes - TwiML attributes
2212
+ * @param words - Words to be interpreted
2213
+ */
2214
+ sayAs(words: string): VoiceResponse.SsmlSayAs;
2215
+ sayAs(attributes: VoiceResponse.SsmlSayAsAttributes, words: string): VoiceResponse.SsmlSayAs;
2216
+ /**
2217
+ * Pronouncing Acronyms and Abbreviations in <Say>
2218
+ *
2219
+ * @param attributes - TwiML attributes
2220
+ * @param words - Words to be substituted
2221
+ */
2222
+ sub(words: string): VoiceResponse.SsmlSub;
2223
+ sub(attributes: VoiceResponse.SsmlSubAttributes, words: string): VoiceResponse.SsmlSub;
2224
+ /**
2225
+ * Improving Pronunciation by Specifying Parts of Speech in <Say>
2226
+ *
2227
+ * @param attributes - TwiML attributes
2228
+ * @param words - Words to speak
2229
+ */
2230
+ w(words: string): VoiceResponse.SsmlW;
2231
+ w(attributes: VoiceResponse.SsmlWAttributes, words: string): VoiceResponse.SsmlW;
2232
+ }
2233
+ export class SsmlS extends TwiML {
2234
+ ssmlS: XMLElement;
2235
+ /**
2236
+ * Adding A Pause Between Sentences in <Say>
2237
+ */
2238
+ constructor(ssmlS: XMLElement);
2239
+ /**
2240
+ * Adding a Pause in <Say>
2241
+ *
2242
+ * @param attributes - TwiML attributes
2243
+ */
2244
+ break(attributes?: VoiceResponse.SsmlBreakAttributes): VoiceResponse.SsmlBreak;
2245
+ /**
2246
+ * Emphasizing Words in <Say>
2247
+ *
2248
+ * @param attributes - TwiML attributes
2249
+ * @param words - Words to emphasize
2250
+ */
2251
+ emphasis(words: string): VoiceResponse.SsmlEmphasis;
2252
+ emphasis(attributes: VoiceResponse.SsmlEmphasisAttributes, words: string): VoiceResponse.SsmlEmphasis;
2253
+ /**
2254
+ * Specifying Another Language for Specific Words in <Say>
2255
+ *
2256
+ * @param attributes - TwiML attributes
2257
+ * @param words - Words to speak
2258
+ */
2259
+ lang(words: string): VoiceResponse.SsmlLang;
2260
+ lang(attributes: VoiceResponse.SsmlLangAttributes, words: string): VoiceResponse.SsmlLang;
2261
+ /**
2262
+ * Using Phonetic Pronunciation in <Say>
2263
+ *
2264
+ * @param attributes - TwiML attributes
2265
+ * @param words - Words to speak
2266
+ */
2267
+ phoneme(words: string): VoiceResponse.SsmlPhoneme;
2268
+ phoneme(attributes: VoiceResponse.SsmlPhonemeAttributes, words: string): VoiceResponse.SsmlPhoneme;
2269
+ /**
2270
+ * Controling Volume, Speaking Rate, and Pitch in <Say>
2271
+ *
2272
+ * @param attributes - TwiML attributes
2273
+ * @param words - Words to speak
2274
+ */
2275
+ prosody(words: string): VoiceResponse.SsmlProsody;
2276
+ prosody(attributes: VoiceResponse.SsmlProsodyAttributes, words: string): VoiceResponse.SsmlProsody;
2277
+ /**
2278
+ * Controlling How Special Types of Words Are Spoken in <Say>
2279
+ *
2280
+ * @param attributes - TwiML attributes
2281
+ * @param words - Words to be interpreted
2282
+ */
2283
+ sayAs(words: string): VoiceResponse.SsmlSayAs;
2284
+ sayAs(attributes: VoiceResponse.SsmlSayAsAttributes, words: string): VoiceResponse.SsmlSayAs;
2285
+ /**
2286
+ * Pronouncing Acronyms and Abbreviations in <Say>
2287
+ *
2288
+ * @param attributes - TwiML attributes
2289
+ * @param words - Words to be substituted
2290
+ */
2291
+ sub(words: string): VoiceResponse.SsmlSub;
2292
+ sub(attributes: VoiceResponse.SsmlSubAttributes, words: string): VoiceResponse.SsmlSub;
2293
+ /**
2294
+ * Improving Pronunciation by Specifying Parts of Speech in <Say>
2295
+ *
2296
+ * @param attributes - TwiML attributes
2297
+ * @param words - Words to speak
2298
+ */
2299
+ w(words: string): VoiceResponse.SsmlW;
2300
+ w(attributes: VoiceResponse.SsmlWAttributes, words: string): VoiceResponse.SsmlW;
2301
+ }
2302
+ export class SsmlSayAs extends TwiML {
2303
+ ssmlSayAs: XMLElement;
2304
+ /**
2305
+ * Controlling How Special Types of Words Are Spoken in <Say>
2306
+ */
2307
+ constructor(ssmlSayAs: XMLElement);
2308
+ }
2309
+ export class SsmlSub extends TwiML {
2310
+ ssmlSub: XMLElement;
2311
+ /**
2312
+ * Pronouncing Acronyms and Abbreviations in <Say>
2313
+ */
2314
+ constructor(ssmlSub: XMLElement);
2315
+ }
2316
+ export class SsmlW extends TwiML {
2317
+ ssmlW: XMLElement;
2318
+ /**
2319
+ * Improving Pronunciation by Specifying Parts of Speech in <Say>
2320
+ */
2321
+ constructor(ssmlW: XMLElement);
2322
+ /**
2323
+ * Adding a Pause in <Say>
2324
+ *
2325
+ * @param attributes - TwiML attributes
2326
+ */
2327
+ break(attributes?: VoiceResponse.SsmlBreakAttributes): VoiceResponse.SsmlBreak;
2328
+ /**
2329
+ * Emphasizing Words in <Say>
2330
+ *
2331
+ * @param attributes - TwiML attributes
2332
+ * @param words - Words to emphasize
2333
+ */
2334
+ emphasis(words: string): VoiceResponse.SsmlEmphasis;
2335
+ emphasis(attributes: VoiceResponse.SsmlEmphasisAttributes, words: string): VoiceResponse.SsmlEmphasis;
2336
+ /**
2337
+ * Using Phonetic Pronunciation in <Say>
2338
+ *
2339
+ * @param attributes - TwiML attributes
2340
+ * @param words - Words to speak
2341
+ */
2342
+ phoneme(words: string): VoiceResponse.SsmlPhoneme;
2343
+ phoneme(attributes: VoiceResponse.SsmlPhonemeAttributes, words: string): VoiceResponse.SsmlPhoneme;
2344
+ /**
2345
+ * Controling Volume, Speaking Rate, and Pitch in <Say>
2346
+ *
2347
+ * @param attributes - TwiML attributes
2348
+ * @param words - Words to speak
2349
+ */
2350
+ prosody(words: string): VoiceResponse.SsmlProsody;
2351
+ prosody(attributes: VoiceResponse.SsmlProsodyAttributes, words: string): VoiceResponse.SsmlProsody;
2352
+ /**
2353
+ * Controlling How Special Types of Words Are Spoken in <Say>
2354
+ *
2355
+ * @param attributes - TwiML attributes
2356
+ * @param words - Words to be interpreted
2357
+ */
2358
+ sayAs(words: string): VoiceResponse.SsmlSayAs;
2359
+ sayAs(attributes: VoiceResponse.SsmlSayAsAttributes, words: string): VoiceResponse.SsmlSayAs;
2360
+ /**
2361
+ * Pronouncing Acronyms and Abbreviations in <Say>
2362
+ *
2363
+ * @param attributes - TwiML attributes
2364
+ * @param words - Words to be substituted
2365
+ */
2366
+ sub(words: string): VoiceResponse.SsmlSub;
2367
+ sub(attributes: VoiceResponse.SsmlSubAttributes, words: string): VoiceResponse.SsmlSub;
2368
+ }
2369
+ export class Start extends TwiML {
2370
+ start: XMLElement;
2371
+ /**
2372
+ * <Start> TwiML Verb
2373
+ */
2374
+ constructor(start: XMLElement);
2375
+ /**
2376
+ * <Siprec> TwiML Noun
2377
+ *
2378
+ * @param attributes - TwiML attributes
2379
+ */
2380
+ siprec(attributes?: VoiceResponse.SiprecAttributes): VoiceResponse.Siprec;
2381
+ /**
2382
+ * <Stream> TwiML Noun
2383
+ *
2384
+ * @param attributes - TwiML attributes
2385
+ */
2386
+ stream(attributes?: VoiceResponse.StreamAttributes): VoiceResponse.Stream;
2387
+ }
2388
+ export class Stop extends TwiML {
2389
+ stop: XMLElement;
2390
+ /**
2391
+ * <Stop> TwiML Verb
2392
+ */
2393
+ constructor(stop: XMLElement);
2394
+ /**
2395
+ * <Siprec> TwiML Noun
2396
+ *
2397
+ * @param attributes - TwiML attributes
2398
+ */
2399
+ siprec(attributes?: VoiceResponse.SiprecAttributes): VoiceResponse.Siprec;
2400
+ /**
2401
+ * <Stream> TwiML Noun
2402
+ *
2403
+ * @param attributes - TwiML attributes
2404
+ */
2405
+ stream(attributes?: VoiceResponse.StreamAttributes): VoiceResponse.Stream;
2406
+ }
2407
+ export class Stream extends TwiML {
2408
+ stream: XMLElement;
2409
+ /**
2410
+ * <Stream> TwiML Noun
2411
+ */
2412
+ constructor(stream: XMLElement);
2413
+ /**
2414
+ * <Parameter> TwiML Noun
2415
+ *
2416
+ * @param attributes - TwiML attributes
2417
+ */
2418
+ parameter(attributes?: VoiceResponse.ParameterAttributes): VoiceResponse.Parameter;
2419
+ }
2420
+ export class Task extends TwiML {
2421
+ task: XMLElement;
2422
+ /**
2423
+ * <Task> TwiML Noun
2424
+ */
2425
+ constructor(task: XMLElement);
2426
+ }
2427
+ export class VirtualAgent extends TwiML {
2428
+ virtualAgent: XMLElement;
2429
+ /**
2430
+ * <VirtualAgent> TwiML Noun
2431
+ */
2432
+ constructor(virtualAgent: XMLElement);
2433
+ /**
2434
+ * <Config> TwiML Noun
2435
+ *
2436
+ * @param attributes - TwiML attributes
2437
+ */
2438
+ config(attributes?: VoiceResponse.ConfigAttributes): VoiceResponse.Config;
2439
+ /**
2440
+ * <Parameter> TwiML Noun
2441
+ *
2442
+ * @param attributes - TwiML attributes
2443
+ */
2444
+ parameter(attributes?: VoiceResponse.ParameterAttributes): VoiceResponse.Parameter;
2445
+ }
2446
+ export {};
2447
+ }
2448
+ export = VoiceResponse;