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.
Files changed (124) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/client.d.mts +10 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +10 -4
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/core/pagination.d.mts.map +1 -1
  9. package/core/pagination.d.ts.map +1 -1
  10. package/internal/detect-platform.js +1 -1
  11. package/internal/detect-platform.js.map +1 -1
  12. package/internal/detect-platform.mjs +1 -1
  13. package/internal/detect-platform.mjs.map +1 -1
  14. package/package.json +1 -1
  15. package/resources/ai/assistants/assistants.d.mts +2 -68
  16. package/resources/ai/assistants/assistants.d.mts.map +1 -1
  17. package/resources/ai/assistants/assistants.d.ts +2 -68
  18. package/resources/ai/assistants/assistants.d.ts.map +1 -1
  19. package/resources/ai/assistants/assistants.js.map +1 -1
  20. package/resources/ai/assistants/assistants.mjs.map +1 -1
  21. package/resources/calls/actions.d.mts +10 -21
  22. package/resources/calls/actions.d.mts.map +1 -1
  23. package/resources/calls/actions.d.ts +10 -21
  24. package/resources/calls/actions.d.ts.map +1 -1
  25. package/resources/calls/calls.d.mts +95 -1
  26. package/resources/calls/calls.d.mts.map +1 -1
  27. package/resources/calls/calls.d.ts +95 -1
  28. package/resources/calls/calls.d.ts.map +1 -1
  29. package/resources/calls/calls.js.map +1 -1
  30. package/resources/calls/calls.mjs.map +1 -1
  31. package/resources/calls/index.d.mts +1 -1
  32. package/resources/calls/index.d.mts.map +1 -1
  33. package/resources/calls/index.d.ts +1 -1
  34. package/resources/calls/index.d.ts.map +1 -1
  35. package/resources/calls/index.js.map +1 -1
  36. package/resources/calls/index.mjs.map +1 -1
  37. package/resources/index.d.mts +2 -2
  38. package/resources/index.d.mts.map +1 -1
  39. package/resources/index.d.ts +2 -2
  40. package/resources/index.d.ts.map +1 -1
  41. package/resources/index.js.map +1 -1
  42. package/resources/index.mjs.map +1 -1
  43. package/resources/inexplicit-number-orders.d.mts.map +1 -1
  44. package/resources/inexplicit-number-orders.d.ts.map +1 -1
  45. package/resources/networks/networks.d.mts.map +1 -1
  46. package/resources/networks/networks.d.ts.map +1 -1
  47. package/resources/networks/networks.js.map +1 -1
  48. package/resources/networks/networks.mjs.map +1 -1
  49. package/resources/pronunciation-dicts.d.mts +63 -393
  50. package/resources/pronunciation-dicts.d.mts.map +1 -1
  51. package/resources/pronunciation-dicts.d.ts +63 -393
  52. package/resources/pronunciation-dicts.d.ts.map +1 -1
  53. package/resources/pronunciation-dicts.js +5 -2
  54. package/resources/pronunciation-dicts.js.map +1 -1
  55. package/resources/pronunciation-dicts.mjs +5 -2
  56. package/resources/pronunciation-dicts.mjs.map +1 -1
  57. package/resources/shared.d.mts +59 -0
  58. package/resources/shared.d.mts.map +1 -1
  59. package/resources/shared.d.ts +59 -0
  60. package/resources/shared.d.ts.map +1 -1
  61. package/resources/texml/accounts/calls/calls.d.mts +12 -10
  62. package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
  63. package/resources/texml/accounts/calls/calls.d.ts +12 -10
  64. package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
  65. package/resources/texml/accounts/calls/calls.js +4 -7
  66. package/resources/texml/accounts/calls/calls.js.map +1 -1
  67. package/resources/texml/accounts/calls/calls.mjs +4 -7
  68. package/resources/texml/accounts/calls/calls.mjs.map +1 -1
  69. package/resources/virtual-cross-connects.d.mts.map +1 -1
  70. package/resources/virtual-cross-connects.d.ts.map +1 -1
  71. package/resources/voice-clones.d.mts +205 -59
  72. package/resources/voice-clones.d.mts.map +1 -1
  73. package/resources/voice-clones.d.ts +205 -59
  74. package/resources/voice-clones.d.ts.map +1 -1
  75. package/resources/voice-clones.js +21 -12
  76. package/resources/voice-clones.js.map +1 -1
  77. package/resources/voice-clones.mjs +21 -12
  78. package/resources/voice-clones.mjs.map +1 -1
  79. package/resources/whatsapp/phone-numbers/profile/index.d.mts +1 -1
  80. package/resources/whatsapp/phone-numbers/profile/index.d.mts.map +1 -1
  81. package/resources/whatsapp/phone-numbers/profile/index.d.ts +1 -1
  82. package/resources/whatsapp/phone-numbers/profile/index.d.ts.map +1 -1
  83. package/resources/whatsapp/phone-numbers/profile/index.js.map +1 -1
  84. package/resources/whatsapp/phone-numbers/profile/index.mjs.map +1 -1
  85. package/resources/whatsapp/phone-numbers/profile/photo.d.mts +30 -1
  86. package/resources/whatsapp/phone-numbers/profile/photo.d.mts.map +1 -1
  87. package/resources/whatsapp/phone-numbers/profile/photo.d.ts +30 -1
  88. package/resources/whatsapp/phone-numbers/profile/photo.d.ts.map +1 -1
  89. package/resources/whatsapp/phone-numbers/profile/photo.js +14 -0
  90. package/resources/whatsapp/phone-numbers/profile/photo.js.map +1 -1
  91. package/resources/whatsapp/phone-numbers/profile/photo.mjs +14 -0
  92. package/resources/whatsapp/phone-numbers/profile/photo.mjs.map +1 -1
  93. package/resources/whatsapp/phone-numbers/profile/profile.d.mts +2 -2
  94. package/resources/whatsapp/phone-numbers/profile/profile.d.mts.map +1 -1
  95. package/resources/whatsapp/phone-numbers/profile/profile.d.ts +2 -2
  96. package/resources/whatsapp/phone-numbers/profile/profile.d.ts.map +1 -1
  97. package/resources/whatsapp/phone-numbers/profile/profile.js.map +1 -1
  98. package/resources/whatsapp/phone-numbers/profile/profile.mjs.map +1 -1
  99. package/resources/wireguard-interfaces.d.mts.map +1 -1
  100. package/resources/wireguard-interfaces.d.ts.map +1 -1
  101. package/src/client.ts +16 -4
  102. package/src/core/pagination.ts +3 -3
  103. package/src/internal/detect-platform.ts +1 -1
  104. package/src/resources/ai/assistants/assistants.ts +4 -84
  105. package/src/resources/calls/actions.ts +11 -24
  106. package/src/resources/calls/calls.ts +106 -0
  107. package/src/resources/calls/index.ts +1 -0
  108. package/src/resources/index.ts +5 -2
  109. package/src/resources/inexplicit-number-orders.ts +2 -1
  110. package/src/resources/networks/networks.ts +2 -1
  111. package/src/resources/pronunciation-dicts.ts +70 -465
  112. package/src/resources/shared.ts +73 -0
  113. package/src/resources/texml/accounts/calls/calls.ts +15 -23
  114. package/src/resources/virtual-cross-connects.ts +2 -1
  115. package/src/resources/voice-clones.ts +235 -58
  116. package/src/resources/whatsapp/phone-numbers/profile/index.ts +1 -1
  117. package/src/resources/whatsapp/phone-numbers/profile/photo.ts +41 -1
  118. package/src/resources/whatsapp/phone-numbers/profile/profile.ts +2 -1
  119. package/src/resources/wireguard-interfaces.ts +2 -1
  120. package/src/version.ts +1 -1
  121. package/version.d.mts +1 -1
  122. package/version.d.ts +1 -1
  123. package/version.js +1 -1
  124. 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 pronunciationDictListResponse of client.pronunciationDicts.list()) {
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<PronunciationDictListResponsesDefaultFlatPagination, PronunciationDictListResponse>;
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 PronunciationDictListResponsesDefaultFlatPagination = DefaultFlatPagination<PronunciationDictListResponse>;
96
+ export type PronunciationDictDataDefaultFlatPagination = DefaultFlatPagination<PronunciationDictData>;
97
97
  /**
98
- * Response containing a single pronunciation dictionary.
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 PronunciationDictCreateResponse {
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
- * A pronunciation dictionary record.
103
+ * The replacement text that will be spoken instead.
198
104
  */
199
- interface Data {
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
- * A pronunciation dictionary record.
107
+ * The text to match in the input. Case-insensitive matching is used during
108
+ * synthesis.
281
109
  */
282
- data?: PronunciationDictUpdateResponse.Data;
283
- }
284
- export declare namespace PronunciationDictUpdateResponse {
110
+ text: string;
285
111
  /**
286
- * A pronunciation dictionary record.
112
+ * The item type.
287
113
  */
288
- interface Data {
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 PronunciationDictListResponse {
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<PronunciationDictListResponse.PronunciationDictAliasItem | PronunciationDictListResponse.PronunciationDictPhonemeItem>;
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
- export declare namespace PronunciationDictListResponse {
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
- * An alias pronunciation item. When the `text` value is found in input, it is
401
- * replaced with the `alias` before speech synthesis.
156
+ * The phonetic alphabet used for the phoneme notation.
402
157
  */
403
- interface PronunciationDictAliasItem {
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
- * A phoneme pronunciation item. When the `text` value is found in input, it is
420
- * pronounced using the specified IPA phoneme notation.
160
+ * The phoneme notation representing the desired pronunciation.
421
161
  */
422
- interface PronunciationDictPhonemeItem {
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
- * List of pronunciation items (alias or phoneme type). At least one item is
445
- * required.
164
+ * The text to match in the input. Case-insensitive matching is used during
165
+ * synthesis.
446
166
  */
447
- items: Array<PronunciationDictCreateParams.PronunciationDictAliasItem | PronunciationDictCreateParams.PronunciationDictPhonemeItem>;
167
+ text: string;
448
168
  /**
449
- * Human-readable name. Must be unique within the organization.
169
+ * The item type.
450
170
  */
451
- name: string;
171
+ type: 'phoneme';
452
172
  }
453
- export declare namespace PronunciationDictCreateParams {
173
+ /**
174
+ * Response containing a single pronunciation dictionary.
175
+ */
176
+ export interface PronunciationDictCreateResponse {
454
177
  /**
455
- * An alias pronunciation item. When the `text` value is found in input, it is
456
- * replaced with the `alias` before speech synthesis.
178
+ * A pronunciation dictionary record.
457
179
  */
458
- interface PronunciationDictAliasItem {
459
- /**
460
- * The replacement text that will be spoken instead.
461
- */
462
- alias: string;
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 phoneme pronunciation item. When the `text` value is found in input, it is
475
- * pronounced using the specified IPA phoneme notation.
187
+ * A pronunciation dictionary record.
476
188
  */
477
- interface PronunciationDictPhonemeItem {
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
- export interface PronunciationDictUpdateParams {
191
+ /**
192
+ * Response containing a single pronunciation dictionary.
193
+ */
194
+ export interface PronunciationDictUpdateResponse {
498
195
  /**
499
- * Updated list of pronunciation items (alias or phoneme type).
196
+ * A pronunciation dictionary record.
500
197
  */
501
- items?: Array<PronunciationDictUpdateParams.PronunciationDictAliasItem | PronunciationDictUpdateParams.PronunciationDictPhonemeItem>;
198
+ data?: PronunciationDictData;
199
+ }
200
+ export interface PronunciationDictCreateParams {
502
201
  /**
503
- * Updated dictionary name.
202
+ * List of pronunciation items (alias or phoneme type). At least one item is
203
+ * required.
504
204
  */
505
- name?: string;
205
+ items: Array<PronunciationDictAliasItem | PronunciationDictPhonemeItem>;
206
+ /**
207
+ * Human-readable name. Must be unique within the organization.
208
+ */
209
+ name: string;
506
210
  }
507
- export declare namespace PronunciationDictUpdateParams {
211
+ export interface PronunciationDictUpdateParams {
508
212
  /**
509
- * An alias pronunciation item. When the `text` value is found in input, it is
510
- * replaced with the `alias` before speech synthesis.
213
+ * Updated list of pronunciation items (alias or phoneme type).
511
214
  */
512
- interface PronunciationDictAliasItem {
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
- * A phoneme pronunciation item. When the `text` value is found in input, it is
529
- * pronounced using the specified IPA phoneme notation.
217
+ * Updated dictionary name.
530
218
  */
531
- interface PronunciationDictPhonemeItem {
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 PronunciationDictCreateResponse as PronunciationDictCreateResponse, type PronunciationDictRetrieveResponse as PronunciationDictRetrieveResponse, type PronunciationDictUpdateResponse as PronunciationDictUpdateResponse, type PronunciationDictListResponse as PronunciationDictListResponse, type PronunciationDictListResponsesDefaultFlatPagination as PronunciationDictListResponsesDefaultFlatPagination, type PronunciationDictCreateParams as PronunciationDictCreateParams, type PronunciationDictUpdateParams as PronunciationDictUpdateParams, type PronunciationDictListParams as PronunciationDictListParams, };
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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