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,11 +14,9 @@ import Iam from "./Iam";
14
14
  import Insights from "./Insights";
15
15
  import Intelligence from "./Intelligence";
16
16
  import IpMessaging from "./IpMessaging";
17
- import Knowledge from "./Knowledge";
18
17
  import Lookups from "./Lookups";
19
18
  import Marketplace from "./Marketplace";
20
19
  import Messaging from "./Messaging";
21
- import Microvisor from "./Microvisor";
22
20
  import Monitor from "./Monitor";
23
21
  import Notify from "./Notify";
24
22
  import Numbers from "./Numbers";
@@ -96,16 +94,12 @@ declare class Twilio extends Client {
96
94
  _intelligence?: Intelligence;
97
95
  /** (Twilio.IpMessaging) - ipMessaging domain */
98
96
  _ipMessaging?: IpMessaging;
99
- /** (Twilio.Knowledge) - knowledge domain */
100
- _knowledge?: Knowledge;
101
97
  /** (Twilio.Lookups) - lookups domain */
102
98
  _lookups?: Lookups;
103
99
  /** (Twilio.Marketplace) - marketplace domain */
104
100
  _marketplace?: Marketplace;
105
101
  /** (Twilio.Messaging) - messaging domain */
106
102
  _messaging?: Messaging;
107
- /** (Twilio.Microvisor) - microvisor domain */
108
- _microvisor?: Microvisor;
109
103
  /** (Twilio.Monitor) - monitor domain */
110
104
  _monitor?: Monitor;
111
105
  /** (Twilio.Notify) - notify domain */
@@ -186,16 +180,12 @@ declare class Twilio extends Client {
186
180
  get intelligence(): Intelligence;
187
181
  /** Getter for (Twilio.IpMessaging) domain */
188
182
  get ipMessaging(): IpMessaging;
189
- /** Getter for (Twilio.Knowledge) domain */
190
- get knowledge(): Knowledge;
191
183
  /** Getter for (Twilio.Lookups) domain */
192
184
  get lookups(): Lookups;
193
185
  /** Getter for (Twilio.Marketplace) domain */
194
186
  get marketplace(): Marketplace;
195
187
  /** Getter for (Twilio.Messaging) domain */
196
188
  get messaging(): Messaging;
197
- /** Getter for (Twilio.Microvisor) domain */
198
- get microvisor(): Microvisor;
199
189
  /** Getter for (Twilio.Monitor) domain */
200
190
  get monitor(): Monitor;
201
191
  /** Getter for (Twilio.Notify) domain */
@@ -47,11 +47,9 @@ class Twilio extends BaseTwilio_1.Client {
47
47
  this.insights;
48
48
  this.intelligence;
49
49
  this.ipMessaging;
50
- this.knowledge;
51
50
  this.lookups;
52
51
  this.marketplace;
53
52
  this.messaging;
54
- this.microvisor;
55
53
  this.monitor;
56
54
  this.notify;
57
55
  this.numbers;
@@ -141,10 +139,6 @@ class Twilio extends BaseTwilio_1.Client {
141
139
  return (this._ipMessaging ??
142
140
  (this._ipMessaging = new (require("./IpMessaging"))(this)));
143
141
  }
144
- /** Getter for (Twilio.Knowledge) domain */
145
- get knowledge() {
146
- return (this._knowledge ?? (this._knowledge = new (require("./Knowledge"))(this)));
147
- }
148
142
  /** Getter for (Twilio.Lookups) domain */
149
143
  get lookups() {
150
144
  return this._lookups ?? (this._lookups = new (require("./Lookups"))(this));
@@ -158,11 +152,6 @@ class Twilio extends BaseTwilio_1.Client {
158
152
  get messaging() {
159
153
  return (this._messaging ?? (this._messaging = new (require("./Messaging"))(this)));
160
154
  }
161
- /** Getter for (Twilio.Microvisor) domain */
162
- get microvisor() {
163
- return (this._microvisor ??
164
- (this._microvisor = new (require("./Microvisor"))(this)));
165
- }
166
155
  /** Getter for (Twilio.Monitor) domain */
167
156
  get monitor() {
168
157
  return this._monitor ?? (this._monitor = new (require("./Monitor"))(this));
@@ -6,7 +6,7 @@ import V1 from "../V1";
6
6
  */
7
7
  export interface BulkConsentsListInstanceCreateOptions {
8
8
  /** This is a list of objects that describes a contact\\\'s opt-in status. Each object contains the following fields: `contact_id`, which must be a string representing phone number in [E.164 format](https://www.twilio.com/docs/glossary/what-e164); `correlation_id`, a unique 32-character UUID used to uniquely map the request item with the response item; `sender_id`, which can be either a valid messaging service SID or a from phone number; `status`, a string representing the consent status. Can be one of [`opt-in`, `opt-out`]; `source`, a string indicating the medium through which the consent was collected. Can be one of [`website`, `offline`, `opt-in-message`, `opt-out-message`, `others`]; `date_of_consent`, an optional datetime string field in ISO-8601 format that captures the exact date and time when the user gave or revoked consent. If not provided, it will be empty. */
9
- items: Array<object>;
9
+ items: Array<any>;
10
10
  }
11
11
  export interface BulkConsentsSolution {
12
12
  }
@@ -31,7 +31,7 @@ export interface BulkConsentsListInstance {
31
31
  }
32
32
  export declare function BulkConsentsListInstance(version: V1): BulkConsentsListInstance;
33
33
  interface BulkConsentsResource {
34
- items: Record<string, object>;
34
+ items: any;
35
35
  }
36
36
  export declare class BulkConsentsInstance {
37
37
  protected _version: V1;
@@ -39,14 +39,14 @@ export declare class BulkConsentsInstance {
39
39
  /**
40
40
  * A list of objects where each object represents the result of processing a `correlation_id`. Each object contains the following fields: `correlation_id`, a unique 32-character UUID that maps the response to the original request; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty.
41
41
  */
42
- items: Record<string, object>;
42
+ items: any;
43
43
  /**
44
44
  * Provide a user-friendly representation
45
45
  *
46
46
  * @returns Object
47
47
  */
48
48
  toJSON(): {
49
- items: Record<string, object>;
49
+ items: any;
50
50
  };
51
51
  [inspect.custom](_depth: any, options: InspectOptions): string;
52
52
  }
@@ -30,7 +30,7 @@ function BulkConsentsListInstance(version) {
30
30
  throw new Error("Required parameter \"params['items']\" missing.");
31
31
  }
32
32
  let data = {};
33
- data["Items"] = serialize.map(params["items"], (e) => e);
33
+ data["Items"] = serialize.map(params["items"], (e) => serialize.object(e));
34
34
  const headers = {};
35
35
  headers["Content-Type"] = "application/x-www-form-urlencoded";
36
36
  headers["Accept"] = "application/json";
@@ -6,7 +6,7 @@ import V1 from "../V1";
6
6
  */
7
7
  export interface BulkContactsListInstanceCreateOptions {
8
8
  /** A list of objects where each object represents a contact\\\'s details. Each object includes the following fields: `contact_id`, which must be a string representing phone number in [E.164 format](https://www.twilio.com/docs/glossary/what-e164); `correlation_id`, a unique 32-character UUID that maps the response to the original request; `country_iso_code`, a string representing the country using the ISO format (e.g., US for the United States); and `zip_code`, a string representing the postal code. */
9
- items: Array<object>;
9
+ items: Array<any>;
10
10
  }
11
11
  export interface BulkContactsSolution {
12
12
  }
@@ -31,7 +31,7 @@ export interface BulkContactsListInstance {
31
31
  }
32
32
  export declare function BulkContactsListInstance(version: V1): BulkContactsListInstance;
33
33
  interface BulkContactsResource {
34
- items: Record<string, object>;
34
+ items: any;
35
35
  }
36
36
  export declare class BulkContactsInstance {
37
37
  protected _version: V1;
@@ -39,14 +39,14 @@ export declare class BulkContactsInstance {
39
39
  /**
40
40
  * A list of objects where each object represents the result of processing a `correlation_id`. Each object contains the following fields: `correlation_id`, a unique 32-character UUID that maps the response to the original request; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty.
41
41
  */
42
- items: Record<string, object>;
42
+ items: any;
43
43
  /**
44
44
  * Provide a user-friendly representation
45
45
  *
46
46
  * @returns Object
47
47
  */
48
48
  toJSON(): {
49
- items: Record<string, object>;
49
+ items: any;
50
50
  };
51
51
  [inspect.custom](_depth: any, options: InspectOptions): string;
52
52
  }
@@ -30,7 +30,7 @@ function BulkContactsListInstance(version) {
30
30
  throw new Error("Required parameter \"params['items']\" missing.");
31
31
  }
32
32
  let data = {};
33
- data["Items"] = serialize.map(params["items"], (e) => e);
33
+ data["Items"] = serialize.map(params["items"], (e) => serialize.object(e));
34
34
  const headers = {};
35
35
  headers["Content-Type"] = "application/x-www-form-urlencoded";
36
36
  headers["Accept"] = "application/json";
@@ -129,7 +129,7 @@ interface DependentPhoneNumberResource {
129
129
  sms_method: string;
130
130
  sms_url: string;
131
131
  address_requirements: DependentPhoneNumberAddressRequirement;
132
- capabilities: Record<string, object>;
132
+ capabilities: any;
133
133
  status_callback: string;
134
134
  status_callback_method: string;
135
135
  api_version: string;
@@ -207,7 +207,7 @@ export declare class DependentPhoneNumberInstance {
207
207
  /**
208
208
  * The set of Boolean properties that indicates whether a phone number can receive calls or messages. Capabilities are `Voice`, `SMS`, and `MMS` and each capability can be: `true` or `false`.
209
209
  */
210
- capabilities: Record<string, object>;
210
+ capabilities: any;
211
211
  /**
212
212
  * The URL we call using the `status_callback_method` to send status information to your application.
213
213
  */
@@ -263,7 +263,7 @@ export declare class DependentPhoneNumberInstance {
263
263
  smsMethod: string;
264
264
  smsUrl: string;
265
265
  addressRequirements: DependentPhoneNumberAddressRequirement;
266
- capabilities: Record<string, object>;
266
+ capabilities: any;
267
267
  statusCallback: string;
268
268
  statusCallbackMethod: string;
269
269
  apiVersion: string;
@@ -105,8 +105,8 @@ interface EventPayload extends TwilioResponsePayload {
105
105
  events: EventResource[];
106
106
  }
107
107
  interface EventResource {
108
- request: Record<string, object>;
109
- response: Record<string, object>;
108
+ request: any;
109
+ response: any;
110
110
  }
111
111
  export declare class EventInstance {
112
112
  protected _version: V2010;
@@ -114,19 +114,19 @@ export declare class EventInstance {
114
114
  /**
115
115
  * Contains a dictionary representing the request of the call.
116
116
  */
117
- request: Record<string, object>;
117
+ request: any;
118
118
  /**
119
119
  * Contains a dictionary representing the call response, including a list of the call events.
120
120
  */
121
- response: Record<string, object>;
121
+ response: any;
122
122
  /**
123
123
  * Provide a user-friendly representation
124
124
  *
125
125
  * @returns Object
126
126
  */
127
127
  toJSON(): {
128
- request: Record<string, object>;
129
- response: Record<string, object>;
128
+ request: any;
129
+ response: any;
130
130
  };
131
131
  [inspect.custom](_depth: any, options: InspectOptions): string;
132
132
  }
@@ -40,7 +40,7 @@ export interface PaymentListInstanceCreateOptions {
40
40
  /** A positive integer that is used to validate the length of the `PostalCode` inputted by the user. User must enter this many digits. */
41
41
  minPostalCodeLength?: number;
42
42
  /** A single-level JSON object used to pass custom parameters to payment processors. (Required for ACH payments). The information that has to be included here depends on the <Pay> Connector. [Read more](https://www.twilio.com/console/voice/pay-connectors). */
43
- parameter?: object;
43
+ parameter?: any;
44
44
  /** This is the unique name corresponding to the Pay Connector installed in the Twilio Add-ons. Learn more about [<Pay> Connectors](https://www.twilio.com/console/voice/pay-connectors). The default value is `Default`. */
45
45
  paymentConnector?: string;
46
46
  /** */
@@ -156,7 +156,7 @@ interface RecordingResource {
156
156
  sid: string;
157
157
  price: number;
158
158
  uri: string;
159
- encryption_details: Record<string, object>;
159
+ encryption_details: any;
160
160
  price_unit: string;
161
161
  status: RecordingStatus;
162
162
  channels: number;
@@ -216,7 +216,7 @@ export declare class RecordingInstance {
216
216
  /**
217
217
  * How to decrypt the recording if it was encrypted using [Call Recording Encryption](https://www.twilio.com/docs/voice/tutorials/voice-recording-encryption) feature.
218
218
  */
219
- encryptionDetails: Record<string, object>;
219
+ encryptionDetails: any;
220
220
  /**
221
221
  * The currency used in the `price` property. Example: `USD`.
222
222
  */
@@ -278,7 +278,7 @@ export declare class RecordingInstance {
278
278
  sid: string;
279
279
  price: number;
280
280
  uri: string;
281
- encryptionDetails: Record<string, object>;
281
+ encryptionDetails: any;
282
282
  priceUnit: string;
283
283
  status: RecordingStatus;
284
284
  channels: number;
@@ -143,7 +143,7 @@ interface RecordingResource {
143
143
  channels: number;
144
144
  source: RecordingSource;
145
145
  error_code: number;
146
- encryption_details: Record<string, object>;
146
+ encryption_details: any;
147
147
  uri: string;
148
148
  }
149
149
  export declare class RecordingInstance {
@@ -208,7 +208,7 @@ export declare class RecordingInstance {
208
208
  /**
209
209
  * How to decrypt the recording if it was encrypted using [Call Recording Encryption](https://www.twilio.com/docs/voice/tutorials/voice-recording-encryption) feature.
210
210
  */
211
- encryptionDetails: Record<string, object>;
211
+ encryptionDetails: any;
212
212
  /**
213
213
  * The URI of the resource, relative to `https://api.twilio.com`.
214
214
  */
@@ -260,7 +260,7 @@ export declare class RecordingInstance {
260
260
  channels: number;
261
261
  source: RecordingSource;
262
262
  errorCode: number;
263
- encryptionDetails: Record<string, object>;
263
+ encryptionDetails: any;
264
264
  uri: string;
265
265
  };
266
266
  [inspect.custom](_depth: any, options: InspectOptions): string;
@@ -99,7 +99,7 @@ interface AssignedAddOnResource {
99
99
  resource_sid: string;
100
100
  friendly_name: string;
101
101
  description: string;
102
- configuration: Record<string, object>;
102
+ configuration: any;
103
103
  unique_name: string;
104
104
  date_created: Date;
105
105
  date_updated: Date;
@@ -134,7 +134,7 @@ export declare class AssignedAddOnInstance {
134
134
  /**
135
135
  * A JSON string that represents the current configuration of this Add-on installation.
136
136
  */
137
- configuration: Record<string, object>;
137
+ configuration: any;
138
138
  /**
139
139
  * An application-defined string that uniquely identifies the resource. It can be used in place of the resource\'s `sid` in the URL to address the resource.
140
140
  */
@@ -187,7 +187,7 @@ export declare class AssignedAddOnInstance {
187
187
  resourceSid: string;
188
188
  friendlyName: string;
189
189
  description: string;
190
- configuration: Record<string, object>;
190
+ configuration: any;
191
191
  uniqueName: string;
192
192
  dateCreated: Date;
193
193
  dateUpdated: Date;
@@ -166,7 +166,7 @@ interface RecordingResource {
166
166
  source: RecordingSource;
167
167
  error_code: number;
168
168
  uri: string;
169
- encryption_details: Record<string, object>;
169
+ encryption_details: any;
170
170
  subresource_uris: Record<string, string>;
171
171
  media_url: string;
172
172
  }
@@ -236,7 +236,7 @@ export declare class RecordingInstance {
236
236
  /**
237
237
  * How to decrypt the recording if it was encrypted using [Call Recording Encryption](https://www.twilio.com/docs/voice/tutorials/voice-recording-encryption) feature.
238
238
  */
239
- encryptionDetails: Record<string, object>;
239
+ encryptionDetails: any;
240
240
  /**
241
241
  * A list of related resources identified by their relative URIs.
242
242
  */
@@ -301,7 +301,7 @@ export declare class RecordingInstance {
301
301
  source: RecordingSource;
302
302
  errorCode: number;
303
303
  uri: string;
304
- encryptionDetails: Record<string, object>;
304
+ encryptionDetails: any;
305
305
  subresourceUris: Record<string, string>;
306
306
  mediaUrl: string;
307
307
  };
@@ -7,7 +7,7 @@ import V1 from "../../V1";
7
7
  * Options to pass to each
8
8
  */
9
9
  export interface DayListInstanceEachOptions {
10
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
10
+ /** How many resources to return in each list page. The default is 50, and the maximum is 400. */
11
11
  pageSize?: number;
12
12
  /** Function to process each record. If this and a positional callback are passed, this one will be used */
13
13
  callback?: (item: DayInstance, done: (err?: Error) => void) => void;
@@ -20,7 +20,7 @@ export interface DayListInstanceEachOptions {
20
20
  * Options to pass to list
21
21
  */
22
22
  export interface DayListInstanceOptions {
23
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
23
+ /** How many resources to return in each list page. The default is 50, and the maximum is 400. */
24
24
  pageSize?: number;
25
25
  /** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
26
26
  limit?: number;
@@ -29,7 +29,7 @@ export interface DayListInstanceOptions {
29
29
  * Options to pass to page
30
30
  */
31
31
  export interface DayListInstancePageOptions {
32
- /** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
32
+ /** How many resources to return in each list page. The default is 50, and the maximum is 400. */
33
33
  pageSize?: number;
34
34
  /** Page Number, this value is simply for client state */
35
35
  pageNumber?: number;
@@ -138,7 +138,7 @@ interface ExportCustomJobResource {
138
138
  webhook_method: string;
139
139
  email: string;
140
140
  job_sid: string;
141
- details: Record<string, object>;
141
+ details: Array<any>;
142
142
  job_queue_position: string;
143
143
  estimated_completion_time: string;
144
144
  }
@@ -180,7 +180,7 @@ export declare class ExportCustomJobInstance {
180
180
  /**
181
181
  * The details of a job which is an object that contains an array of status grouped by `status` state. Each `status` object has a `status` string, a count which is the number of days in that `status`, and list of days in that `status`. The day strings are in the format yyyy-MM-dd. As an example, a currently running job may have a status object for COMPLETED and a `status` object for SUBMITTED each with its own count and list of days.
182
182
  */
183
- details: Record<string, object>;
183
+ details: Array<any>;
184
184
  /**
185
185
  * This is the job position from the 1st in line. Your queue position will never increase. As jobs ahead of yours in the queue are processed, the queue position number will decrease
186
186
  */
@@ -203,7 +203,7 @@ export declare class ExportCustomJobInstance {
203
203
  webhookMethod: string;
204
204
  email: string;
205
205
  jobSid: string;
206
- details: Record<string, object>;
206
+ details: any[];
207
207
  jobQueuePosition: string;
208
208
  estimatedCompletionTime: string;
209
209
  };
@@ -45,7 +45,7 @@ export declare class JobContextImpl implements JobContext {
45
45
  interface JobResource {
46
46
  resource_type: string;
47
47
  friendly_name: string;
48
- details: Record<string, object>;
48
+ details: Array<any>;
49
49
  start_day: string;
50
50
  end_day: string;
51
51
  job_sid: string;
@@ -72,7 +72,7 @@ export declare class JobInstance {
72
72
  /**
73
73
  * The details of a job which is an object that contains an array of status grouped by `status` state. Each `status` object has a `status` string, a count which is the number of days in that `status`, and list of days in that `status`. The day strings are in the format yyyy-MM-dd. As an example, a currently running job may have a status object for COMPLETED and a `status` object for SUBMITTED each with its own count and list of days.
74
74
  */
75
- details: Record<string, object>;
75
+ details: Array<any>;
76
76
  /**
77
77
  * The start time for the export specified when creating the job
78
78
  */
@@ -131,7 +131,7 @@ export declare class JobInstance {
131
131
  toJSON(): {
132
132
  resourceType: string;
133
133
  friendlyName: string;
134
- details: Record<string, object>;
134
+ details: any[];
135
135
  startDay: string;
136
136
  endDay: string;
137
137
  jobSid: string;
@@ -243,13 +243,13 @@ interface ServiceResource {
243
243
  reachability_enabled: boolean;
244
244
  typing_indicator_timeout: number;
245
245
  consumption_report_interval: number;
246
- limits: Record<string, object>;
247
- webhooks: Record<string, object>;
246
+ limits: any;
247
+ webhooks: any;
248
248
  pre_webhook_url: string;
249
249
  post_webhook_url: string;
250
250
  webhook_method: string;
251
251
  webhook_filters: Array<string>;
252
- notifications: Record<string, object>;
252
+ notifications: any;
253
253
  url: string;
254
254
  links: Record<string, string>;
255
255
  }
@@ -309,11 +309,11 @@ export declare class ServiceInstance {
309
309
  /**
310
310
  * An object that describes the limits of the service instance. The `limits` object contains `channel_members` to describe the members/channel limit and `user_channels` to describe the channels/user limit. `channel_members` can be 1,000 or less, with a default of 250. `user_channels` can be 1,000 or less, with a default value of 100.
311
311
  */
312
- limits: Record<string, object>;
312
+ limits: any;
313
313
  /**
314
314
  * An object that contains information about the webhooks configured for this service.
315
315
  */
316
- webhooks: Record<string, object>;
316
+ webhooks: any;
317
317
  /**
318
318
  * The URL for pre-event webhooks, which are called by using the `webhook_method`. See [Webhook Events](https://www.twilio.com/docs/api/chat/webhooks) for more details.
319
319
  */
@@ -333,7 +333,7 @@ export declare class ServiceInstance {
333
333
  /**
334
334
  * The notification configuration for the Service instance. See [Push Notification Configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more information.
335
335
  */
336
- notifications: Record<string, object>;
336
+ notifications: any;
337
337
  /**
338
338
  * The absolute URL of the Service resource.
339
339
  */
@@ -406,13 +406,13 @@ export declare class ServiceInstance {
406
406
  reachabilityEnabled: boolean;
407
407
  typingIndicatorTimeout: number;
408
408
  consumptionReportInterval: number;
409
- limits: Record<string, object>;
410
- webhooks: Record<string, object>;
409
+ limits: any;
410
+ webhooks: any;
411
411
  preWebhookUrl: string;
412
412
  postWebhookUrl: string;
413
413
  webhookMethod: string;
414
414
  webhookFilters: string[];
415
- notifications: Record<string, object>;
415
+ notifications: any;
416
416
  url: string;
417
417
  links: Record<string, string>;
418
418
  };
@@ -179,7 +179,7 @@ interface MessageResource {
179
179
  body: string;
180
180
  index: number;
181
181
  type: string;
182
- media: Record<string, object>;
182
+ media: any;
183
183
  url: string;
184
184
  }
185
185
  export declare class MessageInstance {
@@ -246,7 +246,7 @@ export declare class MessageInstance {
246
246
  /**
247
247
  * An object that describes the Message\'s media, if the message contains media. The object contains these fields: `content_type` with the MIME type of the media, `filename` with the name of the media, `sid` with the SID of the Media resource, and `size` with the media object\'s file size in bytes. If the Message has no media, this value is `null`.
248
248
  */
249
- media: Record<string, object>;
249
+ media: any;
250
250
  /**
251
251
  * The absolute URL of the Message resource.
252
252
  */
@@ -314,7 +314,7 @@ export declare class MessageInstance {
314
314
  body: string;
315
315
  index: number;
316
316
  type: string;
317
- media: Record<string, object>;
317
+ media: any;
318
318
  url: string;
319
319
  };
320
320
  [inspect.custom](_depth: any, options: InspectOptions): string;
@@ -148,7 +148,7 @@ interface WebhookResource {
148
148
  channel_sid: string;
149
149
  type: string;
150
150
  url: string;
151
- configuration: Record<string, object>;
151
+ configuration: any;
152
152
  date_created: Date;
153
153
  date_updated: Date;
154
154
  }
@@ -184,7 +184,7 @@ export declare class WebhookInstance {
184
184
  /**
185
185
  * The JSON string that describes how the channel webhook is configured. The configuration object contains the `url`, `method`, `filters`, and `retry_count` values that are configured by the create and update actions.
186
186
  */
187
- configuration: Record<string, object>;
187
+ configuration: any;
188
188
  /**
189
189
  * The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
190
190
  */
@@ -239,7 +239,7 @@ export declare class WebhookInstance {
239
239
  channelSid: string;
240
240
  type: string;
241
241
  url: string;
242
- configuration: Record<string, object>;
242
+ configuration: any;
243
243
  dateCreated: Date;
244
244
  dateUpdated: Date;
245
245
  };
@@ -201,15 +201,15 @@ interface ServiceResource {
201
201
  reachability_enabled: boolean;
202
202
  typing_indicator_timeout: number;
203
203
  consumption_report_interval: number;
204
- limits: Record<string, object>;
204
+ limits: any;
205
205
  pre_webhook_url: string;
206
206
  post_webhook_url: string;
207
207
  webhook_method: string;
208
208
  webhook_filters: Array<string>;
209
209
  pre_webhook_retry_count: number;
210
210
  post_webhook_retry_count: number;
211
- notifications: Record<string, object>;
212
- media: Record<string, object>;
211
+ notifications: any;
212
+ media: any;
213
213
  url: string;
214
214
  links: Record<string, string>;
215
215
  }
@@ -269,7 +269,7 @@ export declare class ServiceInstance {
269
269
  /**
270
270
  * An object that describes the limits of the service instance. The `limits` object contains `channel_members` to describe the members/channel limit and `user_channels` to describe the channels/user limit. `channel_members` can be 1,000 or less, with a default of 250. `user_channels` can be 1,000 or less, with a default value of 100.
271
271
  */
272
- limits: Record<string, object>;
272
+ limits: any;
273
273
  /**
274
274
  * The URL for pre-event webhooks, which are called by using the `webhook_method`. See [Webhook Events](https://www.twilio.com/docs/chat/webhook-events) for more details.
275
275
  */
@@ -297,11 +297,11 @@ export declare class ServiceInstance {
297
297
  /**
298
298
  * The notification configuration for the Service instance. See [Push Notification Configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.
299
299
  */
300
- notifications: Record<string, object>;
300
+ notifications: any;
301
301
  /**
302
302
  * An object that describes the properties of media that the service supports. The object contains the `size_limit_mb` property, which describes the size of the largest media file in MB; and the `compatibility_message` property, which contains the message text to send when a media message does not have any text.
303
303
  */
304
- media: Record<string, object>;
304
+ media: any;
305
305
  /**
306
306
  * The absolute URL of the Service resource.
307
307
  */
@@ -378,15 +378,15 @@ export declare class ServiceInstance {
378
378
  reachabilityEnabled: boolean;
379
379
  typingIndicatorTimeout: number;
380
380
  consumptionReportInterval: number;
381
- limits: Record<string, object>;
381
+ limits: any;
382
382
  preWebhookUrl: string;
383
383
  postWebhookUrl: string;
384
384
  webhookMethod: string;
385
385
  webhookFilters: string[];
386
386
  preWebhookRetryCount: number;
387
387
  postWebhookRetryCount: number;
388
- notifications: Record<string, object>;
389
- media: Record<string, object>;
388
+ notifications: any;
389
+ media: any;
390
390
  url: string;
391
391
  links: Record<string, string>;
392
392
  };
@@ -4,7 +4,7 @@ import Page, { TwilioResponsePayload } from "../../../base/Page";
4
4
  import Response from "../../../http/response";
5
5
  import V1 from "../V1";
6
6
  export type AddressConfigurationAutoCreationType = "webhook" | "studio" | "default";
7
- export type AddressConfigurationMethod = "GET" | "POST";
7
+ export type AddressConfigurationMethod = "get" | "post";
8
8
  /**
9
9
  * Type of Address, value can be `whatsapp` or `sms`.
10
10
  */
@@ -168,7 +168,7 @@ interface AddressConfigurationResource {
168
168
  type: string;
169
169
  address: string;
170
170
  friendly_name: string;
171
- auto_creation: Record<string, object>;
171
+ auto_creation: any;
172
172
  date_created: Date;
173
173
  date_updated: Date;
174
174
  url: string;
@@ -202,7 +202,7 @@ export declare class AddressConfigurationInstance {
202
202
  /**
203
203
  * Auto Creation configuration for the address.
204
204
  */
205
- autoCreation: Record<string, object>;
205
+ autoCreation: any;
206
206
  /**
207
207
  * The date that this resource was created.
208
208
  */
@@ -264,7 +264,7 @@ export declare class AddressConfigurationInstance {
264
264
  type: string;
265
265
  address: string;
266
266
  friendlyName: string;
267
- autoCreation: Record<string, object>;
267
+ autoCreation: any;
268
268
  dateCreated: Date;
269
269
  dateUpdated: Date;
270
270
  url: string;