autumn-js 1.2.13 → 1.2.15

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 (126) hide show
  1. package/dist/backend/adapters/express.js +623 -108
  2. package/dist/backend/adapters/express.mjs +8 -8
  3. package/dist/backend/adapters/fetch.js +623 -108
  4. package/dist/backend/adapters/fetch.mjs +8 -8
  5. package/dist/backend/adapters/hono.js +623 -108
  6. package/dist/backend/adapters/hono.mjs +8 -8
  7. package/dist/backend/adapters/index.js +623 -108
  8. package/dist/backend/adapters/index.mjs +11 -11
  9. package/dist/backend/adapters/next.js +623 -108
  10. package/dist/backend/adapters/next.mjs +8 -8
  11. package/dist/backend/{chunk-DNNJOZAT.mjs → chunk-BQVZ6GCE.mjs} +1 -1
  12. package/dist/backend/{chunk-YSQQKZBU.mjs → chunk-IEOQUAJY.mjs} +7 -7
  13. package/dist/backend/{chunk-MANTLPDT.mjs → chunk-IQS3LQVP.mjs} +36 -8
  14. package/dist/backend/{chunk-7BVATYGA.mjs → chunk-NDB3VKT4.mjs} +1 -1
  15. package/dist/backend/{chunk-RPH5L44S.mjs → chunk-NRTK5YZK.mjs} +1 -1
  16. package/dist/backend/{chunk-T42RZEUZ.mjs → chunk-OXCQHLZX.mjs} +587 -100
  17. package/dist/backend/{chunk-EJGHP7KT.mjs → chunk-RSIOYTRW.mjs} +5 -5
  18. package/dist/backend/{chunk-OUDB34Y7.mjs → chunk-X7LDYBKC.mjs} +1 -1
  19. package/dist/backend/core/handlers/coreHandler.d.mts +1 -1
  20. package/dist/backend/core/handlers/coreHandler.d.ts +1 -1
  21. package/dist/backend/core/handlers/coreHandler.js +623 -108
  22. package/dist/backend/core/handlers/coreHandler.mjs +6 -6
  23. package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
  24. package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
  25. package/dist/backend/core/handlers/executeRoute.mjs +3 -3
  26. package/dist/backend/core/handlers/handleRouteByName.js +623 -108
  27. package/dist/backend/core/handlers/handleRouteByName.mjs +6 -6
  28. package/dist/backend/core/handlers/index.d.mts +1 -1
  29. package/dist/backend/core/handlers/index.d.ts +1 -1
  30. package/dist/backend/core/handlers/index.js +623 -108
  31. package/dist/backend/core/handlers/index.mjs +10 -10
  32. package/dist/backend/core/index.d.mts +1 -1
  33. package/dist/backend/core/index.d.ts +1 -1
  34. package/dist/backend/core/index.js +623 -108
  35. package/dist/backend/core/index.mjs +7 -7
  36. package/dist/backend/core/routes/index.d.mts +1 -1
  37. package/dist/backend/core/routes/index.d.ts +1 -1
  38. package/dist/backend/core/routes/index.js +36 -8
  39. package/dist/backend/core/routes/index.mjs +1 -1
  40. package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
  41. package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
  42. package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
  43. package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
  44. package/dist/backend/core/routes/routeConfigs.js +36 -8
  45. package/dist/backend/core/routes/routeConfigs.mjs +1 -1
  46. package/dist/backend/core/types/handlerTypes.d.mts +1 -1
  47. package/dist/backend/core/types/handlerTypes.d.ts +1 -1
  48. package/dist/backend/core/types/index.d.mts +1 -1
  49. package/dist/backend/core/types/index.d.ts +1 -1
  50. package/dist/backend/core/types/routeTypes.d.mts +1 -1
  51. package/dist/backend/core/types/routeTypes.d.ts +1 -1
  52. package/dist/backend/index.d.mts +2 -2
  53. package/dist/backend/index.d.ts +2 -2
  54. package/dist/backend/index.js +623 -108
  55. package/dist/backend/index.mjs +7 -7
  56. package/dist/backend/{routeTypes-DVwngaBn.d.mts → routeTypes-CIspXIZ4.d.mts} +841 -169
  57. package/dist/backend/{routeTypes-B94_Mq2J.d.ts → routeTypes-COwIJFNS.d.ts} +841 -169
  58. package/dist/better-auth/{chunk-4OWECHZC.mjs → chunk-L6XX4ONM.mjs} +1 -1
  59. package/dist/better-auth/{chunk-ZZGFPTHO.mjs → chunk-QT6R3AXQ.mjs} +588 -101
  60. package/dist/better-auth/{chunk-JIFD4TSN.mjs → chunk-ZO3KGM5W.mjs} +36 -8
  61. package/dist/better-auth/client.d.mts +2 -4
  62. package/dist/better-auth/client.d.ts +2 -4
  63. package/dist/better-auth/{createAutumnEndpoint-CvXRCg-M.d.ts → createAutumnEndpoint-Clm1sxhQ.d.mts} +4 -8
  64. package/dist/better-auth/{createAutumnEndpoint-CvXRCg-M.d.mts → createAutumnEndpoint-Clm1sxhQ.d.ts} +4 -8
  65. package/dist/better-auth/index.d.mts +2 -4
  66. package/dist/better-auth/index.d.ts +2 -4
  67. package/dist/better-auth/index.js +623 -108
  68. package/dist/better-auth/index.mjs +3 -3
  69. package/dist/better-auth/utils/createAutumnEndpoint.d.mts +2 -4
  70. package/dist/better-auth/utils/createAutumnEndpoint.d.ts +2 -4
  71. package/dist/better-auth/utils/createAutumnEndpoint.js +36 -8
  72. package/dist/better-auth/utils/createAutumnEndpoint.mjs +2 -2
  73. package/dist/better-auth/utils/handleBetterAuthRoute.d.mts +2 -4
  74. package/dist/better-auth/utils/handleBetterAuthRoute.d.ts +2 -4
  75. package/dist/better-auth/utils/handleBetterAuthRoute.js +623 -108
  76. package/dist/better-auth/utils/handleBetterAuthRoute.mjs +2 -2
  77. package/dist/better-auth/utils/index.d.mts +3 -4
  78. package/dist/better-auth/utils/index.d.ts +3 -4
  79. package/dist/better-auth/utils/index.js +623 -108
  80. package/dist/better-auth/utils/index.mjs +3 -3
  81. package/dist/react/AutumnContext.d.mts +2 -2
  82. package/dist/react/AutumnContext.d.ts +2 -2
  83. package/dist/react/client/AutumnClient.d.mts +2 -2
  84. package/dist/react/client/AutumnClient.d.ts +2 -2
  85. package/dist/react/client/IAutumnClient.d.mts +2 -2
  86. package/dist/react/client/IAutumnClient.d.ts +2 -2
  87. package/dist/react/client/index.d.mts +2 -2
  88. package/dist/react/client/index.d.ts +2 -2
  89. package/dist/react/{customer-DB8vL_m7.d.mts → customer-BDxW2bu6.d.mts} +35 -9
  90. package/dist/react/{customer-CaGJEN5J.d.ts → customer-BPUObmME.d.ts} +35 -9
  91. package/dist/react/hooks/index.d.mts +2 -2
  92. package/dist/react/hooks/index.d.ts +2 -2
  93. package/dist/react/hooks/internal/check/balanceToAllowed.d.mts +1 -1
  94. package/dist/react/hooks/internal/check/balanceToAllowed.d.ts +1 -1
  95. package/dist/react/hooks/internal/check/customerToFeatures.d.mts +1 -1
  96. package/dist/react/hooks/internal/check/customerToFeatures.d.ts +1 -1
  97. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.mts +1 -1
  98. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.ts +1 -1
  99. package/dist/react/hooks/internal/check/getCreditCost.d.mts +1 -1
  100. package/dist/react/hooks/internal/check/getCreditCost.d.ts +1 -1
  101. package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +2 -2
  102. package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +2 -2
  103. package/dist/react/hooks/internal/useCustomerActions.d.mts +2 -2
  104. package/dist/react/hooks/internal/useCustomerActions.d.ts +2 -2
  105. package/dist/react/hooks/useAggregateEvents.d.mts +1 -1
  106. package/dist/react/hooks/useAggregateEvents.d.ts +1 -1
  107. package/dist/react/hooks/useCustomer.d.mts +2 -2
  108. package/dist/react/hooks/useCustomer.d.ts +2 -2
  109. package/dist/react/hooks/useEntity.d.mts +1 -1
  110. package/dist/react/hooks/useEntity.d.ts +1 -1
  111. package/dist/react/hooks/useListEvents.d.mts +1 -1
  112. package/dist/react/hooks/useListEvents.d.ts +1 -1
  113. package/dist/react/hooks/useListPlans.d.mts +1 -1
  114. package/dist/react/hooks/useListPlans.d.ts +1 -1
  115. package/dist/react/hooks/useReferrals.d.mts +1 -1
  116. package/dist/react/hooks/useReferrals.d.ts +1 -1
  117. package/dist/react/index.d.mts +2 -2
  118. package/dist/react/index.d.ts +2 -2
  119. package/dist/react/{params-B5l9vHfZ.d.ts → params-D4cEukOJ.d.ts} +615 -64
  120. package/dist/react/{params-BVglT8vT.d.mts → params-DzbSUS8O.d.mts} +615 -64
  121. package/dist/sdk/index.d.mts +980 -173
  122. package/dist/sdk/index.d.ts +980 -173
  123. package/dist/sdk/index.js +978 -212
  124. package/dist/sdk/index.mjs +825 -149
  125. package/package.json +1 -1
  126. package/dist/backend/{chunk-S5HPMJ4U.mjs → chunk-55C2WWXQ.mjs} +3 -3
@@ -60,8 +60,8 @@ var SDK_METADATA = {
60
60
  language: "typescript",
61
61
  openapiDocVersion: "2.2.0",
62
62
  sdkVersion: "0.10.17",
63
- genVersion: "2.881.4",
64
- userAgent: "speakeasy-sdk/typescript 0.10.17 2.881.4 2.2.0 @useautumn/sdk"
63
+ genVersion: "2.881.16",
64
+ userAgent: "speakeasy-sdk/typescript 0.10.17 2.881.16 2.2.0 @useautumn/sdk"
65
65
  };
66
66
 
67
67
  // ../sdk/src/lib/files.ts
@@ -1794,7 +1794,8 @@ var AttachParams$outboundSchema = z39.pipe(
1794
1794
  z39.lazy(() => AttachCarryOverUsages$outboundSchema)
1795
1795
  ),
1796
1796
  metadata: z39.optional(z39.record(z39.string(), z39.string())),
1797
- noBillingChanges: z39.optional(z39.boolean())
1797
+ noBillingChanges: z39.optional(z39.boolean()),
1798
+ enablePlanImmediately: z39.optional(z39.boolean())
1798
1799
  }),
1799
1800
  z39.transform((v) => {
1800
1801
  return remap(v, {
@@ -1815,7 +1816,8 @@ var AttachParams$outboundSchema = z39.pipe(
1815
1816
  processorSubscriptionId: "processor_subscription_id",
1816
1817
  carryOverBalances: "carry_over_balances",
1817
1818
  carryOverUsages: "carry_over_usages",
1818
- noBillingChanges: "no_billing_changes"
1819
+ noBillingChanges: "no_billing_changes",
1820
+ enablePlanImmediately: "enable_plan_immediately"
1819
1821
  });
1820
1822
  })
1821
1823
  );
@@ -2547,31 +2549,107 @@ function billingUpdateResponseFromJSON(jsonString) {
2547
2549
  `Failed to parse 'BillingUpdateResponse' from JSON`
2548
2550
  );
2549
2551
  }
