twilio 4.7.2 → 4.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/base/BaseTwilio.d.ts +1 -0
- package/lib/index.d.ts +52 -36
- package/lib/index.js +32 -51
- package/lib/jwt/AccessToken.d.ts +168 -173
- package/lib/jwt/AccessToken.js +180 -185
- package/lib/rest/api/v2010/account/address/dependentPhoneNumber.d.ts +17 -22
- package/lib/rest/api/v2010/account/application.d.ts +15 -20
- package/lib/rest/api/v2010/account/authorizedConnectApp.d.ts +1 -1
- package/lib/rest/api/v2010/account/call/feedback.d.ts +5 -5
- package/lib/rest/api/v2010/account/call/feedbackSummary.d.ts +4 -4
- package/lib/rest/api/v2010/account/call/notification.d.ts +3 -4
- package/lib/rest/api/v2010/account/call/payment.d.ts +10 -10
- package/lib/rest/api/v2010/account/call/recording.d.ts +9 -9
- package/lib/rest/api/v2010/account/call/siprec.d.ts +3 -3
- package/lib/rest/api/v2010/account/call/stream.d.ts +3 -3
- package/lib/rest/api/v2010/account/call.d.ts +2 -2
- package/lib/rest/api/v2010/account/conference/participant.d.ts +1 -1
- package/lib/rest/api/v2010/account/conference/recording.d.ts +9 -9
- package/lib/rest/api/v2010/account/conference.d.ts +4 -4
- package/lib/rest/api/v2010/account/connectApp.d.ts +4 -5
- package/lib/rest/api/v2010/account/incomingPhoneNumber/local.d.ts +33 -38
- package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.d.ts +33 -38
- package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.d.ts +33 -38
- package/lib/rest/api/v2010/account/incomingPhoneNumber.d.ts +19 -24
- package/lib/rest/api/v2010/account/message/feedback.d.ts +5 -5
- package/lib/rest/api/v2010/account/message.d.ts +6 -6
- package/lib/rest/api/v2010/account/notification.d.ts +3 -4
- package/lib/rest/api/v2010/account/queue.d.ts +3 -3
- package/lib/rest/api/v2010/account/recording/addOnResult.d.ts +4 -4
- package/lib/rest/api/v2010/account/recording/transcription.d.ts +4 -4
- package/lib/rest/api/v2010/account/recording.d.ts +2 -2
- package/lib/rest/api/v2010/account/shortCode.d.ts +6 -8
- package/lib/rest/api/v2010/account/sip/domain.d.ts +9 -12
- package/lib/rest/api/v2010/account/transcription.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/record/allTime.d.ts +7 -7
- package/lib/rest/api/v2010/account/usage/record/daily.d.ts +7 -7
- package/lib/rest/api/v2010/account/usage/record/lastMonth.d.ts +7 -7
- package/lib/rest/api/v2010/account/usage/record/monthly.d.ts +7 -7
- package/lib/rest/api/v2010/account/usage/record/thisMonth.d.ts +7 -7
- package/lib/rest/api/v2010/account/usage/record/today.d.ts +7 -7
- package/lib/rest/api/v2010/account/usage/record/yearly.d.ts +7 -7
- package/lib/rest/api/v2010/account/usage/record/yesterday.d.ts +7 -7
- package/lib/rest/api/v2010/account/usage/record.d.ts +7 -7
- package/lib/rest/api/v2010/account/usage/trigger.d.ts +27 -28
- package/lib/rest/api/v2010/account/usage.d.ts +1 -0
- package/lib/rest/api/v2010/account.d.ts +2 -2
- package/lib/rest/autopilot/v1/assistant/modelBuild.d.ts +1 -1
- package/lib/rest/chat/v1/credential.d.ts +1 -1
- package/lib/rest/chat/v1/service/channel/message.d.ts +1 -1
- package/lib/rest/chat/v1/service/channel.d.ts +1 -1
- package/lib/rest/chat/v1/service/role.d.ts +1 -1
- package/lib/rest/chat/v1/service/user/userChannel.d.ts +1 -1
- package/lib/rest/chat/v2/credential.d.ts +1 -1
- package/lib/rest/chat/v2/service/binding.d.ts +1 -1
- package/lib/rest/chat/v2/service/channel/member.d.ts +1 -1
- package/lib/rest/chat/v2/service/channel/message.d.ts +2 -2
- package/lib/rest/chat/v2/service/channel/webhook.d.ts +5 -5
- package/lib/rest/chat/v2/service/channel.d.ts +2 -2
- package/lib/rest/chat/v2/service/role.d.ts +1 -1
- package/lib/rest/chat/v2/service/user/userBinding.d.ts +1 -1
- package/lib/rest/chat/v2/service/user/userChannel.d.ts +3 -3
- package/lib/rest/chat/v2/service/user.d.ts +1 -1
- package/lib/rest/chat/v3/channel.d.ts +2 -2
- package/lib/rest/content/V1.d.ts +5 -0
- package/lib/rest/content/V1.js +7 -0
- package/lib/rest/content/v1/contentAndApprovals.d.ts +190 -0
- package/lib/rest/content/v1/contentAndApprovals.js +134 -0
- package/lib/rest/conversations/v1/addressConfiguration.d.ts +8 -8
- package/lib/rest/conversations/v1/configuration/webhook.d.ts +9 -9
- package/lib/rest/conversations/v1/conversation/message/deliveryReceipt.d.ts +4 -4
- package/lib/rest/conversations/v1/conversation/message.d.ts +8 -8
- package/lib/rest/conversations/v1/conversation/participant.d.ts +4 -4
- package/lib/rest/conversations/v1/conversation/webhook.d.ts +5 -5
- package/lib/rest/conversations/v1/conversation.d.ts +2 -2
- package/lib/rest/conversations/v1/credential.d.ts +1 -1
- package/lib/rest/conversations/v1/participantConversation.d.ts +1 -1
- package/lib/rest/conversations/v1/role.d.ts +1 -1
- package/lib/rest/conversations/v1/service/binding.d.ts +7 -7
- package/lib/rest/conversations/v1/service/configuration/webhook.d.ts +4 -4
- package/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.d.ts +4 -4
- package/lib/rest/conversations/v1/service/conversation/message.d.ts +8 -8
- package/lib/rest/conversations/v1/service/conversation/participant.d.ts +4 -4
- package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +5 -5
- package/lib/rest/conversations/v1/service/conversation.d.ts +10 -10
- package/lib/rest/conversations/v1/service/participantConversation.d.ts +4 -4
- package/lib/rest/conversations/v1/service/role.d.ts +5 -5
- package/lib/rest/conversations/v1/service/user/userConversation.d.ts +9 -9
- package/lib/rest/conversations/v1/service/user.d.ts +4 -4
- package/lib/rest/conversations/v1/user/userConversation.d.ts +2 -2
- package/lib/rest/conversations/v1/user.d.ts +1 -1
- package/lib/rest/events/v1/sink.d.ts +2 -2
- package/lib/rest/flexApi/V1.d.ts +5 -0
- package/lib/rest/flexApi/V1.js +7 -0
- package/lib/rest/flexApi/v1/assessments.d.ts +255 -10
- package/lib/rest/flexApi/v1/assessments.js +208 -23
- package/lib/rest/flexApi/v1/configuration.d.ts +1 -1
- package/lib/rest/flexApi/v1/flexFlow.d.ts +2 -2
- package/lib/rest/flexApi/v1/insightsConversations.d.ts +172 -0
- package/lib/rest/flexApi/v1/insightsConversations.js +128 -0
- package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.d.ts +8 -2
- package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.js +4 -4
- package/lib/rest/flexApi/v1/insightsSegments.d.ts +121 -4
- package/lib/rest/flexApi/v1/insightsSegments.js +71 -2
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +2 -2
- package/lib/rest/flexApi/v1/interaction/interactionChannel.d.ts +3 -3
- package/lib/rest/flexApi/v1/webChannel.d.ts +1 -1
- package/lib/rest/frontlineApi/v1/user.d.ts +1 -1
- package/lib/rest/insights/v1/call/annotation.d.ts +2 -2
- package/lib/rest/insights/v1/call/callSummary.d.ts +17 -17
- package/lib/rest/insights/v1/call/event.d.ts +2 -2
- package/lib/rest/insights/v1/call/metric.d.ts +2 -2
- package/lib/rest/insights/v1/callSummaries.d.ts +6 -6
- package/lib/rest/insights/v1/conference/conferenceParticipant.d.ts +6 -6
- package/lib/rest/insights/v1/conference.d.ts +5 -5
- package/lib/rest/insights/v1/room/participant.d.ts +16 -16
- package/lib/rest/insights/v1/room.d.ts +41 -42
- package/lib/rest/ipMessaging/v1/credential.d.ts +1 -1
- package/lib/rest/ipMessaging/v1/service/channel/message.d.ts +1 -1
- package/lib/rest/ipMessaging/v1/service/channel.d.ts +1 -1
- package/lib/rest/ipMessaging/v1/service/role.d.ts +1 -1
- package/lib/rest/ipMessaging/v1/service/user/userChannel.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/credential.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/service/binding.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/service/channel/member.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/service/channel/message.d.ts +2 -2
- package/lib/rest/ipMessaging/v2/service/channel/webhook.d.ts +5 -5
- package/lib/rest/ipMessaging/v2/service/channel.d.ts +2 -2
- package/lib/rest/ipMessaging/v2/service/role.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/service/user/userBinding.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/service/user/userChannel.d.ts +2 -2
- package/lib/rest/ipMessaging/v2/service/user.d.ts +1 -1
- package/lib/rest/lookups/v2/phoneNumber.d.ts +1 -1
- package/lib/rest/media/v1/mediaProcessor.d.ts +6 -7
- package/lib/rest/media/v1/mediaRecording.d.ts +6 -7
- package/lib/rest/media/v1/playerStreamer.d.ts +7 -8
- package/lib/rest/messaging/V1.d.ts +10 -0
- package/lib/rest/messaging/V1.js +16 -0
- package/lib/rest/messaging/v1/brandRegistration/brandVetting.d.ts +1 -1
- package/lib/rest/messaging/v1/brandRegistration.d.ts +12 -12
- package/lib/rest/messaging/v1/domainCerts.d.ts +4 -4
- package/lib/rest/messaging/v1/domainCerts.js +2 -2
- package/lib/rest/messaging/v1/domainConfigMessagingService.d.ts +121 -0
- package/lib/rest/messaging/v1/domainConfigMessagingService.js +122 -0
- package/lib/rest/messaging/v1/linkshorteningMessagingService.d.ts +109 -0
- package/lib/rest/messaging/v1/linkshorteningMessagingService.js +135 -0
- package/lib/rest/messaging/v1/service.d.ts +7 -9
- package/lib/rest/messaging/v1/tollfreeVerification.d.ts +2 -2
- package/lib/rest/microvisor/v1/accountConfig.d.ts +27 -1
- package/lib/rest/microvisor/v1/accountConfig.js +25 -0
- package/lib/rest/microvisor/v1/accountSecret.d.ts +26 -0
- package/lib/rest/microvisor/v1/accountSecret.js +25 -0
- package/lib/rest/microvisor/v1/app/appManifest.d.ts +101 -0
- package/lib/rest/microvisor/v1/app/appManifest.js +115 -0
- package/lib/rest/microvisor/v1/app.d.ts +11 -0
- package/lib/rest/microvisor/v1/app.js +15 -0
- package/lib/rest/microvisor/v1/device/deviceConfig.d.ts +26 -0
- package/lib/rest/microvisor/v1/device/deviceConfig.js +25 -0
- package/lib/rest/microvisor/v1/device/deviceSecret.d.ts +26 -0
- package/lib/rest/microvisor/v1/device/deviceSecret.js +25 -0
- package/lib/rest/monitor/v1/alert.d.ts +3 -4
- package/lib/rest/notify/v1/credential.d.ts +1 -1
- package/lib/rest/notify/v1/service/binding.d.ts +1 -1
- package/lib/rest/notify/v1/service/notification.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle.d.ts +4 -4
- package/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +1 -1
- package/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.d.ts +2 -2
- package/lib/rest/preview/hosted_numbers/authorizationDocument.d.ts +1 -1
- package/lib/rest/preview/hosted_numbers/hostedNumberOrder.d.ts +2 -2
- package/lib/rest/preview/sync/service/syncList/syncListItem.d.ts +2 -2
- package/lib/rest/preview/sync/service/syncMap/syncMapItem.d.ts +2 -2
- package/lib/rest/preview/understand/assistant/modelBuild.d.ts +1 -1
- package/lib/rest/preview/wireless/sim.d.ts +12 -16
- package/lib/rest/proxy/v1/service/session/interaction.d.ts +2 -2
- package/lib/rest/proxy/v1/service/session/participant/messageInteraction.d.ts +2 -2
- package/lib/rest/proxy/v1/service/session.d.ts +2 -2
- package/lib/rest/proxy/v1/service.d.ts +2 -2
- package/lib/rest/serverless/v1/service/asset/assetVersion.d.ts +1 -1
- package/lib/rest/serverless/v1/service/build/buildStatus.d.ts +1 -1
- package/lib/rest/serverless/v1/service/build.d.ts +2 -2
- package/lib/rest/serverless/v1/service/environment/log.d.ts +1 -1
- package/lib/rest/serverless/v1/service/function/functionVersion.d.ts +1 -1
- package/lib/rest/studio/v1/flow/engagement.d.ts +1 -1
- package/lib/rest/studio/v1/flow/execution.d.ts +1 -1
- package/lib/rest/studio/v1/flow.d.ts +1 -1
- package/lib/rest/studio/v2/flow/execution.d.ts +1 -1
- package/lib/rest/studio/v2/flow/flowRevision.d.ts +1 -1
- package/lib/rest/studio/v2/flow.d.ts +1 -1
- package/lib/rest/studio/v2/flowValidate.d.ts +1 -1
- package/lib/rest/supersim/v1/esimProfile.d.ts +15 -1
- package/lib/rest/supersim/v1/esimProfile.js +6 -0
- package/lib/rest/supersim/v1/fleet.d.ts +7 -9
- package/lib/rest/supersim/v1/ipCommand.d.ts +3 -3
- package/lib/rest/supersim/v1/settingsUpdate.d.ts +1 -1
- package/lib/rest/supersim/v1/sim/billingPeriod.d.ts +1 -1
- package/lib/rest/supersim/v1/sim/simIpAddress.d.ts +1 -1
- package/lib/rest/supersim/v1/sim.d.ts +2 -2
- package/lib/rest/supersim/v1/smsCommand.d.ts +2 -2
- package/lib/rest/supersim/v1/usageRecord.d.ts +2 -2
- package/lib/rest/sync/v1/service/syncList/syncListItem.d.ts +2 -2
- package/lib/rest/sync/v1/service/syncMap/syncMapItem.d.ts +2 -2
- package/lib/rest/taskrouter/v1/workspace/task/reservation.d.ts +14 -14
- package/lib/rest/taskrouter/v1/workspace/task.d.ts +1 -1
- package/lib/rest/taskrouter/v1/workspace/taskQueue.d.ts +1 -1
- package/lib/rest/taskrouter/v1/workspace/worker/reservation.d.ts +12 -12
- package/lib/rest/taskrouter/v1/workspace.d.ts +1 -1
- package/lib/rest/trunking/v1/trunk/phoneNumber.d.ts +16 -21
- package/lib/rest/trunking/v1/trunk/recording.d.ts +2 -2
- package/lib/rest/trunking/v1/trunk.d.ts +5 -6
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +4 -4
- package/lib/rest/trusthub/v1/customerProfiles.d.ts +8 -8
- package/lib/rest/trusthub/v1/supportingDocument.d.ts +1 -1
- package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +4 -4
- package/lib/rest/trusthub/v1/trustProducts.d.ts +8 -8
- package/lib/rest/verify/v2/form.d.ts +1 -1
- package/lib/rest/verify/v2/service/accessToken.d.ts +1 -1
- package/lib/rest/verify/v2/service/entity/challenge.d.ts +4 -4
- package/lib/rest/verify/v2/service/entity/factor.d.ts +3 -3
- package/lib/rest/verify/v2/service/entity/newFactor.d.ts +4 -4
- package/lib/rest/verify/v2/service/verification.d.ts +3 -3
- package/lib/rest/verify/v2/service/verificationCheck.d.ts +1 -1
- package/lib/rest/verify/v2/service/webhook.d.ts +3 -3
- package/lib/rest/verify/v2/verificationAttempt.d.ts +2 -2
- package/lib/rest/verify/v2/verificationAttemptsSummary.d.ts +1 -1
- package/lib/rest/video/v1/composition.d.ts +5 -6
- package/lib/rest/video/v1/compositionHook.d.ts +4 -5
- package/lib/rest/video/v1/recording.d.ts +7 -8
- package/lib/rest/video/v1/room/participant/anonymize.d.ts +4 -4
- package/lib/rest/video/v1/room/participant/publishedTrack.d.ts +4 -4
- package/lib/rest/video/v1/room/participant/subscribedTrack.d.ts +4 -4
- package/lib/rest/video/v1/room/participant.d.ts +8 -8
- package/lib/rest/video/v1/room/roomRecording.d.ts +4 -4
- package/lib/rest/video/v1/room.d.ts +6 -7
- package/lib/rest/voice/v1/byocTrunk.d.ts +9 -12
- package/lib/rest/wireless/v1/command.d.ts +4 -4
- package/lib/rest/wireless/v1/sim/usageRecord.d.ts +1 -1
- package/lib/rest/wireless/v1/sim.d.ts +17 -22
- package/lib/rest/wireless/v1/usageRecord.d.ts +4 -4
- package/package.json +2 -5
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import V1 from "../V1";
|
|
6
|
-
type WebChannelChatStatus = "inactive";
|
|
6
|
+
export type WebChannelChatStatus = "inactive";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to update a WebChannelInstance
|
|
9
9
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { inspect, InspectOptions } from "util";
|
|
3
3
|
import V1 from "../V1";
|
|
4
|
-
type UserStateType = "active" | "deactivated";
|
|
4
|
+
export type UserStateType = "active" | "deactivated";
|
|
5
5
|
/**
|
|
6
6
|
* Options to pass to update a UserInstance
|
|
7
7
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { inspect, InspectOptions } from "util";
|
|
3
3
|
import V1 from "../../V1";
|
|
4
|
-
type AnnotationAnsweredBy = "unknown_answered_by" | "human" | "machine";
|
|
5
|
-
type AnnotationConnectivityIssue = "unknown_connectivity_issue" | "no_connectivity_issue" | "invalid_number" | "caller_id" | "dropped_call" | "number_reachability";
|
|
4
|
+
export type AnnotationAnsweredBy = "unknown_answered_by" | "human" | "machine";
|
|
5
|
+
export type AnnotationConnectivityIssue = "unknown_connectivity_issue" | "no_connectivity_issue" | "invalid_number" | "caller_id" | "dropped_call" | "number_reachability";
|
|
6
6
|
/**
|
|
7
7
|
* Options to pass to update a AnnotationInstance
|
|
8
8
|
*/
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { inspect, InspectOptions } from "util";
|
|
3
3
|
import V1 from "../../V1";
|
|
4
|
-
type
|
|
5
|
-
type
|
|
6
|
-
type
|
|
7
|
-
type
|
|
4
|
+
export type CallSummaryAnsweredBy = "unknown" | "machine_start" | "machine_end_beep" | "machine_end_silence" | "machine_end_other" | "human" | "fax";
|
|
5
|
+
export type CallSummaryCallState = "ringing" | "completed" | "busy" | "fail" | "noanswer" | "canceled" | "answered" | "undialed";
|
|
6
|
+
export type CallSummaryCallType = "carrier" | "sip" | "trunking" | "client";
|
|
7
|
+
export type CallSummaryProcessingState = "complete" | "partial";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to fetch a CallSummaryInstance
|
|
10
10
|
*/
|
|
11
11
|
export interface CallSummaryContextFetchOptions {
|
|
12
12
|
/** */
|
|
13
|
-
processingState?:
|
|
13
|
+
processingState?: CallSummaryProcessingState;
|
|
14
14
|
}
|
|
15
15
|
export interface CallSummaryContext {
|
|
16
16
|
/**
|
|
@@ -56,10 +56,10 @@ export declare class CallSummaryContextImpl implements CallSummaryContext {
|
|
|
56
56
|
interface CallSummaryResource {
|
|
57
57
|
account_sid: string;
|
|
58
58
|
call_sid: string;
|
|
59
|
-
call_type:
|
|
60
|
-
call_state:
|
|
61
|
-
answered_by:
|
|
62
|
-
processing_state:
|
|
59
|
+
call_type: CallSummaryCallType;
|
|
60
|
+
call_state: CallSummaryCallState;
|
|
61
|
+
answered_by: CallSummaryAnsweredBy;
|
|
62
|
+
processing_state: CallSummaryProcessingState;
|
|
63
63
|
created_time: Date;
|
|
64
64
|
start_time: Date;
|
|
65
65
|
end_time: Date;
|
|
@@ -85,10 +85,10 @@ export declare class CallSummaryInstance {
|
|
|
85
85
|
constructor(_version: V1, payload: CallSummaryResource, callSid: string);
|
|
86
86
|
accountSid: string;
|
|
87
87
|
callSid: string;
|
|
88
|
-
callType:
|
|
89
|
-
callState:
|
|
90
|
-
answeredBy:
|
|
91
|
-
processingState:
|
|
88
|
+
callType: CallSummaryCallType;
|
|
89
|
+
callState: CallSummaryCallState;
|
|
90
|
+
answeredBy: CallSummaryAnsweredBy;
|
|
91
|
+
processingState: CallSummaryProcessingState;
|
|
92
92
|
createdTime: Date;
|
|
93
93
|
startTime: Date;
|
|
94
94
|
endTime: Date;
|
|
@@ -132,10 +132,10 @@ export declare class CallSummaryInstance {
|
|
|
132
132
|
toJSON(): {
|
|
133
133
|
accountSid: string;
|
|
134
134
|
callSid: string;
|
|
135
|
-
callType:
|
|
136
|
-
callState:
|
|
137
|
-
answeredBy:
|
|
138
|
-
processingState:
|
|
135
|
+
callType: CallSummaryCallType;
|
|
136
|
+
callState: CallSummaryCallState;
|
|
137
|
+
answeredBy: CallSummaryAnsweredBy;
|
|
138
|
+
processingState: CallSummaryProcessingState;
|
|
139
139
|
createdTime: Date;
|
|
140
140
|
startTime: Date;
|
|
141
141
|
endTime: Date;
|
|
@@ -3,8 +3,8 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import V1 from "../../V1";
|
|
6
|
-
type EventLevel = "UNKNOWN" | "DEBUG" | "INFO" | "WARNING" | "ERROR";
|
|
7
|
-
type EventTwilioEdge = "unknown_edge" | "carrier_edge" | "sip_edge" | "sdk_edge" | "client_edge";
|
|
6
|
+
export type EventLevel = "UNKNOWN" | "DEBUG" | "INFO" | "WARNING" | "ERROR";
|
|
7
|
+
export type EventTwilioEdge = "unknown_edge" | "carrier_edge" | "sip_edge" | "sdk_edge" | "client_edge";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to each
|
|
10
10
|
*/
|
|
@@ -3,8 +3,8 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import V1 from "../../V1";
|
|
6
|
-
type MetricStreamDirection = "unknown" | "inbound" | "outbound" | "both";
|
|
7
|
-
type MetricTwilioEdge = "unknown_edge" | "carrier_edge" | "sip_edge" | "sdk_edge" | "client_edge";
|
|
6
|
+
export type MetricStreamDirection = "unknown" | "inbound" | "outbound" | "both";
|
|
7
|
+
export type MetricTwilioEdge = "unknown_edge" | "carrier_edge" | "sip_edge" | "sdk_edge" | "client_edge";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to each
|
|
10
10
|
*/
|
|
@@ -3,12 +3,12 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import V1 from "../V1";
|
|
6
|
-
type CallSummariesAnsweredBy = "unknown" | "machine_start" | "machine_end_beep" | "machine_end_silence" | "machine_end_other" | "human" | "fax";
|
|
7
|
-
type CallSummariesCallState = "ringing" | "completed" | "busy" | "fail" | "noanswer" | "canceled" | "answered" | "undialed";
|
|
8
|
-
type CallSummariesCallType = "carrier" | "sip" | "trunking" | "client";
|
|
9
|
-
type CallSummariesProcessingState = "complete" | "partial";
|
|
10
|
-
type CallSummariesProcessingStateRequest = "completed" | "started" | "partial" | "all";
|
|
11
|
-
type CallSummariesSortBy = "start_time" | "end_time";
|
|
6
|
+
export type CallSummariesAnsweredBy = "unknown" | "machine_start" | "machine_end_beep" | "machine_end_silence" | "machine_end_other" | "human" | "fax";
|
|
7
|
+
export type CallSummariesCallState = "ringing" | "completed" | "busy" | "fail" | "noanswer" | "canceled" | "answered" | "undialed";
|
|
8
|
+
export type CallSummariesCallType = "carrier" | "sip" | "trunking" | "client";
|
|
9
|
+
export type CallSummariesProcessingState = "complete" | "partial";
|
|
10
|
+
export type CallSummariesProcessingStateRequest = "completed" | "started" | "partial" | "all";
|
|
11
|
+
export type CallSummariesSortBy = "start_time" | "end_time";
|
|
12
12
|
/**
|
|
13
13
|
* Options to pass to each
|
|
14
14
|
*/
|
|
@@ -3,12 +3,12 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import V1 from "../../V1";
|
|
6
|
-
type ConferenceParticipantCallDirection = "inbound" | "outbound";
|
|
7
|
-
type ConferenceParticipantCallStatus = "answered" | "completed" | "busy" | "fail" | "noanswer" | "ringing" | "canceled";
|
|
8
|
-
type ConferenceParticipantCallType = "carrier" | "client" | "sip";
|
|
9
|
-
type ConferenceParticipantJitterBufferSize = "large" | "small" | "medium" | "off";
|
|
10
|
-
type ConferenceParticipantProcessingState = "complete" | "in_progress" | "timeout";
|
|
11
|
-
type ConferenceParticipantRegion = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "de1";
|
|
6
|
+
export type ConferenceParticipantCallDirection = "inbound" | "outbound";
|
|
7
|
+
export type ConferenceParticipantCallStatus = "answered" | "completed" | "busy" | "fail" | "noanswer" | "ringing" | "canceled";
|
|
8
|
+
export type ConferenceParticipantCallType = "carrier" | "client" | "sip";
|
|
9
|
+
export type ConferenceParticipantJitterBufferSize = "large" | "small" | "medium" | "off";
|
|
10
|
+
export type ConferenceParticipantProcessingState = "complete" | "in_progress" | "timeout";
|
|
11
|
+
export type ConferenceParticipantRegion = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "de1";
|
|
12
12
|
/**
|
|
13
13
|
* Options to pass to fetch a ConferenceParticipantInstance
|
|
14
14
|
*/
|
|
@@ -4,11 +4,11 @@ import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import V1 from "../V1";
|
|
6
6
|
import { ConferenceParticipantListInstance } from "./conference/conferenceParticipant";
|
|
7
|
-
type ConferenceConferenceEndReason = "last_participant_left" | "conference_ended_via_api" | "participant_with_end_conference_on_exit_left" | "last_participant_kicked" | "participant_with_end_conference_on_exit_kicked";
|
|
8
|
-
type ConferenceConferenceStatus = "in_progress" | "not_started" | "completed" | "summary_timeout";
|
|
9
|
-
type ConferenceProcessingState = "complete" | "in_progress" | "timeout";
|
|
10
|
-
type ConferenceRegion = "us1" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "de1";
|
|
11
|
-
type ConferenceTag = "invalid_requested_region" | "duplicate_identity" | "start_failure" | "region_configuration_issues" | "quality_warnings" | "participant_behavior_issues" | "high_packet_loss" | "high_jitter" | "high_latency" | "low_mos" | "detected_silence";
|
|
7
|
+
export type ConferenceConferenceEndReason = "last_participant_left" | "conference_ended_via_api" | "participant_with_end_conference_on_exit_left" | "last_participant_kicked" | "participant_with_end_conference_on_exit_kicked";
|
|
8
|
+
export type ConferenceConferenceStatus = "in_progress" | "not_started" | "completed" | "summary_timeout";
|
|
9
|
+
export type ConferenceProcessingState = "complete" | "in_progress" | "timeout";
|
|
10
|
+
export type ConferenceRegion = "us1" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "de1";
|
|
11
|
+
export type ConferenceTag = "invalid_requested_region" | "duplicate_identity" | "start_failure" | "region_configuration_issues" | "quality_warnings" | "participant_behavior_issues" | "high_packet_loss" | "high_jitter" | "high_latency" | "low_mos" | "detected_silence";
|
|
12
12
|
/**
|
|
13
13
|
* Options to pass to each
|
|
14
14
|
*/
|
|
@@ -3,10 +3,10 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import V1 from "../../V1";
|
|
6
|
-
type
|
|
7
|
-
type
|
|
8
|
-
type
|
|
9
|
-
type
|
|
6
|
+
export type ParticipantCodec = "VP8" | "H264" | "VP9";
|
|
7
|
+
export type ParticipantEdgeLocation = "ashburn" | "dublin" | "frankfurt" | "singapore" | "sydney" | "sao_paulo" | "roaming" | "umatilla" | "tokyo";
|
|
8
|
+
export type ParticipantRoomStatus = "in_progress" | "completed";
|
|
9
|
+
export type ParticipantTwilioRealm = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "in1" | "de1" | "gll";
|
|
10
10
|
/**
|
|
11
11
|
* Options to pass to each
|
|
12
12
|
*/
|
|
@@ -84,14 +84,14 @@ interface ParticipantResource {
|
|
|
84
84
|
duration_sec: number;
|
|
85
85
|
account_sid: string;
|
|
86
86
|
room_sid: string;
|
|
87
|
-
status:
|
|
88
|
-
codecs: Array<
|
|
87
|
+
status: ParticipantRoomStatus;
|
|
88
|
+
codecs: Array<ParticipantCodec>;
|
|
89
89
|
end_reason: string;
|
|
90
90
|
error_code: number;
|
|
91
91
|
error_code_url: string;
|
|
92
|
-
media_region:
|
|
92
|
+
media_region: ParticipantTwilioRealm;
|
|
93
93
|
properties: any;
|
|
94
|
-
edge_location:
|
|
94
|
+
edge_location: ParticipantEdgeLocation;
|
|
95
95
|
publisher_info: any;
|
|
96
96
|
url: string;
|
|
97
97
|
}
|
|
@@ -128,11 +128,11 @@ export declare class ParticipantInstance {
|
|
|
128
128
|
* Unique identifier for the room.
|
|
129
129
|
*/
|
|
130
130
|
roomSid: string;
|
|
131
|
-
status:
|
|
131
|
+
status: ParticipantRoomStatus;
|
|
132
132
|
/**
|
|
133
133
|
* Codecs detected from the participant. Can be `VP8`, `H264`, or `VP9`.
|
|
134
134
|
*/
|
|
135
|
-
codecs: Array<
|
|
135
|
+
codecs: Array<ParticipantCodec>;
|
|
136
136
|
/**
|
|
137
137
|
* Reason the participant left the room. See [the list of possible values here](https://www.twilio.com/docs/video/video-log-analyzer/video-log-analyzer-api#end_reason).
|
|
138
138
|
*/
|
|
@@ -145,12 +145,12 @@ export declare class ParticipantInstance {
|
|
|
145
145
|
* Twilio error code dictionary link.
|
|
146
146
|
*/
|
|
147
147
|
errorCodeUrl: string;
|
|
148
|
-
mediaRegion:
|
|
148
|
+
mediaRegion: ParticipantTwilioRealm;
|
|
149
149
|
/**
|
|
150
150
|
* Object containing information about the participant\'s data from the room. See [below](https://www.twilio.com/docs/video/video-log-analyzer/video-log-analyzer-api#properties) for more information.
|
|
151
151
|
*/
|
|
152
152
|
properties: any;
|
|
153
|
-
edgeLocation:
|
|
153
|
+
edgeLocation: ParticipantEdgeLocation;
|
|
154
154
|
/**
|
|
155
155
|
* Object containing information about the SDK name and version. See [below](https://www.twilio.com/docs/video/video-log-analyzer/video-log-analyzer-api#publisher_info) for more information.
|
|
156
156
|
*/
|
|
@@ -181,14 +181,14 @@ export declare class ParticipantInstance {
|
|
|
181
181
|
durationSec: number;
|
|
182
182
|
accountSid: string;
|
|
183
183
|
roomSid: string;
|
|
184
|
-
status:
|
|
185
|
-
codecs:
|
|
184
|
+
status: ParticipantRoomStatus;
|
|
185
|
+
codecs: ParticipantCodec[];
|
|
186
186
|
endReason: string;
|
|
187
187
|
errorCode: number;
|
|
188
188
|
errorCodeUrl: string;
|
|
189
|
-
mediaRegion:
|
|
189
|
+
mediaRegion: ParticipantTwilioRealm;
|
|
190
190
|
properties: any;
|
|
191
|
-
edgeLocation:
|
|
191
|
+
edgeLocation: ParticipantEdgeLocation;
|
|
192
192
|
publisherInfo: any;
|
|
193
193
|
url: string;
|
|
194
194
|
};
|
|
@@ -4,22 +4,22 @@ import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import V1 from "../V1";
|
|
6
6
|
import { ParticipantListInstance } from "./room/participant";
|
|
7
|
-
type
|
|
8
|
-
type
|
|
9
|
-
type
|
|
10
|
-
type
|
|
11
|
-
type
|
|
12
|
-
type
|
|
13
|
-
type
|
|
14
|
-
type
|
|
7
|
+
export type RoomCodec = "VP8" | "H264" | "VP9";
|
|
8
|
+
export type RoomCreatedMethod = "sdk" | "ad_hoc" | "api";
|
|
9
|
+
export type RoomEdgeLocation = "ashburn" | "dublin" | "frankfurt" | "singapore" | "sydney" | "sao_paulo" | "roaming" | "umatilla" | "tokyo";
|
|
10
|
+
export type RoomEndReason = "room_ended_via_api" | "timeout";
|
|
11
|
+
export type RoomProcessingState = "complete" | "in_progress";
|
|
12
|
+
export type RoomRoomStatus = "in_progress" | "completed";
|
|
13
|
+
export type RoomRoomType = "go" | "peer_to_peer" | "group" | "group_small";
|
|
14
|
+
export type RoomTwilioRealm = "us1" | "us2" | "au1" | "br1" | "ie1" | "jp1" | "sg1" | "in1" | "de1" | "gll";
|
|
15
15
|
/**
|
|
16
16
|
* Options to pass to each
|
|
17
17
|
*/
|
|
18
18
|
export interface RoomListInstanceEachOptions {
|
|
19
19
|
/** Type of room. Can be `go`, `peer_to_peer`, `group`, or `group_small`. */
|
|
20
|
-
roomType?: Array<
|
|
20
|
+
roomType?: Array<RoomRoomType>;
|
|
21
21
|
/** Codecs used by participants in the room. Can be `VP8`, `H264`, or `VP9`. */
|
|
22
|
-
codec?: Array<
|
|
22
|
+
codec?: Array<RoomCodec>;
|
|
23
23
|
/** Room friendly name. */
|
|
24
24
|
roomName?: string;
|
|
25
25
|
/** Only read rooms that started on or after this ISO 8601 timestamp. */
|
|
@@ -40,9 +40,9 @@ export interface RoomListInstanceEachOptions {
|
|
|
40
40
|
*/
|
|
41
41
|
export interface RoomListInstanceOptions {
|
|
42
42
|
/** Type of room. Can be `go`, `peer_to_peer`, `group`, or `group_small`. */
|
|
43
|
-
roomType?: Array<
|
|
43
|
+
roomType?: Array<RoomRoomType>;
|
|
44
44
|
/** Codecs used by participants in the room. Can be `VP8`, `H264`, or `VP9`. */
|
|
45
|
-
codec?: Array<
|
|
45
|
+
codec?: Array<RoomCodec>;
|
|
46
46
|
/** Room friendly name. */
|
|
47
47
|
roomName?: string;
|
|
48
48
|
/** Only read rooms that started on or after this ISO 8601 timestamp. */
|
|
@@ -59,9 +59,9 @@ export interface RoomListInstanceOptions {
|
|
|
59
59
|
*/
|
|
60
60
|
export interface RoomListInstancePageOptions {
|
|
61
61
|
/** Type of room. Can be `go`, `peer_to_peer`, `group`, or `group_small`. */
|
|
62
|
-
roomType?: Array<
|
|
62
|
+
roomType?: Array<RoomRoomType>;
|
|
63
63
|
/** Codecs used by participants in the room. Can be `VP8`, `H264`, or `VP9`. */
|
|
64
|
-
codec?: Array<
|
|
64
|
+
codec?: Array<RoomCodec>;
|
|
65
65
|
/** Room friendly name. */
|
|
66
66
|
roomName?: string;
|
|
67
67
|
/** Only read rooms that started on or after this ISO 8601 timestamp. */
|
|
@@ -110,7 +110,6 @@ export declare class RoomContextImpl implements RoomContext {
|
|
|
110
110
|
toJSON(): RoomContextSolution;
|
|
111
111
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
112
112
|
}
|
|
113
|
-
export type RoomStatusCallbackMethod = "HEAD" | "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
|
|
114
113
|
interface RoomPayload extends TwilioResponsePayload {
|
|
115
114
|
rooms: RoomResource[];
|
|
116
115
|
}
|
|
@@ -120,25 +119,25 @@ interface RoomResource {
|
|
|
120
119
|
room_name: string;
|
|
121
120
|
create_time: Date;
|
|
122
121
|
end_time: Date;
|
|
123
|
-
room_type:
|
|
124
|
-
room_status:
|
|
122
|
+
room_type: RoomRoomType;
|
|
123
|
+
room_status: RoomRoomStatus;
|
|
125
124
|
status_callback: string;
|
|
126
|
-
status_callback_method:
|
|
127
|
-
created_method:
|
|
128
|
-
end_reason:
|
|
125
|
+
status_callback_method: string;
|
|
126
|
+
created_method: RoomCreatedMethod;
|
|
127
|
+
end_reason: RoomEndReason;
|
|
129
128
|
max_participants: number;
|
|
130
129
|
unique_participants: number;
|
|
131
130
|
unique_participant_identities: number;
|
|
132
131
|
concurrent_participants: number;
|
|
133
132
|
max_concurrent_participants: number;
|
|
134
|
-
codecs: Array<
|
|
135
|
-
media_region:
|
|
133
|
+
codecs: Array<RoomCodec>;
|
|
134
|
+
media_region: RoomTwilioRealm;
|
|
136
135
|
duration_sec: number;
|
|
137
136
|
total_participant_duration_sec: number;
|
|
138
137
|
total_recording_duration_sec: number;
|
|
139
|
-
processing_state:
|
|
138
|
+
processing_state: RoomProcessingState;
|
|
140
139
|
recording_enabled: boolean;
|
|
141
|
-
edge_location:
|
|
140
|
+
edge_location: RoomEdgeLocation;
|
|
142
141
|
url: string;
|
|
143
142
|
links: Record<string, string>;
|
|
144
143
|
}
|
|
@@ -167,8 +166,8 @@ export declare class RoomInstance {
|
|
|
167
166
|
* End time for the room.
|
|
168
167
|
*/
|
|
169
168
|
endTime: Date;
|
|
170
|
-
roomType:
|
|
171
|
-
roomStatus:
|
|
169
|
+
roomType: RoomRoomType;
|
|
170
|
+
roomStatus: RoomRoomStatus;
|
|
172
171
|
/**
|
|
173
172
|
* Webhook provided for status callbacks.
|
|
174
173
|
*/
|
|
@@ -176,9 +175,9 @@ export declare class RoomInstance {
|
|
|
176
175
|
/**
|
|
177
176
|
* HTTP method provided for status callback URL.
|
|
178
177
|
*/
|
|
179
|
-
statusCallbackMethod:
|
|
180
|
-
createdMethod:
|
|
181
|
-
endReason:
|
|
178
|
+
statusCallbackMethod: string;
|
|
179
|
+
createdMethod: RoomCreatedMethod;
|
|
180
|
+
endReason: RoomEndReason;
|
|
182
181
|
/**
|
|
183
182
|
* Max number of total participants allowed by the application settings.
|
|
184
183
|
*/
|
|
@@ -202,8 +201,8 @@ export declare class RoomInstance {
|
|
|
202
201
|
/**
|
|
203
202
|
* Codecs used by participants in the room. Can be `VP8`, `H264`, or `VP9`.
|
|
204
203
|
*/
|
|
205
|
-
codecs: Array<
|
|
206
|
-
mediaRegion:
|
|
204
|
+
codecs: Array<RoomCodec>;
|
|
205
|
+
mediaRegion: RoomTwilioRealm;
|
|
207
206
|
/**
|
|
208
207
|
* Total room duration from create time to end time.
|
|
209
208
|
*/
|
|
@@ -216,12 +215,12 @@ export declare class RoomInstance {
|
|
|
216
215
|
* Combined amount of recorded seconds for participants in the room.
|
|
217
216
|
*/
|
|
218
217
|
totalRecordingDurationSec: number;
|
|
219
|
-
processingState:
|
|
218
|
+
processingState: RoomProcessingState;
|
|
220
219
|
/**
|
|
221
220
|
* Boolean indicating if recording is enabled for the room.
|
|
222
221
|
*/
|
|
223
222
|
recordingEnabled: boolean;
|
|
224
|
-
edgeLocation:
|
|
223
|
+
edgeLocation: RoomEdgeLocation;
|
|
225
224
|
/**
|
|
226
225
|
* URL for the room resource.
|
|
227
226
|
*/
|
|
@@ -254,25 +253,25 @@ export declare class RoomInstance {
|
|
|
254
253
|
roomName: string;
|
|
255
254
|
createTime: Date;
|
|
256
255
|
endTime: Date;
|
|
257
|
-
roomType:
|
|
258
|
-
roomStatus:
|
|
256
|
+
roomType: RoomRoomType;
|
|
257
|
+
roomStatus: RoomRoomStatus;
|
|
259
258
|
statusCallback: string;
|
|
260
|
-
statusCallbackMethod:
|
|
261
|
-
createdMethod:
|
|
262
|
-
endReason:
|
|
259
|
+
statusCallbackMethod: string;
|
|
260
|
+
createdMethod: RoomCreatedMethod;
|
|
261
|
+
endReason: RoomEndReason;
|
|
263
262
|
maxParticipants: number;
|
|
264
263
|
uniqueParticipants: number;
|
|
265
264
|
uniqueParticipantIdentities: number;
|
|
266
265
|
concurrentParticipants: number;
|
|
267
266
|
maxConcurrentParticipants: number;
|
|
268
|
-
codecs:
|
|
269
|
-
mediaRegion:
|
|
267
|
+
codecs: RoomCodec[];
|
|
268
|
+
mediaRegion: RoomTwilioRealm;
|
|
270
269
|
durationSec: number;
|
|
271
270
|
totalParticipantDurationSec: number;
|
|
272
271
|
totalRecordingDurationSec: number;
|
|
273
|
-
processingState:
|
|
272
|
+
processingState: RoomProcessingState;
|
|
274
273
|
recordingEnabled: boolean;
|
|
275
|
-
edgeLocation:
|
|
274
|
+
edgeLocation: RoomEdgeLocation;
|
|
276
275
|
url: string;
|
|
277
276
|
links: Record<string, string>;
|
|
278
277
|
};
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import V1 from "../V1";
|
|
6
|
-
type CredentialPushService = "gcm" | "apn" | "fcm";
|
|
6
|
+
export type CredentialPushService = "gcm" | "apn" | "fcm";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to update a CredentialInstance
|
|
9
9
|
*/
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V1 from "../../../V1";
|
|
6
|
-
type MessageOrderType = "asc" | "desc";
|
|
6
|
+
export type MessageOrderType = "asc" | "desc";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to update a MessageInstance
|
|
9
9
|
*/
|
|
@@ -6,7 +6,7 @@ import V1 from "../../V1";
|
|
|
6
6
|
import { InviteListInstance } from "./channel/invite";
|
|
7
7
|
import { MemberListInstance } from "./channel/member";
|
|
8
8
|
import { MessageListInstance } from "./channel/message";
|
|
9
|
-
type ChannelChannelType = "public" | "private";
|
|
9
|
+
export type ChannelChannelType = "public" | "private";
|
|
10
10
|
/**
|
|
11
11
|
* Options to pass to update a ChannelInstance
|
|
12
12
|
*/
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import V1 from "../../V1";
|
|
6
|
-
type RoleRoleType = "channel" | "deployment";
|
|
6
|
+
export type RoleRoleType = "channel" | "deployment";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to update a RoleInstance
|
|
9
9
|
*/
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V1 from "../../../V1";
|
|
6
|
-
type UserChannelChannelStatus = "joined" | "invited" | "not_participating";
|
|
6
|
+
export type UserChannelChannelStatus = "joined" | "invited" | "not_participating";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to each
|
|
9
9
|
*/
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import V2 from "../V2";
|
|
6
|
-
type CredentialPushService = "gcm" | "apn" | "fcm";
|
|
6
|
+
export type CredentialPushService = "gcm" | "apn" | "fcm";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to update a CredentialInstance
|
|
9
9
|
*/
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import V2 from "../../V2";
|
|
6
|
-
type BindingBindingType = "gcm" | "apn" | "fcm";
|
|
6
|
+
export type BindingBindingType = "gcm" | "apn" | "fcm";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to each
|
|
9
9
|
*/
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V2 from "../../../V2";
|
|
6
|
-
type MemberWebhookEnabledType = "true" | "false";
|
|
6
|
+
export type MemberWebhookEnabledType = "true" | "false";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to remove a MemberInstance
|
|
9
9
|
*/
|
|
@@ -3,8 +3,8 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V2 from "../../../V2";
|
|
6
|
-
type MessageOrderType = "asc" | "desc";
|
|
7
|
-
type MessageWebhookEnabledType = "true" | "false";
|
|
6
|
+
export type MessageOrderType = "asc" | "desc";
|
|
7
|
+
export type MessageWebhookEnabledType = "true" | "false";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to remove a MessageInstance
|
|
10
10
|
*/
|
|
@@ -3,8 +3,8 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V2 from "../../../V2";
|
|
6
|
-
type
|
|
7
|
-
type
|
|
6
|
+
export type WebhookMethod = "GET" | "POST";
|
|
7
|
+
export type WebhookType = "webhook" | "trigger" | "studio";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to update a WebhookInstance
|
|
10
10
|
*/
|
|
@@ -12,7 +12,7 @@ export interface WebhookContextUpdateOptions {
|
|
|
12
12
|
/** */
|
|
13
13
|
"configuration.url"?: string;
|
|
14
14
|
/** */
|
|
15
|
-
"configuration.method"?:
|
|
15
|
+
"configuration.method"?: WebhookMethod;
|
|
16
16
|
/** */
|
|
17
17
|
"configuration.filters"?: Array<string>;
|
|
18
18
|
/** */
|
|
@@ -27,11 +27,11 @@ export interface WebhookContextUpdateOptions {
|
|
|
27
27
|
*/
|
|
28
28
|
export interface WebhookListInstanceCreateOptions {
|
|
29
29
|
/** */
|
|
30
|
-
type:
|
|
30
|
+
type: WebhookType;
|
|
31
31
|
/** */
|
|
32
32
|
"configuration.url"?: string;
|
|
33
33
|
/** */
|
|
34
|
-
"configuration.method"?:
|
|
34
|
+
"configuration.method"?: WebhookMethod;
|
|
35
35
|
/** */
|
|
36
36
|
"configuration.filters"?: Array<string>;
|
|
37
37
|
/** */
|
|
@@ -7,8 +7,8 @@ import { InviteListInstance } from "./channel/invite";
|
|
|
7
7
|
import { MemberListInstance } from "./channel/member";
|
|
8
8
|
import { MessageListInstance } from "./channel/message";
|
|
9
9
|
import { WebhookListInstance } from "./channel/webhook";
|
|
10
|
-
type ChannelChannelType = "public" | "private";
|
|
11
|
-
type ChannelWebhookEnabledType = "true" | "false";
|
|
10
|
+
export type ChannelChannelType = "public" | "private";
|
|
11
|
+
export type ChannelWebhookEnabledType = "true" | "false";
|
|
12
12
|
/**
|
|
13
13
|
* Options to pass to remove a ChannelInstance
|
|
14
14
|
*/
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import V2 from "../../V2";
|
|
6
|
-
type RoleRoleType = "channel" | "deployment";
|
|
6
|
+
export type RoleRoleType = "channel" | "deployment";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to update a RoleInstance
|
|
9
9
|
*/
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V2 from "../../../V2";
|
|
6
|
-
type UserBindingBindingType = "gcm" | "apn" | "fcm";
|
|
6
|
+
export type UserBindingBindingType = "gcm" | "apn" | "fcm";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to each
|
|
9
9
|
*/
|
|
@@ -3,8 +3,8 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V2 from "../../../V2";
|
|
6
|
-
type UserChannelChannelStatus = "joined" | "invited" | "not_participating";
|
|
7
|
-
type UserChannelNotificationLevel = "default" | "muted";
|
|
6
|
+
export type UserChannelChannelStatus = "joined" | "invited" | "not_participating";
|
|
7
|
+
export type UserChannelNotificationLevel = "default" | "muted";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to update a UserChannelInstance
|
|
10
10
|
*/
|