@to11ai/sdk 3.0.0-rc.20 → 3.0.0-rc.22
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/dist/generated/types.gen.d.ts +111 -26
- package/dist/generated/zod.gen.d.ts +109 -0
- package/package.json +2 -2
- package/src/generated/types.gen.ts +111 -26
- package/src/generated/zod.gen.ts +105 -3
|
@@ -1169,6 +1169,11 @@ export declare const zUsageSessionsResponse: z.ZodObject<{
|
|
|
1169
1169
|
closed: "closed";
|
|
1170
1170
|
}>;
|
|
1171
1171
|
url: z.ZodString;
|
|
1172
|
+
usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1173
|
+
apiEquivalentUsd: z.ZodNullable<z.ZodNumber>;
|
|
1174
|
+
requests: z.ZodInt;
|
|
1175
|
+
tokens: z.ZodInt;
|
|
1176
|
+
}, z.core.$strip>>>;
|
|
1172
1177
|
}, z.core.$strip>>>>;
|
|
1173
1178
|
requests: z.ZodInt;
|
|
1174
1179
|
sessionId: z.ZodString;
|
|
@@ -2852,6 +2857,7 @@ export declare const zCostRatesListBuiltinCostRatesQuery: z.ZodObject<{
|
|
|
2852
2857
|
cache_creation: "cache_creation";
|
|
2853
2858
|
cache_creation_5m: "cache_creation_5m";
|
|
2854
2859
|
cache_creation_1h: "cache_creation_1h";
|
|
2860
|
+
cache_creation_12h: "cache_creation_12h";
|
|
2855
2861
|
cache_read: "cache_read";
|
|
2856
2862
|
reasoning: "reasoning";
|
|
2857
2863
|
}>>>;
|
|
@@ -2894,6 +2900,7 @@ export declare const zCostRatesListBuiltinCostRatesResponse: z.ZodObject<{
|
|
|
2894
2900
|
cache_creation: "cache_creation";
|
|
2895
2901
|
cache_creation_5m: "cache_creation_5m";
|
|
2896
2902
|
cache_creation_1h: "cache_creation_1h";
|
|
2903
|
+
cache_creation_12h: "cache_creation_12h";
|
|
2897
2904
|
cache_read: "cache_read";
|
|
2898
2905
|
reasoning: "reasoning";
|
|
2899
2906
|
}>;
|
|
@@ -4313,6 +4320,7 @@ export declare const zCostRatesListOrgCostRatesQuery: z.ZodObject<{
|
|
|
4313
4320
|
cache_creation: "cache_creation";
|
|
4314
4321
|
cache_creation_5m: "cache_creation_5m";
|
|
4315
4322
|
cache_creation_1h: "cache_creation_1h";
|
|
4323
|
+
cache_creation_12h: "cache_creation_12h";
|
|
4316
4324
|
cache_read: "cache_read";
|
|
4317
4325
|
reasoning: "reasoning";
|
|
4318
4326
|
}>>>;
|
|
@@ -4355,6 +4363,7 @@ export declare const zCostRatesListOrgCostRatesResponse: z.ZodObject<{
|
|
|
4355
4363
|
cache_creation: "cache_creation";
|
|
4356
4364
|
cache_creation_5m: "cache_creation_5m";
|
|
4357
4365
|
cache_creation_1h: "cache_creation_1h";
|
|
4366
|
+
cache_creation_12h: "cache_creation_12h";
|
|
4358
4367
|
cache_read: "cache_read";
|
|
4359
4368
|
reasoning: "reasoning";
|
|
4360
4369
|
}>;
|
|
@@ -4403,6 +4412,7 @@ export declare const zCostRatesCreateOrgCostRateBody: z.ZodObject<{
|
|
|
4403
4412
|
cache_creation: "cache_creation";
|
|
4404
4413
|
cache_creation_5m: "cache_creation_5m";
|
|
4405
4414
|
cache_creation_1h: "cache_creation_1h";
|
|
4415
|
+
cache_creation_12h: "cache_creation_12h";
|
|
4406
4416
|
cache_read: "cache_read";
|
|
4407
4417
|
reasoning: "reasoning";
|
|
4408
4418
|
}>;
|
|
@@ -4441,6 +4451,7 @@ export declare const zCostRatesCreateOrgCostRateResponse: z.ZodObject<{
|
|
|
4441
4451
|
cache_creation: "cache_creation";
|
|
4442
4452
|
cache_creation_5m: "cache_creation_5m";
|
|
4443
4453
|
cache_creation_1h: "cache_creation_1h";
|
|
4454
|
+
cache_creation_12h: "cache_creation_12h";
|
|
4444
4455
|
cache_read: "cache_read";
|
|
4445
4456
|
reasoning: "reasoning";
|
|
4446
4457
|
}>;
|
|
@@ -4542,6 +4553,7 @@ export declare const zCostRatesUpdateOrgCostRateResponse: z.ZodObject<{
|
|
|
4542
4553
|
cache_creation: "cache_creation";
|
|
4543
4554
|
cache_creation_5m: "cache_creation_5m";
|
|
4544
4555
|
cache_creation_1h: "cache_creation_1h";
|
|
4556
|
+
cache_creation_12h: "cache_creation_12h";
|
|
4545
4557
|
cache_read: "cache_read";
|
|
4546
4558
|
reasoning: "reasoning";
|
|
4547
4559
|
}>;
|
|
@@ -5923,6 +5935,11 @@ export declare const zUsageListUsageSessionsResponse: z.ZodObject<{
|
|
|
5923
5935
|
closed: "closed";
|
|
5924
5936
|
}>;
|
|
5925
5937
|
url: z.ZodString;
|
|
5938
|
+
usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5939
|
+
apiEquivalentUsd: z.ZodNullable<z.ZodNumber>;
|
|
5940
|
+
requests: z.ZodInt;
|
|
5941
|
+
tokens: z.ZodInt;
|
|
5942
|
+
}, z.core.$strip>>>;
|
|
5926
5943
|
}, z.core.$strip>>>>;
|
|
5927
5944
|
requests: z.ZodInt;
|
|
5928
5945
|
sessionId: z.ZodString;
|
|
@@ -6414,6 +6431,7 @@ export declare const zCostRatesListWorkspaceCostRatesQuery: z.ZodObject<{
|
|
|
6414
6431
|
cache_creation: "cache_creation";
|
|
6415
6432
|
cache_creation_5m: "cache_creation_5m";
|
|
6416
6433
|
cache_creation_1h: "cache_creation_1h";
|
|
6434
|
+
cache_creation_12h: "cache_creation_12h";
|
|
6417
6435
|
cache_read: "cache_read";
|
|
6418
6436
|
reasoning: "reasoning";
|
|
6419
6437
|
}>>>;
|
|
@@ -6456,6 +6474,7 @@ export declare const zCostRatesListWorkspaceCostRatesResponse: z.ZodObject<{
|
|
|
6456
6474
|
cache_creation: "cache_creation";
|
|
6457
6475
|
cache_creation_5m: "cache_creation_5m";
|
|
6458
6476
|
cache_creation_1h: "cache_creation_1h";
|
|
6477
|
+
cache_creation_12h: "cache_creation_12h";
|
|
6459
6478
|
cache_read: "cache_read";
|
|
6460
6479
|
reasoning: "reasoning";
|
|
6461
6480
|
}>;
|
|
@@ -6504,6 +6523,7 @@ export declare const zCostRatesCreateWorkspaceCostRateBody: z.ZodObject<{
|
|
|
6504
6523
|
cache_creation: "cache_creation";
|
|
6505
6524
|
cache_creation_5m: "cache_creation_5m";
|
|
6506
6525
|
cache_creation_1h: "cache_creation_1h";
|
|
6526
|
+
cache_creation_12h: "cache_creation_12h";
|
|
6507
6527
|
cache_read: "cache_read";
|
|
6508
6528
|
reasoning: "reasoning";
|
|
6509
6529
|
}>;
|
|
@@ -6543,6 +6563,7 @@ export declare const zCostRatesCreateWorkspaceCostRateResponse: z.ZodObject<{
|
|
|
6543
6563
|
cache_creation: "cache_creation";
|
|
6544
6564
|
cache_creation_5m: "cache_creation_5m";
|
|
6545
6565
|
cache_creation_1h: "cache_creation_1h";
|
|
6566
|
+
cache_creation_12h: "cache_creation_12h";
|
|
6546
6567
|
cache_read: "cache_read";
|
|
6547
6568
|
reasoning: "reasoning";
|
|
6548
6569
|
}>;
|
|
@@ -6646,6 +6667,7 @@ export declare const zCostRatesUpdateWorkspaceCostRateResponse: z.ZodObject<{
|
|
|
6646
6667
|
cache_creation: "cache_creation";
|
|
6647
6668
|
cache_creation_5m: "cache_creation_5m";
|
|
6648
6669
|
cache_creation_1h: "cache_creation_1h";
|
|
6670
|
+
cache_creation_12h: "cache_creation_12h";
|
|
6649
6671
|
cache_read: "cache_read";
|
|
6650
6672
|
reasoning: "reasoning";
|
|
6651
6673
|
}>;
|
|
@@ -8105,6 +8127,7 @@ export declare const zCostRatesListProjectCostRatesQuery: z.ZodObject<{
|
|
|
8105
8127
|
cache_creation: "cache_creation";
|
|
8106
8128
|
cache_creation_5m: "cache_creation_5m";
|
|
8107
8129
|
cache_creation_1h: "cache_creation_1h";
|
|
8130
|
+
cache_creation_12h: "cache_creation_12h";
|
|
8108
8131
|
cache_read: "cache_read";
|
|
8109
8132
|
reasoning: "reasoning";
|
|
8110
8133
|
}>>>;
|
|
@@ -8147,6 +8170,7 @@ export declare const zCostRatesListProjectCostRatesResponse: z.ZodObject<{
|
|
|
8147
8170
|
cache_creation: "cache_creation";
|
|
8148
8171
|
cache_creation_5m: "cache_creation_5m";
|
|
8149
8172
|
cache_creation_1h: "cache_creation_1h";
|
|
8173
|
+
cache_creation_12h: "cache_creation_12h";
|
|
8150
8174
|
cache_read: "cache_read";
|
|
8151
8175
|
reasoning: "reasoning";
|
|
8152
8176
|
}>;
|
|
@@ -8195,6 +8219,7 @@ export declare const zCostRatesCreateProjectCostRateBody: z.ZodObject<{
|
|
|
8195
8219
|
cache_creation: "cache_creation";
|
|
8196
8220
|
cache_creation_5m: "cache_creation_5m";
|
|
8197
8221
|
cache_creation_1h: "cache_creation_1h";
|
|
8222
|
+
cache_creation_12h: "cache_creation_12h";
|
|
8198
8223
|
cache_read: "cache_read";
|
|
8199
8224
|
reasoning: "reasoning";
|
|
8200
8225
|
}>;
|
|
@@ -8233,6 +8258,7 @@ export declare const zCostRatesCreateProjectCostRateResponse: z.ZodObject<{
|
|
|
8233
8258
|
cache_creation: "cache_creation";
|
|
8234
8259
|
cache_creation_5m: "cache_creation_5m";
|
|
8235
8260
|
cache_creation_1h: "cache_creation_1h";
|
|
8261
|
+
cache_creation_12h: "cache_creation_12h";
|
|
8236
8262
|
cache_read: "cache_read";
|
|
8237
8263
|
reasoning: "reasoning";
|
|
8238
8264
|
}>;
|
|
@@ -8303,6 +8329,7 @@ export declare const zCostRatesGetEffectiveCostRatesResponse: z.ZodObject<{
|
|
|
8303
8329
|
cache_creation: "cache_creation";
|
|
8304
8330
|
cache_creation_5m: "cache_creation_5m";
|
|
8305
8331
|
cache_creation_1h: "cache_creation_1h";
|
|
8332
|
+
cache_creation_12h: "cache_creation_12h";
|
|
8306
8333
|
cache_read: "cache_read";
|
|
8307
8334
|
reasoning: "reasoning";
|
|
8308
8335
|
}>;
|
|
@@ -8407,6 +8434,7 @@ export declare const zCostRatesUpdateProjectCostRateResponse: z.ZodObject<{
|
|
|
8407
8434
|
cache_creation: "cache_creation";
|
|
8408
8435
|
cache_creation_5m: "cache_creation_5m";
|
|
8409
8436
|
cache_creation_1h: "cache_creation_1h";
|
|
8437
|
+
cache_creation_12h: "cache_creation_12h";
|
|
8410
8438
|
cache_read: "cache_read";
|
|
8411
8439
|
reasoning: "reasoning";
|
|
8412
8440
|
}>;
|
|
@@ -8622,6 +8650,10 @@ export declare const zProjectOverviewGetProjectOverviewResponse: z.ZodObject<{
|
|
|
8622
8650
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8623
8651
|
count: z.ZodNumber;
|
|
8624
8652
|
}, z.core.$strip>>>;
|
|
8653
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8654
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
8655
|
+
count: z.ZodNumber;
|
|
8656
|
+
}, z.core.$strip>>>;
|
|
8625
8657
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8626
8658
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8627
8659
|
count: z.ZodNumber;
|
|
@@ -8644,6 +8676,7 @@ export declare const zProjectOverviewGetProjectOverviewResponse: z.ZodObject<{
|
|
|
8644
8676
|
cache_creation: "cache_creation";
|
|
8645
8677
|
cache_creation_5m: "cache_creation_5m";
|
|
8646
8678
|
cache_creation_1h: "cache_creation_1h";
|
|
8679
|
+
cache_creation_12h: "cache_creation_12h";
|
|
8647
8680
|
cache_read: "cache_read";
|
|
8648
8681
|
reasoning: "reasoning";
|
|
8649
8682
|
}>>>>;
|
|
@@ -8670,6 +8703,10 @@ export declare const zProjectOverviewGetProjectOverviewResponse: z.ZodObject<{
|
|
|
8670
8703
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8671
8704
|
count: z.ZodNumber;
|
|
8672
8705
|
}, z.core.$strip>>>;
|
|
8706
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8707
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
8708
|
+
count: z.ZodNumber;
|
|
8709
|
+
}, z.core.$strip>>>;
|
|
8673
8710
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8674
8711
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8675
8712
|
count: z.ZodNumber;
|
|
@@ -8736,6 +8773,10 @@ export declare const zProjectOverviewGetProjectOverviewResponse: z.ZodObject<{
|
|
|
8736
8773
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8737
8774
|
count: z.ZodNumber;
|
|
8738
8775
|
}, z.core.$strip>>>;
|
|
8776
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8777
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
8778
|
+
count: z.ZodNumber;
|
|
8779
|
+
}, z.core.$strip>>>;
|
|
8739
8780
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8740
8781
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8741
8782
|
count: z.ZodNumber;
|
|
@@ -8758,6 +8799,7 @@ export declare const zProjectOverviewGetProjectOverviewResponse: z.ZodObject<{
|
|
|
8758
8799
|
cache_creation: "cache_creation";
|
|
8759
8800
|
cache_creation_5m: "cache_creation_5m";
|
|
8760
8801
|
cache_creation_1h: "cache_creation_1h";
|
|
8802
|
+
cache_creation_12h: "cache_creation_12h";
|
|
8761
8803
|
cache_read: "cache_read";
|
|
8762
8804
|
reasoning: "reasoning";
|
|
8763
8805
|
}>>>>;
|
|
@@ -8784,6 +8826,10 @@ export declare const zProjectOverviewGetProjectOverviewResponse: z.ZodObject<{
|
|
|
8784
8826
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8785
8827
|
count: z.ZodNumber;
|
|
8786
8828
|
}, z.core.$strip>>>;
|
|
8829
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8830
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
8831
|
+
count: z.ZodNumber;
|
|
8832
|
+
}, z.core.$strip>>>;
|
|
8787
8833
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8788
8834
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8789
8835
|
count: z.ZodNumber;
|
|
@@ -8839,6 +8885,10 @@ export declare const zProjectOverviewGetProjectOverviewResponse: z.ZodObject<{
|
|
|
8839
8885
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8840
8886
|
count: z.ZodNumber;
|
|
8841
8887
|
}, z.core.$strip>>>;
|
|
8888
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8889
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
8890
|
+
count: z.ZodNumber;
|
|
8891
|
+
}, z.core.$strip>>>;
|
|
8842
8892
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8843
8893
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8844
8894
|
count: z.ZodNumber;
|
|
@@ -8861,6 +8911,7 @@ export declare const zProjectOverviewGetProjectOverviewResponse: z.ZodObject<{
|
|
|
8861
8911
|
cache_creation: "cache_creation";
|
|
8862
8912
|
cache_creation_5m: "cache_creation_5m";
|
|
8863
8913
|
cache_creation_1h: "cache_creation_1h";
|
|
8914
|
+
cache_creation_12h: "cache_creation_12h";
|
|
8864
8915
|
cache_read: "cache_read";
|
|
8865
8916
|
reasoning: "reasoning";
|
|
8866
8917
|
}>>>>;
|
|
@@ -8887,6 +8938,10 @@ export declare const zProjectOverviewGetProjectOverviewResponse: z.ZodObject<{
|
|
|
8887
8938
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8888
8939
|
count: z.ZodNumber;
|
|
8889
8940
|
}, z.core.$strip>>>;
|
|
8941
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8942
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
8943
|
+
count: z.ZodNumber;
|
|
8944
|
+
}, z.core.$strip>>>;
|
|
8890
8945
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8891
8946
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8892
8947
|
count: z.ZodNumber;
|
|
@@ -12361,6 +12416,9 @@ export declare const zProviderConfigDraftsGetProviderDraftResponse: z.ZodObject<
|
|
|
12361
12416
|
export declare const zProviderConfigDraftsUpdateProviderDraftBody: z.ZodObject<{
|
|
12362
12417
|
configSnapshotPatch: z.ZodObject<{
|
|
12363
12418
|
baseUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12419
|
+
billingModeOverride: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
12420
|
+
api: "api";
|
|
12421
|
+
}>>>;
|
|
12364
12422
|
blockedModels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12365
12423
|
customModelIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12366
12424
|
modelPolicy: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
@@ -14812,6 +14870,10 @@ export declare const zSessionsListSessionsResponse: z.ZodObject<{
|
|
|
14812
14870
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
14813
14871
|
count: z.ZodNumber;
|
|
14814
14872
|
}, z.core.$strip>>>;
|
|
14873
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14874
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
14875
|
+
count: z.ZodNumber;
|
|
14876
|
+
}, z.core.$strip>>>;
|
|
14815
14877
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14816
14878
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
14817
14879
|
count: z.ZodNumber;
|
|
@@ -14834,6 +14896,7 @@ export declare const zSessionsListSessionsResponse: z.ZodObject<{
|
|
|
14834
14896
|
cache_creation: "cache_creation";
|
|
14835
14897
|
cache_creation_5m: "cache_creation_5m";
|
|
14836
14898
|
cache_creation_1h: "cache_creation_1h";
|
|
14899
|
+
cache_creation_12h: "cache_creation_12h";
|
|
14837
14900
|
cache_read: "cache_read";
|
|
14838
14901
|
reasoning: "reasoning";
|
|
14839
14902
|
}>>>>;
|
|
@@ -14860,6 +14923,10 @@ export declare const zSessionsListSessionsResponse: z.ZodObject<{
|
|
|
14860
14923
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
14861
14924
|
count: z.ZodNumber;
|
|
14862
14925
|
}, z.core.$strip>>>;
|
|
14926
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14927
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
14928
|
+
count: z.ZodNumber;
|
|
14929
|
+
}, z.core.$strip>>>;
|
|
14863
14930
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14864
14931
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
14865
14932
|
count: z.ZodNumber;
|
|
@@ -14912,6 +14979,11 @@ export declare const zSessionsListSessionsResponse: z.ZodObject<{
|
|
|
14912
14979
|
closed: "closed";
|
|
14913
14980
|
}>;
|
|
14914
14981
|
url: z.ZodString;
|
|
14982
|
+
usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14983
|
+
apiEquivalentUsd: z.ZodNullable<z.ZodNumber>;
|
|
14984
|
+
requests: z.ZodInt;
|
|
14985
|
+
tokens: z.ZodInt;
|
|
14986
|
+
}, z.core.$strip>>>;
|
|
14915
14987
|
}, z.core.$strip>>;
|
|
14916
14988
|
requestCount: z.ZodInt;
|
|
14917
14989
|
sessionId: z.ZodString;
|
|
@@ -14990,6 +15062,10 @@ export declare const zSessionsGetSessionResponse: z.ZodObject<{
|
|
|
14990
15062
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
14991
15063
|
count: z.ZodNumber;
|
|
14992
15064
|
}, z.core.$strip>>>;
|
|
15065
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15066
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15067
|
+
count: z.ZodNumber;
|
|
15068
|
+
}, z.core.$strip>>>;
|
|
14993
15069
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14994
15070
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
14995
15071
|
count: z.ZodNumber;
|
|
@@ -15012,6 +15088,7 @@ export declare const zSessionsGetSessionResponse: z.ZodObject<{
|
|
|
15012
15088
|
cache_creation: "cache_creation";
|
|
15013
15089
|
cache_creation_5m: "cache_creation_5m";
|
|
15014
15090
|
cache_creation_1h: "cache_creation_1h";
|
|
15091
|
+
cache_creation_12h: "cache_creation_12h";
|
|
15015
15092
|
cache_read: "cache_read";
|
|
15016
15093
|
reasoning: "reasoning";
|
|
15017
15094
|
}>>>>;
|
|
@@ -15038,6 +15115,10 @@ export declare const zSessionsGetSessionResponse: z.ZodObject<{
|
|
|
15038
15115
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15039
15116
|
count: z.ZodNumber;
|
|
15040
15117
|
}, z.core.$strip>>>;
|
|
15118
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15119
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15120
|
+
count: z.ZodNumber;
|
|
15121
|
+
}, z.core.$strip>>>;
|
|
15041
15122
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15042
15123
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15043
15124
|
count: z.ZodNumber;
|
|
@@ -15090,6 +15171,11 @@ export declare const zSessionsGetSessionResponse: z.ZodObject<{
|
|
|
15090
15171
|
closed: "closed";
|
|
15091
15172
|
}>;
|
|
15092
15173
|
url: z.ZodString;
|
|
15174
|
+
usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15175
|
+
apiEquivalentUsd: z.ZodNullable<z.ZodNumber>;
|
|
15176
|
+
requests: z.ZodInt;
|
|
15177
|
+
tokens: z.ZodInt;
|
|
15178
|
+
}, z.core.$strip>>>;
|
|
15093
15179
|
}, z.core.$strip>>;
|
|
15094
15180
|
requestCount: z.ZodInt;
|
|
15095
15181
|
sessionId: z.ZodString;
|
|
@@ -15250,6 +15336,10 @@ export declare const zTracesListTracesResponse: z.ZodObject<{
|
|
|
15250
15336
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15251
15337
|
count: z.ZodNumber;
|
|
15252
15338
|
}, z.core.$strip>>>;
|
|
15339
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15340
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15341
|
+
count: z.ZodNumber;
|
|
15342
|
+
}, z.core.$strip>>>;
|
|
15253
15343
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15254
15344
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15255
15345
|
count: z.ZodNumber;
|
|
@@ -15272,6 +15362,7 @@ export declare const zTracesListTracesResponse: z.ZodObject<{
|
|
|
15272
15362
|
cache_creation: "cache_creation";
|
|
15273
15363
|
cache_creation_5m: "cache_creation_5m";
|
|
15274
15364
|
cache_creation_1h: "cache_creation_1h";
|
|
15365
|
+
cache_creation_12h: "cache_creation_12h";
|
|
15275
15366
|
cache_read: "cache_read";
|
|
15276
15367
|
reasoning: "reasoning";
|
|
15277
15368
|
}>>>>;
|
|
@@ -15298,6 +15389,10 @@ export declare const zTracesListTracesResponse: z.ZodObject<{
|
|
|
15298
15389
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15299
15390
|
count: z.ZodNumber;
|
|
15300
15391
|
}, z.core.$strip>>>;
|
|
15392
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15393
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15394
|
+
count: z.ZodNumber;
|
|
15395
|
+
}, z.core.$strip>>>;
|
|
15301
15396
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15302
15397
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15303
15398
|
count: z.ZodNumber;
|
|
@@ -15548,6 +15643,10 @@ export declare const zTracesGetTraceDetailResponse: z.ZodObject<{
|
|
|
15548
15643
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15549
15644
|
count: z.ZodNumber;
|
|
15550
15645
|
}, z.core.$strip>>>;
|
|
15646
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15647
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15648
|
+
count: z.ZodNumber;
|
|
15649
|
+
}, z.core.$strip>>>;
|
|
15551
15650
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15552
15651
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15553
15652
|
count: z.ZodNumber;
|
|
@@ -15570,6 +15669,7 @@ export declare const zTracesGetTraceDetailResponse: z.ZodObject<{
|
|
|
15570
15669
|
cache_creation: "cache_creation";
|
|
15571
15670
|
cache_creation_5m: "cache_creation_5m";
|
|
15572
15671
|
cache_creation_1h: "cache_creation_1h";
|
|
15672
|
+
cache_creation_12h: "cache_creation_12h";
|
|
15573
15673
|
cache_read: "cache_read";
|
|
15574
15674
|
reasoning: "reasoning";
|
|
15575
15675
|
}>>>>;
|
|
@@ -15596,6 +15696,10 @@ export declare const zTracesGetTraceDetailResponse: z.ZodObject<{
|
|
|
15596
15696
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15597
15697
|
count: z.ZodNumber;
|
|
15598
15698
|
}, z.core.$strip>>>;
|
|
15699
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15700
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15701
|
+
count: z.ZodNumber;
|
|
15702
|
+
}, z.core.$strip>>>;
|
|
15599
15703
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15600
15704
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15601
15705
|
count: z.ZodNumber;
|
|
@@ -15654,6 +15758,10 @@ export declare const zTracesGetTraceDetailResponse: z.ZodObject<{
|
|
|
15654
15758
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15655
15759
|
count: z.ZodNumber;
|
|
15656
15760
|
}, z.core.$strip>>>;
|
|
15761
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15762
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15763
|
+
count: z.ZodNumber;
|
|
15764
|
+
}, z.core.$strip>>>;
|
|
15657
15765
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15658
15766
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15659
15767
|
count: z.ZodNumber;
|
|
@@ -15676,6 +15784,7 @@ export declare const zTracesGetTraceDetailResponse: z.ZodObject<{
|
|
|
15676
15784
|
cache_creation: "cache_creation";
|
|
15677
15785
|
cache_creation_5m: "cache_creation_5m";
|
|
15678
15786
|
cache_creation_1h: "cache_creation_1h";
|
|
15787
|
+
cache_creation_12h: "cache_creation_12h";
|
|
15679
15788
|
cache_read: "cache_read";
|
|
15680
15789
|
reasoning: "reasoning";
|
|
15681
15790
|
}>>>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@to11ai/sdk",
|
|
3
|
-
"version": "3.0.0-rc.
|
|
3
|
+
"version": "3.0.0-rc.22",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"@biomejs/biome": "2.6.2",
|
|
95
95
|
"@hey-api/openapi-ts": "0.99.0",
|
|
96
96
|
"@opentelemetry/api": "^1.9.1",
|
|
97
|
-
"@types/bun": "^1.4.
|
|
97
|
+
"@types/bun": "^1.4.4",
|
|
98
98
|
"openai": "^4.104.0",
|
|
99
99
|
"typescript": "^6.0.3"
|
|
100
100
|
},
|