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
@@ -58,7 +58,7 @@ export declare class WorkerStatisticsContextImpl implements WorkerStatisticsCont
58
58
  }
59
59
  interface WorkerStatisticsResource {
60
60
  account_sid: string;
61
- cumulative: Record<string, object>;
61
+ cumulative: any;
62
62
  worker_sid: string;
63
63
  workspace_sid: string;
64
64
  url: string;
@@ -75,7 +75,7 @@ export declare class WorkerStatisticsInstance {
75
75
  /**
76
76
  * An object that contains the cumulative statistics for the Worker.
77
77
  */
78
- cumulative: Record<string, object>;
78
+ cumulative: any;
79
79
  /**
80
80
  * The SID of the Worker that contains the WorkerChannel.
81
81
  */
@@ -113,7 +113,7 @@ export declare class WorkerStatisticsInstance {
113
113
  */
114
114
  toJSON(): {
115
115
  accountSid: string;
116
- cumulative: Record<string, object>;
116
+ cumulative: any;
117
117
  workerSid: string;
118
118
  workspaceSid: string;
119
119
  url: string;
@@ -59,7 +59,7 @@ interface WorkersCumulativeStatisticsResource {
59
59
  account_sid: string;
60
60
  start_time: Date;
61
61
  end_time: Date;
62
- activity_durations: Array<Record<string, object>>;
62
+ activity_durations: Array<any>;
63
63
  reservations_created: number;
64
64
  reservations_accepted: number;
65
65
  reservations_rejected: number;
@@ -89,7 +89,7 @@ export declare class WorkersCumulativeStatisticsInstance {
89
89
  /**
90
90
  * The minimum, average, maximum, and total time (in seconds) that Workers spent in each Activity.
91
91
  */
92
- activityDurations: Array<Record<string, object>>;
92
+ activityDurations: Array<any>;
93
93
  /**
94
94
  * The total number of Reservations that were created.
95
95
  */
@@ -149,7 +149,7 @@ export declare class WorkersCumulativeStatisticsInstance {
149
149
  accountSid: string;
150
150
  startTime: Date;
151
151
  endTime: Date;
152
- activityDurations: Record<string, object>[];
152
+ activityDurations: any[];
153
153
  reservationsCreated: number;
154
154
  reservationsAccepted: number;
155
155
  reservationsRejected: number;
@@ -51,7 +51,7 @@ export declare class WorkersRealTimeStatisticsContextImpl implements WorkersReal
51
51
  }
52
52
  interface WorkersRealTimeStatisticsResource {
53
53
  account_sid: string;
54
- activity_statistics: Array<Record<string, object>>;
54
+ activity_statistics: Array<any>;
55
55
  total_workers: number;
56
56
  workspace_sid: string;
57
57
  url: string;
@@ -68,7 +68,7 @@ export declare class WorkersRealTimeStatisticsInstance {
68
68
  /**
69
69
  * The number of current Workers by Activity.
70
70
  */
71
- activityStatistics: Array<Record<string, object>>;
71
+ activityStatistics: Array<any>;
72
72
  /**
73
73
  * The total number of Workers.
74
74
  */
@@ -106,7 +106,7 @@ export declare class WorkersRealTimeStatisticsInstance {
106
106
  */
107
107
  toJSON(): {
108
108
  accountSid: string;
109
- activityStatistics: Record<string, object>[];
109
+ activityStatistics: any[];
110
110
  totalWorkers: number;
111
111
  workspaceSid: string;
112
112
  url: string;
@@ -62,8 +62,8 @@ export declare class WorkersStatisticsContextImpl implements WorkersStatisticsCo
62
62
  [inspect.custom](_depth: any, options: InspectOptions): string;
63
63
  }
64
64
  interface WorkersStatisticsResource {
65
- realtime: Record<string, object>;
66
- cumulative: Record<string, object>;
65
+ realtime: any;
66
+ cumulative: any;
67
67
  account_sid: string;
68
68
  workspace_sid: string;
69
69
  url: string;
@@ -76,11 +76,11 @@ export declare class WorkersStatisticsInstance {
76
76
  /**
77
77
  * An object that contains the real-time statistics for the Worker.
78
78
  */
79
- realtime: Record<string, object>;
79
+ realtime: any;
80
80
  /**
81
81
  * An object that contains the cumulative statistics for the Worker.
82
82
  */
83
- cumulative: Record<string, object>;
83
+ cumulative: any;
84
84
  /**
85
85
  * The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Worker resource.
86
86
  */
@@ -117,8 +117,8 @@ export declare class WorkersStatisticsInstance {
117
117
  * @returns Object
118
118
  */
119
119
  toJSON(): {
120
- realtime: Record<string, object>;
121
- cumulative: Record<string, object>;
120
+ realtime: any;
121
+ cumulative: any;
122
122
  accountSid: string;
123
123
  workspaceSid: string;
124
124
  url: string;
@@ -69,9 +69,9 @@ interface WorkflowCumulativeStatisticsResource {
69
69
  reservations_timed_out: number;
70
70
  reservations_canceled: number;
71
71
  reservations_rescinded: number;
72
- split_by_wait_time: Record<string, object>;
73
- wait_duration_until_accepted: Record<string, object>;
74
- wait_duration_until_canceled: Record<string, object>;
72
+ split_by_wait_time: any;
73
+ wait_duration_until_accepted: any;
74
+ wait_duration_until_canceled: any;
75
75
  tasks_canceled: number;
76
76
  tasks_completed: number;
77
77
  tasks_entered: number;
@@ -130,15 +130,15 @@ export declare class WorkflowCumulativeStatisticsInstance {
130
130
  /**
131
131
  * A list of objects that describe the number of Tasks canceled and reservations accepted above and below the thresholds specified in seconds.
132
132
  */
133
- splitByWaitTime: Record<string, object>;
133
+ splitByWaitTime: any;
134
134
  /**
135
135
  * The wait duration statistics (`avg`, `min`, `max`, `total`) for Tasks that were accepted.
136
136
  */
137
- waitDurationUntilAccepted: Record<string, object>;
137
+ waitDurationUntilAccepted: any;
138
138
  /**
139
139
  * The wait duration statistics (`avg`, `min`, `max`, `total`) for Tasks that were canceled.
140
140
  */
141
- waitDurationUntilCanceled: Record<string, object>;
141
+ waitDurationUntilCanceled: any;
142
142
  /**
143
143
  * The total number of Tasks that were canceled.
144
144
  */
@@ -209,9 +209,9 @@ export declare class WorkflowCumulativeStatisticsInstance {
209
209
  reservationsTimedOut: number;
210
210
  reservationsCanceled: number;
211
211
  reservationsRescinded: number;
212
- splitByWaitTime: Record<string, object>;
213
- waitDurationUntilAccepted: Record<string, object>;
214
- waitDurationUntilCanceled: Record<string, object>;
212
+ splitByWaitTime: any;
213
+ waitDurationUntilAccepted: any;
214
+ waitDurationUntilCanceled: any;
215
215
  tasksCanceled: number;
216
216
  tasksCompleted: number;
217
217
  tasksEntered: number;
@@ -54,8 +54,8 @@ interface WorkflowRealTimeStatisticsResource {
54
54
  account_sid: string;
55
55
  longest_task_waiting_age: number;
56
56
  longest_task_waiting_sid: string;
57
- tasks_by_priority: Record<string, object>;
58
- tasks_by_status: Record<string, object>;
57
+ tasks_by_priority: any;
58
+ tasks_by_status: any;
59
59
  total_tasks: number;
60
60
  workflow_sid: string;
61
61
  workspace_sid: string;
@@ -81,11 +81,11 @@ export declare class WorkflowRealTimeStatisticsInstance {
81
81
  /**
82
82
  * The number of Tasks by priority. For example: `{\"0\": \"10\", \"99\": \"5\"}` shows 10 Tasks at priority 0 and 5 at priority 99.
83
83
  */
84
- tasksByPriority: Record<string, object>;
84
+ tasksByPriority: any;
85
85
  /**
86
86
  * The number of Tasks by their current status. For example: `{\"pending\": \"1\", \"reserved\": \"3\", \"assigned\": \"2\", \"completed\": \"5\"}`.
87
87
  */
88
- tasksByStatus: Record<string, object>;
88
+ tasksByStatus: any;
89
89
  /**
90
90
  * The total number of Tasks.
91
91
  */
@@ -129,8 +129,8 @@ export declare class WorkflowRealTimeStatisticsInstance {
129
129
  accountSid: string;
130
130
  longestTaskWaitingAge: number;
131
131
  longestTaskWaitingSid: string;
132
- tasksByPriority: Record<string, object>;
133
- tasksByStatus: Record<string, object>;
132
+ tasksByPriority: any;
133
+ tasksByStatus: any;
134
134
  totalTasks: number;
135
135
  workflowSid: string;
136
136
  workspaceSid: string;
@@ -60,8 +60,8 @@ export declare class WorkflowStatisticsContextImpl implements WorkflowStatistics
60
60
  }
61
61
  interface WorkflowStatisticsResource {
62
62
  account_sid: string;
63
- cumulative: Record<string, object>;
64
- realtime: Record<string, object>;
63
+ cumulative: any;
64
+ realtime: any;
65
65
  workflow_sid: string;
66
66
  workspace_sid: string;
67
67
  url: string;
@@ -78,11 +78,11 @@ export declare class WorkflowStatisticsInstance {
78
78
  /**
79
79
  * An object that contains the cumulative statistics for the Workflow.
80
80
  */
81
- cumulative: Record<string, object>;
81
+ cumulative: any;
82
82
  /**
83
83
  * An object that contains the real-time statistics for the Workflow.
84
84
  */
85
- realtime: Record<string, object>;
85
+ realtime: any;
86
86
  /**
87
87
  * Returns the list of Tasks that are being controlled by the Workflow with the specified SID value.
88
88
  */
@@ -120,8 +120,8 @@ export declare class WorkflowStatisticsInstance {
120
120
  */
121
121
  toJSON(): {
122
122
  accountSid: string;
123
- cumulative: Record<string, object>;
124
- realtime: Record<string, object>;
123
+ cumulative: any;
124
+ realtime: any;
125
125
  workflowSid: string;
126
126
  workspaceSid: string;
127
127
  url: string;
@@ -68,9 +68,9 @@ interface WorkspaceCumulativeStatisticsResource {
68
68
  reservations_timed_out: number;
69
69
  reservations_canceled: number;
70
70
  reservations_rescinded: number;
71
- split_by_wait_time: Record<string, object>;
72
- wait_duration_until_accepted: Record<string, object>;
73
- wait_duration_until_canceled: Record<string, object>;
71
+ split_by_wait_time: any;
72
+ wait_duration_until_accepted: any;
73
+ wait_duration_until_canceled: any;
74
74
  tasks_canceled: number;
75
75
  tasks_completed: number;
76
76
  tasks_created: number;
@@ -128,15 +128,15 @@ export declare class WorkspaceCumulativeStatisticsInstance {
128
128
  /**
129
129
  * A list of objects that describe the number of Tasks canceled and reservations accepted above and below the thresholds specified in seconds.
130
130
  */
131
- splitByWaitTime: Record<string, object>;
131
+ splitByWaitTime: any;
132
132
  /**
133
133
  * The wait duration statistics (`avg`, `min`, `max`, `total`) for Tasks that were accepted.
134
134
  */
135
- waitDurationUntilAccepted: Record<string, object>;
135
+ waitDurationUntilAccepted: any;
136
136
  /**
137
137
  * The wait duration statistics (`avg`, `min`, `max`, `total`) for Tasks that were canceled.
138
138
  */
139
- waitDurationUntilCanceled: Record<string, object>;
139
+ waitDurationUntilCanceled: any;
140
140
  /**
141
141
  * The total number of Tasks that were canceled.
142
142
  */
@@ -203,9 +203,9 @@ export declare class WorkspaceCumulativeStatisticsInstance {
203
203
  reservationsTimedOut: number;
204
204
  reservationsCanceled: number;
205
205
  reservationsRescinded: number;
206
- splitByWaitTime: Record<string, object>;
207
- waitDurationUntilAccepted: Record<string, object>;
208
- waitDurationUntilCanceled: Record<string, object>;
206
+ splitByWaitTime: any;
207
+ waitDurationUntilAccepted: any;
208
+ waitDurationUntilCanceled: any;
209
209
  tasksCanceled: number;
210
210
  tasksCompleted: number;
211
211
  tasksCreated: number;
@@ -51,11 +51,11 @@ export declare class WorkspaceRealTimeStatisticsContextImpl implements Workspace
51
51
  }
52
52
  interface WorkspaceRealTimeStatisticsResource {
53
53
  account_sid: string;
54
- activity_statistics: Array<Record<string, object>>;
54
+ activity_statistics: Array<any>;
55
55
  longest_task_waiting_age: number;
56
56
  longest_task_waiting_sid: string;
57
- tasks_by_priority: Record<string, object>;
58
- tasks_by_status: Record<string, object>;
57
+ tasks_by_priority: any;
58
+ tasks_by_status: any;
59
59
  total_tasks: number;
60
60
  total_workers: number;
61
61
  workspace_sid: string;
@@ -73,7 +73,7 @@ export declare class WorkspaceRealTimeStatisticsInstance {
73
73
  /**
74
74
  * The number of current Workers by Activity.
75
75
  */
76
- activityStatistics: Array<Record<string, object>>;
76
+ activityStatistics: Array<any>;
77
77
  /**
78
78
  * The age of the longest waiting Task.
79
79
  */
@@ -85,11 +85,11 @@ export declare class WorkspaceRealTimeStatisticsInstance {
85
85
  /**
86
86
  * The number of Tasks by priority. For example: `{\"0\": \"10\", \"99\": \"5\"}` shows 10 Tasks at priority 0 and 5 at priority 99.
87
87
  */
88
- tasksByPriority: Record<string, object>;
88
+ tasksByPriority: any;
89
89
  /**
90
90
  * The number of Tasks by their current status. For example: `{\"pending\": \"1\", \"reserved\": \"3\", \"assigned\": \"2\", \"completed\": \"5\"}`.
91
91
  */
92
- tasksByStatus: Record<string, object>;
92
+ tasksByStatus: any;
93
93
  /**
94
94
  * The total number of Tasks.
95
95
  */
@@ -131,11 +131,11 @@ export declare class WorkspaceRealTimeStatisticsInstance {
131
131
  */
132
132
  toJSON(): {
133
133
  accountSid: string;
134
- activityStatistics: Record<string, object>[];
134
+ activityStatistics: any[];
135
135
  longestTaskWaitingAge: number;
136
136
  longestTaskWaitingSid: string;
137
- tasksByPriority: Record<string, object>;
138
- tasksByStatus: Record<string, object>;
137
+ tasksByPriority: any;
138
+ tasksByStatus: any;
139
139
  totalTasks: number;
140
140
  totalWorkers: number;
141
141
  workspaceSid: string;
@@ -58,8 +58,8 @@ export declare class WorkspaceStatisticsContextImpl implements WorkspaceStatisti
58
58
  [inspect.custom](_depth: any, options: InspectOptions): string;
59
59
  }
60
60
  interface WorkspaceStatisticsResource {
61
- realtime: Record<string, object>;
62
- cumulative: Record<string, object>;
61
+ realtime: any;
62
+ cumulative: any;
63
63
  account_sid: string;
64
64
  workspace_sid: string;
65
65
  url: string;
@@ -72,11 +72,11 @@ export declare class WorkspaceStatisticsInstance {
72
72
  /**
73
73
  * An object that contains the real-time statistics for the Workspace.
74
74
  */
75
- realtime: Record<string, object>;
75
+ realtime: any;
76
76
  /**
77
77
  * An object that contains the cumulative statistics for the Workspace.
78
78
  */
79
- cumulative: Record<string, object>;
79
+ cumulative: any;
80
80
  /**
81
81
  * The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Workspace resource.
82
82
  */
@@ -113,8 +113,8 @@ export declare class WorkspaceStatisticsInstance {
113
113
  * @returns Object
114
114
  */
115
115
  toJSON(): {
116
- realtime: Record<string, object>;
117
- cumulative: Record<string, object>;
116
+ realtime: any;
117
+ cumulative: any;
118
118
  accountSid: string;
119
119
  workspaceSid: string;
120
120
  url: string;
@@ -175,11 +175,12 @@ interface TrunkResource {
175
175
  disaster_recovery_url: string;
176
176
  friendly_name: string;
177
177
  secure: boolean;
178
- recording: Record<string, object>;
178
+ recording: any;
179
179
  transfer_mode: TrunkTransferSetting;
180
180
  transfer_caller_id: TrunkTransferCallerId;
181
181
  cnam_lookup_enabled: boolean;
182
182
  auth_type: string;
183
+ symmetric_rtp_enabled: boolean;
183
184
  auth_type_set: Array<string>;
184
185
  date_created: Date;
185
186
  date_updated: Date;
@@ -219,7 +220,7 @@ export declare class TrunkInstance {
219
220
  /**
220
221
  * The recording settings for the trunk. Can be: `do-not-record`, `record-from-ringing`, `record-from-answer`. If set to `record-from-ringing` or `record-from-answer`, all calls going through the trunk will be recorded. The only way to change recording parameters is on a sub-resource of a Trunk after it has been created. e.g.`/Trunks/[Trunk_SID]/Recording -XPOST -d\'Mode=record-from-answer\'`. See [Recording](https://www.twilio.com/docs/sip-trunking#recording) for more information.
221
222
  */
222
- recording: Record<string, object>;
223
+ recording: any;
223
224
  transferMode: TrunkTransferSetting;
224
225
  transferCallerId: TrunkTransferCallerId;
225
226
  /**
@@ -230,6 +231,10 @@ export declare class TrunkInstance {
230
231
  * The types of authentication mapped to the domain. Can be: `IP_ACL` and `CREDENTIAL_LIST`. If both are mapped, the values are returned in a comma delimited list. If empty, the domain will not receive any traffic.
231
232
  */
232
233
  authType: string;
234
+ /**
235
+ * Whether Symmetric RTP is enabled for the trunk. When Symmetric RTP is disabled, Twilio will send RTP to the destination negotiated in the SDP. Disabling Symmetric RTP is considered to be more secure and therefore recommended. See [Symmetric RTP](https://www.twilio.com/docs/sip-trunking#symmetric-rtp) for more information.
236
+ */
237
+ symmetricRtpEnabled: boolean;
233
238
  /**
234
239
  * Reserved.
235
240
  */
@@ -320,11 +325,12 @@ export declare class TrunkInstance {
320
325
  disasterRecoveryUrl: string;
321
326
  friendlyName: string;
322
327
  secure: boolean;
323
- recording: Record<string, object>;
328
+ recording: any;
324
329
  transferMode: TrunkTransferSetting;
325
330
  transferCallerId: TrunkTransferCallerId;
326
331
  cnamLookupEnabled: boolean;
327
332
  authType: string;
333
+ symmetricRtpEnabled: boolean;
328
334
  authTypeSet: string[];
329
335
  dateCreated: Date;
330
336
  dateUpdated: Date;
@@ -156,6 +156,7 @@ class TrunkInstance {
156
156
  this.transferCallerId = payload.transfer_caller_id;
157
157
  this.cnamLookupEnabled = payload.cnam_lookup_enabled;
158
158
  this.authType = payload.auth_type;
159
+ this.symmetricRtpEnabled = payload.symmetric_rtp_enabled;
159
160
  this.authTypeSet = payload.auth_type_set;
160
161
  this.dateCreated = deserialize.iso8601DateTime(payload.date_created);
161
162
  this.dateUpdated = deserialize.iso8601DateTime(payload.date_updated);
@@ -240,6 +241,7 @@ class TrunkInstance {
240
241
  transferCallerId: this.transferCallerId,
241
242
  cnamLookupEnabled: this.cnamLookupEnabled,
242
243
  authType: this.authType,
244
+ symmetricRtpEnabled: this.symmetricRtpEnabled,
243
245
  authTypeSet: this.authTypeSet,
244
246
  dateCreated: this.dateCreated,
245
247
  dateUpdated: this.dateUpdated,
@@ -89,7 +89,7 @@ interface CustomerProfilesEvaluationsResource {
89
89
  policy_sid: string;
90
90
  customer_profile_sid: string;
91
91
  status: CustomerProfilesEvaluationsStatus;
92
- results: Array<Record<string, object>>;
92
+ results: Array<any>;
93
93
  date_created: Date;
94
94
  url: string;
95
95
  }
@@ -118,7 +118,7 @@ export declare class CustomerProfilesEvaluationsInstance {
118
118
  /**
119
119
  * The results of the Evaluation which includes the valid and invalid attributes.
120
120
  */
121
- results: Array<Record<string, object>>;
121
+ results: Array<any>;
122
122
  dateCreated: Date;
123
123
  url: string;
124
124
  private get _proxy();
@@ -141,7 +141,7 @@ export declare class CustomerProfilesEvaluationsInstance {
141
141
  policySid: string;
142
142
  customerProfileSid: string;
143
143
  status: CustomerProfilesEvaluationsStatus;
144
- results: Record<string, object>[];
144
+ results: any[];
145
145
  dateCreated: Date;
146
146
  url: string;
147
147
  };
@@ -171,7 +171,7 @@ interface CustomerProfilesResource {
171
171
  date_updated: Date;
172
172
  url: string;
173
173
  links: Record<string, string>;
174
- errors: Array<Record<string, object>>;
174
+ errors: Array<any>;
175
175
  }
176
176
  export declare class CustomerProfilesInstance {
177
177
  protected _version: V1;
@@ -226,7 +226,7 @@ export declare class CustomerProfilesInstance {
226
226
  /**
227
227
  * The error codes associated with the rejection of the Customer-Profile.
228
228
  */
229
- errors: Array<Record<string, object>>;
229
+ errors: Array<any>;
230
230
  private get _proxy();
231
231
  /**
232
232
  * Remove a CustomerProfilesInstance
@@ -291,7 +291,7 @@ export declare class CustomerProfilesInstance {
291
291
  dateUpdated: Date;
292
292
  url: string;
293
293
  links: Record<string, string>;
294
- errors: Record<string, object>[];
294
+ errors: any[];
295
295
  };
296
296
  [inspect.custom](_depth: any, options: InspectOptions): string;
297
297
  }
@@ -10,7 +10,7 @@ export interface EndUserContextUpdateOptions {
10
10
  /** The string that you assigned to describe the resource. */
11
11
  friendlyName?: string;
12
12
  /** The set of parameters that are the attributes of the End User resource which are derived End User Types. */
13
- attributes?: object;
13
+ attributes?: any;
14
14
  }
15
15
  /**
16
16
  * Options to pass to create a EndUserInstance
@@ -21,7 +21,7 @@ export interface EndUserListInstanceCreateOptions {
21
21
  /** The type of end user of the Bundle resource - can be `individual` or `business`. */
22
22
  type: string;
23
23
  /** The set of parameters that are the attributes of the End User resource which are derived End User Types. */
24
- attributes?: object;
24
+ attributes?: any;
25
25
  }
26
26
  /**
27
27
  * Options to pass to each
@@ -123,7 +123,7 @@ interface EndUserResource {
123
123
  account_sid: string;
124
124
  friendly_name: string;
125
125
  type: string;
126
- attributes: Record<string, object>;
126
+ attributes: any;
127
127
  date_created: Date;
128
128
  date_updated: Date;
129
129
  url: string;
@@ -152,7 +152,7 @@ export declare class EndUserInstance {
152
152
  /**
153
153
  * The set of parameters that are the attributes of the End Users resource which are listed in the End User Types.
154
154
  */
155
- attributes: Record<string, object>;
155
+ attributes: any;
156
156
  /**
157
157
  * The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
158
158
  */
@@ -209,7 +209,7 @@ export declare class EndUserInstance {
209
209
  accountSid: string;
210
210
  friendlyName: string;
211
211
  type: string;
212
- attributes: Record<string, object>;
212
+ attributes: any;
213
213
  dateCreated: Date;
214
214
  dateUpdated: Date;
215
215
  url: string;
@@ -75,7 +75,7 @@ interface EndUserTypeResource {
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 EndUserTypeInstance {
@@ -98,7 +98,7 @@ export declare class EndUserTypeInstance {
98
98
  /**
99
99
  * The required information for creating an End-User. 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 End-User Type resource.
104
104
  */
@@ -121,7 +121,7 @@ export declare class EndUserTypeInstance {
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;
@@ -74,7 +74,7 @@ interface PoliciesPayload extends TwilioResponsePayload {
74
74
  interface PoliciesResource {
75
75
  sid: string;
76
76
  friendly_name: string;
77
- requirements: Record<string, object>;
77
+ requirements: any;
78
78
  url: string;
79
79
  }
80
80
  export declare class PoliciesInstance {
@@ -93,7 +93,7 @@ export declare class PoliciesInstance {
93
93
  /**
94
94
  * The SID of an object that holds the policy information
95
95
  */
96
- requirements: Record<string, object>;
96
+ requirements: any;
97
97
  /**
98
98
  * The absolute URL of the Policy resource.
99
99
  */
@@ -115,7 +115,7 @@ export declare class PoliciesInstance {
115
115
  toJSON(): {
116
116
  sid: string;
117
117
  friendlyName: string;
118
- requirements: Record<string, object>;
118
+ requirements: any;
119
119
  url: string;
120
120
  };
121
121
  [inspect.custom](_depth: any, options: InspectOptions): string;
@@ -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,7 +129,7 @@ interface SupportingDocumentResource {
129
129
  mime_type: string;
130
130
  status: SupportingDocumentStatus;
131
131
  type: string;
132
- attributes: Record<string, object>;
132
+ attributes: any;
133
133
  date_created: Date;
134
134
  date_updated: Date;
135
135
  url: string;
@@ -163,7 +163,7 @@ export declare class SupportingDocumentInstance {
163
163
  /**
164
164
  * The set of parameters that are the attributes of the Supporting Documents resource which are listed in the Supporting Document Types.
165
165
  */
166
- attributes: Record<string, object>;
166
+ attributes: any;
167
167
  /**
168
168
  * The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
169
169
  */
@@ -222,7 +222,7 @@ export declare class SupportingDocumentInstance {
222
222
  mimeType: string;
223
223
  status: SupportingDocumentStatus;
224
224
  type: string;
225
- attributes: Record<string, object>;
225
+ attributes: any;
226
226
  dateCreated: Date;
227
227
  dateUpdated: Date;
228
228
  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;