@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.
Files changed (53) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/LICENSE +1 -1
  3. package/index.d.mts +10 -10
  4. package/index.d.ts +10 -10
  5. package/index.d.ts.map +1 -1
  6. package/index.js.map +1 -1
  7. package/index.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/call.d.ts +729 -16
  10. package/resources/call.d.ts.map +1 -1
  11. package/resources/call.js +16 -4
  12. package/resources/call.js.map +1 -1
  13. package/resources/call.mjs +16 -4
  14. package/resources/call.mjs.map +1 -1
  15. package/resources/evaluation.d.ts +85 -81
  16. package/resources/evaluation.d.ts.map +1 -1
  17. package/resources/evaluation.js +8 -8
  18. package/resources/evaluation.js.map +1 -1
  19. package/resources/evaluation.mjs +8 -8
  20. package/resources/evaluation.mjs.map +1 -1
  21. package/resources/index.d.ts +5 -5
  22. package/resources/index.d.ts.map +1 -1
  23. package/resources/index.js.map +1 -1
  24. package/resources/index.mjs.map +1 -1
  25. package/resources/metric.d.ts +5 -5
  26. package/resources/metric.d.ts.map +1 -1
  27. package/resources/metric.js +1 -1
  28. package/resources/metric.js.map +1 -1
  29. package/resources/metric.mjs +1 -1
  30. package/resources/metric.mjs.map +1 -1
  31. package/resources/persona.d.ts +21 -21
  32. package/resources/persona.d.ts.map +1 -1
  33. package/resources/persona.js +2 -2
  34. package/resources/persona.js.map +1 -1
  35. package/resources/persona.mjs +2 -2
  36. package/resources/persona.mjs.map +1 -1
  37. package/resources/simulation.d.ts +273 -28
  38. package/resources/simulation.d.ts.map +1 -1
  39. package/resources/simulation.js +37 -8
  40. package/resources/simulation.js.map +1 -1
  41. package/resources/simulation.mjs +37 -8
  42. package/resources/simulation.mjs.map +1 -1
  43. package/src/index.ts +40 -28
  44. package/src/resources/call.ts +954 -27
  45. package/src/resources/evaluation.ts +113 -108
  46. package/src/resources/index.ts +20 -14
  47. package/src/resources/metric.ts +5 -5
  48. package/src/resources/persona.ts +110 -29
  49. package/src/resources/simulation.ts +390 -34
  50. package/src/version.ts +1 -1
  51. package/version.d.ts +1 -1
  52. package/version.js +1 -1
  53. package/version.mjs +1 -1
package/src/index.ts CHANGED
@@ -8,22 +8,26 @@ import * as Uploads from './uploads';
8
8
  import * as API from './resources/index';
9
9
  import {
10
10
  Call,
11
+ CallCreateParams,
12
+ CallCreateResponse,
11
13
  CallGetByIDResponse,
12
- CallGetEvaluationRunsResponse,
13
- CallGetMetricsParams,
14
- CallGetMetricsResponse,
15
- CallGetSentimentRunsResponse,
14
+ CallListEvaluationRunsResponse,
15
+ CallListMetricsParams,
16
+ CallListMetricsResponse,
17
+ CallListParams,
18
+ CallListResponse,
19
+ CallListSentimentRunsResponse,
16
20
  } from './resources/call';
17
21
  import {
18
22
  Evaluation,
19
23
  EvaluationCreateJobParams,
20
24
  EvaluationCreateJobResponse,
21
25
  EvaluationGetEvaluatorByIDResponse,
22
- EvaluationGetEvaluatorsParams,
23
- EvaluationGetEvaluatorsResponse,
24
26
  EvaluationGetJobResponse,
25
- EvaluationGetJobRunsParams,
26
- EvaluationGetJobRunsResponse,
27
+ EvaluationListEvaluatorsParams,
28
+ EvaluationListEvaluatorsResponse,
29
+ EvaluationListJobRunsParams,
30
+ EvaluationListJobRunsResponse,
27
31
  } from './resources/evaluation';
28
32
  import { Health, HealthGetResponse } from './resources/health';
