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
@@ -86,7 +86,7 @@ export interface ConversationListInstanceEachOptions {
86
86
  endDate?: string;
87
87
  /** State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed` */
88
88
  state?: ConversationState;
89
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
89
+ /** How many resources to return in each list page. The default is 50, and the maximum is 100. */
90
90
  pageSize?: number;
91
91
  /** Function to process each record. If this and a positional callback are passed, this one will be used */
92
92
  callback?: (item: ConversationInstance, done: (err?: Error) => void) => void;
@@ -105,7 +105,7 @@ export interface ConversationListInstanceOptions {
105
105
  endDate?: string;
106
106
  /** State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed` */
107
107
  state?: ConversationState;
108
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
108
+ /** How many resources to return in each list page. The default is 50, and the maximum is 100. */
109
109
  pageSize?: number;
110
110
  /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
111
111
  limit?: number;
@@ -120,7 +120,7 @@ export interface ConversationListInstancePageOptions {
120
120
  endDate?: string;
121
121
  /** State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed` */
122
122
  state?: ConversationState;
123
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
123
+ /** How many resources to return in each list page. The default is 50, and the maximum is 100. */
124
124
  pageSize?: number;
125
125
  /** Page Number, this value is simply for client state */
126
126
  pageNumber?: number;
@@ -218,10 +218,10 @@ interface ConversationResource {
218
218
  state: ConversationState;
219
219
  date_created: Date;
220
220
  date_updated: Date;
221
- timers: Record<string, object>;
221
+ timers: any;
222
222
  url: string;
223
223
  links: Record<string, string>;
224
- bindings: Record<string, object>;
224
+ bindings: any;
225
225
  }
226
226
  export declare class ConversationInstance {
227
227
  protected _version: V1;
@@ -268,7 +268,7 @@ export declare class ConversationInstance {
268
268
  /**
269
269
  * Timer date values representing state update for this conversation.
270
270
  */
271
- timers: Record<string, object>;
271
+ timers: any;
272
272
  /**
273
273
  * An absolute API resource URL for this conversation.
274
274
  */
@@ -277,7 +277,7 @@ export declare class ConversationInstance {
277
277
  * Contains absolute URLs to access the [participants](https://www.twilio.com/docs/conversations/api/conversation-participant-resource), [messages](https://www.twilio.com/docs/conversations/api/conversation-message-resource) and [webhooks](https://www.twilio.com/docs/conversations/api/conversation-scoped-webhook-resource) of this conversation.
278
278
  */
279
279
  links: Record<string, string>;
280
- bindings: Record<string, object>;
280
+ bindings: any;
281
281
  private get _proxy();
282
282
  /**
283
283
  * Remove a ConversationInstance
@@ -349,10 +349,10 @@ export declare class ConversationInstance {
349
349
  state: ConversationState;
350
350
  dateCreated: Date;
351
351
  dateUpdated: Date;
352
- timers: Record<string, object>;
352
+ timers: any;
353
353
  url: string;
354
354
  links: Record<string, string>;
355
- bindings: Record<string, object>;
355
+ bindings: any;
356
356
  };
357
357
  [inspect.custom](_depth: any, options: InspectOptions): string;
358
358
  }
@@ -78,9 +78,9 @@ interface ConversationWithParticipantsResource {
78
78
  state: ConversationWithParticipantsState;
79
79
  date_created: Date;
80
80
  date_updated: Date;
81
- timers: Record<string, object>;
81
+ timers: any;
82
82
  links: Record<string, string>;
83
- bindings: Record<string, object>;
83
+ bindings: any;
84
84
  url: string;
85
85
  }
86
86
  export declare class ConversationWithParticipantsInstance {
@@ -126,12 +126,12 @@ export declare class ConversationWithParticipantsInstance {
126
126
  /**
127
127
  * Timer date values representing state update for this conversation.
128
128
  */
129
- timers: Record<string, object>;
129
+ timers: any;
130
130
  /**
131
131
  * Contains absolute URLs to access the [participants](https://www.twilio.com/docs/conversations/api/conversation-participant-resource), [messages](https://www.twilio.com/docs/conversations/api/conversation-message-resource) and [webhooks](https://www.twilio.com/docs/conversations/api/conversation-scoped-webhook-resource) of this conversation.
132
132
  */
133
133
  links: Record<string, string>;
134
- bindings: Record<string, object>;
134
+ bindings: any;
135
135
  /**
136
136
  * An absolute API resource URL for this conversation.
137
137
  */
@@ -152,9 +152,9 @@ export declare class ConversationWithParticipantsInstance {
152
152
  state: ConversationWithParticipantsState;
153
153
  dateCreated: Date;
154
154
  dateUpdated: Date;
155
- timers: Record<string, object>;
155
+ timers: any;
156
156
  links: Record<string, string>;
157
- bindings: Record<string, object>;
157
+ bindings: any;
158
158
  url: string;
159
159
  };
160
160
  [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 V1 from "../V1";
6
+ /**
7
+ * The type of push-notification service the credential is for. Can be: `fcm`, `gcm`, or `apn`.
8
+ */
6
9
  export type CredentialPushType = "apn" | "gcm" | "fcm";
7
10
  /**
8
11
  * Options to pass to update a CredentialInstance
@@ -46,7 +49,7 @@ export interface CredentialListInstanceCreateOptions {
46
49
  * Options to pass to each
47
50
  */
48
51
  export interface CredentialListInstanceEachOptions {
49
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
52
+ /** How many resources to return in each list page. The default is 50, and the maximum is 100. */
50
53
  pageSize?: number;
51
54
  /** Function to process each record. If this and a positional callback are passed, this one will be used */
52
55
  callback?: (item: CredentialInstance, done: (err?: Error) => void) => void;
@@ -59,7 +62,7 @@ export interface CredentialListInstanceEachOptions {
59
62
  * Options to pass to list
60
63
  */
61
64
  export interface CredentialListInstanceOptions {
62
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
65
+ /** How many resources to return in each list page. The default is 50, and the maximum is 100. */
63
66
  pageSize?: number;
64
67
  /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
65
68
  limit?: number;
@@ -68,7 +71,7 @@ export interface CredentialListInstanceOptions {
68
71
  * Options to pass to page
69
72
  */
70
73
  export interface CredentialListInstancePageOptions {
71
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
74
+ /** How many resources to return in each list page. The default is 50, and the maximum is 100. */
72
75
  pageSize?: number;
73
76
  /** Page Number, this value is simply for client state */
74
77
  pageNumber?: number;
@@ -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 current state of this User Conversation. One of `inactive`, `active` or `closed`.
8
+ */
6
9
  export type ParticipantConversationState = "inactive" | "active" | "closed";
7
10
  /**
8
11
  * Options to pass to each
@@ -12,7 +15,7 @@ export interface ParticipantConversationListInstanceEachOptions {
12
15
  identity?: string;
13
16
  /** A unique string identifier for the conversation participant who\'s not a Conversation User. This parameter could be found in messaging_binding.address field of Participant resource. It should be url-encoded. */
14
17
  address?: string;
15
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
18
+ /** How many resources to return in each list page. The default is 50, and the maximum is 50. */
16
19
  pageSize?: number;
17
20
  /** Function to process each record. If this and a positional callback are passed, this one will be used */
18
21
  callback?: (item: ParticipantConversationInstance, done: (err?: Error) => void) => void;
@@ -29,7 +32,7 @@ export interface ParticipantConversationListInstanceOptions {
29
32
  identity?: string;
30
33
  /** A unique string identifier for the conversation participant who\'s not a Conversation User. This parameter could be found in messaging_binding.address field of Participant resource. It should be url-encoded. */
31
34
  address?: string;
32
- /** 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. The default is 50, and the maximum is 50. */
33
36
  pageSize?: number;
34
37
  /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
35
38
  limit?: number;
@@ -42,7 +45,7 @@ export interface ParticipantConversationListInstancePageOptions {
42
45
  identity?: string;
43
46
  /** A unique string identifier for the conversation participant who\'s not a Conversation User. This parameter could be found in messaging_binding.address field of Participant resource. It should be url-encoded. */
44
47
  address?: string;
45
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
48
+ /** How many resources to return in each list page. The default is 50, and the maximum is 50. */
46
49
  pageSize?: number;
47
50
  /** Page Number, this value is simply for client state */
48
51
  pageNumber?: number;
@@ -121,7 +124,7 @@ interface ParticipantConversationResource {
121
124
  participant_sid: string;
122
125
  participant_user_sid: string;
123
126
  participant_identity: string;
124
- participant_messaging_binding: Record<string, object>;
127
+ participant_messaging_binding: any;
125
128
  conversation_sid: string;
126
129
  conversation_unique_name: string;
127
130
  conversation_friendly_name: string;
@@ -130,7 +133,7 @@ interface ParticipantConversationResource {
130
133
  conversation_date_updated: Date;
131
134
  conversation_created_by: string;
132
135
  conversation_state: ParticipantConversationState;
133
- conversation_timers: Record<string, object>;
136
+ conversation_timers: any;
134
137
  links: Record<string, string>;
135
138
  }
136
139
  export declare class ParticipantConversationInstance {
@@ -159,7 +162,7 @@ export declare class ParticipantConversationInstance {
159
162
  /**
160
163
  * Information about how this participant exchanges messages with the conversation. A JSON parameter consisting of type and address fields of the participant.
161
164
  */
162
- participantMessagingBinding: Record<string, object>;
165
+ participantMessagingBinding: any;
163
166
  /**
164
167
  * The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) this Participant belongs to.
165
168
  */
@@ -192,7 +195,7 @@ export declare class ParticipantConversationInstance {
192
195
  /**
193
196
  * Timer date values representing state update for this conversation.
194
197
  */
195
- conversationTimers: Record<string, object>;
198
+ conversationTimers: any;
196
199
  /**
197
200
  * Contains absolute URLs to access the [participant](https://www.twilio.com/docs/conversations/api/conversation-participant-resource) and [conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) of this conversation.
198
201
  */
@@ -208,7 +211,7 @@ export declare class ParticipantConversationInstance {
208
211
  participantSid: string;
209
212
  participantUserSid: string;
210
213
  participantIdentity: string;
211
- participantMessagingBinding: Record<string, object>;
214
+ participantMessagingBinding: any;
212
215
  conversationSid: string;
213
216
  conversationUniqueName: string;
214
217
  conversationFriendlyName: string;
@@ -217,7 +220,7 @@ export declare class ParticipantConversationInstance {
217
220
  conversationDateUpdated: Date;
218
221
  conversationCreatedBy: string;
219
222
  conversationState: ParticipantConversationState;
220
- conversationTimers: Record<string, object>;
223
+ conversationTimers: any;
221
224
  links: Record<string, string>;
222
225
  };
223
226
  [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 V1 from "../V1";
6
+ /**
7
+ * The type of role. Can be: `conversation` for [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) roles or `service` for [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) roles.
8
+ */
6
9
  export type RoleRoleType = "conversation" | "service";
7
10
  /**
8
11
  * Options to pass to update a RoleInstance
@@ -26,7 +29,7 @@ export interface RoleListInstanceCreateOptions {
26
29
  * Options to pass to each
27
30
  */
28
31
  export interface RoleListInstanceEachOptions {
29
- /** 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 50. */
30
33
  pageSize?: number;
31
34
  /** Function to process each record. If this and a positional callback are passed, this one will be used */
32
35
  callback?: (item: RoleInstance, done: (err?: Error) => void) => void;
@@ -39,7 +42,7 @@ export interface RoleListInstanceEachOptions {
39
42
  * Options to pass to list
40
43
  */
41
44
  export interface RoleListInstanceOptions {
42
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
45
+ /** How many resources to return in each list page. The default is 50, and the maximum is 50. */
43
46
  pageSize?: number;
44
47
  /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
45
48
  limit?: number;
@@ -48,7 +51,7 @@ export interface RoleListInstanceOptions {
48
51
  * Options to pass to page
49
52
  */
50
53
  export interface RoleListInstancePageOptions {
51
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
54
+ /** How many resources to return in each list page. The default is 50, and the maximum is 50. */
52
55
  pageSize?: number;
53
56
  /** Page Number, this value is simply for client state */
54
57
  pageNumber?: number;
@@ -15,7 +15,7 @@ export interface BindingListInstanceEachOptions {
15
15
  bindingType?: Array<BindingBindingType>;
16
16
  /** The identity of a [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource) this binding belongs to. See [access tokens](https://www.twilio.com/docs/conversations/create-tokens) for more details. */
17
17
  identity?: Array<string>;
18
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
18
+ /** How many resources to return in each list page. The default is 50, and the maximum is 100. */
19
19
  pageSize?: number;
20
20
  /** Function to process each record. If this and a positional callback are passed, this one will be used */
21
21
  callback?: (item: BindingInstance, done: (err?: Error) => void) => void;
@@ -32,7 +32,7 @@ export interface BindingListInstanceOptions {
32
32
  bindingType?: Array<BindingBindingType>;
33
33
  /** The identity of a [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource) this binding belongs to. See [access tokens](https://www.twilio.com/docs/conversations/create-tokens) for more details. */
34
34
  identity?: Array<string>;
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. The default is 50, and the maximum is 100. */
36
36
  pageSize?: number;
37
37
  /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
38
38
  limit?: number;
@@ -45,7 +45,7 @@ export interface BindingListInstancePageOptions {
45
45
  bindingType?: Array<BindingBindingType>;
46
46
  /** The identity of a [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource) this binding belongs to. See [access tokens](https://www.twilio.com/docs/conversations/create-tokens) for more details. */
47
47
  identity?: Array<string>;
48
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
48
+ /** How many resources to return in each list page. The default is 50, and the maximum is 100. */
49
49
  pageSize?: number;
50
50
  /** Page Number, this value is simply for client state */
51
51
  pageNumber?: number;
@@ -85,9 +85,9 @@ export declare class NotificationContextImpl implements NotificationContext {
85
85
  interface NotificationResource {
86
86
  account_sid: string;
87
87
  chat_service_sid: string;
88
- new_message: Record<string, object>;
89
- added_to_conversation: Record<string, object>;
90
- removed_from_conversation: Record<string, object>;
88
+ new_message: any;
89
+ added_to_conversation: any;
90
+ removed_from_conversation: any;
91
91
  log_enabled: boolean;
92
92
  url: string;
93
93
  }
@@ -107,15 +107,15 @@ export declare class NotificationInstance {
107
107
  /**
108
108
  * The Push Notification configuration for New Messages.
109
109
  */
110
- newMessage: Record<string, object>;
110
+ newMessage: any;
111
111
  /**
112
112
  * The Push Notification configuration for being added to a Conversation.
113
113
  */
114
- addedToConversation: Record<string, object>;
114
+ addedToConversation: any;
115
115
  /**
116
116
  * The Push Notification configuration for being removed from a Conversation.
117
117
  */
118
- removedFromConversation: Record<string, object>;
118
+ removedFromConversation: any;
119
119
  /**
120
120
  * Weather the notification logging is enabled.
121
121
  */
@@ -158,9 +158,9 @@ export declare class NotificationInstance {
158
158
  toJSON(): {
159
159
  accountSid: string;
160
160
  chatServiceSid: string;
161
- newMessage: Record<string, object>;
162
- addedToConversation: Record<string, object>;
163
- removedFromConversation: Record<string, object>;
161
+ newMessage: any;
162
+ addedToConversation: any;
163
+ removedFromConversation: any;
164
164
  logEnabled: boolean;
165
165
  url: string;
166
166
  };
@@ -3,12 +3,15 @@ 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 message delivery status, can be `read`, `failed`, `delivered`, `undelivered`, `sent` or null.
8
+ */
6
9
  export type DeliveryReceiptDeliveryStatus = "read" | "failed" | "delivered" | "undelivered" | "sent";
7
10
  /**
8
11
  * Options to pass to each
9
12
  */
10
13
  export interface DeliveryReceiptListInstanceEachOptions {
11
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
14
+ /** How many resources to return in each list page. The default is 50, and the maximum is 50. */
12
15
  pageSize?: number;
13
16
  /** Function to process each record. If this and a positional callback are passed, this one will be used */
14
17
  callback?: (item: DeliveryReceiptInstance, done: (err?: Error) => void) => void;
@@ -21,7 +24,7 @@ export interface DeliveryReceiptListInstanceEachOptions {
21
24
  * Options to pass to list
22
25
  */
23
26
  export interface DeliveryReceiptListInstanceOptions {
24
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
27
+ /** How many resources to return in each list page. The default is 50, and the maximum is 50. */
25
28
  pageSize?: number;
26
29
  /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
27
30
  limit?: number;
@@ -30,7 +33,7 @@ export interface DeliveryReceiptListInstanceOptions {
30
33
  * Options to pass to page
31
34
  */
32
35
  export interface DeliveryReceiptListInstancePageOptions {
33
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
36
+ /** How many resources to return in each list page. The default is 50, and the maximum is 50. */
34
37
  pageSize?: number;
35
38
  /** Page Number, this value is simply for client state */
36
39
  pageNumber?: number;
@@ -63,7 +63,7 @@ export interface MessageListInstanceCreateOptions {
63
63
  export interface MessageListInstanceEachOptions {
64
64
  /** The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending), with `asc` as the default. */
65
65
  order?: MessageOrderType;
66
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
66
+ /** How many resources to return in each list page. The default is 50, and the maximum is 100. */
67
67
  pageSize?: number;
68
68
  /** Function to process each record. If this and a positional callback are passed, this one will be used */
69
69
  callback?: (item: MessageInstance, done: (err?: Error) => void) => void;
@@ -78,7 +78,7 @@ export interface MessageListInstanceEachOptions {
78
78
  export interface MessageListInstanceOptions {
79
79
  /** The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending), with `asc` as the default. */
80
80
  order?: MessageOrderType;
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. The default is 50, and the maximum is 100. */
82
82
  pageSize?: number;
83
83
  /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
84
84
  limit?: number;
@@ -89,7 +89,7 @@ export interface MessageListInstanceOptions {
89
89
  export interface MessageListInstancePageOptions {
90
90
  /** The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending), with `asc` as the default. */
91
91
  order?: MessageOrderType;
92
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
92
+ /** How many resources to return in each list page. The default is 50, and the maximum is 100. */
93
93
  pageSize?: number;
94
94
  /** Page Number, this value is simply for client state */
95
95
  pageNumber?: number;
@@ -180,12 +180,12 @@ interface MessageResource {
180
180
  index: number;
181
181
  author: string;
182
182
  body: string;
183
- media: Array<Record<string, object>>;
183
+ media: Array<any>;
184
184
  attributes: string;
185
185
  participant_sid: string;
186
186
  date_created: Date;
187
187
  date_updated: Date;
188
- delivery: Record<string, object>;
188
+ delivery: any;
189
189
  url: string;
190
190
  links: Record<string, string>;
191
191
  content_sid: string;
@@ -226,7 +226,7 @@ export declare class MessageInstance {
226
226
  /**
227
227
  * An array of objects that describe the Message\'s media, if the message contains media. Each object contains these fields: `content_type` with the MIME type of the media, `filename` with the name of the media, `sid` with the SID of the Media resource, and `size` with the media object\'s file size in bytes. If the Message has no media, this value is `null`.
228
228
  */
229
- media: Array<Record<string, object>>;
229
+ media: Array<any>;
230
230
  /**
231
231
  * A string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \"{}\" will be returned.
232
232
  */
@@ -246,7 +246,7 @@ export declare class MessageInstance {
246
246
  /**
247
247
  * An object that contains the summary of delivery statuses for the message to non-chat participants.
248
248
  */
249
- delivery: Record<string, object>;
249
+ delivery: any;
250
250
  /**
251
251
  * An absolute API resource URL for this message.
252
252
  */
@@ -319,12 +319,12 @@ export declare class MessageInstance {
319
319
  index: number;
320
320
  author: string;
321
321
  body: string;
322
- media: Record<string, object>[];
322
+ media: any[];
323
323
  attributes: string;
324
324
  participantSid: string;
325
325
  dateCreated: Date;
326
326
  dateUpdated: Date;
327
- delivery: Record<string, object>;
327
+ delivery: any;
328
328
  url: string;
329
329
  links: Record<string, string>;
330
330
  contentSid: string;
@@ -63,7 +63,7 @@ export interface ParticipantListInstanceCreateOptions {
63
63
  * Options to pass to each
64
64
  */
65
65
  export interface ParticipantListInstanceEachOptions {
66
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
66
+ /** How many resources to return in each list page. The default is 50, and the maximum is 100. */
67
67
  pageSize?: number;
68
68
  /** Function to process each record. If this and a positional callback are passed, this one will be used */
69
69
  callback?: (item: ParticipantInstance, done: (err?: Error) => void) => void;
@@ -76,7 +76,7 @@ export interface ParticipantListInstanceEachOptions {
76
76
  * Options to pass to list
77
77
  */
78
78
  export interface ParticipantListInstanceOptions {
79
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
79
+ /** How many resources to return in each list page. The default is 50, and the maximum is 100. */
80
80
  pageSize?: number;
81
81
  /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
82
82
  limit?: number;
@@ -85,7 +85,7 @@ export interface ParticipantListInstanceOptions {
85
85
  * Options to pass to page
86
86
  */
87
87
  export interface ParticipantListInstancePageOptions {
88
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
88
+ /** How many resources to return in each list page. The default is 50, and the maximum is 100. */
89
89
  pageSize?: number;
90
90
  /** Page Number, this value is simply for client state */
91
91
  pageNumber?: number;
@@ -172,7 +172,7 @@ interface ParticipantResource {
172
172
  sid: string;
173
173
  identity: string;
174
174
  attributes: string;
175
- messaging_binding: Record<string, object>;
175
+ messaging_binding: any;
176
176
  role_sid: string;
177
177
  date_created: Date;
178
178
  date_updated: Date;
@@ -212,7 +212,7 @@ export declare class ParticipantInstance {
212
212
  /**
213
213
  * Information about how this participant exchanges messages with the conversation. A JSON parameter consisting of type and address fields of the participant.
214
214
  */
215
- messagingBinding: Record<string, object>;
215
+ messagingBinding: any;
216
216
  /**
217
217
  * The SID of a conversation-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) to assign to the participant.
218
218
  */
@@ -292,7 +292,7 @@ export declare class ParticipantInstance {
292
292
  sid: string;
293
293
  identity: string;
294
294
  attributes: string;
295
- messagingBinding: Record<string, object>;
295
+ messagingBinding: any;
296
296
  roleSid: string;
297
297
  dateCreated: Date;
298
298
  dateUpdated: Date;
@@ -3,7 +3,7 @@ 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
- export type WebhookMethod = "GET" | "POST";
6
+ export type WebhookMethod = "get" | "post";
7
7
  /**
8
8
  * The target of this webhook: `webhook`, `studio`, `trigger`
9
9
  */
@@ -46,7 +46,7 @@ export interface WebhookListInstanceCreateOptions {
46
46
  * Options to pass to each
47
47
  */
48
48
  export interface WebhookListInstanceEachOptions {
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. The default is 5, and the maximum is 5. */
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: WebhookInstance, done: (err?: Error) => void) => void;
@@ -59,7 +59,7 @@ export interface WebhookListInstanceEachOptions {
59
59
  * Options to pass to list
60
60
  */
61
61
  export interface WebhookListInstanceOptions {
62
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
62
+ /** How many resources to return in each list page. The default is 5, and the maximum is 5. */
63
63
  pageSize?: number;
64
64
  /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
65
65
  limit?: number;
@@ -68,7 +68,7 @@ export interface WebhookListInstanceOptions {
68
68
  * Options to pass to page
69
69
  */
70
70
  export interface WebhookListInstancePageOptions {
71
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
71
+ /** How many resources to return in each list page. The default is 5, and the maximum is 5. */
72
72
  pageSize?: number;
73
73
  /** Page Number, this value is simply for client state */
74
74
  pageNumber?: number;
@@ -146,7 +146,7 @@ interface WebhookResource {
146
146
  conversation_sid: string;
147
147
  target: string;
148
148
  url: string;
149
- configuration: Record<string, object>;
149
+ configuration: any;
150
150
  date_created: Date;
151
151
  date_updated: Date;
152
152
  }
@@ -182,7 +182,7 @@ export declare class WebhookInstance {
182
182
  /**
183
183
  * The configuration of this webhook. Is defined based on target.
184
184
  */
185
- configuration: Record<string, object>;
185
+ configuration: any;
186
186
  /**
187
187
  * The date that this resource was created.
188
188
  */
@@ -237,7 +237,7 @@ export declare class WebhookInstance {
237
237
  conversationSid: string;
238
238
  target: string;
239
239
  url: string;
240
- configuration: Record<string, object>;
240
+ configuration: any;
241
241
  dateCreated: Date;
242
242
  dateUpdated: Date;
243
243
  };
@@ -86,7 +86,7 @@ export interface ConversationListInstanceEachOptions {
86
86
  endDate?: string;
87
87
  /** State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed` */
88
88
  state?: ConversationState;
89
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
89
+ /** How many resources to return in each list page. The default is 50, and the maximum is 100. */
90
90
  pageSize?: number;
91
91
  /** Function to process each record. If this and a positional callback are passed, this one will be used */
92
92
  callback?: (item: ConversationInstance, done: (err?: Error) => void) => void;
@@ -105,7 +105,7 @@ export interface ConversationListInstanceOptions {
105
105
  endDate?: string;
106
106
  /** State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed` */
107
107
  state?: ConversationState;
108
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
108
+ /** How many resources to return in each list page. The default is 50, and the maximum is 100. */
109
109
  pageSize?: number;
110
110
  /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
111
111
  limit?: number;
@@ -120,7 +120,7 @@ export interface ConversationListInstancePageOptions {
120
120
  endDate?: string;
121
121
  /** State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed` */
122
122
  state?: ConversationState;
123
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
123
+ /** How many resources to return in each list page. The default is 50, and the maximum is 100. */
124
124
  pageSize?: number;
125
125
  /** Page Number, this value is simply for client state */
126
126
  pageNumber?: number;
@@ -219,10 +219,10 @@ interface ConversationResource {
219
219
  state: ConversationState;
220
220
  date_created: Date;
221
221
  date_updated: Date;
222
- timers: Record<string, object>;
222
+ timers: any;
223
223
  url: string;
224
224
  links: Record<string, string>;
225
- bindings: Record<string, object>;
225
+ bindings: any;
226
226
  }
227
227
  export declare class ConversationInstance {
228
228
  protected _version: V1;
@@ -269,7 +269,7 @@ export declare class ConversationInstance {
269
269
  /**
270
270
  * Timer date values representing state update for this conversation.
271
271
  */
272
- timers: Record<string, object>;
272
+ timers: any;
273
273
  /**
274
274
  * An absolute API resource URL for this conversation.
275
275
  */
@@ -278,7 +278,7 @@ export declare class ConversationInstance {
278
278
  * Contains absolute URLs to access the [participants](https://www.twilio.com/docs/conversations/api/conversation-participant-resource), [messages](https://www.twilio.com/docs/conversations/api/conversation-message-resource) and [webhooks](https://www.twilio.com/docs/conversations/api/conversation-scoped-webhook-resource) of this conversation.
279
279
  */
280
280
  links: Record<string, string>;
281
- bindings: Record<string, object>;
281
+ bindings: any;
282
282
  private get _proxy();
283
283
  /**
284
284
  * Remove a ConversationInstance
@@ -350,10 +350,10 @@ export declare class ConversationInstance {
350
350
  state: ConversationState;
351
351
  dateCreated: Date;
352
352
  dateUpdated: Date;
353
- timers: Record<string, object>;
353
+ timers: any;
354
354
  url: string;
355
355
  links: Record<string, string>;
356
- bindings: Record<string, object>;
356
+ bindings: any;
357
357
  };
358
358
  [inspect.custom](_depth: any, options: InspectOptions): string;
359
359
  }