@roarkanalytics/sdk 3.11.0 → 3.13.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.
Files changed (110) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/client.d.mts +12 -6
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +12 -6
  5. package/client.d.ts.map +1 -1
  6. package/client.js +6 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +6 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/agent-prompt.d.mts +129 -0
  12. package/resources/agent-prompt.d.mts.map +1 -0
  13. package/resources/agent-prompt.d.ts +129 -0
  14. package/resources/agent-prompt.d.ts.map +1 -0
  15. package/resources/agent-prompt.js +58 -0
  16. package/resources/agent-prompt.js.map +1 -0
  17. package/resources/agent-prompt.mjs +54 -0
  18. package/resources/agent-prompt.mjs.map +1 -0
  19. package/resources/benchmark.d.mts +547 -0
  20. package/resources/benchmark.d.mts.map +1 -0
  21. package/resources/benchmark.d.ts +547 -0
  22. package/resources/benchmark.d.ts.map +1 -0
  23. package/resources/benchmark.js +110 -0
  24. package/resources/benchmark.js.map +1 -0
  25. package/resources/benchmark.mjs +106 -0
  26. package/resources/benchmark.mjs.map +1 -0
  27. package/resources/call.d.mts +1 -1
  28. package/resources/call.d.mts.map +1 -1
  29. package/resources/call.d.ts +1 -1
  30. package/resources/call.d.ts.map +1 -1
  31. package/resources/config.d.mts +169 -21
  32. package/resources/config.d.mts.map +1 -1
  33. package/resources/config.d.ts +169 -21
  34. package/resources/config.d.ts.map +1 -1
  35. package/resources/customer-flow-edge-case.d.mts +99 -27
  36. package/resources/customer-flow-edge-case.d.mts.map +1 -1
  37. package/resources/customer-flow-edge-case.d.ts +99 -27
  38. package/resources/customer-flow-edge-case.d.ts.map +1 -1
  39. package/resources/customer-flow.d.mts +2110 -138
  40. package/resources/customer-flow.d.mts.map +1 -1
  41. package/resources/customer-flow.d.ts +2110 -138
  42. package/resources/customer-flow.d.ts.map +1 -1
  43. package/resources/customer-flow.js +18 -0
  44. package/resources/customer-flow.js.map +1 -1
  45. package/resources/customer-flow.mjs +18 -0
  46. package/resources/customer-flow.mjs.map +1 -1
  47. package/resources/index.d.mts +5 -3
  48. package/resources/index.d.mts.map +1 -1
  49. package/resources/index.d.ts +5 -3
  50. package/resources/index.d.ts.map +1 -1
  51. package/resources/index.js +5 -1
  52. package/resources/index.js.map +1 -1
  53. package/resources/index.mjs +2 -0
  54. package/resources/index.mjs.map +1 -1
  55. package/resources/simulation-environment.d.mts +163 -1
  56. package/resources/simulation-environment.d.mts.map +1 -1
  57. package/resources/simulation-environment.d.ts +163 -1
  58. package/resources/simulation-environment.d.ts.map +1 -1
  59. package/resources/simulation-environment.js +51 -0
  60. package/resources/simulation-environment.js.map +1 -1
  61. package/resources/simulation-environment.mjs +51 -0
  62. package/resources/simulation-environment.mjs.map +1 -1
  63. package/resources/simulation-job.d.mts +68 -6
  64. package/resources/simulation-job.d.mts.map +1 -1
  65. package/resources/simulation-job.d.ts +68 -6
  66. package/resources/simulation-job.d.ts.map +1 -1
  67. package/resources/simulation-persona.d.mts +60 -18
  68. package/resources/simulation-persona.d.mts.map +1 -1
  69. package/resources/simulation-persona.d.ts +60 -18
  70. package/resources/simulation-persona.d.ts.map +1 -1
  71. package/resources/simulation-run-plan-job.d.mts +172 -4
  72. package/resources/simulation-run-plan-job.d.mts.map +1 -1
  73. package/resources/simulation-run-plan-job.d.ts +172 -4
  74. package/resources/simulation-run-plan-job.d.ts.map +1 -1
  75. package/resources/simulation-run-plan-job.js +16 -0
  76. package/resources/simulation-run-plan-job.js.map +1 -1
  77. package/resources/simulation-run-plan-job.mjs +16 -0
  78. package/resources/simulation-run-plan-job.mjs.map +1 -1
  79. package/resources/simulation-run-plan.d.mts +102 -0
  80. package/resources/simulation-run-plan.d.mts.map +1 -1
  81. package/resources/simulation-run-plan.d.ts +102 -0
  82. package/resources/simulation-run-plan.d.ts.map +1 -1
  83. package/resources/simulation-template.d.mts +10 -0
  84. package/resources/simulation-template.d.mts.map +1 -1
  85. package/resources/simulation-template.d.ts +10 -0
  86. package/resources/simulation-template.d.ts.map +1 -1
  87. package/resources/simulation.d.mts +26 -1
  88. package/resources/simulation.d.mts.map +1 -1
  89. package/resources/simulation.d.ts +26 -1
  90. package/resources/simulation.d.ts.map +1 -1
  91. package/src/client.ts +66 -0
  92. package/src/resources/agent-prompt.ts +183 -0
  93. package/src/resources/benchmark.ts +740 -0
  94. package/src/resources/call.ts +1 -1
  95. package/src/resources/config.ts +313 -23
  96. package/src/resources/customer-flow-edge-case.ts +207 -27
  97. package/src/resources/customer-flow.ts +3198 -123
  98. package/src/resources/index.ts +30 -0
  99. package/src/resources/simulation-environment.ts +244 -0
  100. package/src/resources/simulation-job.ts +98 -6
  101. package/src/resources/simulation-persona.ts +126 -18
  102. package/src/resources/simulation-run-plan-job.ts +240 -3
  103. package/src/resources/simulation-run-plan.ts +118 -0
  104. package/src/resources/simulation-template.ts +11 -0
  105. package/src/resources/simulation.ts +28 -1
  106. package/src/version.ts +1 -1
  107. package/version.d.mts +1 -1
  108. package/version.d.ts +1 -1
  109. package/version.js +1 -1
  110. package/version.mjs +1 -1
