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
@@ -11,7 +11,7 @@ export interface SupportingDocumentContextUpdateOptions {
11
11
  /** The string that you assigned to describe the resource. */
12
12
  friendlyName?: string;
13
13
  /** The set of parameters that are the attributes of the Supporting Document resource which are derived Supporting Document Types. */
14
- attributes?: any;
14
+ attributes?: object;
15
15
  }
16
16
  /**
17
17
  * Options to pass to create a SupportingDocumentInstance
@@ -22,7 +22,7 @@ export interface SupportingDocumentListInstanceCreateOptions {
22
22
  /** The type of the Supporting Document. */
23
23
  type: string;
24
24
  /** The set of parameters that are the attributes of the Supporting Documents resource which are derived Supporting Document Types. */
25
- attributes?: any;
25
+ attributes?: object;
26
26
  }
27
27
  /**
28
28
  * Options to pass to each
@@ -126,9 +126,9 @@ interface SupportingDocumentResource {
126
126
  mime_type: string;
127
127
  status: SupportingDocumentStatus;
128
128
  failure_reason: string;
129
- errors: Array<any>;
129
+ errors: Array<Record<string, object>>;
130
130
  type: string;
131
- attributes: any;
131
+ attributes: Record<string, object>;
132
132
  date_created: Date;
133
133
  date_updated: Date;
134
134
  url: string;
@@ -162,7 +162,7 @@ export declare class SupportingDocumentInstance {
162
162
  /**
163
163
  * A list of errors that occurred during the registering RC Bundle
164
164
  */
165
- errors: Array<any>;
165
+ errors: Array<Record<string, object>>;
166
166
  /**
167
167
  * The type of the Supporting Document.
168
168
  */
