twilio 5.7.0 → 5.7.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 (258) hide show
  1. package/lib/rest/Twilio.d.ts +0 -10
  2. package/lib/rest/Twilio.js +0 -11
  3. package/lib/rest/accounts/v1/bulkConsents.d.ts +4 -4
  4. package/lib/rest/accounts/v1/bulkConsents.js +1 -1
  5. package/lib/rest/accounts/v1/bulkContacts.d.ts +4 -4
  6. package/lib/rest/accounts/v1/bulkContacts.js +1 -1
  7. package/lib/rest/api/v2010/account/address/dependentPhoneNumber.d.ts +15 -10
  8. package/lib/rest/api/v2010/account/address/dependentPhoneNumber.js +2 -2
  9. package/lib/rest/api/v2010/account/authorizedConnectApp.d.ts +3 -0
  10. package/lib/rest/api/v2010/account/call/event.d.ts +6 -6
  11. package/lib/rest/api/v2010/account/call/payment.d.ts +1 -1
  12. package/lib/rest/api/v2010/account/call/recording.d.ts +3 -3
  13. package/lib/rest/api/v2010/account/conference/recording.d.ts +3 -3
  14. package/lib/rest/api/v2010/account/connectApp.d.ts +3 -0
  15. package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.d.ts +3 -3
  16. package/lib/rest/api/v2010/account/incomingPhoneNumber/local.d.ts +3 -0
  17. package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.d.ts +3 -0
  18. package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.d.ts +3 -0
  19. package/lib/rest/api/v2010/account/incomingPhoneNumber.d.ts +3 -0
  20. package/lib/rest/api/v2010/account/recording.d.ts +4 -4
  21. package/lib/rest/api/v2010/account/usage/trigger.d.ts +3 -0
  22. package/lib/rest/bulkexports/v1/export/day.d.ts +3 -3
  23. package/lib/rest/bulkexports/v1/export/exportCustomJob.d.ts +3 -3
  24. package/lib/rest/bulkexports/v1/export/job.d.ts +3 -3
  25. package/lib/rest/chat/v1/credential.d.ts +3 -0
  26. package/lib/rest/chat/v1/service/channel.d.ts +3 -0
  27. package/lib/rest/chat/v1/service/role.d.ts +3 -0
  28. package/lib/rest/chat/v1/service/user/userChannel.d.ts +3 -0
  29. package/lib/rest/chat/v1/service.d.ts +9 -9
  30. package/lib/rest/chat/v2/credential.d.ts +3 -0
  31. package/lib/rest/chat/v2/service/channel/message.d.ts +3 -3
  32. package/lib/rest/chat/v2/service/channel/webhook.d.ts +3 -3
  33. package/lib/rest/chat/v2/service/channel.d.ts +3 -0
  34. package/lib/rest/chat/v2/service/role.d.ts +3 -0
  35. package/lib/rest/chat/v2/service/user/userChannel.d.ts +3 -0
  36. package/lib/rest/chat/v2/service.d.ts +9 -9
  37. package/lib/rest/chat/v3/channel.d.ts +3 -0
  38. package/lib/rest/content/v2/content.d.ts +6 -6
  39. package/lib/rest/content/v2/contentAndApprovals.d.ts +9 -9
  40. package/lib/rest/conversations/v1/addressConfiguration.d.ts +7 -7
  41. package/lib/rest/conversations/v1/conversation/message/deliveryReceipt.d.ts +6 -3
  42. package/lib/rest/conversations/v1/conversation/message.d.ts +9 -9
  43. package/lib/rest/conversations/v1/conversation/participant.d.ts +6 -6
  44. package/lib/rest/conversations/v1/conversation/webhook.d.ts +7 -7
  45. package/lib/rest/conversations/v1/conversation.d.ts +9 -9
  46. package/lib/rest/conversations/v1/conversationWithParticipants.d.ts +6 -6
  47. package/lib/rest/conversations/v1/credential.d.ts +6 -3
  48. package/lib/rest/conversations/v1/participantConversation.d.ts +12 -9
  49. package/lib/rest/conversations/v1/role.d.ts +6 -3
  50. package/lib/rest/conversations/v1/service/binding.d.ts +3 -3
  51. package/lib/rest/conversations/v1/service/configuration/notification.d.ts +9 -9
  52. package/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.d.ts +6 -3
  53. package/lib/rest/conversations/v1/service/conversation/message.d.ts +9 -9
  54. package/lib/rest/conversations/v1/service/conversation/participant.d.ts +6 -6
  55. package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +7 -7
  56. package/lib/rest/conversations/v1/service/conversation.d.ts +9 -9
  57. package/lib/rest/conversations/v1/service/conversationWithParticipants.d.ts +6 -6
  58. package/lib/rest/conversations/v1/service/participantConversation.d.ts +12 -9
  59. package/lib/rest/conversations/v1/service/role.d.ts +6 -3
  60. package/lib/rest/conversations/v1/service/user/userConversation.d.ts +9 -6
  61. package/lib/rest/conversations/v1/service/user.d.ts +3 -3
  62. package/lib/rest/conversations/v1/service.d.ts +3 -3
  63. package/lib/rest/conversations/v1/user/userConversation.d.ts +9 -6
  64. package/lib/rest/conversations/v1/user.d.ts +3 -3
  65. package/lib/rest/events/v1/sink.d.ts +4 -4
  66. package/lib/rest/events/v1/subscription.d.ts +1 -1
  67. package/lib/rest/events/v1/subscription.js +1 -1
  68. package/lib/rest/flexApi/v1/assessments.d.ts +3 -3
  69. package/lib/rest/flexApi/v1/configuration.d.ts +66 -66
  70. package/lib/rest/flexApi/v1/flexFlow.d.ts +3 -3
  71. package/lib/rest/flexApi/v1/insightsAssessmentsComment.d.ts +3 -3
  72. package/lib/rest/flexApi/v1/insightsConversations.d.ts +3 -3
  73. package/lib/rest/flexApi/v1/insightsQuestionnaires.d.ts +3 -3
  74. package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.d.ts +6 -6
  75. package/lib/rest/flexApi/v1/insightsSegments.d.ts +9 -9
  76. package/lib/rest/flexApi/v1/insightsSettingsAnswerSets.d.ts +9 -9
  77. package/lib/rest/flexApi/v1/insightsSettingsComment.d.ts +3 -3
  78. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.d.ts +4 -4
  79. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +5 -5
  80. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionTransfer.d.ts +6 -0
  81. package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +4 -1
  82. package/lib/rest/flexApi/v1/interaction.d.ts +8 -8
  83. package/lib/rest/flexApi/v1/pluginConfiguration.d.ts +1 -1
  84. package/lib/rest/flexApi/v1/pluginConfiguration.js +1 -1
  85. package/lib/rest/frontlineApi/v1/user.d.ts +3 -0
  86. package/lib/rest/intelligence/v2/customOperator.d.ts +5 -5
  87. package/lib/rest/intelligence/v2/operator.d.ts +3 -3
  88. package/lib/rest/intelligence/v2/operatorType.d.ts +3 -3
  89. package/lib/rest/intelligence/v2/prebuiltOperator.d.ts +3 -3
  90. package/lib/rest/intelligence/v2/service.d.ts +3 -0
  91. package/lib/rest/intelligence/v2/transcript/operatorResult.d.ts +15 -15
  92. package/lib/rest/intelligence/v2/transcript/sentence.d.ts +3 -3
  93. package/lib/rest/intelligence/v2/transcript.d.ts +4 -4
  94. package/lib/rest/ipMessaging/v1/service.d.ts +9 -9
  95. package/lib/rest/ipMessaging/v2/service/channel/message.d.ts +3 -3
  96. package/lib/rest/ipMessaging/v2/service/channel/webhook.d.ts +3 -3
  97. package/lib/rest/ipMessaging/v2/service.d.ts +9 -9
  98. package/lib/rest/lookups/V2.d.ts +20 -0
  99. package/lib/rest/lookups/V2.js +25 -0
  100. package/lib/rest/lookups/v2/bucket.d.ts +205 -0
  101. package/lib/rest/lookups/v2/bucket.js +187 -0
  102. package/lib/rest/lookups/v2/lookupOverride.d.ts +264 -0
  103. package/lib/rest/lookups/v2/lookupOverride.js +225 -0
  104. package/lib/rest/lookups/v2/phoneNumber.d.ts +3 -0
  105. package/lib/rest/lookups/v2/query.d.ts +175 -0
  106. package/lib/rest/lookups/v2/query.js +123 -0
  107. package/lib/rest/lookups/v2/rateLimit.d.ts +83 -0
  108. package/lib/rest/lookups/v2/rateLimit.js +82 -0
  109. package/lib/rest/messaging/v1/service/destinationAlphaSender.d.ts +6 -0
  110. package/lib/rest/messaging/v1/service/destinationAlphaSender.js +2 -0
  111. package/lib/rest/messaging/v1/service.d.ts +3 -3
  112. package/lib/rest/messaging/v2/channelsSender.d.ts +49 -4
  113. package/lib/rest/messaging/v2/channelsSender.js +14 -2
  114. package/lib/rest/monitor/v1/event.d.ts +3 -3
  115. package/lib/rest/notify/v1/credential.d.ts +3 -0
  116. package/lib/rest/notify/v1/service/notification.d.ts +28 -28
  117. package/lib/rest/numbers/v1/bulkEligibility.d.ts +3 -3
  118. package/lib/rest/numbers/v1/eligibility.d.ts +3 -3
  119. package/lib/rest/numbers/v1/portingPortIn.d.ts +6 -6
  120. package/lib/rest/numbers/v2/bulkHostedNumberOrder.d.ts +3 -3
  121. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +3 -3
  122. package/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +5 -5
  123. package/lib/rest/numbers/v2/regulatoryCompliance/endUserType.d.ts +3 -3
  124. package/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +3 -3
  125. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +8 -8
  126. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.d.ts +3 -3
  127. package/lib/rest/preview/marketplace/availableAddOn.d.ts +3 -3
  128. package/lib/rest/preview/marketplace/installedAddOn.d.ts +5 -5
  129. package/lib/rest/preview/wireless/sim/usage.d.ts +15 -15
  130. package/lib/rest/proxy/v1/service/session/interaction.d.ts +3 -0
  131. package/lib/rest/proxy/v1/service/session/participant/messageInteraction.d.ts +3 -0
  132. package/lib/rest/proxy/v1/service/session.d.ts +1 -1
  133. package/lib/rest/proxy/v1/service/session.js +1 -1
  134. package/lib/rest/proxy/v1/service.d.ts +0 -8
  135. package/lib/rest/proxy/v1/service.js +0 -13
  136. package/lib/rest/serverless/v1/service/build.d.ts +9 -9
  137. package/lib/rest/serverless/v1/service/environment/log.d.ts +6 -7
  138. package/lib/rest/studio/v1/flow/engagement/engagementContext.d.ts +3 -3
  139. package/lib/rest/studio/v1/flow/engagement/step/stepContext.d.ts +3 -3
  140. package/lib/rest/studio/v1/flow/engagement/step.d.ts +3 -3
  141. package/lib/rest/studio/v1/flow/engagement.d.ts +4 -4
  142. package/lib/rest/studio/v1/flow/execution/executionContext.d.ts +3 -3
  143. package/lib/rest/studio/v1/flow/execution/executionStep/executionStepContext.d.ts +3 -3
  144. package/lib/rest/studio/v1/flow/execution/executionStep.d.ts +3 -3
  145. package/lib/rest/studio/v1/flow/execution.d.ts +4 -4
  146. package/lib/rest/studio/v2/flow/execution/executionContext.d.ts +3 -3
  147. package/lib/rest/studio/v2/flow/execution/executionStep/executionStepContext.d.ts +3 -3
  148. package/lib/rest/studio/v2/flow/execution/executionStep.d.ts +3 -3
  149. package/lib/rest/studio/v2/flow/execution.d.ts +4 -4
  150. package/lib/rest/studio/v2/flow/flowRevision.d.ts +6 -6
  151. package/lib/rest/studio/v2/flow.d.ts +11 -11
  152. package/lib/rest/studio/v2/flowValidate.d.ts +1 -1
  153. package/lib/rest/supersim/v1/network.d.ts +3 -3
  154. package/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.d.ts +3 -3
  155. package/lib/rest/supersim/v1/settingsUpdate.d.ts +3 -3
  156. package/lib/rest/supersim/v1/sim/billingPeriod.d.ts +3 -0
  157. package/lib/rest/supersim/v1/usageRecord.d.ts +3 -3
  158. package/lib/rest/sync/v1/service/document/documentPermission.d.ts +3 -3
  159. package/lib/rest/sync/v1/service/document.d.ts +3 -3
  160. package/lib/rest/sync/v1/service/syncList/syncListItem.d.ts +3 -3
  161. package/lib/rest/sync/v1/service/syncList/syncListPermission.d.ts +3 -3
  162. package/lib/rest/sync/v1/service/syncList.d.ts +3 -3
  163. package/lib/rest/sync/v1/service/syncMap/syncMapItem.d.ts +3 -3
  164. package/lib/rest/sync/v1/service/syncMap/syncMapPermission.d.ts +3 -3
  165. package/lib/rest/sync/v1/service/syncMap.d.ts +3 -3
  166. package/lib/rest/sync/v1/service/syncStream.d.ts +3 -3
  167. package/lib/rest/sync/v1/service.d.ts +3 -3
  168. package/lib/rest/taskrouter/v1/workspace/event.d.ts +3 -3
  169. package/lib/rest/taskrouter/v1/workspace/task/reservation.d.ts +3 -0
  170. package/lib/rest/taskrouter/v1/workspace/task.d.ts +4 -1
  171. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueBulkRealTimeStatistics.d.ts +3 -3
  172. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.d.ts +12 -12
  173. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueRealTimeStatistics.d.ts +9 -9
  174. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueStatistics.d.ts +6 -6
  175. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.d.ts +6 -6
  176. package/lib/rest/taskrouter/v1/workspace/worker/reservation.d.ts +3 -0
  177. package/lib/rest/taskrouter/v1/workspace/worker/workerStatistics.d.ts +3 -3
  178. package/lib/rest/taskrouter/v1/workspace/worker/workersCumulativeStatistics.d.ts +3 -3
  179. package/lib/rest/taskrouter/v1/workspace/worker/workersRealTimeStatistics.d.ts +3 -3
  180. package/lib/rest/taskrouter/v1/workspace/worker/workersStatistics.d.ts +6 -6
  181. package/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.d.ts +9 -9
  182. package/lib/rest/taskrouter/v1/workspace/workflow/workflowRealTimeStatistics.d.ts +6 -6
  183. package/lib/rest/taskrouter/v1/workspace/workflow/workflowStatistics.d.ts +6 -6
  184. package/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.d.ts +9 -9
  185. package/lib/rest/taskrouter/v1/workspace/workspaceRealTimeStatistics.d.ts +9 -9
  186. package/lib/rest/taskrouter/v1/workspace/workspaceStatistics.d.ts +6 -6
  187. package/lib/rest/taskrouter/v1/workspace.d.ts +3 -0
  188. package/lib/rest/trunking/v1/trunk/phoneNumber.d.ts +3 -0
  189. package/lib/rest/trunking/v1/trunk/recording.d.ts +6 -0
  190. package/lib/rest/trunking/v1/trunk.d.ts +12 -3
  191. package/lib/rest/trunking/v1/trunk.js +2 -0
  192. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +3 -3
  193. package/lib/rest/trusthub/v1/customerProfiles.d.ts +3 -3
  194. package/lib/rest/trusthub/v1/endUser.d.ts +5 -5
  195. package/lib/rest/trusthub/v1/endUserType.d.ts +3 -3
  196. package/lib/rest/trusthub/v1/policies.d.ts +3 -3
  197. package/lib/rest/trusthub/v1/supportingDocument.d.ts +5 -5
  198. package/lib/rest/trusthub/v1/supportingDocumentType.d.ts +3 -3
  199. package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +3 -3
  200. package/lib/rest/trusthub/v1/trustProducts.d.ts +3 -3
  201. package/lib/rest/verify/v2/form.d.ts +9 -6
  202. package/lib/rest/verify/v2/service/accessToken.d.ts +3 -0
  203. package/lib/rest/verify/v2/service/entity/challenge.d.ts +21 -12
  204. package/lib/rest/verify/v2/service/entity/challenge.js +1 -1
  205. package/lib/rest/verify/v2/service/entity/factor.d.ts +12 -6
  206. package/lib/rest/verify/v2/service/entity/newFactor.d.ts +16 -10
  207. package/lib/rest/verify/v2/service/verification.d.ts +11 -11
  208. package/lib/rest/verify/v2/service/verificationCheck.d.ts +3 -3
  209. package/lib/rest/verify/v2/service/webhook.d.ts +3 -0
  210. package/lib/rest/verify/v2/service.d.ts +9 -9
  211. package/lib/rest/verify/v2/template.d.ts +3 -3
  212. package/lib/rest/verify/v2/verificationAttempt.d.ts +13 -10
  213. package/lib/rest/verify/v2/verificationAttemptsSummary.d.ts +2 -2
  214. package/lib/rest/video/v1/composition.d.ts +3 -3
  215. package/lib/rest/video/v1/recording.d.ts +3 -3
  216. package/lib/rest/video/v1/room/transcriptions.d.ts +316 -0
  217. package/lib/rest/{proxy/v1/service/shortCode.js → video/v1/room/transcriptions.js} +61 -78
  218. package/lib/rest/video/v1/room.d.ts +8 -0
  219. package/lib/rest/video/v1/room.js +13 -0
  220. package/lib/rest/wireless/v1/sim/dataSession.d.ts +3 -3
  221. package/lib/rest/wireless/v1/sim/usageRecord.d.ts +9 -9
  222. package/lib/rest/wireless/v1/usageRecord.d.ts +9 -9
  223. package/lib/twiml/VoiceResponse.d.ts +32 -1
  224. package/lib/twiml/VoiceResponse.js +18 -0
  225. package/package.json +1 -1
  226. package/lib/rest/Knowledge.d.ts +0 -4
  227. package/lib/rest/Knowledge.js +0 -8
  228. package/lib/rest/KnowledgeBase.d.ts +0 -13
  229. package/lib/rest/KnowledgeBase.js +0 -31
  230. package/lib/rest/Microvisor.d.ts +0 -14
  231. package/lib/rest/Microvisor.js +0 -22
  232. package/lib/rest/MicrovisorBase.d.ts +0 -13
  233. package/lib/rest/MicrovisorBase.js +0 -31
  234. package/lib/rest/knowledge/V1.d.ts +0 -15
  235. package/lib/rest/knowledge/V1.js +0 -36
  236. package/lib/rest/knowledge/v1/knowledge/chunk.d.ts +0 -167
  237. package/lib/rest/knowledge/v1/knowledge/chunk.js +0 -131
  238. package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.d.ts +0 -101
  239. package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.js +0 -118
  240. package/lib/rest/knowledge/v1/knowledge.d.ts +0 -406
  241. package/lib/rest/knowledge/v1/knowledge.js +0 -300
  242. package/lib/rest/microvisor/V1.d.ts +0 -30
  243. package/lib/rest/microvisor/V1.js +0 -56
  244. package/lib/rest/microvisor/v1/accountConfig.d.ts +0 -263
  245. package/lib/rest/microvisor/v1/accountConfig.js +0 -254
  246. package/lib/rest/microvisor/v1/accountSecret.d.ts +0 -257
  247. package/lib/rest/microvisor/v1/accountSecret.js +0 -252
  248. package/lib/rest/microvisor/v1/app/appManifest.d.ts +0 -101
  249. package/lib/rest/microvisor/v1/app/appManifest.js +0 -118
  250. package/lib/rest/microvisor/v1/app.d.ts +0 -251
  251. package/lib/rest/microvisor/v1/app.js +0 -222
  252. package/lib/rest/microvisor/v1/device/deviceConfig.d.ts +0 -271
  253. package/lib/rest/microvisor/v1/device/deviceConfig.js +0 -262
  254. package/lib/rest/microvisor/v1/device/deviceSecret.d.ts +0 -265
  255. package/lib/rest/microvisor/v1/device/deviceSecret.js +0 -260
  256. package/lib/rest/microvisor/v1/device.d.ts +0 -299
  257. package/lib/rest/microvisor/v1/device.js +0 -250
  258. package/lib/rest/proxy/v1/service/shortCode.d.ts +0 -316
