@to11ai/sdk 3.0.0-rc.19 → 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.
@@ -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(),
@@ -2837,6 +2839,10 @@ export const zAssistantRunsRecordAssistantRunBody = z.object({
2837
2839
  'disabled',
2838
2840
  'superseded'
2839
2841
  ]),
2842
+ reportedAsker: z.object({
2843
+ slackTeamId: z.string().min(1).max(32).regex(/^[A-Z0-9]+$/),
2844
+ slackUserId: z.string().min(1).max(32).regex(/^[A-Z0-9]+$/)
2845
+ }).nullish(),
2840
2846
  runId: z.string().min(1).max(64).regex(/^[A-Za-z0-9_-]+$/),
2841
2847
  runType: z.enum(['data_question', 'skill_run']),
2842
2848
  startedAt: z.string().min(1).max(64),
@@ -3981,6 +3987,7 @@ export const zCostRatesListOrgCostRatesQuery = z.object({
3981
3987
  'cache_creation',
3982
3988
  'cache_creation_5m',
3983
3989
  'cache_creation_1h',
3990
+ 'cache_creation_12h',
3984
3991
  'cache_read',
3985
3992
  'reasoning'
3986
3993
  ]).nullish(),
@@ -4019,6 +4026,7 @@ export const zCostRatesListOrgCostRatesResponse = z.object({
4019
4026
  'cache_creation',
4020
4027
  'cache_creation_5m',
4021
4028
  'cache_creation_1h',
4029
+ 'cache_creation_12h',
4022
4030
  'reasoning'
4023
4031
  ]),
4024
4032
  updatedAt: z.iso.datetime(),
@@ -4065,6 +4073,7 @@ export const zCostRatesCreateOrgCostRateBody = z.object({
4065
4073
  'cache_creation',
4066
4074
  'cache_creation_5m',
4067
4075
  'cache_creation_1h',
4076
+ 'cache_creation_12h',
4068
4077
  'reasoning'
4069
4078
  ]),
4070
4079
  validFrom: z.string()
@@ -4102,6 +4111,7 @@ export const zCostRatesCreateOrgCostRateResponse = z.object({
4102
4111
  'cache_creation',
4103
4112
  'cache_creation_5m',
4104
4113
  'cache_creation_1h',
4114
+ 'cache_creation_12h',
4105
4115
  'reasoning'
4106
4116
  ]),
4107
4117
  updatedAt: z.iso.datetime(),
@@ -4205,6 +4215,7 @@ export const zCostRatesUpdateOrgCostRateResponse = z.object({
4205
4215
  'cache_creation',
4206
4216
  'cache_creation_5m',
4207
4217
  'cache_creation_1h',
4218
+ 'cache_creation_12h',
4208
4219
  'reasoning'
4209
4220
  ]),
4210
4221
  updatedAt: z.iso.datetime(),
@@ -5738,6 +5749,7 @@ export const zCostRatesListWorkspaceCostRatesQuery = z.object({
5738
5749
  'cache_creation',
5739
5750
  'cache_creation_5m',
5740
5751
  'cache_creation_1h',
5752
+ 'cache_creation_12h',
5741
5753
  'cache_read',
5742
5754
  'reasoning'
5743
5755
  ]).nullish(),
@@ -5776,6 +5788,7 @@ export const zCostRatesListWorkspaceCostRatesResponse = z.object({
5776
5788
  'cache_creation',
5777
5789
  'cache_creation_5m',
5778
5790
  'cache_creation_1h',
5791
+ 'cache_creation_12h',
5779
5792
  'reasoning'
5780
5793
  ]),
5781
5794
  updatedAt: z.iso.datetime(),
@@ -5822,6 +5835,7 @@ export const zCostRatesCreateWorkspaceCostRateBody = z.object({
5822
5835
  'cache_creation',
5823
5836
  'cache_creation_5m',
5824
5837
  'cache_creation_1h',
5838
+ 'cache_creation_12h',
5825
5839
  'reasoning'
5826
5840
  ]),
