@roarkanalytics/sdk 2.30.0 → 2.33.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 +74 -0
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts +17 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +17 -5
- package/client.d.ts.map +1 -1
- package/client.js +35 -4
- package/client.js.map +1 -1
- package/client.mjs +35 -4
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/index.d.mts +2 -2
- package/internal/qs/index.d.mts.map +1 -1
- package/internal/qs/index.d.ts +2 -2
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/index.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +10 -10
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +10 -10
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +2 -0
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +2 -0
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/package.json +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/agent-endpoint.d.mts +4 -4
- package/resources/agent-endpoint.d.mts.map +1 -1
- package/resources/agent-endpoint.d.ts +4 -4
- package/resources/agent-endpoint.d.ts.map +1 -1
- package/resources/agent-endpoint.mjs.map +1 -1
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts.map +1 -1
- package/resources/agent.mjs.map +1 -1
- package/resources/call.d.mts +310 -162
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +310 -162
- package/resources/call.d.ts.map +1 -1
- package/resources/call.js +6 -7
- package/resources/call.js.map +1 -1
- package/resources/call.mjs +6 -7
- package/resources/call.mjs.map +1 -1
- package/resources/config.d.mts +535 -0
- package/resources/config.d.mts.map +1 -0
- package/resources/config.d.ts +535 -0
- package/resources/config.d.ts.map +1 -0
- package/resources/config.js +28 -0
- package/resources/config.js.map +1 -0
- package/resources/config.mjs +24 -0
- package/resources/config.mjs.map +1 -0
- package/resources/customer-flow-edge-case.d.mts +1742 -0
- package/resources/customer-flow-edge-case.d.mts.map +1 -0
- package/resources/customer-flow-edge-case.d.ts +1742 -0
- package/resources/customer-flow-edge-case.d.ts.map +1 -0
- package/resources/customer-flow-edge-case.js +50 -0
- package/resources/customer-flow-edge-case.js.map +1 -0
- package/resources/customer-flow-edge-case.mjs +46 -0
- package/resources/customer-flow-edge-case.mjs.map +1 -0
- package/resources/customer-flow.d.mts +7163 -0
- package/resources/customer-flow.d.mts.map +1 -0
- package/resources/customer-flow.d.ts +7163 -0
- package/resources/customer-flow.d.ts.map +1 -0
- package/resources/customer-flow.js +87 -0
- package/resources/customer-flow.js.map +1 -0
- package/resources/customer-flow.mjs +83 -0
- package/resources/customer-flow.mjs.map +1 -0
- package/resources/health.d.mts.map +1 -1
- package/resources/health.d.ts.map +1 -1
- package/resources/health.mjs.map +1 -1
- package/resources/http-request-definition.d.mts.map +1 -1
- package/resources/http-request-definition.d.ts.map +1 -1
- package/resources/http-request-definition.mjs.map +1 -1
- package/resources/index.d.mts +6 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +11 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +5 -1
- package/resources/index.mjs.map +1 -1
- package/resources/metric-collection-job.d.mts +5 -3
- package/resources/metric-collection-job.d.mts.map +1 -1
- package/resources/metric-collection-job.d.ts +5 -3
- package/resources/metric-collection-job.d.ts.map +1 -1
- package/resources/metric-collection-job.mjs.map +1 -1
- package/resources/metric-policy.d.mts.map +1 -1
- package/resources/metric-policy.d.ts.map +1 -1
- package/resources/metric-policy.mjs.map +1 -1
- package/resources/metric.d.mts +804 -109
- package/resources/metric.d.mts.map +1 -1
- package/resources/metric.d.ts +804 -109
- package/resources/metric.d.ts.map +1 -1
- package/resources/metric.js +6 -7
- package/resources/metric.js.map +1 -1
- package/resources/metric.mjs +6 -7
- package/resources/metric.mjs.map +1 -1
- package/resources/simulation-environment.d.mts +95 -0
- package/resources/simulation-environment.d.mts.map +1 -0
- package/resources/simulation-environment.d.ts +95 -0
- package/resources/simulation-environment.d.ts.map +1 -0
- package/resources/simulation-environment.js +24 -0
- package/resources/simulation-environment.js.map +1 -0
- package/resources/simulation-environment.mjs +20 -0
- package/resources/simulation-environment.mjs.map +1 -0
- package/resources/simulation-job.d.mts +58 -10
- package/resources/simulation-job.d.mts.map +1 -1
- package/resources/simulation-job.d.ts +58 -10
- package/resources/simulation-job.d.ts.map +1 -1
- package/resources/simulation-job.mjs.map +1 -1
- package/resources/simulation-persona.d.mts +60 -24
- package/resources/simulation-persona.d.mts.map +1 -1
- package/resources/simulation-persona.d.ts +60 -24
- package/resources/simulation-persona.d.ts.map +1 -1
- package/resources/simulation-persona.mjs.map +1 -1
- package/resources/simulation-run-plan-job.d.mts +73 -32
- package/resources/simulation-run-plan-job.d.mts.map +1 -1
- package/resources/simulation-run-plan-job.d.ts +73 -32
- package/resources/simulation-run-plan-job.d.ts.map +1 -1
- package/resources/simulation-run-plan-job.js +7 -8
- package/resources/simulation-run-plan-job.js.map +1 -1
- package/resources/simulation-run-plan-job.mjs +7 -8
- package/resources/simulation-run-plan-job.mjs.map +1 -1
- package/resources/simulation-run-plan.d.mts +408 -39
- package/resources/simulation-run-plan.d.mts.map +1 -1
- package/resources/simulation-run-plan.d.ts +408 -39
- package/resources/simulation-run-plan.d.ts.map +1 -1
- package/resources/simulation-run-plan.js +6 -11
- package/resources/simulation-run-plan.js.map +1 -1
- package/resources/simulation-run-plan.mjs +6 -11
- package/resources/simulation-run-plan.mjs.map +1 -1
- package/resources/simulation.d.mts +379 -0
- package/resources/simulation.d.mts.map +1 -0
- package/resources/simulation.d.ts +379 -0
- package/resources/simulation.d.ts.map +1 -0
- package/resources/simulation.js +33 -0
- package/resources/simulation.js.map +1 -0
- package/resources/simulation.mjs +29 -0
- package/resources/simulation.mjs.map +1 -0
- package/resources/webhook.d.mts +4 -4
- package/resources/webhook.d.mts.map +1 -1
- package/resources/webhook.d.ts +4 -4
- package/resources/webhook.d.ts.map +1 -1
- package/resources/webhook.mjs.map +1 -1
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/client.ts +124 -28
- package/src/internal/types.ts +6 -8
- package/src/internal/utils/log.ts +2 -0
- package/src/resources/agent-endpoint.ts +36 -4
- package/src/resources/call.ts +333 -176
- package/src/resources/config.ts +1162 -0
- package/src/resources/customer-flow-edge-case.ts +2884 -0
- package/src/resources/customer-flow.ts +11713 -0
- package/src/resources/index.ts +42 -12
- package/src/resources/metric-collection-job.ts +5 -3
- package/src/resources/metric.ts +1057 -115
- package/src/resources/simulation-environment.ts +147 -0
- package/src/resources/simulation-job.ts +122 -10
- package/src/resources/simulation-persona.ts +192 -24
- package/src/resources/simulation-run-plan-job.ts +109 -27
- package/src/resources/simulation-run-plan.ts +445 -40
- package/src/resources/simulation.ts +444 -0
- package/src/resources/webhook.ts +8 -0
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/simulation-scenario.d.mts +0 -424
- package/resources/simulation-scenario.d.mts.map +0 -1
- package/resources/simulation-scenario.d.ts +0 -424
- package/resources/simulation-scenario.d.ts.map +0 -1
- package/resources/simulation-scenario.js +0 -40
- package/resources/simulation-scenario.js.map +0 -1
- package/resources/simulation-scenario.mjs +0 -36
- package/resources/simulation-scenario.mjs.map +0 -1
- package/src/resources/simulation-scenario.ts +0 -602
|
@@ -26,15 +26,14 @@ export declare class SimulationRunPlanJob extends APIResource {
|
|
|
26
26
|
*/
|
|
27
27
|
getByID(jobID: unknown, options?: RequestOptions): APIPromise<SimulationRunPlanJobGetByIDResponse>;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* Deprecated: use POST /v1/simulation/run, which does the same thing and can also
|
|
30
|
+
* take the plan configuration inline, so a one-off run does not have to create a
|
|
31
|
+
* plan first.
|
|
31
32
|
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* );
|
|
37
|
-
* ```
|
|
33
|
+
* Creates and executes a job for an existing simulation run plan. Optionally
|
|
34
|
+
* provide runtime variables to override plan-defined variables.
|
|
35
|
+
*
|
|
36
|
+
* @deprecated
|
|
38
37
|
*/
|
|
39
38
|
start(planID: unknown, body?: SimulationRunPlanJobStartParams | null | undefined, options?: RequestOptions): APIPromise<SimulationRunPlanJobStartResponse>;
|
|
40
39
|
}
|
|
@@ -62,12 +61,14 @@ export declare namespace SimulationRunPlanJobListResponse {
|
|
|
62
61
|
/**
|
|
63
62
|
* Job status
|
|
64
63
|
*/
|
|
65
|
-
status: 'PENDING' | 'QUEUED' | 'CREATING_SNAPSHOTS' | 'CREATING_SIMULATIONS' | 'RUNNING_SIMULATIONS' | 'COMPLETED' | 'FAILED' | 'TIMED_OUT' | 'CANCELLED' | 'CANCELLING' | 'ENDING_SIMULATIONS';
|
|
64
|
+
status: 'PENDING' | 'QUEUED' | 'CREATING_SNAPSHOTS' | 'CREATING_SIMULATIONS' | 'PREPARING_CAPACITY' | 'RUNNING_SIMULATIONS' | 'COMPLETED' | 'FAILED' | 'TIMED_OUT' | 'CANCELLED' | 'CANCELLING' | 'ENDING_SIMULATIONS';
|
|
66
65
|
/**
|
|
67
66
|
* How the job was triggered (SCHEDULED, USER_TRIGGERED_FROM_UI,
|
|
68
|
-
* TRIGGERED_FROM_API, or
|
|
67
|
+
* TRIGGERED_FROM_API, RE_RUN, or SYSTEM). SYSTEM is used when the job was started
|
|
68
|
+
* by an internal admin acting on behalf of the project (the original user identity
|
|
69
|
+
* is not exposed).
|
|
69
70
|
*/
|
|
70
|
-
triggeredBy: 'SCHEDULED' | 'USER_TRIGGERED_FROM_UI' | 'RE_RUN' | 'TRIGGERED_FROM_API';
|
|
71
|
+
triggeredBy: 'SCHEDULED' | 'USER_TRIGGERED_FROM_UI' | 'RE_RUN' | 'TRIGGERED_FROM_API' | 'SYSTEM';
|
|
71
72
|
/**
|
|
72
73
|
* When the job ended
|
|
73
74
|
*/
|
|
@@ -122,7 +123,7 @@ export declare namespace SimulationRunPlanJobGetByIDResponse {
|
|
|
122
123
|
/**
|
|
123
124
|
* Job status
|
|
124
125
|
*/
|
|
125
|
-
status: 'PENDING' | 'QUEUED' | 'CREATING_SNAPSHOTS' | 'CREATING_SIMULATIONS' | 'RUNNING_SIMULATIONS' | 'COMPLETED' | 'FAILED' | 'TIMED_OUT' | 'CANCELLED' | 'CANCELLING' | 'ENDING_SIMULATIONS';
|
|
126
|
+
status: 'PENDING' | 'QUEUED' | 'CREATING_SNAPSHOTS' | 'CREATING_SIMULATIONS' | 'PREPARING_CAPACITY' | 'RUNNING_SIMULATIONS' | 'COMPLETED' | 'FAILED' | 'TIMED_OUT' | 'CANCELLED' | 'CANCELLING' | 'ENDING_SIMULATIONS';
|
|
126
127
|
/**
|
|
127
128
|
* When the job ended
|
|
128
129
|
*/
|
|
@@ -144,9 +145,9 @@ export declare namespace SimulationRunPlanJobGetByIDResponse {
|
|
|
144
145
|
createdAt: string;
|
|
145
146
|
persona: SimulationJob.Persona;
|
|
146
147
|
/**
|
|
147
|
-
* Processing status
|
|
148
|
+
* Processing status. PENDING until the job starts connecting.
|
|
148
149
|
*/
|
|
149
|
-
processingStatus: 'CONNECTING' | 'WAITING_FOR_OUTBOUND_CALL' | 'SIMULATING' | 'ENDING' | 'ANALYZING' | 'EVALUATING' | 'COLLECTING_METRICS' | 'COMPLETED';
|
|
150
|
+
processingStatus: 'PENDING' | 'CONNECTING' | 'WAITING_FOR_OUTBOUND_CALL' | 'SIMULATING' | 'ENDING' | 'ANALYZING' | 'WAITING_FOR_LIVE_CONVERSATION' | 'EVALUATING' | 'COLLECTING_METRICS' | 'COMPLETED';
|
|
150
151
|
/**
|
|
151
152
|
* Scenario used in a simulation
|
|
152
153
|
*/
|
|
@@ -198,7 +199,7 @@ export declare namespace SimulationRunPlanJobGetByIDResponse {
|
|
|
198
199
|
/**
|
|
199
200
|
* Agent endpoint type
|
|
200
201
|
*/
|
|
201
|
-
type: 'PHONE' | 'WEBSOCKET' | 'LIVEKIT' | 'SMALL_WEBRTC' | 'ELEVENLABS_WS' | 'KORE' | 'GOOGLE_CES';
|
|
202
|
+
type: 'PHONE' | 'WEBSOCKET' | 'LIVEKIT' | 'SMALL_WEBRTC' | 'ELEVENLABS_WS' | 'KORE' | 'GOOGLE_CES' | 'DAILY';
|
|
202
203
|
}
|
|
203
204
|
interface Persona {
|
|
204
205
|
/**
|
|
@@ -209,7 +210,7 @@ export declare namespace SimulationRunPlanJobGetByIDResponse {
|
|
|
209
210
|
* Accent of the persona, defined using ISO 3166-1 alpha-2 country codes with
|
|
210
211
|
* optional variants
|
|
211
212
|
*/
|
|
212
|
-
accent: 'US' | 'US_X_SOUTH' | 'GB' | 'ES' | 'DE' | 'IN' | 'FR' | 'NL' | 'SA' | 'GR' | 'AU' | 'IT' | 'ID' | 'TH' | 'JP' | 'NZ' | 'PH' | 'SG' | 'MY' | 'HK' | 'TR' | 'PT';
|
|
213
|
+
accent: 'US' | 'US_X_SOUTH' | 'GB' | 'ES' | 'DE' | 'IN' | 'FR' | 'NL' | 'SA' | 'GR' | 'AU' | 'IT' | 'ID' | 'TH' | 'JP' | 'NZ' | 'PH' | 'SG' | 'MY' | 'HK' | 'TR' | 'PT' | 'IL';
|
|
213
214
|
/**
|
|
214
215
|
* Background noise setting
|
|
215
216
|
*/
|
|
@@ -243,9 +244,10 @@ export declare namespace SimulationRunPlanJobGetByIDResponse {
|
|
|
243
244
|
*/
|
|
244
245
|
idleMessageResetCountOnUserSpeechEnabled: boolean;
|
|
245
246
|
/**
|
|
246
|
-
* Messages the persona will say when the agent goes silent during a call
|
|
247
|
+
* Messages the persona will say when the agent goes silent during a call. null =
|
|
248
|
+
* "Automatic": language-appropriate defaults are used at call time.
|
|
247
249
|
*/
|
|
248
|
-
idleMessages: Array<string
|
|
250
|
+
idleMessages: Array<string> | null;
|
|
249
251
|
/**
|
|
250
252
|
* Seconds of silence before the persona sends an idle message
|
|
251
253
|
*/
|
|
@@ -257,7 +259,7 @@ export declare namespace SimulationRunPlanJobGetByIDResponse {
|
|
|
257
259
|
/**
|
|
258
260
|
* Primary language ISO 639-1 code for the persona
|
|
259
261
|
*/
|
|
260
|
-
language: 'EN' | 'ES' | 'DE' | 'HI' | 'FR' | 'NL' | 'AR' | 'EL' | 'IT' | 'ID' | 'TH' | 'JA' | 'TL' | 'MS' | 'ZH' | 'TR' | 'PT';
|
|
262
|
+
language: 'EN' | 'ES' | 'DE' | 'HI' | 'FR' | 'NL' | 'AR' | 'EL' | 'IT' | 'ID' | 'TH' | 'JA' | 'TL' | 'MS' | 'ZH' | 'TR' | 'PT' | 'HE';
|
|
261
263
|
/**
|
|
262
264
|
* How reliable the persona's memory is
|
|
263
265
|
*/
|
|
@@ -285,6 +287,11 @@ export declare namespace SimulationRunPlanJobGetByIDResponse {
|
|
|
285
287
|
* Speech pace of the persona
|
|
286
288
|
*/
|
|
287
289
|
speechPace: 'SUPER_SLOW' | 'SLOW' | 'NORMAL' | 'FAST' | 'SUPER_FAST';
|
|
290
|
+
/**
|
|
291
|
+
* Languages the persona can understand. Multilingual combinations are limited by
|
|
292
|
+
* multilingual speech recognition support.
|
|
293
|
+
*/
|
|
294
|
+
understoodLanguages: Array<'EN' | 'ES' | 'DE' | 'HI' | 'FR' | 'NL' | 'AR' | 'EL' | 'IT' | 'ID' | 'TH' | 'JA' | 'TL' | 'MS' | 'ZH' | 'TR' | 'PT' | 'HE'>;
|
|
288
295
|
/**
|
|
289
296
|
* Last update timestamp
|
|
290
297
|
*/
|
|
@@ -344,7 +351,7 @@ export declare namespace SimulationRunPlanJobStartResponse {
|
|
|
344
351
|
/**
|
|
345
352
|
* Initial status of the job
|
|
346
353
|
*/
|
|
347
|
-
status: 'PENDING' | 'QUEUED' | 'CREATING_SNAPSHOTS' | 'CREATING_SIMULATIONS' | 'RUNNING_SIMULATIONS' | 'COMPLETED' | 'FAILED' | 'TIMED_OUT' | 'CANCELLED' | 'CANCELLING' | 'ENDING_SIMULATIONS';
|
|
354
|
+
status: 'PENDING' | 'QUEUED' | 'CREATING_SNAPSHOTS' | 'CREATING_SIMULATIONS' | 'PREPARING_CAPACITY' | 'RUNNING_SIMULATIONS' | 'COMPLETED' | 'FAILED' | 'TIMED_OUT' | 'CANCELLED' | 'CANCELLING' | 'ENDING_SIMULATIONS';
|
|
348
355
|
}
|
|
349
356
|
}
|
|
350
357
|
export interface SimulationRunPlanJobListParams {
|
|
@@ -370,30 +377,64 @@ export interface SimulationRunPlanJobListParams {
|
|
|
370
377
|
*/
|
|
371
378
|
simulationRunPlanId?: string;
|
|
372
379
|
/**
|
|
373
|
-
* Filter by plan job status (PENDING,
|
|
374
|
-
*
|
|
375
|
-
* CANCELLED, CANCELLING)
|
|
380
|
+
* Filter by plan job status (PENDING, QUEUED, CREATING_SNAPSHOTS,
|
|
381
|
+
* CREATING_SIMULATIONS, PREPARING_CAPACITY, RUNNING_SIMULATIONS, COMPLETED,
|
|
382
|
+
* FAILED, TIMED_OUT, CANCELLED, CANCELLING, ENDING_SIMULATIONS)
|
|
376
383
|
*/
|
|
377
|
-
status?: 'PENDING' | 'QUEUED' | 'CREATING_SNAPSHOTS' | 'CREATING_SIMULATIONS' | 'RUNNING_SIMULATIONS' | 'COMPLETED' | 'FAILED' | 'TIMED_OUT' | 'CANCELLED' | 'CANCELLING' | 'ENDING_SIMULATIONS';
|
|
384
|
+
status?: 'PENDING' | 'QUEUED' | 'CREATING_SNAPSHOTS' | 'CREATING_SIMULATIONS' | 'PREPARING_CAPACITY' | 'RUNNING_SIMULATIONS' | 'COMPLETED' | 'FAILED' | 'TIMED_OUT' | 'CANCELLED' | 'CANCELLING' | 'ENDING_SIMULATIONS';
|
|
378
385
|
}
|
|
379
386
|
export interface SimulationRunPlanJobStartParams {
|
|
380
387
|
/**
|
|
381
|
-
*
|
|
382
|
-
*
|
|
388
|
+
* Values for the {{variables}} the run resolves, overriding whatever the plan has
|
|
389
|
+
* pinned.
|
|
390
|
+
*
|
|
391
|
+
* An object applies them to the whole run:
|
|
392
|
+
*
|
|
393
|
+
* { "orderNumber": "12345", "tier": "gold" }
|
|
394
|
+
*
|
|
395
|
+
* An array applies them per flow, or to just its happy path or one of its edge
|
|
396
|
+
* cases, when a single set will not do. Each entry carries what it applies to:
|
|
397
|
+
*
|
|
398
|
+
* [ { "flowId": "550e8400-...", "variables": { "orderNumber": "12345" } }, {
|
|
399
|
+
* "flowId": "550e8400-...", "happyPath": true, "variables": { "orderNumber":
|
|
400
|
+
* "55555" } }, { "flowId": "550e8400-...", "edgeCaseId": "7a3d2e1f-...",
|
|
401
|
+
* "variables": { "orderNumber": "67890" } } ]
|
|
383
402
|
*
|
|
384
|
-
*
|
|
385
|
-
*
|
|
403
|
+
* An entry that narrows to neither covers everything that flow resolves. A flow
|
|
404
|
+
* this plan does not attach, or an edge case that does not belong to the flow, is
|
|
405
|
+
* rejected rather than ignored.
|
|
386
406
|
*
|
|
387
|
-
*
|
|
388
|
-
*
|
|
389
|
-
*
|
|
407
|
+
* A plan built on scenarios rather than customer flows targets them the same way,
|
|
408
|
+
* with `scenarioId` in place of `flowId`. That form is deprecated alongside
|
|
409
|
+
* scenarios themselves, and still accepted so runs against those plans keep
|
|
410
|
+
* working.
|
|
390
411
|
*/
|
|
391
412
|
variables?: {
|
|
392
413
|
[key: string]: string;
|
|
393
|
-
} | Array<SimulationRunPlanJobStartParams.UnionMember1>;
|
|
414
|
+
} | Array<SimulationRunPlanJobStartParams.UnionMember1> | Array<SimulationRunPlanJobStartParams.UnionMember2>;
|
|
394
415
|
}
|
|
395
416
|
export declare namespace SimulationRunPlanJobStartParams {
|
|
396
417
|
interface UnionMember1 {
|
|
418
|
+
/**
|
|
419
|
+
* A customer flow this plan runs.
|
|
420
|
+
*/
|
|
421
|
+
flowId: string;
|
|
422
|
+
/**
|
|
423
|
+
* The values to apply.
|
|
424
|
+
*/
|
|
425
|
+
variables: {
|
|
426
|
+
[key: string]: string;
|
|
427
|
+
};
|
|
428
|
+
/**
|
|
429
|
+
* Narrow to one edge case of that flow.
|
|
430
|
+
*/
|
|
431
|
+
edgeCaseId?: string;
|
|
432
|
+
/**
|
|
433
|
+
* Narrow to the flow's happy path.
|
|
434
|
+
*/
|
|
435
|
+
happyPath?: true;
|
|
436
|
+
}
|
|
437
|
+
interface UnionMember2 {
|
|
397
438
|
/**
|
|
398
439
|
* ID of the scenario to apply variables to
|
|
399
440
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simulation-run-plan-job.d.ts","sourceRoot":"","sources":["../src/resources/simulation-run-plan-job.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"simulation-run-plan-job.d.ts","sourceRoot":"","sources":["../src/resources/simulation-run-plan-job.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,oBAAqB,SAAQ,WAAW;IACnD;;;;;;;;;OASG;IACH,IAAI,CACF,KAAK,GAAE,8BAA8B,GAAG,IAAI,GAAG,SAAc,EAC7D,OAA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KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;CACH"}
|
|
@@ -33,15 +33,14 @@ class SimulationRunPlanJob extends resource_1.APIResource {
|
|
|
33
33
|
return this._client.get((0, path_1.path) `/v1/simulation/plan/job/${jobID}`, options);
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
37
|
-
*
|
|
36
|
+
* Deprecated: use POST /v1/simulation/run, which does the same thing and can also
|
|
37
|
+
* take the plan configuration inline, so a one-off run does not have to create a
|
|
38
|
+
* plan first.
|
|
38
39
|
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* );
|
|
44
|
-
* ```
|
|
40
|
+
* Creates and executes a job for an existing simulation run plan. Optionally
|
|
41
|
+
* provide runtime variables to override plan-defined variables.
|
|
42
|
+
*
|
|
43
|
+
* @deprecated
|
|
45
44
|
*/
|
|
46
45
|
start(planID, body = {}, options) {
|
|
47
46
|
return this._client.post((0, path_1.path) `/v1/simulation/plan/${planID}/job`, { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simulation-run-plan-job.js","sourceRoot":"","sources":["../src/resources/simulation-run-plan-job.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,oBAAqB,SAAQ,sBAAW;IACnD;;;;;;;;;OASG;IACH,IAAI,CACF,QAA2D,EAAE,EAC7D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;OAUG;IACH,OAAO,CAAC,KAAc,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,2BAA2B,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"simulation-run-plan-job.js","sourceRoot":"","sources":["../src/resources/simulation-run-plan-job.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,oBAAqB,SAAQ,sBAAW;IACnD;;;;;;;;;OASG;IACH,IAAI,CACF,QAA2D,EAAE,EAC7D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;OAUG;IACH,OAAO,CAAC,KAAc,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,2BAA2B,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;OASG;IACH,KAAK,CACH,MAAe,EACf,OAA2D,EAAE,EAC7D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,uBAAuB,MAAM,MAAM,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;CACF;AAlDD,oDAkDC"}
|
|
@@ -30,15 +30,14 @@ export class SimulationRunPlanJob extends APIResource {
|
|
|
30
30
|
return this._client.get(path `/v1/simulation/plan/job/${jobID}`, options);
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
33
|
+
* Deprecated: use POST /v1/simulation/run, which does the same thing and can also
|
|
34
|
+
* take the plan configuration inline, so a one-off run does not have to create a
|
|
35
|
+
* plan first.
|
|
35
36
|
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* );
|
|
41
|
-
* ```
|
|
37
|
+
* Creates and executes a job for an existing simulation run plan. Optionally
|
|
38
|
+
* provide runtime variables to override plan-defined variables.
|
|
39
|
+
*
|
|
40
|
+
* @deprecated
|
|
42
41
|
*/
|
|
43
42
|
start(planID, body = {}, options) {
|
|
44
43
|
return this._client.post(path `/v1/simulation/plan/${planID}/job`, { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simulation-run-plan-job.mjs","sourceRoot":"","sources":["../src/resources/simulation-run-plan-job.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"simulation-run-plan-job.mjs","sourceRoot":"","sources":["../src/resources/simulation-run-plan-job.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,oBAAqB,SAAQ,WAAW;IACnD;;;;;;;;;OASG;IACH,IAAI,CACF,QAA2D,EAAE,EAC7D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;OAUG;IACH,OAAO,CAAC,KAAc,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,2BAA2B,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED;;;;;;;;;OASG;IACH,KAAK,CACH,MAAe,EACf,OAA2D,EAAE,EAC7D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,uBAAuB,MAAM,MAAM,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;CACF"}
|