@roarkanalytics/sdk 5.23.0 → 6.0.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 (58) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/lib/config.d.mts +2 -0
  7. package/lib/config.d.mts.map +1 -1
  8. package/lib/config.d.ts +2 -0
  9. package/lib/config.d.ts.map +1 -1
  10. package/lib/config.js +7 -1
  11. package/lib/config.js.map +1 -1
  12. package/lib/config.mjs +5 -0
  13. package/lib/config.mjs.map +1 -1
  14. package/package.json +1 -1
  15. package/resources/agent-draft.d.mts +701 -275
  16. package/resources/agent-draft.d.mts.map +1 -1
  17. package/resources/agent-draft.d.ts +701 -275
  18. package/resources/agent-draft.d.ts.map +1 -1
  19. package/resources/agent-draft.js +1 -1
  20. package/resources/agent-draft.js.map +1 -1
  21. package/resources/agent-draft.mjs +1 -1
  22. package/resources/agent-draft.mjs.map +1 -1
  23. package/resources/agent-version.d.mts +404 -168
  24. package/resources/agent-version.d.mts.map +1 -1
  25. package/resources/agent-version.d.ts +404 -168
  26. package/resources/agent-version.d.ts.map +1 -1
  27. package/resources/agent-version.js +8 -9
  28. package/resources/agent-version.js.map +1 -1
  29. package/resources/agent-version.mjs +8 -9
  30. package/resources/agent-version.mjs.map +1 -1
  31. package/resources/agent.d.mts +39 -0
  32. package/resources/agent.d.mts.map +1 -1
  33. package/resources/agent.d.ts +39 -0
  34. package/resources/agent.d.ts.map +1 -1
  35. package/resources/config.d.mts +114 -30
  36. package/resources/config.d.mts.map +1 -1
  37. package/resources/config.d.ts +114 -30
  38. package/resources/config.d.ts.map +1 -1
  39. package/resources/index.d.mts +1 -1
  40. package/resources/index.d.mts.map +1 -1
  41. package/resources/index.d.ts +1 -1
  42. package/resources/index.d.ts.map +1 -1
  43. package/src/client.ts +4 -4
  44. package/src/lib/config.ts +9 -0
  45. package/src/resources/agent-draft.ts +876 -384
  46. package/src/resources/agent-version.ts +495 -226
  47. package/src/resources/agent.ts +46 -0
  48. package/src/resources/config.ts +390 -24
  49. package/src/resources/index.ts +2 -2
  50. package/src/version.ts +1 -1
  51. package/version.d.mts +1 -1
  52. package/version.d.mts.map +1 -1
  53. package/version.d.ts +1 -1
  54. package/version.d.ts.map +1 -1
  55. package/version.js +1 -1
  56. package/version.js.map +1 -1
  57. package/version.mjs +1 -1
  58. package/version.mjs.map +1 -1
@@ -52,6 +52,7 @@ export interface Bundle {
52
52
  | Bundle.CollectorConfig
53
53
  | Bundle.MetricConfig
54
54
  | Bundle.APICheckMetricConfig
55
+ | Bundle.ThresholdMetricConfig
55
56
  | Bundle.SimulationPlanConfig
56
57
  | Bundle.QaSimulationPlanConfig
57
58
  | Bundle.SimulationGroupConfig
@@ -477,6 +478,38 @@ export namespace Bundle {
477
478
  }
478
479
  }
479
480
 
