retell-sdk 5.15.0 → 5.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts.map +1 -1
- package/client.js +11 -0
- package/client.js.map +1 -1
- package/client.mjs +11 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent.d.mts +24 -15
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +24 -15
- package/resources/agent.d.ts.map +1 -1
- package/resources/batch-call.d.mts +9 -6
- package/resources/batch-call.d.mts.map +1 -1
- package/resources/batch-call.d.ts +9 -6
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.mts +33 -15
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +33 -15
- package/resources/call.d.ts.map +1 -1
- package/resources/call.js +14 -0
- package/resources/call.js.map +1 -1
- package/resources/call.mjs +14 -0
- package/resources/call.mjs.map +1 -1
- package/resources/chat-agent.d.mts +24 -15
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +24 -15
- package/resources/chat-agent.d.ts.map +1 -1
- package/src/client.ts +12 -0
- package/src/resources/agent.ts +219 -15
- package/src/resources/batch-call.ts +73 -5
- package/src/resources/call.ts +234 -15
- package/src/resources/chat-agent.ts +297 -18
- 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
package/src/resources/call.ts
CHANGED
|
@@ -127,6 +127,21 @@ export class Call extends APIResource {
|
|
|
127
127
|
): APIPromise<PhoneCallResponse> {
|
|
128
128
|
return this._client.post('/v2/register-phone-call', { body, ...options });
|
|
129
129
|
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Stop an ongoing call.
|
|
133
|
+
*
|
|
134
|
+
* @example
|
|
135
|
+
* ```ts
|
|
136
|
+
* await client.call.stop('call_a4441234567890777c4a4a123e6');
|
|
137
|
+
* ```
|
|
138
|
+
*/
|
|
139
|
+
stop(callID: string, options?: RequestOptions): APIPromise<void> {
|
|
140
|
+
return this._client.post(path`/v2/stop-call/${callID}`, {
|
|
141
|
+
...options,
|
|
142
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
143
|
+
});
|
|
144
|
+
}
|
|
130
145
|
}
|
|
131
146
|
|
|
132
147
|
export type CallResponse = WebCallResponse | PhoneCallResponse;
|
|
@@ -2796,10 +2811,13 @@ export namespace CallCreatePhoneCallParams {
|
|
|
2796
2811
|
ivr_option?: Agent.IvrOption | null;
|
|
2797
2812
|
|
|
2798
2813
|
/**
|
|
2799
|
-
* Specifies what language
|
|
2800
|
-
*
|
|
2801
|
-
*
|
|
2802
|
-
*
|
|
2814
|
+
* Specifies what language(s) the agent will operate in. Accepts either a single
|
|
2815
|
+
* scalar locale (e.g. `en-US`), the legacy scalar value `multi` for multilingual
|
|
2816
|
+
* support, or an array of concrete locale codes for explicit multi-locale
|
|
2817
|
+
* selection (e.g. `["en-US","es-ES"]`). The array form must contain concrete
|
|
2818
|
+
* locale codes only — the `multi` value is valid only as the scalar legacy form
|
|
2819
|
+
* and must not appear inside an array. Single-element arrays are normalized to the
|
|
2820
|
+
* equivalent scalar on output. If unset, defaults to `en-US`.
|
|
2803
2821
|
*/
|
|
2804
2822
|
language?:
|
|
2805
2823
|
| 'en-US'
|
|
@@ -2865,7 +2883,72 @@ export namespace CallCreatePhoneCallParams {
|
|
|
2865
2883
|
| 'ur-IN'
|
|
2866
2884
|
| 'yue-CN'
|
|
2867
2885
|
| 'uk-UA'
|
|
2868
|
-
| 'multi'
|
|
2886
|
+
| 'multi'
|
|
2887
|
+
| Array<
|
|
2888
|
+
| 'en-US'
|
|
2889
|
+
| 'en-IN'
|
|
2890
|
+
| 'en-GB'
|
|
2891
|
+
| 'en-AU'
|
|
2892
|
+
| 'en-NZ'
|
|
2893
|
+
| 'de-DE'
|
|
2894
|
+
| 'es-ES'
|
|
2895
|
+
| 'es-419'
|
|
2896
|
+
| 'hi-IN'
|
|
2897
|
+
| 'fr-FR'
|
|
2898
|
+
| 'fr-CA'
|
|
2899
|
+
| 'ja-JP'
|
|
2900
|
+
| 'pt-PT'
|
|
2901
|
+
| 'pt-BR'
|
|
2902
|
+
| 'zh-CN'
|
|
2903
|
+
| 'ru-RU'
|
|
2904
|
+
| 'it-IT'
|
|
2905
|
+
| 'ko-KR'
|
|
2906
|
+
| 'nl-NL'
|
|
2907
|
+
| 'nl-BE'
|
|
2908
|
+
| 'pl-PL'
|
|
2909
|
+
| 'tr-TR'
|
|
2910
|
+
| 'vi-VN'
|
|
2911
|
+
| 'ro-RO'
|
|
2912
|
+
| 'bg-BG'
|
|
2913
|
+
| 'ca-ES'
|
|
2914
|
+
| 'th-TH'
|
|
2915
|
+
| 'da-DK'
|
|
2916
|
+
| 'fi-FI'
|
|
2917
|
+
| 'el-GR'
|
|
2918
|
+
| 'hu-HU'
|
|
2919
|
+
| 'id-ID'
|
|
2920
|
+
| 'no-NO'
|
|
2921
|
+
| 'sk-SK'
|
|
2922
|
+
| 'sv-SE'
|
|
2923
|
+
| 'lt-LT'
|
|
2924
|
+
| 'lv-LV'
|
|
2925
|
+
| 'cs-CZ'
|
|
2926
|
+
| 'ms-MY'
|
|
2927
|
+
| 'af-ZA'
|
|
2928
|
+
| 'ar-SA'
|
|
2929
|
+
| 'az-AZ'
|
|
2930
|
+
| 'bs-BA'
|
|
2931
|
+
| 'cy-GB'
|
|
2932
|
+
| 'fa-IR'
|
|
2933
|
+
| 'fil-PH'
|
|
2934
|
+
| 'gl-ES'
|
|
2935
|
+
| 'he-IL'
|
|
2936
|
+
| 'hr-HR'
|
|
2937
|
+
| 'hy-AM'
|
|
2938
|
+
| 'is-IS'
|
|
2939
|
+
| 'kk-KZ'
|
|
2940
|
+
| 'kn-IN'
|
|
2941
|
+
| 'mk-MK'
|
|
2942
|
+
| 'mr-IN'
|
|
2943
|
+
| 'ne-NP'
|
|
2944
|
+
| 'sl-SI'
|
|
2945
|
+
| 'sr-RS'
|
|
2946
|
+
| 'sw-KE'
|
|
2947
|
+
| 'ta-IN'
|
|
2948
|
+
| 'ur-IN'
|
|
2949
|
+
| 'yue-CN'
|
|
2950
|
+
| 'uk-UA'
|
|
2951
|
+
>;
|
|
2869
2952
|
|
|
2870
2953
|
/**
|
|
2871
2954
|
* Maximum allowed length for the call, will force end the call if reached. The
|
|
@@ -4044,10 +4127,13 @@ export namespace CallCreateWebCallParams {
|
|
|
4044
4127
|
ivr_option?: Agent.IvrOption | null;
|
|
4045
4128
|
|
|
4046
4129
|
/**
|
|
4047
|
-
* Specifies what language
|
|
4048
|
-
*
|
|
4049
|
-
*
|
|
4050
|
-
*
|
|
4130
|
+
* Specifies what language(s) the agent will operate in. Accepts either a single
|
|
4131
|
+
* scalar locale (e.g. `en-US`), the legacy scalar value `multi` for multilingual
|
|
4132
|
+
* support, or an array of concrete locale codes for explicit multi-locale
|
|
4133
|
+
* selection (e.g. `["en-US","es-ES"]`). The array form must contain concrete
|
|
4134
|
+
* locale codes only — the `multi` value is valid only as the scalar legacy form
|
|
4135
|
+
* and must not appear inside an array. Single-element arrays are normalized to the
|
|
4136
|
+
* equivalent scalar on output. If unset, defaults to `en-US`.
|
|
4051
4137
|
*/
|
|
4052
4138
|
language?:
|
|
4053
4139
|
| 'en-US'
|
|
@@ -4113,7 +4199,72 @@ export namespace CallCreateWebCallParams {
|
|
|
4113
4199
|
| 'ur-IN'
|
|
4114
4200
|
| 'yue-CN'
|
|
4115
4201
|
| 'uk-UA'
|
|
4116
|
-
| 'multi'
|
|
4202
|
+
| 'multi'
|
|
4203
|
+
| Array<
|
|
4204
|
+
| 'en-US'
|
|
4205
|
+
| 'en-IN'
|
|
4206
|
+
| 'en-GB'
|
|
4207
|
+
| 'en-AU'
|
|
4208
|
+
| 'en-NZ'
|
|
4209
|
+
| 'de-DE'
|
|
4210
|
+
| 'es-ES'
|
|
4211
|
+
| 'es-419'
|
|
4212
|
+
| 'hi-IN'
|
|
4213
|
+
| 'fr-FR'
|
|
4214
|
+
| 'fr-CA'
|
|
4215
|
+
| 'ja-JP'
|
|
4216
|
+
| 'pt-PT'
|
|
4217
|
+
| 'pt-BR'
|
|
4218
|
+
| 'zh-CN'
|
|
4219
|
+
| 'ru-RU'
|
|
4220
|
+
| 'it-IT'
|
|
4221
|
+
| 'ko-KR'
|
|
4222
|
+
| 'nl-NL'
|
|
4223
|
+
| 'nl-BE'
|
|
4224
|
+
| 'pl-PL'
|
|
4225
|
+
| 'tr-TR'
|
|
4226
|
+
| 'vi-VN'
|
|
4227
|
+
| 'ro-RO'
|
|
4228
|
+
| 'bg-BG'
|
|
4229
|
+
| 'ca-ES'
|
|
4230
|
+
| 'th-TH'
|
|
4231
|
+
| 'da-DK'
|
|
4232
|
+
| 'fi-FI'
|
|
4233
|
+
| 'el-GR'
|
|
4234
|
+
| 'hu-HU'
|
|
4235
|
+
| 'id-ID'
|
|
4236
|
+
| 'no-NO'
|
|
4237
|
+
| 'sk-SK'
|
|
4238
|
+
| 'sv-SE'
|
|
4239
|
+
| 'lt-LT'
|
|
4240
|
+
| 'lv-LV'
|
|
4241
|
+
| 'cs-CZ'
|
|
4242
|
+
| 'ms-MY'
|
|
4243
|
+
| 'af-ZA'
|
|
4244
|
+
| 'ar-SA'
|
|
4245
|
+
| 'az-AZ'
|
|
4246
|
+
| 'bs-BA'
|
|
4247
|
+
| 'cy-GB'
|
|
4248
|
+
| 'fa-IR'
|
|
4249
|
+
| 'fil-PH'
|
|
4250
|
+
| 'gl-ES'
|
|
4251
|
+
| 'he-IL'
|
|
4252
|
+
| 'hr-HR'
|
|
4253
|
+
| 'hy-AM'
|
|
4254
|
+
| 'is-IS'
|
|
4255
|
+
| 'kk-KZ'
|
|
4256
|
+
| 'kn-IN'
|
|
4257
|
+
| 'mk-MK'
|
|
4258
|
+
| 'mr-IN'
|
|
4259
|
+
| 'ne-NP'
|
|
4260
|
+
| 'sl-SI'
|
|
4261
|
+
| 'sr-RS'
|
|
4262
|
+
| 'sw-KE'
|
|
4263
|
+
| 'ta-IN'
|
|
4264
|
+
| 'ur-IN'
|
|
4265
|
+
| 'yue-CN'
|
|
4266
|
+
| 'uk-UA'
|
|
4267
|
+
>;
|
|
4117
4268
|
|
|
4118
4269
|
/**
|
|
4119
4270
|
* Maximum allowed length for the call, will force end the call if reached. The
|
|
@@ -5292,10 +5443,13 @@ export namespace CallRegisterPhoneCallParams {
|
|
|
5292
5443
|
ivr_option?: Agent.IvrOption | null;
|
|
5293
5444
|
|
|
5294
5445
|
/**
|
|
5295
|
-
* Specifies what language
|
|
5296
|
-
*
|
|
5297
|
-
*
|
|
5298
|
-
*
|
|
5446
|
+
* Specifies what language(s) the agent will operate in. Accepts either a single
|
|
5447
|
+
* scalar locale (e.g. `en-US`), the legacy scalar value `multi` for multilingual
|
|
5448
|
+
* support, or an array of concrete locale codes for explicit multi-locale
|
|
5449
|
+
* selection (e.g. `["en-US","es-ES"]`). The array form must contain concrete
|
|
5450
|
+
* locale codes only — the `multi` value is valid only as the scalar legacy form
|
|
5451
|
+
* and must not appear inside an array. Single-element arrays are normalized to the
|
|
5452
|
+
* equivalent scalar on output. If unset, defaults to `en-US`.
|
|
5299
5453
|
*/
|
|
5300
5454
|
language?:
|
|
5301
5455
|
| 'en-US'
|
|
@@ -5361,7 +5515,72 @@ export namespace CallRegisterPhoneCallParams {
|
|
|
5361
5515
|
| 'ur-IN'
|
|
5362
5516
|
| 'yue-CN'
|
|
5363
5517
|
| 'uk-UA'
|
|
5364
|
-
| 'multi'
|
|
5518
|
+
| 'multi'
|
|
5519
|
+
| Array<
|
|
5520
|
+
| 'en-US'
|
|
5521
|
+
| 'en-IN'
|
|
5522
|
+
| 'en-GB'
|
|
5523
|
+
| 'en-AU'
|
|
5524
|
+
| 'en-NZ'
|
|
5525
|
+
| 'de-DE'
|
|
5526
|
+
| 'es-ES'
|
|
5527
|
+
| 'es-419'
|
|
5528
|
+
| 'hi-IN'
|
|
5529
|
+
| 'fr-FR'
|
|
5530
|
+
| 'fr-CA'
|
|
5531
|
+
| 'ja-JP'
|
|
5532
|
+
| 'pt-PT'
|
|
5533
|
+
| 'pt-BR'
|
|
5534
|
+
| 'zh-CN'
|
|
5535
|
+
| 'ru-RU'
|
|
5536
|
+
| 'it-IT'
|
|
5537
|
+
| 'ko-KR'
|
|
5538
|
+
| 'nl-NL'
|
|
5539
|
+
| 'nl-BE'
|
|
5540
|
+
| 'pl-PL'
|
|
5541
|
+
| 'tr-TR'
|
|
5542
|
+
| 'vi-VN'
|
|
5543
|
+
| 'ro-RO'
|
|
5544
|
+
| 'bg-BG'
|
|
5545
|
+
| 'ca-ES'
|
|
5546
|
+
| 'th-TH'
|
|
5547
|
+
| 'da-DK'
|
|
5548
|
+
| 'fi-FI'
|
|
5549
|
+
| 'el-GR'
|
|
5550
|
+
| 'hu-HU'
|
|
5551
|
+
| 'id-ID'
|
|
5552
|
+
| 'no-NO'
|
|
5553
|
+
| 'sk-SK'
|
|
5554
|
+
| 'sv-SE'
|
|
5555
|
+
| 'lt-LT'
|
|
5556
|
+
| 'lv-LV'
|
|
5557
|
+
| 'cs-CZ'
|
|
5558
|
+
| 'ms-MY'
|
|
5559
|
+
| 'af-ZA'
|
|
5560
|
+
| 'ar-SA'
|
|
5561
|
+
| 'az-AZ'
|
|
5562
|
+
| 'bs-BA'
|
|
5563
|
+
| 'cy-GB'
|
|
5564
|
+
| 'fa-IR'
|
|
5565
|
+
| 'fil-PH'
|
|
5566
|
+
| 'gl-ES'
|
|
5567
|
+
| 'he-IL'
|
|
5568
|
+
| 'hr-HR'
|
|
5569
|
+
| 'hy-AM'
|
|
5570
|
+
| 'is-IS'
|
|
5571
|
+
| 'kk-KZ'
|
|
5572
|
+
| 'kn-IN'
|
|
5573
|
+
| 'mk-MK'
|
|
5574
|
+
| 'mr-IN'
|
|
5575
|
+
| 'ne-NP'
|
|
5576
|
+
| 'sl-SI'
|
|
5577
|
+
| 'sr-RS'
|
|
5578
|
+
| 'sw-KE'
|
|
5579
|
+
| 'ta-IN'
|
|
5580
|
+
| 'ur-IN'
|
|
5581
|
+
| 'yue-CN'
|
|
5582
|
+
| 'uk-UA'
|
|
5583
|
+
>;
|
|
5365
5584
|
|
|
5366
5585
|
/**
|
|
5367
5586
|
* Maximum allowed length for the call, will force end the call if reached. The
|
|
@@ -223,10 +223,13 @@ export interface ChatAgentResponse {
|
|
|
223
223
|
is_published?: boolean;
|
|
224
224
|
|
|
225
225
|
/**
|
|
226
|
-
* Specifies what language
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
226
|
+
* Specifies what language(s) the agent will operate in. Accepts either a single
|
|
227
|
+
* scalar locale (e.g. `en-US`), the legacy scalar value `multi` for multilingual
|
|
228
|
+
* support, or an array of concrete locale codes for explicit multi-locale
|
|
229
|
+
* selection (e.g. `["en-US","es-ES"]`). The array form must contain concrete
|
|
230
|
+
* locale codes only — the `multi` value is valid only as the scalar legacy form
|
|
231
|
+
* and must not appear inside an array. Single-element arrays are normalized to the
|
|
232
|
+
* equivalent scalar on output. If unset, defaults to `en-US`.
|
|
230
233
|
*/
|
|
231
234
|
language?:
|
|
232
235
|
| 'en-US'
|
|
@@ -251,11 +254,11 @@ export interface ChatAgentResponse {
|
|
|
251
254
|
| 'nl-BE'
|
|
252
255
|
| 'pl-PL'
|
|
253
256
|
| 'tr-TR'
|
|
254
|
-
| 'th-TH'
|
|
255
257
|
| 'vi-VN'
|
|
256
258
|
| 'ro-RO'
|
|
257
259
|
| 'bg-BG'
|
|
258
260
|
| 'ca-ES'
|
|
261
|
+
| 'th-TH'
|
|
259
262
|
| 'da-DK'
|
|
260
263
|
| 'fi-FI'
|
|
261
264
|
| 'el-GR'
|
|
@@ -267,7 +270,97 @@ export interface ChatAgentResponse {
|
|
|
267
270
|
| 'lt-LT'
|
|
268
271
|
| 'lv-LV'
|
|
269
272
|
| 'cs-CZ'
|
|
270
|
-
| '
|
|
273
|
+
| 'ms-MY'
|
|
274
|
+
| 'af-ZA'
|
|
275
|
+
| 'ar-SA'
|
|
276
|
+
| 'az-AZ'
|
|
277
|
+
| 'bs-BA'
|
|
278
|
+
| 'cy-GB'
|
|
279
|
+
| 'fa-IR'
|
|
280
|
+
| 'fil-PH'
|
|
281
|
+
| 'gl-ES'
|
|
282
|
+
| 'he-IL'
|
|
283
|
+
| 'hr-HR'
|
|
284
|
+
| 'hy-AM'
|
|
285
|
+
| 'is-IS'
|
|
286
|
+
| 'kk-KZ'
|
|
287
|
+
| 'kn-IN'
|
|
288
|
+
| 'mk-MK'
|
|
289
|
+
| 'mr-IN'
|
|
290
|
+
| 'ne-NP'
|
|
291
|
+
| 'sl-SI'
|
|
292
|
+
| 'sr-RS'
|
|
293
|
+
| 'sw-KE'
|
|
294
|
+
| 'ta-IN'
|
|
295
|
+
| 'ur-IN'
|
|
296
|
+
| 'yue-CN'
|
|
297
|
+
| 'uk-UA'
|
|
298
|
+
| 'multi'
|
|
299
|
+
| Array<
|
|
300
|
+
| 'en-US'
|
|
301
|
+
| 'en-IN'
|
|
302
|
+
| 'en-GB'
|
|
303
|
+
| 'en-AU'
|
|
304
|
+
| 'en-NZ'
|
|
305
|
+
| 'de-DE'
|
|
306
|
+
| 'es-ES'
|
|
307
|
+
| 'es-419'
|
|
308
|
+
| 'hi-IN'
|
|
309
|
+
| 'fr-FR'
|
|
310
|
+
| 'fr-CA'
|
|
311
|
+
| 'ja-JP'
|
|
312
|
+
| 'pt-PT'
|
|
313
|
+
| 'pt-BR'
|
|
314
|
+
| 'zh-CN'
|
|
315
|
+
| 'ru-RU'
|
|
316
|
+
| 'it-IT'
|
|
317
|
+
| 'ko-KR'
|
|
318
|
+
| 'nl-NL'
|
|
319
|
+
| 'nl-BE'
|
|
320
|
+
| 'pl-PL'
|
|
321
|
+
| 'tr-TR'
|
|
322
|
+
| 'vi-VN'
|
|
323
|
+
| 'ro-RO'
|
|
324
|
+
| 'bg-BG'
|
|
325
|
+
| 'ca-ES'
|
|
326
|
+
| 'th-TH'
|
|
327
|
+
| 'da-DK'
|
|
328
|
+
| 'fi-FI'
|
|
329
|
+
| 'el-GR'
|
|
330
|
+
| 'hu-HU'
|
|
331
|
+
| 'id-ID'
|
|
332
|
+
| 'no-NO'
|
|
333
|
+
| 'sk-SK'
|
|
334
|
+
| 'sv-SE'
|
|
335
|
+
| 'lt-LT'
|
|
336
|
+
| 'lv-LV'
|
|
337
|
+
| 'cs-CZ'
|
|
338
|
+
| 'ms-MY'
|
|
339
|
+
| 'af-ZA'
|
|
340
|
+
| 'ar-SA'
|
|
341
|
+
| 'az-AZ'
|
|
342
|
+
| 'bs-BA'
|
|
343
|
+
| 'cy-GB'
|
|
344
|
+
| 'fa-IR'
|
|
345
|
+
| 'fil-PH'
|
|
346
|
+
| 'gl-ES'
|
|
347
|
+
| 'he-IL'
|
|
348
|
+
| 'hr-HR'
|
|
349
|
+
| 'hy-AM'
|
|
350
|
+
| 'is-IS'
|
|
351
|
+
| 'kk-KZ'
|
|
352
|
+
| 'kn-IN'
|
|
353
|
+
| 'mk-MK'
|
|
354
|
+
| 'mr-IN'
|
|
355
|
+
| 'ne-NP'
|
|
356
|
+
| 'sl-SI'
|
|
357
|
+
| 'sr-RS'
|
|
358
|
+
| 'sw-KE'
|
|
359
|
+
| 'ta-IN'
|
|
360
|
+
| 'ur-IN'
|
|
361
|
+
| 'yue-CN'
|
|
362
|
+
| 'uk-UA'
|
|
363
|
+
>;
|
|
271
364
|
|
|
272
365
|
/**
|
|
273
366
|
* Whether this agent opts in to signed url for public log. If not set, default
|
|
@@ -736,10 +829,13 @@ export interface ChatAgentCreateParams {
|
|
|
736
829
|
is_public?: boolean | null;
|
|
737
830
|
|
|
738
831
|
/**
|
|
739
|
-
* Specifies what language
|
|
740
|
-
*
|
|
741
|
-
*
|
|
742
|
-
*
|
|
832
|
+
* Specifies what language(s) the agent will operate in. Accepts either a single
|
|
833
|
+
* scalar locale (e.g. `en-US`), the legacy scalar value `multi` for multilingual
|
|
834
|
+
* support, or an array of concrete locale codes for explicit multi-locale
|
|
835
|
+
* selection (e.g. `["en-US","es-ES"]`). The array form must contain concrete
|
|
836
|
+
* locale codes only — the `multi` value is valid only as the scalar legacy form
|
|
837
|
+
* and must not appear inside an array. Single-element arrays are normalized to the
|
|
838
|
+
* equivalent scalar on output. If unset, defaults to `en-US`.
|
|
743
839
|
*/
|
|
744
840
|
language?:
|
|
745
841
|
| 'en-US'
|
|
@@ -764,11 +860,11 @@ export interface ChatAgentCreateParams {
|
|
|
764
860
|
| 'nl-BE'
|
|
765
861
|
| 'pl-PL'
|
|
766
862
|
| 'tr-TR'
|
|
767
|
-
| 'th-TH'
|
|
768
863
|
| 'vi-VN'
|
|
769
864
|
| 'ro-RO'
|
|
770
865
|
| 'bg-BG'
|
|
771
866
|
| 'ca-ES'
|
|
867
|
+
| 'th-TH'
|
|
772
868
|
| 'da-DK'
|
|
773
869
|
| 'fi-FI'
|
|
774
870
|
| 'el-GR'
|
|
@@ -780,7 +876,97 @@ export interface ChatAgentCreateParams {
|
|
|
780
876
|
| 'lt-LT'
|
|
781
877
|
| 'lv-LV'
|
|
782
878
|
| 'cs-CZ'
|
|
783
|
-
| '
|
|
879
|
+
| 'ms-MY'
|
|
880
|
+
| 'af-ZA'
|
|
881
|
+
| 'ar-SA'
|
|
882
|
+
| 'az-AZ'
|
|
883
|
+
| 'bs-BA'
|
|
884
|
+
| 'cy-GB'
|
|
885
|
+
| 'fa-IR'
|
|
886
|
+
| 'fil-PH'
|
|
887
|
+
| 'gl-ES'
|
|
888
|
+
| 'he-IL'
|
|
889
|
+
| 'hr-HR'
|
|
890
|
+
| 'hy-AM'
|
|
891
|
+
| 'is-IS'
|
|
892
|
+
| 'kk-KZ'
|
|
893
|
+
| 'kn-IN'
|
|
894
|
+
| 'mk-MK'
|
|
895
|
+
| 'mr-IN'
|
|
896
|
+
| 'ne-NP'
|
|
897
|
+
| 'sl-SI'
|
|
898
|
+
| 'sr-RS'
|
|
899
|
+
| 'sw-KE'
|
|
900
|
+
| 'ta-IN'
|
|
901
|
+
| 'ur-IN'
|
|
902
|
+
| 'yue-CN'
|
|
903
|
+
| 'uk-UA'
|
|
904
|
+
| 'multi'
|
|
905
|
+
| Array<
|
|
906
|
+
| 'en-US'
|
|
907
|
+
| 'en-IN'
|
|
908
|
+
| 'en-GB'
|
|
909
|
+
| 'en-AU'
|
|
910
|
+
| 'en-NZ'
|
|
911
|
+
| 'de-DE'
|
|
912
|
+
| 'es-ES'
|
|
913
|
+
| 'es-419'
|
|
914
|
+
| 'hi-IN'
|
|
915
|
+
| 'fr-FR'
|
|
916
|
+
| 'fr-CA'
|
|
917
|
+
| 'ja-JP'
|
|
918
|
+
| 'pt-PT'
|
|
919
|
+
| 'pt-BR'
|
|
920
|
+
| 'zh-CN'
|
|
921
|
+
| 'ru-RU'
|
|
922
|
+
| 'it-IT'
|
|
923
|
+
| 'ko-KR'
|
|
924
|
+
| 'nl-NL'
|
|
925
|
+
| 'nl-BE'
|
|
926
|
+
| 'pl-PL'
|
|
927
|
+
| 'tr-TR'
|
|
928
|
+
| 'vi-VN'
|
|
929
|
+
| 'ro-RO'
|
|
930
|
+
| 'bg-BG'
|
|
931
|
+
| 'ca-ES'
|
|
932
|
+
| 'th-TH'
|
|
933
|
+
| 'da-DK'
|
|
934
|
+
| 'fi-FI'
|
|
935
|
+
| 'el-GR'
|
|
936
|
+
| 'hu-HU'
|
|
937
|
+
| 'id-ID'
|
|
938
|
+
| 'no-NO'
|
|
939
|
+
| 'sk-SK'
|
|
940
|
+
| 'sv-SE'
|
|
941
|
+
| 'lt-LT'
|
|
942
|
+
| 'lv-LV'
|
|
943
|
+
| 'cs-CZ'
|
|
944
|
+
| 'ms-MY'
|
|
945
|
+
| 'af-ZA'
|
|
946
|
+
| 'ar-SA'
|
|
947
|
+
| 'az-AZ'
|
|
948
|
+
| 'bs-BA'
|
|
949
|
+
| 'cy-GB'
|
|
950
|
+
| 'fa-IR'
|
|
951
|
+
| 'fil-PH'
|
|
952
|
+
| 'gl-ES'
|
|
953
|
+
| 'he-IL'
|
|
954
|
+
| 'hr-HR'
|
|
955
|
+
| 'hy-AM'
|
|
956
|
+
| 'is-IS'
|
|
957
|
+
| 'kk-KZ'
|
|
958
|
+
| 'kn-IN'
|
|
959
|
+
| 'mk-MK'
|
|
960
|
+
| 'mr-IN'
|
|
961
|
+
| 'ne-NP'
|
|
962
|
+
| 'sl-SI'
|
|
963
|
+
| 'sr-RS'
|
|
964
|
+
| 'sw-KE'
|
|
965
|
+
| 'ta-IN'
|
|
966
|
+
| 'ur-IN'
|
|
967
|
+
| 'yue-CN'
|
|
968
|
+
| 'uk-UA'
|
|
969
|
+
>;
|
|
784
970
|
|
|
785
971
|
/**
|
|
786
972
|
* Whether this agent opts in to signed url for public log. If not set, default
|
|
@@ -1246,10 +1432,13 @@ export interface ChatAgentUpdateParams {
|
|
|
1246
1432
|
is_public?: boolean | null;
|
|
1247
1433
|
|
|
1248
1434
|
/**
|
|
1249
|
-
* Body param: Specifies what language
|
|
1250
|
-
*
|
|
1251
|
-
*
|
|
1252
|
-
*
|
|
1435
|
+
* Body param: Specifies what language(s) the agent will operate in. Accepts either
|
|
1436
|
+
* a single scalar locale (e.g. `en-US`), the legacy scalar value `multi` for
|
|
1437
|
+
* multilingual support, or an array of concrete locale codes for explicit
|
|
1438
|
+
* multi-locale selection (e.g. `["en-US","es-ES"]`). The array form must contain
|
|
1439
|
+
* concrete locale codes only — the `multi` value is valid only as the scalar
|
|
1440
|
+
* legacy form and must not appear inside an array. Single-element arrays are
|
|
1441
|
+
* normalized to the equivalent scalar on output. If unset, defaults to `en-US`.
|
|
1253
1442
|
*/
|
|
1254
1443
|
language?:
|
|
1255
1444
|
| 'en-US'
|
|
@@ -1274,11 +1463,11 @@ export interface ChatAgentUpdateParams {
|
|
|
1274
1463
|
| 'nl-BE'
|
|
1275
1464
|
| 'pl-PL'
|
|
1276
1465
|
| 'tr-TR'
|
|
1277
|
-
| 'th-TH'
|
|
1278
1466
|
| 'vi-VN'
|
|
1279
1467
|
| 'ro-RO'
|
|
1280
1468
|
| 'bg-BG'
|
|
1281
1469
|
| 'ca-ES'
|
|
1470
|
+
| 'th-TH'
|
|
1282
1471
|
| 'da-DK'
|
|
1283
1472
|
| 'fi-FI'
|
|
1284
1473
|
| 'el-GR'
|
|
@@ -1290,7 +1479,97 @@ export interface ChatAgentUpdateParams {
|
|
|
1290
1479
|
| 'lt-LT'
|
|
1291
1480
|
| 'lv-LV'
|
|
1292
1481
|
| 'cs-CZ'
|
|
1293
|
-
| '
|
|
1482
|
+
| 'ms-MY'
|
|
1483
|
+
| 'af-ZA'
|
|
1484
|
+
| 'ar-SA'
|
|
1485
|
+
| 'az-AZ'
|
|
1486
|
+
| 'bs-BA'
|
|
1487
|
+
| 'cy-GB'
|
|
1488
|
+
| 'fa-IR'
|
|
1489
|
+
| 'fil-PH'
|
|
1490
|
+
| 'gl-ES'
|
|
1491
|
+
| 'he-IL'
|
|
1492
|
+
| 'hr-HR'
|
|
1493
|
+
| 'hy-AM'
|
|
1494
|
+
| 'is-IS'
|
|
1495
|
+
| 'kk-KZ'
|
|
1496
|
+
| 'kn-IN'
|
|
1497
|
+
| 'mk-MK'
|
|
1498
|
+
| 'mr-IN'
|
|
1499
|
+
| 'ne-NP'
|
|
1500
|
+
| 'sl-SI'
|
|
1501
|
+
| 'sr-RS'
|
|
1502
|
+
| 'sw-KE'
|
|
1503
|
+
| 'ta-IN'
|
|
1504
|
+
| 'ur-IN'
|
|
1505
|
+
| 'yue-CN'
|
|
1506
|
+
| 'uk-UA'
|
|
1507
|
+
| 'multi'
|
|
1508
|
+
| Array<
|
|
1509
|
+
| 'en-US'
|
|
1510
|
+
| 'en-IN'
|
|
1511
|
+
| 'en-GB'
|
|
1512
|
+
| 'en-AU'
|
|
1513
|
+
| 'en-NZ'
|
|
1514
|
+
| 'de-DE'
|
|
1515
|
+
| 'es-ES'
|
|
1516
|
+
| 'es-419'
|
|
1517
|
+
| 'hi-IN'
|
|
1518
|
+
| 'fr-FR'
|
|
1519
|
+
| 'fr-CA'
|
|
1520
|
+
| 'ja-JP'
|
|
1521
|
+
| 'pt-PT'
|
|
1522
|
+
| 'pt-BR'
|
|
1523
|
+
| 'zh-CN'
|
|
1524
|
+
| 'ru-RU'
|
|
1525
|
+
| 'it-IT'
|
|
1526
|
+
| 'ko-KR'
|
|
1527
|
+
| 'nl-NL'
|
|
1528
|
+
| 'nl-BE'
|
|
1529
|
+
| 'pl-PL'
|
|
1530
|
+
| 'tr-TR'
|
|
1531
|
+
| 'vi-VN'
|
|
1532
|
+
| 'ro-RO'
|
|
1533
|
+
| 'bg-BG'
|
|
1534
|
+
| 'ca-ES'
|
|
1535
|
+
| 'th-TH'
|
|
1536
|
+
| 'da-DK'
|
|
1537
|
+
| 'fi-FI'
|
|
1538
|
+
| 'el-GR'
|
|
1539
|
+
| 'hu-HU'
|
|
1540
|
+
| 'id-ID'
|
|
1541
|
+
| 'no-NO'
|
|
1542
|
+
| 'sk-SK'
|
|
1543
|
+
| 'sv-SE'
|
|
1544
|
+
| 'lt-LT'
|
|
1545
|
+
| 'lv-LV'
|
|
1546
|
+
| 'cs-CZ'
|
|
1547
|
+
| 'ms-MY'
|
|
1548
|
+
| 'af-ZA'
|
|
1549
|
+
| 'ar-SA'
|
|
1550
|
+
| 'az-AZ'
|
|
1551
|
+
| 'bs-BA'
|
|
1552
|
+
| 'cy-GB'
|
|
1553
|
+
| 'fa-IR'
|
|
1554
|
+
| 'fil-PH'
|
|
1555
|
+
| 'gl-ES'
|
|
1556
|
+
| 'he-IL'
|
|
1557
|
+
| 'hr-HR'
|
|
1558
|
+
| 'hy-AM'
|
|
1559
|
+
| 'is-IS'
|
|
1560
|
+
| 'kk-KZ'
|
|
1561
|
+
| 'kn-IN'
|
|
1562
|
+
| 'mk-MK'
|
|
1563
|
+
| 'mr-IN'
|
|
1564
|
+
| 'ne-NP'
|
|
1565
|
+
| 'sl-SI'
|
|
1566
|
+
| 'sr-RS'
|
|
1567
|
+
| 'sw-KE'
|
|
1568
|
+
| 'ta-IN'
|
|
1569
|
+
| 'ur-IN'
|
|
1570
|
+
| 'yue-CN'
|
|
1571
|
+
| 'uk-UA'
|
|
1572
|
+
>;
|
|
1294
1573
|
|
|
1295
1574
|
/**
|
|
1296
1575
|
* Body param: Whether this agent opts in to signed url for public log. If not set,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.16.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.16.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.16.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|