telnyx 6.52.0 → 6.53.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 (142) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/client.d.mts +5 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +5 -4
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs +1 -1
  8. package/client.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/ai/ai.d.mts +10 -12
  11. package/resources/ai/ai.d.mts.map +1 -1
  12. package/resources/ai/ai.d.ts +10 -12
  13. package/resources/ai/ai.d.ts.map +1 -1
  14. package/resources/ai/ai.js.map +1 -1
  15. package/resources/ai/ai.mjs.map +1 -1
  16. package/resources/ai/assistants/assistants.d.mts +110 -322
  17. package/resources/ai/assistants/assistants.d.mts.map +1 -1
  18. package/resources/ai/assistants/assistants.d.ts +110 -322
  19. package/resources/ai/assistants/assistants.d.ts.map +1 -1
  20. package/resources/ai/assistants/assistants.js.map +1 -1
  21. package/resources/ai/assistants/assistants.mjs.map +1 -1
  22. package/resources/ai/assistants/canary-deploys.d.mts +70 -241
  23. package/resources/ai/assistants/canary-deploys.d.mts.map +1 -1
  24. package/resources/ai/assistants/canary-deploys.d.ts +70 -241
  25. package/resources/ai/assistants/canary-deploys.d.ts.map +1 -1
  26. package/resources/ai/assistants/index.d.mts +2 -2
  27. package/resources/ai/assistants/index.d.mts.map +1 -1
  28. package/resources/ai/assistants/index.d.ts +2 -2
  29. package/resources/ai/assistants/index.d.ts.map +1 -1
  30. package/resources/ai/assistants/index.js.map +1 -1
  31. package/resources/ai/assistants/index.mjs.map +1 -1
  32. package/resources/ai/assistants/versions.d.mts +6 -212
  33. package/resources/ai/assistants/versions.d.mts.map +1 -1
  34. package/resources/ai/assistants/versions.d.ts +6 -212
  35. package/resources/ai/assistants/versions.d.ts.map +1 -1
  36. package/resources/ai/index.d.mts +2 -2
  37. package/resources/ai/index.d.mts.map +1 -1
  38. package/resources/ai/index.d.ts +2 -2
  39. package/resources/ai/index.d.ts.map +1 -1
  40. package/resources/ai/index.js.map +1 -1
  41. package/resources/ai/index.mjs +1 -1
  42. package/resources/ai/index.mjs.map +1 -1
  43. package/resources/ai/openai/openai.d.mts +2 -9
  44. package/resources/ai/openai/openai.d.mts.map +1 -1
  45. package/resources/ai/openai/openai.d.ts +2 -9
  46. package/resources/ai/openai/openai.d.ts.map +1 -1
  47. package/resources/ai/openai/openai.js.map +1 -1
  48. package/resources/ai/openai/openai.mjs.map +1 -1
  49. package/resources/calls/actions.d.mts +41 -119
  50. package/resources/calls/actions.d.mts.map +1 -1
  51. package/resources/calls/actions.d.ts +41 -119
  52. package/resources/calls/actions.d.ts.map +1 -1
  53. package/resources/calls/calls.d.mts +2 -2
  54. package/resources/calls/calls.d.mts.map +1 -1
  55. package/resources/calls/calls.d.ts +2 -2
  56. package/resources/calls/calls.d.ts.map +1 -1
  57. package/resources/calls/calls.js.map +1 -1
  58. package/resources/calls/calls.mjs.map +1 -1
  59. package/resources/calls/index.d.mts +1 -1
  60. package/resources/calls/index.d.mts.map +1 -1
  61. package/resources/calls/index.d.ts +1 -1
  62. package/resources/calls/index.d.ts.map +1 -1
  63. package/resources/calls/index.js.map +1 -1
  64. package/resources/calls/index.mjs.map +1 -1
  65. package/resources/conferences/actions.d.mts +1 -11
  66. package/resources/conferences/actions.d.mts.map +1 -1
  67. package/resources/conferences/actions.d.ts +1 -11
  68. package/resources/conferences/actions.d.ts.map +1 -1
  69. package/resources/index.d.mts +2 -2
  70. package/resources/index.d.mts.map +1 -1
  71. package/resources/index.d.ts +2 -2
  72. package/resources/index.d.ts.map +1 -1
  73. package/resources/index.js.map +1 -1
  74. package/resources/index.mjs +1 -1
  75. package/resources/index.mjs.map +1 -1
  76. package/resources/networks/networks.d.mts +25 -2
  77. package/resources/networks/networks.d.mts.map +1 -1
  78. package/resources/networks/networks.d.ts +25 -2
  79. package/resources/networks/networks.d.ts.map +1 -1
  80. package/resources/networks/networks.js.map +1 -1
  81. package/resources/networks/networks.mjs.map +1 -1
  82. package/resources/public-internet-gateways.d.mts +116 -6
  83. package/resources/public-internet-gateways.d.mts.map +1 -1
  84. package/resources/public-internet-gateways.d.ts +116 -6
  85. package/resources/public-internet-gateways.d.ts.map +1 -1
  86. package/resources/public-internet-gateways.js.map +1 -1
  87. package/resources/public-internet-gateways.mjs.map +1 -1
  88. package/resources/shared.d.mts +10 -0
  89. package/resources/shared.d.mts.map +1 -1
  90. package/resources/shared.d.ts +10 -0
  91. package/resources/shared.d.ts.map +1 -1
  92. package/resources/uac-connections/index.d.mts +1 -1
  93. package/resources/uac-connections/index.d.mts.map +1 -1
  94. package/resources/uac-connections/index.d.ts +1 -1
  95. package/resources/uac-connections/index.d.ts.map +1 -1
  96. package/resources/uac-connections/index.js.map +1 -1
  97. package/resources/uac-connections/index.mjs.map +1 -1
  98. package/resources/uac-connections/uac-connections.d.mts +211 -1861
  99. package/resources/uac-connections/uac-connections.d.mts.map +1 -1
  100. package/resources/uac-connections/uac-connections.d.ts +211 -1861
  101. package/resources/uac-connections/uac-connections.d.ts.map +1 -1
  102. package/resources/uac-connections/uac-connections.js +1 -1
  103. package/resources/uac-connections/uac-connections.js.map +1 -1
  104. package/resources/uac-connections/uac-connections.mjs +1 -1
  105. package/resources/uac-connections/uac-connections.mjs.map +1 -1
  106. package/resources/virtual-cross-connects.d.mts +161 -237
  107. package/resources/virtual-cross-connects.d.mts.map +1 -1
  108. package/resources/virtual-cross-connects.d.ts +161 -237
  109. package/resources/virtual-cross-connects.d.ts.map +1 -1
  110. package/resources/virtual-cross-connects.js.map +1 -1
  111. package/resources/virtual-cross-connects.mjs.map +1 -1
  112. package/resources/wireguard-interfaces.d.mts +117 -6
  113. package/resources/wireguard-interfaces.d.mts.map +1 -1
  114. package/resources/wireguard-interfaces.d.ts +117 -6
  115. package/resources/wireguard-interfaces.d.ts.map +1 -1
  116. package/resources/wireguard-interfaces.js.map +1 -1
  117. package/resources/wireguard-interfaces.mjs.map +1 -1
  118. package/src/client.ts +21 -5
  119. package/src/resources/ai/ai.ts +20 -11
  120. package/src/resources/ai/assistants/assistants.ts +131 -350
  121. package/src/resources/ai/assistants/canary-deploys.ts +75 -266
  122. package/src/resources/ai/assistants/index.ts +10 -0
  123. package/src/resources/ai/assistants/versions.ts +6 -234
  124. package/src/resources/ai/index.ts +12 -1
  125. package/src/resources/ai/openai/openai.ts +2 -13
  126. package/src/resources/calls/actions.ts +76 -192
  127. package/src/resources/calls/calls.ts +4 -0
  128. package/src/resources/calls/index.ts +2 -0
  129. package/src/resources/conferences/actions.ts +1 -13
  130. package/src/resources/index.ts +13 -3
  131. package/src/resources/networks/networks.ts +31 -4
  132. package/src/resources/public-internet-gateways.ts +144 -6
  133. package/src/resources/shared.ts +12 -0
  134. package/src/resources/uac-connections/index.ts +6 -2
  135. package/src/resources/uac-connections/uac-connections.ts +397 -2396
  136. package/src/resources/virtual-cross-connects.ts +176 -249
  137. package/src/resources/wireguard-interfaces.ts +145 -8
  138. package/src/version.ts +1 -1
  139. package/version.d.mts +1 -1
  140. package/version.d.ts +1 -1
  141. package/version.js +1 -1
  142. package/version.mjs +1 -1