@@ -197,6 +197,8 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
197
197
  | 'OFFICE'
198
198
  | 'THUNDERSTORM';
199
199
 
200
+ backgroundNoiseVolume: number;
201
+
200
202
  /**
201
203
  * Creation timestamp in ISO 8601 format
202
204
  */
@@ -272,7 +274,17 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
272
274
  /**
273
275
  * Base emotional state of the persona
274
276
  */
275
- baseEmotion: 'NEUTRAL' | 'CHEERFUL' | 'CONFUSED' | 'FRUSTRATED' | 'SKEPTICAL' | 'RUSHED' | 'DISTRACTED';
277
+ baseEmotion:
278
+ | 'NEUTRAL'
279
+ | 'CHEERFUL'
280
+ | 'CONFUSED'
281
+ | 'FRUSTRATED'
282
+ | 'SKEPTICAL'
283
+ | 'RUSHED'
284
+ | 'DISTRACTED'
285
+ | 'ANGRY'
286
+ | 'ANXIOUS'
287
+ | 'SAD';
276
288
 
277
289
  /**
278
290
  * How the persona confirms information
@@ -360,9 +372,10 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
360
372
 
361
373
  /**
362
374
  * Controls how quickly the persona responds to pauses in conversation (QUICK,
363
- * NORMAL, RELAXED)
375
+ * NORMAL, RELAXED). BARGE_IN also talks over the agent once it has held the floor
376
+ * for several seconds.
364
377
  */
365
- responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK';
378
+ responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
366
379
 
367
380
  /**
368
381
  * Speech clarity of the persona
@@ -414,6 +427,13 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
414
427
  */
415
428
  description?: string | null;
416
429
 
430
+ /**
431
+ * Label shown in place of the name across the dashboard (e.g. a short descriptor
432
+ * like "Irate Escalator"). The persona still identifies as `name` on calls. Omit
433
+ * or set null to display the name itself.
434
+ */
435
+ displayName?: string | null;
436
+
417
437
  /**
418
438
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
419
439
  */
@@ -503,6 +523,8 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
503
523
  | 'OFFICE'
504
524
  | 'THUNDERSTORM';
505
525
 
526
+ backgroundNoiseVolume: number;
527
+
506
528
  /**
507
529
  * Creation timestamp in ISO 8601 format
508
530
  */
@@ -578,7 +600,17 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
578
600
  /**
579
601
  * Base emotional state of the persona
580
602
  */
