twilio 5.7.0 → 5.7.2

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 (258) 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 +15 -10
  8. package/lib/rest/api/v2010/account/address/dependentPhoneNumber.js +2 -2
  9. package/lib/rest/api/v2010/account/authorizedConnectApp.d.ts +3 -0
  10. package/lib/rest/api/v2010/account/call/event.d.ts +6 -6
  11. package/lib/rest/api/v2010/account/call/payment.d.ts +1 -1
  12. package/lib/rest/api/v2010/account/call/recording.d.ts +3 -3
  13. package/lib/rest/api/v2010/account/conference/recording.d.ts +3 -3
  14. package/lib/rest/api/v2010/account/connectApp.d.ts +3 -0
  15. package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.d.ts +3 -3
  16. package/lib/rest/api/v2010/account/incomingPhoneNumber/local.d.ts +3 -0
  17. package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.d.ts +3 -0
  18. package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.d.ts +3 -0
  19. package/lib/rest/api/v2010/account/incomingPhoneNumber.d.ts +3 -0
  20. package/lib/rest/api/v2010/account/recording.d.ts +4 -4
  21. package/lib/rest/api/v2010/account/usage/trigger.d.ts +3 -0
  22. package/lib/rest/bulkexports/v1/export/day.d.ts +3 -3
  23. package/lib/rest/bulkexports/v1/export/exportCustomJob.d.ts +3 -3
  24. package/lib/rest/bulkexports/v1/export/job.d.ts +3 -3
  25. package/lib/rest/chat/v1/credential.d.ts +3 -0
  26. package/lib/rest/chat/v1/service/channel.d.ts +3 -0
  27. package/lib/rest/chat/v1/service/role.d.ts +3 -0
  28. package/lib/rest/chat/v1/service/user/userChannel.d.ts +3 -0
  29. package/lib/rest/chat/v1/service.d.ts +9 -9
  30. package/lib/rest/chat/v2/credential.d.ts +3 -0
  31. package/lib/rest/chat/v2/service/channel/message.d.ts +3 -3
  32. package/lib/rest/chat/v2/service/channel/webhook.d.ts +3 -3
  33. package/lib/rest/chat/v2/service/channel.d.ts +3 -0
  34. package/lib/rest/chat/v2/service/role.d.ts +3 -0
  35. package/lib/rest/chat/v2/service/user/userChannel.d.ts +3 -0
  36. package/lib/rest/chat/v2/service.d.ts +9 -9
  37. package/lib/rest/chat/v3/channel.d.ts +3 -0
  38. package/lib/rest/content/v2/content.d.ts +6 -6
  39. package/lib/rest/content/v2/contentAndApprovals.d.ts +9 -9
  40. package/lib/rest/conversations/v1/addressConfiguration.d.ts +7 -7
  41. package/lib/rest/conversations/v1/conversation/message/deliveryReceipt.d.ts +6 -3
  42. package/lib/rest/conversations/v1/conversation/message.d.ts +9 -9
  43. package/lib/rest/conversations/v1/conversation/participant.d.ts +6 -6
  44. package/lib/rest/conversations/v1/conversation/webhook.d.ts +7 -7
  45. package/lib/rest/conversations/v1/conversation.d.ts +9 -9
  46. package/lib/rest/conversations/v1/conversationWithParticipants.d.ts +6 -6
  47. package/lib/rest/conversations/v1/credential.d.ts +6 -3
  48. package/lib/rest/conversations/v1/participantConversation.d.ts +12 -9
  49. package/lib/rest/conversations/v1/role.d.ts +6 -3
  50. package/lib/rest/conversations/v1/service/binding.d.ts +3 -3
  51. package/lib/rest/conversations/v1/service/configuration/notification.d.ts +9 -9
  52. package/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.d.ts +6 -3
  53. package/lib/rest/conversations/v1/service/conversation/message.d.ts +9 -9
  54. package/lib/rest/conversations/v1/service/conversation/participant.d.ts +6 -6
  55. package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +7 -7
  56. package/lib/rest/conversations/v1/service/conversation.d.ts +9 -9
  57. package/lib/rest/conversations/v1/service/conversationWithParticipants.d.ts +6 -6
  58. package/lib/rest/conversations/v1/service/participantConversation.d.ts +12 -9
  59. package/lib/rest/conversations/v1/service/role.d.ts +6 -3
  60. package/lib/rest/conversations/v1/service/user/userConversation.d.ts +9 -6
  61. package/lib/rest/conversations/v1/service/user.d.ts +3 -3
  62. package/lib/rest/conversations/v1/service.d.ts +3 -3
  63. package/lib/rest/conversations/v1/user/userConversation.d.ts +9 -6
  64. package/lib/rest/conversations/v1/user.d.ts +3 -3
  65. package/lib/rest/events/v1/sink.d.ts +4 -4
  66. package/lib/rest/events/v1/subscription.d.ts +1 -1
  67. package/lib/rest/events/v1/subscription.js +1 -1
  68. package/lib/rest/flexApi/v1/assessments.d.ts +3 -3
  69. package/lib/rest/flexApi/v1/configuration.d.ts +66 -66
  70. package/lib/rest/flexApi/v1/flexFlow.d.ts +3 -3
  71. package/lib/rest/flexApi/v1/insightsAssessmentsComment.d.ts +3 -3
  72. package/lib/rest/flexApi/v1/insightsConversations.d.ts +3 -3
  73. package/lib/rest/flexApi/v1/insightsQuestionnaires.d.ts +3 -3
  74. package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.d.ts +6 -6
  75. package/lib/rest/flexApi/v1/insightsSegments.d.ts +9 -9
  76. package/lib/rest/flexApi/v1/insightsSettingsAnswerSets.d.ts +9 -9
  77. package/lib/rest/flexApi/v1/insightsSettingsComment.d.ts +3 -3
  78. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.d.ts +4 -4
  79. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +5 -5
  80. package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionTransfer.d.ts +6 -0
  81. package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +4 -1
  82. package/lib/rest/flexApi/v1/interaction.d.ts +8 -8
  83. package/lib/rest/flexApi/v1/pluginConfiguration.d.ts +1 -1
  84. package/lib/rest/flexApi/v1/pluginConfiguration.js +1 -1
  85. package/lib/rest/frontlineApi/v1/user.d.ts +3 -0
  86. package/lib/rest/intelligence/v2/customOperator.d.ts +5 -5
  87. package/lib/rest/intelligence/v2/operator.d.ts +3 -3
  88. package/lib/rest/intelligence/v2/operatorType.d.ts +3 -3
  89. package/lib/rest/intelligence/v2/prebuiltOperator.d.ts +3 -3
  90. package/lib/rest/intelligence/v2/service.d.ts +3 -0
  91. package/lib/rest/intelligence/v2/transcript/operatorResult.d.ts +15 -15
  92. package/lib/rest/intelligence/v2/transcript/sentence.d.ts +3 -3
  93. package/lib/rest/intelligence/v2/transcript.d.ts +4 -4
  94. package/lib/rest/ipMessaging/v1/service.d.ts +9 -9
  95. package/lib/rest/ipMessaging/v2/service/channel/message.d.ts +3 -3
  96. package/lib/rest/ipMessaging/v2/service/channel/webhook.d.ts +3 -3
  97. package/lib/rest/ipMessaging/v2/service.d.ts +9 -9
  98. package/lib/rest/lookups/V2.d.ts +20 -0
  99. package/lib/rest/lookups/V2.js +25 -0
  100. package/lib/rest/lookups/v2/bucket.d.ts +205 -0
  101. package/lib/rest/lookups/v2/bucket.js +187 -0
  102. package/lib/rest/lookups/v2/lookupOverride.d.ts +264 -0
  103. package/lib/rest/lookups/v2/lookupOverride.js +225 -0
  104. package/lib/rest/lookups/v2/phoneNumber.d.ts +3 -0
  105. package/lib/rest/lookups/v2/query.d.ts +175 -0
  106. package/lib/rest/lookups/v2/query.js +123 -0
  107. package/lib/rest/lookups/v2/rateLimit.d.ts +83 -0
  108. package/lib/rest/lookups/v2/rateLimit.js +82 -0
  109. package/lib/rest/messaging/v1/service/destinationAlphaSender.d.ts +6 -0
  110. package/lib/rest/messaging/v1/service/destinationAlphaSender.js +2 -0
  111. package/lib/rest/messaging/v1/service.d.ts +3 -3
  112. package/lib/rest/messaging/v2/channelsSender.d.ts +49 -4
  113. package/lib/rest/messaging/v2/channelsSender.js +14 -2
  114. package/lib/rest/monitor/v1/event.d.ts +3 -3
  115. package/lib/rest/notify/v1/credential.d.ts +3 -0
  116. package/lib/rest/notify/v1/service/notification.d.ts +28 -28
  117. package/lib/rest/numbers/v1/bulkEligibility.d.ts +3 -3
  118. package/lib/rest/numbers/v1/eligibility.d.ts +3 -3
  119. package/lib/rest/numbers/v1/portingPortIn.d.ts +6 -6
  120. package/lib/rest/numbers/v2/bulkHostedNumberOrder.d.ts +3 -3
  121. package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +3 -3
  122. package/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +5 -5
  123. package/lib/rest/numbers/v2/regulatoryCompliance/endUserType.d.ts +3 -3
  124. package/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +3 -3
  125. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +8 -8
  126. package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.d.ts +3 -3
  127. package/lib/rest/preview/marketplace/availableAddOn.d.ts +3 -3
  128. package/lib/rest/preview/marketplace/installedAddOn.d.ts +5 -5
  129. package/lib/rest/preview/wireless/sim/usage.d.ts +15 -15
  130. package/lib/rest/proxy/v1/service/session/interaction.d.ts +3 -0
  131. package/lib/rest/proxy/v1/service/session/participant/messageInteraction.d.ts +3 -0
  132. package/lib/rest/proxy/v1/service/session.d.ts +1 -1
  133. package/lib/rest/proxy/v1/service/session.js +1 -1
  134. package/lib/rest/proxy/v1/service.d.ts +0 -8
  135. package/lib/rest/proxy/v1/service.js +0 -13
  136. package/lib/rest/serverless/v1/service/build.d.ts +9 -9
  137. package/lib/rest/serverless/v1/service/environment/log.d.ts +6 -7
  138. package/lib/rest/studio/v1/flow/engagement/engagementContext.d.ts +3 -3
  139. package/lib/rest/studio/v1/flow/engagement/step/stepContext.d.ts +3 -3
  140. package/lib/rest/studio/v1/flow/engagement/step.d.ts +3 -3
  141. package/lib/rest/studio/v1/flow/engagement.d.ts +4 -4
  142. package/lib/rest/studio/v1/flow/execution/executionContext.d.ts +3 -3
  143. package/lib/rest/studio/v1/flow/execution/executionStep/executionStepContext.d.ts +3 -3
  144. package/lib/rest/studio/v1/flow/execution/executionStep.d.ts +3 -3
  145. package/lib/rest/studio/v1/flow/execution.d.ts +4 -4
  146. package/lib/rest/studio/v2/flow/execution/executionContext.d.ts +3 -3
  147. package/lib/rest/studio/v2/flow/execution/executionStep/executionStepContext.d.ts +3 -3
  148. package/lib/rest/studio/v2/flow/execution/executionStep.d.ts +3 -3
  149. package/lib/rest/studio/v2/flow/execution.d.ts +4 -4
  150. package/lib/rest/studio/v2/flow/flowRevision.d.ts +6 -6
  151. package/lib/rest/studio/v2/flow.d.ts +11 -11
  152. package/lib/rest/studio/v2/flowValidate.d.ts +1 -1
  153. package/lib/rest/supersim/v1/network.d.ts +3 -3
  154. package/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.d.ts +3 -3
  155. package/lib/rest/supersim/v1/settingsUpdate.d.ts +3 -3
  156. package/lib/rest/supersim/v1/sim/billingPeriod.d.ts +3 -0
  157. package/lib/rest/supersim/v1/usageRecord.d.ts +3 -3
  158. package/lib/rest/sync/v1/service/document/documentPermission.d.ts +3 -3
  159. package/lib/rest/sync/v1/service/document.d.ts +3 -3
  160. package/lib/rest/sync/v1/service/syncList/syncListItem.d.ts +3 -3
  161. package/lib/rest/sync/v1/service/syncList/syncListPermission.d.ts +3 -3
  162. package/lib/rest/sync/v1/service/syncList.d.ts +3 -3
  163. package/lib/rest/sync/v1/service/syncMap/syncMapItem.d.ts +3 -3
  164. package/lib/rest/sync/v1/service/syncMap/syncMapPermission.d.ts +3 -3
  165. package/lib/rest/sync/v1/service/syncMap.d.ts +3 -3
  166. package/lib/rest/sync/v1/service/syncStream.d.ts +3 -3
  167. package/lib/rest/sync/v1/service.d.ts +3 -3
  168. package/lib/rest/taskrouter/v1/workspace/event.d.ts +3 -3
  169. package/lib/rest/taskrouter/v1/workspace/task/reservation.d.ts +3 -0
  170. package/lib/rest/taskrouter/v1/workspace/task.d.ts +4 -1
  171. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueBulkRealTimeStatistics.d.ts +3 -3
  172. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.d.ts +12 -12
  173. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueRealTimeStatistics.d.ts +9 -9
  174. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueStatistics.d.ts +6 -6
  175. package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.d.ts +6 -6
  176. package/lib/rest/taskrouter/v1/workspace/worker/reservation.d.ts +3 -0
  177. package/lib/rest/taskrouter/v1/workspace/worker/workerStatistics.d.ts +3 -3
  178. package/lib/rest/taskrouter/v1/workspace/worker/workersCumulativeStatistics.d.ts +3 -3
  179. package/lib/rest/taskrouter/v1/workspace/worker/workersRealTimeStatistics.d.ts +3 -3
  180. package/lib/rest/taskrouter/v1/workspace/worker/workersStatistics.d.ts +6 -6
  181. package/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.d.ts +9 -9
  182. package/lib/rest/taskrouter/v1/workspace/workflow/workflowRealTimeStatistics.d.ts +6 -6
  183. package/lib/rest/taskrouter/v1/workspace/workflow/workflowStatistics.d.ts +6 -6
  184. package/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.d.ts +9 -9
  185. package/lib/rest/taskrouter/v1/workspace/workspaceRealTimeStatistics.d.ts +9 -9
  186. package/lib/rest/taskrouter/v1/workspace/workspaceStatistics.d.ts +6 -6
  187. package/lib/rest/taskrouter/v1/workspace.d.ts +3 -0
  188. package/lib/rest/trunking/v1/trunk/phoneNumber.d.ts +3 -0
  189. package/lib/rest/trunking/v1/trunk/recording.d.ts +6 -0
  190. package/lib/rest/trunking/v1/trunk.d.ts +12 -3
  191. package/lib/rest/trunking/v1/trunk.js +2 -0
  192. package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +3 -3
  193. package/lib/rest/trusthub/v1/customerProfiles.d.ts +3 -3
  194. package/lib/rest/trusthub/v1/endUser.d.ts +5 -5
  195. package/lib/rest/trusthub/v1/endUserType.d.ts +3 -3
  196. package/lib/rest/trusthub/v1/policies.d.ts +3 -3
  197. package/lib/rest/trusthub/v1/supportingDocument.d.ts +5 -5
  198. package/lib/rest/trusthub/v1/supportingDocumentType.d.ts +3 -3
  199. package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +3 -3
  200. package/lib/rest/trusthub/v1/trustProducts.d.ts +3 -3
  201. package/lib/rest/verify/v2/form.d.ts +9 -6
  202. package/lib/rest/verify/v2/service/accessToken.d.ts +3 -0
  203. package/lib/rest/verify/v2/service/entity/challenge.d.ts +21 -12
  204. package/lib/rest/verify/v2/service/entity/challenge.js +1 -1
  205. package/lib/rest/verify/v2/service/entity/factor.d.ts +12 -6
  206. package/lib/rest/verify/v2/service/entity/newFactor.d.ts +16 -10
  207. package/lib/rest/verify/v2/service/verification.d.ts +11 -11
  208. package/lib/rest/verify/v2/service/verificationCheck.d.ts +3 -3
  209. package/lib/rest/verify/v2/service/webhook.d.ts +3 -0
  210. package/lib/rest/verify/v2/service.d.ts +9 -9
  211. package/lib/rest/verify/v2/template.d.ts +3 -3
  212. package/lib/rest/verify/v2/verificationAttempt.d.ts +13 -10
  213. package/lib/rest/verify/v2/verificationAttemptsSummary.d.ts +2 -2
  214. package/lib/rest/video/v1/composition.d.ts +3 -3
  215. package/lib/rest/video/v1/recording.d.ts +3 -3
  216. package/lib/rest/video/v1/room/transcriptions.d.ts +316 -0
  217. package/lib/rest/{proxy/v1/service/shortCode.js → video/v1/room/transcriptions.js} +61 -78
  218. package/lib/rest/video/v1/room.d.ts +8 -0
  219. package/lib/rest/video/v1/room.js +13 -0
  220. package/lib/rest/wireless/v1/sim/dataSession.d.ts +3 -3
  221. package/lib/rest/wireless/v1/sim/usageRecord.d.ts +9 -9
  222. package/lib/rest/wireless/v1/usageRecord.d.ts +9 -9
  223. package/lib/twiml/VoiceResponse.d.ts +32 -1
  224. package/lib/twiml/VoiceResponse.js +18 -0
  225. package/package.json +1 -1
  226. package/lib/rest/Knowledge.d.ts +0 -4
  227. package/lib/rest/Knowledge.js +0 -8
  228. package/lib/rest/KnowledgeBase.d.ts +0 -13
  229. package/lib/rest/KnowledgeBase.js +0 -31
  230. package/lib/rest/Microvisor.d.ts +0 -14
  231. package/lib/rest/Microvisor.js +0 -22
  232. package/lib/rest/MicrovisorBase.d.ts +0 -13
  233. package/lib/rest/MicrovisorBase.js +0 -31
  234. package/lib/rest/knowledge/V1.d.ts +0 -15
  235. package/lib/rest/knowledge/V1.js +0 -36
  236. package/lib/rest/knowledge/v1/knowledge/chunk.d.ts +0 -167
  237. package/lib/rest/knowledge/v1/knowledge/chunk.js +0 -131
  238. package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.d.ts +0 -101
  239. package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.js +0 -118
  240. package/lib/rest/knowledge/v1/knowledge.d.ts +0 -406
  241. package/lib/rest/knowledge/v1/knowledge.js +0 -300
  242. package/lib/rest/microvisor/V1.d.ts +0 -30
  243. package/lib/rest/microvisor/V1.js +0 -56
  244. package/lib/rest/microvisor/v1/accountConfig.d.ts +0 -263
  245. package/lib/rest/microvisor/v1/accountConfig.js +0 -254
  246. package/lib/rest/microvisor/v1/accountSecret.d.ts +0 -257
  247. package/lib/rest/microvisor/v1/accountSecret.js +0 -252
  248. package/lib/rest/microvisor/v1/app/appManifest.d.ts +0 -101
  249. package/lib/rest/microvisor/v1/app/appManifest.js +0 -118
  250. package/lib/rest/microvisor/v1/app.d.ts +0 -251
  251. package/lib/rest/microvisor/v1/app.js +0 -222
  252. package/lib/rest/microvisor/v1/device/deviceConfig.d.ts +0 -271
  253. package/lib/rest/microvisor/v1/device/deviceConfig.js +0 -262
  254. package/lib/rest/microvisor/v1/device/deviceSecret.d.ts +0 -265
  255. package/lib/rest/microvisor/v1/device/deviceSecret.js +0 -260
  256. package/lib/rest/microvisor/v1/device.d.ts +0 -299
  257. package/lib/rest/microvisor/v1/device.js +0 -250
  258. package/lib/rest/proxy/v1/service/shortCode.d.ts +0 -316
