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.
- package/lib/rest/Twilio.d.ts +0 -10
- package/lib/rest/Twilio.js +0 -11
- package/lib/rest/accounts/v1/bulkConsents.d.ts +4 -4
- package/lib/rest/accounts/v1/bulkConsents.js +1 -1
- package/lib/rest/accounts/v1/bulkContacts.d.ts +4 -4
- package/lib/rest/accounts/v1/bulkContacts.js +1 -1
- package/lib/rest/api/v2010/account/address/dependentPhoneNumber.d.ts +15 -10
- package/lib/rest/api/v2010/account/address/dependentPhoneNumber.js +2 -2
- package/lib/rest/api/v2010/account/authorizedConnectApp.d.ts +3 -0
- package/lib/rest/api/v2010/account/call/event.d.ts +6 -6
- package/lib/rest/api/v2010/account/call/payment.d.ts +1 -1
- package/lib/rest/api/v2010/account/call/recording.d.ts +3 -3
- package/lib/rest/api/v2010/account/conference/recording.d.ts +3 -3
- package/lib/rest/api/v2010/account/connectApp.d.ts +3 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.d.ts +3 -3
- package/lib/rest/api/v2010/account/incomingPhoneNumber/local.d.ts +3 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.d.ts +3 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.d.ts +3 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber.d.ts +3 -0
- package/lib/rest/api/v2010/account/recording.d.ts +4 -4
- package/lib/rest/api/v2010/account/usage/trigger.d.ts +3 -0
- package/lib/rest/bulkexports/v1/export/day.d.ts +3 -3
- package/lib/rest/bulkexports/v1/export/exportCustomJob.d.ts +3 -3
- package/lib/rest/bulkexports/v1/export/job.d.ts +3 -3
- package/lib/rest/chat/v1/credential.d.ts +3 -0
- package/lib/rest/chat/v1/service/channel.d.ts +3 -0
- package/lib/rest/chat/v1/service/role.d.ts +3 -0
- package/lib/rest/chat/v1/service/user/userChannel.d.ts +3 -0
- package/lib/rest/chat/v1/service.d.ts +9 -9
- package/lib/rest/chat/v2/credential.d.ts +3 -0
- package/lib/rest/chat/v2/service/channel/message.d.ts +3 -3
- package/lib/rest/chat/v2/service/channel/webhook.d.ts +3 -3
- package/lib/rest/chat/v2/service/channel.d.ts +3 -0
- package/lib/rest/chat/v2/service/role.d.ts +3 -0
- package/lib/rest/chat/v2/service/user/userChannel.d.ts +3 -0
- package/lib/rest/chat/v2/service.d.ts +9 -9
- package/lib/rest/chat/v3/channel.d.ts +3 -0
- package/lib/rest/content/v2/content.d.ts +6 -6
- package/lib/rest/content/v2/contentAndApprovals.d.ts +9 -9
- package/lib/rest/conversations/v1/addressConfiguration.d.ts +7 -7
- package/lib/rest/conversations/v1/conversation/message/deliveryReceipt.d.ts +6 -3
- package/lib/rest/conversations/v1/conversation/message.d.ts +9 -9
- package/lib/rest/conversations/v1/conversation/participant.d.ts +6 -6
- package/lib/rest/conversations/v1/conversation/webhook.d.ts +7 -7
- package/lib/rest/conversations/v1/conversation.d.ts +9 -9
- package/lib/rest/conversations/v1/conversationWithParticipants.d.ts +6 -6
- package/lib/rest/conversations/v1/credential.d.ts +6 -3
- package/lib/rest/conversations/v1/participantConversation.d.ts +12 -9
- package/lib/rest/conversations/v1/role.d.ts +6 -3
- package/lib/rest/conversations/v1/service/binding.d.ts +3 -3
- package/lib/rest/conversations/v1/service/configuration/notification.d.ts +9 -9
- package/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.d.ts +6 -3
- package/lib/rest/conversations/v1/service/conversation/message.d.ts +9 -9
- package/lib/rest/conversations/v1/service/conversation/participant.d.ts +6 -6
- package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +7 -7
- package/lib/rest/conversations/v1/service/conversation.d.ts +9 -9
- package/lib/rest/conversations/v1/service/conversationWithParticipants.d.ts +6 -6
- package/lib/rest/conversations/v1/service/participantConversation.d.ts +12 -9
- package/lib/rest/conversations/v1/service/role.d.ts +6 -3
- package/lib/rest/conversations/v1/service/user/userConversation.d.ts +9 -6
- package/lib/rest/conversations/v1/service/user.d.ts +3 -3
- package/lib/rest/conversations/v1/service.d.ts +3 -3
- package/lib/rest/conversations/v1/user/userConversation.d.ts +9 -6
- package/lib/rest/conversations/v1/user.d.ts +3 -3
- package/lib/rest/events/v1/sink.d.ts +4 -4
- package/lib/rest/events/v1/subscription.d.ts +1 -1
- package/lib/rest/events/v1/subscription.js +1 -1
- package/lib/rest/flexApi/v1/assessments.d.ts +3 -3
- package/lib/rest/flexApi/v1/configuration.d.ts +66 -66
- package/lib/rest/flexApi/v1/flexFlow.d.ts +3 -3
- package/lib/rest/flexApi/v1/insightsAssessmentsComment.d.ts +3 -3
- package/lib/rest/flexApi/v1/insightsConversations.d.ts +3 -3
- package/lib/rest/flexApi/v1/insightsQuestionnaires.d.ts +3 -3
- package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.d.ts +6 -6
- package/lib/rest/flexApi/v1/insightsSegments.d.ts +9 -9
- package/lib/rest/flexApi/v1/insightsSettingsAnswerSets.d.ts +9 -9
- package/lib/rest/flexApi/v1/insightsSettingsComment.d.ts +3 -3
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.d.ts +4 -4
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +5 -5
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionTransfer.d.ts +6 -0
- package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +4 -1
- package/lib/rest/flexApi/v1/interaction.d.ts +8 -8
- package/lib/rest/flexApi/v1/pluginConfiguration.d.ts +1 -1
- package/lib/rest/flexApi/v1/pluginConfiguration.js +1 -1
- package/lib/rest/frontlineApi/v1/user.d.ts +3 -0
- package/lib/rest/intelligence/v2/customOperator.d.ts +5 -5
- package/lib/rest/intelligence/v2/operator.d.ts +3 -3
- package/lib/rest/intelligence/v2/operatorType.d.ts +3 -3
- package/lib/rest/intelligence/v2/prebuiltOperator.d.ts +3 -3
- package/lib/rest/intelligence/v2/service.d.ts +3 -0
- package/lib/rest/intelligence/v2/transcript/operatorResult.d.ts +15 -15
- package/lib/rest/intelligence/v2/transcript/sentence.d.ts +3 -3
- package/lib/rest/intelligence/v2/transcript.d.ts +4 -4
- package/lib/rest/ipMessaging/v1/service.d.ts +9 -9
- package/lib/rest/ipMessaging/v2/service/channel/message.d.ts +3 -3
- package/lib/rest/ipMessaging/v2/service/channel/webhook.d.ts +3 -3
- package/lib/rest/ipMessaging/v2/service.d.ts +9 -9
- package/lib/rest/lookups/V2.d.ts +20 -0
- package/lib/rest/lookups/V2.js +25 -0
- package/lib/rest/lookups/v2/bucket.d.ts +205 -0
- package/lib/rest/lookups/v2/bucket.js +187 -0
- package/lib/rest/lookups/v2/lookupOverride.d.ts +264 -0
- package/lib/rest/lookups/v2/lookupOverride.js +225 -0
- package/lib/rest/lookups/v2/phoneNumber.d.ts +3 -0
- package/lib/rest/lookups/v2/query.d.ts +175 -0
- package/lib/rest/lookups/v2/query.js +123 -0
- package/lib/rest/lookups/v2/rateLimit.d.ts +83 -0
- package/lib/rest/lookups/v2/rateLimit.js +82 -0
- package/lib/rest/messaging/v1/service/destinationAlphaSender.d.ts +6 -0
- package/lib/rest/messaging/v1/service/destinationAlphaSender.js +2 -0
- package/lib/rest/messaging/v1/service.d.ts +3 -3
- package/lib/rest/messaging/v2/channelsSender.d.ts +49 -4
- package/lib/rest/messaging/v2/channelsSender.js +14 -2
- package/lib/rest/monitor/v1/event.d.ts +3 -3
- package/lib/rest/notify/v1/credential.d.ts +3 -0
- package/lib/rest/notify/v1/service/notification.d.ts +28 -28
- package/lib/rest/numbers/v1/bulkEligibility.d.ts +3 -3
- package/lib/rest/numbers/v1/eligibility.d.ts +3 -3
- package/lib/rest/numbers/v1/portingPortIn.d.ts +6 -6
- package/lib/rest/numbers/v2/bulkHostedNumberOrder.d.ts +3 -3
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +3 -3
- package/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +5 -5
- package/lib/rest/numbers/v2/regulatoryCompliance/endUserType.d.ts +3 -3
- package/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +3 -3
- package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +8 -8
- package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.d.ts +3 -3
- package/lib/rest/preview/marketplace/availableAddOn.d.ts +3 -3
- package/lib/rest/preview/marketplace/installedAddOn.d.ts +5 -5
- package/lib/rest/preview/wireless/sim/usage.d.ts +15 -15
- package/lib/rest/proxy/v1/service/session/interaction.d.ts +3 -0
- package/lib/rest/proxy/v1/service/session/participant/messageInteraction.d.ts +3 -0
- package/lib/rest/proxy/v1/service/session.d.ts +1 -1
- package/lib/rest/proxy/v1/service/session.js +1 -1
- package/lib/rest/proxy/v1/service.d.ts +0 -8
- package/lib/rest/proxy/v1/service.js +0 -13
- package/lib/rest/serverless/v1/service/build.d.ts +9 -9
- package/lib/rest/serverless/v1/service/environment/log.d.ts +6 -7
- package/lib/rest/studio/v1/flow/engagement/engagementContext.d.ts +3 -3
- package/lib/rest/studio/v1/flow/engagement/step/stepContext.d.ts +3 -3
- package/lib/rest/studio/v1/flow/engagement/step.d.ts +3 -3
- package/lib/rest/studio/v1/flow/engagement.d.ts +4 -4
- package/lib/rest/studio/v1/flow/execution/executionContext.d.ts +3 -3
- package/lib/rest/studio/v1/flow/execution/executionStep/executionStepContext.d.ts +3 -3
- package/lib/rest/studio/v1/flow/execution/executionStep.d.ts +3 -3
- package/lib/rest/studio/v1/flow/execution.d.ts +4 -4
- package/lib/rest/studio/v2/flow/execution/executionContext.d.ts +3 -3
- package/lib/rest/studio/v2/flow/execution/executionStep/executionStepContext.d.ts +3 -3
- package/lib/rest/studio/v2/flow/execution/executionStep.d.ts +3 -3
- package/lib/rest/studio/v2/flow/execution.d.ts +4 -4
- package/lib/rest/studio/v2/flow/flowRevision.d.ts +6 -6
- package/lib/rest/studio/v2/flow.d.ts +11 -11
- package/lib/rest/studio/v2/flowValidate.d.ts +1 -1
- package/lib/rest/supersim/v1/network.d.ts +3 -3
- package/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.d.ts +3 -3
- package/lib/rest/supersim/v1/settingsUpdate.d.ts +3 -3
- package/lib/rest/supersim/v1/sim/billingPeriod.d.ts +3 -0
- package/lib/rest/supersim/v1/usageRecord.d.ts +3 -3
- package/lib/rest/sync/v1/service/document/documentPermission.d.ts +3 -3
- package/lib/rest/sync/v1/service/document.d.ts +3 -3
- package/lib/rest/sync/v1/service/syncList/syncListItem.d.ts +3 -3
- package/lib/rest/sync/v1/service/syncList/syncListPermission.d.ts +3 -3
- package/lib/rest/sync/v1/service/syncList.d.ts +3 -3
- package/lib/rest/sync/v1/service/syncMap/syncMapItem.d.ts +3 -3
- package/lib/rest/sync/v1/service/syncMap/syncMapPermission.d.ts +3 -3
- package/lib/rest/sync/v1/service/syncMap.d.ts +3 -3
- package/lib/rest/sync/v1/service/syncStream.d.ts +3 -3
- package/lib/rest/sync/v1/service.d.ts +3 -3
- package/lib/rest/taskrouter/v1/workspace/event.d.ts +3 -3
- package/lib/rest/taskrouter/v1/workspace/task/reservation.d.ts +3 -0
- package/lib/rest/taskrouter/v1/workspace/task.d.ts +4 -1
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueBulkRealTimeStatistics.d.ts +3 -3
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.d.ts +12 -12
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueRealTimeStatistics.d.ts +9 -9
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueStatistics.d.ts +6 -6
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.d.ts +6 -6
- package/lib/rest/taskrouter/v1/workspace/worker/reservation.d.ts +3 -0
- package/lib/rest/taskrouter/v1/workspace/worker/workerStatistics.d.ts +3 -3
- package/lib/rest/taskrouter/v1/workspace/worker/workersCumulativeStatistics.d.ts +3 -3
- package/lib/rest/taskrouter/v1/workspace/worker/workersRealTimeStatistics.d.ts +3 -3
- package/lib/rest/taskrouter/v1/workspace/worker/workersStatistics.d.ts +6 -6
- package/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.d.ts +9 -9
- package/lib/rest/taskrouter/v1/workspace/workflow/workflowRealTimeStatistics.d.ts +6 -6
- package/lib/rest/taskrouter/v1/workspace/workflow/workflowStatistics.d.ts +6 -6
- package/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.d.ts +9 -9
- package/lib/rest/taskrouter/v1/workspace/workspaceRealTimeStatistics.d.ts +9 -9
- package/lib/rest/taskrouter/v1/workspace/workspaceStatistics.d.ts +6 -6
- package/lib/rest/taskrouter/v1/workspace.d.ts +3 -0
- package/lib/rest/trunking/v1/trunk/phoneNumber.d.ts +3 -0
- package/lib/rest/trunking/v1/trunk/recording.d.ts +6 -0
- package/lib/rest/trunking/v1/trunk.d.ts +12 -3
- package/lib/rest/trunking/v1/trunk.js +2 -0
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +3 -3
- package/lib/rest/trusthub/v1/customerProfiles.d.ts +3 -3
- package/lib/rest/trusthub/v1/endUser.d.ts +5 -5
- package/lib/rest/trusthub/v1/endUserType.d.ts +3 -3
- package/lib/rest/trusthub/v1/policies.d.ts +3 -3
- package/lib/rest/trusthub/v1/supportingDocument.d.ts +5 -5
- package/lib/rest/trusthub/v1/supportingDocumentType.d.ts +3 -3
- package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +3 -3
- package/lib/rest/trusthub/v1/trustProducts.d.ts +3 -3
- package/lib/rest/verify/v2/form.d.ts +9 -6
- package/lib/rest/verify/v2/service/accessToken.d.ts +3 -0
- package/lib/rest/verify/v2/service/entity/challenge.d.ts +21 -12
- package/lib/rest/verify/v2/service/entity/challenge.js +1 -1
- package/lib/rest/verify/v2/service/entity/factor.d.ts +12 -6
- package/lib/rest/verify/v2/service/entity/newFactor.d.ts +16 -10
- package/lib/rest/verify/v2/service/verification.d.ts +11 -11
- package/lib/rest/verify/v2/service/verificationCheck.d.ts +3 -3
- package/lib/rest/verify/v2/service/webhook.d.ts +3 -0
- package/lib/rest/verify/v2/service.d.ts +9 -9
- package/lib/rest/verify/v2/template.d.ts +3 -3
- package/lib/rest/verify/v2/verificationAttempt.d.ts +13 -10
- package/lib/rest/verify/v2/verificationAttemptsSummary.d.ts +2 -2
- package/lib/rest/video/v1/composition.d.ts +3 -3
- package/lib/rest/video/v1/recording.d.ts +3 -3
- package/lib/rest/video/v1/room/transcriptions.d.ts +316 -0
- package/lib/rest/{proxy/v1/service/shortCode.js → video/v1/room/transcriptions.js} +61 -78
- package/lib/rest/video/v1/room.d.ts +8 -0
- package/lib/rest/video/v1/room.js +13 -0
- package/lib/rest/wireless/v1/sim/dataSession.d.ts +3 -3
- package/lib/rest/wireless/v1/sim/usageRecord.d.ts +9 -9
- package/lib/rest/wireless/v1/usageRecord.d.ts +9 -9
- package/lib/twiml/VoiceResponse.d.ts +32 -1
- package/lib/twiml/VoiceResponse.js +18 -0
- package/package.json +1 -1
- package/lib/rest/Knowledge.d.ts +0 -4
- package/lib/rest/Knowledge.js +0 -8
- package/lib/rest/KnowledgeBase.d.ts +0 -13
- package/lib/rest/KnowledgeBase.js +0 -31
- package/lib/rest/Microvisor.d.ts +0 -14
- package/lib/rest/Microvisor.js +0 -22
- package/lib/rest/MicrovisorBase.d.ts +0 -13
- package/lib/rest/MicrovisorBase.js +0 -31
- package/lib/rest/knowledge/V1.d.ts +0 -15
- package/lib/rest/knowledge/V1.js +0 -36
- package/lib/rest/knowledge/v1/knowledge/chunk.d.ts +0 -167
- package/lib/rest/knowledge/v1/knowledge/chunk.js +0 -131
- package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.d.ts +0 -101
- package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.js +0 -118
- package/lib/rest/knowledge/v1/knowledge.d.ts +0 -406
- package/lib/rest/knowledge/v1/knowledge.js +0 -300
- package/lib/rest/microvisor/V1.d.ts +0 -30
- package/lib/rest/microvisor/V1.js +0 -56
- package/lib/rest/microvisor/v1/accountConfig.d.ts +0 -263
- package/lib/rest/microvisor/v1/accountConfig.js +0 -254
- package/lib/rest/microvisor/v1/accountSecret.d.ts +0 -257
- package/lib/rest/microvisor/v1/accountSecret.js +0 -252
- package/lib/rest/microvisor/v1/app/appManifest.d.ts +0 -101
- package/lib/rest/microvisor/v1/app/appManifest.js +0 -118
- package/lib/rest/microvisor/v1/app.d.ts +0 -251
- package/lib/rest/microvisor/v1/app.js +0 -222
- package/lib/rest/microvisor/v1/device/deviceConfig.d.ts +0 -271
- package/lib/rest/microvisor/v1/device/deviceConfig.js +0 -262
- package/lib/rest/microvisor/v1/device/deviceSecret.d.ts +0 -265
- package/lib/rest/microvisor/v1/device/deviceSecret.js +0 -260
- package/lib/rest/microvisor/v1/device.d.ts +0 -299
- package/lib/rest/microvisor/v1/device.js +0 -250
- 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
|
|
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<
|
|
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<
|
|
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:
|
|
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:
|
|
72
|
+
split_by_wait_time: any;
|
|
73
73
|
task_queue_sid: string;
|
|
74
|
-
wait_duration_until_accepted:
|
|
75
|
-
wait_duration_until_canceled:
|
|
76
|
-
wait_duration_in_queue_until_accepted:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
212
|
+
splitByWaitTime: any;
|
|
213
213
|
taskQueueSid: string;
|
|
214
|
-
waitDurationUntilAccepted:
|
|
215
|
-
waitDurationUntilCanceled:
|
|
216
|
-
waitDurationInQueueUntilAccepted:
|
|
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<
|
|
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:
|
|
62
|
-
tasks_by_status:
|
|
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<
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
162
|
-
tasksByStatus:
|
|
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:
|
|
64
|
-
realtime:
|
|
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:
|
|
81
|
+
cumulative: any;
|
|
82
82
|
/**
|
|
83
83
|
* An object that contains the real-time statistics for the TaskQueue.
|
|
84
84
|
*/
|
|
85
|
-
realtime:
|
|
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:
|
|
124
|
-
realtime:
|
|
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:
|
|
145
|
-
realtime:
|
|
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:
|
|
159
|
+
cumulative: any;
|
|
160
160
|
/**
|
|
161
161
|
* An object that contains the real-time statistics for the TaskQueues.
|
|
162
162
|
*/
|
|
163
|
-
realtime:
|
|
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:
|
|
180
|
-
realtime:
|
|
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:
|
|
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:
|
|
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:
|
|
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<
|
|
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<
|
|
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:
|
|
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<
|
|
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<
|
|
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:
|
|
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:
|
|
66
|
-
cumulative:
|
|
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:
|
|
79
|
+
realtime: any;
|
|
80
80
|
/**
|
|
81
81
|
* An object that contains the cumulative statistics for the Worker.
|
|
82
82
|
*/
|
|
83
|
-
cumulative:
|
|
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:
|
|
121
|
-
cumulative:
|
|
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:
|
|
73
|
-
wait_duration_until_accepted:
|
|
74
|
-
wait_duration_until_canceled:
|
|
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:
|
|
133
|
+
splitByWaitTime: any;
|
|
134
134
|
/**
|
|
135
135
|
* The wait duration statistics (`avg`, `min`, `max`, `total`) for Tasks that were accepted.
|
|
136
136
|
*/
|
|
137
|
-
waitDurationUntilAccepted:
|
|
137
|
+
waitDurationUntilAccepted: any;
|
|
138
138
|
/**
|
|
139
139
|
* The wait duration statistics (`avg`, `min`, `max`, `total`) for Tasks that were canceled.
|
|
140
140
|
*/
|
|
141
|
-
waitDurationUntilCanceled:
|
|
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:
|
|
213
|
-
waitDurationUntilAccepted:
|
|
214
|
-
waitDurationUntilCanceled:
|
|
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:
|
|
58
|
-
tasks_by_status:
|
|
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:
|
|
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:
|
|
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:
|
|
133
|
-
tasksByStatus:
|
|
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:
|
|
64
|
-
realtime:
|
|
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:
|
|
81
|
+
cumulative: any;
|
|
82
82
|
/**
|
|
83
83
|
* An object that contains the real-time statistics for the Workflow.
|
|
84
84
|
*/
|
|
85
|
-
realtime:
|
|
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:
|
|
124
|
-
realtime:
|
|
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:
|
|
72
|
-
wait_duration_until_accepted:
|
|
73
|
-
wait_duration_until_canceled:
|
|
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:
|
|
131
|
+
splitByWaitTime: any;
|
|
132
132
|
/**
|
|
133
133
|
* The wait duration statistics (`avg`, `min`, `max`, `total`) for Tasks that were accepted.
|
|
134
134
|
*/
|
|
135
|
-
waitDurationUntilAccepted:
|
|
135
|
+
waitDurationUntilAccepted: any;
|
|
136
136
|
/**
|
|
137
137
|
* The wait duration statistics (`avg`, `min`, `max`, `total`) for Tasks that were canceled.
|
|
138
138
|
*/
|
|
139
|
-
waitDurationUntilCanceled:
|
|
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:
|
|
207
|
-
waitDurationUntilAccepted:
|
|
208
|
-
waitDurationUntilCanceled:
|
|
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<
|
|
54
|
+
activity_statistics: Array<any>;
|
|
55
55
|
longest_task_waiting_age: number;
|
|
56
56
|
longest_task_waiting_sid: string;
|
|
57
|
-
tasks_by_priority:
|
|
58
|
-
tasks_by_status:
|
|
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<
|
|
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:
|
|
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:
|
|
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:
|
|
134
|
+
activityStatistics: any[];
|
|
135
135
|
longestTaskWaitingAge: number;
|
|
136
136
|
longestTaskWaitingSid: string;
|
|
137
|
-
tasksByPriority:
|
|
138
|
-
tasksByStatus:
|
|
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:
|
|
62
|
-
cumulative:
|
|
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:
|
|
75
|
+
realtime: any;
|
|
76
76
|
/**
|
|
77
77
|
* An object that contains the cumulative statistics for the Workspace.
|
|
78
78
|
*/
|
|
79
|
-
cumulative:
|
|
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:
|
|
117
|
-
cumulative:
|
|
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
|