581
- baseEmotion: 'NEUTRAL' | 'CHEERFUL' | 'CONFUSED' | 'FRUSTRATED' | 'SKEPTICAL' | 'RUSHED' | 'DISTRACTED';
603
+ baseEmotion:
604
+ | 'NEUTRAL'
605
+ | 'CHEERFUL'
606
+ | 'CONFUSED'
607
+ | 'FRUSTRATED'
608
+ | 'SKEPTICAL'
609
+ | 'RUSHED'
610
+ | 'DISTRACTED'
611
+ | 'ANGRY'
612
+ | 'ANXIOUS'
613
+ | 'SAD';
582
614
 
583
615
  /**
584
616
  * How the persona confirms information
@@ -666,9 +698,10 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
666
698
 
667
699
  /**
668
700
  * Controls how quickly the persona responds to pauses in conversation (QUICK,
669
- * NORMAL, RELAXED)
701
+ * NORMAL, RELAXED). BARGE_IN also talks over the agent once it has held the floor
702
+ * for several seconds.
670
703
  */
671
- responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK';
704
+ responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
672
705
 
673
706
  /**
674
707
  * Speech clarity of the persona
@@ -720,6 +753,13 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
720
753
  */
721
754
  description?: string | null;
722
755
 
756
+ /**
757
+ * Label shown in place of the name across the dashboard (e.g. a short descriptor
758
+ * like "Irate Escalator"). The persona still identifies as `name` on calls. Omit
759
+ * or set null to display the name itself.
760
+ */
761
+ displayName?: string | null;
762
+
723
763
  /**
724
764
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
725
765
  */
@@ -804,6 +844,8 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
804
844
  | 'OFFICE'
805
845
  | 'THUNDERSTORM';
806
846
 
847
+ backgroundNoiseVolume: number;
848
+
807
849
  /**
808
850
  * Creation timestamp in ISO 8601 format
809
851
  */
@@ -879,7 +921,17 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
879
921
  /**
880
922
  * Base emotional state of the persona
881
923
  */
882
- baseEmotion: 'NEUTRAL' | 'CHEERFUL' | 'CONFUSED' | 'FRUSTRATED' | 'SKEPTICAL' | 'RUSHED' | 'DISTRACTED';
924
+ baseEmotion:
925
+ | 'NEUTRAL'
926
+ | 'CHEERFUL'
927
+ | 'CONFUSED'
928
+ | 'FRUSTRATED'
929
+ | 'SKEPTICAL'
930
+ | 'RUSHED'
931
+ | 'DISTRACTED'
932
+ | 'ANGRY'
933
+ | 'ANXIOUS'
934
+ | 'SAD';
883
935
 
884
936
  /**
885
937
  * How the persona confirms information
@@ -967,9 +1019,10 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
967
1019
 
968
1020
  /**
969
1021
  * Controls how quickly the persona responds to pauses in conversation (QUICK,
970
- * NORMAL, RELAXED)
1022
+ * NORMAL, RELAXED). BARGE_IN also talks over the agent once it has held the floor
1023
+ * for several seconds.
971
1024
  */
972
- responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK';
1025
+ responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
973
1026
 
974
1027
  /**
975
1028
  * Speech clarity of the persona
@@ -1021,6 +1074,13 @@ export namespace CustomerFlowEdgeCaseUpdateResponse {
1021
1074
  */
1022
1075
  description?: string | null;
1023
1076
 
1077
+ /**
1078
+ * Label shown in place of the name across the dashboard (e.g. a short descriptor
1079
+ * like "Irate Escalator"). The persona still identifies as `name` on calls. Omit
1080
+ * or set null to display the name itself.
1081
+ */
1082
+ displayName?: string | null;
1083
+
1024
1084
  /**
1025
1085
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
1026
1086
  */
