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
@@ -37,7 +37,7 @@ export declare class ExecutionStepContextContextImpl implements ExecutionStepCon
37
37
  }
38
38
  interface ExecutionStepContextResource {
39
39
  account_sid: string;
40
- context: any;
40
+ context: Record<string, object>;
41
41
  execution_sid: string;
42
42
  flow_sid: string;
43
43
  step_sid: string;
@@ -55,7 +55,7 @@ export declare class ExecutionStepContextInstance {
55
55
  /**
56
56
  * The current state of the Flow\'s Execution. As a flow executes, we save its state in this context. We save data that your widgets can access as variables in configuration fields or in text areas as variable substitution.
57
57
  */
58
- context: any;
58
+ context: Record<string, object>;
59
59
  /**
60
60
  * The SID of the context\'s Execution resource.
61
61
  */
@@ -88,7 +88,7 @@ export declare class ExecutionStepContextInstance {
88
88
  */
89
89
  toJSON(): {
90
90
  accountSid: string;
91
- context: any;
91
+ context: Record<string, object>;
92
92
  executionSid: string;
93
93
  flowSid: string;
94
94
  stepSid: string;
@@ -83,7 +83,7 @@ interface ExecutionStepResource {
83
83
  flow_sid: string;
84
84
  execution_sid: string;
85
85
  name: string;
86
- context: any;
86
+ context: Record<string, object>;
87
87
  transitioned_from: string;
88
88
  transitioned_to: string;
89
89
  date_created: Date;
@@ -119,7 +119,7 @@ export declare class ExecutionStepInstance {
119
119
  /**
120
120
  * The current state of the Flow\'s Execution. As a flow executes, we save its state in this context. We save data that your widgets can access as variables in configuration fields or in text areas as variable substitution.
121
121
  */
122
- context: any;
122
+ context: Record<string, object>;
123
123
  /**
124
124
  * The Widget that preceded the Widget for the Step.
125
125
  */
@@ -168,7 +168,7 @@ export declare class ExecutionStepInstance {
168
168
  flowSid: string;
169
169
  executionSid: string;
170
170
  name: string;
171
- context: any;
171
+ context: Record<string, object>;
172
172
  transitionedFrom: string;
173
173
  transitionedTo: string;
174
174
  dateCreated: Date;
@@ -22,7 +22,7 @@ export interface ExecutionListInstanceCreateOptions {
22
22
  /** The Twilio phone number to send messages or initiate calls from during the Flow\\\'s Execution. Available as variable `{{flow.channel.address}}`. For SMS, this can also be a Messaging Service SID. */
23
23
  from: string;
24
24
  /** JSON data that will be added to the Flow\\\'s context and that can be accessed as variables inside your Flow. For example, if you pass in `Parameters={\\\"name\\\":\\\"Zeke\\\"}`, a widget in your Flow can reference the variable `{{flow.data.name}}`, which returns \\\"Zeke\\\". Note: the JSON value must explicitly be passed as a string, not as a hash object. Depending on your particular HTTP library, you may need to add quotes or URL encode the JSON string. */
25
- parameters?: any;
25
+ parameters?: object;
26
26
  }
27
27
  /**
28
28
  * Options to pass to each
@@ -135,7 +135,7 @@ interface ExecutionResource {
135
135
  account_sid: string;
136
136
  flow_sid: string;
137
137
  contact_channel_address: string;
138
- context: any;
138
+ context: Record<string, object>;
139
139
  status: ExecutionStatus;
140
140
  date_created: Date;
141
141
  date_updated: Date;
@@ -166,7 +166,7 @@ export declare class ExecutionInstance {
166
166
  /**
167
167
  * The current state of the Flow\'s Execution. As a flow executes, we save its state in this context. We save data that your widgets can access as variables in configuration fields or in text areas as variable substitution.
168
168
  */
169
- context: any;
169
+ context: Record<string, object>;
170
170
  status: ExecutionStatus;
171
171
  /**
172
172
  * The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
@@ -228,7 +228,7 @@ export declare class ExecutionInstance {
228
228
  accountSid: string;
229
229
  flowSid: string;
230
230
  contactChannelAddress: string;
231
- context: any;
231
+ context: Record<string, object>;
232
232
  status: ExecutionStatus;
233
233
  dateCreated: Date;
234
234
  dateUpdated: Date;
@@ -77,12 +77,12 @@ interface FlowRevisionResource {
77
77
  sid: string;
78
78
  account_sid: string;
79
79
  friendly_name: string;
80
- definition: any;
80
+ definition: Record<string, object>;
81
81
  status: FlowRevisionStatus;
82
82
  revision: number;
83
83
  commit_message: string;
84
84
  valid: boolean;
85
- errors: Array<any>;
85
+ errors: Array<Record<string, object>>;
86
86
  date_created: Date;
87
87
  date_updated: Date;
88
88
  url: string;
@@ -107,7 +107,7 @@ export declare class FlowRevisionInstance {
107
107
  /**
108
108
  * JSON representation of flow definition.
109
109
  */
110
- definition: any;
110
+ definition: Record<string, object>;
111
111
  status: FlowRevisionStatus;
112
112
  /**
113
113
  * The latest revision number of the Flow\'s definition.
@@ -124,7 +124,7 @@ export declare class FlowRevisionInstance {
124
124
  /**
125
125
  * List of error in the flow definition.
126
126
  */
127
- errors: Array<any>;
127
+ errors: Array<Record<string, object>>;
128
128
  /**
129
129
  * The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
130
130
  */
@@ -155,12 +155,12 @@ export declare class FlowRevisionInstance {
155
155
  sid: string;
156
156
  accountSid: string;
157
157
  friendlyName: string;
158
- definition: any;
158
+ definition: Record<string, object>;
159
159
  status: FlowRevisionStatus;
160
160
  revision: number;
161
161
  commitMessage: string;
162
162
  valid: boolean;
163
- errors: any[];
163
+ errors: Record<string, object>[];
164
164
  dateCreated: Date;
165
165
  dateUpdated: Date;
166
166
  url: string;
@@ -16,7 +16,7 @@ export interface FlowContextUpdateOptions {
16
16
  /** The string that you assigned to describe the Flow. */
17
17
  friendlyName?: string;
18
18
  /** JSON representation of flow definition. */
19
- definition?: any;
19
+ definition?: object;
20
20
  /** Description of change made in the revision. */
21
21
  commitMessage?: string;
22
22
  }
@@ -29,7 +29,7 @@ export interface FlowListInstanceCreateOptions {
29
29
  /** */
30
30
  status: FlowStatus;
31
31
  /** JSON representation of flow definition. */
32
- definition: any;
32
+ definition: object;
33
33
  /** Description of change made in the revision. */
34
34
  commitMessage?: string;
35
35
  }
@@ -133,13 +133,13 @@ interface FlowResource {
133
133
  sid: string;
134
134
  account_sid: string;
135
135
  friendly_name: string;
136
- definition: any;
136
+ definition: Record<string, object>;
137
137
  status: FlowStatus;
138
138
  revision: number;
139
139
  commit_message: string;
140
140
  valid: boolean;
141
- errors: Array<any>;
142
- warnings: Array<any>;
141
+ errors: Array<Record<string, object>>;
142
+ warnings: Array<Record<string, object>>;
143
143
  date_created: Date;
144
144
  date_updated: Date;
145
145
  webhook_url: string;
@@ -166,7 +166,7 @@ export declare class FlowInstance {
166
166
  /**
167
167
  * JSON representation of flow definition.
168
168
  */
169
- definition: any;
169
+ definition: Record<string, object>;
170
170
  status: FlowStatus;
171
171
  /**
172
172
  * The latest revision number of the Flow\'s definition.
@@ -183,11 +183,11 @@ export declare class FlowInstance {
183
183
  /**
184
184
  * List of error in the flow definition.
185
185
  */
186
- errors: Array<any>;
186
+ errors: Array<Record<string, object>>;
187
187
  /**
188
188
  * List of warnings in the flow definition.
189
189
  */
190
- warnings: Array<any>;
190
+ warnings: Array<Record<string, object>>;
191
191
  /**
192
192
  * The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
193
193
  */
@@ -252,13 +252,13 @@ export declare class FlowInstance {
252
252
  sid: string;
253
253
  accountSid: string;
254
254
  friendlyName: string;
255
- definition: any;
255
+ definition: Record<string, object>;
256
256
  status: FlowStatus;
257
257
  revision: number;
258
258
  commitMessage: string;
259
259
  valid: boolean;
260
- errors: any[];
261
- warnings: any[];
260
+ errors: Record<string, object>[];
261
+ warnings: Record<string, object>[];
262
262
  dateCreated: Date;
263
263
  dateUpdated: Date;
264
264
  webhookUrl: string;
@@ -11,7 +11,7 @@ export interface FlowValidateListInstanceUpdateOptions {
11
11
  /** */
12
12
  status: FlowValidateStatus;
13
13
  /** JSON representation of flow definition. */
14
- definition: any;
14
+ definition: object;
15
15
  /** Description of change made in the revision. */
16
16
  commitMessage?: string;
17
17
  }
@@ -94,7 +94,7 @@ interface NetworkResource {
94
94
  friendly_name: string;
95
95
  url: string;
96
96
  iso_country: string;
97
- identifiers: Array<any>;
97
+ identifiers: Array<Record<string, object>>;
98
98
  }
99
99
  export declare class NetworkInstance {
100
100
  protected _version: V1;
@@ -120,7 +120,7 @@ export declare class NetworkInstance {
120
120
  /**
121
121
  * Array of objects identifying the [MCC-MNCs](https://en.wikipedia.org/wiki/Mobile_country_code) that are included in the Network resource.
122
122
  */
123
- identifiers: Array<any>;
123
+ identifiers: Array<Record<string, object>>;
124
124
  private get _proxy();
125
125
  /**
126
126
  * Fetch a NetworkInstance
@@ -140,7 +140,7 @@ export declare class NetworkInstance {
140
140
  friendlyName: string;
141
141
  url: string;
142
142
  isoCountry: string;
143
- identifiers: any[];
143
+ identifiers: Record<string, object>[];
144
144
  };
145
145
  [inspect.custom](_depth: any, options: InspectOptions): string;
146
146
  }
@@ -93,7 +93,7 @@ interface NetworkAccessProfileNetworkResource {
93
93
  network_access_profile_sid: string;
94
94
  friendly_name: string;
95
95
  iso_country: string;
96
- identifiers: Array<any>;
96
+ identifiers: Array<Record<string, object>>;
97
97
  url: string;
98
98
  }
99
99
  export declare class NetworkAccessProfileNetworkInstance {
@@ -120,7 +120,7 @@ export declare class NetworkAccessProfileNetworkInstance {
120
120
  /**
121
121
  * Array of objects identifying the [MCC-MNCs](https://en.wikipedia.org/wiki/Mobile_country_code) that are included in the Network resource.
122
122
  */
123
- identifiers: Array<any>;
123
+ identifiers: Array<Record<string, object>>;
124
124
  /**
125
125
  * The absolute URL of the Network resource.
126
126
  */
@@ -152,7 +152,7 @@ export declare class NetworkAccessProfileNetworkInstance {
152
152
  networkAccessProfileSid: string;
153
153
  friendlyName: string;
154
154
  isoCountry: string;
155
- identifiers: any[];
155
+ identifiers: Record<string, object>[];
156
156
  url: string;
157
157
  };
158
158
  [inspect.custom](_depth: any, options: InspectOptions): string;
@@ -120,7 +120,7 @@ interface SettingsUpdateResource {
120
120
  iccid: string;
121
121
  sim_sid: string;
122
122
  status: SettingsUpdateStatus;
123
- packages: Array<any>;
123
+ packages: Array<Record<string, object>>;
124
124
  date_completed: Date;
125
125
  date_created: Date;
126
126
  date_updated: Date;
@@ -144,7 +144,7 @@ export declare class SettingsUpdateInstance {
144
144
  /**
145
145
  * Array containing the different Settings Packages that will be applied to the SIM after the update completes. Each object within the array indicates the name and the version of the Settings Package that will be on the SIM if the update is successful.
146
146
  */
147
- packages: Array<any>;
147
+ packages: Array<Record<string, object>>;
148
148
  /**
149
149
  * The time, given in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format, when the update successfully completed and the new settings were applied to the SIM.
150
150
  */
@@ -167,7 +167,7 @@ export declare class SettingsUpdateInstance {
167
167
  iccid: string;
168
168
  simSid: string;
169
169
  status: SettingsUpdateStatus;
170
- packages: any[];
170
+ packages: Record<string, object>[];
171
171
  dateCompleted: Date;
172
172
  dateCreated: Date;
173
173
  dateUpdated: Date;
@@ -158,7 +158,7 @@ interface UsageRecordResource {
158
158
  network_sid: string;
159
159
  fleet_sid: string;
160
160
  iso_country: string;
161
- period: any;
161
+ period: Record<string, object>;
162
162
  data_upload: number;
163
163
  data_download: number;
164
164
  data_total: number;
@@ -191,7 +191,7 @@ export declare class UsageRecordInstance {
191
191
  /**
192
192
  * The time period for which the usage is reported. The period is represented as a pair of `start_time` and `end_time` timestamps specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
193
193
  */
194
- period: any;
194
+ period: Record<string, object>;
195
195
  /**
196
196
  * Total data uploaded in bytes, aggregated by the query parameters.
197
197
  */
@@ -223,7 +223,7 @@ export declare class UsageRecordInstance {
223
223
  networkSid: string;
224
224
  fleetSid: string;
225
225
  isoCountry: string;
226
- period: any;
226
+ period: Record<string, object>;
227
227
  dataUpload: number;
228
228
  dataDownload: number;
229
229
  dataTotal: number;
@@ -11,7 +11,7 @@ export interface DocumentContextUpdateOptions {
11
11
  /** The If-Match HTTP request header */
12
12
  ifMatch?: string;
13
13
  /** A JSON string that represents an arbitrary, schema-less object that the Sync Document stores. Can be up to 16 KiB in length. */
14
- data?: any;
14
+ data?: object;
15
15
  /** How long, [in seconds](https://www.twilio.com/docs/sync/limits#sync-payload-limits), before the Sync Document expires and is deleted (time-to-live). */
16
16
  ttl?: number;
17
17
  }
@@ -22,7 +22,7 @@ export interface DocumentListInstanceCreateOptions {
22
22
  /** An application-defined string that uniquely identifies the Sync Document */
23
23
  uniqueName?: string;
24
24
  /** A JSON string that represents an arbitrary, schema-less object that the Sync Document stores. Can be up to 16 KiB in length. */
25
- data?: any;
25
+ data?: object;
26
26
  /** How long, [in seconds](https://www.twilio.com/docs/sync/limits#sync-payload-limits), before the Sync Document expires and is deleted (the Sync Document\\\'s time-to-live). */
27
27
  ttl?: number;
28
28
  }
@@ -133,7 +133,7 @@ interface DocumentResource {
133
133
  url: string;
134
134
  links: Record<string, string>;
135
135
  revision: string;
136
- data: any;
136
+ data: Record<string, object>;
137
137
  date_expires: Date;
138
138
  date_created: Date;
139
139
  date_updated: Date;
@@ -175,7 +175,7 @@ export declare class DocumentInstance {
175
175
  /**
176
176
  * An arbitrary, schema-less object that the Sync Document stores. Can be up to 16 KiB in length.
177
177
  */
178
- data: any;
178
+ data: Record<string, object>;
179
179
  /**
180
180
  * The date and time in GMT when the Sync Document expires and will be deleted, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. If the Sync Document does not expire, this value is `null`. The Document resource might not be deleted immediately after it expires.
181
181
  */
@@ -243,7 +243,7 @@ export declare class DocumentInstance {
243
243
  url: string;
244
244
  links: Record<string, string>;
245
245
  revision: string;
246
- data: any;
246
+ data: Record<string, object>;
247
247
  dateExpires: Date;
248
248
  dateCreated: Date;
249
249
  dateUpdated: Date;
@@ -19,7 +19,7 @@ export interface SyncListItemContextUpdateOptions {
19
19
  /** If provided, applies this mutation if (and only if) the “revision” field of this [map item] matches the provided value. This matches the semantics of (and is implemented with) the HTTP [If-Match header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Match). */
20
20
  ifMatch?: string;
21
21
  /** A JSON string that represents an arbitrary, schema-less object that the List Item stores. Can be up to 16 KiB in length. */
22
- data?: any;
22
+ data?: object;
23
23
  /** An alias for `item_ttl`. If both parameters are provided, this value is ignored. */
24
24
  ttl?: number;
25
25
  /** How long, [in seconds](https://www.twilio.com/docs/sync/limits#sync-payload-limits), before the List Item expires (time-to-live) and is deleted. */
@@ -32,7 +32,7 @@ export interface SyncListItemContextUpdateOptions {
32
32
  */
33
33
  export interface SyncListItemListInstanceCreateOptions {
34
34
  /** A JSON string that represents an arbitrary, schema-less object that the List Item stores. Can be up to 16 KiB in length. */
35
- data: any;
35
+ data: object;
36
36
  /** An alias for `item_ttl`. If both parameters are provided, this value is ignored. */
37
37
  ttl?: number;
38
38
  /** How long, [in seconds](https://www.twilio.com/docs/sync/limits#sync-payload-limits), before the List Item expires (time-to-live) and is deleted. */
@@ -171,7 +171,7 @@ interface SyncListItemResource {
171
171
  list_sid: string;
172
172
  url: string;
173
173
  revision: string;
174
- data: any;
174
+ data: Record<string, object>;
175
175
  date_expires: Date;
176
176
  date_created: Date;
177
177
  date_updated: Date;
@@ -209,7 +209,7 @@ export declare class SyncListItemInstance {
209
209
  /**
210
210
  * An arbitrary, schema-less object that the List Item stores. Can be up to 16 KiB in length.
211
211
  */
212
- data: any;
212
+ data: Record<string, object>;
213
213
  /**
214
214
  * The date and time in GMT when the List Item expires and will be deleted, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. If the List Item does not expire, this value is `null`. The List Item resource might not be deleted immediately after it expires.
215
215
  */
@@ -281,7 +281,7 @@ export declare class SyncListItemInstance {
281
281
  listSid: string;
282
282
  url: string;
283
283
  revision: string;
284
- data: any;
284
+ data: Record<string, object>;
285
285
  dateExpires: Date;
286
286
  dateCreated: Date;
287
287
  dateUpdated: Date;
@@ -19,7 +19,7 @@ export interface SyncMapItemContextUpdateOptions {
19
19
  /** If provided, applies this mutation if (and only if) the “revision” field of this [map item] matches the provided value. This matches the semantics of (and is implemented with) the HTTP [If-Match header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Match). */
20
20
  ifMatch?: string;
21
21
  /** A JSON string that represents an arbitrary, schema-less object that the Map Item stores. Can be up to 16 KiB in length. */
22
- data?: any;
22
+ data?: object;
23
23
  /** An alias for `item_ttl`. If both parameters are provided, this value is ignored. */
24
24
  ttl?: number;
25
25
  /** How long, [in seconds](https://www.twilio.com/docs/sync/limits#sync-payload-limits), before the Map Item expires (time-to-live) and is deleted. */
@@ -34,7 +34,7 @@ export interface SyncMapItemListInstanceCreateOptions {
34
34
  /** The unique, user-defined key for the Map Item. Can be up to 320 characters long. */
35
35
  key: string;
36
36
  /** A JSON string that represents an arbitrary, schema-less object that the Map Item stores. Can be up to 16 KiB in length. */
37
- data: any;
37
+ data: object;
38
38
  /** An alias for `item_ttl`. If both parameters are provided, this value is ignored. */
39
39
  ttl?: number;
40
40
  /** How long, [in seconds](https://www.twilio.com/docs/sync/limits#sync-payload-limits), before the Map Item expires (time-to-live) and is deleted. */
@@ -173,7 +173,7 @@ interface SyncMapItemResource {
173
173
  map_sid: string;
174
174
  url: string;
175
175
  revision: string;
176
- data: any;
176
+ data: Record<string, object>;
177
177
  date_expires: Date;
178
178
  date_created: Date;
179
179
  date_updated: Date;
@@ -211,7 +211,7 @@ export declare class SyncMapItemInstance {
211
211
  /**
212
212
  * An arbitrary, schema-less object that the Map Item stores. Can be up to 16 KiB in length.
213
213
  */
214
- data: any;
214
+ data: Record<string, object>;
215
215
  /**
216
216
  * The date and time in GMT when the Map Item expires and will be deleted, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. If the Map Item does not expire, this value is `null`. The Map Item might not be deleted immediately after it expires.
217
217
  */
@@ -283,7 +283,7 @@ export declare class SyncMapItemInstance {
283
283
  mapSid: string;
284
284
  url: string;
285
285
  revision: string;
286
- data: any;
286
+ data: Record<string, object>;
287
287
  dateExpires: Date;
288
288
  dateCreated: Date;
289
289
  dateUpdated: Date;
@@ -6,7 +6,7 @@ import V1 from "../../../V1";
6
6
  */
7
7
  export interface StreamMessageListInstanceCreateOptions {
8
8
  /** A JSON string that represents an arbitrary, schema-less object that makes up the Stream Message body. Can be up to 4 KiB in length. */
9
- data: any;
9
+ data: object;
10
10
  }
11
11
  export interface StreamMessageSolution {
12
12
  serviceSid: string;
@@ -34,7 +34,7 @@ export interface StreamMessageListInstance {
34
34
  export declare function StreamMessageListInstance(version: V1, serviceSid: string, streamSid: string): StreamMessageListInstance;
35
35
  interface StreamMessageResource {
36
36
  sid: string;
37
- data: any;
37
+ data: Record<string, object>;
38
38
  }
39
39
  export declare class StreamMessageInstance {
40
40
  protected _version: V1;
@@ -46,7 +46,7 @@ export declare class StreamMessageInstance {
46
46
  /**
47
47
  * An arbitrary, schema-less object that contains the Stream Message body. Can be up to 4 KiB in length.
48
48
  */
49
- data: any;
49
+ data: Record<string, object>;
50
50
  /**
51
51
  * Provide a user-friendly representation
52
52
  *
@@ -54,7 +54,7 @@ export declare class StreamMessageInstance {
54
54
  */
55
55
  toJSON(): {
56
56
  sid: string;
57
- data: any;
57
+ data: Record<string, object>;
58
58
  };
59
59
  [inspect.custom](_depth: any, options: InspectOptions): string;
60
60
  }
@@ -144,7 +144,7 @@ interface EventResource {
144
144
  actor_type: string;
145
145
  actor_url: string;
146
146
  description: string;
147
- event_data: any;
147
+ event_data: Record<string, object>;
148
148
  event_date: Date;
149
149
  event_date_ms: number;
150
150
  event_type: string;
@@ -185,7 +185,7 @@ export declare class EventInstance {
185
185
  /**
186
186
  * Data about the event. For more information, see [Event types](https://www.twilio.com/docs/taskrouter/api/event#event-types).
187
187
  */
188
- eventData: any;
188
+ eventData: Record<string, object>;
189
189
  /**
190
190
  * The time the event was sent, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
191
191
  */
@@ -250,7 +250,7 @@ export declare class EventInstance {
250
250
  actorType: string;
251
251
  actorUrl: string;
252
252
  description: string;
253
- eventData: any;
253
+ eventData: Record<string, object>;
254
254
  eventDate: Date;
255
255
  eventDateMs: number;
256
256
  eventType: string;
@@ -43,7 +43,7 @@ export declare function TaskQueueBulkRealTimeStatisticsListInstance(version: V1,
43
43
  interface TaskQueueBulkRealTimeStatisticsResource {
44
44
  account_sid: string;
45
45
  workspace_sid: string;
46
- task_queue_data: Array<any>;
46
+ task_queue_data: Array<Record<string, object>>;
47
47
  task_queue_response_count: number;
48
48
  url: string;
49
49
  }
@@ -61,7 +61,7 @@ export declare class TaskQueueBulkRealTimeStatisticsInstance {
61
61
  /**
62
62
  * The real-time statistics for each requested TaskQueue SID. `task_queue_data` returns the following attributes: `task_queue_sid`: The SID of the TaskQueue from which these statistics were calculated. `total_available_workers`: The total number of Workers available for Tasks in the TaskQueue. `total_eligible_workers`: The total number of Workers eligible for Tasks in the TaskQueue, regardless of their Activity state. `total_tasks`: The total number of Tasks. `longest_task_waiting_age`: The age of the longest waiting Task. `longest_task_waiting_sid`: The SID of the longest waiting Task. `tasks_by_status`: The number of Tasks grouped by their current status. `tasks_by_priority`: The number of Tasks grouped by priority. `activity_statistics`: The number of current Workers grouped by Activity.
63
63
  */
64
- taskQueueData: Array<any>;
64
+ taskQueueData: Array<Record<string, object>>;
65
65
  /**
66
66
  * The number of TaskQueue statistics received in task_queue_data.
67
67
  */
@@ -78,7 +78,7 @@ export declare class TaskQueueBulkRealTimeStatisticsInstance {
78
78
  toJSON(): {
79
79
  accountSid: string;
80
80
  workspaceSid: string;
81
- taskQueueData: any[];
81
+ taskQueueData: Record<string, object>[];
82
82
  taskQueueResponseCount: number;
83
83
  url: string;
84
84
  };
@@ -69,11 +69,11 @@ interface TaskQueueCumulativeStatisticsResource {
69
69
  reservations_timed_out: number;
70
70
  reservations_canceled: number;
71
71
  reservations_rescinded: number;
72
- split_by_wait_time: any;
72
+ split_by_wait_time: Record<string, object>;
73
73
  task_queue_sid: string;
74
- wait_duration_until_accepted: any;
75
- wait_duration_until_canceled: any;
76
- wait_duration_in_queue_until_accepted: any;
74
+ wait_duration_until_accepted: Record<string, object>;
75
+ wait_duration_until_canceled: Record<string, object>;
76
+ wait_duration_in_queue_until_accepted: Record<string, object>;
77
77
  tasks_canceled: number;
78
78
  tasks_completed: number;
79
79
  tasks_deleted: number;
@@ -130,7 +130,7 @@ export declare class TaskQueueCumulativeStatisticsInstance {
130
130
  /**
131
131
  * A list of objects that describe the number of Tasks canceled and reservations accepted above and below the thresholds specified in seconds.
132
132
  */
133
- splitByWaitTime: any;
133
+ splitByWaitTime: Record<string, object>;
134
134
  /**
135
135
  * The SID of the TaskQueue from which these statistics were calculated.
136
136
  */
@@ -138,15 +138,15 @@ export declare class TaskQueueCumulativeStatisticsInstance {
138
138
  /**
139
139
  * The wait duration statistics (`avg`, `min`, `max`, `total`) for Tasks accepted while in the TaskQueue. Calculation is based on the time when the Tasks were created. For transfers, the wait duration is counted from the moment ***the Task was created***, and not from when the transfer was initiated.
140
140
  */
141
- waitDurationUntilAccepted: any;
141
+ waitDurationUntilAccepted: Record<string, object>;
142
142
  /**
143
143
  * The wait duration statistics (`avg`, `min`, `max`, `total`) for Tasks canceled while in the TaskQueue.
144
144
  */
145
- waitDurationUntilCanceled: any;
145
+ waitDurationUntilCanceled: Record<string, object>;
146
146
  /**
147
147
  * The relative wait duration statistics (`avg`, `min`, `max`, `total`) for Tasks accepted while in the TaskQueue. Calculation is based on the time when the Tasks entered the TaskQueue.
148
148
  */
149
- waitDurationInQueueUntilAccepted: any;
149
+ waitDurationInQueueUntilAccepted: Record<string, object>;
150
150
  /**
151
151
  * The total number of Tasks canceled in the TaskQueue.
152
152
  */
@@ -209,11 +209,11 @@ export declare class TaskQueueCumulativeStatisticsInstance {
209
209
  reservationsTimedOut: number;
210
210
  reservationsCanceled: number;
211
211
  reservationsRescinded: number;
212
- splitByWaitTime: any;
212
+ splitByWaitTime: Record<string, object>;
213
213
  taskQueueSid: string;
214
- waitDurationUntilAccepted: any;
215
- waitDurationUntilCanceled: any;
216
- waitDurationInQueueUntilAccepted: any;
214
+ waitDurationUntilAccepted: Record<string, object>;
215
+ waitDurationUntilCanceled: Record<string, object>;
216
+ waitDurationInQueueUntilAccepted: Record<string, object>;
217
217
  tasksCanceled: number;
218
218
  tasksCompleted: number;
219
219
  tasksDeleted: number;