@roarkanalytics/sdk 4.18.0 → 4.20.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 (60) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/package.json +1 -1
  3. package/resources/call.d.mts +128 -0
  4. package/resources/call.d.mts.map +1 -1
  5. package/resources/call.d.ts +128 -0
  6. package/resources/call.d.ts.map +1 -1
  7. package/resources/customer-flow-edge-case.d.mts +60 -0
  8. package/resources/customer-flow-edge-case.d.mts.map +1 -1
  9. package/resources/customer-flow-edge-case.d.ts +60 -0
  10. package/resources/customer-flow-edge-case.d.ts.map +1 -1
  11. package/resources/customer-flow.d.mts +240 -0
  12. package/resources/customer-flow.d.mts.map +1 -1
  13. package/resources/customer-flow.d.ts +240 -0
  14. package/resources/customer-flow.d.ts.map +1 -1
  15. package/resources/metric.d.mts +9 -2
  16. package/resources/metric.d.mts.map +1 -1
  17. package/resources/metric.d.ts +9 -2
  18. package/resources/metric.d.ts.map +1 -1
  19. package/resources/simulation-job.d.mts +10 -0
  20. package/resources/simulation-job.d.mts.map +1 -1
  21. package/resources/simulation-job.d.ts +10 -0
  22. package/resources/simulation-job.d.ts.map +1 -1
  23. package/resources/simulation-persona.d.mts +20 -0
  24. package/resources/simulation-persona.d.mts.map +1 -1
  25. package/resources/simulation-persona.d.ts +20 -0
  26. package/resources/simulation-persona.d.ts.map +1 -1
  27. package/resources/simulation-run-plan-job.d.mts +33 -2
  28. package/resources/simulation-run-plan-job.d.mts.map +1 -1
  29. package/resources/simulation-run-plan-job.d.ts +33 -2
  30. package/resources/simulation-run-plan-job.d.ts.map +1 -1
  31. package/resources/simulation-run-plan.d.mts +46 -42
  32. package/resources/simulation-run-plan.d.mts.map +1 -1
  33. package/resources/simulation-run-plan.d.ts +46 -42
  34. package/resources/simulation-run-plan.d.ts.map +1 -1
  35. package/resources/simulation-run-plan.js +0 -1
  36. package/resources/simulation-run-plan.js.map +1 -1
  37. package/resources/simulation-run-plan.mjs +0 -1
  38. package/resources/simulation-run-plan.mjs.map +1 -1
  39. package/resources/simulation.d.mts +46 -42
  40. package/resources/simulation.d.mts.map +1 -1
  41. package/resources/simulation.d.ts +46 -42
  42. package/resources/simulation.d.ts.map +1 -1
  43. package/resources/simulation.js +0 -1
  44. package/resources/simulation.js.map +1 -1
  45. package/resources/simulation.mjs +0 -1
  46. package/resources/simulation.mjs.map +1 -1
  47. package/src/resources/call.ts +152 -0
  48. package/src/resources/customer-flow-edge-case.ts +72 -0
  49. package/src/resources/customer-flow.ts +288 -0
  50. package/src/resources/metric.ts +9 -2
  51. package/src/resources/simulation-job.ts +12 -0
  52. package/src/resources/simulation-persona.ts +24 -0
  53. package/src/resources/simulation-run-plan-job.ts +43 -2
  54. package/src/resources/simulation-run-plan.ts +52 -48
  55. package/src/resources/simulation.ts +52 -48
  56. package/src/version.ts +1 -1
  57. package/version.d.mts +1 -1
  58. package/version.d.ts +1 -1
  59. package/version.js +1 -1
  60. package/version.mjs +1 -1
