@roarkanalytics/sdk 3.19.0 → 3.21.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/autoimprove-fix.d.mts +495 -0
- package/resources/autoimprove-fix.d.mts.map +1 -0
- package/resources/autoimprove-fix.d.ts +495 -0
- package/resources/autoimprove-fix.d.ts.map +1 -0
- package/resources/autoimprove-fix.js +151 -0
- package/resources/autoimprove-fix.js.map +1 -0
- package/resources/autoimprove-fix.mjs +147 -0
- package/resources/autoimprove-fix.mjs.map +1 -0
- package/resources/config.d.mts +3 -0
- package/resources/config.d.mts.map +1 -1
- package/resources/config.d.ts +3 -0
- package/resources/config.d.ts.map +1 -1
- package/resources/customer-flow-edge-case.d.mts +192 -36
- package/resources/customer-flow-edge-case.d.mts.map +1 -1
- package/resources/customer-flow-edge-case.d.ts +192 -36
- package/resources/customer-flow-edge-case.d.ts.map +1 -1
- package/resources/customer-flow.d.mts +768 -144
- package/resources/customer-flow.d.mts.map +1 -1
- package/resources/customer-flow.d.ts +768 -144
- 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-job.d.mts +32 -6
- package/resources/simulation-job.d.mts.map +1 -1
- package/resources/simulation-job.d.ts +32 -6
- package/resources/simulation-job.d.ts.map +1 -1
- package/resources/simulation-persona.d.mts +92 -18
- package/resources/simulation-persona.d.mts.map +1 -1
- package/resources/simulation-persona.d.ts +92 -18
- package/resources/simulation-persona.d.ts.map +1 -1
- package/resources/simulation-run-plan-job.d.mts +16 -3
- package/resources/simulation-run-plan-job.d.mts.map +1 -1
- package/resources/simulation-run-plan-job.d.ts +16 -3
- package/resources/simulation-run-plan-job.d.ts.map +1 -1
- package/resources/simulation-run-plan.d.mts +117 -7
- package/resources/simulation-run-plan.d.mts.map +1 -1
- package/resources/simulation-run-plan.d.ts +117 -7
- package/resources/simulation-run-plan.d.ts.map +1 -1
- package/resources/simulation-template.d.mts +1 -1
- package/resources/simulation-template.d.mts.map +1 -1
- package/resources/simulation-template.d.ts +1 -1
- package/resources/simulation-template.d.ts.map +1 -1
- package/resources/simulation.d.mts +62 -2
- package/resources/simulation.d.mts.map +1 -1
- package/resources/simulation.d.ts +62 -2
- package/resources/simulation.d.ts.map +1 -1
- package/src/client.ts +33 -0
- package/src/resources/autoimprove-fix.ts +766 -0
- package/src/resources/config.ts +6 -0
- package/src/resources/customer-flow-edge-case.ts +204 -36
- package/src/resources/customer-flow.ts +816 -144
- package/src/resources/index.ts +15 -0
- package/src/resources/simulation-job.ts +34 -6
- package/src/resources/simulation-persona.ts +98 -18
- package/src/resources/simulation-run-plan-job.ts +17 -3
- package/src/resources/simulation-run-plan.ts +219 -1
- package/src/resources/simulation-template.ts +1 -0
- package/src/resources/simulation.ts +98 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -210,6 +210,7 @@ export declare namespace SimulationRunParams {
|
|
|
210
210
|
| 'GENDER'
|
|
211
211
|
| 'INTENT_CLARITY'
|
|
212
212
|
| 'LANGUAGE'
|
|
213
|
+
| 'INTERRUPTION'
|
|
213
214
|
| 'MEMORY_RELIABILITY'
|
|
214
215
|
| 'RESPONSE_TIMING'
|
|
215
216
|
| 'SPEECH_CLARITY'
|
|
@@ -269,7 +270,9 @@ export declare namespace SimulationRunParams {
|
|
|
269
270
|
|
|
270
271
|
/**
|
|
271
272
|
* Customer flows to include in this run plan. The same flow can appear more than
|
|
272
|
-
* once with a different persona override or different
|
|
273
|
+
* once with a different persona override, different variables, or different
|
|
274
|
+
* `overrides`: attaching it once per value of one property is how you compare that
|
|
275
|
+
* property without a template.
|
|
273
276
|
*/
|
|
274
277
|
flows?: Array<Plan.Flow>;
|
|
275
278
|
|
|
@@ -408,6 +411,18 @@ export declare namespace SimulationRunParams {
|
|
|
408
411
|
*/
|
|
409
412
|
happyPath?: boolean;
|
|
410
413
|
|
|
414
|
+
/**
|
|
415
|
+
* Persona and environment properties to change for this attachment only, without
|
|
416
|
+
* editing the persona or the environment themselves. Each entry patches the
|
|
417
|
+
* per-run snapshot this attachment records, so the flow runs as a caller with that
|
|
418
|
+
* accent, or over that background noise, and everything else stays as authored.
|
|
419
|
+
*
|
|
420
|
+
* This is how you attach the same flow twice and vary one thing between them,
|
|
421
|
+
* which is what a sweep template builds for you. One value per property; a
|
|
422
|
+
* property named twice is rejected.
|
|
423
|
+
*/
|
|
424
|
+
overrides?: Array<Flow.Override>;
|
|
425
|
+
|
|
411
426
|
/**
|
|
412
427
|
* Runs everything this attachment resolves as that persona instead of its own.
|
|
413
428
|
*/
|
|
@@ -451,6 +466,29 @@ export declare namespace SimulationRunParams {
|
|
|
451
466
|
*/
|
|
452
467
|
variables?: { [key: string]: string };
|
|
453
468
|
}
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* One persona or environment property, changed for this flow attachment only.
|
|
472
|
+
*/
|
|
473
|
+
export interface Override {
|
|
474
|
+
property:
|
|
475
|
+
| 'ACCENT'
|
|
476
|
+
| 'AGE'
|
|
477
|
+
| 'BACKGROUND_NOISE'
|
|
478
|
+
| 'BACKGROUND_NOISE_VOLUME'
|
|
479
|
+
| 'BASE_EMOTION'
|
|
480
|
+
| 'CONFIRMATION_STYLE'
|
|
481
|
+
| 'GENDER'
|
|
482
|
+
| 'INTENT_CLARITY'
|
|
483
|
+
| 'LANGUAGE'
|
|
484
|
+
| 'INTERRUPTION'
|
|
485
|
+
| 'MEMORY_RELIABILITY'
|
|
486
|
+
| 'RESPONSE_TIMING'
|
|
487
|
+
| 'SPEECH_CLARITY'
|
|
488
|
+
| 'SPEECH_PACE';
|
|
489
|
+
|
|
490
|
+
value: string;
|
|
491
|
+
}
|
|
454
492
|
}
|
|
455
493
|
|
|
456
494
|
export interface Persona {
|
|
@@ -596,6 +634,30 @@ export declare namespace SimulationRunParams {
|
|
|
596
634
|
*/
|
|
597
635
|
template: string;
|
|
598
636
|
|
|
637
|
+
/**
|
|
638
|
+
* The value of the sweep every other value is measured against. Defaults to the
|
|
639
|
+
* template's own baseline, as returned by GET /v1/simulation/template.
|
|
640
|
+
*
|
|
641
|
+
* Send it with `comparisonValues` and it must be one of them, or the request is
|
|
642
|
+
* rejected: anchoring every difference to an arm the run never made would measure
|
|
643
|
+
* it against nothing. Leave it out and the template's own baseline is used, and
|
|
644
|
+
* quietly dropped if your narrowing excluded it, since that one you did not
|
|
645
|
+
* choose.
|
|
646
|
+
*/
|
|
647
|
+
comparisonBaseline?: string | null;
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* Which values of the sweep to run, for a template that sweeps one (GET
|
|
651
|
+
* /v1/simulation/template returns `sweep.property` for those that do). This is
|
|
652
|
+
* what the run costs: the flow is called once per value, so ten values is ten
|
|
653
|
+
* times the calls of one.
|
|
654
|
+
*
|
|
655
|
+
* Omit it to run every value the property has, which for `accent-handling` is more
|
|
656
|
+
* than twenty. Send a subset to narrow it, for example the three accents you
|
|
657
|
+
* actually serve.
|
|
658
|
+
*/
|
|
659
|
+
comparisonValues?: Array<string>;
|
|
660
|
+
|
|
599
661
|
/**
|
|
600
662
|
* Phrases that trigger end of call. Empty array disables the feature.
|
|
601
663
|
*/
|
|
@@ -714,6 +776,18 @@ export declare namespace SimulationRunParams {
|
|
|
714
776
|
*/
|
|
715
777
|
happyPath?: boolean;
|
|
716
778
|
|
|
779
|
+
/**
|
|
780
|
+
* Persona and environment properties to change for this attachment only, without
|
|
781
|
+
* editing the persona or the environment themselves. Each entry patches the
|
|
782
|
+
* per-run snapshot this attachment records, so the flow runs as a caller with that
|
|
783
|
+
* accent, or over that background noise, and everything else stays as authored.
|
|
784
|
+
*
|
|
785
|
+
* This is how you attach the same flow twice and vary one thing between them,
|
|
786
|
+
* which is what a sweep template builds for you. One value per property; a
|
|
787
|
+
* property named twice is rejected.
|
|
788
|
+
*/
|
|
789
|
+
overrides?: Array<Flow.Override>;
|
|
790
|
+
|
|
717
791
|
/**
|
|
718
792
|
* Runs everything this attachment resolves as that persona instead of its own.
|
|
719
793
|
*/
|
|
@@ -757,6 +831,29 @@ export declare namespace SimulationRunParams {
|
|
|
757
831
|
*/
|
|
758
832
|
variables?: { [key: string]: string };
|
|
759
833
|
}
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* One persona or environment property, changed for this flow attachment only.
|
|
837
|
+
*/
|
|
838
|
+
export interface Override {
|
|
839
|
+
property:
|
|
840
|
+
| 'ACCENT'
|
|
841
|
+
| 'AGE'
|
|
842
|
+
| 'BACKGROUND_NOISE'
|
|
843
|
+
| 'BACKGROUND_NOISE_VOLUME'
|
|
844
|
+
| 'BASE_EMOTION'
|
|
845
|
+
| 'CONFIRMATION_STYLE'
|
|
846
|
+
| 'GENDER'
|
|
847
|
+
| 'INTENT_CLARITY'
|
|
848
|
+
| 'LANGUAGE'
|
|
849
|
+
| 'INTERRUPTION'
|
|
850
|
+
| 'MEMORY_RELIABILITY'
|
|
851
|
+
| 'RESPONSE_TIMING'
|
|
852
|
+
| 'SPEECH_CLARITY'
|
|
853
|
+
| 'SPEECH_PACE';
|
|
854
|
+
|
|
855
|
+
value: string;
|
|
856
|
+
}
|
|
760
857
|
}
|
|
761
858
|
|
|
762
859
|
export interface UnionMember1 {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '3.
|
|
1
|
+
export const VERSION = '3.21.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "3.
|
|
1
|
+
export declare const VERSION = "3.21.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "3.
|
|
1
|
+
export declare const VERSION = "3.21.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '3.
|
|
1
|
+
export const VERSION = '3.21.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|