5827
5841
  validFrom: z.string()
@@ -5860,6 +5874,7 @@ export const zCostRatesCreateWorkspaceCostRateResponse = z.object({
5860
5874
  'cache_creation',
5861
5875
  'cache_creation_5m',
5862
5876
  'cache_creation_1h',
5877
+ 'cache_creation_12h',
5863
5878
  'reasoning'
5864
5879
  ]),
5865
5880
  updatedAt: z.iso.datetime(),
@@ -5965,6 +5980,7 @@ export const zCostRatesUpdateWorkspaceCostRateResponse = z.object({
5965
5980
  'cache_creation',
5966
5981
  'cache_creation_5m',
5967
5982
  'cache_creation_1h',
5983
+ 'cache_creation_12h',
5968
5984
  'reasoning'
5969
5985
  ]),
5970
5986
  updatedAt: z.iso.datetime(),
@@ -7331,6 +7347,7 @@ export const zCostRatesListProjectCostRatesQuery = z.object({
7331
7347
  'cache_creation',
7332
7348
  'cache_creation_5m',
7333
7349
  'cache_creation_1h',
7350
+ 'cache_creation_12h',
7334
7351
  'cache_read',
7335
7352
  'reasoning'
7336
7353
  ]).nullish(),
@@ -7369,6 +7386,7 @@ export const zCostRatesListProjectCostRatesResponse = z.object({
7369
7386
  'cache_creation',
7370
7387
  'cache_creation_5m',
7371
7388
  'cache_creation_1h',
7389
+ 'cache_creation_12h',
7372
7390
  'reasoning'
7373
7391
  ]),
7374
7392
  updatedAt: z.iso.datetime(),
@@ -7415,6 +7433,7 @@ export const zCostRatesCreateProjectCostRateBody = z.object({
7415
7433
  'cache_creation',
7416
7434
  'cache_creation_5m',
7417
7435
  'cache_creation_1h',
7436
+ 'cache_creation_12h',
7418
7437
  'reasoning'
7419
7438
  ]),
7420
7439
  validFrom: z.string()
@@ -7452,6 +7471,7 @@ export const zCostRatesCreateProjectCostRateResponse = z.object({
7452
7471
  'cache_creation',
7453
7472
  'cache_creation_5m',
7454
7473
  'cache_creation_1h',
7474
+ 'cache_creation_12h',
7455
7475
  'reasoning'
7456
7476
  ]),
7457
7477
  updatedAt: z.iso.datetime(),
@@ -7522,6 +7542,7 @@ export const zCostRatesGetEffectiveCostRatesResponse = z.object({
7522
7542
  'cache_creation',
7523
7543
  'cache_creation_5m',
7524
7544
  'cache_creation_1h',
7545
+ 'cache_creation_12h',
7525
7546
  'reasoning'
7526
7547
  ]),
7527
7548
  validFrom: z.iso.datetime()
@@ -7628,6 +7649,7 @@ export const zCostRatesUpdateProjectCostRateResponse = z.object({
7628
7649
  'cache_creation',
7629
7650
  'cache_creation_5m',
7630
7651
  'cache_creation_1h',
7652
+ 'cache_creation_12h',
7631
7653
  'reasoning'
7632
7654
  ]),
7633
7655
  updatedAt: z.iso.datetime(),
@@ -7850,6 +7872,10 @@ export const zProjectOverviewGetProjectOverviewResponse = z.object({
7850
7872
  cost: z.number().nullable(),
7851
7873
  count: z.number()
7852
7874
  }).nullish(),