@@ -4,6 +4,9 @@ import Page, { TwilioResponsePayload } from "../../../../base/Page";
4
4
  import Response from "../../../../http/response";
5
5
  import V1 from "../../V1";
6
6
  import { ReservationListInstance } from "./task/reservation";
7
+ /**
8
+ * The current status of the Task\'s assignment. Can be: `pending`, `reserved`, `assigned`, `canceled`, `wrapping`, or `completed`.
9
+ */
7
10
  export type TaskStatus = "pending" | "reserved" | "assigned" | "canceled" | "completed" | "wrapping";
8
11
  /**
9
12
  * Options to pass to remove a TaskInstance
@@ -43,7 +46,7 @@ export interface TaskListInstanceCreateOptions {
43
46
  taskChannel?: string;
44
47
  /** The SID of the Workflow that you would like to handle routing for the new Task. If there is only one Workflow defined for the Workspace that you are posting the new task to, this parameter is optional. */
45
48
  workflowSid?: string;
46
- /** A URL-encoded JSON string with the attributes of the new task. This value is passed to the Workflow\\\'s `assignment_callback_url` when the Task is assigned to a Worker. For example: `{ \\\"task_type\\\": \\\"call\\\", \\\"twilio_call_sid\\\": \\\"CAxxx\\\", \\\"customer_ticket_number\\\": \\\"12345\\\" }`. */
49
+ /** A JSON string with the attributes of the new task. This value is passed to the Workflow\\\'s `assignment_callback_url` when the Task is assigned to a Worker. For example: `{ \\\"task_type\\\": \\\"call\\\", \\\"twilio_call_sid\\\": \\\"CAxxx\\\", \\\"customer_ticket_number\\\": \\\"12345\\\" }`. */
47
50
  attributes?: string;
