@roarkanalytics/sdk 2.23.0 → 2.24.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 (81) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/README.md +18 -23
  3. package/client.d.mts +6 -6
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +6 -6
  6. package/client.d.ts.map +1 -1
  7. package/client.js.map +1 -1
  8. package/client.mjs +2 -2
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/call.d.mts +0 -20
  12. package/resources/call.d.mts.map +1 -1
  13. package/resources/call.d.ts +0 -20
  14. package/resources/call.d.ts.map +1 -1
  15. package/resources/evaluation.d.mts +0 -2783
  16. package/resources/evaluation.d.mts.map +1 -1
  17. package/resources/evaluation.d.ts +0 -2783
  18. package/resources/evaluation.d.ts.map +1 -1
  19. package/resources/evaluation.js +0 -46
  20. package/resources/evaluation.js.map +1 -1
  21. package/resources/evaluation.mjs +0 -46
  22. package/resources/evaluation.mjs.map +1 -1
  23. package/resources/index.d.mts +3 -3
  24. package/resources/index.d.mts.map +1 -1
  25. package/resources/index.d.ts +3 -3
  26. package/resources/index.d.ts.map +1 -1
  27. package/resources/index.js.map +1 -1
  28. package/resources/index.mjs +2 -2
  29. package/resources/index.mjs.map +1 -1
  30. package/resources/integrations.d.mts +0 -110
  31. package/resources/integrations.d.mts.map +1 -1
  32. package/resources/integrations.d.ts +0 -110
  33. package/resources/integrations.d.ts.map +1 -1
  34. package/resources/integrations.js +0 -37
  35. package/resources/integrations.js.map +1 -1
  36. package/resources/integrations.mjs +0 -37
  37. package/resources/integrations.mjs.map +1 -1
  38. package/resources/metric.d.mts +1 -1
  39. package/resources/metric.d.ts +1 -1
  40. package/resources/simulation-job.d.mts +10 -0
  41. package/resources/simulation-job.d.mts.map +1 -1
  42. package/resources/simulation-job.d.ts +10 -0
  43. package/resources/simulation-job.d.ts.map +1 -1
  44. package/resources/simulation-persona.d.mts +30 -0
  45. package/resources/simulation-persona.d.mts.map +1 -1
  46. package/resources/simulation-persona.d.ts +30 -0
  47. package/resources/simulation-persona.d.ts.map +1 -1
  48. package/resources/simulation-run-plan-job.d.mts +40 -4
  49. package/resources/simulation-run-plan-job.d.mts.map +1 -1
  50. package/resources/simulation-run-plan-job.d.ts +40 -4
  51. package/resources/simulation-run-plan-job.d.ts.map +1 -1
  52. package/resources/simulation-run-plan-job.js +4 -3
  53. package/resources/simulation-run-plan-job.js.map +1 -1
  54. package/resources/simulation-run-plan-job.mjs +4 -3
  55. package/resources/simulation-run-plan-job.mjs.map +1 -1
  56. package/resources/simulation-run-plan.d.mts +90 -16
  57. package/resources/simulation-run-plan.d.mts.map +1 -1
  58. package/resources/simulation-run-plan.d.ts +90 -16
  59. package/resources/simulation-run-plan.d.ts.map +1 -1
  60. package/resources/simulation-run-plan.js +2 -2
  61. package/resources/simulation-run-plan.mjs +2 -2
  62. package/resources/simulation-scenario.d.mts +27 -7
  63. package/resources/simulation-scenario.d.mts.map +1 -1
  64. package/resources/simulation-scenario.d.ts +27 -7
  65. package/resources/simulation-scenario.d.ts.map +1 -1
  66. package/src/client.ts +6 -44
  67. package/src/resources/call.ts +0 -20
  68. package/src/resources/evaluation.ts +1 -3570
  69. package/src/resources/index.ts +3 -22
  70. package/src/resources/integrations.ts +1 -131
  71. package/src/resources/metric.ts +1 -1
  72. package/src/resources/simulation-job.ts +12 -0
  73. package/src/resources/simulation-persona.ts +36 -0
  74. package/src/resources/simulation-run-plan-job.ts +45 -3
  75. package/src/resources/simulation-run-plan.ts +102 -16
  76. package/src/resources/simulation-scenario.ts +49 -3
  77. package/src/version.ts +1 -1
  78. package/version.d.mts +1 -1
  79. package/version.d.ts +1 -1
  80. package/version.js +1 -1
  81. package/version.mjs +1 -1
@@ -110,7 +110,14 @@ export namespace SimulationScenarioCreateResponse {
110
110
  | 'CUSTOMER_TURN'
111
111
  | 'CUSTOMER_FIRST_MESSAGE'
112
112
  | 'CUSTOMER_SILENCE'
113
+ | 'CUSTOMER_DTMF'
113
114
  | 'VOICEMAIL';
115
+
116
+ /**
117
+ * DTMF digits to send during this step (e.g. 1w2w3#). Valid characters: 0-9, \*,
118
+ * #, w/W for pauses.
119
+ */
120
+ dtmfDigits?: string | null;
114
121
  }
