@roarkanalytics/sdk 3.19.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 +24 -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 +117 -7
- package/resources/simulation-run-plan.d.mts.map +1 -1
- package/resources/simulation-run-plan.d.ts +117 -7
- 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 +62 -2
- package/resources/simulation.d.mts.map +1 -1
- package/resources/simulation.d.ts +62 -2
- 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 +219 -1
- package/src/resources/simulation-template.ts +1 -0
- package/src/resources/simulation.ts +98 -1
- 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/config.ts
CHANGED
|
@@ -206,6 +206,8 @@ export namespace Bundle {
|
|
|
206
206
|
|
|
207
207
|
intentClarity?: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
208
208
|
|
|
209
|
+
interruption?: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
210
|
+
|
|
209
211
|
memoryReliability?: 'HIGH' | 'LOW';
|
|
210
212
|
|
|
211
213
|
properties?: { [key: string]: unknown };
|
|
@@ -885,6 +887,8 @@ export namespace ConfigApplyParams {
|
|
|
885
887
|
|
|
886
888
|
intentClarity?: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
887
889
|
|
|
890
|
+
interruption?: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
891
|
+
|
|
888
892
|
memoryReliability?: 'HIGH' | 'LOW';
|
|
889
893
|
|
|
890
894
|
properties?: { [key: string]: unknown };
|
|
@@ -1418,6 +1422,8 @@ export namespace ConfigDiffParams {
|
|
|
1418
1422
|
|
|
1419
1423
|
intentClarity?: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
1420
1424
|
|
|
1425
|
+
interruption?: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
1426
|
+
|
|
1421
1427
|
memoryReliability?: 'HIGH' | 'LOW';
|
|
1422
1428
|
|
|
1423
1429
|
properties?: { [key: string]: unknown };
|
|
@@ -340,6 +340,16 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
|
|
|
340
340
|
*/
|
|
341
341
|
intentClarity: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
342
342
|
|
|
343
|
+
/**
|
|
344
|
+
* How much the persona talks over the agent while it is still speaking. OFF waits
|
|
345
|
+
* its turn. BACKCHANNEL makes listening noises ("mm-hm") over the agent without
|
|
346
|
+
* taking the floor, which tests whether the agent wrongly stops for them.
|
|
347
|
+
* OCCASIONAL adds cutting in on some long agent turns, HEAVY on most of them.
|
|
348
|
+
* Timing is randomised per turn, so two runs of the same persona do not interrupt
|
|
349
|
+
* at identical moments.
|
|
350
|
+
*/
|
|
351
|
+
interruption: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
352
|
+
|
|
343
353
|
/**
|
|
344
354
|
* Primary language ISO 639-1 code for the persona
|
|
345
355
|
*/
|
|
@@ -379,9 +389,13 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
|
|
|
379
389
|
properties: { [key: string]: unknown };
|
|
380
390
|
|
|
381
391
|
/**
|
|
382
|
-
*
|
|
383
|
-
*
|
|
384
|
-
*
|
|
392
|
+
* Deprecated and inert: it no longer affects the call. It set how long the persona
|
|
393
|
+
* waited once the agent stopped talking, and measured across production
|
|
394
|
+
* simulations it moved the reply gap by less than the noise floor, because model
|
|
395
|
+
* and speech latency dominate it. Every persona now uses one voice-activity
|
|
396
|
+
* profile. Use `interruption` for a caller who talks over the agent. Still
|
|
397
|
+
* accepted and stored so existing clients keep working. BARGE_IN is stored as
|
|
398
|
+
* `responseTiming: QUICK` with `interruption: OCCASIONAL`.
|
|
385
399
|
*/
|
|
386
400
|
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
387
401
|
|
|
@@ -679,6 +693,16 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
|
|
|
679
693
|
*/
|
|
680
694
|
intentClarity: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
681
695
|
|
|
696
|
+
/**
|
|
697
|
+
* How much the persona talks over the agent while it is still speaking. OFF waits
|
|
698
|
+
* its turn. BACKCHANNEL makes listening noises ("mm-hm") over the agent without
|
|
699
|
+
* taking the floor, which tests whether the agent wrongly stops for them.
|
|
700
|
+
* OCCASIONAL adds cutting in on some long agent turns, HEAVY on most of them.
|
|
701
|
+
* Timing is randomised per turn, so two runs of the same persona do not interrupt
|
|
702
|
+
* at identical moments.
|
|
703
|
+
*/
|
|
704
|
+
interruption: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
705
|
+
|
|
682
706
|
/**
|
|
683
707
|
* Primary language ISO 639-1 code for the persona
|
|
684
708
|
*/
|
|
@@ -718,9 +742,13 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
|
|
|
718
742
|
properties: { [key: string]: unknown };
|
|
719
743
|
|
|
720
744
|
/**
|
|
721
|
-
*
|
|
722
|
-
*
|
|
723
|
-
*
|
|
745
|
+
* Deprecated and inert: it no longer affects the call. It set how long the persona
|
|
746
|
+
* waited once the agent stopped talking, and measured across production
|
|
747
|
+
* simulations it moved the reply gap by less than the noise floor, because model
|
|
748
|
+
* and speech latency dominate it. Every persona now uses one voice-activity
|
|
749
|
+
* profile. Use `interruption` for a caller who talks over the agent. Still
|
|
750
|
+
* accepted and stored so existing clients keep working. BARGE_IN is stored as
|
|
751
|
+
* `responseTiming: QUICK` with `interruption: OCCASIONAL`.
|
|
724
752
|
*/
|
|
725
753
|
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
726
754
|
|
|
@@ -909,6 +937,16 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
|
|
|
909
937
|
*/
|
|
910
938
|
intentClarity: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
911
939
|
|
|
940
|
+
/**
|
|
941
|
+
* How much the persona talks over the agent while it is still speaking. OFF waits
|
|
942
|
+
* its turn. BACKCHANNEL makes listening noises ("mm-hm") over the agent without
|
|
943
|
+
* taking the floor, which tests whether the agent wrongly stops for them.
|
|
944
|
+
* OCCASIONAL adds cutting in on some long agent turns, HEAVY on most of them.
|
|
945
|
+
* Timing is randomised per turn, so two runs of the same persona do not interrupt
|
|
946
|
+
* at identical moments.
|
|
947
|
+
*/
|
|
948
|
+
interruption: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
949
|
+
|
|
912
950
|
/**
|
|
913
951
|
* Primary language ISO 639-1 code for the persona
|
|
914
952
|
*/
|
|
@@ -948,9 +986,13 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
|
|
|
948
986
|
properties: { [key: string]: unknown };
|
|
949
987
|
|
|
950
988
|
/**
|
|
951
|
-
*
|
|
952
|
-
*
|
|
953
|
-
*
|
|
989
|
+
* Deprecated and inert: it no longer affects the call. It set how long the persona
|
|
990
|
+
* waited once the agent stopped talking, and measured across production
|
|
991
|
+
* simulations it moved the reply gap by less than the noise floor, because model
|
|
992
|
+
* and speech latency dominate it. Every persona now uses one voice-activity
|
|
993
|
+
* profile. Use `interruption` for a caller who talks over the agent. Still
|
|
994
|
+
* accepted and stored so existing clients keep working. BARGE_IN is stored as
|
|
995
|
+
* `responseTiming: QUICK` with `interruption: OCCASIONAL`.
|
|
954
996
|
*/
|
|
955
997
|
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
956
998
|
|
|
@@ -1238,6 +1280,16 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
|
|
|
1238
1280
|
*/
|
|
1239
1281
|
intentClarity: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
1240
1282
|
|
|
1283
|
+
/**
|
|
1284
|
+
* How much the persona talks over the agent while it is still speaking. OFF waits
|
|
1285
|
+
* its turn. BACKCHANNEL makes listening noises ("mm-hm") over the agent without
|
|
1286
|
+
* taking the floor, which tests whether the agent wrongly stops for them.
|
|
1287
|
+
* OCCASIONAL adds cutting in on some long agent turns, HEAVY on most of them.
|
|
1288
|
+
* Timing is randomised per turn, so two runs of the same persona do not interrupt
|
|
1289
|
+
* at identical moments.
|
|
1290
|
+
*/
|
|
1291
|
+
interruption: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
1292
|
+
|
|
1241
1293
|
/**
|
|
1242
1294
|
* Primary language ISO 639-1 code for the persona
|
|
1243
1295
|
*/
|
|
@@ -1277,9 +1329,13 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
|
|
|
1277
1329
|
properties: { [key: string]: unknown };
|
|
1278
1330
|
|
|
1279
1331
|
/**
|
|
1280
|
-
*
|
|
1281
|
-
*
|
|
1282
|
-
*
|
|
1332
|
+
* Deprecated and inert: it no longer affects the call. It set how long the persona
|
|
1333
|
+
* waited once the agent stopped talking, and measured across production
|
|
1334
|
+
* simulations it moved the reply gap by less than the noise floor, because model
|
|
1335
|
+
* and speech latency dominate it. Every persona now uses one voice-activity
|
|
1336
|
+
* profile. Use `interruption` for a caller who talks over the agent. Still
|
|
1337
|
+
* accepted and stored so existing clients keep working. BARGE_IN is stored as
|
|
1338
|
+
* `responseTiming: QUICK` with `interruption: OCCASIONAL`.
|
|
1283
1339
|
*/
|
|
1284
1340
|
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
1285
1341
|
|
|
@@ -1586,6 +1642,16 @@ export namespace CustomerFlowEdgeCaseAddResponse {
|
|
|
1586
1642
|
*/
|
|
1587
1643
|
intentClarity: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
1588
1644
|
|
|
1645
|
+
/**
|
|
1646
|
+
* How much the persona talks over the agent while it is still speaking. OFF waits
|
|
1647
|
+
* its turn. BACKCHANNEL makes listening noises ("mm-hm") over the agent without
|
|
1648
|
+
* taking the floor, which tests whether the agent wrongly stops for them.
|
|
1649
|
+
* OCCASIONAL adds cutting in on some long agent turns, HEAVY on most of them.
|
|
1650
|
+
* Timing is randomised per turn, so two runs of the same persona do not interrupt
|
|
1651
|
+
* at identical moments.
|
|
1652
|
+
*/
|
|
1653
|
+
interruption: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
1654
|
+
|
|
1589
1655
|
/**
|
|
1590
1656
|
* Primary language ISO 639-1 code for the persona
|
|
1591
1657
|
*/
|
|
@@ -1625,9 +1691,13 @@ export namespace CustomerFlowEdgeCaseAddResponse {
|
|
|
1625
1691
|
properties: { [key: string]: unknown };
|
|
1626
1692
|
|
|
1627
1693
|
/**
|
|
1628
|
-
*
|
|
1629
|
-
*
|
|
1630
|
-
*
|
|
1694
|
+
* Deprecated and inert: it no longer affects the call. It set how long the persona
|
|
1695
|
+
* waited once the agent stopped talking, and measured across production
|
|
1696
|
+
* simulations it moved the reply gap by less than the noise floor, because model
|
|
1697
|
+
* and speech latency dominate it. Every persona now uses one voice-activity
|
|
1698
|
+
* profile. Use `interruption` for a caller who talks over the agent. Still
|
|
1699
|
+
* accepted and stored so existing clients keep working. BARGE_IN is stored as
|
|
1700
|
+
* `responseTiming: QUICK` with `interruption: OCCASIONAL`.
|
|
1631
1701
|
*/
|
|
1632
1702
|
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
1633
1703
|
|
|
@@ -1925,6 +1995,16 @@ export namespace CustomerFlowEdgeCaseAddResponse {
|
|
|
1925
1995
|
*/
|
|
1926
1996
|
intentClarity: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
1927
1997
|
|
|
1998
|
+
/**
|
|
1999
|
+
* How much the persona talks over the agent while it is still speaking. OFF waits
|
|
2000
|
+
* its turn. BACKCHANNEL makes listening noises ("mm-hm") over the agent without
|
|
2001
|
+
* taking the floor, which tests whether the agent wrongly stops for them.
|
|
2002
|
+
* OCCASIONAL adds cutting in on some long agent turns, HEAVY on most of them.
|
|
2003
|
+
* Timing is randomised per turn, so two runs of the same persona do not interrupt
|
|
2004
|
+
* at identical moments.
|
|
2005
|
+
*/
|
|
2006
|
+
interruption: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
2007
|
+
|
|
1928
2008
|
/**
|
|
1929
2009
|
* Primary language ISO 639-1 code for the persona
|
|
1930
2010
|
*/
|
|
@@ -1964,9 +2044,13 @@ export namespace CustomerFlowEdgeCaseAddResponse {
|
|
|
1964
2044
|
properties: { [key: string]: unknown };
|
|
1965
2045
|
|
|
1966
2046
|
/**
|
|
1967
|
-
*
|
|
1968
|
-
*
|
|
1969
|
-
*
|
|
2047
|
+
* Deprecated and inert: it no longer affects the call. It set how long the persona
|
|
2048
|
+
* waited once the agent stopped talking, and measured across production
|
|
2049
|
+
* simulations it moved the reply gap by less than the noise floor, because model
|
|
2050
|
+
* and speech latency dominate it. Every persona now uses one voice-activity
|
|
2051
|
+
* profile. Use `interruption` for a caller who talks over the agent. Still
|
|
2052
|
+
* accepted and stored so existing clients keep working. BARGE_IN is stored as
|
|
2053
|
+
* `responseTiming: QUICK` with `interruption: OCCASIONAL`.
|
|
1970
2054
|
*/
|
|
1971
2055
|
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
1972
2056
|
|
|
@@ -2155,6 +2239,16 @@ export namespace CustomerFlowEdgeCaseAddResponse {
|
|
|
2155
2239
|
*/
|
|
2156
2240
|
intentClarity: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
2157
2241
|
|
|
2242
|
+
/**
|
|
2243
|
+
* How much the persona talks over the agent while it is still speaking. OFF waits
|
|
2244
|
+
* its turn. BACKCHANNEL makes listening noises ("mm-hm") over the agent without
|
|
2245
|
+
* taking the floor, which tests whether the agent wrongly stops for them.
|
|
2246
|
+
* OCCASIONAL adds cutting in on some long agent turns, HEAVY on most of them.
|
|
2247
|
+
* Timing is randomised per turn, so two runs of the same persona do not interrupt
|
|
2248
|
+
* at identical moments.
|
|
2249
|
+
*/
|
|
2250
|
+
interruption: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
2251
|
+
|
|
2158
2252
|
/**
|
|
2159
2253
|
* Primary language ISO 639-1 code for the persona
|
|
2160
2254
|
*/
|
|
@@ -2194,9 +2288,13 @@ export namespace CustomerFlowEdgeCaseAddResponse {
|
|
|
2194
2288
|
properties: { [key: string]: unknown };
|
|
2195
2289
|
|
|
2196
2290
|
/**
|
|
2197
|
-
*
|
|
2198
|
-
*
|
|
2199
|
-
*
|
|
2291
|
+
* Deprecated and inert: it no longer affects the call. It set how long the persona
|
|
2292
|
+
* waited once the agent stopped talking, and measured across production
|
|
2293
|
+
* simulations it moved the reply gap by less than the noise floor, because model
|
|
2294
|
+
* and speech latency dominate it. Every persona now uses one voice-activity
|
|
2295
|
+
* profile. Use `interruption` for a caller who talks over the agent. Still
|
|
2296
|
+
* accepted and stored so existing clients keep working. BARGE_IN is stored as
|
|
2297
|
+
* `responseTiming: QUICK` with `interruption: OCCASIONAL`.
|
|
2200
2298
|
*/
|
|
2201
2299
|
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
2202
2300
|
|
|
@@ -2484,6 +2582,16 @@ export namespace CustomerFlowEdgeCaseAddResponse {
|
|
|
2484
2582
|
*/
|
|
2485
2583
|
intentClarity: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
2486
2584
|
|
|
2585
|
+
/**
|
|
2586
|
+
* How much the persona talks over the agent while it is still speaking. OFF waits
|
|
2587
|
+
* its turn. BACKCHANNEL makes listening noises ("mm-hm") over the agent without
|
|
2588
|
+
* taking the floor, which tests whether the agent wrongly stops for them.
|
|
2589
|
+
* OCCASIONAL adds cutting in on some long agent turns, HEAVY on most of them.
|
|
2590
|
+
* Timing is randomised per turn, so two runs of the same persona do not interrupt
|
|
2591
|
+
* at identical moments.
|
|
2592
|
+
*/
|
|
2593
|
+
interruption: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
2594
|
+
|
|
2487
2595
|
/**
|
|
2488
2596
|
* Primary language ISO 639-1 code for the persona
|
|
2489
2597
|
*/
|
|
@@ -2523,9 +2631,13 @@ export namespace CustomerFlowEdgeCaseAddResponse {
|
|
|
2523
2631
|
properties: { [key: string]: unknown };
|
|
2524
2632
|
|
|
2525
2633
|
/**
|
|
2526
|
-
*
|
|
2527
|
-
*
|
|
2528
|
-
*
|
|
2634
|
+
* Deprecated and inert: it no longer affects the call. It set how long the persona
|
|
2635
|
+
* waited once the agent stopped talking, and measured across production
|
|
2636
|
+
* simulations it moved the reply gap by less than the noise floor, because model
|
|
2637
|
+
* and speech latency dominate it. Every persona now uses one voice-activity
|
|
2638
|
+
* profile. Use `interruption` for a caller who talks over the agent. Still
|
|
2639
|
+
* accepted and stored so existing clients keep working. BARGE_IN is stored as
|
|
2640
|
+
* `responseTiming: QUICK` with `interruption: OCCASIONAL`.
|
|
2529
2641
|
*/
|
|
2530
2642
|
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
2531
2643
|
|
|
@@ -2832,6 +2944,16 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
|
|
|
2832
2944
|
*/
|
|
2833
2945
|
intentClarity: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
2834
2946
|
|
|
2947
|
+
/**
|
|
2948
|
+
* How much the persona talks over the agent while it is still speaking. OFF waits
|
|
2949
|
+
* its turn. BACKCHANNEL makes listening noises ("mm-hm") over the agent without
|
|
2950
|
+
* taking the floor, which tests whether the agent wrongly stops for them.
|
|
2951
|
+
* OCCASIONAL adds cutting in on some long agent turns, HEAVY on most of them.
|
|
2952
|
+
* Timing is randomised per turn, so two runs of the same persona do not interrupt
|
|
2953
|
+
* at identical moments.
|
|
2954
|
+
*/
|
|
2955
|
+
interruption: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
2956
|
+
|
|
2835
2957
|
/**
|
|
2836
2958
|
* Primary language ISO 639-1 code for the persona
|
|
2837
2959
|
*/
|
|
@@ -2871,9 +2993,13 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
|
|
|
2871
2993
|
properties: { [key: string]: unknown };
|
|
2872
2994
|
|
|
2873
2995
|
/**
|
|
2874
|
-
*
|
|
2875
|
-
*
|
|
2876
|
-
*
|
|
2996
|
+
* Deprecated and inert: it no longer affects the call. It set how long the persona
|
|
2997
|
+
* waited once the agent stopped talking, and measured across production
|
|
2998
|
+
* simulations it moved the reply gap by less than the noise floor, because model
|
|
2999
|
+
* and speech latency dominate it. Every persona now uses one voice-activity
|
|
3000
|
+
* profile. Use `interruption` for a caller who talks over the agent. Still
|
|
3001
|
+
* accepted and stored so existing clients keep working. BARGE_IN is stored as
|
|
3002
|
+
* `responseTiming: QUICK` with `interruption: OCCASIONAL`.
|
|
2877
3003
|
*/
|
|
2878
3004
|
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
2879
3005
|
|
|
@@ -3171,6 +3297,16 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
|
|
|
3171
3297
|
*/
|
|
3172
3298
|
intentClarity: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
3173
3299
|
|
|
3300
|
+
/**
|
|
3301
|
+
* How much the persona talks over the agent while it is still speaking. OFF waits
|
|
3302
|
+
* its turn. BACKCHANNEL makes listening noises ("mm-hm") over the agent without
|
|
3303
|
+
* taking the floor, which tests whether the agent wrongly stops for them.
|
|
3304
|
+
* OCCASIONAL adds cutting in on some long agent turns, HEAVY on most of them.
|
|
3305
|
+
* Timing is randomised per turn, so two runs of the same persona do not interrupt
|
|
3306
|
+
* at identical moments.
|
|
3307
|
+
*/
|
|
3308
|
+
interruption: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
3309
|
+
|
|
3174
3310
|
/**
|
|
3175
3311
|
* Primary language ISO 639-1 code for the persona
|
|
3176
3312
|
*/
|
|
@@ -3210,9 +3346,13 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
|
|
|
3210
3346
|
properties: { [key: string]: unknown };
|
|
3211
3347
|
|
|
3212
3348
|
/**
|
|
3213
|
-
*
|
|
3214
|
-
*
|
|
3215
|
-
*
|
|
3349
|
+
* Deprecated and inert: it no longer affects the call. It set how long the persona
|
|
3350
|
+
* waited once the agent stopped talking, and measured across production
|
|
3351
|
+
* simulations it moved the reply gap by less than the noise floor, because model
|
|
3352
|
+
* and speech latency dominate it. Every persona now uses one voice-activity
|
|
3353
|
+
* profile. Use `interruption` for a caller who talks over the agent. Still
|
|
3354
|
+
* accepted and stored so existing clients keep working. BARGE_IN is stored as
|
|
3355
|
+
* `responseTiming: QUICK` with `interruption: OCCASIONAL`.
|
|
3216
3356
|
*/
|
|
3217
3357
|
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
3218
3358
|
|
|
@@ -3401,6 +3541,16 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
|
|
|
3401
3541
|
*/
|
|
3402
3542
|
intentClarity: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
3403
3543
|
|
|
3544
|
+
/**
|
|
3545
|
+
* How much the persona talks over the agent while it is still speaking. OFF waits
|
|
3546
|
+
* its turn. BACKCHANNEL makes listening noises ("mm-hm") over the agent without
|
|
3547
|
+
* taking the floor, which tests whether the agent wrongly stops for them.
|
|
3548
|
+
* OCCASIONAL adds cutting in on some long agent turns, HEAVY on most of them.
|
|
3549
|
+
* Timing is randomised per turn, so two runs of the same persona do not interrupt
|
|
3550
|
+
* at identical moments.
|
|
3551
|
+
*/
|
|
3552
|
+
interruption: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
3553
|
+
|
|
3404
3554
|
/**
|
|
3405
3555
|
* Primary language ISO 639-1 code for the persona
|
|
3406
3556
|
*/
|
|
@@ -3440,9 +3590,13 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
|
|
|
3440
3590
|
properties: { [key: string]: unknown };
|
|
3441
3591
|
|
|
3442
3592
|
/**
|
|
3443
|
-
*
|
|
3444
|
-
*
|
|
3445
|
-
*
|
|
3593
|
+
* Deprecated and inert: it no longer affects the call. It set how long the persona
|
|
3594
|
+
* waited once the agent stopped talking, and measured across production
|
|
3595
|
+
* simulations it moved the reply gap by less than the noise floor, because model
|
|
3596
|
+
* and speech latency dominate it. Every persona now uses one voice-activity
|
|
3597
|
+
* profile. Use `interruption` for a caller who talks over the agent. Still
|
|
3598
|
+
* accepted and stored so existing clients keep working. BARGE_IN is stored as
|
|
3599
|
+
* `responseTiming: QUICK` with `interruption: OCCASIONAL`.
|
|
3446
3600
|
*/
|
|
3447
3601
|
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
3448
3602
|
|
|
@@ -3730,6 +3884,16 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
|
|
|
3730
3884
|
*/
|
|
3731
3885
|
intentClarity: 'CLEAR' | 'INDIRECT' | 'VAGUE';
|
|
3732
3886
|
|
|
3887
|
+
/**
|
|
3888
|
+
* How much the persona talks over the agent while it is still speaking. OFF waits
|
|
3889
|
+
* its turn. BACKCHANNEL makes listening noises ("mm-hm") over the agent without
|
|
3890
|
+
* taking the floor, which tests whether the agent wrongly stops for them.
|
|
3891
|
+
* OCCASIONAL adds cutting in on some long agent turns, HEAVY on most of them.
|
|
3892
|
+
* Timing is randomised per turn, so two runs of the same persona do not interrupt
|
|
3893
|
+
* at identical moments.
|
|
3894
|
+
*/
|
|
3895
|
+
interruption: 'OFF' | 'BACKCHANNEL' | 'OCCASIONAL' | 'HEAVY';
|
|
3896
|
+
|
|
3733
3897
|
/**
|
|
3734
3898
|
* Primary language ISO 639-1 code for the persona
|
|
3735
3899
|
*/
|
|
@@ -3769,9 +3933,13 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
|
|
|
3769
3933
|
properties: { [key: string]: unknown };
|
|
3770
3934
|
|
|
3771
3935
|
/**
|
|
3772
|
-
*
|
|
3773
|
-
*
|
|
3774
|
-
*
|
|
3936
|
+
* Deprecated and inert: it no longer affects the call. It set how long the persona
|
|
3937
|
+
* waited once the agent stopped talking, and measured across production
|
|
3938
|
+
* simulations it moved the reply gap by less than the noise floor, because model
|
|
3939
|
+
* and speech latency dominate it. Every persona now uses one voice-activity
|
|
3940
|
+
* profile. Use `interruption` for a caller who talks over the agent. Still
|
|
3941
|
+
* accepted and stored so existing clients keep working. BARGE_IN is stored as
|
|
3942
|
+
* `responseTiming: QUICK` with `interruption: OCCASIONAL`.
|
|
3775
3943
|
*/
|
|
3776
3944
|
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
3777
3945
|
|