48
51
  /** The virtual start time to assign the new task and override the default. When supplied, the new task will have this virtual start time. When not supplied, the new task will have the virtual start time equal to `date_created`. Value can\\\'t be in the future or before the year of 1900. */
49
52
  virtualStartTime?: Date;
@@ -43,7 +43,7 @@ export declare function TaskQueueBulkRealTimeStatisticsListInstance(version: V1,
43
43
  interface TaskQueueBulkRealTimeStatisticsResource {
44
44
  account_sid: string;
45
45
  workspace_sid: string;
46
- task_queue_data: Array<Record<string, object>>;
46
+ task_queue_data: Array<any>;
47
47
  task_queue_response_count: number;
48
48
  url: string;
49
49
  }
@@ -61,7 +61,7 @@ export declare class TaskQueueBulkRealTimeStatisticsInstance {
61
61
  /**
62
62
  * The real-time statistics for each requested TaskQueue SID. `task_queue_data` returns the following attributes: `task_queue_sid`: The SID of the TaskQueue from which these statistics were calculated. `total_available_workers`: The total number of Workers available for Tasks in the TaskQueue. `total_eligible_workers`: The total number of Workers eligible for Tasks in the TaskQueue, regardless of their Activity state. `total_tasks`: The total number of Tasks. `longest_task_waiting_age`: The age of the longest waiting Task. `longest_task_waiting_sid`: The SID of the longest waiting Task. `tasks_by_status`: The number of Tasks grouped by their current status. `tasks_by_priority`: The number of Tasks grouped by priority. `activity_statistics`: The number of current Workers grouped by Activity.
63
63
  */
64
- taskQueueData: Array<Record<string, object>>;
64
+ taskQueueData: Array<any>;
65
65
  /**
66
66
  * The number of TaskQueue statistics received in task_queue_data.
67
67
  */
@@ -78,7 +78,7 @@ export declare class TaskQueueBulkRealTimeStatisticsInstance {
78
78
  toJSON(): {
79
79
  accountSid: string;
80
80
  workspaceSid: string;
81
- taskQueueData: Record<string, object>[];
81
+ taskQueueData: any[];
82
82
  taskQueueResponseCount: number;
83
83
  url: string;
84
84
  };
@@ -69,11 +69,11 @@ interface TaskQueueCumulativeStatisticsResource {
69
69
  reservations_timed_out: number;
70
70
  reservations_canceled: number;
71
71
  reservations_rescinded: number;
72
- split_by_wait_time: Record<string, object>;
72
+ split_by_wait_time: any;
73
73
  task_queue_sid: string;
74
- wait_duration_until_accepted: Record<string, object>;
75
- wait_duration_until_canceled: Record<string, object>;
76
- wait_duration_in_queue_until_accepted: Record<string, object>;
74
+ wait_duration_until_accepted: any;
75
+ wait_duration_until_canceled: any;
76
+ wait_duration_in_queue_until_accepted: any;
77
77
  tasks_canceled: number;
78
78
  tasks_completed: number;
79
79
  tasks_deleted: number;
@@ -130,7 +130,7 @@ export declare class TaskQueueCumulativeStatisticsInstance {
130
130
  /**
131
131
  * A list of objects that describe the number of Tasks canceled and reservations accepted above and below the thresholds specified in seconds.
132
132
  */
133
- splitByWaitTime: Record<string, object>;
133
+ splitByWaitTime: any;
134
134
  /**
135
135
  * The SID of the TaskQueue from which these statistics were calculated.
136
136
  */
@@ -138,15 +138,15 @@ export declare class TaskQueueCumulativeStatisticsInstance {
138
138
  /**
139
139
  * The wait duration statistics (`avg`, `min`, `max`, `total`) for Tasks accepted while in the TaskQueue. Calculation is based on the time when the Tasks were created. For transfers, the wait duration is counted from the moment ***the Task was created***, and not from when the transfer was initiated.
140
140
  */
141
- waitDurationUntilAccepted: Record<string, object>;
141
+ waitDurationUntilAccepted: any;
142
142
  /**
143
143
  * The wait duration statistics (`avg`, `min`, `max`, `total`) for Tasks canceled while in the TaskQueue.
144
144
  */
145
- waitDurationUntilCanceled: Record<string, object>;
145
+ waitDurationUntilCanceled: any;
146
146
  /**
147
147
  * The relative wait duration statistics (`avg`, `min`, `max`, `total`) for Tasks accepted while in the TaskQueue. Calculation is based on the time when the Tasks entered the TaskQueue.
148
148
  */
149
- waitDurationInQueueUntilAccepted: Record<string, object>;
149
+ waitDurationInQueueUntilAccepted: any;
150
150
  /**
151
151
  * The total number of Tasks canceled in the TaskQueue.
152
152
  */
@@ -209,11 +209,11 @@ export declare class TaskQueueCumulativeStatisticsInstance {
209
209
  reservationsTimedOut: number;
210
210
  reservationsCanceled: number;
211
211
  reservationsRescinded: number;
212
- splitByWaitTime: Record<string, object>;
212
+ splitByWaitTime: any;
213
213
  taskQueueSid: string;
214
- waitDurationUntilAccepted: Record<string, object>;
215
- waitDurationUntilCanceled: Record<string, object>;
216
- waitDurationInQueueUntilAccepted: Record<string, object>;
214
+ waitDurationUntilAccepted: any;
215
+ waitDurationUntilCanceled: any;
216
+ waitDurationInQueueUntilAccepted: any;
217
217
  tasksCanceled: number;
218
218
  tasksCompleted: number;
219
219
  tasksDeleted: number;
@@ -52,14 +52,14 @@ export declare class TaskQueueRealTimeStatisticsContextImpl implements TaskQueue
52
52
  }
53
53
  interface TaskQueueRealTimeStatisticsResource {
54
54
  account_sid: string;
55
- activity_statistics: Array<Record<string, object>>;
55
+ activity_statistics: Array<any>;
56
56
  longest_task_waiting_age: number;
57
57
  longest_task_waiting_sid: string;
58
58
  longest_relative_task_age_in_queue: number;
59
59
  longest_relative_task_sid_in_queue: string;
60
60
  task_queue_sid: string;
61
- tasks_by_priority: Record<string, object>;
62
- tasks_by_status: Record<string, object>;
61
+ tasks_by_priority: any;
62
+ tasks_by_status: any;
63
63
  total_available_workers: number;
64
64
  total_eligible_workers: number;
65
65
  total_tasks: number;
@@ -78,7 +78,7 @@ export declare class TaskQueueRealTimeStatisticsInstance {
78
78
  /**
79
79
  * The number of current Workers by Activity.
80
80
  */
81
- activityStatistics: Array<Record<string, object>>;
81
+ activityStatistics: Array<any>;
82
82
  /**
83
83
  * The age of the longest waiting Task.
84
84
  */
@@ -102,11 +102,11 @@ export declare class TaskQueueRealTimeStatisticsInstance {
102
102
  /**
103
103
  * The number of Tasks by priority. For example: `{\"0\": \"10\", \"99\": \"5\"}` shows 10 Tasks at priority 0 and 5 at priority 99.
104
104
  */
105
- tasksByPriority: Record<string, object>;
105
+ tasksByPriority: any;
106
106
  /**
107
107
  * The number of Tasks by their current status. For example: `{\"pending\": \"1\", \"reserved\": \"3\", \"assigned\": \"2\", \"completed\": \"5\"}`.
108
108
  */
109
- tasksByStatus: Record<string, object>;
109
+ tasksByStatus: any;
110
110
  /**
111
111
  * The total number of Workers in the TaskQueue with an `available` status. Workers with an `available` status may already have active interactions or may have none.
112
112
  */
@@ -152,14 +152,14 @@ export declare class TaskQueueRealTimeStatisticsInstance {
152
152
  */
153
153
  toJSON(): {
154
154
  accountSid: string;
155
- activityStatistics: Record<string, object>[];
155
+ activityStatistics: any[];
156
156
  longestTaskWaitingAge: number;
157
157
  longestTaskWaitingSid: string;
158
158
  longestRelativeTaskAgeInQueue: number;
159
159
  longestRelativeTaskSidInQueue: string;
160
160
  taskQueueSid: string;
161
- tasksByPriority: Record<string, object>;
162
- tasksByStatus: Record<string, object>;
161
+ tasksByPriority: any;
162
+ tasksByStatus: any;
163
163
  totalAvailableWorkers: number;
164
164
  totalEligibleWorkers: number;
165
165
  totalTasks: number;
@@ -60,8 +60,8 @@ export declare class TaskQueueStatisticsContextImpl implements TaskQueueStatisti
60
60
  }
61
61
  interface TaskQueueStatisticsResource {
62
62
  account_sid: string;
63
- cumulative: Record<string, object>;
64
- realtime: Record<string, object>;
63
+ cumulative: any;
64
+ realtime: any;
65
65
  task_queue_sid: string;
66
66
  workspace_sid: string;
67
67
  url: string;
@@ -78,11 +78,11 @@ export declare class TaskQueueStatisticsInstance {
78
78
  /**
79
79
  * An object that contains the cumulative statistics for the TaskQueue.
80
80
  */
81
- cumulative: Record<string, object>;
81
+ cumulative: any;
82
82
  /**
83
83
  * An object that contains the real-time statistics for the TaskQueue.
84
84
  */
85
- realtime: Record<string, object>;
85
+ realtime: any;
86
86
  /**
87
87
  * The SID of the TaskQueue from which these statistics were calculated.
88
88
  */
@@ -120,8 +120,8 @@ export declare class TaskQueueStatisticsInstance {
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
  taskQueueSid: string;
126
126
  workspaceSid: string;
127
127
  url: string;
@@ -141,8 +141,8 @@ interface TaskQueuesStatisticsPayload extends TwilioResponsePayload {
141
141
  }
142
142
  interface TaskQueuesStatisticsResource {
143
143
  account_sid: string;
144
- cumulative: Record<string, object>;
145
- realtime: Record<string, object>;
144
+ cumulative: any;
145
+ realtime: any;
146
146
  task_queue_sid: string;
147
147
  workspace_sid: string;
148
148
  }
@@ -156,11 +156,11 @@ export declare class TaskQueuesStatisticsInstance {
156
156
  /**
157
157
  * An object that contains the cumulative statistics for the TaskQueues.
158
158
  */
159
- cumulative: Record<string, object>;
159
+ cumulative: any;
160
160
  /**
161
161
  * An object that contains the real-time statistics for the TaskQueues.
162
162
  */
163
- realtime: Record<string, object>;
163
+ realtime: any;
164
164
  /**
165
165
  * The SID of the TaskQueue from which these statistics were calculated.
166
166
  */
@@ -176,8 +176,8 @@ export declare class TaskQueuesStatisticsInstance {
176
176
  */
177
177
  toJSON(): {
178
178
  accountSid: string;
179
- cumulative: Record<string, object>;
180
- realtime: Record<string, object>;
179
+ cumulative: any;
180
+ realtime: any;
181
181
  taskQueueSid: string;
182
182
  workspaceSid: string;
183
183
  };
@@ -5,6 +5,9 @@ import Response from "../../../../../http/response";
5
5
  import V1 from "../../../V1";
6
6
  export type ReservationCallStatus = "initiated" | "ringing" | "answered" | "completed";
7
7
  export type ReservationConferenceEvent = "start" | "end" | "join" | "leave" | "mute" | "hold" | "speaker";
8
+ /**
9
+ * The current status of the reservation. Can be: `pending`, `accepted`, `rejected`, `timeout`, `canceled`, or `rescinded`.
10
+ */
8
11
  export type ReservationStatus = "pending" | "accepted" | "rejected" | "timeout" | "canceled" | "rescinded" | "wrapping" | "completed";
9
12
  /**
10
13
  * Options to pass to update a ReservationInstance
@@ -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;
@@ -13,6 +13,9 @@ import { WorkflowListInstance } from "./workspace/workflow";
13
13
  import { WorkspaceCumulativeStatisticsListInstance } from "./workspace/workspaceCumulativeStatistics";
14
14
  import { WorkspaceRealTimeStatisticsListInstance } from "./workspace/workspaceRealTimeStatistics";
15
15
  import { WorkspaceStatisticsListInstance } from "./workspace/workspaceStatistics";
16
+ /**
17
+ * The type of TaskQueue to prioritize when Workers are receiving Tasks from both types of TaskQueues. Can be: `LIFO` or `FIFO` and the default is `FIFO`. For more information, see [Queue Ordering](https://www.twilio.com/docs/taskrouter/queue-ordering-last-first-out-lifo).
18
+ */
16
19
  export type WorkspaceQueueOrder = "FIFO" | "LIFO";
17
20
  /**
18
21
  * Options to pass to update a WorkspaceInstance
@@ -3,6 +3,9 @@ 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
+ * Whether the phone number requires an [Address](https://www.twilio.com/docs/usage/api/address) registered with Twilio and, if so, what type. Can be: `none`, `any`, `local`, or `foreign`.
8
+ */
6
9
  export type PhoneNumberAddressRequirement = "none" | "any" | "local" | "foreign";
7
10
  /**
8
11
  * Options to pass to create a PhoneNumberInstance