autumn-js 0.0.100 → 0.0.101

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 (177) hide show
  1. package/dist/libraries/backend/better-auth.d.mts +18 -18
  2. package/dist/libraries/backend/better-auth.d.ts +18 -18
  3. package/dist/libraries/backend/better-auth.mjs +2 -2
  4. package/dist/libraries/backend/convex.mjs +2 -2
  5. package/dist/libraries/backend/elysia.d.mts +35 -0
  6. package/dist/libraries/backend/elysia.d.ts +35 -0
  7. package/dist/libraries/backend/elysia.js +1123 -0
  8. package/dist/libraries/backend/elysia.mjs +96 -0
  9. package/dist/libraries/backend/express.d.mts +1 -1
  10. package/dist/libraries/backend/express.d.ts +1 -1
  11. package/dist/libraries/backend/express.mjs +2 -2
  12. package/dist/libraries/backend/fastify.mjs +2 -2
  13. package/dist/libraries/backend/hono.mjs +2 -2
  14. package/dist/libraries/backend/next.js +94 -94
  15. package/dist/libraries/backend/next.mjs +96 -96
  16. package/dist/libraries/backend/react-router.mjs +2 -2
  17. package/dist/libraries/backend/{referralTypes-CkT8JNar.d.mts → referralTypes-Dg9pRvI7.d.mts} +27 -29
  18. package/dist/libraries/backend/{referralTypes-Dh4wyHJ1.d.ts → referralTypes-HAk2vTns.d.ts} +27 -29
  19. package/dist/libraries/backend/remix_dep.mjs +2 -2
  20. package/dist/libraries/backend/routes/backendRouter.mjs +2 -2
  21. package/dist/libraries/backend/supabase.mjs +2 -2
  22. package/dist/libraries/backend/tanstack.js +2 -2
  23. package/dist/libraries/backend/tanstack.mjs +4 -4
  24. package/dist/libraries/backend/utils/withAuth.d.mts +1 -1
  25. package/dist/libraries/backend/utils/withAuth.d.ts +1 -1
  26. package/dist/libraries/react/AutumnContext.d.mts +4 -4
  27. package/dist/libraries/react/AutumnContext.d.ts +4 -4
  28. package/dist/libraries/react/AutumnContext.mjs +4 -4
  29. package/dist/libraries/react/BaseAutumnProvider.d.mts +4 -4
  30. package/dist/libraries/react/BaseAutumnProvider.d.ts +4 -4
  31. package/dist/libraries/react/BaseAutumnProvider.mjs +9 -9
  32. package/dist/libraries/react/{ReactAutumnClient-DpexS7O5.d.ts → ReactAutumnClient-B4P_QjY1.d.ts} +3 -3
  33. package/dist/libraries/react/{ReactAutumnClient-Da2CbwmZ.d.mts → ReactAutumnClient-DCdPx-ps.d.mts} +3 -3
  34. package/dist/libraries/react/ReactAutumnProvider.d.mts +1 -1
  35. package/dist/libraries/react/ReactAutumnProvider.d.ts +1 -1
  36. package/dist/libraries/react/ReactAutumnProvider.mjs +10 -10
  37. package/dist/libraries/react/{chunk-DW6X6NNG.mjs → chunk-24EVX3BR.mjs} +273 -273
  38. package/dist/libraries/react/{chunk-OAWFFAKA.mjs → chunk-3CJSWXNT.mjs} +6 -6
  39. package/dist/libraries/react/{chunk-K3223VDB.mjs → chunk-5G3DYUNT.mjs} +1 -1
  40. package/dist/libraries/react/{chunk-EZAZUSYO.mjs → chunk-6CJ3FB74.mjs} +2 -2
  41. package/dist/libraries/react/{chunk-XOGMTMNM.mjs → chunk-AOJCMXVS.mjs} +3 -3
  42. package/dist/libraries/react/{chunk-KRW7ZHBV.mjs → chunk-APDR7D6A.mjs} +2 -2
  43. package/dist/libraries/react/{chunk-H2NGSCWI.mjs → chunk-CAMHARUX.mjs} +2 -2
  44. package/dist/libraries/react/{chunk-BSF3KB4R.mjs → chunk-CPITDC7S.mjs} +46 -46
  45. package/dist/libraries/react/{chunk-VRDE5C4M.mjs → chunk-DVMVIAZE.mjs} +3 -3
  46. package/dist/libraries/react/{chunk-GQ3TAHSV.mjs → chunk-G3FBFZLU.mjs} +1 -1
  47. package/dist/libraries/react/{chunk-HJ374VZF.mjs → chunk-LVDONEVF.mjs} +2 -2
  48. package/dist/libraries/react/{chunk-6SRIDR3L.mjs → chunk-MZDRIPNS.mjs} +2 -2
  49. package/dist/libraries/react/{chunk-OAPUYXBO.mjs → chunk-R46CJXF7.mjs} +6 -6
  50. package/dist/libraries/react/{chunk-TPKQIL3N.mjs → chunk-R4BYOLST.mjs} +2 -2
  51. package/dist/libraries/react/{chunk-ZVQKDPUP.mjs → chunk-RQEL7G2O.mjs} +3 -3
  52. package/dist/libraries/react/{chunk-6MNYJ3YQ.mjs → chunk-RQG36YPD.mjs} +2 -2
  53. package/dist/libraries/react/{chunk-BYXO62BF.mjs → chunk-T5PIJ4HG.mjs} +2 -2
  54. package/dist/libraries/react/{chunk-AL3VJLFU.mjs → chunk-YLZ5NFYO.mjs} +1 -1
  55. package/dist/libraries/react/client/ReactAutumnClient.d.mts +4 -4
  56. package/dist/libraries/react/client/ReactAutumnClient.d.ts +4 -4
  57. package/dist/libraries/react/client/ReactAutumnClient.mjs +3 -3
  58. package/dist/libraries/react/client/clientCompMethods.d.mts +4 -4
  59. package/dist/libraries/react/client/clientCompMethods.d.ts +4 -4
  60. package/dist/libraries/react/client/clientCusMethods.d.mts +4 -4
  61. package/dist/libraries/react/client/clientCusMethods.d.ts +4 -4
  62. package/dist/libraries/react/client/clientEntityMethods.d.mts +4 -4
  63. package/dist/libraries/react/client/clientEntityMethods.d.ts +4 -4
  64. package/dist/libraries/react/client/clientGenMethods.d.mts +4 -4
  65. package/dist/libraries/react/client/clientGenMethods.d.ts +4 -4
  66. package/dist/libraries/react/client/clientProdMethods.d.mts +4 -4
  67. package/dist/libraries/react/client/clientProdMethods.d.ts +4 -4
  68. package/dist/libraries/react/client/clientReferralMethods.d.mts +4 -4
  69. package/dist/libraries/react/client/clientReferralMethods.d.ts +4 -4
  70. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.css +116 -111
  71. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.d.mts +1 -1
  72. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.d.ts +1 -1
  73. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.js +55 -55
  74. package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.mjs +23 -23
  75. package/dist/libraries/react/components/attach-dialog/lib/attach-content.d.mts +1 -1
  76. package/dist/libraries/react/components/attach-dialog/lib/attach-content.d.ts +1 -1
  77. package/dist/libraries/react/components/check-dialog/check-dialog-synced.d.mts +1 -1
  78. package/dist/libraries/react/components/check-dialog/check-dialog-synced.d.ts +1 -1
  79. package/dist/libraries/react/components/check-dialog/check-dialog-synced.js +50 -50
  80. package/dist/libraries/react/components/check-dialog/check-dialog-synced.mjs +5 -5
  81. package/dist/libraries/react/components/check-dialog/lib/check-content.d.mts +1 -1
  82. package/dist/libraries/react/components/check-dialog/lib/check-content.d.ts +1 -1
  83. package/dist/libraries/react/components/pricing-table/pricing-table-synced.css +116 -111
  84. package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.mts +1 -1
  85. package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.ts +1 -1
  86. package/dist/libraries/react/components/pricing-table/pricing-table-synced.js +55 -55
  87. package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +23 -23
  88. package/dist/libraries/react/components/ui/button.d.mts +1 -1
  89. package/dist/libraries/react/components/ui/button.d.ts +1 -1
  90. package/dist/libraries/react/components/ui/button.js +3 -3
  91. package/dist/libraries/react/components/ui/button.mjs +2 -2
  92. package/dist/libraries/react/components/ui/dialog.js +49 -49
  93. package/dist/libraries/react/components/ui/dialog.mjs +3 -3
  94. package/dist/libraries/react/components/ui/switch.js +12 -12
  95. package/dist/libraries/react/components/ui/switch.mjs +3 -3
  96. package/dist/libraries/react/{cusTypes-4aCCdGkc.d.ts → cusTypes-Bf1qr9iE.d.mts} +1 -3
  97. package/dist/libraries/react/{cusTypes-4aCCdGkc.d.mts → cusTypes-Bf1qr9iE.d.ts} +1 -3
  98. package/dist/libraries/react/{entTypes-Bw20cBXx.d.mts → entTypes-CscyyE1A.d.mts} +1 -1
  99. package/dist/libraries/react/{entTypes-BgAiRNBf.d.ts → entTypes-O8YXxhrA.d.ts} +1 -1
  100. package/dist/libraries/react/hooks/handleAllowed.d.mts +2 -2
  101. package/dist/libraries/react/hooks/handleAllowed.d.ts +2 -2
  102. package/dist/libraries/react/hooks/useAutumn.d.mts +2 -2
  103. package/dist/libraries/react/hooks/useAutumn.d.ts +2 -2
  104. package/dist/libraries/react/hooks/useAutumn.mjs +7 -7
  105. package/dist/libraries/react/hooks/useAutumnBase.d.mts +4 -4
  106. package/dist/libraries/react/hooks/useAutumnBase.d.ts +4 -4
  107. package/dist/libraries/react/hooks/useAutumnBase.mjs +6 -6
  108. package/dist/libraries/react/hooks/useCustomer.d.mts +4 -4
  109. package/dist/libraries/react/hooks/useCustomer.d.ts +4 -4
  110. package/dist/libraries/react/hooks/useCustomer.mjs +8 -8
  111. package/dist/libraries/react/hooks/useCustomerBase.d.mts +4 -4
  112. package/dist/libraries/react/hooks/useCustomerBase.d.ts +4 -4
  113. package/dist/libraries/react/hooks/useCustomerBase.mjs +7 -7
  114. package/dist/libraries/react/hooks/useEntity.d.mts +3 -3
  115. package/dist/libraries/react/hooks/useEntity.d.ts +3 -3
  116. package/dist/libraries/react/hooks/useEntity.mjs +8 -8
  117. package/dist/libraries/react/hooks/useEntityBase.d.mts +4 -4
  118. package/dist/libraries/react/hooks/useEntityBase.d.ts +4 -4
  119. package/dist/libraries/react/hooks/useEntityBase.mjs +7 -7
  120. package/dist/libraries/react/hooks/usePricingTable.d.mts +1 -1
  121. package/dist/libraries/react/hooks/usePricingTable.d.ts +1 -1
  122. package/dist/libraries/react/hooks/usePricingTable.mjs +6 -6
  123. package/dist/libraries/react/hooks/usePricingTableBase.d.mts +4 -4
  124. package/dist/libraries/react/hooks/usePricingTableBase.d.ts +4 -4
  125. package/dist/libraries/react/hooks/usePricingTableBase.mjs +5 -5
  126. package/dist/libraries/react/hooks/useProductsBase.mjs +4 -4
  127. package/dist/libraries/react/index.d.mts +0 -2
  128. package/dist/libraries/react/index.d.ts +0 -2
  129. package/dist/libraries/react/index.js +56 -56
  130. package/dist/libraries/react/index.mjs +56 -56
  131. package/dist/libraries/react/{response-D24DJs94.d.mts → response-B4VzjWEU.d.mts} +1 -1
  132. package/dist/libraries/react/{response-B9P0zPDQ.d.ts → response-C3S90max.d.ts} +1 -1
  133. package/dist/next/{AutumnProvider-BFEETHYT.d.mts → AutumnProvider-CCYZC_bN.d.mts} +0 -2
  134. package/dist/next/{AutumnProvider-BFEETHYT.d.ts → AutumnProvider-CCYZC_bN.d.ts} +0 -2
  135. package/dist/next/AutumnProvider.d.mts +1 -1
  136. package/dist/next/AutumnProvider.d.ts +1 -1
  137. package/dist/next/client/NextAutumnClient.d.mts +7 -7
  138. package/dist/next/client/NextAutumnClient.d.ts +7 -7
  139. package/dist/next/client/NextAutumnProvider.d.mts +1 -1
  140. package/dist/next/client/NextAutumnProvider.d.ts +1 -1
  141. package/dist/next/client/{clientGenTypes-BIYZcmWk.d.mts → clientGenTypes-9ngy1q97.d.mts} +9 -9
  142. package/dist/next/client/{clientGenTypes-xd2Egfm-.d.ts → clientGenTypes-CxB4go6q.d.ts} +9 -9
  143. package/dist/next/client/clientUtils.d.mts +2 -2
  144. package/dist/next/client/clientUtils.d.ts +2 -2
  145. package/dist/next/client/{cusTypes-u2ZoeKeF.d.mts → cusTypes-D8lhXGaX.d.mts} +2 -4
  146. package/dist/next/client/{cusTypes-u2ZoeKeF.d.ts → cusTypes-D8lhXGaX.d.ts} +2 -4
  147. package/dist/next/client/{entTypes-B54OSRIo.d.mts → entTypes-B-2_9hzP.d.mts} +1 -1
  148. package/dist/next/client/{entTypes-Cl6ES2C6.d.ts → entTypes-Dq2mbehl.d.ts} +1 -1
  149. package/dist/next/client/hooks/useAutumn.d.mts +2 -2
  150. package/dist/next/client/hooks/useAutumn.d.ts +2 -2
  151. package/dist/next/client/hooks/useCustomer.d.mts +3 -3
  152. package/dist/next/client/hooks/useCustomer.d.ts +3 -3
  153. package/dist/next/client/hooks/useEntity.d.mts +3 -3
  154. package/dist/next/client/hooks/useEntity.d.ts +3 -3
  155. package/dist/next/client/hooks/usePricingTable.d.mts +1 -1
  156. package/dist/next/client/hooks/usePricingTable.d.ts +1 -1
  157. package/dist/next/client/types.d.mts +2 -2
  158. package/dist/next/client/types.d.ts +2 -2
  159. package/dist/next/index.d.mts +2 -2
  160. package/dist/next/index.d.ts +2 -2
  161. package/dist/next/server/auth/withNextAuth.d.mts +1 -1
  162. package/dist/next/server/auth/withNextAuth.d.ts +1 -1
  163. package/dist/next/server/componentActions.d.mts +1 -1
  164. package/dist/next/server/componentActions.d.ts +1 -1
  165. package/dist/next/server/cusActions.d.mts +21 -21
  166. package/dist/next/server/cusActions.d.ts +21 -21
  167. package/dist/next/server/{cusTypes-JQwzkgDU.d.mts → cusTypes-DhOYtM7H.d.mts} +2 -4
  168. package/dist/next/server/{cusTypes-JQwzkgDU.d.ts → cusTypes-DhOYtM7H.d.ts} +2 -4
  169. package/dist/next/server/genActions.d.mts +1 -1
  170. package/dist/next/server/genActions.d.ts +1 -1
  171. package/dist/sdk/index.d.mts +0 -2
  172. package/dist/sdk/index.d.ts +0 -2
  173. package/dist/styles/global.css +116 -111
  174. package/package.json +28 -9
  175. package/tsup.config.ts +1 -0
  176. package/dist/libraries/backend/{chunk-DUDRVC7W.mjs → chunk-NW6B7QXB.mjs} +3 -3
  177. package/dist/libraries/react/{chunk-ALIGIMSK.mjs → chunk-ALFXUHDD.mjs} +6 -6
