@vapi-ai/web 2.2.6 → 2.2.7

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 (4) hide show
  1. package/api.ts +279 -6
  2. package/dist/api.d.ts +203 -15
  3. package/dist/api.js +16 -0
  4. package/package.json +1 -1
package/api.ts CHANGED
@@ -537,10 +537,15 @@ export interface DeepgramTranscriber {
537
537
  | 'base-conversationalai'
538
538
  | 'base-voicemail'
539
539
  | 'base-video'
540
+ | 'whisper'
540
541
  | string;
541
542
  /** This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview */
542
543
  language?:
544
+ | 'ar'
545
+ | 'az'
546
+ | 'ba'
543
547
  | 'bg'
548
+ | 'br'
544
549
  | 'ca'
545
550
  | 'cs'
546
551
  | 'da'
@@ -558,19 +563,28 @@ export interface DeepgramTranscriber {
558
563
  | 'es-419'
559
564
  | 'es-LATAM'
560
565
  | 'et'
566
+ | 'eu'
561
567
  | 'fi'
562
568
  | 'fr'
563
569
  | 'fr-CA'
570
+ | 'ha'
571
+ | 'haw'
572
+ | 'he'
564
573
  | 'hi'
565
574
  | 'hi-Latn'
566
575
  | 'hu'
567
576
  | 'id'
577
+ | 'is'
568
578
  | 'it'
569
579
  | 'ja'
580
+ | 'jw'
581
+ | 'kn'
570
582
  | 'ko'
571
583
  | 'ko-KR'
584
+ | 'ln'
572
585
  | 'lt'
573
586
  | 'lv'
587
+ | 'mk'
574
588
  | 'ms'
575
589
  | 'multi'
576
590
  | 'nl'
@@ -582,6 +596,11 @@ export interface DeepgramTranscriber {
582
596
  | 'ro'
583
597
  | 'ru'
584
598
  | 'sk'
599
+ | 'sl'
600
+ | 'sn'
601
+ | 'so'
602
+ | 'sr'
603
+ | 'su'
585
604
  | 'sv'
586
605
  | 'sv-SE'
587
606
  | 'ta'
@@ -589,8 +608,11 @@ export interface DeepgramTranscriber {
589
608
  | 'th'
590
609
  | 'th-TH'
591
610
  | 'tr'
611
+ | 'tt'
592
612
  | 'uk'
613
+ | 'ur'
593
614
  | 'vi'
615
+ | 'yo'
594
616
  | 'zh'
595
617
  | 'zh-CN'
596
618
  | 'zh-HK'
@@ -1583,10 +1605,15 @@ export interface FallbackDeepgramTranscriber {
1583
1605
  | 'base-conversationalai'
1584
1606
  | 'base-voicemail'
1585
1607
  | 'base-video'
1608
+ | 'whisper'
1586
1609
  | string;
1587
1610
  /** This is the language that will be set for the transcription. The list of languages Deepgram supports can be found here: https://developers.deepgram.com/docs/models-languages-overview */
1588
1611
  language?:
1612
+ | 'ar'
1613
+ | 'az'
1614
+ | 'ba'
1589
1615
  | 'bg'
1616
+ | 'br'
1590
1617
  | 'ca'
1591
1618
  | 'cs'
1592
1619
  | 'da'
@@ -1604,19 +1631,28 @@ export interface FallbackDeepgramTranscriber {
1604
1631
  | 'es-419'
1605
1632
  | 'es-LATAM'
1606
1633
  | 'et'
1634
+ | 'eu'
1607
1635
  | 'fi'
1608
1636
  | 'fr'
1609
1637
  | 'fr-CA'
1638
+ | 'ha'
1639
+ | 'haw'
1640
+ | 'he'
1610
1641
  | 'hi'
1611
1642
  | 'hi-Latn'
1612
1643
  | 'hu'
1613
1644
  | 'id'
1645
+ | 'is'
1614
1646
  | 'it'
1615
1647
  | 'ja'
1648
+ | 'jw'
1649
+ | 'kn'
1616
1650
  | 'ko'
1617
1651
  | 'ko-KR'
1652
+ | 'ln'
1618
1653
  | 'lt'
1619
1654
  | 'lv'
1655
+ | 'mk'
1620
1656
  | 'ms'
1621
1657
  | 'multi'
1622
1658
  | 'nl'
@@ -1628,6 +1664,11 @@ export interface FallbackDeepgramTranscriber {
1628
1664
  | 'ro'
1629
1665
  | 'ru'
1630
1666
  | 'sk'
1667
+ | 'sl'
1668
+ | 'sn'
1669
+ | 'so'
1670
+ | 'sr'
1671
+ | 'su'
1631
1672
  | 'sv'
1632
1673
  | 'sv-SE'
1633
1674
  | 'ta'
@@ -1635,8 +1676,11 @@ export interface FallbackDeepgramTranscriber {
1635
1676
  | 'th'
1636
1677
  | 'th-TH'
1637
1678
  | 'tr'
1679
+ | 'tt'
1638
1680
  | 'uk'
1681
+ | 'ur'
1639
1682
  | 'vi'
1683
+ | 'yo'
1640
1684
  | 'zh'
1641
1685
  | 'zh-CN'
1642
1686
  | 'zh-HK'
@@ -2570,7 +2614,7 @@ export interface Condition {
2570
2614
  * This is the value you want to compare against the parameter.
2571
2615
  * @maxLength 1000
2572
2616
  */
2573
- value: object;
2617
+ value: string;
2574
2618
  }
2575
2619
 
2576
2620
  export interface ToolMessageStart {
@@ -4476,7 +4520,9 @@ export interface OpenAIModel {
4476
4520
  | 'gpt-4.1-nano'
4477
4521
  | 'gpt-4.5-preview'
4478
4522
  | 'chatgpt-4o-latest'
4523
+ | 'o3'
4479
4524
  | 'o3-mini'
4525
+ | 'o4-mini'
4480
4526
  | 'o1-preview'
4481
4527
  | 'o1-preview-2024-09-12'
4482
4528
  | 'o1-mini'
@@ -4512,7 +4558,9 @@ export interface OpenAIModel {
4512
4558
  | 'gpt-4.1-nano'
4513
4559
  | 'gpt-4.5-preview'
4514
4560
  | 'chatgpt-4o-latest'
4561
+ | 'o3'
4515
4562
  | 'o3-mini'
4563
+ | 'o4-mini'
4516
4564
  | 'o1-preview'
4517
4565
  | 'o1-preview-2024-09-12'
4518
4566
  | 'o1-mini'
@@ -5182,6 +5230,12 @@ export interface FallbackPlan {
5182
5230
  }
5183
5231
 
5184
5232
  export interface AzureVoice {
5233
+ /**
5234
+ * This is the flag to toggle voice caching for the assistant.
5235
+ * @default true
5236
+ * @example true
5237
+ */
5238
+ cachingEnabled?: boolean;
5185
5239
  /** This is the voice provider that will be used. */
5186
5240
  provider: 'azure';
5187
5241
  /** This is the provider-specific ID that will be used. */
@@ -5225,6 +5279,12 @@ export interface CartesiaExperimentalControls {
5225
5279
  }
5226
5280
 
5227
5281
  export interface CartesiaVoice {
5282
+ /**
5283
+ * This is the flag to toggle voice caching for the assistant.
5284
+ * @default true
5285
+ * @example true
5286
+ */
5287
+ cachingEnabled?: boolean;
5228
5288
  /** This is the voice provider that will be used. */
5229
5289
  provider: 'cartesia';
5230
5290
  /** The ID of the particular voice you want to use. */
@@ -5263,6 +5323,12 @@ export interface CartesiaVoice {
5263
5323
  }
5264
5324
 
5265
5325
  export interface CustomVoice {
5326
+ /**
5327
+ * This is the flag to toggle voice caching for the assistant.
5328
+ * @default true
5329
+ * @example true
5330
+ */
5331
+ cachingEnabled?: boolean;
5266
5332
  /** This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported. */
5267
5333
  provider: 'custom-voice';
5268
5334
  /** This is the plan for chunking the model output before it is sent to the voice provider. */
@@ -5297,6 +5363,12 @@ export interface CustomVoice {
5297
5363
  }
5298
5364
 
5299
5365
  export interface DeepgramVoice {
5366
+ /**
5367
+ * This is the flag to toggle voice caching for the assistant.
5368
+ * @default true
5369
+ * @example true
5370
+ */
5371
+ cachingEnabled?: boolean;
5300
5372
  /** This is the voice provider that will be used. */
5301
5373
  provider: 'deepgram';
5302
5374
  /**
@@ -5371,6 +5443,12 @@ export interface DeepgramVoice {
5371
5443
  }
5372
5444
 
5373
5445
  export interface ElevenLabsVoice {
5446
+ /**
5447
+ * This is the flag to toggle voice caching for the assistant.
5448
+ * @default true
5449
+ * @example true
5450
+ */
5451
+ cachingEnabled?: boolean;
5374
5452
  /** This is the voice provider that will be used. */
5375
5453
  provider: '11labs';
5376
5454
  /** This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library. */
@@ -5463,6 +5541,12 @@ export interface ElevenLabsVoice {
5463
5541
  }
5464
5542
 
5465
5543
  export interface HumeVoice {
5544
+ /**
5545
+ * This is the flag to toggle voice caching for the assistant.
5546
+ * @default true
5547
+ * @example true
5548
+ */
5549
+ cachingEnabled?: boolean;
5466
5550
  /** This is the voice provider that will be used. */
5467
5551
  provider: 'hume';
5468
5552
  /**
@@ -5491,6 +5575,12 @@ export interface HumeVoice {
5491
5575
  }
5492
5576
 
5493
5577
  export interface LMNTVoice {
5578
+ /**
5579
+ * This is the flag to toggle voice caching for the assistant.
5580
+ * @default true
5581
+ * @example true
5582
+ */
5583
+ cachingEnabled?: boolean;
5494
5584
  /** This is the voice provider that will be used. */
5495
5585
  provider: 'lmnt';
5496
5586
  /** This is the provider-specific ID that will be used. */
@@ -5509,6 +5599,12 @@ export interface LMNTVoice {
5509
5599
  }
5510
5600
 
5511
5601
  export interface NeuphonicVoice {
5602
+ /**
5603
+ * This is the flag to toggle voice caching for the assistant.
5604
+ * @default true
5605
+ * @example true
5606
+ */
5607
+ cachingEnabled?: boolean;
5512
5608
  /** This is the voice provider that will be used. */
5513
5609
  provider: 'neuphonic';
5514
5610
  /** This is the provider-specific ID that will be used. */
@@ -5537,6 +5633,12 @@ export interface NeuphonicVoice {
5537
5633
  }
5538
5634
 
5539
5635
  export interface OpenAIVoice {
5636
+ /**
5637
+ * This is the flag to toggle voice caching for the assistant.
5638
+ * @default true
5639
+ * @example true
5640
+ */
5641
+ cachingEnabled?: boolean;
5540
5642
  /** This is the voice provider that will be used. */
5541
5643
  provider: 'openai';
5542
5644
  /**
@@ -5566,6 +5668,12 @@ export interface OpenAIVoice {
5566
5668
  }
5567
5669
 
5568
5670
  export interface PlayHTVoice {
5671
+ /**
5672
+ * This is the flag to toggle voice caching for the assistant.
5673
+ * @default true
5674
+ * @example true
5675
+ */
5676
+ cachingEnabled?: boolean;
5569
5677
  /** This is the voice provider that will be used. */
5570
5678
  provider: 'playht';
5571
5679
  /** This is the provider-specific ID that will be used. */
@@ -5681,6 +5789,12 @@ export interface PlayHTVoice {
5681
5789
  }
5682
5790
 
5683
5791
  export interface RimeAIVoice {
5792
+ /**
5793
+ * This is the flag to toggle voice caching for the assistant.
5794
+ * @default true
5795
+ * @example true
5796
+ */
5797
+ cachingEnabled?: boolean;
5684
5798
  /** This is the voice provider that will be used. */
5685
5799
  provider: 'rime-ai';
5686
5800
  /** This is the provider-specific ID that will be used. */
@@ -5807,6 +5921,12 @@ export interface RimeAIVoice {
5807
5921
  }
5808
5922
 
5809
5923
  export interface SmallestAIVoice {
5924
+ /**
5925
+ * This is the flag to toggle voice caching for the assistant.
5926
+ * @default true
5927
+ * @example true
5928
+ */
5929
+ cachingEnabled?: boolean;
5810
5930
  /** This is the voice provider that will be used. */
5811
5931
  provider: 'smallest-ai';
5812
5932
  /** This is the provider-specific ID that will be used. */
@@ -5892,6 +6012,12 @@ export interface TavusConversationProperties {
5892
6012
  }
5893
6013
 
5894
6014
  export interface TavusVoice {
6015
+ /**
6016
+ * This is the flag to toggle voice caching for the assistant.
6017
+ * @default true
6018
+ * @example true
6019
+ */
6020
+ cachingEnabled?: boolean;
5895
6021
  /** This is the voice provider that will be used. */
5896
6022
  provider: 'tavus';
5897
6023
  /** This is the provider-specific ID that will be used. */
@@ -5915,6 +6041,12 @@ export interface TavusVoice {
5915
6041
  }
5916
6042
 
5917
6043
  export interface VapiVoice {
6044
+ /**
6045
+ * This is the flag to toggle voice caching for the assistant.
6046
+ * @default true
6047
+ * @example true
6048
+ */
6049
+ cachingEnabled?: boolean;
5918
6050
  /** This is the voice provider that will be used. */
5919
6051
  provider: 'vapi';
5920
6052
  /** The voices provided by Vapi */
@@ -5991,6 +6123,12 @@ export interface VapiVoice {
5991
6123
  }
5992
6124
 
5993
6125
  export interface FallbackAzureVoice {
6126
+ /**
6127
+ * This is the flag to toggle voice caching for the assistant.
6128
+ * @default true
6129
+ * @example true
6130
+ */
6131
+ cachingEnabled?: boolean;
5994
6132
  /** This is the voice provider that will be used. */
5995
6133
  provider: 'azure';
5996
6134
  /** This is the provider-specific ID that will be used. */
@@ -6006,6 +6144,12 @@ export interface FallbackAzureVoice {
6006
6144
  }
6007
6145
 
6008
6146
  export interface FallbackCartesiaVoice {
6147
+ /**
6148
+ * This is the flag to toggle voice caching for the assistant.
6149
+ * @default true
6150
+ * @example true
6151
+ */
6152
+ cachingEnabled?: boolean;
6009
6153
  /** This is the voice provider that will be used. */
6010
6154
  provider: 'cartesia';
6011
6155
  /** The ID of the particular voice you want to use. */
@@ -6042,6 +6186,12 @@ export interface FallbackCartesiaVoice {
6042
6186
  }
6043
6187
 
6044
6188
  export interface FallbackCustomVoice {
6189
+ /**
6190
+ * This is the flag to toggle voice caching for the assistant.
6191
+ * @default true
6192
+ * @example true
6193
+ */
6194
+ cachingEnabled?: boolean;
6045
6195
  /** This is the voice provider that will be used. Use `custom-voice` for providers that are not natively supported. */
6046
6196
  provider: 'custom-voice';
6047
6197
  /**
@@ -6074,6 +6224,12 @@ export interface FallbackCustomVoice {
6074
6224
  }
6075
6225
 
6076
6226
  export interface FallbackDeepgramVoice {
6227
+ /**
6228
+ * This is the flag to toggle voice caching for the assistant.
6229
+ * @default true
6230
+ * @example true
6231
+ */
6232
+ cachingEnabled?: boolean;
6077
6233
  /** This is the voice provider that will be used. */
6078
6234
  provider: 'deepgram';
6079
6235
  /**
@@ -6146,6 +6302,12 @@ export interface FallbackDeepgramVoice {
6146
6302
  }
6147
6303
 
6148
6304
  export interface FallbackElevenLabsVoice {
6305
+ /**
6306
+ * This is the flag to toggle voice caching for the assistant.
6307
+ * @default true
6308
+ * @example true
6309
+ */
6310
+ cachingEnabled?: boolean;
6149
6311
  /** This is the voice provider that will be used. */
6150
6312
  provider: '11labs';
6151
6313
  /** This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library. */
@@ -6236,6 +6398,12 @@ export interface FallbackElevenLabsVoice {
6236
6398
  }
6237
6399
 
6238
6400
  export interface FallbackHumeVoice {
6401
+ /**
6402
+ * This is the flag to toggle voice caching for the assistant.
6403
+ * @default true
6404
+ * @example true
6405
+ */
6406
+ cachingEnabled?: boolean;
6239
6407
  /** This is the voice provider that will be used. */
6240
6408
  provider: 'hume';
6241
6409
  /**
@@ -6262,6 +6430,12 @@ export interface FallbackHumeVoice {
6262
6430
  }
6263
6431
 
6264
6432
  export interface FallbackLMNTVoice {
6433
+ /**
6434
+ * This is the flag to toggle voice caching for the assistant.
6435
+ * @default true
6436
+ * @example true
6437
+ */
6438
+ cachingEnabled?: boolean;
6265
6439
  /** This is the voice provider that will be used. */
6266
6440
  provider: 'lmnt';
6267
6441
  /** This is the provider-specific ID that will be used. */
@@ -6278,6 +6452,12 @@ export interface FallbackLMNTVoice {
6278
6452
  }
6279
6453
 
6280
6454
  export interface FallbackNeuphonicVoice {
6455
+ /**
6456
+ * This is the flag to toggle voice caching for the assistant.
6457
+ * @default true
6458
+ * @example true
6459
+ */
6460
+ cachingEnabled?: boolean;
6281
6461
  /** This is the voice provider that will be used. */
6282
6462
  provider: 'neuphonic';
6283
6463
  /** This is the provider-specific ID that will be used. */
@@ -6304,6 +6484,12 @@ export interface FallbackNeuphonicVoice {
6304
6484
  }
6305
6485
 
6306
6486
  export interface FallbackOpenAIVoice {
6487
+ /**
6488
+ * This is the flag to toggle voice caching for the assistant.
6489
+ * @default true
6490
+ * @example true
6491
+ */
6492
+ cachingEnabled?: boolean;
6307
6493
  /** This is the voice provider that will be used. */
6308
6494
  provider: 'openai';
6309
6495
  /**
@@ -6331,6 +6517,12 @@ export interface FallbackOpenAIVoice {
6331
6517
  }
6332
6518
 
6333
6519
  export interface FallbackPlayHTVoice {
6520
+ /**
6521
+ * This is the flag to toggle voice caching for the assistant.
6522
+ * @default true
6523
+ * @example true
6524
+ */
6525
+ cachingEnabled?: boolean;
6334
6526
  /** This is the voice provider that will be used. */
6335
6527
  provider: 'playht';
6336
6528
  /** This is the provider-specific ID that will be used. */
@@ -6444,6 +6636,12 @@ export interface FallbackPlayHTVoice {
6444
6636
  }
6445
6637
 
6446
6638
  export interface FallbackRimeAIVoice {
6639
+ /**
6640
+ * This is the flag to toggle voice caching for the assistant.
6641
+ * @default true
6642
+ * @example true
6643
+ */
6644
+ cachingEnabled?: boolean;
6447
6645
  /** This is the voice provider that will be used. */
6448
6646
  provider: 'rime-ai';
6449
6647
  /** This is the provider-specific ID that will be used. */
@@ -6568,6 +6766,12 @@ export interface FallbackRimeAIVoice {
6568
6766
  }
6569
6767
 
6570
6768
  export interface FallbackSmallestAIVoice {
6769
+ /**
6770
+ * This is the flag to toggle voice caching for the assistant.
6771
+ * @default true
6772
+ * @example true
6773
+ */
6774
+ cachingEnabled?: boolean;
6571
6775
  /** This is the voice provider that will be used. */
6572
6776
  provider: 'smallest-ai';
6573
6777
  /** This is the provider-specific ID that will be used. */
@@ -6610,6 +6814,12 @@ export interface FallbackSmallestAIVoice {
6610
6814
  }
6611
6815
 
6612
6816
  export interface FallbackTavusVoice {
6817
+ /**
6818
+ * This is the flag to toggle voice caching for the assistant.
6819
+ * @default true
6820
+ * @example true
6821
+ */
6822
+ cachingEnabled?: boolean;
6613
6823
  /** This is the voice provider that will be used. */
6614
6824
  provider: 'tavus';
6615
6825
  /** This is the provider-specific ID that will be used. */
@@ -6631,6 +6841,12 @@ export interface FallbackTavusVoice {
6631
6841
  }
6632
6842
 
6633
6843
  export interface FallbackVapiVoice {
6844
+ /**
6845
+ * This is the flag to toggle voice caching for the assistant.
6846
+ * @default true
6847
+ * @example true
6848
+ */
6849
+ cachingEnabled?: boolean;
6634
6850
  /** This is the voice provider that will be used. */
6635
6851
  provider: 'vapi';
6636
6852
  /** The voices provided by Vapi */
@@ -7047,7 +7263,7 @@ export interface CreateCloudflareCredentialDTO {
7047
7263
  }
7048
7264
 
7049
7265
  export interface OAuth2AuthenticationPlan {
7050
- type: 'oauth2';
7266
+ type: 'oauth2' | 'aws-sts';
7051
7267
  /** This is the OAuth2 URL. */
7052
7268
  url: string;
7053
7269
  /** This is the OAuth2 client ID. */
@@ -8406,6 +8622,7 @@ export interface CreateAssistantDTO {
8406
8622
  | 'transcript'
8407
8623
  | 'tool-calls'
8408
8624
  | 'tool-calls-result'
8625
+ | 'tool.completed'
8409
8626
  | 'transfer-update'
8410
8627
  | 'user-interrupted'
8411
8628
  | 'voice-input'
@@ -8811,6 +9028,7 @@ export interface AssistantOverrides {
8811
9028
  | 'transcript'
8812
9029
  | 'tool-calls'
8813
9030
  | 'tool-calls-result'
9031
+ | 'tool.completed'
8814
9032
  | 'transfer-update'
8815
9033
  | 'user-interrupted'
8816
9034
  | 'voice-input'
@@ -9392,6 +9610,8 @@ export interface Call {
9392
9610
  | 'vonage-failed-to-connect-call'
9393
9611
  | 'vonage-completed'
9394
9612
  | 'phone-call-provider-bypass-enabled-but-no-call-received'
9613
+ | 'call.in-progress.error-providerfault-transport-never-connected'
9614
+ | 'call.in-progress.error-vapifault-worker-not-available'
9395
9615
  | 'call.in-progress.error-vapifault-transport-never-connected'
9396
9616
  | 'call.in-progress.error-vapifault-transport-connected-but-call-not-active'
9397
9617
  | 'call.in-progress.error-vapifault-call-started-but-connection-to-transport-missing'
@@ -9780,6 +10000,7 @@ export interface Call {
9780
10000
  | 'exceeded-max-duration'
9781
10001
  | 'manually-canceled'
9782
10002
  | 'phone-call-provider-closed-websocket'
10003
+ | 'call.forwarding.operator-busy'
9783
10004
  | 'silence-timed-out'
9784
10005
  | 'call.in-progress.error-sip-telephony-provider-failed-to-connect-call'
9785
10006
  | 'call.ringing.hook-executed-say'
@@ -10271,6 +10492,7 @@ export interface Assistant {
10271
10492
  | 'transcript'
10272
10493
  | 'tool-calls'
10273
10494
  | 'tool-calls-result'
10495
+ | 'tool.completed'
10274
10496
  | 'transfer-update'
10275
10497
  | 'user-interrupted'
10276
10498
  | 'voice-input'
@@ -10695,6 +10917,7 @@ export interface UpdateAssistantDTO {
10695
10917
  | 'transcript'
10696
10918
  | 'tool-calls'
10697
10919
  | 'tool-calls-result'
10920
+ | 'tool.completed'
10698
10921
  | 'transfer-update'
10699
10922
  | 'user-interrupted'
10700
10923
  | 'voice-input'
@@ -15015,6 +15238,8 @@ export interface Org {
15015
15238
  stripeSubscriptionStatus?: string;
15016
15239
  /** This is the plan for the org. */
15017
15240
  plan?: OrgPlan;
15241
+ /** This is the secret key used for signing JWT tokens for the org. */
15242
+ jwtSecret?: string;
15018
15243
  /**
15019
15244
  * This is the name of the org. This is just for your own reference.
15020
15245
  * @maxLength 40
@@ -15136,6 +15361,11 @@ export interface UpdateUserRoleDTO {
15136
15361
  role: 'admin' | 'editor' | 'viewer';
15137
15362
  }
15138
15363
 
15364
+ export interface JwtResponse {
15365
+ accessToken: string;
15366
+ aud: object;
15367
+ }
15368
+
15139
15369
  export interface TokenRestrictions {
15140
15370
  /** This determines whether the token is enabled or disabled. Default is true, it's enabled. */
15141
15371
  enabled?: boolean;
@@ -18105,6 +18335,8 @@ export interface ServerMessageEndOfCallReport {
18105
18335
  | 'vonage-failed-to-connect-call'
18106
18336
  | 'vonage-completed'
18107
18337
  | 'phone-call-provider-bypass-enabled-but-no-call-received'
18338
+ | 'call.in-progress.error-providerfault-transport-never-connected'
18339
+ | 'call.in-progress.error-vapifault-worker-not-available'
18108
18340
  | 'call.in-progress.error-vapifault-transport-never-connected'
18109
18341
  | 'call.in-progress.error-vapifault-transport-connected-but-call-not-active'
18110
18342
  | 'call.in-progress.error-vapifault-call-started-but-connection-to-transport-missing'
@@ -18493,6 +18725,7 @@ export interface ServerMessageEndOfCallReport {
18493
18725
  | 'exceeded-max-duration'
18494
18726
  | 'manually-canceled'
18495
18727
  | 'phone-call-provider-closed-websocket'
18728
+ | 'call.forwarding.operator-busy'
18496
18729
  | 'silence-timed-out'
18497
18730
  | 'call.in-progress.error-sip-telephony-provider-failed-to-connect-call'
18498
18731
  | 'call.ringing.hook-executed-say'
@@ -18957,6 +19190,8 @@ export interface ServerMessageStatusUpdate {
18957
19190
  | 'vonage-failed-to-connect-call'
18958
19191
  | 'vonage-completed'
18959
19192
  | 'phone-call-provider-bypass-enabled-but-no-call-received'
19193
+ | 'call.in-progress.error-providerfault-transport-never-connected'
19194
+ | 'call.in-progress.error-vapifault-worker-not-available'
18960
19195
  | 'call.in-progress.error-vapifault-transport-never-connected'
18961
19196
  | 'call.in-progress.error-vapifault-transport-connected-but-call-not-active'
18962
19197
  | 'call.in-progress.error-vapifault-call-started-but-connection-to-transport-missing'
@@ -19345,6 +19580,7 @@ export interface ServerMessageStatusUpdate {
19345
19580
  | 'exceeded-max-duration'
19346
19581
  | 'manually-canceled'
19347
19582
  | 'phone-call-provider-closed-websocket'
19583
+ | 'call.forwarding.operator-busy'
19348
19584
  | 'silence-timed-out'
19349
19585
  | 'call.in-progress.error-sip-telephony-provider-failed-to-connect-call'
19350
19586
  | 'call.ringing.hook-executed-say'
@@ -20001,6 +20237,8 @@ export interface ToolCallResult {
20001
20237
  * 3. a response generated by the model, if neither exist
20002
20238
  */
20003
20239
  error?: string;
20240
+ /** This is optional metadata for the tool call result to be sent to the client. */
20241
+ metadata?: object;
20004
20242
  }
20005
20243
 
20006
20244
  export interface ServerMessageResponseToolCalls {
@@ -20197,6 +20435,8 @@ export interface ToolCallResultMessage {
20197
20435
  time: number;
20198
20436
  /** The number of seconds from the start of the conversation. */
20199
20437
  secondsFromStart: number;
20438
+ /** The metadata for the tool call result. */
20439
+ metadata?: object;
20200
20440
  }
20201
20441
 
20202
20442
  export interface TransportCost {
@@ -24077,6 +24317,24 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
24077
24317
  type: ContentType.Json,
24078
24318
  ...params,
24079
24319
  }),
24320
+
24321
+ /**
24322
+ * No description
24323
+ *
24324
+ * @tags Orgs
24325
+ * @name OrgControllerOrgToken
24326
+ * @summary Generate User Org JWT
24327
+ * @request GET:/org/{id}/auth
24328
+ * @secure
24329
+ */
24330
+ orgControllerOrgToken: (id: string, params: RequestParams = {}) =>
24331
+ this.request<JwtResponse, any>({
24332
+ path: `/org/${id}/auth`,
24333
+ method: 'GET',
24334
+ secure: true,
24335
+ format: 'json',
24336
+ ...params,
24337
+ }),
24080
24338
  };
24081
24339
  token = {
24082
24340
  /**
@@ -24523,7 +24781,10 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
24523
24781
  } & GoogleSheetsOAuth2AuthorizationCredential)
24524
24782
  | ({
24525
24783
  provider: 'slack.oauth2-authorization';
24526
- } & SlackOAuth2AuthorizationCredential),
24784
+ } & SlackOAuth2AuthorizationCredential)
24785
+ | ({
24786
+ provider: 'aws';
24787
+ } & any),
24527
24788
  any
24528
24789
  >({
24529
24790
  path: `/credential`,
@@ -24741,6 +25002,9 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
24741
25002
  | ({
24742
25003
  provider: 'slack.oauth2-authorization';
24743
25004
  } & SlackOAuth2AuthorizationCredential)
25005
+ | ({
25006
+ provider: 'aws';
25007
+ } & any)
24744
25008
  )[],
24745
25009
  any
24746
25010
  >({
@@ -24906,7 +25170,10 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
24906
25170
  } & GoogleSheetsOAuth2AuthorizationCredential)
24907
25171
  | ({
24908
25172
  provider: 'slack.oauth2-authorization';
24909
- } & SlackOAuth2AuthorizationCredential),
25173
+ } & SlackOAuth2AuthorizationCredential)
25174
+ | ({
25175
+ provider: 'aws';
25176
+ } & any),
24910
25177
  any
24911
25178
  >({
24912
25179
  path: `/credential/${id}`,
@@ -25191,7 +25458,10 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
25191
25458
  } & GoogleSheetsOAuth2AuthorizationCredential)
25192
25459
  | ({
25193
25460
  provider: 'slack.oauth2-authorization';
25194
- } & SlackOAuth2AuthorizationCredential),
25461
+ } & SlackOAuth2AuthorizationCredential)
25462
+ | ({
25463
+ provider: 'aws';
25464
+ } & any),
25195
25465
  any
25196
25466
  >({
25197
25467
  path: `/credential/${id}`,
@@ -25357,7 +25627,10 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
25357
25627
  } & GoogleSheetsOAuth2AuthorizationCredential)
25358
25628
  | ({
25359
25629
  provider: 'slack.oauth2-authorization';
25360
- } & SlackOAuth2AuthorizationCredential),
25630
+ } & SlackOAuth2AuthorizationCredential)
25631
+ | ({
25632
+ provider: 'aws';
25633
+ } & any),
25361
25634
  any
25362
25635
  >({
25363
25636
  path: `/credential/${id}`,