autumn-js 1.2.36 → 1.2.38

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 (136) 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 +3621 -2496
  4. package/dist/backend/adapters/express.mjs +5 -5
  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 +3621 -2496
  8. package/dist/backend/adapters/fetch.mjs +5 -5
  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 +3621 -2496
  12. package/dist/backend/adapters/hono.mjs +5 -5
  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 +3621 -2496
  16. package/dist/backend/adapters/index.mjs +8 -8
  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 +3621 -2496
  20. package/dist/backend/adapters/next.mjs +5 -5
  21. package/dist/backend/{authTypes-B33BAaz1.d.mts → authTypes-jU7ON-I5.d.mts} +16 -0
  22. package/dist/backend/{authTypes-B33BAaz1.d.ts → authTypes-jU7ON-I5.d.ts} +16 -0
  23. package/dist/backend/{chunk-DM4U6X6S.mjs → chunk-5C7KP2BU.mjs} +3392 -2491
  24. package/dist/backend/{chunk-N7GIQBPX.mjs → chunk-CEUAUTNB.mjs} +1 -1
  25. package/dist/backend/{chunk-LXGO7BDG.mjs → chunk-N52JKSJ7.mjs} +2 -2
  26. package/dist/backend/{chunk-TYGTZQUO.mjs → chunk-NHBJ3QDV.mjs} +260 -36
  27. package/dist/backend/{chunk-GSQI4FPG.mjs → chunk-PKM7CEE3.mjs} +2 -2
  28. package/dist/backend/{chunk-IYLQYGBL.mjs → chunk-TIFFBW34.mjs} +1 -1
  29. package/dist/backend/{chunk-FVAJW2AM.mjs → chunk-Y3AJLHVL.mjs} +1 -1
  30. package/dist/backend/{chunk-GE4TEGFS.mjs → chunk-ZR5K6VMA.mjs} +1 -1
  31. package/dist/backend/core/handlers/coreHandler.d.mts +2 -2
  32. package/dist/backend/core/handlers/coreHandler.d.ts +2 -2
  33. package/dist/backend/core/handlers/coreHandler.js +3621 -2496
  34. package/dist/backend/core/handlers/coreHandler.mjs +3 -3
  35. package/dist/backend/core/handlers/executeRoute.d.mts +2 -2
  36. package/dist/backend/core/handlers/executeRoute.d.ts +2 -2
  37. package/dist/backend/core/handlers/handleRouteByName.d.mts +1 -1
  38. package/dist/backend/core/handlers/handleRouteByName.d.ts +1 -1
  39. package/dist/backend/core/handlers/handleRouteByName.js +3621 -2496
  40. package/dist/backend/core/handlers/handleRouteByName.mjs +3 -3
  41. package/dist/backend/core/handlers/index.d.mts +2 -2
  42. package/dist/backend/core/handlers/index.d.ts +2 -2
  43. package/dist/backend/core/handlers/index.js +3621 -2496
  44. package/dist/backend/core/handlers/index.mjs +4 -4
  45. package/dist/backend/core/handlers/resolveIdentity.d.mts +1 -1
  46. package/dist/backend/core/handlers/resolveIdentity.d.ts +1 -1
  47. package/dist/backend/core/index.d.mts +2 -2
  48. package/dist/backend/core/index.d.ts +2 -2
  49. package/dist/backend/core/index.js +3621 -2496
  50. package/dist/backend/core/index.mjs +4 -4
  51. package/dist/backend/core/routes/index.d.mts +2 -2
  52. package/dist/backend/core/routes/index.d.ts +2 -2
  53. package/dist/backend/core/routes/index.js +260 -36
  54. package/dist/backend/core/routes/index.mjs +1 -1
  55. package/dist/backend/core/routes/routeBuilder.d.mts +2 -2
  56. package/dist/backend/core/routes/routeBuilder.d.ts +2 -2
  57. package/dist/backend/core/routes/routeConfigs.d.mts +2 -2
  58. package/dist/backend/core/routes/routeConfigs.d.ts +2 -2
  59. package/dist/backend/core/routes/routeConfigs.js +260 -36
  60. package/dist/backend/core/routes/routeConfigs.mjs +1 -1
  61. package/dist/backend/core/types/authTypes.d.mts +1 -1
  62. package/dist/backend/core/types/authTypes.d.ts +1 -1
  63. package/dist/backend/core/types/handlerTypes.d.mts +2 -2
  64. package/dist/backend/core/types/handlerTypes.d.ts +2 -2
  65. package/dist/backend/core/types/index.d.mts +2 -2
  66. package/dist/backend/core/types/index.d.ts +2 -2
  67. package/dist/backend/core/types/routeTypes.d.mts +2 -2
  68. package/dist/backend/core/types/routeTypes.d.ts +2 -2
  69. package/dist/backend/index.d.mts +4 -4
  70. package/dist/backend/index.d.ts +4 -4
  71. package/dist/backend/index.js +3621 -2496
  72. package/dist/backend/index.mjs +4 -4
  73. package/dist/backend/{routeTypes-DHddqQr2.d.ts → routeTypes-C8YKwtFL.d.ts} +1258 -125
  74. package/dist/backend/{routeTypes-HAwGkZKj.d.mts → routeTypes-gWhxv6xo.d.mts} +1258 -125
  75. package/dist/better-auth/{chunk-DSE3KBZN.mjs → chunk-7NGK7FWC.mjs} +1 -1
  76. package/dist/better-auth/{chunk-EXXLFTJH.mjs → chunk-A3ZOJU54.mjs} +3393 -2492
  77. package/dist/better-auth/{chunk-RGU4M7DE.mjs → chunk-DG2IPLR6.mjs} +260 -36
  78. package/dist/better-auth/index.js +3653 -2528
  79. package/dist/better-auth/index.mjs +3 -3
  80. package/dist/better-auth/types.d.mts +16 -0
  81. package/dist/better-auth/types.d.ts +16 -0
  82. package/dist/better-auth/utils/createAutumnEndpoint.js +260 -36
  83. package/dist/better-auth/utils/createAutumnEndpoint.mjs +2 -2
  84. package/dist/better-auth/utils/handleBetterAuthRoute.js +3621 -2496
  85. package/dist/better-auth/utils/handleBetterAuthRoute.mjs +2 -2
  86. package/dist/better-auth/utils/index.js +3653 -2528
  87. package/dist/better-auth/utils/index.mjs +3 -3
  88. package/dist/react/AutumnContext.d.mts +4 -4
  89. package/dist/react/AutumnContext.d.ts +4 -4
  90. package/dist/react/client/AutumnClient.d.mts +4 -4
  91. package/dist/react/client/AutumnClient.d.ts +4 -4
  92. package/dist/react/client/IAutumnClient.d.mts +4 -4
  93. package/dist/react/client/IAutumnClient.d.ts +4 -4
  94. package/dist/react/client/index.d.mts +4 -4
  95. package/dist/react/client/index.d.ts +4 -4
  96. package/dist/react/{customer-fjDreCb2.d.mts → customer-CkuydPCd.d.mts} +17 -1
  97. package/dist/react/{customer-DDciGja3.d.ts → customer-D811_jP2.d.ts} +17 -1
  98. package/dist/react/hooks/index.d.mts +4 -4
  99. package/dist/react/hooks/index.d.ts +4 -4
  100. package/dist/react/hooks/internal/check/balanceToAllowed.d.mts +2 -2
  101. package/dist/react/hooks/internal/check/balanceToAllowed.d.ts +2 -2
  102. package/dist/react/hooks/internal/check/customerToFeatures.d.mts +2 -2
  103. package/dist/react/hooks/internal/check/customerToFeatures.d.ts +2 -2
  104. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.mts +2 -2
  105. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.ts +2 -2
  106. package/dist/react/hooks/internal/check/getCreditCost.d.mts +2 -2
  107. package/dist/react/hooks/internal/check/getCreditCost.d.ts +2 -2
  108. package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +3 -3
  109. package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +3 -3
  110. package/dist/react/hooks/internal/useCustomerActions.d.mts +4 -4
  111. package/dist/react/hooks/internal/useCustomerActions.d.ts +4 -4
  112. package/dist/react/hooks/useAggregateEvents.d.mts +2 -2
  113. package/dist/react/hooks/useAggregateEvents.d.ts +2 -2
  114. package/dist/react/hooks/useCustomer.d.mts +3 -3
  115. package/dist/react/hooks/useCustomer.d.ts +3 -3
  116. package/dist/react/hooks/useEntity.d.mts +2 -2
  117. package/dist/react/hooks/useEntity.d.ts +2 -2
  118. package/dist/react/hooks/useListEvents.d.mts +2 -2
  119. package/dist/react/hooks/useListEvents.d.ts +2 -2
  120. package/dist/react/hooks/useListPlans.d.mts +3 -3
  121. package/dist/react/hooks/useListPlans.d.ts +3 -3
  122. package/dist/react/hooks/useReferrals.d.mts +2 -2
  123. package/dist/react/hooks/useReferrals.d.ts +2 -2
  124. package/dist/react/index.d.mts +4 -4
  125. package/dist/react/index.d.ts +4 -4
  126. package/dist/react/{list-plans-op-ByqRxdNR.d.mts → list-plans-op-Cwb5iIdA.d.ts} +33 -1
  127. package/dist/react/{list-plans-op-D-K2LRZV.d.ts → list-plans-op-DvXyRegM.d.mts} +33 -1
  128. package/dist/react/{params-BDzQ8IBN.d.mts → params-C0cH2cYK.d.mts} +214 -5
  129. package/dist/react/{params-DWmwIoI4.d.ts → params-CaUBdt-x.d.ts} +214 -5
  130. package/dist/react/{plan-DOxbvjQY.d.mts → plan-CUExbmy9.d.mts} +32 -0
  131. package/dist/react/{plan-DOxbvjQY.d.ts → plan-CUExbmy9.d.ts} +32 -0
  132. package/dist/sdk/index.d.mts +1607 -16
  133. package/dist/sdk/index.d.ts +1607 -16
  134. package/dist/sdk/index.js +7393 -5897
  135. package/dist/sdk/index.mjs +7227 -5891
  136. package/package.json +1 -1
