@roarkanalytics/sdk 3.10.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.
@@ -7,9 +7,16 @@ class Simulation extends resource_1.APIResource {
7
7
  /**
8
8
  * Starts a simulation and returns the run.
9
9
  *
10
- * Send `plan` to describe a simulation and run it once. Add `saveAsPlan` to keep
11
- * that configuration as a reusable run plan. Send `planId` instead to run a plan
12
- * you already have.
10
+ * Send `template` to run one of the built-in templates: it supplies the metrics
11
+ * and checks, and for some templates the flows too, so the request only names the
12
+ * agent and the direction. Send `plan` to describe a simulation yourself and run
13
+ * it once. Send `planId` to run a plan you already have.
14
+ *
15
+ * `template` and `plan` both resolve to a run plan, returned as
16
+ * `simulationRunPlanId`. Add `saveAsPlan` to keep it, or read it back to see
17
+ * exactly what ran. A plan built from a template is a snapshot: retuning the
18
+ * template later never changes what that plan runs, which is what makes a saved
19
+ * one safe to pin in CI.
13
20
  *
14
21
  * @example
15
22
  * ```ts
@@ -1 +1 @@
1
- {"version":3,"file":"simulation.js","sourceRoot":"","sources":["../src/resources/simulation.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,GAAG,CAAC,IAAyB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;CACF;AAzBD,gCAyBC"}
1
+ {"version":3,"file":"simulation.js","sourceRoot":"","sources":["../src/resources/simulation.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,GAAG,CAAC,IAAyB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;CACF;AAhCD,gCAgCC"}
@@ -4,9 +4,16 @@ export class Simulation extends APIResource {
4
4
  /**
5
5
  * Starts a simulation and returns the run.
6
6
  *
7
- * Send `plan` to describe a simulation and run it once. Add `saveAsPlan` to keep
8
- * that configuration as a reusable run plan. Send `planId` instead to run a plan
9
- * you already have.
7
+ * Send `template` to run one of the built-in templates: it supplies the metrics
8
+ * and checks, and for some templates the flows too, so the request only names the
9
+ * agent and the direction. Send `plan` to describe a simulation yourself and run
10
+ * it once. Send `planId` to run a plan you already have.
11
+ *
12
+ * `template` and `plan` both resolve to a run plan, returned as
13
+ * `simulationRunPlanId`. Add `saveAsPlan` to keep it, or read it back to see
14
+ * exactly what ran. A plan built from a template is a snapshot: retuning the
15
+ * template later never changes what that plan runs, which is what makes a saved
16
+ * one safe to pin in CI.
10
17
  *
11
18
  * @example
12
19
  * ```ts
@@ -1 +1 @@
1
- {"version":3,"file":"simulation.mjs","sourceRoot":"","sources":["../src/resources/simulation.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,GAAG,CAAC,IAAyB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;CACF"}
1
+ {"version":3,"file":"simulation.mjs","sourceRoot":"","sources":["../src/resources/simulation.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,GAAG,CAAC,IAAyB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;CACF"}
@@ -262,7 +262,7 @@ export namespace SimulationRunPlanCreateResponse {
262
262
  /**
263
263
  * The customer flow to run.
264
264
  */
265
- id: string;
265
+ id?: string;
266
266
 
267
267
  /**
268
268
  * `"ALL"` runs every edge case the flow has when the run starts, so one added
@@ -281,6 +281,13 @@ export namespace SimulationRunPlanCreateResponse {
281
281
  */
282
282
  personaOverrideId?: string | null;
283
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
+
284
291
  /**
285
292
  * Values for everything it resolves.
286
293
  */
@@ -292,13 +299,21 @@ export namespace SimulationRunPlanCreateResponse {
292
299
  /**
293
300
  * The edge case to run.
294
301
  */
295
- id: string;
302
+ id?: string;
296
303
 
297
304
  /**
298
305
  * Run this one as that persona instead of its own.
299
306
  */
300
307
  personaOverrideId?: string | null;
301
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
+
302
317
  /**
303
318
  * Values for this one only.
304
319
  */
@@ -516,7 +531,7 @@ export namespace SimulationRunPlanUpdateResponse {
516
531
  /**
517
532
  * The customer flow to run.
518
533
  */
519
- id: string;
534
+ id?: string;
520
535
 
521
536
  /**
522
537
  * `"ALL"` runs every edge case the flow has when the run starts, so one added
@@ -535,6 +550,13 @@ export namespace SimulationRunPlanUpdateResponse {
535
550
  */
536
551
  personaOverrideId?: string | null;
537
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
+
538
560
  /**
539
561
  * Values for everything it resolves.
540
562
  */
@@ -546,13 +568,21 @@ export namespace SimulationRunPlanUpdateResponse {
546
568
  /**
547
569
  * The edge case to run.
548
570
  */
549
- id: string;
571
+ id?: string;
550
572
 
551
573
  /**
552
574
  * Run this one as that persona instead of its own.
553
575
  */
554
576
  personaOverrideId?: string | null;
555
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
+
556
586
  /**
557
587
  * Values for this one only.
558
588
  */
@@ -734,7 +764,7 @@ export namespace SimulationRunPlanListResponse {
734
764
  /**
735
765
  * The customer flow to run.
736
766
  */
737
- id: string;
767
+ id?: string;
738
768
 
739
769
  /**
740
770
  * `"ALL"` runs every edge case the flow has when the run starts, so one added
@@ -753,6 +783,13 @@ export namespace SimulationRunPlanListResponse {
753
783
  */
754
784
  personaOverrideId?: string | null;
755
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
+
756
793
  /**
757
794
  * Values for everything it resolves.
758
795
  */
@@ -764,13 +801,21 @@ export namespace SimulationRunPlanListResponse {
764
801
  /**
765
802
  * The edge case to run.
766
803
  */
767
- id: string;
804
+ id?: string;
768
805
 
769
806
  /**
770
807
  * Run this one as that persona instead of its own.
771
808
  */
772
809
  personaOverrideId?: string | null;
773
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
+
774
819
  /**
775
820
  * Values for this one only.
776
821
  */
@@ -980,7 +1025,7 @@ export namespace SimulationRunPlanGetByIDResponse {
980
1025
  /**
981
1026
  * The customer flow to run.
982
1027
  */
983
- id: string;
1028
+ id?: string;
984
1029
 
985
1030
  /**
986
1031
  * `"ALL"` runs every edge case the flow has when the run starts, so one added
@@ -999,6 +1044,13 @@ export namespace SimulationRunPlanGetByIDResponse {
999
1044
  */
1000
1045
  personaOverrideId?: string | null;
1001
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
+
1002
1054
  /**
1003
1055
  * Values for everything it resolves.
1004
1056
  */
@@ -1010,13 +1062,21 @@ export namespace SimulationRunPlanGetByIDResponse {
1010
1062
  /**
1011
1063
  * The edge case to run.
1012
1064
  */
1013
- id: string;
1065
+ id?: string;
1014
1066
 
1015
1067
  /**
1016
1068
  * Run this one as that persona instead of its own.
1017
1069
  */
1018
1070
  personaOverrideId?: string | null;
1019
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
+
1020
1080
  /**
1021
1081
  * Values for this one only.
1022
1082
  */
@@ -1216,7 +1276,7 @@ export namespace SimulationRunPlanCreateParams {
1216
1276
  /**
1217
1277
  * The customer flow to run.
1218
1278
  */
1219
- id: string;
1279
+ id?: string;
1220
1280
 
1221
1281
  /**
1222
1282
  * `"ALL"` runs every edge case the flow has when the run starts, so one added
@@ -1235,6 +1295,13 @@ export namespace SimulationRunPlanCreateParams {
1235
1295
  */
1236
1296
  personaOverrideId?: string | null;
1237
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
+
1238
1305
  /**
1239
1306
  * Values for everything it resolves.
1240
1307
  */
@@ -1246,13 +1313,21 @@ export namespace SimulationRunPlanCreateParams {
1246
1313
  /**
1247
1314
  * The edge case to run.
1248
1315
  */
1249
- id: string;
1316
+ id?: string;
1250
1317
 
1251
1318
  /**
1252
1319
  * Run this one as that persona instead of its own.
1253
1320
  */
1254
1321
  personaOverrideId?: string | null;
1255
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
+
1256
1331
  /**
1257
1332
  * Values for this one only.
1258
1333
  */
@@ -1397,7 +1472,7 @@ export namespace SimulationRunPlanUpdateParams {
1397
1472
  /**
1398
1473
  * The customer flow to run.
1399
1474
  */
1400
- id: string;
1475
+ id?: string;
1401
1476
 
1402
1477
  /**
1403
1478
  * `"ALL"` runs every edge case the flow has when the run starts, so one added
@@ -1416,6 +1491,13 @@ export namespace SimulationRunPlanUpdateParams {
1416
1491
  */
1417
1492
  personaOverrideId?: string | null;
1418
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
+
1419
1501
  /**
1420
1502
  * Values for everything it resolves.
1421
1503
  */
@@ -1427,13 +1509,21 @@ export namespace SimulationRunPlanUpdateParams {
1427
1509
  /**
1428
1510
  * The edge case to run.
1429
1511
  */
1430
- id: string;
1512
+ id?: string;
1431
1513
 
1432
1514
  /**
1433
1515
  * Run this one as that persona instead of its own.
1434
1516
  */
1435
1517
  personaOverrideId?: string | null;
1436
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
+
1437
1527
  /**
1438
1528
  * Values for this one only.
1439
1529
  */
@@ -8,9 +8,16 @@ export class Simulation extends APIResource {
8
8
  /**
9
9
  * Starts a simulation and returns the run.
10
10
  *
11
- * Send `plan` to describe a simulation and run it once. Add `saveAsPlan` to keep
12
- * that configuration as a reusable run plan. Send `planId` instead to run a plan
13
- * you already have.
11
+ * Send `template` to run one of the built-in templates: it supplies the metrics
12
+ * and checks, and for some templates the flows too, so the request only names the
13
+ * agent and the direction. Send `plan` to describe a simulation yourself and run
14
+ * it once. Send `planId` to run a plan you already have.
15
+ *
16
+ * `template` and `plan` both resolve to a run plan, returned as
17
+ * `simulationRunPlanId`. Add `saveAsPlan` to keep it, or read it back to see
18
+ * exactly what ran. A plan built from a template is a snapshot: retuning the
19
+ * template later never changes what that plan runs, which is what makes a saved
20
+ * one safe to pin in CI.
14
21
  *
15
22
  * @example
16
23
  * ```ts
@@ -92,7 +99,8 @@ export namespace SimulationRunResponse {
92
99
 
93
100
  export type SimulationRunParams =
94
101
  | SimulationRunParams.RunSimulationFromConfig
95
- | SimulationRunParams.RunSimulationFromPlanID;
102
+ | SimulationRunParams.RunSimulationFromPlanID
103
+ | SimulationRunParams.RunSimulationFromTemplate;
96
104
 
97
105
  export declare namespace SimulationRunParams {
98
106
  export interface RunSimulationFromConfig {
@@ -306,7 +314,7 @@ export declare namespace SimulationRunParams {
306
314
  /**
307
315
  * The customer flow to run.
308
316
  */
309
- id: string;
317
+ id?: string;
310
318
 
311
319
  /**
312
320
  * `"ALL"` runs every edge case the flow has when the run starts, so one added
@@ -325,6 +333,13 @@ export declare namespace SimulationRunParams {
325
333
  */
326
334
  personaOverrideId?: string | null;
327
335
 
336
+ /**
337
+ * The Roark-curated flow to run, by its stable slug. Use instead of `id` for a run
338
+ * you keep in version control: a curated flow’s id differs between deployments,
339
+ * its slug does not. Your own flows have no slug and are named by `id`.
340
+ */
341
+ slug?: string;
342
+
328
343
  /**
329
344
  * Values for everything it resolves.
330
345
  */
@@ -336,13 +351,21 @@ export declare namespace SimulationRunParams {
336
351
  /**
337
352
  * The edge case to run.
338
353
  */
339
- id: string;
354
+ id?: string;
340
355
 
341
356
  /**
342
357
  * Run this one as that persona instead of its own.
343
358
  */
344
359
  personaOverrideId?: string | null;
345
360
 
361
+ /**
362
+ * The edge case to run, by its stable slug, matched within this flow. Use instead
363
+ * of `id` for a run you keep in version control: a curated edge case’s id differs
364
+ * between deployments and changes outright if it is renamed. Your own edge cases
365
+ * have no slug and are named by `id`.
366
+ */
367
+ slug?: string;
368
+
346
369
  /**
347
370
  * Values for this one only.
348
371
  */
@@ -476,6 +499,207 @@ export declare namespace SimulationRunParams {
476
499
  variables: { [key: string]: string };
477
500
  }
478
501
  }
502
+
503
+ export interface RunSimulationFromTemplate {
504
+ /**
505
+ * The agent endpoints to call. No template can know these.
506
+ */
507
+ agentEndpoints: Array<RunSimulationFromTemplate.AgentEndpoint>;
508
+
509
+ /**
510
+ * Direction of the simulation (INBOUND or OUTBOUND)
511
+ */
512
+ direction: 'INBOUND' | 'OUTBOUND';
513
+
514
+ /**
515
+ * The template to run, as listed by GET /v1/simulation/template.
516
+ */
517
+ template: string;
518
+
519
+ /**
520
+ * Phrases that trigger end of call. Empty array disables the feature.
521
+ */
522
+ endCallPhrases?: Array<string>;
523
+
524
+ /**
525
+ * Semantic conditions that trigger end of call. The LLM evaluates the conversation
526
+ * against these conditions. Empty array disables the feature.
527
+ */
528
+ endCallReasons?: Array<string>;
529
+
530
+ /**
531
+ * Merge the customer's own recording of the real call into each simulation, so
532
+ * metrics can be scored against the live leg as well as the simulated one. This is
533
+ * the API equivalent of the dashboard's live-enrichment toggle.
534
+ *
535
+ * With this on, the run provisions a phone number and holds each call open for up
536
+ * to 15 minutes waiting for a matching call to be posted to POST /v1/call. A call
537
+ * matches on the provisioned number (`roarkPhoneNumber` on the job) with a start
538
+ * time inside the simulation window. If nothing arrives, the simulation still
539
+ * completes and any `LIVE`-sourced metric produces no value.
540
+ *
541
+ * Required by any metric whose `requiresLiveConversation` is true: without it that
542
+ * metric is silently skipped.
543
+ */
544
+ enrichWithLiveConversation?: boolean;
545
+
546
+ /**
547
+ * Execution mode (PARALLEL or SEQUENTIAL)
548
+ */
549
+ executionMode?: 'PARALLEL' | 'SEQUENTIAL_SAME_RUN_PLAN' | 'SEQUENTIAL_PROJECT';
550
+
551
+ /**
552
+ * The flows to run, in the same shape a run plan takes them.
553
+ *
554
+ * Required when the template lists no flows of its own: it presets what to
555
+ * measure, and this says what to measure it on. Optional when it does, where these
556
+ * REPLACE the ones it would have run, so you can narrow a suite to the cases you
557
+ * care about. Either way, GET /v1/simulation/template lists the flows and variant
558
+ * ids each template covers.
559
+ */
560
+ flows?: Array<RunSimulationFromTemplate.Flow>;
561
+
562
+ /**
563
+ * Number of iterations to run for each test case (1-10000)
564
+ */
565
+ iterationCount?: number;
566
+
567
+ /**
568
+ * Maximum number of concurrent simulation jobs
569
+ */
570
+ maxConcurrentJobs?: number;
571
+
572
+ /**
573
+ * Defaults to the template's `defaultMaxSimulationDurationSeconds`, as returned by
574
+ * GET /v1/simulation/template.
575
+ */
576
+ maxSimulationDurationSeconds?: number;
577
+
578
+ /**
579
+ * What to call this. Defaults to the template's name and the date, and required
580
+ * with `saveAsPlan`.
581
+ */
582
+ name?: string;
583
+
584
+ /**
585
+ * Keeps the resolved configuration as a run plan, listed by GET
586
+ * /v1/simulation/plan and re-runnable with `planId`. Requires `name`.
587
+ */
588
+ saveAsPlan?: boolean;
589
+
590
+ /**
591
+ * Timeout in seconds for silence detection
592
+ */
593
+ silenceTimeoutSeconds?: number;
594
+
595
+ /**
596
+ * Values for the {{variables}} the run resolves. An object applies them
597
+ * everywhere; an array targets a flow, its happy path, or one of its edge cases
598
+ * with `flowId`.
599
+ *
600
+ * The scenario-scoped form the other variants accept is not valid here: a template
601
+ * run is always flow-based, so there would be no scenario for it to reach.
602
+ */
603
+ variables?: { [key: string]: string } | Array<RunSimulationFromTemplate.UnionMember1>;
604
+ }
605
+
606
+ export namespace RunSimulationFromTemplate {
607
+ export interface AgentEndpoint {
608
+ id: string;
609
+ }
610
+
611
+ /**
612
+ * One customer flow attached to a run plan, and which of its ways of running you
613
+ * cover.
614
+ *
615
+ * Attaching the same flow more than once with different overrides is how you fan
616
+ * it out across personas or values.
617
+ */
618
+ export interface Flow {
619
+ /**
620
+ * The customer flow to run.
621
+ */
622
+ id?: string;
623
+
624
+ /**
625
+ * `"ALL"` runs every edge case the flow has when the run starts, so one added
626
+ * later is covered. An array runs only the ones you name, each able to carry its
627
+ * own persona override and values.
628
+ */
629
+ edgeCases?: 'ALL' | Array<Flow.UnionMember1>;
630
+
631
+ /**
632
+ * Run the flow's happy path. Resolved when the run starts, so it follows the flow.
633
+ */
634
+ happyPath?: boolean;
635
+
636
+ /**
637
+ * Runs everything this attachment resolves as that persona instead of its own.
638
+ */
639
+ personaOverrideId?: string | null;
640
+
641
+ /**
642
+ * The Roark-curated flow to run, by its stable slug. Use instead of `id` for a run
643
+ * you keep in version control: a curated flow’s id differs between deployments,
644
+ * its slug does not. Your own flows have no slug and are named by `id`.
645
+ */
646
+ slug?: string;
647
+
648
+ /**
649
+ * Values for everything it resolves.
650
+ */
651
+ variables?: { [key: string]: string };
652
+ }
653
+
654
+ export namespace Flow {
655
+ export interface UnionMember1 {
656
+ /**
657
+ * The edge case to run.
658
+ */
659
+ id?: string;
660
+
661
+ /**
662
+ * Run this one as that persona instead of its own.
663
+ */
664
+ personaOverrideId?: string | null;
665
+
666
+ /**
667
+ * The edge case to run, by its stable slug, matched within this flow. Use instead
668
+ * of `id` for a run you keep in version control: a curated edge case’s id differs
669
+ * between deployments and changes outright if it is renamed. Your own edge cases
670
+ * have no slug and are named by `id`.
671
+ */
672
+ slug?: string;
673
+
674
+ /**
675
+ * Values for this one only.
676
+ */
677
+ variables?: { [key: string]: string };
678
+ }
679
+ }
680
+
681
+ export interface UnionMember1 {
682
+ /**
683
+ * A customer flow this plan runs.
684
+ */
685
+ flowId: string;
686
+
687
+ /**
688
+ * The values to apply.
689
+ */
690
+ variables: { [key: string]: string };
691
+
692
+ /**
693
+ * Narrow to one edge case of that flow.
694
+ */
695
+ edgeCaseId?: string;
696
+
697
+ /**
698
+ * Narrow to the flow's happy path.
699
+ */
700
+ happyPath?: true;
701
+ }
702
+ }
479
703
  }
480
704
 
481
705
  export declare namespace Simulation {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '3.10.0'; // x-release-please-version
1
+ export const VERSION = '3.11.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "3.10.0";
1
+ export declare const VERSION = "3.11.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "3.10.0";
1
+ export declare const VERSION = "3.11.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '3.10.0'; // x-release-please-version
4
+ exports.VERSION = '3.11.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '3.10.0'; // x-release-please-version
1
+ export const VERSION = '3.11.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map