@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.
@@ -4360,7 +4360,7 @@ export type CostRatesListBuiltinCostRatesData = {
4360
4360
  query?: {
4361
4361
  provider?: string | null;
4362
4362
  model?: string | null;
4363
- tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
4363
+ tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'cache_read' | 'reasoning' | null;
4364
4364
  asOf?: string | null;
4365
4365
  page?: number | null;
4366
4366
  limit?: number | null;
@@ -4442,7 +4442,7 @@ export type CostRatesListBuiltinCostRatesResponses = {
4442
4442
  source: string;
4443
4443
  tierMaxTokens: number | null;
4444
4444
  tierMinTokens: number | null;
4445
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
4445
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
4446
4446
  updatedAt: string;
4447
4447
  validFrom: string;
4448
4448
  workspaceId: string | null;
@@ -7411,7 +7411,7 @@ export type CostRatesListOrgCostRatesData = {
7411
7411
  query?: {
7412
7412
  provider?: string | null;
7413
7413
  model?: string | null;
7414
- tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
7414
+ tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'cache_read' | 'reasoning' | null;
7415
7415
  asOf?: string | null;
7416
7416
  page?: number | null;
7417
7417
  limit?: number | null;
@@ -7493,7 +7493,7 @@ export type CostRatesListOrgCostRatesResponses = {
7493
7493
  source: string;
7494
7494
  tierMaxTokens: number | null;
7495
7495
  tierMinTokens: number | null;
7496
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
7496
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
7497
7497
  updatedAt: string;
7498
7498
  validFrom: string;
7499
7499
  workspaceId: string | null;
@@ -7535,7 +7535,7 @@ export type CostRatesCreateOrgCostRateData = {
7535
7535
  provider: string;
7536
7536
  tierMaxTokens?: number | null;
7537
7537
  tierMinTokens?: number | null;
7538
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
7538
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
7539
7539
  validFrom: string;
7540
7540
  };
7541
7541
  path: {
@@ -7617,7 +7617,7 @@ export type CostRatesCreateOrgCostRateResponses = {
7617
7617
  rowVersion: number;
7618
7618
  tierMaxTokens: number | null;
7619
7619
  tierMinTokens: number | null;
7620
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
7620
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
7621
7621
  updatedAt: string;
7622
7622
  validFrom: string;
7623
7623
  workspaceId: string | null;
@@ -7828,7 +7828,7 @@ export type CostRatesUpdateOrgCostRateResponses = {
7828
7828
  rowVersion: number;
7829
7829
  tierMaxTokens: number | null;
7830
7830
  tierMinTokens: number | null;
7831
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
7831
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
7832
7832
  updatedAt: string;
7833
7833
  validFrom: string;
7834
7834
  workspaceId: string | null;
@@ -10854,7 +10854,7 @@ export type CostRatesListWorkspaceCostRatesData = {
10854
10854
  query?: {
10855
10855
  provider?: string | null;
10856
10856
  model?: string | null;
10857
- tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
10857
+ tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'cache_read' | 'reasoning' | null;
10858
10858
  asOf?: string | null;
10859
10859
  page?: number | null;
10860
10860
  limit?: number | null;
@@ -10936,7 +10936,7 @@ export type CostRatesListWorkspaceCostRatesResponses = {
10936
10936
  source: string;
10937
10937
  tierMaxTokens: number | null;
10938
10938
  tierMinTokens: number | null;
10939
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
10939
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
10940
10940
  updatedAt: string;
10941
10941
  validFrom: string;
10942
10942
  workspaceId: string | null;
@@ -10978,7 +10978,7 @@ export type CostRatesCreateWorkspaceCostRateData = {
10978
10978
  provider: string;
10979
10979
  tierMaxTokens?: number | null;
10980
10980
  tierMinTokens?: number | null;
10981
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
10981
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
10982
10982
  validFrom: string;
10983
10983
  };
10984
10984
  path: {
@@ -11061,7 +11061,7 @@ export type CostRatesCreateWorkspaceCostRateResponses = {
11061
11061
  rowVersion: number;
11062
11062
  tierMaxTokens: number | null;
11063
11063
  tierMinTokens: number | null;
11064
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
11064
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
11065
11065
  updatedAt: string;
11066
11066
  validFrom: string;
11067
11067
  workspaceId: string | null;
@@ -11274,7 +11274,7 @@ export type CostRatesUpdateWorkspaceCostRateResponses = {
11274
11274
  rowVersion: number;
11275
11275
  tierMaxTokens: number | null;
11276
11276
  tierMinTokens: number | null;
11277
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
11277
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
11278
11278
  updatedAt: string;
11279
11279
  validFrom: string;
11280
11280
  workspaceId: string | null;
@@ -14059,7 +14059,7 @@ export type CostRatesListProjectCostRatesData = {
14059
14059
  query?: {
14060
14060
  provider?: string | null;
14061
14061
  model?: string | null;
14062
- tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
14062
+ tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'cache_read' | 'reasoning' | null;
14063
14063
  asOf?: string | null;
14064
14064
  page?: number | null;
14065
14065
  limit?: number | null;
@@ -14141,7 +14141,7 @@ export type CostRatesListProjectCostRatesResponses = {
14141
14141
  source: string;
14142
14142
  tierMaxTokens: number | null;
14143
14143
  tierMinTokens: number | null;
14144
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
14144
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
14145
14145
  updatedAt: string;
14146
14146
  validFrom: string;
14147
14147
  workspaceId: string | null;
@@ -14183,7 +14183,7 @@ export type CostRatesCreateProjectCostRateData = {
14183
14183
  provider: string;
14184
14184
  tierMaxTokens?: number | null;
14185
14185
  tierMinTokens?: number | null;
14186
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
14186
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
14187
14187
  validFrom: string;
14188
14188
  };
14189
14189
  path: {
@@ -14265,7 +14265,7 @@ export type CostRatesCreateProjectCostRateResponses = {
14265
14265
  rowVersion: number;
14266
14266
  tierMaxTokens: number | null;
14267
14267
  tierMinTokens: number | null;
14268
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
14268
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
14269
14269
  updatedAt: string;
14270
14270
  validFrom: string;
14271
14271
  workspaceId: string | null;
@@ -14379,7 +14379,7 @@ export type CostRatesGetEffectiveCostRatesResponses = {
14379
14379
  source: 'builtin' | 'organization' | 'workspace' | 'project';
14380
14380
  tierMaxTokens: number | null;
14381
14381
  tierMinTokens: number | null;
14382
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
14382
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
14383
14383
  validFrom: string;
14384
14384
  }>;
14385
14385
  pagination: {
@@ -14593,7 +14593,7 @@ export type CostRatesUpdateProjectCostRateResponses = {
14593
14593
  rowVersion: number;
14594
14594
  tierMaxTokens: number | null;
14595
14595
  tierMinTokens: number | null;
14596
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
14596
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
14597
14597
  updatedAt: string;
14598
14598
  validFrom: string;
14599
14599
  workspaceId: string | null;
@@ -15020,6 +15020,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
15020
15020
  cost: number | null;
15021
15021
  count: number;
15022
15022
  } | null;
15023
+ cache_creation_12h?: {
15024
+ cost: number | null;
15025
+ count: number;
15026
+ } | null;
15023
15027
  cache_creation_1h?: {
15024
15028
  cost: number | null;
15025
15029
  count: number;
@@ -15036,7 +15040,7 @@ export type ProjectOverviewGetProjectOverviewResponses = {
15036
15040
  cost: number | null;
15037
15041
  count: number;
15038
15042
  };
15039
- missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
15043
+ missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
15040
15044
  output: {
15041
15045
  cost: number | null;
15042
15046
  count: number;
@@ -15058,6 +15062,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
15058
15062
  cost: number | null;
15059
15063
  count: number;
15060
15064
  } | null;
15065
+ cache_creation_12h?: {
15066
+ cost: number | null;
15067
+ count: number;
15068
+ } | null;
15061
15069
  cache_creation_1h?: {
15062
15070
  cost: number | null;
15063
15071
  count: number;
@@ -15124,6 +15132,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
15124
15132
  cost: number | null;
15125
15133
  count: number;
15126
15134
  } | null;
15135
+ cache_creation_12h?: {
15136
+ cost: number | null;
15137
+ count: number;
15138
+ } | null;
15127
15139
  cache_creation_1h?: {
15128
15140
  cost: number | null;
15129
15141
  count: number;
@@ -15140,7 +15152,7 @@ export type ProjectOverviewGetProjectOverviewResponses = {
15140
15152
  cost: number | null;
15141
15153
  count: number;
15142
15154
  };
15143
- missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
15155
+ missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
15144
15156
  output: {
15145
15157
  cost: number | null;
15146
15158
  count: number;
@@ -15162,6 +15174,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
15162
15174
  cost: number | null;
15163
15175
  count: number;
15164
15176
  } | null;
15177
+ cache_creation_12h?: {
15178
+ cost: number | null;
15179
+ count: number;
15180
+ } | null;
15165
15181
  cache_creation_1h?: {
15166
15182
  cost: number | null;
15167
15183
  count: number;
@@ -15217,6 +15233,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
15217
15233
  cost: number | null;
15218
15234
  count: number;
15219
15235
  } | null;
15236
+ cache_creation_12h?: {
15237
+ cost: number | null;
15238
+ count: number;
15239
+ } | null;
15220
15240
  cache_creation_1h?: {
15221
15241
  cost: number | null;
15222
15242
  count: number;
@@ -15233,7 +15253,7 @@ export type ProjectOverviewGetProjectOverviewResponses = {
15233
15253
  cost: number | null;
15234
15254
  count: number;
15235
15255
  };
15236
- missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
15256
+ missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
15237
15257
  output: {
15238
15258
  cost: number | null;
15239
15259
  count: number;
@@ -15255,6 +15275,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
15255
15275
  cost: number | null;
15256
15276
  count: number;
15257
15277
  } | null;
15278
+ cache_creation_12h?: {
15279
+ cost: number | null;
15280
+ count: number;
15281
+ } | null;
15258
15282
  cache_creation_1h?: {
15259
15283
  cost: number | null;
15260
15284
  count: number;
@@ -25328,6 +25352,10 @@ export type SessionsListSessionsResponses = {
25328
25352
  cost: number | null;
25329
25353
  count: number;
25330
25354
  } | null;
25355
+ cache_creation_12h?: {
25356
+ cost: number | null;
25357
+ count: number;
25358
+ } | null;
25331
25359
  cache_creation_1h?: {
25332
25360
  cost: number | null;
25333
25361
  count: number;
@@ -25344,7 +25372,7 @@ export type SessionsListSessionsResponses = {
25344
25372
  cost: number | null;
25345
25373
  count: number;
25346
25374
  };
25347
- missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
25375
+ missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
25348
25376
  output: {
25349
25377
  cost: number | null;
25350
25378
  count: number;
@@ -25366,6 +25394,10 @@ export type SessionsListSessionsResponses = {
25366
25394
  cost: number | null;
25367
25395
  count: number;
25368
25396
  } | null;
25397
+ cache_creation_12h?: {
25398
+ cost: number | null;
25399
+ count: number;
25400
+ } | null;
25369
25401
  cache_creation_1h?: {
25370
25402
  cost: number | null;
25371
25403
  count: number;
@@ -25547,6 +25579,10 @@ export type SessionsGetSessionResponses = {
25547
25579
  cost: number | null;
25548
25580
  count: number;
25549
25581
  } | null;
25582
+ cache_creation_12h?: {
25583
+ cost: number | null;
25584
+ count: number;
25585
+ } | null;
25550
25586
  cache_creation_1h?: {
25551
25587
  cost: number | null;
25552
25588
  count: number;
@@ -25563,7 +25599,7 @@ export type SessionsGetSessionResponses = {
25563
25599
  cost: number | null;
25564
25600
  count: number;
25565
25601
  };
25566
- missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
25602
+ missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
25567
25603
  output: {
25568
25604
  cost: number | null;
25569
25605
  count: number;
@@ -25585,6 +25621,10 @@ export type SessionsGetSessionResponses = {
25585
25621
  cost: number | null;
25586
25622
  count: number;
25587
25623
  } | null;
25624
+ cache_creation_12h?: {
25625
+ cost: number | null;
25626
+ count: number;
25627
+ } | null;
25588
25628
  cache_creation_1h?: {
25589
25629
  cost: number | null;
25590
25630
  count: number;
@@ -25799,6 +25839,10 @@ export type TracesListTracesResponses = {
25799
25839
  cost: number | null;
25800
25840
  count: number;
25801
25841
  } | null;
25842
+ cache_creation_12h?: {
25843
+ cost: number | null;
25844
+ count: number;
25845
+ } | null;
25802
25846
  cache_creation_1h?: {
25803
25847
  cost: number | null;
25804
25848
  count: number;
@@ -25815,7 +25859,7 @@ export type TracesListTracesResponses = {
25815
25859
  cost: number | null;
25816
25860
  count: number;
25817
25861
  };
25818
- missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
25862
+ missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
25819
25863
  output: {
25820
25864
  cost: number | null;
25821
25865
  count: number;
@@ -25837,6 +25881,10 @@ export type TracesListTracesResponses = {
25837
25881
  cost: number | null;
25838
25882
  count: number;
25839
25883
  } | null;
25884
+ cache_creation_12h?: {
25885
+ cost: number | null;
25886
+ count: number;
25887
+ } | null;
25840
25888
  cache_creation_1h?: {
25841
25889
  cost: number | null;
25842
25890
  count: number;
@@ -26215,6 +26263,10 @@ export type TracesGetTraceDetailResponses = {
26215
26263
  cost: number | null;
26216
26264
  count: number;
26217
26265
  } | null;
26266
+ cache_creation_12h?: {
26267
+ cost: number | null;
26268
+ count: number;
26269
+ } | null;
26218
26270
  cache_creation_1h?: {
26219
26271
  cost: number | null;
26220
26272
  count: number;
@@ -26231,7 +26283,7 @@ export type TracesGetTraceDetailResponses = {
26231
26283
  cost: number | null;
26232
26284
  count: number;
26233
26285
  };
26234
- missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
26286
+ missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
26235
26287
  output: {
26236
26288
  cost: number | null;
26237
26289
  count: number;
@@ -26253,6 +26305,10 @@ export type TracesGetTraceDetailResponses = {
26253
26305
  cost: number | null;
26254
26306
  count: number;
26255
26307
  } | null;
26308
+ cache_creation_12h?: {
26309
+ cost: number | null;
26310
+ count: number;
26311
+ } | null;
26256
26312
  cache_creation_1h?: {
26257
26313
  cost: number | null;
26258
26314
  count: number;
@@ -26307,6 +26363,10 @@ export type TracesGetTraceDetailResponses = {
26307
26363
  cost: number | null;
26308
26364
  count: number;
26309
26365
  } | null;
26366
+ cache_creation_12h?: {
26367
+ cost: number | null;
26368
+ count: number;
26369
+ } | null;
26310
26370
  cache_creation_1h?: {
26311
26371
  cost: number | null;
26312
26372
  count: number;
@@ -26323,7 +26383,7 @@ export type TracesGetTraceDetailResponses = {
26323
26383
  cost: number | null;
26324
26384
  count: number;
26325
26385
  };
26326
- missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
26386
+ missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
26327
26387
  output: {
26328
26388
  cost: number | null;
26329
26389
  count: number;