@tinkerlandai/indiana-sdk 0.8.0 → 0.8.1

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.
Files changed (46) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +67 -20
  3. package/README.zh-CN.md +66 -19
  4. package/dist/ai-usage-JoM7ZWk-.d.ts +247 -0
  5. package/dist/{ai-usage-Bigjb8MS.d.ts → api-JVC7x2FV.d.ts} +175 -418
  6. package/dist/chunk-56AYS7RS.js +1 -0
  7. package/dist/chunk-AEUFCOFG.js +1 -0
  8. package/dist/chunk-F767CM3T.js +7 -0
  9. package/dist/chunk-KSNOXNTC.js +1 -0
  10. package/dist/{chunk-G2R56FKU.js → chunk-USLZX2ZA.js} +1 -1
  11. package/dist/{chunk-YAFMBXIE.js → chunk-X747SY26.js} +1 -1
  12. package/dist/{chunk-3ENVRJE6.js → chunk-X7JJAEQQ.js} +1 -1
  13. package/dist/chunk-YWFNWK7C.js +1 -0
  14. package/dist/{configuration-sync-VFbY1pCN.d.ts → configuration-sync-BexM2qbg.d.ts} +25 -25
  15. package/dist/{content-K2HCZVC2.js → content-YNL2CRJZ.js} +1 -1
  16. package/dist/{funnel-runtime-start-DKcTCRrd.d.ts → funnel-local-client-D1Fe7CZ6.d.ts} +694 -6057
  17. package/dist/funnel-runtime-host-CAMI6BJS.js +1 -0
  18. package/dist/index.d.ts +1755 -1915
  19. package/dist/index.js +1 -1
  20. package/dist/native-shell.js +1 -1
  21. package/dist/openrouter.d.ts +4 -3
  22. package/dist/openrouter.js +1 -1
  23. package/dist/page.d.ts +7 -7
  24. package/dist/page.js +1 -1
  25. package/dist/paywall-MXRMMF3R.js +1 -0
  26. package/dist/popup.d.ts +2 -2
  27. package/dist/popup.js +1 -1
  28. package/dist/react-native.d.ts +2 -2
  29. package/dist/react-native.js +1 -1
  30. package/dist/screen-renderer-P7MLBHY5.js +1 -0
  31. package/dist/server.d.ts +4645 -8
  32. package/dist/server.js +1 -1
  33. package/dist/{src-4MRSESVS.js → src-G7UQB3QE.js} +1 -1
  34. package/dist/visual.js +1 -1
  35. package/package.json +3 -3
  36. package/dist/chunk-2A6UYUFA.js +0 -1
  37. package/dist/chunk-A3N4ZZTM.js +0 -7
  38. package/dist/chunk-CXYOZSOF.js +0 -1
  39. package/dist/funnel-runtime-host-HNZ47TZW.js +0 -1
  40. package/dist/paywall-PD62B2AY.js +0 -1
  41. package/dist/{chunk-OVMNCZYC.js → chunk-6HG7U6AU.js} +0 -0
  42. package/dist/{chunk-6X42DWOM.js → chunk-DSPLGTQI.js} +0 -0
  43. package/dist/{chunk-S5TVMQRC.js → chunk-EXCPE2XH.js} +0 -0
  44. package/dist/{customer-page-BrCZxcaQ.d.ts → customer-page-WUQVK_tp.d.ts} +4 -4
  45. package/dist/{errors-BpCmukJr.d.ts → errors-DrdTlPwf.d.ts} +1 -1
  46. package/dist/{screen-BazUOjwM.d.ts → screen-i6eHL11m.d.ts} +267 -267
@@ -1,5 +1,4 @@
1
- import { LanguageModelV4Usage, LanguageModelV4Middleware } from '@ai-sdk/provider';
2
- import { S as StackNode } from './screen-BazUOjwM.js';
1
+ import { S as StackNode } from './screen-i6eHL11m.js';
3
2
  import { z } from 'zod/v4';
4
3
  import { z as z$1 } from 'zod';
5
4
 
