@roarkanalytics/sdk 5.6.0 → 5.8.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 +24 -0
- package/package.json +1 -1
- package/resources/config.d.mts +48 -6
- package/resources/config.d.mts.map +1 -1
- package/resources/config.d.ts +48 -6
- package/resources/config.d.ts.map +1 -1
- package/resources/metric-collection-job.d.mts +21 -11
- package/resources/metric-collection-job.d.mts.map +1 -1
- package/resources/metric-collection-job.d.ts +21 -11
- package/resources/metric-collection-job.d.ts.map +1 -1
- package/resources/metric-collection-job.js +6 -7
- package/resources/metric-collection-job.js.map +1 -1
- package/resources/metric-collection-job.mjs +6 -7
- package/resources/metric-collection-job.mjs.map +1 -1
- package/resources/metric-policy.d.mts +311 -2
- package/resources/metric-policy.d.mts.map +1 -1
- package/resources/metric-policy.d.ts +311 -2
- package/resources/metric-policy.d.ts.map +1 -1
- package/src/resources/config.ts +78 -6
- package/src/resources/metric-collection-job.ts +23 -12
- package/src/resources/metric-policy.ts +353 -2
- 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
|
@@ -4,19 +4,18 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
4
4
|
export declare class MetricCollectionJob extends APIResource {
|
|
5
5
|
/**
|
|
6
6
|
* Creates a metric collection job for the specified calls or chats and metrics,
|
|
7
|
-
* then triggers processing. Provide exactly one of callIds or chatIds.
|
|
7
|
+
* then triggers processing. Provide exactly one of callIds or chatIds. Pass
|
|
8
|
+
* policyId to score with a metric policy’s settings (for example to re-score past
|
|
9
|
+
* calls after changing which properties Property Verification checks); metrics
|
|
10
|
+
* then defaults to every metric that policy collects.
|
|
8
11
|
*
|
|
9
12
|
* @example
|
|
10
13
|
* ```ts
|
|
11
14
|
* const metricCollectionJob =
|
|
12
|
-
* await client.metricCollectionJob.create(
|
|
13
|
-
* metrics: [
|
|
14
|
-
* { id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' },
|
|
15
|
-
* ],
|
|
16
|
-
* });
|
|
15
|
+
* await client.metricCollectionJob.create();
|
|
17
16
|
* ```
|
|
18
17
|
*/
|
|
19
|
-
create(body
|
|
18
|
+
create(body?: MetricCollectionJobCreateParams | null | undefined, options?: RequestOptions): APIPromise<MetricCollectionJobCreateResponse>;
|
|
20
19
|
/**
|
|
21
20
|
* Returns a paginated list of metric collection jobs for the project.
|
|
22
21
|
*
|
|
@@ -238,10 +237,6 @@ export declare namespace MetricCollectionJobGetByIDResponse {
|
|
|
238
237
|
}
|
|
239
238
|
}
|
|
240
239
|
export interface MetricCollectionJobCreateParams {
|
|
241
|
-
/**
|
|
242
|
-
* Metric definitions to collect. Max 20 per request.
|
|
243
|
-
*/
|
|
244
|
-
metrics: Array<MetricCollectionJobCreateParams.Metric>;
|
|
245
240
|
/**
|
|
246
241
|
* Call IDs to collect metrics for. Mutually exclusive with chatIds. Max 500 per
|
|
247
242
|
* request.
|
|
@@ -252,6 +247,21 @@ export interface MetricCollectionJobCreateParams {
|
|
|
252
247
|
* request.
|
|
253
248
|
*/
|
|
254
249
|
chatIds?: Array<string>;
|
|
250
|
+
/**
|
|
251
|
+
* Metric definitions to collect. Max 20 per request. Required unless policyId is
|
|
252
|
+
* given; with policyId, defaults to every metric that policy collects, and each
|
|
253
|
+
* one listed must be in it.
|
|
254
|
+
*/
|
|
255
|
+
metrics?: Array<MetricCollectionJobCreateParams.Metric>;
|
|
256
|
+
/**
|
|
257
|
+
* Optional. A metric policy (collector) whose settings to score with: each metric
|
|
258
|
+
* runs at the version that policy runs it at, with its per-collector setting (such
|
|
259
|
+
* as the properties Property Verification checks), instead of the metric's
|
|
260
|
+
* default. A metric the policy runs at its default runs at its default here too.
|
|
261
|
+
* The policy's conditions are not applied: the listed conversations are scored as
|
|
262
|
+
* given. Use it to re-score past conversations after changing a policy's settings.
|
|
263
|
+
*/
|
|
264
|
+
policyId?: string;
|
|
255
265
|
}
|
|
256
266
|
export declare namespace MetricCollectionJobCreateParams {
|
|
257
267
|
interface Metric {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metric-collection-job.d.mts","sourceRoot":"","sources":["../src/resources/metric-collection-job.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,mBAAoB,SAAQ,WAAW;IAClD
|
|
1
|
+
{"version":3,"file":"metric-collection-job.d.mts","sourceRoot":"","sources":["../src/resources/metric-collection-job.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,mBAAoB,SAAQ,WAAW;IAClD;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAI,GAAE,+BAA+B,GAAG,IAAI,GAAG,SAAc,EAC7D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iCAAiC,CAAC;IAIhD;;;;;;;;OAQG;IACH,IAAI,CACF,KAAK,GAAE,6BAA6B,GAAG,IAAI,GAAG,SAAc,EAC5D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,+BAA+B,CAAC;IAI9C;;;;;;;;;OASG;IACH,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kCAAkC,CAAC;CAGjG;AAED,MAAM,WAAW,iCAAiC;IAChD;;OAEG;IACH,IAAI,EAAE,iCAAiC,CAAC,IAAI,CAAC;CAC9C;AAED,yBAAiB,iCAAiC,CAAC;IACjD;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,WAAW,EAAE,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AW,+BAA+B;IAC9C;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAExB;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAExB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,+BAA+B,CAAC,MAAM,CAAC,CAAC;IAExD;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,yBAAiB,+BAA+B,CAAC;IAC/C,UAAiB,MAAM;QACrB,EAAE,EAAE,MAAM,CAAC;KACZ;CACF;AAED,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,YAAY,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,CAAC;CACzE;AAED,MAAM,CAAC,OAAO,WAAW,mBAAmB,CAAC;IAC3C,OAAO,EACL,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
|
|
@@ -4,19 +4,18 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
4
4
|
export declare class MetricCollectionJob extends APIResource {
|
|
5
5
|
/**
|
|
6
6
|
* Creates a metric collection job for the specified calls or chats and metrics,
|
|
7
|
-
* then triggers processing. Provide exactly one of callIds or chatIds.
|
|
7
|
+
* then triggers processing. Provide exactly one of callIds or chatIds. Pass
|
|
8
|
+
* policyId to score with a metric policy’s settings (for example to re-score past
|
|
9
|
+
* calls after changing which properties Property Verification checks); metrics
|
|
10
|
+
* then defaults to every metric that policy collects.
|
|
8
11
|
*
|
|
9
12
|
* @example
|
|
10
13
|
* ```ts
|
|
11
14
|
* const metricCollectionJob =
|
|
12
|
-
* await client.metricCollectionJob.create(
|
|
13
|
-
* metrics: [
|
|
14
|
-
* { id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' },
|
|
15
|
-
* ],
|
|
16
|
-
* });
|
|
15
|
+
* await client.metricCollectionJob.create();
|
|
17
16
|
* ```
|
|
18
17
|
*/
|
|
19
|
-
create(body
|
|
18
|
+
create(body?: MetricCollectionJobCreateParams | null | undefined, options?: RequestOptions): APIPromise<MetricCollectionJobCreateResponse>;
|
|
20
19
|
/**
|
|
21
20
|
* Returns a paginated list of metric collection jobs for the project.
|
|
22
21
|
*
|
|
@@ -238,10 +237,6 @@ export declare namespace MetricCollectionJobGetByIDResponse {
|
|
|
238
237
|
}
|
|
239
238
|
}
|
|
240
239
|
export interface MetricCollectionJobCreateParams {
|
|
241
|
-
/**
|
|
242
|
-
* Metric definitions to collect. Max 20 per request.
|
|
243
|
-
*/
|
|
244
|
-
metrics: Array<MetricCollectionJobCreateParams.Metric>;
|
|
245
240
|
/**
|
|
246
241
|
* Call IDs to collect metrics for. Mutually exclusive with chatIds. Max 500 per
|
|
247
242
|
* request.
|
|
@@ -252,6 +247,21 @@ export interface MetricCollectionJobCreateParams {
|
|
|
252
247
|
* request.
|
|
253
248
|
*/
|
|
254
249
|
chatIds?: Array<string>;
|
|
250
|
+
/**
|
|
251
|
+
* Metric definitions to collect. Max 20 per request. Required unless policyId is
|
|
252
|
+
* given; with policyId, defaults to every metric that policy collects, and each
|
|
253
|
+
* one listed must be in it.
|
|
254
|
+
*/
|
|
255
|
+
metrics?: Array<MetricCollectionJobCreateParams.Metric>;
|
|
256
|
+
/**
|
|
257
|
+
* Optional. A metric policy (collector) whose settings to score with: each metric
|
|
258
|
+
* runs at the version that policy runs it at, with its per-collector setting (such
|
|
259
|
+
* as the properties Property Verification checks), instead of the metric's
|
|
260
|
+
* default. A metric the policy runs at its default runs at its default here too.
|
|
261
|
+
* The policy's conditions are not applied: the listed conversations are scored as
|
|
262
|
+
* given. Use it to re-score past conversations after changing a policy's settings.
|
|
263
|
+
*/
|
|
264
|
+
policyId?: string;
|
|
255
265
|
}
|
|
256
266
|
export declare namespace MetricCollectionJobCreateParams {
|
|
257
267
|
interface Metric {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metric-collection-job.d.ts","sourceRoot":"","sources":["../src/resources/metric-collection-job.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,mBAAoB,SAAQ,WAAW;IAClD
|
|
1
|
+
{"version":3,"file":"metric-collection-job.d.ts","sourceRoot":"","sources":["../src/resources/metric-collection-job.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D,qBAAa,mBAAoB,SAAQ,WAAW;IAClD;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAI,GAAE,+BAA+B,GAAG,IAAI,GAAG,SAAc,EAC7D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iCAAiC,CAAC;IAIhD;;;;;;;;OAQG;IACH,IAAI,CACF,KAAK,GAAE,6BAA6B,GAAG,IAAI,GAAG,SAAc,EAC5D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,+BAA+B,CAAC;IAI9C;;;;;;;;;OASG;IACH,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kCAAkC,CAAC;CAGjG;AAED,MAAM,WAAW,iCAAiC;IAChD;;OAEG;IACH,IAAI,EAAE,iCAAiC,CAAC,IAAI,CAAC;CAC9C;AAED,yBAAiB,iCAAi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a,GAAG,UAAU,GAAG,eAAe,GAAG,YAAY,CAAC;QAEzE;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;KACnB;CACF;AAED,MAAM,WAAW,+BAA+B;IAC9C;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAExB;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAExB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,+BAA+B,CAAC,MAAM,CAAC,CAAC;IAExD;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,yBAAiB,+BAA+B,CAAC;IAC/C,UAAiB,MAAM;QACrB,EAAE,EAAE,MAAM,CAAC;KACZ;CACF;AAED,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,YAAY,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,CAAC;CACzE;AAED,MAAM,CAAC,OAAO,WAAW,mBAAmB,CAAC;IAC3C,OAAO,EACL,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
|
|
@@ -7,19 +7,18 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
7
7
|
class MetricCollectionJob extends resource_1.APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Creates a metric collection job for the specified calls or chats and metrics,
|
|
10
|
-
* then triggers processing. Provide exactly one of callIds or chatIds.
|
|
10
|
+
* then triggers processing. Provide exactly one of callIds or chatIds. Pass
|
|
11
|
+
* policyId to score with a metric policy’s settings (for example to re-score past
|
|
12
|
+
* calls after changing which properties Property Verification checks); metrics
|
|
13
|
+
* then defaults to every metric that policy collects.
|
|
11
14
|
*
|
|
12
15
|
* @example
|
|
13
16
|
* ```ts
|
|
14
17
|
* const metricCollectionJob =
|
|
15
|
-
* await client.metricCollectionJob.create(
|
|
16
|
-
* metrics: [
|
|
17
|
-
* { id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' },
|
|
18
|
-
* ],
|
|
19
|
-
* });
|
|
18
|
+
* await client.metricCollectionJob.create();
|
|
20
19
|
* ```
|
|
21
20
|
*/
|
|
22
|
-
create(body, options) {
|
|
21
|
+
create(body = {}, options) {
|
|
23
22
|
return this._client.post('/v1/metric/collection-jobs', { body, ...options });
|
|
24
23
|
}
|
|
25
24
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metric-collection-job.js","sourceRoot":"","sources":["../src/resources/metric-collection-job.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,mBAAoB,SAAQ,sBAAW;IAClD
|
|
1
|
+
{"version":3,"file":"metric-collection-job.js","sourceRoot":"","sources":["../src/resources/metric-collection-job.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,mBAAoB,SAAQ,sBAAW;IAClD;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,OAA2D,EAAE,EAC7D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;OAQG;IACH,IAAI,CACF,QAA0D,EAAE,EAC5D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;OASG;IACH,OAAO,CAAC,KAAa,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,8BAA8B,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;CACF;AAlDD,kDAkDC"}
|
|
@@ -4,19 +4,18 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
4
4
|
export class MetricCollectionJob extends APIResource {
|
|
5
5
|
/**
|
|
6
6
|
* Creates a metric collection job for the specified calls or chats and metrics,
|
|
7
|
-
* then triggers processing. Provide exactly one of callIds or chatIds.
|
|
7
|
+
* then triggers processing. Provide exactly one of callIds or chatIds. Pass
|
|
8
|
+
* policyId to score with a metric policy’s settings (for example to re-score past
|
|
9
|
+
* calls after changing which properties Property Verification checks); metrics
|
|
10
|
+
* then defaults to every metric that policy collects.
|
|
8
11
|
*
|
|
9
12
|
* @example
|
|
10
13
|
* ```ts
|
|
11
14
|
* const metricCollectionJob =
|
|
12
|
-
* await client.metricCollectionJob.create(
|
|
13
|
-
* metrics: [
|
|
14
|
-
* { id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' },
|
|
15
|
-
* ],
|
|
16
|
-
* });
|
|
15
|
+
* await client.metricCollectionJob.create();
|
|
17
16
|
* ```
|
|
18
17
|
*/
|
|
19
|
-
create(body, options) {
|
|
18
|
+
create(body = {}, options) {
|
|
20
19
|
return this._client.post('/v1/metric/collection-jobs', { body, ...options });
|
|
21
20
|
}
|
|
22
21
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metric-collection-job.mjs","sourceRoot":"","sources":["../src/resources/metric-collection-job.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,mBAAoB,SAAQ,WAAW;IAClD
|
|
1
|
+
{"version":3,"file":"metric-collection-job.mjs","sourceRoot":"","sources":["../src/resources/metric-collection-job.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,mBAAoB,SAAQ,WAAW;IAClD;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,OAA2D,EAAE,EAC7D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;OAQG;IACH,IAAI,CACF,QAA0D,EAAE,EAC5D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;OASG;IACH,OAAO,CAAC,KAAa,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,8BAA8B,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;CACF"}
|
|
@@ -132,6 +132,56 @@ export declare namespace MetricPolicyCreateResponse {
|
|
|
132
132
|
}
|
|
133
133
|
interface Metric {
|
|
134
134
|
id: string;
|
|
135
|
+
/**
|
|
136
|
+
* The metric's per-collector setting. A metric takes at most one field, and which
|
|
137
|
+
* one depends on the metric: verifiedProperties for Property Verification,
|
|
138
|
+
* excludedPhrases for voice consistency, voicemailScript for voicemail,
|
|
139
|
+
* screeningBrief for call screening, toolDefinitionIds for tool invocation,
|
|
140
|
+
* knowledgeBaseDocumentIds for knowledge grounding. A field the metric doesn't
|
|
141
|
+
* take is rejected with a 400.
|
|
142
|
+
*/
|
|
143
|
+
settings: Metric.Settings | null;
|
|
144
|
+
}
|
|
145
|
+
namespace Metric {
|
|
146
|
+
/**
|
|
147
|
+
* The metric's per-collector setting. A metric takes at most one field, and which
|
|
148
|
+
* one depends on the metric: verifiedProperties for Property Verification,
|
|
149
|
+
* excludedPhrases for voice consistency, voicemailScript for voicemail,
|
|
150
|
+
* screeningBrief for call screening, toolDefinitionIds for tool invocation,
|
|
151
|
+
* knowledgeBaseDocumentIds for knowledge grounding. A field the metric doesn't
|
|
152
|
+
* take is rejected with a 400.
|
|
153
|
+
*/
|
|
154
|
+
interface Settings {
|
|
155
|
+
/**
|
|
156
|
+
* Voice consistency metrics: phrases whose agent lines are not judged, such as a
|
|
157
|
+
* recorded prompt in a different voice.
|
|
158
|
+
*/
|
|
159
|
+
excludedPhrases?: Array<string>;
|
|
160
|
+
/**
|
|
161
|
+
* Knowledge grounding metrics: the knowledge base documents to ground against, in
|
|
162
|
+
* priority order. Empty or omitted uses every knowledge base in the project.
|
|
163
|
+
*/
|
|
164
|
+
knowledgeBaseDocumentIds?: Array<string>;
|
|
165
|
+
/**
|
|
166
|
+
* Call screening metrics: what the agent should say when a screener asks who is
|
|
167
|
+
* calling and why.
|
|
168
|
+
*/
|
|
169
|
+
screeningBrief?: string;
|
|
170
|
+
/**
|
|
171
|
+
* Tool invocation metrics: the tool definitions to score. Empty or omitted scores
|
|
172
|
+
* every tool the agent has.
|
|
173
|
+
*/
|
|
174
|
+
toolDefinitionIds?: Array<string>;
|
|
175
|
+
/**
|
|
176
|
+
* Property Verification metrics: the conversation properties to check against the
|
|
177
|
+
* transcript. Empty or omitted checks every custom property.
|
|
178
|
+
*/
|
|
179
|
+
verifiedProperties?: Array<string>;
|
|
180
|
+
/**
|
|
181
|
+
* Voicemail metrics: the message the agent is expected to leave on voicemail.
|
|
182
|
+
*/
|
|
183
|
+
voicemailScript?: string;
|
|
184
|
+
}
|
|
135
185
|
}
|
|
136
186
|
}
|
|
137
187
|
}
|
|
@@ -207,6 +257,56 @@ export declare namespace MetricPolicyUpdateResponse {
|
|
|
207
257
|
}
|
|
208
258
|
interface Metric {
|
|
209
259
|
id: string;
|
|
260
|
+
/**
|
|
261
|
+
* The metric's per-collector setting. A metric takes at most one field, and which
|
|
262
|
+
* one depends on the metric: verifiedProperties for Property Verification,
|
|
263
|
+
* excludedPhrases for voice consistency, voicemailScript for voicemail,
|
|
264
|
+
* screeningBrief for call screening, toolDefinitionIds for tool invocation,
|
|
265
|
+
* knowledgeBaseDocumentIds for knowledge grounding. A field the metric doesn't
|
|
266
|
+
* take is rejected with a 400.
|
|
267
|
+
*/
|
|
268
|
+
settings: Metric.Settings | null;
|
|
269
|
+
}
|
|
270
|
+
namespace Metric {
|
|
271
|
+
/**
|
|
272
|
+
* The metric's per-collector setting. A metric takes at most one field, and which
|
|
273
|
+
* one depends on the metric: verifiedProperties for Property Verification,
|
|
274
|
+
* excludedPhrases for voice consistency, voicemailScript for voicemail,
|
|
275
|
+
* screeningBrief for call screening, toolDefinitionIds for tool invocation,
|
|
276
|
+
* knowledgeBaseDocumentIds for knowledge grounding. A field the metric doesn't
|
|
277
|
+
* take is rejected with a 400.
|
|
278
|
+
*/
|
|
279
|
+
interface Settings {
|
|
280
|
+
/**
|
|
281
|
+
* Voice consistency metrics: phrases whose agent lines are not judged, such as a
|
|
282
|
+
* recorded prompt in a different voice.
|
|
283
|
+
*/
|
|
284
|
+
excludedPhrases?: Array<string>;
|
|
285
|
+
/**
|
|
286
|
+
* Knowledge grounding metrics: the knowledge base documents to ground against, in
|
|
287
|
+
* priority order. Empty or omitted uses every knowledge base in the project.
|
|
288
|
+
*/
|
|
289
|
+
knowledgeBaseDocumentIds?: Array<string>;
|
|
290
|
+
/**
|
|
291
|
+
* Call screening metrics: what the agent should say when a screener asks who is
|
|
292
|
+
* calling and why.
|
|
293
|
+
*/
|
|
294
|
+
screeningBrief?: string;
|
|
295
|
+
/**
|
|
296
|
+
* Tool invocation metrics: the tool definitions to score. Empty or omitted scores
|
|
297
|
+
* every tool the agent has.
|
|
298
|
+
*/
|
|
299
|
+
toolDefinitionIds?: Array<string>;
|
|
300
|
+
/**
|
|
301
|
+
* Property Verification metrics: the conversation properties to check against the
|
|
302
|
+
* transcript. Empty or omitted checks every custom property.
|
|
303
|
+
*/
|
|
304
|
+
verifiedProperties?: Array<string>;
|
|
305
|
+
/**
|
|
306
|
+
* Voicemail metrics: the message the agent is expected to leave on voicemail.
|
|
307
|
+
*/
|
|
308
|
+
voicemailScript?: string;
|
|
309
|
+
}
|
|
210
310
|
}
|
|
211
311
|
}
|
|
212
312
|
}
|
|
@@ -283,6 +383,56 @@ export declare namespace MetricPolicyListResponse {
|
|
|
283
383
|
}
|
|
284
384
|
interface Metric {
|
|
285
385
|
id: string;
|
|
386
|
+
/**
|
|
387
|
+
* The metric's per-collector setting. A metric takes at most one field, and which
|
|
388
|
+
* one depends on the metric: verifiedProperties for Property Verification,
|
|
389
|
+
* excludedPhrases for voice consistency, voicemailScript for voicemail,
|
|
390
|
+
* screeningBrief for call screening, toolDefinitionIds for tool invocation,
|
|
391
|
+
* knowledgeBaseDocumentIds for knowledge grounding. A field the metric doesn't
|
|
392
|
+
* take is rejected with a 400.
|
|
393
|
+
*/
|
|
394
|
+
settings: Metric.Settings | null;
|
|
395
|
+
}
|
|
396
|
+
namespace Metric {
|
|
397
|
+
/**
|
|
398
|
+
* The metric's per-collector setting. A metric takes at most one field, and which
|
|
399
|
+
* one depends on the metric: verifiedProperties for Property Verification,
|
|
400
|
+
* excludedPhrases for voice consistency, voicemailScript for voicemail,
|
|
401
|
+
* screeningBrief for call screening, toolDefinitionIds for tool invocation,
|
|
402
|
+
* knowledgeBaseDocumentIds for knowledge grounding. A field the metric doesn't
|
|
403
|
+
* take is rejected with a 400.
|
|
404
|
+
*/
|
|
405
|
+
interface Settings {
|
|
406
|
+
/**
|
|
407
|
+
* Voice consistency metrics: phrases whose agent lines are not judged, such as a
|
|
408
|
+
* recorded prompt in a different voice.
|
|
409
|
+
*/
|
|
410
|
+
excludedPhrases?: Array<string>;
|
|
411
|
+
/**
|
|
412
|
+
* Knowledge grounding metrics: the knowledge base documents to ground against, in
|
|
413
|
+
* priority order. Empty or omitted uses every knowledge base in the project.
|
|
414
|
+
*/
|
|
415
|
+
knowledgeBaseDocumentIds?: Array<string>;
|
|
416
|
+
/**
|
|
417
|
+
* Call screening metrics: what the agent should say when a screener asks who is
|
|
418
|
+
* calling and why.
|
|
419
|
+
*/
|
|
420
|
+
screeningBrief?: string;
|
|
421
|
+
/**
|
|
422
|
+
* Tool invocation metrics: the tool definitions to score. Empty or omitted scores
|
|
423
|
+
* every tool the agent has.
|
|
424
|
+
*/
|
|
425
|
+
toolDefinitionIds?: Array<string>;
|
|
426
|
+
/**
|
|
427
|
+
* Property Verification metrics: the conversation properties to check against the
|
|
428
|
+
* transcript. Empty or omitted checks every custom property.
|
|
429
|
+
*/
|
|
430
|
+
verifiedProperties?: Array<string>;
|
|
431
|
+
/**
|
|
432
|
+
* Voicemail metrics: the message the agent is expected to leave on voicemail.
|
|
433
|
+
*/
|
|
434
|
+
voicemailScript?: string;
|
|
435
|
+
}
|
|
286
436
|
}
|
|
287
437
|
}
|
|
288
438
|
interface Pagination {
|
|
@@ -383,12 +533,63 @@ export declare namespace MetricPolicyGetByIDResponse {
|
|
|
383
533
|
}
|
|
384
534
|
interface Metric {
|
|
385
535
|
id: string;
|
|
536
|
+
/**
|
|
537
|
+
* The metric's per-collector setting. A metric takes at most one field, and which
|
|
538
|
+
* one depends on the metric: verifiedProperties for Property Verification,
|
|
539
|
+
* excludedPhrases for voice consistency, voicemailScript for voicemail,
|
|
540
|
+
* screeningBrief for call screening, toolDefinitionIds for tool invocation,
|
|
541
|
+
* knowledgeBaseDocumentIds for knowledge grounding. A field the metric doesn't
|
|
542
|
+
* take is rejected with a 400.
|
|
543
|
+
*/
|
|
544
|
+
settings: Metric.Settings | null;
|
|
545
|
+
}
|
|
546
|
+
namespace Metric {
|
|
547
|
+
/**
|
|
548
|
+
* The metric's per-collector setting. A metric takes at most one field, and which
|
|
549
|
+
* one depends on the metric: verifiedProperties for Property Verification,
|
|
550
|
+
* excludedPhrases for voice consistency, voicemailScript for voicemail,
|
|
551
|
+
* screeningBrief for call screening, toolDefinitionIds for tool invocation,
|
|
552
|
+
* knowledgeBaseDocumentIds for knowledge grounding. A field the metric doesn't
|
|
553
|
+
* take is rejected with a 400.
|
|
554
|
+
*/
|
|
555
|
+
interface Settings {
|
|
556
|
+
/**
|
|
557
|
+
* Voice consistency metrics: phrases whose agent lines are not judged, such as a
|
|
558
|
+
* recorded prompt in a different voice.
|
|
559
|
+
*/
|
|
560
|
+
excludedPhrases?: Array<string>;
|
|
561
|
+
/**
|
|
562
|
+
* Knowledge grounding metrics: the knowledge base documents to ground against, in
|
|
563
|
+
* priority order. Empty or omitted uses every knowledge base in the project.
|
|
564
|
+
*/
|
|
565
|
+
knowledgeBaseDocumentIds?: Array<string>;
|
|
566
|
+
/**
|
|
567
|
+
* Call screening metrics: what the agent should say when a screener asks who is
|
|
568
|
+
* calling and why.
|
|
569
|
+
*/
|
|
570
|
+
screeningBrief?: string;
|
|
571
|
+
/**
|
|
572
|
+
* Tool invocation metrics: the tool definitions to score. Empty or omitted scores
|
|
573
|
+
* every tool the agent has.
|
|
574
|
+
*/
|
|
575
|
+
toolDefinitionIds?: Array<string>;
|
|
576
|
+
/**
|
|
577
|
+
* Property Verification metrics: the conversation properties to check against the
|
|
578
|
+
* transcript. Empty or omitted checks every custom property.
|
|
579
|
+
*/
|
|
580
|
+
verifiedProperties?: Array<string>;
|
|
581
|
+
/**
|
|
582
|
+
* Voicemail metrics: the message the agent is expected to leave on voicemail.
|
|
583
|
+
*/
|
|
584
|
+
voicemailScript?: string;
|
|
585
|
+
}
|
|
386
586
|
}
|
|
387
587
|
}
|
|
388
588
|
}
|
|
389
589
|
export interface MetricPolicyCreateParams {
|
|
390
590
|
/**
|
|
391
|
-
* Metric definitions to collect when this policy matches
|
|
591
|
+
* Metric definitions to collect when this policy matches, each with an optional
|
|
592
|
+
* setting
|
|
392
593
|
*/
|
|
393
594
|
metrics: Array<MetricPolicyCreateParams.Metric>;
|
|
394
595
|
/**
|
|
@@ -411,7 +612,60 @@ export interface MetricPolicyCreateParams {
|
|
|
411
612
|
}
|
|
412
613
|
export declare namespace MetricPolicyCreateParams {
|
|
413
614
|
interface Metric {
|
|
615
|
+
/**
|
|
616
|
+
* The metric definition to collect
|
|
617
|
+
*/
|
|
414
618
|
id: string;
|
|
619
|
+
/**
|
|
620
|
+
* The metric's per-collector setting. A metric takes at most one field, and which
|
|
621
|
+
* one depends on the metric: verifiedProperties for Property Verification,
|
|
622
|
+
* excludedPhrases for voice consistency, voicemailScript for voicemail,
|
|
623
|
+
* screeningBrief for call screening, toolDefinitionIds for tool invocation,
|
|
624
|
+
* knowledgeBaseDocumentIds for knowledge grounding. A field the metric doesn't
|
|
625
|
+
* take is rejected with a 400.
|
|
626
|
+
*/
|
|
627
|
+
settings?: Metric.Settings | null;
|
|
628
|
+
}
|
|
629
|
+
namespace Metric {
|
|
630
|
+
/**
|
|
631
|
+
* The metric's per-collector setting. A metric takes at most one field, and which
|
|
632
|
+
* one depends on the metric: verifiedProperties for Property Verification,
|
|
633
|
+
* excludedPhrases for voice consistency, voicemailScript for voicemail,
|
|
634
|
+
* screeningBrief for call screening, toolDefinitionIds for tool invocation,
|
|
635
|
+
* knowledgeBaseDocumentIds for knowledge grounding. A field the metric doesn't
|
|
636
|
+
* take is rejected with a 400.
|
|
637
|
+
*/
|
|
638
|
+
interface Settings {
|
|
639
|
+
/**
|
|
640
|
+
* Voice consistency metrics: phrases whose agent lines are not judged, such as a
|
|
641
|
+
* recorded prompt in a different voice.
|
|
642
|
+
*/
|
|
643
|
+
excludedPhrases?: Array<string>;
|
|
644
|
+
/**
|
|
645
|
+
* Knowledge grounding metrics: the knowledge base documents to ground against, in
|
|
646
|
+
* priority order. Empty or omitted uses every knowledge base in the project.
|
|
647
|
+
*/
|
|
648
|
+
knowledgeBaseDocumentIds?: Array<string>;
|
|
649
|
+
/**
|
|
650
|
+
* Call screening metrics: what the agent should say when a screener asks who is
|
|
651
|
+
* calling and why.
|
|
652
|
+
*/
|
|
653
|
+
screeningBrief?: string;
|
|
654
|
+
/**
|
|
655
|
+
* Tool invocation metrics: the tool definitions to score. Empty or omitted scores
|
|
656
|
+
* every tool the agent has.
|
|
657
|
+
*/
|
|
658
|
+
toolDefinitionIds?: Array<string>;
|
|
659
|
+
/**
|
|
660
|
+
* Property Verification metrics: the conversation properties to check against the
|
|
661
|
+
* transcript. Empty or omitted checks every custom property.
|
|
662
|
+
*/
|
|
663
|
+
verifiedProperties?: Array<string>;
|
|
664
|
+
/**
|
|
665
|
+
* Voicemail metrics: the message the agent is expected to leave on voicemail.
|
|
666
|
+
*/
|
|
667
|
+
voicemailScript?: string;
|
|
668
|
+
}
|
|
415
669
|
}
|
|
416
670
|
interface Condition {
|
|
417
671
|
conditions: Array<Condition.Condition>;
|
|
@@ -446,7 +700,9 @@ export interface MetricPolicyUpdateParams {
|
|
|
446
700
|
*/
|
|
447
701
|
conditions?: Array<MetricPolicyUpdateParams.Condition>;
|
|
448
702
|
/**
|
|
449
|
-
* Metric definitions to collect when this policy matches
|
|
703
|
+
* Metric definitions to collect when this policy matches. Replaces the policy's
|
|
704
|
+
* whole metric list: a metric sent without settings goes back to its default, so
|
|
705
|
+
* resend a metric's settings to keep them. Omit to keep the current metrics.
|
|
450
706
|
*/
|
|
451
707
|
metrics?: Array<MetricPolicyUpdateParams.Metric>;
|
|
452
708
|
/**
|
|
@@ -485,7 +741,60 @@ export declare namespace MetricPolicyUpdateParams {
|
|
|
485
741
|
}
|
|
486
742
|
}
|
|
487
743
|
interface Metric {
|
|
744
|
+
/**
|
|
745
|
+
* The metric definition to collect
|
|
746
|
+
*/
|
|
488
747
|
id: string;
|
|
748
|
+
/**
|
|
749
|
+
* The metric's per-collector setting. A metric takes at most one field, and which
|
|
750
|
+
* one depends on the metric: verifiedProperties for Property Verification,
|
|
751
|
+
* excludedPhrases for voice consistency, voicemailScript for voicemail,
|
|
752
|
+
* screeningBrief for call screening, toolDefinitionIds for tool invocation,
|
|
753
|
+
* knowledgeBaseDocumentIds for knowledge grounding. A field the metric doesn't
|
|
754
|
+
* take is rejected with a 400.
|
|
755
|
+
*/
|
|
756
|
+
settings?: Metric.Settings | null;
|
|
757
|
+
}
|
|
758
|
+
namespace Metric {
|
|
759
|
+
/**
|
|
760
|
+
* The metric's per-collector setting. A metric takes at most one field, and which
|
|
761
|
+
* one depends on the metric: verifiedProperties for Property Verification,
|
|
762
|
+
* excludedPhrases for voice consistency, voicemailScript for voicemail,
|
|
763
|
+
* screeningBrief for call screening, toolDefinitionIds for tool invocation,
|
|
764
|
+
* knowledgeBaseDocumentIds for knowledge grounding. A field the metric doesn't
|
|
765
|
+
* take is rejected with a 400.
|
|
766
|
+
*/
|
|
767
|
+
interface Settings {
|
|
768
|
+
/**
|
|
769
|
+
* Voice consistency metrics: phrases whose agent lines are not judged, such as a
|
|
770
|
+
* recorded prompt in a different voice.
|
|
771
|
+
*/
|
|
772
|
+
excludedPhrases?: Array<string>;
|
|
773
|
+
/**
|
|
774
|
+
* Knowledge grounding metrics: the knowledge base documents to ground against, in
|
|
775
|
+
* priority order. Empty or omitted uses every knowledge base in the project.
|
|
776
|
+
*/
|
|
777
|
+
knowledgeBaseDocumentIds?: Array<string>;
|
|
778
|
+
/**
|
|
779
|
+
* Call screening metrics: what the agent should say when a screener asks who is
|
|
780
|
+
* calling and why.
|
|
781
|
+
*/
|
|
782
|
+
screeningBrief?: string;
|
|
783
|
+
/**
|
|
784
|
+
* Tool invocation metrics: the tool definitions to score. Empty or omitted scores
|
|
785
|
+
* every tool the agent has.
|
|
786
|
+
*/
|
|
787
|
+
toolDefinitionIds?: Array<string>;
|
|
788
|
+
/**
|
|
789
|
+
* Property Verification metrics: the conversation properties to check against the
|
|
790
|
+
* transcript. Empty or omitted checks every custom property.
|
|
791
|
+
*/
|
|
792
|
+
verifiedProperties?: Array<string>;
|
|
793
|
+
/**
|
|
794
|
+
* Voicemail metrics: the message the agent is expected to leave on voicemail.
|
|
795
|
+
*/
|
|
796
|
+
voicemailScript?: string;
|
|
797
|
+
}
|
|
489
798
|
}
|
|
490
799
|
}
|
|
491
800
|
export interface MetricPolicyListParams {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metric-policy.d.mts","sourceRoot":"","sources":["../src/resources/metric-policy.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAIxG;;;;;;;;;OASG;IACH,MAAM,CACJ,QAAQ,EAAE,MAAM,EAChB,IAAI,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAIzC;;;;;;;;OAQG;IACH,IAAI,CACF,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;IAIvC;;;;;;;;;OASG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAI1F;;;;;;;;;OASG;IACH,OAAO,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;CAG7F;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,IAAI,EAAE,0BAA0B,CAAC,IAAI,CAAC;CACvC;AAED,yBAAiB,0BAA0B,CAAC;IAC1C;;OAEG;IACH,UAAiB,IAAI;QACn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