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
|
@@ -113,7 +113,7 @@ interface DataSessionResource {
|
|
|
113
113
|
operator_country: string;
|
|
114
114
|
operator_name: string;
|
|
115
115
|
cell_id: string;
|
|
116
|
-
cell_location_estimate:
|
|
116
|
+
cell_location_estimate: any;
|
|
117
117
|
packets_uploaded: number;
|
|
118
118
|
packets_downloaded: number;
|
|
119
119
|
last_updated: Date;
|
|
@@ -163,7 +163,7 @@ export declare class DataSessionInstance {
|
|
|
163
163
|
/**
|
|
164
164
|
* An object that describes the estimated location in latitude and longitude where the device\'s Data Session took place. The location is derived from the `cell_id` when the Data Session was last updated. See [Cell Location Estimate Object](https://www.twilio.com/docs/iot/wireless/api/datasession-resource#cell-location-estimate-object).
|
|
165
165
|
*/
|
|
166
|
-
cellLocationEstimate:
|
|
166
|
+
cellLocationEstimate: any;
|
|
167
167
|
/**
|
|
168
168
|
* The number of packets uploaded by the device between the `start` time and when the Data Session was last updated.
|
|
169
169
|
*/
|
|
@@ -203,7 +203,7 @@ export declare class DataSessionInstance {
|
|
|
203
203
|
operatorCountry: string;
|
|
204
204
|
operatorName: string;
|
|
205
205
|
cellId: string;
|
|
206
|
-
cellLocationEstimate:
|
|
206
|
+
cellLocationEstimate: any;
|
|
207
207
|
packetsUploaded: number;
|
|
208
208
|
packetsDownloaded: number;
|
|
209
209
|
lastUpdated: Date;
|
|
@@ -125,9 +125,9 @@ interface UsageRecordPayload extends TwilioResponsePayload {
|
|
|
125
125
|
interface UsageRecordResource {
|
|
126
126
|
sim_sid: string;
|
|
127
127
|
account_sid: string;
|
|
128
|
-
period:
|
|
129
|
-
commands:
|
|
130
|
-
data:
|
|
128
|
+
period: any;
|
|
129
|
+
commands: any;
|
|
130
|
+
data: any;
|
|
131
131
|
}
|
|
132
132
|
export declare class UsageRecordInstance {
|
|
133
133
|
protected _version: V1;
|
|
@@ -143,15 +143,15 @@ export declare class UsageRecordInstance {
|
|
|
143
143
|
/**
|
|
144
144
|
* The time period for which the usage is reported. Contains `start` and `end` datetime values given as GMT in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
|
145
145
|
*/
|
|
146
|
-
period:
|
|
146
|
+
period: any;
|
|
147
147
|
/**
|
|
148
148
|
* An object that describes the SIM\'s usage of Commands during the specified period. See [Commands Usage Object](https://www.twilio.com/docs/iot/wireless/api/sim-usagerecord-resource#commands-usage-object).
|
|
149
149
|
*/
|
|
150
|
-
commands:
|
|
150
|
+
commands: any;
|
|
151
151
|
/**
|
|
152
152
|
* An object that describes the SIM\'s data usage during the specified period. See [Data Usage Object](https://www.twilio.com/docs/iot/wireless/api/sim-usagerecord-resource#data-usage-object).
|
|
153
153
|
*/
|
|
154
|
-
data:
|
|
154
|
+
data: any;
|
|
155
155
|
/**
|
|
156
156
|
* Provide a user-friendly representation
|
|
157
157
|
*
|
|
@@ -160,9 +160,9 @@ export declare class UsageRecordInstance {
|
|
|
160
160
|
toJSON(): {
|
|
161
161
|
simSid: string;
|
|
162
162
|
accountSid: string;
|
|
163
|
-
period:
|
|
164
|
-
commands:
|
|
165
|
-
data:
|
|
163
|
+
period: any;
|
|
164
|
+
commands: any;
|
|
165
|
+
data: any;
|
|
166
166
|
};
|
|
167
167
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
168
168
|
}
|
|
@@ -123,9 +123,9 @@ interface UsageRecordPayload extends TwilioResponsePayload {
|
|
|
123
123
|
}
|
|
124
124
|
interface UsageRecordResource {
|
|
125
125
|
account_sid: string;
|
|
126
|
-
period:
|
|
127
|
-
commands:
|
|
128
|
-
data:
|
|
126
|
+
period: any;
|
|
127
|
+
commands: any;
|
|
128
|
+
data: any;
|
|
129
129
|
}
|
|
130
130
|
export declare class UsageRecordInstance {
|
|
131
131
|
protected _version: V1;
|
|
@@ -137,15 +137,15 @@ export declare class UsageRecordInstance {
|
|
|
137
137
|
/**
|
|
138
138
|
* The time period for which usage is reported. Contains `start` and `end` properties that describe the period using GMT date-time values specified in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
|
139
139
|
*/
|
|
140
|
-
period:
|
|
140
|
+
period: any;
|
|
141
141
|
/**
|
|
142
142
|
* An object that describes the aggregated Commands usage for all SIMs during the specified period. See [Commands Usage Object](https://www.twilio.com/docs/iot/wireless/api/account-usagerecord-resource#commands-usage-object).
|
|
143
143
|
*/
|
|
144
|
-
commands:
|
|
144
|
+
commands: any;
|
|
145
145
|
/**
|
|
146
146
|
* An object that describes the aggregated Data usage for all SIMs over the period. See [Data Usage Object](https://www.twilio.com/docs/iot/wireless/api/account-usagerecord-resource#data-usage-object).
|
|
147
147
|
*/
|
|
148
|
-
data:
|
|
148
|
+
data: any;
|
|
149
149
|
/**
|
|
150
150
|
* Provide a user-friendly representation
|
|
151
151
|
*
|
|
@@ -153,9 +153,9 @@ export declare class UsageRecordInstance {
|
|
|
153
153
|
*/
|
|
154
154
|
toJSON(): {
|
|
155
155
|
accountSid: string;
|
|
156
|
-
period:
|
|
157
|
-
commands:
|
|
158
|
-
data:
|
|
156
|
+
period: any;
|
|
157
|
+
commands: any;
|
|
158
|
+
data: any;
|
|
159
159
|
};
|
|
160
160
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
161
161
|
}
|
|
@@ -215,6 +215,7 @@ declare namespace VoiceResponse {
|
|
|
215
215
|
type StreamTrack = "inbound_track" | "outbound_track" | "both_tracks";
|
|
216
216
|
type TranscriptionStatusCallbackMethod = "GET" | "POST";
|
|
217
217
|
type TranscriptionTrack = "inbound_track" | "outbound_track" | "both_tracks";
|
|
218
|
+
type WhatsAppEvent = "initiated" | "ringing" | "answered" | "completed";
|
|
218
219
|
/**
|
|
219
220
|
* Attributes to pass to connect
|
|
220
221
|
*/
|
|
@@ -1372,6 +1373,21 @@ declare namespace VoiceResponse {
|
|
|
1372
1373
|
/** url - TwiML URL */
|
|
1373
1374
|
url?: string;
|
|
1374
1375
|
}
|
|
1376
|
+
/**
|
|
1377
|
+
* Attributes to pass to whatsApp
|
|
1378
|
+
*/
|
|
1379
|
+
export interface WhatsAppAttributes {
|
|
1380
|
+
/** method - TwiML URL Method */
|
|
1381
|
+
method?: string;
|
|
1382
|
+
/** statusCallback - Status Callback URL */
|
|
1383
|
+
statusCallback?: string;
|
|
1384
|
+
/** statusCallbackEvent - Events to trigger status callback */
|
|
1385
|
+
statusCallbackEvent?: WhatsAppEvent[];
|
|
1386
|
+
/** statusCallbackMethod - Status Callback URL Method */
|
|
1387
|
+
statusCallbackMethod?: string;
|
|
1388
|
+
/** url - TwiML URL */
|
|
1389
|
+
url?: string;
|
|
1390
|
+
}
|
|
1375
1391
|
/**
|
|
1376
1392
|
* Attributes to pass to parameter
|
|
1377
1393
|
*/
|
|
@@ -1852,6 +1868,14 @@ declare namespace VoiceResponse {
|
|
|
1852
1868
|
*/
|
|
1853
1869
|
sip(sipUrl: string): VoiceResponse.Sip;
|
|
1854
1870
|
sip(attributes: VoiceResponse.SipAttributes, sipUrl: string): VoiceResponse.Sip;
|
|
1871
|
+
/**
|
|
1872
|
+
* <WhatsApp> TwiML Noun
|
|
1873
|
+
*
|
|
1874
|
+
* @param attributes - TwiML attributes
|
|
1875
|
+
* @param phoneNumber - WhatsApp Phone Number to dial
|
|
1876
|
+
*/
|
|
1877
|
+
whatsApp(phoneNumber: string): VoiceResponse.WhatsApp;
|
|
1878
|
+
whatsApp(attributes: VoiceResponse.WhatsAppAttributes, phoneNumber: string): VoiceResponse.WhatsApp;
|
|
1855
1879
|
}
|
|
1856
1880
|
export class Echo extends TwiML {
|
|
1857
1881
|
echo: XMLElement;
|
|
@@ -2770,6 +2794,13 @@ declare namespace VoiceResponse {
|
|
|
2770
2794
|
*/
|
|
2771
2795
|
parameter(attributes?: VoiceResponse.ParameterAttributes): VoiceResponse.Parameter;
|
|
2772
2796
|
}
|
|
2797
|
+
export class WhatsApp extends TwiML {
|
|
2798
|
+
whatsApp: XMLElement;
|
|
2799
|
+
/**
|
|
2800
|
+
* <WhatsApp> TwiML Noun
|
|
2801
|
+
*/
|
|
2802
|
+
constructor(whatsApp: XMLElement);
|
|
2803
|
+
}
|
|
2773
2804
|
export {};
|
|
2774
2805
|
}
|
|
2775
2806
|
export = VoiceResponse;
|
|
@@ -480,6 +480,13 @@ class VoiceResponse extends TwiML_1.default {
|
|
|
480
480
|
}
|
|
481
481
|
return new VoiceResponse.Sip(this.dial.ele("Sip", attributes, sipUrl));
|
|
482
482
|
}
|
|
483
|
+
whatsApp(attributes, phoneNumber) {
|
|
484
|
+
if (typeof attributes === "string") {
|
|
485
|
+
phoneNumber = attributes;
|
|
486
|
+
attributes = {};
|
|
487
|
+
}
|
|
488
|
+
return new VoiceResponse.WhatsApp(this.dial.ele("WhatsApp", attributes, phoneNumber));
|
|
489
|
+
}
|
|
483
490
|
}
|
|
484
491
|
VoiceResponse.Dial = Dial;
|
|
485
492
|
class Echo extends TwiML_1.default {
|
|
@@ -1553,5 +1560,16 @@ class VoiceResponse extends TwiML_1.default {
|
|
|
1553
1560
|
}
|
|
1554
1561
|
}
|
|
1555
1562
|
VoiceResponse.VirtualAgent = VirtualAgent;
|
|
1563
|
+
class WhatsApp extends TwiML_1.default {
|
|
1564
|
+
/**
|
|
1565
|
+
* <WhatsApp> TwiML Noun
|
|
1566
|
+
*/
|
|
1567
|
+
constructor(whatsApp) {
|
|
1568
|
+
super();
|
|
1569
|
+
this.whatsApp = whatsApp;
|
|
1570
|
+
this._propertyName = "whatsApp";
|
|
1571
|
+
}
|
|
1572
|
+
}
|
|
1573
|
+
VoiceResponse.WhatsApp = WhatsApp;
|
|
1556
1574
|
})(VoiceResponse || (VoiceResponse = {}));
|
|
1557
1575
|
module.exports = VoiceResponse;
|
package/package.json
CHANGED
package/lib/rest/Knowledge.d.ts
DELETED
package/lib/rest/Knowledge.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
const KnowledgeBase_1 = __importDefault(require("./KnowledgeBase"));
|
|
6
|
-
class Knowledge extends KnowledgeBase_1.default {
|
|
7
|
-
}
|
|
8
|
-
module.exports = Knowledge;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import Domain from "../base/Domain";
|
|
2
|
-
import V1 from "./knowledge/V1";
|
|
3
|
-
declare class KnowledgeBase extends Domain {
|
|
4
|
-
_v1?: V1;
|
|
5
|
-
/**
|
|
6
|
-
* Initialize knowledge domain
|
|
7
|
-
*
|
|
8
|
-
* @param twilio - The twilio client
|
|
9
|
-
*/
|
|
10
|
-
constructor(twilio: any);
|
|
11
|
-
get v1(): V1;
|
|
12
|
-
}
|
|
13
|
-
export = KnowledgeBase;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* This code was generated by
|
|
4
|
-
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
|
5
|
-
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
|
6
|
-
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
14
|
-
};
|
|
15
|
-
const Domain_1 = __importDefault(require("../base/Domain"));
|
|
16
|
-
const V1_1 = __importDefault(require("./knowledge/V1"));
|
|
17
|
-
class KnowledgeBase extends Domain_1.default {
|
|
18
|
-
/**
|
|
19
|
-
* Initialize knowledge domain
|
|
20
|
-
*
|
|
21
|
-
* @param twilio - The twilio client
|
|
22
|
-
*/
|
|
23
|
-
constructor(twilio) {
|
|
24
|
-
super(twilio, "https://knowledge.twilio.com");
|
|
25
|
-
}
|
|
26
|
-
get v1() {
|
|
27
|
-
this._v1 = this._v1 || new V1_1.default(this);
|
|
28
|
-
return this._v1;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
module.exports = KnowledgeBase;
|
package/lib/rest/Microvisor.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AppListInstance } from "./microvisor/v1/app";
|
|
2
|
-
import { DeviceListInstance } from "./microvisor/v1/device";
|
|
3
|
-
import MicrovisorBase from "./MicrovisorBase";
|
|
4
|
-
declare class Microvisor extends MicrovisorBase {
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated - Use v1.apps instead
|
|
7
|
-
*/
|
|
8
|
-
get apps(): AppListInstance;
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated - Use v1.devices instead
|
|
11
|
-
*/
|
|
12
|
-
get devices(): DeviceListInstance;
|
|
13
|
-
}
|
|
14
|
-
export = Microvisor;
|
package/lib/rest/Microvisor.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
const MicrovisorBase_1 = __importDefault(require("./MicrovisorBase"));
|
|
6
|
-
class Microvisor extends MicrovisorBase_1.default {
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated - Use v1.apps instead
|
|
9
|
-
*/
|
|
10
|
-
get apps() {
|
|
11
|
-
console.warn("apps is deprecated. Use v1.apps instead.");
|
|
12
|
-
return this.v1.apps;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated - Use v1.devices instead
|
|
16
|
-
*/
|
|
17
|
-
get devices() {
|
|
18
|
-
console.warn("devices is deprecated. Use v1.devices instead.");
|
|
19
|
-
return this.v1.devices;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
module.exports = Microvisor;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import Domain from "../base/Domain";
|
|
2
|
-
import V1 from "./microvisor/V1";
|
|
3
|
-
declare class MicrovisorBase extends Domain {
|
|
4
|
-
_v1?: V1;
|
|
5
|
-
/**
|
|
6
|
-
* Initialize microvisor domain
|
|
7
|
-
*
|
|
8
|
-
* @param twilio - The twilio client
|
|
9
|
-
*/
|
|
10
|
-
constructor(twilio: any);
|
|
11
|
-
get v1(): V1;
|
|
12
|
-
}
|
|
13
|
-
export = MicrovisorBase;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* This code was generated by
|
|
4
|
-
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
|
5
|
-
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
|
6
|
-
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
14
|
-
};
|
|
15
|
-
const Domain_1 = __importDefault(require("../base/Domain"));
|
|
16
|
-
const V1_1 = __importDefault(require("./microvisor/V1"));
|
|
17
|
-
class MicrovisorBase extends Domain_1.default {
|
|
18
|
-
/**
|
|
19
|
-
* Initialize microvisor domain
|
|
20
|
-
*
|
|
21
|
-
* @param twilio - The twilio client
|
|
22
|
-
*/
|
|
23
|
-
constructor(twilio) {
|
|
24
|
-
super(twilio, "https://microvisor.twilio.com");
|
|
25
|
-
}
|
|
26
|
-
get v1() {
|
|
27
|
-
this._v1 = this._v1 || new V1_1.default(this);
|
|
28
|
-
return this._v1;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
module.exports = MicrovisorBase;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import KnowledgeBase from "../KnowledgeBase";
|
|
2
|
-
import Version from "../../base/Version";
|
|
3
|
-
import { KnowledgeListInstance } from "./v1/knowledge";
|
|
4
|
-
export default class V1 extends Version {
|
|
5
|
-
/**
|
|
6
|
-
* Initialize the V1 version of Knowledge
|
|
7
|
-
*
|
|
8
|
-
* @param domain - The Twilio (Twilio.Knowledge) domain
|
|
9
|
-
*/
|
|
10
|
-
constructor(domain: KnowledgeBase);
|
|
11
|
-
/** knowledge - { Twilio.Knowledge.V1.KnowledgeListInstance } resource */
|
|
12
|
-
protected _knowledge?: KnowledgeListInstance;
|
|
13
|
-
/** Getter for knowledge resource */
|
|
14
|
-
get knowledge(): KnowledgeListInstance;
|
|
15
|
-
}
|
package/lib/rest/knowledge/V1.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* This code was generated by
|
|
4
|
-
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
|
5
|
-
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
|
6
|
-
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
|
7
|
-
*
|
|
8
|
-
* Twilio - Knowledge
|
|
9
|
-
* This is the public Twilio REST API.
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
|
-
};
|
|
18
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
const Version_1 = __importDefault(require("../../base/Version"));
|
|
20
|
-
const knowledge_1 = require("./v1/knowledge");
|
|
21
|
-
class V1 extends Version_1.default {
|
|
22
|
-
/**
|
|
23
|
-
* Initialize the V1 version of Knowledge
|
|
24
|
-
*
|
|
25
|
-
* @param domain - The Twilio (Twilio.Knowledge) domain
|
|
26
|
-
*/
|
|
27
|
-
constructor(domain) {
|
|
28
|
-
super(domain, "v1");
|
|
29
|
-
}
|
|
30
|
-
/** Getter for knowledge resource */
|
|
31
|
-
get knowledge() {
|
|
32
|
-
this._knowledge = this._knowledge || (0, knowledge_1.KnowledgeListInstance)(this);
|
|
33
|
-
return this._knowledge;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
exports.default = V1;
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import { inspect, InspectOptions } from "util";
|
|
3
|
-
import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
4
|
-
import Response from "../../../../http/response";
|
|
5
|
-
import V1 from "../../V1";
|
|
6
|
-
/**
|
|
7
|
-
* Options to pass to each
|
|
8
|
-
*/
|
|
9
|
-
export interface ChunkListInstanceEachOptions {
|
|
10
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
|
|
11
|
-
pageSize?: number;
|
|
12
|
-
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
13
|
-
callback?: (item: ChunkInstance, done: (err?: Error) => void) => void;
|
|
14
|
-
/** Function to be called upon completion of streaming */
|
|
15
|
-
done?: Function;
|
|
16
|
-
/** Upper limit for the number of records to return. each() guarantees never to return more than limit. Default is no limit */
|
|
17
|
-
limit?: number;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Options to pass to list
|
|
21
|
-
*/
|
|
22
|
-
export interface ChunkListInstanceOptions {
|
|
23
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
|
|
24
|
-
pageSize?: number;
|
|
25
|
-
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
26
|
-
limit?: number;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Options to pass to page
|
|
30
|
-
*/
|
|
31
|
-
export interface ChunkListInstancePageOptions {
|
|
32
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
|
|
33
|
-
pageSize?: number;
|
|
34
|
-
/** Page Number, this value is simply for client state */
|
|
35
|
-
pageNumber?: number;
|
|
36
|
-
/** PageToken provided by the API */
|
|
37
|
-
pageToken?: string;
|
|
38
|
-
}
|
|
39
|
-
export interface ChunkSolution {
|
|
40
|
-
id: string;
|
|
41
|
-
}
|
|
42
|
-
export interface ChunkListInstance {
|
|
43
|
-
_version: V1;
|
|
44
|
-
_solution: ChunkSolution;
|
|
45
|
-
_uri: string;
|
|
46
|
-
/**
|
|
47
|
-
* Streams ChunkInstance records from the API.
|
|
48
|
-
*
|
|
49
|
-
* This operation lazily loads records as efficiently as possible until the limit
|
|
50
|
-
* is reached.
|
|
51
|
-
*
|
|
52
|
-
* The results are passed into the callback function, so this operation is memory
|
|
53
|
-
* efficient.
|
|
54
|
-
*
|
|
55
|
-
* If a function is passed as the first argument, it will be used as the callback
|
|
56
|
-
* function.
|
|
57
|
-
*
|
|
58
|
-
* @param { ChunkListInstanceEachOptions } [params] - Options for request
|
|
59
|
-
* @param { function } [callback] - Function to process each record
|
|
60
|
-
*/
|
|
61
|
-
each(callback?: (item: ChunkInstance, done: (err?: Error) => void) => void): void;
|
|
62
|
-
each(params: ChunkListInstanceEachOptions, callback?: (item: ChunkInstance, done: (err?: Error) => void) => void): void;
|
|
63
|
-
/**
|
|
64
|
-
* Retrieve a single target page of ChunkInstance records from the API.
|
|
65
|
-
*
|
|
66
|
-
* The request is executed immediately.
|
|
67
|
-
*
|
|
68
|
-
* @param { string } [targetUrl] - API-generated URL for the requested results page
|
|
69
|
-
* @param { function } [callback] - Callback to handle list of records
|
|
70
|
-
*/
|
|
71
|
-
getPage(targetUrl: string, callback?: (error: Error | null, items: ChunkPage) => any): Promise<ChunkPage>;
|
|
72
|
-
/**
|
|
73
|
-
* Lists ChunkInstance records from the API as a list.
|
|
74
|
-
*
|
|
75
|
-
* If a function is passed as the first argument, it will be used as the callback
|
|
76
|
-
* function.
|
|
77
|
-
*
|
|
78
|
-
* @param { ChunkListInstanceOptions } [params] - Options for request
|
|
79
|
-
* @param { function } [callback] - Callback to handle list of records
|
|
80
|
-
*/
|
|
81
|
-
list(callback?: (error: Error | null, items: ChunkInstance[]) => any): Promise<ChunkInstance[]>;
|
|
82
|
-
list(params: ChunkListInstanceOptions, callback?: (error: Error | null, items: ChunkInstance[]) => any): Promise<ChunkInstance[]>;
|
|
83
|
-
/**
|
|
84
|
-
* Retrieve a single page of ChunkInstance records from the API.
|
|
85
|
-
*
|
|
86
|
-
* The request is executed immediately.
|
|
87
|
-
*
|
|
88
|
-
* If a function is passed as the first argument, it will be used as the callback
|
|
89
|
-
* function.
|
|
90
|
-
*
|
|
91
|
-
* @param { ChunkListInstancePageOptions } [params] - Options for request
|
|
92
|
-
* @param { function } [callback] - Callback to handle list of records
|
|
93
|
-
*/
|
|
94
|
-
page(callback?: (error: Error | null, items: ChunkPage) => any): Promise<ChunkPage>;
|
|
95
|
-
page(params: ChunkListInstancePageOptions, callback?: (error: Error | null, items: ChunkPage) => any): Promise<ChunkPage>;
|
|
96
|
-
/**
|
|
97
|
-
* Provide a user-friendly representation
|
|
98
|
-
*/
|
|
99
|
-
toJSON(): any;
|
|
100
|
-
[inspect.custom](_depth: any, options: InspectOptions): any;
|
|
101
|
-
}
|
|
102
|
-
export declare function ChunkListInstance(version: V1, id: string): ChunkListInstance;
|
|
103
|
-
interface ChunkPayload extends TwilioResponsePayload {
|
|
104
|
-
chunks: ChunkResource[];
|
|
105
|
-
}
|
|
106
|
-
interface ChunkResource {
|
|
107
|
-
account_sid: string;
|
|
108
|
-
content: string;
|
|
109
|
-
metadata: Record<string, object>;
|
|
110
|
-
date_created: Date;
|
|
111
|
-
date_updated: Date;
|
|
112
|
-
}
|
|
113
|
-
export declare class ChunkInstance {
|
|
114
|
-
protected _version: V1;
|
|
115
|
-
constructor(_version: V1, payload: ChunkResource, id: string);
|
|
116
|
-
/**
|
|
117
|
-
* The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Knowledge resource.
|
|
118
|
-
*/
|
|
119
|
-
accountSid: string;
|
|
120
|
-
/**
|
|
121
|
-
* The chunk content.
|
|
122
|
-
*/
|
|
123
|
-
content: string;
|
|
124
|
-
/**
|
|
125
|
-
* The metadata of the chunk.
|
|
126
|
-
*/
|
|
127
|
-
metadata: Record<string, object>;
|
|
128
|
-
/**
|
|
129
|
-
* The date and time in GMT when the Chunk was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
130
|
-
*/
|
|
131
|
-
dateCreated: Date;
|
|
132
|
-
/**
|
|
133
|
-
* The date and time in GMT when the Chunk was updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
134
|
-
*/
|
|
135
|
-
dateUpdated: Date;
|
|
136
|
-
/**
|
|
137
|
-
* Provide a user-friendly representation
|
|
138
|
-
*
|
|
139
|
-
* @returns Object
|
|
140
|
-
*/
|
|
141
|
-
toJSON(): {
|
|
142
|
-
accountSid: string;
|
|
143
|
-
content: string;
|
|
144
|
-
metadata: Record<string, object>;
|
|
145
|
-
dateCreated: Date;
|
|
146
|
-
dateUpdated: Date;
|
|
147
|
-
};
|
|
148
|
-
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
149
|
-
}
|
|
150
|
-
export declare class ChunkPage extends Page<V1, ChunkPayload, ChunkResource, ChunkInstance> {
|
|
151
|
-
/**
|
|
152
|
-
* Initialize the ChunkPage
|
|
153
|
-
*
|
|
154
|
-
* @param version - Version of the resource
|
|
155
|
-
* @param response - Response from the API
|
|
156
|
-
* @param solution - Path solution
|
|
157
|
-
*/
|
|
158
|
-
constructor(version: V1, response: Response<string>, solution: ChunkSolution);
|
|
159
|
-
/**
|
|
160
|
-
* Build an instance of ChunkInstance
|
|
161
|
-
*
|
|
162
|
-
* @param payload - Payload response from the API
|
|
163
|
-
*/
|
|
164
|
-
getInstance(payload: ChunkResource): ChunkInstance;
|
|
165
|
-
[inspect.custom](depth: any, options: InspectOptions): string;
|
|
166
|
-
}
|
|
167
|
-
export {};
|