@@ -1124,6 +1184,8 @@ export namespace CustomerFlowEdgeCaseAddResponse {
1124
1184
  | 'OFFICE'
1125
1185
  | 'THUNDERSTORM';
1126
1186
 
1187
+ backgroundNoiseVolume: number;
1188
+
1127
1189
  /**
1128
1190
  * Creation timestamp in ISO 8601 format
1129
1191
  */
@@ -1199,7 +1261,17 @@ export namespace CustomerFlowEdgeCaseAddResponse {
1199
1261
  /**
1200
1262
  * Base emotional state of the persona
1201
1263
  */
1202
- baseEmotion: 'NEUTRAL' | 'CHEERFUL' | 'CONFUSED' | 'FRUSTRATED' | 'SKEPTICAL' | 'RUSHED' | 'DISTRACTED';
1264
+ baseEmotion:
1265
+ | 'NEUTRAL'
1266
+ | 'CHEERFUL'
1267
+ | 'CONFUSED'
1268
+ | 'FRUSTRATED'
1269
+ | 'SKEPTICAL'
1270
+ | 'RUSHED'
1271
+ | 'DISTRACTED'
1272
+ | 'ANGRY'
1273
+ | 'ANXIOUS'
1274
+ | 'SAD';
1203
1275
 
1204
1276
  /**
1205
1277
  * How the persona confirms information
@@ -1287,9 +1359,10 @@ export namespace CustomerFlowEdgeCaseAddResponse {
1287
1359
 
1288
1360
  /**
1289
1361
  * Controls how quickly the persona responds to pauses in conversation (QUICK,
1290
- * NORMAL, RELAXED)
1362
+ * NORMAL, RELAXED). BARGE_IN also talks over the agent once it has held the floor
1363
+ * for several seconds.
1291
1364
  */
1292
- responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK';
1365
+ responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
1293
1366
 
1294
1367
  /**
1295
1368
  * Speech clarity of the persona
@@ -1341,6 +1414,13 @@ export namespace CustomerFlowEdgeCaseAddResponse {
1341
1414
  */
1342
1415
  description?: string | null;
1343
1416
 
1417
+ /**
1418
+ * Label shown in place of the name across the dashboard (e.g. a short descriptor
1419
+ * like "Irate Escalator"). The persona still identifies as `name` on calls. Omit
1420
+ * or set null to display the name itself.
1421
+ */
1422
+ displayName?: string | null;
1423
+
1344
1424
  /**
1345
1425
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
1346
1426
  */
@@ -1430,6 +1510,8 @@ export namespace CustomerFlowEdgeCaseAddResponse {
1430
1510
  | 'OFFICE'
1431
1511
  | 'THUNDERSTORM';
1432
1512
 
1513
+ backgroundNoiseVolume: number;
1514
+
1433
1515
  /**
1434
1516
  * Creation timestamp in ISO 8601 format
1435
1517
  */
@@ -1505,7 +1587,17 @@ export namespace CustomerFlowEdgeCaseAddResponse {
1505
1587
  /**
1506
1588
  * Base emotional state of the persona
1507
1589
  */
1508
- baseEmotion: 'NEUTRAL' | 'CHEERFUL' | 'CONFUSED' | 'FRUSTRATED' | 'SKEPTICAL' | 'RUSHED' | 'DISTRACTED';
1590
+ baseEmotion:
1591
+ | 'NEUTRAL'
1592
+ | 'CHEERFUL'
1593
+ | 'CONFUSED'
1594
+ | 'FRUSTRATED'
1595
+ | 'SKEPTICAL'
1596
+ | 'RUSHED'
1597
+ | 'DISTRACTED'
1598
+ | 'ANGRY'
1599
+ | 'ANXIOUS'
1600
+ | 'SAD';
1509
1601
 
1510
1602
  /**
1511
1603
  * How the persona confirms information
@@ -1593,9 +1685,10 @@ export namespace CustomerFlowEdgeCaseAddResponse {
1593
1685
 
1594
1686
  /**
1595
1687
  * Controls how quickly the persona responds to pauses in conversation (QUICK,
1596
- * NORMAL, RELAXED)
1688
+ * NORMAL, RELAXED). BARGE_IN also talks over the agent once it has held the floor
1689
+ * for several seconds.
1597
1690
  */
1598
- responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK';
1691
+ responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
1599
1692
 
1600
1693
  /**
1601
1694
  * Speech clarity of the persona
@@ -1647,6 +1740,13 @@ export namespace CustomerFlowEdgeCaseAddResponse {
1647
1740
  */
1648
1741
  description?: string | null;
1649
1742
 
1743
+ /**
1744
+ * Label shown in place of the name across the dashboard (e.g. a short descriptor
1745
+ * like "Irate Escalator"). The persona still identifies as `name` on calls. Omit
1746
+ * or set null to display the name itself.
1747
+ */
1748
+ displayName?: string | null;
1749
+
1650
1750
  /**
1651
1751
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
1652
1752
  */
@@ -1731,6 +1831,8 @@ export namespace CustomerFlowEdgeCaseAddResponse {
1731
1831
  | 'OFFICE'
1732
1832
  | 'THUNDERSTORM';
1733
1833
 
1834
+ backgroundNoiseVolume: number;
1835
+
1734
1836
  /**
1735
1837
  * Creation timestamp in ISO 8601 format
1736
1838
  */
@@ -1806,7 +1908,17 @@ export namespace CustomerFlowEdgeCaseAddResponse {
1806
1908
  /**
1807
1909
  * Base emotional state of the persona
1808
1910
  */
1809
- baseEmotion: 'NEUTRAL' | 'CHEERFUL' | 'CONFUSED' | 'FRUSTRATED' | 'SKEPTICAL' | 'RUSHED' | 'DISTRACTED';
1911
+ baseEmotion:
1912
+ | 'NEUTRAL'
1913
+ | 'CHEERFUL'
1914
+ | 'CONFUSED'
1915
+ | 'FRUSTRATED'
1916
+ | 'SKEPTICAL'
1917
+ | 'RUSHED'
1918
+ | 'DISTRACTED'
1919
+ | 'ANGRY'
1920
+ | 'ANXIOUS'
1921
+ | 'SAD';
1810
1922
 
1811
1923
  /**
1812
1924
  * How the persona confirms information
@@ -1894,9 +2006,10 @@ export namespace CustomerFlowEdgeCaseAddResponse {
1894
2006
 
1895
2007
  /**
1896
2008
  * Controls how quickly the persona responds to pauses in conversation (QUICK,
1897
- * NORMAL, RELAXED)
2009
+ * NORMAL, RELAXED). BARGE_IN also talks over the agent once it has held the floor
2010
+ * for several seconds.
1898
2011
  */
1899
- responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK';
2012
+ responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
1900
2013
 
1901
2014
  /**
1902
2015
  * Speech clarity of the persona
@@ -1948,6 +2061,13 @@ export namespace CustomerFlowEdgeCaseAddResponse {
1948
2061
  */
1949
2062
  description?: string | null;
1950
2063
 
2064
+ /**
2065
+ * Label shown in place of the name across the dashboard (e.g. a short descriptor
2066
+ * like "Irate Escalator"). The persona still identifies as `name` on calls. Omit
2067
+ * or set null to display the name itself.
2068
+ */
2069
+ displayName?: string | null;
2070
+
1951
2071
  /**
1952
2072
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
1953
2073
  */
@@ -2051,6 +2171,8 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
2051
2171
  | 'OFFICE'
2052
2172
  | 'THUNDERSTORM';
2053
2173
 
2174
+ backgroundNoiseVolume: number;
2175
+
2054
2176
  /**
2055
2177
  * Creation timestamp in ISO 8601 format
2056
2178
  */
@@ -2126,7 +2248,17 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
2126
2248
  /**
2127
2249
  * Base emotional state of the persona
2128
2250
  */
2129
- baseEmotion: 'NEUTRAL' | 'CHEERFUL' | 'CONFUSED' | 'FRUSTRATED' | 'SKEPTICAL' | 'RUSHED' | 'DISTRACTED';
2251
+ baseEmotion:
2252
+ | 'NEUTRAL'
2253
+ | 'CHEERFUL'
2254
+ | 'CONFUSED'
2255
+ | 'FRUSTRATED'
2256
+ | 'SKEPTICAL'
2257
+ | 'RUSHED'
2258
+ | 'DISTRACTED'
2259
+ | 'ANGRY'
2260
+ | 'ANXIOUS'
2261
+ | 'SAD';
2130
2262
 
2131
2263
  /**
2132
2264
  * How the persona confirms information
@@ -2214,9 +2346,10 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
2214
2346
 
2215
2347
  /**
2216
2348
  * Controls how quickly the persona responds to pauses in conversation (QUICK,
2217
- * NORMAL, RELAXED)
2349
+ * NORMAL, RELAXED). BARGE_IN also talks over the agent once it has held the floor
2350
+ * for several seconds.
2218
2351
  */
2219
- responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK';
2352
+ responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
2220
2353
 
2221
2354
  /**
2222
2355
  * Speech clarity of the persona
@@ -2268,6 +2401,13 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
2268
2401
  */
2269
2402
  description?: string | null;
2270
2403
 
2404
+ /**
2405
+ * Label shown in place of the name across the dashboard (e.g. a short descriptor
2406
+ * like "Irate Escalator"). The persona still identifies as `name` on calls. Omit
2407
+ * or set null to display the name itself.
2408
+ */
2409
+ displayName?: string | null;
2410
+
2271
2411
  /**
2272
2412
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
2273
2413
  */
@@ -2357,6 +2497,8 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
2357
2497
  | 'OFFICE'
2358
2498
  | 'THUNDERSTORM';
2359
2499
 
2500
+ backgroundNoiseVolume: number;
2501
+
2360
2502
  /**
2361
2503
  * Creation timestamp in ISO 8601 format
2362
2504
  */
@@ -2432,7 +2574,17 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
2432
2574
  /**
2433
2575
  * Base emotional state of the persona
2434
2576
  */
2435
- baseEmotion: 'NEUTRAL' | 'CHEERFUL' | 'CONFUSED' | 'FRUSTRATED' | 'SKEPTICAL' | 'RUSHED' | 'DISTRACTED';
2577
+ baseEmotion:
2578
+ | 'NEUTRAL'
2579
+ | 'CHEERFUL'
2580
+ | 'CONFUSED'
2581
+ | 'FRUSTRATED'
2582
+ | 'SKEPTICAL'
2583
+ | 'RUSHED'
2584
+ | 'DISTRACTED'
2585
+ | 'ANGRY'
2586
+ | 'ANXIOUS'
2587
+ | 'SAD';
2436
2588
 
2437
2589
  /**
2438
2590
  * How the persona confirms information
@@ -2520,9 +2672,10 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
2520
2672
 
2521
2673
  /**
2522
2674
  * Controls how quickly the persona responds to pauses in conversation (QUICK,
2523
- * NORMAL, RELAXED)
2675
+ * NORMAL, RELAXED). BARGE_IN also talks over the agent once it has held the floor
2676
+ * for several seconds.
2524
2677
  */
2525
- responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK';
2678
+ responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
2526
2679
 
2527
2680
  /**
2528
2681
  * Speech clarity of the persona
@@ -2574,6 +2727,13 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
2574
2727
  */
2575
2728
  description?: string | null;
2576
2729
 
2730
+ /**
2731
+ * Label shown in place of the name across the dashboard (e.g. a short descriptor
2732
+ * like "Irate Escalator"). The persona still identifies as `name` on calls. Omit
2733
+ * or set null to display the name itself.
2734
+ */
2735
+ displayName?: string | null;
2736
+
2577
2737
  /**
2578
2738
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
2579
2739
  */
@@ -2658,6 +2818,8 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
2658
2818
  | 'OFFICE'
2659
2819
  | 'THUNDERSTORM';
2660
2820
 
2821
+ backgroundNoiseVolume: number;
2822
+
2661
2823
  /**
2662
2824
  * Creation timestamp in ISO 8601 format
2663
2825
  */
@@ -2733,7 +2895,17 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
2733
2895
  /**
2734
2896
  * Base emotional state of the persona
2735
2897
  */
2736
- baseEmotion: 'NEUTRAL' | 'CHEERFUL' | 'CONFUSED' | 'FRUSTRATED' | 'SKEPTICAL' | 'RUSHED' | 'DISTRACTED';
2898
+ baseEmotion:
2899
+ | 'NEUTRAL'
2900
+ | 'CHEERFUL'
2901
+ | 'CONFUSED'
2902
+ | 'FRUSTRATED'
2903
+ | 'SKEPTICAL'
2904
+ | 'RUSHED'
2905
+ | 'DISTRACTED'
2906
+ | 'ANGRY'
2907
+ | 'ANXIOUS'
2908
+ | 'SAD';
2737
2909
 
2738
2910
  /**
2739
2911
  * How the persona confirms information
@@ -2821,9 +2993,10 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
2821
2993
 
2822
2994
  /**
2823
2995
  * Controls how quickly the persona responds to pauses in conversation (QUICK,
2824
- * NORMAL, RELAXED)
2996
+ * NORMAL, RELAXED). BARGE_IN also talks over the agent once it has held the floor
2997
+ * for several seconds.
2825
2998
  */
2826
- responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK';
2999
+ responseTiming: 'RELAXED' | 'NORMAL' | 'QUICK' | 'BARGE_IN';
2827
3000
 
2828
3001
  /**
2829
3002
  * Speech clarity of the persona
@@ -2875,6 +3048,13 @@ export namespace CustomerFlowEdgeCasePromoteResponse {
2875
3048
  */
2876
3049
  description?: string | null;
2877
3050
 
3051
+ /**
3052
+ * Label shown in place of the name across the dashboard (e.g. a short descriptor
3053
+ * like "Irate Escalator"). The persona still identifies as `name` on calls. Omit
3054
+ * or set null to display the name itself.
3055
+ */
3056
+ displayName?: string | null;
3057
+
2878
3058
  /**
2879
3059
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
2880
3060
  */