@roarkanalytics/sdk 7.9.0 → 8.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/client.d.mts +20 -5
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +20 -5
  5. package/client.d.ts.map +1 -1
  6. package/client.js +21 -3
  7. package/client.js.map +1 -1
  8. package/client.mjs +21 -3
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/agent-connection.d.mts +1952 -0
  12. package/resources/agent-connection.d.mts.map +1 -0
  13. package/resources/agent-connection.d.ts +1952 -0
  14. package/resources/agent-connection.d.ts.map +1 -0
  15. package/resources/agent-connection.js +173 -0
  16. package/resources/agent-connection.js.map +1 -0
  17. package/resources/agent-connection.mjs +169 -0
  18. package/resources/agent-connection.mjs.map +1 -0
  19. package/resources/agent-conversation.d.mts +110 -0
  20. package/resources/agent-conversation.d.mts.map +1 -0
  21. package/resources/agent-conversation.d.ts +110 -0
  22. package/resources/agent-conversation.d.ts.map +1 -0
  23. package/resources/agent-conversation.js +41 -0
  24. package/resources/agent-conversation.js.map +1 -0
  25. package/resources/agent-conversation.mjs +37 -0
  26. package/resources/agent-conversation.mjs.map +1 -0
  27. package/resources/agent-draft.d.mts +101 -35
  28. package/resources/agent-draft.d.mts.map +1 -1
  29. package/resources/agent-draft.d.ts +101 -35
  30. package/resources/agent-draft.d.ts.map +1 -1
  31. package/resources/agent-endpoint.d.mts +4 -4
  32. package/resources/agent-endpoint.d.mts.map +1 -1
  33. package/resources/agent-endpoint.d.ts +4 -4
  34. package/resources/agent-endpoint.d.ts.map +1 -1
  35. package/resources/agent-setup.d.mts +1057 -0
  36. package/resources/agent-setup.d.mts.map +1 -0
  37. package/resources/agent-setup.d.ts +1057 -0
  38. package/resources/agent-setup.d.ts.map +1 -0
  39. package/resources/agent-setup.js +113 -0
  40. package/resources/agent-setup.js.map +1 -0
  41. package/resources/agent-setup.mjs +109 -0
  42. package/resources/agent-setup.mjs.map +1 -0
  43. package/resources/agent-version.d.mts +57 -18
  44. package/resources/agent-version.d.mts.map +1 -1
  45. package/resources/agent-version.d.ts +57 -18
  46. package/resources/agent-version.d.ts.map +1 -1
  47. package/resources/agent.d.mts +263 -4
  48. package/resources/agent.d.mts.map +1 -1
  49. package/resources/agent.d.ts +263 -4
  50. package/resources/agent.d.ts.map +1 -1
  51. package/resources/calendar-connection.d.mts +834 -56
  52. package/resources/calendar-connection.d.mts.map +1 -1
  53. package/resources/calendar-connection.d.ts +834 -56
  54. package/resources/calendar-connection.d.ts.map +1 -1
  55. package/resources/calendar-connection.js +127 -8
  56. package/resources/calendar-connection.js.map +1 -1
  57. package/resources/calendar-connection.mjs +127 -8
  58. package/resources/calendar-connection.mjs.map +1 -1
  59. package/resources/call.d.mts +2 -2
  60. package/resources/call.d.mts.map +1 -1
  61. package/resources/call.d.ts +2 -2
  62. package/resources/call.d.ts.map +1 -1
  63. package/resources/config.d.mts +78 -36
  64. package/resources/config.d.mts.map +1 -1
  65. package/resources/config.d.ts +78 -36
  66. package/resources/config.d.ts.map +1 -1
  67. package/resources/conversation.d.mts +156 -0
  68. package/resources/conversation.d.mts.map +1 -0
  69. package/resources/conversation.d.ts +156 -0
  70. package/resources/conversation.d.ts.map +1 -0
  71. package/resources/conversation.js +40 -0
  72. package/resources/conversation.js.map +1 -0
  73. package/resources/conversation.mjs +36 -0
  74. package/resources/conversation.mjs.map +1 -0
  75. package/resources/customer-flow-edge-case.d.mts +637 -40
  76. package/resources/customer-flow-edge-case.d.mts.map +1 -1
  77. package/resources/customer-flow-edge-case.d.ts +637 -40
  78. package/resources/customer-flow-edge-case.d.ts.map +1 -1
  79. package/resources/customer-flow.d.mts +2583 -156
  80. package/resources/customer-flow.d.mts.map +1 -1
  81. package/resources/customer-flow.d.ts +2583 -156
  82. package/resources/customer-flow.d.ts.map +1 -1
  83. package/resources/{customer-profile.d.mts → customer.d.mts} +287 -92
  84. package/resources/customer.d.mts.map +1 -0
  85. package/resources/{customer-profile.d.ts → customer.d.ts} +287 -92
  86. package/resources/customer.d.ts.map +1 -0
  87. package/resources/customer.js +180 -0
  88. package/resources/customer.js.map +1 -0
  89. package/resources/customer.mjs +176 -0
  90. package/resources/customer.mjs.map +1 -0
  91. package/resources/index.d.mts +7 -2
  92. package/resources/index.d.mts.map +1 -1
  93. package/resources/index.d.ts +7 -2
  94. package/resources/index.d.ts.map +1 -1
  95. package/resources/index.js +13 -3
  96. package/resources/index.js.map +1 -1
  97. package/resources/index.mjs +6 -1
  98. package/resources/index.mjs.map +1 -1
  99. package/resources/mcp-server.d.mts +588 -0
  100. package/resources/mcp-server.d.mts.map +1 -0
  101. package/resources/mcp-server.d.ts +588 -0
  102. package/resources/mcp-server.d.ts.map +1 -0
  103. package/resources/mcp-server.js +109 -0
  104. package/resources/mcp-server.js.map +1 -0
  105. package/resources/mcp-server.mjs +105 -0
  106. package/resources/mcp-server.mjs.map +1 -0
  107. package/resources/metric-policy.d.mts +5 -4
  108. package/resources/metric-policy.d.mts.map +1 -1
  109. package/resources/metric-policy.d.ts +5 -4
  110. package/resources/metric-policy.d.ts.map +1 -1
  111. package/resources/metric-policy.js +1 -1
  112. package/resources/metric-policy.mjs +1 -1
  113. package/resources/metric-variant.d.mts +4 -1
  114. package/resources/metric-variant.d.mts.map +1 -1
  115. package/resources/metric-variant.d.ts +4 -1
  116. package/resources/metric-variant.d.ts.map +1 -1
  117. package/resources/metric.d.mts +7 -2
  118. package/resources/metric.d.mts.map +1 -1
  119. package/resources/metric.d.ts +7 -2
  120. package/resources/metric.d.ts.map +1 -1
  121. package/resources/simulation-environment.d.mts +366 -0
  122. package/resources/simulation-environment.d.mts.map +1 -1
  123. package/resources/simulation-environment.d.ts +366 -0
  124. package/resources/simulation-environment.d.ts.map +1 -1
  125. package/resources/simulation-job.d.mts +12 -8
  126. package/resources/simulation-job.d.mts.map +1 -1
  127. package/resources/simulation-job.d.ts +12 -8
  128. package/resources/simulation-job.d.ts.map +1 -1
  129. package/resources/simulation-persona.d.mts +25 -15
  130. package/resources/simulation-persona.d.mts.map +1 -1
  131. package/resources/simulation-persona.d.ts +25 -15
  132. package/resources/simulation-persona.d.ts.map +1 -1
  133. package/resources/simulation-run-plan-job.d.mts +32 -6
  134. package/resources/simulation-run-plan-job.d.mts.map +1 -1
  135. package/resources/simulation-run-plan-job.d.ts +32 -6
  136. package/resources/simulation-run-plan-job.d.ts.map +1 -1
  137. package/resources/simulation-run-plan.d.mts +126 -13
  138. package/resources/simulation-run-plan.d.mts.map +1 -1
  139. package/resources/simulation-run-plan.d.ts +126 -13
  140. package/resources/simulation-run-plan.d.ts.map +1 -1
  141. package/resources/simulation-template.d.mts +1 -1
  142. package/resources/simulation-template.d.mts.map +1 -1
  143. package/resources/simulation-template.d.ts +1 -1
  144. package/resources/simulation-template.d.ts.map +1 -1
  145. package/resources/simulation.d.mts +35 -3
  146. package/resources/simulation.d.mts.map +1 -1
  147. package/resources/simulation.d.ts +35 -3
  148. package/resources/simulation.d.ts.map +1 -1
  149. package/resources/tool.d.mts +565 -6
  150. package/resources/tool.d.mts.map +1 -1
  151. package/resources/tool.d.ts +565 -6
  152. package/resources/tool.d.ts.map +1 -1
  153. package/resources/tool.js +9 -6
  154. package/resources/tool.js.map +1 -1
  155. package/resources/tool.mjs +9 -6
  156. package/resources/tool.mjs.map +1 -1
  157. package/resources/usage.d.mts +1 -1
  158. package/resources/usage.d.mts.map +1 -1
  159. package/resources/usage.d.ts +1 -1
  160. package/resources/usage.d.ts.map +1 -1
  161. package/resources/webhook.d.mts +4 -4
  162. package/resources/webhook.d.mts.map +1 -1
  163. package/resources/webhook.d.ts +4 -4
  164. package/resources/webhook.d.ts.map +1 -1
  165. package/src/client.ts +200 -34
  166. package/src/resources/agent-connection.ts +2523 -0
  167. package/src/resources/agent-conversation.ts +139 -0
  168. package/src/resources/agent-draft.ts +239 -35
  169. package/src/resources/agent-endpoint.ts +8 -4
  170. package/src/resources/agent-setup.ts +1685 -0
  171. package/src/resources/agent-version.ts +126 -18
  172. package/src/resources/agent.ts +506 -4
  173. package/src/resources/calendar-connection.ts +1035 -63
  174. package/src/resources/call.ts +12 -2
  175. package/src/resources/config.ts +198 -36
  176. package/src/resources/conversation.ts +205 -0
  177. package/src/resources/customer-flow-edge-case.ts +709 -40
  178. package/src/resources/customer-flow.ts +3141 -156
  179. package/src/resources/{customer-profile.ts → customer.ts} +406 -294
  180. package/src/resources/index.ts +91 -17
  181. package/src/resources/mcp-server.ts +786 -0
  182. package/src/resources/metric-policy.ts +5 -4
  183. package/src/resources/metric-variant.ts +4 -1
  184. package/src/resources/metric.ts +7 -2
  185. package/src/resources/simulation-environment.ts +414 -0
  186. package/src/resources/simulation-job.ts +14 -8
  187. package/src/resources/simulation-persona.ts +25 -15
  188. package/src/resources/simulation-run-plan-job.ts +47 -6
  189. package/src/resources/simulation-run-plan.ts +140 -0
  190. package/src/resources/simulation-template.ts +1 -0
  191. package/src/resources/simulation.ts +39 -0
  192. package/src/resources/tool.ts +697 -6
  193. package/src/resources/usage.ts +6 -1
  194. package/src/resources/webhook.ts +8 -0
  195. package/src/version.ts +1 -1
  196. package/version.d.mts +1 -1
  197. package/version.d.ts +1 -1
  198. package/version.js +1 -1
  199. package/version.mjs +1 -1
  200. package/resources/customer-profile.d.mts.map +0 -1
  201. package/resources/customer-profile.d.ts.map +0 -1
  202. package/resources/customer-profile.js +0 -141
  203. package/resources/customer-profile.js.map +0 -1
  204. package/resources/customer-profile.mjs +0 -137
  205. package/resources/customer-profile.mjs.map +0 -1
