@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.
Files changed (67) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/internal/utils/env.js +2 -2
  3. package/internal/utils/env.js.map +1 -1
  4. package/internal/utils/env.mjs +2 -2
  5. package/internal/utils/env.mjs.map +1 -1
  6. package/package.json +1 -1
  7. package/resources/agent-endpoint.d.mts +12 -12
  8. package/resources/agent-endpoint.d.mts.map +1 -1
  9. package/resources/agent-endpoint.d.ts +12 -12
  10. package/resources/agent-endpoint.d.ts.map +1 -1
  11. package/resources/call.d.mts +4 -22
  12. package/resources/call.d.mts.map +1 -1
  13. package/resources/call.d.ts +4 -22
  14. package/resources/call.d.ts.map +1 -1
  15. package/resources/metric-collection-job.d.mts +15 -11
  16. package/resources/metric-collection-job.d.mts.map +1 -1
  17. package/resources/metric-collection-job.d.ts +15 -11
  18. package/resources/metric-collection-job.d.ts.map +1 -1
  19. package/resources/metric-collection-job.js +2 -2
  20. package/resources/metric-collection-job.mjs +2 -2
  21. package/resources/metric-policy.d.mts +6 -0
  22. package/resources/metric-policy.d.mts.map +1 -1
  23. package/resources/metric-policy.d.ts +6 -0
  24. package/resources/metric-policy.d.ts.map +1 -1
  25. package/resources/metric-policy.js +1 -0
  26. package/resources/metric-policy.js.map +1 -1
  27. package/resources/metric-policy.mjs +1 -0
  28. package/resources/metric-policy.mjs.map +1 -1
  29. package/resources/metric.d.mts +1 -2
  30. package/resources/metric.d.mts.map +1 -1
  31. package/resources/metric.d.ts +1 -2
  32. package/resources/metric.d.ts.map +1 -1
  33. package/resources/metric.js +1 -2
  34. package/resources/metric.js.map +1 -1
  35. package/resources/metric.mjs +1 -2
  36. package/resources/metric.mjs.map +1 -1
  37. package/resources/simulation-job.d.mts +2 -2
  38. package/resources/simulation-job.d.mts.map +1 -1
  39. package/resources/simulation-job.d.ts +2 -2
  40. package/resources/simulation-job.d.ts.map +1 -1
  41. package/resources/simulation-run-plan-job.d.mts +1 -1
  42. package/resources/simulation-run-plan-job.d.mts.map +1 -1
  43. package/resources/simulation-run-plan-job.d.ts +1 -1
  44. package/resources/simulation-run-plan-job.d.ts.map +1 -1
  45. package/resources/simulation-run-plan.d.mts +28 -0
  46. package/resources/simulation-run-plan.d.mts.map +1 -1
  47. package/resources/simulation-run-plan.d.ts +28 -0
  48. package/resources/simulation-run-plan.d.ts.map +1 -1
  49. package/resources/webhook.d.mts +4 -4
  50. package/resources/webhook.d.mts.map +1 -1
  51. package/resources/webhook.d.ts +4 -4
  52. package/resources/webhook.d.ts.map +1 -1
  53. package/src/internal/utils/env.ts +2 -2
  54. package/src/resources/agent-endpoint.ts +12 -12
  55. package/src/resources/call.ts +4 -22
  56. package/src/resources/metric-collection-job.ts +16 -11
  57. package/src/resources/metric-policy.ts +7 -0
  58. package/src/resources/metric.ts +1 -2
  59. package/src/resources/simulation-job.ts +2 -2
  60. package/src/resources/simulation-run-plan-job.ts +1 -1
  61. package/src/resources/simulation-run-plan.ts +24 -0
  62. package/src/resources/webhook.ts +8 -0
  63. package/src/version.ts +1 -1
  64. package/version.d.mts +1 -1
  65. package/version.d.ts +1 -1
  66. package/version.js +1 -1
  67. 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
  }
@@ -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.29.0'; // x-release-please-version
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.29.0";
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.29.0";
1
+ export declare const VERSION = "2.30.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '2.29.0'; // x-release-please-version
4
+ exports.VERSION = '2.30.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '2.29.0'; // x-release-please-version
1
+ export const VERSION = '2.30.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map