@roarkanalytics/sdk 3.12.0 → 3.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/client.d.mts +5 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -2
- 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/benchmark.d.mts +547 -0
- package/resources/benchmark.d.mts.map +1 -0
- package/resources/benchmark.d.ts +547 -0
- package/resources/benchmark.d.ts.map +1 -0
- package/resources/benchmark.js +110 -0
- package/resources/benchmark.js.map +1 -0
- package/resources/benchmark.mjs +106 -0
- package/resources/benchmark.mjs.map +1 -0
- package/resources/config.d.mts +6 -6
- package/resources/config.d.mts.map +1 -1
- package/resources/config.d.ts +6 -6
- package/resources/config.d.ts.map +1 -1
- package/resources/customer-flow-edge-case.d.mts +45 -36
- package/resources/customer-flow-edge-case.d.mts.map +1 -1
- package/resources/customer-flow-edge-case.d.ts +45 -36
- package/resources/customer-flow-edge-case.d.ts.map +1 -1
- package/resources/customer-flow.d.mts +189 -144
- package/resources/customer-flow.d.mts.map +1 -1
- package/resources/customer-flow.d.ts +189 -144
- package/resources/customer-flow.d.ts.map +1 -1
- package/resources/index.d.mts +2 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -1
- 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-environment.d.mts +6 -6
- package/resources/simulation-environment.d.mts.map +1 -1
- package/resources/simulation-environment.d.ts +6 -6
- package/resources/simulation-environment.d.ts.map +1 -1
- package/resources/simulation-job.d.mts +8 -6
- package/resources/simulation-job.d.mts.map +1 -1
- package/resources/simulation-job.d.ts +8 -6
- package/resources/simulation-job.d.ts.map +1 -1
- package/resources/simulation-persona.d.mts +24 -18
- package/resources/simulation-persona.d.mts.map +1 -1
- package/resources/simulation-persona.d.ts +24 -18
- package/resources/simulation-persona.d.ts.map +1 -1
- package/resources/simulation-run-plan-job.d.mts +142 -4
- package/resources/simulation-run-plan-job.d.mts.map +1 -1
- package/resources/simulation-run-plan-job.d.ts +142 -4
- package/resources/simulation-run-plan-job.d.ts.map +1 -1
- package/resources/simulation-run-plan-job.js +16 -0
- package/resources/simulation-run-plan-job.js.map +1 -1
- package/resources/simulation-run-plan-job.mjs +16 -0
- package/resources/simulation-run-plan-job.mjs.map +1 -1
- package/resources/simulation-run-plan.d.mts +38 -0
- package/resources/simulation-run-plan.d.mts.map +1 -1
- package/resources/simulation-run-plan.d.ts +38 -0
- package/resources/simulation-run-plan.d.ts.map +1 -1
- package/resources/simulation.d.mts +9 -0
- package/resources/simulation.d.mts.map +1 -1
- package/resources/simulation.d.ts +9 -0
- package/resources/simulation.d.ts.map +1 -1
- package/src/client.ts +33 -0
- package/src/resources/benchmark.ts +740 -0
- package/src/resources/config.ts +18 -6
- package/src/resources/customer-flow-edge-case.ts +117 -36
- package/src/resources/customer-flow.ts +480 -145
- package/src/resources/index.ts +15 -0
- package/src/resources/simulation-environment.ts +30 -6
- package/src/resources/simulation-job.ts +16 -6
- package/src/resources/simulation-persona.ts +48 -18
- package/src/resources/simulation-run-plan-job.ts +206 -3
- package/src/resources/simulation-run-plan.ts +44 -0
- package/src/resources/simulation.ts +10 -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/config.ts
CHANGED
|
@@ -145,9 +145,13 @@ export namespace Bundle {
|
|
|
145
145
|
| 'CHILDREN_PLAYING'
|
|
146
146
|
| 'CITY'
|
|
147
147
|
| 'COFFEE_SHOP'
|
|
148
|
+
| 'CONSTRUCTION'
|
|
149
|
+
| 'CRYING_BABY'
|
|
148
150
|
| 'DRIVING'
|
|
151
|
+
| 'LIBRARY'
|
|
149
152
|
| 'OFFICE'
|
|
150
|
-
| 'THUNDERSTORM'
|
|
153
|
+
| 'THUNDERSTORM'
|
|
154
|
+
| 'TRAIN';
|
|
151
155
|
|
|
152
156
|
backstoryPrompt?: string | null;
|
|
153
157
|
|
|
@@ -185,7 +189,7 @@ export namespace Bundle {
|
|
|
185
189
|
|
|
186
190
|
properties?: { [key: string]: unknown };
|
|
187
191
|
|
|
188
|
-
responseTiming?: 'RELAXED' | 'NORMAL' | 'QUICK';
|
|
192
|
+
responseTiming?: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
189
193
|
|
|
190
194
|
secondaryLanguage?: 'EN';
|
|
191
195
|
|
|
@@ -772,9 +776,13 @@ export namespace ConfigApplyParams {
|
|
|
772
776
|
| 'CHILDREN_PLAYING'
|
|
773
777
|
| 'CITY'
|
|
774
778
|
| 'COFFEE_SHOP'
|
|
779
|
+
| 'CONSTRUCTION'
|
|
780
|
+
| 'CRYING_BABY'
|
|
775
781
|
| 'DRIVING'
|
|
782
|
+
| 'LIBRARY'
|
|
776
783
|
| 'OFFICE'
|
|
777
|
-
| 'THUNDERSTORM'
|
|
784
|
+
| 'THUNDERSTORM'
|
|
785
|
+
| 'TRAIN';
|
|
778
786
|
|
|
779
787
|
backstoryPrompt?: string | null;
|
|
780
788
|
|
|
@@ -812,7 +820,7 @@ export namespace ConfigApplyParams {
|
|
|
812
820
|
|
|
813
821
|
properties?: { [key: string]: unknown };
|
|
814
822
|
|
|
815
|
-
responseTiming?: 'RELAXED' | 'NORMAL' | 'QUICK';
|
|
823
|
+
responseTiming?: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
816
824
|
|
|
817
825
|
secondaryLanguage?: 'EN';
|
|
818
826
|
|
|
@@ -1276,9 +1284,13 @@ export namespace ConfigDiffParams {
|
|
|
1276
1284
|
| 'CHILDREN_PLAYING'
|
|
1277
1285
|
| 'CITY'
|
|
1278
1286
|
| 'COFFEE_SHOP'
|
|
1287
|
+
| 'CONSTRUCTION'
|
|
1288
|
+
| 'CRYING_BABY'
|
|
1279
1289
|
| 'DRIVING'
|
|
1290
|
+
| 'LIBRARY'
|
|
1280
1291
|
| 'OFFICE'
|
|
1281
|
-
| 'THUNDERSTORM'
|
|
1292
|
+
| 'THUNDERSTORM'
|
|
1293
|
+
| 'TRAIN';
|
|
1282
1294
|
|
|
1283
1295
|
backstoryPrompt?: string | null;
|
|
1284
1296
|
|
|
@@ -1316,7 +1328,7 @@ export namespace ConfigDiffParams {
|
|
|
1316
1328
|
|
|
1317
1329
|
properties?: { [key: string]: unknown };
|
|
1318
1330
|
|
|
1319
|
-
responseTiming?: 'RELAXED' | 'NORMAL' | 'QUICK';
|
|
1331
|
+
responseTiming?: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
1320
1332
|
|
|
1321
1333
|
secondaryLanguage?: 'EN';
|
|
1322
1334
|
|
|
@@ -193,9 +193,13 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
|
|
|
193
193
|
| 'CHILDREN_PLAYING'
|
|
194
194
|
| 'CITY'
|
|
195
195
|
| 'COFFEE_SHOP'
|
|
196
|
+
| 'CONSTRUCTION'
|
|
197
|
+
| 'CRYING_BABY'
|
|
196
198
|
| 'DRIVING'
|
|
199
|
+
| 'LIBRARY'
|
|
197
200
|
| 'OFFICE'
|
|
198
|
-
| 'THUNDERSTORM'
|
|
201
|
+
| 'THUNDERSTORM'
|
|
202
|
+
| 'TRAIN';
|
|
199
203
|
|
|
200
204
|
backgroundNoiseVolume: number;
|
|
201
205
|
|
|
@@ -267,9 +271,13 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
|
|
|
267
271
|
| 'CHILDREN_PLAYING'
|
|
268
272
|
| 'CITY'
|
|
269
273
|
| 'COFFEE_SHOP'
|
|
274
|
+
| 'CONSTRUCTION'
|
|
275
|
+
| 'CRYING_BABY'
|
|
270
276
|
| 'DRIVING'
|
|
277
|
+
| 'LIBRARY'
|
|
271
278
|
| 'OFFICE'
|
|
272
|
-
| 'THUNDERSTORM'
|
|
279
|
+
| 'THUNDERSTORM'
|
|
280
|
+
| 'TRAIN';
|
|
273
281
|
|
|
274
282
|
/**
|
|
275
283
|
* Base emotional state of the persona
|
|
@@ -372,9 +380,10 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
|
|
|
372
380
|
|
|
373
381
|
/**
|
|
374
382
|
* Controls how quickly the persona responds to pauses in conversation (QUICK,
|
|
375
|
-
* NORMAL, RELAXED)
|
|
383
|
+
* NORMAL, RELAXED). BARGE_IN also talks over the agent once it has held the floor
|
|
384
|
+
* for several seconds.
|
|
376
385
|
*/
|
|
377
|
-
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK';
|
|
386
|
+
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
378
387
|
|
|
379
388
|
/**
|
|
380
389
|
* Speech clarity of the persona
|
|
@@ -518,9 +527,13 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
|
|
|
518
527
|
| 'CHILDREN_PLAYING'
|
|
519
528
|
| 'CITY'
|
|
520
529
|
| 'COFFEE_SHOP'
|
|
530
|
+
| 'CONSTRUCTION'
|
|
531
|
+
| 'CRYING_BABY'
|
|
521
532
|
| 'DRIVING'
|
|
533
|
+
| 'LIBRARY'
|
|
522
534
|
| 'OFFICE'
|
|
523
|
-
| 'THUNDERSTORM'
|
|
535
|
+
| 'THUNDERSTORM'
|
|
536
|
+
| 'TRAIN';
|
|
524
537
|
|
|
525
538
|
backgroundNoiseVolume: number;
|
|
526
539
|
|
|
@@ -592,9 +605,13 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
|
|
|
592
605
|
| 'CHILDREN_PLAYING'
|
|
593
606
|
| 'CITY'
|
|
594
607
|
| 'COFFEE_SHOP'
|
|
608
|
+
| 'CONSTRUCTION'
|
|
609
|
+
| 'CRYING_BABY'
|
|
595
610
|
| 'DRIVING'
|
|
611
|
+
| 'LIBRARY'
|
|
596
612
|
| 'OFFICE'
|
|
597
|
-
| 'THUNDERSTORM'
|
|
613
|
+
| 'THUNDERSTORM'
|
|
614
|
+
| 'TRAIN';
|
|
598
615
|
|
|
599
616
|
/**
|
|
600
617
|
* Base emotional state of the persona
|
|
@@ -697,9 +714,10 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
|
|
|
697
714
|
|
|
698
715
|
/**
|
|
699
716
|
* Controls how quickly the persona responds to pauses in conversation (QUICK,
|
|
700
|
-
* NORMAL, RELAXED)
|
|
717
|
+
* NORMAL, RELAXED). BARGE_IN also talks over the agent once it has held the floor
|
|
718
|
+
* for several seconds.
|
|
701
719
|
*/
|
|
702
|
-
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK';
|
|
720
|
+
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
703
721
|
|
|
704
722
|
/**
|
|
705
723
|
* Speech clarity of the persona
|
|
@@ -838,9 +856,13 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
|
|
|
838
856
|
| 'CHILDREN_PLAYING'
|
|
839
857
|
| 'CITY'
|
|
840
858
|
| 'COFFEE_SHOP'
|
|
859
|
+
| 'CONSTRUCTION'
|
|
860
|
+
| 'CRYING_BABY'
|
|
841
861
|
| 'DRIVING'
|
|
862
|
+
| 'LIBRARY'
|
|
842
863
|
| 'OFFICE'
|
|
843
|
-
| 'THUNDERSTORM'
|
|
864
|
+
| 'THUNDERSTORM'
|
|
865
|
+
| 'TRAIN';
|
|
844
866
|
|
|
845
867
|
backgroundNoiseVolume: number;
|
|
846
868
|
|
|
@@ -912,9 +934,13 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
|
|
|
912
934
|
| 'CHILDREN_PLAYING'
|
|
913
935
|
| 'CITY'
|
|
914
936
|
| 'COFFEE_SHOP'
|
|
937
|
+
| 'CONSTRUCTION'
|
|
938
|
+
| 'CRYING_BABY'
|
|
915
939
|
| 'DRIVING'
|
|
940
|
+
| 'LIBRARY'
|
|
916
941
|
| 'OFFICE'
|
|
917
|
-
| 'THUNDERSTORM'
|
|
942
|
+
| 'THUNDERSTORM'
|
|
943
|
+
| 'TRAIN';
|
|
918
944
|
|
|
919
945
|
/**
|
|
920
946
|
* Base emotional state of the persona
|
|
@@ -1017,9 +1043,10 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
|
|
|
1017
1043
|
|
|
1018
1044
|
/**
|
|
1019
1045
|
* Controls how quickly the persona responds to pauses in conversation (QUICK,
|
|
1020
|
-
* NORMAL, RELAXED)
|
|
1046
|
+
* NORMAL, RELAXED). BARGE_IN also talks over the agent once it has held the floor
|
|
1047
|
+
* for several seconds.
|
|
1021
1048
|
*/
|
|
1022
|
-
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK';
|
|
1049
|
+
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
1023
1050
|
|
|
1024
1051
|
/**
|
|
1025
1052
|
* Speech clarity of the persona
|
|
@@ -1177,9 +1204,13 @@ export namespace CustomerFlowEdgeCaseAddResponse {
|
|
|
1177
1204
|
| 'CHILDREN_PLAYING'
|
|
1178
1205
|
| 'CITY'
|
|
1179
1206
|
| 'COFFEE_SHOP'
|
|
1207
|
+
| 'CONSTRUCTION'
|
|
1208
|
+
| 'CRYING_BABY'
|
|
1180
1209
|
| 'DRIVING'
|
|
1210
|
+
| 'LIBRARY'
|
|
1181
1211
|
| 'OFFICE'
|
|
1182
|
-
| 'THUNDERSTORM'
|
|
1212
|
+
| 'THUNDERSTORM'
|
|
1213
|
+
| 'TRAIN';
|
|
1183
1214
|
|
|
1184
1215
|
backgroundNoiseVolume: number;
|
|
1185
1216
|
|
|
@@ -1251,9 +1282,13 @@ export namespace CustomerFlowEdgeCaseAddResponse {
|
|
|
1251
1282
|
| 'CHILDREN_PLAYING'
|
|
1252
1283
|
| 'CITY'
|
|
1253
1284
|
| 'COFFEE_SHOP'
|
|
1285
|
+
| 'CONSTRUCTION'
|
|
1286
|
+
| 'CRYING_BABY'
|
|
1254
1287
|
| 'DRIVING'
|
|
1288
|
+
| 'LIBRARY'
|
|
1255
1289
|
| 'OFFICE'
|
|
1256
|
-
| 'THUNDERSTORM'
|
|
1290
|
+
| 'THUNDERSTORM'
|
|
1291
|
+
| 'TRAIN';
|
|
1257
1292
|
|
|
1258
1293
|
/**
|
|
1259
1294
|
* Base emotional state of the persona
|
|
@@ -1356,9 +1391,10 @@ export namespace CustomerFlowEdgeCaseAddResponse {
|
|
|
1356
1391
|
|
|
1357
1392
|
/**
|
|
1358
1393
|
* Controls how quickly the persona responds to pauses in conversation (QUICK,
|
|
1359
|
-
* NORMAL, RELAXED)
|
|
1394
|
+
* NORMAL, RELAXED). BARGE_IN also talks over the agent once it has held the floor
|
|
1395
|
+
* for several seconds.
|
|
1360
1396
|
*/
|
|
1361
|
-
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK';
|
|
1397
|
+
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
1362
1398
|
|
|
1363
1399
|
/**
|
|
1364
1400
|
* Speech clarity of the persona
|
|
@@ -1502,9 +1538,13 @@ export namespace CustomerFlowEdgeCaseAddResponse {
|
|
|
1502
1538
|
| 'CHILDREN_PLAYING'
|
|
1503
1539
|
| 'CITY'
|
|
1504
1540
|
| 'COFFEE_SHOP'
|
|
1541
|
+
| 'CONSTRUCTION'
|
|
1542
|
+
| 'CRYING_BABY'
|
|
1505
1543
|
| 'DRIVING'
|
|
1544
|
+
| 'LIBRARY'
|
|
1506
1545
|
| 'OFFICE'
|
|
1507
|
-
| 'THUNDERSTORM'
|
|
1546
|
+
| 'THUNDERSTORM'
|
|
1547
|
+
| 'TRAIN';
|
|
1508
1548
|
|
|
1509
1549
|
backgroundNoiseVolume: number;
|
|
1510
1550
|
|
|
@@ -1576,9 +1616,13 @@ export namespace CustomerFlowEdgeCaseAddResponse {
|
|
|
1576
1616
|
| 'CHILDREN_PLAYING'
|
|
1577
1617
|
| 'CITY'
|
|
1578
1618
|
| 'COFFEE_SHOP'
|
|
1619
|
+
| 'CONSTRUCTION'
|
|
1620
|
+
| 'CRYING_BABY'
|
|
1579
1621
|
| 'DRIVING'
|
|
1622
|
+
| 'LIBRARY'
|
|
1580
1623
|
| 'OFFICE'
|
|
1581
|
-
| 'THUNDERSTORM'
|
|
1624
|
+
| 'THUNDERSTORM'
|
|
1625
|
+
| 'TRAIN';
|
|
1582
1626
|
|
|
1583
1627
|
/**
|
|
1584
1628
|
* Base emotional state of the persona
|
|
@@ -1681,9 +1725,10 @@ export namespace CustomerFlowEdgeCaseAddResponse {
|
|
|
1681
1725
|
|
|
1682
1726
|
/**
|
|
1683
1727
|
* Controls how quickly the persona responds to pauses in conversation (QUICK,
|
|
1684
|
-
* NORMAL, RELAXED)
|
|
1728
|
+
* NORMAL, RELAXED). BARGE_IN also talks over the agent once it has held the floor
|
|
1729
|
+
* for several seconds.
|
|
1685
1730
|
*/
|
|
1686
|
-
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK';
|
|
1731
|
+
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
1687
1732
|
|
|
1688
1733
|
/**
|
|
1689
1734
|
* Speech clarity of the persona
|
|
@@ -1822,9 +1867,13 @@ export namespace CustomerFlowEdgeCaseAddResponse {
|
|
|
1822
1867
|
| 'CHILDREN_PLAYING'
|
|
1823
1868
|
| 'CITY'
|
|
1824
1869
|
| 'COFFEE_SHOP'
|
|
1870
|
+
| 'CONSTRUCTION'
|
|
1871
|
+
| 'CRYING_BABY'
|
|
1825
1872
|
| 'DRIVING'
|
|
1873
|
+
| 'LIBRARY'
|
|
1826
1874
|
| 'OFFICE'
|
|
1827
|
-
| 'THUNDERSTORM'
|
|
1875
|
+
| 'THUNDERSTORM'
|
|
1876
|
+
| 'TRAIN';
|
|
1828
1877
|
|
|
1829
1878
|
backgroundNoiseVolume: number;
|
|
1830
1879
|
|
|
@@ -1896,9 +1945,13 @@ export namespace CustomerFlowEdgeCaseAddResponse {
|
|
|
1896
1945
|
| 'CHILDREN_PLAYING'
|
|
1897
1946
|
| 'CITY'
|
|
1898
1947
|
| 'COFFEE_SHOP'
|
|
1948
|
+
| 'CONSTRUCTION'
|
|
1949
|
+
| 'CRYING_BABY'
|
|
1899
1950
|
| 'DRIVING'
|
|
1951
|
+
| 'LIBRARY'
|
|
1900
1952
|
| 'OFFICE'
|
|
1901
|
-
| 'THUNDERSTORM'
|
|
1953
|
+
| 'THUNDERSTORM'
|
|
1954
|
+
| 'TRAIN';
|
|
1902
1955
|
|
|
1903
1956
|
/**
|
|
1904
1957
|
* Base emotional state of the persona
|
|
@@ -2001,9 +2054,10 @@ export namespace CustomerFlowEdgeCaseAddResponse {
|
|
|
2001
2054
|
|
|
2002
2055
|
/**
|
|
2003
2056
|
* Controls how quickly the persona responds to pauses in conversation (QUICK,
|
|
2004
|
-
* NORMAL, RELAXED)
|
|
2057
|
+
* NORMAL, RELAXED). BARGE_IN also talks over the agent once it has held the floor
|
|
2058
|
+
* for several seconds.
|
|
2005
2059
|
*/
|
|
2006
|
-
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK';
|
|
2060
|
+
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
2007
2061
|
|
|
2008
2062
|
/**
|
|
2009
2063
|
* Speech clarity of the persona
|
|
@@ -2161,9 +2215,13 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
|
|
|
2161
2215
|
| 'CHILDREN_PLAYING'
|
|
2162
2216
|
| 'CITY'
|
|
2163
2217
|
| 'COFFEE_SHOP'
|
|
2218
|
+
| 'CONSTRUCTION'
|
|
2219
|
+
| 'CRYING_BABY'
|
|
2164
2220
|
| 'DRIVING'
|
|
2221
|
+
| 'LIBRARY'
|
|
2165
2222
|
| 'OFFICE'
|
|
2166
|
-
| 'THUNDERSTORM'
|
|
2223
|
+
| 'THUNDERSTORM'
|
|
2224
|
+
| 'TRAIN';
|
|
2167
2225
|
|
|
2168
2226
|
backgroundNoiseVolume: number;
|
|
2169
2227
|
|
|
@@ -2235,9 +2293,13 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
|
|
|
2235
2293
|
| 'CHILDREN_PLAYING'
|
|
2236
2294
|
| 'CITY'
|
|
2237
2295
|
| 'COFFEE_SHOP'
|
|
2296
|
+
| 'CONSTRUCTION'
|
|
2297
|
+
| 'CRYING_BABY'
|
|
2238
2298
|
| 'DRIVING'
|
|
2299
|
+
| 'LIBRARY'
|
|
2239
2300
|
| 'OFFICE'
|
|
2240
|
-
| 'THUNDERSTORM'
|
|
2301
|
+
| 'THUNDERSTORM'
|
|
2302
|
+
| 'TRAIN';
|
|
2241
2303
|
|
|
2242
2304
|
/**
|
|
2243
2305
|
* Base emotional state of the persona
|
|
@@ -2340,9 +2402,10 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
|
|
|
2340
2402
|
|
|
2341
2403
|
/**
|
|
2342
2404
|
* Controls how quickly the persona responds to pauses in conversation (QUICK,
|
|
2343
|
-
* NORMAL, RELAXED)
|
|
2405
|
+
* NORMAL, RELAXED). BARGE_IN also talks over the agent once it has held the floor
|
|
2406
|
+
* for several seconds.
|
|
2344
2407
|
*/
|
|
2345
|
-
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK';
|
|
2408
|
+
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
2346
2409
|
|
|
2347
2410
|
/**
|
|
2348
2411
|
* Speech clarity of the persona
|
|
@@ -2486,9 +2549,13 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
|
|
|
2486
2549
|
| 'CHILDREN_PLAYING'
|
|
2487
2550
|
| 'CITY'
|
|
2488
2551
|
| 'COFFEE_SHOP'
|
|
2552
|
+
| 'CONSTRUCTION'
|
|
2553
|
+
| 'CRYING_BABY'
|
|
2489
2554
|
| 'DRIVING'
|
|
2555
|
+
| 'LIBRARY'
|
|
2490
2556
|
| 'OFFICE'
|
|
2491
|
-
| 'THUNDERSTORM'
|
|
2557
|
+
| 'THUNDERSTORM'
|
|
2558
|
+
| 'TRAIN';
|
|
2492
2559
|
|
|
2493
2560
|
backgroundNoiseVolume: number;
|
|
2494
2561
|
|
|
@@ -2560,9 +2627,13 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
|
|
|
2560
2627
|
| 'CHILDREN_PLAYING'
|
|
2561
2628
|
| 'CITY'
|
|
2562
2629
|
| 'COFFEE_SHOP'
|
|
2630
|
+
| 'CONSTRUCTION'
|
|
2631
|
+
| 'CRYING_BABY'
|
|
2563
2632
|
| 'DRIVING'
|
|
2633
|
+
| 'LIBRARY'
|
|
2564
2634
|
| 'OFFICE'
|
|
2565
|
-
| 'THUNDERSTORM'
|
|
2635
|
+
| 'THUNDERSTORM'
|
|
2636
|
+
| 'TRAIN';
|
|
2566
2637
|
|
|
2567
2638
|
/**
|
|
2568
2639
|
* Base emotional state of the persona
|
|
@@ -2665,9 +2736,10 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
|
|
|
2665
2736
|
|
|
2666
2737
|
/**
|
|
2667
2738
|
* Controls how quickly the persona responds to pauses in conversation (QUICK,
|
|
2668
|
-
* NORMAL, RELAXED)
|
|
2739
|
+
* NORMAL, RELAXED). BARGE_IN also talks over the agent once it has held the floor
|
|
2740
|
+
* for several seconds.
|
|
2669
2741
|
*/
|
|
2670
|
-
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK';
|
|
2742
|
+
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
2671
2743
|
|
|
2672
2744
|
/**
|
|
2673
2745
|
* Speech clarity of the persona
|
|
@@ -2806,9 +2878,13 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
|
|
|
2806
2878
|
| 'CHILDREN_PLAYING'
|
|
2807
2879
|
| 'CITY'
|
|
2808
2880
|
| 'COFFEE_SHOP'
|
|
2881
|
+
| 'CONSTRUCTION'
|
|
2882
|
+
| 'CRYING_BABY'
|
|
2809
2883
|
| 'DRIVING'
|
|
2884
|
+
| 'LIBRARY'
|
|
2810
2885
|
| 'OFFICE'
|
|
2811
|
-
| 'THUNDERSTORM'
|
|
2886
|
+
| 'THUNDERSTORM'
|
|
2887
|
+
| 'TRAIN';
|
|
2812
2888
|
|
|
2813
2889
|
backgroundNoiseVolume: number;
|
|
2814
2890
|
|
|
@@ -2880,9 +2956,13 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
|
|
|
2880
2956
|
| 'CHILDREN_PLAYING'
|
|
2881
2957
|
| 'CITY'
|
|
2882
2958
|
| 'COFFEE_SHOP'
|
|
2959
|
+
| 'CONSTRUCTION'
|
|
2960
|
+
| 'CRYING_BABY'
|
|
2883
2961
|
| 'DRIVING'
|
|
2962
|
+
| 'LIBRARY'
|
|
2884
2963
|
| 'OFFICE'
|
|
2885
|
-
| 'THUNDERSTORM'
|
|
2964
|
+
| 'THUNDERSTORM'
|
|
2965
|
+
| 'TRAIN';
|
|
2886
2966
|
|
|
2887
2967
|
/**
|
|
2888
2968
|
* Base emotional state of the persona
|
|
@@ -2985,9 +3065,10 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
|
|
|
2985
3065
|
|
|
2986
3066
|
/**
|
|
2987
3067
|
* Controls how quickly the persona responds to pauses in conversation (QUICK,
|
|
2988
|
-
* NORMAL, RELAXED)
|
|
3068
|
+
* NORMAL, RELAXED). BARGE_IN also talks over the agent once it has held the floor
|
|
3069
|
+
* for several seconds.
|
|
2989
3070
|
*/
|
|
2990
|
-
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK';
|
|
3071
|
+
responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
|
|
2991
3072
|
|
|
2992
3073
|
/**
|
|
2993
3074
|
* Speech clarity of the persona
|