twilio 5.4.4 → 5.5.0
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/base/Page.js +1 -1
- package/lib/jwt/ClientCapability.js +1 -1
- package/lib/jwt/taskrouter/TaskRouterCapability.js +1 -1
- 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 +3 -3
- package/lib/rest/api/v2010/account/address.d.ts +6 -0
- package/lib/rest/api/v2010/account/address.js +2 -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/call/transcription.d.ts +1 -1
- package/lib/rest/api/v2010/account/conference/recording.d.ts +3 -3
- package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.d.ts +3 -3
- package/lib/rest/api/v2010/account/recording.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/service.d.ts +9 -9
- 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.d.ts +9 -9
- package/lib/rest/conversations/v1/addressConfiguration.d.ts +4 -4
- package/lib/rest/conversations/v1/conversation/message.d.ts +6 -6
- package/lib/rest/conversations/v1/conversation/participant.d.ts +3 -3
- package/lib/rest/conversations/v1/conversation/webhook.d.ts +3 -3
- package/lib/rest/conversations/v1/conversation.d.ts +6 -6
- package/lib/rest/conversations/v1/conversationWithParticipants.d.ts +6 -6
- package/lib/rest/conversations/v1/participantConversation.d.ts +6 -6
- package/lib/rest/conversations/v1/service/configuration/notification.d.ts +9 -9
- package/lib/rest/conversations/v1/service/conversation/message.d.ts +6 -6
- package/lib/rest/conversations/v1/service/conversation/participant.d.ts +3 -3
- package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +3 -3
- package/lib/rest/conversations/v1/service/conversation.d.ts +6 -6
- package/lib/rest/conversations/v1/service/conversationWithParticipants.d.ts +6 -6
- package/lib/rest/conversations/v1/service/participantConversation.d.ts +6 -6
- package/lib/rest/conversations/v1/service/user/userConversation.d.ts +3 -3
- package/lib/rest/conversations/v1/user/userConversation.d.ts +3 -3
- package/lib/rest/events/v1/sink.d.ts +5 -5
- 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 +232 -0
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionTransfer.js +203 -0
- package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +9 -1
- package/lib/rest/flexApi/v1/interaction/interactionChannel.js +13 -0
- 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/iam/v1/apiKey.d.ts +3 -3
- package/lib/rest/iam/v1/newApiKey.d.ts +3 -3
- package/lib/rest/insights/v1/call/callSummary.d.ts +30 -30
- package/lib/rest/insights/v1/call/event.d.ts +12 -12
- package/lib/rest/insights/v1/call/metric.d.ts +12 -12
- package/lib/rest/insights/v1/callSummaries.d.ts +30 -30
- package/lib/rest/insights/v1/conference/conferenceParticipant.d.ts +10 -10
- package/lib/rest/insights/v1/conference.d.ts +7 -7
- package/lib/rest/insights/v1/room/participant.d.ts +6 -6
- 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/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/v1/phoneNumber.d.ts +9 -9
- package/lib/rest/lookups/v2/phoneNumber.d.ts +30 -30
- package/lib/rest/messaging/v1/brandRegistration/brandVetting.d.ts +2 -2
- package/lib/rest/messaging/v1/brandRegistration.d.ts +4 -4
- package/lib/rest/messaging/v1/domainCerts.d.ts +3 -3
- package/lib/rest/messaging/v1/service/usAppToPerson.d.ts +6 -6
- package/lib/rest/messaging/v1/service/usAppToPersonUsecase.d.ts +3 -3
- package/lib/rest/messaging/v1/tollfreeVerification.d.ts +7 -7
- package/lib/rest/messaging/v1/usecase.d.ts +3 -3
- package/lib/rest/microvisor/v1/device.d.ts +6 -6
- package/lib/rest/monitor/v1/event.d.ts +3 -3
- package/lib/rest/notify/v1/service/notification.d.ts +28 -28
- package/lib/rest/numbers/V1.d.ts +5 -5
- package/lib/rest/numbers/V1.js +6 -8
- 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/v1/{portingWebhookConfigurationFetch.d.ts → webhook.d.ts} +10 -10
- package/lib/rest/numbers/v1/{portingWebhookConfigurationFetch.js → webhook.js} +6 -6
- package/lib/rest/numbers/v2/bulkHostedNumberOrder.d.ts +3 -3
- package/lib/rest/numbers/v2/hostedNumberOrder.d.ts +1 -1
- 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/sync/service/document.d.ts +5 -5
- package/lib/rest/preview/sync/service/syncList/syncListItem.d.ts +5 -5
- package/lib/rest/preview/sync/service/syncMap/syncMapItem.d.ts +5 -5
- package/lib/rest/preview/wireless/sim/usage.d.ts +15 -15
- package/lib/rest/proxy/v1/service/session.d.ts +1 -1
- package/lib/rest/proxy/v1/service/session.js +1 -1
- package/lib/rest/serverless/v1/service/build.d.ts +9 -9
- 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/usageRecord.d.ts +3 -3
- package/lib/rest/sync/v1/service/document.d.ts +5 -5
- package/lib/rest/sync/v1/service/syncList/syncListItem.d.ts +5 -5
- package/lib/rest/sync/v1/service/syncMap/syncMapItem.d.ts +5 -5
- package/lib/rest/sync/v1/service/syncStream/streamMessage.d.ts +4 -4
- package/lib/rest/taskrouter/v1/workspace/event.d.ts +3 -3
- 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/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/trunking/v1/trunk.d.ts +3 -3
- 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 +6 -6
- 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 +6 -6
- package/lib/rest/verify/v2/service/entity/challenge.d.ts +12 -12
- package/lib/rest/verify/v2/service/entity/challenge.js +1 -1
- package/lib/rest/verify/v2/service/entity/factor.d.ts +6 -6
- package/lib/rest/verify/v2/service/entity/newFactor.d.ts +10 -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.d.ts +9 -9
- package/lib/rest/verify/v2/template.d.ts +3 -3
- package/lib/rest/verify/v2/verificationAttempt.d.ts +6 -6
- package/lib/rest/video/v1/composition.d.ts +4 -4
- package/lib/rest/video/v1/compositionHook.d.ts +5 -5
- package/lib/rest/video/v1/recording.d.ts +3 -3
- package/lib/rest/video/v1/room/participant/subscribeRules.d.ts +1 -1
- package/lib/rest/video/v1/room/recordingRules.d.ts +1 -1
- package/lib/rest/video/v1/room/roomRecording.d.ts +3 -3
- package/lib/rest/video/v1/room.d.ts +1 -1
- 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 +1 -2
- package/package.json +3 -3
|
@@ -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<Record<string, object>>;
|
|
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: Record<string, object>;
|
|
62
|
+
tasks_by_status: Record<string, object>;
|
|
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<Record<string, object>>;
|
|
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: Record<string, object>;
|
|
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: Record<string, object>;
|
|
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: Record<string, object>[];
|
|
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: Record<string, object>;
|
|
162
|
+
tasksByStatus: Record<string, object>;
|
|
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: Record<string, object>;
|
|
64
|
+
realtime: Record<string, object>;
|
|
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: Record<string, object>;
|
|
82
82
|
/**
|
|
83
83
|
* An object that contains the real-time statistics for the TaskQueue.
|
|
84
84
|
*/
|
|
85
|
-
realtime:
|
|
85
|
+
realtime: Record<string, object>;
|
|
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: Record<string, object>;
|
|
124
|
+
realtime: Record<string, object>;
|
|
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: Record<string, object>;
|
|
145
|
+
realtime: Record<string, object>;
|
|
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: Record<string, object>;
|
|
160
160
|
/**
|
|
161
161
|
* An object that contains the real-time statistics for the TaskQueues.
|
|
162
162
|
*/
|
|
163
|
-
realtime:
|
|
163
|
+
realtime: Record<string, object>;
|
|
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: Record<string, object>;
|
|
180
|
+
realtime: Record<string, object>;
|
|
181
181
|
taskQueueSid: string;
|
|
182
182
|
workspaceSid: string;
|
|
183
183
|
};
|
|
@@ -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: Record<string, object>;
|
|
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: Record<string, object>;
|
|
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: Record<string, object>;
|
|
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<Record<string, object>>;
|
|
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<Record<string, object>>;
|
|
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: Record<string, object>[];
|
|
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<Record<string, object>>;
|
|
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<Record<string, object>>;
|
|
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: Record<string, object>[];
|
|
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: Record<string, object>;
|
|
66
|
+
cumulative: Record<string, object>;
|
|
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: Record<string, object>;
|
|
80
80
|
/**
|
|
81
81
|
* An object that contains the cumulative statistics for the Worker.
|
|
82
82
|
*/
|
|
83
|
-
cumulative:
|
|
83
|
+
cumulative: Record<string, object>;
|
|
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: Record<string, object>;
|
|
121
|
+
cumulative: Record<string, object>;
|
|
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: Record<string, object>;
|
|
73
|
+
wait_duration_until_accepted: Record<string, object>;
|
|
74
|
+
wait_duration_until_canceled: Record<string, object>;
|
|
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: Record<string, object>;
|
|
134
134
|
/**
|
|
135
135
|
* The wait duration statistics (`avg`, `min`, `max`, `total`) for Tasks that were accepted.
|
|
136
136
|
*/
|
|
137
|
-
waitDurationUntilAccepted:
|
|
137
|
+
waitDurationUntilAccepted: Record<string, object>;
|
|
138
138
|
/**
|
|
139
139
|
* The wait duration statistics (`avg`, `min`, `max`, `total`) for Tasks that were canceled.
|
|
140
140
|
*/
|
|
141
|
-
waitDurationUntilCanceled:
|
|
141
|
+
waitDurationUntilCanceled: Record<string, object>;
|
|
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: Record<string, object>;
|
|
213
|
+
waitDurationUntilAccepted: Record<string, object>;
|
|
214
|
+
waitDurationUntilCanceled: Record<string, object>;
|
|
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: Record<string, object>;
|
|
58
|
+
tasks_by_status: Record<string, object>;
|
|
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: Record<string, object>;
|
|
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: Record<string, object>;
|
|
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: Record<string, object>;
|
|
133
|
+
tasksByStatus: Record<string, object>;
|
|
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: Record<string, object>;
|
|
64
|
+
realtime: Record<string, object>;
|
|
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: Record<string, object>;
|
|
82
82
|
/**
|
|
83
83
|
* An object that contains the real-time statistics for the Workflow.
|
|
84
84
|
*/
|
|
85
|
-
realtime:
|
|
85
|
+
realtime: Record<string, object>;
|
|
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: Record<string, object>;
|
|
124
|
+
realtime: Record<string, object>;
|
|
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: Record<string, object>;
|
|
72
|
+
wait_duration_until_accepted: Record<string, object>;
|
|
73
|
+
wait_duration_until_canceled: Record<string, object>;
|
|
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: Record<string, object>;
|
|
132
132
|
/**
|
|
133
133
|
* The wait duration statistics (`avg`, `min`, `max`, `total`) for Tasks that were accepted.
|
|
134
134
|
*/
|
|
135
|
-
waitDurationUntilAccepted:
|
|
135
|
+
waitDurationUntilAccepted: Record<string, object>;
|
|
136
136
|
/**
|
|
137
137
|
* The wait duration statistics (`avg`, `min`, `max`, `total`) for Tasks that were canceled.
|
|
138
138
|
*/
|
|
139
|
-
waitDurationUntilCanceled:
|
|
139
|
+
waitDurationUntilCanceled: Record<string, object>;
|
|
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: Record<string, object>;
|
|
207
|
+
waitDurationUntilAccepted: Record<string, object>;
|
|
208
|
+
waitDurationUntilCanceled: Record<string, object>;
|
|
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<Record<string, object>>;
|
|
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: Record<string, object>;
|
|
58
|
+
tasks_by_status: Record<string, object>;
|
|
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<Record<string, object>>;
|
|
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: Record<string, object>;
|
|
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: Record<string, object>;
|
|
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: Record<string, object>[];
|
|
135
135
|
longestTaskWaitingAge: number;
|
|
136
136
|
longestTaskWaitingSid: string;
|
|
137
|
-
tasksByPriority:
|
|
138
|
-
tasksByStatus:
|
|
137
|
+
tasksByPriority: Record<string, object>;
|
|
138
|
+
tasksByStatus: Record<string, object>;
|
|
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: Record<string, object>;
|
|
62
|
+
cumulative: Record<string, object>;
|
|
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: Record<string, object>;
|
|
76
76
|
/**
|
|
77
77
|
* An object that contains the cumulative statistics for the Workspace.
|
|
78
78
|
*/
|
|
79
|
-
cumulative:
|
|
79
|
+
cumulative: Record<string, object>;
|
|
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: Record<string, object>;
|
|
117
|
+
cumulative: Record<string, object>;
|
|
118
118
|
accountSid: string;
|
|
119
119
|
workspaceSid: string;
|
|
120
120
|
url: string;
|
|
@@ -169,7 +169,7 @@ interface TrunkResource {
|
|
|
169
169
|
disaster_recovery_url: string;
|
|
170
170
|
friendly_name: string;
|
|
171
171
|
secure: boolean;
|
|
172
|
-
recording:
|
|
172
|
+
recording: Record<string, object>;
|
|
173
173
|
transfer_mode: TrunkTransferSetting;
|
|
174
174
|
transfer_caller_id: TrunkTransferCallerId;
|
|
175
175
|
cnam_lookup_enabled: boolean;
|
|
@@ -213,7 +213,7 @@ export declare class TrunkInstance {
|
|
|
213
213
|
/**
|
|
214
214
|
* 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.
|
|
215
215
|
*/
|
|
216
|
-
recording:
|
|
216
|
+
recording: Record<string, object>;
|
|
217
217
|
transferMode: TrunkTransferSetting;
|
|
218
218
|
transferCallerId: TrunkTransferCallerId;
|
|
219
219
|
/**
|
|
@@ -314,7 +314,7 @@ export declare class TrunkInstance {
|
|
|
314
314
|
disasterRecoveryUrl: string;
|
|
315
315
|
friendlyName: string;
|
|
316
316
|
secure: boolean;
|
|
317
|
-
recording:
|
|
317
|
+
recording: Record<string, object>;
|
|
318
318
|
transferMode: TrunkTransferSetting;
|
|
319
319
|
transferCallerId: TrunkTransferCallerId;
|
|
320
320
|
cnamLookupEnabled: boolean;
|
|
@@ -86,7 +86,7 @@ interface CustomerProfilesEvaluationsResource {
|
|
|
86
86
|
policy_sid: string;
|
|
87
87
|
customer_profile_sid: string;
|
|
88
88
|
status: CustomerProfilesEvaluationsStatus;
|
|
89
|
-
results: Array<
|
|
89
|
+
results: Array<Record<string, object>>;
|
|
90
90
|
date_created: Date;
|
|
91
91
|
url: string;
|
|
92
92
|
}
|
|
@@ -115,7 +115,7 @@ export declare class CustomerProfilesEvaluationsInstance {
|
|
|
115
115
|
/**
|
|
116
116
|
* The results of the Evaluation which includes the valid and invalid attributes.
|
|
117
117
|
*/
|
|
118
|
-
results: Array<
|
|
118
|
+
results: Array<Record<string, object>>;
|
|
119
119
|
dateCreated: Date;
|
|
120
120
|
url: string;
|
|
121
121
|
private get _proxy();
|
|
@@ -138,7 +138,7 @@ export declare class CustomerProfilesEvaluationsInstance {
|
|
|
138
138
|
policySid: string;
|
|
139
139
|
customerProfileSid: string;
|
|
140
140
|
status: CustomerProfilesEvaluationsStatus;
|
|
141
|
-
results:
|
|
141
|
+
results: Record<string, object>[];
|
|
142
142
|
dateCreated: Date;
|
|
143
143
|
url: string;
|
|
144
144
|
};
|
|
@@ -168,7 +168,7 @@ interface CustomerProfilesResource {
|
|
|
168
168
|
date_updated: Date;
|
|
169
169
|
url: string;
|
|
170
170
|
links: Record<string, string>;
|
|
171
|
-
errors: Array<
|
|
171
|
+
errors: Array<Record<string, object>>;
|
|
172
172
|
}
|
|
173
173
|
export declare class CustomerProfilesInstance {
|
|
174
174
|
protected _version: V1;
|
|
@@ -223,7 +223,7 @@ export declare class CustomerProfilesInstance {
|
|
|
223
223
|
/**
|
|
224
224
|
* The error codes associated with the rejection of the Customer-Profile.
|
|
225
225
|
*/
|
|
226
|
-
errors: Array<
|
|
226
|
+
errors: Array<Record<string, object>>;
|
|
227
227
|
private get _proxy();
|
|
228
228
|
/**
|
|
229
229
|
* Remove a CustomerProfilesInstance
|
|
@@ -288,7 +288,7 @@ export declare class CustomerProfilesInstance {
|
|
|
288
288
|
dateUpdated: Date;
|
|
289
289
|
url: string;
|
|
290
290
|
links: Record<string, string>;
|
|
291
|
-
errors:
|
|
291
|
+
errors: Record<string, object>[];
|
|
292
292
|
};
|
|
293
293
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
294
294
|
}
|
|
@@ -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?:
|
|
13
|
+
attributes?: object;
|
|
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?:
|
|
24
|
+
attributes?: object;
|
|
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:
|
|
126
|
+
attributes: Record<string, object>;
|
|
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:
|
|
155
|
+
attributes: Record<string, object>;
|
|
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:
|
|
212
|
+
attributes: Record<string, object>;
|
|
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<
|
|
78
|
+
fields: Array<Record<string, object>>;
|
|
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<
|
|
101
|
+
fields: Array<Record<string, object>>;
|
|
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:
|
|
124
|
+
fields: Record<string, object>[];
|
|
125
125
|
url: string;
|
|
126
126
|
};
|
|
127
127
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|