@tinkerlandai/indiana-sdk 0.6.4 → 0.7.0

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 (53) hide show
  1. package/CHANGELOG.md +9 -4
  2. package/README.md +4 -4
  3. package/README.zh-CN.md +3 -3
  4. package/dist/{ai-usage-B4W5m4Ie.d.ts → ai-usage-BsrSG955.d.ts} +334 -518
  5. package/dist/chunk-3SONNXFG.js +1 -0
  6. package/dist/chunk-467Z5ISI.js +11 -0
  7. package/dist/{chunk-2EJSV6BA.js → chunk-4AWSZWZD.js} +1 -1
  8. package/dist/{chunk-5TEZEOHX.js → chunk-6MO6Y24B.js} +1 -1
  9. package/dist/chunk-HD74AAFS.js +1 -0
  10. package/dist/chunk-J4RHVU3W.js +1 -0
  11. package/dist/chunk-KQCTDXVD.js +17 -0
  12. package/dist/chunk-NOFNOHUI.js +1 -0
  13. package/dist/chunk-QO4YQLZ4.js +1 -0
  14. package/dist/chunk-RRII2DMC.js +1 -0
  15. package/dist/chunk-WCFVNF5D.js +1 -0
  16. package/dist/chunk-YAFMBXIE.js +4 -0
  17. package/dist/{client-OYRHOMUQ.js → client-F6UPJMHR.js} +1 -1
  18. package/dist/{configuration-sync-C2mytNwU.d.ts → configuration-sync-Bvd956GL.d.ts} +333 -25
  19. package/dist/controls-XG46TKUU.js +2 -0
  20. package/dist/funnel-runtime-host-26QI2W3S.js +1 -0
  21. package/dist/{funnel-runtime-start-sZ8ZCNlq.d.ts → funnel-runtime-start-ChVYbLzV.d.ts} +6655 -2785
  22. package/dist/iam.js +1 -1
  23. package/dist/index.d.ts +3634 -1485
  24. package/dist/index.js +1 -1
  25. package/dist/native-shell.js +1 -1
  26. package/dist/openrouter.d.ts +2 -3
  27. package/dist/openrouter.js +1 -1
  28. package/dist/page.d.ts +13 -13
  29. package/dist/page.js +1 -1
  30. package/dist/paywall-WKOHBYW7.js +1 -0
  31. package/dist/popup.d.ts +9 -16
  32. package/dist/popup.js +12 -12
  33. package/dist/react-native.d.ts +14 -14
  34. package/dist/react-native.js +1 -1
  35. package/dist/server.d.ts +4 -4
  36. package/dist/server.js +1 -1
  37. package/dist/src-UHLPVD6E.js +1 -0
  38. package/dist/visual.js +1 -1
  39. package/package.json +1 -1
  40. package/dist/chunk-63BWE27V.js +0 -1
  41. package/dist/chunk-CB63JLGT.js +0 -1
  42. package/dist/chunk-D7YHFS6B.js +0 -4
  43. package/dist/chunk-HTRQPMJO.js +0 -11
  44. package/dist/chunk-ISUXYPYL.js +0 -1
  45. package/dist/chunk-QG3WUJG5.js +0 -1
  46. package/dist/chunk-RMJJOSVZ.js +0 -1
  47. package/dist/chunk-S2MSIA57.js +0 -17
  48. package/dist/chunk-VVSQKVE7.js +0 -1
  49. package/dist/funnel-runtime-host-NWS3URFA.js +0 -1
  50. package/dist/paywall-4XZ6NDMY.js +0 -1
  51. package/dist/src-WV6GZYWA.js +0 -1
  52. package/dist/{customer-page-B4FGCVpt.d.ts → customer-page-B4LkIr5q.d.ts} +4 -4
  53. package/dist/{screen-16d-xADb.d.ts → screen-iFngkxaL.d.ts} +185 -185
@@ -1,5 +1,4 @@
1
1
  import { LanguageModelV4Usage, LanguageModelV4Middleware } from '@ai-sdk/provider';
2
- import { S as StackNode } from './screen-16d-xADb.js';
3
2
  import { z } from 'zod/v4';
4
3
  import { z as z$1 } from 'zod';
5
4
 
