twilio 4.13.0 → 4.14.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/rest/flexApi/v1/interaction.d.ts +5 -0
- package/lib/rest/flexApi/v1/interaction.js +4 -0
- package/lib/rest/messaging/V1.d.ts +5 -0
- package/lib/rest/messaging/V1.js +7 -0
- package/lib/rest/messaging/v1/tollfreeVerification.d.ts +539 -0
- package/lib/rest/messaging/v1/tollfreeVerification.js +402 -0
- package/lib/rest/microvisor/v1/device.d.ts +2 -0
- package/lib/rest/microvisor/v1/device.js +2 -0
- package/lib/rest/numbers/v2/authorizationDocument.d.ts +2 -0
- package/lib/rest/numbers/v2/authorizationDocument.js +5 -0
- package/lib/rest/numbers/v2/hostedNumberOrder.d.ts +0 -6
- package/lib/rest/numbers/v2/hostedNumberOrder.js +0 -2
- package/lib/rest/verify/v2/service/verification.d.ts +3 -0
- package/lib/rest/verify/v2/service/verification.js +2 -0
- package/lib/twiml/VoiceResponse.d.ts +2 -2
- package/package.json +2 -2
|
@@ -10,6 +10,8 @@ export interface InteractionListInstanceCreateOptions {
|
|
|
10
10
|
channel: any;
|
|
11
11
|
/** The Interaction\\\'s routing logic. */
|
|
12
12
|
routing: any;
|
|
13
|
+
/** The Interaction context sid is used for adding a context lookup sid */
|
|
14
|
+
interactionContextSid?: string;
|
|
13
15
|
}
|
|
14
16
|
export interface InteractionContext {
|
|
15
17
|
channels: InteractionChannelListInstance;
|
|
@@ -52,6 +54,7 @@ interface InteractionResource {
|
|
|
52
54
|
routing: any;
|
|
53
55
|
url: string;
|
|
54
56
|
links: Record<string, string>;
|
|
57
|
+
interaction_context_sid: string;
|
|
55
58
|
}
|
|
56
59
|
export declare class InteractionInstance {
|
|
57
60
|
protected _version: V1;
|
|
@@ -72,6 +75,7 @@ export declare class InteractionInstance {
|
|
|
72
75
|
routing: any;
|
|
73
76
|
url: string;
|
|
74
77
|
links: Record<string, string>;
|
|
78
|
+
interactionContextSid: string;
|
|
75
79
|
private get _proxy();
|
|
76
80
|
/**
|
|
77
81
|
* Fetch a InteractionInstance
|
|
@@ -96,6 +100,7 @@ export declare class InteractionInstance {
|
|
|
96
100
|
routing: any;
|
|
97
101
|
url: string;
|
|
98
102
|
links: Record<string, string>;
|
|
103
|
+
interactionContextSid: string;
|
|
99
104
|
};
|
|
100
105
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
101
106
|
}
|
|
@@ -65,6 +65,7 @@ class InteractionInstance {
|
|
|
65
65
|
this.routing = payload.routing;
|
|
66
66
|
this.url = payload.url;
|
|
67
67
|
this.links = payload.links;
|
|
68
|
+
this.interactionContextSid = payload.interaction_context_sid;
|
|
68
69
|
this._solution = { sid: sid || this.sid };
|
|
69
70
|
}
|
|
70
71
|
get _proxy() {
|
|
@@ -101,6 +102,7 @@ class InteractionInstance {
|
|
|
101
102
|
routing: this.routing,
|
|
102
103
|
url: this.url,
|
|
103
104
|
links: this.links,
|
|
105
|
+
interactionContextSid: this.interactionContextSid,
|
|
104
106
|
};
|
|
105
107
|
}
|
|
106
108
|
[util_1.inspect.custom](_depth, options) {
|
|
@@ -129,6 +131,8 @@ function InteractionListInstance(version) {
|
|
|
129
131
|
let data = {};
|
|
130
132
|
data["Channel"] = serialize.object(params["channel"]);
|
|
131
133
|
data["Routing"] = serialize.object(params["routing"]);
|
|
134
|
+
if (params["interactionContextSid"] !== undefined)
|
|
135
|
+
data["InteractionContextSid"] = params["interactionContextSid"];
|
|
132
136
|
const headers = {};
|
|
133
137
|
headers["Content-Type"] = "application/x-www-form-urlencoded";
|
|
134
138
|
let operationVersion = version, operationPromise = operationVersion.create({
|
|
@@ -9,6 +9,7 @@ import { ExternalCampaignListInstance } from "./v1/externalCampaign";
|
|
|
9
9
|
import { LinkshorteningMessagingServiceListInstance } from "./v1/linkshorteningMessagingService";
|
|
10
10
|
import { LinkshorteningMessagingServiceDomainAssociationListInstance } from "./v1/linkshorteningMessagingServiceDomainAssociation";
|
|
11
11
|
import { ServiceListInstance } from "./v1/service";
|
|
12
|
+
import { TollfreeVerificationListInstance } from "./v1/tollfreeVerification";
|
|
12
13
|
import { UsecaseListInstance } from "./v1/usecase";
|
|
13
14
|
export default class V1 extends Version {
|
|
14
15
|
/**
|
|
@@ -35,6 +36,8 @@ export default class V1 extends Version {
|
|
|
35
36
|
protected _linkshorteningMessagingServiceDomainAssociation?: LinkshorteningMessagingServiceDomainAssociationListInstance;
|
|
36
37
|
/** services - { Twilio.Messaging.V1.ServiceListInstance } resource */
|
|
37
38
|
protected _services?: ServiceListInstance;
|
|
39
|
+
/** tollfreeVerifications - { Twilio.Messaging.V1.TollfreeVerificationListInstance } resource */
|
|
40
|
+
protected _tollfreeVerifications?: TollfreeVerificationListInstance;
|
|
38
41
|
/** usecases - { Twilio.Messaging.V1.UsecaseListInstance } resource */
|
|
39
42
|
protected _usecases?: UsecaseListInstance;
|
|
40
43
|
/** Getter for brandRegistrations resource */
|
|
@@ -55,6 +58,8 @@ export default class V1 extends Version {
|
|
|
55
58
|
get linkshorteningMessagingServiceDomainAssociation(): LinkshorteningMessagingServiceDomainAssociationListInstance;
|
|
56
59
|
/** Getter for services resource */
|
|
57
60
|
get services(): ServiceListInstance;
|
|
61
|
+
/** Getter for tollfreeVerifications resource */
|
|
62
|
+
get tollfreeVerifications(): TollfreeVerificationListInstance;
|
|
58
63
|
/** Getter for usecases resource */
|
|
59
64
|
get usecases(): UsecaseListInstance;
|
|
60
65
|
}
|
package/lib/rest/messaging/V1.js
CHANGED
|
@@ -26,6 +26,7 @@ const externalCampaign_1 = require("./v1/externalCampaign");
|
|
|
26
26
|
const linkshorteningMessagingService_1 = require("./v1/linkshorteningMessagingService");
|
|
27
27
|
const linkshorteningMessagingServiceDomainAssociation_1 = require("./v1/linkshorteningMessagingServiceDomainAssociation");
|
|
28
28
|
const service_1 = require("./v1/service");
|
|
29
|
+
const tollfreeVerification_1 = require("./v1/tollfreeVerification");
|
|
29
30
|
const usecase_1 = require("./v1/usecase");
|
|
30
31
|
class V1 extends Version_1.default {
|
|
31
32
|
/**
|
|
@@ -90,6 +91,12 @@ class V1 extends Version_1.default {
|
|
|
90
91
|
this._services = this._services || (0, service_1.ServiceListInstance)(this);
|
|
91
92
|
return this._services;
|
|
92
93
|
}
|
|
94
|
+
/** Getter for tollfreeVerifications resource */
|
|
95
|
+
get tollfreeVerifications() {
|
|
96
|
+
this._tollfreeVerifications =
|
|
97
|
+
this._tollfreeVerifications || (0, tollfreeVerification_1.TollfreeVerificationListInstance)(this);
|
|
98
|
+
return this._tollfreeVerifications;
|
|
99
|
+
}
|
|
93
100
|
/** Getter for usecases resource */
|
|
94
101
|
get usecases() {
|
|
95
102
|
this._usecases = this._usecases || (0, usecase_1.UsecaseListInstance)(this);
|
|
@@ -0,0 +1,539 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { inspect, InspectOptions } from "util";
|
|
3
|
+
import Page, { TwilioResponsePayload } from "../../../base/Page";
|
|
4
|
+
import Response from "../../../http/response";
|
|
5
|
+
import V1 from "../V1";
|
|
6
|
+
export type TollfreeVerificationOptInType = "VERBAL" | "WEB_FORM" | "PAPER_FORM" | "VIA_TEXT" | "MOBILE_QR_CODE";
|
|
7
|
+
export type TollfreeVerificationStatus = "PENDING_REVIEW" | "IN_REVIEW" | "TWILIO_APPROVED" | "TWILIO_REJECTED";
|
|
8
|
+
/**
|
|
9
|
+
* Options to pass to update a TollfreeVerificationInstance
|
|
10
|
+
*/
|
|
11
|
+
export interface TollfreeVerificationContextUpdateOptions {
|
|
12
|
+
/** The name of the business or organization using the Tollfree number. */
|
|
13
|
+
businessName?: string;
|
|
14
|
+
/** The website of the business or organization using the Tollfree number. */
|
|
15
|
+
businessWebsite?: string;
|
|
16
|
+
/** The email address to receive the notification about the verification result. . */
|
|
17
|
+
notificationEmail?: string;
|
|
18
|
+
/** The category of the use case for the Tollfree Number. List as many are applicable.. */
|
|
19
|
+
useCaseCategories?: Array<string>;
|
|
20
|
+
/** Use this to further explain how messaging is used by the business or organization. */
|
|
21
|
+
useCaseSummary?: string;
|
|
22
|
+
/** An example of message content, i.e. a sample message. */
|
|
23
|
+
productionMessageSample?: string;
|
|
24
|
+
/** Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL. */
|
|
25
|
+
optInImageUrls?: Array<string>;
|
|
26
|
+
/** */
|
|
27
|
+
optInType?: TollfreeVerificationOptInType;
|
|
28
|
+
/** Estimate monthly volume of messages from the Tollfree Number. */
|
|
29
|
+
messageVolume?: string;
|
|
30
|
+
/** The address of the business or organization using the Tollfree number. */
|
|
31
|
+
businessStreetAddress?: string;
|
|
32
|
+
/** The address of the business or organization using the Tollfree number. */
|
|
33
|
+
businessStreetAddress2?: string;
|
|
34
|
+
/** The city of the business or organization using the Tollfree number. */
|
|
35
|
+
businessCity?: string;
|
|
36
|
+
/** The state/province/region of the business or organization using the Tollfree number. */
|
|
37
|
+
businessStateProvinceRegion?: string;
|
|
38
|
+
/** The postal code of the business or organization using the Tollfree number. */
|
|
39
|
+
businessPostalCode?: string;
|
|
40
|
+
/** The country of the business or organization using the Tollfree number. */
|
|
41
|
+
businessCountry?: string;
|
|
42
|
+
/** Additional information to be provided for verification. */
|
|
43
|
+
additionalInformation?: string;
|
|
44
|
+
/** The first name of the contact for the business or organization using the Tollfree number. */
|
|
45
|
+
businessContactFirstName?: string;
|
|
46
|
+
/** The last name of the contact for the business or organization using the Tollfree number. */
|
|
47
|
+
businessContactLastName?: string;
|
|
48
|
+
/** The email address of the contact for the business or organization using the Tollfree number. */
|
|
49
|
+
businessContactEmail?: string;
|
|
50
|
+
/** The phone number of the contact for the business or organization using the Tollfree number. */
|
|
51
|
+
businessContactPhone?: string;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Options to pass to create a TollfreeVerificationInstance
|
|
55
|
+
*/
|
|
56
|
+
export interface TollfreeVerificationListInstanceCreateOptions {
|
|
57
|
+
/** The name of the business or organization using the Tollfree number. */
|
|
58
|
+
businessName: string;
|
|
59
|
+
/** The website of the business or organization using the Tollfree number. */
|
|
60
|
+
businessWebsite: string;
|
|
61
|
+
/** The email address to receive the notification about the verification result. . */
|
|
62
|
+
notificationEmail: string;
|
|
63
|
+
/** The category of the use case for the Tollfree Number. List as many are applicable.. */
|
|
64
|
+
useCaseCategories: Array<string>;
|
|
65
|
+
/** Use this to further explain how messaging is used by the business or organization. */
|
|
66
|
+
useCaseSummary: string;
|
|
67
|
+
/** An example of message content, i.e. a sample message. */
|
|
68
|
+
productionMessageSample: string;
|
|
69
|
+
/** Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL. */
|
|
70
|
+
optInImageUrls: Array<string>;
|
|
71
|
+
/** */
|
|
72
|
+
optInType: TollfreeVerificationOptInType;
|
|
73
|
+
/** Estimate monthly volume of messages from the Tollfree Number. */
|
|
74
|
+
messageVolume: string;
|
|
75
|
+
/** The SID of the Phone Number associated with the Tollfree Verification. */
|
|
76
|
+
tollfreePhoneNumberSid: string;
|
|
77
|
+
/** Customer\\\'s Profile Bundle BundleSid. */
|
|
78
|
+
customerProfileSid?: string;
|
|
79
|
+
/** The address of the business or organization using the Tollfree number. */
|
|
80
|
+
businessStreetAddress?: string;
|
|
81
|
+
/** The address of the business or organization using the Tollfree number. */
|
|
82
|
+
businessStreetAddress2?: string;
|
|
83
|
+
/** The city of the business or organization using the Tollfree number. */
|
|
84
|
+
businessCity?: string;
|
|
85
|
+
/** The state/province/region of the business or organization using the Tollfree number. */
|
|
86
|
+
businessStateProvinceRegion?: string;
|
|
87
|
+
/** The postal code of the business or organization using the Tollfree number. */
|
|
88
|
+
businessPostalCode?: string;
|
|
89
|
+
/** The country of the business or organization using the Tollfree number. */
|
|
90
|
+
businessCountry?: string;
|
|
91
|
+
/** Additional information to be provided for verification. */
|
|
92
|
+
additionalInformation?: string;
|
|
93
|
+
/** The first name of the contact for the business or organization using the Tollfree number. */
|
|
94
|
+
businessContactFirstName?: string;
|
|
95
|
+
/** The last name of the contact for the business or organization using the Tollfree number. */
|
|
96
|
+
businessContactLastName?: string;
|
|
97
|
+
/** The email address of the contact for the business or organization using the Tollfree number. */
|
|
98
|
+
businessContactEmail?: string;
|
|
99
|
+
/** The phone number of the contact for the business or organization using the Tollfree number. */
|
|
100
|
+
businessContactPhone?: string;
|
|
101
|
+
/** An optional external reference ID supplied by customer and echoed back on status retrieval. */
|
|
102
|
+
externalReferenceId?: string;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Options to pass to each
|
|
106
|
+
*/
|
|
107
|
+
export interface TollfreeVerificationListInstanceEachOptions {
|
|
108
|
+
/** The SID of the Phone Number associated with the Tollfree Verification. */
|
|
109
|
+
tollfreePhoneNumberSid?: string;
|
|
110
|
+
/** The compliance status of the Tollfree Verification record. */
|
|
111
|
+
status?: TollfreeVerificationStatus;
|
|
112
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
|
|
113
|
+
pageSize?: number;
|
|
114
|
+
/** Function to process each record. If this and a positional callback are passed, this one will be used */
|
|
115
|
+
callback?: (item: TollfreeVerificationInstance, done: (err?: Error) => void) => void;
|
|
116
|
+
/** Function to be called upon completion of streaming */
|
|
117
|
+
done?: Function;
|
|
118
|
+
/** Upper limit for the number of records to return. each() guarantees never to return more than limit. Default is no limit */
|
|
119
|
+
limit?: number;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Options to pass to list
|
|
123
|
+
*/
|
|
124
|
+
export interface TollfreeVerificationListInstanceOptions {
|
|
125
|
+
/** The SID of the Phone Number associated with the Tollfree Verification. */
|
|
126
|
+
tollfreePhoneNumberSid?: string;
|
|
127
|
+
/** The compliance status of the Tollfree Verification record. */
|
|
128
|
+
status?: TollfreeVerificationStatus;
|
|
129
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
|
|
130
|
+
pageSize?: number;
|
|
131
|
+
/** Upper limit for the number of records to return. list() guarantees never to return more than limit. Default is no limit */
|
|
132
|
+
limit?: number;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Options to pass to page
|
|
136
|
+
*/
|
|
137
|
+
export interface TollfreeVerificationListInstancePageOptions {
|
|
138
|
+
/** The SID of the Phone Number associated with the Tollfree Verification. */
|
|
139
|
+
tollfreePhoneNumberSid?: string;
|
|
140
|
+
/** The compliance status of the Tollfree Verification record. */
|
|
141
|
+
status?: TollfreeVerificationStatus;
|
|
142
|
+
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
|
|
143
|
+
pageSize?: number;
|
|
144
|
+
/** Page Number, this value is simply for client state */
|
|
145
|
+
pageNumber?: number;
|
|
146
|
+
/** PageToken provided by the API */
|
|
147
|
+
pageToken?: string;
|
|
148
|
+
}
|
|
149
|
+
export interface TollfreeVerificationContext {
|
|
150
|
+
/**
|
|
151
|
+
* Fetch a TollfreeVerificationInstance
|
|
152
|
+
*
|
|
153
|
+
* @param callback - Callback to handle processed record
|
|
154
|
+
*
|
|
155
|
+
* @returns Resolves to processed TollfreeVerificationInstance
|
|
156
|
+
*/
|
|
157
|
+
fetch(callback?: (error: Error | null, item?: TollfreeVerificationInstance) => any): Promise<TollfreeVerificationInstance>;
|
|
158
|
+
/**
|
|
159
|
+
* Update a TollfreeVerificationInstance
|
|
160
|
+
*
|
|
161
|
+
* @param callback - Callback to handle processed record
|
|
162
|
+
*
|
|
163
|
+
* @returns Resolves to processed TollfreeVerificationInstance
|
|
164
|
+
*/
|
|
165
|
+
update(callback?: (error: Error | null, item?: TollfreeVerificationInstance) => any): Promise<TollfreeVerificationInstance>;
|
|
166
|
+
/**
|
|
167
|
+
* Update a TollfreeVerificationInstance
|
|
168
|
+
*
|
|
169
|
+
* @param params - Parameter for request
|
|
170
|
+
* @param callback - Callback to handle processed record
|
|
171
|
+
*
|
|
172
|
+
* @returns Resolves to processed TollfreeVerificationInstance
|
|
173
|
+
*/
|
|
174
|
+
update(params: TollfreeVerificationContextUpdateOptions, callback?: (error: Error | null, item?: TollfreeVerificationInstance) => any): Promise<TollfreeVerificationInstance>;
|
|
175
|
+
/**
|
|
176
|
+
* Provide a user-friendly representation
|
|
177
|
+
*/
|
|
178
|
+
toJSON(): any;
|
|
179
|
+
[inspect.custom](_depth: any, options: InspectOptions): any;
|
|
180
|
+
}
|
|
181
|
+
export interface TollfreeVerificationContextSolution {
|
|
182
|
+
sid: string;
|
|
183
|
+
}
|
|
184
|
+
export declare class TollfreeVerificationContextImpl implements TollfreeVerificationContext {
|
|
185
|
+
protected _version: V1;
|
|
186
|
+
protected _solution: TollfreeVerificationContextSolution;
|
|
187
|
+
protected _uri: string;
|
|
188
|
+
constructor(_version: V1, sid: string);
|
|
189
|
+
fetch(callback?: (error: Error | null, item?: TollfreeVerificationInstance) => any): Promise<TollfreeVerificationInstance>;
|
|
190
|
+
update(params?: TollfreeVerificationContextUpdateOptions | ((error: Error | null, item?: TollfreeVerificationInstance) => any), callback?: (error: Error | null, item?: TollfreeVerificationInstance) => any): Promise<TollfreeVerificationInstance>;
|
|
191
|
+
/**
|
|
192
|
+
* Provide a user-friendly representation
|
|
193
|
+
*
|
|
194
|
+
* @returns Object
|
|
195
|
+
*/
|
|
196
|
+
toJSON(): TollfreeVerificationContextSolution;
|
|
197
|
+
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
198
|
+
}
|
|
199
|
+
interface TollfreeVerificationPayload extends TwilioResponsePayload {
|
|
200
|
+
verifications: TollfreeVerificationResource[];
|
|
201
|
+
}
|
|
202
|
+
interface TollfreeVerificationResource {
|
|
203
|
+
sid: string;
|
|
204
|
+
account_sid: string;
|
|
205
|
+
customer_profile_sid: string;
|
|
206
|
+
trust_product_sid: string;
|
|
207
|
+
date_created: Date;
|
|
208
|
+
date_updated: Date;
|
|
209
|
+
regulated_item_sid: string;
|
|
210
|
+
business_name: string;
|
|
211
|
+
business_street_address: string;
|
|
212
|
+
business_street_address2: string;
|
|
213
|
+
business_city: string;
|
|
214
|
+
business_state_province_region: string;
|
|
215
|
+
business_postal_code: string;
|
|
216
|
+
business_country: string;
|
|
217
|
+
business_website: string;
|
|
218
|
+
business_contact_first_name: string;
|
|
219
|
+
business_contact_last_name: string;
|
|
220
|
+
business_contact_email: string;
|
|
221
|
+
business_contact_phone: string;
|
|
222
|
+
notification_email: string;
|
|
223
|
+
use_case_categories: Array<string>;
|
|
224
|
+
use_case_summary: string;
|
|
225
|
+
production_message_sample: string;
|
|
226
|
+
opt_in_image_urls: Array<string>;
|
|
227
|
+
opt_in_type: TollfreeVerificationOptInType;
|
|
228
|
+
message_volume: string;
|
|
229
|
+
additional_information: string;
|
|
230
|
+
tollfree_phone_number_sid: string;
|
|
231
|
+
status: TollfreeVerificationStatus;
|
|
232
|
+
url: string;
|
|
233
|
+
rejection_reason: string;
|
|
234
|
+
error_code: number;
|
|
235
|
+
edit_expiration: Date;
|
|
236
|
+
resource_links: any;
|
|
237
|
+
external_reference_id: string;
|
|
238
|
+
}
|
|
239
|
+
export declare class TollfreeVerificationInstance {
|
|
240
|
+
protected _version: V1;
|
|
241
|
+
protected _solution: TollfreeVerificationContextSolution;
|
|
242
|
+
protected _context?: TollfreeVerificationContext;
|
|
243
|
+
constructor(_version: V1, payload: TollfreeVerificationResource, sid?: string);
|
|
244
|
+
/**
|
|
245
|
+
* The unique string to identify Tollfree Verification.
|
|
246
|
+
*/
|
|
247
|
+
sid: string;
|
|
248
|
+
/**
|
|
249
|
+
* The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Tollfree Verification resource.
|
|
250
|
+
*/
|
|
251
|
+
accountSid: string;
|
|
252
|
+
/**
|
|
253
|
+
* Customer\'s Profile Bundle BundleSid.
|
|
254
|
+
*/
|
|
255
|
+
customerProfileSid: string;
|
|
256
|
+
/**
|
|
257
|
+
* Tollfree TrustProduct Bundle BundleSid.
|
|
258
|
+
*/
|
|
259
|
+
trustProductSid: string;
|
|
260
|
+
/**
|
|
261
|
+
* The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
262
|
+
*/
|
|
263
|
+
dateCreated: Date;
|
|
264
|
+
/**
|
|
265
|
+
* The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
266
|
+
*/
|
|
267
|
+
dateUpdated: Date;
|
|
268
|
+
/**
|
|
269
|
+
* The SID of the Regulated Item.
|
|
270
|
+
*/
|
|
271
|
+
regulatedItemSid: string;
|
|
272
|
+
/**
|
|
273
|
+
* The name of the business or organization using the Tollfree number.
|
|
274
|
+
*/
|
|
275
|
+
businessName: string;
|
|
276
|
+
/**
|
|
277
|
+
* The address of the business or organization using the Tollfree number.
|
|
278
|
+
*/
|
|
279
|
+
businessStreetAddress: string;
|
|
280
|
+
/**
|
|
281
|
+
* The address of the business or organization using the Tollfree number.
|
|
282
|
+
*/
|
|
283
|
+
businessStreetAddress2: string;
|
|
284
|
+
/**
|
|
285
|
+
* The city of the business or organization using the Tollfree number.
|
|
286
|
+
*/
|
|
287
|
+
businessCity: string;
|
|
288
|
+
/**
|
|
289
|
+
* The state/province/region of the business or organization using the Tollfree number.
|
|
290
|
+
*/
|
|
291
|
+
businessStateProvinceRegion: string;
|
|
292
|
+
/**
|
|
293
|
+
* The postal code of the business or organization using the Tollfree number.
|
|
294
|
+
*/
|
|
295
|
+
businessPostalCode: string;
|
|
296
|
+
/**
|
|
297
|
+
* The country of the business or organization using the Tollfree number.
|
|
298
|
+
*/
|
|
299
|
+
businessCountry: string;
|
|
300
|
+
/**
|
|
301
|
+
* The website of the business or organization using the Tollfree number.
|
|
302
|
+
*/
|
|
303
|
+
businessWebsite: string;
|
|
304
|
+
/**
|
|
305
|
+
* The first name of the contact for the business or organization using the Tollfree number.
|
|
306
|
+
*/
|
|
307
|
+
businessContactFirstName: string;
|
|
308
|
+
/**
|
|
309
|
+
* The last name of the contact for the business or organization using the Tollfree number.
|
|
310
|
+
*/
|
|
311
|
+
businessContactLastName: string;
|
|
312
|
+
/**
|
|
313
|
+
* The email address of the contact for the business or organization using the Tollfree number.
|
|
314
|
+
*/
|
|
315
|
+
businessContactEmail: string;
|
|
316
|
+
/**
|
|
317
|
+
* The phone number of the contact for the business or organization using the Tollfree number.
|
|
318
|
+
*/
|
|
319
|
+
businessContactPhone: string;
|
|
320
|
+
/**
|
|
321
|
+
* The email address to receive the notification about the verification result. .
|
|
322
|
+
*/
|
|
323
|
+
notificationEmail: string;
|
|
324
|
+
/**
|
|
325
|
+
* The category of the use case for the Tollfree Number. List as many are applicable..
|
|
326
|
+
*/
|
|
327
|
+
useCaseCategories: Array<string>;
|
|
328
|
+
/**
|
|
329
|
+
* Use this to further explain how messaging is used by the business or organization.
|
|
330
|
+
*/
|
|
331
|
+
useCaseSummary: string;
|
|
332
|
+
/**
|
|
333
|
+
* An example of message content, i.e. a sample message.
|
|
334
|
+
*/
|
|
335
|
+
productionMessageSample: string;
|
|
336
|
+
/**
|
|
337
|
+
* Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL.
|
|
338
|
+
*/
|
|
339
|
+
optInImageUrls: Array<string>;
|
|
340
|
+
optInType: TollfreeVerificationOptInType;
|
|
341
|
+
/**
|
|
342
|
+
* Estimate monthly volume of messages from the Tollfree Number.
|
|
343
|
+
*/
|
|
344
|
+
messageVolume: string;
|
|
345
|
+
/**
|
|
346
|
+
* Additional information to be provided for verification.
|
|
347
|
+
*/
|
|
348
|
+
additionalInformation: string;
|
|
349
|
+
/**
|
|
350
|
+
* The SID of the Phone Number associated with the Tollfree Verification.
|
|
351
|
+
*/
|
|
352
|
+
tollfreePhoneNumberSid: string;
|
|
353
|
+
status: TollfreeVerificationStatus;
|
|
354
|
+
/**
|
|
355
|
+
* The absolute URL of the Tollfree Verification resource.
|
|
356
|
+
*/
|
|
357
|
+
url: string;
|
|
358
|
+
/**
|
|
359
|
+
* The rejection reason given when a Tollfree Verification has been rejected.
|
|
360
|
+
*/
|
|
361
|
+
rejectionReason: string;
|
|
362
|
+
/**
|
|
363
|
+
* The error code given when a Tollfree Verification has been rejected.
|
|
364
|
+
*/
|
|
365
|
+
errorCode: number;
|
|
366
|
+
/**
|
|
367
|
+
* The date and time when the ability to edit a rejected verification expires.
|
|
368
|
+
*/
|
|
369
|
+
editExpiration: Date;
|
|
370
|
+
/**
|
|
371
|
+
* The URLs of the documents associated with the Tollfree Verification resource.
|
|
372
|
+
*/
|
|
373
|
+
resourceLinks: any;
|
|
374
|
+
/**
|
|
375
|
+
* An optional external reference ID supplied by customer and echoed back on status retrieval.
|
|
376
|
+
*/
|
|
377
|
+
externalReferenceId: string;
|
|
378
|
+
private get _proxy();
|
|
379
|
+
/**
|
|
380
|
+
* Fetch a TollfreeVerificationInstance
|
|
381
|
+
*
|
|
382
|
+
* @param callback - Callback to handle processed record
|
|
383
|
+
*
|
|
384
|
+
* @returns Resolves to processed TollfreeVerificationInstance
|
|
385
|
+
*/
|
|
386
|
+
fetch(callback?: (error: Error | null, item?: TollfreeVerificationInstance) => any): Promise<TollfreeVerificationInstance>;
|
|
387
|
+
/**
|
|
388
|
+
* Update a TollfreeVerificationInstance
|
|
389
|
+
*
|
|
390
|
+
* @param callback - Callback to handle processed record
|
|
391
|
+
*
|
|
392
|
+
* @returns Resolves to processed TollfreeVerificationInstance
|
|
393
|
+
*/
|
|
394
|
+
update(callback?: (error: Error | null, item?: TollfreeVerificationInstance) => any): Promise<TollfreeVerificationInstance>;
|
|
395
|
+
/**
|
|
396
|
+
* Update a TollfreeVerificationInstance
|
|
397
|
+
*
|
|
398
|
+
* @param params - Parameter for request
|
|
399
|
+
* @param callback - Callback to handle processed record
|
|
400
|
+
*
|
|
401
|
+
* @returns Resolves to processed TollfreeVerificationInstance
|
|
402
|
+
*/
|
|
403
|
+
update(params: TollfreeVerificationContextUpdateOptions, callback?: (error: Error | null, item?: TollfreeVerificationInstance) => any): Promise<TollfreeVerificationInstance>;
|
|
404
|
+
/**
|
|
405
|
+
* Provide a user-friendly representation
|
|
406
|
+
*
|
|
407
|
+
* @returns Object
|
|
408
|
+
*/
|
|
409
|
+
toJSON(): {
|
|
410
|
+
sid: string;
|
|
411
|
+
accountSid: string;
|
|
412
|
+
customerProfileSid: string;
|
|
413
|
+
trustProductSid: string;
|
|
414
|
+
dateCreated: Date;
|
|
415
|
+
dateUpdated: Date;
|
|
416
|
+
regulatedItemSid: string;
|
|
417
|
+
businessName: string;
|
|
418
|
+
businessStreetAddress: string;
|
|
419
|
+
businessStreetAddress2: string;
|
|
420
|
+
businessCity: string;
|
|
421
|
+
businessStateProvinceRegion: string;
|
|
422
|
+
businessPostalCode: string;
|
|
423
|
+
businessCountry: string;
|
|
424
|
+
businessWebsite: string;
|
|
425
|
+
businessContactFirstName: string;
|
|
426
|
+
businessContactLastName: string;
|
|
427
|
+
businessContactEmail: string;
|
|
428
|
+
businessContactPhone: string;
|
|
429
|
+
notificationEmail: string;
|
|
430
|
+
useCaseCategories: string[];
|
|
431
|
+
useCaseSummary: string;
|
|
432
|
+
productionMessageSample: string;
|
|
433
|
+
optInImageUrls: string[];
|
|
434
|
+
optInType: TollfreeVerificationOptInType;
|
|
435
|
+
messageVolume: string;
|
|
436
|
+
additionalInformation: string;
|
|
437
|
+
tollfreePhoneNumberSid: string;
|
|
438
|
+
status: TollfreeVerificationStatus;
|
|
439
|
+
url: string;
|
|
440
|
+
rejectionReason: string;
|
|
441
|
+
errorCode: number;
|
|
442
|
+
editExpiration: Date;
|
|
443
|
+
resourceLinks: any;
|
|
444
|
+
externalReferenceId: string;
|
|
445
|
+
};
|
|
446
|
+
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
447
|
+
}
|
|
448
|
+
export interface TollfreeVerificationSolution {
|
|
449
|
+
}
|
|
450
|
+
export interface TollfreeVerificationListInstance {
|
|
451
|
+
_version: V1;
|
|
452
|
+
_solution: TollfreeVerificationSolution;
|
|
453
|
+
_uri: string;
|
|
454
|
+
(sid: string): TollfreeVerificationContext;
|
|
455
|
+
get(sid: string): TollfreeVerificationContext;
|
|
456
|
+
/**
|
|
457
|
+
* Create a TollfreeVerificationInstance
|
|
458
|
+
*
|
|
459
|
+
* @param params - Parameter for request
|
|
460
|
+
* @param callback - Callback to handle processed record
|
|
461
|
+
*
|
|
462
|
+
* @returns Resolves to processed TollfreeVerificationInstance
|
|
463
|
+
*/
|
|
464
|
+
create(params: TollfreeVerificationListInstanceCreateOptions, callback?: (error: Error | null, item?: TollfreeVerificationInstance) => any): Promise<TollfreeVerificationInstance>;
|
|
465
|
+
/**
|
|
466
|
+
* Streams TollfreeVerificationInstance records from the API.
|
|
467
|
+
*
|
|
468
|
+
* This operation lazily loads records as efficiently as possible until the limit
|
|
469
|
+
* is reached.
|
|
470
|
+
*
|
|
471
|
+
* The results are passed into the callback function, so this operation is memory
|
|
472
|
+
* efficient.
|
|
473
|
+
*
|
|
474
|
+
* If a function is passed as the first argument, it will be used as the callback
|
|
475
|
+
* function.
|
|
476
|
+
*
|
|
477
|
+
* @param { TollfreeVerificationListInstanceEachOptions } [params] - Options for request
|
|
478
|
+
* @param { function } [callback] - Function to process each record
|
|
479
|
+
*/
|
|
480
|
+
each(callback?: (item: TollfreeVerificationInstance, done: (err?: Error) => void) => void): void;
|
|
481
|
+
each(params: TollfreeVerificationListInstanceEachOptions, callback?: (item: TollfreeVerificationInstance, done: (err?: Error) => void) => void): void;
|
|
482
|
+
/**
|
|
483
|
+
* Retrieve a single target page of TollfreeVerificationInstance records from the API.
|
|
484
|
+
*
|
|
485
|
+
* The request is executed immediately.
|
|
486
|
+
*
|
|
487
|
+
* @param { string } [targetUrl] - API-generated URL for the requested results page
|
|
488
|
+
* @param { function } [callback] - Callback to handle list of records
|
|
489
|
+
*/
|
|
490
|
+
getPage(targetUrl: string, callback?: (error: Error | null, items: TollfreeVerificationPage) => any): Promise<TollfreeVerificationPage>;
|
|
491
|
+
/**
|
|
492
|
+
* Lists TollfreeVerificationInstance records from the API as a list.
|
|
493
|
+
*
|
|
494
|
+
* If a function is passed as the first argument, it will be used as the callback
|
|
495
|
+
* function.
|
|
496
|
+
*
|
|
497
|
+
* @param { TollfreeVerificationListInstanceOptions } [params] - Options for request
|
|
498
|
+
* @param { function } [callback] - Callback to handle list of records
|
|
499
|
+
*/
|
|
500
|
+
list(callback?: (error: Error | null, items: TollfreeVerificationInstance[]) => any): Promise<TollfreeVerificationInstance[]>;
|
|
501
|
+
list(params: TollfreeVerificationListInstanceOptions, callback?: (error: Error | null, items: TollfreeVerificationInstance[]) => any): Promise<TollfreeVerificationInstance[]>;
|
|
502
|
+
/**
|
|
503
|
+
* Retrieve a single page of TollfreeVerificationInstance records from the API.
|
|
504
|
+
*
|
|
505
|
+
* The request is executed immediately.
|
|
506
|
+
*
|
|
507
|
+
* If a function is passed as the first argument, it will be used as the callback
|
|
508
|
+
* function.
|
|
509
|
+
*
|
|
510
|
+
* @param { TollfreeVerificationListInstancePageOptions } [params] - Options for request
|
|
511
|
+
* @param { function } [callback] - Callback to handle list of records
|
|
512
|
+
*/
|
|
513
|
+
page(callback?: (error: Error | null, items: TollfreeVerificationPage) => any): Promise<TollfreeVerificationPage>;
|
|
514
|
+
page(params: TollfreeVerificationListInstancePageOptions, callback?: (error: Error | null, items: TollfreeVerificationPage) => any): Promise<TollfreeVerificationPage>;
|
|
515
|
+
/**
|
|
516
|
+
* Provide a user-friendly representation
|
|
517
|
+
*/
|
|
518
|
+
toJSON(): any;
|
|
519
|
+
[inspect.custom](_depth: any, options: InspectOptions): any;
|
|
520
|
+
}
|
|
521
|
+
export declare function TollfreeVerificationListInstance(version: V1): TollfreeVerificationListInstance;
|
|
522
|
+
export declare class TollfreeVerificationPage extends Page<V1, TollfreeVerificationPayload, TollfreeVerificationResource, TollfreeVerificationInstance> {
|
|
523
|
+
/**
|
|
524
|
+
* Initialize the TollfreeVerificationPage
|
|
525
|
+
*
|
|
526
|
+
* @param version - Version of the resource
|
|
527
|
+
* @param response - Response from the API
|
|
528
|
+
* @param solution - Path solution
|
|
529
|
+
*/
|
|
530
|
+
constructor(version: V1, response: Response<string>, solution: TollfreeVerificationSolution);
|
|
531
|
+
/**
|
|
532
|
+
* Build an instance of TollfreeVerificationInstance
|
|
533
|
+
*
|
|
534
|
+
* @param payload - Payload response from the API
|
|
535
|
+
*/
|
|
536
|
+
getInstance(payload: TollfreeVerificationResource): TollfreeVerificationInstance;
|
|
537
|
+
[inspect.custom](depth: any, options: InspectOptions): string;
|
|
538
|
+
}
|
|
539
|
+
export {};
|
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* This code was generated by
|
|
4
|
+
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
|
5
|
+
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
|
6
|
+
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
|
7
|
+
*
|
|
8
|
+
* Twilio - Messaging
|
|
9
|
+
* This is the public Twilio REST API.
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.TollfreeVerificationPage = exports.TollfreeVerificationListInstance = exports.TollfreeVerificationInstance = exports.TollfreeVerificationContextImpl = void 0;
|
|
20
|
+
const util_1 = require("util");
|
|
21
|
+
const Page_1 = __importDefault(require("../../../base/Page"));
|
|
22
|
+
const deserialize = require("../../../base/deserialize");
|
|
23
|
+
const serialize = require("../../../base/serialize");
|
|
24
|
+
const utility_1 = require("../../../base/utility");
|
|
25
|
+
class TollfreeVerificationContextImpl {
|
|
26
|
+
constructor(_version, sid) {
|
|
27
|
+
this._version = _version;
|
|
28
|
+
if (!(0, utility_1.isValidPathParam)(sid)) {
|
|
29
|
+
throw new Error("Parameter 'sid' is not valid.");
|
|
30
|
+
}
|
|
31
|
+
this._solution = { sid };
|
|
32
|
+
this._uri = `/Tollfree/Verifications/${sid}`;
|
|
33
|
+
}
|
|
34
|
+
fetch(callback) {
|
|
35
|
+
const instance = this;
|
|
36
|
+
let operationVersion = instance._version, operationPromise = operationVersion.fetch({
|
|
37
|
+
uri: instance._uri,
|
|
38
|
+
method: "get",
|
|
39
|
+
});
|
|
40
|
+
operationPromise = operationPromise.then((payload) => new TollfreeVerificationInstance(operationVersion, payload, instance._solution.sid));
|
|
41
|
+
operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
|
|
42
|
+
return operationPromise;
|
|
43
|
+
}
|
|
44
|
+
update(params, callback) {
|
|
45
|
+
if (params instanceof Function) {
|
|
46
|
+
callback = params;
|
|
47
|
+
params = {};
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
params = params || {};
|
|
51
|
+
}
|
|
52
|
+
let data = {};
|
|
53
|
+
if (params["businessName"] !== undefined)
|
|
54
|
+
data["BusinessName"] = params["businessName"];
|
|
55
|
+
if (params["businessWebsite"] !== undefined)
|
|
56
|
+
data["BusinessWebsite"] = params["businessWebsite"];
|
|
57
|
+
if (params["notificationEmail"] !== undefined)
|
|
58
|
+
data["NotificationEmail"] = params["notificationEmail"];
|
|
59
|
+
if (params["useCaseCategories"] !== undefined)
|
|
60
|
+
data["UseCaseCategories"] = serialize.map(params["useCaseCategories"], (e) => e);
|
|
61
|
+
if (params["useCaseSummary"] !== undefined)
|
|
62
|
+
data["UseCaseSummary"] = params["useCaseSummary"];
|
|
63
|
+
if (params["productionMessageSample"] !== undefined)
|
|
64
|
+
data["ProductionMessageSample"] = params["productionMessageSample"];
|
|
65
|
+
if (params["optInImageUrls"] !== undefined)
|
|
66
|
+
data["OptInImageUrls"] = serialize.map(params["optInImageUrls"], (e) => e);
|
|
67
|
+
if (params["optInType"] !== undefined)
|
|
68
|
+
data["OptInType"] = params["optInType"];
|
|
69
|
+
if (params["messageVolume"] !== undefined)
|
|
70
|
+
data["MessageVolume"] = params["messageVolume"];
|
|
71
|
+
if (params["businessStreetAddress"] !== undefined)
|
|
72
|
+
data["BusinessStreetAddress"] = params["businessStreetAddress"];
|
|
73
|
+
if (params["businessStreetAddress2"] !== undefined)
|
|
74
|
+
data["BusinessStreetAddress2"] = params["businessStreetAddress2"];
|
|
75
|
+
if (params["businessCity"] !== undefined)
|
|
76
|
+
data["BusinessCity"] = params["businessCity"];
|
|
77
|
+
if (params["businessStateProvinceRegion"] !== undefined)
|
|
78
|
+
data["BusinessStateProvinceRegion"] =
|
|
79
|
+
params["businessStateProvinceRegion"];
|
|
80
|
+
if (params["businessPostalCode"] !== undefined)
|
|
81
|
+
data["BusinessPostalCode"] = params["businessPostalCode"];
|
|
82
|
+
if (params["businessCountry"] !== undefined)
|
|
83
|
+
data["BusinessCountry"] = params["businessCountry"];
|
|
84
|
+
if (params["additionalInformation"] !== undefined)
|
|
85
|
+
data["AdditionalInformation"] = params["additionalInformation"];
|
|
86
|
+
if (params["businessContactFirstName"] !== undefined)
|
|
87
|
+
data["BusinessContactFirstName"] = params["businessContactFirstName"];
|
|
88
|
+
if (params["businessContactLastName"] !== undefined)
|
|
89
|
+
data["BusinessContactLastName"] = params["businessContactLastName"];
|
|
90
|
+
if (params["businessContactEmail"] !== undefined)
|
|
91
|
+
data["BusinessContactEmail"] = params["businessContactEmail"];
|
|
92
|
+
if (params["businessContactPhone"] !== undefined)
|
|
93
|
+
data["BusinessContactPhone"] = params["businessContactPhone"];
|
|
94
|
+
const headers = {};
|
|
95
|
+
headers["Content-Type"] = "application/x-www-form-urlencoded";
|
|
96
|
+
const instance = this;
|
|
97
|
+
let operationVersion = instance._version, operationPromise = operationVersion.update({
|
|
98
|
+
uri: instance._uri,
|
|
99
|
+
method: "post",
|
|
100
|
+
data,
|
|
101
|
+
headers,
|
|
102
|
+
});
|
|
103
|
+
operationPromise = operationPromise.then((payload) => new TollfreeVerificationInstance(operationVersion, payload, instance._solution.sid));
|
|
104
|
+
operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
|
|
105
|
+
return operationPromise;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Provide a user-friendly representation
|
|
109
|
+
*
|
|
110
|
+
* @returns Object
|
|
111
|
+
*/
|
|
112
|
+
toJSON() {
|
|
113
|
+
return this._solution;
|
|
114
|
+
}
|
|
115
|
+
[util_1.inspect.custom](_depth, options) {
|
|
116
|
+
return (0, util_1.inspect)(this.toJSON(), options);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
exports.TollfreeVerificationContextImpl = TollfreeVerificationContextImpl;
|
|
120
|
+
class TollfreeVerificationInstance {
|
|
121
|
+
constructor(_version, payload, sid) {
|
|
122
|
+
this._version = _version;
|
|
123
|
+
this.sid = payload.sid;
|
|
124
|
+
this.accountSid = payload.account_sid;
|
|
125
|
+
this.customerProfileSid = payload.customer_profile_sid;
|
|
126
|
+
this.trustProductSid = payload.trust_product_sid;
|
|
127
|
+
this.dateCreated = deserialize.iso8601DateTime(payload.date_created);
|
|
128
|
+
this.dateUpdated = deserialize.iso8601DateTime(payload.date_updated);
|
|
129
|
+
this.regulatedItemSid = payload.regulated_item_sid;
|
|
130
|
+
this.businessName = payload.business_name;
|
|
131
|
+
this.businessStreetAddress = payload.business_street_address;
|
|
132
|
+
this.businessStreetAddress2 = payload.business_street_address2;
|
|
133
|
+
this.businessCity = payload.business_city;
|
|
134
|
+
this.businessStateProvinceRegion = payload.business_state_province_region;
|
|
135
|
+
this.businessPostalCode = payload.business_postal_code;
|
|
136
|
+
this.businessCountry = payload.business_country;
|
|
137
|
+
this.businessWebsite = payload.business_website;
|
|
138
|
+
this.businessContactFirstName = payload.business_contact_first_name;
|
|
139
|
+
this.businessContactLastName = payload.business_contact_last_name;
|
|
140
|
+
this.businessContactEmail = payload.business_contact_email;
|
|
141
|
+
this.businessContactPhone = payload.business_contact_phone;
|
|
142
|
+
this.notificationEmail = payload.notification_email;
|
|
143
|
+
this.useCaseCategories = payload.use_case_categories;
|
|
144
|
+
this.useCaseSummary = payload.use_case_summary;
|
|
145
|
+
this.productionMessageSample = payload.production_message_sample;
|
|
146
|
+
this.optInImageUrls = payload.opt_in_image_urls;
|
|
147
|
+
this.optInType = payload.opt_in_type;
|
|
148
|
+
this.messageVolume = payload.message_volume;
|
|
149
|
+
this.additionalInformation = payload.additional_information;
|
|
150
|
+
this.tollfreePhoneNumberSid = payload.tollfree_phone_number_sid;
|
|
151
|
+
this.status = payload.status;
|
|
152
|
+
this.url = payload.url;
|
|
153
|
+
this.rejectionReason = payload.rejection_reason;
|
|
154
|
+
this.errorCode = deserialize.integer(payload.error_code);
|
|
155
|
+
this.editExpiration = deserialize.iso8601DateTime(payload.edit_expiration);
|
|
156
|
+
this.resourceLinks = payload.resource_links;
|
|
157
|
+
this.externalReferenceId = payload.external_reference_id;
|
|
158
|
+
this._solution = { sid: sid || this.sid };
|
|
159
|
+
}
|
|
160
|
+
get _proxy() {
|
|
161
|
+
this._context =
|
|
162
|
+
this._context ||
|
|
163
|
+
new TollfreeVerificationContextImpl(this._version, this._solution.sid);
|
|
164
|
+
return this._context;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Fetch a TollfreeVerificationInstance
|
|
168
|
+
*
|
|
169
|
+
* @param callback - Callback to handle processed record
|
|
170
|
+
*
|
|
171
|
+
* @returns Resolves to processed TollfreeVerificationInstance
|
|
172
|
+
*/
|
|
173
|
+
fetch(callback) {
|
|
174
|
+
return this._proxy.fetch(callback);
|
|
175
|
+
}
|
|
176
|
+
update(params, callback) {
|
|
177
|
+
return this._proxy.update(params, callback);
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Provide a user-friendly representation
|
|
181
|
+
*
|
|
182
|
+
* @returns Object
|
|
183
|
+
*/
|
|
184
|
+
toJSON() {
|
|
185
|
+
return {
|
|
186
|
+
sid: this.sid,
|
|
187
|
+
accountSid: this.accountSid,
|
|
188
|
+
customerProfileSid: this.customerProfileSid,
|
|
189
|
+
trustProductSid: this.trustProductSid,
|
|
190
|
+
dateCreated: this.dateCreated,
|
|
191
|
+
dateUpdated: this.dateUpdated,
|
|
192
|
+
regulatedItemSid: this.regulatedItemSid,
|
|
193
|
+
businessName: this.businessName,
|
|
194
|
+
businessStreetAddress: this.businessStreetAddress,
|
|
195
|
+
businessStreetAddress2: this.businessStreetAddress2,
|
|
196
|
+
businessCity: this.businessCity,
|
|
197
|
+
businessStateProvinceRegion: this.businessStateProvinceRegion,
|
|
198
|
+
businessPostalCode: this.businessPostalCode,
|
|
199
|
+
businessCountry: this.businessCountry,
|
|
200
|
+
businessWebsite: this.businessWebsite,
|
|
201
|
+
businessContactFirstName: this.businessContactFirstName,
|
|
202
|
+
businessContactLastName: this.businessContactLastName,
|
|
203
|
+
businessContactEmail: this.businessContactEmail,
|
|
204
|
+
businessContactPhone: this.businessContactPhone,
|
|
205
|
+
notificationEmail: this.notificationEmail,
|
|
206
|
+
useCaseCategories: this.useCaseCategories,
|
|
207
|
+
useCaseSummary: this.useCaseSummary,
|
|
208
|
+
productionMessageSample: this.productionMessageSample,
|
|
209
|
+
optInImageUrls: this.optInImageUrls,
|
|
210
|
+
optInType: this.optInType,
|
|
211
|
+
messageVolume: this.messageVolume,
|
|
212
|
+
additionalInformation: this.additionalInformation,
|
|
213
|
+
tollfreePhoneNumberSid: this.tollfreePhoneNumberSid,
|
|
214
|
+
status: this.status,
|
|
215
|
+
url: this.url,
|
|
216
|
+
rejectionReason: this.rejectionReason,
|
|
217
|
+
errorCode: this.errorCode,
|
|
218
|
+
editExpiration: this.editExpiration,
|
|
219
|
+
resourceLinks: this.resourceLinks,
|
|
220
|
+
externalReferenceId: this.externalReferenceId,
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
[util_1.inspect.custom](_depth, options) {
|
|
224
|
+
return (0, util_1.inspect)(this.toJSON(), options);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
exports.TollfreeVerificationInstance = TollfreeVerificationInstance;
|
|
228
|
+
function TollfreeVerificationListInstance(version) {
|
|
229
|
+
const instance = ((sid) => instance.get(sid));
|
|
230
|
+
instance.get = function get(sid) {
|
|
231
|
+
return new TollfreeVerificationContextImpl(version, sid);
|
|
232
|
+
};
|
|
233
|
+
instance._version = version;
|
|
234
|
+
instance._solution = {};
|
|
235
|
+
instance._uri = `/Tollfree/Verifications`;
|
|
236
|
+
instance.create = function create(params, callback) {
|
|
237
|
+
if (params === null || params === undefined) {
|
|
238
|
+
throw new Error('Required parameter "params" missing.');
|
|
239
|
+
}
|
|
240
|
+
if (params["businessName"] === null ||
|
|
241
|
+
params["businessName"] === undefined) {
|
|
242
|
+
throw new Error("Required parameter \"params['businessName']\" missing.");
|
|
243
|
+
}
|
|
244
|
+
if (params["businessWebsite"] === null ||
|
|
245
|
+
params["businessWebsite"] === undefined) {
|
|
246
|
+
throw new Error("Required parameter \"params['businessWebsite']\" missing.");
|
|
247
|
+
}
|
|
248
|
+
if (params["notificationEmail"] === null ||
|
|
249
|
+
params["notificationEmail"] === undefined) {
|
|
250
|
+
throw new Error("Required parameter \"params['notificationEmail']\" missing.");
|
|
251
|
+
}
|
|
252
|
+
if (params["useCaseCategories"] === null ||
|
|
253
|
+
params["useCaseCategories"] === undefined) {
|
|
254
|
+
throw new Error("Required parameter \"params['useCaseCategories']\" missing.");
|
|
255
|
+
}
|
|
256
|
+
if (params["useCaseSummary"] === null ||
|
|
257
|
+
params["useCaseSummary"] === undefined) {
|
|
258
|
+
throw new Error("Required parameter \"params['useCaseSummary']\" missing.");
|
|
259
|
+
}
|
|
260
|
+
if (params["productionMessageSample"] === null ||
|
|
261
|
+
params["productionMessageSample"] === undefined) {
|
|
262
|
+
throw new Error("Required parameter \"params['productionMessageSample']\" missing.");
|
|
263
|
+
}
|
|
264
|
+
if (params["optInImageUrls"] === null ||
|
|
265
|
+
params["optInImageUrls"] === undefined) {
|
|
266
|
+
throw new Error("Required parameter \"params['optInImageUrls']\" missing.");
|
|
267
|
+
}
|
|
268
|
+
if (params["optInType"] === null || params["optInType"] === undefined) {
|
|
269
|
+
throw new Error("Required parameter \"params['optInType']\" missing.");
|
|
270
|
+
}
|
|
271
|
+
if (params["messageVolume"] === null ||
|
|
272
|
+
params["messageVolume"] === undefined) {
|
|
273
|
+
throw new Error("Required parameter \"params['messageVolume']\" missing.");
|
|
274
|
+
}
|
|
275
|
+
if (params["tollfreePhoneNumberSid"] === null ||
|
|
276
|
+
params["tollfreePhoneNumberSid"] === undefined) {
|
|
277
|
+
throw new Error("Required parameter \"params['tollfreePhoneNumberSid']\" missing.");
|
|
278
|
+
}
|
|
279
|
+
let data = {};
|
|
280
|
+
data["BusinessName"] = params["businessName"];
|
|
281
|
+
data["BusinessWebsite"] = params["businessWebsite"];
|
|
282
|
+
data["NotificationEmail"] = params["notificationEmail"];
|
|
283
|
+
data["UseCaseCategories"] = serialize.map(params["useCaseCategories"], (e) => e);
|
|
284
|
+
data["UseCaseSummary"] = params["useCaseSummary"];
|
|
285
|
+
data["ProductionMessageSample"] = params["productionMessageSample"];
|
|
286
|
+
data["OptInImageUrls"] = serialize.map(params["optInImageUrls"], (e) => e);
|
|
287
|
+
data["OptInType"] = params["optInType"];
|
|
288
|
+
data["MessageVolume"] = params["messageVolume"];
|
|
289
|
+
data["TollfreePhoneNumberSid"] = params["tollfreePhoneNumberSid"];
|
|
290
|
+
if (params["customerProfileSid"] !== undefined)
|
|
291
|
+
data["CustomerProfileSid"] = params["customerProfileSid"];
|
|
292
|
+
if (params["businessStreetAddress"] !== undefined)
|
|
293
|
+
data["BusinessStreetAddress"] = params["businessStreetAddress"];
|
|
294
|
+
if (params["businessStreetAddress2"] !== undefined)
|
|
295
|
+
data["BusinessStreetAddress2"] = params["businessStreetAddress2"];
|
|
296
|
+
if (params["businessCity"] !== undefined)
|
|
297
|
+
data["BusinessCity"] = params["businessCity"];
|
|
298
|
+
if (params["businessStateProvinceRegion"] !== undefined)
|
|
299
|
+
data["BusinessStateProvinceRegion"] =
|
|
300
|
+
params["businessStateProvinceRegion"];
|
|
301
|
+
if (params["businessPostalCode"] !== undefined)
|
|
302
|
+
data["BusinessPostalCode"] = params["businessPostalCode"];
|
|
303
|
+
if (params["businessCountry"] !== undefined)
|
|
304
|
+
data["BusinessCountry"] = params["businessCountry"];
|
|
305
|
+
if (params["additionalInformation"] !== undefined)
|
|
306
|
+
data["AdditionalInformation"] = params["additionalInformation"];
|
|
307
|
+
if (params["businessContactFirstName"] !== undefined)
|
|
308
|
+
data["BusinessContactFirstName"] = params["businessContactFirstName"];
|
|
309
|
+
if (params["businessContactLastName"] !== undefined)
|
|
310
|
+
data["BusinessContactLastName"] = params["businessContactLastName"];
|
|
311
|
+
if (params["businessContactEmail"] !== undefined)
|
|
312
|
+
data["BusinessContactEmail"] = params["businessContactEmail"];
|
|
313
|
+
if (params["businessContactPhone"] !== undefined)
|
|
314
|
+
data["BusinessContactPhone"] = params["businessContactPhone"];
|
|
315
|
+
if (params["externalReferenceId"] !== undefined)
|
|
316
|
+
data["ExternalReferenceId"] = params["externalReferenceId"];
|
|
317
|
+
const headers = {};
|
|
318
|
+
headers["Content-Type"] = "application/x-www-form-urlencoded";
|
|
319
|
+
let operationVersion = version, operationPromise = operationVersion.create({
|
|
320
|
+
uri: instance._uri,
|
|
321
|
+
method: "post",
|
|
322
|
+
data,
|
|
323
|
+
headers,
|
|
324
|
+
});
|
|
325
|
+
operationPromise = operationPromise.then((payload) => new TollfreeVerificationInstance(operationVersion, payload));
|
|
326
|
+
operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
|
|
327
|
+
return operationPromise;
|
|
328
|
+
};
|
|
329
|
+
instance.page = function page(params, callback) {
|
|
330
|
+
if (params instanceof Function) {
|
|
331
|
+
callback = params;
|
|
332
|
+
params = {};
|
|
333
|
+
}
|
|
334
|
+
else {
|
|
335
|
+
params = params || {};
|
|
336
|
+
}
|
|
337
|
+
let data = {};
|
|
338
|
+
if (params["tollfreePhoneNumberSid"] !== undefined)
|
|
339
|
+
data["TollfreePhoneNumberSid"] = params["tollfreePhoneNumberSid"];
|
|
340
|
+
if (params["status"] !== undefined)
|
|
341
|
+
data["Status"] = params["status"];
|
|
342
|
+
if (params["pageSize"] !== undefined)
|
|
343
|
+
data["PageSize"] = params["pageSize"];
|
|
344
|
+
if (params.pageNumber !== undefined)
|
|
345
|
+
data["Page"] = params.pageNumber;
|
|
346
|
+
if (params.pageToken !== undefined)
|
|
347
|
+
data["PageToken"] = params.pageToken;
|
|
348
|
+
const headers = {};
|
|
349
|
+
let operationVersion = version, operationPromise = operationVersion.page({
|
|
350
|
+
uri: instance._uri,
|
|
351
|
+
method: "get",
|
|
352
|
+
params: data,
|
|
353
|
+
headers,
|
|
354
|
+
});
|
|
355
|
+
operationPromise = operationPromise.then((payload) => new TollfreeVerificationPage(operationVersion, payload, instance._solution));
|
|
356
|
+
operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
|
|
357
|
+
return operationPromise;
|
|
358
|
+
};
|
|
359
|
+
instance.each = instance._version.each;
|
|
360
|
+
instance.list = instance._version.list;
|
|
361
|
+
instance.getPage = function getPage(targetUrl, callback) {
|
|
362
|
+
const operationPromise = instance._version._domain.twilio.request({
|
|
363
|
+
method: "get",
|
|
364
|
+
uri: targetUrl,
|
|
365
|
+
});
|
|
366
|
+
let pagePromise = operationPromise.then((payload) => new TollfreeVerificationPage(instance._version, payload, instance._solution));
|
|
367
|
+
pagePromise = instance._version.setPromiseCallback(pagePromise, callback);
|
|
368
|
+
return pagePromise;
|
|
369
|
+
};
|
|
370
|
+
instance.toJSON = function toJSON() {
|
|
371
|
+
return instance._solution;
|
|
372
|
+
};
|
|
373
|
+
instance[util_1.inspect.custom] = function inspectImpl(_depth, options) {
|
|
374
|
+
return (0, util_1.inspect)(instance.toJSON(), options);
|
|
375
|
+
};
|
|
376
|
+
return instance;
|
|
377
|
+
}
|
|
378
|
+
exports.TollfreeVerificationListInstance = TollfreeVerificationListInstance;
|
|
379
|
+
class TollfreeVerificationPage extends Page_1.default {
|
|
380
|
+
/**
|
|
381
|
+
* Initialize the TollfreeVerificationPage
|
|
382
|
+
*
|
|
383
|
+
* @param version - Version of the resource
|
|
384
|
+
* @param response - Response from the API
|
|
385
|
+
* @param solution - Path solution
|
|
386
|
+
*/
|
|
387
|
+
constructor(version, response, solution) {
|
|
388
|
+
super(version, response, solution);
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* Build an instance of TollfreeVerificationInstance
|
|
392
|
+
*
|
|
393
|
+
* @param payload - Payload response from the API
|
|
394
|
+
*/
|
|
395
|
+
getInstance(payload) {
|
|
396
|
+
return new TollfreeVerificationInstance(this._version, payload);
|
|
397
|
+
}
|
|
398
|
+
[util_1.inspect.custom](depth, options) {
|
|
399
|
+
return (0, util_1.inspect)(this.toJSON(), options);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
exports.TollfreeVerificationPage = TollfreeVerificationPage;
|
|
@@ -15,6 +15,8 @@ export interface DeviceContextUpdateOptions {
|
|
|
15
15
|
targetApp?: string;
|
|
16
16
|
/** A Boolean flag specifying whether to enable application logging. Logs will be enabled or extended for 24 hours. */
|
|
17
17
|
loggingEnabled?: boolean;
|
|
18
|
+
/** Set to true to restart the App running on the Device. */
|
|
19
|
+
restartApp?: boolean;
|
|
18
20
|
}
|
|
19
21
|
/**
|
|
20
22
|
* Options to pass to each
|
|
@@ -70,6 +70,8 @@ class DeviceContextImpl {
|
|
|
70
70
|
data["TargetApp"] = params["targetApp"];
|
|
71
71
|
if (params["loggingEnabled"] !== undefined)
|
|
72
72
|
data["LoggingEnabled"] = serialize.bool(params["loggingEnabled"]);
|
|
73
|
+
if (params["restartApp"] !== undefined)
|
|
74
|
+
data["RestartApp"] = serialize.bool(params["restartApp"]);
|
|
73
75
|
const headers = {};
|
|
74
76
|
headers["Content-Type"] = "application/x-www-form-urlencoded";
|
|
75
77
|
const instance = this;
|
|
@@ -15,6 +15,8 @@ export interface AuthorizationDocumentListInstanceCreateOptions {
|
|
|
15
15
|
email: string;
|
|
16
16
|
/** The contact phone number of the person authorized to sign the Authorization Document. */
|
|
17
17
|
contactPhoneNumber: string;
|
|
18
|
+
/** A list of HostedNumberOrder sids that this AuthorizationDocument will authorize for hosting phone number capabilities on Twilio\\\'s platform. */
|
|
19
|
+
hostedNumberOrderSids: Array<string>;
|
|
18
20
|
/** The title of the person authorized to sign the Authorization Document for this phone number. */
|
|
19
21
|
contactTitle?: string;
|
|
20
22
|
/** Email recipients who will be informed when an Authorization Document has been sent and signed. */
|
|
@@ -161,10 +161,15 @@ function AuthorizationDocumentListInstance(version) {
|
|
|
161
161
|
params["contactPhoneNumber"] === undefined) {
|
|
162
162
|
throw new Error("Required parameter \"params['contactPhoneNumber']\" missing.");
|
|
163
163
|
}
|
|
164
|
+
if (params["hostedNumberOrderSids"] === null ||
|
|
165
|
+
params["hostedNumberOrderSids"] === undefined) {
|
|
166
|
+
throw new Error("Required parameter \"params['hostedNumberOrderSids']\" missing.");
|
|
167
|
+
}
|
|
164
168
|
let data = {};
|
|
165
169
|
data["AddressSid"] = params["addressSid"];
|
|
166
170
|
data["Email"] = params["email"];
|
|
167
171
|
data["ContactPhoneNumber"] = params["contactPhoneNumber"];
|
|
172
|
+
data["HostedNumberOrderSids"] = serialize.map(params["hostedNumberOrderSids"], (e) => e);
|
|
168
173
|
if (params["contactTitle"] !== undefined)
|
|
169
174
|
data["ContactTitle"] = params["contactTitle"];
|
|
170
175
|
if (params["ccEmails"] !== undefined)
|
|
@@ -161,7 +161,6 @@ interface HostedNumberOrderResource {
|
|
|
161
161
|
status: HostedNumberOrderStatus;
|
|
162
162
|
failure_reason: string;
|
|
163
163
|
date_created: Date;
|
|
164
|
-
sms_capability: boolean;
|
|
165
164
|
date_updated: Date;
|
|
166
165
|
email: string;
|
|
167
166
|
cc_emails: Array<string>;
|
|
@@ -214,10 +213,6 @@ export declare class HostedNumberOrderInstance {
|
|
|
214
213
|
* The date this resource was created, given as [GMT RFC 2822](http://www.ietf.org/rfc/rfc2822.txt) format.
|
|
215
214
|
*/
|
|
216
215
|
dateCreated: Date;
|
|
217
|
-
/**
|
|
218
|
-
* Whether the SMS capability will be hosted on our platform. Can be `true` of `false`.
|
|
219
|
-
*/
|
|
220
|
-
smsCapability: boolean;
|
|
221
216
|
/**
|
|
222
217
|
* The date that this resource was updated, given as [GMT RFC 2822](http://www.ietf.org/rfc/rfc2822.txt) format.
|
|
223
218
|
*/
|
|
@@ -284,7 +279,6 @@ export declare class HostedNumberOrderInstance {
|
|
|
284
279
|
status: HostedNumberOrderStatus;
|
|
285
280
|
failureReason: string;
|
|
286
281
|
dateCreated: Date;
|
|
287
|
-
smsCapability: boolean;
|
|
288
282
|
dateUpdated: Date;
|
|
289
283
|
email: string;
|
|
290
284
|
ccEmails: string[];
|
|
@@ -77,7 +77,6 @@ class HostedNumberOrderInstance {
|
|
|
77
77
|
this.status = payload.status;
|
|
78
78
|
this.failureReason = payload.failure_reason;
|
|
79
79
|
this.dateCreated = deserialize.iso8601DateTime(payload.date_created);
|
|
80
|
-
this.smsCapability = payload.sms_capability;
|
|
81
80
|
this.dateUpdated = deserialize.iso8601DateTime(payload.date_updated);
|
|
82
81
|
this.email = payload.email;
|
|
83
82
|
this.ccEmails = payload.cc_emails;
|
|
@@ -132,7 +131,6 @@ class HostedNumberOrderInstance {
|
|
|
132
131
|
status: this.status,
|
|
133
132
|
failureReason: this.failureReason,
|
|
134
133
|
dateCreated: this.dateCreated,
|
|
135
|
-
smsCapability: this.smsCapability,
|
|
136
134
|
dateUpdated: this.dateUpdated,
|
|
137
135
|
email: this.email,
|
|
138
136
|
ccEmails: this.ccEmails,
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { inspect, InspectOptions } from "util";
|
|
3
3
|
import V2 from "../../V2";
|
|
4
4
|
export type VerificationChannel = "sms" | "call" | "email" | "whatsapp" | "sna";
|
|
5
|
+
export type VerificationRiskCheck = "enable" | "disable";
|
|
5
6
|
export type VerificationStatus = "canceled" | "approved";
|
|
6
7
|
/**
|
|
7
8
|
* Options to pass to update a VerificationInstance
|
|
@@ -44,6 +45,8 @@ export interface VerificationListInstanceCreateOptions {
|
|
|
44
45
|
templateCustomSubstitutions?: string;
|
|
45
46
|
/** Strongly encouraged if using the auto channel. The IP address of the client\\\'s device. If provided, it has to be a valid IPv4 or IPv6 address. */
|
|
46
47
|
deviceIp?: string;
|
|
48
|
+
/** */
|
|
49
|
+
riskCheck?: VerificationRiskCheck;
|
|
47
50
|
}
|
|
48
51
|
export interface VerificationContext {
|
|
49
52
|
/**
|
|
@@ -194,6 +194,8 @@ function VerificationListInstance(version, serviceSid) {
|
|
|
194
194
|
params["templateCustomSubstitutions"];
|
|
195
195
|
if (params["deviceIp"] !== undefined)
|
|
196
196
|
data["DeviceIp"] = params["deviceIp"];
|
|
197
|
+
if (params["riskCheck"] !== undefined)
|
|
198
|
+
data["RiskCheck"] = params["riskCheck"];
|
|
197
199
|
const headers = {};
|
|
198
200
|
headers["Content-Type"] = "application/x-www-form-urlencoded";
|
|
199
201
|
let operationVersion = version, operationPromise = operationVersion.create({
|
|
@@ -200,8 +200,8 @@ declare namespace VoiceResponse {
|
|
|
200
200
|
type RecordRecordingEvent = "in-progress" | "completed" | "absent";
|
|
201
201
|
type RecordTrim = "trim-silence" | "do-not-trim";
|
|
202
202
|
type RejectReason = "rejected" | "busy";
|
|
203
|
-
type SayLanguage = "arb" | "ca-ES" | "cy-GB" | "da-DK" | "de-
|
|
204
|
-
type SayVoice = "man" | "woman" | "alice" | "Polly.Aditi" | "Polly.Amy" | "Polly.Astrid" | "Polly.Bianca" | "Polly.Brian" | "Polly.Camila" | "Polly.Carla" | "Polly.Carmen" | "Polly.Celine" | "Polly.Chantal" | "Polly.Conchita" | "Polly.Cristiano" | "Polly.Dora" | "Polly.Emma" | "Polly.Enrique" | "Polly.Ewa" | "Polly.Filiz" | "Polly.Geraint" | "Polly.Giorgio" | "Polly.Gwyneth" | "Polly.Hans" | "Polly.Ines" | "Polly.Ivy" | "Polly.Jacek" | "Polly.Jan" | "Polly.Joanna" | "Polly.Joey" | "Polly.Justin" | "Polly.Karl" | "Polly.Kendra" | "Polly.Kimberly" | "Polly.Lea" | "Polly.Liv" | "Polly.Lotte" | "Polly.Lucia" | "Polly.Lupe" | "Polly.Mads" | "Polly.Maja" | "Polly.Marlene" | "Polly.Mathieu" | "Polly.Matthew" | "Polly.Maxim" | "Polly.Mia" | "Polly.Miguel" | "Polly.Mizuki" | "Polly.Naja" | "Polly.Nicole" | "Polly.Penelope" | "Polly.Raveena" | "Polly.Ricardo" | "Polly.Ruben" | "Polly.Russell" | "Polly.Salli" | "Polly.Seoyeon" | "Polly.Takumi" | "Polly.Tatyana" | "Polly.Vicki" | "Polly.Vitoria" | "Polly.Zeina" | "Polly.Zhiyu" | "Polly.Adriano-Neural" | "Polly.Amy-Neural" | "Polly.Andres-Neural" | "Polly.Aria-Neural" | "Polly.Arlet-Neural" | "Polly.Arthur-Neural" | "Polly.Ayanda-Neural" | "Polly.Bianca-Neural" | "Polly.Brian-Neural" | "Polly.Camila-Neural" | "Polly.Daniel-Neural" | "Polly.Elin-Neural" | "Polly.Emma-Neural" | "Polly.Gabrielle-Neural" | "Polly.Hala-Neural" | "Polly.Hannah-Neural" | "Polly.Hiujin-Neural" | "Polly.Ida-Neural" | "Polly.Ines-Neural" | "Polly.Ivy-Neural" | "Polly.Joanna-Neural" | "Polly.Joey-Neural" | "Polly.Justin-Neural" | "Polly.Kajal-Neural" | "Polly.Kazuha-Neural" | "Polly.Kendra-Neural" | "Polly.Kevin-Neural" | "Polly.Kimberly-Neural" | "Polly.Laura-Neural" | "Polly.Lea-Neural" | "Polly.Liam-Neural" | "Polly.Lucia-Neural" | "Polly.Lupe-Neural" | "Polly.Matthew-Neural" | "Polly.Mia-Neural" | "Polly.Ola-Neural" | "Polly.Olivia-Neural" | "Polly.Pedro-Neural" | "Polly.Remi-Neural" | "Polly.Ruth-Neural" | "Polly.Salli-Neural" | "Polly.Seoyeon-Neural" | "Polly.Sergio-Neural" | "Polly.Stephen-Neural" | "Polly.Suvi-Neural" | "Polly.Takumi-Neural" | "Polly.Tomoko-Neural" | "Polly.Thiago-Neural" | "Polly.Vicki-Neural" | "Polly.Vitoria-Neural" | "Polly.Zhiyu-Neural";
|
|
203
|
+
type SayLanguage = "af-ZA" | "ar-XA" | "arb" | "bg-BG" | "bn-IN" | "ca-ES" | "cmn-CN" | "cmn-TW" | "cs-CZ" | "cy-GB" | "da-DK" | "de-AT" | "de-DE" | "el-GR" | "en-AU" | "en-CA" | "en-GB" | "en-GB-WLS" | "en-IN" | "en-NZ" | "en-US" | "en-ZA" | "es-ES" | "es-MX" | "es-US" | "fi-FI" | "fil-PH" | "fr-CA" | "fr-FR" | "gu-IN" | "hi-IN" | "hu-HU" | "id-ID" | "is-IS" | "it-IT" | "ja-JP" | "kn-IN" | "ko-KR" | "lv-LV" | "ml-IN" | "mr-IN" | "ms-MY" | "nb-NO" | "nl-BE" | "nl-NL" | "pa-IN" | "pl-PL" | "pt-BR" | "pt-PT" | "ro-RO" | "ru-RU" | "sk-SK" | "sr-RS" | "sv-SE" | "ta-IN" | "te-IN" | "th-TH" | "tr-TR" | "uk-UA" | "vi-VN" | "yue-HK" | "zh-CN" | "zh-HK" | "zh-TW";
|
|
204
|
+
type SayVoice = "man" | "woman" | "alice" | "Google.af-ZA-Standard-A" | "Google.ar-XA-Standard-A" | "Google.ar-XA-Standard-B" | "Google.ar-XA-Standard-C" | "Google.ar-XA-Standard-D" | "Google.ar-XA-Wavenet-A" | "Google.ar-XA-Wavenet-B" | "Google.ar-XA-Wavenet-C" | "Google.ar-XA-Wavenet-D" | "Google.bg-BG-Standard-A" | "Google.ca-ES-Standard-A" | "Google.cmn-CN-Standard-A" | "Google.cmn-CN-Standard-B" | "Google.cmn-CN-Standard-C" | "Google.cmn-CN-Standard-D" | "Google.cmn-CN-Wavenet-A" | "Google.cmn-CN-Wavenet-B" | "Google.cmn-CN-Wavenet-C" | "Google.cmn-CN-Wavenet-D" | "Google.cmn-TW-Standard-A" | "Google.cmn-TW-Standard-B" | "Google.cmn-TW-Standard-C" | "Google.cmn-TW-Wavenet-A" | "Google.cmn-TW-Wavenet-B" | "Google.cmn-TW-Wavenet-C" | "Google.cs-CZ-Standard-A" | "Google.cs-CZ-Wavenet-A" | "Google.da-DK-Neural2-D" | "Google.da-DK-Neural2-F" | "Google.da-DK-Standard-A" | "Google.da-DK-Standard-C" | "Google.da-DK-Standard-D" | "Google.da-DK-Standard-E" | "Google.da-DK-Wavenet-A" | "Google.da-DK-Wavenet-C" | "Google.da-DK-Wavenet-D" | "Google.da-DK-Wavenet-E" | "Google.de-DE-Neural2-B" | "Google.de-DE-Neural2-C" | "Google.de-DE-Neural2-D" | "Google.de-DE-Neural2-F" | "Google.de-DE-Standard-A" | "Google.de-DE-Standard-B" | "Google.de-DE-Standard-C" | "Google.de-DE-Standard-D" | "Google.de-DE-Standard-E" | "Google.de-DE-Standard-F" | "Google.de-DE-Wavenet-A" | "Google.de-DE-Wavenet-B" | "Google.de-DE-Wavenet-C" | "Google.de-DE-Wavenet-D" | "Google.de-DE-Wavenet-E" | "Google.de-DE-Wavenet-F" | "Google.el-GR-Standard-A" | "Google.el-GR-Wavenet-A" | "Google.en-AU-Neural2-A" | "Google.en-AU-Neural2-B" | "Google.en-AU-Neural2-C" | "Google.en-AU-Neural2-D" | "Google.en-AU-Standard-A" | "Google.en-AU-Standard-B" | "Google.en-AU-Standard-C" | "Google.en-AU-Standard-D" | "Google.en-AU-Wavenet-A" | "Google.en-AU-Wavenet-B" | "Google.en-AU-Wavenet-C" | "Google.en-AU-Wavenet-D" | "Google.en-GB-Neural2-A" | "Google.en-GB-Neural2-B" | "Google.en-GB-Neural2-C" | "Google.en-GB-Neural2-D" | "Google.en-GB-Neural2-F" | "Google.en-GB-Standard-A" | "Google.en-GB-Standard-B" | "Google.en-GB-Standard-C" | "Google.en-GB-Standard-D" | "Google.en-GB-Standard-F" | "Google.en-GB-Wavenet-A" | "Google.en-GB-Wavenet-B" | "Google.en-GB-Wavenet-C" | "Google.en-GB-Wavenet-D" | "Google.en-GB-Wavenet-F" | "Google.en-IN-Standard-A" | "Google.en-IN-Standard-B" | "Google.en-IN-Standard-C" | "Google.en-IN-Standard-D" | "Google.en-IN-Wavenet-A" | "Google.en-IN-Wavenet-B" | "Google.en-IN-Wavenet-C" | "Google.en-IN-Wavenet-D" | "Google.en-US-Neural2-A" | "Google.en-US-Neural2-C" | "Google.en-US-Neural2-D" | "Google.en-US-Neural2-E" | "Google.en-US-Neural2-F" | "Google.en-US-Neural2-G" | "Google.en-US-Neural2-H" | "Google.en-US-Neural2-I" | "Google.en-US-Neural2-J" | "Google.en-US-Standard-A" | "Google.en-US-Standard-B" | "Google.en-US-Standard-C" | "Google.en-US-Standard-D" | "Google.en-US-Standard-E" | "Google.en-US-Standard-F" | "Google.en-US-Standard-G" | "Google.en-US-Standard-H" | "Google.en-US-Standard-I" | "Google.en-US-Standard-J" | "Google.en-US-Wavenet-A" | "Google.en-US-Wavenet-B" | "Google.en-US-Wavenet-C" | "Google.en-US-Wavenet-D" | "Google.en-US-Wavenet-E" | "Google.en-US-Wavenet-F" | "Google.en-US-Wavenet-G" | "Google.en-US-Wavenet-H" | "Google.en-US-Wavenet-I" | "Google.en-US-Wavenet-J" | "Google.es-ES-Neural2-A" | "Google.es-ES-Neural2-B" | "Google.es-ES-Neural2-C" | "Google.es-ES-Neural2-D" | "Google.es-ES-Neural2-E" | "Google.es-ES-Neural2-F" | "Google.es-ES-Standard-B" | "Google.es-ES-Standard-C" | "Google.es-ES-Standard-D" | "Google.es-ES-Wavenet-B" | "Google.es-ES-Wavenet-C" | "Google.es-ES-Wavenet-D" | "Google.es-US-Neural2-A" | "Google.es-US-Neural2-B" | "Google.es-US-Neural2-C" | "Google.es-US-Standard-A" | "Google.es-US-Standard-B" | "Google.es-US-Standard-C" | "Google.es-US-Wavenet-A" | "Google.es-US-Wavenet-B" | "Google.es-US-Wavenet-C" | "Google.eu-ES-Standard-A" | "Google.fi-FI-Standard-A" | "Google.fi-FI-Wavenet-A" | "Google.fil-PH-Standard-A" | "Google.fil-PH-Standard-B" | "Google.fil-PH-Standard-C" | "Google.fil-PH-Standard-D" | "Google.fil-PH-Wavenet-A" | "Google.fil-PH-Wavenet-B" | "Google.fil-PH-Wavenet-C" | "Google.fil-PH-Wavenet-D" | "Google.fil-ph-Neural2-A" | "Google.fil-ph-Neural2-D" | "Google.fr-CA-Neural2-A" | "Google.fr-CA-Neural2-B" | "Google.fr-CA-Neural2-C" | "Google.fr-CA-Neural2-D" | "Google.fr-CA-Standard-A" | "Google.fr-CA-Standard-B" | "Google.fr-CA-Standard-C" | "Google.fr-CA-Standard-D" | "Google.fr-CA-Wavenet-A" | "Google.fr-CA-Wavenet-B" | "Google.fr-CA-Wavenet-C" | "Google.fr-CA-Wavenet-D" | "Google.fr-FR-Neural2-A" | "Google.fr-FR-Neural2-B" | "Google.fr-FR-Neural2-C" | "Google.fr-FR-Neural2-D" | "Google.fr-FR-Neural2-E" | "Google.fr-FR-Standard-A" | "Google.fr-FR-Standard-B" | "Google.fr-FR-Standard-C" | "Google.fr-FR-Standard-D" | "Google.fr-FR-Standard-E" | "Google.fr-FR-Wavenet-A" | "Google.fr-FR-Wavenet-B" | "Google.fr-FR-Wavenet-C" | "Google.fr-FR-Wavenet-D" | "Google.fr-FR-Wavenet-E" | "Google.gl-ES-Standard-A" | "Google.he-IL-Standard-A" | "Google.he-IL-Standard-B" | "Google.he-IL-Standard-C" | "Google.he-IL-Standard-D" | "Google.he-IL-Wavenet-A" | "Google.he-IL-Wavenet-B" | "Google.he-IL-Wavenet-C" | "Google.he-IL-Wavenet-D" | "Google.hi-IN-Neural2-A" | "Google.hi-IN-Neural2-B" | "Google.hi-IN-Neural2-C" | "Google.hi-IN-Neural2-D" | "Google.hi-IN-Standard-A" | "Google.hi-IN-Standard-B" | "Google.hi-IN-Standard-C" | "Google.hi-IN-Standard-D" | "Google.hi-IN-Wavenet-A" | "Google.hi-IN-Wavenet-B" | "Google.hi-IN-Wavenet-C" | "Google.hi-IN-Wavenet-D" | "Google.hu-HU-Standard-A" | "Google.hu-HU-Wavenet-A" | "Google.id-ID-Standard-A" | "Google.id-ID-Standard-B" | "Google.id-ID-Standard-C" | "Google.id-ID-Standard-D" | "Google.id-ID-Wavenet-A" | "Google.id-ID-Wavenet-B" | "Google.id-ID-Wavenet-C" | "Google.id-ID-Wavenet-D" | "Google.is-IS-Standard-A" | "Google.it-IT-Neural2-A" | "Google.it-IT-Neural2-C" | "Google.it-IT-Standard-B" | "Google.it-IT-Standard-C" | "Google.it-IT-Standard-D" | "Google.it-IT-Wavenet-B" | "Google.it-IT-Wavenet-C" | "Google.it-IT-Wavenet-D" | "Google.ja-JP-Neural2-B" | "Google.ja-JP-Neural2-C" | "Google.ja-JP-Neural2-D" | "Google.ja-JP-Standard-A" | "Google.ja-JP-Standard-B" | "Google.ja-JP-Standard-C" | "Google.ja-JP-Standard-D" | "Google.ja-JP-Wavenet-A" | "Google.ja-JP-Wavenet-B" | "Google.ja-JP-Wavenet-C" | "Google.ja-JP-Wavenet-D" | "Google.ko-KR-Neural2-A" | "Google.ko-KR-Neural2-B" | "Google.ko-KR-Neural2-C" | "Google.ko-KR-Standard-A" | "Google.ko-KR-Standard-B" | "Google.ko-KR-Standard-C" | "Google.ko-KR-Standard-D" | "Google.ko-KR-Wavenet-A" | "Google.ko-KR-Wavenet-B" | "Google.ko-KR-Wavenet-C" | "Google.ko-KR-Wavenet-D" | "Google.lt-LT-Standard-A" | "Google.lv-LV-Standard-A" | "Google.ml-IN-Wavenet-C" | "Google.ml-IN-Wavenet-D" | "Google.mr-IN-Standard-A" | "Google.mr-IN-Standard-B" | "Google.mr-IN-Standard-C" | "Google.mr-IN-Wavenet-A" | "Google.mr-IN-Wavenet-B" | "Google.mr-IN-Wavenet-C" | "Google.ms-MY-Standard-A" | "Google.ms-MY-Standard-B" | "Google.ms-MY-Standard-C" | "Google.ms-MY-Standard-D" | "Google.ms-MY-Wavenet-A" | "Google.ms-MY-Wavenet-B" | "Google.ms-MY-Wavenet-C" | "Google.ms-MY-Wavenet-D" | "Google.nb-NO-Standard-A" | "Google.nb-NO-Standard-B" | "Google.nb-NO-Standard-C" | "Google.nb-NO-Standard-D" | "Google.nb-NO-Standard-E" | "Google.nb-NO-Wavenet-A" | "Google.nb-NO-Wavenet-B" | "Google.nb-NO-Wavenet-C" | "Google.nb-NO-Wavenet-D" | "Google.nb-NO-Wavenet-E" | "Google.nl-BE-Standard-A" | "Google.nl-BE-Standard-B" | "Google.nl-BE-Wavenet-A" | "Google.nl-BE-Wavenet-B" | "Google.nl-NL-Standard-A" | "Google.nl-NL-Standard-B" | "Google.nl-NL-Standard-C" | "Google.nl-NL-Standard-D" | "Google.nl-NL-Standard-E" | "Google.nl-NL-Wavenet-A" | "Google.nl-NL-Wavenet-B" | "Google.nl-NL-Wavenet-C" | "Google.nl-NL-Wavenet-D" | "Google.nl-NL-Wavenet-E" | "Google.pa-IN-Standard-A" | "Google.pa-IN-Standard-B" | "Google.pa-IN-Standard-C" | "Google.pa-IN-Standard-D" | "Google.pa-IN-Wavenet-A" | "Google.pa-IN-Wavenet-B" | "Google.pa-IN-Wavenet-C" | "Google.pa-IN-Wavenet-D" | "Google.pl-PL-Standard-A" | "Google.pl-PL-Standard-B" | "Google.pl-PL-Standard-C" | "Google.pl-PL-Standard-D" | "Google.pl-PL-Standard-E" | "Google.pl-PL-Wavenet-A" | "Google.pl-PL-Wavenet-B" | "Google.pl-PL-Wavenet-C" | "Google.pl-PL-Wavenet-D" | "Google.pl-PL-Wavenet-E" | "Google.pt-BR-Neural2-A" | "Google.pt-BR-Neural2-B" | "Google.pt-BR-Neural2-C" | "Google.pt-BR-Standard-A" | "Google.pt-BR-Standard-B" | "Google.pt-BR-Standard-C" | "Google.pt-BR-Wavenet-A" | "Google.pt-BR-Wavenet-B" | "Google.pt-BR-Wavenet-C" | "Google.pt-PT-Standard-A" | "Google.pt-PT-Standard-B" | "Google.pt-PT-Standard-C" | "Google.pt-PT-Standard-D" | "Google.pt-PT-Wavenet-A" | "Google.pt-PT-Wavenet-B" | "Google.pt-PT-Wavenet-C" | "Google.pt-PT-Wavenet-D" | "Google.ro-RO-Standard-A" | "Google.ro-RO-Wavenet-A" | "Google.ru-RU-Standard-A" | "Google.ru-RU-Standard-B" | "Google.ru-RU-Standard-C" | "Google.ru-RU-Standard-D" | "Google.ru-RU-Standard-E" | "Google.ru-RU-Wavenet-A" | "Google.ru-RU-Wavenet-B" | "Google.ru-RU-Wavenet-C" | "Google.ru-RU-Wavenet-D" | "Google.ru-RU-Wavenet-E" | "Google.sk-SK-Standard-A" | "Google.sk-SK-Wavenet-A" | "Google.sr-RS-Standard-A" | "Google.sv-SE-Standard-A" | "Google.sv-SE-Standard-B" | "Google.sv-SE-Standard-C" | "Google.sv-SE-Standard-D" | "Google.sv-SE-Standard-E" | "Google.sv-SE-Wavenet-A" | "Google.sv-SE-Wavenet-B" | "Google.sv-SE-Wavenet-C" | "Google.sv-SE-Wavenet-D" | "Google.sv-SE-Wavenet-E" | "Google.ta-IN-Standard-A" | "Google.ta-IN-Standard-B" | "Google.ta-IN-Standard-C" | "Google.ta-IN-Standard-D" | "Google.ta-IN-Wavenet-A" | "Google.ta-IN-Wavenet-B" | "Google.ta-IN-Wavenet-C" | "Google.ta-IN-Wavenet-D" | "Google.te-IN-Standard-A" | "Google.te-IN-Standard-B" | "Google.th-TH-Neural2-C" | "Google.th-TH-Standard-A" | "Google.tr-TR-Standard-A" | "Google.tr-TR-Standard-B" | "Google.tr-TR-Standard-C" | "Google.tr-TR-Standard-D" | "Google.tr-TR-Standard-E" | "Google.tr-TR-Wavenet-A" | "Google.tr-TR-Wavenet-B" | "Google.tr-TR-Wavenet-C" | "Google.tr-TR-Wavenet-D" | "Google.tr-TR-Wavenet-E" | "Google.uk-UA-Standard-A" | "Google.uk-UA-Wavenet-A" | "Google.vi-VN-Neural2-A" | "Google.vi-VN-Neural2-D" | "Google.vi-VN-Standard-A" | "Google.vi-VN-Standard-B" | "Google.vi-VN-Standard-C" | "Google.vi-VN-Standard-D" | "Google.vi-VN-Wavenet-A" | "Google.vi-VN-Wavenet-B" | "Google.vi-VN-Wavenet-C" | "Google.vi-VN-Wavenet-D" | "Google.yue-HK-Standard-A" | "Google.yue-HK-Standard-B" | "Google.yue-HK-Standard-C" | "Google.yue-HK-Standard-D" | "Polly.Aditi" | "Polly.Amy" | "Polly.Astrid" | "Polly.Bianca" | "Polly.Brian" | "Polly.Camila" | "Polly.Carla" | "Polly.Carmen" | "Polly.Celine" | "Polly.Chantal" | "Polly.Conchita" | "Polly.Cristiano" | "Polly.Dora" | "Polly.Emma" | "Polly.Enrique" | "Polly.Ewa" | "Polly.Filiz" | "Polly.Geraint" | "Polly.Giorgio" | "Polly.Gwyneth" | "Polly.Hans" | "Polly.Ines" | "Polly.Ivy" | "Polly.Jacek" | "Polly.Jan" | "Polly.Joanna" | "Polly.Joey" | "Polly.Justin" | "Polly.Karl" | "Polly.Kendra" | "Polly.Kimberly" | "Polly.Lea" | "Polly.Liv" | "Polly.Lotte" | "Polly.Lucia" | "Polly.Lupe" | "Polly.Mads" | "Polly.Maja" | "Polly.Marlene" | "Polly.Mathieu" | "Polly.Matthew" | "Polly.Maxim" | "Polly.Mia" | "Polly.Miguel" | "Polly.Mizuki" | "Polly.Naja" | "Polly.Nicole" | "Polly.Penelope" | "Polly.Raveena" | "Polly.Ricardo" | "Polly.Ruben" | "Polly.Russell" | "Polly.Salli" | "Polly.Seoyeon" | "Polly.Takumi" | "Polly.Tatyana" | "Polly.Vicki" | "Polly.Vitoria" | "Polly.Zeina" | "Polly.Zhiyu" | "Polly.Adriano-Neural" | "Polly.Amy-Neural" | "Polly.Andres-Neural" | "Polly.Aria-Neural" | "Polly.Arlet-Neural" | "Polly.Arthur-Neural" | "Polly.Ayanda-Neural" | "Polly.Bianca-Neural" | "Polly.Brian-Neural" | "Polly.Camila-Neural" | "Polly.Daniel-Neural" | "Polly.Elin-Neural" | "Polly.Emma-Neural" | "Polly.Gabrielle-Neural" | "Polly.Hala-Neural" | "Polly.Hannah-Neural" | "Polly.Hiujin-Neural" | "Polly.Ida-Neural" | "Polly.Ines-Neural" | "Polly.Ivy-Neural" | "Polly.Joanna-Neural" | "Polly.Joey-Neural" | "Polly.Justin-Neural" | "Polly.Kajal-Neural" | "Polly.Kazuha-Neural" | "Polly.Kendra-Neural" | "Polly.Kevin-Neural" | "Polly.Kimberly-Neural" | "Polly.Laura-Neural" | "Polly.Lea-Neural" | "Polly.Liam-Neural" | "Polly.Lucia-Neural" | "Polly.Lupe-Neural" | "Polly.Matthew-Neural" | "Polly.Mia-Neural" | "Polly.Ola-Neural" | "Polly.Olivia-Neural" | "Polly.Pedro-Neural" | "Polly.Remi-Neural" | "Polly.Ruth-Neural" | "Polly.Salli-Neural" | "Polly.Seoyeon-Neural" | "Polly.Sergio-Neural" | "Polly.Stephen-Neural" | "Polly.Suvi-Neural" | "Polly.Takumi-Neural" | "Polly.Tomoko-Neural" | "Polly.Thiago-Neural" | "Polly.Vicki-Neural" | "Polly.Vitoria-Neural" | "Polly.Zhiyu-Neural";
|
|
205
205
|
type SipEvent = "initiated" | "ringing" | "answered" | "completed";
|
|
206
206
|
type SiprecTrack = "inbound_track" | "outbound_track" | "both_tracks";
|
|
207
207
|
type SsmlBreakStrength = "none" | "x-weak" | "weak" | "medium" | "strong" | "x-strong";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "twilio",
|
|
3
3
|
"description": "A Twilio helper library",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.14.0",
|
|
5
5
|
"author": "API Team <api@twilio.com>",
|
|
6
6
|
"contributors": [
|
|
7
7
|
{
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"axios": "^0.26.1",
|
|
24
|
-
"dayjs": "^1.
|
|
24
|
+
"dayjs": "^1.11.9",
|
|
25
25
|
"https-proxy-agent": "^5.0.0",
|
|
26
26
|
"jsonwebtoken": "^9.0.0",
|
|
27
27
|
"qs": "^6.9.4",
|