@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.
@@ -4589,7 +4589,7 @@ export type CostRatesListBuiltinCostRatesData = {
4589
4589
  query?: {
4590
4590
  provider?: string | null;
4591
4591
  model?: string | null;
4592
- tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
4592
+ tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'cache_read' | 'reasoning' | null;
4593
4593
  asOf?: string | null;
4594
4594
  page?: number | null;
4595
4595
  limit?: number | null;
@@ -4674,7 +4674,7 @@ export type CostRatesListBuiltinCostRatesResponses = {
4674
4674
  source: string;
4675
4675
  tierMaxTokens: number | null;
4676
4676
  tierMinTokens: number | null;
4677
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
4677
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
4678
4678
  updatedAt: string;
4679
4679
  validFrom: string;
4680
4680
  workspaceId: string | null;
@@ -7785,7 +7785,7 @@ export type CostRatesListOrgCostRatesData = {
7785
7785
  query?: {
7786
7786
  provider?: string | null;
7787
7787
  model?: string | null;
7788
- tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
7788
+ tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'cache_read' | 'reasoning' | null;
7789
7789
  asOf?: string | null;
7790
7790
  page?: number | null;
7791
7791
  limit?: number | null;
@@ -7870,7 +7870,7 @@ export type CostRatesListOrgCostRatesResponses = {
7870
7870
  source: string;
7871
7871
  tierMaxTokens: number | null;
7872
7872
  tierMinTokens: number | null;
7873
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
7873
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
7874
7874
  updatedAt: string;
7875
7875
  validFrom: string;
7876
7876
  workspaceId: string | null;
@@ -7914,7 +7914,7 @@ export type CostRatesCreateOrgCostRateData = {
7914
7914
  provider: string;
7915
7915
  tierMaxTokens?: number | null;
7916
7916
  tierMinTokens?: number | null;
7917
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
7917
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
7918
7918
  validFrom: string;
7919
7919
  };
7920
7920
  path: {
@@ -7999,7 +7999,7 @@ export type CostRatesCreateOrgCostRateResponses = {
7999
7999
  rowVersion: number;
8000
8000
  tierMaxTokens: number | null;
8001
8001
  tierMinTokens: number | null;
8002
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
8002
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
8003
8003
  updatedAt: string;
8004
8004
  validFrom: string;
8005
8005
  workspaceId: string | null;
@@ -8220,7 +8220,7 @@ export type CostRatesUpdateOrgCostRateResponses = {
8220
8220
  rowVersion: number;
8221
8221
  tierMaxTokens: number | null;
8222
8222
  tierMinTokens: number | null;
8223
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
8223
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
8224
8224
  updatedAt: string;
8225
8225
  validFrom: string;
8226
8226
  workspaceId: string | null;
@@ -11388,7 +11388,7 @@ export type CostRatesListWorkspaceCostRatesData = {
11388
11388
  query?: {
11389
11389
  provider?: string | null;
11390
11390
  model?: string | null;
11391
- tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
11391
+ tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'cache_read' | 'reasoning' | null;
11392
11392
  asOf?: string | null;
11393
11393
  page?: number | null;
11394
11394
  limit?: number | null;
@@ -11473,7 +11473,7 @@ export type CostRatesListWorkspaceCostRatesResponses = {
11473
11473
  source: string;
11474
11474
  tierMaxTokens: number | null;
11475
11475
  tierMinTokens: number | null;
11476
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
11476
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
11477
11477
  updatedAt: string;
11478
11478
  validFrom: string;
11479
11479
  workspaceId: string | null;
@@ -11517,7 +11517,7 @@ export type CostRatesCreateWorkspaceCostRateData = {
11517
11517
  provider: string;
11518
11518
  tierMaxTokens?: number | null;
11519
11519
  tierMinTokens?: number | null;
11520
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
11520
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
11521
11521
  validFrom: string;
11522
11522
  };
11523
11523
  path: {
@@ -11603,7 +11603,7 @@ export type CostRatesCreateWorkspaceCostRateResponses = {
11603
11603
  rowVersion: number;
11604
11604
  tierMaxTokens: number | null;
11605
11605
  tierMinTokens: number | null;
11606
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
11606
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
11607
11607
  updatedAt: string;
11608
11608
  validFrom: string;
11609
11609
  workspaceId: string | null;
@@ -11826,7 +11826,7 @@ export type CostRatesUpdateWorkspaceCostRateResponses = {
11826
11826
  rowVersion: number;
11827
11827
  tierMaxTokens: number | null;
11828
11828
  tierMinTokens: number | null;
11829
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
11829
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
11830
11830
  updatedAt: string;
11831
11831
  validFrom: string;
11832
11832
  workspaceId: string | null;
@@ -14743,7 +14743,7 @@ export type CostRatesListProjectCostRatesData = {
14743
14743
  query?: {
14744
14744
  provider?: string | null;
14745
14745
  model?: string | null;
14746
- tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_read' | 'reasoning' | null;
14746
+ tokenType?: 'input' | 'output' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'cache_read' | 'reasoning' | null;
14747
14747
  asOf?: string | null;
14748
14748
  page?: number | null;
14749
14749
  limit?: number | null;
@@ -14828,7 +14828,7 @@ export type CostRatesListProjectCostRatesResponses = {
14828
14828
  source: string;
14829
14829
  tierMaxTokens: number | null;
14830
14830
  tierMinTokens: number | null;
14831
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
14831
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
14832
14832
  updatedAt: string;
14833
14833
  validFrom: string;
14834
14834
  workspaceId: string | null;
@@ -14872,7 +14872,7 @@ export type CostRatesCreateProjectCostRateData = {
14872
14872
  provider: string;
14873
14873
  tierMaxTokens?: number | null;
14874
14874
  tierMinTokens?: number | null;
14875
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
14875
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
14876
14876
  validFrom: string;
14877
14877
  };
14878
14878
  path: {
@@ -14957,7 +14957,7 @@ export type CostRatesCreateProjectCostRateResponses = {
14957
14957
  rowVersion: number;
14958
14958
  tierMaxTokens: number | null;
14959
14959
  tierMinTokens: number | null;
14960
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
14960
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
14961
14961
  updatedAt: string;
14962
14962
  validFrom: string;
14963
14963
  workspaceId: string | null;
@@ -15076,7 +15076,7 @@ export type CostRatesGetEffectiveCostRatesResponses = {
15076
15076
  source: 'builtin' | 'organization' | 'workspace' | 'project';
15077
15077
  tierMaxTokens: number | null;
15078
15078
  tierMinTokens: number | null;
15079
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
15079
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
15080
15080
  validFrom: string;
15081
15081
  }>;
15082
15082
  pagination: {
@@ -15300,7 +15300,7 @@ export type CostRatesUpdateProjectCostRateResponses = {
15300
15300
  rowVersion: number;
15301
15301
  tierMaxTokens: number | null;
15302
15302
  tierMinTokens: number | null;
15303
- tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning';
15303
+ tokenType: 'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning';
15304
15304
  updatedAt: string;
15305
15305
  validFrom: string;
15306
15306
  workspaceId: string | null;
@@ -15747,6 +15747,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
15747
15747
  cost: number | null;
15748
15748
  count: number;
15749
15749
  } | null;
15750
+ cache_creation_12h?: {
15751
+ cost: number | null;
15752
+ count: number;
15753
+ } | null;
15750
15754
  cache_creation_1h?: {
15751
15755
  cost: number | null;
15752
15756
  count: number;
@@ -15763,7 +15767,7 @@ export type ProjectOverviewGetProjectOverviewResponses = {
15763
15767
  cost: number | null;
15764
15768
  count: number;
15765
15769
  };
15766
- missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
15770
+ missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
15767
15771
  output: {
15768
15772
  cost: number | null;
15769
15773
  count: number;
@@ -15785,6 +15789,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
15785
15789
  cost: number | null;
15786
15790
  count: number;
15787
15791
  } | null;
15792
+ cache_creation_12h?: {
15793
+ cost: number | null;
15794
+ count: number;
15795
+ } | null;
15788
15796
  cache_creation_1h?: {
15789
15797
  cost: number | null;
15790
15798
  count: number;
@@ -15851,6 +15859,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
15851
15859
  cost: number | null;
15852
15860
  count: number;
15853
15861
  } | null;
15862
+ cache_creation_12h?: {
15863
+ cost: number | null;
15864
+ count: number;
15865
+ } | null;
15854
15866
  cache_creation_1h?: {
15855
15867
  cost: number | null;
15856
15868
  count: number;
@@ -15867,7 +15879,7 @@ export type ProjectOverviewGetProjectOverviewResponses = {
15867
15879
  cost: number | null;
15868
15880
  count: number;
15869
15881
  };
15870
- missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
15882
+ missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
15871
15883
  output: {
15872
15884
  cost: number | null;
15873
15885
  count: number;
@@ -15889,6 +15901,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
15889
15901
  cost: number | null;
15890
15902
  count: number;
15891
15903
  } | null;
15904
+ cache_creation_12h?: {
15905
+ cost: number | null;
15906
+ count: number;
15907
+ } | null;
15892
15908
  cache_creation_1h?: {
15893
15909
  cost: number | null;
15894
15910
  count: number;
@@ -15944,6 +15960,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
15944
15960
  cost: number | null;
15945
15961
  count: number;
15946
15962
  } | null;
15963
+ cache_creation_12h?: {
15964
+ cost: number | null;
15965
+ count: number;
15966
+ } | null;
15947
15967
  cache_creation_1h?: {
15948
15968
  cost: number | null;
15949
15969
  count: number;
@@ -15960,7 +15980,7 @@ export type ProjectOverviewGetProjectOverviewResponses = {
15960
15980
  cost: number | null;
15961
15981
  count: number;
15962
15982
  };
15963
- missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
15983
+ missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
15964
15984
  output: {
15965
15985
  cost: number | null;
15966
15986
  count: number;
@@ -15982,6 +16002,10 @@ export type ProjectOverviewGetProjectOverviewResponses = {
15982
16002
  cost: number | null;
15983
16003
  count: number;
15984
16004
  } | null;
16005
+ cache_creation_12h?: {
16006
+ cost: number | null;
16007
+ count: number;
16008
+ } | null;
15985
16009
  cache_creation_1h?: {
15986
16010
  cost: number | null;
15987
16011
  count: number;
@@ -26505,6 +26529,10 @@ export type SessionsListSessionsResponses = {
26505
26529
  cost: number | null;
26506
26530
  count: number;
26507
26531
  } | null;
26532
+ cache_creation_12h?: {
26533
+ cost: number | null;
26534
+ count: number;
26535
+ } | null;
26508
26536
  cache_creation_1h?: {
26509
26537
  cost: number | null;
26510
26538
  count: number;
@@ -26521,7 +26549,7 @@ export type SessionsListSessionsResponses = {
26521
26549
  cost: number | null;
26522
26550
  count: number;
26523
26551
  };
26524
- missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
26552
+ missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
26525
26553
  output: {
26526
26554
  cost: number | null;
26527
26555
  count: number;
@@ -26543,6 +26571,10 @@ export type SessionsListSessionsResponses = {
26543
26571
  cost: number | null;
26544
26572
  count: number;
26545
26573
  } | null;
26574
+ cache_creation_12h?: {
26575
+ cost: number | null;
26576
+ count: number;
26577
+ } | null;
26546
26578
  cache_creation_1h?: {
26547
26579
  cost: number | null;
26548
26580
  count: number;
@@ -26729,6 +26761,10 @@ export type SessionsGetSessionResponses = {
26729
26761
  cost: number | null;
26730
26762
  count: number;
26731
26763
  } | null;
26764
+ cache_creation_12h?: {
26765
+ cost: number | null;
26766
+ count: number;
26767
+ } | null;
26732
26768
  cache_creation_1h?: {
26733
26769
  cost: number | null;
26734
26770
  count: number;
@@ -26745,7 +26781,7 @@ export type SessionsGetSessionResponses = {
26745
26781
  cost: number | null;
26746
26782
  count: number;
26747
26783
  };
26748
- missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
26784
+ missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
26749
26785
  output: {
26750
26786
  cost: number | null;
26751
26787
  count: number;
@@ -26767,6 +26803,10 @@ export type SessionsGetSessionResponses = {
26767
26803
  cost: number | null;
26768
26804
  count: number;
26769
26805
  } | null;
26806
+ cache_creation_12h?: {
26807
+ cost: number | null;
26808
+ count: number;
26809
+ } | null;
26770
26810
  cache_creation_1h?: {
26771
26811
  cost: number | null;
26772
26812
  count: number;
@@ -26986,6 +27026,10 @@ export type TracesListTracesResponses = {
26986
27026
  cost: number | null;
26987
27027
  count: number;
26988
27028
  } | null;
27029
+ cache_creation_12h?: {
27030
+ cost: number | null;
27031
+ count: number;
27032
+ } | null;
26989
27033
  cache_creation_1h?: {
26990
27034
  cost: number | null;
26991
27035
  count: number;
@@ -27002,7 +27046,7 @@ export type TracesListTracesResponses = {
27002
27046
  cost: number | null;
27003
27047
  count: number;
27004
27048
  };
27005
- missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
27049
+ missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
27006
27050
  output: {
27007
27051
  cost: number | null;
27008
27052
  count: number;
@@ -27024,6 +27068,10 @@ export type TracesListTracesResponses = {
27024
27068
  cost: number | null;
27025
27069
  count: number;
27026
27070
  } | null;
27071
+ cache_creation_12h?: {
27072
+ cost: number | null;
27073
+ count: number;
27074
+ } | null;
27027
27075
  cache_creation_1h?: {
27028
27076
  cost: number | null;
27029
27077
  count: number;
@@ -27417,6 +27465,10 @@ export type TracesGetTraceDetailResponses = {
27417
27465
  cost: number | null;
27418
27466
  count: number;
27419
27467
  } | null;
27468
+ cache_creation_12h?: {
27469
+ cost: number | null;
27470
+ count: number;
27471
+ } | null;
27420
27472
  cache_creation_1h?: {
27421
27473
  cost: number | null;
27422
27474
  count: number;
@@ -27433,7 +27485,7 @@ export type TracesGetTraceDetailResponses = {
27433
27485
  cost: number | null;
27434
27486
  count: number;
27435
27487
  };
27436
- missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
27488
+ missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
27437
27489
  output: {
27438
27490
  cost: number | null;
27439
27491
  count: number;
@@ -27455,6 +27507,10 @@ export type TracesGetTraceDetailResponses = {
27455
27507
  cost: number | null;
27456
27508
  count: number;
27457
27509
  } | null;
27510
+ cache_creation_12h?: {
27511
+ cost: number | null;
27512
+ count: number;
27513
+ } | null;
27458
27514
  cache_creation_1h?: {
27459
27515
  cost: number | null;
27460
27516
  count: number;
@@ -27509,6 +27565,10 @@ export type TracesGetTraceDetailResponses = {
27509
27565
  cost: number | null;
27510
27566
  count: number;
27511
27567
  } | null;
27568
+ cache_creation_12h?: {
27569
+ cost: number | null;
27570
+ count: number;
27571
+ } | null;
27512
27572
  cache_creation_1h?: {
27513
27573
  cost: number | null;
27514
27574
  count: number;
@@ -27525,7 +27585,7 @@ export type TracesGetTraceDetailResponses = {
27525
27585
  cost: number | null;
27526
27586
  count: number;
27527
27587
  };
27528
- missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'reasoning'> | null;
27588
+ missing_rates?: Array<'input' | 'output' | 'cache_read' | 'cache_creation' | 'cache_creation_5m' | 'cache_creation_1h' | 'cache_creation_12h' | 'reasoning'> | null;
27529
27589
  output: {
27530
27590
  cost: number | null;
27531
27591
  count: number;