@@ -90,7 +90,6 @@ declare enum AppEnv {
90
90
  }
91
91
 
92
92
  interface ProductItem {
93
- type?: "feature" | "priced_feature" | "price";
94
93
  feature_id?: string;
95
94
  included_usage?: number | typeof Infinite;
96
95
  interval?: ProductItemIntervalType;
@@ -182,7 +181,6 @@ interface CustomerProduct {
182
181
  status: ProductStatus;
183
182
  started_at: number;
184
183
  canceled_at: number | null;
185
- version: number;
186
184
  subscription_ids?: string[] | null;
187
185
  current_period_start?: number | null;
188
186
  current_period_end?: number | null;
@@ -1,3 +1,3 @@
1
1
  import 'react/jsx-runtime';
2
- export { A as AutumnProvider } from './AutumnProvider-BFEETHYT.mjs';
2
+ export { A as AutumnProvider } from './AutumnProvider-CCYZC_bN.mjs';
3
3
  import 'zod';
@@ -1,3 +1,3 @@
1
1
  import 'react/jsx-runtime';
2
- export { A as AutumnProvider } from './AutumnProvider-BFEETHYT.js';
2
+ export { A as AutumnProvider } from './AutumnProvider-CCYZC_bN.js';
3
3
  import 'zod';
@@ -1,6 +1,6 @@
1
- import { R as Result, a as AutumnPromise, b as CheckResult, O as OpenBillingPortalParams, S as SetupPaymentParams, f as SetupPaymentResult, A as AttachParams, g as AttachResult, d as CancelParams, e as CancelResult, C as CheckParams, T as TrackParams, c as TrackResult } from './clientGenTypes-BIYZcmWk.mjs';
2
- import { e as ProductItem, f as ProductScenario, C as CustomerData, g as CreateCustomerParams, a as Customer, B as BillingPortalResult, P as Product } from './cusTypes-u2ZoeKeF.mjs';
3
- import { E as Entity, D as DeleteEntityResult } from './entTypes-B54OSRIo.mjs';
1
+ import { R as Result, a as AutumnPromise, b as CheckResult, O as OpenBillingPortalParams, S as SetupPaymentParams, f as SetupPaymentResult, A as AttachParams, g as AttachResult, d as CancelParams, e as CancelResult, C as CheckParams, T as TrackParams, c as TrackResult } from './clientGenTypes-9ngy1q97.mjs';
2
+ import { e as ProductItem, f as ProductScenario, C as CustomerData, g as CreateCustomerParams, a as Customer, B as BillingPortalResult, P as Product } from './cusTypes-D8lhXGaX.mjs';
3
+ import { E as Entity, D as DeleteEntityResult } from './entTypes-B-2_9hzP.mjs';
4
4
  import { C as CreateEntityParams, G as GetEntityParams, a as CreateReferralCodeResult, R as RedeemReferralCodeResult } from './clientEntTypes-BFkleT6a.mjs';
5
5
  import * as react from 'react';
6
6
  import { A as AutumnError } from './error-DHbclCVh.mjs';
@@ -73,15 +73,15 @@ declare class AutumnClient {
73
73
  freeTrial?: boolean | undefined;
74
74
  successUrl?: string | undefined;
75
75
  forceCheckout?: boolean | undefined;
76
- dialog?: ((args_0: any, ...args: unknown[]) => react.ReactNode | JSX.Element) | undefined;
76
+ dialog?: ((args_0: any, ...args: unknown[]) => JSX.Element | react.ReactNode) | undefined;
77
77
  entityData?: any;
78
78
  openInNewTab?: boolean | undefined;
79
79
  reward?: string | undefined;
80
80
  checkoutSessionParams?: Record<string, any> | undefined;
81
81
  }) => AutumnPromise<{
82
+ customer_id: string;
82
83
  code: string;
83
84
  message: string;
84
- customer_id: string;
85
85
  product_ids: string[];
86
86
  checkout_url?: string | undefined;
87
87
  customer_data?: any;
@@ -99,7 +99,7 @@ declare class AutumnClient {
99
99
  productId?: string | undefined;
100
100
  entityId?: string | undefined;
101
101
  featureId?: string | undefined;
102
- dialog?: ((args_0: any, ...args: unknown[]) => react.ReactNode | JSX.Element) | undefined;
102
+ dialog?: ((args_0: any, ...args: unknown[]) => JSX.Element | react.ReactNode) | undefined;
103
103
  entityData?: any;
104
104
  requiredBalance?: number | undefined;
105
105
  sendEvent?: boolean | undefined;
@@ -114,8 +114,8 @@ declare class AutumnClient {
114
114
  idempotencyKey?: string | undefined;
115
115
  }) => AutumnPromise<{
116
116
  id: string;
117
- code: string;
118
117
  customer_id: string;
118
+ code: string;
119
119
  feature_id?: string | undefined;
120
120
  event_name?: string | undefined;
121
121
  }>;
@@ -1,6 +1,6 @@
1
- import { R as Result, a as AutumnPromise, b as CheckResult, O as OpenBillingPortalParams, S as SetupPaymentParams, f as SetupPaymentResult, A as AttachParams, g as AttachResult, d as CancelParams, e as CancelResult, C as CheckParams, T as TrackParams, c as TrackResult } from './clientGenTypes-xd2Egfm-.js';
2
- import { e as ProductItem, f as ProductScenario, C as CustomerData, g as CreateCustomerParams, a as Customer, B as BillingPortalResult, P as Product } from './cusTypes-u2ZoeKeF.js';
3
- import { E as Entity, D as DeleteEntityResult } from './entTypes-Cl6ES2C6.js';
1
+ import { R as Result, a as AutumnPromise, b as CheckResult, O as OpenBillingPortalParams, S as SetupPaymentParams, f as SetupPaymentResult, A as AttachParams, g as AttachResult, d as CancelParams, e as CancelResult, C as CheckParams, T as TrackParams, c as TrackResult } from './clientGenTypes-CxB4go6q.js';
2
+ import { e as ProductItem, f as ProductScenario, C as CustomerData, g as CreateCustomerParams, a as Customer, B as BillingPortalResult, P as Product } from './cusTypes-D8lhXGaX.js';
3
+ import { E as Entity, D as DeleteEntityResult } from './entTypes-Dq2mbehl.js';
4
4
  import { C as CreateEntityParams, G as GetEntityParams, a as CreateReferralCodeResult, R as RedeemReferralCodeResult } from './clientEntTypes-BFkleT6a.js';
5
5
  import * as react from 'react';
6
6
  import { A as AutumnError } from './error-DHbclCVh.js';
@@ -73,15 +73,15 @@ declare class AutumnClient {
73
73
  freeTrial?: boolean | undefined;
74
74
  successUrl?: string | undefined;
75
75
  forceCheckout?: boolean | undefined;
76
- dialog?: ((args_0: any, ...args: unknown[]) => react.ReactNode | JSX.Element) | undefined;
76
+ dialog?: ((args_0: any, ...args: unknown[]) => JSX.Element | react.ReactNode) | undefined;
77
77
  entityData?: any;
78
78
  openInNewTab?: boolean | undefined;
79
79
  reward?: string | undefined;
80
80
  checkoutSessionParams?: Record<string, any> | undefined;
81
81
  }) => AutumnPromise<{
82
+ customer_id: string;
82
83
  code: string;
83
84
  message: string;
84
- customer_id: string;
85
85
  product_ids: string[];
86
86
  checkout_url?: string | undefined;
87
87
  customer_data?: any;
@@ -99,7 +99,7 @@ declare class AutumnClient {
99
99
  productId?: string | undefined;
100
100
  entityId?: string | undefined;
101
101
  featureId?: string | undefined;
102
- dialog?: ((args_0: any, ...args: unknown[]) => react.ReactNode | JSX.Element) | undefined;
102
+ dialog?: ((args_0: any, ...args: unknown[]) => JSX.Element | react.ReactNode) | undefined;
103
103
  entityData?: any;
104
104
  requiredBalance?: number | undefined;
105
105
  sendEvent?: boolean | undefined;
@@ -114,8 +114,8 @@ declare class AutumnClient {
114
114
  idempotencyKey?: string | undefined;
115
115
  }) => AutumnPromise<{
116
116
  id: string;
117
- code: string;
118
117
  customer_id: string;
118
+ code: string;
119
119
  feature_id?: string | undefined;
120
120
  event_name?: string | undefined;
121
121
  }>;
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as CustomerData } from './cusTypes-u2ZoeKeF.mjs';
2
+ import { C as CustomerData } from './cusTypes-D8lhXGaX.mjs';
3
3
  import 'zod';
4
4
 
5
5
  declare const NextAutumnProvider: ({ encryptedCustomerId, customerData, children, }: {
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as CustomerData } from './cusTypes-u2ZoeKeF.js';
2
+ import { C as CustomerData } from './cusTypes-D8lhXGaX.js';
3
3
  import 'zod';
4
4
 
5
5
  declare const NextAutumnProvider: ({ encryptedCustomerId, customerData, children, }: {
@@ -1,4 +1,4 @@
1
- import { i as CheckFeatureResult, j as CheckProductResult } from './cusTypes-u2ZoeKeF.mjs';
1
+ import { i as CheckFeatureResult, j as CheckProductResult } from './cusTypes-D8lhXGaX.mjs';
2
2
  import { z } from 'zod';
3
3
  import { A as AutumnError } from './error-DHbclCVh.mjs';
4
4
  import * as react from 'react';
@@ -11,16 +11,16 @@ declare const AttachResultSchema: z.ZodObject<{
11
11
  message: z.ZodString;
12
12
  customer_data: z.ZodOptional<z.ZodAny>;
13
13
  }, "strip", z.ZodTypeAny, {
14
+ customer_id: string;
14
15
  code: string;
15
16
  message: string;
16
- customer_id: string;
17
17
  product_ids: string[];
18
18
  checkout_url?: string | undefined;
19
19
  customer_data?: any;
20
20
  }, {
21
+ customer_id: string;
21
22
  code: string;
22
23
  message: string;
23
- customer_id: string;
24
24
  product_ids: string[];
25
25
  checkout_url?: string | undefined;
26
26
  customer_data?: any;
@@ -48,14 +48,14 @@ declare const TrackResultSchema: z.ZodObject<{
48
48
  event_name: z.ZodOptional<z.ZodString>;
49
49
  }, "strip", z.ZodTypeAny, {
50
50
  id: string;
51
- code: string;
52
51
  customer_id: string;
52
+ code: string;
53
53
  feature_id?: string | undefined;
54
54
  event_name?: string | undefined;
55
55
  }, {
56
56
  id: string;
57
- code: string;
58
57
  customer_id: string;
58
+ code: string;
59
59
  feature_id?: string | undefined;
60
60
  event_name?: string | undefined;
61
61
  }>;
@@ -114,7 +114,7 @@ declare const AttachParamsSchema: z.ZodObject<{
114
114
  freeTrial?: boolean | undefined;
115
115
  successUrl?: string | undefined;
116
116
  forceCheckout?: boolean | undefined;
117
- dialog?: ((args_0: any, ...args: unknown[]) => react.ReactNode | JSX.Element) | undefined;
117
+ dialog?: ((args_0: any, ...args: unknown[]) => JSX.Element | react.ReactNode) | undefined;
118
118
  entityData?: any;
119
119
  openInNewTab?: boolean | undefined;
120
120
  reward?: string | undefined;
@@ -131,7 +131,7 @@ declare const AttachParamsSchema: z.ZodObject<{
131
131
  freeTrial?: boolean | undefined;
132
132
  successUrl?: string | undefined;
133
133
  forceCheckout?: boolean | undefined;
134
- dialog?: ((args_0: any, ...args: unknown[]) => react.ReactNode | JSX.Element) | undefined;
134
+ dialog?: ((args_0: any, ...args: unknown[]) => JSX.Element | react.ReactNode) | undefined;
135
135
  entityData?: any;
136
136
  openInNewTab?: boolean | undefined;
137
137
  reward?: string | undefined;
@@ -165,7 +165,7 @@ declare const CheckParamsSchema: z.ZodObject<{
165
165
  productId?: string | undefined;
166
166
  entityId?: string | undefined;
167
167
  featureId?: string | undefined;
168
- dialog?: ((args_0: any, ...args: unknown[]) => react.ReactNode | JSX.Element) | undefined;
168
+ dialog?: ((args_0: any, ...args: unknown[]) => JSX.Element | react.ReactNode) | undefined;
169
169
  entityData?: any;
170
170
  requiredBalance?: number | undefined;
171
171
  sendEvent?: boolean | undefined;
@@ -174,7 +174,7 @@ declare const CheckParamsSchema: z.ZodObject<{
174
174
  productId?: string | undefined;
175
175
  entityId?: string | undefined;
176
176
  featureId?: string | undefined;
177
- dialog?: ((args_0: any, ...args: unknown[]) => react.ReactNode | JSX.Element) | undefined;
177
+ dialog?: ((args_0: any, ...args: unknown[]) => JSX.Element | react.ReactNode) | undefined;
178
178
  entityData?: any;
179
179
  requiredBalance?: number | undefined;
180
180
  sendEvent?: boolean | undefined;
@@ -1,4 +1,4 @@
1
- import { i as CheckFeatureResult, j as CheckProductResult } from './cusTypes-u2ZoeKeF.js';
1
+ import { i as CheckFeatureResult, j as CheckProductResult } from './cusTypes-D8lhXGaX.js';
2
2
  import { z } from 'zod';
3
3
  import { A as AutumnError } from './error-DHbclCVh.js';
4
4
  import * as react from 'react';
@@ -11,16 +11,16 @@ declare const AttachResultSchema: z.ZodObject<{
11
11
  message: z.ZodString;
12
12
  customer_data: z.ZodOptional<z.ZodAny>;
13
13
  }, "strip", z.ZodTypeAny, {
14
+ customer_id: string;
14
15
  code: string;
15
16
  message: string;
16
- customer_id: string;
17
17
  product_ids: string[];
18
18
  checkout_url?: string | undefined;
19
19
  customer_data?: any;
20
20
  }, {
21
+ customer_id: string;
21
22
  code: string;
22
23
  message: string;
23
- customer_id: string;
24
24
  product_ids: string[];
25
25
  checkout_url?: string | undefined;
26
26
  customer_data?: any;
@@ -48,14 +48,14 @@ declare const TrackResultSchema: z.ZodObject<{
48
48
  event_name: z.ZodOptional<z.ZodString>;
49
49
  }, "strip", z.ZodTypeAny, {
50
50
  id: string;
51
- code: string;
52
51
  customer_id: string;
52
+ code: string;
53
53
  feature_id?: string | undefined;
54
54
  event_name?: string | undefined;
55
55
  }, {
56
56
  id: string;
57
- code: string;
58
57
  customer_id: string;
58
+ code: string;
59
59
  feature_id?: string | undefined;
60
60
  event_name?: string | undefined;
61
61
  }>;
@@ -114,7 +114,7 @@ declare const AttachParamsSchema: z.ZodObject<{
114
114
  freeTrial?: boolean | undefined;
115
115
  successUrl?: string | undefined;
116
116
  forceCheckout?: boolean | undefined;
117
- dialog?: ((args_0: any, ...args: unknown[]) => react.ReactNode | JSX.Element) | undefined;
117
+ dialog?: ((args_0: any, ...args: unknown[]) => JSX.Element | react.ReactNode) | undefined;
118
118
  entityData?: any;
119
119
  openInNewTab?: boolean | undefined;
120
120
  reward?: string | undefined;
@@ -131,7 +131,7 @@ declare const AttachParamsSchema: z.ZodObject<{
131
131
  freeTrial?: boolean | undefined;
132
132
  successUrl?: string | undefined;
133
133
  forceCheckout?: boolean | undefined;
134
- dialog?: ((args_0: any, ...args: unknown[]) => react.ReactNode | JSX.Element) | undefined;
134
+ dialog?: ((args_0: any, ...args: unknown[]) => JSX.Element | react.ReactNode) | undefined;
135
135
  entityData?: any;
136
136
  openInNewTab?: boolean | undefined;
137
137
  reward?: string | undefined;
@@ -165,7 +165,7 @@ declare const CheckParamsSchema: z.ZodObject<{
165
165
  productId?: string | undefined;
166
166
  entityId?: string | undefined;
167
167
  featureId?: string | undefined;
168
- dialog?: ((args_0: any, ...args: unknown[]) => react.ReactNode | JSX.Element) | undefined;
168
+ dialog?: ((args_0: any, ...args: unknown[]) => JSX.Element | react.ReactNode) | undefined;
169
169
  entityData?: any;
170
170
  requiredBalance?: number | undefined;
171
171
  sendEvent?: boolean | undefined;
@@ -174,7 +174,7 @@ declare const CheckParamsSchema: z.ZodObject<{
174
174
  productId?: string | undefined;
175
175
  entityId?: string | undefined;
176
176
  featureId?: string | undefined;
177
- dialog?: ((args_0: any, ...args: unknown[]) => react.ReactNode | JSX.Element) | undefined;
177
+ dialog?: ((args_0: any, ...args: unknown[]) => JSX.Element | react.ReactNode) | undefined;
178
178
  entityData?: any;
179
179
  requiredBalance?: number | undefined;
180
180
  sendEvent?: boolean | undefined;
@@ -1,7 +1,7 @@
1
1
  import { AutumnClientError, PricingTableProduct } from './types.mjs';
2
- import './cusTypes-u2ZoeKeF.mjs';
2
+ import './cusTypes-D8lhXGaX.mjs';
3
3
  import 'zod';
4
- import './entTypes-B54OSRIo.mjs';
4
+ import './entTypes-B-2_9hzP.mjs';
5
5
 
6
6
  declare const toClientErrorResponse: (error: any) => {
7
7
  data: null;
@@ -1,7 +1,7 @@
1
1
  import { AutumnClientError, PricingTableProduct } from './types.js';
2
- import './cusTypes-u2ZoeKeF.js';
2
+ import './cusTypes-D8lhXGaX.js';
3
3
  import 'zod';
4
- import './entTypes-Cl6ES2C6.js';
4
+ import './entTypes-Dq2mbehl.js';
5
5
 
6
6
  declare const toClientErrorResponse: (error: any) => {
7
7
  data: null;
@@ -89,7 +89,6 @@ declare enum AppEnv {
89
89
  }
90
90
 
91
91
  interface ProductItem {
92
- type?: "feature" | "priced_feature" | "price";
93
92
  feature_id?: string;
94
93
  included_usage?: number | typeof Infinite;
95
94
  interval?: ProductItemIntervalType;
@@ -181,7 +180,6 @@ interface CustomerProduct {
181
180
  status: ProductStatus;
182
181
  started_at: number;
183
182
  canceled_at: number | null;
184
- version: number;
185
183
  subscription_ids?: string[] | null;
186
184
  current_period_start?: number | null;
187
185
  current_period_end?: number | null;
@@ -218,15 +216,15 @@ declare const CreateCustomerParamsSchema: z.ZodObject<{
218
216
  expand: z.ZodOptional<z.ZodArray<z.ZodEnum<["invoices", "rewards", "trials_used", "entities", "referrals", "payment_method"]>, "many">>;
219
217
  }, "strip", z.ZodTypeAny, {
220
218
  id?: string | null | undefined;
221
- email?: string | null | undefined;
222
219
  name?: string | null | undefined;
220
+ email?: string | null | undefined;
223
221
  fingerprint?: string | null | undefined;
224
222
  metadata?: Record<string, any> | undefined;
225
223
  expand?: ("invoices" | "rewards" | "trials_used" | "entities" | "referrals" | "payment_method")[] | undefined;
226
224
  }, {
227
225
  id?: string | null | undefined;
228
- email?: string | null | undefined;
229
226
  name?: string | null | undefined;
227
+ email?: string | null | undefined;
230
228
  fingerprint?: string | null | undefined;
231
229
  metadata?: Record<string, any> | undefined;
232
230
  expand?: ("invoices" | "rewards" | "trials_used" | "entities" | "referrals" | "payment_method")[] | undefined;
@@ -89,7 +89,6 @@ declare enum AppEnv {
89
89
  }
90
90
 
91
91
  interface ProductItem {
92
- type?: "feature" | "priced_feature" | "price";
93
92
  feature_id?: string;
94
93
  included_usage?: number | typeof Infinite;
95
94
  interval?: ProductItemIntervalType;
@@ -181,7 +180,6 @@ interface CustomerProduct {
181
180
  status: ProductStatus;
182
181
  started_at: number;
183
182
  canceled_at: number | null;
184
- version: number;
185
183
  subscription_ids?: string[] | null;
186
184
  current_period_start?: number | null;
187
185
  current_period_end?: number | null;
@@ -218,15 +216,15 @@ declare const CreateCustomerParamsSchema: z.ZodObject<{
218
216
  expand: z.ZodOptional<z.ZodArray<z.ZodEnum<["invoices", "rewards", "trials_used", "entities", "referrals", "payment_method"]>, "many">>;
219
217
  }, "strip", z.ZodTypeAny, {
220
218
  id?: string | null | undefined;
221
- email?: string | null | undefined;
222
219
  name?: string | null | undefined;
220
+ email?: string | null | undefined;
223
221
  fingerprint?: string | null | undefined;
224
222
  metadata?: Record<string, any> | undefined;
225
223
  expand?: ("invoices" | "rewards" | "trials_used" | "entities" | "referrals" | "payment_method")[] | undefined;
226
224
  }, {
227
225
  id?: string | null | undefined;
228
- email?: string | null | undefined;
229
226
  name?: string | null | undefined;
227
+ email?: string | null | undefined;
230
228
  fingerprint?: string | null | undefined;
231
229
  metadata?: Record<string, any> | undefined;
232
230
  expand?: ("invoices" | "rewards" | "trials_used" | "entities" | "referrals" | "payment_method")[] | undefined;
@@ -1,4 +1,4 @@
1
- import { b as CustomerProduct, c as CustomerFeature, d as CustomerInvoice } from './cusTypes-u2ZoeKeF.mjs';
1
+ import { b as CustomerProduct, c as CustomerFeature, d as CustomerInvoice } from './cusTypes-D8lhXGaX.mjs';
2
2
 
3
3
  type EntityExpandOption = "invoices";
4
4
 
@@ -1,4 +1,4 @@
1
- import { b as CustomerProduct, c as CustomerFeature, d as CustomerInvoice } from './cusTypes-u2ZoeKeF.js';
1
+ import { b as CustomerProduct, c as CustomerFeature, d as CustomerInvoice } from './cusTypes-D8lhXGaX.js';
2
2
 
3
3
  type EntityExpandOption = "invoices";
4
4
 
@@ -1,5 +1,5 @@
1
- import { A as AttachParams, C as CheckParams, a as AutumnPromise, b as CheckResult, T as TrackParams, c as TrackResult, d as CancelParams, e as CancelResult, O as OpenBillingPortalParams, S as SetupPaymentParams, f as SetupPaymentResult } from '../clientGenTypes-BIYZcmWk.mjs';
2
- import { B as BillingPortalResult } from '../cusTypes-u2ZoeKeF.mjs';
1
+ import { A as AttachParams, C as CheckParams, a as AutumnPromise, b as CheckResult, T as TrackParams, c as TrackResult, d as CancelParams, e as CancelResult, O as OpenBillingPortalParams, S as SetupPaymentParams, f as SetupPaymentResult } from '../clientGenTypes-9ngy1q97.mjs';
2
+ import { B as BillingPortalResult } from '../cusTypes-D8lhXGaX.mjs';
3
3
  import 'zod';
4
4
  import '../error-DHbclCVh.mjs';
5
5
  import 'react';
@@ -1,5 +1,5 @@
1
- import { A as AttachParams, C as CheckParams, a as AutumnPromise, b as CheckResult, T as TrackParams, c as TrackResult, d as CancelParams, e as CancelResult, O as OpenBillingPortalParams, S as SetupPaymentParams, f as SetupPaymentResult } from '../clientGenTypes-xd2Egfm-.js';
2
- import { B as BillingPortalResult } from '../cusTypes-u2ZoeKeF.js';
1
+ import { A as AttachParams, C as CheckParams, a as AutumnPromise, b as CheckResult, T as TrackParams, c as TrackResult, d as CancelParams, e as CancelResult, O as OpenBillingPortalParams, S as SetupPaymentParams, f as SetupPaymentResult } from '../clientGenTypes-CxB4go6q.js';
2
+ import { B as BillingPortalResult } from '../cusTypes-D8lhXGaX.js';
3
3
  import 'zod';
4
4
  import '../error-DHbclCVh.js';
5
5
  import 'react';
@@ -1,7 +1,7 @@
1
1
  import { A as AutumnError } from '../error-DHbclCVh.mjs';
2
- import { A as AttachParams, a as AutumnPromise, g as AttachResult, C as CheckParams, b as CheckResult, T as TrackParams, c as TrackResult, d as CancelParams, e as CancelResult, S as SetupPaymentParams, f as SetupPaymentResult, O as OpenBillingPortalParams } from '../clientGenTypes-BIYZcmWk.mjs';
3
- import { h as CustomerExpandOption, a as Customer, B as BillingPortalResult } from '../cusTypes-u2ZoeKeF.mjs';
4
- import { E as Entity } from '../entTypes-B54OSRIo.mjs';
2
+ import { A as AttachParams, a as AutumnPromise, g as AttachResult, C as CheckParams, b as CheckResult, T as TrackParams, c as TrackResult, d as CancelParams, e as CancelResult, S as SetupPaymentParams, f as SetupPaymentResult, O as OpenBillingPortalParams } from '../clientGenTypes-9ngy1q97.mjs';
3
+ import { h as CustomerExpandOption, a as Customer, B as BillingPortalResult } from '../cusTypes-D8lhXGaX.mjs';
4
+ import { E as Entity } from '../entTypes-B-2_9hzP.mjs';
5
5
  import { C as CreateEntityParams, a as CreateReferralCodeResult, R as RedeemReferralCodeResult } from '../clientEntTypes-BFkleT6a.mjs';
6
6
  import { z } from 'zod';
7
7
  import { SWRConfiguration } from 'swr';
@@ -1,7 +1,7 @@
1
1
  import { A as AutumnError } from '../error-DHbclCVh.js';
2
- import { A as AttachParams, a as AutumnPromise, g as AttachResult, C as CheckParams, b as CheckResult, T as TrackParams, c as TrackResult, d as CancelParams, e as CancelResult, S as SetupPaymentParams, f as SetupPaymentResult, O as OpenBillingPortalParams } from '../clientGenTypes-xd2Egfm-.js';
3
- import { h as CustomerExpandOption, a as Customer, B as BillingPortalResult } from '../cusTypes-u2ZoeKeF.js';
4
- import { E as Entity } from '../entTypes-Cl6ES2C6.js';
2
+ import { A as AttachParams, a as AutumnPromise, g as AttachResult, C as CheckParams, b as CheckResult, T as TrackParams, c as TrackResult, d as CancelParams, e as CancelResult, S as SetupPaymentParams, f as SetupPaymentResult, O as OpenBillingPortalParams } from '../clientGenTypes-CxB4go6q.js';
3
+ import { h as CustomerExpandOption, a as Customer, B as BillingPortalResult } from '../cusTypes-D8lhXGaX.js';
4
+ import { E as Entity } from '../entTypes-Dq2mbehl.js';
5
5
  import { C as CreateEntityParams, a as CreateReferralCodeResult, R as RedeemReferralCodeResult } from '../clientEntTypes-BFkleT6a.js';
6
6
  import { z } from 'zod';
7
7
  import { SWRConfiguration } from 'swr';
@@ -1,8 +1,8 @@
1
- import { C as CheckParams, a as AutumnPromise, b as CheckResult, A as AttachParams, d as CancelParams, T as TrackParams } from '../clientGenTypes-BIYZcmWk.mjs';
2
- import { G as GetEntityParams, E as Entity } from '../entTypes-B54OSRIo.mjs';
1
+ import { C as CheckParams, a as AutumnPromise, b as CheckResult, A as AttachParams, d as CancelParams, T as TrackParams } from '../clientGenTypes-9ngy1q97.mjs';
2
+ import { G as GetEntityParams, E as Entity } from '../entTypes-B-2_9hzP.mjs';
3
3
  import { A as AllowedParams } from '../handleAllowed-B8TBAzfI.mjs';
4
4
  import * as swr from 'swr';
5
- import '../cusTypes-u2ZoeKeF.mjs';
5
+ import '../cusTypes-D8lhXGaX.mjs';
6
6
  import 'zod';
7
7
  import '../error-DHbclCVh.mjs';
8
8
  import 'react';
@@ -1,8 +1,8 @@
1
- import { C as CheckParams, a as AutumnPromise, b as CheckResult, A as AttachParams, d as CancelParams, T as TrackParams } from '../clientGenTypes-xd2Egfm-.js';
2
- import { G as GetEntityParams, E as Entity } from '../entTypes-Cl6ES2C6.js';
1
+ import { C as CheckParams, a as AutumnPromise, b as CheckResult, A as AttachParams, d as CancelParams, T as TrackParams } from '../clientGenTypes-CxB4go6q.js';
2
+ import { G as GetEntityParams, E as Entity } from '../entTypes-Dq2mbehl.js';
3
3
  import { A as AllowedParams } from '../handleAllowed-B8TBAzfI.js';
4
4
  import * as swr from 'swr';
5
- import '../cusTypes-u2ZoeKeF.js';
5
+ import '../cusTypes-D8lhXGaX.js';
6
6
  import 'zod';
7
7
  import '../error-DHbclCVh.js';
8
8
  import 'react';
@@ -1,6 +1,6 @@
1
1
  import * as swr from 'swr';
2
2
  import { A as AutumnError } from '../error-DHbclCVh.mjs';
3
- import { P as Product } from '../cusTypes-u2ZoeKeF.mjs';
3
+ import { P as Product } from '../cusTypes-D8lhXGaX.mjs';
4
4
  import 'zod';
5
5
 
6
6
  interface ProductDetails {
@@ -1,6 +1,6 @@
1
1
  import * as swr from 'swr';
2
2
  import { A as AutumnError } from '../error-DHbclCVh.js';
3
- import { P as Product } from '../cusTypes-u2ZoeKeF.js';
3
+ import { P as Product } from '../cusTypes-D8lhXGaX.js';
4
4
  import 'zod';
5
5
 
6
6
  interface ProductDetails {
@@ -1,5 +1,5 @@
1
- import { C as CustomerData, a as Customer } from './cusTypes-u2ZoeKeF.mjs';
2
- import { E as Entity } from './entTypes-B54OSRIo.mjs';
1
+ import { C as CustomerData, a as Customer } from './cusTypes-D8lhXGaX.mjs';
2
+ import { E as Entity } from './entTypes-B-2_9hzP.mjs';
3
3
  import 'zod';
4
4
 
5
5
  interface ProductDetails {
@@ -1,5 +1,5 @@
1
- import { C as CustomerData, a as Customer } from './cusTypes-u2ZoeKeF.js';
2
- import { E as Entity } from './entTypes-Cl6ES2C6.js';
1
+ import { C as CustomerData, a as Customer } from './cusTypes-D8lhXGaX.js';
2
+ import { E as Entity } from './entTypes-Dq2mbehl.js';
3
3
  import 'zod';
4
4
 
5
5
  interface ProductDetails {
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as CheckFeatureResult, a as CheckProductResult, P as ProductItem, b as ProductScenario, c as CustomerProduct, d as CustomerFeature, e as CustomerInvoice, f as CustomerData, g as CreateCustomerParams, h as Customer, B as BillingPortalResult, i as Product, j as CustomerExpandOption } from './AutumnProvider-BFEETHYT.mjs';
3
- export { A as AutumnProvider } from './AutumnProvider-BFEETHYT.mjs';
2
+ import { C as CheckFeatureResult, a as CheckProductResult, P as ProductItem, b as ProductScenario, c as CustomerProduct, d as CustomerFeature, e as CustomerInvoice, f as CustomerData, g as CreateCustomerParams, h as Customer, B as BillingPortalResult, i as Product, j as CustomerExpandOption } from './AutumnProvider-CCYZC_bN.mjs';
3
+ export { A as AutumnProvider } from './AutumnProvider-CCYZC_bN.mjs';
4
4
  import { z } from 'zod';
5
5
  import * as swr from 'swr';
6
6
  import { SWRConfiguration } from 'swr';
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as CheckFeatureResult, a as CheckProductResult, P as ProductItem, b as ProductScenario, c as CustomerProduct, d as CustomerFeature, e as CustomerInvoice, f as CustomerData, g as CreateCustomerParams, h as Customer, B as BillingPortalResult, i as Product, j as CustomerExpandOption } from './AutumnProvider-BFEETHYT.js';
3
- export { A as AutumnProvider } from './AutumnProvider-BFEETHYT.js';
2
+ import { C as CheckFeatureResult, a as CheckProductResult, P as ProductItem, b as ProductScenario, c as CustomerProduct, d as CustomerFeature, e as CustomerInvoice, f as CustomerData, g as CreateCustomerParams, h as Customer, B as BillingPortalResult, i as Product, j as CustomerExpandOption } from './AutumnProvider-CCYZC_bN.js';
3
+ export { A as AutumnProvider } from './AutumnProvider-CCYZC_bN.js';
4
4
  import { z } from 'zod';
5
5
  import * as swr from 'swr';
6
6
  import { SWRConfiguration } from 'swr';
@@ -1,4 +1,4 @@
1
- import { C as CustomerData } from '../cusTypes-JQwzkgDU.mjs';
1
+ import { C as CustomerData } from '../cusTypes-DhOYtM7H.mjs';
2
2
  import 'zod';
3
3
 
4
4
  declare const withAuth: <T extends {
@@ -1,4 +1,4 @@
1
- import { C as CustomerData } from '../cusTypes-JQwzkgDU.js';
1
+ import { C as CustomerData } from '../cusTypes-DhOYtM7H.js';
2
2
  import 'zod';
3
3
 
4
4
  declare const withAuth: <T extends {
@@ -1,4 +1,4 @@
1
- import { C as CustomerData } from './cusTypes-JQwzkgDU.mjs';
1
+ import { C as CustomerData } from './cusTypes-DhOYtM7H.mjs';
2
2
  import 'zod';
3
3
 
4
4
  declare const getPricingTableAction: (args: Omit<{
@@ -1,4 +1,4 @@
1
- import { C as CustomerData } from './cusTypes-JQwzkgDU.js';
1
+ import { C as CustomerData } from './cusTypes-DhOYtM7H.js';
2
2
  import 'zod';
3
3
 
4
4
  declare const getPricingTableAction: (args: Omit<{