twilio 5.4.4 → 5.5.0

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 (188) hide show
  1. package/lib/base/Page.js +1 -1
  2. package/lib/jwt/ClientCapability.js +1 -1
  3. package/lib/jwt/taskrouter/TaskRouterCapability.js +1 -1
  4. package/lib/rest/accounts/v1/bulkConsents.d.ts +4 -4
  5. package/lib/rest/accounts/v1/bulkConsents.js +1 -1
  6. package/lib/rest/accounts/v1/bulkContacts.d.ts +4 -4
  7. package/lib/rest/accounts/v1/bulkContacts.js +1 -1
  8. package/lib/rest/api/v2010/account/address/dependentPhoneNumber.d.ts +3 -3
  9. package/lib/rest/api/v2010/account/address.d.ts +6 -0
  10. package/lib/rest/api/v2010/account/address.js +2 -0
  11. package/lib/rest/api/v2010/account/call/event.d.ts +6 -6
  12. package/lib/rest/api/v2010/account/call/payment.d.ts +1 -1
  13. package/lib/rest/api/v2010/account/call/recording.d.ts +3 -3
  14. package/lib/rest/api/v2010/account/call/transcription.d.ts +1 -1
  15. package/lib/rest/api/v2010/account/conference/recording.d.ts +3 -3
  16. package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.d.ts +3 -3
  17. package/lib/rest/api/v2010/account/recording.d.ts +3 -3
  18. package/lib/rest/bulkexports/v1/export/exportCustomJob.d.ts +3 -3
  19. package/lib/rest/bulkexports/v1/export/job.d.ts +3 -3
  20. package/lib/rest/chat/v1/service.d.ts +9 -9
  21. package/lib/rest/chat/v2/service/channel/message.d.ts +3 -3
  22. package/lib/rest/chat/v2/service/channel/webhook.d.ts +3 -3
  23. package/lib/rest/chat/v2/service.d.ts +9 -9
  24. package/lib/rest/conversations/v1/addressConfiguration.d.ts +4 -4
  25. package/lib/rest/conversations/v1/conversation/message.d.ts +6 -6
  26. package/lib/rest/conversations/v1/conversation/participant.d.ts +3 -3
  27. package/lib/rest/conversations/v1/conversation/webhook.d.ts +3 -3
  28. package/lib/rest/conversations/v1/conversation.d.ts +6 -6
  29. package/lib/rest/conversations/v1/conversationWithParticipants.d.ts +6 -6
  30. package/lib/rest/conversations/v1/participantConversation.d.ts +6 -6
  31. package/lib/rest/conversations/v1/service/configuration/notification.d.ts +9 -9
  32. package/lib/rest/conversations/v1/service/conversation/message.d.ts +6 -6
  33. package/lib/rest/conversations/v1/service/conversation/participant.d.ts +3 -3
  34. package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +3 -3
  35. package/lib/rest/conversations/v1/service/conversation.d.ts +6 -6
  36. package/lib/rest/conversations/v1/service/conversationWithParticipants.d.ts +6 -6
  37. package/lib/rest/conversations/v1/service/participantConversation.d.ts +6 -6
  38. package/lib/rest/conversations/v1/service/user/userConversation.d.ts +3 -3
  39. package/lib/rest/conversations/v1/user/userConversation.d.ts +3 -3
  40. package/lib/rest/events/v1/sink.d.ts +5 -5
  41. package/lib/rest/events/v1/subscription.d.ts +1 -1
  42. package/lib/rest/events/v1/subscription.js +1 -1
  43. package/lib/rest/flexApi/v1/assessments.d.ts +3 -3
  44. package/lib/rest/flexApi/v1/configuration.d.ts +66 -66
  45. package/lib/rest/flexApi/v1/flexFlow.d.ts +3 -3
  46. package/lib/rest/flexApi/v1/insightsAssessmentsComment.d.ts +3 -3
  47. package/lib/rest/flexApi/v1/insightsConversations.d.ts +3 -3
  48. package/lib/rest/flexApi/v1/insightsQuestionnaires.d.ts +3 -3
  49. package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.d.ts +6 -6
  50. package/lib/rest/flexApi/v1/insightsSegments.d.ts +9 -9
  51. package/lib/rest/flexApi/v1/insightsSettingsAnswerSets.d.ts +9 -9
  52. package/lib/rest/flexApi/v1/insightsSettingsComment.d.ts +3 -3
  53. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.d.ts +4 -4
  54. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +5 -5
  55. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionTransfer.d.ts +232 -0
  56. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionTransfer.js +203 -0
  57. package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +9 -1
  58. package/lib/rest/flexApi/v1/interaction/interactionChannel.js +13 -0
  59. package/lib/rest/flexApi/v1/interaction.d.ts +8 -8
  60. package/lib/rest/flexApi/v1/pluginConfiguration.d.ts +1 -1
  61. package/lib/rest/flexApi/v1/pluginConfiguration.js +1 -1
  62. package/lib/rest/iam/v1/apiKey.d.ts +3 -3
  63. package/lib/rest/iam/v1/newApiKey.d.ts +3 -3
  64. package/lib/rest/insights/v1/call/callSummary.d.ts +30 -30
  65. package/lib/rest/insights/v1/call/event.d.ts +12 -12
  66. package/lib/rest/insights/v1/call/metric.d.ts +12 -12
  67. package/lib/rest/insights/v1/callSummaries.d.ts +30 -30
  68. package/lib/rest/insights/v1/conference/conferenceParticipant.d.ts +10 -10
  69. package/lib/rest/insights/v1/conference.d.ts +7 -7
  70. package/lib/rest/insights/v1/room/participant.d.ts +6 -6
  71. package/lib/rest/intelligence/v2/customOperator.d.ts +5 -5
  72. package/lib/rest/intelligence/v2/operator.d.ts +3 -3
  73. package/lib/rest/intelligence/v2/operatorType.d.ts +3 -3
  74. package/lib/rest/intelligence/v2/prebuiltOperator.d.ts +3 -3
  75. package/lib/rest/intelligence/v2/transcript/operatorResult.d.ts +15 -15
  76. package/lib/rest/intelligence/v2/transcript/sentence.d.ts +3 -3
  77. package/lib/rest/intelligence/v2/transcript.d.ts +4 -4
  78. package/lib/rest/ipMessaging/v1/service.d.ts +9 -9
  79. package/lib/rest/ipMessaging/v2/service/channel/message.d.ts +3 -3
  80. package/lib/rest/ipMessaging/v2/service/channel/webhook.d.ts +3 -3
  81. package/lib/rest/ipMessaging/v2/service.d.ts +9 -9
  82. package/lib/rest/lookups/v1/phoneNumber.d.ts +9 -9
  83. package/lib/rest/lookups/v2/phoneNumber.d.ts +30 -30
  84. package/lib/rest/messaging/v1/brandRegistration/brandVetting.d.ts +2 -2
  85. package/lib/rest/messaging/v1/brandRegistration.d.ts +4 -4
  86. package/lib/rest/messaging/v1/domainCerts.d.ts +3 -3
  87. package/lib/rest/messaging/v1/service/usAppToPerson.d.ts +6 -6
  88. package/lib/rest/messaging/v1/service/usAppToPersonUsecase.d.ts +3 -3
  89. package/lib/rest/messaging/v1/tollfreeVerification.d.ts +7 -7
  90. package/lib/rest/messaging/v1/usecase.d.ts +3 -3
  91. package/lib/rest/microvisor/v1/device.d.ts +6 -6
  92. package/lib/rest/monitor/v1/event.d.ts +3 -3
  93. package/lib/rest/notify/v1/service/notification.d.ts +28 -28
  94. package/lib/rest/numbers/V1.d.ts +5 -5
  95. package/lib/rest/numbers/V1.js +6 -8
  96. package/lib/rest/numbers/v1/bulkEligibility.d.ts +3 -3
  97. package/lib/rest/numbers/v1/eligibility.d.ts +3 -3
  98. package/lib/rest/numbers/v1/portingPortIn.d.ts +6 -6
  99. package/lib/rest/numbers/v1/{portingWebhookConfigurationFetch.d.ts → webhook.d.ts} +10 -10
  100. package/lib/rest/numbers/v1/{portingWebhookConfigurationFetch.js → webhook.js} +6 -6
  101. package/lib/rest/numbers/v2/bulkHostedNumberOrder.d.ts +3 -3
  102. package/lib/rest/numbers/v2/hostedNumberOrder.d.ts +1 -1
  103. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +3 -3
  104. package/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +5 -5
  105. package/lib/rest/numbers/v2/regulatoryCompliance/endUserType.d.ts +3 -3
  106. package/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +3 -3
  107. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +8 -8
  108. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.d.ts +3 -3
  109. package/lib/rest/preview/marketplace/availableAddOn.d.ts +3 -3
  110. package/lib/rest/preview/marketplace/installedAddOn.d.ts +5 -5
  111. package/lib/rest/preview/sync/service/document.d.ts +5 -5
  112. package/lib/rest/preview/sync/service/syncList/syncListItem.d.ts +5 -5
  113. package/lib/rest/preview/sync/service/syncMap/syncMapItem.d.ts +5 -5
  114. package/lib/rest/preview/wireless/sim/usage.d.ts +15 -15
  115. package/lib/rest/proxy/v1/service/session.d.ts +1 -1
  116. package/lib/rest/proxy/v1/service/session.js +1 -1
  117. package/lib/rest/serverless/v1/service/build.d.ts +9 -9
  118. package/lib/rest/studio/v1/flow/engagement/engagementContext.d.ts +3 -3
  119. package/lib/rest/studio/v1/flow/engagement/step/stepContext.d.ts +3 -3
  120. package/lib/rest/studio/v1/flow/engagement/step.d.ts +3 -3
  121. package/lib/rest/studio/v1/flow/engagement.d.ts +4 -4
  122. package/lib/rest/studio/v1/flow/execution/executionContext.d.ts +3 -3
  123. package/lib/rest/studio/v1/flow/execution/executionStep/executionStepContext.d.ts +3 -3
  124. package/lib/rest/studio/v1/flow/execution/executionStep.d.ts +3 -3
  125. package/lib/rest/studio/v1/flow/execution.d.ts +4 -4
  126. package/lib/rest/studio/v2/flow/execution/executionContext.d.ts +3 -3
  127. package/lib/rest/studio/v2/flow/execution/executionStep/executionStepContext.d.ts +3 -3
  128. package/lib/rest/studio/v2/flow/execution/executionStep.d.ts +3 -3
  129. package/lib/rest/studio/v2/flow/execution.d.ts +4 -4
  130. package/lib/rest/studio/v2/flow/flowRevision.d.ts +6 -6
  131. package/lib/rest/studio/v2/flow.d.ts +11 -11
  132. package/lib/rest/studio/v2/flowValidate.d.ts +1 -1
  133. package/lib/rest/supersim/v1/network.d.ts +3 -3
  134. package/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.d.ts +3 -3
  135. package/lib/rest/supersim/v1/settingsUpdate.d.ts +3 -3
  136. package/lib/rest/supersim/v1/usageRecord.d.ts +3 -3
  137. package/lib/rest/sync/v1/service/document.d.ts +5 -5
  138. package/lib/rest/sync/v1/service/syncList/syncListItem.d.ts +5 -5
  139. package/lib/rest/sync/v1/service/syncMap/syncMapItem.d.ts +5 -5
  140. package/lib/rest/sync/v1/service/syncStream/streamMessage.d.ts +4 -4
  141. package/lib/rest/taskrouter/v1/workspace/event.d.ts +3 -3
  142. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueBulkRealTimeStatistics.d.ts +3 -3
  143. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.d.ts +12 -12
  144. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueRealTimeStatistics.d.ts +9 -9
  145. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueStatistics.d.ts +6 -6
  146. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.d.ts +6 -6
  147. package/lib/rest/taskrouter/v1/workspace/worker/workerStatistics.d.ts +3 -3
  148. package/lib/rest/taskrouter/v1/workspace/worker/workersCumulativeStatistics.d.ts +3 -3
  149. package/lib/rest/taskrouter/v1/workspace/worker/workersRealTimeStatistics.d.ts +3 -3
  150. package/lib/rest/taskrouter/v1/workspace/worker/workersStatistics.d.ts +6 -6
  151. package/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.d.ts +9 -9
  152. package/lib/rest/taskrouter/v1/workspace/workflow/workflowRealTimeStatistics.d.ts +6 -6
  153. package/lib/rest/taskrouter/v1/workspace/workflow/workflowStatistics.d.ts +6 -6
  154. package/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.d.ts +9 -9
  155. package/lib/rest/taskrouter/v1/workspace/workspaceRealTimeStatistics.d.ts +9 -9
  156. package/lib/rest/taskrouter/v1/workspace/workspaceStatistics.d.ts +6 -6
  157. package/lib/rest/trunking/v1/trunk.d.ts +3 -3
  158. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +3 -3
  159. package/lib/rest/trusthub/v1/customerProfiles.d.ts +3 -3
  160. package/lib/rest/trusthub/v1/endUser.d.ts +5 -5
  161. package/lib/rest/trusthub/v1/endUserType.d.ts +3 -3
  162. package/lib/rest/trusthub/v1/policies.d.ts +3 -3
  163. package/lib/rest/trusthub/v1/supportingDocument.d.ts +6 -6
  164. package/lib/rest/trusthub/v1/supportingDocumentType.d.ts +3 -3
  165. package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +3 -3
  166. package/lib/rest/trusthub/v1/trustProducts.d.ts +3 -3
  167. package/lib/rest/verify/v2/form.d.ts +6 -6
  168. package/lib/rest/verify/v2/service/entity/challenge.d.ts +12 -12
  169. package/lib/rest/verify/v2/service/entity/challenge.js +1 -1
  170. package/lib/rest/verify/v2/service/entity/factor.d.ts +6 -6
  171. package/lib/rest/verify/v2/service/entity/newFactor.d.ts +10 -10
  172. package/lib/rest/verify/v2/service/verification.d.ts +11 -11
  173. package/lib/rest/verify/v2/service/verificationCheck.d.ts +3 -3
  174. package/lib/rest/verify/v2/service.d.ts +9 -9
  175. package/lib/rest/verify/v2/template.d.ts +3 -3
  176. package/lib/rest/verify/v2/verificationAttempt.d.ts +6 -6
  177. package/lib/rest/video/v1/composition.d.ts +4 -4
  178. package/lib/rest/video/v1/compositionHook.d.ts +5 -5
  179. package/lib/rest/video/v1/recording.d.ts +3 -3
  180. package/lib/rest/video/v1/room/participant/subscribeRules.d.ts +1 -1
  181. package/lib/rest/video/v1/room/recordingRules.d.ts +1 -1
  182. package/lib/rest/video/v1/room/roomRecording.d.ts +3 -3
  183. package/lib/rest/video/v1/room.d.ts +1 -1
  184. package/lib/rest/wireless/v1/sim/dataSession.d.ts +3 -3
  185. package/lib/rest/wireless/v1/sim/usageRecord.d.ts +9 -9
  186. package/lib/rest/wireless/v1/usageRecord.d.ts +9 -9
  187. package/lib/twiml/VoiceResponse.d.ts +1 -2
  188. package/package.json +3 -3