@@ -1461,6 +1461,24 @@ export namespace TranscriptionEngineAConfig {
1461
1461
  }
1462
1462
  }
1463
1463
 
1464
+ export interface TranscriptionEngineAssemblyaiConfig {
1465
+ /**
1466
+ * Whether to send also interim results. If set to false, only final results will
1467
+ * be sent.
1468
+ */
1469
+ interim_results?: boolean;
1470
+
1471
+ /**
1472
+ * Engine identifier for AssemblyAI transcription service
1473
+ */
1474
+ transcription_engine?: 'AssemblyAI';
1475
+
1476
+ /**
1477
+ * The model to use for transcription.
1478
+ */
1479
+ transcription_model?: 'assemblyai/universal-streaming';
1480
+ }
1481
+
1464
1482
  export interface TranscriptionEngineAzureConfig {
1465
1483
  /**
1466
1484
  * Azure region to use for speech recognition
@@ -1674,6 +1692,54 @@ export interface TranscriptionEngineTelnyxConfig {
1674
1692
  transcription_model?: 'openai/whisper-tiny' | 'openai/whisper-large-v3-turbo';
1675
1693
  }
1676
1694
 
1695
+ export interface TranscriptionEngineXaiConfig {
1696
+ /**
1697
+ * Whether to send also interim results. If set to false, only final results will
1698
+ * be sent.
1699
+ */
1700
+ interim_results?: boolean;
1701
+
1702
+ /**
1703
+ * Language to use for speech recognition
1704
+ */
1705
+ language?:
1706
+ | 'ar'
1707
+ | 'cs'
1708
+ | 'da'
1709
+ | 'de'
1710
+ | 'en'
1711
+ | 'es'
1712
+ | 'fa'
1713
+ | 'fil'
1714
+ | 'fr'
1715
+ | 'hi'
1716
+ | 'id'
1717
+ | 'it'
1718
+ | 'ja'
1719
+ | 'ko'
1720
+ | 'mk'
1721
+ | 'ms'
1722
+ | 'nl'
1723
+ | 'pl'
1724
+ | 'pt'
1725
+ | 'ro'
1726
+ | 'ru'
1727
+ | 'sv'
1728
+ | 'th'
1729
+ | 'tr'
1730
+ | 'vi';
1731
+
1732
+ /**
1733
+ * Engine identifier for xAI transcription service
1734
+ */
1735
+ transcription_engine?: 'xAI';
1736
+
1737
+ /**
1738
+ * The model to use for transcription.
1739
+ */
1740
+ transcription_model?: 'xai/grok-stt';
1741
+ }
1742
+
1677
1743
  export interface TranscriptionStartRequest {
1678
1744
  /**
1679
1745
  * Use this field to add state to every subsequent webhook. It must be a valid
@@ -1697,8 +1763,8 @@ export interface TranscriptionStartRequest {
1697
1763
  | TranscriptionEngineGoogleConfig
1698
1764
  | TranscriptionEngineTelnyxConfig
1699
1765
  | TranscriptionEngineAzureConfig
1700
- | TranscriptionStartRequest.TranscriptionEngineXaiConfig
1701
- | TranscriptionStartRequest.TranscriptionEngineAssemblyaiConfig
1766
+ | TranscriptionEngineXaiConfig
1767
+ | TranscriptionEngineAssemblyaiConfig
1702
1768
  | TranscriptionEngineAConfig
1703
1769
  | TranscriptionEngineBConfig
1704
1770
  | DeepgramNova2Config
@@ -1712,74 +1778,6 @@ export interface TranscriptionStartRequest {
1712
1778
  transcription_tracks?: string;
1713
1779
  }
1714
1780
 
1715
- export namespace TranscriptionStartRequest {
1716
- export interface TranscriptionEngineXaiConfig {
1717
- /**
1718
- * Whether to send also interim results. If set to false, only final results will
1719
- * be sent.
1720
- */
1721
- interim_results?: boolean;
1722
-
1723
- /**
1724
- * Language to use for speech recognition
1725
- */
1726
- language?:
1727
- | 'ar'
1728
- | 'cs'
1729
- | 'da'
1730
- | 'de'
1731
- | 'en'
1732
- | 'es'
1733
- | 'fa'
1734
- | 'fil'
1735
- | 'fr'
1736
- | 'hi'
1737
- | 'id'
1738
- | 'it'
1739
- | 'ja'
1740
- | 'ko'
1741
- | 'mk'
1742
- | 'ms'
1743
- | 'nl'
1744
- | 'pl'
1745
- | 'pt'
1746
- | 'ro'
1747
- | 'ru'
1748
- | 'sv'
1749
- | 'th'
1750
- | 'tr'
1751
- | 'vi';
1752
-
1753
- /**
1754
- * Engine identifier for xAI transcription service
1755
- */
1756
- transcription_engine?: 'xAI';
1757
-
1758
- /**
1759
- * The model to use for transcription.
1760
- */
1761
- transcription_model?: 'xai/grok-stt';
1762
- }
1763
-
1764
- export interface TranscriptionEngineAssemblyaiConfig {
1765
- /**
1766
- * Whether to send also interim results. If set to false, only final results will
1767
- * be sent.
1768
- */
1769
- interim_results?: boolean;
1770
-
1771
- /**
1772
- * Engine identifier for AssemblyAI transcription service
1773
- */
1774
- transcription_engine?: 'AssemblyAI';
1775
-
1776
- /**
1777
- * The model to use for transcription.
1778
- */
1779
- transcription_model?: 'assemblyai/universal-streaming';
1780
- }
1781
- }
1782
-
1783
1781
  export interface ActionAddAIAssistantMessagesResponse {
1784
1782
  data?: CallControlCommandResult;
1785
1783
  }