481
+ export interface ThresholdMetricConfig {
482
+ calculationType: 'THRESHOLD';
483
+
484
+ kind: 'metric';
485
+
486
+ name: string;
487
+
488
+ operator:
489
+ | 'GREATER_THAN'
490
+ | 'GREATER_THAN_OR_EQUALS'
491
+ | 'LESS_THAN'
492
+ | 'LESS_THAN_OR_EQUALS'
493
+ | 'EQUALS'
494
+ | 'NOT_EQUALS';
495
+
496
+ sourceMetric: string;
497
+
498
+ value: string | number | boolean;
499
+
500
+ aggregationMode?: 'EACH' | 'COUNT' | 'AVERAGE' | 'MIN' | 'MAX' | 'MEDIAN' | 'P95' | 'P99' | 'SUM';
501
+
502
+ countThreshold?: number;
503
+
504
+ falseLabel?: string;
505
+
506
+ sourceParticipantRole?: 'AGENT' | 'CUSTOMER';
507
+
508
+ sourceVariant?: string;
509
+
510
+ trueLabel?: string;
511
+ }
512
+
480
513
  export interface SimulationPlanConfig {
481
514
  agentEndpoints: Array<SimulationPlanConfig.AgentEndpoint>;
482
515
 
@@ -1086,7 +1119,14 @@ export namespace Bundle {
1086
1119
 
1087
1120
  export namespace DashboardConfig {
1088
1121
  export interface Filter {
1089
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
1122
+ type:
1123
+ | 'METRIC_PROPERTY'
1124
+ | 'CALL_PROPERTY'
1125
+ | 'AGENT_PROPERTY'
1126
+ | 'CALL_ID'
1127
+ | 'MODALITY'
1128
+ | 'DATASET'
1129
+ | 'METRIC_VALUE';
1090
1130
 
1091
1131
  operator?:
1092
1132
  | 'EQUALS'
@@ -1218,7 +1258,14 @@ export namespace Bundle {
1218
1258
  }
1219
1259
 
1220
1260
  export interface Filter {
1221
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
1261
+ type:
1262
+ | 'METRIC_PROPERTY'
1263
+ | 'CALL_PROPERTY'
1264
+ | 'AGENT_PROPERTY'
1265
+ | 'CALL_ID'
1266
+ | 'MODALITY'
1267
+ | 'DATASET'
1268
+ | 'METRIC_VALUE';
1222
1269
 
1223
1270
  operator?:
1224
1271
  | 'EQUALS'
@@ -1260,7 +1307,14 @@ export namespace Bundle {
1260
1307
 
1261
1308
  export namespace ComparisonGroup {
1262
1309
  export interface Filter {
1263
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
1310
+ type:
1311
+ | 'METRIC_PROPERTY'
1312
+ | 'CALL_PROPERTY'
1313
+ | 'AGENT_PROPERTY'
1314
+ | 'CALL_ID'
1315
+ | 'MODALITY'
1316
+ | 'DATASET'
1317
+ | 'METRIC_VALUE';
1264
1318
 
1265
1319
  operator?:
1266
1320
  | 'EQUALS'
@@ -1281,7 +1335,14 @@ export namespace Bundle {
1281
1335
  }
1282
1336
 
1283
1337
  export interface Filter {
1284
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
1338
+ type:
1339
+ | 'METRIC_PROPERTY'
1340
+ | 'CALL_PROPERTY'
1341
+ | 'AGENT_PROPERTY'
1342
+ | 'CALL_ID'
1343
+ | 'MODALITY'
1344
+ | 'DATASET'
1345
+ | 'METRIC_VALUE';
1285
1346
 
1286
1347
  operator?:
1287
1348
  | 'EQUALS'
@@ -1335,6 +1396,7 @@ export namespace Bundle {
1335
1396
  | ProjectConfig.CollectorConfig
1336
1397
  | ProjectConfig.MetricConfig
1337
1398
  | ProjectConfig.APICheckMetricConfig
1399
+ | ProjectConfig.ThresholdMetricConfig
1338
1400
  | ProjectConfig.SimulationPlanConfig
1339
1401
  | ProjectConfig.QaSimulationPlanConfig
1340
1402
  | ProjectConfig.SimulationGroupConfig
@@ -1763,6 +1825,38 @@ export namespace Bundle {
1763
1825
  }
1764
1826
  }
1765
1827
 
1828
+ export interface ThresholdMetricConfig {
1829
+ calculationType: 'THRESHOLD';
1830
+
1831
+ kind: 'metric';
1832
+
1833
+ name: string;
1834
+
1835
+ operator:
1836
+ | 'GREATER_THAN'
1837
+ | 'GREATER_THAN_OR_EQUALS'
1838
+ | 'LESS_THAN'
1839
+ | 'LESS_THAN_OR_EQUALS'
1840
+ | 'EQUALS'
1841
+ | 'NOT_EQUALS';
1842
+
1843
+ sourceMetric: string;
1844
+
1845
+ value: string | number | boolean;
1846
+
1847
+ aggregationMode?: 'EACH' | 'COUNT' | 'AVERAGE' | 'MIN' | 'MAX' | 'MEDIAN' | 'P95' | 'P99' | 'SUM';
1848
+
1849
+ countThreshold?: number;
1850
+
1851
+ falseLabel?: string;
1852
+
1853
+ sourceParticipantRole?: 'AGENT' | 'CUSTOMER';
1854
+
1855
+ sourceVariant?: string;
1856
+
1857
+ trueLabel?: string;
1858
+ }
1859
+
1766
1860
  export interface SimulationPlanConfig {
1767
1861
  agentEndpoints: Array<SimulationPlanConfig.AgentEndpoint>;
1768
1862
 
@@ -2372,7 +2466,14 @@ export namespace Bundle {
2372
2466
 
2373
2467
  export namespace DashboardConfig {
2374
2468
  export interface Filter {
2375
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
2469
+ type:
2470
+ | 'METRIC_PROPERTY'
2471
+ | 'CALL_PROPERTY'
2472
+ | 'AGENT_PROPERTY'
2473
+ | 'CALL_ID'
2474
+ | 'MODALITY'
2475
+ | 'DATASET'
2476
+ | 'METRIC_VALUE';
2376
2477
 
2377
2478
  operator?:
2378
2479
  | 'EQUALS'
@@ -2504,7 +2605,14 @@ export namespace Bundle {
2504
2605
  }
2505
2606
 
2506
2607
  export interface Filter {
2507
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
2608
+ type:
2609
+ | 'METRIC_PROPERTY'
2610
+ | 'CALL_PROPERTY'
2611
+ | 'AGENT_PROPERTY'
2612
+ | 'CALL_ID'
2613
+ | 'MODALITY'
2614
+ | 'DATASET'
2615
+ | 'METRIC_VALUE';
2508
2616
 
2509
2617
  operator?:
2510
2618
  | 'EQUALS'
@@ -2546,7 +2654,14 @@ export namespace Bundle {
2546
2654
 
2547
2655
  export namespace ComparisonGroup {
2548
2656
  export interface Filter {
2549
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
2657
+ type:
2658
+ | 'METRIC_PROPERTY'
2659
+ | 'CALL_PROPERTY'
2660
+ | 'AGENT_PROPERTY'
2661
+ | 'CALL_ID'
2662
+ | 'MODALITY'
2663
+ | 'DATASET'
2664
+ | 'METRIC_VALUE';
2550
2665
 
2551
2666
  operator?:
2552
2667
  | 'EQUALS'
@@ -2567,7 +2682,14 @@ export namespace Bundle {
2567
2682
  }
2568
2683
 
2569
2684
  export interface Filter {
2570
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
2685
+ type:
2686
+ | 'METRIC_PROPERTY'
2687
+ | 'CALL_PROPERTY'
2688
+ | 'AGENT_PROPERTY'
2689
+ | 'CALL_ID'
2690
+ | 'MODALITY'
2691
+ | 'DATASET'
2692
+ | 'METRIC_VALUE';
2571
2693
 
2572
2694
  operator?:
2573
2695
  | 'EQUALS'
@@ -2773,6 +2895,7 @@ export interface ConfigApplyParams {
2773
2895
  | ConfigApplyParams.CollectorConfig
2774
2896
  | ConfigApplyParams.MetricConfig
2775
2897
  | ConfigApplyParams.APICheckMetricConfig
2898
+ | ConfigApplyParams.ThresholdMetricConfig
2776
2899
  | ConfigApplyParams.SimulationPlanConfig
2777
2900
  | ConfigApplyParams.QaSimulationPlanConfig
2778
2901
  | ConfigApplyParams.SimulationGroupConfig
@@ -3198,6 +3321,38 @@ export namespace ConfigApplyParams {
3198
3321
  }
3199
3322
  }
3200
3323
 
3324
+ export interface ThresholdMetricConfig {
3325
+ calculationType: 'THRESHOLD';
3326
+
3327
+ kind: 'metric';
3328
+
3329
+ name: string;
3330
+
3331
+ operator:
3332
+ | 'GREATER_THAN'
3333
+ | 'GREATER_THAN_OR_EQUALS'
3334
+ | 'LESS_THAN'
3335
+ | 'LESS_THAN_OR_EQUALS'
3336
+ | 'EQUALS'
3337
+ | 'NOT_EQUALS';
3338
+
3339
+ sourceMetric: string;
3340
+
3341
+ value: string | number | boolean;
3342
+
3343
+ aggregationMode?: 'EACH' | 'COUNT' | 'AVERAGE' | 'MIN' | 'MAX' | 'MEDIAN' | 'P95' | 'P99' | 'SUM';
3344
+
3345
+ countThreshold?: number;
3346
+
3347
+ falseLabel?: string;
3348
+
3349
+ sourceParticipantRole?: 'AGENT' | 'CUSTOMER';
3350
+
3351
+ sourceVariant?: string;
3352
+
3353
+ trueLabel?: string;
3354
+ }
3355
+
3201
3356
  export interface SimulationPlanConfig {
3202
3357
  agentEndpoints: Array<SimulationPlanConfig.AgentEndpoint>;
3203
3358
 
@@ -3807,7 +3962,14 @@ export namespace ConfigApplyParams {
3807
3962
 
3808
3963
  export namespace DashboardConfig {
3809
3964
  export interface Filter {
3810
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
3965
+ type:
3966
+ | 'METRIC_PROPERTY'
3967
+ | 'CALL_PROPERTY'
3968
+ | 'AGENT_PROPERTY'
3969
+ | 'CALL_ID'
3970
+ | 'MODALITY'
3971
+ | 'DATASET'
3972
+ | 'METRIC_VALUE';
3811
3973
 
3812
3974
  operator?:
3813
3975
  | 'EQUALS'
@@ -3939,7 +4101,14 @@ export namespace ConfigApplyParams {
3939
4101
  }
3940
4102
 
3941
4103
  export interface Filter {
3942
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
4104
+ type:
4105
+ | 'METRIC_PROPERTY'
4106
+ | 'CALL_PROPERTY'
4107
+ | 'AGENT_PROPERTY'
4108
+ | 'CALL_ID'
4109
+ | 'MODALITY'
4110
+ | 'DATASET'
4111
+ | 'METRIC_VALUE';
3943
4112
 
3944
4113
  operator?:
3945
4114
  | 'EQUALS'
@@ -3981,7 +4150,14 @@ export namespace ConfigApplyParams {
3981
4150
 
3982
4151
  export namespace ComparisonGroup {
3983
4152
  export interface Filter {
3984
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
4153
+ type:
4154
+ | 'METRIC_PROPERTY'
4155
+ | 'CALL_PROPERTY'
4156
+ | 'AGENT_PROPERTY'
4157
+ | 'CALL_ID'
4158
+ | 'MODALITY'
4159
+ | 'DATASET'
4160
+ | 'METRIC_VALUE';
3985
4161
 
3986
4162
  operator?:
3987
4163
  | 'EQUALS'
@@ -4002,7 +4178,14 @@ export namespace ConfigApplyParams {
4002
4178
  }
4003
4179
 
4004
4180
  export interface Filter {
4005
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
4181
+ type:
4182
+ | 'METRIC_PROPERTY'
4183
+ | 'CALL_PROPERTY'
4184
+ | 'AGENT_PROPERTY'
4185
+ | 'CALL_ID'
4186
+ | 'MODALITY'
4187
+ | 'DATASET'
4188
+ | 'METRIC_VALUE';
4006
4189
 
4007
4190
  operator?:
4008
4191
  | 'EQUALS'
@@ -4056,6 +4239,7 @@ export namespace ConfigApplyParams {
4056
4239
  | ProjectConfig.CollectorConfig
4057
4240
  | ProjectConfig.MetricConfig
4058
4241
  | ProjectConfig.APICheckMetricConfig
4242
+ | ProjectConfig.ThresholdMetricConfig
4059
4243
  | ProjectConfig.SimulationPlanConfig
4060
4244
  | ProjectConfig.QaSimulationPlanConfig
4061
4245
  | ProjectConfig.SimulationGroupConfig
@@ -4484,6 +4668,38 @@ export namespace ConfigApplyParams {
4484
4668
  }
4485
4669
  }
4486
4670
 
4671
+ export interface ThresholdMetricConfig {
4672
+ calculationType: 'THRESHOLD';
4673
+
4674
+ kind: 'metric';
4675
+
4676
+ name: string;
4677
+
4678
+ operator:
4679
+ | 'GREATER_THAN'
4680
+ | 'GREATER_THAN_OR_EQUALS'
4681
+ | 'LESS_THAN'
4682
+ | 'LESS_THAN_OR_EQUALS'
4683
+ | 'EQUALS'
4684
+ | 'NOT_EQUALS';
4685
+
4686
+ sourceMetric: string;
4687
+
4688
+ value: string | number | boolean;
4689
+
4690
+ aggregationMode?: 'EACH' | 'COUNT' | 'AVERAGE' | 'MIN' | 'MAX' | 'MEDIAN' | 'P95' | 'P99' | 'SUM';
4691
+
4692
+ countThreshold?: number;
4693
+
4694
+ falseLabel?: string;
4695
+
4696
+ sourceParticipantRole?: 'AGENT' | 'CUSTOMER';
4697
+
4698
+ sourceVariant?: string;
4699
+
4700
+ trueLabel?: string;
4701
+ }
4702
+
4487
4703
  export interface SimulationPlanConfig {
4488
4704
  agentEndpoints: Array<SimulationPlanConfig.AgentEndpoint>;
4489
4705
 
@@ -5093,7 +5309,14 @@ export namespace ConfigApplyParams {
5093
5309
 
5094
5310
  export namespace DashboardConfig {
5095
5311
  export interface Filter {
5096
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
5312
+ type:
5313
+ | 'METRIC_PROPERTY'
5314
+ | 'CALL_PROPERTY'
5315
+ | 'AGENT_PROPERTY'
5316
+ | 'CALL_ID'
5317
+ | 'MODALITY'
5318
+ | 'DATASET'
5319
+ | 'METRIC_VALUE';
5097
5320
 
5098
5321
  operator?:
5099
5322
  | 'EQUALS'
@@ -5225,7 +5448,14 @@ export namespace ConfigApplyParams {
5225
5448
  }
5226
5449
 
5227
5450
  export interface Filter {
5228
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
5451
+ type:
5452
+ | 'METRIC_PROPERTY'
5453
+ | 'CALL_PROPERTY'
5454
+ | 'AGENT_PROPERTY'
5455
+ | 'CALL_ID'
5456
+ | 'MODALITY'
5457
+ | 'DATASET'
5458
+ | 'METRIC_VALUE';
5229
5459
 
5230
5460
  operator?:
5231
5461
  | 'EQUALS'
@@ -5267,7 +5497,14 @@ export namespace ConfigApplyParams {
5267
5497
 
5268
5498
  export namespace ComparisonGroup {
5269
5499
  export interface Filter {
5270
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
5500
+ type:
5501
+ | 'METRIC_PROPERTY'
5502
+ | 'CALL_PROPERTY'
5503
+ | 'AGENT_PROPERTY'
5504
+ | 'CALL_ID'
5505
+ | 'MODALITY'
5506
+ | 'DATASET'
5507
+ | 'METRIC_VALUE';
5271
5508
 
5272
5509
  operator?:
5273
5510
  | 'EQUALS'
@@ -5288,7 +5525,14 @@ export namespace ConfigApplyParams {
5288
5525
  }
5289
5526
 
5290
5527
  export interface Filter {
5291
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
5528
+ type:
5529
+ | 'METRIC_PROPERTY'
5530
+ | 'CALL_PROPERTY'
5531
+ | 'AGENT_PROPERTY'
5532
+ | 'CALL_ID'
5533
+ | 'MODALITY'
5534
+ | 'DATASET'
5535
+ | 'METRIC_VALUE';
5292
5536
 
5293
5537
  operator?:
5294
5538
  | 'EQUALS'
@@ -5321,6 +5565,7 @@ export interface ConfigDiffParams {
5321
5565
  | ConfigDiffParams.CollectorConfig
5322
5566
  | ConfigDiffParams.MetricConfig
5323
5567
  | ConfigDiffParams.APICheckMetricConfig
5568
+ | ConfigDiffParams.ThresholdMetricConfig
5324
5569
  | ConfigDiffParams.SimulationPlanConfig
5325
5570
  | ConfigDiffParams.QaSimulationPlanConfig
5326
5571
  | ConfigDiffParams.SimulationGroupConfig
@@ -5746,6 +5991,38 @@ export namespace ConfigDiffParams {
5746
5991
  }
5747
5992
  }
5748
5993
 
5994
+ export interface ThresholdMetricConfig {
5995
+ calculationType: 'THRESHOLD';
5996
+
5997
+ kind: 'metric';
5998
+
5999
+ name: string;
6000
+
6001
+ operator:
6002
+ | 'GREATER_THAN'
6003
+ | 'GREATER_THAN_OR_EQUALS'
6004
+ | 'LESS_THAN'
6005
+ | 'LESS_THAN_OR_EQUALS'
6006
+ | 'EQUALS'
6007
+ | 'NOT_EQUALS';
6008
+
6009
+ sourceMetric: string;
6010
+
6011
+ value: string | number | boolean;
6012
+
6013
+ aggregationMode?: 'EACH' | 'COUNT' | 'AVERAGE' | 'MIN' | 'MAX' | 'MEDIAN' | 'P95' | 'P99' | 'SUM';
6014
+
6015
+ countThreshold?: number;
6016
+
6017
+ falseLabel?: string;
6018
+
6019
+ sourceParticipantRole?: 'AGENT' | 'CUSTOMER';
6020
+
6021
+ sourceVariant?: string;
6022
+
6023
+ trueLabel?: string;
6024
+ }
6025
+
5749
6026
  export interface SimulationPlanConfig {
5750
6027
  agentEndpoints: Array<SimulationPlanConfig.AgentEndpoint>;
5751
6028
 
@@ -6355,7 +6632,14 @@ export namespace ConfigDiffParams {
6355
6632
 
6356
6633
  export namespace DashboardConfig {
6357
6634
  export interface Filter {
6358
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
6635
+ type:
6636
+ | 'METRIC_PROPERTY'
6637
+ | 'CALL_PROPERTY'
6638
+ | 'AGENT_PROPERTY'
6639
+ | 'CALL_ID'
6640
+ | 'MODALITY'
6641
+ | 'DATASET'
6642
+ | 'METRIC_VALUE';
6359
6643
 
6360
6644
  operator?:
6361
6645
  | 'EQUALS'
@@ -6487,7 +6771,14 @@ export namespace ConfigDiffParams {
6487
6771
  }
6488
6772
 
6489
6773
  export interface Filter {
6490
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
6774
+ type:
6775
+ | 'METRIC_PROPERTY'
6776
+ | 'CALL_PROPERTY'
6777
+ | 'AGENT_PROPERTY'
6778
+ | 'CALL_ID'
6779
+ | 'MODALITY'
6780
+ | 'DATASET'
6781
+ | 'METRIC_VALUE';
6491
6782
 
6492
6783
  operator?:
6493
6784
  | 'EQUALS'
@@ -6529,7 +6820,14 @@ export namespace ConfigDiffParams {
6529
6820
 
6530
6821
  export namespace ComparisonGroup {
6531
6822
  export interface Filter {
6532
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
6823
+ type:
6824
+ | 'METRIC_PROPERTY'
6825
+ | 'CALL_PROPERTY'
6826
+ | 'AGENT_PROPERTY'
6827
+ | 'CALL_ID'
6828
+ | 'MODALITY'
6829
+ | 'DATASET'
6830
+ | 'METRIC_VALUE';
6533
6831
 
6534
6832
  operator?:
6535
6833
  | 'EQUALS'
@@ -6550,7 +6848,14 @@ export namespace ConfigDiffParams {
6550
6848
  }
6551
6849
 
6552
6850
  export interface Filter {
6553
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
6851
+ type:
6852
+ | 'METRIC_PROPERTY'
6853
+ | 'CALL_PROPERTY'
6854
+ | 'AGENT_PROPERTY'
6855
+ | 'CALL_ID'
6856
+ | 'MODALITY'
6857
+ | 'DATASET'
6858
+ | 'METRIC_VALUE';
6554
6859
 
6555
6860
  operator?:
6556
6861
  | 'EQUALS'
@@ -6604,6 +6909,7 @@ export namespace ConfigDiffParams {
6604
6909
  | ProjectConfig.CollectorConfig
6605
6910
  | ProjectConfig.MetricConfig
6606
6911
  | ProjectConfig.APICheckMetricConfig
6912
+ | ProjectConfig.ThresholdMetricConfig
6607
6913
  | ProjectConfig.SimulationPlanConfig
6608
6914
  | ProjectConfig.QaSimulationPlanConfig
6609
6915
  | ProjectConfig.SimulationGroupConfig
@@ -7032,6 +7338,38 @@ export namespace ConfigDiffParams {
7032
7338
  }
7033
7339
  }
7034
7340
 
7341
+ export interface ThresholdMetricConfig {
7342
+ calculationType: 'THRESHOLD';
7343
+
7344
+ kind: 'metric';
7345
+
7346
+ name: string;
7347
+
7348
+ operator:
7349
+ | 'GREATER_THAN'
7350
+ | 'GREATER_THAN_OR_EQUALS'
7351
+ | 'LESS_THAN'
7352
+ | 'LESS_THAN_OR_EQUALS'
7353
+ | 'EQUALS'
7354
+ | 'NOT_EQUALS';
7355
+
7356
+ sourceMetric: string;
7357
+
7358
+ value: string | number | boolean;
7359
+
7360
+ aggregationMode?: 'EACH' | 'COUNT' | 'AVERAGE' | 'MIN' | 'MAX' | 'MEDIAN' | 'P95' | 'P99' | 'SUM';
7361
+
7362
+ countThreshold?: number;
7363
+
7364
+ falseLabel?: string;
7365
+
7366
+ sourceParticipantRole?: 'AGENT' | 'CUSTOMER';
7367
+
7368
+ sourceVariant?: string;
7369
+
7370
+ trueLabel?: string;
7371
+ }
7372
+
7035
7373
  export interface SimulationPlanConfig {
7036
7374
  agentEndpoints: Array<SimulationPlanConfig.AgentEndpoint>;
7037
7375
 
@@ -7641,7 +7979,14 @@ export namespace ConfigDiffParams {
7641
7979
 
7642
7980
  export namespace DashboardConfig {
7643
7981
  export interface Filter {
7644
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
7982
+ type:
7983
+ | 'METRIC_PROPERTY'
7984
+ | 'CALL_PROPERTY'
7985
+ | 'AGENT_PROPERTY'
7986
+ | 'CALL_ID'
7987
+ | 'MODALITY'
7988
+ | 'DATASET'
7989
+ | 'METRIC_VALUE';
7645
7990
 
7646
7991
  operator?:
7647
7992
  | 'EQUALS'
@@ -7773,7 +8118,14 @@ export namespace ConfigDiffParams {
7773
8118
  }
7774
8119
 
7775
8120
  export interface Filter {
7776
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
8121
+ type:
8122
+ | 'METRIC_PROPERTY'
8123
+ | 'CALL_PROPERTY'
8124
+ | 'AGENT_PROPERTY'
8125
+ | 'CALL_ID'
8126
+ | 'MODALITY'
8127
+ | 'DATASET'
8128
+ | 'METRIC_VALUE';
7777
8129
 
7778
8130
  operator?:
7779
8131
  | 'EQUALS'
@@ -7815,7 +8167,14 @@ export namespace ConfigDiffParams {
7815
8167
 
7816
8168
  export namespace ComparisonGroup {
7817
8169
  export interface Filter {
7818
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
8170
+ type:
8171
+ | 'METRIC_PROPERTY'
8172
+ | 'CALL_PROPERTY'
8173
+ | 'AGENT_PROPERTY'
8174
+ | 'CALL_ID'
8175
+ | 'MODALITY'
8176
+ | 'DATASET'
8177
+ | 'METRIC_VALUE';
7819
8178
 
7820
8179
  operator?:
7821
8180
  | 'EQUALS'
@@ -7836,7 +8195,14 @@ export namespace ConfigDiffParams {
7836
8195
  }
7837
8196
 
7838
8197
  export interface Filter {
7839
- type: 'METRIC_PROPERTY' | 'CALL_PROPERTY' | 'AGENT_PROPERTY' | 'CALL_ID' | 'MODALITY' | 'DATASET';
8198
+ type:
8199
+ | 'METRIC_PROPERTY'
8200
+ | 'CALL_PROPERTY'
8201
+ | 'AGENT_PROPERTY'
8202
+ | 'CALL_ID'
8203
+ | 'MODALITY'
8204
+ | 'DATASET'
8205
+ | 'METRIC_VALUE';
7840
8206
 
7841
8207
  operator?:
7842
8208
  | 'EQUALS'
@@ -57,10 +57,10 @@ export {
57
57
  AgentVersion,
58
58
  type AgentVersionListResponse,
59
59
  type AgentVersionGetByIDResponse,
60
- type AgentVersionRestoreResponse,
60
+ type AgentVersionRollbackResponse,
61
61
  type AgentVersionListParams,
62
62
  type AgentVersionGetByIDParams,
63
- type AgentVersionRestoreParams,
63
+ type AgentVersionRollbackParams,
64
64
  } from './agent-version';
65
65
  export {
66
66
  Analytics,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '5.23.0'; // x-release-please-version
1
+ export const VERSION = '6.0.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.23.0";
1
+ export declare const VERSION = "6.0.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.mts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
1
+ {"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.23.0";
1
+ export declare const VERSION = "6.0.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '5.23.0'; // x-release-please-version
4
+ exports.VERSION = '6.0.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map