twilio 4.0.1 → 4.0.2

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 (1205) hide show
  1. package/lib/base/BaseTwilio.d.ts +81 -0
  2. package/lib/base/BaseTwilio.js +172 -0
  3. package/lib/base/Domain.d.ts +29 -0
  4. package/lib/base/Domain.js +53 -0
  5. package/lib/base/Page.d.ts +104 -0
  6. package/lib/base/Page.js +192 -0
  7. package/lib/base/RequestClient.d.ts +143 -0
  8. package/lib/base/RequestClient.js +223 -0
  9. package/lib/base/RestException.d.ts +16 -0
  10. package/lib/base/RestException.js +33 -0
  11. package/lib/base/Version.d.ts +129 -0
  12. package/lib/base/Version.js +335 -0
  13. package/lib/base/deserialize.d.ts +41 -0
  14. package/lib/base/deserialize.js +76 -0
  15. package/lib/base/serialize.d.ts +53 -0
  16. package/lib/base/serialize.js +122 -0
  17. package/lib/base/utility.d.ts +2 -0
  18. package/lib/base/utility.js +13 -0
  19. package/lib/base/values.d.ts +10 -0
  20. package/lib/base/values.js +16 -0
  21. package/lib/http/request.d.ts +25 -0
  22. package/lib/http/request.js +85 -0
  23. package/lib/http/response.d.ts +7 -0
  24. package/lib/http/response.js +13 -0
  25. package/lib/index.d.ts +39 -0
  26. package/lib/index.js +89 -0
  27. package/lib/interfaces.d.ts +94 -0
  28. package/lib/interfaces.js +2 -0
  29. package/lib/jwt/AccessToken.d.ts +191 -0
  30. package/lib/jwt/AccessToken.js +261 -0
  31. package/lib/jwt/ClientCapability.d.ts +61 -0
  32. package/lib/jwt/ClientCapability.js +122 -0
  33. package/lib/jwt/taskrouter/TaskRouterCapability.d.ts +74 -0
  34. package/lib/jwt/taskrouter/TaskRouterCapability.js +101 -0
  35. package/lib/jwt/taskrouter/util.d.ts +66 -0
  36. package/lib/jwt/taskrouter/util.js +169 -0
  37. package/lib/rest/Accounts.d.ts +19 -0
  38. package/lib/rest/Accounts.js +29 -0
  39. package/lib/rest/AccountsBase.d.ts +13 -0
  40. package/lib/rest/AccountsBase.js +31 -0
  41. package/lib/rest/Api.d.ts +127 -0
  42. package/lib/rest/Api.js +182 -0
  43. package/lib/rest/ApiBase.d.ts +13 -0
  44. package/lib/rest/ApiBase.js +31 -0
  45. package/lib/rest/Autopilot.d.ts +14 -0
  46. package/lib/rest/Autopilot.js +22 -0
  47. package/lib/rest/AutopilotBase.d.ts +13 -0
  48. package/lib/rest/AutopilotBase.js +31 -0
  49. package/lib/rest/Bulkexports.d.ts +14 -0
  50. package/lib/rest/Bulkexports.js +22 -0
  51. package/lib/rest/BulkexportsBase.d.ts +13 -0
  52. package/lib/rest/BulkexportsBase.js +31 -0
  53. package/lib/rest/Chat.d.ts +19 -0
  54. package/lib/rest/Chat.js +29 -0
  55. package/lib/rest/ChatBase.d.ts +19 -0
  56. package/lib/rest/ChatBase.js +41 -0
  57. package/lib/rest/Content.d.ts +9 -0
  58. package/lib/rest/Content.js +15 -0
  59. package/lib/rest/ContentBase.d.ts +13 -0
  60. package/lib/rest/ContentBase.js +31 -0
  61. package/lib/rest/Conversations.d.ts +44 -0
  62. package/lib/rest/Conversations.js +64 -0
  63. package/lib/rest/ConversationsBase.d.ts +13 -0
  64. package/lib/rest/ConversationsBase.js +31 -0
  65. package/lib/rest/Events.d.ts +24 -0
  66. package/lib/rest/Events.js +36 -0
  67. package/lib/rest/EventsBase.d.ts +13 -0
  68. package/lib/rest/EventsBase.js +31 -0
  69. package/lib/rest/FlexApi.d.ts +39 -0
  70. package/lib/rest/FlexApi.js +57 -0
  71. package/lib/rest/FlexApiBase.d.ts +16 -0
  72. package/lib/rest/FlexApiBase.js +36 -0
  73. package/lib/rest/FrontlineApi.d.ts +9 -0
  74. package/lib/rest/FrontlineApi.js +15 -0
  75. package/lib/rest/FrontlineApiBase.d.ts +13 -0
  76. package/lib/rest/FrontlineApiBase.js +31 -0
  77. package/lib/rest/Insights.d.ts +29 -0
  78. package/lib/rest/Insights.js +43 -0
  79. package/lib/rest/InsightsBase.d.ts +13 -0
  80. package/lib/rest/InsightsBase.js +31 -0
  81. package/lib/rest/IpMessaging.d.ts +14 -0
  82. package/lib/rest/IpMessaging.js +22 -0
  83. package/lib/rest/IpMessagingBase.d.ts +16 -0
  84. package/lib/rest/IpMessagingBase.js +36 -0
  85. package/lib/rest/Lookups.d.ts +9 -0
  86. package/lib/rest/Lookups.js +15 -0
  87. package/lib/rest/LookupsBase.d.ts +16 -0
  88. package/lib/rest/LookupsBase.js +36 -0
  89. package/lib/rest/Media.d.ts +19 -0
  90. package/lib/rest/Media.js +29 -0
  91. package/lib/rest/MediaBase.d.ts +13 -0
  92. package/lib/rest/MediaBase.js +31 -0
  93. package/lib/rest/Messaging.d.ts +39 -0
  94. package/lib/rest/Messaging.js +57 -0
  95. package/lib/rest/MessagingBase.d.ts +13 -0
  96. package/lib/rest/MessagingBase.js +31 -0
  97. package/lib/rest/Microvisor.d.ts +14 -0
  98. package/lib/rest/Microvisor.js +22 -0
  99. package/lib/rest/MicrovisorBase.d.ts +13 -0
  100. package/lib/rest/MicrovisorBase.js +31 -0
  101. package/lib/rest/Monitor.d.ts +14 -0
  102. package/lib/rest/Monitor.js +22 -0
  103. package/lib/rest/MonitorBase.d.ts +13 -0
  104. package/lib/rest/MonitorBase.js +31 -0
  105. package/lib/rest/Notify.d.ts +14 -0
  106. package/lib/rest/Notify.js +22 -0
  107. package/lib/rest/NotifyBase.d.ts +13 -0
  108. package/lib/rest/NotifyBase.js +31 -0
  109. package/lib/rest/Numbers.d.ts +9 -0
  110. package/lib/rest/Numbers.js +15 -0
  111. package/lib/rest/NumbersBase.d.ts +13 -0
  112. package/lib/rest/NumbersBase.js +31 -0
  113. package/lib/rest/Oauth.d.ts +29 -0
  114. package/lib/rest/Oauth.js +43 -0
  115. package/lib/rest/OauthBase.d.ts +13 -0
  116. package/lib/rest/OauthBase.js +31 -0
  117. package/lib/rest/Preview.d.ts +54 -0
  118. package/lib/rest/Preview.js +78 -0
  119. package/lib/rest/PreviewBase.d.ts +28 -0
  120. package/lib/rest/PreviewBase.js +57 -0
  121. package/lib/rest/Pricing.d.ts +29 -0
  122. package/lib/rest/Pricing.js +43 -0
  123. package/lib/rest/PricingBase.d.ts +16 -0
  124. package/lib/rest/PricingBase.js +36 -0
  125. package/lib/rest/Proxy.d.ts +9 -0
  126. package/lib/rest/Proxy.js +15 -0
  127. package/lib/rest/ProxyBase.d.ts +13 -0
  128. package/lib/rest/ProxyBase.js +31 -0
  129. package/lib/rest/Routes.d.ts +19 -0
  130. package/lib/rest/Routes.js +29 -0
  131. package/lib/rest/RoutesBase.d.ts +13 -0
  132. package/lib/rest/RoutesBase.js +31 -0
  133. package/lib/rest/Serverless.d.ts +9 -0
  134. package/lib/rest/Serverless.js +15 -0
  135. package/lib/rest/ServerlessBase.d.ts +13 -0
  136. package/lib/rest/ServerlessBase.js +31 -0
  137. package/lib/rest/Studio.d.ts +14 -0
  138. package/lib/rest/Studio.js +22 -0
  139. package/lib/rest/StudioBase.d.ts +16 -0
  140. package/lib/rest/StudioBase.js +36 -0
  141. package/lib/rest/Supersim.d.ts +49 -0
  142. package/lib/rest/Supersim.js +71 -0
  143. package/lib/rest/SupersimBase.d.ts +13 -0
  144. package/lib/rest/SupersimBase.js +31 -0
  145. package/lib/rest/Sync.d.ts +9 -0
  146. package/lib/rest/Sync.js +15 -0
  147. package/lib/rest/SyncBase.d.ts +13 -0
  148. package/lib/rest/SyncBase.js +31 -0
  149. package/lib/rest/Taskrouter.d.ts +9 -0
  150. package/lib/rest/Taskrouter.js +15 -0
  151. package/lib/rest/TaskrouterBase.d.ts +13 -0
  152. package/lib/rest/TaskrouterBase.js +31 -0
  153. package/lib/rest/Trunking.d.ts +9 -0
  154. package/lib/rest/Trunking.js +15 -0
  155. package/lib/rest/TrunkingBase.d.ts +13 -0
  156. package/lib/rest/TrunkingBase.js +31 -0
  157. package/lib/rest/Trusthub.d.ts +39 -0
  158. package/lib/rest/Trusthub.js +57 -0
  159. package/lib/rest/TrusthubBase.d.ts +13 -0
  160. package/lib/rest/TrusthubBase.js +31 -0
  161. package/lib/rest/Twilio.d.ts +266 -0
  162. package/lib/rest/Twilio.js +317 -0
  163. package/lib/rest/Verify.d.ts +29 -0
  164. package/lib/rest/Verify.js +43 -0
  165. package/lib/rest/VerifyBase.d.ts +13 -0
  166. package/lib/rest/VerifyBase.js +31 -0
  167. package/lib/rest/Video.d.ts +34 -0
  168. package/lib/rest/Video.js +50 -0
  169. package/lib/rest/VideoBase.d.ts +13 -0
  170. package/lib/rest/VideoBase.js +31 -0
  171. package/lib/rest/Voice.d.ts +34 -0
  172. package/lib/rest/Voice.js +50 -0
  173. package/lib/rest/VoiceBase.d.ts +13 -0
  174. package/lib/rest/VoiceBase.js +31 -0
  175. package/lib/rest/Wireless.d.ts +24 -0
  176. package/lib/rest/Wireless.js +36 -0
  177. package/lib/rest/WirelessBase.d.ts +13 -0
  178. package/lib/rest/WirelessBase.js +31 -0
  179. package/lib/rest/accounts/V1.d.ts +25 -0
  180. package/lib/rest/accounts/V1.js +50 -0
  181. package/lib/rest/accounts/v1/authTokenPromotion.d.ts +105 -0
  182. package/lib/rest/accounts/v1/authTokenPromotion.js +109 -0
  183. package/lib/rest/accounts/v1/credential/aws.d.ts +296 -0
  184. package/lib/rest/accounts/v1/credential/aws.js +251 -0
  185. package/lib/rest/accounts/v1/credential/publicKey.d.ts +296 -0
  186. package/lib/rest/accounts/v1/credential/publicKey.js +252 -0
  187. package/lib/rest/accounts/v1/credential.d.ts +22 -0
  188. package/lib/rest/accounts/v1/credential.js +51 -0
  189. package/lib/rest/accounts/v1/secondaryAuthToken.d.ts +122 -0
  190. package/lib/rest/accounts/v1/secondaryAuthToken.js +128 -0
  191. package/lib/rest/api/V2010.d.ts +20 -0
  192. package/lib/rest/api/V2010.js +42 -0
  193. package/lib/rest/api/v2010/account/address/dependentPhoneNumber.d.ts +295 -0
  194. package/lib/rest/api/v2010/account/address/dependentPhoneNumber.js +175 -0
  195. package/lib/rest/api/v2010/account/address.d.ts +414 -0
  196. package/lib/rest/api/v2010/account/address.js +338 -0
  197. package/lib/rest/api/v2010/account/application.d.ts +463 -0
  198. package/lib/rest/api/v2010/account/application.js +349 -0
  199. package/lib/rest/api/v2010/account/authorizedConnectApp.d.ts +244 -0
  200. package/lib/rest/api/v2010/account/authorizedConnectApp.js +198 -0
  201. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/local.d.ts +322 -0
  202. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/local.js +185 -0
  203. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/machineToMachine.d.ts +322 -0
  204. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/machineToMachine.js +185 -0
  205. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/mobile.d.ts +322 -0
  206. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/mobile.js +185 -0
  207. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/national.d.ts +322 -0
  208. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/national.js +185 -0
  209. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/sharedCost.d.ts +322 -0
  210. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/sharedCost.js +185 -0
  211. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/tollFree.d.ts +322 -0
  212. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/tollFree.js +185 -0
  213. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/voip.d.ts +322 -0
  214. package/lib/rest/api/v2010/account/availablePhoneNumberCountry/voip.js +185 -0
  215. package/lib/rest/api/v2010/account/availablePhoneNumberCountry.d.ts +269 -0
  216. package/lib/rest/api/v2010/account/availablePhoneNumberCountry.js +279 -0
  217. package/lib/rest/api/v2010/account/balance.d.ts +58 -0
  218. package/lib/rest/api/v2010/account/balance.js +70 -0
  219. package/lib/rest/api/v2010/account/call/event.d.ts +150 -0
  220. package/lib/rest/api/v2010/account/call/event.js +127 -0
  221. package/lib/rest/api/v2010/account/call/feedback.d.ts +160 -0
  222. package/lib/rest/api/v2010/account/call/feedback.js +154 -0
  223. package/lib/rest/api/v2010/account/call/feedbackSummary.d.ts +201 -0
  224. package/lib/rest/api/v2010/account/call/feedbackSummary.js +189 -0
  225. package/lib/rest/api/v2010/account/call/notification.d.ts +312 -0
  226. package/lib/rest/api/v2010/account/call/notification.js +223 -0
  227. package/lib/rest/api/v2010/account/call/payment.d.ts +182 -0
  228. package/lib/rest/api/v2010/account/call/payment.js +198 -0
  229. package/lib/rest/api/v2010/account/call/recording.d.ts +386 -0
  230. package/lib/rest/api/v2010/account/call/recording.js +303 -0
  231. package/lib/rest/api/v2010/account/call/siprec.d.ts +559 -0
  232. package/lib/rest/api/v2010/account/call/siprec.js +562 -0
  233. package/lib/rest/api/v2010/account/call/stream.d.ts +551 -0
  234. package/lib/rest/api/v2010/account/call/stream.js +560 -0
  235. package/lib/rest/api/v2010/account/call/userDefinedMessage.d.ts +75 -0
  236. package/lib/rest/api/v2010/account/call/userDefinedMessage.js +89 -0
  237. package/lib/rest/api/v2010/account/call/userDefinedMessageSubscription.d.ts +130 -0
  238. package/lib/rest/api/v2010/account/call/userDefinedMessageSubscription.js +150 -0
  239. package/lib/rest/api/v2010/account/call.d.ts +633 -0
  240. package/lib/rest/api/v2010/account/call.js +531 -0
  241. package/lib/rest/api/v2010/account/conference/participant.d.ts +472 -0
  242. package/lib/rest/api/v2010/account/conference/participant.js +407 -0
  243. package/lib/rest/api/v2010/account/conference/recording.d.ts +346 -0
  244. package/lib/rest/api/v2010/account/conference/recording.js +267 -0
  245. package/lib/rest/api/v2010/account/conference.d.ts +362 -0
  246. package/lib/rest/api/v2010/account/conference.js +272 -0
  247. package/lib/rest/api/v2010/account/connectApp.d.ts +324 -0
  248. package/lib/rest/api/v2010/account/connectApp.js +257 -0
  249. package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn/assignedAddOnExtension.d.ts +241 -0
  250. package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn/assignedAddOnExtension.js +210 -0
  251. package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.d.ts +292 -0
  252. package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.js +257 -0
  253. package/lib/rest/api/v2010/account/incomingPhoneNumber/local.d.ts +417 -0
  254. package/lib/rest/api/v2010/account/incomingPhoneNumber/local.js +261 -0
  255. package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.d.ts +417 -0
  256. package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.js +261 -0
  257. package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.d.ts +417 -0
  258. package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.js +261 -0
  259. package/lib/rest/api/v2010/account/incomingPhoneNumber.d.ts +593 -0
  260. package/lib/rest/api/v2010/account/incomingPhoneNumber.js +450 -0
  261. package/lib/rest/api/v2010/account/key.d.ts +266 -0
  262. package/lib/rest/api/v2010/account/key.js +229 -0
  263. package/lib/rest/api/v2010/account/message/feedback.d.ts +91 -0
  264. package/lib/rest/api/v2010/account/message/feedback.js +93 -0
  265. package/lib/rest/api/v2010/account/message/media.d.ts +262 -0
  266. package/lib/rest/api/v2010/account/message/media.js +220 -0
  267. package/lib/rest/api/v2010/account/message.d.ts +468 -0
  268. package/lib/rest/api/v2010/account/message.js +362 -0
  269. package/lib/rest/api/v2010/account/newKey.d.ts +86 -0
  270. package/lib/rest/api/v2010/account/newKey.js +88 -0
  271. package/lib/rest/api/v2010/account/newSigningKey.d.ts +86 -0
  272. package/lib/rest/api/v2010/account/newSigningKey.js +88 -0
  273. package/lib/rest/api/v2010/account/notification.d.ts +310 -0
  274. package/lib/rest/api/v2010/account/notification.js +217 -0
  275. package/lib/rest/api/v2010/account/outgoingCallerId.d.ts +296 -0
  276. package/lib/rest/api/v2010/account/outgoingCallerId.js +239 -0
  277. package/lib/rest/api/v2010/account/queue/member.d.ts +249 -0
  278. package/lib/rest/api/v2010/account/queue/member.js +220 -0
  279. package/lib/rest/api/v2010/account/queue.d.ts +324 -0
  280. package/lib/rest/api/v2010/account/queue.js +278 -0
  281. package/lib/rest/api/v2010/account/recording/addOnResult/payload.d.ts +270 -0
  282. package/lib/rest/api/v2010/account/recording/addOnResult/payload.js +233 -0
  283. package/lib/rest/api/v2010/account/recording/addOnResult.d.ts +268 -0
  284. package/lib/rest/api/v2010/account/recording/addOnResult.js +233 -0
  285. package/lib/rest/api/v2010/account/recording/transcription.d.ts +278 -0
  286. package/lib/rest/api/v2010/account/recording/transcription.js +226 -0
  287. package/lib/rest/api/v2010/account/recording.d.ts +387 -0
  288. package/lib/rest/api/v2010/account/recording.js +276 -0
  289. package/lib/rest/api/v2010/account/shortCode.d.ts +321 -0
  290. package/lib/rest/api/v2010/account/shortCode.js +240 -0
  291. package/lib/rest/api/v2010/account/signingKey.d.ts +254 -0
  292. package/lib/rest/api/v2010/account/signingKey.js +229 -0
  293. package/lib/rest/api/v2010/account/sip/credentialList/credential.d.ts +304 -0
  294. package/lib/rest/api/v2010/account/sip/credentialList/credential.js +266 -0
  295. package/lib/rest/api/v2010/account/sip/credentialList.d.ts +292 -0
  296. package/lib/rest/api/v2010/account/sip/credentialList.js +269 -0
  297. package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsCredentialListMapping.d.ts +248 -0
  298. package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsCredentialListMapping.js +232 -0
  299. package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsIpAccessControlListMapping.d.ts +248 -0
  300. package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls/authCallsIpAccessControlListMapping.js +232 -0
  301. package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls.d.ts +24 -0
  302. package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeCalls.js +60 -0
  303. package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations/authRegistrationsCredentialListMapping.d.ts +248 -0
  304. package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations/authRegistrationsCredentialListMapping.js +232 -0
  305. package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations.d.ts +21 -0
  306. package/lib/rest/api/v2010/account/sip/domain/authTypes/authTypeRegistrations.js +50 -0
  307. package/lib/rest/api/v2010/account/sip/domain/authTypes.d.ts +24 -0
  308. package/lib/rest/api/v2010/account/sip/domain/authTypes.js +58 -0
  309. package/lib/rest/api/v2010/account/sip/domain/credentialListMapping.d.ts +260 -0
  310. package/lib/rest/api/v2010/account/sip/domain/credentialListMapping.js +236 -0
  311. package/lib/rest/api/v2010/account/sip/domain/ipAccessControlListMapping.d.ts +260 -0
  312. package/lib/rest/api/v2010/account/sip/domain/ipAccessControlListMapping.js +236 -0
  313. package/lib/rest/api/v2010/account/sip/domain.d.ts +459 -0
  314. package/lib/rest/api/v2010/account/sip/domain.js +371 -0
  315. package/lib/rest/api/v2010/account/sip/ipAccessControlList/ipAddress.d.ts +322 -0
  316. package/lib/rest/api/v2010/account/sip/ipAccessControlList/ipAddress.js +281 -0
  317. package/lib/rest/api/v2010/account/sip/ipAccessControlList.d.ts +292 -0
  318. package/lib/rest/api/v2010/account/sip/ipAccessControlList.js +269 -0
  319. package/lib/rest/api/v2010/account/sip.d.ts +26 -0
  320. package/lib/rest/api/v2010/account/sip.js +64 -0
  321. package/lib/rest/api/v2010/account/token.d.ts +104 -0
  322. package/lib/rest/api/v2010/account/token.js +95 -0
  323. package/lib/rest/api/v2010/account/transcription.d.ts +276 -0
  324. package/lib/rest/api/v2010/account/transcription.js +220 -0
  325. package/lib/rest/api/v2010/account/usage/record/allTime.d.ts +249 -0
  326. package/lib/rest/api/v2010/account/usage/record/allTime.js +158 -0
  327. package/lib/rest/api/v2010/account/usage/record/daily.d.ts +249 -0
  328. package/lib/rest/api/v2010/account/usage/record/daily.js +158 -0
  329. package/lib/rest/api/v2010/account/usage/record/lastMonth.d.ts +249 -0
  330. package/lib/rest/api/v2010/account/usage/record/lastMonth.js +158 -0
  331. package/lib/rest/api/v2010/account/usage/record/monthly.d.ts +249 -0
  332. package/lib/rest/api/v2010/account/usage/record/monthly.js +158 -0
  333. package/lib/rest/api/v2010/account/usage/record/thisMonth.d.ts +249 -0
  334. package/lib/rest/api/v2010/account/usage/record/thisMonth.js +158 -0
  335. package/lib/rest/api/v2010/account/usage/record/today.d.ts +249 -0
  336. package/lib/rest/api/v2010/account/usage/record/today.js +158 -0
  337. package/lib/rest/api/v2010/account/usage/record/yearly.d.ts +249 -0
  338. package/lib/rest/api/v2010/account/usage/record/yearly.js +158 -0
  339. package/lib/rest/api/v2010/account/usage/record/yesterday.d.ts +249 -0
  340. package/lib/rest/api/v2010/account/usage/record/yesterday.js +158 -0
  341. package/lib/rest/api/v2010/account/usage/record.d.ts +273 -0
  342. package/lib/rest/api/v2010/account/usage/record.js +230 -0
  343. package/lib/rest/api/v2010/account/usage/trigger.d.ts +383 -0
  344. package/lib/rest/api/v2010/account/usage/trigger.js +302 -0
  345. package/lib/rest/api/v2010/account/usage.d.ts +23 -0
  346. package/lib/rest/api/v2010/account/usage.js +55 -0
  347. package/lib/rest/api/v2010/account/validationRequest.d.ts +88 -0
  348. package/lib/rest/api/v2010/account/validationRequest.js +96 -0
  349. package/lib/rest/api/v2010/account.d.ts +509 -0
  350. package/lib/rest/api/v2010/account.js +546 -0
  351. package/lib/rest/autopilot/V1.d.ts +20 -0
  352. package/lib/rest/autopilot/V1.js +43 -0
  353. package/lib/rest/autopilot/v1/assistant/defaults.d.ts +143 -0
  354. package/lib/rest/autopilot/v1/assistant/defaults.js +142 -0
  355. package/lib/rest/autopilot/v1/assistant/dialogue.d.ts +108 -0
  356. package/lib/rest/autopilot/v1/assistant/dialogue.js +120 -0
  357. package/lib/rest/autopilot/v1/assistant/fieldType/fieldValue.d.ts +288 -0
  358. package/lib/rest/autopilot/v1/assistant/fieldType/fieldValue.js +249 -0
  359. package/lib/rest/autopilot/v1/assistant/fieldType.d.ts +324 -0
  360. package/lib/rest/autopilot/v1/assistant/fieldType.js +277 -0
  361. package/lib/rest/autopilot/v1/assistant/modelBuild.d.ts +326 -0
  362. package/lib/rest/autopilot/v1/assistant/modelBuild.js +266 -0
  363. package/lib/rest/autopilot/v1/assistant/query.d.ts +374 -0
  364. package/lib/rest/autopilot/v1/assistant/query.js +288 -0
  365. package/lib/rest/autopilot/v1/assistant/styleSheet.d.ts +143 -0
  366. package/lib/rest/autopilot/v1/assistant/styleSheet.js +142 -0
  367. package/lib/rest/autopilot/v1/assistant/task/field.d.ts +274 -0
  368. package/lib/rest/autopilot/v1/assistant/task/field.js +243 -0
  369. package/lib/rest/autopilot/v1/assistant/task/sample.d.ts +334 -0
  370. package/lib/rest/autopilot/v1/assistant/task/sample.js +280 -0
  371. package/lib/rest/autopilot/v1/assistant/task/taskActions.d.ts +151 -0
  372. package/lib/rest/autopilot/v1/assistant/task/taskActions.js +150 -0
  373. package/lib/rest/autopilot/v1/assistant/task/taskStatistics.d.ts +115 -0
  374. package/lib/rest/autopilot/v1/assistant/task/taskStatistics.js +125 -0
  375. package/lib/rest/autopilot/v1/assistant/task.d.ts +362 -0
  376. package/lib/rest/autopilot/v1/assistant/task.js +326 -0
  377. package/lib/rest/autopilot/v1/assistant/webhook.d.ts +330 -0
  378. package/lib/rest/autopilot/v1/assistant/webhook.js +278 -0
  379. package/lib/rest/autopilot/v1/assistant.d.ts +438 -0
  380. package/lib/rest/autopilot/v1/assistant.js +392 -0
  381. package/lib/rest/autopilot/v1/restoreAssistant.d.ts +119 -0
  382. package/lib/rest/autopilot/v1/restoreAssistant.js +96 -0
  383. package/lib/rest/bulkexports/V1.d.ts +20 -0
  384. package/lib/rest/bulkexports/V1.js +43 -0
  385. package/lib/rest/bulkexports/v1/export/day.d.ts +216 -0
  386. package/lib/rest/bulkexports/v1/export/day.js +187 -0
  387. package/lib/rest/bulkexports/v1/export/exportCustomJob.d.ts +229 -0
  388. package/lib/rest/bulkexports/v1/export/exportCustomJob.js +178 -0
  389. package/lib/rest/bulkexports/v1/export/job.d.ts +162 -0
  390. package/lib/rest/bulkexports/v1/export/job.js +146 -0
  391. package/lib/rest/bulkexports/v1/export.d.ts +113 -0
  392. package/lib/rest/bulkexports/v1/export.js +144 -0
  393. package/lib/rest/bulkexports/v1/exportConfiguration.d.ts +152 -0
  394. package/lib/rest/bulkexports/v1/exportConfiguration.js +145 -0
  395. package/lib/rest/chat/V1.d.ts +20 -0
  396. package/lib/rest/chat/V1.js +42 -0
  397. package/lib/rest/chat/V2.d.ts +20 -0
  398. package/lib/rest/chat/V2.js +42 -0
  399. package/lib/rest/chat/V3.d.ts +15 -0
  400. package/lib/rest/chat/V3.js +36 -0
  401. package/lib/rest/chat/v1/credential.d.ts +324 -0
  402. package/lib/rest/chat/v1/credential.js +274 -0
  403. package/lib/rest/chat/v1/service/channel/invite.d.ts +286 -0
  404. package/lib/rest/chat/v1/service/channel/invite.js +245 -0
  405. package/lib/rest/chat/v1/service/channel/member.d.ts +336 -0
  406. package/lib/rest/chat/v1/service/channel/member.js +276 -0
  407. package/lib/rest/chat/v1/service/channel/message.d.ts +351 -0
  408. package/lib/rest/chat/v1/service/channel/message.js +282 -0
  409. package/lib/rest/chat/v1/service/channel.d.ts +388 -0
  410. package/lib/rest/chat/v1/service/channel.js +323 -0
  411. package/lib/rest/chat/v1/service/role.d.ts +298 -0
  412. package/lib/rest/chat/v1/service/role.js +267 -0
  413. package/lib/rest/chat/v1/service/user/userChannel.d.ts +184 -0
  414. package/lib/rest/chat/v1/service/user/userChannel.js +139 -0
  415. package/lib/rest/chat/v1/service/user.d.ts +360 -0
  416. package/lib/rest/chat/v1/service/user.js +293 -0
  417. package/lib/rest/chat/v1/service.d.ts +512 -0
  418. package/lib/rest/chat/v1/service.js +454 -0
  419. package/lib/rest/chat/v2/credential.d.ts +324 -0
  420. package/lib/rest/chat/v2/credential.js +274 -0
  421. package/lib/rest/chat/v2/service/binding.d.ts +282 -0
  422. package/lib/rest/chat/v2/service/binding.js +222 -0
  423. package/lib/rest/chat/v2/service/channel/invite.d.ts +286 -0
  424. package/lib/rest/chat/v2/service/channel/invite.js +245 -0
  425. package/lib/rest/chat/v2/service/channel/member.d.ts +390 -0
  426. package/lib/rest/chat/v2/service/channel/member.js +306 -0
  427. package/lib/rest/chat/v2/service/channel/message.d.ts +423 -0
  428. package/lib/rest/chat/v2/service/channel/message.js +316 -0
  429. package/lib/rest/chat/v2/service/channel/webhook.d.ts +338 -0
  430. package/lib/rest/chat/v2/service/channel/webhook.js +288 -0
  431. package/lib/rest/chat/v2/service/channel.d.ts +438 -0
  432. package/lib/rest/chat/v2/service/channel.js +358 -0
  433. package/lib/rest/chat/v2/service/role.d.ts +298 -0
  434. package/lib/rest/chat/v2/service/role.js +267 -0
  435. package/lib/rest/chat/v2/service/user/userBinding.d.ts +278 -0
  436. package/lib/rest/chat/v2/service/user/userBinding.js +226 -0
  437. package/lib/rest/chat/v2/service/user/userChannel.d.ts +336 -0
  438. package/lib/rest/chat/v2/service/user/userChannel.js +263 -0
  439. package/lib/rest/chat/v2/service/user.d.ts +373 -0
  440. package/lib/rest/chat/v2/service/user.js +310 -0
  441. package/lib/rest/chat/v2/service.d.ts +486 -0
  442. package/lib/rest/chat/v2/service.js +401 -0
  443. package/lib/rest/chat/v3/channel.d.ts +189 -0
  444. package/lib/rest/chat/v3/channel.js +149 -0
  445. package/lib/rest/content/V1.d.ts +15 -0
  446. package/lib/rest/content/V1.js +36 -0
  447. package/lib/rest/content/v1/content/approvalFetch.d.ts +101 -0
  448. package/lib/rest/content/v1/content/approvalFetch.js +115 -0
  449. package/lib/rest/content/v1/content.d.ts +266 -0
  450. package/lib/rest/content/v1/content.js +221 -0
  451. package/lib/rest/conversations/V1.d.ts +50 -0
  452. package/lib/rest/conversations/V1.js +82 -0
  453. package/lib/rest/conversations/v1/addressConfiguration.d.ts +355 -0
  454. package/lib/rest/conversations/v1/addressConfiguration.js +298 -0
  455. package/lib/rest/conversations/v1/configuration/webhook.d.ts +163 -0
  456. package/lib/rest/conversations/v1/configuration/webhook.js +147 -0
  457. package/lib/rest/conversations/v1/configuration.d.ts +168 -0
  458. package/lib/rest/conversations/v1/configuration.js +155 -0
  459. package/lib/rest/conversations/v1/conversation/message/deliveryReceipt.d.ts +249 -0
  460. package/lib/rest/conversations/v1/conversation/message/deliveryReceipt.js +203 -0
  461. package/lib/rest/conversations/v1/conversation/message.d.ts +423 -0
  462. package/lib/rest/conversations/v1/conversation/message.js +321 -0
  463. package/lib/rest/conversations/v1/conversation/participant.d.ts +398 -0
  464. package/lib/rest/conversations/v1/conversation/participant.js +312 -0
  465. package/lib/rest/conversations/v1/conversation/webhook.d.ts +328 -0
  466. package/lib/rest/conversations/v1/conversation/webhook.js +278 -0
  467. package/lib/rest/conversations/v1/conversation.d.ts +429 -0
  468. package/lib/rest/conversations/v1/conversation.js +345 -0
  469. package/lib/rest/conversations/v1/credential.d.ts +326 -0
  470. package/lib/rest/conversations/v1/credential.js +276 -0
  471. package/lib/rest/conversations/v1/participantConversation.d.ts +242 -0
  472. package/lib/rest/conversations/v1/participantConversation.js +152 -0
  473. package/lib/rest/conversations/v1/role.d.ts +296 -0
  474. package/lib/rest/conversations/v1/role.js +260 -0
  475. package/lib/rest/conversations/v1/service/binding.d.ts +276 -0
  476. package/lib/rest/conversations/v1/service/binding.js +220 -0
  477. package/lib/rest/conversations/v1/service/configuration/notification.d.ts +185 -0
  478. package/lib/rest/conversations/v1/service/configuration/notification.js +176 -0
  479. package/lib/rest/conversations/v1/service/configuration/webhook.d.ts +165 -0
  480. package/lib/rest/conversations/v1/service/configuration/webhook.js +154 -0
  481. package/lib/rest/conversations/v1/service/configuration.d.ts +173 -0
  482. package/lib/rest/conversations/v1/service/configuration.js +174 -0
  483. package/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.d.ts +257 -0
  484. package/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.js +216 -0
  485. package/lib/rest/conversations/v1/service/conversation/message.d.ts +431 -0
  486. package/lib/rest/conversations/v1/service/conversation/message.js +329 -0
  487. package/lib/rest/conversations/v1/service/conversation/participant.d.ts +406 -0
  488. package/lib/rest/conversations/v1/service/conversation/participant.js +320 -0
  489. package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +336 -0
  490. package/lib/rest/conversations/v1/service/conversation/webhook.js +286 -0
  491. package/lib/rest/conversations/v1/service/conversation.d.ts +431 -0
  492. package/lib/rest/conversations/v1/service/conversation.js +353 -0
  493. package/lib/rest/conversations/v1/service/participantConversation.d.ts +243 -0
  494. package/lib/rest/conversations/v1/service/participantConversation.js +156 -0
  495. package/lib/rest/conversations/v1/service/role.d.ts +298 -0
  496. package/lib/rest/conversations/v1/service/role.js +267 -0
  497. package/lib/rest/conversations/v1/service/user/userConversation.d.ts +349 -0
  498. package/lib/rest/conversations/v1/service/user/userConversation.js +271 -0
  499. package/lib/rest/conversations/v1/service/user.d.ts +381 -0
  500. package/lib/rest/conversations/v1/service/user.js +301 -0
  501. package/lib/rest/conversations/v1/service.d.ts +304 -0
  502. package/lib/rest/conversations/v1/service.js +299 -0
  503. package/lib/rest/conversations/v1/user/userConversation.d.ts +347 -0
  504. package/lib/rest/conversations/v1/user/userConversation.js +264 -0
  505. package/lib/rest/conversations/v1/user.d.ts +379 -0
  506. package/lib/rest/conversations/v1/user.js +294 -0
  507. package/lib/rest/events/V1.d.ts +30 -0
  508. package/lib/rest/events/V1.js +54 -0
  509. package/lib/rest/events/v1/eventType.d.ts +226 -0
  510. package/lib/rest/events/v1/eventType.js +185 -0
  511. package/lib/rest/events/v1/schema/schemaVersion.d.ts +210 -0
  512. package/lib/rest/events/v1/schema/schemaVersion.js +185 -0
  513. package/lib/rest/events/v1/schema.d.ts +114 -0
  514. package/lib/rest/events/v1/schema.js +126 -0
  515. package/lib/rest/events/v1/sink/sinkTest.d.ts +46 -0
  516. package/lib/rest/events/v1/sink/sinkTest.js +66 -0
  517. package/lib/rest/events/v1/sink/sinkValidate.d.ts +54 -0
  518. package/lib/rest/events/v1/sink/sinkValidate.js +78 -0
  519. package/lib/rest/events/v1/sink.d.ts +322 -0
  520. package/lib/rest/events/v1/sink.js +289 -0
  521. package/lib/rest/events/v1/subscription/subscribedEvent.d.ts +290 -0
  522. package/lib/rest/events/v1/subscription/subscribedEvent.js +254 -0
  523. package/lib/rest/events/v1/subscription.d.ts +324 -0
  524. package/lib/rest/events/v1/subscription.js +277 -0
  525. package/lib/rest/flexApi/V1.d.ts +70 -0
  526. package/lib/rest/flexApi/V1.js +113 -0
  527. package/lib/rest/flexApi/V2.d.ts +15 -0
  528. package/lib/rest/flexApi/V2.js +36 -0
  529. package/lib/rest/flexApi/v1/assessments.d.ts +81 -0
  530. package/lib/rest/flexApi/v1/assessments.js +100 -0
  531. package/lib/rest/flexApi/v1/channel.d.ts +280 -0
  532. package/lib/rest/flexApi/v1/channel.js +251 -0
  533. package/lib/rest/flexApi/v1/configuration.d.ts +368 -0
  534. package/lib/rest/flexApi/v1/configuration.js +195 -0
  535. package/lib/rest/flexApi/v1/flexFlow.d.ts +406 -0
  536. package/lib/rest/flexApi/v1/flexFlow.js +336 -0
  537. package/lib/rest/flexApi/v1/insightsQuestionnairesCategory.d.ts +168 -0
  538. package/lib/rest/flexApi/v1/insightsQuestionnairesCategory.js +167 -0
  539. package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.d.ts +208 -0
  540. package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.js +205 -0
  541. package/lib/rest/flexApi/v1/insightsSession.d.ts +130 -0
  542. package/lib/rest/flexApi/v1/insightsSession.js +115 -0
  543. package/lib/rest/flexApi/v1/insightsSettingsAnswerSets.d.ts +82 -0
  544. package/lib/rest/flexApi/v1/insightsSettingsAnswerSets.js +83 -0
  545. package/lib/rest/flexApi/v1/insightsSettingsComment.d.ts +67 -0
  546. package/lib/rest/flexApi/v1/insightsSettingsComment.js +79 -0
  547. package/lib/rest/flexApi/v1/insightsUserRoles.d.ts +109 -0
  548. package/lib/rest/flexApi/v1/insightsUserRoles.js +109 -0
  549. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.d.ts +181 -0
  550. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.js +154 -0
  551. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +238 -0
  552. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.js +222 -0
  553. package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +266 -0
  554. package/lib/rest/flexApi/v1/interaction/interactionChannel.js +244 -0
  555. package/lib/rest/flexApi/v1/interaction.d.ts +126 -0
  556. package/lib/rest/flexApi/v1/interaction.js +152 -0
  557. package/lib/rest/flexApi/v1/webChannel.d.ts +305 -0
  558. package/lib/rest/flexApi/v1/webChannel.js +268 -0
  559. package/lib/rest/flexApi/v2/webChannels.d.ts +65 -0
  560. package/lib/rest/flexApi/v2/webChannels.js +82 -0
  561. package/lib/rest/frontlineApi/V1.d.ts +15 -0
  562. package/lib/rest/frontlineApi/V1.js +36 -0
  563. package/lib/rest/frontlineApi/v1/user.d.ts +164 -0
  564. package/lib/rest/frontlineApi/v1/user.js +150 -0
  565. package/lib/rest/insights/V1.d.ts +35 -0
  566. package/lib/rest/insights/V1.js +61 -0
  567. package/lib/rest/insights/v1/call/annotation.d.ts +187 -0
  568. package/lib/rest/insights/v1/call/annotation.js +166 -0
  569. package/lib/rest/insights/v1/call/callSummary.d.ts +175 -0
  570. package/lib/rest/insights/v1/call/callSummary.js +159 -0
  571. package/lib/rest/insights/v1/call/event.d.ts +178 -0
  572. package/lib/rest/insights/v1/call/event.js +144 -0
  573. package/lib/rest/insights/v1/call/metric.d.ts +178 -0
  574. package/lib/rest/insights/v1/call/metric.js +142 -0
  575. package/lib/rest/insights/v1/call.d.ts +117 -0
  576. package/lib/rest/insights/v1/call.js +159 -0
  577. package/lib/rest/insights/v1/callSummaries.d.ts +316 -0
  578. package/lib/rest/insights/v1/callSummaries.js +196 -0
  579. package/lib/rest/insights/v1/conference/conferenceParticipant.d.ts +375 -0
  580. package/lib/rest/insights/v1/conference/conferenceParticipant.js +246 -0
  581. package/lib/rest/insights/v1/conference.d.ts +377 -0
  582. package/lib/rest/insights/v1/conference.js +248 -0
  583. package/lib/rest/insights/v1/room/participant.d.ts +280 -0
  584. package/lib/rest/insights/v1/room/participant.js +212 -0
  585. package/lib/rest/insights/v1/room.d.ts +363 -0
  586. package/lib/rest/insights/v1/room.js +244 -0
  587. package/lib/rest/insights/v1/setting.d.ts +158 -0
  588. package/lib/rest/insights/v1/setting.js +143 -0
  589. package/lib/rest/ipMessaging/V1.d.ts +20 -0
  590. package/lib/rest/ipMessaging/V1.js +42 -0
  591. package/lib/rest/ipMessaging/V2.d.ts +20 -0
  592. package/lib/rest/ipMessaging/V2.js +42 -0
  593. package/lib/rest/ipMessaging/v1/credential.d.ts +303 -0
  594. package/lib/rest/ipMessaging/v1/credential.js +274 -0
  595. package/lib/rest/ipMessaging/v1/service/channel/invite.d.ts +256 -0
  596. package/lib/rest/ipMessaging/v1/service/channel/invite.js +245 -0
  597. package/lib/rest/ipMessaging/v1/service/channel/member.d.ts +303 -0
  598. package/lib/rest/ipMessaging/v1/service/channel/member.js +276 -0
  599. package/lib/rest/ipMessaging/v1/service/channel/message.d.ts +312 -0
  600. package/lib/rest/ipMessaging/v1/service/channel/message.js +282 -0
  601. package/lib/rest/ipMessaging/v1/service/channel.d.ts +349 -0
  602. package/lib/rest/ipMessaging/v1/service/channel.js +323 -0
  603. package/lib/rest/ipMessaging/v1/service/role.d.ts +274 -0
  604. package/lib/rest/ipMessaging/v1/service/role.js +267 -0
  605. package/lib/rest/ipMessaging/v1/service/user/userChannel.d.ts +163 -0
  606. package/lib/rest/ipMessaging/v1/service/user/userChannel.js +139 -0
  607. package/lib/rest/ipMessaging/v1/service/user.d.ts +318 -0
  608. package/lib/rest/ipMessaging/v1/service/user.js +293 -0
  609. package/lib/rest/ipMessaging/v1/service.d.ts +449 -0
  610. package/lib/rest/ipMessaging/v1/service.js +454 -0
  611. package/lib/rest/ipMessaging/v2/credential.d.ts +303 -0
  612. package/lib/rest/ipMessaging/v2/credential.js +274 -0
  613. package/lib/rest/ipMessaging/v2/service/binding.d.ts +249 -0
  614. package/lib/rest/ipMessaging/v2/service/binding.js +222 -0
  615. package/lib/rest/ipMessaging/v2/service/channel/invite.d.ts +256 -0
  616. package/lib/rest/ipMessaging/v2/service/channel/invite.js +245 -0
  617. package/lib/rest/ipMessaging/v2/service/channel/member.d.ts +354 -0
  618. package/lib/rest/ipMessaging/v2/service/channel/member.js +306 -0
  619. package/lib/rest/ipMessaging/v2/service/channel/message.d.ts +375 -0
  620. package/lib/rest/ipMessaging/v2/service/channel/message.js +316 -0
  621. package/lib/rest/ipMessaging/v2/service/channel/webhook.d.ts +311 -0
  622. package/lib/rest/ipMessaging/v2/service/channel/webhook.js +288 -0
  623. package/lib/rest/ipMessaging/v2/service/channel.d.ts +399 -0
  624. package/lib/rest/ipMessaging/v2/service/channel.js +358 -0
  625. package/lib/rest/ipMessaging/v2/service/role.d.ts +274 -0
  626. package/lib/rest/ipMessaging/v2/service/role.js +267 -0
  627. package/lib/rest/ipMessaging/v2/service/user/userBinding.d.ts +245 -0
  628. package/lib/rest/ipMessaging/v2/service/user/userBinding.js +226 -0
  629. package/lib/rest/ipMessaging/v2/service/user/userChannel.d.ts +283 -0
  630. package/lib/rest/ipMessaging/v2/service/user/userChannel.js +257 -0
  631. package/lib/rest/ipMessaging/v2/service/user.d.ts +331 -0
  632. package/lib/rest/ipMessaging/v2/service/user.js +310 -0
  633. package/lib/rest/ipMessaging/v2/service.d.ts +417 -0
  634. package/lib/rest/ipMessaging/v2/service.js +401 -0
  635. package/lib/rest/lookups/V1.d.ts +15 -0
  636. package/lib/rest/lookups/V1.js +36 -0
  637. package/lib/rest/lookups/V2.d.ts +15 -0
  638. package/lib/rest/lookups/V2.js +36 -0
  639. package/lib/rest/lookups/v1/phoneNumber.d.ts +149 -0
  640. package/lib/rest/lookups/v1/phoneNumber.js +133 -0
  641. package/lib/rest/lookups/v2/phoneNumber.d.ts +202 -0
  642. package/lib/rest/lookups/v2/phoneNumber.js +158 -0
  643. package/lib/rest/media/V1.d.ts +25 -0
  644. package/lib/rest/media/V1.js +51 -0
  645. package/lib/rest/media/v1/mediaProcessor.d.ts +318 -0
  646. package/lib/rest/media/v1/mediaProcessor.js +256 -0
  647. package/lib/rest/media/v1/mediaRecording.d.ts +310 -0
  648. package/lib/rest/media/v1/mediaRecording.js +226 -0
  649. package/lib/rest/media/v1/playerStreamer/playbackGrant.d.ts +151 -0
  650. package/lib/rest/media/v1/playerStreamer/playbackGrant.js +146 -0
  651. package/lib/rest/media/v1/playerStreamer.d.ts +328 -0
  652. package/lib/rest/media/v1/playerStreamer.js +264 -0
  653. package/lib/rest/messaging/V1.d.ts +50 -0
  654. package/lib/rest/messaging/V1.js +82 -0
  655. package/lib/rest/messaging/v1/brandRegistration/brandVetting.d.ts +265 -0
  656. package/lib/rest/messaging/v1/brandRegistration/brandVetting.js +224 -0
  657. package/lib/rest/messaging/v1/brandRegistration.d.ts +344 -0
  658. package/lib/rest/messaging/v1/brandRegistration.js +275 -0
  659. package/lib/rest/messaging/v1/deactivations.d.ts +106 -0
  660. package/lib/rest/messaging/v1/deactivations.js +107 -0
  661. package/lib/rest/messaging/v1/domainCerts.d.ts +164 -0
  662. package/lib/rest/messaging/v1/domainCerts.js +164 -0
  663. package/lib/rest/messaging/v1/domainConfig.d.ts +153 -0
  664. package/lib/rest/messaging/v1/domainConfig.js +152 -0
  665. package/lib/rest/messaging/v1/externalCampaign.d.ts +79 -0
  666. package/lib/rest/messaging/v1/externalCampaign.js +87 -0
  667. package/lib/rest/messaging/v1/service/alphaSender.d.ts +264 -0
  668. package/lib/rest/messaging/v1/service/alphaSender.js +231 -0
  669. package/lib/rest/messaging/v1/service/phoneNumber.d.ts +270 -0
  670. package/lib/rest/messaging/v1/service/phoneNumber.js +234 -0
  671. package/lib/rest/messaging/v1/service/shortCode.d.ts +270 -0
  672. package/lib/rest/messaging/v1/service/shortCode.js +234 -0
  673. package/lib/rest/messaging/v1/service/usAppToPerson.d.ts +384 -0
  674. package/lib/rest/messaging/v1/service/usAppToPerson.js +304 -0
  675. package/lib/rest/messaging/v1/service/usAppToPersonUsecase.d.ts +62 -0
  676. package/lib/rest/messaging/v1/service/usAppToPersonUsecase.js +79 -0
  677. package/lib/rest/messaging/v1/service.d.ts +494 -0
  678. package/lib/rest/messaging/v1/service.js +408 -0
  679. package/lib/rest/messaging/v1/tollfreeVerification.d.ts +521 -0
  680. package/lib/rest/messaging/v1/tollfreeVerification.js +396 -0
  681. package/lib/rest/messaging/v1/usecase.d.ts +45 -0
  682. package/lib/rest/messaging/v1/usecase.js +62 -0
  683. package/lib/rest/microvisor/V1.d.ts +20 -0
  684. package/lib/rest/microvisor/V1.js +42 -0
  685. package/lib/rest/microvisor/v1/app.d.ts +240 -0
  686. package/lib/rest/microvisor/v1/app.js +201 -0
  687. package/lib/rest/microvisor/v1/device.d.ts +281 -0
  688. package/lib/rest/microvisor/v1/device.js +217 -0
  689. package/lib/rest/monitor/V1.d.ts +20 -0
  690. package/lib/rest/monitor/V1.js +42 -0
  691. package/lib/rest/monitor/v1/alert.d.ts +314 -0
  692. package/lib/rest/monitor/v1/alert.js +212 -0
  693. package/lib/rest/monitor/v1/event.d.ts +301 -0
  694. package/lib/rest/monitor/v1/event.js +208 -0
  695. package/lib/rest/notify/V1.d.ts +20 -0
  696. package/lib/rest/notify/V1.js +42 -0
  697. package/lib/rest/notify/v1/credential.d.ts +324 -0
  698. package/lib/rest/notify/v1/credential.js +274 -0
  699. package/lib/rest/notify/v1/service/binding.d.ts +337 -0
  700. package/lib/rest/notify/v1/service/binding.js +268 -0
  701. package/lib/rest/notify/v1/service/notification.d.ts +208 -0
  702. package/lib/rest/notify/v1/service/notification.js +152 -0
  703. package/lib/rest/notify/v1/service.d.ts +458 -0
  704. package/lib/rest/notify/v1/service.js +369 -0
  705. package/lib/rest/numbers/V2.d.ts +15 -0
  706. package/lib/rest/numbers/V2.js +37 -0
  707. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.d.ts +219 -0
  708. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.js +163 -0
  709. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +231 -0
  710. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.js +200 -0
  711. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/itemAssignment.d.ts +252 -0
  712. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/itemAssignment.js +227 -0
  713. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.d.ts +106 -0
  714. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.js +97 -0
  715. package/lib/rest/numbers/v2/regulatoryCompliance/bundle.d.ts +445 -0
  716. package/lib/rest/numbers/v2/regulatoryCompliance/bundle.js +354 -0
  717. package/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +308 -0
  718. package/lib/rest/numbers/v2/regulatoryCompliance/endUser.js +261 -0
  719. package/lib/rest/numbers/v2/regulatoryCompliance/endUserType.d.ts +211 -0
  720. package/lib/rest/numbers/v2/regulatoryCompliance/endUserType.js +179 -0
  721. package/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +239 -0
  722. package/lib/rest/numbers/v2/regulatoryCompliance/regulation.js +189 -0
  723. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +326 -0
  724. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.js +267 -0
  725. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.d.ts +211 -0
  726. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.js +179 -0
  727. package/lib/rest/numbers/v2/regulatoryCompliance.d.ts +34 -0
  728. package/lib/rest/numbers/v2/regulatoryCompliance.js +87 -0
  729. package/lib/rest/oauth/V1.d.ts +35 -0
  730. package/lib/rest/oauth/V1.js +61 -0
  731. package/lib/rest/oauth/v1/deviceCode.d.ts +87 -0
  732. package/lib/rest/oauth/v1/deviceCode.js +90 -0
  733. package/lib/rest/oauth/v1/oauth.d.ts +84 -0
  734. package/lib/rest/oauth/v1/oauth.js +102 -0
  735. package/lib/rest/oauth/v1/openidDiscovery.d.ts +150 -0
  736. package/lib/rest/oauth/v1/openidDiscovery.js +126 -0
  737. package/lib/rest/oauth/v1/token.d.ts +88 -0
  738. package/lib/rest/oauth/v1/token.js +98 -0
  739. package/lib/rest/oauth/v1/userInfo.d.ts +108 -0
  740. package/lib/rest/oauth/v1/userInfo.js +110 -0
  741. package/lib/rest/preview/DeployedDevices.d.ts +15 -0
  742. package/lib/rest/preview/DeployedDevices.js +36 -0
  743. package/lib/rest/preview/HostedNumbers.d.ts +20 -0
  744. package/lib/rest/preview/HostedNumbers.js +44 -0
  745. package/lib/rest/preview/Marketplace.d.ts +20 -0
  746. package/lib/rest/preview/Marketplace.js +44 -0
  747. package/lib/rest/preview/Sync.d.ts +15 -0
  748. package/lib/rest/preview/Sync.js +36 -0
  749. package/lib/rest/preview/Understand.d.ts +15 -0
  750. package/lib/rest/preview/Understand.js +36 -0
  751. package/lib/rest/preview/Wireless.d.ts +25 -0
  752. package/lib/rest/preview/Wireless.js +48 -0
  753. package/lib/rest/preview/deployed_devices/fleet/certificate.d.ts +324 -0
  754. package/lib/rest/preview/deployed_devices/fleet/certificate.js +269 -0
  755. package/lib/rest/preview/deployed_devices/fleet/deployment.d.ts +318 -0
  756. package/lib/rest/preview/deployed_devices/fleet/deployment.js +264 -0
  757. package/lib/rest/preview/deployed_devices/fleet/device.d.ts +358 -0
  758. package/lib/rest/preview/deployed_devices/fleet/device.js +284 -0
  759. package/lib/rest/preview/deployed_devices/fleet/key.d.ts +330 -0
  760. package/lib/rest/preview/deployed_devices/fleet/key.js +268 -0
  761. package/lib/rest/preview/deployed_devices/fleet.d.ts +352 -0
  762. package/lib/rest/preview/deployed_devices/fleet.js +307 -0
  763. package/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.d.ts +293 -0
  764. package/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.js +174 -0
  765. package/lib/rest/preview/hosted_numbers/authorizationDocument.d.ts +327 -0
  766. package/lib/rest/preview/hosted_numbers/authorizationDocument.js +285 -0
  767. package/lib/rest/preview/hosted_numbers/hostedNumberOrder.d.ts +468 -0
  768. package/lib/rest/preview/hosted_numbers/hostedNumberOrder.js +345 -0
  769. package/lib/rest/preview/marketplace/availableAddOn/availableAddOnExtension.d.ts +219 -0
  770. package/lib/rest/preview/marketplace/availableAddOn/availableAddOnExtension.js +187 -0
  771. package/lib/rest/preview/marketplace/availableAddOn.d.ts +231 -0
  772. package/lib/rest/preview/marketplace/availableAddOn.js +196 -0
  773. package/lib/rest/preview/marketplace/installedAddOn/installedAddOnExtension.d.ts +251 -0
  774. package/lib/rest/preview/marketplace/installedAddOn/installedAddOnExtension.js +214 -0
  775. package/lib/rest/preview/marketplace/installedAddOn.d.ts +332 -0
  776. package/lib/rest/preview/marketplace/installedAddOn.js +281 -0
  777. package/lib/rest/preview/sync/service/document/documentPermission.d.ts +280 -0
  778. package/lib/rest/preview/sync/service/document/documentPermission.js +253 -0
  779. package/lib/rest/preview/sync/service/document.d.ts +295 -0
  780. package/lib/rest/preview/sync/service/document.js +281 -0
  781. package/lib/rest/preview/sync/service/syncList/syncListItem.d.ts +321 -0
  782. package/lib/rest/preview/sync/service/syncList/syncListItem.js +280 -0
  783. package/lib/rest/preview/sync/service/syncList/syncListPermission.d.ts +280 -0
  784. package/lib/rest/preview/sync/service/syncList/syncListPermission.js +253 -0
  785. package/lib/rest/preview/sync/service/syncList.d.ts +270 -0
  786. package/lib/rest/preview/sync/service/syncList.js +263 -0
  787. package/lib/rest/preview/sync/service/syncMap/syncMapItem.d.ts +323 -0
  788. package/lib/rest/preview/sync/service/syncMap/syncMapItem.js +284 -0
  789. package/lib/rest/preview/sync/service/syncMap/syncMapPermission.d.ts +280 -0
  790. package/lib/rest/preview/sync/service/syncMap/syncMapPermission.js +253 -0
  791. package/lib/rest/preview/sync/service/syncMap.d.ts +270 -0
  792. package/lib/rest/preview/sync/service/syncMap.js +263 -0
  793. package/lib/rest/preview/sync/service.d.ts +330 -0
  794. package/lib/rest/preview/sync/service.js +308 -0
  795. package/lib/rest/preview/understand/assistant/assistantFallbackActions.d.ts +131 -0
  796. package/lib/rest/preview/understand/assistant/assistantFallbackActions.js +142 -0
  797. package/lib/rest/preview/understand/assistant/assistantInitiationActions.d.ts +131 -0
  798. package/lib/rest/preview/understand/assistant/assistantInitiationActions.js +142 -0
  799. package/lib/rest/preview/understand/assistant/dialogue.d.ts +105 -0
  800. package/lib/rest/preview/understand/assistant/dialogue.js +120 -0
  801. package/lib/rest/preview/understand/assistant/fieldType/fieldValue.d.ts +285 -0
  802. package/lib/rest/preview/understand/assistant/fieldType/fieldValue.js +249 -0
  803. package/lib/rest/preview/understand/assistant/fieldType.d.ts +318 -0
  804. package/lib/rest/preview/understand/assistant/fieldType.js +277 -0
  805. package/lib/rest/preview/understand/assistant/modelBuild.d.ts +320 -0
  806. package/lib/rest/preview/understand/assistant/modelBuild.js +266 -0
  807. package/lib/rest/preview/understand/assistant/query.d.ts +361 -0
  808. package/lib/rest/preview/understand/assistant/query.js +286 -0
  809. package/lib/rest/preview/understand/assistant/styleSheet.d.ts +140 -0
  810. package/lib/rest/preview/understand/assistant/styleSheet.js +142 -0
  811. package/lib/rest/preview/understand/assistant/task/field.d.ts +271 -0
  812. package/lib/rest/preview/understand/assistant/task/field.js +243 -0
  813. package/lib/rest/preview/understand/assistant/task/sample.d.ts +331 -0
  814. package/lib/rest/preview/understand/assistant/task/sample.js +280 -0
  815. package/lib/rest/preview/understand/assistant/task/taskActions.d.ts +145 -0
  816. package/lib/rest/preview/understand/assistant/task/taskActions.js +150 -0
  817. package/lib/rest/preview/understand/assistant/task/taskStatistics.d.ts +112 -0
  818. package/lib/rest/preview/understand/assistant/task/taskStatistics.js +125 -0
  819. package/lib/rest/preview/understand/assistant/task.d.ts +356 -0
  820. package/lib/rest/preview/understand/assistant/task.js +326 -0
  821. package/lib/rest/preview/understand/assistant.d.ts +422 -0
  822. package/lib/rest/preview/understand/assistant.js +392 -0
  823. package/lib/rest/preview/wireless/command.d.ts +266 -0
  824. package/lib/rest/preview/wireless/command.js +232 -0
  825. package/lib/rest/preview/wireless/ratePlan.d.ts +326 -0
  826. package/lib/rest/preview/wireless/ratePlan.js +286 -0
  827. package/lib/rest/preview/wireless/sim/usage.d.ts +131 -0
  828. package/lib/rest/preview/wireless/sim/usage.js +133 -0
  829. package/lib/rest/preview/wireless/sim.d.ts +361 -0
  830. package/lib/rest/preview/wireless/sim.js +291 -0
  831. package/lib/rest/pricing/V1.d.ts +25 -0
  832. package/lib/rest/pricing/V1.js +48 -0
  833. package/lib/rest/pricing/V2.d.ts +25 -0
  834. package/lib/rest/pricing/V2.js +48 -0
  835. package/lib/rest/pricing/v1/messaging/country.d.ts +233 -0
  836. package/lib/rest/pricing/v1/messaging/country.js +190 -0
  837. package/lib/rest/pricing/v1/messaging.d.ts +19 -0
  838. package/lib/rest/pricing/v1/messaging.js +42 -0
  839. package/lib/rest/pricing/v1/phoneNumber/country.d.ts +216 -0
  840. package/lib/rest/pricing/v1/phoneNumber/country.js +182 -0
  841. package/lib/rest/pricing/v1/phoneNumber.d.ts +19 -0
  842. package/lib/rest/pricing/v1/phoneNumber.js +42 -0
  843. package/lib/rest/pricing/v1/voice/country.d.ts +228 -0
  844. package/lib/rest/pricing/v1/voice/country.js +187 -0
  845. package/lib/rest/pricing/v1/voice/number.d.ts +127 -0
  846. package/lib/rest/pricing/v1/voice/number.js +130 -0
  847. package/lib/rest/pricing/v1/voice.d.ts +22 -0
  848. package/lib/rest/pricing/v1/voice.js +51 -0
  849. package/lib/rest/pricing/v2/country.d.ts +229 -0
  850. package/lib/rest/pricing/v2/country.js +187 -0
  851. package/lib/rest/pricing/v2/number.d.ts +158 -0
  852. package/lib/rest/pricing/v2/number.js +137 -0
  853. package/lib/rest/pricing/v2/voice/country.d.ts +229 -0
  854. package/lib/rest/pricing/v2/voice/country.js +187 -0
  855. package/lib/rest/pricing/v2/voice/number.d.ts +159 -0
  856. package/lib/rest/pricing/v2/voice/number.js +137 -0
  857. package/lib/rest/pricing/v2/voice.d.ts +22 -0
  858. package/lib/rest/pricing/v2/voice.js +51 -0
  859. package/lib/rest/proxy/V1.d.ts +15 -0
  860. package/lib/rest/proxy/V1.js +36 -0
  861. package/lib/rest/proxy/v1/service/phoneNumber.d.ts +340 -0
  862. package/lib/rest/proxy/v1/service/phoneNumber.js +272 -0
  863. package/lib/rest/proxy/v1/service/session/interaction.d.ts +309 -0
  864. package/lib/rest/proxy/v1/service/session/interaction.js +238 -0
  865. package/lib/rest/proxy/v1/service/session/participant/messageInteraction.d.ts +326 -0
  866. package/lib/rest/proxy/v1/service/session/participant/messageInteraction.js +257 -0
  867. package/lib/rest/proxy/v1/service/session/participant.d.ts +310 -0
  868. package/lib/rest/proxy/v1/service/session/participant.js +266 -0
  869. package/lib/rest/proxy/v1/service/session.d.ts +388 -0
  870. package/lib/rest/proxy/v1/service/session.js +316 -0
  871. package/lib/rest/proxy/v1/service/shortCode.d.ts +316 -0
  872. package/lib/rest/proxy/v1/service/shortCode.js +262 -0
  873. package/lib/rest/proxy/v1/service.d.ts +388 -0
  874. package/lib/rest/proxy/v1/service.js +330 -0
  875. package/lib/rest/routes/V2.d.ts +25 -0
  876. package/lib/rest/routes/V2.js +48 -0
  877. package/lib/rest/routes/v2/phoneNumber.d.ts +168 -0
  878. package/lib/rest/routes/v2/phoneNumber.js +149 -0
  879. package/lib/rest/routes/v2/sipDomain.d.ts +144 -0
  880. package/lib/rest/routes/v2/sipDomain.js +149 -0
  881. package/lib/rest/routes/v2/trunk.d.ts +168 -0
  882. package/lib/rest/routes/v2/trunk.js +149 -0
  883. package/lib/rest/serverless/V1.d.ts +15 -0
  884. package/lib/rest/serverless/V1.js +36 -0
  885. package/lib/rest/serverless/v1/service/asset/assetVersion.d.ts +231 -0
  886. package/lib/rest/serverless/v1/service/asset/assetVersion.js +197 -0
  887. package/lib/rest/serverless/v1/service/asset.d.ts +298 -0
  888. package/lib/rest/serverless/v1/service/asset.js +271 -0
  889. package/lib/rest/serverless/v1/service/build/buildStatus.d.ts +107 -0
  890. package/lib/rest/serverless/v1/service/build/buildStatus.js +123 -0
  891. package/lib/rest/serverless/v1/service/build.d.ts +303 -0
  892. package/lib/rest/serverless/v1/service/build.js +260 -0
  893. package/lib/rest/serverless/v1/service/environment/deployment.d.ts +257 -0
  894. package/lib/rest/serverless/v1/service/environment/deployment.js +220 -0
  895. package/lib/rest/serverless/v1/service/environment/log.d.ts +273 -0
  896. package/lib/rest/serverless/v1/service/environment/log.js +211 -0
  897. package/lib/rest/serverless/v1/service/environment/variable.d.ts +318 -0
  898. package/lib/rest/serverless/v1/service/environment/variable.js +272 -0
  899. package/lib/rest/serverless/v1/service/environment.d.ts +308 -0
  900. package/lib/rest/serverless/v1/service/environment.js +278 -0
  901. package/lib/rest/serverless/v1/service/function/functionVersion/functionVersionContent.d.ts +114 -0
  902. package/lib/rest/serverless/v1/service/function/functionVersion/functionVersionContent.js +131 -0
  903. package/lib/rest/serverless/v1/service/function/functionVersion.d.ts +242 -0
  904. package/lib/rest/serverless/v1/service/function/functionVersion.js +212 -0
  905. package/lib/rest/serverless/v1/service/function.d.ts +298 -0
  906. package/lib/rest/serverless/v1/service/function.js +271 -0
  907. package/lib/rest/serverless/v1/service.d.ts +364 -0
  908. package/lib/rest/serverless/v1/service.js +321 -0
  909. package/lib/rest/studio/V1.d.ts +15 -0
  910. package/lib/rest/studio/V1.js +36 -0
  911. package/lib/rest/studio/V2.d.ts +20 -0
  912. package/lib/rest/studio/V2.js +42 -0
  913. package/lib/rest/studio/v1/flow/engagement/engagementContext.d.ts +109 -0
  914. package/lib/rest/studio/v1/flow/engagement/engagementContext.js +123 -0
  915. package/lib/rest/studio/v1/flow/engagement/step/stepContext.d.ts +117 -0
  916. package/lib/rest/studio/v1/flow/engagement/step/stepContext.js +131 -0
  917. package/lib/rest/studio/v1/flow/engagement/step.d.ts +265 -0
  918. package/lib/rest/studio/v1/flow/engagement/step.js +218 -0
  919. package/lib/rest/studio/v1/flow/engagement.d.ts +300 -0
  920. package/lib/rest/studio/v1/flow/engagement.js +269 -0
  921. package/lib/rest/studio/v1/flow/execution/executionContext.d.ts +109 -0
  922. package/lib/rest/studio/v1/flow/execution/executionContext.js +123 -0
  923. package/lib/rest/studio/v1/flow/execution/executionStep/executionStepContext.d.ts +117 -0
  924. package/lib/rest/studio/v1/flow/execution/executionStep/executionStepContext.js +131 -0
  925. package/lib/rest/studio/v1/flow/execution/executionStep.d.ts +265 -0
  926. package/lib/rest/studio/v1/flow/execution/executionStep.js +218 -0
  927. package/lib/rest/studio/v1/flow/execution.d.ts +338 -0
  928. package/lib/rest/studio/v1/flow/execution.js +298 -0
  929. package/lib/rest/studio/v1/flow.d.ts +266 -0
  930. package/lib/rest/studio/v1/flow.js +231 -0
  931. package/lib/rest/studio/v2/flow/execution/executionContext.d.ts +109 -0
  932. package/lib/rest/studio/v2/flow/execution/executionContext.js +123 -0
  933. package/lib/rest/studio/v2/flow/execution/executionStep/executionStepContext.d.ts +117 -0
  934. package/lib/rest/studio/v2/flow/execution/executionStep/executionStepContext.js +131 -0
  935. package/lib/rest/studio/v2/flow/execution/executionStep.d.ts +265 -0
  936. package/lib/rest/studio/v2/flow/execution/executionStep.js +218 -0
  937. package/lib/rest/studio/v2/flow/execution.d.ts +332 -0
  938. package/lib/rest/studio/v2/flow/execution.js +296 -0
  939. package/lib/rest/studio/v2/flow/flowRevision.d.ts +253 -0
  940. package/lib/rest/studio/v2/flow/flowRevision.js +199 -0
  941. package/lib/rest/studio/v2/flow/flowTestUser.d.ts +121 -0
  942. package/lib/rest/studio/v2/flow/flowTestUser.js +138 -0
  943. package/lib/rest/studio/v2/flow.d.ts +361 -0
  944. package/lib/rest/studio/v2/flow.js +319 -0
  945. package/lib/rest/studio/v2/flowValidate.d.ts +60 -0
  946. package/lib/rest/studio/v2/flowValidate.js +85 -0
  947. package/lib/rest/supersim/V1.d.ts +55 -0
  948. package/lib/rest/supersim/V1.js +86 -0
  949. package/lib/rest/supersim/v1/esimProfile.d.ts +297 -0
  950. package/lib/rest/supersim/v1/esimProfile.js +226 -0
  951. package/lib/rest/supersim/v1/fleet.d.ts +363 -0
  952. package/lib/rest/supersim/v1/fleet.js +277 -0
  953. package/lib/rest/supersim/v1/ipCommand.d.ts +303 -0
  954. package/lib/rest/supersim/v1/ipCommand.js +238 -0
  955. package/lib/rest/supersim/v1/network.d.ts +229 -0
  956. package/lib/rest/supersim/v1/network.js +185 -0
  957. package/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.d.ts +252 -0
  958. package/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.js +227 -0
  959. package/lib/rest/supersim/v1/networkAccessProfile.d.ts +296 -0
  960. package/lib/rest/supersim/v1/networkAccessProfile.js +248 -0
  961. package/lib/rest/supersim/v1/settingsUpdate.d.ts +194 -0
  962. package/lib/rest/supersim/v1/settingsUpdate.js +136 -0
  963. package/lib/rest/supersim/v1/sim/billingPeriod.d.ts +183 -0
  964. package/lib/rest/supersim/v1/sim/billingPeriod.js +136 -0
  965. package/lib/rest/supersim/v1/sim/simIpAddress.d.ts +147 -0
  966. package/lib/rest/supersim/v1/sim/simIpAddress.js +124 -0
  967. package/lib/rest/supersim/v1/sim.d.ts +341 -0
  968. package/lib/rest/supersim/v1/sim.js +283 -0
  969. package/lib/rest/supersim/v1/smsCommand.d.ts +271 -0
  970. package/lib/rest/supersim/v1/smsCommand.js +222 -0
  971. package/lib/rest/supersim/v1/usageRecord.d.ts +252 -0
  972. package/lib/rest/supersim/v1/usageRecord.js +154 -0
  973. package/lib/rest/sync/V1.d.ts +15 -0
  974. package/lib/rest/sync/V1.js +36 -0
  975. package/lib/rest/sync/v1/service/document/documentPermission.d.ts +280 -0
  976. package/lib/rest/sync/v1/service/document/documentPermission.js +253 -0
  977. package/lib/rest/sync/v1/service/document.d.ts +354 -0
  978. package/lib/rest/sync/v1/service/document.js +289 -0
  979. package/lib/rest/sync/v1/service/syncList/syncListItem.d.ts +385 -0
  980. package/lib/rest/sync/v1/service/syncList/syncListItem.js +296 -0
  981. package/lib/rest/sync/v1/service/syncList/syncListPermission.d.ts +280 -0
  982. package/lib/rest/sync/v1/service/syncList/syncListPermission.js +253 -0
  983. package/lib/rest/sync/v1/service/syncList.d.ts +354 -0
  984. package/lib/rest/sync/v1/service/syncList.js +298 -0
  985. package/lib/rest/sync/v1/service/syncMap/syncMapItem.d.ts +387 -0
  986. package/lib/rest/sync/v1/service/syncMap/syncMapItem.js +300 -0
  987. package/lib/rest/sync/v1/service/syncMap/syncMapPermission.d.ts +280 -0
  988. package/lib/rest/sync/v1/service/syncMap/syncMapPermission.js +253 -0
  989. package/lib/rest/sync/v1/service/syncMap.d.ts +354 -0
  990. package/lib/rest/sync/v1/service/syncMap.js +298 -0
  991. package/lib/rest/sync/v1/service/syncStream/streamMessage.d.ts +61 -0
  992. package/lib/rest/sync/v1/service/syncStream/streamMessage.js +83 -0
  993. package/lib/rest/sync/v1/service/syncStream.d.ts +336 -0
  994. package/lib/rest/sync/v1/service/syncStream.js +279 -0
  995. package/lib/rest/sync/v1/service.d.ts +404 -0
  996. package/lib/rest/sync/v1/service.js +344 -0
  997. package/lib/rest/taskrouter/V1.d.ts +15 -0
  998. package/lib/rest/taskrouter/V1.js +36 -0
  999. package/lib/rest/taskrouter/v1/workspace/activity.d.ts +323 -0
  1000. package/lib/rest/taskrouter/v1/workspace/activity.js +267 -0
  1001. package/lib/rest/taskrouter/v1/workspace/event.d.ts +351 -0
  1002. package/lib/rest/taskrouter/v1/workspace/event.js +231 -0
  1003. package/lib/rest/taskrouter/v1/workspace/task/reservation.d.ts +412 -0
  1004. package/lib/rest/taskrouter/v1/workspace/task/reservation.js +344 -0
  1005. package/lib/rest/taskrouter/v1/workspace/task.d.ts +495 -0
  1006. package/lib/rest/taskrouter/v1/workspace/task.js +341 -0
  1007. package/lib/rest/taskrouter/v1/workspace/taskChannel.d.ts +324 -0
  1008. package/lib/rest/taskrouter/v1/workspace/taskChannel.js +271 -0
  1009. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.d.ts +244 -0
  1010. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.js +172 -0
  1011. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueRealTimeStatistics.d.ts +188 -0
  1012. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueRealTimeStatistics.js +148 -0
  1013. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueStatistics.d.ts +148 -0
  1014. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueStatistics.js +139 -0
  1015. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.d.ts +203 -0
  1016. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.js +142 -0
  1017. package/lib/rest/taskrouter/v1/workspace/taskQueue.d.ts +417 -0
  1018. package/lib/rest/taskrouter/v1/workspace/taskQueue.js +349 -0
  1019. package/lib/rest/taskrouter/v1/workspace/worker/reservation.d.ts +401 -0
  1020. package/lib/rest/taskrouter/v1/workspace/worker/reservation.js +338 -0
  1021. package/lib/rest/taskrouter/v1/workspace/worker/workerChannel.d.ts +307 -0
  1022. package/lib/rest/taskrouter/v1/workspace/worker/workerChannel.js +236 -0
  1023. package/lib/rest/taskrouter/v1/workspace/worker/workerStatistics.d.ts +140 -0
  1024. package/lib/rest/taskrouter/v1/workspace/worker/workerStatistics.js +135 -0
  1025. package/lib/rest/taskrouter/v1/workspace/worker/workersCumulativeStatistics.d.ts +180 -0
  1026. package/lib/rest/taskrouter/v1/workspace/worker/workersCumulativeStatistics.js +143 -0
  1027. package/lib/rest/taskrouter/v1/workspace/worker/workersRealTimeStatistics.d.ts +132 -0
  1028. package/lib/rest/taskrouter/v1/workspace/worker/workersRealTimeStatistics.js +123 -0
  1029. package/lib/rest/taskrouter/v1/workspace/worker/workersStatistics.d.ts +144 -0
  1030. package/lib/rest/taskrouter/v1/workspace/worker/workersStatistics.js +135 -0
  1031. package/lib/rest/taskrouter/v1/workspace/worker.d.ts +454 -0
  1032. package/lib/rest/taskrouter/v1/workspace/worker.js +370 -0
  1033. package/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.d.ts +244 -0
  1034. package/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.js +171 -0
  1035. package/lib/rest/taskrouter/v1/workspace/workflow/workflowRealTimeStatistics.d.ts +158 -0
  1036. package/lib/rest/taskrouter/v1/workspace/workflow/workflowRealTimeStatistics.js +137 -0
  1037. package/lib/rest/taskrouter/v1/workspace/workflow/workflowStatistics.d.ts +148 -0
  1038. package/lib/rest/taskrouter/v1/workspace/workflow/workflowStatistics.js +139 -0
  1039. package/lib/rest/taskrouter/v1/workspace/workflow.d.ts +384 -0
  1040. package/lib/rest/taskrouter/v1/workspace/workflow.js +334 -0
  1041. package/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.d.ts +236 -0
  1042. package/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.js +163 -0
  1043. package/lib/rest/taskrouter/v1/workspace/workspaceRealTimeStatistics.d.ts +162 -0
  1044. package/lib/rest/taskrouter/v1/workspace/workspaceRealTimeStatistics.js +133 -0
  1045. package/lib/rest/taskrouter/v1/workspace/workspaceStatistics.d.ts +140 -0
  1046. package/lib/rest/taskrouter/v1/workspace/workspaceStatistics.js +131 -0
  1047. package/lib/rest/taskrouter/v1/workspace.d.ts +452 -0
  1048. package/lib/rest/taskrouter/v1/workspace.js +418 -0
  1049. package/lib/rest/trunking/V1.d.ts +15 -0
  1050. package/lib/rest/trunking/V1.js +36 -0
  1051. package/lib/rest/trunking/v1/trunk/credentialList.d.ts +258 -0
  1052. package/lib/rest/trunking/v1/trunk/credentialList.js +230 -0
  1053. package/lib/rest/trunking/v1/trunk/ipAccessControlList.d.ts +258 -0
  1054. package/lib/rest/trunking/v1/trunk/ipAccessControlList.js +230 -0
  1055. package/lib/rest/trunking/v1/trunk/originationUrl.d.ts +340 -0
  1056. package/lib/rest/trunking/v1/trunk/originationUrl.js +289 -0
  1057. package/lib/rest/trunking/v1/trunk/phoneNumber.d.ts +375 -0
  1058. package/lib/rest/trunking/v1/trunk/phoneNumber.js +268 -0
  1059. package/lib/rest/trunking/v1/trunk/recording.d.ts +129 -0
  1060. package/lib/rest/trunking/v1/trunk/recording.js +140 -0
  1061. package/lib/rest/trunking/v1/trunk.d.ts +431 -0
  1062. package/lib/rest/trunking/v1/trunk.js +364 -0
  1063. package/lib/rest/trusthub/V1.d.ts +45 -0
  1064. package/lib/rest/trusthub/V1.js +76 -0
  1065. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesChannelEndpointAssignment.d.ts +272 -0
  1066. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesChannelEndpointAssignment.js +239 -0
  1067. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEntityAssignments.d.ts +252 -0
  1068. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEntityAssignments.js +227 -0
  1069. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +239 -0
  1070. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.js +212 -0
  1071. package/lib/rest/trusthub/v1/customerProfiles.d.ts +380 -0
  1072. package/lib/rest/trusthub/v1/customerProfiles.js +322 -0
  1073. package/lib/rest/trusthub/v1/endUser.d.ts +310 -0
  1074. package/lib/rest/trusthub/v1/endUser.js +261 -0
  1075. package/lib/rest/trusthub/v1/endUserType.d.ts +211 -0
  1076. package/lib/rest/trusthub/v1/endUserType.js +179 -0
  1077. package/lib/rest/trusthub/v1/policies.d.ts +205 -0
  1078. package/lib/rest/trusthub/v1/policies.js +177 -0
  1079. package/lib/rest/trusthub/v1/supportingDocument.d.ts +320 -0
  1080. package/lib/rest/trusthub/v1/supportingDocument.js +265 -0
  1081. package/lib/rest/trusthub/v1/supportingDocumentType.d.ts +211 -0
  1082. package/lib/rest/trusthub/v1/supportingDocumentType.js +179 -0
  1083. package/lib/rest/trusthub/v1/trustProducts/trustProductsChannelEndpointAssignment.d.ts +272 -0
  1084. package/lib/rest/trusthub/v1/trustProducts/trustProductsChannelEndpointAssignment.js +239 -0
  1085. package/lib/rest/trusthub/v1/trustProducts/trustProductsEntityAssignments.d.ts +252 -0
  1086. package/lib/rest/trusthub/v1/trustProducts/trustProductsEntityAssignments.js +227 -0
  1087. package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +239 -0
  1088. package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.js +212 -0
  1089. package/lib/rest/trusthub/v1/trustProducts.d.ts +380 -0
  1090. package/lib/rest/trusthub/v1/trustProducts.js +322 -0
  1091. package/lib/rest/verify/V2.d.ts +40 -0
  1092. package/lib/rest/verify/V2.js +69 -0
  1093. package/lib/rest/verify/v2/form.d.ts +98 -0
  1094. package/lib/rest/verify/v2/form.js +112 -0
  1095. package/lib/rest/verify/v2/safelist.d.ts +127 -0
  1096. package/lib/rest/verify/v2/safelist.js +150 -0
  1097. package/lib/rest/verify/v2/service/accessToken.d.ts +158 -0
  1098. package/lib/rest/verify/v2/service/accessToken.js +159 -0
  1099. package/lib/rest/verify/v2/service/entity/challenge/notification.d.ts +112 -0
  1100. package/lib/rest/verify/v2/service/entity/challenge/notification.js +102 -0
  1101. package/lib/rest/verify/v2/service/entity/challenge.d.ts +384 -0
  1102. package/lib/rest/verify/v2/service/entity/challenge.js +296 -0
  1103. package/lib/rest/verify/v2/service/entity/factor.d.ts +335 -0
  1104. package/lib/rest/verify/v2/service/entity/factor.js +270 -0
  1105. package/lib/rest/verify/v2/service/entity/newFactor.d.ts +157 -0
  1106. package/lib/rest/verify/v2/service/entity/newFactor.js +137 -0
  1107. package/lib/rest/verify/v2/service/entity.d.ts +288 -0
  1108. package/lib/rest/verify/v2/service/entity.js +270 -0
  1109. package/lib/rest/verify/v2/service/messagingConfiguration.d.ts +286 -0
  1110. package/lib/rest/verify/v2/service/messagingConfiguration.js +260 -0
  1111. package/lib/rest/verify/v2/service/rateLimit/bucket.d.ts +318 -0
  1112. package/lib/rest/verify/v2/service/rateLimit/bucket.js +272 -0
  1113. package/lib/rest/verify/v2/service/rateLimit.d.ts +322 -0
  1114. package/lib/rest/verify/v2/service/rateLimit.js +275 -0
  1115. package/lib/rest/verify/v2/service/verification.d.ts +237 -0
  1116. package/lib/rest/verify/v2/service/verification.js +217 -0
  1117. package/lib/rest/verify/v2/service/verificationCheck.d.ts +134 -0
  1118. package/lib/rest/verify/v2/service/verificationCheck.js +110 -0
  1119. package/lib/rest/verify/v2/service/webhook.d.ts +340 -0
  1120. package/lib/rest/verify/v2/service/webhook.js +287 -0
  1121. package/lib/rest/verify/v2/service.d.ts +481 -0
  1122. package/lib/rest/verify/v2/service.js +426 -0
  1123. package/lib/rest/verify/v2/template.d.ts +172 -0
  1124. package/lib/rest/verify/v2/template.js +128 -0
  1125. package/lib/rest/verify/v2/verificationAttempt.d.ts +288 -0
  1126. package/lib/rest/verify/v2/verificationAttempt.js +207 -0
  1127. package/lib/rest/verify/v2/verificationAttemptsSummary.d.ts +138 -0
  1128. package/lib/rest/verify/v2/verificationAttemptsSummary.js +126 -0
  1129. package/lib/rest/video/V1.d.ts +40 -0
  1130. package/lib/rest/video/V1.js +69 -0
  1131. package/lib/rest/video/v1/composition.d.ts +377 -0
  1132. package/lib/rest/video/v1/composition.js +275 -0
  1133. package/lib/rest/video/v1/compositionHook.d.ts +389 -0
  1134. package/lib/rest/video/v1/compositionHook.js +310 -0
  1135. package/lib/rest/video/v1/compositionSettings.d.ts +159 -0
  1136. package/lib/rest/video/v1/compositionSettings.js +151 -0
  1137. package/lib/rest/video/v1/recording.d.ts +335 -0
  1138. package/lib/rest/video/v1/recording.js +236 -0
  1139. package/lib/rest/video/v1/recordingSettings.d.ts +159 -0
  1140. package/lib/rest/video/v1/recordingSettings.js +151 -0
  1141. package/lib/rest/video/v1/room/participant/anonymize.d.ts +143 -0
  1142. package/lib/rest/video/v1/room/participant/anonymize.js +135 -0
  1143. package/lib/rest/video/v1/room/participant/publishedTrack.d.ts +237 -0
  1144. package/lib/rest/video/v1/room/participant/publishedTrack.js +199 -0
  1145. package/lib/rest/video/v1/room/participant/subscribeRules.d.ts +103 -0
  1146. package/lib/rest/video/v1/room/participant/subscribeRules.js +103 -0
  1147. package/lib/rest/video/v1/room/participant/subscribedTrack.d.ts +243 -0
  1148. package/lib/rest/video/v1/room/participant/subscribedTrack.js +201 -0
  1149. package/lib/rest/video/v1/room/participant.d.ts +351 -0
  1150. package/lib/rest/video/v1/room/participant.js +286 -0
  1151. package/lib/rest/video/v1/room/recordingRules.d.ts +95 -0
  1152. package/lib/rest/video/v1/room/recordingRules.js +98 -0
  1153. package/lib/rest/video/v1/room/roomRecording.d.ts +318 -0
  1154. package/lib/rest/video/v1/room/roomRecording.js +236 -0
  1155. package/lib/rest/video/v1/room.d.ts +449 -0
  1156. package/lib/rest/video/v1/room.js +339 -0
  1157. package/lib/rest/voice/V1.d.ts +40 -0
  1158. package/lib/rest/voice/V1.js +69 -0
  1159. package/lib/rest/voice/v1/archivedCall.d.ts +51 -0
  1160. package/lib/rest/voice/v1/archivedCall.js +71 -0
  1161. package/lib/rest/voice/v1/byocTrunk.d.ts +393 -0
  1162. package/lib/rest/voice/v1/byocTrunk.js +304 -0
  1163. package/lib/rest/voice/v1/connectionPolicy/connectionPolicyTarget.d.ts +340 -0
  1164. package/lib/rest/voice/v1/connectionPolicy/connectionPolicyTarget.js +280 -0
  1165. package/lib/rest/voice/v1/connectionPolicy.d.ts +314 -0
  1166. package/lib/rest/voice/v1/connectionPolicy.js +265 -0
  1167. package/lib/rest/voice/v1/dialingPermissions/bulkCountryUpdate.d.ts +59 -0
  1168. package/lib/rest/voice/v1/dialingPermissions/bulkCountryUpdate.js +77 -0
  1169. package/lib/rest/voice/v1/dialingPermissions/country/highriskSpecialPrefix.d.ts +143 -0
  1170. package/lib/rest/voice/v1/dialingPermissions/country/highriskSpecialPrefix.js +122 -0
  1171. package/lib/rest/voice/v1/dialingPermissions/country.d.ts +279 -0
  1172. package/lib/rest/voice/v1/dialingPermissions/country.js +214 -0
  1173. package/lib/rest/voice/v1/dialingPermissions/settings.d.ts +129 -0
  1174. package/lib/rest/voice/v1/dialingPermissions/settings.js +130 -0
  1175. package/lib/rest/voice/v1/dialingPermissions.d.ts +25 -0
  1176. package/lib/rest/voice/v1/dialingPermissions.js +60 -0
  1177. package/lib/rest/voice/v1/ipRecord.d.ts +308 -0
  1178. package/lib/rest/voice/v1/ipRecord.js +256 -0
  1179. package/lib/rest/voice/v1/sourceIpMapping.d.ts +278 -0
  1180. package/lib/rest/voice/v1/sourceIpMapping.js +252 -0
  1181. package/lib/rest/wireless/V1.d.ts +30 -0
  1182. package/lib/rest/wireless/V1.js +54 -0
  1183. package/lib/rest/wireless/v1/command.d.ts +314 -0
  1184. package/lib/rest/wireless/v1/command.js +253 -0
  1185. package/lib/rest/wireless/v1/ratePlan.d.ts +382 -0
  1186. package/lib/rest/wireless/v1/ratePlan.js +293 -0
  1187. package/lib/rest/wireless/v1/sim/dataSession.d.ts +233 -0
  1188. package/lib/rest/wireless/v1/sim/dataSession.js +152 -0
  1189. package/lib/rest/wireless/v1/sim/usageRecord.d.ts +186 -0
  1190. package/lib/rest/wireless/v1/sim/usageRecord.js +136 -0
  1191. package/lib/rest/wireless/v1/sim.d.ts +465 -0
  1192. package/lib/rest/wireless/v1/sim.js +332 -0
  1193. package/lib/rest/wireless/v1/usageRecord.d.ts +179 -0
  1194. package/lib/rest/wireless/v1/usageRecord.js +130 -0
  1195. package/lib/twiml/FaxResponse.d.ts +66 -0
  1196. package/lib/twiml/FaxResponse.js +67 -0
  1197. package/lib/twiml/MessagingResponse.d.ts +117 -0
  1198. package/lib/twiml/MessagingResponse.js +120 -0
  1199. package/lib/twiml/TwiML.d.ts +42 -0
  1200. package/lib/twiml/TwiML.js +83 -0
  1201. package/lib/twiml/VoiceResponse.d.ts +2448 -0
  1202. package/lib/twiml/VoiceResponse.js +1434 -0
  1203. package/lib/webhooks/webhooks.d.ts +136 -0
  1204. package/lib/webhooks/webhooks.js +302 -0
  1205. package/package.json +2 -2
