telnyx 6.40.0 → 6.41.1
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/CHANGELOG.md +40 -0
- package/client.d.mts +10 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +10 -4
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/internal/detect-platform.js +1 -1
- package/internal/detect-platform.js.map +1 -1
- package/internal/detect-platform.mjs +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/ai/assistants/assistants.d.mts +2 -68
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +2 -68
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/calls/actions.d.mts +10 -21
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +10 -21
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/calls.d.mts +95 -1
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +95 -1
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/calls/calls.js.map +1 -1
- package/resources/calls/calls.mjs.map +1 -1
- package/resources/calls/index.d.mts +1 -1
- package/resources/calls/index.d.mts.map +1 -1
- package/resources/calls/index.d.ts +1 -1
- package/resources/calls/index.d.ts.map +1 -1
- package/resources/calls/index.js.map +1 -1
- package/resources/calls/index.mjs.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/inexplicit-number-orders.d.mts.map +1 -1
- package/resources/inexplicit-number-orders.d.ts.map +1 -1
- package/resources/networks/networks.d.mts.map +1 -1
- package/resources/networks/networks.d.ts.map +1 -1
- package/resources/networks/networks.js.map +1 -1
- package/resources/networks/networks.mjs.map +1 -1
- package/resources/pronunciation-dicts.d.mts +63 -393
- package/resources/pronunciation-dicts.d.mts.map +1 -1
- package/resources/pronunciation-dicts.d.ts +63 -393
- package/resources/pronunciation-dicts.d.ts.map +1 -1
- package/resources/pronunciation-dicts.js +5 -2
- package/resources/pronunciation-dicts.js.map +1 -1
- package/resources/pronunciation-dicts.mjs +5 -2
- package/resources/pronunciation-dicts.mjs.map +1 -1
- package/resources/shared.d.mts +59 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +59 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/texml/accounts/calls/calls.d.mts +12 -10
- package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
- package/resources/texml/accounts/calls/calls.d.ts +12 -10
- package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
- package/resources/texml/accounts/calls/calls.js +4 -7
- package/resources/texml/accounts/calls/calls.js.map +1 -1
- package/resources/texml/accounts/calls/calls.mjs +4 -7
- package/resources/texml/accounts/calls/calls.mjs.map +1 -1
- package/resources/virtual-cross-connects.d.mts.map +1 -1
- package/resources/virtual-cross-connects.d.ts.map +1 -1
- package/resources/voice-clones.d.mts +205 -59
- package/resources/voice-clones.d.mts.map +1 -1
- package/resources/voice-clones.d.ts +205 -59
- package/resources/voice-clones.d.ts.map +1 -1
- package/resources/voice-clones.js +21 -12
- package/resources/voice-clones.js.map +1 -1
- package/resources/voice-clones.mjs +21 -12
- package/resources/voice-clones.mjs.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/index.d.mts +1 -1
- package/resources/whatsapp/phone-numbers/profile/index.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/index.d.ts +1 -1
- package/resources/whatsapp/phone-numbers/profile/index.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/index.js.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/index.mjs.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/photo.d.mts +30 -1
- package/resources/whatsapp/phone-numbers/profile/photo.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/photo.d.ts +30 -1
- package/resources/whatsapp/phone-numbers/profile/photo.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/photo.js +14 -0
- package/resources/whatsapp/phone-numbers/profile/photo.js.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/photo.mjs +14 -0
- package/resources/whatsapp/phone-numbers/profile/photo.mjs.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/profile.d.mts +2 -2
- package/resources/whatsapp/phone-numbers/profile/profile.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/profile.d.ts +2 -2
- package/resources/whatsapp/phone-numbers/profile/profile.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/profile.js.map +1 -1
- package/resources/whatsapp/phone-numbers/profile/profile.mjs.map +1 -1
- package/resources/wireguard-interfaces.d.mts.map +1 -1
- package/resources/wireguard-interfaces.d.ts.map +1 -1
- package/src/client.ts +16 -4
- package/src/core/pagination.ts +3 -3
- package/src/internal/detect-platform.ts +1 -1
- package/src/resources/ai/assistants/assistants.ts +4 -84
- package/src/resources/calls/actions.ts +11 -24
- package/src/resources/calls/calls.ts +106 -0
- package/src/resources/calls/index.ts +1 -0
- package/src/resources/index.ts +5 -2
- package/src/resources/inexplicit-number-orders.ts +2 -1
- package/src/resources/networks/networks.ts +2 -1
- package/src/resources/pronunciation-dicts.ts +70 -465
- package/src/resources/shared.ts +73 -0
- package/src/resources/texml/accounts/calls/calls.ts +15 -23
- package/src/resources/virtual-cross-connects.ts +2 -1
- package/src/resources/voice-clones.ts +235 -58
- package/src/resources/whatsapp/phone-numbers/profile/index.ts +1 -1
- package/src/resources/whatsapp/phone-numbers/profile/photo.ts +41 -1
- package/src/resources/whatsapp/phone-numbers/profile/profile.ts +2 -1
- package/src/resources/wireguard-interfaces.ts +2 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -75,12 +75,12 @@ export declare class PronunciationDicts extends APIResource {
|
|
|
75
75
|
* @example
|
|
76
76
|
* ```ts
|
|
77
77
|
* // Automatically fetches more pages as needed.
|
|
78
|
-
* for await (const
|
|
78
|
+
* for await (const pronunciationDictData of client.pronunciationDicts.list()) {
|
|
79
79
|
* // ...
|
|
80
80
|
* }
|
|
81
81
|
* ```
|
|
82
82
|
*/
|
|
83
|
-
list(query?: PronunciationDictListParams | null | undefined, options?: RequestOptions): PagePromise<
|
|
83
|
+
list(query?: PronunciationDictListParams | null | undefined, options?: RequestOptions): PagePromise<PronunciationDictDataDefaultFlatPagination, PronunciationDictData>;
|
|
84
84
|
/**
|
|
85
85
|
* Permanently delete a pronunciation dictionary.
|
|
86
86
|
*
|
|
@@ -93,278 +93,30 @@ export declare class PronunciationDicts extends APIResource {
|
|
|
93
93
|
*/
|
|
94
94
|
delete(id: string, options?: RequestOptions): APIPromise<void>;
|
|
95
95
|
}
|
|
96
|
-
export type
|
|
96
|
+
export type PronunciationDictDataDefaultFlatPagination = DefaultFlatPagination<PronunciationDictData>;
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
98
|
+
* An alias pronunciation item. When the `text` value is found in input, it is
|
|
99
|
+
* replaced with the `alias` before speech synthesis.
|
|
99
100
|
*/
|
|
100
|
-
export interface
|
|
101
|
-
/**
|
|
102
|
-
* A pronunciation dictionary record.
|
|
103
|
-
*/
|
|
104
|
-
data?: PronunciationDictCreateResponse.Data;
|
|
105
|
-
}
|
|
106
|
-
export declare namespace PronunciationDictCreateResponse {
|
|
107
|
-
/**
|
|
108
|
-
* A pronunciation dictionary record.
|
|
109
|
-
*/
|
|
110
|
-
interface Data {
|
|
111
|
-
/**
|
|
112
|
-
* Unique identifier for the pronunciation dictionary.
|
|
113
|
-
*/
|
|
114
|
-
id?: string;
|
|
115
|
-
/**
|
|
116
|
-
* ISO 8601 timestamp with millisecond precision.
|
|
117
|
-
*/
|
|
118
|
-
created_at?: string;
|
|
119
|
-
/**
|
|
120
|
-
* List of pronunciation items (alias or phoneme type).
|
|
121
|
-
*/
|
|
122
|
-
items?: Array<Data.PronunciationDictAliasItem | Data.PronunciationDictPhonemeItem>;
|
|
123
|
-
/**
|
|
124
|
-
* Human-readable name for the dictionary. Must be unique within the organization.
|
|
125
|
-
*/
|
|
126
|
-
name?: string;
|
|
127
|
-
/**
|
|
128
|
-
* Identifies the resource type.
|
|
129
|
-
*/
|
|
130
|
-
record_type?: 'pronunciation_dict';
|
|
131
|
-
/**
|
|
132
|
-
* ISO 8601 timestamp with millisecond precision.
|
|
133
|
-
*/
|
|
134
|
-
updated_at?: string;
|
|
135
|
-
/**
|
|
136
|
-
* Auto-incrementing version number. Increases by 1 on each update. Used for
|
|
137
|
-
* optimistic concurrency control and cache invalidation.
|
|
138
|
-
*/
|
|
139
|
-
version?: number;
|
|
140
|
-
}
|
|
141
|
-
namespace Data {
|
|
142
|
-
/**
|
|
143
|
-
* An alias pronunciation item. When the `text` value is found in input, it is
|
|
144
|
-
* replaced with the `alias` before speech synthesis.
|
|
145
|
-
*/
|
|
146
|
-
interface PronunciationDictAliasItem {
|
|
147
|
-
/**
|
|
148
|
-
* The replacement text that will be spoken instead.
|
|
149
|
-
*/
|
|
150
|
-
alias: string;
|
|
151
|
-
/**
|
|
152
|
-
* The text to match in the input. Case-insensitive matching is used during
|
|
153
|
-
* synthesis.
|
|
154
|
-
*/
|
|
155
|
-
text: string;
|
|
156
|
-
/**
|
|
157
|
-
* The item type.
|
|
158
|
-
*/
|
|
159
|
-
type: 'alias';
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* A phoneme pronunciation item. When the `text` value is found in input, it is
|
|
163
|
-
* pronounced using the specified IPA phoneme notation.
|
|
164
|
-
*/
|
|
165
|
-
interface PronunciationDictPhonemeItem {
|
|
166
|
-
/**
|
|
167
|
-
* The phonetic alphabet used for the phoneme notation.
|
|
168
|
-
*/
|
|
169
|
-
alphabet: 'ipa';
|
|
170
|
-
/**
|
|
171
|
-
* The phoneme notation representing the desired pronunciation.
|
|
172
|
-
*/
|
|
173
|
-
phoneme: string;
|
|
174
|
-
/**
|
|
175
|
-
* The text to match in the input. Case-insensitive matching is used during
|
|
176
|
-
* synthesis.
|
|
177
|
-
*/
|
|
178
|
-
text: string;
|
|
179
|
-
/**
|
|
180
|
-
* The item type.
|
|
181
|
-
*/
|
|
182
|
-
type: 'phoneme';
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
/**
|
|
187
|
-
* Response containing a single pronunciation dictionary.
|
|
188
|
-
*/
|
|
189
|
-
export interface PronunciationDictRetrieveResponse {
|
|
190
|
-
/**
|
|
191
|
-
* A pronunciation dictionary record.
|
|
192
|
-
*/
|
|
193
|
-
data?: PronunciationDictRetrieveResponse.Data;
|
|
194
|
-
}
|
|
195
|
-
export declare namespace PronunciationDictRetrieveResponse {
|
|
101
|
+
export interface PronunciationDictAliasItem {
|
|
196
102
|
/**
|
|
197
|
-
*
|
|
103
|
+
* The replacement text that will be spoken instead.
|
|
198
104
|
*/
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* Unique identifier for the pronunciation dictionary.
|
|
202
|
-
*/
|
|
203
|
-
id?: string;
|
|
204
|
-
/**
|
|
205
|
-
* ISO 8601 timestamp with millisecond precision.
|
|
206
|
-
*/
|
|
207
|
-
created_at?: string;
|
|
208
|
-
/**
|
|
209
|
-
* List of pronunciation items (alias or phoneme type).
|
|
210
|
-
*/
|
|
211
|
-
items?: Array<Data.PronunciationDictAliasItem | Data.PronunciationDictPhonemeItem>;
|
|
212
|
-
/**
|
|
213
|
-
* Human-readable name for the dictionary. Must be unique within the organization.
|
|
214
|
-
*/
|
|
215
|
-
name?: string;
|
|
216
|
-
/**
|
|
217
|
-
* Identifies the resource type.
|
|
218
|
-
*/
|
|
219
|
-
record_type?: 'pronunciation_dict';
|
|
220
|
-
/**
|
|
221
|
-
* ISO 8601 timestamp with millisecond precision.
|
|
222
|
-
*/
|
|
223
|
-
updated_at?: string;
|
|
224
|
-
/**
|
|
225
|
-
* Auto-incrementing version number. Increases by 1 on each update. Used for
|
|
226
|
-
* optimistic concurrency control and cache invalidation.
|
|
227
|
-
*/
|
|
228
|
-
version?: number;
|
|
229
|
-
}
|
|
230
|
-
namespace Data {
|
|
231
|
-
/**
|
|
232
|
-
* An alias pronunciation item. When the `text` value is found in input, it is
|
|
233
|
-
* replaced with the `alias` before speech synthesis.
|
|
234
|
-
*/
|
|
235
|
-
interface PronunciationDictAliasItem {
|
|
236
|
-
/**
|
|
237
|
-
* The replacement text that will be spoken instead.
|
|
238
|
-
*/
|
|
239
|
-
alias: string;
|
|
240
|
-
/**
|
|
241
|
-
* The text to match in the input. Case-insensitive matching is used during
|
|
242
|
-
* synthesis.
|
|
243
|
-
*/
|
|
244
|
-
text: string;
|
|
245
|
-
/**
|
|
246
|
-
* The item type.
|
|
247
|
-
*/
|
|
248
|
-
type: 'alias';
|
|
249
|
-
}
|
|
250
|
-
/**
|
|
251
|
-
* A phoneme pronunciation item. When the `text` value is found in input, it is
|
|
252
|
-
* pronounced using the specified IPA phoneme notation.
|
|
253
|
-
*/
|
|
254
|
-
interface PronunciationDictPhonemeItem {
|
|
255
|
-
/**
|
|
256
|
-
* The phonetic alphabet used for the phoneme notation.
|
|
257
|
-
*/
|
|
258
|
-
alphabet: 'ipa';
|
|
259
|
-
/**
|
|
260
|
-
* The phoneme notation representing the desired pronunciation.
|
|
261
|
-
*/
|
|
262
|
-
phoneme: string;
|
|
263
|
-
/**
|
|
264
|
-
* The text to match in the input. Case-insensitive matching is used during
|
|
265
|
-
* synthesis.
|
|
266
|
-
*/
|
|
267
|
-
text: string;
|
|
268
|
-
/**
|
|
269
|
-
* The item type.
|
|
270
|
-
*/
|
|
271
|
-
type: 'phoneme';
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
/**
|
|
276
|
-
* Response containing a single pronunciation dictionary.
|
|
277
|
-
*/
|
|
278
|
-
export interface PronunciationDictUpdateResponse {
|
|
105
|
+
alias: string;
|
|
279
106
|
/**
|
|
280
|
-
*
|
|
107
|
+
* The text to match in the input. Case-insensitive matching is used during
|
|
108
|
+
* synthesis.
|
|
281
109
|
*/
|
|
282
|
-
|
|
283
|
-
}
|
|
284
|
-
export declare namespace PronunciationDictUpdateResponse {
|
|
110
|
+
text: string;
|
|
285
111
|
/**
|
|
286
|
-
*
|
|
112
|
+
* The item type.
|
|
287
113
|
*/
|
|
288
|
-
|
|
289
|
-
/**
|
|
290
|
-
* Unique identifier for the pronunciation dictionary.
|
|
291
|
-
*/
|
|
292
|
-
id?: string;
|
|
293
|
-
/**
|
|
294
|
-
* ISO 8601 timestamp with millisecond precision.
|
|
295
|
-
*/
|
|
296
|
-
created_at?: string;
|
|
297
|
-
/**
|
|
298
|
-
* List of pronunciation items (alias or phoneme type).
|
|
299
|
-
*/
|
|
300
|
-
items?: Array<Data.PronunciationDictAliasItem | Data.PronunciationDictPhonemeItem>;
|
|
301
|
-
/**
|
|
302
|
-
* Human-readable name for the dictionary. Must be unique within the organization.
|
|
303
|
-
*/
|
|
304
|
-
name?: string;
|
|
305
|
-
/**
|
|
306
|
-
* Identifies the resource type.
|
|
307
|
-
*/
|
|
308
|
-
record_type?: 'pronunciation_dict';
|
|
309
|
-
/**
|
|
310
|
-
* ISO 8601 timestamp with millisecond precision.
|
|
311
|
-
*/
|
|
312
|
-
updated_at?: string;
|
|
313
|
-
/**
|
|
314
|
-
* Auto-incrementing version number. Increases by 1 on each update. Used for
|
|
315
|
-
* optimistic concurrency control and cache invalidation.
|
|
316
|
-
*/
|
|
317
|
-
version?: number;
|
|
318
|
-
}
|
|
319
|
-
namespace Data {
|
|
320
|
-
/**
|
|
321
|
-
* An alias pronunciation item. When the `text` value is found in input, it is
|
|
322
|
-
* replaced with the `alias` before speech synthesis.
|
|
323
|
-
*/
|
|
324
|
-
interface PronunciationDictAliasItem {
|
|
325
|
-
/**
|
|
326
|
-
* The replacement text that will be spoken instead.
|
|
327
|
-
*/
|
|
328
|
-
alias: string;
|
|
329
|
-
/**
|
|
330
|
-
* The text to match in the input. Case-insensitive matching is used during
|
|
331
|
-
* synthesis.
|
|
332
|
-
*/
|
|
333
|
-
text: string;
|
|
334
|
-
/**
|
|
335
|
-
* The item type.
|
|
336
|
-
*/
|
|
337
|
-
type: 'alias';
|
|
338
|
-
}
|
|
339
|
-
/**
|
|
340
|
-
* A phoneme pronunciation item. When the `text` value is found in input, it is
|
|
341
|
-
* pronounced using the specified IPA phoneme notation.
|
|
342
|
-
*/
|
|
343
|
-
interface PronunciationDictPhonemeItem {
|
|
344
|
-
/**
|
|
345
|
-
* The phonetic alphabet used for the phoneme notation.
|
|
346
|
-
*/
|
|
347
|
-
alphabet: 'ipa';
|
|
348
|
-
/**
|
|
349
|
-
* The phoneme notation representing the desired pronunciation.
|
|
350
|
-
*/
|
|
351
|
-
phoneme: string;
|
|
352
|
-
/**
|
|
353
|
-
* The text to match in the input. Case-insensitive matching is used during
|
|
354
|
-
* synthesis.
|
|
355
|
-
*/
|
|
356
|
-
text: string;
|
|
357
|
-
/**
|
|
358
|
-
* The item type.
|
|
359
|
-
*/
|
|
360
|
-
type: 'phoneme';
|
|
361
|
-
}
|
|
362
|
-
}
|
|
114
|
+
type: 'alias';
|
|
363
115
|
}
|
|
364
116
|
/**
|
|
365
117
|
* A pronunciation dictionary record.
|
|
366
118
|
*/
|
|
367
|
-
export interface
|
|
119
|
+
export interface PronunciationDictData {
|
|
368
120
|
/**
|
|
369
121
|
* Unique identifier for the pronunciation dictionary.
|
|
370
122
|
*/
|
|
@@ -376,7 +128,7 @@ export interface PronunciationDictListResponse {
|
|
|
376
128
|
/**
|
|
377
129
|
* List of pronunciation items (alias or phoneme type).
|
|
378
130
|
*/
|
|
379
|
-
items?: Array<
|
|
131
|
+
items?: Array<PronunciationDictAliasItem | PronunciationDictPhonemeItem>;
|
|
380
132
|
/**
|
|
381
133
|
* Human-readable name for the dictionary. Must be unique within the organization.
|
|
382
134
|
*/
|
|
@@ -395,162 +147,80 @@ export interface PronunciationDictListResponse {
|
|
|
395
147
|
*/
|
|
396
148
|
version?: number;
|
|
397
149
|
}
|
|
398
|
-
|
|
150
|
+
/**
|
|
151
|
+
* A phoneme pronunciation item. When the `text` value is found in input, it is
|
|
152
|
+
* pronounced using the specified IPA phoneme notation.
|
|
153
|
+
*/
|
|
154
|
+
export interface PronunciationDictPhonemeItem {
|
|
399
155
|
/**
|
|
400
|
-
*
|
|
401
|
-
* replaced with the `alias` before speech synthesis.
|
|
156
|
+
* The phonetic alphabet used for the phoneme notation.
|
|
402
157
|
*/
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* The replacement text that will be spoken instead.
|
|
406
|
-
*/
|
|
407
|
-
alias: string;
|
|
408
|
-
/**
|
|
409
|
-
* The text to match in the input. Case-insensitive matching is used during
|
|
410
|
-
* synthesis.
|
|
411
|
-
*/
|
|
412
|
-
text: string;
|
|
413
|
-
/**
|
|
414
|
-
* The item type.
|
|
415
|
-
*/
|
|
416
|
-
type: 'alias';
|
|
417
|
-
}
|
|
158
|
+
alphabet: 'ipa';
|
|
418
159
|
/**
|
|
419
|
-
*
|
|
420
|
-
* pronounced using the specified IPA phoneme notation.
|
|
160
|
+
* The phoneme notation representing the desired pronunciation.
|
|
421
161
|
*/
|
|
422
|
-
|
|
423
|
-
/**
|
|
424
|
-
* The phonetic alphabet used for the phoneme notation.
|
|
425
|
-
*/
|
|
426
|
-
alphabet: 'ipa';
|
|
427
|
-
/**
|
|
428
|
-
* The phoneme notation representing the desired pronunciation.
|
|
429
|
-
*/
|
|
430
|
-
phoneme: string;
|
|
431
|
-
/**
|
|
432
|
-
* The text to match in the input. Case-insensitive matching is used during
|
|
433
|
-
* synthesis.
|
|
434
|
-
*/
|
|
435
|
-
text: string;
|
|
436
|
-
/**
|
|
437
|
-
* The item type.
|
|
438
|
-
*/
|
|
439
|
-
type: 'phoneme';
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
export interface PronunciationDictCreateParams {
|
|
162
|
+
phoneme: string;
|
|
443
163
|
/**
|
|
444
|
-
*
|
|
445
|
-
*
|
|
164
|
+
* The text to match in the input. Case-insensitive matching is used during
|
|
165
|
+
* synthesis.
|
|
446
166
|
*/
|
|
447
|
-
|
|
167
|
+
text: string;
|
|
448
168
|
/**
|
|
449
|
-
*
|
|
169
|
+
* The item type.
|
|
450
170
|
*/
|
|
451
|
-
|
|
171
|
+
type: 'phoneme';
|
|
452
172
|
}
|
|
453
|
-
|
|
173
|
+
/**
|
|
174
|
+
* Response containing a single pronunciation dictionary.
|
|
175
|
+
*/
|
|
176
|
+
export interface PronunciationDictCreateResponse {
|
|
454
177
|
/**
|
|
455
|
-
*
|
|
456
|
-
* replaced with the `alias` before speech synthesis.
|
|
178
|
+
* A pronunciation dictionary record.
|
|
457
179
|
*/
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
* The text to match in the input. Case-insensitive matching is used during
|
|
465
|
-
* synthesis.
|
|
466
|
-
*/
|
|
467
|
-
text: string;
|
|
468
|
-
/**
|
|
469
|
-
* The item type.
|
|
470
|
-
*/
|
|
471
|
-
type: 'alias';
|
|
472
|
-
}
|
|
180
|
+
data?: PronunciationDictData;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Response containing a single pronunciation dictionary.
|
|
184
|
+
*/
|
|
185
|
+
export interface PronunciationDictRetrieveResponse {
|
|
473
186
|
/**
|
|
474
|
-
* A
|
|
475
|
-
* pronounced using the specified IPA phoneme notation.
|
|
187
|
+
* A pronunciation dictionary record.
|
|
476
188
|
*/
|
|
477
|
-
|
|
478
|
-
/**
|
|
479
|
-
* The phonetic alphabet used for the phoneme notation.
|
|
480
|
-
*/
|
|
481
|
-
alphabet: 'ipa';
|
|
482
|
-
/**
|
|
483
|
-
* The phoneme notation representing the desired pronunciation.
|
|
484
|
-
*/
|
|
485
|
-
phoneme: string;
|
|
486
|
-
/**
|
|
487
|
-
* The text to match in the input. Case-insensitive matching is used during
|
|
488
|
-
* synthesis.
|
|
489
|
-
*/
|
|
490
|
-
text: string;
|
|
491
|
-
/**
|
|
492
|
-
* The item type.
|
|
493
|
-
*/
|
|
494
|
-
type: 'phoneme';
|
|
495
|
-
}
|
|
189
|
+
data?: PronunciationDictData;
|
|
496
190
|
}
|
|
497
|
-
|
|
191
|
+
/**
|
|
192
|
+
* Response containing a single pronunciation dictionary.
|
|
193
|
+
*/
|
|
194
|
+
export interface PronunciationDictUpdateResponse {
|
|
498
195
|
/**
|
|
499
|
-
*
|
|
196
|
+
* A pronunciation dictionary record.
|
|
500
197
|
*/
|
|
501
|
-
|
|
198
|
+
data?: PronunciationDictData;
|
|
199
|
+
}
|
|
200
|
+
export interface PronunciationDictCreateParams {
|
|
502
201
|
/**
|
|
503
|
-
*
|
|
202
|
+
* List of pronunciation items (alias or phoneme type). At least one item is
|
|
203
|
+
* required.
|
|
504
204
|
*/
|
|
505
|
-
|
|
205
|
+
items: Array<PronunciationDictAliasItem | PronunciationDictPhonemeItem>;
|
|
206
|
+
/**
|
|
207
|
+
* Human-readable name. Must be unique within the organization.
|
|
208
|
+
*/
|
|
209
|
+
name: string;
|
|
506
210
|
}
|
|
507
|
-
export
|
|
211
|
+
export interface PronunciationDictUpdateParams {
|
|
508
212
|
/**
|
|
509
|
-
*
|
|
510
|
-
* replaced with the `alias` before speech synthesis.
|
|
213
|
+
* Updated list of pronunciation items (alias or phoneme type).
|
|
511
214
|
*/
|
|
512
|
-
|
|
513
|
-
/**
|
|
514
|
-
* The replacement text that will be spoken instead.
|
|
515
|
-
*/
|
|
516
|
-
alias: string;
|
|
517
|
-
/**
|
|
518
|
-
* The text to match in the input. Case-insensitive matching is used during
|
|
519
|
-
* synthesis.
|
|
520
|
-
*/
|
|
521
|
-
text: string;
|
|
522
|
-
/**
|
|
523
|
-
* The item type.
|
|
524
|
-
*/
|
|
525
|
-
type: 'alias';
|
|
526
|
-
}
|
|
215
|
+
items?: Array<PronunciationDictAliasItem | PronunciationDictPhonemeItem>;
|
|
527
216
|
/**
|
|
528
|
-
*
|
|
529
|
-
* pronounced using the specified IPA phoneme notation.
|
|
217
|
+
* Updated dictionary name.
|
|
530
218
|
*/
|
|
531
|
-
|
|
532
|
-
/**
|
|
533
|
-
* The phonetic alphabet used for the phoneme notation.
|
|
534
|
-
*/
|
|
535
|
-
alphabet: 'ipa';
|
|
536
|
-
/**
|
|
537
|
-
* The phoneme notation representing the desired pronunciation.
|
|
538
|
-
*/
|
|
539
|
-
phoneme: string;
|
|
540
|
-
/**
|
|
541
|
-
* The text to match in the input. Case-insensitive matching is used during
|
|
542
|
-
* synthesis.
|
|
543
|
-
*/
|
|
544
|
-
text: string;
|
|
545
|
-
/**
|
|
546
|
-
* The item type.
|
|
547
|
-
*/
|
|
548
|
-
type: 'phoneme';
|
|
549
|
-
}
|
|
219
|
+
name?: string;
|
|
550
220
|
}
|
|
551
221
|
export interface PronunciationDictListParams extends DefaultFlatPaginationParams {
|
|
552
222
|
}
|
|
553
223
|
export declare namespace PronunciationDicts {
|
|
554
|
-
export { type
|
|
224
|
+
export { type PronunciationDictAliasItem as PronunciationDictAliasItem, type PronunciationDictData as PronunciationDictData, type PronunciationDictPhonemeItem as PronunciationDictPhonemeItem, type PronunciationDictCreateResponse as PronunciationDictCreateResponse, type PronunciationDictRetrieveResponse as PronunciationDictRetrieveResponse, type PronunciationDictUpdateResponse as PronunciationDictUpdateResponse, type PronunciationDictDataDefaultFlatPagination as PronunciationDictDataDefaultFlatPagination, type PronunciationDictCreateParams as PronunciationDictCreateParams, type PronunciationDictUpdateParams as PronunciationDictUpdateParams, type PronunciationDictListParams as PronunciationDictListParams, };
|
|
555
225
|
}
|
|
556
226
|
//# sourceMappingURL=pronunciation-dicts.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pronunciation-dicts.d.mts","sourceRoot":"","sources":["../src/resources/pronunciation-dicts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE;OAExE,EAAE,cAAc,EAAE;AAIzB;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACH,MAAM,CACJ,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,+BAA+B,CAAC;IAO9C;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iCAAiC,CAAC;IAI7F;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,+BAA+B,CAAC;IAI9C;;;;;;;;;;;OAWG;IACH,IAAI,CACF,KAAK,GAAE,2BAA2B,GAAG,IAAI,GAAG,SAAc,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"pronunciation-dicts.d.mts","sourceRoot":"","sources":["../src/resources/pronunciation-dicts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE;OAExE,EAAE,cAAc,EAAE;AAIzB;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACH,MAAM,CACJ,IAAI,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