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
|
@@ -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 EndUserType = "individual" | "business";
|
|
6
|
+
export type EndUserType = "individual" | "business";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to update a EndUserInstance
|
|
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 RegulationEndUserType = "individual" | "business";
|
|
6
|
+
export type RegulationEndUserType = "individual" | "business";
|
|
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 SupportingDocumentStatus = "draft" | "pending-review" | "rejected" | "approved" | "expired" | "provisionally-approved";
|
|
6
|
+
export type SupportingDocumentStatus = "draft" | "pending-review" | "rejected" | "approved" | "expired" | "provisionally-approved";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to update a SupportingDocumentInstance
|
|
9
9
|
*/
|
package/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import HostedNumbers from "../../HostedNumbers";
|
|
6
6
|
import { PhoneNumberCapabilities } from "../../../../interfaces";
|
|
7
|
-
type DependentHostedNumberOrderStatus = "received" | "pending-verification" | "verified" | "pending-loa" | "carrier-processing" | "testing" | "completed" | "failed" | "action-required";
|
|
8
|
-
type DependentHostedNumberOrderVerificationType = "phone-call" | "phone-bill";
|
|
7
|
+
export type DependentHostedNumberOrderStatus = "received" | "pending-verification" | "verified" | "pending-loa" | "carrier-processing" | "testing" | "completed" | "failed" | "action-required";
|
|
8
|
+
export type DependentHostedNumberOrderVerificationType = "phone-call" | "phone-bill";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to each
|
|
11
11
|
*/
|
|
@@ -4,7 +4,7 @@ import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import HostedNumbers from "../HostedNumbers";
|
|
6
6
|
import { DependentHostedNumberOrderListInstance } from "./authorizationDocument/dependentHostedNumberOrder";
|
|
7
|
-
type AuthorizationDocumentStatus = "opened" | "signing" | "signed" | "canceled" | "failed";
|
|
7
|
+
export type AuthorizationDocumentStatus = "opened" | "signing" | "signed" | "canceled" | "failed";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to update a AuthorizationDocumentInstance
|
|
10
10
|
*/
|
|
@@ -4,8 +4,8 @@ import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import HostedNumbers from "../HostedNumbers";
|
|
6
6
|
import { PhoneNumberCapabilities } from "../../../interfaces";
|
|
7
|
-
type HostedNumberOrderStatus = "received" | "pending-verification" | "verified" | "pending-loa" | "carrier-processing" | "testing" | "completed" | "failed" | "action-required";
|
|
8
|
-
type HostedNumberOrderVerificationType = "phone-call" | "phone-bill";
|
|
7
|
+
export type HostedNumberOrderStatus = "received" | "pending-verification" | "verified" | "pending-loa" | "carrier-processing" | "testing" | "completed" | "failed" | "action-required";
|
|
8
|
+
export type HostedNumberOrderVerificationType = "phone-call" | "phone-bill";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to update a HostedNumberOrderInstance
|
|
11
11
|
*/
|
|
@@ -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 Sync from "../../../Sync";
|
|
6
|
-
type SyncListItemQueryFromBoundType = "inclusive" | "exclusive";
|
|
7
|
-
type SyncListItemQueryResultOrder = "asc" | "desc";
|
|
6
|
+
export type SyncListItemQueryFromBoundType = "inclusive" | "exclusive";
|
|
7
|
+
export type SyncListItemQueryResultOrder = "asc" | "desc";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to remove a SyncListItemInstance
|
|
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 Sync from "../../../Sync";
|
|
6
|
-
type SyncMapItemQueryFromBoundType = "inclusive" | "exclusive";
|
|
7
|
-
type SyncMapItemQueryResultOrder = "asc" | "desc";
|
|
6
|
+
export type SyncMapItemQueryFromBoundType = "inclusive" | "exclusive";
|
|
7
|
+
export type SyncMapItemQueryResultOrder = "asc" | "desc";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to remove a SyncMapItemInstance
|
|
10
10
|
*/
|
|
@@ -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 Understand from "../../Understand";
|
|
6
|
-
type ModelBuildStatus = "enqueued" | "building" | "completed" | "failed" | "canceled";
|
|
6
|
+
export type ModelBuildStatus = "enqueued" | "building" | "completed" | "failed" | "canceled";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to update a ModelBuildInstance
|
|
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 V1 from "../../../V1";
|
|
6
|
-
type InteractionResourceStatus = "accepted" | "answered" | "busy" | "canceled" | "completed" | "deleted" | "delivered" | "delivery-unknown" | "failed" | "in-progress" | "initiated" | "no-answer" | "queued" | "received" | "receiving" | "ringing" | "scheduled" | "sending" | "sent" | "undelivered" | "unknown";
|
|
7
|
-
type InteractionType = "message" | "voice" | "unknown";
|
|
6
|
+
export type InteractionResourceStatus = "accepted" | "answered" | "busy" | "canceled" | "completed" | "deleted" | "delivered" | "delivery-unknown" | "failed" | "in-progress" | "initiated" | "no-answer" | "queued" | "received" | "receiving" | "ringing" | "scheduled" | "sending" | "sent" | "undelivered" | "unknown";
|
|
7
|
+
export type InteractionType = "message" | "voice" | "unknown";
|
|
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 MessageInteractionResourceStatus = "accepted" | "answered" | "busy" | "canceled" | "completed" | "deleted" | "delivered" | "delivery-unknown" | "failed" | "in-progress" | "initiated" | "no-answer" | "queued" | "received" | "receiving" | "ringing" | "scheduled" | "sending" | "sent" | "undelivered" | "unknown";
|
|
7
|
-
type MessageInteractionType = "message" | "voice" | "unknown";
|
|
6
|
+
export type MessageInteractionResourceStatus = "accepted" | "answered" | "busy" | "canceled" | "completed" | "deleted" | "delivered" | "delivery-unknown" | "failed" | "in-progress" | "initiated" | "no-answer" | "queued" | "received" | "receiving" | "ringing" | "scheduled" | "sending" | "sent" | "undelivered" | "unknown";
|
|
7
|
+
export type MessageInteractionType = "message" | "voice" | "unknown";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to create a MessageInteractionInstance
|
|
10
10
|
*/
|
|
@@ -5,8 +5,8 @@ import Response from "../../../../http/response";
|
|
|
5
5
|
import V1 from "../../V1";
|
|
6
6
|
import { InteractionListInstance } from "./session/interaction";
|
|
7
7
|
import { ParticipantListInstance } from "./session/participant";
|
|
8
|
-
type SessionMode = "message-only" | "voice-only" | "voice-and-message";
|
|
9
|
-
type SessionStatus = "open" | "in-progress" | "closed" | "failed" | "unknown";
|
|
8
|
+
export type SessionMode = "message-only" | "voice-only" | "voice-and-message";
|
|
9
|
+
export type SessionStatus = "open" | "in-progress" | "closed" | "failed" | "unknown";
|
|
10
10
|
/**
|
|
11
11
|
* Options to pass to update a SessionInstance
|
|
12
12
|
*/
|
|
@@ -6,8 +6,8 @@ import V1 from "../V1";
|
|
|
6
6
|
import { PhoneNumberListInstance } from "./service/phoneNumber";
|
|
7
7
|
import { SessionListInstance } from "./service/session";
|
|
8
8
|
import { ShortCodeListInstance } from "./service/shortCode";
|
|
9
|
-
type ServiceGeoMatchLevel = "area-code" | "overlay" | "radius" | "country";
|
|
10
|
-
type ServiceNumberSelectionBehavior = "avoid-sticky" | "prefer-sticky";
|
|
9
|
+
export type ServiceGeoMatchLevel = "area-code" | "overlay" | "radius" | "country";
|
|
10
|
+
export type ServiceNumberSelectionBehavior = "avoid-sticky" | "prefer-sticky";
|
|
11
11
|
/**
|
|
12
12
|
* Options to pass to update a ServiceInstance
|
|
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 AssetVersionVisibility = "public" | "private" | "protected";
|
|
6
|
+
export type AssetVersionVisibility = "public" | "private" | "protected";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to each
|
|
9
9
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { inspect, InspectOptions } from "util";
|
|
3
3
|
import V1 from "../../../V1";
|
|
4
|
-
type BuildStatusStatus = "building" | "completed" | "failed";
|
|
4
|
+
export type BuildStatusStatus = "building" | "completed" | "failed";
|
|
5
5
|
export interface BuildStatusContext {
|
|
6
6
|
/**
|
|
7
7
|
* Fetch a BuildStatusInstance
|
|
@@ -4,8 +4,8 @@ import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import V1 from "../../V1";
|
|
6
6
|
import { BuildStatusListInstance } from "./build/buildStatus";
|
|
7
|
-
type BuildRuntime = "node8" | "node10" | "node12" | "node14" | "node16";
|
|
8
|
-
type BuildStatus = "building" | "completed" | "failed";
|
|
7
|
+
export type BuildRuntime = "node8" | "node10" | "node12" | "node14" | "node16";
|
|
8
|
+
export type BuildStatus = "building" | "completed" | "failed";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to create a BuildInstance
|
|
11
11
|
*/
|
|
@@ -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 LogLevel = "info" | "warn" | "error";
|
|
6
|
+
export type LogLevel = "info" | "warn" | "error";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to each
|
|
9
9
|
*/
|
|
@@ -4,7 +4,7 @@ import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V1 from "../../../V1";
|
|
6
6
|
import { FunctionVersionContentListInstance } from "./functionVersion/functionVersionContent";
|
|
7
|
-
type FunctionVersionVisibility = "public" | "private" | "protected";
|
|
7
|
+
export type FunctionVersionVisibility = "public" | "private" | "protected";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to each
|
|
10
10
|
*/
|
|
@@ -5,7 +5,7 @@ import Response from "../../../../http/response";
|
|
|
5
5
|
import V1 from "../../V1";
|
|
6
6
|
import { EngagementContextListInstance } from "./engagement/engagementContext";
|
|
7
7
|
import { StepListInstance } from "./engagement/step";
|
|
8
|
-
type EngagementStatus = "active" | "ended";
|
|
8
|
+
export type EngagementStatus = "active" | "ended";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to create a EngagementInstance
|
|
11
11
|
*/
|
|
@@ -5,7 +5,7 @@ import Response from "../../../../http/response";
|
|
|
5
5
|
import V1 from "../../V1";
|
|
6
6
|
import { ExecutionContextListInstance } from "./execution/executionContext";
|
|
7
7
|
import { ExecutionStepListInstance } from "./execution/executionStep";
|
|
8
|
-
type ExecutionStatus = "active" | "ended";
|
|
8
|
+
export type ExecutionStatus = "active" | "ended";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to update a ExecutionInstance
|
|
11
11
|
*/
|
|
@@ -5,7 +5,7 @@ import Response from "../../../http/response";
|
|
|
5
5
|
import V1 from "../V1";
|
|
6
6
|
import { EngagementListInstance } from "./flow/engagement";
|
|
7
7
|
import { ExecutionListInstance } from "./flow/execution";
|
|
8
|
-
type FlowStatus = "draft" | "published";
|
|
8
|
+
export type FlowStatus = "draft" | "published";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to each
|
|
11
11
|
*/
|
|
@@ -5,7 +5,7 @@ import Response from "../../../../http/response";
|
|
|
5
5
|
import V2 from "../../V2";
|
|
6
6
|
import { ExecutionContextListInstance } from "./execution/executionContext";
|
|
7
7
|
import { ExecutionStepListInstance } from "./execution/executionStep";
|
|
8
|
-
type ExecutionStatus = "active" | "ended";
|
|
8
|
+
export type ExecutionStatus = "active" | "ended";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to update a ExecutionInstance
|
|
11
11
|
*/
|
|
@@ -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 FlowRevisionStatus = "draft" | "published";
|
|
6
|
+
export type FlowRevisionStatus = "draft" | "published";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to each
|
|
9
9
|
*/
|
|
@@ -6,7 +6,7 @@ import V2 from "../V2";
|
|
|
6
6
|
import { ExecutionListInstance } from "./flow/execution";
|
|
7
7
|
import { FlowRevisionListInstance } from "./flow/flowRevision";
|
|
8
8
|
import { FlowTestUserListInstance } from "./flow/flowTestUser";
|
|
9
|
-
type FlowStatus = "draft" | "published";
|
|
9
|
+
export type FlowStatus = "draft" | "published";
|
|
10
10
|
/**
|
|
11
11
|
* Options to pass to update a FlowInstance
|
|
12
12
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { inspect, InspectOptions } from "util";
|
|
3
3
|
import V2 from "../V2";
|
|
4
|
-
type FlowValidateStatus = "draft" | "published";
|
|
4
|
+
export type FlowValidateStatus = "draft" | "published";
|
|
5
5
|
/**
|
|
6
6
|
* Options to pass to update a FlowValidateInstance
|
|
7
7
|
*/
|
|
@@ -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 EsimProfileStatus = "new" | "reserving" | "available" | "downloaded" | "installed" | "failed";
|
|
6
|
+
export type EsimProfileStatus = "new" | "reserving" | "available" | "downloaded" | "installed" | "failed";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to create a EsimProfileInstance
|
|
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 FleetDataMetering = "payg";
|
|
6
|
+
export type FleetDataMetering = "payg";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to update a FleetInstance
|
|
9
9
|
*/
|
|
@@ -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 IpCommandDirection = "to_sim" | "from_sim";
|
|
7
|
-
type IpCommandPayloadType = "text" | "binary";
|
|
8
|
-
type IpCommandStatus = "queued" | "sent" | "received" | "failed";
|
|
6
|
+
export type IpCommandDirection = "to_sim" | "from_sim";
|
|
7
|
+
export type IpCommandPayloadType = "text" | "binary";
|
|
8
|
+
export type IpCommandStatus = "queued" | "sent" | "received" | "failed";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to create a IpCommandInstance
|
|
11
11
|
*/
|
|
@@ -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 SettingsUpdateStatus = "scheduled" | "in-progress" | "successful" | "failed";
|
|
6
|
+
export type SettingsUpdateStatus = "scheduled" | "in-progress" | "successful" | "failed";
|
|
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 V1 from "../../V1";
|
|
6
|
-
type BillingPeriodBpType = "ready" | "active";
|
|
6
|
+
export type BillingPeriodBpType = "ready" | "active";
|
|
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 V1 from "../../V1";
|
|
6
|
-
type SimIpAddressIpAddressVersion = "IPv4" | "IPv6";
|
|
6
|
+
export type SimIpAddressIpAddressVersion = "IPv4" | "IPv6";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to each
|
|
9
9
|
*/
|
|
@@ -5,8 +5,8 @@ import Response from "../../../http/response";
|
|
|
5
5
|
import V1 from "../V1";
|
|
6
6
|
import { BillingPeriodListInstance } from "./sim/billingPeriod";
|
|
7
7
|
import { SimIpAddressListInstance } from "./sim/simIpAddress";
|
|
8
|
-
type SimStatus = "new" | "ready" | "active" | "inactive" | "scheduled";
|
|
9
|
-
type SimStatusUpdate = "ready" | "active" | "inactive";
|
|
8
|
+
export type SimStatus = "new" | "ready" | "active" | "inactive" | "scheduled";
|
|
9
|
+
export type SimStatusUpdate = "ready" | "active" | "inactive";
|
|
10
10
|
/**
|
|
11
11
|
* Options to pass to update a SimInstance
|
|
12
12
|
*/
|
|
@@ -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 SmsCommandDirection = "to_sim" | "from_sim";
|
|
7
|
-
type SmsCommandStatus = "queued" | "sent" | "delivered" | "received" | "failed";
|
|
6
|
+
export type SmsCommandDirection = "to_sim" | "from_sim";
|
|
7
|
+
export type SmsCommandStatus = "queued" | "sent" | "delivered" | "received" | "failed";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to create a SmsCommandInstance
|
|
10
10
|
*/
|
|
@@ -24,7 +24,7 @@ export interface SmsCommandListInstanceCreateOptions {
|
|
|
24
24
|
export interface SmsCommandListInstanceEachOptions {
|
|
25
25
|
/** The SID or unique name of the Sim resource that SMS Command was sent to or from. */
|
|
26
26
|
sim?: string;
|
|
27
|
-
/** The status of the SMS Command. Can be: `queued`, `sent`, `delivered`, `received` or `failed`. See the [SMS Command Status Values](https://www.twilio.com/docs/
|
|
27
|
+
/** The status of the SMS Command. Can be: `queued`, `sent`, `delivered`, `received` or `failed`. See the [SMS Command Status Values](https://www.twilio.com/docs/iot/supersim/api/smscommand-resource#status-values) for a description of each. */
|
|
28
28
|
status?: SmsCommandStatus;
|
|
29
29
|
/** The direction of the SMS Command. Can be `to_sim` or `from_sim`. The value of `to_sim` is synonymous with the term `mobile terminated`, and `from_sim` is synonymous with the term `mobile originated`. */
|
|
30
30
|
direction?: SmsCommandDirection;
|
|
@@ -43,7 +43,7 @@ export interface SmsCommandListInstanceEachOptions {
|
|
|
43
43
|
export interface SmsCommandListInstanceOptions {
|
|
44
44
|
/** The SID or unique name of the Sim resource that SMS Command was sent to or from. */
|
|
45
45
|
sim?: string;
|
|
46
|
-
/** The status of the SMS Command. Can be: `queued`, `sent`, `delivered`, `received` or `failed`. See the [SMS Command Status Values](https://www.twilio.com/docs/
|
|
46
|
+
/** The status of the SMS Command. Can be: `queued`, `sent`, `delivered`, `received` or `failed`. See the [SMS Command Status Values](https://www.twilio.com/docs/iot/supersim/api/smscommand-resource#status-values) for a description of each. */
|
|
47
47
|
status?: SmsCommandStatus;
|
|
48
48
|
/** The direction of the SMS Command. Can be `to_sim` or `from_sim`. The value of `to_sim` is synonymous with the term `mobile terminated`, and `from_sim` is synonymous with the term `mobile originated`. */
|
|
49
49
|
direction?: SmsCommandDirection;
|
|
@@ -58,7 +58,7 @@ export interface SmsCommandListInstanceOptions {
|
|
|
58
58
|
export interface SmsCommandListInstancePageOptions {
|
|
59
59
|
/** The SID or unique name of the Sim resource that SMS Command was sent to or from. */
|
|
60
60
|
sim?: string;
|
|
61
|
-
/** The status of the SMS Command. Can be: `queued`, `sent`, `delivered`, `received` or `failed`. See the [SMS Command Status Values](https://www.twilio.com/docs/
|
|
61
|
+
/** The status of the SMS Command. Can be: `queued`, `sent`, `delivered`, `received` or `failed`. See the [SMS Command Status Values](https://www.twilio.com/docs/iot/supersim/api/smscommand-resource#status-values) for a description of each. */
|
|
62
62
|
status?: SmsCommandStatus;
|
|
63
63
|
/** The direction of the SMS Command. Can be `to_sim` or `from_sim`. The value of `to_sim` is synonymous with the term `mobile terminated`, and `from_sim` is synonymous with the term `mobile originated`. */
|
|
64
64
|
direction?: SmsCommandDirection;
|
|
@@ -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 UsageRecordGranularity = "hour" | "day" | "all";
|
|
7
|
-
type UsageRecordGroup = "sim" | "fleet" | "network" | "isoCountry";
|
|
6
|
+
export type UsageRecordGranularity = "hour" | "day" | "all";
|
|
7
|
+
export type UsageRecordGroup = "sim" | "fleet" | "network" | "isoCountry";
|
|
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 SyncListItemQueryFromBoundType = "inclusive" | "exclusive";
|
|
7
|
-
type SyncListItemQueryResultOrder = "asc" | "desc";
|
|
6
|
+
export type SyncListItemQueryFromBoundType = "inclusive" | "exclusive";
|
|
7
|
+
export type SyncListItemQueryResultOrder = "asc" | "desc";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to remove a SyncListItemInstance
|
|
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 SyncMapItemQueryFromBoundType = "inclusive" | "exclusive";
|
|
7
|
-
type SyncMapItemQueryResultOrder = "asc" | "desc";
|
|
6
|
+
export type SyncMapItemQueryFromBoundType = "inclusive" | "exclusive";
|
|
7
|
+
export type SyncMapItemQueryResultOrder = "asc" | "desc";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to remove a SyncMapItemInstance
|
|
10
10
|
*/
|
|
@@ -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 TaskReservationCallStatus = "initiated" | "ringing" | "answered" | "completed";
|
|
7
|
-
type TaskReservationConferenceEvent = "start" | "end" | "join" | "leave" | "mute" | "hold" | "speaker";
|
|
8
|
-
type TaskReservationStatus = "pending" | "accepted" | "rejected" | "timeout" | "canceled" | "rescinded" | "wrapping" | "completed";
|
|
9
|
-
type TaskReservationSupervisorMode = "monitor" | "whisper" | "barge";
|
|
6
|
+
export type TaskReservationCallStatus = "initiated" | "ringing" | "answered" | "completed";
|
|
7
|
+
export type TaskReservationConferenceEvent = "start" | "end" | "join" | "leave" | "mute" | "hold" | "speaker";
|
|
8
|
+
export type TaskReservationStatus = "pending" | "accepted" | "rejected" | "timeout" | "canceled" | "rescinded" | "wrapping" | "completed";
|
|
9
|
+
export type TaskReservationSupervisorMode = "monitor" | "whisper" | "barge";
|
|
10
10
|
/**
|
|
11
11
|
* Options to pass to update a ReservationInstance
|
|
12
12
|
*/
|
|
@@ -4,7 +4,7 @@ import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import V1 from "../../V1";
|
|
6
6
|
import { ReservationListInstance } from "./task/reservation";
|
|
7
|
-
type TaskStatus = "pending" | "reserved" | "assigned" | "canceled" | "completed" | "wrapping";
|
|
7
|
+
export type TaskStatus = "pending" | "reserved" | "assigned" | "canceled" | "completed" | "wrapping";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to remove a TaskInstance
|
|
10
10
|
*/
|
|
@@ -7,7 +7,7 @@ import { TaskQueueCumulativeStatisticsListInstance } from "./taskQueue/taskQueue
|
|
|
7
7
|
import { TaskQueueRealTimeStatisticsListInstance } from "./taskQueue/taskQueueRealTimeStatistics";
|
|
8
8
|
import { TaskQueueStatisticsListInstance } from "./taskQueue/taskQueueStatistics";
|
|
9
9
|
import { TaskQueuesStatisticsListInstance } from "./taskQueue/taskQueuesStatistics";
|
|
10
|
-
type TaskQueueTaskOrder = "FIFO" | "LIFO";
|
|
10
|
+
export type TaskQueueTaskOrder = "FIFO" | "LIFO";
|
|
11
11
|
/**
|
|
12
12
|
* Options to pass to update a TaskQueueInstance
|
|
13
13
|
*/
|
|
@@ -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 WorkerReservationCallStatus = "initiated" | "ringing" | "answered" | "completed";
|
|
7
|
-
type WorkerReservationConferenceEvent = "start" | "end" | "join" | "leave" | "mute" | "hold" | "speaker";
|
|
8
|
-
type WorkerReservationStatus = "pending" | "accepted" | "rejected" | "timeout" | "canceled" | "rescinded" | "wrapping" | "completed";
|
|
6
|
+
export type WorkerReservationCallStatus = "initiated" | "ringing" | "answered" | "completed";
|
|
7
|
+
export type WorkerReservationConferenceEvent = "start" | "end" | "join" | "leave" | "mute" | "hold" | "speaker";
|
|
8
|
+
export type WorkerReservationStatus = "pending" | "accepted" | "rejected" | "timeout" | "canceled" | "rescinded" | "wrapping" | "completed";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to update a ReservationInstance
|
|
11
11
|
*/
|
|
@@ -13,7 +13,7 @@ import { WorkflowListInstance } from "./workspace/workflow";
|
|
|
13
13
|
import { WorkspaceCumulativeStatisticsListInstance } from "./workspace/workspaceCumulativeStatistics";
|
|
14
14
|
import { WorkspaceRealTimeStatisticsListInstance } from "./workspace/workspaceRealTimeStatistics";
|
|
15
15
|
import { WorkspaceStatisticsListInstance } from "./workspace/workspaceStatistics";
|
|
16
|
-
type WorkspaceQueueOrder = "FIFO" | "LIFO";
|
|
16
|
+
export type WorkspaceQueueOrder = "FIFO" | "LIFO";
|
|
17
17
|
/**
|
|
18
18
|
* Options to pass to update a WorkspaceInstance
|
|
19
19
|
*/
|
|
@@ -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 PhoneNumberAddressRequirement = "none" | "any" | "local" | "foreign";
|
|
6
|
+
export type PhoneNumberAddressRequirement = "none" | "any" | "local" | "foreign";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to create a PhoneNumberInstance
|
|
9
9
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { inspect, InspectOptions } from "util";
|
|
3
3
|
import V1 from "../../V1";
|
|
4
|
-
type RecordingRecordingMode = "do-not-record" | "record-from-ringing" | "record-from-answer" | "record-from-ringing-dual" | "record-from-answer-dual";
|
|
5
|
-
type RecordingRecordingTrim = "trim-silence" | "do-not-trim";
|
|
4
|
+
export type RecordingRecordingMode = "do-not-record" | "record-from-ringing" | "record-from-answer" | "record-from-ringing-dual" | "record-from-answer-dual";
|
|
5
|
+
export type RecordingRecordingTrim = "trim-silence" | "do-not-trim";
|
|
6
6
|
/**
|
|
7
7
|
* Options to pass to update a RecordingInstance
|
|
8
8
|
*/
|
|
@@ -8,8 +8,8 @@ import { IpAccessControlListListInstance } from "./trunk/ipAccessControlList";
|
|
|
8
8
|
import { OriginationUrlListInstance } from "./trunk/originationUrl";
|
|
9
9
|
import { PhoneNumberListInstance } from "./trunk/phoneNumber";
|
|
10
10
|
import { RecordingListInstance } from "./trunk/recording";
|
|
11
|
-
type TrunkTransferCallerId = "from-transferee" | "from-transferor";
|
|
12
|
-
type TrunkTransferSetting = "disable-all" | "enable-all" | "sip-only";
|
|
11
|
+
export type TrunkTransferCallerId = "from-transferee" | "from-transferor";
|
|
12
|
+
export type TrunkTransferSetting = "disable-all" | "enable-all" | "sip-only";
|
|
13
13
|
/**
|
|
14
14
|
* Options to pass to update a TrunkInstance
|
|
15
15
|
*/
|
|
@@ -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 CustomerProfileEvaluationStatus = "compliant" | "noncompliant";
|
|
6
|
+
export type CustomerProfileEvaluationStatus = "compliant" | "noncompliant";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to create a CustomerProfilesEvaluationsInstance
|
|
9
9
|
*/
|
|
@@ -6,7 +6,7 @@ import V1 from "../V1";
|
|
|
6
6
|
import { CustomerProfilesChannelEndpointAssignmentListInstance } from "./customerProfiles/customerProfilesChannelEndpointAssignment";
|
|
7
7
|
import { CustomerProfilesEntityAssignmentsListInstance } from "./customerProfiles/customerProfilesEntityAssignments";
|
|
8
8
|
import { CustomerProfilesEvaluationsListInstance } from "./customerProfiles/customerProfilesEvaluations";
|
|
9
|
-
type CustomerProfileStatus = "draft" | "pending-review" | "in-review" | "twilio-rejected" | "twilio-approved";
|
|
9
|
+
export type CustomerProfileStatus = "draft" | "pending-review" | "in-review" | "twilio-rejected" | "twilio-approved";
|
|
10
10
|
/**
|
|
11
11
|
* Options to pass to update a CustomerProfilesInstance
|
|
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 SupportingDocumentStatus = "draft" | "pending-review" | "rejected" | "approved" | "expired" | "provisionally-approved";
|
|
6
|
+
export type SupportingDocumentStatus = "draft" | "pending-review" | "rejected" | "approved" | "expired" | "provisionally-approved";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to update a SupportingDocumentInstance
|
|
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 TrustProductEvaluationStatus = "compliant" | "noncompliant";
|
|
6
|
+
export type TrustProductEvaluationStatus = "compliant" | "noncompliant";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to create a TrustProductsEvaluationsInstance
|
|
9
9
|
*/
|
|
@@ -6,7 +6,7 @@ import V1 from "../V1";
|
|
|
6
6
|
import { TrustProductsChannelEndpointAssignmentListInstance } from "./trustProducts/trustProductsChannelEndpointAssignment";
|
|
7
7
|
import { TrustProductsEntityAssignmentsListInstance } from "./trustProducts/trustProductsEntityAssignments";
|
|
8
8
|
import { TrustProductsEvaluationsListInstance } from "./trustProducts/trustProductsEvaluations";
|
|
9
|
-
type TrustProductStatus = "draft" | "pending-review" | "in-review" | "twilio-rejected" | "twilio-approved";
|
|
9
|
+
export type TrustProductStatus = "draft" | "pending-review" | "in-review" | "twilio-rejected" | "twilio-approved";
|
|
10
10
|
/**
|
|
11
11
|
* Options to pass to update a TrustProductsInstance
|
|
12
12
|
*/
|