twilio 4.7.2 → 4.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +52 -36
- package/lib/index.js +32 -51
- package/lib/rest/api/v2010/account/address/dependentPhoneNumber.d.ts +2 -2
- package/lib/rest/api/v2010/account/authorizedConnectApp.d.ts +1 -1
- package/lib/rest/api/v2010/account/call/feedback.d.ts +1 -1
- package/lib/rest/api/v2010/account/call/feedbackSummary.d.ts +1 -1
- package/lib/rest/api/v2010/account/call/payment.d.ts +5 -5
- package/lib/rest/api/v2010/account/call/recording.d.ts +2 -2
- package/lib/rest/api/v2010/account/call/siprec.d.ts +3 -3
- package/lib/rest/api/v2010/account/call/stream.d.ts +3 -3
- package/lib/rest/api/v2010/account/call.d.ts +2 -2
- package/lib/rest/api/v2010/account/conference/participant.d.ts +1 -1
- package/lib/rest/api/v2010/account/conference/recording.d.ts +2 -2
- package/lib/rest/api/v2010/account/conference.d.ts +4 -4
- package/lib/rest/api/v2010/account/connectApp.d.ts +1 -1
- package/lib/rest/api/v2010/account/incomingPhoneNumber/local.d.ts +4 -4
- package/lib/rest/api/v2010/account/incomingPhoneNumber/mobile.d.ts +4 -4
- package/lib/rest/api/v2010/account/incomingPhoneNumber/tollFree.d.ts +4 -4
- package/lib/rest/api/v2010/account/incomingPhoneNumber.d.ts +4 -4
- package/lib/rest/api/v2010/account/message/feedback.d.ts +1 -1
- package/lib/rest/api/v2010/account/message.d.ts +6 -6
- package/lib/rest/api/v2010/account/recording/addOnResult.d.ts +1 -1
- package/lib/rest/api/v2010/account/recording/transcription.d.ts +1 -1
- package/lib/rest/api/v2010/account/recording.d.ts +2 -2
- package/lib/rest/api/v2010/account/transcription.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/record/allTime.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/record/daily.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/record/lastMonth.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/record/monthly.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/record/thisMonth.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/record/today.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/record/yearly.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/record/yesterday.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/record.d.ts +1 -1
- package/lib/rest/api/v2010/account/usage/trigger.d.ts +3 -3
- package/lib/rest/api/v2010/account/usage.d.ts +1 -0
- package/lib/rest/api/v2010/account.d.ts +2 -2
- package/lib/rest/autopilot/v1/assistant/modelBuild.d.ts +1 -1
- package/lib/rest/chat/v1/credential.d.ts +1 -1
- package/lib/rest/chat/v1/service/channel/message.d.ts +1 -1
- package/lib/rest/chat/v1/service/channel.d.ts +1 -1
- package/lib/rest/chat/v1/service/role.d.ts +1 -1
- package/lib/rest/chat/v1/service/user/userChannel.d.ts +1 -1
- package/lib/rest/chat/v2/credential.d.ts +1 -1
- package/lib/rest/chat/v2/service/binding.d.ts +1 -1
- package/lib/rest/chat/v2/service/channel/member.d.ts +1 -1
- package/lib/rest/chat/v2/service/channel/message.d.ts +2 -2
- package/lib/rest/chat/v2/service/channel/webhook.d.ts +2 -2
- package/lib/rest/chat/v2/service/channel.d.ts +2 -2
- package/lib/rest/chat/v2/service/role.d.ts +1 -1
- package/lib/rest/chat/v2/service/user/userBinding.d.ts +1 -1
- package/lib/rest/chat/v2/service/user/userChannel.d.ts +3 -3
- package/lib/rest/chat/v2/service/user.d.ts +1 -1
- package/lib/rest/chat/v3/channel.d.ts +2 -2
- package/lib/rest/conversations/v1/addressConfiguration.d.ts +3 -3
- package/lib/rest/conversations/v1/configuration/webhook.d.ts +2 -2
- package/lib/rest/conversations/v1/conversation/message/deliveryReceipt.d.ts +1 -1
- package/lib/rest/conversations/v1/conversation/message.d.ts +2 -2
- package/lib/rest/conversations/v1/conversation/participant.d.ts +1 -1
- package/lib/rest/conversations/v1/conversation/webhook.d.ts +2 -2
- package/lib/rest/conversations/v1/conversation.d.ts +2 -2
- package/lib/rest/conversations/v1/credential.d.ts +1 -1
- package/lib/rest/conversations/v1/participantConversation.d.ts +1 -1
- package/lib/rest/conversations/v1/role.d.ts +1 -1
- package/lib/rest/conversations/v1/service/binding.d.ts +1 -1
- package/lib/rest/conversations/v1/service/configuration/webhook.d.ts +1 -1
- package/lib/rest/conversations/v1/service/conversation/message/deliveryReceipt.d.ts +1 -1
- package/lib/rest/conversations/v1/service/conversation/message.d.ts +2 -2
- package/lib/rest/conversations/v1/service/conversation/participant.d.ts +1 -1
- package/lib/rest/conversations/v1/service/conversation/webhook.d.ts +2 -2
- package/lib/rest/conversations/v1/service/conversation.d.ts +2 -2
- package/lib/rest/conversations/v1/service/participantConversation.d.ts +1 -1
- package/lib/rest/conversations/v1/service/role.d.ts +1 -1
- package/lib/rest/conversations/v1/service/user/userConversation.d.ts +2 -2
- package/lib/rest/conversations/v1/service/user.d.ts +1 -1
- package/lib/rest/conversations/v1/user/userConversation.d.ts +2 -2
- package/lib/rest/conversations/v1/user.d.ts +1 -1
- package/lib/rest/events/v1/sink.d.ts +2 -2
- package/lib/rest/flexApi/v1/assessments.d.ts +138 -10
- package/lib/rest/flexApi/v1/assessments.js +138 -22
- package/lib/rest/flexApi/v1/configuration.d.ts +1 -1
- package/lib/rest/flexApi/v1/flexFlow.d.ts +2 -2
- package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.d.ts +6 -0
- package/lib/rest/flexApi/v1/insightsQuestionnairesQuestion.js +2 -0
- 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 +4 -4
- package/lib/rest/insights/v1/call/event.d.ts +2 -2
- package/lib/rest/insights/v1/call/metric.d.ts +2 -2
- package/lib/rest/insights/v1/callSummaries.d.ts +6 -6
- package/lib/rest/insights/v1/conference/conferenceParticipant.d.ts +6 -6
- package/lib/rest/insights/v1/conference.d.ts +5 -5
- package/lib/rest/insights/v1/room/participant.d.ts +4 -4
- package/lib/rest/insights/v1/room.d.ts +8 -8
- package/lib/rest/ipMessaging/v1/credential.d.ts +1 -1
- package/lib/rest/ipMessaging/v1/service/channel/message.d.ts +1 -1
- package/lib/rest/ipMessaging/v1/service/channel.d.ts +1 -1
- package/lib/rest/ipMessaging/v1/service/role.d.ts +1 -1
- package/lib/rest/ipMessaging/v1/service/user/userChannel.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/credential.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/service/binding.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/service/channel/member.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/service/channel/message.d.ts +2 -2
- package/lib/rest/ipMessaging/v2/service/channel/webhook.d.ts +2 -2
- package/lib/rest/ipMessaging/v2/service/channel.d.ts +2 -2
- package/lib/rest/ipMessaging/v2/service/role.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/service/user/userBinding.d.ts +1 -1
- package/lib/rest/ipMessaging/v2/service/user/userChannel.d.ts +2 -2
- package/lib/rest/ipMessaging/v2/service/user.d.ts +1 -1
- package/lib/rest/lookups/v2/phoneNumber.d.ts +1 -1
- package/lib/rest/media/v1/mediaProcessor.d.ts +3 -3
- package/lib/rest/media/v1/mediaRecording.d.ts +3 -3
- package/lib/rest/media/v1/playerStreamer.d.ts +4 -4
- package/lib/rest/messaging/v1/brandRegistration/brandVetting.d.ts +1 -1
- package/lib/rest/messaging/v1/brandRegistration.d.ts +3 -3
- package/lib/rest/messaging/v1/service.d.ts +1 -1
- package/lib/rest/messaging/v1/tollfreeVerification.d.ts +2 -2
- package/lib/rest/microvisor/v1/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/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/notify/v1/credential.d.ts +1 -1
- package/lib/rest/notify/v1/service/binding.d.ts +1 -1
- package/lib/rest/notify/v1/service/notification.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/bundleCopy.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/evaluation.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle/replaceItems.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/bundle.d.ts +4 -4
- package/lib/rest/numbers/v2/regulatoryCompliance/endUser.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/regulation.d.ts +1 -1
- package/lib/rest/numbers/v2/regulatoryCompliance/supportingDocument.d.ts +1 -1
- package/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.d.ts +2 -2
- package/lib/rest/preview/hosted_numbers/authorizationDocument.d.ts +1 -1
- package/lib/rest/preview/hosted_numbers/hostedNumberOrder.d.ts +2 -2
- package/lib/rest/preview/sync/service/syncList/syncListItem.d.ts +2 -2
- package/lib/rest/preview/sync/service/syncMap/syncMapItem.d.ts +2 -2
- package/lib/rest/preview/understand/assistant/modelBuild.d.ts +1 -1
- package/lib/rest/proxy/v1/service/session/interaction.d.ts +2 -2
- package/lib/rest/proxy/v1/service/session/participant/messageInteraction.d.ts +2 -2
- package/lib/rest/proxy/v1/service/session.d.ts +2 -2
- package/lib/rest/proxy/v1/service.d.ts +2 -2
- package/lib/rest/serverless/v1/service/asset/assetVersion.d.ts +1 -1
- package/lib/rest/serverless/v1/service/build/buildStatus.d.ts +1 -1
- package/lib/rest/serverless/v1/service/build.d.ts +2 -2
- package/lib/rest/serverless/v1/service/environment/log.d.ts +1 -1
- package/lib/rest/serverless/v1/service/function/functionVersion.d.ts +1 -1
- package/lib/rest/studio/v1/flow/engagement.d.ts +1 -1
- package/lib/rest/studio/v1/flow/execution.d.ts +1 -1
- package/lib/rest/studio/v1/flow.d.ts +1 -1
- package/lib/rest/studio/v2/flow/execution.d.ts +1 -1
- package/lib/rest/studio/v2/flow/flowRevision.d.ts +1 -1
- package/lib/rest/studio/v2/flow.d.ts +1 -1
- package/lib/rest/studio/v2/flowValidate.d.ts +1 -1
- package/lib/rest/supersim/v1/esimProfile.d.ts +1 -1
- package/lib/rest/supersim/v1/fleet.d.ts +1 -1
- package/lib/rest/supersim/v1/ipCommand.d.ts +3 -3
- package/lib/rest/supersim/v1/settingsUpdate.d.ts +1 -1
- package/lib/rest/supersim/v1/sim/billingPeriod.d.ts +1 -1
- package/lib/rest/supersim/v1/sim/simIpAddress.d.ts +1 -1
- package/lib/rest/supersim/v1/sim.d.ts +2 -2
- package/lib/rest/supersim/v1/smsCommand.d.ts +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 +4 -4
- package/lib/rest/taskrouter/v1/workspace/task.d.ts +1 -1
- package/lib/rest/taskrouter/v1/workspace/taskQueue.d.ts +1 -1
- package/lib/rest/taskrouter/v1/workspace/worker/reservation.d.ts +3 -3
- package/lib/rest/taskrouter/v1/workspace.d.ts +1 -1
- package/lib/rest/trunking/v1/trunk/phoneNumber.d.ts +1 -1
- package/lib/rest/trunking/v1/trunk/recording.d.ts +2 -2
- package/lib/rest/trunking/v1/trunk.d.ts +2 -2
- package/lib/rest/trusthub/v1/customerProfiles/customerProfilesEvaluations.d.ts +1 -1
- package/lib/rest/trusthub/v1/customerProfiles.d.ts +1 -1
- package/lib/rest/trusthub/v1/supportingDocument.d.ts +1 -1
- package/lib/rest/trusthub/v1/trustProducts/trustProductsEvaluations.d.ts +1 -1
- package/lib/rest/trusthub/v1/trustProducts.d.ts +1 -1
- package/lib/rest/verify/v2/form.d.ts +1 -1
- package/lib/rest/verify/v2/service/accessToken.d.ts +1 -1
- package/lib/rest/verify/v2/service/entity/challenge.d.ts +4 -4
- package/lib/rest/verify/v2/service/entity/factor.d.ts +3 -3
- package/lib/rest/verify/v2/service/entity/newFactor.d.ts +4 -4
- package/lib/rest/verify/v2/service/verification.d.ts +2 -2
- package/lib/rest/verify/v2/service/verificationCheck.d.ts +1 -1
- package/lib/rest/verify/v2/service/webhook.d.ts +3 -3
- package/lib/rest/verify/v2/verificationAttempt.d.ts +2 -2
- package/lib/rest/verify/v2/verificationAttemptsSummary.d.ts +1 -1
- package/lib/rest/video/v1/composition.d.ts +2 -2
- package/lib/rest/video/v1/compositionHook.d.ts +1 -1
- package/lib/rest/video/v1/recording.d.ts +4 -4
- package/lib/rest/video/v1/room/participant/anonymize.d.ts +1 -1
- package/lib/rest/video/v1/room/participant/publishedTrack.d.ts +1 -1
- package/lib/rest/video/v1/room/participant/subscribedTrack.d.ts +1 -1
- package/lib/rest/video/v1/room/participant.d.ts +1 -1
- package/lib/rest/video/v1/room/roomRecording.d.ts +4 -4
- package/lib/rest/video/v1/room.d.ts +3 -3
- package/lib/rest/wireless/v1/command.d.ts +4 -4
- package/lib/rest/wireless/v1/sim/usageRecord.d.ts +1 -1
- package/lib/rest/wireless/v1/sim.d.ts +2 -2
- package/lib/rest/wireless/v1/usageRecord.d.ts +1 -1
- package/package.json +2 -5
|
@@ -53,6 +53,28 @@ class DeviceConfigContextImpl {
|
|
|
53
53
|
operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
|
|
54
54
|
return operationPromise;
|
|
55
55
|
}
|
|
56
|
+
update(params, callback) {
|
|
57
|
+
if (params === null || params === undefined) {
|
|
58
|
+
throw new Error('Required parameter "params" missing.');
|
|
59
|
+
}
|
|
60
|
+
if (params["value"] === null || params["value"] === undefined) {
|
|
61
|
+
throw new Error("Required parameter \"params['value']\" missing.");
|
|
62
|
+
}
|
|
63
|
+
let data = {};
|
|
64
|
+
data["Value"] = params["value"];
|
|
65
|
+
const headers = {};
|
|
66
|
+
headers["Content-Type"] = "application/x-www-form-urlencoded";
|
|
67
|
+
const instance = this;
|
|
68
|
+
let operationVersion = instance._version, operationPromise = operationVersion.update({
|
|
69
|
+
uri: instance._uri,
|
|
70
|
+
method: "post",
|
|
71
|
+
data,
|
|
72
|
+
headers,
|
|
73
|
+
});
|
|
74
|
+
operationPromise = operationPromise.then((payload) => new DeviceConfigInstance(operationVersion, payload, instance._solution.deviceSid, instance._solution.key));
|
|
75
|
+
operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
|
|
76
|
+
return operationPromise;
|
|
77
|
+
}
|
|
56
78
|
/**
|
|
57
79
|
* Provide a user-friendly representation
|
|
58
80
|
*
|
|
@@ -102,6 +124,9 @@ class DeviceConfigInstance {
|
|
|
102
124
|
fetch(callback) {
|
|
103
125
|
return this._proxy.fetch(callback);
|
|
104
126
|
}
|
|
127
|
+
update(params, callback) {
|
|
128
|
+
return this._proxy.update(params, callback);
|
|
129
|
+
}
|
|
105
130
|
/**
|
|
106
131
|
* Provide a user-friendly representation
|
|
107
132
|
*
|
|
@@ -3,6 +3,13 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import V1 from "../../V1";
|
|
6
|
+
/**
|
|
7
|
+
* Options to pass to update a DeviceSecretInstance
|
|
8
|
+
*/
|
|
9
|
+
export interface DeviceSecretContextUpdateOptions {
|
|
10
|
+
/** The secret value; up to 4096 characters. */
|
|
11
|
+
value: string;
|
|
12
|
+
}
|
|
6
13
|
/**
|
|
7
14
|
* Options to pass to create a DeviceSecretInstance
|
|
8
15
|
*/
|
|
@@ -62,6 +69,15 @@ export interface DeviceSecretContext {
|
|
|
62
69
|
* @returns Resolves to processed DeviceSecretInstance
|
|
63
70
|
*/
|
|
64
71
|
fetch(callback?: (error: Error | null, item?: DeviceSecretInstance) => any): Promise<DeviceSecretInstance>;
|
|
72
|
+
/**
|
|
73
|
+
* Update a DeviceSecretInstance
|
|
74
|
+
*
|
|
75
|
+
* @param params - Parameter for request
|
|
76
|
+
* @param callback - Callback to handle processed record
|
|
77
|
+
*
|
|
78
|
+
* @returns Resolves to processed DeviceSecretInstance
|
|
79
|
+
*/
|
|
80
|
+
update(params: DeviceSecretContextUpdateOptions, callback?: (error: Error | null, item?: DeviceSecretInstance) => any): Promise<DeviceSecretInstance>;
|
|
65
81
|
/**
|
|
66
82
|
* Provide a user-friendly representation
|
|
67
83
|
*/
|
|
@@ -79,6 +95,7 @@ export declare class DeviceSecretContextImpl implements DeviceSecretContext {
|
|
|
79
95
|
constructor(_version: V1, deviceSid: string, key: string);
|
|
80
96
|
remove(callback?: (error: Error | null, item?: boolean) => any): Promise<boolean>;
|
|
81
97
|
fetch(callback?: (error: Error | null, item?: DeviceSecretInstance) => any): Promise<DeviceSecretInstance>;
|
|
98
|
+
update(params: DeviceSecretContextUpdateOptions, callback?: (error: Error | null, item?: DeviceSecretInstance) => any): Promise<DeviceSecretInstance>;
|
|
82
99
|
/**
|
|
83
100
|
* Provide a user-friendly representation
|
|
84
101
|
*
|
|
@@ -131,6 +148,15 @@ export declare class DeviceSecretInstance {
|
|
|
131
148
|
* @returns Resolves to processed DeviceSecretInstance
|
|
132
149
|
*/
|
|
133
150
|
fetch(callback?: (error: Error | null, item?: DeviceSecretInstance) => any): Promise<DeviceSecretInstance>;
|
|
151
|
+
/**
|
|
152
|
+
* Update a DeviceSecretInstance
|
|
153
|
+
*
|
|
154
|
+
* @param params - Parameter for request
|
|
155
|
+
* @param callback - Callback to handle processed record
|
|
156
|
+
*
|
|
157
|
+
* @returns Resolves to processed DeviceSecretInstance
|
|
158
|
+
*/
|
|
159
|
+
update(params: DeviceSecretContextUpdateOptions, callback?: (error: Error | null, item?: DeviceSecretInstance) => any): Promise<DeviceSecretInstance>;
|
|
134
160
|
/**
|
|
135
161
|
* Provide a user-friendly representation
|
|
136
162
|
*
|
|
@@ -53,6 +53,28 @@ class DeviceSecretContextImpl {
|
|
|
53
53
|
operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
|
|
54
54
|
return operationPromise;
|
|
55
55
|
}
|
|
56
|
+
update(params, callback) {
|
|
57
|
+
if (params === null || params === undefined) {
|
|
58
|
+
throw new Error('Required parameter "params" missing.');
|
|
59
|
+
}
|
|
60
|
+
if (params["value"] === null || params["value"] === undefined) {
|
|
61
|
+
throw new Error("Required parameter \"params['value']\" missing.");
|
|
62
|
+
}
|
|
63
|
+
let data = {};
|
|
64
|
+
data["Value"] = params["value"];
|
|
65
|
+
const headers = {};
|
|
66
|
+
headers["Content-Type"] = "application/x-www-form-urlencoded";
|
|
67
|
+
const instance = this;
|
|
68
|
+
let operationVersion = instance._version, operationPromise = operationVersion.update({
|
|
69
|
+
uri: instance._uri,
|
|
70
|
+
method: "post",
|
|
71
|
+
data,
|
|
72
|
+
headers,
|
|
73
|
+
});
|
|
74
|
+
operationPromise = operationPromise.then((payload) => new DeviceSecretInstance(operationVersion, payload, instance._solution.deviceSid, instance._solution.key));
|
|
75
|
+
operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
|
|
76
|
+
return operationPromise;
|
|
77
|
+
}
|
|
56
78
|
/**
|
|
57
79
|
* Provide a user-friendly representation
|
|
58
80
|
*
|
|
@@ -101,6 +123,9 @@ class DeviceSecretInstance {
|
|
|
101
123
|
fetch(callback) {
|
|
102
124
|
return this._proxy.fetch(callback);
|
|
103
125
|
}
|
|
126
|
+
update(params, callback) {
|
|
127
|
+
return this._proxy.update(params, callback);
|
|
128
|
+
}
|
|
104
129
|
/**
|
|
105
130
|
* Provide a user-friendly representation
|
|
106
131
|
*
|
|
@@ -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 BindingBindingType = "apn" | "gcm" | "sms" | "fcm" | "facebook-messenger" | "alexa";
|
|
6
|
+
export type BindingBindingType = "apn" | "gcm" | "sms" | "fcm" | "facebook-messenger" | "alexa";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to create a BindingInstance
|
|
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 NotificationPriority = "high" | "low";
|
|
4
|
+
export type NotificationPriority = "high" | "low";
|
|
5
5
|
/**
|
|
6
6
|
* Options to pass to create a NotificationInstance
|
|
7
7
|
*/
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V2 from "../../../V2";
|
|
6
|
-
type BundleCopyStatus = "draft" | "pending-review" | "in-review" | "twilio-rejected" | "twilio-approved" | "provisionally-approved";
|
|
6
|
+
export type BundleCopyStatus = "draft" | "pending-review" | "in-review" | "twilio-rejected" | "twilio-approved" | "provisionally-approved";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to create a BundleCopyInstance
|
|
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 EvaluationStatus = "compliant" | "noncompliant";
|
|
6
|
+
export type EvaluationStatus = "compliant" | "noncompliant";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to each
|
|
9
9
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { inspect, InspectOptions } from "util";
|
|
3
3
|
import V2 from "../../../V2";
|
|
4
|
-
type ReplaceItemsStatus = "draft" | "pending-review" | "in-review" | "twilio-rejected" | "twilio-approved" | "provisionally-approved";
|
|
4
|
+
export type ReplaceItemsStatus = "draft" | "pending-review" | "in-review" | "twilio-rejected" | "twilio-approved" | "provisionally-approved";
|
|
5
5
|
/**
|
|
6
6
|
* Options to pass to create a ReplaceItemsInstance
|
|
7
7
|
*/
|
|
@@ -7,10 +7,10 @@ import { BundleCopyListInstance } from "./bundle/bundleCopy";
|
|
|
7
7
|
import { EvaluationListInstance } from "./bundle/evaluation";
|
|
8
8
|
import { ItemAssignmentListInstance } from "./bundle/itemAssignment";
|
|
9
9
|
import { ReplaceItemsListInstance } from "./bundle/replaceItems";
|
|
10
|
-
type BundleEndUserType = "individual" | "business";
|
|
11
|
-
type BundleSortBy = "valid-until" | "date-updated";
|
|
12
|
-
type BundleSortDirection = "ASC" | "DESC";
|
|
13
|
-
type BundleStatus = "draft" | "pending-review" | "in-review" | "twilio-rejected" | "twilio-approved" | "provisionally-approved";
|
|
10
|
+
export type BundleEndUserType = "individual" | "business";
|
|
11
|
+
export type BundleSortBy = "valid-until" | "date-updated";
|
|
12
|
+
export type BundleSortDirection = "ASC" | "DESC";
|
|
13
|
+
export type BundleStatus = "draft" | "pending-review" | "in-review" | "twilio-rejected" | "twilio-approved" | "provisionally-approved";
|
|
14
14
|
/**
|
|
15
15
|
* Options to pass to update a BundleInstance
|
|
16
16
|
*/
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import V2 from "../../V2";
|
|
6
|
-
type EndUserType = "individual" | "business";
|
|
6
|
+
export type EndUserType = "individual" | "business";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to update a EndUserInstance
|
|
9
9
|
*/
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import V2 from "../../V2";
|
|
6
|
-
type RegulationEndUserType = "individual" | "business";
|
|
6
|
+
export type RegulationEndUserType = "individual" | "business";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to each
|
|
9
9
|
*/
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import V2 from "../../V2";
|
|
6
|
-
type SupportingDocumentStatus = "draft" | "pending-review" | "rejected" | "approved" | "expired" | "provisionally-approved";
|
|
6
|
+
export type SupportingDocumentStatus = "draft" | "pending-review" | "rejected" | "approved" | "expired" | "provisionally-approved";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to update a SupportingDocumentInstance
|
|
9
9
|
*/
|
package/lib/rest/preview/hosted_numbers/authorizationDocument/dependentHostedNumberOrder.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import HostedNumbers from "../../HostedNumbers";
|
|
6
6
|
import { PhoneNumberCapabilities } from "../../../../interfaces";
|
|
7
|
-
type DependentHostedNumberOrderStatus = "received" | "pending-verification" | "verified" | "pending-loa" | "carrier-processing" | "testing" | "completed" | "failed" | "action-required";
|
|
8
|
-
type DependentHostedNumberOrderVerificationType = "phone-call" | "phone-bill";
|
|
7
|
+
export type DependentHostedNumberOrderStatus = "received" | "pending-verification" | "verified" | "pending-loa" | "carrier-processing" | "testing" | "completed" | "failed" | "action-required";
|
|
8
|
+
export type DependentHostedNumberOrderVerificationType = "phone-call" | "phone-bill";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to each
|
|
11
11
|
*/
|
|
@@ -4,7 +4,7 @@ import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import HostedNumbers from "../HostedNumbers";
|
|
6
6
|
import { DependentHostedNumberOrderListInstance } from "./authorizationDocument/dependentHostedNumberOrder";
|
|
7
|
-
type AuthorizationDocumentStatus = "opened" | "signing" | "signed" | "canceled" | "failed";
|
|
7
|
+
export type AuthorizationDocumentStatus = "opened" | "signing" | "signed" | "canceled" | "failed";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to update a AuthorizationDocumentInstance
|
|
10
10
|
*/
|
|
@@ -4,8 +4,8 @@ import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import HostedNumbers from "../HostedNumbers";
|
|
6
6
|
import { PhoneNumberCapabilities } from "../../../interfaces";
|
|
7
|
-
type HostedNumberOrderStatus = "received" | "pending-verification" | "verified" | "pending-loa" | "carrier-processing" | "testing" | "completed" | "failed" | "action-required";
|
|
8
|
-
type HostedNumberOrderVerificationType = "phone-call" | "phone-bill";
|
|
7
|
+
export type HostedNumberOrderStatus = "received" | "pending-verification" | "verified" | "pending-loa" | "carrier-processing" | "testing" | "completed" | "failed" | "action-required";
|
|
8
|
+
export type HostedNumberOrderVerificationType = "phone-call" | "phone-bill";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to update a HostedNumberOrderInstance
|
|
11
11
|
*/
|
|
@@ -3,8 +3,8 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import Sync from "../../../Sync";
|
|
6
|
-
type SyncListItemQueryFromBoundType = "inclusive" | "exclusive";
|
|
7
|
-
type SyncListItemQueryResultOrder = "asc" | "desc";
|
|
6
|
+
export type SyncListItemQueryFromBoundType = "inclusive" | "exclusive";
|
|
7
|
+
export type SyncListItemQueryResultOrder = "asc" | "desc";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to remove a SyncListItemInstance
|
|
10
10
|
*/
|
|
@@ -3,8 +3,8 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import Sync from "../../../Sync";
|
|
6
|
-
type SyncMapItemQueryFromBoundType = "inclusive" | "exclusive";
|
|
7
|
-
type SyncMapItemQueryResultOrder = "asc" | "desc";
|
|
6
|
+
export type SyncMapItemQueryFromBoundType = "inclusive" | "exclusive";
|
|
7
|
+
export type SyncMapItemQueryResultOrder = "asc" | "desc";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to remove a SyncMapItemInstance
|
|
10
10
|
*/
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import Understand from "../../Understand";
|
|
6
|
-
type ModelBuildStatus = "enqueued" | "building" | "completed" | "failed" | "canceled";
|
|
6
|
+
export type ModelBuildStatus = "enqueued" | "building" | "completed" | "failed" | "canceled";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to update a ModelBuildInstance
|
|
9
9
|
*/
|
|
@@ -3,8 +3,8 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V1 from "../../../V1";
|
|
6
|
-
type InteractionResourceStatus = "accepted" | "answered" | "busy" | "canceled" | "completed" | "deleted" | "delivered" | "delivery-unknown" | "failed" | "in-progress" | "initiated" | "no-answer" | "queued" | "received" | "receiving" | "ringing" | "scheduled" | "sending" | "sent" | "undelivered" | "unknown";
|
|
7
|
-
type InteractionType = "message" | "voice" | "unknown";
|
|
6
|
+
export type InteractionResourceStatus = "accepted" | "answered" | "busy" | "canceled" | "completed" | "deleted" | "delivered" | "delivery-unknown" | "failed" | "in-progress" | "initiated" | "no-answer" | "queued" | "received" | "receiving" | "ringing" | "scheduled" | "sending" | "sent" | "undelivered" | "unknown";
|
|
7
|
+
export type InteractionType = "message" | "voice" | "unknown";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to each
|
|
10
10
|
*/
|
|
@@ -3,8 +3,8 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../../http/response";
|
|
5
5
|
import V1 from "../../../../V1";
|
|
6
|
-
type MessageInteractionResourceStatus = "accepted" | "answered" | "busy" | "canceled" | "completed" | "deleted" | "delivered" | "delivery-unknown" | "failed" | "in-progress" | "initiated" | "no-answer" | "queued" | "received" | "receiving" | "ringing" | "scheduled" | "sending" | "sent" | "undelivered" | "unknown";
|
|
7
|
-
type MessageInteractionType = "message" | "voice" | "unknown";
|
|
6
|
+
export type MessageInteractionResourceStatus = "accepted" | "answered" | "busy" | "canceled" | "completed" | "deleted" | "delivered" | "delivery-unknown" | "failed" | "in-progress" | "initiated" | "no-answer" | "queued" | "received" | "receiving" | "ringing" | "scheduled" | "sending" | "sent" | "undelivered" | "unknown";
|
|
7
|
+
export type MessageInteractionType = "message" | "voice" | "unknown";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to create a MessageInteractionInstance
|
|
10
10
|
*/
|
|
@@ -5,8 +5,8 @@ import Response from "../../../../http/response";
|
|
|
5
5
|
import V1 from "../../V1";
|
|
6
6
|
import { InteractionListInstance } from "./session/interaction";
|
|
7
7
|
import { ParticipantListInstance } from "./session/participant";
|
|
8
|
-
type SessionMode = "message-only" | "voice-only" | "voice-and-message";
|
|
9
|
-
type SessionStatus = "open" | "in-progress" | "closed" | "failed" | "unknown";
|
|
8
|
+
export type SessionMode = "message-only" | "voice-only" | "voice-and-message";
|
|
9
|
+
export type SessionStatus = "open" | "in-progress" | "closed" | "failed" | "unknown";
|
|
10
10
|
/**
|
|
11
11
|
* Options to pass to update a SessionInstance
|
|
12
12
|
*/
|
|
@@ -6,8 +6,8 @@ import V1 from "../V1";
|
|
|
6
6
|
import { PhoneNumberListInstance } from "./service/phoneNumber";
|
|
7
7
|
import { SessionListInstance } from "./service/session";
|
|
8
8
|
import { ShortCodeListInstance } from "./service/shortCode";
|
|
9
|
-
type ServiceGeoMatchLevel = "area-code" | "overlay" | "radius" | "country";
|
|
10
|
-
type ServiceNumberSelectionBehavior = "avoid-sticky" | "prefer-sticky";
|
|
9
|
+
export type ServiceGeoMatchLevel = "area-code" | "overlay" | "radius" | "country";
|
|
10
|
+
export type ServiceNumberSelectionBehavior = "avoid-sticky" | "prefer-sticky";
|
|
11
11
|
/**
|
|
12
12
|
* Options to pass to update a ServiceInstance
|
|
13
13
|
*/
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V1 from "../../../V1";
|
|
6
|
-
type AssetVersionVisibility = "public" | "private" | "protected";
|
|
6
|
+
export type AssetVersionVisibility = "public" | "private" | "protected";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to each
|
|
9
9
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { inspect, InspectOptions } from "util";
|
|
3
3
|
import V1 from "../../../V1";
|
|
4
|
-
type BuildStatusStatus = "building" | "completed" | "failed";
|
|
4
|
+
export type BuildStatusStatus = "building" | "completed" | "failed";
|
|
5
5
|
export interface BuildStatusContext {
|
|
6
6
|
/**
|
|
7
7
|
* Fetch a BuildStatusInstance
|
|
@@ -4,8 +4,8 @@ import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import V1 from "../../V1";
|
|
6
6
|
import { BuildStatusListInstance } from "./build/buildStatus";
|
|
7
|
-
type BuildRuntime = "node8" | "node10" | "node12" | "node14" | "node16";
|
|
8
|
-
type BuildStatus = "building" | "completed" | "failed";
|
|
7
|
+
export type BuildRuntime = "node8" | "node10" | "node12" | "node14" | "node16";
|
|
8
|
+
export type BuildStatus = "building" | "completed" | "failed";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to create a BuildInstance
|
|
11
11
|
*/
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V1 from "../../../V1";
|
|
6
|
-
type LogLevel = "info" | "warn" | "error";
|
|
6
|
+
export type LogLevel = "info" | "warn" | "error";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to each
|
|
9
9
|
*/
|
|
@@ -4,7 +4,7 @@ import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V1 from "../../../V1";
|
|
6
6
|
import { FunctionVersionContentListInstance } from "./functionVersion/functionVersionContent";
|
|
7
|
-
type FunctionVersionVisibility = "public" | "private" | "protected";
|
|
7
|
+
export type FunctionVersionVisibility = "public" | "private" | "protected";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to each
|
|
10
10
|
*/
|
|
@@ -5,7 +5,7 @@ import Response from "../../../../http/response";
|
|
|
5
5
|
import V1 from "../../V1";
|
|
6
6
|
import { EngagementContextListInstance } from "./engagement/engagementContext";
|
|
7
7
|
import { StepListInstance } from "./engagement/step";
|
|
8
|
-
type EngagementStatus = "active" | "ended";
|
|
8
|
+
export type EngagementStatus = "active" | "ended";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to create a EngagementInstance
|
|
11
11
|
*/
|
|
@@ -5,7 +5,7 @@ import Response from "../../../../http/response";
|
|
|
5
5
|
import V1 from "../../V1";
|
|
6
6
|
import { ExecutionContextListInstance } from "./execution/executionContext";
|
|
7
7
|
import { ExecutionStepListInstance } from "./execution/executionStep";
|
|
8
|
-
type ExecutionStatus = "active" | "ended";
|
|
8
|
+
export type ExecutionStatus = "active" | "ended";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to update a ExecutionInstance
|
|
11
11
|
*/
|
|
@@ -5,7 +5,7 @@ import Response from "../../../http/response";
|
|
|
5
5
|
import V1 from "../V1";
|
|
6
6
|
import { EngagementListInstance } from "./flow/engagement";
|
|
7
7
|
import { ExecutionListInstance } from "./flow/execution";
|
|
8
|
-
type FlowStatus = "draft" | "published";
|
|
8
|
+
export type FlowStatus = "draft" | "published";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to each
|
|
11
11
|
*/
|
|
@@ -5,7 +5,7 @@ import Response from "../../../../http/response";
|
|
|
5
5
|
import V2 from "../../V2";
|
|
6
6
|
import { ExecutionContextListInstance } from "./execution/executionContext";
|
|
7
7
|
import { ExecutionStepListInstance } from "./execution/executionStep";
|
|
8
|
-
type ExecutionStatus = "active" | "ended";
|
|
8
|
+
export type ExecutionStatus = "active" | "ended";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to update a ExecutionInstance
|
|
11
11
|
*/
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import V2 from "../../V2";
|
|
6
|
-
type FlowRevisionStatus = "draft" | "published";
|
|
6
|
+
export type FlowRevisionStatus = "draft" | "published";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to each
|
|
9
9
|
*/
|
|
@@ -6,7 +6,7 @@ import V2 from "../V2";
|
|
|
6
6
|
import { ExecutionListInstance } from "./flow/execution";
|
|
7
7
|
import { FlowRevisionListInstance } from "./flow/flowRevision";
|
|
8
8
|
import { FlowTestUserListInstance } from "./flow/flowTestUser";
|
|
9
|
-
type FlowStatus = "draft" | "published";
|
|
9
|
+
export type FlowStatus = "draft" | "published";
|
|
10
10
|
/**
|
|
11
11
|
* Options to pass to update a FlowInstance
|
|
12
12
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { inspect, InspectOptions } from "util";
|
|
3
3
|
import V2 from "../V2";
|
|
4
|
-
type FlowValidateStatus = "draft" | "published";
|
|
4
|
+
export type FlowValidateStatus = "draft" | "published";
|
|
5
5
|
/**
|
|
6
6
|
* Options to pass to update a FlowValidateInstance
|
|
7
7
|
*/
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import V1 from "../V1";
|
|
6
|
-
type EsimProfileStatus = "new" | "reserving" | "available" | "downloaded" | "installed" | "failed";
|
|
6
|
+
export type EsimProfileStatus = "new" | "reserving" | "available" | "downloaded" | "installed" | "failed";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to create a EsimProfileInstance
|
|
9
9
|
*/
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import V1 from "../V1";
|
|
6
|
-
type FleetDataMetering = "payg";
|
|
6
|
+
export type FleetDataMetering = "payg";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to update a FleetInstance
|
|
9
9
|
*/
|
|
@@ -3,9 +3,9 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import V1 from "../V1";
|
|
6
|
-
type IpCommandDirection = "to_sim" | "from_sim";
|
|
7
|
-
type IpCommandPayloadType = "text" | "binary";
|
|
8
|
-
type IpCommandStatus = "queued" | "sent" | "received" | "failed";
|
|
6
|
+
export type IpCommandDirection = "to_sim" | "from_sim";
|
|
7
|
+
export type IpCommandPayloadType = "text" | "binary";
|
|
8
|
+
export type IpCommandStatus = "queued" | "sent" | "received" | "failed";
|
|
9
9
|
/**
|
|
10
10
|
* Options to pass to create a IpCommandInstance
|
|
11
11
|
*/
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import V1 from "../V1";
|
|
6
|
-
type SettingsUpdateStatus = "scheduled" | "in-progress" | "successful" | "failed";
|
|
6
|
+
export type SettingsUpdateStatus = "scheduled" | "in-progress" | "successful" | "failed";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to each
|
|
9
9
|
*/
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import V1 from "../../V1";
|
|
6
|
-
type BillingPeriodBpType = "ready" | "active";
|
|
6
|
+
export type BillingPeriodBpType = "ready" | "active";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to each
|
|
9
9
|
*/
|
|
@@ -3,7 +3,7 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import V1 from "../../V1";
|
|
6
|
-
type SimIpAddressIpAddressVersion = "IPv4" | "IPv6";
|
|
6
|
+
export type SimIpAddressIpAddressVersion = "IPv4" | "IPv6";
|
|
7
7
|
/**
|
|
8
8
|
* Options to pass to each
|
|
9
9
|
*/
|
|
@@ -5,8 +5,8 @@ import Response from "../../../http/response";
|
|
|
5
5
|
import V1 from "../V1";
|
|
6
6
|
import { BillingPeriodListInstance } from "./sim/billingPeriod";
|
|
7
7
|
import { SimIpAddressListInstance } from "./sim/simIpAddress";
|
|
8
|
-
type SimStatus = "new" | "ready" | "active" | "inactive" | "scheduled";
|
|
9
|
-
type SimStatusUpdate = "ready" | "active" | "inactive";
|
|
8
|
+
export type SimStatus = "new" | "ready" | "active" | "inactive" | "scheduled";
|
|
9
|
+
export type SimStatusUpdate = "ready" | "active" | "inactive";
|
|
10
10
|
/**
|
|
11
11
|
* Options to pass to update a SimInstance
|
|
12
12
|
*/
|
|
@@ -3,8 +3,8 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import V1 from "../V1";
|
|
6
|
-
type SmsCommandDirection = "to_sim" | "from_sim";
|
|
7
|
-
type SmsCommandStatus = "queued" | "sent" | "delivered" | "received" | "failed";
|
|
6
|
+
export type SmsCommandDirection = "to_sim" | "from_sim";
|
|
7
|
+
export type SmsCommandStatus = "queued" | "sent" | "delivered" | "received" | "failed";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to create a SmsCommandInstance
|
|
10
10
|
*/
|
|
@@ -3,8 +3,8 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
4
4
|
import Response from "../../../http/response";
|
|
5
5
|
import V1 from "../V1";
|
|
6
|
-
type UsageRecordGranularity = "hour" | "day" | "all";
|
|
7
|
-
type UsageRecordGroup = "sim" | "fleet" | "network" | "isoCountry";
|
|
6
|
+
export type UsageRecordGranularity = "hour" | "day" | "all";
|
|
7
|
+
export type UsageRecordGroup = "sim" | "fleet" | "network" | "isoCountry";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to each
|
|
10
10
|
*/
|
|
@@ -3,8 +3,8 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V1 from "../../../V1";
|
|
6
|
-
type SyncListItemQueryFromBoundType = "inclusive" | "exclusive";
|
|
7
|
-
type SyncListItemQueryResultOrder = "asc" | "desc";
|
|
6
|
+
export type SyncListItemQueryFromBoundType = "inclusive" | "exclusive";
|
|
7
|
+
export type SyncListItemQueryResultOrder = "asc" | "desc";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to remove a SyncListItemInstance
|
|
10
10
|
*/
|
|
@@ -3,8 +3,8 @@ import { inspect, InspectOptions } from "util";
|
|
|
3
3
|
import Page, { TwilioResponsePayload } from "../../../../../base/Page";
|
|
4
4
|
import Response from "../../../../../http/response";
|
|
5
5
|
import V1 from "../../../V1";
|
|
6
|
-
type SyncMapItemQueryFromBoundType = "inclusive" | "exclusive";
|
|
7
|
-
type SyncMapItemQueryResultOrder = "asc" | "desc";
|
|
6
|
+
export type SyncMapItemQueryFromBoundType = "inclusive" | "exclusive";
|
|
7
|
+
export type SyncMapItemQueryResultOrder = "asc" | "desc";
|
|
8
8
|
/**
|
|
9
9
|
* Options to pass to remove a SyncMapItemInstance
|
|
10
10
|
*/
|