@roarkanalytics/sdk 2.29.0 → 2.30.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 +41 -0
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent-endpoint.d.mts +12 -12
- package/resources/agent-endpoint.d.mts.map +1 -1
- package/resources/agent-endpoint.d.ts +12 -12
- package/resources/agent-endpoint.d.ts.map +1 -1
- package/resources/call.d.mts +4 -22
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +4 -22
- package/resources/call.d.ts.map +1 -1
- package/resources/metric-collection-job.d.mts +15 -11
- package/resources/metric-collection-job.d.mts.map +1 -1
- package/resources/metric-collection-job.d.ts +15 -11
- package/resources/metric-collection-job.d.ts.map +1 -1
- package/resources/metric-collection-job.js +2 -2
- package/resources/metric-collection-job.mjs +2 -2
- package/resources/metric-policy.d.mts +6 -0
- package/resources/metric-policy.d.mts.map +1 -1
- package/resources/metric-policy.d.ts +6 -0
- package/resources/metric-policy.d.ts.map +1 -1
- package/resources/metric-policy.js +1 -0
- package/resources/metric-policy.js.map +1 -1
- package/resources/metric-policy.mjs +1 -0
- package/resources/metric-policy.mjs.map +1 -1
- package/resources/metric.d.mts +1 -2
- package/resources/metric.d.mts.map +1 -1
- package/resources/metric.d.ts +1 -2
- package/resources/metric.d.ts.map +1 -1
- package/resources/metric.js +1 -2
- package/resources/metric.js.map +1 -1
- package/resources/metric.mjs +1 -2
- package/resources/metric.mjs.map +1 -1
- package/resources/simulation-job.d.mts +2 -2
- package/resources/simulation-job.d.mts.map +1 -1
- package/resources/simulation-job.d.ts +2 -2
- package/resources/simulation-job.d.ts.map +1 -1
- package/resources/simulation-run-plan-job.d.mts +1 -1
- package/resources/simulation-run-plan-job.d.mts.map +1 -1
- package/resources/simulation-run-plan-job.d.ts +1 -1
- package/resources/simulation-run-plan-job.d.ts.map +1 -1
- package/resources/simulation-run-plan.d.mts +28 -0
- package/resources/simulation-run-plan.d.mts.map +1 -1
- package/resources/simulation-run-plan.d.ts +28 -0
- package/resources/simulation-run-plan.d.ts.map +1 -1
- 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/src/internal/utils/env.ts +2 -2
- package/src/resources/agent-endpoint.ts +12 -12
- package/src/resources/call.ts +4 -22
- package/src/resources/metric-collection-job.ts +16 -11
- package/src/resources/metric-policy.ts +7 -0
- package/src/resources/metric.ts +1 -2
- package/src/resources/simulation-job.ts +2 -2
- package/src/resources/simulation-run-plan-job.ts +1 -1
- package/src/resources/simulation-run-plan.ts +24 -0
- package/src/resources/webhook.ts +8 -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
|
@@ -130,7 +130,7 @@ export namespace SimulationJobGetByIDResponse {
|
|
|
130
130
|
/**
|
|
131
131
|
* Agent endpoint type
|
|
132
132
|
*/
|
|
133
|
-
type: 'PHONE' | 'WEBSOCKET';
|
|
133
|
+
type: 'PHONE' | 'WEBSOCKET' | 'LIVEKIT' | 'SMALL_WEBRTC' | 'ELEVENLABS_WS' | 'KORE' | 'GOOGLE_CES';
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
export interface Persona {
|
|
@@ -411,7 +411,7 @@ export namespace SimulationJobLookupResponse {
|
|
|
411
411
|
/**
|
|
412
412
|
* Agent endpoint type
|
|
413
413
|
*/
|
|
414
|
-
type: 'PHONE' | 'WEBSOCKET';
|
|
414
|
+
type: 'PHONE' | 'WEBSOCKET' | 'LIVEKIT' | 'SMALL_WEBRTC' | 'ELEVENLABS_WS' | 'KORE' | 'GOOGLE_CES';
|
|
415
415
|
}
|
|
416
416
|
|
|
417
417
|
export interface Persona {
|
|
@@ -290,7 +290,7 @@ export namespace SimulationRunPlanJobGetByIDResponse {
|
|
|
290
290
|
/**
|
|
291
291
|
* Agent endpoint type
|
|
292
292
|
*/
|
|
293
|
-
type: 'PHONE' | 'WEBSOCKET';
|
|
293
|
+
type: 'PHONE' | 'WEBSOCKET' | 'LIVEKIT' | 'SMALL_WEBRTC' | 'ELEVENLABS_WS' | 'KORE' | 'GOOGLE_CES';
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
export interface Persona {
|
|
@@ -249,6 +249,12 @@ export namespace SimulationRunPlanCreateResponse {
|
|
|
249
249
|
|
|
250
250
|
export interface Scenario {
|
|
251
251
|
id: string;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Template variables for this scenario instance. Absent when no variables are set.
|
|
255
|
+
* The same scenario can appear multiple times with different variables.
|
|
256
|
+
*/
|
|
257
|
+
variables?: { [key: string]: string };
|
|
252
258
|
}
|
|
253
259
|
}
|
|
254
260
|
|
|
@@ -418,6 +424,12 @@ export namespace SimulationRunPlanUpdateResponse {
|
|
|
418
424
|
|
|
419
425
|
export interface Scenario {
|
|
420
426
|
id: string;
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* Template variables for this scenario instance. Absent when no variables are set.
|
|
430
|
+
* The same scenario can appear multiple times with different variables.
|
|
431
|
+
*/
|
|
432
|
+
variables?: { [key: string]: string };
|
|
421
433
|
}
|
|
422
434
|
}
|
|
423
435
|
}
|
|
@@ -552,6 +564,12 @@ export namespace SimulationRunPlanListResponse {
|
|
|
552
564
|
|
|
553
565
|
export interface Scenario {
|
|
554
566
|
id: string;
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* Template variables for this scenario instance. Absent when no variables are set.
|
|
570
|
+
* The same scenario can appear multiple times with different variables.
|
|
571
|
+
*/
|
|
572
|
+
variables?: { [key: string]: string };
|
|
555
573
|
}
|
|
556
574
|
}
|
|
557
575
|
|
|
@@ -714,6 +732,12 @@ export namespace SimulationRunPlanGetByIDResponse {
|
|
|
714
732
|
|
|
715
733
|
export interface Scenario {
|
|
716
734
|
id: string;
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* Template variables for this scenario instance. Absent when no variables are set.
|
|
738
|
+
* The same scenario can appear multiple times with different variables.
|
|
739
|
+
*/
|
|
740
|
+
variables?: { [key: string]: string };
|
|
717
741
|
}
|
|
718
742
|
}
|
|
719
743
|
}
|
package/src/resources/webhook.ts
CHANGED
|
@@ -85,6 +85,8 @@ export namespace WebhookCreateResponse {
|
|
|
85
85
|
| 'SIMULATION_JOB_CANCELLED'
|
|
86
86
|
| 'METRIC_COLLECTION_JOB_COMPLETED'
|
|
87
87
|
| 'METRIC_COLLECTION_JOB_FAILED'
|
|
88
|
+
| 'CHAT_ANALYSIS_COMPLETED'
|
|
89
|
+
| 'CHAT_ANALYSIS_FAILED'
|
|
88
90
|
>;
|
|
89
91
|
|
|
90
92
|
/**
|
|
@@ -154,6 +156,8 @@ export namespace WebhookListResponse {
|
|
|
154
156
|
| 'SIMULATION_JOB_CANCELLED'
|
|
155
157
|
| 'METRIC_COLLECTION_JOB_COMPLETED'
|
|
156
158
|
| 'METRIC_COLLECTION_JOB_FAILED'
|
|
159
|
+
| 'CHAT_ANALYSIS_COMPLETED'
|
|
160
|
+
| 'CHAT_ANALYSIS_FAILED'
|
|
157
161
|
>;
|
|
158
162
|
|
|
159
163
|
/**
|
|
@@ -249,6 +253,8 @@ export namespace WebhookGetByIDResponse {
|
|
|
249
253
|
| 'SIMULATION_JOB_CANCELLED'
|
|
250
254
|
| 'METRIC_COLLECTION_JOB_COMPLETED'
|
|
251
255
|
| 'METRIC_COLLECTION_JOB_FAILED'
|
|
256
|
+
| 'CHAT_ANALYSIS_COMPLETED'
|
|
257
|
+
| 'CHAT_ANALYSIS_FAILED'
|
|
252
258
|
>;
|
|
253
259
|
|
|
254
260
|
/**
|
|
@@ -288,6 +294,8 @@ export interface WebhookCreateParams {
|
|
|
288
294
|
| 'SIMULATION_JOB_CANCELLED'
|
|
289
295
|
| 'METRIC_COLLECTION_JOB_COMPLETED'
|
|
290
296
|
| 'METRIC_COLLECTION_JOB_FAILED'
|
|
297
|
+
| 'CHAT_ANALYSIS_COMPLETED'
|
|
298
|
+
| 'CHAT_ANALYSIS_FAILED'
|
|
291
299
|
>;
|
|
292
300
|
|
|
293
301
|
/**
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '2.
|
|
1
|
+
export const VERSION = '2.30.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.30.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.30.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.30.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|