autumn-js 1.4.47 → 1.4.49

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 (116) hide show
  1. package/dist/backend/adapters/express.js +1780 -792
  2. package/dist/backend/adapters/express.mjs +5 -5
  3. package/dist/backend/adapters/fetch.js +1780 -792
  4. package/dist/backend/adapters/fetch.mjs +5 -5
  5. package/dist/backend/adapters/hono.js +1780 -792
  6. package/dist/backend/adapters/hono.mjs +5 -5
  7. package/dist/backend/adapters/index.js +1780 -792
  8. package/dist/backend/adapters/index.mjs +8 -8
  9. package/dist/backend/adapters/next.js +1780 -792
  10. package/dist/backend/adapters/next.mjs +5 -5
  11. package/dist/backend/{chunk-6LQFPGW7.mjs → chunk-4J2TOGWE.mjs} +220 -60
  12. package/dist/backend/{chunk-XSFLWMJO.mjs → chunk-6X4JZECX.mjs} +1 -1
  13. package/dist/backend/{chunk-BRCDWBVZ.mjs → chunk-EUR3CZTF.mjs} +1 -1
  14. package/dist/backend/{chunk-LPQJUWEP.mjs → chunk-EVPPOVX5.mjs} +2 -2
  15. package/dist/{better-auth/chunk-U4Z36UKV.mjs → backend/chunk-L4HKBZCC.mjs} +1773 -1168
  16. package/dist/backend/{chunk-QXN5PMM3.mjs → chunk-N2SCUJPL.mjs} +2 -2
  17. package/dist/backend/{chunk-P5IBHZVY.mjs → chunk-QPDWSMZ5.mjs} +1 -1
  18. package/dist/backend/{chunk-BAMETKFC.mjs → chunk-XIBFK5EL.mjs} +1 -1
  19. package/dist/backend/core/handlers/coreHandler.d.mts +1 -1
  20. package/dist/backend/core/handlers/coreHandler.d.ts +1 -1
  21. package/dist/backend/core/handlers/coreHandler.js +1780 -792
  22. package/dist/backend/core/handlers/coreHandler.mjs +3 -3
  23. package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
  24. package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
  25. package/dist/backend/core/handlers/handleRouteByName.js +1780 -792
  26. package/dist/backend/core/handlers/handleRouteByName.mjs +3 -3
  27. package/dist/backend/core/handlers/index.d.mts +1 -1
  28. package/dist/backend/core/handlers/index.d.ts +1 -1
  29. package/dist/backend/core/handlers/index.js +1780 -792
  30. package/dist/backend/core/handlers/index.mjs +4 -4
  31. package/dist/backend/core/index.d.mts +1 -1
  32. package/dist/backend/core/index.d.ts +1 -1
  33. package/dist/backend/core/index.js +1780 -792
  34. package/dist/backend/core/index.mjs +4 -4
  35. package/dist/backend/core/routes/index.d.mts +1 -1
  36. package/dist/backend/core/routes/index.d.ts +1 -1
  37. package/dist/backend/core/routes/index.js +220 -60
  38. package/dist/backend/core/routes/index.mjs +1 -1
  39. package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
  40. package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
  41. package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
  42. package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
  43. package/dist/backend/core/routes/routeConfigs.js +220 -60
  44. package/dist/backend/core/routes/routeConfigs.mjs +1 -1
  45. package/dist/backend/core/types/handlerTypes.d.mts +1 -1
  46. package/dist/backend/core/types/handlerTypes.d.ts +1 -1
  47. package/dist/backend/core/types/index.d.mts +1 -1
  48. package/dist/backend/core/types/index.d.ts +1 -1
  49. package/dist/backend/core/types/routeTypes.d.mts +1 -1
  50. package/dist/backend/core/types/routeTypes.d.ts +1 -1
  51. package/dist/backend/index.d.mts +2 -2
  52. package/dist/backend/index.d.ts +2 -2
  53. package/dist/backend/index.js +1780 -792
  54. package/dist/backend/index.mjs +4 -4
  55. package/dist/backend/{routeTypes-4Nvx_kS7.d.mts → routeTypes-C_10hxA-.d.mts} +916 -130
  56. package/dist/backend/{routeTypes-5NBu7O27.d.ts → routeTypes-CqaUPWtn.d.ts} +916 -130
  57. package/dist/{backend/chunk-QPCIJMW3.mjs → better-auth/chunk-44MLRR2L.mjs} +1996 -945
  58. package/dist/better-auth/{chunk-XMGJ2JOK.mjs → chunk-TX2WZUZT.mjs} +1 -1
  59. package/dist/better-auth/{chunk-7UPP5FN5.mjs → chunk-ZHYDDOAE.mjs} +220 -60
  60. package/dist/better-auth/index.js +1780 -792
  61. package/dist/better-auth/index.mjs +3 -3
  62. package/dist/better-auth/utils/createAutumnEndpoint.js +220 -60
  63. package/dist/better-auth/utils/createAutumnEndpoint.mjs +2 -2
  64. package/dist/better-auth/utils/handleBetterAuthRoute.js +1780 -792
  65. package/dist/better-auth/utils/handleBetterAuthRoute.mjs +2 -2
  66. package/dist/better-auth/utils/index.js +1780 -792
  67. package/dist/better-auth/utils/index.mjs +3 -3
  68. package/dist/react/AutumnContext.d.mts +4 -4
  69. package/dist/react/AutumnContext.d.ts +4 -4
  70. package/dist/react/client/AutumnClient.d.mts +4 -4
  71. package/dist/react/client/AutumnClient.d.ts +4 -4
  72. package/dist/react/client/IAutumnClient.d.mts +4 -4
  73. package/dist/react/client/IAutumnClient.d.ts +4 -4
  74. package/dist/react/client/index.d.mts +4 -4
  75. package/dist/react/client/index.d.ts +4 -4
  76. package/dist/react/{customer-Bf5yt0Mo.d.mts → customer-BK_WEJ0J.d.mts} +17 -1
  77. package/dist/react/{customer-BQxqzdSE.d.ts → customer-CGLAquo9.d.ts} +17 -1
  78. package/dist/react/hooks/index.d.mts +4 -4
  79. package/dist/react/hooks/index.d.ts +4 -4
  80. package/dist/react/hooks/internal/check/balanceToAllowed.d.mts +2 -2
  81. package/dist/react/hooks/internal/check/balanceToAllowed.d.ts +2 -2
  82. package/dist/react/hooks/internal/check/customerToFeatures.d.mts +2 -2
  83. package/dist/react/hooks/internal/check/customerToFeatures.d.ts +2 -2
  84. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.mts +2 -2
  85. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.ts +2 -2
  86. package/dist/react/hooks/internal/check/getCreditCost.d.mts +2 -2
  87. package/dist/react/hooks/internal/check/getCreditCost.d.ts +2 -2
  88. package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +3 -3
  89. package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +3 -3
  90. package/dist/react/hooks/internal/useCustomerActions.d.mts +4 -4
  91. package/dist/react/hooks/internal/useCustomerActions.d.ts +4 -4
  92. package/dist/react/hooks/useAggregateEvents.d.mts +2 -2
  93. package/dist/react/hooks/useAggregateEvents.d.ts +2 -2
  94. package/dist/react/hooks/useCustomer.d.mts +3 -3
  95. package/dist/react/hooks/useCustomer.d.ts +3 -3
  96. package/dist/react/hooks/useEntity.d.mts +2 -2
  97. package/dist/react/hooks/useEntity.d.ts +2 -2
  98. package/dist/react/hooks/useListEvents.d.mts +2 -2
  99. package/dist/react/hooks/useListEvents.d.ts +2 -2
  100. package/dist/react/hooks/useListPlans.d.mts +3 -3
  101. package/dist/react/hooks/useListPlans.d.ts +3 -3
  102. package/dist/react/hooks/useReferrals.d.mts +2 -2
  103. package/dist/react/hooks/useReferrals.d.ts +2 -2
  104. package/dist/react/index.d.mts +4 -4
  105. package/dist/react/index.d.ts +4 -4
  106. package/dist/react/{list-plans-response-CgqelDUJ.d.mts → list-plans-response-BMWMbzkK.d.ts} +89 -20
  107. package/dist/react/{list-plans-response-jYoBA-Ci.d.ts → list-plans-response-kbT4GwSh.d.mts} +89 -20
  108. package/dist/react/{params-B3qR55v_.d.ts → params-D_8sPp60.d.ts} +258 -40
  109. package/dist/react/{params-DWlWVt04.d.mts → params-eTM9nRBb.d.mts} +258 -40
  110. package/dist/react/{plan-BoEfV7t8.d.mts → plan-Dji-zdws.d.mts} +53 -7
  111. package/dist/react/{plan-BoEfV7t8.d.ts → plan-Dji-zdws.d.ts} +53 -7
  112. package/dist/sdk/index.d.mts +2323 -1205
  113. package/dist/sdk/index.d.ts +2323 -1205
  114. package/dist/sdk/index.js +21373 -20046
  115. package/dist/sdk/index.mjs +21237 -20046
  116. package/package.json +2 -2
