twilio 5.7.0 → 5.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/rest/Twilio.d.ts +0 -10
- package/lib/rest/Twilio.js +0 -11
- package/lib/rest/accounts/v1/bulkConsents.d.ts +4 -4
- package/lib/rest/accounts/v1/bulkConsents.js +1 -1
- package/lib/rest/accounts/v1/bulkContacts.d.ts +4 -4
- package/lib/rest/accounts/v1/bulkContacts.js +1 -1
- package/lib/rest/api/v2010/account/address/dependentPhoneNumber.d.ts +15 -10
- package/lib/rest/api/v2010/account/address/dependentPhoneNumber.js +2 -2
- package/lib/rest/api/v2010/account/authorizedConnectApp.d.ts +3 -0
- package/lib/rest/api/v2010/account/call/event.d.ts +6 -6
- package/lib/rest/api/v2010/account/call/payment.d.ts +1 -1
- package/lib/rest/api/v2010/account/call/recording.d.ts +3 -3
- package/lib/rest/api/v2010/account/conference/recording.d.ts +3 -3
- package/lib/rest/api/v2010/account/connectApp.d.ts +3 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/assignedAddOn.d.ts +3 -3
- package/lib/rest/api/v2010/account/incomingPhoneNumber/local.d.ts +3 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.d.ts +3 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.d.ts +3 -0
- package/lib/rest/api/v2010/account/incomingPhoneNumber.d.ts +3 -0
- package/lib/rest/api/v2010/account/recording.d.ts +4 -4
- package/lib/rest/api/v2010/account/usage/trigger.d.ts +3 -0
- package/lib/rest/bulkexports/v1/export/day.d.ts +3 -3
- package/lib/rest/bulkexports/v1/export/exportCustomJob.d.ts +3 -3
- package/lib/rest/bulkexports/v1/export/job.d.ts +3 -3
- package/lib/rest/chat/v1/credential.d.ts +3 -0
- package/lib/rest/chat/v1/service/channel.d.ts +3 -0
- package/lib/rest/chat/v1/service/role.d.ts +3 -0
- package/lib/rest/chat/v1/service/user/userChannel.d.ts +3 -0
- package/lib/rest/chat/v1/service.d.ts +9 -9
- package/lib/rest/chat/v2/credential.d.ts +3 -0
- package/lib/rest/chat/v2/service/channel/message.d.ts +3 -3
- package/lib/rest/chat/v2/service/channel/webhook.d.ts +3 -3
- package/lib/rest/chat/v2/service/channel.d.ts +3 -0
- package/lib/rest/chat/v2/service/role.d.ts +3 -0
- package/lib/rest/chat/v2/service/user/userChannel.d.ts +3 -0
- package/lib/rest/chat/v2/service.d.ts +9 -9
- package/lib/rest/chat/v3/channel.d.ts +3 -0
- package/lib/rest/content/v2/content.d.ts +6 -6
- package/lib/rest/content/v2/contentAndApprovals.d.ts +9 -9
- package/lib/rest/conversations/v1/addressConfiguration.d.ts +7 -7
- package/lib/rest/conversations/v1/conversation/message/deliveryReceipt.d.ts +6 -3
- package/lib/rest/conversations/v1/conversation/message.d.ts +9 -9
- package/lib/rest/conversations/v1/conversation/participant.d.ts +6 -6
- package/lib/rest/conversations/v1/conversation/webhook.d.ts +7 -7
- package/lib/rest/conversations/v1/conversation.d.ts +9 -9
- package/lib/rest/conversations/v1/conversationWithParticipants.d.ts +6 -6
- package/lib/rest/conversations/v1/credential.d.ts +6 -3
- package/lib/rest/conversations/v1/participantConversation.d.ts +12 -9
- package/lib/rest/conversations/v1/role.d.ts +6 -3
- package/lib/rest/conversations/v1/service/binding.d.ts +3 -3
- package/lib/rest/conversations/v1/service/configuration/notification.d.ts +9 -9
- package/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.d.ts +6 -3
- package/lib/rest/conversations/v1/service/conversation/message.d.ts +9 -9
- package/lib/rest/conversations/v1/service/conversation/participant.d.ts +6 -6
- package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +7 -7
- package/lib/rest/conversations/v1/service/conversation.d.ts +9 -9
- package/lib/rest/conversations/v1/service/conversationWithParticipants.d.ts +6 -6
- package/lib/rest/conversations/v1/service/participantConversation.d.ts +12 -9
- package/lib/rest/conversations/v1/service/role.d.ts +6 -3
- package/lib/rest/conversations/v1/service/user/userConversation.d.ts +9 -6
- package/lib/rest/conversations/v1/service/user.d.ts +3 -3
- package/lib/rest/conversations/v1/service.d.ts +3 -3
- package/lib/rest/conversations/v1/user/userConversation.d.ts +9 -6
- package/lib/rest/conversations/v1/user.d.ts +3 -3
- package/lib/rest/events/v1/sink.d.ts +4 -4
- package/lib/rest/events/v1/subscription.d.ts +1 -1
- package/lib/rest/events/v1/subscription.js +1 -1
- package/lib/rest/flexApi/v1/assessments.d.ts +3 -3
- package/lib/rest/flexApi/v1/configuration.d.ts +66 -66
- package/lib/rest/flexApi/v1/flexFlow.d.ts +3 -3
- package/lib/rest/flexApi/v1/insightsAssessmentsComment.d.ts +3 -3
- package/lib/rest/flexApi/v1/insightsConversations.d.ts +3 -3
- package/lib/rest/flexApi/v1/insightsQuestionnaires.d.ts +3 -3
- package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.d.ts +6 -6
- package/lib/rest/flexApi/v1/insightsSegments.d.ts +9 -9
- package/lib/rest/flexApi/v1/insightsSettingsAnswerSets.d.ts +9 -9
- package/lib/rest/flexApi/v1/insightsSettingsComment.d.ts +3 -3
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelInvite.d.ts +4 -4
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +5 -5
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionTransfer.d.ts +6 -0
- package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +4 -1
- package/lib/rest/flexApi/v1/interaction.d.ts +8 -8
- package/lib/rest/flexApi/v1/pluginConfiguration.d.ts +1 -1
- package/lib/rest/flexApi/v1/pluginConfiguration.js +1 -1
- package/lib/rest/frontlineApi/v1/user.d.ts +3 -0
- package/lib/rest/intelligence/v2/customOperator.d.ts +5 -5
- package/lib/rest/intelligence/v2/operator.d.ts +3 -3
- package/lib/rest/intelligence/v2/operatorType.d.ts +3 -3
- package/lib/rest/intelligence/v2/prebuiltOperator.d.ts +3 -3
- package/lib/rest/intelligence/v2/service.d.ts +3 -0
- package/lib/rest/intelligence/v2/transcript/operatorResult.d.ts +15 -15
- package/lib/rest/intelligence/v2/transcript/sentence.d.ts +3 -3
- package/lib/rest/intelligence/v2/transcript.d.ts +4 -4
- package/lib/rest/ipMessaging/v1/service.d.ts +9 -9
- package/lib/rest/ipMessaging/v2/service/channel/message.d.ts +3 -3
- package/lib/rest/ipMessaging/v2/service/channel/webhook.d.ts +3 -3
- package/lib/rest/ipMessaging/v2/service.d.ts +9 -9
- package/lib/rest/lookups/V2.d.ts +20 -0
- package/lib/rest/lookups/V2.js +25 -0
- package/lib/rest/lookups/v2/bucket.d.ts +205 -0
- package/lib/rest/lookups/v2/bucket.js +187 -0
- package/lib/rest/lookups/v2/lookupOverride.d.ts +264 -0
- package/lib/rest/lookups/v2/lookupOverride.js +225 -0
- package/lib/rest/lookups/v2/phoneNumber.d.ts +3 -0
- package/lib/rest/lookups/v2/query.d.ts +175 -0
- package/lib/rest/lookups/v2/query.js +123 -0
- package/lib/rest/lookups/v2/rateLimit.d.ts +83 -0
- package/lib/rest/lookups/v2/rateLimit.js +82 -0
- package/lib/rest/messaging/v1/service/destinationAlphaSender.d.ts +6 -0
- package/lib/rest/messaging/v1/service/destinationAlphaSender.js +2 -0
- package/lib/rest/messaging/v1/service.d.ts +3 -3
- package/lib/rest/messaging/v2/channelsSender.d.ts +49 -4
- package/lib/rest/messaging/v2/channelsSender.js +14 -2
- package/lib/rest/monitor/v1/event.d.ts +3 -3
- package/lib/rest/notify/v1/credential.d.ts +3 -0
- package/lib/rest/notify/v1/service/notification.d.ts +28 -28
- package/lib/rest/numbers/v1/bulkEligibility.d.ts +3 -3
- package/lib/rest/numbers/v1/eligibility.d.ts +3 -3
- package/lib/rest/numbers/v1/portingPortIn.d.ts +6 -6
- package/lib/rest/numbers/v2/bulkHostedNumberOrder.d.ts +3 -3
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +3 -3
- package/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +5 -5
- package/lib/rest/numbers/v2/regulatoryCompliance/endUserType.d.ts +3 -3
- package/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +3 -3
- package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +8 -8
- package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocumentType.d.ts +3 -3
- package/lib/rest/preview/marketplace/availableAddOn.d.ts +3 -3
- package/lib/rest/preview/marketplace/installedAddOn.d.ts +5 -5
- package/lib/rest/preview/wireless/sim/usage.d.ts +15 -15
- package/lib/rest/proxy/v1/service/session/interaction.d.ts +3 -0
- package/lib/rest/proxy/v1/service/session/participant/messageInteraction.d.ts +3 -0
- package/lib/rest/proxy/v1/service/session.d.ts +1 -1
- package/lib/rest/proxy/v1/service/session.js +1 -1
- package/lib/rest/proxy/v1/service.d.ts +0 -8
- package/lib/rest/proxy/v1/service.js +0 -13
- package/lib/rest/serverless/v1/service/build.d.ts +9 -9
- package/lib/rest/serverless/v1/service/environment/log.d.ts +6 -7
- package/lib/rest/studio/v1/flow/engagement/engagementContext.d.ts +3 -3
- package/lib/rest/studio/v1/flow/engagement/step/stepContext.d.ts +3 -3
- package/lib/rest/studio/v1/flow/engagement/step.d.ts +3 -3
- package/lib/rest/studio/v1/flow/engagement.d.ts +4 -4
- package/lib/rest/studio/v1/flow/execution/executionContext.d.ts +3 -3
- package/lib/rest/studio/v1/flow/execution/executionStep/executionStepContext.d.ts +3 -3
- package/lib/rest/studio/v1/flow/execution/executionStep.d.ts +3 -3
- package/lib/rest/studio/v1/flow/execution.d.ts +4 -4
- package/lib/rest/studio/v2/flow/execution/executionContext.d.ts +3 -3
- package/lib/rest/studio/v2/flow/execution/executionStep/executionStepContext.d.ts +3 -3
- package/lib/rest/studio/v2/flow/execution/executionStep.d.ts +3 -3
- package/lib/rest/studio/v2/flow/execution.d.ts +4 -4
- package/lib/rest/studio/v2/flow/flowRevision.d.ts +6 -6
- package/lib/rest/studio/v2/flow.d.ts +11 -11
- package/lib/rest/studio/v2/flowValidate.d.ts +1 -1
- package/lib/rest/supersim/v1/network.d.ts +3 -3
- package/lib/rest/supersim/v1/networkAccessProfile/networkAccessProfileNetwork.d.ts +3 -3
- package/lib/rest/supersim/v1/settingsUpdate.d.ts +3 -3
- package/lib/rest/supersim/v1/sim/billingPeriod.d.ts +3 -0
- package/lib/rest/supersim/v1/usageRecord.d.ts +3 -3
- package/lib/rest/sync/v1/service/document/documentPermission.d.ts +3 -3
- package/lib/rest/sync/v1/service/document.d.ts +3 -3
- package/lib/rest/sync/v1/service/syncList/syncListItem.d.ts +3 -3
- package/lib/rest/sync/v1/service/syncList/syncListPermission.d.ts +3 -3
- package/lib/rest/sync/v1/service/syncList.d.ts +3 -3
- package/lib/rest/sync/v1/service/syncMap/syncMapItem.d.ts +3 -3
- package/lib/rest/sync/v1/service/syncMap/syncMapPermission.d.ts +3 -3
- package/lib/rest/sync/v1/service/syncMap.d.ts +3 -3
- package/lib/rest/sync/v1/service/syncStream.d.ts +3 -3
- package/lib/rest/sync/v1/service.d.ts +3 -3
- package/lib/rest/taskrouter/v1/workspace/event.d.ts +3 -3
- package/lib/rest/taskrouter/v1/workspace/task/reservation.d.ts +3 -0
- package/lib/rest/taskrouter/v1/workspace/task.d.ts +4 -1
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueBulkRealTimeStatistics.d.ts +3 -3
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueCumulativeStatistics.d.ts +12 -12
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueRealTimeStatistics.d.ts +9 -9
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueueStatistics.d.ts +6 -6
- package/lib/rest/taskrouter/v1/workspace/taskQueue/taskQueuesStatistics.d.ts +6 -6
- package/lib/rest/taskrouter/v1/workspace/worker/reservation.d.ts +3 -0
- package/lib/rest/taskrouter/v1/workspace/worker/workerStatistics.d.ts +3 -3
- package/lib/rest/taskrouter/v1/workspace/worker/workersCumulativeStatistics.d.ts +3 -3
- package/lib/rest/taskrouter/v1/workspace/worker/workersRealTimeStatistics.d.ts +3 -3
- package/lib/rest/taskrouter/v1/workspace/worker/workersStatistics.d.ts +6 -6
- package/lib/rest/taskrouter/v1/workspace/workflow/workflowCumulativeStatistics.d.ts +9 -9
- package/lib/rest/taskrouter/v1/workspace/workflow/workflowRealTimeStatistics.d.ts +6 -6
- package/lib/rest/taskrouter/v1/workspace/workflow/workflowStatistics.d.ts +6 -6
- package/lib/rest/taskrouter/v1/workspace/workspaceCumulativeStatistics.d.ts +9 -9
- package/lib/rest/taskrouter/v1/workspace/workspaceRealTimeStatistics.d.ts +9 -9
- package/lib/rest/taskrouter/v1/workspace/workspaceStatistics.d.ts +6 -6
- package/lib/rest/taskrouter/v1/workspace.d.ts +3 -0
- package/lib/rest/trunking/v1/trunk/phoneNumber.d.ts +3 -0
- package/lib/rest/trunking/v1/trunk/recording.d.ts +6 -0
- package/lib/rest/trunking/v1/trunk.d.ts +12 -3
- package/lib/rest/trunking/v1/trunk.js +2 -0
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +3 -3
- package/lib/rest/trusthub/v1/customerProfiles.d.ts +3 -3
- package/lib/rest/trusthub/v1/endUser.d.ts +5 -5
- package/lib/rest/trusthub/v1/endUserType.d.ts +3 -3
- package/lib/rest/trusthub/v1/policies.d.ts +3 -3
- package/lib/rest/trusthub/v1/supportingDocument.d.ts +5 -5
- package/lib/rest/trusthub/v1/supportingDocumentType.d.ts +3 -3
- package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +3 -3
- package/lib/rest/trusthub/v1/trustProducts.d.ts +3 -3
- package/lib/rest/verify/v2/form.d.ts +9 -6
- package/lib/rest/verify/v2/service/accessToken.d.ts +3 -0
- package/lib/rest/verify/v2/service/entity/challenge.d.ts +21 -12
- package/lib/rest/verify/v2/service/entity/challenge.js +1 -1
- package/lib/rest/verify/v2/service/entity/factor.d.ts +12 -6
- package/lib/rest/verify/v2/service/entity/newFactor.d.ts +16 -10
- package/lib/rest/verify/v2/service/verification.d.ts +11 -11
- package/lib/rest/verify/v2/service/verificationCheck.d.ts +3 -3
- package/lib/rest/verify/v2/service/webhook.d.ts +3 -0
- package/lib/rest/verify/v2/service.d.ts +9 -9
- package/lib/rest/verify/v2/template.d.ts +3 -3
- package/lib/rest/verify/v2/verificationAttempt.d.ts +13 -10
- package/lib/rest/verify/v2/verificationAttemptsSummary.d.ts +2 -2
- package/lib/rest/video/v1/composition.d.ts +3 -3
- package/lib/rest/video/v1/recording.d.ts +3 -3
- package/lib/rest/video/v1/room/transcriptions.d.ts +316 -0
- package/lib/rest/{proxy/v1/service/shortCode.js → video/v1/room/transcriptions.js} +61 -78
- package/lib/rest/video/v1/room.d.ts +8 -0
- package/lib/rest/video/v1/room.js +13 -0
- package/lib/rest/wireless/v1/sim/dataSession.d.ts +3 -3
- package/lib/rest/wireless/v1/sim/usageRecord.d.ts +9 -9
- package/lib/rest/wireless/v1/usageRecord.d.ts +9 -9
- package/lib/twiml/VoiceResponse.d.ts +32 -1
- package/lib/twiml/VoiceResponse.js +18 -0
- package/package.json +1 -1
- package/lib/rest/Knowledge.d.ts +0 -4
- package/lib/rest/Knowledge.js +0 -8
- package/lib/rest/KnowledgeBase.d.ts +0 -13
- package/lib/rest/KnowledgeBase.js +0 -31
- package/lib/rest/Microvisor.d.ts +0 -14
- package/lib/rest/Microvisor.js +0 -22
- package/lib/rest/MicrovisorBase.d.ts +0 -13
- package/lib/rest/MicrovisorBase.js +0 -31
- package/lib/rest/knowledge/V1.d.ts +0 -15
- package/lib/rest/knowledge/V1.js +0 -36
- package/lib/rest/knowledge/v1/knowledge/chunk.d.ts +0 -167
- package/lib/rest/knowledge/v1/knowledge/chunk.js +0 -131
- package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.d.ts +0 -101
- package/lib/rest/knowledge/v1/knowledge/knowledgeStatus.js +0 -118
- package/lib/rest/knowledge/v1/knowledge.d.ts +0 -406
- package/lib/rest/knowledge/v1/knowledge.js +0 -300
- package/lib/rest/microvisor/V1.d.ts +0 -30
- package/lib/rest/microvisor/V1.js +0 -56
- package/lib/rest/microvisor/v1/accountConfig.d.ts +0 -263
- package/lib/rest/microvisor/v1/accountConfig.js +0 -254
- package/lib/rest/microvisor/v1/accountSecret.d.ts +0 -257
- package/lib/rest/microvisor/v1/accountSecret.js +0 -252
- package/lib/rest/microvisor/v1/app/appManifest.d.ts +0 -101
- package/lib/rest/microvisor/v1/app/appManifest.js +0 -118
- package/lib/rest/microvisor/v1/app.d.ts +0 -251
- package/lib/rest/microvisor/v1/app.js +0 -222
- package/lib/rest/microvisor/v1/device/deviceConfig.d.ts +0 -271
- package/lib/rest/microvisor/v1/device/deviceConfig.js +0 -262
- package/lib/rest/microvisor/v1/device/deviceSecret.d.ts +0 -265
- package/lib/rest/microvisor/v1/device/deviceSecret.js +0 -260
- package/lib/rest/microvisor/v1/device.d.ts +0 -299
- package/lib/rest/microvisor/v1/device.js +0 -250
- package/lib/rest/proxy/v1/service/shortCode.d.ts +0 -316
|
@@ -243,13 +243,13 @@ interface ServiceResource {
|
|
|
243
243
|
reachability_enabled: boolean;
|
|
244
244
|
typing_indicator_timeout: number;
|
|
245
245
|
consumption_report_interval: number;
|
|
246
|
-
limits:
|
|
247
|
-
webhooks:
|
|
246
|
+
limits: any;
|
|
247
|
+
webhooks: any;
|
|
248
248
|
pre_webhook_url: string;
|
|
249
249
|
post_webhook_url: string;
|
|
250
250
|
webhook_method: string;
|
|
251
251
|
webhook_filters: Array<string>;
|
|
252
|
-
notifications:
|
|
252
|
+
notifications: any;
|
|
253
253
|
url: string;
|
|
254
254
|
links: Record<string, string>;
|
|
255
255
|
}
|
|
@@ -309,11 +309,11 @@ export declare class ServiceInstance {
|
|
|
309
309
|
/**
|
|
310
310
|
* An object that describes the limits of the service instance. The `limits` object contains `channel_members` to describe the members/channel limit and `user_channels` to describe the channels/user limit. `channel_members` can be 1,000 or less, with a default of 250. `user_channels` can be 1,000 or less, with a default value of 100.
|
|
311
311
|
*/
|
|
312
|
-
limits:
|
|
312
|
+
limits: any;
|
|
313
313
|
/**
|
|
314
314
|
* An object that contains information about the webhooks configured for this service.
|
|
315
315
|
*/
|
|
316
|
-
webhooks:
|
|
316
|
+
webhooks: any;
|
|
317
317
|
/**
|
|
318
318
|
* The URL for pre-event webhooks, which are called by using the `webhook_method`. See [Webhook Events](https://www.twilio.com/docs/api/chat/webhooks) for more details.
|
|
319
319
|
*/
|
|
@@ -333,7 +333,7 @@ export declare class ServiceInstance {
|
|
|
333
333
|
/**
|
|
334
334
|
* The notification configuration for the Service instance. See [Push Notification Configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more information.
|
|
335
335
|
*/
|
|
336
|
-
notifications:
|
|
336
|
+
notifications: any;
|
|
337
337
|
/**
|
|
338
338
|
* The absolute URL of the Service resource.
|
|
339
339
|
*/
|
|
@@ -406,13 +406,13 @@ export declare class ServiceInstance {
|
|
|
406
406
|
reachabilityEnabled: boolean;
|
|
407
407
|
typingIndicatorTimeout: number;
|
|
408
408
|
consumptionReportInterval: number;
|
|
409
|
-
limits:
|
|
410
|
-
webhooks:
|
|
409
|
+
limits: any;
|
|
410
|
+
webhooks: any;
|
|
411
411
|
preWebhookUrl: string;
|
|
412
412
|
postWebhookUrl: string;
|
|
413
413
|
webhookMethod: string;
|
|
414
414
|
webhookFilters: string[];
|
|
415
|
-
notifications:
|
|
415
|
+
notifications: any;
|
|
416
416
|
url: string;
|
|
417
417
|
links: Record<string, string>;
|
|
418
418
|
};
|
|
@@ -3,6 +3,9 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import V2 from "../V2";
|
|
6
|
+
/**
|
|
7
|
+
* The type of push-notification service the credential is for. Can be: `gcm`, `fcm`, or `apn`.
|
|
8
|
+
*/
|
|
6
9
|
export type CredentialPushService = "gcm" | "apn" | "fcm";
|
|
7
10
|
/**
|
|
8
11
|
* Options to pass to update a CredentialInstance
|
|
@@ -179,7 +179,7 @@ interface MessageResource {
|
|
|
179
179
|
body: string;
|
|
180
180
|
index: number;
|
|
181
181
|
type: string;
|
|
182
|
-
media:
|
|
182
|
+
media: any;
|
|
183
183
|
url: string;
|
|
184
184
|
}
|
|
185
185
|
export declare class MessageInstance {
|
|
@@ -246,7 +246,7 @@ export declare class MessageInstance {
|
|
|
246
246
|
/**
|
|
247
247
|
* An object that describes the Message\'s media, if the message contains media. The 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`.
|
|
248
248
|
*/
|
|
249
|
-
media:
|
|
249
|
+
media: any;
|
|
250
250
|
/**
|
|
251
251
|
* The absolute URL of the Message resource.
|
|
252
252
|
*/
|
|
@@ -314,7 +314,7 @@ export declare class MessageInstance {
|
|
|
314
314
|
body: string;
|
|
315
315
|
index: number;
|
|
316
316
|
type: string;
|
|
317
|
-
media:
|
|
317
|
+
media: any;
|
|
318
318
|
url: string;
|
|
319
319
|
};
|
|
320
320
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
@@ -148,7 +148,7 @@ interface WebhookResource {
|
|
|
148
148
|
channel_sid: string;
|
|
149
149
|
type: string;
|
|
150
150
|
url: string;
|
|
151
|
-
configuration:
|
|
151
|
+
configuration: any;
|
|
152
152
|
date_created: Date;
|
|
153
153
|
date_updated: Date;
|
|
154
154
|
}
|
|
@@ -184,7 +184,7 @@ export declare class WebhookInstance {
|
|
|
184
184
|
/**
|
|
185
185
|
* The JSON string that describes how the channel webhook is configured. The configuration object contains the `url`, `method`, `filters`, and `retry_count` values that are configured by the create and update actions.
|
|
186
186
|
*/
|
|
187
|
-
configuration:
|
|
187
|
+
configuration: any;
|
|
188
188
|
/**
|
|
189
189
|
* The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
190
190
|
*/
|
|
@@ -239,7 +239,7 @@ export declare class WebhookInstance {
|
|
|
239
239
|
channelSid: string;
|
|
240
240
|
type: string;
|
|
241
241
|
url: string;
|
|
242
|
-
configuration:
|
|
242
|
+
configuration: any;
|
|
243
243
|
dateCreated: Date;
|
|
244
244
|
dateUpdated: Date;
|
|
245
245
|
};
|
|
@@ -7,6 +7,9 @@ import { InviteListInstance } from "./channel/invite";
|
|
|
7
7
|
import { MemberListInstance } from "./channel/member";
|
|
8
8
|
import { MessageListInstance } from "./channel/message";
|
|
9
9
|
import { WebhookListInstance } from "./channel/webhook";
|
|
10
|
+
/**
|
|
11
|
+
* The visibility of the channel. Can be: `public` or `private`.
|
|
12
|
+
*/
|
|
10
13
|
export type ChannelChannelType = "public" | "private";
|
|
11
14
|
export type ChannelWebhookEnabledType = "true" | "false";
|
|
12
15
|
/**
|
|
@@ -3,6 +3,9 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import V2 from "../../V2";
|
|
6
|
+
/**
|
|
7
|
+
* The type of role. Can be: `channel` for [Channel](https://www.twilio.com/docs/chat/channels) roles or `deployment` for [Service](https://www.twilio.com/docs/chat/rest/service-resource) roles.
|
|
8
|
+
*/
|
|
6
9
|
export type RoleRoleType = "channel" | "deployment";
|
|
7
10
|
/**
|
|
8
11
|
* Options to pass to update a RoleInstance
|
|
@@ -3,6 +3,9 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V2 from "../../../V2";
|
|
6
|
+
/**
|
|
7
|
+
* The status of the User on the Channel. Can be: `joined`, `invited`, or `not_participating`.
|
|
8
|
+
*/
|
|
6
9
|
export type UserChannelChannelStatus = "joined" | "invited" | "not_participating";
|
|
7
10
|
/**
|
|
8
11
|
* The push notification level of the User for the Channel. Can be: `default` or `muted`.
|
|
@@ -201,15 +201,15 @@ interface ServiceResource {
|
|
|
201
201
|
reachability_enabled: boolean;
|
|
202
202
|
typing_indicator_timeout: number;
|
|
203
203
|
consumption_report_interval: number;
|
|
204
|
-
limits:
|
|
204
|
+
limits: any;
|
|
205
205
|
pre_webhook_url: string;
|
|
206
206
|
post_webhook_url: string;
|
|
207
207
|
webhook_method: string;
|
|
208
208
|
webhook_filters: Array<string>;
|
|
209
209
|
pre_webhook_retry_count: number;
|
|
210
210
|
post_webhook_retry_count: number;
|
|
211
|
-
notifications:
|
|
212
|
-
media:
|
|
211
|
+
notifications: any;
|
|
212
|
+
media: any;
|
|
213
213
|
url: string;
|
|
214
214
|
links: Record<string, string>;
|
|
215
215
|
}
|
|
@@ -269,7 +269,7 @@ export declare class ServiceInstance {
|
|
|
269
269
|
/**
|
|
270
270
|
* An object that describes the limits of the service instance. The `limits` object contains `channel_members` to describe the members/channel limit and `user_channels` to describe the channels/user limit. `channel_members` can be 1,000 or less, with a default of 250. `user_channels` can be 1,000 or less, with a default value of 100.
|
|
271
271
|
*/
|
|
272
|
-
limits:
|
|
272
|
+
limits: any;
|
|
273
273
|
/**
|
|
274
274
|
* The URL for pre-event webhooks, which are called by using the `webhook_method`. See [Webhook Events](https://www.twilio.com/docs/chat/webhook-events) for more details.
|
|
275
275
|
*/
|
|
@@ -297,11 +297,11 @@ export declare class ServiceInstance {
|
|
|
297
297
|
/**
|
|
298
298
|
* The notification configuration for the Service instance. See [Push Notification Configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info.
|
|
299
299
|
*/
|
|
300
|
-
notifications:
|
|
300
|
+
notifications: any;
|
|
301
301
|
/**
|
|
302
302
|
* An object that describes the properties of media that the service supports. The object contains the `size_limit_mb` property, which describes the size of the largest media file in MB; and the `compatibility_message` property, which contains the message text to send when a media message does not have any text.
|
|
303
303
|
*/
|
|
304
|
-
media:
|
|
304
|
+
media: any;
|
|
305
305
|
/**
|
|
306
306
|
* The absolute URL of the Service resource.
|
|
307
307
|
*/
|
|
@@ -378,15 +378,15 @@ export declare class ServiceInstance {
|
|
|
378
378
|
reachabilityEnabled: boolean;
|
|
379
379
|
typingIndicatorTimeout: number;
|
|
380
380
|
consumptionReportInterval: number;
|
|
381
|
-
limits:
|
|
381
|
+
limits: any;
|
|
382
382
|
preWebhookUrl: string;
|
|
383
383
|
postWebhookUrl: string;
|
|
384
384
|
webhookMethod: string;
|
|
385
385
|
webhookFilters: string[];
|
|
386
386
|
preWebhookRetryCount: number;
|
|
387
387
|
postWebhookRetryCount: number;
|
|
388
|
-
notifications:
|
|
389
|
-
media:
|
|
388
|
+
notifications: any;
|
|
389
|
+
media: any;
|
|
390
390
|
url: string;
|
|
391
391
|
links: Record<string, string>;
|
|
392
392
|
};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { inspect, InspectOptions } from "util";
|
|
3
3
|
import V3 from "../V3";
|
|
4
|
+
/**
|
|
5
|
+
* The visibility of the channel. Can be: `public` or `private`.
|
|
6
|
+
*/
|
|
4
7
|
export type ChannelChannelType = "public" | "private";
|
|
5
8
|
export type ChannelWebhookEnabledType = "true" | "false";
|
|
6
9
|
/**
|
|
@@ -163,8 +163,8 @@ interface ContentResource {
|
|
|
163
163
|
account_sid: string;
|
|
164
164
|
friendly_name: string;
|
|
165
165
|
language: string;
|
|
166
|
-
variables:
|
|
167
|
-
types:
|
|
166
|
+
variables: Record<string, object>;
|
|
167
|
+
types: Record<string, object>;
|
|
168
168
|
url: string;
|
|
169
169
|
links: Record<string, string>;
|
|
170
170
|
}
|
|
@@ -198,11 +198,11 @@ export declare class ContentInstance {
|
|
|
198
198
|
/**
|
|
199
199
|
* Defines the default placeholder values for variables included in the Content resource. e.g. {\"1\": \"Customer_Name\"}.
|
|
200
200
|
*/
|
|
201
|
-
variables:
|
|
201
|
+
variables: Record<string, object>;
|
|
202
202
|
/**
|
|
203
203
|
* The [Content types](https://www.twilio.com/docs/content/content-types-overview) (e.g. twilio/text) for this Content resource.
|
|
204
204
|
*/
|
|
205
|
-
types:
|
|
205
|
+
types: Record<string, object>;
|
|
206
206
|
/**
|
|
207
207
|
* The URL of the resource, relative to `https://content.twilio.com`.
|
|
208
208
|
*/
|
|
@@ -223,8 +223,8 @@ export declare class ContentInstance {
|
|
|
223
223
|
accountSid: string;
|
|
224
224
|
friendlyName: string;
|
|
225
225
|
language: string;
|
|
226
|
-
variables:
|
|
227
|
-
types:
|
|
226
|
+
variables: Record<string, object>;
|
|
227
|
+
types: Record<string, object>;
|
|
228
228
|
url: string;
|
|
229
229
|
links: Record<string, string>;
|
|
230
230
|
};
|
|
@@ -163,9 +163,9 @@ interface ContentAndApprovalsResource {
|
|
|
163
163
|
account_sid: string;
|
|
164
164
|
friendly_name: string;
|
|
165
165
|
language: string;
|
|
166
|
-
variables:
|
|
167
|
-
types:
|
|
168
|
-
approval_requests:
|
|
166
|
+
variables: Record<string, object>;
|
|
167
|
+
types: Record<string, object>;
|
|
168
|
+
approval_requests: Record<string, object>;
|
|
169
169
|
}
|
|
170
170
|
export declare class ContentAndApprovalsInstance {
|
|
171
171
|
protected _version: V2;
|
|
@@ -197,15 +197,15 @@ export declare class ContentAndApprovalsInstance {
|
|
|
197
197
|
/**
|
|
198
198
|
* Defines the default placeholder values for variables included in the Content resource. e.g. {\"1\": \"Customer_Name\"}.
|
|
199
199
|
*/
|
|
200
|
-
variables:
|
|
200
|
+
variables: Record<string, object>;
|
|
201
201
|
/**
|
|
202
202
|
* The [Content types](https://www.twilio.com/docs/content/content-types-overview) (e.g. twilio/text) for this Content resource.
|
|
203
203
|
*/
|
|
204
|
-
types:
|
|
204
|
+
types: Record<string, object>;
|
|
205
205
|
/**
|
|
206
206
|
* The submitted information and approval request status of the Content resource.
|
|
207
207
|
*/
|
|
208
|
-
approvalRequests:
|
|
208
|
+
approvalRequests: Record<string, object>;
|
|
209
209
|
/**
|
|
210
210
|
* Provide a user-friendly representation
|
|
211
211
|
*
|
|
@@ -218,9 +218,9 @@ export declare class ContentAndApprovalsInstance {
|
|
|
218
218
|
accountSid: string;
|
|
219
219
|
friendlyName: string;
|
|
220
220
|
language: string;
|
|
221
|
-
variables:
|
|
222
|
-
types:
|
|
223
|
-
approvalRequests:
|
|
221
|
+
variables: Record<string, object>;
|
|
222
|
+
types: Record<string, object>;
|
|
223
|
+
approvalRequests: Record<string, object>;
|
|
224
224
|
};
|
|
225
225
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
226
226
|
}
|
|
@@ -4,7 +4,7 @@ import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import V1 from "../V1";
|
|
6
6
|
export type AddressConfigurationAutoCreationType = "webhook" | "studio" | "default";
|
|
7
|
-
export type AddressConfigurationMethod = "
|
|
7
|
+
export type AddressConfigurationMethod = "get" | "post";
|
|
8
8
|
/**
|
|
9
9
|
* Type of Address, value can be `whatsapp` or `sms`.
|
|
10
10
|
*/
|
|
@@ -67,7 +67,7 @@ export interface AddressConfigurationListInstanceCreateOptions {
|
|
|
67
67
|
export interface AddressConfigurationListInstanceEachOptions {
|
|
68
68
|
/** Filter the address configurations by its type. This value can be one of: `whatsapp`, `sms`. */
|
|
69
69
|
type?: string;
|
|
70
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
70
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 50. */
|
|
71
71
|
pageSize?: number;
|
|
72
72
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
73
73
|
callback?: (item: AddressConfigurationInstance, done: (err?: Error) => void) => void;
|
|
@@ -82,7 +82,7 @@ export interface AddressConfigurationListInstanceEachOptions {
|
|
|
82
82
|
export interface AddressConfigurationListInstanceOptions {
|
|
83
83
|
/** Filter the address configurations by its type. This value can be one of: `whatsapp`, `sms`. */
|
|
84
84
|
type?: string;
|
|
85
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
85
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 50. */
|
|
86
86
|
pageSize?: number;
|
|
87
87
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
88
88
|
limit?: number;
|
|
@@ -93,7 +93,7 @@ export interface AddressConfigurationListInstanceOptions {
|
|
|
93
93
|
export interface AddressConfigurationListInstancePageOptions {
|
|
94
94
|
/** Filter the address configurations by its type. This value can be one of: `whatsapp`, `sms`. */
|
|
95
95
|
type?: string;
|
|
96
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
96
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 50. */
|
|
97
97
|
pageSize?: number;
|
|
98
98
|
/** Page Number, this value is simply for client state */
|
|
99
99
|
pageNumber?: number;
|
|
@@ -168,7 +168,7 @@ interface AddressConfigurationResource {
|
|
|
168
168
|
type: string;
|
|
169
169
|
address: string;
|
|
170
170
|
friendly_name: string;
|
|
171
|
-
auto_creation:
|
|
171
|
+
auto_creation: any;
|
|
172
172
|
date_created: Date;
|
|
173
173
|
date_updated: Date;
|
|
174
174
|
url: string;
|
|
@@ -202,7 +202,7 @@ export declare class AddressConfigurationInstance {
|
|
|
202
202
|
/**
|
|
203
203
|
* Auto Creation configuration for the address.
|
|
204
204
|
*/
|
|
205
|
-
autoCreation:
|
|
205
|
+
autoCreation: any;
|
|
206
206
|
/**
|
|
207
207
|
* The date that this resource was created.
|
|
208
208
|
*/
|
|
@@ -264,7 +264,7 @@ export declare class AddressConfigurationInstance {
|
|
|
264
264
|
type: string;
|
|
265
265
|
address: string;
|
|
266
266
|
friendlyName: string;
|
|
267
|
-
autoCreation:
|
|
267
|
+
autoCreation: any;
|
|
268
268
|
dateCreated: Date;
|
|
269
269
|
dateUpdated: Date;
|
|
270
270
|
url: string;
|
|
@@ -3,12 +3,15 @@ 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 message delivery status, can be `read`, `failed`, `delivered`, `undelivered`, `sent` or null.
|
|
8
|
+
*/
|
|
6
9
|
export type DeliveryReceiptDeliveryStatus = "read" | "failed" | "delivered" | "undelivered" | "sent";
|
|
7
10
|
/**
|
|
8
11
|
* Options to pass to each
|
|
9
12
|
*/
|
|
10
13
|
export interface DeliveryReceiptListInstanceEachOptions {
|
|
11
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
14
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 50. */
|
|
12
15
|
pageSize?: number;
|
|
13
16
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
14
17
|
callback?: (item: DeliveryReceiptInstance, done: (err?: Error) => void) => void;
|
|
@@ -21,7 +24,7 @@ export interface DeliveryReceiptListInstanceEachOptions {
|
|
|
21
24
|
* Options to pass to list
|
|
22
25
|
*/
|
|
23
26
|
export interface DeliveryReceiptListInstanceOptions {
|
|
24
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
27
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 50. */
|
|
25
28
|
pageSize?: number;
|
|
26
29
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
27
30
|
limit?: number;
|
|
@@ -30,7 +33,7 @@ export interface DeliveryReceiptListInstanceOptions {
|
|
|
30
33
|
* Options to pass to page
|
|
31
34
|
*/
|
|
32
35
|
export interface DeliveryReceiptListInstancePageOptions {
|
|
33
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
36
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 50. */
|
|
34
37
|
pageSize?: number;
|
|
35
38
|
/** Page Number, this value is simply for client state */
|
|
36
39
|
pageNumber?: number;
|
|
@@ -63,7 +63,7 @@ export interface MessageListInstanceCreateOptions {
|
|
|
63
63
|
export interface MessageListInstanceEachOptions {
|
|
64
64
|
/** The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending), with `asc` as the default. */
|
|
65
65
|
order?: MessageOrderType;
|
|
66
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
66
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
67
67
|
pageSize?: number;
|
|
68
68
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
69
69
|
callback?: (item: MessageInstance, done: (err?: Error) => void) => void;
|
|
@@ -78,7 +78,7 @@ export interface MessageListInstanceEachOptions {
|
|
|
78
78
|
export interface MessageListInstanceOptions {
|
|
79
79
|
/** The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending), with `asc` as the default. */
|
|
80
80
|
order?: MessageOrderType;
|
|
81
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
81
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
82
82
|
pageSize?: number;
|
|
83
83
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
84
84
|
limit?: number;
|
|
@@ -89,7 +89,7 @@ export interface MessageListInstanceOptions {
|
|
|
89
89
|
export interface MessageListInstancePageOptions {
|
|
90
90
|
/** The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending), with `asc` as the default. */
|
|
91
91
|
order?: MessageOrderType;
|
|
92
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
92
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
93
93
|
pageSize?: number;
|
|
94
94
|
/** Page Number, this value is simply for client state */
|
|
95
95
|
pageNumber?: number;
|
|
@@ -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
|
};
|
|
@@ -63,7 +63,7 @@ export interface ParticipantListInstanceCreateOptions {
|
|
|
63
63
|
* Options to pass to each
|
|
64
64
|
*/
|
|
65
65
|
export interface ParticipantListInstanceEachOptions {
|
|
66
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
66
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
67
67
|
pageSize?: number;
|
|
68
68
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
69
69
|
callback?: (item: ParticipantInstance, done: (err?: Error) => void) => void;
|
|
@@ -76,7 +76,7 @@ export interface ParticipantListInstanceEachOptions {
|
|
|
76
76
|
* Options to pass to list
|
|
77
77
|
*/
|
|
78
78
|
export interface ParticipantListInstanceOptions {
|
|
79
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
79
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
80
80
|
pageSize?: number;
|
|
81
81
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
82
82
|
limit?: number;
|
|
@@ -85,7 +85,7 @@ export interface ParticipantListInstanceOptions {
|
|
|
85
85
|
* Options to pass to page
|
|
86
86
|
*/
|
|
87
87
|
export interface ParticipantListInstancePageOptions {
|
|
88
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
88
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 100. */
|
|
89
89
|
pageSize?: number;
|
|
90
90
|
/** Page Number, this value is simply for client state */
|
|
91
91
|
pageNumber?: number;
|
|
@@ -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
|
*/
|
|
@@ -46,7 +46,7 @@ export interface WebhookListInstanceCreateOptions {
|
|
|
46
46
|
* Options to pass to each
|
|
47
47
|
*/
|
|
48
48
|
export interface WebhookListInstanceEachOptions {
|
|
49
|
-
/** How many resources to return in each list page. The default is
|
|
49
|
+
/** How many resources to return in each list page. The default is 5, and the maximum is 5. */
|
|
50
50
|
pageSize?: number;
|
|
51
51
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
52
52
|
callback?: (item: WebhookInstance, done: (err?: Error) => void) => void;
|
|
@@ -59,7 +59,7 @@ export interface WebhookListInstanceEachOptions {
|
|
|
59
59
|
* Options to pass to list
|
|
60
60
|
*/
|
|
61
61
|
export interface WebhookListInstanceOptions {
|
|
62
|
-
/** How many resources to return in each list page. The default is
|
|
62
|
+
/** How many resources to return in each list page. The default is 5, and the maximum is 5. */
|
|
63
63
|
pageSize?: number;
|
|
64
64
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
65
65
|
limit?: number;
|
|
@@ -68,7 +68,7 @@ export interface WebhookListInstanceOptions {
|
|
|
68
68
|
* Options to pass to page
|
|
69
69
|
*/
|
|
70
70
|
export interface WebhookListInstancePageOptions {
|
|
71
|
-
/** How many resources to return in each list page. The default is
|
|
71
|
+
/** How many resources to return in each list page. The default is 5, and the maximum is 5. */
|
|
72
72
|
pageSize?: number;
|
|
73
73
|
/** Page Number, this value is simply for client state */
|
|
74
74
|
pageNumber?: number;
|
|
@@ -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
|
};
|