@@ -102,14 +102,14 @@ interface OperatorResultResource {
102
102
  extract_match: boolean;
103
103
  match_probability: number;
104
104
  normalized_result: string;
105
- utterance_results: Array<any>;
105
+ utterance_results: Array<Record<string, object>>;
106
106
  utterance_match: boolean;
107
107
  predicted_label: string;
108
108
  predicted_probability: number;
109
- label_probabilities: any;
110
- extract_results: any;
111
- text_generation_results: any;
112
- json_results: any;
109
+ label_probabilities: Record<string, object>;
110
+ extract_results: Record<string, object>;
111
+ text_generation_results: Record<string, object>;
112
+ json_results: Record<string, object>;
113
113
  transcript_sid: string;
114
114
  url: string;
115
115
  }
@@ -142,7 +142,7 @@ export declare class OperatorResultInstance {
142
142
  /**
143
143
  * List of mapped utterance object which matches sentences.
144
144
  */
145
- utteranceResults: Array<any>;
145
+ utteranceResults: Array<Record<string, object>>;
146
146
  /**
147
147
  * Boolean to tell if Utterance matches results.
148
148
  */
@@ -158,16 +158,16 @@ export declare class OperatorResultInstance {
158
158
  /**
159
159
  * The labels probabilities. This might be available on conversation classify model outputs.
160
160
  */
161
- labelProbabilities: any;
161
+ labelProbabilities: Record<string, object>;
162
162
  /**
163
163
  * List of text extraction results. This might be available on classify-extract model outputs.
164
164
  */
165
- extractResults: any;
165
+ extractResults: Record<string, object>;
166
166
  /**
167
167
  * Output of a text generation operator for example Conversation Sumamary.
168
168
  */
169
- textGenerationResults: any;
170
- jsonResults: any;
169
+ textGenerationResults: Record<string, object>;
170
+ jsonResults: Record<string, object>;
171
171
  /**
172
172
  * A 34 character string that uniquely identifies this Transcript.
173
173
  */
@@ -206,14 +206,14 @@ export declare class OperatorResultInstance {
206
206
  extractMatch: boolean;
207
207
  matchProbability: number;
208
208
  normalizedResult: string;
209
- utteranceResults: any[];
209
+ utteranceResults: Record<string, object>[];
210
210
  utteranceMatch: boolean;
211
211
  predictedLabel: string;
212
212
  predictedProbability: number;
213
- labelProbabilities: any;
214
- extractResults: any;
215
- textGenerationResults: any;
216
- jsonResults: any;
213
+ labelProbabilities: Record<string, object>;
214
+ extractResults: Record<string, object>;
215
+ textGenerationResults: Record<string, object>;
216
+ jsonResults: Record<string, object>;
217
217
  transcriptSid: string;
218
218
  url: string;
219
219
  };
@@ -123,7 +123,7 @@ interface SentenceResource {
123
123
  transcript: string;
124
124
  sid: string;
125
125
  confidence: number;
126
- words: Array<any>;
126
+ words: Array<Record<string, object>>;
127
127
  }
128
128
  export declare class SentenceInstance {
129
129
  protected _version: V2;
@@ -156,7 +156,7 @@ export declare class SentenceInstance {
156
156
  /**
157
157
  * Detailed information for each of the words of the given Sentence.
158
158
  */
159
- words: Array<any>;
159
+ words: Array<Record<string, object>>;
160
160
  /**
161
161
  * Provide a user-friendly representation
162
162
  *
@@ -170,7 +170,7 @@ export declare class SentenceInstance {
170
170
  transcript: string;
171
171
  sid: string;
172
172
  confidence: number;
173
- words: any[];
173
+ words: Record<string, object>[];
174
174
  };
175
175
  [inspect.custom](_depth: any, options: InspectOptions): string;
176
176
  }
@@ -14,7 +14,7 @@ export interface TranscriptListInstanceCreateOptions {
14
14
  /** The unique SID identifier of the Service. */
15
15
  serviceSid: string;
16
16
  /** JSON object describing Media Channel including Source and Participants */
17
- channel: any;
17
+ channel: object;
18
18
  /** Used to store client provided metadata. Maximum of 64 double-byte UTF8 characters. */
19
19
  customerKey?: string;
20
20
  /** The date that this Transcript\\\'s media was started, given in ISO 8601 format. */
@@ -161,7 +161,7 @@ interface TranscriptResource {
161
161
  date_created: Date;
162
162
  date_updated: Date;
163
163
  status: TranscriptStatus;
164
- channel: any;
164
+ channel: Record<string, object>;
165
165
  data_logging: boolean;
166
166
  language_code: string;
167
167
  customer_key: string;
@@ -200,7 +200,7 @@ export declare class TranscriptInstance {
200
200
  /**
201
201
  * Media Channel describing Transcript Source and Participant Mapping
202
202
  */
203
- channel: any;
203
+ channel: Record<string, object>;
204
204
  /**
205
205
  * Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent.
206
206
  */
@@ -268,7 +268,7 @@ export declare class TranscriptInstance {
268
268
  dateCreated: Date;
269
269
  dateUpdated: Date;
270
270
  status: TranscriptStatus;
271
- channel: any;
271
+ channel: Record<string, object>;
272
272
  dataLogging: boolean;
273
273
  languageCode: string;
274
274
  customerKey: string;
@@ -243,13 +243,13 @@ interface ServiceResource {
243
243
  reachability_enabled: boolean;
244
244
  typing_indicator_timeout: number;
245
245
  consumption_report_interval: number;
246
- limits: any;
247
- webhooks: any;
246
+ limits: Record<string, object>;
247
+ webhooks: Record<string, object>;
248
248
  pre_webhook_url: string;
249
249
  post_webhook_url: string;
250
250
  webhook_method: string;
251
251
  webhook_filters: Array<string>;
252
- notifications: any;
252
+ notifications: Record<string, object>;
253
253
  url: string;
254
254
  links: Record<string, string>;
255
255
  }
@@ -270,13 +270,13 @@ export declare class ServiceInstance {
270
270
  reachabilityEnabled: boolean;
271
271
  typingIndicatorTimeout: number;
272
272
  consumptionReportInterval: number;
273
- limits: any;
274
- webhooks: any;
273
+ limits: Record<string, object>;
274
+ webhooks: Record<string, object>;
275
275
  preWebhookUrl: string;
276
276
  postWebhookUrl: string;
277
277
  webhookMethod: string;
278
278
  webhookFilters: Array<string>;
279
- notifications: any;
279
+ notifications: Record<string, object>;
280
280
  url: string;
281
281
  links: Record<string, string>;
282
282
  private get _proxy();
@@ -343,13 +343,13 @@ export declare class ServiceInstance {
343
343
  reachabilityEnabled: boolean;
344
344
  typingIndicatorTimeout: number;
345
345
  consumptionReportInterval: number;
346
- limits: any;
347
- webhooks: any;
346
+ limits: Record<string, object>;
347
+ webhooks: Record<string, object>;
348
348
  preWebhookUrl: string;
349
349
  postWebhookUrl: string;
350
350
  webhookMethod: string;
351
351
  webhookFilters: string[];
352
- notifications: any;
352
+ notifications: Record<string, object>;
353
353
  url: string;
354
354
  links: Record<string, string>;
355
355
  };
@@ -179,7 +179,7 @@ interface MessageResource {
179
179
  body: string;
180
180
  index: number;
181
181
  type: string;
182
- media: any;
182
+ media: Record<string, object>;
183
183
  url: string;
184
184
  }
185
185
  export declare class MessageInstance {
@@ -201,7 +201,7 @@ export declare class MessageInstance {
201
201
  body: string;
202
202
  index: number;
203
203
  type: string;
204
- media: any;
204
+ media: Record<string, object>;
205
205
  url: string;
206
206
  private get _proxy();
207
207
  /**
@@ -266,7 +266,7 @@ export declare class MessageInstance {
266
266
  body: string;
267
267
  index: number;
268
268
  type: string;
269
- media: any;
269
+ media: Record<string, object>;
270
270
  url: string;
271
271
  };
272
272
  [inspect.custom](_depth: any, options: InspectOptions): string;
@@ -145,7 +145,7 @@ interface WebhookResource {
145
145
  channel_sid: string;
146
146
  type: string;
147
147
  url: string;
148
- configuration: any;
148
+ configuration: Record<string, object>;
149
149
  date_created: Date;
150
150
  date_updated: Date;
151
151
  }
@@ -160,7 +160,7 @@ export declare class WebhookInstance {
160
160
  channelSid: string;
161
161
  type: string;
162
162
  url: string;
163
- configuration: any;
163
+ configuration: Record<string, object>;
164
164
  dateCreated: Date;
165
165
  dateUpdated: Date;
166
166
  private get _proxy();
@@ -209,7 +209,7 @@ export declare class WebhookInstance {
209
209
  channelSid: string;
210
210
  type: string;
211
211
  url: string;
212
- configuration: any;
212
+ configuration: Record<string, object>;
213
213
  dateCreated: Date;
214
214
  dateUpdated: Date;
215
215
  };
@@ -201,15 +201,15 @@ interface ServiceResource {
201
201
  reachability_enabled: boolean;
202
202
  typing_indicator_timeout: number;
203
203
  consumption_report_interval: number;
204
- limits: any;
204
+ limits: Record<string, object>;
205
205
  pre_webhook_url: string;
206
206
  post_webhook_url: string;
207
207
  webhook_method: string;
208
208
  webhook_filters: Array<string>;
209
209
  pre_webhook_retry_count: number;
210
210
  post_webhook_retry_count: number;
211
- notifications: any;
212
- media: any;
211
+ notifications: Record<string, object>;
212
+ media: Record<string, object>;
213
213
  url: string;
214
214
  links: Record<string, string>;
215
215
  }
@@ -230,15 +230,15 @@ export declare class ServiceInstance {
230
230
  reachabilityEnabled: boolean;
231
231
  typingIndicatorTimeout: number;
232
232
  consumptionReportInterval: number;
233
- limits: any;
233
+ limits: Record<string, object>;
234
234
  preWebhookUrl: string;
235
235
  postWebhookUrl: string;
236
236
  webhookMethod: string;
237
237
  webhookFilters: Array<string>;
238
238
  preWebhookRetryCount: number;
239
239
  postWebhookRetryCount: number;
240
- notifications: any;
241
- media: any;
240
+ notifications: Record<string, object>;
241
+ media: Record<string, object>;
242
242
  url: string;
243
243
  links: Record<string, string>;
244
244
  private get _proxy();
@@ -309,15 +309,15 @@ export declare class ServiceInstance {
309
309
  reachabilityEnabled: boolean;
310
310
  typingIndicatorTimeout: number;
311
311
  consumptionReportInterval: number;
312
- limits: any;
312
+ limits: Record<string, object>;
313
313
  preWebhookUrl: string;
314
314
  postWebhookUrl: string;
315
315
  webhookMethod: string;
316
316
  webhookFilters: string[];
317
317
  preWebhookRetryCount: number;
318
318
  postWebhookRetryCount: number;
319
- notifications: any;
320
- media: any;
319
+ notifications: Record<string, object>;
320
+ media: Record<string, object>;
321
321
  url: string;
322
322
  links: Record<string, string>;
323
323
  };
@@ -56,12 +56,12 @@ export declare class PhoneNumberContextImpl implements PhoneNumberContext {
56
56
  [inspect.custom](_depth: any, options: InspectOptions): string;
57
57
  }
58
58
  interface PhoneNumberResource {
59
- caller_name: any;
59
+ caller_name: Record<string, object>;
60
60
  country_code: string;
61
61
  phone_number: string;
62
62
  national_format: string;
63
- carrier: any;
64
- add_ons: any;
63
+ carrier: Record<string, object>;
64
+ add_ons: Record<string, object>;
65
65
  url: string;
66
66
  }
67
67
  export declare class PhoneNumberInstance {
@@ -72,7 +72,7 @@ export declare class PhoneNumberInstance {
72
72
  /**
73
73
  * The name of the phone number\'s owner. If `null`, that information was not available.
74
74
  */
75
- callerName: any;
75
+ callerName: Record<string, object>;
76
76
  /**
77
77
  * The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) for the phone number.
78
78
  */
@@ -88,11 +88,11 @@ export declare class PhoneNumberInstance {
88
88
  /**
89
89
  * The telecom company that provides the phone number.
90
90
  */
91
- carrier: any;
91
+ carrier: Record<string, object>;
92
92
  /**
93
93
  * A JSON string with the results of the Add-ons you specified in the `add_ons` parameters. For the format of the object, see [Using Add-ons](https://www.twilio.com/docs/add-ons).
94
94
  */
95
- addOns: any;
95
+ addOns: Record<string, object>;
96
96
  /**
97
97
  * The absolute URL of the resource.
98
98
  */
@@ -121,12 +121,12 @@ export declare class PhoneNumberInstance {
121
121
  * @returns Object
122
122
  */
123
123
  toJSON(): {
124
- callerName: any;
124
+ callerName: Record<string, object>;
125
125
  countryCode: string;
126
126
  phoneNumber: string;
127
127
  nationalFormat: string;
128
- carrier: any;
129
- addOns: any;
128
+ carrier: Record<string, object>;
129
+ addOns: Record<string, object>;
130
130
  url: string;
131
131
  };
132
132
  [inspect.custom](_depth: any, options: InspectOptions): string;
@@ -85,16 +85,16 @@ interface PhoneNumberResource {
85
85
  national_format: string;
86
86
  valid: boolean;
87
87
  validation_errors: Array<PhoneNumberValidationError>;
88
- caller_name: any;
89
- sim_swap: any;
90
- call_forwarding: any;
91
- line_status: any;
92
- line_type_intelligence: any;
93
- identity_match: any;
94
- reassigned_number: any;
95
- sms_pumping_risk: any;
96
- phone_number_quality_score: any;
97
- pre_fill: any;
88
+ caller_name: Record<string, object>;
89
+ sim_swap: Record<string, object>;
90
+ call_forwarding: Record<string, object>;
91
+ line_status: Record<string, object>;
92
+ line_type_intelligence: Record<string, object>;
93
+ identity_match: Record<string, object>;
94
+ reassigned_number: Record<string, object>;
95
+ sms_pumping_risk: Record<string, object>;
96
+ phone_number_quality_score: Record<string, object>;
97
+ pre_fill: Record<string, object>;
98
98
  url: string;
99
99
  }
100
100
  export declare class PhoneNumberInstance {
@@ -129,43 +129,43 @@ export declare class PhoneNumberInstance {
129
129
  /**
130
130
  * An object that contains caller name information based on [CNAM](https://support.twilio.com/hc/en-us/articles/360051670533-Getting-Started-with-CNAM-Caller-ID).
131
131
  */
132
- callerName: any;
132
+ callerName: Record<string, object>;
133
133
  /**
134
134
  * An object that contains information on the last date the subscriber identity module (SIM) was changed for a mobile phone number.
135
135
  */
136
- simSwap: any;
136
+ simSwap: Record<string, object>;
137
137
  /**
138
138
  * An object that contains information on the unconditional call forwarding status of mobile phone number.
139
139
  */
140
- callForwarding: any;
140
+ callForwarding: Record<string, object>;
141
141
  /**
142
142
  * An object that contains line status information for a mobile phone number.
143
143
  */
144
- lineStatus: any;
144
+ lineStatus: Record<string, object>;
145
145
  /**
146
146
  * An object that contains line type information including the carrier name, mobile country code, and mobile network code.
147
147
  */
148
- lineTypeIntelligence: any;
148
+ lineTypeIntelligence: Record<string, object>;
149
149
  /**
150
150
  * An object that contains identity match information. The result of comparing user-provided information including name, address, date of birth, national ID, against authoritative phone-based data sources
151
151
  */
152
- identityMatch: any;
152
+ identityMatch: Record<string, object>;
153
153
  /**
154
154
  * An object that contains reassigned number information. Reassigned Numbers will return a phone number\'s reassignment status given a phone number and date
155
155
  */
156
- reassignedNumber: any;
156
+ reassignedNumber: Record<string, object>;
157
157
  /**
158
158
  * An object that contains information on if a phone number has been currently or previously blocked by Verify Fraud Guard for receiving malicious SMS pumping traffic as well as other signals associated with risky carriers and low conversion rates.
159
159
  */
160
- smsPumpingRisk: any;
160
+ smsPumpingRisk: Record<string, object>;
161
161
  /**
162
162
  * An object that contains information of a mobile phone number quality score. Quality score will return a risk score about the phone number.
163
163
  */
164
- phoneNumberQualityScore: any;
164
+ phoneNumberQualityScore: Record<string, object>;
165
165
  /**
166
166
  * An object that contains pre fill information. pre_fill will return PII information associated with the phone number like first name, last name, address line, country code, state and postal code.
167
167
  */
168
- preFill: any;
168
+ preFill: Record<string, object>;
169
169
  /**
170
170
  * The absolute URL of the resource.
171
171
  */
@@ -200,16 +200,16 @@ export declare class PhoneNumberInstance {
200
200
  nationalFormat: string;
201
201
  valid: boolean;
202
202
  validationErrors: PhoneNumberValidationError[];
203
- callerName: any;
204
- simSwap: any;
205
- callForwarding: any;
206
- lineStatus: any;
207
- lineTypeIntelligence: any;
208
- identityMatch: any;
209
- reassignedNumber: any;
210
- smsPumpingRisk: any;
211
- phoneNumberQualityScore: any;
212
- preFill: any;
203
+ callerName: Record<string, object>;
204
+ simSwap: Record<string, object>;
205
+ callForwarding: Record<string, object>;
206
+ lineStatus: Record<string, object>;
207
+ lineTypeIntelligence: Record<string, object>;
208
+ identityMatch: Record<string, object>;
209
+ reassignedNumber: Record<string, object>;
210
+ smsPumpingRisk: Record<string, object>;
211
+ phoneNumberQualityScore: Record<string, object>;
212
+ preFill: Record<string, object>;
213
213
  url: string;
214
214
  };
215
215
  [inspect.custom](_depth: any, options: InspectOptions): string;
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../base/Page";
4
4
  import Response from "../../../../http/response";
5
5
  import V1 from "../../V1";
6
- export type BrandVettingVettingProvider = "campaign-verify";
6
+ export type BrandVettingVettingProvider = "campaign-verify" | "aegis";
7
7
  /**
8
8
  * Options to pass to create a BrandVettingInstance
9
9
  */
@@ -165,7 +165,7 @@ export declare class BrandVettingInstance {
165
165
  vettingId: string;
166
166
  vettingClass: string;
167
167
  vettingStatus: string;
168
- vettingProvider: "campaign-verify";
168
+ vettingProvider: BrandVettingVettingProvider;
169
169
  url: string;
170
170
  };
171
171
  [inspect.custom](_depth: any, options: InspectOptions): string;
@@ -7,7 +7,7 @@ import { BrandRegistrationOtpListInstance } from "./brandRegistration/brandRegis
7
7
  import { BrandVettingListInstance } from "./brandRegistration/brandVetting";
8
8
  export type BrandRegistrationBrandFeedback = "TAX_ID" | "STOCK_SYMBOL" | "NONPROFIT" | "GOVERNMENT_ENTITY" | "OTHERS";
9
9
  export type BrandRegistrationIdentityStatus = "SELF_DECLARED" | "UNVERIFIED" | "VERIFIED" | "VETTED_VERIFIED";
10
- export type BrandRegistrationStatus = "PENDING" | "APPROVED" | "FAILED" | "IN_REVIEW" | "DELETED";
10
+ export type BrandRegistrationStatus = "PENDING" | "APPROVED" | "FAILED" | "IN_REVIEW" | "DELETION_PENDING" | "DELETION_FAILED" | "SUSPENDED";
11
11
  /**
12
12
  * Options to pass to create a BrandRegistrationInstance
13
13
  */
@@ -117,7 +117,7 @@ interface BrandRegistrationResource {
117
117
  status: BrandRegistrationStatus;
118
118
  tcr_id: string;
119
119
  failure_reason: string;
120
- errors: Array<any>;
120
+ errors: Array<Record<string, object>>;
121
121
  url: string;
122
122
  brand_score: number;
123
123
  brand_feedback: Array<BrandRegistrationBrandFeedback>;
@@ -174,7 +174,7 @@ export declare class BrandRegistrationInstance {
174
174
  /**
175
175
  * A list of errors that occurred during the brand registration process.
176
176
  */
177
- errors: Array<any>;
177
+ errors: Array<Record<string, object>>;
178
178
  /**
179
179
  * The absolute URL of the Brand Registration resource.
180
180
  */
@@ -250,7 +250,7 @@ export declare class BrandRegistrationInstance {
250
250
  status: BrandRegistrationStatus;
251
251
  tcrId: string;
252
252
  failureReason: string;
253
- errors: any[];
253
+ errors: Record<string, object>[];
254
254
  url: string;
255
255
  brandScore: number;
256
256
  brandFeedback: BrandRegistrationBrandFeedback[];
@@ -67,7 +67,7 @@ interface DomainCertsResource {
67
67
  domain_name: string;
68
68
  certificate_sid: string;
69
69
  url: string;
70
- cert_in_validation: any;
70
+ cert_in_validation: Record<string, object>;
71
71
  }
72
72
  export declare class DomainCertsInstance {
73
73
  protected _version: V1;
@@ -102,7 +102,7 @@ export declare class DomainCertsInstance {
102
102
  /**
103
103
  * Optional JSON field describing the status and upload date of a new certificate in the process of validation
104
104
  */
105
- certInValidation: any;
105
+ certInValidation: Record<string, object>;
106
106
  private get _proxy();
107
107
  /**
108
108
  * Remove a DomainCertsInstance
@@ -142,7 +142,7 @@ export declare class DomainCertsInstance {
142
142
  domainName: string;
143
143
  certificateSid: string;
144
144
  url: string;
145
- certInValidation: any;
145
+ certInValidation: Record<string, object>;
146
146
  };
147
147
  [inspect.custom](_depth: any, options: InspectOptions): string;
148
148
  }
@@ -163,7 +163,7 @@ interface UsAppToPersonResource {
163
163
  campaign_status: string;
164
164
  campaign_id: string;
165
165
  is_externally_registered: boolean;
166
- rate_limits: any;
166
+ rate_limits: Record<string, object>;
167
167
  message_flow: string;
168
168
  opt_in_message: string;
169
169
  opt_out_message: string;
@@ -175,7 +175,7 @@ interface UsAppToPersonResource {
175
175
  date_updated: Date;
176
176
  url: string;
177
177
  mock: boolean;
178
- errors: Array<any>;
178
+ errors: Array<Record<string, object>>;
179
179
  }
180
180
  export declare class UsAppToPersonInstance {
181
181
  protected _version: V1;
@@ -245,7 +245,7 @@ export declare class UsAppToPersonInstance {
245
245
  /**
246
246
  * Rate limit and/or classification set by each carrier, Ex. AT&T or T-Mobile.
247
247
  */
248
- rateLimits: any;
248
+ rateLimits: Record<string, object>;
249
249
  /**
250
250
  * Details around how a consumer opts-in to their campaign, therefore giving consent to receive their messages. If multiple opt-in methods can be used for the same campaign, they must all be listed. 40 character minimum. 2048 character maximum.
251
251
  */
@@ -293,7 +293,7 @@ export declare class UsAppToPersonInstance {
293
293
  /**
294
294
  * Details indicating why a campaign registration failed. These errors can indicate one or more fields that were incorrect or did not meet review requirements.
295
295
  */
296
- errors: Array<any>;
296
+ errors: Array<Record<string, object>>;
297
297
  private get _proxy();
298
298
  /**
299
299
  * Remove a UsAppToPersonInstance
@@ -341,7 +341,7 @@ export declare class UsAppToPersonInstance {
341
341
  campaignStatus: string;
342
342
  campaignId: string;
343
343
  isExternallyRegistered: boolean;
344
- rateLimits: any;
344
+ rateLimits: Record<string, object>;
345
345
  messageFlow: string;
346
346
  optInMessage: string;
347
347
  optOutMessage: string;
@@ -353,7 +353,7 @@ export declare class UsAppToPersonInstance {
353
353
  dateUpdated: Date;
354
354
  url: string;
355
355
  mock: boolean;
356
- errors: any[];
356
+ errors: Record<string, object>[];
357
357
  };
358
358
  [inspect.custom](_depth: any, options: InspectOptions): string;
359
359
  }
@@ -40,7 +40,7 @@ export interface UsAppToPersonUsecaseListInstance {
40
40
  }
41
41
  export declare function UsAppToPersonUsecaseListInstance(version: V1, messagingServiceSid: string): UsAppToPersonUsecaseListInstance;
42
42
  interface UsAppToPersonUsecaseResource {
43
- us_app_to_person_usecases: Array<any>;
43
+ us_app_to_person_usecases: Array<Record<string, object>>;
44
44
  }
45
45
  export declare class UsAppToPersonUsecaseInstance {
46
46
  protected _version: V1;
@@ -48,14 +48,14 @@ export declare class UsAppToPersonUsecaseInstance {
48
48
  /**
49
49
  * Human readable name, code, description and post_approval_required (indicates whether or not post approval is required for this Use Case) of A2P Campaign Use Cases.
50
50
  */
51
- usAppToPersonUsecases: Array<any>;
51
+ usAppToPersonUsecases: Array<Record<string, object>>;
52
52
  /**
53
53
  * Provide a user-friendly representation
54
54
  *
55
55
  * @returns Object
56
56
  */
57
57
  toJSON(): {
58
- usAppToPersonUsecases: any[];
58
+ usAppToPersonUsecases: Record<string, object>[];
59
59
  };
60
60
  [inspect.custom](_depth: any, options: InspectOptions): string;
61
61
  }
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../base/Page";
4
4
  import Response from "../../../http/response";
5
5
  import V1 from "../V1";
6
- export type TollfreeVerificationOptInType = "VERBAL" | "WEB_FORM" | "PAPER_FORM" | "VIA_TEXT" | "MOBILE_QR_CODE" | "IMPORT";
6
+ export type TollfreeVerificationOptInType = "VERBAL" | "WEB_FORM" | "PAPER_FORM" | "VIA_TEXT" | "MOBILE_QR_CODE" | "IMPORT" | "IMPORT_PLEASE_REPLACE";
7
7
  export type TollfreeVerificationStatus = "PENDING_REVIEW" | "IN_REVIEW" | "TWILIO_APPROVED" | "TWILIO_REJECTED";
8
8
  /**
9
9
  * Options to pass to update a TollfreeVerificationInstance
@@ -257,8 +257,8 @@ interface TollfreeVerificationResource {
257
257
  error_code: number;
258
258
  edit_expiration: Date;
259
259
  edit_allowed: boolean;
260
- rejection_reasons: Array<any>;
261
- resource_links: any;
260
+ rejection_reasons: Array<Record<string, object>>;
261
+ resource_links: Record<string, object>;
262
262
  external_reference_id: string;
263
263
  }
264
264
  export declare class TollfreeVerificationInstance {
@@ -399,11 +399,11 @@ export declare class TollfreeVerificationInstance {
399
399
  /**
400
400
  * A list of rejection reasons and codes describing why a Tollfree Verification has been rejected.
401
401
  */
402
- rejectionReasons: Array<any>;
402
+ rejectionReasons: Array<Record<string, object>>;
403
403
  /**
404
404
  * The URLs of the documents associated with the Tollfree Verification resource.
405
405
  */
406
- resourceLinks: any;
406
+ resourceLinks: Record<string, object>;
407
407
  /**
408
408
  * An optional external reference ID supplied by customer and echoed back on status retrieval.
409
409
  */
@@ -482,8 +482,8 @@ export declare class TollfreeVerificationInstance {
482
482
  errorCode: number;
483
483
  editExpiration: Date;
484
484
  editAllowed: boolean;
485
- rejectionReasons: any[];
486
- resourceLinks: any;
485
+ rejectionReasons: Record<string, object>[];
486
+ resourceLinks: Record<string, object>;
487
487
  externalReferenceId: string;
488
488
  };
489
489
  [inspect.custom](_depth: any, options: InspectOptions): string;