@roarkanalytics/sdk 2.31.0 → 2.33.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 (245) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/api-promise.d.mts +1 -0
  3. package/api-promise.d.mts.map +1 -1
  4. package/api-promise.d.ts +1 -0
  5. package/api-promise.d.ts.map +1 -1
  6. package/api-promise.mjs +1 -0
  7. package/api-promise.mjs.map +1 -1
  8. package/client.d.mts +17 -5
  9. package/client.d.mts.map +1 -1
  10. package/client.d.ts +17 -5
  11. package/client.d.ts.map +1 -1
  12. package/client.js +35 -4
  13. package/client.js.map +1 -1
  14. package/client.mjs +35 -4
  15. package/client.mjs.map +1 -1
  16. package/core/api-promise.d.mts.map +1 -1
  17. package/core/api-promise.d.ts.map +1 -1
  18. package/core/api-promise.mjs.map +1 -1
  19. package/core/error.mjs.map +1 -1
  20. package/core/resource.d.mts.map +1 -1
  21. package/core/resource.d.ts.map +1 -1
  22. package/core/uploads.d.mts.map +1 -1
  23. package/core/uploads.d.ts.map +1 -1
  24. package/core/uploads.mjs.map +1 -1
  25. package/error.d.mts +1 -0
  26. package/error.d.mts.map +1 -1
  27. package/error.d.ts +1 -0
  28. package/error.d.ts.map +1 -1
  29. package/error.mjs +1 -0
  30. package/error.mjs.map +1 -1
  31. package/index.d.mts.map +1 -1
  32. package/index.d.ts.map +1 -1
  33. package/index.mjs.map +1 -1
  34. package/internal/detect-platform.mjs.map +1 -1
  35. package/internal/headers.mjs.map +1 -1
  36. package/internal/parse.d.mts.map +1 -1
  37. package/internal/parse.d.ts.map +1 -1
  38. package/internal/parse.mjs.map +1 -1
  39. package/internal/qs/formats.d.mts.map +1 -1
  40. package/internal/qs/formats.d.ts.map +1 -1
  41. package/internal/qs/index.d.mts +2 -2
  42. package/internal/qs/index.d.mts.map +1 -1
  43. package/internal/qs/index.d.ts +2 -2
  44. package/internal/qs/index.d.ts.map +1 -1
  45. package/internal/qs/index.mjs.map +1 -1
  46. package/internal/qs/stringify.d.mts.map +1 -1
  47. package/internal/qs/stringify.d.ts.map +1 -1
  48. package/internal/qs/stringify.mjs.map +1 -1
  49. package/internal/qs/utils.d.mts.map +1 -1
  50. package/internal/qs/utils.d.ts.map +1 -1
  51. package/internal/qs/utils.mjs.map +1 -1
  52. package/internal/request-options.d.mts.map +1 -1
  53. package/internal/request-options.d.ts.map +1 -1
  54. package/internal/shims.d.mts +6 -0
  55. package/internal/shims.d.mts.map +1 -1
  56. package/internal/shims.d.ts +6 -0
  57. package/internal/shims.d.ts.map +1 -1
  58. package/internal/to-file.d.mts.map +1 -1
  59. package/internal/to-file.d.ts.map +1 -1
  60. package/internal/to-file.mjs.map +1 -1
  61. package/internal/types.d.mts +10 -10
  62. package/internal/types.d.mts.map +1 -1
  63. package/internal/types.d.ts +10 -10
  64. package/internal/types.d.ts.map +1 -1
  65. package/internal/uploads.d.mts.map +1 -1
  66. package/internal/uploads.d.ts.map +1 -1
  67. package/internal/uploads.mjs.map +1 -1
  68. package/internal/utils/base64.mjs.map +1 -1
  69. package/internal/utils/log.d.mts.map +1 -1
  70. package/internal/utils/log.d.ts.map +1 -1
  71. package/internal/utils/log.js +2 -0
  72. package/internal/utils/log.js.map +1 -1
  73. package/internal/utils/log.mjs +2 -0
  74. package/internal/utils/log.mjs.map +1 -1
  75. package/internal/utils/path.mjs.map +1 -1
  76. package/internal/utils/query.mjs.map +1 -1
  77. package/internal/utils/values.mjs.map +1 -1
  78. package/internal/utils.d.mts.map +1 -1
  79. package/internal/utils.d.ts.map +1 -1
  80. package/internal/utils.mjs.map +1 -1
  81. package/package.json +1 -1
  82. package/resource.d.mts +1 -0
  83. package/resource.d.mts.map +1 -1
  84. package/resource.d.ts +1 -0
  85. package/resource.d.ts.map +1 -1
  86. package/resource.mjs +1 -0
  87. package/resource.mjs.map +1 -1
  88. package/resources/agent-endpoint.d.mts +4 -4
  89. package/resources/agent-endpoint.d.mts.map +1 -1
  90. package/resources/agent-endpoint.d.ts +4 -4
  91. package/resources/agent-endpoint.d.ts.map +1 -1
  92. package/resources/agent-endpoint.mjs.map +1 -1
  93. package/resources/agent.d.mts.map +1 -1
  94. package/resources/agent.d.ts.map +1 -1
  95. package/resources/agent.mjs.map +1 -1
  96. package/resources/call.d.mts +303 -155
  97. package/resources/call.d.mts.map +1 -1
  98. package/resources/call.d.ts +303 -155
  99. package/resources/call.d.ts.map +1 -1
  100. package/resources/call.js +6 -7
  101. package/resources/call.js.map +1 -1
  102. package/resources/call.mjs +6 -7
  103. package/resources/call.mjs.map +1 -1
  104. package/resources/config.d.mts +535 -0
  105. package/resources/config.d.mts.map +1 -0
  106. package/resources/config.d.ts +535 -0
  107. package/resources/config.d.ts.map +1 -0
  108. package/resources/config.js +28 -0
  109. package/resources/config.js.map +1 -0
  110. package/resources/config.mjs +24 -0
  111. package/resources/config.mjs.map +1 -0
  112. package/resources/customer-flow-edge-case.d.mts +1742 -0
  113. package/resources/customer-flow-edge-case.d.mts.map +1 -0
  114. package/resources/customer-flow-edge-case.d.ts +1742 -0
  115. package/resources/customer-flow-edge-case.d.ts.map +1 -0
  116. package/resources/customer-flow-edge-case.js +50 -0
  117. package/resources/customer-flow-edge-case.js.map +1 -0
  118. package/resources/customer-flow-edge-case.mjs +46 -0
  119. package/resources/customer-flow-edge-case.mjs.map +1 -0
  120. package/resources/customer-flow.d.mts +7163 -0
  121. package/resources/customer-flow.d.mts.map +1 -0
  122. package/resources/customer-flow.d.ts +7163 -0
  123. package/resources/customer-flow.d.ts.map +1 -0
  124. package/resources/customer-flow.js +87 -0
  125. package/resources/customer-flow.js.map +1 -0
  126. package/resources/customer-flow.mjs +83 -0
  127. package/resources/customer-flow.mjs.map +1 -0
  128. package/resources/health.d.mts.map +1 -1
  129. package/resources/health.d.ts.map +1 -1
  130. package/resources/health.mjs.map +1 -1
  131. package/resources/http-request-definition.d.mts.map +1 -1
  132. package/resources/http-request-definition.d.ts.map +1 -1
  133. package/resources/http-request-definition.mjs.map +1 -1
  134. package/resources/index.d.mts +6 -2
  135. package/resources/index.d.mts.map +1 -1
  136. package/resources/index.d.ts +6 -2
  137. package/resources/index.d.ts.map +1 -1
  138. package/resources/index.js +11 -3
  139. package/resources/index.js.map +1 -1
  140. package/resources/index.mjs +5 -1
  141. package/resources/index.mjs.map +1 -1
  142. package/resources/metric-collection-job.d.mts +5 -3
  143. package/resources/metric-collection-job.d.mts.map +1 -1
  144. package/resources/metric-collection-job.d.ts +5 -3
  145. package/resources/metric-collection-job.d.ts.map +1 -1
  146. package/resources/metric-collection-job.mjs.map +1 -1
  147. package/resources/metric-policy.d.mts.map +1 -1
  148. package/resources/metric-policy.d.ts.map +1 -1
  149. package/resources/metric-policy.mjs.map +1 -1
  150. package/resources/metric.d.mts +804 -109
  151. package/resources/metric.d.mts.map +1 -1
  152. package/resources/metric.d.ts +804 -109
  153. package/resources/metric.d.ts.map +1 -1
  154. package/resources/metric.js +6 -7
  155. package/resources/metric.js.map +1 -1
  156. package/resources/metric.mjs +6 -7
  157. package/resources/metric.mjs.map +1 -1
  158. package/resources/simulation-environment.d.mts +95 -0
  159. package/resources/simulation-environment.d.mts.map +1 -0
  160. package/resources/simulation-environment.d.ts +95 -0
  161. package/resources/simulation-environment.d.ts.map +1 -0
  162. package/resources/simulation-environment.js +24 -0
  163. package/resources/simulation-environment.js.map +1 -0
  164. package/resources/simulation-environment.mjs +20 -0
  165. package/resources/simulation-environment.mjs.map +1 -0
  166. package/resources/simulation-job.d.mts +58 -10
  167. package/resources/simulation-job.d.mts.map +1 -1
  168. package/resources/simulation-job.d.ts +58 -10
  169. package/resources/simulation-job.d.ts.map +1 -1
  170. package/resources/simulation-job.mjs.map +1 -1
  171. package/resources/simulation-persona.d.mts +60 -24
  172. package/resources/simulation-persona.d.mts.map +1 -1
  173. package/resources/simulation-persona.d.ts +60 -24
  174. package/resources/simulation-persona.d.ts.map +1 -1
  175. package/resources/simulation-persona.mjs.map +1 -1
  176. package/resources/simulation-run-plan-job.d.mts +73 -32
  177. package/resources/simulation-run-plan-job.d.mts.map +1 -1
  178. package/resources/simulation-run-plan-job.d.ts +73 -32
  179. package/resources/simulation-run-plan-job.d.ts.map +1 -1
  180. package/resources/simulation-run-plan-job.js +7 -8
  181. package/resources/simulation-run-plan-job.js.map +1 -1
  182. package/resources/simulation-run-plan-job.mjs +7 -8
  183. package/resources/simulation-run-plan-job.mjs.map +1 -1
  184. package/resources/simulation-run-plan.d.mts +408 -39
  185. package/resources/simulation-run-plan.d.mts.map +1 -1
  186. package/resources/simulation-run-plan.d.ts +408 -39
  187. package/resources/simulation-run-plan.d.ts.map +1 -1
  188. package/resources/simulation-run-plan.js +6 -11
  189. package/resources/simulation-run-plan.js.map +1 -1
  190. package/resources/simulation-run-plan.mjs +6 -11
  191. package/resources/simulation-run-plan.mjs.map +1 -1
  192. package/resources/simulation.d.mts +379 -0
  193. package/resources/simulation.d.mts.map +1 -0
  194. package/resources/simulation.d.ts +379 -0
  195. package/resources/simulation.d.ts.map +1 -0
  196. package/resources/simulation.js +33 -0
  197. package/resources/simulation.js.map +1 -0
  198. package/resources/simulation.mjs +29 -0
  199. package/resources/simulation.mjs.map +1 -0
  200. package/resources/webhook.d.mts +4 -4
  201. package/resources/webhook.d.mts.map +1 -1
  202. package/resources/webhook.d.ts +4 -4
  203. package/resources/webhook.d.ts.map +1 -1
  204. package/resources/webhook.mjs.map +1 -1
  205. package/resources.d.mts.map +1 -1
  206. package/resources.d.ts.map +1 -1
  207. package/resources.mjs.map +1 -1
  208. package/src/client.ts +124 -28
  209. package/src/internal/types.ts +6 -8
  210. package/src/internal/utils/log.ts +2 -0
  211. package/src/resources/agent-endpoint.ts +36 -4
  212. package/src/resources/call.ts +326 -169
  213. package/src/resources/config.ts +1162 -0
  214. package/src/resources/customer-flow-edge-case.ts +2884 -0
  215. package/src/resources/customer-flow.ts +11713 -0
  216. package/src/resources/index.ts +42 -12
  217. package/src/resources/metric-collection-job.ts +5 -3
  218. package/src/resources/metric.ts +1057 -115
  219. package/src/resources/simulation-environment.ts +147 -0
  220. package/src/resources/simulation-job.ts +122 -10
  221. package/src/resources/simulation-persona.ts +192 -24
  222. package/src/resources/simulation-run-plan-job.ts +109 -27
  223. package/src/resources/simulation-run-plan.ts +445 -40
  224. package/src/resources/simulation.ts +444 -0
  225. package/src/resources/webhook.ts +8 -0
  226. package/src/version.ts +1 -1
  227. package/uploads.d.mts +1 -0
  228. package/uploads.d.mts.map +1 -1
  229. package/uploads.d.ts +1 -0
  230. package/uploads.d.ts.map +1 -1
  231. package/uploads.mjs +1 -0
  232. package/uploads.mjs.map +1 -1
  233. package/version.d.mts +1 -1
  234. package/version.d.ts +1 -1
  235. package/version.js +1 -1
  236. package/version.mjs +1 -1
  237. package/resources/simulation-scenario.d.mts +0 -424
  238. package/resources/simulation-scenario.d.mts.map +0 -1
  239. package/resources/simulation-scenario.d.ts +0 -424
  240. package/resources/simulation-scenario.d.ts.map +0 -1
  241. package/resources/simulation-scenario.js +0 -40
  242. package/resources/simulation-scenario.js.map +0 -1
  243. package/resources/simulation-scenario.mjs +0 -36
  244. package/resources/simulation-scenario.mjs.map +0 -1
  245. package/src/resources/simulation-scenario.ts +0 -602