@@ -1,14 +1,14 @@
1
1
  import "../chunk-HIWOK3G6.mjs";
2
2
  import {
3
3
  createAutumnEndpoint
4
- } from "../chunk-XMGJ2JOK.mjs";
4
+ } from "../chunk-TX2WZUZT.mjs";
5
5
  import {
6
6
  createHandleBetterAuthRoute
7
- } from "../chunk-U4Z36UKV.mjs";
7
+ } from "../chunk-44MLRR2L.mjs";
8
8
  import {
9
9
  resolveIdentityFromScope
10
10
  } from "../chunk-J2WYVGHS.mjs";
11
- import "../chunk-7UPP5FN5.mjs";
11
+ import "../chunk-ZHYDDOAE.mjs";
12
12
  import {
13
13
  getActiveOrganization
14
14
  } from "../chunk-BT3EAYVW.mjs";
@@ -1,9 +1,9 @@
1
1
  import * as react from 'react';
2
2
  import { IAutumnClient } from './client/IAutumnClient.mjs';
3
- import './params-DWlWVt04.mjs';
4
- import './plan-BoEfV7t8.mjs';
5
- import './customer-Bf5yt0Mo.mjs';
6
- import './list-plans-response-CgqelDUJ.mjs';
3
+ import './params-eTM9nRBb.mjs';
4
+ import './plan-Dji-zdws.mjs';
5
+ import './customer-BK_WEJ0J.mjs';
6
+ import './list-plans-response-kbT4GwSh.mjs';
7
7
 
