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
@@ -16,6 +16,8 @@ export interface DestinationAlphaSenderListInstanceCreateOptions {
16
16
  * Options to pass to each
17
17
  */
18
18
  export interface DestinationAlphaSenderListInstanceEachOptions {
19
+ /** Optional filter to return only alphanumeric sender IDs associated with the specified two-character ISO country code. */
20
+ isoCountryCode?: string;
19
21
  /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
20
22
  pageSize?: number;
21
23
  /** Function to process each record. If this and a positional callback are passed, this one will be used */
@@ -29,6 +31,8 @@ export interface DestinationAlphaSenderListInstanceEachOptions {
29
31
  * Options to pass to list
30
32
  */
31
33
  export interface DestinationAlphaSenderListInstanceOptions {
34
+ /** Optional filter to return only alphanumeric sender IDs associated with the specified two-character ISO country code. */
35
+ isoCountryCode?: string;
32
36
  /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
33
37
  pageSize?: number;
34
38
  /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
@@ -38,6 +42,8 @@ export interface DestinationAlphaSenderListInstanceOptions {
38
42
  * Options to pass to page
39
43
  */
40
44
  export interface DestinationAlphaSenderListInstancePageOptions {
45
+ /** Optional filter to return only alphanumeric sender IDs associated with the specified two-character ISO country code. */
46
+ isoCountryCode?: string;
41
47
  /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
42
48
  pageSize?: number;
43
49
  /** Page Number, this value is simply for client state */
@@ -178,6 +178,8 @@ function DestinationAlphaSenderListInstance(version, serviceSid) {
178
178
  params = params || {};
179
179
  }
180
180
  let data = {};
181
+ if (params["isoCountryCode"] !== undefined)
182
+ data["IsoCountryCode"] = params["isoCountryCode"];
181
183
  if (params["pageSize"] !== undefined)
182
184
  data["PageSize"] = params["pageSize"];
183
185
  if (params.pageNumber !== undefined)
@@ -42,7 +42,7 @@ export interface ServiceContextUpdateOptions {
42
42
  fallbackToLongCode?: boolean;
43
43
  /** Whether to enable [Area Code Geomatch](https://www.twilio.com/docs/messaging/services#area-code-geomatch) on the Service Instance. */
44
44
  areaCodeGeomatch?: boolean;
45
- /** How long, in seconds, messages sent from the Service are valid. Can be an integer from `1` to `14,400`. Default value is `14,400`. */
45
+ /** How long, in seconds, messages sent from the Service are valid. Can be an integer from `1` to `36,000`. Default value is `36,000`. */
46
46
  validityPeriod?: number;
47
47
  /** Reserved. */
48
48
  synchronousValidation?: boolean;
@@ -79,7 +79,7 @@ export interface ServiceListInstanceCreateOptions {
79
79
  fallbackToLongCode?: boolean;
80
80
  /** Whether to enable [Area Code Geomatch](https://www.twilio.com/docs/messaging/services#area-code-geomatch) on the Service Instance. */
81
81
  areaCodeGeomatch?: boolean;
82
- /** How long, in seconds, messages sent from the Service are valid. Can be an integer from `1` to `14,400`. Default value is `14,400`. */
82
+ /** How long, in seconds, messages sent from the Service are valid. Can be an integer from `1` to `36,000`. Default value is `36,000`. */
83
83
  validityPeriod?: number;
84
84
  /** Reserved. */
85
85
  synchronousValidation?: boolean;
@@ -300,7 +300,7 @@ export declare class ServiceInstance {
300
300
  */
301
301
  synchronousValidation: boolean;
302
302
  /**
303
- * How long, in seconds, messages sent from the Service are valid. Can be an integer from `1` to `14,400`. Default value is `14,400`.
303
+ * How long, in seconds, messages sent from the Service are valid. Can be an integer from `1` to `36,000`. Default value is `36,000`.
304
304
  */
305
305
  validityPeriod: number;
306
306
  /**
@@ -43,7 +43,7 @@ export declare class MessagingV2ChannelsSenderOfflineReasonsItems {
43
43
  "more_info"?: string | null;
44
44
  }
45
45
  /**
46
- * Sender profile specific configurations, e.g., {\"name\": \"xxx\", \"about\": \"xxx\", \"address\": \"xxx\", \"description\": \"xxx\", \"email\": \"xxx@xxx\", \"logo_url\": \"https://xxx\", \"vertical\": \"xxx\", \"websites\": [\"https://xxx\", \"...\"]}
46
+ * Sender profile specific configurations, e.g., {\"name\": \"xxx\", \"about\": \"xxx\", \"address\": \"xxx\", \"description\": \"xxx\", \"emails\": \"xxx@xxx\", \"logo_url\": \"https://xxx\", \"vertical\": \"xxx\", \"websites\": [\"https://xxx\", \"...\"]}
47
47
  */
48
48
  export declare class MessagingV2ChannelsSenderProfile {
49
49
  /**
@@ -79,6 +79,51 @@ export declare class MessagingV2ChannelsSenderProfile {
79
79
  */
80
80
  "websites"?: any | null;
81
81
  }
82
+ /**
83
+ * Sender profile specific configurations for create and update request, e.g., {\"name\": \"xxx\", \"about\": \"xxx\", \"address\": \"xxx\", \"description\": \"xxx\", \"emails\": [{\"label\": \"email 1\", \"email\": \"xxx@xxx\"}], \"logo_url\": \"https://xxx\", \"vertical\": \"xxx\", \"websites\": [{\"label\": \"email 1\", \"website\": \"https://xxx\"}]}
84
+ */
85
+ export declare class MessagingV2ChannelsSenderProfileResponse {
86
+ /**
87
+ * The name of the sender.
88
+ */
89
+ "name"?: string | null;
90
+ /**
91
+ * The about text of the sender.
92
+ */
93
+ "about"?: string | null;
94
+ /**
95
+ * The address of the sender.
96
+ */
97
+ "address"?: string | null;
98
+ /**
99
+ * The description of the sender.
100
+ */
101
+ "description"?: string | null;
102
+ /**
103
+ * The emails of the sender.
104
+ */
105
+ "emails"?: Array<MessagingV2ChannelsSenderProfileResponseEmails> | null;
106
+ /**
107
+ * The logo URL of the sender.
108
+ */
109
+ "logo_url"?: string | null;
110
+ /**
111
+ * The vertical of the sender. Allowed values are: - \"Automotive\" - \"Beauty, Spa and Salon\" - \"Clothing and Apparel\" - \"Education\" - \"Entertainment\" - \"Event Planning and Service\" - \"Finance and Banking\" - \"Food and Grocery\" - \"Public Service\" - \"Hotel and Lodging\" - \"Medical and Health\" - \"Non-profit\" - \"Professional Services\" - \"Shopping and Retail\" - \"Travel and Transportation\" - \"Restaurant\" - \"Other\"
112
+ */
113
+ "vertical"?: string | null;
114
+ /**
115
+ * The websites of the sender.
116
+ */
117
+ "websites"?: Array<MessagingV2ChannelsSenderProfileResponseWebsites> | null;
118
+ }
119
+ export declare class MessagingV2ChannelsSenderProfileResponseEmails {
120
+ "email"?: string;
121
+ "label"?: string;
122
+ }
123
+ export declare class MessagingV2ChannelsSenderProfileResponseWebsites {
124
+ "website"?: string;
125
+ "label"?: string;
126
+ }
82
127
  /**
83
128
  * Sender specific additional properties, e.g., {\"quality_rating\": \"HIGH\", \"messaging_limit\": \"10K Customers/24hr\"}
84
129
  */
@@ -257,7 +302,7 @@ interface ChannelsSenderResource {
257
302
  sender_id: string;
258
303
  configuration: MessagingV2ChannelsSenderConfiguration;
259
304
  webhook: MessagingV2ChannelsSenderWebhook;
260
- profile: MessagingV2ChannelsSenderProfile;
305
+ profile: MessagingV2ChannelsSenderProfileResponse;
261
306
  properties: MessagingV2ChannelsSenderProperties;
262
307
  offline_reasons: Array<MessagingV2ChannelsSenderOfflineReasonsItems>;
263
308
  url: string;
@@ -278,7 +323,7 @@ export declare class ChannelsSenderInstance {
278
323
  senderId: string;
279
324
  configuration: MessagingV2ChannelsSenderConfiguration;
280
325
  webhook: MessagingV2ChannelsSenderWebhook;
281
- profile: MessagingV2ChannelsSenderProfile;
326
+ profile: MessagingV2ChannelsSenderProfileResponse;
282
327
  properties: MessagingV2ChannelsSenderProperties;
283
328
  /**
284
329
  * Reasons why the sender is offline., e.g., [{\"code\": \"21211400\", \"message\": \"Whatsapp business account is banned by provider {provider_name} | Credit line is assigned to another BSP\", \"more_info\": \"https://www.twilio.com/docs/errors/21211400\"}]
@@ -334,7 +379,7 @@ export declare class ChannelsSenderInstance {
334
379
  senderId: string;
335
380
  configuration: MessagingV2ChannelsSenderConfiguration;
336
381
  webhook: MessagingV2ChannelsSenderWebhook;
337
- profile: MessagingV2ChannelsSenderProfile;
382
+ profile: MessagingV2ChannelsSenderProfileResponse;
338
383
  properties: MessagingV2ChannelsSenderProperties;
339
384
  offlineReasons: MessagingV2ChannelsSenderOfflineReasonsItems[];
340
385
  url: string;
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
16
16
  return (mod && mod.__esModule) ? mod : { "default": mod };
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.ChannelsSenderPage = exports.ChannelsSenderListInstance = exports.ChannelsSenderInstance = exports.ChannelsSenderContextImpl = exports.MessagingV2ChannelsSenderWebhook = exports.MessagingV2ChannelsSenderRequestsUpdate = exports.MessagingV2ChannelsSenderRequestsCreate = exports.MessagingV2ChannelsSenderProperties = exports.MessagingV2ChannelsSenderProfile = exports.MessagingV2ChannelsSenderOfflineReasonsItems = exports.MessagingV2ChannelsSenderConfiguration = void 0;
19
+ exports.ChannelsSenderPage = exports.ChannelsSenderListInstance = exports.ChannelsSenderInstance = exports.ChannelsSenderContextImpl = exports.MessagingV2ChannelsSenderWebhook = exports.MessagingV2ChannelsSenderRequestsUpdate = exports.MessagingV2ChannelsSenderRequestsCreate = exports.MessagingV2ChannelsSenderProperties = exports.MessagingV2ChannelsSenderProfileResponseWebsites = exports.MessagingV2ChannelsSenderProfileResponseEmails = exports.MessagingV2ChannelsSenderProfileResponse = exports.MessagingV2ChannelsSenderProfile = exports.MessagingV2ChannelsSenderOfflineReasonsItems = exports.MessagingV2ChannelsSenderConfiguration = void 0;
20
20
  const util_1 = require("util");
21
21
  const Page_1 = __importDefault(require("../../../base/Page"));
22
22
  const deserialize = require("../../../base/deserialize");
@@ -32,11 +32,23 @@ class MessagingV2ChannelsSenderOfflineReasonsItems {
32
32
  }
33
33
  exports.MessagingV2ChannelsSenderOfflineReasonsItems = MessagingV2ChannelsSenderOfflineReasonsItems;
34
34
  /**
35
- * Sender profile specific configurations, e.g., {\"name\": \"xxx\", \"about\": \"xxx\", \"address\": \"xxx\", \"description\": \"xxx\", \"email\": \"xxx@xxx\", \"logo_url\": \"https://xxx\", \"vertical\": \"xxx\", \"websites\": [\"https://xxx\", \"...\"]}
35
+ * Sender profile specific configurations, e.g., {\"name\": \"xxx\", \"about\": \"xxx\", \"address\": \"xxx\", \"description\": \"xxx\", \"emails\": \"xxx@xxx\", \"logo_url\": \"https://xxx\", \"vertical\": \"xxx\", \"websites\": [\"https://xxx\", \"...\"]}
36
36
  */
37
37
  class MessagingV2ChannelsSenderProfile {
38
38
  }
39
39
  exports.MessagingV2ChannelsSenderProfile = MessagingV2ChannelsSenderProfile;
40
+ /**
41
+ * Sender profile specific configurations for create and update request, e.g., {\"name\": \"xxx\", \"about\": \"xxx\", \"address\": \"xxx\", \"description\": \"xxx\", \"emails\": [{\"label\": \"email 1\", \"email\": \"xxx@xxx\"}], \"logo_url\": \"https://xxx\", \"vertical\": \"xxx\", \"websites\": [{\"label\": \"email 1\", \"website\": \"https://xxx\"}]}
42
+ */
43
+ class MessagingV2ChannelsSenderProfileResponse {
44
+ }
45
+ exports.MessagingV2ChannelsSenderProfileResponse = MessagingV2ChannelsSenderProfileResponse;
46
+ class MessagingV2ChannelsSenderProfileResponseEmails {
47
+ }
48
+ exports.MessagingV2ChannelsSenderProfileResponseEmails = MessagingV2ChannelsSenderProfileResponseEmails;
49
+ class MessagingV2ChannelsSenderProfileResponseWebsites {
50
+ }
51
+ exports.MessagingV2ChannelsSenderProfileResponseWebsites = MessagingV2ChannelsSenderProfileResponseWebsites;
40
52
  /**
41
53
  * Sender specific additional properties, e.g., {\"quality_rating\": \"HIGH\", \"messaging_limit\": \"10K Customers/24hr\"}
42
54
  */
@@ -112,7 +112,7 @@ interface EventResource {
112
112
  actor_sid: string;
113
113
  actor_type: string;
114
114
  description: string;
115
- event_data: Record<string, object>;
115
+ event_data: any;
116
116
  event_date: Date;
117
117
  event_type: string;
118
118
  resource_sid: string;
@@ -147,7 +147,7 @@ export declare class EventInstance {
147
147
  /**
148
148
  * An object with additional data about the event. The contents depend on `event_type`. For example, event-types of the form `RESOURCE.updated`, this value contains a `resource_properties` dictionary that describes the previous and updated properties of the resource.
149
149
  */
150
- eventData: Record<string, object>;
150
+ eventData: any;
151
151
  /**
152
152
  * The date and time in GMT when the event was recorded specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
153
153
  */
@@ -203,7 +203,7 @@ export declare class EventInstance {
203
203
  actorSid: string;
204
204
  actorType: string;
205
205
  description: string;
206
- eventData: Record<string, object>;
206
+ eventData: any;
207
207
  eventDate: Date;
208
208
  eventType: string;
209
209
  resourceSid: 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 Credential type. 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
@@ -22,21 +22,21 @@ export interface NotificationListInstanceCreateOptions {
22
22
  /** The actions to display for the notification. For APNS, translates to the `aps.category` value. For GCM, translates to the `data.twi_action` value. For SMS, this parameter is not supported and is omitted from deliveries to those channels. */
23
23
  action?: string;
24
24
  /** The custom key-value pairs of the notification\\\'s payload. For FCM and GCM, this value translates to `data` in the FCM and GCM payloads. FCM and GCM [reserve certain keys](https://firebase.google.com/docs/cloud-messaging/http-server-ref) that cannot be used in those channels. For APNS, attributes of `data` are inserted into the APNS payload as custom properties outside of the `aps` dictionary. In all channels, we reserve keys that start with `twi_` for future use. Custom keys that start with `twi_` are not allowed and are rejected as 400 Bad request with no delivery attempted. For SMS, this parameter is not supported and is omitted from deliveries to those channels. */
25
- data?: object;
25
+ data?: any;
26
26
  /** The APNS-specific payload that overrides corresponding attributes in the generic payload for APNS Bindings. This property maps to the APNS `Payload` item, therefore the `aps` key must be used to change standard attributes. Adds custom key-value pairs to the root of the dictionary. See the [APNS documentation](https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingwithAPNs.html) for more details. We reserve keys that start with `twi_` for future use. Custom keys that start with `twi_` are not allowed. */
27
- apn?: object;
27
+ apn?: any;
28
28
  /** The GCM-specific payload that overrides corresponding attributes in the generic payload for GCM Bindings. This property maps to the root JSON dictionary. See the [GCM documentation](https://firebase.google.com/docs/cloud-messaging/http-server-ref) for more details. Target parameters `to`, `registration_ids`, and `notification_key` are not allowed. We reserve keys that start with `twi_` for future use. Custom keys that start with `twi_` are not allowed. GCM also [reserves certain keys](https://firebase.google.com/docs/cloud-messaging/http-server-ref). */
29
- gcm?: object;
29
+ gcm?: any;
30
30
  /** The SMS-specific payload that overrides corresponding attributes in the generic payload for SMS Bindings. Each attribute in this value maps to the corresponding `form` parameter of the Twilio [Message](https://www.twilio.com/docs/sms/quickstart) resource. These parameters of the Message resource are supported in snake case format: `body`, `media_urls`, `status_callback`, and `max_price`. The `status_callback` parameter overrides the corresponding parameter in the messaging service, if configured. The `media_urls` property expects a JSON array. */
31
- sms?: object;
31
+ sms?: any;
32
32
  /** Deprecated. */
33
- facebookMessenger?: object;
33
+ facebookMessenger?: any;
34
34
  /** The FCM-specific payload that overrides corresponding attributes in the generic payload for FCM Bindings. This property maps to the root JSON dictionary. See the [FCM documentation](https://firebase.google.com/docs/cloud-messaging/http-server-ref#downstream) for more details. Target parameters `to`, `registration_ids`, `condition`, and `notification_key` are not allowed in this parameter. We reserve keys that start with `twi_` for future use. Custom keys that start with `twi_` are not allowed. FCM also [reserves certain keys](https://firebase.google.com/docs/cloud-messaging/http-server-ref), which cannot be used in that channel. */
35
- fcm?: object;
35
+ fcm?: any;
36
36
  /** The Segment resource is deprecated. Use the `tag` parameter, instead. */
37
37
  segment?: Array<string>;
38
38
  /** Deprecated. */
39
- alexa?: object;
39
+ alexa?: any;
40
40
  /** The destination address specified as a JSON string. Multiple `to_binding` parameters can be included but the total size of the request entity should not exceed 1MB. This is typically sufficient for 10,000 phone numbers. */
41
41
  toBinding?: Array<string>;
42
42
  /** URL to send webhooks. */
@@ -91,13 +91,13 @@ interface NotificationResource {
91
91
  body: string;
92
92
  sound: string;
93
93
  action: string;
94
- data: Record<string, object>;
95
- apn: Record<string, object>;
96
- gcm: Record<string, object>;
97
- fcm: Record<string, object>;
98
- sms: Record<string, object>;
99
- facebook_messenger: Record<string, object>;
100
- alexa: Record<string, object>;
94
+ data: any;
95
+ apn: any;
96
+ gcm: any;
97
+ fcm: any;
98
+ sms: any;
99
+ facebook_messenger: any;
100
+ alexa: any;
101
101
  }
102
102
  export declare class NotificationInstance {
103
103
  protected _version: V1;
@@ -154,31 +154,31 @@ export declare class NotificationInstance {
154
154
  /**
155
155
  * The custom key-value pairs of the notification\'s payload. For FCM and GCM, this value translates to `data` in the FCM and GCM payloads. FCM and GCM [reserve certain keys](https://firebase.google.com/docs/cloud-messaging/http-server-ref) that cannot be used in those channels. For APNS, attributes of `data` are inserted into the APNS payload as custom properties outside of the `aps` dictionary. In all channels, we reserve keys that start with `twi_` for future use. Custom keys that start with `twi_` are not allowed and are rejected as 400 Bad request with no delivery attempted. For SMS, this parameter is not supported and is omitted from deliveries to those channels.
156
156
  */
157
- data: Record<string, object>;
157
+ data: any;
158
158
  /**
159
159
  * The APNS-specific payload that overrides corresponding attributes in the generic payload for APNS Bindings. This property maps to the APNS `Payload` item, therefore the `aps` key must be used to change standard attributes. Adds custom key-value pairs to the root of the dictionary. See the [APNS documentation](https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingwithAPNs.html) for more details. We reserve keys that start with `twi_` for future use. Custom keys that start with `twi_` are not allowed.
160
160
  */
161
- apn: Record<string, object>;
161
+ apn: any;
162
162
  /**
163
163
  * The GCM-specific payload that overrides corresponding attributes in the generic payload for GCM Bindings. This property maps to the root JSON dictionary. Target parameters `to`, `registration_ids`, and `notification_key` are not allowed. We reserve keys that start with `twi_` for future use. Custom keys that start with `twi_` are not allowed.
164
164
  */
165
- gcm: Record<string, object>;
165
+ gcm: any;
166
166
  /**
167
167
  * The FCM-specific payload that overrides corresponding attributes in the generic payload for FCM Bindings. This property maps to the root JSON dictionary. See the [FCM documentation](https://firebase.google.com/docs/cloud-messaging/http-server-ref#downstream) for more details. Target parameters `to`, `registration_ids`, `condition`, and `notification_key` are not allowed in this parameter. We reserve keys that start with `twi_` for future use. Custom keys that start with `twi_` are not allowed. FCM also [reserves certain keys](https://firebase.google.com/docs/cloud-messaging/http-server-ref), which cannot be used in that channel.
168
168
  */
169
- fcm: Record<string, object>;
169
+ fcm: any;
170
170
  /**
171
171
  * The SMS-specific payload that overrides corresponding attributes in the generic payload for SMS Bindings. Each attribute in this value maps to the corresponding `form` parameter of the Twilio [Message](https://www.twilio.com/docs/sms/api/message-resource) resource. These parameters of the Message resource are supported in snake case format: `body`, `media_urls`, `status_callback`, and `max_price`. The `status_callback` parameter overrides the corresponding parameter in the messaging service, if configured. The `media_urls` property expects a JSON array.
172
172
  */
173
- sms: Record<string, object>;
173
+ sms: any;
174
174
  /**
175
175
  * Deprecated.
176
176
  */
177
- facebookMessenger: Record<string, object>;
177
+ facebookMessenger: any;
178
178
  /**
179
179
  * Deprecated.
180
180
  */
181
- alexa: Record<string, object>;
181
+ alexa: any;
182
182
  /**
183
183
  * Provide a user-friendly representation
184
184
  *
@@ -198,13 +198,13 @@ export declare class NotificationInstance {
198
198
  body: string;
199
199
  sound: string;
200
200
  action: string;
201
- data: Record<string, object>;
202
- apn: Record<string, object>;
203
- gcm: Record<string, object>;
204
- fcm: Record<string, object>;
205
- sms: Record<string, object>;
206
- facebookMessenger: Record<string, object>;
207
- alexa: Record<string, object>;
201
+ data: any;
202
+ apn: any;
203
+ gcm: any;
204
+ fcm: any;
205
+ sms: any;
206
+ facebookMessenger: any;
207
+ alexa: any;
208
208
  };
209
209
  [inspect.custom](_depth: any, options: InspectOptions): string;
210
210
  }
@@ -43,7 +43,7 @@ export declare class BulkEligibilityContextImpl implements BulkEligibilityContex
43
43
  interface BulkEligibilityResource {
44
44
  request_id: string;
45
45
  url: string;
46
- results: Array<Record<string, object>>;
46
+ results: Array<any>;
47
47
  friendly_name: string;
48
48
  status: string;
49
49
  date_created: Date;
@@ -65,7 +65,7 @@ export declare class BulkEligibilityInstance {
65
65
  /**
66
66
  * The result set that contains the eligibility check response for each requested number, each result has at least the following attributes: phone_number: The requested phone number ,hosting_account_sid: The account sid where the phone number will be hosted, country: Phone number’s country, eligibility_status: Indicates the eligibility status of the PN (Eligible/Ineligible), eligibility_sub_status: Indicates the sub status of the eligibility , ineligibility_reason: Reason for number\'s ineligibility (if applicable), next_step: Suggested next step in the hosting process based on the eligibility status.
67
67
  */
68
- results: Array<Record<string, object>>;
68
+ results: Array<any>;
69
69
  /**
70
70
  * This is the string that you assigned as a friendly name for describing the eligibility check request.
71
71
  */
@@ -93,7 +93,7 @@ export declare class BulkEligibilityInstance {
93
93
  toJSON(): {
94
94
  requestId: string;
95
95
  url: string;
96
- results: Record<string, object>[];
96
+ results: any[];
97
97
  friendlyName: string;
98
98
  status: string;
99
99
  dateCreated: Date;
@@ -40,7 +40,7 @@ export interface EligibilityListInstance {
40
40
  }
41
41
  export declare function EligibilityListInstance(version: V1): EligibilityListInstance;
42
42
  interface EligibilityResource {
43
- results: Array<Record<string, object>>;
43
+ results: Array<any>;
44
44
  }
45
45
  export declare class EligibilityInstance {
46
46
  protected _version: V1;
@@ -48,14 +48,14 @@ export declare class EligibilityInstance {
48
48
  /**
49
49
  * The result set that contains the eligibility check response for the requested number, each result has at least the following attributes: phone_number: The requested phone number ,hosting_account_sid: The account sid where the phone number will be hosted, date_last_checked: Datetime (ISO 8601) when the PN was last checked for eligibility, country: Phone number’s country, eligibility_status: Indicates the eligibility status of the PN (Eligible/Ineligible), eligibility_sub_status: Indicates the sub status of the eligibility , ineligibility_reason: Reason for number\'s ineligibility (if applicable), next_step: Suggested next step in the hosting process based on the eligibility status.
50
50
  */
51
- results: Array<Record<string, object>>;
51
+ results: Array<any>;
52
52
  /**
53
53
  * Provide a user-friendly representation
54
54
  *
55
55
  * @returns Object
56
56
  */
57
57
  toJSON(): {
58
- results: Record<string, object>[];
58
+ results: any[];
59
59
  };
60
60
  [inspect.custom](_depth: any, options: InspectOptions): string;
61
61
  }
@@ -58,8 +58,8 @@ interface PortingPortInResource {
58
58
  target_port_in_time_range_start: string;
59
59
  target_port_in_time_range_end: string;
60
60
  port_in_request_status: string;
61
- losing_carrier_information: Record<string, object>;
62
- phone_numbers: Array<Record<string, object>>;
61
+ losing_carrier_information: any;
62
+ phone_numbers: Array<any>;
63
63
  documents: Array<string>;
64
64
  date_created: Date;
65
65
  }
@@ -103,8 +103,8 @@ export declare class PortingPortInInstance {
103
103
  /**
104
104
  * Details regarding the customer’s information with the losing carrier. These values will be used to generate the letter of authorization and should match the losing carrier’s data as closely as possible to ensure the port is accepted.
105
105
  */
106
- losingCarrierInformation: Record<string, object>;
107
- phoneNumbers: Array<Record<string, object>>;
106
+ losingCarrierInformation: any;
107
+ phoneNumbers: Array<any>;
108
108
  /**
109
109
  * List of document SIDs for all phone numbers included in the port in request. At least one document SID referring to a document of the type Utility Bill is required.
110
110
  */
@@ -141,8 +141,8 @@ export declare class PortingPortInInstance {
141
141
  targetPortInTimeRangeStart: string;
142
142
  targetPortInTimeRangeEnd: string;
143
143
  portInRequestStatus: string;
144
- losingCarrierInformation: Record<string, object>;
145
- phoneNumbers: Record<string, object>[];
144
+ losingCarrierInformation: any;
145
+ phoneNumbers: any[];
146
146
  documents: string[];
147
147
  dateCreated: Date;
148
148
  };
@@ -69,7 +69,7 @@ interface BulkHostedNumberOrderResource {
69
69
  date_completed: Date;
70
70
  url: string;
71
71
  total_count: number;
72
- results: Array<Record<string, object>>;
72
+ results: Array<any>;
73
73
  }
74
74
  export declare class BulkHostedNumberOrderInstance {
75
75
  protected _version: V2;
@@ -108,7 +108,7 @@ export declare class BulkHostedNumberOrderInstance {
108
108
  /**
109
109
  * Contains a list of all the individual hosting orders and their information, for this Bulk request. Each result object is grouped by its order status. To see a complete list of order status, please check \'https://www.twilio.com/docs/phone-numbers/hosted-numbers/hosted-numbers-api/hosted-number-order-resource#status-values\'.
110
110
  */
111
- results: Array<Record<string, object>>;
111
+ results: Array<any>;
112
112
  private get _proxy();
113
113
  /**
114
114
  * Fetch a BulkHostedNumberOrderInstance
@@ -141,7 +141,7 @@ export declare class BulkHostedNumberOrderInstance {
141
141
  dateCompleted: Date;
142
142
  url: string;
143
143
  totalCount: number;
144
- results: Record<string, object>[];
144
+ results: any[];
145
145
  };
146
146
  [inspect.custom](_depth: any, options: InspectOptions): string;
147
147
  }
@@ -82,7 +82,7 @@ interface EvaluationResource {
82
82
  regulation_sid: string;
83
83
  bundle_sid: string;
84
84
  status: EvaluationStatus;
85
- results: Array<Record<string, object>>;
85
+ results: Array<any>;
86
86
  date_created: Date;
87
87
  url: string;
88
88
  }
@@ -111,7 +111,7 @@ export declare class EvaluationInstance {
111
111
  /**
112
112
  * The results of the Evaluation which includes the valid and invalid attributes.
113
113
  */
114
- results: Array<Record<string, object>>;
114
+ results: Array<any>;
115
115
  dateCreated: Date;
116
116
  url: string;
117
117
  private get _proxy();
@@ -134,7 +134,7 @@ export declare class EvaluationInstance {
134
134
  regulationSid: string;
135
135
  bundleSid: string;
136
136
  status: EvaluationStatus;
137
- results: Record<string, object>[];
137
+ results: any[];
138
138
  dateCreated: Date;
139
139
  url: string;
140
140
  };
@@ -14,7 +14,7 @@ export interface EndUserContextUpdateOptions {
14
14
  /** The string that you assigned to describe the resource. */
15
15
  friendlyName?: string;
16
16
  /** The set of parameters that are the attributes of the End User resource which are derived End User Types. */
17
- attributes?: object;
17
+ attributes?: any;
18
18
  }
19
19
  /**
20
20
  * Options to pass to create a EndUserInstance
@@ -25,7 +25,7 @@ export interface EndUserListInstanceCreateOptions {
25
25
  /** */
26
26
  type: EndUserType;
27
27
  /** The set of parameters that are the attributes of the End User resource which are derived End User Types. */
28
- attributes?: object;
28
+ attributes?: any;
29
29
  }
30
30
  /**
31
31
  * Options to pass to each
@@ -127,7 +127,7 @@ interface EndUserResource {
127
127
  account_sid: string;
128
128
  friendly_name: string;
129
129
  type: EndUserType;
130
- attributes: Record<string, object>;
130
+ attributes: any;
131
131
  date_created: Date;
132
132
  date_updated: Date;
133
133
  url: string;
@@ -153,7 +153,7 @@ export declare class EndUserInstance {
153
153
  /**
154
154
  * The set of parameters that are the attributes of the End Users resource which are listed in the End User Types.
155
155
  */
156
- attributes: Record<string, object>;
156
+ attributes: any;
157
157
  /**
158
158
  * The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
159
159
  */
@@ -210,7 +210,7 @@ export declare class EndUserInstance {
210
210
  accountSid: string;
211
211
  friendlyName: string;
212
212
  type: EndUserType;
213
- attributes: Record<string, object>;
213
+ attributes: any;
214
214
  dateCreated: Date;
215
215
  dateUpdated: Date;
216
216
  url: string;
@@ -75,7 +75,7 @@ interface EndUserTypeResource {
75
75
  sid: string;
76
76
  friendly_name: string;
77
77
  machine_name: string;
78
- fields: Array<Record<string, object>>;
78
+ fields: Array<any>;
79
79
  url: string;
80
80
  }
81
81
  export declare class EndUserTypeInstance {
@@ -98,7 +98,7 @@ export declare class EndUserTypeInstance {
98
98
  /**
99
99
  * The required information for creating an End-User. The required fields will change as regulatory needs change and will differ for businesses and individuals.
100
100
  */
101
- fields: Array<Record<string, object>>;
101
+ fields: Array<any>;
102
102
  /**
103
103
  * The absolute URL of the End-User Type resource.
104
104
  */
@@ -121,7 +121,7 @@ export declare class EndUserTypeInstance {
121
121
  sid: string;
122
122
  friendlyName: string;
123
123
  machineName: string;
124
- fields: Record<string, object>[];
124
+ fields: any[];
125
125
  url: string;
126
126
  };
127
127
  [inspect.custom](_depth: any, options: InspectOptions): string;
@@ -121,7 +121,7 @@ interface RegulationResource {
121
121
  iso_country: string;
122
122
  number_type: string;
123
123
  end_user_type: RegulationEndUserType;
124
- requirements: Record<string, object>;
124
+ requirements: any;
125
125
  url: string;
126
126
  }
127
127
  export declare class RegulationInstance {
@@ -149,7 +149,7 @@ export declare class RegulationInstance {
149
149
  /**
150
150
  * The SID of an object that holds the regulatory information of the phone number country, phone number type, and end user type.
151
151
  */
152
- requirements: Record<string, object>;
152
+ requirements: any;
153
153
  /**
154
154
  * The absolute URL of the Regulation resource.
155
155
  */
@@ -183,7 +183,7 @@ export declare class RegulationInstance {
183
183
  isoCountry: string;
184
184
  numberType: string;
185
185
  endUserType: RegulationEndUserType;
186
- requirements: Record<string, object>;
186
+ requirements: any;
187
187
  url: string;
188
188
  };
189
189
  [inspect.custom](_depth: any, options: InspectOptions): string;
@@ -14,7 +14,7 @@ export interface SupportingDocumentContextUpdateOptions {
14
14
  /** The string that you assigned to describe the resource. */
15
15
  friendlyName?: string;
16
16
  /** The set of parameters that are the attributes of the Supporting Document resource which are derived Supporting Document Types. */
17
- attributes?: object;
17
+ attributes?: any;
18
18
  }
19
19
  /**
20
20
  * Options to pass to create a SupportingDocumentInstance
@@ -25,7 +25,7 @@ export interface SupportingDocumentListInstanceCreateOptions {
25
25
  /** The type of the Supporting Document. */
26
26
  type: string;
27
27
  /** The set of parameters that are the attributes of the Supporting Documents resource which are derived Supporting Document Types. */
28
- attributes?: object;
28
+ attributes?: any;
29
29
  }
30
30
  /**
31
31
  * Options to pass to each
@@ -129,9 +129,9 @@ interface SupportingDocumentResource {
129
129
  mime_type: string;
130
130
  status: SupportingDocumentStatus;
131
131
  failure_reason: string;
132
- errors: Array<Record<string, object>>;
132
+ errors: Array<any>;
133
133
  type: string;
134
- attributes: Record<string, object>;
134
+ attributes: any;
135
135
  date_created: Date;
136
136
  date_updated: Date;
137
137
  url: string;
@@ -165,7 +165,7 @@ export declare class SupportingDocumentInstance {
165
165
  /**
166
166
  * A list of errors that occurred during the registering RC Bundle
167
167
  */
168
- errors: Array<Record<string, object>>;
168
+ errors: Array<any>;
169
169
  /**
170
170
  * The type of the Supporting Document.
171
171
  */
@@ -173,7 +173,7 @@ export declare class SupportingDocumentInstance {
173
173
  /**
174
174
  * The set of parameters that are the attributes of the Supporting Documents resource which are listed in the Supporting Document Types.
175
175
  */
176
- attributes: Record<string, object>;
176
+ attributes: any;
177
177
  /**
178
178
  * The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
179
179
  */
@@ -232,9 +232,9 @@ export declare class SupportingDocumentInstance {
232
232
  mimeType: string;
233
233
  status: SupportingDocumentStatus;
234
234
  failureReason: string;
235
- errors: Record<string, object>[];
235
+ errors: any[];
236
236
  type: string;
237
- attributes: Record<string, object>;
237
+ attributes: any;
238
238
  dateCreated: Date;
239
239
  dateUpdated: Date;
240
240
  url: string;