@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
|
@@ -163,6 +163,16 @@ export declare class CustomerFlow extends APIResource {
|
|
|
163
163
|
* replaces the flow-level one at that step. Omit it (or send null) to follow the
|
|
164
164
|
* flow's policy. Use it where one missed step makes the rest of the call
|
|
165
165
|
* meaningless: an authentication menu, say, with `then: HANG_UP_INVALIDATE`.
|
|
166
|
+
*
|
|
167
|
+
* Any step may set `requiredForValidRun`, which marks a step the flow requires a
|
|
168
|
+
* run to reach for its result to count. A run that ends without ever reaching it
|
|
169
|
+
* is invalidated: it stays in the report, labelled with the step it never reached
|
|
170
|
+
* and where it stopped, and is left out of the run score and the success-criteria
|
|
171
|
+
* verdict. Put it on the step where the test itself begins, typically the first
|
|
172
|
+
* one after an IVR or a login, so an agent that never gets past the menu does not
|
|
173
|
+
* fail every check in a scenario it never started. A path may have one; a
|
|
174
|
+
* branching flow may mark one step per branch, and reaching any of them makes the
|
|
175
|
+
* call valid. A path that marks none behaves exactly as before.
|
|
166
176
|
*/
|
|
167
177
|
export type FlowStep = FlowStep.UnionMember0 | FlowStep.UnionMember1 | FlowStep.UnionMember2 | FlowStep.UnionMember3 | FlowStep.UnionMember4 | FlowStep.UnionMember5 | FlowStep.UnionMember6 | FlowStep.UnionMember7 | FlowStep.UnionMember8 | FlowStep.UnionMember9;
|
|
168
178
|
export declare namespace FlowStep {
|
|
@@ -173,6 +183,7 @@ export declare namespace FlowStep {
|
|
|
173
183
|
nodeId?: string;
|
|
174
184
|
offScriptPolicy?: UnionMember0.OffScriptPolicy | null;
|
|
175
185
|
ref?: string;
|
|
186
|
+
requiredForValidRun?: boolean;
|
|
176
187
|
steps?: Array<CustomerFlowAPI.FlowStep>;
|
|
177
188
|
}
|
|
178
189
|
namespace UnionMember0 {
|
|
@@ -190,6 +201,7 @@ export declare namespace FlowStep {
|
|
|
190
201
|
mergeIntoNodeIds?: Array<string>;
|
|
191
202
|
nodeId?: string;
|
|
192
203
|
ref?: string;
|
|
204
|
+
requiredForValidRun?: boolean;
|
|
193
205
|
steps?: Array<CustomerFlowAPI.FlowStep>;
|
|
194
206
|
}
|
|
195
207
|
interface UnionMember2 {
|
|
@@ -198,6 +210,7 @@ export declare namespace FlowStep {
|
|
|
198
210
|
mergeIntoNodeIds?: Array<string>;
|
|
199
211
|
nodeId?: string;
|
|
200
212
|
ref?: string;
|
|
213
|
+
requiredForValidRun?: boolean;
|
|
201
214
|
steps?: Array<CustomerFlowAPI.FlowStep>;
|
|
202
215
|
}
|
|
203
216
|
interface UnionMember3 {
|
|
@@ -206,6 +219,7 @@ export declare namespace FlowStep {
|
|
|
206
219
|
mergeIntoNodeIds?: Array<string>;
|
|
207
220
|
nodeId?: string;
|
|
208
221
|
ref?: string;
|
|
222
|
+
requiredForValidRun?: boolean;
|
|
209
223
|
steps?: Array<CustomerFlowAPI.FlowStep>;
|
|
210
224
|
}
|
|
211
225
|
interface UnionMember4 {
|
|
@@ -213,6 +227,7 @@ export declare namespace FlowStep {
|
|
|
213
227
|
mergeIntoNodeIds?: Array<string>;
|
|
214
228
|
nodeId?: string;
|
|
215
229
|
ref?: string;
|
|
230
|
+
requiredForValidRun?: boolean;
|
|
216
231
|
silenceDurationSeconds?: number | null;
|
|
217
232
|
steps?: Array<CustomerFlowAPI.FlowStep>;
|
|
218
233
|
}
|
|
@@ -222,6 +237,7 @@ export declare namespace FlowStep {
|
|
|
222
237
|
mergeIntoNodeIds?: Array<string>;
|
|
223
238
|
nodeId?: string;
|
|
224
239
|
ref?: string;
|
|
240
|
+
requiredForValidRun?: boolean;
|
|
225
241
|
steps?: Array<CustomerFlowAPI.FlowStep>;
|
|
226
242
|
}
|
|
227
243
|
interface UnionMember6 {
|
|
@@ -230,6 +246,7 @@ export declare namespace FlowStep {
|
|
|
230
246
|
mergeIntoNodeIds?: Array<string>;
|
|
231
247
|
nodeId?: string;
|
|
232
248
|
ref?: string;
|
|
249
|
+
requiredForValidRun?: boolean;
|
|
233
250
|
steps?: Array<CustomerFlowAPI.FlowStep>;
|
|
234
251
|
}
|
|
235
252
|
interface UnionMember7 {
|
|
@@ -237,6 +254,7 @@ export declare namespace FlowStep {
|
|
|
237
254
|
mergeIntoNodeIds?: Array<string>;
|
|
238
255
|
nodeId?: string;
|
|
239
256
|
ref?: string;
|
|
257
|
+
requiredForValidRun?: boolean;
|
|
240
258
|
steps?: Array<CustomerFlowAPI.FlowStep>;
|
|
241
259
|
}
|
|
242
260
|
interface UnionMember8 {
|
|
@@ -245,6 +263,7 @@ export declare namespace FlowStep {
|
|
|
245
263
|
mergeIntoNodeIds?: Array<string>;
|
|
246
264
|
nodeId?: string;
|
|
247
265
|
ref?: string;
|
|
266
|
+
requiredForValidRun?: boolean;
|
|
248
267
|
steps?: Array<CustomerFlowAPI.FlowStep>;
|
|
249
268
|
}
|
|
250
269
|
interface UnionMember9 {
|
|
@@ -254,6 +273,7 @@ export declare namespace FlowStep {
|
|
|
254
273
|
mergeIntoNodeIds?: Array<string>;
|
|
255
274
|
nodeId?: string;
|
|
256
275
|
ref?: string;
|
|
276
|
+
requiredForValidRun?: boolean;
|
|
257
277
|
steps?: Array<CustomerFlowAPI.FlowStep>;
|
|
258
278
|
}
|
|
259
279
|
}
|