twilio 5.7.1 → 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 (205) 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 +3 -3
  8. package/lib/rest/api/v2010/account/call/event.d.ts +6 -6
  9. package/lib/rest/api/v2010/account/call/payment.d.ts +1 -1
  10. package/lib/rest/api/v2010/account/call/recording.d.ts +3 -3
  11. package/lib/rest/api/v2010/account/conference/recording.d.ts +3 -3
  12. package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.d.ts +3 -3
  13. package/lib/rest/api/v2010/account/recording.d.ts +3 -3
  14. package/lib/rest/bulkexports/v1/export/day.d.ts +3 -3
  15. package/lib/rest/bulkexports/v1/export/exportCustomJob.d.ts +3 -3
  16. package/lib/rest/bulkexports/v1/export/job.d.ts +3 -3
  17. package/lib/rest/chat/v1/service.d.ts +9 -9
  18. package/lib/rest/chat/v2/service/channel/message.d.ts +3 -3
  19. package/lib/rest/chat/v2/service/channel/webhook.d.ts +3 -3
  20. package/lib/rest/chat/v2/service.d.ts +9 -9
  21. package/lib/rest/conversations/v1/addressConfiguration.d.ts +4 -4
  22. package/lib/rest/conversations/v1/conversation/message.d.ts +6 -6
  23. package/lib/rest/conversations/v1/conversation/participant.d.ts +3 -3
  24. package/lib/rest/conversations/v1/conversation/webhook.d.ts +4 -4
  25. package/lib/rest/conversations/v1/conversation.d.ts +6 -6
  26. package/lib/rest/conversations/v1/conversationWithParticipants.d.ts +6 -6
  27. package/lib/rest/conversations/v1/participantConversation.d.ts +6 -6
  28. package/lib/rest/conversations/v1/service/configuration/notification.d.ts +9 -9
  29. package/lib/rest/conversations/v1/service/conversation/message.d.ts +6 -6
  30. package/lib/rest/conversations/v1/service/conversation/participant.d.ts +3 -3
  31. package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +4 -4
  32. package/lib/rest/conversations/v1/service/conversation.d.ts +6 -6
  33. package/lib/rest/conversations/v1/service/conversationWithParticipants.d.ts +6 -6
  34. package/lib/rest/conversations/v1/service/participantConversation.d.ts +6 -6
  35. package/lib/rest/conversations/v1/service/user/userConversation.d.ts +3 -3
  36. package/lib/rest/conversations/v1/user/userConversation.d.ts +3 -3
  37. package/lib/rest/events/v1/sink.d.ts +4 -4
  38. package/lib/rest/events/v1/subscription.d.ts +1 -1
  39. package/lib/rest/events/v1/subscription.js +1 -1
  40. package/lib/rest/flexApi/v1/assessments.d.ts +3 -3
  41. package/lib/rest/flexApi/v1/configuration.d.ts +66 -66
  42. package/lib/rest/flexApi/v1/flexFlow.d.ts +3 -3
  43. package/lib/rest/flexApi/v1/insightsAssessmentsComment.d.ts +3 -3
  44. package/lib/rest/flexApi/v1/insightsConversations.d.ts +3 -3
  45. package/lib/rest/flexApi/v1/insightsQuestionnaires.d.ts +3 -3
  46. package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.d.ts +6 -6
  47. package/lib/rest/flexApi/v1/insightsSegments.d.ts +9 -9
  48. package/lib/rest/flexApi/v1/insightsSettingsAnswerSets.d.ts +9 -9
  49. package/lib/rest/flexApi/v1/insightsSettingsComment.d.ts +3 -3
  50. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.d.ts +4 -4
  51. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +5 -5
  52. package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +1 -1
  53. package/lib/rest/flexApi/v1/interaction.d.ts +8 -8
  54. package/lib/rest/flexApi/v1/pluginConfiguration.d.ts +1 -1
  55. package/lib/rest/flexApi/v1/pluginConfiguration.js +1 -1
  56. package/lib/rest/intelligence/v2/customOperator.d.ts +5 -5
  57. package/lib/rest/intelligence/v2/operator.d.ts +3 -3
  58. package/lib/rest/intelligence/v2/operatorType.d.ts +3 -3
  59. package/lib/rest/intelligence/v2/prebuiltOperator.d.ts +3 -3
  60. package/lib/rest/intelligence/v2/transcript/operatorResult.d.ts +15 -15
  61. package/lib/rest/intelligence/v2/transcript/sentence.d.ts +3 -3
  62. package/lib/rest/intelligence/v2/transcript.d.ts +4 -4
  63. package/lib/rest/ipMessaging/v1/service.d.ts +9 -9
  64. package/lib/rest/ipMessaging/v2/service/channel/message.d.ts +3 -3
  65. package/lib/rest/ipMessaging/v2/service/channel/webhook.d.ts +3 -3
  66. package/lib/rest/ipMessaging/v2/service.d.ts +9 -9
  67. package/lib/rest/lookups/V2.d.ts +20 -0
  68. package/lib/rest/lookups/V2.js +25 -0
  69. package/lib/rest/lookups/v2/bucket.d.ts +205 -0
  70. package/lib/rest/lookups/v2/bucket.js +187 -0
  71. package/lib/rest/lookups/v2/lookupOverride.d.ts +264 -0
  72. package/lib/rest/lookups/v2/lookupOverride.js +225 -0
  73. package/lib/rest/lookups/v2/query.d.ts +175 -0
  74. package/lib/rest/lookups/v2/query.js +123 -0
  75. package/lib/rest/lookups/v2/rateLimit.d.ts +83 -0
  76. package/lib/rest/lookups/v2/rateLimit.js +82 -0
  77. package/lib/rest/messaging/v1/service.d.ts +3 -3
  78. package/lib/rest/messaging/v2/channelsSender.d.ts +49 -4
  79. package/lib/rest/messaging/v2/channelsSender.js +14 -2
  80. package/lib/rest/monitor/v1/event.d.ts +3 -3
  81. package/lib/rest/notify/v1/service/notification.d.ts +28 -28
  82. package/lib/rest/numbers/V1.d.ts +5 -5
  83. package/lib/rest/numbers/V1.js +6 -8
  84. package/lib/rest/numbers/v1/bulkEligibility.d.ts +3 -3
  85. package/lib/rest/numbers/v1/eligibility.d.ts +3 -3
  86. package/lib/rest/numbers/v1/portingPortIn.d.ts +6 -6
  87. package/lib/rest/numbers/v1/{portingWebhookConfigurationFetch.d.ts → webhook.d.ts} +10 -10
  88. package/lib/rest/numbers/v1/{portingWebhookConfigurationFetch.js → webhook.js} +6 -6
  89. package/lib/rest/numbers/v2/bulkHostedNumberOrder.d.ts +3 -3
  90. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +3 -3
  91. package/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +5 -5
  92. package/lib/rest/numbers/v2/regulatoryCompliance/endUserType.d.ts +3 -3
  93. package/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +3 -3
  94. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +8 -8
  95. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.d.ts +3 -3
  96. package/lib/rest/preview/marketplace/availableAddOn.d.ts +3 -3
  97. package/lib/rest/preview/marketplace/installedAddOn.d.ts +5 -5
  98. package/lib/rest/preview/wireless/sim/usage.d.ts +15 -15
  99. package/lib/rest/proxy/v1/service/session.d.ts +1 -1
  100. package/lib/rest/proxy/v1/service/session.js +1 -1
  101. package/lib/rest/proxy/v1/service.d.ts +0 -8
  102. package/lib/rest/proxy/v1/service.js +0 -13
  103. package/lib/rest/serverless/v1/service/build.d.ts +9 -9
  104. package/lib/rest/serverless/v1/service/environment/log.d.ts +6 -7
  105. package/lib/rest/studio/v1/flow/engagement/engagementContext.d.ts +3 -3
  106. package/lib/rest/studio/v1/flow/engagement/step/stepContext.d.ts +3 -3
  107. package/lib/rest/studio/v1/flow/engagement/step.d.ts +3 -3
  108. package/lib/rest/studio/v1/flow/engagement.d.ts +4 -4
  109. package/lib/rest/studio/v1/flow/execution/executionContext.d.ts +3 -3
  110. package/lib/rest/studio/v1/flow/execution/executionStep/executionStepContext.d.ts +3 -3
  111. package/lib/rest/studio/v1/flow/execution/executionStep.d.ts +3 -3
  112. package/lib/rest/studio/v1/flow/execution.d.ts +4 -4
  113. package/lib/rest/studio/v2/flow/execution/executionContext.d.ts +3 -3
  114. package/lib/rest/studio/v2/flow/execution/executionStep/executionStepContext.d.ts +3 -3
  115. package/lib/rest/studio/v2/flow/execution/executionStep.d.ts +3 -3
  116. package/lib/rest/studio/v2/flow/execution.d.ts +4 -4
  117. package/lib/rest/studio/v2/flow/flowRevision.d.ts +6 -6
  118. package/lib/rest/studio/v2/flow.d.ts +11 -11
  119. package/lib/rest/studio/v2/flowValidate.d.ts +1 -1
  120. package/lib/rest/supersim/v1/network.d.ts +3 -3
  121. package/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.d.ts +3 -3
  122. package/lib/rest/supersim/v1/settingsUpdate.d.ts +3 -3
  123. package/lib/rest/supersim/v1/usageRecord.d.ts +3 -3
  124. package/lib/rest/taskrouter/v1/workspace/event.d.ts +3 -3
  125. package/lib/rest/taskrouter/v1/workspace/task.d.ts +1 -1
  126. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueBulkRealTimeStatistics.d.ts +3 -3
  127. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.d.ts +12 -12
  128. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueRealTimeStatistics.d.ts +9 -9
  129. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueStatistics.d.ts +6 -6
  130. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.d.ts +6 -6
  131. package/lib/rest/taskrouter/v1/workspace/worker/workerStatistics.d.ts +3 -3
  132. package/lib/rest/taskrouter/v1/workspace/worker/workersCumulativeStatistics.d.ts +3 -3
  133. package/lib/rest/taskrouter/v1/workspace/worker/workersRealTimeStatistics.d.ts +3 -3
  134. package/lib/rest/taskrouter/v1/workspace/worker/workersStatistics.d.ts +6 -6
  135. package/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.d.ts +9 -9
  136. package/lib/rest/taskrouter/v1/workspace/workflow/workflowRealTimeStatistics.d.ts +6 -6
  137. package/lib/rest/taskrouter/v1/workspace/workflow/workflowStatistics.d.ts +6 -6
  138. package/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.d.ts +9 -9
  139. package/lib/rest/taskrouter/v1/workspace/workspaceRealTimeStatistics.d.ts +9 -9
  140. package/lib/rest/taskrouter/v1/workspace/workspaceStatistics.d.ts +6 -6
  141. package/lib/rest/trunking/v1/trunk.d.ts +9 -3
  142. package/lib/rest/trunking/v1/trunk.js +2 -0
  143. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +3 -3
  144. package/lib/rest/trusthub/v1/customerProfiles.d.ts +3 -3
  145. package/lib/rest/trusthub/v1/endUser.d.ts +5 -5
  146. package/lib/rest/trusthub/v1/endUserType.d.ts +3 -3
  147. package/lib/rest/trusthub/v1/policies.d.ts +3 -3
  148. package/lib/rest/trusthub/v1/supportingDocument.d.ts +5 -5
  149. package/lib/rest/trusthub/v1/supportingDocumentType.d.ts +3 -3
  150. package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +3 -3
  151. package/lib/rest/trusthub/v1/trustProducts.d.ts +3 -3
  152. package/lib/rest/verify/v2/form.d.ts +6 -6
  153. package/lib/rest/verify/v2/service/entity/challenge.d.ts +12 -12
  154. package/lib/rest/verify/v2/service/entity/challenge.js +1 -1
  155. package/lib/rest/verify/v2/service/entity/factor.d.ts +6 -6
  156. package/lib/rest/verify/v2/service/entity/newFactor.d.ts +10 -10
  157. package/lib/rest/verify/v2/service/verification.d.ts +11 -11
  158. package/lib/rest/verify/v2/service/verificationCheck.d.ts +3 -3
  159. package/lib/rest/verify/v2/service.d.ts +9 -9
  160. package/lib/rest/verify/v2/template.d.ts +3 -3
  161. package/lib/rest/verify/v2/verificationAttempt.d.ts +11 -11
  162. package/lib/rest/verify/v2/verificationAttemptsSummary.d.ts +2 -2
  163. package/lib/rest/video/v1/room/transcriptions.d.ts +316 -0
  164. package/lib/rest/{proxy/v1/service/shortCode.js → video/v1/room/transcriptions.js} +61 -78
  165. package/lib/rest/video/v1/room.d.ts +8 -0
  166. package/lib/rest/video/v1/room.js +13 -0
  167. package/lib/rest/wireless/v1/sim/dataSession.d.ts +3 -3
  168. package/lib/rest/wireless/v1/sim/usageRecord.d.ts +9 -9
  169. package/lib/rest/wireless/v1/usageRecord.d.ts +9 -9
  170. package/lib/twiml/VoiceResponse.d.ts +31 -0
  171. package/lib/twiml/VoiceResponse.js +18 -0
  172. package/package.json +1 -1
  173. package/lib/rest/Knowledge.d.ts +0 -4
  174. package/lib/rest/Knowledge.js +0 -8
  175. package/lib/rest/KnowledgeBase.d.ts +0 -13
  176. package/lib/rest/KnowledgeBase.js +0 -31
  177. package/lib/rest/Microvisor.d.ts +0 -14
  178. package/lib/rest/Microvisor.js +0 -22
  179. package/lib/rest/MicrovisorBase.d.ts +0 -13
  180. package/lib/rest/MicrovisorBase.js +0 -31
  181. package/lib/rest/knowledge/V1.d.ts +0 -15
  182. package/lib/rest/knowledge/V1.js +0 -36
  183. package/lib/rest/knowledge/v1/knowledge/chunk.d.ts +0 -167
  184. package/lib/rest/knowledge/v1/knowledge/chunk.js +0 -131
  185. package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.d.ts +0 -101
  186. package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.js +0 -118
  187. package/lib/rest/knowledge/v1/knowledge.d.ts +0 -412
  188. package/lib/rest/knowledge/v1/knowledge.js +0 -302
  189. package/lib/rest/microvisor/V1.d.ts +0 -30
  190. package/lib/rest/microvisor/V1.js +0 -56
  191. package/lib/rest/microvisor/v1/accountConfig.d.ts +0 -263
  192. package/lib/rest/microvisor/v1/accountConfig.js +0 -254
  193. package/lib/rest/microvisor/v1/accountSecret.d.ts +0 -257
  194. package/lib/rest/microvisor/v1/accountSecret.js +0 -252
  195. package/lib/rest/microvisor/v1/app/appManifest.d.ts +0 -101
  196. package/lib/rest/microvisor/v1/app/appManifest.js +0 -118
  197. package/lib/rest/microvisor/v1/app.d.ts +0 -251
  198. package/lib/rest/microvisor/v1/app.js +0 -222
  199. package/lib/rest/microvisor/v1/device/deviceConfig.d.ts +0 -271
  200. package/lib/rest/microvisor/v1/device/deviceConfig.js +0 -262
  201. package/lib/rest/microvisor/v1/device/deviceSecret.d.ts +0 -265
  202. package/lib/rest/microvisor/v1/device/deviceSecret.js +0 -260
  203. package/lib/rest/microvisor/v1/device.d.ts +0 -299
  204. package/lib/rest/microvisor/v1/device.js +0 -250
  205. package/lib/rest/proxy/v1/service/shortCode.d.ts +0 -316
