@to11ai/sdk 3.0.0-rc.20 → 3.0.0-rc.21
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 +86 -26
- package/dist/generated/zod.gen.d.ts +86 -0
- package/package.json +2 -2
- package/src/generated/types.gen.ts +86 -26
- package/src/generated/zod.gen.ts +86 -0
package/src/generated/zod.gen.ts
CHANGED
|
@@ -2496,6 +2496,7 @@ export const zCostRatesListBuiltinCostRatesQuery = z.object({
|
|
|
2496
2496
|
'cache_creation',
|
|
2497
2497
|
'cache_creation_5m',
|
|
2498
2498
|
'cache_creation_1h',
|
|
2499
|
+
'cache_creation_12h',
|
|
2499
2500
|
'cache_read',
|
|
2500
2501
|
'reasoning'
|
|
2501
2502
|
]).nullish(),
|
|
@@ -2534,6 +2535,7 @@ export const zCostRatesListBuiltinCostRatesResponse = z.object({
|
|
|
2534
2535
|
'cache_creation',
|
|
2535
2536
|
'cache_creation_5m',
|
|
2536
2537
|
'cache_creation_1h',
|
|
2538
|
+
'cache_creation_12h',
|
|
2537
2539
|
'reasoning'
|
|
2538
2540
|
]),
|
|
2539
2541
|
updatedAt: z.iso.datetime(),
|
|
@@ -3985,6 +3987,7 @@ export const zCostRatesListOrgCostRatesQuery = z.object({
|
|
|
3985
3987
|
'cache_creation',
|
|
3986
3988
|
'cache_creation_5m',
|
|
3987
3989
|
'cache_creation_1h',
|
|
3990
|
+
'cache_creation_12h',
|
|
3988
3991
|
'cache_read',
|
|
3989
3992
|
'reasoning'
|
|
3990
3993
|
]).nullish(),
|
|
@@ -4023,6 +4026,7 @@ export const zCostRatesListOrgCostRatesResponse = z.object({
|
|
|
4023
4026
|
'cache_creation',
|
|
4024
4027
|
'cache_creation_5m',
|
|
4025
4028
|
'cache_creation_1h',
|
|
4029
|
+
'cache_creation_12h',
|
|
4026
4030
|
'reasoning'
|
|
4027
4031
|
]),
|
|
4028
4032
|
updatedAt: z.iso.datetime(),
|
|
@@ -4069,6 +4073,7 @@ export const zCostRatesCreateOrgCostRateBody = z.object({
|
|
|
4069
4073
|
'cache_creation',
|
|
4070
4074
|
'cache_creation_5m',
|
|
4071
4075
|
'cache_creation_1h',
|
|
4076
|
+
'cache_creation_12h',
|
|
4072
4077
|
'reasoning'
|
|
4073
4078
|
]),
|
|
4074
4079
|
validFrom: z.string()
|
|
@@ -4106,6 +4111,7 @@ export const zCostRatesCreateOrgCostRateResponse = z.object({
|
|
|
4106
4111
|
'cache_creation',
|
|
4107
4112
|
'cache_creation_5m',
|
|
4108
4113
|
'cache_creation_1h',
|
|
4114
|
+
'cache_creation_12h',
|
|
4109
4115
|
'reasoning'
|
|
4110
4116
|
]),
|
|
4111
4117
|
updatedAt: z.iso.datetime(),
|
|
@@ -4209,6 +4215,7 @@ export const zCostRatesUpdateOrgCostRateResponse = z.object({
|
|
|
4209
4215
|
'cache_creation',
|
|
4210
4216
|
'cache_creation_5m',
|
|
4211
4217
|
'cache_creation_1h',
|
|
4218
|
+
'cache_creation_12h',
|
|
4212
4219
|
'reasoning'
|
|
4213
4220
|
]),
|
|
4214
4221
|
updatedAt: z.iso.datetime(),
|
|
@@ -5742,6 +5749,7 @@ export const zCostRatesListWorkspaceCostRatesQuery = z.object({
|
|
|
5742
5749
|
'cache_creation',
|
|
5743
5750
|
'cache_creation_5m',
|
|
5744
5751
|
'cache_creation_1h',
|
|
5752
|
+
'cache_creation_12h',
|
|
5745
5753
|
'cache_read',
|
|
5746
5754
|
'reasoning'
|
|
5747
5755
|
]).nullish(),
|
|
@@ -5780,6 +5788,7 @@ export const zCostRatesListWorkspaceCostRatesResponse = z.object({
|
|
|
5780
5788
|
'cache_creation',
|
|
5781
5789
|
'cache_creation_5m',
|
|
5782
5790
|
'cache_creation_1h',
|
|
5791
|
+
'cache_creation_12h',
|
|
5783
5792
|
'reasoning'
|
|
5784
5793
|
]),
|
|
5785
5794
|
updatedAt: z.iso.datetime(),
|
|
@@ -5826,6 +5835,7 @@ export const zCostRatesCreateWorkspaceCostRateBody = z.object({
|
|
|
5826
5835
|
'cache_creation',
|
|
5827
5836
|
'cache_creation_5m',
|
|
5828
5837
|
'cache_creation_1h',
|
|
5838
|
+
'cache_creation_12h',
|
|
5829
5839
|
'reasoning'
|
|
5830
5840
|
]),
|
|
5831
5841
|
validFrom: z.string()
|
|
@@ -5864,6 +5874,7 @@ export const zCostRatesCreateWorkspaceCostRateResponse = z.object({
|
|
|
5864
5874
|
'cache_creation',
|
|
5865
5875
|
'cache_creation_5m',
|
|
5866
5876
|
'cache_creation_1h',
|
|
5877
|
+
'cache_creation_12h',
|
|
5867
5878
|
'reasoning'
|
|
5868
5879
|
]),
|
|
5869
5880
|
updatedAt: z.iso.datetime(),
|
|
@@ -5969,6 +5980,7 @@ export const zCostRatesUpdateWorkspaceCostRateResponse = z.object({
|
|
|
5969
5980
|
'cache_creation',
|
|
5970
5981
|
'cache_creation_5m',
|
|
5971
5982
|
'cache_creation_1h',
|
|
5983
|
+
'cache_creation_12h',
|
|
5972
5984
|
'reasoning'
|
|
5973
5985
|
]),
|
|
5974
5986
|
updatedAt: z.iso.datetime(),
|
|
@@ -7335,6 +7347,7 @@ export const zCostRatesListProjectCostRatesQuery = z.object({
|
|
|
7335
7347
|
'cache_creation',
|
|
7336
7348
|
'cache_creation_5m',
|
|
7337
7349
|
'cache_creation_1h',
|
|
7350
|
+
'cache_creation_12h',
|
|
7338
7351
|
'cache_read',
|
|
7339
7352
|
'reasoning'
|
|
7340
7353
|
]).nullish(),
|
|
@@ -7373,6 +7386,7 @@ export const zCostRatesListProjectCostRatesResponse = z.object({
|
|
|
7373
7386
|
'cache_creation',
|
|
7374
7387
|
'cache_creation_5m',
|
|
7375
7388
|
'cache_creation_1h',
|
|
7389
|
+
'cache_creation_12h',
|
|
7376
7390
|
'reasoning'
|
|
7377
7391
|
]),
|
|
7378
7392
|
updatedAt: z.iso.datetime(),
|
|
@@ -7419,6 +7433,7 @@ export const zCostRatesCreateProjectCostRateBody = z.object({
|
|
|
7419
7433
|
'cache_creation',
|
|
7420
7434
|
'cache_creation_5m',
|
|
7421
7435
|
'cache_creation_1h',
|
|
7436
|
+
'cache_creation_12h',
|
|
7422
7437
|
'reasoning'
|
|
7423
7438
|
]),
|
|
7424
7439
|
validFrom: z.string()
|
|
@@ -7456,6 +7471,7 @@ export const zCostRatesCreateProjectCostRateResponse = z.object({
|
|
|
7456
7471
|
'cache_creation',
|
|
7457
7472
|
'cache_creation_5m',
|
|
7458
7473
|
'cache_creation_1h',
|
|
7474
|
+
'cache_creation_12h',
|
|
7459
7475
|
'reasoning'
|
|
7460
7476
|
]),
|
|
7461
7477
|
updatedAt: z.iso.datetime(),
|
|
@@ -7526,6 +7542,7 @@ export const zCostRatesGetEffectiveCostRatesResponse = z.object({
|
|
|
7526
7542
|
'cache_creation',
|
|
7527
7543
|
'cache_creation_5m',
|
|
7528
7544
|
'cache_creation_1h',
|
|
7545
|
+
'cache_creation_12h',
|
|
7529
7546
|
'reasoning'
|
|
7530
7547
|
]),
|
|
7531
7548
|
validFrom: z.iso.datetime()
|
|
@@ -7632,6 +7649,7 @@ export const zCostRatesUpdateProjectCostRateResponse = z.object({
|
|
|
7632
7649
|
'cache_creation',
|
|
7633
7650
|
'cache_creation_5m',
|
|
7634
7651
|
'cache_creation_1h',
|
|
7652
|
+
'cache_creation_12h',
|
|
7635
7653
|
'reasoning'
|
|
7636
7654
|
]),
|
|
7637
7655
|
updatedAt: z.iso.datetime(),
|
|
@@ -7854,6 +7872,10 @@ export const zProjectOverviewGetProjectOverviewResponse = z.object({
|
|
|
7854
7872
|
cost: z.number().nullable(),
|
|
7855
7873
|
count: z.number()
|
|
7856
7874
|
}).nullish(),
|
|
7875
|
+
cache_creation_12h: z.object({
|
|
7876
|
+
cost: z.number().nullable(),
|
|
7877
|
+
count: z.number()
|
|
7878
|
+
}).nullish(),
|
|
7857
7879
|
cache_creation_1h: z.object({
|
|
7858
7880
|
cost: z.number().nullable(),
|
|
7859
7881
|
count: z.number()
|
|
@@ -7877,6 +7899,7 @@ export const zProjectOverviewGetProjectOverviewResponse = z.object({
|
|
|
7877
7899
|
'cache_creation',
|
|
7878
7900
|
'cache_creation_5m',
|
|
7879
7901
|
'cache_creation_1h',
|
|
7902
|
+
'cache_creation_12h',
|
|
7880
7903
|
'reasoning'
|
|
7881
7904
|
])).nullish(),
|
|
7882
7905
|
output: z.object({
|
|
@@ -7900,6 +7923,10 @@ export const zProjectOverviewGetProjectOverviewResponse = z.object({
|
|
|
7900
7923
|
cost: z.number().nullable(),
|
|
7901
7924
|
count: z.number()
|
|
7902
7925
|
}).nullish(),
|
|
7926
|
+
cache_creation_12h: z.object({
|
|
7927
|
+
cost: z.number().nullable(),
|
|
7928
|
+
count: z.number()
|
|
7929
|
+
}).nullish(),
|
|
7903
7930
|
cache_creation_1h: z.object({
|
|
7904
7931
|
cost: z.number().nullable(),
|
|
7905
7932
|
count: z.number()
|
|
@@ -7966,6 +7993,10 @@ export const zProjectOverviewGetProjectOverviewResponse = z.object({
|
|
|
7966
7993
|
cost: z.number().nullable(),
|
|
7967
7994
|
count: z.number()
|
|
7968
7995
|
}).nullish(),
|
|
7996
|
+
cache_creation_12h: z.object({
|
|
7997
|
+
cost: z.number().nullable(),
|
|
7998
|
+
count: z.number()
|
|
7999
|
+
}).nullish(),
|
|
7969
8000
|
cache_creation_1h: z.object({
|
|
7970
8001
|
cost: z.number().nullable(),
|
|
7971
8002
|
count: z.number()
|
|
@@ -7989,6 +8020,7 @@ export const zProjectOverviewGetProjectOverviewResponse = z.object({
|
|
|
7989
8020
|
'cache_creation',
|
|
7990
8021
|
'cache_creation_5m',
|
|
7991
8022
|
'cache_creation_1h',
|
|
8023
|
+
'cache_creation_12h',
|
|
7992
8024
|
'reasoning'
|
|
7993
8025
|
])).nullish(),
|
|
7994
8026
|
output: z.object({
|
|
@@ -8012,6 +8044,10 @@ export const zProjectOverviewGetProjectOverviewResponse = z.object({
|
|
|
8012
8044
|
cost: z.number().nullable(),
|
|
8013
8045
|
count: z.number()
|
|
8014
8046
|
}).nullish(),
|
|
8047
|
+
cache_creation_12h: z.object({
|
|
8048
|
+
cost: z.number().nullable(),
|
|
8049
|
+
count: z.number()
|
|
8050
|
+
}).nullish(),
|
|
8015
8051
|
cache_creation_1h: z.object({
|
|
8016
8052
|
cost: z.number().nullable(),
|
|
8017
8053
|
count: z.number()
|
|
@@ -8067,6 +8103,10 @@ export const zProjectOverviewGetProjectOverviewResponse = z.object({
|
|
|
8067
8103
|
cost: z.number().nullable(),
|
|
8068
8104
|
count: z.number()
|
|
8069
8105
|
}).nullish(),
|
|
8106
|
+
cache_creation_12h: z.object({
|
|
8107
|
+
cost: z.number().nullable(),
|
|
8108
|
+
count: z.number()
|
|
8109
|
+
}).nullish(),
|
|
8070
8110
|
cache_creation_1h: z.object({
|
|
8071
8111
|
cost: z.number().nullable(),
|
|
8072
8112
|
count: z.number()
|
|
@@ -8090,6 +8130,7 @@ export const zProjectOverviewGetProjectOverviewResponse = z.object({
|
|
|
8090
8130
|
'cache_creation',
|
|
8091
8131
|
'cache_creation_5m',
|
|
8092
8132
|
'cache_creation_1h',
|
|
8133
|
+
'cache_creation_12h',
|
|
8093
8134
|
'reasoning'
|
|
8094
8135
|
])).nullish(),
|
|
8095
8136
|
output: z.object({
|
|
@@ -8113,6 +8154,10 @@ export const zProjectOverviewGetProjectOverviewResponse = z.object({
|
|
|
8113
8154
|
cost: z.number().nullable(),
|
|
8114
8155
|
count: z.number()
|
|
8115
8156
|
}).nullish(),
|
|
8157
|
+
cache_creation_12h: z.object({
|
|
8158
|
+
cost: z.number().nullable(),
|
|
8159
|
+
count: z.number()
|
|
8160
|
+
}).nullish(),
|
|
8116
8161
|
cache_creation_1h: z.object({
|
|
8117
8162
|
cost: z.number().nullable(),
|
|
8118
8163
|
count: z.number()
|
|
@@ -13423,6 +13468,10 @@ export const zSessionsListSessionsResponse = z.object({
|
|
|
13423
13468
|
cost: z.number().nullable(),
|
|
13424
13469
|
count: z.number()
|
|
13425
13470
|
}).nullish(),
|
|
13471
|
+
cache_creation_12h: z.object({
|
|
13472
|
+
cost: z.number().nullable(),
|
|
13473
|
+
count: z.number()
|
|
13474
|
+
}).nullish(),
|
|
13426
13475
|
cache_creation_1h: z.object({
|
|
13427
13476
|
cost: z.number().nullable(),
|
|
13428
13477
|
count: z.number()
|
|
@@ -13446,6 +13495,7 @@ export const zSessionsListSessionsResponse = z.object({
|
|
|
13446
13495
|
'cache_creation',
|
|
13447
13496
|
'cache_creation_5m',
|
|
13448
13497
|
'cache_creation_1h',
|
|
13498
|
+
'cache_creation_12h',
|
|
13449
13499
|
'reasoning'
|
|
13450
13500
|
])).nullish(),
|
|
13451
13501
|
output: z.object({
|
|
@@ -13469,6 +13519,10 @@ export const zSessionsListSessionsResponse = z.object({
|
|
|
13469
13519
|
cost: z.number().nullable(),
|
|
13470
13520
|
count: z.number()
|
|
13471
13521
|
}).nullish(),
|
|
13522
|
+
cache_creation_12h: z.object({
|
|
13523
|
+
cost: z.number().nullable(),
|
|
13524
|
+
count: z.number()
|
|
13525
|
+
}).nullish(),
|
|
13472
13526
|
cache_creation_1h: z.object({
|
|
13473
13527
|
cost: z.number().nullable(),
|
|
13474
13528
|
count: z.number()
|
|
@@ -13601,6 +13655,10 @@ export const zSessionsGetSessionResponse = z.object({
|
|
|
13601
13655
|
cost: z.number().nullable(),
|
|
13602
13656
|
count: z.number()
|
|
13603
13657
|
}).nullish(),
|
|
13658
|
+
cache_creation_12h: z.object({
|
|
13659
|
+
cost: z.number().nullable(),
|
|
13660
|
+
count: z.number()
|
|
13661
|
+
}).nullish(),
|
|
13604
13662
|
cache_creation_1h: z.object({
|
|
13605
13663
|
cost: z.number().nullable(),
|
|
13606
13664
|
count: z.number()
|
|
@@ -13624,6 +13682,7 @@ export const zSessionsGetSessionResponse = z.object({
|
|
|
13624
13682
|
'cache_creation',
|
|
13625
13683
|
'cache_creation_5m',
|
|
13626
13684
|
'cache_creation_1h',
|
|
13685
|
+
'cache_creation_12h',
|
|
13627
13686
|
'reasoning'
|
|
13628
13687
|
])).nullish(),
|
|
13629
13688
|
output: z.object({
|
|
@@ -13647,6 +13706,10 @@ export const zSessionsGetSessionResponse = z.object({
|
|
|
13647
13706
|
cost: z.number().nullable(),
|
|
13648
13707
|
count: z.number()
|
|
13649
13708
|
}).nullish(),
|
|
13709
|
+
cache_creation_12h: z.object({
|
|
13710
|
+
cost: z.number().nullable(),
|
|
13711
|
+
count: z.number()
|
|
13712
|
+
}).nullish(),
|
|
13650
13713
|
cache_creation_1h: z.object({
|
|
13651
13714
|
cost: z.number().nullable(),
|
|
13652
13715
|
count: z.number()
|
|
@@ -13865,6 +13928,10 @@ export const zTracesListTracesResponse = z.object({
|
|
|
13865
13928
|
cost: z.number().nullable(),
|
|
13866
13929
|
count: z.number()
|
|
13867
13930
|
}).nullish(),
|
|
13931
|
+
cache_creation_12h: z.object({
|
|
13932
|
+
cost: z.number().nullable(),
|
|
13933
|
+
count: z.number()
|
|
13934
|
+
}).nullish(),
|
|
13868
13935
|
cache_creation_1h: z.object({
|
|
13869
13936
|
cost: z.number().nullable(),
|
|
13870
13937
|
count: z.number()
|
|
@@ -13888,6 +13955,7 @@ export const zTracesListTracesResponse = z.object({
|
|
|
13888
13955
|
'cache_creation',
|
|
13889
13956
|
'cache_creation_5m',
|
|
13890
13957
|
'cache_creation_1h',
|
|
13958
|
+
'cache_creation_12h',
|
|
13891
13959
|
'reasoning'
|
|
13892
13960
|
])).nullish(),
|
|
13893
13961
|
output: z.object({
|
|
@@ -13911,6 +13979,10 @@ export const zTracesListTracesResponse = z.object({
|
|
|
13911
13979
|
cost: z.number().nullable(),
|
|
13912
13980
|
count: z.number()
|
|
13913
13981
|
}).nullish(),
|
|
13982
|
+
cache_creation_12h: z.object({
|
|
13983
|
+
cost: z.number().nullable(),
|
|
13984
|
+
count: z.number()
|
|
13985
|
+
}).nullish(),
|
|
13914
13986
|
cache_creation_1h: z.object({
|
|
13915
13987
|
cost: z.number().nullable(),
|
|
13916
13988
|
count: z.number()
|
|
@@ -14174,6 +14246,10 @@ export const zTracesGetTraceDetailResponse = z.object({
|
|
|
14174
14246
|
cost: z.number().nullable(),
|
|
14175
14247
|
count: z.number()
|
|
14176
14248
|
}).nullish(),
|
|
14249
|
+
cache_creation_12h: z.object({
|
|
14250
|
+
cost: z.number().nullable(),
|
|
14251
|
+
count: z.number()
|
|
14252
|
+
}).nullish(),
|
|
14177
14253
|
cache_creation_1h: z.object({
|
|
14178
14254
|
cost: z.number().nullable(),
|
|
14179
14255
|
count: z.number()
|
|
@@ -14197,6 +14273,7 @@ export const zTracesGetTraceDetailResponse = z.object({
|
|
|
14197
14273
|
'cache_creation',
|
|
14198
14274
|
'cache_creation_5m',
|
|
14199
14275
|
'cache_creation_1h',
|
|
14276
|
+
'cache_creation_12h',
|
|
14200
14277
|
'reasoning'
|
|
14201
14278
|
])).nullish(),
|
|
14202
14279
|
output: z.object({
|
|
@@ -14220,6 +14297,10 @@ export const zTracesGetTraceDetailResponse = z.object({
|
|
|
14220
14297
|
cost: z.number().nullable(),
|
|
14221
14298
|
count: z.number()
|
|
14222
14299
|
}).nullish(),
|
|
14300
|
+
cache_creation_12h: z.object({
|
|
14301
|
+
cost: z.number().nullable(),
|
|
14302
|
+
count: z.number()
|
|
14303
|
+
}).nullish(),
|
|
14223
14304
|
cache_creation_1h: z.object({
|
|
14224
14305
|
cost: z.number().nullable(),
|
|
14225
14306
|
count: z.number()
|
|
@@ -14280,6 +14361,10 @@ export const zTracesGetTraceDetailResponse = z.object({
|
|
|
14280
14361
|
cost: z.number().nullable(),
|
|
14281
14362
|
count: z.number()
|
|
14282
14363
|
}).nullish(),
|
|
14364
|
+
cache_creation_12h: z.object({
|
|
14365
|
+
cost: z.number().nullable(),
|
|
14366
|
+
count: z.number()
|
|
14367
|
+
}).nullish(),
|
|
14283
14368
|
cache_creation_1h: z.object({
|
|
14284
14369
|
cost: z.number().nullable(),
|
|
14285
14370
|
count: z.number()
|
|
@@ -14303,6 +14388,7 @@ export const zTracesGetTraceDetailResponse = z.object({
|
|
|
14303
14388
|
'cache_creation',
|
|
14304
14389
|
'cache_creation_5m',
|
|
14305
14390
|
'cache_creation_1h',
|
|
14391
|
+
'cache_creation_12h',
|
|
14306
14392
|
'reasoning'
|
|
14307
14393
|
])).nullish(),
|
|
14308
14394
|
output: z.object({
|