@@ -1009,6 +1009,12 @@ export namespace CustomerFlowCreateResponse {
1009
1009
  */
1010
1010
  displayName?: string | null;
1011
1011
 
1012
+ /**
1013
+ * The E.164 number every call with this persona uses, when Roark has pinned one
1014
+ * for your project. Present only when set; read-only.
1015
+ */
1016
+ phoneNumber?: string;
1017
+
1012
1018
  /**
1013
1019
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
1014
1020
  */
@@ -1359,6 +1365,12 @@ export namespace CustomerFlowCreateResponse {
1359
1365
  */
1360
1366
  displayName?: string | null;
1361
1367
 
1368
+ /**
1369
+ * The E.164 number every call with this persona uses, when Roark has pinned one
1370
+ * for your project. Present only when set; read-only.
1371
+ */
1372
+ phoneNumber?: string;
1373
+
1362
1374
  /**
1363
1375
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
1364
1376
  */
@@ -1825,6 +1837,12 @@ export namespace CustomerFlowCreateResponse {
1825
1837
  */
1826
1838
  displayName?: string | null;
1827
1839
 
1840
+ /**
1841
+ * The E.164 number every call with this persona uses, when Roark has pinned one
1842
+ * for your project. Present only when set; read-only.
1843
+ */
1844
+ phoneNumber?: string;
1845
+
1828
1846
  /**
1829
1847
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
1830
1848
  */
@@ -2069,6 +2087,12 @@ export namespace CustomerFlowCreateResponse {
2069
2087
  */
2070
2088
  displayName?: string | null;
2071
2089
 
2090
+ /**
2091
+ * The E.164 number every call with this persona uses, when Roark has pinned one
2092
+ * for your project. Present only when set; read-only.
2093
+ */
2094
+ phoneNumber?: string;
2095
+
2072
2096
  /**
2073
2097
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
2074
2098
  */
@@ -2422,6 +2446,12 @@ export namespace CustomerFlowCreateResponse {
2422
2446
  */
2423
2447
  displayName?: string | null;
2424
2448
 
2449
+ /**
2450
+ * The E.164 number every call with this persona uses, when Roark has pinned one
2451
+ * for your project. Present only when set; read-only.
2452
+ */
2453
+ phoneNumber?: string;
2454
+
2425
2455
  /**
2426
2456
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
2427
2457
  */
@@ -2666,6 +2696,12 @@ export namespace CustomerFlowCreateResponse {
2666
2696
  */
2667
2697
  displayName?: string | null;
2668
2698
 
2699
+ /**
2700
+ * The E.164 number every call with this persona uses, when Roark has pinned one
2701
+ * for your project. Present only when set; read-only.
2702
+ */
2703
+ phoneNumber?: string;
2704
+
2669
2705
  /**
2670
2706
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
2671
2707
  */
@@ -3097,6 +3133,12 @@ export namespace CustomerFlowCreateResponse {
3097
3133
  */
3098
3134
  displayName?: string | null;
3099
3135
 
3136
+ /**
3137
+ * The E.164 number every call with this persona uses, when Roark has pinned one
3138
+ * for your project. Present only when set; read-only.
3139
+ */
3140
+ phoneNumber?: string;
3141
+
3100
3142
  /**
3101
3143
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
3102
3144
  */
@@ -3440,6 +3482,12 @@ export namespace CustomerFlowCreateResponse {
3440
3482
  */
3441
3483
  displayName?: string | null;
3442
3484
 
3485
+ /**
3486
+ * The E.164 number every call with this persona uses, when Roark has pinned one
3487
+ * for your project. Present only when set; read-only.
3488
+ */
3489
+ phoneNumber?: string;
3490
+
3443
3491
  /**
3444
3492
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
3445
3493
  */
@@ -3932,6 +3980,12 @@ export namespace CustomerFlowUpdateResponse {
3932
3980
  */
3933
3981
  displayName?: string | null;
3934
3982
 
3983
+ /**
3984
+ * The E.164 number every call with this persona uses, when Roark has pinned one
3985
+ * for your project. Present only when set; read-only.
3986
+ */
3987
+ phoneNumber?: string;
3988
+
3935
3989
  /**
3936
3990
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
3937
3991
  */
@@ -4282,6 +4336,12 @@ export namespace CustomerFlowUpdateResponse {
4282
4336
  */
4283
4337
  displayName?: string | null;
4284
4338
 
4339
+ /**
4340
+ * The E.164 number every call with this persona uses, when Roark has pinned one
4341
+ * for your project. Present only when set; read-only.
4342
+ */
4343
+ phoneNumber?: string;
4344
+
4285
4345
  /**
4286
4346
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
4287
4347
  */
@@ -4748,6 +4808,12 @@ export namespace CustomerFlowUpdateResponse {
4748
4808
  */
4749
4809
  displayName?: string | null;
4750
4810
 
4811
+ /**
4812
+ * The E.164 number every call with this persona uses, when Roark has pinned one
4813
+ * for your project. Present only when set; read-only.
4814
+ */
4815
+ phoneNumber?: string;
4816
+
4751
4817
  /**
4752
4818
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
4753
4819
  */
@@ -4992,6 +5058,12 @@ export namespace CustomerFlowUpdateResponse {
4992
5058
  */
4993
5059
  displayName?: string | null;
4994
5060
 
5061
+ /**
5062
+ * The E.164 number every call with this persona uses, when Roark has pinned one
5063
+ * for your project. Present only when set; read-only.
5064
+ */
5065
+ phoneNumber?: string;
5066
+
4995
5067
  /**
4996
5068
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
4997
5069
  */
@@ -5345,6 +5417,12 @@ export namespace CustomerFlowUpdateResponse {
5345
5417
  */
5346
5418
  displayName?: string | null;
5347
5419
 
5420
+ /**
5421
+ * The E.164 number every call with this persona uses, when Roark has pinned one
5422
+ * for your project. Present only when set; read-only.
5423
+ */
5424
+ phoneNumber?: string;
5425
+
5348
5426
  /**
5349
5427
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
5350
5428
  */
@@ -5589,6 +5667,12 @@ export namespace CustomerFlowUpdateResponse {
5589
5667
  */
5590
5668
  displayName?: string | null;
5591
5669
 
5670
+ /**
5671
+ * The E.164 number every call with this persona uses, when Roark has pinned one
5672
+ * for your project. Present only when set; read-only.
5673
+ */
5674
+ phoneNumber?: string;
5675
+
5592
5676
  /**
5593
5677
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
5594
5678
  */
@@ -6020,6 +6104,12 @@ export namespace CustomerFlowUpdateResponse {
6020
6104
  */
6021
6105
  displayName?: string | null;
6022
6106
 
6107
+ /**
6108
+ * The E.164 number every call with this persona uses, when Roark has pinned one
6109
+ * for your project. Present only when set; read-only.
6110
+ */
6111
+ phoneNumber?: string;
6112
+
6023
6113
  /**
6024
6114
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
6025
6115
  */
@@ -6363,6 +6453,12 @@ export namespace CustomerFlowUpdateResponse {
6363
6453
  */
6364
6454
  displayName?: string | null;
6365
6455
 
6456
+ /**
6457
+ * The E.164 number every call with this persona uses, when Roark has pinned one
6458
+ * for your project. Present only when set; read-only.
6459
+ */
6460
+ phoneNumber?: string;
6461
+
6366
6462
  /**
6367
6463
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
6368
6464
  */
@@ -6858,6 +6954,12 @@ export namespace CustomerFlowListResponse {
6858
6954
  */
6859
6955
  displayName?: string | null;
6860
6956
 
6957
+ /**
6958
+ * The E.164 number every call with this persona uses, when Roark has pinned one
6959
+ * for your project. Present only when set; read-only.
6960
+ */
6961
+ phoneNumber?: string;
6962
+
6861
6963
  /**
6862
6964
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
6863
6965
  */
@@ -7208,6 +7310,12 @@ export namespace CustomerFlowListResponse {
7208
7310
  */
7209
7311
  displayName?: string | null;
7210
7312
 
7313
+ /**
7314
+ * The E.164 number every call with this persona uses, when Roark has pinned one
7315
+ * for your project. Present only when set; read-only.
7316
+ */
7317
+ phoneNumber?: string;
7318
+
7211
7319
  /**
7212
7320
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
7213
7321
  */
@@ -7674,6 +7782,12 @@ export namespace CustomerFlowListResponse {
7674
7782
  */
7675
7783
  displayName?: string | null;
7676
7784
 
7785
+ /**
7786
+ * The E.164 number every call with this persona uses, when Roark has pinned one
7787
+ * for your project. Present only when set; read-only.
7788
+ */
7789
+ phoneNumber?: string;
7790
+
7677
7791
  /**
7678
7792
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
7679
7793
  */
@@ -7918,6 +8032,12 @@ export namespace CustomerFlowListResponse {
7918
8032
  */
7919
8033
  displayName?: string | null;
7920
8034
 
8035
+ /**
8036
+ * The E.164 number every call with this persona uses, when Roark has pinned one
8037
+ * for your project. Present only when set; read-only.
8038
+ */
8039
+ phoneNumber?: string;
8040
+
7921
8041
  /**
7922
8042
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
7923
8043
  */
@@ -8271,6 +8391,12 @@ export namespace CustomerFlowListResponse {
8271
8391
  */
8272
8392
  displayName?: string | null;
8273
8393
 
8394
+ /**
8395
+ * The E.164 number every call with this persona uses, when Roark has pinned one
8396
+ * for your project. Present only when set; read-only.
8397
+ */
8398
+ phoneNumber?: string;
8399
+
8274
8400
  /**
8275
8401
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
8276
8402
  */
@@ -8515,6 +8641,12 @@ export namespace CustomerFlowListResponse {
8515
8641
  */
8516
8642
  displayName?: string | null;
8517
8643
 
8644
+ /**
8645
+ * The E.164 number every call with this persona uses, when Roark has pinned one
8646
+ * for your project. Present only when set; read-only.
8647
+ */
8648
+ phoneNumber?: string;
8649
+
8518
8650
  /**
8519
8651
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
8520
8652
  */
@@ -8946,6 +9078,12 @@ export namespace CustomerFlowListResponse {
8946
9078
  */
8947
9079
  displayName?: string | null;
8948
9080
 
9081
+ /**
9082
+ * The E.164 number every call with this persona uses, when Roark has pinned one
9083
+ * for your project. Present only when set; read-only.
9084
+ */
9085
+ phoneNumber?: string;
9086
+
8949
9087
  /**
8950
9088
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
8951
9089
  */
@@ -9289,6 +9427,12 @@ export namespace CustomerFlowListResponse {
9289
9427
  */
9290
9428
  displayName?: string | null;
9291
9429
 
9430
+ /**
9431
+ * The E.164 number every call with this persona uses, when Roark has pinned one
9432
+ * for your project. Present only when set; read-only.
9433
+ */
9434
+ phoneNumber?: string;
9435
+
9292
9436
  /**
9293
9437
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
9294
9438
  */
@@ -9811,6 +9955,12 @@ export namespace CustomerFlowDuplicateResponse {
9811
9955
  */
9812
9956
  displayName?: string | null;
9813
9957
 
9958
+ /**
9959
+ * The E.164 number every call with this persona uses, when Roark has pinned one
9960
+ * for your project. Present only when set; read-only.
9961
+ */
9962
+ phoneNumber?: string;
9963
+
9814
9964
  /**
9815
9965
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
9816
9966
  */
@@ -10161,6 +10311,12 @@ export namespace CustomerFlowDuplicateResponse {
10161
10311
  */
10162
10312
  displayName?: string | null;
10163
10313
 
10314
+ /**
10315
+ * The E.164 number every call with this persona uses, when Roark has pinned one
10316
+ * for your project. Present only when set; read-only.
10317
+ */
10318
+ phoneNumber?: string;
10319
+
10164
10320
  /**
10165
10321
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
10166
10322
  */
@@ -10627,6 +10783,12 @@ export namespace CustomerFlowDuplicateResponse {
10627
10783
  */
10628
10784
  displayName?: string | null;
10629
10785
 
10786
+ /**
10787
+ * The E.164 number every call with this persona uses, when Roark has pinned one
10788
+ * for your project. Present only when set; read-only.
10789
+ */
10790
+ phoneNumber?: string;
10791
+
10630
10792
  /**
10631
10793
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
10632
10794
  */
@@ -10871,6 +11033,12 @@ export namespace CustomerFlowDuplicateResponse {
10871
11033
  */
10872
11034
  displayName?: string | null;
10873
11035
 
11036
+ /**
11037
+ * The E.164 number every call with this persona uses, when Roark has pinned one
11038
+ * for your project. Present only when set; read-only.
11039
+ */
11040
+ phoneNumber?: string;
11041
+
10874
11042
  /**
10875
11043
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
10876
11044
  */
@@ -11224,6 +11392,12 @@ export namespace CustomerFlowDuplicateResponse {
11224
11392
  */
11225
11393
  displayName?: string | null;
11226
11394
 
11395
+ /**
11396
+ * The E.164 number every call with this persona uses, when Roark has pinned one
11397
+ * for your project. Present only when set; read-only.
11398
+ */
11399
+ phoneNumber?: string;
11400
+
11227
11401
  /**
11228
11402
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
11229
11403
  */
@@ -11468,6 +11642,12 @@ export namespace CustomerFlowDuplicateResponse {
11468
11642
  */
11469
11643
  displayName?: string | null;
11470
11644
 
11645
+ /**
11646
+ * The E.164 number every call with this persona uses, when Roark has pinned one
11647
+ * for your project. Present only when set; read-only.
11648
+ */
11649
+ phoneNumber?: string;
11650
+
11471
11651
  /**
11472
11652
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
11473
11653
  */
@@ -11899,6 +12079,12 @@ export namespace CustomerFlowDuplicateResponse {
11899
12079
  */
11900
12080
  displayName?: string | null;
11901
12081
 
12082
+ /**
12083
+ * The E.164 number every call with this persona uses, when Roark has pinned one
12084
+ * for your project. Present only when set; read-only.
12085
+ */
12086
+ phoneNumber?: string;
12087
+
11902
12088
  /**
11903
12089
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
11904
12090
  */
@@ -12242,6 +12428,12 @@ export namespace CustomerFlowDuplicateResponse {
12242
12428
  */
12243
12429
  displayName?: string | null;
12244
12430
 
12431
+ /**
12432
+ * The E.164 number every call with this persona uses, when Roark has pinned one
12433
+ * for your project. Present only when set; read-only.
12434
+ */
12435
+ phoneNumber?: string;
12436
+
12245
12437
  /**
12246
12438
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
12247
12439
  */
@@ -12734,6 +12926,12 @@ export namespace CustomerFlowGetByIDResponse {
12734
12926
  */
12735
12927
  displayName?: string | null;
12736
12928
 
12929
+ /**
12930
+ * The E.164 number every call with this persona uses, when Roark has pinned one
12931
+ * for your project. Present only when set; read-only.
12932
+ */
12933
+ phoneNumber?: string;
12934
+
12737
12935
  /**
12738
12936
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
12739
12937
  */
@@ -13084,6 +13282,12 @@ export namespace CustomerFlowGetByIDResponse {
13084
13282
  */
13085
13283
  displayName?: string | null;
13086
13284
 
13285
+ /**
13286
+ * The E.164 number every call with this persona uses, when Roark has pinned one
13287
+ * for your project. Present only when set; read-only.
13288
+ */
13289
+ phoneNumber?: string;
13290
+
13087
13291
  /**
13088
13292
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
13089
13293
  */
@@ -13550,6 +13754,12 @@ export namespace CustomerFlowGetByIDResponse {
13550
13754
  */
13551
13755
  displayName?: string | null;
13552
13756
 
13757
+ /**
13758
+ * The E.164 number every call with this persona uses, when Roark has pinned one
13759
+ * for your project. Present only when set; read-only.
13760
+ */
13761
+ phoneNumber?: string;
13762
+
13553
13763
  /**
13554
13764
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
13555
13765
  */
@@ -13794,6 +14004,12 @@ export namespace CustomerFlowGetByIDResponse {
13794
14004
  */
13795
14005
  displayName?: string | null;
13796
14006
 
14007
+ /**
14008
+ * The E.164 number every call with this persona uses, when Roark has pinned one
14009
+ * for your project. Present only when set; read-only.
14010
+ */
14011
+ phoneNumber?: string;
14012
+
13797
14013
  /**
13798
14014
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
13799
14015
  */
@@ -14147,6 +14363,12 @@ export namespace CustomerFlowGetByIDResponse {
14147
14363
  */
14148
14364
  displayName?: string | null;
14149
14365
 
14366
+ /**
14367
+ * The E.164 number every call with this persona uses, when Roark has pinned one
14368
+ * for your project. Present only when set; read-only.
14369
+ */
14370
+ phoneNumber?: string;
14371
+
14150
14372
  /**
14151
14373
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
14152
14374
  */
@@ -14391,6 +14613,12 @@ export namespace CustomerFlowGetByIDResponse {
14391
14613
  */
14392
14614
  displayName?: string | null;
14393
14615
 
14616
+ /**
14617
+ * The E.164 number every call with this persona uses, when Roark has pinned one
14618
+ * for your project. Present only when set; read-only.
14619
+ */
14620
+ phoneNumber?: string;
14621
+
14394
14622
  /**
14395
14623
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
14396
14624
  */
@@ -14822,6 +15050,12 @@ export namespace CustomerFlowGetByIDResponse {
14822
15050
  */
14823
15051
  displayName?: string | null;
14824
15052
 
15053
+ /**
15054
+ * The E.164 number every call with this persona uses, when Roark has pinned one
15055
+ * for your project. Present only when set; read-only.
15056
+ */
15057
+ phoneNumber?: string;
15058
+
14825
15059
  /**
14826
15060
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
14827
15061
  */
@@ -15165,6 +15399,12 @@ export namespace CustomerFlowGetByIDResponse {
15165
15399
  */
15166
15400
  displayName?: string | null;
15167
15401
 
15402
+ /**
15403
+ * The E.164 number every call with this persona uses, when Roark has pinned one
15404
+ * for your project. Present only when set; read-only.
15405
+ */
15406
+ phoneNumber?: string;
15407
+
15168
15408
  /**
15169
15409
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
15170
15410
  */
@@ -15545,6 +15785,12 @@ export namespace CustomerFlowReplaceGraphResponse {
15545
15785
  */
15546
15786
  displayName?: string | null;
15547
15787
 
15788
+ /**
15789
+ * The E.164 number every call with this persona uses, when Roark has pinned one
15790
+ * for your project. Present only when set; read-only.
15791
+ */
15792
+ phoneNumber?: string;
15793
+
15548
15794
  /**
15549
15795
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
15550
15796
  */
@@ -15898,6 +16144,12 @@ export namespace CustomerFlowReplaceGraphResponse {
15898
16144
  */
15899
16145
  displayName?: string | null;
15900
16146
 
16147
+ /**
16148
+ * The E.164 number every call with this persona uses, when Roark has pinned one
16149
+ * for your project. Present only when set; read-only.
16150
+ */
16151
+ phoneNumber?: string;
16152
+
15901
16153
  /**
15902
16154
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
15903
16155
  */
@@ -16142,6 +16394,12 @@ export namespace CustomerFlowReplaceGraphResponse {
16142
16394
  */
16143
16395
  displayName?: string | null;
16144
16396
 
16397
+ /**
16398
+ * The E.164 number every call with this persona uses, when Roark has pinned one
16399
+ * for your project. Present only when set; read-only.
16400
+ */
16401
+ phoneNumber?: string;
16402
+
16145
16403
  /**
16146
16404
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
16147
16405
  */
@@ -16485,6 +16743,12 @@ export namespace CustomerFlowReplaceGraphResponse {
16485
16743
  */
16486
16744
  displayName?: string | null;
16487
16745
 
16746
+ /**
16747
+ * The E.164 number every call with this persona uses, when Roark has pinned one
16748
+ * for your project. Present only when set; read-only.
16749
+ */
16750
+ phoneNumber?: string;
16751
+
16488
16752
  /**
16489
16753
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
16490
16754
  */
@@ -16848,6 +17112,12 @@ export namespace CustomerFlowUpdateHappyPathResponse {
16848
17112
  */
16849
17113
  displayName?: string | null;
16850
17114
 
17115
+ /**
17116
+ * The E.164 number every call with this persona uses, when Roark has pinned one
17117
+ * for your project. Present only when set; read-only.
17118
+ */
17119
+ phoneNumber?: string;
17120
+
16851
17121
  /**
16852
17122
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
16853
17123
  */
@@ -17201,6 +17471,12 @@ export namespace CustomerFlowUpdateHappyPathResponse {
17201
17471
  */
17202
17472
  displayName?: string | null;
17203
17473
 
17474
+ /**
17475
+ * The E.164 number every call with this persona uses, when Roark has pinned one
17476
+ * for your project. Present only when set; read-only.
17477
+ */
17478
+ phoneNumber?: string;
17479
+
17204
17480
  /**
17205
17481
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
17206
17482
  */
@@ -17445,6 +17721,12 @@ export namespace CustomerFlowUpdateHappyPathResponse {
17445
17721
  */
17446
17722
  displayName?: string | null;
17447
17723
 
17724
+ /**
17725
+ * The E.164 number every call with this persona uses, when Roark has pinned one
17726
+ * for your project. Present only when set; read-only.
17727
+ */
17728
+ phoneNumber?: string;
17729
+
17448
17730
  /**
17449
17731
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
17450
17732
  */
@@ -17788,6 +18070,12 @@ export namespace CustomerFlowUpdateHappyPathResponse {
17788
18070
  */
17789
18071
  displayName?: string | null;
17790
18072
 
18073
+ /**
18074
+ * The E.164 number every call with this persona uses, when Roark has pinned one
18075
+ * for your project. Present only when set; read-only.
18076
+ */
18077
+ phoneNumber?: string;
18078
+
17791
18079
  /**
17792
18080
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
17793
18081
  */
@@ -2238,7 +2238,12 @@ export declare namespace MetricCreateDefinitionParams {
2238
2238
  slug?: string;
2239
2239
 
2240
2240
  /**
2241
- * Which levels this metric can produce values at (default: ["CALL"])
2241
+ * What the judge grades (default: ["CALL"], the whole conversation). ["CALL",
2242
+ * "SEGMENT"] also grades each utterance of `participantRole`; ["CALL", "TURN"]
2243
+ * also grades each agent reply to the caller (requires `participantRole: AGENT`).
2244
+ * Per-utterance and per-reply grading needs `scope: PER_PARTICIPANT` and a
2245
+ * BOOLEAN, SCALE, NUMERIC or COUNT output; the CALL value stays the graded result
2246
+ * and the per-unit values are its evidence.
2242
2247
  */
2243
2248
  supportedContexts?: Array<'CALL' | 'SEGMENT' | 'TURN'>;
2244
2249
  }
@@ -2558,7 +2563,9 @@ export interface MetricUpdateDefinitionParams {
2558
2563
  sources?: Array<MetricUpdateDefinitionParams.Source>;
2559
2564
 
2560
2565
  /**
2561
- * Replacement set of supported contexts. Omit to leave unchanged.
2566
+ * Replacement set of supported contexts. Omit to leave unchanged. Scope and
2567
+ * participantRole cannot change after create, so moving to SEGMENT or TURN grading
2568
+ * only works on a PER_PARTICIPANT metric (see create).
2562
2569
  */
2563
2570
  supportedContexts?: Array<'CALL' | 'SEGMENT' | 'TURN'>;
2564
2571
 
@@ -534,6 +534,12 @@ export namespace SimulationJobGetByIDResponse {
534
534
  */
535
535
  displayName?: string | null;
536
536
 
537
+ /**
538
+ * The E.164 number every call with this persona uses, when Roark has pinned one
539
+ * for your project. Present only when set; read-only.
540
+ */
541
+ phoneNumber?: string;
542
+
537
543
  /**
538
544
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
539
545
  */
@@ -1069,6 +1075,12 @@ export namespace SimulationJobLookupResponse {
1069
1075
  */
1070
1076
  displayName?: string | null;
1071
1077
 
1078
+ /**
1079
+ * The E.164 number every call with this persona uses, when Roark has pinned one
1080
+ * for your project. Present only when set; read-only.
1081
+ */
1082
+ phoneNumber?: string;
1083
+
1072
1084
  /**
1073
1085
  * Secondary language ISO 639-1 code for code-switching (e.g., Hinglish, Spanglish)
1074
1086
  */