8
8
  type AutumnContextValue = {
9
9
  client: IAutumnClient;
@@ -1,9 +1,9 @@
1
1
  import * as react from 'react';
2
2
  import { IAutumnClient } from './client/IAutumnClient.js';
3
- import './params-B3qR55v_.js';
4
- import './plan-BoEfV7t8.js';
5
- import './customer-BQxqzdSE.js';
6
- import './list-plans-response-jYoBA-Ci.js';
3
+ import './params-D_8sPp60.js';
4
+ import './plan-Dji-zdws.js';
5
+ import './customer-CGLAquo9.js';
6
+ import './list-plans-response-BMWMbzkK.js';
7
7
 
8
8
  type AutumnContextValue = {
9
9
  client: IAutumnClient;
@@ -1,8 +1,8 @@
1
1
  import { IAutumnClient } from './IAutumnClient.mjs';
2
- import '../params-DWlWVt04.mjs';
3
- import '../plan-BoEfV7t8.mjs';
4
- import '../customer-Bf5yt0Mo.mjs';
5
- import '../list-plans-response-CgqelDUJ.mjs';
2
+ import '../params-eTM9nRBb.mjs';
3
+ import '../plan-Dji-zdws.mjs';
4
+ import '../customer-BK_WEJ0J.mjs';
5
+ import '../list-plans-response-kbT4GwSh.mjs';
6
6
 
7
7
  /** Configuration for Autumn client */
8
8
  type AutumnClientConfig = {
@@ -1,8 +1,8 @@
1
1
  import { IAutumnClient } from './IAutumnClient.js';
2
- import '../params-B3qR55v_.js';
3
- import '../plan-BoEfV7t8.js';
4
- import '../customer-BQxqzdSE.js';
5
- import '../list-plans-response-jYoBA-Ci.js';
2
+ import '../params-D_8sPp60.js';
3
+ import '../plan-Dji-zdws.js';
4
+ import '../customer-CGLAquo9.js';
5
+ import '../list-plans-response-BMWMbzkK.js';
6
6
 
7
7
  /** Configuration for Autumn client */
8
8
  type AutumnClientConfig = {
@@ -1,7 +1,7 @@
1
- import { d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse, t as ClientListPlansParams, e as ClientListEventsParams, L as ListEventsResponse, C as ClientAggregateEventsParams, u as AggregateEventsResponse, c as ClientGetEntityParams, G as GetEntityResponse } from '../params-DWlWVt04.mjs';
2
- import { C as Customer } from '../customer-Bf5yt0Mo.mjs';
3
- import { L as ListPlansResponse } from '../list-plans-response-CgqelDUJ.mjs';
4
- import '../plan-BoEfV7t8.mjs';
1
+ import { d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse, t as ClientListPlansParams, e as ClientListEventsParams, L as ListEventsResponse, C as ClientAggregateEventsParams, u as AggregateEventsResponse, c as ClientGetEntityParams, G as GetEntityResponse } from '../params-eTM9nRBb.mjs';
2
+ import { C as Customer } from '../customer-BK_WEJ0J.mjs';
3
+ import { L as ListPlansResponse } from '../list-plans-response-kbT4GwSh.mjs';
4
+ import '../plan-Dji-zdws.mjs';
5
5
 
6
6
  /** Client interface matching backend RPC routes */
7
7
  interface IAutumnClient {
@@ -1,7 +1,7 @@
1
- import { d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse, t as ClientListPlansParams, e as ClientListEventsParams, L as ListEventsResponse, C as ClientAggregateEventsParams, u as AggregateEventsResponse, c as ClientGetEntityParams, G as GetEntityResponse } from '../params-B3qR55v_.js';
2
- import { C as Customer } from '../customer-BQxqzdSE.js';
3
- import { L as ListPlansResponse } from '../list-plans-response-jYoBA-Ci.js';
4
- import '../plan-BoEfV7t8.js';
1
+ import { d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse, t as ClientListPlansParams, e as ClientListEventsParams, L as ListEventsResponse, C as ClientAggregateEventsParams, u as AggregateEventsResponse, c as ClientGetEntityParams, G as GetEntityResponse } from '../params-D_8sPp60.js';
2
+ import { C as Customer } from '../customer-CGLAquo9.js';
3
+ import { L as ListPlansResponse } from '../list-plans-response-BMWMbzkK.js';
4
+ import '../plan-Dji-zdws.js';
5
5
 
6
6
  /** Client interface matching backend RPC routes */
7
7
  interface IAutumnClient {
@@ -1,7 +1,7 @@
1
1
  export { AutumnClientConfig, createAutumnClient } from './AutumnClient.mjs';
2
2
  export { AutumnClientError } from './AutumnClientError.mjs';
3
3
  export { IAutumnClient } from './IAutumnClient.mjs';
4
- import '../params-DWlWVt04.mjs';
5
- import '../plan-BoEfV7t8.mjs';
6
- import '../customer-Bf5yt0Mo.mjs';
7
- import '../list-plans-response-CgqelDUJ.mjs';
4
+ import '../params-eTM9nRBb.mjs';
5
+ import '../plan-Dji-zdws.mjs';
6
+ import '../customer-BK_WEJ0J.mjs';
7
+ import '../list-plans-response-kbT4GwSh.mjs';
@@ -1,7 +1,7 @@
1
1
  export { AutumnClientConfig, createAutumnClient } from './AutumnClient.js';
2
2
  export { AutumnClientError } from './AutumnClientError.js';
3
3
  export { IAutumnClient } from './IAutumnClient.js';
4
- import '../params-B3qR55v_.js';
5
- import '../plan-BoEfV7t8.js';
6
- import '../customer-BQxqzdSE.js';
7
- import '../list-plans-response-jYoBA-Ci.js';
4
+ import '../params-D_8sPp60.js';
5
+ import '../plan-Dji-zdws.js';
6
+ import '../customer-CGLAquo9.js';
7
+ import '../list-plans-response-BMWMbzkK.js';
@@ -1,4 +1,4 @@
1
- import { O as OpenEnum, P as Plan, a as Balance, C as ClosedEnum } from './plan-BoEfV7t8.mjs';
1
+ import { O as OpenEnum, P as Plan, a as Balance, C as ClosedEnum } from './plan-Dji-zdws.mjs';
2
2
 
3
3
  /**
4
4
  * The environment this customer was created in.
@@ -566,6 +566,18 @@ declare const CustomerFlagsType: {
566
566
  * Feature type: 'boolean' for on/off access, 'metered' for usage-tracked features, 'credit_system' for unified credit pools, 'ai_credit_system' for model-based token pricing.
567
567
  */
568
568
  type CustomerFlagsType = OpenEnum<typeof CustomerFlagsType>;
569
+ /**
570
+ * How grants of this feature from several plans combine: 'sum' adds them up, 'max' / 'min' keep the highest / lowest grant among plan items with no price. Omitted when 'sum'.
571
+ */
572
+ declare const CustomerCombine: {
573
+ readonly Sum: "sum";
574
+ readonly Max: "max";
575
+ readonly Min: "min";
576
+ };
577
+ /**
578
+ * How grants of this feature from several plans combine: 'sum' adds them up, 'max' / 'min' keep the highest / lowest grant among plan items with no price. Omitted when 'sum'.
579
+ */
580
+ type CustomerCombine = OpenEnum<typeof CustomerCombine>;
569
581
  type CustomerDimensions6 = {
570
582
  /**
571
583
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -890,6 +902,10 @@ type CustomerFeature = {
890
902
  * For metered features: true if usage resets periodically (API calls, credits), false if allocated persistently (seats, storage).
891
903
  */
892
904
  consumable: boolean;
905
+ /**
906
+ * How grants of this feature from several plans combine: 'sum' adds them up, 'max' / 'min' keep the highest / lowest grant among plan items with no price. Omitted when 'sum'.
907
+ */
908
+ combine?: CustomerCombine | undefined;
893
909
  /**
894
910
  * Event names that trigger this feature's balance. Allows multiple features to respond to a single event.
895
911
  */
@@ -1,4 +1,4 @@
1
- import { O as OpenEnum, P as Plan, a as Balance, C as ClosedEnum } from './plan-BoEfV7t8.js';
1
+ import { O as OpenEnum, P as Plan, a as Balance, C as ClosedEnum } from './plan-Dji-zdws.js';
2
2
 
3
3
  /**
4
4
  * The environment this customer was created in.
@@ -566,6 +566,18 @@ declare const CustomerFlagsType: {
566
566
  * Feature type: 'boolean' for on/off access, 'metered' for usage-tracked features, 'credit_system' for unified credit pools, 'ai_credit_system' for model-based token pricing.
567
567
  */
568
568
  type CustomerFlagsType = OpenEnum<typeof CustomerFlagsType>;
569
+ /**
570
+ * How grants of this feature from several plans combine: 'sum' adds them up, 'max' / 'min' keep the highest / lowest grant among plan items with no price. Omitted when 'sum'.
571
+ */
572
+ declare const CustomerCombine: {
573
+ readonly Sum: "sum";
574
+ readonly Max: "max";
575
+ readonly Min: "min";
576
+ };
577
+ /**
578
+ * How grants of this feature from several plans combine: 'sum' adds them up, 'max' / 'min' keep the highest / lowest grant among plan items with no price. Omitted when 'sum'.
579
+ */
580
+ type CustomerCombine = OpenEnum<typeof CustomerCombine>;
569
581
  type CustomerDimensions6 = {
570
582
  /**
571
583
  * Event properties this entry applies to. Every key must equal the tracked property, compared as strings.
@@ -890,6 +902,10 @@ type CustomerFeature = {
890
902
  * For metered features: true if usage resets periodically (API calls, credits), false if allocated persistently (seats, storage).
891
903
  */
892
904
  consumable: boolean;
905
+ /**
906
+ * How grants of this feature from several plans combine: 'sum' adds them up, 'max' / 'min' keep the highest / lowest grant among plan items with no price. Omitted when 'sum'.
907
+ */
908
+ combine?: CustomerCombine | undefined;
893
909
  /**
894
910
  * Event names that trigger this feature's balance. Allows multiple features to respond to a single event.
895
911
  */
@@ -7,7 +7,7 @@ export { UseListPlansParams, useListPlans } from './useListPlans.mjs';
7
7
  export { UseReferralsParams, UseReferralsResult, useReferrals } from './useReferrals.mjs';
8
8
  import '@tanstack/react-query';
9
9
  import '../client/AutumnClientError.mjs';
10
- import '../params-DWlWVt04.mjs';
11
- import '../plan-BoEfV7t8.mjs';
12
- import '../customer-Bf5yt0Mo.mjs';
13
- import '../list-plans-response-CgqelDUJ.mjs';
10
+ import '../params-eTM9nRBb.mjs';
11
+ import '../plan-Dji-zdws.mjs';
12
+ import '../customer-BK_WEJ0J.mjs';
13
+ import '../list-plans-response-kbT4GwSh.mjs';
@@ -7,7 +7,7 @@ export { UseListPlansParams, useListPlans } from './useListPlans.js';
7
7
  export { UseReferralsParams, UseReferralsResult, useReferrals } from './useReferrals.js';
8
8
  import '@tanstack/react-query';
9
9
  import '../client/AutumnClientError.js';
10
- import '../params-B3qR55v_.js';
11
- import '../plan-BoEfV7t8.js';
12
- import '../customer-BQxqzdSE.js';
13
- import '../list-plans-response-jYoBA-Ci.js';
10
+ import '../params-D_8sPp60.js';
11
+ import '../plan-Dji-zdws.js';
12
+ import '../customer-CGLAquo9.js';
13
+ import '../list-plans-response-BMWMbzkK.js';
@@ -1,5 +1,5 @@
1
- import { C as Customer } from '../../../customer-Bf5yt0Mo.mjs';
2
- import '../../../plan-BoEfV7t8.mjs';
1
+ import { C as Customer } from '../../../customer-BK_WEJ0J.mjs';
2
+ import '../../../plan-Dji-zdws.mjs';
3
3
 
4
4
  type CustomerBalance = Customer["balances"][string];
5
5
  type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
@@ -1,5 +1,5 @@
1
- import { C as Customer } from '../../../customer-BQxqzdSE.js';
2
- import '../../../plan-BoEfV7t8.js';
1
+ import { C as Customer } from '../../../customer-CGLAquo9.js';
2
+ import '../../../plan-Dji-zdws.js';
3
3
 
4
4
  type CustomerBalance = Customer["balances"][string];
5
5
  type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
@@ -1,5 +1,5 @@
1
- import { C as Customer } from '../../../customer-Bf5yt0Mo.mjs';
2
- import '../../../plan-BoEfV7t8.mjs';
1
+ import { C as Customer } from '../../../customer-BK_WEJ0J.mjs';
2
+ import '../../../plan-Dji-zdws.mjs';
3
3
 
4
4
  type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
5
5
  declare const customerToFeatures: ({ customer, }: {
@@ -1,5 +1,5 @@
1
- import { C as Customer } from '../../../customer-BQxqzdSE.js';
2
- import '../../../plan-BoEfV7t8.js';
1
+ import { C as Customer } from '../../../customer-CGLAquo9.js';
2
+ import '../../../plan-Dji-zdws.js';
3
3
 
4
4
  type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
5
5
  declare const customerToFeatures: ({ customer, }: {
@@ -1,5 +1,5 @@
1
- import { B as BalanceFeature } from '../../../plan-BoEfV7t8.mjs';
2
- import { C as Customer } from '../../../customer-Bf5yt0Mo.mjs';
1
+ import { B as BalanceFeature } from '../../../plan-Dji-zdws.mjs';
2
+ import { C as Customer } from '../../../customer-BK_WEJ0J.mjs';
3
3
 
4
4
  type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
5
5
  declare const findCreditSystemsByFeature: ({ featureId, features, }: {
@@ -1,5 +1,5 @@
1
- import { B as BalanceFeature } from '../../../plan-BoEfV7t8.js';
2
- import { C as Customer } from '../../../customer-BQxqzdSE.js';
1
+ import { B as BalanceFeature } from '../../../plan-Dji-zdws.js';
2
+ import { C as Customer } from '../../../customer-CGLAquo9.js';
3
3
 
4
4
  type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
5
5
  declare const findCreditSystemsByFeature: ({ featureId, features, }: {
@@ -1,5 +1,5 @@
1
- import { C as Customer } from '../../../customer-Bf5yt0Mo.mjs';
2
- import '../../../plan-BoEfV7t8.mjs';
1
+ import { C as Customer } from '../../../customer-BK_WEJ0J.mjs';
2
+ import '../../../plan-Dji-zdws.mjs';
3
3
 
4
4
  type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
5
5
  declare const getCreditCost: ({ featureId, creditSystem, amount, }: {
@@ -1,5 +1,5 @@
1
- import { C as Customer } from '../../../customer-BQxqzdSE.js';
2
- import '../../../plan-BoEfV7t8.js';
1
+ import { C as Customer } from '../../../customer-CGLAquo9.js';
2
+ import '../../../plan-Dji-zdws.js';
3
3
 
4
4
  type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
5
5
  declare const getCreditCost: ({ featureId, creditSystem, amount, }: {
@@ -1,6 +1,6 @@
1
- import { n as ClientCheckParams, o as CheckResponse } from '../../params-DWlWVt04.mjs';
2
- import { C as Customer } from '../../customer-Bf5yt0Mo.mjs';
3
- import '../../plan-BoEfV7t8.mjs';
1
+ import { n as ClientCheckParams, o as CheckResponse } from '../../params-eTM9nRBb.mjs';
2
+ import { C as Customer } from '../../customer-BK_WEJ0J.mjs';
3
+ import '../../plan-Dji-zdws.mjs';
4
4
 
5
5
  declare const getLocalCheckResponse: ({ customer, params, }: {
6
6
  customer: Customer | null;
@@ -1,6 +1,6 @@
1
- import { n as ClientCheckParams, o as CheckResponse } from '../../params-B3qR55v_.js';
2
- import { C as Customer } from '../../customer-BQxqzdSE.js';
3
- import '../../plan-BoEfV7t8.js';
1
+ import { n as ClientCheckParams, o as CheckResponse } from '../../params-D_8sPp60.js';
2
+ import { C as Customer } from '../../customer-CGLAquo9.js';
3
+ import '../../plan-Dji-zdws.js';
4
4
 
5
5
  declare const getLocalCheckResponse: ({ customer, params, }: {
6
6
  customer: Customer | null;
@@ -1,8 +1,8 @@
1
- import { a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, n as ClientCheckParams, o as CheckResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse } from '../../params-DWlWVt04.mjs';
2
- import { C as Customer } from '../../customer-Bf5yt0Mo.mjs';
1
+ import { a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, n as ClientCheckParams, o as CheckResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse } from '../../params-eTM9nRBb.mjs';
2
+ import { C as Customer } from '../../customer-BK_WEJ0J.mjs';
3
3
  import { IAutumnClient } from '../../client/IAutumnClient.mjs';
4
- import '../../plan-BoEfV7t8.mjs';
5
- import '../../list-plans-response-CgqelDUJ.mjs';
4
+ import '../../plan-Dji-zdws.mjs';
5
+ import '../../list-plans-response-kbT4GwSh.mjs';
6
6
 
7
7
  /**
8
8
  * @deprecated Autumn's React hooks are deprecated, as they don't scale well over time. Please use our backend SDK instead.
@@ -1,8 +1,8 @@
1
- import { a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, n as ClientCheckParams, o as CheckResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse } from '../../params-B3qR55v_.js';
2
- import { C as Customer } from '../../customer-BQxqzdSE.js';
1
+ import { a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, n as ClientCheckParams, o as CheckResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse } from '../../params-D_8sPp60.js';
2
+ import { C as Customer } from '../../customer-CGLAquo9.js';
3
3
  import { IAutumnClient } from '../../client/IAutumnClient.js';
4
- import '../../plan-BoEfV7t8.js';
5
- import '../../list-plans-response-jYoBA-Ci.js';
4
+ import '../../plan-Dji-zdws.js';
5
+ import '../../list-plans-response-BMWMbzkK.js';
6
6
 
7
7
  /**
8
8
  * @deprecated Autumn's React hooks are deprecated, as they don't scale well over time. Please use our backend SDK instead.
@@ -1,8 +1,8 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { C as ClientAggregateEventsParams, u as AggregateEventsResponse, v as AggregateEventsList, T as Total } from '../params-DWlWVt04.mjs';
2
+ import { C as ClientAggregateEventsParams, u as AggregateEventsResponse, v as AggregateEventsList, T as Total } from '../params-eTM9nRBb.mjs';
3
3
  import { AutumnClientError } from '../client/AutumnClientError.mjs';
4
4
  import { HookParams } from './types.mjs';
5
- import '../plan-BoEfV7t8.mjs';
5
+ import '../plan-Dji-zdws.mjs';
6
6
 
7
7
  type UseAggregateEventsParams = HookParams<ClientAggregateEventsParams, AggregateEventsResponse>;
8
8
  /**
@@ -1,8 +1,8 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { C as ClientAggregateEventsParams, u as AggregateEventsResponse, v as AggregateEventsList, T as Total } from '../params-B3qR55v_.js';
2
+ import { C as ClientAggregateEventsParams, u as AggregateEventsResponse, v as AggregateEventsList, T as Total } from '../params-D_8sPp60.js';
3
3
  import { AutumnClientError } from '../client/AutumnClientError.js';
4
4
  import { HookParams } from './types.js';
5
- import '../plan-BoEfV7t8.js';
5
+ import '../plan-Dji-zdws.js';
6
6
 
7
7
  type UseAggregateEventsParams = HookParams<ClientAggregateEventsParams, AggregateEventsResponse>;
8
8
  /**
@@ -1,7 +1,7 @@
1
- import { n as ClientCheckParams, d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, o as CheckResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse } from '../params-DWlWVt04.mjs';
2
- import { C as Customer } from '../customer-Bf5yt0Mo.mjs';
1
+ import { n as ClientCheckParams, d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, o as CheckResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse } from '../params-eTM9nRBb.mjs';
2
+ import { C as Customer } from '../customer-BK_WEJ0J.mjs';
3
3
  import { HookParams, HookResultWithMethods } from './types.mjs';
4
- import '../plan-BoEfV7t8.mjs';
4
+ import '../plan-Dji-zdws.mjs';
5
5
  import '@tanstack/react-query';
6
6
  import '../client/AutumnClientError.mjs';
7
7
 
@@ -1,7 +1,7 @@
1
- import { n as ClientCheckParams, d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, o as CheckResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse } from '../params-B3qR55v_.js';
2
- import { C as Customer } from '../customer-BQxqzdSE.js';
1
+ import { n as ClientCheckParams, d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, o as CheckResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse } from '../params-D_8sPp60.js';
2
+ import { C as Customer } from '../customer-CGLAquo9.js';
3
3
  import { HookParams, HookResultWithMethods } from './types.js';
4
- import '../plan-BoEfV7t8.js';
4
+ import '../plan-Dji-zdws.js';
5
5
  import '@tanstack/react-query';
6
6
  import '../client/AutumnClientError.js';
7
7
 
@@ -1,6 +1,6 @@
1
- import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-DWlWVt04.mjs';
1
+ import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-eTM9nRBb.mjs';
2
2
  import { HookParams, HookResult } from './types.mjs';
3
- import '../plan-BoEfV7t8.mjs';
3
+ import '../plan-Dji-zdws.mjs';
4
4
  import '@tanstack/react-query';
5
5
  import '../client/AutumnClientError.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
- import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-B3qR55v_.js';
1
+ import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-D_8sPp60.js';
2
2
  import { HookParams, HookResult } from './types.js';
3
- import '../plan-BoEfV7t8.js';
3
+ import '../plan-Dji-zdws.js';
4
4
  import '@tanstack/react-query';
5
5
  import '../client/AutumnClientError.js';
6
6
 
@@ -1,8 +1,8 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { e as ClientListEventsParams, L as ListEventsResponse, w as ListEventsList } from '../params-DWlWVt04.mjs';
2
+ import { e as ClientListEventsParams, L as ListEventsResponse, w as ListEventsList } from '../params-eTM9nRBb.mjs';
3
3
  import { AutumnClientError } from '../client/AutumnClientError.mjs';
4
4
  import { HookParams } from './types.mjs';
5
- import '../plan-BoEfV7t8.mjs';
5
+ import '../plan-Dji-zdws.mjs';
6
6
 
7
7
  type UseListEventsParams = HookParams<ClientListEventsParams, ListEventsResponse>;
8
8
  /**
@@ -1,8 +1,8 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { e as ClientListEventsParams, L as ListEventsResponse, w as ListEventsList } from '../params-B3qR55v_.js';
2
+ import { e as ClientListEventsParams, L as ListEventsResponse, w as ListEventsList } from '../params-D_8sPp60.js';
3
3
  import { AutumnClientError } from '../client/AutumnClientError.js';
4
4
  import { HookParams } from './types.js';
5
- import '../plan-BoEfV7t8.js';
5
+ import '../plan-Dji-zdws.js';
6
6
 
7
7
  type UseListEventsParams = HookParams<ClientListEventsParams, ListEventsResponse>;
8
8
  /**
@@ -1,9 +1,9 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { a as ListPlansList } from '../list-plans-response-CgqelDUJ.mjs';
3
- import { t as ClientListPlansParams } from '../params-DWlWVt04.mjs';
2
+ import { a as ListPlansList } from '../list-plans-response-kbT4GwSh.mjs';
3
+ import { t as ClientListPlansParams } from '../params-eTM9nRBb.mjs';
4
4
  import { AutumnClientError } from '../client/AutumnClientError.mjs';
5
5
  import { HookParams } from './types.mjs';
6
- import '../plan-BoEfV7t8.mjs';
6
+ import '../plan-Dji-zdws.mjs';
7
7
 
8
8
  type UseListPlansParams = HookParams<ClientListPlansParams, ListPlansList[]>;
9
9
  /**
@@ -1,9 +1,9 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { a as ListPlansList } from '../list-plans-response-jYoBA-Ci.js';
3
- import { t as ClientListPlansParams } from '../params-B3qR55v_.js';
2
+ import { a as ListPlansList } from '../list-plans-response-BMWMbzkK.js';
3
+ import { t as ClientListPlansParams } from '../params-D_8sPp60.js';
4
4
  import { AutumnClientError } from '../client/AutumnClientError.js';
5
5
  import { HookParams } from './types.js';
6
- import '../plan-BoEfV7t8.js';
6
+ import '../plan-Dji-zdws.js';
7
7
 
8
8
  type UseListPlansParams = HookParams<ClientListPlansParams, ListPlansList[]>;
9
9
  /**
@@ -1,6 +1,6 @@
1
- import { b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse } from '../params-DWlWVt04.mjs';
1
+ import { b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse } from '../params-eTM9nRBb.mjs';
2
2
  import { HookParams, HookResultWithMethods } from './types.mjs';
3
- import '../plan-BoEfV7t8.mjs';
3
+ import '../plan-Dji-zdws.mjs';
4
4
  import '@tanstack/react-query';
5
5
  import '../client/AutumnClientError.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse } from '../params-B3qR55v_.js';
1
+ import { b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse } from '../params-D_8sPp60.js';
2
2
  import { HookParams, HookResultWithMethods } from './types.js';
3
- import '../plan-BoEfV7t8.js';
3
+ import '../plan-Dji-zdws.js';
4
4
  import '@tanstack/react-query';
5
5
  import '../client/AutumnClientError.js';
6
6
 
@@ -1,4 +1,4 @@
1
- export { C as ClientAggregateEventsParams, a as ClientAttachParams, b as ClientCreateReferralCodeParams, c as ClientGetEntityParams, d as ClientGetOrCreateCustomerParams, e as ClientListEventsParams, f as ClientMultiAttachParams, g as ClientOpenCustomerPortalParams, h as ClientPreviewAttachParams, i as ClientPreviewMultiAttachParams, j as ClientPreviewUpdateSubscriptionParams, k as ClientRedeemReferralCodeParams, l as ClientSetupPaymentParams, m as ClientUpdateSubscriptionParams, P as ProtectedFields } from './params-DWlWVt04.mjs';
1
+ export { C as ClientAggregateEventsParams, a as ClientAttachParams, b as ClientCreateReferralCodeParams, c as ClientGetEntityParams, d as ClientGetOrCreateCustomerParams, e as ClientListEventsParams, f as ClientMultiAttachParams, g as ClientOpenCustomerPortalParams, h as ClientPreviewAttachParams, i as ClientPreviewMultiAttachParams, j as ClientPreviewUpdateSubscriptionParams, k as ClientRedeemReferralCodeParams, l as ClientSetupPaymentParams, m as ClientUpdateSubscriptionParams, P as ProtectedFields } from './params-eTM9nRBb.mjs';
2
2
  export { useAutumnClient } from './AutumnContext.mjs';
3
3
  export { AutumnProvider, AutumnProviderProps } from './AutumnProvider.mjs';
4
4
  export { AutumnClientConfig, createAutumnClient } from './client/AutumnClient.mjs';
@@ -10,9 +10,9 @@ export { UseEntityParams, UseEntityResult, useEntity } from './hooks/useEntity.m
10
10
  export { UseListEventsParams, useListEvents } from './hooks/useListEvents.mjs';
11
11
  export { UseListPlansParams, useListPlans } from './hooks/useListPlans.mjs';
12
12
  export { UseReferralsParams, UseReferralsResult, useReferrals } from './hooks/useReferrals.mjs';
13
- import './plan-BoEfV7t8.mjs';
13
+ import './plan-Dji-zdws.mjs';
14
14
  import 'react';
15
- import './customer-Bf5yt0Mo.mjs';
16
- import './list-plans-response-CgqelDUJ.mjs';
15
+ import './customer-BK_WEJ0J.mjs';
16
+ import './list-plans-response-kbT4GwSh.mjs';
17
17
  import '@tanstack/react-query';
18
18
  import './hooks/types.mjs';
@@ -1,4 +1,4 @@
1
- export { C as ClientAggregateEventsParams, a as ClientAttachParams, b as ClientCreateReferralCodeParams, c as ClientGetEntityParams, d as ClientGetOrCreateCustomerParams, e as ClientListEventsParams, f as ClientMultiAttachParams, g as ClientOpenCustomerPortalParams, h as ClientPreviewAttachParams, i as ClientPreviewMultiAttachParams, j as ClientPreviewUpdateSubscriptionParams, k as ClientRedeemReferralCodeParams, l as ClientSetupPaymentParams, m as ClientUpdateSubscriptionParams, P as ProtectedFields } from './params-B3qR55v_.js';
1
+ export { C as ClientAggregateEventsParams, a as ClientAttachParams, b as ClientCreateReferralCodeParams, c as ClientGetEntityParams, d as ClientGetOrCreateCustomerParams, e as ClientListEventsParams, f as ClientMultiAttachParams, g as ClientOpenCustomerPortalParams, h as ClientPreviewAttachParams, i as ClientPreviewMultiAttachParams, j as ClientPreviewUpdateSubscriptionParams, k as ClientRedeemReferralCodeParams, l as ClientSetupPaymentParams, m as ClientUpdateSubscriptionParams, P as ProtectedFields } from './params-D_8sPp60.js';
2
2
  export { useAutumnClient } from './AutumnContext.js';
3
3
  export { AutumnProvider, AutumnProviderProps } from './AutumnProvider.js';
4
4
  export { AutumnClientConfig, createAutumnClient } from './client/AutumnClient.js';
@@ -10,9 +10,9 @@ export { UseEntityParams, UseEntityResult, useEntity } from './hooks/useEntity.j
10
10
  export { UseListEventsParams, useListEvents } from './hooks/useListEvents.js';
11
11
  export { UseListPlansParams, useListPlans } from './hooks/useListPlans.js';
12
12
  export { UseReferralsParams, UseReferralsResult, useReferrals } from './hooks/useReferrals.js';
13
- import './plan-BoEfV7t8.js';
13
+ import './plan-Dji-zdws.js';
14
14
  import 'react';
15
- import './customer-BQxqzdSE.js';
16
- import './list-plans-response-jYoBA-Ci.js';
15
+ import './customer-CGLAquo9.js';
16
+ import './list-plans-response-BMWMbzkK.js';
17
17
  import '@tanstack/react-query';
18
18
  import './hooks/types.js';