@@ -1,14 +1,14 @@
1
1
  import "../chunk-HIWOK3G6.mjs";
2
2
  import {
3
3
  createAutumnEndpoint
4
- } from "../chunk-DSE3KBZN.mjs";
4
+ } from "../chunk-7NGK7FWC.mjs";
5
5
  import {
6
6
  createHandleBetterAuthRoute
7
- } from "../chunk-EXXLFTJH.mjs";
7
+ } from "../chunk-A3ZOJU54.mjs";
8
8
  import {
9
9
  resolveIdentityFromScope
10
10
  } from "../chunk-J2WYVGHS.mjs";
11
- import "../chunk-RGU4M7DE.mjs";
11
+ import "../chunk-DG2IPLR6.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-BDzQ8IBN.mjs';
4
- import './plan-DOxbvjQY.mjs';
5
- import './customer-fjDreCb2.mjs';
6
- import './list-plans-op-ByqRxdNR.mjs';
3
+ import './params-C0cH2cYK.mjs';
4
+ import './plan-CUExbmy9.mjs';
5
+ import './customer-CkuydPCd.mjs';
6
+ import './list-plans-op-DvXyRegM.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-DWmwIoI4.js';
4
- import './plan-DOxbvjQY.js';
5
- import './customer-DDciGja3.js';
6
- import './list-plans-op-D-K2LRZV.js';
3
+ import './params-CaUBdt-x.js';
4
+ import './plan-CUExbmy9.js';
5
+ import './customer-D811_jP2.js';
6
+ import './list-plans-op-Cwb5iIdA.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-BDzQ8IBN.mjs';
3
- import '../plan-DOxbvjQY.mjs';
4
- import '../customer-fjDreCb2.mjs';
5
- import '../list-plans-op-ByqRxdNR.mjs';
2
+ import '../params-C0cH2cYK.mjs';
3
+ import '../plan-CUExbmy9.mjs';
4
+ import '../customer-CkuydPCd.mjs';
5
+ import '../list-plans-op-DvXyRegM.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-DWmwIoI4.js';
3
- import '../plan-DOxbvjQY.js';
4
- import '../customer-DDciGja3.js';
5
- import '../list-plans-op-D-K2LRZV.js';
2
+ import '../params-CaUBdt-x.js';
3
+ import '../plan-CUExbmy9.js';
4
+ import '../customer-D811_jP2.js';
5
+ import '../list-plans-op-Cwb5iIdA.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-BDzQ8IBN.mjs';
2
- import { C as Customer } from '../customer-fjDreCb2.mjs';
3
- import { L as ListPlansResponse } from '../list-plans-op-ByqRxdNR.mjs';
4
- import '../plan-DOxbvjQY.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-C0cH2cYK.mjs';
2
+ import { C as Customer } from '../customer-CkuydPCd.mjs';
3
+ import { L as ListPlansResponse } from '../list-plans-op-DvXyRegM.mjs';
4
+ import '../plan-CUExbmy9.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-DWmwIoI4.js';
2
- import { C as Customer } from '../customer-DDciGja3.js';
3
- import { L as ListPlansResponse } from '../list-plans-op-D-K2LRZV.js';
4
- import '../plan-DOxbvjQY.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-CaUBdt-x.js';
2
+ import { C as Customer } from '../customer-D811_jP2.js';
3
+ import { L as ListPlansResponse } from '../list-plans-op-Cwb5iIdA.js';
4
+ import '../plan-CUExbmy9.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-BDzQ8IBN.mjs';
5
- import '../plan-DOxbvjQY.mjs';
6
- import '../customer-fjDreCb2.mjs';
7
- import '../list-plans-op-ByqRxdNR.mjs';
4
+ import '../params-C0cH2cYK.mjs';
5
+ import '../plan-CUExbmy9.mjs';
6
+ import '../customer-CkuydPCd.mjs';
7
+ import '../list-plans-op-DvXyRegM.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-DWmwIoI4.js';
5
- import '../plan-DOxbvjQY.js';
6
- import '../customer-DDciGja3.js';
7
- import '../list-plans-op-D-K2LRZV.js';
4
+ import '../params-CaUBdt-x.js';
5
+ import '../plan-CUExbmy9.js';
6
+ import '../customer-D811_jP2.js';
7
+ import '../list-plans-op-Cwb5iIdA.js';
@@ -1,4 +1,4 @@
1
- import { O as OpenEnum, P as Plan, a as Balance } from './plan-DOxbvjQY.mjs';
1
+ import { O as OpenEnum, P as Plan, a as Balance } from './plan-CUExbmy9.mjs';
2
2
 
