twilio 5.7.1 → 5.7.3

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 (213) hide show
  1. package/lib/rest/Twilio.d.ts +0 -10
  2. package/lib/rest/Twilio.js +0 -11
  3. package/lib/rest/accounts/v1/bulkConsents.d.ts +4 -4
  4. package/lib/rest/accounts/v1/bulkConsents.js +1 -1
  5. package/lib/rest/accounts/v1/bulkContacts.d.ts +4 -4
  6. package/lib/rest/accounts/v1/bulkContacts.js +1 -1
  7. package/lib/rest/api/v2010/account/address/dependentPhoneNumber.d.ts +3 -3
  8. package/lib/rest/api/v2010/account/call/event.d.ts +6 -6
  9. package/lib/rest/api/v2010/account/call/payment.d.ts +1 -1
  10. package/lib/rest/api/v2010/account/call/recording.d.ts +3 -3
  11. package/lib/rest/api/v2010/account/conference/recording.d.ts +3 -3
  12. package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.d.ts +3 -3
  13. package/lib/rest/api/v2010/account/recording.d.ts +3 -3
  14. package/lib/rest/bulkexports/v1/export/day.d.ts +3 -3
  15. package/lib/rest/bulkexports/v1/export/exportCustomJob.d.ts +3 -3
  16. package/lib/rest/bulkexports/v1/export/job.d.ts +3 -3
  17. package/lib/rest/chat/v1/service.d.ts +9 -9
  18. package/lib/rest/chat/v2/service/channel/message.d.ts +3 -3
  19. package/lib/rest/chat/v2/service/channel/webhook.d.ts +3 -3
  20. package/lib/rest/chat/v2/service.d.ts +9 -9
  21. package/lib/rest/conversations/v1/addressConfiguration.d.ts +4 -4
  22. package/lib/rest/conversations/v1/conversation/message.d.ts +6 -6
  23. package/lib/rest/conversations/v1/conversation/participant.d.ts +3 -3
  24. package/lib/rest/conversations/v1/conversation/webhook.d.ts +4 -4
  25. package/lib/rest/conversations/v1/conversation.d.ts +6 -6
  26. package/lib/rest/conversations/v1/conversationWithParticipants.d.ts +6 -6
  27. package/lib/rest/conversations/v1/participantConversation.d.ts +6 -6
  28. package/lib/rest/conversations/v1/service/configuration/notification.d.ts +9 -9
  29. package/lib/rest/conversations/v1/service/conversation/message.d.ts +6 -6
  30. package/lib/rest/conversations/v1/service/conversation/participant.d.ts +3 -3
  31. package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +4 -4
  32. package/lib/rest/conversations/v1/service/conversation.d.ts +6 -6
  33. package/lib/rest/conversations/v1/service/conversationWithParticipants.d.ts +6 -6
  34. package/lib/rest/conversations/v1/service/participantConversation.d.ts +6 -6
  35. package/lib/rest/conversations/v1/service/user/userConversation.d.ts +3 -3
  36. package/lib/rest/conversations/v1/user/userConversation.d.ts +3 -3
  37. package/lib/rest/events/v1/sink.d.ts +4 -4
  38. package/lib/rest/events/v1/subscription.d.ts +1 -1
  39. package/lib/rest/events/v1/subscription.js +1 -1
  40. package/lib/rest/flexApi/v1/assessments.d.ts +3 -3
  41. package/lib/rest/flexApi/v1/configuration.d.ts +66 -66
  42. package/lib/rest/flexApi/v1/flexFlow.d.ts +3 -3
  43. package/lib/rest/flexApi/v1/insightsAssessmentsComment.d.ts +3 -3
  44. package/lib/rest/flexApi/v1/insightsConversations.d.ts +3 -3
  45. package/lib/rest/flexApi/v1/insightsQuestionnaires.d.ts +3 -3
  46. package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.d.ts +6 -6
  47. package/lib/rest/flexApi/v1/insightsSegments.d.ts +9 -9
  48. package/lib/rest/flexApi/v1/insightsSettingsAnswerSets.d.ts +9 -9
  49. package/lib/rest/flexApi/v1/insightsSettingsComment.d.ts +3 -3
  50. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.d.ts +4 -4
  51. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +5 -5
  52. package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +1 -1
  53. package/lib/rest/flexApi/v1/interaction.d.ts +8 -8
  54. package/lib/rest/flexApi/v1/pluginConfiguration.d.ts +1 -1
  55. package/lib/rest/flexApi/v1/pluginConfiguration.js +1 -1
  56. package/lib/rest/intelligence/v2/customOperator.d.ts +5 -5
  57. package/lib/rest/intelligence/v2/operator.d.ts +3 -3
  58. package/lib/rest/intelligence/v2/operatorType.d.ts +3 -3
  59. package/lib/rest/intelligence/v2/prebuiltOperator.d.ts +3 -3
  60. package/lib/rest/intelligence/v2/transcript/operatorResult.d.ts +15 -15
  61. package/lib/rest/intelligence/v2/transcript/sentence.d.ts +3 -3
  62. package/lib/rest/intelligence/v2/transcript.d.ts +4 -4
  63. package/lib/rest/ipMessaging/v1/service.d.ts +9 -9
  64. package/lib/rest/ipMessaging/v2/service/channel/message.d.ts +3 -3
  65. package/lib/rest/ipMessaging/v2/service/channel/webhook.d.ts +3 -3
  66. package/lib/rest/ipMessaging/v2/service.d.ts +9 -9
  67. package/lib/rest/lookups/V2.d.ts +20 -0
  68. package/lib/rest/lookups/V2.js +25 -0
  69. package/lib/rest/lookups/v2/bucket.d.ts +205 -0
  70. package/lib/rest/lookups/v2/bucket.js +187 -0
  71. package/lib/rest/lookups/v2/lookupOverride.d.ts +279 -0
  72. package/lib/rest/lookups/v2/lookupOverride.js +225 -0
  73. package/lib/rest/lookups/v2/query.d.ts +175 -0
  74. package/lib/rest/lookups/v2/query.js +123 -0
  75. package/lib/rest/lookups/v2/rateLimit.d.ts +83 -0
  76. package/lib/rest/lookups/v2/rateLimit.js +82 -0
  77. package/lib/rest/messaging/v1/service/usAppToPerson.d.ts +3 -3
  78. package/lib/rest/messaging/v1/service/usAppToPersonUsecase.d.ts +3 -3
  79. package/lib/rest/messaging/v1/service.d.ts +3 -3
  80. package/lib/rest/messaging/v1/tollfreeVerification.d.ts +3 -3
  81. package/lib/rest/messaging/v1/usecase.d.ts +3 -3
  82. package/lib/rest/messaging/v2/channelsSender.d.ts +49 -4
  83. package/lib/rest/messaging/v2/channelsSender.js +14 -2
  84. package/lib/rest/monitor/v1/event.d.ts +3 -3
  85. package/lib/rest/notify/v1/service/notification.d.ts +28 -28
  86. package/lib/rest/numbers/v1/bulkEligibility.d.ts +3 -3
  87. package/lib/rest/numbers/v1/eligibility.d.ts +3 -3
  88. package/lib/rest/numbers/v1/portingPortIn.d.ts +6 -6
  89. package/lib/rest/numbers/v2/bulkHostedNumberOrder.d.ts +3 -3
  90. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +3 -3
  91. package/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +5 -5
  92. package/lib/rest/numbers/v2/regulatoryCompliance/endUserType.d.ts +3 -3
  93. package/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +3 -3
  94. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +8 -8
  95. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.d.ts +3 -3
  96. package/lib/rest/preview/marketplace/availableAddOn.d.ts +3 -3
  97. package/lib/rest/preview/marketplace/installedAddOn.d.ts +5 -5
  98. package/lib/rest/preview/wireless/sim/usage.d.ts +15 -15
  99. package/lib/rest/proxy/v1/service/session.d.ts +1 -1
  100. package/lib/rest/proxy/v1/service/session.js +1 -1
  101. package/lib/rest/proxy/v1/service.d.ts +0 -8
  102. package/lib/rest/proxy/v1/service.js +0 -13
  103. package/lib/rest/serverless/v1/service/build.d.ts +9 -9
  104. package/lib/rest/serverless/v1/service/environment/log.d.ts +6 -7
  105. package/lib/rest/studio/v1/flow/engagement/engagementContext.d.ts +3 -3
  106. package/lib/rest/studio/v1/flow/engagement/step/stepContext.d.ts +3 -3
  107. package/lib/rest/studio/v1/flow/engagement/step.d.ts +3 -3
  108. package/lib/rest/studio/v1/flow/engagement.d.ts +4 -4
  109. package/lib/rest/studio/v1/flow/execution/executionContext.d.ts +3 -3
  110. package/lib/rest/studio/v1/flow/execution/executionStep/executionStepContext.d.ts +3 -3
  111. package/lib/rest/studio/v1/flow/execution/executionStep.d.ts +3 -3
  112. package/lib/rest/studio/v1/flow/execution.d.ts +4 -4
  113. package/lib/rest/studio/v2/flow/execution/executionContext.d.ts +3 -3
  114. package/lib/rest/studio/v2/flow/execution/executionStep/executionStepContext.d.ts +3 -3
  115. package/lib/rest/studio/v2/flow/execution/executionStep.d.ts +3 -3
  116. package/lib/rest/studio/v2/flow/execution.d.ts +4 -4
  117. package/lib/rest/studio/v2/flow/flowRevision.d.ts +6 -6
  118. package/lib/rest/studio/v2/flow.d.ts +11 -11
  119. package/lib/rest/studio/v2/flowValidate.d.ts +1 -1
  120. package/lib/rest/supersim/v1/network.d.ts +3 -3
  121. package/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.d.ts +3 -3
  122. package/lib/rest/supersim/v1/settingsUpdate.d.ts +3 -3
  123. package/lib/rest/supersim/v1/usageRecord.d.ts +3 -3
  124. package/lib/rest/sync/v1/service/document.d.ts +2 -2
  125. package/lib/rest/sync/v1/service/syncList/syncListItem.d.ts +2 -2
  126. package/lib/rest/sync/v1/service/syncMap/syncMapItem.d.ts +2 -2
  127. package/lib/rest/sync/v1/service/syncStream/streamMessage.d.ts +1 -1
  128. package/lib/rest/taskrouter/v1/workspace/event.d.ts +3 -3
  129. package/lib/rest/taskrouter/v1/workspace/task.d.ts +1 -1
  130. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueBulkRealTimeStatistics.d.ts +3 -3
  131. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.d.ts +12 -12
  132. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueRealTimeStatistics.d.ts +9 -9
  133. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueStatistics.d.ts +6 -6
  134. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.d.ts +6 -6
  135. package/lib/rest/taskrouter/v1/workspace/worker/workerStatistics.d.ts +3 -3
  136. package/lib/rest/taskrouter/v1/workspace/worker/workersCumulativeStatistics.d.ts +3 -3
  137. package/lib/rest/taskrouter/v1/workspace/worker/workersRealTimeStatistics.d.ts +3 -3
  138. package/lib/rest/taskrouter/v1/workspace/worker/workersStatistics.d.ts +6 -6
  139. package/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.d.ts +9 -9
  140. package/lib/rest/taskrouter/v1/workspace/workflow/workflowRealTimeStatistics.d.ts +6 -6
  141. package/lib/rest/taskrouter/v1/workspace/workflow/workflowStatistics.d.ts +6 -6
  142. package/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.d.ts +9 -9
  143. package/lib/rest/taskrouter/v1/workspace/workspaceRealTimeStatistics.d.ts +9 -9
  144. package/lib/rest/taskrouter/v1/workspace/workspaceStatistics.d.ts +6 -6
  145. package/lib/rest/trunking/v1/trunk.d.ts +9 -3
  146. package/lib/rest/trunking/v1/trunk.js +2 -0
  147. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +3 -3
  148. package/lib/rest/trusthub/v1/customerProfiles.d.ts +3 -3
  149. package/lib/rest/trusthub/v1/endUser.d.ts +5 -5
  150. package/lib/rest/trusthub/v1/endUserType.d.ts +3 -3
  151. package/lib/rest/trusthub/v1/policies.d.ts +3 -3
  152. package/lib/rest/trusthub/v1/supportingDocument.d.ts +5 -5
  153. package/lib/rest/trusthub/v1/supportingDocumentType.d.ts +3 -3
  154. package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +3 -3
  155. package/lib/rest/trusthub/v1/trustProducts.d.ts +3 -3
  156. package/lib/rest/verify/v2/form.d.ts +6 -6
  157. package/lib/rest/verify/v2/service/entity/challenge.d.ts +12 -12
  158. package/lib/rest/verify/v2/service/entity/challenge.js +1 -1
  159. package/lib/rest/verify/v2/service/entity/factor.d.ts +6 -6
  160. package/lib/rest/verify/v2/service/entity/newFactor.d.ts +10 -10
  161. package/lib/rest/verify/v2/service/verification.d.ts +11 -11
  162. package/lib/rest/verify/v2/service/verificationCheck.d.ts +3 -3
  163. package/lib/rest/verify/v2/service.d.ts +9 -9
  164. package/lib/rest/verify/v2/template.d.ts +3 -3
  165. package/lib/rest/verify/v2/verificationAttempt.d.ts +11 -11
  166. package/lib/rest/verify/v2/verificationAttemptsSummary.d.ts +2 -2
  167. package/lib/rest/video/v1/composition.d.ts +1 -1
  168. package/lib/rest/video/v1/compositionHook.d.ts +2 -2
  169. package/lib/rest/video/v1/room/participant/subscribeRules.d.ts +1 -1
  170. package/lib/rest/video/v1/room/recordingRules.d.ts +1 -1
  171. package/lib/rest/video/v1/room/transcriptions.d.ts +316 -0
  172. package/lib/rest/{proxy/v1/service/shortCode.js → video/v1/room/transcriptions.js} +61 -78
  173. package/lib/rest/video/v1/room.d.ts +9 -1
  174. package/lib/rest/video/v1/room.js +13 -0
  175. package/lib/rest/wireless/v1/sim/dataSession.d.ts +3 -3
  176. package/lib/rest/wireless/v1/sim/usageRecord.d.ts +9 -9
  177. package/lib/rest/wireless/v1/usageRecord.d.ts +9 -9
  178. package/lib/twiml/VoiceResponse.d.ts +31 -0
  179. package/lib/twiml/VoiceResponse.js +18 -0
  180. package/package.json +1 -1
  181. package/lib/rest/Knowledge.d.ts +0 -4
  182. package/lib/rest/Knowledge.js +0 -8
  183. package/lib/rest/KnowledgeBase.d.ts +0 -13
  184. package/lib/rest/KnowledgeBase.js +0 -31
  185. package/lib/rest/Microvisor.d.ts +0 -14
  186. package/lib/rest/Microvisor.js +0 -22
  187. package/lib/rest/MicrovisorBase.d.ts +0 -13
  188. package/lib/rest/MicrovisorBase.js +0 -31
  189. package/lib/rest/knowledge/V1.d.ts +0 -15
  190. package/lib/rest/knowledge/V1.js +0 -36
  191. package/lib/rest/knowledge/v1/knowledge/chunk.d.ts +0 -167
  192. package/lib/rest/knowledge/v1/knowledge/chunk.js +0 -131
  193. package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.d.ts +0 -101
  194. package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.js +0 -118
  195. package/lib/rest/knowledge/v1/knowledge.d.ts +0 -412
  196. package/lib/rest/knowledge/v1/knowledge.js +0 -302
  197. package/lib/rest/microvisor/V1.d.ts +0 -30
  198. package/lib/rest/microvisor/V1.js +0 -56
  199. package/lib/rest/microvisor/v1/accountConfig.d.ts +0 -263
  200. package/lib/rest/microvisor/v1/accountConfig.js +0 -254
  201. package/lib/rest/microvisor/v1/accountSecret.d.ts +0 -257
  202. package/lib/rest/microvisor/v1/accountSecret.js +0 -252
  203. package/lib/rest/microvisor/v1/app/appManifest.d.ts +0 -101
  204. package/lib/rest/microvisor/v1/app/appManifest.js +0 -118
  205. package/lib/rest/microvisor/v1/app.d.ts +0 -251
  206. package/lib/rest/microvisor/v1/app.js +0 -222
  207. package/lib/rest/microvisor/v1/device/deviceConfig.d.ts +0 -271
  208. package/lib/rest/microvisor/v1/device/deviceConfig.js +0 -262
  209. package/lib/rest/microvisor/v1/device/deviceSecret.d.ts +0 -265
  210. package/lib/rest/microvisor/v1/device/deviceSecret.js +0 -260
  211. package/lib/rest/microvisor/v1/device.d.ts +0 -299
  212. package/lib/rest/microvisor/v1/device.js +0 -250
  213. package/lib/rest/proxy/v1/service/shortCode.d.ts +0 -316
