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
package/lib/rest/Twilio.d.ts
CHANGED
|
@@ -14,11 +14,9 @@ import Iam from "./Iam";
|
|
|
14
14
|
import Insights from "./Insights";
|
|
15
15
|
import Intelligence from "./Intelligence";
|
|
16
16
|
import IpMessaging from "./IpMessaging";
|
|
17
|
-
import Knowledge from "./Knowledge";
|
|
18
17
|
import Lookups from "./Lookups";
|
|
19
18
|
import Marketplace from "./Marketplace";
|
|
20
19
|
import Messaging from "./Messaging";
|
|
21
|
-
import Microvisor from "./Microvisor";
|
|
22
20
|
import Monitor from "./Monitor";
|
|
23
21
|
import Notify from "./Notify";
|
|
24
22
|
import Numbers from "./Numbers";
|
|
@@ -96,16 +94,12 @@ declare class Twilio extends Client {
|
|
|
96
94
|
_intelligence?: Intelligence;
|
|
97
95
|
/** (Twilio.IpMessaging) - ipMessaging domain */
|
|
98
96
|
_ipMessaging?: IpMessaging;
|
|
99
|
-
/** (Twilio.Knowledge) - knowledge domain */
|
|
100
|
-
_knowledge?: Knowledge;
|
|
101
97
|
/** (Twilio.Lookups) - lookups domain */
|
|
102
98
|
_lookups?: Lookups;
|
|
103
99
|
/** (Twilio.Marketplace) - marketplace domain */
|
|
104
100
|
_marketplace?: Marketplace;
|
|
105
101
|
/** (Twilio.Messaging) - messaging domain */
|
|
106
102
|
_messaging?: Messaging;
|
|
107
|
-
/** (Twilio.Microvisor) - microvisor domain */
|
|
108
|
-
_microvisor?: Microvisor;
|
|
109
103
|
/** (Twilio.Monitor) - monitor domain */
|
|
110
104
|
_monitor?: Monitor;
|
|
111
105
|
/** (Twilio.Notify) - notify domain */
|
|
@@ -186,16 +180,12 @@ declare class Twilio extends Client {
|
|
|
186
180
|
get intelligence(): Intelligence;
|
|
187
181
|
/** Getter for (Twilio.IpMessaging) domain */
|
|
188
182
|
get ipMessaging(): IpMessaging;
|
|
189
|
-
/** Getter for (Twilio.Knowledge) domain */
|
|
190
|
-
get knowledge(): Knowledge;
|
|
191
183
|
/** Getter for (Twilio.Lookups) domain */
|
|
192
184
|
get lookups(): Lookups;
|
|
193
185
|
/** Getter for (Twilio.Marketplace) domain */
|
|
194
186
|
get marketplace(): Marketplace;
|
|
195
187
|
/** Getter for (Twilio.Messaging) domain */
|
|
196
188
|
get messaging(): Messaging;
|
|
197
|
-
/** Getter for (Twilio.Microvisor) domain */
|
|
198
|
-
get microvisor(): Microvisor;
|
|
199
189
|
/** Getter for (Twilio.Monitor) domain */
|
|
200
190
|
get monitor(): Monitor;
|
|
201
191
|
/** Getter for (Twilio.Notify) domain */
|
package/lib/rest/Twilio.js
CHANGED
|
@@ -47,11 +47,9 @@ class Twilio extends BaseTwilio_1.Client {
|
|
|
47
47
|
this.insights;
|
|
48
48
|
this.intelligence;
|
|
49
49
|
this.ipMessaging;
|
|
50
|
-
this.knowledge;
|
|
51
50
|
this.lookups;
|
|
52
51
|
this.marketplace;
|
|
53
52
|
this.messaging;
|
|
54
|
-
this.microvisor;
|
|
55
53
|
this.monitor;
|
|
56
54
|
this.notify;
|
|
57
55
|
this.numbers;
|
|
@@ -141,10 +139,6 @@ class Twilio extends BaseTwilio_1.Client {
|
|
|
141
139
|
return (this._ipMessaging ??
|
|
142
140
|
(this._ipMessaging = new (require("./IpMessaging"))(this)));
|
|
143
141
|
}
|
|
144
|
-
/** Getter for (Twilio.Knowledge) domain */
|
|
145
|
-
get knowledge() {
|
|
146
|
-
return (this._knowledge ?? (this._knowledge = new (require("./Knowledge"))(this)));
|
|
147
|
-
}
|
|
148
142
|
/** Getter for (Twilio.Lookups) domain */
|
|
149
143
|
get lookups() {
|
|
150
144
|
return this._lookups ?? (this._lookups = new (require("./Lookups"))(this));
|
|
@@ -158,11 +152,6 @@ class Twilio extends BaseTwilio_1.Client {
|
|
|
158
152
|
get messaging() {
|
|
159
153
|
return (this._messaging ?? (this._messaging = new (require("./Messaging"))(this)));
|
|
160
154
|
}
|
|
161
|
-
/** Getter for (Twilio.Microvisor) domain */
|
|
162
|
-
get microvisor() {
|
|
163
|
-
return (this._microvisor ??
|
|
164
|
-
(this._microvisor = new (require("./Microvisor"))(this)));
|
|
165
|
-
}
|
|
166
155
|
/** Getter for (Twilio.Monitor) domain */
|
|
167
156
|
get monitor() {
|
|
168
157
|
return this._monitor ?? (this._monitor = new (require("./Monitor"))(this));
|
|
@@ -6,7 +6,7 @@ import V1 from "../V1";
|
|
|
6
6
|
*/
|
|
7
7
|
export interface BulkConsentsListInstanceCreateOptions {
|
|
8
8
|
/** This is a list of objects that describes a contact\\\'s opt-in status. Each object contains the following fields: `contact_id`, which must be a string representing phone number in [E.164 format](https://www.twilio.com/docs/glossary/what-e164); `correlation_id`, a unique 32-character UUID used to uniquely map the request item with the response item; `sender_id`, which can be either a valid messaging service SID or a from phone number; `status`, a string representing the consent status. Can be one of [`opt-in`, `opt-out`]; `source`, a string indicating the medium through which the consent was collected. Can be one of [`website`, `offline`, `opt-in-message`, `opt-out-message`, `others`]; `date_of_consent`, an optional datetime string field in ISO-8601 format that captures the exact date and time when the user gave or revoked consent. If not provided, it will be empty. */
|
|
9
|
-
items: Array<
|
|
9
|
+
items: Array<any>;
|
|
10
10
|
}
|
|
11
11
|
export interface BulkConsentsSolution {
|
|
12
12
|
}
|
|
@@ -31,7 +31,7 @@ export interface BulkConsentsListInstance {
|
|
|
31
31
|
}
|
|
32
32
|
export declare function BulkConsentsListInstance(version: V1): BulkConsentsListInstance;
|
|
33
33
|
interface BulkConsentsResource {
|
|
34
|
-
items:
|
|
34
|
+
items: any;
|
|
35
35
|
}
|
|
36
36
|
export declare class BulkConsentsInstance {
|
|
37
37
|
protected _version: V1;
|
|
@@ -39,14 +39,14 @@ export declare class BulkConsentsInstance {
|
|
|
39
39
|
/**
|
|
40
40
|
* A list of objects where each object represents the result of processing a `correlation_id`. Each object contains the following fields: `correlation_id`, a unique 32-character UUID that maps the response to the original request; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty.
|
|
41
41
|
*/
|
|
42
|
-
items:
|
|
42
|
+
items: any;
|
|
43
43
|
/**
|
|
44
44
|
* Provide a user-friendly representation
|
|
45
45
|
*
|
|
46
46
|
* @returns Object
|
|
47
47
|
*/
|
|
48
48
|
toJSON(): {
|
|
49
|
-
items:
|
|
49
|
+
items: any;
|
|
50
50
|
};
|
|
51
51
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
52
52
|
}
|
|
@@ -30,7 +30,7 @@ function BulkConsentsListInstance(version) {
|
|
|
30
30
|
throw new Error("Required parameter \"params['items']\" missing.");
|
|
31
31
|
}
|
|
32
32
|
let data = {};
|
|
33
|
-
data["Items"] = serialize.map(params["items"], (e) => e);
|
|
33
|
+
data["Items"] = serialize.map(params["items"], (e) => serialize.object(e));
|
|
34
34
|
const headers = {};
|
|
35
35
|
headers["Content-Type"] = "application/x-www-form-urlencoded";
|
|
36
36
|
headers["Accept"] = "application/json";
|
|
@@ -6,7 +6,7 @@ import V1 from "../V1";
|
|
|
6
6
|
*/
|
|
7
7
|
export interface BulkContactsListInstanceCreateOptions {
|
|
8
8
|
/** A list of objects where each object represents a contact\\\'s details. Each object includes the following fields: `contact_id`, which must be a string representing phone number in [E.164 format](https://www.twilio.com/docs/glossary/what-e164); `correlation_id`, a unique 32-character UUID that maps the response to the original request; `country_iso_code`, a string representing the country using the ISO format (e.g., US for the United States); and `zip_code`, a string representing the postal code. */
|
|
9
|
-
items: Array<
|
|
9
|
+
items: Array<any>;
|
|
10
10
|
}
|
|
11
11
|
export interface BulkContactsSolution {
|
|
12
12
|
}
|
|
@@ -31,7 +31,7 @@ export interface BulkContactsListInstance {
|
|
|
31
31
|
}
|
|
32
32
|
export declare function BulkContactsListInstance(version: V1): BulkContactsListInstance;
|
|
33
33
|
interface BulkContactsResource {
|
|
34
|
-
items:
|
|
34
|
+
items: any;
|
|
35
35
|
}
|
|
36
36
|
export declare class BulkContactsInstance {
|
|
37
37
|
protected _version: V1;
|
|
@@ -39,14 +39,14 @@ export declare class BulkContactsInstance {
|
|
|
39
39
|
/**
|
|
40
40
|
* A list of objects where each object represents the result of processing a `correlation_id`. Each object contains the following fields: `correlation_id`, a unique 32-character UUID that maps the response to the original request; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty.
|
|
41
41
|
*/
|
|
42
|
-
items:
|
|
42
|
+
items: any;
|
|
43
43
|
/**
|
|
44
44
|
* Provide a user-friendly representation
|
|
45
45
|
*
|
|
46
46
|
* @returns Object
|
|
47
47
|
*/
|
|
48
48
|
toJSON(): {
|
|
49
|
-
items:
|
|
49
|
+
items: any;
|
|
50
50
|
};
|
|
51
51
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
52
52
|
}
|
|
@@ -30,7 +30,7 @@ function BulkContactsListInstance(version) {
|
|
|
30
30
|
throw new Error("Required parameter \"params['items']\" missing.");
|
|
31
31
|
}
|
|
32
32
|
let data = {};
|
|
33
|
-
data["Items"] = serialize.map(params["items"], (e) => e);
|
|
33
|
+
data["Items"] = serialize.map(params["items"], (e) => serialize.object(e));
|
|
34
34
|
const headers = {};
|
|
35
35
|
headers["Content-Type"] = "application/x-www-form-urlencoded";
|
|
36
36
|
headers["Accept"] = "application/json";
|
|
@@ -3,7 +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 V2010 from "../../../V2010";
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Whether the phone number requires an [Address](https://www.twilio.com/docs/usage/api/address) registered with Twilio. Can be: `none`, `any`, `local`, or `foreign`.
|
|
8
|
+
*/
|
|
7
9
|
export type DependentPhoneNumberAddressRequirement = "none" | "any" | "local" | "foreign";
|
|
8
10
|
/**
|
|
9
11
|
* Whether the phone number is enabled for emergency calling.
|
|
@@ -120,14 +122,14 @@ interface DependentPhoneNumberResource {
|
|
|
120
122
|
voice_fallback_method: string;
|
|
121
123
|
voice_fallback_url: string;
|
|
122
124
|
voice_caller_id_lookup: boolean;
|
|
123
|
-
date_created:
|
|
124
|
-
date_updated:
|
|
125
|
+
date_created: Date;
|
|
126
|
+
date_updated: Date;
|
|
125
127
|
sms_fallback_method: string;
|
|
126
128
|
sms_fallback_url: string;
|
|
127
129
|
sms_method: string;
|
|
128
130
|
sms_url: string;
|
|
129
131
|
address_requirements: DependentPhoneNumberAddressRequirement;
|
|
130
|
-
capabilities:
|
|
132
|
+
capabilities: any;
|
|
131
133
|
status_callback: string;
|
|
132
134
|
status_callback_method: string;
|
|
133
135
|
api_version: string;
|
|
@@ -180,11 +182,11 @@ export declare class DependentPhoneNumberInstance {
|
|
|
180
182
|
/**
|
|
181
183
|
* The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
|
|
182
184
|
*/
|
|
183
|
-
dateCreated:
|
|
185
|
+
dateCreated: Date;
|
|
184
186
|
/**
|
|
185
187
|
* The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
|
|
186
188
|
*/
|
|
187
|
-
dateUpdated:
|
|
189
|
+
dateUpdated: Date;
|
|
188
190
|
/**
|
|
189
191
|
* The HTTP method we use to call `sms_fallback_url`. Can be: `GET` or `POST`.
|
|
190
192
|
*/
|
|
@@ -202,7 +204,10 @@ export declare class DependentPhoneNumberInstance {
|
|
|
202
204
|
*/
|
|
203
205
|
smsUrl: string;
|
|
204
206
|
addressRequirements: DependentPhoneNumberAddressRequirement;
|
|
205
|
-
|
|
207
|
+
/**
|
|
208
|
+
* The set of Boolean properties that indicates whether a phone number can receive calls or messages. Capabilities are `Voice`, `SMS`, and `MMS` and each capability can be: `true` or `false`.
|
|
209
|
+
*/
|
|
210
|
+
capabilities: any;
|
|
206
211
|
/**
|
|
207
212
|
* The URL we call using the `status_callback_method` to send status information to your application.
|
|
208
213
|
*/
|
|
@@ -251,14 +256,14 @@ export declare class DependentPhoneNumberInstance {
|
|
|
251
256
|
voiceFallbackMethod: string;
|
|
252
257
|
voiceFallbackUrl: string;
|
|
253
258
|
voiceCallerIdLookup: boolean;
|
|
254
|
-
dateCreated:
|
|
255
|
-
dateUpdated:
|
|
259
|
+
dateCreated: Date;
|
|
260
|
+
dateUpdated: Date;
|
|
256
261
|
smsFallbackMethod: string;
|
|
257
262
|
smsFallbackUrl: string;
|
|
258
263
|
smsMethod: string;
|
|
259
264
|
smsUrl: string;
|
|
260
265
|
addressRequirements: DependentPhoneNumberAddressRequirement;
|
|
261
|
-
capabilities:
|
|
266
|
+
capabilities: any;
|
|
262
267
|
statusCallback: string;
|
|
263
268
|
statusCallbackMethod: string;
|
|
264
269
|
apiVersion: string;
|
|
@@ -92,8 +92,8 @@ class DependentPhoneNumberInstance {
|
|
|
92
92
|
this.voiceFallbackMethod = payload.voice_fallback_method;
|
|
93
93
|
this.voiceFallbackUrl = payload.voice_fallback_url;
|
|
94
94
|
this.voiceCallerIdLookup = payload.voice_caller_id_lookup;
|
|
95
|
-
this.dateCreated = payload.date_created;
|
|
96
|
-
this.dateUpdated = payload.date_updated;
|
|
95
|
+
this.dateCreated = deserialize.rfc2822DateTime(payload.date_created);
|
|
96
|
+
this.dateUpdated = deserialize.rfc2822DateTime(payload.date_updated);
|
|
97
97
|
this.smsFallbackMethod = payload.sms_fallback_method;
|
|
98
98
|
this.smsFallbackUrl = payload.sms_fallback_url;
|
|
99
99
|
this.smsMethod = payload.sms_method;
|
|
@@ -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 V2010 from "../../V2010";
|
|
6
|
+
/**
|
|
7
|
+
* The set of permissions that you authorized for the Connect App. Can be: `get-all` or `post-all`.
|
|
8
|
+
*/
|
|
6
9
|
export type AuthorizedConnectAppPermission = "get-all" | "post-all";
|
|
7
10
|
/**
|
|
8
11
|
* Options to pass to each
|
|
@@ -105,8 +105,8 @@ interface EventPayload extends TwilioResponsePayload {
|
|
|
105
105
|
events: EventResource[];
|
|
106
106
|
}
|
|
107
107
|
interface EventResource {
|
|
108
|
-
request:
|
|
109
|
-
response:
|
|
108
|
+
request: any;
|
|
109
|
+
response: any;
|
|
110
110
|
}
|
|
111
111
|
export declare class EventInstance {
|
|
112
112
|
protected _version: V2010;
|
|
@@ -114,19 +114,19 @@ export declare class EventInstance {
|
|
|
114
114
|
/**
|
|
115
115
|
* Contains a dictionary representing the request of the call.
|
|
116
116
|
*/
|
|
117
|
-
request:
|
|
117
|
+
request: any;
|
|
118
118
|
/**
|
|
119
119
|
* Contains a dictionary representing the call response, including a list of the call events.
|
|
120
120
|
*/
|
|
121
|
-
response:
|
|
121
|
+
response: any;
|
|
122
122
|
/**
|
|
123
123
|
* Provide a user-friendly representation
|
|
124
124
|
*
|
|
125
125
|
* @returns Object
|
|
126
126
|
*/
|
|
127
127
|
toJSON(): {
|
|
128
|
-
request:
|
|
129
|
-
response:
|
|
128
|
+
request: any;
|
|
129
|
+
response: any;
|
|
130
130
|
};
|
|
131
131
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
132
132
|
}
|
|
@@ -40,7 +40,7 @@ export interface PaymentListInstanceCreateOptions {
|
|
|
40
40
|
/** A positive integer that is used to validate the length of the `PostalCode` inputted by the user. User must enter this many digits. */
|
|
41
41
|
minPostalCodeLength?: number;
|
|
42
42
|
/** A single-level JSON object used to pass custom parameters to payment processors. (Required for ACH payments). The information that has to be included here depends on the <Pay> Connector. [Read more](https://www.twilio.com/console/voice/pay-connectors). */
|
|
43
|
-
parameter?:
|
|
43
|
+
parameter?: any;
|
|
44
44
|
/** This is the unique name corresponding to the Pay Connector installed in the Twilio Add-ons. Learn more about [<Pay> Connectors](https://www.twilio.com/console/voice/pay-connectors). The default value is `Default`. */
|
|
45
45
|
paymentConnector?: string;
|
|
46
46
|
/** */
|
|
@@ -156,7 +156,7 @@ interface RecordingResource {
|
|
|
156
156
|
sid: string;
|
|
157
157
|
price: number;
|
|
158
158
|
uri: string;
|
|
159
|
-
encryption_details:
|
|
159
|
+
encryption_details: any;
|
|
160
160
|
price_unit: string;
|
|
161
161
|
status: RecordingStatus;
|
|
162
162
|
channels: number;
|
|
@@ -216,7 +216,7 @@ export declare class RecordingInstance {
|
|
|
216
216
|
/**
|
|
217
217
|
* How to decrypt the recording if it was encrypted using [Call Recording Encryption](https://www.twilio.com/docs/voice/tutorials/voice-recording-encryption) feature.
|
|
218
218
|
*/
|
|
219
|
-
encryptionDetails:
|
|
219
|
+
encryptionDetails: any;
|
|
220
220
|
/**
|
|
221
221
|
* The currency used in the `price` property. Example: `USD`.
|
|
222
222
|
*/
|
|
@@ -278,7 +278,7 @@ export declare class RecordingInstance {
|
|
|
278
278
|
sid: string;
|
|
279
279
|
price: number;
|
|
280
280
|
uri: string;
|
|
281
|
-
encryptionDetails:
|
|
281
|
+
encryptionDetails: any;
|
|
282
282
|
priceUnit: string;
|
|
283
283
|
status: RecordingStatus;
|
|
284
284
|
channels: number;
|
|
@@ -143,7 +143,7 @@ interface RecordingResource {
|
|
|
143
143
|
channels: number;
|
|
144
144
|
source: RecordingSource;
|
|
145
145
|
error_code: number;
|
|
146
|
-
encryption_details:
|
|
146
|
+
encryption_details: any;
|
|
147
147
|
uri: string;
|
|
148
148
|
}
|
|
149
149
|
export declare class RecordingInstance {
|
|
@@ -208,7 +208,7 @@ export declare class RecordingInstance {
|
|
|
208
208
|
/**
|
|
209
209
|
* How to decrypt the recording if it was encrypted using [Call Recording Encryption](https://www.twilio.com/docs/voice/tutorials/voice-recording-encryption) feature.
|
|
210
210
|
*/
|
|
211
|
-
encryptionDetails:
|
|
211
|
+
encryptionDetails: any;
|
|
212
212
|
/**
|
|
213
213
|
* The URI of the resource, relative to `https://api.twilio.com`.
|
|
214
214
|
*/
|
|
@@ -260,7 +260,7 @@ export declare class RecordingInstance {
|
|
|
260
260
|
channels: number;
|
|
261
261
|
source: RecordingSource;
|
|
262
262
|
errorCode: number;
|
|
263
|
-
encryptionDetails:
|
|
263
|
+
encryptionDetails: any;
|
|
264
264
|
uri: string;
|
|
265
265
|
};
|
|
266
266
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
@@ -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 V2010 from "../../V2010";
|
|
6
|
+
/**
|
|
7
|
+
* The set of permissions that your ConnectApp requests.
|
|
8
|
+
*/
|
|
6
9
|
export type ConnectAppPermission = "get-all" | "post-all";
|
|
7
10
|
/**
|
|
8
11
|
* Options to pass to update a ConnectAppInstance
|
|
@@ -99,7 +99,7 @@ interface AssignedAddOnResource {
|
|
|
99
99
|
resource_sid: string;
|
|
100
100
|
friendly_name: string;
|
|
101
101
|
description: string;
|
|
102
|
-
configuration:
|
|
102
|
+
configuration: any;
|
|
103
103
|
unique_name: string;
|
|
104
104
|
date_created: Date;
|
|
105
105
|
date_updated: Date;
|
|
@@ -134,7 +134,7 @@ export declare class AssignedAddOnInstance {
|
|
|
134
134
|
/**
|
|
135
135
|
* A JSON string that represents the current configuration of this Add-on installation.
|
|
136
136
|
*/
|
|
137
|
-
configuration:
|
|
137
|
+
configuration: any;
|
|
138
138
|
/**
|
|
139
139
|
* An application-defined string that uniquely identifies the resource. It can be used in place of the resource\'s `sid` in the URL to address the resource.
|
|
140
140
|
*/
|
|
@@ -187,7 +187,7 @@ export declare class AssignedAddOnInstance {
|
|
|
187
187
|
resourceSid: string;
|
|
188
188
|
friendlyName: string;
|
|
189
189
|
description: string;
|
|
190
|
-
configuration:
|
|
190
|
+
configuration: any;
|
|
191
191
|
uniqueName: string;
|
|
192
192
|
dateCreated: Date;
|
|
193
193
|
dateUpdated: Date;
|
|
@@ -4,6 +4,9 @@ import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V2010 from "../../../V2010";
|
|
6
6
|
import { PhoneNumberCapabilities } from "../../../../../interfaces";
|
|
7
|
+
/**
|
|
8
|
+
* Whether the phone number requires an [Address](https://www.twilio.com/docs/usage/api/address) registered with Twilio. Can be: `none`, `any`, `local`, or `foreign`.
|
|
9
|
+
*/
|
|
7
10
|
export type LocalAddressRequirement = "none" | "any" | "local" | "foreign";
|
|
8
11
|
/**
|
|
9
12
|
* The status of address registration with emergency services. A registered emergency address will be used during handling of emergency calls from this number.
|
|
@@ -4,6 +4,9 @@ import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V2010 from "../../../V2010";
|
|
6
6
|
import { PhoneNumberCapabilities } from "../../../../../interfaces";
|
|
7
|
+
/**
|
|
8
|
+
* Whether the phone number requires an [Address](https://www.twilio.com/docs/usage/api/address) registered with Twilio. Can be: `none`, `any`, `local`, or `foreign`.
|
|
9
|
+
*/
|
|
7
10
|
export type MobileAddressRequirement = "none" | "any" | "local" | "foreign";
|
|
8
11
|
/**
|
|
9
12
|
* The status of address registration with emergency services. A registered emergency address will be used during handling of emergency calls from this number.
|
|
@@ -4,6 +4,9 @@ import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V2010 from "../../../V2010";
|
|
6
6
|
import { PhoneNumberCapabilities } from "../../../../../interfaces";
|
|
7
|
+
/**
|
|
8
|
+
* Whether the phone number requires an [Address](https://www.twilio.com/docs/usage/api/address) registered with Twilio. Can be: `none`, `any`, `local`, or `foreign`.
|
|
9
|
+
*/
|
|
7
10
|
export type TollFreeAddressRequirement = "none" | "any" | "local" | "foreign";
|
|
8
11
|
/**
|
|
9
12
|
* The status of address registration with emergency services. A registered emergency address will be used during handling of emergency calls from this number.
|
|
@@ -8,6 +8,9 @@ import { LocalListInstance } from "./incomingPhoneNumber/local";
|
|
|
8
8
|
import { MobileListInstance } from "./incomingPhoneNumber/mobile";
|
|
9
9
|
import { TollFreeListInstance } from "./incomingPhoneNumber/tollFree";
|
|
10
10
|
import { PhoneNumberCapabilities } from "../../../../interfaces";
|
|
11
|
+
/**
|
|
12
|
+
* Whether the phone number requires an [Address](https://www.twilio.com/docs/usage/api/address) registered with Twilio. Can be: `none`, `any`, `local`, or `foreign`.
|
|
13
|
+
*/
|
|
11
14
|
export type IncomingPhoneNumberAddressRequirement = "none" | "any" | "local" | "foreign";
|
|
12
15
|
/**
|
|
13
16
|
* The status of address registration with emergency services. A registered emergency address will be used during handling of emergency calls from this number.
|
|
@@ -166,7 +166,7 @@ interface RecordingResource {
|
|
|
166
166
|
source: RecordingSource;
|
|
167
167
|
error_code: number;
|
|
168
168
|
uri: string;
|
|
169
|
-
encryption_details:
|
|
169
|
+
encryption_details: any;
|
|
170
170
|
subresource_uris: Record<string, string>;
|
|
171
171
|
media_url: string;
|
|
172
172
|
}
|
|
@@ -221,7 +221,7 @@ export declare class RecordingInstance {
|
|
|
221
221
|
priceUnit: string;
|
|
222
222
|
status: RecordingStatus;
|
|
223
223
|
/**
|
|
224
|
-
* The number of channels in the final recording file. Can be: `1` or `2`.
|
|
224
|
+
* The number of channels in the final recording file. Can be: `1` or `2`. Default: `1`.
|
|
225
225
|
*/
|
|
226
226
|
channels: number;
|
|
227
227
|
source: RecordingSource;
|
|
@@ -236,7 +236,7 @@ export declare class RecordingInstance {
|
|
|
236
236
|
/**
|
|
237
237
|
* How to decrypt the recording if it was encrypted using [Call Recording Encryption](https://www.twilio.com/docs/voice/tutorials/voice-recording-encryption) feature.
|
|
238
238
|
*/
|
|
239
|
-
encryptionDetails:
|
|
239
|
+
encryptionDetails: any;
|
|
240
240
|
/**
|
|
241
241
|
* A list of related resources identified by their relative URIs.
|
|
242
242
|
*/
|
|
@@ -301,7 +301,7 @@ export declare class RecordingInstance {
|
|
|
301
301
|
source: RecordingSource;
|
|
302
302
|
errorCode: number;
|
|
303
303
|
uri: string;
|
|
304
|
-
encryptionDetails:
|
|
304
|
+
encryptionDetails: any;
|
|
305
305
|
subresourceUris: Record<string, string>;
|
|
306
306
|
mediaUrl: string;
|
|
307
307
|
};
|
|
@@ -7,6 +7,9 @@ import V2010 from "../../../V2010";
|
|
|
7
7
|
* The frequency of a recurring UsageTrigger. Can be: `daily`, `monthly`, or `yearly` for recurring triggers or empty for non-recurring triggers. A trigger will only fire once during each period. Recurring times are in GMT.
|
|
8
8
|
*/
|
|
9
9
|
export type TriggerRecurring = "daily" | "monthly" | "yearly" | "alltime";
|
|
10
|
+
/**
|
|
11
|
+
* The field in the [UsageRecord](https://www.twilio.com/docs/usage/api/usage-record) resource that fires the trigger. Can be: `count`, `usage`, or `price`, as described in the [UsageRecords documentation](https://www.twilio.com/docs/usage/api/usage-record#usage-count-price).
|
|
12
|
+
*/
|
|
10
13
|
export type TriggerTriggerField = "count" | "usage" | "price";
|
|
11
14
|
/**
|
|
12
15
|
* The usage category the trigger watches. Must be one of the supported [usage categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories).
|
|
@@ -7,7 +7,7 @@ import V1 from "../../V1";
|
|
|
7
7
|
* Options to pass to each
|
|
8
8
|
*/
|
|
9
9
|
export interface DayListInstanceEachOptions {
|
|
10
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
10
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 400. */
|
|
11
11
|
pageSize?: number;
|
|
12
12
|
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
13
13
|
callback?: (item: DayInstance, done: (err?: Error) => void) => void;
|
|
@@ -20,7 +20,7 @@ export interface DayListInstanceEachOptions {
|
|
|
20
20
|
* Options to pass to list
|
|
21
21
|
*/
|
|
22
22
|
export interface DayListInstanceOptions {
|
|
23
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
23
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 400. */
|
|
24
24
|
pageSize?: number;
|
|
25
25
|
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
26
26
|
limit?: number;
|
|
@@ -29,7 +29,7 @@ export interface DayListInstanceOptions {
|
|
|
29
29
|
* Options to pass to page
|
|
30
30
|
*/
|
|
31
31
|
export interface DayListInstancePageOptions {
|
|
32
|
-
/** How many resources to return in each list page. The default is 50, and the maximum is
|
|
32
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 400. */
|
|
33
33
|
pageSize?: number;
|
|
34
34
|
/** Page Number, this value is simply for client state */
|
|
35
35
|
pageNumber?: number;
|
|
@@ -138,7 +138,7 @@ interface ExportCustomJobResource {
|
|
|
138
138
|
webhook_method: string;
|
|
139
139
|
email: string;
|
|
140
140
|
job_sid: string;
|
|
141
|
-
details:
|
|
141
|
+
details: Array<any>;
|
|
142
142
|
job_queue_position: string;
|
|
143
143
|
estimated_completion_time: string;
|
|
144
144
|
}
|
|
@@ -180,7 +180,7 @@ export declare class ExportCustomJobInstance {
|
|
|
180
180
|
/**
|
|
181
181
|
* The details of a job which is an object that contains an array of status grouped by `status` state. Each `status` object has a `status` string, a count which is the number of days in that `status`, and list of days in that `status`. The day strings are in the format yyyy-MM-dd. As an example, a currently running job may have a status object for COMPLETED and a `status` object for SUBMITTED each with its own count and list of days.
|
|
182
182
|
*/
|
|
183
|
-
details:
|
|
183
|
+
details: Array<any>;
|
|
184
184
|
/**
|
|
185
185
|
* This is the job position from the 1st in line. Your queue position will never increase. As jobs ahead of yours in the queue are processed, the queue position number will decrease
|
|
186
186
|
*/
|
|
@@ -203,7 +203,7 @@ export declare class ExportCustomJobInstance {
|
|
|
203
203
|
webhookMethod: string;
|
|
204
204
|
email: string;
|
|
205
205
|
jobSid: string;
|
|
206
|
-
details:
|
|
206
|
+
details: any[];
|
|
207
207
|
jobQueuePosition: string;
|
|
208
208
|
estimatedCompletionTime: string;
|
|
209
209
|
};
|
|
@@ -45,7 +45,7 @@ export declare class JobContextImpl implements JobContext {
|
|
|
45
45
|
interface JobResource {
|
|
46
46
|
resource_type: string;
|
|
47
47
|
friendly_name: string;
|
|
48
|
-
details:
|
|
48
|
+
details: Array<any>;
|
|
49
49
|
start_day: string;
|
|
50
50
|
end_day: string;
|
|
51
51
|
job_sid: string;
|
|
@@ -72,7 +72,7 @@ export declare class JobInstance {
|
|
|
72
72
|
/**
|
|
73
73
|
* The details of a job which is an object that contains an array of status grouped by `status` state. Each `status` object has a `status` string, a count which is the number of days in that `status`, and list of days in that `status`. The day strings are in the format yyyy-MM-dd. As an example, a currently running job may have a status object for COMPLETED and a `status` object for SUBMITTED each with its own count and list of days.
|
|
74
74
|
*/
|
|
75
|
-
details:
|
|
75
|
+
details: Array<any>;
|
|
76
76
|
/**
|
|
77
77
|
* The start time for the export specified when creating the job
|
|
78
78
|
*/
|
|
@@ -131,7 +131,7 @@ export declare class JobInstance {
|
|
|
131
131
|
toJSON(): {
|
|
132
132
|
resourceType: string;
|
|
133
133
|
friendlyName: string;
|
|
134
|
-
details:
|
|
134
|
+
details: any[];
|
|
135
135
|
startDay: string;
|
|
136
136
|
endDay: string;
|
|
137
137
|
jobSid: string;
|
|
@@ -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 V1 from "../V1";
|
|
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
|
|
@@ -6,6 +6,9 @@ import V1 from "../../V1";
|
|
|
6
6
|
import { InviteListInstance } from "./channel/invite";
|
|
7
7
|
import { MemberListInstance } from "./channel/member";
|
|
8
8
|
import { MessageListInstance } from "./channel/message";
|
|
9
|
+
/**
|
|
10
|
+
* The visibility of the channel. Can be: `public` or `private`.
|
|
11
|
+
*/
|
|
9
12
|
export type ChannelChannelType = "public" | "private";
|
|
10
13
|
/**
|
|
11
14
|
* Options to pass to update a ChannelInstance
|
|
@@ -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 V1 from "../../V1";
|
|
6
|
+
/**
|
|
7
|
+
* The type of role. Can be: `channel` for [Channel](https://www.twilio.com/docs/chat/api/channels) roles or `deployment` for [Service](https://www.twilio.com/docs/chat/api/services) 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 V1 from "../../../V1";
|
|
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
|
* Options to pass to each
|