3
3
  /**
4
4
  * The environment this customer was created in.
@@ -121,6 +121,10 @@ type CustomerSpendLimit = {
121
121
  * Overage cap for the feature: absolute units, or a percent (e.g. 120) when limit_type is usage_percentage.
122
122
  */
123
123
  overageLimit?: number | undefined;
124
+ /**
125
+ * When true, overage for this feature is not posted to Stripe. Usage tracking and balance resets still behave normally.
126
+ */
127
+ skipOverageBilling?: boolean | undefined;
124
128
  };
125
129
  /**
126
130
  * Interval for the cap, aligned to the customer's billing cycle.
@@ -135,6 +139,14 @@ declare const CustomerUsageLimitInterval: {
135
139
  * Interval for the cap, aligned to the customer's billing cycle.
136
140
  */
137
141
  type CustomerUsageLimitInterval = OpenEnum<typeof CustomerUsageLimitInterval>;
142
+ /**
143
+ * When set, only usage from events whose properties match counts toward this cap. Omit to count all usage of the feature.
144
+ */
145
+ type CustomerFilter = {
146
+ properties: {
147
+ [k: string]: any;
148
+ };
149
+ };
138
150
  type CustomerUsageLimit = {
139
151
  /**
140
152
  * The feature this usage limit applies to.
@@ -152,6 +164,10 @@ type CustomerUsageLimit = {
152
164
  * Interval for the cap, aligned to the customer's billing cycle.
153
165
  */
154
166
  interval: CustomerUsageLimitInterval;
167
+ /**
168
+ * When set, only usage from events whose properties match counts toward this cap. Omit to count all usage of the feature.
169
+ */
170
+ filter?: CustomerFilter | undefined;
155
171
  /**
156
172
  * Current usage already consumed in the active interval. Response-only; not stored on billing controls.
157
173
  */
@@ -1,4 +1,4 @@
1
- import { O as OpenEnum, P as Plan, a as Balance } from './plan-DOxbvjQY.js';
1
+ import { O as OpenEnum, P as Plan, a as Balance } from './plan-CUExbmy9.js';
2
2
 
3
3
  /**
4
4
  * The environment this customer was created in.
@@ -121,6 +121,10 @@ type CustomerSpendLimit = {
121
121
  * Overage cap for the feature: absolute units, or a percent (e.g. 120) when limit_type is usage_percentage.
122
122
  */
123
123
  overageLimit?: number | undefined;
124
+ /**
125
+ * When true, overage for this feature is not posted to Stripe. Usage tracking and balance resets still behave normally.
126
+ */
127
+ skipOverageBilling?: boolean | undefined;
124
128
  };