@@ -170,7 +170,7 @@ export declare class SupportingDocumentInstance {
170
170
  /**
171
171
  * The set of parameters that are the attributes of the Supporting Documents resource which are listed in the Supporting Document Types.
172
172
  */
173
- attributes: any;
173
+ attributes: Record<string, object>;
174
174
  /**
175
175
  * The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
176
176
  */
@@ -229,9 +229,9 @@ export declare class SupportingDocumentInstance {
229
229
  mimeType: string;
230
230
  status: SupportingDocumentStatus;
231
231
  failureReason: string;
232
- errors: any[];
232
+ errors: Record<string, object>[];
233
233
  type: string;
234
- attributes: any;
234
+ attributes: Record<string, object>;
235
235
  dateCreated: Date;
236
236
  dateUpdated: Date;
237
237
  url: string;
@@ -75,7 +75,7 @@ interface SupportingDocumentTypeResource {
75
75
  sid: string;
76
76
  friendly_name: string;
77
77
  machine_name: string;
78
- fields: Array<any>;
78
+ fields: Array<Record<string, object>>;
79
79
  url: string;
80
80
  }
81
81
  export declare class SupportingDocumentTypeInstance {
@@ -98,7 +98,7 @@ export declare class SupportingDocumentTypeInstance {
98
98
  /**
99
99
  * The required information for creating a Supporting Document. The required fields will change as regulatory needs change and will differ for businesses and individuals.
100
100
  */
101
- fields: Array<any>;
101
+ fields: Array<Record<string, object>>;
102
102
  /**
103
103
  * The absolute URL of the Supporting Document Type resource.
104
104
  */
@@ -121,7 +121,7 @@ export declare class SupportingDocumentTypeInstance {
121
121
  sid: string;
122
122
  friendlyName: string;
123
123
  machineName: string;
124
- fields: any[];
124
+ fields: Record<string, object>[];
125
125
  url: string;
126
126
  };
127
127
  [inspect.custom](_depth: any, options: InspectOptions): string;
@@ -80,7 +80,7 @@ interface AvailableAddOnResource {
80
80
  friendly_name: string;
81
81
  description: string;
82
82
  pricing_type: string;
83
- configuration_schema: any;
83
+ configuration_schema: Record<string, object>;
84
84
  url: string;
85
85
  links: Record<string, string>;
86
86
  }
@@ -108,7 +108,7 @@ export declare class AvailableAddOnInstance {
108
108
  /**
109
109
  * The JSON object with the configuration that must be provided when installing a given Add-on.
110
110
  */
111
- configurationSchema: any;
111
+ configurationSchema: Record<string, object>;
112
112
  /**
113
113
  * The absolute URL of the resource.
114
114
  */
@@ -140,7 +140,7 @@ export declare class AvailableAddOnInstance {
140
140
  friendlyName: string;
141
141
  description: string;
142
142
  pricingType: string;
143
- configurationSchema: any;
143
+ configurationSchema: Record<string, object>;
144
144
  url: string;
145
145
  links: Record<string, string>;
146
146
  };
@@ -9,7 +9,7 @@ import { InstalledAddOnExtensionListInstance } from "./installedAddOn/installedA
9
9
  */
10
10
  export interface InstalledAddOnContextUpdateOptions {
11
11
  /** Valid JSON object that conform to the configuration schema exposed by the associated AvailableAddOn resource. This is only required by Add-ons that need to be configured */
12
- configuration?: any;
12
+ configuration?: object;
13
13
  /** An application-defined string that uniquely identifies the resource. This value must be unique within the Account. */
14
14
  uniqueName?: string;
15
15
  }
@@ -22,7 +22,7 @@ export interface InstalledAddOnListInstanceCreateOptions {
22
22
  /** Whether the Terms of Service were accepted. */
23
23
  acceptTermsOfService: boolean;
24
24
  /** The JSON object that represents the configuration of the new Add-on being installed. */
25
- configuration?: any;
25
+ configuration?: object;
26
26
  /** An application-defined string that uniquely identifies the resource. This value must be unique within the Account. */
27
27
  uniqueName?: string;
28
28
  }
@@ -129,7 +129,7 @@ interface InstalledAddOnResource {
129
129
  account_sid: string;
130
130
  friendly_name: string;
131
131
  description: string;
132
- configuration: any;
132
+ configuration: Record<string, object>;
133
133
  unique_name: string;
134
134
  date_created: Date;
135
135
  date_updated: Date;
@@ -160,7 +160,7 @@ export declare class InstalledAddOnInstance {
160
160
  /**
161
161
  * The JSON object that represents the current configuration of installed Add-on.
162
162
  */
163
- configuration: any;
163
+ configuration: Record<string, object>;
164
164
  /**
165
165
  * An application-defined string that uniquely identifies the resource.
166
166
  */
@@ -229,7 +229,7 @@ export declare class InstalledAddOnInstance {
229
229
  accountSid: string;
230
230
  friendlyName: string;
231
231
  description: string;
232
- configuration: any;
232
+ configuration: Record<string, object>;
233
233
  uniqueName: string;
234
234
  dateCreated: Date;
235
235
  dateUpdated: Date;
@@ -9,7 +9,7 @@ import { DocumentPermissionListInstance } from "./document/documentPermission";
9
9
  */
10
10
  export interface DocumentContextUpdateOptions {
11
11
  /** */
12
- data: any;
12
+ data: object;
13
13
  /** The If-Match HTTP request header */
14
14
  ifMatch?: string;
15
15
  }
@@ -20,7 +20,7 @@ export interface DocumentListInstanceCreateOptions {
20
20
  /** */
21
21
  uniqueName?: string;
22
22
  /** */
23
- data?: any;
23
+ data?: object;
24
24
  }
25
25
  /**
26
26
  * Options to pass to each
@@ -121,7 +121,7 @@ interface DocumentResource {
121
121
  url: string;
122
122
  links: Record<string, string>;
123
123
  revision: string;
124
- data: any;
124
+ data: Record<string, object>;
125
125
  date_created: Date;
126
126
  date_updated: Date;
127
127
  created_by: string;
@@ -138,7 +138,7 @@ export declare class DocumentInstance {
138
138
  url: string;
139
139
  links: Record<string, string>;
140
140
  revision: string;
141
- data: any;
141
+ data: Record<string, object>;
142
142
  dateCreated: Date;
143
143
  dateUpdated: Date;
144
144
  createdBy: string;
@@ -185,7 +185,7 @@ export declare class DocumentInstance {
185
185
  url: string;
186
186
  links: Record<string, string>;
187
187
  revision: string;
188
- data: any;
188
+ data: Record<string, object>;
189
189
  dateCreated: Date;
190
190
  dateUpdated: Date;
191
191
  createdBy: string;
@@ -17,7 +17,7 @@ export interface SyncListItemContextRemoveOptions {
17
17
  */
18
18
  export interface SyncListItemContextUpdateOptions {
19
19
  /** */
20
- data: any;
20
+ data: object;
21
21
  /** The If-Match HTTP request header */
22
22
  ifMatch?: string;
23
23
  }
@@ -26,7 +26,7 @@ export interface SyncListItemContextUpdateOptions {
26
26
  */
27
27
  export interface SyncListItemListInstanceCreateOptions {
28
28
  /** */
29
- data: any;
29
+ data: object;
30
30
  }
31
31
  /**
32
32
  * Options to pass to each
@@ -151,7 +151,7 @@ interface SyncListItemResource {
151
151
  list_sid: string;
152
152
  url: string;
153
153
  revision: string;
154
- data: any;
154
+ data: Record<string, object>;
155
155
  date_created: Date;
156
156
  date_updated: Date;
157
157
  created_by: string;
@@ -167,7 +167,7 @@ export declare class SyncListItemInstance {
167
167
  listSid: string;
168
168
  url: string;
169
169
  revision: string;
170
- data: any;
170
+ data: Record<string, object>;
171
171
  dateCreated: Date;
172
172
  dateUpdated: Date;
173
173
  createdBy: string;
@@ -218,7 +218,7 @@ export declare class SyncListItemInstance {
218
218
  listSid: string;
219
219
  url: string;
220
220
  revision: string;
221
- data: any;
221
+ data: Record<string, object>;
222
222
  dateCreated: Date;
223
223
  dateUpdated: Date;
224
224
  createdBy: string;
@@ -17,7 +17,7 @@ export interface SyncMapItemContextRemoveOptions {
17
17
  */
18
18
  export interface SyncMapItemContextUpdateOptions {
19
19
  /** */
20
- data: any;
20
+ data: object;
21
21
  /** The If-Match HTTP request header */
22
22
  ifMatch?: string;
23
23
  }
@@ -28,7 +28,7 @@ export interface SyncMapItemListInstanceCreateOptions {
28
28
  /** */
29
29
  key: string;
30
30
  /** */
31
- data: any;
31
+ data: object;
32
32
  }
33
33
  /**
34
34
  * Options to pass to each
@@ -153,7 +153,7 @@ interface SyncMapItemResource {
153
153
  map_sid: string;
154
154
  url: string;
155
155
  revision: string;
156
- data: any;
156
+ data: Record<string, object>;
157
157
  date_created: Date;
158
158
  date_updated: Date;
159
159
  created_by: string;
@@ -169,7 +169,7 @@ export declare class SyncMapItemInstance {
169
169
  mapSid: string;
170
170
  url: string;
171
171
  revision: string;
172
- data: any;
172
+ data: Record<string, object>;
173
173
  dateCreated: Date;
174
174
  dateUpdated: Date;
175
175
  createdBy: string;
@@ -220,7 +220,7 @@ export declare class SyncMapItemInstance {
220
220
  mapSid: string;
221
221
  url: string;
222
222
  revision: string;
223
- data: any;
223
+ data: Record<string, object>;
224
224
  dateCreated: Date;
225
225
  dateUpdated: Date;
226
226
  createdBy: string;
@@ -55,11 +55,11 @@ interface UsageResource {
55
55
  sim_sid: string;
56
56
  sim_unique_name: string;
57
57
  account_sid: string;
58
- period: any;
59
- commands_usage: any;
60
- commands_costs: any;
61
- data_usage: any;
62
- data_costs: any;
58
+ period: Record<string, object>;
59
+ commands_usage: Record<string, object>;
60
+ commands_costs: Record<string, object>;
61
+ data_usage: Record<string, object>;
62
+ data_costs: Record<string, object>;
63
63
  url: string;
64
64
  }
65
65
  export declare class UsageInstance {
@@ -70,11 +70,11 @@ export declare class UsageInstance {
70
70
  simSid: string;
71
71
  simUniqueName: string;
72
72
  accountSid: string;
73
- period: any;
74
- commandsUsage: any;
75
- commandsCosts: any;
76
- dataUsage: any;
77
- dataCosts: any;
73
+ period: Record<string, object>;
74
+ commandsUsage: Record<string, object>;
75
+ commandsCosts: Record<string, object>;
76
+ dataUsage: Record<string, object>;
77
+ dataCosts: Record<string, object>;
78
78
  url: string;
79
79
  private get _proxy();
80
80
  /**
@@ -103,11 +103,11 @@ export declare class UsageInstance {
103
103
  simSid: string;
104
104
  simUniqueName: string;
105
105
  accountSid: string;
106
- period: any;
107
- commandsUsage: any;
108
- commandsCosts: any;
109
- dataUsage: any;
110
- dataCosts: any;
106
+ period: Record<string, object>;
107
+ commandsUsage: Record<string, object>;
108
+ commandsCosts: Record<string, object>;
109
+ dataUsage: Record<string, object>;
110
+ dataCosts: Record<string, object>;
111
111
  url: string;
112
112
  };
113
113
  [inspect.custom](_depth: any, options: InspectOptions): string;
@@ -33,7 +33,7 @@ export interface SessionListInstanceCreateOptions {
33
33
  /** */
34
34
  status?: SessionStatus;
35
35
  /** The Participant objects to include in the new session. */
36
- participants?: Array<any>;
36
+ participants?: Array<object>;
37
37
  }
38
38
  /**
39
39
  * Options to pass to each
@@ -237,7 +237,7 @@ function SessionListInstance(version, serviceSid) {
237
237
  if (params["status"] !== undefined)
238
238
  data["Status"] = params["status"];
239
239
  if (params["participants"] !== undefined)
240
- data["Participants"] = serialize.map(params["participants"], (e) => serialize.object(e));
240
+ data["Participants"] = serialize.map(params["participants"], (e) => e);
241
241
  const headers = {};
242
242
  headers["Content-Type"] = "application/x-www-form-urlencoded";
243
243
  headers["Accept"] = "application/json";
@@ -105,9 +105,9 @@ interface BuildResource {
105
105
  account_sid: string;
106
106
  service_sid: string;
107
107
  status: BuildStatus;
108
- asset_versions: Array<any>;
109
- function_versions: Array<any>;
110
- dependencies: Array<any>;
108
+ asset_versions: Array<Record<string, object>>;
109
+ function_versions: Array<Record<string, object>>;
110
+ dependencies: Array<Record<string, object>>;
111
111
  runtime: BuildRuntime;
112
112
  date_created: Date;
113
113
  date_updated: Date;
@@ -135,15 +135,15 @@ export declare class BuildInstance {
135
135
  /**
136
136
  * The list of Asset Version resource SIDs that are included in the Build.
137
137
  */
138
- assetVersions: Array<any>;
138
+ assetVersions: Array<Record<string, object>>;
139
139
  /**
140
140
  * The list of Function Version resource SIDs that are included in the Build.
141
141
  */
142
- functionVersions: Array<any>;
142
+ functionVersions: Array<Record<string, object>>;
143
143
  /**
144
144
  * A list of objects that describe the Dependencies included in the Build. Each object contains the `name` and `version` of the dependency.
145
145
  */
146
- dependencies: Array<any>;
146
+ dependencies: Array<Record<string, object>>;
147
147
  runtime: BuildRuntime;
148
148
  /**
149
149
  * The date and time in GMT when the Build resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
@@ -189,9 +189,9 @@ export declare class BuildInstance {
189
189
  accountSid: string;
190
190
  serviceSid: string;
191
191
  status: BuildStatus;
192
- assetVersions: any[];
193
- functionVersions: any[];
194
- dependencies: any[];
192
+ assetVersions: Record<string, object>[];
193
+ functionVersions: Record<string, object>[];
194
+ dependencies: Record<string, object>[];
195
195
  runtime: BuildRuntime;
196
196
  dateCreated: Date;
197
197
  dateUpdated: Date;
@@ -36,7 +36,7 @@ export declare class EngagementContextContextImpl implements EngagementContextCo
36
36
  }
37
37
  interface EngagementContextResource {
38
38
  account_sid: string;
39
- context: any;
39
+ context: Record<string, object>;
40
40
  engagement_sid: string;
41
41
  flow_sid: string;
42
42
  url: string;
@@ -53,7 +53,7 @@ export declare class EngagementContextInstance {
53
53
  /**
54
54
  * As your flow executes, we save the state in what\'s called the Flow Context. Any data in the flow context can be accessed by your widgets as variables, either in configuration fields or in text areas as variable substitution.
55
55
  */
56
- context: any;
56
+ context: Record<string, object>;
57
57
  /**
58
58
  * The SID of the Engagement.
59
59
  */
@@ -82,7 +82,7 @@ export declare class EngagementContextInstance {
82
82
  */
83
83
  toJSON(): {
84
84
  accountSid: string;
85
- context: any;
85
+ context: Record<string, object>;
86
86
  engagementSid: string;
87
87
  flowSid: string;
88
88
  url: string;
@@ -37,7 +37,7 @@ export declare class StepContextContextImpl implements StepContextContext {
37
37
  }
38
38
  interface StepContextResource {
39
39
  account_sid: string;
40
- context: any;
40
+ context: Record<string, object>;
41
41
  engagement_sid: string;
42
42
  flow_sid: string;
43
43
  step_sid: string;
@@ -55,7 +55,7 @@ export declare class StepContextInstance {
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 Engagement.
61
61
  */
@@ -88,7 +88,7 @@ export declare class StepContextInstance {
88
88
  */
89
89
  toJSON(): {
90
90
  accountSid: string;
91
- context: any;
91
+ context: Record<string, object>;
92
92
  engagementSid: string;
93
93
  flowSid: string;
94
94
  stepSid: string;
@@ -83,7 +83,7 @@ interface StepResource {
83
83
  flow_sid: string;
84
84
  engagement_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 StepInstance {
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 StepInstance {
168
168
  flowSid: string;
169
169
  engagementSid: 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;
@@ -15,7 +15,7 @@ export interface EngagementListInstanceCreateOptions {
15
15
  /** The Twilio phone number to send messages or initiate calls from during the Flow Engagement. Available as variable `{{flow.channel.address}}` */
16
16
  from: string;
17
17
  /** A JSON string we will add to your flow\\\'s context and that you can access as variables inside your flow. For example, if you pass in `Parameters={\\\'name\\\':\\\'Zeke\\\'}` then inside a widget you can reference the variable `{{flow.data.name}}` which will return the string \\\'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 your JSON string. */
18
- parameters?: any;
18
+ parameters?: object;
19
19
  }
20
20
  /**
21
21
  * Options to pass to each
@@ -107,7 +107,7 @@ interface EngagementResource {
107
107
  flow_sid: string;
108
108
  contact_sid: string;
109
109
  contact_channel_address: string;
110
- context: any;
110
+ context: Record<string, object>;
111
111
  status: EngagementStatus;
112
112
  date_created: Date;
113
113
  date_updated: Date;
@@ -142,7 +142,7 @@ export declare class EngagementInstance {
142
142
  /**
143
143
  * The current state of the execution flow. As your flow executes, we save the state in a flow context. Your widgets can access the data in the flow context as variables, either in configuration fields or in text areas as variable substitution.
144
144
  */
145
- context: any;
145
+ context: Record<string, object>;
146
146
  status: EngagementStatus;
147
147
  /**
148
148
  * The date and time in GMT when the Engagement was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
@@ -196,7 +196,7 @@ export declare class EngagementInstance {
196
196
  flowSid: string;
197
197
  contactSid: string;
198
198
  contactChannelAddress: string;
199
- context: any;
199
+ context: Record<string, object>;
200
200
  status: EngagementStatus;
201
201
  dateCreated: Date;
202
202
  dateUpdated: Date;
@@ -36,7 +36,7 @@ export declare class ExecutionContextContextImpl implements ExecutionContextCont
36
36
  }
37
37
  interface ExecutionContextResource {
38
38
  account_sid: string;
39
- context: any;
39
+ context: Record<string, object>;
40
40
  flow_sid: string;
41
41
  execution_sid: string;
42
42
  url: string;
@@ -53,7 +53,7 @@ export declare class ExecutionContextInstance {
53
53
  /**
54
54
  * 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.
55
55
  */
56
- context: any;
56
+ context: Record<string, object>;
57
57
  /**
58
58
  * The SID of the Flow.
59
59
  */
@@ -82,7 +82,7 @@ export declare class ExecutionContextInstance {
82
82
  */
83
83
  toJSON(): {
84
84
  accountSid: string;
85
- context: any;
85
+ context: Record<string, object>;
86
86
  flowSid: string;
87
87
  executionSid: string;
88
88
  url: string;
@@ -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
@@ -136,7 +136,7 @@ interface ExecutionResource {
136
136
  flow_sid: string;
137
137
  contact_sid: string;
138
138
  contact_channel_address: string;
139
- context: any;
139
+ context: Record<string, object>;
140
140
  status: ExecutionStatus;
141
141
  date_created: Date;
142
142
  date_updated: Date;
@@ -171,7 +171,7 @@ export declare class ExecutionInstance {
171
171
  /**
172
172
  * 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.
173
173
  */
174
- context: any;
174
+ context: Record<string, object>;
175
175
  status: ExecutionStatus;
176
176
  /**
177
177
  * The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
@@ -234,7 +234,7 @@ export declare class ExecutionInstance {
234
234
  flowSid: string;
235
235
  contactSid: string;
236
236
  contactChannelAddress: string;
237
- context: any;
237
+ context: Record<string, object>;
238
238
  status: ExecutionStatus;
239
239
  dateCreated: Date;
240
240
  dateUpdated: Date;
@@ -36,7 +36,7 @@ export declare class ExecutionContextContextImpl implements ExecutionContextCont
36
36
  }
37
37
  interface ExecutionContextResource {
38
38
  account_sid: string;
39
- context: any;
39
+ context: Record<string, object>;
40
40
  flow_sid: string;
41
41
  execution_sid: string;
42
42
  url: string;
@@ -53,7 +53,7 @@ export declare class ExecutionContextInstance {
53
53
  /**
54
54
  * 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.
55
55
  */
56
- context: any;
56
+ context: Record<string, object>;
57
57
  /**
58
58
  * The SID of the Flow.
59
59
  */
@@ -82,7 +82,7 @@ export declare class ExecutionContextInstance {
82
82
  */
83
83
  toJSON(): {
84
84
  accountSid: string;
85
- context: any;
85
+ context: Record<string, object>;
86
86
  flowSid: string;
87
87
  executionSid: string;
88
88
  url: string;