twilio 5.7.1 → 5.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +3 -3
- 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/incomingPhoneNumber/assignedAddOn.d.ts +3 -3
- package/lib/rest/api/v2010/account/recording.d.ts +3 -3
- 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/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 +4 -4
- 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 +4 -4
- 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 +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.d.ts +1 -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/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/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 +279 -0
- package/lib/rest/lookups/v2/lookupOverride.js +225 -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/usAppToPerson.d.ts +3 -3
- package/lib/rest/messaging/v1/service/usAppToPersonUsecase.d.ts +3 -3
- package/lib/rest/messaging/v1/service.d.ts +3 -3
- package/lib/rest/messaging/v1/tollfreeVerification.d.ts +3 -3
- package/lib/rest/messaging/v1/usecase.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/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.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/usageRecord.d.ts +3 -3
- package/lib/rest/sync/v1/service/document.d.ts +2 -2
- package/lib/rest/sync/v1/service/syncList/syncListItem.d.ts +2 -2
- package/lib/rest/sync/v1/service/syncMap/syncMapItem.d.ts +2 -2
- package/lib/rest/sync/v1/service/syncStream/streamMessage.d.ts +1 -1
- package/lib/rest/taskrouter/v1/workspace/event.d.ts +3 -3
- package/lib/rest/taskrouter/v1/workspace/task.d.ts +1 -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/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 +9 -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 +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 +11 -11
- package/lib/rest/verify/v2/verificationAttemptsSummary.d.ts +2 -2
- package/lib/rest/video/v1/composition.d.ts +1 -1
- package/lib/rest/video/v1/compositionHook.d.ts +2 -2
- 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/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 +9 -1
- 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 +31 -0
- 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 -412
- package/lib/rest/knowledge/v1/knowledge.js +0 -302
- 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
|
@@ -14,7 +14,7 @@ export interface SupportingDocumentContextUpdateOptions {
|
|
|
14
14
|
/** The string that you assigned to describe the resource. */
|
|
15
15
|
friendlyName?: string;
|
|
16
16
|
/** The set of parameters that are the attributes of the Supporting Document resource which are derived Supporting Document Types. */
|
|
17
|
-
attributes?:
|
|
17
|
+
attributes?: any;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
20
|
* Options to pass to create a SupportingDocumentInstance
|
|
@@ -25,7 +25,7 @@ export interface SupportingDocumentListInstanceCreateOptions {
|
|
|
25
25
|
/** The type of the Supporting Document. */
|
|
26
26
|
type: string;
|
|
27
27
|
/** The set of parameters that are the attributes of the Supporting Documents resource which are derived Supporting Document Types. */
|
|
28
|
-
attributes?:
|
|
28
|
+
attributes?: any;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* Options to pass to each
|
|
@@ -129,9 +129,9 @@ interface SupportingDocumentResource {
|
|
|
129
129
|
mime_type: string;
|
|
130
130
|
status: SupportingDocumentStatus;
|
|
131
131
|
failure_reason: string;
|
|
132
|
-
errors: Array<
|
|
132
|
+
errors: Array<any>;
|
|
133
133
|
type: string;
|
|
134
|
-
attributes:
|
|
134
|
+
attributes: any;
|
|
135
135
|
date_created: Date;
|
|
136
136
|
date_updated: Date;
|
|
137
137
|
url: string;
|
|
@@ -165,7 +165,7 @@ export declare class SupportingDocumentInstance {
|
|
|
165
165
|
/**
|
|
166
166
|
* A list of errors that occurred during the registering RC Bundle
|
|
167
167
|
*/
|
|
168
|
-
errors: Array<
|
|
168
|
+
errors: Array<any>;
|
|
169
169
|
/**
|
|
170
170
|
* The type of the Supporting Document.
|
|
171
171
|
*/
|
|
@@ -173,7 +173,7 @@ export declare class SupportingDocumentInstance {
|
|
|
173
173
|
/**
|
|
174
174
|
* The set of parameters that are the attributes of the Supporting Documents resource which are listed in the Supporting Document Types.
|
|
175
175
|
*/
|
|
176
|
-
attributes:
|
|
176
|
+
attributes: any;
|
|
177
177
|
/**
|
|
178
178
|
* The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
179
179
|
*/
|
|
@@ -232,9 +232,9 @@ export declare class SupportingDocumentInstance {
|
|
|
232
232
|
mimeType: string;
|
|
233
233
|
status: SupportingDocumentStatus;
|
|
234
234
|
failureReason: string;
|
|
235
|
-
errors:
|
|
235
|
+
errors: any[];
|
|
236
236
|
type: string;
|
|
237
|
-
attributes:
|
|
237
|
+
attributes: any;
|
|
238
238
|
dateCreated: Date;
|
|
239
239
|
dateUpdated: Date;
|
|
240
240
|
url: string;
|
|
@@ -75,7 +75,7 @@ interface SupportingDocumentTypeResource {
|
|
|
75
75
|
sid: string;
|
|
76
76
|
friendly_name: string;
|
|
77
77
|
machine_name: string;
|
|
78
|
-
fields: Array<
|
|
78
|
+
fields: Array<any>;
|
|
79
79
|
url: string;
|
|
80
80
|
}
|
|
81
81
|
export declare class SupportingDocumentTypeInstance {
|
|
@@ -98,7 +98,7 @@ export declare class SupportingDocumentTypeInstance {
|
|
|
98
98
|
/**
|
|
99
99
|
* The required information for creating a Supporting Document. The required fields will change as regulatory needs change and will differ for businesses and individuals.
|
|
100
100
|
*/
|
|
101
|
-
fields: Array<
|
|
101
|
+
fields: Array<any>;
|
|
102
102
|
/**
|
|
103
103
|
* The absolute URL of the Supporting Document Type resource.
|
|
104
104
|
*/
|
|
@@ -121,7 +121,7 @@ export declare class SupportingDocumentTypeInstance {
|
|
|
121
121
|
sid: string;
|
|
122
122
|
friendlyName: string;
|
|
123
123
|
machineName: string;
|
|
124
|
-
fields:
|
|
124
|
+
fields: any[];
|
|
125
125
|
url: string;
|
|
126
126
|
};
|
|
127
127
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
@@ -80,7 +80,7 @@ interface AvailableAddOnResource {
|
|
|
80
80
|
friendly_name: string;
|
|
81
81
|
description: string;
|
|
82
82
|
pricing_type: string;
|
|
83
|
-
configuration_schema:
|
|
83
|
+
configuration_schema: any;
|
|
84
84
|
url: string;
|
|
85
85
|
links: Record<string, string>;
|
|
86
86
|
}
|
|
@@ -108,7 +108,7 @@ export declare class AvailableAddOnInstance {
|
|
|
108
108
|
/**
|
|
109
109
|
* The JSON object with the configuration that must be provided when installing a given Add-on.
|
|
110
110
|
*/
|
|
111
|
-
configurationSchema:
|
|
111
|
+
configurationSchema: any;
|
|
112
112
|
/**
|
|
113
113
|
* The absolute URL of the resource.
|
|
114
114
|
*/
|
|
@@ -140,7 +140,7 @@ export declare class AvailableAddOnInstance {
|
|
|
140
140
|
friendlyName: string;
|
|
141
141
|
description: string;
|
|
142
142
|
pricingType: string;
|
|
143
|
-
configurationSchema:
|
|
143
|
+
configurationSchema: any;
|
|
144
144
|
url: string;
|
|
145
145
|
links: Record<string, string>;
|
|
146
146
|
};
|
|
@@ -9,7 +9,7 @@ import { InstalledAddOnExtensionListInstance } from "./installedAddOn/installedA
|
|
|
9
9
|
*/
|
|
10
10
|
export interface InstalledAddOnContextUpdateOptions {
|
|
11
11
|
/** Valid JSON object that conform to the configuration schema exposed by the associated AvailableAddOn resource. This is only required by Add-ons that need to be configured */
|
|
12
|
-
configuration?:
|
|
12
|
+
configuration?: any;
|
|
13
13
|
/** An application-defined string that uniquely identifies the resource. This value must be unique within the Account. */
|
|
14
14
|
uniqueName?: string;
|
|
15
15
|
}
|
|
@@ -22,7 +22,7 @@ export interface InstalledAddOnListInstanceCreateOptions {
|
|
|
22
22
|
/** Whether the Terms of Service were accepted. */
|
|
23
23
|
acceptTermsOfService: boolean;
|
|
24
24
|
/** The JSON object that represents the configuration of the new Add-on being installed. */
|
|
25
|
-
configuration?:
|
|
25
|
+
configuration?: any;
|
|
26
26
|
/** An application-defined string that uniquely identifies the resource. This value must be unique within the Account. */
|
|
27
27
|
uniqueName?: string;
|
|
28
28
|
}
|
|
@@ -129,7 +129,7 @@ interface InstalledAddOnResource {
|
|
|
129
129
|
account_sid: string;
|
|
130
130
|
friendly_name: string;
|
|
131
131
|
description: string;
|
|
132
|
-
configuration:
|
|
132
|
+
configuration: any;
|
|
133
133
|
unique_name: string;
|
|
134
134
|
date_created: Date;
|
|
135
135
|
date_updated: Date;
|
|
@@ -160,7 +160,7 @@ export declare class InstalledAddOnInstance {
|
|
|
160
160
|
/**
|
|
161
161
|
* The JSON object that represents the current configuration of installed Add-on.
|
|
162
162
|
*/
|
|
163
|
-
configuration:
|
|
163
|
+
configuration: any;
|
|
164
164
|
/**
|
|
165
165
|
* An application-defined string that uniquely identifies the resource.
|
|
166
166
|
*/
|
|
@@ -229,7 +229,7 @@ export declare class InstalledAddOnInstance {
|
|
|
229
229
|
accountSid: string;
|
|
230
230
|
friendlyName: string;
|
|
231
231
|
description: string;
|
|
232
|
-
configuration:
|
|
232
|
+
configuration: any;
|
|
233
233
|
uniqueName: string;
|
|
234
234
|
dateCreated: Date;
|
|
235
235
|
dateUpdated: Date;
|
|
@@ -55,11 +55,11 @@ interface UsageResource {
|
|
|
55
55
|
sim_sid: string;
|
|
56
56
|
sim_unique_name: string;
|
|
57
57
|
account_sid: string;
|
|
58
|
-
period:
|
|
59
|
-
commands_usage:
|
|
60
|
-
commands_costs:
|
|
61
|
-
data_usage:
|
|
62
|
-
data_costs:
|
|
58
|
+
period: any;
|
|
59
|
+
commands_usage: any;
|
|
60
|
+
commands_costs: any;
|
|
61
|
+
data_usage: any;
|
|
62
|
+
data_costs: any;
|
|
63
63
|
url: string;
|
|
64
64
|
}
|
|
65
65
|
export declare class UsageInstance {
|
|
@@ -70,11 +70,11 @@ export declare class UsageInstance {
|
|
|
70
70
|
simSid: string;
|
|
71
71
|
simUniqueName: string;
|
|
72
72
|
accountSid: string;
|
|
73
|
-
period:
|
|
74
|
-
commandsUsage:
|
|
75
|
-
commandsCosts:
|
|
76
|
-
dataUsage:
|
|
77
|
-
dataCosts:
|
|
73
|
+
period: any;
|
|
74
|
+
commandsUsage: any;
|
|
75
|
+
commandsCosts: any;
|
|
76
|
+
dataUsage: any;
|
|
77
|
+
dataCosts: any;
|
|
78
78
|
url: string;
|
|
79
79
|
private get _proxy();
|
|
80
80
|
/**
|
|
@@ -103,11 +103,11 @@ export declare class UsageInstance {
|
|
|
103
103
|
simSid: string;
|
|
104
104
|
simUniqueName: string;
|
|
105
105
|
accountSid: string;
|
|
106
|
-
period:
|
|
107
|
-
commandsUsage:
|
|
108
|
-
commandsCosts:
|
|
109
|
-
dataUsage:
|
|
110
|
-
dataCosts:
|
|
106
|
+
period: any;
|
|
107
|
+
commandsUsage: any;
|
|
108
|
+
commandsCosts: any;
|
|
109
|
+
dataUsage: any;
|
|
110
|
+
dataCosts: any;
|
|
111
111
|
url: string;
|
|
112
112
|
};
|
|
113
113
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
@@ -237,7 +237,7 @@ function SessionListInstance(version, serviceSid) {
|
|
|
237
237
|
if (params["status"] !== undefined)
|
|
238
238
|
data["Status"] = params["status"];
|
|
239
239
|
if (params["participants"] !== undefined)
|
|
240
|
-
data["Participants"] = serialize.map(params["participants"], (e) => e);
|
|
240
|
+
data["Participants"] = serialize.map(params["participants"], (e) => serialize.object(e));
|
|
241
241
|
const headers = {};
|
|
242
242
|
headers["Content-Type"] = "application/x-www-form-urlencoded";
|
|
243
243
|
headers["Accept"] = "application/json";
|
|
@@ -5,7 +5,6 @@ import Response from "../../../http/response";
|
|
|
5
5
|
import V1 from "../V1";
|
|
6
6
|
import { PhoneNumberListInstance } from "./service/phoneNumber";
|
|
7
7
|
import { SessionListInstance } from "./service/session";
|
|
8
|
-
import { ShortCodeListInstance } from "./service/shortCode";
|
|
9
8
|
/**
|
|
10
9
|
* Where a proxy number must be located relative to the participant identifier. Can be: `country`, `area-code`, or `extended-area-code`. The default value is `country` and more specific areas than `country` are only available in North America.
|
|
11
10
|
*/
|
|
@@ -92,7 +91,6 @@ export interface ServiceListInstancePageOptions {
|
|
|
92
91
|
export interface ServiceContext {
|
|
93
92
|
phoneNumbers: PhoneNumberListInstance;
|
|
94
93
|
sessions: SessionListInstance;
|
|
95
|
-
shortCodes: ShortCodeListInstance;
|
|
96
94
|
/**
|
|
97
95
|
* Remove a ServiceInstance
|
|
98
96
|
*
|
|
@@ -141,11 +139,9 @@ export declare class ServiceContextImpl implements ServiceContext {
|
|
|
141
139
|
protected _uri: string;
|
|
142
140
|
protected _phoneNumbers?: PhoneNumberListInstance;
|
|
143
141
|
protected _sessions?: SessionListInstance;
|
|
144
|
-
protected _shortCodes?: ShortCodeListInstance;
|
|
145
142
|
constructor(_version: V1, sid: string);
|
|
146
143
|
get phoneNumbers(): PhoneNumberListInstance;
|
|
147
144
|
get sessions(): SessionListInstance;
|
|
148
|
-
get shortCodes(): ShortCodeListInstance;
|
|
149
145
|
remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
|
|
150
146
|
fetch(callback?: (error: Error | null, item?: ServiceInstance) => any): Promise<ServiceInstance>;
|
|
151
147
|
update(params?: ServiceContextUpdateOptions | ((error: Error | null, item?: ServiceInstance) => any), callback?: (error: Error | null, item?: ServiceInstance) => any): Promise<ServiceInstance>;
|
|
@@ -273,10 +269,6 @@ export declare class ServiceInstance {
|
|
|
273
269
|
* Access the sessions.
|
|
274
270
|
*/
|
|
275
271
|
sessions(): SessionListInstance;
|
|
276
|
-
/**
|
|
277
|
-
* Access the shortCodes.
|
|
278
|
-
*/
|
|
279
|
-
shortCodes(): ShortCodeListInstance;
|
|
280
272
|
/**
|
|
281
273
|
* Provide a user-friendly representation
|
|
282
274
|
*
|
|
@@ -24,7 +24,6 @@ const serialize = require("../../../base/serialize");
|
|
|
24
24
|
const utility_1 = require("../../../base/utility");
|
|
25
25
|
const phoneNumber_1 = require("./service/phoneNumber");
|
|
26
26
|
const session_1 = require("./service/session");
|
|
27
|
-
const shortCode_1 = require("./service/shortCode");
|
|
28
27
|
class ServiceContextImpl {
|
|
29
28
|
constructor(_version, sid) {
|
|
30
29
|
this._version = _version;
|
|
@@ -45,12 +44,6 @@ class ServiceContextImpl {
|
|
|
45
44
|
this._sessions || (0, session_1.SessionListInstance)(this._version, this._solution.sid);
|
|
46
45
|
return this._sessions;
|
|
47
46
|
}
|
|
48
|
-
get shortCodes() {
|
|
49
|
-
this._shortCodes =
|
|
50
|
-
this._shortCodes ||
|
|
51
|
-
(0, shortCode_1.ShortCodeListInstance)(this._version, this._solution.sid);
|
|
52
|
-
return this._shortCodes;
|
|
53
|
-
}
|
|
54
47
|
remove(callback) {
|
|
55
48
|
const headers = {};
|
|
56
49
|
const instance = this;
|
|
@@ -187,12 +180,6 @@ class ServiceInstance {
|
|
|
187
180
|
sessions() {
|
|
188
181
|
return this._proxy.sessions;
|
|
189
182
|
}
|
|
190
|
-
/**
|
|
191
|
-
* Access the shortCodes.
|
|
192
|
-
*/
|
|
193
|
-
shortCodes() {
|
|
194
|
-
return this._proxy.shortCodes;
|
|
195
|
-
}
|
|
196
183
|
/**
|
|
197
184
|
* Provide a user-friendly representation
|
|
198
185
|
*
|
|
@@ -111,9 +111,9 @@ interface BuildResource {
|
|
|
111
111
|
account_sid: string;
|
|
112
112
|
service_sid: string;
|
|
113
113
|
status: BuildStatus;
|
|
114
|
-
asset_versions: Array<
|
|
115
|
-
function_versions: Array<
|
|
116
|
-
dependencies: Array<
|
|
114
|
+
asset_versions: Array<any>;
|
|
115
|
+
function_versions: Array<any>;
|
|
116
|
+
dependencies: Array<any>;
|
|
117
117
|
runtime: BuildRuntime;
|
|
118
118
|
date_created: Date;
|
|
119
119
|
date_updated: Date;
|
|
@@ -141,15 +141,15 @@ export declare class BuildInstance {
|
|
|
141
141
|
/**
|
|
142
142
|
* The list of Asset Version resource SIDs that are included in the Build.
|
|
143
143
|
*/
|
|
144
|
-
assetVersions: Array<
|
|
144
|
+
assetVersions: Array<any>;
|
|
145
145
|
/**
|
|
146
146
|
* The list of Function Version resource SIDs that are included in the Build.
|
|
147
147
|
*/
|
|
148
|
-
functionVersions: Array<
|
|
148
|
+
functionVersions: Array<any>;
|
|
149
149
|
/**
|
|
150
150
|
* A list of objects that describe the Dependencies included in the Build. Each object contains the `name` and `version` of the dependency.
|
|
151
151
|
*/
|
|
152
|
-
dependencies: Array<
|
|
152
|
+
dependencies: Array<any>;
|
|
153
153
|
runtime: BuildRuntime;
|
|
154
154
|
/**
|
|
155
155
|
* The date and time in GMT when the Build resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
@@ -195,9 +195,9 @@ export declare class BuildInstance {
|
|
|
195
195
|
accountSid: string;
|
|
196
196
|
serviceSid: string;
|
|
197
197
|
status: BuildStatus;
|
|
198
|
-
assetVersions:
|
|
199
|
-
functionVersions:
|
|
200
|
-
dependencies:
|
|
198
|
+
assetVersions: any[];
|
|
199
|
+
functionVersions: any[];
|
|
200
|
+
dependencies: any[];
|
|
201
201
|
runtime: BuildRuntime;
|
|
202
202
|
dateCreated: Date;
|
|
203
203
|
dateUpdated: Date;
|
|
@@ -3,10 +3,6 @@ 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
|
-
* The log level. Can be: `info`, `warn`, or `error`.
|
|
8
|
-
*/
|
|
9
|
-
export type LogLevel = "info" | "warn" | "error";
|
|
10
6
|
/**
|
|
11
7
|
* Options to pass to each
|
|
12
8
|
*/
|
|
@@ -104,7 +100,7 @@ interface LogResource {
|
|
|
104
100
|
deployment_sid: string;
|
|
105
101
|
function_sid: string;
|
|
106
102
|
request_sid: string;
|
|
107
|
-
level:
|
|
103
|
+
level: string;
|
|
108
104
|
message: string;
|
|
109
105
|
date_created: Date;
|
|
110
106
|
url: string;
|
|
@@ -146,7 +142,10 @@ export declare class LogInstance {
|
|
|
146
142
|
* The SID of the request associated with the log.
|
|
147
143
|
*/
|
|
148
144
|
requestSid: string;
|
|
149
|
-
|
|
145
|
+
/**
|
|
146
|
+
* The log level.
|
|
147
|
+
*/
|
|
148
|
+
level: string;
|
|
150
149
|
/**
|
|
151
150
|
* The log message.
|
|
152
151
|
*/
|
|
@@ -182,7 +181,7 @@ export declare class LogInstance {
|
|
|
182
181
|
deploymentSid: string;
|
|
183
182
|
functionSid: string;
|
|
184
183
|
requestSid: string;
|
|
185
|
-
level:
|
|
184
|
+
level: string;
|
|
186
185
|
message: string;
|
|
187
186
|
dateCreated: Date;
|
|
188
187
|
url: string;
|
|
@@ -36,7 +36,7 @@ export declare class EngagementContextContextImpl implements EngagementContextCo
|
|
|
36
36
|
}
|
|
37
37
|
interface EngagementContextResource {
|
|
38
38
|
account_sid: string;
|
|
39
|
-
context:
|
|
39
|
+
context: any;
|
|
40
40
|
engagement_sid: string;
|
|
41
41
|
flow_sid: string;
|
|
42
42
|
url: string;
|
|
@@ -53,7 +53,7 @@ export declare class EngagementContextInstance {
|
|
|
53
53
|
/**
|
|
54
54
|
* As your flow executes, we save the state in what\'s called the Flow Context. Any data in the flow context can be accessed by your widgets as variables, either in configuration fields or in text areas as variable substitution.
|
|
55
55
|
*/
|
|
56
|
-
context:
|
|
56
|
+
context: any;
|
|
57
57
|
/**
|
|
58
58
|
* The SID of the Engagement.
|
|
59
59
|
*/
|
|
@@ -82,7 +82,7 @@ export declare class EngagementContextInstance {
|
|
|
82
82
|
*/
|
|
83
83
|
toJSON(): {
|
|
84
84
|
accountSid: string;
|
|
85
|
-
context:
|
|
85
|
+
context: any;
|
|
86
86
|
engagementSid: string;
|
|
87
87
|
flowSid: string;
|
|
88
88
|
url: string;
|
|
@@ -37,7 +37,7 @@ export declare class StepContextContextImpl implements StepContextContext {
|
|
|
37
37
|
}
|
|
38
38
|
interface StepContextResource {
|
|
39
39
|
account_sid: string;
|
|
40
|
-
context:
|
|
40
|
+
context: any;
|
|
41
41
|
engagement_sid: string;
|
|
42
42
|
flow_sid: string;
|
|
43
43
|
step_sid: string;
|
|
@@ -55,7 +55,7 @@ export declare class StepContextInstance {
|
|
|
55
55
|
/**
|
|
56
56
|
* The current state of the Flow\'s Execution. As a flow executes, we save its state in this context. We save data that your widgets can access as variables in configuration fields or in text areas as variable substitution.
|
|
57
57
|
*/
|
|
58
|
-
context:
|
|
58
|
+
context: any;
|
|
59
59
|
/**
|
|
60
60
|
* The SID of the Engagement.
|
|
61
61
|
*/
|
|
@@ -88,7 +88,7 @@ export declare class StepContextInstance {
|
|
|
88
88
|
*/
|
|
89
89
|
toJSON(): {
|
|
90
90
|
accountSid: string;
|
|
91
|
-
context:
|
|
91
|
+
context: any;
|
|
92
92
|
engagementSid: string;
|
|
93
93
|
flowSid: string;
|
|
94
94
|
stepSid: string;
|
|
@@ -83,7 +83,7 @@ interface StepResource {
|
|
|
83
83
|
flow_sid: string;
|
|
84
84
|
engagement_sid: string;
|
|
85
85
|
name: string;
|
|
86
|
-
context:
|
|
86
|
+
context: any;
|
|
87
87
|
parent_step_sid: string;
|
|
88
88
|
transitioned_from: string;
|
|
89
89
|
transitioned_to: string;
|
|
@@ -120,7 +120,7 @@ export declare class StepInstance {
|
|
|
120
120
|
/**
|
|
121
121
|
* The current state of the Flow\'s Execution. As a flow executes, we save its state in this context. We save data that your widgets can access as variables in configuration fields or in text areas as variable substitution.
|
|
122
122
|
*/
|
|
123
|
-
context:
|
|
123
|
+
context: any;
|
|
124
124
|
/**
|
|
125
125
|
* The SID of the parent Step.
|
|
126
126
|
*/
|
|
@@ -173,7 +173,7 @@ export declare class StepInstance {
|
|
|
173
173
|
flowSid: string;
|
|
174
174
|
engagementSid: string;
|
|
175
175
|
name: string;
|
|
176
|
-
context:
|
|
176
|
+
context: any;
|
|
177
177
|
parentStepSid: string;
|
|
178
178
|
transitionedFrom: string;
|
|
179
179
|
transitionedTo: string;
|
|
@@ -18,7 +18,7 @@ export interface EngagementListInstanceCreateOptions {
|
|
|
18
18
|
/** The Twilio phone number to send messages or initiate calls from during the Flow Engagement. Available as variable `{{flow.channel.address}}` */
|
|
19
19
|
from: string;
|
|
20
20
|
/** A JSON string we will add to your flow\\\'s context and that you can access as variables inside your flow. For example, if you pass in `Parameters={\\\'name\\\':\\\'Zeke\\\'}` then inside a widget you can reference the variable `{{flow.data.name}}` which will return the string \\\'Zeke\\\'. Note: the JSON value must explicitly be passed as a string, not as a hash object. Depending on your particular HTTP library, you may need to add quotes or URL encode your JSON string. */
|
|
21
|
-
parameters?:
|
|
21
|
+
parameters?: any;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* Options to pass to each
|
|
@@ -110,7 +110,7 @@ interface EngagementResource {
|
|
|
110
110
|
flow_sid: string;
|
|
111
111
|
contact_sid: string;
|
|
112
112
|
contact_channel_address: string;
|
|
113
|
-
context:
|
|
113
|
+
context: any;
|
|
114
114
|
status: EngagementStatus;
|
|
115
115
|
date_created: Date;
|
|
116
116
|
date_updated: Date;
|
|
@@ -145,7 +145,7 @@ export declare class EngagementInstance {
|
|
|
145
145
|
/**
|
|
146
146
|
* The current state of the execution flow. As your flow executes, we save the state in a flow context. Your widgets can access the data in the flow context as variables, either in configuration fields or in text areas as variable substitution.
|
|
147
147
|
*/
|
|
148
|
-
context:
|
|
148
|
+
context: any;
|
|
149
149
|
status: EngagementStatus;
|
|
150
150
|
/**
|
|
151
151
|
* The date and time in GMT when the Engagement was created in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
@@ -199,7 +199,7 @@ export declare class EngagementInstance {
|
|
|
199
199
|
flowSid: string;
|
|
200
200
|
contactSid: string;
|
|
201
201
|
contactChannelAddress: string;
|
|
202
|
-
context:
|
|
202
|
+
context: any;
|
|
203
203
|
status: EngagementStatus;
|
|
204
204
|
dateCreated: Date;
|
|
205
205
|
dateUpdated: Date;
|
|
@@ -36,7 +36,7 @@ export declare class ExecutionContextContextImpl implements ExecutionContextCont
|
|
|
36
36
|
}
|
|
37
37
|
interface ExecutionContextResource {
|
|
38
38
|
account_sid: string;
|
|
39
|
-
context:
|
|
39
|
+
context: any;
|
|
40
40
|
flow_sid: string;
|
|
41
41
|
execution_sid: string;
|
|
42
42
|
url: string;
|
|
@@ -53,7 +53,7 @@ export declare class ExecutionContextInstance {
|
|
|
53
53
|
/**
|
|
54
54
|
* The current state of the Flow\'s Execution. As a flow executes, we save its state in this context. We save data that your widgets can access as variables in configuration fields or in text areas as variable substitution.
|
|
55
55
|
*/
|
|
56
|
-
context:
|
|
56
|
+
context: any;
|
|
57
57
|
/**
|
|
58
58
|
* The SID of the Flow.
|
|
59
59
|
*/
|
|
@@ -82,7 +82,7 @@ export declare class ExecutionContextInstance {
|
|
|
82
82
|
*/
|
|
83
83
|
toJSON(): {
|
|
84
84
|
accountSid: string;
|
|
85
|
-
context:
|
|
85
|
+
context: any;
|
|
86
86
|
flowSid: string;
|
|
87
87
|
executionSid: string;
|
|
88
88
|
url: string;
|
|
@@ -37,7 +37,7 @@ export declare class ExecutionStepContextContextImpl implements ExecutionStepCon
|
|
|
37
37
|
}
|
|
38
38
|
interface ExecutionStepContextResource {
|
|
39
39
|
account_sid: string;
|
|
40
|
-
context:
|
|
40
|
+
context: any;
|
|
41
41
|
execution_sid: string;
|
|
42
42
|
flow_sid: string;
|
|
43
43
|
step_sid: string;
|
|
@@ -55,7 +55,7 @@ export declare class ExecutionStepContextInstance {
|
|
|
55
55
|
/**
|
|
56
56
|
* The current state of the Flow\'s Execution. As a flow executes, we save its state in this context. We save data that your widgets can access as variables in configuration fields or in text areas as variable substitution.
|
|
57
57
|
*/
|
|
58
|
-
context:
|
|
58
|
+
context: any;
|
|
59
59
|
/**
|
|
60
60
|
* The SID of the context\'s Execution resource.
|
|
61
61
|
*/
|
|
@@ -88,7 +88,7 @@ export declare class ExecutionStepContextInstance {
|
|
|
88
88
|
*/
|
|
89
89
|
toJSON(): {
|
|
90
90
|
accountSid: string;
|
|
91
|
-
context:
|
|
91
|
+
context: any;
|
|
92
92
|
executionSid: string;
|
|
93
93
|
flowSid: string;
|
|
94
94
|
stepSid: string;
|
|
@@ -84,7 +84,7 @@ interface ExecutionStepResource {
|
|
|
84
84
|
execution_sid: string;
|
|
85
85
|
parent_step_sid: string;
|
|
86
86
|
name: string;
|
|
87
|
-
context:
|
|
87
|
+
context: any;
|
|
88
88
|
transitioned_from: string;
|
|
89
89
|
transitioned_to: string;
|
|
90
90
|
date_created: Date;
|
|
@@ -124,7 +124,7 @@ export declare class ExecutionStepInstance {
|
|
|
124
124
|
/**
|
|
125
125
|
* The current state of the Flow\'s Execution. As a flow executes, we save its state in this context. We save data that your widgets can access as variables in configuration fields or in text areas as variable substitution.
|
|
126
126
|
*/
|
|
127
|
-
context:
|
|
127
|
+
context: any;
|
|
128
128
|
/**
|
|
129
129
|
* The Widget that preceded the Widget for the Step.
|
|
130
130
|
*/
|
|
@@ -174,7 +174,7 @@ export declare class ExecutionStepInstance {
|
|
|
174
174
|
executionSid: string;
|
|
175
175
|
parentStepSid: string;
|
|
176
176
|
name: string;
|
|
177
|
-
context:
|
|
177
|
+
context: any;
|
|
178
178
|
transitionedFrom: string;
|
|
179
179
|
transitionedTo: string;
|
|
180
180
|
dateCreated: Date;
|
|
@@ -25,7 +25,7 @@ export interface ExecutionListInstanceCreateOptions {
|
|
|
25
25
|
/** The Twilio phone number to send messages or initiate calls from during the Flow\\\'s Execution. Available as variable `{{flow.channel.address}}`. For SMS, this can also be a Messaging Service SID. */
|
|
26
26
|
from: string;
|
|
27
27
|
/** JSON data that will be added to the Flow\\\'s context and that can be accessed as variables inside your Flow. For example, if you pass in `Parameters={\\\"name\\\":\\\"Zeke\\\"}`, a widget in your Flow can reference the variable `{{flow.data.name}}`, which returns \\\"Zeke\\\". Note: the JSON value must explicitly be passed as a string, not as a hash object. Depending on your particular HTTP library, you may need to add quotes or URL encode the JSON string. */
|
|
28
|
-
parameters?:
|
|
28
|
+
parameters?: any;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* Options to pass to each
|
|
@@ -139,7 +139,7 @@ interface ExecutionResource {
|
|
|
139
139
|
flow_sid: string;
|
|
140
140
|
contact_sid: string;
|
|
141
141
|
contact_channel_address: string;
|
|
142
|
-
context:
|
|
142
|
+
context: any;
|
|
143
143
|
status: ExecutionStatus;
|
|
144
144
|
date_created: Date;
|
|
145
145
|
date_updated: Date;
|
|
@@ -174,7 +174,7 @@ export declare class ExecutionInstance {
|
|
|
174
174
|
/**
|
|
175
175
|
* The current state of the Flow\'s Execution. As a flow executes, we save its state in this context. We save data that your widgets can access as variables in configuration fields or in text areas as variable substitution.
|
|
176
176
|
*/
|
|
177
|
-
context:
|
|
177
|
+
context: any;
|
|
178
178
|
status: ExecutionStatus;
|
|
179
179
|
/**
|
|
180
180
|
* The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
@@ -237,7 +237,7 @@ export declare class ExecutionInstance {
|
|
|
237
237
|
flowSid: string;
|
|
238
238
|
contactSid: string;
|
|
239
239
|
contactChannelAddress: string;
|
|
240
|
-
context:
|
|
240
|
+
context: any;
|
|
241
241
|
status: ExecutionStatus;
|
|
242
242
|
dateCreated: Date;
|
|
243
243
|
dateUpdated: Date;
|
|
@@ -36,7 +36,7 @@ export declare class ExecutionContextContextImpl implements ExecutionContextCont
|
|
|
36
36
|
}
|
|
37
37
|
interface ExecutionContextResource {
|
|
38
38
|
account_sid: string;
|
|
39
|
-
context:
|
|
39
|
+
context: any;
|
|
40
40
|
flow_sid: string;
|
|
41
41
|
execution_sid: string;
|
|
42
42
|
url: string;
|
|
@@ -53,7 +53,7 @@ export declare class ExecutionContextInstance {
|
|
|
53
53
|
/**
|
|
54
54
|
* The current state of the Flow\'s Execution. As a flow executes, we save its state in this context. We save data that your widgets can access as variables in configuration fields or in text areas as variable substitution.
|
|
55
55
|
*/
|
|
56
|
-
context:
|
|
56
|
+
context: any;
|
|
57
57
|
/**
|
|
58
58
|
* The SID of the Flow.
|
|
59
59
|
*/
|
|
@@ -82,7 +82,7 @@ export declare class ExecutionContextInstance {
|
|
|
82
82
|
*/
|
|
83
83
|
toJSON(): {
|
|
84
84
|
accountSid: string;
|
|
85
|
-
context:
|
|
85
|
+
context: any;
|
|
86
86
|
flowSid: string;
|
|
87
87
|
executionSid: string;
|
|
88
88
|
url: string;
|