125
129
  /**
126
130
  * Interval for the cap, aligned to the customer's billing cycle.
@@ -135,6 +139,14 @@ declare const CustomerUsageLimitInterval: {
135
139
  * Interval for the cap, aligned to the customer's billing cycle.
136
140
  */
137
141
  type CustomerUsageLimitInterval = OpenEnum<typeof CustomerUsageLimitInterval>;
142
+ /**
143
+ * When set, only usage from events whose properties match counts toward this cap. Omit to count all usage of the feature.
144
+ */
145
+ type CustomerFilter = {
146
+ properties: {
147
+ [k: string]: any;
148
+ };
149
+ };
138
150
  type CustomerUsageLimit = {
139
151
  /**
140
152
  * The feature this usage limit applies to.
@@ -152,6 +164,10 @@ type CustomerUsageLimit = {
152
164
  * Interval for the cap, aligned to the customer's billing cycle.
153
165
  */
154
166
  interval: CustomerUsageLimitInterval;
167
+ /**
168
+ * When set, only usage from events whose properties match counts toward this cap. Omit to count all usage of the feature.
169
+ */
170
+ filter?: CustomerFilter | undefined;
155
171
  /**
156
172
  * Current usage already consumed in the active interval. Response-only; not stored on billing controls.
157
173
  */
@@ -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-BDzQ8IBN.mjs';
11
- import '../plan-DOxbvjQY.mjs';
12
- import '../customer-fjDreCb2.mjs';
13
- import '../list-plans-op-ByqRxdNR.mjs';
10
+ import '../params-C0cH2cYK.mjs';
11
+ import '../plan-CUExbmy9.mjs';
12
+ import '../customer-CkuydPCd.mjs';
13
+ import '../list-plans-op-DvXyRegM.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-DWmwIoI4.js';
11
- import '../plan-DOxbvjQY.js';
12
- import '../customer-DDciGja3.js';
13
- import '../list-plans-op-D-K2LRZV.js';
10
+ import '../params-CaUBdt-x.js';
11
+ import '../plan-CUExbmy9.js';
12
+ import '../customer-D811_jP2.js';
13
+ import '../list-plans-op-Cwb5iIdA.js';
@@ -1,5 +1,5 @@
1
- import { C as Customer } from '../../../customer-fjDreCb2.mjs';
2
- import '../../../plan-DOxbvjQY.mjs';
1
+ import { C as Customer } from '../../../customer-CkuydPCd.mjs';
2
+ import '../../../plan-CUExbmy9.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-DDciGja3.js';
2
- import '../../../plan-DOxbvjQY.js';
1
+ import { C as Customer } from '../../../customer-D811_jP2.js';
2
+ import '../../../plan-CUExbmy9.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-fjDreCb2.mjs';
2
- import '../../../plan-DOxbvjQY.mjs';
1
+ import { C as Customer } from '../../../customer-CkuydPCd.mjs';
2
+ import '../../../plan-CUExbmy9.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-DDciGja3.js';
2
- import '../../../plan-DOxbvjQY.js';
1
+ import { C as Customer } from '../../../customer-D811_jP2.js';
2
+ import '../../../plan-CUExbmy9.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-DOxbvjQY.mjs';
2
- import { C as Customer } from '../../../customer-fjDreCb2.mjs';
1
+ import { B as BalanceFeature } from '../../../plan-CUExbmy9.mjs';
2
+ import { C as Customer } from '../../../customer-CkuydPCd.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-DOxbvjQY.js';
2
- import { C as Customer } from '../../../customer-DDciGja3.js';
1
+ import { B as BalanceFeature } from '../../../plan-CUExbmy9.js';
2
+ import { C as Customer } from '../../../customer-D811_jP2.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-fjDreCb2.mjs';
2
- import '../../../plan-DOxbvjQY.mjs';
1
+ import { C as Customer } from '../../../customer-CkuydPCd.mjs';
2
+ import '../../../plan-CUExbmy9.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-DDciGja3.js';
2
- import '../../../plan-DOxbvjQY.js';
1
+ import { C as Customer } from '../../../customer-D811_jP2.js';
2
+ import '../../../plan-CUExbmy9.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-BDzQ8IBN.mjs';
2
- import { C as Customer } from '../../customer-fjDreCb2.mjs';
3
- import '../../plan-DOxbvjQY.mjs';
1
+ import { n as ClientCheckParams, o as CheckResponse } from '../../params-C0cH2cYK.mjs';
2
+ import { C as Customer } from '../../customer-CkuydPCd.mjs';
3
+ import '../../plan-CUExbmy9.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-DWmwIoI4.js';
2
- import { C as Customer } from '../../customer-DDciGja3.js';
3
- import '../../plan-DOxbvjQY.js';
1
+ import { n as ClientCheckParams, o as CheckResponse } from '../../params-CaUBdt-x.js';
2
+ import { C as Customer } from '../../customer-D811_jP2.js';
3
+ import '../../plan-CUExbmy9.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-BDzQ8IBN.mjs';
2
- import { C as Customer } from '../../customer-fjDreCb2.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-C0cH2cYK.mjs';
2
+ import { C as Customer } from '../../customer-CkuydPCd.mjs';
3
3
  import { IAutumnClient } from '../../client/IAutumnClient.mjs';
4
- import '../../plan-DOxbvjQY.mjs';
5
- import '../../list-plans-op-ByqRxdNR.mjs';
4
+ import '../../plan-CUExbmy9.mjs';
5
+ import '../../list-plans-op-DvXyRegM.mjs';
6
6
 
7
7
  declare const useCustomerActions: ({ client, customer, }: {
8
8
  client: IAutumnClient;
@@ -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-DWmwIoI4.js';
2
- import { C as Customer } from '../../customer-DDciGja3.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-CaUBdt-x.js';
2
+ import { C as Customer } from '../../customer-D811_jP2.js';
3
3
  import { IAutumnClient } from '../../client/IAutumnClient.js';
4
- import '../../plan-DOxbvjQY.js';
5
- import '../../list-plans-op-D-K2LRZV.js';
4
+ import '../../plan-CUExbmy9.js';
5
+ import '../../list-plans-op-Cwb5iIdA.js';
6
6
 
7
7
  declare const useCustomerActions: ({ client, customer, }: {
8
8
  client: IAutumnClient;
@@ -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-BDzQ8IBN.mjs';
2
+ import { C as ClientAggregateEventsParams, u as AggregateEventsResponse, v as AggregateEventsList, T as Total } from '../params-C0cH2cYK.mjs';
3
3
  import { AutumnClientError } from '../client/AutumnClientError.mjs';
4
4
  import { HookParams } from './types.mjs';
5
- import '../plan-DOxbvjQY.mjs';
5
+ import '../plan-CUExbmy9.mjs';
6
6
 
7
7
  type UseAggregateEventsParams = HookParams<ClientAggregateEventsParams, AggregateEventsResponse>;
8
8
  declare const useAggregateEvents: (params: UseAggregateEventsParams) => {
@@ -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-DWmwIoI4.js';
2
+ import { C as ClientAggregateEventsParams, u as AggregateEventsResponse, v as AggregateEventsList, T as Total } from '../params-CaUBdt-x.js';
3
3
  import { AutumnClientError } from '../client/AutumnClientError.js';
4
4
  import { HookParams } from './types.js';
5
- import '../plan-DOxbvjQY.js';
5
+ import '../plan-CUExbmy9.js';
6
6
 
7
7
  type UseAggregateEventsParams = HookParams<ClientAggregateEventsParams, AggregateEventsResponse>;
8
8
  declare const useAggregateEvents: (params: UseAggregateEventsParams) => {
@@ -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-BDzQ8IBN.mjs';
2
- import { C as Customer } from '../customer-fjDreCb2.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-C0cH2cYK.mjs';
2
+ import { C as Customer } from '../customer-CkuydPCd.mjs';
3
3
  import { HookParams, HookResultWithMethods } from './types.mjs';
4
- import '../plan-DOxbvjQY.mjs';
4
+ import '../plan-CUExbmy9.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-DWmwIoI4.js';
2
- import { C as Customer } from '../customer-DDciGja3.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-CaUBdt-x.js';
2
+ import { C as Customer } from '../customer-D811_jP2.js';
3
3
  import { HookParams, HookResultWithMethods } from './types.js';
4
- import '../plan-DOxbvjQY.js';
4
+ import '../plan-CUExbmy9.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-BDzQ8IBN.mjs';
1
+ import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-C0cH2cYK.mjs';
2
2
  import { HookParams, HookResult } from './types.mjs';
3
- import '../plan-DOxbvjQY.mjs';
3
+ import '../plan-CUExbmy9.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-DWmwIoI4.js';
1
+ import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-CaUBdt-x.js';
2
2
  import { HookParams, HookResult } from './types.js';
3
- import '../plan-DOxbvjQY.js';
3
+ import '../plan-CUExbmy9.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-BDzQ8IBN.mjs';
2
+ import { e as ClientListEventsParams, L as ListEventsResponse, w as ListEventsList } from '../params-C0cH2cYK.mjs';
3
3
  import { AutumnClientError } from '../client/AutumnClientError.mjs';
4
4
  import { HookParams } from './types.mjs';
5
- import '../plan-DOxbvjQY.mjs';
5
+ import '../plan-CUExbmy9.mjs';
6
6
 
7
7
  type UseListEventsParams = HookParams<ClientListEventsParams, ListEventsResponse>;
8
8
  declare const useListEvents: (params?: UseListEventsParams) => {
@@ -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-DWmwIoI4.js';
2
+ import { e as ClientListEventsParams, L as ListEventsResponse, w as ListEventsList } from '../params-CaUBdt-x.js';
3
3
  import { AutumnClientError } from '../client/AutumnClientError.js';
4
4
  import { HookParams } from './types.js';
5
- import '../plan-DOxbvjQY.js';
5
+ import '../plan-CUExbmy9.js';
6
6
 
7
7
  type UseListEventsParams = HookParams<ClientListEventsParams, ListEventsResponse>;
8
8
  declare const useListEvents: (params?: UseListEventsParams) => {
@@ -1,9 +1,9 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { a as ListPlansList } from '../list-plans-op-ByqRxdNR.mjs';
3
- import { t as ClientListPlansParams } from '../params-BDzQ8IBN.mjs';
2
+ import { a as ListPlansList } from '../list-plans-op-DvXyRegM.mjs';
3
+ import { t as ClientListPlansParams } from '../params-C0cH2cYK.mjs';
4
4
  import { AutumnClientError } from '../client/AutumnClientError.mjs';
5
5
  import { HookParams } from './types.mjs';
6
- import '../plan-DOxbvjQY.mjs';
6
+ import '../plan-CUExbmy9.mjs';
7
7
 
8
8
  type UseListPlansParams = HookParams<ClientListPlansParams, ListPlansList[]>;
9
9
  declare const useListPlans: (params?: UseListPlansParams) => _tanstack_react_query.UseQueryResult<NoInfer<ListPlansList[]>, AutumnClientError>;
@@ -1,9 +1,9 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { a as ListPlansList } from '../list-plans-op-D-K2LRZV.js';
3
- import { t as ClientListPlansParams } from '../params-DWmwIoI4.js';
2
+ import { a as ListPlansList } from '../list-plans-op-Cwb5iIdA.js';
3
+ import { t as ClientListPlansParams } from '../params-CaUBdt-x.js';
4
4
  import { AutumnClientError } from '../client/AutumnClientError.js';
5
5
  import { HookParams } from './types.js';
6
- import '../plan-DOxbvjQY.js';
6
+ import '../plan-CUExbmy9.js';
7
7
 
8
8
  type UseListPlansParams = HookParams<ClientListPlansParams, ListPlansList[]>;
9
9
  declare const useListPlans: (params?: UseListPlansParams) => _tanstack_react_query.UseQueryResult<NoInfer<ListPlansList[]>, AutumnClientError>;
@@ -1,6 +1,6 @@
1
- import { b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse } from '../params-BDzQ8IBN.mjs';
1
+ import { b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse } from '../params-C0cH2cYK.mjs';
2
2
  import { HookParams, HookResultWithMethods } from './types.mjs';
3
- import '../plan-DOxbvjQY.mjs';
3
+ import '../plan-CUExbmy9.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-DWmwIoI4.js';
1
+ import { b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse } from '../params-CaUBdt-x.js';
2
2
  import { HookParams, HookResultWithMethods } from './types.js';
3
- import '../plan-DOxbvjQY.js';
3
+ import '../plan-CUExbmy9.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-BDzQ8IBN.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-C0cH2cYK.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-DOxbvjQY.mjs';
13
+ import './plan-CUExbmy9.mjs';
14
14
  import 'react';
15
- import './customer-fjDreCb2.mjs';
16
- import './list-plans-op-ByqRxdNR.mjs';
15
+ import './customer-CkuydPCd.mjs';
16
+ import './list-plans-op-DvXyRegM.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-DWmwIoI4.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-CaUBdt-x.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-DOxbvjQY.js';
13
+ import './plan-CUExbmy9.js';
14
14
  import 'react';
15
- import './customer-DDciGja3.js';
16
- import './list-plans-op-D-K2LRZV.js';
15
+ import './customer-D811_jP2.js';
16
+ import './list-plans-op-Cwb5iIdA.js';
17
17
  import '@tanstack/react-query';
18
18
  import './hooks/types.js';