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
@@ -14,11 +14,9 @@ import Iam from "./Iam";
14
14
  import Insights from "./Insights";
15
15
  import Intelligence from "./Intelligence";
16
16
  import IpMessaging from "./IpMessaging";
17
- import Knowledge from "./Knowledge";
18
17
  import Lookups from "./Lookups";
19
18
  import Marketplace from "./Marketplace";
20
19
  import Messaging from "./Messaging";
21
- import Microvisor from "./Microvisor";
22
20
  import Monitor from "./Monitor";
23
21
  import Notify from "./Notify";
24
22
  import Numbers from "./Numbers";
@@ -96,16 +94,12 @@ declare class Twilio extends Client {
96
94
  _intelligence?: Intelligence;
97
95
  /** (Twilio.IpMessaging) - ipMessaging domain */
98
96
  _ipMessaging?: IpMessaging;
99
- /** (Twilio.Knowledge) - knowledge domain */
100
- _knowledge?: Knowledge;
101
97
  /** (Twilio.Lookups) - lookups domain */
102
98
  _lookups?: Lookups;
103
99
  /** (Twilio.Marketplace) - marketplace domain */
104
100
  _marketplace?: Marketplace;
105
101
  /** (Twilio.Messaging) - messaging domain */
106
102
  _messaging?: Messaging;
107
- /** (Twilio.Microvisor) - microvisor domain */
108
- _microvisor?: Microvisor;
109
103
  /** (Twilio.Monitor) - monitor domain */
110
104
  _monitor?: Monitor;
111
105
  /** (Twilio.Notify) - notify domain */
@@ -186,16 +180,12 @@ declare class Twilio extends Client {
186
180
  get intelligence(): Intelligence;
187
181
  /** Getter for (Twilio.IpMessaging) domain */
188
182
  get ipMessaging(): IpMessaging;
189
- /** Getter for (Twilio.Knowledge) domain */
190
- get knowledge(): Knowledge;
191
183
  /** Getter for (Twilio.Lookups) domain */
192
184
  get lookups(): Lookups;
193
185
  /** Getter for (Twilio.Marketplace) domain */
194
186
  get marketplace(): Marketplace;
195
187
  /** Getter for (Twilio.Messaging) domain */
196
188
  get messaging(): Messaging;
197
- /** Getter for (Twilio.Microvisor) domain */
198
- get microvisor(): Microvisor;
199
189
  /** Getter for (Twilio.Monitor) domain */
200
190
  get monitor(): Monitor;
201
191
  /** Getter for (Twilio.Notify) domain */
@@ -47,11 +47,9 @@ class Twilio extends BaseTwilio_1.Client {
47
47
  this.insights;
48
48
  this.intelligence;
49
49
  this.ipMessaging;
50
- this.knowledge;
51
50
  this.lookups;
52
51
  this.marketplace;
53
52
  this.messaging;
54
- this.microvisor;
55
53
  this.monitor;
56
54
  this.notify;
57
55
  this.numbers;
@@ -141,10 +139,6 @@ class Twilio extends BaseTwilio_1.Client {
141
139
  return (this._ipMessaging ??
142
140
  (this._ipMessaging = new (require("./IpMessaging"))(this)));
143
141
  }
144
- /** Getter for (Twilio.Knowledge) domain */
145
- get knowledge() {
146
- return (this._knowledge ?? (this._knowledge = new (require("./Knowledge"))(this)));
147
- }
148
142
  /** Getter for (Twilio.Lookups) domain */
149
143
  get lookups() {
150
144
  return this._lookups ?? (this._lookups = new (require("./Lookups"))(this));
@@ -158,11 +152,6 @@ class Twilio extends BaseTwilio_1.Client {
158
152
  get messaging() {
159
153
  return (this._messaging ?? (this._messaging = new (require("./Messaging"))(this)));
160
154
  }
161
- /** Getter for (Twilio.Microvisor) domain */
162
- get microvisor() {
163
- return (this._microvisor ??
164
- (this._microvisor = new (require("./Microvisor"))(this)));
165
- }
166
155
  /** Getter for (Twilio.Monitor) domain */
167
156
  get monitor() {
168
157
  return this._monitor ?? (this._monitor = new (require("./Monitor"))(this));
@@ -6,7 +6,7 @@ import V1 from "../V1";
6
6
  */
7
7
  export interface BulkConsentsListInstanceCreateOptions {
8
8
  /** This is a list of objects that describes a contact\\\'s opt-in status. Each object contains the following fields: `contact_id`, which must be a string representing phone number in [E.164 format](https://www.twilio.com/docs/glossary/what-e164); `correlation_id`, a unique 32-character UUID used to uniquely map the request item with the response item; `sender_id`, which can be either a valid messaging service SID or a from phone number; `status`, a string representing the consent status. Can be one of [`opt-in`, `opt-out`]; `source`, a string indicating the medium through which the consent was collected. Can be one of [`website`, `offline`, `opt-in-message`, `opt-out-message`, `others`]; `date_of_consent`, an optional datetime string field in ISO-8601 format that captures the exact date and time when the user gave or revoked consent. If not provided, it will be empty. */
9
- items: Array<object>;
9
+ items: Array<any>;
10
10
  }
11
11
  export interface BulkConsentsSolution {
12
12
  }
@@ -31,7 +31,7 @@ export interface BulkConsentsListInstance {
31
31
  }
32
32
  export declare function BulkConsentsListInstance(version: V1): BulkConsentsListInstance;
33
33
  interface BulkConsentsResource {
34
- items: Record<string, object>;
34
+ items: any;
35
35
  }
36
36
  export declare class BulkConsentsInstance {
37
37
  protected _version: V1;
@@ -39,14 +39,14 @@ export declare class BulkConsentsInstance {
39
39
  /**
40
40
  * A list of objects where each object represents the result of processing a `correlation_id`. Each object contains the following fields: `correlation_id`, a unique 32-character UUID that maps the response to the original request; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty.
41
41
  */
42
- items: Record<string, object>;
42
+ items: any;
43
43
  /**
44
44
  * Provide a user-friendly representation
45
45
  *
46
46
  * @returns Object
47
47
  */
48
48
  toJSON(): {
49
- items: Record<string, object>;
49
+ items: any;
50
50
  };
51
51
  [inspect.custom](_depth: any, options: InspectOptions): string;
52
52
  }
@@ -30,7 +30,7 @@ function BulkConsentsListInstance(version) {
30
30
  throw new Error("Required parameter \"params['items']\" missing.");
31
31
  }
32
32
  let data = {};
33
- data["Items"] = serialize.map(params["items"], (e) => e);
33
+ data["Items"] = serialize.map(params["items"], (e) => serialize.object(e));
34
34
  const headers = {};
35
35
  headers["Content-Type"] = "application/x-www-form-urlencoded";
36
36
  headers["Accept"] = "application/json";
@@ -6,7 +6,7 @@ import V1 from "../V1";
6
6
  */
7
7
  export interface BulkContactsListInstanceCreateOptions {
8
8
  /** A list of objects where each object represents a contact\\\'s details. Each object includes the following fields: `contact_id`, which must be a string representing phone number in [E.164 format](https://www.twilio.com/docs/glossary/what-e164); `correlation_id`, a unique 32-character UUID that maps the response to the original request; `country_iso_code`, a string representing the country using the ISO format (e.g., US for the United States); and `zip_code`, a string representing the postal code. */
9
- items: Array<object>;
9
+ items: Array<any>;
10
10
  }
11
11
  export interface BulkContactsSolution {
12
12
  }
@@ -31,7 +31,7 @@ export interface BulkContactsListInstance {
31
31
  }
32
32
  export declare function BulkContactsListInstance(version: V1): BulkContactsListInstance;
33
33
  interface BulkContactsResource {
34
- items: Record<string, object>;
34
+ items: any;
35
35
  }
36
36
  export declare class BulkContactsInstance {
37
37
  protected _version: V1;
@@ -39,14 +39,14 @@ export declare class BulkContactsInstance {
39
39
  /**
40
40
  * A list of objects where each object represents the result of processing a `correlation_id`. Each object contains the following fields: `correlation_id`, a unique 32-character UUID that maps the response to the original request; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty.
41
41
  */
42
- items: Record<string, object>;
42
+ items: any;
43
43
  /**
44
44
  * Provide a user-friendly representation
45
45
  *
46
46
  * @returns Object
47
47
  */
48
48
  toJSON(): {
49
- items: Record<string, object>;
49
+ items: any;
50
50
  };
51
51
  [inspect.custom](_depth: any, options: InspectOptions): string;
52
52
  }
@@ -30,7 +30,7 @@ function BulkContactsListInstance(version) {
30
30
  throw new Error("Required parameter \"params['items']\" missing.");
31
31
  }
32
32
  let data = {};
33
- data["Items"] = serialize.map(params["items"], (e) => e);
33
+ data["Items"] = serialize.map(params["items"], (e) => serialize.object(e));
34
34
  const headers = {};
35
35
  headers["Content-Type"] = "application/x-www-form-urlencoded";
36
36
  headers["Accept"] = "application/json";
@@ -3,7 +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 V2010 from "../../../V2010";
6
- import { PhoneNumberCapabilities } from "../../../../../interfaces";
6
+ /**
7
+ * Whether the phone number requires an [Address](https://www.twilio.com/docs/usage/api/address) registered with Twilio. Can be: `none`, `any`, `local`, or `foreign`.
8
+ */
7
9
  export type DependentPhoneNumberAddressRequirement = "none" | "any" | "local" | "foreign";
8
10
  /**
9
11
  * Whether the phone number is enabled for emergency calling.
@@ -120,14 +122,14 @@ interface DependentPhoneNumberResource {
120
122
  voice_fallback_method: string;
121
123
  voice_fallback_url: string;
122
124
  voice_caller_id_lookup: boolean;
123
- date_created: string;
124
- date_updated: string;
125
+ date_created: Date;
126
+ date_updated: Date;
125
127
  sms_fallback_method: string;
126
128
  sms_fallback_url: string;
127
129
  sms_method: string;
128
130
  sms_url: string;
129
131
  address_requirements: DependentPhoneNumberAddressRequirement;
130
- capabilities: PhoneNumberCapabilities;
132
+ capabilities: any;
131
133
  status_callback: string;
132
134
  status_callback_method: string;
133
135
  api_version: string;
@@ -180,11 +182,11 @@ export declare class DependentPhoneNumberInstance {
180
182
  /**
181
183
  * The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
182
184
  */
183
- dateCreated: string;
185
+ dateCreated: Date;
184
186
  /**
185
187
  * The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
186
188
  */
187
- dateUpdated: string;
189
+ dateUpdated: Date;
188
190
  /**
189
191
  * The HTTP method we use to call `sms_fallback_url`. Can be: `GET` or `POST`.
190
192
  */
@@ -202,7 +204,10 @@ export declare class DependentPhoneNumberInstance {
202
204
  */
203
205
  smsUrl: string;
204
206
  addressRequirements: DependentPhoneNumberAddressRequirement;
205
- capabilities: PhoneNumberCapabilities;
207
+ /**
208
+ * The set of Boolean properties that indicates whether a phone number can receive calls or messages. Capabilities are `Voice`, `SMS`, and `MMS` and each capability can be: `true` or `false`.
209
+ */
210
+ capabilities: any;
206
211
  /**
207
212
  * The URL we call using the `status_callback_method` to send status information to your application.
208
213
  */
@@ -251,14 +256,14 @@ export declare class DependentPhoneNumberInstance {
251
256
  voiceFallbackMethod: string;
252
257
  voiceFallbackUrl: string;
253
258
  voiceCallerIdLookup: boolean;
254
- dateCreated: string;
255
- dateUpdated: string;
259
+ dateCreated: Date;
260
+ dateUpdated: Date;
256
261
  smsFallbackMethod: string;
257
262
  smsFallbackUrl: string;
258
263
  smsMethod: string;
259
264
  smsUrl: string;
260
265
  addressRequirements: DependentPhoneNumberAddressRequirement;
261
- capabilities: PhoneNumberCapabilities;
266
+ capabilities: any;
262
267
  statusCallback: string;
263
268
  statusCallbackMethod: string;
264
269
  apiVersion: string;
@@ -92,8 +92,8 @@ class DependentPhoneNumberInstance {
92
92
  this.voiceFallbackMethod = payload.voice_fallback_method;
93
93
  this.voiceFallbackUrl = payload.voice_fallback_url;
94
94
  this.voiceCallerIdLookup = payload.voice_caller_id_lookup;
95
- this.dateCreated = payload.date_created;
96
- this.dateUpdated = payload.date_updated;
95
+ this.dateCreated = deserialize.rfc2822DateTime(payload.date_created);
96
+ this.dateUpdated = deserialize.rfc2822DateTime(payload.date_updated);
97
97
  this.smsFallbackMethod = payload.sms_fallback_method;
98
98
  this.smsFallbackUrl = payload.sms_fallback_url;
99
99
  this.smsMethod = payload.sms_method;
@@ -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 V2010 from "../../V2010";
6
+ /**
7
+ * The set of permissions that you authorized for the Connect App. Can be: `get-all` or `post-all`.
8
+ */
6
9
  export type AuthorizedConnectAppPermission = "get-all" | "post-all";
7
10
  /**
8
11
  * Options to pass to each
@@ -105,8 +105,8 @@ interface EventPayload extends TwilioResponsePayload {
105
105
  events: EventResource[];
106
106
  }
107
107
  interface EventResource {
108
- request: Record<string, object>;
109
- response: Record<string, object>;
108
+ request: any;
109
+ response: any;
110
110
  }
111
111
  export declare class EventInstance {
112
112
  protected _version: V2010;
@@ -114,19 +114,19 @@ export declare class EventInstance {
114
114
  /**
115
115
  * Contains a dictionary representing the request of the call.
116
116
  */
117
- request: Record<string, object>;
117
+ request: any;
118
118
  /**
119
119
  * Contains a dictionary representing the call response, including a list of the call events.
120
120
  */
121
- response: Record<string, object>;
121
+ response: any;
122
122
  /**
123
123
  * Provide a user-friendly representation
124
124
  *
125
125
  * @returns Object
126
126
  */
127
127
  toJSON(): {
128
- request: Record<string, object>;
129
- response: Record<string, object>;
128
+ request: any;
129
+ response: any;
130
130
  };
131
131
  [inspect.custom](_depth: any, options: InspectOptions): string;
132
132
  }
@@ -40,7 +40,7 @@ export interface PaymentListInstanceCreateOptions {
40
40
  /** A positive integer that is used to validate the length of the `PostalCode` inputted by the user. User must enter this many digits. */
41
41
  minPostalCodeLength?: number;
42
42
  /** A single-level JSON object used to pass custom parameters to payment processors. (Required for ACH payments). The information that has to be included here depends on the <Pay> Connector. [Read more](https://www.twilio.com/console/voice/pay-connectors). */
43
- parameter?: object;
43
+ parameter?: any;
44
44
  /** This is the unique name corresponding to the Pay Connector installed in the Twilio Add-ons. Learn more about [<Pay> Connectors](https://www.twilio.com/console/voice/pay-connectors). The default value is `Default`. */
45
45
  paymentConnector?: string;
46
46
  /** */
@@ -156,7 +156,7 @@ interface RecordingResource {
156
156
  sid: string;
157
157
  price: number;
158
158
  uri: string;
159
- encryption_details: Record<string, object>;
159
+ encryption_details: any;
160
160
  price_unit: string;
161
161
  status: RecordingStatus;
162
162
  channels: number;
@@ -216,7 +216,7 @@ export declare class RecordingInstance {
216
216
  /**
217
217
  * How to decrypt the recording if it was encrypted using [Call Recording Encryption](https://www.twilio.com/docs/voice/tutorials/voice-recording-encryption) feature.
218
218
  */
219
- encryptionDetails: Record<string, object>;
219
+ encryptionDetails: any;
220
220
  /**
221
221
  * The currency used in the `price` property. Example: `USD`.
222
222
  */
@@ -278,7 +278,7 @@ export declare class RecordingInstance {
278
278
  sid: string;
279
279
  price: number;
280
280
  uri: string;
281
- encryptionDetails: Record<string, object>;
281
+ encryptionDetails: any;
282
282
  priceUnit: string;
283
283
  status: RecordingStatus;
284
284
  channels: number;
@@ -143,7 +143,7 @@ interface RecordingResource {
143
143
  channels: number;
144
144
  source: RecordingSource;
145
145
  error_code: number;
146
- encryption_details: Record<string, object>;
146
+ encryption_details: any;
147
147
  uri: string;
148
148
  }
149
149
  export declare class RecordingInstance {
@@ -208,7 +208,7 @@ export declare class RecordingInstance {
208
208
  /**
209
209
  * How to decrypt the recording if it was encrypted using [Call Recording Encryption](https://www.twilio.com/docs/voice/tutorials/voice-recording-encryption) feature.
210
210
  */
211
- encryptionDetails: Record<string, object>;
211
+ encryptionDetails: any;
212
212
  /**
213
213
  * The URI of the resource, relative to `https://api.twilio.com`.
214
214
  */
@@ -260,7 +260,7 @@ export declare class RecordingInstance {
260
260
  channels: number;
261
261
  source: RecordingSource;
262
262
  errorCode: number;
263
- encryptionDetails: Record<string, object>;
263
+ encryptionDetails: any;
264
264
  uri: string;
265
265
  };
266
266
  [inspect.custom](_depth: any, options: InspectOptions): string;
@@ -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 V2010 from "../../V2010";
6
+ /**
7
+ * The set of permissions that your ConnectApp requests.
8
+ */
6
9
  export type ConnectAppPermission = "get-all" | "post-all";
7
10
  /**
8
11
  * Options to pass to update a ConnectAppInstance
@@ -99,7 +99,7 @@ interface AssignedAddOnResource {
99
99
  resource_sid: string;
100
100
  friendly_name: string;
101
101
  description: string;
102
- configuration: Record<string, object>;
102
+ configuration: any;
103
103
  unique_name: string;
104
104
  date_created: Date;
105
105
  date_updated: Date;
@@ -134,7 +134,7 @@ export declare class AssignedAddOnInstance {
134
134
  /**
135
135
  * A JSON string that represents the current configuration of this Add-on installation.
136
136
  */
137
- configuration: Record<string, object>;
137
+ configuration: any;
138
138
  /**
139
139
  * An application-defined string that uniquely identifies the resource. It can be used in place of the resource\'s `sid` in the URL to address the resource.
140
140
  */
@@ -187,7 +187,7 @@ export declare class AssignedAddOnInstance {
187
187
  resourceSid: string;
188
188
  friendlyName: string;
189
189
  description: string;
190
- configuration: Record<string, object>;
190
+ configuration: any;
191
191
  uniqueName: string;
192
192
  dateCreated: Date;
193
193
  dateUpdated: Date;
@@ -4,6 +4,9 @@ import Page, { TwilioResponsePayload } from "../../../../../base/Page";
4
4
  import Response from "../../../../../http/response";
5
5
  import V2010 from "../../../V2010";
6
6
  import { PhoneNumberCapabilities } from "../../../../../interfaces";
7
+ /**
8
+ * Whether the phone number requires an [Address](https://www.twilio.com/docs/usage/api/address) registered with Twilio. Can be: `none`, `any`, `local`, or `foreign`.
9
+ */
7
10
  export type LocalAddressRequirement = "none" | "any" | "local" | "foreign";
8
11
  /**
9
12
  * The status of address registration with emergency services. A registered emergency address will be used during handling of emergency calls from this number.
@@ -4,6 +4,9 @@ import Page, { TwilioResponsePayload } from "../../../../../base/Page";
4
4
  import Response from "../../../../../http/response";
5
5
  import V2010 from "../../../V2010";
6
6
  import { PhoneNumberCapabilities } from "../../../../../interfaces";
7
+ /**
8
+ * Whether the phone number requires an [Address](https://www.twilio.com/docs/usage/api/address) registered with Twilio. Can be: `none`, `any`, `local`, or `foreign`.
9
+ */
7
10
  export type MobileAddressRequirement = "none" | "any" | "local" | "foreign";
8
11
  /**
9
12
  * The status of address registration with emergency services. A registered emergency address will be used during handling of emergency calls from this number.
@@ -4,6 +4,9 @@ import Page, { TwilioResponsePayload } from "../../../../../base/Page";
4
4
  import Response from "../../../../../http/response";
5
5
  import V2010 from "../../../V2010";
6
6
  import { PhoneNumberCapabilities } from "../../../../../interfaces";
7
+ /**
8
+ * Whether the phone number requires an [Address](https://www.twilio.com/docs/usage/api/address) registered with Twilio. Can be: `none`, `any`, `local`, or `foreign`.
9
+ */
7
10
  export type TollFreeAddressRequirement = "none" | "any" | "local" | "foreign";
8
11
  /**
9
12
  * The status of address registration with emergency services. A registered emergency address will be used during handling of emergency calls from this number.
@@ -8,6 +8,9 @@ import { LocalListInstance } from "./incomingPhoneNumber/local";
8
8
  import { MobileListInstance } from "./incomingPhoneNumber/mobile";
9
9
  import { TollFreeListInstance } from "./incomingPhoneNumber/tollFree";
10
10
  import { PhoneNumberCapabilities } from "../../../../interfaces";
11
+ /**
12
+ * Whether the phone number requires an [Address](https://www.twilio.com/docs/usage/api/address) registered with Twilio. Can be: `none`, `any`, `local`, or `foreign`.
13
+ */
11
14
  export type IncomingPhoneNumberAddressRequirement = "none" | "any" | "local" | "foreign";
12
15
  /**
13
16
  * The status of address registration with emergency services. A registered emergency address will be used during handling of emergency calls from this number.
@@ -166,7 +166,7 @@ interface RecordingResource {
166
166
  source: RecordingSource;
167
167
  error_code: number;
168
168
  uri: string;
169
- encryption_details: Record<string, object>;
169
+ encryption_details: any;
170
170
  subresource_uris: Record<string, string>;
171
171
  media_url: string;
172
172
  }
@@ -221,7 +221,7 @@ export declare class RecordingInstance {
221
221
  priceUnit: string;
222
222
  status: RecordingStatus;
223
223
  /**
224
- * The number of channels in the final recording file. Can be: `1` or `2`.
224
+ * The number of channels in the final recording file. Can be: `1` or `2`. Default: `1`.
225
225
  */
226
226
  channels: number;
227
227
  source: RecordingSource;
@@ -236,7 +236,7 @@ export declare class RecordingInstance {
236
236
  /**
237
237
  * How to decrypt the recording if it was encrypted using [Call Recording Encryption](https://www.twilio.com/docs/voice/tutorials/voice-recording-encryption) feature.
238
238
  */
239
- encryptionDetails: Record<string, object>;
239
+ encryptionDetails: any;
240
240
  /**
241
241
  * A list of related resources identified by their relative URIs.
242
242
  */
@@ -301,7 +301,7 @@ export declare class RecordingInstance {
301
301
  source: RecordingSource;
302
302
  errorCode: number;
303
303
  uri: string;
304
- encryptionDetails: Record<string, object>;
304
+ encryptionDetails: any;
305
305
  subresourceUris: Record<string, string>;
306
306
  mediaUrl: string;
307
307
  };
@@ -7,6 +7,9 @@ import V2010 from "../../../V2010";
7
7
  * The frequency of a recurring UsageTrigger. Can be: `daily`, `monthly`, or `yearly` for recurring triggers or empty for non-recurring triggers. A trigger will only fire once during each period. Recurring times are in GMT.
8
8
  */
9
9
  export type TriggerRecurring = "daily" | "monthly" | "yearly" | "alltime";
10
+ /**
11
+ * The field in the [UsageRecord](https://www.twilio.com/docs/usage/api/usage-record) resource that fires the trigger. Can be: `count`, `usage`, or `price`, as described in the [UsageRecords documentation](https://www.twilio.com/docs/usage/api/usage-record#usage-count-price).
12
+ */
10
13
  export type TriggerTriggerField = "count" | "usage" | "price";
11
14
  /**
12
15
  * The usage category the trigger watches. Must be one of the supported [usage categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories).
@@ -7,7 +7,7 @@ import V1 from "../../V1";
7
7
  * Options to pass to each
8
8
  */
9
9
  export interface DayListInstanceEachOptions {
10
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
10
+ /** How many resources to return in each list page. The default is 50, and the maximum is 400. */
11
11
  pageSize?: number;
12
12
  /** Function to process each record. If this and a positional callback are passed, this one will be used */
13
13
  callback?: (item: DayInstance, done: (err?: Error) => void) => void;
@@ -20,7 +20,7 @@ export interface DayListInstanceEachOptions {
20
20
  * Options to pass to list
21
21
  */
22
22
  export interface DayListInstanceOptions {
23
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
23
+ /** How many resources to return in each list page. The default is 50, and the maximum is 400. */
24
24
  pageSize?: number;
25
25
  /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
26
26
  limit?: number;
@@ -29,7 +29,7 @@ export interface DayListInstanceOptions {
29
29
  * Options to pass to page
30
30
  */
31
31
  export interface DayListInstancePageOptions {
32
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
32
+ /** How many resources to return in each list page. The default is 50, and the maximum is 400. */
33
33
  pageSize?: number;
34
34
  /** Page Number, this value is simply for client state */
35
35
  pageNumber?: number;
@@ -138,7 +138,7 @@ interface ExportCustomJobResource {
138
138
  webhook_method: string;
139
139
  email: string;
140
140
  job_sid: string;
141
- details: Record<string, object>;
141
+ details: Array<any>;
142
142
  job_queue_position: string;
143
143
  estimated_completion_time: string;
144
144
  }
@@ -180,7 +180,7 @@ export declare class ExportCustomJobInstance {
180
180
  /**
181
181
  * The details of a job which is an object that contains an array of status grouped by `status` state. Each `status` object has a `status` string, a count which is the number of days in that `status`, and list of days in that `status`. The day strings are in the format yyyy-MM-dd. As an example, a currently running job may have a status object for COMPLETED and a `status` object for SUBMITTED each with its own count and list of days.
182
182
  */
183
- details: Record<string, object>;
183
+ details: Array<any>;
184
184
  /**
185
185
  * This is the job position from the 1st in line. Your queue position will never increase. As jobs ahead of yours in the queue are processed, the queue position number will decrease
186
186
  */
@@ -203,7 +203,7 @@ export declare class ExportCustomJobInstance {
203
203
  webhookMethod: string;
204
204
  email: string;
205
205
  jobSid: string;
206
- details: Record<string, object>;
206
+ details: any[];
207
207
  jobQueuePosition: string;
208
208
  estimatedCompletionTime: string;
209
209
  };
@@ -45,7 +45,7 @@ export declare class JobContextImpl implements JobContext {
45
45
  interface JobResource {
46
46
  resource_type: string;
47
47
  friendly_name: string;
48
- details: Record<string, object>;
48
+ details: Array<any>;
49
49
  start_day: string;
50
50
  end_day: string;
51
51
  job_sid: string;
@@ -72,7 +72,7 @@ export declare class JobInstance {
72
72
  /**
73
73
  * The details of a job which is an object that contains an array of status grouped by `status` state. Each `status` object has a `status` string, a count which is the number of days in that `status`, and list of days in that `status`. The day strings are in the format yyyy-MM-dd. As an example, a currently running job may have a status object for COMPLETED and a `status` object for SUBMITTED each with its own count and list of days.
74
74
  */
75
- details: Record<string, object>;
75
+ details: Array<any>;
76
76
  /**
77
77
  * The start time for the export specified when creating the job
78
78
  */
@@ -131,7 +131,7 @@ export declare class JobInstance {
131
131
  toJSON(): {
132
132
  resourceType: string;
133
133
  friendlyName: string;
134
- details: Record<string, object>;
134
+ details: any[];
135
135
  startDay: string;
136
136
  endDay: string;
137
137
  jobSid: string;
@@ -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 V1 from "../V1";
6
+ /**
7
+ * The type of push-notification service the credential is for. Can be: `gcm`, `fcm`, or `apn`.
8
+ */
6
9
  export type CredentialPushService = "gcm" | "apn" | "fcm";
7
10
  /**
8
11
  * Options to pass to update a CredentialInstance
@@ -6,6 +6,9 @@ import V1 from "../../V1";
6
6
  import { InviteListInstance } from "./channel/invite";
7
7
  import { MemberListInstance } from "./channel/member";
8
8
  import { MessageListInstance } from "./channel/message";
9
+ /**
10
+ * The visibility of the channel. Can be: `public` or `private`.
11
+ */
9
12
  export type ChannelChannelType = "public" | "private";
10
13
  /**
11
14
  * Options to pass to update a ChannelInstance
@@ -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 V1 from "../../V1";
6
+ /**
7
+ * The type of role. Can be: `channel` for [Channel](https://www.twilio.com/docs/chat/api/channels) roles or `deployment` for [Service](https://www.twilio.com/docs/chat/api/services) roles.
8
+ */
6
9
  export type RoleRoleType = "channel" | "deployment";
7
10
  /**
8
11
  * Options to pass to update a RoleInstance
@@ -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 V1 from "../../../V1";
6
+ /**
7
+ * The status of the User on the Channel. Can be: `joined`, `invited`, or `not_participating`.
8
+ */
6
9
  export type UserChannelChannelStatus = "joined" | "invited" | "not_participating";
7
10
  /**
8
11
  * Options to pass to each