@tinkerlandai/indiana-sdk 0.5.0 → 0.6.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 (48) hide show
  1. package/CHANGELOG.md +31 -2
  2. package/README.md +178 -7
  3. package/README.zh-CN.md +96 -6
  4. package/dist/{ai-usage-BzydP8eN.d.ts → ai-usage-C4Eg6sSr.d.ts} +366 -349
  5. package/dist/chunk-46S4DTCD.js +11 -0
  6. package/dist/chunk-4JBIKJMU.js +4 -0
  7. package/dist/chunk-5TEZEOHX.js +1 -0
  8. package/dist/chunk-FRZNOXK6.js +1 -0
  9. package/dist/chunk-GJGI34Q7.js +1 -0
  10. package/dist/chunk-OHDY27EI.js +1 -0
  11. package/dist/chunk-RMJJOSVZ.js +1 -0
  12. package/dist/chunk-S2MSIA57.js +17 -0
  13. package/dist/chunk-S5TVMQRC.js +1 -0
  14. package/dist/chunk-U3TULZCD.js +1 -0
  15. package/dist/configuration-sync-BWn1YZ78.d.ts +1314 -0
  16. package/dist/{customer-page-aZb5Twue.d.ts → customer-page-OBB82t8_.d.ts} +7 -4
  17. package/dist/funnel-runtime-host-YXWVCKAJ.js +1 -0
  18. package/dist/funnel-runtime-start-CKVuIOFs.d.ts +30920 -0
  19. package/dist/{growth-rules-D64pEvg9.d.ts → growth-rules-B4YYy64R.d.ts} +8 -1
  20. package/dist/index.d.ts +15126 -5369
  21. package/dist/index.js +1 -1
  22. package/dist/native-shell.js +1 -1
  23. package/dist/openrouter.d.ts +2 -2
  24. package/dist/openrouter.js +1 -1
  25. package/dist/page.d.ts +21 -23
  26. package/dist/page.js +1 -1
  27. package/dist/paywall-GRSGZLVG.js +1 -0
  28. package/dist/popup.d.ts +10 -7
  29. package/dist/popup.js +6 -6
  30. package/dist/server.d.ts +5 -4
  31. package/dist/server.js +1 -1
  32. package/dist/src-UWBQFGYH.js +1 -0
  33. package/dist/{visual-editor-agent-FDCV3BXP.js → visual-editor-agent-WW65CMKW.js} +1 -1
  34. package/dist/visual.d.ts +4 -2
  35. package/dist/visual.js +1 -1
  36. package/package.json +1 -1
  37. package/dist/chunk-3OSMEG44.js +0 -17
  38. package/dist/chunk-GA6X57BO.js +0 -1
  39. package/dist/chunk-GTBD4BJ4.js +0 -11
  40. package/dist/chunk-QUW4UOKZ.js +0 -4
  41. package/dist/chunk-RMFH5TWV.js +0 -1
  42. package/dist/chunk-YNUVRZRQ.js +0 -1
  43. package/dist/funnel-runtime-host-RZRB2CY6.js +0 -1
  44. package/dist/funnel-runtime-start-JHA9ES24.d.ts +0 -9199
  45. package/dist/paywall-MYBEOVTQ.js +0 -1
  46. package/dist/src-E2GXK6WA.js +0 -1
  47. package/dist/{chunk-ZT523F45.js → chunk-BIFEEVQO.js} +0 -0
  48. package/dist/{screen-16d-xADb.d.ts → screen-BbLE1OMn.d.ts} +160 -160
@@ -1,5 +1,5 @@
1
1
  import { LanguageModelV4Usage, LanguageModelV4Middleware } from '@ai-sdk/provider';
2
- import { S as StackNode } from './screen-16d-xADb.js';
2
+ import { S as StackNode } from './screen-BbLE1OMn.js';
3
3
  import { z } from 'zod/v4';
4
4
  import { z as z$1 } from 'zod';
5
5
 