@@ -883,7 +883,12 @@ export namespace CallGetCostResponse {
883
883
  | 'TRANSCRIPTION'
884
884
  | 'INTERNAL_LLM'
885
885
  | 'INTERNAL_STT'
886
- | 'PHONE_NUMBER';
886
+ | 'PHONE_NUMBER'
887
+ | 'AI_AGENT'
888
+ | 'HOSTED_AGENT_LLM'
889
+ | 'HOSTED_AGENT_TTS'
890
+ | 'HOSTED_AGENT_STT'
891
+ | 'HOSTED_AGENT_TELEPHONY';
887
892
 
888
893
  /**
889
894
  * SIMULATION or POST_CALL.
@@ -937,7 +942,12 @@ export namespace CallGetCostResponse {
937
942
  | 'TRANSCRIPTION'
938
943
  | 'INTERNAL_LLM'
939
944
  | 'INTERNAL_STT'
940
- | 'PHONE_NUMBER';
945
+ | 'PHONE_NUMBER'
946
+ | 'AI_AGENT'
947
+ | 'HOSTED_AGENT_LLM'
948
+ | 'HOSTED_AGENT_TTS'
949
+ | 'HOSTED_AGENT_STT'
950
+ | 'HOSTED_AGENT_TELEPHONY';
941
951
 
942
952
  surface: 'SIMULATION' | 'POST_CALL';
943
953
  }
@@ -86,6 +86,8 @@ export namespace Bundle {
86
86
 
87
87
  llm?: AgentConfig.Llm;
88
88
 
89
+ modalities?: Array<'voice' | 'chat' | 'call'>;
90
+
89
91
  prompt?: string | null;
90
92
 
91
93
  provider?:
@@ -129,17 +131,28 @@ export namespace Bundle {
129
131
  export interface Llm {
130
132
  model: string;
131
133
 
132
- provider: 'OPENAI' | 'ANTHROPIC' | 'GOOGLE' | 'XAI' | 'ULTRAVOX' | 'AWS' | 'ELEVENLABS';
134
+ provider:
135
+ | 'OPENAI'
136
+ | 'ANTHROPIC'
137
+ | 'GOOGLE'
138
+ | 'XAI'
139
+ | 'ULTRAVOX'
140
+ | 'AWS'
141
+ | 'ELEVENLABS'
142
+ | 'GROQ'
143
+ | 'META'
144
+ | 'RIME'
145
+ | 'PHONIC';
133
146
  }
134
147
 
135
148
  export interface Stt {
136
149
  model: string;
137
150
 
138
- provider: 'DEEPGRAM' | 'OPENAI_WHISPER' | 'SPEECHMATICS' | 'ASSEMBLYAI' | 'ELEVENLABS';
151
+ provider: 'DEEPGRAM' | 'OPENAI_WHISPER' | 'SPEECHMATICS' | 'ASSEMBLYAI' | 'ELEVENLABS' | 'SONIOX';
139
152
  }
140
153
 
141
154
  export interface Tts {
142
- provider: 'CARTESIA' | 'ELEVENLABS' | 'OPENAI' | 'RIME';
155
+ provider: 'CARTESIA' | 'ELEVENLABS' | 'OPENAI' | 'RIME' | 'ASSEMBLYAI' | 'DEEPGRAM' | 'FISH_AUDIO';
143
156
 
144
157
  voiceId: string;
145
158
 
@@ -400,7 +413,7 @@ export namespace Bundle {
400
413
 
401
414
  metrics: Array<string | CollectorConfig.CollectorMetricConfig>;
402
415
 
403
- modality: 'call' | 'chat';
416
+ modality: 'voice' | 'chat' | 'call';
404
417
 
405
418
  name: string;
406
419
 
@@ -586,6 +599,8 @@ export namespace Bundle {
586
599
 
587
600
  name: string;
588
601
 
602
+ callsPerSecond?: number | null;
603
+
589
604
  description?: string | null;
590
605
 
591
606
  endCallPhrases?: Array<string>;
@@ -610,6 +625,8 @@ export namespace Bundle {
610
625
 
611
626
  notify?: SimulationPlanConfig.Notify;
612
627
 
628
+ rampUpSeconds?: number | null;
629
+
613
630
  schedule?:
614
631
  | SimulationPlanConfig.UnionMember0
615
632
  | SimulationPlanConfig.UnionMember1
@@ -770,6 +787,8 @@ export namespace Bundle {
770
787
 
771
788
  template: 'question-answer-check';
772
789
 
790
+ callsPerSecond?: number | null;
791
+
773
792
  description?: string | null;
774
793
 
775
794
  endCallPhrases?: Array<string>;
@@ -798,6 +817,8 @@ export namespace Bundle {
798
817
 
799
818
  notify?: QaSimulationPlanConfig.Notify;
800
819
 
820
+ rampUpSeconds?: number | null;
821
+
801
822
  schedule?:
802
823
  | QaSimulationPlanConfig.UnionMember0
803
824
  | QaSimulationPlanConfig.UnionMember1
@@ -1108,6 +1129,8 @@ export namespace Bundle {
1108
1129
  | 'CHAT_ANALYSIS_FAILED'
1109
1130
  | 'ISSUE_OPENED'
1110
1131
  | 'ISSUE_RESOLVED'
1132
+ | 'AGENT_SETUP_COMPLETED'
1133
+ | 'AGENT_SETUP_FAILED'
1111
1134
  >;
1112
1135
 
1113
1136
  type: 'event';
@@ -1191,12 +1214,16 @@ export namespace Bundle {
1191
1214
 
1192
1215
  export namespace UnionMember1 {
1193
1216
  export interface AppointmentType {
1194
- eventTypeId: number;
1195
-
1196
1217
  name: string;
1197
1218
 
1219
+ calendarTarget?: string | null;
1220
+
1198
1221
  durationMinutes?: number | null;
1199
1222
 
1223
+ eventTypeId?: number | null;
1224
+
1225
+ eventTypeUri?: string | null;
1226
+
1200
1227
  whenToUse?: string | null;
1201
1228
  }
1202
1229
  }
@@ -1638,6 +1665,8 @@ export namespace Bundle {
1638
1665
 
1639
1666
  llm?: AgentConfig.Llm;
1640
1667
 
1668
+ modalities?: Array<'voice' | 'chat' | 'call'>;
1669
+
1641
1670
  prompt?: string | null;
1642
1671
 
1643
1672
  provider?:
@@ -1681,17 +1710,28 @@ export namespace Bundle {
1681
1710
  export interface Llm {
1682
1711
  model: string;
1683
1712
 
1684
- provider: 'OPENAI' | 'ANTHROPIC' | 'GOOGLE' | 'XAI' | 'ULTRAVOX' | 'AWS' | 'ELEVENLABS';
1713
+ provider:
1714
+ | 'OPENAI'
1715
+ | 'ANTHROPIC'
1716
+ | 'GOOGLE'
1717
+ | 'XAI'
1718
+ | 'ULTRAVOX'
1719
+ | 'AWS'
1720
+ | 'ELEVENLABS'
1721
+ | 'GROQ'
1722
+ | 'META'
1723
+ | 'RIME'
1724
+ | 'PHONIC';
1685
1725
  }
1686
1726
 
1687
1727
  export interface Stt {
1688
1728
  model: string;
1689
1729
 
1690
- provider: 'DEEPGRAM' | 'OPENAI_WHISPER' | 'SPEECHMATICS' | 'ASSEMBLYAI' | 'ELEVENLABS';
1730
+ provider: 'DEEPGRAM' | 'OPENAI_WHISPER' | 'SPEECHMATICS' | 'ASSEMBLYAI' | 'ELEVENLABS' | 'SONIOX';
1691
1731
  }
1692
1732
 
1693
1733
  export interface Tts {
1694
- provider: 'CARTESIA' | 'ELEVENLABS' | 'OPENAI' | 'RIME';
1734
+ provider: 'CARTESIA' | 'ELEVENLABS' | 'OPENAI' | 'RIME' | 'ASSEMBLYAI' | 'DEEPGRAM' | 'FISH_AUDIO';
1695
1735
 
1696
1736
  voiceId: string;
1697
1737
 
@@ -1952,7 +1992,7 @@ export namespace Bundle {
1952
1992
 
1953
1993
  metrics: Array<string | CollectorConfig.CollectorMetricConfig>;
1954
1994
 
1955
- modality: 'call' | 'chat';
1995
+ modality: 'voice' | 'chat' | 'call';
1956
1996
 
1957
1997
  name: string;
1958
1998
 
@@ -2138,6 +2178,8 @@ export namespace Bundle {
2138
2178
 
2139
2179
  name: string;
2140
2180
 
2181
+ callsPerSecond?: number | null;
2182
+
2141
2183
  description?: string | null;
2142
2184
 
2143
2185
  endCallPhrases?: Array<string>;
@@ -2162,6 +2204,8 @@ export namespace Bundle {
2162
2204
 
2163
2205
  notify?: SimulationPlanConfig.Notify;
2164
2206
 
2207
+ rampUpSeconds?: number | null;
2208
+
2165
2209
  schedule?:
2166
2210
  | SimulationPlanConfig.UnionMember0
2167
2211
  | SimulationPlanConfig.UnionMember1
@@ -2322,6 +2366,8 @@ export namespace Bundle {
2322
2366
 
2323
2367
  template: 'question-answer-check';
2324
2368
 
2369
+ callsPerSecond?: number | null;
2370
+
2325
2371
  description?: string | null;
2326
2372
 
2327
2373
  endCallPhrases?: Array<string>;
@@ -2350,6 +2396,8 @@ export namespace Bundle {
2350
2396
 
2351
2397
  notify?: QaSimulationPlanConfig.Notify;
2352
2398
 
2399
+ rampUpSeconds?: number | null;
2400
+
2353
2401
  schedule?:
2354
2402
  | QaSimulationPlanConfig.UnionMember0
2355
2403
  | QaSimulationPlanConfig.UnionMember1
@@ -2660,6 +2708,8 @@ export namespace Bundle {
2660
2708
  | 'CHAT_ANALYSIS_FAILED'
2661
2709
  | 'ISSUE_OPENED'
2662
2710
  | 'ISSUE_RESOLVED'
2711
+ | 'AGENT_SETUP_COMPLETED'
2712
+ | 'AGENT_SETUP_FAILED'
2663
2713
  >;
2664
2714
 
2665
2715
  type: 'event';
@@ -2749,12 +2799,16 @@ export namespace Bundle {
2749
2799
 
2750
2800
  export namespace UnionMember1 {
2751
2801
  export interface AppointmentType {
2752
- eventTypeId: number;
2753
-
2754
2802
  name: string;
2755
2803
 
2804
+ calendarTarget?: string | null;
2805
+
2756
2806
  durationMinutes?: number | null;
2757
2807
 
2808
+ eventTypeId?: number | null;
2809
+
2810
+ eventTypeUri?: string | null;
2811
+
2758
2812
  whenToUse?: string | null;
2759
2813
  }
2760
2814
  }
@@ -3361,6 +3415,8 @@ export namespace ConfigApplyParams {
3361
3415
 
3362
3416
  llm?: AgentConfig.Llm;
3363
3417
 
3418
+ modalities?: Array<'voice' | 'chat' | 'call'>;
3419
+
3364
3420
  prompt?: string | null;
3365
3421
 
3366
3422
  provider?:
@@ -3404,17 +3460,28 @@ export namespace ConfigApplyParams {
3404
3460
  export interface Llm {
3405
3461
  model: string;
3406
3462
 
3407
- provider: 'OPENAI' | 'ANTHROPIC' | 'GOOGLE' | 'XAI' | 'ULTRAVOX' | 'AWS' | 'ELEVENLABS';
3463
+ provider:
3464
+ | 'OPENAI'
3465
+ | 'ANTHROPIC'
3466
+ | 'GOOGLE'
3467
+ | 'XAI'
3468
+ | 'ULTRAVOX'
3469
+ | 'AWS'
3470
+ | 'ELEVENLABS'
3471
+ | 'GROQ'
3472
+ | 'META'
3473
+ | 'RIME'
3474
+ | 'PHONIC';
3408
3475
  }
3409
3476
 
3410
3477
  export interface Stt {
3411
3478
  model: string;
3412
3479
 
3413
- provider: 'DEEPGRAM' | 'OPENAI_WHISPER' | 'SPEECHMATICS' | 'ASSEMBLYAI' | 'ELEVENLABS';
3480
+ provider: 'DEEPGRAM' | 'OPENAI_WHISPER' | 'SPEECHMATICS' | 'ASSEMBLYAI' | 'ELEVENLABS' | 'SONIOX';
3414
3481
  }
3415
3482
 
3416
3483
  export interface Tts {
3417
- provider: 'CARTESIA' | 'ELEVENLABS' | 'OPENAI' | 'RIME';
3484
+ provider: 'CARTESIA' | 'ELEVENLABS' | 'OPENAI' | 'RIME' | 'ASSEMBLYAI' | 'DEEPGRAM' | 'FISH_AUDIO';
3418
3485
 
3419
3486
  voiceId: string;
3420
3487
 
@@ -3675,7 +3742,7 @@ export namespace ConfigApplyParams {
3675
3742
 
3676
3743
  metrics: Array<string | CollectorConfig.CollectorMetricConfig>;
3677
3744
 
3678
- modality: 'call' | 'chat';
3745
+ modality: 'voice' | 'chat' | 'call';
3679
3746
 
3680
3747
  name: string;
3681
3748
 
@@ -3861,6 +3928,8 @@ export namespace ConfigApplyParams {
3861
3928
 
3862
3929
  name: string;
3863
3930
 
3931
+ callsPerSecond?: number | null;
3932
+
3864
3933
  description?: string | null;
3865
3934
 
3866
3935
  endCallPhrases?: Array<string>;
@@ -3885,6 +3954,8 @@ export namespace ConfigApplyParams {
3885
3954
 
3886
3955
  notify?: SimulationPlanConfig.Notify;
3887
3956
 
3957
+ rampUpSeconds?: number | null;
3958
+
3888
3959
  schedule?:
3889
3960
  | SimulationPlanConfig.UnionMember0
3890
3961
  | SimulationPlanConfig.UnionMember1
@@ -4045,6 +4116,8 @@ export namespace ConfigApplyParams {
4045
4116
 
4046
4117
  template: 'question-answer-check';
4047
4118
 
4119
+ callsPerSecond?: number | null;
4120
+
4048
4121
  description?: string | null;
4049
4122
 
4050
4123
  endCallPhrases?: Array<string>;
@@ -4073,6 +4146,8 @@ export namespace ConfigApplyParams {
4073
4146
 
4074
4147
  notify?: QaSimulationPlanConfig.Notify;
4075
4148
 
4149
+ rampUpSeconds?: number | null;
4150
+
4076
4151
  schedule?:
4077
4152
  | QaSimulationPlanConfig.UnionMember0
4078
4153
  | QaSimulationPlanConfig.UnionMember1
@@ -4383,6 +4458,8 @@ export namespace ConfigApplyParams {
4383
4458
  | 'CHAT_ANALYSIS_FAILED'
4384
4459
  | 'ISSUE_OPENED'
4385
4460
  | 'ISSUE_RESOLVED'
4461
+ | 'AGENT_SETUP_COMPLETED'
4462
+ | 'AGENT_SETUP_FAILED'
4386
4463
  >;
4387
4464
 
4388
4465
  type: 'event';
@@ -4466,12 +4543,16 @@ export namespace ConfigApplyParams {
4466
4543
 
4467
4544
  export namespace UnionMember1 {
4468
4545
  export interface AppointmentType {
4469
- eventTypeId: number;
4470
-
4471
4546
  name: string;
4472
4547
 
4548
+ calendarTarget?: string | null;
4549
+
4473
4550
  durationMinutes?: number | null;
4474
4551
 
4552
+ eventTypeId?: number | null;
4553
+
4554
+ eventTypeUri?: string | null;
4555
+
4475
4556
  whenToUse?: string | null;
4476
4557
  }
4477
4558
  }
@@ -4913,6 +4994,8 @@ export namespace ConfigApplyParams {
4913
4994
 
4914
4995
  llm?: AgentConfig.Llm;
4915
4996
 
4997
+ modalities?: Array<'voice' | 'chat' | 'call'>;
4998
+
4916
4999
  prompt?: string | null;
4917
5000
 
4918
5001
  provider?:
@@ -4956,17 +5039,28 @@ export namespace ConfigApplyParams {
4956
5039
  export interface Llm {
4957
5040
  model: string;
4958
5041
 
4959
- provider: 'OPENAI' | 'ANTHROPIC' | 'GOOGLE' | 'XAI' | 'ULTRAVOX' | 'AWS' | 'ELEVENLABS';
5042
+ provider:
5043
+ | 'OPENAI'
5044
+ | 'ANTHROPIC'
5045
+ | 'GOOGLE'
5046
+ | 'XAI'
5047
+ | 'ULTRAVOX'
5048
+ | 'AWS'
5049
+ | 'ELEVENLABS'
5050
+ | 'GROQ'
5051
+ | 'META'
5052
+ | 'RIME'
5053
+ | 'PHONIC';
4960
5054
  }
4961
5055
 
4962
5056
  export interface Stt {
4963
5057
  model: string;
4964
5058
 
4965
- provider: 'DEEPGRAM' | 'OPENAI_WHISPER' | 'SPEECHMATICS' | 'ASSEMBLYAI' | 'ELEVENLABS';
5059
+ provider: 'DEEPGRAM' | 'OPENAI_WHISPER' | 'SPEECHMATICS' | 'ASSEMBLYAI' | 'ELEVENLABS' | 'SONIOX';
4966
5060
  }
4967
5061
 
4968
5062
  export interface Tts {
4969
- provider: 'CARTESIA' | 'ELEVENLABS' | 'OPENAI' | 'RIME';
5063
+ provider: 'CARTESIA' | 'ELEVENLABS' | 'OPENAI' | 'RIME' | 'ASSEMBLYAI' | 'DEEPGRAM' | 'FISH_AUDIO';
4970
5064
 
4971
5065
  voiceId: string;
4972
5066
 
@@ -5227,7 +5321,7 @@ export namespace ConfigApplyParams {
5227
5321
 
5228
5322
  metrics: Array<string | CollectorConfig.CollectorMetricConfig>;
5229
5323
 
5230
- modality: 'call' | 'chat';
5324
+ modality: 'voice' | 'chat' | 'call';
5231
5325
 
5232
5326
  name: string;
5233
5327
 
@@ -5413,6 +5507,8 @@ export namespace ConfigApplyParams {
5413
5507
 
5414
5508
  name: string;
5415
5509
 
5510
+ callsPerSecond?: number | null;
5511
+
5416
5512
  description?: string | null;
5417
5513
 
5418
5514
  endCallPhrases?: Array<string>;
@@ -5437,6 +5533,8 @@ export namespace ConfigApplyParams {
5437
5533
 
5438
5534
  notify?: SimulationPlanConfig.Notify;
5439
5535
 
5536
+ rampUpSeconds?: number | null;
5537
+
5440
5538
  schedule?:
5441
5539
  | SimulationPlanConfig.UnionMember0
5442
5540
  | SimulationPlanConfig.UnionMember1
@@ -5597,6 +5695,8 @@ export namespace ConfigApplyParams {
5597
5695
 
5598
5696
  template: 'question-answer-check';
5599
5697
 
5698
+ callsPerSecond?: number | null;
5699
+
5600
5700
  description?: string | null;
5601
5701
 
5602
5702
  endCallPhrases?: Array<string>;
@@ -5625,6 +5725,8 @@ export namespace ConfigApplyParams {
5625
5725
 
5626
5726
  notify?: QaSimulationPlanConfig.Notify;
5627
5727
 
5728
+ rampUpSeconds?: number | null;
5729
+
5628
5730
  schedule?:
5629
5731
  | QaSimulationPlanConfig.UnionMember0
5630
5732
  | QaSimulationPlanConfig.UnionMember1
@@ -5935,6 +6037,8 @@ export namespace ConfigApplyParams {
5935
6037
  | 'CHAT_ANALYSIS_FAILED'
5936
6038
  | 'ISSUE_OPENED'
5937
6039
  | 'ISSUE_RESOLVED'
6040
+ | 'AGENT_SETUP_COMPLETED'
6041
+ | 'AGENT_SETUP_FAILED'
5938
6042
  >;
5939
6043
 
5940
6044
  type: 'event';
@@ -6024,12 +6128,16 @@ export namespace ConfigApplyParams {
6024
6128
 
6025
6129
  export namespace UnionMember1 {
6026
6130
  export interface AppointmentType {
6027
- eventTypeId: number;
6028
-
6029
6131
  name: string;
6030
6132
 
6133
+ calendarTarget?: string | null;
6134
+
6031
6135
  durationMinutes?: number | null;
6032
6136
 
6137
+ eventTypeId?: number | null;
6138
+
6139
+ eventTypeUri?: string | null;
6140
+
6033
6141
  whenToUse?: string | null;
6034
6142
  }
6035
6143
  }
@@ -6447,6 +6555,8 @@ export namespace ConfigDiffParams {
6447
6555
 
6448
6556
  llm?: AgentConfig.Llm;
6449
6557
 
6558
+ modalities?: Array<'voice' | 'chat' | 'call'>;
6559
+
6450
6560
  prompt?: string | null;
6451
6561
 
6452
6562
  provider?:
@@ -6490,17 +6600,28 @@ export namespace ConfigDiffParams {
6490
6600
  export interface Llm {
6491
6601
  model: string;
6492
6602
 
6493
- provider: 'OPENAI' | 'ANTHROPIC' | 'GOOGLE' | 'XAI' | 'ULTRAVOX' | 'AWS' | 'ELEVENLABS';
6603
+ provider:
6604
+ | 'OPENAI'
6605
+ | 'ANTHROPIC'
6606
+ | 'GOOGLE'
6607
+ | 'XAI'
6608
+ | 'ULTRAVOX'
6609
+ | 'AWS'
6610
+ | 'ELEVENLABS'
6611
+ | 'GROQ'
6612
+ | 'META'
6613
+ | 'RIME'
6614
+ | 'PHONIC';
6494
6615
  }
6495
6616
 
6496
6617
  export interface Stt {
6497
6618
  model: string;
6498
6619
 
6499
- provider: 'DEEPGRAM' | 'OPENAI_WHISPER' | 'SPEECHMATICS' | 'ASSEMBLYAI' | 'ELEVENLABS';
6620
+ provider: 'DEEPGRAM' | 'OPENAI_WHISPER' | 'SPEECHMATICS' | 'ASSEMBLYAI' | 'ELEVENLABS' | 'SONIOX';
6500
6621
  }
6501
6622
 
6502
6623
  export interface Tts {
6503
- provider: 'CARTESIA' | 'ELEVENLABS' | 'OPENAI' | 'RIME';
6624
+ provider: 'CARTESIA' | 'ELEVENLABS' | 'OPENAI' | 'RIME' | 'ASSEMBLYAI' | 'DEEPGRAM' | 'FISH_AUDIO';
6504
6625
 
6505
6626
  voiceId: string;
6506
6627
 
@@ -6761,7 +6882,7 @@ export namespace ConfigDiffParams {
6761
6882
 
6762
6883
  metrics: Array<string | CollectorConfig.CollectorMetricConfig>;
6763
6884
 
6764
- modality: 'call' | 'chat';
6885
+ modality: 'voice' | 'chat' | 'call';
6765
6886
 
6766
6887
  name: string;
6767
6888
 
@@ -6947,6 +7068,8 @@ export namespace ConfigDiffParams {
6947
7068
 
6948
7069
  name: string;
6949
7070
 
7071
+ callsPerSecond?: number | null;
7072
+
6950
7073
  description?: string | null;
6951
7074
 
6952
7075
  endCallPhrases?: Array<string>;
@@ -6971,6 +7094,8 @@ export namespace ConfigDiffParams {
6971
7094
 
6972
7095
  notify?: SimulationPlanConfig.Notify;
6973
7096
 
7097
+ rampUpSeconds?: number | null;
7098
+
6974
7099
  schedule?:
6975
7100
  | SimulationPlanConfig.UnionMember0
6976
7101
  | SimulationPlanConfig.UnionMember1
@@ -7131,6 +7256,8 @@ export namespace ConfigDiffParams {
7131
7256
 
7132
7257
  template: 'question-answer-check';
7133
7258
 
7259
+ callsPerSecond?: number | null;
7260
+
7134
7261
  description?: string | null;
7135
7262
 
7136
7263
  endCallPhrases?: Array<string>;
@@ -7159,6 +7286,8 @@ export namespace ConfigDiffParams {
7159
7286
 
7160
7287
  notify?: QaSimulationPlanConfig.Notify;
7161
7288
 
7289
+ rampUpSeconds?: number | null;
7290
+
7162
7291
  schedule?:
7163
7292
  | QaSimulationPlanConfig.UnionMember0
7164
7293
  | QaSimulationPlanConfig.UnionMember1
@@ -7469,6 +7598,8 @@ export namespace ConfigDiffParams {
7469
7598
  | 'CHAT_ANALYSIS_FAILED'
7470
7599
  | 'ISSUE_OPENED'
7471
7600
  | 'ISSUE_RESOLVED'
7601
+ | 'AGENT_SETUP_COMPLETED'
7602
+ | 'AGENT_SETUP_FAILED'
7472
7603
  >;
7473
7604
 
7474
7605
  type: 'event';
@@ -7552,12 +7683,16 @@ export namespace ConfigDiffParams {
7552
7683
 
7553
7684
  export namespace UnionMember1 {
7554
7685
  export interface AppointmentType {
7555
- eventTypeId: number;
7556
-
7557
7686
  name: string;
7558
7687
 
7688
+ calendarTarget?: string | null;
7689
+
7559
7690
  durationMinutes?: number | null;
7560
7691
 
7692
+ eventTypeId?: number | null;
7693
+
7694
+ eventTypeUri?: string | null;
7695
+
7561
7696
  whenToUse?: string | null;
7562
7697
  }
7563
7698
  }
@@ -7999,6 +8134,8 @@ export namespace ConfigDiffParams {
7999
8134
 
8000
8135
  llm?: AgentConfig.Llm;
8001
8136
 
8137
+ modalities?: Array<'voice' | 'chat' | 'call'>;
8138
+
8002
8139
  prompt?: string | null;
8003
8140
 
8004
8141
  provider?:
@@ -8042,17 +8179,28 @@ export namespace ConfigDiffParams {
8042
8179
  export interface Llm {
8043
8180
  model: string;
8044
8181
 
8045
- provider: 'OPENAI' | 'ANTHROPIC' | 'GOOGLE' | 'XAI' | 'ULTRAVOX' | 'AWS' | 'ELEVENLABS';
8182
+ provider:
8183
+ | 'OPENAI'
8184
+ | 'ANTHROPIC'
8185
+ | 'GOOGLE'
8186
+ | 'XAI'
8187
+ | 'ULTRAVOX'
8188
+ | 'AWS'
8189
+ | 'ELEVENLABS'
8190
+ | 'GROQ'
8191
+ | 'META'
8192
+ | 'RIME'
8193
+ | 'PHONIC';
8046
8194
  }
8047
8195
 
8048
8196
  export interface Stt {
8049
8197
  model: string;
8050
8198
 
8051
- provider: 'DEEPGRAM' | 'OPENAI_WHISPER' | 'SPEECHMATICS' | 'ASSEMBLYAI' | 'ELEVENLABS';
8199
+ provider: 'DEEPGRAM' | 'OPENAI_WHISPER' | 'SPEECHMATICS' | 'ASSEMBLYAI' | 'ELEVENLABS' | 'SONIOX';
8052
8200
  }
8053
8201
 
8054
8202
  export interface Tts {
8055
- provider: 'CARTESIA' | 'ELEVENLABS' | 'OPENAI' | 'RIME';
8203
+ provider: 'CARTESIA' | 'ELEVENLABS' | 'OPENAI' | 'RIME' | 'ASSEMBLYAI' | 'DEEPGRAM' | 'FISH_AUDIO';
8056
8204
 
8057
8205
  voiceId: string;
8058
8206
 
@@ -8313,7 +8461,7 @@ export namespace ConfigDiffParams {
8313
8461
 
8314
8462
  metrics: Array<string | CollectorConfig.CollectorMetricConfig>;
8315
8463
 
8316
- modality: 'call' | 'chat';
8464
+ modality: 'voice' | 'chat' | 'call';
8317
8465
 
8318
8466
  name: string;
8319
8467
 
@@ -8499,6 +8647,8 @@ export namespace ConfigDiffParams {
8499
8647
 
8500
8648
  name: string;
8501
8649
 
8650
+ callsPerSecond?: number | null;
8651
+
8502
8652
  description?: string | null;
8503
8653
 
8504
8654
  endCallPhrases?: Array<string>;
@@ -8523,6 +8673,8 @@ export namespace ConfigDiffParams {
8523
8673
 
8524
8674
  notify?: SimulationPlanConfig.Notify;
8525
8675
 
8676
+ rampUpSeconds?: number | null;
8677
+
8526
8678
  schedule?:
8527
8679
  | SimulationPlanConfig.UnionMember0
8528
8680
  | SimulationPlanConfig.UnionMember1
@@ -8683,6 +8835,8 @@ export namespace ConfigDiffParams {
8683
8835
 
8684
8836
  template: 'question-answer-check';
8685
8837
 
8838
+ callsPerSecond?: number | null;
8839
+
8686
8840
  description?: string | null;
8687
8841
 
8688
8842
  endCallPhrases?: Array<string>;
@@ -8711,6 +8865,8 @@ export namespace ConfigDiffParams {
8711
8865
 
8712
8866
  notify?: QaSimulationPlanConfig.Notify;
8713
8867
 
8868
+ rampUpSeconds?: number | null;
8869
+
8714
8870
  schedule?:
8715
8871
  | QaSimulationPlanConfig.UnionMember0
8716
8872
  | QaSimulationPlanConfig.UnionMember1
@@ -9021,6 +9177,8 @@ export namespace ConfigDiffParams {
9021
9177
  | 'CHAT_ANALYSIS_FAILED'
9022
9178
  | 'ISSUE_OPENED'
9023
9179
  | 'ISSUE_RESOLVED'
9180
+ | 'AGENT_SETUP_COMPLETED'
9181
+ | 'AGENT_SETUP_FAILED'
9024
9182
  >;
9025
9183
 
9026
9184
  type: 'event';
@@ -9110,12 +9268,16 @@ export namespace ConfigDiffParams {
9110
9268
 
9111
9269
  export namespace UnionMember1 {
9112
9270
  export interface AppointmentType {
9113
- eventTypeId: number;
9114
-
9115
9271
  name: string;
9116
9272
 
9273
+ calendarTarget?: string | null;
9274
+
9117
9275
  durationMinutes?: number | null;
9118
9276
 
9277
+ eventTypeId?: number | null;
9278
+
9279
+ eventTypeUri?: string | null;
9280
+
9119
9281
  whenToUse?: string | null;
9120
9282
  }
9121
9283
  }