@@ -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;
@@ -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
  }
@@ -7,8 +7,8 @@ import { PortingPortInPhoneNumberListInstance } from "./v1/portingPortInPhoneNum
7
7
  import { PortingPortabilityListInstance } from "./v1/portingPortability";
8
8
  import { PortingWebhookConfigurationListInstance } from "./v1/portingWebhookConfiguration";
9
9
  import { PortingWebhookConfigurationDeleteListInstance } from "./v1/portingWebhookConfigurationDelete";
10
- import { PortingWebhookConfigurationFetchListInstance } from "./v1/portingWebhookConfigurationFetch";
11
10
  import { SigningRequestConfigurationListInstance } from "./v1/signingRequestConfiguration";
11
+ import { WebhookListInstance } from "./v1/webhook";
12
12
  export default class V1 extends Version {
13
13
  /**
14
14
  * Initialize the V1 version of Numbers
@@ -30,10 +30,10 @@ export default class V1 extends Version {
30
30
  protected _portingWebhookConfigurations?: PortingWebhookConfigurationListInstance;
31
31
  /** portingWebhookConfigurationsDelete - { Twilio.Numbers.V1.PortingWebhookConfigurationDeleteListInstance } resource */
32
32
  protected _portingWebhookConfigurationsDelete?: PortingWebhookConfigurationDeleteListInstance;
33
- /** portingWebhookConfigurationFetch - { Twilio.Numbers.V1.PortingWebhookConfigurationFetchListInstance } resource */
34
- protected _portingWebhookConfigurationFetch?: PortingWebhookConfigurationFetchListInstance;
35
33
  /** signingRequestConfigurations - { Twilio.Numbers.V1.SigningRequestConfigurationListInstance } resource */
36
34
  protected _signingRequestConfigurations?: SigningRequestConfigurationListInstance;
35
+ /** webhook - { Twilio.Numbers.V1.WebhookListInstance } resource */
36
+ protected _webhook?: WebhookListInstance;
37
37
  /** Getter for bulkEligibilities resource */
38
38
  get bulkEligibilities(): BulkEligibilityListInstance;
39
39
  /** Getter for eligibilities resource */
@@ -48,8 +48,8 @@ export default class V1 extends Version {
48
48
  get portingWebhookConfigurations(): PortingWebhookConfigurationListInstance;
49
49
  /** Getter for portingWebhookConfigurationsDelete resource */
50
50
  get portingWebhookConfigurationsDelete(): PortingWebhookConfigurationDeleteListInstance;
51
- /** Getter for portingWebhookConfigurationFetch resource */
52
- get portingWebhookConfigurationFetch(): PortingWebhookConfigurationFetchListInstance;
53
51
  /** Getter for signingRequestConfigurations resource */
54
52
  get signingRequestConfigurations(): SigningRequestConfigurationListInstance;
53
+ /** Getter for webhook resource */
54
+ get webhook(): WebhookListInstance;
55
55
  }
@@ -24,8 +24,8 @@ const portingPortInPhoneNumber_1 = require("./v1/portingPortInPhoneNumber");
24
24
  const portingPortability_1 = require("./v1/portingPortability");
25
25
  const portingWebhookConfiguration_1 = require("./v1/portingWebhookConfiguration");
26
26
  const portingWebhookConfigurationDelete_1 = require("./v1/portingWebhookConfigurationDelete");
27
- const portingWebhookConfigurationFetch_1 = require("./v1/portingWebhookConfigurationFetch");
28
27
  const signingRequestConfiguration_1 = require("./v1/signingRequestConfiguration");
28
+ const webhook_1 = require("./v1/webhook");
29
29
  class V1 extends Version_1.default {
30
30
  /**
31
31
  * Initialize the V1 version of Numbers
@@ -79,13 +79,6 @@ class V1 extends Version_1.default {
79
79
  (0, portingWebhookConfigurationDelete_1.PortingWebhookConfigurationDeleteListInstance)(this);
80
80
  return this._portingWebhookConfigurationsDelete;
81
81
  }
82
- /** Getter for portingWebhookConfigurationFetch resource */
83
- get portingWebhookConfigurationFetch() {
84
- this._portingWebhookConfigurationFetch =
85
- this._portingWebhookConfigurationFetch ||
86
- (0, portingWebhookConfigurationFetch_1.PortingWebhookConfigurationFetchListInstance)(this);
87
- return this._portingWebhookConfigurationFetch;
88
- }
89
82
  /** Getter for signingRequestConfigurations resource */
90
83
  get signingRequestConfigurations() {
91
84
  this._signingRequestConfigurations =
@@ -93,5 +86,10 @@ class V1 extends Version_1.default {
93
86
  (0, signingRequestConfiguration_1.SigningRequestConfigurationListInstance)(this);
94
87
  return this._signingRequestConfigurations;
95
88
  }
89
+ /** Getter for webhook resource */
90
+ get webhook() {
91
+ this._webhook = this._webhook || (0, webhook_1.WebhookListInstance)(this);
92
+ return this._webhook;
93
+ }
96
94
  }
97
95
  exports.default = V1;
@@ -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
  };
@@ -1,28 +1,28 @@
1
1
  /// <reference types="node" />
2
2
  import { inspect, InspectOptions } from "util";
3
3
  import V1 from "../V1";
4
- export interface PortingWebhookConfigurationFetchSolution {
4
+ export interface WebhookSolution {
5
5
  }
6
- export interface PortingWebhookConfigurationFetchListInstance {
6
+ export interface WebhookListInstance {
7
7
  _version: V1;
8
- _solution: PortingWebhookConfigurationFetchSolution;
8
+ _solution: WebhookSolution;
9
9
  _uri: string;
10
10
  /**
11
- * Fetch a PortingWebhookConfigurationFetchInstance
11
+ * Fetch a WebhookInstance
12
12
  *
13
13
  * @param callback - Callback to handle processed record
14
14
  *
15
- * @returns Resolves to processed PortingWebhookConfigurationFetchInstance
15
+ * @returns Resolves to processed WebhookInstance
16
16
  */
17
- fetch(callback?: (error: Error | null, item?: PortingWebhookConfigurationFetchInstance) => any): Promise<PortingWebhookConfigurationFetchInstance>;
17
+ fetch(callback?: (error: Error | null, item?: WebhookInstance) => any): Promise<WebhookInstance>;
18
18
  /**
19
19
  * Provide a user-friendly representation
20
20
  */
21
21
  toJSON(): any;
22
22
  [inspect.custom](_depth: any, options: InspectOptions): any;
23
23
  }
24
- export declare function PortingWebhookConfigurationFetchListInstance(version: V1): PortingWebhookConfigurationFetchListInstance;
25
- interface PortingWebhookConfigurationFetchResource {
24
+ export declare function WebhookListInstance(version: V1): WebhookListInstance;
25
+ interface WebhookResource {
26
26
  url: string;
27
27
  port_in_target_url: string;
28
28
  port_out_target_url: string;
@@ -30,9 +30,9 @@ interface PortingWebhookConfigurationFetchResource {
30
30
  port_in_target_date_created: Date;
31
31
  port_out_target_date_created: Date;
32
32
  }
33
- export declare class PortingWebhookConfigurationFetchInstance {
33
+ export declare class WebhookInstance {
34
34
  protected _version: V1;
35
- constructor(_version: V1, payload: PortingWebhookConfigurationFetchResource);
35
+ constructor(_version: V1, payload: WebhookResource);
36
36
  /**
37
37
  * The URL of the webhook configuration request
38
38
  */
@@ -13,11 +13,11 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.PortingWebhookConfigurationFetchInstance = exports.PortingWebhookConfigurationFetchListInstance = void 0;
16
+ exports.WebhookInstance = exports.WebhookListInstance = void 0;
17
17
  const util_1 = require("util");
18
18
  const deserialize = require("../../../base/deserialize");
19
19
  const serialize = require("../../../base/serialize");
20
- function PortingWebhookConfigurationFetchListInstance(version) {
20
+ function WebhookListInstance(version) {
21
21
  const instance = {};
22
22
  instance._version = version;
23
23
  instance._solution = {};
@@ -30,7 +30,7 @@ function PortingWebhookConfigurationFetchListInstance(version) {
30
30
  method: "get",
31
31
  headers,
32
32
  });
33
- operationPromise = operationPromise.then((payload) => new PortingWebhookConfigurationFetchInstance(operationVersion, payload));
33
+ operationPromise = operationPromise.then((payload) => new WebhookInstance(operationVersion, payload));
34
34
  operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
35
35
  return operationPromise;
36
36
  };
@@ -42,8 +42,8 @@ function PortingWebhookConfigurationFetchListInstance(version) {
42
42
  };
43
43
  return instance;
44
44
  }
45
- exports.PortingWebhookConfigurationFetchListInstance = PortingWebhookConfigurationFetchListInstance;
46
- class PortingWebhookConfigurationFetchInstance {
45
+ exports.WebhookListInstance = WebhookListInstance;
46
+ class WebhookInstance {
47
47
  constructor(_version, payload) {
48
48
  this._version = _version;
49
49
  this.url = payload.url;
@@ -72,4 +72,4 @@ class PortingWebhookConfigurationFetchInstance {
72
72
  return (0, util_1.inspect)(this.toJSON(), options);
73
73
  }
74
74
  }
75
- exports.PortingWebhookConfigurationFetchInstance = PortingWebhookConfigurationFetchInstance;
75
+ exports.WebhookInstance = WebhookInstance;
@@ -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;