@@ -0,0 +1,147 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../core/resource';
4
+ import { APIPromise } from '../core/api-promise';
5
+ import { RequestOptions } from '../internal/request-options';
6
+ import { path } from '../internal/utils/path';
7
+
8
+ export class SimulationEnvironment extends APIResource {
9
+ /**
10
+ * Returns a paginated list of environments: the project's own plus the
11
+ * environments Roark curates and shares across every project. Reference one by id
12
+ * when setting a customer flow variant's environment.
13
+ */
14
+ list(
15
+ query: SimulationEnvironmentListParams | null | undefined = {},
16
+ options?: RequestOptions,
17
+ ): APIPromise<SimulationEnvironmentListResponse> {
18
+ return this._client.get('/v1/simulation/environment', { query, ...options });
19
+ }
20
+
21
+ /**
22
+ * Returns a single environment by its ID.
23
+ */
24
+ getByID(environmentID: string, options?: RequestOptions): APIPromise<SimulationEnvironmentGetByIDResponse> {
25
+ return this._client.get(path`/v1/simulation/environment/${environmentID}`, options);
26
+ }
27
+ }
28
+
29
+ /**
30
+ * Paginated list of environments: the project's own plus the shared Roark-curated
31
+ * ones
32
+ */
33
+ export interface SimulationEnvironmentListResponse {
34
+ data: Array<SimulationEnvironmentListResponse.Data>;
35
+
36
+ pagination: SimulationEnvironmentListResponse.Pagination;
37
+ }
38
+
39
+ export namespace SimulationEnvironmentListResponse {
40
+ /**
41
+ * A simulation environment: the ambient conditions a customer flow variant runs
42
+ * under. The list includes both your own and the ones Roark curates for every
43
+ * project.
44
+ */
45
+ export interface Data {
46
+ id: string;
47
+
48
+ backgroundNoise:
49
+ | 'NONE'
50
+ | 'AIRPORT'
51
+ | 'CHILDREN_PLAYING'
52
+ | 'CITY'
53
+ | 'COFFEE_SHOP'
54
+ | 'DRIVING'
55
+ | 'OFFICE'
56
+ | 'THUNDERSTORM';
57
+
58
+ /**
59
+ * Creation timestamp in ISO 8601 format
60
+ */
61
+ createdAt: string;
62
+
63
+ name: string;
64
+
65
+ /**
66
+ * Last update timestamp in ISO 8601 format
67
+ */
68
+ updatedAt: string;
69
+
70
+ description?: string | null;
71
+ }
72
+
73
+ export interface Pagination {
74
+ /**
75
+ * Whether there are more items to fetch
76
+ */
77
+ hasMore: boolean;
78
+
79
+ /**
80
+ * Cursor for the next page of items
81
+ */
82
+ nextCursor: string | null;
83
+
84
+ /**
85
+ * Total number of items
86
+ */
87
+ total: number;
88
+ }
89
+ }
90
+
91
+ export interface SimulationEnvironmentGetByIDResponse {
92
+ /**
93
+ * A simulation environment: the ambient conditions a customer flow variant runs
94
+ * under. The list includes both your own and the ones Roark curates for every
95
+ * project.
96
+ */
97
+ data: SimulationEnvironmentGetByIDResponse.Data;
98
+ }
99
+
100
+ export namespace SimulationEnvironmentGetByIDResponse {
101
+ /**
102
+ * A simulation environment: the ambient conditions a customer flow variant runs
103
+ * under. The list includes both your own and the ones Roark curates for every
104
+ * project.
105
+ */
106
+ export interface Data {
107
+ id: string;
108
+
109
+ backgroundNoise:
110
+ | 'NONE'
111
+ | 'AIRPORT'
112
+ | 'CHILDREN_PLAYING'
113
+ | 'CITY'
114
+ | 'COFFEE_SHOP'
115
+ | 'DRIVING'
116
+ | 'OFFICE'
117
+ | 'THUNDERSTORM';
118
+
119
+ /**
120
+ * Creation timestamp in ISO 8601 format
121
+ */
122
+ createdAt: string;
123
+
124
+ name: string;
125
+
126
+ /**
127
+ * Last update timestamp in ISO 8601 format
128
+ */
129
+ updatedAt: string;
130
+
131
+ description?: string | null;
132
+ }
133
+ }
134
+
135
+ export interface SimulationEnvironmentListParams {
136
+ after?: string;
137
+
138
+ limit?: number;
139
+ }
140
+
141
+ export declare namespace SimulationEnvironment {
142
+ export {
143
+ type SimulationEnvironmentListResponse as SimulationEnvironmentListResponse,
144
+ type SimulationEnvironmentGetByIDResponse as SimulationEnvironmentGetByIDResponse,
145
+ type SimulationEnvironmentListParams as SimulationEnvironmentListParams,
146
+ };
147
+ }
@@ -69,6 +69,8 @@ export namespace SimulationJobGetByIDResponse {
69
69
  */
70
70
  processingStatus: string;
71
71
 
72
+ runPlan: Data.RunPlan;
73
+
72
74
  /**
73
75
  * Scenario used in a simulation
74
76
  */
@@ -130,7 +132,15 @@ export namespace SimulationJobGetByIDResponse {
130
132
  /**
131
133
  * Agent endpoint type
132
134
  */
133
- type: 'PHONE' | 'WEBSOCKET' | 'LIVEKIT' | 'SMALL_WEBRTC' | 'ELEVENLABS_WS' | 'KORE' | 'GOOGLE_CES';
135
+ type:
136
+ | 'PHONE'
137
+ | 'WEBSOCKET'
138
+ | 'LIVEKIT'
139
+ | 'SMALL_WEBRTC'
140
+ | 'ELEVENLABS_WS'
141
+ | 'KORE'
142
+ | 'GOOGLE_CES'
143
+ | 'DAILY';
134
144
  }
135
145
 
136
146
  export interface Persona {
@@ -165,7 +175,8 @@ export namespace SimulationJobGetByIDResponse {
165
175
  | 'MY'
166
176
  | 'HK'
167
177
  | 'TR'
168
- | 'PT';
178
+ | 'PT'
179
+ | 'IL';
169
180
 
170
181
  /**
171
182
  * Background noise setting
@@ -216,9 +227,10 @@ export namespace SimulationJobGetByIDResponse {
216
227
  idleMessageResetCountOnUserSpeechEnabled: boolean;
217
228
 
218
229
  /**
219
- * Messages the persona will say when the agent goes silent during a call
230
+ * Messages the persona will say when the agent goes silent during a call. null =
231
+ * "Automatic": language-appropriate defaults are used at call time.
220
232
  */
221
- idleMessages: Array<string>;
233
+ idleMessages: Array<string> | null;
222
234
 
223
235
  /**
224
236
  * Seconds of silence before the persona sends an idle message
@@ -250,7 +262,8 @@ export namespace SimulationJobGetByIDResponse {
250
262
  | 'MS'
251
263
  | 'ZH'
252
264
  | 'TR'
253
- | 'PT';
265
+ | 'PT'
266
+ | 'HE';
254
267
 
255
268
  /**
256
269
  * How reliable the persona's memory is
@@ -283,6 +296,31 @@ export namespace SimulationJobGetByIDResponse {
283
296
  */
284
297
  speechPace: 'SUPER_SLOW' | 'SLOW' | 'NORMAL' | 'FAST' | 'SUPER_FAST';
285
298
 
299
+ /**
300
+ * Languages the persona can understand. Multilingual combinations are limited by
301
+ * multilingual speech recognition support.
302
+ */
303
+ understoodLanguages: Array<
304
+ | 'EN'
305
+ | 'ES'
306
+ | 'DE'
307
+ | 'HI'
308
+ | 'FR'
309
+ | 'NL'
310
+ | 'AR'
311
+ | 'EL'
312
+ | 'IT'
313
+ | 'ID'
314
+ | 'TH'
315
+ | 'JA'
316
+ | 'TL'
317
+ | 'MS'
318
+ | 'ZH'
319
+ | 'TR'
320
+ | 'PT'
321
+ | 'HE'
322
+ >;
323
+
286
324
  /**
287
325
  * Last update timestamp
288
326
  */
@@ -304,6 +342,24 @@ export namespace SimulationJobGetByIDResponse {
304
342
  secondaryLanguage?: 'EN' | null;
305
343
  }
306
344
 
345
+ export interface RunPlan {
346
+ /**
347
+ * Run plan ID
348
+ */
349
+ id: string;
350
+
351
+ /**
352
+ * Run plan name
353
+ */
354
+ name: string;
355
+
356
+ /**
357
+ * Run-plan-level variables resolved for this job, keyed by variable name. Values
358
+ * are stringified by their declared type.
359
+ */
360
+ variables: { [key: string]: string };
361
+ }
362
+
307
363
  /**
308
364
  * Scenario used in a simulation
309
365
  */
@@ -350,6 +406,8 @@ export namespace SimulationJobLookupResponse {
350
406
  */
351
407
  processingStatus: string;
352
408
 
409
+ runPlan: Data.RunPlan;
410
+
353
411
  /**
354
412
  * Scenario used in a simulation
355
413
  */
@@ -411,7 +469,15 @@ export namespace SimulationJobLookupResponse {
411
469
  /**
412
470
  * Agent endpoint type
413
471
  */
414
- type: 'PHONE' | 'WEBSOCKET' | 'LIVEKIT' | 'SMALL_WEBRTC' | 'ELEVENLABS_WS' | 'KORE' | 'GOOGLE_CES';
472
+ type:
473
+ | 'PHONE'
474
+ | 'WEBSOCKET'
475
+ | 'LIVEKIT'
476
+ | 'SMALL_WEBRTC'
477
+ | 'ELEVENLABS_WS'
478
+ | 'KORE'
479
+ | 'GOOGLE_CES'
480
+ | 'DAILY';
415
481
  }
416
482
 
417
483
  export interface Persona {
@@ -446,7 +512,8 @@ export namespace SimulationJobLookupResponse {
446
512
  | 'MY'
447
513
  | 'HK'
448
514
  | 'TR'
449
- | 'PT';
515
+ | 'PT'
516
+ | 'IL';
450
517
 
451
518
  /**
452
519
  * Background noise setting
@@ -497,9 +564,10 @@ export namespace SimulationJobLookupResponse {
497
564
  idleMessageResetCountOnUserSpeechEnabled: boolean;
498
565
 
499
566
  /**
500
- * Messages the persona will say when the agent goes silent during a call
567
+ * Messages the persona will say when the agent goes silent during a call. null =
568
+ * "Automatic": language-appropriate defaults are used at call time.
501
569
  */
502
- idleMessages: Array<string>;
570
+ idleMessages: Array<string> | null;
503
571
 
504
572
  /**
505
573
  * Seconds of silence before the persona sends an idle message
@@ -531,7 +599,8 @@ export namespace SimulationJobLookupResponse {
531
599
  | 'MS'
532
600
  | 'ZH'
533
601
  | 'TR'
534
- | 'PT';
602
+ | 'PT'
603
+ | 'HE';
535
604
 
536
605
  /**
537
606
  * How reliable the persona's memory is
@@ -564,6 +633,31 @@ export namespace SimulationJobLookupResponse {
564
633
  */
565
634
  speechPace: 'SUPER_SLOW' | 'SLOW' | 'NORMAL' | 'FAST' | 'SUPER_FAST';
566
635
 
636
+ /**
637
+ * Languages the persona can understand. Multilingual combinations are limited by
638
+ * multilingual speech recognition support.
639
+ */
640
+ understoodLanguages: Array<
641
+ | 'EN'
642
+ | 'ES'
643
+ | 'DE'
644
+ | 'HI'
645
+ | 'FR'
646
+ | 'NL'
647
+ | 'AR'
648
+ | 'EL'
649
+ | 'IT'
650
+ | 'ID'
651
+ | 'TH'
652
+ | 'JA'
653
+ | 'TL'
654
+ | 'MS'
655
+ | 'ZH'
656
+ | 'TR'
657
+ | 'PT'
658
+ | 'HE'
659
+ >;
660
+
567
661
  /**
568
662
  * Last update timestamp
569
663
  */
@@ -585,6 +679,24 @@ export namespace SimulationJobLookupResponse {
585
679
  secondaryLanguage?: 'EN' | null;
586
680
  }
587
681
 
682
+ export interface RunPlan {
683
+ /**
684
+ * Run plan ID
685
+ */
686
+ id: string;
687
+
688
+ /**
689
+ * Run plan name
690
+ */
691
+ name: string;
692
+
693
+ /**
694
+ * Run-plan-level variables resolved for this job, keyed by variable name. Values
695
+ * are stringified by their declared type.
696
+ */
697
+ variables: { [key: string]: string };
698
+ }
699
+
588
700
  /**
589
701
  * Scenario used in a simulation
590
702
  */