@@ -2720,7 +2718,7 @@ export interface ActionGatherUsingAIParams {
2720
2718
  | Shared.AzureVoiceSettings
2721
2719
  | Shared.RimeVoiceSettings
2722
2720
  | Shared.ResembleVoiceSettings
2723
- | ActionGatherUsingAIParams.XaiVoiceSettings;
2721
+ | Shared.XaiVoiceSettings;
2724
2722
  }
2725
2723
 
2726
2724
  export namespace ActionGatherUsingAIParams {
@@ -2735,18 +2733,6 @@ export namespace ActionGatherUsingAIParams {
2735
2733
  */
2736
2734
  role?: 'assistant' | 'user';
2737
2735
  }
2738
-
2739
- export interface XaiVoiceSettings {
2740
- /**
2741
- * Voice settings provider type
2742
- */
2743
- type: 'xai';
2744
-
2745
- /**
2746
- * Language code, or `auto` to detect automatically.
2747
- */
2748
- language?: string;
2749
- }
2750
2736
  }
2751
2737
 
2752
2738
  export interface ActionGatherUsingAudioParams {
@@ -3004,7 +2990,7 @@ export interface ActionGatherUsingSpeakParams {
3004
2990
  | Shared.RimeVoiceSettings
3005
2991
  | Shared.ResembleVoiceSettings
3006
2992
  | ActionGatherUsingSpeakParams.InworldVoiceSettings
3007
- | ActionGatherUsingSpeakParams.XaiVoiceSettings;
2993
+ | Shared.XaiVoiceSettings;
3008
2994
  }
3009
2995
 
3010
2996
  export namespace ActionGatherUsingSpeakParams {
@@ -3014,18 +3000,6 @@ export namespace ActionGatherUsingSpeakParams {
3014
3000
  */
3015
3001
  type: 'inworld';
3016
3002
  }
3017
-
3018
- export interface XaiVoiceSettings {
3019
- /**
3020
- * Voice settings provider type
3021
- */
3022
- type: 'xai';
3023
-
3024
- /**
3025
- * Language code, or `auto` to detect automatically.
3026
- */
3027
- language?: string;
3028
- }
3029
3003
  }
3030
3004
 
3031
3005
  export interface ActionHangupParams {
@@ -3399,7 +3373,7 @@ export interface ActionSpeakParams {
3399
3373
  | Shared.RimeVoiceSettings
3400
3374
  | Shared.ResembleVoiceSettings
3401
3375
  | ActionSpeakParams.InworldVoiceSettings
3402
- | ActionSpeakParams.XaiVoiceSettings;
3376
+ | Shared.XaiVoiceSettings;
3403
3377
  }
3404
3378
 
3405
3379
  export namespace ActionSpeakParams {
@@ -3409,18 +3383,6 @@ export namespace ActionSpeakParams {
3409
3383
  */
3410
3384
  type: 'inworld';
3411
3385
  }
3412
-
3413
- export interface XaiVoiceSettings {
3414
- /**
3415
- * Voice settings provider type
3416
- */
3417
- type: 'xai';
3418
-
3419
- /**
3420
- * Language code, or `auto` to detect automatically.
3421
- */
3422
- language?: string;
3423
- }
3424
3386
  }
3425
3387
 
3426
3388
  export interface ActionStartAIAssistantParams {
@@ -3526,7 +3488,7 @@ export interface ActionStartAIAssistantParams {
3526
3488
  | Shared.AzureVoiceSettings
3527
3489
  | Shared.RimeVoiceSettings
3528
3490
  | Shared.ResembleVoiceSettings
3529
- | ActionStartAIAssistantParams.XaiVoiceSettings;
3491
+ | Shared.XaiVoiceSettings;
3530
3492
  }
3531
3493
 
3532
3494
  export namespace ActionStartAIAssistantParams {
@@ -3694,18 +3656,6 @@ export namespace ActionStartAIAssistantParams {
3694
3656
  */
3695
3657
  on_hangup?: 'continue_conversation' | 'end_conversation';
3696
3658
  }
3697
-
3698
- export interface XaiVoiceSettings {
3699
- /**
3700
- * Voice settings provider type
3701
- */
3702
- type: 'xai';
3703
-
3704
- /**
3705
- * Language code, or `auto` to detect automatically.
3706
- */
3707
- language?: string;
3708
- }
3709
3659
  }
3710
3660
 
3711
3661
  export interface ActionStartForkingParams {
@@ -4402,8 +4352,8 @@ export interface ActionStartTranscriptionParams {
4402
4352
  | TranscriptionEngineGoogleConfig
4403
4353
  | TranscriptionEngineTelnyxConfig
4404
4354
  | TranscriptionEngineAzureConfig
4405
- | ActionStartTranscriptionParams.TranscriptionEngineXaiConfig
4406
- | ActionStartTranscriptionParams.TranscriptionEngineAssemblyaiConfig
4355
+ | TranscriptionEngineXaiConfig
4356
+ | TranscriptionEngineAssemblyaiConfig
4407
4357
  | TranscriptionEngineAConfig
4408
4358
  | TranscriptionEngineBConfig
4409
4359
  | DeepgramNova2Config
@@ -4417,74 +4367,6 @@ export interface ActionStartTranscriptionParams {
4417
4367
  transcription_tracks?: string;
4418
4368
  }
4419
4369
 
4420
- export namespace ActionStartTranscriptionParams {
4421
- export interface TranscriptionEngineXaiConfig {
4422
- /**
4423
- * Whether to send also interim results. If set to false, only final results will
4424
- * be sent.
4425
- */
4426
- interim_results?: boolean;
4427
-
4428
- /**
4429
- * Language to use for speech recognition
4430
- */
4431
- language?:
4432
- | 'ar'
4433
- | 'cs'
4434
- | 'da'
4435
- | 'de'
4436
- | 'en'
4437
- | 'es'
4438
- | 'fa'
4439
- | 'fil'
4440
- | 'fr'
4441
- | 'hi'
4442
- | 'id'
4443
- | 'it'
4444
- | 'ja'
4445
- | 'ko'
4446
- | 'mk'
4447
- | 'ms'
4448
- | 'nl'
4449
- | 'pl'
4450
- | 'pt'
4451
- | 'ro'
4452
- | 'ru'
4453
- | 'sv'
4454
- | 'th'
4455
- | 'tr'
4456
- | 'vi';
4457
-
4458
- /**
4459
- * Engine identifier for xAI transcription service
4460
- */
4461
- transcription_engine?: 'xAI';
4462
-
4463
- /**
4464
- * The model to use for transcription.
4465
- */
4466
- transcription_model?: 'xai/grok-stt';
4467
- }
4468
-
4469
- export interface TranscriptionEngineAssemblyaiConfig {
4470
- /**
4471
- * Whether to send also interim results. If set to false, only final results will
4472
- * be sent.
4473
- */
4474
- interim_results?: boolean;
4475
-
4476
- /**
4477
- * Engine identifier for AssemblyAI transcription service
4478
- */
4479
- transcription_engine?: 'AssemblyAI';
4480
-
4481
- /**
4482
- * The model to use for transcription.
4483
- */
4484
- transcription_model?: 'assemblyai/universal-streaming';
4485
- }
4486
- }
4487
-
4488
4370
  export interface ActionStopAIAssistantParams {
4489
4371
  /**
4490
4372
  * Use this field to add state to every subsequent webhook. It must be a valid
@@ -4997,11 +4879,13 @@ export declare namespace Actions {
4997
4879
  type TelnyxVoiceSettings as TelnyxVoiceSettings,
4998
4880
  type TranscriptionConfig as TranscriptionConfig,
4999
4881
  type TranscriptionEngineAConfig as TranscriptionEngineAConfig,
4882
+ type TranscriptionEngineAssemblyaiConfig as TranscriptionEngineAssemblyaiConfig,
5000
4883
  type TranscriptionEngineAzureConfig as TranscriptionEngineAzureConfig,
5001
4884
  type TranscriptionEngineBConfig as TranscriptionEngineBConfig,
5002
4885
  type TranscriptionEngineDeepgramConfig as TranscriptionEngineDeepgramConfig,
5003
4886
  type TranscriptionEngineGoogleConfig as TranscriptionEngineGoogleConfig,
5004
4887
  type TranscriptionEngineTelnyxConfig as TranscriptionEngineTelnyxConfig,
4888
+ type TranscriptionEngineXaiConfig as TranscriptionEngineXaiConfig,
5005
4889
  type TranscriptionStartRequest as TranscriptionStartRequest,
5006
4890
  type ActionAddAIAssistantMessagesResponse as ActionAddAIAssistantMessagesResponse,
5007
4891
  type ActionAnswerResponse as ActionAnswerResponse,
@@ -95,11 +95,13 @@ import {
95
95
  TelnyxVoiceSettings,
96
96
  TranscriptionConfig,
97
97
  TranscriptionEngineAConfig,
98
+ TranscriptionEngineAssemblyaiConfig,
98
99
  TranscriptionEngineAzureConfig,
99
100
  TranscriptionEngineBConfig,
100
101
  TranscriptionEngineDeepgramConfig,
101
102
  TranscriptionEngineGoogleConfig,
102
103
  TranscriptionEngineTelnyxConfig,
104
+ TranscriptionEngineXaiConfig,
103
105
  TranscriptionStartRequest,
104
106
  } from './actions';
105
107
  import * as AssistantsAPI from '../ai/assistants/assistants';
@@ -1198,11 +1200,13 @@ export declare namespace Calls {
1198
1200
  type TelnyxVoiceSettings as TelnyxVoiceSettings,
1199
1201
  type TranscriptionConfig as TranscriptionConfig,
1200
1202
  type TranscriptionEngineAConfig as TranscriptionEngineAConfig,
1203
+ type TranscriptionEngineAssemblyaiConfig as TranscriptionEngineAssemblyaiConfig,
1201
1204
  type TranscriptionEngineAzureConfig as TranscriptionEngineAzureConfig,
1202
1205
  type TranscriptionEngineBConfig as TranscriptionEngineBConfig,
1203
1206
  type TranscriptionEngineDeepgramConfig as TranscriptionEngineDeepgramConfig,
1204
1207
  type TranscriptionEngineGoogleConfig as TranscriptionEngineGoogleConfig,
1205
1208
  type TranscriptionEngineTelnyxConfig as TranscriptionEngineTelnyxConfig,
1209
+ type TranscriptionEngineXaiConfig as TranscriptionEngineXaiConfig,
1206
1210
  type TranscriptionStartRequest as TranscriptionStartRequest,
1207
1211
  type ActionAddAIAssistantMessagesResponse as ActionAddAIAssistantMessagesResponse,
1208
1212
  type ActionAnswerResponse as ActionAnswerResponse,
@@ -16,11 +16,13 @@ export {
16
16
  type TelnyxVoiceSettings,
17
17
  type TranscriptionConfig,
18
18
  type TranscriptionEngineAConfig,
19
+ type TranscriptionEngineAssemblyaiConfig,
19
20
  type TranscriptionEngineAzureConfig,
20
21
  type TranscriptionEngineBConfig,
21
22
  type TranscriptionEngineDeepgramConfig,
22
23
  type TranscriptionEngineGoogleConfig,
23
24
  type TranscriptionEngineTelnyxConfig,
25
+ type TranscriptionEngineXaiConfig,
24
26
  type TranscriptionStartRequest,
25
27
  type ActionAddAIAssistantMessagesResponse,
26
28
  type ActionAnswerResponse,
@@ -1020,7 +1020,7 @@ export interface ActionSpeakParams {
1020
1020
  | Shared.RimeVoiceSettings
1021
1021
  | Shared.ResembleVoiceSettings
1022
1022
  | ActionSpeakParams.InworldVoiceSettings
1023
- | ActionSpeakParams.XaiVoiceSettings;
1023
+ | Shared.XaiVoiceSettings;
1024
1024
  }
1025
1025
 
1026
1026
  export namespace ActionSpeakParams {
@@ -1030,18 +1030,6 @@ export namespace ActionSpeakParams {
1030
1030
  */
1031
1031
  type: 'inworld';
1032
1032
  }
1033
-
1034
- export interface XaiVoiceSettings {
1035
- /**
1036
- * Voice settings provider type
1037
- */
1038
- type: 'xai';
1039
-
1040
- /**
1041
- * Language code, or `auto` to detect automatically.
1042
- */
1043
- language?: string;
1044
- }
1045
1033
  }
1046
1034
 
1047
1035
  export interface ActionStopParams {
@@ -1,7 +1,13 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  export * from './shared';
4
- export { AI, type AIRetrieveModelsResponse, type AISummarizeResponse, type AISummarizeParams } from './ai/ai';
4
+ export {
5
+ AI,
6
+ type ModelMetadata,
7
+ type AIRetrieveModelsResponse,
8
+ type AISummarizeResponse,
9
+ type AISummarizeParams,
10
+ } from './ai/ai';
5
11
  export {
6
12
  AccessIPAddress,
7
13
  type AccessIPAddressResponse,
@@ -1244,15 +1250,19 @@ export {
1244
1250
  } from './traffic-policy-profiles';
1245
1251
  export {
1246
1252
  UacConnections,
1253
+ type UacConnection,
1254
+ type UacExternalSettings,
1255
+ type UacInbound,
1256
+ type UacInternalSettings,
1257
+ type UacOutbound,
1247
1258
  type UacConnectionCreateResponse,
1248
1259
  type UacConnectionRetrieveResponse,
1249
1260
  type UacConnectionUpdateResponse,
1250
- type UacConnectionListResponse,
1251
1261
  type UacConnectionDeleteResponse,
1252
1262
  type UacConnectionCreateParams,
1253
1263
  type UacConnectionUpdateParams,
1254
1264
  type UacConnectionListParams,
1255
- type UacConnectionListResponsesDefaultFlatPagination,
1265
+ type UacConnectionsDefaultFlatPagination,
1256
1266
  } from './uac-connections/uac-connections';
1257
1267
  export {
1258
1268
  UsageReports,
@@ -2,7 +2,6 @@
2
2
 
3
3
  import { APIResource } from '../../core/resource';
4
4
  import * as GlobalIPAssignmentsAPI from '../global-ip-assignments';
5
- import * as PublicInternetGatewaysAPI from '../public-internet-gateways';
6
5
  import * as DefaultGatewayAPI from './default-gateway';
7
6
  import {
8
7
  DefaultGateway,
@@ -206,9 +205,27 @@ export namespace NetworkDeleteResponse {
206
205
  }
207
206
  }
208
207
 
209
- export interface NetworkListInterfacesResponse
210
- extends GlobalIPAssignmentsAPI.Record,
211
- PublicInternetGatewaysAPI.NetworkInterface {
208
+ export interface NetworkListInterfacesResponse {
209
+ /**
210
+ * Identifies the resource.
211
+ */
212
+ id?: string;
213
+
214
+ /**
215
+ * ISO 8601 formatted date-time indicating when the resource was created.
216
+ */
217
+ created_at?: string;
218
+
219
+ /**
220
+ * A user specified name for the interface.
221
+ */
222
+ name?: string;
223
+
224
+ /**
225
+ * The id of the network associated with the interface.
226
+ */
227
+ network_id?: string;
228
+
212
229
  /**
213
230
  * Identifies the type of the resource.
214
231
  */
@@ -221,10 +238,20 @@ export interface NetworkListInterfacesResponse
221
238
  */
222
239
  region_code?: string;
223
240
 
241
+ /**
242
+ * The current status of the interface deployment.
243
+ */
244
+ status?: InterfaceStatus;
245
+
224
246
  /**
225
247
  * Identifies the type of the interface.
226
248
  */
227
249
  type?: string;
250
+
251
+ /**
252
+ * ISO 8601 formatted date-time indicating when the resource was updated.
253
+ */
254
+ updated_at?: string;
228
255
  }
229
256
 
230
257
  export namespace NetworkListInterfacesResponse {