@@ -611,8 +611,8 @@ declare const apiOperations: {
611
611
  scope: z$1.ZodObject<{
612
612
  projectId: z$1.ZodString;
613
613
  environment: z$1.ZodEnum<{
614
- sandbox: "sandbox";
615
614
  live: "live";
615
+ sandbox: "sandbox";
616
616
  }>;
617
617
  }, z$1.core.$strict>;
618
618
  templates: z$1.ZodObject<{
@@ -642,8 +642,8 @@ declare const apiOperations: {
642
642
  scope: z$1.ZodObject<{
643
643
  projectId: z$1.ZodString;
644
644
  environment: z$1.ZodEnum<{
645
- sandbox: "sandbox";
646
645
  live: "live";
646
+ sandbox: "sandbox";
647
647
  }>;
648
648
  }, z$1.core.$strict>;
649
649
  preview: z$1.ZodType<CreateInvoicePreview, CreateInvoicePreviewInput, z$1.core.$ZodTypeInternals<CreateInvoicePreview, CreateInvoicePreviewInput>>;
@@ -664,8 +664,8 @@ declare const apiOperations: {
664
664
  scope: z$1.ZodObject<{
665
665
  projectId: z$1.ZodString;
666
666
  environment: z$1.ZodEnum<{
667
- sandbox: "sandbox";
668
667
  live: "live";
668
+ sandbox: "sandbox";
669
669
  }>;
670
670
  }, z$1.core.$strict>;
671
671
  operation: z$1.ZodObject<{
@@ -682,8 +682,8 @@ declare const apiOperations: {
682
682
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
683
683
  status: z$1.ZodEnum<{
684
684
  void: "void";
685
- draft: "draft";
686
685
  open: "open";
686
+ draft: "draft";
687
687
  paid: "paid";
688
688
  uncollectible: "uncollectible";
689
689
  }>;
@@ -734,8 +734,8 @@ declare const apiOperations: {
734
734
  scope: z$1.ZodObject<{
735
735
  projectId: z$1.ZodString;
736
736
  environment: z$1.ZodEnum<{
737
- sandbox: "sandbox";
738
737
  live: "live";
738
+ sandbox: "sandbox";
739
739
  }>;
740
740
  }, z$1.core.$strict>;
741
741
  operation: z$1.ZodObject<{
@@ -752,8 +752,8 @@ declare const apiOperations: {
752
752
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
753
753
  status: z$1.ZodEnum<{
754
754
  void: "void";
755
- draft: "draft";
756
755
  open: "open";
756
+ draft: "draft";
757
757
  paid: "paid";
758
758
  uncollectible: "uncollectible";
759
759
  }>;
@@ -786,8 +786,8 @@ declare const apiOperations: {
786
786
  scope: z$1.ZodObject<{
787
787
  projectId: z$1.ZodString;
788
788
  environment: z$1.ZodEnum<{
789
- sandbox: "sandbox";
790
789
  live: "live";
790
+ sandbox: "sandbox";
791
791
  }>;
792
792
  }, z$1.core.$strict>;
793
793
  operation: z$1.ZodObject<{
@@ -804,8 +804,8 @@ declare const apiOperations: {
804
804
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
805
805
  status: z$1.ZodEnum<{
806
806
  void: "void";
807
- draft: "draft";
808
807
  open: "open";
808
+ draft: "draft";
809
809
  paid: "paid";
810
810
  uncollectible: "uncollectible";
811
811
  }>;
@@ -838,8 +838,8 @@ declare const apiOperations: {
838
838
  scope: z$1.ZodObject<{
839
839
  projectId: z$1.ZodString;
840
840
  environment: z$1.ZodEnum<{
841
- sandbox: "sandbox";
842
841
  live: "live";
842
+ sandbox: "sandbox";
843
843
  }>;
844
844
  }, z$1.core.$strict>;
845
845
  invoices: z$1.ZodObject<{
@@ -849,8 +849,8 @@ declare const apiOperations: {
849
849
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
850
850
  status: z$1.ZodEnum<{
851
851
  void: "void";
852
- draft: "draft";
853
852
  open: "open";
853
+ draft: "draft";
854
854
  paid: "paid";
855
855
  uncollectible: "uncollectible";
856
856
  }>;
@@ -880,8 +880,8 @@ declare const apiOperations: {
880
880
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
881
881
  status: z$1.ZodEnum<{
882
882
  void: "void";
883
- draft: "draft";
884
883
  open: "open";
884
+ draft: "draft";
885
885
  paid: "paid";
886
886
  uncollectible: "uncollectible";
887
887
  }>;
@@ -916,8 +916,8 @@ declare const apiOperations: {
916
916
  scope: z$1.ZodObject<{
917
917
  projectId: z$1.ZodString;
918
918
  environment: z$1.ZodEnum<{
919
- sandbox: "sandbox";
920
919
  live: "live";
920
+ sandbox: "sandbox";
921
921
  }>;
922
922
  }, z$1.core.$strict>;
923
923
  invoice: z$1.ZodObject<{
@@ -926,8 +926,8 @@ declare const apiOperations: {
926
926
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
927
927
  status: z$1.ZodEnum<{
928
928
  void: "void";
929
- draft: "draft";
930
929
  open: "open";
930
+ draft: "draft";
931
931
  paid: "paid";
932
932
  uncollectible: "uncollectible";
933
933
  }>;
@@ -967,13 +967,15 @@ declare const apiOperations: {
967
967
  scope: z$1.ZodObject<{
968
968
  projectId: z$1.ZodString;
969
969
  environment: z$1.ZodEnum<{
970
- sandbox: "sandbox";
971
970
  live: "live";
971
+ sandbox: "sandbox";
972
972
  }>;
973
973
  }, z$1.core.$strict>;
974
974
  config: z$1.ZodObject<{
975
975
  repository: z$1.ZodObject<{
976
976
  id: z$1.ZodUUID;
977
+ revision: z$1.ZodNumber;
978
+ include: z$1.ZodArray<z$1.ZodString>;
977
979
  repo: z$1.ZodString;
978
980
  platform: z$1.ZodEnum<{
979
981
  github: "github";
@@ -982,11 +984,9 @@ declare const apiOperations: {
982
984
  }>;
983
985
  branches: z$1.ZodArray<z$1.ZodString>;
984
986
  workflow: z$1.ZodString;
985
- include: z$1.ZodArray<z$1.ZodString>;
986
987
  exclude: z$1.ZodArray<z$1.ZodString>;
987
988
  methods: z$1.ZodArray<z$1.ZodString>;
988
989
  maxAgeHours: z$1.ZodNumber;
989
- revision: z$1.ZodNumber;
990
990
  }, z$1.core.$strict>;
991
991
  branch: z$1.ZodString;
992
992
  keys: z$1.ZodArray<z$1.ZodString>;
@@ -1032,8 +1032,8 @@ declare const apiOperations: {
1032
1032
  scope: z$1.ZodObject<{
1033
1033
  projectId: z$1.ZodString;
1034
1034
  environment: z$1.ZodEnum<{
1035
- sandbox: "sandbox";
1036
1035
  live: "live";
1036
+ sandbox: "sandbox";
1037
1037
  }>;
1038
1038
  }, z$1.core.$strict>;
1039
1039
  receipt: z$1.ZodObject<{
@@ -1056,16 +1056,16 @@ declare const apiOperations: {
1056
1056
  scope: z$1.ZodObject<{
1057
1057
  projectId: z$1.ZodString;
1058
1058
  environment: z$1.ZodEnum<{
1059
- sandbox: "sandbox";
1060
1059
  live: "live";
1060
+ sandbox: "sandbox";
1061
1061
  }>;
1062
1062
  }, z$1.core.$strict>;
1063
1063
  payload: z$1.ZodObject<{
1064
1064
  scope: z$1.ZodObject<{
1065
1065
  projectId: z$1.ZodString;
1066
1066
  environment: z$1.ZodEnum<{
1067
- sandbox: "sandbox";
1068
1067
  live: "live";
1068
+ sandbox: "sandbox";
1069
1069
  }>;
1070
1070
  }, z$1.core.$strict>;
1071
1071
  generation: z$1.ZodString;
@@ -1250,8 +1250,8 @@ declare const apiOperations: {
1250
1250
  scope: z$1.ZodObject<{
1251
1251
  projectId: z$1.ZodString;
1252
1252
  environment: z$1.ZodEnum<{
1253
- sandbox: "sandbox";
1254
1253
  live: "live";
1254
+ sandbox: "sandbox";
1255
1255
  }>;
1256
1256
  }, z$1.core.$strict>;
1257
1257
  generation: z$1.ZodString;
@@ -1260,11 +1260,11 @@ declare const apiOperations: {
1260
1260
  features: z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
1261
1261
  value: z$1.ZodJSONSchema;
1262
1262
  source: z$1.ZodEnum<{
1263
- defaultValue: "defaultValue";
1263
+ override: "override";
1264
1264
  force: "force";
1265
1265
  experiment: "experiment";
1266
+ defaultValue: "defaultValue";
1266
1267
  unknownFeature: "unknownFeature";
1267
- override: "override";
1268
1268
  prerequisite: "prerequisite";
1269
1269
  cyclicPrerequisite: "cyclicPrerequisite";
1270
1270
  }>;
@@ -1309,8 +1309,8 @@ declare const apiOperations: {
1309
1309
  scope: z$1.ZodObject<{
1310
1310
  projectId: z$1.ZodString;
1311
1311
  environment: z$1.ZodEnum<{
1312
- sandbox: "sandbox";
1313
1312
  live: "live";
1313
+ sandbox: "sandbox";
1314
1314
  }>;
1315
1315
  }, z$1.core.$strict>;
1316
1316
  inserted: z$1.ZodNumber;
@@ -1338,8 +1338,8 @@ declare const apiOperations: {
1338
1338
  scope: z$1.ZodObject<{
1339
1339
  projectId: z$1.ZodString;
1340
1340
  environment: z$1.ZodEnum<{
1341
- sandbox: "sandbox";
1342
1341
  live: "live";
1342
+ sandbox: "sandbox";
1343
1343
  }>;
1344
1344
  }, z$1.core.$strict>;
1345
1345
  balance: z$1.ZodObject<{
@@ -1388,8 +1388,8 @@ declare const apiOperations: {
1388
1388
  scope: z$1.ZodObject<{
1389
1389
  projectId: z$1.ZodString;
1390
1390
  environment: z$1.ZodEnum<{
1391
- sandbox: "sandbox";
1392
1391
  live: "live";
1392
+ sandbox: "sandbox";
1393
1393
  }>;
1394
1394
  }, z$1.core.$strict>;
1395
1395
  balance: z$1.ZodObject<{
@@ -1416,8 +1416,8 @@ declare const apiOperations: {
1416
1416
  scope: z$1.ZodObject<{
1417
1417
  projectId: z$1.ZodString;
1418
1418
  environment: z$1.ZodEnum<{
1419
- sandbox: "sandbox";
1420
1419
  live: "live";
1420
+ sandbox: "sandbox";
1421
1421
  }>;
1422
1422
  }, z$1.core.$strict>;
1423
1423
  internal_feature_id: z$1.ZodUUID;
@@ -1514,8 +1514,8 @@ declare const apiOperations: {
1514
1514
  scope: z$1.ZodObject<{
1515
1515
  projectId: z$1.ZodString;
1516
1516
  environment: z$1.ZodEnum<{
1517
- sandbox: "sandbox";
1518
1517
  live: "live";
1518
+ sandbox: "sandbox";
1519
1519
  }>;
1520
1520
  }, z$1.core.$strict>;
1521
1521
  usage: z$1.ZodObject<{
@@ -1554,8 +1554,8 @@ declare const apiOperations: {
1554
1554
  scope: z$1.ZodObject<{
1555
1555
  projectId: z$1.ZodString;
1556
1556
  environment: z$1.ZodEnum<{
1557
- sandbox: "sandbox";
1558
1557
  live: "live";
1558
+ sandbox: "sandbox";
1559
1559
  }>;
1560
1560
  }, z$1.core.$strict>;
1561
1561
  usage: z$1.ZodObject<{
@@ -1587,14 +1587,14 @@ declare const apiOperations: {
1587
1587
  expiresAt: z$1.ZodNullable<z$1.ZodISODateTime>;
1588
1588
  reset: z$1.ZodNullable<z$1.ZodObject<{
1589
1589
  interval: z$1.ZodEnum<{
1590
- minute: "minute";
1591
- hour: "hour";
1592
- day: "day";
1593
1590
  week: "week";
1594
1591
  month: "month";
1592
+ year: "year";
1593
+ day: "day";
1594
+ hour: "hour";
1595
+ minute: "minute";
1595
1596
  quarter: "quarter";
1596
1597
  semi_annual: "semi_annual";
1597
- year: "year";
1598
1598
  }>;
1599
1599
  count: z$1.ZodNumber;
1600
1600
  }, z$1.core.$strict>>;
@@ -1639,8 +1639,8 @@ declare const apiOperations: {
1639
1639
  scope: z$1.ZodObject<{
1640
1640
  projectId: z$1.ZodString;
1641
1641
  environment: z$1.ZodEnum<{
1642
- sandbox: "sandbox";
1643
1642
  live: "live";
1643
+ sandbox: "sandbox";
1644
1644
  }>;
1645
1645
  }, z$1.core.$strict>;
1646
1646
  grant: z$1.ZodObject<{
@@ -1650,14 +1650,14 @@ declare const apiOperations: {
1650
1650
  amount: z$1.ZodNullable<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
1651
1651
  reset: z$1.ZodNullable<z$1.ZodObject<{
1652
1652
  interval: z$1.ZodEnum<{
1653
- minute: "minute";
1654
- hour: "hour";
1655
- day: "day";
1656
1653
  week: "week";
1657
1654
  month: "month";
1655
+ year: "year";
1656
+ day: "day";
1657
+ hour: "hour";
1658
+ minute: "minute";
1658
1659
  quarter: "quarter";
1659
1660
  semi_annual: "semi_annual";
1660
- year: "year";
1661
1661
  }>;
1662
1662
  count: z$1.ZodNumber;
1663
1663
  }, z$1.core.$strict>>;
@@ -1692,8 +1692,8 @@ declare const apiOperations: {
1692
1692
  scope: z$1.ZodObject<{
1693
1693
  projectId: z$1.ZodString;
1694
1694
  environment: z$1.ZodEnum<{
1695
- sandbox: "sandbox";
1696
1695
  live: "live";
1696
+ sandbox: "sandbox";
1697
1697
  }>;
1698
1698
  }, z$1.core.$strict>;
1699
1699
  grants: z$1.ZodObject<{
@@ -1704,14 +1704,14 @@ declare const apiOperations: {
1704
1704
  amount: z$1.ZodNullable<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
1705
1705
  reset: z$1.ZodNullable<z$1.ZodObject<{
1706
1706
  interval: z$1.ZodEnum<{
1707
- minute: "minute";
1708
- hour: "hour";
1709
- day: "day";
1710
1707
  week: "week";
1711
1708
  month: "month";
1709
+ year: "year";
1710
+ day: "day";
1711
+ hour: "hour";
1712
+ minute: "minute";
1712
1713
  quarter: "quarter";
1713
1714
  semi_annual: "semi_annual";
1714
- year: "year";
1715
1715
  }>;
1716
1716
  count: z$1.ZodNumber;
1717
1717
  }, z$1.core.$strict>>;
@@ -1766,8 +1766,8 @@ declare const apiOperations: {
1766
1766
  scope: z$1.ZodObject<{
1767
1767
  projectId: z$1.ZodString;
1768
1768
  environment: z$1.ZodEnum<{
1769
- sandbox: "sandbox";
1770
1769
  live: "live";
1770
+ sandbox: "sandbox";
1771
1771
  }>;
1772
1772
  }, z$1.core.$strict>;
1773
1773
  operation: z$1.ZodObject<{
@@ -1775,12 +1775,12 @@ declare const apiOperations: {
1775
1775
  orderId: z$1.ZodUUID;
1776
1776
  purchaseIntentId: z$1.ZodUUID;
1777
1777
  status: z$1.ZodEnum<{
1778
- paid: "paid";
1779
- created: "created";
1780
1778
  pending: "pending";
1779
+ failed: "failed";
1780
+ paid: "paid";
1781
1781
  trialing: "trialing";
1782
1782
  cancelled: "cancelled";
1783
- failed: "failed";
1783
+ created: "created";
1784
1784
  }>;
1785
1785
  currency: z$1.ZodEnum<{
1786
1786
  USD: "USD";
@@ -1875,17 +1875,17 @@ declare const apiOperations: {
1875
1875
  scope: z$1.ZodObject<{
1876
1876
  projectId: z$1.ZodString;
1877
1877
  environment: z$1.ZodEnum<{
1878
- sandbox: "sandbox";
1879
1878
  live: "live";
1879
+ sandbox: "sandbox";
1880
1880
  }>;
1881
1881
  }, z$1.core.$strict>;
1882
1882
  setup: z$1.ZodObject<{
1883
1883
  id: z$1.ZodUUID;
1884
1884
  provider: z$1.ZodLiteral<"stripe">;
1885
1885
  status: z$1.ZodEnum<{
1886
- complete: "complete";
1887
- prepared: "prepared";
1888
1886
  expired: "expired";
1887
+ prepared: "prepared";
1888
+ complete: "complete";
1889
1889
  }>;
1890
1890
  currency: z$1.ZodEnum<{
1891
1891
  USD: "USD";
@@ -1961,17 +1961,17 @@ declare const apiOperations: {
1961
1961
  scope: z$1.ZodObject<{
1962
1962
  projectId: z$1.ZodString;
1963
1963
  environment: z$1.ZodEnum<{
1964
- sandbox: "sandbox";
1965
1964
  live: "live";
1965
+ sandbox: "sandbox";
1966
1966
  }>;
1967
1967
  }, z$1.core.$strict>;
1968
1968
  setup: z$1.ZodObject<{
1969
1969
  id: z$1.ZodUUID;
1970
1970
  provider: z$1.ZodLiteral<"stripe">;
1971
1971
  status: z$1.ZodEnum<{
1972
- complete: "complete";
1973
- prepared: "prepared";
1974
1972
  expired: "expired";
1973
+ prepared: "prepared";
1974
+ complete: "complete";
1975
1975
  }>;
1976
1976
  currency: z$1.ZodEnum<{
1977
1977
  USD: "USD";
@@ -2058,20 +2058,20 @@ declare const apiOperations: {
2058
2058
  scope: z$1.ZodObject<{
2059
2059
  projectId: z$1.ZodString;
2060
2060
  environment: z$1.ZodEnum<{
2061
- sandbox: "sandbox";
2062
2061
  live: "live";
2062
+ sandbox: "sandbox";
2063
2063
  }>;
2064
2064
  }, z$1.core.$strict>;
2065
2065
  batch: z$1.ZodObject<{
2066
2066
  batchId: z$1.ZodUUID;
2067
2067
  ready: z$1.ZodBoolean;
2068
2068
  status: z$1.ZodEnum<{
2069
+ expired: "expired";
2069
2070
  pending: "pending";
2070
- cancelled: "cancelled";
2071
2071
  prepared: "prepared";
2072
- expired: "expired";
2073
- partial: "partial";
2074
2072
  effective: "effective";
2073
+ cancelled: "cancelled";
2074
+ partial: "partial";
2075
2075
  action_required: "action_required";
2076
2076
  }>;
2077
2077
  createdAt: z$1.ZodISODateTime;
@@ -2093,13 +2093,13 @@ declare const apiOperations: {
2093
2093
  renewal: "renewal";
2094
2094
  }>;
2095
2095
  status: z$1.ZodEnum<{
2096
+ scheduled: "scheduled";
2096
2097
  pending: "pending";
2097
- cancelled: "cancelled";
2098
2098
  failed: "failed";
2099
2099
  prepared: "prepared";
2100
2100
  effective: "effective";
2101
2101
  confirmed: "confirmed";
2102
- scheduled: "scheduled";
2102
+ cancelled: "cancelled";
2103
2103
  store_action_required: "store_action_required";
2104
2104
  }>;
2105
2105
  quote: z$1.ZodNullable<z$1.ZodObject<{
@@ -2165,16 +2165,16 @@ declare const apiOperations: {
2165
2165
  provider: z$1.ZodLiteral<"stripe">;
2166
2166
  invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
2167
2167
  executor: z$1.ZodEnum<{
2168
- merchant: "merchant";
2169
2168
  indiana: "indiana";
2169
+ merchant: "merchant";
2170
2170
  }>;
2171
2171
  accountId: z$1.ZodString;
2172
2172
  subscriptionId: z$1.ZodString;
2173
2173
  action: z$1.ZodEnum<{
2174
- update: "update";
2175
2174
  cancel: "cancel";
2176
- schedule: "schedule";
2175
+ update: "update";
2177
2176
  release: "release";
2177
+ schedule: "schedule";
2178
2178
  }>;
2179
2179
  update: z$1.ZodNullable<z$1.ZodObject<{
2180
2180
  items: z$1.ZodArray<z$1.ZodObject<{
@@ -2188,9 +2188,9 @@ declare const apiOperations: {
2188
2188
  quantity: z$1.ZodNumber;
2189
2189
  }, z$1.core.$strict>>>;
2190
2190
  prorationBehavior: z$1.ZodOptional<z$1.ZodEnum<{
2191
+ none: "none";
2191
2192
  always_invoice: "always_invoice";
2192
2193
  create_prorations: "create_prorations";
2193
- none: "none";
2194
2194
  }>>;
2195
2195
  prorationDate: z$1.ZodOptional<z$1.ZodNumber>;
2196
2196
  paymentBehavior: z$1.ZodOptional<z$1.ZodLiteral<"error_if_incomplete">>;
@@ -2259,20 +2259,20 @@ declare const apiOperations: {
2259
2259
  scope: z$1.ZodObject<{
2260
2260
  projectId: z$1.ZodString;
2261
2261
  environment: z$1.ZodEnum<{
2262
- sandbox: "sandbox";
2263
2262
  live: "live";
2263
+ sandbox: "sandbox";
2264
2264
  }>;
2265
2265
  }, z$1.core.$strict>;
2266
2266
  batch: z$1.ZodObject<{
2267
2267
  batchId: z$1.ZodUUID;
2268
2268
  ready: z$1.ZodBoolean;
2269
2269
  status: z$1.ZodEnum<{
2270
+ expired: "expired";
2270
2271
  pending: "pending";
2271
- cancelled: "cancelled";
2272
2272
  prepared: "prepared";
2273
- expired: "expired";
2274
- partial: "partial";
2275
2273
  effective: "effective";
2274
+ cancelled: "cancelled";
2275
+ partial: "partial";
2276
2276
  action_required: "action_required";
2277
2277
  }>;
2278
2278
  createdAt: z$1.ZodISODateTime;
@@ -2294,13 +2294,13 @@ declare const apiOperations: {
2294
2294
  renewal: "renewal";
2295
2295
  }>;
2296
2296
  status: z$1.ZodEnum<{
2297
+ scheduled: "scheduled";
2297
2298
  pending: "pending";
2298
- cancelled: "cancelled";
2299
2299
  failed: "failed";
2300
2300
  prepared: "prepared";
2301
2301
  effective: "effective";
2302
2302
  confirmed: "confirmed";
2303
- scheduled: "scheduled";
2303
+ cancelled: "cancelled";
2304
2304
  store_action_required: "store_action_required";
2305
2305
  }>;
2306
2306
  quote: z$1.ZodNullable<z$1.ZodObject<{
@@ -2366,16 +2366,16 @@ declare const apiOperations: {
2366
2366
  provider: z$1.ZodLiteral<"stripe">;
2367
2367
  invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
2368
2368
  executor: z$1.ZodEnum<{
2369
- merchant: "merchant";
2370
2369
  indiana: "indiana";
2370
+ merchant: "merchant";
2371
2371
  }>;
2372
2372
  accountId: z$1.ZodString;
2373
2373
  subscriptionId: z$1.ZodString;
2374
2374
  action: z$1.ZodEnum<{
2375
- update: "update";
2376
2375
  cancel: "cancel";
2377
- schedule: "schedule";
2376
+ update: "update";
2378
2377
  release: "release";
2378
+ schedule: "schedule";
2379
2379
  }>;
2380
2380
  update: z$1.ZodNullable<z$1.ZodObject<{
2381
2381
  items: z$1.ZodArray<z$1.ZodObject<{
@@ -2389,9 +2389,9 @@ declare const apiOperations: {
2389
2389
  quantity: z$1.ZodNumber;
2390
2390
  }, z$1.core.$strict>>>;
2391
2391
  prorationBehavior: z$1.ZodOptional<z$1.ZodEnum<{
2392
+ none: "none";
2392
2393
  always_invoice: "always_invoice";
2393
2394
  create_prorations: "create_prorations";
2394
- none: "none";
2395
2395
  }>>;
2396
2396
  prorationDate: z$1.ZodOptional<z$1.ZodNumber>;
2397
2397
  paymentBehavior: z$1.ZodOptional<z$1.ZodLiteral<"error_if_incomplete">>;
@@ -2460,20 +2460,20 @@ declare const apiOperations: {
2460
2460
  scope: z$1.ZodObject<{
2461
2461
  projectId: z$1.ZodString;
2462
2462
  environment: z$1.ZodEnum<{
2463
- sandbox: "sandbox";
2464
2463
  live: "live";
2464
+ sandbox: "sandbox";
2465
2465
  }>;
2466
2466
  }, z$1.core.$strict>;
2467
2467
  batch: z$1.ZodObject<{
2468
2468
  batchId: z$1.ZodUUID;
2469
2469
  ready: z$1.ZodBoolean;
2470
2470
  status: z$1.ZodEnum<{
2471
+ expired: "expired";
2471
2472
  pending: "pending";
2472
- cancelled: "cancelled";
2473
2473
  prepared: "prepared";
2474
- expired: "expired";
2475
- partial: "partial";
2476
2474
  effective: "effective";
2475
+ cancelled: "cancelled";
2476
+ partial: "partial";
2477
2477
  action_required: "action_required";
2478
2478
  }>;
2479
2479
  createdAt: z$1.ZodISODateTime;
@@ -2495,13 +2495,13 @@ declare const apiOperations: {
2495
2495
  renewal: "renewal";
2496
2496
  }>;
2497
2497
  status: z$1.ZodEnum<{
2498
+ scheduled: "scheduled";
2498
2499
  pending: "pending";
2499
- cancelled: "cancelled";
2500
2500
  failed: "failed";
2501
2501
  prepared: "prepared";
2502
2502
  effective: "effective";
2503
2503
  confirmed: "confirmed";
2504
- scheduled: "scheduled";
2504
+ cancelled: "cancelled";
2505
2505
  store_action_required: "store_action_required";
2506
2506
  }>;
2507
2507
  quote: z$1.ZodNullable<z$1.ZodObject<{
@@ -2567,16 +2567,16 @@ declare const apiOperations: {
2567
2567
  provider: z$1.ZodLiteral<"stripe">;
2568
2568
  invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
2569
2569
  executor: z$1.ZodEnum<{
2570
- merchant: "merchant";
2571
2570
  indiana: "indiana";
2571
+ merchant: "merchant";
2572
2572
  }>;
2573
2573
  accountId: z$1.ZodString;
2574
2574
  subscriptionId: z$1.ZodString;
2575
2575
  action: z$1.ZodEnum<{
2576
- update: "update";
2577
2576
  cancel: "cancel";
2578
- schedule: "schedule";
2577
+ update: "update";
2579
2578
  release: "release";
2579
+ schedule: "schedule";
2580
2580
  }>;
2581
2581
  update: z$1.ZodNullable<z$1.ZodObject<{
2582
2582
  items: z$1.ZodArray<z$1.ZodObject<{
@@ -2590,9 +2590,9 @@ declare const apiOperations: {
2590
2590
  quantity: z$1.ZodNumber;
2591
2591
  }, z$1.core.$strict>>>;
2592
2592
  prorationBehavior: z$1.ZodOptional<z$1.ZodEnum<{
2593
+ none: "none";
2593
2594
  always_invoice: "always_invoice";
2594
2595
  create_prorations: "create_prorations";
2595
- none: "none";
2596
2596
  }>>;
2597
2597
  prorationDate: z$1.ZodOptional<z$1.ZodNumber>;
2598
2598
  paymentBehavior: z$1.ZodOptional<z$1.ZodLiteral<"error_if_incomplete">>;
@@ -2661,20 +2661,20 @@ declare const apiOperations: {
2661
2661
  scope: z$1.ZodObject<{
2662
2662
  projectId: z$1.ZodString;
2663
2663
  environment: z$1.ZodEnum<{
2664
- sandbox: "sandbox";
2665
2664
  live: "live";
2665
+ sandbox: "sandbox";
2666
2666
  }>;
2667
2667
  }, z$1.core.$strict>;
2668
2668
  batch: z$1.ZodObject<{
2669
2669
  batchId: z$1.ZodUUID;
2670
2670
  ready: z$1.ZodBoolean;
2671
2671
  status: z$1.ZodEnum<{
2672
+ expired: "expired";
2672
2673
  pending: "pending";
2673
- cancelled: "cancelled";
2674
2674
  prepared: "prepared";
2675
- expired: "expired";
2676
- partial: "partial";
2677
2675
  effective: "effective";
2676
+ cancelled: "cancelled";
2677
+ partial: "partial";
2678
2678
  action_required: "action_required";
2679
2679
  }>;
2680
2680
  createdAt: z$1.ZodISODateTime;
@@ -2696,13 +2696,13 @@ declare const apiOperations: {
2696
2696
  renewal: "renewal";
2697
2697
  }>;
2698
2698
  status: z$1.ZodEnum<{
2699
+ scheduled: "scheduled";
2699
2700
  pending: "pending";
2700
- cancelled: "cancelled";
2701
2701
  failed: "failed";
2702
2702
  prepared: "prepared";
2703
2703
  effective: "effective";
2704
2704
  confirmed: "confirmed";
2705
- scheduled: "scheduled";
2705
+ cancelled: "cancelled";
2706
2706
  store_action_required: "store_action_required";
2707
2707
  }>;
2708
2708
  quote: z$1.ZodNullable<z$1.ZodObject<{
@@ -2768,16 +2768,16 @@ declare const apiOperations: {
2768
2768
  provider: z$1.ZodLiteral<"stripe">;
2769
2769
  invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
2770
2770
  executor: z$1.ZodEnum<{
2771
- merchant: "merchant";
2772
2771
  indiana: "indiana";
2772
+ merchant: "merchant";
2773
2773
  }>;
2774
2774
  accountId: z$1.ZodString;
2775
2775
  subscriptionId: z$1.ZodString;
2776
2776
  action: z$1.ZodEnum<{
2777
- update: "update";
2778
2777
  cancel: "cancel";
2779
- schedule: "schedule";
2778
+ update: "update";
2780
2779
  release: "release";
2780
+ schedule: "schedule";
2781
2781
  }>;
2782
2782
  update: z$1.ZodNullable<z$1.ZodObject<{
2783
2783
  items: z$1.ZodArray<z$1.ZodObject<{
@@ -2791,9 +2791,9 @@ declare const apiOperations: {
2791
2791
  quantity: z$1.ZodNumber;
2792
2792
  }, z$1.core.$strict>>>;
2793
2793
  prorationBehavior: z$1.ZodOptional<z$1.ZodEnum<{
2794
+ none: "none";
2794
2795
  always_invoice: "always_invoice";
2795
2796
  create_prorations: "create_prorations";
2796
- none: "none";
2797
2797
  }>>;
2798
2798
  prorationDate: z$1.ZodOptional<z$1.ZodNumber>;
2799
2799
  paymentBehavior: z$1.ZodOptional<z$1.ZodLiteral<"error_if_incomplete">>;
@@ -2880,16 +2880,16 @@ declare const apiOperations: {
2880
2880
  scope: z$1.ZodObject<{
2881
2881
  projectId: z$1.ZodString;
2882
2882
  environment: z$1.ZodEnum<{
2883
- sandbox: "sandbox";
2884
2883
  live: "live";
2884
+ sandbox: "sandbox";
2885
2885
  }>;
2886
2886
  }, z$1.core.$strict>;
2887
2887
  trial: z$1.ZodObject<{
2888
2888
  operationId: z$1.ZodUUID;
2889
2889
  action: z$1.ZodEnum<{
2890
2890
  start: "start";
2891
- extend: "extend";
2892
2891
  end: "end";
2892
+ extend: "extend";
2893
2893
  }>;
2894
2894
  status: z$1.ZodEnum<{
2895
2895
  pending: "pending";
@@ -2904,8 +2904,8 @@ declare const apiOperations: {
2904
2904
  execution: z$1.ZodNullable<z$1.ZodObject<{
2905
2905
  provider: z$1.ZodLiteral<"stripe">;
2906
2906
  executor: z$1.ZodEnum<{
2907
- merchant: "merchant";
2908
2907
  indiana: "indiana";
2908
+ merchant: "merchant";
2909
2909
  }>;
2910
2910
  accountId: z$1.ZodString;
2911
2911
  subscriptionId: z$1.ZodString;
@@ -2929,16 +2929,16 @@ declare const apiOperations: {
2929
2929
  scope: z$1.ZodObject<{
2930
2930
  projectId: z$1.ZodString;
2931
2931
  environment: z$1.ZodEnum<{
2932
- sandbox: "sandbox";
2933
2932
  live: "live";
2933
+ sandbox: "sandbox";
2934
2934
  }>;
2935
2935
  }, z$1.core.$strict>;
2936
2936
  trial: z$1.ZodObject<{
2937
2937
  operationId: z$1.ZodUUID;
2938
2938
  action: z$1.ZodEnum<{
2939
2939
  start: "start";
2940
- extend: "extend";
2941
2940
  end: "end";
2941
+ extend: "extend";
2942
2942
  }>;
2943
2943
  status: z$1.ZodEnum<{
2944
2944
  pending: "pending";
@@ -2953,8 +2953,8 @@ declare const apiOperations: {
2953
2953
  execution: z$1.ZodNullable<z$1.ZodObject<{
2954
2954
  provider: z$1.ZodLiteral<"stripe">;
2955
2955
  executor: z$1.ZodEnum<{
2956
- merchant: "merchant";
2957
2956
  indiana: "indiana";
2957
+ merchant: "merchant";
2958
2958
  }>;
2959
2959
  accountId: z$1.ZodString;
2960
2960
  subscriptionId: z$1.ZodString;
@@ -2974,17 +2974,17 @@ declare const apiOperations: {
2974
2974
  entityId: z$1.ZodOptional<z$1.ZodUUID>;
2975
2975
  productId: z$1.ZodOptional<z$1.ZodString>;
2976
2976
  provider: z$1.ZodOptional<z$1.ZodEnum<{
2977
+ free: "free";
2977
2978
  apple: "apple";
2978
2979
  google: "google";
2979
2980
  stripe: "stripe";
2980
- free: "free";
2981
2981
  }>>;
2982
2982
  status: z$1.ZodOptional<z$1.ZodEnum<{
2983
- active: "active";
2984
- refunded: "refunded";
2983
+ ended: "ended";
2985
2984
  trial: "trial";
2985
+ active: "active";
2986
2986
  past_due: "past_due";
2987
- ended: "ended";
2987
+ refunded: "refunded";
2988
2988
  }>>;
2989
2989
  cursor: z$1.ZodOptional<z$1.ZodObject<{
2990
2990
  createdAt: z$1.ZodISODateTime;
@@ -2997,17 +2997,17 @@ declare const apiOperations: {
2997
2997
  scope: z$1.ZodObject<{
2998
2998
  projectId: z$1.ZodString;
2999
2999
  environment: z$1.ZodEnum<{
3000
- sandbox: "sandbox";
3001
3000
  live: "live";
3001
+ sandbox: "sandbox";
3002
3002
  }>;
3003
3003
  }, z$1.core.$strict>;
3004
3004
  subscriptions: z$1.ZodObject<{
3005
3005
  items: z$1.ZodArray<z$1.ZodObject<{
3006
3006
  status: z$1.ZodEnum<{
3007
- active: "active";
3007
+ ended: "ended";
3008
3008
  trial: "trial";
3009
+ active: "active";
3009
3010
  past_due: "past_due";
3010
- ended: "ended";
3011
3011
  }>;
3012
3012
  cancelAtPeriodEnd: z$1.ZodBoolean;
3013
3013
  billingSubscriptionId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -3018,10 +3018,10 @@ declare const apiOperations: {
3018
3018
  productVersionId: z$1.ZodUUID;
3019
3019
  name: z$1.ZodString;
3020
3020
  provider: z$1.ZodEnum<{
3021
+ free: "free";
3021
3022
  apple: "apple";
3022
3023
  google: "google";
3023
3024
  stripe: "stripe";
3024
- free: "free";
3025
3025
  }>;
3026
3026
  createdAt: z$1.ZodISODateTime;
3027
3027
  }, z$1.core.$strict>>;
@@ -3042,17 +3042,17 @@ declare const apiOperations: {
3042
3042
  entityId: z$1.ZodOptional<z$1.ZodUUID>;
3043
3043
  productId: z$1.ZodOptional<z$1.ZodString>;
3044
3044
  provider: z$1.ZodOptional<z$1.ZodEnum<{
3045
+ free: "free";
3045
3046
  apple: "apple";
3046
3047
  google: "google";
3047
3048
  stripe: "stripe";
3048
- free: "free";
3049
3049
  }>>;
3050
3050
  status: z$1.ZodOptional<z$1.ZodEnum<{
3051
- active: "active";
3052
- refunded: "refunded";
3051
+ ended: "ended";
3053
3052
  trial: "trial";
3053
+ active: "active";
3054
3054
  past_due: "past_due";
3055
- ended: "ended";
3055
+ refunded: "refunded";
3056
3056
  }>>;
3057
3057
  cursor: z$1.ZodOptional<z$1.ZodObject<{
3058
3058
  createdAt: z$1.ZodISODateTime;
@@ -3065,16 +3065,16 @@ declare const apiOperations: {
3065
3065
  scope: z$1.ZodObject<{
3066
3066
  projectId: z$1.ZodString;
3067
3067
  environment: z$1.ZodEnum<{
3068
- sandbox: "sandbox";
3069
3068
  live: "live";
3069
+ sandbox: "sandbox";
3070
3070
  }>;
3071
3071
  }, z$1.core.$strict>;
3072
3072
  purchases: z$1.ZodObject<{
3073
3073
  items: z$1.ZodArray<z$1.ZodObject<{
3074
3074
  status: z$1.ZodEnum<{
3075
+ ended: "ended";
3075
3076
  active: "active";
3076
3077
  refunded: "refunded";
3077
- ended: "ended";
3078
3078
  }>;
3079
3079
  orderId: z$1.ZodNullable<z$1.ZodUUID>;
3080
3080
  transactionId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -3121,10 +3121,10 @@ declare const apiOperations: {
3121
3121
  productVersionId: z$1.ZodUUID;
3122
3122
  name: z$1.ZodString;
3123
3123
  provider: z$1.ZodEnum<{
3124
+ free: "free";
3124
3125
  apple: "apple";
3125
3126
  google: "google";
3126
3127
  stripe: "stripe";
3127
- free: "free";
3128
3128
  }>;
3129
3129
  createdAt: z$1.ZodISODateTime;
3130
3130
  }, z$1.core.$strict>>;
@@ -3145,10 +3145,10 @@ declare const apiOperations: {
3145
3145
  entityId: z$1.ZodOptional<z$1.ZodUUID>;
3146
3146
  productId: z$1.ZodOptional<z$1.ZodString>;
3147
3147
  provider: z$1.ZodOptional<z$1.ZodEnum<{
3148
+ free: "free";
3148
3149
  apple: "apple";
3149
3150
  google: "google";
3150
3151
  stripe: "stripe";
3151
- free: "free";
3152
3152
  }>>;
3153
3153
  cursor: z$1.ZodOptional<z$1.ZodObject<{
3154
3154
  createdAt: z$1.ZodISODateTime;
@@ -3165,8 +3165,8 @@ declare const apiOperations: {
3165
3165
  scope: z$1.ZodObject<{
3166
3166
  projectId: z$1.ZodString;
3167
3167
  environment: z$1.ZodEnum<{
3168
- sandbox: "sandbox";
3169
3168
  live: "live";
3169
+ sandbox: "sandbox";
3170
3170
  }>;
3171
3171
  }, z$1.core.$strict>;
3172
3172
  conflicts: z$1.ZodObject<{
@@ -3188,10 +3188,10 @@ declare const apiOperations: {
3188
3188
  productVersionId: z$1.ZodUUID;
3189
3189
  name: z$1.ZodString;
3190
3190
  provider: z$1.ZodEnum<{
3191
+ free: "free";
3191
3192
  apple: "apple";
3192
3193
  google: "google";
3193
3194
  stripe: "stripe";
3194
- free: "free";
3195
3195
  }>;
3196
3196
  createdAt: z$1.ZodISODateTime;
3197
3197
  }, z$1.core.$strict>>;
@@ -3216,8 +3216,8 @@ declare const apiOperations: {
3216
3216
  scope: z$1.ZodObject<{
3217
3217
  projectId: z$1.ZodString;
3218
3218
  environment: z$1.ZodEnum<{
3219
- sandbox: "sandbox";
3220
3219
  live: "live";
3220
+ sandbox: "sandbox";
3221
3221
  }>;
3222
3222
  }, z$1.core.$strict>;
3223
3223
  resolution: z$1.ZodObject<{
@@ -3242,8 +3242,8 @@ declare const apiOperations: {
3242
3242
  scope: z$1.ZodObject<{
3243
3243
  projectId: z$1.ZodString;
3244
3244
  environment: z$1.ZodEnum<{
3245
- sandbox: "sandbox";
3246
3245
  live: "live";
3246
+ sandbox: "sandbox";
3247
3247
  }>;
3248
3248
  }, z$1.core.$strict>;
3249
3249
  verification: z$1.ZodObject<{
@@ -3260,17 +3260,17 @@ declare const apiOperations: {
3260
3260
  subscriptionId: z$1.ZodString;
3261
3261
  itemId: z$1.ZodNullable<z$1.ZodString>;
3262
3262
  field: z$1.ZodEnum<{
3263
- status: "status";
3264
- currency: "currency";
3265
3263
  quantity: "quantity";
3266
- periodStart: "periodStart";
3267
- periodEnd: "periodEnd";
3264
+ currency: "currency";
3268
3265
  price: "price";
3266
+ product: "product";
3267
+ status: "status";
3268
+ subscription: "subscription";
3269
3269
  cancelAtPeriodEnd: "cancelAtPeriodEnd";
3270
3270
  trialEnd: "trialEnd";
3271
- subscription: "subscription";
3272
3271
  item: "item";
3273
- product: "product";
3272
+ periodStart: "periodStart";
3273
+ periodEnd: "periodEnd";
3274
3274
  evidence: "evidence";
3275
3275
  }>;
3276
3276
  expected: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean, z$1.ZodNull]>;
@@ -3286,6 +3286,7 @@ declare const apiOperations: {
3286
3286
  readonly audience: "mixed";
3287
3287
  readonly request: z$1.ZodObject<{
3288
3288
  requestId: z$1.ZodUUID;
3289
+ predecessorOperationId: z$1.ZodOptional<z$1.ZodUUID>;
3289
3290
  invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
3290
3291
  entityId: z$1.ZodOptional<z$1.ZodUUID>;
3291
3292
  billingSubscriptionId: z$1.ZodOptional<z$1.ZodUUID>;
@@ -3347,14 +3348,16 @@ declare const apiOperations: {
3347
3348
  RON: "RON";
3348
3349
  }>;
3349
3350
  customerId: z$1.ZodOptional<z$1.ZodUUID>;
3351
+ funnelId: z$1.ZodOptional<z$1.ZodUUID>;
3352
+ funnelVersionId: z$1.ZodOptional<z$1.ZodUUID>;
3350
3353
  }, z$1.core.$strict>;
3351
3354
  readonly response: z$1.ZodObject<{
3352
3355
  requestId: z$1.ZodUUID;
3353
3356
  scope: z$1.ZodObject<{
3354
3357
  projectId: z$1.ZodString;
3355
3358
  environment: z$1.ZodEnum<{
3356
- sandbox: "sandbox";
3357
3359
  live: "live";
3360
+ sandbox: "sandbox";
3358
3361
  }>;
3359
3362
  }, z$1.core.$strict>;
3360
3363
  quote: z$1.ZodObject<{
@@ -3485,10 +3488,10 @@ declare const apiOperations: {
3485
3488
  productVersionId: z$1.ZodUUID;
3486
3489
  productName: z$1.ZodString;
3487
3490
  interval: z$1.ZodEnum<{
3491
+ free: "free";
3488
3492
  week: "week";
3489
3493
  month: "month";
3490
3494
  year: "year";
3491
- free: "free";
3492
3495
  one_time: "one_time";
3493
3496
  }>;
3494
3497
  intervalCount: z$1.ZodOptional<z$1.ZodNumber>;
@@ -3605,8 +3608,8 @@ declare const apiOperations: {
3605
3608
  }, z$1.core.$strict>>;
3606
3609
  provider: z$1.ZodLiteral<"stripe">;
3607
3610
  executor: z$1.ZodEnum<{
3608
- merchant: "merchant";
3609
3611
  indiana: "indiana";
3612
+ merchant: "merchant";
3610
3613
  }>;
3611
3614
  accountId: z$1.ZodString;
3612
3615
  mode: z$1.ZodEnum<{
@@ -3652,9 +3655,9 @@ declare const apiOperations: {
3652
3655
  amount_off: z$1.ZodOptional<z$1.ZodNumber>;
3653
3656
  currency: z$1.ZodOptional<z$1.ZodString>;
3654
3657
  duration: z$1.ZodEnum<{
3658
+ forever: "forever";
3655
3659
  once: "once";
3656
3660
  repeating: "repeating";
3657
- forever: "forever";
3658
3661
  }>;
3659
3662
  duration_in_months: z$1.ZodOptional<z$1.ZodNumber>;
3660
3663
  }, z$1.core.$strict>;
@@ -3678,8 +3681,8 @@ declare const apiOperations: {
3678
3681
  operationId: z$1.ZodUUID;
3679
3682
  customerId: z$1.ZodOptional<z$1.ZodUUID>;
3680
3683
  intent: z$1.ZodOptional<z$1.ZodEnum<{
3681
- cancel: "cancel";
3682
3684
  confirm: "confirm";
3685
+ cancel: "cancel";
3683
3686
  }>>;
3684
3687
  }, z$1.core.$strict>;
3685
3688
  readonly response: z$1.ZodObject<{
@@ -3687,8 +3690,8 @@ declare const apiOperations: {
3687
3690
  scope: z$1.ZodObject<{
3688
3691
  projectId: z$1.ZodString;
3689
3692
  environment: z$1.ZodEnum<{
3690
- sandbox: "sandbox";
3691
3693
  live: "live";
3694
+ sandbox: "sandbox";
3692
3695
  }>;
3693
3696
  }, z$1.core.$strict>;
3694
3697
  operation: z$1.ZodObject<{
@@ -3697,14 +3700,14 @@ declare const apiOperations: {
3697
3700
  append: z$1.ZodOptional<z$1.ZodBoolean>;
3698
3701
  invoiceMode: z$1.ZodOptional<z$1.ZodBoolean>;
3699
3702
  status: z$1.ZodEnum<{
3700
- complete: "complete";
3701
3703
  pending: "pending";
3702
- cancelled: "cancelled";
3703
3704
  failed: "failed";
3705
+ complete: "complete";
3706
+ cancelled: "cancelled";
3704
3707
  }>;
3705
3708
  executor: z$1.ZodEnum<{
3706
- merchant: "merchant";
3707
3709
  indiana: "indiana";
3710
+ merchant: "merchant";
3708
3711
  }>;
3709
3712
  checkoutUrl: z$1.ZodNullable<z$1.ZodURL>;
3710
3713
  execution: z$1.ZodNullable<z$1.ZodObject<{
@@ -3730,8 +3733,8 @@ declare const apiOperations: {
3730
3733
  }, z$1.core.$strict>>;
3731
3734
  provider: z$1.ZodLiteral<"stripe">;
3732
3735
  executor: z$1.ZodEnum<{
3733
- merchant: "merchant";
3734
3736
  indiana: "indiana";
3737
+ merchant: "merchant";
3735
3738
  }>;
3736
3739
  accountId: z$1.ZodString;
3737
3740
  mode: z$1.ZodEnum<{
@@ -3777,9 +3780,9 @@ declare const apiOperations: {
3777
3780
  amount_off: z$1.ZodOptional<z$1.ZodNumber>;
3778
3781
  currency: z$1.ZodOptional<z$1.ZodString>;
3779
3782
  duration: z$1.ZodEnum<{
3783
+ forever: "forever";
3780
3784
  once: "once";
3781
3785
  repeating: "repeating";
3782
- forever: "forever";
3783
3786
  }>;
3784
3787
  duration_in_months: z$1.ZodOptional<z$1.ZodNumber>;
3785
3788
  }, z$1.core.$strict>;
@@ -3841,8 +3844,8 @@ declare const apiOperations: {
3841
3844
  }>;
3842
3845
  productId: z$1.ZodString;
3843
3846
  productKind: z$1.ZodEnum<{
3844
- lifetime: "lifetime";
3845
3847
  membership: "membership";
3848
+ lifetime: "lifetime";
3846
3849
  credit_pack: "credit_pack";
3847
3850
  }>;
3848
3851
  replacement: z$1.ZodNullable<z$1.ZodObject<{
@@ -3931,8 +3934,8 @@ declare const apiOperations: {
3931
3934
  scope: z$1.ZodObject<{
3932
3935
  projectId: z$1.ZodString;
3933
3936
  environment: z$1.ZodEnum<{
3934
- sandbox: "sandbox";
3935
3937
  live: "live";
3938
+ sandbox: "sandbox";
3936
3939
  }>;
3937
3940
  }, z$1.core.$strict>;
3938
3941
  operation: z$1.ZodObject<{
@@ -3941,14 +3944,14 @@ declare const apiOperations: {
3941
3944
  append: z$1.ZodOptional<z$1.ZodBoolean>;
3942
3945
  invoiceMode: z$1.ZodOptional<z$1.ZodBoolean>;
3943
3946
  status: z$1.ZodEnum<{
3944
- complete: "complete";
3945
3947
  pending: "pending";
3946
- cancelled: "cancelled";
3947
3948
  failed: "failed";
3949
+ complete: "complete";
3950
+ cancelled: "cancelled";
3948
3951
  }>;
3949
3952
  executor: z$1.ZodEnum<{
3950
- merchant: "merchant";
3951
3953
  indiana: "indiana";
3954
+ merchant: "merchant";
3952
3955
  }>;
3953
3956
  checkoutUrl: z$1.ZodNullable<z$1.ZodURL>;
3954
3957
  execution: z$1.ZodNullable<z$1.ZodObject<{
@@ -3974,8 +3977,8 @@ declare const apiOperations: {
3974
3977
  }, z$1.core.$strict>>;
3975
3978
  provider: z$1.ZodLiteral<"stripe">;
3976
3979
  executor: z$1.ZodEnum<{
3977
- merchant: "merchant";
3978
3980
  indiana: "indiana";
3981
+ merchant: "merchant";
3979
3982
  }>;
3980
3983
  accountId: z$1.ZodString;
3981
3984
  mode: z$1.ZodEnum<{
@@ -4021,9 +4024,9 @@ declare const apiOperations: {
4021
4024
  amount_off: z$1.ZodOptional<z$1.ZodNumber>;
4022
4025
  currency: z$1.ZodOptional<z$1.ZodString>;
4023
4026
  duration: z$1.ZodEnum<{
4027
+ forever: "forever";
4024
4028
  once: "once";
4025
4029
  repeating: "repeating";
4026
- forever: "forever";
4027
4030
  }>;
4028
4031
  duration_in_months: z$1.ZodOptional<z$1.ZodNumber>;
4029
4032
  }, z$1.core.$strict>;
@@ -4085,8 +4088,8 @@ declare const apiOperations: {
4085
4088
  }>;
4086
4089
  productId: z$1.ZodString;
4087
4090
  productKind: z$1.ZodEnum<{
4088
- lifetime: "lifetime";
4089
4091
  membership: "membership";
4092
+ lifetime: "lifetime";
4090
4093
  credit_pack: "credit_pack";
4091
4094
  }>;
4092
4095
  replacement: z$1.ZodNullable<z$1.ZodObject<{
@@ -4215,8 +4218,8 @@ declare const apiOperations: {
4215
4218
  scope: z$1.ZodObject<{
4216
4219
  projectId: z$1.ZodString;
4217
4220
  environment: z$1.ZodEnum<{
4218
- sandbox: "sandbox";
4219
4221
  live: "live";
4222
+ sandbox: "sandbox";
4220
4223
  }>;
4221
4224
  }, z$1.core.$strict>;
4222
4225
  quote: z$1.ZodUnion<readonly [z$1.ZodObject<{
@@ -4282,16 +4285,16 @@ declare const apiOperations: {
4282
4285
  provider: z$1.ZodLiteral<"stripe">;
4283
4286
  invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
4284
4287
  executor: z$1.ZodEnum<{
4285
- merchant: "merchant";
4286
4288
  indiana: "indiana";
4289
+ merchant: "merchant";
4287
4290
  }>;
4288
4291
  accountId: z$1.ZodString;
4289
4292
  subscriptionId: z$1.ZodString;
4290
4293
  action: z$1.ZodEnum<{
4291
- update: "update";
4292
4294
  cancel: "cancel";
4293
- schedule: "schedule";
4295
+ update: "update";
4294
4296
  release: "release";
4297
+ schedule: "schedule";
4295
4298
  }>;
4296
4299
  update: z$1.ZodNullable<z$1.ZodObject<{
4297
4300
  items: z$1.ZodArray<z$1.ZodObject<{
@@ -4305,9 +4308,9 @@ declare const apiOperations: {
4305
4308
  quantity: z$1.ZodNumber;
4306
4309
  }, z$1.core.$strict>>>;
4307
4310
  prorationBehavior: z$1.ZodOptional<z$1.ZodEnum<{
4311
+ none: "none";
4308
4312
  always_invoice: "always_invoice";
4309
4313
  create_prorations: "create_prorations";
4310
- none: "none";
4311
4314
  }>>;
4312
4315
  prorationDate: z$1.ZodOptional<z$1.ZodNumber>;
4313
4316
  paymentBehavior: z$1.ZodOptional<z$1.ZodLiteral<"error_if_incomplete">>;
@@ -4423,8 +4426,8 @@ declare const apiOperations: {
4423
4426
  operationId: z$1.ZodUUID;
4424
4427
  customerId: z$1.ZodOptional<z$1.ZodUUID>;
4425
4428
  intent: z$1.ZodOptional<z$1.ZodEnum<{
4426
- cancel: "cancel";
4427
4429
  confirm: "confirm";
4430
+ cancel: "cancel";
4428
4431
  }>>;
4429
4432
  }, z$1.core.$strict>;
4430
4433
  readonly response: z$1.ZodObject<{
@@ -4432,8 +4435,8 @@ declare const apiOperations: {
4432
4435
  scope: z$1.ZodObject<{
4433
4436
  projectId: z$1.ZodString;
4434
4437
  environment: z$1.ZodEnum<{
4435
- sandbox: "sandbox";
4436
4438
  live: "live";
4439
+ sandbox: "sandbox";
4437
4440
  }>;
4438
4441
  }, z$1.core.$strict>;
4439
4442
  operation: z$1.ZodUnion<readonly [z$1.ZodObject<{
@@ -4442,14 +4445,14 @@ declare const apiOperations: {
4442
4445
  membershipId: z$1.ZodUUID;
4443
4446
  productVersionId: z$1.ZodUUID;
4444
4447
  status: z$1.ZodEnum<{
4448
+ scheduled: "scheduled";
4445
4449
  pending: "pending";
4446
- cancelled: "cancelled";
4447
4450
  failed: "failed";
4448
4451
  prepared: "prepared";
4449
4452
  effective: "effective";
4450
4453
  confirmed: "confirmed";
4451
- scheduled: "scheduled";
4452
4454
  quoted: "quoted";
4455
+ cancelled: "cancelled";
4453
4456
  }>;
4454
4457
  timing: z$1.ZodEnum<{
4455
4458
  immediate: "immediate";
@@ -4458,23 +4461,23 @@ declare const apiOperations: {
4458
4461
  effectiveAt: z$1.ZodISODateTime;
4459
4462
  checkoutUrl: z$1.ZodNullable<z$1.ZodURL>;
4460
4463
  executor: z$1.ZodEnum<{
4461
- merchant: "merchant";
4462
4464
  indiana: "indiana";
4465
+ merchant: "merchant";
4463
4466
  }>;
4464
4467
  execution: z$1.ZodNullable<z$1.ZodObject<{
4465
4468
  provider: z$1.ZodLiteral<"stripe">;
4466
4469
  invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
4467
4470
  executor: z$1.ZodEnum<{
4468
- merchant: "merchant";
4469
4471
  indiana: "indiana";
4472
+ merchant: "merchant";
4470
4473
  }>;
4471
4474
  accountId: z$1.ZodString;
4472
4475
  subscriptionId: z$1.ZodString;
4473
4476
  action: z$1.ZodEnum<{
4474
- update: "update";
4475
4477
  cancel: "cancel";
4476
- schedule: "schedule";
4478
+ update: "update";
4477
4479
  release: "release";
4480
+ schedule: "schedule";
4478
4481
  }>;
4479
4482
  update: z$1.ZodNullable<z$1.ZodObject<{
4480
4483
  items: z$1.ZodArray<z$1.ZodObject<{
@@ -4488,9 +4491,9 @@ declare const apiOperations: {
4488
4491
  quantity: z$1.ZodNumber;
4489
4492
  }, z$1.core.$strict>>>;
4490
4493
  prorationBehavior: z$1.ZodOptional<z$1.ZodEnum<{
4494
+ none: "none";
4491
4495
  always_invoice: "always_invoice";
4492
4496
  create_prorations: "create_prorations";
4493
- none: "none";
4494
4497
  }>>;
4495
4498
  prorationDate: z$1.ZodOptional<z$1.ZodNumber>;
4496
4499
  paymentBehavior: z$1.ZodOptional<z$1.ZodLiteral<"error_if_incomplete">>;
@@ -4540,10 +4543,10 @@ declare const apiOperations: {
4540
4543
  productVersionId: z$1.ZodUUID;
4541
4544
  status: z$1.ZodEnum<{
4542
4545
  pending: "pending";
4543
- cancelled: "cancelled";
4544
4546
  failed: "failed";
4545
4547
  prepared: "prepared";
4546
4548
  effective: "effective";
4549
+ cancelled: "cancelled";
4547
4550
  }>;
4548
4551
  timing: z$1.ZodLiteral<"store">;
4549
4552
  effectiveAt: z$1.ZodNullable<z$1.ZodISODateTime>;
@@ -4559,8 +4562,8 @@ declare const apiOperations: {
4559
4562
  }>;
4560
4563
  productId: z$1.ZodString;
4561
4564
  productKind: z$1.ZodEnum<{
4562
- lifetime: "lifetime";
4563
4565
  membership: "membership";
4566
+ lifetime: "lifetime";
4564
4567
  credit_pack: "credit_pack";
4565
4568
  }>;
4566
4569
  replacement: z$1.ZodNullable<z$1.ZodObject<{
@@ -4649,8 +4652,8 @@ declare const apiOperations: {
4649
4652
  scope: z$1.ZodObject<{
4650
4653
  projectId: z$1.ZodString;
4651
4654
  environment: z$1.ZodEnum<{
4652
- sandbox: "sandbox";
4653
4655
  live: "live";
4656
+ sandbox: "sandbox";
4654
4657
  }>;
4655
4658
  }, z$1.core.$strict>;
4656
4659
  operation: z$1.ZodUnion<readonly [z$1.ZodObject<{
@@ -4659,14 +4662,14 @@ declare const apiOperations: {
4659
4662
  membershipId: z$1.ZodUUID;
4660
4663
  productVersionId: z$1.ZodUUID;
4661
4664
  status: z$1.ZodEnum<{
4665
+ scheduled: "scheduled";
4662
4666
  pending: "pending";
4663
- cancelled: "cancelled";
4664
4667
  failed: "failed";
4665
4668
  prepared: "prepared";
4666
4669
  effective: "effective";
4667
4670
  confirmed: "confirmed";
4668
- scheduled: "scheduled";
4669
4671
  quoted: "quoted";
4672
+ cancelled: "cancelled";
4670
4673
  }>;
4671
4674
  timing: z$1.ZodEnum<{
4672
4675
  immediate: "immediate";
@@ -4675,23 +4678,23 @@ declare const apiOperations: {
4675
4678
  effectiveAt: z$1.ZodISODateTime;
4676
4679
  checkoutUrl: z$1.ZodNullable<z$1.ZodURL>;
4677
4680
  executor: z$1.ZodEnum<{
4678
- merchant: "merchant";
4679
4681
  indiana: "indiana";
4682
+ merchant: "merchant";
4680
4683
  }>;
4681
4684
  execution: z$1.ZodNullable<z$1.ZodObject<{
4682
4685
  provider: z$1.ZodLiteral<"stripe">;
4683
4686
  invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
4684
4687
  executor: z$1.ZodEnum<{
4685
- merchant: "merchant";
4686
4688
  indiana: "indiana";
4689
+ merchant: "merchant";
4687
4690
  }>;
4688
4691
  accountId: z$1.ZodString;
4689
4692
  subscriptionId: z$1.ZodString;
4690
4693
  action: z$1.ZodEnum<{
4691
- update: "update";
4692
4694
  cancel: "cancel";
4693
- schedule: "schedule";
4695
+ update: "update";
4694
4696
  release: "release";
4697
+ schedule: "schedule";
4695
4698
  }>;
4696
4699
  update: z$1.ZodNullable<z$1.ZodObject<{
4697
4700
  items: z$1.ZodArray<z$1.ZodObject<{
@@ -4705,9 +4708,9 @@ declare const apiOperations: {
4705
4708
  quantity: z$1.ZodNumber;
4706
4709
  }, z$1.core.$strict>>>;
4707
4710
  prorationBehavior: z$1.ZodOptional<z$1.ZodEnum<{
4711
+ none: "none";
4708
4712
  always_invoice: "always_invoice";
4709
4713
  create_prorations: "create_prorations";
4710
- none: "none";
4711
4714
  }>>;
4712
4715
  prorationDate: z$1.ZodOptional<z$1.ZodNumber>;
4713
4716
  paymentBehavior: z$1.ZodOptional<z$1.ZodLiteral<"error_if_incomplete">>;
@@ -4757,10 +4760,10 @@ declare const apiOperations: {
4757
4760
  productVersionId: z$1.ZodUUID;
4758
4761
  status: z$1.ZodEnum<{
4759
4762
  pending: "pending";
4760
- cancelled: "cancelled";
4761
4763
  failed: "failed";
4762
4764
  prepared: "prepared";
4763
4765
  effective: "effective";
4766
+ cancelled: "cancelled";
4764
4767
  }>;
4765
4768
  timing: z$1.ZodLiteral<"store">;
4766
4769
  effectiveAt: z$1.ZodNullable<z$1.ZodISODateTime>;
@@ -4776,8 +4779,8 @@ declare const apiOperations: {
4776
4779
  }>;
4777
4780
  productId: z$1.ZodString;
4778
4781
  productKind: z$1.ZodEnum<{
4779
- lifetime: "lifetime";
4780
4782
  membership: "membership";
4783
+ lifetime: "lifetime";
4781
4784
  credit_pack: "credit_pack";
4782
4785
  }>;
4783
4786
  replacement: z$1.ZodNullable<z$1.ZodObject<{
@@ -4861,8 +4864,8 @@ declare const apiOperations: {
4861
4864
  requestId: z$1.ZodUUID;
4862
4865
  invoiceId: z$1.ZodUUID;
4863
4866
  mode: z$1.ZodEnum<{
4864
- partial: "partial";
4865
4867
  full: "full";
4868
+ partial: "partial";
4866
4869
  }>;
4867
4870
  amountMinor: z$1.ZodOptional<z$1.ZodNumber>;
4868
4871
  entitlementAction: z$1.ZodEnum<{
@@ -4876,8 +4879,8 @@ declare const apiOperations: {
4876
4879
  scope: z$1.ZodObject<{
4877
4880
  projectId: z$1.ZodString;
4878
4881
  environment: z$1.ZodEnum<{
4879
- sandbox: "sandbox";
4880
4882
  live: "live";
4883
+ sandbox: "sandbox";
4881
4884
  }>;
4882
4885
  }, z$1.core.$strict>;
4883
4886
  quote: z$1.ZodObject<{
@@ -4924,8 +4927,8 @@ declare const apiOperations: {
4924
4927
  pendingMinor: z$1.ZodNumber;
4925
4928
  amountMinor: z$1.ZodNumber;
4926
4929
  mode: z$1.ZodEnum<{
4927
- partial: "partial";
4928
4930
  full: "full";
4931
+ partial: "partial";
4929
4932
  }>;
4930
4933
  entitlementAction: z$1.ZodEnum<{
4931
4934
  revoke: "revoke";
@@ -4938,8 +4941,8 @@ declare const apiOperations: {
4938
4941
  execution: z$1.ZodObject<{
4939
4942
  provider: z$1.ZodLiteral<"stripe">;
4940
4943
  executor: z$1.ZodEnum<{
4941
- merchant: "merchant";
4942
4944
  indiana: "indiana";
4945
+ merchant: "merchant";
4943
4946
  }>;
4944
4947
  accountId: z$1.ZodString;
4945
4948
  invoice: z$1.ZodString;
@@ -4969,8 +4972,8 @@ declare const apiOperations: {
4969
4972
  scope: z$1.ZodObject<{
4970
4973
  projectId: z$1.ZodString;
4971
4974
  environment: z$1.ZodEnum<{
4972
- sandbox: "sandbox";
4973
4975
  live: "live";
4976
+ sandbox: "sandbox";
4974
4977
  }>;
4975
4978
  }, z$1.core.$strict>;
4976
4979
  operation: z$1.ZodObject<{
@@ -4978,15 +4981,15 @@ declare const apiOperations: {
4978
4981
  invoiceId: z$1.ZodUUID;
4979
4982
  providerInvoiceId: z$1.ZodString;
4980
4983
  status: z$1.ZodEnum<{
4984
+ expired: "expired";
4981
4985
  pending: "pending";
4982
4986
  failed: "failed";
4983
- expired: "expired";
4984
4987
  quoted: "quoted";
4985
4988
  succeeded: "succeeded";
4986
4989
  }>;
4987
4990
  executor: z$1.ZodEnum<{
4988
- merchant: "merchant";
4989
4991
  indiana: "indiana";
4992
+ merchant: "merchant";
4990
4993
  }>;
4991
4994
  currency: z$1.ZodEnum<{
4992
4995
  USD: "USD";
@@ -5025,8 +5028,8 @@ declare const apiOperations: {
5025
5028
  }>;
5026
5029
  amountMinor: z$1.ZodNumber;
5027
5030
  mode: z$1.ZodEnum<{
5028
- partial: "partial";
5029
5031
  full: "full";
5032
+ partial: "partial";
5030
5033
  }>;
5031
5034
  entitlementAction: z$1.ZodEnum<{
5032
5035
  revoke: "revoke";
@@ -5036,8 +5039,8 @@ declare const apiOperations: {
5036
5039
  execution: z$1.ZodNullable<z$1.ZodObject<{
5037
5040
  provider: z$1.ZodLiteral<"stripe">;
5038
5041
  executor: z$1.ZodEnum<{
5039
- merchant: "merchant";
5040
5042
  indiana: "indiana";
5043
+ merchant: "merchant";
5041
5044
  }>;
5042
5045
  accountId: z$1.ZodString;
5043
5046
  invoice: z$1.ZodString;
@@ -5069,8 +5072,8 @@ declare const apiOperations: {
5069
5072
  scope: z$1.ZodObject<{
5070
5073
  projectId: z$1.ZodString;
5071
5074
  environment: z$1.ZodEnum<{
5072
- sandbox: "sandbox";
5073
5075
  live: "live";
5076
+ sandbox: "sandbox";
5074
5077
  }>;
5075
5078
  }, z$1.core.$strict>;
5076
5079
  operation: z$1.ZodObject<{
@@ -5078,15 +5081,15 @@ declare const apiOperations: {
5078
5081
  invoiceId: z$1.ZodUUID;
5079
5082
  providerInvoiceId: z$1.ZodString;
5080
5083
  status: z$1.ZodEnum<{
5084
+ expired: "expired";
5081
5085
  pending: "pending";
5082
5086
  failed: "failed";
5083
- expired: "expired";
5084
5087
  quoted: "quoted";
5085
5088
  succeeded: "succeeded";
5086
5089
  }>;
5087
5090
  executor: z$1.ZodEnum<{
5088
- merchant: "merchant";
5089
5091
  indiana: "indiana";
5092
+ merchant: "merchant";
5090
5093
  }>;
5091
5094
  currency: z$1.ZodEnum<{
5092
5095
  USD: "USD";
@@ -5125,8 +5128,8 @@ declare const apiOperations: {
5125
5128
  }>;
5126
5129
  amountMinor: z$1.ZodNumber;
5127
5130
  mode: z$1.ZodEnum<{
5128
- partial: "partial";
5129
5131
  full: "full";
5132
+ partial: "partial";
5130
5133
  }>;
5131
5134
  entitlementAction: z$1.ZodEnum<{
5132
5135
  revoke: "revoke";
@@ -5136,8 +5139,8 @@ declare const apiOperations: {
5136
5139
  execution: z$1.ZodNullable<z$1.ZodObject<{
5137
5140
  provider: z$1.ZodLiteral<"stripe">;
5138
5141
  executor: z$1.ZodEnum<{
5139
- merchant: "merchant";
5140
5142
  indiana: "indiana";
5143
+ merchant: "merchant";
5141
5144
  }>;
5142
5145
  accountId: z$1.ZodString;
5143
5146
  invoice: z$1.ZodString;
@@ -5169,8 +5172,8 @@ declare const apiOperations: {
5169
5172
  scope: z$1.ZodObject<{
5170
5173
  projectId: z$1.ZodString;
5171
5174
  environment: z$1.ZodEnum<{
5172
- sandbox: "sandbox";
5173
5175
  live: "live";
5176
+ sandbox: "sandbox";
5174
5177
  }>;
5175
5178
  }, z$1.core.$strict>;
5176
5179
  controls: z$1.ZodObject<{
@@ -5182,10 +5185,10 @@ declare const apiOperations: {
5182
5185
  quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
5183
5186
  purchaseLimit: z$1.ZodOptional<z$1.ZodObject<{
5184
5187
  interval: z$1.ZodEnum<{
5185
- hour: "hour";
5186
- day: "day";
5187
5188
  week: "week";
5188
5189
  month: "month";
5190
+ day: "day";
5191
+ hour: "hour";
5189
5192
  }>;
5190
5193
  intervalCount: z$1.ZodNumber;
5191
5194
  limit: z$1.ZodNumber;
@@ -5350,10 +5353,10 @@ declare const apiOperations: {
5350
5353
  internal_feature_id: z$1.ZodUUID;
5351
5354
  entityId: z$1.ZodNullable<z$1.ZodUUID>;
5352
5355
  interval: z$1.ZodEnum<{
5353
- day: "day";
5354
5356
  week: "week";
5355
5357
  month: "month";
5356
5358
  year: "year";
5359
+ day: "day";
5357
5360
  }>;
5358
5361
  anchor: z$1.ZodOptional<z$1.ZodEnum<{
5359
5362
  billing_cycle: "billing_cycle";
@@ -5378,10 +5381,10 @@ declare const apiOperations: {
5378
5381
  overageLimit: z$1.ZodNullable<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
5379
5382
  skipOverageBilling: z$1.ZodBoolean;
5380
5383
  interval: z$1.ZodEnum<{
5381
- day: "day";
5382
5384
  week: "week";
5383
5385
  month: "month";
5384
5386
  year: "year";
5387
+ day: "day";
5385
5388
  }>;
5386
5389
  startsAt: z$1.ZodISODateTime;
5387
5390
  endsAt: z$1.ZodISODateTime;
@@ -5393,10 +5396,10 @@ declare const apiOperations: {
5393
5396
  internal_feature_id: z$1.ZodUUID;
5394
5397
  entityId: z$1.ZodNullable<z$1.ZodUUID>;
5395
5398
  interval: z$1.ZodEnum<{
5396
- day: "day";
5397
5399
  week: "week";
5398
5400
  month: "month";
5399
5401
  year: "year";
5402
+ day: "day";
5400
5403
  }>;
5401
5404
  anchor: z$1.ZodOptional<z$1.ZodEnum<{
5402
5405
  billing_cycle: "billing_cycle";
@@ -5425,9 +5428,9 @@ declare const apiOperations: {
5425
5428
  autoTopups: z$1.ZodArray<z$1.ZodObject<{
5426
5429
  authorizationId: z$1.ZodUUID;
5427
5430
  status: z$1.ZodEnum<{
5431
+ idle: "idle";
5428
5432
  pending: "pending";
5429
5433
  blocked: "blocked";
5430
- idle: "idle";
5431
5434
  }>;
5432
5435
  taskId: z$1.ZodNullable<z$1.ZodUUID>;
5433
5436
  invoiceId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -5455,10 +5458,10 @@ declare const apiOperations: {
5455
5458
  quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
5456
5459
  purchaseLimit: z$1.ZodOptional<z$1.ZodObject<{
5457
5460
  interval: z$1.ZodEnum<{
5458
- hour: "hour";
5459
- day: "day";
5460
5461
  week: "week";
5461
5462
  month: "month";
5463
+ day: "day";
5464
+ hour: "hour";
5462
5465
  }>;
5463
5466
  intervalCount: z$1.ZodNumber;
5464
5467
  limit: z$1.ZodNumber;
@@ -5549,8 +5552,8 @@ declare const apiOperations: {
5549
5552
  scope: z$1.ZodObject<{
5550
5553
  projectId: z$1.ZodString;
5551
5554
  environment: z$1.ZodEnum<{
5552
- sandbox: "sandbox";
5553
5555
  live: "live";
5556
+ sandbox: "sandbox";
5554
5557
  }>;
5555
5558
  }, z$1.core.$strict>;
5556
5559
  prepared: z$1.ZodObject<{
@@ -5561,10 +5564,10 @@ declare const apiOperations: {
5561
5564
  quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
5562
5565
  purchaseLimit: z$1.ZodOptional<z$1.ZodObject<{
5563
5566
  interval: z$1.ZodEnum<{
5564
- hour: "hour";
5565
- day: "day";
5566
5567
  week: "week";
5567
5568
  month: "month";
5569
+ day: "day";
5570
+ hour: "hour";
5568
5571
  }>;
5569
5572
  intervalCount: z$1.ZodNumber;
5570
5573
  limit: z$1.ZodNumber;
@@ -5732,8 +5735,8 @@ declare const apiOperations: {
5732
5735
  scope: z$1.ZodObject<{
5733
5736
  projectId: z$1.ZodString;
5734
5737
  environment: z$1.ZodEnum<{
5735
- sandbox: "sandbox";
5736
5738
  live: "live";
5739
+ sandbox: "sandbox";
5737
5740
  }>;
5738
5741
  }, z$1.core.$strict>;
5739
5742
  authorization: z$1.ZodObject<{
@@ -5744,10 +5747,10 @@ declare const apiOperations: {
5744
5747
  quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
5745
5748
  purchaseLimit: z$1.ZodOptional<z$1.ZodObject<{
5746
5749
  interval: z$1.ZodEnum<{
5747
- hour: "hour";
5748
- day: "day";
5749
5750
  week: "week";
5750
5751
  month: "month";
5752
+ day: "day";
5753
+ hour: "hour";
5751
5754
  }>;
5752
5755
  intervalCount: z$1.ZodNumber;
5753
5756
  limit: z$1.ZodNumber;
@@ -5925,8 +5928,8 @@ declare const apiOperations: {
5925
5928
  scope: z$1.ZodObject<{
5926
5929
  projectId: z$1.ZodString;
5927
5930
  environment: z$1.ZodEnum<{
5928
- sandbox: "sandbox";
5929
5931
  live: "live";
5932
+ sandbox: "sandbox";
5930
5933
  }>;
5931
5934
  }, z$1.core.$strict>;
5932
5935
  coupons: z$1.ZodObject<{
@@ -5964,9 +5967,9 @@ declare const apiOperations: {
5964
5967
  amount_off: z$1.ZodOptional<z$1.ZodNumber>;
5965
5968
  currency: z$1.ZodOptional<z$1.ZodString>;
5966
5969
  duration: z$1.ZodEnum<{
5970
+ forever: "forever";
5967
5971
  once: "once";
5968
5972
  repeating: "repeating";
5969
- forever: "forever";
5970
5973
  }>;
5971
5974
  duration_in_months: z$1.ZodOptional<z$1.ZodNumber>;
5972
5975
  }, z$1.core.$strict>>;
@@ -6053,8 +6056,8 @@ declare const apiOperations: {
6053
6056
  scope: z$1.ZodObject<{
6054
6057
  projectId: z$1.ZodString;
6055
6058
  environment: z$1.ZodEnum<{
6056
- sandbox: "sandbox";
6057
6059
  live: "live";
6060
+ sandbox: "sandbox";
6058
6061
  }>;
6059
6062
  }, z$1.core.$strict>;
6060
6063
  authorization: z$1.ZodObject<{
@@ -6065,10 +6068,10 @@ declare const apiOperations: {
6065
6068
  quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
6066
6069
  purchaseLimit: z$1.ZodOptional<z$1.ZodObject<{
6067
6070
  interval: z$1.ZodEnum<{
6068
- hour: "hour";
6069
- day: "day";
6070
6071
  week: "week";
6071
6072
  month: "month";
6073
+ day: "day";
6074
+ hour: "hour";
6072
6075
  }>;
6073
6076
  intervalCount: z$1.ZodNumber;
6074
6077
  limit: z$1.ZodNumber;
@@ -6245,26 +6248,26 @@ declare const apiOperations: {
6245
6248
  scope: z$1.ZodObject<{
6246
6249
  projectId: z$1.ZodString;
6247
6250
  environment: z$1.ZodEnum<{
6248
- sandbox: "sandbox";
6249
6251
  live: "live";
6252
+ sandbox: "sandbox";
6250
6253
  }>;
6251
6254
  }, z$1.core.$strict>;
6252
6255
  invoices: z$1.ZodObject<{
6253
6256
  rows: z$1.ZodArray<z$1.ZodObject<{
6254
6257
  id: z$1.ZodUUID;
6255
6258
  sourceKind: z$1.ZodEnum<{
6256
- usage: "usage";
6257
6259
  product: "product";
6260
+ usage: "usage";
6258
6261
  manual: "manual";
6259
6262
  }>;
6260
6263
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
6261
6264
  status: z$1.ZodEnum<{
6262
6265
  void: "void";
6263
6266
  open: "open";
6264
- paid: "paid";
6265
6267
  pending: "pending";
6266
6268
  failed: "failed";
6267
6269
  accruing: "accruing";
6270
+ paid: "paid";
6268
6271
  }>;
6269
6272
  currency: z$1.ZodEnum<{
6270
6273
  USD: "USD";
@@ -6408,25 +6411,25 @@ declare const apiOperations: {
6408
6411
  scope: z$1.ZodObject<{
6409
6412
  projectId: z$1.ZodString;
6410
6413
  environment: z$1.ZodEnum<{
6411
- sandbox: "sandbox";
6412
6414
  live: "live";
6415
+ sandbox: "sandbox";
6413
6416
  }>;
6414
6417
  }, z$1.core.$strict>;
6415
6418
  invoice: z$1.ZodObject<{
6416
6419
  id: z$1.ZodUUID;
6417
6420
  sourceKind: z$1.ZodEnum<{
6418
- usage: "usage";
6419
6421
  product: "product";
6422
+ usage: "usage";
6420
6423
  manual: "manual";
6421
6424
  }>;
6422
6425
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
6423
6426
  status: z$1.ZodEnum<{
6424
6427
  void: "void";
6425
6428
  open: "open";
6426
- paid: "paid";
6427
6429
  pending: "pending";
6428
6430
  failed: "failed";
6429
6431
  accruing: "accruing";
6432
+ paid: "paid";
6430
6433
  }>;
6431
6434
  currency: z$1.ZodEnum<{
6432
6435
  USD: "USD";
@@ -6565,10 +6568,10 @@ declare const apiOperations: {
6565
6568
  internal_feature_id: z$1.ZodUUID;
6566
6569
  entityId: z$1.ZodNullable<z$1.ZodUUID>;
6567
6570
  interval: z$1.ZodEnum<{
6568
- day: "day";
6569
6571
  week: "week";
6570
6572
  month: "month";
6571
6573
  year: "year";
6574
+ day: "day";
6572
6575
  }>;
6573
6576
  anchor: z$1.ZodOptional<z$1.ZodEnum<{
6574
6577
  billing_cycle: "billing_cycle";
@@ -6608,8 +6611,8 @@ declare const apiOperations: {
6608
6611
  scope: z$1.ZodObject<{
6609
6612
  projectId: z$1.ZodString;
6610
6613
  environment: z$1.ZodEnum<{
6611
- sandbox: "sandbox";
6612
6614
  live: "live";
6615
+ sandbox: "sandbox";
6613
6616
  }>;
6614
6617
  }, z$1.core.$strict>;
6615
6618
  controls: z$1.ZodObject<{
@@ -6621,10 +6624,10 @@ declare const apiOperations: {
6621
6624
  quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
6622
6625
  purchaseLimit: z$1.ZodOptional<z$1.ZodObject<{
6623
6626
  interval: z$1.ZodEnum<{
6624
- hour: "hour";
6625
- day: "day";
6626
6627
  week: "week";
6627
6628
  month: "month";
6629
+ day: "day";
6630
+ hour: "hour";
6628
6631
  }>;
6629
6632
  intervalCount: z$1.ZodNumber;
6630
6633
  limit: z$1.ZodNumber;
@@ -6789,10 +6792,10 @@ declare const apiOperations: {
6789
6792
  internal_feature_id: z$1.ZodUUID;
6790
6793
  entityId: z$1.ZodNullable<z$1.ZodUUID>;
6791
6794
  interval: z$1.ZodEnum<{
6792
- day: "day";
6793
6795
  week: "week";
6794
6796
  month: "month";
6795
6797
  year: "year";
6798
+ day: "day";
6796
6799
  }>;
6797
6800
  anchor: z$1.ZodOptional<z$1.ZodEnum<{
6798
6801
  billing_cycle: "billing_cycle";
@@ -6817,10 +6820,10 @@ declare const apiOperations: {
6817
6820
  overageLimit: z$1.ZodNullable<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
6818
6821
  skipOverageBilling: z$1.ZodBoolean;
6819
6822
  interval: z$1.ZodEnum<{
6820
- day: "day";
6821
6823
  week: "week";
6822
6824
  month: "month";
6823
6825
  year: "year";
6826
+ day: "day";
6824
6827
  }>;
6825
6828
  startsAt: z$1.ZodISODateTime;
6826
6829
  endsAt: z$1.ZodISODateTime;
@@ -6832,10 +6835,10 @@ declare const apiOperations: {
6832
6835
  internal_feature_id: z$1.ZodUUID;
6833
6836
  entityId: z$1.ZodNullable<z$1.ZodUUID>;
6834
6837
  interval: z$1.ZodEnum<{
6835
- day: "day";
6836
6838
  week: "week";
6837
6839
  month: "month";
6838
6840
  year: "year";
6841
+ day: "day";
6839
6842
  }>;
6840
6843
  anchor: z$1.ZodOptional<z$1.ZodEnum<{
6841
6844
  billing_cycle: "billing_cycle";
@@ -6864,9 +6867,9 @@ declare const apiOperations: {
6864
6867
  autoTopups: z$1.ZodArray<z$1.ZodObject<{
6865
6868
  authorizationId: z$1.ZodUUID;
6866
6869
  status: z$1.ZodEnum<{
6870
+ idle: "idle";
6867
6871
  pending: "pending";
6868
6872
  blocked: "blocked";
6869
- idle: "idle";
6870
6873
  }>;
6871
6874
  taskId: z$1.ZodNullable<z$1.ZodUUID>;
6872
6875
  invoiceId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -6904,8 +6907,8 @@ declare const apiOperations: {
6904
6907
  scope: z$1.ZodObject<{
6905
6908
  projectId: z$1.ZodString;
6906
6909
  environment: z$1.ZodEnum<{
6907
- sandbox: "sandbox";
6908
6910
  live: "live";
6911
+ sandbox: "sandbox";
6909
6912
  }>;
6910
6913
  }, z$1.core.$strict>;
6911
6914
  entity: z$1.ZodObject<{
@@ -6954,10 +6957,10 @@ declare const apiOperations: {
6954
6957
  values: z$1.ZodArray<z$1.ZodString>;
6955
6958
  }, z$1.core.$strict>>;
6956
6959
  interval: z$1.ZodEnum<{
6957
- hour: "hour";
6958
- day: "day";
6959
6960
  week: "week";
6960
6961
  month: "month";
6962
+ day: "day";
6963
+ hour: "hour";
6961
6964
  }>;
6962
6965
  internal_feature_id: z$1.ZodNullable<z$1.ZodUUID>;
6963
6966
  entityId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -6970,18 +6973,18 @@ declare const apiOperations: {
6970
6973
  scope: z$1.ZodObject<{
6971
6974
  projectId: z$1.ZodString;
6972
6975
  environment: z$1.ZodEnum<{
6973
- sandbox: "sandbox";
6974
6976
  live: "live";
6977
+ sandbox: "sandbox";
6975
6978
  }>;
6976
6979
  }, z$1.core.$strict>;
6977
6980
  analytics: z$1.ZodObject<{
6978
6981
  from: z$1.ZodISODateTime;
6979
6982
  to: z$1.ZodISODateTime;
6980
6983
  interval: z$1.ZodEnum<{
6981
- hour: "hour";
6982
- day: "day";
6983
6984
  week: "week";
6984
6985
  month: "month";
6986
+ day: "day";
6987
+ hour: "hour";
6985
6988
  }>;
6986
6989
  timezone: z$1.ZodString;
6987
6990
  rows: z$1.ZodArray<z$1.ZodObject<{
@@ -7042,22 +7045,22 @@ declare const apiOperations: {
7042
7045
  values: z$1.ZodArray<z$1.ZodString>;
7043
7046
  }, z$1.core.$strict>>;
7044
7047
  interval: z$1.ZodEnum<{
7045
- hour: "hour";
7046
- day: "day";
7047
7048
  week: "week";
7048
7049
  month: "month";
7050
+ day: "day";
7051
+ hour: "hour";
7049
7052
  }>;
7050
7053
  internal_feature_id: z$1.ZodNullable<z$1.ZodUUID>;
7051
7054
  entityId: z$1.ZodNullable<z$1.ZodUUID>;
7052
7055
  topN: z$1.ZodNullable<z$1.ZodNumber>;
7053
7056
  groupBy: z$1.ZodUnion<readonly [z$1.ZodEnum<{
7054
7057
  source: "source";
7055
- customer: "customer";
7056
7058
  plan: "plan";
7059
+ customer: "customer";
7057
7060
  entity: "entity";
7061
+ dimension: "dimension";
7058
7062
  entitlement: "entitlement";
7059
7063
  resource: "resource";
7060
- dimension: "dimension";
7061
7064
  }>, z$1.ZodString]>;
7062
7065
  after: z$1.ZodNullable<z$1.ZodObject<{
7063
7066
  bucket: z$1.ZodISODateTime;
@@ -7074,18 +7077,18 @@ declare const apiOperations: {
7074
7077
  scope: z$1.ZodObject<{
7075
7078
  projectId: z$1.ZodString;
7076
7079
  environment: z$1.ZodEnum<{
7077
- sandbox: "sandbox";
7078
7080
  live: "live";
7081
+ sandbox: "sandbox";
7079
7082
  }>;
7080
7083
  }, z$1.core.$strict>;
7081
7084
  analytics: z$1.ZodObject<{
7082
7085
  from: z$1.ZodISODateTime;
7083
7086
  to: z$1.ZodISODateTime;
7084
7087
  interval: z$1.ZodEnum<{
7085
- hour: "hour";
7086
- day: "day";
7087
7088
  week: "week";
7088
7089
  month: "month";
7090
+ day: "day";
7091
+ hour: "hour";
7089
7092
  }>;
7090
7093
  timezone: z$1.ZodString;
7091
7094
  rows: z$1.ZodArray<z$1.ZodObject<{
@@ -7144,8 +7147,8 @@ declare const apiOperations: {
7144
7147
  scope: z$1.ZodObject<{
7145
7148
  projectId: z$1.ZodString;
7146
7149
  environment: z$1.ZodEnum<{
7147
- sandbox: "sandbox";
7148
7150
  live: "live";
7151
+ sandbox: "sandbox";
7149
7152
  }>;
7150
7153
  }, z$1.core.$strict>;
7151
7154
  batchId: z$1.ZodUUID;
@@ -7166,8 +7169,8 @@ declare const apiOperations: {
7166
7169
  scope: z$1.ZodObject<{
7167
7170
  projectId: z$1.ZodString;
7168
7171
  environment: z$1.ZodEnum<{
7169
- sandbox: "sandbox";
7170
7172
  live: "live";
7173
+ sandbox: "sandbox";
7171
7174
  }>;
7172
7175
  }, z$1.core.$strict>;
7173
7176
  batch: z$1.ZodObject<{
@@ -7183,20 +7186,20 @@ declare const apiOperations: {
7183
7186
  customerId: z$1.ZodUUID;
7184
7187
  idempotencyKey: z$1.ZodString;
7185
7188
  status: z$1.ZodEnum<{
7186
- rejected: "rejected";
7187
7189
  failed: "failed";
7188
7190
  accepted: "accepted";
7189
7191
  queued: "queued";
7192
+ rejected: "rejected";
7190
7193
  }>;
7191
7194
  receipt: z$1.ZodNullable<z$1.ZodObject<{
7192
7195
  id: z$1.ZodUUID;
7193
7196
  internal_feature_id: z$1.ZodUUID;
7194
7197
  kind: z$1.ZodEnum<{
7195
- release: "release";
7196
7198
  confirm: "confirm";
7197
7199
  consume: "consume";
7198
7200
  reserve: "reserve";
7199
7201
  refund: "refund";
7202
+ release: "release";
7200
7203
  expire: "expire";
7201
7204
  }>;
7202
7205
  originalId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -7208,19 +7211,19 @@ declare const apiOperations: {
7208
7211
  }>>;
7209
7212
  accepted: z$1.ZodBoolean;
7210
7213
  reason: z$1.ZodNullable<z$1.ZodEnum<{
7211
- expired: "expired";
7212
- unavailable: "unavailable";
7213
7214
  insufficient_balance: "insufficient_balance";
7214
7215
  limit_exceeded: "limit_exceeded";
7215
7216
  awaiting_topup: "awaiting_topup";
7216
7217
  authorization_required: "authorization_required";
7217
7218
  payment_blocked: "payment_blocked";
7218
7219
  cash_budget_exceeded: "cash_budget_exceeded";
7220
+ unavailable: "unavailable";
7221
+ expired: "expired";
7219
7222
  }>>;
7220
7223
  createdAt: z$1.ZodISODateTime;
7221
7224
  reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
7222
- pending: "pending";
7223
7225
  expired: "expired";
7226
+ pending: "pending";
7224
7227
  confirmed: "confirmed";
7225
7228
  released: "released";
7226
7229
  }>>;
@@ -7332,8 +7335,8 @@ declare const apiOperations: {
7332
7335
  scope: z$1.ZodObject<{
7333
7336
  projectId: z$1.ZodString;
7334
7337
  environment: z$1.ZodEnum<{
7335
- sandbox: "sandbox";
7336
7338
  live: "live";
7339
+ sandbox: "sandbox";
7337
7340
  }>;
7338
7341
  }, z$1.core.$strict>;
7339
7342
  check: z$1.ZodObject<{
@@ -7347,15 +7350,15 @@ declare const apiOperations: {
7347
7350
  quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
7348
7351
  allowed: z$1.ZodBoolean;
7349
7352
  reason: z$1.ZodNullable<z$1.ZodEnum<{
7350
- unavailable: "unavailable";
7353
+ not_entitled: "not_entitled";
7351
7354
  insufficient_balance: "insufficient_balance";
7355
+ capacity_exceeded: "capacity_exceeded";
7352
7356
  limit_exceeded: "limit_exceeded";
7353
7357
  awaiting_topup: "awaiting_topup";
7354
7358
  authorization_required: "authorization_required";
7355
7359
  payment_blocked: "payment_blocked";
7356
7360
  cash_budget_exceeded: "cash_budget_exceeded";
7357
- not_entitled: "not_entitled";
7358
- capacity_exceeded: "capacity_exceeded";
7361
+ unavailable: "unavailable";
7359
7362
  authentication_required: "authentication_required";
7360
7363
  }>>;
7361
7364
  preview: z$1.ZodNullable<z$1.ZodObject<{
@@ -7411,10 +7414,10 @@ declare const apiOperations: {
7411
7414
  }>;
7412
7415
  amountMinor: z$1.ZodString;
7413
7416
  interval: z$1.ZodEnum<{
7417
+ free: "free";
7414
7418
  week: "week";
7415
7419
  month: "month";
7416
7420
  year: "year";
7417
- free: "free";
7418
7421
  one_time: "one_time";
7419
7422
  }>;
7420
7423
  intervalCount: z$1.ZodNumber;
@@ -7488,14 +7491,16 @@ declare const apiOperations: {
7488
7491
  }, Record<string, string | number | boolean>>>;
7489
7492
  entityId: z$1.ZodOptional<z$1.ZodUUID>;
7490
7493
  }, z$1.core.$strict>>;
7494
+ funnelId: z$1.ZodOptional<z$1.ZodUUID>;
7495
+ funnelVersionId: z$1.ZodOptional<z$1.ZodUUID>;
7491
7496
  }, z$1.core.$strict>;
7492
7497
  readonly response: z$1.ZodObject<{
7493
7498
  requestId: z$1.ZodUUID;
7494
7499
  scope: z$1.ZodObject<{
7495
7500
  projectId: z$1.ZodString;
7496
7501
  environment: z$1.ZodEnum<{
7497
- sandbox: "sandbox";
7498
7502
  live: "live";
7503
+ sandbox: "sandbox";
7499
7504
  }>;
7500
7505
  }, z$1.core.$strict>;
7501
7506
  paywall: z$1.ZodObject<{
@@ -7589,11 +7594,11 @@ declare const apiOperations: {
7589
7594
  background: z$1.ZodString;
7590
7595
  text: z$1.ZodString;
7591
7596
  radius: z$1.ZodEnum<{
7592
- none: "none";
7593
- full: "full";
7594
7597
  sm: "sm";
7595
7598
  md: "md";
7596
7599
  lg: "lg";
7600
+ none: "none";
7601
+ full: "full";
7597
7602
  }>;
7598
7603
  font: z$1.ZodEnum<{
7599
7604
  system: "system";
@@ -7611,11 +7616,11 @@ declare const apiOperations: {
7611
7616
  background: z$1.ZodString;
7612
7617
  text: z$1.ZodString;
7613
7618
  radius: z$1.ZodEnum<{
7614
- none: "none";
7615
- full: "full";
7616
7619
  sm: "sm";
7617
7620
  md: "md";
7618
7621
  lg: "lg";
7622
+ none: "none";
7623
+ full: "full";
7619
7624
  }>;
7620
7625
  font: z$1.ZodEnum<{
7621
7626
  system: "system";
@@ -7714,15 +7719,15 @@ declare const apiOperations: {
7714
7719
  quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
7715
7720
  allowed: z$1.ZodBoolean;
7716
7721
  reason: z$1.ZodNullable<z$1.ZodEnum<{
7717
- unavailable: "unavailable";
7722
+ not_entitled: "not_entitled";
7718
7723
  insufficient_balance: "insufficient_balance";
7724
+ capacity_exceeded: "capacity_exceeded";
7719
7725
  limit_exceeded: "limit_exceeded";
7720
7726
  awaiting_topup: "awaiting_topup";
7721
7727
  authorization_required: "authorization_required";
7722
7728
  payment_blocked: "payment_blocked";
7723
7729
  cash_budget_exceeded: "cash_budget_exceeded";
7724
- not_entitled: "not_entitled";
7725
- capacity_exceeded: "capacity_exceeded";
7730
+ unavailable: "unavailable";
7726
7731
  authentication_required: "authentication_required";
7727
7732
  }>>;
7728
7733
  preview: z$1.ZodNullable<z$1.ZodObject<{
@@ -7778,10 +7783,10 @@ declare const apiOperations: {
7778
7783
  }>;
7779
7784
  amountMinor: z$1.ZodString;
7780
7785
  interval: z$1.ZodEnum<{
7786
+ free: "free";
7781
7787
  week: "week";
7782
7788
  month: "month";
7783
7789
  year: "year";
7784
- free: "free";
7785
7790
  one_time: "one_time";
7786
7791
  }>;
7787
7792
  intervalCount: z$1.ZodNumber;
@@ -7964,15 +7969,15 @@ declare const apiOperations: {
7964
7969
  quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
7965
7970
  allowed: z$1.ZodBoolean;
7966
7971
  reason: z$1.ZodNullable<z$1.ZodEnum<{
7967
- unavailable: "unavailable";
7972
+ not_entitled: "not_entitled";
7968
7973
  insufficient_balance: "insufficient_balance";
7974
+ capacity_exceeded: "capacity_exceeded";
7969
7975
  limit_exceeded: "limit_exceeded";
7970
7976
  awaiting_topup: "awaiting_topup";
7971
7977
  authorization_required: "authorization_required";
7972
7978
  payment_blocked: "payment_blocked";
7973
7979
  cash_budget_exceeded: "cash_budget_exceeded";
7974
- not_entitled: "not_entitled";
7975
- capacity_exceeded: "capacity_exceeded";
7980
+ unavailable: "unavailable";
7976
7981
  authentication_required: "authentication_required";
7977
7982
  }>>;
7978
7983
  preview: z$1.ZodNullable<z$1.ZodObject<{
@@ -8028,10 +8033,10 @@ declare const apiOperations: {
8028
8033
  }>;
8029
8034
  amountMinor: z$1.ZodString;
8030
8035
  interval: z$1.ZodEnum<{
8036
+ free: "free";
8031
8037
  week: "week";
8032
8038
  month: "month";
8033
8039
  year: "year";
8034
- free: "free";
8035
8040
  one_time: "one_time";
8036
8041
  }>;
8037
8042
  intervalCount: z$1.ZodNumber;
@@ -8110,14 +8115,16 @@ declare const apiOperations: {
8110
8115
  }, Record<string, string | number | boolean>>>;
8111
8116
  entityId: z$1.ZodOptional<z$1.ZodUUID>;
8112
8117
  }, z$1.core.$strict>>;
8118
+ funnelId: z$1.ZodOptional<z$1.ZodUUID>;
8119
+ funnelVersionId: z$1.ZodOptional<z$1.ZodUUID>;
8113
8120
  }, z$1.core.$strict>;
8114
8121
  readonly response: z$1.ZodObject<{
8115
8122
  requestId: z$1.ZodUUID;
8116
8123
  scope: z$1.ZodObject<{
8117
8124
  projectId: z$1.ZodString;
8118
8125
  environment: z$1.ZodEnum<{
8119
- sandbox: "sandbox";
8120
8126
  live: "live";
8127
+ sandbox: "sandbox";
8121
8128
  }>;
8122
8129
  }, z$1.core.$strict>;
8123
8130
  offering: z$1.ZodObject<{
@@ -8179,10 +8186,10 @@ declare const apiOperations: {
8179
8186
  }>;
8180
8187
  amountMinor: z$1.ZodString;
8181
8188
  interval: z$1.ZodEnum<{
8189
+ free: "free";
8182
8190
  week: "week";
8183
8191
  month: "month";
8184
8192
  year: "year";
8185
- free: "free";
8186
8193
  one_time: "one_time";
8187
8194
  }>;
8188
8195
  intervalCount: z$1.ZodNumber;
@@ -8214,15 +8221,15 @@ declare const apiOperations: {
8214
8221
  quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
8215
8222
  allowed: z$1.ZodBoolean;
8216
8223
  reason: z$1.ZodNullable<z$1.ZodEnum<{
8217
- unavailable: "unavailable";
8224
+ not_entitled: "not_entitled";
8218
8225
  insufficient_balance: "insufficient_balance";
8226
+ capacity_exceeded: "capacity_exceeded";
8219
8227
  limit_exceeded: "limit_exceeded";
8220
8228
  awaiting_topup: "awaiting_topup";
8221
8229
  authorization_required: "authorization_required";
8222
8230
  payment_blocked: "payment_blocked";
8223
8231
  cash_budget_exceeded: "cash_budget_exceeded";
8224
- not_entitled: "not_entitled";
8225
- capacity_exceeded: "capacity_exceeded";
8232
+ unavailable: "unavailable";
8226
8233
  authentication_required: "authentication_required";
8227
8234
  }>>;
8228
8235
  preview: z$1.ZodNullable<z$1.ZodObject<{
@@ -8278,10 +8285,10 @@ declare const apiOperations: {
8278
8285
  }>;
8279
8286
  amountMinor: z$1.ZodString;
8280
8287
  interval: z$1.ZodEnum<{
8288
+ free: "free";
8281
8289
  week: "week";
8282
8290
  month: "month";
8283
8291
  year: "year";
8284
- free: "free";
8285
8292
  one_time: "one_time";
8286
8293
  }>;
8287
8294
  intervalCount: z$1.ZodNumber;
@@ -8304,8 +8311,8 @@ declare const apiOperations: {
8304
8311
  scope: z$1.ZodObject<{
8305
8312
  projectId: z$1.ZodString;
8306
8313
  environment: z$1.ZodEnum<{
8307
- sandbox: "sandbox";
8308
8314
  live: "live";
8315
+ sandbox: "sandbox";
8309
8316
  }>;
8310
8317
  }, z$1.core.$strict>;
8311
8318
  holdings: z$1.ZodObject<{
@@ -8326,15 +8333,15 @@ declare const apiOperations: {
8326
8333
  }>;
8327
8334
  status: z$1.ZodEnum<{
8328
8335
  unknown: "unknown";
8329
- active: "active";
8330
- pending: "pending";
8331
- trialing: "trialing";
8336
+ ended: "ended";
8337
+ trial: "trial";
8332
8338
  expired: "expired";
8339
+ active: "active";
8333
8340
  scheduled: "scheduled";
8334
- trial: "trial";
8335
8341
  past_due: "past_due";
8336
- ended: "ended";
8342
+ pending: "pending";
8337
8343
  paused: "paused";
8344
+ trialing: "trialing";
8338
8345
  }>;
8339
8346
  cancelAtPeriodEnd: z$1.ZodBoolean;
8340
8347
  accessEnabled: z$1.ZodBoolean;
@@ -8350,8 +8357,8 @@ declare const apiOperations: {
8350
8357
  }>;
8351
8358
  changeKind: z$1.ZodEnum<{
8352
8359
  quantity: "quantity";
8353
- seats: "seats";
8354
8360
  plan: "plan";
8361
+ seats: "seats";
8355
8362
  }>;
8356
8363
  feature: z$1.ZodOptional<z$1.ZodObject<{
8357
8364
  internal_feature_id: z$1.ZodUUID;
@@ -8365,17 +8372,17 @@ declare const apiOperations: {
8365
8372
  toQuantity: z$1.ZodNumber;
8366
8373
  }, z$1.core.$strict>>;
8367
8374
  status: z$1.ZodEnum<{
8375
+ scheduled: "scheduled";
8368
8376
  pending: "pending";
8369
8377
  prepared: "prepared";
8370
8378
  confirmed: "confirmed";
8371
- scheduled: "scheduled";
8372
8379
  quoted: "quoted";
8373
8380
  }>;
8374
8381
  }, z$1.core.$strict>>;
8375
8382
  period: z$1.ZodNullable<z$1.ZodObject<{
8376
8383
  phase: z$1.ZodEnum<{
8377
- paid: "paid";
8378
8384
  trial: "trial";
8385
+ paid: "paid";
8379
8386
  }>;
8380
8387
  startsAt: z$1.ZodISODateTime;
8381
8388
  endsAt: z$1.ZodNullable<z$1.ZodISODateTime>;
@@ -8426,17 +8433,17 @@ declare const apiOperations: {
8426
8433
  customerId: z$1.ZodOptional<z$1.ZodUUID>;
8427
8434
  query: z$1.ZodObject<{
8428
8435
  type: z$1.ZodNullable<z$1.ZodEnum<{
8429
- invoice: "invoice";
8430
8436
  source: "source";
8431
8437
  usage: "usage";
8438
+ invoice: "invoice";
8432
8439
  debt: "debt";
8433
8440
  transaction: "transaction";
8434
8441
  settlement: "settlement";
8435
8442
  }>>;
8436
8443
  resourceKey: z$1.ZodOptional<z$1.ZodString>;
8437
8444
  kind: z$1.ZodOptional<z$1.ZodEnum<{
8438
- refund: "refund";
8439
8445
  purchase: "purchase";
8446
+ refund: "refund";
8440
8447
  }>>;
8441
8448
  topup: z$1.ZodOptional<z$1.ZodBoolean>;
8442
8449
  from: z$1.ZodNullable<z$1.ZodISODate>;
@@ -8445,9 +8452,9 @@ declare const apiOperations: {
8445
8452
  at: z$1.ZodISODateTime;
8446
8453
  id: z$1.ZodUUID;
8447
8454
  type: z$1.ZodEnum<{
8448
- invoice: "invoice";
8449
8455
  source: "source";
8450
8456
  usage: "usage";
8457
+ invoice: "invoice";
8451
8458
  debt: "debt";
8452
8459
  transaction: "transaction";
8453
8460
  settlement: "settlement";
@@ -8461,8 +8468,8 @@ declare const apiOperations: {
8461
8468
  scope: z$1.ZodObject<{
8462
8469
  projectId: z$1.ZodString;
8463
8470
  environment: z$1.ZodEnum<{
8464
- sandbox: "sandbox";
8465
8471
  live: "live";
8472
+ sandbox: "sandbox";
8466
8473
  }>;
8467
8474
  }, z$1.core.$strict>;
8468
8475
  ledger: z$1.ZodObject<{
@@ -8513,22 +8520,22 @@ declare const apiOperations: {
8513
8520
  }, z$1.core.$strict>, z$1.ZodObject<{
8514
8521
  type: z$1.ZodLiteral<"source">;
8515
8522
  reason: z$1.ZodEnum<{
8516
- rollover: "rollover";
8523
+ topup: "topup";
8517
8524
  membership: "membership";
8518
8525
  trial: "trial";
8519
8526
  manual: "manual";
8520
- topup: "topup";
8527
+ rollover: "rollover";
8521
8528
  seat: "seat";
8522
8529
  upgrade_carry: "upgrade_carry";
8523
8530
  }>;
8524
8531
  quantity: z$1.ZodString;
8525
8532
  unlimited: z$1.ZodBoolean;
8526
8533
  status: z$1.ZodEnum<{
8527
- active: "active";
8528
- revoked: "revoked";
8534
+ unavailable: "unavailable";
8529
8535
  expired: "expired";
8536
+ active: "active";
8530
8537
  scheduled: "scheduled";
8531
- unavailable: "unavailable";
8538
+ revoked: "revoked";
8532
8539
  }>;
8533
8540
  startsAt: z$1.ZodISODateTime;
8534
8541
  expiresAt: z$1.ZodNullable<z$1.ZodISODateTime>;
@@ -8549,11 +8556,11 @@ declare const apiOperations: {
8549
8556
  internal_feature_id: z$1.ZodUUID;
8550
8557
  name: z$1.ZodString;
8551
8558
  kind: z$1.ZodEnum<{
8552
- release: "release";
8553
8559
  confirm: "confirm";
8554
8560
  consume: "consume";
8555
8561
  reserve: "reserve";
8556
8562
  refund: "refund";
8563
+ release: "release";
8557
8564
  expire: "expire";
8558
8565
  set_usage: "set_usage";
8559
8566
  }>;
@@ -8561,21 +8568,21 @@ declare const apiOperations: {
8561
8568
  quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
8562
8569
  accepted: z$1.ZodBoolean;
8563
8570
  reason: z$1.ZodNullable<z$1.ZodEnum<{
8564
- expired: "expired";
8565
- unavailable: "unavailable";
8566
8571
  insufficient_balance: "insufficient_balance";
8567
8572
  limit_exceeded: "limit_exceeded";
8568
8573
  awaiting_topup: "awaiting_topup";
8569
8574
  authorization_required: "authorization_required";
8570
8575
  payment_blocked: "payment_blocked";
8571
8576
  cash_budget_exceeded: "cash_budget_exceeded";
8577
+ unavailable: "unavailable";
8578
+ expired: "expired";
8572
8579
  }>>;
8573
8580
  properties: z$1.ZodPipe<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean]>>, z$1.ZodTransform<{
8574
8581
  [k: string]: string;
8575
8582
  }, Record<string, string | number | boolean>>>;
8576
8583
  reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
8577
- pending: "pending";
8578
8584
  expired: "expired";
8585
+ pending: "pending";
8579
8586
  confirmed: "confirmed";
8580
8587
  released: "released";
8581
8588
  }>>;
@@ -8647,8 +8654,8 @@ declare const apiOperations: {
8647
8654
  }, z$1.core.$strict>, z$1.ZodObject<{
8648
8655
  type: z$1.ZodLiteral<"transaction">;
8649
8656
  purpose: z$1.ZodEnum<{
8650
- invoice: "invoice";
8651
8657
  product: "product";
8658
+ invoice: "invoice";
8652
8659
  }>;
8653
8660
  productVersionId: z$1.ZodNullable<z$1.ZodUUID>;
8654
8661
  productName: z$1.ZodNullable<z$1.ZodString>;
@@ -8657,8 +8664,8 @@ declare const apiOperations: {
8657
8664
  orderId: z$1.ZodUUID;
8658
8665
  originalId: z$1.ZodNullable<z$1.ZodUUID>;
8659
8666
  kind: z$1.ZodEnum<{
8660
- refund: "refund";
8661
8667
  purchase: "purchase";
8668
+ refund: "refund";
8662
8669
  }>;
8663
8670
  amountMinor: z$1.ZodNullable<z$1.ZodNumber>;
8664
8671
  currency: z$1.ZodNullable<z$1.ZodEnum<{
@@ -8733,9 +8740,9 @@ declare const apiOperations: {
8733
8740
  at: z$1.ZodISODateTime;
8734
8741
  id: z$1.ZodUUID;
8735
8742
  type: z$1.ZodEnum<{
8736
- invoice: "invoice";
8737
8743
  source: "source";
8738
8744
  usage: "usage";
8745
+ invoice: "invoice";
8739
8746
  debt: "debt";
8740
8747
  transaction: "transaction";
8741
8748
  settlement: "settlement";
@@ -8760,26 +8767,26 @@ declare const apiOperations: {
8760
8767
  scope: z$1.ZodObject<{
8761
8768
  projectId: z$1.ZodString;
8762
8769
  environment: z$1.ZodEnum<{
8763
- sandbox: "sandbox";
8764
8770
  live: "live";
8771
+ sandbox: "sandbox";
8765
8772
  }>;
8766
8773
  }, z$1.core.$strict>;
8767
8774
  detail: z$1.ZodObject<{
8768
8775
  invoice: z$1.ZodObject<{
8769
8776
  id: z$1.ZodUUID;
8770
8777
  sourceKind: z$1.ZodEnum<{
8771
- usage: "usage";
8772
8778
  product: "product";
8779
+ usage: "usage";
8773
8780
  manual: "manual";
8774
8781
  }>;
8775
8782
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
8776
8783
  status: z$1.ZodEnum<{
8777
8784
  void: "void";
8778
8785
  open: "open";
8779
- paid: "paid";
8780
8786
  pending: "pending";
8781
8787
  failed: "failed";
8782
8788
  accruing: "accruing";
8789
+ paid: "paid";
8783
8790
  }>;
8784
8791
  currency: z$1.ZodEnum<{
8785
8792
  USD: "USD";
@@ -9101,8 +9108,8 @@ declare const apiOperations: {
9101
9108
  scope: z$1.ZodObject<{
9102
9109
  projectId: z$1.ZodString;
9103
9110
  environment: z$1.ZodEnum<{
9104
- sandbox: "sandbox";
9105
9111
  live: "live";
9112
+ sandbox: "sandbox";
9106
9113
  }>;
9107
9114
  }, z$1.core.$strict>;
9108
9115
  statement: z$1.ZodObject<{
@@ -9184,8 +9191,8 @@ declare const apiOperations: {
9184
9191
  scope: z$1.ZodObject<{
9185
9192
  projectId: z$1.ZodString;
9186
9193
  environment: z$1.ZodEnum<{
9187
- sandbox: "sandbox";
9188
9194
  live: "live";
9195
+ sandbox: "sandbox";
9189
9196
  }>;
9190
9197
  }, z$1.core.$strict>;
9191
9198
  quote: z$1.ZodObject<{
@@ -9198,13 +9205,13 @@ declare const apiOperations: {
9198
9205
  overflow: "overflow";
9199
9206
  }>>;
9200
9207
  reason: z$1.ZodNullable<z$1.ZodEnum<{
9201
- unavailable: "unavailable";
9202
9208
  insufficient_balance: "insufficient_balance";
9203
9209
  limit_exceeded: "limit_exceeded";
9204
9210
  awaiting_topup: "awaiting_topup";
9205
9211
  authorization_required: "authorization_required";
9206
9212
  payment_blocked: "payment_blocked";
9207
9213
  cash_budget_exceeded: "cash_budget_exceeded";
9214
+ unavailable: "unavailable";
9208
9215
  }>>;
9209
9216
  allocations: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9210
9217
  funding: z$1.ZodLiteral<"balance">;
@@ -9270,19 +9277,19 @@ declare const apiOperations: {
9270
9277
  scope: z$1.ZodObject<{
9271
9278
  projectId: z$1.ZodString;
9272
9279
  environment: z$1.ZodEnum<{
9273
- sandbox: "sandbox";
9274
9280
  live: "live";
9281
+ sandbox: "sandbox";
9275
9282
  }>;
9276
9283
  }, z$1.core.$strict>;
9277
9284
  receipts: z$1.ZodArray<z$1.ZodObject<{
9278
9285
  id: z$1.ZodUUID;
9279
9286
  internal_feature_id: z$1.ZodUUID;
9280
9287
  kind: z$1.ZodEnum<{
9281
- release: "release";
9282
9288
  confirm: "confirm";
9283
9289
  consume: "consume";
9284
9290
  reserve: "reserve";
9285
9291
  refund: "refund";
9292
+ release: "release";
9286
9293
  expire: "expire";
9287
9294
  }>;
9288
9295
  originalId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -9294,19 +9301,19 @@ declare const apiOperations: {
9294
9301
  }>>;
9295
9302
  accepted: z$1.ZodBoolean;
9296
9303
  reason: z$1.ZodNullable<z$1.ZodEnum<{
9297
- expired: "expired";
9298
- unavailable: "unavailable";
9299
9304
  insufficient_balance: "insufficient_balance";
9300
9305
  limit_exceeded: "limit_exceeded";
9301
9306
  awaiting_topup: "awaiting_topup";
9302
9307
  authorization_required: "authorization_required";
9303
9308
  payment_blocked: "payment_blocked";
9304
9309
  cash_budget_exceeded: "cash_budget_exceeded";
9310
+ unavailable: "unavailable";
9311
+ expired: "expired";
9305
9312
  }>>;
9306
9313
  createdAt: z$1.ZodISODateTime;
9307
9314
  reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
9308
- pending: "pending";
9309
9315
  expired: "expired";
9316
+ pending: "pending";
9310
9317
  confirmed: "confirmed";
9311
9318
  released: "released";
9312
9319
  }>>;
@@ -9571,19 +9578,19 @@ declare const apiOperations: {
9571
9578
  scope: z$1.ZodObject<{
9572
9579
  projectId: z$1.ZodString;
9573
9580
  environment: z$1.ZodEnum<{
9574
- sandbox: "sandbox";
9575
9581
  live: "live";
9582
+ sandbox: "sandbox";
9576
9583
  }>;
9577
9584
  }, z$1.core.$strict>;
9578
9585
  receipt: z$1.ZodObject<{
9579
9586
  id: z$1.ZodUUID;
9580
9587
  internal_feature_id: z$1.ZodUUID;
9581
9588
  kind: z$1.ZodEnum<{
9582
- release: "release";
9583
9589
  confirm: "confirm";
9584
9590
  consume: "consume";
9585
9591
  reserve: "reserve";
9586
9592
  refund: "refund";
9593
+ release: "release";
9587
9594
  expire: "expire";
9588
9595
  }>;
9589
9596
  originalId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -9595,19 +9602,19 @@ declare const apiOperations: {
9595
9602
  }>>;
9596
9603
  accepted: z$1.ZodBoolean;
9597
9604
  reason: z$1.ZodNullable<z$1.ZodEnum<{
9598
- expired: "expired";
9599
- unavailable: "unavailable";
9600
9605
  insufficient_balance: "insufficient_balance";
9601
9606
  limit_exceeded: "limit_exceeded";
9602
9607
  awaiting_topup: "awaiting_topup";
9603
9608
  authorization_required: "authorization_required";
9604
9609
  payment_blocked: "payment_blocked";
9605
9610
  cash_budget_exceeded: "cash_budget_exceeded";
9611
+ unavailable: "unavailable";
9612
+ expired: "expired";
9606
9613
  }>>;
9607
9614
  createdAt: z$1.ZodISODateTime;
9608
9615
  reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
9609
- pending: "pending";
9610
9616
  expired: "expired";
9617
+ pending: "pending";
9611
9618
  confirmed: "confirmed";
9612
9619
  released: "released";
9613
9620
  }>>;
@@ -9660,8 +9667,8 @@ declare const apiOperations: {
9660
9667
  scope: z$1.ZodObject<{
9661
9668
  projectId: z$1.ZodString;
9662
9669
  environment: z$1.ZodEnum<{
9663
- sandbox: "sandbox";
9664
9670
  live: "live";
9671
+ sandbox: "sandbox";
9665
9672
  }>;
9666
9673
  }, z$1.core.$strict>;
9667
9674
  redemption: z$1.ZodObject<{
@@ -9671,6 +9678,7 @@ declare const apiOperations: {
9671
9678
  customerId: z$1.ZodUUID;
9672
9679
  referrerId: z$1.ZodNullable<z$1.ZodUUID>;
9673
9680
  status: z$1.ZodEnum<{
9681
+ unavailable: "unavailable";
9674
9682
  pending: "pending";
9675
9683
  applied: "applied";
9676
9684
  }>;
@@ -9693,8 +9701,8 @@ declare const apiOperations: {
9693
9701
  scope: z$1.ZodObject<{
9694
9702
  projectId: z$1.ZodString;
9695
9703
  environment: z$1.ZodEnum<{
9696
- sandbox: "sandbox";
9697
9704
  live: "live";
9705
+ sandbox: "sandbox";
9698
9706
  }>;
9699
9707
  }, z$1.core.$strict>;
9700
9708
  referralCode: z$1.ZodObject<{
@@ -9755,8 +9763,8 @@ declare const apiOperations: {
9755
9763
  scope: z$1.ZodObject<{
9756
9764
  projectId: z$1.ZodString;
9757
9765
  environment: z$1.ZodEnum<{
9758
- sandbox: "sandbox";
9759
9766
  live: "live";
9767
+ sandbox: "sandbox";
9760
9768
  }>;
9761
9769
  }, z$1.core.$strict>;
9762
9770
  checkout: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -9808,12 +9816,12 @@ declare const apiOperations: {
9808
9816
  }, z$1.core.$strict>], "type">;
9809
9817
  renewalAmountMinor: z$1.ZodNumber;
9810
9818
  status: z$1.ZodEnum<{
9811
- paid: "paid";
9812
- created: "created";
9813
9819
  pending: "pending";
9820
+ failed: "failed";
9821
+ paid: "paid";
9814
9822
  trialing: "trialing";
9815
9823
  cancelled: "cancelled";
9816
- failed: "failed";
9824
+ created: "created";
9817
9825
  }>;
9818
9826
  url: z$1.ZodNullable<z$1.ZodURL>;
9819
9827
  }, z$1.core.$strict>, z$1.ZodObject<{
@@ -9866,9 +9874,9 @@ declare const apiOperations: {
9866
9874
  }, z$1.core.$strict>], "type">;
9867
9875
  renewalAmountMinor: z$1.ZodNumber;
9868
9876
  status: z$1.ZodEnum<{
9869
- running: "running";
9870
9877
  pending: "pending";
9871
9878
  failed: "failed";
9879
+ running: "running";
9872
9880
  applied: "applied";
9873
9881
  }>;
9874
9882
  }, z$1.core.$strict>], "type">;
@@ -9887,8 +9895,8 @@ declare const apiOperations: {
9887
9895
  scope: z$1.ZodObject<{
9888
9896
  projectId: z$1.ZodString;
9889
9897
  environment: z$1.ZodEnum<{
9890
- sandbox: "sandbox";
9891
9898
  live: "live";
9899
+ sandbox: "sandbox";
9892
9900
  }>;
9893
9901
  }, z$1.core.$strict>;
9894
9902
  seats: z$1.ZodObject<{
@@ -9986,8 +9994,8 @@ declare const apiOperations: {
9986
9994
  scope: z$1.ZodObject<{
9987
9995
  projectId: z$1.ZodString;
9988
9996
  environment: z$1.ZodEnum<{
9989
- sandbox: "sandbox";
9990
9997
  live: "live";
9998
+ sandbox: "sandbox";
9991
9999
  }>;
9992
10000
  }, z$1.core.$strict>;
9993
10001
  seats: z$1.ZodObject<{
@@ -10075,8 +10083,8 @@ declare const apiOperations: {
10075
10083
  scope: z$1.ZodObject<{
10076
10084
  projectId: z$1.ZodString;
10077
10085
  environment: z$1.ZodEnum<{
10078
- sandbox: "sandbox";
10079
10086
  live: "live";
10087
+ sandbox: "sandbox";
10080
10088
  }>;
10081
10089
  }, z$1.core.$strict>;
10082
10090
  customer: z$1.ZodObject<{
@@ -10111,8 +10119,8 @@ declare const apiOperations: {
10111
10119
  scope: z$1.ZodObject<{
10112
10120
  projectId: z$1.ZodString;
10113
10121
  environment: z$1.ZodEnum<{
10114
- sandbox: "sandbox";
10115
10122
  live: "live";
10123
+ sandbox: "sandbox";
10116
10124
  }>;
10117
10125
  }, z$1.core.$strict>;
10118
10126
  customer: z$1.ZodObject<{
@@ -10139,18 +10147,18 @@ declare const apiOperations: {
10139
10147
  versionId: z$1.ZodDefault<z$1.ZodString>;
10140
10148
  holdingStatus: z$1.ZodDefault<z$1.ZodEnum<{
10141
10149
  "": "";
10142
- active: "active";
10150
+ unavailable: "unavailable";
10151
+ none: "none";
10143
10152
  expired: "expired";
10153
+ active: "active";
10144
10154
  scheduled: "scheduled";
10145
- none: "none";
10146
- unavailable: "unavailable";
10147
10155
  }>>;
10148
10156
  membershipStatus: z$1.ZodDefault<z$1.ZodEnum<{
10149
10157
  "": "";
10150
- active: "active";
10158
+ ended: "ended";
10151
10159
  trial: "trial";
10160
+ active: "active";
10152
10161
  past_due: "past_due";
10153
- ended: "ended";
10154
10162
  }>>;
10155
10163
  createdFrom: z$1.ZodDefault<z$1.ZodUnion<readonly [z$1.ZodISODateTime, z$1.ZodLiteral<"">]>>;
10156
10164
  createdUntil: z$1.ZodDefault<z$1.ZodUnion<readonly [z$1.ZodISODateTime, z$1.ZodLiteral<"">]>>;
@@ -10162,8 +10170,8 @@ declare const apiOperations: {
10162
10170
  scope: z$1.ZodObject<{
10163
10171
  projectId: z$1.ZodString;
10164
10172
  environment: z$1.ZodEnum<{
10165
- sandbox: "sandbox";
10166
10173
  live: "live";
10174
+ sandbox: "sandbox";
10167
10175
  }>;
10168
10176
  }, z$1.core.$strict>;
10169
10177
  customers: z$1.ZodArray<z$1.ZodObject<{
@@ -10213,8 +10221,8 @@ declare const apiOperations: {
10213
10221
  scope: z$1.ZodObject<{
10214
10222
  projectId: z$1.ZodString;
10215
10223
  environment: z$1.ZodEnum<{
10216
- sandbox: "sandbox";
10217
10224
  live: "live";
10225
+ sandbox: "sandbox";
10218
10226
  }>;
10219
10227
  }, z$1.core.$strict>;
10220
10228
  customer: z$1.ZodObject<{
@@ -10244,8 +10252,8 @@ declare const apiOperations: {
10244
10252
  scope: z$1.ZodObject<{
10245
10253
  projectId: z$1.ZodString;
10246
10254
  environment: z$1.ZodEnum<{
10247
- sandbox: "sandbox";
10248
10255
  live: "live";
10256
+ sandbox: "sandbox";
10249
10257
  }>;
10250
10258
  }, z$1.core.$strict>;
10251
10259
  customerToken: z$1.ZodString;
@@ -10267,8 +10275,8 @@ declare const apiOperations: {
10267
10275
  scope: z$1.ZodObject<{
10268
10276
  projectId: z$1.ZodString;
10269
10277
  environment: z$1.ZodEnum<{
10270
- sandbox: "sandbox";
10271
10278
  live: "live";
10279
+ sandbox: "sandbox";
10272
10280
  }>;
10273
10281
  }, z$1.core.$strict>;
10274
10282
  customerToken: z$1.ZodString;
@@ -10290,8 +10298,8 @@ declare const apiOperations: {
10290
10298
  scope: z$1.ZodObject<{
10291
10299
  projectId: z$1.ZodString;
10292
10300
  environment: z$1.ZodEnum<{
10293
- sandbox: "sandbox";
10294
10301
  live: "live";
10302
+ sandbox: "sandbox";
10295
10303
  }>;
10296
10304
  }, z$1.core.$strict>;
10297
10305
  revoked: z$1.ZodNumber;
@@ -10311,8 +10319,8 @@ declare const apiOperations: {
10311
10319
  scope: z$1.ZodObject<{
10312
10320
  projectId: z$1.ZodString;
10313
10321
  environment: z$1.ZodEnum<{
10314
- sandbox: "sandbox";
10315
10322
  live: "live";
10323
+ sandbox: "sandbox";
10316
10324
  }>;
10317
10325
  }, z$1.core.$strict>;
10318
10326
  customerId: z$1.ZodUUID;
@@ -10333,8 +10341,8 @@ declare const apiOperations: {
10333
10341
  scope: z$1.ZodObject<{
10334
10342
  projectId: z$1.ZodString;
10335
10343
  environment: z$1.ZodEnum<{
10336
- sandbox: "sandbox";
10337
10344
  live: "live";
10345
+ sandbox: "sandbox";
10338
10346
  }>;
10339
10347
  }, z$1.core.$strict>;
10340
10348
  customerId: z$1.ZodUUID;
@@ -10358,8 +10366,8 @@ declare const apiOperations: {
10358
10366
  scope: z$1.ZodObject<{
10359
10367
  projectId: z$1.ZodString;
10360
10368
  environment: z$1.ZodEnum<{
10361
- sandbox: "sandbox";
10362
10369
  live: "live";
10370
+ sandbox: "sandbox";
10363
10371
  }>;
10364
10372
  }, z$1.core.$strict>;
10365
10373
  customer: z$1.ZodObject<{
@@ -10390,19 +10398,19 @@ declare const apiOperations: {
10390
10398
  scope: z$1.ZodObject<{
10391
10399
  projectId: z$1.ZodString;
10392
10400
  environment: z$1.ZodEnum<{
10393
- sandbox: "sandbox";
10394
10401
  live: "live";
10402
+ sandbox: "sandbox";
10395
10403
  }>;
10396
10404
  }, z$1.core.$strict>;
10397
10405
  offer: z$1.ZodNullable<z$1.ZodObject<{
10398
10406
  id: z$1.ZodUUID;
10399
10407
  couponId: z$1.ZodUUID;
10400
10408
  status: z$1.ZodEnum<{
10401
- revoked: "revoked";
10402
- expired: "expired";
10403
10409
  reserved: "reserved";
10410
+ expired: "expired";
10404
10411
  issued: "issued";
10405
10412
  redeemed: "redeemed";
10413
+ revoked: "revoked";
10406
10414
  }>;
10407
10415
  issuedAt: z$1.ZodISODateTime;
10408
10416
  expiresAt: z$1.ZodISODateTime;
@@ -10467,6 +10475,8 @@ declare const apiOperations: {
10467
10475
  }, z$1.core.$strict>;
10468
10476
  }, z$1.core.$strict>>;
10469
10477
  reason: z$1.ZodNullable<z$1.ZodEnum<{
10478
+ unavailable: "unavailable";
10479
+ claim_disabled: "claim_disabled";
10470
10480
  inactive: "inactive";
10471
10481
  outside_window: "outside_window";
10472
10482
  not_targeted: "not_targeted";
@@ -10488,19 +10498,19 @@ declare const apiOperations: {
10488
10498
  scope: z$1.ZodObject<{
10489
10499
  projectId: z$1.ZodString;
10490
10500
  environment: z$1.ZodEnum<{
10491
- sandbox: "sandbox";
10492
10501
  live: "live";
10502
+ sandbox: "sandbox";
10493
10503
  }>;
10494
10504
  }, z$1.core.$strict>;
10495
10505
  offers: z$1.ZodArray<z$1.ZodObject<{
10496
10506
  id: z$1.ZodUUID;
10497
10507
  couponId: z$1.ZodUUID;
10498
10508
  status: z$1.ZodEnum<{
10499
- revoked: "revoked";
10500
- expired: "expired";
10501
10509
  reserved: "reserved";
10510
+ expired: "expired";
10502
10511
  issued: "issued";
10503
10512
  redeemed: "redeemed";
10513
+ revoked: "revoked";
10504
10514
  }>;
10505
10515
  issuedAt: z$1.ZodISODateTime;
10506
10516
  expiresAt: z$1.ZodISODateTime;
@@ -10570,31 +10580,35 @@ declare const apiOperations: {
10570
10580
  readonly method: "POST";
10571
10581
  readonly path: "offers/grant";
10572
10582
  readonly permission: "offers:grant";
10573
- readonly audience: "server";
10574
- /** 服务端定向发放(例如流失召回)。同一 requestId 重试返回同一结果。 */
10583
+ readonly audience: "mixed";
10584
+ readonly customerPermission: "offers:resolve";
10585
+ /** Customer self-claim or merchant-directed grant; retry with the original requestId. */
10575
10586
  readonly request: z$1.ZodObject<{
10576
- customerId: z$1.ZodString;
10577
- couponId: z$1.ZodUUID;
10578
10587
  requestId: z$1.ZodUUID;
10588
+ couponContentDigest: z$1.ZodOptional<z$1.ZodString>;
10589
+ funnelId: z$1.ZodOptional<z$1.ZodUUID>;
10590
+ funnelVersionId: z$1.ZodOptional<z$1.ZodUUID>;
10591
+ customerId: z$1.ZodOptional<z$1.ZodString>;
10592
+ couponId: z$1.ZodUUID;
10579
10593
  }, z$1.core.$strict>;
10580
10594
  readonly response: z$1.ZodObject<{
10581
10595
  requestId: z$1.ZodUUID;
10582
10596
  scope: z$1.ZodObject<{
10583
10597
  projectId: z$1.ZodString;
10584
10598
  environment: z$1.ZodEnum<{
10585
- sandbox: "sandbox";
10586
10599
  live: "live";
10600
+ sandbox: "sandbox";
10587
10601
  }>;
10588
10602
  }, z$1.core.$strict>;
10589
10603
  offer: z$1.ZodNullable<z$1.ZodObject<{
10590
10604
  id: z$1.ZodUUID;
10591
10605
  couponId: z$1.ZodUUID;
10592
10606
  status: z$1.ZodEnum<{
10593
- revoked: "revoked";
10594
- expired: "expired";
10595
10607
  reserved: "reserved";
10608
+ expired: "expired";
10596
10609
  issued: "issued";
10597
10610
  redeemed: "redeemed";
10611
+ revoked: "revoked";
10598
10612
  }>;
10599
10613
  issuedAt: z$1.ZodISODateTime;
10600
10614
  expiresAt: z$1.ZodISODateTime;
@@ -10659,6 +10673,8 @@ declare const apiOperations: {
10659
10673
  }, z$1.core.$strict>;
10660
10674
  }, z$1.core.$strict>>;
10661
10675
  reason: z$1.ZodNullable<z$1.ZodEnum<{
10676
+ unavailable: "unavailable";
10677
+ claim_disabled: "claim_disabled";
10662
10678
  inactive: "inactive";
10663
10679
  outside_window: "outside_window";
10664
10680
  not_targeted: "not_targeted";
@@ -10687,8 +10703,8 @@ declare const apiOperations: {
10687
10703
  scope: z$1.ZodObject<{
10688
10704
  projectId: z$1.ZodString;
10689
10705
  environment: z$1.ZodEnum<{
10690
- sandbox: "sandbox";
10691
10706
  live: "live";
10707
+ sandbox: "sandbox";
10692
10708
  }>;
10693
10709
  }, z$1.core.$strict>;
10694
10710
  receipt: z$1.ZodObject<{
@@ -10835,6 +10851,7 @@ interface FoundationApi {
10835
10851
  customerId: string;
10836
10852
  couponId: string;
10837
10853
  requestId?: string;
10854
+ couponContentDigest?: string;
10838
10855
  }): Promise<ApiOutput<"grantOffer">>;
10839
10856
  /** Trusted backend only. Reuse eventId and all facts for callback retries. */
10840
10857
  recordCouponRedemption(input: ApiInput<"recordCouponRedemption">): Promise<ApiOutput<"recordCouponRedemption">>;
@@ -10931,18 +10948,18 @@ declare function createAiPricing(options?: AiPricingOptions): {
10931
10948
  requestId: string;
10932
10949
  scope: {
10933
10950
  projectId: string;
10934
- environment: "sandbox" | "live";
10951
+ environment: "live" | "sandbox";
10935
10952
  };
10936
10953
  receipt: {
10937
10954
  id: string;
10938
10955
  internal_feature_id: string;
10939
- kind: "release" | "confirm" | "consume" | "reserve" | "refund" | "expire";
10956
+ kind: "confirm" | "consume" | "reserve" | "refund" | "release" | "expire";
10940
10957
  originalId: string | null;
10941
10958
  quantity: string;
10942
10959
  accepted: boolean;
10943
- reason: "expired" | "unavailable" | "insufficient_balance" | "limit_exceeded" | "awaiting_topup" | "authorization_required" | "payment_blocked" | "cash_budget_exceeded" | null;
10960
+ reason: "insufficient_balance" | "limit_exceeded" | "awaiting_topup" | "authorization_required" | "payment_blocked" | "cash_budget_exceeded" | "unavailable" | "expired" | null;
10944
10961
  createdAt: string;
10945
- reservationStatus: "pending" | "expired" | "confirmed" | "released" | null;
10962
+ reservationStatus: "expired" | "pending" | "confirmed" | "released" | null;
10946
10963
  expiresAt: string | null;
10947
10964
  allocations: ({
10948
10965
  funding: "prepaid";
@@ -11002,18 +11019,18 @@ declare function createConfiguredAiPricing(client: Pick<FoundationApi, "readAiPr
11002
11019
  requestId: string;
11003
11020
  scope: {
11004
11021
  projectId: string;
11005
- environment: "sandbox" | "live";
11022
+ environment: "live" | "sandbox";
11006
11023
  };
11007
11024
  receipt: {
11008
11025
  id: string;
11009
11026
  internal_feature_id: string;
11010
- kind: "release" | "confirm" | "consume" | "reserve" | "refund" | "expire";
11027
+ kind: "confirm" | "consume" | "reserve" | "refund" | "release" | "expire";
11011
11028
  originalId: string | null;
11012
11029
  quantity: string;
11013
11030
  accepted: boolean;
11014
- reason: "expired" | "unavailable" | "insufficient_balance" | "limit_exceeded" | "awaiting_topup" | "authorization_required" | "payment_blocked" | "cash_budget_exceeded" | null;
11031
+ reason: "insufficient_balance" | "limit_exceeded" | "awaiting_topup" | "authorization_required" | "payment_blocked" | "cash_budget_exceeded" | "unavailable" | "expired" | null;
11015
11032
  createdAt: string;
11016
- reservationStatus: "pending" | "expired" | "confirmed" | "released" | null;
11033
+ reservationStatus: "expired" | "pending" | "confirmed" | "released" | null;
11017
11034
  expiresAt: string | null;
11018
11035
  allocations: ({
11019
11036
  funding: "prepaid";