7875
+ cache_creation_12h: z.object({
7876
+ cost: z.number().nullable(),
7877
+ count: z.number()
7878
+ }).nullish(),
7853
7879
  cache_creation_1h: z.object({
7854
7880
  cost: z.number().nullable(),
7855
7881
  count: z.number()
@@ -7873,6 +7899,7 @@ export const zProjectOverviewGetProjectOverviewResponse = z.object({
7873
7899
  'cache_creation',
7874
7900
  'cache_creation_5m',
7875
7901
  'cache_creation_1h',
7902
+ 'cache_creation_12h',
7876
7903
  'reasoning'
7877
7904
  ])).nullish(),
7878
7905
  output: z.object({
@@ -7896,6 +7923,10 @@ export const zProjectOverviewGetProjectOverviewResponse = z.object({
7896
7923
  cost: z.number().nullable(),
7897
7924
  count: z.number()
7898
7925
  }).nullish(),
7926
+ cache_creation_12h: z.object({
7927
+ cost: z.number().nullable(),
7928
+ count: z.number()
7929
+ }).nullish(),
7899
7930
  cache_creation_1h: z.object({
7900
7931
  cost: z.number().nullable(),
7901
7932
  count: z.number()
@@ -7962,6 +7993,10 @@ export const zProjectOverviewGetProjectOverviewResponse = z.object({
7962
7993
  cost: z.number().nullable(),
7963
7994
  count: z.number()
7964
7995
  }).nullish(),
7996
+ cache_creation_12h: z.object({
7997
+ cost: z.number().nullable(),
7998
+ count: z.number()
7999
+ }).nullish(),
7965
8000
  cache_creation_1h: z.object({
7966
8001
  cost: z.number().nullable(),
7967
8002
  count: z.number()
@@ -7985,6 +8020,7 @@ export const zProjectOverviewGetProjectOverviewResponse = z.object({
7985
8020
  'cache_creation',
7986
8021
  'cache_creation_5m',
7987
8022
  'cache_creation_1h',
8023
+ 'cache_creation_12h',
7988
8024
  'reasoning'
7989
8025
  ])).nullish(),
7990
8026
  output: z.object({
@@ -8008,6 +8044,10 @@ export const zProjectOverviewGetProjectOverviewResponse = z.object({
8008
8044
  cost: z.number().nullable(),
8009
8045
  count: z.number()
8010
8046
  }).nullish(),
8047
+ cache_creation_12h: z.object({
8048
+ cost: z.number().nullable(),
8049
+ count: z.number()
8050
+ }).nullish(),
8011
8051
  cache_creation_1h: z.object({
8012
8052
  cost: z.number().nullable(),
8013
8053
  count: z.number()
@@ -8063,6 +8103,10 @@ export const zProjectOverviewGetProjectOverviewResponse = z.object({
8063
8103
  cost: z.number().nullable(),
8064
8104
  count: z.number()
8065
8105
  }).nullish(),
8106
+ cache_creation_12h: z.object({
8107
+ cost: z.number().nullable(),
8108
+ count: z.number()
8109
+ }).nullish(),
8066
8110
  cache_creation_1h: z.object({
8067
8111
  cost: z.number().nullable(),
8068
8112
  count: z.number()
@@ -8086,6 +8130,7 @@ export const zProjectOverviewGetProjectOverviewResponse = z.object({
8086
8130
  'cache_creation',
8087
8131
  'cache_creation_5m',
8088
8132
  'cache_creation_1h',
8133
+ 'cache_creation_12h',
8089
8134
  'reasoning'
8090
8135
  ])).nullish(),
8091
8136
  output: z.object({
@@ -8109,6 +8154,10 @@ export const zProjectOverviewGetProjectOverviewResponse = z.object({
8109
8154
  cost: z.number().nullable(),
8110
8155
  count: z.number()
8111
8156
  }).nullish(),
8157
+ cache_creation_12h: z.object({
8158
+ cost: z.number().nullable(),
8159
+ count: z.number()
8160
+ }).nullish(),
8112
8161
  cache_creation_1h: z.object({
8113
8162
  cost: z.number().nullable(),
8114
8163
  count: z.number()
@@ -13419,6 +13468,10 @@ export const zSessionsListSessionsResponse = z.object({
13419
13468
  cost: z.number().nullable(),
13420
13469
  count: z.number()
13421
13470
  }).nullish(),
13471
+ cache_creation_12h: z.object({
13472
+ cost: z.number().nullable(),
13473
+ count: z.number()
13474
+ }).nullish(),
13422
13475
  cache_creation_1h: z.object({
13423
13476
  cost: z.number().nullable(),
13424
13477
  count: z.number()
@@ -13442,6 +13495,7 @@ export const zSessionsListSessionsResponse = z.object({
13442
13495
  'cache_creation',
13443
13496
  'cache_creation_5m',
13444
13497
  'cache_creation_1h',
13498
+ 'cache_creation_12h',
13445
13499
  'reasoning'
13446
13500
  ])).nullish(),
13447
13501
  output: z.object({
@@ -13465,6 +13519,10 @@ export const zSessionsListSessionsResponse = z.object({
13465
13519
  cost: z.number().nullable(),
13466
13520
  count: z.number()
13467
13521
  }).nullish(),
13522
+ cache_creation_12h: z.object({
13523
+ cost: z.number().nullable(),
13524
+ count: z.number()
13525
+ }).nullish(),
13468
13526
  cache_creation_1h: z.object({
13469
13527
  cost: z.number().nullable(),
13470
13528
  count: z.number()
@@ -13508,6 +13566,16 @@ export const zSessionsListSessionsResponse = z.object({
13508
13566
  id: z.string()
13509
13567
  }).nullable(),
13510
13568
  providerSlug: z.string().nullable(),
13569
+ pullRequests: z.array(z.object({
13570
+ number: z.int().gte(-9007199254740991).lte(9007199254740991),
13571
+ state: z.enum([
13572
+ 'open',
13573
+ 'draft',
13574
+ 'merged',
13575
+ 'closed'
13576
+ ]),
13577
+ url: z.string()
13578
+ })),
13511
13579
  requestCount: z.int().gte(-9007199254740991).lte(9007199254740991),
13512
13580
  sessionId: z.string(),
13513
13581
  startedAt: z.string(),
@@ -13587,6 +13655,10 @@ export const zSessionsGetSessionResponse = z.object({
13587
13655
  cost: z.number().nullable(),
13588
13656
  count: z.number()
13589
13657
  }).nullish(),
13658
+ cache_creation_12h: z.object({
13659
+ cost: z.number().nullable(),
13660
+ count: z.number()
13661
+ }).nullish(),
13590
13662
  cache_creation_1h: z.object({
13591
13663
  cost: z.number().nullable(),
13592
13664
  count: z.number()
@@ -13610,6 +13682,7 @@ export const zSessionsGetSessionResponse = z.object({
13610
13682
  'cache_creation',
13611
13683
  'cache_creation_5m',
13612
13684
  'cache_creation_1h',
13685
+ 'cache_creation_12h',
13613
13686
  'reasoning'
13614
13687
  ])).nullish(),
13615
13688
  output: z.object({
@@ -13633,6 +13706,10 @@ export const zSessionsGetSessionResponse = z.object({
13633
13706
  cost: z.number().nullable(),
13634
13707
  count: z.number()
13635
13708
  }).nullish(),
13709
+ cache_creation_12h: z.object({
13710
+ cost: z.number().nullable(),
13711
+ count: z.number()
13712
+ }).nullish(),
13636
13713
  cache_creation_1h: z.object({
13637
13714
  cost: z.number().nullable(),
13638
13715
  count: z.number()
@@ -13676,6 +13753,16 @@ export const zSessionsGetSessionResponse = z.object({
13676
13753
  id: z.string()
13677
13754
  }).nullable(),
13678
13755
  providerSlug: z.string().nullable(),
13756
+ pullRequests: z.array(z.object({
13757
+ number: z.int().gte(-9007199254740991).lte(9007199254740991),
13758
+ state: z.enum([
13759
+ 'open',
13760
+ 'draft',
13761
+ 'merged',
13762
+ 'closed'
13763
+ ]),
13764
+ url: z.string()
13765
+ })),
13679
13766
  requestCount: z.int().gte(-9007199254740991).lte(9007199254740991),
13680
13767
  sessionId: z.string(),
13681
13768
  startedAt: z.string(),
@@ -13841,6 +13928,10 @@ export const zTracesListTracesResponse = z.object({
13841
13928
  cost: z.number().nullable(),
13842
13929
  count: z.number()
13843
13930
  }).nullish(),
13931
+ cache_creation_12h: z.object({
13932
+ cost: z.number().nullable(),
13933
+ count: z.number()
13934
+ }).nullish(),
13844
13935
  cache_creation_1h: z.object({
13845
13936
  cost: z.number().nullable(),
13846
13937
  count: z.number()
@@ -13864,6 +13955,7 @@ export const zTracesListTracesResponse = z.object({
13864
13955
  'cache_creation',
13865
13956
  'cache_creation_5m',
13866
13957
  'cache_creation_1h',
13958
+ 'cache_creation_12h',
13867
13959
  'reasoning'
13868
13960
  ])).nullish(),
13869
13961
  output: z.object({
@@ -13887,6 +13979,10 @@ export const zTracesListTracesResponse = z.object({
13887
13979
  cost: z.number().nullable(),
13888
13980
  count: z.number()
13889
13981
  }).nullish(),
13982
+ cache_creation_12h: z.object({
13983
+ cost: z.number().nullable(),
13984
+ count: z.number()
13985
+ }).nullish(),
13890
13986
  cache_creation_1h: z.object({
13891
13987
  cost: z.number().nullable(),
13892
13988
  count: z.number()
@@ -14150,6 +14246,10 @@ export const zTracesGetTraceDetailResponse = z.object({
14150
14246
  cost: z.number().nullable(),
14151
14247
  count: z.number()
14152
14248
  }).nullish(),
14249
+ cache_creation_12h: z.object({
14250
+ cost: z.number().nullable(),
14251
+ count: z.number()
14252
+ }).nullish(),
14153
14253
  cache_creation_1h: z.object({
14154
14254
  cost: z.number().nullable(),
14155
14255
  count: z.number()
@@ -14173,6 +14273,7 @@ export const zTracesGetTraceDetailResponse = z.object({
14173
14273
  'cache_creation',
14174
14274
  'cache_creation_5m',
14175
14275
  'cache_creation_1h',
14276
+ 'cache_creation_12h',
14176
14277
  'reasoning'
14177
14278
  ])).nullish(),
14178
14279
  output: z.object({
@@ -14196,6 +14297,10 @@ export const zTracesGetTraceDetailResponse = z.object({
14196
14297
  cost: z.number().nullable(),
14197
14298
  count: z.number()
14198
14299
  }).nullish(),
14300
+ cache_creation_12h: z.object({
14301
+ cost: z.number().nullable(),
14302
+ count: z.number()
14303
+ }).nullish(),
14199
14304
  cache_creation_1h: z.object({
14200
14305
  cost: z.number().nullable(),
14201
14306
  count: z.number()
@@ -14256,6 +14361,10 @@ export const zTracesGetTraceDetailResponse = z.object({
14256
14361
  cost: z.number().nullable(),
14257
14362
  count: z.number()
14258
14363
  }).nullish(),
14364
+ cache_creation_12h: z.object({
14365
+ cost: z.number().nullable(),
14366
+ count: z.number()
14367
+ }).nullish(),
14259
14368
  cache_creation_1h: z.object({
14260
14369
  cost: z.number().nullable(),
14261
14370
  count: z.number()
@@ -14279,6 +14388,7 @@ export const zTracesGetTraceDetailResponse = z.object({
14279
14388
  'cache_creation',
14280
14389
  'cache_creation_5m',
14281
14390
  'cache_creation_1h',
14391
+ 'cache_creation_12h',
14282
14392
  'reasoning'
14283
14393
  ])).nullish(),
14284
14394
  output: z.object({