115
122
  }
116
123
  }
@@ -173,7 +180,14 @@ export namespace SimulationScenarioUpdateResponse {
173
180
  | 'CUSTOMER_TURN'
174
181
  | 'CUSTOMER_FIRST_MESSAGE'
175
182
  | 'CUSTOMER_SILENCE'
183
+ | 'CUSTOMER_DTMF'
176
184
  | 'VOICEMAIL';
185
+
186
+ /**
187
+ * DTMF digits to send during this step (e.g. 1w2w3#). Valid characters: 0-9, \*,
188
+ * #, w/W for pauses.
189
+ */
190
+ dtmfDigits?: string | null;
177
191
  }
178
192
  }
179
193
  }
@@ -238,7 +252,14 @@ export namespace SimulationScenarioListResponse {
238
252
  | 'CUSTOMER_TURN'
239
253
  | 'CUSTOMER_FIRST_MESSAGE'
240
254
  | 'CUSTOMER_SILENCE'
255
+ | 'CUSTOMER_DTMF'
241
256
  | 'VOICEMAIL';
257
+
258
+ /**
259
+ * DTMF digits to send during this step (e.g. 1w2w3#). Valid characters: 0-9, \*,
260
+ * #, w/W for pauses.
261
+ */
262
+ dtmfDigits?: string | null;
242
263
  }
243
264
  }
244
265
 
@@ -331,7 +352,14 @@ export namespace SimulationScenarioGetByIDResponse {
331
352
  | 'CUSTOMER_TURN'
332
353
  | 'CUSTOMER_FIRST_MESSAGE'
333
354
  | 'CUSTOMER_SILENCE'
355
+ | 'CUSTOMER_DTMF'
334
356
  | 'VOICEMAIL';
357
+
358
+ /**
359
+ * DTMF digits to send during this step (e.g. 1w2w3#). Valid characters: 0-9, \*,
360
+ * #, w/W for pauses.
361
+ */
362
+ dtmfDigits?: string | null;
335
363
  }
336
364
  }
337
365
  }
@@ -361,7 +389,13 @@ export namespace SimulationScenarioCreateParams {
361
389
  /**
362
390
  * The type of this step
363
391
  */
364
- type: 'AGENT_TURN' | 'CUSTOMER_TURN' | 'CUSTOMER_FIRST_MESSAGE' | 'CUSTOMER_SILENCE' | 'VOICEMAIL';
392
+ type:
393
+ | 'AGENT_TURN'
394
+ | 'CUSTOMER_TURN'
395
+ | 'CUSTOMER_FIRST_MESSAGE'
396
+ | 'CUSTOMER_SILENCE'
397
+ | 'CUSTOMER_DTMF'
398
+ | 'VOICEMAIL';
365
399
  }
366
400
  }
367
401
 
@@ -399,7 +433,13 @@ export namespace SimulationScenarioUpdateParams {
399
433
  /**
400
434
  * The type of the new step
401
435
  */
402
- type: 'AGENT_TURN' | 'CUSTOMER_TURN' | 'CUSTOMER_FIRST_MESSAGE' | 'CUSTOMER_SILENCE' | 'VOICEMAIL';
436
+ type:
437
+ | 'AGENT_TURN'
438
+ | 'CUSTOMER_TURN'
439
+ | 'CUSTOMER_FIRST_MESSAGE'
440
+ | 'CUSTOMER_SILENCE'
441
+ | 'CUSTOMER_DTMF'
442
+ | 'VOICEMAIL';
403
443
  }
404
444
 
405
445
  /**
@@ -424,7 +464,13 @@ export namespace SimulationScenarioUpdateParams {
424
464
  /**
425
465
  * The new type of the step (optional)
426
466
  */
427
- type?: 'AGENT_TURN' | 'CUSTOMER_TURN' | 'CUSTOMER_FIRST_MESSAGE' | 'CUSTOMER_SILENCE' | 'VOICEMAIL';
467
+ type?:
468
+ | 'AGENT_TURN'
469
+ | 'CUSTOMER_TURN'
470
+ | 'CUSTOMER_FIRST_MESSAGE'
471
+ | 'CUSTOMER_SILENCE'
472
+ | 'CUSTOMER_DTMF'
473
+ | 'VOICEMAIL';
428
474
  }
429
475
 
430
476
  /**
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '2.23.0'; // x-release-please-version
1
+ export const VERSION = '2.24.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.23.0";
1
+ export declare const VERSION = "2.24.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.23.0";
1
+ export declare const VERSION = "2.24.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.23.0'; // x-release-please-version
4
+ exports.VERSION = '2.24.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '2.23.0'; // x-release-please-version
1
+ export const VERSION = '2.24.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map