@@ -671,8 +670,8 @@ declare const apiOperations: {
671
670
  operation: z$1.ZodObject<{
672
671
  taskId: z$1.ZodUUID;
673
672
  status: z$1.ZodEnum<{
674
- ready: "ready";
675
673
  running: "running";
674
+ ready: "ready";
676
675
  done: "done";
677
676
  dead: "dead";
678
677
  }>;
@@ -741,8 +740,8 @@ declare const apiOperations: {
741
740
  operation: z$1.ZodObject<{
742
741
  taskId: z$1.ZodUUID;
743
742
  status: z$1.ZodEnum<{
744
- ready: "ready";
745
743
  running: "running";
744
+ ready: "ready";
746
745
  done: "done";
747
746
  dead: "dead";
748
747
  }>;
@@ -793,8 +792,8 @@ declare const apiOperations: {
793
792
  operation: z$1.ZodObject<{
794
793
  taskId: z$1.ZodUUID;
795
794
  status: z$1.ZodEnum<{
796
- ready: "ready";
797
795
  running: "running";
796
+ ready: "ready";
798
797
  done: "done";
799
798
  dead: "dead";
800
799
  }>;
@@ -869,8 +868,8 @@ declare const apiOperations: {
869
868
  operations: z$1.ZodArray<z$1.ZodObject<{
870
869
  taskId: z$1.ZodUUID;
871
870
  status: z$1.ZodEnum<{
872
- ready: "ready";
873
871
  running: "running";
872
+ ready: "ready";
874
873
  done: "done";
875
874
  dead: "dead";
876
875
  }>;
@@ -974,6 +973,8 @@ declare const apiOperations: {
974
973
  config: z$1.ZodObject<{
975
974
  repository: z$1.ZodObject<{
976
975
  id: z$1.ZodUUID;
976
+ revision: z$1.ZodNumber;
977
+ include: z$1.ZodArray<z$1.ZodString>;
977
978
  repo: z$1.ZodString;
978
979
  platform: z$1.ZodEnum<{
979
980
  github: "github";
@@ -982,11 +983,9 @@ declare const apiOperations: {
982
983
  }>;
983
984
  branches: z$1.ZodArray<z$1.ZodString>;
984
985
  workflow: z$1.ZodString;
985
- include: z$1.ZodArray<z$1.ZodString>;
986
986
  exclude: z$1.ZodArray<z$1.ZodString>;
987
987
  methods: z$1.ZodArray<z$1.ZodString>;
988
988
  maxAgeHours: z$1.ZodNumber;
989
- revision: z$1.ZodNumber;
990
989
  }, z$1.core.$strict>;
991
990
  branch: z$1.ZodString;
992
991
  keys: z$1.ZodArray<z$1.ZodString>;
@@ -1260,11 +1259,11 @@ declare const apiOperations: {
1260
1259
  features: z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
1261
1260
  value: z$1.ZodJSONSchema;
1262
1261
  source: z$1.ZodEnum<{
1263
- defaultValue: "defaultValue";
1262
+ override: "override";
1264
1263
  force: "force";
1265
1264
  experiment: "experiment";
1265
+ defaultValue: "defaultValue";
1266
1266
  unknownFeature: "unknownFeature";
1267
- override: "override";
1268
1267
  prerequisite: "prerequisite";
1269
1268
  cyclicPrerequisite: "cyclicPrerequisite";
1270
1269
  }>;
@@ -1587,14 +1586,14 @@ declare const apiOperations: {
1587
1586
  expiresAt: z$1.ZodNullable<z$1.ZodISODateTime>;
1588
1587
  reset: z$1.ZodNullable<z$1.ZodObject<{
1589
1588
  interval: z$1.ZodEnum<{
1590
- minute: "minute";
1591
- hour: "hour";
1592
- day: "day";
1593
1589
  week: "week";
1594
1590
  month: "month";
1595
1591
  quarter: "quarter";
1596
1592
  semi_annual: "semi_annual";
1597
1593
  year: "year";
1594
+ minute: "minute";
1595
+ hour: "hour";
1596
+ day: "day";
1598
1597
  }>;
1599
1598
  count: z$1.ZodNumber;
1600
1599
  }, z$1.core.$strict>>;
@@ -1650,14 +1649,14 @@ declare const apiOperations: {
1650
1649
  amount: z$1.ZodNullable<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
1651
1650
  reset: z$1.ZodNullable<z$1.ZodObject<{
1652
1651
  interval: z$1.ZodEnum<{
1653
- minute: "minute";
1654
- hour: "hour";
1655
- day: "day";
1656
1652
  week: "week";
1657
1653
  month: "month";
1658
1654
  quarter: "quarter";
1659
1655
  semi_annual: "semi_annual";
1660
1656
  year: "year";
1657
+ minute: "minute";
1658
+ hour: "hour";
1659
+ day: "day";
1661
1660
  }>;
1662
1661
  count: z$1.ZodNumber;
1663
1662
  }, z$1.core.$strict>>;
@@ -1704,14 +1703,14 @@ declare const apiOperations: {
1704
1703
  amount: z$1.ZodNullable<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
1705
1704
  reset: z$1.ZodNullable<z$1.ZodObject<{
1706
1705
  interval: z$1.ZodEnum<{
1707
- minute: "minute";
1708
- hour: "hour";
1709
- day: "day";
1710
1706
  week: "week";
1711
1707
  month: "month";
1712
1708
  quarter: "quarter";
1713
1709
  semi_annual: "semi_annual";
1714
1710
  year: "year";
1711
+ minute: "minute";
1712
+ hour: "hour";
1713
+ day: "day";
1715
1714
  }>;
1716
1715
  count: z$1.ZodNumber;
1717
1716
  }, z$1.core.$strict>>;
@@ -1775,12 +1774,12 @@ declare const apiOperations: {
1775
1774
  orderId: z$1.ZodUUID;
1776
1775
  purchaseIntentId: z$1.ZodUUID;
1777
1776
  status: z$1.ZodEnum<{
1778
- paid: "paid";
1779
- created: "created";
1780
1777
  pending: "pending";
1778
+ failed: "failed";
1779
+ paid: "paid";
1781
1780
  trialing: "trialing";
1782
1781
  cancelled: "cancelled";
1783
- failed: "failed";
1782
+ created: "created";
1784
1783
  }>;
1785
1784
  currency: z$1.ZodEnum<{
1786
1785
  USD: "USD";
@@ -1883,9 +1882,9 @@ declare const apiOperations: {
1883
1882
  id: z$1.ZodUUID;
1884
1883
  provider: z$1.ZodLiteral<"stripe">;
1885
1884
  status: z$1.ZodEnum<{
1886
- complete: "complete";
1887
- prepared: "prepared";
1888
1885
  expired: "expired";
1886
+ prepared: "prepared";
1887
+ complete: "complete";
1889
1888
  }>;
1890
1889
  currency: z$1.ZodEnum<{
1891
1890
  USD: "USD";
@@ -1969,9 +1968,9 @@ declare const apiOperations: {
1969
1968
  id: z$1.ZodUUID;
1970
1969
  provider: z$1.ZodLiteral<"stripe">;
1971
1970
  status: z$1.ZodEnum<{
1972
- complete: "complete";
1973
- prepared: "prepared";
1974
1971
  expired: "expired";
1972
+ prepared: "prepared";
1973
+ complete: "complete";
1975
1974
  }>;
1976
1975
  currency: z$1.ZodEnum<{
1977
1976
  USD: "USD";
@@ -2066,12 +2065,12 @@ declare const apiOperations: {
2066
2065
  batchId: z$1.ZodUUID;
2067
2066
  ready: z$1.ZodBoolean;
2068
2067
  status: z$1.ZodEnum<{
2068
+ expired: "expired";
2069
2069
  pending: "pending";
2070
- cancelled: "cancelled";
2071
2070
  prepared: "prepared";
2072
- expired: "expired";
2073
- partial: "partial";
2074
2071
  effective: "effective";
2072
+ cancelled: "cancelled";
2073
+ partial: "partial";
2075
2074
  action_required: "action_required";
2076
2075
  }>;
2077
2076
  createdAt: z$1.ZodISODateTime;
@@ -2093,13 +2092,13 @@ declare const apiOperations: {
2093
2092
  renewal: "renewal";
2094
2093
  }>;
2095
2094
  status: z$1.ZodEnum<{
2095
+ scheduled: "scheduled";
2096
2096
  pending: "pending";
2097
- cancelled: "cancelled";
2098
2097
  failed: "failed";
2099
2098
  prepared: "prepared";
2100
2099
  effective: "effective";
2101
2100
  confirmed: "confirmed";
2102
- scheduled: "scheduled";
2101
+ cancelled: "cancelled";
2103
2102
  store_action_required: "store_action_required";
2104
2103
  }>;
2105
2104
  quote: z$1.ZodNullable<z$1.ZodObject<{
@@ -2165,16 +2164,16 @@ declare const apiOperations: {
2165
2164
  provider: z$1.ZodLiteral<"stripe">;
2166
2165
  invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
2167
2166
  executor: z$1.ZodEnum<{
2168
- merchant: "merchant";
2169
2167
  indiana: "indiana";
2168
+ merchant: "merchant";
2170
2169
  }>;
2171
2170
  accountId: z$1.ZodString;
2172
2171
  subscriptionId: z$1.ZodString;
2173
2172
  action: z$1.ZodEnum<{
2174
- update: "update";
2175
2173
  cancel: "cancel";
2176
- schedule: "schedule";
2177
2174
  release: "release";
2175
+ update: "update";
2176
+ schedule: "schedule";
2178
2177
  }>;
2179
2178
  update: z$1.ZodNullable<z$1.ZodObject<{
2180
2179
  items: z$1.ZodArray<z$1.ZodObject<{
@@ -2188,9 +2187,9 @@ declare const apiOperations: {
2188
2187
  quantity: z$1.ZodNumber;
2189
2188
  }, z$1.core.$strict>>>;
2190
2189
  prorationBehavior: z$1.ZodOptional<z$1.ZodEnum<{
2190
+ none: "none";
2191
2191
  always_invoice: "always_invoice";
2192
2192
  create_prorations: "create_prorations";
2193
- none: "none";
2194
2193
  }>>;
2195
2194
  prorationDate: z$1.ZodOptional<z$1.ZodNumber>;
2196
2195
  paymentBehavior: z$1.ZodOptional<z$1.ZodLiteral<"error_if_incomplete">>;
@@ -2267,12 +2266,12 @@ declare const apiOperations: {
2267
2266
  batchId: z$1.ZodUUID;
2268
2267
  ready: z$1.ZodBoolean;
2269
2268
  status: z$1.ZodEnum<{
2269
+ expired: "expired";
2270
2270
  pending: "pending";
2271
- cancelled: "cancelled";
2272
2271
  prepared: "prepared";
2273
- expired: "expired";
2274
- partial: "partial";
2275
2272
  effective: "effective";
2273
+ cancelled: "cancelled";
2274
+ partial: "partial";
2276
2275
  action_required: "action_required";
2277
2276
  }>;
2278
2277
  createdAt: z$1.ZodISODateTime;
@@ -2294,13 +2293,13 @@ declare const apiOperations: {
2294
2293
  renewal: "renewal";
2295
2294
  }>;
2296
2295
  status: z$1.ZodEnum<{
2296
+ scheduled: "scheduled";
2297
2297
  pending: "pending";
2298
- cancelled: "cancelled";
2299
2298
  failed: "failed";
2300
2299
  prepared: "prepared";
2301
2300
  effective: "effective";
2302
2301
  confirmed: "confirmed";
2303
- scheduled: "scheduled";
2302
+ cancelled: "cancelled";
2304
2303
  store_action_required: "store_action_required";
2305
2304
  }>;
2306
2305
  quote: z$1.ZodNullable<z$1.ZodObject<{
@@ -2366,16 +2365,16 @@ declare const apiOperations: {
2366
2365
  provider: z$1.ZodLiteral<"stripe">;
2367
2366
  invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
2368
2367
  executor: z$1.ZodEnum<{
2369
- merchant: "merchant";
2370
2368
  indiana: "indiana";
2369
+ merchant: "merchant";
2371
2370
  }>;
2372
2371
  accountId: z$1.ZodString;
2373
2372
  subscriptionId: z$1.ZodString;
2374
2373
  action: z$1.ZodEnum<{
2375
- update: "update";
2376
2374
  cancel: "cancel";
2377
- schedule: "schedule";
2378
2375
  release: "release";
2376
+ update: "update";
2377
+ schedule: "schedule";
2379
2378
  }>;
2380
2379
  update: z$1.ZodNullable<z$1.ZodObject<{
2381
2380
  items: z$1.ZodArray<z$1.ZodObject<{
@@ -2389,9 +2388,9 @@ declare const apiOperations: {
2389
2388
  quantity: z$1.ZodNumber;
2390
2389
  }, z$1.core.$strict>>>;
2391
2390
  prorationBehavior: z$1.ZodOptional<z$1.ZodEnum<{
2391
+ none: "none";
2392
2392
  always_invoice: "always_invoice";
2393
2393
  create_prorations: "create_prorations";
2394
- none: "none";
2395
2394
  }>>;
2396
2395
  prorationDate: z$1.ZodOptional<z$1.ZodNumber>;
2397
2396
  paymentBehavior: z$1.ZodOptional<z$1.ZodLiteral<"error_if_incomplete">>;
@@ -2468,12 +2467,12 @@ declare const apiOperations: {
2468
2467
  batchId: z$1.ZodUUID;
2469
2468
  ready: z$1.ZodBoolean;
2470
2469
  status: z$1.ZodEnum<{
2470
+ expired: "expired";
2471
2471
  pending: "pending";
2472
- cancelled: "cancelled";
2473
2472
  prepared: "prepared";
2474
- expired: "expired";
2475
- partial: "partial";
2476
2473
  effective: "effective";
2474
+ cancelled: "cancelled";
2475
+ partial: "partial";
2477
2476
  action_required: "action_required";
2478
2477
  }>;
2479
2478
  createdAt: z$1.ZodISODateTime;
@@ -2495,13 +2494,13 @@ declare const apiOperations: {
2495
2494
  renewal: "renewal";
2496
2495
  }>;
2497
2496
  status: z$1.ZodEnum<{
2497
+ scheduled: "scheduled";
2498
2498
  pending: "pending";
2499
- cancelled: "cancelled";
2500
2499
  failed: "failed";
2501
2500
  prepared: "prepared";
2502
2501
  effective: "effective";
2503
2502
  confirmed: "confirmed";
2504
- scheduled: "scheduled";
2503
+ cancelled: "cancelled";
2505
2504
  store_action_required: "store_action_required";
2506
2505
  }>;
2507
2506
  quote: z$1.ZodNullable<z$1.ZodObject<{
@@ -2567,16 +2566,16 @@ declare const apiOperations: {
2567
2566
  provider: z$1.ZodLiteral<"stripe">;
2568
2567
  invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
2569
2568
  executor: z$1.ZodEnum<{
2570
- merchant: "merchant";
2571
2569
  indiana: "indiana";
2570
+ merchant: "merchant";
2572
2571
  }>;
2573
2572
  accountId: z$1.ZodString;
2574
2573
  subscriptionId: z$1.ZodString;
2575
2574
  action: z$1.ZodEnum<{
2576
- update: "update";
2577
2575
  cancel: "cancel";
2578
- schedule: "schedule";
2579
2576
  release: "release";
2577
+ update: "update";
2578
+ schedule: "schedule";
2580
2579
  }>;
2581
2580
  update: z$1.ZodNullable<z$1.ZodObject<{
2582
2581
  items: z$1.ZodArray<z$1.ZodObject<{
@@ -2590,9 +2589,9 @@ declare const apiOperations: {
2590
2589
  quantity: z$1.ZodNumber;
2591
2590
  }, z$1.core.$strict>>>;
2592
2591
  prorationBehavior: z$1.ZodOptional<z$1.ZodEnum<{
2592
+ none: "none";
2593
2593
  always_invoice: "always_invoice";
2594
2594
  create_prorations: "create_prorations";
2595
- none: "none";
2596
2595
  }>>;
2597
2596
  prorationDate: z$1.ZodOptional<z$1.ZodNumber>;
2598
2597
  paymentBehavior: z$1.ZodOptional<z$1.ZodLiteral<"error_if_incomplete">>;
@@ -2669,12 +2668,12 @@ declare const apiOperations: {
2669
2668
  batchId: z$1.ZodUUID;
2670
2669
  ready: z$1.ZodBoolean;
2671
2670
  status: z$1.ZodEnum<{
2671
+ expired: "expired";
2672
2672
  pending: "pending";
2673
- cancelled: "cancelled";
2674
2673
  prepared: "prepared";
2675
- expired: "expired";
2676
- partial: "partial";
2677
2674
  effective: "effective";
2675
+ cancelled: "cancelled";
2676
+ partial: "partial";
2678
2677
  action_required: "action_required";
2679
2678
  }>;
2680
2679
  createdAt: z$1.ZodISODateTime;
@@ -2696,13 +2695,13 @@ declare const apiOperations: {
2696
2695
  renewal: "renewal";
2697
2696
  }>;
2698
2697
  status: z$1.ZodEnum<{
2698
+ scheduled: "scheduled";
2699
2699
  pending: "pending";
2700
- cancelled: "cancelled";
2701
2700
  failed: "failed";
2702
2701
  prepared: "prepared";
2703
2702
  effective: "effective";
2704
2703
  confirmed: "confirmed";
2705
- scheduled: "scheduled";
2704
+ cancelled: "cancelled";
2706
2705
  store_action_required: "store_action_required";
2707
2706
  }>;
2708
2707
  quote: z$1.ZodNullable<z$1.ZodObject<{
@@ -2768,16 +2767,16 @@ declare const apiOperations: {
2768
2767
  provider: z$1.ZodLiteral<"stripe">;
2769
2768
  invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
2770
2769
  executor: z$1.ZodEnum<{
2771
- merchant: "merchant";
2772
2770
  indiana: "indiana";
2771
+ merchant: "merchant";
2773
2772
  }>;
2774
2773
  accountId: z$1.ZodString;
2775
2774
  subscriptionId: z$1.ZodString;
2776
2775
  action: z$1.ZodEnum<{
2777
- update: "update";
2778
2776
  cancel: "cancel";
2779
- schedule: "schedule";
2780
2777
  release: "release";
2778
+ update: "update";
2779
+ schedule: "schedule";
2781
2780
  }>;
2782
2781
  update: z$1.ZodNullable<z$1.ZodObject<{
2783
2782
  items: z$1.ZodArray<z$1.ZodObject<{
@@ -2791,9 +2790,9 @@ declare const apiOperations: {
2791
2790
  quantity: z$1.ZodNumber;
2792
2791
  }, z$1.core.$strict>>>;
2793
2792
  prorationBehavior: z$1.ZodOptional<z$1.ZodEnum<{
2793
+ none: "none";
2794
2794
  always_invoice: "always_invoice";
2795
2795
  create_prorations: "create_prorations";
2796
- none: "none";
2797
2796
  }>>;
2798
2797
  prorationDate: z$1.ZodOptional<z$1.ZodNumber>;
2799
2798
  paymentBehavior: z$1.ZodOptional<z$1.ZodLiteral<"error_if_incomplete">>;
@@ -2888,8 +2887,8 @@ declare const apiOperations: {
2888
2887
  operationId: z$1.ZodUUID;
2889
2888
  action: z$1.ZodEnum<{
2890
2889
  start: "start";
2891
- extend: "extend";
2892
2890
  end: "end";
2891
+ extend: "extend";
2893
2892
  }>;
2894
2893
  status: z$1.ZodEnum<{
2895
2894
  pending: "pending";
@@ -2904,8 +2903,8 @@ declare const apiOperations: {
2904
2903
  execution: z$1.ZodNullable<z$1.ZodObject<{
2905
2904
  provider: z$1.ZodLiteral<"stripe">;
2906
2905
  executor: z$1.ZodEnum<{
2907
- merchant: "merchant";
2908
2906
  indiana: "indiana";
2907
+ merchant: "merchant";
2909
2908
  }>;
2910
2909
  accountId: z$1.ZodString;
2911
2910
  subscriptionId: z$1.ZodString;
@@ -2937,8 +2936,8 @@ declare const apiOperations: {
2937
2936
  operationId: z$1.ZodUUID;
2938
2937
  action: z$1.ZodEnum<{
2939
2938
  start: "start";
2940
- extend: "extend";
2941
2939
  end: "end";
2940
+ extend: "extend";
2942
2941
  }>;
2943
2942
  status: z$1.ZodEnum<{
2944
2943
  pending: "pending";
@@ -2953,8 +2952,8 @@ declare const apiOperations: {
2953
2952
  execution: z$1.ZodNullable<z$1.ZodObject<{
2954
2953
  provider: z$1.ZodLiteral<"stripe">;
2955
2954
  executor: z$1.ZodEnum<{
2956
- merchant: "merchant";
2957
2955
  indiana: "indiana";
2956
+ merchant: "merchant";
2958
2957
  }>;
2959
2958
  accountId: z$1.ZodString;
2960
2959
  subscriptionId: z$1.ZodString;
@@ -2976,15 +2975,15 @@ declare const apiOperations: {
2976
2975
  provider: z$1.ZodOptional<z$1.ZodEnum<{
2977
2976
  apple: "apple";
2978
2977
  google: "google";
2979
- stripe: "stripe";
2980
2978
  free: "free";
2979
+ stripe: "stripe";
2981
2980
  }>>;
2982
2981
  status: z$1.ZodOptional<z$1.ZodEnum<{
2983
2982
  active: "active";
2984
- refunded: "refunded";
2985
- trial: "trial";
2986
2983
  past_due: "past_due";
2984
+ trial: "trial";
2987
2985
  ended: "ended";
2986
+ refunded: "refunded";
2988
2987
  }>>;
2989
2988
  cursor: z$1.ZodOptional<z$1.ZodObject<{
2990
2989
  createdAt: z$1.ZodISODateTime;
@@ -3005,8 +3004,8 @@ declare const apiOperations: {
3005
3004
  items: z$1.ZodArray<z$1.ZodObject<{
3006
3005
  status: z$1.ZodEnum<{
3007
3006
  active: "active";
3008
- trial: "trial";
3009
3007
  past_due: "past_due";
3008
+ trial: "trial";
3010
3009
  ended: "ended";
3011
3010
  }>;
3012
3011
  cancelAtPeriodEnd: z$1.ZodBoolean;
@@ -3020,8 +3019,8 @@ declare const apiOperations: {
3020
3019
  provider: z$1.ZodEnum<{
3021
3020
  apple: "apple";
3022
3021
  google: "google";
3023
- stripe: "stripe";
3024
3022
  free: "free";
3023
+ stripe: "stripe";
3025
3024
  }>;
3026
3025
  createdAt: z$1.ZodISODateTime;
3027
3026
  }, z$1.core.$strict>>;
@@ -3044,15 +3043,15 @@ declare const apiOperations: {
3044
3043
  provider: z$1.ZodOptional<z$1.ZodEnum<{
3045
3044
  apple: "apple";
3046
3045
  google: "google";
3047
- stripe: "stripe";
3048
3046
  free: "free";
3047
+ stripe: "stripe";
3049
3048
  }>>;
3050
3049
  status: z$1.ZodOptional<z$1.ZodEnum<{
3051
3050
  active: "active";
3052
- refunded: "refunded";
3053
- trial: "trial";
3054
3051
  past_due: "past_due";
3052
+ trial: "trial";
3055
3053
  ended: "ended";
3054
+ refunded: "refunded";
3056
3055
  }>>;
3057
3056
  cursor: z$1.ZodOptional<z$1.ZodObject<{
3058
3057
  createdAt: z$1.ZodISODateTime;
@@ -3073,8 +3072,8 @@ declare const apiOperations: {
3073
3072
  items: z$1.ZodArray<z$1.ZodObject<{
3074
3073
  status: z$1.ZodEnum<{
3075
3074
  active: "active";
3076
- refunded: "refunded";
3077
3075
  ended: "ended";
3076
+ refunded: "refunded";
3078
3077
  }>;
3079
3078
  orderId: z$1.ZodNullable<z$1.ZodUUID>;
3080
3079
  transactionId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -3123,8 +3122,8 @@ declare const apiOperations: {
3123
3122
  provider: z$1.ZodEnum<{
3124
3123
  apple: "apple";
3125
3124
  google: "google";
3126
- stripe: "stripe";
3127
3125
  free: "free";
3126
+ stripe: "stripe";
3128
3127
  }>;
3129
3128
  createdAt: z$1.ZodISODateTime;
3130
3129
  }, z$1.core.$strict>>;
@@ -3147,8 +3146,8 @@ declare const apiOperations: {
3147
3146
  provider: z$1.ZodOptional<z$1.ZodEnum<{
3148
3147
  apple: "apple";
3149
3148
  google: "google";
3150
- stripe: "stripe";
3151
3149
  free: "free";
3150
+ stripe: "stripe";
3152
3151
  }>>;
3153
3152
  cursor: z$1.ZodOptional<z$1.ZodObject<{
3154
3153
  createdAt: z$1.ZodISODateTime;
@@ -3190,8 +3189,8 @@ declare const apiOperations: {
3190
3189
  provider: z$1.ZodEnum<{
3191
3190
  apple: "apple";
3192
3191
  google: "google";
3193
- stripe: "stripe";
3194
3192
  free: "free";
3193
+ stripe: "stripe";
3195
3194
  }>;
3196
3195
  createdAt: z$1.ZodISODateTime;
3197
3196
  }, z$1.core.$strict>>;
@@ -3260,17 +3259,17 @@ declare const apiOperations: {
3260
3259
  subscriptionId: z$1.ZodString;
3261
3260
  itemId: z$1.ZodNullable<z$1.ZodString>;
3262
3261
  field: z$1.ZodEnum<{
3263
- status: "status";
3264
- currency: "currency";
3265
- quantity: "quantity";
3266
- periodStart: "periodStart";
3267
- periodEnd: "periodEnd";
3268
3262
  price: "price";
3263
+ currency: "currency";
3264
+ status: "status";
3265
+ subscription: "subscription";
3269
3266
  cancelAtPeriodEnd: "cancelAtPeriodEnd";
3267
+ quantity: "quantity";
3268
+ product: "product";
3270
3269
  trialEnd: "trialEnd";
3271
- subscription: "subscription";
3272
3270
  item: "item";
3273
- product: "product";
3271
+ periodStart: "periodStart";
3272
+ periodEnd: "periodEnd";
3274
3273
  evidence: "evidence";
3275
3274
  }>;
3276
3275
  expected: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean, z$1.ZodNull]>;
@@ -3608,8 +3607,8 @@ declare const apiOperations: {
3608
3607
  }, z$1.core.$strict>>;
3609
3608
  provider: z$1.ZodLiteral<"stripe">;
3610
3609
  executor: z$1.ZodEnum<{
3611
- merchant: "merchant";
3612
3610
  indiana: "indiana";
3611
+ merchant: "merchant";
3613
3612
  }>;
3614
3613
  accountId: z$1.ZodString;
3615
3614
  mode: z$1.ZodEnum<{
@@ -3624,10 +3623,10 @@ declare const apiOperations: {
3624
3623
  amountMinor: z$1.ZodNumber;
3625
3624
  currency: z$1.ZodString;
3626
3625
  interval: z$1.ZodEnum<{
3626
+ one_off: "one_off";
3627
3627
  week: "week";
3628
3628
  month: "month";
3629
3629
  year: "year";
3630
- one_off: "one_off";
3631
3630
  }>;
3632
3631
  intervalCount: z$1.ZodNumber;
3633
3632
  slot: z$1.ZodEnum<{
@@ -3655,9 +3654,9 @@ declare const apiOperations: {
3655
3654
  amount_off: z$1.ZodOptional<z$1.ZodNumber>;
3656
3655
  currency: z$1.ZodOptional<z$1.ZodString>;
3657
3656
  duration: z$1.ZodEnum<{
3657
+ forever: "forever";
3658
3658
  once: "once";
3659
3659
  repeating: "repeating";
3660
- forever: "forever";
3661
3660
  }>;
3662
3661
  duration_in_months: z$1.ZodOptional<z$1.ZodNumber>;
3663
3662
  }, z$1.core.$strict>;
@@ -3700,14 +3699,14 @@ declare const apiOperations: {
3700
3699
  append: z$1.ZodOptional<z$1.ZodBoolean>;
3701
3700
  invoiceMode: z$1.ZodOptional<z$1.ZodBoolean>;
3702
3701
  status: z$1.ZodEnum<{
3703
- complete: "complete";
3704
3702
  pending: "pending";
3705
- cancelled: "cancelled";
3706
3703
  failed: "failed";
3704
+ complete: "complete";
3705
+ cancelled: "cancelled";
3707
3706
  }>;
3708
3707
  executor: z$1.ZodEnum<{
3709
- merchant: "merchant";
3710
3708
  indiana: "indiana";
3709
+ merchant: "merchant";
3711
3710
  }>;
3712
3711
  checkoutUrl: z$1.ZodNullable<z$1.ZodURL>;
3713
3712
  execution: z$1.ZodNullable<z$1.ZodObject<{
@@ -3733,8 +3732,8 @@ declare const apiOperations: {
3733
3732
  }, z$1.core.$strict>>;
3734
3733
  provider: z$1.ZodLiteral<"stripe">;
3735
3734
  executor: z$1.ZodEnum<{
3736
- merchant: "merchant";
3737
3735
  indiana: "indiana";
3736
+ merchant: "merchant";
3738
3737
  }>;
3739
3738
  accountId: z$1.ZodString;
3740
3739
  mode: z$1.ZodEnum<{
@@ -3749,10 +3748,10 @@ declare const apiOperations: {
3749
3748
  amountMinor: z$1.ZodNumber;
3750
3749
  currency: z$1.ZodString;
3751
3750
  interval: z$1.ZodEnum<{
3751
+ one_off: "one_off";
3752
3752
  week: "week";
3753
3753
  month: "month";
3754
3754
  year: "year";
3755
- one_off: "one_off";
3756
3755
  }>;
3757
3756
  intervalCount: z$1.ZodNumber;
3758
3757
  slot: z$1.ZodEnum<{
@@ -3780,9 +3779,9 @@ declare const apiOperations: {
3780
3779
  amount_off: z$1.ZodOptional<z$1.ZodNumber>;
3781
3780
  currency: z$1.ZodOptional<z$1.ZodString>;
3782
3781
  duration: z$1.ZodEnum<{
3782
+ forever: "forever";
3783
3783
  once: "once";
3784
3784
  repeating: "repeating";
3785
- forever: "forever";
3786
3785
  }>;
3787
3786
  duration_in_months: z$1.ZodOptional<z$1.ZodNumber>;
3788
3787
  }, z$1.core.$strict>;
@@ -3944,14 +3943,14 @@ declare const apiOperations: {
3944
3943
  append: z$1.ZodOptional<z$1.ZodBoolean>;
3945
3944
  invoiceMode: z$1.ZodOptional<z$1.ZodBoolean>;
3946
3945
  status: z$1.ZodEnum<{
3947
- complete: "complete";
3948
3946
  pending: "pending";
3949
- cancelled: "cancelled";
3950
3947
  failed: "failed";
3948
+ complete: "complete";
3949
+ cancelled: "cancelled";
3951
3950
  }>;
3952
3951
  executor: z$1.ZodEnum<{
3953
- merchant: "merchant";
3954
3952
  indiana: "indiana";
3953
+ merchant: "merchant";
3955
3954
  }>;
3956
3955
  checkoutUrl: z$1.ZodNullable<z$1.ZodURL>;
3957
3956
  execution: z$1.ZodNullable<z$1.ZodObject<{
@@ -3977,8 +3976,8 @@ declare const apiOperations: {
3977
3976
  }, z$1.core.$strict>>;
3978
3977
  provider: z$1.ZodLiteral<"stripe">;
3979
3978
  executor: z$1.ZodEnum<{
3980
- merchant: "merchant";
3981
3979
  indiana: "indiana";
3980
+ merchant: "merchant";
3982
3981
  }>;
3983
3982
  accountId: z$1.ZodString;
3984
3983
  mode: z$1.ZodEnum<{
@@ -3993,10 +3992,10 @@ declare const apiOperations: {
3993
3992
  amountMinor: z$1.ZodNumber;
3994
3993
  currency: z$1.ZodString;
3995
3994
  interval: z$1.ZodEnum<{
3995
+ one_off: "one_off";
3996
3996
  week: "week";
3997
3997
  month: "month";
3998
3998
  year: "year";
3999
- one_off: "one_off";
4000
3999
  }>;
4001
4000
  intervalCount: z$1.ZodNumber;
4002
4001
  slot: z$1.ZodEnum<{
@@ -4024,9 +4023,9 @@ declare const apiOperations: {
4024
4023
  amount_off: z$1.ZodOptional<z$1.ZodNumber>;
4025
4024
  currency: z$1.ZodOptional<z$1.ZodString>;
4026
4025
  duration: z$1.ZodEnum<{
4026
+ forever: "forever";
4027
4027
  once: "once";
4028
4028
  repeating: "repeating";
4029
- forever: "forever";
4030
4029
  }>;
4031
4030
  duration_in_months: z$1.ZodOptional<z$1.ZodNumber>;
4032
4031
  }, z$1.core.$strict>;
@@ -4183,8 +4182,8 @@ declare const apiOperations: {
4183
4182
  }, z$1.core.$strict>>;
4184
4183
  membershipIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUUID>>;
4185
4184
  prorationBehavior: z$1.ZodOptional<z$1.ZodEnum<{
4186
- none: "none";
4187
4185
  prorate_immediately: "prorate_immediately";
4186
+ none: "none";
4188
4187
  bill_difference: "bill_difference";
4189
4188
  }>>;
4190
4189
  timing: z$1.ZodEnum<{
@@ -4285,16 +4284,16 @@ declare const apiOperations: {
4285
4284
  provider: z$1.ZodLiteral<"stripe">;
4286
4285
  invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
4287
4286
  executor: z$1.ZodEnum<{
4288
- merchant: "merchant";
4289
4287
  indiana: "indiana";
4288
+ merchant: "merchant";
4290
4289
  }>;
4291
4290
  accountId: z$1.ZodString;
4292
4291
  subscriptionId: z$1.ZodString;
4293
4292
  action: z$1.ZodEnum<{
4294
- update: "update";
4295
4293
  cancel: "cancel";
4296
- schedule: "schedule";
4297
4294
  release: "release";
4295
+ update: "update";
4296
+ schedule: "schedule";
4298
4297
  }>;
4299
4298
  update: z$1.ZodNullable<z$1.ZodObject<{
4300
4299
  items: z$1.ZodArray<z$1.ZodObject<{
@@ -4308,9 +4307,9 @@ declare const apiOperations: {
4308
4307
  quantity: z$1.ZodNumber;
4309
4308
  }, z$1.core.$strict>>>;
4310
4309
  prorationBehavior: z$1.ZodOptional<z$1.ZodEnum<{
4310
+ none: "none";
4311
4311
  always_invoice: "always_invoice";
4312
4312
  create_prorations: "create_prorations";
4313
- none: "none";
4314
4313
  }>>;
4315
4314
  prorationDate: z$1.ZodOptional<z$1.ZodNumber>;
4316
4315
  paymentBehavior: z$1.ZodOptional<z$1.ZodLiteral<"error_if_incomplete">>;
@@ -4445,14 +4444,14 @@ declare const apiOperations: {
4445
4444
  membershipId: z$1.ZodUUID;
4446
4445
  productVersionId: z$1.ZodUUID;
4447
4446
  status: z$1.ZodEnum<{
4447
+ scheduled: "scheduled";
4448
4448
  pending: "pending";
4449
- cancelled: "cancelled";
4450
4449
  failed: "failed";
4451
4450
  prepared: "prepared";
4452
4451
  effective: "effective";
4453
4452
  confirmed: "confirmed";
4454
- scheduled: "scheduled";
4455
4453
  quoted: "quoted";
4454
+ cancelled: "cancelled";
4456
4455
  }>;
4457
4456
  timing: z$1.ZodEnum<{
4458
4457
  immediate: "immediate";
@@ -4461,23 +4460,23 @@ declare const apiOperations: {
4461
4460
  effectiveAt: z$1.ZodISODateTime;
4462
4461
  checkoutUrl: z$1.ZodNullable<z$1.ZodURL>;
4463
4462
  executor: z$1.ZodEnum<{
4464
- merchant: "merchant";
4465
4463
  indiana: "indiana";
4464
+ merchant: "merchant";
4466
4465
  }>;
4467
4466
  execution: z$1.ZodNullable<z$1.ZodObject<{
4468
4467
  provider: z$1.ZodLiteral<"stripe">;
4469
4468
  invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
4470
4469
  executor: z$1.ZodEnum<{
4471
- merchant: "merchant";
4472
4470
  indiana: "indiana";
4471
+ merchant: "merchant";
4473
4472
  }>;
4474
4473
  accountId: z$1.ZodString;
4475
4474
  subscriptionId: z$1.ZodString;
4476
4475
  action: z$1.ZodEnum<{
4477
- update: "update";
4478
4476
  cancel: "cancel";
4479
- schedule: "schedule";
4480
4477
  release: "release";
4478
+ update: "update";
4479
+ schedule: "schedule";
4481
4480
  }>;
4482
4481
  update: z$1.ZodNullable<z$1.ZodObject<{
4483
4482
  items: z$1.ZodArray<z$1.ZodObject<{
@@ -4491,9 +4490,9 @@ declare const apiOperations: {
4491
4490
  quantity: z$1.ZodNumber;
4492
4491
  }, z$1.core.$strict>>>;
4493
4492
  prorationBehavior: z$1.ZodOptional<z$1.ZodEnum<{
4493
+ none: "none";
4494
4494
  always_invoice: "always_invoice";
4495
4495
  create_prorations: "create_prorations";
4496
- none: "none";
4497
4496
  }>>;
4498
4497
  prorationDate: z$1.ZodOptional<z$1.ZodNumber>;
4499
4498
  paymentBehavior: z$1.ZodOptional<z$1.ZodLiteral<"error_if_incomplete">>;
@@ -4543,10 +4542,10 @@ declare const apiOperations: {
4543
4542
  productVersionId: z$1.ZodUUID;
4544
4543
  status: z$1.ZodEnum<{
4545
4544
  pending: "pending";
4546
- cancelled: "cancelled";
4547
4545
  failed: "failed";
4548
4546
  prepared: "prepared";
4549
4547
  effective: "effective";
4548
+ cancelled: "cancelled";
4550
4549
  }>;
4551
4550
  timing: z$1.ZodLiteral<"store">;
4552
4551
  effectiveAt: z$1.ZodNullable<z$1.ZodISODateTime>;
@@ -4662,14 +4661,14 @@ declare const apiOperations: {
4662
4661
  membershipId: z$1.ZodUUID;
4663
4662
  productVersionId: z$1.ZodUUID;
4664
4663
  status: z$1.ZodEnum<{
4664
+ scheduled: "scheduled";
4665
4665
  pending: "pending";
4666
- cancelled: "cancelled";
4667
4666
  failed: "failed";
4668
4667
  prepared: "prepared";
4669
4668
  effective: "effective";
4670
4669
  confirmed: "confirmed";
4671
- scheduled: "scheduled";
4672
4670
  quoted: "quoted";
4671
+ cancelled: "cancelled";
4673
4672
  }>;
4674
4673
  timing: z$1.ZodEnum<{
4675
4674
  immediate: "immediate";
@@ -4678,23 +4677,23 @@ declare const apiOperations: {
4678
4677
  effectiveAt: z$1.ZodISODateTime;
4679
4678
  checkoutUrl: z$1.ZodNullable<z$1.ZodURL>;
4680
4679
  executor: z$1.ZodEnum<{
4681
- merchant: "merchant";
4682
4680
  indiana: "indiana";
4681
+ merchant: "merchant";
4683
4682
  }>;
4684
4683
  execution: z$1.ZodNullable<z$1.ZodObject<{
4685
4684
  provider: z$1.ZodLiteral<"stripe">;
4686
4685
  invoiceMode: z$1.ZodOptional<z$1.ZodType<InvoiceModeParams, InvoiceModeParamsInput, z$1.core.$ZodTypeInternals<InvoiceModeParams, InvoiceModeParamsInput>>>;
4687
4686
  executor: z$1.ZodEnum<{
4688
- merchant: "merchant";
4689
4687
  indiana: "indiana";
4688
+ merchant: "merchant";
4690
4689
  }>;
4691
4690
  accountId: z$1.ZodString;
4692
4691
  subscriptionId: z$1.ZodString;
4693
4692
  action: z$1.ZodEnum<{
4694
- update: "update";
4695
4693
  cancel: "cancel";
4696
- schedule: "schedule";
4697
4694
  release: "release";
4695
+ update: "update";
4696
+ schedule: "schedule";
4698
4697
  }>;
4699
4698
  update: z$1.ZodNullable<z$1.ZodObject<{
4700
4699
  items: z$1.ZodArray<z$1.ZodObject<{
@@ -4708,9 +4707,9 @@ declare const apiOperations: {
4708
4707
  quantity: z$1.ZodNumber;
4709
4708
  }, z$1.core.$strict>>>;
4710
4709
  prorationBehavior: z$1.ZodOptional<z$1.ZodEnum<{
4710
+ none: "none";
4711
4711
  always_invoice: "always_invoice";
4712
4712
  create_prorations: "create_prorations";
4713
- none: "none";
4714
4713
  }>>;
4715
4714
  prorationDate: z$1.ZodOptional<z$1.ZodNumber>;
4716
4715
  paymentBehavior: z$1.ZodOptional<z$1.ZodLiteral<"error_if_incomplete">>;
@@ -4760,10 +4759,10 @@ declare const apiOperations: {
4760
4759
  productVersionId: z$1.ZodUUID;
4761
4760
  status: z$1.ZodEnum<{
4762
4761
  pending: "pending";
4763
- cancelled: "cancelled";
4764
4762
  failed: "failed";
4765
4763
  prepared: "prepared";
4766
4764
  effective: "effective";
4765
+ cancelled: "cancelled";
4767
4766
  }>;
4768
4767
  timing: z$1.ZodLiteral<"store">;
4769
4768
  effectiveAt: z$1.ZodNullable<z$1.ZodISODateTime>;
@@ -4864,8 +4863,8 @@ declare const apiOperations: {
4864
4863
  requestId: z$1.ZodUUID;
4865
4864
  invoiceId: z$1.ZodUUID;
4866
4865
  mode: z$1.ZodEnum<{
4867
- partial: "partial";
4868
4866
  full: "full";
4867
+ partial: "partial";
4869
4868
  }>;
4870
4869
  amountMinor: z$1.ZodOptional<z$1.ZodNumber>;
4871
4870
  entitlementAction: z$1.ZodEnum<{
@@ -4927,8 +4926,8 @@ declare const apiOperations: {
4927
4926
  pendingMinor: z$1.ZodNumber;
4928
4927
  amountMinor: z$1.ZodNumber;
4929
4928
  mode: z$1.ZodEnum<{
4930
- partial: "partial";
4931
4929
  full: "full";
4930
+ partial: "partial";
4932
4931
  }>;
4933
4932
  entitlementAction: z$1.ZodEnum<{
4934
4933
  revoke: "revoke";
@@ -4941,8 +4940,8 @@ declare const apiOperations: {
4941
4940
  execution: z$1.ZodObject<{
4942
4941
  provider: z$1.ZodLiteral<"stripe">;
4943
4942
  executor: z$1.ZodEnum<{
4944
- merchant: "merchant";
4945
4943
  indiana: "indiana";
4944
+ merchant: "merchant";
4946
4945
  }>;
4947
4946
  accountId: z$1.ZodString;
4948
4947
  invoice: z$1.ZodString;
@@ -4981,15 +4980,15 @@ declare const apiOperations: {
4981
4980
  invoiceId: z$1.ZodUUID;
4982
4981
  providerInvoiceId: z$1.ZodString;
4983
4982
  status: z$1.ZodEnum<{
4983
+ expired: "expired";
4984
4984
  pending: "pending";
4985
4985
  failed: "failed";
4986
- expired: "expired";
4987
4986
  quoted: "quoted";
4988
4987
  succeeded: "succeeded";
4989
4988
  }>;
4990
4989
  executor: z$1.ZodEnum<{
4991
- merchant: "merchant";
4992
4990
  indiana: "indiana";
4991
+ merchant: "merchant";
4993
4992
  }>;
4994
4993
  currency: z$1.ZodEnum<{
4995
4994
  USD: "USD";
@@ -5028,8 +5027,8 @@ declare const apiOperations: {
5028
5027
  }>;
5029
5028
  amountMinor: z$1.ZodNumber;
5030
5029
  mode: z$1.ZodEnum<{
5031
- partial: "partial";
5032
5030
  full: "full";
5031
+ partial: "partial";
5033
5032
  }>;
5034
5033
  entitlementAction: z$1.ZodEnum<{
5035
5034
  revoke: "revoke";
@@ -5039,8 +5038,8 @@ declare const apiOperations: {
5039
5038
  execution: z$1.ZodNullable<z$1.ZodObject<{
5040
5039
  provider: z$1.ZodLiteral<"stripe">;
5041
5040
  executor: z$1.ZodEnum<{
5042
- merchant: "merchant";
5043
5041
  indiana: "indiana";
5042
+ merchant: "merchant";
5044
5043
  }>;
5045
5044
  accountId: z$1.ZodString;
5046
5045
  invoice: z$1.ZodString;
@@ -5081,15 +5080,15 @@ declare const apiOperations: {
5081
5080
  invoiceId: z$1.ZodUUID;
5082
5081
  providerInvoiceId: z$1.ZodString;
5083
5082
  status: z$1.ZodEnum<{
5083
+ expired: "expired";
5084
5084
  pending: "pending";
5085
5085
  failed: "failed";
5086
- expired: "expired";
5087
5086
  quoted: "quoted";
5088
5087
  succeeded: "succeeded";
5089
5088
  }>;
5090
5089
  executor: z$1.ZodEnum<{
5091
- merchant: "merchant";
5092
5090
  indiana: "indiana";
5091
+ merchant: "merchant";
5093
5092
  }>;
5094
5093
  currency: z$1.ZodEnum<{
5095
5094
  USD: "USD";
@@ -5128,8 +5127,8 @@ declare const apiOperations: {
5128
5127
  }>;
5129
5128
  amountMinor: z$1.ZodNumber;
5130
5129
  mode: z$1.ZodEnum<{
5131
- partial: "partial";
5132
5130
  full: "full";
5131
+ partial: "partial";
5133
5132
  }>;
5134
5133
  entitlementAction: z$1.ZodEnum<{
5135
5134
  revoke: "revoke";
@@ -5139,8 +5138,8 @@ declare const apiOperations: {
5139
5138
  execution: z$1.ZodNullable<z$1.ZodObject<{
5140
5139
  provider: z$1.ZodLiteral<"stripe">;
5141
5140
  executor: z$1.ZodEnum<{
5142
- merchant: "merchant";
5143
5141
  indiana: "indiana";
5142
+ merchant: "merchant";
5144
5143
  }>;
5145
5144
  accountId: z$1.ZodString;
5146
5145
  invoice: z$1.ZodString;
@@ -5185,10 +5184,10 @@ declare const apiOperations: {
5185
5184
  quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
5186
5185
  purchaseLimit: z$1.ZodOptional<z$1.ZodObject<{
5187
5186
  interval: z$1.ZodEnum<{
5188
- hour: "hour";
5189
- day: "day";
5190
5187
  week: "week";
5191
5188
  month: "month";
5189
+ hour: "hour";
5190
+ day: "day";
5192
5191
  }>;
5193
5192
  intervalCount: z$1.ZodNumber;
5194
5193
  limit: z$1.ZodNumber;
@@ -5353,10 +5352,10 @@ declare const apiOperations: {
5353
5352
  internal_feature_id: z$1.ZodUUID;
5354
5353
  entityId: z$1.ZodNullable<z$1.ZodUUID>;
5355
5354
  interval: z$1.ZodEnum<{
5356
- day: "day";
5357
5355
  week: "week";
5358
5356
  month: "month";
5359
5357
  year: "year";
5358
+ day: "day";
5360
5359
  }>;
5361
5360
  anchor: z$1.ZodOptional<z$1.ZodEnum<{
5362
5361
  billing_cycle: "billing_cycle";
@@ -5381,10 +5380,10 @@ declare const apiOperations: {
5381
5380
  overageLimit: z$1.ZodNullable<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
5382
5381
  skipOverageBilling: z$1.ZodBoolean;
5383
5382
  interval: z$1.ZodEnum<{
5384
- day: "day";
5385
5383
  week: "week";
5386
5384
  month: "month";
5387
5385
  year: "year";
5386
+ day: "day";
5388
5387
  }>;
5389
5388
  startsAt: z$1.ZodISODateTime;
5390
5389
  endsAt: z$1.ZodISODateTime;
@@ -5396,10 +5395,10 @@ declare const apiOperations: {
5396
5395
  internal_feature_id: z$1.ZodUUID;
5397
5396
  entityId: z$1.ZodNullable<z$1.ZodUUID>;
5398
5397
  interval: z$1.ZodEnum<{
5399
- day: "day";
5400
5398
  week: "week";
5401
5399
  month: "month";
5402
5400
  year: "year";
5401
+ day: "day";
5403
5402
  }>;
5404
5403
  anchor: z$1.ZodOptional<z$1.ZodEnum<{
5405
5404
  billing_cycle: "billing_cycle";
@@ -5458,10 +5457,10 @@ declare const apiOperations: {
5458
5457
  quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
5459
5458
  purchaseLimit: z$1.ZodOptional<z$1.ZodObject<{
5460
5459
  interval: z$1.ZodEnum<{
5461
- hour: "hour";
5462
- day: "day";
5463
5460
  week: "week";
5464
5461
  month: "month";
5462
+ hour: "hour";
5463
+ day: "day";
5465
5464
  }>;
5466
5465
  intervalCount: z$1.ZodNumber;
5467
5466
  limit: z$1.ZodNumber;
@@ -5564,10 +5563,10 @@ declare const apiOperations: {
5564
5563
  quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
5565
5564
  purchaseLimit: z$1.ZodOptional<z$1.ZodObject<{
5566
5565
  interval: z$1.ZodEnum<{
5567
- hour: "hour";
5568
- day: "day";
5569
5566
  week: "week";
5570
5567
  month: "month";
5568
+ hour: "hour";
5569
+ day: "day";
5571
5570
  }>;
5572
5571
  intervalCount: z$1.ZodNumber;
5573
5572
  limit: z$1.ZodNumber;
@@ -5747,10 +5746,10 @@ declare const apiOperations: {
5747
5746
  quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
5748
5747
  purchaseLimit: z$1.ZodOptional<z$1.ZodObject<{
5749
5748
  interval: z$1.ZodEnum<{
5750
- hour: "hour";
5751
- day: "day";
5752
5749
  week: "week";
5753
5750
  month: "month";
5751
+ hour: "hour";
5752
+ day: "day";
5754
5753
  }>;
5755
5754
  intervalCount: z$1.ZodNumber;
5756
5755
  limit: z$1.ZodNumber;
@@ -5967,9 +5966,9 @@ declare const apiOperations: {
5967
5966
  amount_off: z$1.ZodOptional<z$1.ZodNumber>;
5968
5967
  currency: z$1.ZodOptional<z$1.ZodString>;
5969
5968
  duration: z$1.ZodEnum<{
5969
+ forever: "forever";
5970
5970
  once: "once";
5971
5971
  repeating: "repeating";
5972
- forever: "forever";
5973
5972
  }>;
5974
5973
  duration_in_months: z$1.ZodOptional<z$1.ZodNumber>;
5975
5974
  }, z$1.core.$strict>>;
@@ -6068,10 +6067,10 @@ declare const apiOperations: {
6068
6067
  quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
6069
6068
  purchaseLimit: z$1.ZodOptional<z$1.ZodObject<{
6070
6069
  interval: z$1.ZodEnum<{
6071
- hour: "hour";
6072
- day: "day";
6073
6070
  week: "week";
6074
6071
  month: "month";
6072
+ hour: "hour";
6073
+ day: "day";
6075
6074
  }>;
6076
6075
  intervalCount: z$1.ZodNumber;
6077
6076
  limit: z$1.ZodNumber;
@@ -6263,11 +6262,11 @@ declare const apiOperations: {
6263
6262
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
6264
6263
  status: z$1.ZodEnum<{
6265
6264
  void: "void";
6266
- open: "open";
6267
- paid: "paid";
6268
6265
  pending: "pending";
6269
6266
  failed: "failed";
6267
+ open: "open";
6270
6268
  accruing: "accruing";
6269
+ paid: "paid";
6271
6270
  }>;
6272
6271
  currency: z$1.ZodEnum<{
6273
6272
  USD: "USD";
@@ -6425,11 +6424,11 @@ declare const apiOperations: {
6425
6424
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
6426
6425
  status: z$1.ZodEnum<{
6427
6426
  void: "void";
6428
- open: "open";
6429
- paid: "paid";
6430
6427
  pending: "pending";
6431
6428
  failed: "failed";
6429
+ open: "open";
6432
6430
  accruing: "accruing";
6431
+ paid: "paid";
6433
6432
  }>;
6434
6433
  currency: z$1.ZodEnum<{
6435
6434
  USD: "USD";
@@ -6568,10 +6567,10 @@ declare const apiOperations: {
6568
6567
  internal_feature_id: z$1.ZodUUID;
6569
6568
  entityId: z$1.ZodNullable<z$1.ZodUUID>;
6570
6569
  interval: z$1.ZodEnum<{
6571
- day: "day";
6572
6570
  week: "week";
6573
6571
  month: "month";
6574
6572
  year: "year";
6573
+ day: "day";
6575
6574
  }>;
6576
6575
  anchor: z$1.ZodOptional<z$1.ZodEnum<{
6577
6576
  billing_cycle: "billing_cycle";
@@ -6624,10 +6623,10 @@ declare const apiOperations: {
6624
6623
  quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
6625
6624
  purchaseLimit: z$1.ZodOptional<z$1.ZodObject<{
6626
6625
  interval: z$1.ZodEnum<{
6627
- hour: "hour";
6628
- day: "day";
6629
6626
  week: "week";
6630
6627
  month: "month";
6628
+ hour: "hour";
6629
+ day: "day";
6631
6630
  }>;
6632
6631
  intervalCount: z$1.ZodNumber;
6633
6632
  limit: z$1.ZodNumber;
@@ -6792,10 +6791,10 @@ declare const apiOperations: {
6792
6791
  internal_feature_id: z$1.ZodUUID;
6793
6792
  entityId: z$1.ZodNullable<z$1.ZodUUID>;
6794
6793
  interval: z$1.ZodEnum<{
6795
- day: "day";
6796
6794
  week: "week";
6797
6795
  month: "month";
6798
6796
  year: "year";
6797
+ day: "day";
6799
6798
  }>;
6800
6799
  anchor: z$1.ZodOptional<z$1.ZodEnum<{
6801
6800
  billing_cycle: "billing_cycle";
@@ -6820,10 +6819,10 @@ declare const apiOperations: {
6820
6819
  overageLimit: z$1.ZodNullable<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
6821
6820
  skipOverageBilling: z$1.ZodBoolean;
6822
6821
  interval: z$1.ZodEnum<{
6823
- day: "day";
6824
6822
  week: "week";
6825
6823
  month: "month";
6826
6824
  year: "year";
6825
+ day: "day";
6827
6826
  }>;
6828
6827
  startsAt: z$1.ZodISODateTime;
6829
6828
  endsAt: z$1.ZodISODateTime;
@@ -6835,10 +6834,10 @@ declare const apiOperations: {
6835
6834
  internal_feature_id: z$1.ZodUUID;
6836
6835
  entityId: z$1.ZodNullable<z$1.ZodUUID>;
6837
6836
  interval: z$1.ZodEnum<{
6838
- day: "day";
6839
6837
  week: "week";
6840
6838
  month: "month";
6841
6839
  year: "year";
6840
+ day: "day";
6842
6841
  }>;
6843
6842
  anchor: z$1.ZodOptional<z$1.ZodEnum<{
6844
6843
  billing_cycle: "billing_cycle";
@@ -6957,10 +6956,10 @@ declare const apiOperations: {
6957
6956
  values: z$1.ZodArray<z$1.ZodString>;
6958
6957
  }, z$1.core.$strict>>;
6959
6958
  interval: z$1.ZodEnum<{
6960
- hour: "hour";
6961
- day: "day";
6962
6959
  week: "week";
6963
6960
  month: "month";
6961
+ hour: "hour";
6962
+ day: "day";
6964
6963
  }>;
6965
6964
  internal_feature_id: z$1.ZodNullable<z$1.ZodUUID>;
6966
6965
  entityId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -6981,10 +6980,10 @@ declare const apiOperations: {
6981
6980
  from: z$1.ZodISODateTime;
6982
6981
  to: z$1.ZodISODateTime;
6983
6982
  interval: z$1.ZodEnum<{
6984
- hour: "hour";
6985
- day: "day";
6986
6983
  week: "week";
6987
6984
  month: "month";
6985
+ hour: "hour";
6986
+ day: "day";
6988
6987
  }>;
6989
6988
  timezone: z$1.ZodString;
6990
6989
  rows: z$1.ZodArray<z$1.ZodObject<{
@@ -7045,22 +7044,22 @@ declare const apiOperations: {
7045
7044
  values: z$1.ZodArray<z$1.ZodString>;
7046
7045
  }, z$1.core.$strict>>;
7047
7046
  interval: z$1.ZodEnum<{
7048
- hour: "hour";
7049
- day: "day";
7050
7047
  week: "week";
7051
7048
  month: "month";
7049
+ hour: "hour";
7050
+ day: "day";
7052
7051
  }>;
7053
7052
  internal_feature_id: z$1.ZodNullable<z$1.ZodUUID>;
7054
7053
  entityId: z$1.ZodNullable<z$1.ZodUUID>;
7055
7054
  topN: z$1.ZodNullable<z$1.ZodNumber>;
7056
7055
  groupBy: z$1.ZodUnion<readonly [z$1.ZodEnum<{
7057
- source: "source";
7058
7056
  customer: "customer";
7059
- plan: "plan";
7060
7057
  entity: "entity";
7058
+ source: "source";
7059
+ dimension: "dimension";
7060
+ plan: "plan";
7061
7061
  entitlement: "entitlement";
7062
7062
  resource: "resource";
7063
- dimension: "dimension";
7064
7063
  }>, z$1.ZodString]>;
7065
7064
  after: z$1.ZodNullable<z$1.ZodObject<{
7066
7065
  bucket: z$1.ZodISODateTime;
@@ -7085,10 +7084,10 @@ declare const apiOperations: {
7085
7084
  from: z$1.ZodISODateTime;
7086
7085
  to: z$1.ZodISODateTime;
7087
7086
  interval: z$1.ZodEnum<{
7088
- hour: "hour";
7089
- day: "day";
7090
7087
  week: "week";
7091
7088
  month: "month";
7089
+ hour: "hour";
7090
+ day: "day";
7092
7091
  }>;
7093
7092
  timezone: z$1.ZodString;
7094
7093
  rows: z$1.ZodArray<z$1.ZodObject<{
@@ -7186,20 +7185,20 @@ declare const apiOperations: {
7186
7185
  customerId: z$1.ZodUUID;
7187
7186
  idempotencyKey: z$1.ZodString;
7188
7187
  status: z$1.ZodEnum<{
7189
- rejected: "rejected";
7190
7188
  failed: "failed";
7191
7189
  accepted: "accepted";
7190
+ rejected: "rejected";
7192
7191
  queued: "queued";
7193
7192
  }>;
7194
7193
  receipt: z$1.ZodNullable<z$1.ZodObject<{
7195
7194
  id: z$1.ZodUUID;
7196
7195
  internal_feature_id: z$1.ZodUUID;
7197
7196
  kind: z$1.ZodEnum<{
7198
- release: "release";
7199
- confirm: "confirm";
7200
7197
  consume: "consume";
7201
7198
  reserve: "reserve";
7199
+ confirm: "confirm";
7202
7200
  refund: "refund";
7201
+ release: "release";
7203
7202
  expire: "expire";
7204
7203
  }>;
7205
7204
  originalId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -7222,8 +7221,8 @@ declare const apiOperations: {
7222
7221
  }>>;
7223
7222
  createdAt: z$1.ZodISODateTime;
7224
7223
  reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
7225
- pending: "pending";
7226
7224
  expired: "expired";
7225
+ pending: "pending";
7227
7226
  confirmed: "confirmed";
7228
7227
  released: "released";
7229
7228
  }>>;
@@ -7343,8 +7342,8 @@ declare const apiOperations: {
7343
7342
  internal_feature_id: z$1.ZodString;
7344
7343
  name: z$1.ZodString;
7345
7344
  kind: z$1.ZodEnum<{
7346
- access: "access";
7347
7345
  metered: "metered";
7346
+ access: "access";
7348
7347
  credit: "credit";
7349
7348
  }>;
7350
7349
  quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
@@ -7363,16 +7362,16 @@ declare const apiOperations: {
7363
7362
  }>>;
7364
7363
  preview: z$1.ZodNullable<z$1.ZodObject<{
7365
7364
  scenario: z$1.ZodEnum<{
7366
- feature_flag: "feature_flag";
7367
7365
  usage_limit: "usage_limit";
7366
+ feature_flag: "feature_flag";
7368
7367
  }>;
7369
7368
  candidates: z$1.ZodArray<z$1.ZodObject<{
7370
7369
  productId: z$1.ZodString;
7371
7370
  productVersionId: z$1.ZodString;
7372
7371
  name: z$1.ZodString;
7373
7372
  action: z$1.ZodEnum<{
7374
- purchase: "purchase";
7375
7373
  upgrade: "upgrade";
7374
+ purchase: "purchase";
7376
7375
  addon: "addon";
7377
7376
  topup: "topup";
7378
7377
  }>;
@@ -7504,216 +7503,101 @@ declare const apiOperations: {
7504
7503
  }>;
7505
7504
  }, z$1.core.$strict>;
7506
7505
  paywall: z$1.ZodObject<{
7507
- id: z$1.ZodUUID;
7508
- paywallId: z$1.ZodUUID;
7509
- version: z$1.ZodNumber;
7510
- document: z$1.ZodObject<{
7511
- schemaVersion: z$1.ZodLiteral<3>;
7512
- kind: z$1.ZodLiteral<"paywall">;
7506
+ check: z$1.ZodNullable<z$1.ZodObject<{
7507
+ internal_feature_id: z$1.ZodString;
7513
7508
  name: z$1.ZodString;
7514
- presentation: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7515
- type: z$1.ZodLiteral<"modal">;
7516
- size: z$1.ZodEnum<{
7517
- sm: "sm";
7518
- md: "md";
7519
- lg: "lg";
7520
- }>;
7521
- }, z$1.core.$strict>, z$1.ZodObject<{
7522
- type: z$1.ZodLiteral<"sheet">;
7523
- size: z$1.ZodEnum<{
7524
- sm: "sm";
7525
- md: "md";
7526
- lg: "lg";
7509
+ kind: z$1.ZodEnum<{
7510
+ metered: "metered";
7511
+ access: "access";
7512
+ credit: "credit";
7513
+ }>;
7514
+ quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
7515
+ allowed: z$1.ZodBoolean;
7516
+ reason: z$1.ZodNullable<z$1.ZodEnum<{
7517
+ unavailable: "unavailable";
7518
+ insufficient_balance: "insufficient_balance";
7519
+ limit_exceeded: "limit_exceeded";
7520
+ awaiting_topup: "awaiting_topup";
7521
+ authorization_required: "authorization_required";
7522
+ payment_blocked: "payment_blocked";
7523
+ cash_budget_exceeded: "cash_budget_exceeded";
7524
+ not_entitled: "not_entitled";
7525
+ capacity_exceeded: "capacity_exceeded";
7526
+ authentication_required: "authentication_required";
7527
+ }>>;
7528
+ preview: z$1.ZodNullable<z$1.ZodObject<{
7529
+ scenario: z$1.ZodEnum<{
7530
+ usage_limit: "usage_limit";
7531
+ feature_flag: "feature_flag";
7527
7532
  }>;
7528
- }, z$1.core.$strict>, z$1.ZodObject<{
7529
- type: z$1.ZodLiteral<"fullscreen">;
7530
- }, z$1.core.$strict>, z$1.ZodObject<{
7531
- type: z$1.ZodLiteral<"inline">;
7532
- }, z$1.core.$strict>], "type">;
7533
- requirement: z$1.ZodOptional<z$1.ZodObject<{
7534
- internal_feature_id: z$1.ZodUUID;
7535
- quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
7536
- 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<{
7537
- [k: string]: string;
7538
- }, Record<string, string | number | boolean>>>;
7539
- entityId: z$1.ZodOptional<z$1.ZodUUID>;
7540
- }, z$1.core.$strict>>;
7541
- products: z$1.ZodObject<{
7542
- items: z$1.ZodArray<z$1.ZodObject<{
7533
+ candidates: z$1.ZodArray<z$1.ZodObject<{
7534
+ productId: z$1.ZodString;
7543
7535
  productVersionId: z$1.ZodString;
7544
- label: z$1.ZodString;
7545
- }, z$1.core.$strict>>;
7546
- defaultProductVersionId: z$1.ZodNullable<z$1.ZodString>;
7547
- grouping: z$1.ZodOptional<z$1.ZodObject<{
7548
- tiers: z$1.ZodArray<z$1.ZodObject<{
7549
- id: z$1.ZodString;
7550
- name: z$1.ZodString;
7551
- }, z$1.core.$strict>>;
7552
- assignments: z$1.ZodArray<z$1.ZodObject<{
7553
- productVersionId: z$1.ZodString;
7554
- tierId: z$1.ZodString;
7555
- period: z$1.ZodEnum<{
7556
- month: "month";
7557
- year: "year";
7558
- }>;
7559
- }, z$1.core.$strict>>;
7560
- }, z$1.core.$strict>>;
7561
- }, z$1.core.$strict>;
7562
- offeringVersionId: z$1.ZodNullable<z$1.ZodUUID>;
7563
- offeringId: z$1.ZodNullable<z$1.ZodUUID>;
7564
- screen: z$1.ZodObject<{
7565
- kind: z$1.ZodLiteral<"screen">;
7566
- schemaVersion: z$1.ZodLiteral<4>;
7567
- name: z$1.ZodString;
7568
- surface: z$1.ZodEnum<{
7569
- paywall: "paywall";
7570
- popup: "popup";
7571
- onboarding: "onboarding";
7572
- page: "page";
7573
- }>;
7574
- initialPageId: z$1.ZodOptional<z$1.ZodString>;
7575
- presentation: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7576
- type: z$1.ZodLiteral<"modal">;
7577
- size: z$1.ZodEnum<{
7578
- sm: "sm";
7579
- md: "md";
7580
- lg: "lg";
7581
- }>;
7582
- }, z$1.core.$strict>, z$1.ZodObject<{
7583
- type: z$1.ZodLiteral<"sheet">;
7584
- size: z$1.ZodEnum<{
7585
- sm: "sm";
7586
- md: "md";
7587
- lg: "lg";
7536
+ name: z$1.ZodString;
7537
+ action: z$1.ZodEnum<{
7538
+ upgrade: "upgrade";
7539
+ purchase: "purchase";
7540
+ addon: "addon";
7541
+ topup: "topup";
7588
7542
  }>;
7589
- }, z$1.core.$strict>, z$1.ZodObject<{
7590
- type: z$1.ZodLiteral<"fullscreen">;
7591
- }, z$1.core.$strict>], "type">;
7592
- theme: z$1.ZodObject<{
7593
- primary: z$1.ZodString;
7594
- background: z$1.ZodString;
7595
- text: z$1.ZodString;
7596
- radius: z$1.ZodEnum<{
7597
- none: "none";
7598
- full: "full";
7599
- sm: "sm";
7600
- md: "md";
7601
- lg: "lg";
7543
+ membershipId: z$1.ZodNullable<z$1.ZodString>;
7544
+ currency: z$1.ZodEnum<{
7545
+ USD: "USD";
7546
+ EUR: "EUR";
7547
+ CNY: "CNY";
7548
+ GBP: "GBP";
7549
+ JPY: "JPY";
7550
+ CAD: "CAD";
7551
+ AUD: "AUD";
7552
+ NZD: "NZD";
7553
+ CHF: "CHF";
7554
+ HKD: "HKD";
7555
+ SGD: "SGD";
7556
+ KRW: "KRW";
7557
+ INR: "INR";
7558
+ BRL: "BRL";
7559
+ MXN: "MXN";
7560
+ TWD: "TWD";
7561
+ THB: "THB";
7562
+ IDR: "IDR";
7563
+ MYR: "MYR";
7564
+ PHP: "PHP";
7565
+ VND: "VND";
7566
+ ZAR: "ZAR";
7567
+ AED: "AED";
7568
+ SAR: "SAR";
7569
+ SEK: "SEK";
7570
+ NOK: "NOK";
7571
+ DKK: "DKK";
7572
+ PLN: "PLN";
7573
+ CZK: "CZK";
7574
+ HUF: "HUF";
7575
+ ILS: "ILS";
7576
+ TRY: "TRY";
7577
+ RON: "RON";
7602
7578
  }>;
7603
- font: z$1.ZodEnum<{
7604
- system: "system";
7605
- serif: "serif";
7606
- rounded: "rounded";
7607
- mono: "mono";
7579
+ amountMinor: z$1.ZodString;
7580
+ interval: z$1.ZodEnum<{
7581
+ week: "week";
7582
+ month: "month";
7583
+ year: "year";
7584
+ free: "free";
7585
+ one_time: "one_time";
7608
7586
  }>;
7609
- }, z$1.core.$strict>;
7610
- pages: z$1.ZodArray<z$1.ZodObject<{
7611
- id: z$1.ZodString;
7612
- name: z$1.ZodString;
7613
- root: z$1.ZodType<StackNode, unknown, z$1.core.$ZodTypeInternals<StackNode, unknown>>;
7614
- theme: z$1.ZodOptional<z$1.ZodObject<{
7615
- primary: z$1.ZodString;
7616
- background: z$1.ZodString;
7617
- text: z$1.ZodString;
7618
- radius: z$1.ZodEnum<{
7619
- none: "none";
7620
- full: "full";
7621
- sm: "sm";
7622
- md: "md";
7623
- lg: "lg";
7624
- }>;
7625
- font: z$1.ZodEnum<{
7626
- system: "system";
7627
- serif: "serif";
7628
- rounded: "rounded";
7629
- mono: "mono";
7630
- }>;
7631
- }, z$1.core.$strict>>;
7632
- editorPosition: z$1.ZodOptional<z$1.ZodObject<{
7633
- x: z$1.ZodNumber;
7634
- y: z$1.ZodNumber;
7635
- }, z$1.core.$strict>>;
7587
+ intervalCount: z$1.ZodNumber;
7636
7588
  }, z$1.core.$strict>>;
7637
- strings: z$1.ZodObject<{
7638
- defaultLocale: z$1.ZodString;
7639
- locales: z$1.ZodRecord<z$1.ZodString, z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
7640
- }, z$1.core.$strict>;
7641
- actions: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7642
- type: z$1.ZodLiteral<"navigate">;
7643
- close: z$1.ZodLiteral<false>;
7644
- pageId: z$1.ZodString;
7645
- id: z$1.ZodString;
7646
- event: z$1.ZodString;
7647
- properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean, z$1.ZodNull]>>;
7648
- }, z$1.core.$strict>, z$1.ZodObject<{
7649
- type: z$1.ZodLiteral<"event">;
7650
- close: z$1.ZodBoolean;
7651
- id: z$1.ZodString;
7652
- event: z$1.ZodString;
7653
- properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean, z$1.ZodNull]>>;
7654
- }, z$1.core.$strict>, z$1.ZodObject<{
7655
- type: z$1.ZodLiteral<"close">;
7656
- close: z$1.ZodLiteral<true>;
7657
- id: z$1.ZodString;
7658
- event: z$1.ZodString;
7659
- properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean, z$1.ZodNull]>>;
7660
- }, z$1.core.$strict>, z$1.ZodObject<{
7661
- type: z$1.ZodLiteral<"open_url">;
7662
- close: z$1.ZodBoolean;
7663
- url: z$1.ZodString;
7664
- id: z$1.ZodString;
7665
- event: z$1.ZodString;
7666
- properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean, z$1.ZodNull]>>;
7667
- }, z$1.core.$strict>, z$1.ZodObject<{
7668
- type: z$1.ZodLiteral<"claim_offer">;
7669
- close: z$1.ZodBoolean;
7670
- couponId: z$1.ZodUUID;
7671
- id: z$1.ZodString;
7672
- event: z$1.ZodString;
7673
- properties: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodNumber, z$1.ZodBoolean, z$1.ZodNull]>>;
7674
- }, z$1.core.$strict>], "type">>;
7675
- }, z$1.core.$strict>;
7676
- buttons: z$1.ZodRecord<z$1.ZodString, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7677
- type: z$1.ZodLiteral<"checkout">;
7678
- product: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7679
- type: z$1.ZodLiteral<"fixed">;
7680
- productVersionId: z$1.ZodString;
7681
- }, z$1.core.$strict>, z$1.ZodObject<{
7682
- type: z$1.ZodLiteral<"picker">;
7683
- pickerId: z$1.ZodString;
7684
- allowedProductVersionIds: z$1.ZodArray<z$1.ZodString>;
7685
- }, z$1.core.$strict>], "type">;
7686
- }, z$1.core.$strict>, z$1.ZodObject<{
7687
- type: z$1.ZodLiteral<"close">;
7688
- }, z$1.core.$strict>, z$1.ZodObject<{
7689
- type: z$1.ZodLiteral<"action">;
7690
- action: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7691
- type: z$1.ZodLiteral<"event">;
7692
- event: z$1.ZodString;
7693
- }, z$1.core.$strict>, z$1.ZodObject<{
7694
- type: z$1.ZodLiteral<"open_url">;
7695
- url: z$1.ZodURL;
7696
- }, z$1.core.$strict>], "type">;
7697
- }, z$1.core.$strict>], "type">>;
7698
- }, z$1.core.$strict>;
7699
- offering: z$1.ZodObject<{
7700
- id: z$1.ZodUUID;
7701
- offeringId: z$1.ZodUUID;
7702
- version: z$1.ZodNumber;
7703
- document: z$1.ZodObject<{
7704
- lookupKey: z$1.ZodString;
7705
- displayName: z$1.ZodString;
7706
- items: z$1.ZodArray<z$1.ZodType<OfferingItem, unknown, z$1.core.$ZodTypeInternals<OfferingItem, unknown>>>;
7707
- metadata: z$1.ZodRecord<z$1.ZodString, z$1.ZodJSONSchema>;
7708
- }, z$1.core.$strict>;
7709
- }, z$1.core.$strict>;
7589
+ }, z$1.core.$strict>>;
7590
+ }, z$1.core.$strict>>;
7591
+ id: z$1.ZodUUID;
7592
+ version: z$1.ZodNumber;
7593
+ paywallId: z$1.ZodUUID;
7710
7594
  capabilities: z$1.ZodObject<{
7711
7595
  paywall: z$1.ZodOptional<z$1.ZodObject<{
7712
7596
  internal_feature_id: z$1.ZodString;
7713
7597
  name: z$1.ZodString;
7714
7598
  kind: z$1.ZodEnum<{
7715
- access: "access";
7716
7599
  metered: "metered";
7600
+ access: "access";
7717
7601
  credit: "credit";
7718
7602
  }>;
7719
7603
  quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
@@ -7732,16 +7616,16 @@ declare const apiOperations: {
7732
7616
  }>>;
7733
7617
  preview: z$1.ZodNullable<z$1.ZodObject<{
7734
7618
  scenario: z$1.ZodEnum<{
7735
- feature_flag: "feature_flag";
7736
7619
  usage_limit: "usage_limit";
7620
+ feature_flag: "feature_flag";
7737
7621
  }>;
7738
7622
  candidates: z$1.ZodArray<z$1.ZodObject<{
7739
7623
  productId: z$1.ZodString;
7740
7624
  productVersionId: z$1.ZodString;
7741
7625
  name: z$1.ZodString;
7742
7626
  action: z$1.ZodEnum<{
7743
- purchase: "purchase";
7744
7627
  upgrade: "upgrade";
7628
+ purchase: "purchase";
7745
7629
  addon: "addon";
7746
7630
  topup: "topup";
7747
7631
  }>;
@@ -7958,91 +7842,23 @@ declare const apiOperations: {
7958
7842
  message: z$1.ZodString;
7959
7843
  }, z$1.core.$strict>>;
7960
7844
  }, z$1.core.$strict>;
7961
- check: z$1.ZodNullable<z$1.ZodObject<{
7962
- internal_feature_id: z$1.ZodString;
7963
- name: z$1.ZodString;
7964
- kind: z$1.ZodEnum<{
7965
- access: "access";
7966
- metered: "metered";
7967
- credit: "credit";
7968
- }>;
7969
- quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
7970
- allowed: z$1.ZodBoolean;
7971
- reason: z$1.ZodNullable<z$1.ZodEnum<{
7972
- unavailable: "unavailable";
7973
- insufficient_balance: "insufficient_balance";
7974
- limit_exceeded: "limit_exceeded";
7975
- awaiting_topup: "awaiting_topup";
7976
- authorization_required: "authorization_required";
7977
- payment_blocked: "payment_blocked";
7978
- cash_budget_exceeded: "cash_budget_exceeded";
7979
- not_entitled: "not_entitled";
7980
- capacity_exceeded: "capacity_exceeded";
7981
- authentication_required: "authentication_required";
7982
- }>>;
7983
- preview: z$1.ZodNullable<z$1.ZodObject<{
7984
- scenario: z$1.ZodEnum<{
7985
- feature_flag: "feature_flag";
7986
- usage_limit: "usage_limit";
7845
+ content: z$1.ZodObject<{
7846
+ environmentId: z$1.ZodUUID;
7847
+ offeringVersionId: z$1.ZodUUID;
7848
+ artifact: z$1.ZodObject<{
7849
+ kind: z$1.ZodEnum<{
7850
+ paywall: "paywall";
7851
+ funnel: "funnel";
7852
+ gb_features: "gb_features";
7853
+ gb_page_experiments: "gb_page_experiments";
7987
7854
  }>;
7988
- candidates: z$1.ZodArray<z$1.ZodObject<{
7989
- productId: z$1.ZodString;
7990
- productVersionId: z$1.ZodString;
7991
- name: z$1.ZodString;
7992
- action: z$1.ZodEnum<{
7993
- purchase: "purchase";
7994
- upgrade: "upgrade";
7995
- addon: "addon";
7996
- topup: "topup";
7997
- }>;
7998
- membershipId: z$1.ZodNullable<z$1.ZodString>;
7999
- currency: z$1.ZodEnum<{
8000
- USD: "USD";
8001
- EUR: "EUR";
8002
- CNY: "CNY";
8003
- GBP: "GBP";
8004
- JPY: "JPY";
8005
- CAD: "CAD";
8006
- AUD: "AUD";
8007
- NZD: "NZD";
8008
- CHF: "CHF";
8009
- HKD: "HKD";
8010
- SGD: "SGD";
8011
- KRW: "KRW";
8012
- INR: "INR";
8013
- BRL: "BRL";
8014
- MXN: "MXN";
8015
- TWD: "TWD";
8016
- THB: "THB";
8017
- IDR: "IDR";
8018
- MYR: "MYR";
8019
- PHP: "PHP";
8020
- VND: "VND";
8021
- ZAR: "ZAR";
8022
- AED: "AED";
8023
- SAR: "SAR";
8024
- SEK: "SEK";
8025
- NOK: "NOK";
8026
- DKK: "DKK";
8027
- PLN: "PLN";
8028
- CZK: "CZK";
8029
- HUF: "HUF";
8030
- ILS: "ILS";
8031
- TRY: "TRY";
8032
- RON: "RON";
8033
- }>;
8034
- amountMinor: z$1.ZodString;
8035
- interval: z$1.ZodEnum<{
8036
- week: "week";
8037
- month: "month";
8038
- year: "year";
8039
- free: "free";
8040
- one_time: "one_time";
8041
- }>;
8042
- intervalCount: z$1.ZodNumber;
8043
- }, z$1.core.$strict>>;
8044
- }, z$1.core.$strict>>;
8045
- }, z$1.core.$strict>>;
7855
+ formatVersion: z$1.ZodNumber;
7856
+ url: z$1.ZodString;
7857
+ sha256: z$1.ZodString;
7858
+ byteLength: z$1.ZodNumber;
7859
+ generation: z$1.ZodOptional<z$1.ZodString>;
7860
+ }, z$1.core.$strict>;
7861
+ }, z$1.core.$strict>;
8046
7862
  }, z$1.core.$strict>;
8047
7863
  }, z$1.core.$strict>;
8048
7864
  };
@@ -8143,8 +7959,8 @@ declare const apiOperations: {
8143
7959
  productVersionId: z$1.ZodString;
8144
7960
  name: z$1.ZodString;
8145
7961
  action: z$1.ZodEnum<{
8146
- purchase: "purchase";
8147
7962
  upgrade: "upgrade";
7963
+ purchase: "purchase";
8148
7964
  addon: "addon";
8149
7965
  topup: "topup";
8150
7966
  }>;
@@ -8214,8 +8030,8 @@ declare const apiOperations: {
8214
8030
  internal_feature_id: z$1.ZodString;
8215
8031
  name: z$1.ZodString;
8216
8032
  kind: z$1.ZodEnum<{
8217
- access: "access";
8218
8033
  metered: "metered";
8034
+ access: "access";
8219
8035
  credit: "credit";
8220
8036
  }>;
8221
8037
  quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
@@ -8234,16 +8050,16 @@ declare const apiOperations: {
8234
8050
  }>>;
8235
8051
  preview: z$1.ZodNullable<z$1.ZodObject<{
8236
8052
  scenario: z$1.ZodEnum<{
8237
- feature_flag: "feature_flag";
8238
8053
  usage_limit: "usage_limit";
8054
+ feature_flag: "feature_flag";
8239
8055
  }>;
8240
8056
  candidates: z$1.ZodArray<z$1.ZodObject<{
8241
8057
  productId: z$1.ZodString;
8242
8058
  productVersionId: z$1.ZodString;
8243
8059
  name: z$1.ZodString;
8244
8060
  action: z$1.ZodEnum<{
8245
- purchase: "purchase";
8246
8061
  upgrade: "upgrade";
8062
+ purchase: "purchase";
8247
8063
  addon: "addon";
8248
8064
  topup: "topup";
8249
8065
  }>;
@@ -8328,20 +8144,20 @@ declare const apiOperations: {
8328
8144
  name: z$1.ZodString;
8329
8145
  groupId: z$1.ZodNullable<z$1.ZodString>;
8330
8146
  membershipType: z$1.ZodEnum<{
8331
- addon: "addon";
8332
8147
  main: "main";
8148
+ addon: "addon";
8333
8149
  }>;
8334
8150
  status: z$1.ZodEnum<{
8335
- unknown: "unknown";
8336
8151
  active: "active";
8337
- pending: "pending";
8338
- trialing: "trialing";
8339
- expired: "expired";
8340
8152
  scheduled: "scheduled";
8341
- trial: "trial";
8153
+ expired: "expired";
8342
8154
  past_due: "past_due";
8343
- ended: "ended";
8155
+ unknown: "unknown";
8156
+ pending: "pending";
8157
+ trial: "trial";
8344
8158
  paused: "paused";
8159
+ ended: "ended";
8160
+ trialing: "trialing";
8345
8161
  }>;
8346
8162
  cancelAtPeriodEnd: z$1.ZodBoolean;
8347
8163
  accessEnabled: z$1.ZodBoolean;
@@ -8357,8 +8173,8 @@ declare const apiOperations: {
8357
8173
  }>;
8358
8174
  changeKind: z$1.ZodEnum<{
8359
8175
  quantity: "quantity";
8360
- seats: "seats";
8361
8176
  plan: "plan";
8177
+ seats: "seats";
8362
8178
  }>;
8363
8179
  feature: z$1.ZodOptional<z$1.ZodObject<{
8364
8180
  internal_feature_id: z$1.ZodUUID;
@@ -8372,17 +8188,17 @@ declare const apiOperations: {
8372
8188
  toQuantity: z$1.ZodNumber;
8373
8189
  }, z$1.core.$strict>>;
8374
8190
  status: z$1.ZodEnum<{
8191
+ scheduled: "scheduled";
8375
8192
  pending: "pending";
8376
8193
  prepared: "prepared";
8377
8194
  confirmed: "confirmed";
8378
- scheduled: "scheduled";
8379
8195
  quoted: "quoted";
8380
8196
  }>;
8381
8197
  }, z$1.core.$strict>>;
8382
8198
  period: z$1.ZodNullable<z$1.ZodObject<{
8383
8199
  phase: z$1.ZodEnum<{
8384
- paid: "paid";
8385
8200
  trial: "trial";
8201
+ paid: "paid";
8386
8202
  }>;
8387
8203
  startsAt: z$1.ZodISODateTime;
8388
8204
  endsAt: z$1.ZodNullable<z$1.ZodISODateTime>;
@@ -8415,8 +8231,8 @@ declare const apiOperations: {
8415
8231
  key: z$1.ZodString;
8416
8232
  name: z$1.ZodString;
8417
8233
  kind: z$1.ZodEnum<{
8418
- access: "access";
8419
8234
  metered: "metered";
8235
+ access: "access";
8420
8236
  credit: "credit";
8421
8237
  }>;
8422
8238
  }, z$1.core.$strict>>;
@@ -8433,17 +8249,17 @@ declare const apiOperations: {
8433
8249
  customerId: z$1.ZodOptional<z$1.ZodUUID>;
8434
8250
  query: z$1.ZodObject<{
8435
8251
  type: z$1.ZodNullable<z$1.ZodEnum<{
8436
- invoice: "invoice";
8437
- source: "source";
8438
8252
  usage: "usage";
8253
+ source: "source";
8254
+ invoice: "invoice";
8439
8255
  debt: "debt";
8440
8256
  transaction: "transaction";
8441
8257
  settlement: "settlement";
8442
8258
  }>>;
8443
8259
  resourceKey: z$1.ZodOptional<z$1.ZodString>;
8444
8260
  kind: z$1.ZodOptional<z$1.ZodEnum<{
8445
- refund: "refund";
8446
8261
  purchase: "purchase";
8262
+ refund: "refund";
8447
8263
  }>>;
8448
8264
  topup: z$1.ZodOptional<z$1.ZodBoolean>;
8449
8265
  from: z$1.ZodNullable<z$1.ZodISODate>;
@@ -8452,9 +8268,9 @@ declare const apiOperations: {
8452
8268
  at: z$1.ZodISODateTime;
8453
8269
  id: z$1.ZodUUID;
8454
8270
  type: z$1.ZodEnum<{
8455
- invoice: "invoice";
8456
- source: "source";
8457
8271
  usage: "usage";
8272
+ source: "source";
8273
+ invoice: "invoice";
8458
8274
  debt: "debt";
8459
8275
  transaction: "transaction";
8460
8276
  settlement: "settlement";
@@ -8520,10 +8336,10 @@ declare const apiOperations: {
8520
8336
  }, z$1.core.$strict>, z$1.ZodObject<{
8521
8337
  type: z$1.ZodLiteral<"source">;
8522
8338
  reason: z$1.ZodEnum<{
8523
- rollover: "rollover";
8524
- membership: "membership";
8525
8339
  trial: "trial";
8340
+ membership: "membership";
8526
8341
  manual: "manual";
8342
+ rollover: "rollover";
8527
8343
  topup: "topup";
8528
8344
  seat: "seat";
8529
8345
  upgrade_carry: "upgrade_carry";
@@ -8532,9 +8348,9 @@ declare const apiOperations: {
8532
8348
  unlimited: z$1.ZodBoolean;
8533
8349
  status: z$1.ZodEnum<{
8534
8350
  active: "active";
8535
- revoked: "revoked";
8536
- expired: "expired";
8537
8351
  scheduled: "scheduled";
8352
+ expired: "expired";
8353
+ revoked: "revoked";
8538
8354
  unavailable: "unavailable";
8539
8355
  }>;
8540
8356
  startsAt: z$1.ZodISODateTime;
@@ -8545,8 +8361,8 @@ declare const apiOperations: {
8545
8361
  key: z$1.ZodString;
8546
8362
  name: z$1.ZodString;
8547
8363
  kind: z$1.ZodEnum<{
8548
- access: "access";
8549
8364
  metered: "metered";
8365
+ access: "access";
8550
8366
  credit: "credit";
8551
8367
  }>;
8552
8368
  id: z$1.ZodUUID;
@@ -8556,11 +8372,11 @@ declare const apiOperations: {
8556
8372
  internal_feature_id: z$1.ZodUUID;
8557
8373
  name: z$1.ZodString;
8558
8374
  kind: z$1.ZodEnum<{
8559
- release: "release";
8560
- confirm: "confirm";
8561
8375
  consume: "consume";
8562
8376
  reserve: "reserve";
8377
+ confirm: "confirm";
8563
8378
  refund: "refund";
8379
+ release: "release";
8564
8380
  expire: "expire";
8565
8381
  set_usage: "set_usage";
8566
8382
  }>;
@@ -8581,8 +8397,8 @@ declare const apiOperations: {
8581
8397
  [k: string]: string;
8582
8398
  }, Record<string, string | number | boolean>>>;
8583
8399
  reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
8584
- pending: "pending";
8585
8400
  expired: "expired";
8401
+ pending: "pending";
8586
8402
  confirmed: "confirmed";
8587
8403
  released: "released";
8588
8404
  }>>;
@@ -8603,8 +8419,8 @@ declare const apiOperations: {
8603
8419
  key: z$1.ZodString;
8604
8420
  name: z$1.ZodString;
8605
8421
  kind: z$1.ZodEnum<{
8606
- access: "access";
8607
8422
  metered: "metered";
8423
+ access: "access";
8608
8424
  credit: "credit";
8609
8425
  }>;
8610
8426
  }, z$1.core.$strict>, z$1.ZodObject<{
@@ -8654,8 +8470,8 @@ declare const apiOperations: {
8654
8470
  }, z$1.core.$strict>, z$1.ZodObject<{
8655
8471
  type: z$1.ZodLiteral<"transaction">;
8656
8472
  purpose: z$1.ZodEnum<{
8657
- invoice: "invoice";
8658
8473
  product: "product";
8474
+ invoice: "invoice";
8659
8475
  }>;
8660
8476
  productVersionId: z$1.ZodNullable<z$1.ZodUUID>;
8661
8477
  productName: z$1.ZodNullable<z$1.ZodString>;
@@ -8664,8 +8480,8 @@ declare const apiOperations: {
8664
8480
  orderId: z$1.ZodUUID;
8665
8481
  originalId: z$1.ZodNullable<z$1.ZodUUID>;
8666
8482
  kind: z$1.ZodEnum<{
8667
- refund: "refund";
8668
8483
  purchase: "purchase";
8484
+ refund: "refund";
8669
8485
  }>;
8670
8486
  amountMinor: z$1.ZodNullable<z$1.ZodNumber>;
8671
8487
  currency: z$1.ZodNullable<z$1.ZodEnum<{
@@ -8714,8 +8530,8 @@ declare const apiOperations: {
8714
8530
  key: z$1.ZodString;
8715
8531
  name: z$1.ZodString;
8716
8532
  kind: z$1.ZodEnum<{
8717
- access: "access";
8718
8533
  metered: "metered";
8534
+ access: "access";
8719
8535
  credit: "credit";
8720
8536
  }>;
8721
8537
  id: z$1.ZodUUID;
@@ -8740,9 +8556,9 @@ declare const apiOperations: {
8740
8556
  at: z$1.ZodISODateTime;
8741
8557
  id: z$1.ZodUUID;
8742
8558
  type: z$1.ZodEnum<{
8743
- invoice: "invoice";
8744
- source: "source";
8745
8559
  usage: "usage";
8560
+ source: "source";
8561
+ invoice: "invoice";
8746
8562
  debt: "debt";
8747
8563
  transaction: "transaction";
8748
8564
  settlement: "settlement";
@@ -8782,11 +8598,11 @@ declare const apiOperations: {
8782
8598
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
8783
8599
  status: z$1.ZodEnum<{
8784
8600
  void: "void";
8785
- open: "open";
8786
- paid: "paid";
8787
8601
  pending: "pending";
8788
8602
  failed: "failed";
8603
+ open: "open";
8789
8604
  accruing: "accruing";
8605
+ paid: "paid";
8790
8606
  }>;
8791
8607
  currency: z$1.ZodEnum<{
8792
8608
  USD: "USD";
@@ -9129,8 +8945,8 @@ declare const apiOperations: {
9129
8945
  operationId: z$1.ZodUUID;
9130
8946
  position: z$1.ZodNumber;
9131
8947
  kind: z$1.ZodEnum<{
9132
- confirm: "confirm";
9133
8948
  consume: "consume";
8949
+ confirm: "confirm";
9134
8950
  refund: "refund";
9135
8951
  }>;
9136
8952
  originalId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -9285,11 +9101,11 @@ declare const apiOperations: {
9285
9101
  id: z$1.ZodUUID;
9286
9102
  internal_feature_id: z$1.ZodUUID;
9287
9103
  kind: z$1.ZodEnum<{
9288
- release: "release";
9289
- confirm: "confirm";
9290
9104
  consume: "consume";
9291
9105
  reserve: "reserve";
9106
+ confirm: "confirm";
9292
9107
  refund: "refund";
9108
+ release: "release";
9293
9109
  expire: "expire";
9294
9110
  }>;
9295
9111
  originalId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -9312,8 +9128,8 @@ declare const apiOperations: {
9312
9128
  }>>;
9313
9129
  createdAt: z$1.ZodISODateTime;
9314
9130
  reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
9315
- pending: "pending";
9316
9131
  expired: "expired";
9132
+ pending: "pending";
9317
9133
  confirmed: "confirmed";
9318
9134
  released: "released";
9319
9135
  }>>;
@@ -9586,11 +9402,11 @@ declare const apiOperations: {
9586
9402
  id: z$1.ZodUUID;
9587
9403
  internal_feature_id: z$1.ZodUUID;
9588
9404
  kind: z$1.ZodEnum<{
9589
- release: "release";
9590
- confirm: "confirm";
9591
9405
  consume: "consume";
9592
9406
  reserve: "reserve";
9407
+ confirm: "confirm";
9593
9408
  refund: "refund";
9409
+ release: "release";
9594
9410
  expire: "expire";
9595
9411
  }>;
9596
9412
  originalId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -9613,8 +9429,8 @@ declare const apiOperations: {
9613
9429
  }>>;
9614
9430
  createdAt: z$1.ZodISODateTime;
9615
9431
  reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
9616
- pending: "pending";
9617
9432
  expired: "expired";
9433
+ pending: "pending";
9618
9434
  confirmed: "confirmed";
9619
9435
  released: "released";
9620
9436
  }>>;
@@ -9816,12 +9632,12 @@ declare const apiOperations: {
9816
9632
  }, z$1.core.$strict>], "type">;
9817
9633
  renewalAmountMinor: z$1.ZodNumber;
9818
9634
  status: z$1.ZodEnum<{
9819
- paid: "paid";
9820
- created: "created";
9821
9635
  pending: "pending";
9636
+ failed: "failed";
9637
+ paid: "paid";
9822
9638
  trialing: "trialing";
9823
9639
  cancelled: "cancelled";
9824
- failed: "failed";
9640
+ created: "created";
9825
9641
  }>;
9826
9642
  url: z$1.ZodNullable<z$1.ZodURL>;
9827
9643
  }, z$1.core.$strict>, z$1.ZodObject<{
@@ -9874,9 +9690,9 @@ declare const apiOperations: {
9874
9690
  }, z$1.core.$strict>], "type">;
9875
9691
  renewalAmountMinor: z$1.ZodNumber;
9876
9692
  status: z$1.ZodEnum<{
9877
- running: "running";
9878
9693
  pending: "pending";
9879
9694
  failed: "failed";
9695
+ running: "running";
9880
9696
  applied: "applied";
9881
9697
  }>;
9882
9698
  }, z$1.core.$strict>], "type">;
@@ -10147,17 +9963,17 @@ declare const apiOperations: {
10147
9963
  versionId: z$1.ZodDefault<z$1.ZodString>;
10148
9964
  holdingStatus: z$1.ZodDefault<z$1.ZodEnum<{
10149
9965
  "": "";
9966
+ none: "none";
10150
9967
  active: "active";
10151
- expired: "expired";
10152
9968
  scheduled: "scheduled";
10153
- none: "none";
9969
+ expired: "expired";
10154
9970
  unavailable: "unavailable";
10155
9971
  }>>;
10156
9972
  membershipStatus: z$1.ZodDefault<z$1.ZodEnum<{
10157
9973
  "": "";
10158
9974
  active: "active";
10159
- trial: "trial";
10160
9975
  past_due: "past_due";
9976
+ trial: "trial";
10161
9977
  ended: "ended";
10162
9978
  }>>;
10163
9979
  createdFrom: z$1.ZodDefault<z$1.ZodUnion<readonly [z$1.ZodISODateTime, z$1.ZodLiteral<"">]>>;
@@ -10406,11 +10222,11 @@ declare const apiOperations: {
10406
10222
  id: z$1.ZodUUID;
10407
10223
  couponId: z$1.ZodUUID;
10408
10224
  status: z$1.ZodEnum<{
10409
- revoked: "revoked";
10410
10225
  expired: "expired";
10411
- reserved: "reserved";
10412
10226
  issued: "issued";
10227
+ reserved: "reserved";
10413
10228
  redeemed: "redeemed";
10229
+ revoked: "revoked";
10414
10230
  }>;
10415
10231
  issuedAt: z$1.ZodISODateTime;
10416
10232
  expiresAt: z$1.ZodISODateTime;
@@ -10475,8 +10291,8 @@ declare const apiOperations: {
10475
10291
  }, z$1.core.$strict>;
10476
10292
  }, z$1.core.$strict>>;
10477
10293
  reason: z$1.ZodNullable<z$1.ZodEnum<{
10478
- unavailable: "unavailable";
10479
10294
  claim_disabled: "claim_disabled";
10295
+ unavailable: "unavailable";
10480
10296
  inactive: "inactive";
10481
10297
  outside_window: "outside_window";
10482
10298
  not_targeted: "not_targeted";
@@ -10506,11 +10322,11 @@ declare const apiOperations: {
10506
10322
  id: z$1.ZodUUID;
10507
10323
  couponId: z$1.ZodUUID;
10508
10324
  status: z$1.ZodEnum<{
10509
- revoked: "revoked";
10510
10325
  expired: "expired";
10511
- reserved: "reserved";
10512
10326
  issued: "issued";
10327
+ reserved: "reserved";
10513
10328
  redeemed: "redeemed";
10329
+ revoked: "revoked";
10514
10330
  }>;
10515
10331
  issuedAt: z$1.ZodISODateTime;
10516
10332
  expiresAt: z$1.ZodISODateTime;
@@ -10604,11 +10420,11 @@ declare const apiOperations: {
10604
10420
  id: z$1.ZodUUID;
10605
10421
  couponId: z$1.ZodUUID;
10606
10422
  status: z$1.ZodEnum<{
10607
- revoked: "revoked";
10608
10423
  expired: "expired";
10609
- reserved: "reserved";
10610
10424
  issued: "issued";
10425
+ reserved: "reserved";
10611
10426
  redeemed: "redeemed";
10427
+ revoked: "revoked";
10612
10428
  }>;
10613
10429
  issuedAt: z$1.ZodISODateTime;
10614
10430
  expiresAt: z$1.ZodISODateTime;
@@ -10673,8 +10489,8 @@ declare const apiOperations: {
10673
10489
  }, z$1.core.$strict>;
10674
10490
  }, z$1.core.$strict>>;
10675
10491
  reason: z$1.ZodNullable<z$1.ZodEnum<{
10676
- unavailable: "unavailable";
10677
10492
  claim_disabled: "claim_disabled";
10493
+ unavailable: "unavailable";
10678
10494
  inactive: "inactive";
10679
10495
  outside_window: "outside_window";
10680
10496
  not_targeted: "not_targeted";
@@ -10953,13 +10769,13 @@ declare function createAiPricing(options?: AiPricingOptions): {
10953
10769
  receipt: {
10954
10770
  id: string;
10955
10771
  internal_feature_id: string;
10956
- kind: "release" | "confirm" | "consume" | "reserve" | "refund" | "expire";
10772
+ kind: "consume" | "reserve" | "confirm" | "refund" | "release" | "expire";
10957
10773
  originalId: string | null;
10958
10774
  quantity: string;
10959
10775
  accepted: boolean;
10960
10776
  reason: "expired" | "unavailable" | "insufficient_balance" | "limit_exceeded" | "awaiting_topup" | "authorization_required" | "payment_blocked" | "cash_budget_exceeded" | null;
10961
10777
  createdAt: string;
10962
- reservationStatus: "pending" | "expired" | "confirmed" | "released" | null;
10778
+ reservationStatus: "expired" | "pending" | "confirmed" | "released" | null;
10963
10779
  expiresAt: string | null;
10964
10780
  allocations: ({
10965
10781
  funding: "prepaid";
@@ -11024,13 +10840,13 @@ declare function createConfiguredAiPricing(client: Pick<FoundationApi, "readAiPr
11024
10840
  receipt: {
11025
10841
  id: string;
11026
10842
  internal_feature_id: string;
11027
- kind: "release" | "confirm" | "consume" | "reserve" | "refund" | "expire";
10843
+ kind: "consume" | "reserve" | "confirm" | "refund" | "release" | "expire";
11028
10844
  originalId: string | null;
11029
10845
  quantity: string;
11030
10846
  accepted: boolean;
11031
10847
  reason: "expired" | "unavailable" | "insufficient_balance" | "limit_exceeded" | "awaiting_topup" | "authorization_required" | "payment_blocked" | "cash_budget_exceeded" | null;
11032
10848
  createdAt: string;
11033
- reservationStatus: "pending" | "expired" | "confirmed" | "released" | null;
10849
+ reservationStatus: "expired" | "pending" | "confirmed" | "released" | null;
11034
10850
  expiresAt: string | null;
11035
10851
  allocations: ({
11036
10852
  funding: "prepaid";