2550
- var FlagType = {
2552
+ var FlagType2 = {
2553
+ Boolean: "boolean",
2554
+ Metered: "metered",
2555
+ CreditSystem: "credit_system"
2556
+ };
2557
+ var Scenario2 = {
2558
+ UsageLimit: "usage_limit",
2559
+ FeatureFlag: "feature_flag"
2560
+ };
2561
+ var CheckEnv2 = {
2562
+ Sandbox: "sandbox",
2563
+ Live: "live"
2564
+ };
2565
+ var ProductType2 = {
2566
+ Feature: "feature",
2567
+ PricedFeature: "priced_feature",
2568
+ Price: "price"
2569
+ };
2570
+ var FeatureType2 = {
2571
+ SingleUse: "single_use",
2572
+ ContinuousUse: "continuous_use",
2573
+ Boolean: "boolean",
2574
+ Static: "static"
2575
+ };
2576
+ var CheckInterval2 = {
2577
+ Minute: "minute",
2578
+ Hour: "hour",
2579
+ Day: "day",
2580
+ Week: "week",
2581
+ Month: "month",
2582
+ Quarter: "quarter",
2583
+ SemiAnnual: "semi_annual",
2584
+ Year: "year"
2585
+ };
2586
+ var CheckTierBehavior2 = {
2587
+ Graduated: "graduated",
2588
+ Volume: "volume"
2589
+ };
2590
+ var UsageModel2 = {
2591
+ Prepaid: "prepaid",
2592
+ PayPerUse: "pay_per_use"
2593
+ };
2594
+ var ConfigDuration2 = {
2595
+ Month: "month",
2596
+ Forever: "forever"
2597
+ };
2598
+ var CheckOnIncrease2 = {
2599
+ BillImmediately: "bill_immediately",
2600
+ ProrateImmediately: "prorate_immediately",
2601
+ ProrateNextCycle: "prorate_next_cycle",
2602
+ BillNextCycle: "bill_next_cycle"
2603
+ };
2604
+ var CheckOnDecrease2 = {
2605
+ Prorate: "prorate",
2606
+ ProrateImmediately: "prorate_immediately",
2607
+ ProrateNextCycle: "prorate_next_cycle",
2608
+ None: "none",
2609
+ NoProrations: "no_prorations"
2610
+ };
2611
+ var FreeTrialDuration2 = {
2612
+ Day: "day",
2613
+ Month: "month",
2614
+ Year: "year"
2615
+ };
2616
+ var ProductScenario2 = {
2617
+ Scheduled: "scheduled",
2618
+ Active: "active",
2619
+ New: "new",
2620
+ Renew: "renew",
2621
+ Upgrade: "upgrade",
2622
+ UpdatePrepaidQuantity: "update_prepaid_quantity",
2623
+ Downgrade: "downgrade",
2624
+ Cancel: "cancel",
2625
+ Expired: "expired",
2626
+ PastDue: "past_due"
2627
+ };
2628
+ var FlagType1 = {
2551
2629
  Boolean: "boolean",
2552
2630
  Metered: "metered",
2553
2631
  CreditSystem: "credit_system"
2554
2632
  };
2555
- var Scenario = {
2633
+ var Scenario1 = {
2556
2634
  UsageLimit: "usage_limit",
2557
2635
  FeatureFlag: "feature_flag"
2558
2636
  };
2559
- var CheckEnv = {
2637
+ var CheckEnv1 = {
2560
2638
  Sandbox: "sandbox",
2561
2639
  Live: "live"
2562
2640
  };
2563
- var ProductType = {
2641
+ var ProductType1 = {
2564
2642
  Feature: "feature",
2565
2643
  PricedFeature: "priced_feature",
2566
2644
  Price: "price"
2567
2645
  };
2568
- var FeatureType = {
2646
+ var FeatureType1 = {
2569
2647
  SingleUse: "single_use",
2570
2648
  ContinuousUse: "continuous_use",
2571
2649
  Boolean: "boolean",
2572
2650
  Static: "static"
2573
2651
  };
2574
- var CheckInterval = {
2652
+ var CheckInterval1 = {
2575
2653
  Minute: "minute",
2576
2654
  Hour: "hour",
2577
2655
  Day: "day",
@@ -2581,37 +2659,37 @@ var CheckInterval = {
2581
2659
  SemiAnnual: "semi_annual",
2582
2660
  Year: "year"
2583
2661
  };
2584
- var CheckTierBehavior = {
2662
+ var CheckTierBehavior1 = {
2585
2663
  Graduated: "graduated",
2586
2664
  Volume: "volume"
2587
2665
  };
2588
- var UsageModel = {
2666
+ var UsageModel1 = {
2589
2667
  Prepaid: "prepaid",
2590
2668
  PayPerUse: "pay_per_use"
2591
2669
  };
2592
- var ConfigDuration = {
2670
+ var ConfigDuration1 = {
2593
2671
  Month: "month",
2594
2672
  Forever: "forever"
2595
2673
  };
2596
- var CheckOnIncrease = {
2674
+ var CheckOnIncrease1 = {
2597
2675
  BillImmediately: "bill_immediately",
2598
2676
  ProrateImmediately: "prorate_immediately",
2599
2677
  ProrateNextCycle: "prorate_next_cycle",
2600
2678
  BillNextCycle: "bill_next_cycle"
2601
2679
  };
2602
- var CheckOnDecrease = {
2680
+ var CheckOnDecrease1 = {
2603
2681
  Prorate: "prorate",
2604
2682
  ProrateImmediately: "prorate_immediately",
2605
2683
  ProrateNextCycle: "prorate_next_cycle",
2606
2684
  None: "none",
2607
2685
  NoProrations: "no_prorations"
2608
2686
  };
2609
- var FreeTrialDuration = {
2687
+ var FreeTrialDuration1 = {
2610
2688
  Day: "day",
2611
2689
  Month: "month",
2612
2690
  Year: "year"
2613
2691
  };
2614
- var ProductScenario = {
2692
+ var ProductScenario1 = {
2615
2693
  Scheduled: "scheduled",
2616
2694
  Active: "active",
2617
2695
  New: "new",
@@ -2664,8 +2742,345 @@ var CheckParams$outboundSchema = z39.pipe(
2664
2742
  function checkParamsToJSON(checkParams) {
2665
2743
  return JSON.stringify(CheckParams$outboundSchema.parse(checkParams));
2666
2744
  }
2667
- var FlagType$inboundSchema = inboundSchema(FlagType);
2668
- var CheckCreditSchema$inboundSchema = z39.pipe(
2745
+ var FlagType2$inboundSchema = inboundSchema(FlagType2);
2746
+ var CheckCreditSchema2$inboundSchema = z39.pipe(
2747
+ z39.object({
2748
+ metered_feature_id: string4(),
2749
+ credit_cost: number2()
2750
+ }),
2751
+ z39.transform((v) => {
2752
+ return remap(v, {
2753
+ "metered_feature_id": "meteredFeatureId",
2754
+ "credit_cost": "creditCost"
2755
+ });
2756
+ })
2757
+ );
2758
+ function checkCreditSchema2FromJSON(jsonString) {
2759
+ return safeParse(
2760
+ jsonString,
2761
+ (x) => CheckCreditSchema2$inboundSchema.parse(JSON.parse(x)),
2762
+ `Failed to parse 'CheckCreditSchema2' from JSON`
2763
+ );
2764
+ }
2765
+ var FlagDisplay2$inboundSchema = z39.object({
2766
+ singular: z39.optional(z39.nullable(string4())),
2767
+ plural: z39.optional(z39.nullable(string4()))
2768
+ });
2769
+ function flagDisplay2FromJSON(jsonString) {
2770
+ return safeParse(
2771
+ jsonString,
2772
+ (x) => FlagDisplay2$inboundSchema.parse(JSON.parse(x)),
2773
+ `Failed to parse 'FlagDisplay2' from JSON`
2774
+ );
2775
+ }
2776
+ var CheckFeature2$inboundSchema = z39.pipe(
2777
+ z39.object({
2778
+ id: string4(),
2779
+ name: string4(),
2780
+ type: FlagType2$inboundSchema,
2781
+ consumable: boolean2(),
2782
+ event_names: optional2(z39.array(string4())),
2783
+ credit_schema: optional2(
2784
+ z39.array(z39.lazy(() => CheckCreditSchema2$inboundSchema))
2785
+ ),
2786
+ display: optional2(z39.lazy(() => FlagDisplay2$inboundSchema)),
2787
+ archived: boolean2()
2788
+ }),
2789
+ z39.transform((v) => {
2790
+ return remap(v, {
2791
+ "event_names": "eventNames",
2792
+ "credit_schema": "creditSchema"
2793
+ });
2794
+ })
2795
+ );
2796
+ function checkFeature2FromJSON(jsonString) {
2797
+ return safeParse(
2798
+ jsonString,
2799
+ (x) => CheckFeature2$inboundSchema.parse(JSON.parse(x)),
2800
+ `Failed to parse 'CheckFeature2' from JSON`
2801
+ );
2802
+ }
2803
+ var Flag2$inboundSchema = z39.pipe(
2804
+ z39.object({
2805
+ id: string4(),
2806
+ plan_id: nullable(string4()),
2807
+ expires_at: nullable(number2()),
2808
+ feature_id: string4(),
2809
+ feature: optional2(z39.lazy(() => CheckFeature2$inboundSchema))
2810
+ }),
2811
+ z39.transform((v) => {
2812
+ return remap(v, {
2813
+ "plan_id": "planId",
2814
+ "expires_at": "expiresAt",
2815
+ "feature_id": "featureId"
2816
+ });
2817
+ })
2818
+ );
2819
+ function flag2FromJSON(jsonString) {
2820
+ return safeParse(
2821
+ jsonString,
2822
+ (x) => Flag2$inboundSchema.parse(JSON.parse(x)),
2823
+ `Failed to parse 'Flag2' from JSON`
2824
+ );
2825
+ }
2826
+ var Scenario2$inboundSchema = inboundSchema(Scenario2);
2827
+ var CheckEnv2$inboundSchema = inboundSchema(CheckEnv2);
2828
+ var ProductType2$inboundSchema = inboundSchema(ProductType2);
2829
+ var FeatureType2$inboundSchema = inboundSchema(FeatureType2);
2830
+ var IncludedUsage2$inboundSchema = smartUnion([number2(), string4()]);
2831
+ function includedUsage2FromJSON(jsonString) {
2832
+ return safeParse(
2833
+ jsonString,
2834
+ (x) => IncludedUsage2$inboundSchema.parse(JSON.parse(x)),
2835
+ `Failed to parse 'IncludedUsage2' from JSON`
2836
+ );
2837
+ }
2838
+ var CheckInterval2$inboundSchema = inboundSchema(CheckInterval2);
2839
+ var CheckTierBehavior2$inboundSchema = inboundSchema(CheckTierBehavior2);
2840
+ var UsageModel2$inboundSchema = inboundSchema(UsageModel2);
2841
+ var ProductDisplay2$inboundSchema = z39.pipe(
2842
+ z39.object({
2843
+ primary_text: string4(),
2844
+ secondary_text: z39.optional(z39.nullable(string4()))
2845
+ }),
2846
+ z39.transform((v) => {
2847
+ return remap(v, {
2848
+ "primary_text": "primaryText",
2849
+ "secondary_text": "secondaryText"
2850
+ });
2851
+ })
2852
+ );
2853
+ function productDisplay2FromJSON(jsonString) {
2854
+ return safeParse(
2855
+ jsonString,
2856
+ (x) => ProductDisplay2$inboundSchema.parse(JSON.parse(x)),
2857
+ `Failed to parse 'ProductDisplay2' from JSON`
2858
+ );
2859
+ }
2860
+ var ConfigDuration2$inboundSchema = inboundSchema(ConfigDuration2);
2861
+ var CheckRollover2$inboundSchema = z39.pipe(
2862
+ z39.object({
2863
+ max: z39.optional(z39.nullable(number2())),
2864
+ max_percentage: z39.optional(z39.nullable(number2())),
2865
+ duration: z39._default(ConfigDuration2$inboundSchema, "month"),
2866
+ length: number2()
2867
+ }),
2868
+ z39.transform((v) => {
2869
+ return remap(v, {
2870
+ "max_percentage": "maxPercentage"
2871
+ });
2872
+ })
2873
+ );
2874
+ function checkRollover2FromJSON(jsonString) {
2875
+ return safeParse(
2876
+ jsonString,
2877
+ (x) => CheckRollover2$inboundSchema.parse(JSON.parse(x)),
2878
+ `Failed to parse 'CheckRollover2' from JSON`
2879
+ );
2880
+ }
2881
+ var CheckOnIncrease2$inboundSchema = inboundSchema(CheckOnIncrease2);
2882
+ var CheckOnDecrease2$inboundSchema = inboundSchema(CheckOnDecrease2);
2883
+ var CheckConfig2$inboundSchema = z39.pipe(
2884
+ z39.object({
2885
+ rollover: z39.optional(
2886
+ z39.nullable(z39.lazy(() => CheckRollover2$inboundSchema))
2887
+ ),
2888
+ on_increase: z39.optional(z39.nullable(CheckOnIncrease2$inboundSchema)),
2889
+ on_decrease: z39.optional(z39.nullable(CheckOnDecrease2$inboundSchema))
2890
+ }),
2891
+ z39.transform((v) => {
2892
+ return remap(v, {
2893
+ "on_increase": "onIncrease",
2894
+ "on_decrease": "onDecrease"
2895
+ });
2896
+ })
2897
+ );
2898
+ function checkConfig2FromJSON(jsonString) {
2899
+ return safeParse(
2900
+ jsonString,
2901
+ (x) => CheckConfig2$inboundSchema.parse(JSON.parse(x)),
2902
+ `Failed to parse 'CheckConfig2' from JSON`
2903
+ );
2904
+ }
2905
+ var CheckItem2$inboundSchema = z39.pipe(
2906
+ z39.object({
2907
+ type: z39.optional(z39.nullable(ProductType2$inboundSchema)),
2908
+ feature_id: z39.optional(z39.nullable(string4())),
2909
+ feature_type: z39.optional(z39.nullable(FeatureType2$inboundSchema)),
2910
+ included_usage: z39.optional(
2911
+ z39.nullable(smartUnion([number2(), string4()]))
2912
+ ),
2913
+ interval: z39.optional(z39.nullable(CheckInterval2$inboundSchema)),
2914
+ interval_count: z39.optional(z39.nullable(number2())),
2915
+ price: z39.optional(z39.nullable(number2())),
2916
+ tiers: z39.optional(z39.nullable(z39.array(nullable(z39.any())))),
2917
+ tier_behavior: z39.optional(z39.nullable(CheckTierBehavior2$inboundSchema)),
2918
+ usage_model: z39.optional(z39.nullable(UsageModel2$inboundSchema)),
2919
+ billing_units: z39.optional(z39.nullable(number2())),
2920
+ reset_usage_when_enabled: z39.optional(z39.nullable(boolean2())),
2921
+ entity_feature_id: z39.optional(z39.nullable(string4())),
2922
+ display: z39.optional(
2923
+ z39.nullable(z39.lazy(() => ProductDisplay2$inboundSchema))
2924
+ ),
2925
+ quantity: z39.optional(z39.nullable(number2())),
2926
+ next_cycle_quantity: z39.optional(z39.nullable(number2())),
2927
+ config: z39.optional(z39.nullable(z39.lazy(() => CheckConfig2$inboundSchema)))
2928
+ }),
2929
+ z39.transform((v) => {
2930
+ return remap(v, {
2931
+ "feature_id": "featureId",
2932
+ "feature_type": "featureType",
2933
+ "included_usage": "includedUsage",
2934
+ "interval_count": "intervalCount",
2935
+ "tier_behavior": "tierBehavior",
2936
+ "usage_model": "usageModel",
2937
+ "billing_units": "billingUnits",
2938
+ "reset_usage_when_enabled": "resetUsageWhenEnabled",
2939
+ "entity_feature_id": "entityFeatureId",
2940
+ "next_cycle_quantity": "nextCycleQuantity"
2941
+ });
2942
+ })
2943
+ );
2944
+ function checkItem2FromJSON(jsonString) {
2945
+ return safeParse(
2946
+ jsonString,
2947
+ (x) => CheckItem2$inboundSchema.parse(JSON.parse(x)),
2948
+ `Failed to parse 'CheckItem2' from JSON`
2949
+ );
2950
+ }
2951
+ var FreeTrialDuration2$inboundSchema = inboundSchema(FreeTrialDuration2);
2952
+ var CheckFreeTrial2$inboundSchema = z39.pipe(
2953
+ z39.object({
2954
+ duration: FreeTrialDuration2$inboundSchema,
2955
+ length: number2(),
2956
+ unique_fingerprint: boolean2(),
2957
+ card_required: boolean2(),
2958
+ trial_available: z39.nullable(z39._default(boolean2(), true))
2959
+ }),
2960
+ z39.transform((v) => {
2961
+ return remap(v, {
2962
+ "unique_fingerprint": "uniqueFingerprint",
2963
+ "card_required": "cardRequired",
2964
+ "trial_available": "trialAvailable"
2965
+ });
2966
+ })
2967
+ );
2968
+ function checkFreeTrial2FromJSON(jsonString) {
2969
+ return safeParse(
2970
+ jsonString,
2971
+ (x) => CheckFreeTrial2$inboundSchema.parse(JSON.parse(x)),
2972
+ `Failed to parse 'CheckFreeTrial2' from JSON`
2973
+ );
2974
+ }
2975
+ var ProductScenario2$inboundSchema = inboundSchema(ProductScenario2);
2976
+ var Properties2$inboundSchema = z39.pipe(
2977
+ z39.object({
2978
+ is_free: boolean2(),
2979
+ is_one_off: boolean2(),
2980
+ interval_group: z39.optional(z39.nullable(string4())),
2981
+ has_trial: z39.optional(z39.nullable(boolean2())),
2982
+ updateable: z39.optional(z39.nullable(boolean2()))
2983
+ }),
2984
+ z39.transform((v) => {
2985
+ return remap(v, {
2986
+ "is_free": "isFree",
2987
+ "is_one_off": "isOneOff",
2988
+ "interval_group": "intervalGroup",
2989
+ "has_trial": "hasTrial"
2990
+ });
2991
+ })
2992
+ );
2993
+ function properties2FromJSON(jsonString) {
2994
+ return safeParse(
2995
+ jsonString,
2996
+ (x) => Properties2$inboundSchema.parse(JSON.parse(x)),
2997
+ `Failed to parse 'Properties2' from JSON`
2998
+ );
2999
+ }
3000
+ var Product2$inboundSchema = z39.pipe(
3001
+ z39.object({
3002
+ id: string4(),
3003
+ name: string4(),
3004
+ group: nullable(string4()),
3005
+ env: CheckEnv2$inboundSchema,
3006
+ is_add_on: boolean2(),
3007
+ is_default: boolean2(),
3008
+ archived: boolean2(),
3009
+ version: number2(),
3010
+ created_at: number2(),
3011
+ items: z39.array(z39.lazy(() => CheckItem2$inboundSchema)),
3012
+ free_trial: nullable(z39.lazy(() => CheckFreeTrial2$inboundSchema)),
3013
+ base_variant_id: nullable(string4()),
3014
+ scenario: optional2(ProductScenario2$inboundSchema),
3015
+ properties: optional2(z39.lazy(() => Properties2$inboundSchema))
3016
+ }),
3017
+ z39.transform((v) => {
3018
+ return remap(v, {
3019
+ "is_add_on": "isAddOn",
3020
+ "is_default": "isDefault",
3021
+ "created_at": "createdAt",
3022
+ "free_trial": "freeTrial",
3023
+ "base_variant_id": "baseVariantId"
3024
+ });
3025
+ })
3026
+ );
3027
+ function product2FromJSON(jsonString) {
3028
+ return safeParse(
3029
+ jsonString,
3030
+ (x) => Product2$inboundSchema.parse(JSON.parse(x)),
3031
+ `Failed to parse 'Product2' from JSON`
3032
+ );
3033
+ }
3034
+ var Preview2$inboundSchema = z39.pipe(
3035
+ z39.object({
3036
+ scenario: Scenario2$inboundSchema,
3037
+ title: string4(),
3038
+ message: string4(),
3039
+ feature_id: string4(),
3040
+ feature_name: string4(),
3041
+ products: z39.array(z39.lazy(() => Product2$inboundSchema))
3042
+ }),
3043
+ z39.transform((v) => {
3044
+ return remap(v, {
3045
+ "feature_id": "featureId",
3046
+ "feature_name": "featureName"
3047
+ });
3048
+ })
3049
+ );
3050
+ function preview2FromJSON(jsonString) {
3051
+ return safeParse(
3052
+ jsonString,
3053
+ (x) => Preview2$inboundSchema.parse(JSON.parse(x)),
3054
+ `Failed to parse 'Preview2' from JSON`
3055
+ );
3056
+ }
3057
+ var CheckResponseBody2$inboundSchema = z39.pipe(
3058
+ z39.object({
3059
+ allowed: boolean2(),
3060
+ customer_id: string4(),
3061
+ entity_id: z39.optional(z39.nullable(string4())),
3062
+ required_balance: optional2(number2()),
3063
+ balance: nullable(Balance$inboundSchema),
3064
+ flag: nullable(z39.lazy(() => Flag2$inboundSchema)),
3065
+ preview: optional2(z39.lazy(() => Preview2$inboundSchema))
3066
+ }),
3067
+ z39.transform((v) => {
3068
+ return remap(v, {
3069
+ "customer_id": "customerId",
3070
+ "entity_id": "entityId",
3071
+ "required_balance": "requiredBalance"
3072
+ });
3073
+ })
3074
+ );
3075
+ function checkResponseBody2FromJSON(jsonString) {
3076
+ return safeParse(
3077
+ jsonString,
3078
+ (x) => CheckResponseBody2$inboundSchema.parse(JSON.parse(x)),
3079
+ `Failed to parse 'CheckResponseBody2' from JSON`
3080
+ );
3081
+ }
3082
+ var FlagType1$inboundSchema = inboundSchema(FlagType1);
3083
+ var CheckCreditSchema1$inboundSchema = z39.pipe(
2669
3084
  z39.object({
2670
3085
  metered_feature_id: string4(),
2671
3086
  credit_cost: number2()
@@ -2677,35 +3092,35 @@ var CheckCreditSchema$inboundSchema = z39.pipe(
2677
3092
  });
2678
3093
  })
2679
3094
  );
2680
- function checkCreditSchemaFromJSON(jsonString) {
3095
+ function checkCreditSchema1FromJSON(jsonString) {
2681
3096
  return safeParse(
2682
3097
  jsonString,
2683
- (x) => CheckCreditSchema$inboundSchema.parse(JSON.parse(x)),
2684
- `Failed to parse 'CheckCreditSchema' from JSON`
3098
+ (x) => CheckCreditSchema1$inboundSchema.parse(JSON.parse(x)),
3099
+ `Failed to parse 'CheckCreditSchema1' from JSON`
2685
3100
  );
2686
3101
  }
2687
- var FlagDisplay$inboundSchema = z39.object({
3102
+ var FlagDisplay1$inboundSchema = z39.object({
2688
3103
  singular: z39.optional(z39.nullable(string4())),
2689
3104
  plural: z39.optional(z39.nullable(string4()))
2690
3105
  });
2691
- function flagDisplayFromJSON(jsonString) {
3106
+ function flagDisplay1FromJSON(jsonString) {
2692
3107
  return safeParse(
2693
3108
  jsonString,
2694
- (x) => FlagDisplay$inboundSchema.parse(JSON.parse(x)),
2695
- `Failed to parse 'FlagDisplay' from JSON`
3109
+ (x) => FlagDisplay1$inboundSchema.parse(JSON.parse(x)),
3110
+ `Failed to parse 'FlagDisplay1' from JSON`
2696
3111
  );
2697
3112
  }
2698
- var CheckFeature$inboundSchema = z39.pipe(
3113
+ var CheckFeature1$inboundSchema = z39.pipe(
2699
3114
  z39.object({
2700
3115
  id: string4(),
2701
3116
  name: string4(),
2702
- type: FlagType$inboundSchema,
3117
+ type: FlagType1$inboundSchema,
2703
3118
  consumable: boolean2(),
2704
3119
  event_names: optional2(z39.array(string4())),
2705
3120
  credit_schema: optional2(
2706
- z39.array(z39.lazy(() => CheckCreditSchema$inboundSchema))
3121
+ z39.array(z39.lazy(() => CheckCreditSchema1$inboundSchema))
2707
3122
  ),
2708
- display: optional2(z39.lazy(() => FlagDisplay$inboundSchema)),
3123
+ display: optional2(z39.lazy(() => FlagDisplay1$inboundSchema)),
2709
3124
  archived: boolean2()
2710
3125
  }),
2711
3126
  z39.transform((v) => {
@@ -2715,20 +3130,20 @@ var CheckFeature$inboundSchema = z39.pipe(
2715
3130
  });
2716
3131
  })
2717
3132
  );
2718
- function checkFeatureFromJSON(jsonString) {
3133
+ function checkFeature1FromJSON(jsonString) {
2719
3134
  return safeParse(
2720
3135
  jsonString,
2721
- (x) => CheckFeature$inboundSchema.parse(JSON.parse(x)),
2722
- `Failed to parse 'CheckFeature' from JSON`
3136
+ (x) => CheckFeature1$inboundSchema.parse(JSON.parse(x)),
3137
+ `Failed to parse 'CheckFeature1' from JSON`
2723
3138
  );
2724
3139
  }
2725
- var Flag$inboundSchema = z39.pipe(
3140
+ var Flag1$inboundSchema = z39.pipe(
2726
3141
  z39.object({
2727
3142
  id: string4(),
2728
3143
  plan_id: nullable(string4()),
2729
3144
  expires_at: nullable(number2()),
2730
3145
  feature_id: string4(),
2731
- feature: optional2(z39.lazy(() => CheckFeature$inboundSchema))
3146
+ feature: optional2(z39.lazy(() => CheckFeature1$inboundSchema))
2732
3147
  }),
2733
3148
  z39.transform((v) => {
2734
3149
  return remap(v, {
@@ -2738,29 +3153,29 @@ var Flag$inboundSchema = z39.pipe(
2738
3153
  });
2739
3154
  })
2740
3155
  );
2741
- function flagFromJSON(jsonString) {
3156
+ function flag1FromJSON(jsonString) {
2742
3157
  return safeParse(
2743
3158
  jsonString,
2744
- (x) => Flag$inboundSchema.parse(JSON.parse(x)),
2745
- `Failed to parse 'Flag' from JSON`
3159
+ (x) => Flag1$inboundSchema.parse(JSON.parse(x)),
3160
+ `Failed to parse 'Flag1' from JSON`
2746
3161
  );
2747
3162
  }
2748
- var Scenario$inboundSchema = inboundSchema(Scenario);
2749
- var CheckEnv$inboundSchema = inboundSchema(CheckEnv);
2750
- var ProductType$inboundSchema = inboundSchema(ProductType);
2751
- var FeatureType$inboundSchema = inboundSchema(FeatureType);
2752
- var IncludedUsage$inboundSchema = smartUnion([number2(), string4()]);
2753
- function includedUsageFromJSON(jsonString) {
3163
+ var Scenario1$inboundSchema = inboundSchema(Scenario1);
3164
+ var CheckEnv1$inboundSchema = inboundSchema(CheckEnv1);
3165
+ var ProductType1$inboundSchema = inboundSchema(ProductType1);
3166
+ var FeatureType1$inboundSchema = inboundSchema(FeatureType1);
3167
+ var IncludedUsage1$inboundSchema = smartUnion([number2(), string4()]);
3168
+ function includedUsage1FromJSON(jsonString) {
2754
3169
  return safeParse(
2755
3170
  jsonString,
2756
- (x) => IncludedUsage$inboundSchema.parse(JSON.parse(x)),
2757
- `Failed to parse 'IncludedUsage' from JSON`
3171
+ (x) => IncludedUsage1$inboundSchema.parse(JSON.parse(x)),
3172
+ `Failed to parse 'IncludedUsage1' from JSON`
2758
3173
  );
2759
3174
  }
2760
- var CheckInterval$inboundSchema = inboundSchema(CheckInterval);
2761
- var CheckTierBehavior$inboundSchema = inboundSchema(CheckTierBehavior);
2762
- var UsageModel$inboundSchema = inboundSchema(UsageModel);
2763
- var ProductDisplay$inboundSchema = z39.pipe(
3175
+ var CheckInterval1$inboundSchema = inboundSchema(CheckInterval1);
3176
+ var CheckTierBehavior1$inboundSchema = inboundSchema(CheckTierBehavior1);
3177
+ var UsageModel1$inboundSchema = inboundSchema(UsageModel1);
3178
+ var ProductDisplay1$inboundSchema = z39.pipe(
2764
3179
  z39.object({
2765
3180
  primary_text: string4(),
2766
3181
  secondary_text: z39.optional(z39.nullable(string4()))
@@ -2772,19 +3187,19 @@ var ProductDisplay$inboundSchema = z39.pipe(
2772
3187
  });
2773
3188
  })
2774
3189
  );
2775
- function productDisplayFromJSON(jsonString) {
3190
+ function productDisplay1FromJSON(jsonString) {
2776
3191
  return safeParse(
2777
3192
  jsonString,
2778
- (x) => ProductDisplay$inboundSchema.parse(JSON.parse(x)),
2779
- `Failed to parse 'ProductDisplay' from JSON`
3193
+ (x) => ProductDisplay1$inboundSchema.parse(JSON.parse(x)),
3194
+ `Failed to parse 'ProductDisplay1' from JSON`
2780
3195
  );
2781
3196
  }
2782
- var ConfigDuration$inboundSchema = inboundSchema(ConfigDuration);
2783
- var CheckRollover$inboundSchema = z39.pipe(
3197
+ var ConfigDuration1$inboundSchema = inboundSchema(ConfigDuration1);
3198
+ var CheckRollover1$inboundSchema = z39.pipe(
2784
3199
  z39.object({
2785
3200
  max: z39.optional(z39.nullable(number2())),
2786
3201
  max_percentage: z39.optional(z39.nullable(number2())),
2787
- duration: z39._default(ConfigDuration$inboundSchema, "month"),
3202
+ duration: z39._default(ConfigDuration1$inboundSchema, "month"),
2788
3203
  length: number2()
2789
3204
  }),
2790
3205
  z39.transform((v) => {
@@ -2793,22 +3208,22 @@ var CheckRollover$inboundSchema = z39.pipe(
2793
3208
  });
2794
3209
  })
2795
3210
  );
2796
- function checkRolloverFromJSON(jsonString) {
3211
+ function checkRollover1FromJSON(jsonString) {
2797
3212
  return safeParse(
2798
3213
  jsonString,
2799
- (x) => CheckRollover$inboundSchema.parse(JSON.parse(x)),
2800
- `Failed to parse 'CheckRollover' from JSON`
3214
+ (x) => CheckRollover1$inboundSchema.parse(JSON.parse(x)),
3215
+ `Failed to parse 'CheckRollover1' from JSON`
2801
3216
  );
2802
3217
  }
2803
- var CheckOnIncrease$inboundSchema = inboundSchema(CheckOnIncrease);
2804
- var CheckOnDecrease$inboundSchema = inboundSchema(CheckOnDecrease);
2805
- var CheckConfig$inboundSchema = z39.pipe(
3218
+ var CheckOnIncrease1$inboundSchema = inboundSchema(CheckOnIncrease1);
3219
+ var CheckOnDecrease1$inboundSchema = inboundSchema(CheckOnDecrease1);
3220
+ var CheckConfig1$inboundSchema = z39.pipe(
2806
3221
  z39.object({
2807
3222
  rollover: z39.optional(
2808
- z39.nullable(z39.lazy(() => CheckRollover$inboundSchema))
3223
+ z39.nullable(z39.lazy(() => CheckRollover1$inboundSchema))
2809
3224
  ),
2810
- on_increase: z39.optional(z39.nullable(CheckOnIncrease$inboundSchema)),
2811
- on_decrease: z39.optional(z39.nullable(CheckOnDecrease$inboundSchema))
3225
+ on_increase: z39.optional(z39.nullable(CheckOnIncrease1$inboundSchema)),
3226
+ on_decrease: z39.optional(z39.nullable(CheckOnDecrease1$inboundSchema))
2812
3227
  }),
2813
3228
  z39.transform((v) => {
2814
3229
  return remap(v, {
@@ -2817,36 +3232,36 @@ var CheckConfig$inboundSchema = z39.pipe(
2817
3232
  });
2818
3233
  })
2819
3234
  );
2820
- function checkConfigFromJSON(jsonString) {
3235
+ function checkConfig1FromJSON(jsonString) {
2821
3236
  return safeParse(
2822
3237
  jsonString,
2823
- (x) => CheckConfig$inboundSchema.parse(JSON.parse(x)),
2824
- `Failed to parse 'CheckConfig' from JSON`
3238
+ (x) => CheckConfig1$inboundSchema.parse(JSON.parse(x)),
3239
+ `Failed to parse 'CheckConfig1' from JSON`
2825
3240
  );
2826
3241
  }
2827
- var CheckItem$inboundSchema = z39.pipe(
3242
+ var CheckItem1$inboundSchema = z39.pipe(
2828
3243
  z39.object({
2829
- type: z39.optional(z39.nullable(ProductType$inboundSchema)),
3244
+ type: z39.optional(z39.nullable(ProductType1$inboundSchema)),
2830
3245
  feature_id: z39.optional(z39.nullable(string4())),
2831
- feature_type: z39.optional(z39.nullable(FeatureType$inboundSchema)),
3246
+ feature_type: z39.optional(z39.nullable(FeatureType1$inboundSchema)),
2832
3247
  included_usage: z39.optional(
2833
3248
  z39.nullable(smartUnion([number2(), string4()]))
2834
3249
  ),
2835
- interval: z39.optional(z39.nullable(CheckInterval$inboundSchema)),
3250
+ interval: z39.optional(z39.nullable(CheckInterval1$inboundSchema)),
2836
3251
  interval_count: z39.optional(z39.nullable(number2())),
2837
3252
  price: z39.optional(z39.nullable(number2())),
2838
3253
  tiers: z39.optional(z39.nullable(z39.array(nullable(z39.any())))),
2839
- tier_behavior: z39.optional(z39.nullable(CheckTierBehavior$inboundSchema)),
2840
- usage_model: z39.optional(z39.nullable(UsageModel$inboundSchema)),
3254
+ tier_behavior: z39.optional(z39.nullable(CheckTierBehavior1$inboundSchema)),
3255
+ usage_model: z39.optional(z39.nullable(UsageModel1$inboundSchema)),
2841
3256
  billing_units: z39.optional(z39.nullable(number2())),
2842
3257
  reset_usage_when_enabled: z39.optional(z39.nullable(boolean2())),
2843
3258
  entity_feature_id: z39.optional(z39.nullable(string4())),
2844
3259
  display: z39.optional(
2845
- z39.nullable(z39.lazy(() => ProductDisplay$inboundSchema))
3260
+ z39.nullable(z39.lazy(() => ProductDisplay1$inboundSchema))
2846
3261
  ),
2847
3262
  quantity: z39.optional(z39.nullable(number2())),
2848
3263
  next_cycle_quantity: z39.optional(z39.nullable(number2())),
2849
- config: z39.optional(z39.nullable(z39.lazy(() => CheckConfig$inboundSchema)))
3264
+ config: z39.optional(z39.nullable(z39.lazy(() => CheckConfig1$inboundSchema)))
2850
3265
  }),
2851
3266
  z39.transform((v) => {
2852
3267
  return remap(v, {
@@ -2863,17 +3278,17 @@ var CheckItem$inboundSchema = z39.pipe(
2863
3278
  });
2864
3279
  })
2865
3280
  );
2866
- function checkItemFromJSON(jsonString) {
3281
+ function checkItem1FromJSON(jsonString) {
2867
3282
  return safeParse(
2868
3283
  jsonString,
2869
- (x) => CheckItem$inboundSchema.parse(JSON.parse(x)),
2870
- `Failed to parse 'CheckItem' from JSON`
3284
+ (x) => CheckItem1$inboundSchema.parse(JSON.parse(x)),
3285
+ `Failed to parse 'CheckItem1' from JSON`
2871
3286
  );
2872
3287
  }
2873
- var FreeTrialDuration$inboundSchema = inboundSchema(FreeTrialDuration);
2874
- var CheckFreeTrial$inboundSchema = z39.pipe(
3288
+ var FreeTrialDuration1$inboundSchema = inboundSchema(FreeTrialDuration1);
3289
+ var CheckFreeTrial1$inboundSchema = z39.pipe(
2875
3290
  z39.object({
2876
- duration: FreeTrialDuration$inboundSchema,
3291
+ duration: FreeTrialDuration1$inboundSchema,
2877
3292
  length: number2(),
2878
3293
  unique_fingerprint: boolean2(),
2879
3294
  card_required: boolean2(),
@@ -2887,15 +3302,15 @@ var CheckFreeTrial$inboundSchema = z39.pipe(
2887
3302
  });
2888
3303
  })
2889
3304
  );
2890
- function checkFreeTrialFromJSON(jsonString) {
3305
+ function checkFreeTrial1FromJSON(jsonString) {
2891
3306
  return safeParse(
2892
3307
  jsonString,
2893
- (x) => CheckFreeTrial$inboundSchema.parse(JSON.parse(x)),
2894
- `Failed to parse 'CheckFreeTrial' from JSON`
3308
+ (x) => CheckFreeTrial1$inboundSchema.parse(JSON.parse(x)),
3309
+ `Failed to parse 'CheckFreeTrial1' from JSON`
2895
3310
  );
2896
3311
  }
2897
- var ProductScenario$inboundSchema = inboundSchema(ProductScenario);
2898
- var Properties$inboundSchema = z39.pipe(
3312
+ var ProductScenario1$inboundSchema = inboundSchema(ProductScenario1);
3313
+ var Properties1$inboundSchema = z39.pipe(
2899
3314
  z39.object({
2900
3315
  is_free: boolean2(),
2901
3316
  is_one_off: boolean2(),
@@ -2912,29 +3327,29 @@ var Properties$inboundSchema = z39.pipe(
2912
3327
  });
2913
3328
  })
2914
3329
  );
2915
- function propertiesFromJSON(jsonString) {
3330
+ function properties1FromJSON(jsonString) {
2916
3331
  return safeParse(
2917
3332
  jsonString,
2918
- (x) => Properties$inboundSchema.parse(JSON.parse(x)),
2919
- `Failed to parse 'Properties' from JSON`
3333
+ (x) => Properties1$inboundSchema.parse(JSON.parse(x)),
3334
+ `Failed to parse 'Properties1' from JSON`
2920
3335
  );
2921
3336
  }
2922
- var Product$inboundSchema = z39.pipe(
3337
+ var Product1$inboundSchema = z39.pipe(
2923
3338
  z39.object({
2924
3339
  id: string4(),
2925
3340
  name: string4(),
2926
3341
  group: nullable(string4()),
2927
- env: CheckEnv$inboundSchema,
3342
+ env: CheckEnv1$inboundSchema,
2928
3343
  is_add_on: boolean2(),
2929
3344
  is_default: boolean2(),
2930
3345
  archived: boolean2(),
2931
3346
  version: number2(),
2932
3347
  created_at: number2(),
2933
- items: z39.array(z39.lazy(() => CheckItem$inboundSchema)),
2934
- free_trial: nullable(z39.lazy(() => CheckFreeTrial$inboundSchema)),
3348
+ items: z39.array(z39.lazy(() => CheckItem1$inboundSchema)),
3349
+ free_trial: nullable(z39.lazy(() => CheckFreeTrial1$inboundSchema)),
2935
3350
  base_variant_id: nullable(string4()),
2936
- scenario: optional2(ProductScenario$inboundSchema),
2937
- properties: optional2(z39.lazy(() => Properties$inboundSchema))
3351
+ scenario: optional2(ProductScenario1$inboundSchema),
3352
+ properties: optional2(z39.lazy(() => Properties1$inboundSchema))
2938
3353
  }),
2939
3354
  z39.transform((v) => {
2940
3355
  return remap(v, {
@@ -2946,21 +3361,21 @@ var Product$inboundSchema = z39.pipe(
2946
3361
  });
2947
3362
  })
2948
3363
  );
2949
- function productFromJSON(jsonString) {
3364
+ function product1FromJSON(jsonString) {
2950
3365
  return safeParse(
2951
3366
  jsonString,
2952
- (x) => Product$inboundSchema.parse(JSON.parse(x)),
2953
- `Failed to parse 'Product' from JSON`
3367
+ (x) => Product1$inboundSchema.parse(JSON.parse(x)),
3368
+ `Failed to parse 'Product1' from JSON`
2954
3369
  );
2955
3370
  }
2956
- var Preview$inboundSchema = z39.pipe(
3371
+ var Preview1$inboundSchema = z39.pipe(
2957
3372
  z39.object({
2958
- scenario: Scenario$inboundSchema,
3373
+ scenario: Scenario1$inboundSchema,
2959
3374
  title: string4(),
2960
3375
  message: string4(),
2961
3376
  feature_id: string4(),
2962
3377
  feature_name: string4(),
2963
- products: z39.array(z39.lazy(() => Product$inboundSchema))
3378
+ products: z39.array(z39.lazy(() => Product1$inboundSchema))
2964
3379
  }),
2965
3380
  z39.transform((v) => {
2966
3381
  return remap(v, {
@@ -2969,22 +3384,22 @@ var Preview$inboundSchema = z39.pipe(
2969
3384
  });
2970
3385
  })
2971
3386
  );
2972
- function previewFromJSON(jsonString) {
3387
+ function preview1FromJSON(jsonString) {
2973
3388
  return safeParse(
2974
3389
  jsonString,
2975
- (x) => Preview$inboundSchema.parse(JSON.parse(x)),
2976
- `Failed to parse 'Preview' from JSON`
3390
+ (x) => Preview1$inboundSchema.parse(JSON.parse(x)),
3391
+ `Failed to parse 'Preview1' from JSON`
2977
3392
  );
2978
3393
  }
2979
- var CheckResponse$inboundSchema = z39.pipe(
3394
+ var CheckResponseBody1$inboundSchema = z39.pipe(
2980
3395
  z39.object({
2981
3396
  allowed: boolean2(),
2982
3397
  customer_id: string4(),
2983
3398
  entity_id: z39.optional(z39.nullable(string4())),
2984
3399
  required_balance: optional2(number2()),
2985
3400
  balance: nullable(Balance$inboundSchema),
2986
- flag: nullable(z39.lazy(() => Flag$inboundSchema)),
2987
- preview: optional2(z39.lazy(() => Preview$inboundSchema))
3401
+ flag: nullable(z39.lazy(() => Flag1$inboundSchema)),
3402
+ preview: optional2(z39.lazy(() => Preview1$inboundSchema))
2988
3403
  }),
2989
3404
  z39.transform((v) => {
2990
3405
  return remap(v, {
@@ -2994,6 +3409,17 @@ var CheckResponse$inboundSchema = z39.pipe(
2994
3409
  });
2995
3410
  })
2996
3411
  );
3412
+ function checkResponseBody1FromJSON(jsonString) {
3413
+ return safeParse(
3414
+ jsonString,
3415
+ (x) => CheckResponseBody1$inboundSchema.parse(JSON.parse(x)),
3416
+ `Failed to parse 'CheckResponseBody1' from JSON`
3417
+ );
3418
+ }
3419
+ var CheckResponse$inboundSchema = smartUnion([
3420
+ z39.lazy(() => CheckResponseBody1$inboundSchema),
3421
+ z39.lazy(() => CheckResponseBody2$inboundSchema)
3422
+ ]);
2997
3423
  function checkResponseFromJSON(jsonString) {
2998
3424
  return safeParse(
2999
3425
  jsonString,
@@ -4917,7 +5343,13 @@ var CustomerEnv = {
4917
5343
  Sandbox: "sandbox",
4918
5344
  Live: "live"
4919
5345
  };
4920
- var CustomerInterval = {
5346
+ var CustomerInterval2 = {
5347
+ Hour: "hour",
5348
+ Day: "day",
5349
+ Week: "week",
5350
+ Month: "month"
5351
+ };
5352
+ var CustomerInterval1 = {
4921
5353
  Hour: "hour",
4922
5354
  Day: "day",
4923
5355
  Week: "week",
@@ -4954,10 +5386,33 @@ var CustomerDurationType = {
4954
5386
  Forever: "forever"
4955
5387
  };
4956
5388
  var CustomerEnv$inboundSchema = inboundSchema(CustomerEnv);
4957
- var CustomerInterval$inboundSchema = inboundSchema(CustomerInterval);
4958
- var CustomerPurchaseLimit$inboundSchema = z39.pipe(
5389
+ var CustomerInterval2$inboundSchema = inboundSchema(CustomerInterval2);
5390
+ var CustomerPurchaseLimit2$inboundSchema = z39.pipe(
5391
+ z39.object({
5392
+ interval: nullable(CustomerInterval2$inboundSchema),
5393
+ interval_count: nullable(number2()),
5394
+ limit: nullable(number2()),
5395
+ count: number2(),
5396
+ next_reset_at: number2()
5397
+ }),
5398
+ z39.transform((v) => {
5399
+ return remap(v, {
5400
+ "interval_count": "intervalCount",
5401
+ "next_reset_at": "nextResetAt"
5402
+ });
5403
+ })
5404
+ );
5405
+ function customerPurchaseLimit2FromJSON(jsonString) {
5406
+ return safeParse(
5407
+ jsonString,
5408
+ (x) => CustomerPurchaseLimit2$inboundSchema.parse(JSON.parse(x)),
5409
+ `Failed to parse 'CustomerPurchaseLimit2' from JSON`
5410
+ );
5411
+ }
5412
+ var CustomerInterval1$inboundSchema = inboundSchema(CustomerInterval1);
5413
+ var CustomerPurchaseLimit1$inboundSchema = z39.pipe(
4959
5414
  z39.object({
4960
- interval: CustomerInterval$inboundSchema,
5415
+ interval: CustomerInterval1$inboundSchema,
4961
5416
  interval_count: z39._default(number2(), 1),
4962
5417
  limit: number2()
4963
5418
  }),
@@ -4967,11 +5422,22 @@ var CustomerPurchaseLimit$inboundSchema = z39.pipe(
4967
5422
  });
4968
5423
  })
4969
5424
  );
4970
- function customerPurchaseLimitFromJSON(jsonString) {
5425
+ function customerPurchaseLimit1FromJSON(jsonString) {
5426
+ return safeParse(
5427
+ jsonString,
5428
+ (x) => CustomerPurchaseLimit1$inboundSchema.parse(JSON.parse(x)),
5429
+ `Failed to parse 'CustomerPurchaseLimit1' from JSON`
5430
+ );
5431
+ }
5432
+ var CustomerPurchaseLimitUnion$inboundSchema = smartUnion([
5433
+ z39.lazy(() => CustomerPurchaseLimit2$inboundSchema),
5434
+ z39.lazy(() => CustomerPurchaseLimit1$inboundSchema)
5435
+ ]);
5436
+ function customerPurchaseLimitUnionFromJSON(jsonString) {
4971
5437
  return safeParse(
4972
5438
  jsonString,
4973
- (x) => CustomerPurchaseLimit$inboundSchema.parse(JSON.parse(x)),
4974
- `Failed to parse 'CustomerPurchaseLimit' from JSON`
5439
+ (x) => CustomerPurchaseLimitUnion$inboundSchema.parse(JSON.parse(x)),
5440
+ `Failed to parse 'CustomerPurchaseLimitUnion' from JSON`
4975
5441
  );
4976
5442
  }
4977
5443
  var CustomerAutoTopup$inboundSchema = z39.pipe(
@@ -4980,9 +5446,10 @@ var CustomerAutoTopup$inboundSchema = z39.pipe(
4980
5446
  enabled: z39._default(boolean2(), false),
4981
5447
  threshold: number2(),
4982
5448
  quantity: number2(),
4983
- purchase_limit: optional2(
4984
- z39.lazy(() => CustomerPurchaseLimit$inboundSchema)
4985
- ),
5449
+ purchase_limit: optional2(smartUnion([
5450
+ z39.lazy(() => CustomerPurchaseLimit2$inboundSchema),
5451
+ z39.lazy(() => CustomerPurchaseLimit1$inboundSchema)
5452
+ ])),
4986
5453
  invoice_mode: optional2(boolean2())
4987
5454
  }),
4988
5455
  z39.transform((v) => {
@@ -5623,9 +6090,30 @@ function finalizeBalanceParamsToJSON(finalizeBalanceParams) {
5623
6090
  FinalizeBalanceParams$outboundSchema.parse(finalizeBalanceParams)
5624
6091
  );
5625
6092
  }
5626
- var FinalizeLockResponse$inboundSchema = z39.object({
6093
+ var FinalizeLockResponseBody2$inboundSchema = z39.object({
6094
+ success: boolean2()
6095
+ });
6096
+ function finalizeLockResponseBody2FromJSON(jsonString) {
6097
+ return safeParse(
6098
+ jsonString,
6099
+ (x) => FinalizeLockResponseBody2$inboundSchema.parse(JSON.parse(x)),
6100
+ `Failed to parse 'FinalizeLockResponseBody2' from JSON`
6101
+ );
6102
+ }
6103
+ var FinalizeLockResponseBody1$inboundSchema = z39.object({
5627
6104
  success: boolean2()
5628
6105
  });
6106
+ function finalizeLockResponseBody1FromJSON(jsonString) {
6107
+ return safeParse(
6108
+ jsonString,
6109
+ (x) => FinalizeLockResponseBody1$inboundSchema.parse(JSON.parse(x)),
6110
+ `Failed to parse 'FinalizeLockResponseBody1' from JSON`
6111
+ );
6112
+ }
6113
+ var FinalizeLockResponse$inboundSchema = smartUnion([
6114
+ z39.lazy(() => FinalizeLockResponseBody1$inboundSchema),
6115
+ z39.lazy(() => FinalizeLockResponseBody2$inboundSchema)
6116
+ ]);
5629
6117
  function finalizeLockResponseFromJSON(jsonString) {
5630
6118
  return safeParse(
5631
6119
  jsonString,
@@ -6693,7 +7181,13 @@ var ListCustomersEnv = {
6693
7181
  Sandbox: "sandbox",
6694
7182
  Live: "live"
6695
7183
  };
6696
- var ListCustomersInterval = {
7184
+ var ListCustomersInterval2 = {
7185
+ Hour: "hour",
7186
+ Day: "day",
7187
+ Week: "week",
7188
+ Month: "month"
7189
+ };
7190
+ var ListCustomersInterval1 = {
6697
7191
  Hour: "hour",
6698
7192
  Day: "day",
6699
7193
  Week: "week",
@@ -6748,10 +7242,33 @@ function listCustomersParamsToJSON(listCustomersParams) {
6748
7242
  );
6749
7243
  }
6750
7244
  var ListCustomersEnv$inboundSchema = inboundSchema(ListCustomersEnv);
6751
- var ListCustomersInterval$inboundSchema = inboundSchema(ListCustomersInterval);
6752
- var ListCustomersPurchaseLimit$inboundSchema = z39.pipe(
7245
+ var ListCustomersInterval2$inboundSchema = inboundSchema(ListCustomersInterval2);
7246
+ var ListCustomersPurchaseLimit2$inboundSchema = z39.pipe(
6753
7247
  z39.object({
6754
- interval: ListCustomersInterval$inboundSchema,
7248
+ interval: nullable(ListCustomersInterval2$inboundSchema),
7249
+ interval_count: nullable(number2()),
7250
+ limit: nullable(number2()),
7251
+ count: number2(),
7252
+ next_reset_at: number2()
7253
+ }),
7254
+ z39.transform((v) => {
7255
+ return remap(v, {
7256
+ "interval_count": "intervalCount",
7257
+ "next_reset_at": "nextResetAt"
7258
+ });
7259
+ })
7260
+ );
7261
+ function listCustomersPurchaseLimit2FromJSON(jsonString) {
7262
+ return safeParse(
7263
+ jsonString,
7264
+ (x) => ListCustomersPurchaseLimit2$inboundSchema.parse(JSON.parse(x)),
7265
+ `Failed to parse 'ListCustomersPurchaseLimit2' from JSON`
7266
+ );
7267
+ }
7268
+ var ListCustomersInterval1$inboundSchema = inboundSchema(ListCustomersInterval1);
7269
+ var ListCustomersPurchaseLimit1$inboundSchema = z39.pipe(
7270
+ z39.object({
7271
+ interval: ListCustomersInterval1$inboundSchema,
6755
7272
  interval_count: z39._default(number2(), 1),
6756
7273
  limit: number2()
6757
7274
  }),
@@ -6761,11 +7278,22 @@ var ListCustomersPurchaseLimit$inboundSchema = z39.pipe(
6761
7278
  });
6762
7279
  })
6763
7280
  );
6764
- function listCustomersPurchaseLimitFromJSON(jsonString) {
7281
+ function listCustomersPurchaseLimit1FromJSON(jsonString) {
6765
7282
  return safeParse(
6766
7283
  jsonString,
6767
- (x) => ListCustomersPurchaseLimit$inboundSchema.parse(JSON.parse(x)),
6768
- `Failed to parse 'ListCustomersPurchaseLimit' from JSON`
7284
+ (x) => ListCustomersPurchaseLimit1$inboundSchema.parse(JSON.parse(x)),
7285
+ `Failed to parse 'ListCustomersPurchaseLimit1' from JSON`
7286
+ );
7287
+ }
7288
+ var ListCustomersPurchaseLimitUnion$inboundSchema = smartUnion([
7289
+ z39.lazy(() => ListCustomersPurchaseLimit2$inboundSchema),
7290
+ z39.lazy(() => ListCustomersPurchaseLimit1$inboundSchema)
7291
+ ]);
7292
+ function listCustomersPurchaseLimitUnionFromJSON(jsonString) {
7293
+ return safeParse(
7294
+ jsonString,
7295
+ (x) => ListCustomersPurchaseLimitUnion$inboundSchema.parse(JSON.parse(x)),
7296
+ `Failed to parse 'ListCustomersPurchaseLimitUnion' from JSON`
6769
7297
  );
6770
7298
  }
6771
7299
  var ListCustomersAutoTopup$inboundSchema = z39.pipe(
@@ -6774,9 +7302,10 @@ var ListCustomersAutoTopup$inboundSchema = z39.pipe(
6774
7302
  enabled: z39._default(boolean2(), false),
6775
7303
  threshold: number2(),
6776
7304
  quantity: number2(),
6777
- purchase_limit: optional2(
6778
- z39.lazy(() => ListCustomersPurchaseLimit$inboundSchema)
6779
- ),
7305
+ purchase_limit: optional2(smartUnion([
7306
+ z39.lazy(() => ListCustomersPurchaseLimit2$inboundSchema),
7307
+ z39.lazy(() => ListCustomersPurchaseLimit1$inboundSchema)
7308
+ ])),
6780
7309
  invoice_mode: optional2(boolean2())
6781
7310
  }),
6782
7311
  z39.transform((v) => {
@@ -8120,6 +8649,7 @@ var MultiAttachParams$outboundSchema = z39.pipe(
8120
8649
  "if_required"
8121
8650
  ),
8122
8651
  newBillingSubscription: z39.optional(z39.boolean()),
8652
+ enablePlanImmediately: z39.optional(z39.boolean()),
8123
8653
  customerData: z39.optional(CustomerData$outboundSchema),
8124
8654
  entityData: z39.optional(z39.lazy(() => MultiAttachEntityData$outboundSchema))
8125
8655
  }),
@@ -8133,6 +8663,7 @@ var MultiAttachParams$outboundSchema = z39.pipe(
8133
8663
  checkoutSessionParams: "checkout_session_params",
8134
8664
  redirectMode: "redirect_mode",
8135
8665
  newBillingSubscription: "new_billing_subscription",
8666
+ enablePlanImmediately: "enable_plan_immediately",
8136
8667
  customerData: "customer_data",
8137
8668
  entityData: "entity_data"
8138
8669
  });
@@ -8314,6 +8845,10 @@ var PreviewAttachCheckoutType = {
8314
8845
  StripeCheckout: "stripe_checkout",
8315
8846
  AutumnCheckout: "autumn_checkout"
8316
8847
  };
8848
+ var PreviewAttachStatus = {
8849
+ Complete: "complete",
8850
+ Incomplete: "incomplete"
8851
+ };
8317
8852
  var PreviewAttachFeatureQuantityRequest$outboundSchema = z39.pipe(
8318
8853
  z39.object({
8319
8854
  featureId: z39.string(),
@@ -8650,7 +9185,8 @@ var PreviewAttachParams$outboundSchema = z39.pipe(
8650
9185
  z39.lazy(() => PreviewAttachCarryOverUsages$outboundSchema)
8651
9186
  ),
8652
9187
  metadata: z39.optional(z39.record(z39.string(), z39.string())),
8653
- noBillingChanges: z39.optional(z39.boolean())
9188
+ noBillingChanges: z39.optional(z39.boolean()),
9189
+ enablePlanImmediately: z39.optional(z39.boolean())
8654
9190
  }),
8655
9191
  z39.transform((v) => {
8656
9192
  return remap(v, {
@@ -8671,7 +9207,8 @@ var PreviewAttachParams$outboundSchema = z39.pipe(
8671
9207
  processorSubscriptionId: "processor_subscription_id",
8672
9208
  carryOverBalances: "carry_over_balances",
8673
9209
  carryOverUsages: "carry_over_usages",
8674
- noBillingChanges: "no_billing_changes"
9210
+ noBillingChanges: "no_billing_changes",
9211
+ enablePlanImmediately: "enable_plan_immediately"
8675
9212
  });
8676
9213
  })
8677
9214
  );
@@ -8965,6 +9502,29 @@ function previewAttachOutgoingFromJSON(jsonString) {
8965
9502
  );
8966
9503
  }
8967
9504
  var PreviewAttachCheckoutType$inboundSchema = inboundSchema(PreviewAttachCheckoutType);
9505
+ var PreviewAttachStatus$inboundSchema = inboundSchema(PreviewAttachStatus);
9506
+ var PreviewAttachTax$inboundSchema = z39.pipe(
9507
+ z39.object({
9508
+ total: number2(),
9509
+ amount_inclusive: number2(),
9510
+ amount_exclusive: number2(),
9511
+ currency: string4(),
9512
+ status: PreviewAttachStatus$inboundSchema
9513
+ }),
9514
+ z39.transform((v) => {
9515
+ return remap(v, {
9516
+ "amount_inclusive": "amountInclusive",
9517
+ "amount_exclusive": "amountExclusive"
9518
+ });
9519
+ })
9520
+ );
9521
+ function previewAttachTaxFromJSON(jsonString) {
9522
+ return safeParse(
9523
+ jsonString,
9524
+ (x) => PreviewAttachTax$inboundSchema.parse(JSON.parse(x)),
9525
+ `Failed to parse 'PreviewAttachTax' from JSON`
9526
+ );
9527
+ }
8968
9528
  var PreviewAttachResponse$inboundSchema = z39.pipe(
8969
9529
  z39.object({
8970
9530
  customer_id: string4(),
@@ -8979,7 +9539,8 @@ var PreviewAttachResponse$inboundSchema = z39.pipe(
8979
9539
  incoming: z39.array(z39.lazy(() => PreviewAttachIncoming$inboundSchema)),
8980
9540
  outgoing: z39.array(z39.lazy(() => PreviewAttachOutgoing$inboundSchema)),
8981
9541
  redirect_to_checkout: boolean2(),
8982
- checkout_type: nullable(PreviewAttachCheckoutType$inboundSchema)
9542
+ checkout_type: nullable(PreviewAttachCheckoutType$inboundSchema),
9543
+ tax: optional2(z39.lazy(() => PreviewAttachTax$inboundSchema))
8983
9544
  }),
8984
9545
  z39.transform((v) => {
8985
9546
  return remap(v, {
@@ -9070,6 +9631,10 @@ var PreviewMultiAttachCheckoutType = {
9070
9631
  StripeCheckout: "stripe_checkout",
9071
9632
  AutumnCheckout: "autumn_checkout"
9072
9633
  };
9634
+ var PreviewMultiAttachStatus = {
9635
+ Complete: "complete",
9636
+ Incomplete: "incomplete"
9637
+ };
9073
9638
  var PreviewMultiAttachPriceInterval$outboundSchema = z39.enum(PreviewMultiAttachPriceInterval);
9074
9639
  var PreviewMultiAttachBasePrice$outboundSchema = z39.pipe(
9075
9640
  z39.object({
@@ -9486,6 +10051,7 @@ var PreviewMultiAttachParams$outboundSchema = z39.pipe(
9486
10051
  "if_required"
9487
10052
  ),
9488
10053
  newBillingSubscription: z39.optional(z39.boolean()),
10054
+ enablePlanImmediately: z39.optional(z39.boolean()),
9489
10055
  customerData: z39.optional(CustomerData$outboundSchema),
9490
10056
  entityData: z39.optional(
9491
10057
  z39.lazy(() => PreviewMultiAttachEntityData$outboundSchema)
@@ -9501,6 +10067,7 @@ var PreviewMultiAttachParams$outboundSchema = z39.pipe(
9501
10067
  checkoutSessionParams: "checkout_session_params",
9502
10068
  redirectMode: "redirect_mode",
9503
10069
  newBillingSubscription: "new_billing_subscription",
10070
+ enablePlanImmediately: "enable_plan_immediately",
9504
10071
  customerData: "customer_data",
9505
10072
  entityData: "entity_data"
9506
10073
  });
@@ -9802,6 +10369,29 @@ function previewMultiAttachOutgoingFromJSON(jsonString) {
9802
10369
  );
9803
10370
  }
9804
10371
  var PreviewMultiAttachCheckoutType$inboundSchema = inboundSchema(PreviewMultiAttachCheckoutType);
10372
+ var PreviewMultiAttachStatus$inboundSchema = inboundSchema(PreviewMultiAttachStatus);
10373
+ var PreviewMultiAttachTax$inboundSchema = z39.pipe(
10374
+ z39.object({
10375
+ total: number2(),
10376
+ amount_inclusive: number2(),
10377
+ amount_exclusive: number2(),
10378
+ currency: string4(),
10379
+ status: PreviewMultiAttachStatus$inboundSchema
10380
+ }),
10381
+ z39.transform((v) => {
10382
+ return remap(v, {
10383
+ "amount_inclusive": "amountInclusive",
10384
+ "amount_exclusive": "amountExclusive"
10385
+ });
10386
+ })
10387
+ );
10388
+ function previewMultiAttachTaxFromJSON(jsonString) {
10389
+ return safeParse(
10390
+ jsonString,
10391
+ (x) => PreviewMultiAttachTax$inboundSchema.parse(JSON.parse(x)),
10392
+ `Failed to parse 'PreviewMultiAttachTax' from JSON`
10393
+ );
10394
+ }
9805
10395
  var PreviewMultiAttachResponse$inboundSchema = z39.pipe(
9806
10396
  z39.object({
9807
10397
  customer_id: string4(),
@@ -9816,7 +10406,8 @@ var PreviewMultiAttachResponse$inboundSchema = z39.pipe(
9816
10406
  incoming: z39.array(z39.lazy(() => PreviewMultiAttachIncoming$inboundSchema)),
9817
10407
  outgoing: z39.array(z39.lazy(() => PreviewMultiAttachOutgoing$inboundSchema)),
9818
10408
  redirect_to_checkout: boolean2(),
9819
- checkout_type: nullable(PreviewMultiAttachCheckoutType$inboundSchema)
10409
+ checkout_type: nullable(PreviewMultiAttachCheckoutType$inboundSchema),
10410
+ tax: optional2(z39.lazy(() => PreviewMultiAttachTax$inboundSchema))
9820
10411
  }),
9821
10412
  z39.transform((v) => {
9822
10413
  return remap(v, {
@@ -10946,7 +11537,8 @@ var SetupPaymentParams$outboundSchema = z39.pipe(
10946
11537
  z39.lazy(() => SetupPaymentCarryOverUsages$outboundSchema)
10947
11538
  ),
10948
11539
  metadata: z39.optional(z39.record(z39.string(), z39.string())),
10949
- noBillingChanges: z39.optional(z39.boolean())
11540
+ noBillingChanges: z39.optional(z39.boolean()),
11541
+ enablePlanImmediately: z39.optional(z39.boolean())
10950
11542
  }),
10951
11543
  z39.transform((v) => {
10952
11544
  return remap(v, {
@@ -10963,7 +11555,8 @@ var SetupPaymentParams$outboundSchema = z39.pipe(
10963
11555
  processorSubscriptionId: "processor_subscription_id",
10964
11556
  carryOverBalances: "carry_over_balances",
10965
11557
  carryOverUsages: "carry_over_usages",
10966
- noBillingChanges: "no_billing_changes"
11558
+ noBillingChanges: "no_billing_changes",
11559
+ enablePlanImmediately: "enable_plan_immediately"
10967
11560
  });
10968
11561
  })
10969
11562
  );
@@ -11030,7 +11623,7 @@ var TrackParams$outboundSchema = z39.pipe(
11030
11623
  function trackParamsToJSON(trackParams) {
11031
11624
  return JSON.stringify(TrackParams$outboundSchema.parse(trackParams));
11032
11625
  }
11033
- var TrackResponse$inboundSchema = z39.pipe(
11626
+ var TrackResponseBody2$inboundSchema = z39.pipe(
11034
11627
  z39.object({
11035
11628
  customer_id: string4(),
11036
11629
  entity_id: optional2(string4()),
@@ -11047,6 +11640,41 @@ var TrackResponse$inboundSchema = z39.pipe(
11047
11640
  });
11048
11641
  })
11049
11642
  );
11643
+ function trackResponseBody2FromJSON(jsonString) {
11644
+ return safeParse(
11645
+ jsonString,
11646
+ (x) => TrackResponseBody2$inboundSchema.parse(JSON.parse(x)),
11647
+ `Failed to parse 'TrackResponseBody2' from JSON`
11648
+ );
11649
+ }
11650
+ var TrackResponseBody1$inboundSchema = z39.pipe(
11651
+ z39.object({
11652
+ customer_id: string4(),
11653
+ entity_id: optional2(string4()),
11654
+ event_name: optional2(string4()),
11655
+ value: number2(),
11656
+ balance: nullable(Balance$inboundSchema),
11657
+ balances: optional2(z39.record(z39.string(), Balance$inboundSchema))
11658
+ }),
11659
+ z39.transform((v) => {
11660
+ return remap(v, {
11661
+ "customer_id": "customerId",
11662
+ "entity_id": "entityId",
11663
+ "event_name": "eventName"
11664
+ });
11665
+ })
11666
+ );
11667
+ function trackResponseBody1FromJSON(jsonString) {
11668
+ return safeParse(
11669
+ jsonString,
11670
+ (x) => TrackResponseBody1$inboundSchema.parse(JSON.parse(x)),
11671
+ `Failed to parse 'TrackResponseBody1' from JSON`
11672
+ );
11673
+ }
11674
+ var TrackResponse$inboundSchema = smartUnion([
11675
+ z39.lazy(() => TrackResponseBody1$inboundSchema),
11676
+ z39.lazy(() => TrackResponseBody2$inboundSchema)
11677
+ ]);
11050
11678
  function trackResponseFromJSON(jsonString) {
11051
11679
  return safeParse(
11052
11680
  jsonString,
@@ -11122,7 +11750,13 @@ var UpdateCustomerEnv = {
11122
11750
  Sandbox: "sandbox",
11123
11751
  Live: "live"
11124
11752
  };
11125
- var UpdateCustomerIntervalResponse = {
11753
+ var UpdateCustomerIntervalResponse2 = {
11754
+ Hour: "hour",
11755
+ Day: "day",
11756
+ Week: "week",
11757
+ Month: "month"
11758
+ };
11759
+ var UpdateCustomerIntervalResponse1 = {
11126
11760
  Hour: "hour",
11127
11761
  Day: "day",
11128
11762
  Week: "week",
@@ -11333,10 +11967,33 @@ function updateCustomerParamsToJSON(updateCustomerParams) {
11333
11967
  );
11334
11968
  }
11335
11969
  var UpdateCustomerEnv$inboundSchema = inboundSchema(UpdateCustomerEnv);
11336
- var UpdateCustomerIntervalResponse$inboundSchema = inboundSchema(UpdateCustomerIntervalResponse);
11337
- var UpdateCustomerPurchaseLimitResponse$inboundSchema = z39.pipe(
11970
+ var UpdateCustomerIntervalResponse2$inboundSchema = inboundSchema(UpdateCustomerIntervalResponse2);
11971
+ var UpdateCustomerPurchaseLimitResponse2$inboundSchema = z39.pipe(
11972
+ z39.object({
11973
+ interval: nullable(UpdateCustomerIntervalResponse2$inboundSchema),
11974
+ interval_count: nullable(number2()),
11975
+ limit: nullable(number2()),
11976
+ count: number2(),
11977
+ next_reset_at: number2()
11978
+ }),
11979
+ z39.transform((v) => {
11980
+ return remap(v, {
11981
+ "interval_count": "intervalCount",
11982
+ "next_reset_at": "nextResetAt"
11983
+ });
11984
+ })
11985
+ );
11986
+ function updateCustomerPurchaseLimitResponse2FromJSON(jsonString) {
11987
+ return safeParse(
11988
+ jsonString,
11989
+ (x) => UpdateCustomerPurchaseLimitResponse2$inboundSchema.parse(JSON.parse(x)),
11990
+ `Failed to parse 'UpdateCustomerPurchaseLimitResponse2' from JSON`
11991
+ );
11992
+ }
11993
+ var UpdateCustomerIntervalResponse1$inboundSchema = inboundSchema(UpdateCustomerIntervalResponse1);
11994
+ var UpdateCustomerPurchaseLimitResponse1$inboundSchema = z39.pipe(
11338
11995
  z39.object({
11339
- interval: UpdateCustomerIntervalResponse$inboundSchema,
11996
+ interval: UpdateCustomerIntervalResponse1$inboundSchema,
11340
11997
  interval_count: z39._default(number2(), 1),
11341
11998
  limit: number2()
11342
11999
  }),
@@ -11346,11 +12003,22 @@ var UpdateCustomerPurchaseLimitResponse$inboundSchema = z39.pipe(
11346
12003
  });
11347
12004
  })
11348
12005
  );
11349
- function updateCustomerPurchaseLimitResponseFromJSON(jsonString) {
12006
+ function updateCustomerPurchaseLimitResponse1FromJSON(jsonString) {
11350
12007
  return safeParse(
11351
12008
  jsonString,
11352
- (x) => UpdateCustomerPurchaseLimitResponse$inboundSchema.parse(JSON.parse(x)),
11353
- `Failed to parse 'UpdateCustomerPurchaseLimitResponse' from JSON`
12009
+ (x) => UpdateCustomerPurchaseLimitResponse1$inboundSchema.parse(JSON.parse(x)),
12010
+ `Failed to parse 'UpdateCustomerPurchaseLimitResponse1' from JSON`
12011
+ );
12012
+ }
12013
+ var UpdateCustomerPurchaseLimitUnion$inboundSchema = smartUnion([
12014
+ z39.lazy(() => UpdateCustomerPurchaseLimitResponse2$inboundSchema),
12015
+ z39.lazy(() => UpdateCustomerPurchaseLimitResponse1$inboundSchema)
12016
+ ]);
12017
+ function updateCustomerPurchaseLimitUnionFromJSON(jsonString) {
12018
+ return safeParse(
12019
+ jsonString,
12020
+ (x) => UpdateCustomerPurchaseLimitUnion$inboundSchema.parse(JSON.parse(x)),
12021
+ `Failed to parse 'UpdateCustomerPurchaseLimitUnion' from JSON`
11354
12022
  );
11355
12023
  }
11356
12024
  var UpdateCustomerAutoTopupResponse$inboundSchema = z39.pipe(
@@ -11359,9 +12027,10 @@ var UpdateCustomerAutoTopupResponse$inboundSchema = z39.pipe(
11359
12027
  enabled: z39._default(boolean2(), false),
11360
12028
  threshold: number2(),
11361
12029
  quantity: number2(),
11362
- purchase_limit: optional2(
11363
- z39.lazy(() => UpdateCustomerPurchaseLimitResponse$inboundSchema)
11364
- ),
12030
+ purchase_limit: optional2(smartUnion([
12031
+ z39.lazy(() => UpdateCustomerPurchaseLimitResponse2$inboundSchema),
12032
+ z39.lazy(() => UpdateCustomerPurchaseLimitResponse1$inboundSchema)
12033
+ ])),
11365
12034
  invoice_mode: optional2(boolean2())
11366
12035
  }),
11367
12036
  z39.transform((v) => {
@@ -12997,6 +13666,7 @@ async function $do(client, request, options) {
12997
13666
  const response = doResult.value;
12998
13667
  const [result] = await match(
12999
13668
  json(200, CheckResponse$inboundSchema),
13669
+ json(202, CheckResponse$inboundSchema),
13000
13670
  fail("4XX"),
13001
13671
  fail("5XX")
13002
13672
  )(response, req);
@@ -13072,6 +13742,7 @@ async function $do2(client, request, options) {
13072
13742
  const response = doResult.value;
13073
13743
  const [result] = await match(
13074
13744
  json(200, TrackResponse$inboundSchema),
13745
+ json(202, TrackResponse$inboundSchema),
13075
13746
  fail("4XX"),
13076
13747
  fail("5XX")
13077
13748
  )(response, req);
@@ -13908,6 +14579,7 @@ async function $do5(client, request, options) {
13908
14579
  const response = doResult.value;
13909
14580
  const [result] = await match(
13910
14581
  json(200, FinalizeLockResponse$inboundSchema),
14582
+ json(202, FinalizeLockResponse$inboundSchema),
13911
14583
  fail("4XX"),
13912
14584
  fail("5XX")
13913
14585
  )(response, req);
@@ -14683,6 +15355,7 @@ var Billing = class extends ClientSDK {
14683
15355
  * @param carryOverUsages - Whether to carry over usages from the previous plan. (optional)
14684
15356
  * @param metadata - Key-value metadata to attach to the Stripe subscription, invoice, and checkout session created during this attach flow. Keys prefixed with 'autumn_' are reserved and will be stripped. (optional)
14685
15357
  * @param noBillingChanges - If true, skips any billing changes for the attach operation. (optional)
15358
+ * @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. (optional)
14686
15359
  *
14687
15360
  * @returns A billing response with customer ID, invoice details, and payment URL (if checkout required).
14688
15361
  */
@@ -14726,6 +15399,7 @@ var Billing = class extends ClientSDK {
14726
15399
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
14727
15400
  * @param redirectMode - Controls when to return a checkout URL. 'always' returns a URL even if payment succeeds, 'if_required' only when payment action is needed, 'never' disables redirects. (optional)
14728
15401
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
15402
+ * @param enablePlanImmediately - If true, the cusProducts are activated immediately even when payment is pending via Stripe checkout. (optional)
14729
15403
  *
14730
15404
  * @returns A billing response with customer ID, invoice details, and payment URL (if checkout required).
14731
15405
  */
@@ -14769,6 +15443,7 @@ var Billing = class extends ClientSDK {
14769
15443
  * @param carryOverUsages - Whether to carry over usages from the previous plan. (optional)
14770
15444
  * @param metadata - Key-value metadata to attach to the Stripe subscription, invoice, and checkout session created during this attach flow. Keys prefixed with 'autumn_' are reserved and will be stripped. (optional)
14771
15445
  * @param noBillingChanges - If true, skips any billing changes for the attach operation. (optional)
15446
+ * @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. (optional)
14772
15447
  *
14773
15448
  * @returns A preview response with line items, totals, and effective dates for the proposed changes.
14774
15449
  */
@@ -14800,6 +15475,7 @@ var Billing = class extends ClientSDK {
14800
15475
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
14801
15476
  * @param redirectMode - Controls when to return a checkout URL. 'always' returns a URL even if payment succeeds, 'if_required' only when payment action is needed, 'never' disables redirects. (optional)
14802
15477
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
15478
+ * @param enablePlanImmediately - If true, the cusProducts are activated immediately even when payment is pending via Stripe checkout. (optional)
14803
15479
  *
14804
15480
  * @returns A preview response with line items, totals, and effective dates for the proposed multi-plan attachment.
14805
15481
  */
@@ -17219,7 +17895,7 @@ var Autumn = class extends ClientSDK {
17219
17895
  * @param lock - Reserve units of a feature upfront by passing a lock_id, then call balances.finalize to confirm or release the hold. (optional)
17220
17896
  * @param withPreview - If true, includes upgrade/upsell information in the response when access is denied. Useful for displaying paywalls. (optional)
17221
17897
  *
17222
- * @returns Whether access is allowed, plus the current balance for that feature.
17898
+ * @returns Whether access is allowed, plus the current balance for that feature. If Autumn is experiencing degraded service from a downstream provider, the API may return 202 and allow access fail-open.
17223
17899
  */
17224
17900
  async check(request, options) {
17225
17901
  return unwrapAsync(check(
@@ -17252,7 +17928,7 @@ var Autumn = class extends ClientSDK {
17252
17928
  * @param value - The amount of usage to record. Defaults to 1. Use negative values to credit balance (e.g., when removing a seat). (optional)
17253
17929
  * @param properties - Additional properties to attach to this usage event. (optional)
17254
17930
  *
17255
- * @returns The usage value recorded, with either a single updated balance or a map of updated balances.
17931
+ * @returns The usage value recorded, with either a single updated balance or a map of updated balances. If Autumn is experiencing degraded service from a downstream provider, the API may return 202 after accepting the event for replay so it can be tracked as soon as the service is restored.
17256
17932
  */
17257
17933
  async track(request, options) {
17258
17934
  return unwrapAsync(track(
@@ -17327,4 +18003,4 @@ function createPageIterator(page, halt) {
17327
18003
  };
17328
18004
  }
17329
18005
 
17330
- export { Action, Action$outboundSchema, AggregateEventsCustomRange$outboundSchema, AggregateEventsFeatureId$outboundSchema, AggregateEventsList$inboundSchema, AggregateEventsResponse$inboundSchema, AttachAction, AttachAction$inboundSchema, AttachAttachDiscount$outboundSchema, AttachBasePrice$outboundSchema, AttachBillingMethod, AttachBillingMethod$outboundSchema, AttachCarryOverBalances$outboundSchema, AttachCarryOverUsages$outboundSchema, AttachCode, AttachCode$inboundSchema, AttachCustomLineItem$outboundSchema, AttachCustomize$outboundSchema, AttachDurationType, AttachDurationType$outboundSchema, AttachExpiryDurationType, AttachExpiryDurationType$outboundSchema, AttachFeatureQuantity$outboundSchema, AttachFreeTrialParams$outboundSchema, AttachInvoice$inboundSchema, AttachInvoiceMode$outboundSchema, AttachItemPriceInterval, AttachItemPriceInterval$outboundSchema, AttachOnDecrease, AttachOnDecrease$outboundSchema, AttachOnIncrease, AttachOnIncrease$outboundSchema, AttachParams$outboundSchema, AttachPlanItem$outboundSchema, AttachPlanSchedule, AttachPlanSchedule$outboundSchema, AttachPrice$outboundSchema, AttachPriceInterval, AttachPriceInterval$outboundSchema, AttachProration$outboundSchema, AttachProrationBehavior, AttachProrationBehavior$outboundSchema, AttachRedirectMode, AttachRedirectMode$outboundSchema, AttachRequiredAction$inboundSchema, AttachReset$outboundSchema, AttachResetInterval, AttachResetInterval$outboundSchema, AttachResponse$inboundSchema, AttachRollover$outboundSchema, AttachTier$outboundSchema, AttachTierBehavior, AttachTierBehavior$outboundSchema, AttachTo$outboundSchema, Autumn, AutumnDefaultError, AutumnError, Balance$inboundSchema, BalanceBillingMethod, BalanceBillingMethod$inboundSchema, BalanceCreditSchema$inboundSchema, BalanceDisplay$inboundSchema, BalanceFeature$inboundSchema, BalanceIntervalEnum, BalanceIntervalEnum$inboundSchema, BalancePrice$inboundSchema, BalanceReset$inboundSchema, BalanceRollover$inboundSchema, BalanceTierBehavior, BalanceTierBehavior$inboundSchema, BalanceType, BalanceType$inboundSchema, BillingUpdateAttachDiscount$outboundSchema, BillingUpdateBasePrice$outboundSchema, BillingUpdateBillingMethod, BillingUpdateBillingMethod$outboundSchema, BillingUpdateCancelAction, BillingUpdateCancelAction$outboundSchema, BillingUpdateCode, BillingUpdateCode$inboundSchema, BillingUpdateCustomize$outboundSchema, BillingUpdateDurationType, BillingUpdateDurationType$outboundSchema, BillingUpdateExpiryDurationType, BillingUpdateExpiryDurationType$outboundSchema, BillingUpdateFeatureQuantity$outboundSchema, BillingUpdateFreeTrialParams$outboundSchema, BillingUpdateInvoice$inboundSchema, BillingUpdateInvoiceMode$outboundSchema, BillingUpdateItemPriceInterval, BillingUpdateItemPriceInterval$outboundSchema, BillingUpdateOnDecrease, BillingUpdateOnDecrease$outboundSchema, BillingUpdateOnIncrease, BillingUpdateOnIncrease$outboundSchema, BillingUpdatePlanItem$outboundSchema, BillingUpdatePrice$outboundSchema, BillingUpdatePriceInterval, BillingUpdatePriceInterval$outboundSchema, BillingUpdateProration$outboundSchema, BillingUpdateProrationBehavior, BillingUpdateProrationBehavior$outboundSchema, BillingUpdateRecalculateBalances$outboundSchema, BillingUpdateRedirectMode, BillingUpdateRedirectMode$outboundSchema, BillingUpdateRequiredAction$inboundSchema, BillingUpdateReset$outboundSchema, BillingUpdateResetInterval, BillingUpdateResetInterval$outboundSchema, BillingUpdateResponse$inboundSchema, BillingUpdateRollover$outboundSchema, BillingUpdateTier$outboundSchema, BillingUpdateTierBehavior, BillingUpdateTierBehavior$outboundSchema, BillingUpdateTo$outboundSchema, BinSize, BinSize$outboundSchema, Breakdown$inboundSchema, CheckConfig$inboundSchema, CheckCreditSchema$inboundSchema, CheckEnv, CheckEnv$inboundSchema, CheckFeature$inboundSchema, CheckFreeTrial$inboundSchema, CheckInterval, CheckInterval$inboundSchema, CheckItem$inboundSchema, CheckLock$outboundSchema, CheckOnDecrease, CheckOnDecrease$inboundSchema, CheckOnIncrease, CheckOnIncrease$inboundSchema, CheckParams$outboundSchema, CheckResponse$inboundSchema, CheckRollover$inboundSchema, CheckTierBehavior, CheckTierBehavior$inboundSchema, ConfigDuration, ConfigDuration$inboundSchema, ConnectionError, CreateBalanceDuration, CreateBalanceDuration$outboundSchema, CreateBalanceInterval, CreateBalanceInterval$outboundSchema, CreateBalanceParams$outboundSchema, CreateBalanceReset$outboundSchema, CreateBalanceResponse$inboundSchema, CreateBalanceRollover$outboundSchema, CreateEntityBillingControlsRequest$outboundSchema, CreateEntityBillingControlsResponse$inboundSchema, CreateEntityCreditSchema$inboundSchema, CreateEntityDisplay$inboundSchema, CreateEntityEnv, CreateEntityEnv$inboundSchema, CreateEntityFeature$inboundSchema, CreateEntityFlags$inboundSchema, CreateEntityInvoice$inboundSchema, CreateEntityOverageAllowedRequest$outboundSchema, CreateEntityOverageAllowedResponse$inboundSchema, CreateEntityParams$outboundSchema, CreateEntityPurchase$inboundSchema, CreateEntityResponse$inboundSchema, CreateEntitySpendLimitRequest$outboundSchema, CreateEntitySpendLimitResponse$inboundSchema, CreateEntityStatus, CreateEntityStatus$inboundSchema, CreateEntitySubscription$inboundSchema, CreateEntityThresholdTypeRequestBody, CreateEntityThresholdTypeRequestBody$outboundSchema, CreateEntityThresholdTypeResponse, CreateEntityThresholdTypeResponse$inboundSchema, CreateEntityType, CreateEntityType$inboundSchema, CreateEntityUsageAlertRequestBody$outboundSchema, CreateEntityUsageAlertResponse$inboundSchema, CreateFeatureCreditSchemaRequest$outboundSchema, CreateFeatureCreditSchemaResponse$inboundSchema, CreateFeatureDisplayRequest$outboundSchema, CreateFeatureDisplayResponse$inboundSchema, CreateFeatureParams$outboundSchema, CreateFeatureResponse$inboundSchema, CreateFeatureTypeRequest, CreateFeatureTypeRequest$outboundSchema, CreateFeatureTypeResponse, CreateFeatureTypeResponse$inboundSchema, CreatePlanAttachAction, CreatePlanAttachAction$inboundSchema, CreatePlanBillingMethodRequest, CreatePlanBillingMethodRequest$outboundSchema, CreatePlanBillingMethodResponse, CreatePlanBillingMethodResponse$inboundSchema, CreatePlanConfigRequest$outboundSchema, CreatePlanConfigResponse$inboundSchema, CreatePlanCreditSchema$inboundSchema, CreatePlanCustomerEligibility$inboundSchema, CreatePlanDurationTypeRequest, CreatePlanDurationTypeRequest$outboundSchema, CreatePlanDurationTypeResponse, CreatePlanDurationTypeResponse$inboundSchema, CreatePlanEnv, CreatePlanEnv$inboundSchema, CreatePlanExpiryDurationTypeRequest, CreatePlanExpiryDurationTypeRequest$outboundSchema, CreatePlanExpiryDurationTypeResponse, CreatePlanExpiryDurationTypeResponse$inboundSchema, CreatePlanFeature$inboundSchema, CreatePlanFeatureDisplay$inboundSchema, CreatePlanFreeTrialResponse$inboundSchema, CreatePlanItem$inboundSchema, CreatePlanItemDisplay$inboundSchema, CreatePlanItemPriceIntervalRequest, CreatePlanItemPriceIntervalRequest$outboundSchema, CreatePlanItemPriceRequest$outboundSchema, CreatePlanItemPriceResponse$inboundSchema, CreatePlanOnDecrease, CreatePlanOnDecrease$outboundSchema, CreatePlanOnIncrease, CreatePlanOnIncrease$outboundSchema, CreatePlanParams$outboundSchema, CreatePlanPlanItem$outboundSchema, CreatePlanPriceDisplay$inboundSchema, CreatePlanPriceIntervalRequest, CreatePlanPriceIntervalRequest$outboundSchema, CreatePlanPriceIntervalResponse, CreatePlanPriceIntervalResponse$inboundSchema, CreatePlanPriceItemIntervalResponse, CreatePlanPriceItemIntervalResponse$inboundSchema, CreatePlanPriceRequest$outboundSchema, CreatePlanPriceResponse$inboundSchema, CreatePlanProration$outboundSchema, CreatePlanResetIntervalRequest, CreatePlanResetIntervalRequest$outboundSchema, CreatePlanResetIntervalResponse, CreatePlanResetIntervalResponse$inboundSchema, CreatePlanResetRequest$outboundSchema, CreatePlanResetResponse$inboundSchema, CreatePlanResponse$inboundSchema, CreatePlanRolloverRequest$outboundSchema, CreatePlanRolloverResponse$inboundSchema, CreatePlanStatus, CreatePlanStatus$inboundSchema, CreatePlanTier$outboundSchema, CreatePlanTierBehaviorRequest, CreatePlanTierBehaviorRequest$outboundSchema, CreatePlanTierBehaviorResponse, CreatePlanTierBehaviorResponse$inboundSchema, CreatePlanTo$outboundSchema, CreatePlanType, CreatePlanType$inboundSchema, CreateReferralCodeParams$outboundSchema, CreateReferralCodeResponse$inboundSchema, Customer$inboundSchema, CustomerAutoTopup$inboundSchema, CustomerBillingControls$inboundSchema, CustomerConfig$inboundSchema, CustomerCreditSchema$inboundSchema, CustomerData$outboundSchema, CustomerDataAutoTopup$outboundSchema, CustomerDataBillingControls$outboundSchema, CustomerDataConfig$outboundSchema, CustomerDataInterval, CustomerDataInterval$outboundSchema, CustomerDataOverageAllowed$outboundSchema, CustomerDataPurchaseLimit$outboundSchema, CustomerDataSpendLimit$outboundSchema, CustomerDataThresholdType, CustomerDataThresholdType$outboundSchema, CustomerDataUsageAlert$outboundSchema, CustomerDisplay$inboundSchema, CustomerDurationType, CustomerDurationType$inboundSchema, CustomerEligibility$inboundSchema, CustomerEnv, CustomerEnv$inboundSchema, CustomerFeature$inboundSchema, CustomerFlagsType, CustomerFlagsType$inboundSchema, CustomerInterval, CustomerInterval$inboundSchema, CustomerOverageAllowed$inboundSchema, CustomerPurchaseLimit$inboundSchema, CustomerSpendLimit$inboundSchema, CustomerStatus, CustomerStatus$inboundSchema, CustomerThresholdType, CustomerThresholdType$inboundSchema, CustomerUsageAlert$inboundSchema, DeleteBalanceInterval, DeleteBalanceInterval$outboundSchema, DeleteBalanceParams$outboundSchema, DeleteBalanceResponse$inboundSchema, DeleteCustomerParams$outboundSchema, DeleteCustomerResponse$inboundSchema, DeleteEntityParams$outboundSchema, DeleteEntityResponse$inboundSchema, DeleteFeatureParams$outboundSchema, DeleteFeatureResponse$inboundSchema, DeletePlanParams$outboundSchema, DeletePlanResponse$inboundSchema, Discount$inboundSchema, Entity$inboundSchema, EntityEnv, EntityEnv$inboundSchema, EventsAggregateParams$outboundSchema, EventsListParams$outboundSchema, ExpiryDurationType, ExpiryDurationType$inboundSchema, FeatureType, FeatureType$inboundSchema, FinalizeBalanceParams$outboundSchema, FinalizeLockResponse$inboundSchema, Flag$inboundSchema, FlagDisplay$inboundSchema, FlagType, FlagType$inboundSchema, Flags$inboundSchema, FreeTrial$inboundSchema, FreeTrialDuration, FreeTrialDuration$inboundSchema, FreeTrialRequest$outboundSchema, GetEntityBillingControls$inboundSchema, GetEntityCreditSchema$inboundSchema, GetEntityDisplay$inboundSchema, GetEntityEnv, GetEntityEnv$inboundSchema, GetEntityFeature$inboundSchema, GetEntityFlags$inboundSchema, GetEntityInvoice$inboundSchema, GetEntityOverageAllowed$inboundSchema, GetEntityParams$outboundSchema, GetEntityPurchase$inboundSchema, GetEntityResponse$inboundSchema, GetEntitySpendLimit$inboundSchema, GetEntityStatus, GetEntityStatus$inboundSchema, GetEntitySubscription$inboundSchema, GetEntityThresholdType, GetEntityThresholdType$inboundSchema, GetEntityType, GetEntityType$inboundSchema, GetEntityUsageAlert$inboundSchema, GetFeatureCreditSchema$inboundSchema, GetFeatureDisplay$inboundSchema, GetFeatureParams$outboundSchema, GetFeatureResponse$inboundSchema, GetFeatureType, GetFeatureType$inboundSchema, GetOrCreateCustomerAutoTopup$outboundSchema, GetOrCreateCustomerBillingControls$outboundSchema, GetOrCreateCustomerConfig$outboundSchema, GetOrCreateCustomerInterval, GetOrCreateCustomerInterval$outboundSchema, GetOrCreateCustomerOverageAllowed$outboundSchema, GetOrCreateCustomerParams$outboundSchema, GetOrCreateCustomerPurchaseLimit$outboundSchema, GetOrCreateCustomerSpendLimit$outboundSchema, GetOrCreateCustomerThresholdType, GetOrCreateCustomerThresholdType$outboundSchema, GetOrCreateCustomerUsageAlert$outboundSchema, GetPlanAttachAction, GetPlanAttachAction$inboundSchema, GetPlanBillingMethod, GetPlanBillingMethod$inboundSchema, GetPlanConfig$inboundSchema, GetPlanCreditSchema$inboundSchema, GetPlanCustomerEligibility$inboundSchema, GetPlanDurationType, GetPlanDurationType$inboundSchema, GetPlanEnv, GetPlanEnv$inboundSchema, GetPlanExpiryDurationType, GetPlanExpiryDurationType$inboundSchema, GetPlanFeature$inboundSchema, GetPlanFeatureDisplay$inboundSchema, GetPlanFreeTrial$inboundSchema, GetPlanItem$inboundSchema, GetPlanItemDisplay$inboundSchema, GetPlanItemPrice$inboundSchema, GetPlanParams$outboundSchema, GetPlanPrice$inboundSchema, GetPlanPriceDisplay$inboundSchema, GetPlanPriceInterval, GetPlanPriceInterval$inboundSchema, GetPlanPriceItemInterval, GetPlanPriceItemInterval$inboundSchema, GetPlanReset$inboundSchema, GetPlanResetInterval, GetPlanResetInterval$inboundSchema, GetPlanResponse$inboundSchema, GetPlanRollover$inboundSchema, GetPlanStatus, GetPlanStatus$inboundSchema, GetPlanTierBehavior, GetPlanTierBehavior$inboundSchema, GetPlanType, GetPlanType$inboundSchema, HTTPClient, HTTPClientError, IncludedUsage$inboundSchema, Intent, Intent$inboundSchema, Interval$inboundSchema, InvalidRequestError, Invoice$inboundSchema, Item$inboundSchema, ListCustomersAutoTopup$inboundSchema, ListCustomersBillingControls$inboundSchema, ListCustomersConfig$inboundSchema, ListCustomersCreditSchema$inboundSchema, ListCustomersDisplay$inboundSchema, ListCustomersEnv, ListCustomersEnv$inboundSchema, ListCustomersFeature$inboundSchema, ListCustomersFlags$inboundSchema, ListCustomersInterval, ListCustomersInterval$inboundSchema, ListCustomersList$inboundSchema, ListCustomersOverageAllowed$inboundSchema, ListCustomersParams$outboundSchema, ListCustomersPlan$outboundSchema, ListCustomersPurchase$inboundSchema, ListCustomersPurchaseLimit$inboundSchema, ListCustomersResponse$inboundSchema, ListCustomersSpendLimit$inboundSchema, ListCustomersStatus, ListCustomersStatus$inboundSchema, ListCustomersSubscription$inboundSchema, ListCustomersThresholdType, ListCustomersThresholdType$inboundSchema, ListCustomersType, ListCustomersType$inboundSchema, ListCustomersUsageAlert$inboundSchema, ListEventsCustomRange$outboundSchema, ListEventsFeatureId$outboundSchema, ListEventsList$inboundSchema, ListEventsResponse$inboundSchema, ListFeaturesCreditSchema$inboundSchema, ListFeaturesDisplay$inboundSchema, ListFeaturesList$inboundSchema, ListFeaturesRequest$outboundSchema, ListFeaturesResponse$inboundSchema, ListFeaturesType, ListFeaturesType$inboundSchema, ListPlansAttachAction, ListPlansAttachAction$inboundSchema, ListPlansBillingMethod, ListPlansBillingMethod$inboundSchema, ListPlansConfig$inboundSchema, ListPlansCreditSchema$inboundSchema, ListPlansCustomerEligibility$inboundSchema, ListPlansDurationType, ListPlansDurationType$inboundSchema, ListPlansEnv, ListPlansEnv$inboundSchema, ListPlansExpiryDurationType, ListPlansExpiryDurationType$inboundSchema, ListPlansFeature$inboundSchema, ListPlansFeatureDisplay$inboundSchema, ListPlansFreeTrial$inboundSchema, ListPlansItem$inboundSchema, ListPlansItemDisplay$inboundSchema, ListPlansItemPrice$inboundSchema, ListPlansList$inboundSchema, ListPlansParams$outboundSchema, ListPlansPrice$inboundSchema, ListPlansPriceDisplay$inboundSchema, ListPlansPriceInterval, ListPlansPriceInterval$inboundSchema, ListPlansPriceItemInterval, ListPlansPriceItemInterval$inboundSchema, ListPlansReset$inboundSchema, ListPlansResetInterval, ListPlansResetInterval$inboundSchema, ListPlansResponse$inboundSchema, ListPlansRollover$inboundSchema, ListPlansStatus, ListPlansStatus$inboundSchema, ListPlansTierBehavior, ListPlansTierBehavior$inboundSchema, ListPlansType, ListPlansType$inboundSchema, MultiAttachAttachDiscount$outboundSchema, MultiAttachBasePrice$outboundSchema, MultiAttachBillingControls$outboundSchema, MultiAttachBillingMethod, MultiAttachBillingMethod$outboundSchema, MultiAttachCode, MultiAttachCode$inboundSchema, MultiAttachCustomize$outboundSchema, MultiAttachDurationType, MultiAttachDurationType$outboundSchema, MultiAttachEntityData$outboundSchema, MultiAttachExpiryDurationType, MultiAttachExpiryDurationType$outboundSchema, MultiAttachFeatureQuantity$outboundSchema, MultiAttachFreeTrialParams$outboundSchema, MultiAttachInvoice$inboundSchema, MultiAttachInvoiceMode$outboundSchema, MultiAttachItemPriceInterval, MultiAttachItemPriceInterval$outboundSchema, MultiAttachOnDecrease, MultiAttachOnDecrease$outboundSchema, MultiAttachOnIncrease, MultiAttachOnIncrease$outboundSchema, MultiAttachOverageAllowed$outboundSchema, MultiAttachParams$outboundSchema, MultiAttachPlan$outboundSchema, MultiAttachPlanItem$outboundSchema, MultiAttachPrice$outboundSchema, MultiAttachPriceInterval, MultiAttachPriceInterval$outboundSchema, MultiAttachProration$outboundSchema, MultiAttachRedirectMode, MultiAttachRedirectMode$outboundSchema, MultiAttachRequiredAction$inboundSchema, MultiAttachReset$outboundSchema, MultiAttachResetInterval, MultiAttachResetInterval$outboundSchema, MultiAttachResponse$inboundSchema, MultiAttachRollover$outboundSchema, MultiAttachSpendLimit$outboundSchema, MultiAttachThresholdType, MultiAttachThresholdType$outboundSchema, MultiAttachTier$outboundSchema, MultiAttachTierBehavior, MultiAttachTierBehavior$outboundSchema, MultiAttachTo$outboundSchema, MultiAttachUsageAlert$outboundSchema, OpenCustomerPortalParams$outboundSchema, OpenCustomerPortalResponse$inboundSchema, Plan$inboundSchema, PlanBillingMethod, PlanBillingMethod$inboundSchema, PlanConfig$inboundSchema, PlanCreditSchema$inboundSchema, PlanDurationType, PlanDurationType$inboundSchema, PlanEnv, PlanEnv$inboundSchema, PlanFeature$inboundSchema, PlanFeatureDisplay$inboundSchema, PlanItemDisplay$inboundSchema, PlanItemPrice$inboundSchema, PlanPrice$inboundSchema, PlanPriceDisplay$inboundSchema, PlanPriceInterval, PlanPriceInterval$inboundSchema, PlanPriceItemInterval, PlanPriceItemInterval$inboundSchema, PlanReset$inboundSchema, PlanResetInterval, PlanResetInterval$inboundSchema, PlanRollover$inboundSchema, PlanStatus, PlanStatus$inboundSchema, PlanTierBehavior, PlanTierBehavior$inboundSchema, PlanType, PlanType$inboundSchema, Preview$inboundSchema, PreviewAttachAttachDiscount$outboundSchema, PreviewAttachBasePrice$outboundSchema, PreviewAttachBillingMethod, PreviewAttachBillingMethod$outboundSchema, PreviewAttachCarryOverBalances$outboundSchema, PreviewAttachCarryOverUsages$outboundSchema, PreviewAttachCheckoutType, PreviewAttachCheckoutType$inboundSchema, PreviewAttachCustomLineItem$outboundSchema, PreviewAttachCustomize$outboundSchema, PreviewAttachDiscount$inboundSchema, PreviewAttachDurationType, PreviewAttachDurationType$outboundSchema, PreviewAttachExpiryDurationType, PreviewAttachExpiryDurationType$outboundSchema, PreviewAttachFeatureQuantityRequest$outboundSchema, PreviewAttachFreeTrialParams$outboundSchema, PreviewAttachIncoming$inboundSchema, PreviewAttachIncomingFeatureQuantity$inboundSchema, PreviewAttachInvoiceMode$outboundSchema, PreviewAttachItemPriceInterval, PreviewAttachItemPriceInterval$outboundSchema, PreviewAttachLineItem$inboundSchema, PreviewAttachLineItemPeriod$inboundSchema, PreviewAttachNextCycle$inboundSchema, PreviewAttachNextCycleDiscount$inboundSchema, PreviewAttachNextCycleLineItem$inboundSchema, PreviewAttachNextCycleLineItemPeriod$inboundSchema, PreviewAttachOnDecrease, PreviewAttachOnDecrease$outboundSchema, PreviewAttachOnIncrease, PreviewAttachOnIncrease$outboundSchema, PreviewAttachOutgoing$inboundSchema, PreviewAttachOutgoingFeatureQuantity$inboundSchema, PreviewAttachParams$outboundSchema, PreviewAttachPlanItem$outboundSchema, PreviewAttachPlanSchedule, PreviewAttachPlanSchedule$outboundSchema, PreviewAttachPrice$outboundSchema, PreviewAttachPriceInterval, PreviewAttachPriceInterval$outboundSchema, PreviewAttachProration$outboundSchema, PreviewAttachProrationBehavior, PreviewAttachProrationBehavior$outboundSchema, PreviewAttachRedirectMode, PreviewAttachRedirectMode$outboundSchema, PreviewAttachReset$outboundSchema, PreviewAttachResetInterval, PreviewAttachResetInterval$outboundSchema, PreviewAttachResponse$inboundSchema, PreviewAttachRollover$outboundSchema, PreviewAttachTier$outboundSchema, PreviewAttachTierBehavior, PreviewAttachTierBehavior$outboundSchema, PreviewAttachTo$outboundSchema, PreviewAttachUsageLineItem$inboundSchema, PreviewAttachUsageLineItemPeriod$inboundSchema, PreviewMultiAttachAttachDiscount$outboundSchema, PreviewMultiAttachBasePrice$outboundSchema, PreviewMultiAttachBillingControls$outboundSchema, PreviewMultiAttachBillingMethod, PreviewMultiAttachBillingMethod$outboundSchema, PreviewMultiAttachCheckoutType, PreviewMultiAttachCheckoutType$inboundSchema, PreviewMultiAttachCustomize$outboundSchema, PreviewMultiAttachDiscount$inboundSchema, PreviewMultiAttachDurationType, PreviewMultiAttachDurationType$outboundSchema, PreviewMultiAttachEntityData$outboundSchema, PreviewMultiAttachExpiryDurationType, PreviewMultiAttachExpiryDurationType$outboundSchema, PreviewMultiAttachFreeTrialParams$outboundSchema, PreviewMultiAttachIncoming$inboundSchema, PreviewMultiAttachIncomingFeatureQuantity$inboundSchema, PreviewMultiAttachInvoiceMode$outboundSchema, PreviewMultiAttachItemPriceInterval, PreviewMultiAttachItemPriceInterval$outboundSchema, PreviewMultiAttachLineItem$inboundSchema, PreviewMultiAttachLineItemPeriod$inboundSchema, PreviewMultiAttachNextCycle$inboundSchema, PreviewMultiAttachNextCycleDiscount$inboundSchema, PreviewMultiAttachNextCycleLineItem$inboundSchema, PreviewMultiAttachNextCycleLineItemPeriod$inboundSchema, PreviewMultiAttachOnDecrease, PreviewMultiAttachOnDecrease$outboundSchema, PreviewMultiAttachOnIncrease, PreviewMultiAttachOnIncrease$outboundSchema, PreviewMultiAttachOutgoing$inboundSchema, PreviewMultiAttachOutgoingFeatureQuantity$inboundSchema, PreviewMultiAttachOverageAllowed$outboundSchema, PreviewMultiAttachParams$outboundSchema, PreviewMultiAttachPlan$outboundSchema, PreviewMultiAttachPlanFeatureQuantity$outboundSchema, PreviewMultiAttachPlanItem$outboundSchema, PreviewMultiAttachPrice$outboundSchema, PreviewMultiAttachPriceInterval, PreviewMultiAttachPriceInterval$outboundSchema, PreviewMultiAttachProration$outboundSchema, PreviewMultiAttachRedirectMode, PreviewMultiAttachRedirectMode$outboundSchema, PreviewMultiAttachReset$outboundSchema, PreviewMultiAttachResetInterval, PreviewMultiAttachResetInterval$outboundSchema, PreviewMultiAttachResponse$inboundSchema, PreviewMultiAttachRollover$outboundSchema, PreviewMultiAttachSpendLimit$outboundSchema, PreviewMultiAttachThresholdType, PreviewMultiAttachThresholdType$outboundSchema, PreviewMultiAttachTier$outboundSchema, PreviewMultiAttachTierBehavior, PreviewMultiAttachTierBehavior$outboundSchema, PreviewMultiAttachTo$outboundSchema, PreviewMultiAttachUsageAlert$outboundSchema, PreviewMultiAttachUsageLineItem$inboundSchema, PreviewMultiAttachUsageLineItemPeriod$inboundSchema, PreviewUpdateAttachDiscount$outboundSchema, PreviewUpdateBasePrice$outboundSchema, PreviewUpdateBillingMethod, PreviewUpdateBillingMethod$outboundSchema, PreviewUpdateCancelAction, PreviewUpdateCancelAction$outboundSchema, PreviewUpdateCustomize$outboundSchema, PreviewUpdateDiscount$inboundSchema, PreviewUpdateDurationType, PreviewUpdateDurationType$outboundSchema, PreviewUpdateExpiryDurationType, PreviewUpdateExpiryDurationType$outboundSchema, PreviewUpdateFeatureQuantityRequest$outboundSchema, PreviewUpdateFreeTrialParams$outboundSchema, PreviewUpdateIncoming$inboundSchema, PreviewUpdateIncomingFeatureQuantity$inboundSchema, PreviewUpdateInvoiceMode$outboundSchema, PreviewUpdateItemPriceInterval, PreviewUpdateItemPriceInterval$outboundSchema, PreviewUpdateLineItem$inboundSchema, PreviewUpdateLineItemPeriod$inboundSchema, PreviewUpdateNextCycle$inboundSchema, PreviewUpdateNextCycleDiscount$inboundSchema, PreviewUpdateNextCycleLineItem$inboundSchema, PreviewUpdateNextCycleLineItemPeriod$inboundSchema, PreviewUpdateOnDecrease, PreviewUpdateOnDecrease$outboundSchema, PreviewUpdateOnIncrease, PreviewUpdateOnIncrease$outboundSchema, PreviewUpdateOutgoing$inboundSchema, PreviewUpdateOutgoingFeatureQuantity$inboundSchema, PreviewUpdateParams$outboundSchema, PreviewUpdatePlanItem$outboundSchema, PreviewUpdatePrice$outboundSchema, PreviewUpdatePriceInterval, PreviewUpdatePriceInterval$outboundSchema, PreviewUpdateProration$outboundSchema, PreviewUpdateProrationBehavior, PreviewUpdateProrationBehavior$outboundSchema, PreviewUpdateRecalculateBalances$outboundSchema, PreviewUpdateRedirectMode, PreviewUpdateRedirectMode$outboundSchema, PreviewUpdateReset$outboundSchema, PreviewUpdateResetInterval, PreviewUpdateResetInterval$outboundSchema, PreviewUpdateResponse$inboundSchema, PreviewUpdateRollover$outboundSchema, PreviewUpdateTier$outboundSchema, PreviewUpdateTierBehavior, PreviewUpdateTierBehavior$outboundSchema, PreviewUpdateTo$outboundSchema, PreviewUpdateUsageLineItem$inboundSchema, PreviewUpdateUsageLineItemPeriod$inboundSchema, Processor, Processor$outboundSchema, Product$inboundSchema, ProductDisplay$inboundSchema, ProductScenario, ProductScenario$inboundSchema, ProductType, ProductType$inboundSchema, Properties$inboundSchema, Purchase$inboundSchema, Range, Range$outboundSchema, RedeemReferralCodeParams$outboundSchema, RedeemReferralCodeResponse$inboundSchema, Referral$inboundSchema, ReferralCustomer$inboundSchema, RequestAbortedError, RequestTimeoutError, ResponseValidationError, Rewards$inboundSchema, RewardsType, RewardsType$inboundSchema, SDKValidationError, SDK_METADATA, Scenario, Scenario$inboundSchema, Security$outboundSchema, ServerList, SetupPaymentAttachDiscount$outboundSchema, SetupPaymentBasePrice$outboundSchema, SetupPaymentBillingMethod, SetupPaymentBillingMethod$outboundSchema, SetupPaymentCarryOverBalances$outboundSchema, SetupPaymentCarryOverUsages$outboundSchema, SetupPaymentCustomLineItem$outboundSchema, SetupPaymentCustomize$outboundSchema, SetupPaymentDurationType, SetupPaymentDurationType$outboundSchema, SetupPaymentExpiryDurationType, SetupPaymentExpiryDurationType$outboundSchema, SetupPaymentFeatureQuantity$outboundSchema, SetupPaymentFreeTrialParams$outboundSchema, SetupPaymentItemPriceInterval, SetupPaymentItemPriceInterval$outboundSchema, SetupPaymentOnDecrease, SetupPaymentOnDecrease$outboundSchema, SetupPaymentOnIncrease, SetupPaymentOnIncrease$outboundSchema, SetupPaymentParams$outboundSchema, SetupPaymentPlanItem$outboundSchema, SetupPaymentPrice$outboundSchema, SetupPaymentPriceInterval, SetupPaymentPriceInterval$outboundSchema, SetupPaymentProration$outboundSchema, SetupPaymentProrationBehavior, SetupPaymentProrationBehavior$outboundSchema, SetupPaymentReset$outboundSchema, SetupPaymentResetInterval, SetupPaymentResetInterval$outboundSchema, SetupPaymentResponse$inboundSchema, SetupPaymentRollover$outboundSchema, SetupPaymentTier$outboundSchema, SetupPaymentTierBehavior, SetupPaymentTierBehavior$outboundSchema, SetupPaymentTo$outboundSchema, Subscription$inboundSchema, SubscriptionStatus, SubscriptionStatus$outboundSchema, Total$inboundSchema, TrackLock$outboundSchema, TrackParams$outboundSchema, TrackResponse$inboundSchema, TrialsUsed$inboundSchema, UnexpectedClientError, UpdateBalanceInterval, UpdateBalanceInterval$outboundSchema, UpdateBalanceParams$outboundSchema, UpdateBalanceResponse$inboundSchema, UpdateCustomerAutoTopupRequest$outboundSchema, UpdateCustomerAutoTopupResponse$inboundSchema, UpdateCustomerBillingControlsRequest$outboundSchema, UpdateCustomerBillingControlsResponse$inboundSchema, UpdateCustomerConfigRequest$outboundSchema, UpdateCustomerConfigResponse$inboundSchema, UpdateCustomerCreditSchema$inboundSchema, UpdateCustomerDisplay$inboundSchema, UpdateCustomerEnv, UpdateCustomerEnv$inboundSchema, UpdateCustomerFeature$inboundSchema, UpdateCustomerFlags$inboundSchema, UpdateCustomerIntervalRequest, UpdateCustomerIntervalRequest$outboundSchema, UpdateCustomerIntervalResponse, UpdateCustomerIntervalResponse$inboundSchema, UpdateCustomerOverageAllowedRequest$outboundSchema, UpdateCustomerOverageAllowedResponse$inboundSchema, UpdateCustomerParams$outboundSchema, UpdateCustomerPurchase$inboundSchema, UpdateCustomerPurchaseLimitRequest$outboundSchema, UpdateCustomerPurchaseLimitResponse$inboundSchema, UpdateCustomerResponse$inboundSchema, UpdateCustomerSpendLimitRequest$outboundSchema, UpdateCustomerSpendLimitResponse$inboundSchema, UpdateCustomerStatus, UpdateCustomerStatus$inboundSchema, UpdateCustomerSubscription$inboundSchema, UpdateCustomerThresholdTypeRequestBody, UpdateCustomerThresholdTypeRequestBody$outboundSchema, UpdateCustomerThresholdTypeResponse, UpdateCustomerThresholdTypeResponse$inboundSchema, UpdateCustomerType, UpdateCustomerType$inboundSchema, UpdateCustomerUsageAlertRequestBody$outboundSchema, UpdateCustomerUsageAlertResponse$inboundSchema, UpdateEntityBillingControlsRequest$outboundSchema, UpdateEntityBillingControlsResponse$inboundSchema, UpdateEntityCreditSchema$inboundSchema, UpdateEntityDisplay$inboundSchema, UpdateEntityEnv, UpdateEntityEnv$inboundSchema, UpdateEntityFeature$inboundSchema, UpdateEntityFlags$inboundSchema, UpdateEntityInvoice$inboundSchema, UpdateEntityOverageAllowedRequest$outboundSchema, UpdateEntityOverageAllowedResponse$inboundSchema, UpdateEntityParams$outboundSchema, UpdateEntityPurchase$inboundSchema, UpdateEntityResponse$inboundSchema, UpdateEntitySpendLimitRequest$outboundSchema, UpdateEntitySpendLimitResponse$inboundSchema, UpdateEntityStatus, UpdateEntityStatus$inboundSchema, UpdateEntitySubscription$inboundSchema, UpdateEntityThresholdTypeRequestBody, UpdateEntityThresholdTypeRequestBody$outboundSchema, UpdateEntityThresholdTypeResponse, UpdateEntityThresholdTypeResponse$inboundSchema, UpdateEntityType, UpdateEntityType$inboundSchema, UpdateEntityUsageAlertRequestBody$outboundSchema, UpdateEntityUsageAlertResponse$inboundSchema, UpdateFeatureCreditSchemaRequest$outboundSchema, UpdateFeatureCreditSchemaResponse$inboundSchema, UpdateFeatureDisplayRequest$outboundSchema, UpdateFeatureDisplayResponse$inboundSchema, UpdateFeatureParams$outboundSchema, UpdateFeatureResponse$inboundSchema, UpdateFeatureTypeRequest, UpdateFeatureTypeRequest$outboundSchema, UpdateFeatureTypeResponse, UpdateFeatureTypeResponse$inboundSchema, UpdatePlanAttachAction, UpdatePlanAttachAction$inboundSchema, UpdatePlanBasePrice$outboundSchema, UpdatePlanBillingMethodRequest, UpdatePlanBillingMethodRequest$outboundSchema, UpdatePlanBillingMethodResponse, UpdatePlanBillingMethodResponse$inboundSchema, UpdatePlanConfigRequest$outboundSchema, UpdatePlanConfigResponse$inboundSchema, UpdatePlanCreditSchema$inboundSchema, UpdatePlanCustomerEligibility$inboundSchema, UpdatePlanDurationTypeRequest, UpdatePlanDurationTypeRequest$outboundSchema, UpdatePlanDurationTypeResponse, UpdatePlanDurationTypeResponse$inboundSchema, UpdatePlanEnv, UpdatePlanEnv$inboundSchema, UpdatePlanExpiryDurationTypeRequest, UpdatePlanExpiryDurationTypeRequest$outboundSchema, UpdatePlanExpiryDurationTypeResponse, UpdatePlanExpiryDurationTypeResponse$inboundSchema, UpdatePlanFeature$inboundSchema, UpdatePlanFeatureDisplay$inboundSchema, UpdatePlanFreeTrial$inboundSchema, UpdatePlanFreeTrialParams$outboundSchema, UpdatePlanItem$inboundSchema, UpdatePlanItemDisplay$inboundSchema, UpdatePlanItemPriceIntervalRequest, UpdatePlanItemPriceIntervalRequest$outboundSchema, UpdatePlanItemPriceResponse$inboundSchema, UpdatePlanOnDecrease, UpdatePlanOnDecrease$outboundSchema, UpdatePlanOnIncrease, UpdatePlanOnIncrease$outboundSchema, UpdatePlanParams$outboundSchema, UpdatePlanPlanItem$outboundSchema, UpdatePlanPriceDisplay$inboundSchema, UpdatePlanPriceIntervalRequest, UpdatePlanPriceIntervalRequest$outboundSchema, UpdatePlanPriceIntervalResponse, UpdatePlanPriceIntervalResponse$inboundSchema, UpdatePlanPriceItemIntervalResponse, UpdatePlanPriceItemIntervalResponse$inboundSchema, UpdatePlanPriceRequest$outboundSchema, UpdatePlanPriceResponse$inboundSchema, UpdatePlanProration$outboundSchema, UpdatePlanResetIntervalRequest, UpdatePlanResetIntervalRequest$outboundSchema, UpdatePlanResetIntervalResponse, UpdatePlanResetIntervalResponse$inboundSchema, UpdatePlanResetRequest$outboundSchema, UpdatePlanResetResponse$inboundSchema, UpdatePlanResponse$inboundSchema, UpdatePlanRolloverRequest$outboundSchema, UpdatePlanRolloverResponse$inboundSchema, UpdatePlanStatus, UpdatePlanStatus$inboundSchema, UpdatePlanTier$outboundSchema, UpdatePlanTierBehaviorRequest, UpdatePlanTierBehaviorRequest$outboundSchema, UpdatePlanTierBehaviorResponse, UpdatePlanTierBehaviorResponse$inboundSchema, UpdatePlanTo$outboundSchema, UpdatePlanType, UpdatePlanType$inboundSchema, UpdateSubscriptionParams$outboundSchema, UsageModel, UsageModel$inboundSchema, aggregateEventsCustomRangeToJSON, aggregateEventsFeatureIdToJSON, aggregateEventsListFromJSON, aggregateEventsResponseFromJSON, attachAttachDiscountToJSON, attachBasePriceToJSON, attachCarryOverBalancesToJSON, attachCarryOverUsagesToJSON, attachCustomLineItemToJSON, attachCustomizeToJSON, attachFeatureQuantityToJSON, attachFreeTrialParamsToJSON, attachInvoiceFromJSON, attachInvoiceModeToJSON, attachParamsToJSON, attachPlanItemToJSON, attachPriceToJSON, attachProrationToJSON, attachRequiredActionFromJSON, attachResetToJSON, attachResponseFromJSON, attachRolloverToJSON, attachTierToJSON, attachToToJSON, balanceCreditSchemaFromJSON, balanceDisplayFromJSON, balanceFeatureFromJSON, balanceFromJSON, balancePriceFromJSON, balanceResetFromJSON, balanceRolloverFromJSON, billingUpdateAttachDiscountToJSON, billingUpdateBasePriceToJSON, billingUpdateCustomizeToJSON, billingUpdateFeatureQuantityToJSON, billingUpdateFreeTrialParamsToJSON, billingUpdateInvoiceFromJSON, billingUpdateInvoiceModeToJSON, billingUpdatePlanItemToJSON, billingUpdatePriceToJSON, billingUpdateProrationToJSON, billingUpdateRecalculateBalancesToJSON, billingUpdateRequiredActionFromJSON, billingUpdateResetToJSON, billingUpdateResponseFromJSON, billingUpdateRolloverToJSON, billingUpdateTierToJSON, billingUpdateToToJSON, breakdownFromJSON, checkConfigFromJSON, checkCreditSchemaFromJSON, checkFeatureFromJSON, checkFreeTrialFromJSON, checkItemFromJSON, checkLockToJSON, checkParamsToJSON, checkResponseFromJSON, checkRolloverFromJSON, createBalanceParamsToJSON, createBalanceResetToJSON, createBalanceResponseFromJSON, createBalanceRolloverToJSON, createEntityBillingControlsRequestToJSON, createEntityBillingControlsResponseFromJSON, createEntityCreditSchemaFromJSON, createEntityDisplayFromJSON, createEntityFeatureFromJSON, createEntityFlagsFromJSON, createEntityInvoiceFromJSON, createEntityOverageAllowedRequestToJSON, createEntityOverageAllowedResponseFromJSON, createEntityParamsToJSON, createEntityPurchaseFromJSON, createEntityResponseFromJSON, createEntitySpendLimitRequestToJSON, createEntitySpendLimitResponseFromJSON, createEntitySubscriptionFromJSON, createEntityUsageAlertRequestBodyToJSON, createEntityUsageAlertResponseFromJSON, createFeatureCreditSchemaRequestToJSON, createFeatureCreditSchemaResponseFromJSON, createFeatureDisplayRequestToJSON, createFeatureDisplayResponseFromJSON, createFeatureParamsToJSON, createFeatureResponseFromJSON, createPlanConfigRequestToJSON, createPlanConfigResponseFromJSON, createPlanCreditSchemaFromJSON, createPlanCustomerEligibilityFromJSON, createPlanFeatureDisplayFromJSON, createPlanFeatureFromJSON, createPlanFreeTrialResponseFromJSON, createPlanItemDisplayFromJSON, createPlanItemFromJSON, createPlanItemPriceRequestToJSON, createPlanItemPriceResponseFromJSON, createPlanParamsToJSON, createPlanPlanItemToJSON, createPlanPriceDisplayFromJSON, createPlanPriceRequestToJSON, createPlanPriceResponseFromJSON, createPlanProrationToJSON, createPlanResetRequestToJSON, createPlanResetResponseFromJSON, createPlanResponseFromJSON, createPlanRolloverRequestToJSON, createPlanRolloverResponseFromJSON, createPlanTierToJSON, createPlanToToJSON, createReferralCodeParamsToJSON, createReferralCodeResponseFromJSON, customerAutoTopupFromJSON, customerBillingControlsFromJSON, customerConfigFromJSON, customerCreditSchemaFromJSON, customerDataAutoTopupToJSON, customerDataBillingControlsToJSON, customerDataConfigToJSON, customerDataOverageAllowedToJSON, customerDataPurchaseLimitToJSON, customerDataSpendLimitToJSON, customerDataToJSON, customerDataUsageAlertToJSON, customerDisplayFromJSON, customerEligibilityFromJSON, customerFeatureFromJSON, customerFromJSON, customerOverageAllowedFromJSON, customerPurchaseLimitFromJSON, customerSpendLimitFromJSON, customerUsageAlertFromJSON, deleteBalanceParamsToJSON, deleteBalanceResponseFromJSON, deleteCustomerParamsToJSON, deleteCustomerResponseFromJSON, deleteEntityParamsToJSON, deleteEntityResponseFromJSON, deleteFeatureParamsToJSON, deleteFeatureResponseFromJSON, deletePlanParamsToJSON, deletePlanResponseFromJSON, discountFromJSON, entityFromJSON, eventsAggregateParamsToJSON, eventsListParamsToJSON, files_exports as files, finalizeBalanceParamsToJSON, finalizeLockResponseFromJSON, flagDisplayFromJSON, flagFromJSON, flagsFromJSON, formatZodError, freeTrialFromJSON, freeTrialRequestToJSON, getEntityBillingControlsFromJSON, getEntityCreditSchemaFromJSON, getEntityDisplayFromJSON, getEntityFeatureFromJSON, getEntityFlagsFromJSON, getEntityInvoiceFromJSON, getEntityOverageAllowedFromJSON, getEntityParamsToJSON, getEntityPurchaseFromJSON, getEntityResponseFromJSON, getEntitySpendLimitFromJSON, getEntitySubscriptionFromJSON, getEntityUsageAlertFromJSON, getFeatureCreditSchemaFromJSON, getFeatureDisplayFromJSON, getFeatureParamsToJSON, getFeatureResponseFromJSON, getOrCreateCustomerAutoTopupToJSON, getOrCreateCustomerBillingControlsToJSON, getOrCreateCustomerConfigToJSON, getOrCreateCustomerOverageAllowedToJSON, getOrCreateCustomerParamsToJSON, getOrCreateCustomerPurchaseLimitToJSON, getOrCreateCustomerSpendLimitToJSON, getOrCreateCustomerUsageAlertToJSON, getPlanConfigFromJSON, getPlanCreditSchemaFromJSON, getPlanCustomerEligibilityFromJSON, getPlanFeatureDisplayFromJSON, getPlanFeatureFromJSON, getPlanFreeTrialFromJSON, getPlanItemDisplayFromJSON, getPlanItemFromJSON, getPlanItemPriceFromJSON, getPlanParamsToJSON, getPlanPriceDisplayFromJSON, getPlanPriceFromJSON, getPlanResetFromJSON, getPlanResponseFromJSON, getPlanRolloverFromJSON, includedUsageFromJSON, intervalFromJSON, invoiceFromJSON, itemFromJSON, listCustomersAutoTopupFromJSON, listCustomersBillingControlsFromJSON, listCustomersConfigFromJSON, listCustomersCreditSchemaFromJSON, listCustomersDisplayFromJSON, listCustomersFeatureFromJSON, listCustomersFlagsFromJSON, listCustomersListFromJSON, listCustomersOverageAllowedFromJSON, listCustomersParamsToJSON, listCustomersPlanToJSON, listCustomersPurchaseFromJSON, listCustomersPurchaseLimitFromJSON, listCustomersResponseFromJSON, listCustomersSpendLimitFromJSON, listCustomersSubscriptionFromJSON, listCustomersUsageAlertFromJSON, listEventsCustomRangeToJSON, listEventsFeatureIdToJSON, listEventsListFromJSON, listEventsResponseFromJSON, listFeaturesCreditSchemaFromJSON, listFeaturesDisplayFromJSON, listFeaturesListFromJSON, listFeaturesRequestToJSON, listFeaturesResponseFromJSON, listPlansConfigFromJSON, listPlansCreditSchemaFromJSON, listPlansCustomerEligibilityFromJSON, listPlansFeatureDisplayFromJSON, listPlansFeatureFromJSON, listPlansFreeTrialFromJSON, listPlansItemDisplayFromJSON, listPlansItemFromJSON, listPlansItemPriceFromJSON, listPlansListFromJSON, listPlansParamsToJSON, listPlansPriceDisplayFromJSON, listPlansPriceFromJSON, listPlansResetFromJSON, listPlansResponseFromJSON, listPlansRolloverFromJSON, multiAttachAttachDiscountToJSON, multiAttachBasePriceToJSON, multiAttachBillingControlsToJSON, multiAttachCustomizeToJSON, multiAttachEntityDataToJSON, multiAttachFeatureQuantityToJSON, multiAttachFreeTrialParamsToJSON, multiAttachInvoiceFromJSON, multiAttachInvoiceModeToJSON, multiAttachOverageAllowedToJSON, multiAttachParamsToJSON, multiAttachPlanItemToJSON, multiAttachPlanToJSON, multiAttachPriceToJSON, multiAttachProrationToJSON, multiAttachRequiredActionFromJSON, multiAttachResetToJSON, multiAttachResponseFromJSON, multiAttachRolloverToJSON, multiAttachSpendLimitToJSON, multiAttachTierToJSON, multiAttachToToJSON, multiAttachUsageAlertToJSON, openCustomerPortalParamsToJSON, openCustomerPortalResponseFromJSON, planConfigFromJSON, planCreditSchemaFromJSON, planFeatureDisplayFromJSON, planFeatureFromJSON, planFromJSON, planItemDisplayFromJSON, planItemPriceFromJSON, planPriceDisplayFromJSON, planPriceFromJSON, planResetFromJSON, planRolloverFromJSON, previewAttachAttachDiscountToJSON, previewAttachBasePriceToJSON, previewAttachCarryOverBalancesToJSON, previewAttachCarryOverUsagesToJSON, previewAttachCustomLineItemToJSON, previewAttachCustomizeToJSON, previewAttachDiscountFromJSON, previewAttachFeatureQuantityRequestToJSON, previewAttachFreeTrialParamsToJSON, previewAttachIncomingFeatureQuantityFromJSON, previewAttachIncomingFromJSON, previewAttachInvoiceModeToJSON, previewAttachLineItemFromJSON, previewAttachLineItemPeriodFromJSON, previewAttachNextCycleDiscountFromJSON, previewAttachNextCycleFromJSON, previewAttachNextCycleLineItemFromJSON, previewAttachNextCycleLineItemPeriodFromJSON, previewAttachOutgoingFeatureQuantityFromJSON, previewAttachOutgoingFromJSON, previewAttachParamsToJSON, previewAttachPlanItemToJSON, previewAttachPriceToJSON, previewAttachProrationToJSON, previewAttachResetToJSON, previewAttachResponseFromJSON, previewAttachRolloverToJSON, previewAttachTierToJSON, previewAttachToToJSON, previewAttachUsageLineItemFromJSON, previewAttachUsageLineItemPeriodFromJSON, previewFromJSON, previewMultiAttachAttachDiscountToJSON, previewMultiAttachBasePriceToJSON, previewMultiAttachBillingControlsToJSON, previewMultiAttachCustomizeToJSON, previewMultiAttachDiscountFromJSON, previewMultiAttachEntityDataToJSON, previewMultiAttachFreeTrialParamsToJSON, previewMultiAttachIncomingFeatureQuantityFromJSON, previewMultiAttachIncomingFromJSON, previewMultiAttachInvoiceModeToJSON, previewMultiAttachLineItemFromJSON, previewMultiAttachLineItemPeriodFromJSON, previewMultiAttachNextCycleDiscountFromJSON, previewMultiAttachNextCycleFromJSON, previewMultiAttachNextCycleLineItemFromJSON, previewMultiAttachNextCycleLineItemPeriodFromJSON, previewMultiAttachOutgoingFeatureQuantityFromJSON, previewMultiAttachOutgoingFromJSON, previewMultiAttachOverageAllowedToJSON, previewMultiAttachParamsToJSON, previewMultiAttachPlanFeatureQuantityToJSON, previewMultiAttachPlanItemToJSON, previewMultiAttachPlanToJSON, previewMultiAttachPriceToJSON, previewMultiAttachProrationToJSON, previewMultiAttachResetToJSON, previewMultiAttachResponseFromJSON, previewMultiAttachRolloverToJSON, previewMultiAttachSpendLimitToJSON, previewMultiAttachTierToJSON, previewMultiAttachToToJSON, previewMultiAttachUsageAlertToJSON, previewMultiAttachUsageLineItemFromJSON, previewMultiAttachUsageLineItemPeriodFromJSON, previewUpdateAttachDiscountToJSON, previewUpdateBasePriceToJSON, previewUpdateCustomizeToJSON, previewUpdateDiscountFromJSON, previewUpdateFeatureQuantityRequestToJSON, previewUpdateFreeTrialParamsToJSON, previewUpdateIncomingFeatureQuantityFromJSON, previewUpdateIncomingFromJSON, previewUpdateInvoiceModeToJSON, previewUpdateLineItemFromJSON, previewUpdateLineItemPeriodFromJSON, previewUpdateNextCycleDiscountFromJSON, previewUpdateNextCycleFromJSON, previewUpdateNextCycleLineItemFromJSON, previewUpdateNextCycleLineItemPeriodFromJSON, previewUpdateOutgoingFeatureQuantityFromJSON, previewUpdateOutgoingFromJSON, previewUpdateParamsToJSON, previewUpdatePlanItemToJSON, previewUpdatePriceToJSON, previewUpdateProrationToJSON, previewUpdateRecalculateBalancesToJSON, previewUpdateResetToJSON, previewUpdateResponseFromJSON, previewUpdateRolloverToJSON, previewUpdateTierToJSON, previewUpdateToToJSON, previewUpdateUsageLineItemFromJSON, previewUpdateUsageLineItemPeriodFromJSON, productDisplayFromJSON, productFromJSON, propertiesFromJSON, purchaseFromJSON, redeemReferralCodeParamsToJSON, redeemReferralCodeResponseFromJSON, referralCustomerFromJSON, referralFromJSON, rewardsFromJSON, securityToJSON, serverURLFromOptions, setupPaymentAttachDiscountToJSON, setupPaymentBasePriceToJSON, setupPaymentCarryOverBalancesToJSON, setupPaymentCarryOverUsagesToJSON, setupPaymentCustomLineItemToJSON, setupPaymentCustomizeToJSON, setupPaymentFeatureQuantityToJSON, setupPaymentFreeTrialParamsToJSON, setupPaymentParamsToJSON, setupPaymentPlanItemToJSON, setupPaymentPriceToJSON, setupPaymentProrationToJSON, setupPaymentResetToJSON, setupPaymentResponseFromJSON, setupPaymentRolloverToJSON, setupPaymentTierToJSON, setupPaymentToToJSON, subscriptionFromJSON, totalFromJSON, trackLockToJSON, trackParamsToJSON, trackResponseFromJSON, trialsUsedFromJSON, types_exports as types, updateBalanceParamsToJSON, updateBalanceResponseFromJSON, updateCustomerAutoTopupRequestToJSON, updateCustomerAutoTopupResponseFromJSON, updateCustomerBillingControlsRequestToJSON, updateCustomerBillingControlsResponseFromJSON, updateCustomerConfigRequestToJSON, updateCustomerConfigResponseFromJSON, updateCustomerCreditSchemaFromJSON, updateCustomerDisplayFromJSON, updateCustomerFeatureFromJSON, updateCustomerFlagsFromJSON, updateCustomerOverageAllowedRequestToJSON, updateCustomerOverageAllowedResponseFromJSON, updateCustomerParamsToJSON, updateCustomerPurchaseFromJSON, updateCustomerPurchaseLimitRequestToJSON, updateCustomerPurchaseLimitResponseFromJSON, updateCustomerResponseFromJSON, updateCustomerSpendLimitRequestToJSON, updateCustomerSpendLimitResponseFromJSON, updateCustomerSubscriptionFromJSON, updateCustomerUsageAlertRequestBodyToJSON, updateCustomerUsageAlertResponseFromJSON, updateEntityBillingControlsRequestToJSON, updateEntityBillingControlsResponseFromJSON, updateEntityCreditSchemaFromJSON, updateEntityDisplayFromJSON, updateEntityFeatureFromJSON, updateEntityFlagsFromJSON, updateEntityInvoiceFromJSON, updateEntityOverageAllowedRequestToJSON, updateEntityOverageAllowedResponseFromJSON, updateEntityParamsToJSON, updateEntityPurchaseFromJSON, updateEntityResponseFromJSON, updateEntitySpendLimitRequestToJSON, updateEntitySpendLimitResponseFromJSON, updateEntitySubscriptionFromJSON, updateEntityUsageAlertRequestBodyToJSON, updateEntityUsageAlertResponseFromJSON, updateFeatureCreditSchemaRequestToJSON, updateFeatureCreditSchemaResponseFromJSON, updateFeatureDisplayRequestToJSON, updateFeatureDisplayResponseFromJSON, updateFeatureParamsToJSON, updateFeatureResponseFromJSON, updatePlanBasePriceToJSON, updatePlanConfigRequestToJSON, updatePlanConfigResponseFromJSON, updatePlanCreditSchemaFromJSON, updatePlanCustomerEligibilityFromJSON, updatePlanFeatureDisplayFromJSON, updatePlanFeatureFromJSON, updatePlanFreeTrialFromJSON, updatePlanFreeTrialParamsToJSON, updatePlanItemDisplayFromJSON, updatePlanItemFromJSON, updatePlanItemPriceResponseFromJSON, updatePlanParamsToJSON, updatePlanPlanItemToJSON, updatePlanPriceDisplayFromJSON, updatePlanPriceRequestToJSON, updatePlanPriceResponseFromJSON, updatePlanProrationToJSON, updatePlanResetRequestToJSON, updatePlanResetResponseFromJSON, updatePlanResponseFromJSON, updatePlanRolloverRequestToJSON, updatePlanRolloverResponseFromJSON, updatePlanTierToJSON, updatePlanToToJSON, updateSubscriptionParamsToJSON };
18006
+ export { Action, Action$outboundSchema, AggregateEventsCustomRange$outboundSchema, AggregateEventsFeatureId$outboundSchema, AggregateEventsList$inboundSchema, AggregateEventsResponse$inboundSchema, AttachAction, AttachAction$inboundSchema, AttachAttachDiscount$outboundSchema, AttachBasePrice$outboundSchema, AttachBillingMethod, AttachBillingMethod$outboundSchema, AttachCarryOverBalances$outboundSchema, AttachCarryOverUsages$outboundSchema, AttachCode, AttachCode$inboundSchema, AttachCustomLineItem$outboundSchema, AttachCustomize$outboundSchema, AttachDurationType, AttachDurationType$outboundSchema, AttachExpiryDurationType, AttachExpiryDurationType$outboundSchema, AttachFeatureQuantity$outboundSchema, AttachFreeTrialParams$outboundSchema, AttachInvoice$inboundSchema, AttachInvoiceMode$outboundSchema, AttachItemPriceInterval, AttachItemPriceInterval$outboundSchema, AttachOnDecrease, AttachOnDecrease$outboundSchema, AttachOnIncrease, AttachOnIncrease$outboundSchema, AttachParams$outboundSchema, AttachPlanItem$outboundSchema, AttachPlanSchedule, AttachPlanSchedule$outboundSchema, AttachPrice$outboundSchema, AttachPriceInterval, AttachPriceInterval$outboundSchema, AttachProration$outboundSchema, AttachProrationBehavior, AttachProrationBehavior$outboundSchema, AttachRedirectMode, AttachRedirectMode$outboundSchema, AttachRequiredAction$inboundSchema, AttachReset$outboundSchema, AttachResetInterval, AttachResetInterval$outboundSchema, AttachResponse$inboundSchema, AttachRollover$outboundSchema, AttachTier$outboundSchema, AttachTierBehavior, AttachTierBehavior$outboundSchema, AttachTo$outboundSchema, Autumn, AutumnDefaultError, AutumnError, Balance$inboundSchema, BalanceBillingMethod, BalanceBillingMethod$inboundSchema, BalanceCreditSchema$inboundSchema, BalanceDisplay$inboundSchema, BalanceFeature$inboundSchema, BalanceIntervalEnum, BalanceIntervalEnum$inboundSchema, BalancePrice$inboundSchema, BalanceReset$inboundSchema, BalanceRollover$inboundSchema, BalanceTierBehavior, BalanceTierBehavior$inboundSchema, BalanceType, BalanceType$inboundSchema, BillingUpdateAttachDiscount$outboundSchema, BillingUpdateBasePrice$outboundSchema, BillingUpdateBillingMethod, BillingUpdateBillingMethod$outboundSchema, BillingUpdateCancelAction, BillingUpdateCancelAction$outboundSchema, BillingUpdateCode, BillingUpdateCode$inboundSchema, BillingUpdateCustomize$outboundSchema, BillingUpdateDurationType, BillingUpdateDurationType$outboundSchema, BillingUpdateExpiryDurationType, BillingUpdateExpiryDurationType$outboundSchema, BillingUpdateFeatureQuantity$outboundSchema, BillingUpdateFreeTrialParams$outboundSchema, BillingUpdateInvoice$inboundSchema, BillingUpdateInvoiceMode$outboundSchema, BillingUpdateItemPriceInterval, BillingUpdateItemPriceInterval$outboundSchema, BillingUpdateOnDecrease, BillingUpdateOnDecrease$outboundSchema, BillingUpdateOnIncrease, BillingUpdateOnIncrease$outboundSchema, BillingUpdatePlanItem$outboundSchema, BillingUpdatePrice$outboundSchema, BillingUpdatePriceInterval, BillingUpdatePriceInterval$outboundSchema, BillingUpdateProration$outboundSchema, BillingUpdateProrationBehavior, BillingUpdateProrationBehavior$outboundSchema, BillingUpdateRecalculateBalances$outboundSchema, BillingUpdateRedirectMode, BillingUpdateRedirectMode$outboundSchema, BillingUpdateRequiredAction$inboundSchema, BillingUpdateReset$outboundSchema, BillingUpdateResetInterval, BillingUpdateResetInterval$outboundSchema, BillingUpdateResponse$inboundSchema, BillingUpdateRollover$outboundSchema, BillingUpdateTier$outboundSchema, BillingUpdateTierBehavior, BillingUpdateTierBehavior$outboundSchema, BillingUpdateTo$outboundSchema, BinSize, BinSize$outboundSchema, Breakdown$inboundSchema, CheckConfig1$inboundSchema, CheckConfig2$inboundSchema, CheckCreditSchema1$inboundSchema, CheckCreditSchema2$inboundSchema, CheckEnv1, CheckEnv1$inboundSchema, CheckEnv2, CheckEnv2$inboundSchema, CheckFeature1$inboundSchema, CheckFeature2$inboundSchema, CheckFreeTrial1$inboundSchema, CheckFreeTrial2$inboundSchema, CheckInterval1, CheckInterval1$inboundSchema, CheckInterval2, CheckInterval2$inboundSchema, CheckItem1$inboundSchema, CheckItem2$inboundSchema, CheckLock$outboundSchema, CheckOnDecrease1, CheckOnDecrease1$inboundSchema, CheckOnDecrease2, CheckOnDecrease2$inboundSchema, CheckOnIncrease1, CheckOnIncrease1$inboundSchema, CheckOnIncrease2, CheckOnIncrease2$inboundSchema, CheckParams$outboundSchema, CheckResponse$inboundSchema, CheckResponseBody1$inboundSchema, CheckResponseBody2$inboundSchema, CheckRollover1$inboundSchema, CheckRollover2$inboundSchema, CheckTierBehavior1, CheckTierBehavior1$inboundSchema, CheckTierBehavior2, CheckTierBehavior2$inboundSchema, ConfigDuration1, ConfigDuration1$inboundSchema, ConfigDuration2, ConfigDuration2$inboundSchema, ConnectionError, CreateBalanceDuration, CreateBalanceDuration$outboundSchema, CreateBalanceInterval, CreateBalanceInterval$outboundSchema, CreateBalanceParams$outboundSchema, CreateBalanceReset$outboundSchema, CreateBalanceResponse$inboundSchema, CreateBalanceRollover$outboundSchema, CreateEntityBillingControlsRequest$outboundSchema, CreateEntityBillingControlsResponse$inboundSchema, CreateEntityCreditSchema$inboundSchema, CreateEntityDisplay$inboundSchema, CreateEntityEnv, CreateEntityEnv$inboundSchema, CreateEntityFeature$inboundSchema, CreateEntityFlags$inboundSchema, CreateEntityInvoice$inboundSchema, CreateEntityOverageAllowedRequest$outboundSchema, CreateEntityOverageAllowedResponse$inboundSchema, CreateEntityParams$outboundSchema, CreateEntityPurchase$inboundSchema, CreateEntityResponse$inboundSchema, CreateEntitySpendLimitRequest$outboundSchema, CreateEntitySpendLimitResponse$inboundSchema, CreateEntityStatus, CreateEntityStatus$inboundSchema, CreateEntitySubscription$inboundSchema, CreateEntityThresholdTypeRequestBody, CreateEntityThresholdTypeRequestBody$outboundSchema, CreateEntityThresholdTypeResponse, CreateEntityThresholdTypeResponse$inboundSchema, CreateEntityType, CreateEntityType$inboundSchema, CreateEntityUsageAlertRequestBody$outboundSchema, CreateEntityUsageAlertResponse$inboundSchema, CreateFeatureCreditSchemaRequest$outboundSchema, CreateFeatureCreditSchemaResponse$inboundSchema, CreateFeatureDisplayRequest$outboundSchema, CreateFeatureDisplayResponse$inboundSchema, CreateFeatureParams$outboundSchema, CreateFeatureResponse$inboundSchema, CreateFeatureTypeRequest, CreateFeatureTypeRequest$outboundSchema, CreateFeatureTypeResponse, CreateFeatureTypeResponse$inboundSchema, CreatePlanAttachAction, CreatePlanAttachAction$inboundSchema, CreatePlanBillingMethodRequest, CreatePlanBillingMethodRequest$outboundSchema, CreatePlanBillingMethodResponse, CreatePlanBillingMethodResponse$inboundSchema, CreatePlanConfigRequest$outboundSchema, CreatePlanConfigResponse$inboundSchema, CreatePlanCreditSchema$inboundSchema, CreatePlanCustomerEligibility$inboundSchema, CreatePlanDurationTypeRequest, CreatePlanDurationTypeRequest$outboundSchema, CreatePlanDurationTypeResponse, CreatePlanDurationTypeResponse$inboundSchema, CreatePlanEnv, CreatePlanEnv$inboundSchema, CreatePlanExpiryDurationTypeRequest, CreatePlanExpiryDurationTypeRequest$outboundSchema, CreatePlanExpiryDurationTypeResponse, CreatePlanExpiryDurationTypeResponse$inboundSchema, CreatePlanFeature$inboundSchema, CreatePlanFeatureDisplay$inboundSchema, CreatePlanFreeTrialResponse$inboundSchema, CreatePlanItem$inboundSchema, CreatePlanItemDisplay$inboundSchema, CreatePlanItemPriceIntervalRequest, CreatePlanItemPriceIntervalRequest$outboundSchema, CreatePlanItemPriceRequest$outboundSchema, CreatePlanItemPriceResponse$inboundSchema, CreatePlanOnDecrease, CreatePlanOnDecrease$outboundSchema, CreatePlanOnIncrease, CreatePlanOnIncrease$outboundSchema, CreatePlanParams$outboundSchema, CreatePlanPlanItem$outboundSchema, CreatePlanPriceDisplay$inboundSchema, CreatePlanPriceIntervalRequest, CreatePlanPriceIntervalRequest$outboundSchema, CreatePlanPriceIntervalResponse, CreatePlanPriceIntervalResponse$inboundSchema, CreatePlanPriceItemIntervalResponse, CreatePlanPriceItemIntervalResponse$inboundSchema, CreatePlanPriceRequest$outboundSchema, CreatePlanPriceResponse$inboundSchema, CreatePlanProration$outboundSchema, CreatePlanResetIntervalRequest, CreatePlanResetIntervalRequest$outboundSchema, CreatePlanResetIntervalResponse, CreatePlanResetIntervalResponse$inboundSchema, CreatePlanResetRequest$outboundSchema, CreatePlanResetResponse$inboundSchema, CreatePlanResponse$inboundSchema, CreatePlanRolloverRequest$outboundSchema, CreatePlanRolloverResponse$inboundSchema, CreatePlanStatus, CreatePlanStatus$inboundSchema, CreatePlanTier$outboundSchema, CreatePlanTierBehaviorRequest, CreatePlanTierBehaviorRequest$outboundSchema, CreatePlanTierBehaviorResponse, CreatePlanTierBehaviorResponse$inboundSchema, CreatePlanTo$outboundSchema, CreatePlanType, CreatePlanType$inboundSchema, CreateReferralCodeParams$outboundSchema, CreateReferralCodeResponse$inboundSchema, Customer$inboundSchema, CustomerAutoTopup$inboundSchema, CustomerBillingControls$inboundSchema, CustomerConfig$inboundSchema, CustomerCreditSchema$inboundSchema, CustomerData$outboundSchema, CustomerDataAutoTopup$outboundSchema, CustomerDataBillingControls$outboundSchema, CustomerDataConfig$outboundSchema, CustomerDataInterval, CustomerDataInterval$outboundSchema, CustomerDataOverageAllowed$outboundSchema, CustomerDataPurchaseLimit$outboundSchema, CustomerDataSpendLimit$outboundSchema, CustomerDataThresholdType, CustomerDataThresholdType$outboundSchema, CustomerDataUsageAlert$outboundSchema, CustomerDisplay$inboundSchema, CustomerDurationType, CustomerDurationType$inboundSchema, CustomerEligibility$inboundSchema, CustomerEnv, CustomerEnv$inboundSchema, CustomerFeature$inboundSchema, CustomerFlagsType, CustomerFlagsType$inboundSchema, CustomerInterval1, CustomerInterval1$inboundSchema, CustomerInterval2, CustomerInterval2$inboundSchema, CustomerOverageAllowed$inboundSchema, CustomerPurchaseLimit1$inboundSchema, CustomerPurchaseLimit2$inboundSchema, CustomerPurchaseLimitUnion$inboundSchema, CustomerSpendLimit$inboundSchema, CustomerStatus, CustomerStatus$inboundSchema, CustomerThresholdType, CustomerThresholdType$inboundSchema, CustomerUsageAlert$inboundSchema, DeleteBalanceInterval, DeleteBalanceInterval$outboundSchema, DeleteBalanceParams$outboundSchema, DeleteBalanceResponse$inboundSchema, DeleteCustomerParams$outboundSchema, DeleteCustomerResponse$inboundSchema, DeleteEntityParams$outboundSchema, DeleteEntityResponse$inboundSchema, DeleteFeatureParams$outboundSchema, DeleteFeatureResponse$inboundSchema, DeletePlanParams$outboundSchema, DeletePlanResponse$inboundSchema, Discount$inboundSchema, Entity$inboundSchema, EntityEnv, EntityEnv$inboundSchema, EventsAggregateParams$outboundSchema, EventsListParams$outboundSchema, ExpiryDurationType, ExpiryDurationType$inboundSchema, FeatureType1, FeatureType1$inboundSchema, FeatureType2, FeatureType2$inboundSchema, FinalizeBalanceParams$outboundSchema, FinalizeLockResponse$inboundSchema, FinalizeLockResponseBody1$inboundSchema, FinalizeLockResponseBody2$inboundSchema, Flag1$inboundSchema, Flag2$inboundSchema, FlagDisplay1$inboundSchema, FlagDisplay2$inboundSchema, FlagType1, FlagType1$inboundSchema, FlagType2, FlagType2$inboundSchema, Flags$inboundSchema, FreeTrial$inboundSchema, FreeTrialDuration1, FreeTrialDuration1$inboundSchema, FreeTrialDuration2, FreeTrialDuration2$inboundSchema, FreeTrialRequest$outboundSchema, GetEntityBillingControls$inboundSchema, GetEntityCreditSchema$inboundSchema, GetEntityDisplay$inboundSchema, GetEntityEnv, GetEntityEnv$inboundSchema, GetEntityFeature$inboundSchema, GetEntityFlags$inboundSchema, GetEntityInvoice$inboundSchema, GetEntityOverageAllowed$inboundSchema, GetEntityParams$outboundSchema, GetEntityPurchase$inboundSchema, GetEntityResponse$inboundSchema, GetEntitySpendLimit$inboundSchema, GetEntityStatus, GetEntityStatus$inboundSchema, GetEntitySubscription$inboundSchema, GetEntityThresholdType, GetEntityThresholdType$inboundSchema, GetEntityType, GetEntityType$inboundSchema, GetEntityUsageAlert$inboundSchema, GetFeatureCreditSchema$inboundSchema, GetFeatureDisplay$inboundSchema, GetFeatureParams$outboundSchema, GetFeatureResponse$inboundSchema, GetFeatureType, GetFeatureType$inboundSchema, GetOrCreateCustomerAutoTopup$outboundSchema, GetOrCreateCustomerBillingControls$outboundSchema, GetOrCreateCustomerConfig$outboundSchema, GetOrCreateCustomerInterval, GetOrCreateCustomerInterval$outboundSchema, GetOrCreateCustomerOverageAllowed$outboundSchema, GetOrCreateCustomerParams$outboundSchema, GetOrCreateCustomerPurchaseLimit$outboundSchema, GetOrCreateCustomerSpendLimit$outboundSchema, GetOrCreateCustomerThresholdType, GetOrCreateCustomerThresholdType$outboundSchema, GetOrCreateCustomerUsageAlert$outboundSchema, GetPlanAttachAction, GetPlanAttachAction$inboundSchema, GetPlanBillingMethod, GetPlanBillingMethod$inboundSchema, GetPlanConfig$inboundSchema, GetPlanCreditSchema$inboundSchema, GetPlanCustomerEligibility$inboundSchema, GetPlanDurationType, GetPlanDurationType$inboundSchema, GetPlanEnv, GetPlanEnv$inboundSchema, GetPlanExpiryDurationType, GetPlanExpiryDurationType$inboundSchema, GetPlanFeature$inboundSchema, GetPlanFeatureDisplay$inboundSchema, GetPlanFreeTrial$inboundSchema, GetPlanItem$inboundSchema, GetPlanItemDisplay$inboundSchema, GetPlanItemPrice$inboundSchema, GetPlanParams$outboundSchema, GetPlanPrice$inboundSchema, GetPlanPriceDisplay$inboundSchema, GetPlanPriceInterval, GetPlanPriceInterval$inboundSchema, GetPlanPriceItemInterval, GetPlanPriceItemInterval$inboundSchema, GetPlanReset$inboundSchema, GetPlanResetInterval, GetPlanResetInterval$inboundSchema, GetPlanResponse$inboundSchema, GetPlanRollover$inboundSchema, GetPlanStatus, GetPlanStatus$inboundSchema, GetPlanTierBehavior, GetPlanTierBehavior$inboundSchema, GetPlanType, GetPlanType$inboundSchema, HTTPClient, HTTPClientError, IncludedUsage1$inboundSchema, IncludedUsage2$inboundSchema, Intent, Intent$inboundSchema, Interval$inboundSchema, InvalidRequestError, Invoice$inboundSchema, Item$inboundSchema, ListCustomersAutoTopup$inboundSchema, ListCustomersBillingControls$inboundSchema, ListCustomersConfig$inboundSchema, ListCustomersCreditSchema$inboundSchema, ListCustomersDisplay$inboundSchema, ListCustomersEnv, ListCustomersEnv$inboundSchema, ListCustomersFeature$inboundSchema, ListCustomersFlags$inboundSchema, ListCustomersInterval1, ListCustomersInterval1$inboundSchema, ListCustomersInterval2, ListCustomersInterval2$inboundSchema, ListCustomersList$inboundSchema, ListCustomersOverageAllowed$inboundSchema, ListCustomersParams$outboundSchema, ListCustomersPlan$outboundSchema, ListCustomersPurchase$inboundSchema, ListCustomersPurchaseLimit1$inboundSchema, ListCustomersPurchaseLimit2$inboundSchema, ListCustomersPurchaseLimitUnion$inboundSchema, ListCustomersResponse$inboundSchema, ListCustomersSpendLimit$inboundSchema, ListCustomersStatus, ListCustomersStatus$inboundSchema, ListCustomersSubscription$inboundSchema, ListCustomersThresholdType, ListCustomersThresholdType$inboundSchema, ListCustomersType, ListCustomersType$inboundSchema, ListCustomersUsageAlert$inboundSchema, ListEventsCustomRange$outboundSchema, ListEventsFeatureId$outboundSchema, ListEventsList$inboundSchema, ListEventsResponse$inboundSchema, ListFeaturesCreditSchema$inboundSchema, ListFeaturesDisplay$inboundSchema, ListFeaturesList$inboundSchema, ListFeaturesRequest$outboundSchema, ListFeaturesResponse$inboundSchema, ListFeaturesType, ListFeaturesType$inboundSchema, ListPlansAttachAction, ListPlansAttachAction$inboundSchema, ListPlansBillingMethod, ListPlansBillingMethod$inboundSchema, ListPlansConfig$inboundSchema, ListPlansCreditSchema$inboundSchema, ListPlansCustomerEligibility$inboundSchema, ListPlansDurationType, ListPlansDurationType$inboundSchema, ListPlansEnv, ListPlansEnv$inboundSchema, ListPlansExpiryDurationType, ListPlansExpiryDurationType$inboundSchema, ListPlansFeature$inboundSchema, ListPlansFeatureDisplay$inboundSchema, ListPlansFreeTrial$inboundSchema, ListPlansItem$inboundSchema, ListPlansItemDisplay$inboundSchema, ListPlansItemPrice$inboundSchema, ListPlansList$inboundSchema, ListPlansParams$outboundSchema, ListPlansPrice$inboundSchema, ListPlansPriceDisplay$inboundSchema, ListPlansPriceInterval, ListPlansPriceInterval$inboundSchema, ListPlansPriceItemInterval, ListPlansPriceItemInterval$inboundSchema, ListPlansReset$inboundSchema, ListPlansResetInterval, ListPlansResetInterval$inboundSchema, ListPlansResponse$inboundSchema, ListPlansRollover$inboundSchema, ListPlansStatus, ListPlansStatus$inboundSchema, ListPlansTierBehavior, ListPlansTierBehavior$inboundSchema, ListPlansType, ListPlansType$inboundSchema, MultiAttachAttachDiscount$outboundSchema, MultiAttachBasePrice$outboundSchema, MultiAttachBillingControls$outboundSchema, MultiAttachBillingMethod, MultiAttachBillingMethod$outboundSchema, MultiAttachCode, MultiAttachCode$inboundSchema, MultiAttachCustomize$outboundSchema, MultiAttachDurationType, MultiAttachDurationType$outboundSchema, MultiAttachEntityData$outboundSchema, MultiAttachExpiryDurationType, MultiAttachExpiryDurationType$outboundSchema, MultiAttachFeatureQuantity$outboundSchema, MultiAttachFreeTrialParams$outboundSchema, MultiAttachInvoice$inboundSchema, MultiAttachInvoiceMode$outboundSchema, MultiAttachItemPriceInterval, MultiAttachItemPriceInterval$outboundSchema, MultiAttachOnDecrease, MultiAttachOnDecrease$outboundSchema, MultiAttachOnIncrease, MultiAttachOnIncrease$outboundSchema, MultiAttachOverageAllowed$outboundSchema, MultiAttachParams$outboundSchema, MultiAttachPlan$outboundSchema, MultiAttachPlanItem$outboundSchema, MultiAttachPrice$outboundSchema, MultiAttachPriceInterval, MultiAttachPriceInterval$outboundSchema, MultiAttachProration$outboundSchema, MultiAttachRedirectMode, MultiAttachRedirectMode$outboundSchema, MultiAttachRequiredAction$inboundSchema, MultiAttachReset$outboundSchema, MultiAttachResetInterval, MultiAttachResetInterval$outboundSchema, MultiAttachResponse$inboundSchema, MultiAttachRollover$outboundSchema, MultiAttachSpendLimit$outboundSchema, MultiAttachThresholdType, MultiAttachThresholdType$outboundSchema, MultiAttachTier$outboundSchema, MultiAttachTierBehavior, MultiAttachTierBehavior$outboundSchema, MultiAttachTo$outboundSchema, MultiAttachUsageAlert$outboundSchema, OpenCustomerPortalParams$outboundSchema, OpenCustomerPortalResponse$inboundSchema, Plan$inboundSchema, PlanBillingMethod, PlanBillingMethod$inboundSchema, PlanConfig$inboundSchema, PlanCreditSchema$inboundSchema, PlanDurationType, PlanDurationType$inboundSchema, PlanEnv, PlanEnv$inboundSchema, PlanFeature$inboundSchema, PlanFeatureDisplay$inboundSchema, PlanItemDisplay$inboundSchema, PlanItemPrice$inboundSchema, PlanPrice$inboundSchema, PlanPriceDisplay$inboundSchema, PlanPriceInterval, PlanPriceInterval$inboundSchema, PlanPriceItemInterval, PlanPriceItemInterval$inboundSchema, PlanReset$inboundSchema, PlanResetInterval, PlanResetInterval$inboundSchema, PlanRollover$inboundSchema, PlanStatus, PlanStatus$inboundSchema, PlanTierBehavior, PlanTierBehavior$inboundSchema, PlanType, PlanType$inboundSchema, Preview1$inboundSchema, Preview2$inboundSchema, PreviewAttachAttachDiscount$outboundSchema, PreviewAttachBasePrice$outboundSchema, PreviewAttachBillingMethod, PreviewAttachBillingMethod$outboundSchema, PreviewAttachCarryOverBalances$outboundSchema, PreviewAttachCarryOverUsages$outboundSchema, PreviewAttachCheckoutType, PreviewAttachCheckoutType$inboundSchema, PreviewAttachCustomLineItem$outboundSchema, PreviewAttachCustomize$outboundSchema, PreviewAttachDiscount$inboundSchema, PreviewAttachDurationType, PreviewAttachDurationType$outboundSchema, PreviewAttachExpiryDurationType, PreviewAttachExpiryDurationType$outboundSchema, PreviewAttachFeatureQuantityRequest$outboundSchema, PreviewAttachFreeTrialParams$outboundSchema, PreviewAttachIncoming$inboundSchema, PreviewAttachIncomingFeatureQuantity$inboundSchema, PreviewAttachInvoiceMode$outboundSchema, PreviewAttachItemPriceInterval, PreviewAttachItemPriceInterval$outboundSchema, PreviewAttachLineItem$inboundSchema, PreviewAttachLineItemPeriod$inboundSchema, PreviewAttachNextCycle$inboundSchema, PreviewAttachNextCycleDiscount$inboundSchema, PreviewAttachNextCycleLineItem$inboundSchema, PreviewAttachNextCycleLineItemPeriod$inboundSchema, PreviewAttachOnDecrease, PreviewAttachOnDecrease$outboundSchema, PreviewAttachOnIncrease, PreviewAttachOnIncrease$outboundSchema, PreviewAttachOutgoing$inboundSchema, PreviewAttachOutgoingFeatureQuantity$inboundSchema, PreviewAttachParams$outboundSchema, PreviewAttachPlanItem$outboundSchema, PreviewAttachPlanSchedule, PreviewAttachPlanSchedule$outboundSchema, PreviewAttachPrice$outboundSchema, PreviewAttachPriceInterval, PreviewAttachPriceInterval$outboundSchema, PreviewAttachProration$outboundSchema, PreviewAttachProrationBehavior, PreviewAttachProrationBehavior$outboundSchema, PreviewAttachRedirectMode, PreviewAttachRedirectMode$outboundSchema, PreviewAttachReset$outboundSchema, PreviewAttachResetInterval, PreviewAttachResetInterval$outboundSchema, PreviewAttachResponse$inboundSchema, PreviewAttachRollover$outboundSchema, PreviewAttachStatus, PreviewAttachStatus$inboundSchema, PreviewAttachTax$inboundSchema, PreviewAttachTier$outboundSchema, PreviewAttachTierBehavior, PreviewAttachTierBehavior$outboundSchema, PreviewAttachTo$outboundSchema, PreviewAttachUsageLineItem$inboundSchema, PreviewAttachUsageLineItemPeriod$inboundSchema, PreviewMultiAttachAttachDiscount$outboundSchema, PreviewMultiAttachBasePrice$outboundSchema, PreviewMultiAttachBillingControls$outboundSchema, PreviewMultiAttachBillingMethod, PreviewMultiAttachBillingMethod$outboundSchema, PreviewMultiAttachCheckoutType, PreviewMultiAttachCheckoutType$inboundSchema, PreviewMultiAttachCustomize$outboundSchema, PreviewMultiAttachDiscount$inboundSchema, PreviewMultiAttachDurationType, PreviewMultiAttachDurationType$outboundSchema, PreviewMultiAttachEntityData$outboundSchema, PreviewMultiAttachExpiryDurationType, PreviewMultiAttachExpiryDurationType$outboundSchema, PreviewMultiAttachFreeTrialParams$outboundSchema, PreviewMultiAttachIncoming$inboundSchema, PreviewMultiAttachIncomingFeatureQuantity$inboundSchema, PreviewMultiAttachInvoiceMode$outboundSchema, PreviewMultiAttachItemPriceInterval, PreviewMultiAttachItemPriceInterval$outboundSchema, PreviewMultiAttachLineItem$inboundSchema, PreviewMultiAttachLineItemPeriod$inboundSchema, PreviewMultiAttachNextCycle$inboundSchema, PreviewMultiAttachNextCycleDiscount$inboundSchema, PreviewMultiAttachNextCycleLineItem$inboundSchema, PreviewMultiAttachNextCycleLineItemPeriod$inboundSchema, PreviewMultiAttachOnDecrease, PreviewMultiAttachOnDecrease$outboundSchema, PreviewMultiAttachOnIncrease, PreviewMultiAttachOnIncrease$outboundSchema, PreviewMultiAttachOutgoing$inboundSchema, PreviewMultiAttachOutgoingFeatureQuantity$inboundSchema, PreviewMultiAttachOverageAllowed$outboundSchema, PreviewMultiAttachParams$outboundSchema, PreviewMultiAttachPlan$outboundSchema, PreviewMultiAttachPlanFeatureQuantity$outboundSchema, PreviewMultiAttachPlanItem$outboundSchema, PreviewMultiAttachPrice$outboundSchema, PreviewMultiAttachPriceInterval, PreviewMultiAttachPriceInterval$outboundSchema, PreviewMultiAttachProration$outboundSchema, PreviewMultiAttachRedirectMode, PreviewMultiAttachRedirectMode$outboundSchema, PreviewMultiAttachReset$outboundSchema, PreviewMultiAttachResetInterval, PreviewMultiAttachResetInterval$outboundSchema, PreviewMultiAttachResponse$inboundSchema, PreviewMultiAttachRollover$outboundSchema, PreviewMultiAttachSpendLimit$outboundSchema, PreviewMultiAttachStatus, PreviewMultiAttachStatus$inboundSchema, PreviewMultiAttachTax$inboundSchema, PreviewMultiAttachThresholdType, PreviewMultiAttachThresholdType$outboundSchema, PreviewMultiAttachTier$outboundSchema, PreviewMultiAttachTierBehavior, PreviewMultiAttachTierBehavior$outboundSchema, PreviewMultiAttachTo$outboundSchema, PreviewMultiAttachUsageAlert$outboundSchema, PreviewMultiAttachUsageLineItem$inboundSchema, PreviewMultiAttachUsageLineItemPeriod$inboundSchema, PreviewUpdateAttachDiscount$outboundSchema, PreviewUpdateBasePrice$outboundSchema, PreviewUpdateBillingMethod, PreviewUpdateBillingMethod$outboundSchema, PreviewUpdateCancelAction, PreviewUpdateCancelAction$outboundSchema, PreviewUpdateCustomize$outboundSchema, PreviewUpdateDiscount$inboundSchema, PreviewUpdateDurationType, PreviewUpdateDurationType$outboundSchema, PreviewUpdateExpiryDurationType, PreviewUpdateExpiryDurationType$outboundSchema, PreviewUpdateFeatureQuantityRequest$outboundSchema, PreviewUpdateFreeTrialParams$outboundSchema, PreviewUpdateIncoming$inboundSchema, PreviewUpdateIncomingFeatureQuantity$inboundSchema, PreviewUpdateInvoiceMode$outboundSchema, PreviewUpdateItemPriceInterval, PreviewUpdateItemPriceInterval$outboundSchema, PreviewUpdateLineItem$inboundSchema, PreviewUpdateLineItemPeriod$inboundSchema, PreviewUpdateNextCycle$inboundSchema, PreviewUpdateNextCycleDiscount$inboundSchema, PreviewUpdateNextCycleLineItem$inboundSchema, PreviewUpdateNextCycleLineItemPeriod$inboundSchema, PreviewUpdateOnDecrease, PreviewUpdateOnDecrease$outboundSchema, PreviewUpdateOnIncrease, PreviewUpdateOnIncrease$outboundSchema, PreviewUpdateOutgoing$inboundSchema, PreviewUpdateOutgoingFeatureQuantity$inboundSchema, PreviewUpdateParams$outboundSchema, PreviewUpdatePlanItem$outboundSchema, PreviewUpdatePrice$outboundSchema, PreviewUpdatePriceInterval, PreviewUpdatePriceInterval$outboundSchema, PreviewUpdateProration$outboundSchema, PreviewUpdateProrationBehavior, PreviewUpdateProrationBehavior$outboundSchema, PreviewUpdateRecalculateBalances$outboundSchema, PreviewUpdateRedirectMode, PreviewUpdateRedirectMode$outboundSchema, PreviewUpdateReset$outboundSchema, PreviewUpdateResetInterval, PreviewUpdateResetInterval$outboundSchema, PreviewUpdateResponse$inboundSchema, PreviewUpdateRollover$outboundSchema, PreviewUpdateTier$outboundSchema, PreviewUpdateTierBehavior, PreviewUpdateTierBehavior$outboundSchema, PreviewUpdateTo$outboundSchema, PreviewUpdateUsageLineItem$inboundSchema, PreviewUpdateUsageLineItemPeriod$inboundSchema, Processor, Processor$outboundSchema, Product1$inboundSchema, Product2$inboundSchema, ProductDisplay1$inboundSchema, ProductDisplay2$inboundSchema, ProductScenario1, ProductScenario1$inboundSchema, ProductScenario2, ProductScenario2$inboundSchema, ProductType1, ProductType1$inboundSchema, ProductType2, ProductType2$inboundSchema, Properties1$inboundSchema, Properties2$inboundSchema, Purchase$inboundSchema, Range, Range$outboundSchema, RedeemReferralCodeParams$outboundSchema, RedeemReferralCodeResponse$inboundSchema, Referral$inboundSchema, ReferralCustomer$inboundSchema, RequestAbortedError, RequestTimeoutError, ResponseValidationError, Rewards$inboundSchema, RewardsType, RewardsType$inboundSchema, SDKValidationError, SDK_METADATA, Scenario1, Scenario1$inboundSchema, Scenario2, Scenario2$inboundSchema, Security$outboundSchema, ServerList, SetupPaymentAttachDiscount$outboundSchema, SetupPaymentBasePrice$outboundSchema, SetupPaymentBillingMethod, SetupPaymentBillingMethod$outboundSchema, SetupPaymentCarryOverBalances$outboundSchema, SetupPaymentCarryOverUsages$outboundSchema, SetupPaymentCustomLineItem$outboundSchema, SetupPaymentCustomize$outboundSchema, SetupPaymentDurationType, SetupPaymentDurationType$outboundSchema, SetupPaymentExpiryDurationType, SetupPaymentExpiryDurationType$outboundSchema, SetupPaymentFeatureQuantity$outboundSchema, SetupPaymentFreeTrialParams$outboundSchema, SetupPaymentItemPriceInterval, SetupPaymentItemPriceInterval$outboundSchema, SetupPaymentOnDecrease, SetupPaymentOnDecrease$outboundSchema, SetupPaymentOnIncrease, SetupPaymentOnIncrease$outboundSchema, SetupPaymentParams$outboundSchema, SetupPaymentPlanItem$outboundSchema, SetupPaymentPrice$outboundSchema, SetupPaymentPriceInterval, SetupPaymentPriceInterval$outboundSchema, SetupPaymentProration$outboundSchema, SetupPaymentProrationBehavior, SetupPaymentProrationBehavior$outboundSchema, SetupPaymentReset$outboundSchema, SetupPaymentResetInterval, SetupPaymentResetInterval$outboundSchema, SetupPaymentResponse$inboundSchema, SetupPaymentRollover$outboundSchema, SetupPaymentTier$outboundSchema, SetupPaymentTierBehavior, SetupPaymentTierBehavior$outboundSchema, SetupPaymentTo$outboundSchema, Subscription$inboundSchema, SubscriptionStatus, SubscriptionStatus$outboundSchema, Total$inboundSchema, TrackLock$outboundSchema, TrackParams$outboundSchema, TrackResponse$inboundSchema, TrackResponseBody1$inboundSchema, TrackResponseBody2$inboundSchema, TrialsUsed$inboundSchema, UnexpectedClientError, UpdateBalanceInterval, UpdateBalanceInterval$outboundSchema, UpdateBalanceParams$outboundSchema, UpdateBalanceResponse$inboundSchema, UpdateCustomerAutoTopupRequest$outboundSchema, UpdateCustomerAutoTopupResponse$inboundSchema, UpdateCustomerBillingControlsRequest$outboundSchema, UpdateCustomerBillingControlsResponse$inboundSchema, UpdateCustomerConfigRequest$outboundSchema, UpdateCustomerConfigResponse$inboundSchema, UpdateCustomerCreditSchema$inboundSchema, UpdateCustomerDisplay$inboundSchema, UpdateCustomerEnv, UpdateCustomerEnv$inboundSchema, UpdateCustomerFeature$inboundSchema, UpdateCustomerFlags$inboundSchema, UpdateCustomerIntervalRequest, UpdateCustomerIntervalRequest$outboundSchema, UpdateCustomerIntervalResponse1, UpdateCustomerIntervalResponse1$inboundSchema, UpdateCustomerIntervalResponse2, UpdateCustomerIntervalResponse2$inboundSchema, UpdateCustomerOverageAllowedRequest$outboundSchema, UpdateCustomerOverageAllowedResponse$inboundSchema, UpdateCustomerParams$outboundSchema, UpdateCustomerPurchase$inboundSchema, UpdateCustomerPurchaseLimitRequest$outboundSchema, UpdateCustomerPurchaseLimitResponse1$inboundSchema, UpdateCustomerPurchaseLimitResponse2$inboundSchema, UpdateCustomerPurchaseLimitUnion$inboundSchema, UpdateCustomerResponse$inboundSchema, UpdateCustomerSpendLimitRequest$outboundSchema, UpdateCustomerSpendLimitResponse$inboundSchema, UpdateCustomerStatus, UpdateCustomerStatus$inboundSchema, UpdateCustomerSubscription$inboundSchema, UpdateCustomerThresholdTypeRequestBody, UpdateCustomerThresholdTypeRequestBody$outboundSchema, UpdateCustomerThresholdTypeResponse, UpdateCustomerThresholdTypeResponse$inboundSchema, UpdateCustomerType, UpdateCustomerType$inboundSchema, UpdateCustomerUsageAlertRequestBody$outboundSchema, UpdateCustomerUsageAlertResponse$inboundSchema, UpdateEntityBillingControlsRequest$outboundSchema, UpdateEntityBillingControlsResponse$inboundSchema, UpdateEntityCreditSchema$inboundSchema, UpdateEntityDisplay$inboundSchema, UpdateEntityEnv, UpdateEntityEnv$inboundSchema, UpdateEntityFeature$inboundSchema, UpdateEntityFlags$inboundSchema, UpdateEntityInvoice$inboundSchema, UpdateEntityOverageAllowedRequest$outboundSchema, UpdateEntityOverageAllowedResponse$inboundSchema, UpdateEntityParams$outboundSchema, UpdateEntityPurchase$inboundSchema, UpdateEntityResponse$inboundSchema, UpdateEntitySpendLimitRequest$outboundSchema, UpdateEntitySpendLimitResponse$inboundSchema, UpdateEntityStatus, UpdateEntityStatus$inboundSchema, UpdateEntitySubscription$inboundSchema, UpdateEntityThresholdTypeRequestBody, UpdateEntityThresholdTypeRequestBody$outboundSchema, UpdateEntityThresholdTypeResponse, UpdateEntityThresholdTypeResponse$inboundSchema, UpdateEntityType, UpdateEntityType$inboundSchema, UpdateEntityUsageAlertRequestBody$outboundSchema, UpdateEntityUsageAlertResponse$inboundSchema, UpdateFeatureCreditSchemaRequest$outboundSchema, UpdateFeatureCreditSchemaResponse$inboundSchema, UpdateFeatureDisplayRequest$outboundSchema, UpdateFeatureDisplayResponse$inboundSchema, UpdateFeatureParams$outboundSchema, UpdateFeatureResponse$inboundSchema, UpdateFeatureTypeRequest, UpdateFeatureTypeRequest$outboundSchema, UpdateFeatureTypeResponse, UpdateFeatureTypeResponse$inboundSchema, UpdatePlanAttachAction, UpdatePlanAttachAction$inboundSchema, UpdatePlanBasePrice$outboundSchema, UpdatePlanBillingMethodRequest, UpdatePlanBillingMethodRequest$outboundSchema, UpdatePlanBillingMethodResponse, UpdatePlanBillingMethodResponse$inboundSchema, UpdatePlanConfigRequest$outboundSchema, UpdatePlanConfigResponse$inboundSchema, UpdatePlanCreditSchema$inboundSchema, UpdatePlanCustomerEligibility$inboundSchema, UpdatePlanDurationTypeRequest, UpdatePlanDurationTypeRequest$outboundSchema, UpdatePlanDurationTypeResponse, UpdatePlanDurationTypeResponse$inboundSchema, UpdatePlanEnv, UpdatePlanEnv$inboundSchema, UpdatePlanExpiryDurationTypeRequest, UpdatePlanExpiryDurationTypeRequest$outboundSchema, UpdatePlanExpiryDurationTypeResponse, UpdatePlanExpiryDurationTypeResponse$inboundSchema, UpdatePlanFeature$inboundSchema, UpdatePlanFeatureDisplay$inboundSchema, UpdatePlanFreeTrial$inboundSchema, UpdatePlanFreeTrialParams$outboundSchema, UpdatePlanItem$inboundSchema, UpdatePlanItemDisplay$inboundSchema, UpdatePlanItemPriceIntervalRequest, UpdatePlanItemPriceIntervalRequest$outboundSchema, UpdatePlanItemPriceResponse$inboundSchema, UpdatePlanOnDecrease, UpdatePlanOnDecrease$outboundSchema, UpdatePlanOnIncrease, UpdatePlanOnIncrease$outboundSchema, UpdatePlanParams$outboundSchema, UpdatePlanPlanItem$outboundSchema, UpdatePlanPriceDisplay$inboundSchema, UpdatePlanPriceIntervalRequest, UpdatePlanPriceIntervalRequest$outboundSchema, UpdatePlanPriceIntervalResponse, UpdatePlanPriceIntervalResponse$inboundSchema, UpdatePlanPriceItemIntervalResponse, UpdatePlanPriceItemIntervalResponse$inboundSchema, UpdatePlanPriceRequest$outboundSchema, UpdatePlanPriceResponse$inboundSchema, UpdatePlanProration$outboundSchema, UpdatePlanResetIntervalRequest, UpdatePlanResetIntervalRequest$outboundSchema, UpdatePlanResetIntervalResponse, UpdatePlanResetIntervalResponse$inboundSchema, UpdatePlanResetRequest$outboundSchema, UpdatePlanResetResponse$inboundSchema, UpdatePlanResponse$inboundSchema, UpdatePlanRolloverRequest$outboundSchema, UpdatePlanRolloverResponse$inboundSchema, UpdatePlanStatus, UpdatePlanStatus$inboundSchema, UpdatePlanTier$outboundSchema, UpdatePlanTierBehaviorRequest, UpdatePlanTierBehaviorRequest$outboundSchema, UpdatePlanTierBehaviorResponse, UpdatePlanTierBehaviorResponse$inboundSchema, UpdatePlanTo$outboundSchema, UpdatePlanType, UpdatePlanType$inboundSchema, UpdateSubscriptionParams$outboundSchema, UsageModel1, UsageModel1$inboundSchema, UsageModel2, UsageModel2$inboundSchema, aggregateEventsCustomRangeToJSON, aggregateEventsFeatureIdToJSON, aggregateEventsListFromJSON, aggregateEventsResponseFromJSON, attachAttachDiscountToJSON, attachBasePriceToJSON, attachCarryOverBalancesToJSON, attachCarryOverUsagesToJSON, attachCustomLineItemToJSON, attachCustomizeToJSON, attachFeatureQuantityToJSON, attachFreeTrialParamsToJSON, attachInvoiceFromJSON, attachInvoiceModeToJSON, attachParamsToJSON, attachPlanItemToJSON, attachPriceToJSON, attachProrationToJSON, attachRequiredActionFromJSON, attachResetToJSON, attachResponseFromJSON, attachRolloverToJSON, attachTierToJSON, attachToToJSON, balanceCreditSchemaFromJSON, balanceDisplayFromJSON, balanceFeatureFromJSON, balanceFromJSON, balancePriceFromJSON, balanceResetFromJSON, balanceRolloverFromJSON, billingUpdateAttachDiscountToJSON, billingUpdateBasePriceToJSON, billingUpdateCustomizeToJSON, billingUpdateFeatureQuantityToJSON, billingUpdateFreeTrialParamsToJSON, billingUpdateInvoiceFromJSON, billingUpdateInvoiceModeToJSON, billingUpdatePlanItemToJSON, billingUpdatePriceToJSON, billingUpdateProrationToJSON, billingUpdateRecalculateBalancesToJSON, billingUpdateRequiredActionFromJSON, billingUpdateResetToJSON, billingUpdateResponseFromJSON, billingUpdateRolloverToJSON, billingUpdateTierToJSON, billingUpdateToToJSON, breakdownFromJSON, checkConfig1FromJSON, checkConfig2FromJSON, checkCreditSchema1FromJSON, checkCreditSchema2FromJSON, checkFeature1FromJSON, checkFeature2FromJSON, checkFreeTrial1FromJSON, checkFreeTrial2FromJSON, checkItem1FromJSON, checkItem2FromJSON, checkLockToJSON, checkParamsToJSON, checkResponseBody1FromJSON, checkResponseBody2FromJSON, checkResponseFromJSON, checkRollover1FromJSON, checkRollover2FromJSON, createBalanceParamsToJSON, createBalanceResetToJSON, createBalanceResponseFromJSON, createBalanceRolloverToJSON, createEntityBillingControlsRequestToJSON, createEntityBillingControlsResponseFromJSON, createEntityCreditSchemaFromJSON, createEntityDisplayFromJSON, createEntityFeatureFromJSON, createEntityFlagsFromJSON, createEntityInvoiceFromJSON, createEntityOverageAllowedRequestToJSON, createEntityOverageAllowedResponseFromJSON, createEntityParamsToJSON, createEntityPurchaseFromJSON, createEntityResponseFromJSON, createEntitySpendLimitRequestToJSON, createEntitySpendLimitResponseFromJSON, createEntitySubscriptionFromJSON, createEntityUsageAlertRequestBodyToJSON, createEntityUsageAlertResponseFromJSON, createFeatureCreditSchemaRequestToJSON, createFeatureCreditSchemaResponseFromJSON, createFeatureDisplayRequestToJSON, createFeatureDisplayResponseFromJSON, createFeatureParamsToJSON, createFeatureResponseFromJSON, createPlanConfigRequestToJSON, createPlanConfigResponseFromJSON, createPlanCreditSchemaFromJSON, createPlanCustomerEligibilityFromJSON, createPlanFeatureDisplayFromJSON, createPlanFeatureFromJSON, createPlanFreeTrialResponseFromJSON, createPlanItemDisplayFromJSON, createPlanItemFromJSON, createPlanItemPriceRequestToJSON, createPlanItemPriceResponseFromJSON, createPlanParamsToJSON, createPlanPlanItemToJSON, createPlanPriceDisplayFromJSON, createPlanPriceRequestToJSON, createPlanPriceResponseFromJSON, createPlanProrationToJSON, createPlanResetRequestToJSON, createPlanResetResponseFromJSON, createPlanResponseFromJSON, createPlanRolloverRequestToJSON, createPlanRolloverResponseFromJSON, createPlanTierToJSON, createPlanToToJSON, createReferralCodeParamsToJSON, createReferralCodeResponseFromJSON, customerAutoTopupFromJSON, customerBillingControlsFromJSON, customerConfigFromJSON, customerCreditSchemaFromJSON, customerDataAutoTopupToJSON, customerDataBillingControlsToJSON, customerDataConfigToJSON, customerDataOverageAllowedToJSON, customerDataPurchaseLimitToJSON, customerDataSpendLimitToJSON, customerDataToJSON, customerDataUsageAlertToJSON, customerDisplayFromJSON, customerEligibilityFromJSON, customerFeatureFromJSON, customerFromJSON, customerOverageAllowedFromJSON, customerPurchaseLimit1FromJSON, customerPurchaseLimit2FromJSON, customerPurchaseLimitUnionFromJSON, customerSpendLimitFromJSON, customerUsageAlertFromJSON, deleteBalanceParamsToJSON, deleteBalanceResponseFromJSON, deleteCustomerParamsToJSON, deleteCustomerResponseFromJSON, deleteEntityParamsToJSON, deleteEntityResponseFromJSON, deleteFeatureParamsToJSON, deleteFeatureResponseFromJSON, deletePlanParamsToJSON, deletePlanResponseFromJSON, discountFromJSON, entityFromJSON, eventsAggregateParamsToJSON, eventsListParamsToJSON, files_exports as files, finalizeBalanceParamsToJSON, finalizeLockResponseBody1FromJSON, finalizeLockResponseBody2FromJSON, finalizeLockResponseFromJSON, flag1FromJSON, flag2FromJSON, flagDisplay1FromJSON, flagDisplay2FromJSON, flagsFromJSON, formatZodError, freeTrialFromJSON, freeTrialRequestToJSON, getEntityBillingControlsFromJSON, getEntityCreditSchemaFromJSON, getEntityDisplayFromJSON, getEntityFeatureFromJSON, getEntityFlagsFromJSON, getEntityInvoiceFromJSON, getEntityOverageAllowedFromJSON, getEntityParamsToJSON, getEntityPurchaseFromJSON, getEntityResponseFromJSON, getEntitySpendLimitFromJSON, getEntitySubscriptionFromJSON, getEntityUsageAlertFromJSON, getFeatureCreditSchemaFromJSON, getFeatureDisplayFromJSON, getFeatureParamsToJSON, getFeatureResponseFromJSON, getOrCreateCustomerAutoTopupToJSON, getOrCreateCustomerBillingControlsToJSON, getOrCreateCustomerConfigToJSON, getOrCreateCustomerOverageAllowedToJSON, getOrCreateCustomerParamsToJSON, getOrCreateCustomerPurchaseLimitToJSON, getOrCreateCustomerSpendLimitToJSON, getOrCreateCustomerUsageAlertToJSON, getPlanConfigFromJSON, getPlanCreditSchemaFromJSON, getPlanCustomerEligibilityFromJSON, getPlanFeatureDisplayFromJSON, getPlanFeatureFromJSON, getPlanFreeTrialFromJSON, getPlanItemDisplayFromJSON, getPlanItemFromJSON, getPlanItemPriceFromJSON, getPlanParamsToJSON, getPlanPriceDisplayFromJSON, getPlanPriceFromJSON, getPlanResetFromJSON, getPlanResponseFromJSON, getPlanRolloverFromJSON, includedUsage1FromJSON, includedUsage2FromJSON, intervalFromJSON, invoiceFromJSON, itemFromJSON, listCustomersAutoTopupFromJSON, listCustomersBillingControlsFromJSON, listCustomersConfigFromJSON, listCustomersCreditSchemaFromJSON, listCustomersDisplayFromJSON, listCustomersFeatureFromJSON, listCustomersFlagsFromJSON, listCustomersListFromJSON, listCustomersOverageAllowedFromJSON, listCustomersParamsToJSON, listCustomersPlanToJSON, listCustomersPurchaseFromJSON, listCustomersPurchaseLimit1FromJSON, listCustomersPurchaseLimit2FromJSON, listCustomersPurchaseLimitUnionFromJSON, listCustomersResponseFromJSON, listCustomersSpendLimitFromJSON, listCustomersSubscriptionFromJSON, listCustomersUsageAlertFromJSON, listEventsCustomRangeToJSON, listEventsFeatureIdToJSON, listEventsListFromJSON, listEventsResponseFromJSON, listFeaturesCreditSchemaFromJSON, listFeaturesDisplayFromJSON, listFeaturesListFromJSON, listFeaturesRequestToJSON, listFeaturesResponseFromJSON, listPlansConfigFromJSON, listPlansCreditSchemaFromJSON, listPlansCustomerEligibilityFromJSON, listPlansFeatureDisplayFromJSON, listPlansFeatureFromJSON, listPlansFreeTrialFromJSON, listPlansItemDisplayFromJSON, listPlansItemFromJSON, listPlansItemPriceFromJSON, listPlansListFromJSON, listPlansParamsToJSON, listPlansPriceDisplayFromJSON, listPlansPriceFromJSON, listPlansResetFromJSON, listPlansResponseFromJSON, listPlansRolloverFromJSON, multiAttachAttachDiscountToJSON, multiAttachBasePriceToJSON, multiAttachBillingControlsToJSON, multiAttachCustomizeToJSON, multiAttachEntityDataToJSON, multiAttachFeatureQuantityToJSON, multiAttachFreeTrialParamsToJSON, multiAttachInvoiceFromJSON, multiAttachInvoiceModeToJSON, multiAttachOverageAllowedToJSON, multiAttachParamsToJSON, multiAttachPlanItemToJSON, multiAttachPlanToJSON, multiAttachPriceToJSON, multiAttachProrationToJSON, multiAttachRequiredActionFromJSON, multiAttachResetToJSON, multiAttachResponseFromJSON, multiAttachRolloverToJSON, multiAttachSpendLimitToJSON, multiAttachTierToJSON, multiAttachToToJSON, multiAttachUsageAlertToJSON, openCustomerPortalParamsToJSON, openCustomerPortalResponseFromJSON, planConfigFromJSON, planCreditSchemaFromJSON, planFeatureDisplayFromJSON, planFeatureFromJSON, planFromJSON, planItemDisplayFromJSON, planItemPriceFromJSON, planPriceDisplayFromJSON, planPriceFromJSON, planResetFromJSON, planRolloverFromJSON, preview1FromJSON, preview2FromJSON, previewAttachAttachDiscountToJSON, previewAttachBasePriceToJSON, previewAttachCarryOverBalancesToJSON, previewAttachCarryOverUsagesToJSON, previewAttachCustomLineItemToJSON, previewAttachCustomizeToJSON, previewAttachDiscountFromJSON, previewAttachFeatureQuantityRequestToJSON, previewAttachFreeTrialParamsToJSON, previewAttachIncomingFeatureQuantityFromJSON, previewAttachIncomingFromJSON, previewAttachInvoiceModeToJSON, previewAttachLineItemFromJSON, previewAttachLineItemPeriodFromJSON, previewAttachNextCycleDiscountFromJSON, previewAttachNextCycleFromJSON, previewAttachNextCycleLineItemFromJSON, previewAttachNextCycleLineItemPeriodFromJSON, previewAttachOutgoingFeatureQuantityFromJSON, previewAttachOutgoingFromJSON, previewAttachParamsToJSON, previewAttachPlanItemToJSON, previewAttachPriceToJSON, previewAttachProrationToJSON, previewAttachResetToJSON, previewAttachResponseFromJSON, previewAttachRolloverToJSON, previewAttachTaxFromJSON, previewAttachTierToJSON, previewAttachToToJSON, previewAttachUsageLineItemFromJSON, previewAttachUsageLineItemPeriodFromJSON, previewMultiAttachAttachDiscountToJSON, previewMultiAttachBasePriceToJSON, previewMultiAttachBillingControlsToJSON, previewMultiAttachCustomizeToJSON, previewMultiAttachDiscountFromJSON, previewMultiAttachEntityDataToJSON, previewMultiAttachFreeTrialParamsToJSON, previewMultiAttachIncomingFeatureQuantityFromJSON, previewMultiAttachIncomingFromJSON, previewMultiAttachInvoiceModeToJSON, previewMultiAttachLineItemFromJSON, previewMultiAttachLineItemPeriodFromJSON, previewMultiAttachNextCycleDiscountFromJSON, previewMultiAttachNextCycleFromJSON, previewMultiAttachNextCycleLineItemFromJSON, previewMultiAttachNextCycleLineItemPeriodFromJSON, previewMultiAttachOutgoingFeatureQuantityFromJSON, previewMultiAttachOutgoingFromJSON, previewMultiAttachOverageAllowedToJSON, previewMultiAttachParamsToJSON, previewMultiAttachPlanFeatureQuantityToJSON, previewMultiAttachPlanItemToJSON, previewMultiAttachPlanToJSON, previewMultiAttachPriceToJSON, previewMultiAttachProrationToJSON, previewMultiAttachResetToJSON, previewMultiAttachResponseFromJSON, previewMultiAttachRolloverToJSON, previewMultiAttachSpendLimitToJSON, previewMultiAttachTaxFromJSON, previewMultiAttachTierToJSON, previewMultiAttachToToJSON, previewMultiAttachUsageAlertToJSON, previewMultiAttachUsageLineItemFromJSON, previewMultiAttachUsageLineItemPeriodFromJSON, previewUpdateAttachDiscountToJSON, previewUpdateBasePriceToJSON, previewUpdateCustomizeToJSON, previewUpdateDiscountFromJSON, previewUpdateFeatureQuantityRequestToJSON, previewUpdateFreeTrialParamsToJSON, previewUpdateIncomingFeatureQuantityFromJSON, previewUpdateIncomingFromJSON, previewUpdateInvoiceModeToJSON, previewUpdateLineItemFromJSON, previewUpdateLineItemPeriodFromJSON, previewUpdateNextCycleDiscountFromJSON, previewUpdateNextCycleFromJSON, previewUpdateNextCycleLineItemFromJSON, previewUpdateNextCycleLineItemPeriodFromJSON, previewUpdateOutgoingFeatureQuantityFromJSON, previewUpdateOutgoingFromJSON, previewUpdateParamsToJSON, previewUpdatePlanItemToJSON, previewUpdatePriceToJSON, previewUpdateProrationToJSON, previewUpdateRecalculateBalancesToJSON, previewUpdateResetToJSON, previewUpdateResponseFromJSON, previewUpdateRolloverToJSON, previewUpdateTierToJSON, previewUpdateToToJSON, previewUpdateUsageLineItemFromJSON, previewUpdateUsageLineItemPeriodFromJSON, product1FromJSON, product2FromJSON, productDisplay1FromJSON, productDisplay2FromJSON, properties1FromJSON, properties2FromJSON, purchaseFromJSON, redeemReferralCodeParamsToJSON, redeemReferralCodeResponseFromJSON, referralCustomerFromJSON, referralFromJSON, rewardsFromJSON, securityToJSON, serverURLFromOptions, setupPaymentAttachDiscountToJSON, setupPaymentBasePriceToJSON, setupPaymentCarryOverBalancesToJSON, setupPaymentCarryOverUsagesToJSON, setupPaymentCustomLineItemToJSON, setupPaymentCustomizeToJSON, setupPaymentFeatureQuantityToJSON, setupPaymentFreeTrialParamsToJSON, setupPaymentParamsToJSON, setupPaymentPlanItemToJSON, setupPaymentPriceToJSON, setupPaymentProrationToJSON, setupPaymentResetToJSON, setupPaymentResponseFromJSON, setupPaymentRolloverToJSON, setupPaymentTierToJSON, setupPaymentToToJSON, subscriptionFromJSON, totalFromJSON, trackLockToJSON, trackParamsToJSON, trackResponseBody1FromJSON, trackResponseBody2FromJSON, trackResponseFromJSON, trialsUsedFromJSON, types_exports as types, updateBalanceParamsToJSON, updateBalanceResponseFromJSON, updateCustomerAutoTopupRequestToJSON, updateCustomerAutoTopupResponseFromJSON, updateCustomerBillingControlsRequestToJSON, updateCustomerBillingControlsResponseFromJSON, updateCustomerConfigRequestToJSON, updateCustomerConfigResponseFromJSON, updateCustomerCreditSchemaFromJSON, updateCustomerDisplayFromJSON, updateCustomerFeatureFromJSON, updateCustomerFlagsFromJSON, updateCustomerOverageAllowedRequestToJSON, updateCustomerOverageAllowedResponseFromJSON, updateCustomerParamsToJSON, updateCustomerPurchaseFromJSON, updateCustomerPurchaseLimitRequestToJSON, updateCustomerPurchaseLimitResponse1FromJSON, updateCustomerPurchaseLimitResponse2FromJSON, updateCustomerPurchaseLimitUnionFromJSON, updateCustomerResponseFromJSON, updateCustomerSpendLimitRequestToJSON, updateCustomerSpendLimitResponseFromJSON, updateCustomerSubscriptionFromJSON, updateCustomerUsageAlertRequestBodyToJSON, updateCustomerUsageAlertResponseFromJSON, updateEntityBillingControlsRequestToJSON, updateEntityBillingControlsResponseFromJSON, updateEntityCreditSchemaFromJSON, updateEntityDisplayFromJSON, updateEntityFeatureFromJSON, updateEntityFlagsFromJSON, updateEntityInvoiceFromJSON, updateEntityOverageAllowedRequestToJSON, updateEntityOverageAllowedResponseFromJSON, updateEntityParamsToJSON, updateEntityPurchaseFromJSON, updateEntityResponseFromJSON, updateEntitySpendLimitRequestToJSON, updateEntitySpendLimitResponseFromJSON, updateEntitySubscriptionFromJSON, updateEntityUsageAlertRequestBodyToJSON, updateEntityUsageAlertResponseFromJSON, updateFeatureCreditSchemaRequestToJSON, updateFeatureCreditSchemaResponseFromJSON, updateFeatureDisplayRequestToJSON, updateFeatureDisplayResponseFromJSON, updateFeatureParamsToJSON, updateFeatureResponseFromJSON, updatePlanBasePriceToJSON, updatePlanConfigRequestToJSON, updatePlanConfigResponseFromJSON, updatePlanCreditSchemaFromJSON, updatePlanCustomerEligibilityFromJSON, updatePlanFeatureDisplayFromJSON, updatePlanFeatureFromJSON, updatePlanFreeTrialFromJSON, updatePlanFreeTrialParamsToJSON, updatePlanItemDisplayFromJSON, updatePlanItemFromJSON, updatePlanItemPriceResponseFromJSON, updatePlanParamsToJSON, updatePlanPlanItemToJSON, updatePlanPriceDisplayFromJSON, updatePlanPriceRequestToJSON, updatePlanPriceResponseFromJSON, updatePlanProrationToJSON, updatePlanResetRequestToJSON, updatePlanResetResponseFromJSON, updatePlanResponseFromJSON, updatePlanRolloverRequestToJSON, updatePlanRolloverResponseFromJSON, updatePlanTierToJSON, updatePlanToToJSON, updateSubscriptionParamsToJSON };