twilio 5.7.1 → 5.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/rest/Twilio.d.ts +0 -10
- package/lib/rest/Twilio.js +0 -11
- package/lib/rest/accounts/v1/bulkConsents.d.ts +4 -4
- package/lib/rest/accounts/v1/bulkConsents.js +1 -1
- package/lib/rest/accounts/v1/bulkContacts.d.ts +4 -4
- package/lib/rest/accounts/v1/bulkContacts.js +1 -1
- package/lib/rest/api/v2010/account/address/dependentPhoneNumber.d.ts +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 +264 -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.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.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/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/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/room/transcriptions.d.ts +316 -0
- package/lib/rest/{proxy/v1/service/shortCode.js → video/v1/room/transcriptions.js} +61 -78
- package/lib/rest/video/v1/room.d.ts +8 -0
- package/lib/rest/video/v1/room.js +13 -0
- package/lib/rest/wireless/v1/sim/dataSession.d.ts +3 -3
- package/lib/rest/wireless/v1/sim/usageRecord.d.ts +9 -9
- package/lib/rest/wireless/v1/usageRecord.d.ts +9 -9
- package/lib/twiml/VoiceResponse.d.ts +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
|
@@ -178,13 +178,13 @@ interface MessageResource {
|
|
|
178
178
|
index: number;
|
|
179
179
|
author: string;
|
|
180
180
|
body: string;
|
|
181
|
-
media: Array<
|
|
181
|
+
media: Array<any>;
|
|
182
182
|
attributes: string;
|
|
183
183
|
participant_sid: string;
|
|
184
184
|
date_created: Date;
|
|
185
185
|
date_updated: Date;
|
|
186
186
|
url: string;
|
|
187
|
-
delivery:
|
|
187
|
+
delivery: any;
|
|
188
188
|
links: Record<string, string>;
|
|
189
189
|
content_sid: string;
|
|
190
190
|
}
|
|
@@ -220,7 +220,7 @@ export declare class MessageInstance {
|
|
|
220
220
|
/**
|
|
221
221
|
* An array of objects that describe the Message\'s media, if the message contains media. Each object contains these fields: `content_type` with the MIME type of the media, `filename` with the name of the media, `sid` with the SID of the Media resource, and `size` with the media object\'s file size in bytes. If the Message has no media, this value is `null`.
|
|
222
222
|
*/
|
|
223
|
-
media: Array<
|
|
223
|
+
media: Array<any>;
|
|
224
224
|
/**
|
|
225
225
|
* A string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \"{}\" will be returned.
|
|
226
226
|
*/
|
|
@@ -244,7 +244,7 @@ export declare class MessageInstance {
|
|
|
244
244
|
/**
|
|
245
245
|
* An object that contains the summary of delivery statuses for the message to non-chat participants.
|
|
246
246
|
*/
|
|
247
|
-
delivery:
|
|
247
|
+
delivery: any;
|
|
248
248
|
/**
|
|
249
249
|
* Contains an absolute API resource URL to access the delivery & read receipts of this message.
|
|
250
250
|
*/
|
|
@@ -312,13 +312,13 @@ export declare class MessageInstance {
|
|
|
312
312
|
index: number;
|
|
313
313
|
author: string;
|
|
314
314
|
body: string;
|
|
315
|
-
media:
|
|
315
|
+
media: any[];
|
|
316
316
|
attributes: string;
|
|
317
317
|
participantSid: string;
|
|
318
318
|
dateCreated: Date;
|
|
319
319
|
dateUpdated: Date;
|
|
320
320
|
url: string;
|
|
321
|
-
delivery:
|
|
321
|
+
delivery: any;
|
|
322
322
|
links: Record<string, string>;
|
|
323
323
|
contentSid: string;
|
|
324
324
|
};
|
|
@@ -170,7 +170,7 @@ interface ParticipantResource {
|
|
|
170
170
|
sid: string;
|
|
171
171
|
identity: string;
|
|
172
172
|
attributes: string;
|
|
173
|
-
messaging_binding:
|
|
173
|
+
messaging_binding: any;
|
|
174
174
|
role_sid: string;
|
|
175
175
|
date_created: Date;
|
|
176
176
|
date_updated: Date;
|
|
@@ -206,7 +206,7 @@ export declare class ParticipantInstance {
|
|
|
206
206
|
/**
|
|
207
207
|
* Information about how this participant exchanges messages with the conversation. A JSON parameter consisting of type and address fields of the participant.
|
|
208
208
|
*/
|
|
209
|
-
messagingBinding:
|
|
209
|
+
messagingBinding: any;
|
|
210
210
|
/**
|
|
211
211
|
* The SID of a conversation-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) to assign to the participant.
|
|
212
212
|
*/
|
|
@@ -285,7 +285,7 @@ export declare class ParticipantInstance {
|
|
|
285
285
|
sid: string;
|
|
286
286
|
identity: string;
|
|
287
287
|
attributes: string;
|
|
288
|
-
messagingBinding:
|
|
288
|
+
messagingBinding: any;
|
|
289
289
|
roleSid: string;
|
|
290
290
|
dateCreated: Date;
|
|
291
291
|
dateUpdated: Date;
|
|
@@ -3,7 +3,7 @@ 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
|
-
export type WebhookMethod = "
|
|
6
|
+
export type WebhookMethod = "get" | "post";
|
|
7
7
|
/**
|
|
8
8
|
* The target of this webhook: `webhook`, `studio`, `trigger`
|
|
9
9
|
*/
|
|
@@ -144,7 +144,7 @@ interface WebhookResource {
|
|
|
144
144
|
conversation_sid: string;
|
|
145
145
|
target: string;
|
|
146
146
|
url: string;
|
|
147
|
-
configuration:
|
|
147
|
+
configuration: any;
|
|
148
148
|
date_created: Date;
|
|
149
149
|
date_updated: Date;
|
|
150
150
|
}
|
|
@@ -176,7 +176,7 @@ export declare class WebhookInstance {
|
|
|
176
176
|
/**
|
|
177
177
|
* The configuration of this webhook. Is defined based on target.
|
|
178
178
|
*/
|
|
179
|
-
configuration:
|
|
179
|
+
configuration: any;
|
|
180
180
|
/**
|
|
181
181
|
* The date that this resource was created.
|
|
182
182
|
*/
|
|
@@ -230,7 +230,7 @@ export declare class WebhookInstance {
|
|
|
230
230
|
conversationSid: string;
|
|
231
231
|
target: string;
|
|
232
232
|
url: string;
|
|
233
|
-
configuration:
|
|
233
|
+
configuration: any;
|
|
234
234
|
dateCreated: Date;
|
|
235
235
|
dateUpdated: Date;
|
|
236
236
|
};
|
|
@@ -218,10 +218,10 @@ interface ConversationResource {
|
|
|
218
218
|
state: ConversationState;
|
|
219
219
|
date_created: Date;
|
|
220
220
|
date_updated: Date;
|
|
221
|
-
timers:
|
|
221
|
+
timers: any;
|
|
222
222
|
url: string;
|
|
223
223
|
links: Record<string, string>;
|
|
224
|
-
bindings:
|
|
224
|
+
bindings: any;
|
|
225
225
|
}
|
|
226
226
|
export declare class ConversationInstance {
|
|
227
227
|
protected _version: V1;
|
|
@@ -268,7 +268,7 @@ export declare class ConversationInstance {
|
|
|
268
268
|
/**
|
|
269
269
|
* Timer date values representing state update for this conversation.
|
|
270
270
|
*/
|
|
271
|
-
timers:
|
|
271
|
+
timers: any;
|
|
272
272
|
/**
|
|
273
273
|
* An absolute API resource URL for this conversation.
|
|
274
274
|
*/
|
|
@@ -277,7 +277,7 @@ export declare class ConversationInstance {
|
|
|
277
277
|
* Contains absolute URLs to access the [participants](https://www.twilio.com/docs/conversations/api/conversation-participant-resource), [messages](https://www.twilio.com/docs/conversations/api/conversation-message-resource) and [webhooks](https://www.twilio.com/docs/conversations/api/conversation-scoped-webhook-resource) of this conversation.
|
|
278
278
|
*/
|
|
279
279
|
links: Record<string, string>;
|
|
280
|
-
bindings:
|
|
280
|
+
bindings: any;
|
|
281
281
|
private get _proxy();
|
|
282
282
|
/**
|
|
283
283
|
* Remove a ConversationInstance
|
|
@@ -349,10 +349,10 @@ export declare class ConversationInstance {
|
|
|
349
349
|
state: ConversationState;
|
|
350
350
|
dateCreated: Date;
|
|
351
351
|
dateUpdated: Date;
|
|
352
|
-
timers:
|
|
352
|
+
timers: any;
|
|
353
353
|
url: string;
|
|
354
354
|
links: Record<string, string>;
|
|
355
|
-
bindings:
|
|
355
|
+
bindings: any;
|
|
356
356
|
};
|
|
357
357
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
358
358
|
}
|
|
@@ -78,9 +78,9 @@ interface ConversationWithParticipantsResource {
|
|
|
78
78
|
state: ConversationWithParticipantsState;
|
|
79
79
|
date_created: Date;
|
|
80
80
|
date_updated: Date;
|
|
81
|
-
timers:
|
|
81
|
+
timers: any;
|
|
82
82
|
links: Record<string, string>;
|
|
83
|
-
bindings:
|
|
83
|
+
bindings: any;
|
|
84
84
|
url: string;
|
|
85
85
|
}
|
|
86
86
|
export declare class ConversationWithParticipantsInstance {
|
|
@@ -126,12 +126,12 @@ export declare class ConversationWithParticipantsInstance {
|
|
|
126
126
|
/**
|
|
127
127
|
* Timer date values representing state update for this conversation.
|
|
128
128
|
*/
|
|
129
|
-
timers:
|
|
129
|
+
timers: any;
|
|
130
130
|
/**
|
|
131
131
|
* Contains absolute URLs to access the [participants](https://www.twilio.com/docs/conversations/api/conversation-participant-resource), [messages](https://www.twilio.com/docs/conversations/api/conversation-message-resource) and [webhooks](https://www.twilio.com/docs/conversations/api/conversation-scoped-webhook-resource) of this conversation.
|
|
132
132
|
*/
|
|
133
133
|
links: Record<string, string>;
|
|
134
|
-
bindings:
|
|
134
|
+
bindings: any;
|
|
135
135
|
/**
|
|
136
136
|
* An absolute API resource URL for this conversation.
|
|
137
137
|
*/
|
|
@@ -152,9 +152,9 @@ export declare class ConversationWithParticipantsInstance {
|
|
|
152
152
|
state: ConversationWithParticipantsState;
|
|
153
153
|
dateCreated: Date;
|
|
154
154
|
dateUpdated: Date;
|
|
155
|
-
timers:
|
|
155
|
+
timers: any;
|
|
156
156
|
links: Record<string, string>;
|
|
157
|
-
bindings:
|
|
157
|
+
bindings: any;
|
|
158
158
|
url: string;
|
|
159
159
|
};
|
|
160
160
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
@@ -124,7 +124,7 @@ interface ParticipantConversationResource {
|
|
|
124
124
|
participant_sid: string;
|
|
125
125
|
participant_user_sid: string;
|
|
126
126
|
participant_identity: string;
|
|
127
|
-
participant_messaging_binding:
|
|
127
|
+
participant_messaging_binding: any;
|
|
128
128
|
conversation_sid: string;
|
|
129
129
|
conversation_unique_name: string;
|
|
130
130
|
conversation_friendly_name: string;
|
|
@@ -133,7 +133,7 @@ interface ParticipantConversationResource {
|
|
|
133
133
|
conversation_date_updated: Date;
|
|
134
134
|
conversation_created_by: string;
|
|
135
135
|
conversation_state: ParticipantConversationState;
|
|
136
|
-
conversation_timers:
|
|
136
|
+
conversation_timers: any;
|
|
137
137
|
links: Record<string, string>;
|
|
138
138
|
}
|
|
139
139
|
export declare class ParticipantConversationInstance {
|
|
@@ -162,7 +162,7 @@ export declare class ParticipantConversationInstance {
|
|
|
162
162
|
/**
|
|
163
163
|
* Information about how this participant exchanges messages with the conversation. A JSON parameter consisting of type and address fields of the participant.
|
|
164
164
|
*/
|
|
165
|
-
participantMessagingBinding:
|
|
165
|
+
participantMessagingBinding: any;
|
|
166
166
|
/**
|
|
167
167
|
* The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) this Participant belongs to.
|
|
168
168
|
*/
|
|
@@ -195,7 +195,7 @@ export declare class ParticipantConversationInstance {
|
|
|
195
195
|
/**
|
|
196
196
|
* Timer date values representing state update for this conversation.
|
|
197
197
|
*/
|
|
198
|
-
conversationTimers:
|
|
198
|
+
conversationTimers: any;
|
|
199
199
|
/**
|
|
200
200
|
* Contains absolute URLs to access the [participant](https://www.twilio.com/docs/conversations/api/conversation-participant-resource) and [conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) of this conversation.
|
|
201
201
|
*/
|
|
@@ -211,7 +211,7 @@ export declare class ParticipantConversationInstance {
|
|
|
211
211
|
participantSid: string;
|
|
212
212
|
participantUserSid: string;
|
|
213
213
|
participantIdentity: string;
|
|
214
|
-
participantMessagingBinding:
|
|
214
|
+
participantMessagingBinding: any;
|
|
215
215
|
conversationSid: string;
|
|
216
216
|
conversationUniqueName: string;
|
|
217
217
|
conversationFriendlyName: string;
|
|
@@ -220,7 +220,7 @@ export declare class ParticipantConversationInstance {
|
|
|
220
220
|
conversationDateUpdated: Date;
|
|
221
221
|
conversationCreatedBy: string;
|
|
222
222
|
conversationState: ParticipantConversationState;
|
|
223
|
-
conversationTimers:
|
|
223
|
+
conversationTimers: any;
|
|
224
224
|
links: Record<string, string>;
|
|
225
225
|
};
|
|
226
226
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
@@ -85,9 +85,9 @@ export declare class NotificationContextImpl implements NotificationContext {
|
|
|
85
85
|
interface NotificationResource {
|
|
86
86
|
account_sid: string;
|
|
87
87
|
chat_service_sid: string;
|
|
88
|
-
new_message:
|
|
89
|
-
added_to_conversation:
|
|
90
|
-
removed_from_conversation:
|
|
88
|
+
new_message: any;
|
|
89
|
+
added_to_conversation: any;
|
|
90
|
+
removed_from_conversation: any;
|
|
91
91
|
log_enabled: boolean;
|
|
92
92
|
url: string;
|
|
93
93
|
}
|
|
@@ -107,15 +107,15 @@ export declare class NotificationInstance {
|
|
|
107
107
|
/**
|
|
108
108
|
* The Push Notification configuration for New Messages.
|
|
109
109
|
*/
|
|
110
|
-
newMessage:
|
|
110
|
+
newMessage: any;
|
|
111
111
|
/**
|
|
112
112
|
* The Push Notification configuration for being added to a Conversation.
|
|
113
113
|
*/
|
|
114
|
-
addedToConversation:
|
|
114
|
+
addedToConversation: any;
|
|
115
115
|
/**
|
|
116
116
|
* The Push Notification configuration for being removed from a Conversation.
|
|
117
117
|
*/
|
|
118
|
-
removedFromConversation:
|
|
118
|
+
removedFromConversation: any;
|
|
119
119
|
/**
|
|
120
120
|
* Weather the notification logging is enabled.
|
|
121
121
|
*/
|
|
@@ -158,9 +158,9 @@ export declare class NotificationInstance {
|
|
|
158
158
|
toJSON(): {
|
|
159
159
|
accountSid: string;
|
|
160
160
|
chatServiceSid: string;
|
|
161
|
-
newMessage:
|
|
162
|
-
addedToConversation:
|
|
163
|
-
removedFromConversation:
|
|
161
|
+
newMessage: any;
|
|
162
|
+
addedToConversation: any;
|
|
163
|
+
removedFromConversation: any;
|
|
164
164
|
logEnabled: boolean;
|
|
165
165
|
url: string;
|
|
166
166
|
};
|
|
@@ -180,12 +180,12 @@ interface MessageResource {
|
|
|
180
180
|
index: number;
|
|
181
181
|
author: string;
|
|
182
182
|
body: string;
|
|
183
|
-
media: Array<
|
|
183
|
+
media: Array<any>;
|
|
184
184
|
attributes: string;
|
|
185
185
|
participant_sid: string;
|
|
186
186
|
date_created: Date;
|
|
187
187
|
date_updated: Date;
|
|
188
|
-
delivery:
|
|
188
|
+
delivery: any;
|
|
189
189
|
url: string;
|
|
190
190
|
links: Record<string, string>;
|
|
191
191
|
content_sid: string;
|
|
@@ -226,7 +226,7 @@ export declare class MessageInstance {
|
|
|
226
226
|
/**
|
|
227
227
|
* An array of objects that describe the Message\'s media, if the message contains media. Each object contains these fields: `content_type` with the MIME type of the media, `filename` with the name of the media, `sid` with the SID of the Media resource, and `size` with the media object\'s file size in bytes. If the Message has no media, this value is `null`.
|
|
228
228
|
*/
|
|
229
|
-
media: Array<
|
|
229
|
+
media: Array<any>;
|
|
230
230
|
/**
|
|
231
231
|
* A string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \"{}\" will be returned.
|
|
232
232
|
*/
|
|
@@ -246,7 +246,7 @@ export declare class MessageInstance {
|
|
|
246
246
|
/**
|
|
247
247
|
* An object that contains the summary of delivery statuses for the message to non-chat participants.
|
|
248
248
|
*/
|
|
249
|
-
delivery:
|
|
249
|
+
delivery: any;
|
|
250
250
|
/**
|
|
251
251
|
* An absolute API resource URL for this message.
|
|
252
252
|
*/
|
|
@@ -319,12 +319,12 @@ export declare class MessageInstance {
|
|
|
319
319
|
index: number;
|
|
320
320
|
author: string;
|
|
321
321
|
body: string;
|
|
322
|
-
media:
|
|
322
|
+
media: any[];
|
|
323
323
|
attributes: string;
|
|
324
324
|
participantSid: string;
|
|
325
325
|
dateCreated: Date;
|
|
326
326
|
dateUpdated: Date;
|
|
327
|
-
delivery:
|
|
327
|
+
delivery: any;
|
|
328
328
|
url: string;
|
|
329
329
|
links: Record<string, string>;
|
|
330
330
|
contentSid: string;
|
|
@@ -172,7 +172,7 @@ interface ParticipantResource {
|
|
|
172
172
|
sid: string;
|
|
173
173
|
identity: string;
|
|
174
174
|
attributes: string;
|
|
175
|
-
messaging_binding:
|
|
175
|
+
messaging_binding: any;
|
|
176
176
|
role_sid: string;
|
|
177
177
|
date_created: Date;
|
|
178
178
|
date_updated: Date;
|
|
@@ -212,7 +212,7 @@ export declare class ParticipantInstance {
|
|
|
212
212
|
/**
|
|
213
213
|
* Information about how this participant exchanges messages with the conversation. A JSON parameter consisting of type and address fields of the participant.
|
|
214
214
|
*/
|
|
215
|
-
messagingBinding:
|
|
215
|
+
messagingBinding: any;
|
|
216
216
|
/**
|
|
217
217
|
* The SID of a conversation-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) to assign to the participant.
|
|
218
218
|
*/
|
|
@@ -292,7 +292,7 @@ export declare class ParticipantInstance {
|
|
|
292
292
|
sid: string;
|
|
293
293
|
identity: string;
|
|
294
294
|
attributes: string;
|
|
295
|
-
messagingBinding:
|
|
295
|
+
messagingBinding: any;
|
|
296
296
|
roleSid: string;
|
|
297
297
|
dateCreated: Date;
|
|
298
298
|
dateUpdated: Date;
|
|
@@ -3,7 +3,7 @@ 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
|
-
export type WebhookMethod = "
|
|
6
|
+
export type WebhookMethod = "get" | "post";
|
|
7
7
|
/**
|
|
8
8
|
* The target of this webhook: `webhook`, `studio`, `trigger`
|
|
9
9
|
*/
|
|
@@ -146,7 +146,7 @@ interface WebhookResource {
|
|
|
146
146
|
conversation_sid: string;
|
|
147
147
|
target: string;
|
|
148
148
|
url: string;
|
|
149
|
-
configuration:
|
|
149
|
+
configuration: any;
|
|
150
150
|
date_created: Date;
|
|
151
151
|
date_updated: Date;
|
|
152
152
|
}
|
|
@@ -182,7 +182,7 @@ export declare class WebhookInstance {
|
|
|
182
182
|
/**
|
|
183
183
|
* The configuration of this webhook. Is defined based on target.
|
|
184
184
|
*/
|
|
185
|
-
configuration:
|
|
185
|
+
configuration: any;
|
|
186
186
|
/**
|
|
187
187
|
* The date that this resource was created.
|
|
188
188
|
*/
|
|
@@ -237,7 +237,7 @@ export declare class WebhookInstance {
|
|
|
237
237
|
conversationSid: string;
|
|
238
238
|
target: string;
|
|
239
239
|
url: string;
|
|
240
|
-
configuration:
|
|
240
|
+
configuration: any;
|
|
241
241
|
dateCreated: Date;
|
|
242
242
|
dateUpdated: Date;
|
|
243
243
|
};
|
|
@@ -219,10 +219,10 @@ interface ConversationResource {
|
|
|
219
219
|
state: ConversationState;
|
|
220
220
|
date_created: Date;
|
|
221
221
|
date_updated: Date;
|
|
222
|
-
timers:
|
|
222
|
+
timers: any;
|
|
223
223
|
url: string;
|
|
224
224
|
links: Record<string, string>;
|
|
225
|
-
bindings:
|
|
225
|
+
bindings: any;
|
|
226
226
|
}
|
|
227
227
|
export declare class ConversationInstance {
|
|
228
228
|
protected _version: V1;
|
|
@@ -269,7 +269,7 @@ export declare class ConversationInstance {
|
|
|
269
269
|
/**
|
|
270
270
|
* Timer date values representing state update for this conversation.
|
|
271
271
|
*/
|
|
272
|
-
timers:
|
|
272
|
+
timers: any;
|
|
273
273
|
/**
|
|
274
274
|
* An absolute API resource URL for this conversation.
|
|
275
275
|
*/
|
|
@@ -278,7 +278,7 @@ export declare class ConversationInstance {
|
|
|
278
278
|
* Contains absolute URLs to access the [participants](https://www.twilio.com/docs/conversations/api/conversation-participant-resource), [messages](https://www.twilio.com/docs/conversations/api/conversation-message-resource) and [webhooks](https://www.twilio.com/docs/conversations/api/conversation-scoped-webhook-resource) of this conversation.
|
|
279
279
|
*/
|
|
280
280
|
links: Record<string, string>;
|
|
281
|
-
bindings:
|
|
281
|
+
bindings: any;
|
|
282
282
|
private get _proxy();
|
|
283
283
|
/**
|
|
284
284
|
* Remove a ConversationInstance
|
|
@@ -350,10 +350,10 @@ export declare class ConversationInstance {
|
|
|
350
350
|
state: ConversationState;
|
|
351
351
|
dateCreated: Date;
|
|
352
352
|
dateUpdated: Date;
|
|
353
|
-
timers:
|
|
353
|
+
timers: any;
|
|
354
354
|
url: string;
|
|
355
355
|
links: Record<string, string>;
|
|
356
|
-
bindings:
|
|
356
|
+
bindings: any;
|
|
357
357
|
};
|
|
358
358
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
359
359
|
}
|
|
@@ -79,9 +79,9 @@ interface ConversationWithParticipantsResource {
|
|
|
79
79
|
state: ConversationWithParticipantsState;
|
|
80
80
|
date_created: Date;
|
|
81
81
|
date_updated: Date;
|
|
82
|
-
timers:
|
|
82
|
+
timers: any;
|
|
83
83
|
links: Record<string, string>;
|
|
84
|
-
bindings:
|
|
84
|
+
bindings: any;
|
|
85
85
|
url: string;
|
|
86
86
|
}
|
|
87
87
|
export declare class ConversationWithParticipantsInstance {
|
|
@@ -127,12 +127,12 @@ export declare class ConversationWithParticipantsInstance {
|
|
|
127
127
|
/**
|
|
128
128
|
* Timer date values representing state update for this conversation.
|
|
129
129
|
*/
|
|
130
|
-
timers:
|
|
130
|
+
timers: any;
|
|
131
131
|
/**
|
|
132
132
|
* Contains absolute URLs to access the [participants](https://www.twilio.com/docs/conversations/api/conversation-participant-resource), [messages](https://www.twilio.com/docs/conversations/api/conversation-message-resource) and [webhooks](https://www.twilio.com/docs/conversations/api/conversation-scoped-webhook-resource) of this conversation.
|
|
133
133
|
*/
|
|
134
134
|
links: Record<string, string>;
|
|
135
|
-
bindings:
|
|
135
|
+
bindings: any;
|
|
136
136
|
/**
|
|
137
137
|
* An absolute API resource URL for this conversation.
|
|
138
138
|
*/
|
|
@@ -153,9 +153,9 @@ export declare class ConversationWithParticipantsInstance {
|
|
|
153
153
|
state: ConversationWithParticipantsState;
|
|
154
154
|
dateCreated: Date;
|
|
155
155
|
dateUpdated: Date;
|
|
156
|
-
timers:
|
|
156
|
+
timers: any;
|
|
157
157
|
links: Record<string, string>;
|
|
158
|
-
bindings:
|
|
158
|
+
bindings: any;
|
|
159
159
|
url: string;
|
|
160
160
|
};
|
|
161
161
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
@@ -125,7 +125,7 @@ interface ParticipantConversationResource {
|
|
|
125
125
|
participant_sid: string;
|
|
126
126
|
participant_user_sid: string;
|
|
127
127
|
participant_identity: string;
|
|
128
|
-
participant_messaging_binding:
|
|
128
|
+
participant_messaging_binding: any;
|
|
129
129
|
conversation_sid: string;
|
|
130
130
|
conversation_unique_name: string;
|
|
131
131
|
conversation_friendly_name: string;
|
|
@@ -134,7 +134,7 @@ interface ParticipantConversationResource {
|
|
|
134
134
|
conversation_date_updated: Date;
|
|
135
135
|
conversation_created_by: string;
|
|
136
136
|
conversation_state: ParticipantConversationState;
|
|
137
|
-
conversation_timers:
|
|
137
|
+
conversation_timers: any;
|
|
138
138
|
links: Record<string, string>;
|
|
139
139
|
}
|
|
140
140
|
export declare class ParticipantConversationInstance {
|
|
@@ -163,7 +163,7 @@ export declare class ParticipantConversationInstance {
|
|
|
163
163
|
/**
|
|
164
164
|
* Information about how this participant exchanges messages with the conversation. A JSON parameter consisting of type and address fields of the participant.
|
|
165
165
|
*/
|
|
166
|
-
participantMessagingBinding:
|
|
166
|
+
participantMessagingBinding: any;
|
|
167
167
|
/**
|
|
168
168
|
* The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) this Participant belongs to.
|
|
169
169
|
*/
|
|
@@ -196,7 +196,7 @@ export declare class ParticipantConversationInstance {
|
|
|
196
196
|
/**
|
|
197
197
|
* Timer date values representing state update for this conversation.
|
|
198
198
|
*/
|
|
199
|
-
conversationTimers:
|
|
199
|
+
conversationTimers: any;
|
|
200
200
|
/**
|
|
201
201
|
* Contains absolute URLs to access the [participant](https://www.twilio.com/docs/conversations/api/conversation-participant-resource) and [conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) of this conversation.
|
|
202
202
|
*/
|
|
@@ -212,7 +212,7 @@ export declare class ParticipantConversationInstance {
|
|
|
212
212
|
participantSid: string;
|
|
213
213
|
participantUserSid: string;
|
|
214
214
|
participantIdentity: string;
|
|
215
|
-
participantMessagingBinding:
|
|
215
|
+
participantMessagingBinding: any;
|
|
216
216
|
conversationSid: string;
|
|
217
217
|
conversationUniqueName: string;
|
|
218
218
|
conversationFriendlyName: string;
|
|
@@ -221,7 +221,7 @@ export declare class ParticipantConversationInstance {
|
|
|
221
221
|
conversationDateUpdated: Date;
|
|
222
222
|
conversationCreatedBy: string;
|
|
223
223
|
conversationState: ParticipantConversationState;
|
|
224
|
-
conversationTimers:
|
|
224
|
+
conversationTimers: any;
|
|
225
225
|
links: Record<string, string>;
|
|
226
226
|
};
|
|
227
227
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
@@ -129,7 +129,7 @@ interface UserConversationResource {
|
|
|
129
129
|
user_sid: string;
|
|
130
130
|
friendly_name: string;
|
|
131
131
|
conversation_state: UserConversationState;
|
|
132
|
-
timers:
|
|
132
|
+
timers: any;
|
|
133
133
|
attributes: string;
|
|
134
134
|
date_created: Date;
|
|
135
135
|
date_updated: Date;
|
|
@@ -180,7 +180,7 @@ export declare class UserConversationInstance {
|
|
|
180
180
|
/**
|
|
181
181
|
* Timer date values representing state update for this conversation.
|
|
182
182
|
*/
|
|
183
|
-
timers:
|
|
183
|
+
timers: any;
|
|
184
184
|
/**
|
|
185
185
|
* An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \"{}\" will be returned.
|
|
186
186
|
*/
|
|
@@ -256,7 +256,7 @@ export declare class UserConversationInstance {
|
|
|
256
256
|
userSid: string;
|
|
257
257
|
friendlyName: string;
|
|
258
258
|
conversationState: UserConversationState;
|
|
259
|
-
timers:
|
|
259
|
+
timers: any;
|
|
260
260
|
attributes: string;
|
|
261
261
|
dateCreated: Date;
|
|
262
262
|
dateUpdated: Date;
|
|
@@ -128,7 +128,7 @@ interface UserConversationResource {
|
|
|
128
128
|
user_sid: string;
|
|
129
129
|
friendly_name: string;
|
|
130
130
|
conversation_state: UserConversationState;
|
|
131
|
-
timers:
|
|
131
|
+
timers: any;
|
|
132
132
|
attributes: string;
|
|
133
133
|
date_created: Date;
|
|
134
134
|
date_updated: Date;
|
|
@@ -179,7 +179,7 @@ export declare class UserConversationInstance {
|
|
|
179
179
|
/**
|
|
180
180
|
* Timer date values representing state update for this conversation.
|
|
181
181
|
*/
|
|
182
|
-
timers:
|
|
182
|
+
timers: any;
|
|
183
183
|
/**
|
|
184
184
|
* An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \"{}\" will be returned.
|
|
185
185
|
*/
|
|
@@ -255,7 +255,7 @@ export declare class UserConversationInstance {
|
|
|
255
255
|
userSid: string;
|
|
256
256
|
friendlyName: string;
|
|
257
257
|
conversationState: UserConversationState;
|
|
258
|
-
timers:
|
|
258
|
+
timers: any;
|
|
259
259
|
attributes: string;
|
|
260
260
|
dateCreated: Date;
|
|
261
261
|
dateUpdated: Date;
|
|
@@ -27,7 +27,7 @@ export interface SinkListInstanceCreateOptions {
|
|
|
27
27
|
/** A human readable description for the Sink **This value should not contain PII.** */
|
|
28
28
|
description: string;
|
|
29
29
|
/** The information required for Twilio to connect to the provided Sink encoded as JSON. */
|
|
30
|
-
sinkConfiguration:
|
|
30
|
+
sinkConfiguration: any;
|
|
31
31
|
/** */
|
|
32
32
|
sinkType: SinkSinkType;
|
|
33
33
|
}
|
|
@@ -141,7 +141,7 @@ interface SinkResource {
|
|
|
141
141
|
date_updated: Date;
|
|
142
142
|
description: string;
|
|
143
143
|
sid: string;
|
|
144
|
-
sink_configuration:
|
|
144
|
+
sink_configuration: any;
|
|
145
145
|
sink_type: SinkSinkType;
|
|
146
146
|
status: SinkStatus;
|
|
147
147
|
url: string;
|
|
@@ -171,7 +171,7 @@ export declare class SinkInstance {
|
|
|
171
171
|
/**
|
|
172
172
|
* The information required for Twilio to connect to the provided Sink encoded as JSON.
|
|
173
173
|
*/
|
|
174
|
-
sinkConfiguration:
|
|
174
|
+
sinkConfiguration: any;
|
|
175
175
|
sinkType: SinkSinkType;
|
|
176
176
|
status: SinkStatus;
|
|
177
177
|
/**
|
|
@@ -226,7 +226,7 @@ export declare class SinkInstance {
|
|
|
226
226
|
dateUpdated: Date;
|
|
227
227
|
description: string;
|
|
228
228
|
sid: string;
|
|
229
|
-
sinkConfiguration:
|
|
229
|
+
sinkConfiguration: any;
|
|
230
230
|
sinkType: SinkSinkType;
|
|
231
231
|
status: SinkStatus;
|
|
232
232
|
url: string;
|
|
@@ -22,7 +22,7 @@ export interface SubscriptionListInstanceCreateOptions {
|
|
|
22
22
|
/** The SID of the sink that events selected by this subscription should be sent to. Sink must be active for the subscription to be created. */
|
|
23
23
|
sinkSid: string;
|
|
24
24
|
/** An array of objects containing the subscribed Event Types */
|
|
25
|
-
types: Array<
|
|
25
|
+
types: Array<any>;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Options to pass to each
|
|
@@ -196,7 +196,7 @@ function SubscriptionListInstance(version) {
|
|
|
196
196
|
let data = {};
|
|
197
197
|
data["Description"] = params["description"];
|
|
198
198
|
data["SinkSid"] = params["sinkSid"];
|
|
199
|
-
data["Types"] = serialize.map(params["types"], (e) => e);
|
|
199
|
+
data["Types"] = serialize.map(params["types"], (e) => serialize.object(e));
|
|
200
200
|
const headers = {};
|
|
201
201
|
headers["Content-Type"] = "application/x-www-form-urlencoded";
|
|
202
202
|
headers["Accept"] = "application/json";
|