retell-sdk 5.60.0 → 5.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/client.d.mts +3 -0
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +3 -0
  5. package/client.d.ts.map +1 -1
  6. package/client.js +3 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +3 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/agent.d.mts +33 -30
  12. package/resources/agent.d.mts.map +1 -1
  13. package/resources/agent.d.ts +33 -30
  14. package/resources/agent.d.ts.map +1 -1
  15. package/resources/batch-call.d.mts +13 -12
  16. package/resources/batch-call.d.mts.map +1 -1
  17. package/resources/batch-call.d.ts +13 -12
  18. package/resources/batch-call.d.ts.map +1 -1
  19. package/resources/call.d.mts +39 -36
  20. package/resources/call.d.mts.map +1 -1
  21. package/resources/call.d.ts +39 -36
  22. package/resources/call.d.ts.map +1 -1
  23. package/resources/chat-agent.d.mts +18 -21
  24. package/resources/chat-agent.d.mts.map +1 -1
  25. package/resources/chat-agent.d.ts +18 -21
  26. package/resources/chat-agent.d.ts.map +1 -1
  27. package/resources/chat.d.mts +38 -0
  28. package/resources/chat.d.mts.map +1 -1
  29. package/resources/chat.d.ts +38 -0
  30. package/resources/chat.d.ts.map +1 -1
  31. package/resources/conversation-flow-component.d.mts +123 -45
  32. package/resources/conversation-flow-component.d.mts.map +1 -1
  33. package/resources/conversation-flow-component.d.ts +123 -45
  34. package/resources/conversation-flow-component.d.ts.map +1 -1
  35. package/resources/conversation-flow.d.mts +258 -99
  36. package/resources/conversation-flow.d.mts.map +1 -1
  37. package/resources/conversation-flow.d.ts +258 -99
  38. package/resources/conversation-flow.d.ts.map +1 -1
  39. package/resources/identity.d.mts +23 -0
  40. package/resources/identity.d.mts.map +1 -0
  41. package/resources/identity.d.ts +23 -0
  42. package/resources/identity.d.ts.map +1 -0
  43. package/resources/identity.js +15 -0
  44. package/resources/identity.js.map +1 -0
  45. package/resources/identity.mjs +11 -0
  46. package/resources/identity.mjs.map +1 -0
  47. package/resources/index.d.mts +1 -0
  48. package/resources/index.d.mts.map +1 -1
  49. package/resources/index.d.ts +1 -0
  50. package/resources/index.d.ts.map +1 -1
  51. package/resources/index.js +3 -1
  52. package/resources/index.js.map +1 -1
  53. package/resources/index.mjs +1 -0
  54. package/resources/index.mjs.map +1 -1
  55. package/resources/llm.d.mts +102 -9
  56. package/resources/llm.d.mts.map +1 -1
  57. package/resources/llm.d.ts +102 -9
  58. package/resources/llm.d.ts.map +1 -1
  59. package/resources/playground.d.mts +38 -0
  60. package/resources/playground.d.mts.map +1 -1
  61. package/resources/playground.d.ts +38 -0
  62. package/resources/playground.d.ts.map +1 -1
  63. package/resources/tests.d.mts +3 -3
  64. package/resources/tests.d.mts.map +1 -1
  65. package/resources/tests.d.ts +3 -3
  66. package/resources/tests.d.ts.map +1 -1
  67. package/src/client.ts +5 -0
  68. package/src/resources/agent.ts +36 -27
  69. package/src/resources/batch-call.ts +17 -10
  70. package/src/resources/call.ts +51 -30
  71. package/src/resources/chat-agent.ts +21 -18
  72. package/src/resources/chat.ts +44 -0
  73. package/src/resources/conversation-flow-component.ts +213 -45
  74. package/src/resources/conversation-flow.ts +444 -99
  75. package/src/resources/identity.ts +30 -0
  76. package/src/resources/index.ts +1 -0
  77. package/src/resources/llm.ts +114 -6
  78. package/src/resources/playground.ts +44 -0
  79. package/src/resources/tests.ts +9 -3
  80. package/src/version.ts +1 -1
  81. package/version.d.mts +1 -1
  82. package/version.d.ts +1 -1
  83. package/version.js +1 -1
  84. package/version.mjs +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"tests.d.ts","sourceRoot":"","sources":["../src/resources/tests.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AAEjD,OAAO,EAAE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;QAExD;;;WAGG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;;;WAIG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;;WAGG;QACH,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;KACzB;IAED,UAAiB,QAAQ,CAAC;QACxB,UAAiB,IAAI;YACnB;;;eAGG;YACH,IAAI,EAAE,KAAK,CAAC;SACb;QAED,UAAiB,YAAY;YAC3B;;;;eAIG;YACH,IAAI,EAAE,OAAO,CAAC;YAEd;;eAEG;YACH,IAAI,EAAE,eAAe,CAAC;SACvB;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,kCAAkC,IAAI,kCAAkC,GAC9E,CAAC;CACH"}
