@vertesia/common 1.5.0-dev.20260905.011013Z → 1.5.0-dev.20260910.052912Z
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/lib/api-contract/components.generated.json +139 -3
- package/lib/api-schemas/cost-analytics.d.ts +38 -0
- package/lib/api-schemas/cost-analytics.d.ts.map +1 -1
- package/lib/api-schemas/cost-analytics.js +31 -1
- package/lib/api-schemas/cost-analytics.js.map +1 -1
- package/lib/api-schemas/interaction.d.ts +19 -0
- package/lib/api-schemas/interaction.d.ts.map +1 -1
- package/lib/api-schemas/interaction.js +9 -1
- package/lib/api-schemas/interaction.js.map +1 -1
- package/lib/api-schemas/registry.d.ts +57 -0
- package/lib/api-schemas/registry.d.ts.map +1 -1
- package/lib/vertesia-common.js +1 -1
- package/lib/vertesia-common.js.map +1 -1
- package/lib/workflow-analytics.d.ts +3 -1
- package/lib/workflow-analytics.d.ts.map +1 -1
- package/lib/workflow-analytics.js +2 -0
- package/lib/workflow-analytics.js.map +1 -1
- package/package.json +3 -3
- package/src/api-contract/components.generated.json +139 -3
- package/src/api-schemas/cost-analytics.ts +34 -1
- package/src/api-schemas/interaction.contract.test.ts +23 -0
- package/src/api-schemas/interaction.ts +9 -1
- package/src/workflow-analytics.ts +2 -0
|
@@ -30018,6 +30018,7 @@ declare const EXECUTION_RUN_SCHEMAS: {
|
|
|
30018
30018
|
project: z.ZodString;
|
|
30019
30019
|
}, z.core.$strict>;
|
|
30020
30020
|
readonly ExecutionRunWorkflow: z.ZodObject<{
|
|
30021
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
30021
30022
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
30022
30023
|
run_id: z.ZodString;
|
|
30023
30024
|
workflow_id: z.ZodString;
|
|
@@ -30776,6 +30777,7 @@ declare const EXECUTION_RUN_SCHEMAS: {
|
|
|
30776
30777
|
created_by: z.ZodString;
|
|
30777
30778
|
updated_by: z.ZodString;
|
|
30778
30779
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
30780
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
30779
30781
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
30780
30782
|
run_id: z.ZodString;
|
|
30781
30783
|
workflow_id: z.ZodString;
|
|
@@ -31551,6 +31553,7 @@ declare const EXECUTION_RUN_SCHEMAS: {
|
|
|
31551
31553
|
created_by: z.ZodString;
|
|
31552
31554
|
updated_by: z.ZodString;
|
|
31553
31555
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
31556
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
31554
31557
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
31555
31558
|
run_id: z.ZodString;
|
|
31556
31559
|
workflow_id: z.ZodString;
|
|
@@ -32326,6 +32329,7 @@ declare const EXECUTION_RUN_SCHEMAS: {
|
|
|
32326
32329
|
created_by: z.ZodOptional<z.ZodString>;
|
|
32327
32330
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
32328
32331
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
32332
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
32329
32333
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
32330
32334
|
run_id: z.ZodString;
|
|
32331
32335
|
workflow_id: z.ZodString;
|
|
@@ -32960,6 +32964,7 @@ declare const EXECUTION_RUN_SCHEMAS: {
|
|
|
32960
32964
|
input_schema: z.ZodObject<{}, z.core.$loose>;
|
|
32961
32965
|
}, z.core.$strict>>>;
|
|
32962
32966
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
32967
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
32963
32968
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
32964
32969
|
run_id: z.ZodString;
|
|
32965
32970
|
workflow_id: z.ZodString;
|
|
@@ -34460,6 +34465,7 @@ declare const EXECUTION_RUN_SCHEMAS: {
|
|
|
34460
34465
|
input_schema: z.ZodObject<{}, z.core.$loose>;
|
|
34461
34466
|
}, z.core.$strict>>>;
|
|
34462
34467
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
34468
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
34463
34469
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
34464
34470
|
run_id: z.ZodString;
|
|
34465
34471
|
workflow_id: z.ZodString;
|
|
@@ -35867,6 +35873,7 @@ declare const EXECUTION_RUN_SCHEMAS: {
|
|
|
35867
35873
|
input_schema: z.ZodObject<{}, z.core.$loose>;
|
|
35868
35874
|
}, z.core.$strict>>>;
|
|
35869
35875
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
35876
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
35870
35877
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
35871
35878
|
run_id: z.ZodString;
|
|
35872
35879
|
workflow_id: z.ZodString;
|
|
@@ -37406,6 +37413,7 @@ declare const EXECUTION_RUN_SCHEMAS: {
|
|
|
37406
37413
|
created_by: z.ZodString;
|
|
37407
37414
|
updated_by: z.ZodString;
|
|
37408
37415
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
37416
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
37409
37417
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
37410
37418
|
run_id: z.ZodString;
|
|
37411
37419
|
workflow_id: z.ZodString;
|
|
@@ -38638,6 +38646,7 @@ declare const EXECUTION_RUN_SCHEMAS: {
|
|
|
38638
38646
|
created_by: z.ZodOptional<z.ZodString>;
|
|
38639
38647
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
38640
38648
|
workflow: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
38649
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
38641
38650
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
38642
38651
|
run_id: z.ZodString;
|
|
38643
38652
|
workflow_id: z.ZodString;
|
|
@@ -39305,6 +39314,7 @@ declare const EXECUTION_RUN_SCHEMAS: {
|
|
|
39305
39314
|
created_by: z.ZodOptional<z.ZodString>;
|
|
39306
39315
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
39307
39316
|
workflow: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
39317
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
39308
39318
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
39309
39319
|
run_id: z.ZodString;
|
|
39310
39320
|
workflow_id: z.ZodString;
|
|
@@ -40022,6 +40032,7 @@ declare const EXECUTION_RUN_SCHEMAS: {
|
|
|
40022
40032
|
created_by: z.ZodString;
|
|
40023
40033
|
updated_by: z.ZodString;
|
|
40024
40034
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
40035
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
40025
40036
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
40026
40037
|
run_id: z.ZodString;
|
|
40027
40038
|
workflow_id: z.ZodString;
|
|
@@ -41339,6 +41350,7 @@ declare const EXECUTION_RUN_SCHEMAS: {
|
|
|
41339
41350
|
created_by: z.ZodString;
|
|
41340
41351
|
updated_by: z.ZodString;
|
|
41341
41352
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
41353
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
41342
41354
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
41343
41355
|
run_id: z.ZodString;
|
|
41344
41356
|
workflow_id: z.ZodString;
|
|
@@ -42606,6 +42618,7 @@ declare const EXECUTION_RUN_SCHEMAS: {
|
|
|
42606
42618
|
created_by: z.ZodString;
|
|
42607
42619
|
updated_by: z.ZodString;
|
|
42608
42620
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
42621
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
42609
42622
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
42610
42623
|
run_id: z.ZodString;
|
|
42611
42624
|
workflow_id: z.ZodString;
|
|
@@ -45207,6 +45220,7 @@ declare const EXECUTION_RUN_SCHEMAS: {
|
|
|
45207
45220
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
45208
45221
|
conversation: z.ZodOptional<z.ZodUnknown>;
|
|
45209
45222
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
45223
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
45210
45224
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
45211
45225
|
run_id: z.ZodString;
|
|
45212
45226
|
workflow_id: z.ZodString;
|
|
@@ -46669,6 +46683,7 @@ declare const EXECUTION_RUN_SCHEMAS: {
|
|
|
46669
46683
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
46670
46684
|
conversation: z.ZodOptional<z.ZodUnknown>;
|
|
46671
46685
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
46686
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
46672
46687
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
46673
46688
|
run_id: z.ZodString;
|
|
46674
46689
|
workflow_id: z.ZodString;
|
|
@@ -48075,6 +48090,7 @@ declare const EXECUTION_RUN_SCHEMAS: {
|
|
|
48075
48090
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
48076
48091
|
conversation: z.ZodOptional<z.ZodUnknown>;
|
|
48077
48092
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
48093
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
48078
48094
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
48079
48095
|
run_id: z.ZodString;
|
|
48080
48096
|
workflow_id: z.ZodString;
|
|
@@ -49486,6 +49502,7 @@ declare const EXECUTION_RUN_SCHEMAS: {
|
|
|
49486
49502
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
49487
49503
|
conversation: z.ZodOptional<z.ZodUnknown>;
|
|
49488
49504
|
workflow: z.ZodOptional<z.ZodObject<{
|
|
49505
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
49489
49506
|
rate_limit_id: z.ZodOptional<z.ZodString>;
|
|
49490
49507
|
run_id: z.ZodString;
|
|
49491
49508
|
workflow_id: z.ZodString;
|
|
@@ -53413,6 +53430,7 @@ declare const EXECUTION_RUN_SCHEMAS: {
|
|
|
53413
53430
|
wait_latency_ms: z.ZodOptional<z.ZodNumber>;
|
|
53414
53431
|
provider_status: z.ZodOptional<z.ZodNumber>;
|
|
53415
53432
|
}, z.core.$strict>>;
|
|
53433
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
53416
53434
|
tool_use: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
53417
53435
|
id: z.ZodString;
|
|
53418
53436
|
tool_name: z.ZodString;
|
|
@@ -53455,6 +53473,7 @@ declare const EXECUTION_RUN_SCHEMAS: {
|
|
|
53455
53473
|
workflow: z.ZodObject<{
|
|
53456
53474
|
run_id: z.ZodString;
|
|
53457
53475
|
workflow_id: z.ZodString;
|
|
53476
|
+
agent_run_id: z.ZodOptional<z.ZodString>;
|
|
53458
53477
|
}, z.core.$strict>;
|
|
53459
53478
|
}, z.core.$strict>;
|
|
53460
53479
|
};
|
|
@@ -79528,6 +79547,7 @@ declare const COST_ANALYTICS_SCHEMAS: {
|
|
|
79528
79547
|
project: "project";
|
|
79529
79548
|
project_tag: "project_tag";
|
|
79530
79549
|
provider: "provider";
|
|
79550
|
+
service_tier: "service_tier";
|
|
79531
79551
|
workflow: "workflow";
|
|
79532
79552
|
}>>;
|
|
79533
79553
|
resolution: z.ZodOptional<z.ZodEnum<{
|
|
@@ -79539,6 +79559,7 @@ declare const COST_ANALYTICS_SCHEMAS: {
|
|
|
79539
79559
|
model: z.ZodOptional<z.ZodString>;
|
|
79540
79560
|
environment_id: z.ZodOptional<z.ZodString>;
|
|
79541
79561
|
provider: z.ZodOptional<z.ZodString>;
|
|
79562
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
79542
79563
|
project_id: z.ZodOptional<z.ZodString>;
|
|
79543
79564
|
workflow_id: z.ZodOptional<z.ZodString>;
|
|
79544
79565
|
workflow_run_id: z.ZodOptional<z.ZodString>;
|
|
@@ -79594,6 +79615,7 @@ declare const COST_ANALYTICS_SCHEMAS: {
|
|
|
79594
79615
|
model: z.ZodString;
|
|
79595
79616
|
provider: z.ZodOptional<z.ZodString>;
|
|
79596
79617
|
provider_account_id: z.ZodOptional<z.ZodString>;
|
|
79618
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
79597
79619
|
input_price_per_m_tokens: z.ZodNumber;
|
|
79598
79620
|
cached_input_price_per_m_tokens: z.ZodOptional<z.ZodNumber>;
|
|
79599
79621
|
cache_write_input_price_per_m_tokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -79626,6 +79648,7 @@ declare const COST_ANALYTICS_SCHEMAS: {
|
|
|
79626
79648
|
model: z.ZodString;
|
|
79627
79649
|
provider: z.ZodOptional<z.ZodString>;
|
|
79628
79650
|
provider_account_id: z.ZodOptional<z.ZodString>;
|
|
79651
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
79629
79652
|
list_price_date: z.ZodOptional<z.ZodString>;
|
|
79630
79653
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
79631
79654
|
effective_to: z.ZodOptional<z.ZodString>;
|
|
@@ -79643,6 +79666,7 @@ declare const COST_ANALYTICS_SCHEMAS: {
|
|
|
79643
79666
|
dimension: z.ZodString;
|
|
79644
79667
|
label: z.ZodOptional<z.ZodString>;
|
|
79645
79668
|
provider: z.ZodOptional<z.ZodString>;
|
|
79669
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
79646
79670
|
cost: z.ZodNumber;
|
|
79647
79671
|
input_tokens: z.ZodNumber;
|
|
79648
79672
|
cached_input_tokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -79664,6 +79688,7 @@ declare const COST_ANALYTICS_SCHEMAS: {
|
|
|
79664
79688
|
model: z.ZodString;
|
|
79665
79689
|
provider: z.ZodOptional<z.ZodString>;
|
|
79666
79690
|
provider_account_id: z.ZodOptional<z.ZodString>;
|
|
79691
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
79667
79692
|
list_price_date: z.ZodOptional<z.ZodString>;
|
|
79668
79693
|
effective_from: z.ZodOptional<z.ZodString>;
|
|
79669
79694
|
effective_to: z.ZodOptional<z.ZodString>;
|
|
@@ -79697,6 +79722,7 @@ declare const COST_ANALYTICS_SCHEMAS: {
|
|
|
79697
79722
|
dimension: z.ZodString;
|
|
79698
79723
|
label: z.ZodOptional<z.ZodString>;
|
|
79699
79724
|
provider: z.ZodOptional<z.ZodString>;
|
|
79725
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
79700
79726
|
cost: z.ZodNumber;
|
|
79701
79727
|
input_tokens: z.ZodNumber;
|
|
79702
79728
|
cached_input_tokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -79726,6 +79752,7 @@ declare const COST_ANALYTICS_SCHEMAS: {
|
|
|
79726
79752
|
model: z.ZodString;
|
|
79727
79753
|
provider: z.ZodOptional<z.ZodString>;
|
|
79728
79754
|
provider_account_id: z.ZodOptional<z.ZodString>;
|
|
79755
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
79729
79756
|
input_price_per_m_tokens: z.ZodNumber;
|
|
79730
79757
|
cached_input_price_per_m_tokens: z.ZodOptional<z.ZodNumber>;
|
|
79731
79758
|
cache_write_input_price_per_m_tokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -79736,6 +79763,17 @@ declare const COST_ANALYTICS_SCHEMAS: {
|
|
|
79736
79763
|
unavailable: "unavailable";
|
|
79737
79764
|
}>;
|
|
79738
79765
|
}, z.core.$strict>>;
|
|
79766
|
+
pricing_coverage: z.ZodOptional<z.ZodObject<{
|
|
79767
|
+
priced_calls: z.ZodNumber;
|
|
79768
|
+
unpriced_calls: z.ZodNumber;
|
|
79769
|
+
assumed_default_calls: z.ZodNumber;
|
|
79770
|
+
unpriced: z.ZodArray<z.ZodObject<{
|
|
79771
|
+
model: z.ZodString;
|
|
79772
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
79773
|
+
service_tier: z.ZodString;
|
|
79774
|
+
calls: z.ZodNumber;
|
|
79775
|
+
}, z.core.$strict>>;
|
|
79776
|
+
}, z.core.$strict>>;
|
|
79739
79777
|
query_range: z.ZodObject<{
|
|
79740
79778
|
from: z.ZodString;
|
|
79741
79779
|
to: z.ZodString;
|
|
@@ -79756,6 +79794,7 @@ declare const COST_ANALYTICS_SCHEMAS: {
|
|
|
79756
79794
|
dimension: z.ZodString;
|
|
79757
79795
|
label: z.ZodOptional<z.ZodString>;
|
|
79758
79796
|
provider: z.ZodOptional<z.ZodString>;
|
|
79797
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
79759
79798
|
cost: z.ZodNumber;
|
|
79760
79799
|
input_tokens: z.ZodNumber;
|
|
79761
79800
|
cached_input_tokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -79776,6 +79815,7 @@ declare const COST_ANALYTICS_SCHEMAS: {
|
|
|
79776
79815
|
model: z.ZodString;
|
|
79777
79816
|
provider: z.ZodOptional<z.ZodString>;
|
|
79778
79817
|
provider_account_id: z.ZodOptional<z.ZodString>;
|
|
79818
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
79779
79819
|
input_price_per_m_tokens: z.ZodNumber;
|
|
79780
79820
|
cached_input_price_per_m_tokens: z.ZodOptional<z.ZodNumber>;
|
|
79781
79821
|
cache_write_input_price_per_m_tokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -79786,6 +79826,17 @@ declare const COST_ANALYTICS_SCHEMAS: {
|
|
|
79786
79826
|
unavailable: "unavailable";
|
|
79787
79827
|
}>;
|
|
79788
79828
|
}, z.core.$strict>>>;
|
|
79829
|
+
pricing_coverage: z.ZodOptional<z.ZodObject<{
|
|
79830
|
+
priced_calls: z.ZodNumber;
|
|
79831
|
+
unpriced_calls: z.ZodNumber;
|
|
79832
|
+
assumed_default_calls: z.ZodNumber;
|
|
79833
|
+
unpriced: z.ZodArray<z.ZodObject<{
|
|
79834
|
+
model: z.ZodString;
|
|
79835
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
79836
|
+
service_tier: z.ZodString;
|
|
79837
|
+
calls: z.ZodNumber;
|
|
79838
|
+
}, z.core.$strict>>;
|
|
79839
|
+
}, z.core.$strict>>;
|
|
79789
79840
|
query_range: z.ZodOptional<z.ZodObject<{
|
|
79790
79841
|
from: z.ZodString;
|
|
79791
79842
|
to: z.ZodString;
|
|
@@ -79805,6 +79856,9 @@ declare const COST_ANALYTICS_SCHEMAS: {
|
|
|
79805
79856
|
gcp_list: z.ZodNumber;
|
|
79806
79857
|
gcp_effective: z.ZodNumber;
|
|
79807
79858
|
aws_pricing: z.ZodNumber;
|
|
79859
|
+
xai_pricing: z.ZodNumber;
|
|
79860
|
+
openrouter_pricing: z.ZodNumber;
|
|
79861
|
+
openai_costs: z.ZodNumber;
|
|
79808
79862
|
}, z.core.$strict>;
|
|
79809
79863
|
readonly PricingSyncResult: z.ZodObject<{
|
|
79810
79864
|
days: z.ZodArray<z.ZodObject<{
|
|
@@ -79812,6 +79866,9 @@ declare const COST_ANALYTICS_SCHEMAS: {
|
|
|
79812
79866
|
gcp_list: z.ZodNumber;
|
|
79813
79867
|
gcp_effective: z.ZodNumber;
|
|
79814
79868
|
aws_pricing: z.ZodNumber;
|
|
79869
|
+
xai_pricing: z.ZodNumber;
|
|
79870
|
+
openrouter_pricing: z.ZodNumber;
|
|
79871
|
+
openai_costs: z.ZodNumber;
|
|
79815
79872
|
}, z.core.$strict>>;
|
|
79816
79873
|
total_days: z.ZodNumber;
|
|
79817
79874
|
}, z.core.$strict>;
|