autumn-js 1.2.26 → 1.2.28

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 (174) hide show
  1. package/dist/backend/adapters/express.d.mts +1 -1
  2. package/dist/backend/adapters/express.d.ts +1 -1
  3. package/dist/backend/adapters/express.js +4295 -3538
  4. package/dist/backend/adapters/express.mjs +9 -9
  5. package/dist/backend/adapters/fetch.d.mts +1 -1
  6. package/dist/backend/adapters/fetch.d.ts +1 -1
  7. package/dist/backend/adapters/fetch.js +4295 -3538
  8. package/dist/backend/adapters/fetch.mjs +9 -9
  9. package/dist/backend/adapters/hono.d.mts +1 -1
  10. package/dist/backend/adapters/hono.d.ts +1 -1
  11. package/dist/backend/adapters/hono.js +4295 -3538
  12. package/dist/backend/adapters/hono.mjs +9 -9
  13. package/dist/backend/adapters/index.d.mts +1 -1
  14. package/dist/backend/adapters/index.d.ts +1 -1
  15. package/dist/backend/adapters/index.js +4295 -3538
  16. package/dist/backend/adapters/index.mjs +12 -12
  17. package/dist/backend/adapters/next.d.mts +1 -1
  18. package/dist/backend/adapters/next.d.ts +1 -1
  19. package/dist/backend/adapters/next.js +4295 -3538
  20. package/dist/backend/adapters/next.mjs +9 -9
  21. package/dist/backend/{authTypes-B7b2mex1.d.mts → authTypes-CxFcWXh3.d.mts} +1 -1
  22. package/dist/backend/{authTypes-B7b2mex1.d.ts → authTypes-CxFcWXh3.d.ts} +1 -1
  23. package/dist/backend/{chunk-LJZUMUU3.mjs → chunk-66OVIMBS.mjs} +5 -5
  24. package/dist/backend/{chunk-UCGI7CYU.mjs → chunk-GTZJYVV6.mjs} +4248 -3521
  25. package/dist/backend/chunk-I7CD6EB6.mjs +28 -0
  26. package/dist/backend/{chunk-55C2WWXQ.mjs → chunk-IXUCY7AU.mjs} +7 -6
  27. package/dist/backend/{chunk-D4BQG3DH.mjs → chunk-JNHJR2RN.mjs} +1 -1
  28. package/dist/backend/{chunk-KJTWQSMK.mjs → chunk-N5DL6VA7.mjs} +1 -1
  29. package/dist/backend/{chunk-MPNJ2AXO.mjs → chunk-PG3VMMBU.mjs} +1 -1
  30. package/dist/backend/{chunk-ZVZEA5YL.mjs → chunk-RBV55GF7.mjs} +7 -7
  31. package/dist/backend/{chunk-MAU6WWTL.mjs → chunk-W6NPZLA5.mjs} +40 -14
  32. package/dist/backend/{chunk-TJ7TRWN4.mjs → chunk-WK4VK7MP.mjs} +1 -1
  33. package/dist/backend/core/handlers/coreHandler.d.mts +3 -2
  34. package/dist/backend/core/handlers/coreHandler.d.ts +3 -2
  35. package/dist/backend/core/handlers/coreHandler.js +4295 -3538
  36. package/dist/backend/core/handlers/coreHandler.mjs +7 -7
  37. package/dist/backend/core/handlers/executeRoute.d.mts +3 -2
  38. package/dist/backend/core/handlers/executeRoute.d.ts +3 -2
  39. package/dist/backend/core/handlers/executeRoute.js +12 -7
  40. package/dist/backend/core/handlers/executeRoute.mjs +4 -4
  41. package/dist/backend/core/handlers/handleRouteByName.d.mts +1 -1
  42. package/dist/backend/core/handlers/handleRouteByName.d.ts +1 -1
  43. package/dist/backend/core/handlers/handleRouteByName.js +4295 -3538
  44. package/dist/backend/core/handlers/handleRouteByName.mjs +7 -7
  45. package/dist/backend/core/handlers/index.d.mts +3 -2
  46. package/dist/backend/core/handlers/index.d.ts +3 -2
  47. package/dist/backend/core/handlers/index.js +4295 -3538
  48. package/dist/backend/core/handlers/index.mjs +10 -10
  49. package/dist/backend/core/handlers/resolveIdentity.d.mts +1 -1
  50. package/dist/backend/core/handlers/resolveIdentity.d.ts +1 -1
  51. package/dist/backend/core/index.d.mts +2 -2
  52. package/dist/backend/core/index.d.ts +2 -2
  53. package/dist/backend/core/index.js +4295 -3538
  54. package/dist/backend/core/index.mjs +10 -10
  55. package/dist/backend/core/routes/index.d.mts +3 -2
  56. package/dist/backend/core/routes/index.d.ts +3 -2
  57. package/dist/backend/core/routes/index.js +46 -17
  58. package/dist/backend/core/routes/index.mjs +2 -2
  59. package/dist/backend/core/routes/routeBuilder.d.mts +3 -2
  60. package/dist/backend/core/routes/routeBuilder.d.ts +3 -2
  61. package/dist/backend/core/routes/routeConfigs.d.mts +3 -2
  62. package/dist/backend/core/routes/routeConfigs.d.ts +3 -2
  63. package/dist/backend/core/routes/routeConfigs.js +46 -17
  64. package/dist/backend/core/routes/routeConfigs.mjs +2 -2
  65. package/dist/backend/core/types/authTypes.d.mts +1 -1
  66. package/dist/backend/core/types/authTypes.d.ts +1 -1
  67. package/dist/backend/core/types/handlerTypes.d.mts +3 -2
  68. package/dist/backend/core/types/handlerTypes.d.ts +3 -2
  69. package/dist/backend/core/types/index.d.mts +3 -2
  70. package/dist/backend/core/types/index.d.ts +3 -2
  71. package/dist/backend/core/types/routeTypes.d.mts +3 -2
  72. package/dist/backend/core/types/routeTypes.d.ts +3 -2
  73. package/dist/backend/core/utils/index.d.mts +1 -1
  74. package/dist/backend/core/utils/index.d.ts +1 -1
  75. package/dist/backend/core/utils/index.js +12 -4
  76. package/dist/backend/core/utils/index.mjs +7 -3
  77. package/dist/backend/core/utils/sanitizeBody.d.mts +6 -2
  78. package/dist/backend/core/utils/sanitizeBody.d.ts +6 -2
  79. package/dist/backend/core/utils/sanitizeBody.js +12 -4
  80. package/dist/backend/core/utils/sanitizeBody.mjs +5 -1
  81. package/dist/backend/index.d.mts +4 -4
  82. package/dist/backend/index.d.ts +4 -4
  83. package/dist/backend/index.js +4295 -3538
  84. package/dist/backend/index.mjs +10 -10
  85. package/dist/backend/{routeTypes-BcR8yEXe.d.mts → routeTypes-924R85Bn.d.mts} +557 -15
  86. package/dist/backend/{routeTypes-CXj2d3BE.d.ts → routeTypes-Db2ZFQC4.d.ts} +557 -15
  87. package/dist/better-auth/{chunk-EFVPBRMR.mjs → chunk-4ZDXHHF4.mjs} +4253 -3525
  88. package/dist/better-auth/{chunk-RHJSAAZY.mjs → chunk-NKH2QR2X.mjs} +46 -17
  89. package/dist/better-auth/{chunk-3TLQJLI4.mjs → chunk-ONM42KFR.mjs} +1 -1
  90. package/dist/better-auth/index.js +4293 -3536
  91. package/dist/better-auth/index.mjs +3 -3
  92. package/dist/better-auth/utils/createAutumnEndpoint.js +46 -17
  93. package/dist/better-auth/utils/createAutumnEndpoint.mjs +2 -2
  94. package/dist/better-auth/utils/handleBetterAuthRoute.js +4295 -3538
  95. package/dist/better-auth/utils/handleBetterAuthRoute.mjs +2 -2
  96. package/dist/better-auth/utils/index.js +4293 -3536
  97. package/dist/better-auth/utils/index.mjs +3 -3
  98. package/dist/react/AutumnContext.d.mts +3 -3
  99. package/dist/react/AutumnContext.d.ts +3 -3
  100. package/dist/react/AutumnProvider.js +15 -15
  101. package/dist/react/AutumnProvider.mjs +2 -2
  102. package/dist/react/{chunk-7IDH4OMG.mjs → chunk-26CKSAPZ.mjs} +1 -1
  103. package/dist/react/{chunk-NSFHAUTD.mjs → chunk-CHU7CIWP.mjs} +1 -1
  104. package/dist/react/{chunk-YQFYWH7J.mjs → chunk-G7FTQLT7.mjs} +1 -1
  105. package/dist/react/{chunk-BDG6JHEW.mjs → chunk-HSQUB3BZ.mjs} +1 -1
  106. package/dist/react/{chunk-DEZBJQEG.mjs → chunk-KB72KQKN.mjs} +1 -1
  107. package/dist/react/{chunk-FWWIAOPU.mjs → chunk-OXQG65ZT.mjs} +1 -1
  108. package/dist/react/{chunk-HRPQYDEN.mjs → chunk-P23DM4IS.mjs} +1 -1
  109. package/dist/react/{chunk-E5ZHOMZ4.mjs → chunk-XJZH5NMZ.mjs} +23 -23
  110. package/dist/react/{chunk-HVBDZARN.mjs → chunk-ZGPE4R6H.mjs} +2 -2
  111. package/dist/react/client/AutumnClient.d.mts +3 -3
  112. package/dist/react/client/AutumnClient.d.ts +3 -3
  113. package/dist/react/client/IAutumnClient.d.mts +3 -3
  114. package/dist/react/client/IAutumnClient.d.ts +3 -3
  115. package/dist/react/client/index.d.mts +3 -3
  116. package/dist/react/client/index.d.ts +3 -3
  117. package/dist/react/{customer-zogPdrbc.d.ts → customer-DPMyc3yN.d.mts} +31 -1
  118. package/dist/react/{customer-BTYGVzNm.d.mts → customer-Dr6WZsA2.d.ts} +31 -1
  119. package/dist/react/hooks/index.d.mts +3 -3
  120. package/dist/react/hooks/index.d.ts +3 -3
  121. package/dist/react/hooks/index.js +16 -16
  122. package/dist/react/hooks/index.mjs +8 -8
  123. package/dist/react/hooks/internal/check/balanceToAllowed.d.mts +2 -2
  124. package/dist/react/hooks/internal/check/balanceToAllowed.d.ts +2 -2
  125. package/dist/react/hooks/internal/check/customerToFeatures.d.mts +2 -2
  126. package/dist/react/hooks/internal/check/customerToFeatures.d.ts +2 -2
  127. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.mts +2 -2
  128. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.ts +2 -2
  129. package/dist/react/hooks/internal/check/getCreditCost.d.mts +2 -2
  130. package/dist/react/hooks/internal/check/getCreditCost.d.ts +2 -2
  131. package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +3 -3
  132. package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +3 -3
  133. package/dist/react/hooks/internal/useCustomerActions.d.mts +3 -3
  134. package/dist/react/hooks/internal/useCustomerActions.d.ts +3 -3
  135. package/dist/react/hooks/internal/useCustomerActions.js +1 -1
  136. package/dist/react/hooks/internal/useCustomerActions.mjs +2 -2
  137. package/dist/react/hooks/useAggregateEvents.d.mts +2 -2
  138. package/dist/react/hooks/useAggregateEvents.d.ts +2 -2
  139. package/dist/react/hooks/useAggregateEvents.js +16 -16
  140. package/dist/react/hooks/useAggregateEvents.mjs +2 -2
  141. package/dist/react/hooks/useCustomer.d.mts +3 -3
  142. package/dist/react/hooks/useCustomer.d.ts +3 -3
  143. package/dist/react/hooks/useCustomer.js +16 -16
  144. package/dist/react/hooks/useCustomer.mjs +3 -3
  145. package/dist/react/hooks/useEntity.d.mts +2 -2
  146. package/dist/react/hooks/useEntity.d.ts +2 -2
  147. package/dist/react/hooks/useEntity.js +16 -16
  148. package/dist/react/hooks/useEntity.mjs +2 -2
  149. package/dist/react/hooks/useListEvents.d.mts +2 -2
  150. package/dist/react/hooks/useListEvents.d.ts +2 -2
  151. package/dist/react/hooks/useListEvents.js +16 -16
  152. package/dist/react/hooks/useListEvents.mjs +2 -2
  153. package/dist/react/hooks/useListPlans.d.mts +2 -2
  154. package/dist/react/hooks/useListPlans.d.ts +2 -2
  155. package/dist/react/hooks/useListPlans.js +16 -16
  156. package/dist/react/hooks/useListPlans.mjs +2 -2
  157. package/dist/react/hooks/useReferrals.d.mts +2 -2
  158. package/dist/react/hooks/useReferrals.d.ts +2 -2
  159. package/dist/react/hooks/useReferrals.js +16 -16
  160. package/dist/react/hooks/useReferrals.mjs +2 -2
  161. package/dist/react/index.d.mts +3 -3
  162. package/dist/react/index.d.ts +3 -3
  163. package/dist/react/index.js +22 -22
  164. package/dist/react/index.mjs +9 -9
  165. package/dist/react/{params-DWJn7Y2f.d.ts → params-CeTb8jcT.d.mts} +89 -11
  166. package/dist/react/{params-DpI-uEQy.d.mts → params-Dl_h1rsu.d.ts} +89 -11
  167. package/dist/react/{plan-DYHM9lBi.d.mts → plan-CRa-NBw0.d.mts} +1 -1
  168. package/dist/react/{plan-DYHM9lBi.d.ts → plan-CRa-NBw0.d.ts} +1 -1
  169. package/dist/sdk/index.d.mts +1075 -378
  170. package/dist/sdk/index.d.ts +1075 -378
  171. package/dist/sdk/index.js +4662 -3804
  172. package/dist/sdk/index.mjs +4584 -3800
  173. package/package.json +142 -142
  174. package/dist/backend/chunk-Z6QP3YEA.mjs +0 -22
@@ -175,7 +175,7 @@ type OpenEnum<T extends Readonly<Record<string, string | number>>> = T[keyof T]
175
175
  * and break out of regular control flow of programs making them harder to
176
176
  * inspect and more verbose work with due to try-catch blocks.
177
177
  */
178
- type Result<T, E = unknown> = {
178
+ type Result$1<T, E = unknown> = {
179
179
  ok: true;
180
180
  value: T;
181
181
  error?: never;
@@ -368,13 +368,13 @@ declare const EventsAggregateParams$outboundSchema: z$1.ZodMiniType<EventsAggreg
368
368
  declare function eventsAggregateParamsToJSON(eventsAggregateParams: EventsAggregateParams): string;
369
369
  /** @internal */
370
370
  declare const AggregateEventsList$inboundSchema: z$1.ZodMiniType<AggregateEventsList, unknown>;
371
- declare function aggregateEventsListFromJSON(jsonString: string): Result<AggregateEventsList, SDKValidationError>;
371
+ declare function aggregateEventsListFromJSON(jsonString: string): Result$1<AggregateEventsList, SDKValidationError>;
372
372
  /** @internal */
373
373
  declare const Total$inboundSchema: z$1.ZodMiniType<Total, unknown>;
374
- declare function totalFromJSON(jsonString: string): Result<Total, SDKValidationError>;
374
+ declare function totalFromJSON(jsonString: string): Result$1<Total, SDKValidationError>;
375
375
  /** @internal */
376
376
  declare const AggregateEventsResponse$inboundSchema: z$1.ZodMiniType<AggregateEventsResponse, unknown>;
377
- declare function aggregateEventsResponseFromJSON(jsonString: string): Result<AggregateEventsResponse, SDKValidationError>;
377
+ declare function aggregateEventsResponseFromJSON(jsonString: string): Result$1<AggregateEventsResponse, SDKValidationError>;
378
378
 
379
379
  type AttachGlobals = {
380
380
  xApiVersion?: string | undefined;
@@ -938,7 +938,7 @@ type AttachCustomize = {
938
938
  */
939
939
  price?: AttachBasePrice | null | undefined;
940
940
  /**
941
- * Override the items in the plan (PUT-style — replaces all existing items). Mutually exclusive with add_items / remove_items.
941
+ * Override the items in the plan (PUT-style — replaces all existing items). Mutually exclusive with add_items / remove_items / update_items.
942
942
  */
943
943
  items?: Array<AttachItemPlanItem> | undefined;
944
944
  /**
@@ -970,6 +970,14 @@ type AttachInvoiceMode = {
970
970
  * If true, finalizes the invoice so it can be sent to the customer. If false, keeps it as a draft for manual review.
971
971
  */
972
972
  finalize?: boolean | undefined;
973
+ /**
974
+ * ID of an invoice template (configured in billing settings) whose footer (e.g. bank details) is applied to the invoice.
975
+ */
976
+ invoiceTemplateId?: string | undefined;
977
+ /**
978
+ * Number of days the customer has to pay the invoice before it is due (Stripe days_until_due).
979
+ */
980
+ netTermsDays?: number | undefined;
973
981
  };
974
982
  /**
975
983
  * How to handle proration when updating an existing subscription. 'prorate_immediately' charges/credits prorated amounts now, 'none' skips creating any charges.
@@ -1464,6 +1472,8 @@ type AttachInvoiceMode$Outbound = {
1464
1472
  enabled: boolean;
1465
1473
  enable_plan_immediately: boolean;
1466
1474
  finalize: boolean;
1475
+ invoice_template_id?: string | undefined;
1476
+ net_terms_days?: number | undefined;
1467
1477
  };
1468
1478
  /** @internal */
1469
1479
  declare const AttachInvoiceMode$outboundSchema: z$1.ZodMiniType<AttachInvoiceMode$Outbound, AttachInvoiceMode>;
@@ -1544,15 +1554,15 @@ declare const AttachParams$outboundSchema: z$1.ZodMiniType<AttachParams$Outbound
1544
1554
  declare function attachParamsToJSON(attachParams: AttachParams): string;
1545
1555
  /** @internal */
1546
1556
  declare const AttachInvoice$inboundSchema: z$1.ZodMiniType<AttachInvoice, unknown>;
1547
- declare function attachInvoiceFromJSON(jsonString: string): Result<AttachInvoice, SDKValidationError>;
1557
+ declare function attachInvoiceFromJSON(jsonString: string): Result$1<AttachInvoice, SDKValidationError>;
1548
1558
  /** @internal */
1549
1559
  declare const AttachCode$inboundSchema: z$1.ZodMiniType<AttachCode, unknown>;
1550
1560
  /** @internal */
1551
1561
  declare const AttachRequiredAction$inboundSchema: z$1.ZodMiniType<AttachRequiredAction, unknown>;
1552
- declare function attachRequiredActionFromJSON(jsonString: string): Result<AttachRequiredAction, SDKValidationError>;
1562
+ declare function attachRequiredActionFromJSON(jsonString: string): Result$1<AttachRequiredAction, SDKValidationError>;
1553
1563
  /** @internal */
1554
1564
  declare const AttachResponse$inboundSchema: z$1.ZodMiniType<AttachResponse, unknown>;
1555
- declare function attachResponseFromJSON(jsonString: string): Result<AttachResponse, SDKValidationError>;
1565
+ declare function attachResponseFromJSON(jsonString: string): Result$1<AttachResponse, SDKValidationError>;
1556
1566
 
1557
1567
  /** The base class for all HTTP error responses */
1558
1568
  declare class AutumnError extends Error {
@@ -1834,37 +1844,122 @@ type Balance = {
1834
1844
  declare const BalanceType$inboundSchema: z$1.ZodMiniType<BalanceType, unknown>;
1835
1845
  /** @internal */
1836
1846
  declare const BalanceCreditSchema$inboundSchema: z$1.ZodMiniType<BalanceCreditSchema, unknown>;
1837
- declare function balanceCreditSchemaFromJSON(jsonString: string): Result<BalanceCreditSchema, SDKValidationError>;
1847
+ declare function balanceCreditSchemaFromJSON(jsonString: string): Result$1<BalanceCreditSchema, SDKValidationError>;
1838
1848
  /** @internal */
1839
1849
  declare const BalanceDisplay$inboundSchema: z$1.ZodMiniType<BalanceDisplay, unknown>;
1840
- declare function balanceDisplayFromJSON(jsonString: string): Result<BalanceDisplay, SDKValidationError>;
1850
+ declare function balanceDisplayFromJSON(jsonString: string): Result$1<BalanceDisplay, SDKValidationError>;
1841
1851
  /** @internal */
1842
1852
  declare const BalanceFeature$inboundSchema: z$1.ZodMiniType<BalanceFeature, unknown>;
1843
- declare function balanceFeatureFromJSON(jsonString: string): Result<BalanceFeature, SDKValidationError>;
1853
+ declare function balanceFeatureFromJSON(jsonString: string): Result$1<BalanceFeature, SDKValidationError>;
1844
1854
  /** @internal */
1845
1855
  declare const BalanceIntervalEnum$inboundSchema: z$1.ZodMiniType<BalanceIntervalEnum, unknown>;
1846
1856
  /** @internal */
1847
1857
  declare const BalanceIntervalUnion$inboundSchema: z$1.ZodMiniType<BalanceIntervalUnion, unknown>;
1848
- declare function balanceIntervalUnionFromJSON(jsonString: string): Result<BalanceIntervalUnion, SDKValidationError>;
1858
+ declare function balanceIntervalUnionFromJSON(jsonString: string): Result$1<BalanceIntervalUnion, SDKValidationError>;
1849
1859
  /** @internal */
1850
1860
  declare const BalanceReset$inboundSchema: z$1.ZodMiniType<BalanceReset, unknown>;
1851
- declare function balanceResetFromJSON(jsonString: string): Result<BalanceReset, SDKValidationError>;
1861
+ declare function balanceResetFromJSON(jsonString: string): Result$1<BalanceReset, SDKValidationError>;
1852
1862
  /** @internal */
1853
1863
  declare const BalanceTierBehavior$inboundSchema: z$1.ZodMiniType<BalanceTierBehavior, unknown>;
1854
1864
  /** @internal */
1855
1865
  declare const BalanceBillingMethod$inboundSchema: z$1.ZodMiniType<BalanceBillingMethod, unknown>;
1856
1866
  /** @internal */
1857
1867
  declare const BalancePrice$inboundSchema: z$1.ZodMiniType<BalancePrice, unknown>;
1858
- declare function balancePriceFromJSON(jsonString: string): Result<BalancePrice, SDKValidationError>;
1868
+ declare function balancePriceFromJSON(jsonString: string): Result$1<BalancePrice, SDKValidationError>;
1859
1869
  /** @internal */
1860
1870
  declare const Breakdown$inboundSchema: z$1.ZodMiniType<Breakdown, unknown>;
1861
- declare function breakdownFromJSON(jsonString: string): Result<Breakdown, SDKValidationError>;
1871
+ declare function breakdownFromJSON(jsonString: string): Result$1<Breakdown, SDKValidationError>;
1862
1872
  /** @internal */
1863
1873
  declare const BalanceRollover$inboundSchema: z$1.ZodMiniType<BalanceRollover, unknown>;
1864
- declare function balanceRolloverFromJSON(jsonString: string): Result<BalanceRollover, SDKValidationError>;
1874
+ declare function balanceRolloverFromJSON(jsonString: string): Result$1<BalanceRollover, SDKValidationError>;
1865
1875
  /** @internal */
1866
1876
  declare const Balance$inboundSchema: z$1.ZodMiniType<Balance, unknown>;
1867
- declare function balanceFromJSON(jsonString: string): Result<Balance, SDKValidationError>;
1877
+ declare function balanceFromJSON(jsonString: string): Result$1<Balance, SDKValidationError>;
1878
+
1879
+ type BatchTrackGlobals = {
1880
+ xApiVersion?: string | undefined;
1881
+ };
1882
+ type BatchTrackLock = {
1883
+ /**
1884
+ * A unique identifier for this lock. Used to finalize the lock later via balances.finalize.
1885
+ */
1886
+ lockId: string;
1887
+ /**
1888
+ * Must be true to enable locking.
1889
+ */
1890
+ enabled: true;
1891
+ /**
1892
+ * Unix timestamp (ms) when the lock automatically expires and releases the held balance.
1893
+ */
1894
+ expiresAt?: number | undefined;
1895
+ };
1896
+ type RequestBody = {
1897
+ /**
1898
+ * The ID of the customer.
1899
+ */
1900
+ customerId: string;
1901
+ /**
1902
+ * The ID of the feature to track usage for. Required if event_name is not provided.
1903
+ */
1904
+ featureId?: string | undefined;
1905
+ /**
1906
+ * The ID of the entity for entity-scoped balances (e.g., per-seat limits).
1907
+ */
1908
+ entityId?: string | undefined;
1909
+ /**
1910
+ * Event name to track usage for. Use instead of feature_id when multiple features should be tracked from a single event.
1911
+ */
1912
+ eventName?: string | undefined;
1913
+ /**
1914
+ * The amount of usage to record. Defaults to 1. Use negative values to credit balance (e.g., when removing a seat).
1915
+ */
1916
+ value?: number | undefined;
1917
+ /**
1918
+ * Additional properties to attach to this usage event.
1919
+ */
1920
+ properties?: {
1921
+ [k: string]: any;
1922
+ } | undefined;
1923
+ /**
1924
+ * If true, enqueue the event for asynchronous processing and return 202 immediately. The response will not include balance information.
1925
+ */
1926
+ async?: boolean | undefined;
1927
+ lock?: BatchTrackLock | undefined;
1928
+ };
1929
+ /**
1930
+ * Batch accepted. All items passed synchronous validation. Enqueue is best-effort: partial failures (some items enqueued, some not) are logged server-side and are NOT surfaced in the response body; clients must not retry on 202. See the endpoint description for full partial-failure semantics.
1931
+ */
1932
+ type BatchTrackResponse = {
1933
+ success: true;
1934
+ };
1935
+ /** @internal */
1936
+ type BatchTrackLock$Outbound = {
1937
+ lock_id: string;
1938
+ enabled: true;
1939
+ expires_at?: number | undefined;
1940
+ };
1941
+ /** @internal */
1942
+ declare const BatchTrackLock$outboundSchema: z$1.ZodMiniType<BatchTrackLock$Outbound, BatchTrackLock>;
1943
+ declare function batchTrackLockToJSON(batchTrackLock: BatchTrackLock): string;
1944
+ /** @internal */
1945
+ type RequestBody$Outbound = {
1946
+ customer_id: string;
1947
+ feature_id?: string | undefined;
1948
+ entity_id?: string | undefined;
1949
+ event_name?: string | undefined;
1950
+ value?: number | undefined;
1951
+ properties?: {
1952
+ [k: string]: any;
1953
+ } | undefined;
1954
+ async?: boolean | undefined;
1955
+ lock?: BatchTrackLock$Outbound | undefined;
1956
+ };
1957
+ /** @internal */
1958
+ declare const RequestBody$outboundSchema: z$1.ZodMiniType<RequestBody$Outbound, RequestBody>;
1959
+ declare function requestBodyToJSON(requestBody: RequestBody): string;
1960
+ /** @internal */
1961
+ declare const BatchTrackResponse$inboundSchema: z$1.ZodMiniType<BatchTrackResponse, unknown>;
1962
+ declare function batchTrackResponseFromJSON(jsonString: string): Result$1<BatchTrackResponse, SDKValidationError>;
1868
1963
 
1869
1964
  type BillingUpdateGlobals = {
1870
1965
  xApiVersion?: string | undefined;
@@ -2428,7 +2523,7 @@ type BillingUpdateCustomize = {
2428
2523
  */
2429
2524
  price?: BillingUpdateBasePrice | null | undefined;
2430
2525
  /**
2431
- * Override the items in the plan (PUT-style — replaces all existing items). Mutually exclusive with add_items / remove_items.
2526
+ * Override the items in the plan (PUT-style — replaces all existing items). Mutually exclusive with add_items / remove_items / update_items.
2432
2527
  */
2433
2528
  items?: Array<BillingUpdateItemPlanItem> | undefined;
2434
2529
  /**
@@ -2460,6 +2555,14 @@ type BillingUpdateInvoiceMode = {
2460
2555
  * If true, finalizes the invoice so it can be sent to the customer. If false, keeps it as a draft for manual review.
2461
2556
  */
2462
2557
  finalize?: boolean | undefined;
2558
+ /**
2559
+ * ID of an invoice template (configured in billing settings) whose footer (e.g. bank details) is applied to the invoice.
2560
+ */
2561
+ invoiceTemplateId?: string | undefined;
2562
+ /**
2563
+ * Number of days the customer has to pay the invoice before it is due (Stripe days_until_due).
2564
+ */
2565
+ netTermsDays?: number | undefined;
2463
2566
  };
2464
2567
  /**
2465
2568
  * How to handle proration when updating an existing subscription. 'prorate_immediately' charges/credits prorated amounts now, 'none' skips creating any charges.
@@ -2880,6 +2983,8 @@ type BillingUpdateInvoiceMode$Outbound = {
2880
2983
  enabled: boolean;
2881
2984
  enable_plan_immediately: boolean;
2882
2985
  finalize: boolean;
2986
+ invoice_template_id?: string | undefined;
2987
+ net_terms_days?: number | undefined;
2883
2988
  };
2884
2989
  /** @internal */
2885
2990
  declare const BillingUpdateInvoiceMode$outboundSchema: z$1.ZodMiniType<BillingUpdateInvoiceMode$Outbound, BillingUpdateInvoiceMode>;
@@ -2928,15 +3033,15 @@ declare const UpdateSubscriptionParams$outboundSchema: z$1.ZodMiniType<UpdateSub
2928
3033
  declare function updateSubscriptionParamsToJSON(updateSubscriptionParams: UpdateSubscriptionParams): string;
2929
3034
  /** @internal */
2930
3035
  declare const BillingUpdateInvoice$inboundSchema: z$1.ZodMiniType<BillingUpdateInvoice, unknown>;
2931
- declare function billingUpdateInvoiceFromJSON(jsonString: string): Result<BillingUpdateInvoice, SDKValidationError>;
3036
+ declare function billingUpdateInvoiceFromJSON(jsonString: string): Result$1<BillingUpdateInvoice, SDKValidationError>;
2932
3037
  /** @internal */
2933
3038
  declare const BillingUpdateCode$inboundSchema: z$1.ZodMiniType<BillingUpdateCode, unknown>;
2934
3039
  /** @internal */
2935
3040
  declare const BillingUpdateRequiredAction$inboundSchema: z$1.ZodMiniType<BillingUpdateRequiredAction, unknown>;
2936
- declare function billingUpdateRequiredActionFromJSON(jsonString: string): Result<BillingUpdateRequiredAction, SDKValidationError>;
3041
+ declare function billingUpdateRequiredActionFromJSON(jsonString: string): Result$1<BillingUpdateRequiredAction, SDKValidationError>;
2937
3042
  /** @internal */
2938
3043
  declare const BillingUpdateResponse$inboundSchema: z$1.ZodMiniType<BillingUpdateResponse, unknown>;
2939
- declare function billingUpdateResponseFromJSON(jsonString: string): Result<BillingUpdateResponse, SDKValidationError>;
3044
+ declare function billingUpdateResponseFromJSON(jsonString: string): Result$1<BillingUpdateResponse, SDKValidationError>;
2940
3045
 
2941
3046
  type CheckGlobals = {
2942
3047
  xApiVersion?: string | undefined;
@@ -3337,7 +3442,7 @@ type Properties2 = {
3337
3442
  */
3338
3443
  updateable?: boolean | null | undefined;
3339
3444
  };
3340
- type Product2 = {
3445
+ type CheckProduct2 = {
3341
3446
  /**
3342
3447
  * The ID of the product you set when creating the product
3343
3448
  */
@@ -3419,7 +3524,7 @@ type Preview2 = {
3419
3524
  /**
3420
3525
  * Products that would grant access to this feature. Use to display upgrade options.
3421
3526
  */
3422
- products: Array<Product2>;
3527
+ products: Array<CheckProduct2>;
3423
3528
  };
3424
3529
  /**
3425
3530
  * Accepted. Autumn is experiencing degraded service from a downstream provider, so access was allowed fail-open.
@@ -3803,7 +3908,7 @@ type Properties1 = {
3803
3908
  */
3804
3909
  updateable?: boolean | null | undefined;
3805
3910
  };
3806
- type Product1 = {
3911
+ type CheckProduct1 = {
3807
3912
  /**
3808
3913
  * The ID of the product you set when creating the product
3809
3914
  */
@@ -3885,7 +3990,7 @@ type Preview1 = {
3885
3990
  /**
3886
3991
  * Products that would grant access to this feature. Use to display upgrade options.
3887
3992
  */
3888
- products: Array<Product1>;
3993
+ products: Array<CheckProduct1>;
3889
3994
  };
3890
3995
  /**
3891
3996
  * OK
@@ -3956,16 +4061,16 @@ declare function checkParamsToJSON(checkParams: CheckParams): string;
3956
4061
  declare const FlagType2$inboundSchema: z$1.ZodMiniType<FlagType2, unknown>;
3957
4062
  /** @internal */
3958
4063
  declare const CheckCreditSchema2$inboundSchema: z$1.ZodMiniType<CheckCreditSchema2, unknown>;
3959
- declare function checkCreditSchema2FromJSON(jsonString: string): Result<CheckCreditSchema2, SDKValidationError>;
4064
+ declare function checkCreditSchema2FromJSON(jsonString: string): Result$1<CheckCreditSchema2, SDKValidationError>;
3960
4065
  /** @internal */
3961
4066
  declare const FlagDisplay2$inboundSchema: z$1.ZodMiniType<FlagDisplay2, unknown>;
3962
- declare function flagDisplay2FromJSON(jsonString: string): Result<FlagDisplay2, SDKValidationError>;
4067
+ declare function flagDisplay2FromJSON(jsonString: string): Result$1<FlagDisplay2, SDKValidationError>;
3963
4068
  /** @internal */
3964
4069
  declare const CheckFeature2$inboundSchema: z$1.ZodMiniType<CheckFeature2, unknown>;
3965
- declare function checkFeature2FromJSON(jsonString: string): Result<CheckFeature2, SDKValidationError>;
4070
+ declare function checkFeature2FromJSON(jsonString: string): Result$1<CheckFeature2, SDKValidationError>;
3966
4071
  /** @internal */
3967
4072
  declare const Flag2$inboundSchema: z$1.ZodMiniType<Flag2, unknown>;
3968
- declare function flag2FromJSON(jsonString: string): Result<Flag2, SDKValidationError>;
4073
+ declare function flag2FromJSON(jsonString: string): Result$1<Flag2, SDKValidationError>;
3969
4074
  /** @internal */
3970
4075
  declare const Scenario2$inboundSchema: z$1.ZodMiniType<Scenario2, unknown>;
3971
4076
  /** @internal */
@@ -3976,7 +4081,7 @@ declare const ProductType2$inboundSchema: z$1.ZodMiniType<ProductType2, unknown>
3976
4081
  declare const FeatureType2$inboundSchema: z$1.ZodMiniType<FeatureType2, unknown>;
3977
4082
  /** @internal */
3978
4083
  declare const IncludedUsage2$inboundSchema: z$1.ZodMiniType<IncludedUsage2, unknown>;
3979
- declare function includedUsage2FromJSON(jsonString: string): Result<IncludedUsage2, SDKValidationError>;
4084
+ declare function includedUsage2FromJSON(jsonString: string): Result$1<IncludedUsage2, SDKValidationError>;
3980
4085
  /** @internal */
3981
4086
  declare const CheckInterval2$inboundSchema: z$1.ZodMiniType<CheckInterval2, unknown>;
3982
4087
  /** @internal */
@@ -3985,57 +4090,57 @@ declare const CheckTierBehavior2$inboundSchema: z$1.ZodMiniType<CheckTierBehavio
3985
4090
  declare const UsageModel2$inboundSchema: z$1.ZodMiniType<UsageModel2, unknown>;
3986
4091
  /** @internal */
3987
4092
  declare const ProductDisplay2$inboundSchema: z$1.ZodMiniType<ProductDisplay2, unknown>;
3988
- declare function productDisplay2FromJSON(jsonString: string): Result<ProductDisplay2, SDKValidationError>;
4093
+ declare function productDisplay2FromJSON(jsonString: string): Result$1<ProductDisplay2, SDKValidationError>;
3989
4094
  /** @internal */
3990
4095
  declare const ConfigDuration2$inboundSchema: z$1.ZodMiniType<ConfigDuration2, unknown>;
3991
4096
  /** @internal */
3992
4097
  declare const CheckRollover2$inboundSchema: z$1.ZodMiniType<CheckRollover2, unknown>;
3993
- declare function checkRollover2FromJSON(jsonString: string): Result<CheckRollover2, SDKValidationError>;
4098
+ declare function checkRollover2FromJSON(jsonString: string): Result$1<CheckRollover2, SDKValidationError>;
3994
4099
  /** @internal */
3995
4100
  declare const CheckOnIncrease2$inboundSchema: z$1.ZodMiniType<CheckOnIncrease2, unknown>;
3996
4101
  /** @internal */
3997
4102
  declare const CheckOnDecrease2$inboundSchema: z$1.ZodMiniType<CheckOnDecrease2, unknown>;
3998
4103
  /** @internal */
3999
4104
  declare const CheckConfig2$inboundSchema: z$1.ZodMiniType<CheckConfig2, unknown>;
4000
- declare function checkConfig2FromJSON(jsonString: string): Result<CheckConfig2, SDKValidationError>;
4105
+ declare function checkConfig2FromJSON(jsonString: string): Result$1<CheckConfig2, SDKValidationError>;
4001
4106
  /** @internal */
4002
4107
  declare const CheckItem2$inboundSchema: z$1.ZodMiniType<CheckItem2, unknown>;
4003
- declare function checkItem2FromJSON(jsonString: string): Result<CheckItem2, SDKValidationError>;
4108
+ declare function checkItem2FromJSON(jsonString: string): Result$1<CheckItem2, SDKValidationError>;
4004
4109
  /** @internal */
4005
4110
  declare const FreeTrialDuration2$inboundSchema: z$1.ZodMiniType<FreeTrialDuration2, unknown>;
4006
4111
  /** @internal */
4007
4112
  declare const CheckOnEnd2$inboundSchema: z$1.ZodMiniType<CheckOnEnd2, unknown>;
4008
4113
  /** @internal */
4009
4114
  declare const CheckFreeTrial2$inboundSchema: z$1.ZodMiniType<CheckFreeTrial2, unknown>;
4010
- declare function checkFreeTrial2FromJSON(jsonString: string): Result<CheckFreeTrial2, SDKValidationError>;
4115
+ declare function checkFreeTrial2FromJSON(jsonString: string): Result$1<CheckFreeTrial2, SDKValidationError>;
4011
4116
  /** @internal */
4012
4117
  declare const ProductScenario2$inboundSchema: z$1.ZodMiniType<ProductScenario2, unknown>;
4013
4118
  /** @internal */
4014
4119
  declare const Properties2$inboundSchema: z$1.ZodMiniType<Properties2, unknown>;
4015
- declare function properties2FromJSON(jsonString: string): Result<Properties2, SDKValidationError>;
4120
+ declare function properties2FromJSON(jsonString: string): Result$1<Properties2, SDKValidationError>;
4016
4121
  /** @internal */
4017
- declare const Product2$inboundSchema: z$1.ZodMiniType<Product2, unknown>;
4018
- declare function product2FromJSON(jsonString: string): Result<Product2, SDKValidationError>;
4122
+ declare const CheckProduct2$inboundSchema: z$1.ZodMiniType<CheckProduct2, unknown>;
4123
+ declare function checkProduct2FromJSON(jsonString: string): Result$1<CheckProduct2, SDKValidationError>;
4019
4124
  /** @internal */
4020
4125
  declare const Preview2$inboundSchema: z$1.ZodMiniType<Preview2, unknown>;
4021
- declare function preview2FromJSON(jsonString: string): Result<Preview2, SDKValidationError>;
4126
+ declare function preview2FromJSON(jsonString: string): Result$1<Preview2, SDKValidationError>;
4022
4127
  /** @internal */
4023
4128
  declare const CheckResponseBody2$inboundSchema: z$1.ZodMiniType<CheckResponseBody2, unknown>;
4024
- declare function checkResponseBody2FromJSON(jsonString: string): Result<CheckResponseBody2, SDKValidationError>;
4129
+ declare function checkResponseBody2FromJSON(jsonString: string): Result$1<CheckResponseBody2, SDKValidationError>;
4025
4130
  /** @internal */
4026
4131
  declare const FlagType1$inboundSchema: z$1.ZodMiniType<FlagType1, unknown>;
4027
4132
  /** @internal */
4028
4133
  declare const CheckCreditSchema1$inboundSchema: z$1.ZodMiniType<CheckCreditSchema1, unknown>;
4029
- declare function checkCreditSchema1FromJSON(jsonString: string): Result<CheckCreditSchema1, SDKValidationError>;
4134
+ declare function checkCreditSchema1FromJSON(jsonString: string): Result$1<CheckCreditSchema1, SDKValidationError>;
4030
4135
  /** @internal */
4031
4136
  declare const FlagDisplay1$inboundSchema: z$1.ZodMiniType<FlagDisplay1, unknown>;
4032
- declare function flagDisplay1FromJSON(jsonString: string): Result<FlagDisplay1, SDKValidationError>;
4137
+ declare function flagDisplay1FromJSON(jsonString: string): Result$1<FlagDisplay1, SDKValidationError>;
4033
4138
  /** @internal */
4034
4139
  declare const CheckFeature1$inboundSchema: z$1.ZodMiniType<CheckFeature1, unknown>;
4035
- declare function checkFeature1FromJSON(jsonString: string): Result<CheckFeature1, SDKValidationError>;
4140
+ declare function checkFeature1FromJSON(jsonString: string): Result$1<CheckFeature1, SDKValidationError>;
4036
4141
  /** @internal */
4037
4142
  declare const Flag1$inboundSchema: z$1.ZodMiniType<Flag1, unknown>;
4038
- declare function flag1FromJSON(jsonString: string): Result<Flag1, SDKValidationError>;
4143
+ declare function flag1FromJSON(jsonString: string): Result$1<Flag1, SDKValidationError>;
4039
4144
  /** @internal */
4040
4145
  declare const Scenario1$inboundSchema: z$1.ZodMiniType<Scenario1, unknown>;
4041
4146
  /** @internal */
@@ -4046,7 +4151,7 @@ declare const ProductType1$inboundSchema: z$1.ZodMiniType<ProductType1, unknown>
4046
4151
  declare const FeatureType1$inboundSchema: z$1.ZodMiniType<FeatureType1, unknown>;
4047
4152
  /** @internal */
4048
4153
  declare const IncludedUsage1$inboundSchema: z$1.ZodMiniType<IncludedUsage1, unknown>;
4049
- declare function includedUsage1FromJSON(jsonString: string): Result<IncludedUsage1, SDKValidationError>;
4154
+ declare function includedUsage1FromJSON(jsonString: string): Result$1<IncludedUsage1, SDKValidationError>;
4050
4155
  /** @internal */
4051
4156
  declare const CheckInterval1$inboundSchema: z$1.ZodMiniType<CheckInterval1, unknown>;
4052
4157
  /** @internal */
@@ -4055,46 +4160,46 @@ declare const CheckTierBehavior1$inboundSchema: z$1.ZodMiniType<CheckTierBehavio
4055
4160
  declare const UsageModel1$inboundSchema: z$1.ZodMiniType<UsageModel1, unknown>;
4056
4161
  /** @internal */
4057
4162
  declare const ProductDisplay1$inboundSchema: z$1.ZodMiniType<ProductDisplay1, unknown>;
4058
- declare function productDisplay1FromJSON(jsonString: string): Result<ProductDisplay1, SDKValidationError>;
4163
+ declare function productDisplay1FromJSON(jsonString: string): Result$1<ProductDisplay1, SDKValidationError>;
4059
4164
  /** @internal */
4060
4165
  declare const ConfigDuration1$inboundSchema: z$1.ZodMiniType<ConfigDuration1, unknown>;
4061
4166
  /** @internal */
4062
4167
  declare const CheckRollover1$inboundSchema: z$1.ZodMiniType<CheckRollover1, unknown>;
4063
- declare function checkRollover1FromJSON(jsonString: string): Result<CheckRollover1, SDKValidationError>;
4168
+ declare function checkRollover1FromJSON(jsonString: string): Result$1<CheckRollover1, SDKValidationError>;
4064
4169
  /** @internal */
4065
4170
  declare const CheckOnIncrease1$inboundSchema: z$1.ZodMiniType<CheckOnIncrease1, unknown>;
4066
4171
  /** @internal */
4067
4172
  declare const CheckOnDecrease1$inboundSchema: z$1.ZodMiniType<CheckOnDecrease1, unknown>;
4068
4173
  /** @internal */
4069
4174
  declare const CheckConfig1$inboundSchema: z$1.ZodMiniType<CheckConfig1, unknown>;
4070
- declare function checkConfig1FromJSON(jsonString: string): Result<CheckConfig1, SDKValidationError>;
4175
+ declare function checkConfig1FromJSON(jsonString: string): Result$1<CheckConfig1, SDKValidationError>;
4071
4176
  /** @internal */
4072
4177
  declare const CheckItem1$inboundSchema: z$1.ZodMiniType<CheckItem1, unknown>;
4073
- declare function checkItem1FromJSON(jsonString: string): Result<CheckItem1, SDKValidationError>;
4178
+ declare function checkItem1FromJSON(jsonString: string): Result$1<CheckItem1, SDKValidationError>;
4074
4179
  /** @internal */
4075
4180
  declare const FreeTrialDuration1$inboundSchema: z$1.ZodMiniType<FreeTrialDuration1, unknown>;
4076
4181
  /** @internal */
4077
4182
  declare const CheckOnEnd1$inboundSchema: z$1.ZodMiniType<CheckOnEnd1, unknown>;
4078
4183
  /** @internal */
4079
4184
  declare const CheckFreeTrial1$inboundSchema: z$1.ZodMiniType<CheckFreeTrial1, unknown>;
4080
- declare function checkFreeTrial1FromJSON(jsonString: string): Result<CheckFreeTrial1, SDKValidationError>;
4185
+ declare function checkFreeTrial1FromJSON(jsonString: string): Result$1<CheckFreeTrial1, SDKValidationError>;
4081
4186
  /** @internal */
4082
4187
  declare const ProductScenario1$inboundSchema: z$1.ZodMiniType<ProductScenario1, unknown>;
4083
4188
  /** @internal */
4084
4189
  declare const Properties1$inboundSchema: z$1.ZodMiniType<Properties1, unknown>;
4085
- declare function properties1FromJSON(jsonString: string): Result<Properties1, SDKValidationError>;
4190
+ declare function properties1FromJSON(jsonString: string): Result$1<Properties1, SDKValidationError>;
4086
4191
  /** @internal */
4087
- declare const Product1$inboundSchema: z$1.ZodMiniType<Product1, unknown>;
4088
- declare function product1FromJSON(jsonString: string): Result<Product1, SDKValidationError>;
4192
+ declare const CheckProduct1$inboundSchema: z$1.ZodMiniType<CheckProduct1, unknown>;
4193
+ declare function checkProduct1FromJSON(jsonString: string): Result$1<CheckProduct1, SDKValidationError>;
4089
4194
  /** @internal */
4090
4195
  declare const Preview1$inboundSchema: z$1.ZodMiniType<Preview1, unknown>;
4091
- declare function preview1FromJSON(jsonString: string): Result<Preview1, SDKValidationError>;
4196
+ declare function preview1FromJSON(jsonString: string): Result$1<Preview1, SDKValidationError>;
4092
4197
  /** @internal */
4093
4198
  declare const CheckResponseBody1$inboundSchema: z$1.ZodMiniType<CheckResponseBody1, unknown>;
4094
- declare function checkResponseBody1FromJSON(jsonString: string): Result<CheckResponseBody1, SDKValidationError>;
4199
+ declare function checkResponseBody1FromJSON(jsonString: string): Result$1<CheckResponseBody1, SDKValidationError>;
4095
4200
  /** @internal */
4096
4201
  declare const CheckResponse$inboundSchema: z$1.ZodMiniType<CheckResponse, unknown>;
4097
- declare function checkResponseFromJSON(jsonString: string): Result<CheckResponse, SDKValidationError>;
4202
+ declare function checkResponseFromJSON(jsonString: string): Result$1<CheckResponse, SDKValidationError>;
4098
4203
 
4099
4204
  type CreateBalanceGlobals = {
4100
4205
  xApiVersion?: string | undefined;
@@ -4227,7 +4332,7 @@ declare const CreateBalanceParams$outboundSchema: z$1.ZodMiniType<CreateBalanceP
4227
4332
  declare function createBalanceParamsToJSON(createBalanceParams: CreateBalanceParams): string;
4228
4333
  /** @internal */
4229
4334
  declare const CreateBalanceResponse$inboundSchema: z$1.ZodMiniType<CreateBalanceResponse, unknown>;
4230
- declare function createBalanceResponseFromJSON(jsonString: string): Result<CreateBalanceResponse, SDKValidationError>;
4335
+ declare function createBalanceResponseFromJSON(jsonString: string): Result$1<CreateBalanceResponse, SDKValidationError>;
4231
4336
 
4232
4337
  /**
4233
4338
  * The time interval for the purchase limit window.
@@ -4960,26 +5065,26 @@ type Plan = {
4960
5065
  declare const PlanPriceInterval$inboundSchema: z$1.ZodMiniType<PlanPriceInterval, unknown>;
4961
5066
  /** @internal */
4962
5067
  declare const PlanPriceDisplay$inboundSchema: z$1.ZodMiniType<PlanPriceDisplay, unknown>;
4963
- declare function planPriceDisplayFromJSON(jsonString: string): Result<PlanPriceDisplay, SDKValidationError>;
5068
+ declare function planPriceDisplayFromJSON(jsonString: string): Result$1<PlanPriceDisplay, SDKValidationError>;
4964
5069
  /** @internal */
4965
5070
  declare const PlanPrice$inboundSchema: z$1.ZodMiniType<PlanPrice, unknown>;
4966
- declare function planPriceFromJSON(jsonString: string): Result<PlanPrice, SDKValidationError>;
5071
+ declare function planPriceFromJSON(jsonString: string): Result$1<PlanPrice, SDKValidationError>;
4967
5072
  /** @internal */
4968
5073
  declare const PlanType$inboundSchema: z$1.ZodMiniType<PlanType, unknown>;
4969
5074
  /** @internal */
4970
5075
  declare const PlanFeatureDisplay$inboundSchema: z$1.ZodMiniType<PlanFeatureDisplay, unknown>;
4971
- declare function planFeatureDisplayFromJSON(jsonString: string): Result<PlanFeatureDisplay, SDKValidationError>;
5076
+ declare function planFeatureDisplayFromJSON(jsonString: string): Result$1<PlanFeatureDisplay, SDKValidationError>;
4972
5077
  /** @internal */
4973
5078
  declare const PlanCreditSchema$inboundSchema: z$1.ZodMiniType<PlanCreditSchema, unknown>;
4974
- declare function planCreditSchemaFromJSON(jsonString: string): Result<PlanCreditSchema, SDKValidationError>;
5079
+ declare function planCreditSchemaFromJSON(jsonString: string): Result$1<PlanCreditSchema, SDKValidationError>;
4975
5080
  /** @internal */
4976
5081
  declare const PlanFeature$inboundSchema: z$1.ZodMiniType<PlanFeature, unknown>;
4977
- declare function planFeatureFromJSON(jsonString: string): Result<PlanFeature, SDKValidationError>;
5082
+ declare function planFeatureFromJSON(jsonString: string): Result$1<PlanFeature, SDKValidationError>;
4978
5083
  /** @internal */
4979
5084
  declare const PlanResetInterval$inboundSchema: z$1.ZodMiniType<PlanResetInterval, unknown>;
4980
5085
  /** @internal */
4981
5086
  declare const PlanReset$inboundSchema: z$1.ZodMiniType<PlanReset, unknown>;
4982
- declare function planResetFromJSON(jsonString: string): Result<PlanReset, SDKValidationError>;
5087
+ declare function planResetFromJSON(jsonString: string): Result$1<PlanReset, SDKValidationError>;
4983
5088
  /** @internal */
4984
5089
  declare const PlanTierBehavior$inboundSchema: z$1.ZodMiniType<PlanTierBehavior, unknown>;
4985
5090
  /** @internal */
@@ -4988,40 +5093,40 @@ declare const PlanPriceItemInterval$inboundSchema: z$1.ZodMiniType<PlanPriceItem
4988
5093
  declare const PlanBillingMethod$inboundSchema: z$1.ZodMiniType<PlanBillingMethod, unknown>;
4989
5094
  /** @internal */
4990
5095
  declare const PlanItemPrice$inboundSchema: z$1.ZodMiniType<PlanItemPrice, unknown>;
4991
- declare function planItemPriceFromJSON(jsonString: string): Result<PlanItemPrice, SDKValidationError>;
5096
+ declare function planItemPriceFromJSON(jsonString: string): Result$1<PlanItemPrice, SDKValidationError>;
4992
5097
  /** @internal */
4993
5098
  declare const PlanItemDisplay$inboundSchema: z$1.ZodMiniType<PlanItemDisplay, unknown>;
4994
- declare function planItemDisplayFromJSON(jsonString: string): Result<PlanItemDisplay, SDKValidationError>;
5099
+ declare function planItemDisplayFromJSON(jsonString: string): Result$1<PlanItemDisplay, SDKValidationError>;
4995
5100
  /** @internal */
4996
5101
  declare const ExpiryDurationType$inboundSchema: z$1.ZodMiniType<ExpiryDurationType, unknown>;
4997
5102
  /** @internal */
4998
5103
  declare const PlanRollover$inboundSchema: z$1.ZodMiniType<PlanRollover, unknown>;
4999
- declare function planRolloverFromJSON(jsonString: string): Result<PlanRollover, SDKValidationError>;
5104
+ declare function planRolloverFromJSON(jsonString: string): Result$1<PlanRollover, SDKValidationError>;
5000
5105
  /** @internal */
5001
5106
  declare const Item$inboundSchema: z$1.ZodMiniType<Item, unknown>;
5002
- declare function itemFromJSON(jsonString: string): Result<Item, SDKValidationError>;
5107
+ declare function itemFromJSON(jsonString: string): Result$1<Item, SDKValidationError>;
5003
5108
  /** @internal */
5004
5109
  declare const PlanDurationType$inboundSchema: z$1.ZodMiniType<PlanDurationType, unknown>;
5005
5110
  /** @internal */
5006
5111
  declare const OnEnd$inboundSchema: z$1.ZodMiniType<OnEnd, unknown>;
5007
5112
  /** @internal */
5008
5113
  declare const FreeTrial$inboundSchema: z$1.ZodMiniType<FreeTrial, unknown>;
5009
- declare function freeTrialFromJSON(jsonString: string): Result<FreeTrial, SDKValidationError>;
5114
+ declare function freeTrialFromJSON(jsonString: string): Result$1<FreeTrial, SDKValidationError>;
5010
5115
  /** @internal */
5011
5116
  declare const PlanEnv$inboundSchema: z$1.ZodMiniType<PlanEnv, unknown>;
5012
5117
  /** @internal */
5013
5118
  declare const PlanConfig$inboundSchema: z$1.ZodMiniType<PlanConfig, unknown>;
5014
- declare function planConfigFromJSON(jsonString: string): Result<PlanConfig, SDKValidationError>;
5119
+ declare function planConfigFromJSON(jsonString: string): Result$1<PlanConfig, SDKValidationError>;
5015
5120
  /** @internal */
5016
5121
  declare const PlanStatus$inboundSchema: z$1.ZodMiniType<PlanStatus, unknown>;
5017
5122
  /** @internal */
5018
5123
  declare const AttachAction$inboundSchema: z$1.ZodMiniType<AttachAction, unknown>;
5019
5124
  /** @internal */
5020
5125
  declare const CustomerEligibility$inboundSchema: z$1.ZodMiniType<CustomerEligibility, unknown>;
5021
- declare function customerEligibilityFromJSON(jsonString: string): Result<CustomerEligibility, SDKValidationError>;
5126
+ declare function customerEligibilityFromJSON(jsonString: string): Result$1<CustomerEligibility, SDKValidationError>;
5022
5127
  /** @internal */
5023
5128
  declare const Plan$inboundSchema: z$1.ZodMiniType<Plan, unknown>;
5024
- declare function planFromJSON(jsonString: string): Result<Plan, SDKValidationError>;
5129
+ declare function planFromJSON(jsonString: string): Result$1<Plan, SDKValidationError>;
5025
5130
 
5026
5131
  type CreateEntityGlobals = {
5027
5132
  xApiVersion?: string | undefined;
@@ -5150,6 +5255,17 @@ declare const CreateEntityStatus: {
5150
5255
  * Current status of the subscription.
5151
5256
  */
5152
5257
  type CreateEntityStatus = OpenEnum<typeof CreateEntityStatus>;
5258
+ /**
5259
+ * Whether this subscription is attached at the customer level or entity level.
5260
+ */
5261
+ declare const CreateEntitySubscriptionScope: {
5262
+ readonly Customer: "customer";
5263
+ readonly Entity: "entity";
5264
+ };
5265
+ /**
5266
+ * Whether this subscription is attached at the customer level or entity level.
5267
+ */
5268
+ type CreateEntitySubscriptionScope = OpenEnum<typeof CreateEntitySubscriptionScope>;
5153
5269
  type CreateEntitySubscription = {
5154
5270
  /**
5155
5271
  * The unique identifier of this subscription. If a subscription_id was provided at attach time, it is used; otherwise, falls back to the internal ID.
@@ -5204,7 +5320,22 @@ type CreateEntitySubscription = {
5204
5320
  * Number of units of this subscription (for per-seat plans).
5205
5321
  */
5206
5322
  quantity: number;
5323
+ /**
5324
+ * Whether this subscription is attached at the customer level or entity level.
5325
+ */
5326
+ scope?: CreateEntitySubscriptionScope | undefined;
5207
5327
  };
5328
+ /**
5329
+ * Whether this purchase is attached at the customer level or entity level.
5330
+ */
5331
+ declare const CreateEntityPurchaseScope: {
5332
+ readonly Customer: "customer";
5333
+ readonly Entity: "entity";
5334
+ };
5335
+ /**
5336
+ * Whether this purchase is attached at the customer level or entity level.
5337
+ */
5338
+ type CreateEntityPurchaseScope = OpenEnum<typeof CreateEntityPurchaseScope>;
5208
5339
  type CreateEntityPurchase = {
5209
5340
  plan?: Plan | undefined;
5210
5341
  /**
@@ -5223,6 +5354,10 @@ type CreateEntityPurchase = {
5223
5354
  * Number of units purchased.
5224
5355
  */
5225
5356
  quantity: number;
5357
+ /**
5358
+ * Whether this purchase is attached at the customer level or entity level.
5359
+ */
5360
+ scope?: CreateEntityPurchaseScope | undefined;
5226
5361
  };
5227
5362
  /**
5228
5363
  * Feature type: 'boolean' for on/off access, 'metered' for usage-tracked features, 'credit_system' for unified credit pools.
@@ -5540,47 +5675,51 @@ declare const CreateEntityEnv$inboundSchema: z$1.ZodMiniType<CreateEntityEnv, un
5540
5675
  /** @internal */
5541
5676
  declare const CreateEntityStatus$inboundSchema: z$1.ZodMiniType<CreateEntityStatus, unknown>;
5542
5677
  /** @internal */
5678
+ declare const CreateEntitySubscriptionScope$inboundSchema: z$1.ZodMiniType<CreateEntitySubscriptionScope, unknown>;
5679
+ /** @internal */
5543
5680
  declare const CreateEntitySubscription$inboundSchema: z$1.ZodMiniType<CreateEntitySubscription, unknown>;
5544
- declare function createEntitySubscriptionFromJSON(jsonString: string): Result<CreateEntitySubscription, SDKValidationError>;
5681
+ declare function createEntitySubscriptionFromJSON(jsonString: string): Result$1<CreateEntitySubscription, SDKValidationError>;
5682
+ /** @internal */
5683
+ declare const CreateEntityPurchaseScope$inboundSchema: z$1.ZodMiniType<CreateEntityPurchaseScope, unknown>;
5545
5684
  /** @internal */
5546
5685
  declare const CreateEntityPurchase$inboundSchema: z$1.ZodMiniType<CreateEntityPurchase, unknown>;
5547
- declare function createEntityPurchaseFromJSON(jsonString: string): Result<CreateEntityPurchase, SDKValidationError>;
5686
+ declare function createEntityPurchaseFromJSON(jsonString: string): Result$1<CreateEntityPurchase, SDKValidationError>;
5548
5687
  /** @internal */
5549
5688
  declare const CreateEntityType$inboundSchema: z$1.ZodMiniType<CreateEntityType, unknown>;
5550
5689
  /** @internal */
5551
5690
  declare const CreateEntityCreditSchema$inboundSchema: z$1.ZodMiniType<CreateEntityCreditSchema, unknown>;
5552
- declare function createEntityCreditSchemaFromJSON(jsonString: string): Result<CreateEntityCreditSchema, SDKValidationError>;
5691
+ declare function createEntityCreditSchemaFromJSON(jsonString: string): Result$1<CreateEntityCreditSchema, SDKValidationError>;
5553
5692
  /** @internal */
5554
5693
  declare const CreateEntityDisplay$inboundSchema: z$1.ZodMiniType<CreateEntityDisplay, unknown>;
5555
- declare function createEntityDisplayFromJSON(jsonString: string): Result<CreateEntityDisplay, SDKValidationError>;
5694
+ declare function createEntityDisplayFromJSON(jsonString: string): Result$1<CreateEntityDisplay, SDKValidationError>;
5556
5695
  /** @internal */
5557
5696
  declare const CreateEntityFeature$inboundSchema: z$1.ZodMiniType<CreateEntityFeature, unknown>;
5558
- declare function createEntityFeatureFromJSON(jsonString: string): Result<CreateEntityFeature, SDKValidationError>;
5697
+ declare function createEntityFeatureFromJSON(jsonString: string): Result$1<CreateEntityFeature, SDKValidationError>;
5559
5698
  /** @internal */
5560
5699
  declare const CreateEntityFlags$inboundSchema: z$1.ZodMiniType<CreateEntityFlags, unknown>;
5561
- declare function createEntityFlagsFromJSON(jsonString: string): Result<CreateEntityFlags, SDKValidationError>;
5700
+ declare function createEntityFlagsFromJSON(jsonString: string): Result$1<CreateEntityFlags, SDKValidationError>;
5562
5701
  /** @internal */
5563
5702
  declare const CreateEntitySpendLimitResponse$inboundSchema: z$1.ZodMiniType<CreateEntitySpendLimitResponse, unknown>;
5564
- declare function createEntitySpendLimitResponseFromJSON(jsonString: string): Result<CreateEntitySpendLimitResponse, SDKValidationError>;
5703
+ declare function createEntitySpendLimitResponseFromJSON(jsonString: string): Result$1<CreateEntitySpendLimitResponse, SDKValidationError>;
5565
5704
  /** @internal */
5566
5705
  declare const CreateEntityThresholdTypeResponse$inboundSchema: z$1.ZodMiniType<CreateEntityThresholdTypeResponse, unknown>;
5567
5706
  /** @internal */
5568
5707
  declare const CreateEntityUsageAlertResponse$inboundSchema: z$1.ZodMiniType<CreateEntityUsageAlertResponse, unknown>;
5569
- declare function createEntityUsageAlertResponseFromJSON(jsonString: string): Result<CreateEntityUsageAlertResponse, SDKValidationError>;
5708
+ declare function createEntityUsageAlertResponseFromJSON(jsonString: string): Result$1<CreateEntityUsageAlertResponse, SDKValidationError>;
5570
5709
  /** @internal */
5571
5710
  declare const CreateEntityOverageAllowedResponse$inboundSchema: z$1.ZodMiniType<CreateEntityOverageAllowedResponse, unknown>;
5572
- declare function createEntityOverageAllowedResponseFromJSON(jsonString: string): Result<CreateEntityOverageAllowedResponse, SDKValidationError>;
5711
+ declare function createEntityOverageAllowedResponseFromJSON(jsonString: string): Result$1<CreateEntityOverageAllowedResponse, SDKValidationError>;
5573
5712
  /** @internal */
5574
5713
  declare const CreateEntityBillingControlsResponse$inboundSchema: z$1.ZodMiniType<CreateEntityBillingControlsResponse, unknown>;
5575
- declare function createEntityBillingControlsResponseFromJSON(jsonString: string): Result<CreateEntityBillingControlsResponse, SDKValidationError>;
5714
+ declare function createEntityBillingControlsResponseFromJSON(jsonString: string): Result$1<CreateEntityBillingControlsResponse, SDKValidationError>;
5576
5715
  /** @internal */
5577
5716
  declare const CreateEntityProcessorType$inboundSchema: z$1.ZodMiniType<CreateEntityProcessorType, unknown>;
5578
5717
  /** @internal */
5579
5718
  declare const CreateEntityInvoice$inboundSchema: z$1.ZodMiniType<CreateEntityInvoice, unknown>;
5580
- declare function createEntityInvoiceFromJSON(jsonString: string): Result<CreateEntityInvoice, SDKValidationError>;
5719
+ declare function createEntityInvoiceFromJSON(jsonString: string): Result$1<CreateEntityInvoice, SDKValidationError>;
5581
5720
  /** @internal */
5582
5721
  declare const CreateEntityResponse$inboundSchema: z$1.ZodMiniType<CreateEntityResponse, unknown>;
5583
- declare function createEntityResponseFromJSON(jsonString: string): Result<CreateEntityResponse, SDKValidationError>;
5722
+ declare function createEntityResponseFromJSON(jsonString: string): Result$1<CreateEntityResponse, SDKValidationError>;
5584
5723
 
5585
5724
  type CreateFeatureGlobals = {
5586
5725
  xApiVersion?: string | undefined;
@@ -5742,13 +5881,13 @@ declare function createFeatureParamsToJSON(createFeatureParams: CreateFeaturePar
5742
5881
  declare const CreateFeatureTypeResponse$inboundSchema: z$1.ZodMiniType<CreateFeatureTypeResponse, unknown>;
5743
5882
  /** @internal */
5744
5883
  declare const CreateFeatureCreditSchemaResponse$inboundSchema: z$1.ZodMiniType<CreateFeatureCreditSchemaResponse, unknown>;
5745
- declare function createFeatureCreditSchemaResponseFromJSON(jsonString: string): Result<CreateFeatureCreditSchemaResponse, SDKValidationError>;
5884
+ declare function createFeatureCreditSchemaResponseFromJSON(jsonString: string): Result$1<CreateFeatureCreditSchemaResponse, SDKValidationError>;
5746
5885
  /** @internal */
5747
5886
  declare const CreateFeatureDisplayResponse$inboundSchema: z$1.ZodMiniType<CreateFeatureDisplayResponse, unknown>;
5748
- declare function createFeatureDisplayResponseFromJSON(jsonString: string): Result<CreateFeatureDisplayResponse, SDKValidationError>;
5887
+ declare function createFeatureDisplayResponseFromJSON(jsonString: string): Result$1<CreateFeatureDisplayResponse, SDKValidationError>;
5749
5888
  /** @internal */
5750
5889
  declare const CreateFeatureResponse$inboundSchema: z$1.ZodMiniType<CreateFeatureResponse, unknown>;
5751
- declare function createFeatureResponseFromJSON(jsonString: string): Result<CreateFeatureResponse, SDKValidationError>;
5890
+ declare function createFeatureResponseFromJSON(jsonString: string): Result$1<CreateFeatureResponse, SDKValidationError>;
5752
5891
 
5753
5892
  type CreatePlanGlobals = {
5754
5893
  xApiVersion?: string | undefined;
@@ -6671,26 +6810,26 @@ declare function createPlanParamsToJSON(createPlanParams: CreatePlanParams): str
6671
6810
  declare const CreatePlanPriceIntervalResponse$inboundSchema: z$1.ZodMiniType<CreatePlanPriceIntervalResponse, unknown>;
6672
6811
  /** @internal */
6673
6812
  declare const CreatePlanPriceDisplay$inboundSchema: z$1.ZodMiniType<CreatePlanPriceDisplay, unknown>;
6674
- declare function createPlanPriceDisplayFromJSON(jsonString: string): Result<CreatePlanPriceDisplay, SDKValidationError>;
6813
+ declare function createPlanPriceDisplayFromJSON(jsonString: string): Result$1<CreatePlanPriceDisplay, SDKValidationError>;
6675
6814
  /** @internal */
6676
6815
  declare const CreatePlanPriceResponse$inboundSchema: z$1.ZodMiniType<CreatePlanPriceResponse, unknown>;
6677
- declare function createPlanPriceResponseFromJSON(jsonString: string): Result<CreatePlanPriceResponse, SDKValidationError>;
6816
+ declare function createPlanPriceResponseFromJSON(jsonString: string): Result$1<CreatePlanPriceResponse, SDKValidationError>;
6678
6817
  /** @internal */
6679
6818
  declare const CreatePlanType$inboundSchema: z$1.ZodMiniType<CreatePlanType, unknown>;
6680
6819
  /** @internal */
6681
6820
  declare const CreatePlanFeatureDisplay$inboundSchema: z$1.ZodMiniType<CreatePlanFeatureDisplay, unknown>;
6682
- declare function createPlanFeatureDisplayFromJSON(jsonString: string): Result<CreatePlanFeatureDisplay, SDKValidationError>;
6821
+ declare function createPlanFeatureDisplayFromJSON(jsonString: string): Result$1<CreatePlanFeatureDisplay, SDKValidationError>;
6683
6822
  /** @internal */
6684
6823
  declare const CreatePlanCreditSchema$inboundSchema: z$1.ZodMiniType<CreatePlanCreditSchema, unknown>;
6685
- declare function createPlanCreditSchemaFromJSON(jsonString: string): Result<CreatePlanCreditSchema, SDKValidationError>;
6824
+ declare function createPlanCreditSchemaFromJSON(jsonString: string): Result$1<CreatePlanCreditSchema, SDKValidationError>;
6686
6825
  /** @internal */
6687
6826
  declare const CreatePlanFeature$inboundSchema: z$1.ZodMiniType<CreatePlanFeature, unknown>;
6688
- declare function createPlanFeatureFromJSON(jsonString: string): Result<CreatePlanFeature, SDKValidationError>;
6827
+ declare function createPlanFeatureFromJSON(jsonString: string): Result$1<CreatePlanFeature, SDKValidationError>;
6689
6828
  /** @internal */
6690
6829
  declare const CreatePlanResetIntervalResponse$inboundSchema: z$1.ZodMiniType<CreatePlanResetIntervalResponse, unknown>;
6691
6830
  /** @internal */
6692
6831
  declare const CreatePlanResetResponse$inboundSchema: z$1.ZodMiniType<CreatePlanResetResponse, unknown>;
6693
- declare function createPlanResetResponseFromJSON(jsonString: string): Result<CreatePlanResetResponse, SDKValidationError>;
6832
+ declare function createPlanResetResponseFromJSON(jsonString: string): Result$1<CreatePlanResetResponse, SDKValidationError>;
6694
6833
  /** @internal */
6695
6834
  declare const CreatePlanTierBehaviorResponse$inboundSchema: z$1.ZodMiniType<CreatePlanTierBehaviorResponse, unknown>;
6696
6835
  /** @internal */
@@ -6699,40 +6838,40 @@ declare const CreatePlanPriceItemIntervalResponse$inboundSchema: z$1.ZodMiniType
6699
6838
  declare const CreatePlanBillingMethodResponse$inboundSchema: z$1.ZodMiniType<CreatePlanBillingMethodResponse, unknown>;
6700
6839
  /** @internal */
6701
6840
  declare const CreatePlanItemPriceResponse$inboundSchema: z$1.ZodMiniType<CreatePlanItemPriceResponse, unknown>;
6702
- declare function createPlanItemPriceResponseFromJSON(jsonString: string): Result<CreatePlanItemPriceResponse, SDKValidationError>;
6841
+ declare function createPlanItemPriceResponseFromJSON(jsonString: string): Result$1<CreatePlanItemPriceResponse, SDKValidationError>;
6703
6842
  /** @internal */
6704
6843
  declare const CreatePlanItemDisplay$inboundSchema: z$1.ZodMiniType<CreatePlanItemDisplay, unknown>;
6705
- declare function createPlanItemDisplayFromJSON(jsonString: string): Result<CreatePlanItemDisplay, SDKValidationError>;
6844
+ declare function createPlanItemDisplayFromJSON(jsonString: string): Result$1<CreatePlanItemDisplay, SDKValidationError>;
6706
6845
  /** @internal */
6707
6846
  declare const CreatePlanExpiryDurationTypeResponse$inboundSchema: z$1.ZodMiniType<CreatePlanExpiryDurationTypeResponse, unknown>;
6708
6847
  /** @internal */
6709
6848
  declare const CreatePlanRolloverResponse$inboundSchema: z$1.ZodMiniType<CreatePlanRolloverResponse, unknown>;
6710
- declare function createPlanRolloverResponseFromJSON(jsonString: string): Result<CreatePlanRolloverResponse, SDKValidationError>;
6849
+ declare function createPlanRolloverResponseFromJSON(jsonString: string): Result$1<CreatePlanRolloverResponse, SDKValidationError>;
6711
6850
  /** @internal */
6712
6851
  declare const CreatePlanItem$inboundSchema: z$1.ZodMiniType<CreatePlanItem, unknown>;
6713
- declare function createPlanItemFromJSON(jsonString: string): Result<CreatePlanItem, SDKValidationError>;
6852
+ declare function createPlanItemFromJSON(jsonString: string): Result$1<CreatePlanItem, SDKValidationError>;
6714
6853
  /** @internal */
6715
6854
  declare const CreatePlanDurationTypeResponse$inboundSchema: z$1.ZodMiniType<CreatePlanDurationTypeResponse, unknown>;
6716
6855
  /** @internal */
6717
6856
  declare const CreatePlanOnEndResponse$inboundSchema: z$1.ZodMiniType<CreatePlanOnEndResponse, unknown>;
6718
6857
  /** @internal */
6719
6858
  declare const CreatePlanFreeTrialResponse$inboundSchema: z$1.ZodMiniType<CreatePlanFreeTrialResponse, unknown>;
6720
- declare function createPlanFreeTrialResponseFromJSON(jsonString: string): Result<CreatePlanFreeTrialResponse, SDKValidationError>;
6859
+ declare function createPlanFreeTrialResponseFromJSON(jsonString: string): Result$1<CreatePlanFreeTrialResponse, SDKValidationError>;
6721
6860
  /** @internal */
6722
6861
  declare const CreatePlanEnv$inboundSchema: z$1.ZodMiniType<CreatePlanEnv, unknown>;
6723
6862
  /** @internal */
6724
6863
  declare const CreatePlanConfigResponse$inboundSchema: z$1.ZodMiniType<CreatePlanConfigResponse, unknown>;
6725
- declare function createPlanConfigResponseFromJSON(jsonString: string): Result<CreatePlanConfigResponse, SDKValidationError>;
6864
+ declare function createPlanConfigResponseFromJSON(jsonString: string): Result$1<CreatePlanConfigResponse, SDKValidationError>;
6726
6865
  /** @internal */
6727
6866
  declare const CreatePlanStatus$inboundSchema: z$1.ZodMiniType<CreatePlanStatus, unknown>;
6728
6867
  /** @internal */
6729
6868
  declare const CreatePlanAttachAction$inboundSchema: z$1.ZodMiniType<CreatePlanAttachAction, unknown>;
6730
6869
  /** @internal */
6731
6870
  declare const CreatePlanCustomerEligibility$inboundSchema: z$1.ZodMiniType<CreatePlanCustomerEligibility, unknown>;
6732
- declare function createPlanCustomerEligibilityFromJSON(jsonString: string): Result<CreatePlanCustomerEligibility, SDKValidationError>;
6871
+ declare function createPlanCustomerEligibilityFromJSON(jsonString: string): Result$1<CreatePlanCustomerEligibility, SDKValidationError>;
6733
6872
  /** @internal */
6734
6873
  declare const CreatePlanResponse$inboundSchema: z$1.ZodMiniType<CreatePlanResponse, unknown>;
6735
- declare function createPlanResponseFromJSON(jsonString: string): Result<CreatePlanResponse, SDKValidationError>;
6874
+ declare function createPlanResponseFromJSON(jsonString: string): Result$1<CreatePlanResponse, SDKValidationError>;
6736
6875
 
6737
6876
  type CreateReferralCodeGlobals = {
6738
6877
  xApiVersion?: string | undefined;
@@ -6774,7 +6913,7 @@ declare const CreateReferralCodeParams$outboundSchema: z$1.ZodMiniType<CreateRef
6774
6913
  declare function createReferralCodeParamsToJSON(createReferralCodeParams: CreateReferralCodeParams): string;
6775
6914
  /** @internal */
6776
6915
  declare const CreateReferralCodeResponse$inboundSchema: z$1.ZodMiniType<CreateReferralCodeResponse, unknown>;
6777
- declare function createReferralCodeResponseFromJSON(jsonString: string): Result<CreateReferralCodeResponse, SDKValidationError>;
6916
+ declare function createReferralCodeResponseFromJSON(jsonString: string): Result$1<CreateReferralCodeResponse, SDKValidationError>;
6778
6917
 
6779
6918
  type CreateScheduleGlobals = {
6780
6919
  xApiVersion?: string | undefined;
@@ -6795,6 +6934,27 @@ type CreateScheduleInvoiceMode = {
6795
6934
  * If true, finalizes the invoice so it can be sent to the customer. If false, keeps it as a draft for manual review.
6796
6935
  */
6797
6936
  finalize?: boolean | undefined;
6937
+ /**
6938
+ * ID of an invoice template (configured in billing settings) whose footer (e.g. bank details) is applied to the invoice.
6939
+ */
6940
+ invoiceTemplateId?: string | undefined;
6941
+ /**
6942
+ * Number of days the customer has to pay the invoice before it is due (Stripe days_until_due).
6943
+ */
6944
+ netTermsDays?: number | undefined;
6945
+ };
6946
+ /**
6947
+ * A discount to apply. Can be either a reward ID or a promotion code.
6948
+ */
6949
+ type CreateScheduleAttachDiscount = {
6950
+ /**
6951
+ * The ID of the reward to apply as a discount.
6952
+ */
6953
+ rewardId?: string | undefined;
6954
+ /**
6955
+ * The promotion code to apply as a discount.
6956
+ */
6957
+ promotionCode?: string | undefined;
6798
6958
  };
6799
6959
  /**
6800
6960
  * Controls when to return a checkout URL for the immediate phase. 'always' forces a confirmation or checkout flow, 'if_required' only redirects when needed, and 'never' disables redirects.
@@ -7133,6 +7293,10 @@ type CreateScheduleParams = {
7133
7293
  * Invoice mode creates and sends an invoice instead of charging the customer's payment method immediately for the first phase.
7134
7294
  */
7135
7295
  invoiceMode?: CreateScheduleInvoiceMode | undefined;
7296
+ /**
7297
+ * List of discounts to apply to the immediate phase. Each discount can be an Autumn reward ID, Stripe coupon ID, or Stripe promotion code.
7298
+ */
7299
+ discounts?: Array<CreateScheduleAttachDiscount> | undefined;
7136
7300
  /**
7137
7301
  * URL to redirect to after successful checkout.
7138
7302
  */
@@ -7275,11 +7439,21 @@ type CreateScheduleInvoiceMode$Outbound = {
7275
7439
  enabled: boolean;
7276
7440
  enable_plan_immediately: boolean;
7277
7441
  finalize: boolean;
7442
+ invoice_template_id?: string | undefined;
7443
+ net_terms_days?: number | undefined;
7278
7444
  };
7279
7445
  /** @internal */
7280
7446
  declare const CreateScheduleInvoiceMode$outboundSchema: z$1.ZodMiniType<CreateScheduleInvoiceMode$Outbound, CreateScheduleInvoiceMode>;
7281
7447
  declare function createScheduleInvoiceModeToJSON(createScheduleInvoiceMode: CreateScheduleInvoiceMode): string;
7282
7448
  /** @internal */
7449
+ type CreateScheduleAttachDiscount$Outbound = {
7450
+ reward_id?: string | undefined;
7451
+ promotion_code?: string | undefined;
7452
+ };
7453
+ /** @internal */
7454
+ declare const CreateScheduleAttachDiscount$outboundSchema: z$1.ZodMiniType<CreateScheduleAttachDiscount$Outbound, CreateScheduleAttachDiscount>;
7455
+ declare function createScheduleAttachDiscountToJSON(createScheduleAttachDiscount: CreateScheduleAttachDiscount): string;
7456
+ /** @internal */
7283
7457
  declare const CreateScheduleRedirectMode$outboundSchema: z$1.ZodMiniEnum<typeof CreateScheduleRedirectMode>;
7284
7458
  /** @internal */
7285
7459
  declare const BillingBehavior$outboundSchema: z$1.ZodMiniEnum<typeof BillingBehavior>;
@@ -7416,6 +7590,7 @@ type CreateScheduleParams$Outbound = {
7416
7590
  customer_id: string;
7417
7591
  entity_id?: string | undefined;
7418
7592
  invoice_mode?: CreateScheduleInvoiceMode$Outbound | undefined;
7593
+ discounts?: Array<CreateScheduleAttachDiscount$Outbound> | undefined;
7419
7594
  success_url?: string | undefined;
7420
7595
  checkout_session_params?: {
7421
7596
  [k: string]: any;
@@ -7433,18 +7608,18 @@ declare function createScheduleParamsToJSON(createScheduleParams: CreateSchedule
7433
7608
  declare const CreateScheduleStatus$inboundSchema: z$1.ZodMiniType<CreateScheduleStatus, unknown>;
7434
7609
  /** @internal */
7435
7610
  declare const PhaseResponse$inboundSchema: z$1.ZodMiniType<PhaseResponse, unknown>;
7436
- declare function phaseResponseFromJSON(jsonString: string): Result<PhaseResponse, SDKValidationError>;
7611
+ declare function phaseResponseFromJSON(jsonString: string): Result$1<PhaseResponse, SDKValidationError>;
7437
7612
  /** @internal */
7438
7613
  declare const CreateScheduleInvoice$inboundSchema: z$1.ZodMiniType<CreateScheduleInvoice, unknown>;
7439
- declare function createScheduleInvoiceFromJSON(jsonString: string): Result<CreateScheduleInvoice, SDKValidationError>;
7614
+ declare function createScheduleInvoiceFromJSON(jsonString: string): Result$1<CreateScheduleInvoice, SDKValidationError>;
7440
7615
  /** @internal */
7441
7616
  declare const CreateScheduleCode$inboundSchema: z$1.ZodMiniType<CreateScheduleCode, unknown>;
7442
7617
  /** @internal */
7443
7618
  declare const CreateScheduleRequiredAction$inboundSchema: z$1.ZodMiniType<CreateScheduleRequiredAction, unknown>;
7444
- declare function createScheduleRequiredActionFromJSON(jsonString: string): Result<CreateScheduleRequiredAction, SDKValidationError>;
7619
+ declare function createScheduleRequiredActionFromJSON(jsonString: string): Result$1<CreateScheduleRequiredAction, SDKValidationError>;
7445
7620
  /** @internal */
7446
7621
  declare const CreateScheduleResponse$inboundSchema: z$1.ZodMiniType<CreateScheduleResponse, unknown>;
7447
- declare function createScheduleResponseFromJSON(jsonString: string): Result<CreateScheduleResponse, SDKValidationError>;
7622
+ declare function createScheduleResponseFromJSON(jsonString: string): Result$1<CreateScheduleResponse, SDKValidationError>;
7448
7623
 
7449
7624
  declare const CustomerExpand: {
7450
7625
  readonly Invoices: "invoices";
@@ -7651,6 +7826,17 @@ declare const CustomerStatus: {
7651
7826
  * Current status of the subscription.
7652
7827
  */
7653
7828
  type CustomerStatus = OpenEnum<typeof CustomerStatus>;
7829
+ /**
7830
+ * Whether this subscription is attached at the customer level or entity level.
7831
+ */
7832
+ declare const SubscriptionScope: {
7833
+ readonly Customer: "customer";
7834
+ readonly Entity: "entity";
7835
+ };
7836
+ /**
7837
+ * Whether this subscription is attached at the customer level or entity level.
7838
+ */
7839
+ type SubscriptionScope = OpenEnum<typeof SubscriptionScope>;
7654
7840
  type Subscription = {
7655
7841
  /**
7656
7842
  * The unique identifier of this subscription. If a subscription_id was provided at attach time, it is used; otherwise, falls back to the internal ID.
@@ -7705,7 +7891,22 @@ type Subscription = {
7705
7891
  * Number of units of this subscription (for per-seat plans).
7706
7892
  */
7707
7893
  quantity: number;
7894
+ /**
7895
+ * Whether this subscription is attached at the customer level or entity level.
7896
+ */
7897
+ scope?: SubscriptionScope | undefined;
7708
7898
  };
7899
+ /**
7900
+ * Whether this purchase is attached at the customer level or entity level.
7901
+ */
7902
+ declare const PurchaseScope: {
7903
+ readonly Customer: "customer";
7904
+ readonly Entity: "entity";
7905
+ };
7906
+ /**
7907
+ * Whether this purchase is attached at the customer level or entity level.
7908
+ */
7909
+ type PurchaseScope = OpenEnum<typeof PurchaseScope>;
7709
7910
  type Purchase = {
7710
7911
  plan?: Plan | undefined;
7711
7912
  /**
@@ -7724,6 +7925,10 @@ type Purchase = {
7724
7925
  * Number of units purchased.
7725
7926
  */
7726
7927
  quantity: number;
7928
+ /**
7929
+ * Whether this purchase is attached at the customer level or entity level.
7930
+ */
7931
+ scope?: PurchaseScope | undefined;
7727
7932
  };
7728
7933
  /**
7729
7934
  * Feature type: 'boolean' for on/off access, 'metered' for usage-tracked features, 'credit_system' for unified credit pools.
@@ -8154,101 +8359,105 @@ declare const CustomerEnv$inboundSchema: z$1.ZodMiniType<CustomerEnv, unknown>;
8154
8359
  declare const CustomerInterval2$inboundSchema: z$1.ZodMiniType<CustomerInterval2, unknown>;
8155
8360
  /** @internal */
8156
8361
  declare const CustomerPurchaseLimit2$inboundSchema: z$1.ZodMiniType<CustomerPurchaseLimit2, unknown>;
8157
- declare function customerPurchaseLimit2FromJSON(jsonString: string): Result<CustomerPurchaseLimit2, SDKValidationError>;
8362
+ declare function customerPurchaseLimit2FromJSON(jsonString: string): Result$1<CustomerPurchaseLimit2, SDKValidationError>;
8158
8363
  /** @internal */
8159
8364
  declare const CustomerInterval1$inboundSchema: z$1.ZodMiniType<CustomerInterval1, unknown>;
8160
8365
  /** @internal */
8161
8366
  declare const CustomerPurchaseLimit1$inboundSchema: z$1.ZodMiniType<CustomerPurchaseLimit1, unknown>;
8162
- declare function customerPurchaseLimit1FromJSON(jsonString: string): Result<CustomerPurchaseLimit1, SDKValidationError>;
8367
+ declare function customerPurchaseLimit1FromJSON(jsonString: string): Result$1<CustomerPurchaseLimit1, SDKValidationError>;
8163
8368
  /** @internal */
8164
8369
  declare const CustomerPurchaseLimitUnion$inboundSchema: z$1.ZodMiniType<CustomerPurchaseLimitUnion, unknown>;
8165
- declare function customerPurchaseLimitUnionFromJSON(jsonString: string): Result<CustomerPurchaseLimitUnion, SDKValidationError>;
8370
+ declare function customerPurchaseLimitUnionFromJSON(jsonString: string): Result$1<CustomerPurchaseLimitUnion, SDKValidationError>;
8166
8371
  /** @internal */
8167
8372
  declare const CustomerAutoTopup$inboundSchema: z$1.ZodMiniType<CustomerAutoTopup, unknown>;
8168
- declare function customerAutoTopupFromJSON(jsonString: string): Result<CustomerAutoTopup, SDKValidationError>;
8373
+ declare function customerAutoTopupFromJSON(jsonString: string): Result$1<CustomerAutoTopup, SDKValidationError>;
8169
8374
  /** @internal */
8170
8375
  declare const CustomerSpendLimit$inboundSchema: z$1.ZodMiniType<CustomerSpendLimit, unknown>;
8171
- declare function customerSpendLimitFromJSON(jsonString: string): Result<CustomerSpendLimit, SDKValidationError>;
8376
+ declare function customerSpendLimitFromJSON(jsonString: string): Result$1<CustomerSpendLimit, SDKValidationError>;
8172
8377
  /** @internal */
8173
8378
  declare const CustomerThresholdType$inboundSchema: z$1.ZodMiniType<CustomerThresholdType, unknown>;
8174
8379
  /** @internal */
8175
8380
  declare const CustomerUsageAlert$inboundSchema: z$1.ZodMiniType<CustomerUsageAlert, unknown>;
8176
- declare function customerUsageAlertFromJSON(jsonString: string): Result<CustomerUsageAlert, SDKValidationError>;
8381
+ declare function customerUsageAlertFromJSON(jsonString: string): Result$1<CustomerUsageAlert, SDKValidationError>;
8177
8382
  /** @internal */
8178
8383
  declare const CustomerOverageAllowed$inboundSchema: z$1.ZodMiniType<CustomerOverageAllowed, unknown>;
8179
- declare function customerOverageAllowedFromJSON(jsonString: string): Result<CustomerOverageAllowed, SDKValidationError>;
8384
+ declare function customerOverageAllowedFromJSON(jsonString: string): Result$1<CustomerOverageAllowed, SDKValidationError>;
8180
8385
  /** @internal */
8181
8386
  declare const CustomerBillingControls$inboundSchema: z$1.ZodMiniType<CustomerBillingControls, unknown>;
8182
- declare function customerBillingControlsFromJSON(jsonString: string): Result<CustomerBillingControls, SDKValidationError>;
8387
+ declare function customerBillingControlsFromJSON(jsonString: string): Result$1<CustomerBillingControls, SDKValidationError>;
8183
8388
  /** @internal */
8184
8389
  declare const CustomerStatus$inboundSchema: z$1.ZodMiniType<CustomerStatus, unknown>;
8185
8390
  /** @internal */
8391
+ declare const SubscriptionScope$inboundSchema: z$1.ZodMiniType<SubscriptionScope, unknown>;
8392
+ /** @internal */
8186
8393
  declare const Subscription$inboundSchema: z$1.ZodMiniType<Subscription, unknown>;
8187
- declare function subscriptionFromJSON(jsonString: string): Result<Subscription, SDKValidationError>;
8394
+ declare function subscriptionFromJSON(jsonString: string): Result$1<Subscription, SDKValidationError>;
8395
+ /** @internal */
8396
+ declare const PurchaseScope$inboundSchema: z$1.ZodMiniType<PurchaseScope, unknown>;
8188
8397
  /** @internal */
8189
8398
  declare const Purchase$inboundSchema: z$1.ZodMiniType<Purchase, unknown>;
8190
- declare function purchaseFromJSON(jsonString: string): Result<Purchase, SDKValidationError>;
8399
+ declare function purchaseFromJSON(jsonString: string): Result$1<Purchase, SDKValidationError>;
8191
8400
  /** @internal */
8192
8401
  declare const CustomerFlagsType$inboundSchema: z$1.ZodMiniType<CustomerFlagsType, unknown>;
8193
8402
  /** @internal */
8194
8403
  declare const CustomerCreditSchema$inboundSchema: z$1.ZodMiniType<CustomerCreditSchema, unknown>;
8195
- declare function customerCreditSchemaFromJSON(jsonString: string): Result<CustomerCreditSchema, SDKValidationError>;
8404
+ declare function customerCreditSchemaFromJSON(jsonString: string): Result$1<CustomerCreditSchema, SDKValidationError>;
8196
8405
  /** @internal */
8197
8406
  declare const CustomerDisplay$inboundSchema: z$1.ZodMiniType<CustomerDisplay, unknown>;
8198
- declare function customerDisplayFromJSON(jsonString: string): Result<CustomerDisplay, SDKValidationError>;
8407
+ declare function customerDisplayFromJSON(jsonString: string): Result$1<CustomerDisplay, SDKValidationError>;
8199
8408
  /** @internal */
8200
8409
  declare const CustomerFeature$inboundSchema: z$1.ZodMiniType<CustomerFeature, unknown>;
8201
- declare function customerFeatureFromJSON(jsonString: string): Result<CustomerFeature, SDKValidationError>;
8410
+ declare function customerFeatureFromJSON(jsonString: string): Result$1<CustomerFeature, SDKValidationError>;
8202
8411
  /** @internal */
8203
8412
  declare const Flags$inboundSchema: z$1.ZodMiniType<Flags, unknown>;
8204
- declare function flagsFromJSON(jsonString: string): Result<Flags, SDKValidationError>;
8413
+ declare function flagsFromJSON(jsonString: string): Result$1<Flags, SDKValidationError>;
8205
8414
  /** @internal */
8206
8415
  declare const CustomerConfig$inboundSchema: z$1.ZodMiniType<CustomerConfig, unknown>;
8207
- declare function customerConfigFromJSON(jsonString: string): Result<CustomerConfig, SDKValidationError>;
8416
+ declare function customerConfigFromJSON(jsonString: string): Result$1<CustomerConfig, SDKValidationError>;
8208
8417
  /** @internal */
8209
8418
  declare const Stripe$inboundSchema: z$1.ZodMiniType<Stripe, unknown>;
8210
- declare function stripeFromJSON(jsonString: string): Result<Stripe, SDKValidationError>;
8419
+ declare function stripeFromJSON(jsonString: string): Result$1<Stripe, SDKValidationError>;
8211
8420
  /** @internal */
8212
8421
  declare const Vercel$inboundSchema: z$1.ZodMiniType<Vercel, unknown>;
8213
- declare function vercelFromJSON(jsonString: string): Result<Vercel, SDKValidationError>;
8422
+ declare function vercelFromJSON(jsonString: string): Result$1<Vercel, SDKValidationError>;
8214
8423
  /** @internal */
8215
8424
  declare const Revenuecat$inboundSchema: z$1.ZodMiniType<Revenuecat, unknown>;
8216
- declare function revenuecatFromJSON(jsonString: string): Result<Revenuecat, SDKValidationError>;
8425
+ declare function revenuecatFromJSON(jsonString: string): Result$1<Revenuecat, SDKValidationError>;
8217
8426
  /** @internal */
8218
8427
  declare const Processors$inboundSchema: z$1.ZodMiniType<Processors, unknown>;
8219
- declare function processorsFromJSON(jsonString: string): Result<Processors, SDKValidationError>;
8428
+ declare function processorsFromJSON(jsonString: string): Result$1<Processors, SDKValidationError>;
8220
8429
  /** @internal */
8221
8430
  declare const ProcessorType$inboundSchema: z$1.ZodMiniType<ProcessorType, unknown>;
8222
8431
  /** @internal */
8223
8432
  declare const Invoice$inboundSchema: z$1.ZodMiniType<Invoice, unknown>;
8224
- declare function invoiceFromJSON(jsonString: string): Result<Invoice, SDKValidationError>;
8433
+ declare function invoiceFromJSON(jsonString: string): Result$1<Invoice, SDKValidationError>;
8225
8434
  /** @internal */
8226
8435
  declare const CustomerEntityEnv$inboundSchema: z$1.ZodMiniType<CustomerEntityEnv, unknown>;
8227
8436
  /** @internal */
8228
8437
  declare const Entity$inboundSchema: z$1.ZodMiniType<Entity, unknown>;
8229
- declare function entityFromJSON(jsonString: string): Result<Entity, SDKValidationError>;
8438
+ declare function entityFromJSON(jsonString: string): Result$1<Entity, SDKValidationError>;
8230
8439
  /** @internal */
8231
8440
  declare const TrialsUsed$inboundSchema: z$1.ZodMiniType<TrialsUsed, unknown>;
8232
- declare function trialsUsedFromJSON(jsonString: string): Result<TrialsUsed, SDKValidationError>;
8441
+ declare function trialsUsedFromJSON(jsonString: string): Result$1<TrialsUsed, SDKValidationError>;
8233
8442
  /** @internal */
8234
8443
  declare const CustomerRewardsType$inboundSchema: z$1.ZodMiniType<CustomerRewardsType, unknown>;
8235
8444
  /** @internal */
8236
8445
  declare const CustomerDurationType$inboundSchema: z$1.ZodMiniType<CustomerDurationType, unknown>;
8237
8446
  /** @internal */
8238
8447
  declare const Discount$inboundSchema: z$1.ZodMiniType<Discount, unknown>;
8239
- declare function discountFromJSON(jsonString: string): Result<Discount, SDKValidationError>;
8448
+ declare function discountFromJSON(jsonString: string): Result$1<Discount, SDKValidationError>;
8240
8449
  /** @internal */
8241
8450
  declare const Rewards$inboundSchema: z$1.ZodMiniType<Rewards$1, unknown>;
8242
- declare function rewardsFromJSON(jsonString: string): Result<Rewards$1, SDKValidationError>;
8451
+ declare function rewardsFromJSON(jsonString: string): Result$1<Rewards$1, SDKValidationError>;
8243
8452
  /** @internal */
8244
8453
  declare const ReferralCustomer$inboundSchema: z$1.ZodMiniType<ReferralCustomer, unknown>;
8245
- declare function referralCustomerFromJSON(jsonString: string): Result<ReferralCustomer, SDKValidationError>;
8454
+ declare function referralCustomerFromJSON(jsonString: string): Result$1<ReferralCustomer, SDKValidationError>;
8246
8455
  /** @internal */
8247
8456
  declare const Referral$inboundSchema: z$1.ZodMiniType<Referral, unknown>;
8248
- declare function referralFromJSON(jsonString: string): Result<Referral, SDKValidationError>;
8457
+ declare function referralFromJSON(jsonString: string): Result$1<Referral, SDKValidationError>;
8249
8458
  /** @internal */
8250
8459
  declare const Customer$inboundSchema: z$1.ZodMiniType<Customer, unknown>;
8251
- declare function customerFromJSON(jsonString: string): Result<Customer, SDKValidationError>;
8460
+ declare function customerFromJSON(jsonString: string): Result$1<Customer, SDKValidationError>;
8252
8461
 
8253
8462
  type DeleteBalanceGlobals = {
8254
8463
  xApiVersion?: string | undefined;
@@ -8319,7 +8528,7 @@ declare const DeleteBalanceParams$outboundSchema: z$1.ZodMiniType<DeleteBalanceP
8319
8528
  declare function deleteBalanceParamsToJSON(deleteBalanceParams: DeleteBalanceParams): string;
8320
8529
  /** @internal */
8321
8530
  declare const DeleteBalanceResponse$inboundSchema: z$1.ZodMiniType<DeleteBalanceResponse, unknown>;
8322
- declare function deleteBalanceResponseFromJSON(jsonString: string): Result<DeleteBalanceResponse, SDKValidationError>;
8531
+ declare function deleteBalanceResponseFromJSON(jsonString: string): Result$1<DeleteBalanceResponse, SDKValidationError>;
8323
8532
 
8324
8533
  type DeleteCustomerGlobals = {
8325
8534
  xApiVersion?: string | undefined;
@@ -8350,7 +8559,7 @@ declare const DeleteCustomerParams$outboundSchema: z$1.ZodMiniType<DeleteCustome
8350
8559
  declare function deleteCustomerParamsToJSON(deleteCustomerParams: DeleteCustomerParams): string;
8351
8560
  /** @internal */
8352
8561
  declare const DeleteCustomerResponse$inboundSchema: z$1.ZodMiniType<DeleteCustomerResponse, unknown>;
8353
- declare function deleteCustomerResponseFromJSON(jsonString: string): Result<DeleteCustomerResponse, SDKValidationError>;
8562
+ declare function deleteCustomerResponseFromJSON(jsonString: string): Result$1<DeleteCustomerResponse, SDKValidationError>;
8354
8563
 
8355
8564
  type DeleteEntityGlobals = {
8356
8565
  xApiVersion?: string | undefined;
@@ -8381,7 +8590,7 @@ declare const DeleteEntityParams$outboundSchema: z$1.ZodMiniType<DeleteEntityPar
8381
8590
  declare function deleteEntityParamsToJSON(deleteEntityParams: DeleteEntityParams): string;
8382
8591
  /** @internal */
8383
8592
  declare const DeleteEntityResponse$inboundSchema: z$1.ZodMiniType<DeleteEntityResponse, unknown>;
8384
- declare function deleteEntityResponseFromJSON(jsonString: string): Result<DeleteEntityResponse, SDKValidationError>;
8593
+ declare function deleteEntityResponseFromJSON(jsonString: string): Result$1<DeleteEntityResponse, SDKValidationError>;
8385
8594
 
8386
8595
  type DeleteFeatureGlobals = {
8387
8596
  xApiVersion?: string | undefined;
@@ -8407,7 +8616,7 @@ declare const DeleteFeatureParams$outboundSchema: z$1.ZodMiniType<DeleteFeatureP
8407
8616
  declare function deleteFeatureParamsToJSON(deleteFeatureParams: DeleteFeatureParams): string;
8408
8617
  /** @internal */
8409
8618
  declare const DeleteFeatureResponse$inboundSchema: z$1.ZodMiniType<DeleteFeatureResponse, unknown>;
8410
- declare function deleteFeatureResponseFromJSON(jsonString: string): Result<DeleteFeatureResponse, SDKValidationError>;
8619
+ declare function deleteFeatureResponseFromJSON(jsonString: string): Result$1<DeleteFeatureResponse, SDKValidationError>;
8411
8620
 
8412
8621
  type DeletePlanGlobals = {
8413
8622
  xApiVersion?: string | undefined;
@@ -8438,7 +8647,7 @@ declare const DeletePlanParams$outboundSchema: z$1.ZodMiniType<DeletePlanParams$
8438
8647
  declare function deletePlanParamsToJSON(deletePlanParams: DeletePlanParams): string;
8439
8648
  /** @internal */
8440
8649
  declare const DeletePlanResponse$inboundSchema: z$1.ZodMiniType<DeletePlanResponse, unknown>;
8441
- declare function deletePlanResponseFromJSON(jsonString: string): Result<DeletePlanResponse, SDKValidationError>;
8650
+ declare function deletePlanResponseFromJSON(jsonString: string): Result$1<DeletePlanResponse, SDKValidationError>;
8442
8651
 
8443
8652
  type FinalizeLockGlobals = {
8444
8653
  xApiVersion?: string | undefined;
@@ -8503,13 +8712,13 @@ declare const FinalizeBalanceParams$outboundSchema: z$1.ZodMiniType<FinalizeBala
8503
8712
  declare function finalizeBalanceParamsToJSON(finalizeBalanceParams: FinalizeBalanceParams): string;
8504
8713
  /** @internal */
8505
8714
  declare const FinalizeLockResponseBody2$inboundSchema: z$1.ZodMiniType<FinalizeLockResponseBody2, unknown>;
8506
- declare function finalizeLockResponseBody2FromJSON(jsonString: string): Result<FinalizeLockResponseBody2, SDKValidationError>;
8715
+ declare function finalizeLockResponseBody2FromJSON(jsonString: string): Result$1<FinalizeLockResponseBody2, SDKValidationError>;
8507
8716
  /** @internal */
8508
8717
  declare const FinalizeLockResponseBody1$inboundSchema: z$1.ZodMiniType<FinalizeLockResponseBody1, unknown>;
8509
- declare function finalizeLockResponseBody1FromJSON(jsonString: string): Result<FinalizeLockResponseBody1, SDKValidationError>;
8718
+ declare function finalizeLockResponseBody1FromJSON(jsonString: string): Result$1<FinalizeLockResponseBody1, SDKValidationError>;
8510
8719
  /** @internal */
8511
8720
  declare const FinalizeLockResponse$inboundSchema: z$1.ZodMiniType<FinalizeLockResponse, unknown>;
8512
- declare function finalizeLockResponseFromJSON(jsonString: string): Result<FinalizeLockResponse, SDKValidationError>;
8721
+ declare function finalizeLockResponseFromJSON(jsonString: string): Result$1<FinalizeLockResponse, SDKValidationError>;
8513
8722
 
8514
8723
  type GetCustomerGlobals = {
8515
8724
  xApiVersion?: string | undefined;
@@ -8712,6 +8921,17 @@ declare const GetCustomerStatus: {
8712
8921
  * Current status of the subscription.
8713
8922
  */
8714
8923
  type GetCustomerStatus = OpenEnum<typeof GetCustomerStatus>;
8924
+ /**
8925
+ * Whether this subscription is attached at the customer level or entity level.
8926
+ */
8927
+ declare const GetCustomerSubscriptionScope: {
8928
+ readonly Customer: "customer";
8929
+ readonly Entity: "entity";
8930
+ };
8931
+ /**
8932
+ * Whether this subscription is attached at the customer level or entity level.
8933
+ */
8934
+ type GetCustomerSubscriptionScope = OpenEnum<typeof GetCustomerSubscriptionScope>;
8715
8935
  type GetCustomerSubscription = {
8716
8936
  /**
8717
8937
  * The unique identifier of this subscription. If a subscription_id was provided at attach time, it is used; otherwise, falls back to the internal ID.
@@ -8766,7 +8986,22 @@ type GetCustomerSubscription = {
8766
8986
  * Number of units of this subscription (for per-seat plans).
8767
8987
  */
8768
8988
  quantity: number;
8989
+ /**
8990
+ * Whether this subscription is attached at the customer level or entity level.
8991
+ */
8992
+ scope?: GetCustomerSubscriptionScope | undefined;
8769
8993
  };
8994
+ /**
8995
+ * Whether this purchase is attached at the customer level or entity level.
8996
+ */
8997
+ declare const GetCustomerPurchaseScope: {
8998
+ readonly Customer: "customer";
8999
+ readonly Entity: "entity";
9000
+ };
9001
+ /**
9002
+ * Whether this purchase is attached at the customer level or entity level.
9003
+ */
9004
+ type GetCustomerPurchaseScope = OpenEnum<typeof GetCustomerPurchaseScope>;
8770
9005
  type GetCustomerPurchase = {
8771
9006
  plan?: Plan | undefined;
8772
9007
  /**
@@ -8785,6 +9020,10 @@ type GetCustomerPurchase = {
8785
9020
  * Number of units purchased.
8786
9021
  */
8787
9022
  quantity: number;
9023
+ /**
9024
+ * Whether this purchase is attached at the customer level or entity level.
9025
+ */
9026
+ scope?: GetCustomerPurchaseScope | undefined;
8788
9027
  };
8789
9028
  /**
8790
9029
  * Feature type: 'boolean' for on/off access, 'metered' for usage-tracked features, 'credit_system' for unified credit pools.
@@ -9226,101 +9465,105 @@ declare const GetCustomerEnv$inboundSchema: z$1.ZodMiniType<GetCustomerEnv, unkn
9226
9465
  declare const GetCustomerInterval2$inboundSchema: z$1.ZodMiniType<GetCustomerInterval2, unknown>;
9227
9466
  /** @internal */
9228
9467
  declare const GetCustomerPurchaseLimit2$inboundSchema: z$1.ZodMiniType<GetCustomerPurchaseLimit2, unknown>;
9229
- declare function getCustomerPurchaseLimit2FromJSON(jsonString: string): Result<GetCustomerPurchaseLimit2, SDKValidationError>;
9468
+ declare function getCustomerPurchaseLimit2FromJSON(jsonString: string): Result$1<GetCustomerPurchaseLimit2, SDKValidationError>;
9230
9469
  /** @internal */
9231
9470
  declare const GetCustomerInterval1$inboundSchema: z$1.ZodMiniType<GetCustomerInterval1, unknown>;
9232
9471
  /** @internal */
9233
9472
  declare const GetCustomerPurchaseLimit1$inboundSchema: z$1.ZodMiniType<GetCustomerPurchaseLimit1, unknown>;
9234
- declare function getCustomerPurchaseLimit1FromJSON(jsonString: string): Result<GetCustomerPurchaseLimit1, SDKValidationError>;
9473
+ declare function getCustomerPurchaseLimit1FromJSON(jsonString: string): Result$1<GetCustomerPurchaseLimit1, SDKValidationError>;
9235
9474
  /** @internal */
9236
9475
  declare const GetCustomerPurchaseLimitUnion$inboundSchema: z$1.ZodMiniType<GetCustomerPurchaseLimitUnion, unknown>;
9237
- declare function getCustomerPurchaseLimitUnionFromJSON(jsonString: string): Result<GetCustomerPurchaseLimitUnion, SDKValidationError>;
9476
+ declare function getCustomerPurchaseLimitUnionFromJSON(jsonString: string): Result$1<GetCustomerPurchaseLimitUnion, SDKValidationError>;
9238
9477
  /** @internal */
9239
9478
  declare const GetCustomerAutoTopup$inboundSchema: z$1.ZodMiniType<GetCustomerAutoTopup, unknown>;
9240
- declare function getCustomerAutoTopupFromJSON(jsonString: string): Result<GetCustomerAutoTopup, SDKValidationError>;
9479
+ declare function getCustomerAutoTopupFromJSON(jsonString: string): Result$1<GetCustomerAutoTopup, SDKValidationError>;
9241
9480
  /** @internal */
9242
9481
  declare const GetCustomerSpendLimit$inboundSchema: z$1.ZodMiniType<GetCustomerSpendLimit, unknown>;
9243
- declare function getCustomerSpendLimitFromJSON(jsonString: string): Result<GetCustomerSpendLimit, SDKValidationError>;
9482
+ declare function getCustomerSpendLimitFromJSON(jsonString: string): Result$1<GetCustomerSpendLimit, SDKValidationError>;
9244
9483
  /** @internal */
9245
9484
  declare const GetCustomerThresholdType$inboundSchema: z$1.ZodMiniType<GetCustomerThresholdType, unknown>;
9246
9485
  /** @internal */
9247
9486
  declare const GetCustomerUsageAlert$inboundSchema: z$1.ZodMiniType<GetCustomerUsageAlert, unknown>;
9248
- declare function getCustomerUsageAlertFromJSON(jsonString: string): Result<GetCustomerUsageAlert, SDKValidationError>;
9487
+ declare function getCustomerUsageAlertFromJSON(jsonString: string): Result$1<GetCustomerUsageAlert, SDKValidationError>;
9249
9488
  /** @internal */
9250
9489
  declare const GetCustomerOverageAllowed$inboundSchema: z$1.ZodMiniType<GetCustomerOverageAllowed, unknown>;
9251
- declare function getCustomerOverageAllowedFromJSON(jsonString: string): Result<GetCustomerOverageAllowed, SDKValidationError>;
9490
+ declare function getCustomerOverageAllowedFromJSON(jsonString: string): Result$1<GetCustomerOverageAllowed, SDKValidationError>;
9252
9491
  /** @internal */
9253
9492
  declare const GetCustomerBillingControls$inboundSchema: z$1.ZodMiniType<GetCustomerBillingControls, unknown>;
9254
- declare function getCustomerBillingControlsFromJSON(jsonString: string): Result<GetCustomerBillingControls, SDKValidationError>;
9493
+ declare function getCustomerBillingControlsFromJSON(jsonString: string): Result$1<GetCustomerBillingControls, SDKValidationError>;
9255
9494
  /** @internal */
9256
9495
  declare const GetCustomerStatus$inboundSchema: z$1.ZodMiniType<GetCustomerStatus, unknown>;
9257
9496
  /** @internal */
9497
+ declare const GetCustomerSubscriptionScope$inboundSchema: z$1.ZodMiniType<GetCustomerSubscriptionScope, unknown>;
9498
+ /** @internal */
9258
9499
  declare const GetCustomerSubscription$inboundSchema: z$1.ZodMiniType<GetCustomerSubscription, unknown>;
9259
- declare function getCustomerSubscriptionFromJSON(jsonString: string): Result<GetCustomerSubscription, SDKValidationError>;
9500
+ declare function getCustomerSubscriptionFromJSON(jsonString: string): Result$1<GetCustomerSubscription, SDKValidationError>;
9501
+ /** @internal */
9502
+ declare const GetCustomerPurchaseScope$inboundSchema: z$1.ZodMiniType<GetCustomerPurchaseScope, unknown>;
9260
9503
  /** @internal */
9261
9504
  declare const GetCustomerPurchase$inboundSchema: z$1.ZodMiniType<GetCustomerPurchase, unknown>;
9262
- declare function getCustomerPurchaseFromJSON(jsonString: string): Result<GetCustomerPurchase, SDKValidationError>;
9505
+ declare function getCustomerPurchaseFromJSON(jsonString: string): Result$1<GetCustomerPurchase, SDKValidationError>;
9263
9506
  /** @internal */
9264
9507
  declare const GetCustomerFlagsType$inboundSchema: z$1.ZodMiniType<GetCustomerFlagsType, unknown>;
9265
9508
  /** @internal */
9266
9509
  declare const GetCustomerCreditSchema$inboundSchema: z$1.ZodMiniType<GetCustomerCreditSchema, unknown>;
9267
- declare function getCustomerCreditSchemaFromJSON(jsonString: string): Result<GetCustomerCreditSchema, SDKValidationError>;
9510
+ declare function getCustomerCreditSchemaFromJSON(jsonString: string): Result$1<GetCustomerCreditSchema, SDKValidationError>;
9268
9511
  /** @internal */
9269
9512
  declare const GetCustomerDisplay$inboundSchema: z$1.ZodMiniType<GetCustomerDisplay, unknown>;
9270
- declare function getCustomerDisplayFromJSON(jsonString: string): Result<GetCustomerDisplay, SDKValidationError>;
9513
+ declare function getCustomerDisplayFromJSON(jsonString: string): Result$1<GetCustomerDisplay, SDKValidationError>;
9271
9514
  /** @internal */
9272
9515
  declare const GetCustomerFeature$inboundSchema: z$1.ZodMiniType<GetCustomerFeature, unknown>;
9273
- declare function getCustomerFeatureFromJSON(jsonString: string): Result<GetCustomerFeature, SDKValidationError>;
9516
+ declare function getCustomerFeatureFromJSON(jsonString: string): Result$1<GetCustomerFeature, SDKValidationError>;
9274
9517
  /** @internal */
9275
9518
  declare const GetCustomerFlags$inboundSchema: z$1.ZodMiniType<GetCustomerFlags, unknown>;
9276
- declare function getCustomerFlagsFromJSON(jsonString: string): Result<GetCustomerFlags, SDKValidationError>;
9519
+ declare function getCustomerFlagsFromJSON(jsonString: string): Result$1<GetCustomerFlags, SDKValidationError>;
9277
9520
  /** @internal */
9278
9521
  declare const GetCustomerConfig$inboundSchema: z$1.ZodMiniType<GetCustomerConfig, unknown>;
9279
- declare function getCustomerConfigFromJSON(jsonString: string): Result<GetCustomerConfig, SDKValidationError>;
9522
+ declare function getCustomerConfigFromJSON(jsonString: string): Result$1<GetCustomerConfig, SDKValidationError>;
9280
9523
  /** @internal */
9281
9524
  declare const GetCustomerStripe$inboundSchema: z$1.ZodMiniType<GetCustomerStripe, unknown>;
9282
- declare function getCustomerStripeFromJSON(jsonString: string): Result<GetCustomerStripe, SDKValidationError>;
9525
+ declare function getCustomerStripeFromJSON(jsonString: string): Result$1<GetCustomerStripe, SDKValidationError>;
9283
9526
  /** @internal */
9284
9527
  declare const GetCustomerVercel$inboundSchema: z$1.ZodMiniType<GetCustomerVercel, unknown>;
9285
- declare function getCustomerVercelFromJSON(jsonString: string): Result<GetCustomerVercel, SDKValidationError>;
9528
+ declare function getCustomerVercelFromJSON(jsonString: string): Result$1<GetCustomerVercel, SDKValidationError>;
9286
9529
  /** @internal */
9287
9530
  declare const GetCustomerRevenuecat$inboundSchema: z$1.ZodMiniType<GetCustomerRevenuecat, unknown>;
9288
- declare function getCustomerRevenuecatFromJSON(jsonString: string): Result<GetCustomerRevenuecat, SDKValidationError>;
9531
+ declare function getCustomerRevenuecatFromJSON(jsonString: string): Result$1<GetCustomerRevenuecat, SDKValidationError>;
9289
9532
  /** @internal */
9290
9533
  declare const GetCustomerProcessors$inboundSchema: z$1.ZodMiniType<GetCustomerProcessors, unknown>;
9291
- declare function getCustomerProcessorsFromJSON(jsonString: string): Result<GetCustomerProcessors, SDKValidationError>;
9534
+ declare function getCustomerProcessorsFromJSON(jsonString: string): Result$1<GetCustomerProcessors, SDKValidationError>;
9292
9535
  /** @internal */
9293
9536
  declare const GetCustomerProcessorType$inboundSchema: z$1.ZodMiniType<GetCustomerProcessorType, unknown>;
9294
9537
  /** @internal */
9295
9538
  declare const GetCustomerInvoice$inboundSchema: z$1.ZodMiniType<GetCustomerInvoice, unknown>;
9296
- declare function getCustomerInvoiceFromJSON(jsonString: string): Result<GetCustomerInvoice, SDKValidationError>;
9539
+ declare function getCustomerInvoiceFromJSON(jsonString: string): Result$1<GetCustomerInvoice, SDKValidationError>;
9297
9540
  /** @internal */
9298
9541
  declare const GetCustomerEntityEnv$inboundSchema: z$1.ZodMiniType<GetCustomerEntityEnv, unknown>;
9299
9542
  /** @internal */
9300
9543
  declare const GetCustomerEntity$inboundSchema: z$1.ZodMiniType<GetCustomerEntity, unknown>;
9301
- declare function getCustomerEntityFromJSON(jsonString: string): Result<GetCustomerEntity, SDKValidationError>;
9544
+ declare function getCustomerEntityFromJSON(jsonString: string): Result$1<GetCustomerEntity, SDKValidationError>;
9302
9545
  /** @internal */
9303
9546
  declare const GetCustomerTrialsUsed$inboundSchema: z$1.ZodMiniType<GetCustomerTrialsUsed, unknown>;
9304
- declare function getCustomerTrialsUsedFromJSON(jsonString: string): Result<GetCustomerTrialsUsed, SDKValidationError>;
9547
+ declare function getCustomerTrialsUsedFromJSON(jsonString: string): Result$1<GetCustomerTrialsUsed, SDKValidationError>;
9305
9548
  /** @internal */
9306
9549
  declare const GetCustomerRewardsType$inboundSchema: z$1.ZodMiniType<GetCustomerRewardsType, unknown>;
9307
9550
  /** @internal */
9308
9551
  declare const GetCustomerDurationType$inboundSchema: z$1.ZodMiniType<GetCustomerDurationType, unknown>;
9309
9552
  /** @internal */
9310
9553
  declare const GetCustomerDiscount$inboundSchema: z$1.ZodMiniType<GetCustomerDiscount, unknown>;
9311
- declare function getCustomerDiscountFromJSON(jsonString: string): Result<GetCustomerDiscount, SDKValidationError>;
9554
+ declare function getCustomerDiscountFromJSON(jsonString: string): Result$1<GetCustomerDiscount, SDKValidationError>;
9312
9555
  /** @internal */
9313
9556
  declare const GetCustomerRewards$inboundSchema: z$1.ZodMiniType<GetCustomerRewards, unknown>;
9314
- declare function getCustomerRewardsFromJSON(jsonString: string): Result<GetCustomerRewards, SDKValidationError>;
9557
+ declare function getCustomerRewardsFromJSON(jsonString: string): Result$1<GetCustomerRewards, SDKValidationError>;
9315
9558
  /** @internal */
9316
9559
  declare const GetCustomerCustomer$inboundSchema: z$1.ZodMiniType<GetCustomerCustomer, unknown>;
9317
- declare function getCustomerCustomerFromJSON(jsonString: string): Result<GetCustomerCustomer, SDKValidationError>;
9560
+ declare function getCustomerCustomerFromJSON(jsonString: string): Result$1<GetCustomerCustomer, SDKValidationError>;
9318
9561
  /** @internal */
9319
9562
  declare const GetCustomerReferral$inboundSchema: z$1.ZodMiniType<GetCustomerReferral, unknown>;
9320
- declare function getCustomerReferralFromJSON(jsonString: string): Result<GetCustomerReferral, SDKValidationError>;
9563
+ declare function getCustomerReferralFromJSON(jsonString: string): Result$1<GetCustomerReferral, SDKValidationError>;
9321
9564
  /** @internal */
9322
9565
  declare const GetCustomerResponse$inboundSchema: z$1.ZodMiniType<GetCustomerResponse, unknown>;
9323
- declare function getCustomerResponseFromJSON(jsonString: string): Result<GetCustomerResponse, SDKValidationError>;
9566
+ declare function getCustomerResponseFromJSON(jsonString: string): Result$1<GetCustomerResponse, SDKValidationError>;
9324
9567
 
9325
9568
  type GetEntityGlobals = {
9326
9569
  xApiVersion?: string | undefined;
@@ -9357,6 +9600,17 @@ declare const GetEntityStatus: {
9357
9600
  * Current status of the subscription.
9358
9601
  */
9359
9602
  type GetEntityStatus = OpenEnum<typeof GetEntityStatus>;
9603
+ /**
9604
+ * Whether this subscription is attached at the customer level or entity level.
9605
+ */
9606
+ declare const GetEntitySubscriptionScope: {
9607
+ readonly Customer: "customer";
9608
+ readonly Entity: "entity";
9609
+ };
9610
+ /**
9611
+ * Whether this subscription is attached at the customer level or entity level.
9612
+ */
9613
+ type GetEntitySubscriptionScope = OpenEnum<typeof GetEntitySubscriptionScope>;
9360
9614
  type GetEntitySubscription = {
9361
9615
  /**
9362
9616
  * The unique identifier of this subscription. If a subscription_id was provided at attach time, it is used; otherwise, falls back to the internal ID.
@@ -9411,7 +9665,22 @@ type GetEntitySubscription = {
9411
9665
  * Number of units of this subscription (for per-seat plans).
9412
9666
  */
9413
9667
  quantity: number;
9668
+ /**
9669
+ * Whether this subscription is attached at the customer level or entity level.
9670
+ */
9671
+ scope?: GetEntitySubscriptionScope | undefined;
9672
+ };
9673
+ /**
9674
+ * Whether this purchase is attached at the customer level or entity level.
9675
+ */
9676
+ declare const GetEntityPurchaseScope: {
9677
+ readonly Customer: "customer";
9678
+ readonly Entity: "entity";
9414
9679
  };
9680
+ /**
9681
+ * Whether this purchase is attached at the customer level or entity level.
9682
+ */
9683
+ type GetEntityPurchaseScope = OpenEnum<typeof GetEntityPurchaseScope>;
9415
9684
  type GetEntityPurchase = {
9416
9685
  plan?: Plan | undefined;
9417
9686
  /**
@@ -9430,6 +9699,10 @@ type GetEntityPurchase = {
9430
9699
  * Number of units purchased.
9431
9700
  */
9432
9701
  quantity: number;
9702
+ /**
9703
+ * Whether this purchase is attached at the customer level or entity level.
9704
+ */
9705
+ scope?: GetEntityPurchaseScope | undefined;
9433
9706
  };
9434
9707
  /**
9435
9708
  * Feature type: 'boolean' for on/off access, 'metered' for usage-tracked features, 'credit_system' for unified credit pools.
@@ -9704,47 +9977,51 @@ declare const GetEntityEnv$inboundSchema: z$1.ZodMiniType<GetEntityEnv, unknown>
9704
9977
  /** @internal */
9705
9978
  declare const GetEntityStatus$inboundSchema: z$1.ZodMiniType<GetEntityStatus, unknown>;
9706
9979
  /** @internal */
9980
+ declare const GetEntitySubscriptionScope$inboundSchema: z$1.ZodMiniType<GetEntitySubscriptionScope, unknown>;
9981
+ /** @internal */
9707
9982
  declare const GetEntitySubscription$inboundSchema: z$1.ZodMiniType<GetEntitySubscription, unknown>;
9708
- declare function getEntitySubscriptionFromJSON(jsonString: string): Result<GetEntitySubscription, SDKValidationError>;
9983
+ declare function getEntitySubscriptionFromJSON(jsonString: string): Result$1<GetEntitySubscription, SDKValidationError>;
9984
+ /** @internal */
9985
+ declare const GetEntityPurchaseScope$inboundSchema: z$1.ZodMiniType<GetEntityPurchaseScope, unknown>;
9709
9986
  /** @internal */
9710
9987
  declare const GetEntityPurchase$inboundSchema: z$1.ZodMiniType<GetEntityPurchase, unknown>;
9711
- declare function getEntityPurchaseFromJSON(jsonString: string): Result<GetEntityPurchase, SDKValidationError>;
9988
+ declare function getEntityPurchaseFromJSON(jsonString: string): Result$1<GetEntityPurchase, SDKValidationError>;
9712
9989
  /** @internal */
9713
9990
  declare const GetEntityType$inboundSchema: z$1.ZodMiniType<GetEntityType, unknown>;
9714
9991
  /** @internal */
9715
9992
  declare const GetEntityCreditSchema$inboundSchema: z$1.ZodMiniType<GetEntityCreditSchema, unknown>;
9716
- declare function getEntityCreditSchemaFromJSON(jsonString: string): Result<GetEntityCreditSchema, SDKValidationError>;
9993
+ declare function getEntityCreditSchemaFromJSON(jsonString: string): Result$1<GetEntityCreditSchema, SDKValidationError>;
9717
9994
  /** @internal */
9718
9995
  declare const GetEntityDisplay$inboundSchema: z$1.ZodMiniType<GetEntityDisplay, unknown>;
9719
- declare function getEntityDisplayFromJSON(jsonString: string): Result<GetEntityDisplay, SDKValidationError>;
9996
+ declare function getEntityDisplayFromJSON(jsonString: string): Result$1<GetEntityDisplay, SDKValidationError>;
9720
9997
  /** @internal */
9721
9998
  declare const GetEntityFeature$inboundSchema: z$1.ZodMiniType<GetEntityFeature, unknown>;
9722
- declare function getEntityFeatureFromJSON(jsonString: string): Result<GetEntityFeature, SDKValidationError>;
9999
+ declare function getEntityFeatureFromJSON(jsonString: string): Result$1<GetEntityFeature, SDKValidationError>;
9723
10000
  /** @internal */
9724
10001
  declare const GetEntityFlags$inboundSchema: z$1.ZodMiniType<GetEntityFlags, unknown>;
9725
- declare function getEntityFlagsFromJSON(jsonString: string): Result<GetEntityFlags, SDKValidationError>;
10002
+ declare function getEntityFlagsFromJSON(jsonString: string): Result$1<GetEntityFlags, SDKValidationError>;
9726
10003
  /** @internal */
9727
10004
  declare const GetEntitySpendLimit$inboundSchema: z$1.ZodMiniType<GetEntitySpendLimit, unknown>;
9728
- declare function getEntitySpendLimitFromJSON(jsonString: string): Result<GetEntitySpendLimit, SDKValidationError>;
10005
+ declare function getEntitySpendLimitFromJSON(jsonString: string): Result$1<GetEntitySpendLimit, SDKValidationError>;
9729
10006
  /** @internal */
9730
10007
  declare const GetEntityThresholdType$inboundSchema: z$1.ZodMiniType<GetEntityThresholdType, unknown>;
9731
10008
  /** @internal */
9732
10009
  declare const GetEntityUsageAlert$inboundSchema: z$1.ZodMiniType<GetEntityUsageAlert, unknown>;
9733
- declare function getEntityUsageAlertFromJSON(jsonString: string): Result<GetEntityUsageAlert, SDKValidationError>;
10010
+ declare function getEntityUsageAlertFromJSON(jsonString: string): Result$1<GetEntityUsageAlert, SDKValidationError>;
9734
10011
  /** @internal */
9735
10012
  declare const GetEntityOverageAllowed$inboundSchema: z$1.ZodMiniType<GetEntityOverageAllowed, unknown>;
9736
- declare function getEntityOverageAllowedFromJSON(jsonString: string): Result<GetEntityOverageAllowed, SDKValidationError>;
10013
+ declare function getEntityOverageAllowedFromJSON(jsonString: string): Result$1<GetEntityOverageAllowed, SDKValidationError>;
9737
10014
  /** @internal */
9738
10015
  declare const GetEntityBillingControls$inboundSchema: z$1.ZodMiniType<GetEntityBillingControls, unknown>;
9739
- declare function getEntityBillingControlsFromJSON(jsonString: string): Result<GetEntityBillingControls, SDKValidationError>;
10016
+ declare function getEntityBillingControlsFromJSON(jsonString: string): Result$1<GetEntityBillingControls, SDKValidationError>;
9740
10017
  /** @internal */
9741
10018
  declare const GetEntityProcessorType$inboundSchema: z$1.ZodMiniType<GetEntityProcessorType, unknown>;
9742
10019
  /** @internal */
9743
10020
  declare const GetEntityInvoice$inboundSchema: z$1.ZodMiniType<GetEntityInvoice, unknown>;
9744
- declare function getEntityInvoiceFromJSON(jsonString: string): Result<GetEntityInvoice, SDKValidationError>;
10021
+ declare function getEntityInvoiceFromJSON(jsonString: string): Result$1<GetEntityInvoice, SDKValidationError>;
9745
10022
  /** @internal */
9746
10023
  declare const GetEntityResponse$inboundSchema: z$1.ZodMiniType<GetEntityResponse, unknown>;
9747
- declare function getEntityResponseFromJSON(jsonString: string): Result<GetEntityResponse, SDKValidationError>;
10024
+ declare function getEntityResponseFromJSON(jsonString: string): Result$1<GetEntityResponse, SDKValidationError>;
9748
10025
 
9749
10026
  type GetFeatureGlobals = {
9750
10027
  xApiVersion?: string | undefined;
@@ -9838,13 +10115,13 @@ declare function getFeatureParamsToJSON(getFeatureParams: GetFeatureParams): str
9838
10115
  declare const GetFeatureType$inboundSchema: z$1.ZodMiniType<GetFeatureType, unknown>;
9839
10116
  /** @internal */
9840
10117
  declare const GetFeatureCreditSchema$inboundSchema: z$1.ZodMiniType<GetFeatureCreditSchema, unknown>;
9841
- declare function getFeatureCreditSchemaFromJSON(jsonString: string): Result<GetFeatureCreditSchema, SDKValidationError>;
10118
+ declare function getFeatureCreditSchemaFromJSON(jsonString: string): Result$1<GetFeatureCreditSchema, SDKValidationError>;
9842
10119
  /** @internal */
9843
10120
  declare const GetFeatureDisplay$inboundSchema: z$1.ZodMiniType<GetFeatureDisplay, unknown>;
9844
- declare function getFeatureDisplayFromJSON(jsonString: string): Result<GetFeatureDisplay, SDKValidationError>;
10121
+ declare function getFeatureDisplayFromJSON(jsonString: string): Result$1<GetFeatureDisplay, SDKValidationError>;
9845
10122
  /** @internal */
9846
10123
  declare const GetFeatureResponse$inboundSchema: z$1.ZodMiniType<GetFeatureResponse, unknown>;
9847
- declare function getFeatureResponseFromJSON(jsonString: string): Result<GetFeatureResponse, SDKValidationError>;
10124
+ declare function getFeatureResponseFromJSON(jsonString: string): Result$1<GetFeatureResponse, SDKValidationError>;
9848
10125
 
9849
10126
  type GetOrCreateCustomerGlobals = {
9850
10127
  xApiVersion?: string | undefined;
@@ -10608,26 +10885,26 @@ declare function getPlanParamsToJSON(getPlanParams: GetPlanParams): string;
10608
10885
  declare const GetPlanPriceInterval$inboundSchema: z$1.ZodMiniType<GetPlanPriceInterval, unknown>;
10609
10886
  /** @internal */
10610
10887
  declare const GetPlanPriceDisplay$inboundSchema: z$1.ZodMiniType<GetPlanPriceDisplay, unknown>;
10611
- declare function getPlanPriceDisplayFromJSON(jsonString: string): Result<GetPlanPriceDisplay, SDKValidationError>;
10888
+ declare function getPlanPriceDisplayFromJSON(jsonString: string): Result$1<GetPlanPriceDisplay, SDKValidationError>;
10612
10889
  /** @internal */
10613
10890
  declare const GetPlanPrice$inboundSchema: z$1.ZodMiniType<GetPlanPrice, unknown>;
10614
- declare function getPlanPriceFromJSON(jsonString: string): Result<GetPlanPrice, SDKValidationError>;
10891
+ declare function getPlanPriceFromJSON(jsonString: string): Result$1<GetPlanPrice, SDKValidationError>;
10615
10892
  /** @internal */
10616
10893
  declare const GetPlanType$inboundSchema: z$1.ZodMiniType<GetPlanType, unknown>;
10617
10894
  /** @internal */
10618
10895
  declare const GetPlanFeatureDisplay$inboundSchema: z$1.ZodMiniType<GetPlanFeatureDisplay, unknown>;
10619
- declare function getPlanFeatureDisplayFromJSON(jsonString: string): Result<GetPlanFeatureDisplay, SDKValidationError>;
10896
+ declare function getPlanFeatureDisplayFromJSON(jsonString: string): Result$1<GetPlanFeatureDisplay, SDKValidationError>;
10620
10897
  /** @internal */
10621
10898
  declare const GetPlanCreditSchema$inboundSchema: z$1.ZodMiniType<GetPlanCreditSchema, unknown>;
10622
- declare function getPlanCreditSchemaFromJSON(jsonString: string): Result<GetPlanCreditSchema, SDKValidationError>;
10899
+ declare function getPlanCreditSchemaFromJSON(jsonString: string): Result$1<GetPlanCreditSchema, SDKValidationError>;
10623
10900
  /** @internal */
10624
10901
  declare const GetPlanFeature$inboundSchema: z$1.ZodMiniType<GetPlanFeature, unknown>;
10625
- declare function getPlanFeatureFromJSON(jsonString: string): Result<GetPlanFeature, SDKValidationError>;
10902
+ declare function getPlanFeatureFromJSON(jsonString: string): Result$1<GetPlanFeature, SDKValidationError>;
10626
10903
  /** @internal */
10627
10904
  declare const GetPlanResetInterval$inboundSchema: z$1.ZodMiniType<GetPlanResetInterval, unknown>;
10628
10905
  /** @internal */
10629
10906
  declare const GetPlanReset$inboundSchema: z$1.ZodMiniType<GetPlanReset, unknown>;
10630
- declare function getPlanResetFromJSON(jsonString: string): Result<GetPlanReset, SDKValidationError>;
10907
+ declare function getPlanResetFromJSON(jsonString: string): Result$1<GetPlanReset, SDKValidationError>;
10631
10908
  /** @internal */
10632
10909
  declare const GetPlanTierBehavior$inboundSchema: z$1.ZodMiniType<GetPlanTierBehavior, unknown>;
10633
10910
  /** @internal */
@@ -10636,40 +10913,115 @@ declare const GetPlanPriceItemInterval$inboundSchema: z$1.ZodMiniType<GetPlanPri
10636
10913
  declare const GetPlanBillingMethod$inboundSchema: z$1.ZodMiniType<GetPlanBillingMethod, unknown>;
10637
10914
  /** @internal */
10638
10915
  declare const GetPlanItemPrice$inboundSchema: z$1.ZodMiniType<GetPlanItemPrice, unknown>;
10639
- declare function getPlanItemPriceFromJSON(jsonString: string): Result<GetPlanItemPrice, SDKValidationError>;
10916
+ declare function getPlanItemPriceFromJSON(jsonString: string): Result$1<GetPlanItemPrice, SDKValidationError>;
10640
10917
  /** @internal */
10641
10918
  declare const GetPlanItemDisplay$inboundSchema: z$1.ZodMiniType<GetPlanItemDisplay, unknown>;
10642
- declare function getPlanItemDisplayFromJSON(jsonString: string): Result<GetPlanItemDisplay, SDKValidationError>;
10919
+ declare function getPlanItemDisplayFromJSON(jsonString: string): Result$1<GetPlanItemDisplay, SDKValidationError>;
10643
10920
  /** @internal */
10644
10921
  declare const GetPlanExpiryDurationType$inboundSchema: z$1.ZodMiniType<GetPlanExpiryDurationType, unknown>;
10645
10922
  /** @internal */
10646
10923
  declare const GetPlanRollover$inboundSchema: z$1.ZodMiniType<GetPlanRollover, unknown>;
10647
- declare function getPlanRolloverFromJSON(jsonString: string): Result<GetPlanRollover, SDKValidationError>;
10924
+ declare function getPlanRolloverFromJSON(jsonString: string): Result$1<GetPlanRollover, SDKValidationError>;
10648
10925
  /** @internal */
10649
10926
  declare const GetPlanItem$inboundSchema: z$1.ZodMiniType<GetPlanItem, unknown>;
10650
- declare function getPlanItemFromJSON(jsonString: string): Result<GetPlanItem, SDKValidationError>;
10927
+ declare function getPlanItemFromJSON(jsonString: string): Result$1<GetPlanItem, SDKValidationError>;
10651
10928
  /** @internal */
10652
10929
  declare const GetPlanDurationType$inboundSchema: z$1.ZodMiniType<GetPlanDurationType, unknown>;
10653
10930
  /** @internal */
10654
10931
  declare const GetPlanOnEnd$inboundSchema: z$1.ZodMiniType<GetPlanOnEnd, unknown>;
10655
10932
  /** @internal */
10656
10933
  declare const GetPlanFreeTrial$inboundSchema: z$1.ZodMiniType<GetPlanFreeTrial, unknown>;
10657
- declare function getPlanFreeTrialFromJSON(jsonString: string): Result<GetPlanFreeTrial, SDKValidationError>;
10934
+ declare function getPlanFreeTrialFromJSON(jsonString: string): Result$1<GetPlanFreeTrial, SDKValidationError>;
10658
10935
  /** @internal */
10659
10936
  declare const GetPlanEnv$inboundSchema: z$1.ZodMiniType<GetPlanEnv, unknown>;
10660
10937
  /** @internal */
10661
10938
  declare const GetPlanConfig$inboundSchema: z$1.ZodMiniType<GetPlanConfig, unknown>;
10662
- declare function getPlanConfigFromJSON(jsonString: string): Result<GetPlanConfig, SDKValidationError>;
10939
+ declare function getPlanConfigFromJSON(jsonString: string): Result$1<GetPlanConfig, SDKValidationError>;
10663
10940
  /** @internal */
10664
10941
  declare const GetPlanStatus$inboundSchema: z$1.ZodMiniType<GetPlanStatus, unknown>;
10665
10942
  /** @internal */
10666
10943
  declare const GetPlanAttachAction$inboundSchema: z$1.ZodMiniType<GetPlanAttachAction, unknown>;
10667
10944
  /** @internal */
10668
10945
  declare const GetPlanCustomerEligibility$inboundSchema: z$1.ZodMiniType<GetPlanCustomerEligibility, unknown>;
10669
- declare function getPlanCustomerEligibilityFromJSON(jsonString: string): Result<GetPlanCustomerEligibility, SDKValidationError>;
10946
+ declare function getPlanCustomerEligibilityFromJSON(jsonString: string): Result$1<GetPlanCustomerEligibility, SDKValidationError>;
10670
10947
  /** @internal */
10671
10948
  declare const GetPlanResponse$inboundSchema: z$1.ZodMiniType<GetPlanResponse, unknown>;
10672
- declare function getPlanResponseFromJSON(jsonString: string): Result<GetPlanResponse, SDKValidationError>;
10949
+ declare function getPlanResponseFromJSON(jsonString: string): Result$1<GetPlanResponse, SDKValidationError>;
10950
+
10951
+ type GetRevenueCatKeysGlobals = {
10952
+ xApiVersion?: string | undefined;
10953
+ };
10954
+ /**
10955
+ * "test" and "sandbox" both target the sandbox environment
10956
+ */
10957
+ declare const GetRevenueCatKeysEnv: {
10958
+ readonly Test: "test";
10959
+ readonly Sandbox: "sandbox";
10960
+ readonly Live: "live";
10961
+ };
10962
+ /**
10963
+ * "test" and "sandbox" both target the sandbox environment
10964
+ */
10965
+ type GetRevenueCatKeysEnv = ClosedEnum<typeof GetRevenueCatKeysEnv>;
10966
+ type GetRevenueCatKeysParams = {
10967
+ organizationSlug: string;
10968
+ /**
10969
+ * "test" and "sandbox" both target the sandbox environment
10970
+ */
10971
+ env: GetRevenueCatKeysEnv;
10972
+ };
10973
+ type ApiKey = {
10974
+ id: string;
10975
+ /**
10976
+ * The public SDK API key value
10977
+ */
10978
+ key: string;
10979
+ /**
10980
+ * e.g. "production" / "sandbox"
10981
+ */
10982
+ environment?: string | null | undefined;
10983
+ appId?: string | null | undefined;
10984
+ createdAt?: number | undefined;
10985
+ [additionalProperties: string]: unknown;
10986
+ };
10987
+ type GetRevenueCatKeysApp = {
10988
+ appId: string;
10989
+ /**
10990
+ * RevenueCat store type, e.g. test_store / app_store / play_store
10991
+ */
10992
+ appType: string;
10993
+ name: string;
10994
+ apiKeys: Array<ApiKey>;
10995
+ };
10996
+ /**
10997
+ * OK
10998
+ */
10999
+ type GetRevenueCatKeysResponse = {
11000
+ apps: Array<GetRevenueCatKeysApp>;
11001
+ /**
11002
+ * Freshly-refreshed RevenueCat OAuth access token for the org (null for api-key orgs). The refresh token is never exposed — call this endpoint again for a new access token.
11003
+ */
11004
+ oauthAccessToken: string | null;
11005
+ };
11006
+ /** @internal */
11007
+ declare const GetRevenueCatKeysEnv$outboundSchema: z$1.ZodMiniEnum<typeof GetRevenueCatKeysEnv>;
11008
+ /** @internal */
11009
+ type GetRevenueCatKeysParams$Outbound = {
11010
+ organization_slug: string;
11011
+ env: string;
11012
+ };
11013
+ /** @internal */
11014
+ declare const GetRevenueCatKeysParams$outboundSchema: z$1.ZodMiniType<GetRevenueCatKeysParams$Outbound, GetRevenueCatKeysParams>;
11015
+ declare function getRevenueCatKeysParamsToJSON(getRevenueCatKeysParams: GetRevenueCatKeysParams): string;
11016
+ /** @internal */
11017
+ declare const ApiKey$inboundSchema: z$1.ZodMiniType<ApiKey, unknown>;
11018
+ declare function apiKeyFromJSON(jsonString: string): Result$1<ApiKey, SDKValidationError>;
11019
+ /** @internal */
11020
+ declare const GetRevenueCatKeysApp$inboundSchema: z$1.ZodMiniType<GetRevenueCatKeysApp, unknown>;
11021
+ declare function getRevenueCatKeysAppFromJSON(jsonString: string): Result$1<GetRevenueCatKeysApp, SDKValidationError>;
11022
+ /** @internal */
11023
+ declare const GetRevenueCatKeysResponse$inboundSchema: z$1.ZodMiniType<GetRevenueCatKeysResponse, unknown>;
11024
+ declare function getRevenueCatKeysResponseFromJSON(jsonString: string): Result$1<GetRevenueCatKeysResponse, SDKValidationError>;
10673
11025
 
10674
11026
  /**
10675
11027
  * Base class for all HTTP errors.
@@ -10715,6 +11067,42 @@ declare class ConnectionError extends HTTPClientError {
10715
11067
  readonly name = "ConnectionError";
10716
11068
  }
10717
11069
 
11070
+ type LinkRevenueCatGlobals = {
11071
+ xApiVersion?: string | undefined;
11072
+ };
11073
+ declare const LinkRevenueCatEnv: {
11074
+ readonly Test: "test";
11075
+ readonly Live: "live";
11076
+ };
11077
+ type LinkRevenueCatEnv = ClosedEnum<typeof LinkRevenueCatEnv>;
11078
+ type LinkRevenueCatParams = {
11079
+ organizationSlug: string;
11080
+ env: LinkRevenueCatEnv;
11081
+ projectName: string;
11082
+ redirectUrl: string;
11083
+ };
11084
+ /**
11085
+ * OK
11086
+ */
11087
+ type LinkRevenueCatResponse = {
11088
+ oauthUrl: string;
11089
+ };
11090
+ /** @internal */
11091
+ declare const LinkRevenueCatEnv$outboundSchema: z$1.ZodMiniEnum<typeof LinkRevenueCatEnv>;
11092
+ /** @internal */
11093
+ type LinkRevenueCatParams$Outbound = {
11094
+ organization_slug: string;
11095
+ env: string;
11096
+ project_name: string;
11097
+ redirect_url: string;
11098
+ };
11099
+ /** @internal */
11100
+ declare const LinkRevenueCatParams$outboundSchema: z$1.ZodMiniType<LinkRevenueCatParams$Outbound, LinkRevenueCatParams>;
11101
+ declare function linkRevenueCatParamsToJSON(linkRevenueCatParams: LinkRevenueCatParams): string;
11102
+ /** @internal */
11103
+ declare const LinkRevenueCatResponse$inboundSchema: z$1.ZodMiniType<LinkRevenueCatResponse, unknown>;
11104
+ declare function linkRevenueCatResponseFromJSON(jsonString: string): Result$1<LinkRevenueCatResponse, SDKValidationError>;
11105
+
10718
11106
  type ListCustomersGlobals = {
10719
11107
  xApiVersion?: string | undefined;
10720
11108
  };
@@ -10953,6 +11341,17 @@ declare const ListCustomersStatus: {
10953
11341
  * Current status of the subscription.
10954
11342
  */
10955
11343
  type ListCustomersStatus = OpenEnum<typeof ListCustomersStatus>;
11344
+ /**
11345
+ * Whether this subscription is attached at the customer level or entity level.
11346
+ */
11347
+ declare const ListCustomersSubscriptionScope: {
11348
+ readonly Customer: "customer";
11349
+ readonly Entity: "entity";
11350
+ };
11351
+ /**
11352
+ * Whether this subscription is attached at the customer level or entity level.
11353
+ */
11354
+ type ListCustomersSubscriptionScope = OpenEnum<typeof ListCustomersSubscriptionScope>;
10956
11355
  type ListCustomersSubscription = {
10957
11356
  /**
10958
11357
  * The unique identifier of this subscription. If a subscription_id was provided at attach time, it is used; otherwise, falls back to the internal ID.
@@ -11007,7 +11406,22 @@ type ListCustomersSubscription = {
11007
11406
  * Number of units of this subscription (for per-seat plans).
11008
11407
  */
11009
11408
  quantity: number;
11409
+ /**
11410
+ * Whether this subscription is attached at the customer level or entity level.
11411
+ */
11412
+ scope?: ListCustomersSubscriptionScope | undefined;
11010
11413
  };
11414
+ /**
11415
+ * Whether this purchase is attached at the customer level or entity level.
11416
+ */
11417
+ declare const ListCustomersPurchaseScope: {
11418
+ readonly Customer: "customer";
11419
+ readonly Entity: "entity";
11420
+ };
11421
+ /**
11422
+ * Whether this purchase is attached at the customer level or entity level.
11423
+ */
11424
+ type ListCustomersPurchaseScope = OpenEnum<typeof ListCustomersPurchaseScope>;
11011
11425
  type ListCustomersPurchase = {
11012
11426
  plan?: Plan | undefined;
11013
11427
  /**
@@ -11026,6 +11440,10 @@ type ListCustomersPurchase = {
11026
11440
  * Number of units purchased.
11027
11441
  */
11028
11442
  quantity: number;
11443
+ /**
11444
+ * Whether this purchase is attached at the customer level or entity level.
11445
+ */
11446
+ scope?: ListCustomersPurchaseScope | undefined;
11029
11447
  };
11030
11448
  /**
11031
11449
  * Feature type: 'boolean' for on/off access, 'metered' for usage-tracked features, 'credit_system' for unified credit pools.
@@ -11293,75 +11711,79 @@ declare const ListCustomersEnv$inboundSchema: z$1.ZodMiniType<ListCustomersEnv,
11293
11711
  declare const ListCustomersInterval2$inboundSchema: z$1.ZodMiniType<ListCustomersInterval2, unknown>;
11294
11712
  /** @internal */
11295
11713
  declare const ListCustomersPurchaseLimit2$inboundSchema: z$1.ZodMiniType<ListCustomersPurchaseLimit2, unknown>;
11296
- declare function listCustomersPurchaseLimit2FromJSON(jsonString: string): Result<ListCustomersPurchaseLimit2, SDKValidationError>;
11714
+ declare function listCustomersPurchaseLimit2FromJSON(jsonString: string): Result$1<ListCustomersPurchaseLimit2, SDKValidationError>;
11297
11715
  /** @internal */
11298
11716
  declare const ListCustomersInterval1$inboundSchema: z$1.ZodMiniType<ListCustomersInterval1, unknown>;
11299
11717
  /** @internal */
11300
11718
  declare const ListCustomersPurchaseLimit1$inboundSchema: z$1.ZodMiniType<ListCustomersPurchaseLimit1, unknown>;
11301
- declare function listCustomersPurchaseLimit1FromJSON(jsonString: string): Result<ListCustomersPurchaseLimit1, SDKValidationError>;
11719
+ declare function listCustomersPurchaseLimit1FromJSON(jsonString: string): Result$1<ListCustomersPurchaseLimit1, SDKValidationError>;
11302
11720
  /** @internal */
11303
11721
  declare const ListCustomersPurchaseLimitUnion$inboundSchema: z$1.ZodMiniType<ListCustomersPurchaseLimitUnion, unknown>;
11304
- declare function listCustomersPurchaseLimitUnionFromJSON(jsonString: string): Result<ListCustomersPurchaseLimitUnion, SDKValidationError>;
11722
+ declare function listCustomersPurchaseLimitUnionFromJSON(jsonString: string): Result$1<ListCustomersPurchaseLimitUnion, SDKValidationError>;
11305
11723
  /** @internal */
11306
11724
  declare const ListCustomersAutoTopup$inboundSchema: z$1.ZodMiniType<ListCustomersAutoTopup, unknown>;
11307
- declare function listCustomersAutoTopupFromJSON(jsonString: string): Result<ListCustomersAutoTopup, SDKValidationError>;
11725
+ declare function listCustomersAutoTopupFromJSON(jsonString: string): Result$1<ListCustomersAutoTopup, SDKValidationError>;
11308
11726
  /** @internal */
11309
11727
  declare const ListCustomersSpendLimit$inboundSchema: z$1.ZodMiniType<ListCustomersSpendLimit, unknown>;
11310
- declare function listCustomersSpendLimitFromJSON(jsonString: string): Result<ListCustomersSpendLimit, SDKValidationError>;
11728
+ declare function listCustomersSpendLimitFromJSON(jsonString: string): Result$1<ListCustomersSpendLimit, SDKValidationError>;
11311
11729
  /** @internal */
11312
11730
  declare const ListCustomersThresholdType$inboundSchema: z$1.ZodMiniType<ListCustomersThresholdType, unknown>;
11313
11731
  /** @internal */
11314
11732
  declare const ListCustomersUsageAlert$inboundSchema: z$1.ZodMiniType<ListCustomersUsageAlert, unknown>;
11315
- declare function listCustomersUsageAlertFromJSON(jsonString: string): Result<ListCustomersUsageAlert, SDKValidationError>;
11733
+ declare function listCustomersUsageAlertFromJSON(jsonString: string): Result$1<ListCustomersUsageAlert, SDKValidationError>;
11316
11734
  /** @internal */
11317
11735
  declare const ListCustomersOverageAllowed$inboundSchema: z$1.ZodMiniType<ListCustomersOverageAllowed, unknown>;
11318
- declare function listCustomersOverageAllowedFromJSON(jsonString: string): Result<ListCustomersOverageAllowed, SDKValidationError>;
11736
+ declare function listCustomersOverageAllowedFromJSON(jsonString: string): Result$1<ListCustomersOverageAllowed, SDKValidationError>;
11319
11737
  /** @internal */
11320
11738
  declare const ListCustomersBillingControls$inboundSchema: z$1.ZodMiniType<ListCustomersBillingControls, unknown>;
11321
- declare function listCustomersBillingControlsFromJSON(jsonString: string): Result<ListCustomersBillingControls, SDKValidationError>;
11739
+ declare function listCustomersBillingControlsFromJSON(jsonString: string): Result$1<ListCustomersBillingControls, SDKValidationError>;
11322
11740
  /** @internal */
11323
11741
  declare const ListCustomersStatus$inboundSchema: z$1.ZodMiniType<ListCustomersStatus, unknown>;
11324
11742
  /** @internal */
11743
+ declare const ListCustomersSubscriptionScope$inboundSchema: z$1.ZodMiniType<ListCustomersSubscriptionScope, unknown>;
11744
+ /** @internal */
11325
11745
  declare const ListCustomersSubscription$inboundSchema: z$1.ZodMiniType<ListCustomersSubscription, unknown>;
11326
- declare function listCustomersSubscriptionFromJSON(jsonString: string): Result<ListCustomersSubscription, SDKValidationError>;
11746
+ declare function listCustomersSubscriptionFromJSON(jsonString: string): Result$1<ListCustomersSubscription, SDKValidationError>;
11747
+ /** @internal */
11748
+ declare const ListCustomersPurchaseScope$inboundSchema: z$1.ZodMiniType<ListCustomersPurchaseScope, unknown>;
11327
11749
  /** @internal */
11328
11750
  declare const ListCustomersPurchase$inboundSchema: z$1.ZodMiniType<ListCustomersPurchase, unknown>;
11329
- declare function listCustomersPurchaseFromJSON(jsonString: string): Result<ListCustomersPurchase, SDKValidationError>;
11751
+ declare function listCustomersPurchaseFromJSON(jsonString: string): Result$1<ListCustomersPurchase, SDKValidationError>;
11330
11752
  /** @internal */
11331
11753
  declare const ListCustomersType$inboundSchema: z$1.ZodMiniType<ListCustomersType, unknown>;
11332
11754
  /** @internal */
11333
11755
  declare const ListCustomersCreditSchema$inboundSchema: z$1.ZodMiniType<ListCustomersCreditSchema, unknown>;
11334
- declare function listCustomersCreditSchemaFromJSON(jsonString: string): Result<ListCustomersCreditSchema, SDKValidationError>;
11756
+ declare function listCustomersCreditSchemaFromJSON(jsonString: string): Result$1<ListCustomersCreditSchema, SDKValidationError>;
11335
11757
  /** @internal */
11336
11758
  declare const ListCustomersDisplay$inboundSchema: z$1.ZodMiniType<ListCustomersDisplay, unknown>;
11337
- declare function listCustomersDisplayFromJSON(jsonString: string): Result<ListCustomersDisplay, SDKValidationError>;
11759
+ declare function listCustomersDisplayFromJSON(jsonString: string): Result$1<ListCustomersDisplay, SDKValidationError>;
11338
11760
  /** @internal */
11339
11761
  declare const ListCustomersFeature$inboundSchema: z$1.ZodMiniType<ListCustomersFeature, unknown>;
11340
- declare function listCustomersFeatureFromJSON(jsonString: string): Result<ListCustomersFeature, SDKValidationError>;
11762
+ declare function listCustomersFeatureFromJSON(jsonString: string): Result$1<ListCustomersFeature, SDKValidationError>;
11341
11763
  /** @internal */
11342
11764
  declare const ListCustomersFlags$inboundSchema: z$1.ZodMiniType<ListCustomersFlags, unknown>;
11343
- declare function listCustomersFlagsFromJSON(jsonString: string): Result<ListCustomersFlags, SDKValidationError>;
11765
+ declare function listCustomersFlagsFromJSON(jsonString: string): Result$1<ListCustomersFlags, SDKValidationError>;
11344
11766
  /** @internal */
11345
11767
  declare const ListCustomersConfig$inboundSchema: z$1.ZodMiniType<ListCustomersConfig, unknown>;
11346
- declare function listCustomersConfigFromJSON(jsonString: string): Result<ListCustomersConfig, SDKValidationError>;
11768
+ declare function listCustomersConfigFromJSON(jsonString: string): Result$1<ListCustomersConfig, SDKValidationError>;
11347
11769
  /** @internal */
11348
11770
  declare const ListCustomersStripe$inboundSchema: z$1.ZodMiniType<ListCustomersStripe, unknown>;
11349
- declare function listCustomersStripeFromJSON(jsonString: string): Result<ListCustomersStripe, SDKValidationError>;
11771
+ declare function listCustomersStripeFromJSON(jsonString: string): Result$1<ListCustomersStripe, SDKValidationError>;
11350
11772
  /** @internal */
11351
11773
  declare const ListCustomersVercel$inboundSchema: z$1.ZodMiniType<ListCustomersVercel, unknown>;
11352
- declare function listCustomersVercelFromJSON(jsonString: string): Result<ListCustomersVercel, SDKValidationError>;
11774
+ declare function listCustomersVercelFromJSON(jsonString: string): Result$1<ListCustomersVercel, SDKValidationError>;
11353
11775
  /** @internal */
11354
11776
  declare const ListCustomersRevenuecat$inboundSchema: z$1.ZodMiniType<ListCustomersRevenuecat, unknown>;
11355
- declare function listCustomersRevenuecatFromJSON(jsonString: string): Result<ListCustomersRevenuecat, SDKValidationError>;
11777
+ declare function listCustomersRevenuecatFromJSON(jsonString: string): Result$1<ListCustomersRevenuecat, SDKValidationError>;
11356
11778
  /** @internal */
11357
11779
  declare const ListCustomersProcessors$inboundSchema: z$1.ZodMiniType<ListCustomersProcessors, unknown>;
11358
- declare function listCustomersProcessorsFromJSON(jsonString: string): Result<ListCustomersProcessors, SDKValidationError>;
11780
+ declare function listCustomersProcessorsFromJSON(jsonString: string): Result$1<ListCustomersProcessors, SDKValidationError>;
11359
11781
  /** @internal */
11360
11782
  declare const ListCustomersList$inboundSchema: z$1.ZodMiniType<ListCustomersList, unknown>;
11361
- declare function listCustomersListFromJSON(jsonString: string): Result<ListCustomersList, SDKValidationError>;
11783
+ declare function listCustomersListFromJSON(jsonString: string): Result$1<ListCustomersList, SDKValidationError>;
11362
11784
  /** @internal */
11363
11785
  declare const ListCustomersResponse$inboundSchema: z$1.ZodMiniType<ListCustomersResponse, unknown>;
11364
- declare function listCustomersResponseFromJSON(jsonString: string): Result<ListCustomersResponse, SDKValidationError>;
11786
+ declare function listCustomersResponseFromJSON(jsonString: string): Result$1<ListCustomersResponse, SDKValidationError>;
11365
11787
 
11366
11788
  type ListEntitiesGlobals = {
11367
11789
  xApiVersion?: string | undefined;
@@ -11412,6 +11834,10 @@ type ListEntitiesParams = {
11412
11834
  * Filter by parent customer processor type (stripe, revenuecat, vercel).
11413
11835
  */
11414
11836
  processors?: Array<ListEntitiesProcessor> | undefined;
11837
+ /**
11838
+ * Restrict the response to entities owned by this customer id. Use to bulk-fetch all entities for one customer in a single paginated call instead of iterating entities.get.
11839
+ */
11840
+ customerId?: string | undefined;
11415
11841
  };
11416
11842
  /**
11417
11843
  * The environment (sandbox/live)
@@ -11435,6 +11861,17 @@ declare const ListEntitiesStatus: {
11435
11861
  * Current status of the subscription.
11436
11862
  */
11437
11863
  type ListEntitiesStatus = OpenEnum<typeof ListEntitiesStatus>;
11864
+ /**
11865
+ * Whether this subscription is attached at the customer level or entity level.
11866
+ */
11867
+ declare const ListEntitiesSubscriptionScope: {
11868
+ readonly Customer: "customer";
11869
+ readonly Entity: "entity";
11870
+ };
11871
+ /**
11872
+ * Whether this subscription is attached at the customer level or entity level.
11873
+ */
11874
+ type ListEntitiesSubscriptionScope = OpenEnum<typeof ListEntitiesSubscriptionScope>;
11438
11875
  type ListEntitiesSubscription = {
11439
11876
  /**
11440
11877
  * The unique identifier of this subscription. If a subscription_id was provided at attach time, it is used; otherwise, falls back to the internal ID.
@@ -11489,7 +11926,22 @@ type ListEntitiesSubscription = {
11489
11926
  * Number of units of this subscription (for per-seat plans).
11490
11927
  */
11491
11928
  quantity: number;
11929
+ /**
11930
+ * Whether this subscription is attached at the customer level or entity level.
11931
+ */
11932
+ scope?: ListEntitiesSubscriptionScope | undefined;
11933
+ };
11934
+ /**
11935
+ * Whether this purchase is attached at the customer level or entity level.
11936
+ */
11937
+ declare const ListEntitiesPurchaseScope: {
11938
+ readonly Customer: "customer";
11939
+ readonly Entity: "entity";
11492
11940
  };
11941
+ /**
11942
+ * Whether this purchase is attached at the customer level or entity level.
11943
+ */
11944
+ type ListEntitiesPurchaseScope = OpenEnum<typeof ListEntitiesPurchaseScope>;
11493
11945
  type ListEntitiesPurchase = {
11494
11946
  plan?: Plan | undefined;
11495
11947
  /**
@@ -11508,6 +11960,10 @@ type ListEntitiesPurchase = {
11508
11960
  * Number of units purchased.
11509
11961
  */
11510
11962
  quantity: number;
11963
+ /**
11964
+ * Whether this purchase is attached at the customer level or entity level.
11965
+ */
11966
+ scope?: ListEntitiesPurchaseScope | undefined;
11511
11967
  };
11512
11968
  /**
11513
11969
  * Feature type: 'boolean' for on/off access, 'metered' for usage-tracked features, 'credit_system' for unified credit pools.
@@ -11799,6 +12255,7 @@ type ListEntitiesParams$Outbound = {
11799
12255
  subscription_status?: string | undefined;
11800
12256
  search?: string | undefined;
11801
12257
  processors?: Array<string> | undefined;
12258
+ customer_id?: string | undefined;
11802
12259
  };
11803
12260
  /** @internal */
11804
12261
  declare const ListEntitiesParams$outboundSchema: z$1.ZodMiniType<ListEntitiesParams$Outbound, ListEntitiesParams>;
@@ -11808,50 +12265,54 @@ declare const ListEntitiesEnv$inboundSchema: z$1.ZodMiniType<ListEntitiesEnv, un
11808
12265
  /** @internal */
11809
12266
  declare const ListEntitiesStatus$inboundSchema: z$1.ZodMiniType<ListEntitiesStatus, unknown>;
11810
12267
  /** @internal */
12268
+ declare const ListEntitiesSubscriptionScope$inboundSchema: z$1.ZodMiniType<ListEntitiesSubscriptionScope, unknown>;
12269
+ /** @internal */
11811
12270
  declare const ListEntitiesSubscription$inboundSchema: z$1.ZodMiniType<ListEntitiesSubscription, unknown>;
11812
- declare function listEntitiesSubscriptionFromJSON(jsonString: string): Result<ListEntitiesSubscription, SDKValidationError>;
12271
+ declare function listEntitiesSubscriptionFromJSON(jsonString: string): Result$1<ListEntitiesSubscription, SDKValidationError>;
12272
+ /** @internal */
12273
+ declare const ListEntitiesPurchaseScope$inboundSchema: z$1.ZodMiniType<ListEntitiesPurchaseScope, unknown>;
11813
12274
  /** @internal */
11814
12275
  declare const ListEntitiesPurchase$inboundSchema: z$1.ZodMiniType<ListEntitiesPurchase, unknown>;
11815
- declare function listEntitiesPurchaseFromJSON(jsonString: string): Result<ListEntitiesPurchase, SDKValidationError>;
12276
+ declare function listEntitiesPurchaseFromJSON(jsonString: string): Result$1<ListEntitiesPurchase, SDKValidationError>;
11816
12277
  /** @internal */
11817
12278
  declare const ListEntitiesType$inboundSchema: z$1.ZodMiniType<ListEntitiesType, unknown>;
11818
12279
  /** @internal */
11819
12280
  declare const ListEntitiesCreditSchema$inboundSchema: z$1.ZodMiniType<ListEntitiesCreditSchema, unknown>;
11820
- declare function listEntitiesCreditSchemaFromJSON(jsonString: string): Result<ListEntitiesCreditSchema, SDKValidationError>;
12281
+ declare function listEntitiesCreditSchemaFromJSON(jsonString: string): Result$1<ListEntitiesCreditSchema, SDKValidationError>;
11821
12282
  /** @internal */
11822
12283
  declare const ListEntitiesDisplay$inboundSchema: z$1.ZodMiniType<ListEntitiesDisplay, unknown>;
11823
- declare function listEntitiesDisplayFromJSON(jsonString: string): Result<ListEntitiesDisplay, SDKValidationError>;
12284
+ declare function listEntitiesDisplayFromJSON(jsonString: string): Result$1<ListEntitiesDisplay, SDKValidationError>;
11824
12285
  /** @internal */
11825
12286
  declare const ListEntitiesFeature$inboundSchema: z$1.ZodMiniType<ListEntitiesFeature, unknown>;
11826
- declare function listEntitiesFeatureFromJSON(jsonString: string): Result<ListEntitiesFeature, SDKValidationError>;
12287
+ declare function listEntitiesFeatureFromJSON(jsonString: string): Result$1<ListEntitiesFeature, SDKValidationError>;
11827
12288
  /** @internal */
11828
12289
  declare const ListEntitiesFlags$inboundSchema: z$1.ZodMiniType<ListEntitiesFlags, unknown>;
11829
- declare function listEntitiesFlagsFromJSON(jsonString: string): Result<ListEntitiesFlags, SDKValidationError>;
12290
+ declare function listEntitiesFlagsFromJSON(jsonString: string): Result$1<ListEntitiesFlags, SDKValidationError>;
11830
12291
  /** @internal */
11831
12292
  declare const ListEntitiesSpendLimit$inboundSchema: z$1.ZodMiniType<ListEntitiesSpendLimit, unknown>;
11832
- declare function listEntitiesSpendLimitFromJSON(jsonString: string): Result<ListEntitiesSpendLimit, SDKValidationError>;
12293
+ declare function listEntitiesSpendLimitFromJSON(jsonString: string): Result$1<ListEntitiesSpendLimit, SDKValidationError>;
11833
12294
  /** @internal */
11834
12295
  declare const ListEntitiesThresholdType$inboundSchema: z$1.ZodMiniType<ListEntitiesThresholdType, unknown>;
11835
12296
  /** @internal */
11836
12297
  declare const ListEntitiesUsageAlert$inboundSchema: z$1.ZodMiniType<ListEntitiesUsageAlert, unknown>;
11837
- declare function listEntitiesUsageAlertFromJSON(jsonString: string): Result<ListEntitiesUsageAlert, SDKValidationError>;
12298
+ declare function listEntitiesUsageAlertFromJSON(jsonString: string): Result$1<ListEntitiesUsageAlert, SDKValidationError>;
11838
12299
  /** @internal */
11839
12300
  declare const ListEntitiesOverageAllowed$inboundSchema: z$1.ZodMiniType<ListEntitiesOverageAllowed, unknown>;
11840
- declare function listEntitiesOverageAllowedFromJSON(jsonString: string): Result<ListEntitiesOverageAllowed, SDKValidationError>;
12301
+ declare function listEntitiesOverageAllowedFromJSON(jsonString: string): Result$1<ListEntitiesOverageAllowed, SDKValidationError>;
11841
12302
  /** @internal */
11842
12303
  declare const ListEntitiesBillingControls$inboundSchema: z$1.ZodMiniType<ListEntitiesBillingControls, unknown>;
11843
- declare function listEntitiesBillingControlsFromJSON(jsonString: string): Result<ListEntitiesBillingControls, SDKValidationError>;
12304
+ declare function listEntitiesBillingControlsFromJSON(jsonString: string): Result$1<ListEntitiesBillingControls, SDKValidationError>;
11844
12305
  /** @internal */
11845
12306
  declare const ListEntitiesProcessorType$inboundSchema: z$1.ZodMiniType<ListEntitiesProcessorType, unknown>;
11846
12307
  /** @internal */
11847
12308
  declare const ListEntitiesInvoice$inboundSchema: z$1.ZodMiniType<ListEntitiesInvoice, unknown>;
11848
- declare function listEntitiesInvoiceFromJSON(jsonString: string): Result<ListEntitiesInvoice, SDKValidationError>;
12309
+ declare function listEntitiesInvoiceFromJSON(jsonString: string): Result$1<ListEntitiesInvoice, SDKValidationError>;
11849
12310
  /** @internal */
11850
12311
  declare const ListEntitiesList$inboundSchema: z$1.ZodMiniType<ListEntitiesList, unknown>;
11851
- declare function listEntitiesListFromJSON(jsonString: string): Result<ListEntitiesList, SDKValidationError>;
12312
+ declare function listEntitiesListFromJSON(jsonString: string): Result$1<ListEntitiesList, SDKValidationError>;
11852
12313
  /** @internal */
11853
12314
  declare const ListEntitiesResponse$inboundSchema: z$1.ZodMiniType<ListEntitiesResponse, unknown>;
11854
- declare function listEntitiesResponseFromJSON(jsonString: string): Result<ListEntitiesResponse, SDKValidationError>;
12315
+ declare function listEntitiesResponseFromJSON(jsonString: string): Result$1<ListEntitiesResponse, SDKValidationError>;
11855
12316
 
11856
12317
  type ListEventsGlobals = {
11857
12318
  xApiVersion?: string | undefined;
@@ -12025,19 +12486,19 @@ declare function eventsListParamsToJSON(eventsListParams: EventsListParams): str
12025
12486
  declare const ListEventsIntervalEnum$inboundSchema: z$1.ZodMiniType<ListEventsIntervalEnum, unknown>;
12026
12487
  /** @internal */
12027
12488
  declare const ListEventsIntervalUnion$inboundSchema: z$1.ZodMiniType<ListEventsIntervalUnion, unknown>;
12028
- declare function listEventsIntervalUnionFromJSON(jsonString: string): Result<ListEventsIntervalUnion, SDKValidationError>;
12489
+ declare function listEventsIntervalUnionFromJSON(jsonString: string): Result$1<ListEventsIntervalUnion, SDKValidationError>;
12029
12490
  /** @internal */
12030
12491
  declare const ListEventsReset$inboundSchema: z$1.ZodMiniType<ListEventsReset, unknown>;
12031
- declare function listEventsResetFromJSON(jsonString: string): Result<ListEventsReset, SDKValidationError>;
12492
+ declare function listEventsResetFromJSON(jsonString: string): Result$1<ListEventsReset, SDKValidationError>;
12032
12493
  /** @internal */
12033
12494
  declare const Deductions$inboundSchema: z$1.ZodMiniType<Deductions, unknown>;
12034
- declare function deductionsFromJSON(jsonString: string): Result<Deductions, SDKValidationError>;
12495
+ declare function deductionsFromJSON(jsonString: string): Result$1<Deductions, SDKValidationError>;
12035
12496
  /** @internal */
12036
12497
  declare const ListEventsList$inboundSchema: z$1.ZodMiniType<ListEventsList, unknown>;
12037
- declare function listEventsListFromJSON(jsonString: string): Result<ListEventsList, SDKValidationError>;
12498
+ declare function listEventsListFromJSON(jsonString: string): Result$1<ListEventsList, SDKValidationError>;
12038
12499
  /** @internal */
12039
12500
  declare const ListEventsResponse$inboundSchema: z$1.ZodMiniType<ListEventsResponse, unknown>;
12040
- declare function listEventsResponseFromJSON(jsonString: string): Result<ListEventsResponse, SDKValidationError>;
12501
+ declare function listEventsResponseFromJSON(jsonString: string): Result$1<ListEventsResponse, SDKValidationError>;
12041
12502
 
12042
12503
  type ListFeaturesGlobals = {
12043
12504
  xApiVersion?: string | undefined;
@@ -12127,16 +12588,16 @@ declare function listFeaturesRequestToJSON(listFeaturesRequest: ListFeaturesRequ
12127
12588
  declare const ListFeaturesType$inboundSchema: z$1.ZodMiniType<ListFeaturesType, unknown>;
12128
12589
  /** @internal */
12129
12590
  declare const ListFeaturesCreditSchema$inboundSchema: z$1.ZodMiniType<ListFeaturesCreditSchema, unknown>;
12130
- declare function listFeaturesCreditSchemaFromJSON(jsonString: string): Result<ListFeaturesCreditSchema, SDKValidationError>;
12591
+ declare function listFeaturesCreditSchemaFromJSON(jsonString: string): Result$1<ListFeaturesCreditSchema, SDKValidationError>;
12131
12592
  /** @internal */
12132
12593
  declare const ListFeaturesDisplay$inboundSchema: z$1.ZodMiniType<ListFeaturesDisplay, unknown>;
12133
- declare function listFeaturesDisplayFromJSON(jsonString: string): Result<ListFeaturesDisplay, SDKValidationError>;
12594
+ declare function listFeaturesDisplayFromJSON(jsonString: string): Result$1<ListFeaturesDisplay, SDKValidationError>;
12134
12595
  /** @internal */
12135
12596
  declare const ListFeaturesList$inboundSchema: z$1.ZodMiniType<ListFeaturesList, unknown>;
12136
- declare function listFeaturesListFromJSON(jsonString: string): Result<ListFeaturesList, SDKValidationError>;
12597
+ declare function listFeaturesListFromJSON(jsonString: string): Result$1<ListFeaturesList, SDKValidationError>;
12137
12598
  /** @internal */
12138
12599
  declare const ListFeaturesResponse$inboundSchema: z$1.ZodMiniType<ListFeaturesResponse, unknown>;
12139
- declare function listFeaturesResponseFromJSON(jsonString: string): Result<ListFeaturesResponse, SDKValidationError>;
12600
+ declare function listFeaturesResponseFromJSON(jsonString: string): Result$1<ListFeaturesResponse, SDKValidationError>;
12140
12601
 
12141
12602
  type ListPlansGlobals = {
12142
12603
  xApiVersion?: string | undefined;
@@ -12623,26 +13084,26 @@ declare function listPlansParamsToJSON(listPlansParams: ListPlansParams): string
12623
13084
  declare const ListPlansPriceInterval$inboundSchema: z$1.ZodMiniType<ListPlansPriceInterval, unknown>;
12624
13085
  /** @internal */
12625
13086
  declare const ListPlansPriceDisplay$inboundSchema: z$1.ZodMiniType<ListPlansPriceDisplay, unknown>;
12626
- declare function listPlansPriceDisplayFromJSON(jsonString: string): Result<ListPlansPriceDisplay, SDKValidationError>;
13087
+ declare function listPlansPriceDisplayFromJSON(jsonString: string): Result$1<ListPlansPriceDisplay, SDKValidationError>;
12627
13088
  /** @internal */
12628
13089
  declare const ListPlansPrice$inboundSchema: z$1.ZodMiniType<ListPlansPrice, unknown>;
12629
- declare function listPlansPriceFromJSON(jsonString: string): Result<ListPlansPrice, SDKValidationError>;
13090
+ declare function listPlansPriceFromJSON(jsonString: string): Result$1<ListPlansPrice, SDKValidationError>;
12630
13091
  /** @internal */
12631
13092
  declare const ListPlansType$inboundSchema: z$1.ZodMiniType<ListPlansType, unknown>;
12632
13093
  /** @internal */
12633
13094
  declare const ListPlansFeatureDisplay$inboundSchema: z$1.ZodMiniType<ListPlansFeatureDisplay, unknown>;
12634
- declare function listPlansFeatureDisplayFromJSON(jsonString: string): Result<ListPlansFeatureDisplay, SDKValidationError>;
13095
+ declare function listPlansFeatureDisplayFromJSON(jsonString: string): Result$1<ListPlansFeatureDisplay, SDKValidationError>;
12635
13096
  /** @internal */
12636
13097
  declare const ListPlansCreditSchema$inboundSchema: z$1.ZodMiniType<ListPlansCreditSchema, unknown>;
12637
- declare function listPlansCreditSchemaFromJSON(jsonString: string): Result<ListPlansCreditSchema, SDKValidationError>;
13098
+ declare function listPlansCreditSchemaFromJSON(jsonString: string): Result$1<ListPlansCreditSchema, SDKValidationError>;
12638
13099
  /** @internal */
12639
13100
  declare const ListPlansFeature$inboundSchema: z$1.ZodMiniType<ListPlansFeature, unknown>;
12640
- declare function listPlansFeatureFromJSON(jsonString: string): Result<ListPlansFeature, SDKValidationError>;
13101
+ declare function listPlansFeatureFromJSON(jsonString: string): Result$1<ListPlansFeature, SDKValidationError>;
12641
13102
  /** @internal */
12642
13103
  declare const ListPlansResetInterval$inboundSchema: z$1.ZodMiniType<ListPlansResetInterval, unknown>;
12643
13104
  /** @internal */
12644
13105
  declare const ListPlansReset$inboundSchema: z$1.ZodMiniType<ListPlansReset, unknown>;
12645
- declare function listPlansResetFromJSON(jsonString: string): Result<ListPlansReset, SDKValidationError>;
13106
+ declare function listPlansResetFromJSON(jsonString: string): Result$1<ListPlansReset, SDKValidationError>;
12646
13107
  /** @internal */
12647
13108
  declare const ListPlansTierBehavior$inboundSchema: z$1.ZodMiniType<ListPlansTierBehavior, unknown>;
12648
13109
  /** @internal */
@@ -12651,43 +13112,43 @@ declare const ListPlansPriceItemInterval$inboundSchema: z$1.ZodMiniType<ListPlan
12651
13112
  declare const ListPlansBillingMethod$inboundSchema: z$1.ZodMiniType<ListPlansBillingMethod, unknown>;
12652
13113
  /** @internal */
12653
13114
  declare const ListPlansItemPrice$inboundSchema: z$1.ZodMiniType<ListPlansItemPrice, unknown>;
12654
- declare function listPlansItemPriceFromJSON(jsonString: string): Result<ListPlansItemPrice, SDKValidationError>;
13115
+ declare function listPlansItemPriceFromJSON(jsonString: string): Result$1<ListPlansItemPrice, SDKValidationError>;
12655
13116
  /** @internal */
12656
13117
  declare const ListPlansItemDisplay$inboundSchema: z$1.ZodMiniType<ListPlansItemDisplay, unknown>;
12657
- declare function listPlansItemDisplayFromJSON(jsonString: string): Result<ListPlansItemDisplay, SDKValidationError>;
13118
+ declare function listPlansItemDisplayFromJSON(jsonString: string): Result$1<ListPlansItemDisplay, SDKValidationError>;
12658
13119
  /** @internal */
12659
13120
  declare const ListPlansExpiryDurationType$inboundSchema: z$1.ZodMiniType<ListPlansExpiryDurationType, unknown>;
12660
13121
  /** @internal */
12661
13122
  declare const ListPlansRollover$inboundSchema: z$1.ZodMiniType<ListPlansRollover, unknown>;
12662
- declare function listPlansRolloverFromJSON(jsonString: string): Result<ListPlansRollover, SDKValidationError>;
13123
+ declare function listPlansRolloverFromJSON(jsonString: string): Result$1<ListPlansRollover, SDKValidationError>;
12663
13124
  /** @internal */
12664
13125
  declare const ListPlansItem$inboundSchema: z$1.ZodMiniType<ListPlansItem, unknown>;
12665
- declare function listPlansItemFromJSON(jsonString: string): Result<ListPlansItem, SDKValidationError>;
13126
+ declare function listPlansItemFromJSON(jsonString: string): Result$1<ListPlansItem, SDKValidationError>;
12666
13127
  /** @internal */
12667
13128
  declare const ListPlansDurationType$inboundSchema: z$1.ZodMiniType<ListPlansDurationType, unknown>;
12668
13129
  /** @internal */
12669
13130
  declare const ListPlansOnEnd$inboundSchema: z$1.ZodMiniType<ListPlansOnEnd, unknown>;
12670
13131
  /** @internal */
12671
13132
  declare const ListPlansFreeTrial$inboundSchema: z$1.ZodMiniType<ListPlansFreeTrial, unknown>;
12672
- declare function listPlansFreeTrialFromJSON(jsonString: string): Result<ListPlansFreeTrial, SDKValidationError>;
13133
+ declare function listPlansFreeTrialFromJSON(jsonString: string): Result$1<ListPlansFreeTrial, SDKValidationError>;
12673
13134
  /** @internal */
12674
13135
  declare const ListPlansEnv$inboundSchema: z$1.ZodMiniType<ListPlansEnv, unknown>;
12675
13136
  /** @internal */
12676
13137
  declare const ListPlansConfig$inboundSchema: z$1.ZodMiniType<ListPlansConfig, unknown>;
12677
- declare function listPlansConfigFromJSON(jsonString: string): Result<ListPlansConfig, SDKValidationError>;
13138
+ declare function listPlansConfigFromJSON(jsonString: string): Result$1<ListPlansConfig, SDKValidationError>;
12678
13139
  /** @internal */
12679
13140
  declare const ListPlansStatus$inboundSchema: z$1.ZodMiniType<ListPlansStatus, unknown>;
12680
13141
  /** @internal */
12681
13142
  declare const ListPlansAttachAction$inboundSchema: z$1.ZodMiniType<ListPlansAttachAction, unknown>;
12682
13143
  /** @internal */
12683
13144
  declare const ListPlansCustomerEligibility$inboundSchema: z$1.ZodMiniType<ListPlansCustomerEligibility, unknown>;
12684
- declare function listPlansCustomerEligibilityFromJSON(jsonString: string): Result<ListPlansCustomerEligibility, SDKValidationError>;
13145
+ declare function listPlansCustomerEligibilityFromJSON(jsonString: string): Result$1<ListPlansCustomerEligibility, SDKValidationError>;
12685
13146
  /** @internal */
12686
13147
  declare const ListPlansList$inboundSchema: z$1.ZodMiniType<ListPlansList, unknown>;
12687
- declare function listPlansListFromJSON(jsonString: string): Result<ListPlansList, SDKValidationError>;
13148
+ declare function listPlansListFromJSON(jsonString: string): Result$1<ListPlansList, SDKValidationError>;
12688
13149
  /** @internal */
12689
13150
  declare const ListPlansResponse$inboundSchema: z$1.ZodMiniType<ListPlansResponse, unknown>;
12690
- declare function listPlansResponseFromJSON(jsonString: string): Result<ListPlansResponse, SDKValidationError>;
13151
+ declare function listPlansResponseFromJSON(jsonString: string): Result$1<ListPlansResponse, SDKValidationError>;
12691
13152
 
12692
13153
  type MultiAttachGlobals = {
12693
13154
  xApiVersion?: string | undefined;
@@ -13043,6 +13504,14 @@ type MultiAttachInvoiceMode = {
13043
13504
  * If true, finalizes the invoice so it can be sent to the customer. If false, keeps it as a draft for manual review.
13044
13505
  */
13045
13506
  finalize?: boolean | undefined;
13507
+ /**
13508
+ * ID of an invoice template (configured in billing settings) whose footer (e.g. bank details) is applied to the invoice.
13509
+ */
13510
+ invoiceTemplateId?: string | undefined;
13511
+ /**
13512
+ * Number of days the customer has to pay the invoice before it is due (Stripe days_until_due).
13513
+ */
13514
+ netTermsDays?: number | undefined;
13046
13515
  };
13047
13516
  /**
13048
13517
  * A discount to apply. Can be either a reward ID or a promotion code.
@@ -13426,6 +13895,8 @@ type MultiAttachInvoiceMode$Outbound = {
13426
13895
  enabled: boolean;
13427
13896
  enable_plan_immediately: boolean;
13428
13897
  finalize: boolean;
13898
+ invoice_template_id?: string | undefined;
13899
+ net_terms_days?: number | undefined;
13429
13900
  };
13430
13901
  /** @internal */
13431
13902
  declare const MultiAttachInvoiceMode$outboundSchema: z$1.ZodMiniType<MultiAttachInvoiceMode$Outbound, MultiAttachInvoiceMode>;
@@ -13511,15 +13982,15 @@ declare const MultiAttachParams$outboundSchema: z$1.ZodMiniType<MultiAttachParam
13511
13982
  declare function multiAttachParamsToJSON(multiAttachParams: MultiAttachParams): string;
13512
13983
  /** @internal */
13513
13984
  declare const MultiAttachInvoice$inboundSchema: z$1.ZodMiniType<MultiAttachInvoice, unknown>;
13514
- declare function multiAttachInvoiceFromJSON(jsonString: string): Result<MultiAttachInvoice, SDKValidationError>;
13985
+ declare function multiAttachInvoiceFromJSON(jsonString: string): Result$1<MultiAttachInvoice, SDKValidationError>;
13515
13986
  /** @internal */
13516
13987
  declare const MultiAttachCode$inboundSchema: z$1.ZodMiniType<MultiAttachCode, unknown>;
13517
13988
  /** @internal */
13518
13989
  declare const MultiAttachRequiredAction$inboundSchema: z$1.ZodMiniType<MultiAttachRequiredAction, unknown>;
13519
- declare function multiAttachRequiredActionFromJSON(jsonString: string): Result<MultiAttachRequiredAction, SDKValidationError>;
13990
+ declare function multiAttachRequiredActionFromJSON(jsonString: string): Result$1<MultiAttachRequiredAction, SDKValidationError>;
13520
13991
  /** @internal */
13521
13992
  declare const MultiAttachResponse$inboundSchema: z$1.ZodMiniType<MultiAttachResponse, unknown>;
13522
- declare function multiAttachResponseFromJSON(jsonString: string): Result<MultiAttachResponse, SDKValidationError>;
13993
+ declare function multiAttachResponseFromJSON(jsonString: string): Result$1<MultiAttachResponse, SDKValidationError>;
13523
13994
 
13524
13995
  type OpenCustomerPortalGlobals = {
13525
13996
  xApiVersion?: string | undefined;
@@ -13562,7 +14033,7 @@ declare const OpenCustomerPortalParams$outboundSchema: z$1.ZodMiniType<OpenCusto
13562
14033
  declare function openCustomerPortalParamsToJSON(openCustomerPortalParams: OpenCustomerPortalParams): string;
13563
14034
  /** @internal */
13564
14035
  declare const OpenCustomerPortalResponse$inboundSchema: z$1.ZodMiniType<OpenCustomerPortalResponse, unknown>;
13565
- declare function openCustomerPortalResponseFromJSON(jsonString: string): Result<OpenCustomerPortalResponse, SDKValidationError>;
14036
+ declare function openCustomerPortalResponseFromJSON(jsonString: string): Result$1<OpenCustomerPortalResponse, SDKValidationError>;
13566
14037
 
13567
14038
  type PreviewAttachGlobals = {
13568
14039
  xApiVersion?: string | undefined;
@@ -14126,7 +14597,7 @@ type PreviewAttachCustomize = {
14126
14597
  */
14127
14598
  price?: PreviewAttachBasePrice | null | undefined;
14128
14599
  /**
14129
- * Override the items in the plan (PUT-style — replaces all existing items). Mutually exclusive with add_items / remove_items.
14600
+ * Override the items in the plan (PUT-style — replaces all existing items). Mutually exclusive with add_items / remove_items / update_items.
14130
14601
  */
14131
14602
  items?: Array<PreviewAttachItemPlanItem> | undefined;
14132
14603
  /**
@@ -14158,6 +14629,14 @@ type PreviewAttachInvoiceMode = {
14158
14629
  * If true, finalizes the invoice so it can be sent to the customer. If false, keeps it as a draft for manual review.
14159
14630
  */
14160
14631
  finalize?: boolean | undefined;
14632
+ /**
14633
+ * ID of an invoice template (configured in billing settings) whose footer (e.g. bank details) is applied to the invoice.
14634
+ */
14635
+ invoiceTemplateId?: string | undefined;
14636
+ /**
14637
+ * Number of days the customer has to pay the invoice before it is due (Stripe days_until_due).
14638
+ */
14639
+ netTermsDays?: number | undefined;
14161
14640
  };
14162
14641
  /**
14163
14642
  * How to handle proration when updating an existing subscription. 'prorate_immediately' charges/credits prorated amounts now, 'none' skips creating any charges.
@@ -14921,6 +15400,8 @@ type PreviewAttachInvoiceMode$Outbound = {
14921
15400
  enabled: boolean;
14922
15401
  enable_plan_immediately: boolean;
14923
15402
  finalize: boolean;
15403
+ invoice_template_id?: string | undefined;
15404
+ net_terms_days?: number | undefined;
14924
15405
  };
14925
15406
  /** @internal */
14926
15407
  declare const PreviewAttachInvoiceMode$outboundSchema: z$1.ZodMiniType<PreviewAttachInvoiceMode$Outbound, PreviewAttachInvoiceMode>;
@@ -15001,56 +15482,56 @@ declare const PreviewAttachParams$outboundSchema: z$1.ZodMiniType<PreviewAttachP
15001
15482
  declare function previewAttachParamsToJSON(previewAttachParams: PreviewAttachParams): string;
15002
15483
  /** @internal */
15003
15484
  declare const PreviewAttachDiscount$inboundSchema: z$1.ZodMiniType<PreviewAttachDiscount, unknown>;
15004
- declare function previewAttachDiscountFromJSON(jsonString: string): Result<PreviewAttachDiscount, SDKValidationError>;
15485
+ declare function previewAttachDiscountFromJSON(jsonString: string): Result$1<PreviewAttachDiscount, SDKValidationError>;
15005
15486
  /** @internal */
15006
15487
  declare const PreviewAttachLineItemPeriod$inboundSchema: z$1.ZodMiniType<PreviewAttachLineItemPeriod, unknown>;
15007
- declare function previewAttachLineItemPeriodFromJSON(jsonString: string): Result<PreviewAttachLineItemPeriod, SDKValidationError>;
15488
+ declare function previewAttachLineItemPeriodFromJSON(jsonString: string): Result$1<PreviewAttachLineItemPeriod, SDKValidationError>;
15008
15489
  /** @internal */
15009
15490
  declare const PreviewAttachLineItem$inboundSchema: z$1.ZodMiniType<PreviewAttachLineItem, unknown>;
15010
- declare function previewAttachLineItemFromJSON(jsonString: string): Result<PreviewAttachLineItem, SDKValidationError>;
15491
+ declare function previewAttachLineItemFromJSON(jsonString: string): Result$1<PreviewAttachLineItem, SDKValidationError>;
15011
15492
  /** @internal */
15012
15493
  declare const PreviewAttachNextCycleDiscount$inboundSchema: z$1.ZodMiniType<PreviewAttachNextCycleDiscount, unknown>;
15013
- declare function previewAttachNextCycleDiscountFromJSON(jsonString: string): Result<PreviewAttachNextCycleDiscount, SDKValidationError>;
15494
+ declare function previewAttachNextCycleDiscountFromJSON(jsonString: string): Result$1<PreviewAttachNextCycleDiscount, SDKValidationError>;
15014
15495
  /** @internal */
15015
15496
  declare const PreviewAttachNextCycleLineItemPeriod$inboundSchema: z$1.ZodMiniType<PreviewAttachNextCycleLineItemPeriod, unknown>;
15016
- declare function previewAttachNextCycleLineItemPeriodFromJSON(jsonString: string): Result<PreviewAttachNextCycleLineItemPeriod, SDKValidationError>;
15497
+ declare function previewAttachNextCycleLineItemPeriodFromJSON(jsonString: string): Result$1<PreviewAttachNextCycleLineItemPeriod, SDKValidationError>;
15017
15498
  /** @internal */
15018
15499
  declare const PreviewAttachNextCycleLineItem$inboundSchema: z$1.ZodMiniType<PreviewAttachNextCycleLineItem, unknown>;
15019
- declare function previewAttachNextCycleLineItemFromJSON(jsonString: string): Result<PreviewAttachNextCycleLineItem, SDKValidationError>;
15500
+ declare function previewAttachNextCycleLineItemFromJSON(jsonString: string): Result$1<PreviewAttachNextCycleLineItem, SDKValidationError>;
15020
15501
  /** @internal */
15021
15502
  declare const PreviewAttachUsageLineItemPeriod$inboundSchema: z$1.ZodMiniType<PreviewAttachUsageLineItemPeriod, unknown>;
15022
- declare function previewAttachUsageLineItemPeriodFromJSON(jsonString: string): Result<PreviewAttachUsageLineItemPeriod, SDKValidationError>;
15503
+ declare function previewAttachUsageLineItemPeriodFromJSON(jsonString: string): Result$1<PreviewAttachUsageLineItemPeriod, SDKValidationError>;
15023
15504
  /** @internal */
15024
15505
  declare const PreviewAttachUsageLineItem$inboundSchema: z$1.ZodMiniType<PreviewAttachUsageLineItem, unknown>;
15025
- declare function previewAttachUsageLineItemFromJSON(jsonString: string): Result<PreviewAttachUsageLineItem, SDKValidationError>;
15506
+ declare function previewAttachUsageLineItemFromJSON(jsonString: string): Result$1<PreviewAttachUsageLineItem, SDKValidationError>;
15026
15507
  /** @internal */
15027
15508
  declare const PreviewAttachNextCycle$inboundSchema: z$1.ZodMiniType<PreviewAttachNextCycle, unknown>;
15028
- declare function previewAttachNextCycleFromJSON(jsonString: string): Result<PreviewAttachNextCycle, SDKValidationError>;
15509
+ declare function previewAttachNextCycleFromJSON(jsonString: string): Result$1<PreviewAttachNextCycle, SDKValidationError>;
15029
15510
  /** @internal */
15030
15511
  declare const PreviewAttachIncomingFeatureQuantity$inboundSchema: z$1.ZodMiniType<PreviewAttachIncomingFeatureQuantity, unknown>;
15031
- declare function previewAttachIncomingFeatureQuantityFromJSON(jsonString: string): Result<PreviewAttachIncomingFeatureQuantity, SDKValidationError>;
15512
+ declare function previewAttachIncomingFeatureQuantityFromJSON(jsonString: string): Result$1<PreviewAttachIncomingFeatureQuantity, SDKValidationError>;
15032
15513
  /** @internal */
15033
15514
  declare const PreviewAttachIncoming$inboundSchema: z$1.ZodMiniType<PreviewAttachIncoming, unknown>;
15034
- declare function previewAttachIncomingFromJSON(jsonString: string): Result<PreviewAttachIncoming, SDKValidationError>;
15515
+ declare function previewAttachIncomingFromJSON(jsonString: string): Result$1<PreviewAttachIncoming, SDKValidationError>;
15035
15516
  /** @internal */
15036
15517
  declare const PreviewAttachOutgoingFeatureQuantity$inboundSchema: z$1.ZodMiniType<PreviewAttachOutgoingFeatureQuantity, unknown>;
15037
- declare function previewAttachOutgoingFeatureQuantityFromJSON(jsonString: string): Result<PreviewAttachOutgoingFeatureQuantity, SDKValidationError>;
15518
+ declare function previewAttachOutgoingFeatureQuantityFromJSON(jsonString: string): Result$1<PreviewAttachOutgoingFeatureQuantity, SDKValidationError>;
15038
15519
  /** @internal */
15039
15520
  declare const PreviewAttachOutgoing$inboundSchema: z$1.ZodMiniType<PreviewAttachOutgoing, unknown>;
15040
- declare function previewAttachOutgoingFromJSON(jsonString: string): Result<PreviewAttachOutgoing, SDKValidationError>;
15521
+ declare function previewAttachOutgoingFromJSON(jsonString: string): Result$1<PreviewAttachOutgoing, SDKValidationError>;
15041
15522
  /** @internal */
15042
15523
  declare const PreviewAttachCheckoutType$inboundSchema: z$1.ZodMiniType<PreviewAttachCheckoutType, unknown>;
15043
15524
  /** @internal */
15044
15525
  declare const PreviewAttachStatus$inboundSchema: z$1.ZodMiniType<PreviewAttachStatus, unknown>;
15045
15526
  /** @internal */
15046
15527
  declare const PreviewAttachTax$inboundSchema: z$1.ZodMiniType<PreviewAttachTax, unknown>;
15047
- declare function previewAttachTaxFromJSON(jsonString: string): Result<PreviewAttachTax, SDKValidationError>;
15528
+ declare function previewAttachTaxFromJSON(jsonString: string): Result$1<PreviewAttachTax, SDKValidationError>;
15048
15529
  /** @internal */
15049
15530
  declare const PreviewAttachInvoiceCredits$inboundSchema: z$1.ZodMiniType<PreviewAttachInvoiceCredits, unknown>;
15050
- declare function previewAttachInvoiceCreditsFromJSON(jsonString: string): Result<PreviewAttachInvoiceCredits, SDKValidationError>;
15531
+ declare function previewAttachInvoiceCreditsFromJSON(jsonString: string): Result$1<PreviewAttachInvoiceCredits, SDKValidationError>;
15051
15532
  /** @internal */
15052
15533
  declare const PreviewAttachResponse$inboundSchema: z$1.ZodMiniType<PreviewAttachResponse, unknown>;
15053
- declare function previewAttachResponseFromJSON(jsonString: string): Result<PreviewAttachResponse, SDKValidationError>;
15534
+ declare function previewAttachResponseFromJSON(jsonString: string): Result$1<PreviewAttachResponse, SDKValidationError>;
15054
15535
 
15055
15536
  type PreviewMultiAttachGlobals = {
15056
15537
  xApiVersion?: string | undefined;
@@ -15406,6 +15887,14 @@ type PreviewMultiAttachInvoiceMode = {
15406
15887
  * If true, finalizes the invoice so it can be sent to the customer. If false, keeps it as a draft for manual review.
15407
15888
  */
15408
15889
  finalize?: boolean | undefined;
15890
+ /**
15891
+ * ID of an invoice template (configured in billing settings) whose footer (e.g. bank details) is applied to the invoice.
15892
+ */
15893
+ invoiceTemplateId?: string | undefined;
15894
+ /**
15895
+ * Number of days the customer has to pay the invoice before it is due (Stripe days_until_due).
15896
+ */
15897
+ netTermsDays?: number | undefined;
15409
15898
  };
15410
15899
  /**
15411
15900
  * A discount to apply. Can be either a reward ID or a promotion code.
@@ -16058,6 +16547,8 @@ type PreviewMultiAttachInvoiceMode$Outbound = {
16058
16547
  enabled: boolean;
16059
16548
  enable_plan_immediately: boolean;
16060
16549
  finalize: boolean;
16550
+ invoice_template_id?: string | undefined;
16551
+ net_terms_days?: number | undefined;
16061
16552
  };
16062
16553
  /** @internal */
16063
16554
  declare const PreviewMultiAttachInvoiceMode$outboundSchema: z$1.ZodMiniType<PreviewMultiAttachInvoiceMode$Outbound, PreviewMultiAttachInvoiceMode>;
@@ -16143,56 +16634,56 @@ declare const PreviewMultiAttachParams$outboundSchema: z$1.ZodMiniType<PreviewMu
16143
16634
  declare function previewMultiAttachParamsToJSON(previewMultiAttachParams: PreviewMultiAttachParams): string;
16144
16635
  /** @internal */
16145
16636
  declare const PreviewMultiAttachDiscount$inboundSchema: z$1.ZodMiniType<PreviewMultiAttachDiscount, unknown>;
16146
- declare function previewMultiAttachDiscountFromJSON(jsonString: string): Result<PreviewMultiAttachDiscount, SDKValidationError>;
16637
+ declare function previewMultiAttachDiscountFromJSON(jsonString: string): Result$1<PreviewMultiAttachDiscount, SDKValidationError>;
16147
16638
  /** @internal */
16148
16639
  declare const PreviewMultiAttachLineItemPeriod$inboundSchema: z$1.ZodMiniType<PreviewMultiAttachLineItemPeriod, unknown>;
16149
- declare function previewMultiAttachLineItemPeriodFromJSON(jsonString: string): Result<PreviewMultiAttachLineItemPeriod, SDKValidationError>;
16640
+ declare function previewMultiAttachLineItemPeriodFromJSON(jsonString: string): Result$1<PreviewMultiAttachLineItemPeriod, SDKValidationError>;
16150
16641
  /** @internal */
16151
16642
  declare const PreviewMultiAttachLineItem$inboundSchema: z$1.ZodMiniType<PreviewMultiAttachLineItem, unknown>;
16152
- declare function previewMultiAttachLineItemFromJSON(jsonString: string): Result<PreviewMultiAttachLineItem, SDKValidationError>;
16643
+ declare function previewMultiAttachLineItemFromJSON(jsonString: string): Result$1<PreviewMultiAttachLineItem, SDKValidationError>;
16153
16644
  /** @internal */
16154
16645
  declare const PreviewMultiAttachNextCycleDiscount$inboundSchema: z$1.ZodMiniType<PreviewMultiAttachNextCycleDiscount, unknown>;
16155
- declare function previewMultiAttachNextCycleDiscountFromJSON(jsonString: string): Result<PreviewMultiAttachNextCycleDiscount, SDKValidationError>;
16646
+ declare function previewMultiAttachNextCycleDiscountFromJSON(jsonString: string): Result$1<PreviewMultiAttachNextCycleDiscount, SDKValidationError>;
16156
16647
  /** @internal */
16157
16648
  declare const PreviewMultiAttachNextCycleLineItemPeriod$inboundSchema: z$1.ZodMiniType<PreviewMultiAttachNextCycleLineItemPeriod, unknown>;
16158
- declare function previewMultiAttachNextCycleLineItemPeriodFromJSON(jsonString: string): Result<PreviewMultiAttachNextCycleLineItemPeriod, SDKValidationError>;
16649
+ declare function previewMultiAttachNextCycleLineItemPeriodFromJSON(jsonString: string): Result$1<PreviewMultiAttachNextCycleLineItemPeriod, SDKValidationError>;
16159
16650
  /** @internal */
16160
16651
  declare const PreviewMultiAttachNextCycleLineItem$inboundSchema: z$1.ZodMiniType<PreviewMultiAttachNextCycleLineItem, unknown>;
16161
- declare function previewMultiAttachNextCycleLineItemFromJSON(jsonString: string): Result<PreviewMultiAttachNextCycleLineItem, SDKValidationError>;
16652
+ declare function previewMultiAttachNextCycleLineItemFromJSON(jsonString: string): Result$1<PreviewMultiAttachNextCycleLineItem, SDKValidationError>;
16162
16653
  /** @internal */
16163
16654
  declare const PreviewMultiAttachUsageLineItemPeriod$inboundSchema: z$1.ZodMiniType<PreviewMultiAttachUsageLineItemPeriod, unknown>;
16164
- declare function previewMultiAttachUsageLineItemPeriodFromJSON(jsonString: string): Result<PreviewMultiAttachUsageLineItemPeriod, SDKValidationError>;
16655
+ declare function previewMultiAttachUsageLineItemPeriodFromJSON(jsonString: string): Result$1<PreviewMultiAttachUsageLineItemPeriod, SDKValidationError>;
16165
16656
  /** @internal */
16166
16657
  declare const PreviewMultiAttachUsageLineItem$inboundSchema: z$1.ZodMiniType<PreviewMultiAttachUsageLineItem, unknown>;
16167
- declare function previewMultiAttachUsageLineItemFromJSON(jsonString: string): Result<PreviewMultiAttachUsageLineItem, SDKValidationError>;
16658
+ declare function previewMultiAttachUsageLineItemFromJSON(jsonString: string): Result$1<PreviewMultiAttachUsageLineItem, SDKValidationError>;
16168
16659
  /** @internal */
16169
16660
  declare const PreviewMultiAttachNextCycle$inboundSchema: z$1.ZodMiniType<PreviewMultiAttachNextCycle, unknown>;
16170
- declare function previewMultiAttachNextCycleFromJSON(jsonString: string): Result<PreviewMultiAttachNextCycle, SDKValidationError>;
16661
+ declare function previewMultiAttachNextCycleFromJSON(jsonString: string): Result$1<PreviewMultiAttachNextCycle, SDKValidationError>;
16171
16662
  /** @internal */
16172
16663
  declare const PreviewMultiAttachIncomingFeatureQuantity$inboundSchema: z$1.ZodMiniType<PreviewMultiAttachIncomingFeatureQuantity, unknown>;
16173
- declare function previewMultiAttachIncomingFeatureQuantityFromJSON(jsonString: string): Result<PreviewMultiAttachIncomingFeatureQuantity, SDKValidationError>;
16664
+ declare function previewMultiAttachIncomingFeatureQuantityFromJSON(jsonString: string): Result$1<PreviewMultiAttachIncomingFeatureQuantity, SDKValidationError>;
16174
16665
  /** @internal */
16175
16666
  declare const PreviewMultiAttachIncoming$inboundSchema: z$1.ZodMiniType<PreviewMultiAttachIncoming, unknown>;
16176
- declare function previewMultiAttachIncomingFromJSON(jsonString: string): Result<PreviewMultiAttachIncoming, SDKValidationError>;
16667
+ declare function previewMultiAttachIncomingFromJSON(jsonString: string): Result$1<PreviewMultiAttachIncoming, SDKValidationError>;
16177
16668
  /** @internal */
16178
16669
  declare const PreviewMultiAttachOutgoingFeatureQuantity$inboundSchema: z$1.ZodMiniType<PreviewMultiAttachOutgoingFeatureQuantity, unknown>;
16179
- declare function previewMultiAttachOutgoingFeatureQuantityFromJSON(jsonString: string): Result<PreviewMultiAttachOutgoingFeatureQuantity, SDKValidationError>;
16670
+ declare function previewMultiAttachOutgoingFeatureQuantityFromJSON(jsonString: string): Result$1<PreviewMultiAttachOutgoingFeatureQuantity, SDKValidationError>;
16180
16671
  /** @internal */
16181
16672
  declare const PreviewMultiAttachOutgoing$inboundSchema: z$1.ZodMiniType<PreviewMultiAttachOutgoing, unknown>;
16182
- declare function previewMultiAttachOutgoingFromJSON(jsonString: string): Result<PreviewMultiAttachOutgoing, SDKValidationError>;
16673
+ declare function previewMultiAttachOutgoingFromJSON(jsonString: string): Result$1<PreviewMultiAttachOutgoing, SDKValidationError>;
16183
16674
  /** @internal */
16184
16675
  declare const PreviewMultiAttachCheckoutType$inboundSchema: z$1.ZodMiniType<PreviewMultiAttachCheckoutType, unknown>;
16185
16676
  /** @internal */
16186
16677
  declare const PreviewMultiAttachStatus$inboundSchema: z$1.ZodMiniType<PreviewMultiAttachStatus, unknown>;
16187
16678
  /** @internal */
16188
16679
  declare const PreviewMultiAttachTax$inboundSchema: z$1.ZodMiniType<PreviewMultiAttachTax, unknown>;
16189
- declare function previewMultiAttachTaxFromJSON(jsonString: string): Result<PreviewMultiAttachTax, SDKValidationError>;
16680
+ declare function previewMultiAttachTaxFromJSON(jsonString: string): Result$1<PreviewMultiAttachTax, SDKValidationError>;
16190
16681
  /** @internal */
16191
16682
  declare const PreviewMultiAttachInvoiceCredits$inboundSchema: z$1.ZodMiniType<PreviewMultiAttachInvoiceCredits, unknown>;
16192
- declare function previewMultiAttachInvoiceCreditsFromJSON(jsonString: string): Result<PreviewMultiAttachInvoiceCredits, SDKValidationError>;
16683
+ declare function previewMultiAttachInvoiceCreditsFromJSON(jsonString: string): Result$1<PreviewMultiAttachInvoiceCredits, SDKValidationError>;
16193
16684
  /** @internal */
16194
16685
  declare const PreviewMultiAttachResponse$inboundSchema: z$1.ZodMiniType<PreviewMultiAttachResponse, unknown>;
16195
- declare function previewMultiAttachResponseFromJSON(jsonString: string): Result<PreviewMultiAttachResponse, SDKValidationError>;
16686
+ declare function previewMultiAttachResponseFromJSON(jsonString: string): Result$1<PreviewMultiAttachResponse, SDKValidationError>;
16196
16687
 
16197
16688
  type PreviewUpdateGlobals = {
16198
16689
  xApiVersion?: string | undefined;
@@ -16756,7 +17247,7 @@ type PreviewUpdateCustomize = {
16756
17247
  */
16757
17248
  price?: PreviewUpdateBasePrice | null | undefined;
16758
17249
  /**
16759
- * Override the items in the plan (PUT-style — replaces all existing items). Mutually exclusive with add_items / remove_items.
17250
+ * Override the items in the plan (PUT-style — replaces all existing items). Mutually exclusive with add_items / remove_items / update_items.
16760
17251
  */
16761
17252
  items?: Array<PreviewUpdateItemPlanItem> | undefined;
16762
17253
  /**
@@ -16788,6 +17279,14 @@ type PreviewUpdateInvoiceMode = {
16788
17279
  * If true, finalizes the invoice so it can be sent to the customer. If false, keeps it as a draft for manual review.
16789
17280
  */
16790
17281
  finalize?: boolean | undefined;
17282
+ /**
17283
+ * ID of an invoice template (configured in billing settings) whose footer (e.g. bank details) is applied to the invoice.
17284
+ */
17285
+ invoiceTemplateId?: string | undefined;
17286
+ /**
17287
+ * Number of days the customer has to pay the invoice before it is due (Stripe days_until_due).
17288
+ */
17289
+ netTermsDays?: number | undefined;
16791
17290
  };
16792
17291
  /**
16793
17292
  * How to handle proration when updating an existing subscription. 'prorate_immediately' charges/credits prorated amounts now, 'none' skips creating any charges.
@@ -17477,6 +17976,8 @@ type PreviewUpdateInvoiceMode$Outbound = {
17477
17976
  enabled: boolean;
17478
17977
  enable_plan_immediately: boolean;
17479
17978
  finalize: boolean;
17979
+ invoice_template_id?: string | undefined;
17980
+ net_terms_days?: number | undefined;
17480
17981
  };
17481
17982
  /** @internal */
17482
17983
  declare const PreviewUpdateInvoiceMode$outboundSchema: z$1.ZodMiniType<PreviewUpdateInvoiceMode$Outbound, PreviewUpdateInvoiceMode>;
@@ -17525,56 +18026,56 @@ declare const PreviewUpdateParams$outboundSchema: z$1.ZodMiniType<PreviewUpdateP
17525
18026
  declare function previewUpdateParamsToJSON(previewUpdateParams: PreviewUpdateParams): string;
17526
18027
  /** @internal */
17527
18028
  declare const PreviewUpdateDiscount$inboundSchema: z$1.ZodMiniType<PreviewUpdateDiscount, unknown>;
17528
- declare function previewUpdateDiscountFromJSON(jsonString: string): Result<PreviewUpdateDiscount, SDKValidationError>;
18029
+ declare function previewUpdateDiscountFromJSON(jsonString: string): Result$1<PreviewUpdateDiscount, SDKValidationError>;
17529
18030
  /** @internal */
17530
18031
  declare const PreviewUpdateLineItemPeriod$inboundSchema: z$1.ZodMiniType<PreviewUpdateLineItemPeriod, unknown>;
17531
- declare function previewUpdateLineItemPeriodFromJSON(jsonString: string): Result<PreviewUpdateLineItemPeriod, SDKValidationError>;
18032
+ declare function previewUpdateLineItemPeriodFromJSON(jsonString: string): Result$1<PreviewUpdateLineItemPeriod, SDKValidationError>;
17532
18033
  /** @internal */
17533
18034
  declare const PreviewUpdateLineItem$inboundSchema: z$1.ZodMiniType<PreviewUpdateLineItem, unknown>;
17534
- declare function previewUpdateLineItemFromJSON(jsonString: string): Result<PreviewUpdateLineItem, SDKValidationError>;
18035
+ declare function previewUpdateLineItemFromJSON(jsonString: string): Result$1<PreviewUpdateLineItem, SDKValidationError>;
17535
18036
  /** @internal */
17536
18037
  declare const PreviewUpdateNextCycleDiscount$inboundSchema: z$1.ZodMiniType<PreviewUpdateNextCycleDiscount, unknown>;
17537
- declare function previewUpdateNextCycleDiscountFromJSON(jsonString: string): Result<PreviewUpdateNextCycleDiscount, SDKValidationError>;
18038
+ declare function previewUpdateNextCycleDiscountFromJSON(jsonString: string): Result$1<PreviewUpdateNextCycleDiscount, SDKValidationError>;
17538
18039
  /** @internal */
17539
18040
  declare const PreviewUpdateNextCycleLineItemPeriod$inboundSchema: z$1.ZodMiniType<PreviewUpdateNextCycleLineItemPeriod, unknown>;
17540
- declare function previewUpdateNextCycleLineItemPeriodFromJSON(jsonString: string): Result<PreviewUpdateNextCycleLineItemPeriod, SDKValidationError>;
18041
+ declare function previewUpdateNextCycleLineItemPeriodFromJSON(jsonString: string): Result$1<PreviewUpdateNextCycleLineItemPeriod, SDKValidationError>;
17541
18042
  /** @internal */
17542
18043
  declare const PreviewUpdateNextCycleLineItem$inboundSchema: z$1.ZodMiniType<PreviewUpdateNextCycleLineItem, unknown>;
17543
- declare function previewUpdateNextCycleLineItemFromJSON(jsonString: string): Result<PreviewUpdateNextCycleLineItem, SDKValidationError>;
18044
+ declare function previewUpdateNextCycleLineItemFromJSON(jsonString: string): Result$1<PreviewUpdateNextCycleLineItem, SDKValidationError>;
17544
18045
  /** @internal */
17545
18046
  declare const PreviewUpdateUsageLineItemPeriod$inboundSchema: z$1.ZodMiniType<PreviewUpdateUsageLineItemPeriod, unknown>;
17546
- declare function previewUpdateUsageLineItemPeriodFromJSON(jsonString: string): Result<PreviewUpdateUsageLineItemPeriod, SDKValidationError>;
18047
+ declare function previewUpdateUsageLineItemPeriodFromJSON(jsonString: string): Result$1<PreviewUpdateUsageLineItemPeriod, SDKValidationError>;
17547
18048
  /** @internal */
17548
18049
  declare const PreviewUpdateUsageLineItem$inboundSchema: z$1.ZodMiniType<PreviewUpdateUsageLineItem, unknown>;
17549
- declare function previewUpdateUsageLineItemFromJSON(jsonString: string): Result<PreviewUpdateUsageLineItem, SDKValidationError>;
18050
+ declare function previewUpdateUsageLineItemFromJSON(jsonString: string): Result$1<PreviewUpdateUsageLineItem, SDKValidationError>;
17550
18051
  /** @internal */
17551
18052
  declare const PreviewUpdateNextCycle$inboundSchema: z$1.ZodMiniType<PreviewUpdateNextCycle, unknown>;
17552
- declare function previewUpdateNextCycleFromJSON(jsonString: string): Result<PreviewUpdateNextCycle, SDKValidationError>;
18053
+ declare function previewUpdateNextCycleFromJSON(jsonString: string): Result$1<PreviewUpdateNextCycle, SDKValidationError>;
17553
18054
  /** @internal */
17554
18055
  declare const PreviewUpdateIncomingFeatureQuantity$inboundSchema: z$1.ZodMiniType<PreviewUpdateIncomingFeatureQuantity, unknown>;
17555
- declare function previewUpdateIncomingFeatureQuantityFromJSON(jsonString: string): Result<PreviewUpdateIncomingFeatureQuantity, SDKValidationError>;
18056
+ declare function previewUpdateIncomingFeatureQuantityFromJSON(jsonString: string): Result$1<PreviewUpdateIncomingFeatureQuantity, SDKValidationError>;
17556
18057
  /** @internal */
17557
18058
  declare const PreviewUpdateIncoming$inboundSchema: z$1.ZodMiniType<PreviewUpdateIncoming, unknown>;
17558
- declare function previewUpdateIncomingFromJSON(jsonString: string): Result<PreviewUpdateIncoming, SDKValidationError>;
18059
+ declare function previewUpdateIncomingFromJSON(jsonString: string): Result$1<PreviewUpdateIncoming, SDKValidationError>;
17559
18060
  /** @internal */
17560
18061
  declare const PreviewUpdateOutgoingFeatureQuantity$inboundSchema: z$1.ZodMiniType<PreviewUpdateOutgoingFeatureQuantity, unknown>;
17561
- declare function previewUpdateOutgoingFeatureQuantityFromJSON(jsonString: string): Result<PreviewUpdateOutgoingFeatureQuantity, SDKValidationError>;
18062
+ declare function previewUpdateOutgoingFeatureQuantityFromJSON(jsonString: string): Result$1<PreviewUpdateOutgoingFeatureQuantity, SDKValidationError>;
17562
18063
  /** @internal */
17563
18064
  declare const PreviewUpdateOutgoing$inboundSchema: z$1.ZodMiniType<PreviewUpdateOutgoing, unknown>;
17564
- declare function previewUpdateOutgoingFromJSON(jsonString: string): Result<PreviewUpdateOutgoing, SDKValidationError>;
18065
+ declare function previewUpdateOutgoingFromJSON(jsonString: string): Result$1<PreviewUpdateOutgoing, SDKValidationError>;
17565
18066
  /** @internal */
17566
18067
  declare const Intent$inboundSchema: z$1.ZodMiniType<Intent, unknown>;
17567
18068
  /** @internal */
17568
18069
  declare const PreviewUpdateStatus$inboundSchema: z$1.ZodMiniType<PreviewUpdateStatus, unknown>;
17569
18070
  /** @internal */
17570
18071
  declare const PreviewUpdateTax$inboundSchema: z$1.ZodMiniType<PreviewUpdateTax, unknown>;
17571
- declare function previewUpdateTaxFromJSON(jsonString: string): Result<PreviewUpdateTax, SDKValidationError>;
18072
+ declare function previewUpdateTaxFromJSON(jsonString: string): Result$1<PreviewUpdateTax, SDKValidationError>;
17572
18073
  /** @internal */
17573
18074
  declare const PreviewUpdateInvoiceCredits$inboundSchema: z$1.ZodMiniType<PreviewUpdateInvoiceCredits, unknown>;
17574
- declare function previewUpdateInvoiceCreditsFromJSON(jsonString: string): Result<PreviewUpdateInvoiceCredits, SDKValidationError>;
18075
+ declare function previewUpdateInvoiceCreditsFromJSON(jsonString: string): Result$1<PreviewUpdateInvoiceCredits, SDKValidationError>;
17575
18076
  /** @internal */
17576
18077
  declare const PreviewUpdateResponse$inboundSchema: z$1.ZodMiniType<PreviewUpdateResponse, unknown>;
17577
- declare function previewUpdateResponseFromJSON(jsonString: string): Result<PreviewUpdateResponse, SDKValidationError>;
18078
+ declare function previewUpdateResponseFromJSON(jsonString: string): Result$1<PreviewUpdateResponse, SDKValidationError>;
17578
18079
 
17579
18080
  type RedeemReferralCodeGlobals = {
17580
18081
  xApiVersion?: string | undefined;
@@ -17616,7 +18117,7 @@ declare const RedeemReferralCodeParams$outboundSchema: z$1.ZodMiniType<RedeemRef
17616
18117
  declare function redeemReferralCodeParamsToJSON(redeemReferralCodeParams: RedeemReferralCodeParams): string;
17617
18118
  /** @internal */
17618
18119
  declare const RedeemReferralCodeResponse$inboundSchema: z$1.ZodMiniType<RedeemReferralCodeResponse, unknown>;
17619
- declare function redeemReferralCodeResponseFromJSON(jsonString: string): Result<RedeemReferralCodeResponse, SDKValidationError>;
18120
+ declare function redeemReferralCodeResponseFromJSON(jsonString: string): Result$1<RedeemReferralCodeResponse, SDKValidationError>;
17620
18121
 
17621
18122
  type RedeemRewardCodeGlobals = {
17622
18123
  xApiVersion?: string | undefined;
@@ -17664,10 +18165,10 @@ declare const RedeemRewardCodeParams$outboundSchema: z$1.ZodMiniType<RedeemRewar
17664
18165
  declare function redeemRewardCodeParamsToJSON(redeemRewardCodeParams: RedeemRewardCodeParams): string;
17665
18166
  /** @internal */
17666
18167
  declare const EntitlementsGranted$inboundSchema: z$1.ZodMiniType<EntitlementsGranted, unknown>;
17667
- declare function entitlementsGrantedFromJSON(jsonString: string): Result<EntitlementsGranted, SDKValidationError>;
18168
+ declare function entitlementsGrantedFromJSON(jsonString: string): Result$1<EntitlementsGranted, SDKValidationError>;
17668
18169
  /** @internal */
17669
18170
  declare const RedeemRewardCodeResponse$inboundSchema: z$1.ZodMiniType<RedeemRewardCodeResponse, unknown>;
17670
- declare function redeemRewardCodeResponseFromJSON(jsonString: string): Result<RedeemRewardCodeResponse, SDKValidationError>;
18171
+ declare function redeemRewardCodeResponseFromJSON(jsonString: string): Result$1<RedeemRewardCodeResponse, SDKValidationError>;
17671
18172
 
17672
18173
  declare class ResponseValidationError extends AutumnError {
17673
18174
  /**
@@ -18267,7 +18768,7 @@ type SetupPaymentCustomize = {
18267
18768
  */
18268
18769
  price?: SetupPaymentBasePrice | null | undefined;
18269
18770
  /**
18270
- * Override the items in the plan (PUT-style — replaces all existing items). Mutually exclusive with add_items / remove_items.
18771
+ * Override the items in the plan (PUT-style — replaces all existing items). Mutually exclusive with add_items / remove_items / update_items.
18271
18772
  */
18272
18773
  items?: Array<SetupPaymentItemPlanItem> | undefined;
18273
18774
  /**
@@ -18742,7 +19243,107 @@ declare const SetupPaymentParams$outboundSchema: z$1.ZodMiniType<SetupPaymentPar
18742
19243
  declare function setupPaymentParamsToJSON(setupPaymentParams: SetupPaymentParams): string;
18743
19244
  /** @internal */
18744
19245
  declare const SetupPaymentResponse$inboundSchema: z$1.ZodMiniType<SetupPaymentResponse, unknown>;
18745
- declare function setupPaymentResponseFromJSON(jsonString: string): Result<SetupPaymentResponse, SDKValidationError>;
19246
+ declare function setupPaymentResponseFromJSON(jsonString: string): Result$1<SetupPaymentResponse, SDKValidationError>;
19247
+
19248
+ type SyncRevenueCatGlobals = {
19249
+ xApiVersion?: string | undefined;
19250
+ };
19251
+ /**
19252
+ * "test" and "sandbox" both target the sandbox environment
19253
+ */
19254
+ declare const SyncRevenueCatEnv: {
19255
+ readonly Test: "test";
19256
+ readonly Sandbox: "sandbox";
19257
+ readonly Live: "live";
19258
+ };
19259
+ /**
19260
+ * "test" and "sandbox" both target the sandbox environment
19261
+ */
19262
+ type SyncRevenueCatEnv = ClosedEnum<typeof SyncRevenueCatEnv>;
19263
+ type SyncRevenueCatParams = {
19264
+ organizationSlug: string;
19265
+ /**
19266
+ * "test" and "sandbox" both target the sandbox environment
19267
+ */
19268
+ env: SyncRevenueCatEnv;
19269
+ /**
19270
+ * Plans to push. Omit to sync every plan in the org/env.
19271
+ */
19272
+ productIds?: Array<string> | undefined;
19273
+ };
19274
+ declare const SyncRevenueCatStatus: {
19275
+ readonly Synced: "synced";
19276
+ readonly Skipped: "skipped";
19277
+ readonly Error: "error";
19278
+ };
19279
+ type SyncRevenueCatStatus = OpenEnum<typeof SyncRevenueCatStatus>;
19280
+ declare const SyncRevenueCatProduct: {
19281
+ readonly Created: "created";
19282
+ readonly Updated: "updated";
19283
+ readonly Exists: "exists";
19284
+ };
19285
+ type SyncRevenueCatProduct = OpenEnum<typeof SyncRevenueCatProduct>;
19286
+ declare const StorePush: {
19287
+ readonly Pushed: "pushed";
19288
+ readonly Failed: "failed";
19289
+ readonly Skipped: "skipped";
19290
+ };
19291
+ type StorePush = OpenEnum<typeof StorePush>;
19292
+ declare const SyncRevenueCatPrice: {
19293
+ readonly Set: "set";
19294
+ readonly Skipped: "skipped";
19295
+ readonly Failed: "failed";
19296
+ };
19297
+ type SyncRevenueCatPrice = OpenEnum<typeof SyncRevenueCatPrice>;
19298
+ type SyncRevenueCatApp = {
19299
+ appId: string;
19300
+ appType: string;
19301
+ product: SyncRevenueCatProduct;
19302
+ storePush?: StorePush | undefined;
19303
+ price?: SyncRevenueCatPrice | undefined;
19304
+ message?: string | undefined;
19305
+ };
19306
+ type Result = {
19307
+ planId: string;
19308
+ status: SyncRevenueCatStatus;
19309
+ storeIdentifier?: string | undefined;
19310
+ apps?: Array<SyncRevenueCatApp> | undefined;
19311
+ message?: string | undefined;
19312
+ };
19313
+ /**
19314
+ * OK
19315
+ */
19316
+ type SyncRevenueCatResponse = {
19317
+ results: Array<Result>;
19318
+ };
19319
+ /** @internal */
19320
+ declare const SyncRevenueCatEnv$outboundSchema: z$1.ZodMiniEnum<typeof SyncRevenueCatEnv>;
19321
+ /** @internal */
19322
+ type SyncRevenueCatParams$Outbound = {
19323
+ organization_slug: string;
19324
+ env: string;
19325
+ product_ids?: Array<string> | undefined;
19326
+ };
19327
+ /** @internal */
19328
+ declare const SyncRevenueCatParams$outboundSchema: z$1.ZodMiniType<SyncRevenueCatParams$Outbound, SyncRevenueCatParams>;
19329
+ declare function syncRevenueCatParamsToJSON(syncRevenueCatParams: SyncRevenueCatParams): string;
19330
+ /** @internal */
19331
+ declare const SyncRevenueCatStatus$inboundSchema: z$1.ZodMiniType<SyncRevenueCatStatus, unknown>;
19332
+ /** @internal */
19333
+ declare const SyncRevenueCatProduct$inboundSchema: z$1.ZodMiniType<SyncRevenueCatProduct, unknown>;
19334
+ /** @internal */
19335
+ declare const StorePush$inboundSchema: z$1.ZodMiniType<StorePush, unknown>;
19336
+ /** @internal */
19337
+ declare const SyncRevenueCatPrice$inboundSchema: z$1.ZodMiniType<SyncRevenueCatPrice, unknown>;
19338
+ /** @internal */
19339
+ declare const SyncRevenueCatApp$inboundSchema: z$1.ZodMiniType<SyncRevenueCatApp, unknown>;
19340
+ declare function syncRevenueCatAppFromJSON(jsonString: string): Result$1<SyncRevenueCatApp, SDKValidationError>;
19341
+ /** @internal */
19342
+ declare const Result$inboundSchema: z$1.ZodMiniType<Result, unknown>;
19343
+ declare function resultFromJSON(jsonString: string): Result$1<Result, SDKValidationError>;
19344
+ /** @internal */
19345
+ declare const SyncRevenueCatResponse$inboundSchema: z$1.ZodMiniType<SyncRevenueCatResponse, unknown>;
19346
+ declare function syncRevenueCatResponseFromJSON(jsonString: string): Result$1<SyncRevenueCatResponse, SDKValidationError>;
18746
19347
 
18747
19348
  type TrackGlobals = {
18748
19349
  xApiVersion?: string | undefined;
@@ -18788,6 +19389,10 @@ type TrackParams = {
18788
19389
  properties?: {
18789
19390
  [k: string]: any;
18790
19391
  } | undefined;
19392
+ /**
19393
+ * If true, enqueue the event for asynchronous processing and return 202 immediately. The response will not include balance information.
19394
+ */
19395
+ async?: boolean | undefined;
18791
19396
  lock?: TrackLock | undefined;
18792
19397
  };
18793
19398
  declare const TrackIntervalEnum2: {
@@ -18984,6 +19589,7 @@ type TrackParams$Outbound = {
18984
19589
  properties?: {
18985
19590
  [k: string]: any;
18986
19591
  } | undefined;
19592
+ async?: boolean | undefined;
18987
19593
  lock?: TrackLock$Outbound | undefined;
18988
19594
  };
18989
19595
  /** @internal */
@@ -18993,33 +19599,33 @@ declare function trackParamsToJSON(trackParams: TrackParams): string;
18993
19599
  declare const TrackIntervalEnum2$inboundSchema: z$1.ZodMiniType<TrackIntervalEnum2, unknown>;
18994
19600
  /** @internal */
18995
19601
  declare const TrackIntervalUnion2$inboundSchema: z$1.ZodMiniType<TrackIntervalUnion2, unknown>;
18996
- declare function trackIntervalUnion2FromJSON(jsonString: string): Result<TrackIntervalUnion2, SDKValidationError>;
19602
+ declare function trackIntervalUnion2FromJSON(jsonString: string): Result$1<TrackIntervalUnion2, SDKValidationError>;
18997
19603
  /** @internal */
18998
19604
  declare const TrackReset2$inboundSchema: z$1.ZodMiniType<TrackReset2, unknown>;
18999
- declare function trackReset2FromJSON(jsonString: string): Result<TrackReset2, SDKValidationError>;
19605
+ declare function trackReset2FromJSON(jsonString: string): Result$1<TrackReset2, SDKValidationError>;
19000
19606
  /** @internal */
19001
19607
  declare const Deduction2$inboundSchema: z$1.ZodMiniType<Deduction2, unknown>;
19002
- declare function deduction2FromJSON(jsonString: string): Result<Deduction2, SDKValidationError>;
19608
+ declare function deduction2FromJSON(jsonString: string): Result$1<Deduction2, SDKValidationError>;
19003
19609
  /** @internal */
19004
19610
  declare const TrackResponseBody2$inboundSchema: z$1.ZodMiniType<TrackResponseBody2, unknown>;
19005
- declare function trackResponseBody2FromJSON(jsonString: string): Result<TrackResponseBody2, SDKValidationError>;
19611
+ declare function trackResponseBody2FromJSON(jsonString: string): Result$1<TrackResponseBody2, SDKValidationError>;
19006
19612
  /** @internal */
19007
19613
  declare const TrackIntervalEnum1$inboundSchema: z$1.ZodMiniType<TrackIntervalEnum1, unknown>;
19008
19614
  /** @internal */
19009
19615
  declare const TrackIntervalUnion1$inboundSchema: z$1.ZodMiniType<TrackIntervalUnion1, unknown>;
19010
- declare function trackIntervalUnion1FromJSON(jsonString: string): Result<TrackIntervalUnion1, SDKValidationError>;
19616
+ declare function trackIntervalUnion1FromJSON(jsonString: string): Result$1<TrackIntervalUnion1, SDKValidationError>;
19011
19617
  /** @internal */
19012
19618
  declare const TrackReset1$inboundSchema: z$1.ZodMiniType<TrackReset1, unknown>;
19013
- declare function trackReset1FromJSON(jsonString: string): Result<TrackReset1, SDKValidationError>;
19619
+ declare function trackReset1FromJSON(jsonString: string): Result$1<TrackReset1, SDKValidationError>;
19014
19620
  /** @internal */
19015
19621
  declare const Deduction1$inboundSchema: z$1.ZodMiniType<Deduction1, unknown>;
19016
- declare function deduction1FromJSON(jsonString: string): Result<Deduction1, SDKValidationError>;
19622
+ declare function deduction1FromJSON(jsonString: string): Result$1<Deduction1, SDKValidationError>;
19017
19623
  /** @internal */
19018
19624
  declare const TrackResponseBody1$inboundSchema: z$1.ZodMiniType<TrackResponseBody1, unknown>;
19019
- declare function trackResponseBody1FromJSON(jsonString: string): Result<TrackResponseBody1, SDKValidationError>;
19625
+ declare function trackResponseBody1FromJSON(jsonString: string): Result$1<TrackResponseBody1, SDKValidationError>;
19020
19626
  /** @internal */
19021
19627
  declare const TrackResponse$inboundSchema: z$1.ZodMiniType<TrackResponse, unknown>;
19022
- declare function trackResponseFromJSON(jsonString: string): Result<TrackResponse, SDKValidationError>;
19628
+ declare function trackResponseFromJSON(jsonString: string): Result$1<TrackResponse, SDKValidationError>;
19023
19629
 
19024
19630
  type UpdateBalanceGlobals = {
19025
19631
  xApiVersion?: string | undefined;
@@ -19110,7 +19716,7 @@ declare const UpdateBalanceParams$outboundSchema: z$1.ZodMiniType<UpdateBalanceP
19110
19716
  declare function updateBalanceParamsToJSON(updateBalanceParams: UpdateBalanceParams): string;
19111
19717
  /** @internal */
19112
19718
  declare const UpdateBalanceResponse$inboundSchema: z$1.ZodMiniType<UpdateBalanceResponse, unknown>;
19113
- declare function updateBalanceResponseFromJSON(jsonString: string): Result<UpdateBalanceResponse, SDKValidationError>;
19719
+ declare function updateBalanceResponseFromJSON(jsonString: string): Result$1<UpdateBalanceResponse, SDKValidationError>;
19114
19720
 
19115
19721
  type UpdateCustomerGlobals = {
19116
19722
  xApiVersion?: string | undefined;
@@ -19492,6 +20098,17 @@ declare const UpdateCustomerStatus: {
19492
20098
  * Current status of the subscription.
19493
20099
  */
19494
20100
  type UpdateCustomerStatus = OpenEnum<typeof UpdateCustomerStatus>;
20101
+ /**
20102
+ * Whether this subscription is attached at the customer level or entity level.
20103
+ */
20104
+ declare const UpdateCustomerSubscriptionScope: {
20105
+ readonly Customer: "customer";
20106
+ readonly Entity: "entity";
20107
+ };
20108
+ /**
20109
+ * Whether this subscription is attached at the customer level or entity level.
20110
+ */
20111
+ type UpdateCustomerSubscriptionScope = OpenEnum<typeof UpdateCustomerSubscriptionScope>;
19495
20112
  type UpdateCustomerSubscription = {
19496
20113
  /**
19497
20114
  * The unique identifier of this subscription. If a subscription_id was provided at attach time, it is used; otherwise, falls back to the internal ID.
@@ -19546,7 +20163,22 @@ type UpdateCustomerSubscription = {
19546
20163
  * Number of units of this subscription (for per-seat plans).
19547
20164
  */
19548
20165
  quantity: number;
20166
+ /**
20167
+ * Whether this subscription is attached at the customer level or entity level.
20168
+ */
20169
+ scope?: UpdateCustomerSubscriptionScope | undefined;
19549
20170
  };
20171
+ /**
20172
+ * Whether this purchase is attached at the customer level or entity level.
20173
+ */
20174
+ declare const UpdateCustomerPurchaseScope: {
20175
+ readonly Customer: "customer";
20176
+ readonly Entity: "entity";
20177
+ };
20178
+ /**
20179
+ * Whether this purchase is attached at the customer level or entity level.
20180
+ */
20181
+ type UpdateCustomerPurchaseScope = OpenEnum<typeof UpdateCustomerPurchaseScope>;
19550
20182
  type UpdateCustomerPurchase = {
19551
20183
  plan?: Plan | undefined;
19552
20184
  /**
@@ -19565,6 +20197,10 @@ type UpdateCustomerPurchase = {
19565
20197
  * Number of units purchased.
19566
20198
  */
19567
20199
  quantity: number;
20200
+ /**
20201
+ * Whether this purchase is attached at the customer level or entity level.
20202
+ */
20203
+ scope?: UpdateCustomerPurchaseScope | undefined;
19568
20204
  };
19569
20205
  /**
19570
20206
  * Feature type: 'boolean' for on/off access, 'metered' for usage-tracked features, 'credit_system' for unified credit pools.
@@ -19886,72 +20522,76 @@ declare const UpdateCustomerEnv$inboundSchema: z$1.ZodMiniType<UpdateCustomerEnv
19886
20522
  declare const UpdateCustomerIntervalResponse2$inboundSchema: z$1.ZodMiniType<UpdateCustomerIntervalResponse2, unknown>;
19887
20523
  /** @internal */
19888
20524
  declare const UpdateCustomerPurchaseLimitResponse2$inboundSchema: z$1.ZodMiniType<UpdateCustomerPurchaseLimitResponse2, unknown>;
19889
- declare function updateCustomerPurchaseLimitResponse2FromJSON(jsonString: string): Result<UpdateCustomerPurchaseLimitResponse2, SDKValidationError>;
20525
+ declare function updateCustomerPurchaseLimitResponse2FromJSON(jsonString: string): Result$1<UpdateCustomerPurchaseLimitResponse2, SDKValidationError>;
19890
20526
  /** @internal */
19891
20527
  declare const UpdateCustomerIntervalResponse1$inboundSchema: z$1.ZodMiniType<UpdateCustomerIntervalResponse1, unknown>;
19892
20528
  /** @internal */
19893
20529
  declare const UpdateCustomerPurchaseLimitResponse1$inboundSchema: z$1.ZodMiniType<UpdateCustomerPurchaseLimitResponse1, unknown>;
19894
- declare function updateCustomerPurchaseLimitResponse1FromJSON(jsonString: string): Result<UpdateCustomerPurchaseLimitResponse1, SDKValidationError>;
20530
+ declare function updateCustomerPurchaseLimitResponse1FromJSON(jsonString: string): Result$1<UpdateCustomerPurchaseLimitResponse1, SDKValidationError>;
19895
20531
  /** @internal */
19896
20532
  declare const UpdateCustomerPurchaseLimitUnion$inboundSchema: z$1.ZodMiniType<UpdateCustomerPurchaseLimitUnion, unknown>;
19897
- declare function updateCustomerPurchaseLimitUnionFromJSON(jsonString: string): Result<UpdateCustomerPurchaseLimitUnion, SDKValidationError>;
20533
+ declare function updateCustomerPurchaseLimitUnionFromJSON(jsonString: string): Result$1<UpdateCustomerPurchaseLimitUnion, SDKValidationError>;
19898
20534
  /** @internal */
19899
20535
  declare const UpdateCustomerAutoTopupResponse$inboundSchema: z$1.ZodMiniType<UpdateCustomerAutoTopupResponse, unknown>;
19900
- declare function updateCustomerAutoTopupResponseFromJSON(jsonString: string): Result<UpdateCustomerAutoTopupResponse, SDKValidationError>;
20536
+ declare function updateCustomerAutoTopupResponseFromJSON(jsonString: string): Result$1<UpdateCustomerAutoTopupResponse, SDKValidationError>;
19901
20537
  /** @internal */
19902
20538
  declare const UpdateCustomerSpendLimitResponse$inboundSchema: z$1.ZodMiniType<UpdateCustomerSpendLimitResponse, unknown>;
19903
- declare function updateCustomerSpendLimitResponseFromJSON(jsonString: string): Result<UpdateCustomerSpendLimitResponse, SDKValidationError>;
20539
+ declare function updateCustomerSpendLimitResponseFromJSON(jsonString: string): Result$1<UpdateCustomerSpendLimitResponse, SDKValidationError>;
19904
20540
  /** @internal */
19905
20541
  declare const UpdateCustomerThresholdTypeResponse$inboundSchema: z$1.ZodMiniType<UpdateCustomerThresholdTypeResponse, unknown>;
19906
20542
  /** @internal */
19907
20543
  declare const UpdateCustomerUsageAlertResponse$inboundSchema: z$1.ZodMiniType<UpdateCustomerUsageAlertResponse, unknown>;
19908
- declare function updateCustomerUsageAlertResponseFromJSON(jsonString: string): Result<UpdateCustomerUsageAlertResponse, SDKValidationError>;
20544
+ declare function updateCustomerUsageAlertResponseFromJSON(jsonString: string): Result$1<UpdateCustomerUsageAlertResponse, SDKValidationError>;
19909
20545
  /** @internal */
19910
20546
  declare const UpdateCustomerOverageAllowedResponse$inboundSchema: z$1.ZodMiniType<UpdateCustomerOverageAllowedResponse, unknown>;
19911
- declare function updateCustomerOverageAllowedResponseFromJSON(jsonString: string): Result<UpdateCustomerOverageAllowedResponse, SDKValidationError>;
20547
+ declare function updateCustomerOverageAllowedResponseFromJSON(jsonString: string): Result$1<UpdateCustomerOverageAllowedResponse, SDKValidationError>;
19912
20548
  /** @internal */
19913
20549
  declare const UpdateCustomerBillingControlsResponse$inboundSchema: z$1.ZodMiniType<UpdateCustomerBillingControlsResponse, unknown>;
19914
- declare function updateCustomerBillingControlsResponseFromJSON(jsonString: string): Result<UpdateCustomerBillingControlsResponse, SDKValidationError>;
20550
+ declare function updateCustomerBillingControlsResponseFromJSON(jsonString: string): Result$1<UpdateCustomerBillingControlsResponse, SDKValidationError>;
19915
20551
  /** @internal */
19916
20552
  declare const UpdateCustomerStatus$inboundSchema: z$1.ZodMiniType<UpdateCustomerStatus, unknown>;
19917
20553
  /** @internal */
20554
+ declare const UpdateCustomerSubscriptionScope$inboundSchema: z$1.ZodMiniType<UpdateCustomerSubscriptionScope, unknown>;
20555
+ /** @internal */
19918
20556
  declare const UpdateCustomerSubscription$inboundSchema: z$1.ZodMiniType<UpdateCustomerSubscription, unknown>;
19919
- declare function updateCustomerSubscriptionFromJSON(jsonString: string): Result<UpdateCustomerSubscription, SDKValidationError>;
20557
+ declare function updateCustomerSubscriptionFromJSON(jsonString: string): Result$1<UpdateCustomerSubscription, SDKValidationError>;
20558
+ /** @internal */
20559
+ declare const UpdateCustomerPurchaseScope$inboundSchema: z$1.ZodMiniType<UpdateCustomerPurchaseScope, unknown>;
19920
20560
  /** @internal */
19921
20561
  declare const UpdateCustomerPurchase$inboundSchema: z$1.ZodMiniType<UpdateCustomerPurchase, unknown>;
19922
- declare function updateCustomerPurchaseFromJSON(jsonString: string): Result<UpdateCustomerPurchase, SDKValidationError>;
20562
+ declare function updateCustomerPurchaseFromJSON(jsonString: string): Result$1<UpdateCustomerPurchase, SDKValidationError>;
19923
20563
  /** @internal */
19924
20564
  declare const UpdateCustomerType$inboundSchema: z$1.ZodMiniType<UpdateCustomerType, unknown>;
19925
20565
  /** @internal */
19926
20566
  declare const UpdateCustomerCreditSchema$inboundSchema: z$1.ZodMiniType<UpdateCustomerCreditSchema, unknown>;
19927
- declare function updateCustomerCreditSchemaFromJSON(jsonString: string): Result<UpdateCustomerCreditSchema, SDKValidationError>;
20567
+ declare function updateCustomerCreditSchemaFromJSON(jsonString: string): Result$1<UpdateCustomerCreditSchema, SDKValidationError>;
19928
20568
  /** @internal */
19929
20569
  declare const UpdateCustomerDisplay$inboundSchema: z$1.ZodMiniType<UpdateCustomerDisplay, unknown>;
19930
- declare function updateCustomerDisplayFromJSON(jsonString: string): Result<UpdateCustomerDisplay, SDKValidationError>;
20570
+ declare function updateCustomerDisplayFromJSON(jsonString: string): Result$1<UpdateCustomerDisplay, SDKValidationError>;
19931
20571
  /** @internal */
19932
20572
  declare const UpdateCustomerFeature$inboundSchema: z$1.ZodMiniType<UpdateCustomerFeature, unknown>;
19933
- declare function updateCustomerFeatureFromJSON(jsonString: string): Result<UpdateCustomerFeature, SDKValidationError>;
20573
+ declare function updateCustomerFeatureFromJSON(jsonString: string): Result$1<UpdateCustomerFeature, SDKValidationError>;
19934
20574
  /** @internal */
19935
20575
  declare const UpdateCustomerFlags$inboundSchema: z$1.ZodMiniType<UpdateCustomerFlags, unknown>;
19936
- declare function updateCustomerFlagsFromJSON(jsonString: string): Result<UpdateCustomerFlags, SDKValidationError>;
20576
+ declare function updateCustomerFlagsFromJSON(jsonString: string): Result$1<UpdateCustomerFlags, SDKValidationError>;
19937
20577
  /** @internal */
19938
20578
  declare const UpdateCustomerConfigResponse$inboundSchema: z$1.ZodMiniType<UpdateCustomerConfigResponse, unknown>;
19939
- declare function updateCustomerConfigResponseFromJSON(jsonString: string): Result<UpdateCustomerConfigResponse, SDKValidationError>;
20579
+ declare function updateCustomerConfigResponseFromJSON(jsonString: string): Result$1<UpdateCustomerConfigResponse, SDKValidationError>;
19940
20580
  /** @internal */
19941
20581
  declare const UpdateCustomerStripe$inboundSchema: z$1.ZodMiniType<UpdateCustomerStripe, unknown>;
19942
- declare function updateCustomerStripeFromJSON(jsonString: string): Result<UpdateCustomerStripe, SDKValidationError>;
20582
+ declare function updateCustomerStripeFromJSON(jsonString: string): Result$1<UpdateCustomerStripe, SDKValidationError>;
19943
20583
  /** @internal */
19944
20584
  declare const UpdateCustomerVercel$inboundSchema: z$1.ZodMiniType<UpdateCustomerVercel, unknown>;
19945
- declare function updateCustomerVercelFromJSON(jsonString: string): Result<UpdateCustomerVercel, SDKValidationError>;
20585
+ declare function updateCustomerVercelFromJSON(jsonString: string): Result$1<UpdateCustomerVercel, SDKValidationError>;
19946
20586
  /** @internal */
19947
20587
  declare const UpdateCustomerRevenuecat$inboundSchema: z$1.ZodMiniType<UpdateCustomerRevenuecat, unknown>;
19948
- declare function updateCustomerRevenuecatFromJSON(jsonString: string): Result<UpdateCustomerRevenuecat, SDKValidationError>;
20588
+ declare function updateCustomerRevenuecatFromJSON(jsonString: string): Result$1<UpdateCustomerRevenuecat, SDKValidationError>;
19949
20589
  /** @internal */
19950
20590
  declare const UpdateCustomerProcessors$inboundSchema: z$1.ZodMiniType<UpdateCustomerProcessors, unknown>;
19951
- declare function updateCustomerProcessorsFromJSON(jsonString: string): Result<UpdateCustomerProcessors, SDKValidationError>;
20591
+ declare function updateCustomerProcessorsFromJSON(jsonString: string): Result$1<UpdateCustomerProcessors, SDKValidationError>;
19952
20592
  /** @internal */
19953
20593
  declare const UpdateCustomerResponse$inboundSchema: z$1.ZodMiniType<UpdateCustomerResponse, unknown>;
19954
- declare function updateCustomerResponseFromJSON(jsonString: string): Result<UpdateCustomerResponse, SDKValidationError>;
20594
+ declare function updateCustomerResponseFromJSON(jsonString: string): Result$1<UpdateCustomerResponse, SDKValidationError>;
19955
20595
 
19956
20596
  type UpdateEntityGlobals = {
19957
20597
  xApiVersion?: string | undefined;
@@ -20068,6 +20708,17 @@ declare const UpdateEntityStatus: {
20068
20708
  * Current status of the subscription.
20069
20709
  */
20070
20710
  type UpdateEntityStatus = OpenEnum<typeof UpdateEntityStatus>;
20711
+ /**
20712
+ * Whether this subscription is attached at the customer level or entity level.
20713
+ */
20714
+ declare const UpdateEntitySubscriptionScope: {
20715
+ readonly Customer: "customer";
20716
+ readonly Entity: "entity";
20717
+ };
20718
+ /**
20719
+ * Whether this subscription is attached at the customer level or entity level.
20720
+ */
20721
+ type UpdateEntitySubscriptionScope = OpenEnum<typeof UpdateEntitySubscriptionScope>;
20071
20722
  type UpdateEntitySubscription = {
20072
20723
  /**
20073
20724
  * The unique identifier of this subscription. If a subscription_id was provided at attach time, it is used; otherwise, falls back to the internal ID.
@@ -20122,7 +20773,22 @@ type UpdateEntitySubscription = {
20122
20773
  * Number of units of this subscription (for per-seat plans).
20123
20774
  */
20124
20775
  quantity: number;
20776
+ /**
20777
+ * Whether this subscription is attached at the customer level or entity level.
20778
+ */
20779
+ scope?: UpdateEntitySubscriptionScope | undefined;
20780
+ };
20781
+ /**
20782
+ * Whether this purchase is attached at the customer level or entity level.
20783
+ */
20784
+ declare const UpdateEntityPurchaseScope: {
20785
+ readonly Customer: "customer";
20786
+ readonly Entity: "entity";
20125
20787
  };
20788
+ /**
20789
+ * Whether this purchase is attached at the customer level or entity level.
20790
+ */
20791
+ type UpdateEntityPurchaseScope = OpenEnum<typeof UpdateEntityPurchaseScope>;
20126
20792
  type UpdateEntityPurchase = {
20127
20793
  plan?: Plan | undefined;
20128
20794
  /**
@@ -20141,6 +20807,10 @@ type UpdateEntityPurchase = {
20141
20807
  * Number of units purchased.
20142
20808
  */
20143
20809
  quantity: number;
20810
+ /**
20811
+ * Whether this purchase is attached at the customer level or entity level.
20812
+ */
20813
+ scope?: UpdateEntityPurchaseScope | undefined;
20144
20814
  };
20145
20815
  /**
20146
20816
  * Feature type: 'boolean' for on/off access, 'metered' for usage-tracked features, 'credit_system' for unified credit pools.
@@ -20455,47 +21125,51 @@ declare const UpdateEntityEnv$inboundSchema: z$1.ZodMiniType<UpdateEntityEnv, un
20455
21125
  /** @internal */
20456
21126
  declare const UpdateEntityStatus$inboundSchema: z$1.ZodMiniType<UpdateEntityStatus, unknown>;
20457
21127
  /** @internal */
21128
+ declare const UpdateEntitySubscriptionScope$inboundSchema: z$1.ZodMiniType<UpdateEntitySubscriptionScope, unknown>;
21129
+ /** @internal */
20458
21130
  declare const UpdateEntitySubscription$inboundSchema: z$1.ZodMiniType<UpdateEntitySubscription, unknown>;
20459
- declare function updateEntitySubscriptionFromJSON(jsonString: string): Result<UpdateEntitySubscription, SDKValidationError>;
21131
+ declare function updateEntitySubscriptionFromJSON(jsonString: string): Result$1<UpdateEntitySubscription, SDKValidationError>;
21132
+ /** @internal */
21133
+ declare const UpdateEntityPurchaseScope$inboundSchema: z$1.ZodMiniType<UpdateEntityPurchaseScope, unknown>;
20460
21134
  /** @internal */
20461
21135
  declare const UpdateEntityPurchase$inboundSchema: z$1.ZodMiniType<UpdateEntityPurchase, unknown>;
20462
- declare function updateEntityPurchaseFromJSON(jsonString: string): Result<UpdateEntityPurchase, SDKValidationError>;
21136
+ declare function updateEntityPurchaseFromJSON(jsonString: string): Result$1<UpdateEntityPurchase, SDKValidationError>;
20463
21137
  /** @internal */
20464
21138
  declare const UpdateEntityType$inboundSchema: z$1.ZodMiniType<UpdateEntityType, unknown>;
20465
21139
  /** @internal */
20466
21140
  declare const UpdateEntityCreditSchema$inboundSchema: z$1.ZodMiniType<UpdateEntityCreditSchema, unknown>;
20467
- declare function updateEntityCreditSchemaFromJSON(jsonString: string): Result<UpdateEntityCreditSchema, SDKValidationError>;
21141
+ declare function updateEntityCreditSchemaFromJSON(jsonString: string): Result$1<UpdateEntityCreditSchema, SDKValidationError>;
20468
21142
  /** @internal */
20469
21143
  declare const UpdateEntityDisplay$inboundSchema: z$1.ZodMiniType<UpdateEntityDisplay, unknown>;
20470
- declare function updateEntityDisplayFromJSON(jsonString: string): Result<UpdateEntityDisplay, SDKValidationError>;
21144
+ declare function updateEntityDisplayFromJSON(jsonString: string): Result$1<UpdateEntityDisplay, SDKValidationError>;
20471
21145
  /** @internal */
20472
21146
  declare const UpdateEntityFeature$inboundSchema: z$1.ZodMiniType<UpdateEntityFeature, unknown>;
20473
- declare function updateEntityFeatureFromJSON(jsonString: string): Result<UpdateEntityFeature, SDKValidationError>;
21147
+ declare function updateEntityFeatureFromJSON(jsonString: string): Result$1<UpdateEntityFeature, SDKValidationError>;
20474
21148
  /** @internal */
20475
21149
  declare const UpdateEntityFlags$inboundSchema: z$1.ZodMiniType<UpdateEntityFlags, unknown>;
20476
- declare function updateEntityFlagsFromJSON(jsonString: string): Result<UpdateEntityFlags, SDKValidationError>;
21150
+ declare function updateEntityFlagsFromJSON(jsonString: string): Result$1<UpdateEntityFlags, SDKValidationError>;
20477
21151
  /** @internal */
20478
21152
  declare const UpdateEntitySpendLimitResponse$inboundSchema: z$1.ZodMiniType<UpdateEntitySpendLimitResponse, unknown>;
20479
- declare function updateEntitySpendLimitResponseFromJSON(jsonString: string): Result<UpdateEntitySpendLimitResponse, SDKValidationError>;
21153
+ declare function updateEntitySpendLimitResponseFromJSON(jsonString: string): Result$1<UpdateEntitySpendLimitResponse, SDKValidationError>;
20480
21154
  /** @internal */
20481
21155
  declare const UpdateEntityThresholdTypeResponse$inboundSchema: z$1.ZodMiniType<UpdateEntityThresholdTypeResponse, unknown>;
20482
21156
  /** @internal */
20483
21157
  declare const UpdateEntityUsageAlertResponse$inboundSchema: z$1.ZodMiniType<UpdateEntityUsageAlertResponse, unknown>;
20484
- declare function updateEntityUsageAlertResponseFromJSON(jsonString: string): Result<UpdateEntityUsageAlertResponse, SDKValidationError>;
21158
+ declare function updateEntityUsageAlertResponseFromJSON(jsonString: string): Result$1<UpdateEntityUsageAlertResponse, SDKValidationError>;
20485
21159
  /** @internal */
20486
21160
  declare const UpdateEntityOverageAllowedResponse$inboundSchema: z$1.ZodMiniType<UpdateEntityOverageAllowedResponse, unknown>;
20487
- declare function updateEntityOverageAllowedResponseFromJSON(jsonString: string): Result<UpdateEntityOverageAllowedResponse, SDKValidationError>;
21161
+ declare function updateEntityOverageAllowedResponseFromJSON(jsonString: string): Result$1<UpdateEntityOverageAllowedResponse, SDKValidationError>;
20488
21162
  /** @internal */
20489
21163
  declare const UpdateEntityBillingControlsResponse$inboundSchema: z$1.ZodMiniType<UpdateEntityBillingControlsResponse, unknown>;
20490
- declare function updateEntityBillingControlsResponseFromJSON(jsonString: string): Result<UpdateEntityBillingControlsResponse, SDKValidationError>;
21164
+ declare function updateEntityBillingControlsResponseFromJSON(jsonString: string): Result$1<UpdateEntityBillingControlsResponse, SDKValidationError>;
20491
21165
  /** @internal */
20492
21166
  declare const UpdateEntityProcessorType$inboundSchema: z$1.ZodMiniType<UpdateEntityProcessorType, unknown>;
20493
21167
  /** @internal */
20494
21168
  declare const UpdateEntityInvoice$inboundSchema: z$1.ZodMiniType<UpdateEntityInvoice, unknown>;
20495
- declare function updateEntityInvoiceFromJSON(jsonString: string): Result<UpdateEntityInvoice, SDKValidationError>;
21169
+ declare function updateEntityInvoiceFromJSON(jsonString: string): Result$1<UpdateEntityInvoice, SDKValidationError>;
20496
21170
  /** @internal */
20497
21171
  declare const UpdateEntityResponse$inboundSchema: z$1.ZodMiniType<UpdateEntityResponse, unknown>;
20498
- declare function updateEntityResponseFromJSON(jsonString: string): Result<UpdateEntityResponse, SDKValidationError>;
21172
+ declare function updateEntityResponseFromJSON(jsonString: string): Result$1<UpdateEntityResponse, SDKValidationError>;
20499
21173
 
20500
21174
  type UpdateFeatureGlobals = {
20501
21175
  xApiVersion?: string | undefined;
@@ -20667,13 +21341,13 @@ declare function updateFeatureParamsToJSON(updateFeatureParams: UpdateFeaturePar
20667
21341
  declare const UpdateFeatureTypeResponse$inboundSchema: z$1.ZodMiniType<UpdateFeatureTypeResponse, unknown>;
20668
21342
  /** @internal */
20669
21343
  declare const UpdateFeatureCreditSchemaResponse$inboundSchema: z$1.ZodMiniType<UpdateFeatureCreditSchemaResponse, unknown>;
20670
- declare function updateFeatureCreditSchemaResponseFromJSON(jsonString: string): Result<UpdateFeatureCreditSchemaResponse, SDKValidationError>;
21344
+ declare function updateFeatureCreditSchemaResponseFromJSON(jsonString: string): Result$1<UpdateFeatureCreditSchemaResponse, SDKValidationError>;
20671
21345
  /** @internal */
20672
21346
  declare const UpdateFeatureDisplayResponse$inboundSchema: z$1.ZodMiniType<UpdateFeatureDisplayResponse, unknown>;
20673
- declare function updateFeatureDisplayResponseFromJSON(jsonString: string): Result<UpdateFeatureDisplayResponse, SDKValidationError>;
21347
+ declare function updateFeatureDisplayResponseFromJSON(jsonString: string): Result$1<UpdateFeatureDisplayResponse, SDKValidationError>;
20674
21348
  /** @internal */
20675
21349
  declare const UpdateFeatureResponse$inboundSchema: z$1.ZodMiniType<UpdateFeatureResponse, unknown>;
20676
- declare function updateFeatureResponseFromJSON(jsonString: string): Result<UpdateFeatureResponse, SDKValidationError>;
21350
+ declare function updateFeatureResponseFromJSON(jsonString: string): Result$1<UpdateFeatureResponse, SDKValidationError>;
20677
21351
 
20678
21352
  type UpdatePlanGlobals = {
20679
21353
  xApiVersion?: string | undefined;
@@ -21602,26 +22276,26 @@ declare function updatePlanParamsToJSON(updatePlanParams: UpdatePlanParams): str
21602
22276
  declare const UpdatePlanPriceIntervalResponse$inboundSchema: z$1.ZodMiniType<UpdatePlanPriceIntervalResponse, unknown>;
21603
22277
  /** @internal */
21604
22278
  declare const UpdatePlanPriceDisplay$inboundSchema: z$1.ZodMiniType<UpdatePlanPriceDisplay, unknown>;
21605
- declare function updatePlanPriceDisplayFromJSON(jsonString: string): Result<UpdatePlanPriceDisplay, SDKValidationError>;
22279
+ declare function updatePlanPriceDisplayFromJSON(jsonString: string): Result$1<UpdatePlanPriceDisplay, SDKValidationError>;
21606
22280
  /** @internal */
21607
22281
  declare const UpdatePlanPriceResponse$inboundSchema: z$1.ZodMiniType<UpdatePlanPriceResponse, unknown>;
21608
- declare function updatePlanPriceResponseFromJSON(jsonString: string): Result<UpdatePlanPriceResponse, SDKValidationError>;
22282
+ declare function updatePlanPriceResponseFromJSON(jsonString: string): Result$1<UpdatePlanPriceResponse, SDKValidationError>;
21609
22283
  /** @internal */
21610
22284
  declare const UpdatePlanType$inboundSchema: z$1.ZodMiniType<UpdatePlanType, unknown>;
21611
22285
  /** @internal */
21612
22286
  declare const UpdatePlanFeatureDisplay$inboundSchema: z$1.ZodMiniType<UpdatePlanFeatureDisplay, unknown>;
21613
- declare function updatePlanFeatureDisplayFromJSON(jsonString: string): Result<UpdatePlanFeatureDisplay, SDKValidationError>;
22287
+ declare function updatePlanFeatureDisplayFromJSON(jsonString: string): Result$1<UpdatePlanFeatureDisplay, SDKValidationError>;
21614
22288
  /** @internal */
21615
22289
  declare const UpdatePlanCreditSchema$inboundSchema: z$1.ZodMiniType<UpdatePlanCreditSchema, unknown>;
21616
- declare function updatePlanCreditSchemaFromJSON(jsonString: string): Result<UpdatePlanCreditSchema, SDKValidationError>;
22290
+ declare function updatePlanCreditSchemaFromJSON(jsonString: string): Result$1<UpdatePlanCreditSchema, SDKValidationError>;
21617
22291
  /** @internal */
21618
22292
  declare const UpdatePlanFeature$inboundSchema: z$1.ZodMiniType<UpdatePlanFeature, unknown>;
21619
- declare function updatePlanFeatureFromJSON(jsonString: string): Result<UpdatePlanFeature, SDKValidationError>;
22293
+ declare function updatePlanFeatureFromJSON(jsonString: string): Result$1<UpdatePlanFeature, SDKValidationError>;
21620
22294
  /** @internal */
21621
22295
  declare const UpdatePlanResetIntervalResponse$inboundSchema: z$1.ZodMiniType<UpdatePlanResetIntervalResponse, unknown>;
21622
22296
  /** @internal */
21623
22297
  declare const UpdatePlanResetResponse$inboundSchema: z$1.ZodMiniType<UpdatePlanResetResponse, unknown>;
21624
- declare function updatePlanResetResponseFromJSON(jsonString: string): Result<UpdatePlanResetResponse, SDKValidationError>;
22298
+ declare function updatePlanResetResponseFromJSON(jsonString: string): Result$1<UpdatePlanResetResponse, SDKValidationError>;
21625
22299
  /** @internal */
21626
22300
  declare const UpdatePlanTierBehaviorResponse$inboundSchema: z$1.ZodMiniType<UpdatePlanTierBehaviorResponse, unknown>;
21627
22301
  /** @internal */
@@ -21630,40 +22304,40 @@ declare const UpdatePlanPriceItemIntervalResponse$inboundSchema: z$1.ZodMiniType
21630
22304
  declare const UpdatePlanBillingMethodResponse$inboundSchema: z$1.ZodMiniType<UpdatePlanBillingMethodResponse, unknown>;
21631
22305
  /** @internal */
21632
22306
  declare const UpdatePlanItemPriceResponse$inboundSchema: z$1.ZodMiniType<UpdatePlanItemPriceResponse, unknown>;
21633
- declare function updatePlanItemPriceResponseFromJSON(jsonString: string): Result<UpdatePlanItemPriceResponse, SDKValidationError>;
22307
+ declare function updatePlanItemPriceResponseFromJSON(jsonString: string): Result$1<UpdatePlanItemPriceResponse, SDKValidationError>;
21634
22308
  /** @internal */
21635
22309
  declare const UpdatePlanItemDisplay$inboundSchema: z$1.ZodMiniType<UpdatePlanItemDisplay, unknown>;
21636
- declare function updatePlanItemDisplayFromJSON(jsonString: string): Result<UpdatePlanItemDisplay, SDKValidationError>;
22310
+ declare function updatePlanItemDisplayFromJSON(jsonString: string): Result$1<UpdatePlanItemDisplay, SDKValidationError>;
21637
22311
  /** @internal */
21638
22312
  declare const UpdatePlanExpiryDurationTypeResponse$inboundSchema: z$1.ZodMiniType<UpdatePlanExpiryDurationTypeResponse, unknown>;
21639
22313
  /** @internal */
21640
22314
  declare const UpdatePlanRolloverResponse$inboundSchema: z$1.ZodMiniType<UpdatePlanRolloverResponse, unknown>;
21641
- declare function updatePlanRolloverResponseFromJSON(jsonString: string): Result<UpdatePlanRolloverResponse, SDKValidationError>;
22315
+ declare function updatePlanRolloverResponseFromJSON(jsonString: string): Result$1<UpdatePlanRolloverResponse, SDKValidationError>;
21642
22316
  /** @internal */
21643
22317
  declare const UpdatePlanItem$inboundSchema: z$1.ZodMiniType<UpdatePlanItem, unknown>;
21644
- declare function updatePlanItemFromJSON(jsonString: string): Result<UpdatePlanItem, SDKValidationError>;
22318
+ declare function updatePlanItemFromJSON(jsonString: string): Result$1<UpdatePlanItem, SDKValidationError>;
21645
22319
  /** @internal */
21646
22320
  declare const UpdatePlanDurationTypeResponse$inboundSchema: z$1.ZodMiniType<UpdatePlanDurationTypeResponse, unknown>;
21647
22321
  /** @internal */
21648
22322
  declare const UpdatePlanOnEndResponse$inboundSchema: z$1.ZodMiniType<UpdatePlanOnEndResponse, unknown>;
21649
22323
  /** @internal */
21650
22324
  declare const UpdatePlanFreeTrial$inboundSchema: z$1.ZodMiniType<UpdatePlanFreeTrial, unknown>;
21651
- declare function updatePlanFreeTrialFromJSON(jsonString: string): Result<UpdatePlanFreeTrial, SDKValidationError>;
22325
+ declare function updatePlanFreeTrialFromJSON(jsonString: string): Result$1<UpdatePlanFreeTrial, SDKValidationError>;
21652
22326
  /** @internal */
21653
22327
  declare const UpdatePlanEnv$inboundSchema: z$1.ZodMiniType<UpdatePlanEnv, unknown>;
21654
22328
  /** @internal */
21655
22329
  declare const UpdatePlanConfigResponse$inboundSchema: z$1.ZodMiniType<UpdatePlanConfigResponse, unknown>;
21656
- declare function updatePlanConfigResponseFromJSON(jsonString: string): Result<UpdatePlanConfigResponse, SDKValidationError>;
22330
+ declare function updatePlanConfigResponseFromJSON(jsonString: string): Result$1<UpdatePlanConfigResponse, SDKValidationError>;
21657
22331
  /** @internal */
21658
22332
  declare const UpdatePlanStatus$inboundSchema: z$1.ZodMiniType<UpdatePlanStatus, unknown>;
21659
22333
  /** @internal */
21660
22334
  declare const UpdatePlanAttachAction$inboundSchema: z$1.ZodMiniType<UpdatePlanAttachAction, unknown>;
21661
22335
  /** @internal */
21662
22336
  declare const UpdatePlanCustomerEligibility$inboundSchema: z$1.ZodMiniType<UpdatePlanCustomerEligibility, unknown>;
21663
- declare function updatePlanCustomerEligibilityFromJSON(jsonString: string): Result<UpdatePlanCustomerEligibility, SDKValidationError>;
22337
+ declare function updatePlanCustomerEligibilityFromJSON(jsonString: string): Result$1<UpdatePlanCustomerEligibility, SDKValidationError>;
21664
22338
  /** @internal */
21665
22339
  declare const UpdatePlanResponse$inboundSchema: z$1.ZodMiniType<UpdatePlanResponse, unknown>;
21666
- declare function updatePlanResponseFromJSON(jsonString: string): Result<UpdatePlanResponse, SDKValidationError>;
22340
+ declare function updatePlanResponseFromJSON(jsonString: string): Result$1<UpdatePlanResponse, SDKValidationError>;
21667
22341
 
21668
22342
  type OAuth2PasswordFlow = {
21669
22343
  username: string;
@@ -21826,13 +22500,13 @@ declare class ClientSDK {
21826
22500
  hooks?: SDKHooks;
21827
22501
  };
21828
22502
  constructor(options?: SDKOptions);
21829
- _createRequest(context: HookContext, conf: RequestConfig, options?: RequestOptions): Result<Request, InvalidRequestError | UnexpectedClientError>;
22503
+ _createRequest(context: HookContext, conf: RequestConfig, options?: RequestOptions): Result$1<Request, InvalidRequestError | UnexpectedClientError>;
21830
22504
  _do(request: Request, options: {
21831
22505
  context: HookContext;
21832
22506
  isErrorStatusCode: (statusCode: number) => boolean;
21833
22507
  retryConfig: RetryConfig;
21834
22508
  retryCodes: string[];
21835
- }): Promise<Result<Response, RequestAbortedError | RequestTimeoutError | ConnectionError | UnexpectedClientError>>;
22509
+ }): Promise<Result$1<Response, RequestAbortedError | RequestTimeoutError | ConnectionError | UnexpectedClientError>>;
21836
22510
  }
21837
22511
 
21838
22512
  declare class Balances extends ClientSDK {
@@ -21916,12 +22590,13 @@ declare class Billing extends ClientSDK {
21916
22590
  * @example
21917
22591
  * ```typescript
21918
22592
  * // Schedule a transition from a trial plan to a paid plan
21919
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1779303143711,"plans":[{"planId":"trial_plan"}]},{"startsAt":1780512743711,"plans":[{"planId":"pro_plan"}]}] });
22593
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1780512803523,"plans":[{"planId":"trial_plan"}]},{"startsAt":1781722403523,"plans":[{"planId":"pro_plan"}]}] });
21920
22594
  * ```
21921
22595
  *
21922
22596
  * @param customerId - The ID of the customer to create the schedule for.
21923
22597
  * @param entityId - Optional entity ID for an entity-scoped schedule. (optional)
21924
22598
  * @param invoiceMode - Invoice mode creates and sends an invoice instead of charging the customer's payment method immediately for the first phase. (optional)
22599
+ * @param discounts - List of discounts to apply to the immediate phase. Each discount can be an Autumn reward ID, Stripe coupon ID, or Stripe promotion code. (optional)
21925
22600
  * @param successUrl - URL to redirect to after successful checkout. (optional)
21926
22601
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
21927
22602
  * @param redirectMode - Controls when to return a checkout URL for the immediate phase. 'always' forces a confirmation or checkout flow, 'if_required' only redirects when needed, and 'never' disables redirects. (optional)
@@ -22255,6 +22930,7 @@ declare class Entities extends ClientSDK {
22255
22930
  * @param subscriptionStatus - Filter customer products used for entity hydration and plan matching. Defaults to active and scheduled. (optional)
22256
22931
  * @param search - Search entities by id or name. (optional)
22257
22932
  * @param processors - Filter by parent customer processor type (stripe, revenuecat, vercel). (optional)
22933
+ * @param customerId - Restrict the response to entities owned by this customer id. Use to bulk-fetch all entities for one customer in a single paginated call instead of iterating entities.get. (optional)
22258
22934
  *
22259
22935
  * @returns A paginated list of entity objects including their current subscriptions, purchases, balances, and flags.
22260
22936
  */
@@ -22613,6 +23289,21 @@ declare class Plans extends ClientSDK {
22613
23289
  delete(request: DeletePlanParams, options?: RequestOptions): Promise<DeletePlanResponse>;
22614
23290
  }
22615
23291
 
23292
+ declare class Platform extends ClientSDK {
23293
+ /**
23294
+ * Generate a RevenueCat OAuth URL for linking a project to an organization.
23295
+ */
23296
+ linkRevenueCat(request: LinkRevenueCatParams, options?: RequestOptions): Promise<LinkRevenueCatResponse>;
23297
+ /**
23298
+ * Push an organization's plans into RevenueCat as products (creating or renaming them across the project's apps) and set test-store prices from each plan's price. Requires the org to have linked RevenueCat via OAuth.
23299
+ */
23300
+ syncRevenueCat(request: SyncRevenueCatParams, options?: RequestOptions): Promise<SyncRevenueCatResponse>;
23301
+ /**
23302
+ * Retrieve a managed organization's RevenueCat public (SDK) API keys, grouped by app — for the test store, App Store, and Google Play Store. Use these to configure the RevenueCat SDK in the org's mobile app.
23303
+ */
23304
+ getRevenueCatKeys(request: GetRevenueCatKeysParams, options?: RequestOptions): Promise<GetRevenueCatKeysResponse>;
23305
+ }
23306
+
22616
23307
  declare class Referrals extends ClientSDK {
22617
23308
  /**
22618
23309
  * Create or fetch a referral code for a customer in a referral program.
@@ -22650,6 +23341,8 @@ declare class Autumn extends ClientSDK {
22650
23341
  get referrals(): Referrals;
22651
23342
  private _rewards?;
22652
23343
  get rewards(): Rewards;
23344
+ private _platform?;
23345
+ get platform(): Platform;
22653
23346
  /**
22654
23347
  * Checks whether a customer currently has enough balance to use a feature.
22655
23348
  *
@@ -22708,10 +23401,15 @@ declare class Autumn extends ClientSDK {
22708
23401
  * @param eventName - Event name to track usage for. Use instead of feature_id when multiple features should be tracked from a single event. (optional)
22709
23402
  * @param value - The amount of usage to record. Defaults to 1. Use negative values to credit balance (e.g., when removing a seat). (optional)
22710
23403
  * @param properties - Additional properties to attach to this usage event. (optional)
23404
+ * @param async - If true, enqueue the event for asynchronous processing and return 202 immediately. The response will not include balance information. (optional)
22711
23405
  *
22712
23406
  * @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.
22713
23407
  */
22714
23408
  track(request: TrackParams, options?: RequestOptions): Promise<TrackResponse>;
23409
+ /**
23410
+ * Enqueue up to 1000 usage events for asynchronous processing. Items are validated synchronously up front; validated items are then enqueued via SQS for background deduction by workers. The response returns 202 immediately and does not include balance information. On partial enqueue failure (some items fail to enqueue, others succeed), the endpoint still returns 202 and logs the failures server-side; clients should NOT retry, because retrying re-enqueues the already-succeeded items. A 503 is returned only when zero items were successfully enqueued (queue entirely unavailable) — that case is safe to retry.
23411
+ */
23412
+ batchTrack(request: Array<RequestBody>, options?: RequestOptions): Promise<BatchTrackResponse>;
22715
23413
  }
22716
23414
 
22717
23415
  declare const blobLikeSchema: z$1.ZodMiniType<Blob, Blob>;
@@ -22779,7 +23477,6 @@ type index_PageIterator<V, PageState = unknown> = PageIterator<V, PageState>;
22779
23477
  type index_Paginator<V> = Paginator<V>;
22780
23478
  type index_RFCDate = RFCDate;
22781
23479
  declare const index_RFCDate: typeof RFCDate;
22782
- type index_Result<T, E = unknown> = Result<T, E>;
22783
23480
  type index_Unrecognized<T> = Unrecognized<T>;
22784
23481
  declare const index_bigint: typeof bigint;
22785
23482
  declare const index_blobLikeSchema: typeof blobLikeSchema;
@@ -22798,7 +23495,7 @@ declare const index_startCountingUnrecognized: typeof startCountingUnrecognized;
22798
23495
  declare const index_string: typeof string;
22799
23496
  declare const index_unrecognized: typeof unrecognized;
22800
23497
  declare namespace index {
22801
- export { type index_ClosedEnum as ClosedEnum, type index_OpenEnum as OpenEnum, type index_PageIterator as PageIterator, type index_Paginator as Paginator, index_RFCDate as RFCDate, type index_Result as Result, type index_Unrecognized as Unrecognized, index_bigint as bigint, index_blobLikeSchema as blobLikeSchema, index_boolean as boolean, index_createPageIterator as createPageIterator, index_date as date, index_defaultToZeroValue as defaultToZeroValue, index_isBlobLike as isBlobLike, index_literal as literal, index_literalBigInt as literalBigInt, index_nullable as nullable, index_number as number, index_optional as optional, index_startCountingDefaultToZeroValue as startCountingDefaultToZeroValue, index_startCountingUnrecognized as startCountingUnrecognized, index_string as string, index_unrecognized as unrecognized };
23498
+ export { type index_ClosedEnum as ClosedEnum, type index_OpenEnum as OpenEnum, type index_PageIterator as PageIterator, type index_Paginator as Paginator, index_RFCDate as RFCDate, type Result$1 as Result, type index_Unrecognized as Unrecognized, index_bigint as bigint, index_blobLikeSchema as blobLikeSchema, index_boolean as boolean, index_createPageIterator as createPageIterator, index_date as date, index_defaultToZeroValue as defaultToZeroValue, index_isBlobLike as isBlobLike, index_literal as literal, index_literalBigInt as literalBigInt, index_nullable as nullable, index_number as number, index_optional as optional, index_startCountingDefaultToZeroValue as startCountingDefaultToZeroValue, index_startCountingUnrecognized as startCountingUnrecognized, index_string as string, index_unrecognized as unrecognized };
22802
23499
  }
22803
23500
 
22804
- export { type AggregateEventsCustomRange, type AggregateEventsCustomRange$Outbound, AggregateEventsCustomRange$outboundSchema, type AggregateEventsFeatureId, type AggregateEventsFeatureId$Outbound, AggregateEventsFeatureId$outboundSchema, type AggregateEventsGlobals, type AggregateEventsList, AggregateEventsList$inboundSchema, type AggregateEventsResponse, AggregateEventsResponse$inboundSchema, AttachAction, AttachAction$inboundSchema, AttachAddItemBillingMethod, AttachAddItemBillingMethod$outboundSchema, AttachAddItemExpiryDurationType, AttachAddItemExpiryDurationType$outboundSchema, AttachAddItemOnDecrease, AttachAddItemOnDecrease$outboundSchema, AttachAddItemOnIncrease, AttachAddItemOnIncrease$outboundSchema, type AttachAddItemPlanItem, type AttachAddItemPlanItem$Outbound, AttachAddItemPlanItem$outboundSchema, type AttachAddItemPrice, type AttachAddItemPrice$Outbound, AttachAddItemPrice$outboundSchema, AttachAddItemPriceInterval, AttachAddItemPriceInterval$outboundSchema, type AttachAddItemProration, type AttachAddItemProration$Outbound, AttachAddItemProration$outboundSchema, type AttachAddItemReset, type AttachAddItemReset$Outbound, AttachAddItemReset$outboundSchema, AttachAddItemResetInterval, AttachAddItemResetInterval$outboundSchema, type AttachAddItemRollover, type AttachAddItemRollover$Outbound, AttachAddItemRollover$outboundSchema, type AttachAddItemTier, type AttachAddItemTier$Outbound, AttachAddItemTier$outboundSchema, AttachAddItemTierBehavior, AttachAddItemTierBehavior$outboundSchema, type AttachAddItemTo, type AttachAddItemTo$Outbound, AttachAddItemTo$outboundSchema, type AttachAttachDiscount, type AttachAttachDiscount$Outbound, AttachAttachDiscount$outboundSchema, type AttachBasePrice, type AttachBasePrice$Outbound, AttachBasePrice$outboundSchema, type AttachCarryOverBalances, type AttachCarryOverBalances$Outbound, AttachCarryOverBalances$outboundSchema, type AttachCarryOverUsages, type AttachCarryOverUsages$Outbound, AttachCarryOverUsages$outboundSchema, AttachCode, AttachCode$inboundSchema, type AttachCustomLineItem, type AttachCustomLineItem$Outbound, AttachCustomLineItem$outboundSchema, type AttachCustomize, type AttachCustomize$Outbound, AttachCustomize$outboundSchema, AttachDurationType, AttachDurationType$outboundSchema, type AttachFeatureQuantity, type AttachFeatureQuantity$Outbound, AttachFeatureQuantity$outboundSchema, type AttachFreeTrialParams, type AttachFreeTrialParams$Outbound, AttachFreeTrialParams$outboundSchema, type AttachGlobals, type AttachInvoice, AttachInvoice$inboundSchema, type AttachInvoiceMode, type AttachInvoiceMode$Outbound, AttachInvoiceMode$outboundSchema, AttachItemBillingMethod, AttachItemBillingMethod$outboundSchema, AttachItemExpiryDurationType, AttachItemExpiryDurationType$outboundSchema, AttachItemOnDecrease, AttachItemOnDecrease$outboundSchema, AttachItemOnIncrease, AttachItemOnIncrease$outboundSchema, type AttachItemPlanItem, type AttachItemPlanItem$Outbound, AttachItemPlanItem$outboundSchema, type AttachItemPrice, type AttachItemPrice$Outbound, AttachItemPrice$outboundSchema, AttachItemPriceInterval, AttachItemPriceInterval$outboundSchema, type AttachItemProration, type AttachItemProration$Outbound, AttachItemProration$outboundSchema, type AttachItemReset, type AttachItemReset$Outbound, AttachItemReset$outboundSchema, AttachItemResetInterval, AttachItemResetInterval$outboundSchema, type AttachItemRollover, type AttachItemRollover$Outbound, AttachItemRollover$outboundSchema, type AttachItemTier, type AttachItemTier$Outbound, AttachItemTier$outboundSchema, AttachItemTierBehavior, AttachItemTierBehavior$outboundSchema, type AttachItemTo, type AttachItemTo$Outbound, AttachItemTo$outboundSchema, AttachOnEnd, AttachOnEnd$outboundSchema, type AttachParams, type AttachParams$Outbound, AttachParams$outboundSchema, type AttachPlanItemFilter, type AttachPlanItemFilter$Outbound, AttachPlanItemFilter$outboundSchema, AttachPlanSchedule, AttachPlanSchedule$outboundSchema, AttachPriceInterval, AttachPriceInterval$outboundSchema, AttachProrationBehavior, AttachProrationBehavior$outboundSchema, AttachRedirectMode, AttachRedirectMode$outboundSchema, AttachRemoveItemBillingMethod, AttachRemoveItemBillingMethod$outboundSchema, AttachRemoveItemInterval, AttachRemoveItemInterval$outboundSchema, type AttachRequiredAction, AttachRequiredAction$inboundSchema, type AttachResponse, AttachResponse$inboundSchema, Autumn, AutumnDefaultError, AutumnError, type Balance, Balance$inboundSchema, BalanceBillingMethod, BalanceBillingMethod$inboundSchema, type BalanceCreditSchema, BalanceCreditSchema$inboundSchema, type BalanceDisplay, BalanceDisplay$inboundSchema, type BalanceFeature, BalanceFeature$inboundSchema, BalanceIntervalEnum, BalanceIntervalEnum$inboundSchema, type BalanceIntervalUnion, BalanceIntervalUnion$inboundSchema, type BalancePrice, BalancePrice$inboundSchema, type BalanceReset, BalanceReset$inboundSchema, type BalanceRollover, BalanceRollover$inboundSchema, BalanceTierBehavior, BalanceTierBehavior$inboundSchema, BalanceType, BalanceType$inboundSchema, BillingBehavior, BillingBehavior$outboundSchema, BillingUpdateAddItemBillingMethod, BillingUpdateAddItemBillingMethod$outboundSchema, BillingUpdateAddItemExpiryDurationType, BillingUpdateAddItemExpiryDurationType$outboundSchema, BillingUpdateAddItemOnDecrease, BillingUpdateAddItemOnDecrease$outboundSchema, BillingUpdateAddItemOnIncrease, BillingUpdateAddItemOnIncrease$outboundSchema, type BillingUpdateAddItemPlanItem, type BillingUpdateAddItemPlanItem$Outbound, BillingUpdateAddItemPlanItem$outboundSchema, type BillingUpdateAddItemPrice, type BillingUpdateAddItemPrice$Outbound, BillingUpdateAddItemPrice$outboundSchema, BillingUpdateAddItemPriceInterval, BillingUpdateAddItemPriceInterval$outboundSchema, type BillingUpdateAddItemProration, type BillingUpdateAddItemProration$Outbound, BillingUpdateAddItemProration$outboundSchema, type BillingUpdateAddItemReset, type BillingUpdateAddItemReset$Outbound, BillingUpdateAddItemReset$outboundSchema, BillingUpdateAddItemResetInterval, BillingUpdateAddItemResetInterval$outboundSchema, type BillingUpdateAddItemRollover, type BillingUpdateAddItemRollover$Outbound, BillingUpdateAddItemRollover$outboundSchema, type BillingUpdateAddItemTier, type BillingUpdateAddItemTier$Outbound, BillingUpdateAddItemTier$outboundSchema, BillingUpdateAddItemTierBehavior, BillingUpdateAddItemTierBehavior$outboundSchema, type BillingUpdateAddItemTo, type BillingUpdateAddItemTo$Outbound, BillingUpdateAddItemTo$outboundSchema, type BillingUpdateAttachDiscount, type BillingUpdateAttachDiscount$Outbound, BillingUpdateAttachDiscount$outboundSchema, type BillingUpdateBasePrice, type BillingUpdateBasePrice$Outbound, BillingUpdateBasePrice$outboundSchema, BillingUpdateCancelAction, BillingUpdateCancelAction$outboundSchema, BillingUpdateCode, BillingUpdateCode$inboundSchema, type BillingUpdateCustomize, type BillingUpdateCustomize$Outbound, BillingUpdateCustomize$outboundSchema, BillingUpdateDurationType, BillingUpdateDurationType$outboundSchema, type BillingUpdateFeatureQuantity, type BillingUpdateFeatureQuantity$Outbound, BillingUpdateFeatureQuantity$outboundSchema, type BillingUpdateFreeTrialParams, type BillingUpdateFreeTrialParams$Outbound, BillingUpdateFreeTrialParams$outboundSchema, type BillingUpdateGlobals, type BillingUpdateInvoice, BillingUpdateInvoice$inboundSchema, type BillingUpdateInvoiceMode, type BillingUpdateInvoiceMode$Outbound, BillingUpdateInvoiceMode$outboundSchema, BillingUpdateItemBillingMethod, BillingUpdateItemBillingMethod$outboundSchema, BillingUpdateItemExpiryDurationType, BillingUpdateItemExpiryDurationType$outboundSchema, BillingUpdateItemOnDecrease, BillingUpdateItemOnDecrease$outboundSchema, BillingUpdateItemOnIncrease, BillingUpdateItemOnIncrease$outboundSchema, type BillingUpdateItemPlanItem, type BillingUpdateItemPlanItem$Outbound, BillingUpdateItemPlanItem$outboundSchema, type BillingUpdateItemPrice, type BillingUpdateItemPrice$Outbound, BillingUpdateItemPrice$outboundSchema, BillingUpdateItemPriceInterval, BillingUpdateItemPriceInterval$outboundSchema, type BillingUpdateItemProration, type BillingUpdateItemProration$Outbound, BillingUpdateItemProration$outboundSchema, type BillingUpdateItemReset, type BillingUpdateItemReset$Outbound, BillingUpdateItemReset$outboundSchema, BillingUpdateItemResetInterval, BillingUpdateItemResetInterval$outboundSchema, type BillingUpdateItemRollover, type BillingUpdateItemRollover$Outbound, BillingUpdateItemRollover$outboundSchema, type BillingUpdateItemTier, type BillingUpdateItemTier$Outbound, BillingUpdateItemTier$outboundSchema, BillingUpdateItemTierBehavior, BillingUpdateItemTierBehavior$outboundSchema, type BillingUpdateItemTo, type BillingUpdateItemTo$Outbound, BillingUpdateItemTo$outboundSchema, BillingUpdateOnEnd, BillingUpdateOnEnd$outboundSchema, type BillingUpdatePlanItemFilter, type BillingUpdatePlanItemFilter$Outbound, BillingUpdatePlanItemFilter$outboundSchema, BillingUpdatePriceInterval, BillingUpdatePriceInterval$outboundSchema, BillingUpdateProrationBehavior, BillingUpdateProrationBehavior$outboundSchema, type BillingUpdateRecalculateBalances, type BillingUpdateRecalculateBalances$Outbound, BillingUpdateRecalculateBalances$outboundSchema, BillingUpdateRedirectMode, BillingUpdateRedirectMode$outboundSchema, BillingUpdateRemoveItemBillingMethod, BillingUpdateRemoveItemBillingMethod$outboundSchema, BillingUpdateRemoveItemInterval, BillingUpdateRemoveItemInterval$outboundSchema, type BillingUpdateRequiredAction, BillingUpdateRequiredAction$inboundSchema, type BillingUpdateResponse, BillingUpdateResponse$inboundSchema, BinSize, BinSize$outboundSchema, type Breakdown, Breakdown$inboundSchema, type CheckConfig1, CheckConfig1$inboundSchema, type CheckConfig2, CheckConfig2$inboundSchema, type CheckCreditSchema1, CheckCreditSchema1$inboundSchema, type CheckCreditSchema2, CheckCreditSchema2$inboundSchema, CheckEnv1, CheckEnv1$inboundSchema, CheckEnv2, CheckEnv2$inboundSchema, type CheckFeature1, CheckFeature1$inboundSchema, type CheckFeature2, CheckFeature2$inboundSchema, type CheckFreeTrial1, CheckFreeTrial1$inboundSchema, type CheckFreeTrial2, CheckFreeTrial2$inboundSchema, type CheckGlobals, CheckInterval1, CheckInterval1$inboundSchema, CheckInterval2, CheckInterval2$inboundSchema, type CheckItem1, CheckItem1$inboundSchema, type CheckItem2, CheckItem2$inboundSchema, type CheckLock, type CheckLock$Outbound, CheckLock$outboundSchema, CheckOnDecrease1, CheckOnDecrease1$inboundSchema, CheckOnDecrease2, CheckOnDecrease2$inboundSchema, CheckOnEnd1, CheckOnEnd1$inboundSchema, CheckOnEnd2, CheckOnEnd2$inboundSchema, CheckOnIncrease1, CheckOnIncrease1$inboundSchema, CheckOnIncrease2, CheckOnIncrease2$inboundSchema, type CheckParams, type CheckParams$Outbound, CheckParams$outboundSchema, type CheckResponse, CheckResponse$inboundSchema, type CheckResponseBody1, CheckResponseBody1$inboundSchema, type CheckResponseBody2, CheckResponseBody2$inboundSchema, type CheckRollover1, CheckRollover1$inboundSchema, type CheckRollover2, CheckRollover2$inboundSchema, CheckTierBehavior1, CheckTierBehavior1$inboundSchema, CheckTierBehavior2, CheckTierBehavior2$inboundSchema, ConfigDuration1, ConfigDuration1$inboundSchema, ConfigDuration2, ConfigDuration2$inboundSchema, ConnectionError, CreateBalanceDuration, CreateBalanceDuration$outboundSchema, type CreateBalanceGlobals, CreateBalanceInterval, CreateBalanceInterval$outboundSchema, type CreateBalanceParams, type CreateBalanceParams$Outbound, CreateBalanceParams$outboundSchema, type CreateBalanceReset, type CreateBalanceReset$Outbound, CreateBalanceReset$outboundSchema, type CreateBalanceResponse, CreateBalanceResponse$inboundSchema, type CreateBalanceRollover, type CreateBalanceRollover$Outbound, CreateBalanceRollover$outboundSchema, type CreateEntityBillingControlsRequest, type CreateEntityBillingControlsRequest$Outbound, CreateEntityBillingControlsRequest$outboundSchema, type CreateEntityBillingControlsResponse, CreateEntityBillingControlsResponse$inboundSchema, type CreateEntityCreditSchema, CreateEntityCreditSchema$inboundSchema, type CreateEntityDisplay, CreateEntityDisplay$inboundSchema, CreateEntityEnv, CreateEntityEnv$inboundSchema, type CreateEntityFeature, CreateEntityFeature$inboundSchema, type CreateEntityFlags, CreateEntityFlags$inboundSchema, type CreateEntityGlobals, type CreateEntityInvoice, CreateEntityInvoice$inboundSchema, type CreateEntityOverageAllowedRequest, type CreateEntityOverageAllowedRequest$Outbound, CreateEntityOverageAllowedRequest$outboundSchema, type CreateEntityOverageAllowedResponse, CreateEntityOverageAllowedResponse$inboundSchema, type CreateEntityParams, type CreateEntityParams$Outbound, CreateEntityParams$outboundSchema, CreateEntityProcessorType, CreateEntityProcessorType$inboundSchema, type CreateEntityPurchase, CreateEntityPurchase$inboundSchema, type CreateEntityResponse, CreateEntityResponse$inboundSchema, type CreateEntitySpendLimitRequest, type CreateEntitySpendLimitRequest$Outbound, CreateEntitySpendLimitRequest$outboundSchema, type CreateEntitySpendLimitResponse, CreateEntitySpendLimitResponse$inboundSchema, CreateEntityStatus, CreateEntityStatus$inboundSchema, type CreateEntitySubscription, CreateEntitySubscription$inboundSchema, CreateEntityThresholdTypeRequestBody, CreateEntityThresholdTypeRequestBody$outboundSchema, CreateEntityThresholdTypeResponse, CreateEntityThresholdTypeResponse$inboundSchema, CreateEntityType, CreateEntityType$inboundSchema, type CreateEntityUsageAlertRequestBody, type CreateEntityUsageAlertRequestBody$Outbound, CreateEntityUsageAlertRequestBody$outboundSchema, type CreateEntityUsageAlertResponse, CreateEntityUsageAlertResponse$inboundSchema, type CreateFeatureCreditSchemaRequest, type CreateFeatureCreditSchemaRequest$Outbound, CreateFeatureCreditSchemaRequest$outboundSchema, type CreateFeatureCreditSchemaResponse, CreateFeatureCreditSchemaResponse$inboundSchema, type CreateFeatureDisplayRequest, type CreateFeatureDisplayRequest$Outbound, CreateFeatureDisplayRequest$outboundSchema, type CreateFeatureDisplayResponse, CreateFeatureDisplayResponse$inboundSchema, type CreateFeatureGlobals, type CreateFeatureParams, type CreateFeatureParams$Outbound, CreateFeatureParams$outboundSchema, type CreateFeatureResponse, CreateFeatureResponse$inboundSchema, CreateFeatureTypeRequest, CreateFeatureTypeRequest$outboundSchema, CreateFeatureTypeResponse, CreateFeatureTypeResponse$inboundSchema, CreatePlanAttachAction, CreatePlanAttachAction$inboundSchema, CreatePlanBillingMethodRequest, CreatePlanBillingMethodRequest$outboundSchema, CreatePlanBillingMethodResponse, CreatePlanBillingMethodResponse$inboundSchema, type CreatePlanConfigRequest, type CreatePlanConfigRequest$Outbound, CreatePlanConfigRequest$outboundSchema, type CreatePlanConfigResponse, CreatePlanConfigResponse$inboundSchema, type CreatePlanCreditSchema, CreatePlanCreditSchema$inboundSchema, type CreatePlanCustomerEligibility, CreatePlanCustomerEligibility$inboundSchema, CreatePlanDurationTypeRequest, CreatePlanDurationTypeRequest$outboundSchema, CreatePlanDurationTypeResponse, CreatePlanDurationTypeResponse$inboundSchema, CreatePlanEnv, CreatePlanEnv$inboundSchema, CreatePlanExpiryDurationTypeRequest, CreatePlanExpiryDurationTypeRequest$outboundSchema, CreatePlanExpiryDurationTypeResponse, CreatePlanExpiryDurationTypeResponse$inboundSchema, type CreatePlanFeature, CreatePlanFeature$inboundSchema, type CreatePlanFeatureDisplay, CreatePlanFeatureDisplay$inboundSchema, type CreatePlanFreeTrialResponse, CreatePlanFreeTrialResponse$inboundSchema, type CreatePlanGlobals, type CreatePlanItem, CreatePlanItem$inboundSchema, type CreatePlanItemDisplay, CreatePlanItemDisplay$inboundSchema, CreatePlanItemPriceIntervalRequest, CreatePlanItemPriceIntervalRequest$outboundSchema, type CreatePlanItemPriceRequest, type CreatePlanItemPriceRequest$Outbound, CreatePlanItemPriceRequest$outboundSchema, type CreatePlanItemPriceResponse, CreatePlanItemPriceResponse$inboundSchema, CreatePlanOnDecrease, CreatePlanOnDecrease$outboundSchema, CreatePlanOnEndRequest, CreatePlanOnEndRequest$outboundSchema, CreatePlanOnEndResponse, CreatePlanOnEndResponse$inboundSchema, CreatePlanOnIncrease, CreatePlanOnIncrease$outboundSchema, type CreatePlanParams, type CreatePlanParams$Outbound, CreatePlanParams$outboundSchema, type CreatePlanPlanItem, type CreatePlanPlanItem$Outbound, CreatePlanPlanItem$outboundSchema, type CreatePlanPriceDisplay, CreatePlanPriceDisplay$inboundSchema, CreatePlanPriceIntervalRequest, CreatePlanPriceIntervalRequest$outboundSchema, CreatePlanPriceIntervalResponse, CreatePlanPriceIntervalResponse$inboundSchema, CreatePlanPriceItemIntervalResponse, CreatePlanPriceItemIntervalResponse$inboundSchema, type CreatePlanPriceRequest, type CreatePlanPriceRequest$Outbound, CreatePlanPriceRequest$outboundSchema, type CreatePlanPriceResponse, CreatePlanPriceResponse$inboundSchema, type CreatePlanProration, type CreatePlanProration$Outbound, CreatePlanProration$outboundSchema, CreatePlanResetIntervalRequest, CreatePlanResetIntervalRequest$outboundSchema, CreatePlanResetIntervalResponse, CreatePlanResetIntervalResponse$inboundSchema, type CreatePlanResetRequest, type CreatePlanResetRequest$Outbound, CreatePlanResetRequest$outboundSchema, type CreatePlanResetResponse, CreatePlanResetResponse$inboundSchema, type CreatePlanResponse, CreatePlanResponse$inboundSchema, type CreatePlanRolloverRequest, type CreatePlanRolloverRequest$Outbound, CreatePlanRolloverRequest$outboundSchema, type CreatePlanRolloverResponse, CreatePlanRolloverResponse$inboundSchema, CreatePlanStatus, CreatePlanStatus$inboundSchema, type CreatePlanTier, type CreatePlanTier$Outbound, CreatePlanTier$outboundSchema, CreatePlanTierBehaviorRequest, CreatePlanTierBehaviorRequest$outboundSchema, CreatePlanTierBehaviorResponse, CreatePlanTierBehaviorResponse$inboundSchema, type CreatePlanTo, type CreatePlanTo$Outbound, CreatePlanTo$outboundSchema, CreatePlanType, CreatePlanType$inboundSchema, type CreateReferralCodeGlobals, type CreateReferralCodeParams, type CreateReferralCodeParams$Outbound, CreateReferralCodeParams$outboundSchema, type CreateReferralCodeResponse, CreateReferralCodeResponse$inboundSchema, type CreateScheduleBasePrice2, type CreateScheduleBasePrice2$Outbound, CreateScheduleBasePrice2$outboundSchema, CreateScheduleBillingMethod2, CreateScheduleBillingMethod2$outboundSchema, CreateScheduleCode, CreateScheduleCode$inboundSchema, type CreateScheduleCustomize2, type CreateScheduleCustomize2$Outbound, CreateScheduleCustomize2$outboundSchema, CreateScheduleExpiryDurationType2, CreateScheduleExpiryDurationType2$outboundSchema, type CreateScheduleFeatureQuantity2, type CreateScheduleFeatureQuantity2$Outbound, CreateScheduleFeatureQuantity2$outboundSchema, type CreateScheduleGlobals, type CreateScheduleInvoice, CreateScheduleInvoice$inboundSchema, type CreateScheduleInvoiceMode, type CreateScheduleInvoiceMode$Outbound, CreateScheduleInvoiceMode$outboundSchema, CreateScheduleItemPriceInterval2, CreateScheduleItemPriceInterval2$outboundSchema, CreateScheduleOnDecrease2, CreateScheduleOnDecrease2$outboundSchema, CreateScheduleOnIncrease2, CreateScheduleOnIncrease2$outboundSchema, type CreateScheduleParams, type CreateScheduleParams$Outbound, CreateScheduleParams$outboundSchema, type CreateSchedulePlan2, type CreateSchedulePlan2$Outbound, CreateSchedulePlan2$outboundSchema, type CreateSchedulePlanItem2, type CreateSchedulePlanItem2$Outbound, CreateSchedulePlanItem2$outboundSchema, type CreateSchedulePrice2, type CreateSchedulePrice2$Outbound, CreateSchedulePrice2$outboundSchema, CreateSchedulePriceInterval2, CreateSchedulePriceInterval2$outboundSchema, type CreateScheduleProration2, type CreateScheduleProration2$Outbound, CreateScheduleProration2$outboundSchema, CreateScheduleRedirectMode, CreateScheduleRedirectMode$outboundSchema, type CreateScheduleRequiredAction, CreateScheduleRequiredAction$inboundSchema, type CreateScheduleReset2, type CreateScheduleReset2$Outbound, CreateScheduleReset2$outboundSchema, CreateScheduleResetInterval2, CreateScheduleResetInterval2$outboundSchema, type CreateScheduleResponse, CreateScheduleResponse$inboundSchema, type CreateScheduleRollover2, type CreateScheduleRollover2$Outbound, CreateScheduleRollover2$outboundSchema, CreateScheduleStatus, CreateScheduleStatus$inboundSchema, type CreateScheduleTier2, type CreateScheduleTier2$Outbound, CreateScheduleTier2$outboundSchema, CreateScheduleTierBehavior2, CreateScheduleTierBehavior2$outboundSchema, type Customer, Customer$inboundSchema, type CustomerAutoTopup, CustomerAutoTopup$inboundSchema, type CustomerBillingControls, CustomerBillingControls$inboundSchema, type CustomerConfig, CustomerConfig$inboundSchema, type CustomerCreditSchema, CustomerCreditSchema$inboundSchema, type CustomerData, type CustomerData$Outbound, CustomerData$outboundSchema, type CustomerDataAutoTopup, type CustomerDataAutoTopup$Outbound, CustomerDataAutoTopup$outboundSchema, type CustomerDataBillingControls, type CustomerDataBillingControls$Outbound, CustomerDataBillingControls$outboundSchema, type CustomerDataConfig, type CustomerDataConfig$Outbound, CustomerDataConfig$outboundSchema, CustomerDataInterval, CustomerDataInterval$outboundSchema, type CustomerDataOverageAllowed, type CustomerDataOverageAllowed$Outbound, CustomerDataOverageAllowed$outboundSchema, type CustomerDataPurchaseLimit, type CustomerDataPurchaseLimit$Outbound, CustomerDataPurchaseLimit$outboundSchema, type CustomerDataSpendLimit, type CustomerDataSpendLimit$Outbound, CustomerDataSpendLimit$outboundSchema, CustomerDataThresholdType, CustomerDataThresholdType$outboundSchema, type CustomerDataUsageAlert, type CustomerDataUsageAlert$Outbound, CustomerDataUsageAlert$outboundSchema, type CustomerDisplay, CustomerDisplay$inboundSchema, CustomerDurationType, CustomerDurationType$inboundSchema, type CustomerEligibility, CustomerEligibility$inboundSchema, CustomerEntityEnv, CustomerEntityEnv$inboundSchema, CustomerEnv, CustomerEnv$inboundSchema, CustomerExpand, CustomerExpand$outboundSchema, type CustomerFeature, CustomerFeature$inboundSchema, CustomerFlagsType, CustomerFlagsType$inboundSchema, CustomerInterval1, CustomerInterval1$inboundSchema, CustomerInterval2, CustomerInterval2$inboundSchema, type CustomerOverageAllowed, CustomerOverageAllowed$inboundSchema, type CustomerPurchaseLimit1, CustomerPurchaseLimit1$inboundSchema, type CustomerPurchaseLimit2, CustomerPurchaseLimit2$inboundSchema, type CustomerPurchaseLimitUnion, CustomerPurchaseLimitUnion$inboundSchema, CustomerRewardsType, CustomerRewardsType$inboundSchema, type CustomerSpendLimit, CustomerSpendLimit$inboundSchema, CustomerStatus, CustomerStatus$inboundSchema, CustomerThresholdType, CustomerThresholdType$inboundSchema, type CustomerUsageAlert, CustomerUsageAlert$inboundSchema, type Deduction1, Deduction1$inboundSchema, type Deduction2, Deduction2$inboundSchema, type Deductions, Deductions$inboundSchema, type DeleteBalanceGlobals, DeleteBalanceInterval, DeleteBalanceInterval$outboundSchema, type DeleteBalanceParams, type DeleteBalanceParams$Outbound, DeleteBalanceParams$outboundSchema, type DeleteBalanceResponse, DeleteBalanceResponse$inboundSchema, type DeleteCustomerGlobals, type DeleteCustomerParams, type DeleteCustomerParams$Outbound, DeleteCustomerParams$outboundSchema, type DeleteCustomerResponse, DeleteCustomerResponse$inboundSchema, type DeleteEntityGlobals, type DeleteEntityParams, type DeleteEntityParams$Outbound, DeleteEntityParams$outboundSchema, type DeleteEntityResponse, DeleteEntityResponse$inboundSchema, type DeleteFeatureGlobals, type DeleteFeatureParams, type DeleteFeatureParams$Outbound, DeleteFeatureParams$outboundSchema, type DeleteFeatureResponse, DeleteFeatureResponse$inboundSchema, type DeletePlanGlobals, type DeletePlanParams, type DeletePlanParams$Outbound, DeletePlanParams$outboundSchema, type DeletePlanResponse, DeletePlanResponse$inboundSchema, type Discount, Discount$inboundSchema, type EntitlementsGranted, EntitlementsGranted$inboundSchema, type Entity, Entity$inboundSchema, type EventsAggregateParams, type EventsAggregateParams$Outbound, EventsAggregateParams$outboundSchema, type EventsListParams, type EventsListParams$Outbound, EventsListParams$outboundSchema, ExpiryDurationType, ExpiryDurationType$inboundSchema, FeatureType1, FeatureType1$inboundSchema, FeatureType2, FeatureType2$inboundSchema, type Fetcher, type FinalizeBalanceParams, type FinalizeBalanceParams$Outbound, FinalizeBalanceParams$outboundSchema, FinalizeLockAction, FinalizeLockAction$outboundSchema, type FinalizeLockGlobals, type FinalizeLockResponse, FinalizeLockResponse$inboundSchema, type FinalizeLockResponseBody1, FinalizeLockResponseBody1$inboundSchema, type FinalizeLockResponseBody2, FinalizeLockResponseBody2$inboundSchema, type Flag1, Flag1$inboundSchema, type Flag2, Flag2$inboundSchema, type FlagDisplay1, FlagDisplay1$inboundSchema, type FlagDisplay2, FlagDisplay2$inboundSchema, FlagType1, FlagType1$inboundSchema, FlagType2, FlagType2$inboundSchema, type Flags, Flags$inboundSchema, type FreeTrial, FreeTrial$inboundSchema, FreeTrialDuration1, FreeTrialDuration1$inboundSchema, FreeTrialDuration2, FreeTrialDuration2$inboundSchema, type FreeTrialRequest, type FreeTrialRequest$Outbound, FreeTrialRequest$outboundSchema, type GetCustomerAutoTopup, GetCustomerAutoTopup$inboundSchema, type GetCustomerBillingControls, GetCustomerBillingControls$inboundSchema, type GetCustomerConfig, GetCustomerConfig$inboundSchema, type GetCustomerCreditSchema, GetCustomerCreditSchema$inboundSchema, type GetCustomerCustomer, GetCustomerCustomer$inboundSchema, type GetCustomerDiscount, GetCustomerDiscount$inboundSchema, type GetCustomerDisplay, GetCustomerDisplay$inboundSchema, GetCustomerDurationType, GetCustomerDurationType$inboundSchema, type GetCustomerEntity, GetCustomerEntity$inboundSchema, GetCustomerEntityEnv, GetCustomerEntityEnv$inboundSchema, GetCustomerEnv, GetCustomerEnv$inboundSchema, type GetCustomerFeature, GetCustomerFeature$inboundSchema, type GetCustomerFlags, GetCustomerFlags$inboundSchema, GetCustomerFlagsType, GetCustomerFlagsType$inboundSchema, type GetCustomerGlobals, GetCustomerInterval1, GetCustomerInterval1$inboundSchema, GetCustomerInterval2, GetCustomerInterval2$inboundSchema, type GetCustomerInvoice, GetCustomerInvoice$inboundSchema, type GetCustomerOverageAllowed, GetCustomerOverageAllowed$inboundSchema, type GetCustomerParams, type GetCustomerParams$Outbound, GetCustomerParams$outboundSchema, GetCustomerProcessorType, GetCustomerProcessorType$inboundSchema, type GetCustomerProcessors, GetCustomerProcessors$inboundSchema, type GetCustomerPurchase, GetCustomerPurchase$inboundSchema, type GetCustomerPurchaseLimit1, GetCustomerPurchaseLimit1$inboundSchema, type GetCustomerPurchaseLimit2, GetCustomerPurchaseLimit2$inboundSchema, type GetCustomerPurchaseLimitUnion, GetCustomerPurchaseLimitUnion$inboundSchema, type GetCustomerReferral, GetCustomerReferral$inboundSchema, type GetCustomerResponse, GetCustomerResponse$inboundSchema, type GetCustomerRevenuecat, GetCustomerRevenuecat$inboundSchema, type GetCustomerRewards, GetCustomerRewards$inboundSchema, GetCustomerRewardsType, GetCustomerRewardsType$inboundSchema, type GetCustomerSpendLimit, GetCustomerSpendLimit$inboundSchema, GetCustomerStatus, GetCustomerStatus$inboundSchema, type GetCustomerStripe, GetCustomerStripe$inboundSchema, type GetCustomerSubscription, GetCustomerSubscription$inboundSchema, GetCustomerThresholdType, GetCustomerThresholdType$inboundSchema, type GetCustomerTrialsUsed, GetCustomerTrialsUsed$inboundSchema, type GetCustomerUsageAlert, GetCustomerUsageAlert$inboundSchema, type GetCustomerVercel, GetCustomerVercel$inboundSchema, type GetEntityBillingControls, GetEntityBillingControls$inboundSchema, type GetEntityCreditSchema, GetEntityCreditSchema$inboundSchema, type GetEntityDisplay, GetEntityDisplay$inboundSchema, GetEntityEnv, GetEntityEnv$inboundSchema, type GetEntityFeature, GetEntityFeature$inboundSchema, type GetEntityFlags, GetEntityFlags$inboundSchema, type GetEntityGlobals, type GetEntityInvoice, GetEntityInvoice$inboundSchema, type GetEntityOverageAllowed, GetEntityOverageAllowed$inboundSchema, type GetEntityParams, type GetEntityParams$Outbound, GetEntityParams$outboundSchema, GetEntityProcessorType, GetEntityProcessorType$inboundSchema, type GetEntityPurchase, GetEntityPurchase$inboundSchema, type GetEntityResponse, GetEntityResponse$inboundSchema, type GetEntitySpendLimit, GetEntitySpendLimit$inboundSchema, GetEntityStatus, GetEntityStatus$inboundSchema, type GetEntitySubscription, GetEntitySubscription$inboundSchema, GetEntityThresholdType, GetEntityThresholdType$inboundSchema, GetEntityType, GetEntityType$inboundSchema, type GetEntityUsageAlert, GetEntityUsageAlert$inboundSchema, type GetFeatureCreditSchema, GetFeatureCreditSchema$inboundSchema, type GetFeatureDisplay, GetFeatureDisplay$inboundSchema, type GetFeatureGlobals, type GetFeatureParams, type GetFeatureParams$Outbound, GetFeatureParams$outboundSchema, type GetFeatureResponse, GetFeatureResponse$inboundSchema, GetFeatureType, GetFeatureType$inboundSchema, type GetOrCreateCustomerAutoTopup, type GetOrCreateCustomerAutoTopup$Outbound, GetOrCreateCustomerAutoTopup$outboundSchema, type GetOrCreateCustomerBillingControls, type GetOrCreateCustomerBillingControls$Outbound, GetOrCreateCustomerBillingControls$outboundSchema, type GetOrCreateCustomerConfig, type GetOrCreateCustomerConfig$Outbound, GetOrCreateCustomerConfig$outboundSchema, type GetOrCreateCustomerGlobals, GetOrCreateCustomerInterval, GetOrCreateCustomerInterval$outboundSchema, type GetOrCreateCustomerOverageAllowed, type GetOrCreateCustomerOverageAllowed$Outbound, GetOrCreateCustomerOverageAllowed$outboundSchema, type GetOrCreateCustomerParams, type GetOrCreateCustomerParams$Outbound, GetOrCreateCustomerParams$outboundSchema, type GetOrCreateCustomerPurchaseLimit, type GetOrCreateCustomerPurchaseLimit$Outbound, GetOrCreateCustomerPurchaseLimit$outboundSchema, type GetOrCreateCustomerSpendLimit, type GetOrCreateCustomerSpendLimit$Outbound, GetOrCreateCustomerSpendLimit$outboundSchema, GetOrCreateCustomerThresholdType, GetOrCreateCustomerThresholdType$outboundSchema, type GetOrCreateCustomerUsageAlert, type GetOrCreateCustomerUsageAlert$Outbound, GetOrCreateCustomerUsageAlert$outboundSchema, GetPlanAttachAction, GetPlanAttachAction$inboundSchema, GetPlanBillingMethod, GetPlanBillingMethod$inboundSchema, type GetPlanConfig, GetPlanConfig$inboundSchema, type GetPlanCreditSchema, GetPlanCreditSchema$inboundSchema, type GetPlanCustomerEligibility, GetPlanCustomerEligibility$inboundSchema, GetPlanDurationType, GetPlanDurationType$inboundSchema, GetPlanEnv, GetPlanEnv$inboundSchema, GetPlanExpiryDurationType, GetPlanExpiryDurationType$inboundSchema, type GetPlanFeature, GetPlanFeature$inboundSchema, type GetPlanFeatureDisplay, GetPlanFeatureDisplay$inboundSchema, type GetPlanFreeTrial, GetPlanFreeTrial$inboundSchema, type GetPlanGlobals, type GetPlanItem, GetPlanItem$inboundSchema, type GetPlanItemDisplay, GetPlanItemDisplay$inboundSchema, type GetPlanItemPrice, GetPlanItemPrice$inboundSchema, GetPlanOnEnd, GetPlanOnEnd$inboundSchema, type GetPlanParams, type GetPlanParams$Outbound, GetPlanParams$outboundSchema, type GetPlanPrice, GetPlanPrice$inboundSchema, type GetPlanPriceDisplay, GetPlanPriceDisplay$inboundSchema, GetPlanPriceInterval, GetPlanPriceInterval$inboundSchema, GetPlanPriceItemInterval, GetPlanPriceItemInterval$inboundSchema, type GetPlanReset, GetPlanReset$inboundSchema, GetPlanResetInterval, GetPlanResetInterval$inboundSchema, type GetPlanResponse, GetPlanResponse$inboundSchema, type GetPlanRollover, GetPlanRollover$inboundSchema, GetPlanStatus, GetPlanStatus$inboundSchema, GetPlanTierBehavior, GetPlanTierBehavior$inboundSchema, GetPlanType, GetPlanType$inboundSchema, HTTPClient, HTTPClientError, type HTTPClientOptions, type IncludedUsage1, IncludedUsage1$inboundSchema, type IncludedUsage2, IncludedUsage2$inboundSchema, Intent, Intent$inboundSchema, InvalidRequestError, type Invoice, Invoice$inboundSchema, type Item, Item$inboundSchema, type ListCustomersAutoTopup, ListCustomersAutoTopup$inboundSchema, type ListCustomersBillingControls, ListCustomersBillingControls$inboundSchema, type ListCustomersConfig, ListCustomersConfig$inboundSchema, type ListCustomersCreditSchema, ListCustomersCreditSchema$inboundSchema, type ListCustomersDisplay, ListCustomersDisplay$inboundSchema, ListCustomersEnv, ListCustomersEnv$inboundSchema, type ListCustomersFeature, ListCustomersFeature$inboundSchema, type ListCustomersFlags, ListCustomersFlags$inboundSchema, type ListCustomersGlobals, ListCustomersInterval1, ListCustomersInterval1$inboundSchema, ListCustomersInterval2, ListCustomersInterval2$inboundSchema, type ListCustomersList, ListCustomersList$inboundSchema, type ListCustomersOverageAllowed, ListCustomersOverageAllowed$inboundSchema, type ListCustomersParams, type ListCustomersParams$Outbound, ListCustomersParams$outboundSchema, type ListCustomersPlan, type ListCustomersPlan$Outbound, ListCustomersPlan$outboundSchema, ListCustomersProcessor, ListCustomersProcessor$outboundSchema, type ListCustomersProcessors, ListCustomersProcessors$inboundSchema, type ListCustomersPurchase, ListCustomersPurchase$inboundSchema, type ListCustomersPurchaseLimit1, ListCustomersPurchaseLimit1$inboundSchema, type ListCustomersPurchaseLimit2, ListCustomersPurchaseLimit2$inboundSchema, type ListCustomersPurchaseLimitUnion, ListCustomersPurchaseLimitUnion$inboundSchema, type ListCustomersResponse, ListCustomersResponse$inboundSchema, type ListCustomersRevenuecat, ListCustomersRevenuecat$inboundSchema, type ListCustomersSpendLimit, ListCustomersSpendLimit$inboundSchema, ListCustomersStatus, ListCustomersStatus$inboundSchema, type ListCustomersStripe, ListCustomersStripe$inboundSchema, type ListCustomersSubscription, ListCustomersSubscription$inboundSchema, ListCustomersSubscriptionStatus, ListCustomersSubscriptionStatus$outboundSchema, ListCustomersThresholdType, ListCustomersThresholdType$inboundSchema, ListCustomersType, ListCustomersType$inboundSchema, type ListCustomersUsageAlert, ListCustomersUsageAlert$inboundSchema, type ListCustomersVercel, ListCustomersVercel$inboundSchema, type ListEntitiesBillingControls, ListEntitiesBillingControls$inboundSchema, type ListEntitiesCreditSchema, ListEntitiesCreditSchema$inboundSchema, type ListEntitiesDisplay, ListEntitiesDisplay$inboundSchema, ListEntitiesEnv, ListEntitiesEnv$inboundSchema, type ListEntitiesFeature, ListEntitiesFeature$inboundSchema, type ListEntitiesFlags, ListEntitiesFlags$inboundSchema, type ListEntitiesGlobals, type ListEntitiesInvoice, ListEntitiesInvoice$inboundSchema, type ListEntitiesList, ListEntitiesList$inboundSchema, type ListEntitiesOverageAllowed, ListEntitiesOverageAllowed$inboundSchema, type ListEntitiesParams, type ListEntitiesParams$Outbound, ListEntitiesParams$outboundSchema, type ListEntitiesPlan, type ListEntitiesPlan$Outbound, ListEntitiesPlan$outboundSchema, ListEntitiesProcessor, ListEntitiesProcessor$outboundSchema, ListEntitiesProcessorType, ListEntitiesProcessorType$inboundSchema, type ListEntitiesPurchase, ListEntitiesPurchase$inboundSchema, type ListEntitiesResponse, ListEntitiesResponse$inboundSchema, type ListEntitiesSpendLimit, ListEntitiesSpendLimit$inboundSchema, ListEntitiesStatus, ListEntitiesStatus$inboundSchema, type ListEntitiesSubscription, ListEntitiesSubscription$inboundSchema, ListEntitiesSubscriptionStatus, ListEntitiesSubscriptionStatus$outboundSchema, ListEntitiesThresholdType, ListEntitiesThresholdType$inboundSchema, ListEntitiesType, ListEntitiesType$inboundSchema, type ListEntitiesUsageAlert, ListEntitiesUsageAlert$inboundSchema, type ListEventsCustomRange, type ListEventsCustomRange$Outbound, ListEventsCustomRange$outboundSchema, type ListEventsFeatureId, type ListEventsFeatureId$Outbound, ListEventsFeatureId$outboundSchema, type ListEventsGlobals, ListEventsIntervalEnum, ListEventsIntervalEnum$inboundSchema, type ListEventsIntervalUnion, ListEventsIntervalUnion$inboundSchema, type ListEventsList, ListEventsList$inboundSchema, type ListEventsReset, ListEventsReset$inboundSchema, type ListEventsResponse, ListEventsResponse$inboundSchema, type ListFeaturesCreditSchema, ListFeaturesCreditSchema$inboundSchema, type ListFeaturesDisplay, ListFeaturesDisplay$inboundSchema, type ListFeaturesGlobals, type ListFeaturesList, ListFeaturesList$inboundSchema, type ListFeaturesRequest, type ListFeaturesRequest$Outbound, ListFeaturesRequest$outboundSchema, type ListFeaturesResponse, ListFeaturesResponse$inboundSchema, ListFeaturesType, ListFeaturesType$inboundSchema, ListPlansAttachAction, ListPlansAttachAction$inboundSchema, ListPlansBillingMethod, ListPlansBillingMethod$inboundSchema, type ListPlansConfig, ListPlansConfig$inboundSchema, type ListPlansCreditSchema, ListPlansCreditSchema$inboundSchema, type ListPlansCustomerEligibility, ListPlansCustomerEligibility$inboundSchema, ListPlansDurationType, ListPlansDurationType$inboundSchema, ListPlansEnv, ListPlansEnv$inboundSchema, ListPlansExpiryDurationType, ListPlansExpiryDurationType$inboundSchema, type ListPlansFeature, ListPlansFeature$inboundSchema, type ListPlansFeatureDisplay, ListPlansFeatureDisplay$inboundSchema, type ListPlansFreeTrial, ListPlansFreeTrial$inboundSchema, type ListPlansGlobals, type ListPlansItem, ListPlansItem$inboundSchema, type ListPlansItemDisplay, ListPlansItemDisplay$inboundSchema, type ListPlansItemPrice, ListPlansItemPrice$inboundSchema, type ListPlansList, ListPlansList$inboundSchema, ListPlansOnEnd, ListPlansOnEnd$inboundSchema, type ListPlansParams, type ListPlansParams$Outbound, ListPlansParams$outboundSchema, type ListPlansPrice, ListPlansPrice$inboundSchema, type ListPlansPriceDisplay, ListPlansPriceDisplay$inboundSchema, ListPlansPriceInterval, ListPlansPriceInterval$inboundSchema, ListPlansPriceItemInterval, ListPlansPriceItemInterval$inboundSchema, type ListPlansReset, ListPlansReset$inboundSchema, ListPlansResetInterval, ListPlansResetInterval$inboundSchema, type ListPlansResponse, ListPlansResponse$inboundSchema, type ListPlansRollover, ListPlansRollover$inboundSchema, ListPlansStatus, ListPlansStatus$inboundSchema, ListPlansTierBehavior, ListPlansTierBehavior$inboundSchema, ListPlansType, ListPlansType$inboundSchema, type MultiAttachAttachDiscount, type MultiAttachAttachDiscount$Outbound, MultiAttachAttachDiscount$outboundSchema, type MultiAttachBasePrice, type MultiAttachBasePrice$Outbound, MultiAttachBasePrice$outboundSchema, type MultiAttachBillingControls, type MultiAttachBillingControls$Outbound, MultiAttachBillingControls$outboundSchema, MultiAttachBillingMethod, MultiAttachBillingMethod$outboundSchema, MultiAttachCode, MultiAttachCode$inboundSchema, type MultiAttachCustomize, type MultiAttachCustomize$Outbound, MultiAttachCustomize$outboundSchema, MultiAttachDurationType, MultiAttachDurationType$outboundSchema, type MultiAttachEntityData, type MultiAttachEntityData$Outbound, MultiAttachEntityData$outboundSchema, MultiAttachExpiryDurationType, MultiAttachExpiryDurationType$outboundSchema, type MultiAttachFeatureQuantity, type MultiAttachFeatureQuantity$Outbound, MultiAttachFeatureQuantity$outboundSchema, type MultiAttachFreeTrialParams, type MultiAttachFreeTrialParams$Outbound, MultiAttachFreeTrialParams$outboundSchema, type MultiAttachGlobals, type MultiAttachInvoice, MultiAttachInvoice$inboundSchema, type MultiAttachInvoiceMode, type MultiAttachInvoiceMode$Outbound, MultiAttachInvoiceMode$outboundSchema, MultiAttachItemPriceInterval, MultiAttachItemPriceInterval$outboundSchema, MultiAttachOnDecrease, MultiAttachOnDecrease$outboundSchema, MultiAttachOnEnd, MultiAttachOnEnd$outboundSchema, MultiAttachOnIncrease, MultiAttachOnIncrease$outboundSchema, type MultiAttachOverageAllowed, type MultiAttachOverageAllowed$Outbound, MultiAttachOverageAllowed$outboundSchema, type MultiAttachParams, type MultiAttachParams$Outbound, MultiAttachParams$outboundSchema, type MultiAttachPlan, type MultiAttachPlan$Outbound, MultiAttachPlan$outboundSchema, type MultiAttachPlanItem, type MultiAttachPlanItem$Outbound, MultiAttachPlanItem$outboundSchema, type MultiAttachPrice, type MultiAttachPrice$Outbound, MultiAttachPrice$outboundSchema, MultiAttachPriceInterval, MultiAttachPriceInterval$outboundSchema, type MultiAttachProration, type MultiAttachProration$Outbound, MultiAttachProration$outboundSchema, MultiAttachRedirectMode, MultiAttachRedirectMode$outboundSchema, type MultiAttachRequiredAction, MultiAttachRequiredAction$inboundSchema, type MultiAttachReset, type MultiAttachReset$Outbound, MultiAttachReset$outboundSchema, MultiAttachResetInterval, MultiAttachResetInterval$outboundSchema, type MultiAttachResponse, MultiAttachResponse$inboundSchema, type MultiAttachRollover, type MultiAttachRollover$Outbound, MultiAttachRollover$outboundSchema, type MultiAttachSpendLimit, type MultiAttachSpendLimit$Outbound, MultiAttachSpendLimit$outboundSchema, MultiAttachThresholdType, MultiAttachThresholdType$outboundSchema, type MultiAttachTier, type MultiAttachTier$Outbound, MultiAttachTier$outboundSchema, MultiAttachTierBehavior, MultiAttachTierBehavior$outboundSchema, type MultiAttachTo, type MultiAttachTo$Outbound, MultiAttachTo$outboundSchema, type MultiAttachUsageAlert, type MultiAttachUsageAlert$Outbound, MultiAttachUsageAlert$outboundSchema, OnEnd, OnEnd$inboundSchema, type OpenCustomerPortalGlobals, type OpenCustomerPortalParams, type OpenCustomerPortalParams$Outbound, OpenCustomerPortalParams$outboundSchema, type OpenCustomerPortalResponse, OpenCustomerPortalResponse$inboundSchema, type Phase, type Phase$Outbound, Phase$outboundSchema, type PhaseRequest2, type PhaseRequest2$Outbound, PhaseRequest2$outboundSchema, type PhaseResponse, PhaseResponse$inboundSchema, type Plan, Plan$inboundSchema, PlanBillingMethod, PlanBillingMethod$inboundSchema, type PlanConfig, PlanConfig$inboundSchema, type PlanCreditSchema, PlanCreditSchema$inboundSchema, PlanDurationType, PlanDurationType$inboundSchema, PlanEnv, PlanEnv$inboundSchema, type PlanFeature, PlanFeature$inboundSchema, type PlanFeatureDisplay, PlanFeatureDisplay$inboundSchema, type PlanItemDisplay, PlanItemDisplay$inboundSchema, type PlanItemPrice, PlanItemPrice$inboundSchema, type PlanPrice, PlanPrice$inboundSchema, type PlanPriceDisplay, PlanPriceDisplay$inboundSchema, PlanPriceInterval, PlanPriceInterval$inboundSchema, PlanPriceItemInterval, PlanPriceItemInterval$inboundSchema, type PlanReset, PlanReset$inboundSchema, PlanResetInterval, PlanResetInterval$inboundSchema, type PlanRollover, PlanRollover$inboundSchema, PlanStatus, PlanStatus$inboundSchema, PlanTierBehavior, PlanTierBehavior$inboundSchema, PlanType, PlanType$inboundSchema, type Preview1, Preview1$inboundSchema, type Preview2, Preview2$inboundSchema, PreviewAttachAddItemBillingMethod, PreviewAttachAddItemBillingMethod$outboundSchema, PreviewAttachAddItemExpiryDurationType, PreviewAttachAddItemExpiryDurationType$outboundSchema, PreviewAttachAddItemOnDecrease, PreviewAttachAddItemOnDecrease$outboundSchema, PreviewAttachAddItemOnIncrease, PreviewAttachAddItemOnIncrease$outboundSchema, type PreviewAttachAddItemPlanItem, type PreviewAttachAddItemPlanItem$Outbound, PreviewAttachAddItemPlanItem$outboundSchema, type PreviewAttachAddItemPrice, type PreviewAttachAddItemPrice$Outbound, PreviewAttachAddItemPrice$outboundSchema, PreviewAttachAddItemPriceInterval, PreviewAttachAddItemPriceInterval$outboundSchema, type PreviewAttachAddItemProration, type PreviewAttachAddItemProration$Outbound, PreviewAttachAddItemProration$outboundSchema, type PreviewAttachAddItemReset, type PreviewAttachAddItemReset$Outbound, PreviewAttachAddItemReset$outboundSchema, PreviewAttachAddItemResetInterval, PreviewAttachAddItemResetInterval$outboundSchema, type PreviewAttachAddItemRollover, type PreviewAttachAddItemRollover$Outbound, PreviewAttachAddItemRollover$outboundSchema, type PreviewAttachAddItemTier, type PreviewAttachAddItemTier$Outbound, PreviewAttachAddItemTier$outboundSchema, PreviewAttachAddItemTierBehavior, PreviewAttachAddItemTierBehavior$outboundSchema, type PreviewAttachAddItemTo, type PreviewAttachAddItemTo$Outbound, PreviewAttachAddItemTo$outboundSchema, type PreviewAttachAttachDiscount, type PreviewAttachAttachDiscount$Outbound, PreviewAttachAttachDiscount$outboundSchema, type PreviewAttachBasePrice, type PreviewAttachBasePrice$Outbound, PreviewAttachBasePrice$outboundSchema, type PreviewAttachCarryOverBalances, type PreviewAttachCarryOverBalances$Outbound, PreviewAttachCarryOverBalances$outboundSchema, type PreviewAttachCarryOverUsages, type PreviewAttachCarryOverUsages$Outbound, PreviewAttachCarryOverUsages$outboundSchema, PreviewAttachCheckoutType, PreviewAttachCheckoutType$inboundSchema, type PreviewAttachCustomLineItem, type PreviewAttachCustomLineItem$Outbound, PreviewAttachCustomLineItem$outboundSchema, type PreviewAttachCustomize, type PreviewAttachCustomize$Outbound, PreviewAttachCustomize$outboundSchema, type PreviewAttachDiscount, PreviewAttachDiscount$inboundSchema, PreviewAttachDurationType, PreviewAttachDurationType$outboundSchema, type PreviewAttachFeatureQuantityRequest, type PreviewAttachFeatureQuantityRequest$Outbound, PreviewAttachFeatureQuantityRequest$outboundSchema, type PreviewAttachFreeTrialParams, type PreviewAttachFreeTrialParams$Outbound, PreviewAttachFreeTrialParams$outboundSchema, type PreviewAttachGlobals, type PreviewAttachIncoming, PreviewAttachIncoming$inboundSchema, type PreviewAttachIncomingFeatureQuantity, PreviewAttachIncomingFeatureQuantity$inboundSchema, type PreviewAttachInvoiceCredits, PreviewAttachInvoiceCredits$inboundSchema, type PreviewAttachInvoiceMode, type PreviewAttachInvoiceMode$Outbound, PreviewAttachInvoiceMode$outboundSchema, PreviewAttachItemBillingMethod, PreviewAttachItemBillingMethod$outboundSchema, PreviewAttachItemExpiryDurationType, PreviewAttachItemExpiryDurationType$outboundSchema, PreviewAttachItemOnDecrease, PreviewAttachItemOnDecrease$outboundSchema, PreviewAttachItemOnIncrease, PreviewAttachItemOnIncrease$outboundSchema, type PreviewAttachItemPlanItem, type PreviewAttachItemPlanItem$Outbound, PreviewAttachItemPlanItem$outboundSchema, type PreviewAttachItemPrice, type PreviewAttachItemPrice$Outbound, PreviewAttachItemPrice$outboundSchema, PreviewAttachItemPriceInterval, PreviewAttachItemPriceInterval$outboundSchema, type PreviewAttachItemProration, type PreviewAttachItemProration$Outbound, PreviewAttachItemProration$outboundSchema, type PreviewAttachItemReset, type PreviewAttachItemReset$Outbound, PreviewAttachItemReset$outboundSchema, PreviewAttachItemResetInterval, PreviewAttachItemResetInterval$outboundSchema, type PreviewAttachItemRollover, type PreviewAttachItemRollover$Outbound, PreviewAttachItemRollover$outboundSchema, type PreviewAttachItemTier, type PreviewAttachItemTier$Outbound, PreviewAttachItemTier$outboundSchema, PreviewAttachItemTierBehavior, PreviewAttachItemTierBehavior$outboundSchema, type PreviewAttachItemTo, type PreviewAttachItemTo$Outbound, PreviewAttachItemTo$outboundSchema, type PreviewAttachLineItem, PreviewAttachLineItem$inboundSchema, type PreviewAttachLineItemPeriod, PreviewAttachLineItemPeriod$inboundSchema, type PreviewAttachNextCycle, PreviewAttachNextCycle$inboundSchema, type PreviewAttachNextCycleDiscount, PreviewAttachNextCycleDiscount$inboundSchema, type PreviewAttachNextCycleLineItem, PreviewAttachNextCycleLineItem$inboundSchema, type PreviewAttachNextCycleLineItemPeriod, PreviewAttachNextCycleLineItemPeriod$inboundSchema, PreviewAttachOnEnd, PreviewAttachOnEnd$outboundSchema, type PreviewAttachOutgoing, PreviewAttachOutgoing$inboundSchema, type PreviewAttachOutgoingFeatureQuantity, PreviewAttachOutgoingFeatureQuantity$inboundSchema, type PreviewAttachParams, type PreviewAttachParams$Outbound, PreviewAttachParams$outboundSchema, type PreviewAttachPlanItemFilter, type PreviewAttachPlanItemFilter$Outbound, PreviewAttachPlanItemFilter$outboundSchema, PreviewAttachPlanSchedule, PreviewAttachPlanSchedule$outboundSchema, PreviewAttachPriceInterval, PreviewAttachPriceInterval$outboundSchema, PreviewAttachProrationBehavior, PreviewAttachProrationBehavior$outboundSchema, PreviewAttachRedirectMode, PreviewAttachRedirectMode$outboundSchema, PreviewAttachRemoveItemBillingMethod, PreviewAttachRemoveItemBillingMethod$outboundSchema, PreviewAttachRemoveItemInterval, PreviewAttachRemoveItemInterval$outboundSchema, type PreviewAttachResponse, PreviewAttachResponse$inboundSchema, PreviewAttachStatus, PreviewAttachStatus$inboundSchema, type PreviewAttachTax, PreviewAttachTax$inboundSchema, type PreviewAttachUsageLineItem, PreviewAttachUsageLineItem$inboundSchema, type PreviewAttachUsageLineItemPeriod, PreviewAttachUsageLineItemPeriod$inboundSchema, type PreviewMultiAttachAttachDiscount, type PreviewMultiAttachAttachDiscount$Outbound, PreviewMultiAttachAttachDiscount$outboundSchema, type PreviewMultiAttachBasePrice, type PreviewMultiAttachBasePrice$Outbound, PreviewMultiAttachBasePrice$outboundSchema, type PreviewMultiAttachBillingControls, type PreviewMultiAttachBillingControls$Outbound, PreviewMultiAttachBillingControls$outboundSchema, PreviewMultiAttachBillingMethod, PreviewMultiAttachBillingMethod$outboundSchema, PreviewMultiAttachCheckoutType, PreviewMultiAttachCheckoutType$inboundSchema, type PreviewMultiAttachCustomize, type PreviewMultiAttachCustomize$Outbound, PreviewMultiAttachCustomize$outboundSchema, type PreviewMultiAttachDiscount, PreviewMultiAttachDiscount$inboundSchema, PreviewMultiAttachDurationType, PreviewMultiAttachDurationType$outboundSchema, type PreviewMultiAttachEntityData, type PreviewMultiAttachEntityData$Outbound, PreviewMultiAttachEntityData$outboundSchema, PreviewMultiAttachExpiryDurationType, PreviewMultiAttachExpiryDurationType$outboundSchema, type PreviewMultiAttachFreeTrialParams, type PreviewMultiAttachFreeTrialParams$Outbound, PreviewMultiAttachFreeTrialParams$outboundSchema, type PreviewMultiAttachGlobals, type PreviewMultiAttachIncoming, PreviewMultiAttachIncoming$inboundSchema, type PreviewMultiAttachIncomingFeatureQuantity, PreviewMultiAttachIncomingFeatureQuantity$inboundSchema, type PreviewMultiAttachInvoiceCredits, PreviewMultiAttachInvoiceCredits$inboundSchema, type PreviewMultiAttachInvoiceMode, type PreviewMultiAttachInvoiceMode$Outbound, PreviewMultiAttachInvoiceMode$outboundSchema, PreviewMultiAttachItemPriceInterval, PreviewMultiAttachItemPriceInterval$outboundSchema, type PreviewMultiAttachLineItem, PreviewMultiAttachLineItem$inboundSchema, type PreviewMultiAttachLineItemPeriod, PreviewMultiAttachLineItemPeriod$inboundSchema, type PreviewMultiAttachNextCycle, PreviewMultiAttachNextCycle$inboundSchema, type PreviewMultiAttachNextCycleDiscount, PreviewMultiAttachNextCycleDiscount$inboundSchema, type PreviewMultiAttachNextCycleLineItem, PreviewMultiAttachNextCycleLineItem$inboundSchema, type PreviewMultiAttachNextCycleLineItemPeriod, PreviewMultiAttachNextCycleLineItemPeriod$inboundSchema, PreviewMultiAttachOnDecrease, PreviewMultiAttachOnDecrease$outboundSchema, PreviewMultiAttachOnEnd, PreviewMultiAttachOnEnd$outboundSchema, PreviewMultiAttachOnIncrease, PreviewMultiAttachOnIncrease$outboundSchema, type PreviewMultiAttachOutgoing, PreviewMultiAttachOutgoing$inboundSchema, type PreviewMultiAttachOutgoingFeatureQuantity, PreviewMultiAttachOutgoingFeatureQuantity$inboundSchema, type PreviewMultiAttachOverageAllowed, type PreviewMultiAttachOverageAllowed$Outbound, PreviewMultiAttachOverageAllowed$outboundSchema, type PreviewMultiAttachParams, type PreviewMultiAttachParams$Outbound, PreviewMultiAttachParams$outboundSchema, type PreviewMultiAttachPlan, type PreviewMultiAttachPlan$Outbound, PreviewMultiAttachPlan$outboundSchema, type PreviewMultiAttachPlanFeatureQuantity, type PreviewMultiAttachPlanFeatureQuantity$Outbound, PreviewMultiAttachPlanFeatureQuantity$outboundSchema, type PreviewMultiAttachPlanItem, type PreviewMultiAttachPlanItem$Outbound, PreviewMultiAttachPlanItem$outboundSchema, type PreviewMultiAttachPrice, type PreviewMultiAttachPrice$Outbound, PreviewMultiAttachPrice$outboundSchema, PreviewMultiAttachPriceInterval, PreviewMultiAttachPriceInterval$outboundSchema, type PreviewMultiAttachProration, type PreviewMultiAttachProration$Outbound, PreviewMultiAttachProration$outboundSchema, PreviewMultiAttachRedirectMode, PreviewMultiAttachRedirectMode$outboundSchema, type PreviewMultiAttachReset, type PreviewMultiAttachReset$Outbound, PreviewMultiAttachReset$outboundSchema, PreviewMultiAttachResetInterval, PreviewMultiAttachResetInterval$outboundSchema, type PreviewMultiAttachResponse, PreviewMultiAttachResponse$inboundSchema, type PreviewMultiAttachRollover, type PreviewMultiAttachRollover$Outbound, PreviewMultiAttachRollover$outboundSchema, type PreviewMultiAttachSpendLimit, type PreviewMultiAttachSpendLimit$Outbound, PreviewMultiAttachSpendLimit$outboundSchema, PreviewMultiAttachStatus, PreviewMultiAttachStatus$inboundSchema, type PreviewMultiAttachTax, PreviewMultiAttachTax$inboundSchema, PreviewMultiAttachThresholdType, PreviewMultiAttachThresholdType$outboundSchema, type PreviewMultiAttachTier, type PreviewMultiAttachTier$Outbound, PreviewMultiAttachTier$outboundSchema, PreviewMultiAttachTierBehavior, PreviewMultiAttachTierBehavior$outboundSchema, type PreviewMultiAttachTo, type PreviewMultiAttachTo$Outbound, PreviewMultiAttachTo$outboundSchema, type PreviewMultiAttachUsageAlert, type PreviewMultiAttachUsageAlert$Outbound, PreviewMultiAttachUsageAlert$outboundSchema, type PreviewMultiAttachUsageLineItem, PreviewMultiAttachUsageLineItem$inboundSchema, type PreviewMultiAttachUsageLineItemPeriod, PreviewMultiAttachUsageLineItemPeriod$inboundSchema, PreviewUpdateAddItemBillingMethod, PreviewUpdateAddItemBillingMethod$outboundSchema, PreviewUpdateAddItemExpiryDurationType, PreviewUpdateAddItemExpiryDurationType$outboundSchema, PreviewUpdateAddItemOnDecrease, PreviewUpdateAddItemOnDecrease$outboundSchema, PreviewUpdateAddItemOnIncrease, PreviewUpdateAddItemOnIncrease$outboundSchema, type PreviewUpdateAddItemPlanItem, type PreviewUpdateAddItemPlanItem$Outbound, PreviewUpdateAddItemPlanItem$outboundSchema, type PreviewUpdateAddItemPrice, type PreviewUpdateAddItemPrice$Outbound, PreviewUpdateAddItemPrice$outboundSchema, PreviewUpdateAddItemPriceInterval, PreviewUpdateAddItemPriceInterval$outboundSchema, type PreviewUpdateAddItemProration, type PreviewUpdateAddItemProration$Outbound, PreviewUpdateAddItemProration$outboundSchema, type PreviewUpdateAddItemReset, type PreviewUpdateAddItemReset$Outbound, PreviewUpdateAddItemReset$outboundSchema, PreviewUpdateAddItemResetInterval, PreviewUpdateAddItemResetInterval$outboundSchema, type PreviewUpdateAddItemRollover, type PreviewUpdateAddItemRollover$Outbound, PreviewUpdateAddItemRollover$outboundSchema, type PreviewUpdateAddItemTier, type PreviewUpdateAddItemTier$Outbound, PreviewUpdateAddItemTier$outboundSchema, PreviewUpdateAddItemTierBehavior, PreviewUpdateAddItemTierBehavior$outboundSchema, type PreviewUpdateAddItemTo, type PreviewUpdateAddItemTo$Outbound, PreviewUpdateAddItemTo$outboundSchema, type PreviewUpdateAttachDiscount, type PreviewUpdateAttachDiscount$Outbound, PreviewUpdateAttachDiscount$outboundSchema, type PreviewUpdateBasePrice, type PreviewUpdateBasePrice$Outbound, PreviewUpdateBasePrice$outboundSchema, PreviewUpdateCancelAction, PreviewUpdateCancelAction$outboundSchema, type PreviewUpdateCustomize, type PreviewUpdateCustomize$Outbound, PreviewUpdateCustomize$outboundSchema, type PreviewUpdateDiscount, PreviewUpdateDiscount$inboundSchema, PreviewUpdateDurationType, PreviewUpdateDurationType$outboundSchema, type PreviewUpdateFeatureQuantityRequest, type PreviewUpdateFeatureQuantityRequest$Outbound, PreviewUpdateFeatureQuantityRequest$outboundSchema, type PreviewUpdateFreeTrialParams, type PreviewUpdateFreeTrialParams$Outbound, PreviewUpdateFreeTrialParams$outboundSchema, type PreviewUpdateGlobals, type PreviewUpdateIncoming, PreviewUpdateIncoming$inboundSchema, type PreviewUpdateIncomingFeatureQuantity, PreviewUpdateIncomingFeatureQuantity$inboundSchema, type PreviewUpdateInvoiceCredits, PreviewUpdateInvoiceCredits$inboundSchema, type PreviewUpdateInvoiceMode, type PreviewUpdateInvoiceMode$Outbound, PreviewUpdateInvoiceMode$outboundSchema, PreviewUpdateItemBillingMethod, PreviewUpdateItemBillingMethod$outboundSchema, PreviewUpdateItemExpiryDurationType, PreviewUpdateItemExpiryDurationType$outboundSchema, PreviewUpdateItemOnDecrease, PreviewUpdateItemOnDecrease$outboundSchema, PreviewUpdateItemOnIncrease, PreviewUpdateItemOnIncrease$outboundSchema, type PreviewUpdateItemPlanItem, type PreviewUpdateItemPlanItem$Outbound, PreviewUpdateItemPlanItem$outboundSchema, type PreviewUpdateItemPrice, type PreviewUpdateItemPrice$Outbound, PreviewUpdateItemPrice$outboundSchema, PreviewUpdateItemPriceInterval, PreviewUpdateItemPriceInterval$outboundSchema, type PreviewUpdateItemProration, type PreviewUpdateItemProration$Outbound, PreviewUpdateItemProration$outboundSchema, type PreviewUpdateItemReset, type PreviewUpdateItemReset$Outbound, PreviewUpdateItemReset$outboundSchema, PreviewUpdateItemResetInterval, PreviewUpdateItemResetInterval$outboundSchema, type PreviewUpdateItemRollover, type PreviewUpdateItemRollover$Outbound, PreviewUpdateItemRollover$outboundSchema, type PreviewUpdateItemTier, type PreviewUpdateItemTier$Outbound, PreviewUpdateItemTier$outboundSchema, PreviewUpdateItemTierBehavior, PreviewUpdateItemTierBehavior$outboundSchema, type PreviewUpdateItemTo, type PreviewUpdateItemTo$Outbound, PreviewUpdateItemTo$outboundSchema, type PreviewUpdateLineItem, PreviewUpdateLineItem$inboundSchema, type PreviewUpdateLineItemPeriod, PreviewUpdateLineItemPeriod$inboundSchema, type PreviewUpdateNextCycle, PreviewUpdateNextCycle$inboundSchema, type PreviewUpdateNextCycleDiscount, PreviewUpdateNextCycleDiscount$inboundSchema, type PreviewUpdateNextCycleLineItem, PreviewUpdateNextCycleLineItem$inboundSchema, type PreviewUpdateNextCycleLineItemPeriod, PreviewUpdateNextCycleLineItemPeriod$inboundSchema, PreviewUpdateOnEnd, PreviewUpdateOnEnd$outboundSchema, type PreviewUpdateOutgoing, PreviewUpdateOutgoing$inboundSchema, type PreviewUpdateOutgoingFeatureQuantity, PreviewUpdateOutgoingFeatureQuantity$inboundSchema, type PreviewUpdateParams, type PreviewUpdateParams$Outbound, PreviewUpdateParams$outboundSchema, type PreviewUpdatePlanItemFilter, type PreviewUpdatePlanItemFilter$Outbound, PreviewUpdatePlanItemFilter$outboundSchema, PreviewUpdatePriceInterval, PreviewUpdatePriceInterval$outboundSchema, PreviewUpdateProrationBehavior, PreviewUpdateProrationBehavior$outboundSchema, type PreviewUpdateRecalculateBalances, type PreviewUpdateRecalculateBalances$Outbound, PreviewUpdateRecalculateBalances$outboundSchema, PreviewUpdateRedirectMode, PreviewUpdateRedirectMode$outboundSchema, PreviewUpdateRemoveItemBillingMethod, PreviewUpdateRemoveItemBillingMethod$outboundSchema, PreviewUpdateRemoveItemInterval, PreviewUpdateRemoveItemInterval$outboundSchema, type PreviewUpdateResponse, PreviewUpdateResponse$inboundSchema, PreviewUpdateStatus, PreviewUpdateStatus$inboundSchema, type PreviewUpdateTax, PreviewUpdateTax$inboundSchema, type PreviewUpdateUsageLineItem, PreviewUpdateUsageLineItem$inboundSchema, type PreviewUpdateUsageLineItemPeriod, PreviewUpdateUsageLineItemPeriod$inboundSchema, ProcessorType, ProcessorType$inboundSchema, type Processors, Processors$inboundSchema, type Product1, Product1$inboundSchema, type Product2, Product2$inboundSchema, type ProductDisplay1, ProductDisplay1$inboundSchema, type ProductDisplay2, ProductDisplay2$inboundSchema, ProductScenario1, ProductScenario1$inboundSchema, ProductScenario2, ProductScenario2$inboundSchema, ProductType1, ProductType1$inboundSchema, ProductType2, ProductType2$inboundSchema, type Properties1, Properties1$inboundSchema, type Properties2, Properties2$inboundSchema, type Purchase, Purchase$inboundSchema, Range, Range$outboundSchema, type RedeemReferralCodeGlobals, type RedeemReferralCodeParams, type RedeemReferralCodeParams$Outbound, RedeemReferralCodeParams$outboundSchema, type RedeemReferralCodeResponse, RedeemReferralCodeResponse$inboundSchema, type RedeemRewardCodeGlobals, type RedeemRewardCodeParams, type RedeemRewardCodeParams$Outbound, RedeemRewardCodeParams$outboundSchema, type RedeemRewardCodeResponse, RedeemRewardCodeResponse$inboundSchema, type Referral, Referral$inboundSchema, type ReferralCustomer, ReferralCustomer$inboundSchema, RequestAbortedError, RequestTimeoutError, ResponseValidationError, type Revenuecat, Revenuecat$inboundSchema, type Rewards$1 as Rewards, Rewards$inboundSchema, type SDKOptions, SDKValidationError, SDK_METADATA, Scenario1, Scenario1$inboundSchema, Scenario2, Scenario2$inboundSchema, type Security, type Security$Outbound, Security$outboundSchema, ServerList, SetupPaymentAddItemBillingMethod, SetupPaymentAddItemBillingMethod$outboundSchema, SetupPaymentAddItemExpiryDurationType, SetupPaymentAddItemExpiryDurationType$outboundSchema, SetupPaymentAddItemOnDecrease, SetupPaymentAddItemOnDecrease$outboundSchema, SetupPaymentAddItemOnIncrease, SetupPaymentAddItemOnIncrease$outboundSchema, type SetupPaymentAddItemPlanItem, type SetupPaymentAddItemPlanItem$Outbound, SetupPaymentAddItemPlanItem$outboundSchema, type SetupPaymentAddItemPrice, type SetupPaymentAddItemPrice$Outbound, SetupPaymentAddItemPrice$outboundSchema, SetupPaymentAddItemPriceInterval, SetupPaymentAddItemPriceInterval$outboundSchema, type SetupPaymentAddItemProration, type SetupPaymentAddItemProration$Outbound, SetupPaymentAddItemProration$outboundSchema, type SetupPaymentAddItemReset, type SetupPaymentAddItemReset$Outbound, SetupPaymentAddItemReset$outboundSchema, SetupPaymentAddItemResetInterval, SetupPaymentAddItemResetInterval$outboundSchema, type SetupPaymentAddItemRollover, type SetupPaymentAddItemRollover$Outbound, SetupPaymentAddItemRollover$outboundSchema, type SetupPaymentAddItemTier, type SetupPaymentAddItemTier$Outbound, SetupPaymentAddItemTier$outboundSchema, SetupPaymentAddItemTierBehavior, SetupPaymentAddItemTierBehavior$outboundSchema, type SetupPaymentAddItemTo, type SetupPaymentAddItemTo$Outbound, SetupPaymentAddItemTo$outboundSchema, type SetupPaymentAttachDiscount, type SetupPaymentAttachDiscount$Outbound, SetupPaymentAttachDiscount$outboundSchema, type SetupPaymentBasePrice, type SetupPaymentBasePrice$Outbound, SetupPaymentBasePrice$outboundSchema, type SetupPaymentCarryOverBalances, type SetupPaymentCarryOverBalances$Outbound, SetupPaymentCarryOverBalances$outboundSchema, type SetupPaymentCarryOverUsages, type SetupPaymentCarryOverUsages$Outbound, SetupPaymentCarryOverUsages$outboundSchema, type SetupPaymentCustomLineItem, type SetupPaymentCustomLineItem$Outbound, SetupPaymentCustomLineItem$outboundSchema, type SetupPaymentCustomize, type SetupPaymentCustomize$Outbound, SetupPaymentCustomize$outboundSchema, SetupPaymentDurationType, SetupPaymentDurationType$outboundSchema, type SetupPaymentFeatureQuantity, type SetupPaymentFeatureQuantity$Outbound, SetupPaymentFeatureQuantity$outboundSchema, type SetupPaymentFreeTrialParams, type SetupPaymentFreeTrialParams$Outbound, SetupPaymentFreeTrialParams$outboundSchema, type SetupPaymentGlobals, SetupPaymentItemBillingMethod, SetupPaymentItemBillingMethod$outboundSchema, SetupPaymentItemExpiryDurationType, SetupPaymentItemExpiryDurationType$outboundSchema, SetupPaymentItemOnDecrease, SetupPaymentItemOnDecrease$outboundSchema, SetupPaymentItemOnIncrease, SetupPaymentItemOnIncrease$outboundSchema, type SetupPaymentItemPlanItem, type SetupPaymentItemPlanItem$Outbound, SetupPaymentItemPlanItem$outboundSchema, type SetupPaymentItemPrice, type SetupPaymentItemPrice$Outbound, SetupPaymentItemPrice$outboundSchema, SetupPaymentItemPriceInterval, SetupPaymentItemPriceInterval$outboundSchema, type SetupPaymentItemProration, type SetupPaymentItemProration$Outbound, SetupPaymentItemProration$outboundSchema, type SetupPaymentItemReset, type SetupPaymentItemReset$Outbound, SetupPaymentItemReset$outboundSchema, SetupPaymentItemResetInterval, SetupPaymentItemResetInterval$outboundSchema, type SetupPaymentItemRollover, type SetupPaymentItemRollover$Outbound, SetupPaymentItemRollover$outboundSchema, type SetupPaymentItemTier, type SetupPaymentItemTier$Outbound, SetupPaymentItemTier$outboundSchema, SetupPaymentItemTierBehavior, SetupPaymentItemTierBehavior$outboundSchema, type SetupPaymentItemTo, type SetupPaymentItemTo$Outbound, SetupPaymentItemTo$outboundSchema, SetupPaymentOnEnd, SetupPaymentOnEnd$outboundSchema, type SetupPaymentParams, type SetupPaymentParams$Outbound, SetupPaymentParams$outboundSchema, type SetupPaymentPlanItemFilter, type SetupPaymentPlanItemFilter$Outbound, SetupPaymentPlanItemFilter$outboundSchema, SetupPaymentPriceInterval, SetupPaymentPriceInterval$outboundSchema, SetupPaymentProrationBehavior, SetupPaymentProrationBehavior$outboundSchema, SetupPaymentRemoveItemBillingMethod, SetupPaymentRemoveItemBillingMethod$outboundSchema, SetupPaymentRemoveItemInterval, SetupPaymentRemoveItemInterval$outboundSchema, type SetupPaymentResponse, SetupPaymentResponse$inboundSchema, type Stripe, Stripe$inboundSchema, type Subscription, Subscription$inboundSchema, type Total, Total$inboundSchema, type TrackGlobals, TrackIntervalEnum1, TrackIntervalEnum1$inboundSchema, TrackIntervalEnum2, TrackIntervalEnum2$inboundSchema, type TrackIntervalUnion1, TrackIntervalUnion1$inboundSchema, type TrackIntervalUnion2, TrackIntervalUnion2$inboundSchema, type TrackLock, type TrackLock$Outbound, TrackLock$outboundSchema, type TrackParams, type TrackParams$Outbound, TrackParams$outboundSchema, type TrackReset1, TrackReset1$inboundSchema, type TrackReset2, TrackReset2$inboundSchema, type TrackResponse, TrackResponse$inboundSchema, type TrackResponseBody1, TrackResponseBody1$inboundSchema, type TrackResponseBody2, TrackResponseBody2$inboundSchema, type TrialsUsed, TrialsUsed$inboundSchema, UnexpectedClientError, type UpdateBalanceGlobals, UpdateBalanceInterval, UpdateBalanceInterval$outboundSchema, type UpdateBalanceParams, type UpdateBalanceParams$Outbound, UpdateBalanceParams$outboundSchema, type UpdateBalanceResponse, UpdateBalanceResponse$inboundSchema, type UpdateCustomerAutoTopupRequest, type UpdateCustomerAutoTopupRequest$Outbound, UpdateCustomerAutoTopupRequest$outboundSchema, type UpdateCustomerAutoTopupResponse, UpdateCustomerAutoTopupResponse$inboundSchema, type UpdateCustomerBillingControlsRequest, type UpdateCustomerBillingControlsRequest$Outbound, UpdateCustomerBillingControlsRequest$outboundSchema, type UpdateCustomerBillingControlsResponse, UpdateCustomerBillingControlsResponse$inboundSchema, type UpdateCustomerConfigRequest, type UpdateCustomerConfigRequest$Outbound, UpdateCustomerConfigRequest$outboundSchema, type UpdateCustomerConfigResponse, UpdateCustomerConfigResponse$inboundSchema, type UpdateCustomerCreditSchema, UpdateCustomerCreditSchema$inboundSchema, type UpdateCustomerDisplay, UpdateCustomerDisplay$inboundSchema, UpdateCustomerEnv, UpdateCustomerEnv$inboundSchema, type UpdateCustomerFeature, UpdateCustomerFeature$inboundSchema, type UpdateCustomerFlags, UpdateCustomerFlags$inboundSchema, type UpdateCustomerGlobals, UpdateCustomerIntervalRequest, UpdateCustomerIntervalRequest$outboundSchema, UpdateCustomerIntervalResponse1, UpdateCustomerIntervalResponse1$inboundSchema, UpdateCustomerIntervalResponse2, UpdateCustomerIntervalResponse2$inboundSchema, type UpdateCustomerOverageAllowedRequest, type UpdateCustomerOverageAllowedRequest$Outbound, UpdateCustomerOverageAllowedRequest$outboundSchema, type UpdateCustomerOverageAllowedResponse, UpdateCustomerOverageAllowedResponse$inboundSchema, type UpdateCustomerParams, type UpdateCustomerParams$Outbound, UpdateCustomerParams$outboundSchema, type UpdateCustomerProcessors, UpdateCustomerProcessors$inboundSchema, type UpdateCustomerPurchase, UpdateCustomerPurchase$inboundSchema, type UpdateCustomerPurchaseLimitRequest, type UpdateCustomerPurchaseLimitRequest$Outbound, UpdateCustomerPurchaseLimitRequest$outboundSchema, type UpdateCustomerPurchaseLimitResponse1, UpdateCustomerPurchaseLimitResponse1$inboundSchema, type UpdateCustomerPurchaseLimitResponse2, UpdateCustomerPurchaseLimitResponse2$inboundSchema, type UpdateCustomerPurchaseLimitUnion, UpdateCustomerPurchaseLimitUnion$inboundSchema, type UpdateCustomerResponse, UpdateCustomerResponse$inboundSchema, type UpdateCustomerRevenuecat, UpdateCustomerRevenuecat$inboundSchema, type UpdateCustomerSpendLimitRequest, type UpdateCustomerSpendLimitRequest$Outbound, UpdateCustomerSpendLimitRequest$outboundSchema, type UpdateCustomerSpendLimitResponse, UpdateCustomerSpendLimitResponse$inboundSchema, UpdateCustomerStatus, UpdateCustomerStatus$inboundSchema, type UpdateCustomerStripe, UpdateCustomerStripe$inboundSchema, type UpdateCustomerSubscription, UpdateCustomerSubscription$inboundSchema, UpdateCustomerThresholdTypeRequestBody, UpdateCustomerThresholdTypeRequestBody$outboundSchema, UpdateCustomerThresholdTypeResponse, UpdateCustomerThresholdTypeResponse$inboundSchema, UpdateCustomerType, UpdateCustomerType$inboundSchema, type UpdateCustomerUsageAlertRequestBody, type UpdateCustomerUsageAlertRequestBody$Outbound, UpdateCustomerUsageAlertRequestBody$outboundSchema, type UpdateCustomerUsageAlertResponse, UpdateCustomerUsageAlertResponse$inboundSchema, type UpdateCustomerVercel, UpdateCustomerVercel$inboundSchema, type UpdateEntityBillingControlsRequest, type UpdateEntityBillingControlsRequest$Outbound, UpdateEntityBillingControlsRequest$outboundSchema, type UpdateEntityBillingControlsResponse, UpdateEntityBillingControlsResponse$inboundSchema, type UpdateEntityCreditSchema, UpdateEntityCreditSchema$inboundSchema, type UpdateEntityDisplay, UpdateEntityDisplay$inboundSchema, UpdateEntityEnv, UpdateEntityEnv$inboundSchema, type UpdateEntityFeature, UpdateEntityFeature$inboundSchema, type UpdateEntityFlags, UpdateEntityFlags$inboundSchema, type UpdateEntityGlobals, type UpdateEntityInvoice, UpdateEntityInvoice$inboundSchema, type UpdateEntityOverageAllowedRequest, type UpdateEntityOverageAllowedRequest$Outbound, UpdateEntityOverageAllowedRequest$outboundSchema, type UpdateEntityOverageAllowedResponse, UpdateEntityOverageAllowedResponse$inboundSchema, type UpdateEntityParams, type UpdateEntityParams$Outbound, UpdateEntityParams$outboundSchema, UpdateEntityProcessorType, UpdateEntityProcessorType$inboundSchema, type UpdateEntityPurchase, UpdateEntityPurchase$inboundSchema, type UpdateEntityResponse, UpdateEntityResponse$inboundSchema, type UpdateEntitySpendLimitRequest, type UpdateEntitySpendLimitRequest$Outbound, UpdateEntitySpendLimitRequest$outboundSchema, type UpdateEntitySpendLimitResponse, UpdateEntitySpendLimitResponse$inboundSchema, UpdateEntityStatus, UpdateEntityStatus$inboundSchema, type UpdateEntitySubscription, UpdateEntitySubscription$inboundSchema, UpdateEntityThresholdTypeRequestBody, UpdateEntityThresholdTypeRequestBody$outboundSchema, UpdateEntityThresholdTypeResponse, UpdateEntityThresholdTypeResponse$inboundSchema, UpdateEntityType, UpdateEntityType$inboundSchema, type UpdateEntityUsageAlertRequestBody, type UpdateEntityUsageAlertRequestBody$Outbound, UpdateEntityUsageAlertRequestBody$outboundSchema, type UpdateEntityUsageAlertResponse, UpdateEntityUsageAlertResponse$inboundSchema, type UpdateFeatureCreditSchemaRequest, type UpdateFeatureCreditSchemaRequest$Outbound, UpdateFeatureCreditSchemaRequest$outboundSchema, type UpdateFeatureCreditSchemaResponse, UpdateFeatureCreditSchemaResponse$inboundSchema, type UpdateFeatureDisplayRequest, type UpdateFeatureDisplayRequest$Outbound, UpdateFeatureDisplayRequest$outboundSchema, type UpdateFeatureDisplayResponse, UpdateFeatureDisplayResponse$inboundSchema, type UpdateFeatureGlobals, type UpdateFeatureParams, type UpdateFeatureParams$Outbound, UpdateFeatureParams$outboundSchema, type UpdateFeatureResponse, UpdateFeatureResponse$inboundSchema, UpdateFeatureTypeRequest, UpdateFeatureTypeRequest$outboundSchema, UpdateFeatureTypeResponse, UpdateFeatureTypeResponse$inboundSchema, UpdatePlanAttachAction, UpdatePlanAttachAction$inboundSchema, type UpdatePlanBasePrice, type UpdatePlanBasePrice$Outbound, UpdatePlanBasePrice$outboundSchema, UpdatePlanBillingMethodRequest, UpdatePlanBillingMethodRequest$outboundSchema, UpdatePlanBillingMethodResponse, UpdatePlanBillingMethodResponse$inboundSchema, type UpdatePlanConfigRequest, type UpdatePlanConfigRequest$Outbound, UpdatePlanConfigRequest$outboundSchema, type UpdatePlanConfigResponse, UpdatePlanConfigResponse$inboundSchema, type UpdatePlanCreditSchema, UpdatePlanCreditSchema$inboundSchema, type UpdatePlanCustomerEligibility, UpdatePlanCustomerEligibility$inboundSchema, UpdatePlanDurationTypeRequest, UpdatePlanDurationTypeRequest$outboundSchema, UpdatePlanDurationTypeResponse, UpdatePlanDurationTypeResponse$inboundSchema, UpdatePlanEnv, UpdatePlanEnv$inboundSchema, UpdatePlanExpiryDurationTypeRequest, UpdatePlanExpiryDurationTypeRequest$outboundSchema, UpdatePlanExpiryDurationTypeResponse, UpdatePlanExpiryDurationTypeResponse$inboundSchema, type UpdatePlanFeature, UpdatePlanFeature$inboundSchema, type UpdatePlanFeatureDisplay, UpdatePlanFeatureDisplay$inboundSchema, type UpdatePlanFreeTrial, UpdatePlanFreeTrial$inboundSchema, type UpdatePlanFreeTrialParams, type UpdatePlanFreeTrialParams$Outbound, UpdatePlanFreeTrialParams$outboundSchema, type UpdatePlanGlobals, type UpdatePlanItem, UpdatePlanItem$inboundSchema, type UpdatePlanItemDisplay, UpdatePlanItemDisplay$inboundSchema, UpdatePlanItemPriceIntervalRequest, UpdatePlanItemPriceIntervalRequest$outboundSchema, type UpdatePlanItemPriceResponse, UpdatePlanItemPriceResponse$inboundSchema, UpdatePlanOnDecrease, UpdatePlanOnDecrease$outboundSchema, UpdatePlanOnEndRequest, UpdatePlanOnEndRequest$outboundSchema, UpdatePlanOnEndResponse, UpdatePlanOnEndResponse$inboundSchema, UpdatePlanOnIncrease, UpdatePlanOnIncrease$outboundSchema, type UpdatePlanParams, type UpdatePlanParams$Outbound, UpdatePlanParams$outboundSchema, type UpdatePlanPlanItem, type UpdatePlanPlanItem$Outbound, UpdatePlanPlanItem$outboundSchema, type UpdatePlanPriceDisplay, UpdatePlanPriceDisplay$inboundSchema, UpdatePlanPriceIntervalRequest, UpdatePlanPriceIntervalRequest$outboundSchema, UpdatePlanPriceIntervalResponse, UpdatePlanPriceIntervalResponse$inboundSchema, UpdatePlanPriceItemIntervalResponse, UpdatePlanPriceItemIntervalResponse$inboundSchema, type UpdatePlanPriceRequest, type UpdatePlanPriceRequest$Outbound, UpdatePlanPriceRequest$outboundSchema, type UpdatePlanPriceResponse, UpdatePlanPriceResponse$inboundSchema, type UpdatePlanProration, type UpdatePlanProration$Outbound, UpdatePlanProration$outboundSchema, UpdatePlanResetIntervalRequest, UpdatePlanResetIntervalRequest$outboundSchema, UpdatePlanResetIntervalResponse, UpdatePlanResetIntervalResponse$inboundSchema, type UpdatePlanResetRequest, type UpdatePlanResetRequest$Outbound, UpdatePlanResetRequest$outboundSchema, type UpdatePlanResetResponse, UpdatePlanResetResponse$inboundSchema, type UpdatePlanResponse, UpdatePlanResponse$inboundSchema, type UpdatePlanRolloverRequest, type UpdatePlanRolloverRequest$Outbound, UpdatePlanRolloverRequest$outboundSchema, type UpdatePlanRolloverResponse, UpdatePlanRolloverResponse$inboundSchema, UpdatePlanStatus, UpdatePlanStatus$inboundSchema, type UpdatePlanTier, type UpdatePlanTier$Outbound, UpdatePlanTier$outboundSchema, UpdatePlanTierBehaviorRequest, UpdatePlanTierBehaviorRequest$outboundSchema, UpdatePlanTierBehaviorResponse, UpdatePlanTierBehaviorResponse$inboundSchema, type UpdatePlanTo, type UpdatePlanTo$Outbound, UpdatePlanTo$outboundSchema, UpdatePlanType, UpdatePlanType$inboundSchema, type UpdateSubscriptionParams, type UpdateSubscriptionParams$Outbound, UpdateSubscriptionParams$outboundSchema, UsageModel1, UsageModel1$inboundSchema, UsageModel2, UsageModel2$inboundSchema, type Vercel, Vercel$inboundSchema, aggregateEventsCustomRangeToJSON, aggregateEventsFeatureIdToJSON, aggregateEventsListFromJSON, aggregateEventsResponseFromJSON, attachAddItemPlanItemToJSON, attachAddItemPriceToJSON, attachAddItemProrationToJSON, attachAddItemResetToJSON, attachAddItemRolloverToJSON, attachAddItemTierToJSON, attachAddItemToToJSON, attachAttachDiscountToJSON, attachBasePriceToJSON, attachCarryOverBalancesToJSON, attachCarryOverUsagesToJSON, attachCustomLineItemToJSON, attachCustomizeToJSON, attachFeatureQuantityToJSON, attachFreeTrialParamsToJSON, attachInvoiceFromJSON, attachInvoiceModeToJSON, attachItemPlanItemToJSON, attachItemPriceToJSON, attachItemProrationToJSON, attachItemResetToJSON, attachItemRolloverToJSON, attachItemTierToJSON, attachItemToToJSON, attachParamsToJSON, attachPlanItemFilterToJSON, attachRequiredActionFromJSON, attachResponseFromJSON, balanceCreditSchemaFromJSON, balanceDisplayFromJSON, balanceFeatureFromJSON, balanceFromJSON, balanceIntervalUnionFromJSON, balancePriceFromJSON, balanceResetFromJSON, balanceRolloverFromJSON, billingUpdateAddItemPlanItemToJSON, billingUpdateAddItemPriceToJSON, billingUpdateAddItemProrationToJSON, billingUpdateAddItemResetToJSON, billingUpdateAddItemRolloverToJSON, billingUpdateAddItemTierToJSON, billingUpdateAddItemToToJSON, billingUpdateAttachDiscountToJSON, billingUpdateBasePriceToJSON, billingUpdateCustomizeToJSON, billingUpdateFeatureQuantityToJSON, billingUpdateFreeTrialParamsToJSON, billingUpdateInvoiceFromJSON, billingUpdateInvoiceModeToJSON, billingUpdateItemPlanItemToJSON, billingUpdateItemPriceToJSON, billingUpdateItemProrationToJSON, billingUpdateItemResetToJSON, billingUpdateItemRolloverToJSON, billingUpdateItemTierToJSON, billingUpdateItemToToJSON, billingUpdatePlanItemFilterToJSON, billingUpdateRecalculateBalancesToJSON, billingUpdateRequiredActionFromJSON, billingUpdateResponseFromJSON, 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, createScheduleBasePrice2ToJSON, createScheduleCustomize2ToJSON, createScheduleFeatureQuantity2ToJSON, createScheduleInvoiceFromJSON, createScheduleInvoiceModeToJSON, createScheduleParamsToJSON, createSchedulePlan2ToJSON, createSchedulePlanItem2ToJSON, createSchedulePrice2ToJSON, createScheduleProration2ToJSON, createScheduleRequiredActionFromJSON, createScheduleReset2ToJSON, createScheduleResponseFromJSON, createScheduleRollover2ToJSON, createScheduleTier2ToJSON, customerAutoTopupFromJSON, customerBillingControlsFromJSON, customerConfigFromJSON, customerCreditSchemaFromJSON, customerDataAutoTopupToJSON, customerDataBillingControlsToJSON, customerDataConfigToJSON, customerDataOverageAllowedToJSON, customerDataPurchaseLimitToJSON, customerDataSpendLimitToJSON, customerDataToJSON, customerDataUsageAlertToJSON, customerDisplayFromJSON, customerEligibilityFromJSON, customerFeatureFromJSON, customerFromJSON, customerOverageAllowedFromJSON, customerPurchaseLimit1FromJSON, customerPurchaseLimit2FromJSON, customerPurchaseLimitUnionFromJSON, customerSpendLimitFromJSON, customerUsageAlertFromJSON, deduction1FromJSON, deduction2FromJSON, deductionsFromJSON, deleteBalanceParamsToJSON, deleteBalanceResponseFromJSON, deleteCustomerParamsToJSON, deleteCustomerResponseFromJSON, deleteEntityParamsToJSON, deleteEntityResponseFromJSON, deleteFeatureParamsToJSON, deleteFeatureResponseFromJSON, deletePlanParamsToJSON, deletePlanResponseFromJSON, discountFromJSON, entitlementsGrantedFromJSON, entityFromJSON, eventsAggregateParamsToJSON, eventsListParamsToJSON, files, finalizeBalanceParamsToJSON, finalizeLockResponseBody1FromJSON, finalizeLockResponseBody2FromJSON, finalizeLockResponseFromJSON, flag1FromJSON, flag2FromJSON, flagDisplay1FromJSON, flagDisplay2FromJSON, flagsFromJSON, formatZodError, freeTrialFromJSON, freeTrialRequestToJSON, getCustomerAutoTopupFromJSON, getCustomerBillingControlsFromJSON, getCustomerConfigFromJSON, getCustomerCreditSchemaFromJSON, getCustomerCustomerFromJSON, getCustomerDiscountFromJSON, getCustomerDisplayFromJSON, getCustomerEntityFromJSON, getCustomerFeatureFromJSON, getCustomerFlagsFromJSON, getCustomerInvoiceFromJSON, getCustomerOverageAllowedFromJSON, getCustomerParamsToJSON, getCustomerProcessorsFromJSON, getCustomerPurchaseFromJSON, getCustomerPurchaseLimit1FromJSON, getCustomerPurchaseLimit2FromJSON, getCustomerPurchaseLimitUnionFromJSON, getCustomerReferralFromJSON, getCustomerResponseFromJSON, getCustomerRevenuecatFromJSON, getCustomerRewardsFromJSON, getCustomerSpendLimitFromJSON, getCustomerStripeFromJSON, getCustomerSubscriptionFromJSON, getCustomerTrialsUsedFromJSON, getCustomerUsageAlertFromJSON, getCustomerVercelFromJSON, 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, invoiceFromJSON, itemFromJSON, listCustomersAutoTopupFromJSON, listCustomersBillingControlsFromJSON, listCustomersConfigFromJSON, listCustomersCreditSchemaFromJSON, listCustomersDisplayFromJSON, listCustomersFeatureFromJSON, listCustomersFlagsFromJSON, listCustomersListFromJSON, listCustomersOverageAllowedFromJSON, listCustomersParamsToJSON, listCustomersPlanToJSON, listCustomersProcessorsFromJSON, listCustomersPurchaseFromJSON, listCustomersPurchaseLimit1FromJSON, listCustomersPurchaseLimit2FromJSON, listCustomersPurchaseLimitUnionFromJSON, listCustomersResponseFromJSON, listCustomersRevenuecatFromJSON, listCustomersSpendLimitFromJSON, listCustomersStripeFromJSON, listCustomersSubscriptionFromJSON, listCustomersUsageAlertFromJSON, listCustomersVercelFromJSON, listEntitiesBillingControlsFromJSON, listEntitiesCreditSchemaFromJSON, listEntitiesDisplayFromJSON, listEntitiesFeatureFromJSON, listEntitiesFlagsFromJSON, listEntitiesInvoiceFromJSON, listEntitiesListFromJSON, listEntitiesOverageAllowedFromJSON, listEntitiesParamsToJSON, listEntitiesPlanToJSON, listEntitiesPurchaseFromJSON, listEntitiesResponseFromJSON, listEntitiesSpendLimitFromJSON, listEntitiesSubscriptionFromJSON, listEntitiesUsageAlertFromJSON, listEventsCustomRangeToJSON, listEventsFeatureIdToJSON, listEventsIntervalUnionFromJSON, listEventsListFromJSON, listEventsResetFromJSON, 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, phaseRequest2ToJSON, phaseResponseFromJSON, phaseToJSON, planConfigFromJSON, planCreditSchemaFromJSON, planFeatureDisplayFromJSON, planFeatureFromJSON, planFromJSON, planItemDisplayFromJSON, planItemPriceFromJSON, planPriceDisplayFromJSON, planPriceFromJSON, planResetFromJSON, planRolloverFromJSON, preview1FromJSON, preview2FromJSON, previewAttachAddItemPlanItemToJSON, previewAttachAddItemPriceToJSON, previewAttachAddItemProrationToJSON, previewAttachAddItemResetToJSON, previewAttachAddItemRolloverToJSON, previewAttachAddItemTierToJSON, previewAttachAddItemToToJSON, previewAttachAttachDiscountToJSON, previewAttachBasePriceToJSON, previewAttachCarryOverBalancesToJSON, previewAttachCarryOverUsagesToJSON, previewAttachCustomLineItemToJSON, previewAttachCustomizeToJSON, previewAttachDiscountFromJSON, previewAttachFeatureQuantityRequestToJSON, previewAttachFreeTrialParamsToJSON, previewAttachIncomingFeatureQuantityFromJSON, previewAttachIncomingFromJSON, previewAttachInvoiceCreditsFromJSON, previewAttachInvoiceModeToJSON, previewAttachItemPlanItemToJSON, previewAttachItemPriceToJSON, previewAttachItemProrationToJSON, previewAttachItemResetToJSON, previewAttachItemRolloverToJSON, previewAttachItemTierToJSON, previewAttachItemToToJSON, previewAttachLineItemFromJSON, previewAttachLineItemPeriodFromJSON, previewAttachNextCycleDiscountFromJSON, previewAttachNextCycleFromJSON, previewAttachNextCycleLineItemFromJSON, previewAttachNextCycleLineItemPeriodFromJSON, previewAttachOutgoingFeatureQuantityFromJSON, previewAttachOutgoingFromJSON, previewAttachParamsToJSON, previewAttachPlanItemFilterToJSON, previewAttachResponseFromJSON, previewAttachTaxFromJSON, previewAttachUsageLineItemFromJSON, previewAttachUsageLineItemPeriodFromJSON, previewMultiAttachAttachDiscountToJSON, previewMultiAttachBasePriceToJSON, previewMultiAttachBillingControlsToJSON, previewMultiAttachCustomizeToJSON, previewMultiAttachDiscountFromJSON, previewMultiAttachEntityDataToJSON, previewMultiAttachFreeTrialParamsToJSON, previewMultiAttachIncomingFeatureQuantityFromJSON, previewMultiAttachIncomingFromJSON, previewMultiAttachInvoiceCreditsFromJSON, 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, previewUpdateAddItemPlanItemToJSON, previewUpdateAddItemPriceToJSON, previewUpdateAddItemProrationToJSON, previewUpdateAddItemResetToJSON, previewUpdateAddItemRolloverToJSON, previewUpdateAddItemTierToJSON, previewUpdateAddItemToToJSON, previewUpdateAttachDiscountToJSON, previewUpdateBasePriceToJSON, previewUpdateCustomizeToJSON, previewUpdateDiscountFromJSON, previewUpdateFeatureQuantityRequestToJSON, previewUpdateFreeTrialParamsToJSON, previewUpdateIncomingFeatureQuantityFromJSON, previewUpdateIncomingFromJSON, previewUpdateInvoiceCreditsFromJSON, previewUpdateInvoiceModeToJSON, previewUpdateItemPlanItemToJSON, previewUpdateItemPriceToJSON, previewUpdateItemProrationToJSON, previewUpdateItemResetToJSON, previewUpdateItemRolloverToJSON, previewUpdateItemTierToJSON, previewUpdateItemToToJSON, previewUpdateLineItemFromJSON, previewUpdateLineItemPeriodFromJSON, previewUpdateNextCycleDiscountFromJSON, previewUpdateNextCycleFromJSON, previewUpdateNextCycleLineItemFromJSON, previewUpdateNextCycleLineItemPeriodFromJSON, previewUpdateOutgoingFeatureQuantityFromJSON, previewUpdateOutgoingFromJSON, previewUpdateParamsToJSON, previewUpdatePlanItemFilterToJSON, previewUpdateRecalculateBalancesToJSON, previewUpdateResponseFromJSON, previewUpdateTaxFromJSON, previewUpdateUsageLineItemFromJSON, previewUpdateUsageLineItemPeriodFromJSON, processorsFromJSON, product1FromJSON, product2FromJSON, productDisplay1FromJSON, productDisplay2FromJSON, properties1FromJSON, properties2FromJSON, purchaseFromJSON, redeemReferralCodeParamsToJSON, redeemReferralCodeResponseFromJSON, redeemRewardCodeParamsToJSON, redeemRewardCodeResponseFromJSON, referralCustomerFromJSON, referralFromJSON, revenuecatFromJSON, rewardsFromJSON, securityToJSON, serverURLFromOptions, setupPaymentAddItemPlanItemToJSON, setupPaymentAddItemPriceToJSON, setupPaymentAddItemProrationToJSON, setupPaymentAddItemResetToJSON, setupPaymentAddItemRolloverToJSON, setupPaymentAddItemTierToJSON, setupPaymentAddItemToToJSON, setupPaymentAttachDiscountToJSON, setupPaymentBasePriceToJSON, setupPaymentCarryOverBalancesToJSON, setupPaymentCarryOverUsagesToJSON, setupPaymentCustomLineItemToJSON, setupPaymentCustomizeToJSON, setupPaymentFeatureQuantityToJSON, setupPaymentFreeTrialParamsToJSON, setupPaymentItemPlanItemToJSON, setupPaymentItemPriceToJSON, setupPaymentItemProrationToJSON, setupPaymentItemResetToJSON, setupPaymentItemRolloverToJSON, setupPaymentItemTierToJSON, setupPaymentItemToToJSON, setupPaymentParamsToJSON, setupPaymentPlanItemFilterToJSON, setupPaymentResponseFromJSON, stripeFromJSON, subscriptionFromJSON, totalFromJSON, trackIntervalUnion1FromJSON, trackIntervalUnion2FromJSON, trackLockToJSON, trackParamsToJSON, trackReset1FromJSON, trackReset2FromJSON, trackResponseBody1FromJSON, trackResponseBody2FromJSON, trackResponseFromJSON, trialsUsedFromJSON, index as types, updateBalanceParamsToJSON, updateBalanceResponseFromJSON, updateCustomerAutoTopupRequestToJSON, updateCustomerAutoTopupResponseFromJSON, updateCustomerBillingControlsRequestToJSON, updateCustomerBillingControlsResponseFromJSON, updateCustomerConfigRequestToJSON, updateCustomerConfigResponseFromJSON, updateCustomerCreditSchemaFromJSON, updateCustomerDisplayFromJSON, updateCustomerFeatureFromJSON, updateCustomerFlagsFromJSON, updateCustomerOverageAllowedRequestToJSON, updateCustomerOverageAllowedResponseFromJSON, updateCustomerParamsToJSON, updateCustomerProcessorsFromJSON, updateCustomerPurchaseFromJSON, updateCustomerPurchaseLimitRequestToJSON, updateCustomerPurchaseLimitResponse1FromJSON, updateCustomerPurchaseLimitResponse2FromJSON, updateCustomerPurchaseLimitUnionFromJSON, updateCustomerResponseFromJSON, updateCustomerRevenuecatFromJSON, updateCustomerSpendLimitRequestToJSON, updateCustomerSpendLimitResponseFromJSON, updateCustomerStripeFromJSON, updateCustomerSubscriptionFromJSON, updateCustomerUsageAlertRequestBodyToJSON, updateCustomerUsageAlertResponseFromJSON, updateCustomerVercelFromJSON, 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, vercelFromJSON };
23501
+ export { type AggregateEventsCustomRange, type AggregateEventsCustomRange$Outbound, AggregateEventsCustomRange$outboundSchema, type AggregateEventsFeatureId, type AggregateEventsFeatureId$Outbound, AggregateEventsFeatureId$outboundSchema, type AggregateEventsGlobals, type AggregateEventsList, AggregateEventsList$inboundSchema, type AggregateEventsResponse, AggregateEventsResponse$inboundSchema, type ApiKey, ApiKey$inboundSchema, AttachAction, AttachAction$inboundSchema, AttachAddItemBillingMethod, AttachAddItemBillingMethod$outboundSchema, AttachAddItemExpiryDurationType, AttachAddItemExpiryDurationType$outboundSchema, AttachAddItemOnDecrease, AttachAddItemOnDecrease$outboundSchema, AttachAddItemOnIncrease, AttachAddItemOnIncrease$outboundSchema, type AttachAddItemPlanItem, type AttachAddItemPlanItem$Outbound, AttachAddItemPlanItem$outboundSchema, type AttachAddItemPrice, type AttachAddItemPrice$Outbound, AttachAddItemPrice$outboundSchema, AttachAddItemPriceInterval, AttachAddItemPriceInterval$outboundSchema, type AttachAddItemProration, type AttachAddItemProration$Outbound, AttachAddItemProration$outboundSchema, type AttachAddItemReset, type AttachAddItemReset$Outbound, AttachAddItemReset$outboundSchema, AttachAddItemResetInterval, AttachAddItemResetInterval$outboundSchema, type AttachAddItemRollover, type AttachAddItemRollover$Outbound, AttachAddItemRollover$outboundSchema, type AttachAddItemTier, type AttachAddItemTier$Outbound, AttachAddItemTier$outboundSchema, AttachAddItemTierBehavior, AttachAddItemTierBehavior$outboundSchema, type AttachAddItemTo, type AttachAddItemTo$Outbound, AttachAddItemTo$outboundSchema, type AttachAttachDiscount, type AttachAttachDiscount$Outbound, AttachAttachDiscount$outboundSchema, type AttachBasePrice, type AttachBasePrice$Outbound, AttachBasePrice$outboundSchema, type AttachCarryOverBalances, type AttachCarryOverBalances$Outbound, AttachCarryOverBalances$outboundSchema, type AttachCarryOverUsages, type AttachCarryOverUsages$Outbound, AttachCarryOverUsages$outboundSchema, AttachCode, AttachCode$inboundSchema, type AttachCustomLineItem, type AttachCustomLineItem$Outbound, AttachCustomLineItem$outboundSchema, type AttachCustomize, type AttachCustomize$Outbound, AttachCustomize$outboundSchema, AttachDurationType, AttachDurationType$outboundSchema, type AttachFeatureQuantity, type AttachFeatureQuantity$Outbound, AttachFeatureQuantity$outboundSchema, type AttachFreeTrialParams, type AttachFreeTrialParams$Outbound, AttachFreeTrialParams$outboundSchema, type AttachGlobals, type AttachInvoice, AttachInvoice$inboundSchema, type AttachInvoiceMode, type AttachInvoiceMode$Outbound, AttachInvoiceMode$outboundSchema, AttachItemBillingMethod, AttachItemBillingMethod$outboundSchema, AttachItemExpiryDurationType, AttachItemExpiryDurationType$outboundSchema, AttachItemOnDecrease, AttachItemOnDecrease$outboundSchema, AttachItemOnIncrease, AttachItemOnIncrease$outboundSchema, type AttachItemPlanItem, type AttachItemPlanItem$Outbound, AttachItemPlanItem$outboundSchema, type AttachItemPrice, type AttachItemPrice$Outbound, AttachItemPrice$outboundSchema, AttachItemPriceInterval, AttachItemPriceInterval$outboundSchema, type AttachItemProration, type AttachItemProration$Outbound, AttachItemProration$outboundSchema, type AttachItemReset, type AttachItemReset$Outbound, AttachItemReset$outboundSchema, AttachItemResetInterval, AttachItemResetInterval$outboundSchema, type AttachItemRollover, type AttachItemRollover$Outbound, AttachItemRollover$outboundSchema, type AttachItemTier, type AttachItemTier$Outbound, AttachItemTier$outboundSchema, AttachItemTierBehavior, AttachItemTierBehavior$outboundSchema, type AttachItemTo, type AttachItemTo$Outbound, AttachItemTo$outboundSchema, AttachOnEnd, AttachOnEnd$outboundSchema, type AttachParams, type AttachParams$Outbound, AttachParams$outboundSchema, type AttachPlanItemFilter, type AttachPlanItemFilter$Outbound, AttachPlanItemFilter$outboundSchema, AttachPlanSchedule, AttachPlanSchedule$outboundSchema, AttachPriceInterval, AttachPriceInterval$outboundSchema, AttachProrationBehavior, AttachProrationBehavior$outboundSchema, AttachRedirectMode, AttachRedirectMode$outboundSchema, AttachRemoveItemBillingMethod, AttachRemoveItemBillingMethod$outboundSchema, AttachRemoveItemInterval, AttachRemoveItemInterval$outboundSchema, type AttachRequiredAction, AttachRequiredAction$inboundSchema, type AttachResponse, AttachResponse$inboundSchema, Autumn, AutumnDefaultError, AutumnError, type Balance, Balance$inboundSchema, BalanceBillingMethod, BalanceBillingMethod$inboundSchema, type BalanceCreditSchema, BalanceCreditSchema$inboundSchema, type BalanceDisplay, BalanceDisplay$inboundSchema, type BalanceFeature, BalanceFeature$inboundSchema, BalanceIntervalEnum, BalanceIntervalEnum$inboundSchema, type BalanceIntervalUnion, BalanceIntervalUnion$inboundSchema, type BalancePrice, BalancePrice$inboundSchema, type BalanceReset, BalanceReset$inboundSchema, type BalanceRollover, BalanceRollover$inboundSchema, BalanceTierBehavior, BalanceTierBehavior$inboundSchema, BalanceType, BalanceType$inboundSchema, type BatchTrackGlobals, type BatchTrackLock, type BatchTrackLock$Outbound, BatchTrackLock$outboundSchema, type BatchTrackResponse, BatchTrackResponse$inboundSchema, BillingBehavior, BillingBehavior$outboundSchema, BillingUpdateAddItemBillingMethod, BillingUpdateAddItemBillingMethod$outboundSchema, BillingUpdateAddItemExpiryDurationType, BillingUpdateAddItemExpiryDurationType$outboundSchema, BillingUpdateAddItemOnDecrease, BillingUpdateAddItemOnDecrease$outboundSchema, BillingUpdateAddItemOnIncrease, BillingUpdateAddItemOnIncrease$outboundSchema, type BillingUpdateAddItemPlanItem, type BillingUpdateAddItemPlanItem$Outbound, BillingUpdateAddItemPlanItem$outboundSchema, type BillingUpdateAddItemPrice, type BillingUpdateAddItemPrice$Outbound, BillingUpdateAddItemPrice$outboundSchema, BillingUpdateAddItemPriceInterval, BillingUpdateAddItemPriceInterval$outboundSchema, type BillingUpdateAddItemProration, type BillingUpdateAddItemProration$Outbound, BillingUpdateAddItemProration$outboundSchema, type BillingUpdateAddItemReset, type BillingUpdateAddItemReset$Outbound, BillingUpdateAddItemReset$outboundSchema, BillingUpdateAddItemResetInterval, BillingUpdateAddItemResetInterval$outboundSchema, type BillingUpdateAddItemRollover, type BillingUpdateAddItemRollover$Outbound, BillingUpdateAddItemRollover$outboundSchema, type BillingUpdateAddItemTier, type BillingUpdateAddItemTier$Outbound, BillingUpdateAddItemTier$outboundSchema, BillingUpdateAddItemTierBehavior, BillingUpdateAddItemTierBehavior$outboundSchema, type BillingUpdateAddItemTo, type BillingUpdateAddItemTo$Outbound, BillingUpdateAddItemTo$outboundSchema, type BillingUpdateAttachDiscount, type BillingUpdateAttachDiscount$Outbound, BillingUpdateAttachDiscount$outboundSchema, type BillingUpdateBasePrice, type BillingUpdateBasePrice$Outbound, BillingUpdateBasePrice$outboundSchema, BillingUpdateCancelAction, BillingUpdateCancelAction$outboundSchema, BillingUpdateCode, BillingUpdateCode$inboundSchema, type BillingUpdateCustomize, type BillingUpdateCustomize$Outbound, BillingUpdateCustomize$outboundSchema, BillingUpdateDurationType, BillingUpdateDurationType$outboundSchema, type BillingUpdateFeatureQuantity, type BillingUpdateFeatureQuantity$Outbound, BillingUpdateFeatureQuantity$outboundSchema, type BillingUpdateFreeTrialParams, type BillingUpdateFreeTrialParams$Outbound, BillingUpdateFreeTrialParams$outboundSchema, type BillingUpdateGlobals, type BillingUpdateInvoice, BillingUpdateInvoice$inboundSchema, type BillingUpdateInvoiceMode, type BillingUpdateInvoiceMode$Outbound, BillingUpdateInvoiceMode$outboundSchema, BillingUpdateItemBillingMethod, BillingUpdateItemBillingMethod$outboundSchema, BillingUpdateItemExpiryDurationType, BillingUpdateItemExpiryDurationType$outboundSchema, BillingUpdateItemOnDecrease, BillingUpdateItemOnDecrease$outboundSchema, BillingUpdateItemOnIncrease, BillingUpdateItemOnIncrease$outboundSchema, type BillingUpdateItemPlanItem, type BillingUpdateItemPlanItem$Outbound, BillingUpdateItemPlanItem$outboundSchema, type BillingUpdateItemPrice, type BillingUpdateItemPrice$Outbound, BillingUpdateItemPrice$outboundSchema, BillingUpdateItemPriceInterval, BillingUpdateItemPriceInterval$outboundSchema, type BillingUpdateItemProration, type BillingUpdateItemProration$Outbound, BillingUpdateItemProration$outboundSchema, type BillingUpdateItemReset, type BillingUpdateItemReset$Outbound, BillingUpdateItemReset$outboundSchema, BillingUpdateItemResetInterval, BillingUpdateItemResetInterval$outboundSchema, type BillingUpdateItemRollover, type BillingUpdateItemRollover$Outbound, BillingUpdateItemRollover$outboundSchema, type BillingUpdateItemTier, type BillingUpdateItemTier$Outbound, BillingUpdateItemTier$outboundSchema, BillingUpdateItemTierBehavior, BillingUpdateItemTierBehavior$outboundSchema, type BillingUpdateItemTo, type BillingUpdateItemTo$Outbound, BillingUpdateItemTo$outboundSchema, BillingUpdateOnEnd, BillingUpdateOnEnd$outboundSchema, type BillingUpdatePlanItemFilter, type BillingUpdatePlanItemFilter$Outbound, BillingUpdatePlanItemFilter$outboundSchema, BillingUpdatePriceInterval, BillingUpdatePriceInterval$outboundSchema, BillingUpdateProrationBehavior, BillingUpdateProrationBehavior$outboundSchema, type BillingUpdateRecalculateBalances, type BillingUpdateRecalculateBalances$Outbound, BillingUpdateRecalculateBalances$outboundSchema, BillingUpdateRedirectMode, BillingUpdateRedirectMode$outboundSchema, BillingUpdateRemoveItemBillingMethod, BillingUpdateRemoveItemBillingMethod$outboundSchema, BillingUpdateRemoveItemInterval, BillingUpdateRemoveItemInterval$outboundSchema, type BillingUpdateRequiredAction, BillingUpdateRequiredAction$inboundSchema, type BillingUpdateResponse, BillingUpdateResponse$inboundSchema, BinSize, BinSize$outboundSchema, type Breakdown, Breakdown$inboundSchema, type CheckConfig1, CheckConfig1$inboundSchema, type CheckConfig2, CheckConfig2$inboundSchema, type CheckCreditSchema1, CheckCreditSchema1$inboundSchema, type CheckCreditSchema2, CheckCreditSchema2$inboundSchema, CheckEnv1, CheckEnv1$inboundSchema, CheckEnv2, CheckEnv2$inboundSchema, type CheckFeature1, CheckFeature1$inboundSchema, type CheckFeature2, CheckFeature2$inboundSchema, type CheckFreeTrial1, CheckFreeTrial1$inboundSchema, type CheckFreeTrial2, CheckFreeTrial2$inboundSchema, type CheckGlobals, CheckInterval1, CheckInterval1$inboundSchema, CheckInterval2, CheckInterval2$inboundSchema, type CheckItem1, CheckItem1$inboundSchema, type CheckItem2, CheckItem2$inboundSchema, type CheckLock, type CheckLock$Outbound, CheckLock$outboundSchema, CheckOnDecrease1, CheckOnDecrease1$inboundSchema, CheckOnDecrease2, CheckOnDecrease2$inboundSchema, CheckOnEnd1, CheckOnEnd1$inboundSchema, CheckOnEnd2, CheckOnEnd2$inboundSchema, CheckOnIncrease1, CheckOnIncrease1$inboundSchema, CheckOnIncrease2, CheckOnIncrease2$inboundSchema, type CheckParams, type CheckParams$Outbound, CheckParams$outboundSchema, type CheckProduct1, CheckProduct1$inboundSchema, type CheckProduct2, CheckProduct2$inboundSchema, type CheckResponse, CheckResponse$inboundSchema, type CheckResponseBody1, CheckResponseBody1$inboundSchema, type CheckResponseBody2, CheckResponseBody2$inboundSchema, type CheckRollover1, CheckRollover1$inboundSchema, type CheckRollover2, CheckRollover2$inboundSchema, CheckTierBehavior1, CheckTierBehavior1$inboundSchema, CheckTierBehavior2, CheckTierBehavior2$inboundSchema, ConfigDuration1, ConfigDuration1$inboundSchema, ConfigDuration2, ConfigDuration2$inboundSchema, ConnectionError, CreateBalanceDuration, CreateBalanceDuration$outboundSchema, type CreateBalanceGlobals, CreateBalanceInterval, CreateBalanceInterval$outboundSchema, type CreateBalanceParams, type CreateBalanceParams$Outbound, CreateBalanceParams$outboundSchema, type CreateBalanceReset, type CreateBalanceReset$Outbound, CreateBalanceReset$outboundSchema, type CreateBalanceResponse, CreateBalanceResponse$inboundSchema, type CreateBalanceRollover, type CreateBalanceRollover$Outbound, CreateBalanceRollover$outboundSchema, type CreateEntityBillingControlsRequest, type CreateEntityBillingControlsRequest$Outbound, CreateEntityBillingControlsRequest$outboundSchema, type CreateEntityBillingControlsResponse, CreateEntityBillingControlsResponse$inboundSchema, type CreateEntityCreditSchema, CreateEntityCreditSchema$inboundSchema, type CreateEntityDisplay, CreateEntityDisplay$inboundSchema, CreateEntityEnv, CreateEntityEnv$inboundSchema, type CreateEntityFeature, CreateEntityFeature$inboundSchema, type CreateEntityFlags, CreateEntityFlags$inboundSchema, type CreateEntityGlobals, type CreateEntityInvoice, CreateEntityInvoice$inboundSchema, type CreateEntityOverageAllowedRequest, type CreateEntityOverageAllowedRequest$Outbound, CreateEntityOverageAllowedRequest$outboundSchema, type CreateEntityOverageAllowedResponse, CreateEntityOverageAllowedResponse$inboundSchema, type CreateEntityParams, type CreateEntityParams$Outbound, CreateEntityParams$outboundSchema, CreateEntityProcessorType, CreateEntityProcessorType$inboundSchema, type CreateEntityPurchase, CreateEntityPurchase$inboundSchema, CreateEntityPurchaseScope, CreateEntityPurchaseScope$inboundSchema, type CreateEntityResponse, CreateEntityResponse$inboundSchema, type CreateEntitySpendLimitRequest, type CreateEntitySpendLimitRequest$Outbound, CreateEntitySpendLimitRequest$outboundSchema, type CreateEntitySpendLimitResponse, CreateEntitySpendLimitResponse$inboundSchema, CreateEntityStatus, CreateEntityStatus$inboundSchema, type CreateEntitySubscription, CreateEntitySubscription$inboundSchema, CreateEntitySubscriptionScope, CreateEntitySubscriptionScope$inboundSchema, CreateEntityThresholdTypeRequestBody, CreateEntityThresholdTypeRequestBody$outboundSchema, CreateEntityThresholdTypeResponse, CreateEntityThresholdTypeResponse$inboundSchema, CreateEntityType, CreateEntityType$inboundSchema, type CreateEntityUsageAlertRequestBody, type CreateEntityUsageAlertRequestBody$Outbound, CreateEntityUsageAlertRequestBody$outboundSchema, type CreateEntityUsageAlertResponse, CreateEntityUsageAlertResponse$inboundSchema, type CreateFeatureCreditSchemaRequest, type CreateFeatureCreditSchemaRequest$Outbound, CreateFeatureCreditSchemaRequest$outboundSchema, type CreateFeatureCreditSchemaResponse, CreateFeatureCreditSchemaResponse$inboundSchema, type CreateFeatureDisplayRequest, type CreateFeatureDisplayRequest$Outbound, CreateFeatureDisplayRequest$outboundSchema, type CreateFeatureDisplayResponse, CreateFeatureDisplayResponse$inboundSchema, type CreateFeatureGlobals, type CreateFeatureParams, type CreateFeatureParams$Outbound, CreateFeatureParams$outboundSchema, type CreateFeatureResponse, CreateFeatureResponse$inboundSchema, CreateFeatureTypeRequest, CreateFeatureTypeRequest$outboundSchema, CreateFeatureTypeResponse, CreateFeatureTypeResponse$inboundSchema, CreatePlanAttachAction, CreatePlanAttachAction$inboundSchema, CreatePlanBillingMethodRequest, CreatePlanBillingMethodRequest$outboundSchema, CreatePlanBillingMethodResponse, CreatePlanBillingMethodResponse$inboundSchema, type CreatePlanConfigRequest, type CreatePlanConfigRequest$Outbound, CreatePlanConfigRequest$outboundSchema, type CreatePlanConfigResponse, CreatePlanConfigResponse$inboundSchema, type CreatePlanCreditSchema, CreatePlanCreditSchema$inboundSchema, type CreatePlanCustomerEligibility, CreatePlanCustomerEligibility$inboundSchema, CreatePlanDurationTypeRequest, CreatePlanDurationTypeRequest$outboundSchema, CreatePlanDurationTypeResponse, CreatePlanDurationTypeResponse$inboundSchema, CreatePlanEnv, CreatePlanEnv$inboundSchema, CreatePlanExpiryDurationTypeRequest, CreatePlanExpiryDurationTypeRequest$outboundSchema, CreatePlanExpiryDurationTypeResponse, CreatePlanExpiryDurationTypeResponse$inboundSchema, type CreatePlanFeature, CreatePlanFeature$inboundSchema, type CreatePlanFeatureDisplay, CreatePlanFeatureDisplay$inboundSchema, type CreatePlanFreeTrialResponse, CreatePlanFreeTrialResponse$inboundSchema, type CreatePlanGlobals, type CreatePlanItem, CreatePlanItem$inboundSchema, type CreatePlanItemDisplay, CreatePlanItemDisplay$inboundSchema, CreatePlanItemPriceIntervalRequest, CreatePlanItemPriceIntervalRequest$outboundSchema, type CreatePlanItemPriceRequest, type CreatePlanItemPriceRequest$Outbound, CreatePlanItemPriceRequest$outboundSchema, type CreatePlanItemPriceResponse, CreatePlanItemPriceResponse$inboundSchema, CreatePlanOnDecrease, CreatePlanOnDecrease$outboundSchema, CreatePlanOnEndRequest, CreatePlanOnEndRequest$outboundSchema, CreatePlanOnEndResponse, CreatePlanOnEndResponse$inboundSchema, CreatePlanOnIncrease, CreatePlanOnIncrease$outboundSchema, type CreatePlanParams, type CreatePlanParams$Outbound, CreatePlanParams$outboundSchema, type CreatePlanPlanItem, type CreatePlanPlanItem$Outbound, CreatePlanPlanItem$outboundSchema, type CreatePlanPriceDisplay, CreatePlanPriceDisplay$inboundSchema, CreatePlanPriceIntervalRequest, CreatePlanPriceIntervalRequest$outboundSchema, CreatePlanPriceIntervalResponse, CreatePlanPriceIntervalResponse$inboundSchema, CreatePlanPriceItemIntervalResponse, CreatePlanPriceItemIntervalResponse$inboundSchema, type CreatePlanPriceRequest, type CreatePlanPriceRequest$Outbound, CreatePlanPriceRequest$outboundSchema, type CreatePlanPriceResponse, CreatePlanPriceResponse$inboundSchema, type CreatePlanProration, type CreatePlanProration$Outbound, CreatePlanProration$outboundSchema, CreatePlanResetIntervalRequest, CreatePlanResetIntervalRequest$outboundSchema, CreatePlanResetIntervalResponse, CreatePlanResetIntervalResponse$inboundSchema, type CreatePlanResetRequest, type CreatePlanResetRequest$Outbound, CreatePlanResetRequest$outboundSchema, type CreatePlanResetResponse, CreatePlanResetResponse$inboundSchema, type CreatePlanResponse, CreatePlanResponse$inboundSchema, type CreatePlanRolloverRequest, type CreatePlanRolloverRequest$Outbound, CreatePlanRolloverRequest$outboundSchema, type CreatePlanRolloverResponse, CreatePlanRolloverResponse$inboundSchema, CreatePlanStatus, CreatePlanStatus$inboundSchema, type CreatePlanTier, type CreatePlanTier$Outbound, CreatePlanTier$outboundSchema, CreatePlanTierBehaviorRequest, CreatePlanTierBehaviorRequest$outboundSchema, CreatePlanTierBehaviorResponse, CreatePlanTierBehaviorResponse$inboundSchema, type CreatePlanTo, type CreatePlanTo$Outbound, CreatePlanTo$outboundSchema, CreatePlanType, CreatePlanType$inboundSchema, type CreateReferralCodeGlobals, type CreateReferralCodeParams, type CreateReferralCodeParams$Outbound, CreateReferralCodeParams$outboundSchema, type CreateReferralCodeResponse, CreateReferralCodeResponse$inboundSchema, type CreateScheduleAttachDiscount, type CreateScheduleAttachDiscount$Outbound, CreateScheduleAttachDiscount$outboundSchema, type CreateScheduleBasePrice2, type CreateScheduleBasePrice2$Outbound, CreateScheduleBasePrice2$outboundSchema, CreateScheduleBillingMethod2, CreateScheduleBillingMethod2$outboundSchema, CreateScheduleCode, CreateScheduleCode$inboundSchema, type CreateScheduleCustomize2, type CreateScheduleCustomize2$Outbound, CreateScheduleCustomize2$outboundSchema, CreateScheduleExpiryDurationType2, CreateScheduleExpiryDurationType2$outboundSchema, type CreateScheduleFeatureQuantity2, type CreateScheduleFeatureQuantity2$Outbound, CreateScheduleFeatureQuantity2$outboundSchema, type CreateScheduleGlobals, type CreateScheduleInvoice, CreateScheduleInvoice$inboundSchema, type CreateScheduleInvoiceMode, type CreateScheduleInvoiceMode$Outbound, CreateScheduleInvoiceMode$outboundSchema, CreateScheduleItemPriceInterval2, CreateScheduleItemPriceInterval2$outboundSchema, CreateScheduleOnDecrease2, CreateScheduleOnDecrease2$outboundSchema, CreateScheduleOnIncrease2, CreateScheduleOnIncrease2$outboundSchema, type CreateScheduleParams, type CreateScheduleParams$Outbound, CreateScheduleParams$outboundSchema, type CreateSchedulePlan2, type CreateSchedulePlan2$Outbound, CreateSchedulePlan2$outboundSchema, type CreateSchedulePlanItem2, type CreateSchedulePlanItem2$Outbound, CreateSchedulePlanItem2$outboundSchema, type CreateSchedulePrice2, type CreateSchedulePrice2$Outbound, CreateSchedulePrice2$outboundSchema, CreateSchedulePriceInterval2, CreateSchedulePriceInterval2$outboundSchema, type CreateScheduleProration2, type CreateScheduleProration2$Outbound, CreateScheduleProration2$outboundSchema, CreateScheduleRedirectMode, CreateScheduleRedirectMode$outboundSchema, type CreateScheduleRequiredAction, CreateScheduleRequiredAction$inboundSchema, type CreateScheduleReset2, type CreateScheduleReset2$Outbound, CreateScheduleReset2$outboundSchema, CreateScheduleResetInterval2, CreateScheduleResetInterval2$outboundSchema, type CreateScheduleResponse, CreateScheduleResponse$inboundSchema, type CreateScheduleRollover2, type CreateScheduleRollover2$Outbound, CreateScheduleRollover2$outboundSchema, CreateScheduleStatus, CreateScheduleStatus$inboundSchema, type CreateScheduleTier2, type CreateScheduleTier2$Outbound, CreateScheduleTier2$outboundSchema, CreateScheduleTierBehavior2, CreateScheduleTierBehavior2$outboundSchema, type Customer, Customer$inboundSchema, type CustomerAutoTopup, CustomerAutoTopup$inboundSchema, type CustomerBillingControls, CustomerBillingControls$inboundSchema, type CustomerConfig, CustomerConfig$inboundSchema, type CustomerCreditSchema, CustomerCreditSchema$inboundSchema, type CustomerData, type CustomerData$Outbound, CustomerData$outboundSchema, type CustomerDataAutoTopup, type CustomerDataAutoTopup$Outbound, CustomerDataAutoTopup$outboundSchema, type CustomerDataBillingControls, type CustomerDataBillingControls$Outbound, CustomerDataBillingControls$outboundSchema, type CustomerDataConfig, type CustomerDataConfig$Outbound, CustomerDataConfig$outboundSchema, CustomerDataInterval, CustomerDataInterval$outboundSchema, type CustomerDataOverageAllowed, type CustomerDataOverageAllowed$Outbound, CustomerDataOverageAllowed$outboundSchema, type CustomerDataPurchaseLimit, type CustomerDataPurchaseLimit$Outbound, CustomerDataPurchaseLimit$outboundSchema, type CustomerDataSpendLimit, type CustomerDataSpendLimit$Outbound, CustomerDataSpendLimit$outboundSchema, CustomerDataThresholdType, CustomerDataThresholdType$outboundSchema, type CustomerDataUsageAlert, type CustomerDataUsageAlert$Outbound, CustomerDataUsageAlert$outboundSchema, type CustomerDisplay, CustomerDisplay$inboundSchema, CustomerDurationType, CustomerDurationType$inboundSchema, type CustomerEligibility, CustomerEligibility$inboundSchema, CustomerEntityEnv, CustomerEntityEnv$inboundSchema, CustomerEnv, CustomerEnv$inboundSchema, CustomerExpand, CustomerExpand$outboundSchema, type CustomerFeature, CustomerFeature$inboundSchema, CustomerFlagsType, CustomerFlagsType$inboundSchema, CustomerInterval1, CustomerInterval1$inboundSchema, CustomerInterval2, CustomerInterval2$inboundSchema, type CustomerOverageAllowed, CustomerOverageAllowed$inboundSchema, type CustomerPurchaseLimit1, CustomerPurchaseLimit1$inboundSchema, type CustomerPurchaseLimit2, CustomerPurchaseLimit2$inboundSchema, type CustomerPurchaseLimitUnion, CustomerPurchaseLimitUnion$inboundSchema, CustomerRewardsType, CustomerRewardsType$inboundSchema, type CustomerSpendLimit, CustomerSpendLimit$inboundSchema, CustomerStatus, CustomerStatus$inboundSchema, CustomerThresholdType, CustomerThresholdType$inboundSchema, type CustomerUsageAlert, CustomerUsageAlert$inboundSchema, type Deduction1, Deduction1$inboundSchema, type Deduction2, Deduction2$inboundSchema, type Deductions, Deductions$inboundSchema, type DeleteBalanceGlobals, DeleteBalanceInterval, DeleteBalanceInterval$outboundSchema, type DeleteBalanceParams, type DeleteBalanceParams$Outbound, DeleteBalanceParams$outboundSchema, type DeleteBalanceResponse, DeleteBalanceResponse$inboundSchema, type DeleteCustomerGlobals, type DeleteCustomerParams, type DeleteCustomerParams$Outbound, DeleteCustomerParams$outboundSchema, type DeleteCustomerResponse, DeleteCustomerResponse$inboundSchema, type DeleteEntityGlobals, type DeleteEntityParams, type DeleteEntityParams$Outbound, DeleteEntityParams$outboundSchema, type DeleteEntityResponse, DeleteEntityResponse$inboundSchema, type DeleteFeatureGlobals, type DeleteFeatureParams, type DeleteFeatureParams$Outbound, DeleteFeatureParams$outboundSchema, type DeleteFeatureResponse, DeleteFeatureResponse$inboundSchema, type DeletePlanGlobals, type DeletePlanParams, type DeletePlanParams$Outbound, DeletePlanParams$outboundSchema, type DeletePlanResponse, DeletePlanResponse$inboundSchema, type Discount, Discount$inboundSchema, type EntitlementsGranted, EntitlementsGranted$inboundSchema, type Entity, Entity$inboundSchema, type EventsAggregateParams, type EventsAggregateParams$Outbound, EventsAggregateParams$outboundSchema, type EventsListParams, type EventsListParams$Outbound, EventsListParams$outboundSchema, ExpiryDurationType, ExpiryDurationType$inboundSchema, FeatureType1, FeatureType1$inboundSchema, FeatureType2, FeatureType2$inboundSchema, type Fetcher, type FinalizeBalanceParams, type FinalizeBalanceParams$Outbound, FinalizeBalanceParams$outboundSchema, FinalizeLockAction, FinalizeLockAction$outboundSchema, type FinalizeLockGlobals, type FinalizeLockResponse, FinalizeLockResponse$inboundSchema, type FinalizeLockResponseBody1, FinalizeLockResponseBody1$inboundSchema, type FinalizeLockResponseBody2, FinalizeLockResponseBody2$inboundSchema, type Flag1, Flag1$inboundSchema, type Flag2, Flag2$inboundSchema, type FlagDisplay1, FlagDisplay1$inboundSchema, type FlagDisplay2, FlagDisplay2$inboundSchema, FlagType1, FlagType1$inboundSchema, FlagType2, FlagType2$inboundSchema, type Flags, Flags$inboundSchema, type FreeTrial, FreeTrial$inboundSchema, FreeTrialDuration1, FreeTrialDuration1$inboundSchema, FreeTrialDuration2, FreeTrialDuration2$inboundSchema, type FreeTrialRequest, type FreeTrialRequest$Outbound, FreeTrialRequest$outboundSchema, type GetCustomerAutoTopup, GetCustomerAutoTopup$inboundSchema, type GetCustomerBillingControls, GetCustomerBillingControls$inboundSchema, type GetCustomerConfig, GetCustomerConfig$inboundSchema, type GetCustomerCreditSchema, GetCustomerCreditSchema$inboundSchema, type GetCustomerCustomer, GetCustomerCustomer$inboundSchema, type GetCustomerDiscount, GetCustomerDiscount$inboundSchema, type GetCustomerDisplay, GetCustomerDisplay$inboundSchema, GetCustomerDurationType, GetCustomerDurationType$inboundSchema, type GetCustomerEntity, GetCustomerEntity$inboundSchema, GetCustomerEntityEnv, GetCustomerEntityEnv$inboundSchema, GetCustomerEnv, GetCustomerEnv$inboundSchema, type GetCustomerFeature, GetCustomerFeature$inboundSchema, type GetCustomerFlags, GetCustomerFlags$inboundSchema, GetCustomerFlagsType, GetCustomerFlagsType$inboundSchema, type GetCustomerGlobals, GetCustomerInterval1, GetCustomerInterval1$inboundSchema, GetCustomerInterval2, GetCustomerInterval2$inboundSchema, type GetCustomerInvoice, GetCustomerInvoice$inboundSchema, type GetCustomerOverageAllowed, GetCustomerOverageAllowed$inboundSchema, type GetCustomerParams, type GetCustomerParams$Outbound, GetCustomerParams$outboundSchema, GetCustomerProcessorType, GetCustomerProcessorType$inboundSchema, type GetCustomerProcessors, GetCustomerProcessors$inboundSchema, type GetCustomerPurchase, GetCustomerPurchase$inboundSchema, type GetCustomerPurchaseLimit1, GetCustomerPurchaseLimit1$inboundSchema, type GetCustomerPurchaseLimit2, GetCustomerPurchaseLimit2$inboundSchema, type GetCustomerPurchaseLimitUnion, GetCustomerPurchaseLimitUnion$inboundSchema, GetCustomerPurchaseScope, GetCustomerPurchaseScope$inboundSchema, type GetCustomerReferral, GetCustomerReferral$inboundSchema, type GetCustomerResponse, GetCustomerResponse$inboundSchema, type GetCustomerRevenuecat, GetCustomerRevenuecat$inboundSchema, type GetCustomerRewards, GetCustomerRewards$inboundSchema, GetCustomerRewardsType, GetCustomerRewardsType$inboundSchema, type GetCustomerSpendLimit, GetCustomerSpendLimit$inboundSchema, GetCustomerStatus, GetCustomerStatus$inboundSchema, type GetCustomerStripe, GetCustomerStripe$inboundSchema, type GetCustomerSubscription, GetCustomerSubscription$inboundSchema, GetCustomerSubscriptionScope, GetCustomerSubscriptionScope$inboundSchema, GetCustomerThresholdType, GetCustomerThresholdType$inboundSchema, type GetCustomerTrialsUsed, GetCustomerTrialsUsed$inboundSchema, type GetCustomerUsageAlert, GetCustomerUsageAlert$inboundSchema, type GetCustomerVercel, GetCustomerVercel$inboundSchema, type GetEntityBillingControls, GetEntityBillingControls$inboundSchema, type GetEntityCreditSchema, GetEntityCreditSchema$inboundSchema, type GetEntityDisplay, GetEntityDisplay$inboundSchema, GetEntityEnv, GetEntityEnv$inboundSchema, type GetEntityFeature, GetEntityFeature$inboundSchema, type GetEntityFlags, GetEntityFlags$inboundSchema, type GetEntityGlobals, type GetEntityInvoice, GetEntityInvoice$inboundSchema, type GetEntityOverageAllowed, GetEntityOverageAllowed$inboundSchema, type GetEntityParams, type GetEntityParams$Outbound, GetEntityParams$outboundSchema, GetEntityProcessorType, GetEntityProcessorType$inboundSchema, type GetEntityPurchase, GetEntityPurchase$inboundSchema, GetEntityPurchaseScope, GetEntityPurchaseScope$inboundSchema, type GetEntityResponse, GetEntityResponse$inboundSchema, type GetEntitySpendLimit, GetEntitySpendLimit$inboundSchema, GetEntityStatus, GetEntityStatus$inboundSchema, type GetEntitySubscription, GetEntitySubscription$inboundSchema, GetEntitySubscriptionScope, GetEntitySubscriptionScope$inboundSchema, GetEntityThresholdType, GetEntityThresholdType$inboundSchema, GetEntityType, GetEntityType$inboundSchema, type GetEntityUsageAlert, GetEntityUsageAlert$inboundSchema, type GetFeatureCreditSchema, GetFeatureCreditSchema$inboundSchema, type GetFeatureDisplay, GetFeatureDisplay$inboundSchema, type GetFeatureGlobals, type GetFeatureParams, type GetFeatureParams$Outbound, GetFeatureParams$outboundSchema, type GetFeatureResponse, GetFeatureResponse$inboundSchema, GetFeatureType, GetFeatureType$inboundSchema, type GetOrCreateCustomerAutoTopup, type GetOrCreateCustomerAutoTopup$Outbound, GetOrCreateCustomerAutoTopup$outboundSchema, type GetOrCreateCustomerBillingControls, type GetOrCreateCustomerBillingControls$Outbound, GetOrCreateCustomerBillingControls$outboundSchema, type GetOrCreateCustomerConfig, type GetOrCreateCustomerConfig$Outbound, GetOrCreateCustomerConfig$outboundSchema, type GetOrCreateCustomerGlobals, GetOrCreateCustomerInterval, GetOrCreateCustomerInterval$outboundSchema, type GetOrCreateCustomerOverageAllowed, type GetOrCreateCustomerOverageAllowed$Outbound, GetOrCreateCustomerOverageAllowed$outboundSchema, type GetOrCreateCustomerParams, type GetOrCreateCustomerParams$Outbound, GetOrCreateCustomerParams$outboundSchema, type GetOrCreateCustomerPurchaseLimit, type GetOrCreateCustomerPurchaseLimit$Outbound, GetOrCreateCustomerPurchaseLimit$outboundSchema, type GetOrCreateCustomerSpendLimit, type GetOrCreateCustomerSpendLimit$Outbound, GetOrCreateCustomerSpendLimit$outboundSchema, GetOrCreateCustomerThresholdType, GetOrCreateCustomerThresholdType$outboundSchema, type GetOrCreateCustomerUsageAlert, type GetOrCreateCustomerUsageAlert$Outbound, GetOrCreateCustomerUsageAlert$outboundSchema, GetPlanAttachAction, GetPlanAttachAction$inboundSchema, GetPlanBillingMethod, GetPlanBillingMethod$inboundSchema, type GetPlanConfig, GetPlanConfig$inboundSchema, type GetPlanCreditSchema, GetPlanCreditSchema$inboundSchema, type GetPlanCustomerEligibility, GetPlanCustomerEligibility$inboundSchema, GetPlanDurationType, GetPlanDurationType$inboundSchema, GetPlanEnv, GetPlanEnv$inboundSchema, GetPlanExpiryDurationType, GetPlanExpiryDurationType$inboundSchema, type GetPlanFeature, GetPlanFeature$inboundSchema, type GetPlanFeatureDisplay, GetPlanFeatureDisplay$inboundSchema, type GetPlanFreeTrial, GetPlanFreeTrial$inboundSchema, type GetPlanGlobals, type GetPlanItem, GetPlanItem$inboundSchema, type GetPlanItemDisplay, GetPlanItemDisplay$inboundSchema, type GetPlanItemPrice, GetPlanItemPrice$inboundSchema, GetPlanOnEnd, GetPlanOnEnd$inboundSchema, type GetPlanParams, type GetPlanParams$Outbound, GetPlanParams$outboundSchema, type GetPlanPrice, GetPlanPrice$inboundSchema, type GetPlanPriceDisplay, GetPlanPriceDisplay$inboundSchema, GetPlanPriceInterval, GetPlanPriceInterval$inboundSchema, GetPlanPriceItemInterval, GetPlanPriceItemInterval$inboundSchema, type GetPlanReset, GetPlanReset$inboundSchema, GetPlanResetInterval, GetPlanResetInterval$inboundSchema, type GetPlanResponse, GetPlanResponse$inboundSchema, type GetPlanRollover, GetPlanRollover$inboundSchema, GetPlanStatus, GetPlanStatus$inboundSchema, GetPlanTierBehavior, GetPlanTierBehavior$inboundSchema, GetPlanType, GetPlanType$inboundSchema, type GetRevenueCatKeysApp, GetRevenueCatKeysApp$inboundSchema, GetRevenueCatKeysEnv, GetRevenueCatKeysEnv$outboundSchema, type GetRevenueCatKeysGlobals, type GetRevenueCatKeysParams, type GetRevenueCatKeysParams$Outbound, GetRevenueCatKeysParams$outboundSchema, type GetRevenueCatKeysResponse, GetRevenueCatKeysResponse$inboundSchema, HTTPClient, HTTPClientError, type HTTPClientOptions, type IncludedUsage1, IncludedUsage1$inboundSchema, type IncludedUsage2, IncludedUsage2$inboundSchema, Intent, Intent$inboundSchema, InvalidRequestError, type Invoice, Invoice$inboundSchema, type Item, Item$inboundSchema, LinkRevenueCatEnv, LinkRevenueCatEnv$outboundSchema, type LinkRevenueCatGlobals, type LinkRevenueCatParams, type LinkRevenueCatParams$Outbound, LinkRevenueCatParams$outboundSchema, type LinkRevenueCatResponse, LinkRevenueCatResponse$inboundSchema, type ListCustomersAutoTopup, ListCustomersAutoTopup$inboundSchema, type ListCustomersBillingControls, ListCustomersBillingControls$inboundSchema, type ListCustomersConfig, ListCustomersConfig$inboundSchema, type ListCustomersCreditSchema, ListCustomersCreditSchema$inboundSchema, type ListCustomersDisplay, ListCustomersDisplay$inboundSchema, ListCustomersEnv, ListCustomersEnv$inboundSchema, type ListCustomersFeature, ListCustomersFeature$inboundSchema, type ListCustomersFlags, ListCustomersFlags$inboundSchema, type ListCustomersGlobals, ListCustomersInterval1, ListCustomersInterval1$inboundSchema, ListCustomersInterval2, ListCustomersInterval2$inboundSchema, type ListCustomersList, ListCustomersList$inboundSchema, type ListCustomersOverageAllowed, ListCustomersOverageAllowed$inboundSchema, type ListCustomersParams, type ListCustomersParams$Outbound, ListCustomersParams$outboundSchema, type ListCustomersPlan, type ListCustomersPlan$Outbound, ListCustomersPlan$outboundSchema, ListCustomersProcessor, ListCustomersProcessor$outboundSchema, type ListCustomersProcessors, ListCustomersProcessors$inboundSchema, type ListCustomersPurchase, ListCustomersPurchase$inboundSchema, type ListCustomersPurchaseLimit1, ListCustomersPurchaseLimit1$inboundSchema, type ListCustomersPurchaseLimit2, ListCustomersPurchaseLimit2$inboundSchema, type ListCustomersPurchaseLimitUnion, ListCustomersPurchaseLimitUnion$inboundSchema, ListCustomersPurchaseScope, ListCustomersPurchaseScope$inboundSchema, type ListCustomersResponse, ListCustomersResponse$inboundSchema, type ListCustomersRevenuecat, ListCustomersRevenuecat$inboundSchema, type ListCustomersSpendLimit, ListCustomersSpendLimit$inboundSchema, ListCustomersStatus, ListCustomersStatus$inboundSchema, type ListCustomersStripe, ListCustomersStripe$inboundSchema, type ListCustomersSubscription, ListCustomersSubscription$inboundSchema, ListCustomersSubscriptionScope, ListCustomersSubscriptionScope$inboundSchema, ListCustomersSubscriptionStatus, ListCustomersSubscriptionStatus$outboundSchema, ListCustomersThresholdType, ListCustomersThresholdType$inboundSchema, ListCustomersType, ListCustomersType$inboundSchema, type ListCustomersUsageAlert, ListCustomersUsageAlert$inboundSchema, type ListCustomersVercel, ListCustomersVercel$inboundSchema, type ListEntitiesBillingControls, ListEntitiesBillingControls$inboundSchema, type ListEntitiesCreditSchema, ListEntitiesCreditSchema$inboundSchema, type ListEntitiesDisplay, ListEntitiesDisplay$inboundSchema, ListEntitiesEnv, ListEntitiesEnv$inboundSchema, type ListEntitiesFeature, ListEntitiesFeature$inboundSchema, type ListEntitiesFlags, ListEntitiesFlags$inboundSchema, type ListEntitiesGlobals, type ListEntitiesInvoice, ListEntitiesInvoice$inboundSchema, type ListEntitiesList, ListEntitiesList$inboundSchema, type ListEntitiesOverageAllowed, ListEntitiesOverageAllowed$inboundSchema, type ListEntitiesParams, type ListEntitiesParams$Outbound, ListEntitiesParams$outboundSchema, type ListEntitiesPlan, type ListEntitiesPlan$Outbound, ListEntitiesPlan$outboundSchema, ListEntitiesProcessor, ListEntitiesProcessor$outboundSchema, ListEntitiesProcessorType, ListEntitiesProcessorType$inboundSchema, type ListEntitiesPurchase, ListEntitiesPurchase$inboundSchema, ListEntitiesPurchaseScope, ListEntitiesPurchaseScope$inboundSchema, type ListEntitiesResponse, ListEntitiesResponse$inboundSchema, type ListEntitiesSpendLimit, ListEntitiesSpendLimit$inboundSchema, ListEntitiesStatus, ListEntitiesStatus$inboundSchema, type ListEntitiesSubscription, ListEntitiesSubscription$inboundSchema, ListEntitiesSubscriptionScope, ListEntitiesSubscriptionScope$inboundSchema, ListEntitiesSubscriptionStatus, ListEntitiesSubscriptionStatus$outboundSchema, ListEntitiesThresholdType, ListEntitiesThresholdType$inboundSchema, ListEntitiesType, ListEntitiesType$inboundSchema, type ListEntitiesUsageAlert, ListEntitiesUsageAlert$inboundSchema, type ListEventsCustomRange, type ListEventsCustomRange$Outbound, ListEventsCustomRange$outboundSchema, type ListEventsFeatureId, type ListEventsFeatureId$Outbound, ListEventsFeatureId$outboundSchema, type ListEventsGlobals, ListEventsIntervalEnum, ListEventsIntervalEnum$inboundSchema, type ListEventsIntervalUnion, ListEventsIntervalUnion$inboundSchema, type ListEventsList, ListEventsList$inboundSchema, type ListEventsReset, ListEventsReset$inboundSchema, type ListEventsResponse, ListEventsResponse$inboundSchema, type ListFeaturesCreditSchema, ListFeaturesCreditSchema$inboundSchema, type ListFeaturesDisplay, ListFeaturesDisplay$inboundSchema, type ListFeaturesGlobals, type ListFeaturesList, ListFeaturesList$inboundSchema, type ListFeaturesRequest, type ListFeaturesRequest$Outbound, ListFeaturesRequest$outboundSchema, type ListFeaturesResponse, ListFeaturesResponse$inboundSchema, ListFeaturesType, ListFeaturesType$inboundSchema, ListPlansAttachAction, ListPlansAttachAction$inboundSchema, ListPlansBillingMethod, ListPlansBillingMethod$inboundSchema, type ListPlansConfig, ListPlansConfig$inboundSchema, type ListPlansCreditSchema, ListPlansCreditSchema$inboundSchema, type ListPlansCustomerEligibility, ListPlansCustomerEligibility$inboundSchema, ListPlansDurationType, ListPlansDurationType$inboundSchema, ListPlansEnv, ListPlansEnv$inboundSchema, ListPlansExpiryDurationType, ListPlansExpiryDurationType$inboundSchema, type ListPlansFeature, ListPlansFeature$inboundSchema, type ListPlansFeatureDisplay, ListPlansFeatureDisplay$inboundSchema, type ListPlansFreeTrial, ListPlansFreeTrial$inboundSchema, type ListPlansGlobals, type ListPlansItem, ListPlansItem$inboundSchema, type ListPlansItemDisplay, ListPlansItemDisplay$inboundSchema, type ListPlansItemPrice, ListPlansItemPrice$inboundSchema, type ListPlansList, ListPlansList$inboundSchema, ListPlansOnEnd, ListPlansOnEnd$inboundSchema, type ListPlansParams, type ListPlansParams$Outbound, ListPlansParams$outboundSchema, type ListPlansPrice, ListPlansPrice$inboundSchema, type ListPlansPriceDisplay, ListPlansPriceDisplay$inboundSchema, ListPlansPriceInterval, ListPlansPriceInterval$inboundSchema, ListPlansPriceItemInterval, ListPlansPriceItemInterval$inboundSchema, type ListPlansReset, ListPlansReset$inboundSchema, ListPlansResetInterval, ListPlansResetInterval$inboundSchema, type ListPlansResponse, ListPlansResponse$inboundSchema, type ListPlansRollover, ListPlansRollover$inboundSchema, ListPlansStatus, ListPlansStatus$inboundSchema, ListPlansTierBehavior, ListPlansTierBehavior$inboundSchema, ListPlansType, ListPlansType$inboundSchema, type MultiAttachAttachDiscount, type MultiAttachAttachDiscount$Outbound, MultiAttachAttachDiscount$outboundSchema, type MultiAttachBasePrice, type MultiAttachBasePrice$Outbound, MultiAttachBasePrice$outboundSchema, type MultiAttachBillingControls, type MultiAttachBillingControls$Outbound, MultiAttachBillingControls$outboundSchema, MultiAttachBillingMethod, MultiAttachBillingMethod$outboundSchema, MultiAttachCode, MultiAttachCode$inboundSchema, type MultiAttachCustomize, type MultiAttachCustomize$Outbound, MultiAttachCustomize$outboundSchema, MultiAttachDurationType, MultiAttachDurationType$outboundSchema, type MultiAttachEntityData, type MultiAttachEntityData$Outbound, MultiAttachEntityData$outboundSchema, MultiAttachExpiryDurationType, MultiAttachExpiryDurationType$outboundSchema, type MultiAttachFeatureQuantity, type MultiAttachFeatureQuantity$Outbound, MultiAttachFeatureQuantity$outboundSchema, type MultiAttachFreeTrialParams, type MultiAttachFreeTrialParams$Outbound, MultiAttachFreeTrialParams$outboundSchema, type MultiAttachGlobals, type MultiAttachInvoice, MultiAttachInvoice$inboundSchema, type MultiAttachInvoiceMode, type MultiAttachInvoiceMode$Outbound, MultiAttachInvoiceMode$outboundSchema, MultiAttachItemPriceInterval, MultiAttachItemPriceInterval$outboundSchema, MultiAttachOnDecrease, MultiAttachOnDecrease$outboundSchema, MultiAttachOnEnd, MultiAttachOnEnd$outboundSchema, MultiAttachOnIncrease, MultiAttachOnIncrease$outboundSchema, type MultiAttachOverageAllowed, type MultiAttachOverageAllowed$Outbound, MultiAttachOverageAllowed$outboundSchema, type MultiAttachParams, type MultiAttachParams$Outbound, MultiAttachParams$outboundSchema, type MultiAttachPlan, type MultiAttachPlan$Outbound, MultiAttachPlan$outboundSchema, type MultiAttachPlanItem, type MultiAttachPlanItem$Outbound, MultiAttachPlanItem$outboundSchema, type MultiAttachPrice, type MultiAttachPrice$Outbound, MultiAttachPrice$outboundSchema, MultiAttachPriceInterval, MultiAttachPriceInterval$outboundSchema, type MultiAttachProration, type MultiAttachProration$Outbound, MultiAttachProration$outboundSchema, MultiAttachRedirectMode, MultiAttachRedirectMode$outboundSchema, type MultiAttachRequiredAction, MultiAttachRequiredAction$inboundSchema, type MultiAttachReset, type MultiAttachReset$Outbound, MultiAttachReset$outboundSchema, MultiAttachResetInterval, MultiAttachResetInterval$outboundSchema, type MultiAttachResponse, MultiAttachResponse$inboundSchema, type MultiAttachRollover, type MultiAttachRollover$Outbound, MultiAttachRollover$outboundSchema, type MultiAttachSpendLimit, type MultiAttachSpendLimit$Outbound, MultiAttachSpendLimit$outboundSchema, MultiAttachThresholdType, MultiAttachThresholdType$outboundSchema, type MultiAttachTier, type MultiAttachTier$Outbound, MultiAttachTier$outboundSchema, MultiAttachTierBehavior, MultiAttachTierBehavior$outboundSchema, type MultiAttachTo, type MultiAttachTo$Outbound, MultiAttachTo$outboundSchema, type MultiAttachUsageAlert, type MultiAttachUsageAlert$Outbound, MultiAttachUsageAlert$outboundSchema, OnEnd, OnEnd$inboundSchema, type OpenCustomerPortalGlobals, type OpenCustomerPortalParams, type OpenCustomerPortalParams$Outbound, OpenCustomerPortalParams$outboundSchema, type OpenCustomerPortalResponse, OpenCustomerPortalResponse$inboundSchema, type Phase, type Phase$Outbound, Phase$outboundSchema, type PhaseRequest2, type PhaseRequest2$Outbound, PhaseRequest2$outboundSchema, type PhaseResponse, PhaseResponse$inboundSchema, type Plan, Plan$inboundSchema, PlanBillingMethod, PlanBillingMethod$inboundSchema, type PlanConfig, PlanConfig$inboundSchema, type PlanCreditSchema, PlanCreditSchema$inboundSchema, PlanDurationType, PlanDurationType$inboundSchema, PlanEnv, PlanEnv$inboundSchema, type PlanFeature, PlanFeature$inboundSchema, type PlanFeatureDisplay, PlanFeatureDisplay$inboundSchema, type PlanItemDisplay, PlanItemDisplay$inboundSchema, type PlanItemPrice, PlanItemPrice$inboundSchema, type PlanPrice, PlanPrice$inboundSchema, type PlanPriceDisplay, PlanPriceDisplay$inboundSchema, PlanPriceInterval, PlanPriceInterval$inboundSchema, PlanPriceItemInterval, PlanPriceItemInterval$inboundSchema, type PlanReset, PlanReset$inboundSchema, PlanResetInterval, PlanResetInterval$inboundSchema, type PlanRollover, PlanRollover$inboundSchema, PlanStatus, PlanStatus$inboundSchema, PlanTierBehavior, PlanTierBehavior$inboundSchema, PlanType, PlanType$inboundSchema, type Preview1, Preview1$inboundSchema, type Preview2, Preview2$inboundSchema, PreviewAttachAddItemBillingMethod, PreviewAttachAddItemBillingMethod$outboundSchema, PreviewAttachAddItemExpiryDurationType, PreviewAttachAddItemExpiryDurationType$outboundSchema, PreviewAttachAddItemOnDecrease, PreviewAttachAddItemOnDecrease$outboundSchema, PreviewAttachAddItemOnIncrease, PreviewAttachAddItemOnIncrease$outboundSchema, type PreviewAttachAddItemPlanItem, type PreviewAttachAddItemPlanItem$Outbound, PreviewAttachAddItemPlanItem$outboundSchema, type PreviewAttachAddItemPrice, type PreviewAttachAddItemPrice$Outbound, PreviewAttachAddItemPrice$outboundSchema, PreviewAttachAddItemPriceInterval, PreviewAttachAddItemPriceInterval$outboundSchema, type PreviewAttachAddItemProration, type PreviewAttachAddItemProration$Outbound, PreviewAttachAddItemProration$outboundSchema, type PreviewAttachAddItemReset, type PreviewAttachAddItemReset$Outbound, PreviewAttachAddItemReset$outboundSchema, PreviewAttachAddItemResetInterval, PreviewAttachAddItemResetInterval$outboundSchema, type PreviewAttachAddItemRollover, type PreviewAttachAddItemRollover$Outbound, PreviewAttachAddItemRollover$outboundSchema, type PreviewAttachAddItemTier, type PreviewAttachAddItemTier$Outbound, PreviewAttachAddItemTier$outboundSchema, PreviewAttachAddItemTierBehavior, PreviewAttachAddItemTierBehavior$outboundSchema, type PreviewAttachAddItemTo, type PreviewAttachAddItemTo$Outbound, PreviewAttachAddItemTo$outboundSchema, type PreviewAttachAttachDiscount, type PreviewAttachAttachDiscount$Outbound, PreviewAttachAttachDiscount$outboundSchema, type PreviewAttachBasePrice, type PreviewAttachBasePrice$Outbound, PreviewAttachBasePrice$outboundSchema, type PreviewAttachCarryOverBalances, type PreviewAttachCarryOverBalances$Outbound, PreviewAttachCarryOverBalances$outboundSchema, type PreviewAttachCarryOverUsages, type PreviewAttachCarryOverUsages$Outbound, PreviewAttachCarryOverUsages$outboundSchema, PreviewAttachCheckoutType, PreviewAttachCheckoutType$inboundSchema, type PreviewAttachCustomLineItem, type PreviewAttachCustomLineItem$Outbound, PreviewAttachCustomLineItem$outboundSchema, type PreviewAttachCustomize, type PreviewAttachCustomize$Outbound, PreviewAttachCustomize$outboundSchema, type PreviewAttachDiscount, PreviewAttachDiscount$inboundSchema, PreviewAttachDurationType, PreviewAttachDurationType$outboundSchema, type PreviewAttachFeatureQuantityRequest, type PreviewAttachFeatureQuantityRequest$Outbound, PreviewAttachFeatureQuantityRequest$outboundSchema, type PreviewAttachFreeTrialParams, type PreviewAttachFreeTrialParams$Outbound, PreviewAttachFreeTrialParams$outboundSchema, type PreviewAttachGlobals, type PreviewAttachIncoming, PreviewAttachIncoming$inboundSchema, type PreviewAttachIncomingFeatureQuantity, PreviewAttachIncomingFeatureQuantity$inboundSchema, type PreviewAttachInvoiceCredits, PreviewAttachInvoiceCredits$inboundSchema, type PreviewAttachInvoiceMode, type PreviewAttachInvoiceMode$Outbound, PreviewAttachInvoiceMode$outboundSchema, PreviewAttachItemBillingMethod, PreviewAttachItemBillingMethod$outboundSchema, PreviewAttachItemExpiryDurationType, PreviewAttachItemExpiryDurationType$outboundSchema, PreviewAttachItemOnDecrease, PreviewAttachItemOnDecrease$outboundSchema, PreviewAttachItemOnIncrease, PreviewAttachItemOnIncrease$outboundSchema, type PreviewAttachItemPlanItem, type PreviewAttachItemPlanItem$Outbound, PreviewAttachItemPlanItem$outboundSchema, type PreviewAttachItemPrice, type PreviewAttachItemPrice$Outbound, PreviewAttachItemPrice$outboundSchema, PreviewAttachItemPriceInterval, PreviewAttachItemPriceInterval$outboundSchema, type PreviewAttachItemProration, type PreviewAttachItemProration$Outbound, PreviewAttachItemProration$outboundSchema, type PreviewAttachItemReset, type PreviewAttachItemReset$Outbound, PreviewAttachItemReset$outboundSchema, PreviewAttachItemResetInterval, PreviewAttachItemResetInterval$outboundSchema, type PreviewAttachItemRollover, type PreviewAttachItemRollover$Outbound, PreviewAttachItemRollover$outboundSchema, type PreviewAttachItemTier, type PreviewAttachItemTier$Outbound, PreviewAttachItemTier$outboundSchema, PreviewAttachItemTierBehavior, PreviewAttachItemTierBehavior$outboundSchema, type PreviewAttachItemTo, type PreviewAttachItemTo$Outbound, PreviewAttachItemTo$outboundSchema, type PreviewAttachLineItem, PreviewAttachLineItem$inboundSchema, type PreviewAttachLineItemPeriod, PreviewAttachLineItemPeriod$inboundSchema, type PreviewAttachNextCycle, PreviewAttachNextCycle$inboundSchema, type PreviewAttachNextCycleDiscount, PreviewAttachNextCycleDiscount$inboundSchema, type PreviewAttachNextCycleLineItem, PreviewAttachNextCycleLineItem$inboundSchema, type PreviewAttachNextCycleLineItemPeriod, PreviewAttachNextCycleLineItemPeriod$inboundSchema, PreviewAttachOnEnd, PreviewAttachOnEnd$outboundSchema, type PreviewAttachOutgoing, PreviewAttachOutgoing$inboundSchema, type PreviewAttachOutgoingFeatureQuantity, PreviewAttachOutgoingFeatureQuantity$inboundSchema, type PreviewAttachParams, type PreviewAttachParams$Outbound, PreviewAttachParams$outboundSchema, type PreviewAttachPlanItemFilter, type PreviewAttachPlanItemFilter$Outbound, PreviewAttachPlanItemFilter$outboundSchema, PreviewAttachPlanSchedule, PreviewAttachPlanSchedule$outboundSchema, PreviewAttachPriceInterval, PreviewAttachPriceInterval$outboundSchema, PreviewAttachProrationBehavior, PreviewAttachProrationBehavior$outboundSchema, PreviewAttachRedirectMode, PreviewAttachRedirectMode$outboundSchema, PreviewAttachRemoveItemBillingMethod, PreviewAttachRemoveItemBillingMethod$outboundSchema, PreviewAttachRemoveItemInterval, PreviewAttachRemoveItemInterval$outboundSchema, type PreviewAttachResponse, PreviewAttachResponse$inboundSchema, PreviewAttachStatus, PreviewAttachStatus$inboundSchema, type PreviewAttachTax, PreviewAttachTax$inboundSchema, type PreviewAttachUsageLineItem, PreviewAttachUsageLineItem$inboundSchema, type PreviewAttachUsageLineItemPeriod, PreviewAttachUsageLineItemPeriod$inboundSchema, type PreviewMultiAttachAttachDiscount, type PreviewMultiAttachAttachDiscount$Outbound, PreviewMultiAttachAttachDiscount$outboundSchema, type PreviewMultiAttachBasePrice, type PreviewMultiAttachBasePrice$Outbound, PreviewMultiAttachBasePrice$outboundSchema, type PreviewMultiAttachBillingControls, type PreviewMultiAttachBillingControls$Outbound, PreviewMultiAttachBillingControls$outboundSchema, PreviewMultiAttachBillingMethod, PreviewMultiAttachBillingMethod$outboundSchema, PreviewMultiAttachCheckoutType, PreviewMultiAttachCheckoutType$inboundSchema, type PreviewMultiAttachCustomize, type PreviewMultiAttachCustomize$Outbound, PreviewMultiAttachCustomize$outboundSchema, type PreviewMultiAttachDiscount, PreviewMultiAttachDiscount$inboundSchema, PreviewMultiAttachDurationType, PreviewMultiAttachDurationType$outboundSchema, type PreviewMultiAttachEntityData, type PreviewMultiAttachEntityData$Outbound, PreviewMultiAttachEntityData$outboundSchema, PreviewMultiAttachExpiryDurationType, PreviewMultiAttachExpiryDurationType$outboundSchema, type PreviewMultiAttachFreeTrialParams, type PreviewMultiAttachFreeTrialParams$Outbound, PreviewMultiAttachFreeTrialParams$outboundSchema, type PreviewMultiAttachGlobals, type PreviewMultiAttachIncoming, PreviewMultiAttachIncoming$inboundSchema, type PreviewMultiAttachIncomingFeatureQuantity, PreviewMultiAttachIncomingFeatureQuantity$inboundSchema, type PreviewMultiAttachInvoiceCredits, PreviewMultiAttachInvoiceCredits$inboundSchema, type PreviewMultiAttachInvoiceMode, type PreviewMultiAttachInvoiceMode$Outbound, PreviewMultiAttachInvoiceMode$outboundSchema, PreviewMultiAttachItemPriceInterval, PreviewMultiAttachItemPriceInterval$outboundSchema, type PreviewMultiAttachLineItem, PreviewMultiAttachLineItem$inboundSchema, type PreviewMultiAttachLineItemPeriod, PreviewMultiAttachLineItemPeriod$inboundSchema, type PreviewMultiAttachNextCycle, PreviewMultiAttachNextCycle$inboundSchema, type PreviewMultiAttachNextCycleDiscount, PreviewMultiAttachNextCycleDiscount$inboundSchema, type PreviewMultiAttachNextCycleLineItem, PreviewMultiAttachNextCycleLineItem$inboundSchema, type PreviewMultiAttachNextCycleLineItemPeriod, PreviewMultiAttachNextCycleLineItemPeriod$inboundSchema, PreviewMultiAttachOnDecrease, PreviewMultiAttachOnDecrease$outboundSchema, PreviewMultiAttachOnEnd, PreviewMultiAttachOnEnd$outboundSchema, PreviewMultiAttachOnIncrease, PreviewMultiAttachOnIncrease$outboundSchema, type PreviewMultiAttachOutgoing, PreviewMultiAttachOutgoing$inboundSchema, type PreviewMultiAttachOutgoingFeatureQuantity, PreviewMultiAttachOutgoingFeatureQuantity$inboundSchema, type PreviewMultiAttachOverageAllowed, type PreviewMultiAttachOverageAllowed$Outbound, PreviewMultiAttachOverageAllowed$outboundSchema, type PreviewMultiAttachParams, type PreviewMultiAttachParams$Outbound, PreviewMultiAttachParams$outboundSchema, type PreviewMultiAttachPlan, type PreviewMultiAttachPlan$Outbound, PreviewMultiAttachPlan$outboundSchema, type PreviewMultiAttachPlanFeatureQuantity, type PreviewMultiAttachPlanFeatureQuantity$Outbound, PreviewMultiAttachPlanFeatureQuantity$outboundSchema, type PreviewMultiAttachPlanItem, type PreviewMultiAttachPlanItem$Outbound, PreviewMultiAttachPlanItem$outboundSchema, type PreviewMultiAttachPrice, type PreviewMultiAttachPrice$Outbound, PreviewMultiAttachPrice$outboundSchema, PreviewMultiAttachPriceInterval, PreviewMultiAttachPriceInterval$outboundSchema, type PreviewMultiAttachProration, type PreviewMultiAttachProration$Outbound, PreviewMultiAttachProration$outboundSchema, PreviewMultiAttachRedirectMode, PreviewMultiAttachRedirectMode$outboundSchema, type PreviewMultiAttachReset, type PreviewMultiAttachReset$Outbound, PreviewMultiAttachReset$outboundSchema, PreviewMultiAttachResetInterval, PreviewMultiAttachResetInterval$outboundSchema, type PreviewMultiAttachResponse, PreviewMultiAttachResponse$inboundSchema, type PreviewMultiAttachRollover, type PreviewMultiAttachRollover$Outbound, PreviewMultiAttachRollover$outboundSchema, type PreviewMultiAttachSpendLimit, type PreviewMultiAttachSpendLimit$Outbound, PreviewMultiAttachSpendLimit$outboundSchema, PreviewMultiAttachStatus, PreviewMultiAttachStatus$inboundSchema, type PreviewMultiAttachTax, PreviewMultiAttachTax$inboundSchema, PreviewMultiAttachThresholdType, PreviewMultiAttachThresholdType$outboundSchema, type PreviewMultiAttachTier, type PreviewMultiAttachTier$Outbound, PreviewMultiAttachTier$outboundSchema, PreviewMultiAttachTierBehavior, PreviewMultiAttachTierBehavior$outboundSchema, type PreviewMultiAttachTo, type PreviewMultiAttachTo$Outbound, PreviewMultiAttachTo$outboundSchema, type PreviewMultiAttachUsageAlert, type PreviewMultiAttachUsageAlert$Outbound, PreviewMultiAttachUsageAlert$outboundSchema, type PreviewMultiAttachUsageLineItem, PreviewMultiAttachUsageLineItem$inboundSchema, type PreviewMultiAttachUsageLineItemPeriod, PreviewMultiAttachUsageLineItemPeriod$inboundSchema, PreviewUpdateAddItemBillingMethod, PreviewUpdateAddItemBillingMethod$outboundSchema, PreviewUpdateAddItemExpiryDurationType, PreviewUpdateAddItemExpiryDurationType$outboundSchema, PreviewUpdateAddItemOnDecrease, PreviewUpdateAddItemOnDecrease$outboundSchema, PreviewUpdateAddItemOnIncrease, PreviewUpdateAddItemOnIncrease$outboundSchema, type PreviewUpdateAddItemPlanItem, type PreviewUpdateAddItemPlanItem$Outbound, PreviewUpdateAddItemPlanItem$outboundSchema, type PreviewUpdateAddItemPrice, type PreviewUpdateAddItemPrice$Outbound, PreviewUpdateAddItemPrice$outboundSchema, PreviewUpdateAddItemPriceInterval, PreviewUpdateAddItemPriceInterval$outboundSchema, type PreviewUpdateAddItemProration, type PreviewUpdateAddItemProration$Outbound, PreviewUpdateAddItemProration$outboundSchema, type PreviewUpdateAddItemReset, type PreviewUpdateAddItemReset$Outbound, PreviewUpdateAddItemReset$outboundSchema, PreviewUpdateAddItemResetInterval, PreviewUpdateAddItemResetInterval$outboundSchema, type PreviewUpdateAddItemRollover, type PreviewUpdateAddItemRollover$Outbound, PreviewUpdateAddItemRollover$outboundSchema, type PreviewUpdateAddItemTier, type PreviewUpdateAddItemTier$Outbound, PreviewUpdateAddItemTier$outboundSchema, PreviewUpdateAddItemTierBehavior, PreviewUpdateAddItemTierBehavior$outboundSchema, type PreviewUpdateAddItemTo, type PreviewUpdateAddItemTo$Outbound, PreviewUpdateAddItemTo$outboundSchema, type PreviewUpdateAttachDiscount, type PreviewUpdateAttachDiscount$Outbound, PreviewUpdateAttachDiscount$outboundSchema, type PreviewUpdateBasePrice, type PreviewUpdateBasePrice$Outbound, PreviewUpdateBasePrice$outboundSchema, PreviewUpdateCancelAction, PreviewUpdateCancelAction$outboundSchema, type PreviewUpdateCustomize, type PreviewUpdateCustomize$Outbound, PreviewUpdateCustomize$outboundSchema, type PreviewUpdateDiscount, PreviewUpdateDiscount$inboundSchema, PreviewUpdateDurationType, PreviewUpdateDurationType$outboundSchema, type PreviewUpdateFeatureQuantityRequest, type PreviewUpdateFeatureQuantityRequest$Outbound, PreviewUpdateFeatureQuantityRequest$outboundSchema, type PreviewUpdateFreeTrialParams, type PreviewUpdateFreeTrialParams$Outbound, PreviewUpdateFreeTrialParams$outboundSchema, type PreviewUpdateGlobals, type PreviewUpdateIncoming, PreviewUpdateIncoming$inboundSchema, type PreviewUpdateIncomingFeatureQuantity, PreviewUpdateIncomingFeatureQuantity$inboundSchema, type PreviewUpdateInvoiceCredits, PreviewUpdateInvoiceCredits$inboundSchema, type PreviewUpdateInvoiceMode, type PreviewUpdateInvoiceMode$Outbound, PreviewUpdateInvoiceMode$outboundSchema, PreviewUpdateItemBillingMethod, PreviewUpdateItemBillingMethod$outboundSchema, PreviewUpdateItemExpiryDurationType, PreviewUpdateItemExpiryDurationType$outboundSchema, PreviewUpdateItemOnDecrease, PreviewUpdateItemOnDecrease$outboundSchema, PreviewUpdateItemOnIncrease, PreviewUpdateItemOnIncrease$outboundSchema, type PreviewUpdateItemPlanItem, type PreviewUpdateItemPlanItem$Outbound, PreviewUpdateItemPlanItem$outboundSchema, type PreviewUpdateItemPrice, type PreviewUpdateItemPrice$Outbound, PreviewUpdateItemPrice$outboundSchema, PreviewUpdateItemPriceInterval, PreviewUpdateItemPriceInterval$outboundSchema, type PreviewUpdateItemProration, type PreviewUpdateItemProration$Outbound, PreviewUpdateItemProration$outboundSchema, type PreviewUpdateItemReset, type PreviewUpdateItemReset$Outbound, PreviewUpdateItemReset$outboundSchema, PreviewUpdateItemResetInterval, PreviewUpdateItemResetInterval$outboundSchema, type PreviewUpdateItemRollover, type PreviewUpdateItemRollover$Outbound, PreviewUpdateItemRollover$outboundSchema, type PreviewUpdateItemTier, type PreviewUpdateItemTier$Outbound, PreviewUpdateItemTier$outboundSchema, PreviewUpdateItemTierBehavior, PreviewUpdateItemTierBehavior$outboundSchema, type PreviewUpdateItemTo, type PreviewUpdateItemTo$Outbound, PreviewUpdateItemTo$outboundSchema, type PreviewUpdateLineItem, PreviewUpdateLineItem$inboundSchema, type PreviewUpdateLineItemPeriod, PreviewUpdateLineItemPeriod$inboundSchema, type PreviewUpdateNextCycle, PreviewUpdateNextCycle$inboundSchema, type PreviewUpdateNextCycleDiscount, PreviewUpdateNextCycleDiscount$inboundSchema, type PreviewUpdateNextCycleLineItem, PreviewUpdateNextCycleLineItem$inboundSchema, type PreviewUpdateNextCycleLineItemPeriod, PreviewUpdateNextCycleLineItemPeriod$inboundSchema, PreviewUpdateOnEnd, PreviewUpdateOnEnd$outboundSchema, type PreviewUpdateOutgoing, PreviewUpdateOutgoing$inboundSchema, type PreviewUpdateOutgoingFeatureQuantity, PreviewUpdateOutgoingFeatureQuantity$inboundSchema, type PreviewUpdateParams, type PreviewUpdateParams$Outbound, PreviewUpdateParams$outboundSchema, type PreviewUpdatePlanItemFilter, type PreviewUpdatePlanItemFilter$Outbound, PreviewUpdatePlanItemFilter$outboundSchema, PreviewUpdatePriceInterval, PreviewUpdatePriceInterval$outboundSchema, PreviewUpdateProrationBehavior, PreviewUpdateProrationBehavior$outboundSchema, type PreviewUpdateRecalculateBalances, type PreviewUpdateRecalculateBalances$Outbound, PreviewUpdateRecalculateBalances$outboundSchema, PreviewUpdateRedirectMode, PreviewUpdateRedirectMode$outboundSchema, PreviewUpdateRemoveItemBillingMethod, PreviewUpdateRemoveItemBillingMethod$outboundSchema, PreviewUpdateRemoveItemInterval, PreviewUpdateRemoveItemInterval$outboundSchema, type PreviewUpdateResponse, PreviewUpdateResponse$inboundSchema, PreviewUpdateStatus, PreviewUpdateStatus$inboundSchema, type PreviewUpdateTax, PreviewUpdateTax$inboundSchema, type PreviewUpdateUsageLineItem, PreviewUpdateUsageLineItem$inboundSchema, type PreviewUpdateUsageLineItemPeriod, PreviewUpdateUsageLineItemPeriod$inboundSchema, ProcessorType, ProcessorType$inboundSchema, type Processors, Processors$inboundSchema, type ProductDisplay1, ProductDisplay1$inboundSchema, type ProductDisplay2, ProductDisplay2$inboundSchema, ProductScenario1, ProductScenario1$inboundSchema, ProductScenario2, ProductScenario2$inboundSchema, ProductType1, ProductType1$inboundSchema, ProductType2, ProductType2$inboundSchema, type Properties1, Properties1$inboundSchema, type Properties2, Properties2$inboundSchema, type Purchase, Purchase$inboundSchema, PurchaseScope, PurchaseScope$inboundSchema, Range, Range$outboundSchema, type RedeemReferralCodeGlobals, type RedeemReferralCodeParams, type RedeemReferralCodeParams$Outbound, RedeemReferralCodeParams$outboundSchema, type RedeemReferralCodeResponse, RedeemReferralCodeResponse$inboundSchema, type RedeemRewardCodeGlobals, type RedeemRewardCodeParams, type RedeemRewardCodeParams$Outbound, RedeemRewardCodeParams$outboundSchema, type RedeemRewardCodeResponse, RedeemRewardCodeResponse$inboundSchema, type Referral, Referral$inboundSchema, type ReferralCustomer, ReferralCustomer$inboundSchema, RequestAbortedError, type RequestBody, type RequestBody$Outbound, RequestBody$outboundSchema, RequestTimeoutError, ResponseValidationError, type Result, Result$inboundSchema, type Revenuecat, Revenuecat$inboundSchema, type Rewards$1 as Rewards, Rewards$inboundSchema, type SDKOptions, SDKValidationError, SDK_METADATA, Scenario1, Scenario1$inboundSchema, Scenario2, Scenario2$inboundSchema, type Security, type Security$Outbound, Security$outboundSchema, ServerList, SetupPaymentAddItemBillingMethod, SetupPaymentAddItemBillingMethod$outboundSchema, SetupPaymentAddItemExpiryDurationType, SetupPaymentAddItemExpiryDurationType$outboundSchema, SetupPaymentAddItemOnDecrease, SetupPaymentAddItemOnDecrease$outboundSchema, SetupPaymentAddItemOnIncrease, SetupPaymentAddItemOnIncrease$outboundSchema, type SetupPaymentAddItemPlanItem, type SetupPaymentAddItemPlanItem$Outbound, SetupPaymentAddItemPlanItem$outboundSchema, type SetupPaymentAddItemPrice, type SetupPaymentAddItemPrice$Outbound, SetupPaymentAddItemPrice$outboundSchema, SetupPaymentAddItemPriceInterval, SetupPaymentAddItemPriceInterval$outboundSchema, type SetupPaymentAddItemProration, type SetupPaymentAddItemProration$Outbound, SetupPaymentAddItemProration$outboundSchema, type SetupPaymentAddItemReset, type SetupPaymentAddItemReset$Outbound, SetupPaymentAddItemReset$outboundSchema, SetupPaymentAddItemResetInterval, SetupPaymentAddItemResetInterval$outboundSchema, type SetupPaymentAddItemRollover, type SetupPaymentAddItemRollover$Outbound, SetupPaymentAddItemRollover$outboundSchema, type SetupPaymentAddItemTier, type SetupPaymentAddItemTier$Outbound, SetupPaymentAddItemTier$outboundSchema, SetupPaymentAddItemTierBehavior, SetupPaymentAddItemTierBehavior$outboundSchema, type SetupPaymentAddItemTo, type SetupPaymentAddItemTo$Outbound, SetupPaymentAddItemTo$outboundSchema, type SetupPaymentAttachDiscount, type SetupPaymentAttachDiscount$Outbound, SetupPaymentAttachDiscount$outboundSchema, type SetupPaymentBasePrice, type SetupPaymentBasePrice$Outbound, SetupPaymentBasePrice$outboundSchema, type SetupPaymentCarryOverBalances, type SetupPaymentCarryOverBalances$Outbound, SetupPaymentCarryOverBalances$outboundSchema, type SetupPaymentCarryOverUsages, type SetupPaymentCarryOverUsages$Outbound, SetupPaymentCarryOverUsages$outboundSchema, type SetupPaymentCustomLineItem, type SetupPaymentCustomLineItem$Outbound, SetupPaymentCustomLineItem$outboundSchema, type SetupPaymentCustomize, type SetupPaymentCustomize$Outbound, SetupPaymentCustomize$outboundSchema, SetupPaymentDurationType, SetupPaymentDurationType$outboundSchema, type SetupPaymentFeatureQuantity, type SetupPaymentFeatureQuantity$Outbound, SetupPaymentFeatureQuantity$outboundSchema, type SetupPaymentFreeTrialParams, type SetupPaymentFreeTrialParams$Outbound, SetupPaymentFreeTrialParams$outboundSchema, type SetupPaymentGlobals, SetupPaymentItemBillingMethod, SetupPaymentItemBillingMethod$outboundSchema, SetupPaymentItemExpiryDurationType, SetupPaymentItemExpiryDurationType$outboundSchema, SetupPaymentItemOnDecrease, SetupPaymentItemOnDecrease$outboundSchema, SetupPaymentItemOnIncrease, SetupPaymentItemOnIncrease$outboundSchema, type SetupPaymentItemPlanItem, type SetupPaymentItemPlanItem$Outbound, SetupPaymentItemPlanItem$outboundSchema, type SetupPaymentItemPrice, type SetupPaymentItemPrice$Outbound, SetupPaymentItemPrice$outboundSchema, SetupPaymentItemPriceInterval, SetupPaymentItemPriceInterval$outboundSchema, type SetupPaymentItemProration, type SetupPaymentItemProration$Outbound, SetupPaymentItemProration$outboundSchema, type SetupPaymentItemReset, type SetupPaymentItemReset$Outbound, SetupPaymentItemReset$outboundSchema, SetupPaymentItemResetInterval, SetupPaymentItemResetInterval$outboundSchema, type SetupPaymentItemRollover, type SetupPaymentItemRollover$Outbound, SetupPaymentItemRollover$outboundSchema, type SetupPaymentItemTier, type SetupPaymentItemTier$Outbound, SetupPaymentItemTier$outboundSchema, SetupPaymentItemTierBehavior, SetupPaymentItemTierBehavior$outboundSchema, type SetupPaymentItemTo, type SetupPaymentItemTo$Outbound, SetupPaymentItemTo$outboundSchema, SetupPaymentOnEnd, SetupPaymentOnEnd$outboundSchema, type SetupPaymentParams, type SetupPaymentParams$Outbound, SetupPaymentParams$outboundSchema, type SetupPaymentPlanItemFilter, type SetupPaymentPlanItemFilter$Outbound, SetupPaymentPlanItemFilter$outboundSchema, SetupPaymentPriceInterval, SetupPaymentPriceInterval$outboundSchema, SetupPaymentProrationBehavior, SetupPaymentProrationBehavior$outboundSchema, SetupPaymentRemoveItemBillingMethod, SetupPaymentRemoveItemBillingMethod$outboundSchema, SetupPaymentRemoveItemInterval, SetupPaymentRemoveItemInterval$outboundSchema, type SetupPaymentResponse, SetupPaymentResponse$inboundSchema, StorePush, StorePush$inboundSchema, type Stripe, Stripe$inboundSchema, type Subscription, Subscription$inboundSchema, SubscriptionScope, SubscriptionScope$inboundSchema, type SyncRevenueCatApp, SyncRevenueCatApp$inboundSchema, SyncRevenueCatEnv, SyncRevenueCatEnv$outboundSchema, type SyncRevenueCatGlobals, type SyncRevenueCatParams, type SyncRevenueCatParams$Outbound, SyncRevenueCatParams$outboundSchema, SyncRevenueCatPrice, SyncRevenueCatPrice$inboundSchema, SyncRevenueCatProduct, SyncRevenueCatProduct$inboundSchema, type SyncRevenueCatResponse, SyncRevenueCatResponse$inboundSchema, SyncRevenueCatStatus, SyncRevenueCatStatus$inboundSchema, type Total, Total$inboundSchema, type TrackGlobals, TrackIntervalEnum1, TrackIntervalEnum1$inboundSchema, TrackIntervalEnum2, TrackIntervalEnum2$inboundSchema, type TrackIntervalUnion1, TrackIntervalUnion1$inboundSchema, type TrackIntervalUnion2, TrackIntervalUnion2$inboundSchema, type TrackLock, type TrackLock$Outbound, TrackLock$outboundSchema, type TrackParams, type TrackParams$Outbound, TrackParams$outboundSchema, type TrackReset1, TrackReset1$inboundSchema, type TrackReset2, TrackReset2$inboundSchema, type TrackResponse, TrackResponse$inboundSchema, type TrackResponseBody1, TrackResponseBody1$inboundSchema, type TrackResponseBody2, TrackResponseBody2$inboundSchema, type TrialsUsed, TrialsUsed$inboundSchema, UnexpectedClientError, type UpdateBalanceGlobals, UpdateBalanceInterval, UpdateBalanceInterval$outboundSchema, type UpdateBalanceParams, type UpdateBalanceParams$Outbound, UpdateBalanceParams$outboundSchema, type UpdateBalanceResponse, UpdateBalanceResponse$inboundSchema, type UpdateCustomerAutoTopupRequest, type UpdateCustomerAutoTopupRequest$Outbound, UpdateCustomerAutoTopupRequest$outboundSchema, type UpdateCustomerAutoTopupResponse, UpdateCustomerAutoTopupResponse$inboundSchema, type UpdateCustomerBillingControlsRequest, type UpdateCustomerBillingControlsRequest$Outbound, UpdateCustomerBillingControlsRequest$outboundSchema, type UpdateCustomerBillingControlsResponse, UpdateCustomerBillingControlsResponse$inboundSchema, type UpdateCustomerConfigRequest, type UpdateCustomerConfigRequest$Outbound, UpdateCustomerConfigRequest$outboundSchema, type UpdateCustomerConfigResponse, UpdateCustomerConfigResponse$inboundSchema, type UpdateCustomerCreditSchema, UpdateCustomerCreditSchema$inboundSchema, type UpdateCustomerDisplay, UpdateCustomerDisplay$inboundSchema, UpdateCustomerEnv, UpdateCustomerEnv$inboundSchema, type UpdateCustomerFeature, UpdateCustomerFeature$inboundSchema, type UpdateCustomerFlags, UpdateCustomerFlags$inboundSchema, type UpdateCustomerGlobals, UpdateCustomerIntervalRequest, UpdateCustomerIntervalRequest$outboundSchema, UpdateCustomerIntervalResponse1, UpdateCustomerIntervalResponse1$inboundSchema, UpdateCustomerIntervalResponse2, UpdateCustomerIntervalResponse2$inboundSchema, type UpdateCustomerOverageAllowedRequest, type UpdateCustomerOverageAllowedRequest$Outbound, UpdateCustomerOverageAllowedRequest$outboundSchema, type UpdateCustomerOverageAllowedResponse, UpdateCustomerOverageAllowedResponse$inboundSchema, type UpdateCustomerParams, type UpdateCustomerParams$Outbound, UpdateCustomerParams$outboundSchema, type UpdateCustomerProcessors, UpdateCustomerProcessors$inboundSchema, type UpdateCustomerPurchase, UpdateCustomerPurchase$inboundSchema, type UpdateCustomerPurchaseLimitRequest, type UpdateCustomerPurchaseLimitRequest$Outbound, UpdateCustomerPurchaseLimitRequest$outboundSchema, type UpdateCustomerPurchaseLimitResponse1, UpdateCustomerPurchaseLimitResponse1$inboundSchema, type UpdateCustomerPurchaseLimitResponse2, UpdateCustomerPurchaseLimitResponse2$inboundSchema, type UpdateCustomerPurchaseLimitUnion, UpdateCustomerPurchaseLimitUnion$inboundSchema, UpdateCustomerPurchaseScope, UpdateCustomerPurchaseScope$inboundSchema, type UpdateCustomerResponse, UpdateCustomerResponse$inboundSchema, type UpdateCustomerRevenuecat, UpdateCustomerRevenuecat$inboundSchema, type UpdateCustomerSpendLimitRequest, type UpdateCustomerSpendLimitRequest$Outbound, UpdateCustomerSpendLimitRequest$outboundSchema, type UpdateCustomerSpendLimitResponse, UpdateCustomerSpendLimitResponse$inboundSchema, UpdateCustomerStatus, UpdateCustomerStatus$inboundSchema, type UpdateCustomerStripe, UpdateCustomerStripe$inboundSchema, type UpdateCustomerSubscription, UpdateCustomerSubscription$inboundSchema, UpdateCustomerSubscriptionScope, UpdateCustomerSubscriptionScope$inboundSchema, UpdateCustomerThresholdTypeRequestBody, UpdateCustomerThresholdTypeRequestBody$outboundSchema, UpdateCustomerThresholdTypeResponse, UpdateCustomerThresholdTypeResponse$inboundSchema, UpdateCustomerType, UpdateCustomerType$inboundSchema, type UpdateCustomerUsageAlertRequestBody, type UpdateCustomerUsageAlertRequestBody$Outbound, UpdateCustomerUsageAlertRequestBody$outboundSchema, type UpdateCustomerUsageAlertResponse, UpdateCustomerUsageAlertResponse$inboundSchema, type UpdateCustomerVercel, UpdateCustomerVercel$inboundSchema, type UpdateEntityBillingControlsRequest, type UpdateEntityBillingControlsRequest$Outbound, UpdateEntityBillingControlsRequest$outboundSchema, type UpdateEntityBillingControlsResponse, UpdateEntityBillingControlsResponse$inboundSchema, type UpdateEntityCreditSchema, UpdateEntityCreditSchema$inboundSchema, type UpdateEntityDisplay, UpdateEntityDisplay$inboundSchema, UpdateEntityEnv, UpdateEntityEnv$inboundSchema, type UpdateEntityFeature, UpdateEntityFeature$inboundSchema, type UpdateEntityFlags, UpdateEntityFlags$inboundSchema, type UpdateEntityGlobals, type UpdateEntityInvoice, UpdateEntityInvoice$inboundSchema, type UpdateEntityOverageAllowedRequest, type UpdateEntityOverageAllowedRequest$Outbound, UpdateEntityOverageAllowedRequest$outboundSchema, type UpdateEntityOverageAllowedResponse, UpdateEntityOverageAllowedResponse$inboundSchema, type UpdateEntityParams, type UpdateEntityParams$Outbound, UpdateEntityParams$outboundSchema, UpdateEntityProcessorType, UpdateEntityProcessorType$inboundSchema, type UpdateEntityPurchase, UpdateEntityPurchase$inboundSchema, UpdateEntityPurchaseScope, UpdateEntityPurchaseScope$inboundSchema, type UpdateEntityResponse, UpdateEntityResponse$inboundSchema, type UpdateEntitySpendLimitRequest, type UpdateEntitySpendLimitRequest$Outbound, UpdateEntitySpendLimitRequest$outboundSchema, type UpdateEntitySpendLimitResponse, UpdateEntitySpendLimitResponse$inboundSchema, UpdateEntityStatus, UpdateEntityStatus$inboundSchema, type UpdateEntitySubscription, UpdateEntitySubscription$inboundSchema, UpdateEntitySubscriptionScope, UpdateEntitySubscriptionScope$inboundSchema, UpdateEntityThresholdTypeRequestBody, UpdateEntityThresholdTypeRequestBody$outboundSchema, UpdateEntityThresholdTypeResponse, UpdateEntityThresholdTypeResponse$inboundSchema, UpdateEntityType, UpdateEntityType$inboundSchema, type UpdateEntityUsageAlertRequestBody, type UpdateEntityUsageAlertRequestBody$Outbound, UpdateEntityUsageAlertRequestBody$outboundSchema, type UpdateEntityUsageAlertResponse, UpdateEntityUsageAlertResponse$inboundSchema, type UpdateFeatureCreditSchemaRequest, type UpdateFeatureCreditSchemaRequest$Outbound, UpdateFeatureCreditSchemaRequest$outboundSchema, type UpdateFeatureCreditSchemaResponse, UpdateFeatureCreditSchemaResponse$inboundSchema, type UpdateFeatureDisplayRequest, type UpdateFeatureDisplayRequest$Outbound, UpdateFeatureDisplayRequest$outboundSchema, type UpdateFeatureDisplayResponse, UpdateFeatureDisplayResponse$inboundSchema, type UpdateFeatureGlobals, type UpdateFeatureParams, type UpdateFeatureParams$Outbound, UpdateFeatureParams$outboundSchema, type UpdateFeatureResponse, UpdateFeatureResponse$inboundSchema, UpdateFeatureTypeRequest, UpdateFeatureTypeRequest$outboundSchema, UpdateFeatureTypeResponse, UpdateFeatureTypeResponse$inboundSchema, UpdatePlanAttachAction, UpdatePlanAttachAction$inboundSchema, type UpdatePlanBasePrice, type UpdatePlanBasePrice$Outbound, UpdatePlanBasePrice$outboundSchema, UpdatePlanBillingMethodRequest, UpdatePlanBillingMethodRequest$outboundSchema, UpdatePlanBillingMethodResponse, UpdatePlanBillingMethodResponse$inboundSchema, type UpdatePlanConfigRequest, type UpdatePlanConfigRequest$Outbound, UpdatePlanConfigRequest$outboundSchema, type UpdatePlanConfigResponse, UpdatePlanConfigResponse$inboundSchema, type UpdatePlanCreditSchema, UpdatePlanCreditSchema$inboundSchema, type UpdatePlanCustomerEligibility, UpdatePlanCustomerEligibility$inboundSchema, UpdatePlanDurationTypeRequest, UpdatePlanDurationTypeRequest$outboundSchema, UpdatePlanDurationTypeResponse, UpdatePlanDurationTypeResponse$inboundSchema, UpdatePlanEnv, UpdatePlanEnv$inboundSchema, UpdatePlanExpiryDurationTypeRequest, UpdatePlanExpiryDurationTypeRequest$outboundSchema, UpdatePlanExpiryDurationTypeResponse, UpdatePlanExpiryDurationTypeResponse$inboundSchema, type UpdatePlanFeature, UpdatePlanFeature$inboundSchema, type UpdatePlanFeatureDisplay, UpdatePlanFeatureDisplay$inboundSchema, type UpdatePlanFreeTrial, UpdatePlanFreeTrial$inboundSchema, type UpdatePlanFreeTrialParams, type UpdatePlanFreeTrialParams$Outbound, UpdatePlanFreeTrialParams$outboundSchema, type UpdatePlanGlobals, type UpdatePlanItem, UpdatePlanItem$inboundSchema, type UpdatePlanItemDisplay, UpdatePlanItemDisplay$inboundSchema, UpdatePlanItemPriceIntervalRequest, UpdatePlanItemPriceIntervalRequest$outboundSchema, type UpdatePlanItemPriceResponse, UpdatePlanItemPriceResponse$inboundSchema, UpdatePlanOnDecrease, UpdatePlanOnDecrease$outboundSchema, UpdatePlanOnEndRequest, UpdatePlanOnEndRequest$outboundSchema, UpdatePlanOnEndResponse, UpdatePlanOnEndResponse$inboundSchema, UpdatePlanOnIncrease, UpdatePlanOnIncrease$outboundSchema, type UpdatePlanParams, type UpdatePlanParams$Outbound, UpdatePlanParams$outboundSchema, type UpdatePlanPlanItem, type UpdatePlanPlanItem$Outbound, UpdatePlanPlanItem$outboundSchema, type UpdatePlanPriceDisplay, UpdatePlanPriceDisplay$inboundSchema, UpdatePlanPriceIntervalRequest, UpdatePlanPriceIntervalRequest$outboundSchema, UpdatePlanPriceIntervalResponse, UpdatePlanPriceIntervalResponse$inboundSchema, UpdatePlanPriceItemIntervalResponse, UpdatePlanPriceItemIntervalResponse$inboundSchema, type UpdatePlanPriceRequest, type UpdatePlanPriceRequest$Outbound, UpdatePlanPriceRequest$outboundSchema, type UpdatePlanPriceResponse, UpdatePlanPriceResponse$inboundSchema, type UpdatePlanProration, type UpdatePlanProration$Outbound, UpdatePlanProration$outboundSchema, UpdatePlanResetIntervalRequest, UpdatePlanResetIntervalRequest$outboundSchema, UpdatePlanResetIntervalResponse, UpdatePlanResetIntervalResponse$inboundSchema, type UpdatePlanResetRequest, type UpdatePlanResetRequest$Outbound, UpdatePlanResetRequest$outboundSchema, type UpdatePlanResetResponse, UpdatePlanResetResponse$inboundSchema, type UpdatePlanResponse, UpdatePlanResponse$inboundSchema, type UpdatePlanRolloverRequest, type UpdatePlanRolloverRequest$Outbound, UpdatePlanRolloverRequest$outboundSchema, type UpdatePlanRolloverResponse, UpdatePlanRolloverResponse$inboundSchema, UpdatePlanStatus, UpdatePlanStatus$inboundSchema, type UpdatePlanTier, type UpdatePlanTier$Outbound, UpdatePlanTier$outboundSchema, UpdatePlanTierBehaviorRequest, UpdatePlanTierBehaviorRequest$outboundSchema, UpdatePlanTierBehaviorResponse, UpdatePlanTierBehaviorResponse$inboundSchema, type UpdatePlanTo, type UpdatePlanTo$Outbound, UpdatePlanTo$outboundSchema, UpdatePlanType, UpdatePlanType$inboundSchema, type UpdateSubscriptionParams, type UpdateSubscriptionParams$Outbound, UpdateSubscriptionParams$outboundSchema, UsageModel1, UsageModel1$inboundSchema, UsageModel2, UsageModel2$inboundSchema, type Vercel, Vercel$inboundSchema, aggregateEventsCustomRangeToJSON, aggregateEventsFeatureIdToJSON, aggregateEventsListFromJSON, aggregateEventsResponseFromJSON, apiKeyFromJSON, attachAddItemPlanItemToJSON, attachAddItemPriceToJSON, attachAddItemProrationToJSON, attachAddItemResetToJSON, attachAddItemRolloverToJSON, attachAddItemTierToJSON, attachAddItemToToJSON, attachAttachDiscountToJSON, attachBasePriceToJSON, attachCarryOverBalancesToJSON, attachCarryOverUsagesToJSON, attachCustomLineItemToJSON, attachCustomizeToJSON, attachFeatureQuantityToJSON, attachFreeTrialParamsToJSON, attachInvoiceFromJSON, attachInvoiceModeToJSON, attachItemPlanItemToJSON, attachItemPriceToJSON, attachItemProrationToJSON, attachItemResetToJSON, attachItemRolloverToJSON, attachItemTierToJSON, attachItemToToJSON, attachParamsToJSON, attachPlanItemFilterToJSON, attachRequiredActionFromJSON, attachResponseFromJSON, balanceCreditSchemaFromJSON, balanceDisplayFromJSON, balanceFeatureFromJSON, balanceFromJSON, balanceIntervalUnionFromJSON, balancePriceFromJSON, balanceResetFromJSON, balanceRolloverFromJSON, batchTrackLockToJSON, batchTrackResponseFromJSON, billingUpdateAddItemPlanItemToJSON, billingUpdateAddItemPriceToJSON, billingUpdateAddItemProrationToJSON, billingUpdateAddItemResetToJSON, billingUpdateAddItemRolloverToJSON, billingUpdateAddItemTierToJSON, billingUpdateAddItemToToJSON, billingUpdateAttachDiscountToJSON, billingUpdateBasePriceToJSON, billingUpdateCustomizeToJSON, billingUpdateFeatureQuantityToJSON, billingUpdateFreeTrialParamsToJSON, billingUpdateInvoiceFromJSON, billingUpdateInvoiceModeToJSON, billingUpdateItemPlanItemToJSON, billingUpdateItemPriceToJSON, billingUpdateItemProrationToJSON, billingUpdateItemResetToJSON, billingUpdateItemRolloverToJSON, billingUpdateItemTierToJSON, billingUpdateItemToToJSON, billingUpdatePlanItemFilterToJSON, billingUpdateRecalculateBalancesToJSON, billingUpdateRequiredActionFromJSON, billingUpdateResponseFromJSON, breakdownFromJSON, checkConfig1FromJSON, checkConfig2FromJSON, checkCreditSchema1FromJSON, checkCreditSchema2FromJSON, checkFeature1FromJSON, checkFeature2FromJSON, checkFreeTrial1FromJSON, checkFreeTrial2FromJSON, checkItem1FromJSON, checkItem2FromJSON, checkLockToJSON, checkParamsToJSON, checkProduct1FromJSON, checkProduct2FromJSON, 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, createScheduleAttachDiscountToJSON, createScheduleBasePrice2ToJSON, createScheduleCustomize2ToJSON, createScheduleFeatureQuantity2ToJSON, createScheduleInvoiceFromJSON, createScheduleInvoiceModeToJSON, createScheduleParamsToJSON, createSchedulePlan2ToJSON, createSchedulePlanItem2ToJSON, createSchedulePrice2ToJSON, createScheduleProration2ToJSON, createScheduleRequiredActionFromJSON, createScheduleReset2ToJSON, createScheduleResponseFromJSON, createScheduleRollover2ToJSON, createScheduleTier2ToJSON, customerAutoTopupFromJSON, customerBillingControlsFromJSON, customerConfigFromJSON, customerCreditSchemaFromJSON, customerDataAutoTopupToJSON, customerDataBillingControlsToJSON, customerDataConfigToJSON, customerDataOverageAllowedToJSON, customerDataPurchaseLimitToJSON, customerDataSpendLimitToJSON, customerDataToJSON, customerDataUsageAlertToJSON, customerDisplayFromJSON, customerEligibilityFromJSON, customerFeatureFromJSON, customerFromJSON, customerOverageAllowedFromJSON, customerPurchaseLimit1FromJSON, customerPurchaseLimit2FromJSON, customerPurchaseLimitUnionFromJSON, customerSpendLimitFromJSON, customerUsageAlertFromJSON, deduction1FromJSON, deduction2FromJSON, deductionsFromJSON, deleteBalanceParamsToJSON, deleteBalanceResponseFromJSON, deleteCustomerParamsToJSON, deleteCustomerResponseFromJSON, deleteEntityParamsToJSON, deleteEntityResponseFromJSON, deleteFeatureParamsToJSON, deleteFeatureResponseFromJSON, deletePlanParamsToJSON, deletePlanResponseFromJSON, discountFromJSON, entitlementsGrantedFromJSON, entityFromJSON, eventsAggregateParamsToJSON, eventsListParamsToJSON, files, finalizeBalanceParamsToJSON, finalizeLockResponseBody1FromJSON, finalizeLockResponseBody2FromJSON, finalizeLockResponseFromJSON, flag1FromJSON, flag2FromJSON, flagDisplay1FromJSON, flagDisplay2FromJSON, flagsFromJSON, formatZodError, freeTrialFromJSON, freeTrialRequestToJSON, getCustomerAutoTopupFromJSON, getCustomerBillingControlsFromJSON, getCustomerConfigFromJSON, getCustomerCreditSchemaFromJSON, getCustomerCustomerFromJSON, getCustomerDiscountFromJSON, getCustomerDisplayFromJSON, getCustomerEntityFromJSON, getCustomerFeatureFromJSON, getCustomerFlagsFromJSON, getCustomerInvoiceFromJSON, getCustomerOverageAllowedFromJSON, getCustomerParamsToJSON, getCustomerProcessorsFromJSON, getCustomerPurchaseFromJSON, getCustomerPurchaseLimit1FromJSON, getCustomerPurchaseLimit2FromJSON, getCustomerPurchaseLimitUnionFromJSON, getCustomerReferralFromJSON, getCustomerResponseFromJSON, getCustomerRevenuecatFromJSON, getCustomerRewardsFromJSON, getCustomerSpendLimitFromJSON, getCustomerStripeFromJSON, getCustomerSubscriptionFromJSON, getCustomerTrialsUsedFromJSON, getCustomerUsageAlertFromJSON, getCustomerVercelFromJSON, 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, getRevenueCatKeysAppFromJSON, getRevenueCatKeysParamsToJSON, getRevenueCatKeysResponseFromJSON, includedUsage1FromJSON, includedUsage2FromJSON, invoiceFromJSON, itemFromJSON, linkRevenueCatParamsToJSON, linkRevenueCatResponseFromJSON, listCustomersAutoTopupFromJSON, listCustomersBillingControlsFromJSON, listCustomersConfigFromJSON, listCustomersCreditSchemaFromJSON, listCustomersDisplayFromJSON, listCustomersFeatureFromJSON, listCustomersFlagsFromJSON, listCustomersListFromJSON, listCustomersOverageAllowedFromJSON, listCustomersParamsToJSON, listCustomersPlanToJSON, listCustomersProcessorsFromJSON, listCustomersPurchaseFromJSON, listCustomersPurchaseLimit1FromJSON, listCustomersPurchaseLimit2FromJSON, listCustomersPurchaseLimitUnionFromJSON, listCustomersResponseFromJSON, listCustomersRevenuecatFromJSON, listCustomersSpendLimitFromJSON, listCustomersStripeFromJSON, listCustomersSubscriptionFromJSON, listCustomersUsageAlertFromJSON, listCustomersVercelFromJSON, listEntitiesBillingControlsFromJSON, listEntitiesCreditSchemaFromJSON, listEntitiesDisplayFromJSON, listEntitiesFeatureFromJSON, listEntitiesFlagsFromJSON, listEntitiesInvoiceFromJSON, listEntitiesListFromJSON, listEntitiesOverageAllowedFromJSON, listEntitiesParamsToJSON, listEntitiesPlanToJSON, listEntitiesPurchaseFromJSON, listEntitiesResponseFromJSON, listEntitiesSpendLimitFromJSON, listEntitiesSubscriptionFromJSON, listEntitiesUsageAlertFromJSON, listEventsCustomRangeToJSON, listEventsFeatureIdToJSON, listEventsIntervalUnionFromJSON, listEventsListFromJSON, listEventsResetFromJSON, 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, phaseRequest2ToJSON, phaseResponseFromJSON, phaseToJSON, planConfigFromJSON, planCreditSchemaFromJSON, planFeatureDisplayFromJSON, planFeatureFromJSON, planFromJSON, planItemDisplayFromJSON, planItemPriceFromJSON, planPriceDisplayFromJSON, planPriceFromJSON, planResetFromJSON, planRolloverFromJSON, preview1FromJSON, preview2FromJSON, previewAttachAddItemPlanItemToJSON, previewAttachAddItemPriceToJSON, previewAttachAddItemProrationToJSON, previewAttachAddItemResetToJSON, previewAttachAddItemRolloverToJSON, previewAttachAddItemTierToJSON, previewAttachAddItemToToJSON, previewAttachAttachDiscountToJSON, previewAttachBasePriceToJSON, previewAttachCarryOverBalancesToJSON, previewAttachCarryOverUsagesToJSON, previewAttachCustomLineItemToJSON, previewAttachCustomizeToJSON, previewAttachDiscountFromJSON, previewAttachFeatureQuantityRequestToJSON, previewAttachFreeTrialParamsToJSON, previewAttachIncomingFeatureQuantityFromJSON, previewAttachIncomingFromJSON, previewAttachInvoiceCreditsFromJSON, previewAttachInvoiceModeToJSON, previewAttachItemPlanItemToJSON, previewAttachItemPriceToJSON, previewAttachItemProrationToJSON, previewAttachItemResetToJSON, previewAttachItemRolloverToJSON, previewAttachItemTierToJSON, previewAttachItemToToJSON, previewAttachLineItemFromJSON, previewAttachLineItemPeriodFromJSON, previewAttachNextCycleDiscountFromJSON, previewAttachNextCycleFromJSON, previewAttachNextCycleLineItemFromJSON, previewAttachNextCycleLineItemPeriodFromJSON, previewAttachOutgoingFeatureQuantityFromJSON, previewAttachOutgoingFromJSON, previewAttachParamsToJSON, previewAttachPlanItemFilterToJSON, previewAttachResponseFromJSON, previewAttachTaxFromJSON, previewAttachUsageLineItemFromJSON, previewAttachUsageLineItemPeriodFromJSON, previewMultiAttachAttachDiscountToJSON, previewMultiAttachBasePriceToJSON, previewMultiAttachBillingControlsToJSON, previewMultiAttachCustomizeToJSON, previewMultiAttachDiscountFromJSON, previewMultiAttachEntityDataToJSON, previewMultiAttachFreeTrialParamsToJSON, previewMultiAttachIncomingFeatureQuantityFromJSON, previewMultiAttachIncomingFromJSON, previewMultiAttachInvoiceCreditsFromJSON, 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, previewUpdateAddItemPlanItemToJSON, previewUpdateAddItemPriceToJSON, previewUpdateAddItemProrationToJSON, previewUpdateAddItemResetToJSON, previewUpdateAddItemRolloverToJSON, previewUpdateAddItemTierToJSON, previewUpdateAddItemToToJSON, previewUpdateAttachDiscountToJSON, previewUpdateBasePriceToJSON, previewUpdateCustomizeToJSON, previewUpdateDiscountFromJSON, previewUpdateFeatureQuantityRequestToJSON, previewUpdateFreeTrialParamsToJSON, previewUpdateIncomingFeatureQuantityFromJSON, previewUpdateIncomingFromJSON, previewUpdateInvoiceCreditsFromJSON, previewUpdateInvoiceModeToJSON, previewUpdateItemPlanItemToJSON, previewUpdateItemPriceToJSON, previewUpdateItemProrationToJSON, previewUpdateItemResetToJSON, previewUpdateItemRolloverToJSON, previewUpdateItemTierToJSON, previewUpdateItemToToJSON, previewUpdateLineItemFromJSON, previewUpdateLineItemPeriodFromJSON, previewUpdateNextCycleDiscountFromJSON, previewUpdateNextCycleFromJSON, previewUpdateNextCycleLineItemFromJSON, previewUpdateNextCycleLineItemPeriodFromJSON, previewUpdateOutgoingFeatureQuantityFromJSON, previewUpdateOutgoingFromJSON, previewUpdateParamsToJSON, previewUpdatePlanItemFilterToJSON, previewUpdateRecalculateBalancesToJSON, previewUpdateResponseFromJSON, previewUpdateTaxFromJSON, previewUpdateUsageLineItemFromJSON, previewUpdateUsageLineItemPeriodFromJSON, processorsFromJSON, productDisplay1FromJSON, productDisplay2FromJSON, properties1FromJSON, properties2FromJSON, purchaseFromJSON, redeemReferralCodeParamsToJSON, redeemReferralCodeResponseFromJSON, redeemRewardCodeParamsToJSON, redeemRewardCodeResponseFromJSON, referralCustomerFromJSON, referralFromJSON, requestBodyToJSON, resultFromJSON, revenuecatFromJSON, rewardsFromJSON, securityToJSON, serverURLFromOptions, setupPaymentAddItemPlanItemToJSON, setupPaymentAddItemPriceToJSON, setupPaymentAddItemProrationToJSON, setupPaymentAddItemResetToJSON, setupPaymentAddItemRolloverToJSON, setupPaymentAddItemTierToJSON, setupPaymentAddItemToToJSON, setupPaymentAttachDiscountToJSON, setupPaymentBasePriceToJSON, setupPaymentCarryOverBalancesToJSON, setupPaymentCarryOverUsagesToJSON, setupPaymentCustomLineItemToJSON, setupPaymentCustomizeToJSON, setupPaymentFeatureQuantityToJSON, setupPaymentFreeTrialParamsToJSON, setupPaymentItemPlanItemToJSON, setupPaymentItemPriceToJSON, setupPaymentItemProrationToJSON, setupPaymentItemResetToJSON, setupPaymentItemRolloverToJSON, setupPaymentItemTierToJSON, setupPaymentItemToToJSON, setupPaymentParamsToJSON, setupPaymentPlanItemFilterToJSON, setupPaymentResponseFromJSON, stripeFromJSON, subscriptionFromJSON, syncRevenueCatAppFromJSON, syncRevenueCatParamsToJSON, syncRevenueCatResponseFromJSON, totalFromJSON, trackIntervalUnion1FromJSON, trackIntervalUnion2FromJSON, trackLockToJSON, trackParamsToJSON, trackReset1FromJSON, trackReset2FromJSON, trackResponseBody1FromJSON, trackResponseBody2FromJSON, trackResponseFromJSON, trialsUsedFromJSON, index as types, updateBalanceParamsToJSON, updateBalanceResponseFromJSON, updateCustomerAutoTopupRequestToJSON, updateCustomerAutoTopupResponseFromJSON, updateCustomerBillingControlsRequestToJSON, updateCustomerBillingControlsResponseFromJSON, updateCustomerConfigRequestToJSON, updateCustomerConfigResponseFromJSON, updateCustomerCreditSchemaFromJSON, updateCustomerDisplayFromJSON, updateCustomerFeatureFromJSON, updateCustomerFlagsFromJSON, updateCustomerOverageAllowedRequestToJSON, updateCustomerOverageAllowedResponseFromJSON, updateCustomerParamsToJSON, updateCustomerProcessorsFromJSON, updateCustomerPurchaseFromJSON, updateCustomerPurchaseLimitRequestToJSON, updateCustomerPurchaseLimitResponse1FromJSON, updateCustomerPurchaseLimitResponse2FromJSON, updateCustomerPurchaseLimitUnionFromJSON, updateCustomerResponseFromJSON, updateCustomerRevenuecatFromJSON, updateCustomerSpendLimitRequestToJSON, updateCustomerSpendLimitResponseFromJSON, updateCustomerStripeFromJSON, updateCustomerSubscriptionFromJSON, updateCustomerUsageAlertRequestBodyToJSON, updateCustomerUsageAlertResponseFromJSON, updateCustomerVercelFromJSON, 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, vercelFromJSON };