twilio 4.7.1 → 4.8.0
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/index.d.ts +52 -36
- package/lib/index.js +32 -51
- package/lib/rest/api/v2010/account/address/dependentPhoneNumber.d.ts +2 -2
- package/lib/rest/api/v2010/account/authorizedConnectApp.d.ts +1 -1
- package/lib/rest/api/v2010/account/call/feedback.d.ts +1 -1
- package/lib/rest/api/v2010/account/call/feedbackSummary.d.ts +1 -1
- package/lib/rest/api/v2010/account/call/payment.d.ts +5 -5
- package/lib/rest/api/v2010/account/call/recording.d.ts +2 -2
- package/lib/rest/api/v2010/account/call/siprec.d.ts +3 -3
- package/lib/rest/api/v2010/account/call/stream.d.ts +3 -3
- package/lib/rest/api/v2010/account/call.d.ts +2 -2
- package/lib/rest/api/v2010/account/conference/participant.d.ts +1 -1
- package/lib/rest/api/v2010/account/conference/recording.d.ts +2 -2
- package/lib/rest/api/v2010/account/conference.d.ts +4 -4
- package/lib/rest/api/v2010/account/connectApp.d.ts +1 -1
- package/lib/rest/api/v2010/account/incomingPhoneNumber/local.d.ts +4 -4
- package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.d.ts +4 -4
- package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.d.ts +4 -4
- package/lib/rest/api/v2010/account/incomingPhoneNumber.d.ts +4 -4
- package/lib/rest/api/v2010/account/message/feedback.d.ts +1 -1
- package/lib/rest/api/v2010/account/message.d.ts +6 -6
- package/lib/rest/api/v2010/account/recording/addOnResult.d.ts +1 -1
- package/lib/rest/api/v2010/account/recording/transcription.d.ts +1 -1
- package/lib/rest/api/v2010/account/recording.d.ts +2 -2
- package/lib/rest/api/v2010/account/transcription.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/record/allTime.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/record/daily.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/record/lastMonth.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/record/monthly.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/record/thisMonth.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/record/today.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/record/yearly.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/record/yesterday.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/record.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/trigger.d.ts +3 -3
- package/lib/rest/api/v2010/account/usage.d.ts +1 -0
- package/lib/rest/api/v2010/account.d.ts +2 -2
- package/lib/rest/autopilot/v1/assistant/modelBuild.d.ts +1 -1
- package/lib/rest/chat/v1/credential.d.ts +1 -1
- package/lib/rest/chat/v1/service/channel/message.d.ts +1 -1
- package/lib/rest/chat/v1/service/channel.d.ts +1 -1
- package/lib/rest/chat/v1/service/role.d.ts +1 -1
- package/lib/rest/chat/v1/service/user/userChannel.d.ts +1 -1
- package/lib/rest/chat/v2/credential.d.ts +1 -1
- package/lib/rest/chat/v2/service/binding.d.ts +1 -1
- package/lib/rest/chat/v2/service/channel/member.d.ts +1 -1
- package/lib/rest/chat/v2/service/channel/message.d.ts +2 -2
- package/lib/rest/chat/v2/service/channel/webhook.d.ts +2 -2
- package/lib/rest/chat/v2/service/channel.d.ts +2 -2
- package/lib/rest/chat/v2/service/role.d.ts +1 -1
- package/lib/rest/chat/v2/service/user/userBinding.d.ts +1 -1
- package/lib/rest/chat/v2/service/user/userChannel.d.ts +3 -3
- package/lib/rest/chat/v2/service/user.d.ts +1 -1
- package/lib/rest/chat/v3/channel.d.ts +2 -2
- package/lib/rest/content/V1.d.ts +5 -0
- package/lib/rest/content/V1.js +7 -0
- package/lib/rest/content/v1/legacyContent.d.ts +202 -0
- package/lib/rest/content/v1/legacyContent.js +138 -0
- package/lib/rest/conversations/v1/addressConfiguration.d.ts +3 -3
- package/lib/rest/conversations/v1/configuration/webhook.d.ts +2 -2
- package/lib/rest/conversations/v1/conversation/message/deliveryReceipt.d.ts +1 -1
- package/lib/rest/conversations/v1/conversation/message.d.ts +2 -2
- package/lib/rest/conversations/v1/conversation/participant.d.ts +1 -1
- package/lib/rest/conversations/v1/conversation/webhook.d.ts +2 -2
- package/lib/rest/conversations/v1/conversation.d.ts +2 -2
- package/lib/rest/conversations/v1/credential.d.ts +1 -1
- package/lib/rest/conversations/v1/participantConversation.d.ts +1 -1
- package/lib/rest/conversations/v1/role.d.ts +1 -1
- package/lib/rest/conversations/v1/service/binding.d.ts +1 -1
- package/lib/rest/conversations/v1/service/configuration/webhook.d.ts +1 -1
- package/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.d.ts +1 -1
- package/lib/rest/conversations/v1/service/conversation/message.d.ts +2 -2
- package/lib/rest/conversations/v1/service/conversation/participant.d.ts +1 -1
- package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +2 -2
- package/lib/rest/conversations/v1/service/conversation.d.ts +2 -2
- package/lib/rest/conversations/v1/service/participantConversation.d.ts +1 -1
- package/lib/rest/conversations/v1/service/role.d.ts +1 -1
- package/lib/rest/conversations/v1/service/user/userConversation.d.ts +2 -2
- package/lib/rest/conversations/v1/service/user.d.ts +1 -1
- package/lib/rest/conversations/v1/user/userConversation.d.ts +2 -2
- package/lib/rest/conversations/v1/user.d.ts +1 -1
- package/lib/rest/events/v1/sink.d.ts +2 -2
- package/lib/rest/flexApi/V1.d.ts +15 -0
- package/lib/rest/flexApi/V1.js +22 -0
- package/lib/rest/flexApi/v1/assessments.d.ts +138 -10
- package/lib/rest/flexApi/v1/assessments.js +138 -22
- package/lib/rest/flexApi/v1/configuration.d.ts +1 -1
- package/lib/rest/flexApi/v1/flexFlow.d.ts +2 -2
- package/lib/rest/flexApi/v1/insightsAssessmentsComment.d.ts +255 -0
- package/lib/rest/flexApi/v1/insightsAssessmentsComment.js +198 -0
- package/lib/rest/flexApi/v1/insightsQuestionnaires.d.ts +357 -0
- package/lib/rest/flexApi/v1/insightsQuestionnaires.js +280 -0
- package/lib/rest/flexApi/v1/insightsQuestionnairesCategory.d.ts +111 -0
- package/lib/rest/flexApi/v1/insightsQuestionnairesCategory.js +68 -1
- package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.d.ts +135 -6
- package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.js +80 -13
- package/lib/rest/flexApi/v1/insightsSegments.d.ts +341 -0
- package/lib/rest/flexApi/v1/insightsSegments.js +223 -0
- package/lib/rest/flexApi/v1/insightsSession.d.ts +2 -2
- package/lib/rest/flexApi/v1/insightsSession.js +2 -2
- package/lib/rest/flexApi/v1/insightsUserRoles.d.ts +2 -2
- package/lib/rest/flexApi/v1/insightsUserRoles.js +2 -2
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +2 -2
- package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +3 -3
- package/lib/rest/flexApi/v1/webChannel.d.ts +1 -1
- package/lib/rest/frontlineApi/v1/user.d.ts +1 -1
- package/lib/rest/insights/v1/call/annotation.d.ts +2 -2
- package/lib/rest/insights/v1/call/callSummary.d.ts +4 -4
- package/lib/rest/insights/v1/call/event.d.ts +2 -2
- package/lib/rest/insights/v1/call/metric.d.ts +2 -2
- package/lib/rest/insights/v1/callSummaries.d.ts +6 -6
- package/lib/rest/insights/v1/conference/conferenceParticipant.d.ts +6 -6
- package/lib/rest/insights/v1/conference.d.ts +5 -5
- package/lib/rest/insights/v1/room/participant.d.ts +4 -4
- package/lib/rest/insights/v1/room.d.ts +8 -8
- package/lib/rest/ipMessaging/v1/credential.d.ts +1 -1
- package/lib/rest/ipMessaging/v1/service/channel/message.d.ts +1 -1
- package/lib/rest/ipMessaging/v1/service/channel.d.ts +1 -1
- package/lib/rest/ipMessaging/v1/service/role.d.ts +1 -1
- package/lib/rest/ipMessaging/v1/service/user/userChannel.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/credential.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/service/binding.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/service/channel/member.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/service/channel/message.d.ts +2 -2
- package/lib/rest/ipMessaging/v2/service/channel/webhook.d.ts +2 -2
- package/lib/rest/ipMessaging/v2/service/channel.d.ts +2 -2
- package/lib/rest/ipMessaging/v2/service/role.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/service/user/userBinding.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/service/user/userChannel.d.ts +2 -2
- package/lib/rest/ipMessaging/v2/service/user.d.ts +1 -1
- package/lib/rest/lookups/v2/phoneNumber.d.ts +13 -1
- package/lib/rest/lookups/v2/phoneNumber.js +4 -0
- package/lib/rest/media/v1/mediaProcessor.d.ts +3 -3
- package/lib/rest/media/v1/mediaRecording.d.ts +3 -3
- package/lib/rest/media/v1/playerStreamer.d.ts +4 -4
- package/lib/rest/messaging/v1/brandRegistration/brandVetting.d.ts +1 -1
- package/lib/rest/messaging/v1/brandRegistration.d.ts +3 -3
- package/lib/rest/messaging/v1/service.d.ts +1 -1
- package/lib/rest/messaging/v1/tollfreeVerification.d.ts +2 -2
- package/lib/rest/microvisor/V1.d.ts +10 -0
- package/lib/rest/microvisor/V1.js +14 -0
- package/lib/rest/microvisor/v1/accountConfig.d.ts +263 -0
- package/lib/rest/microvisor/v1/accountConfig.js +246 -0
- package/lib/rest/microvisor/v1/accountSecret.d.ts +257 -0
- package/lib/rest/microvisor/v1/accountSecret.js +244 -0
- package/lib/rest/microvisor/v1/device/deviceConfig.d.ts +271 -0
- package/lib/rest/microvisor/v1/device/deviceConfig.js +254 -0
- package/lib/rest/microvisor/v1/device/deviceSecret.d.ts +265 -0
- package/lib/rest/microvisor/v1/device/deviceSecret.js +252 -0
- package/lib/rest/microvisor/v1/device.d.ts +16 -0
- package/lib/rest/microvisor/v1/device.js +26 -0
- package/lib/rest/notify/v1/credential.d.ts +1 -1
- package/lib/rest/notify/v1/service/binding.d.ts +1 -1
- package/lib/rest/notify/v1/service/notification.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle.d.ts +4 -4
- package/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +1 -1
- package/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.d.ts +2 -2
- package/lib/rest/preview/hosted_numbers/authorizationDocument.d.ts +1 -1
- package/lib/rest/preview/hosted_numbers/hostedNumberOrder.d.ts +2 -2
- package/lib/rest/preview/sync/service/syncList/syncListItem.d.ts +2 -2
- package/lib/rest/preview/sync/service/syncMap/syncMapItem.d.ts +2 -2
- package/lib/rest/preview/understand/assistant/modelBuild.d.ts +1 -1
- package/lib/rest/proxy/v1/service/session/interaction.d.ts +2 -2
- package/lib/rest/proxy/v1/service/session/participant/messageInteraction.d.ts +2 -2
- package/lib/rest/proxy/v1/service/session.d.ts +2 -2
- package/lib/rest/proxy/v1/service.d.ts +2 -2
- package/lib/rest/serverless/v1/service/asset/assetVersion.d.ts +1 -1
- package/lib/rest/serverless/v1/service/build/buildStatus.d.ts +1 -1
- package/lib/rest/serverless/v1/service/build.d.ts +2 -2
- package/lib/rest/serverless/v1/service/environment/log.d.ts +1 -1
- package/lib/rest/serverless/v1/service/function/functionVersion.d.ts +1 -1
- package/lib/rest/studio/v1/flow/engagement.d.ts +1 -1
- package/lib/rest/studio/v1/flow/execution.d.ts +1 -1
- package/lib/rest/studio/v1/flow.d.ts +1 -1
- package/lib/rest/studio/v2/flow/execution.d.ts +1 -1
- package/lib/rest/studio/v2/flow/flowRevision.d.ts +1 -1
- package/lib/rest/studio/v2/flow.d.ts +1 -1
- package/lib/rest/studio/v2/flowValidate.d.ts +1 -1
- package/lib/rest/supersim/v1/esimProfile.d.ts +1 -1
- package/lib/rest/supersim/v1/fleet.d.ts +1 -1
- package/lib/rest/supersim/v1/ipCommand.d.ts +3 -3
- package/lib/rest/supersim/v1/settingsUpdate.d.ts +1 -1
- package/lib/rest/supersim/v1/sim/billingPeriod.d.ts +1 -1
- package/lib/rest/supersim/v1/sim/simIpAddress.d.ts +1 -1
- package/lib/rest/supersim/v1/sim.d.ts +2 -2
- package/lib/rest/supersim/v1/smsCommand.d.ts +5 -5
- package/lib/rest/supersim/v1/usageRecord.d.ts +2 -2
- package/lib/rest/sync/v1/service/syncList/syncListItem.d.ts +2 -2
- package/lib/rest/sync/v1/service/syncMap/syncMapItem.d.ts +2 -2
- package/lib/rest/taskrouter/v1/workspace/task/reservation.d.ts +4 -4
- package/lib/rest/taskrouter/v1/workspace/task.d.ts +1 -1
- package/lib/rest/taskrouter/v1/workspace/taskQueue.d.ts +1 -1
- package/lib/rest/taskrouter/v1/workspace/worker/reservation.d.ts +3 -3
- package/lib/rest/taskrouter/v1/workspace.d.ts +1 -1
- package/lib/rest/trunking/v1/trunk/phoneNumber.d.ts +1 -1
- package/lib/rest/trunking/v1/trunk/recording.d.ts +2 -2
- package/lib/rest/trunking/v1/trunk.d.ts +2 -2
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +1 -1
- package/lib/rest/trusthub/v1/customerProfiles.d.ts +1 -1
- package/lib/rest/trusthub/v1/supportingDocument.d.ts +1 -1
- package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +1 -1
- package/lib/rest/trusthub/v1/trustProducts.d.ts +1 -1
- package/lib/rest/verify/v2/form.d.ts +1 -1
- package/lib/rest/verify/v2/service/accessToken.d.ts +1 -1
- package/lib/rest/verify/v2/service/entity/challenge.d.ts +4 -4
- package/lib/rest/verify/v2/service/entity/factor.d.ts +3 -3
- package/lib/rest/verify/v2/service/entity/newFactor.d.ts +4 -4
- package/lib/rest/verify/v2/service/verification.d.ts +2 -2
- package/lib/rest/verify/v2/service/verificationCheck.d.ts +1 -1
- package/lib/rest/verify/v2/service/webhook.d.ts +3 -3
- package/lib/rest/verify/v2/verificationAttempt.d.ts +2 -2
- package/lib/rest/verify/v2/verificationAttemptsSummary.d.ts +1 -1
- package/lib/rest/video/v1/composition.d.ts +2 -2
- package/lib/rest/video/v1/compositionHook.d.ts +1 -1
- package/lib/rest/video/v1/recording.d.ts +4 -4
- package/lib/rest/video/v1/room/participant/anonymize.d.ts +1 -1
- package/lib/rest/video/v1/room/participant/publishedTrack.d.ts +1 -1
- package/lib/rest/video/v1/room/participant/subscribedTrack.d.ts +1 -1
- package/lib/rest/video/v1/room/participant.d.ts +1 -1
- package/lib/rest/video/v1/room/roomRecording.d.ts +4 -4
- package/lib/rest/video/v1/room.d.ts +3 -3
- package/lib/rest/wireless/v1/command.d.ts +4 -4
- package/lib/rest/wireless/v1/sim/usageRecord.d.ts +1 -1
- package/lib/rest/wireless/v1/sim.d.ts +2 -2
- package/lib/rest/wireless/v1/usageRecord.d.ts +1 -1
- package/package.json +2 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { inspect, InspectOptions } from "util";
|
|
3
3
|
import V1 from "../../V1";
|
|
4
|
-
type SummaryAnsweredBy = "unknown" | "machine_start" | "machine_end_beep" | "machine_end_silence" | "machine_end_other" | "human" | "fax";
|
|
5
|
-
type SummaryCallState = "ringing" | "completed" | "busy" | "fail" | "noanswer" | "canceled" | "answered" | "undialed";
|
|
6
|
-
type SummaryCallType = "carrier" | "sip" | "trunking" | "client";
|
|
7
|
-
type SummaryProcessingState = "complete" | "partial";
|
|
4
|
+
export type SummaryAnsweredBy = "unknown" | "machine_start" | "machine_end_beep" | "machine_end_silence" | "machine_end_other" | "human" | "fax";
|
|
5
|
+
export type SummaryCallState = "ringing" | "completed" | "busy" | "fail" | "noanswer" | "canceled" | "answered" | "undialed";
|
|
6
|
+
export type SummaryCallType = "carrier" | "sip" | "trunking" | "client";
|
|
7
|
+
export type SummaryProcessingState = "complete" | "partial";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to fetch a CallSummaryInstance
|
|
10
10
|
*/
|
|
@@ -3,8 +3,8 @@ 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
|
-
type EventLevel = "UNKNOWN" | "DEBUG" | "INFO" | "WARNING" | "ERROR";
|
|
7
|
-
type EventTwilioEdge = "unknown_edge" | "carrier_edge" | "sip_edge" | "sdk_edge" | "client_edge";
|
|
6
|
+
export type EventLevel = "UNKNOWN" | "DEBUG" | "INFO" | "WARNING" | "ERROR";
|
|
7
|
+
export type EventTwilioEdge = "unknown_edge" | "carrier_edge" | "sip_edge" | "sdk_edge" | "client_edge";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to each
|
|
10
10
|
*/
|
|
@@ -3,8 +3,8 @@ 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
|
-
type MetricStreamDirection = "unknown" | "inbound" | "outbound" | "both";
|
|
7
|
-
type MetricTwilioEdge = "unknown_edge" | "carrier_edge" | "sip_edge" | "sdk_edge" | "client_edge";
|
|
6
|
+
export type MetricStreamDirection = "unknown" | "inbound" | "outbound" | "both";
|
|
7
|
+
export type MetricTwilioEdge = "unknown_edge" | "carrier_edge" | "sip_edge" | "sdk_edge" | "client_edge";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to each
|
|
10
10
|
*/
|
|
@@ -3,12 +3,12 @@ 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
|
-
type CallSummariesAnsweredBy = "unknown" | "machine_start" | "machine_end_beep" | "machine_end_silence" | "machine_end_other" | "human" | "fax";
|
|
7
|
-
type CallSummariesCallState = "ringing" | "completed" | "busy" | "fail" | "noanswer" | "canceled" | "answered" | "undialed";
|
|
8
|
-
type CallSummariesCallType = "carrier" | "sip" | "trunking" | "client";
|
|
9
|
-
type CallSummariesProcessingState = "complete" | "partial";
|
|
10
|
-
type CallSummariesProcessingStateRequest = "completed" | "started" | "partial" | "all";
|
|
11
|
-
type CallSummariesSortBy = "start_time" | "end_time";
|
|
6
|
+
export type CallSummariesAnsweredBy = "unknown" | "machine_start" | "machine_end_beep" | "machine_end_silence" | "machine_end_other" | "human" | "fax";
|
|
7
|
+
export type CallSummariesCallState = "ringing" | "completed" | "busy" | "fail" | "noanswer" | "canceled" | "answered" | "undialed";
|
|
8
|
+
export type CallSummariesCallType = "carrier" | "sip" | "trunking" | "client";
|
|
9
|
+
export type CallSummariesProcessingState = "complete" | "partial";
|
|
10
|
+
export type CallSummariesProcessingStateRequest = "completed" | "started" | "partial" | "all";
|
|
11
|
+
export type CallSummariesSortBy = "start_time" | "end_time";
|
|
12
12
|
/**
|
|
13
13
|
* Options to pass to each
|
|
14
14
|
*/
|
|
@@ -3,12 +3,12 @@ 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
|
-
type ConferenceParticipantCallDirection = "inbound" | "outbound";
|
|
7
|
-
type ConferenceParticipantCallStatus = "answered" | "completed" | "busy" | "fail" | "noanswer" | "ringing" | "canceled";
|
|
8
|
-
type ConferenceParticipantCallType = "carrier" | "client" | "sip";
|
|
9
|
-
type ConferenceParticipantJitterBufferSize = "large" | "small" | "medium" | "off";
|
|
10
|
-
type ConferenceParticipantProcessingState = "complete" | "in_progress" | "timeout";
|
|
11
|
-
type ConferenceParticipantRegion = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "de1";
|
|
6
|
+
export type ConferenceParticipantCallDirection = "inbound" | "outbound";
|
|
7
|
+
export type ConferenceParticipantCallStatus = "answered" | "completed" | "busy" | "fail" | "noanswer" | "ringing" | "canceled";
|
|
8
|
+
export type ConferenceParticipantCallType = "carrier" | "client" | "sip";
|
|
9
|
+
export type ConferenceParticipantJitterBufferSize = "large" | "small" | "medium" | "off";
|
|
10
|
+
export type ConferenceParticipantProcessingState = "complete" | "in_progress" | "timeout";
|
|
11
|
+
export type ConferenceParticipantRegion = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "de1";
|
|
12
12
|
/**
|
|
13
13
|
* Options to pass to fetch a ConferenceParticipantInstance
|
|
14
14
|
*/
|
|
@@ -4,11 +4,11 @@ import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import V1 from "../V1";
|
|
6
6
|
import { ConferenceParticipantListInstance } from "./conference/conferenceParticipant";
|
|
7
|
-
type ConferenceConferenceEndReason = "last_participant_left" | "conference_ended_via_api" | "participant_with_end_conference_on_exit_left" | "last_participant_kicked" | "participant_with_end_conference_on_exit_kicked";
|
|
8
|
-
type ConferenceConferenceStatus = "in_progress" | "not_started" | "completed" | "summary_timeout";
|
|
9
|
-
type ConferenceProcessingState = "complete" | "in_progress" | "timeout";
|
|
10
|
-
type ConferenceRegion = "us1" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "de1";
|
|
11
|
-
type ConferenceTag = "invalid_requested_region" | "duplicate_identity" | "start_failure" | "region_configuration_issues" | "quality_warnings" | "participant_behavior_issues" | "high_packet_loss" | "high_jitter" | "high_latency" | "low_mos" | "detected_silence";
|
|
7
|
+
export type ConferenceConferenceEndReason = "last_participant_left" | "conference_ended_via_api" | "participant_with_end_conference_on_exit_left" | "last_participant_kicked" | "participant_with_end_conference_on_exit_kicked";
|
|
8
|
+
export type ConferenceConferenceStatus = "in_progress" | "not_started" | "completed" | "summary_timeout";
|
|
9
|
+
export type ConferenceProcessingState = "complete" | "in_progress" | "timeout";
|
|
10
|
+
export type ConferenceRegion = "us1" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "de1";
|
|
11
|
+
export type ConferenceTag = "invalid_requested_region" | "duplicate_identity" | "start_failure" | "region_configuration_issues" | "quality_warnings" | "participant_behavior_issues" | "high_packet_loss" | "high_jitter" | "high_latency" | "low_mos" | "detected_silence";
|
|
12
12
|
/**
|
|
13
13
|
* Options to pass to each
|
|
14
14
|
*/
|
|
@@ -3,10 +3,10 @@ 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
|
-
type VideoParticipantSummaryCodec = "VP8" | "H264" | "VP9";
|
|
7
|
-
type VideoParticipantSummaryEdgeLocation = "ashburn" | "dublin" | "frankfurt" | "singapore" | "sydney" | "sao_paulo" | "roaming" | "umatilla" | "tokyo";
|
|
8
|
-
type VideoParticipantSummaryRoomStatus = "in_progress" | "completed";
|
|
9
|
-
type VideoParticipantSummaryTwilioRealm = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "in1" | "de1" | "gll";
|
|
6
|
+
export type VideoParticipantSummaryCodec = "VP8" | "H264" | "VP9";
|
|
7
|
+
export type VideoParticipantSummaryEdgeLocation = "ashburn" | "dublin" | "frankfurt" | "singapore" | "sydney" | "sao_paulo" | "roaming" | "umatilla" | "tokyo";
|
|
8
|
+
export type VideoParticipantSummaryRoomStatus = "in_progress" | "completed";
|
|
9
|
+
export type VideoParticipantSummaryTwilioRealm = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "in1" | "de1" | "gll";
|
|
10
10
|
/**
|
|
11
11
|
* Options to pass to each
|
|
12
12
|
*/
|
|
@@ -4,14 +4,14 @@ import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import V1 from "../V1";
|
|
6
6
|
import { ParticipantListInstance } from "./room/participant";
|
|
7
|
-
type VideoRoomSummaryCodec = "VP8" | "H264" | "VP9";
|
|
8
|
-
type VideoRoomSummaryCreatedMethod = "sdk" | "ad_hoc" | "api";
|
|
9
|
-
type VideoRoomSummaryEdgeLocation = "ashburn" | "dublin" | "frankfurt" | "singapore" | "sydney" | "sao_paulo" | "roaming" | "umatilla" | "tokyo";
|
|
10
|
-
type VideoRoomSummaryEndReason = "room_ended_via_api" | "timeout";
|
|
11
|
-
type VideoRoomSummaryProcessingState = "complete" | "in_progress";
|
|
12
|
-
type VideoRoomSummaryRoomStatus = "in_progress" | "completed";
|
|
13
|
-
type VideoRoomSummaryRoomType = "go" | "peer_to_peer" | "group" | "group_small";
|
|
14
|
-
type VideoRoomSummaryTwilioRealm = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "in1" | "de1" | "gll";
|
|
7
|
+
export type VideoRoomSummaryCodec = "VP8" | "H264" | "VP9";
|
|
8
|
+
export type VideoRoomSummaryCreatedMethod = "sdk" | "ad_hoc" | "api";
|
|
9
|
+
export type VideoRoomSummaryEdgeLocation = "ashburn" | "dublin" | "frankfurt" | "singapore" | "sydney" | "sao_paulo" | "roaming" | "umatilla" | "tokyo";
|
|
10
|
+
export type VideoRoomSummaryEndReason = "room_ended_via_api" | "timeout";
|
|
11
|
+
export type VideoRoomSummaryProcessingState = "complete" | "in_progress";
|
|
12
|
+
export type VideoRoomSummaryRoomStatus = "in_progress" | "completed";
|
|
13
|
+
export type VideoRoomSummaryRoomType = "go" | "peer_to_peer" | "group" | "group_small";
|
|
14
|
+
export type VideoRoomSummaryTwilioRealm = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "in1" | "de1" | "gll";
|
|
15
15
|
/**
|
|
16
16
|
* Options to pass to each
|
|
17
17
|
*/
|
|
@@ -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
|
-
type CredentialPushService = "gcm" | "apn" | "fcm";
|
|
6
|
+
export type CredentialPushService = "gcm" | "apn" | "fcm";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to update a CredentialInstance
|
|
9
9
|
*/
|
|
@@ -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
|
-
type MessageOrderType = "asc" | "desc";
|
|
6
|
+
export type MessageOrderType = "asc" | "desc";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to update a MessageInstance
|
|
9
9
|
*/
|
|
@@ -6,7 +6,7 @@ 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
|
-
type ChannelChannelType = "public" | "private";
|
|
9
|
+
export type ChannelChannelType = "public" | "private";
|
|
10
10
|
/**
|
|
11
11
|
* Options to pass to update a ChannelInstance
|
|
12
12
|
*/
|
|
@@ -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
|
-
type RoleRoleType = "channel" | "deployment";
|
|
6
|
+
export type RoleRoleType = "channel" | "deployment";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to update a RoleInstance
|
|
9
9
|
*/
|
|
@@ -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
|
-
type UserChannelChannelStatus = "joined" | "invited" | "not_participating";
|
|
6
|
+
export type UserChannelChannelStatus = "joined" | "invited" | "not_participating";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to each
|
|
9
9
|
*/
|
|
@@ -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 V2 from "../V2";
|
|
6
|
-
type CredentialPushService = "gcm" | "apn" | "fcm";
|
|
6
|
+
export type CredentialPushService = "gcm" | "apn" | "fcm";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to update a CredentialInstance
|
|
9
9
|
*/
|
|
@@ -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 V2 from "../../V2";
|
|
6
|
-
type BindingBindingType = "gcm" | "apn" | "fcm";
|
|
6
|
+
export type BindingBindingType = "gcm" | "apn" | "fcm";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to each
|
|
9
9
|
*/
|
|
@@ -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 V2 from "../../../V2";
|
|
6
|
-
type MemberWebhookEnabledType = "true" | "false";
|
|
6
|
+
export type MemberWebhookEnabledType = "true" | "false";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to remove a MemberInstance
|
|
9
9
|
*/
|
|
@@ -3,8 +3,8 @@ 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
|
-
type MessageOrderType = "asc" | "desc";
|
|
7
|
-
type MessageWebhookEnabledType = "true" | "false";
|
|
6
|
+
export type MessageOrderType = "asc" | "desc";
|
|
7
|
+
export type MessageWebhookEnabledType = "true" | "false";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to remove a MessageInstance
|
|
10
10
|
*/
|
|
@@ -3,8 +3,8 @@ 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
|
-
type ChannelWebhookMethod = "GET" | "POST";
|
|
7
|
-
type ChannelWebhookType = "webhook" | "trigger" | "studio";
|
|
6
|
+
export type ChannelWebhookMethod = "GET" | "POST";
|
|
7
|
+
export type ChannelWebhookType = "webhook" | "trigger" | "studio";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to update a WebhookInstance
|
|
10
10
|
*/
|
|
@@ -7,8 +7,8 @@ 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
|
-
type ChannelChannelType = "public" | "private";
|
|
11
|
-
type ChannelWebhookEnabledType = "true" | "false";
|
|
10
|
+
export type ChannelChannelType = "public" | "private";
|
|
11
|
+
export type ChannelWebhookEnabledType = "true" | "false";
|
|
12
12
|
/**
|
|
13
13
|
* Options to pass to remove a ChannelInstance
|
|
14
14
|
*/
|
|
@@ -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 V2 from "../../V2";
|
|
6
|
-
type RoleRoleType = "channel" | "deployment";
|
|
6
|
+
export type RoleRoleType = "channel" | "deployment";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to update a RoleInstance
|
|
9
9
|
*/
|
|
@@ -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 V2 from "../../../V2";
|
|
6
|
-
type UserBindingBindingType = "gcm" | "apn" | "fcm";
|
|
6
|
+
export type UserBindingBindingType = "gcm" | "apn" | "fcm";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to each
|
|
9
9
|
*/
|
|
@@ -3,8 +3,8 @@ 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
|
-
type UserChannelChannelStatus = "joined" | "invited" | "not_participating";
|
|
7
|
-
type UserChannelNotificationLevel = "default" | "muted";
|
|
6
|
+
export type UserChannelChannelStatus = "joined" | "invited" | "not_participating";
|
|
7
|
+
export type UserChannelNotificationLevel = "default" | "muted";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to update a UserChannelInstance
|
|
10
10
|
*/
|
|
@@ -5,7 +5,7 @@ import Response from "../../../../http/response";
|
|
|
5
5
|
import V2 from "../../V2";
|
|
6
6
|
import { UserBindingListInstance } from "./user/userBinding";
|
|
7
7
|
import { UserChannelListInstance } from "./user/userChannel";
|
|
8
|
-
type UserWebhookEnabledType = "true" | "false";
|
|
8
|
+
export type UserWebhookEnabledType = "true" | "false";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to update a UserInstance
|
|
11
11
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { inspect, InspectOptions } from "util";
|
|
3
3
|
import V2 from "../V2";
|
|
4
|
-
type PhoneNumberValidationError = "TOO_SHORT" | "TOO_LONG" | "INVALID_BUT_POSSIBLE" | "INVALID_COUNTRY_CODE" | "INVALID_LENGTH" | "NOT_A_NUMBER";
|
|
4
|
+
export type PhoneNumberValidationError = "TOO_SHORT" | "TOO_LONG" | "INVALID_BUT_POSSIBLE" | "INVALID_COUNTRY_CODE" | "INVALID_LENGTH" | "NOT_A_NUMBER";
|
|
5
5
|
/**
|
|
6
6
|
* Options to pass to fetch a PhoneNumberInstance
|
|
7
7
|
*/
|
|
@@ -85,6 +85,8 @@ interface PhoneNumberResource {
|
|
|
85
85
|
live_activity: any;
|
|
86
86
|
line_type_intelligence: any;
|
|
87
87
|
identity_match: any;
|
|
88
|
+
sms_pumping_risk: any;
|
|
89
|
+
disposable_phone_number_risk: any;
|
|
88
90
|
url: string;
|
|
89
91
|
}
|
|
90
92
|
export declare class PhoneNumberInstance {
|
|
@@ -140,6 +142,14 @@ export declare class PhoneNumberInstance {
|
|
|
140
142
|
* An object that contains identity match information. The result of comparing user-provided information including name, address, date of birth, national ID, against authoritative phone-based data sources
|
|
141
143
|
*/
|
|
142
144
|
identityMatch: any;
|
|
145
|
+
/**
|
|
146
|
+
* An object that contains information on if a phone number has been currently or previously blocked by Verify Fraud Guard for receiving malicious SMS pumping traffic as well as other signals associated with risky carriers and low conversion rates.
|
|
147
|
+
*/
|
|
148
|
+
smsPumpingRisk: any;
|
|
149
|
+
/**
|
|
150
|
+
* An object that contains information on if a mobile phone number could be a disposable or burner number.
|
|
151
|
+
*/
|
|
152
|
+
disposablePhoneNumberRisk: any;
|
|
143
153
|
/**
|
|
144
154
|
* The absolute URL of the resource.
|
|
145
155
|
*/
|
|
@@ -180,6 +190,8 @@ export declare class PhoneNumberInstance {
|
|
|
180
190
|
liveActivity: any;
|
|
181
191
|
lineTypeIntelligence: any;
|
|
182
192
|
identityMatch: any;
|
|
193
|
+
smsPumpingRisk: any;
|
|
194
|
+
disposablePhoneNumberRisk: any;
|
|
183
195
|
url: string;
|
|
184
196
|
};
|
|
185
197
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
@@ -100,6 +100,8 @@ class PhoneNumberInstance {
|
|
|
100
100
|
this.liveActivity = payload.live_activity;
|
|
101
101
|
this.lineTypeIntelligence = payload.line_type_intelligence;
|
|
102
102
|
this.identityMatch = payload.identity_match;
|
|
103
|
+
this.smsPumpingRisk = payload.sms_pumping_risk;
|
|
104
|
+
this.disposablePhoneNumberRisk = payload.disposable_phone_number_risk;
|
|
103
105
|
this.url = payload.url;
|
|
104
106
|
this._solution = { phoneNumber: phoneNumber || this.phoneNumber };
|
|
105
107
|
}
|
|
@@ -131,6 +133,8 @@ class PhoneNumberInstance {
|
|
|
131
133
|
liveActivity: this.liveActivity,
|
|
132
134
|
lineTypeIntelligence: this.lineTypeIntelligence,
|
|
133
135
|
identityMatch: this.identityMatch,
|
|
136
|
+
smsPumpingRisk: this.smsPumpingRisk,
|
|
137
|
+
disposablePhoneNumberRisk: this.disposablePhoneNumberRisk,
|
|
134
138
|
url: this.url,
|
|
135
139
|
};
|
|
136
140
|
}
|
|
@@ -3,9 +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
|
-
type MediaProcessorOrder = "asc" | "desc";
|
|
7
|
-
type MediaProcessorStatus = "failed" | "started" | "ended";
|
|
8
|
-
type MediaProcessorUpdateStatus = "ended";
|
|
6
|
+
export type MediaProcessorOrder = "asc" | "desc";
|
|
7
|
+
export type MediaProcessorStatus = "failed" | "started" | "ended";
|
|
8
|
+
export type MediaProcessorUpdateStatus = "ended";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to update a MediaProcessorInstance
|
|
11
11
|
*/
|
|
@@ -3,9 +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
|
-
type MediaRecordingFormat = "mp4" | "webm";
|
|
7
|
-
type MediaRecordingOrder = "asc" | "desc";
|
|
8
|
-
type MediaRecordingStatus = "processing" | "completed" | "deleted" | "failed";
|
|
6
|
+
export type MediaRecordingFormat = "mp4" | "webm";
|
|
7
|
+
export type MediaRecordingOrder = "asc" | "desc";
|
|
8
|
+
export type MediaRecordingStatus = "processing" | "completed" | "deleted" | "failed";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to each
|
|
11
11
|
*/
|
|
@@ -4,10 +4,10 @@ import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import V1 from "../V1";
|
|
6
6
|
import { PlaybackGrantListInstance } from "./playerStreamer/playbackGrant";
|
|
7
|
-
type PlayerStreamerEndedReason = "ended-via-api" | "max-duration-exceeded" | "stream-disconnected-by-source" | "unexpected-failure";
|
|
8
|
-
type PlayerStreamerOrder = "asc" | "desc";
|
|
9
|
-
type PlayerStreamerStatus = "created" | "started" | "ended" | "failed";
|
|
10
|
-
type PlayerStreamerUpdateStatus = "ended";
|
|
7
|
+
export type PlayerStreamerEndedReason = "ended-via-api" | "max-duration-exceeded" | "stream-disconnected-by-source" | "unexpected-failure";
|
|
8
|
+
export type PlayerStreamerOrder = "asc" | "desc";
|
|
9
|
+
export type PlayerStreamerStatus = "created" | "started" | "ended" | "failed";
|
|
10
|
+
export type PlayerStreamerUpdateStatus = "ended";
|
|
11
11
|
/**
|
|
12
12
|
* Options to pass to update a PlayerStreamerInstance
|
|
13
13
|
*/
|
|
@@ -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
|
-
type BrandVettingVettingProvider = "campaign-verify";
|
|
6
|
+
export type BrandVettingVettingProvider = "campaign-verify";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to create a BrandVettingInstance
|
|
9
9
|
*/
|
|
@@ -4,9 +4,9 @@ import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import V1 from "../V1";
|
|
6
6
|
import { BrandVettingListInstance } from "./brandRegistration/brandVetting";
|
|
7
|
-
type BrandRegistrationsBrandFeedback = "TAX_ID" | "STOCK_SYMBOL" | "NONPROFIT" | "GOVERNMENT_ENTITY" | "OTHERS";
|
|
8
|
-
type BrandRegistrationsIdentityStatus = "SELF_DECLARED" | "UNVERIFIED" | "VERIFIED" | "VETTED_VERIFIED";
|
|
9
|
-
type BrandRegistrationsStatus = "PENDING" | "APPROVED" | "FAILED" | "IN_REVIEW" | "DELETED";
|
|
7
|
+
export type BrandRegistrationsBrandFeedback = "TAX_ID" | "STOCK_SYMBOL" | "NONPROFIT" | "GOVERNMENT_ENTITY" | "OTHERS";
|
|
8
|
+
export type BrandRegistrationsIdentityStatus = "SELF_DECLARED" | "UNVERIFIED" | "VERIFIED" | "VETTED_VERIFIED";
|
|
9
|
+
export type BrandRegistrationsStatus = "PENDING" | "APPROVED" | "FAILED" | "IN_REVIEW" | "DELETED";
|
|
10
10
|
/**
|
|
11
11
|
* Options to pass to create a BrandRegistrationInstance
|
|
12
12
|
*/
|
|
@@ -8,7 +8,7 @@ import { PhoneNumberListInstance } from "./service/phoneNumber";
|
|
|
8
8
|
import { ShortCodeListInstance } from "./service/shortCode";
|
|
9
9
|
import { UsAppToPersonListInstance } from "./service/usAppToPerson";
|
|
10
10
|
import { UsAppToPersonUsecaseListInstance } from "./service/usAppToPersonUsecase";
|
|
11
|
-
type ServiceScanMessageContent = "inherit" | "enable" | "disable";
|
|
11
|
+
export type ServiceScanMessageContent = "inherit" | "enable" | "disable";
|
|
12
12
|
/**
|
|
13
13
|
* Options to pass to update a ServiceInstance
|
|
14
14
|
*/
|
|
@@ -3,8 +3,8 @@ 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
|
-
type TollfreeVerificationOptInType = "VERBAL" | "WEB_FORM" | "PAPER_FORM" | "VIA_TEXT" | "MOBILE_QR_CODE";
|
|
7
|
-
type TollfreeVerificationStatus = "PENDING_REVIEW" | "IN_REVIEW" | "TWILIO_APPROVED" | "TWILIO_REJECTED";
|
|
6
|
+
export type TollfreeVerificationOptInType = "VERBAL" | "WEB_FORM" | "PAPER_FORM" | "VIA_TEXT" | "MOBILE_QR_CODE";
|
|
7
|
+
export type TollfreeVerificationStatus = "PENDING_REVIEW" | "IN_REVIEW" | "TWILIO_APPROVED" | "TWILIO_REJECTED";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to update a TollfreeVerificationInstance
|
|
10
10
|
*/
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import MicrovisorBase from "../MicrovisorBase";
|
|
2
2
|
import Version from "../../base/Version";
|
|
3
|
+
import { AccountConfigListInstance } from "./v1/accountConfig";
|
|
4
|
+
import { AccountSecretListInstance } from "./v1/accountSecret";
|
|
3
5
|
import { AppListInstance } from "./v1/app";
|
|
4
6
|
import { DeviceListInstance } from "./v1/device";
|
|
5
7
|
export default class V1 extends Version {
|
|
@@ -9,10 +11,18 @@ export default class V1 extends Version {
|
|
|
9
11
|
* @param domain - The Twilio (Twilio.Microvisor) domain
|
|
10
12
|
*/
|
|
11
13
|
constructor(domain: MicrovisorBase);
|
|
14
|
+
/** accountConfigs - { Twilio.Microvisor.V1.AccountConfigListInstance } resource */
|
|
15
|
+
protected _accountConfigs?: AccountConfigListInstance;
|
|
16
|
+
/** accountSecrets - { Twilio.Microvisor.V1.AccountSecretListInstance } resource */
|
|
17
|
+
protected _accountSecrets?: AccountSecretListInstance;
|
|
12
18
|
/** apps - { Twilio.Microvisor.V1.AppListInstance } resource */
|
|
13
19
|
protected _apps?: AppListInstance;
|
|
14
20
|
/** devices - { Twilio.Microvisor.V1.DeviceListInstance } resource */
|
|
15
21
|
protected _devices?: DeviceListInstance;
|
|
22
|
+
/** Getter for accountConfigs resource */
|
|
23
|
+
get accountConfigs(): AccountConfigListInstance;
|
|
24
|
+
/** Getter for accountSecrets resource */
|
|
25
|
+
get accountSecrets(): AccountSecretListInstance;
|
|
16
26
|
/** Getter for apps resource */
|
|
17
27
|
get apps(): AppListInstance;
|
|
18
28
|
/** Getter for devices resource */
|
|
@@ -17,6 +17,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
19
|
const Version_1 = __importDefault(require("../../base/Version"));
|
|
20
|
+
const accountConfig_1 = require("./v1/accountConfig");
|
|
21
|
+
const accountSecret_1 = require("./v1/accountSecret");
|
|
20
22
|
const app_1 = require("./v1/app");
|
|
21
23
|
const device_1 = require("./v1/device");
|
|
22
24
|
class V1 extends Version_1.default {
|
|
@@ -28,6 +30,18 @@ class V1 extends Version_1.default {
|
|
|
28
30
|
constructor(domain) {
|
|
29
31
|
super(domain, "v1");
|
|
30
32
|
}
|
|
33
|
+
/** Getter for accountConfigs resource */
|
|
34
|
+
get accountConfigs() {
|
|
35
|
+
this._accountConfigs =
|
|
36
|
+
this._accountConfigs || (0, accountConfig_1.AccountConfigListInstance)(this);
|
|
37
|
+
return this._accountConfigs;
|
|
38
|
+
}
|
|
39
|
+
/** Getter for accountSecrets resource */
|
|
40
|
+
get accountSecrets() {
|
|
41
|
+
this._accountSecrets =
|
|
42
|
+
this._accountSecrets || (0, accountSecret_1.AccountSecretListInstance)(this);
|
|
43
|
+
return this._accountSecrets;
|
|
44
|
+
}
|
|
31
45
|
/** Getter for apps resource */
|
|
32
46
|
get apps() {
|
|
33
47
|
this._apps = this._apps || (0, app_1.AppListInstance)(this);
|