@@ -0,0 +1,205 @@
1
+ /// <reference types="node" />
2
+ import { inspect, InspectOptions } from "util";
3
+ import Page, { TwilioResponsePayload } from "../../../base/Page";
4
+ import Response from "../../../http/response";
5
+ import V1 from "../V1";
6
+ /**
7
+ * Options to pass to each
8
+ */
9
+ export interface PoliciesListInstanceEachOptions {
10
+ /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
11
+ pageSize?: number;
12
+ /** Function to process each record. If this and a positional callback are passed, this one will be used */
13
+ callback?: (item: PoliciesInstance, done: (err?: Error) => void) => void;
14
+ /** Function to be called upon completion of streaming */
15
+ done?: Function;
16
+ /** Upper limit for the number of records to return. each() guarantees never to return more than limit. Default is no limit */
17
+ limit?: number;
18
+ }
19
+ /**
20
+ * Options to pass to list
21
+ */
22
+ export interface PoliciesListInstanceOptions {
23
+ /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
24
+ pageSize?: number;
25
+ /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
26
+ limit?: number;
27
+ }
28
+ /**
29
+ * Options to pass to page
30
+ */
31
+ export interface PoliciesListInstancePageOptions {
32
+ /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
33
+ pageSize?: number;
34
+ /** Page Number, this value is simply for client state */
35
+ pageNumber?: number;
36
+ /** PageToken provided by the API */
37
+ pageToken?: string;
38
+ }
39
+ export interface PoliciesContext {
40
+ /**
41
+ * Fetch a PoliciesInstance
42
+ *
43
+ * @param callback - Callback to handle processed record
44
+ *
45
+ * @returns Resolves to processed PoliciesInstance
46
+ */
47
+ fetch(callback?: (error: Error | null, item?: PoliciesInstance) => any): Promise<PoliciesInstance>;
48
+ /**
49
+ * Provide a user-friendly representation
50
+ */
51
+ toJSON(): any;
52
+ [inspect.custom](_depth: any, options: InspectOptions): any;
53
+ }
54
+ export interface PoliciesContextSolution {
55
+ sid: string;
56
+ }
57
+ export declare class PoliciesContextImpl implements PoliciesContext {
58
+ protected _version: V1;
59
+ protected _solution: PoliciesContextSolution;
60
+ protected _uri: string;
61
+ constructor(_version: V1, sid: string);
62
+ fetch(callback?: (error: Error | null, item?: PoliciesInstance) => any): Promise<PoliciesInstance>;
63
+ /**
64
+ * Provide a user-friendly representation
65
+ *
66
+ * @returns Object
67
+ */
68
+ toJSON(): PoliciesContextSolution;
69
+ [inspect.custom](_depth: any, options: InspectOptions): string;
70
+ }
71
+ interface PoliciesPayload extends TwilioResponsePayload {
72
+ results: PoliciesResource[];
73
+ }
74
+ interface PoliciesResource {
75
+ sid: string;
76
+ friendly_name: string;
77
+ requirements: any;
78
+ url: string;
79
+ }
80
+ export declare class PoliciesInstance {
81
+ protected _version: V1;
82
+ protected _solution: PoliciesContextSolution;
83
+ protected _context?: PoliciesContext;
84
+ constructor(_version: V1, payload: PoliciesResource, sid?: string);
85
+ /**
86
+ * The unique string that identifies the Policy resource.
87
+ */
88
+ sid: string;
89
+ /**
90
+ * A human-readable description that is assigned to describe the Policy resource. Examples can include Primary Customer profile policy
91
+ */
92
+ friendlyName: string;
93
+ /**
94
+ * The SID of an object that holds the policy information
95
+ */
96
+ requirements: any;
97
+ /**
98
+ * The absolute URL of the Policy resource.
99
+ */
100
+ url: string;
101
+ private get _proxy();
102
+ /**
103
+ * Fetch a PoliciesInstance
104
+ *
105
+ * @param callback - Callback to handle processed record
106
+ *
107
+ * @returns Resolves to processed PoliciesInstance
108
+ */
109
+ fetch(callback?: (error: Error | null, item?: PoliciesInstance) => any): Promise<PoliciesInstance>;
110
+ /**
111
+ * Provide a user-friendly representation
112
+ *
113
+ * @returns Object
114
+ */
115
+ toJSON(): {
116
+ sid: string;
117
+ friendlyName: string;
118
+ requirements: any;
119
+ url: string;
120
+ };
121
+ [inspect.custom](_depth: any, options: InspectOptions): string;
122
+ }
123
+ export interface PoliciesSolution {
124
+ }
125
+ export interface PoliciesListInstance {
126
+ _version: V1;
127
+ _solution: PoliciesSolution;
128
+ _uri: string;
129
+ (sid: string): PoliciesContext;
130
+ get(sid: string): PoliciesContext;
131
+ /**
132
+ * Streams PoliciesInstance records from the API.
133
+ *
134
+ * This operation lazily loads records as efficiently as possible until the limit
135
+ * is reached.
136
+ *
137
+ * The results are passed into the callback function, so this operation is memory
138
+ * efficient.
139
+ *
140
+ * If a function is passed as the first argument, it will be used as the callback
141
+ * function.
142
+ *
143
+ * @param { PoliciesListInstanceEachOptions } [params] - Options for request
144
+ * @param { function } [callback] - Function to process each record
145
+ */
146
+ each(callback?: (item: PoliciesInstance, done: (err?: Error) => void) => void): void;
147
+ each(params: PoliciesListInstanceEachOptions, callback?: (item: PoliciesInstance, done: (err?: Error) => void) => void): void;
148
+ /**
149
+ * Retrieve a single target page of PoliciesInstance records from the API.
150
+ *
151
+ * The request is executed immediately.
152
+ *
153
+ * @param { string } [targetUrl] - API-generated URL for the requested results page
154
+ * @param { function } [callback] - Callback to handle list of records
155
+ */
156
+ getPage(targetUrl: string, callback?: (error: Error | null, items: PoliciesPage) => any): Promise<PoliciesPage>;
157
+ /**
158
+ * Lists PoliciesInstance records from the API as a list.
159
+ *
160
+ * If a function is passed as the first argument, it will be used as the callback
161
+ * function.
162
+ *
163
+ * @param { PoliciesListInstanceOptions } [params] - Options for request
164
+ * @param { function } [callback] - Callback to handle list of records
165
+ */
166
+ list(callback?: (error: Error | null, items: PoliciesInstance[]) => any): Promise<PoliciesInstance[]>;
167
+ list(params: PoliciesListInstanceOptions, callback?: (error: Error | null, items: PoliciesInstance[]) => any): Promise<PoliciesInstance[]>;
168
+ /**
169
+ * Retrieve a single page of PoliciesInstance records from the API.
170
+ *
171
+ * The request is executed immediately.
172
+ *
173
+ * If a function is passed as the first argument, it will be used as the callback
174
+ * function.
175
+ *
176
+ * @param { PoliciesListInstancePageOptions } [params] - Options for request
177
+ * @param { function } [callback] - Callback to handle list of records
178
+ */
179
+ page(callback?: (error: Error | null, items: PoliciesPage) => any): Promise<PoliciesPage>;
180
+ page(params: PoliciesListInstancePageOptions, callback?: (error: Error | null, items: PoliciesPage) => any): Promise<PoliciesPage>;
181
+ /**
182
+ * Provide a user-friendly representation
183
+ */
184
+ toJSON(): any;
185
+ [inspect.custom](_depth: any, options: InspectOptions): any;
186
+ }
187
+ export declare function PoliciesListInstance(version: V1): PoliciesListInstance;
188
+ export declare class PoliciesPage extends Page<V1, PoliciesPayload, PoliciesResource, PoliciesInstance> {
189
+ /**
190
+ * Initialize the PoliciesPage
191
+ *
192
+ * @param version - Version of the resource
193
+ * @param response - Response from the API
194
+ * @param solution - Path solution
195
+ */
196
+ constructor(version: V1, response: Response<string>, solution: PoliciesSolution);
197
+ /**
198
+ * Build an instance of PoliciesInstance
199
+ *
200
+ * @param payload - Payload response from the API
201
+ */
202
+ getInstance(payload: PoliciesResource): PoliciesInstance;
203
+ [inspect.custom](depth: any, options: InspectOptions): string;
204
+ }
205
+ export {};
@@ -0,0 +1,177 @@
1
+ "use strict";
2
+ /*
3
+ * This code was generated by
4
+ * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
5
+ * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
6
+ * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
7
+ *
8
+ * Twilio - Trusthub
9
+ * This is the public Twilio REST API.
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator.
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __importDefault = (this && this.__importDefault) || function (mod) {
16
+ return (mod && mod.__esModule) ? mod : { "default": mod };
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.PoliciesPage = exports.PoliciesListInstance = exports.PoliciesInstance = exports.PoliciesContextImpl = void 0;
20
+ const util_1 = require("util");
21
+ const Page_1 = __importDefault(require("../../../base/Page"));
22
+ const deserialize = require("../../../base/deserialize");
23
+ const serialize = require("../../../base/serialize");
24
+ const utility_1 = require("../../../base/utility");
25
+ class PoliciesContextImpl {
26
+ constructor(_version, sid) {
27
+ this._version = _version;
28
+ if (!(0, utility_1.isValidPathParam)(sid)) {
29
+ throw new Error("Parameter 'sid' is not valid.");
30
+ }
31
+ this._solution = { sid };
32
+ this._uri = `/Policies/${sid}`;
33
+ }
34
+ fetch(callback) {
35
+ const instance = this;
36
+ let operationVersion = instance._version, operationPromise = operationVersion.fetch({
37
+ uri: instance._uri,
38
+ method: "get",
39
+ });
40
+ operationPromise = operationPromise.then((payload) => new PoliciesInstance(operationVersion, payload, instance._solution.sid));
41
+ operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
42
+ return operationPromise;
43
+ }
44
+ /**
45
+ * Provide a user-friendly representation
46
+ *
47
+ * @returns Object
48
+ */
49
+ toJSON() {
50
+ return this._solution;
51
+ }
52
+ [util_1.inspect.custom](_depth, options) {
53
+ return (0, util_1.inspect)(this.toJSON(), options);
54
+ }
55
+ }
56
+ exports.PoliciesContextImpl = PoliciesContextImpl;
57
+ class PoliciesInstance {
58
+ constructor(_version, payload, sid) {
59
+ this._version = _version;
60
+ this.sid = payload.sid;
61
+ this.friendlyName = payload.friendly_name;
62
+ this.requirements = payload.requirements;
63
+ this.url = payload.url;
64
+ this._solution = { sid: sid || this.sid };
65
+ }
66
+ get _proxy() {
67
+ this._context =
68
+ this._context ||
69
+ new PoliciesContextImpl(this._version, this._solution.sid);
70
+ return this._context;
71
+ }
72
+ /**
73
+ * Fetch a PoliciesInstance
74
+ *
75
+ * @param callback - Callback to handle processed record
76
+ *
77
+ * @returns Resolves to processed PoliciesInstance
78
+ */
79
+ fetch(callback) {
80
+ return this._proxy.fetch(callback);
81
+ }
82
+ /**
83
+ * Provide a user-friendly representation
84
+ *
85
+ * @returns Object
86
+ */
87
+ toJSON() {
88
+ return {
89
+ sid: this.sid,
90
+ friendlyName: this.friendlyName,
91
+ requirements: this.requirements,
92
+ url: this.url,
93
+ };
94
+ }
95
+ [util_1.inspect.custom](_depth, options) {
96
+ return (0, util_1.inspect)(this.toJSON(), options);
97
+ }
98
+ }
99
+ exports.PoliciesInstance = PoliciesInstance;
100
+ function PoliciesListInstance(version) {
101
+ const instance = ((sid) => instance.get(sid));
102
+ instance.get = function get(sid) {
103
+ return new PoliciesContextImpl(version, sid);
104
+ };
105
+ instance._version = version;
106
+ instance._solution = {};
107
+ instance._uri = `/Policies`;
108
+ instance.page = function page(params, callback) {
109
+ if (params instanceof Function) {
110
+ callback = params;
111
+ params = {};
112
+ }
113
+ else {
114
+ params = params || {};
115
+ }
116
+ let data = {};
117
+ if (params["pageSize"] !== undefined)
118
+ data["PageSize"] = params["pageSize"];
119
+ if (params.pageNumber !== undefined)
120
+ data["Page"] = params.pageNumber;
121
+ if (params.pageToken !== undefined)
122
+ data["PageToken"] = params.pageToken;
123
+ const headers = {};
124
+ let operationVersion = version, operationPromise = operationVersion.page({
125
+ uri: instance._uri,
126
+ method: "get",
127
+ params: data,
128
+ headers,
129
+ });
130
+ operationPromise = operationPromise.then((payload) => new PoliciesPage(operationVersion, payload, instance._solution));
131
+ operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
132
+ return operationPromise;
133
+ };
134
+ instance.each = instance._version.each;
135
+ instance.list = instance._version.list;
136
+ instance.getPage = function getPage(targetUrl, callback) {
137
+ const operationPromise = instance._version._domain.twilio.request({
138
+ method: "get",
139
+ uri: targetUrl,
140
+ });
141
+ let pagePromise = operationPromise.then((payload) => new PoliciesPage(instance._version, payload, instance._solution));
142
+ pagePromise = instance._version.setPromiseCallback(pagePromise, callback);
143
+ return pagePromise;
144
+ };
145
+ instance.toJSON = function toJSON() {
146
+ return instance._solution;
147
+ };
148
+ instance[util_1.inspect.custom] = function inspectImpl(_depth, options) {
149
+ return (0, util_1.inspect)(instance.toJSON(), options);
150
+ };
151
+ return instance;
152
+ }
153
+ exports.PoliciesListInstance = PoliciesListInstance;
154
+ class PoliciesPage extends Page_1.default {
155
+ /**
156
+ * Initialize the PoliciesPage
157
+ *
158
+ * @param version - Version of the resource
159
+ * @param response - Response from the API
160
+ * @param solution - Path solution
161
+ */
162
+ constructor(version, response, solution) {
163
+ super(version, response, solution);
164
+ }
165
+ /**
166
+ * Build an instance of PoliciesInstance
167
+ *
168
+ * @param payload - Payload response from the API
169
+ */
170
+ getInstance(payload) {
171
+ return new PoliciesInstance(this._version, payload);
172
+ }
173
+ [util_1.inspect.custom](depth, options) {
174
+ return (0, util_1.inspect)(this.toJSON(), options);
175
+ }
176
+ }
177
+ exports.PoliciesPage = PoliciesPage;
@@ -0,0 +1,320 @@
1
+ /// <reference types="node" />
2
+ import { inspect, InspectOptions } from "util";
3
+ import Page, { TwilioResponsePayload } from "../../../base/Page";
4
+ import Response from "../../../http/response";
5
+ import V1 from "../V1";
6
+ type SupportingDocumentStatus = "draft" | "pending-review" | "rejected" | "approved" | "expired" | "provisionally-approved";
7
+ /**
8
+ * Options to pass to update a SupportingDocumentInstance
9
+ */
10
+ export interface SupportingDocumentContextUpdateOptions {
11
+ /** The string that you assigned to describe the resource. */
12
+ friendlyName?: string;
13
+ /** The set of parameters that are the attributes of the Supporting Document resource which are derived Supporting Document Types. */
14
+ attributes?: any;
15
+ }
16
+ /**
17
+ * Options to pass to create a SupportingDocumentInstance
18
+ */
19
+ export interface SupportingDocumentListInstanceCreateOptions {
20
+ /** The string that you assigned to describe the resource. */
21
+ friendlyName: string;
22
+ /** The type of the Supporting Document. */
23
+ type: string;
24
+ /** The set of parameters that are the attributes of the Supporting Documents resource which are derived Supporting Document Types. */
25
+ attributes?: any;
26
+ }
27
+ /**
28
+ * Options to pass to each
29
+ */
30
+ export interface SupportingDocumentListInstanceEachOptions {
31
+ /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
32
+ pageSize?: number;
33
+ /** Function to process each record. If this and a positional callback are passed, this one will be used */
34
+ callback?: (item: SupportingDocumentInstance, done: (err?: Error) => void) => void;
35
+ /** Function to be called upon completion of streaming */
36
+ done?: Function;
37
+ /** Upper limit for the number of records to return. each() guarantees never to return more than limit. Default is no limit */
38
+ limit?: number;
39
+ }
40
+ /**
41
+ * Options to pass to list
42
+ */
43
+ export interface SupportingDocumentListInstanceOptions {
44
+ /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
45
+ pageSize?: number;
46
+ /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
47
+ limit?: number;
48
+ }
49
+ /**
50
+ * Options to pass to page
51
+ */
52
+ export interface SupportingDocumentListInstancePageOptions {
53
+ /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
54
+ pageSize?: number;
55
+ /** Page Number, this value is simply for client state */
56
+ pageNumber?: number;
57
+ /** PageToken provided by the API */
58
+ pageToken?: string;
59
+ }
60
+ export interface SupportingDocumentContext {
61
+ /**
62
+ * Remove a SupportingDocumentInstance
63
+ *
64
+ * @param callback - Callback to handle processed record
65
+ *
66
+ * @returns Resolves to processed boolean
67
+ */
68
+ remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
69
+ /**
70
+ * Fetch a SupportingDocumentInstance
71
+ *
72
+ * @param callback - Callback to handle processed record
73
+ *
74
+ * @returns Resolves to processed SupportingDocumentInstance
75
+ */
76
+ fetch(callback?: (error: Error | null, item?: SupportingDocumentInstance) => any): Promise<SupportingDocumentInstance>;
77
+ /**
78
+ * Update a SupportingDocumentInstance
79
+ *
80
+ * @param callback - Callback to handle processed record
81
+ *
82
+ * @returns Resolves to processed SupportingDocumentInstance
83
+ */
84
+ update(callback?: (error: Error | null, item?: SupportingDocumentInstance) => any): Promise<SupportingDocumentInstance>;
85
+ /**
86
+ * Update a SupportingDocumentInstance
87
+ *
88
+ * @param params - Parameter for request
89
+ * @param callback - Callback to handle processed record
90
+ *
91
+ * @returns Resolves to processed SupportingDocumentInstance
92
+ */
93
+ update(params: SupportingDocumentContextUpdateOptions, callback?: (error: Error | null, item?: SupportingDocumentInstance) => any): Promise<SupportingDocumentInstance>;
94
+ /**
95
+ * Provide a user-friendly representation
96
+ */
97
+ toJSON(): any;
98
+ [inspect.custom](_depth: any, options: InspectOptions): any;
99
+ }
100
+ export interface SupportingDocumentContextSolution {
101
+ sid: string;
102
+ }
103
+ export declare class SupportingDocumentContextImpl implements SupportingDocumentContext {
104
+ protected _version: V1;
105
+ protected _solution: SupportingDocumentContextSolution;
106
+ protected _uri: string;
107
+ constructor(_version: V1, sid: string);
108
+ remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
109
+ fetch(callback?: (error: Error | null, item?: SupportingDocumentInstance) => any): Promise<SupportingDocumentInstance>;
110
+ update(params?: SupportingDocumentContextUpdateOptions | ((error: Error | null, item?: SupportingDocumentInstance) => any), callback?: (error: Error | null, item?: SupportingDocumentInstance) => any): Promise<SupportingDocumentInstance>;
111
+ /**
112
+ * Provide a user-friendly representation
113
+ *
114
+ * @returns Object
115
+ */
116
+ toJSON(): SupportingDocumentContextSolution;
117
+ [inspect.custom](_depth: any, options: InspectOptions): string;
118
+ }
119
+ interface SupportingDocumentPayload extends TwilioResponsePayload {
120
+ results: SupportingDocumentResource[];
121
+ }
122
+ interface SupportingDocumentResource {
123
+ sid: string;
124
+ account_sid: string;
125
+ friendly_name: string;
126
+ mime_type: string;
127
+ status: SupportingDocumentStatus;
128
+ type: string;
129
+ attributes: any;
130
+ date_created: Date;
131
+ date_updated: Date;
132
+ url: string;
133
+ }
134
+ export declare class SupportingDocumentInstance {
135
+ protected _version: V1;
136
+ protected _solution: SupportingDocumentContextSolution;
137
+ protected _context?: SupportingDocumentContext;
138
+ constructor(_version: V1, payload: SupportingDocumentResource, sid?: string);
139
+ /**
140
+ * The unique string created by Twilio to identify the Supporting Document resource.
141
+ */
142
+ sid: string;
143
+ /**
144
+ * The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Document resource.
145
+ */
146
+ accountSid: string;
147
+ /**
148
+ * The string that you assigned to describe the resource.
149
+ */
150
+ friendlyName: string;
151
+ /**
152
+ * The image type uploaded in the Supporting Document container.
153
+ */
154
+ mimeType: string;
155
+ status: SupportingDocumentStatus;
156
+ /**
157
+ * The type of the Supporting Document.
158
+ */
159
+ type: string;
160
+ /**
161
+ * The set of parameters that are the attributes of the Supporting Documents resource which are listed in the Supporting Document Types.
162
+ */
163
+ attributes: any;
164
+ /**
165
+ * The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
166
+ */
167
+ dateCreated: Date;
168
+ /**
169
+ * The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
170
+ */
171
+ dateUpdated: Date;
172
+ /**
173
+ * The absolute URL of the Supporting Document resource.
174
+ */
175
+ url: string;
176
+ private get _proxy();
177
+ /**
178
+ * Remove a SupportingDocumentInstance
179
+ *
180
+ * @param callback - Callback to handle processed record
181
+ *
182
+ * @returns Resolves to processed boolean
183
+ */
184
+ remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
185
+ /**
186
+ * Fetch a SupportingDocumentInstance
187
+ *
188
+ * @param callback - Callback to handle processed record
189
+ *
190
+ * @returns Resolves to processed SupportingDocumentInstance
191
+ */
192
+ fetch(callback?: (error: Error | null, item?: SupportingDocumentInstance) => any): Promise<SupportingDocumentInstance>;
193
+ /**
194
+ * Update a SupportingDocumentInstance
195
+ *
196
+ * @param callback - Callback to handle processed record
197
+ *
198
+ * @returns Resolves to processed SupportingDocumentInstance
199
+ */
200
+ update(callback?: (error: Error | null, item?: SupportingDocumentInstance) => any): Promise<SupportingDocumentInstance>;
201
+ /**
202
+ * Update a SupportingDocumentInstance
203
+ *
204
+ * @param params - Parameter for request
205
+ * @param callback - Callback to handle processed record
206
+ *
207
+ * @returns Resolves to processed SupportingDocumentInstance
208
+ */
209
+ update(params: SupportingDocumentContextUpdateOptions, callback?: (error: Error | null, item?: SupportingDocumentInstance) => any): Promise<SupportingDocumentInstance>;
210
+ /**
211
+ * Provide a user-friendly representation
212
+ *
213
+ * @returns Object
214
+ */
215
+ toJSON(): {
216
+ sid: string;
217
+ accountSid: string;
218
+ friendlyName: string;
219
+ mimeType: string;
220
+ status: SupportingDocumentStatus;
221
+ type: string;
222
+ attributes: any;
223
+ dateCreated: Date;
224
+ dateUpdated: Date;
225
+ url: string;
226
+ };
227
+ [inspect.custom](_depth: any, options: InspectOptions): string;
228
+ }
229
+ export interface SupportingDocumentSolution {
230
+ }
231
+ export interface SupportingDocumentListInstance {
232
+ _version: V1;
233
+ _solution: SupportingDocumentSolution;
234
+ _uri: string;
235
+ (sid: string): SupportingDocumentContext;
236
+ get(sid: string): SupportingDocumentContext;
237
+ /**
238
+ * Create a SupportingDocumentInstance
239
+ *
240
+ * @param params - Parameter for request
241
+ * @param callback - Callback to handle processed record
242
+ *
243
+ * @returns Resolves to processed SupportingDocumentInstance
244
+ */
245
+ create(params: SupportingDocumentListInstanceCreateOptions, callback?: (error: Error | null, item?: SupportingDocumentInstance) => any): Promise<SupportingDocumentInstance>;
246
+ /**
247
+ * Streams SupportingDocumentInstance records from the API.
248
+ *
249
+ * This operation lazily loads records as efficiently as possible until the limit
250
+ * is reached.
251
+ *
252
+ * The results are passed into the callback function, so this operation is memory
253
+ * efficient.
254
+ *
255
+ * If a function is passed as the first argument, it will be used as the callback
256
+ * function.
257
+ *
258
+ * @param { SupportingDocumentListInstanceEachOptions } [params] - Options for request
259
+ * @param { function } [callback] - Function to process each record
260
+ */
261
+ each(callback?: (item: SupportingDocumentInstance, done: (err?: Error) => void) => void): void;
262
+ each(params: SupportingDocumentListInstanceEachOptions, callback?: (item: SupportingDocumentInstance, done: (err?: Error) => void) => void): void;
263
+ /**
264
+ * Retrieve a single target page of SupportingDocumentInstance records from the API.
265
+ *
266
+ * The request is executed immediately.
267
+ *
268
+ * @param { string } [targetUrl] - API-generated URL for the requested results page
269
+ * @param { function } [callback] - Callback to handle list of records
270
+ */
271
+ getPage(targetUrl: string, callback?: (error: Error | null, items: SupportingDocumentPage) => any): Promise<SupportingDocumentPage>;
272
+ /**
273
+ * Lists SupportingDocumentInstance records from the API as a list.
274
+ *
275
+ * If a function is passed as the first argument, it will be used as the callback
276
+ * function.
277
+ *
278
+ * @param { SupportingDocumentListInstanceOptions } [params] - Options for request
279
+ * @param { function } [callback] - Callback to handle list of records
280
+ */
281
+ list(callback?: (error: Error | null, items: SupportingDocumentInstance[]) => any): Promise<SupportingDocumentInstance[]>;
282
+ list(params: SupportingDocumentListInstanceOptions, callback?: (error: Error | null, items: SupportingDocumentInstance[]) => any): Promise<SupportingDocumentInstance[]>;
283
+ /**
284
+ * Retrieve a single page of SupportingDocumentInstance records from the API.
285
+ *
286
+ * The request is executed immediately.
287
+ *
288
+ * If a function is passed as the first argument, it will be used as the callback
289
+ * function.
290
+ *
291
+ * @param { SupportingDocumentListInstancePageOptions } [params] - Options for request
292
+ * @param { function } [callback] - Callback to handle list of records
293
+ */
294
+ page(callback?: (error: Error | null, items: SupportingDocumentPage) => any): Promise<SupportingDocumentPage>;
295
+ page(params: SupportingDocumentListInstancePageOptions, callback?: (error: Error | null, items: SupportingDocumentPage) => any): Promise<SupportingDocumentPage>;
296
+ /**
297
+ * Provide a user-friendly representation
298
+ */
299
+ toJSON(): any;
300
+ [inspect.custom](_depth: any, options: InspectOptions): any;
301
+ }
302
+ export declare function SupportingDocumentListInstance(version: V1): SupportingDocumentListInstance;
303
+ export declare class SupportingDocumentPage extends Page<V1, SupportingDocumentPayload, SupportingDocumentResource, SupportingDocumentInstance> {
304
+ /**
305
+ * Initialize the SupportingDocumentPage
306
+ *
307
+ * @param version - Version of the resource
308
+ * @param response - Response from the API
309
+ * @param solution - Path solution
310
+ */
311
+ constructor(version: V1, response: Response<string>, solution: SupportingDocumentSolution);
312
+ /**
313
+ * Build an instance of SupportingDocumentInstance
314
+ *
315
+ * @param payload - Payload response from the API
316
+ */
317
+ getInstance(payload: SupportingDocumentResource): SupportingDocumentInstance;
318
+ [inspect.custom](depth: any, options: InspectOptions): string;
319
+ }
320
+ export {};