package/src/client.ts CHANGED
@@ -95,6 +95,7 @@ import {
95
95
  ExportRequestListParams,
96
96
  ExportRequestListResponse,
97
97
  } from './resources/export-request';
98
+ import { Identity, IdentityRetrieveResponse } from './resources/identity';
98
99
  import {
99
100
  KnowledgeBase,
100
101
  KnowledgeBaseAddSourcesParams,
@@ -885,6 +886,7 @@ export class Retell {
885
886
  knowledgeBase: API.KnowledgeBase = new API.KnowledgeBase(this);
886
887
  voice: API.Voice = new API.Voice(this);
887
888
  concurrency: API.Concurrency = new API.Concurrency(this);
889
+ identity: API.Identity = new API.Identity(this);
888
890
  exportRequest: API.ExportRequest = new API.ExportRequest(this);
889
891
  batchCall: API.BatchCall = new API.BatchCall(this);
890
892
  tests: API.Tests = new API.Tests(this);
@@ -903,6 +905,7 @@ Retell.ConversationFlowComponent = ConversationFlowComponent;
903
905
  Retell.KnowledgeBase = KnowledgeBase;
904
906
  Retell.Voice = Voice;
905
907
  Retell.Concurrency = Concurrency;
908
+ Retell.Identity = Identity;
906
909
  Retell.ExportRequest = ExportRequest;
907
910
  Retell.BatchCall = BatchCall;
908
911
  Retell.Tests = Tests;
@@ -1029,6 +1032,8 @@ export declare namespace Retell {
1029
1032
 
1030
1033
  export { Concurrency as Concurrency, type ConcurrencyRetrieveResponse as ConcurrencyRetrieveResponse };
1031
1034
 
1035
+ export { Identity as Identity, type IdentityRetrieveResponse as IdentityRetrieveResponse };
1036
+
1032
1037
  export {
1033
1038
  ExportRequest as ExportRequest,
1034
1039
  type ExportRequestListResponse as ExportRequestListResponse,
@@ -448,12 +448,11 @@ export interface AgentResponse {
448
448
 
449
449
  /**
450
450
  * Specifies what language(s) the agent will operate in. Accepts either a single
451
- * scalar locale (e.g. `en-US`), the legacy scalar value `multi` for multilingual
452
- * support, or an array of concrete locale codes for explicit multi-locale
453
- * selection (e.g. `["en-US","es-ES"]`). The array form must contain concrete
454
- * locale codes only — the `multi` value is valid only as the scalar legacy form
455
- * and must not appear inside an array. Single-element arrays are normalized to the
456
- * equivalent scalar on output. If unset, defaults to `en-US`.
451
+ * locale (e.g. `en-US`) or an array of locales for multilingual agents (e.g.
452
+ * `["en-US","es-ES"]`). The scalar value `multi` is deprecated but still accepted
453
+ * as a scalar, and is stored and returned as the ten locales it used to mean. It
454
+ * must not appear inside the array form. Send an explicit locale array instead. If
455
+ * unset, defaults to `en-US`.
457
456
  */
458
457
  language?:
459
458
  | 'en-US'
@@ -643,6 +642,8 @@ export interface AgentResponse {
643
642
  | 'gemini-3.0-flash'
644
643
  | 'gemini-3.1-flash-lite'
645
644
  | 'gemini-3.5-flash'
645
+ | 'gemini-3.5-flash-lite'
646
+ | 'gemini-3.6-flash'
646
647
  | null;
647
648
 
648
649
  /**
@@ -1197,12 +1198,14 @@ export namespace AgentResponse {
1197
1198
 
1198
1199
  export interface PronunciationDictionary {
1199
1200
  /**
1200
- * The phonetic alphabet to be used for pronunciation.
1201
+ * The phonetic alphabet to use. MiniMax speech-02-turbo supports IPA and Pinyin.
1202
+ * MiniMax speech-2.8-turbo also supports Jyutping. Support for other alphabets
1203
+ * depends on the selected voice provider and model.
1201
1204
  */
1202
- alphabet: 'ipa' | 'cmu';
1205
+ alphabet: 'ipa' | 'cmu' | 'pinyin' | 'jyutping';
1203
1206
 
1204
1207
  /**
1205
- * Pronunciation of the word in the format of a IPA / CMU pronunciation.
1208
+ * Pronunciation of the word in the format of the selected phonetic alphabet.
1206
1209
  */
1207
1210
  phoneme: string;
1208
1211
 
@@ -1575,12 +1578,11 @@ export interface AgentCreateParams {
1575
1578
 
1576
1579
  /**
1577
1580
  * Specifies what language(s) the agent will operate in. Accepts either a single
1578
- * scalar locale (e.g. `en-US`), the legacy scalar value `multi` for multilingual
1579
- * support, or an array of concrete locale codes for explicit multi-locale
1580
- * selection (e.g. `["en-US","es-ES"]`). The array form must contain concrete
1581
- * locale codes only — the `multi` value is valid only as the scalar legacy form
1582
- * and must not appear inside an array. Single-element arrays are normalized to the
1583
- * equivalent scalar on output. If unset, defaults to `en-US`.
1581
+ * locale (e.g. `en-US`) or an array of locales for multilingual agents (e.g.
1582
+ * `["en-US","es-ES"]`). The scalar value `multi` is deprecated but still accepted
1583
+ * as a scalar, and is stored and returned as the ten locales it used to mean. It
1584
+ * must not appear inside the array form. Send an explicit locale array instead. If
1585
+ * unset, defaults to `en-US`.
1584
1586
  */
1585
1587
  language?:
1586
1588
  | 'en-US'
@@ -1770,6 +1772,8 @@ export interface AgentCreateParams {
1770
1772
  | 'gemini-3.0-flash'
1771
1773
  | 'gemini-3.1-flash-lite'
1772
1774
  | 'gemini-3.5-flash'
1775
+ | 'gemini-3.5-flash-lite'
1776
+ | 'gemini-3.6-flash'
1773
1777
  | null;
1774
1778
 
1775
1779
  /**
@@ -2324,12 +2328,14 @@ export namespace AgentCreateParams {
2324
2328
 
2325
2329
  export interface PronunciationDictionary {
2326
2330
  /**
2327
- * The phonetic alphabet to be used for pronunciation.
2331
+ * The phonetic alphabet to use. MiniMax speech-02-turbo supports IPA and Pinyin.
2332
+ * MiniMax speech-2.8-turbo also supports Jyutping. Support for other alphabets
2333
+ * depends on the selected voice provider and model.
2328
2334
  */
2329
- alphabet: 'ipa' | 'cmu';
2335
+ alphabet: 'ipa' | 'cmu' | 'pinyin' | 'jyutping';
2330
2336
 
2331
2337
  /**
2332
- * Pronunciation of the word in the format of a IPA / CMU pronunciation.
2338
+ * Pronunciation of the word in the format of the selected phonetic alphabet.
2333
2339
  */
2334
2340
  phoneme: string;
2335
2341
 
@@ -2651,12 +2657,11 @@ export interface AgentUpdateParams {
2651
2657
 
2652
2658
  /**
2653
2659
  * Body param: Specifies what language(s) the agent will operate in. Accepts either
2654
- * a single scalar locale (e.g. `en-US`), the legacy scalar value `multi` for
2655
- * multilingual support, or an array of concrete locale codes for explicit
2656
- * multi-locale selection (e.g. `["en-US","es-ES"]`). The array form must contain
2657
- * concrete locale codes only — the `multi` value is valid only as the scalar
2658
- * legacy form and must not appear inside an array. Single-element arrays are
2659
- * normalized to the equivalent scalar on output. If unset, defaults to `en-US`.
2660
+ * a single locale (e.g. `en-US`) or an array of locales for multilingual agents
2661
+ * (e.g. `["en-US","es-ES"]`). The scalar value `multi` is deprecated but still
2662
+ * accepted as a scalar, and is stored and returned as the ten locales it used to
2663
+ * mean. It must not appear inside the array form. Send an explicit locale array
2664
+ * instead. If unset, defaults to `en-US`.
2660
2665
  */
2661
2666
  language?:
2662
2667
  | 'en-US'
@@ -2846,6 +2851,8 @@ export interface AgentUpdateParams {
2846
2851
  | 'gemini-3.0-flash'
2847
2852
  | 'gemini-3.1-flash-lite'
2848
2853
  | 'gemini-3.5-flash'
2854
+ | 'gemini-3.5-flash-lite'
2855
+ | 'gemini-3.6-flash'
2849
2856
  | null;
2850
2857
 
2851
2858
  /**
@@ -3377,12 +3384,14 @@ export namespace AgentUpdateParams {
3377
3384
 
3378
3385
  export interface PronunciationDictionary {
3379
3386
  /**
3380
- * The phonetic alphabet to be used for pronunciation.
3387
+ * The phonetic alphabet to use. MiniMax speech-02-turbo supports IPA and Pinyin.
3388
+ * MiniMax speech-2.8-turbo also supports Jyutping. Support for other alphabets
3389
+ * depends on the selected voice provider and model.
3381
3390
  */
3382
- alphabet: 'ipa' | 'cmu';
3391
+ alphabet: 'ipa' | 'cmu' | 'pinyin' | 'jyutping';
3383
3392
 
3384
3393
  /**
3385
- * Pronunciation of the word in the format of a IPA / CMU pronunciation.
3394
+ * Pronunciation of the word in the format of the selected phonetic alphabet.
3386
3395
  */
3387
3396
  phoneme: string;
3388
3397
 
@@ -449,12 +449,11 @@ export namespace BatchCallCreateBatchCallParams {
449
449
 
450
450
  /**
451
451
  * Specifies what language(s) the agent will operate in. Accepts either a single
452
- * scalar locale (e.g. `en-US`), the legacy scalar value `multi` for multilingual
453
- * support, or an array of concrete locale codes for explicit multi-locale
454
- * selection (e.g. `["en-US","es-ES"]`). The array form must contain concrete
455
- * locale codes only — the `multi` value is valid only as the scalar legacy form
456
- * and must not appear inside an array. Single-element arrays are normalized to the
457
- * equivalent scalar on output. If unset, defaults to `en-US`.
452
+ * locale (e.g. `en-US`) or an array of locales for multilingual agents (e.g.
453
+ * `["en-US","es-ES"]`). The scalar value `multi` is deprecated but still accepted
454
+ * as a scalar, and is stored and returned as the ten locales it used to mean. It
455
+ * must not appear inside the array form. Send an explicit locale array instead. If
456
+ * unset, defaults to `en-US`.
458
457
  */
459
458
  language?:
460
459
  | 'en-US'
@@ -644,6 +643,8 @@ export namespace BatchCallCreateBatchCallParams {
644
643
  | 'gemini-3.0-flash'
645
644
  | 'gemini-3.1-flash-lite'
646
645
  | 'gemini-3.5-flash'
646
+ | 'gemini-3.5-flash-lite'
647
+ | 'gemini-3.6-flash'
647
648
  | null;
648
649
 
649
650
  /**
@@ -1168,12 +1169,14 @@ export namespace BatchCallCreateBatchCallParams {
1168
1169
 
1169
1170
  export interface PronunciationDictionary {
1170
1171
  /**
1171
- * The phonetic alphabet to be used for pronunciation.
1172
+ * The phonetic alphabet to use. MiniMax speech-02-turbo supports IPA and Pinyin.
1173
+ * MiniMax speech-2.8-turbo also supports Jyutping. Support for other alphabets
1174
+ * depends on the selected voice provider and model.
1172
1175
  */
1173
- alphabet: 'ipa' | 'cmu';
1176
+ alphabet: 'ipa' | 'cmu' | 'pinyin' | 'jyutping';
1174
1177
 
1175
1178
  /**
1176
- * Pronunciation of the word in the format of a IPA / CMU pronunciation.
1179
+ * Pronunciation of the word in the format of the selected phonetic alphabet.
1177
1180
  */
1178
1181
  phoneme: string;
1179
1182
 
@@ -1392,7 +1395,9 @@ export namespace BatchCallCreateBatchCallParams {
1392
1395
  | 'claude-4.5-haiku'
1393
1396
  | 'gemini-3.0-flash'
1394
1397
  | 'gemini-3.1-flash-lite'
1395
- | 'gemini-3.5-flash';
1398
+ | 'gemini-3.5-flash'
1399
+ | 'gemini-3.5-flash-lite'
1400
+ | 'gemini-3.6-flash';
1396
1401
 
1397
1402
  /**
1398
1403
  * Type of model choice
@@ -1463,6 +1468,8 @@ export namespace BatchCallCreateBatchCallParams {
1463
1468
  | 'gemini-3.0-flash'
1464
1469
  | 'gemini-3.1-flash-lite'
1465
1470
  | 'gemini-3.5-flash'
1471
+ | 'gemini-3.5-flash-lite'
1472
+ | 'gemini-3.6-flash'
1466
1473
  | null;
1467
1474
 
1468
1475
  /**
@@ -5294,12 +5294,11 @@ export namespace CallCreatePhoneCallParams {
5294
5294
 
5295
5295
  /**
5296
5296
  * Specifies what language(s) the agent will operate in. Accepts either a single
5297
- * scalar locale (e.g. `en-US`), the legacy scalar value `multi` for multilingual
5298
- * support, or an array of concrete locale codes for explicit multi-locale
5299
- * selection (e.g. `["en-US","es-ES"]`). The array form must contain concrete
5300
- * locale codes only — the `multi` value is valid only as the scalar legacy form
5301
- * and must not appear inside an array. Single-element arrays are normalized to the
5302
- * equivalent scalar on output. If unset, defaults to `en-US`.
5297
+ * locale (e.g. `en-US`) or an array of locales for multilingual agents (e.g.
5298
+ * `["en-US","es-ES"]`). The scalar value `multi` is deprecated but still accepted
5299
+ * as a scalar, and is stored and returned as the ten locales it used to mean. It
5300
+ * must not appear inside the array form. Send an explicit locale array instead. If
5301
+ * unset, defaults to `en-US`.
5303
5302
  */
5304
5303
  language?:
5305
5304
  | 'en-US'
@@ -5489,6 +5488,8 @@ export namespace CallCreatePhoneCallParams {
5489
5488
  | 'gemini-3.0-flash'
5490
5489
  | 'gemini-3.1-flash-lite'
5491
5490
  | 'gemini-3.5-flash'
5491
+ | 'gemini-3.5-flash-lite'
5492
+ | 'gemini-3.6-flash'
5492
5493
  | null;
5493
5494
 
5494
5495
  /**
@@ -6013,12 +6014,14 @@ export namespace CallCreatePhoneCallParams {
6013
6014
 
6014
6015
  export interface PronunciationDictionary {
6015
6016
  /**
6016
- * The phonetic alphabet to be used for pronunciation.
6017
+ * The phonetic alphabet to use. MiniMax speech-02-turbo supports IPA and Pinyin.
6018
+ * MiniMax speech-2.8-turbo also supports Jyutping. Support for other alphabets
6019
+ * depends on the selected voice provider and model.
6017
6020
  */
6018
- alphabet: 'ipa' | 'cmu';
6021
+ alphabet: 'ipa' | 'cmu' | 'pinyin' | 'jyutping';
6019
6022
 
6020
6023
  /**
6021
- * Pronunciation of the word in the format of a IPA / CMU pronunciation.
6024
+ * Pronunciation of the word in the format of the selected phonetic alphabet.
6022
6025
  */
6023
6026
  phoneme: string;
6024
6027
 
@@ -6237,7 +6240,9 @@ export namespace CallCreatePhoneCallParams {
6237
6240
  | 'claude-4.5-haiku'
6238
6241
  | 'gemini-3.0-flash'
6239
6242
  | 'gemini-3.1-flash-lite'
6240
- | 'gemini-3.5-flash';
6243
+ | 'gemini-3.5-flash'
6244
+ | 'gemini-3.5-flash-lite'
6245
+ | 'gemini-3.6-flash';
6241
6246
 
6242
6247
  /**
6243
6248
  * Type of model choice
@@ -6308,6 +6313,8 @@ export namespace CallCreatePhoneCallParams {
6308
6313
  | 'gemini-3.0-flash'
6309
6314
  | 'gemini-3.1-flash-lite'
6310
6315
  | 'gemini-3.5-flash'
6316
+ | 'gemini-3.5-flash-lite'
6317
+ | 'gemini-3.6-flash'
6311
6318
  | null;
6312
6319
 
6313
6320
  /**
@@ -6677,12 +6684,11 @@ export namespace CallCreateWebCallParams {
6677
6684
 
6678
6685
  /**
6679
6686
  * Specifies what language(s) the agent will operate in. Accepts either a single
6680
- * scalar locale (e.g. `en-US`), the legacy scalar value `multi` for multilingual
6681
- * support, or an array of concrete locale codes for explicit multi-locale
6682
- * selection (e.g. `["en-US","es-ES"]`). The array form must contain concrete
6683
- * locale codes only — the `multi` value is valid only as the scalar legacy form
6684
- * and must not appear inside an array. Single-element arrays are normalized to the
6685
- * equivalent scalar on output. If unset, defaults to `en-US`.
6687
+ * locale (e.g. `en-US`) or an array of locales for multilingual agents (e.g.
6688
+ * `["en-US","es-ES"]`). The scalar value `multi` is deprecated but still accepted
6689
+ * as a scalar, and is stored and returned as the ten locales it used to mean. It
6690
+ * must not appear inside the array form. Send an explicit locale array instead. If
6691
+ * unset, defaults to `en-US`.
6686
6692
  */
6687
6693
  language?:
6688
6694
  | 'en-US'
@@ -6872,6 +6878,8 @@ export namespace CallCreateWebCallParams {
6872
6878
  | 'gemini-3.0-flash'
6873
6879
  | 'gemini-3.1-flash-lite'
6874
6880
  | 'gemini-3.5-flash'
6881
+ | 'gemini-3.5-flash-lite'
6882
+ | 'gemini-3.6-flash'
6875
6883
  | null;
6876
6884
 
6877
6885
  /**
@@ -7396,12 +7404,14 @@ export namespace CallCreateWebCallParams {
7396
7404
 
7397
7405
  export interface PronunciationDictionary {
7398
7406
  /**
7399
- * The phonetic alphabet to be used for pronunciation.
7407
+ * The phonetic alphabet to use. MiniMax speech-02-turbo supports IPA and Pinyin.
7408
+ * MiniMax speech-2.8-turbo also supports Jyutping. Support for other alphabets
7409
+ * depends on the selected voice provider and model.
7400
7410
  */
7401
- alphabet: 'ipa' | 'cmu';
7411
+ alphabet: 'ipa' | 'cmu' | 'pinyin' | 'jyutping';
7402
7412
 
7403
7413
  /**
7404
- * Pronunciation of the word in the format of a IPA / CMU pronunciation.
7414
+ * Pronunciation of the word in the format of the selected phonetic alphabet.
7405
7415
  */
7406
7416
  phoneme: string;
7407
7417
 
@@ -7620,7 +7630,9 @@ export namespace CallCreateWebCallParams {
7620
7630
  | 'claude-4.5-haiku'
7621
7631
  | 'gemini-3.0-flash'
7622
7632
  | 'gemini-3.1-flash-lite'
7623
- | 'gemini-3.5-flash';
7633
+ | 'gemini-3.5-flash'
7634
+ | 'gemini-3.5-flash-lite'
7635
+ | 'gemini-3.6-flash';
7624
7636
 
7625
7637
  /**
7626
7638
  * Type of model choice
@@ -7691,6 +7703,8 @@ export namespace CallCreateWebCallParams {
7691
7703
  | 'gemini-3.0-flash'
7692
7704
  | 'gemini-3.1-flash-lite'
7693
7705
  | 'gemini-3.5-flash'
7706
+ | 'gemini-3.5-flash-lite'
7707
+ | 'gemini-3.6-flash'
7694
7708
  | null;
7695
7709
 
7696
7710
  /**
@@ -8060,12 +8074,11 @@ export namespace CallRegisterPhoneCallParams {
8060
8074
 
8061
8075
  /**
8062
8076
  * Specifies what language(s) the agent will operate in. Accepts either a single
8063
- * scalar locale (e.g. `en-US`), the legacy scalar value `multi` for multilingual
8064
- * support, or an array of concrete locale codes for explicit multi-locale
8065
- * selection (e.g. `["en-US","es-ES"]`). The array form must contain concrete
8066
- * locale codes only — the `multi` value is valid only as the scalar legacy form
8067
- * and must not appear inside an array. Single-element arrays are normalized to the
8068
- * equivalent scalar on output. If unset, defaults to `en-US`.
8077
+ * locale (e.g. `en-US`) or an array of locales for multilingual agents (e.g.
8078
+ * `["en-US","es-ES"]`). The scalar value `multi` is deprecated but still accepted
8079
+ * as a scalar, and is stored and returned as the ten locales it used to mean. It
8080
+ * must not appear inside the array form. Send an explicit locale array instead. If
8081
+ * unset, defaults to `en-US`.
8069
8082
  */
8070
8083
  language?:
8071
8084
  | 'en-US'
@@ -8255,6 +8268,8 @@ export namespace CallRegisterPhoneCallParams {
8255
8268
  | 'gemini-3.0-flash'
8256
8269
  | 'gemini-3.1-flash-lite'
8257
8270
  | 'gemini-3.5-flash'
8271
+ | 'gemini-3.5-flash-lite'
8272
+ | 'gemini-3.6-flash'
8258
8273
  | null;
8259
8274
 
8260
8275
  /**
@@ -8779,12 +8794,14 @@ export namespace CallRegisterPhoneCallParams {
8779
8794
 
8780
8795
  export interface PronunciationDictionary {
8781
8796
  /**
8782
- * The phonetic alphabet to be used for pronunciation.
8797
+ * The phonetic alphabet to use. MiniMax speech-02-turbo supports IPA and Pinyin.
8798
+ * MiniMax speech-2.8-turbo also supports Jyutping. Support for other alphabets
8799
+ * depends on the selected voice provider and model.
8783
8800
  */
8784
- alphabet: 'ipa' | 'cmu';
8801
+ alphabet: 'ipa' | 'cmu' | 'pinyin' | 'jyutping';
8785
8802
 
8786
8803
  /**
8787
- * Pronunciation of the word in the format of a IPA / CMU pronunciation.
8804
+ * Pronunciation of the word in the format of the selected phonetic alphabet.
8788
8805
  */
8789
8806
  phoneme: string;
8790
8807
 
@@ -9003,7 +9020,9 @@ export namespace CallRegisterPhoneCallParams {
9003
9020
  | 'claude-4.5-haiku'
9004
9021
  | 'gemini-3.0-flash'
9005
9022
  | 'gemini-3.1-flash-lite'
9006
- | 'gemini-3.5-flash';
9023
+ | 'gemini-3.5-flash'
9024
+ | 'gemini-3.5-flash-lite'
9025
+ | 'gemini-3.6-flash';
9007
9026
 
9008
9027
  /**
9009
9028
  * Type of model choice
@@ -9074,6 +9093,8 @@ export namespace CallRegisterPhoneCallParams {
9074
9093
  | 'gemini-3.0-flash'
9075
9094
  | 'gemini-3.1-flash-lite'
9076
9095
  | 'gemini-3.5-flash'
9096
+ | 'gemini-3.5-flash-lite'
9097
+ | 'gemini-3.6-flash'
9077
9098
  | null;
9078
9099
 
9079
9100
  /**
@@ -266,12 +266,11 @@ export interface ChatAgentResponse {
266
266
 
267
267
  /**
268
268
  * Specifies what language(s) the agent will operate in. Accepts either a single
269
- * scalar locale (e.g. `en-US`), the legacy scalar value `multi` for multilingual
270
- * support, or an array of concrete locale codes for explicit multi-locale
271
- * selection (e.g. `["en-US","es-ES"]`). The array form must contain concrete
272
- * locale codes only — the `multi` value is valid only as the scalar legacy form
273
- * and must not appear inside an array. Single-element arrays are normalized to the
274
- * equivalent scalar on output. If unset, defaults to `en-US`.
269
+ * locale (e.g. `en-US`) or an array of locales for multilingual agents (e.g.
270
+ * `["en-US","es-ES"]`). The scalar value `multi` is deprecated but still accepted
271
+ * as a scalar, and is stored and returned as the ten locales it used to mean. It
272
+ * must not appear inside the array form. Send an explicit locale array instead. If
273
+ * unset, defaults to `en-US`.
275
274
  */
276
275
  language?:
277
276
  | 'en-US'
@@ -453,6 +452,8 @@ export interface ChatAgentResponse {
453
452
  | 'gemini-3.0-flash'
454
453
  | 'gemini-3.1-flash-lite'
455
454
  | 'gemini-3.5-flash'
455
+ | 'gemini-3.5-flash-lite'
456
+ | 'gemini-3.6-flash'
456
457
  | null;
457
458
 
458
459
  /**
@@ -907,12 +908,11 @@ export interface ChatAgentCreateParams {
907
908
 
908
909
  /**
909
910
  * Specifies what language(s) the agent will operate in. Accepts either a single
910
- * scalar locale (e.g. `en-US`), the legacy scalar value `multi` for multilingual
911
- * support, or an array of concrete locale codes for explicit multi-locale
912
- * selection (e.g. `["en-US","es-ES"]`). The array form must contain concrete
913
- * locale codes only — the `multi` value is valid only as the scalar legacy form
914
- * and must not appear inside an array. Single-element arrays are normalized to the
915
- * equivalent scalar on output. If unset, defaults to `en-US`.
911
+ * locale (e.g. `en-US`) or an array of locales for multilingual agents (e.g.
912
+ * `["en-US","es-ES"]`). The scalar value `multi` is deprecated but still accepted
913
+ * as a scalar, and is stored and returned as the ten locales it used to mean. It
914
+ * must not appear inside the array form. Send an explicit locale array instead. If
915
+ * unset, defaults to `en-US`.
916
916
  */
917
917
  language?:
918
918
  | 'en-US'
@@ -1094,6 +1094,8 @@ export interface ChatAgentCreateParams {
1094
1094
  | 'gemini-3.0-flash'
1095
1095
  | 'gemini-3.1-flash-lite'
1096
1096
  | 'gemini-3.5-flash'
1097
+ | 'gemini-3.5-flash-lite'
1098
+ | 'gemini-3.6-flash'
1097
1099
  | null;
1098
1100
 
1099
1101
  /**
@@ -1495,12 +1497,11 @@ export interface ChatAgentUpdateParams {
1495
1497
 
1496
1498
  /**
1497
1499
  * Body param: Specifies what language(s) the agent will operate in. Accepts either
1498
- * a single scalar locale (e.g. `en-US`), the legacy scalar value `multi` for
1499
- * multilingual support, or an array of concrete locale codes for explicit
1500
- * multi-locale selection (e.g. `["en-US","es-ES"]`). The array form must contain
1501
- * concrete locale codes only — the `multi` value is valid only as the scalar
1502
- * legacy form and must not appear inside an array. Single-element arrays are
1503
- * normalized to the equivalent scalar on output. If unset, defaults to `en-US`.
1500
+ * a single locale (e.g. `en-US`) or an array of locales for multilingual agents
1501
+ * (e.g. `["en-US","es-ES"]`). The scalar value `multi` is deprecated but still
1502
+ * accepted as a scalar, and is stored and returned as the ten locales it used to
1503
+ * mean. It must not appear inside the array form. Send an explicit locale array
1504
+ * instead. If unset, defaults to `en-US`.
1504
1505
  */
1505
1506
  language?:
1506
1507
  | 'en-US'
@@ -1682,6 +1683,8 @@ export interface ChatAgentUpdateParams {
1682
1683
  | 'gemini-3.0-flash'
1683
1684
  | 'gemini-3.1-flash-lite'
1684
1685
  | 'gemini-3.5-flash'
1686
+ | 'gemini-3.5-flash-lite'
1687
+ | 'gemini-3.6-flash'
1685
1688
  | null;
1686
1689
 
1687
1690
  /**
@@ -342,6 +342,28 @@ export namespace ChatResponse {
342
342
  * Unique id of the message
343
343
  */
344
344
  message_id?: string;
345
+
346
+ /**
347
+ * Multimedia attachments received with this message (MMS). Display only; a textual
348
+ * summary of each attachment is already included in content. Response only —
349
+ * supplying it in a request has no effect and is silently ignored. Omitted from
350
+ * PII-scrubbed messages.
351
+ */
352
+ multimedia?: Array<MessageBase.Multimedia>;
353
+ }
354
+
355
+ export namespace MessageBase {
356
+ export interface Multimedia {
357
+ /**
358
+ * URL of the multimedia attachment.
359
+ */
360
+ url: string;
361
+
362
+ /**
363
+ * Optional textual summary of the attachment.
364
+ */
365
+ summary?: string;
366
+ }
345
367
  }
346
368
 
347
369
  export interface ToolCallInvocationMessageBase {
@@ -619,6 +641,28 @@ export namespace ChatCreateChatCompletionResponse {
619
641
  * Unique id of the message
620
642
  */
621
643
  message_id?: string;
644
+
645
+ /**
646
+ * Multimedia attachments received with this message (MMS). Display only; a textual
647
+ * summary of each attachment is already included in content. Response only —
648
+ * supplying it in a request has no effect and is silently ignored. Omitted from
649
+ * PII-scrubbed messages.
650
+ */
651
+ multimedia?: Array<MessageBase.Multimedia>;
652
+ }
653
+
654
+ export namespace MessageBase {
655
+ export interface Multimedia {
656
+ /**
657
+ * URL of the multimedia attachment.
658
+ */
659
+ url: string;
660
+
661
+ /**
662
+ * Optional textual summary of the attachment.
663
+ */
664
+ summary?: string;
665
+ }
622
666
  }
623
667
 
624
668
  export interface ToolCallInvocationMessageBase {