@@ -611,8 +610,8 @@ declare const apiOperations: {
611
610
  scope: z$1.ZodObject<{
612
611
  projectId: z$1.ZodString;
613
612
  environment: z$1.ZodEnum<{
614
- live: "live";
615
613
  sandbox: "sandbox";
614
+ live: "live";
616
615
  }>;
617
616
  }, z$1.core.$strict>;
618
617
  templates: z$1.ZodObject<{
@@ -642,8 +641,8 @@ declare const apiOperations: {
642
641
  scope: z$1.ZodObject<{
643
642
  projectId: z$1.ZodString;
644
643
  environment: z$1.ZodEnum<{
645
- live: "live";
646
644
  sandbox: "sandbox";
645
+ live: "live";
647
646
  }>;
648
647
  }, z$1.core.$strict>;
649
648
  preview: z$1.ZodType<CreateInvoicePreview, CreateInvoicePreviewInput, z$1.core.$ZodTypeInternals<CreateInvoicePreview, CreateInvoicePreviewInput>>;
@@ -664,15 +663,15 @@ declare const apiOperations: {
664
663
  scope: z$1.ZodObject<{
665
664
  projectId: z$1.ZodString;
666
665
  environment: z$1.ZodEnum<{
667
- live: "live";
668
666
  sandbox: "sandbox";
667
+ live: "live";
669
668
  }>;
670
669
  }, z$1.core.$strict>;
671
670
  operation: z$1.ZodObject<{
672
671
  taskId: z$1.ZodUUID;
673
672
  status: z$1.ZodEnum<{
674
- ready: "ready";
675
673
  running: "running";
674
+ ready: "ready";
676
675
  done: "done";
677
676
  dead: "dead";
678
677
  }>;
@@ -682,8 +681,8 @@ declare const apiOperations: {
682
681
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
683
682
  status: z$1.ZodEnum<{
684
683
  void: "void";
685
- open: "open";
686
684
  draft: "draft";
685
+ open: "open";
687
686
  paid: "paid";
688
687
  uncollectible: "uncollectible";
689
688
  }>;
@@ -734,15 +733,15 @@ declare const apiOperations: {
734
733
  scope: z$1.ZodObject<{
735
734
  projectId: z$1.ZodString;
736
735
  environment: z$1.ZodEnum<{
737
- live: "live";
738
736
  sandbox: "sandbox";
737
+ live: "live";
739
738
  }>;
740
739
  }, z$1.core.$strict>;
741
740
  operation: z$1.ZodObject<{
742
741
  taskId: z$1.ZodUUID;
743
742
  status: z$1.ZodEnum<{
744
- ready: "ready";
745
743
  running: "running";
744
+ ready: "ready";
746
745
  done: "done";
747
746
  dead: "dead";
748
747
  }>;
@@ -752,8 +751,8 @@ declare const apiOperations: {
752
751
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
753
752
  status: z$1.ZodEnum<{
754
753
  void: "void";
755
- open: "open";
756
754
  draft: "draft";
755
+ open: "open";
757
756
  paid: "paid";
758
757
  uncollectible: "uncollectible";
759
758
  }>;
@@ -786,15 +785,15 @@ declare const apiOperations: {
786
785
  scope: z$1.ZodObject<{
787
786
  projectId: z$1.ZodString;
788
787
  environment: z$1.ZodEnum<{
789
- live: "live";
790
788
  sandbox: "sandbox";
789
+ live: "live";
791
790
  }>;
792
791
  }, z$1.core.$strict>;
793
792
  operation: z$1.ZodObject<{
794
793
  taskId: z$1.ZodUUID;
795
794
  status: z$1.ZodEnum<{
796
- ready: "ready";
797
795
  running: "running";
796
+ ready: "ready";
798
797
  done: "done";
799
798
  dead: "dead";
800
799
  }>;
@@ -804,8 +803,8 @@ declare const apiOperations: {
804
803
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
805
804
  status: z$1.ZodEnum<{
806
805
  void: "void";
807
- open: "open";
808
806
  draft: "draft";
807
+ open: "open";
809
808
  paid: "paid";
810
809
  uncollectible: "uncollectible";
811
810
  }>;
@@ -838,8 +837,8 @@ declare const apiOperations: {
838
837
  scope: z$1.ZodObject<{
839
838
  projectId: z$1.ZodString;
840
839
  environment: z$1.ZodEnum<{
841
- live: "live";
842
840
  sandbox: "sandbox";
841
+ live: "live";
843
842
  }>;
844
843
  }, z$1.core.$strict>;
845
844
  invoices: z$1.ZodObject<{
@@ -849,8 +848,8 @@ declare const apiOperations: {
849
848
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
850
849
  status: z$1.ZodEnum<{
851
850
  void: "void";
852
- open: "open";
853
851
  draft: "draft";
852
+ open: "open";
854
853
  paid: "paid";
855
854
  uncollectible: "uncollectible";
856
855
  }>;
@@ -869,8 +868,8 @@ declare const apiOperations: {
869
868
  operations: z$1.ZodArray<z$1.ZodObject<{
870
869
  taskId: z$1.ZodUUID;
871
870
  status: z$1.ZodEnum<{
872
- ready: "ready";
873
871
  running: "running";
872
+ ready: "ready";
874
873
  done: "done";
875
874
  dead: "dead";
876
875
  }>;
@@ -880,8 +879,8 @@ declare const apiOperations: {
880
879
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
881
880
  status: z$1.ZodEnum<{
882
881
  void: "void";
883
- open: "open";
884
882
  draft: "draft";
883
+ open: "open";
885
884
  paid: "paid";
886
885
  uncollectible: "uncollectible";
887
886
  }>;
@@ -916,8 +915,8 @@ declare const apiOperations: {
916
915
  scope: z$1.ZodObject<{
917
916
  projectId: z$1.ZodString;
918
917
  environment: z$1.ZodEnum<{
919
- live: "live";
920
918
  sandbox: "sandbox";
919
+ live: "live";
921
920
  }>;
922
921
  }, z$1.core.$strict>;
923
922
  invoice: z$1.ZodObject<{
@@ -926,8 +925,8 @@ declare const apiOperations: {
926
925
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
927
926
  status: z$1.ZodEnum<{
928
927
  void: "void";
929
- open: "open";
930
928
  draft: "draft";
929
+ open: "open";
931
930
  paid: "paid";
932
931
  uncollectible: "uncollectible";
933
932
  }>;
@@ -967,8 +966,8 @@ declare const apiOperations: {
967
966
  scope: z$1.ZodObject<{
968
967
  projectId: z$1.ZodString;
969
968
  environment: z$1.ZodEnum<{
970
- live: "live";
971
969
  sandbox: "sandbox";
970
+ live: "live";
972
971
  }>;
973
972
  }, z$1.core.$strict>;
974
973
  config: z$1.ZodObject<{
@@ -1032,8 +1031,8 @@ declare const apiOperations: {
1032
1031
  scope: z$1.ZodObject<{
1033
1032
  projectId: z$1.ZodString;
1034
1033
  environment: z$1.ZodEnum<{
1035
- live: "live";
1036
1034
  sandbox: "sandbox";
1035
+ live: "live";
1037
1036
  }>;
1038
1037
  }, z$1.core.$strict>;
1039
1038
  receipt: z$1.ZodObject<{
@@ -1056,16 +1055,16 @@ declare const apiOperations: {
1056
1055
  scope: z$1.ZodObject<{
1057
1056
  projectId: z$1.ZodString;
1058
1057
  environment: z$1.ZodEnum<{
1059
- live: "live";
1060
1058
  sandbox: "sandbox";
1059
+ live: "live";
1061
1060
  }>;
1062
1061
  }, z$1.core.$strict>;
1063
1062
  payload: z$1.ZodObject<{
1064
1063
  scope: z$1.ZodObject<{
1065
1064
  projectId: z$1.ZodString;
1066
1065
  environment: z$1.ZodEnum<{
1067
- live: "live";
1068
1066
  sandbox: "sandbox";
1067
+ live: "live";
1069
1068
  }>;
1070
1069
  }, z$1.core.$strict>;
1071
1070
  generation: z$1.ZodString;
@@ -1250,8 +1249,8 @@ declare const apiOperations: {
1250
1249
  scope: z$1.ZodObject<{
1251
1250
  projectId: z$1.ZodString;
1252
1251
  environment: z$1.ZodEnum<{
1253
- live: "live";
1254
1252
  sandbox: "sandbox";
1253
+ live: "live";
1255
1254
  }>;
1256
1255
  }, z$1.core.$strict>;
1257
1256
  generation: z$1.ZodString;
@@ -1309,8 +1308,8 @@ declare const apiOperations: {
1309
1308
  scope: z$1.ZodObject<{
1310
1309
  projectId: z$1.ZodString;
1311
1310
  environment: z$1.ZodEnum<{
1312
- live: "live";
1313
1311
  sandbox: "sandbox";
1312
+ live: "live";
1314
1313
  }>;
1315
1314
  }, z$1.core.$strict>;
1316
1315
  inserted: z$1.ZodNumber;
@@ -1338,8 +1337,8 @@ declare const apiOperations: {
1338
1337
  scope: z$1.ZodObject<{
1339
1338
  projectId: z$1.ZodString;
1340
1339
  environment: z$1.ZodEnum<{
1341
- live: "live";
1342
1340
  sandbox: "sandbox";
1341
+ live: "live";
1343
1342
  }>;
1344
1343
  }, z$1.core.$strict>;
1345
1344
  balance: z$1.ZodObject<{
@@ -1388,8 +1387,8 @@ declare const apiOperations: {
1388
1387
  scope: z$1.ZodObject<{
1389
1388
  projectId: z$1.ZodString;
1390
1389
  environment: z$1.ZodEnum<{
1391
- live: "live";
1392
1390
  sandbox: "sandbox";
1391
+ live: "live";
1393
1392
  }>;
1394
1393
  }, z$1.core.$strict>;
1395
1394
  balance: z$1.ZodObject<{
@@ -1416,8 +1415,8 @@ declare const apiOperations: {
1416
1415
  scope: z$1.ZodObject<{
1417
1416
  projectId: z$1.ZodString;
1418
1417
  environment: z$1.ZodEnum<{
1419
- live: "live";
1420
1418
  sandbox: "sandbox";
1419
+ live: "live";
1421
1420
  }>;
1422
1421
  }, z$1.core.$strict>;
1423
1422
  internal_feature_id: z$1.ZodUUID;
@@ -1514,8 +1513,8 @@ declare const apiOperations: {
1514
1513
  scope: z$1.ZodObject<{
1515
1514
  projectId: z$1.ZodString;
1516
1515
  environment: z$1.ZodEnum<{
1517
- live: "live";
1518
1516
  sandbox: "sandbox";
1517
+ live: "live";
1519
1518
  }>;
1520
1519
  }, z$1.core.$strict>;
1521
1520
  usage: z$1.ZodObject<{
@@ -1554,8 +1553,8 @@ declare const apiOperations: {
1554
1553
  scope: z$1.ZodObject<{
1555
1554
  projectId: z$1.ZodString;
1556
1555
  environment: z$1.ZodEnum<{
1557
- live: "live";
1558
1556
  sandbox: "sandbox";
1557
+ live: "live";
1559
1558
  }>;
1560
1559
  }, z$1.core.$strict>;
1561
1560
  usage: z$1.ZodObject<{
@@ -1590,11 +1589,11 @@ declare const apiOperations: {
1590
1589
  week: "week";
1591
1590
  month: "month";
1592
1591
  year: "year";
1593
- day: "day";
1594
- hour: "hour";
1595
- minute: "minute";
1596
1592
  quarter: "quarter";
1597
1593
  semi_annual: "semi_annual";
1594
+ minute: "minute";
1595
+ hour: "hour";
1596
+ day: "day";
1598
1597
  }>;
1599
1598
  count: z$1.ZodNumber;
1600
1599
  }, z$1.core.$strict>>;
@@ -1639,8 +1638,8 @@ declare const apiOperations: {
1639
1638
  scope: z$1.ZodObject<{
1640
1639
  projectId: z$1.ZodString;
1641
1640
  environment: z$1.ZodEnum<{
1642
- live: "live";
1643
1641
  sandbox: "sandbox";
1642
+ live: "live";
1644
1643
  }>;
1645
1644
  }, z$1.core.$strict>;
1646
1645
  grant: z$1.ZodObject<{
@@ -1653,11 +1652,11 @@ declare const apiOperations: {
1653
1652
  week: "week";
1654
1653
  month: "month";
1655
1654
  year: "year";
1656
- day: "day";
1657
- hour: "hour";
1658
- minute: "minute";
1659
1655
  quarter: "quarter";
1660
1656
  semi_annual: "semi_annual";
1657
+ minute: "minute";
1658
+ hour: "hour";
1659
+ day: "day";
1661
1660
  }>;
1662
1661
  count: z$1.ZodNumber;
1663
1662
  }, z$1.core.$strict>>;
@@ -1692,8 +1691,8 @@ declare const apiOperations: {
1692
1691
  scope: z$1.ZodObject<{
1693
1692
  projectId: z$1.ZodString;
1694
1693
  environment: z$1.ZodEnum<{
1695
- live: "live";
1696
1694
  sandbox: "sandbox";
1695
+ live: "live";
1697
1696
  }>;
1698
1697
  }, z$1.core.$strict>;
1699
1698
  grants: z$1.ZodObject<{
@@ -1707,11 +1706,11 @@ declare const apiOperations: {
1707
1706
  week: "week";
1708
1707
  month: "month";
1709
1708
  year: "year";
1710
- day: "day";
1711
- hour: "hour";
1712
- minute: "minute";
1713
1709
  quarter: "quarter";
1714
1710
  semi_annual: "semi_annual";
1711
+ minute: "minute";
1712
+ hour: "hour";
1713
+ day: "day";
1715
1714
  }>;
1716
1715
  count: z$1.ZodNumber;
1717
1716
  }, z$1.core.$strict>>;
@@ -1766,8 +1765,8 @@ declare const apiOperations: {
1766
1765
  scope: z$1.ZodObject<{
1767
1766
  projectId: z$1.ZodString;
1768
1767
  environment: z$1.ZodEnum<{
1769
- live: "live";
1770
1768
  sandbox: "sandbox";
1769
+ live: "live";
1771
1770
  }>;
1772
1771
  }, z$1.core.$strict>;
1773
1772
  operation: z$1.ZodObject<{
@@ -1875,8 +1874,8 @@ declare const apiOperations: {
1875
1874
  scope: z$1.ZodObject<{
1876
1875
  projectId: z$1.ZodString;
1877
1876
  environment: z$1.ZodEnum<{
1878
- live: "live";
1879
1877
  sandbox: "sandbox";
1878
+ live: "live";
1880
1879
  }>;
1881
1880
  }, z$1.core.$strict>;
1882
1881
  setup: z$1.ZodObject<{
@@ -1961,8 +1960,8 @@ declare const apiOperations: {
1961
1960
  scope: z$1.ZodObject<{
1962
1961
  projectId: z$1.ZodString;
1963
1962
  environment: z$1.ZodEnum<{
1964
- live: "live";
1965
1963
  sandbox: "sandbox";
1964
+ live: "live";
1966
1965
  }>;
1967
1966
  }, z$1.core.$strict>;
1968
1967
  setup: z$1.ZodObject<{
@@ -2058,16 +2057,16 @@ declare const apiOperations: {
2058
2057
  scope: z$1.ZodObject<{
2059
2058
  projectId: z$1.ZodString;
2060
2059
  environment: z$1.ZodEnum<{
2061
- live: "live";
2062
2060
  sandbox: "sandbox";
2061
+ live: "live";
2063
2062
  }>;
2064
2063
  }, z$1.core.$strict>;
2065
2064
  batch: z$1.ZodObject<{
2066
2065
  batchId: z$1.ZodUUID;
2067
2066
  ready: z$1.ZodBoolean;
2068
2067
  status: z$1.ZodEnum<{
2069
- expired: "expired";
2070
2068
  pending: "pending";
2069
+ expired: "expired";
2071
2070
  prepared: "prepared";
2072
2071
  effective: "effective";
2073
2072
  cancelled: "cancelled";
@@ -2171,9 +2170,9 @@ declare const apiOperations: {
2171
2170
  accountId: z$1.ZodString;
2172
2171
  subscriptionId: z$1.ZodString;
2173
2172
  action: z$1.ZodEnum<{
2173
+ update: "update";
2174
2174
  cancel: "cancel";
2175
2175
  release: "release";
2176
- update: "update";
2177
2176
  schedule: "schedule";
2178
2177
  }>;
2179
2178
  update: z$1.ZodNullable<z$1.ZodObject<{
@@ -2259,16 +2258,16 @@ declare const apiOperations: {
2259
2258
  scope: z$1.ZodObject<{
2260
2259
  projectId: z$1.ZodString;
2261
2260
  environment: z$1.ZodEnum<{
2262
- live: "live";
2263
2261
  sandbox: "sandbox";
2262
+ live: "live";
2264
2263
  }>;
2265
2264
  }, z$1.core.$strict>;
2266
2265
  batch: z$1.ZodObject<{
2267
2266
  batchId: z$1.ZodUUID;
2268
2267
  ready: z$1.ZodBoolean;
2269
2268
  status: z$1.ZodEnum<{
2270
- expired: "expired";
2271
2269
  pending: "pending";
2270
+ expired: "expired";
2272
2271
  prepared: "prepared";
2273
2272
  effective: "effective";
2274
2273
  cancelled: "cancelled";
@@ -2372,9 +2371,9 @@ declare const apiOperations: {
2372
2371
  accountId: z$1.ZodString;
2373
2372
  subscriptionId: z$1.ZodString;
2374
2373
  action: z$1.ZodEnum<{
2374
+ update: "update";
2375
2375
  cancel: "cancel";
2376
2376
  release: "release";
2377
- update: "update";
2378
2377
  schedule: "schedule";
2379
2378
  }>;
2380
2379
  update: z$1.ZodNullable<z$1.ZodObject<{
@@ -2460,16 +2459,16 @@ declare const apiOperations: {
2460
2459
  scope: z$1.ZodObject<{
2461
2460
  projectId: z$1.ZodString;
2462
2461
  environment: z$1.ZodEnum<{
2463
- live: "live";
2464
2462
  sandbox: "sandbox";
2463
+ live: "live";
2465
2464
  }>;
2466
2465
  }, z$1.core.$strict>;
2467
2466
  batch: z$1.ZodObject<{
2468
2467
  batchId: z$1.ZodUUID;
2469
2468
  ready: z$1.ZodBoolean;
2470
2469
  status: z$1.ZodEnum<{
2471
- expired: "expired";
2472
2470
  pending: "pending";
2471
+ expired: "expired";
2473
2472
  prepared: "prepared";
2474
2473
  effective: "effective";
2475
2474
  cancelled: "cancelled";
@@ -2573,9 +2572,9 @@ declare const apiOperations: {
2573
2572
  accountId: z$1.ZodString;
2574
2573
  subscriptionId: z$1.ZodString;
2575
2574
  action: z$1.ZodEnum<{
2575
+ update: "update";
2576
2576
  cancel: "cancel";
2577
2577
  release: "release";
2578
- update: "update";
2579
2578
  schedule: "schedule";
2580
2579
  }>;
2581
2580
  update: z$1.ZodNullable<z$1.ZodObject<{
@@ -2661,16 +2660,16 @@ declare const apiOperations: {
2661
2660
  scope: z$1.ZodObject<{
2662
2661
  projectId: z$1.ZodString;
2663
2662
  environment: z$1.ZodEnum<{
2664
- live: "live";
2665
2663
  sandbox: "sandbox";
2664
+ live: "live";
2666
2665
  }>;
2667
2666
  }, z$1.core.$strict>;
2668
2667
  batch: z$1.ZodObject<{
2669
2668
  batchId: z$1.ZodUUID;
2670
2669
  ready: z$1.ZodBoolean;
2671
2670
  status: z$1.ZodEnum<{
2672
- expired: "expired";
2673
2671
  pending: "pending";
2672
+ expired: "expired";
2674
2673
  prepared: "prepared";
2675
2674
  effective: "effective";
2676
2675
  cancelled: "cancelled";
@@ -2774,9 +2773,9 @@ declare const apiOperations: {
2774
2773
  accountId: z$1.ZodString;
2775
2774
  subscriptionId: z$1.ZodString;
2776
2775
  action: z$1.ZodEnum<{
2776
+ update: "update";
2777
2777
  cancel: "cancel";
2778
2778
  release: "release";
2779
- update: "update";
2780
2779
  schedule: "schedule";
2781
2780
  }>;
2782
2781
  update: z$1.ZodNullable<z$1.ZodObject<{
@@ -2880,8 +2879,8 @@ declare const apiOperations: {
2880
2879
  scope: z$1.ZodObject<{
2881
2880
  projectId: z$1.ZodString;
2882
2881
  environment: z$1.ZodEnum<{
2883
- live: "live";
2884
2882
  sandbox: "sandbox";
2883
+ live: "live";
2885
2884
  }>;
2886
2885
  }, z$1.core.$strict>;
2887
2886
  trial: z$1.ZodObject<{
@@ -2929,8 +2928,8 @@ declare const apiOperations: {
2929
2928
  scope: z$1.ZodObject<{
2930
2929
  projectId: z$1.ZodString;
2931
2930
  environment: z$1.ZodEnum<{
2932
- live: "live";
2933
2931
  sandbox: "sandbox";
2932
+ live: "live";
2934
2933
  }>;
2935
2934
  }, z$1.core.$strict>;
2936
2935
  trial: z$1.ZodObject<{
@@ -2980,10 +2979,10 @@ declare const apiOperations: {
2980
2979
  stripe: "stripe";
2981
2980
  }>>;
2982
2981
  status: z$1.ZodOptional<z$1.ZodEnum<{
2983
- ended: "ended";
2984
- trial: "trial";
2985
2982
  active: "active";
2983
+ trial: "trial";
2986
2984
  past_due: "past_due";
2985
+ ended: "ended";
2987
2986
  refunded: "refunded";
2988
2987
  }>>;
2989
2988
  cursor: z$1.ZodOptional<z$1.ZodObject<{
@@ -2997,17 +2996,17 @@ declare const apiOperations: {
2997
2996
  scope: z$1.ZodObject<{
2998
2997
  projectId: z$1.ZodString;
2999
2998
  environment: z$1.ZodEnum<{
3000
- live: "live";
3001
2999
  sandbox: "sandbox";
3000
+ live: "live";
3002
3001
  }>;
3003
3002
  }, z$1.core.$strict>;
3004
3003
  subscriptions: z$1.ZodObject<{
3005
3004
  items: z$1.ZodArray<z$1.ZodObject<{
3006
3005
  status: z$1.ZodEnum<{
3007
- ended: "ended";
3008
- trial: "trial";
3009
3006
  active: "active";
3007
+ trial: "trial";
3010
3008
  past_due: "past_due";
3009
+ ended: "ended";
3011
3010
  }>;
3012
3011
  cancelAtPeriodEnd: z$1.ZodBoolean;
3013
3012
  billingSubscriptionId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -3048,10 +3047,10 @@ declare const apiOperations: {
3048
3047
  stripe: "stripe";
3049
3048
  }>>;
3050
3049
  status: z$1.ZodOptional<z$1.ZodEnum<{
3051
- ended: "ended";
3052
- trial: "trial";
3053
3050
  active: "active";
3051
+ trial: "trial";
3054
3052
  past_due: "past_due";
3053
+ ended: "ended";
3055
3054
  refunded: "refunded";
3056
3055
  }>>;
3057
3056
  cursor: z$1.ZodOptional<z$1.ZodObject<{
@@ -3065,15 +3064,15 @@ declare const apiOperations: {
3065
3064
  scope: z$1.ZodObject<{
3066
3065
  projectId: z$1.ZodString;
3067
3066
  environment: z$1.ZodEnum<{
3068
- live: "live";
3069
3067
  sandbox: "sandbox";
3068
+ live: "live";
3070
3069
  }>;
3071
3070
  }, z$1.core.$strict>;
3072
3071
  purchases: z$1.ZodObject<{
3073
3072
  items: z$1.ZodArray<z$1.ZodObject<{
3074
3073
  status: z$1.ZodEnum<{
3075
- ended: "ended";
3076
3074
  active: "active";
3075
+ ended: "ended";
3077
3076
  refunded: "refunded";
3078
3077
  }>;
3079
3078
  orderId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -3165,8 +3164,8 @@ declare const apiOperations: {
3165
3164
  scope: z$1.ZodObject<{
3166
3165
  projectId: z$1.ZodString;
3167
3166
  environment: z$1.ZodEnum<{
3168
- live: "live";
3169
3167
  sandbox: "sandbox";
3168
+ live: "live";
3170
3169
  }>;
3171
3170
  }, z$1.core.$strict>;
3172
3171
  conflicts: z$1.ZodObject<{
@@ -3216,8 +3215,8 @@ declare const apiOperations: {
3216
3215
  scope: z$1.ZodObject<{
3217
3216
  projectId: z$1.ZodString;
3218
3217
  environment: z$1.ZodEnum<{
3219
- live: "live";
3220
3218
  sandbox: "sandbox";
3219
+ live: "live";
3221
3220
  }>;
3222
3221
  }, z$1.core.$strict>;
3223
3222
  resolution: z$1.ZodObject<{
@@ -3242,8 +3241,8 @@ declare const apiOperations: {
3242
3241
  scope: z$1.ZodObject<{
3243
3242
  projectId: z$1.ZodString;
3244
3243
  environment: z$1.ZodEnum<{
3245
- live: "live";
3246
3244
  sandbox: "sandbox";
3245
+ live: "live";
3247
3246
  }>;
3248
3247
  }, z$1.core.$strict>;
3249
3248
  verification: z$1.ZodObject<{
@@ -3263,10 +3262,10 @@ declare const apiOperations: {
3263
3262
  quantity: "quantity";
3264
3263
  currency: "currency";
3265
3264
  price: "price";
3266
- product: "product";
3267
3265
  status: "status";
3268
3266
  subscription: "subscription";
3269
3267
  cancelAtPeriodEnd: "cancelAtPeriodEnd";
3268
+ product: "product";
3270
3269
  periodStart: "periodStart";
3271
3270
  periodEnd: "periodEnd";
3272
3271
  trialEnd: "trialEnd";
@@ -3356,8 +3355,8 @@ declare const apiOperations: {
3356
3355
  scope: z$1.ZodObject<{
3357
3356
  projectId: z$1.ZodString;
3358
3357
  environment: z$1.ZodEnum<{
3359
- live: "live";
3360
3358
  sandbox: "sandbox";
3359
+ live: "live";
3361
3360
  }>;
3362
3361
  }, z$1.core.$strict>;
3363
3362
  quote: z$1.ZodObject<{
@@ -3681,8 +3680,8 @@ declare const apiOperations: {
3681
3680
  operationId: z$1.ZodUUID;
3682
3681
  customerId: z$1.ZodOptional<z$1.ZodUUID>;
3683
3682
  intent: z$1.ZodOptional<z$1.ZodEnum<{
3684
- confirm: "confirm";
3685
3683
  cancel: "cancel";
3684
+ confirm: "confirm";
3686
3685
  }>>;
3687
3686
  }, z$1.core.$strict>;
3688
3687
  readonly response: z$1.ZodObject<{
@@ -3690,8 +3689,8 @@ declare const apiOperations: {
3690
3689
  scope: z$1.ZodObject<{
3691
3690
  projectId: z$1.ZodString;
3692
3691
  environment: z$1.ZodEnum<{
3693
- live: "live";
3694
3692
  sandbox: "sandbox";
3693
+ live: "live";
3695
3694
  }>;
3696
3695
  }, z$1.core.$strict>;
3697
3696
  operation: z$1.ZodObject<{
@@ -3934,8 +3933,8 @@ declare const apiOperations: {
3934
3933
  scope: z$1.ZodObject<{
3935
3934
  projectId: z$1.ZodString;
3936
3935
  environment: z$1.ZodEnum<{
3937
- live: "live";
3938
3936
  sandbox: "sandbox";
3937
+ live: "live";
3939
3938
  }>;
3940
3939
  }, z$1.core.$strict>;
3941
3940
  operation: z$1.ZodObject<{
@@ -4183,8 +4182,8 @@ declare const apiOperations: {
4183
4182
  }, z$1.core.$strict>>;
4184
4183
  membershipIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUUID>>;
4185
4184
  prorationBehavior: z$1.ZodOptional<z$1.ZodEnum<{
4186
- none: "none";
4187
4185
  prorate_immediately: "prorate_immediately";
4186
+ none: "none";
4188
4187
  bill_difference: "bill_difference";
4189
4188
  }>>;
4190
4189
  timing: z$1.ZodEnum<{
@@ -4218,8 +4217,8 @@ declare const apiOperations: {
4218
4217
  scope: z$1.ZodObject<{
4219
4218
  projectId: z$1.ZodString;
4220
4219
  environment: z$1.ZodEnum<{
4221
- live: "live";
4222
4220
  sandbox: "sandbox";
4221
+ live: "live";
4223
4222
  }>;
4224
4223
  }, z$1.core.$strict>;
4225
4224
  quote: z$1.ZodUnion<readonly [z$1.ZodObject<{
@@ -4291,9 +4290,9 @@ declare const apiOperations: {
4291
4290
  accountId: z$1.ZodString;
4292
4291
  subscriptionId: z$1.ZodString;
4293
4292
  action: z$1.ZodEnum<{
4293
+ update: "update";
4294
4294
  cancel: "cancel";
4295
4295
  release: "release";
4296
- update: "update";
4297
4296
  schedule: "schedule";
4298
4297
  }>;
4299
4298
  update: z$1.ZodNullable<z$1.ZodObject<{
@@ -4426,8 +4425,8 @@ declare const apiOperations: {
4426
4425
  operationId: z$1.ZodUUID;
4427
4426
  customerId: z$1.ZodOptional<z$1.ZodUUID>;
4428
4427
  intent: z$1.ZodOptional<z$1.ZodEnum<{
4429
- confirm: "confirm";
4430
4428
  cancel: "cancel";
4429
+ confirm: "confirm";
4431
4430
  }>>;
4432
4431
  }, z$1.core.$strict>;
4433
4432
  readonly response: z$1.ZodObject<{
@@ -4435,8 +4434,8 @@ declare const apiOperations: {
4435
4434
  scope: z$1.ZodObject<{
4436
4435
  projectId: z$1.ZodString;
4437
4436
  environment: z$1.ZodEnum<{
4438
- live: "live";
4439
4437
  sandbox: "sandbox";
4438
+ live: "live";
4440
4439
  }>;
4441
4440
  }, z$1.core.$strict>;
4442
4441
  operation: z$1.ZodUnion<readonly [z$1.ZodObject<{
@@ -4474,9 +4473,9 @@ declare const apiOperations: {
4474
4473
  accountId: z$1.ZodString;
4475
4474
  subscriptionId: z$1.ZodString;
4476
4475
  action: z$1.ZodEnum<{
4476
+ update: "update";
4477
4477
  cancel: "cancel";
4478
4478
  release: "release";
4479
- update: "update";
4480
4479
  schedule: "schedule";
4481
4480
  }>;
4482
4481
  update: z$1.ZodNullable<z$1.ZodObject<{
@@ -4652,8 +4651,8 @@ declare const apiOperations: {
4652
4651
  scope: z$1.ZodObject<{
4653
4652
  projectId: z$1.ZodString;
4654
4653
  environment: z$1.ZodEnum<{
4655
- live: "live";
4656
4654
  sandbox: "sandbox";
4655
+ live: "live";
4657
4656
  }>;
4658
4657
  }, z$1.core.$strict>;
4659
4658
  operation: z$1.ZodUnion<readonly [z$1.ZodObject<{
@@ -4691,9 +4690,9 @@ declare const apiOperations: {
4691
4690
  accountId: z$1.ZodString;
4692
4691
  subscriptionId: z$1.ZodString;
4693
4692
  action: z$1.ZodEnum<{
4693
+ update: "update";
4694
4694
  cancel: "cancel";
4695
4695
  release: "release";
4696
- update: "update";
4697
4696
  schedule: "schedule";
4698
4697
  }>;
4699
4698
  update: z$1.ZodNullable<z$1.ZodObject<{
@@ -4879,8 +4878,8 @@ declare const apiOperations: {
4879
4878
  scope: z$1.ZodObject<{
4880
4879
  projectId: z$1.ZodString;
4881
4880
  environment: z$1.ZodEnum<{
4882
- live: "live";
4883
4881
  sandbox: "sandbox";
4882
+ live: "live";
4884
4883
  }>;
4885
4884
  }, z$1.core.$strict>;
4886
4885
  quote: z$1.ZodObject<{
@@ -4972,8 +4971,8 @@ declare const apiOperations: {
4972
4971
  scope: z$1.ZodObject<{
4973
4972
  projectId: z$1.ZodString;
4974
4973
  environment: z$1.ZodEnum<{
4975
- live: "live";
4976
4974
  sandbox: "sandbox";
4975
+ live: "live";
4977
4976
  }>;
4978
4977
  }, z$1.core.$strict>;
4979
4978
  operation: z$1.ZodObject<{
@@ -4981,8 +4980,8 @@ declare const apiOperations: {
4981
4980
  invoiceId: z$1.ZodUUID;
4982
4981
  providerInvoiceId: z$1.ZodString;
4983
4982
  status: z$1.ZodEnum<{
4984
- expired: "expired";
4985
4983
  pending: "pending";
4984
+ expired: "expired";
4986
4985
  failed: "failed";
4987
4986
  quoted: "quoted";
4988
4987
  succeeded: "succeeded";
@@ -5072,8 +5071,8 @@ declare const apiOperations: {
5072
5071
  scope: z$1.ZodObject<{
5073
5072
  projectId: z$1.ZodString;
5074
5073
  environment: z$1.ZodEnum<{
5075
- live: "live";
5076
5074
  sandbox: "sandbox";
5075
+ live: "live";
5077
5076
  }>;
5078
5077
  }, z$1.core.$strict>;
5079
5078
  operation: z$1.ZodObject<{
@@ -5081,8 +5080,8 @@ declare const apiOperations: {
5081
5080
  invoiceId: z$1.ZodUUID;
5082
5081
  providerInvoiceId: z$1.ZodString;
5083
5082
  status: z$1.ZodEnum<{
5084
- expired: "expired";
5085
5083
  pending: "pending";
5084
+ expired: "expired";
5086
5085
  failed: "failed";
5087
5086
  quoted: "quoted";
5088
5087
  succeeded: "succeeded";
@@ -5172,8 +5171,8 @@ declare const apiOperations: {
5172
5171
  scope: z$1.ZodObject<{
5173
5172
  projectId: z$1.ZodString;
5174
5173
  environment: z$1.ZodEnum<{
5175
- live: "live";
5176
5174
  sandbox: "sandbox";
5175
+ live: "live";
5177
5176
  }>;
5178
5177
  }, z$1.core.$strict>;
5179
5178
  controls: z$1.ZodObject<{
@@ -5187,8 +5186,8 @@ declare const apiOperations: {
5187
5186
  interval: z$1.ZodEnum<{
5188
5187
  week: "week";
5189
5188
  month: "month";
5190
- day: "day";
5191
5189
  hour: "hour";
5190
+ day: "day";
5192
5191
  }>;
5193
5192
  intervalCount: z$1.ZodNumber;
5194
5193
  limit: z$1.ZodNumber;
@@ -5428,9 +5427,9 @@ declare const apiOperations: {
5428
5427
  autoTopups: z$1.ZodArray<z$1.ZodObject<{
5429
5428
  authorizationId: z$1.ZodUUID;
5430
5429
  status: z$1.ZodEnum<{
5431
- idle: "idle";
5432
5430
  pending: "pending";
5433
5431
  blocked: "blocked";
5432
+ idle: "idle";
5434
5433
  }>;
5435
5434
  taskId: z$1.ZodNullable<z$1.ZodUUID>;
5436
5435
  invoiceId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -5460,8 +5459,8 @@ declare const apiOperations: {
5460
5459
  interval: z$1.ZodEnum<{
5461
5460
  week: "week";
5462
5461
  month: "month";
5463
- day: "day";
5464
5462
  hour: "hour";
5463
+ day: "day";
5465
5464
  }>;
5466
5465
  intervalCount: z$1.ZodNumber;
5467
5466
  limit: z$1.ZodNumber;
@@ -5552,8 +5551,8 @@ declare const apiOperations: {
5552
5551
  scope: z$1.ZodObject<{
5553
5552
  projectId: z$1.ZodString;
5554
5553
  environment: z$1.ZodEnum<{
5555
- live: "live";
5556
5554
  sandbox: "sandbox";
5555
+ live: "live";
5557
5556
  }>;
5558
5557
  }, z$1.core.$strict>;
5559
5558
  prepared: z$1.ZodObject<{
@@ -5566,8 +5565,8 @@ declare const apiOperations: {
5566
5565
  interval: z$1.ZodEnum<{
5567
5566
  week: "week";
5568
5567
  month: "month";
5569
- day: "day";
5570
5568
  hour: "hour";
5569
+ day: "day";
5571
5570
  }>;
5572
5571
  intervalCount: z$1.ZodNumber;
5573
5572
  limit: z$1.ZodNumber;
@@ -5735,8 +5734,8 @@ declare const apiOperations: {
5735
5734
  scope: z$1.ZodObject<{
5736
5735
  projectId: z$1.ZodString;
5737
5736
  environment: z$1.ZodEnum<{
5738
- live: "live";
5739
5737
  sandbox: "sandbox";
5738
+ live: "live";
5740
5739
  }>;
5741
5740
  }, z$1.core.$strict>;
5742
5741
  authorization: z$1.ZodObject<{
@@ -5749,8 +5748,8 @@ declare const apiOperations: {
5749
5748
  interval: z$1.ZodEnum<{
5750
5749
  week: "week";
5751
5750
  month: "month";
5752
- day: "day";
5753
5751
  hour: "hour";
5752
+ day: "day";
5754
5753
  }>;
5755
5754
  intervalCount: z$1.ZodNumber;
5756
5755
  limit: z$1.ZodNumber;
@@ -5928,8 +5927,8 @@ declare const apiOperations: {
5928
5927
  scope: z$1.ZodObject<{
5929
5928
  projectId: z$1.ZodString;
5930
5929
  environment: z$1.ZodEnum<{
5931
- live: "live";
5932
5930
  sandbox: "sandbox";
5931
+ live: "live";
5933
5932
  }>;
5934
5933
  }, z$1.core.$strict>;
5935
5934
  coupons: z$1.ZodObject<{
@@ -6056,8 +6055,8 @@ declare const apiOperations: {
6056
6055
  scope: z$1.ZodObject<{
6057
6056
  projectId: z$1.ZodString;
6058
6057
  environment: z$1.ZodEnum<{
6059
- live: "live";
6060
6058
  sandbox: "sandbox";
6059
+ live: "live";
6061
6060
  }>;
6062
6061
  }, z$1.core.$strict>;
6063
6062
  authorization: z$1.ZodObject<{
@@ -6070,8 +6069,8 @@ declare const apiOperations: {
6070
6069
  interval: z$1.ZodEnum<{
6071
6070
  week: "week";
6072
6071
  month: "month";
6073
- day: "day";
6074
6072
  hour: "hour";
6073
+ day: "day";
6075
6074
  }>;
6076
6075
  intervalCount: z$1.ZodNumber;
6077
6076
  limit: z$1.ZodNumber;
@@ -6248,24 +6247,24 @@ declare const apiOperations: {
6248
6247
  scope: z$1.ZodObject<{
6249
6248
  projectId: z$1.ZodString;
6250
6249
  environment: z$1.ZodEnum<{
6251
- live: "live";
6252
6250
  sandbox: "sandbox";
6251
+ live: "live";
6253
6252
  }>;
6254
6253
  }, z$1.core.$strict>;
6255
6254
  invoices: z$1.ZodObject<{
6256
6255
  rows: z$1.ZodArray<z$1.ZodObject<{
6257
6256
  id: z$1.ZodUUID;
6258
6257
  sourceKind: z$1.ZodEnum<{
6259
- product: "product";
6260
6258
  usage: "usage";
6259
+ product: "product";
6261
6260
  manual: "manual";
6262
6261
  }>;
6263
6262
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
6264
6263
  status: z$1.ZodEnum<{
6265
6264
  void: "void";
6266
- open: "open";
6267
6265
  pending: "pending";
6268
6266
  failed: "failed";
6267
+ open: "open";
6269
6268
  accruing: "accruing";
6270
6269
  paid: "paid";
6271
6270
  }>;
@@ -6411,23 +6410,23 @@ declare const apiOperations: {
6411
6410
  scope: z$1.ZodObject<{
6412
6411
  projectId: z$1.ZodString;
6413
6412
  environment: z$1.ZodEnum<{
6414
- live: "live";
6415
6413
  sandbox: "sandbox";
6414
+ live: "live";
6416
6415
  }>;
6417
6416
  }, z$1.core.$strict>;
6418
6417
  invoice: z$1.ZodObject<{
6419
6418
  id: z$1.ZodUUID;
6420
6419
  sourceKind: z$1.ZodEnum<{
6421
- product: "product";
6422
6420
  usage: "usage";
6421
+ product: "product";
6423
6422
  manual: "manual";
6424
6423
  }>;
6425
6424
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
6426
6425
  status: z$1.ZodEnum<{
6427
6426
  void: "void";
6428
- open: "open";
6429
6427
  pending: "pending";
6430
6428
  failed: "failed";
6429
+ open: "open";
6431
6430
  accruing: "accruing";
6432
6431
  paid: "paid";
6433
6432
  }>;
@@ -6611,8 +6610,8 @@ declare const apiOperations: {
6611
6610
  scope: z$1.ZodObject<{
6612
6611
  projectId: z$1.ZodString;
6613
6612
  environment: z$1.ZodEnum<{
6614
- live: "live";
6615
6613
  sandbox: "sandbox";
6614
+ live: "live";
6616
6615
  }>;
6617
6616
  }, z$1.core.$strict>;
6618
6617
  controls: z$1.ZodObject<{
@@ -6626,8 +6625,8 @@ declare const apiOperations: {
6626
6625
  interval: z$1.ZodEnum<{
6627
6626
  week: "week";
6628
6627
  month: "month";
6629
- day: "day";
6630
6628
  hour: "hour";
6629
+ day: "day";
6631
6630
  }>;
6632
6631
  intervalCount: z$1.ZodNumber;
6633
6632
  limit: z$1.ZodNumber;
@@ -6867,9 +6866,9 @@ declare const apiOperations: {
6867
6866
  autoTopups: z$1.ZodArray<z$1.ZodObject<{
6868
6867
  authorizationId: z$1.ZodUUID;
6869
6868
  status: z$1.ZodEnum<{
6870
- idle: "idle";
6871
6869
  pending: "pending";
6872
6870
  blocked: "blocked";
6871
+ idle: "idle";
6873
6872
  }>;
6874
6873
  taskId: z$1.ZodNullable<z$1.ZodUUID>;
6875
6874
  invoiceId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -6907,8 +6906,8 @@ declare const apiOperations: {
6907
6906
  scope: z$1.ZodObject<{
6908
6907
  projectId: z$1.ZodString;
6909
6908
  environment: z$1.ZodEnum<{
6910
- live: "live";
6911
6909
  sandbox: "sandbox";
6910
+ live: "live";
6912
6911
  }>;
6913
6912
  }, z$1.core.$strict>;
6914
6913
  entity: z$1.ZodObject<{
@@ -6959,8 +6958,8 @@ declare const apiOperations: {
6959
6958
  interval: z$1.ZodEnum<{
6960
6959
  week: "week";
6961
6960
  month: "month";
6962
- day: "day";
6963
6961
  hour: "hour";
6962
+ day: "day";
6964
6963
  }>;
6965
6964
  internal_feature_id: z$1.ZodNullable<z$1.ZodUUID>;
6966
6965
  entityId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -6973,8 +6972,8 @@ declare const apiOperations: {
6973
6972
  scope: z$1.ZodObject<{
6974
6973
  projectId: z$1.ZodString;
6975
6974
  environment: z$1.ZodEnum<{
6976
- live: "live";
6977
6975
  sandbox: "sandbox";
6976
+ live: "live";
6978
6977
  }>;
6979
6978
  }, z$1.core.$strict>;
6980
6979
  analytics: z$1.ZodObject<{
@@ -6983,8 +6982,8 @@ declare const apiOperations: {
6983
6982
  interval: z$1.ZodEnum<{
6984
6983
  week: "week";
6985
6984
  month: "month";
6986
- day: "day";
6987
6985
  hour: "hour";
6986
+ day: "day";
6988
6987
  }>;
6989
6988
  timezone: z$1.ZodString;
6990
6989
  rows: z$1.ZodArray<z$1.ZodObject<{
@@ -7047,18 +7046,18 @@ declare const apiOperations: {
7047
7046
  interval: z$1.ZodEnum<{
7048
7047
  week: "week";
7049
7048
  month: "month";
7050
- day: "day";
7051
7049
  hour: "hour";
7050
+ day: "day";
7052
7051
  }>;
7053
7052
  internal_feature_id: z$1.ZodNullable<z$1.ZodUUID>;
7054
7053
  entityId: z$1.ZodNullable<z$1.ZodUUID>;
7055
7054
  topN: z$1.ZodNullable<z$1.ZodNumber>;
7056
7055
  groupBy: z$1.ZodUnion<readonly [z$1.ZodEnum<{
7057
7056
  source: "source";
7058
- plan: "plan";
7059
7057
  customer: "customer";
7060
7058
  entity: "entity";
7061
7059
  dimension: "dimension";
7060
+ plan: "plan";
7062
7061
  entitlement: "entitlement";
7063
7062
  resource: "resource";
7064
7063
  }>, z$1.ZodString]>;
@@ -7077,8 +7076,8 @@ declare const apiOperations: {
7077
7076
  scope: z$1.ZodObject<{
7078
7077
  projectId: z$1.ZodString;
7079
7078
  environment: z$1.ZodEnum<{
7080
- live: "live";
7081
7079
  sandbox: "sandbox";
7080
+ live: "live";
7082
7081
  }>;
7083
7082
  }, z$1.core.$strict>;
7084
7083
  analytics: z$1.ZodObject<{
@@ -7087,8 +7086,8 @@ declare const apiOperations: {
7087
7086
  interval: z$1.ZodEnum<{
7088
7087
  week: "week";
7089
7088
  month: "month";
7090
- day: "day";
7091
7089
  hour: "hour";
7090
+ day: "day";
7092
7091
  }>;
7093
7092
  timezone: z$1.ZodString;
7094
7093
  rows: z$1.ZodArray<z$1.ZodObject<{
@@ -7147,8 +7146,8 @@ declare const apiOperations: {
7147
7146
  scope: z$1.ZodObject<{
7148
7147
  projectId: z$1.ZodString;
7149
7148
  environment: z$1.ZodEnum<{
7150
- live: "live";
7151
7149
  sandbox: "sandbox";
7150
+ live: "live";
7152
7151
  }>;
7153
7152
  }, z$1.core.$strict>;
7154
7153
  batchId: z$1.ZodUUID;
@@ -7169,8 +7168,8 @@ declare const apiOperations: {
7169
7168
  scope: z$1.ZodObject<{
7170
7169
  projectId: z$1.ZodString;
7171
7170
  environment: z$1.ZodEnum<{
7172
- live: "live";
7173
7171
  sandbox: "sandbox";
7172
+ live: "live";
7174
7173
  }>;
7175
7174
  }, z$1.core.$strict>;
7176
7175
  batch: z$1.ZodObject<{
@@ -7195,9 +7194,9 @@ declare const apiOperations: {
7195
7194
  id: z$1.ZodUUID;
7196
7195
  internal_feature_id: z$1.ZodUUID;
7197
7196
  kind: z$1.ZodEnum<{
7198
- confirm: "confirm";
7199
7197
  consume: "consume";
7200
7198
  reserve: "reserve";
7199
+ confirm: "confirm";
7201
7200
  refund: "refund";
7202
7201
  release: "release";
7203
7202
  expire: "expire";
@@ -7222,8 +7221,8 @@ declare const apiOperations: {
7222
7221
  }>>;
7223
7222
  createdAt: z$1.ZodISODateTime;
7224
7223
  reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
7225
- expired: "expired";
7226
7224
  pending: "pending";
7225
+ expired: "expired";
7227
7226
  confirmed: "confirmed";
7228
7227
  released: "released";
7229
7228
  }>>;
@@ -7335,8 +7334,8 @@ declare const apiOperations: {
7335
7334
  scope: z$1.ZodObject<{
7336
7335
  projectId: z$1.ZodString;
7337
7336
  environment: z$1.ZodEnum<{
7338
- live: "live";
7339
7337
  sandbox: "sandbox";
7338
+ live: "live";
7340
7339
  }>;
7341
7340
  }, z$1.core.$strict>;
7342
7341
  check: z$1.ZodObject<{
@@ -7451,8 +7450,8 @@ declare const apiOperations: {
7451
7450
  scope: z$1.ZodObject<{
7452
7451
  projectId: z$1.ZodString;
7453
7452
  environment: z$1.ZodEnum<{
7454
- live: "live";
7455
7453
  sandbox: "sandbox";
7454
+ live: "live";
7456
7455
  }>;
7457
7456
  }, z$1.core.$strict>;
7458
7457
  content: z$1.ZodObject<{
@@ -7511,10 +7510,10 @@ declare const apiOperations: {
7511
7510
  background: z$1.ZodString;
7512
7511
  text: z$1.ZodString;
7513
7512
  radius: z$1.ZodEnum<{
7513
+ none: "none";
7514
7514
  sm: "sm";
7515
7515
  md: "md";
7516
7516
  lg: "lg";
7517
- none: "none";
7518
7517
  full: "full";
7519
7518
  }>;
7520
7519
  font: z$1.ZodEnum<{
@@ -7533,10 +7532,10 @@ declare const apiOperations: {
7533
7532
  background: z$1.ZodString;
7534
7533
  text: z$1.ZodString;
7535
7534
  radius: z$1.ZodEnum<{
7535
+ none: "none";
7536
7536
  sm: "sm";
7537
7537
  md: "md";
7538
7538
  lg: "lg";
7539
- none: "none";
7540
7539
  full: "full";
7541
7540
  }>;
7542
7541
  font: z$1.ZodEnum<{
@@ -7691,8 +7690,8 @@ declare const apiOperations: {
7691
7690
  scope: z$1.ZodObject<{
7692
7691
  projectId: z$1.ZodString;
7693
7692
  environment: z$1.ZodEnum<{
7694
- live: "live";
7695
7693
  sandbox: "sandbox";
7694
+ live: "live";
7696
7695
  }>;
7697
7696
  }, z$1.core.$strict>;
7698
7697
  paywall: z$1.ZodObject<{
@@ -7782,6 +7781,8 @@ declare const apiOperations: {
7782
7781
  }, z$1.core.$strict>>;
7783
7782
  }, z$1.core.$strict>>;
7784
7783
  id: z$1.ZodUUID;
7784
+ version: z$1.ZodNumber;
7785
+ paywallId: z$1.ZodUUID;
7785
7786
  capabilities: z$1.ZodObject<{
7786
7787
  paywall: z$1.ZodOptional<z$1.ZodObject<{
7787
7788
  internal_feature_id: z$1.ZodString;
@@ -8033,8 +8034,6 @@ declare const apiOperations: {
8033
8034
  message: z$1.ZodString;
8034
8035
  }, z$1.core.$strict>>;
8035
8036
  }, z$1.core.$strict>;
8036
- version: z$1.ZodNumber;
8037
- paywallId: z$1.ZodUUID;
8038
8037
  content: z$1.ZodObject<{
8039
8038
  environmentId: z$1.ZodUUID;
8040
8039
  offeringVersionId: z$1.ZodUUID;
@@ -8132,8 +8131,8 @@ declare const apiOperations: {
8132
8131
  scope: z$1.ZodObject<{
8133
8132
  projectId: z$1.ZodString;
8134
8133
  environment: z$1.ZodEnum<{
8135
- live: "live";
8136
8134
  sandbox: "sandbox";
8135
+ live: "live";
8137
8136
  }>;
8138
8137
  }, z$1.core.$strict>;
8139
8138
  offering: z$1.ZodObject<{
@@ -8320,8 +8319,8 @@ declare const apiOperations: {
8320
8319
  scope: z$1.ZodObject<{
8321
8320
  projectId: z$1.ZodString;
8322
8321
  environment: z$1.ZodEnum<{
8323
- live: "live";
8324
8322
  sandbox: "sandbox";
8323
+ live: "live";
8325
8324
  }>;
8326
8325
  }, z$1.core.$strict>;
8327
8326
  holdings: z$1.ZodObject<{
@@ -8342,14 +8341,14 @@ declare const apiOperations: {
8342
8341
  }>;
8343
8342
  status: z$1.ZodEnum<{
8344
8343
  unknown: "unknown";
8345
- ended: "ended";
8346
- trial: "trial";
8347
- expired: "expired";
8348
8344
  pending: "pending";
8349
8345
  active: "active";
8346
+ expired: "expired";
8350
8347
  scheduled: "scheduled";
8348
+ trial: "trial";
8351
8349
  past_due: "past_due";
8352
8350
  paused: "paused";
8351
+ ended: "ended";
8353
8352
  trialing: "trialing";
8354
8353
  }>;
8355
8354
  cancelAtPeriodEnd: z$1.ZodBoolean;
@@ -8477,8 +8476,8 @@ declare const apiOperations: {
8477
8476
  scope: z$1.ZodObject<{
8478
8477
  projectId: z$1.ZodString;
8479
8478
  environment: z$1.ZodEnum<{
8480
- live: "live";
8481
8479
  sandbox: "sandbox";
8480
+ live: "live";
8482
8481
  }>;
8483
8482
  }, z$1.core.$strict>;
8484
8483
  ledger: z$1.ZodObject<{
@@ -8530,8 +8529,8 @@ declare const apiOperations: {
8530
8529
  type: z$1.ZodLiteral<"source">;
8531
8530
  reason: z$1.ZodEnum<{
8532
8531
  topup: "topup";
8533
- membership: "membership";
8534
8532
  trial: "trial";
8533
+ membership: "membership";
8535
8534
  manual: "manual";
8536
8535
  rollover: "rollover";
8537
8536
  seat: "seat";
@@ -8541,8 +8540,8 @@ declare const apiOperations: {
8541
8540
  unlimited: z$1.ZodBoolean;
8542
8541
  status: z$1.ZodEnum<{
8543
8542
  unavailable: "unavailable";
8544
- expired: "expired";
8545
8543
  active: "active";
8544
+ expired: "expired";
8546
8545
  scheduled: "scheduled";
8547
8546
  revoked: "revoked";
8548
8547
  }>;
@@ -8565,9 +8564,9 @@ declare const apiOperations: {
8565
8564
  internal_feature_id: z$1.ZodUUID;
8566
8565
  name: z$1.ZodString;
8567
8566
  kind: z$1.ZodEnum<{
8568
- confirm: "confirm";
8569
8567
  consume: "consume";
8570
8568
  reserve: "reserve";
8569
+ confirm: "confirm";
8571
8570
  refund: "refund";
8572
8571
  release: "release";
8573
8572
  expire: "expire";
@@ -8590,8 +8589,8 @@ declare const apiOperations: {
8590
8589
  [k: string]: string;
8591
8590
  }, Record<string, string | number | boolean>>>;
8592
8591
  reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
8593
- expired: "expired";
8594
8592
  pending: "pending";
8593
+ expired: "expired";
8595
8594
  confirmed: "confirmed";
8596
8595
  released: "released";
8597
8596
  }>>;
@@ -8776,24 +8775,24 @@ declare const apiOperations: {
8776
8775
  scope: z$1.ZodObject<{
8777
8776
  projectId: z$1.ZodString;
8778
8777
  environment: z$1.ZodEnum<{
8779
- live: "live";
8780
8778
  sandbox: "sandbox";
8779
+ live: "live";
8781
8780
  }>;
8782
8781
  }, z$1.core.$strict>;
8783
8782
  detail: z$1.ZodObject<{
8784
8783
  invoice: z$1.ZodObject<{
8785
8784
  id: z$1.ZodUUID;
8786
8785
  sourceKind: z$1.ZodEnum<{
8787
- product: "product";
8788
8786
  usage: "usage";
8787
+ product: "product";
8789
8788
  manual: "manual";
8790
8789
  }>;
8791
8790
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
8792
8791
  status: z$1.ZodEnum<{
8793
8792
  void: "void";
8794
- open: "open";
8795
8793
  pending: "pending";
8796
8794
  failed: "failed";
8795
+ open: "open";
8797
8796
  accruing: "accruing";
8798
8797
  paid: "paid";
8799
8798
  }>;
@@ -9117,8 +9116,8 @@ declare const apiOperations: {
9117
9116
  scope: z$1.ZodObject<{
9118
9117
  projectId: z$1.ZodString;
9119
9118
  environment: z$1.ZodEnum<{
9120
- live: "live";
9121
9119
  sandbox: "sandbox";
9120
+ live: "live";
9122
9121
  }>;
9123
9122
  }, z$1.core.$strict>;
9124
9123
  statement: z$1.ZodObject<{
@@ -9138,8 +9137,8 @@ declare const apiOperations: {
9138
9137
  operationId: z$1.ZodUUID;
9139
9138
  position: z$1.ZodNumber;
9140
9139
  kind: z$1.ZodEnum<{
9141
- confirm: "confirm";
9142
9140
  consume: "consume";
9141
+ confirm: "confirm";
9143
9142
  refund: "refund";
9144
9143
  }>;
9145
9144
  originalId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -9200,8 +9199,8 @@ declare const apiOperations: {
9200
9199
  scope: z$1.ZodObject<{
9201
9200
  projectId: z$1.ZodString;
9202
9201
  environment: z$1.ZodEnum<{
9203
- live: "live";
9204
9202
  sandbox: "sandbox";
9203
+ live: "live";
9205
9204
  }>;
9206
9205
  }, z$1.core.$strict>;
9207
9206
  quote: z$1.ZodObject<{
@@ -9286,17 +9285,17 @@ declare const apiOperations: {
9286
9285
  scope: z$1.ZodObject<{
9287
9286
  projectId: z$1.ZodString;
9288
9287
  environment: z$1.ZodEnum<{
9289
- live: "live";
9290
9288
  sandbox: "sandbox";
9289
+ live: "live";
9291
9290
  }>;
9292
9291
  }, z$1.core.$strict>;
9293
9292
  receipts: z$1.ZodArray<z$1.ZodObject<{
9294
9293
  id: z$1.ZodUUID;
9295
9294
  internal_feature_id: z$1.ZodUUID;
9296
9295
  kind: z$1.ZodEnum<{
9297
- confirm: "confirm";
9298
9296
  consume: "consume";
9299
9297
  reserve: "reserve";
9298
+ confirm: "confirm";
9300
9299
  refund: "refund";
9301
9300
  release: "release";
9302
9301
  expire: "expire";
@@ -9321,8 +9320,8 @@ declare const apiOperations: {
9321
9320
  }>>;
9322
9321
  createdAt: z$1.ZodISODateTime;
9323
9322
  reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
9324
- expired: "expired";
9325
9323
  pending: "pending";
9324
+ expired: "expired";
9326
9325
  confirmed: "confirmed";
9327
9326
  released: "released";
9328
9327
  }>>;
@@ -9587,17 +9586,17 @@ declare const apiOperations: {
9587
9586
  scope: z$1.ZodObject<{
9588
9587
  projectId: z$1.ZodString;
9589
9588
  environment: z$1.ZodEnum<{
9590
- live: "live";
9591
9589
  sandbox: "sandbox";
9590
+ live: "live";
9592
9591
  }>;
9593
9592
  }, z$1.core.$strict>;
9594
9593
  receipt: z$1.ZodObject<{
9595
9594
  id: z$1.ZodUUID;
9596
9595
  internal_feature_id: z$1.ZodUUID;
9597
9596
  kind: z$1.ZodEnum<{
9598
- confirm: "confirm";
9599
9597
  consume: "consume";
9600
9598
  reserve: "reserve";
9599
+ confirm: "confirm";
9601
9600
  refund: "refund";
9602
9601
  release: "release";
9603
9602
  expire: "expire";
@@ -9622,8 +9621,8 @@ declare const apiOperations: {
9622
9621
  }>>;
9623
9622
  createdAt: z$1.ZodISODateTime;
9624
9623
  reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
9625
- expired: "expired";
9626
9624
  pending: "pending";
9625
+ expired: "expired";
9627
9626
  confirmed: "confirmed";
9628
9627
  released: "released";
9629
9628
  }>>;
@@ -9676,8 +9675,8 @@ declare const apiOperations: {
9676
9675
  scope: z$1.ZodObject<{
9677
9676
  projectId: z$1.ZodString;
9678
9677
  environment: z$1.ZodEnum<{
9679
- live: "live";
9680
9678
  sandbox: "sandbox";
9679
+ live: "live";
9681
9680
  }>;
9682
9681
  }, z$1.core.$strict>;
9683
9682
  redemption: z$1.ZodObject<{
@@ -9710,8 +9709,8 @@ declare const apiOperations: {
9710
9709
  scope: z$1.ZodObject<{
9711
9710
  projectId: z$1.ZodString;
9712
9711
  environment: z$1.ZodEnum<{
9713
- live: "live";
9714
9712
  sandbox: "sandbox";
9713
+ live: "live";
9715
9714
  }>;
9716
9715
  }, z$1.core.$strict>;
9717
9716
  referralCode: z$1.ZodObject<{
@@ -9772,8 +9771,8 @@ declare const apiOperations: {
9772
9771
  scope: z$1.ZodObject<{
9773
9772
  projectId: z$1.ZodString;
9774
9773
  environment: z$1.ZodEnum<{
9775
- live: "live";
9776
9774
  sandbox: "sandbox";
9775
+ live: "live";
9777
9776
  }>;
9778
9777
  }, z$1.core.$strict>;
9779
9778
  checkout: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -9904,8 +9903,8 @@ declare const apiOperations: {
9904
9903
  scope: z$1.ZodObject<{
9905
9904
  projectId: z$1.ZodString;
9906
9905
  environment: z$1.ZodEnum<{
9907
- live: "live";
9908
9906
  sandbox: "sandbox";
9907
+ live: "live";
9909
9908
  }>;
9910
9909
  }, z$1.core.$strict>;
9911
9910
  seats: z$1.ZodObject<{
@@ -10003,8 +10002,8 @@ declare const apiOperations: {
10003
10002
  scope: z$1.ZodObject<{
10004
10003
  projectId: z$1.ZodString;
10005
10004
  environment: z$1.ZodEnum<{
10006
- live: "live";
10007
10005
  sandbox: "sandbox";
10006
+ live: "live";
10008
10007
  }>;
10009
10008
  }, z$1.core.$strict>;
10010
10009
  seats: z$1.ZodObject<{
@@ -10092,8 +10091,8 @@ declare const apiOperations: {
10092
10091
  scope: z$1.ZodObject<{
10093
10092
  projectId: z$1.ZodString;
10094
10093
  environment: z$1.ZodEnum<{
10095
- live: "live";
10096
10094
  sandbox: "sandbox";
10095
+ live: "live";
10097
10096
  }>;
10098
10097
  }, z$1.core.$strict>;
10099
10098
  customer: z$1.ZodObject<{
@@ -10128,8 +10127,8 @@ declare const apiOperations: {
10128
10127
  scope: z$1.ZodObject<{
10129
10128
  projectId: z$1.ZodString;
10130
10129
  environment: z$1.ZodEnum<{
10131
- live: "live";
10132
10130
  sandbox: "sandbox";
10131
+ live: "live";
10133
10132
  }>;
10134
10133
  }, z$1.core.$strict>;
10135
10134
  customer: z$1.ZodObject<{
@@ -10157,17 +10156,17 @@ declare const apiOperations: {
10157
10156
  holdingStatus: z$1.ZodDefault<z$1.ZodEnum<{
10158
10157
  "": "";
10159
10158
  unavailable: "unavailable";
10160
- none: "none";
10161
- expired: "expired";
10162
10159
  active: "active";
10160
+ expired: "expired";
10163
10161
  scheduled: "scheduled";
10162
+ none: "none";
10164
10163
  }>>;
10165
10164
  membershipStatus: z$1.ZodDefault<z$1.ZodEnum<{
10166
10165
  "": "";
10167
- ended: "ended";
10168
- trial: "trial";
10169
10166
  active: "active";
10167
+ trial: "trial";
10170
10168
  past_due: "past_due";
10169
+ ended: "ended";
10171
10170
  }>>;
10172
10171
  createdFrom: z$1.ZodDefault<z$1.ZodUnion<readonly [z$1.ZodISODateTime, z$1.ZodLiteral<"">]>>;
10173
10172
  createdUntil: z$1.ZodDefault<z$1.ZodUnion<readonly [z$1.ZodISODateTime, z$1.ZodLiteral<"">]>>;
@@ -10179,8 +10178,8 @@ declare const apiOperations: {
10179
10178
  scope: z$1.ZodObject<{
10180
10179
  projectId: z$1.ZodString;
10181
10180
  environment: z$1.ZodEnum<{
10182
- live: "live";
10183
10181
  sandbox: "sandbox";
10182
+ live: "live";
10184
10183
  }>;
10185
10184
  }, z$1.core.$strict>;
10186
10185
  customers: z$1.ZodArray<z$1.ZodObject<{
@@ -10230,8 +10229,8 @@ declare const apiOperations: {
10230
10229
  scope: z$1.ZodObject<{
10231
10230
  projectId: z$1.ZodString;
10232
10231
  environment: z$1.ZodEnum<{
10233
- live: "live";
10234
10232
  sandbox: "sandbox";
10233
+ live: "live";
10235
10234
  }>;
10236
10235
  }, z$1.core.$strict>;
10237
10236
  customer: z$1.ZodObject<{
@@ -10261,8 +10260,8 @@ declare const apiOperations: {
10261
10260
  scope: z$1.ZodObject<{
10262
10261
  projectId: z$1.ZodString;
10263
10262
  environment: z$1.ZodEnum<{
10264
- live: "live";
10265
10263
  sandbox: "sandbox";
10264
+ live: "live";
10266
10265
  }>;
10267
10266
  }, z$1.core.$strict>;
10268
10267
  customerToken: z$1.ZodString;
@@ -10284,8 +10283,8 @@ declare const apiOperations: {
10284
10283
  scope: z$1.ZodObject<{
10285
10284
  projectId: z$1.ZodString;
10286
10285
  environment: z$1.ZodEnum<{
10287
- live: "live";
10288
10286
  sandbox: "sandbox";
10287
+ live: "live";
10289
10288
  }>;
10290
10289
  }, z$1.core.$strict>;
10291
10290
  customerToken: z$1.ZodString;
@@ -10307,8 +10306,8 @@ declare const apiOperations: {
10307
10306
  scope: z$1.ZodObject<{
10308
10307
  projectId: z$1.ZodString;
10309
10308
  environment: z$1.ZodEnum<{
10310
- live: "live";
10311
10309
  sandbox: "sandbox";
10310
+ live: "live";
10312
10311
  }>;
10313
10312
  }, z$1.core.$strict>;
10314
10313
  revoked: z$1.ZodNumber;
@@ -10328,8 +10327,8 @@ declare const apiOperations: {
10328
10327
  scope: z$1.ZodObject<{
10329
10328
  projectId: z$1.ZodString;
10330
10329
  environment: z$1.ZodEnum<{
10331
- live: "live";
10332
10330
  sandbox: "sandbox";
10331
+ live: "live";
10333
10332
  }>;
10334
10333
  }, z$1.core.$strict>;
10335
10334
  customerId: z$1.ZodUUID;
@@ -10350,8 +10349,8 @@ declare const apiOperations: {
10350
10349
  scope: z$1.ZodObject<{
10351
10350
  projectId: z$1.ZodString;
10352
10351
  environment: z$1.ZodEnum<{
10353
- live: "live";
10354
10352
  sandbox: "sandbox";
10353
+ live: "live";
10355
10354
  }>;
10356
10355
  }, z$1.core.$strict>;
10357
10356
  customerId: z$1.ZodUUID;
@@ -10375,8 +10374,8 @@ declare const apiOperations: {
10375
10374
  scope: z$1.ZodObject<{
10376
10375
  projectId: z$1.ZodString;
10377
10376
  environment: z$1.ZodEnum<{
10378
- live: "live";
10379
10377
  sandbox: "sandbox";
10378
+ live: "live";
10380
10379
  }>;
10381
10380
  }, z$1.core.$strict>;
10382
10381
  customer: z$1.ZodObject<{
@@ -10407,17 +10406,17 @@ declare const apiOperations: {
10407
10406
  scope: z$1.ZodObject<{
10408
10407
  projectId: z$1.ZodString;
10409
10408
  environment: z$1.ZodEnum<{
10410
- live: "live";
10411
10409
  sandbox: "sandbox";
10410
+ live: "live";
10412
10411
  }>;
10413
10412
  }, z$1.core.$strict>;
10414
10413
  offer: z$1.ZodNullable<z$1.ZodObject<{
10415
10414
  id: z$1.ZodUUID;
10416
10415
  couponId: z$1.ZodUUID;
10417
10416
  status: z$1.ZodEnum<{
10418
- reserved: "reserved";
10419
10417
  expired: "expired";
10420
10418
  issued: "issued";
10419
+ reserved: "reserved";
10421
10420
  redeemed: "redeemed";
10422
10421
  revoked: "revoked";
10423
10422
  }>;
@@ -10507,17 +10506,17 @@ declare const apiOperations: {
10507
10506
  scope: z$1.ZodObject<{
10508
10507
  projectId: z$1.ZodString;
10509
10508
  environment: z$1.ZodEnum<{
10510
- live: "live";
10511
10509
  sandbox: "sandbox";
10510
+ live: "live";
10512
10511
  }>;
10513
10512
  }, z$1.core.$strict>;
10514
10513
  offers: z$1.ZodArray<z$1.ZodObject<{
10515
10514
  id: z$1.ZodUUID;
10516
10515
  couponId: z$1.ZodUUID;
10517
10516
  status: z$1.ZodEnum<{
10518
- reserved: "reserved";
10519
10517
  expired: "expired";
10520
10518
  issued: "issued";
10519
+ reserved: "reserved";
10521
10520
  redeemed: "redeemed";
10522
10521
  revoked: "revoked";
10523
10522
  }>;
@@ -10605,17 +10604,17 @@ declare const apiOperations: {
10605
10604
  scope: z$1.ZodObject<{
10606
10605
  projectId: z$1.ZodString;
10607
10606
  environment: z$1.ZodEnum<{
10608
- live: "live";
10609
10607
  sandbox: "sandbox";
10608
+ live: "live";
10610
10609
  }>;
10611
10610
  }, z$1.core.$strict>;
10612
10611
  offer: z$1.ZodNullable<z$1.ZodObject<{
10613
10612
  id: z$1.ZodUUID;
10614
10613
  couponId: z$1.ZodUUID;
10615
10614
  status: z$1.ZodEnum<{
10616
- reserved: "reserved";
10617
10615
  expired: "expired";
10618
10616
  issued: "issued";
10617
+ reserved: "reserved";
10619
10618
  redeemed: "redeemed";
10620
10619
  revoked: "revoked";
10621
10620
  }>;
@@ -10712,8 +10711,8 @@ declare const apiOperations: {
10712
10711
  scope: z$1.ZodObject<{
10713
10712
  projectId: z$1.ZodString;
10714
10713
  environment: z$1.ZodEnum<{
10715
- live: "live";
10716
10714
  sandbox: "sandbox";
10715
+ live: "live";
10717
10716
  }>;
10718
10717
  }, z$1.core.$strict>;
10719
10718
  receipt: z$1.ZodObject<{
@@ -10867,246 +10866,4 @@ interface FoundationApi {
10867
10866
  recordCouponRedemption(input: ApiInput<"recordCouponRedemption">): Promise<ApiOutput<"recordCouponRedemption">>;
10868
10867
  }
10869
10868
 
10870
- declare const tokenCounts: z$1.ZodObject<{
10871
- output: z$1.ZodNumber;
10872
- input: z$1.ZodNumber;
10873
- cache_read: z$1.ZodNumber;
10874
- cache_write: z$1.ZodNumber;
10875
- reasoning: z$1.ZodNumber;
10876
- input_audio: z$1.ZodNumber;
10877
- output_audio: z$1.ZodNumber;
10878
- }, z$1.core.$strict>;
10879
- declare const aiPriceSnapshotSchema: z$1.ZodObject<{
10880
- modelId: z$1.ZodString;
10881
- source: z$1.ZodEnum<{
10882
- custom: "custom";
10883
- "models.dev": "models.dev";
10884
- }>;
10885
- fetchedAt: z$1.ZodISODateTime;
10886
- rates: z$1.ZodObject<{
10887
- input: z$1.ZodString;
10888
- output: z$1.ZodString;
10889
- cache_read: z$1.ZodOptional<z$1.ZodString>;
10890
- cache_write: z$1.ZodOptional<z$1.ZodString>;
10891
- reasoning: z$1.ZodOptional<z$1.ZodString>;
10892
- input_audio: z$1.ZodOptional<z$1.ZodString>;
10893
- output_audio: z$1.ZodOptional<z$1.ZodString>;
10894
- }, z$1.core.$strict>;
10895
- contextTier: z$1.ZodNumber;
10896
- markupPercent: z$1.ZodNumber;
10897
- }, z$1.core.$strict>;
10898
- declare const aiTokenQuoteSchema: z$1.ZodObject<{
10899
- pricing: z$1.ZodObject<{
10900
- modelId: z$1.ZodString;
10901
- source: z$1.ZodEnum<{
10902
- custom: "custom";
10903
- "models.dev": "models.dev";
10904
- }>;
10905
- fetchedAt: z$1.ZodISODateTime;
10906
- rates: z$1.ZodObject<{
10907
- input: z$1.ZodString;
10908
- output: z$1.ZodString;
10909
- cache_read: z$1.ZodOptional<z$1.ZodString>;
10910
- cache_write: z$1.ZodOptional<z$1.ZodString>;
10911
- reasoning: z$1.ZodOptional<z$1.ZodString>;
10912
- input_audio: z$1.ZodOptional<z$1.ZodString>;
10913
- output_audio: z$1.ZodOptional<z$1.ZodString>;
10914
- }, z$1.core.$strict>;
10915
- contextTier: z$1.ZodNumber;
10916
- markupPercent: z$1.ZodNumber;
10917
- }, z$1.core.$strict>;
10918
- tokens: z$1.ZodObject<{
10919
- output: z$1.ZodNumber;
10920
- input: z$1.ZodNumber;
10921
- cache_read: z$1.ZodNumber;
10922
- cache_write: z$1.ZodNumber;
10923
- reasoning: z$1.ZodNumber;
10924
- input_audio: z$1.ZodNumber;
10925
- output_audio: z$1.ZodNumber;
10926
- }, z$1.core.$strict>;
10927
- quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
10928
- digest: z$1.ZodString;
10929
- }, z$1.core.$strict>;
10930
- type AiTokenQuote = z$1.infer<typeof aiTokenQuoteSchema>;
10931
- type AiTokenUsage = z$1.infer<typeof tokenCounts>;
10932
- type AiPricingOptions = {
10933
- defaultMarkup?: number;
10934
- providerMarkups?: Record<string, number>;
10935
- modelMarkups?: Record<string, number>;
10936
- customModels?: Record<string, Partial<z$1.infer<typeof aiPriceSnapshotSchema>["rates"]>>;
10937
- fetch?: typeof fetch;
10938
- };
10939
- /** Fetch automatic model prices on a trusted backend. Quotes can be saved with a job and reused verbatim on retries. */
10940
- declare function createAiPricing(options?: AiPricingOptions): {
10941
- /** Explicit refresh affects future quotes only, including their immutable timestamps and digest. */
10942
- refreshPrices(): void;
10943
- quoteTokens(input: {
10944
- modelId: string;
10945
- tokens: AiTokenUsage;
10946
- }): Promise<AiTokenQuote>;
10947
- /** All pools become one atomic balance operation. The metered entitlement unit must be one micro USD. */
10948
- trackTokens(client: Pick<FoundationApi, "mutateBalance">, input: {
10949
- customerId: string;
10950
- internal_feature_id: string;
10951
- entityId?: string;
10952
- idempotencyKey: string;
10953
- quote: AiTokenQuote;
10954
- properties?: Record<string, string>;
10955
- providerCostUsd?: string;
10956
- generationId?: string;
10957
- }): Promise<{
10958
- requestId: string;
10959
- scope: {
10960
- projectId: string;
10961
- environment: "live" | "sandbox";
10962
- };
10963
- receipt: {
10964
- id: string;
10965
- internal_feature_id: string;
10966
- kind: "confirm" | "consume" | "reserve" | "refund" | "release" | "expire";
10967
- originalId: string | null;
10968
- quantity: string;
10969
- accepted: boolean;
10970
- reason: "insufficient_balance" | "limit_exceeded" | "awaiting_topup" | "authorization_required" | "payment_blocked" | "cash_budget_exceeded" | "unavailable" | "expired" | null;
10971
- createdAt: string;
10972
- reservationStatus: "expired" | "pending" | "confirmed" | "released" | null;
10973
- expiresAt: string | null;
10974
- allocations: ({
10975
- funding: "prepaid";
10976
- sourceId: string;
10977
- units: string;
10978
- amount: string;
10979
- pricing: {
10980
- internal_credit_feature_id: string | null;
10981
- internal_metered_feature_id: string;
10982
- dimension: string;
10983
- counterKey: string;
10984
- cycleStart: string;
10985
- unitCost: string;
10986
- units: string;
10987
- amount: string;
10988
- tier: number | null;
10989
- }[];
10990
- } | {
10991
- funding: "balance";
10992
- sourceId: string;
10993
- rolloverId: string | null;
10994
- units: string;
10995
- amount: string;
10996
- } | {
10997
- funding: "unbilled";
10998
- units: string;
10999
- } | {
11000
- funding: "postpaid";
11001
- invoiceLineId: string | null;
11002
- units: string;
11003
- authorizationId: string;
11004
- })[];
11005
- requestedQuantity?: string | undefined;
11006
- overageBehavior?: "cap" | "overflow" | undefined;
11007
- };
11008
- }>;
11009
- };
11010
- /** Read one published configuration for new provider calls. Saved quotes keep their original rules. */
11011
- declare function createConfiguredAiPricing(client: Pick<FoundationApi, "readAiPricing">, input: ApiInput<"readAiPricing">, options?: Pick<AiPricingOptions, "fetch">): Promise<{
11012
- /** Explicit refresh affects future quotes only, including their immutable timestamps and digest. */
11013
- refreshPrices(): void;
11014
- quoteTokens(input: {
11015
- modelId: string;
11016
- tokens: AiTokenUsage;
11017
- }): Promise<AiTokenQuote>;
11018
- /** All pools become one atomic balance operation. The metered entitlement unit must be one micro USD. */
11019
- trackTokens(client: Pick<FoundationApi, "mutateBalance">, input: {
11020
- customerId: string;
11021
- internal_feature_id: string;
11022
- entityId?: string;
11023
- idempotencyKey: string;
11024
- quote: AiTokenQuote;
11025
- properties?: Record<string, string>;
11026
- providerCostUsd?: string;
11027
- generationId?: string;
11028
- }): Promise<{
11029
- requestId: string;
11030
- scope: {
11031
- projectId: string;
11032
- environment: "live" | "sandbox";
11033
- };
11034
- receipt: {
11035
- id: string;
11036
- internal_feature_id: string;
11037
- kind: "confirm" | "consume" | "reserve" | "refund" | "release" | "expire";
11038
- originalId: string | null;
11039
- quantity: string;
11040
- accepted: boolean;
11041
- reason: "insufficient_balance" | "limit_exceeded" | "awaiting_topup" | "authorization_required" | "payment_blocked" | "cash_budget_exceeded" | "unavailable" | "expired" | null;
11042
- createdAt: string;
11043
- reservationStatus: "expired" | "pending" | "confirmed" | "released" | null;
11044
- expiresAt: string | null;
11045
- allocations: ({
11046
- funding: "prepaid";
11047
- sourceId: string;
11048
- units: string;
11049
- amount: string;
11050
- pricing: {
11051
- internal_credit_feature_id: string | null;
11052
- internal_metered_feature_id: string;
11053
- dimension: string;
11054
- counterKey: string;
11055
- cycleStart: string;
11056
- unitCost: string;
11057
- units: string;
11058
- amount: string;
11059
- tier: number | null;
11060
- }[];
11061
- } | {
11062
- funding: "balance";
11063
- sourceId: string;
11064
- rolloverId: string | null;
11065
- units: string;
11066
- amount: string;
11067
- } | {
11068
- funding: "unbilled";
11069
- units: string;
11070
- } | {
11071
- funding: "postpaid";
11072
- invoiceLineId: string | null;
11073
- units: string;
11074
- authorizationId: string;
11075
- })[];
11076
- requestedQuantity?: string | undefined;
11077
- overageBehavior?: "cap" | "overflow" | undefined;
11078
- };
11079
- }>;
11080
- }>;
11081
-
11082
- type AiUsageContext = {
11083
- customerId: string;
11084
- internal_feature_id: string;
11085
- entityId?: string;
11086
- idempotencyKey: string;
11087
- properties?: Record<string, string>;
11088
- };
11089
- type AiUsageRecord = {
11090
- context: AiUsageContext;
11091
- modelId: string;
11092
- usage: LanguageModelV4Usage | null;
11093
- tokens: AiTokenUsage | null;
11094
- quote: AiTokenQuote | null;
11095
- receipt: Awaited<ReturnType<FoundationApi["mutateBalance"]>> | null;
11096
- phase: "captured" | "quoted" | "settled" | "incomplete";
11097
- };
11098
- type AiUsageMiddlewareOptions = {
11099
- pricing: ReturnType<typeof createAiPricing>;
11100
- client: Pick<FoundationApi, "mutateBalance">;
11101
- modelId: string;
11102
- /** Allocate a durable, unique ID per provider call, including each tool step. */
11103
- context: () => AiUsageContext | Promise<AiUsageContext>;
11104
- /** Save raw usage before pricing, and the frozen quote before a balance request. */
11105
- persist: (record: AiUsageRecord) => Promise<void>;
11106
- reasoning: "output" | "separate";
11107
- mapTokens?: (usage: LanguageModelV4Usage) => AiTokenUsage;
11108
- };
11109
- /** Current AI SDK v7 / LanguageModelV4 only. Never suppress a failed financial settlement. */
11110
- declare function createAiUsageMiddleware(options: AiUsageMiddlewareOptions): LanguageModelV4Middleware;
11111
-
11112
- export { type ApiInput as A, type FoundationApi as F, type InvoiceModeParams as I, type OfferingItem as O, type AiUsageContext as a, type AiTokenUsage as b, createAiPricing as c, type AiTokenQuote as d, type InvoiceModeParamsInput as e, type AiPricingOptions as f, type AiUsageMiddlewareOptions as g, type AiUsageRecord as h, aiPriceSnapshotSchema as i, aiTokenQuoteSchema as j, createAiUsageMiddleware as k, createConfiguredAiPricing as l };
10869
+ export type { ApiInput as A, FoundationApi as F, InvoiceModeParams as I, OfferingItem as O, InvoiceModeParamsInput as a };