@roarkanalytics/sdk 2.21.2 → 2.23.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 +27 -0
- package/README.md +9 -0
- package/client.d.mts +31 -10
- package/client.d.mts.map +1 -1
- package/client.d.ts +31 -10
- package/client.d.ts.map +1 -1
- package/client.js +34 -6
- package/client.js.map +1 -1
- package/client.mjs +34 -6
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent-endpoint.d.mts +309 -0
- package/resources/agent-endpoint.d.mts.map +1 -0
- package/resources/agent-endpoint.d.ts +309 -0
- package/resources/agent-endpoint.d.ts.map +1 -0
- package/resources/agent-endpoint.js +35 -0
- package/resources/agent-endpoint.js.map +1 -0
- package/resources/agent-endpoint.mjs +31 -0
- package/resources/agent-endpoint.mjs.map +1 -0
- package/resources/agent.d.mts +193 -0
- package/resources/agent.d.mts.map +1 -0
- package/resources/agent.d.ts +193 -0
- package/resources/agent.d.ts.map +1 -0
- package/resources/agent.js +34 -0
- package/resources/agent.js.map +1 -0
- package/resources/agent.mjs +30 -0
- package/resources/agent.mjs.map +1 -0
- package/resources/call.d.mts +120 -1
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +120 -1
- package/resources/call.d.ts.map +1 -1
- package/resources/call.js +7 -0
- package/resources/call.js.map +1 -1
- package/resources/call.mjs +7 -0
- package/resources/call.mjs.map +1 -1
- package/resources/evaluation.d.mts +2097 -617
- package/resources/evaluation.d.mts.map +1 -1
- package/resources/evaluation.d.ts +2097 -617
- package/resources/evaluation.d.ts.map +1 -1
- package/resources/evaluation.js +14 -0
- package/resources/evaluation.js.map +1 -1
- package/resources/evaluation.mjs +14 -0
- package/resources/evaluation.mjs.map +1 -1
- package/resources/http-request-definition.d.mts +339 -0
- package/resources/http-request-definition.d.mts.map +1 -0
- package/resources/http-request-definition.d.ts +339 -0
- package/resources/http-request-definition.d.ts.map +1 -0
- package/resources/http-request-definition.js +36 -0
- package/resources/http-request-definition.js.map +1 -0
- package/resources/http-request-definition.mjs +32 -0
- package/resources/http-request-definition.mjs.map +1 -0
- package/resources/index.d.mts +11 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +11 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +19 -5
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +9 -2
- package/resources/index.mjs.map +1 -1
- package/resources/simulation-job.d.mts +393 -0
- package/resources/simulation-job.d.mts.map +1 -0
- package/resources/simulation-job.d.ts +393 -0
- package/resources/simulation-job.d.ts.map +1 -0
- package/resources/simulation-job.js +38 -0
- package/resources/simulation-job.js.map +1 -0
- package/resources/simulation-job.mjs +34 -0
- package/resources/simulation-job.mjs.map +1 -0
- package/resources/{persona.d.mts → simulation-persona.d.mts} +62 -33
- package/resources/simulation-persona.d.mts.map +1 -0
- package/resources/{persona.d.ts → simulation-persona.d.ts} +62 -33
- package/resources/simulation-persona.d.ts.map +1 -0
- package/resources/{persona.js → simulation-persona.js} +18 -13
- package/resources/simulation-persona.js.map +1 -0
- package/resources/{persona.mjs → simulation-persona.mjs} +16 -11
- package/resources/simulation-persona.mjs.map +1 -0
- package/resources/simulation-run-plan-job.d.mts +359 -0
- package/resources/simulation-run-plan-job.d.mts.map +1 -0
- package/resources/simulation-run-plan-job.d.ts +359 -0
- package/resources/simulation-run-plan-job.d.ts.map +1 -0
- package/resources/simulation-run-plan-job.js +50 -0
- package/resources/simulation-run-plan-job.js.map +1 -0
- package/resources/simulation-run-plan-job.mjs +46 -0
- package/resources/simulation-run-plan-job.mjs.map +1 -0
- package/resources/simulation-run-plan.d.mts +660 -0
- package/resources/simulation-run-plan.d.mts.map +1 -0
- package/resources/simulation-run-plan.d.ts +660 -0
- package/resources/simulation-run-plan.d.ts.map +1 -0
- package/resources/simulation-run-plan.js +93 -0
- package/resources/simulation-run-plan.js.map +1 -0
- package/resources/simulation-run-plan.mjs +89 -0
- package/resources/simulation-run-plan.mjs.map +1 -0
- package/resources/simulation-scenario.d.mts +335 -0
- package/resources/simulation-scenario.d.mts.map +1 -0
- package/resources/simulation-scenario.d.ts +335 -0
- package/resources/simulation-scenario.d.ts.map +1 -0
- package/resources/simulation-scenario.js +40 -0
- package/resources/simulation-scenario.js.map +1 -0
- package/resources/simulation-scenario.mjs +36 -0
- package/resources/simulation-scenario.mjs.map +1 -0
- package/resources/webhook.d.mts +212 -0
- package/resources/webhook.d.mts.map +1 -0
- package/resources/webhook.d.ts +212 -0
- package/resources/webhook.d.ts.map +1 -0
- package/resources/webhook.js +35 -0
- package/resources/webhook.js.map +1 -0
- package/resources/webhook.mjs +31 -0
- package/resources/webhook.mjs.map +1 -0
- package/src/client.ts +208 -43
- package/src/resources/agent-endpoint.ts +400 -0
- package/src/resources/agent.ts +263 -0
- package/src/resources/call.ts +149 -0
- package/src/resources/evaluation.ts +3044 -1154
- package/src/resources/http-request-definition.ts +410 -0
- package/src/resources/index.ts +89 -21
- package/src/resources/simulation-job.ts +527 -0
- package/src/resources/{persona.ts → simulation-persona.ts} +78 -40
- package/src/resources/simulation-run-plan-job.ts +521 -0
- package/src/resources/simulation-run-plan.ts +840 -0
- package/src/resources/simulation-scenario.ts +463 -0
- package/src/resources/webhook.ts +318 -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
- package/resources/persona.d.mts.map +0 -1
- package/resources/persona.d.ts.map +0 -1
- package/resources/persona.js.map +0 -1
- package/resources/persona.mjs.map +0 -1
- package/resources/simulation.d.mts +0 -802
- package/resources/simulation.d.mts.map +0 -1
- package/resources/simulation.d.ts +0 -802
- package/resources/simulation.d.ts.map +0 -1
- package/resources/simulation.js +0 -90
- package/resources/simulation.js.map +0 -1
- package/resources/simulation.mjs +0 -86
- package/resources/simulation.mjs.map +0 -1
- package/src/resources/simulation.ts +0 -1069
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
export declare class SimulationRunPlanJob extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Returns a paginated list of simulation run plan jobs. Filter by status, plan ID,
|
|
7
|
+
* or label to find specific simulation batches.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const simulationRunPlanJobs =
|
|
12
|
+
* await client.simulationRunPlanJob.list();
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
list(query?: SimulationRunPlanJobListParams | null | undefined, options?: RequestOptions): APIPromise<SimulationRunPlanJobListResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Retrieve details of a simulation plan job including all associated simulation
|
|
18
|
+
* jobs (calls)
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const response = await client.simulationRunPlanJob.getByID(
|
|
23
|
+
* '7f3e4d2c-8a91-4b5c-9e6f-1a2b3c4d5e6f',
|
|
24
|
+
* );
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
getByID(jobID: unknown, options?: RequestOptions): APIPromise<SimulationRunPlanJobGetByIDResponse>;
|
|
28
|
+
/**
|
|
29
|
+
* Create and execute a job for an existing simulation run plan
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const response = await client.simulationRunPlanJob.start(
|
|
34
|
+
* '7f3e4d2c-8a91-4b5c-9e6f-1a2b3c4d5e6f',
|
|
35
|
+
* );
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
start(planID: unknown, options?: RequestOptions): APIPromise<SimulationRunPlanJobStartResponse>;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Paginated list of simulation run plan jobs
|
|
42
|
+
*/
|
|
43
|
+
export interface SimulationRunPlanJobListResponse {
|
|
44
|
+
data: Array<SimulationRunPlanJobListResponse.Data>;
|
|
45
|
+
pagination: SimulationRunPlanJobListResponse.Pagination;
|
|
46
|
+
}
|
|
47
|
+
export declare namespace SimulationRunPlanJobListResponse {
|
|
48
|
+
interface Data {
|
|
49
|
+
/**
|
|
50
|
+
* When the job was created
|
|
51
|
+
*/
|
|
52
|
+
createdAt: string;
|
|
53
|
+
/**
|
|
54
|
+
* ID of the simulation run plan
|
|
55
|
+
*/
|
|
56
|
+
simulationRunPlanId: string;
|
|
57
|
+
/**
|
|
58
|
+
* ID of the simulation run plan job
|
|
59
|
+
*/
|
|
60
|
+
simulationRunPlanJobId: string;
|
|
61
|
+
/**
|
|
62
|
+
* Job status
|
|
63
|
+
*/
|
|
64
|
+
status: 'PENDING' | 'QUEUED' | 'CREATING_SNAPSHOTS' | 'CREATING_SIMULATIONS' | 'RUNNING_SIMULATIONS' | 'COMPLETED' | 'FAILED' | 'TIMED_OUT' | 'CANCELLED' | 'CANCELLING';
|
|
65
|
+
/**
|
|
66
|
+
* How the job was triggered (SCHEDULED, USER_TRIGGERED_FROM_UI,
|
|
67
|
+
* TRIGGERED_FROM_API, or RE_RUN)
|
|
68
|
+
*/
|
|
69
|
+
triggeredBy: 'SCHEDULED' | 'USER_TRIGGERED_FROM_UI' | 'RE_RUN' | 'TRIGGERED_FROM_API';
|
|
70
|
+
/**
|
|
71
|
+
* When the job ended
|
|
72
|
+
*/
|
|
73
|
+
endedAt?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
* When the job started
|
|
76
|
+
*/
|
|
77
|
+
startedAt?: string | null;
|
|
78
|
+
}
|
|
79
|
+
interface Pagination {
|
|
80
|
+
/**
|
|
81
|
+
* Whether there are more results available
|
|
82
|
+
*/
|
|
83
|
+
hasMore: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Total number of matching plan jobs
|
|
86
|
+
*/
|
|
87
|
+
total: number;
|
|
88
|
+
/**
|
|
89
|
+
* Cursor to use for fetching the next page
|
|
90
|
+
*/
|
|
91
|
+
nextCursor?: string | null;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
export interface SimulationRunPlanJobGetByIDResponse {
|
|
95
|
+
/**
|
|
96
|
+
* Simulation run plan job with all associated simulation jobs
|
|
97
|
+
*/
|
|
98
|
+
data: SimulationRunPlanJobGetByIDResponse.Data;
|
|
99
|
+
}
|
|
100
|
+
export declare namespace SimulationRunPlanJobGetByIDResponse {
|
|
101
|
+
/**
|
|
102
|
+
* Simulation run plan job with all associated simulation jobs
|
|
103
|
+
*/
|
|
104
|
+
interface Data {
|
|
105
|
+
/**
|
|
106
|
+
* When the job was created
|
|
107
|
+
*/
|
|
108
|
+
createdAt: string;
|
|
109
|
+
/**
|
|
110
|
+
* List of simulation jobs (calls) in this run plan job
|
|
111
|
+
*/
|
|
112
|
+
simulationJobs: Array<Data.SimulationJob>;
|
|
113
|
+
/**
|
|
114
|
+
* ID of the simulation run plan
|
|
115
|
+
*/
|
|
116
|
+
simulationRunPlanId: string;
|
|
117
|
+
/**
|
|
118
|
+
* ID of the simulation run plan job
|
|
119
|
+
*/
|
|
120
|
+
simulationRunPlanJobId: string;
|
|
121
|
+
/**
|
|
122
|
+
* Job status
|
|
123
|
+
*/
|
|
124
|
+
status: 'PENDING' | 'QUEUED' | 'CREATING_SNAPSHOTS' | 'CREATING_SIMULATIONS' | 'RUNNING_SIMULATIONS' | 'COMPLETED' | 'FAILED' | 'TIMED_OUT' | 'CANCELLED' | 'CANCELLING';
|
|
125
|
+
/**
|
|
126
|
+
* When the job ended
|
|
127
|
+
*/
|
|
128
|
+
endedAt?: string | null;
|
|
129
|
+
/**
|
|
130
|
+
* When the job started
|
|
131
|
+
*/
|
|
132
|
+
startedAt?: string | null;
|
|
133
|
+
}
|
|
134
|
+
namespace Data {
|
|
135
|
+
interface SimulationJob {
|
|
136
|
+
/**
|
|
137
|
+
* Agent endpoint used in a simulation
|
|
138
|
+
*/
|
|
139
|
+
agentEndpoint: SimulationJob.AgentEndpoint;
|
|
140
|
+
/**
|
|
141
|
+
* When the simulation job was created
|
|
142
|
+
*/
|
|
143
|
+
createdAt: string;
|
|
144
|
+
persona: SimulationJob.Persona;
|
|
145
|
+
/**
|
|
146
|
+
* Processing status
|
|
147
|
+
*/
|
|
148
|
+
processingStatus: 'CONNECTING' | 'WAITING_FOR_OUTBOUND_CALL' | 'SIMULATING' | 'ANALYZING' | 'EVALUATING' | 'COMPLETED';
|
|
149
|
+
/**
|
|
150
|
+
* Scenario used in a simulation
|
|
151
|
+
*/
|
|
152
|
+
scenario: SimulationJob.Scenario;
|
|
153
|
+
/**
|
|
154
|
+
* Simulation job ID
|
|
155
|
+
*/
|
|
156
|
+
simulationJobId: string;
|
|
157
|
+
/**
|
|
158
|
+
* Job status
|
|
159
|
+
*/
|
|
160
|
+
status: 'PENDING' | 'QUEUED' | 'PROCESSING' | 'COMPLETED' | 'FAILED' | 'TIMED_OUT' | 'CANCELLED' | 'CANCELLING';
|
|
161
|
+
/**
|
|
162
|
+
* ID of the call created for this simulation job. Null if the call has not been
|
|
163
|
+
* created yet.
|
|
164
|
+
*/
|
|
165
|
+
callId?: string | null;
|
|
166
|
+
/**
|
|
167
|
+
* When the simulation job completed
|
|
168
|
+
*/
|
|
169
|
+
completedAt?: string | null;
|
|
170
|
+
/**
|
|
171
|
+
* Phone number provisioned by Roark for this simulation job in E.164 format. Null
|
|
172
|
+
* if the simulation job is queued and has not been assigned a phone number yet.
|
|
173
|
+
*/
|
|
174
|
+
roarkPhoneNumber?: string | null;
|
|
175
|
+
/**
|
|
176
|
+
* When the simulation job started
|
|
177
|
+
*/
|
|
178
|
+
startedAt?: string | null;
|
|
179
|
+
}
|
|
180
|
+
namespace SimulationJob {
|
|
181
|
+
/**
|
|
182
|
+
* Agent endpoint used in a simulation
|
|
183
|
+
*/
|
|
184
|
+
interface AgentEndpoint {
|
|
185
|
+
/**
|
|
186
|
+
* Agent endpoint ID
|
|
187
|
+
*/
|
|
188
|
+
id: string;
|
|
189
|
+
/**
|
|
190
|
+
* Agent endpoint name
|
|
191
|
+
*/
|
|
192
|
+
name: string;
|
|
193
|
+
/**
|
|
194
|
+
* Agent endpoint phone number
|
|
195
|
+
*/
|
|
196
|
+
phoneNumber: string | null;
|
|
197
|
+
/**
|
|
198
|
+
* Agent endpoint type
|
|
199
|
+
*/
|
|
200
|
+
type: 'PHONE' | 'WEBSOCKET';
|
|
201
|
+
}
|
|
202
|
+
interface Persona {
|
|
203
|
+
/**
|
|
204
|
+
* Unique identifier of the persona
|
|
205
|
+
*/
|
|
206
|
+
id: string;
|
|
207
|
+
/**
|
|
208
|
+
* Accent of the persona, defined using ISO 3166-1 alpha-2 country codes with
|
|
209
|
+
* optional variants
|
|
210
|
+
*/
|
|
211
|
+
accent: 'US' | 'US_X_SOUTH' | 'GB' | 'ES' | 'DE' | 'IN' | 'FR' | 'NL' | 'SA' | 'GR' | 'AU' | 'IT' | 'ID' | 'TH' | 'JP';
|
|
212
|
+
/**
|
|
213
|
+
* Background noise setting
|
|
214
|
+
*/
|
|
215
|
+
backgroundNoise: 'NONE' | 'AIRPORT' | 'CHILDREN_PLAYING' | 'CITY' | 'COFFEE_SHOP' | 'DRIVING' | 'OFFICE' | 'THUNDERSTORM';
|
|
216
|
+
/**
|
|
217
|
+
* Base emotional state of the persona
|
|
218
|
+
*/
|
|
219
|
+
baseEmotion: 'NEUTRAL' | 'CHEERFUL' | 'CONFUSED' | 'FRUSTRATED' | 'SKEPTICAL' | 'RUSHED';
|
|
220
|
+
/**
|
|
221
|
+
* How the persona confirms information
|
|
222
|
+
*/
|
|
223
|
+
confirmationStyle: 'EXPLICIT' | 'VAGUE';
|
|
224
|
+
/**
|
|
225
|
+
* Creation timestamp
|
|
226
|
+
*/
|
|
227
|
+
createdAt: string;
|
|
228
|
+
/**
|
|
229
|
+
* Gender of the persona
|
|
230
|
+
*/
|
|
231
|
+
gender: 'MALE' | 'FEMALE' | 'NEUTRAL';
|
|
232
|
+
/**
|
|
233
|
+
* Whether the persona uses filler words like "um" and "uh"
|
|
234
|
+
*/
|
|
235
|
+
hasDisfluencies: boolean;
|
|
236
|
+
/**
|
|
237
|
+
* How clearly the persona expresses their intentions
|
|
238
|
+
*/
|
|
239
|
+
intentClarity: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
240
|
+
/**
|
|
241
|
+
* Primary language ISO 639-1 code for the persona
|
|
242
|
+
*/
|
|
243
|
+
language: 'EN' | 'ES' | 'DE' | 'HI' | 'FR' | 'NL' | 'AR' | 'EL' | 'IT' | 'ID' | 'TH' | 'JA';
|
|
244
|
+
/**
|
|
245
|
+
* How reliable the persona's memory is
|
|
246
|
+
*/
|
|
247
|
+
memoryReliability: 'HIGH' | 'LOW';
|
|
248
|
+
/**
|
|
249
|
+
* The name the agent will identify as during conversations
|
|
250
|
+
*/
|
|
251
|
+
name: string;
|
|
252
|
+
/**
|
|
253
|
+
* Additional custom properties about the persona
|
|
254
|
+
*/
|
|
255
|
+
properties: {
|
|
256
|
+
[key: string]: unknown;
|
|
257
|
+
};
|
|
258
|
+
/**
|
|
259
|
+
* Speech clarity of the persona
|
|
260
|
+
*/
|
|
261
|
+
speechClarity: 'CLEAR' | 'VAGUE' | 'RAMBLING';
|
|
262
|
+
/**
|
|
263
|
+
* Speech pace of the persona
|
|
264
|
+
*/
|
|
265
|
+
speechPace: 'SLOW' | 'NORMAL' | 'FAST';
|
|
266
|
+
/**
|
|
267
|
+
* Last update timestamp
|
|
268
|
+
*/
|
|
269
|
+
updatedAt: string;
|
|
270
|
+
/**
|
|
271
|
+
* Background story and behavioral patterns for the persona
|
|
272
|
+
*/
|
|
273
|
+
backstoryPrompt?: string | null;
|
|
274
|
+
/**
|
|
275
|
+
* Human-readable description of the persona
|
|
276
|
+
*/
|
|
277
|
+
description?: string | null;
|
|
278
|
+
/**
|
|
279
|
+
* Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
|
|
280
|
+
*/
|
|
281
|
+
secondaryLanguage?: 'EN' | null;
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Scenario used in a simulation
|
|
285
|
+
*/
|
|
286
|
+
interface Scenario {
|
|
287
|
+
/**
|
|
288
|
+
* Scenario ID
|
|
289
|
+
*/
|
|
290
|
+
id: string;
|
|
291
|
+
/**
|
|
292
|
+
* Scenario description
|
|
293
|
+
*/
|
|
294
|
+
description?: string | null;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
export interface SimulationRunPlanJobStartResponse {
|
|
300
|
+
/**
|
|
301
|
+
* Response when triggering a simulation run plan
|
|
302
|
+
*/
|
|
303
|
+
data: SimulationRunPlanJobStartResponse.Data;
|
|
304
|
+
}
|
|
305
|
+
export declare namespace SimulationRunPlanJobStartResponse {
|
|
306
|
+
/**
|
|
307
|
+
* Response when triggering a simulation run plan
|
|
308
|
+
*/
|
|
309
|
+
interface Data {
|
|
310
|
+
/**
|
|
311
|
+
* When the job was created
|
|
312
|
+
*/
|
|
313
|
+
createdAt: string;
|
|
314
|
+
/**
|
|
315
|
+
* ID of the simulation run plan that was executed
|
|
316
|
+
*/
|
|
317
|
+
simulationRunPlanId: string;
|
|
318
|
+
/**
|
|
319
|
+
* ID of the simulation run plan job that was created
|
|
320
|
+
*/
|
|
321
|
+
simulationRunPlanJobId: string;
|
|
322
|
+
/**
|
|
323
|
+
* Initial status of the job
|
|
324
|
+
*/
|
|
325
|
+
status: 'PENDING' | 'QUEUED' | 'CREATING_SNAPSHOTS' | 'CREATING_SIMULATIONS' | 'RUNNING_SIMULATIONS' | 'COMPLETED' | 'FAILED' | 'TIMED_OUT' | 'CANCELLED' | 'CANCELLING';
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
export interface SimulationRunPlanJobListParams {
|
|
329
|
+
/**
|
|
330
|
+
* Cursor for pagination - use the nextCursor value from a previous response
|
|
331
|
+
*/
|
|
332
|
+
after?: string;
|
|
333
|
+
/**
|
|
334
|
+
* Filter by label ID attached to the plan job. Use this if you know the label ID.
|
|
335
|
+
*/
|
|
336
|
+
labelId?: string;
|
|
337
|
+
/**
|
|
338
|
+
* Filter by label name attached to the plan job. More user-friendly alternative to
|
|
339
|
+
* labelId. Case-insensitive.
|
|
340
|
+
*/
|
|
341
|
+
labelName?: string;
|
|
342
|
+
/**
|
|
343
|
+
* Maximum number of plan jobs to return (default: 20, max: 50)
|
|
344
|
+
*/
|
|
345
|
+
limit?: number;
|
|
346
|
+
/**
|
|
347
|
+
* Filter by simulation run plan ID
|
|
348
|
+
*/
|
|
349
|
+
simulationRunPlanId?: string;
|
|
350
|
+
/**
|
|
351
|
+
* Filter by plan job status (PENDING, CREATING_SNAPSHOTS, CREATING_SIMULATIONS,
|
|
352
|
+
* RUNNING_SIMULATIONS, COMPLETED, FAILED, TIMED_OUT, CANCELLED, CANCELLING)
|
|
353
|
+
*/
|
|
354
|
+
status?: 'PENDING' | 'QUEUED' | 'CREATING_SNAPSHOTS' | 'CREATING_SIMULATIONS' | 'RUNNING_SIMULATIONS' | 'COMPLETED' | 'FAILED' | 'TIMED_OUT' | 'CANCELLED' | 'CANCELLING';
|
|
355
|
+
}
|
|
356
|
+
export declare namespace SimulationRunPlanJob {
|
|
357
|
+
export { type SimulationRunPlanJobListResponse as SimulationRunPlanJobListResponse, type SimulationRunPlanJobGetByIDResponse as SimulationRunPlanJobGetByIDResponse, type SimulationRunPlanJobStartResponse as SimulationRunPlanJobStartResponse, type SimulationRunPlanJobListParams as SimulationRunPlanJobListParams, };
|
|
358
|
+
}
|
|
359
|
+
//# sourceMappingURL=simulation-run-plan-job.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"simulation-run-plan-job.d.mts","sourceRoot":"","sources":["../src/resources/simulation-run-plan-job.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,oBAAqB,SAAQ,WAAW;IACnD;;;;;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