@@ -14,7 +14,7 @@ export interface SupportingDocumentContextUpdateOptions {
14
14
  /** The string that you assigned to describe the resource. */
15
15
  friendlyName?: string;
16
16
  /** The set of parameters that are the attributes of the Supporting Document resource which are derived Supporting Document Types. */
17
- attributes?: object;
17
+ attributes?: any;
18
18
  }
19
19
  /**
20
20
  * Options to pass to create a SupportingDocumentInstance
@@ -25,7 +25,7 @@ export interface SupportingDocumentListInstanceCreateOptions {
25
25
  /** The type of the Supporting Document. */
26
26
  type: string;
27
27
  /** The set of parameters that are the attributes of the Supporting Documents resource which are derived Supporting Document Types. */
28
- attributes?: object;
28
+ attributes?: any;
29
29
  }
30
30
  /**
31
31
  * Options to pass to each
@@ -129,9 +129,9 @@ interface SupportingDocumentResource {
129
129
  mime_type: string;
130
130
  status: SupportingDocumentStatus;
131
131
  failure_reason: string;
132
- errors: Array<Record<string, object>>;
132
+ errors: Array<any>;
133
133
  type: string;
134
- attributes: Record<string, object>;
134
+ attributes: any;
135
135
  date_created: Date;
136
136
  date_updated: Date;
137
137
  url: string;
@@ -165,7 +165,7 @@ export declare class SupportingDocumentInstance {
165
165
  /**
166
166
  * A list of errors that occurred during the registering RC Bundle
167
167
  */
