@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
|
@@ -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.ts","sourceRoot":"","sources":["../src/resources/metric-policy.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;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;QACnB;;WAEG;QACH,EAAE,EAAE,MA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AAI,0BAA0B,EAC7D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
package/src/resources/config.ts
CHANGED
|
@@ -338,7 +338,7 @@ export namespace Bundle {
|
|
|
338
338
|
export interface CollectorConfig {
|
|
339
339
|
kind: 'collector';
|
|
340
340
|
|
|
341
|
-
metrics: Array<string>;
|
|
341
|
+
metrics: Array<string | CollectorConfig.CollectorMetricConfig>;
|
|
342
342
|
|
|
343
343
|
modality: 'call' | 'chat';
|
|
344
344
|
|
|
@@ -352,6 +352,18 @@ export namespace Bundle {
|
|
|
352
352
|
}
|
|
353
353
|
|
|
354
354
|
export namespace CollectorConfig {
|
|
355
|
+
export interface CollectorMetricConfig {
|
|
356
|
+
metric: string;
|
|
357
|
+
|
|
358
|
+
excludedPhrases?: Array<string>;
|
|
359
|
+
|
|
360
|
+
screeningBrief?: string;
|
|
361
|
+
|
|
362
|
+
verifiedProperties?: Array<string>;
|
|
363
|
+
|
|
364
|
+
voicemailScript?: string;
|
|
365
|
+
}
|
|
366
|
+
|
|
355
367
|
export interface Filter {
|
|
356
368
|
conditions: Array<Filter.Condition>;
|
|
357
369
|
}
|
|
@@ -1296,7 +1308,7 @@ export namespace Bundle {
|
|
|
1296
1308
|
export interface CollectorConfig {
|
|
1297
1309
|
kind: 'collector';
|
|
1298
1310
|
|
|
1299
|
-
metrics: Array<string>;
|
|
1311
|
+
metrics: Array<string | CollectorConfig.CollectorMetricConfig>;
|
|
1300
1312
|
|
|
1301
1313
|
modality: 'call' | 'chat';
|
|
1302
1314
|
|
|
@@ -1310,6 +1322,18 @@ export namespace Bundle {
|
|
|
1310
1322
|
}
|
|
1311
1323
|
|
|
1312
1324
|
export namespace CollectorConfig {
|
|
1325
|
+
export interface CollectorMetricConfig {
|
|
1326
|
+
metric: string;
|
|
1327
|
+
|
|
1328
|
+
excludedPhrases?: Array<string>;
|
|
1329
|
+
|
|
1330
|
+
screeningBrief?: string;
|
|
1331
|
+
|
|
1332
|
+
verifiedProperties?: Array<string>;
|
|
1333
|
+
|
|
1334
|
+
voicemailScript?: string;
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1313
1337
|
export interface Filter {
|
|
1314
1338
|
conditions: Array<Filter.Condition>;
|
|
1315
1339
|
}
|
|
@@ -2401,7 +2425,7 @@ export namespace ConfigApplyParams {
|
|
|
2401
2425
|
export interface CollectorConfig {
|
|
2402
2426
|
kind: 'collector';
|
|
2403
2427
|
|
|
2404
|
-
metrics: Array<string>;
|
|
2428
|
+
metrics: Array<string | CollectorConfig.CollectorMetricConfig>;
|
|
2405
2429
|
|
|
2406
2430
|
modality: 'call' | 'chat';
|
|
2407
2431
|
|
|
@@ -2415,6 +2439,18 @@ export namespace ConfigApplyParams {
|
|
|
2415
2439
|
}
|
|
2416
2440
|
|
|
2417
2441
|
export namespace CollectorConfig {
|
|
2442
|
+
export interface CollectorMetricConfig {
|
|
2443
|
+
metric: string;
|
|
2444
|
+
|
|
2445
|
+
excludedPhrases?: Array<string>;
|
|
2446
|
+
|
|
2447
|
+
screeningBrief?: string;
|
|
2448
|
+
|
|
2449
|
+
verifiedProperties?: Array<string>;
|
|
2450
|
+
|
|
2451
|
+
voicemailScript?: string;
|
|
2452
|
+
}
|
|
2453
|
+
|
|
2418
2454
|
export interface Filter {
|
|
2419
2455
|
conditions: Array<Filter.Condition>;
|
|
2420
2456
|
}
|
|
@@ -3359,7 +3395,7 @@ export namespace ConfigApplyParams {
|
|
|
3359
3395
|
export interface CollectorConfig {
|
|
3360
3396
|
kind: 'collector';
|
|
3361
3397
|
|
|
3362
|
-
metrics: Array<string>;
|
|
3398
|
+
metrics: Array<string | CollectorConfig.CollectorMetricConfig>;
|
|
3363
3399
|
|
|
3364
3400
|
modality: 'call' | 'chat';
|
|
3365
3401
|
|
|
@@ -3373,6 +3409,18 @@ export namespace ConfigApplyParams {
|
|
|
3373
3409
|
}
|
|
3374
3410
|
|
|
3375
3411
|
export namespace CollectorConfig {
|
|
3412
|
+
export interface CollectorMetricConfig {
|
|
3413
|
+
metric: string;
|
|
3414
|
+
|
|
3415
|
+
excludedPhrases?: Array<string>;
|
|
3416
|
+
|
|
3417
|
+
screeningBrief?: string;
|
|
3418
|
+
|
|
3419
|
+
verifiedProperties?: Array<string>;
|
|
3420
|
+
|
|
3421
|
+
voicemailScript?: string;
|
|
3422
|
+
}
|
|
3423
|
+
|
|
3376
3424
|
export interface Filter {
|
|
3377
3425
|
conditions: Array<Filter.Condition>;
|
|
3378
3426
|
}
|
|
@@ -4293,7 +4341,7 @@ export namespace ConfigDiffParams {
|
|
|
4293
4341
|
export interface CollectorConfig {
|
|
4294
4342
|
kind: 'collector';
|
|
4295
4343
|
|
|
4296
|
-
metrics: Array<string>;
|
|
4344
|
+
metrics: Array<string | CollectorConfig.CollectorMetricConfig>;
|
|
4297
4345
|
|
|
4298
4346
|
modality: 'call' | 'chat';
|
|
4299
4347
|
|
|
@@ -4307,6 +4355,18 @@ export namespace ConfigDiffParams {
|
|
|
4307
4355
|
}
|
|
4308
4356
|
|
|
4309
4357
|
export namespace CollectorConfig {
|
|
4358
|
+
export interface CollectorMetricConfig {
|
|
4359
|
+
metric: string;
|
|
4360
|
+
|
|
4361
|
+
excludedPhrases?: Array<string>;
|
|
4362
|
+
|
|
4363
|
+
screeningBrief?: string;
|
|
4364
|
+
|
|
4365
|
+
verifiedProperties?: Array<string>;
|
|
4366
|
+
|
|
4367
|
+
voicemailScript?: string;
|
|
4368
|
+
}
|
|
4369
|
+
|
|
4310
4370
|
export interface Filter {
|
|
4311
4371
|
conditions: Array<Filter.Condition>;
|
|
4312
4372
|
}
|
|
@@ -5251,7 +5311,7 @@ export namespace ConfigDiffParams {
|
|
|
5251
5311
|
export interface CollectorConfig {
|
|
5252
5312
|
kind: 'collector';
|
|
5253
5313
|
|
|
5254
|
-
metrics: Array<string>;
|
|
5314
|
+
metrics: Array<string | CollectorConfig.CollectorMetricConfig>;
|
|
5255
5315
|
|
|
5256
5316
|
modality: 'call' | 'chat';
|
|
5257
5317
|
|
|
@@ -5265,6 +5325,18 @@ export namespace ConfigDiffParams {
|
|
|
5265
5325
|
}
|
|
5266
5326
|
|
|
5267
5327
|
export namespace CollectorConfig {
|
|
5328
|
+
export interface CollectorMetricConfig {
|
|
5329
|
+
metric: string;
|
|
5330
|
+
|
|
5331
|
+
excludedPhrases?: Array<string>;
|
|
5332
|
+
|
|
5333
|
+
screeningBrief?: string;
|
|
5334
|
+
|
|
5335
|
+
verifiedProperties?: Array<string>;
|
|
5336
|
+
|
|
5337
|
+
voicemailScript?: string;
|
|
5338
|
+
}
|
|
5339
|
+
|
|
5268
5340
|
export interface Filter {
|
|
5269
5341
|
conditions: Array<Filter.Condition>;
|
|
5270
5342
|
}
|
|
@@ -8,20 +8,19 @@ import { path } from '../internal/utils/path';
|
|
|
8
8
|
export class MetricCollectionJob extends APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* Creates a metric collection job for the specified calls or chats and metrics,
|
|
11
|
-
* then triggers processing. Provide exactly one of callIds or chatIds.
|
|
11
|
+
* then triggers processing. Provide exactly one of callIds or chatIds. Pass
|
|
12
|
+
* policyId to score with a metric policy’s settings (for example to re-score past
|
|
13
|
+
* calls after changing which properties Property Verification checks); metrics
|
|
14
|
+
* then defaults to every metric that policy collects.
|
|
12
15
|
*
|
|
13
16
|
* @example
|
|
14
17
|
* ```ts
|
|
15
18
|
* const metricCollectionJob =
|
|
16
|
-
* await client.metricCollectionJob.create(
|
|
17
|
-
* metrics: [
|
|
18
|
-
* { id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e' },
|
|
19
|
-
* ],
|
|
20
|
-
* });
|
|
19
|
+
* await client.metricCollectionJob.create();
|
|
21
20
|
* ```
|
|
22
21
|
*/
|
|
23
22
|
create(
|
|
24
|
-
body: MetricCollectionJobCreateParams,
|
|
23
|
+
body: MetricCollectionJobCreateParams | null | undefined = {},
|
|
25
24
|
options?: RequestOptions,
|
|
26
25
|
): APIPromise<MetricCollectionJobCreateResponse> {
|
|
27
26
|
return this._client.post('/v1/metric/collection-jobs', { body, ...options });
|
|
@@ -300,11 +299,6 @@ export namespace MetricCollectionJobGetByIDResponse {
|
|
|
300
299
|
}
|
|
301
300
|
|
|
302
301
|
export interface MetricCollectionJobCreateParams {
|
|
303
|
-
/**
|
|
304
|
-
* Metric definitions to collect. Max 20 per request.
|
|
305
|
-
*/
|
|
306
|
-
metrics: Array<MetricCollectionJobCreateParams.Metric>;
|
|
307
|
-
|
|
308
302
|
/**
|
|
309
303
|
* Call IDs to collect metrics for. Mutually exclusive with chatIds. Max 500 per
|
|
310
304
|
* request.
|
|
@@ -316,6 +310,23 @@ export interface MetricCollectionJobCreateParams {
|
|
|
316
310
|
* request.
|
|
317
311
|
*/
|
|
318
312
|
chatIds?: Array<string>;
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Metric definitions to collect. Max 20 per request. Required unless policyId is
|
|
316
|
+
* given; with policyId, defaults to every metric that policy collects, and each
|
|
317
|
+
* one listed must be in it.
|
|
318
|
+
*/
|
|
319
|
+
metrics?: Array<MetricCollectionJobCreateParams.Metric>;
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* Optional. A metric policy (collector) whose settings to score with: each metric
|
|
323
|
+
* runs at the version that policy runs it at, with its per-collector setting (such
|
|
324
|
+
* as the properties Property Verification checks), instead of the metric's
|
|
325
|
+
* default. A metric the policy runs at its default runs at its default here too.
|
|
326
|
+
* The policy's conditions are not applied: the listed conversations are scored as
|
|
327
|
+
* given. Use it to re-score past conversations after changing a policy's settings.
|
|
328
|
+
*/
|
|
329
|
+
policyId?: string;
|
|
319
330
|
}
|
|
320
331
|
|
|
321
332
|
export namespace MetricCollectionJobCreateParams {
|