@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
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
|
|
26
|
-
|
|
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,
|
|
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
|
-
|
|
50
|
-
|
|
51
|
-
|
|
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
|
|
249
|
+
type EvaluationListEvaluatorsResponse as EvaluationListEvaluatorsResponse,
|
|
250
|
+
type EvaluationListJobRunsResponse as EvaluationListJobRunsResponse,
|
|
245
251
|
type EvaluationCreateJobParams as EvaluationCreateJobParams,
|
|
246
|
-
type
|
|
247
|
-
type
|
|
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
|
|
254
|
-
type
|
|
255
|
-
type
|
|
256
|
-
type
|
|
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
|
|
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
|
|
272
|
-
type
|
|
273
|
-
type
|
|
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
|
|
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
|
|
296
|
+
type PersonaListParams as PersonaListParams,
|
|
285
297
|
};
|
|
286
298
|
}
|
|
287
299
|
|