@roarkanalytics/sdk 3.17.0 → 3.19.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/package.json +1 -1
- package/resources/config.d.mts +7 -0
- package/resources/config.d.mts.map +1 -1
- package/resources/config.d.ts +7 -0
- package/resources/config.d.ts.map +1 -1
- package/resources/customer-flow.d.mts +20 -0
- package/resources/customer-flow.d.mts.map +1 -1
- package/resources/customer-flow.d.ts +20 -0
- package/resources/customer-flow.d.ts.map +1 -1
- package/resources/simulation-job.d.mts +18 -10
- package/resources/simulation-job.d.mts.map +1 -1
- package/resources/simulation-job.d.ts +18 -10
- package/resources/simulation-job.d.ts.map +1 -1
- package/resources/simulation-run-plan-job.d.mts +9 -5
- package/resources/simulation-run-plan-job.d.mts.map +1 -1
- package/resources/simulation-run-plan-job.d.ts +9 -5
- package/resources/simulation-run-plan-job.d.ts.map +1 -1
- package/resources/simulation-run-plan.d.mts +21 -0
- package/resources/simulation-run-plan.d.mts.map +1 -1
- package/resources/simulation-run-plan.d.ts +21 -0
- package/resources/simulation-run-plan.d.ts.map +1 -1
- package/resources/simulation-template.d.mts +41 -0
- package/resources/simulation-template.d.mts.map +1 -1
- package/resources/simulation-template.d.ts +41 -0
- package/resources/simulation-template.d.ts.map +1 -1
- package/resources/simulation.d.mts +13 -0
- package/resources/simulation.d.mts.map +1 -1
- package/resources/simulation.d.ts +13 -0
- package/resources/simulation.d.ts.map +1 -1
- package/src/resources/config.ts +14 -0
- package/src/resources/customer-flow.ts +30 -0
- package/src/resources/simulation-job.ts +18 -10
- package/src/resources/simulation-run-plan-job.ts +9 -5
- package/src/resources/simulation-run-plan.ts +23 -0
- package/src/resources/simulation-template.ts +58 -0
- package/src/resources/simulation.ts +14 -0
- 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
|
@@ -94,6 +94,20 @@ export namespace SimulationTemplateListResponse {
|
|
|
94
94
|
*/
|
|
95
95
|
slug: string;
|
|
96
96
|
|
|
97
|
+
/**
|
|
98
|
+
* Set when this template is a property sweep: it runs ONE flow once per value of a
|
|
99
|
+
* single caller or environment property, and the report compares the values
|
|
100
|
+
* against `baseline`.
|
|
101
|
+
*
|
|
102
|
+
* This is what decides the size of the run. A sweep attaches the flow once per
|
|
103
|
+
* entry in `values`, so a plan built from it costs `values.length` times the calls
|
|
104
|
+
* a normal template would, before iterations. Read it before creating a plan you
|
|
105
|
+
* have to pay for.
|
|
106
|
+
*
|
|
107
|
+
* `null` for every other template.
|
|
108
|
+
*/
|
|
109
|
+
sweep: Data.Sweep | null;
|
|
110
|
+
|
|
97
111
|
/**
|
|
98
112
|
* The Pass/Fail checks this template attaches alongside its metrics.
|
|
99
113
|
*/
|
|
@@ -182,6 +196,50 @@ export namespace SimulationTemplateListResponse {
|
|
|
182
196
|
slug: string;
|
|
183
197
|
}
|
|
184
198
|
|
|
199
|
+
/**
|
|
200
|
+
* Set when this template is a property sweep: it runs ONE flow once per value of a
|
|
201
|
+
* single caller or environment property, and the report compares the values
|
|
202
|
+
* against `baseline`.
|
|
203
|
+
*
|
|
204
|
+
* This is what decides the size of the run. A sweep attaches the flow once per
|
|
205
|
+
* entry in `values`, so a plan built from it costs `values.length` times the calls
|
|
206
|
+
* a normal template would, before iterations. Read it before creating a plan you
|
|
207
|
+
* have to pay for.
|
|
208
|
+
*
|
|
209
|
+
* `null` for every other template.
|
|
210
|
+
*/
|
|
211
|
+
export interface Sweep {
|
|
212
|
+
/**
|
|
213
|
+
* The value the others are measured against, resolved to what a plan built from
|
|
214
|
+
* this template will actually record. `null` when the property has no obvious
|
|
215
|
+
* norm, and the report then compares against the best-performing value instead.
|
|
216
|
+
*/
|
|
217
|
+
baseline: string | null;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* The property this template varies across the flow it runs.
|
|
221
|
+
*/
|
|
222
|
+
property:
|
|
223
|
+
| 'ACCENT'
|
|
224
|
+
| 'AGE'
|
|
225
|
+
| 'BACKGROUND_NOISE'
|
|
226
|
+
| 'BACKGROUND_NOISE_VOLUME'
|
|
227
|
+
| 'BASE_EMOTION'
|
|
228
|
+
| 'CONFIRMATION_STYLE'
|
|
229
|
+
| 'GENDER'
|
|
230
|
+
| 'INTENT_CLARITY'
|
|
231
|
+
| 'LANGUAGE'
|
|
232
|
+
| 'MEMORY_RELIABILITY'
|
|
233
|
+
| 'RESPONSE_TIMING'
|
|
234
|
+
| 'SPEECH_CLARITY'
|
|
235
|
+
| 'SPEECH_PACE';
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Every value the template sweeps, in the order the plan attaches them.
|
|
239
|
+
*/
|
|
240
|
+
values: Array<string>;
|
|
241
|
+
}
|
|
242
|
+
|
|
185
243
|
export interface Threshold {
|
|
186
244
|
/**
|
|
187
245
|
* Metric definition ID
|
|
@@ -216,6 +216,20 @@ export declare namespace SimulationRunParams {
|
|
|
216
216
|
| 'SPEECH_PACE'
|
|
217
217
|
| null;
|
|
218
218
|
|
|
219
|
+
/**
|
|
220
|
+
* Which values of `comparisonProperty` to run. This is what the plan costs: the
|
|
221
|
+
* flow is attached once per value, so ten values is ten times the calls of one.
|
|
222
|
+
*
|
|
223
|
+
* Omit it to run every value the property has, which for `ACCENT` is more than
|
|
224
|
+
* twenty. Send a subset to narrow the sweep, for example three accents you
|
|
225
|
+
* actually serve. A `comparisonBaseline` outside this set is rejected, because it
|
|
226
|
+
* would anchor every difference to an arm the run never made.
|
|
227
|
+
*
|
|
228
|
+
* Not stored as a field: the arms are the values. Reading the plan back returns
|
|
229
|
+
* them as its flow attachments.
|
|
230
|
+
*/
|
|
231
|
+
comparisonValues?: Array<string>;
|
|
232
|
+
|
|
219
233
|
/**
|
|
220
234
|
* Description of the run plan
|
|
221
235
|
*/
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '3.
|
|
1
|
+
export const VERSION = '3.19.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.19.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.19.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.19.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|