@@ -40,9 +40,9 @@ export interface VerificationListInstanceCreateOptions {
40
40
  /** The payee of the associated PSD2 compliant transaction. Requires the PSD2 Service flag enabled. */
41
41
  payee?: string;
42
42
  /** The custom key-value pairs of Programmable Rate Limits. Keys correspond to `unique_name` fields defined when [creating your Rate Limit](https://www.twilio.com/docs/verify/api/service-rate-limits). Associated value pairs represent values in the request that you are rate limiting on. You may include multiple Rate Limit values in each request. */
43
- rateLimits?: object;
43
+ rateLimits?: any;
44
44
  /** [`email`](https://www.twilio.com/docs/verify/email) channel configuration in json format. The fields \\\'from\\\' and \\\'from_name\\\' are optional but if included the \\\'from\\\' field must have a valid email address. */
45
- channelConfiguration?: object;
45
+ channelConfiguration?: any;
46
46
  /** Your [App Hash](https://developers.google.com/identity/sms-retriever/verify#computing_your_apps_hash_string) to be appended at the end of your verification SMS body. Applies only to SMS. Example SMS body: `<#> Your AppName verification code is: 1234 He42w354ol9`. */
47
47
  appHash?: string;
48
48
  /** The message [template](https://www.twilio.com/docs/verify/api/templates). If provided, will override the default template for the Service. SMS and Voice channels only. */
@@ -109,13 +109,13 @@ interface VerificationResource {
109
109
  channel: VerificationChannel;
110
110
  status: string;
111
111
  valid: boolean;
112
- lookup: Record<string, object>;
112
+ lookup: any;
113
113
  amount: string;
114
114
  payee: string;
115
- send_code_attempts: Array<Record<string, object>>;
115
+ send_code_attempts: Array<any>;
116
116
  date_created: Date;
117
117
  date_updated: Date;
118
- sna: Record<string, object>;
118
+ sna: any;
119
119
  url: string;
120
120
  }
121
121
  export declare class VerificationInstance {
@@ -151,7 +151,7 @@ export declare class VerificationInstance {
151
151
  /**
152
152
  * Information about the phone number being verified.
153
153
  */
154
- lookup: Record<string, object>;
154
+ lookup: any;
155
155
  /**
156
156
  * The amount of the associated PSD2 compliant transaction. Requires the PSD2 Service flag enabled.
157
157
  */
@@ -163,7 +163,7 @@ export declare class VerificationInstance {
163
163
  /**
164
164
  * An array of verification attempt objects containing the channel attempted and the channel-specific transaction SID.
165
165
  */
166
- sendCodeAttempts: Array<Record<string, object>>;
166
+ sendCodeAttempts: Array<any>;
167
167
  /**
168
168
  * The date and time in GMT when the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
169
169
  */
@@ -175,7 +175,7 @@ export declare class VerificationInstance {
175
175
  /**
176
176
  * The set of fields used for a silent network auth (`sna`) verification. Contains a single field with the URL to be invoked to verify the phone number.
177
177
  */
178
- sna: Record<string, object>;
178
+ sna: any;
179
179
  /**
180
180
  * The absolute URL of the Verification resource.
181
181
  */
@@ -211,13 +211,13 @@ export declare class VerificationInstance {
211
211
  channel: VerificationChannel;
212
212
  status: string;
213
213
  valid: boolean;
214
- lookup: Record<string, object>;
214
+ lookup: any;
215
215
  amount: string;
216
216
  payee: string;
217
- sendCodeAttempts: Record<string, object>[];
217
+ sendCodeAttempts: any[];
218
218
  dateCreated: Date;
219
219
  dateUpdated: Date;
220
- sna: Record<string, object>;
220
+ sna: any;
221
221
  url: string;
222
222
  };
223
223
  [inspect.custom](_depth: any, options: InspectOptions): string;
@@ -65,7 +65,7 @@ interface VerificationCheckResource {
65
65
  payee: string;
66
66
  date_created: Date;
67
67
  date_updated: Date;
68
- sna_attempts_error_codes: Array<Record<string, object>>;
68
+ sna_attempts_error_codes: Array<any>;
69
69
  }
70
70
  export declare class VerificationCheckInstance {
71
71
  protected _version: V2;
@@ -114,7 +114,7 @@ export declare class VerificationCheckInstance {
114
114
  /**
115
115
  * List of error codes as a result of attempting a verification using the `sna` channel. The error codes are chronologically ordered, from the first attempt to the latest attempt. This will be an empty list if no errors occured or `null` if the last channel used wasn\'t `sna`.
116
116
  */
117
- snaAttemptsErrorCodes: Array<Record<string, object>>;
117
+ snaAttemptsErrorCodes: Array<any>;
118
118
  /**
119
119
  * Provide a user-friendly representation
120
120
  *
@@ -132,7 +132,7 @@ export declare class VerificationCheckInstance {
132
132
  payee: string;
133
133
  dateCreated: Date;
134
134
  dateUpdated: Date;
135
- snaAttemptsErrorCodes: Record<string, object>[];
135
+ snaAttemptsErrorCodes: any[];
136
136
  };
137
137
  [inspect.custom](_depth: any, options: InspectOptions): string;
138
138
  }
@@ -3,6 +3,9 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../base/Page";
4
4
  import Response from "../../../../http/response";
5
5
  import V2 from "../../V2";
6
+ /**
7
+ * The method to be used when calling the webhook\'s URL.
8
+ */
6
9
  export type WebhookMethods = "GET" | "POST";
7
10
  /**
8
11
  * The webhook status. Default value is `enabled`. One of: `enabled` or `disabled`
@@ -228,10 +228,10 @@ interface ServiceResource {
228
228
  tts_name: string;
229
229
  do_not_share_warning_enabled: boolean;
230
230
  custom_code_enabled: boolean;
231
- push: Record<string, object>;
232
- totp: Record<string, object>;
231
+ push: any;
232
+ totp: any;
233
233
  default_template_sid: string;
234
- whatsapp: Record<string, object>;
234
+ whatsapp: any;
235
235
  verify_event_subscription_enabled: boolean;
236
236
  date_created: Date;
237
237
  date_updated: Date;
@@ -290,13 +290,13 @@ export declare class ServiceInstance {
290
290
  /**
291
291
  * Configurations for the Push factors (channel) created under this Service.
292
292
  */
293
- push: Record<string, object>;
293
+ push: any;
294
294
  /**
295
295
  * Configurations for the TOTP factors (channel) created under this Service.
296
296
  */
297
- totp: Record<string, object>;
297
+ totp: any;
298
298
  defaultTemplateSid: string;
299
- whatsapp: Record<string, object>;
299
+ whatsapp: any;
300
300
  /**
301
301
  * Whether to allow verifications from the service to reach the stream-events sinks if configured
302
302
  */
@@ -396,10 +396,10 @@ export declare class ServiceInstance {
396
396
  ttsName: string;
397
397
  doNotShareWarningEnabled: boolean;
398
398
  customCodeEnabled: boolean;
399
- push: Record<string, object>;
400
- totp: Record<string, object>;
399
+ push: any;
400
+ totp: any;
401
401
  defaultTemplateSid: string;
402
- whatsapp: Record<string, object>;
402
+ whatsapp: any;
403
403
  verifyEventSubscriptionEnabled: boolean;
404
404
  dateCreated: Date;
405
405
  dateUpdated: Date;
@@ -113,7 +113,7 @@ interface TemplateResource {
113
113
  account_sid: string;
114
114
  friendly_name: string;
115
115
  channels: Array<string>;
116
- translations: Record<string, object>;
116
+ translations: any;
117
117
  }
118
118
  export declare class TemplateInstance {
119
119
  protected _version: V2;
@@ -137,7 +137,7 @@ export declare class TemplateInstance {
137
137
  /**
138
138
  * An object that contains the different translations of the template. Every translation is identified by the language short name and contains its respective information as the approval status, text and created/modified date.
139
139
  */
140
- translations: Record<string, object>;
140
+ translations: any;
141
141
  /**
142
142
  * Provide a user-friendly representation
143
143
  *
@@ -148,7 +148,7 @@ export declare class TemplateInstance {
148
148
  accountSid: string;
149
149
  friendlyName: string;
150
150
  channels: string[];
151
- translations: Record<string, object>;
151
+ translations: any;
152
152
  };
153
153
  [inspect.custom](_depth: any, options: InspectOptions): string;
154
154
  }
@@ -3,7 +3,10 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../base/Page";
4
4
  import Response from "../../../http/response";
5
5
  import V2 from "../V2";
6
- export type VerificationAttemptChannels = "sms" | "call" | "email" | "whatsapp";
6
+ /**
7
+ * A string specifying the communication channel used for the verification attempt.
8
+ */
9
+ export type VerificationAttemptChannels = "sms" | "call" | "email" | "whatsapp" | "rbm";
7
10
  /**
8
11
  * A string specifying the conversion status of the verification. A conversion happens when the user is able to provide the correct code. Possible values are `CONVERTED` and `UNCONVERTED`.
9
12
  */
@@ -20,7 +23,7 @@ export interface VerificationAttemptListInstanceEachOptions {
20
23
  "channelData.to"?: string;
21
24
  /** Filter used to query Verification Attempts sent to the specified destination country. */
22
25
  country?: string;
23
- /** Filter used to query Verification Attempts by communication channel. Valid values are `SMS` and `CALL` */
26
+ /** Filter used to query Verification Attempts by communication channel. */
24
27
  channel?: VerificationAttemptChannels;
25
28
  /** Filter used to query Verification Attempts by verify service. Only attempts of the provided SID will be returned. */
26
29
  verifyServiceSid?: string;
@@ -49,7 +52,7 @@ export interface VerificationAttemptListInstanceOptions {
49
52
  "channelData.to"?: string;
50
53
  /** Filter used to query Verification Attempts sent to the specified destination country. */
51
54
  country?: string;
52
- /** Filter used to query Verification Attempts by communication channel. Valid values are `SMS` and `CALL` */
55
+ /** Filter used to query Verification Attempts by communication channel. */
53
56
  channel?: VerificationAttemptChannels;
54
57
  /** Filter used to query Verification Attempts by verify service. Only attempts of the provided SID will be returned. */
55
58
  verifyServiceSid?: string;
@@ -74,7 +77,7 @@ export interface VerificationAttemptListInstancePageOptions {
74
77
  "channelData.to"?: string;
75
78
  /** Filter used to query Verification Attempts sent to the specified destination country. */
76
79
  country?: string;
77
- /** Filter used to query Verification Attempts by communication channel. Valid values are `SMS` and `CALL` */
80
+ /** Filter used to query Verification Attempts by communication channel. */
78
81
  channel?: VerificationAttemptChannels;
79
82
  /** Filter used to query Verification Attempts by verify service. Only attempts of the provided SID will be returned. */
80
83
  verifyServiceSid?: string;
@@ -133,8 +136,8 @@ interface VerificationAttemptResource {
133
136
  date_updated: Date;
134
137
  conversion_status: VerificationAttemptConversionStatus;
135
138
  channel: VerificationAttemptChannels;
136
- price: Record<string, object>;
137
- channel_data: Record<string, object>;
139
+ price: any;
140
+ channel_data: any;
138
141
  url: string;
139
142
  }
140
143
  export declare class VerificationAttemptInstance {
@@ -171,11 +174,11 @@ export declare class VerificationAttemptInstance {
171
174
  /**
172
175
  * An object containing the charge for this verification attempt related to the channel costs and the currency used. The costs related to the succeeded verifications are not included. May not be immediately available. More information on pricing is available [here](https://www.twilio.com/en-us/verify/pricing).
173
176
  */
174
- price: Record<string, object>;
177
+ price: any;
175
178
  /**
176
179
  * An object containing the channel specific information for an attempt.
177
180
  */
178
- channelData: Record<string, object>;
181
+ channelData: any;
179
182
  url: string;
180
183
  private get _proxy();
181
184
  /**
@@ -200,8 +203,8 @@ export declare class VerificationAttemptInstance {
200
203
  dateUpdated: Date;
201
204
  conversionStatus: VerificationAttemptConversionStatus;
202
205
  channel: VerificationAttemptChannels;
203
- price: Record<string, object>;
204
- channelData: Record<string, object>;
206
+ price: any;
207
+ channelData: any;
205
208
  url: string;
206
209
  };
207
210
  [inspect.custom](_depth: any, options: InspectOptions): string;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  import { inspect, InspectOptions } from "util";
3
3
  import V2 from "../V2";
4
- export type VerificationAttemptsSummaryChannels = "sms" | "call" | "email" | "whatsapp";
4
+ export type VerificationAttemptsSummaryChannels = "sms" | "call" | "email" | "whatsapp" | "rbm";
5
5
  /**
6
6
  * Options to pass to fetch a VerificationAttemptsSummaryInstance
7
7
  */
@@ -14,7 +14,7 @@ export interface VerificationAttemptsSummaryContextFetchOptions {
14
14
  dateCreatedBefore?: Date;
15
15
  /** Filter used to consider only Verification Attempts sent to the specified destination country on the summary aggregation. */
16
16
  country?: string;
17
- /** Filter Verification Attempts considered on the summary aggregation by communication channel. Valid values are `SMS`, `CALL` and `WHATSAPP` */
17
+ /** Filter Verification Attempts considered on the summary aggregation by communication channel. */
18
18
  channel?: VerificationAttemptsSummaryChannels;
19
19
  /** Filter the Verification Attempts considered on the summary aggregation by Destination prefix. It is the prefix of a phone number in E.164 format. */
20
20
  destinationPrefix?: string;
@@ -46,7 +46,7 @@ export interface CompositionListInstanceEachOptions {
46
46
  dateCreatedBefore?: Date;
47
47
  /** Read only Composition resources with this Room SID. */
48
48
  roomSid?: string;
49
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
49
+ /** How many resources to return in each list page. */
50
50
  pageSize?: number;
51
51
  /** Function to process each record. If this and a positional callback are passed, this one will be used */
52
52
  callback?: (item: CompositionInstance, done: (err?: Error) => void) => void;
@@ -67,7 +67,7 @@ export interface CompositionListInstanceOptions {
67
67
  dateCreatedBefore?: Date;
68
68
  /** Read only Composition resources with this Room SID. */
69
69
  roomSid?: string;
70
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
70
+ /** How many resources to return in each list page. */
71
71
  pageSize?: number;
72
72
  /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
73
73
  limit?: number;
@@ -84,7 +84,7 @@ export interface CompositionListInstancePageOptions {
84
84
  dateCreatedBefore?: Date;
85
85
  /** Read only Composition resources with this Room SID. */
86
86
  roomSid?: string;
87
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
87
+ /** How many resources to return in each list page. */
88
88
  pageSize?: number;
89
89
  /** Page Number, this value is simply for client state */
90
90
  pageNumber?: number;
@@ -32,7 +32,7 @@ export interface RecordingListInstanceEachOptions {
32
32
  dateCreatedBefore?: Date;
33
33
  /** Read only recordings that have this media type. Can be either `audio` or `video`. */
34
34
  mediaType?: RecordingType;
35
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
35
+ /** How many resources to return in each list page. */
36
36
  pageSize?: number;
37
37
  /** Function to process each record. If this and a positional callback are passed, this one will be used */
38
38
  callback?: (item: RecordingInstance, done: (err?: Error) => void) => void;
@@ -57,7 +57,7 @@ export interface RecordingListInstanceOptions {
57
57
  dateCreatedBefore?: Date;
58
58
  /** Read only recordings that have this media type. Can be either `audio` or `video`. */
59
59
  mediaType?: RecordingType;
60
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
60
+ /** How many resources to return in each list page. */
61
61
  pageSize?: number;
62
62
  /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
63
63
  limit?: number;
@@ -78,7 +78,7 @@ export interface RecordingListInstancePageOptions {
78
78
  dateCreatedBefore?: Date;
79
79
  /** Read only recordings that have this media type. Can be either `audio` or `video`. */
80
80
  mediaType?: RecordingType;
81
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
81
+ /** How many resources to return in each list page. */
82
82
  pageSize?: number;
83
83
  /** Page Number, this value is simply for client state */
84
84
  pageNumber?: number;
@@ -0,0 +1,316 @@
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
+ * The status of the transcriptions resource.
8
+ */
9
+ export type TranscriptionsStatus = "created" | "started" | "stopped" | "failed";
10
+ /**
11
+ * Options to pass to update a TranscriptionsInstance
12
+ */
13
+ export interface TranscriptionsContextUpdateOptions {
14
+ /** */
15
+ status?: TranscriptionsStatus;
16
+ }
17
+ /**
18
+ * Options to pass to create a TranscriptionsInstance
19
+ */
20
+ export interface TranscriptionsListInstanceCreateOptions {
21
+ /** A collection of properties that describe transcription behaviour. */
22
+ configuration?: object;
23
+ }
24
+ /**
25
+ * Options to pass to each
26
+ */
27
+ export interface TranscriptionsListInstanceEachOptions {
28
+ /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
29
+ pageSize?: number;
30
+ /** Function to process each record. If this and a positional callback are passed, this one will be used */
31
+ callback?: (item: TranscriptionsInstance, done: (err?: Error) => void) => void;
32
+ /** Function to be called upon completion of streaming */
33
+ done?: Function;
34
+ /** Upper limit for the number of records to return. each() guarantees never to return more than limit. Default is no limit */
35
+ limit?: number;
36
+ }
37
+ /**
38
+ * Options to pass to list
39
+ */
40
+ export interface TranscriptionsListInstanceOptions {
41
+ /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
42
+ pageSize?: number;
43
+ /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
44
+ limit?: number;
45
+ }
46
+ /**
47
+ * Options to pass to page
48
+ */
49
+ export interface TranscriptionsListInstancePageOptions {
50
+ /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
51
+ pageSize?: number;
52
+ /** Page Number, this value is simply for client state */
53
+ pageNumber?: number;
54
+ /** PageToken provided by the API */
55
+ pageToken?: string;
56
+ }
57
+ export interface TranscriptionsContext {
58
+ /**
59
+ * Fetch a TranscriptionsInstance
60
+ *
61
+ * @param callback - Callback to handle processed record
62
+ *
63
+ * @returns Resolves to processed TranscriptionsInstance
64
+ */
65
+ fetch(callback?: (error: Error | null, item?: TranscriptionsInstance) => any): Promise<TranscriptionsInstance>;
66
+ /**
67
+ * Update a TranscriptionsInstance
68
+ *
69
+ * @param callback - Callback to handle processed record
70
+ *
71
+ * @returns Resolves to processed TranscriptionsInstance
72
+ */
73
+ update(callback?: (error: Error | null, item?: TranscriptionsInstance) => any): Promise<TranscriptionsInstance>;
74
+ /**
75
+ * Update a TranscriptionsInstance
76
+ *
77
+ * @param params - Parameter for request
78
+ * @param callback - Callback to handle processed record
79
+ *
80
+ * @returns Resolves to processed TranscriptionsInstance
81
+ */
82
+ update(params: TranscriptionsContextUpdateOptions, callback?: (error: Error | null, item?: TranscriptionsInstance) => any): Promise<TranscriptionsInstance>;
83
+ /**
84
+ * Provide a user-friendly representation
85
+ */
86
+ toJSON(): any;
87
+ [inspect.custom](_depth: any, options: InspectOptions): any;
88
+ }
89
+ export interface TranscriptionsContextSolution {
90
+ roomSid: string;
91
+ ttid: string;
92
+ }
93
+ export declare class TranscriptionsContextImpl implements TranscriptionsContext {
94
+ protected _version: V1;
95
+ protected _solution: TranscriptionsContextSolution;
96
+ protected _uri: string;
97
+ constructor(_version: V1, roomSid: string, ttid: string);
98
+ fetch(callback?: (error: Error | null, item?: TranscriptionsInstance) => any): Promise<TranscriptionsInstance>;
99
+ update(params?: TranscriptionsContextUpdateOptions | ((error: Error | null, item?: TranscriptionsInstance) => any), callback?: (error: Error | null, item?: TranscriptionsInstance) => any): Promise<TranscriptionsInstance>;
100
+ /**
101
+ * Provide a user-friendly representation
102
+ *
103
+ * @returns Object
104
+ */
105
+ toJSON(): TranscriptionsContextSolution;
106
+ [inspect.custom](_depth: any, options: InspectOptions): string;
107
+ }
108
+ interface TranscriptionsPayload extends TwilioResponsePayload {
109
+ extensions: TranscriptionsResource[];
110
+ }
111
+ interface TranscriptionsResource {
112
+ ttid: string;
113
+ account_sid: string;
114
+ room_sid: string;
115
+ status: TranscriptionsStatus;
116
+ identity: string;
117
+ date_created: Date;
118
+ date_updated: Date;
119
+ start_time: Date;
120
+ end_time: Date;
121
+ duration: number;
122
+ url: string;
123
+ }
124
+ export declare class TranscriptionsInstance {
125
+ protected _version: V1;
126
+ protected _solution: TranscriptionsContextSolution;
127
+ protected _context?: TranscriptionsContext;
128
+ constructor(_version: V1, payload: TranscriptionsResource, roomSid: string, ttid?: string);
129
+ /**
130
+ * The unique string that we created to identify the transcriptions resource.
131
+ */
132
+ ttid: string;
133
+ /**
134
+ * The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Room resource.
135
+ */
136
+ accountSid: string;
137
+ /**
138
+ * The SID of the transcriptions\'s room.
139
+ */
140
+ roomSid: string;
141
+ status: TranscriptionsStatus;
142
+ /**
143
+ * The application-defined string that uniquely identifies the resource\'s User within a Room. If a client joins with an existing Identity, the existing client is disconnected. See [access tokens](https://www.twilio.com/docs/video/tutorials/user-identity-access-tokens) and [limits](https://www.twilio.com/docs/video/programmable-video-limits) for more info.
144
+ */
145
+ identity: string;
146
+ /**
147
+ * The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
148
+ */
149
+ dateCreated: Date;
150
+ /**
151
+ * The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
152
+ */
153
+ dateUpdated: Date;
154
+ /**
155
+ * The time of transcriptions connected to the room in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#UTC) format.
156
+ */
157
+ startTime: Date;
158
+ /**
159
+ * The time when the transcriptions disconnected from the room in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#UTC) format.
160
+ */
161
+ endTime: Date;
162
+ /**
163
+ * The duration in seconds that the transcriptions were `connected`. Populated only after the transcriptions is `stopped`.
164
+ */
165
+ duration: number;
166
+ /**
167
+ * The absolute URL of the resource.
168
+ */
169
+ url: string;
170
+ private get _proxy();
171
+ /**
172
+ * Fetch a TranscriptionsInstance
173
+ *
174
+ * @param callback - Callback to handle processed record
175
+ *
176
+ * @returns Resolves to processed TranscriptionsInstance
177
+ */
178
+ fetch(callback?: (error: Error | null, item?: TranscriptionsInstance) => any): Promise<TranscriptionsInstance>;
179
+ /**
180
+ * Update a TranscriptionsInstance
181
+ *
182
+ * @param callback - Callback to handle processed record
183
+ *
184
+ * @returns Resolves to processed TranscriptionsInstance
185
+ */
186
+ update(callback?: (error: Error | null, item?: TranscriptionsInstance) => any): Promise<TranscriptionsInstance>;
187
+ /**
188
+ * Update a TranscriptionsInstance
189
+ *
190
+ * @param params - Parameter for request
191
+ * @param callback - Callback to handle processed record
192
+ *
193
+ * @returns Resolves to processed TranscriptionsInstance
194
+ */
195
+ update(params: TranscriptionsContextUpdateOptions, callback?: (error: Error | null, item?: TranscriptionsInstance) => any): Promise<TranscriptionsInstance>;
196
+ /**
197
+ * Provide a user-friendly representation
198
+ *
199
+ * @returns Object
200
+ */
201
+ toJSON(): {
202
+ ttid: string;
203
+ accountSid: string;
204
+ roomSid: string;
205
+ status: TranscriptionsStatus;
206
+ identity: string;
207
+ dateCreated: Date;
208
+ dateUpdated: Date;
209
+ startTime: Date;
210
+ endTime: Date;
211
+ duration: number;
212
+ url: string;
213
+ };
214
+ [inspect.custom](_depth: any, options: InspectOptions): string;
215
+ }
216
+ export interface TranscriptionsSolution {
217
+ roomSid: string;
218
+ }
219
+ export interface TranscriptionsListInstance {
220
+ _version: V1;
221
+ _solution: TranscriptionsSolution;
222
+ _uri: string;
223
+ (ttid: string): TranscriptionsContext;
224
+ get(ttid: string): TranscriptionsContext;
225
+ /**
226
+ * Create a TranscriptionsInstance
227
+ *
228
+ * @param callback - Callback to handle processed record
229
+ *
230
+ * @returns Resolves to processed TranscriptionsInstance
231
+ */
232
+ create(callback?: (error: Error | null, item?: TranscriptionsInstance) => any): Promise<TranscriptionsInstance>;
233
+ /**
234
+ * Create a TranscriptionsInstance
235
+ *
236
+ * @param params - Parameter for request
237
+ * @param callback - Callback to handle processed record
238
+ *
239
+ * @returns Resolves to processed TranscriptionsInstance
240
+ */
241
+ create(params: TranscriptionsListInstanceCreateOptions, callback?: (error: Error | null, item?: TranscriptionsInstance) => any): Promise<TranscriptionsInstance>;
242
+ /**
243
+ * Streams TranscriptionsInstance records from the API.
244
+ *
245
+ * This operation lazily loads records as efficiently as possible until the limit
246
+ * is reached.
247
+ *
248
+ * The results are passed into the callback function, so this operation is memory
249
+ * efficient.
250
+ *
251
+ * If a function is passed as the first argument, it will be used as the callback
252
+ * function.
253
+ *
254
+ * @param { TranscriptionsListInstanceEachOptions } [params] - Options for request
255
+ * @param { function } [callback] - Function to process each record
256
+ */
257
+ each(callback?: (item: TranscriptionsInstance, done: (err?: Error) => void) => void): void;
258
+ each(params: TranscriptionsListInstanceEachOptions, callback?: (item: TranscriptionsInstance, done: (err?: Error) => void) => void): void;
259
+ /**
260
+ * Retrieve a single target page of TranscriptionsInstance records from the API.
261
+ *
262
+ * The request is executed immediately.
263
+ *
264
+ * @param { string } [targetUrl] - API-generated URL for the requested results page
265
+ * @param { function } [callback] - Callback to handle list of records
266
+ */
267
+ getPage(targetUrl: string, callback?: (error: Error | null, items: TranscriptionsPage) => any): Promise<TranscriptionsPage>;
268
+ /**
269
+ * Lists TranscriptionsInstance records from the API as a list.
270
+ *
271
+ * If a function is passed as the first argument, it will be used as the callback
272
+ * function.
273
+ *
274
+ * @param { TranscriptionsListInstanceOptions } [params] - Options for request
275
+ * @param { function } [callback] - Callback to handle list of records
276
+ */
277
+ list(callback?: (error: Error | null, items: TranscriptionsInstance[]) => any): Promise<TranscriptionsInstance[]>;
278
+ list(params: TranscriptionsListInstanceOptions, callback?: (error: Error | null, items: TranscriptionsInstance[]) => any): Promise<TranscriptionsInstance[]>;
279
+ /**
280
+ * Retrieve a single page of TranscriptionsInstance records from the API.
281
+ *
282
+ * The request is executed immediately.
283
+ *
284
+ * If a function is passed as the first argument, it will be used as the callback
285
+ * function.
286
+ *
287
+ * @param { TranscriptionsListInstancePageOptions } [params] - Options for request
288
+ * @param { function } [callback] - Callback to handle list of records
289
+ */
290
+ page(callback?: (error: Error | null, items: TranscriptionsPage) => any): Promise<TranscriptionsPage>;
291
+ page(params: TranscriptionsListInstancePageOptions, callback?: (error: Error | null, items: TranscriptionsPage) => any): Promise<TranscriptionsPage>;
292
+ /**
293
+ * Provide a user-friendly representation
294
+ */
295
+ toJSON(): any;
296
+ [inspect.custom](_depth: any, options: InspectOptions): any;
297
+ }
298
+ export declare function TranscriptionsListInstance(version: V1, roomSid: string): TranscriptionsListInstance;
299
+ export declare class TranscriptionsPage extends Page<V1, TranscriptionsPayload, TranscriptionsResource, TranscriptionsInstance> {
300
+ /**
301
+ * Initialize the TranscriptionsPage
302
+ *
303
+ * @param version - Version of the resource
304
+ * @param response - Response from the API
305
+ * @param solution - Path solution
306
+ */
307
+ constructor(version: V1, response: Response<string>, solution: TranscriptionsSolution);
308
+ /**
309
+ * Build an instance of TranscriptionsInstance
310
+ *
311
+ * @param payload - Payload response from the API
312
+ */
313
+ getInstance(payload: TranscriptionsResource): TranscriptionsInstance;
314
+ [inspect.custom](depth: any, options: InspectOptions): string;
315
+ }
316
+ export {};