@roarkanalytics/sdk 3.9.0 → 3.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/client.d.mts +3 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -0
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/customer-flow-edge-case.d.mts +9 -0
- package/resources/customer-flow-edge-case.d.mts.map +1 -1
- package/resources/customer-flow-edge-case.d.ts +9 -0
- package/resources/customer-flow-edge-case.d.ts.map +1 -1
- package/resources/customer-flow.d.mts +30 -0
- package/resources/customer-flow.d.mts.map +1 -1
- package/resources/customer-flow.d.ts +30 -0
- package/resources/customer-flow.d.ts.map +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/simulation-run-plan.d.mts +128 -12
- package/resources/simulation-run-plan.d.mts.map +1 -1
- package/resources/simulation-run-plan.d.ts +128 -12
- package/resources/simulation-run-plan.d.ts.map +1 -1
- package/resources/simulation-template.d.mts +162 -0
- package/resources/simulation-template.d.mts.map +1 -0
- package/resources/simulation-template.d.ts +162 -0
- package/resources/simulation-template.d.ts.map +1 -0
- package/resources/simulation-template.js +31 -0
- package/resources/simulation-template.js.map +1 -0
- package/resources/simulation-template.mjs +27 -0
- package/resources/simulation-template.mjs.map +1 -0
- package/resources/simulation.d.mts +218 -6
- package/resources/simulation.d.mts.map +1 -1
- package/resources/simulation.d.ts +218 -6
- package/resources/simulation.d.ts.map +1 -1
- package/resources/simulation.js +10 -3
- package/resources/simulation.js.map +1 -1
- package/resources/simulation.mjs +10 -3
- package/resources/simulation.mjs.map +1 -1
- package/src/client.ts +8 -0
- package/src/resources/customer-flow-edge-case.ts +18 -0
- package/src/resources/customer-flow.ts +60 -0
- package/src/resources/index.ts +1 -0
- package/src/resources/simulation-run-plan.ts +146 -12
- package/src/resources/simulation-template.ts +190 -0
- package/src/resources/simulation.ts +244 -6
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
|
@@ -461,6 +461,8 @@ export namespace CustomerFlowCreateResponse {
|
|
|
461
461
|
* Last update timestamp in ISO 8601 format
|
|
462
462
|
*/
|
|
463
463
|
updatedAt: string;
|
|
464
|
+
|
|
465
|
+
systemKey?: string | null;
|
|
464
466
|
}
|
|
465
467
|
|
|
466
468
|
export namespace EdgeCase {
|
|
@@ -774,6 +776,8 @@ export namespace CustomerFlowCreateResponse {
|
|
|
774
776
|
* Last update timestamp in ISO 8601 format
|
|
775
777
|
*/
|
|
776
778
|
updatedAt: string;
|
|
779
|
+
|
|
780
|
+
systemKey?: string | null;
|
|
777
781
|
}
|
|
778
782
|
|
|
779
783
|
export namespace HappyPath {
|
|
@@ -1174,6 +1178,8 @@ export namespace CustomerFlowCreateResponse {
|
|
|
1174
1178
|
* The brief the simulated customer improvises from.
|
|
1175
1179
|
*/
|
|
1176
1180
|
prompt?: string | null;
|
|
1181
|
+
|
|
1182
|
+
systemKey?: string | null;
|
|
1177
1183
|
}
|
|
1178
1184
|
|
|
1179
1185
|
export namespace EdgeCase {
|
|
@@ -1485,6 +1491,8 @@ export namespace CustomerFlowCreateResponse {
|
|
|
1485
1491
|
* The brief the simulated customer improvises from.
|
|
1486
1492
|
*/
|
|
1487
1493
|
prompt?: string | null;
|
|
1494
|
+
|
|
1495
|
+
systemKey?: string | null;
|
|
1488
1496
|
}
|
|
1489
1497
|
|
|
1490
1498
|
export namespace HappyPath {
|
|
@@ -1879,6 +1887,8 @@ export namespace CustomerFlowCreateResponse {
|
|
|
1879
1887
|
* Last update timestamp in ISO 8601 format
|
|
1880
1888
|
*/
|
|
1881
1889
|
updatedAt: string;
|
|
1890
|
+
|
|
1891
|
+
systemKey?: string | null;
|
|
1882
1892
|
}
|
|
1883
1893
|
|
|
1884
1894
|
export namespace EdgeCase {
|
|
@@ -2185,6 +2195,8 @@ export namespace CustomerFlowCreateResponse {
|
|
|
2185
2195
|
* Last update timestamp in ISO 8601 format
|
|
2186
2196
|
*/
|
|
2187
2197
|
updatedAt: string;
|
|
2198
|
+
|
|
2199
|
+
systemKey?: string | null;
|
|
2188
2200
|
}
|
|
2189
2201
|
|
|
2190
2202
|
export namespace HappyPath {
|
|
@@ -2616,6 +2628,8 @@ export namespace CustomerFlowUpdateResponse {
|
|
|
2616
2628
|
* Last update timestamp in ISO 8601 format
|
|
2617
2629
|
*/
|
|
2618
2630
|
updatedAt: string;
|
|
2631
|
+
|
|
2632
|
+
systemKey?: string | null;
|
|
2619
2633
|
}
|
|
2620
2634
|
|
|
2621
2635
|
export namespace EdgeCase {
|
|
@@ -2929,6 +2943,8 @@ export namespace CustomerFlowUpdateResponse {
|
|
|
2929
2943
|
* Last update timestamp in ISO 8601 format
|
|
2930
2944
|
*/
|
|
2931
2945
|
updatedAt: string;
|
|
2946
|
+
|
|
2947
|
+
systemKey?: string | null;
|
|
2932
2948
|
}
|
|
2933
2949
|
|
|
2934
2950
|
export namespace HappyPath {
|
|
@@ -3329,6 +3345,8 @@ export namespace CustomerFlowUpdateResponse {
|
|
|
3329
3345
|
* The brief the simulated customer improvises from.
|
|
3330
3346
|
*/
|
|
3331
3347
|
prompt?: string | null;
|
|
3348
|
+
|
|
3349
|
+
systemKey?: string | null;
|
|
3332
3350
|
}
|
|
3333
3351
|
|
|
3334
3352
|
export namespace EdgeCase {
|
|
@@ -3640,6 +3658,8 @@ export namespace CustomerFlowUpdateResponse {
|
|
|
3640
3658
|
* The brief the simulated customer improvises from.
|
|
3641
3659
|
*/
|
|
3642
3660
|
prompt?: string | null;
|
|
3661
|
+
|
|
3662
|
+
systemKey?: string | null;
|
|
3643
3663
|
}
|
|
3644
3664
|
|
|
3645
3665
|
export namespace HappyPath {
|
|
@@ -4034,6 +4054,8 @@ export namespace CustomerFlowUpdateResponse {
|
|
|
4034
4054
|
* Last update timestamp in ISO 8601 format
|
|
4035
4055
|
*/
|
|
4036
4056
|
updatedAt: string;
|
|
4057
|
+
|
|
4058
|
+
systemKey?: string | null;
|
|
4037
4059
|
}
|
|
4038
4060
|
|
|
4039
4061
|
export namespace EdgeCase {
|
|
@@ -4340,6 +4362,8 @@ export namespace CustomerFlowUpdateResponse {
|
|
|
4340
4362
|
* Last update timestamp in ISO 8601 format
|
|
4341
4363
|
*/
|
|
4342
4364
|
updatedAt: string;
|
|
4365
|
+
|
|
4366
|
+
systemKey?: string | null;
|
|
4343
4367
|
}
|
|
4344
4368
|
|
|
4345
4369
|
export namespace HappyPath {
|
|
@@ -4774,6 +4798,8 @@ export namespace CustomerFlowListResponse {
|
|
|
4774
4798
|
* Last update timestamp in ISO 8601 format
|
|
4775
4799
|
*/
|
|
4776
4800
|
updatedAt: string;
|
|
4801
|
+
|
|
4802
|
+
systemKey?: string | null;
|
|
4777
4803
|
}
|
|
4778
4804
|
|
|
4779
4805
|
export namespace EdgeCase {
|
|
@@ -5087,6 +5113,8 @@ export namespace CustomerFlowListResponse {
|
|
|
5087
5113
|
* Last update timestamp in ISO 8601 format
|
|
5088
5114
|
*/
|
|
5089
5115
|
updatedAt: string;
|
|
5116
|
+
|
|
5117
|
+
systemKey?: string | null;
|
|
5090
5118
|
}
|
|
5091
5119
|
|
|
5092
5120
|
export namespace HappyPath {
|
|
@@ -5487,6 +5515,8 @@ export namespace CustomerFlowListResponse {
|
|
|
5487
5515
|
* The brief the simulated customer improvises from.
|
|
5488
5516
|
*/
|
|
5489
5517
|
prompt?: string | null;
|
|
5518
|
+
|
|
5519
|
+
systemKey?: string | null;
|
|
5490
5520
|
}
|
|
5491
5521
|
|
|
5492
5522
|
export namespace EdgeCase {
|
|
@@ -5798,6 +5828,8 @@ export namespace CustomerFlowListResponse {
|
|
|
5798
5828
|
* The brief the simulated customer improvises from.
|
|
5799
5829
|
*/
|
|
5800
5830
|
prompt?: string | null;
|
|
5831
|
+
|
|
5832
|
+
systemKey?: string | null;
|
|
5801
5833
|
}
|
|
5802
5834
|
|
|
5803
5835
|
export namespace HappyPath {
|
|
@@ -6192,6 +6224,8 @@ export namespace CustomerFlowListResponse {
|
|
|
6192
6224
|
* Last update timestamp in ISO 8601 format
|
|
6193
6225
|
*/
|
|
6194
6226
|
updatedAt: string;
|
|
6227
|
+
|
|
6228
|
+
systemKey?: string | null;
|
|
6195
6229
|
}
|
|
6196
6230
|
|
|
6197
6231
|
export namespace EdgeCase {
|
|
@@ -6498,6 +6532,8 @@ export namespace CustomerFlowListResponse {
|
|
|
6498
6532
|
* Last update timestamp in ISO 8601 format
|
|
6499
6533
|
*/
|
|
6500
6534
|
updatedAt: string;
|
|
6535
|
+
|
|
6536
|
+
systemKey?: string | null;
|
|
6501
6537
|
}
|
|
6502
6538
|
|
|
6503
6539
|
export namespace HappyPath {
|
|
@@ -6959,6 +6995,8 @@ export namespace CustomerFlowGetByIDResponse {
|
|
|
6959
6995
|
* Last update timestamp in ISO 8601 format
|
|
6960
6996
|
*/
|
|
6961
6997
|
updatedAt: string;
|
|
6998
|
+
|
|
6999
|
+
systemKey?: string | null;
|
|
6962
7000
|
}
|
|
6963
7001
|
|
|
6964
7002
|
export namespace EdgeCase {
|
|
@@ -7272,6 +7310,8 @@ export namespace CustomerFlowGetByIDResponse {
|
|
|
7272
7310
|
* Last update timestamp in ISO 8601 format
|
|
7273
7311
|
*/
|
|
7274
7312
|
updatedAt: string;
|
|
7313
|
+
|
|
7314
|
+
systemKey?: string | null;
|
|
7275
7315
|
}
|
|
7276
7316
|
|
|
7277
7317
|
export namespace HappyPath {
|
|
@@ -7672,6 +7712,8 @@ export namespace CustomerFlowGetByIDResponse {
|
|
|
7672
7712
|
* The brief the simulated customer improvises from.
|
|
7673
7713
|
*/
|
|
7674
7714
|
prompt?: string | null;
|
|
7715
|
+
|
|
7716
|
+
systemKey?: string | null;
|
|
7675
7717
|
}
|
|
7676
7718
|
|
|
7677
7719
|
export namespace EdgeCase {
|
|
@@ -7983,6 +8025,8 @@ export namespace CustomerFlowGetByIDResponse {
|
|
|
7983
8025
|
* The brief the simulated customer improvises from.
|
|
7984
8026
|
*/
|
|
7985
8027
|
prompt?: string | null;
|
|
8028
|
+
|
|
8029
|
+
systemKey?: string | null;
|
|
7986
8030
|
}
|
|
7987
8031
|
|
|
7988
8032
|
export namespace HappyPath {
|
|
@@ -8377,6 +8421,8 @@ export namespace CustomerFlowGetByIDResponse {
|
|
|
8377
8421
|
* Last update timestamp in ISO 8601 format
|
|
8378
8422
|
*/
|
|
8379
8423
|
updatedAt: string;
|
|
8424
|
+
|
|
8425
|
+
systemKey?: string | null;
|
|
8380
8426
|
}
|
|
8381
8427
|
|
|
8382
8428
|
export namespace EdgeCase {
|
|
@@ -8683,6 +8729,8 @@ export namespace CustomerFlowGetByIDResponse {
|
|
|
8683
8729
|
* Last update timestamp in ISO 8601 format
|
|
8684
8730
|
*/
|
|
8685
8731
|
updatedAt: string;
|
|
8732
|
+
|
|
8733
|
+
systemKey?: string | null;
|
|
8686
8734
|
}
|
|
8687
8735
|
|
|
8688
8736
|
export namespace HappyPath {
|
|
@@ -9026,6 +9074,8 @@ export namespace CustomerFlowReplaceGraphResponse {
|
|
|
9026
9074
|
* Last update timestamp in ISO 8601 format
|
|
9027
9075
|
*/
|
|
9028
9076
|
updatedAt: string;
|
|
9077
|
+
|
|
9078
|
+
systemKey?: string | null;
|
|
9029
9079
|
}
|
|
9030
9080
|
|
|
9031
9081
|
export namespace ScriptedFlowVariant {
|
|
@@ -9337,6 +9387,8 @@ export namespace CustomerFlowReplaceGraphResponse {
|
|
|
9337
9387
|
* The brief the simulated customer improvises from.
|
|
9338
9388
|
*/
|
|
9339
9389
|
prompt?: string | null;
|
|
9390
|
+
|
|
9391
|
+
systemKey?: string | null;
|
|
9340
9392
|
}
|
|
9341
9393
|
|
|
9342
9394
|
export namespace ImprovFlowVariant {
|
|
@@ -9643,6 +9695,8 @@ export namespace CustomerFlowReplaceGraphResponse {
|
|
|
9643
9695
|
* Last update timestamp in ISO 8601 format
|
|
9644
9696
|
*/
|
|
9645
9697
|
updatedAt: string;
|
|
9698
|
+
|
|
9699
|
+
systemKey?: string | null;
|
|
9646
9700
|
}
|
|
9647
9701
|
|
|
9648
9702
|
export namespace VoicemailFlowVariant {
|
|
@@ -9969,6 +10023,8 @@ export namespace CustomerFlowUpdateHappyPathResponse {
|
|
|
9969
10023
|
* Last update timestamp in ISO 8601 format
|
|
9970
10024
|
*/
|
|
9971
10025
|
updatedAt: string;
|
|
10026
|
+
|
|
10027
|
+
systemKey?: string | null;
|
|
9972
10028
|
}
|
|
9973
10029
|
|
|
9974
10030
|
export namespace ScriptedFlowVariant {
|
|
@@ -10273,6 +10329,8 @@ export namespace CustomerFlowUpdateHappyPathResponse {
|
|
|
10273
10329
|
* The brief the simulated customer improvises from.
|
|
10274
10330
|
*/
|
|
10275
10331
|
prompt?: string | null;
|
|
10332
|
+
|
|
10333
|
+
systemKey?: string | null;
|
|
10276
10334
|
}
|
|
10277
10335
|
|
|
10278
10336
|
export namespace ImprovFlowVariant {
|
|
@@ -10572,6 +10630,8 @@ export namespace CustomerFlowUpdateHappyPathResponse {
|
|
|
10572
10630
|
* Last update timestamp in ISO 8601 format
|
|
10573
10631
|
*/
|
|
10574
10632
|
updatedAt: string;
|
|
10633
|
+
|
|
10634
|
+
systemKey?: string | null;
|
|
10575
10635
|
}
|
|
10576
10636
|
|
|
10577
10637
|
export namespace VoicemailFlowVariant {
|
package/src/resources/index.ts
CHANGED
|
@@ -164,6 +164,7 @@ export {
|
|
|
164
164
|
type SimulationRunPlanJobListParams,
|
|
165
165
|
type SimulationRunPlanJobStartParams,
|
|
166
166
|
} from './simulation-run-plan-job';
|
|
167
|
+
export { SimulationTemplate, type SimulationTemplateListResponse } from './simulation-template';
|
|
167
168
|
export {
|
|
168
169
|
Webhook,
|
|
169
170
|
type WebhookCreateResponse,
|
|
@@ -179,6 +179,12 @@ export namespace SimulationRunPlanCreateResponse {
|
|
|
179
179
|
*/
|
|
180
180
|
flows: Array<RunPlan.Flow>;
|
|
181
181
|
|
|
182
|
+
/**
|
|
183
|
+
* Whether this plan also collects each attached flow's own metrics, on top of its
|
|
184
|
+
* own list.
|
|
185
|
+
*/
|
|
186
|
+
includeFlowMetrics: boolean;
|
|
187
|
+
|
|
182
188
|
/**
|
|
183
189
|
* Number of iterations to run for each test case
|
|
184
190
|
*/
|
|
@@ -256,7 +262,7 @@ export namespace SimulationRunPlanCreateResponse {
|
|
|
256
262
|
/**
|
|
257
263
|
* The customer flow to run.
|
|
258
264
|
*/
|
|
259
|
-
id
|
|
265
|
+
id?: string;
|
|
260
266
|
|
|
261
267
|
/**
|
|
262
268
|
* `"ALL"` runs every edge case the flow has when the run starts, so one added
|
|
@@ -275,6 +281,13 @@ export namespace SimulationRunPlanCreateResponse {
|
|
|
275
281
|
*/
|
|
276
282
|
personaOverrideId?: string | null;
|
|
277
283
|
|
|
284
|
+
/**
|
|
285
|
+
* The Roark-curated flow to run, by its stable slug. Use instead of `id` for a run
|
|
286
|
+
* you keep in version control: a curated flow’s id differs between deployments,
|
|
287
|
+
* its slug does not. Your own flows have no slug and are named by `id`.
|
|
288
|
+
*/
|
|
289
|
+
slug?: string;
|
|
290
|
+
|
|
278
291
|
/**
|
|
279
292
|
* Values for everything it resolves.
|
|
280
293
|
*/
|
|
@@ -286,13 +299,21 @@ export namespace SimulationRunPlanCreateResponse {
|
|
|
286
299
|
/**
|
|
287
300
|
* The edge case to run.
|
|
288
301
|
*/
|
|
289
|
-
id
|
|
302
|
+
id?: string;
|
|
290
303
|
|
|
291
304
|
/**
|
|
292
305
|
* Run this one as that persona instead of its own.
|
|
293
306
|
*/
|
|
294
307
|
personaOverrideId?: string | null;
|
|
295
308
|
|
|
309
|
+
/**
|
|
310
|
+
* The edge case to run, by its stable slug, matched within this flow. Use instead
|
|
311
|
+
* of `id` for a run you keep in version control: a curated edge case’s id differs
|
|
312
|
+
* between deployments and changes outright if it is renamed. Your own edge cases
|
|
313
|
+
* have no slug and are named by `id`.
|
|
314
|
+
*/
|
|
315
|
+
slug?: string;
|
|
316
|
+
|
|
296
317
|
/**
|
|
297
318
|
* Values for this one only.
|
|
298
319
|
*/
|
|
@@ -427,6 +448,12 @@ export namespace SimulationRunPlanUpdateResponse {
|
|
|
427
448
|
*/
|
|
428
449
|
flows: Array<Data.Flow>;
|
|
429
450
|
|
|
451
|
+
/**
|
|
452
|
+
* Whether this plan also collects each attached flow's own metrics, on top of its
|
|
453
|
+
* own list.
|
|
454
|
+
*/
|
|
455
|
+
includeFlowMetrics: boolean;
|
|
456
|
+
|
|
430
457
|
/**
|
|
431
458
|
* Number of iterations to run for each test case
|
|
432
459
|
*/
|
|
@@ -504,7 +531,7 @@ export namespace SimulationRunPlanUpdateResponse {
|
|
|
504
531
|
/**
|
|
505
532
|
* The customer flow to run.
|
|
506
533
|
*/
|
|
507
|
-
id
|
|
534
|
+
id?: string;
|
|
508
535
|
|
|
509
536
|
/**
|
|
510
537
|
* `"ALL"` runs every edge case the flow has when the run starts, so one added
|
|
@@ -523,6 +550,13 @@ export namespace SimulationRunPlanUpdateResponse {
|
|
|
523
550
|
*/
|
|
524
551
|
personaOverrideId?: string | null;
|
|
525
552
|
|
|
553
|
+
/**
|
|
554
|
+
* The Roark-curated flow to run, by its stable slug. Use instead of `id` for a run
|
|
555
|
+
* you keep in version control: a curated flow’s id differs between deployments,
|
|
556
|
+
* its slug does not. Your own flows have no slug and are named by `id`.
|
|
557
|
+
*/
|
|
558
|
+
slug?: string;
|
|
559
|
+
|
|
526
560
|
/**
|
|
527
561
|
* Values for everything it resolves.
|
|
528
562
|
*/
|
|
@@ -534,13 +568,21 @@ export namespace SimulationRunPlanUpdateResponse {
|
|
|
534
568
|
/**
|
|
535
569
|
* The edge case to run.
|
|
536
570
|
*/
|
|
537
|
-
id
|
|
571
|
+
id?: string;
|
|
538
572
|
|
|
539
573
|
/**
|
|
540
574
|
* Run this one as that persona instead of its own.
|
|
541
575
|
*/
|
|
542
576
|
personaOverrideId?: string | null;
|
|
543
577
|
|
|
578
|
+
/**
|
|
579
|
+
* The edge case to run, by its stable slug, matched within this flow. Use instead
|
|
580
|
+
* of `id` for a run you keep in version control: a curated edge case’s id differs
|
|
581
|
+
* between deployments and changes outright if it is renamed. Your own edge cases
|
|
582
|
+
* have no slug and are named by `id`.
|
|
583
|
+
*/
|
|
584
|
+
slug?: string;
|
|
585
|
+
|
|
544
586
|
/**
|
|
545
587
|
* Values for this one only.
|
|
546
588
|
*/
|
|
@@ -639,6 +681,12 @@ export namespace SimulationRunPlanListResponse {
|
|
|
639
681
|
*/
|
|
640
682
|
flows: Array<Data.Flow>;
|
|
641
683
|
|
|
684
|
+
/**
|
|
685
|
+
* Whether this plan also collects each attached flow's own metrics, on top of its
|
|
686
|
+
* own list.
|
|
687
|
+
*/
|
|
688
|
+
includeFlowMetrics: boolean;
|
|
689
|
+
|
|
642
690
|
/**
|
|
643
691
|
* Number of iterations to run for each test case
|
|
644
692
|
*/
|
|
@@ -716,7 +764,7 @@ export namespace SimulationRunPlanListResponse {
|
|
|
716
764
|
/**
|
|
717
765
|
* The customer flow to run.
|
|
718
766
|
*/
|
|
719
|
-
id
|
|
767
|
+
id?: string;
|
|
720
768
|
|
|
721
769
|
/**
|
|
722
770
|
* `"ALL"` runs every edge case the flow has when the run starts, so one added
|
|
@@ -735,6 +783,13 @@ export namespace SimulationRunPlanListResponse {
|
|
|
735
783
|
*/
|
|
736
784
|
personaOverrideId?: string | null;
|
|
737
785
|
|
|
786
|
+
/**
|
|
787
|
+
* The Roark-curated flow to run, by its stable slug. Use instead of `id` for a run
|
|
788
|
+
* you keep in version control: a curated flow’s id differs between deployments,
|
|
789
|
+
* its slug does not. Your own flows have no slug and are named by `id`.
|
|
790
|
+
*/
|
|
791
|
+
slug?: string;
|
|
792
|
+
|
|
738
793
|
/**
|
|
739
794
|
* Values for everything it resolves.
|
|
740
795
|
*/
|
|
@@ -746,13 +801,21 @@ export namespace SimulationRunPlanListResponse {
|
|
|
746
801
|
/**
|
|
747
802
|
* The edge case to run.
|
|
748
803
|
*/
|
|
749
|
-
id
|
|
804
|
+
id?: string;
|
|
750
805
|
|
|
751
806
|
/**
|
|
752
807
|
* Run this one as that persona instead of its own.
|
|
753
808
|
*/
|
|
754
809
|
personaOverrideId?: string | null;
|
|
755
810
|
|
|
811
|
+
/**
|
|
812
|
+
* The edge case to run, by its stable slug, matched within this flow. Use instead
|
|
813
|
+
* of `id` for a run you keep in version control: a curated edge case’s id differs
|
|
814
|
+
* between deployments and changes outright if it is renamed. Your own edge cases
|
|
815
|
+
* have no slug and are named by `id`.
|
|
816
|
+
*/
|
|
817
|
+
slug?: string;
|
|
818
|
+
|
|
756
819
|
/**
|
|
757
820
|
* Values for this one only.
|
|
758
821
|
*/
|
|
@@ -879,6 +942,12 @@ export namespace SimulationRunPlanGetByIDResponse {
|
|
|
879
942
|
*/
|
|
880
943
|
flows: Array<Data.Flow>;
|
|
881
944
|
|
|
945
|
+
/**
|
|
946
|
+
* Whether this plan also collects each attached flow's own metrics, on top of its
|
|
947
|
+
* own list.
|
|
948
|
+
*/
|
|
949
|
+
includeFlowMetrics: boolean;
|
|
950
|
+
|
|
882
951
|
/**
|
|
883
952
|
* Number of iterations to run for each test case
|
|
884
953
|
*/
|
|
@@ -956,7 +1025,7 @@ export namespace SimulationRunPlanGetByIDResponse {
|
|
|
956
1025
|
/**
|
|
957
1026
|
* The customer flow to run.
|
|
958
1027
|
*/
|
|
959
|
-
id
|
|
1028
|
+
id?: string;
|
|
960
1029
|
|
|
961
1030
|
/**
|
|
962
1031
|
* `"ALL"` runs every edge case the flow has when the run starts, so one added
|
|
@@ -975,6 +1044,13 @@ export namespace SimulationRunPlanGetByIDResponse {
|
|
|
975
1044
|
*/
|
|
976
1045
|
personaOverrideId?: string | null;
|
|
977
1046
|
|
|
1047
|
+
/**
|
|
1048
|
+
* The Roark-curated flow to run, by its stable slug. Use instead of `id` for a run
|
|
1049
|
+
* you keep in version control: a curated flow’s id differs between deployments,
|
|
1050
|
+
* its slug does not. Your own flows have no slug and are named by `id`.
|
|
1051
|
+
*/
|
|
1052
|
+
slug?: string;
|
|
1053
|
+
|
|
978
1054
|
/**
|
|
979
1055
|
* Values for everything it resolves.
|
|
980
1056
|
*/
|
|
@@ -986,13 +1062,21 @@ export namespace SimulationRunPlanGetByIDResponse {
|
|
|
986
1062
|
/**
|
|
987
1063
|
* The edge case to run.
|
|
988
1064
|
*/
|
|
989
|
-
id
|
|
1065
|
+
id?: string;
|
|
990
1066
|
|
|
991
1067
|
/**
|
|
992
1068
|
* Run this one as that persona instead of its own.
|
|
993
1069
|
*/
|
|
994
1070
|
personaOverrideId?: string | null;
|
|
995
1071
|
|
|
1072
|
+
/**
|
|
1073
|
+
* The edge case to run, by its stable slug, matched within this flow. Use instead
|
|
1074
|
+
* of `id` for a run you keep in version control: a curated edge case’s id differs
|
|
1075
|
+
* between deployments and changes outright if it is renamed. Your own edge cases
|
|
1076
|
+
* have no slug and are named by `id`.
|
|
1077
|
+
*/
|
|
1078
|
+
slug?: string;
|
|
1079
|
+
|
|
996
1080
|
/**
|
|
997
1081
|
* Values for this one only.
|
|
998
1082
|
*/
|
|
@@ -1103,6 +1187,20 @@ export interface SimulationRunPlanCreateParams {
|
|
|
1103
1187
|
*/
|
|
1104
1188
|
flows?: Array<SimulationRunPlanCreateParams.Flow>;
|
|
1105
1189
|
|
|
1190
|
+
/**
|
|
1191
|
+
* Also collect each attached flow's own metrics, on top of the `metrics` named
|
|
1192
|
+
* here.
|
|
1193
|
+
*
|
|
1194
|
+
* Default true, which is what you want when you brought your own flows and their
|
|
1195
|
+
* graders. Set false for a run whose metric list is meant to be exhaustive: a
|
|
1196
|
+
* template like Load Testing or Voicemail deliberately grades a narrow set, and
|
|
1197
|
+
* inheriting every flow metric on top multiplies analysis cost across the volume
|
|
1198
|
+
* without adding signal.
|
|
1199
|
+
*
|
|
1200
|
+
* GET /v1/simulation/template returns the value each template expects.
|
|
1201
|
+
*/
|
|
1202
|
+
includeFlowMetrics?: boolean;
|
|
1203
|
+
|
|
1106
1204
|
/**
|
|
1107
1205
|
* Number of iterations to run for each test case (1-10000)
|
|
1108
1206
|
*/
|
|
@@ -1178,7 +1276,7 @@ export namespace SimulationRunPlanCreateParams {
|
|
|
1178
1276
|
/**
|
|
1179
1277
|
* The customer flow to run.
|
|
1180
1278
|
*/
|
|
1181
|
-
id
|
|
1279
|
+
id?: string;
|
|
1182
1280
|
|
|
1183
1281
|
/**
|
|
1184
1282
|
* `"ALL"` runs every edge case the flow has when the run starts, so one added
|
|
@@ -1197,6 +1295,13 @@ export namespace SimulationRunPlanCreateParams {
|
|
|
1197
1295
|
*/
|
|
1198
1296
|
personaOverrideId?: string | null;
|
|
1199
1297
|
|
|
1298
|
+
/**
|
|
1299
|
+
* The Roark-curated flow to run, by its stable slug. Use instead of `id` for a run
|
|
1300
|
+
* you keep in version control: a curated flow’s id differs between deployments,
|
|
1301
|
+
* its slug does not. Your own flows have no slug and are named by `id`.
|
|
1302
|
+
*/
|
|
1303
|
+
slug?: string;
|
|
1304
|
+
|
|
1200
1305
|
/**
|
|
1201
1306
|
* Values for everything it resolves.
|
|
1202
1307
|
*/
|
|
@@ -1208,13 +1313,21 @@ export namespace SimulationRunPlanCreateParams {
|
|
|
1208
1313
|
/**
|
|
1209
1314
|
* The edge case to run.
|
|
1210
1315
|
*/
|
|
1211
|
-
id
|
|
1316
|
+
id?: string;
|
|
1212
1317
|
|
|
1213
1318
|
/**
|
|
1214
1319
|
* Run this one as that persona instead of its own.
|
|
1215
1320
|
*/
|
|
1216
1321
|
personaOverrideId?: string | null;
|
|
1217
1322
|
|
|
1323
|
+
/**
|
|
1324
|
+
* The edge case to run, by its stable slug, matched within this flow. Use instead
|
|
1325
|
+
* of `id` for a run you keep in version control: a curated edge case’s id differs
|
|
1326
|
+
* between deployments and changes outright if it is renamed. Your own edge cases
|
|
1327
|
+
* have no slug and are named by `id`.
|
|
1328
|
+
*/
|
|
1329
|
+
slug?: string;
|
|
1330
|
+
|
|
1218
1331
|
/**
|
|
1219
1332
|
* Values for this one only.
|
|
1220
1333
|
*/
|
|
@@ -1284,6 +1397,12 @@ export interface SimulationRunPlanUpdateParams {
|
|
|
1284
1397
|
*/
|
|
1285
1398
|
flows?: Array<SimulationRunPlanUpdateParams.Flow>;
|
|
1286
1399
|
|
|
1400
|
+
/**
|
|
1401
|
+
* Whether to also collect each attached flow's own metrics, on top of this plan's
|
|
1402
|
+
* list.
|
|
1403
|
+
*/
|
|
1404
|
+
includeFlowMetrics?: boolean;
|
|
1405
|
+
|
|
1287
1406
|
/**
|
|
1288
1407
|
* Whether this plan is hidden from GET /v1/simulation/plan.
|
|
1289
1408
|
*
|
|
@@ -1353,7 +1472,7 @@ export namespace SimulationRunPlanUpdateParams {
|
|
|
1353
1472
|
/**
|
|
1354
1473
|
* The customer flow to run.
|
|
1355
1474
|
*/
|
|
1356
|
-
id
|
|
1475
|
+
id?: string;
|
|
1357
1476
|
|
|
1358
1477
|
/**
|
|
1359
1478
|
* `"ALL"` runs every edge case the flow has when the run starts, so one added
|
|
@@ -1372,6 +1491,13 @@ export namespace SimulationRunPlanUpdateParams {
|
|
|
1372
1491
|
*/
|
|
1373
1492
|
personaOverrideId?: string | null;
|
|
1374
1493
|
|
|
1494
|
+
/**
|
|
1495
|
+
* The Roark-curated flow to run, by its stable slug. Use instead of `id` for a run
|
|
1496
|
+
* you keep in version control: a curated flow’s id differs between deployments,
|
|
1497
|
+
* its slug does not. Your own flows have no slug and are named by `id`.
|
|
1498
|
+
*/
|
|
1499
|
+
slug?: string;
|
|
1500
|
+
|
|
1375
1501
|
/**
|
|
1376
1502
|
* Values for everything it resolves.
|
|
1377
1503
|
*/
|
|
@@ -1383,13 +1509,21 @@ export namespace SimulationRunPlanUpdateParams {
|
|
|
1383
1509
|
/**
|
|
1384
1510
|
* The edge case to run.
|
|
1385
1511
|
*/
|
|
1386
|
-
id
|
|
1512
|
+
id?: string;
|
|
1387
1513
|
|
|
1388
1514
|
/**
|
|
1389
1515
|
* Run this one as that persona instead of its own.
|
|
1390
1516
|
*/
|
|
1391
1517
|
personaOverrideId?: string | null;
|
|
1392
1518
|
|
|
1519
|
+
/**
|
|
1520
|
+
* The edge case to run, by its stable slug, matched within this flow. Use instead
|
|
1521
|
+
* of `id` for a run you keep in version control: a curated edge case’s id differs
|
|
1522
|
+
* between deployments and changes outright if it is renamed. Your own edge cases
|
|
1523
|
+
* have no slug and are named by `id`.
|
|
1524
|
+
*/
|
|
1525
|
+
slug?: string;
|
|
1526
|
+
|
|
1393
1527
|
/**
|
|
1394
1528
|
* Values for this one only.
|
|
1395
1529
|
*/
|