twilio 4.22.0 → 4.23.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/api/v2010/account/call.d.ts +0 -11
- package/lib/rest/api/v2010/account/call.js +0 -22
- package/lib/rest/flexApi/V1.d.ts +0 -10
- package/lib/rest/flexApi/V1.js +0 -16
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts +8 -0
- package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.js +4 -0
- package/lib/rest/lookups/v2/phoneNumber.d.ts +5 -5
- package/lib/rest/lookups/v2/phoneNumber.js +2 -2
- package/lib/rest/messaging/v1/tollfreeVerification.d.ts +9 -3
- package/lib/rest/messaging/v1/tollfreeVerification.js +2 -0
- package/lib/rest/trusthub/v1/complianceRegistrationInquiries.d.ts +15 -2
- package/lib/rest/trusthub/v1/complianceRegistrationInquiries.js +12 -0
- package/lib/twiml/VoiceResponse.d.ts +2 -2
- package/package.json +1 -1
- package/lib/rest/api/v2010/account/call/feedback.d.ts +0 -160
- package/lib/rest/api/v2010/account/call/feedback.js +0 -154
- package/lib/rest/api/v2010/account/call/feedbackSummary.d.ts +0 -201
- package/lib/rest/api/v2010/account/call/feedbackSummary.js +0 -189
- package/lib/rest/flexApi/v1/insightsConversationalAi.d.ts +0 -165
- package/lib/rest/flexApi/v1/insightsConversationalAi.js +0 -136
- package/lib/rest/flexApi/v1/insightsConversationalAiReportInsights.d.ts +0 -149
- package/lib/rest/flexApi/v1/insightsConversationalAiReportInsights.js +0 -130
|
@@ -4,8 +4,6 @@ import Page, { TwilioResponsePayload } from "../../../../base/Page";
|
|
|
4
4
|
import Response from "../../../../http/response";
|
|
5
5
|
import V2010 from "../../V2010";
|
|
6
6
|
import { EventListInstance } from "./call/event";
|
|
7
|
-
import { FeedbackListInstance } from "./call/feedback";
|
|
8
|
-
import { FeedbackSummaryListInstance } from "./call/feedbackSummary";
|
|
9
7
|
import { NotificationListInstance } from "./call/notification";
|
|
10
8
|
import { PaymentListInstance } from "./call/payment";
|
|
11
9
|
import { RecordingListInstance } from "./call/recording";
|
|
@@ -209,7 +207,6 @@ export interface CallListInstancePageOptions {
|
|
|
209
207
|
}
|
|
210
208
|
export interface CallContext {
|
|
211
209
|
events: EventListInstance;
|
|
212
|
-
feedback: FeedbackListInstance;
|
|
213
210
|
notifications: NotificationListInstance;
|
|
214
211
|
payments: PaymentListInstance;
|
|
215
212
|
recordings: RecordingListInstance;
|
|
@@ -265,7 +262,6 @@ export declare class CallContextImpl implements CallContext {
|
|
|
265
262
|
protected _solution: CallContextSolution;
|
|
266
263
|
protected _uri: string;
|
|
267
264
|
protected _events?: EventListInstance;
|
|
268
|
-
protected _feedback?: FeedbackListInstance;
|
|
269
265
|
protected _notifications?: NotificationListInstance;
|
|
270
266
|
protected _payments?: PaymentListInstance;
|
|
271
267
|
protected _recordings?: RecordingListInstance;
|
|
@@ -275,7 +271,6 @@ export declare class CallContextImpl implements CallContext {
|
|
|
275
271
|
protected _userDefinedMessageSubscriptions?: UserDefinedMessageSubscriptionListInstance;
|
|
276
272
|
constructor(_version: V2010, accountSid: string, sid: string);
|
|
277
273
|
get events(): EventListInstance;
|
|
278
|
-
get feedback(): FeedbackListInstance;
|
|
279
274
|
get notifications(): NotificationListInstance;
|
|
280
275
|
get payments(): PaymentListInstance;
|
|
281
276
|
get recordings(): RecordingListInstance;
|
|
@@ -469,10 +464,6 @@ export declare class CallInstance {
|
|
|
469
464
|
* Access the events.
|
|
470
465
|
*/
|
|
471
466
|
events(): EventListInstance;
|
|
472
|
-
/**
|
|
473
|
-
* Access the feedback.
|
|
474
|
-
*/
|
|
475
|
-
feedback(): FeedbackListInstance;
|
|
476
467
|
/**
|
|
477
468
|
* Access the notifications.
|
|
478
469
|
*/
|
|
@@ -545,8 +536,6 @@ export interface CallListInstance {
|
|
|
545
536
|
_uri: string;
|
|
546
537
|
(sid: string): CallContext;
|
|
547
538
|
get(sid: string): CallContext;
|
|
548
|
-
_feedbackSummaries?: FeedbackSummaryListInstance;
|
|
549
|
-
feedbackSummaries: FeedbackSummaryListInstance;
|
|
550
539
|
/**
|
|
551
540
|
* Create a CallInstance
|
|
552
541
|
*
|
|
@@ -23,8 +23,6 @@ const deserialize = require("../../../../base/deserialize");
|
|
|
23
23
|
const serialize = require("../../../../base/serialize");
|
|
24
24
|
const utility_1 = require("../../../../base/utility");
|
|
25
25
|
const event_1 = require("./call/event");
|
|
26
|
-
const feedback_1 = require("./call/feedback");
|
|
27
|
-
const feedbackSummary_1 = require("./call/feedbackSummary");
|
|
28
26
|
const notification_1 = require("./call/notification");
|
|
29
27
|
const payment_1 = require("./call/payment");
|
|
30
28
|
const recording_1 = require("./call/recording");
|
|
@@ -50,12 +48,6 @@ class CallContextImpl {
|
|
|
50
48
|
(0, event_1.EventListInstance)(this._version, this._solution.accountSid, this._solution.sid);
|
|
51
49
|
return this._events;
|
|
52
50
|
}
|
|
53
|
-
get feedback() {
|
|
54
|
-
this._feedback =
|
|
55
|
-
this._feedback ||
|
|
56
|
-
(0, feedback_1.FeedbackListInstance)(this._version, this._solution.accountSid, this._solution.sid);
|
|
57
|
-
return this._feedback;
|
|
58
|
-
}
|
|
59
51
|
get notifications() {
|
|
60
52
|
this._notifications =
|
|
61
53
|
this._notifications ||
|
|
@@ -236,12 +228,6 @@ class CallInstance {
|
|
|
236
228
|
events() {
|
|
237
229
|
return this._proxy.events;
|
|
238
230
|
}
|
|
239
|
-
/**
|
|
240
|
-
* Access the feedback.
|
|
241
|
-
*/
|
|
242
|
-
feedback() {
|
|
243
|
-
return this._proxy.feedback;
|
|
244
|
-
}
|
|
245
231
|
/**
|
|
246
232
|
* Access the notifications.
|
|
247
233
|
*/
|
|
@@ -335,14 +321,6 @@ function CallListInstance(version, accountSid) {
|
|
|
335
321
|
instance._version = version;
|
|
336
322
|
instance._solution = { accountSid };
|
|
337
323
|
instance._uri = `/Accounts/${accountSid}/Calls.json`;
|
|
338
|
-
Object.defineProperty(instance, "feedbackSummaries", {
|
|
339
|
-
get: function feedbackSummaries() {
|
|
340
|
-
if (!instance._feedbackSummaries) {
|
|
341
|
-
instance._feedbackSummaries = (0, feedbackSummary_1.FeedbackSummaryListInstance)(instance._version, instance._solution.accountSid);
|
|
342
|
-
}
|
|
343
|
-
return instance._feedbackSummaries;
|
|
344
|
-
},
|
|
345
|
-
});
|
|
346
324
|
instance.create = function create(params, callback) {
|
|
347
325
|
if (params === null || params === undefined) {
|
|
348
326
|
throw new Error('Required parameter "params" missing.');
|
package/lib/rest/flexApi/V1.d.ts
CHANGED
|
@@ -5,8 +5,6 @@ import { ChannelListInstance } from "./v1/channel";
|
|
|
5
5
|
import { ConfigurationListInstance } from "./v1/configuration";
|
|
6
6
|
import { FlexFlowListInstance } from "./v1/flexFlow";
|
|
7
7
|
import { InsightsAssessmentsCommentListInstance } from "./v1/insightsAssessmentsComment";
|
|
8
|
-
import { InsightsConversationalAiListInstance } from "./v1/insightsConversationalAi";
|
|
9
|
-
import { InsightsConversationalAiReportInsightsListInstance } from "./v1/insightsConversationalAiReportInsights";
|
|
10
8
|
import { InsightsConversationsListInstance } from "./v1/insightsConversations";
|
|
11
9
|
import { InsightsQuestionnairesListInstance } from "./v1/insightsQuestionnaires";
|
|
12
10
|
import { InsightsQuestionnairesCategoryListInstance } from "./v1/insightsQuestionnairesCategory";
|
|
@@ -36,10 +34,6 @@ export default class V1 extends Version {
|
|
|
36
34
|
protected _flexFlow?: FlexFlowListInstance;
|
|
37
35
|
/** insightsAssessmentsComment - { Twilio.FlexApi.V1.InsightsAssessmentsCommentListInstance } resource */
|
|
38
36
|
protected _insightsAssessmentsComment?: InsightsAssessmentsCommentListInstance;
|
|
39
|
-
/** insightsConversationalAi - { Twilio.FlexApi.V1.InsightsConversationalAiListInstance } resource */
|
|
40
|
-
protected _insightsConversationalAi?: InsightsConversationalAiListInstance;
|
|
41
|
-
/** insightsConversationalAiReportInsights - { Twilio.FlexApi.V1.InsightsConversationalAiReportInsightsListInstance } resource */
|
|
42
|
-
protected _insightsConversationalAiReportInsights?: InsightsConversationalAiReportInsightsListInstance;
|
|
43
37
|
/** insightsConversations - { Twilio.FlexApi.V1.InsightsConversationsListInstance } resource */
|
|
44
38
|
protected _insightsConversations?: InsightsConversationsListInstance;
|
|
45
39
|
/** insightsQuestionnaires - { Twilio.FlexApi.V1.InsightsQuestionnairesListInstance } resource */
|
|
@@ -74,10 +68,6 @@ export default class V1 extends Version {
|
|
|
74
68
|
get flexFlow(): FlexFlowListInstance;
|
|
75
69
|
/** Getter for insightsAssessmentsComment resource */
|
|
76
70
|
get insightsAssessmentsComment(): InsightsAssessmentsCommentListInstance;
|
|
77
|
-
/** Getter for insightsConversationalAi resource */
|
|
78
|
-
get insightsConversationalAi(): InsightsConversationalAiListInstance;
|
|
79
|
-
/** Getter for insightsConversationalAiReportInsights resource */
|
|
80
|
-
get insightsConversationalAiReportInsights(): InsightsConversationalAiReportInsightsListInstance;
|
|
81
71
|
/** Getter for insightsConversations resource */
|
|
82
72
|
get insightsConversations(): InsightsConversationsListInstance;
|
|
83
73
|
/** Getter for insightsQuestionnaires resource */
|
package/lib/rest/flexApi/V1.js
CHANGED
|
@@ -22,8 +22,6 @@ const channel_1 = require("./v1/channel");
|
|
|
22
22
|
const configuration_1 = require("./v1/configuration");
|
|
23
23
|
const flexFlow_1 = require("./v1/flexFlow");
|
|
24
24
|
const insightsAssessmentsComment_1 = require("./v1/insightsAssessmentsComment");
|
|
25
|
-
const insightsConversationalAi_1 = require("./v1/insightsConversationalAi");
|
|
26
|
-
const insightsConversationalAiReportInsights_1 = require("./v1/insightsConversationalAiReportInsights");
|
|
27
25
|
const insightsConversations_1 = require("./v1/insightsConversations");
|
|
28
26
|
const insightsQuestionnaires_1 = require("./v1/insightsQuestionnaires");
|
|
29
27
|
const insightsQuestionnairesCategory_1 = require("./v1/insightsQuestionnairesCategory");
|
|
@@ -73,20 +71,6 @@ class V1 extends Version_1.default {
|
|
|
73
71
|
(0, insightsAssessmentsComment_1.InsightsAssessmentsCommentListInstance)(this);
|
|
74
72
|
return this._insightsAssessmentsComment;
|
|
75
73
|
}
|
|
76
|
-
/** Getter for insightsConversationalAi resource */
|
|
77
|
-
get insightsConversationalAi() {
|
|
78
|
-
this._insightsConversationalAi =
|
|
79
|
-
this._insightsConversationalAi ||
|
|
80
|
-
(0, insightsConversationalAi_1.InsightsConversationalAiListInstance)(this);
|
|
81
|
-
return this._insightsConversationalAi;
|
|
82
|
-
}
|
|
83
|
-
/** Getter for insightsConversationalAiReportInsights resource */
|
|
84
|
-
get insightsConversationalAiReportInsights() {
|
|
85
|
-
this._insightsConversationalAiReportInsights =
|
|
86
|
-
this._insightsConversationalAiReportInsights ||
|
|
87
|
-
(0, insightsConversationalAiReportInsights_1.InsightsConversationalAiReportInsightsListInstance)(this);
|
|
88
|
-
return this._insightsConversationalAiReportInsights;
|
|
89
|
-
}
|
|
90
74
|
/** Getter for insightsConversations resource */
|
|
91
75
|
get insightsConversations() {
|
|
92
76
|
this._insightsConversations =
|
package/lib/rest/flexApi/v1/interaction/interactionChannel/interactionChannelParticipant.d.ts
CHANGED
|
@@ -20,6 +20,8 @@ export interface InteractionChannelParticipantListInstanceCreateOptions {
|
|
|
20
20
|
type: InteractionChannelParticipantType;
|
|
21
21
|
/** JSON representing the Media Properties for the new Participant. */
|
|
22
22
|
mediaProperties: any;
|
|
23
|
+
/** Object representing the Routing Properties for the new Participant. */
|
|
24
|
+
routingProperties?: any;
|
|
23
25
|
}
|
|
24
26
|
/**
|
|
25
27
|
* Options to pass to each
|
|
@@ -98,6 +100,7 @@ interface InteractionChannelParticipantResource {
|
|
|
98
100
|
interaction_sid: string;
|
|
99
101
|
channel_sid: string;
|
|
100
102
|
url: string;
|
|
103
|
+
routing_properties: any;
|
|
101
104
|
}
|
|
102
105
|
export declare class InteractionChannelParticipantInstance {
|
|
103
106
|
protected _version: V1;
|
|
@@ -118,6 +121,10 @@ export declare class InteractionChannelParticipantInstance {
|
|
|
118
121
|
*/
|
|
119
122
|
channelSid: string;
|
|
120
123
|
url: string;
|
|
124
|
+
/**
|
|
125
|
+
* The Participant\'s routing properties.
|
|
126
|
+
*/
|
|
127
|
+
routingProperties: any;
|
|
121
128
|
private get _proxy();
|
|
122
129
|
/**
|
|
123
130
|
* Update a InteractionChannelParticipantInstance
|
|
@@ -139,6 +146,7 @@ export declare class InteractionChannelParticipantInstance {
|
|
|
139
146
|
interactionSid: string;
|
|
140
147
|
channelSid: string;
|
|
141
148
|
url: string;
|
|
149
|
+
routingProperties: any;
|
|
142
150
|
};
|
|
143
151
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
144
152
|
}
|
|
@@ -80,6 +80,7 @@ class InteractionChannelParticipantInstance {
|
|
|
80
80
|
this.interactionSid = payload.interaction_sid;
|
|
81
81
|
this.channelSid = payload.channel_sid;
|
|
82
82
|
this.url = payload.url;
|
|
83
|
+
this.routingProperties = payload.routing_properties;
|
|
83
84
|
this._solution = { interactionSid, channelSid, sid: sid || this.sid };
|
|
84
85
|
}
|
|
85
86
|
get _proxy() {
|
|
@@ -103,6 +104,7 @@ class InteractionChannelParticipantInstance {
|
|
|
103
104
|
interactionSid: this.interactionSid,
|
|
104
105
|
channelSid: this.channelSid,
|
|
105
106
|
url: this.url,
|
|
107
|
+
routingProperties: this.routingProperties,
|
|
106
108
|
};
|
|
107
109
|
}
|
|
108
110
|
[util_1.inspect.custom](_depth, options) {
|
|
@@ -138,6 +140,8 @@ function InteractionChannelParticipantListInstance(version, interactionSid, chan
|
|
|
138
140
|
let data = {};
|
|
139
141
|
data["Type"] = params["type"];
|
|
140
142
|
data["MediaProperties"] = serialize.object(params["mediaProperties"]);
|
|
143
|
+
if (params["routingProperties"] !== undefined)
|
|
144
|
+
data["RoutingProperties"] = serialize.object(params["routingProperties"]);
|
|
141
145
|
const headers = {};
|
|
142
146
|
headers["Content-Type"] = "application/x-www-form-urlencoded";
|
|
143
147
|
let operationVersion = version, operationPromise = operationVersion.create({
|
|
@@ -6,7 +6,7 @@ export type PhoneNumberValidationError = "TOO_SHORT" | "TOO_LONG" | "INVALID_BUT
|
|
|
6
6
|
* Options to pass to fetch a PhoneNumberInstance
|
|
7
7
|
*/
|
|
8
8
|
export interface PhoneNumberContextFetchOptions {
|
|
9
|
-
/** A comma-separated list of fields to return. Possible values are caller_name, sim_swap, call_forwarding,
|
|
9
|
+
/** A comma-separated list of fields to return. Possible values are validation, caller_name, sim_swap, call_forwarding, line_status, line_type_intelligence, identity_match, reassigned_number, sms_pumping_risk, phone_number_quality_score. */
|
|
10
10
|
fields?: string;
|
|
11
11
|
/** The [country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) used if the phone number provided is in national format. */
|
|
12
12
|
countryCode?: string;
|
|
@@ -84,7 +84,7 @@ interface PhoneNumberResource {
|
|
|
84
84
|
caller_name: any;
|
|
85
85
|
sim_swap: any;
|
|
86
86
|
call_forwarding: any;
|
|
87
|
-
|
|
87
|
+
line_status: any;
|
|
88
88
|
line_type_intelligence: any;
|
|
89
89
|
identity_match: any;
|
|
90
90
|
reassigned_number: any;
|
|
@@ -134,9 +134,9 @@ export declare class PhoneNumberInstance {
|
|
|
134
134
|
*/
|
|
135
135
|
callForwarding: any;
|
|
136
136
|
/**
|
|
137
|
-
* An object that contains
|
|
137
|
+
* An object that contains line status information for a mobile phone number.
|
|
138
138
|
*/
|
|
139
|
-
|
|
139
|
+
lineStatus: any;
|
|
140
140
|
/**
|
|
141
141
|
* An object that contains line type information including the carrier name, mobile country code, and mobile network code.
|
|
142
142
|
*/
|
|
@@ -194,7 +194,7 @@ export declare class PhoneNumberInstance {
|
|
|
194
194
|
callerName: any;
|
|
195
195
|
simSwap: any;
|
|
196
196
|
callForwarding: any;
|
|
197
|
-
|
|
197
|
+
lineStatus: any;
|
|
198
198
|
lineTypeIntelligence: any;
|
|
199
199
|
identityMatch: any;
|
|
200
200
|
reassignedNumber: any;
|
|
@@ -99,7 +99,7 @@ class PhoneNumberInstance {
|
|
|
99
99
|
this.callerName = payload.caller_name;
|
|
100
100
|
this.simSwap = payload.sim_swap;
|
|
101
101
|
this.callForwarding = payload.call_forwarding;
|
|
102
|
-
this.
|
|
102
|
+
this.lineStatus = payload.line_status;
|
|
103
103
|
this.lineTypeIntelligence = payload.line_type_intelligence;
|
|
104
104
|
this.identityMatch = payload.identity_match;
|
|
105
105
|
this.reassignedNumber = payload.reassigned_number;
|
|
@@ -133,7 +133,7 @@ class PhoneNumberInstance {
|
|
|
133
133
|
callerName: this.callerName,
|
|
134
134
|
simSwap: this.simSwap,
|
|
135
135
|
callForwarding: this.callForwarding,
|
|
136
|
-
|
|
136
|
+
lineStatus: this.lineStatus,
|
|
137
137
|
lineTypeIntelligence: this.lineTypeIntelligence,
|
|
138
138
|
identityMatch: this.identityMatch,
|
|
139
139
|
reassignedNumber: this.reassignedNumber,
|
|
@@ -47,7 +47,7 @@ export interface TollfreeVerificationContextUpdateOptions {
|
|
|
47
47
|
businessContactLastName?: string;
|
|
48
48
|
/** The email address of the contact for the business or organization using the Tollfree number. */
|
|
49
49
|
businessContactEmail?: string;
|
|
50
|
-
/** The phone number of the contact for the business or organization using the Tollfree number. */
|
|
50
|
+
/** The E.164 formatted phone number of the contact for the business or organization using the Tollfree number. */
|
|
51
51
|
businessContactPhone?: string;
|
|
52
52
|
/** Describe why the verification is being edited. If the verification was rejected because of a technical issue, such as the website being down, and the issue has been resolved this parameter should be set to something similar to \\\'Website fixed\\\'. */
|
|
53
53
|
editReason?: string;
|
|
@@ -98,7 +98,7 @@ export interface TollfreeVerificationListInstanceCreateOptions {
|
|
|
98
98
|
businessContactLastName?: string;
|
|
99
99
|
/** The email address of the contact for the business or organization using the Tollfree number. */
|
|
100
100
|
businessContactEmail?: string;
|
|
101
|
-
/** The phone number of the contact for the business or organization using the Tollfree number. */
|
|
101
|
+
/** The E.164 formatted phone number of the contact for the business or organization using the Tollfree number. */
|
|
102
102
|
businessContactPhone?: string;
|
|
103
103
|
/** An optional external reference ID supplied by customer and echoed back on status retrieval. */
|
|
104
104
|
externalReferenceId?: string;
|
|
@@ -245,6 +245,7 @@ interface TollfreeVerificationResource {
|
|
|
245
245
|
error_code: number;
|
|
246
246
|
edit_expiration: Date;
|
|
247
247
|
edit_allowed: boolean;
|
|
248
|
+
rejection_reasons: Array<any>;
|
|
248
249
|
resource_links: any;
|
|
249
250
|
external_reference_id: string;
|
|
250
251
|
}
|
|
@@ -326,7 +327,7 @@ export declare class TollfreeVerificationInstance {
|
|
|
326
327
|
*/
|
|
327
328
|
businessContactEmail: string;
|
|
328
329
|
/**
|
|
329
|
-
* The phone number of the contact for the business or organization using the Tollfree number.
|
|
330
|
+
* The E.164 formatted phone number of the contact for the business or organization using the Tollfree number.
|
|
330
331
|
*/
|
|
331
332
|
businessContactPhone: string;
|
|
332
333
|
/**
|
|
@@ -383,6 +384,10 @@ export declare class TollfreeVerificationInstance {
|
|
|
383
384
|
* If a rejected verification is allowed to be edited/resubmitted. Some rejection reasons allow editing and some do not.
|
|
384
385
|
*/
|
|
385
386
|
editAllowed: boolean;
|
|
387
|
+
/**
|
|
388
|
+
* A list of rejection reasons and codes describing why a Tollfree Verification has been rejected.
|
|
389
|
+
*/
|
|
390
|
+
rejectionReasons: Array<any>;
|
|
386
391
|
/**
|
|
387
392
|
* The URLs of the documents associated with the Tollfree Verification resource.
|
|
388
393
|
*/
|
|
@@ -465,6 +470,7 @@ export declare class TollfreeVerificationInstance {
|
|
|
465
470
|
errorCode: number;
|
|
466
471
|
editExpiration: Date;
|
|
467
472
|
editAllowed: boolean;
|
|
473
|
+
rejectionReasons: any[];
|
|
468
474
|
resourceLinks: any;
|
|
469
475
|
externalReferenceId: string;
|
|
470
476
|
};
|
|
@@ -165,6 +165,7 @@ class TollfreeVerificationInstance {
|
|
|
165
165
|
this.errorCode = deserialize.integer(payload.error_code);
|
|
166
166
|
this.editExpiration = deserialize.iso8601DateTime(payload.edit_expiration);
|
|
167
167
|
this.editAllowed = payload.edit_allowed;
|
|
168
|
+
this.rejectionReasons = payload.rejection_reasons;
|
|
168
169
|
this.resourceLinks = payload.resource_links;
|
|
169
170
|
this.externalReferenceId = payload.external_reference_id;
|
|
170
171
|
this._solution = { sid: sid || this.sid };
|
|
@@ -239,6 +240,7 @@ class TollfreeVerificationInstance {
|
|
|
239
240
|
errorCode: this.errorCode,
|
|
240
241
|
editExpiration: this.editExpiration,
|
|
241
242
|
editAllowed: this.editAllowed,
|
|
243
|
+
rejectionReasons: this.rejectionReasons,
|
|
242
244
|
resourceLinks: this.resourceLinks,
|
|
243
245
|
externalReferenceId: this.externalReferenceId,
|
|
244
246
|
};
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { inspect, InspectOptions } from "util";
|
|
3
3
|
import V1 from "../V1";
|
|
4
4
|
export type ComplianceRegistrationInquiriesBusinessIdentityType = "direct_customer" | "isv_reseller_or_partner" | "unknown";
|
|
5
|
+
export type ComplianceRegistrationInquiriesBusinessRegistrationAuthority = "UK:CRN" | "US:EIN" | "CA:CBN" | "AU:ACN" | "Other";
|
|
5
6
|
export type ComplianceRegistrationInquiriesEndUserType = "Individual" | "Business";
|
|
6
7
|
export type ComplianceRegistrationInquiriesPhoneNumberType = "local" | "national" | "mobile" | "toll-free";
|
|
7
8
|
/**
|
|
@@ -14,8 +15,8 @@ export interface ComplianceRegistrationInquiriesListInstanceCreateOptions {
|
|
|
14
15
|
phoneNumberType: ComplianceRegistrationInquiriesPhoneNumberType;
|
|
15
16
|
/** */
|
|
16
17
|
businessIdentityType?: ComplianceRegistrationInquiriesBusinessIdentityType;
|
|
17
|
-
/**
|
|
18
|
-
businessRegistrationAuthority?:
|
|
18
|
+
/** */
|
|
19
|
+
businessRegistrationAuthority?: ComplianceRegistrationInquiriesBusinessRegistrationAuthority;
|
|
19
20
|
/** he name of the business or organization using the Tollfree number. */
|
|
20
21
|
businessLegalName?: string;
|
|
21
22
|
/** he email address to receive the notification about the verification result. */
|
|
@@ -68,6 +69,18 @@ export interface ComplianceRegistrationInquiriesListInstanceCreateOptions {
|
|
|
68
69
|
fileName?: string;
|
|
69
70
|
/** The verification document to upload */
|
|
70
71
|
file?: string;
|
|
72
|
+
/** The first name of the Individual User. */
|
|
73
|
+
firstName?: string;
|
|
74
|
+
/** The last name of the Individual User. */
|
|
75
|
+
lastName?: string;
|
|
76
|
+
/** The date of birth of the Individual User. */
|
|
77
|
+
dateOfBirth?: string;
|
|
78
|
+
/** The email address of the Individual User. */
|
|
79
|
+
individualEmail?: string;
|
|
80
|
+
/** The phone number of the Individual User. */
|
|
81
|
+
individualPhone?: string;
|
|
82
|
+
/** Indicates if the inquiry is being started from an ISV embedded component. */
|
|
83
|
+
isIsvEmbed?: boolean;
|
|
71
84
|
}
|
|
72
85
|
export interface ComplianceRegistrationInquiriesSolution {
|
|
73
86
|
}
|
|
@@ -101,6 +101,18 @@ function ComplianceRegistrationInquiriesListInstance(version) {
|
|
|
101
101
|
data["FileName"] = params["fileName"];
|
|
102
102
|
if (params["file"] !== undefined)
|
|
103
103
|
data["File"] = params["file"];
|
|
104
|
+
if (params["firstName"] !== undefined)
|
|
105
|
+
data["FirstName"] = params["firstName"];
|
|
106
|
+
if (params["lastName"] !== undefined)
|
|
107
|
+
data["LastName"] = params["lastName"];
|
|
108
|
+
if (params["dateOfBirth"] !== undefined)
|
|
109
|
+
data["DateOfBirth"] = params["dateOfBirth"];
|
|
110
|
+
if (params["individualEmail"] !== undefined)
|
|
111
|
+
data["IndividualEmail"] = params["individualEmail"];
|
|
112
|
+
if (params["individualPhone"] !== undefined)
|
|
113
|
+
data["IndividualPhone"] = params["individualPhone"];
|
|
114
|
+
if (params["isIsvEmbed"] !== undefined)
|
|
115
|
+
data["IsIsvEmbed"] = serialize.bool(params["isIsvEmbed"]);
|
|
104
116
|
const headers = {};
|
|
105
117
|
headers["Content-Type"] = "application/x-www-form-urlencoded";
|
|
106
118
|
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 = "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" | "he-IL" | "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";
|
|
203
|
+
type SayLanguage = "af-ZA" | "am-ET" | "ar-AE" | "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" | "fr-BE" | "gu-IN" | "he-IL" | "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.am-ET-Standard-A" | "Google.am-ET-Standard-B" | "Google.am-ET-Wavenet-A" | "Google.am-ET-Wavenet-B" | "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.bn-IN-Standard-C" | "Google.bn-IN-Standard-D" | "Google.bn-IN-Wavenet-C" | "Google.bn-IN-Wavenet-D" | "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-A" | "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-Neural2-A" | "Google.en-IN-Neural2-B" | "Google.en-IN-Neural2-C" | "Google.en-IN-Neural2-D" | "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.kn-IN-Standard-C" | "Google.kn-IN-Standard-D" | "Google.kn-IN-Wavenet-C" | "Google.kn-IN-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.Danielle-Neural" | "Polly.Elin-Neural" | "Polly.Emma-Neural" | "Polly.Gabrielle-Neural" | "Polly.Gregory-Neural" | "Polly.Hala-Neural" | "Polly.Hannah-Neural" | "Polly.Hiujin-Neural" | "Polly.Ida-Neural" | "Polly.Ines-Neural" | "Polly.Isabelle-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.Lisa-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.Zayd-Neural" | "Polly.Zhiyu-Neural";
|
|
205
205
|
type SipEvent = "initiated" | "ringing" | "answered" | "completed";
|
|
206
206
|
type SiprecStatusCallbackMethod = "GET" | "POST";
|
|
207
207
|
type SiprecTrack = "inbound_track" | "outbound_track" | "both_tracks";
|