@roarkanalytics/sdk 2.13.0 → 2.14.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 +33 -0
- package/LICENSE +1 -1
- package/index.d.mts +10 -10
- package/index.d.ts +10 -10
- package/index.d.ts.map +1 -1
- package/index.js.map +1 -1
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/call.d.ts +729 -16
- package/resources/call.d.ts.map +1 -1
- package/resources/call.js +16 -4
- package/resources/call.js.map +1 -1
- package/resources/call.mjs +16 -4
- package/resources/call.mjs.map +1 -1
- package/resources/evaluation.d.ts +85 -81
- package/resources/evaluation.d.ts.map +1 -1
- package/resources/evaluation.js +8 -8
- package/resources/evaluation.js.map +1 -1
- package/resources/evaluation.mjs +8 -8
- package/resources/evaluation.mjs.map +1 -1
- package/resources/index.d.ts +5 -5
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/metric.d.ts +5 -5
- package/resources/metric.d.ts.map +1 -1
- package/resources/metric.js +1 -1
- package/resources/metric.js.map +1 -1
- package/resources/metric.mjs +1 -1
- package/resources/metric.mjs.map +1 -1
- package/resources/persona.d.ts +21 -21
- package/resources/persona.d.ts.map +1 -1
- package/resources/persona.js +2 -2
- package/resources/persona.js.map +1 -1
- package/resources/persona.mjs +2 -2
- package/resources/persona.mjs.map +1 -1
- package/resources/simulation.d.ts +273 -28
- package/resources/simulation.d.ts.map +1 -1
- package/resources/simulation.js +37 -8
- package/resources/simulation.js.map +1 -1
- package/resources/simulation.mjs +37 -8
- package/resources/simulation.mjs.map +1 -1
- package/src/index.ts +40 -28
- package/src/resources/call.ts +954 -27
- package/src/resources/evaluation.ts +113 -108
- package/src/resources/index.ts +20 -14
- package/src/resources/metric.ts +5 -5
- package/src/resources/persona.ts +110 -29
- package/src/resources/simulation.ts +390 -34
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -5,17 +5,39 @@ import * as Core from '../core';
|
|
|
5
5
|
|
|
6
6
|
export class Simulation extends APIResource {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
8
|
+
* Retrieve details of a simulation plan job including all associated simulation
|
|
9
|
+
* jobs (calls)
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* ```ts
|
|
13
|
-
* const response = await client.simulation.
|
|
13
|
+
* const response = await client.simulation.getRunPlanJob(
|
|
14
14
|
* '7f3e4d2c-8a91-4b5c-9e6f-1a2b3c4d5e6f',
|
|
15
15
|
* );
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
getRunPlanJob(
|
|
19
|
+
jobId: unknown,
|
|
20
|
+
options?: Core.RequestOptions,
|
|
21
|
+
): Core.APIPromise<SimulationGetRunPlanJobResponse> {
|
|
22
|
+
return this._client.get(`/v1/simulation/plan/job/${jobId}`, options);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Get a individual simulation run directly by its ID. This is generally part of a
|
|
27
|
+
* larger simulation run plan job.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const response =
|
|
32
|
+
* await client.simulation.getSimulationJobById(
|
|
33
|
+
* '7f3e4d2c-8a91-4b5c-9e6f-1a2b3c4d5e6f',
|
|
34
|
+
* );
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
getSimulationJobById(
|
|
38
|
+
jobId: unknown,
|
|
39
|
+
options?: Core.RequestOptions,
|
|
40
|
+
): Core.APIPromise<SimulationGetSimulationJobByIDResponse> {
|
|
19
41
|
return this._client.get(`/v1/simulation/job/${jobId}`, options);
|
|
20
42
|
}
|
|
21
43
|
|
|
@@ -25,27 +47,297 @@ export class Simulation extends APIResource {
|
|
|
25
47
|
*
|
|
26
48
|
* @example
|
|
27
49
|
* ```ts
|
|
28
|
-
* const response =
|
|
29
|
-
*
|
|
30
|
-
* }
|
|
50
|
+
* const response =
|
|
51
|
+
* await client.simulation.lookupSimulationJob({
|
|
52
|
+
* roarkPhoneNumber: {},
|
|
53
|
+
* });
|
|
31
54
|
* ```
|
|
32
55
|
*/
|
|
33
|
-
|
|
34
|
-
query:
|
|
56
|
+
lookupSimulationJob(
|
|
57
|
+
query: SimulationLookupSimulationJobParams,
|
|
35
58
|
options?: Core.RequestOptions,
|
|
36
|
-
): Core.APIPromise<
|
|
59
|
+
): Core.APIPromise<SimulationLookupSimulationJobResponse> {
|
|
37
60
|
return this._client.get('/v1/simulation/job/lookup', { query, ...options });
|
|
38
61
|
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Create and execute a job for an existing simulation run plan
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```ts
|
|
68
|
+
* const response = await client.simulation.startRunPlanJob(
|
|
69
|
+
* '7f3e4d2c-8a91-4b5c-9e6f-1a2b3c4d5e6f',
|
|
70
|
+
* );
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
startRunPlanJob(
|
|
74
|
+
planId: unknown,
|
|
75
|
+
options?: Core.RequestOptions,
|
|
76
|
+
): Core.APIPromise<SimulationStartRunPlanJobResponse> {
|
|
77
|
+
return this._client.post(`/v1/simulation/plan/${planId}/job`, options);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export interface SimulationGetRunPlanJobResponse {
|
|
82
|
+
/**
|
|
83
|
+
* Simulation run plan job with all associated simulation jobs
|
|
84
|
+
*/
|
|
85
|
+
data: SimulationGetRunPlanJobResponse.Data;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export namespace SimulationGetRunPlanJobResponse {
|
|
89
|
+
/**
|
|
90
|
+
* Simulation run plan job with all associated simulation jobs
|
|
91
|
+
*/
|
|
92
|
+
export interface Data {
|
|
93
|
+
/**
|
|
94
|
+
* When the job was created
|
|
95
|
+
*/
|
|
96
|
+
createdAt: string;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* List of simulation jobs (calls) in this run plan job
|
|
100
|
+
*/
|
|
101
|
+
simulationJobs: Array<Data.SimulationJob>;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* ID of the simulation run plan
|
|
105
|
+
*/
|
|
106
|
+
simulationRunPlanId: string;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* ID of the simulation run plan job
|
|
110
|
+
*/
|
|
111
|
+
simulationRunPlanJobId: string;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Job status
|
|
115
|
+
*/
|
|
116
|
+
status: string;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* When the job ended
|
|
120
|
+
*/
|
|
121
|
+
endedAt?: string | null;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* When the job started
|
|
125
|
+
*/
|
|
126
|
+
startedAt?: string | null;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export namespace Data {
|
|
130
|
+
export interface SimulationJob {
|
|
131
|
+
/**
|
|
132
|
+
* Agent endpoint used in a simulation
|
|
133
|
+
*/
|
|
134
|
+
agentEndpoint: SimulationJob.AgentEndpoint;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* When the simulation job was created
|
|
138
|
+
*/
|
|
139
|
+
createdAt: string;
|
|
140
|
+
|
|
141
|
+
persona: SimulationJob.Persona;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Processing status
|
|
145
|
+
*/
|
|
146
|
+
processingStatus: string;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Scenario used in a simulation
|
|
150
|
+
*/
|
|
151
|
+
scenario: SimulationJob.Scenario;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Simulation job ID
|
|
155
|
+
*/
|
|
156
|
+
simulationJobId: string;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Job status
|
|
160
|
+
*/
|
|
161
|
+
status: string;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* When the simulation job completed
|
|
165
|
+
*/
|
|
166
|
+
completedAt?: string | null;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* When the simulation job started
|
|
170
|
+
*/
|
|
171
|
+
startedAt?: string | null;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export namespace SimulationJob {
|
|
175
|
+
/**
|
|
176
|
+
* Agent endpoint used in a simulation
|
|
177
|
+
*/
|
|
178
|
+
export interface AgentEndpoint {
|
|
179
|
+
/**
|
|
180
|
+
* Agent endpoint ID
|
|
181
|
+
*/
|
|
182
|
+
id: string;
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Agent endpoint name
|
|
186
|
+
*/
|
|
187
|
+
name: string;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Agent endpoint phone number
|
|
191
|
+
*/
|
|
192
|
+
phoneNumber: string | null;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Agent endpoint type
|
|
196
|
+
*/
|
|
197
|
+
type: string;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export interface Persona {
|
|
201
|
+
/**
|
|
202
|
+
* Unique identifier of the persona
|
|
203
|
+
*/
|
|
204
|
+
id: string;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Accent of the persona, defined using ISO 3166-1 alpha-2 country codes with
|
|
208
|
+
* optional variants
|
|
209
|
+
*/
|
|
210
|
+
accent:
|
|
211
|
+
| 'US'
|
|
212
|
+
| 'US_X_SOUTH'
|
|
213
|
+
| 'GB'
|
|
214
|
+
| 'ES'
|
|
215
|
+
| 'DE'
|
|
216
|
+
| 'IN'
|
|
217
|
+
| 'FR'
|
|
218
|
+
| 'NL'
|
|
219
|
+
| 'SA'
|
|
220
|
+
| 'GR'
|
|
221
|
+
| 'AU'
|
|
222
|
+
| 'IT'
|
|
223
|
+
| 'ID'
|
|
224
|
+
| 'TH';
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Background noise setting
|
|
228
|
+
*/
|
|
229
|
+
backgroundNoise:
|
|
230
|
+
| 'NONE'
|
|
231
|
+
| 'AIRPORT'
|
|
232
|
+
| 'CHILDREN_PLAYING'
|
|
233
|
+
| 'CITY'
|
|
234
|
+
| 'COFFEE_SHOP'
|
|
235
|
+
| 'DRIVING'
|
|
236
|
+
| 'OFFICE'
|
|
237
|
+
| 'THUNDERSTORM';
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Base emotional state of the persona
|
|
241
|
+
*/
|
|
242
|
+
baseEmotion: 'NEUTRAL' | 'CHEERFUL' | 'CONFUSED' | 'FRUSTRATED' | 'SKEPTICAL' | 'RUSHED';
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* How the persona confirms information
|
|
246
|
+
*/
|
|
247
|
+
confirmationStyle: 'EXPLICIT' | 'VAGUE';
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Creation timestamp
|
|
251
|
+
*/
|
|
252
|
+
createdAt: string;
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Gender of the persona
|
|
256
|
+
*/
|
|
257
|
+
gender: 'MALE' | 'FEMALE' | 'NEUTRAL';
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Whether the persona uses filler words like "um" and "uh"
|
|
261
|
+
*/
|
|
262
|
+
hasDisfluencies: boolean;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* How clearly the persona expresses their intentions
|
|
266
|
+
*/
|
|
267
|
+
intentClarity: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Primary language ISO 639-1 code for the persona
|
|
271
|
+
*/
|
|
272
|
+
language: 'EN' | 'ES' | 'DE' | 'HI' | 'FR' | 'NL' | 'AR' | 'EL' | 'IT' | 'ID' | 'TH';
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* How reliable the persona's memory is
|
|
276
|
+
*/
|
|
277
|
+
memoryReliability: 'HIGH' | 'LOW';
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* The name the agent will identify as during conversations
|
|
281
|
+
*/
|
|
282
|
+
name: string;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Additional custom properties about the persona
|
|
286
|
+
*/
|
|
287
|
+
properties: { [key: string]: unknown };
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Speech clarity of the persona
|
|
291
|
+
*/
|
|
292
|
+
speechClarity: 'CLEAR' | 'VAGUE' | 'RAMBLING';
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Speech pace of the persona
|
|
296
|
+
*/
|
|
297
|
+
speechPace: 'SLOW' | 'NORMAL' | 'FAST';
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* Last update timestamp
|
|
301
|
+
*/
|
|
302
|
+
updatedAt: string;
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Background story and behavioral patterns for the persona
|
|
306
|
+
*/
|
|
307
|
+
backstoryPrompt?: string | null;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
|
|
311
|
+
*/
|
|
312
|
+
secondaryLanguage?: 'EN' | null;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Scenario used in a simulation
|
|
317
|
+
*/
|
|
318
|
+
export interface Scenario {
|
|
319
|
+
/**
|
|
320
|
+
* Scenario ID
|
|
321
|
+
*/
|
|
322
|
+
id: string;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* Scenario description
|
|
326
|
+
*/
|
|
327
|
+
description?: string | null;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
}
|
|
39
331
|
}
|
|
40
332
|
|
|
41
|
-
export interface
|
|
333
|
+
export interface SimulationGetSimulationJobByIDResponse {
|
|
42
334
|
/**
|
|
43
335
|
* Simulation job with related entities
|
|
44
336
|
*/
|
|
45
|
-
data:
|
|
337
|
+
data: SimulationGetSimulationJobByIDResponse.Data;
|
|
46
338
|
}
|
|
47
339
|
|
|
48
|
-
export namespace
|
|
340
|
+
export namespace SimulationGetSimulationJobByIDResponse {
|
|
49
341
|
/**
|
|
50
342
|
* Simulation job with related entities
|
|
51
343
|
*/
|
|
@@ -103,11 +395,6 @@ export namespace SimulationGetJobByIDResponse {
|
|
|
103
395
|
*/
|
|
104
396
|
id: string;
|
|
105
397
|
|
|
106
|
-
/**
|
|
107
|
-
* Agent endpoint type
|
|
108
|
-
*/
|
|
109
|
-
endpointType: string;
|
|
110
|
-
|
|
111
398
|
/**
|
|
112
399
|
* Agent endpoint name
|
|
113
400
|
*/
|
|
@@ -117,6 +404,11 @@ export namespace SimulationGetJobByIDResponse {
|
|
|
117
404
|
* Agent endpoint phone number
|
|
118
405
|
*/
|
|
119
406
|
phoneNumber: string | null;
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* Agent endpoint type
|
|
410
|
+
*/
|
|
411
|
+
type: string;
|
|
120
412
|
}
|
|
121
413
|
|
|
122
414
|
export interface Persona {
|
|
@@ -129,7 +421,21 @@ export namespace SimulationGetJobByIDResponse {
|
|
|
129
421
|
* Accent of the persona, defined using ISO 3166-1 alpha-2 country codes with
|
|
130
422
|
* optional variants
|
|
131
423
|
*/
|
|
132
|
-
accent:
|
|
424
|
+
accent:
|
|
425
|
+
| 'US'
|
|
426
|
+
| 'US_X_SOUTH'
|
|
427
|
+
| 'GB'
|
|
428
|
+
| 'ES'
|
|
429
|
+
| 'DE'
|
|
430
|
+
| 'IN'
|
|
431
|
+
| 'FR'
|
|
432
|
+
| 'NL'
|
|
433
|
+
| 'SA'
|
|
434
|
+
| 'GR'
|
|
435
|
+
| 'AU'
|
|
436
|
+
| 'IT'
|
|
437
|
+
| 'ID'
|
|
438
|
+
| 'TH';
|
|
133
439
|
|
|
134
440
|
/**
|
|
135
441
|
* Background noise setting
|
|
@@ -177,7 +483,7 @@ export namespace SimulationGetJobByIDResponse {
|
|
|
177
483
|
/**
|
|
178
484
|
* Primary language ISO 639-1 code for the persona
|
|
179
485
|
*/
|
|
180
|
-
language: 'EN' | 'ES' | 'DE' | 'HI' | 'FR' | 'NL' | 'AR' | 'EL' | 'IT';
|
|
486
|
+
language: 'EN' | 'ES' | 'DE' | 'HI' | 'FR' | 'NL' | 'AR' | 'EL' | 'IT' | 'ID' | 'TH';
|
|
181
487
|
|
|
182
488
|
/**
|
|
183
489
|
* How reliable the persona's memory is
|
|
@@ -237,14 +543,14 @@ export namespace SimulationGetJobByIDResponse {
|
|
|
237
543
|
}
|
|
238
544
|
}
|
|
239
545
|
|
|
240
|
-
export interface
|
|
546
|
+
export interface SimulationLookupSimulationJobResponse {
|
|
241
547
|
/**
|
|
242
548
|
* Simulation job with related entities
|
|
243
549
|
*/
|
|
244
|
-
data:
|
|
550
|
+
data: SimulationLookupSimulationJobResponse.Data;
|
|
245
551
|
}
|
|
246
552
|
|
|
247
|
-
export namespace
|
|
553
|
+
export namespace SimulationLookupSimulationJobResponse {
|
|
248
554
|
/**
|
|
249
555
|
* Simulation job with related entities
|
|
250
556
|
*/
|
|
@@ -302,11 +608,6 @@ export namespace SimulationLookupJobResponse {
|
|
|
302
608
|
*/
|
|
303
609
|
id: string;
|
|
304
610
|
|
|
305
|
-
/**
|
|
306
|
-
* Agent endpoint type
|
|
307
|
-
*/
|
|
308
|
-
endpointType: string;
|
|
309
|
-
|
|
310
611
|
/**
|
|
311
612
|
* Agent endpoint name
|
|
312
613
|
*/
|
|
@@ -316,6 +617,11 @@ export namespace SimulationLookupJobResponse {
|
|
|
316
617
|
* Agent endpoint phone number
|
|
317
618
|
*/
|
|
318
619
|
phoneNumber: string | null;
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* Agent endpoint type
|
|
623
|
+
*/
|
|
624
|
+
type: string;
|
|
319
625
|
}
|
|
320
626
|
|
|
321
627
|
export interface Persona {
|
|
@@ -328,7 +634,21 @@ export namespace SimulationLookupJobResponse {
|
|
|
328
634
|
* Accent of the persona, defined using ISO 3166-1 alpha-2 country codes with
|
|
329
635
|
* optional variants
|
|
330
636
|
*/
|
|
331
|
-
accent:
|
|
637
|
+
accent:
|
|
638
|
+
| 'US'
|
|
639
|
+
| 'US_X_SOUTH'
|
|
640
|
+
| 'GB'
|
|
641
|
+
| 'ES'
|
|
642
|
+
| 'DE'
|
|
643
|
+
| 'IN'
|
|
644
|
+
| 'FR'
|
|
645
|
+
| 'NL'
|
|
646
|
+
| 'SA'
|
|
647
|
+
| 'GR'
|
|
648
|
+
| 'AU'
|
|
649
|
+
| 'IT'
|
|
650
|
+
| 'ID'
|
|
651
|
+
| 'TH';
|
|
332
652
|
|
|
333
653
|
/**
|
|
334
654
|
* Background noise setting
|
|
@@ -376,7 +696,7 @@ export namespace SimulationLookupJobResponse {
|
|
|
376
696
|
/**
|
|
377
697
|
* Primary language ISO 639-1 code for the persona
|
|
378
698
|
*/
|
|
379
|
-
language: 'EN' | 'ES' | 'DE' | 'HI' | 'FR' | 'NL' | 'AR' | 'EL' | 'IT';
|
|
699
|
+
language: 'EN' | 'ES' | 'DE' | 'HI' | 'FR' | 'NL' | 'AR' | 'EL' | 'IT' | 'ID' | 'TH';
|
|
380
700
|
|
|
381
701
|
/**
|
|
382
702
|
* How reliable the persona's memory is
|
|
@@ -436,7 +756,41 @@ export namespace SimulationLookupJobResponse {
|
|
|
436
756
|
}
|
|
437
757
|
}
|
|
438
758
|
|
|
439
|
-
export interface
|
|
759
|
+
export interface SimulationStartRunPlanJobResponse {
|
|
760
|
+
/**
|
|
761
|
+
* Response when triggering a simulation run plan
|
|
762
|
+
*/
|
|
763
|
+
data: SimulationStartRunPlanJobResponse.Data;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
export namespace SimulationStartRunPlanJobResponse {
|
|
767
|
+
/**
|
|
768
|
+
* Response when triggering a simulation run plan
|
|
769
|
+
*/
|
|
770
|
+
export interface Data {
|
|
771
|
+
/**
|
|
772
|
+
* When the job was created
|
|
773
|
+
*/
|
|
774
|
+
createdAt: string;
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* ID of the simulation run plan that was executed
|
|
778
|
+
*/
|
|
779
|
+
simulationRunPlanId: string;
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* ID of the simulation run plan job that was created
|
|
783
|
+
*/
|
|
784
|
+
simulationRunPlanJobId: string;
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* Initial status of the job
|
|
788
|
+
*/
|
|
789
|
+
status: string;
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
export interface SimulationLookupSimulationJobParams {
|
|
440
794
|
/**
|
|
441
795
|
* Phone number provisioned by Roark for the simulation job in E.164 format. In the
|
|
442
796
|
* case of an inbound simulation, this is the number that calls your agent; in the
|
|
@@ -454,8 +808,10 @@ export interface SimulationLookupJobParams {
|
|
|
454
808
|
|
|
455
809
|
export declare namespace Simulation {
|
|
456
810
|
export {
|
|
457
|
-
type
|
|
458
|
-
type
|
|
459
|
-
type
|
|
811
|
+
type SimulationGetRunPlanJobResponse as SimulationGetRunPlanJobResponse,
|
|
812
|
+
type SimulationGetSimulationJobByIDResponse as SimulationGetSimulationJobByIDResponse,
|
|
813
|
+
type SimulationLookupSimulationJobResponse as SimulationLookupSimulationJobResponse,
|
|
814
|
+
type SimulationStartRunPlanJobResponse as SimulationStartRunPlanJobResponse,
|
|
815
|
+
type SimulationLookupSimulationJobParams as SimulationLookupSimulationJobParams,
|
|
460
816
|
};
|
|
461
817
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '2.
|
|
1
|
+
export const VERSION = '2.14.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.14.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '2.
|
|
1
|
+
export const VERSION = '2.14.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|