@roarkanalytics/sdk 3.20.0 → 3.21.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 +12 -0
- package/client.d.mts +3 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -0
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/autoimprove-fix.d.mts +495 -0
- package/resources/autoimprove-fix.d.mts.map +1 -0
- package/resources/autoimprove-fix.d.ts +495 -0
- package/resources/autoimprove-fix.d.ts.map +1 -0
- package/resources/autoimprove-fix.js +151 -0
- package/resources/autoimprove-fix.js.map +1 -0
- package/resources/autoimprove-fix.mjs +147 -0
- package/resources/autoimprove-fix.mjs.map +1 -0
- package/resources/config.d.mts +3 -0
- package/resources/config.d.mts.map +1 -1
- package/resources/config.d.ts +3 -0
- package/resources/config.d.ts.map +1 -1
- package/resources/customer-flow-edge-case.d.mts +192 -36
- package/resources/customer-flow-edge-case.d.mts.map +1 -1
- package/resources/customer-flow-edge-case.d.ts +192 -36
- package/resources/customer-flow-edge-case.d.ts.map +1 -1
- package/resources/customer-flow.d.mts +768 -144
- package/resources/customer-flow.d.mts.map +1 -1
- package/resources/customer-flow.d.ts +768 -144
- package/resources/customer-flow.d.ts.map +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/simulation-job.d.mts +32 -6
- package/resources/simulation-job.d.mts.map +1 -1
- package/resources/simulation-job.d.ts +32 -6
- package/resources/simulation-job.d.ts.map +1 -1
- package/resources/simulation-persona.d.mts +92 -18
- package/resources/simulation-persona.d.mts.map +1 -1
- package/resources/simulation-persona.d.ts +92 -18
- package/resources/simulation-persona.d.ts.map +1 -1
- package/resources/simulation-run-plan-job.d.mts +16 -3
- package/resources/simulation-run-plan-job.d.mts.map +1 -1
- package/resources/simulation-run-plan-job.d.ts +16 -3
- package/resources/simulation-run-plan-job.d.ts.map +1 -1
- package/resources/simulation-run-plan.d.mts +12 -12
- package/resources/simulation-run-plan.d.mts.map +1 -1
- package/resources/simulation-run-plan.d.ts +12 -12
- package/resources/simulation-run-plan.d.ts.map +1 -1
- package/resources/simulation-template.d.mts +1 -1
- package/resources/simulation-template.d.mts.map +1 -1
- package/resources/simulation-template.d.ts +1 -1
- package/resources/simulation-template.d.ts.map +1 -1
- package/resources/simulation.d.mts +3 -3
- package/resources/simulation.d.mts.map +1 -1
- package/resources/simulation.d.ts +3 -3
- package/resources/simulation.d.ts.map +1 -1
- package/src/client.ts +33 -0
- package/src/resources/autoimprove-fix.ts +766 -0
- package/src/resources/config.ts +6 -0
- package/src/resources/customer-flow-edge-case.ts +204 -36
- package/src/resources/customer-flow.ts +816 -144
- package/src/resources/index.ts +15 -0
- package/src/resources/simulation-job.ts +34 -6
- package/src/resources/simulation-persona.ts +98 -18
- package/src/resources/simulation-run-plan-job.ts +17 -3
- package/src/resources/simulation-run-plan.ts +12 -0
- package/src/resources/simulation-template.ts +1 -0
- package/src/resources/simulation.ts +3 -0
- 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
package/src/resources/index.ts
CHANGED
|
@@ -28,6 +28,21 @@ export {
|
|
|
28
28
|
type AgentPromptUpdateParams,
|
|
29
29
|
type AgentPromptListVersionsParams,
|
|
30
30
|
} from './agent-prompt';
|
|
31
|
+
export {
|
|
32
|
+
AutoimproveFix,
|
|
33
|
+
type AutoimproveLogEntry,
|
|
34
|
+
type AutoimproveFixCreateResponse,
|
|
35
|
+
type AutoimproveFixListResponse,
|
|
36
|
+
type AutoimproveFixAnswerQuestionResponse,
|
|
37
|
+
type AutoimproveFixCancelResponse,
|
|
38
|
+
type AutoimproveFixDismissResponse,
|
|
39
|
+
type AutoimproveFixGetByIDResponse,
|
|
40
|
+
type AutoimproveFixPromoteResponse,
|
|
41
|
+
type AutoimproveFixSendGuidanceResponse,
|
|
42
|
+
type AutoimproveFixCreateParams,
|
|
43
|
+
type AutoimproveFixAnswerQuestionParams,
|
|
44
|
+
type AutoimproveFixSendGuidanceParams,
|
|
45
|
+
} from './autoimprove-fix';
|
|
31
46
|
export {
|
|
32
47
|
Benchmark,
|
|
33
48
|
type BenchmarkGetLeaderboardResponse,
|
|
@@ -346,6 +346,16 @@ export namespace SimulationJobGetByIDResponse {
|
|
|
346
346
|
*/
|
|
347
347
|
intentClarity: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
348
348
|
|
|
349
|
+
/**
|
|
350
|
+
* How much the persona talks over the agent while it is still speaking. OFF waits
|
|
351
|
+
* its turn. BACKCHANNEL makes listening noises ("mm-hm") over the agent without
|
|
352
|
+
* taking the floor, which tests whether the agent wrongly stops for them.
|
|
353
|
+
* OCCASIONAL adds cutting in on some long agent turns, HEAVY on most of them.
|
|
354
|
+
* Timing is randomised per turn, so two runs of the same persona do not interrupt
|
|
355
|
+
* at identical moments.
|
|
356
|
+
*/
|
|
357
|
+
interruption: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
358
|
+
|
|
349
359
|
/**
|
|
350
360
|
* Primary language ISO 639-1 code for the persona
|
|
351
361
|
*/
|
|
@@ -385,9 +395,13 @@ export namespace SimulationJobGetByIDResponse {
|
|
|
385
395
|
properties: { [key: string]: unknown };
|
|
386
396
|
|
|
387
397
|
/**
|
|
388
|
-
*
|
|
389
|
-
*
|
|
390
|
-
*
|
|
398
|
+
* Deprecated and inert: it no longer affects the call. It set how long the persona
|
|
399
|
+
* waited once the agent stopped talking, and measured across production
|
|
400
|
+
* simulations it moved the reply gap by less than the noise floor, because model
|
|
401
|
+
* and speech latency dominate it. Every persona now uses one voice-activity
|
|
402
|
+
* profile. Use `interruption` for a caller who talks over the agent. Still
|
|
403
|
+
* accepted and stored so existing clients keep working. BARGE_IN is stored as
|
|
404
|
+
* `responseTiming: QUICK` with `interruption: OCCASIONAL`.
|
|
391
405
|
*/
|
|
392
406
|
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
393
407
|
|
|
@@ -795,6 +809,16 @@ export namespace SimulationJobLookupResponse {
|
|
|
795
809
|
*/
|
|
796
810
|
intentClarity: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
797
811
|
|
|
812
|
+
/**
|
|
813
|
+
* How much the persona talks over the agent while it is still speaking. OFF waits
|
|
814
|
+
* its turn. BACKCHANNEL makes listening noises ("mm-hm") over the agent without
|
|
815
|
+
* taking the floor, which tests whether the agent wrongly stops for them.
|
|
816
|
+
* OCCASIONAL adds cutting in on some long agent turns, HEAVY on most of them.
|
|
817
|
+
* Timing is randomised per turn, so two runs of the same persona do not interrupt
|
|
818
|
+
* at identical moments.
|
|
819
|
+
*/
|
|
820
|
+
interruption: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
821
|
+
|
|
798
822
|
/**
|
|
799
823
|
* Primary language ISO 639-1 code for the persona
|
|
800
824
|
*/
|
|
@@ -834,9 +858,13 @@ export namespace SimulationJobLookupResponse {
|
|
|
834
858
|
properties: { [key: string]: unknown };
|
|
835
859
|
|
|
836
860
|
/**
|
|
837
|
-
*
|
|
838
|
-
*
|
|
839
|
-
*
|
|
861
|
+
* Deprecated and inert: it no longer affects the call. It set how long the persona
|
|
862
|
+
* waited once the agent stopped talking, and measured across production
|
|
863
|
+
* simulations it moved the reply gap by less than the noise floor, because model
|
|
864
|
+
* and speech latency dominate it. Every persona now uses one voice-activity
|
|
865
|
+
* profile. Use `interruption` for a caller who talks over the agent. Still
|
|
866
|
+
* accepted and stored so existing clients keep working. BARGE_IN is stored as
|
|
867
|
+
* `responseTiming: QUICK` with `interruption: OCCASIONAL`.
|
|
840
868
|
*/
|
|
841
869
|
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
842
870
|
|
|
@@ -198,6 +198,16 @@ export namespace SimulationPersonaCreateResponse {
|
|
|
198
198
|
*/
|
|
199
199
|
intentClarity: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
200
200
|
|
|
201
|
+
/**
|
|
202
|
+
* How much the persona talks over the agent while it is still speaking. OFF waits
|
|
203
|
+
* its turn. BACKCHANNEL makes listening noises ("mm-hm") over the agent without
|
|
204
|
+
* taking the floor, which tests whether the agent wrongly stops for them.
|
|
205
|
+
* OCCASIONAL adds cutting in on some long agent turns, HEAVY on most of them.
|
|
206
|
+
* Timing is randomised per turn, so two runs of the same persona do not interrupt
|
|
207
|
+
* at identical moments.
|
|
208
|
+
*/
|
|
209
|
+
interruption: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
210
|
+
|
|
201
211
|
/**
|
|
202
212
|
* Primary language ISO 639-1 code for the persona
|
|
203
213
|
*/
|
|
@@ -237,9 +247,13 @@ export namespace SimulationPersonaCreateResponse {
|
|
|
237
247
|
properties: { [key: string]: unknown };
|
|
238
248
|
|
|
239
249
|
/**
|
|
240
|
-
*
|
|
241
|
-
*
|
|
242
|
-
*
|
|
250
|
+
* Deprecated and inert: it no longer affects the call. It set how long the persona
|
|
251
|
+
* waited once the agent stopped talking, and measured across production
|
|
252
|
+
* simulations it moved the reply gap by less than the noise floor, because model
|
|
253
|
+
* and speech latency dominate it. Every persona now uses one voice-activity
|
|
254
|
+
* profile. Use `interruption` for a caller who talks over the agent. Still
|
|
255
|
+
* accepted and stored so existing clients keep working. BARGE_IN is stored as
|
|
256
|
+
* `responseTiming: QUICK` with `interruption: OCCASIONAL`.
|
|
243
257
|
*/
|
|
244
258
|
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
245
259
|
|
|
@@ -431,6 +445,16 @@ export namespace SimulationPersonaUpdateResponse {
|
|
|
431
445
|
*/
|
|
432
446
|
intentClarity: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
433
447
|
|
|
448
|
+
/**
|
|
449
|
+
* How much the persona talks over the agent while it is still speaking. OFF waits
|
|
450
|
+
* its turn. BACKCHANNEL makes listening noises ("mm-hm") over the agent without
|
|
451
|
+
* taking the floor, which tests whether the agent wrongly stops for them.
|
|
452
|
+
* OCCASIONAL adds cutting in on some long agent turns, HEAVY on most of them.
|
|
453
|
+
* Timing is randomised per turn, so two runs of the same persona do not interrupt
|
|
454
|
+
* at identical moments.
|
|
455
|
+
*/
|
|
456
|
+
interruption: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
457
|
+
|
|
434
458
|
/**
|
|
435
459
|
* Primary language ISO 639-1 code for the persona
|
|
436
460
|
*/
|
|
@@ -470,9 +494,13 @@ export namespace SimulationPersonaUpdateResponse {
|
|
|
470
494
|
properties: { [key: string]: unknown };
|
|
471
495
|
|
|
472
496
|
/**
|
|
473
|
-
*
|
|
474
|
-
*
|
|
475
|
-
*
|
|
497
|
+
* Deprecated and inert: it no longer affects the call. It set how long the persona
|
|
498
|
+
* waited once the agent stopped talking, and measured across production
|
|
499
|
+
* simulations it moved the reply gap by less than the noise floor, because model
|
|
500
|
+
* and speech latency dominate it. Every persona now uses one voice-activity
|
|
501
|
+
* profile. Use `interruption` for a caller who talks over the agent. Still
|
|
502
|
+
* accepted and stored so existing clients keep working. BARGE_IN is stored as
|
|
503
|
+
* `responseTiming: QUICK` with `interruption: OCCASIONAL`.
|
|
476
504
|
*/
|
|
477
505
|
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
478
506
|
|
|
@@ -666,6 +694,16 @@ export namespace SimulationPersonaListResponse {
|
|
|
666
694
|
*/
|
|
667
695
|
intentClarity: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
668
696
|
|
|
697
|
+
/**
|
|
698
|
+
* How much the persona talks over the agent while it is still speaking. OFF waits
|
|
699
|
+
* its turn. BACKCHANNEL makes listening noises ("mm-hm") over the agent without
|
|
700
|
+
* taking the floor, which tests whether the agent wrongly stops for them.
|
|
701
|
+
* OCCASIONAL adds cutting in on some long agent turns, HEAVY on most of them.
|
|
702
|
+
* Timing is randomised per turn, so two runs of the same persona do not interrupt
|
|
703
|
+
* at identical moments.
|
|
704
|
+
*/
|
|
705
|
+
interruption: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
706
|
+
|
|
669
707
|
/**
|
|
670
708
|
* Primary language ISO 639-1 code for the persona
|
|
671
709
|
*/
|
|
@@ -705,9 +743,13 @@ export namespace SimulationPersonaListResponse {
|
|
|
705
743
|
properties: { [key: string]: unknown };
|
|
706
744
|
|
|
707
745
|
/**
|
|
708
|
-
*
|
|
709
|
-
*
|
|
710
|
-
*
|
|
746
|
+
* Deprecated and inert: it no longer affects the call. It set how long the persona
|
|
747
|
+
* waited once the agent stopped talking, and measured across production
|
|
748
|
+
* simulations it moved the reply gap by less than the noise floor, because model
|
|
749
|
+
* and speech latency dominate it. Every persona now uses one voice-activity
|
|
750
|
+
* profile. Use `interruption` for a caller who talks over the agent. Still
|
|
751
|
+
* accepted and stored so existing clients keep working. BARGE_IN is stored as
|
|
752
|
+
* `responseTiming: QUICK` with `interruption: OCCASIONAL`.
|
|
711
753
|
*/
|
|
712
754
|
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
713
755
|
|
|
@@ -916,6 +958,16 @@ export namespace SimulationPersonaGetByIDResponse {
|
|
|
916
958
|
*/
|
|
917
959
|
intentClarity: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
918
960
|
|
|
961
|
+
/**
|
|
962
|
+
* How much the persona talks over the agent while it is still speaking. OFF waits
|
|
963
|
+
* its turn. BACKCHANNEL makes listening noises ("mm-hm") over the agent without
|
|
964
|
+
* taking the floor, which tests whether the agent wrongly stops for them.
|
|
965
|
+
* OCCASIONAL adds cutting in on some long agent turns, HEAVY on most of them.
|
|
966
|
+
* Timing is randomised per turn, so two runs of the same persona do not interrupt
|
|
967
|
+
* at identical moments.
|
|
968
|
+
*/
|
|
969
|
+
interruption: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
970
|
+
|
|
919
971
|
/**
|
|
920
972
|
* Primary language ISO 639-1 code for the persona
|
|
921
973
|
*/
|
|
@@ -955,9 +1007,13 @@ export namespace SimulationPersonaGetByIDResponse {
|
|
|
955
1007
|
properties: { [key: string]: unknown };
|
|
956
1008
|
|
|
957
1009
|
/**
|
|
958
|
-
*
|
|
959
|
-
*
|
|
960
|
-
*
|
|
1010
|
+
* Deprecated and inert: it no longer affects the call. It set how long the persona
|
|
1011
|
+
* waited once the agent stopped talking, and measured across production
|
|
1012
|
+
* simulations it moved the reply gap by less than the noise floor, because model
|
|
1013
|
+
* and speech latency dominate it. Every persona now uses one voice-activity
|
|
1014
|
+
* profile. Use `interruption` for a caller who talks over the agent. Still
|
|
1015
|
+
* accepted and stored so existing clients keep working. BARGE_IN is stored as
|
|
1016
|
+
* `responseTiming: QUICK` with `interruption: OCCASIONAL`.
|
|
961
1017
|
*/
|
|
962
1018
|
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
963
1019
|
|
|
@@ -1179,6 +1235,12 @@ export interface SimulationPersonaCreateParams {
|
|
|
1179
1235
|
*/
|
|
1180
1236
|
intentClarity?: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
1181
1237
|
|
|
1238
|
+
/**
|
|
1239
|
+
* How much the persona talks over the agent. Defaults to OFF, a caller that waits
|
|
1240
|
+
* its turn.
|
|
1241
|
+
*/
|
|
1242
|
+
interruption?: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
1243
|
+
|
|
1182
1244
|
/**
|
|
1183
1245
|
* How reliable the persona's memory is
|
|
1184
1246
|
*/
|
|
@@ -1190,9 +1252,13 @@ export interface SimulationPersonaCreateParams {
|
|
|
1190
1252
|
properties?: { [key: string]: unknown };
|
|
1191
1253
|
|
|
1192
1254
|
/**
|
|
1193
|
-
*
|
|
1194
|
-
*
|
|
1195
|
-
*
|
|
1255
|
+
* Deprecated and inert: it no longer affects the call. It set how long the persona
|
|
1256
|
+
* waited once the agent stopped talking, and measured across production
|
|
1257
|
+
* simulations it moved the reply gap by less than the noise floor, because model
|
|
1258
|
+
* and speech latency dominate it. Every persona now uses one voice-activity
|
|
1259
|
+
* profile. Use `interruption` for a caller who talks over the agent. Still
|
|
1260
|
+
* accepted and stored so existing clients keep working. BARGE_IN is stored as
|
|
1261
|
+
* `responseTiming: QUICK` with `interruption: OCCASIONAL`.
|
|
1196
1262
|
*/
|
|
1197
1263
|
responseTiming?: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
1198
1264
|
|
|
@@ -1363,6 +1429,16 @@ export interface SimulationPersonaUpdateParams {
|
|
|
1363
1429
|
*/
|
|
1364
1430
|
intentClarity?: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
1365
1431
|
|
|
1432
|
+
/**
|
|
1433
|
+
* How much the persona talks over the agent while it is still speaking. OFF waits
|
|
1434
|
+
* its turn. BACKCHANNEL makes listening noises ("mm-hm") over the agent without
|
|
1435
|
+
* taking the floor, which tests whether the agent wrongly stops for them.
|
|
1436
|
+
* OCCASIONAL adds cutting in on some long agent turns, HEAVY on most of them.
|
|
1437
|
+
* Timing is randomised per turn, so two runs of the same persona do not interrupt
|
|
1438
|
+
* at identical moments.
|
|
1439
|
+
*/
|
|
1440
|
+
interruption?: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
1441
|
+
|
|
1366
1442
|
/**
|
|
1367
1443
|
* Primary language ISO 639-1 code for the persona
|
|
1368
1444
|
*/
|
|
@@ -1402,9 +1478,13 @@ export interface SimulationPersonaUpdateParams {
|
|
|
1402
1478
|
properties?: { [key: string]: unknown };
|
|
1403
1479
|
|
|
1404
1480
|
/**
|
|
1405
|
-
*
|
|
1406
|
-
*
|
|
1407
|
-
*
|
|
1481
|
+
* Deprecated and inert: it no longer affects the call. It set how long the persona
|
|
1482
|
+
* waited once the agent stopped talking, and measured across production
|
|
1483
|
+
* simulations it moved the reply gap by less than the noise floor, because model
|
|
1484
|
+
* and speech latency dominate it. Every persona now uses one voice-activity
|
|
1485
|
+
* profile. Use `interruption` for a caller who talks over the agent. Still
|
|
1486
|
+
* accepted and stored so existing clients keep working. BARGE_IN is stored as
|
|
1487
|
+
* `responseTiming: QUICK` with `interruption: OCCASIONAL`.
|
|
1408
1488
|
*/
|
|
1409
1489
|
responseTiming?: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
1410
1490
|
|
|
@@ -526,6 +526,16 @@ export namespace SimulationRunPlanJobGetByIDResponse {
|
|
|
526
526
|
*/
|
|
527
527
|
intentClarity: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
528
528
|
|
|
529
|
+
/**
|
|
530
|
+
* How much the persona talks over the agent while it is still speaking. OFF waits
|
|
531
|
+
* its turn. BACKCHANNEL makes listening noises ("mm-hm") over the agent without
|
|
532
|
+
* taking the floor, which tests whether the agent wrongly stops for them.
|
|
533
|
+
* OCCASIONAL adds cutting in on some long agent turns, HEAVY on most of them.
|
|
534
|
+
* Timing is randomised per turn, so two runs of the same persona do not interrupt
|
|
535
|
+
* at identical moments.
|
|
536
|
+
*/
|
|
537
|
+
interruption: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
538
|
+
|
|
529
539
|
/**
|
|
530
540
|
* Primary language ISO 639-1 code for the persona
|
|
531
541
|
*/
|
|
@@ -565,9 +575,13 @@ export namespace SimulationRunPlanJobGetByIDResponse {
|
|
|
565
575
|
properties: { [key: string]: unknown };
|
|
566
576
|
|
|
567
577
|
/**
|
|
568
|
-
*
|
|
569
|
-
*
|
|
570
|
-
*
|
|
578
|
+
* Deprecated and inert: it no longer affects the call. It set how long the persona
|
|
579
|
+
* waited once the agent stopped talking, and measured across production
|
|
580
|
+
* simulations it moved the reply gap by less than the noise floor, because model
|
|
581
|
+
* and speech latency dominate it. Every persona now uses one voice-activity
|
|
582
|
+
* profile. Use `interruption` for a caller who talks over the agent. Still
|
|
583
|
+
* accepted and stored so existing clients keep working. BARGE_IN is stored as
|
|
584
|
+
* `responseTiming: QUICK` with `interruption: OCCASIONAL`.
|
|
571
585
|
*/
|
|
572
586
|
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
573
587
|
|
|
@@ -160,6 +160,7 @@ export namespace SimulationRunPlanCreateResponse {
|
|
|
160
160
|
| 'GENDER'
|
|
161
161
|
| 'INTENT_CLARITY'
|
|
162
162
|
| 'LANGUAGE'
|
|
163
|
+
| 'INTERRUPTION'
|
|
163
164
|
| 'MEMORY_RELIABILITY'
|
|
164
165
|
| 'RESPONSE_TIMING'
|
|
165
166
|
| 'SPEECH_CLARITY'
|
|
@@ -387,6 +388,7 @@ export namespace SimulationRunPlanCreateResponse {
|
|
|
387
388
|
| 'GENDER'
|
|
388
389
|
| 'INTENT_CLARITY'
|
|
389
390
|
| 'LANGUAGE'
|
|
391
|
+
| 'INTERRUPTION'
|
|
390
392
|
| 'MEMORY_RELIABILITY'
|
|
391
393
|
| 'RESPONSE_TIMING'
|
|
392
394
|
| 'SPEECH_CLARITY'
|
|
@@ -510,6 +512,7 @@ export namespace SimulationRunPlanUpdateResponse {
|
|
|
510
512
|
| 'GENDER'
|
|
511
513
|
| 'INTENT_CLARITY'
|
|
512
514
|
| 'LANGUAGE'
|
|
515
|
+
| 'INTERRUPTION'
|
|
513
516
|
| 'MEMORY_RELIABILITY'
|
|
514
517
|
| 'RESPONSE_TIMING'
|
|
515
518
|
| 'SPEECH_CLARITY'
|
|
@@ -737,6 +740,7 @@ export namespace SimulationRunPlanUpdateResponse {
|
|
|
737
740
|
| 'GENDER'
|
|
738
741
|
| 'INTENT_CLARITY'
|
|
739
742
|
| 'LANGUAGE'
|
|
743
|
+
| 'INTERRUPTION'
|
|
740
744
|
| 'MEMORY_RELIABILITY'
|
|
741
745
|
| 'RESPONSE_TIMING'
|
|
742
746
|
| 'SPEECH_CLARITY'
|
|
@@ -824,6 +828,7 @@ export namespace SimulationRunPlanListResponse {
|
|
|
824
828
|
| 'GENDER'
|
|
825
829
|
| 'INTENT_CLARITY'
|
|
826
830
|
| 'LANGUAGE'
|
|
831
|
+
| 'INTERRUPTION'
|
|
827
832
|
| 'MEMORY_RELIABILITY'
|
|
828
833
|
| 'RESPONSE_TIMING'
|
|
829
834
|
| 'SPEECH_CLARITY'
|
|
@@ -1051,6 +1056,7 @@ export namespace SimulationRunPlanListResponse {
|
|
|
1051
1056
|
| 'GENDER'
|
|
1052
1057
|
| 'INTENT_CLARITY'
|
|
1053
1058
|
| 'LANGUAGE'
|
|
1059
|
+
| 'INTERRUPTION'
|
|
1054
1060
|
| 'MEMORY_RELIABILITY'
|
|
1055
1061
|
| 'RESPONSE_TIMING'
|
|
1056
1062
|
| 'SPEECH_CLARITY'
|
|
@@ -1166,6 +1172,7 @@ export namespace SimulationRunPlanGetByIDResponse {
|
|
|
1166
1172
|
| 'GENDER'
|
|
1167
1173
|
| 'INTENT_CLARITY'
|
|
1168
1174
|
| 'LANGUAGE'
|
|
1175
|
+
| 'INTERRUPTION'
|
|
1169
1176
|
| 'MEMORY_RELIABILITY'
|
|
1170
1177
|
| 'RESPONSE_TIMING'
|
|
1171
1178
|
| 'SPEECH_CLARITY'
|
|
@@ -1393,6 +1400,7 @@ export namespace SimulationRunPlanGetByIDResponse {
|
|
|
1393
1400
|
| 'GENDER'
|
|
1394
1401
|
| 'INTENT_CLARITY'
|
|
1395
1402
|
| 'LANGUAGE'
|
|
1403
|
+
| 'INTERRUPTION'
|
|
1396
1404
|
| 'MEMORY_RELIABILITY'
|
|
1397
1405
|
| 'RESPONSE_TIMING'
|
|
1398
1406
|
| 'SPEECH_CLARITY'
|
|
@@ -1502,6 +1510,7 @@ export interface SimulationRunPlanCreateParams {
|
|
|
1502
1510
|
| 'GENDER'
|
|
1503
1511
|
| 'INTENT_CLARITY'
|
|
1504
1512
|
| 'LANGUAGE'
|
|
1513
|
+
| 'INTERRUPTION'
|
|
1505
1514
|
| 'MEMORY_RELIABILITY'
|
|
1506
1515
|
| 'RESPONSE_TIMING'
|
|
1507
1516
|
| 'SPEECH_CLARITY'
|
|
@@ -1766,6 +1775,7 @@ export namespace SimulationRunPlanCreateParams {
|
|
|
1766
1775
|
| 'GENDER'
|
|
1767
1776
|
| 'INTENT_CLARITY'
|
|
1768
1777
|
| 'LANGUAGE'
|
|
1778
|
+
| 'INTERRUPTION'
|
|
1769
1779
|
| 'MEMORY_RELIABILITY'
|
|
1770
1780
|
| 'RESPONSE_TIMING'
|
|
1771
1781
|
| 'SPEECH_CLARITY'
|
|
@@ -1833,6 +1843,7 @@ export interface SimulationRunPlanUpdateParams {
|
|
|
1833
1843
|
| 'GENDER'
|
|
1834
1844
|
| 'INTENT_CLARITY'
|
|
1835
1845
|
| 'LANGUAGE'
|
|
1846
|
+
| 'INTERRUPTION'
|
|
1836
1847
|
| 'MEMORY_RELIABILITY'
|
|
1837
1848
|
| 'RESPONSE_TIMING'
|
|
1838
1849
|
| 'SPEECH_CLARITY'
|
|
@@ -2051,6 +2062,7 @@ export namespace SimulationRunPlanUpdateParams {
|
|
|
2051
2062
|
| 'GENDER'
|
|
2052
2063
|
| 'INTENT_CLARITY'
|
|
2053
2064
|
| 'LANGUAGE'
|
|
2065
|
+
| 'INTERRUPTION'
|
|
2054
2066
|
| 'MEMORY_RELIABILITY'
|
|
2055
2067
|
| 'RESPONSE_TIMING'
|
|
2056
2068
|
| 'SPEECH_CLARITY'
|
|
@@ -210,6 +210,7 @@ export declare namespace SimulationRunParams {
|
|
|
210
210
|
| 'GENDER'
|
|
211
211
|
| 'INTENT_CLARITY'
|
|
212
212
|
| 'LANGUAGE'
|
|
213
|
+
| 'INTERRUPTION'
|
|
213
214
|
| 'MEMORY_RELIABILITY'
|
|
214
215
|
| 'RESPONSE_TIMING'
|
|
215
216
|
| 'SPEECH_CLARITY'
|
|
@@ -480,6 +481,7 @@ export declare namespace SimulationRunParams {
|
|
|
480
481
|
| 'GENDER'
|
|
481
482
|
| 'INTENT_CLARITY'
|
|
482
483
|
| 'LANGUAGE'
|
|
484
|
+
| 'INTERRUPTION'
|
|
483
485
|
| 'MEMORY_RELIABILITY'
|
|
484
486
|
| 'RESPONSE_TIMING'
|
|
485
487
|
| 'SPEECH_CLARITY'
|
|
@@ -844,6 +846,7 @@ export declare namespace SimulationRunParams {
|
|
|
844
846
|
| 'GENDER'
|
|
845
847
|
| 'INTENT_CLARITY'
|
|
846
848
|
| 'LANGUAGE'
|
|
849
|
+
| 'INTERRUPTION'
|
|
847
850
|
| 'MEMORY_RELIABILITY'
|
|
848
851
|
| 'RESPONSE_TIMING'
|
|
849
852
|
| 'SPEECH_CLARITY'
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '3.
|
|
1
|
+
export const VERSION = '3.21.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "3.
|
|
1
|
+
export declare const VERSION = "3.21.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "3.
|
|
1
|
+
export declare const VERSION = "3.21.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '3.
|
|
1
|
+
export const VERSION = '3.21.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|