twilio 5.0.1 → 5.0.2
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/Twilio.d.ts +0 -5
- package/lib/rest/Twilio.js +0 -5
- package/lib/rest/api/v2010/account/call.d.ts +22 -22
- package/lib/rest/api/v2010/account/conference/participant.d.ts +6 -0
- package/lib/rest/api/v2010/account/conference/participant.js +2 -0
- package/lib/rest/content/v1/content/approvalCreate.d.ts +3 -3
- package/lib/rest/content/v1/content/approvalCreate.js +7 -7
- package/lib/rest/content/v1/content/approvalFetch.d.ts +5 -5
- package/lib/rest/content/v1/content/approvalFetch.js +14 -14
- package/lib/rest/conversations/v1/service/conversation.d.ts +6 -6
- package/lib/rest/flexApi/v1/plugin.d.ts +4 -0
- package/lib/rest/flexApi/v1/plugin.js +4 -0
- package/lib/rest/numbers/v1/portingPortInFetch.d.ts +6 -0
- package/lib/rest/numbers/v1/portingPortInFetch.js +2 -0
- package/lib/rest/oauth/v1/token.d.ts +8 -4
- package/lib/rest/oauth/v1/token.js +7 -6
- package/lib/rest/trusthub/v1/complianceRegistrationInquiries.d.ts +84 -10
- package/lib/rest/trusthub/v1/complianceRegistrationInquiries.js +92 -28
- package/lib/rest/trusthub/v1/trustProducts.d.ts +16 -16
- package/lib/twiml/VoiceResponse.d.ts +2 -2
- package/package.json +1 -1
- package/lib/rest/Media.d.ts +0 -4
- package/lib/rest/Media.js +0 -8
- package/lib/rest/MediaBase.d.ts +0 -13
- package/lib/rest/MediaBase.js +0 -31
- package/lib/rest/media/V1.d.ts +0 -25
- package/lib/rest/media/V1.js +0 -51
- package/lib/rest/media/v1/mediaProcessor.d.ts +0 -317
- package/lib/rest/media/v1/mediaProcessor.js +0 -256
- package/lib/rest/media/v1/mediaRecording.d.ts +0 -309
- package/lib/rest/media/v1/mediaRecording.js +0 -226
- package/lib/rest/media/v1/playerStreamer/playbackGrant.d.ts +0 -151
- package/lib/rest/media/v1/playerStreamer/playbackGrant.js +0 -146
- package/lib/rest/media/v1/playerStreamer.d.ts +0 -327
- package/lib/rest/media/v1/playerStreamer.js +0 -264
|
@@ -5,6 +5,15 @@ export type ComplianceRegistrationInquiriesBusinessIdentityType = "direct_custom
|
|
|
5
5
|
export type ComplianceRegistrationInquiriesBusinessRegistrationAuthority = "UK:CRN" | "US:EIN" | "CA:CBN" | "AU:ACN" | "Other";
|
|
6
6
|
export type ComplianceRegistrationInquiriesEndUserType = "Individual" | "Business";
|
|
7
7
|
export type ComplianceRegistrationInquiriesPhoneNumberType = "local" | "national" | "mobile" | "toll-free";
|
|
8
|
+
/**
|
|
9
|
+
* Options to pass to update a ComplianceRegistrationInquiriesInstance
|
|
10
|
+
*/
|
|
11
|
+
export interface ComplianceRegistrationInquiriesContextUpdateOptions {
|
|
12
|
+
/** Indicates if the inquiry is being started from an ISV embedded component. */
|
|
13
|
+
isIsvEmbed?: boolean;
|
|
14
|
+
/** Theme id for styling the inquiry form. */
|
|
15
|
+
themeSetId?: string;
|
|
16
|
+
}
|
|
8
17
|
/**
|
|
9
18
|
* Options to pass to create a ComplianceRegistrationInquiriesInstance
|
|
10
19
|
*/
|
|
@@ -85,29 +94,50 @@ export interface ComplianceRegistrationInquiriesListInstanceCreateOptions {
|
|
|
85
94
|
isvRegisteringForSelfOrTenant?: string;
|
|
86
95
|
/** The url we call to inform you of bundle changes. */
|
|
87
96
|
statusCallbackUrl?: string;
|
|
97
|
+
/** Theme id for styling the inquiry form. */
|
|
98
|
+
themeSetId?: string;
|
|
88
99
|
}
|
|
89
|
-
export interface
|
|
90
|
-
}
|
|
91
|
-
export interface ComplianceRegistrationInquiriesListInstance {
|
|
92
|
-
_version: V1;
|
|
93
|
-
_solution: ComplianceRegistrationInquiriesSolution;
|
|
94
|
-
_uri: string;
|
|
100
|
+
export interface ComplianceRegistrationInquiriesContext {
|
|
95
101
|
/**
|
|
96
|
-
*
|
|
102
|
+
* Update a ComplianceRegistrationInquiriesInstance
|
|
103
|
+
*
|
|
104
|
+
* @param callback - Callback to handle processed record
|
|
105
|
+
*
|
|
106
|
+
* @returns Resolves to processed ComplianceRegistrationInquiriesInstance
|
|
107
|
+
*/
|
|
108
|
+
update(callback?: (error: Error | null, item?: ComplianceRegistrationInquiriesInstance) => any): Promise<ComplianceRegistrationInquiriesInstance>;
|
|
109
|
+
/**
|
|
110
|
+
* Update a ComplianceRegistrationInquiriesInstance
|
|
97
111
|
*
|
|
98
112
|
* @param params - Parameter for request
|
|
99
113
|
* @param callback - Callback to handle processed record
|
|
100
114
|
*
|
|
101
115
|
* @returns Resolves to processed ComplianceRegistrationInquiriesInstance
|
|
102
116
|
*/
|
|
103
|
-
|
|
117
|
+
update(params: ComplianceRegistrationInquiriesContextUpdateOptions, callback?: (error: Error | null, item?: ComplianceRegistrationInquiriesInstance) => any): Promise<ComplianceRegistrationInquiriesInstance>;
|
|
104
118
|
/**
|
|
105
119
|
* Provide a user-friendly representation
|
|
106
120
|
*/
|
|
107
121
|
toJSON(): any;
|
|
108
122
|
[inspect.custom](_depth: any, options: InspectOptions): any;
|
|
109
123
|
}
|
|
110
|
-
export
|
|
124
|
+
export interface ComplianceRegistrationInquiriesContextSolution {
|
|
125
|
+
registrationId: string;
|
|
126
|
+
}
|
|
127
|
+
export declare class ComplianceRegistrationInquiriesContextImpl implements ComplianceRegistrationInquiriesContext {
|
|
128
|
+
protected _version: V1;
|
|
129
|
+
protected _solution: ComplianceRegistrationInquiriesContextSolution;
|
|
130
|
+
protected _uri: string;
|
|
131
|
+
constructor(_version: V1, registrationId: string);
|
|
132
|
+
update(params?: ComplianceRegistrationInquiriesContextUpdateOptions | ((error: Error | null, item?: ComplianceRegistrationInquiriesInstance) => any), callback?: (error: Error | null, item?: ComplianceRegistrationInquiriesInstance) => any): Promise<ComplianceRegistrationInquiriesInstance>;
|
|
133
|
+
/**
|
|
134
|
+
* Provide a user-friendly representation
|
|
135
|
+
*
|
|
136
|
+
* @returns Object
|
|
137
|
+
*/
|
|
138
|
+
toJSON(): ComplianceRegistrationInquiriesContextSolution;
|
|
139
|
+
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
140
|
+
}
|
|
111
141
|
interface ComplianceRegistrationInquiriesResource {
|
|
112
142
|
inquiry_id: string;
|
|
113
143
|
inquiry_session_token: string;
|
|
@@ -116,7 +146,9 @@ interface ComplianceRegistrationInquiriesResource {
|
|
|
116
146
|
}
|
|
117
147
|
export declare class ComplianceRegistrationInquiriesInstance {
|
|
118
148
|
protected _version: V1;
|
|
119
|
-
|
|
149
|
+
protected _solution: ComplianceRegistrationInquiriesContextSolution;
|
|
150
|
+
protected _context?: ComplianceRegistrationInquiriesContext;
|
|
151
|
+
constructor(_version: V1, payload: ComplianceRegistrationInquiriesResource, registrationId?: string);
|
|
120
152
|
/**
|
|
121
153
|
* The unique ID used to start an embedded compliance registration session.
|
|
122
154
|
*/
|
|
@@ -133,6 +165,24 @@ export declare class ComplianceRegistrationInquiriesInstance {
|
|
|
133
165
|
* The URL of this resource.
|
|
134
166
|
*/
|
|
135
167
|
url: string;
|
|
168
|
+
private get _proxy();
|
|
169
|
+
/**
|
|
170
|
+
* Update a ComplianceRegistrationInquiriesInstance
|
|
171
|
+
*
|
|
172
|
+
* @param callback - Callback to handle processed record
|
|
173
|
+
*
|
|
174
|
+
* @returns Resolves to processed ComplianceRegistrationInquiriesInstance
|
|
175
|
+
*/
|
|
176
|
+
update(callback?: (error: Error | null, item?: ComplianceRegistrationInquiriesInstance) => any): Promise<ComplianceRegistrationInquiriesInstance>;
|
|
177
|
+
/**
|
|
178
|
+
* Update a ComplianceRegistrationInquiriesInstance
|
|
179
|
+
*
|
|
180
|
+
* @param params - Parameter for request
|
|
181
|
+
* @param callback - Callback to handle processed record
|
|
182
|
+
*
|
|
183
|
+
* @returns Resolves to processed ComplianceRegistrationInquiriesInstance
|
|
184
|
+
*/
|
|
185
|
+
update(params: ComplianceRegistrationInquiriesContextUpdateOptions, callback?: (error: Error | null, item?: ComplianceRegistrationInquiriesInstance) => any): Promise<ComplianceRegistrationInquiriesInstance>;
|
|
136
186
|
/**
|
|
137
187
|
* Provide a user-friendly representation
|
|
138
188
|
*
|
|
@@ -146,4 +196,28 @@ export declare class ComplianceRegistrationInquiriesInstance {
|
|
|
146
196
|
};
|
|
147
197
|
[inspect.custom](_depth: any, options: InspectOptions): string;
|
|
148
198
|
}
|
|
199
|
+
export interface ComplianceRegistrationInquiriesSolution {
|
|
200
|
+
}
|
|
201
|
+
export interface ComplianceRegistrationInquiriesListInstance {
|
|
202
|
+
_version: V1;
|
|
203
|
+
_solution: ComplianceRegistrationInquiriesSolution;
|
|
204
|
+
_uri: string;
|
|
205
|
+
(registrationId: string): ComplianceRegistrationInquiriesContext;
|
|
206
|
+
get(registrationId: string): ComplianceRegistrationInquiriesContext;
|
|
207
|
+
/**
|
|
208
|
+
* Create a ComplianceRegistrationInquiriesInstance
|
|
209
|
+
*
|
|
210
|
+
* @param params - Parameter for request
|
|
211
|
+
* @param callback - Callback to handle processed record
|
|
212
|
+
*
|
|
213
|
+
* @returns Resolves to processed ComplianceRegistrationInquiriesInstance
|
|
214
|
+
*/
|
|
215
|
+
create(params: ComplianceRegistrationInquiriesListInstanceCreateOptions, callback?: (error: Error | null, item?: ComplianceRegistrationInquiriesInstance) => any): Promise<ComplianceRegistrationInquiriesInstance>;
|
|
216
|
+
/**
|
|
217
|
+
* Provide a user-friendly representation
|
|
218
|
+
*/
|
|
219
|
+
toJSON(): any;
|
|
220
|
+
[inspect.custom](_depth: any, options: InspectOptions): any;
|
|
221
|
+
}
|
|
222
|
+
export declare function ComplianceRegistrationInquiriesListInstance(version: V1): ComplianceRegistrationInquiriesListInstance;
|
|
149
223
|
export {};
|
|
@@ -13,12 +13,100 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ComplianceRegistrationInquiriesInstance = exports.
|
|
16
|
+
exports.ComplianceRegistrationInquiriesListInstance = exports.ComplianceRegistrationInquiriesInstance = exports.ComplianceRegistrationInquiriesContextImpl = void 0;
|
|
17
17
|
const util_1 = require("util");
|
|
18
18
|
const deserialize = require("../../../base/deserialize");
|
|
19
19
|
const serialize = require("../../../base/serialize");
|
|
20
|
+
const utility_1 = require("../../../base/utility");
|
|
21
|
+
class ComplianceRegistrationInquiriesContextImpl {
|
|
22
|
+
constructor(_version, registrationId) {
|
|
23
|
+
this._version = _version;
|
|
24
|
+
if (!(0, utility_1.isValidPathParam)(registrationId)) {
|
|
25
|
+
throw new Error("Parameter 'registrationId' is not valid.");
|
|
26
|
+
}
|
|
27
|
+
this._solution = { registrationId };
|
|
28
|
+
this._uri = `/ComplianceInquiries/Registration/${registrationId}/RegulatoryCompliance/GB/Initialize`;
|
|
29
|
+
}
|
|
30
|
+
update(params, callback) {
|
|
31
|
+
if (params instanceof Function) {
|
|
32
|
+
callback = params;
|
|
33
|
+
params = {};
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
params = params || {};
|
|
37
|
+
}
|
|
38
|
+
let data = {};
|
|
39
|
+
if (params["isIsvEmbed"] !== undefined)
|
|
40
|
+
data["IsIsvEmbed"] = serialize.bool(params["isIsvEmbed"]);
|
|
41
|
+
if (params["themeSetId"] !== undefined)
|
|
42
|
+
data["ThemeSetId"] = params["themeSetId"];
|
|
43
|
+
const headers = {};
|
|
44
|
+
headers["Content-Type"] = "application/x-www-form-urlencoded";
|
|
45
|
+
const instance = this;
|
|
46
|
+
let operationVersion = instance._version, operationPromise = operationVersion.update({
|
|
47
|
+
uri: instance._uri,
|
|
48
|
+
method: "post",
|
|
49
|
+
data,
|
|
50
|
+
headers,
|
|
51
|
+
});
|
|
52
|
+
operationPromise = operationPromise.then((payload) => new ComplianceRegistrationInquiriesInstance(operationVersion, payload, instance._solution.registrationId));
|
|
53
|
+
operationPromise = instance._version.setPromiseCallback(operationPromise, callback);
|
|
54
|
+
return operationPromise;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Provide a user-friendly representation
|
|
58
|
+
*
|
|
59
|
+
* @returns Object
|
|
60
|
+
*/
|
|
61
|
+
toJSON() {
|
|
62
|
+
return this._solution;
|
|
63
|
+
}
|
|
64
|
+
[util_1.inspect.custom](_depth, options) {
|
|
65
|
+
return (0, util_1.inspect)(this.toJSON(), options);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.ComplianceRegistrationInquiriesContextImpl = ComplianceRegistrationInquiriesContextImpl;
|
|
69
|
+
class ComplianceRegistrationInquiriesInstance {
|
|
70
|
+
constructor(_version, payload, registrationId) {
|
|
71
|
+
this._version = _version;
|
|
72
|
+
this.inquiryId = payload.inquiry_id;
|
|
73
|
+
this.inquirySessionToken = payload.inquiry_session_token;
|
|
74
|
+
this.registrationId = payload.registration_id;
|
|
75
|
+
this.url = payload.url;
|
|
76
|
+
this._solution = { registrationId: registrationId || this.registrationId };
|
|
77
|
+
}
|
|
78
|
+
get _proxy() {
|
|
79
|
+
this._context =
|
|
80
|
+
this._context ||
|
|
81
|
+
new ComplianceRegistrationInquiriesContextImpl(this._version, this._solution.registrationId);
|
|
82
|
+
return this._context;
|
|
83
|
+
}
|
|
84
|
+
update(params, callback) {
|
|
85
|
+
return this._proxy.update(params, callback);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Provide a user-friendly representation
|
|
89
|
+
*
|
|
90
|
+
* @returns Object
|
|
91
|
+
*/
|
|
92
|
+
toJSON() {
|
|
93
|
+
return {
|
|
94
|
+
inquiryId: this.inquiryId,
|
|
95
|
+
inquirySessionToken: this.inquirySessionToken,
|
|
96
|
+
registrationId: this.registrationId,
|
|
97
|
+
url: this.url,
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
[util_1.inspect.custom](_depth, options) {
|
|
101
|
+
return (0, util_1.inspect)(this.toJSON(), options);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.ComplianceRegistrationInquiriesInstance = ComplianceRegistrationInquiriesInstance;
|
|
20
105
|
function ComplianceRegistrationInquiriesListInstance(version) {
|
|
21
|
-
const instance =
|
|
106
|
+
const instance = ((registrationId) => instance.get(registrationId));
|
|
107
|
+
instance.get = function get(registrationId) {
|
|
108
|
+
return new ComplianceRegistrationInquiriesContextImpl(version, registrationId);
|
|
109
|
+
};
|
|
22
110
|
instance._version = version;
|
|
23
111
|
instance._solution = {};
|
|
24
112
|
instance._uri = `/ComplianceInquiries/Registration/RegulatoryCompliance/GB/Initialize`;
|
|
@@ -118,6 +206,8 @@ function ComplianceRegistrationInquiriesListInstance(version) {
|
|
|
118
206
|
params["isvRegisteringForSelfOrTenant"];
|
|
119
207
|
if (params["statusCallbackUrl"] !== undefined)
|
|
120
208
|
data["StatusCallbackUrl"] = params["statusCallbackUrl"];
|
|
209
|
+
if (params["themeSetId"] !== undefined)
|
|
210
|
+
data["ThemeSetId"] = params["themeSetId"];
|
|
121
211
|
const headers = {};
|
|
122
212
|
headers["Content-Type"] = "application/x-www-form-urlencoded";
|
|
123
213
|
let operationVersion = version, operationPromise = operationVersion.create({
|
|
@@ -139,29 +229,3 @@ function ComplianceRegistrationInquiriesListInstance(version) {
|
|
|
139
229
|
return instance;
|
|
140
230
|
}
|
|
141
231
|
exports.ComplianceRegistrationInquiriesListInstance = ComplianceRegistrationInquiriesListInstance;
|
|
142
|
-
class ComplianceRegistrationInquiriesInstance {
|
|
143
|
-
constructor(_version, payload) {
|
|
144
|
-
this._version = _version;
|
|
145
|
-
this.inquiryId = payload.inquiry_id;
|
|
146
|
-
this.inquirySessionToken = payload.inquiry_session_token;
|
|
147
|
-
this.registrationId = payload.registration_id;
|
|
148
|
-
this.url = payload.url;
|
|
149
|
-
}
|
|
150
|
-
/**
|
|
151
|
-
* Provide a user-friendly representation
|
|
152
|
-
*
|
|
153
|
-
* @returns Object
|
|
154
|
-
*/
|
|
155
|
-
toJSON() {
|
|
156
|
-
return {
|
|
157
|
-
inquiryId: this.inquiryId,
|
|
158
|
-
inquirySessionToken: this.inquirySessionToken,
|
|
159
|
-
registrationId: this.registrationId,
|
|
160
|
-
url: this.url,
|
|
161
|
-
};
|
|
162
|
-
}
|
|
163
|
-
[util_1.inspect.custom](_depth, options) {
|
|
164
|
-
return (0, util_1.inspect)(this.toJSON(), options);
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
exports.ComplianceRegistrationInquiriesInstance = ComplianceRegistrationInquiriesInstance;
|
|
@@ -17,7 +17,7 @@ export interface TrustProductsContextUpdateOptions {
|
|
|
17
17
|
statusCallback?: string;
|
|
18
18
|
/** The string that you assigned to describe the resource. */
|
|
19
19
|
friendlyName?: string;
|
|
20
|
-
/** The email address that will receive updates when the
|
|
20
|
+
/** The email address that will receive updates when the Trust Product resource changes status. */
|
|
21
21
|
email?: string;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
@@ -26,9 +26,9 @@ export interface TrustProductsContextUpdateOptions {
|
|
|
26
26
|
export interface TrustProductsListInstanceCreateOptions {
|
|
27
27
|
/** The string that you assigned to describe the resource. */
|
|
28
28
|
friendlyName: string;
|
|
29
|
-
/** The email address that will receive updates when the
|
|
29
|
+
/** The email address that will receive updates when the Trust Product resource changes status. */
|
|
30
30
|
email: string;
|
|
31
|
-
/** The unique string of a policy that is associated to the
|
|
31
|
+
/** The unique string of a policy that is associated to the Trust Product resource. */
|
|
32
32
|
policySid: string;
|
|
33
33
|
/** The URL we call to inform your application of status changes. */
|
|
34
34
|
statusCallback?: string;
|
|
@@ -37,11 +37,11 @@ export interface TrustProductsListInstanceCreateOptions {
|
|
|
37
37
|
* Options to pass to each
|
|
38
38
|
*/
|
|
39
39
|
export interface TrustProductsListInstanceEachOptions {
|
|
40
|
-
/** The verification status of the
|
|
40
|
+
/** The verification status of the Trust Product resource. */
|
|
41
41
|
status?: TrustProductsStatus;
|
|
42
42
|
/** The string that you assigned to describe the resource. */
|
|
43
43
|
friendlyName?: string;
|
|
44
|
-
/** The unique string of a policy that is associated to the
|
|
44
|
+
/** The unique string of a policy that is associated to the Trust Product resource. */
|
|
45
45
|
policySid?: string;
|
|
46
46
|
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
|
|
47
47
|
pageSize?: number;
|
|
@@ -56,11 +56,11 @@ export interface TrustProductsListInstanceEachOptions {
|
|
|
56
56
|
* Options to pass to list
|
|
57
57
|
*/
|
|
58
58
|
export interface TrustProductsListInstanceOptions {
|
|
59
|
-
/** The verification status of the
|
|
59
|
+
/** The verification status of the Trust Product resource. */
|
|
60
60
|
status?: TrustProductsStatus;
|
|
61
61
|
/** The string that you assigned to describe the resource. */
|
|
62
62
|
friendlyName?: string;
|
|
63
|
-
/** The unique string of a policy that is associated to the
|
|
63
|
+
/** The unique string of a policy that is associated to the Trust Product resource. */
|
|
64
64
|
policySid?: string;
|
|
65
65
|
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
|
|
66
66
|
pageSize?: number;
|
|
@@ -71,11 +71,11 @@ export interface TrustProductsListInstanceOptions {
|
|
|
71
71
|
* Options to pass to page
|
|
72
72
|
*/
|
|
73
73
|
export interface TrustProductsListInstancePageOptions {
|
|
74
|
-
/** The verification status of the
|
|
74
|
+
/** The verification status of the Trust Product resource. */
|
|
75
75
|
status?: TrustProductsStatus;
|
|
76
76
|
/** The string that you assigned to describe the resource. */
|
|
77
77
|
friendlyName?: string;
|
|
78
|
-
/** The unique string of a policy that is associated to the
|
|
78
|
+
/** The unique string of a policy that is associated to the Trust Product resource. */
|
|
79
79
|
policySid?: string;
|
|
80
80
|
/** How many resources to return in each list page. The default is 50, and the maximum is 1000. */
|
|
81
81
|
pageSize?: number;
|
|
@@ -175,15 +175,15 @@ export declare class TrustProductsInstance {
|
|
|
175
175
|
protected _context?: TrustProductsContext;
|
|
176
176
|
constructor(_version: V1, payload: TrustProductsResource, sid?: string);
|
|
177
177
|
/**
|
|
178
|
-
* The unique string that we created to identify the
|
|
178
|
+
* The unique string that we created to identify the Trust Product resource.
|
|
179
179
|
*/
|
|
180
180
|
sid: string;
|
|
181
181
|
/**
|
|
182
|
-
* The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the
|
|
182
|
+
* The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Trust Product resource.
|
|
183
183
|
*/
|
|
184
184
|
accountSid: string;
|
|
185
185
|
/**
|
|
186
|
-
* The unique string of
|
|
186
|
+
* The unique string of the policy that is associated with the Trust Product resource.
|
|
187
187
|
*/
|
|
188
188
|
policySid: string;
|
|
189
189
|
/**
|
|
@@ -192,11 +192,11 @@ export declare class TrustProductsInstance {
|
|
|
192
192
|
friendlyName: string;
|
|
193
193
|
status: TrustProductsStatus;
|
|
194
194
|
/**
|
|
195
|
-
* The date and time in GMT in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format
|
|
195
|
+
* The date and time in GMT in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format until which the resource will be valid.
|
|
196
196
|
*/
|
|
197
197
|
validUntil: Date;
|
|
198
198
|
/**
|
|
199
|
-
* The email address that will receive updates when the
|
|
199
|
+
* The email address that will receive updates when the Trust Product resource changes status.
|
|
200
200
|
*/
|
|
201
201
|
email: string;
|
|
202
202
|
/**
|
|
@@ -212,11 +212,11 @@ export declare class TrustProductsInstance {
|
|
|
212
212
|
*/
|
|
213
213
|
dateUpdated: Date;
|
|
214
214
|
/**
|
|
215
|
-
* The absolute URL of the
|
|
215
|
+
* The absolute URL of the Trust Product resource.
|
|
216
216
|
*/
|
|
217
217
|
url: string;
|
|
218
218
|
/**
|
|
219
|
-
* The URLs of the Assigned Items of the
|
|
219
|
+
* The URLs of the Assigned Items of the Trust Product resource.
|
|
220
220
|
*/
|
|
221
221
|
links: Record<string, string>;
|
|
222
222
|
private get _proxy();
|
|
@@ -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" | "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";
|
|
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-IE" | "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.gu-IN-Standard-C" | "Google.gu-IN-Standard-D" | "Google.gu-IN-Wavenet-C" | "Google.gu-IN-Wavenet-D" | "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.Niamh-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.Sofie-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";
|
package/package.json
CHANGED
package/lib/rest/Media.d.ts
DELETED
package/lib/rest/Media.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
const MediaBase_1 = __importDefault(require("./MediaBase"));
|
|
6
|
-
class Media extends MediaBase_1.default {
|
|
7
|
-
}
|
|
8
|
-
module.exports = Media;
|
package/lib/rest/MediaBase.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import Domain from "../base/Domain";
|
|
2
|
-
import V1 from "./media/V1";
|
|
3
|
-
declare class MediaBase extends Domain {
|
|
4
|
-
_v1?: V1;
|
|
5
|
-
/**
|
|
6
|
-
* Initialize media domain
|
|
7
|
-
*
|
|
8
|
-
* @param twilio - The twilio client
|
|
9
|
-
*/
|
|
10
|
-
constructor(twilio: any);
|
|
11
|
-
get v1(): V1;
|
|
12
|
-
}
|
|
13
|
-
export = MediaBase;
|
package/lib/rest/MediaBase.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* This code was generated by
|
|
4
|
-
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
|
5
|
-
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
|
6
|
-
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator.
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
14
|
-
};
|
|
15
|
-
const Domain_1 = __importDefault(require("../base/Domain"));
|
|
16
|
-
const V1_1 = __importDefault(require("./media/V1"));
|
|
17
|
-
class MediaBase extends Domain_1.default {
|
|
18
|
-
/**
|
|
19
|
-
* Initialize media domain
|
|
20
|
-
*
|
|
21
|
-
* @param twilio - The twilio client
|
|
22
|
-
*/
|
|
23
|
-
constructor(twilio) {
|
|
24
|
-
super(twilio, "https://media.twilio.com");
|
|
25
|
-
}
|
|
26
|
-
get v1() {
|
|
27
|
-
this._v1 = this._v1 || new V1_1.default(this);
|
|
28
|
-
return this._v1;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
module.exports = MediaBase;
|
package/lib/rest/media/V1.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import MediaBase from "../MediaBase";
|
|
2
|
-
import Version from "../../base/Version";
|
|
3
|
-
import { MediaProcessorListInstance } from "./v1/mediaProcessor";
|
|
4
|
-
import { MediaRecordingListInstance } from "./v1/mediaRecording";
|
|
5
|
-
import { PlayerStreamerListInstance } from "./v1/playerStreamer";
|
|
6
|
-
export default class V1 extends Version {
|
|
7
|
-
/**
|
|
8
|
-
* Initialize the V1 version of Media
|
|
9
|
-
*
|
|
10
|
-
* @param domain - The Twilio (Twilio.Media) domain
|
|
11
|
-
*/
|
|
12
|
-
constructor(domain: MediaBase);
|
|
13
|
-
/** mediaProcessor - { Twilio.Media.V1.MediaProcessorListInstance } resource */
|
|
14
|
-
protected _mediaProcessor?: MediaProcessorListInstance;
|
|
15
|
-
/** mediaRecording - { Twilio.Media.V1.MediaRecordingListInstance } resource */
|
|
16
|
-
protected _mediaRecording?: MediaRecordingListInstance;
|
|
17
|
-
/** playerStreamer - { Twilio.Media.V1.PlayerStreamerListInstance } resource */
|
|
18
|
-
protected _playerStreamer?: PlayerStreamerListInstance;
|
|
19
|
-
/** Getter for mediaProcessor resource */
|
|
20
|
-
get mediaProcessor(): MediaProcessorListInstance;
|
|
21
|
-
/** Getter for mediaRecording resource */
|
|
22
|
-
get mediaRecording(): MediaRecordingListInstance;
|
|
23
|
-
/** Getter for playerStreamer resource */
|
|
24
|
-
get playerStreamer(): PlayerStreamerListInstance;
|
|
25
|
-
}
|
package/lib/rest/media/V1.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* This code was generated by
|
|
4
|
-
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
|
|
5
|
-
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
|
|
6
|
-
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
|
|
7
|
-
*
|
|
8
|
-
* Twilio - Media
|
|
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
|
-
const Version_1 = __importDefault(require("../../base/Version"));
|
|
20
|
-
const mediaProcessor_1 = require("./v1/mediaProcessor");
|
|
21
|
-
const mediaRecording_1 = require("./v1/mediaRecording");
|
|
22
|
-
const playerStreamer_1 = require("./v1/playerStreamer");
|
|
23
|
-
class V1 extends Version_1.default {
|
|
24
|
-
/**
|
|
25
|
-
* Initialize the V1 version of Media
|
|
26
|
-
*
|
|
27
|
-
* @param domain - The Twilio (Twilio.Media) domain
|
|
28
|
-
*/
|
|
29
|
-
constructor(domain) {
|
|
30
|
-
super(domain, "v1");
|
|
31
|
-
}
|
|
32
|
-
/** Getter for mediaProcessor resource */
|
|
33
|
-
get mediaProcessor() {
|
|
34
|
-
this._mediaProcessor =
|
|
35
|
-
this._mediaProcessor || (0, mediaProcessor_1.MediaProcessorListInstance)(this);
|
|
36
|
-
return this._mediaProcessor;
|
|
37
|
-
}
|
|
38
|
-
/** Getter for mediaRecording resource */
|
|
39
|
-
get mediaRecording() {
|
|
40
|
-
this._mediaRecording =
|
|
41
|
-
this._mediaRecording || (0, mediaRecording_1.MediaRecordingListInstance)(this);
|
|
42
|
-
return this._mediaRecording;
|
|
43
|
-
}
|
|
44
|
-
/** Getter for playerStreamer resource */
|
|
45
|
-
get playerStreamer() {
|
|
46
|
-
this._playerStreamer =
|
|
47
|
-
this._playerStreamer || (0, playerStreamer_1.PlayerStreamerListInstance)(this);
|
|
48
|
-
return this._playerStreamer;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
exports.default = V1;
|