168
- errors: Array<Record<string, object>>;
168
+ errors: Array<any>;
169
169
  /**
170
170
  * The type of the Supporting Document.
171
171
  */
@@ -173,7 +173,7 @@ export declare class SupportingDocumentInstance {
173
173
  /**
174
174
  * The set of parameters that are the attributes of the Supporting Documents resource which are listed in the Supporting Document Types.
175
175
  */
176
- attributes: Record<string, object>;
176
+ attributes: any;
177
177
  /**
178
178
  * The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
179
179
  */
@@ -232,9 +232,9 @@ export declare class SupportingDocumentInstance {
232
232
  mimeType: string;
233
233
  status: SupportingDocumentStatus;
234
234
  failureReason: string;
235
- errors: Record<string, object>[];
235
+ errors: any[];
236
236
  type: string;
237
- attributes: Record<string, object>;
237
+ attributes: any;
238
238
  dateCreated: Date;
239
239
  dateUpdated: Date;
240
240
  url: string;
@@ -75,7 +75,7 @@ interface SupportingDocumentTypeResource {
75
75
  sid: string;
76
76
  friendly_name: string;
77
77
  machine_name: string;
78
- fields: Array<Record<string, object>>;
78
+ fields: Array<any>;
79
79
  url: string;
80
80
  }
81
81
  export declare class 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<Record<string, object>>;
101
+ fields: Array<any>;
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: Record<string, object>[];
124
+ fields: any[];
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: Record<string, object>;
83
+ configuration_schema: any;
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: Record<string, object>;
111
+ configurationSchema: any;
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: Record<string, object>;
143
+ configurationSchema: any;
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?: object;
12
+ configuration?: any;
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?: object;
25
+ configuration?: any;
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: Record<string, object>;
132
+ configuration: any;
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: Record<string, object>;
163
+ configuration: any;
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: Record<string, object>;
232
+ configuration: any;
233
233
  uniqueName: string;
234
234
  dateCreated: Date;
235
235
  dateUpdated: Date;
@@ -55,11 +55,11 @@ interface UsageResource {
55
55
  sim_sid: string;
56
56
  sim_unique_name: string;
57
57
  account_sid: string;
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>;
58
+ period: any;
59
+ commands_usage: any;
60
+ commands_costs: any;
61
+ data_usage: any;
62
+ data_costs: any;
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: Record<string, object>;
74
- commandsUsage: Record<string, object>;
75
- commandsCosts: Record<string, object>;
76
- dataUsage: Record<string, object>;
77
- dataCosts: Record<string, object>;
73
+ period: any;
74
+ commandsUsage: any;
75
+ commandsCosts: any;
76
+ dataUsage: any;
77
+ dataCosts: any;
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: Record<string, object>;
107
- commandsUsage: Record<string, object>;
108
- commandsCosts: Record<string, object>;
109
- dataUsage: Record<string, object>;
110
- dataCosts: Record<string, object>;
106
+ period: any;
107
+ commandsUsage: any;
108
+ commandsCosts: any;
109
+ dataUsage: any;
110
+ dataCosts: any;
111
111
  url: string;
112
112
  };
113
113
  [inspect.custom](_depth: any, options: InspectOptions): string;
@@ -39,7 +39,7 @@ export interface SessionListInstanceCreateOptions {
39
39
  /** */
40
40
  status?: SessionStatus;
41
41
  /** The Participant objects to include in the new session. */
42
- participants?: Array<object>;
42
+ participants?: Array<any>;
43
43
  }
44
44
  /**
45
45
  * 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) => e);
240
+ data["Participants"] = serialize.map(params["participants"], (e) => serialize.object(e));
241
241
  const headers = {};
242
242
  headers["Content-Type"] = "application/x-www-form-urlencoded";
243
243
  headers["Accept"] = "application/json";
@@ -5,7 +5,6 @@ import Response from "../../../http/response";
5
5
  import V1 from "../V1";
6
6
  import { PhoneNumberListInstance } from "./service/phoneNumber";
7
7
  import { SessionListInstance } from "./service/session";
8
- import { ShortCodeListInstance } from "./service/shortCode";
9
8
  /**
10
9
  * Where a proxy number must be located relative to the participant identifier. Can be: `country`, `area-code`, or `extended-area-code`. The default value is `country` and more specific areas than `country` are only available in North America.
11
10
  */
@@ -92,7 +91,6 @@ export interface ServiceListInstancePageOptions {
92
91
  export interface ServiceContext {
93
92
  phoneNumbers: PhoneNumberListInstance;
94
93
  sessions: SessionListInstance;
95
- shortCodes: ShortCodeListInstance;
96
94
  /**
97
95
  * Remove a ServiceInstance
98
96
  *
@@ -141,11 +139,9 @@ export declare class ServiceContextImpl implements ServiceContext {
141
139
  protected _uri: string;
142
140
  protected _phoneNumbers?: PhoneNumberListInstance;
143
141
  protected _sessions?: SessionListInstance;
144
- protected _shortCodes?: ShortCodeListInstance;
145
142
  constructor(_version: V1, sid: string);
146
143
  get phoneNumbers(): PhoneNumberListInstance;
147
144
  get sessions(): SessionListInstance;
148
- get shortCodes(): ShortCodeListInstance;
149
145
  remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
150
146
  fetch(callback?: (error: Error | null, item?: ServiceInstance) => any): Promise<ServiceInstance>;
151
147
  update(params?: ServiceContextUpdateOptions | ((error: Error | null, item?: ServiceInstance) => any), callback?: (error: Error | null, item?: ServiceInstance) => any): Promise<ServiceInstance>;
@@ -273,10 +269,6 @@ export declare class ServiceInstance {
273
269
  * Access the sessions.
274
270
  */
275
271
  sessions(): SessionListInstance;
276
- /**
277
- * Access the shortCodes.
278
- */
279
- shortCodes(): ShortCodeListInstance;
280
272
  /**
281
273
  * Provide a user-friendly representation
282
274
  *
@@ -24,7 +24,6 @@ const serialize = require("../../../base/serialize");
24
24
  const utility_1 = require("../../../base/utility");
25
25
  const phoneNumber_1 = require("./service/phoneNumber");
26
26
  const session_1 = require("./service/session");
27
- const shortCode_1 = require("./service/shortCode");
28
27
  class ServiceContextImpl {
29
28
  constructor(_version, sid) {
30
29
  this._version = _version;
@@ -45,12 +44,6 @@ class ServiceContextImpl {
45
44
  this._sessions || (0, session_1.SessionListInstance)(this._version, this._solution.sid);
46
45
  return this._sessions;
47
46
  }
48
- get shortCodes() {
49
- this._shortCodes =
50
- this._shortCodes ||
51
- (0, shortCode_1.ShortCodeListInstance)(this._version, this._solution.sid);
52
- return this._shortCodes;
53
- }
54
47
  remove(callback) {
55
48
  const headers = {};
56
49
  const instance = this;
@@ -187,12 +180,6 @@ class ServiceInstance {
187
180
  sessions() {
188
181
  return this._proxy.sessions;
189
182
  }
190
- /**
191
- * Access the shortCodes.
192
- */
193
- shortCodes() {
194
- return this._proxy.shortCodes;
195
- }
196
183
  /**
197
184
  * Provide a user-friendly representation
198
185
  *
@@ -111,9 +111,9 @@ interface BuildResource {
111
111
  account_sid: string;
112
112
  service_sid: string;
113
113
  status: BuildStatus;
114
- asset_versions: Array<Record<string, object>>;
115
- function_versions: Array<Record<string, object>>;
116
- dependencies: Array<Record<string, object>>;
114
+ asset_versions: Array<any>;
115
+ function_versions: Array<any>;
116
+ dependencies: Array<any>;
117
117
  runtime: BuildRuntime;
118
118
  date_created: Date;
119
119
  date_updated: Date;
@@ -141,15 +141,15 @@ export declare class BuildInstance {
141
141
  /**
142
142
  * The list of Asset Version resource SIDs that are included in the Build.
143
143
  */
144
- assetVersions: Array<Record<string, object>>;
144
+ assetVersions: Array<any>;
145
145
  /**
146
146
  * The list of Function Version resource SIDs that are included in the Build.
147
147
  */
148
- functionVersions: Array<Record<string, object>>;
148
+ functionVersions: Array<any>;
149
149
  /**
150
150
  * A list of objects that describe the Dependencies included in the Build. Each object contains the `name` and `version` of the dependency.
151
151
  */
152
- dependencies: Array<Record<string, object>>;
152
+ dependencies: Array<any>;
153
153
  runtime: BuildRuntime;
154
154
  /**
155
155
  * The date and time in GMT when the Build resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
@@ -195,9 +195,9 @@ export declare class BuildInstance {
195
195
  accountSid: string;
196
196
  serviceSid: string;
197
197
  status: BuildStatus;
198
- assetVersions: Record<string, object>[];
199
- functionVersions: Record<string, object>[];
200
- dependencies: Record<string, object>[];
198
+ assetVersions: any[];
199
+ functionVersions: any[];
200
+ dependencies: any[];
201
201
  runtime: BuildRuntime;
202
202
  dateCreated: Date;
203
203
  dateUpdated: Date;
@@ -3,10 +3,6 @@ import { inspect, InspectOptions } from "util";
3
3
  import Page, { TwilioResponsePayload } from "../../../../../base/Page";
4
4
  import Response from "../../../../../http/response";
5
5
  import V1 from "../../../V1";
6
- /**
7
- * The log level. Can be: `info`, `warn`, or `error`.
8
- */
9
- export type LogLevel = "info" | "warn" | "error";
10
6
  /**
11
7
  * Options to pass to each
12
8
  */
@@ -104,7 +100,7 @@ interface LogResource {
104
100
  deployment_sid: string;
105
101
  function_sid: string;
106
102
  request_sid: string;
107
- level: LogLevel;
103
+ level: string;
108
104
  message: string;
109
105
  date_created: Date;
110
106
  url: string;
@@ -146,7 +142,10 @@ export declare class LogInstance {
146
142
  * The SID of the request associated with the log.
147
143
  */
148
144
  requestSid: string;
149
- level: LogLevel;
145
+ /**
146
+ * The log level.
147
+ */
148
+ level: string;
150
149
  /**
151
150
  * The log message.
152
151
  */
@@ -182,7 +181,7 @@ export declare class LogInstance {
182
181
  deploymentSid: string;
183
182
  functionSid: string;
184
183
  requestSid: string;
185
- level: LogLevel;
184
+ level: string;
186
185
  message: string;
187
186
  dateCreated: Date;
188
187
  url: string;
@@ -36,7 +36,7 @@ export declare class EngagementContextContextImpl implements EngagementContextCo
36
36
  }
37
37
  interface EngagementContextResource {
38
38
  account_sid: string;
39
- context: Record<string, object>;
39
+ context: any;
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: Record<string, object>;
56
+ context: any;
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: Record<string, object>;
85
+ context: any;
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: Record<string, object>;
40
+ context: any;
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: Record<string, object>;
58
+ context: any;
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: Record<string, object>;
91
+ context: any;
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: Record<string, object>;
86
+ context: any;
87
87
  parent_step_sid: string;
88
88
  transitioned_from: string;
89
89
  transitioned_to: string;
@@ -120,7 +120,7 @@ export declare class StepInstance {
120
120
  /**
121
121
  * 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.
122
122
  */
123
- context: Record<string, object>;
123
+ context: any;
124
124
  /**
125
125
  * The SID of the parent Step.
126
126
  */
@@ -173,7 +173,7 @@ export declare class StepInstance {
173
173
  flowSid: string;
174
174
  engagementSid: string;
175
175
  name: string;
176
- context: Record<string, object>;
176
+ context: any;
177
177
  parentStepSid: string;
178
178
  transitionedFrom: string;
179
179
  transitionedTo: string;
@@ -18,7 +18,7 @@ export interface EngagementListInstanceCreateOptions {
18
18
  /** The Twilio phone number to send messages or initiate calls from during the Flow Engagement. Available as variable `{{flow.channel.address}}` */
19
19
  from: string;
20
20
  /** 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. */
21
- parameters?: object;
21
+ parameters?: any;
22
22
  }
23
23
  /**
24
24
  * Options to pass to each
@@ -110,7 +110,7 @@ interface EngagementResource {
110
110
  flow_sid: string;
111
111
  contact_sid: string;
112
112
  contact_channel_address: string;
113
- context: Record<string, object>;
113
+ context: any;
114
114
  status: EngagementStatus;
115
115
  date_created: Date;
116
116
  date_updated: Date;
@@ -145,7 +145,7 @@ export declare class EngagementInstance {
145
145
  /**
146
146
  * 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.
147
147
  */
148
- context: Record<string, object>;
148
+ context: any;
149
149
  status: EngagementStatus;
150
150
  /**
151
151
  * The date and time in GMT when the Engagement was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
@@ -199,7 +199,7 @@ export declare class EngagementInstance {
199
199
  flowSid: string;
200
200
  contactSid: string;
201
201
  contactChannelAddress: string;
202
- context: Record<string, object>;
202
+ context: any;
203
203
  status: EngagementStatus;
204
204
  dateCreated: Date;
205
205
  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: Record<string, object>;
39
+ context: any;
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: Record<string, object>;
56
+ context: any;
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: Record<string, object>;
85
+ context: any;
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: Record<string, object>;
40
+ context: any;
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: Record<string, object>;
58
+ context: any;
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: Record<string, object>;
91
+ context: any;
92
92
  executionSid: string;
93
93
  flowSid: string;
94
94
  stepSid: string;
@@ -84,7 +84,7 @@ interface ExecutionStepResource {
84
84
  execution_sid: string;
85
85
  parent_step_sid: string;
86
86
  name: string;
87
- context: Record<string, object>;
87
+ context: any;
88
88
  transitioned_from: string;
89
89
  transitioned_to: string;
90
90
  date_created: Date;
@@ -124,7 +124,7 @@ export declare class ExecutionStepInstance {
124
124
  /**
125
125
  * 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.
126
126
  */
127
- context: Record<string, object>;
127
+ context: any;
128
128
  /**
129
129
  * The Widget that preceded the Widget for the Step.
130
130
  */
@@ -174,7 +174,7 @@ export declare class ExecutionStepInstance {
174
174
  executionSid: string;
175
175
  parentStepSid: string;
176
176
  name: string;
177
- context: Record<string, object>;
177
+ context: any;
178
178
  transitionedFrom: string;
179
179
  transitionedTo: string;
180
180
  dateCreated: Date;
@@ -25,7 +25,7 @@ export interface ExecutionListInstanceCreateOptions {
25
25
  /** 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. */
26
26
  from: string;
27
27
  /** 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. */
28
- parameters?: object;
28
+ parameters?: any;
29
29
  }
30
30
  /**
31
31
  * Options to pass to each
@@ -139,7 +139,7 @@ interface ExecutionResource {
139
139
  flow_sid: string;
140
140
  contact_sid: string;
141
141
  contact_channel_address: string;
142
- context: Record<string, object>;
142
+ context: any;
143
143
  status: ExecutionStatus;
144
144
  date_created: Date;
145
145
  date_updated: Date;
@@ -174,7 +174,7 @@ export declare class ExecutionInstance {
174
174
  /**
175
175
  * 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.
176
176
  */
177
- context: Record<string, object>;
177
+ context: any;
178
178
  status: ExecutionStatus;
179
179
  /**
180
180
  * The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
@@ -237,7 +237,7 @@ export declare class ExecutionInstance {
237
237
  flowSid: string;
238
238
  contactSid: string;
239
239
  contactChannelAddress: string;
240
- context: Record<string, object>;
240
+ context: any;
241
241
  status: ExecutionStatus;
242
242
  dateCreated: Date;
243
243
  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: Record<string, object>;
39
+ context: any;
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: Record<string, object>;
56
+ context: any;
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: Record<string, object>;
85
+ context: any;
86
86
  flowSid: string;
87
87
  executionSid: string;
88
88
  url: string;