diff --git a/src/rest/api/v2010/account.ts b/src/rest/api/v2010/account.ts index 2f48b49e37..5cfb5abece 100644 --- a/src/rest/api/v2010/account.ts +++ b/src/rest/api/v2010/account.ts @@ -44,9 +44,9 @@ import { TranscriptionListInstance } from "./account/transcription"; import { UsageListInstance } from "./account/usage"; import { ValidationRequestListInstance } from "./account/validationRequest"; -type AccountStatus = "active" | "suspended" | "closed"; +export type AccountStatus = "active" | "suspended" | "closed"; -type AccountType = "Trial" | "Full"; +export type AccountType = "Trial" | "Full"; /** * Options to pass to update a AccountInstance diff --git a/src/rest/api/v2010/account/address/dependentPhoneNumber.ts b/src/rest/api/v2010/account/address/dependentPhoneNumber.ts index 6faf1dc63e..b1fae76b83 100644 --- a/src/rest/api/v2010/account/address/dependentPhoneNumber.ts +++ b/src/rest/api/v2010/account/address/dependentPhoneNumber.ts @@ -20,13 +20,13 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type DependentPhoneNumberAddressRequirement = +export type DependentPhoneNumberAddressRequirement = | "none" | "any" | "local" | "foreign"; -type DependentPhoneNumberEmergencyStatus = "Active" | "Inactive"; +export type DependentPhoneNumberEmergencyStatus = "Active" | "Inactive"; /** * Options to pass to each diff --git a/src/rest/api/v2010/account/authorizedConnectApp.ts b/src/rest/api/v2010/account/authorizedConnectApp.ts index b6a7545d33..89b456e107 100644 --- a/src/rest/api/v2010/account/authorizedConnectApp.ts +++ b/src/rest/api/v2010/account/authorizedConnectApp.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type AuthorizedConnectAppPermission = "get-all" | "post-all"; +export type AuthorizedConnectAppPermission = "get-all" | "post-all"; /** * Options to pass to each diff --git a/src/rest/api/v2010/account/call.ts b/src/rest/api/v2010/account/call.ts index d6d389db6c..8166f9aabf 100644 --- a/src/rest/api/v2010/account/call.ts +++ b/src/rest/api/v2010/account/call.ts @@ -31,7 +31,7 @@ import { UserDefinedMessageListInstance } from "./call/userDefinedMessage"; import { UserDefinedMessageSubscriptionListInstance } from "./call/userDefinedMessageSubscription"; import TwiML from "../../../../twiml/TwiML"; -type CallStatus = +export type CallStatus = | "queued" | "ringing" | "in-progress" @@ -41,7 +41,7 @@ type CallStatus = | "no-answer" | "canceled"; -type CallUpdateStatus = "canceled" | "completed"; +export type CallUpdateStatus = "canceled" | "completed"; /** * Options to pass to update a CallInstance diff --git a/src/rest/api/v2010/account/call/feedback.ts b/src/rest/api/v2010/account/call/feedback.ts index f7be120c1a..03288a1cb6 100644 --- a/src/rest/api/v2010/account/call/feedback.ts +++ b/src/rest/api/v2010/account/call/feedback.ts @@ -18,7 +18,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type CallFeedbackIssues = +export type CallFeedbackIssues = | "audio-latency" | "digits-not-captured" | "dropped-call" diff --git a/src/rest/api/v2010/account/call/feedbackSummary.ts b/src/rest/api/v2010/account/call/feedbackSummary.ts index c2d346077f..499e774c59 100644 --- a/src/rest/api/v2010/account/call/feedbackSummary.ts +++ b/src/rest/api/v2010/account/call/feedbackSummary.ts @@ -18,7 +18,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type CallFeedbackSummaryStatus = +export type CallFeedbackSummaryStatus = | "queued" | "in-progress" | "completed" diff --git a/src/rest/api/v2010/account/call/payment.ts b/src/rest/api/v2010/account/call/payment.ts index 56659e73d3..5410421bd7 100644 --- a/src/rest/api/v2010/account/call/payment.ts +++ b/src/rest/api/v2010/account/call/payment.ts @@ -18,12 +18,12 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type PaymentsBankAccountType = +export type PaymentsBankAccountType = | "consumer-checking" | "consumer-savings" | "commercial-checking"; -type PaymentsCapture = +export type PaymentsCapture = | "payment-card-number" | "expiration-date" | "security-code" @@ -31,11 +31,11 @@ type PaymentsCapture = | "bank-routing-number" | "bank-account-number"; -type PaymentsPaymentMethod = "credit-card" | "ach-debit"; +export type PaymentsPaymentMethod = "credit-card" | "ach-debit"; -type PaymentsStatus = "complete" | "cancel"; +export type PaymentsStatus = "complete" | "cancel"; -type PaymentsTokenType = "one-time" | "reusable"; +export type PaymentsTokenType = "one-time" | "reusable"; /** * Options to pass to update a PaymentInstance diff --git a/src/rest/api/v2010/account/call/recording.ts b/src/rest/api/v2010/account/call/recording.ts index b67ac43531..5c663281b6 100644 --- a/src/rest/api/v2010/account/call/recording.ts +++ b/src/rest/api/v2010/account/call/recording.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type CallRecordingSource = +export type CallRecordingSource = | "DialVerb" | "Conference" | "OutboundAPI" @@ -29,7 +29,7 @@ type CallRecordingSource = | "StartCallRecordingAPI" | "StartConferenceRecordingAPI"; -type CallRecordingStatus = +export type CallRecordingStatus = | "in-progress" | "paused" | "stopped" diff --git a/src/rest/api/v2010/account/call/siprec.ts b/src/rest/api/v2010/account/call/siprec.ts index 584474cc68..04655fd138 100644 --- a/src/rest/api/v2010/account/call/siprec.ts +++ b/src/rest/api/v2010/account/call/siprec.ts @@ -18,11 +18,11 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type SiprecStatus = "in-progress" | "stopped"; +export type SiprecStatus = "in-progress" | "stopped"; -type SiprecTrack = "inbound_track" | "outbound_track" | "both_tracks"; +export type SiprecTrack = "inbound_track" | "outbound_track" | "both_tracks"; -type SiprecUpdateStatus = "stopped"; +export type SiprecUpdateStatus = "stopped"; /** * Options to pass to update a SiprecInstance diff --git a/src/rest/api/v2010/account/call/stream.ts b/src/rest/api/v2010/account/call/stream.ts index 490e2a48e7..f8f1c65103 100644 --- a/src/rest/api/v2010/account/call/stream.ts +++ b/src/rest/api/v2010/account/call/stream.ts @@ -18,11 +18,11 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type StreamStatus = "in-progress" | "stopped"; +export type StreamStatus = "in-progress" | "stopped"; -type StreamTrack = "inbound_track" | "outbound_track" | "both_tracks"; +export type StreamTrack = "inbound_track" | "outbound_track" | "both_tracks"; -type StreamUpdateStatus = "stopped"; +export type StreamUpdateStatus = "stopped"; /** * Options to pass to update a StreamInstance diff --git a/src/rest/api/v2010/account/conference.ts b/src/rest/api/v2010/account/conference.ts index 49d660af32..86ea7bb579 100644 --- a/src/rest/api/v2010/account/conference.ts +++ b/src/rest/api/v2010/account/conference.ts @@ -22,16 +22,16 @@ import { isValidPathParam } from "../../../../base/utility"; import { ParticipantListInstance } from "./conference/participant"; import { RecordingListInstance } from "./conference/recording"; -type ConferenceReasonConferenceEnded = +export type ConferenceReasonConferenceEnded = | "conference-ended-via-api" | "participant-with-end-conference-on-exit-left" | "participant-with-end-conference-on-exit-kicked" | "last-participant-kicked" | "last-participant-left"; -type ConferenceStatus = "init" | "in-progress" | "completed"; +export type ConferenceStatus = "init" | "in-progress" | "completed"; -type ConferenceUpdateStatus = "completed"; +export type ConferenceUpdateStatus = "completed"; /** * Options to pass to update a ConferenceInstance diff --git a/src/rest/api/v2010/account/conference/participant.ts b/src/rest/api/v2010/account/conference/participant.ts index bce4027505..c9b98e5ef0 100644 --- a/src/rest/api/v2010/account/conference/participant.ts +++ b/src/rest/api/v2010/account/conference/participant.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type ParticipantStatus = +export type ParticipantStatus = | "queued" | "connecting" | "ringing" diff --git a/src/rest/api/v2010/account/conference/recording.ts b/src/rest/api/v2010/account/conference/recording.ts index 3abbba97ad..9b15f40c43 100644 --- a/src/rest/api/v2010/account/conference/recording.ts +++ b/src/rest/api/v2010/account/conference/recording.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type ConferenceRecordingSource = +export type ConferenceRecordingSource = | "DialVerb" | "Conference" | "OutboundAPI" @@ -29,7 +29,7 @@ type ConferenceRecordingSource = | "StartCallRecordingAPI" | "StartConferenceRecordingAPI"; -type ConferenceRecordingStatus = +export type ConferenceRecordingStatus = | "in-progress" | "paused" | "stopped" diff --git a/src/rest/api/v2010/account/connectApp.ts b/src/rest/api/v2010/account/connectApp.ts index 63ef1978b1..fbea0351e7 100644 --- a/src/rest/api/v2010/account/connectApp.ts +++ b/src/rest/api/v2010/account/connectApp.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type ConnectAppPermission = "get-all" | "post-all"; +export type ConnectAppPermission = "get-all" | "post-all"; /** * Options to pass to update a ConnectAppInstance diff --git a/src/rest/api/v2010/account/incomingPhoneNumber.ts b/src/rest/api/v2010/account/incomingPhoneNumber.ts index bb68a4c973..bd128f90ad 100644 --- a/src/rest/api/v2010/account/incomingPhoneNumber.ts +++ b/src/rest/api/v2010/account/incomingPhoneNumber.ts @@ -25,13 +25,13 @@ import { MobileListInstance } from "./incomingPhoneNumber/mobile"; import { TollFreeListInstance } from "./incomingPhoneNumber/tollFree"; import { PhoneNumberCapabilities } from "../../../../interfaces"; -type IncomingPhoneNumberAddressRequirement = +export type IncomingPhoneNumberAddressRequirement = | "none" | "any" | "local" | "foreign"; -type IncomingPhoneNumberEmergencyAddressStatus = +export type IncomingPhoneNumberEmergencyAddressStatus = | "registered" | "unregistered" | "pending-registration" @@ -39,9 +39,9 @@ type IncomingPhoneNumberEmergencyAddressStatus = | "pending-unregistration" | "unregistration-failure"; -type IncomingPhoneNumberEmergencyStatus = "Active" | "Inactive"; +export type IncomingPhoneNumberEmergencyStatus = "Active" | "Inactive"; -type IncomingPhoneNumberVoiceReceiveMode = "voice" | "fax"; +export type IncomingPhoneNumberVoiceReceiveMode = "voice" | "fax"; /** * Options to pass to update a IncomingPhoneNumberInstance diff --git a/src/rest/api/v2010/account/incomingPhoneNumber/local.ts b/src/rest/api/v2010/account/incomingPhoneNumber/local.ts index 1f52556658..6e680ac18a 100644 --- a/src/rest/api/v2010/account/incomingPhoneNumber/local.ts +++ b/src/rest/api/v2010/account/incomingPhoneNumber/local.ts @@ -21,13 +21,13 @@ const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; import { PhoneNumberCapabilities } from "../../../../../interfaces"; -type IncomingPhoneNumberLocalAddressRequirement = +export type IncomingPhoneNumberLocalAddressRequirement = | "none" | "any" | "local" | "foreign"; -type IncomingPhoneNumberLocalEmergencyAddressStatus = +export type IncomingPhoneNumberLocalEmergencyAddressStatus = | "registered" | "unregistered" | "pending-registration" @@ -35,9 +35,9 @@ type IncomingPhoneNumberLocalEmergencyAddressStatus = | "pending-unregistration" | "unregistration-failure"; -type IncomingPhoneNumberLocalEmergencyStatus = "Active" | "Inactive"; +export type IncomingPhoneNumberLocalEmergencyStatus = "Active" | "Inactive"; -type IncomingPhoneNumberLocalVoiceReceiveMode = "voice" | "fax"; +export type IncomingPhoneNumberLocalVoiceReceiveMode = "voice" | "fax"; /** * Options to pass to create a LocalInstance diff --git a/src/rest/api/v2010/account/incomingPhoneNumber/mobile.ts b/src/rest/api/v2010/account/incomingPhoneNumber/mobile.ts index 71b0eb0b2a..6578c28e9a 100644 --- a/src/rest/api/v2010/account/incomingPhoneNumber/mobile.ts +++ b/src/rest/api/v2010/account/incomingPhoneNumber/mobile.ts @@ -21,13 +21,13 @@ const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; import { PhoneNumberCapabilities } from "../../../../../interfaces"; -type IncomingPhoneNumberMobileAddressRequirement = +export type IncomingPhoneNumberMobileAddressRequirement = | "none" | "any" | "local" | "foreign"; -type IncomingPhoneNumberMobileEmergencyAddressStatus = +export type IncomingPhoneNumberMobileEmergencyAddressStatus = | "registered" | "unregistered" | "pending-registration" @@ -35,9 +35,9 @@ type IncomingPhoneNumberMobileEmergencyAddressStatus = | "pending-unregistration" | "unregistration-failure"; -type IncomingPhoneNumberMobileEmergencyStatus = "Active" | "Inactive"; +export type IncomingPhoneNumberMobileEmergencyStatus = "Active" | "Inactive"; -type IncomingPhoneNumberMobileVoiceReceiveMode = "voice" | "fax"; +export type IncomingPhoneNumberMobileVoiceReceiveMode = "voice" | "fax"; /** * Options to pass to create a MobileInstance diff --git a/src/rest/api/v2010/account/incomingPhoneNumber/tollFree.ts b/src/rest/api/v2010/account/incomingPhoneNumber/tollFree.ts index 4b5ae54e3b..a6b26d5b88 100644 --- a/src/rest/api/v2010/account/incomingPhoneNumber/tollFree.ts +++ b/src/rest/api/v2010/account/incomingPhoneNumber/tollFree.ts @@ -21,13 +21,13 @@ const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; import { PhoneNumberCapabilities } from "../../../../../interfaces"; -type IncomingPhoneNumberTollFreeAddressRequirement = +export type IncomingPhoneNumberTollFreeAddressRequirement = | "none" | "any" | "local" | "foreign"; -type IncomingPhoneNumberTollFreeEmergencyAddressStatus = +export type IncomingPhoneNumberTollFreeEmergencyAddressStatus = | "registered" | "unregistered" | "pending-registration" @@ -35,9 +35,9 @@ type IncomingPhoneNumberTollFreeEmergencyAddressStatus = | "pending-unregistration" | "unregistration-failure"; -type IncomingPhoneNumberTollFreeEmergencyStatus = "Active" | "Inactive"; +export type IncomingPhoneNumberTollFreeEmergencyStatus = "Active" | "Inactive"; -type IncomingPhoneNumberTollFreeVoiceReceiveMode = "voice" | "fax"; +export type IncomingPhoneNumberTollFreeVoiceReceiveMode = "voice" | "fax"; /** * Options to pass to create a TollFreeInstance diff --git a/src/rest/api/v2010/account/message.ts b/src/rest/api/v2010/account/message.ts index 9f0266c200..700bc1ae64 100644 --- a/src/rest/api/v2010/account/message.ts +++ b/src/rest/api/v2010/account/message.ts @@ -22,19 +22,19 @@ import { isValidPathParam } from "../../../../base/utility"; import { FeedbackListInstance } from "./message/feedback"; import { MediaListInstance } from "./message/media"; -type MessageAddressRetention = "retain"; +export type MessageAddressRetention = "retain"; -type MessageContentRetention = "retain"; +export type MessageContentRetention = "retain"; -type MessageDirection = +export type MessageDirection = | "inbound" | "outbound-api" | "outbound-call" | "outbound-reply"; -type MessageScheduleType = "fixed"; +export type MessageScheduleType = "fixed"; -type MessageStatus = +export type MessageStatus = | "queued" | "sending" | "sent" @@ -49,7 +49,7 @@ type MessageStatus = | "partially_delivered" | "canceled"; -type MessageUpdateStatus = "canceled"; +export type MessageUpdateStatus = "canceled"; /** * Options to pass to update a MessageInstance diff --git a/src/rest/api/v2010/account/message/feedback.ts b/src/rest/api/v2010/account/message/feedback.ts index b77cc3a051..1a4ec13f59 100644 --- a/src/rest/api/v2010/account/message/feedback.ts +++ b/src/rest/api/v2010/account/message/feedback.ts @@ -18,7 +18,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type MessageFeedbackOutcome = "confirmed" | "unconfirmed"; +export type MessageFeedbackOutcome = "confirmed" | "unconfirmed"; /** * Options to pass to create a FeedbackInstance diff --git a/src/rest/api/v2010/account/recording.ts b/src/rest/api/v2010/account/recording.ts index c25ea82fd0..26e1ecc25f 100644 --- a/src/rest/api/v2010/account/recording.ts +++ b/src/rest/api/v2010/account/recording.ts @@ -22,7 +22,7 @@ import { isValidPathParam } from "../../../../base/utility"; import { AddOnResultListInstance } from "./recording/addOnResult"; import { TranscriptionListInstance } from "./recording/transcription"; -type RecordingSource = +export type RecordingSource = | "DialVerb" | "Conference" | "OutboundAPI" @@ -31,7 +31,7 @@ type RecordingSource = | "StartCallRecordingAPI" | "StartConferenceRecordingAPI"; -type RecordingStatus = +export type RecordingStatus = | "in-progress" | "paused" | "stopped" diff --git a/src/rest/api/v2010/account/recording/addOnResult.ts b/src/rest/api/v2010/account/recording/addOnResult.ts index a74c921b4a..cdca4361fb 100644 --- a/src/rest/api/v2010/account/recording/addOnResult.ts +++ b/src/rest/api/v2010/account/recording/addOnResult.ts @@ -21,7 +21,7 @@ const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; import { PayloadListInstance } from "./addOnResult/payload"; -type RecordingAddOnResultStatus = +export type RecordingAddOnResultStatus = | "canceled" | "completed" | "deleted" diff --git a/src/rest/api/v2010/account/recording/transcription.ts b/src/rest/api/v2010/account/recording/transcription.ts index 6dcf0a255e..56a9c6f162 100644 --- a/src/rest/api/v2010/account/recording/transcription.ts +++ b/src/rest/api/v2010/account/recording/transcription.ts @@ -20,7 +20,10 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type RecordingTranscriptionStatus = "in-progress" | "completed" | "failed"; +export type RecordingTranscriptionStatus = + | "in-progress" + | "completed" + | "failed"; /** * Options to pass to each diff --git a/src/rest/api/v2010/account/transcription.ts b/src/rest/api/v2010/account/transcription.ts index e0b1f27fa4..52944b7d9c 100644 --- a/src/rest/api/v2010/account/transcription.ts +++ b/src/rest/api/v2010/account/transcription.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type TranscriptionStatus = "in-progress" | "completed" | "failed"; +export type TranscriptionStatus = "in-progress" | "completed" | "failed"; /** * Options to pass to each diff --git a/src/rest/api/v2010/account/usage.ts b/src/rest/api/v2010/account/usage.ts index 8cb62ea39f..30e4a4a1aa 100644 --- a/src/rest/api/v2010/account/usage.ts +++ b/src/rest/api/v2010/account/usage.ts @@ -20,7 +20,7 @@ import { isValidPathParam } from "../../../../base/utility"; import { RecordListInstance } from "./usage/record"; import { TriggerListInstance } from "./usage/trigger"; -type UsageRecordCategory = +export type UsageRecordCategory = | "a2p-registration-fees" | "agent-conference" | "amazon-polly" diff --git a/src/rest/api/v2010/account/usage/record.ts b/src/rest/api/v2010/account/usage/record.ts index 35f4a6b1bf..831fdc41d9 100644 --- a/src/rest/api/v2010/account/usage/record.ts +++ b/src/rest/api/v2010/account/usage/record.ts @@ -28,7 +28,7 @@ import { TodayListInstance } from "./record/today"; import { YearlyListInstance } from "./record/yearly"; import { YesterdayListInstance } from "./record/yesterday"; -type UsageRecordCategory = +export type UsageRecordCategory = | "a2p-registration-fees" | "agent-conference" | "amazon-polly" diff --git a/src/rest/api/v2010/account/usage/record/allTime.ts b/src/rest/api/v2010/account/usage/record/allTime.ts index 0d1a96320a..e6921ab615 100644 --- a/src/rest/api/v2010/account/usage/record/allTime.ts +++ b/src/rest/api/v2010/account/usage/record/allTime.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../../base/deserialize"); const serialize = require("../../../../../../base/serialize"); import { isValidPathParam } from "../../../../../../base/utility"; -type UsageRecordAllTimeCategory = +export type UsageRecordAllTimeCategory = | "a2p-registration-fees" | "agent-conference" | "amazon-polly" diff --git a/src/rest/api/v2010/account/usage/record/daily.ts b/src/rest/api/v2010/account/usage/record/daily.ts index 02b6abd0d6..5d83fdac2a 100644 --- a/src/rest/api/v2010/account/usage/record/daily.ts +++ b/src/rest/api/v2010/account/usage/record/daily.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../../base/deserialize"); const serialize = require("../../../../../../base/serialize"); import { isValidPathParam } from "../../../../../../base/utility"; -type UsageRecordDailyCategory = +export type UsageRecordDailyCategory = | "a2p-registration-fees" | "agent-conference" | "amazon-polly" diff --git a/src/rest/api/v2010/account/usage/record/lastMonth.ts b/src/rest/api/v2010/account/usage/record/lastMonth.ts index f0b44b6336..68cae35024 100644 --- a/src/rest/api/v2010/account/usage/record/lastMonth.ts +++ b/src/rest/api/v2010/account/usage/record/lastMonth.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../../base/deserialize"); const serialize = require("../../../../../../base/serialize"); import { isValidPathParam } from "../../../../../../base/utility"; -type UsageRecordLastMonthCategory = +export type UsageRecordLastMonthCategory = | "a2p-registration-fees" | "agent-conference" | "amazon-polly" diff --git a/src/rest/api/v2010/account/usage/record/monthly.ts b/src/rest/api/v2010/account/usage/record/monthly.ts index 3c4727639c..18ea41ec44 100644 --- a/src/rest/api/v2010/account/usage/record/monthly.ts +++ b/src/rest/api/v2010/account/usage/record/monthly.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../../base/deserialize"); const serialize = require("../../../../../../base/serialize"); import { isValidPathParam } from "../../../../../../base/utility"; -type UsageRecordMonthlyCategory = +export type UsageRecordMonthlyCategory = | "a2p-registration-fees" | "agent-conference" | "amazon-polly" diff --git a/src/rest/api/v2010/account/usage/record/thisMonth.ts b/src/rest/api/v2010/account/usage/record/thisMonth.ts index e3b09675ff..cd9f69c84c 100644 --- a/src/rest/api/v2010/account/usage/record/thisMonth.ts +++ b/src/rest/api/v2010/account/usage/record/thisMonth.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../../base/deserialize"); const serialize = require("../../../../../../base/serialize"); import { isValidPathParam } from "../../../../../../base/utility"; -type UsageRecordThisMonthCategory = +export type UsageRecordThisMonthCategory = | "a2p-registration-fees" | "agent-conference" | "amazon-polly" diff --git a/src/rest/api/v2010/account/usage/record/today.ts b/src/rest/api/v2010/account/usage/record/today.ts index 2b5d7e80fa..8f9c9a868c 100644 --- a/src/rest/api/v2010/account/usage/record/today.ts +++ b/src/rest/api/v2010/account/usage/record/today.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../../base/deserialize"); const serialize = require("../../../../../../base/serialize"); import { isValidPathParam } from "../../../../../../base/utility"; -type UsageRecordTodayCategory = +export type UsageRecordTodayCategory = | "a2p-registration-fees" | "agent-conference" | "amazon-polly" diff --git a/src/rest/api/v2010/account/usage/record/yearly.ts b/src/rest/api/v2010/account/usage/record/yearly.ts index 5c0c788b62..e93f453f14 100644 --- a/src/rest/api/v2010/account/usage/record/yearly.ts +++ b/src/rest/api/v2010/account/usage/record/yearly.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../../base/deserialize"); const serialize = require("../../../../../../base/serialize"); import { isValidPathParam } from "../../../../../../base/utility"; -type UsageRecordYearlyCategory = +export type UsageRecordYearlyCategory = | "a2p-registration-fees" | "agent-conference" | "amazon-polly" diff --git a/src/rest/api/v2010/account/usage/record/yesterday.ts b/src/rest/api/v2010/account/usage/record/yesterday.ts index b455fdfee8..2edc948992 100644 --- a/src/rest/api/v2010/account/usage/record/yesterday.ts +++ b/src/rest/api/v2010/account/usage/record/yesterday.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../../base/deserialize"); const serialize = require("../../../../../../base/serialize"); import { isValidPathParam } from "../../../../../../base/utility"; -type UsageRecordYesterdayCategory = +export type UsageRecordYesterdayCategory = | "a2p-registration-fees" | "agent-conference" | "amazon-polly" diff --git a/src/rest/api/v2010/account/usage/trigger.ts b/src/rest/api/v2010/account/usage/trigger.ts index cfd9a18555..93928087ca 100644 --- a/src/rest/api/v2010/account/usage/trigger.ts +++ b/src/rest/api/v2010/account/usage/trigger.ts @@ -20,11 +20,11 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type UsageTriggerRecurring = "daily" | "monthly" | "yearly" | "alltime"; +export type UsageTriggerRecurring = "daily" | "monthly" | "yearly" | "alltime"; -type UsageTriggerTriggerField = "count" | "usage" | "price"; +export type UsageTriggerTriggerField = "count" | "usage" | "price"; -type UsageTriggerUsageCategory = +export type UsageTriggerUsageCategory = | "a2p-registration-fees" | "agent-conference" | "amazon-polly" diff --git a/src/rest/autopilot/v1/assistant/modelBuild.ts b/src/rest/autopilot/v1/assistant/modelBuild.ts index fcda1fe349..19140b39e5 100644 --- a/src/rest/autopilot/v1/assistant/modelBuild.ts +++ b/src/rest/autopilot/v1/assistant/modelBuild.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type ModelBuildStatus = +export type ModelBuildStatus = | "enqueued" | "building" | "completed" diff --git a/src/rest/chat/v1/credential.ts b/src/rest/chat/v1/credential.ts index 9db1d64294..ec5f31c03d 100644 --- a/src/rest/chat/v1/credential.ts +++ b/src/rest/chat/v1/credential.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type CredentialPushService = "gcm" | "apn" | "fcm"; +export type CredentialPushService = "gcm" | "apn" | "fcm"; /** * Options to pass to update a CredentialInstance diff --git a/src/rest/chat/v1/service/channel.ts b/src/rest/chat/v1/service/channel.ts index eaf7808e81..d639e7b0aa 100644 --- a/src/rest/chat/v1/service/channel.ts +++ b/src/rest/chat/v1/service/channel.ts @@ -23,7 +23,7 @@ import { InviteListInstance } from "./channel/invite"; import { MemberListInstance } from "./channel/member"; import { MessageListInstance } from "./channel/message"; -type ChannelChannelType = "public" | "private"; +export type ChannelChannelType = "public" | "private"; /** * Options to pass to update a ChannelInstance diff --git a/src/rest/chat/v1/service/channel/message.ts b/src/rest/chat/v1/service/channel/message.ts index 76d16797c5..e02134a132 100644 --- a/src/rest/chat/v1/service/channel/message.ts +++ b/src/rest/chat/v1/service/channel/message.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type MessageOrderType = "asc" | "desc"; +export type MessageOrderType = "asc" | "desc"; /** * Options to pass to update a MessageInstance diff --git a/src/rest/chat/v1/service/role.ts b/src/rest/chat/v1/service/role.ts index 0a3933f4ba..0499bc9462 100644 --- a/src/rest/chat/v1/service/role.ts +++ b/src/rest/chat/v1/service/role.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type RoleRoleType = "channel" | "deployment"; +export type RoleRoleType = "channel" | "deployment"; /** * Options to pass to update a RoleInstance diff --git a/src/rest/chat/v1/service/user/userChannel.ts b/src/rest/chat/v1/service/user/userChannel.ts index 1889295bda..fff619a2b1 100644 --- a/src/rest/chat/v1/service/user/userChannel.ts +++ b/src/rest/chat/v1/service/user/userChannel.ts @@ -20,7 +20,10 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type UserChannelChannelStatus = "joined" | "invited" | "not_participating"; +export type UserChannelChannelStatus = + | "joined" + | "invited" + | "not_participating"; /** * Options to pass to each diff --git a/src/rest/chat/v2/credential.ts b/src/rest/chat/v2/credential.ts index 92c2913d81..2a00989633 100644 --- a/src/rest/chat/v2/credential.ts +++ b/src/rest/chat/v2/credential.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type CredentialPushService = "gcm" | "apn" | "fcm"; +export type CredentialPushService = "gcm" | "apn" | "fcm"; /** * Options to pass to update a CredentialInstance diff --git a/src/rest/chat/v2/service/binding.ts b/src/rest/chat/v2/service/binding.ts index 0fb33f2886..79b3ed2226 100644 --- a/src/rest/chat/v2/service/binding.ts +++ b/src/rest/chat/v2/service/binding.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type BindingBindingType = "gcm" | "apn" | "fcm"; +export type BindingBindingType = "gcm" | "apn" | "fcm"; /** * Options to pass to each diff --git a/src/rest/chat/v2/service/channel.ts b/src/rest/chat/v2/service/channel.ts index 4ec46db2a3..9f205d865e 100644 --- a/src/rest/chat/v2/service/channel.ts +++ b/src/rest/chat/v2/service/channel.ts @@ -24,9 +24,9 @@ import { MemberListInstance } from "./channel/member"; import { MessageListInstance } from "./channel/message"; import { WebhookListInstance } from "./channel/webhook"; -type ChannelChannelType = "public" | "private"; +export type ChannelChannelType = "public" | "private"; -type ChannelWebhookEnabledType = "true" | "false"; +export type ChannelWebhookEnabledType = "true" | "false"; /** * Options to pass to remove a ChannelInstance diff --git a/src/rest/chat/v2/service/channel/member.ts b/src/rest/chat/v2/service/channel/member.ts index 8d92c822ef..74e67f8d12 100644 --- a/src/rest/chat/v2/service/channel/member.ts +++ b/src/rest/chat/v2/service/channel/member.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type MemberWebhookEnabledType = "true" | "false"; +export type MemberWebhookEnabledType = "true" | "false"; /** * Options to pass to remove a MemberInstance diff --git a/src/rest/chat/v2/service/channel/message.ts b/src/rest/chat/v2/service/channel/message.ts index c079dba6d0..7a6449c636 100644 --- a/src/rest/chat/v2/service/channel/message.ts +++ b/src/rest/chat/v2/service/channel/message.ts @@ -20,9 +20,9 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type MessageOrderType = "asc" | "desc"; +export type MessageOrderType = "asc" | "desc"; -type MessageWebhookEnabledType = "true" | "false"; +export type MessageWebhookEnabledType = "true" | "false"; /** * Options to pass to remove a MessageInstance diff --git a/src/rest/chat/v2/service/channel/webhook.ts b/src/rest/chat/v2/service/channel/webhook.ts index 04ad992b97..9048e0430a 100644 --- a/src/rest/chat/v2/service/channel/webhook.ts +++ b/src/rest/chat/v2/service/channel/webhook.ts @@ -20,9 +20,9 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type ChannelWebhookMethod = "GET" | "POST"; +export type ChannelWebhookMethod = "GET" | "POST"; -type ChannelWebhookType = "webhook" | "trigger" | "studio"; +export type ChannelWebhookType = "webhook" | "trigger" | "studio"; /** * Options to pass to update a WebhookInstance diff --git a/src/rest/chat/v2/service/role.ts b/src/rest/chat/v2/service/role.ts index 095e90eb62..a6c5739c05 100644 --- a/src/rest/chat/v2/service/role.ts +++ b/src/rest/chat/v2/service/role.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type RoleRoleType = "channel" | "deployment"; +export type RoleRoleType = "channel" | "deployment"; /** * Options to pass to update a RoleInstance diff --git a/src/rest/chat/v2/service/user.ts b/src/rest/chat/v2/service/user.ts index d423b7a698..33d65b1c29 100644 --- a/src/rest/chat/v2/service/user.ts +++ b/src/rest/chat/v2/service/user.ts @@ -22,7 +22,7 @@ import { isValidPathParam } from "../../../../base/utility"; import { UserBindingListInstance } from "./user/userBinding"; import { UserChannelListInstance } from "./user/userChannel"; -type UserWebhookEnabledType = "true" | "false"; +export type UserWebhookEnabledType = "true" | "false"; /** * Options to pass to update a UserInstance diff --git a/src/rest/chat/v2/service/user/userBinding.ts b/src/rest/chat/v2/service/user/userBinding.ts index 6957f1eb28..e72fe78eac 100644 --- a/src/rest/chat/v2/service/user/userBinding.ts +++ b/src/rest/chat/v2/service/user/userBinding.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type UserBindingBindingType = "gcm" | "apn" | "fcm"; +export type UserBindingBindingType = "gcm" | "apn" | "fcm"; /** * Options to pass to each diff --git a/src/rest/chat/v2/service/user/userChannel.ts b/src/rest/chat/v2/service/user/userChannel.ts index e0fbe9a96e..98c7a8b0fa 100644 --- a/src/rest/chat/v2/service/user/userChannel.ts +++ b/src/rest/chat/v2/service/user/userChannel.ts @@ -20,11 +20,14 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type UserChannelChannelStatus = "joined" | "invited" | "not_participating"; +export type UserChannelChannelStatus = + | "joined" + | "invited" + | "not_participating"; -type UserChannelNotificationLevel = "default" | "muted"; +export type UserChannelNotificationLevel = "default" | "muted"; -type UserChannelWebhookEnabledType = "true" | "false"; +export type UserChannelWebhookEnabledType = "true" | "false"; /** * Options to pass to remove a UserChannelInstance diff --git a/src/rest/chat/v3/channel.ts b/src/rest/chat/v3/channel.ts index 2b0f6966ca..abb7a20c4e 100644 --- a/src/rest/chat/v3/channel.ts +++ b/src/rest/chat/v3/channel.ts @@ -18,9 +18,9 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type ChannelChannelType = "public" | "private"; +export type ChannelChannelType = "public" | "private"; -type ChannelWebhookEnabledType = "true" | "false"; +export type ChannelWebhookEnabledType = "true" | "false"; /** * Options to pass to update a ChannelInstance diff --git a/src/rest/conversations/v1/addressConfiguration.ts b/src/rest/conversations/v1/addressConfiguration.ts index 21a6fcf2bd..ed8d360911 100644 --- a/src/rest/conversations/v1/addressConfiguration.ts +++ b/src/rest/conversations/v1/addressConfiguration.ts @@ -20,11 +20,14 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type ConfigurationAddressAutoCreationType = "webhook" | "studio" | "default"; +export type ConfigurationAddressAutoCreationType = + | "webhook" + | "studio" + | "default"; -type ConfigurationAddressMethod = "GET" | "POST"; +export type ConfigurationAddressMethod = "GET" | "POST"; -type ConfigurationAddressType = "sms" | "whatsapp" | "messenger" | "gbm"; +export type ConfigurationAddressType = "sms" | "whatsapp" | "messenger" | "gbm"; /** * Options to pass to update a AddressConfigurationInstance diff --git a/src/rest/conversations/v1/configuration/webhook.ts b/src/rest/conversations/v1/configuration/webhook.ts index ccc3abeb9f..96c8931e53 100644 --- a/src/rest/conversations/v1/configuration/webhook.ts +++ b/src/rest/conversations/v1/configuration/webhook.ts @@ -18,9 +18,9 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type ConfigurationWebhookMethod = "GET" | "POST"; +export type ConfigurationWebhookMethod = "GET" | "POST"; -type ConfigurationWebhookTarget = "webhook" | "flex"; +export type ConfigurationWebhookTarget = "webhook" | "flex"; /** * Options to pass to update a WebhookInstance diff --git a/src/rest/conversations/v1/conversation.ts b/src/rest/conversations/v1/conversation.ts index a39c718ac0..4fa9a31f63 100644 --- a/src/rest/conversations/v1/conversation.ts +++ b/src/rest/conversations/v1/conversation.ts @@ -23,9 +23,9 @@ import { MessageListInstance } from "./conversation/message"; import { ParticipantListInstance } from "./conversation/participant"; import { WebhookListInstance } from "./conversation/webhook"; -type ConversationState = "inactive" | "active" | "closed"; +export type ConversationState = "inactive" | "active" | "closed"; -type ConversationWebhookEnabledType = "true" | "false"; +export type ConversationWebhookEnabledType = "true" | "false"; /** * Options to pass to remove a ConversationInstance diff --git a/src/rest/conversations/v1/conversation/message.ts b/src/rest/conversations/v1/conversation/message.ts index 8b6c1171b2..6a6742fc36 100644 --- a/src/rest/conversations/v1/conversation/message.ts +++ b/src/rest/conversations/v1/conversation/message.ts @@ -21,9 +21,9 @@ const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; import { DeliveryReceiptListInstance } from "./message/deliveryReceipt"; -type ConversationMessageOrderType = "asc" | "desc"; +export type ConversationMessageOrderType = "asc" | "desc"; -type ConversationMessageWebhookEnabledType = "true" | "false"; +export type ConversationMessageWebhookEnabledType = "true" | "false"; /** * Options to pass to remove a MessageInstance diff --git a/src/rest/conversations/v1/conversation/message/deliveryReceipt.ts b/src/rest/conversations/v1/conversation/message/deliveryReceipt.ts index 62efd93111..0f8c9bcde6 100644 --- a/src/rest/conversations/v1/conversation/message/deliveryReceipt.ts +++ b/src/rest/conversations/v1/conversation/message/deliveryReceipt.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type ConversationMessageReceiptDeliveryStatus = +export type ConversationMessageReceiptDeliveryStatus = | "read" | "failed" | "delivered" diff --git a/src/rest/conversations/v1/conversation/participant.ts b/src/rest/conversations/v1/conversation/participant.ts index e825d7e23b..505d70ea60 100644 --- a/src/rest/conversations/v1/conversation/participant.ts +++ b/src/rest/conversations/v1/conversation/participant.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type ConversationParticipantWebhookEnabledType = "true" | "false"; +export type ConversationParticipantWebhookEnabledType = "true" | "false"; /** * Options to pass to remove a ParticipantInstance diff --git a/src/rest/conversations/v1/conversation/webhook.ts b/src/rest/conversations/v1/conversation/webhook.ts index 86c3b40e45..1ca48abb05 100644 --- a/src/rest/conversations/v1/conversation/webhook.ts +++ b/src/rest/conversations/v1/conversation/webhook.ts @@ -20,9 +20,9 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type ConversationScopedWebhookMethod = "GET" | "POST"; +export type ConversationScopedWebhookMethod = "GET" | "POST"; -type ConversationScopedWebhookTarget = "webhook" | "trigger" | "studio"; +export type ConversationScopedWebhookTarget = "webhook" | "trigger" | "studio"; /** * Options to pass to update a WebhookInstance diff --git a/src/rest/conversations/v1/credential.ts b/src/rest/conversations/v1/credential.ts index e8bf4c8d83..765394ad4e 100644 --- a/src/rest/conversations/v1/credential.ts +++ b/src/rest/conversations/v1/credential.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type CredentialPushType = "apn" | "gcm" | "fcm"; +export type CredentialPushType = "apn" | "gcm" | "fcm"; /** * Options to pass to update a CredentialInstance diff --git a/src/rest/conversations/v1/participantConversation.ts b/src/rest/conversations/v1/participantConversation.ts index a480e06daf..d897fd1466 100644 --- a/src/rest/conversations/v1/participantConversation.ts +++ b/src/rest/conversations/v1/participantConversation.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type ParticipantConversationState = "inactive" | "active" | "closed"; +export type ParticipantConversationState = "inactive" | "active" | "closed"; /** * Options to pass to each diff --git a/src/rest/conversations/v1/role.ts b/src/rest/conversations/v1/role.ts index dc964cd2f8..e5d460040c 100644 --- a/src/rest/conversations/v1/role.ts +++ b/src/rest/conversations/v1/role.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type RoleRoleType = "conversation" | "service"; +export type RoleRoleType = "conversation" | "service"; /** * Options to pass to update a RoleInstance diff --git a/src/rest/conversations/v1/service/binding.ts b/src/rest/conversations/v1/service/binding.ts index ed12973bf8..2129326761 100644 --- a/src/rest/conversations/v1/service/binding.ts +++ b/src/rest/conversations/v1/service/binding.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type ServiceBindingBindingType = "apn" | "gcm" | "fcm"; +export type ServiceBindingBindingType = "apn" | "gcm" | "fcm"; /** * Options to pass to each diff --git a/src/rest/conversations/v1/service/configuration/webhook.ts b/src/rest/conversations/v1/service/configuration/webhook.ts index 7a4c74f02f..da6c5df22d 100644 --- a/src/rest/conversations/v1/service/configuration/webhook.ts +++ b/src/rest/conversations/v1/service/configuration/webhook.ts @@ -18,7 +18,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type ServiceWebhookConfigurationMethod = "GET" | "POST"; +export type ServiceWebhookConfigurationMethod = "GET" | "POST"; /** * Options to pass to update a WebhookInstance diff --git a/src/rest/conversations/v1/service/conversation.ts b/src/rest/conversations/v1/service/conversation.ts index 8bbf0f1e23..e6dcdb0004 100644 --- a/src/rest/conversations/v1/service/conversation.ts +++ b/src/rest/conversations/v1/service/conversation.ts @@ -23,9 +23,9 @@ import { MessageListInstance } from "./conversation/message"; import { ParticipantListInstance } from "./conversation/participant"; import { WebhookListInstance } from "./conversation/webhook"; -type ServiceConversationState = "inactive" | "active" | "closed"; +export type ServiceConversationState = "inactive" | "active" | "closed"; -type ServiceConversationWebhookEnabledType = "true" | "false"; +export type ServiceConversationWebhookEnabledType = "true" | "false"; /** * Options to pass to remove a ConversationInstance diff --git a/src/rest/conversations/v1/service/conversation/message.ts b/src/rest/conversations/v1/service/conversation/message.ts index 6bf14b1a00..c8836f9f84 100644 --- a/src/rest/conversations/v1/service/conversation/message.ts +++ b/src/rest/conversations/v1/service/conversation/message.ts @@ -21,9 +21,9 @@ const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; import { DeliveryReceiptListInstance } from "./message/deliveryReceipt"; -type ServiceConversationMessageOrderType = "asc" | "desc"; +export type ServiceConversationMessageOrderType = "asc" | "desc"; -type ServiceConversationMessageWebhookEnabledType = "true" | "false"; +export type ServiceConversationMessageWebhookEnabledType = "true" | "false"; /** * Options to pass to remove a MessageInstance diff --git a/src/rest/conversations/v1/service/conversation/message/deliveryReceipt.ts b/src/rest/conversations/v1/service/conversation/message/deliveryReceipt.ts index 92dc65ba19..bcacb35ade 100644 --- a/src/rest/conversations/v1/service/conversation/message/deliveryReceipt.ts +++ b/src/rest/conversations/v1/service/conversation/message/deliveryReceipt.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../../base/deserialize"); const serialize = require("../../../../../../base/serialize"); import { isValidPathParam } from "../../../../../../base/utility"; -type ServiceConversationMessageReceiptDeliveryStatus = +export type ServiceConversationMessageReceiptDeliveryStatus = | "read" | "failed" | "delivered" diff --git a/src/rest/conversations/v1/service/conversation/participant.ts b/src/rest/conversations/v1/service/conversation/participant.ts index e3a558eb40..eff4c5ca96 100644 --- a/src/rest/conversations/v1/service/conversation/participant.ts +++ b/src/rest/conversations/v1/service/conversation/participant.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type ServiceConversationParticipantWebhookEnabledType = "true" | "false"; +export type ServiceConversationParticipantWebhookEnabledType = "true" | "false"; /** * Options to pass to remove a ParticipantInstance diff --git a/src/rest/conversations/v1/service/conversation/webhook.ts b/src/rest/conversations/v1/service/conversation/webhook.ts index 9fadcd602a..262000562e 100644 --- a/src/rest/conversations/v1/service/conversation/webhook.ts +++ b/src/rest/conversations/v1/service/conversation/webhook.ts @@ -20,9 +20,12 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type ServiceConversationScopedWebhookMethod = "GET" | "POST"; +export type ServiceConversationScopedWebhookMethod = "GET" | "POST"; -type ServiceConversationScopedWebhookTarget = "webhook" | "trigger" | "studio"; +export type ServiceConversationScopedWebhookTarget = + | "webhook" + | "trigger" + | "studio"; /** * Options to pass to update a WebhookInstance diff --git a/src/rest/conversations/v1/service/participantConversation.ts b/src/rest/conversations/v1/service/participantConversation.ts index 64538db903..c66e08c512 100644 --- a/src/rest/conversations/v1/service/participantConversation.ts +++ b/src/rest/conversations/v1/service/participantConversation.ts @@ -20,7 +20,10 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type ServiceParticipantConversationState = "inactive" | "active" | "closed"; +export type ServiceParticipantConversationState = + | "inactive" + | "active" + | "closed"; /** * Options to pass to each diff --git a/src/rest/conversations/v1/service/role.ts b/src/rest/conversations/v1/service/role.ts index 3786fa2cb5..58d70f56f3 100644 --- a/src/rest/conversations/v1/service/role.ts +++ b/src/rest/conversations/v1/service/role.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type ServiceRoleRoleType = "conversation" | "service"; +export type ServiceRoleRoleType = "conversation" | "service"; /** * Options to pass to update a RoleInstance diff --git a/src/rest/conversations/v1/service/user.ts b/src/rest/conversations/v1/service/user.ts index f22a00a5b2..6730093b7e 100644 --- a/src/rest/conversations/v1/service/user.ts +++ b/src/rest/conversations/v1/service/user.ts @@ -21,7 +21,7 @@ const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; import { UserConversationListInstance } from "./user/userConversation"; -type ServiceUserWebhookEnabledType = "true" | "false"; +export type ServiceUserWebhookEnabledType = "true" | "false"; /** * Options to pass to remove a UserInstance diff --git a/src/rest/conversations/v1/service/user/userConversation.ts b/src/rest/conversations/v1/service/user/userConversation.ts index 62193a3c2d..05d44e415d 100644 --- a/src/rest/conversations/v1/service/user/userConversation.ts +++ b/src/rest/conversations/v1/service/user/userConversation.ts @@ -20,9 +20,9 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type ServiceUserConversationNotificationLevel = "default" | "muted"; +export type ServiceUserConversationNotificationLevel = "default" | "muted"; -type ServiceUserConversationState = "inactive" | "active" | "closed"; +export type ServiceUserConversationState = "inactive" | "active" | "closed"; /** * Options to pass to update a UserConversationInstance diff --git a/src/rest/conversations/v1/user.ts b/src/rest/conversations/v1/user.ts index 74aa35a574..55a45539a9 100644 --- a/src/rest/conversations/v1/user.ts +++ b/src/rest/conversations/v1/user.ts @@ -21,7 +21,7 @@ const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; import { UserConversationListInstance } from "./user/userConversation"; -type UserWebhookEnabledType = "true" | "false"; +export type UserWebhookEnabledType = "true" | "false"; /** * Options to pass to remove a UserInstance diff --git a/src/rest/conversations/v1/user/userConversation.ts b/src/rest/conversations/v1/user/userConversation.ts index 25f6d73a56..bca39ef472 100644 --- a/src/rest/conversations/v1/user/userConversation.ts +++ b/src/rest/conversations/v1/user/userConversation.ts @@ -20,9 +20,9 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type UserConversationNotificationLevel = "default" | "muted"; +export type UserConversationNotificationLevel = "default" | "muted"; -type UserConversationState = "inactive" | "active" | "closed"; +export type UserConversationState = "inactive" | "active" | "closed"; /** * Options to pass to update a UserConversationInstance diff --git a/src/rest/events/v1/sink.ts b/src/rest/events/v1/sink.ts index f02161ea67..8c51106511 100644 --- a/src/rest/events/v1/sink.ts +++ b/src/rest/events/v1/sink.ts @@ -22,9 +22,9 @@ import { isValidPathParam } from "../../../base/utility"; import { SinkTestListInstance } from "./sink/sinkTest"; import { SinkValidateListInstance } from "./sink/sinkValidate"; -type SinkSinkType = "kinesis" | "webhook" | "segment"; +export type SinkSinkType = "kinesis" | "webhook" | "segment"; -type SinkStatus = "initialized" | "validating" | "active" | "failed"; +export type SinkStatus = "initialized" | "validating" | "active" | "failed"; /** * Options to pass to update a SinkInstance diff --git a/src/rest/flexApi/v1/configuration.ts b/src/rest/flexApi/v1/configuration.ts index 115ef5ed2f..ac6b1ede48 100644 --- a/src/rest/flexApi/v1/configuration.ts +++ b/src/rest/flexApi/v1/configuration.ts @@ -18,7 +18,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type ConfigurationStatus = "ok" | "inprogress" | "notstarted"; +export type ConfigurationStatus = "ok" | "inprogress" | "notstarted"; /** * Options to pass to fetch a ConfigurationInstance diff --git a/src/rest/flexApi/v1/flexFlow.ts b/src/rest/flexApi/v1/flexFlow.ts index 44ff96a447..84fbac9949 100644 --- a/src/rest/flexApi/v1/flexFlow.ts +++ b/src/rest/flexApi/v1/flexFlow.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type FlexFlowChannelType = +export type FlexFlowChannelType = | "web" | "sms" | "facebook" @@ -28,7 +28,7 @@ type FlexFlowChannelType = | "line" | "custom"; -type FlexFlowIntegrationType = "studio" | "external" | "task"; +export type FlexFlowIntegrationType = "studio" | "external" | "task"; /** * Options to pass to update a FlexFlowInstance diff --git a/src/rest/flexApi/v1/interaction/interactionChannel.ts b/src/rest/flexApi/v1/interaction/interactionChannel.ts index 4556a4c155..44cc05d166 100644 --- a/src/rest/flexApi/v1/interaction/interactionChannel.ts +++ b/src/rest/flexApi/v1/interaction/interactionChannel.ts @@ -22,11 +22,15 @@ import { isValidPathParam } from "../../../../base/utility"; import { InteractionChannelInviteListInstance } from "./interactionChannel/interactionChannelInvite"; import { InteractionChannelParticipantListInstance } from "./interactionChannel/interactionChannelParticipant"; -type InteractionChannelChannelStatus = "setup" | "active" | "failed" | "closed"; +export type InteractionChannelChannelStatus = + | "setup" + | "active" + | "failed" + | "closed"; -type InteractionChannelStatus = "closed" | "wrapup"; +export type InteractionChannelStatus = "closed" | "wrapup"; -type InteractionChannelType = +export type InteractionChannelType = | "voice" | "sms" | "email" diff --git a/src/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.ts b/src/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.ts index 2415846b98..6b3b44ca5e 100644 --- a/src/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.ts +++ b/src/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.ts @@ -20,9 +20,9 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type InteractionChannelParticipantStatus = "closed" | "wrapup"; +export type InteractionChannelParticipantStatus = "closed" | "wrapup"; -type InteractionChannelParticipantType = +export type InteractionChannelParticipantType = | "supervisor" | "customer" | "external" diff --git a/src/rest/flexApi/v1/webChannel.ts b/src/rest/flexApi/v1/webChannel.ts index 4865ee1ab9..e1a1f488b2 100644 --- a/src/rest/flexApi/v1/webChannel.ts +++ b/src/rest/flexApi/v1/webChannel.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type WebChannelChatStatus = "inactive"; +export type WebChannelChatStatus = "inactive"; /** * Options to pass to update a WebChannelInstance diff --git a/src/rest/frontlineApi/v1/user.ts b/src/rest/frontlineApi/v1/user.ts index b136cca475..fa8ff98b22 100644 --- a/src/rest/frontlineApi/v1/user.ts +++ b/src/rest/frontlineApi/v1/user.ts @@ -18,7 +18,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type UserStateType = "active" | "deactivated"; +export type UserStateType = "active" | "deactivated"; /** * Options to pass to update a UserInstance diff --git a/src/rest/insights/v1/call/annotation.ts b/src/rest/insights/v1/call/annotation.ts index 7d650ab46c..89bb35dbaa 100644 --- a/src/rest/insights/v1/call/annotation.ts +++ b/src/rest/insights/v1/call/annotation.ts @@ -18,9 +18,9 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type AnnotationAnsweredBy = "unknown_answered_by" | "human" | "machine"; +export type AnnotationAnsweredBy = "unknown_answered_by" | "human" | "machine"; -type AnnotationConnectivityIssue = +export type AnnotationConnectivityIssue = | "unknown_connectivity_issue" | "no_connectivity_issue" | "invalid_number" diff --git a/src/rest/insights/v1/call/callSummary.ts b/src/rest/insights/v1/call/callSummary.ts index 10c29fc10b..93de6ae93a 100644 --- a/src/rest/insights/v1/call/callSummary.ts +++ b/src/rest/insights/v1/call/callSummary.ts @@ -18,7 +18,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type SummaryAnsweredBy = +export type SummaryAnsweredBy = | "unknown" | "machine_start" | "machine_end_beep" @@ -27,7 +27,7 @@ type SummaryAnsweredBy = | "human" | "fax"; -type SummaryCallState = +export type SummaryCallState = | "ringing" | "completed" | "busy" @@ -37,9 +37,9 @@ type SummaryCallState = | "answered" | "undialed"; -type SummaryCallType = "carrier" | "sip" | "trunking" | "client"; +export type SummaryCallType = "carrier" | "sip" | "trunking" | "client"; -type SummaryProcessingState = "complete" | "partial"; +export type SummaryProcessingState = "complete" | "partial"; /** * Options to pass to fetch a CallSummaryInstance diff --git a/src/rest/insights/v1/call/event.ts b/src/rest/insights/v1/call/event.ts index daff69db32..da75148272 100644 --- a/src/rest/insights/v1/call/event.ts +++ b/src/rest/insights/v1/call/event.ts @@ -20,9 +20,9 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type EventLevel = "UNKNOWN" | "DEBUG" | "INFO" | "WARNING" | "ERROR"; +export type EventLevel = "UNKNOWN" | "DEBUG" | "INFO" | "WARNING" | "ERROR"; -type EventTwilioEdge = +export type EventTwilioEdge = | "unknown_edge" | "carrier_edge" | "sip_edge" diff --git a/src/rest/insights/v1/call/metric.ts b/src/rest/insights/v1/call/metric.ts index 88c98902d4..80b4a36ca9 100644 --- a/src/rest/insights/v1/call/metric.ts +++ b/src/rest/insights/v1/call/metric.ts @@ -20,9 +20,9 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type MetricStreamDirection = "unknown" | "inbound" | "outbound" | "both"; +export type MetricStreamDirection = "unknown" | "inbound" | "outbound" | "both"; -type MetricTwilioEdge = +export type MetricTwilioEdge = | "unknown_edge" | "carrier_edge" | "sip_edge" diff --git a/src/rest/insights/v1/callSummaries.ts b/src/rest/insights/v1/callSummaries.ts index 9c1e82f28c..b8492ca337 100644 --- a/src/rest/insights/v1/callSummaries.ts +++ b/src/rest/insights/v1/callSummaries.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type CallSummariesAnsweredBy = +export type CallSummariesAnsweredBy = | "unknown" | "machine_start" | "machine_end_beep" @@ -29,7 +29,7 @@ type CallSummariesAnsweredBy = | "human" | "fax"; -type CallSummariesCallState = +export type CallSummariesCallState = | "ringing" | "completed" | "busy" @@ -39,17 +39,17 @@ type CallSummariesCallState = | "answered" | "undialed"; -type CallSummariesCallType = "carrier" | "sip" | "trunking" | "client"; +export type CallSummariesCallType = "carrier" | "sip" | "trunking" | "client"; -type CallSummariesProcessingState = "complete" | "partial"; +export type CallSummariesProcessingState = "complete" | "partial"; -type CallSummariesProcessingStateRequest = +export type CallSummariesProcessingStateRequest = | "completed" | "started" | "partial" | "all"; -type CallSummariesSortBy = "start_time" | "end_time"; +export type CallSummariesSortBy = "start_time" | "end_time"; /** * Options to pass to each diff --git a/src/rest/insights/v1/conference.ts b/src/rest/insights/v1/conference.ts index c2456a0844..fc6e7c7a6e 100644 --- a/src/rest/insights/v1/conference.ts +++ b/src/rest/insights/v1/conference.ts @@ -21,24 +21,31 @@ const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; import { ConferenceParticipantListInstance } from "./conference/conferenceParticipant"; -type ConferenceConferenceEndReason = +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"; -type ConferenceConferenceStatus = +export type ConferenceConferenceStatus = | "in_progress" | "not_started" | "completed" | "summary_timeout"; -type ConferenceProcessingState = "complete" | "in_progress" | "timeout"; +export type ConferenceProcessingState = "complete" | "in_progress" | "timeout"; -type ConferenceRegion = "us1" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "de1"; +export type ConferenceRegion = + | "us1" + | "au1" + | "br1" + | "ie1" + | "jp1" + | "sg1" + | "de1"; -type ConferenceTag = +export type ConferenceTag = | "invalid_requested_region" | "duplicate_identity" | "start_failure" diff --git a/src/rest/insights/v1/conference/conferenceParticipant.ts b/src/rest/insights/v1/conference/conferenceParticipant.ts index 3f0d1dbbd3..3244c315fa 100644 --- a/src/rest/insights/v1/conference/conferenceParticipant.ts +++ b/src/rest/insights/v1/conference/conferenceParticipant.ts @@ -20,9 +20,9 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type ConferenceParticipantCallDirection = "inbound" | "outbound"; +export type ConferenceParticipantCallDirection = "inbound" | "outbound"; -type ConferenceParticipantCallStatus = +export type ConferenceParticipantCallStatus = | "answered" | "completed" | "busy" @@ -31,20 +31,20 @@ type ConferenceParticipantCallStatus = | "ringing" | "canceled"; -type ConferenceParticipantCallType = "carrier" | "client" | "sip"; +export type ConferenceParticipantCallType = "carrier" | "client" | "sip"; -type ConferenceParticipantJitterBufferSize = +export type ConferenceParticipantJitterBufferSize = | "large" | "small" | "medium" | "off"; -type ConferenceParticipantProcessingState = +export type ConferenceParticipantProcessingState = | "complete" | "in_progress" | "timeout"; -type ConferenceParticipantRegion = +export type ConferenceParticipantRegion = | "us1" | "us2" | "au1" diff --git a/src/rest/insights/v1/room.ts b/src/rest/insights/v1/room.ts index 8deb507961..c37e7f8182 100644 --- a/src/rest/insights/v1/room.ts +++ b/src/rest/insights/v1/room.ts @@ -21,11 +21,11 @@ const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; import { ParticipantListInstance } from "./room/participant"; -type VideoRoomSummaryCodec = "VP8" | "H264" | "VP9"; +export type VideoRoomSummaryCodec = "VP8" | "H264" | "VP9"; -type VideoRoomSummaryCreatedMethod = "sdk" | "ad_hoc" | "api"; +export type VideoRoomSummaryCreatedMethod = "sdk" | "ad_hoc" | "api"; -type VideoRoomSummaryEdgeLocation = +export type VideoRoomSummaryEdgeLocation = | "ashburn" | "dublin" | "frankfurt" @@ -36,15 +36,19 @@ type VideoRoomSummaryEdgeLocation = | "umatilla" | "tokyo"; -type VideoRoomSummaryEndReason = "room_ended_via_api" | "timeout"; +export type VideoRoomSummaryEndReason = "room_ended_via_api" | "timeout"; -type VideoRoomSummaryProcessingState = "complete" | "in_progress"; +export type VideoRoomSummaryProcessingState = "complete" | "in_progress"; -type VideoRoomSummaryRoomStatus = "in_progress" | "completed"; +export type VideoRoomSummaryRoomStatus = "in_progress" | "completed"; -type VideoRoomSummaryRoomType = "go" | "peer_to_peer" | "group" | "group_small"; +export type VideoRoomSummaryRoomType = + | "go" + | "peer_to_peer" + | "group" + | "group_small"; -type VideoRoomSummaryTwilioRealm = +export type VideoRoomSummaryTwilioRealm = | "us1" | "us2" | "au1" diff --git a/src/rest/insights/v1/room/participant.ts b/src/rest/insights/v1/room/participant.ts index d7cef61956..c17d8ce092 100644 --- a/src/rest/insights/v1/room/participant.ts +++ b/src/rest/insights/v1/room/participant.ts @@ -20,9 +20,9 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type VideoParticipantSummaryCodec = "VP8" | "H264" | "VP9"; +export type VideoParticipantSummaryCodec = "VP8" | "H264" | "VP9"; -type VideoParticipantSummaryEdgeLocation = +export type VideoParticipantSummaryEdgeLocation = | "ashburn" | "dublin" | "frankfurt" @@ -33,9 +33,9 @@ type VideoParticipantSummaryEdgeLocation = | "umatilla" | "tokyo"; -type VideoParticipantSummaryRoomStatus = "in_progress" | "completed"; +export type VideoParticipantSummaryRoomStatus = "in_progress" | "completed"; -type VideoParticipantSummaryTwilioRealm = +export type VideoParticipantSummaryTwilioRealm = | "us1" | "us2" | "au1" diff --git a/src/rest/ipMessaging/v1/credential.ts b/src/rest/ipMessaging/v1/credential.ts index 06d1916ac6..7dff3c9d63 100644 --- a/src/rest/ipMessaging/v1/credential.ts +++ b/src/rest/ipMessaging/v1/credential.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type CredentialPushService = "gcm" | "apn" | "fcm"; +export type CredentialPushService = "gcm" | "apn" | "fcm"; /** * Options to pass to update a CredentialInstance diff --git a/src/rest/ipMessaging/v1/service/channel.ts b/src/rest/ipMessaging/v1/service/channel.ts index 271d529a4b..77b3156bb7 100644 --- a/src/rest/ipMessaging/v1/service/channel.ts +++ b/src/rest/ipMessaging/v1/service/channel.ts @@ -23,7 +23,7 @@ import { InviteListInstance } from "./channel/invite"; import { MemberListInstance } from "./channel/member"; import { MessageListInstance } from "./channel/message"; -type ChannelChannelType = "public" | "private"; +export type ChannelChannelType = "public" | "private"; /** * Options to pass to update a ChannelInstance diff --git a/src/rest/ipMessaging/v1/service/channel/message.ts b/src/rest/ipMessaging/v1/service/channel/message.ts index 5ac3bfda53..ac792a0e45 100644 --- a/src/rest/ipMessaging/v1/service/channel/message.ts +++ b/src/rest/ipMessaging/v1/service/channel/message.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type MessageOrderType = "asc" | "desc"; +export type MessageOrderType = "asc" | "desc"; /** * Options to pass to update a MessageInstance diff --git a/src/rest/ipMessaging/v1/service/role.ts b/src/rest/ipMessaging/v1/service/role.ts index d778741ede..5669ebe563 100644 --- a/src/rest/ipMessaging/v1/service/role.ts +++ b/src/rest/ipMessaging/v1/service/role.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type RoleRoleType = "channel" | "deployment"; +export type RoleRoleType = "channel" | "deployment"; /** * Options to pass to update a RoleInstance diff --git a/src/rest/ipMessaging/v1/service/user/userChannel.ts b/src/rest/ipMessaging/v1/service/user/userChannel.ts index f5b957eef4..dc38ca430f 100644 --- a/src/rest/ipMessaging/v1/service/user/userChannel.ts +++ b/src/rest/ipMessaging/v1/service/user/userChannel.ts @@ -20,7 +20,10 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type UserChannelChannelStatus = "joined" | "invited" | "not_participating"; +export type UserChannelChannelStatus = + | "joined" + | "invited" + | "not_participating"; /** * Options to pass to each diff --git a/src/rest/ipMessaging/v2/credential.ts b/src/rest/ipMessaging/v2/credential.ts index 4dafae2291..86f4255b6f 100644 --- a/src/rest/ipMessaging/v2/credential.ts +++ b/src/rest/ipMessaging/v2/credential.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type CredentialPushService = "gcm" | "apn" | "fcm"; +export type CredentialPushService = "gcm" | "apn" | "fcm"; /** * Options to pass to update a CredentialInstance diff --git a/src/rest/ipMessaging/v2/service/binding.ts b/src/rest/ipMessaging/v2/service/binding.ts index 465390de81..07d7eb7d80 100644 --- a/src/rest/ipMessaging/v2/service/binding.ts +++ b/src/rest/ipMessaging/v2/service/binding.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type BindingBindingType = "gcm" | "apn" | "fcm"; +export type BindingBindingType = "gcm" | "apn" | "fcm"; /** * Options to pass to each diff --git a/src/rest/ipMessaging/v2/service/channel.ts b/src/rest/ipMessaging/v2/service/channel.ts index d4d7d7cf34..1e03327ca9 100644 --- a/src/rest/ipMessaging/v2/service/channel.ts +++ b/src/rest/ipMessaging/v2/service/channel.ts @@ -24,9 +24,9 @@ import { MemberListInstance } from "./channel/member"; import { MessageListInstance } from "./channel/message"; import { WebhookListInstance } from "./channel/webhook"; -type ChannelChannelType = "public" | "private"; +export type ChannelChannelType = "public" | "private"; -type ChannelWebhookEnabledType = "true" | "false"; +export type ChannelWebhookEnabledType = "true" | "false"; /** * Options to pass to remove a ChannelInstance diff --git a/src/rest/ipMessaging/v2/service/channel/member.ts b/src/rest/ipMessaging/v2/service/channel/member.ts index 5bfbf0814a..d43b826426 100644 --- a/src/rest/ipMessaging/v2/service/channel/member.ts +++ b/src/rest/ipMessaging/v2/service/channel/member.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type MemberWebhookEnabledType = "true" | "false"; +export type MemberWebhookEnabledType = "true" | "false"; /** * Options to pass to remove a MemberInstance diff --git a/src/rest/ipMessaging/v2/service/channel/message.ts b/src/rest/ipMessaging/v2/service/channel/message.ts index 6471af131f..db3753d0b6 100644 --- a/src/rest/ipMessaging/v2/service/channel/message.ts +++ b/src/rest/ipMessaging/v2/service/channel/message.ts @@ -20,9 +20,9 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type MessageOrderType = "asc" | "desc"; +export type MessageOrderType = "asc" | "desc"; -type MessageWebhookEnabledType = "true" | "false"; +export type MessageWebhookEnabledType = "true" | "false"; /** * Options to pass to remove a MessageInstance diff --git a/src/rest/ipMessaging/v2/service/channel/webhook.ts b/src/rest/ipMessaging/v2/service/channel/webhook.ts index ef28416a50..5197e9c381 100644 --- a/src/rest/ipMessaging/v2/service/channel/webhook.ts +++ b/src/rest/ipMessaging/v2/service/channel/webhook.ts @@ -20,9 +20,9 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type ChannelWebhookMethod = "GET" | "POST"; +export type ChannelWebhookMethod = "GET" | "POST"; -type ChannelWebhookType = "webhook" | "trigger" | "studio"; +export type ChannelWebhookType = "webhook" | "trigger" | "studio"; /** * Options to pass to update a WebhookInstance diff --git a/src/rest/ipMessaging/v2/service/role.ts b/src/rest/ipMessaging/v2/service/role.ts index 5e4ab9f063..64925a0ae2 100644 --- a/src/rest/ipMessaging/v2/service/role.ts +++ b/src/rest/ipMessaging/v2/service/role.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type RoleRoleType = "channel" | "deployment"; +export type RoleRoleType = "channel" | "deployment"; /** * Options to pass to update a RoleInstance diff --git a/src/rest/ipMessaging/v2/service/user.ts b/src/rest/ipMessaging/v2/service/user.ts index 84acfd9a83..2bdebca268 100644 --- a/src/rest/ipMessaging/v2/service/user.ts +++ b/src/rest/ipMessaging/v2/service/user.ts @@ -22,7 +22,7 @@ import { isValidPathParam } from "../../../../base/utility"; import { UserBindingListInstance } from "./user/userBinding"; import { UserChannelListInstance } from "./user/userChannel"; -type UserWebhookEnabledType = "true" | "false"; +export type UserWebhookEnabledType = "true" | "false"; /** * Options to pass to update a UserInstance diff --git a/src/rest/ipMessaging/v2/service/user/userBinding.ts b/src/rest/ipMessaging/v2/service/user/userBinding.ts index f4e60bdcd2..6cfacd8a38 100644 --- a/src/rest/ipMessaging/v2/service/user/userBinding.ts +++ b/src/rest/ipMessaging/v2/service/user/userBinding.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type UserBindingBindingType = "gcm" | "apn" | "fcm"; +export type UserBindingBindingType = "gcm" | "apn" | "fcm"; /** * Options to pass to each diff --git a/src/rest/ipMessaging/v2/service/user/userChannel.ts b/src/rest/ipMessaging/v2/service/user/userChannel.ts index 51f1035d3e..f946ff94c1 100644 --- a/src/rest/ipMessaging/v2/service/user/userChannel.ts +++ b/src/rest/ipMessaging/v2/service/user/userChannel.ts @@ -20,9 +20,12 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type UserChannelChannelStatus = "joined" | "invited" | "not_participating"; +export type UserChannelChannelStatus = + | "joined" + | "invited" + | "not_participating"; -type UserChannelNotificationLevel = "default" | "muted"; +export type UserChannelNotificationLevel = "default" | "muted"; /** * Options to pass to update a UserChannelInstance diff --git a/src/rest/lookups/v2/phoneNumber.ts b/src/rest/lookups/v2/phoneNumber.ts index 95ad73328d..e2b2f7421b 100644 --- a/src/rest/lookups/v2/phoneNumber.ts +++ b/src/rest/lookups/v2/phoneNumber.ts @@ -18,7 +18,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type PhoneNumberValidationError = +export type PhoneNumberValidationError = | "TOO_SHORT" | "TOO_LONG" | "INVALID_BUT_POSSIBLE" diff --git a/src/rest/media/v1/mediaProcessor.ts b/src/rest/media/v1/mediaProcessor.ts index d4113321c2..af58c8cd91 100644 --- a/src/rest/media/v1/mediaProcessor.ts +++ b/src/rest/media/v1/mediaProcessor.ts @@ -20,11 +20,11 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type MediaProcessorOrder = "asc" | "desc"; +export type MediaProcessorOrder = "asc" | "desc"; -type MediaProcessorStatus = "failed" | "started" | "ended"; +export type MediaProcessorStatus = "failed" | "started" | "ended"; -type MediaProcessorUpdateStatus = "ended"; +export type MediaProcessorUpdateStatus = "ended"; /** * Options to pass to update a MediaProcessorInstance diff --git a/src/rest/media/v1/mediaRecording.ts b/src/rest/media/v1/mediaRecording.ts index e25fca3b51..e3ca70dbd5 100644 --- a/src/rest/media/v1/mediaRecording.ts +++ b/src/rest/media/v1/mediaRecording.ts @@ -20,11 +20,15 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type MediaRecordingFormat = "mp4" | "webm"; +export type MediaRecordingFormat = "mp4" | "webm"; -type MediaRecordingOrder = "asc" | "desc"; +export type MediaRecordingOrder = "asc" | "desc"; -type MediaRecordingStatus = "processing" | "completed" | "deleted" | "failed"; +export type MediaRecordingStatus = + | "processing" + | "completed" + | "deleted" + | "failed"; /** * Options to pass to each diff --git a/src/rest/media/v1/playerStreamer.ts b/src/rest/media/v1/playerStreamer.ts index 6d7cd9c3ca..43b6e5f516 100644 --- a/src/rest/media/v1/playerStreamer.ts +++ b/src/rest/media/v1/playerStreamer.ts @@ -21,17 +21,17 @@ const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; import { PlaybackGrantListInstance } from "./playerStreamer/playbackGrant"; -type PlayerStreamerEndedReason = +export type PlayerStreamerEndedReason = | "ended-via-api" | "max-duration-exceeded" | "stream-disconnected-by-source" | "unexpected-failure"; -type PlayerStreamerOrder = "asc" | "desc"; +export type PlayerStreamerOrder = "asc" | "desc"; -type PlayerStreamerStatus = "created" | "started" | "ended" | "failed"; +export type PlayerStreamerStatus = "created" | "started" | "ended" | "failed"; -type PlayerStreamerUpdateStatus = "ended"; +export type PlayerStreamerUpdateStatus = "ended"; /** * Options to pass to update a PlayerStreamerInstance diff --git a/src/rest/messaging/v1/brandRegistration.ts b/src/rest/messaging/v1/brandRegistration.ts index 289d4bd7fc..aa2596d560 100644 --- a/src/rest/messaging/v1/brandRegistration.ts +++ b/src/rest/messaging/v1/brandRegistration.ts @@ -21,20 +21,20 @@ const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; import { BrandVettingListInstance } from "./brandRegistration/brandVetting"; -type BrandRegistrationsBrandFeedback = +export type BrandRegistrationsBrandFeedback = | "TAX_ID" | "STOCK_SYMBOL" | "NONPROFIT" | "GOVERNMENT_ENTITY" | "OTHERS"; -type BrandRegistrationsIdentityStatus = +export type BrandRegistrationsIdentityStatus = | "SELF_DECLARED" | "UNVERIFIED" | "VERIFIED" | "VETTED_VERIFIED"; -type BrandRegistrationsStatus = +export type BrandRegistrationsStatus = | "PENDING" | "APPROVED" | "FAILED" diff --git a/src/rest/messaging/v1/brandRegistration/brandVetting.ts b/src/rest/messaging/v1/brandRegistration/brandVetting.ts index e939be135c..594e736815 100644 --- a/src/rest/messaging/v1/brandRegistration/brandVetting.ts +++ b/src/rest/messaging/v1/brandRegistration/brandVetting.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type BrandVettingVettingProvider = "campaign-verify"; +export type BrandVettingVettingProvider = "campaign-verify"; /** * Options to pass to create a BrandVettingInstance diff --git a/src/rest/messaging/v1/service.ts b/src/rest/messaging/v1/service.ts index 080a017e0c..ce7572377d 100644 --- a/src/rest/messaging/v1/service.ts +++ b/src/rest/messaging/v1/service.ts @@ -25,7 +25,7 @@ import { ShortCodeListInstance } from "./service/shortCode"; import { UsAppToPersonListInstance } from "./service/usAppToPerson"; import { UsAppToPersonUsecaseListInstance } from "./service/usAppToPersonUsecase"; -type ServiceScanMessageContent = "inherit" | "enable" | "disable"; +export type ServiceScanMessageContent = "inherit" | "enable" | "disable"; /** * Options to pass to update a ServiceInstance diff --git a/src/rest/messaging/v1/tollfreeVerification.ts b/src/rest/messaging/v1/tollfreeVerification.ts index 32cf56f35b..908438ac21 100644 --- a/src/rest/messaging/v1/tollfreeVerification.ts +++ b/src/rest/messaging/v1/tollfreeVerification.ts @@ -20,14 +20,14 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type TollfreeVerificationOptInType = +export type TollfreeVerificationOptInType = | "VERBAL" | "WEB_FORM" | "PAPER_FORM" | "VIA_TEXT" | "MOBILE_QR_CODE"; -type TollfreeVerificationStatus = +export type TollfreeVerificationStatus = | "PENDING_REVIEW" | "IN_REVIEW" | "TWILIO_APPROVED" diff --git a/src/rest/notify/v1/credential.ts b/src/rest/notify/v1/credential.ts index 3002b9bbc5..9e0371dcba 100644 --- a/src/rest/notify/v1/credential.ts +++ b/src/rest/notify/v1/credential.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type CredentialPushService = "gcm" | "apn" | "fcm"; +export type CredentialPushService = "gcm" | "apn" | "fcm"; /** * Options to pass to update a CredentialInstance diff --git a/src/rest/notify/v1/service/binding.ts b/src/rest/notify/v1/service/binding.ts index a45ec23786..8b9d567036 100644 --- a/src/rest/notify/v1/service/binding.ts +++ b/src/rest/notify/v1/service/binding.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type BindingBindingType = +export type BindingBindingType = | "apn" | "gcm" | "sms" diff --git a/src/rest/notify/v1/service/notification.ts b/src/rest/notify/v1/service/notification.ts index 8003c51e11..2be9b08759 100644 --- a/src/rest/notify/v1/service/notification.ts +++ b/src/rest/notify/v1/service/notification.ts @@ -18,7 +18,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type NotificationPriority = "high" | "low"; +export type NotificationPriority = "high" | "low"; /** * Options to pass to create a NotificationInstance diff --git a/src/rest/numbers/v2/regulatoryCompliance/bundle.ts b/src/rest/numbers/v2/regulatoryCompliance/bundle.ts index 90bda22fbe..aa07f2f6b8 100644 --- a/src/rest/numbers/v2/regulatoryCompliance/bundle.ts +++ b/src/rest/numbers/v2/regulatoryCompliance/bundle.ts @@ -24,13 +24,13 @@ import { EvaluationListInstance } from "./bundle/evaluation"; import { ItemAssignmentListInstance } from "./bundle/itemAssignment"; import { ReplaceItemsListInstance } from "./bundle/replaceItems"; -type BundleEndUserType = "individual" | "business"; +export type BundleEndUserType = "individual" | "business"; -type BundleSortBy = "valid-until" | "date-updated"; +export type BundleSortBy = "valid-until" | "date-updated"; -type BundleSortDirection = "ASC" | "DESC"; +export type BundleSortDirection = "ASC" | "DESC"; -type BundleStatus = +export type BundleStatus = | "draft" | "pending-review" | "in-review" diff --git a/src/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.ts b/src/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.ts index b08d4a099d..d315ae9a02 100644 --- a/src/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.ts +++ b/src/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type BundleCopyStatus = +export type BundleCopyStatus = | "draft" | "pending-review" | "in-review" diff --git a/src/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.ts b/src/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.ts index bdb4b76846..1d2b280539 100644 --- a/src/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.ts +++ b/src/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type EvaluationStatus = "compliant" | "noncompliant"; +export type EvaluationStatus = "compliant" | "noncompliant"; /** * Options to pass to each diff --git a/src/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.ts b/src/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.ts index cdcbcac8d3..e605940f32 100644 --- a/src/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.ts +++ b/src/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.ts @@ -18,7 +18,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type ReplaceItemsStatus = +export type ReplaceItemsStatus = | "draft" | "pending-review" | "in-review" diff --git a/src/rest/numbers/v2/regulatoryCompliance/endUser.ts b/src/rest/numbers/v2/regulatoryCompliance/endUser.ts index bb473d6331..bc9e48d9fa 100644 --- a/src/rest/numbers/v2/regulatoryCompliance/endUser.ts +++ b/src/rest/numbers/v2/regulatoryCompliance/endUser.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type EndUserType = "individual" | "business"; +export type EndUserType = "individual" | "business"; /** * Options to pass to update a EndUserInstance diff --git a/src/rest/numbers/v2/regulatoryCompliance/regulation.ts b/src/rest/numbers/v2/regulatoryCompliance/regulation.ts index ef6be48549..9f8d4f5d91 100644 --- a/src/rest/numbers/v2/regulatoryCompliance/regulation.ts +++ b/src/rest/numbers/v2/regulatoryCompliance/regulation.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type RegulationEndUserType = "individual" | "business"; +export type RegulationEndUserType = "individual" | "business"; /** * Options to pass to each diff --git a/src/rest/numbers/v2/regulatoryCompliance/supportingDocument.ts b/src/rest/numbers/v2/regulatoryCompliance/supportingDocument.ts index 1e4271fc1f..adaab0f223 100644 --- a/src/rest/numbers/v2/regulatoryCompliance/supportingDocument.ts +++ b/src/rest/numbers/v2/regulatoryCompliance/supportingDocument.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type SupportingDocumentStatus = +export type SupportingDocumentStatus = | "draft" | "pending-review" | "rejected" diff --git a/src/rest/preview/hosted_numbers/authorizationDocument.ts b/src/rest/preview/hosted_numbers/authorizationDocument.ts index 2ba09d9106..e50db93dcd 100644 --- a/src/rest/preview/hosted_numbers/authorizationDocument.ts +++ b/src/rest/preview/hosted_numbers/authorizationDocument.ts @@ -21,7 +21,7 @@ const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; import { DependentHostedNumberOrderListInstance } from "./authorizationDocument/dependentHostedNumberOrder"; -type AuthorizationDocumentStatus = +export type AuthorizationDocumentStatus = | "opened" | "signing" | "signed" diff --git a/src/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.ts b/src/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.ts index 09ea1cad43..efde51617d 100644 --- a/src/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.ts +++ b/src/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.ts @@ -21,7 +21,7 @@ const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; import { PhoneNumberCapabilities } from "../../../../interfaces"; -type DependentHostedNumberOrderStatus = +export type DependentHostedNumberOrderStatus = | "received" | "pending-verification" | "verified" @@ -32,7 +32,9 @@ type DependentHostedNumberOrderStatus = | "failed" | "action-required"; -type DependentHostedNumberOrderVerificationType = "phone-call" | "phone-bill"; +export type DependentHostedNumberOrderVerificationType = + | "phone-call" + | "phone-bill"; /** * Options to pass to each diff --git a/src/rest/preview/hosted_numbers/hostedNumberOrder.ts b/src/rest/preview/hosted_numbers/hostedNumberOrder.ts index 37631cc2d1..68fa23482d 100644 --- a/src/rest/preview/hosted_numbers/hostedNumberOrder.ts +++ b/src/rest/preview/hosted_numbers/hostedNumberOrder.ts @@ -21,7 +21,7 @@ const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; import { PhoneNumberCapabilities } from "../../../interfaces"; -type HostedNumberOrderStatus = +export type HostedNumberOrderStatus = | "received" | "pending-verification" | "verified" @@ -32,7 +32,7 @@ type HostedNumberOrderStatus = | "failed" | "action-required"; -type HostedNumberOrderVerificationType = "phone-call" | "phone-bill"; +export type HostedNumberOrderVerificationType = "phone-call" | "phone-bill"; /** * Options to pass to update a HostedNumberOrderInstance diff --git a/src/rest/preview/sync/service/syncList/syncListItem.ts b/src/rest/preview/sync/service/syncList/syncListItem.ts index f8a5579639..2c91e6be62 100644 --- a/src/rest/preview/sync/service/syncList/syncListItem.ts +++ b/src/rest/preview/sync/service/syncList/syncListItem.ts @@ -20,9 +20,9 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type SyncListItemQueryFromBoundType = "inclusive" | "exclusive"; +export type SyncListItemQueryFromBoundType = "inclusive" | "exclusive"; -type SyncListItemQueryResultOrder = "asc" | "desc"; +export type SyncListItemQueryResultOrder = "asc" | "desc"; /** * Options to pass to remove a SyncListItemInstance diff --git a/src/rest/preview/sync/service/syncMap/syncMapItem.ts b/src/rest/preview/sync/service/syncMap/syncMapItem.ts index 29b16f5d6d..fe03d28a2e 100644 --- a/src/rest/preview/sync/service/syncMap/syncMapItem.ts +++ b/src/rest/preview/sync/service/syncMap/syncMapItem.ts @@ -20,9 +20,9 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type SyncMapItemQueryFromBoundType = "inclusive" | "exclusive"; +export type SyncMapItemQueryFromBoundType = "inclusive" | "exclusive"; -type SyncMapItemQueryResultOrder = "asc" | "desc"; +export type SyncMapItemQueryResultOrder = "asc" | "desc"; /** * Options to pass to remove a SyncMapItemInstance diff --git a/src/rest/preview/understand/assistant/modelBuild.ts b/src/rest/preview/understand/assistant/modelBuild.ts index 28a5a17e3b..2fca3d92d1 100644 --- a/src/rest/preview/understand/assistant/modelBuild.ts +++ b/src/rest/preview/understand/assistant/modelBuild.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type ModelBuildStatus = +export type ModelBuildStatus = | "enqueued" | "building" | "completed" diff --git a/src/rest/proxy/v1/service.ts b/src/rest/proxy/v1/service.ts index 609bf00046..0ec08fbe12 100644 --- a/src/rest/proxy/v1/service.ts +++ b/src/rest/proxy/v1/service.ts @@ -23,9 +23,13 @@ import { PhoneNumberListInstance } from "./service/phoneNumber"; import { SessionListInstance } from "./service/session"; import { ShortCodeListInstance } from "./service/shortCode"; -type ServiceGeoMatchLevel = "area-code" | "overlay" | "radius" | "country"; +export type ServiceGeoMatchLevel = + | "area-code" + | "overlay" + | "radius" + | "country"; -type ServiceNumberSelectionBehavior = "avoid-sticky" | "prefer-sticky"; +export type ServiceNumberSelectionBehavior = "avoid-sticky" | "prefer-sticky"; /** * Options to pass to update a ServiceInstance diff --git a/src/rest/proxy/v1/service/session.ts b/src/rest/proxy/v1/service/session.ts index 5b8b0360bf..199e6d5796 100644 --- a/src/rest/proxy/v1/service/session.ts +++ b/src/rest/proxy/v1/service/session.ts @@ -22,9 +22,14 @@ import { isValidPathParam } from "../../../../base/utility"; import { InteractionListInstance } from "./session/interaction"; import { ParticipantListInstance } from "./session/participant"; -type SessionMode = "message-only" | "voice-only" | "voice-and-message"; - -type SessionStatus = "open" | "in-progress" | "closed" | "failed" | "unknown"; +export type SessionMode = "message-only" | "voice-only" | "voice-and-message"; + +export type SessionStatus = + | "open" + | "in-progress" + | "closed" + | "failed" + | "unknown"; /** * Options to pass to update a SessionInstance diff --git a/src/rest/proxy/v1/service/session/interaction.ts b/src/rest/proxy/v1/service/session/interaction.ts index 86a546bb02..27606027b8 100644 --- a/src/rest/proxy/v1/service/session/interaction.ts +++ b/src/rest/proxy/v1/service/session/interaction.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type InteractionResourceStatus = +export type InteractionResourceStatus = | "accepted" | "answered" | "busy" @@ -43,7 +43,7 @@ type InteractionResourceStatus = | "undelivered" | "unknown"; -type InteractionType = "message" | "voice" | "unknown"; +export type InteractionType = "message" | "voice" | "unknown"; /** * Options to pass to each diff --git a/src/rest/proxy/v1/service/session/participant/messageInteraction.ts b/src/rest/proxy/v1/service/session/participant/messageInteraction.ts index 36ae8e72a0..4e74a52b67 100644 --- a/src/rest/proxy/v1/service/session/participant/messageInteraction.ts +++ b/src/rest/proxy/v1/service/session/participant/messageInteraction.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../../base/deserialize"); const serialize = require("../../../../../../base/serialize"); import { isValidPathParam } from "../../../../../../base/utility"; -type MessageInteractionResourceStatus = +export type MessageInteractionResourceStatus = | "accepted" | "answered" | "busy" @@ -43,7 +43,7 @@ type MessageInteractionResourceStatus = | "undelivered" | "unknown"; -type MessageInteractionType = "message" | "voice" | "unknown"; +export type MessageInteractionType = "message" | "voice" | "unknown"; /** * Options to pass to create a MessageInteractionInstance diff --git a/src/rest/serverless/v1/service/asset/assetVersion.ts b/src/rest/serverless/v1/service/asset/assetVersion.ts index faae74ffab..3777330266 100644 --- a/src/rest/serverless/v1/service/asset/assetVersion.ts +++ b/src/rest/serverless/v1/service/asset/assetVersion.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type AssetVersionVisibility = "public" | "private" | "protected"; +export type AssetVersionVisibility = "public" | "private" | "protected"; /** * Options to pass to each diff --git a/src/rest/serverless/v1/service/build.ts b/src/rest/serverless/v1/service/build.ts index 49e9a84c8c..0efb47b657 100644 --- a/src/rest/serverless/v1/service/build.ts +++ b/src/rest/serverless/v1/service/build.ts @@ -21,9 +21,9 @@ const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; import { BuildStatusListInstance } from "./build/buildStatus"; -type BuildRuntime = "node8" | "node10" | "node12" | "node14" | "node16"; +export type BuildRuntime = "node8" | "node10" | "node12" | "node14" | "node16"; -type BuildStatus = "building" | "completed" | "failed"; +export type BuildStatus = "building" | "completed" | "failed"; /** * Options to pass to create a BuildInstance diff --git a/src/rest/serverless/v1/service/build/buildStatus.ts b/src/rest/serverless/v1/service/build/buildStatus.ts index c7545c4440..a5d87c89ac 100644 --- a/src/rest/serverless/v1/service/build/buildStatus.ts +++ b/src/rest/serverless/v1/service/build/buildStatus.ts @@ -18,7 +18,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type BuildStatusStatus = "building" | "completed" | "failed"; +export type BuildStatusStatus = "building" | "completed" | "failed"; export interface BuildStatusContext { /** diff --git a/src/rest/serverless/v1/service/environment/log.ts b/src/rest/serverless/v1/service/environment/log.ts index c507a7f78d..a2329877d4 100644 --- a/src/rest/serverless/v1/service/environment/log.ts +++ b/src/rest/serverless/v1/service/environment/log.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type LogLevel = "info" | "warn" | "error"; +export type LogLevel = "info" | "warn" | "error"; /** * Options to pass to each diff --git a/src/rest/serverless/v1/service/function/functionVersion.ts b/src/rest/serverless/v1/service/function/functionVersion.ts index 9a89fad315..4698c0ce44 100644 --- a/src/rest/serverless/v1/service/function/functionVersion.ts +++ b/src/rest/serverless/v1/service/function/functionVersion.ts @@ -21,7 +21,7 @@ const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; import { FunctionVersionContentListInstance } from "./functionVersion/functionVersionContent"; -type FunctionVersionVisibility = "public" | "private" | "protected"; +export type FunctionVersionVisibility = "public" | "private" | "protected"; /** * Options to pass to each diff --git a/src/rest/studio/v1/flow.ts b/src/rest/studio/v1/flow.ts index 987837cde9..cbadb7c305 100644 --- a/src/rest/studio/v1/flow.ts +++ b/src/rest/studio/v1/flow.ts @@ -22,7 +22,7 @@ import { isValidPathParam } from "../../../base/utility"; import { EngagementListInstance } from "./flow/engagement"; import { ExecutionListInstance } from "./flow/execution"; -type FlowStatus = "draft" | "published"; +export type FlowStatus = "draft" | "published"; /** * Options to pass to each diff --git a/src/rest/studio/v1/flow/engagement.ts b/src/rest/studio/v1/flow/engagement.ts index 7aee89c757..3d22db0293 100644 --- a/src/rest/studio/v1/flow/engagement.ts +++ b/src/rest/studio/v1/flow/engagement.ts @@ -22,7 +22,7 @@ import { isValidPathParam } from "../../../../base/utility"; import { EngagementContextListInstance } from "./engagement/engagementContext"; import { StepListInstance } from "./engagement/step"; -type EngagementStatus = "active" | "ended"; +export type EngagementStatus = "active" | "ended"; /** * Options to pass to create a EngagementInstance diff --git a/src/rest/studio/v1/flow/execution.ts b/src/rest/studio/v1/flow/execution.ts index b15a7186b4..3f3c31d8ca 100644 --- a/src/rest/studio/v1/flow/execution.ts +++ b/src/rest/studio/v1/flow/execution.ts @@ -22,7 +22,7 @@ import { isValidPathParam } from "../../../../base/utility"; import { ExecutionContextListInstance } from "./execution/executionContext"; import { ExecutionStepListInstance } from "./execution/executionStep"; -type ExecutionStatus = "active" | "ended"; +export type ExecutionStatus = "active" | "ended"; /** * Options to pass to update a ExecutionInstance diff --git a/src/rest/studio/v2/flow.ts b/src/rest/studio/v2/flow.ts index 874afef6a2..e37643bff8 100644 --- a/src/rest/studio/v2/flow.ts +++ b/src/rest/studio/v2/flow.ts @@ -23,7 +23,7 @@ import { ExecutionListInstance } from "./flow/execution"; import { FlowRevisionListInstance } from "./flow/flowRevision"; import { FlowTestUserListInstance } from "./flow/flowTestUser"; -type FlowStatus = "draft" | "published"; +export type FlowStatus = "draft" | "published"; /** * Options to pass to update a FlowInstance diff --git a/src/rest/studio/v2/flow/execution.ts b/src/rest/studio/v2/flow/execution.ts index 05af6e0fe3..87f75940cd 100644 --- a/src/rest/studio/v2/flow/execution.ts +++ b/src/rest/studio/v2/flow/execution.ts @@ -22,7 +22,7 @@ import { isValidPathParam } from "../../../../base/utility"; import { ExecutionContextListInstance } from "./execution/executionContext"; import { ExecutionStepListInstance } from "./execution/executionStep"; -type ExecutionStatus = "active" | "ended"; +export type ExecutionStatus = "active" | "ended"; /** * Options to pass to update a ExecutionInstance diff --git a/src/rest/studio/v2/flow/flowRevision.ts b/src/rest/studio/v2/flow/flowRevision.ts index 1619d5e81c..4acfb6f8da 100644 --- a/src/rest/studio/v2/flow/flowRevision.ts +++ b/src/rest/studio/v2/flow/flowRevision.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type FlowRevisionStatus = "draft" | "published"; +export type FlowRevisionStatus = "draft" | "published"; /** * Options to pass to each diff --git a/src/rest/studio/v2/flowValidate.ts b/src/rest/studio/v2/flowValidate.ts index d6a4299f63..aa8ff55f95 100644 --- a/src/rest/studio/v2/flowValidate.ts +++ b/src/rest/studio/v2/flowValidate.ts @@ -18,7 +18,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type FlowValidateStatus = "draft" | "published"; +export type FlowValidateStatus = "draft" | "published"; /** * Options to pass to update a FlowValidateInstance diff --git a/src/rest/supersim/v1/esimProfile.ts b/src/rest/supersim/v1/esimProfile.ts index b4aee0da29..b6ae59f6b3 100644 --- a/src/rest/supersim/v1/esimProfile.ts +++ b/src/rest/supersim/v1/esimProfile.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type EsimProfileStatus = +export type EsimProfileStatus = | "new" | "reserving" | "available" diff --git a/src/rest/supersim/v1/fleet.ts b/src/rest/supersim/v1/fleet.ts index bfe2c3adc2..aa505c44d3 100644 --- a/src/rest/supersim/v1/fleet.ts +++ b/src/rest/supersim/v1/fleet.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type FleetDataMetering = "payg"; +export type FleetDataMetering = "payg"; /** * Options to pass to update a FleetInstance diff --git a/src/rest/supersim/v1/ipCommand.ts b/src/rest/supersim/v1/ipCommand.ts index 55c329b6a7..db230ce9e4 100644 --- a/src/rest/supersim/v1/ipCommand.ts +++ b/src/rest/supersim/v1/ipCommand.ts @@ -20,11 +20,11 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type IpCommandDirection = "to_sim" | "from_sim"; +export type IpCommandDirection = "to_sim" | "from_sim"; -type IpCommandPayloadType = "text" | "binary"; +export type IpCommandPayloadType = "text" | "binary"; -type IpCommandStatus = "queued" | "sent" | "received" | "failed"; +export type IpCommandStatus = "queued" | "sent" | "received" | "failed"; /** * Options to pass to create a IpCommandInstance diff --git a/src/rest/supersim/v1/settingsUpdate.ts b/src/rest/supersim/v1/settingsUpdate.ts index 90af92850a..f1be99f731 100644 --- a/src/rest/supersim/v1/settingsUpdate.ts +++ b/src/rest/supersim/v1/settingsUpdate.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type SettingsUpdateStatus = +export type SettingsUpdateStatus = | "scheduled" | "in-progress" | "successful" diff --git a/src/rest/supersim/v1/sim.ts b/src/rest/supersim/v1/sim.ts index 097b25cc50..388c24c8bb 100644 --- a/src/rest/supersim/v1/sim.ts +++ b/src/rest/supersim/v1/sim.ts @@ -22,9 +22,9 @@ import { isValidPathParam } from "../../../base/utility"; import { BillingPeriodListInstance } from "./sim/billingPeriod"; import { SimIpAddressListInstance } from "./sim/simIpAddress"; -type SimStatus = "new" | "ready" | "active" | "inactive" | "scheduled"; +export type SimStatus = "new" | "ready" | "active" | "inactive" | "scheduled"; -type SimStatusUpdate = "ready" | "active" | "inactive"; +export type SimStatusUpdate = "ready" | "active" | "inactive"; /** * Options to pass to update a SimInstance diff --git a/src/rest/supersim/v1/sim/billingPeriod.ts b/src/rest/supersim/v1/sim/billingPeriod.ts index 497059fef8..8373ef4cae 100644 --- a/src/rest/supersim/v1/sim/billingPeriod.ts +++ b/src/rest/supersim/v1/sim/billingPeriod.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type BillingPeriodBpType = "ready" | "active"; +export type BillingPeriodBpType = "ready" | "active"; /** * Options to pass to each diff --git a/src/rest/supersim/v1/sim/simIpAddress.ts b/src/rest/supersim/v1/sim/simIpAddress.ts index 96d2606e40..abbd8b11b2 100644 --- a/src/rest/supersim/v1/sim/simIpAddress.ts +++ b/src/rest/supersim/v1/sim/simIpAddress.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type SimIpAddressIpAddressVersion = "IPv4" | "IPv6"; +export type SimIpAddressIpAddressVersion = "IPv4" | "IPv6"; /** * Options to pass to each diff --git a/src/rest/supersim/v1/smsCommand.ts b/src/rest/supersim/v1/smsCommand.ts index 959bcb8d71..5e1c07a14b 100644 --- a/src/rest/supersim/v1/smsCommand.ts +++ b/src/rest/supersim/v1/smsCommand.ts @@ -20,9 +20,14 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type SmsCommandDirection = "to_sim" | "from_sim"; - -type SmsCommandStatus = "queued" | "sent" | "delivered" | "received" | "failed"; +export type SmsCommandDirection = "to_sim" | "from_sim"; + +export type SmsCommandStatus = + | "queued" + | "sent" + | "delivered" + | "received" + | "failed"; /** * Options to pass to create a SmsCommandInstance diff --git a/src/rest/supersim/v1/usageRecord.ts b/src/rest/supersim/v1/usageRecord.ts index 459635eea0..1bc27fdbd4 100644 --- a/src/rest/supersim/v1/usageRecord.ts +++ b/src/rest/supersim/v1/usageRecord.ts @@ -20,9 +20,9 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type UsageRecordGranularity = "hour" | "day" | "all"; +export type UsageRecordGranularity = "hour" | "day" | "all"; -type UsageRecordGroup = "sim" | "fleet" | "network" | "isoCountry"; +export type UsageRecordGroup = "sim" | "fleet" | "network" | "isoCountry"; /** * Options to pass to each diff --git a/src/rest/sync/v1/service/syncList/syncListItem.ts b/src/rest/sync/v1/service/syncList/syncListItem.ts index 0b952ed78f..33257a563b 100644 --- a/src/rest/sync/v1/service/syncList/syncListItem.ts +++ b/src/rest/sync/v1/service/syncList/syncListItem.ts @@ -20,9 +20,9 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type SyncListItemQueryFromBoundType = "inclusive" | "exclusive"; +export type SyncListItemQueryFromBoundType = "inclusive" | "exclusive"; -type SyncListItemQueryResultOrder = "asc" | "desc"; +export type SyncListItemQueryResultOrder = "asc" | "desc"; /** * Options to pass to remove a SyncListItemInstance diff --git a/src/rest/sync/v1/service/syncMap/syncMapItem.ts b/src/rest/sync/v1/service/syncMap/syncMapItem.ts index 455eddd7c7..5a798c90ed 100644 --- a/src/rest/sync/v1/service/syncMap/syncMapItem.ts +++ b/src/rest/sync/v1/service/syncMap/syncMapItem.ts @@ -20,9 +20,9 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type SyncMapItemQueryFromBoundType = "inclusive" | "exclusive"; +export type SyncMapItemQueryFromBoundType = "inclusive" | "exclusive"; -type SyncMapItemQueryResultOrder = "asc" | "desc"; +export type SyncMapItemQueryResultOrder = "asc" | "desc"; /** * Options to pass to remove a SyncMapItemInstance diff --git a/src/rest/taskrouter/v1/workspace.ts b/src/rest/taskrouter/v1/workspace.ts index 71af7f8f90..eb72ddaeb1 100644 --- a/src/rest/taskrouter/v1/workspace.ts +++ b/src/rest/taskrouter/v1/workspace.ts @@ -30,7 +30,7 @@ import { WorkspaceCumulativeStatisticsListInstance } from "./workspace/workspace import { WorkspaceRealTimeStatisticsListInstance } from "./workspace/workspaceRealTimeStatistics"; import { WorkspaceStatisticsListInstance } from "./workspace/workspaceStatistics"; -type WorkspaceQueueOrder = "FIFO" | "LIFO"; +export type WorkspaceQueueOrder = "FIFO" | "LIFO"; /** * Options to pass to update a WorkspaceInstance diff --git a/src/rest/taskrouter/v1/workspace/task.ts b/src/rest/taskrouter/v1/workspace/task.ts index 9490f1fd1d..bbb18889f7 100644 --- a/src/rest/taskrouter/v1/workspace/task.ts +++ b/src/rest/taskrouter/v1/workspace/task.ts @@ -21,7 +21,7 @@ const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; import { ReservationListInstance } from "./task/reservation"; -type TaskStatus = +export type TaskStatus = | "pending" | "reserved" | "assigned" diff --git a/src/rest/taskrouter/v1/workspace/task/reservation.ts b/src/rest/taskrouter/v1/workspace/task/reservation.ts index d49fd77729..46583b74cb 100644 --- a/src/rest/taskrouter/v1/workspace/task/reservation.ts +++ b/src/rest/taskrouter/v1/workspace/task/reservation.ts @@ -20,13 +20,13 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type TaskReservationCallStatus = +export type TaskReservationCallStatus = | "initiated" | "ringing" | "answered" | "completed"; -type TaskReservationConferenceEvent = +export type TaskReservationConferenceEvent = | "start" | "end" | "join" @@ -35,7 +35,7 @@ type TaskReservationConferenceEvent = | "hold" | "speaker"; -type TaskReservationStatus = +export type TaskReservationStatus = | "pending" | "accepted" | "rejected" @@ -45,7 +45,7 @@ type TaskReservationStatus = | "wrapping" | "completed"; -type TaskReservationSupervisorMode = "monitor" | "whisper" | "barge"; +export type TaskReservationSupervisorMode = "monitor" | "whisper" | "barge"; /** * Options to pass to update a ReservationInstance diff --git a/src/rest/taskrouter/v1/workspace/taskQueue.ts b/src/rest/taskrouter/v1/workspace/taskQueue.ts index f9a3fee597..c3b0b318c6 100644 --- a/src/rest/taskrouter/v1/workspace/taskQueue.ts +++ b/src/rest/taskrouter/v1/workspace/taskQueue.ts @@ -24,7 +24,7 @@ import { TaskQueueRealTimeStatisticsListInstance } from "./taskQueue/taskQueueRe import { TaskQueueStatisticsListInstance } from "./taskQueue/taskQueueStatistics"; import { TaskQueuesStatisticsListInstance } from "./taskQueue/taskQueuesStatistics"; -type TaskQueueTaskOrder = "FIFO" | "LIFO"; +export type TaskQueueTaskOrder = "FIFO" | "LIFO"; /** * Options to pass to update a TaskQueueInstance diff --git a/src/rest/taskrouter/v1/workspace/worker/reservation.ts b/src/rest/taskrouter/v1/workspace/worker/reservation.ts index 171edc2c2b..593c5d31f1 100644 --- a/src/rest/taskrouter/v1/workspace/worker/reservation.ts +++ b/src/rest/taskrouter/v1/workspace/worker/reservation.ts @@ -20,13 +20,13 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type WorkerReservationCallStatus = +export type WorkerReservationCallStatus = | "initiated" | "ringing" | "answered" | "completed"; -type WorkerReservationConferenceEvent = +export type WorkerReservationConferenceEvent = | "start" | "end" | "join" @@ -35,7 +35,7 @@ type WorkerReservationConferenceEvent = | "hold" | "speaker"; -type WorkerReservationStatus = +export type WorkerReservationStatus = | "pending" | "accepted" | "rejected" diff --git a/src/rest/trunking/v1/trunk.ts b/src/rest/trunking/v1/trunk.ts index 839d49c3c2..4ebaf80b96 100644 --- a/src/rest/trunking/v1/trunk.ts +++ b/src/rest/trunking/v1/trunk.ts @@ -25,9 +25,9 @@ import { OriginationUrlListInstance } from "./trunk/originationUrl"; import { PhoneNumberListInstance } from "./trunk/phoneNumber"; import { RecordingListInstance } from "./trunk/recording"; -type TrunkTransferCallerId = "from-transferee" | "from-transferor"; +export type TrunkTransferCallerId = "from-transferee" | "from-transferor"; -type TrunkTransferSetting = "disable-all" | "enable-all" | "sip-only"; +export type TrunkTransferSetting = "disable-all" | "enable-all" | "sip-only"; /** * Options to pass to update a TrunkInstance diff --git a/src/rest/trunking/v1/trunk/phoneNumber.ts b/src/rest/trunking/v1/trunk/phoneNumber.ts index 58dcace244..a4e7f1529d 100644 --- a/src/rest/trunking/v1/trunk/phoneNumber.ts +++ b/src/rest/trunking/v1/trunk/phoneNumber.ts @@ -20,7 +20,11 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type PhoneNumberAddressRequirement = "none" | "any" | "local" | "foreign"; +export type PhoneNumberAddressRequirement = + | "none" + | "any" + | "local" + | "foreign"; /** * Options to pass to create a PhoneNumberInstance diff --git a/src/rest/trunking/v1/trunk/recording.ts b/src/rest/trunking/v1/trunk/recording.ts index 568dafd8a2..4d43367405 100644 --- a/src/rest/trunking/v1/trunk/recording.ts +++ b/src/rest/trunking/v1/trunk/recording.ts @@ -18,14 +18,14 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type RecordingRecordingMode = +export type RecordingRecordingMode = | "do-not-record" | "record-from-ringing" | "record-from-answer" | "record-from-ringing-dual" | "record-from-answer-dual"; -type RecordingRecordingTrim = "trim-silence" | "do-not-trim"; +export type RecordingRecordingTrim = "trim-silence" | "do-not-trim"; /** * Options to pass to update a RecordingInstance diff --git a/src/rest/trusthub/v1/customerProfiles.ts b/src/rest/trusthub/v1/customerProfiles.ts index 6036ba031e..9b77c43c8c 100644 --- a/src/rest/trusthub/v1/customerProfiles.ts +++ b/src/rest/trusthub/v1/customerProfiles.ts @@ -23,7 +23,7 @@ import { CustomerProfilesChannelEndpointAssignmentListInstance } from "./custome import { CustomerProfilesEntityAssignmentsListInstance } from "./customerProfiles/customerProfilesEntityAssignments"; import { CustomerProfilesEvaluationsListInstance } from "./customerProfiles/customerProfilesEvaluations"; -type CustomerProfileStatus = +export type CustomerProfileStatus = | "draft" | "pending-review" | "in-review" diff --git a/src/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.ts b/src/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.ts index 2e59613451..70da1152e3 100644 --- a/src/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.ts +++ b/src/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type CustomerProfileEvaluationStatus = "compliant" | "noncompliant"; +export type CustomerProfileEvaluationStatus = "compliant" | "noncompliant"; /** * Options to pass to create a CustomerProfilesEvaluationsInstance diff --git a/src/rest/trusthub/v1/supportingDocument.ts b/src/rest/trusthub/v1/supportingDocument.ts index 23904846b0..f9dc3cce0d 100644 --- a/src/rest/trusthub/v1/supportingDocument.ts +++ b/src/rest/trusthub/v1/supportingDocument.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type SupportingDocumentStatus = +export type SupportingDocumentStatus = | "draft" | "pending-review" | "rejected" diff --git a/src/rest/trusthub/v1/trustProducts.ts b/src/rest/trusthub/v1/trustProducts.ts index 55767019d3..f09a2fa5ae 100644 --- a/src/rest/trusthub/v1/trustProducts.ts +++ b/src/rest/trusthub/v1/trustProducts.ts @@ -23,7 +23,7 @@ import { TrustProductsChannelEndpointAssignmentListInstance } from "./trustProdu import { TrustProductsEntityAssignmentsListInstance } from "./trustProducts/trustProductsEntityAssignments"; import { TrustProductsEvaluationsListInstance } from "./trustProducts/trustProductsEvaluations"; -type TrustProductStatus = +export type TrustProductStatus = | "draft" | "pending-review" | "in-review" diff --git a/src/rest/trusthub/v1/trustProducts/trustProductsEvaluations.ts b/src/rest/trusthub/v1/trustProducts/trustProductsEvaluations.ts index d05f8ea99b..37014b1d21 100644 --- a/src/rest/trusthub/v1/trustProducts/trustProductsEvaluations.ts +++ b/src/rest/trusthub/v1/trustProducts/trustProductsEvaluations.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type TrustProductEvaluationStatus = "compliant" | "noncompliant"; +export type TrustProductEvaluationStatus = "compliant" | "noncompliant"; /** * Options to pass to create a TrustProductsEvaluationsInstance diff --git a/src/rest/verify/v2/form.ts b/src/rest/verify/v2/form.ts index f194cf7fec..0a021fc24f 100644 --- a/src/rest/verify/v2/form.ts +++ b/src/rest/verify/v2/form.ts @@ -18,7 +18,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type FormFormTypes = "form-push"; +export type FormFormTypes = "form-push"; export interface FormContext { /** diff --git a/src/rest/verify/v2/service/accessToken.ts b/src/rest/verify/v2/service/accessToken.ts index d1431d8a12..9833362f63 100644 --- a/src/rest/verify/v2/service/accessToken.ts +++ b/src/rest/verify/v2/service/accessToken.ts @@ -18,7 +18,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type AccessTokenFactorTypes = "push"; +export type AccessTokenFactorTypes = "push"; /** * Options to pass to create a AccessTokenInstance diff --git a/src/rest/verify/v2/service/entity/challenge.ts b/src/rest/verify/v2/service/entity/challenge.ts index a17f7af9ab..19422a54bf 100644 --- a/src/rest/verify/v2/service/entity/challenge.ts +++ b/src/rest/verify/v2/service/entity/challenge.ts @@ -21,13 +21,17 @@ const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; import { NotificationListInstance } from "./challenge/notification"; -type ChallengeChallengeReasons = "none" | "not_needed" | "not_requested"; +export type ChallengeChallengeReasons = "none" | "not_needed" | "not_requested"; -type ChallengeChallengeStatuses = "pending" | "expired" | "approved" | "denied"; +export type ChallengeChallengeStatuses = + | "pending" + | "expired" + | "approved" + | "denied"; -type ChallengeFactorTypes = "push" | "totp"; +export type ChallengeFactorTypes = "push" | "totp"; -type ChallengeListOrders = "asc" | "desc"; +export type ChallengeListOrders = "asc" | "desc"; /** * Options to pass to update a ChallengeInstance diff --git a/src/rest/verify/v2/service/entity/factor.ts b/src/rest/verify/v2/service/entity/factor.ts index a98bb73667..32118485bc 100644 --- a/src/rest/verify/v2/service/entity/factor.ts +++ b/src/rest/verify/v2/service/entity/factor.ts @@ -20,11 +20,11 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type FactorFactorStatuses = "unverified" | "verified"; +export type FactorFactorStatuses = "unverified" | "verified"; -type FactorFactorTypes = "push" | "totp"; +export type FactorFactorTypes = "push" | "totp"; -type FactorTotpAlgorithms = "sha1" | "sha256" | "sha512"; +export type FactorTotpAlgorithms = "sha1" | "sha256" | "sha512"; /** * Options to pass to update a FactorInstance diff --git a/src/rest/verify/v2/service/entity/newFactor.ts b/src/rest/verify/v2/service/entity/newFactor.ts index 80c99d7584..96f33fd285 100644 --- a/src/rest/verify/v2/service/entity/newFactor.ts +++ b/src/rest/verify/v2/service/entity/newFactor.ts @@ -18,13 +18,13 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type NewFactorFactorStatuses = "unverified" | "verified"; +export type NewFactorFactorStatuses = "unverified" | "verified"; -type NewFactorFactorTypes = "push" | "totp"; +export type NewFactorFactorTypes = "push" | "totp"; -type NewFactorNotificationPlatforms = "apn" | "fcm" | "none"; +export type NewFactorNotificationPlatforms = "apn" | "fcm" | "none"; -type NewFactorTotpAlgorithms = "sha1" | "sha256" | "sha512"; +export type NewFactorTotpAlgorithms = "sha1" | "sha256" | "sha512"; /** * Options to pass to create a NewFactorInstance diff --git a/src/rest/verify/v2/service/verification.ts b/src/rest/verify/v2/service/verification.ts index b481165678..91074f87b0 100644 --- a/src/rest/verify/v2/service/verification.ts +++ b/src/rest/verify/v2/service/verification.ts @@ -18,9 +18,9 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type VerificationChannel = "sms" | "call" | "email" | "whatsapp" | "sna"; +export type VerificationChannel = "sms" | "call" | "email" | "whatsapp" | "sna"; -type VerificationStatus = "canceled" | "approved"; +export type VerificationStatus = "canceled" | "approved"; /** * Options to pass to update a VerificationInstance diff --git a/src/rest/verify/v2/service/verificationCheck.ts b/src/rest/verify/v2/service/verificationCheck.ts index 08c5a1a0c1..73311a9188 100644 --- a/src/rest/verify/v2/service/verificationCheck.ts +++ b/src/rest/verify/v2/service/verificationCheck.ts @@ -18,7 +18,12 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type VerificationCheckChannel = "sms" | "call" | "email" | "whatsapp" | "sna"; +export type VerificationCheckChannel = + | "sms" + | "call" + | "email" + | "whatsapp" + | "sna"; /** * Options to pass to create a VerificationCheckInstance diff --git a/src/rest/verify/v2/service/webhook.ts b/src/rest/verify/v2/service/webhook.ts index 93edab3922..09ea06d7bf 100644 --- a/src/rest/verify/v2/service/webhook.ts +++ b/src/rest/verify/v2/service/webhook.ts @@ -20,11 +20,11 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type WebhookMethods = "GET" | "POST"; +export type WebhookMethods = "GET" | "POST"; -type WebhookStatus = "enabled" | "disabled"; +export type WebhookStatus = "enabled" | "disabled"; -type WebhookVersion = "v1" | "v2"; +export type WebhookVersion = "v1" | "v2"; /** * Options to pass to update a WebhookInstance diff --git a/src/rest/verify/v2/verificationAttempt.ts b/src/rest/verify/v2/verificationAttempt.ts index cc3c860b42..98e4f70022 100644 --- a/src/rest/verify/v2/verificationAttempt.ts +++ b/src/rest/verify/v2/verificationAttempt.ts @@ -20,9 +20,9 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type VerificationAttemptChannels = "sms" | "call" | "email" | "whatsapp"; +export type VerificationAttemptChannels = "sms" | "call" | "email" | "whatsapp"; -type VerificationAttemptConversionStatus = "converted" | "unconverted"; +export type VerificationAttemptConversionStatus = "converted" | "unconverted"; /** * Options to pass to each diff --git a/src/rest/verify/v2/verificationAttemptsSummary.ts b/src/rest/verify/v2/verificationAttemptsSummary.ts index 15ac8954ed..374eebcfce 100644 --- a/src/rest/verify/v2/verificationAttemptsSummary.ts +++ b/src/rest/verify/v2/verificationAttemptsSummary.ts @@ -18,7 +18,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type VerificationAttemptsSummaryChannels = +export type VerificationAttemptsSummaryChannels = | "sms" | "call" | "email" diff --git a/src/rest/video/v1/composition.ts b/src/rest/video/v1/composition.ts index bc82a1b28a..9cffd6d1f0 100644 --- a/src/rest/video/v1/composition.ts +++ b/src/rest/video/v1/composition.ts @@ -20,9 +20,9 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type CompositionFormat = "mp4" | "webm"; +export type CompositionFormat = "mp4" | "webm"; -type CompositionStatus = +export type CompositionStatus = | "enqueued" | "processing" | "completed" diff --git a/src/rest/video/v1/compositionHook.ts b/src/rest/video/v1/compositionHook.ts index 992b04887b..a169ed9996 100644 --- a/src/rest/video/v1/compositionHook.ts +++ b/src/rest/video/v1/compositionHook.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type CompositionHookFormat = "mp4" | "webm"; +export type CompositionHookFormat = "mp4" | "webm"; /** * Options to pass to update a CompositionHookInstance diff --git a/src/rest/video/v1/recording.ts b/src/rest/video/v1/recording.ts index 22dc378733..32df70f3df 100644 --- a/src/rest/video/v1/recording.ts +++ b/src/rest/video/v1/recording.ts @@ -20,13 +20,13 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type RecordingCodec = "VP8" | "H264" | "OPUS" | "PCMU"; +export type RecordingCodec = "VP8" | "H264" | "OPUS" | "PCMU"; -type RecordingFormat = "mka" | "mkv"; +export type RecordingFormat = "mka" | "mkv"; -type RecordingStatus = "processing" | "completed" | "deleted" | "failed"; +export type RecordingStatus = "processing" | "completed" | "deleted" | "failed"; -type RecordingType = "audio" | "video" | "data"; +export type RecordingType = "audio" | "video" | "data"; /** * Options to pass to each diff --git a/src/rest/video/v1/room.ts b/src/rest/video/v1/room.ts index e53774767b..cc8190657e 100644 --- a/src/rest/video/v1/room.ts +++ b/src/rest/video/v1/room.ts @@ -23,11 +23,11 @@ import { ParticipantListInstance } from "./room/participant"; import { RecordingRulesListInstance } from "./room/recordingRules"; import { RoomRecordingListInstance } from "./room/roomRecording"; -type RoomRoomStatus = "in-progress" | "completed" | "failed"; +export type RoomRoomStatus = "in-progress" | "completed" | "failed"; -type RoomRoomType = "go" | "peer-to-peer" | "group" | "group-small"; +export type RoomRoomType = "go" | "peer-to-peer" | "group" | "group-small"; -type RoomVideoCodec = "VP8" | "H264"; +export type RoomVideoCodec = "VP8" | "H264"; /** * Options to pass to update a RoomInstance diff --git a/src/rest/video/v1/room/participant.ts b/src/rest/video/v1/room/participant.ts index 2333713948..3036a31bf2 100644 --- a/src/rest/video/v1/room/participant.ts +++ b/src/rest/video/v1/room/participant.ts @@ -24,7 +24,7 @@ import { PublishedTrackListInstance } from "./participant/publishedTrack"; import { SubscribeRulesListInstance } from "./participant/subscribeRules"; import { SubscribedTrackListInstance } from "./participant/subscribedTrack"; -type RoomParticipantStatus = "connected" | "disconnected"; +export type RoomParticipantStatus = "connected" | "disconnected"; /** * Options to pass to update a ParticipantInstance diff --git a/src/rest/video/v1/room/participant/anonymize.ts b/src/rest/video/v1/room/participant/anonymize.ts index e6e47c8283..3b3d7ab9f7 100644 --- a/src/rest/video/v1/room/participant/anonymize.ts +++ b/src/rest/video/v1/room/participant/anonymize.ts @@ -18,7 +18,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type RoomParticipantAnonymizeStatus = "connected" | "disconnected"; +export type RoomParticipantAnonymizeStatus = "connected" | "disconnected"; export interface AnonymizeContext { /** diff --git a/src/rest/video/v1/room/participant/publishedTrack.ts b/src/rest/video/v1/room/participant/publishedTrack.ts index 6f8327d8e2..0d0e669dc0 100644 --- a/src/rest/video/v1/room/participant/publishedTrack.ts +++ b/src/rest/video/v1/room/participant/publishedTrack.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type RoomParticipantPublishedTrackKind = "audio" | "video" | "data"; +export type RoomParticipantPublishedTrackKind = "audio" | "video" | "data"; /** * Options to pass to each diff --git a/src/rest/video/v1/room/participant/subscribedTrack.ts b/src/rest/video/v1/room/participant/subscribedTrack.ts index 02aa43abd2..482f121ab1 100644 --- a/src/rest/video/v1/room/participant/subscribedTrack.ts +++ b/src/rest/video/v1/room/participant/subscribedTrack.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../../base/deserialize"); const serialize = require("../../../../../base/serialize"); import { isValidPathParam } from "../../../../../base/utility"; -type RoomParticipantSubscribedTrackKind = "audio" | "video" | "data"; +export type RoomParticipantSubscribedTrackKind = "audio" | "video" | "data"; /** * Options to pass to each diff --git a/src/rest/video/v1/room/roomRecording.ts b/src/rest/video/v1/room/roomRecording.ts index 27b662e198..d149f5affc 100644 --- a/src/rest/video/v1/room/roomRecording.ts +++ b/src/rest/video/v1/room/roomRecording.ts @@ -20,13 +20,17 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type RoomRecordingCodec = "VP8" | "H264" | "OPUS" | "PCMU"; +export type RoomRecordingCodec = "VP8" | "H264" | "OPUS" | "PCMU"; -type RoomRecordingFormat = "mka" | "mkv"; +export type RoomRecordingFormat = "mka" | "mkv"; -type RoomRecordingStatus = "processing" | "completed" | "deleted" | "failed"; +export type RoomRecordingStatus = + | "processing" + | "completed" + | "deleted" + | "failed"; -type RoomRecordingType = "audio" | "video" | "data"; +export type RoomRecordingType = "audio" | "video" | "data"; /** * Options to pass to each diff --git a/src/rest/wireless/v1/command.ts b/src/rest/wireless/v1/command.ts index 2419fbdcb5..6a8f2be23c 100644 --- a/src/rest/wireless/v1/command.ts +++ b/src/rest/wireless/v1/command.ts @@ -20,13 +20,18 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type CommandCommandMode = "text" | "binary"; +export type CommandCommandMode = "text" | "binary"; -type CommandDirection = "from_sim" | "to_sim"; +export type CommandDirection = "from_sim" | "to_sim"; -type CommandStatus = "queued" | "sent" | "delivered" | "received" | "failed"; +export type CommandStatus = + | "queued" + | "sent" + | "delivered" + | "received" + | "failed"; -type CommandTransport = "sms" | "ip"; +export type CommandTransport = "sms" | "ip"; /** * Options to pass to create a CommandInstance diff --git a/src/rest/wireless/v1/sim.ts b/src/rest/wireless/v1/sim.ts index 8bd8d2066f..a64b7eec28 100644 --- a/src/rest/wireless/v1/sim.ts +++ b/src/rest/wireless/v1/sim.ts @@ -22,9 +22,9 @@ import { isValidPathParam } from "../../../base/utility"; import { DataSessionListInstance } from "./sim/dataSession"; import { UsageRecordListInstance } from "./sim/usageRecord"; -type SimResetStatus = "resetting"; +export type SimResetStatus = "resetting"; -type SimStatus = +export type SimStatus = | "new" | "ready" | "active" diff --git a/src/rest/wireless/v1/sim/usageRecord.ts b/src/rest/wireless/v1/sim/usageRecord.ts index 737cdf0372..135f7adaf5 100644 --- a/src/rest/wireless/v1/sim/usageRecord.ts +++ b/src/rest/wireless/v1/sim/usageRecord.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../../base/deserialize"); const serialize = require("../../../../base/serialize"); import { isValidPathParam } from "../../../../base/utility"; -type UsageRecordGranularity = "hourly" | "daily" | "all"; +export type UsageRecordGranularity = "hourly" | "daily" | "all"; /** * Options to pass to each diff --git a/src/rest/wireless/v1/usageRecord.ts b/src/rest/wireless/v1/usageRecord.ts index 828cd582fa..77f67d75ec 100644 --- a/src/rest/wireless/v1/usageRecord.ts +++ b/src/rest/wireless/v1/usageRecord.ts @@ -20,7 +20,7 @@ const deserialize = require("../../../base/deserialize"); const serialize = require("../../../base/serialize"); import { isValidPathParam } from "../../../base/utility"; -type AccountUsageRecordGranularity = "hourly" | "daily" | "all"; +export type AccountUsageRecordGranularity = "hourly" | "daily" | "all"; /** * Options to pass to each