29
33
  import {
@@ -33,22 +37,24 @@ import {
33
37
  IntegrationCreateVapiCallResponse,
34
38
  Integrations,
35
39
  } from './resources/integrations';
36
- import { Metric, MetricGetDefinitionsResponse } from './resources/metric';
40
+ import { Metric, MetricListDefinitionsResponse } from './resources/metric';
37
41
  import {
38
42
  Persona,
39
43
  PersonaCreateParams,
40
44
  PersonaCreateResponse,
41
- PersonaFindAllParams,
42
- PersonaFindAllResponse,
43
45
  PersonaGetByIDResponse,
46
+ PersonaListParams,
47
+ PersonaListResponse,
44
48
  PersonaUpdateParams,
45
49
  PersonaUpdateResponse,
46
50
  } from './resources/persona';
47
51
  import {
48
52
  Simulation,
49
- SimulationGetJobByIDResponse,
50
- SimulationLookupJobParams,
51
- SimulationLookupJobResponse,
53
+ SimulationGetRunPlanJobResponse,
54
+ SimulationGetSimulationJobByIDResponse,
55
+ SimulationLookupSimulationJobParams,
56
+ SimulationLookupSimulationJobResponse,
57
+ SimulationStartRunPlanJobResponse,
52
58
  } from './resources/simulation';
53
59
 
54
60
  export interface ClientOptions {
@@ -239,24 +245,28 @@ export declare namespace Roark {
239
245
  Evaluation as Evaluation,
240
246
  type EvaluationCreateJobResponse as EvaluationCreateJobResponse,
241
247
  type EvaluationGetEvaluatorByIDResponse as EvaluationGetEvaluatorByIDResponse,
242
- type EvaluationGetEvaluatorsResponse as EvaluationGetEvaluatorsResponse,
243
248
  type EvaluationGetJobResponse as EvaluationGetJobResponse,
244
- type EvaluationGetJobRunsResponse as EvaluationGetJobRunsResponse,
249
+ type EvaluationListEvaluatorsResponse as EvaluationListEvaluatorsResponse,
250
+ type EvaluationListJobRunsResponse as EvaluationListJobRunsResponse,
245
251
  type EvaluationCreateJobParams as EvaluationCreateJobParams,
246
- type EvaluationGetEvaluatorsParams as EvaluationGetEvaluatorsParams,
247
- type EvaluationGetJobRunsParams as EvaluationGetJobRunsParams,
252
+ type EvaluationListEvaluatorsParams as EvaluationListEvaluatorsParams,
253
+ type EvaluationListJobRunsParams as EvaluationListJobRunsParams,
248
254
  };
249
255
 
250
256
  export {
251
257
  Call as Call,
258
+ type CallCreateResponse as CallCreateResponse,
259
+ type CallListResponse as CallListResponse,
252
260
  type CallGetByIDResponse as CallGetByIDResponse,
253
- type CallGetEvaluationRunsResponse as CallGetEvaluationRunsResponse,
254
- type CallGetMetricsResponse as CallGetMetricsResponse,
255
- type CallGetSentimentRunsResponse as CallGetSentimentRunsResponse,
256
- type CallGetMetricsParams as CallGetMetricsParams,
261
+ type CallListEvaluationRunsResponse as CallListEvaluationRunsResponse,
262
+ type CallListMetricsResponse as CallListMetricsResponse,
263
+ type CallListSentimentRunsResponse as CallListSentimentRunsResponse,
264
+ type CallCreateParams as CallCreateParams,
265
+ type CallListParams as CallListParams,
266
+ type CallListMetricsParams as CallListMetricsParams,
257
267
  };
258
268
 
259
- export { Metric as Metric, type MetricGetDefinitionsResponse as MetricGetDefinitionsResponse };
269
+ export { Metric as Metric, type MetricListDefinitionsResponse as MetricListDefinitionsResponse };
260
270
 
261
271
  export {
262
272
  Integrations as Integrations,
@@ -268,20 +278,22 @@ export declare namespace Roark {
268
278
 
269
279
  export {
270
280
  Simulation as Simulation,
271
- type SimulationGetJobByIDResponse as SimulationGetJobByIDResponse,
272
- type SimulationLookupJobResponse as SimulationLookupJobResponse,
273
- type SimulationLookupJobParams as SimulationLookupJobParams,
281
+ type SimulationGetRunPlanJobResponse as SimulationGetRunPlanJobResponse,
282
+ type SimulationGetSimulationJobByIDResponse as SimulationGetSimulationJobByIDResponse,
283
+ type SimulationLookupSimulationJobResponse as SimulationLookupSimulationJobResponse,
284
+ type SimulationStartRunPlanJobResponse as SimulationStartRunPlanJobResponse,
285
+ type SimulationLookupSimulationJobParams as SimulationLookupSimulationJobParams,
274
286
  };
275
287
 
276
288
  export {
277
289
  Persona as Persona,
278
290
  type PersonaCreateResponse as PersonaCreateResponse,
279
291
  type PersonaUpdateResponse as PersonaUpdateResponse,
280
- type PersonaFindAllResponse as PersonaFindAllResponse,
292
+ type PersonaListResponse as PersonaListResponse,
281
293
  type PersonaGetByIDResponse as PersonaGetByIDResponse,
282
294
  type PersonaCreateParams as PersonaCreateParams,
283
295
  type PersonaUpdateParams as PersonaUpdateParams,
284
- type PersonaFindAllParams as PersonaFindAllParams,
296
+ type PersonaListParams as PersonaListParams,
285
297
  };
286
298
  }
287
299