autumn-js 1.2.3 → 1.2.4

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 (152) 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 +30 -16
  4. package/dist/backend/adapters/express.mjs +9 -9
  5. package/dist/backend/adapters/fetch.d.mts +1 -1
  6. package/dist/backend/adapters/fetch.d.ts +1 -1
  7. package/dist/backend/adapters/fetch.js +30 -16
  8. package/dist/backend/adapters/fetch.mjs +9 -9
  9. package/dist/backend/adapters/hono.d.mts +1 -1
  10. package/dist/backend/adapters/hono.d.ts +1 -1
  11. package/dist/backend/adapters/hono.js +30 -16
  12. package/dist/backend/adapters/hono.mjs +9 -9
  13. package/dist/backend/adapters/index.d.mts +1 -1
  14. package/dist/backend/adapters/index.d.ts +1 -1
  15. package/dist/backend/adapters/index.js +30 -16
  16. package/dist/backend/adapters/index.mjs +12 -12
  17. package/dist/backend/adapters/next.d.mts +1 -1
  18. package/dist/backend/adapters/next.d.ts +1 -1
  19. package/dist/backend/adapters/next.js +30 -16
  20. package/dist/backend/adapters/next.mjs +9 -9
  21. package/dist/backend/{authTypes-B5VxPaMo.d.mts → authTypes-Bdpu8A6G.d.mts} +4 -0
  22. package/dist/backend/{authTypes-B5VxPaMo.d.ts → authTypes-Bdpu8A6G.d.ts} +4 -0
  23. package/dist/backend/{chunk-N62MDT7U.mjs → chunk-3RN6TO3T.mjs} +4 -2
  24. package/dist/backend/{chunk-OLHAIHAX.mjs → chunk-AA2HLIP7.mjs} +5 -5
  25. package/dist/backend/{chunk-IUFWKMTJ.mjs → chunk-AIKOHUUL.mjs} +1 -1
  26. package/dist/backend/{chunk-CCEZMERA.mjs → chunk-BGGTI77T.mjs} +26 -14
  27. package/dist/backend/{chunk-FRKRWJ5S.mjs → chunk-MHFVVQCC.mjs} +1 -1
  28. package/dist/backend/{chunk-ETHQSA52.mjs → chunk-OZRCCZTP.mjs} +7 -7
  29. package/dist/backend/{chunk-IFFSWLXT.mjs → chunk-SCDE7Y52.mjs} +1 -1
  30. package/dist/backend/{chunk-2YEMC57K.mjs → chunk-UUMOHEAD.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 +30 -16
  34. package/dist/backend/core/handlers/coreHandler.mjs +7 -7
  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/executeRoute.mjs +4 -4
  38. package/dist/backend/core/handlers/handleRouteByName.d.mts +1 -1
  39. package/dist/backend/core/handlers/handleRouteByName.d.ts +1 -1
  40. package/dist/backend/core/handlers/handleRouteByName.js +30 -16
  41. package/dist/backend/core/handlers/handleRouteByName.mjs +7 -7
  42. package/dist/backend/core/handlers/index.d.mts +2 -2
  43. package/dist/backend/core/handlers/index.d.ts +2 -2
  44. package/dist/backend/core/handlers/index.js +30 -16
  45. package/dist/backend/core/handlers/index.mjs +10 -10
  46. package/dist/backend/core/handlers/resolveIdentity.d.mts +1 -1
  47. package/dist/backend/core/handlers/resolveIdentity.d.ts +1 -1
  48. package/dist/backend/core/index.d.mts +2 -2
  49. package/dist/backend/core/index.d.ts +2 -2
  50. package/dist/backend/core/index.js +30 -16
  51. package/dist/backend/core/index.mjs +10 -10
  52. package/dist/backend/core/routes/index.d.mts +2 -2
  53. package/dist/backend/core/routes/index.d.ts +2 -2
  54. package/dist/backend/core/routes/index.js +4 -2
  55. package/dist/backend/core/routes/index.mjs +2 -2
  56. package/dist/backend/core/routes/routeBuilder.d.mts +2 -2
  57. package/dist/backend/core/routes/routeBuilder.d.ts +2 -2
  58. package/dist/backend/core/routes/routeConfigs.d.mts +2 -2
  59. package/dist/backend/core/routes/routeConfigs.d.ts +2 -2
  60. package/dist/backend/core/routes/routeConfigs.js +4 -2
  61. package/dist/backend/core/routes/routeConfigs.mjs +2 -2
  62. package/dist/backend/core/types/authTypes.d.mts +1 -1
  63. package/dist/backend/core/types/authTypes.d.ts +1 -1
  64. package/dist/backend/core/types/handlerTypes.d.mts +2 -2
  65. package/dist/backend/core/types/handlerTypes.d.ts +2 -2
  66. package/dist/backend/core/types/index.d.mts +2 -2
  67. package/dist/backend/core/types/index.d.ts +2 -2
  68. package/dist/backend/core/types/routeTypes.d.mts +2 -2
  69. package/dist/backend/core/types/routeTypes.d.ts +2 -2
  70. package/dist/backend/core/utils/index.mjs +3 -3
  71. package/dist/backend/index.d.mts +4 -4
  72. package/dist/backend/index.d.ts +4 -4
  73. package/dist/backend/index.js +30 -16
  74. package/dist/backend/index.mjs +10 -10
  75. package/dist/backend/{routeTypes-BkSHRiCI.d.ts → routeTypes-DpH9YHyt.d.ts} +21 -1
  76. package/dist/backend/{routeTypes-C1hUtfD8.d.mts → routeTypes-mIP4rSxp.d.mts} +21 -1
  77. package/dist/better-auth/{chunk-6J74ZVNY.mjs → chunk-3C2VGNW3.mjs} +27 -15
  78. package/dist/better-auth/{chunk-2PRVJULJ.mjs → chunk-CG3LL2TQ.mjs} +4 -2
  79. package/dist/better-auth/{chunk-IY7FPOWF.mjs → chunk-UCMJFTKD.mjs} +1 -1
  80. package/dist/better-auth/index.js +30 -16
  81. package/dist/better-auth/index.mjs +3 -3
  82. package/dist/better-auth/types.d.mts +4 -0
  83. package/dist/better-auth/types.d.ts +4 -0
  84. package/dist/better-auth/utils/createAutumnEndpoint.js +4 -2
  85. package/dist/better-auth/utils/createAutumnEndpoint.mjs +2 -2
  86. package/dist/better-auth/utils/handleBetterAuthRoute.js +30 -16
  87. package/dist/better-auth/utils/handleBetterAuthRoute.mjs +2 -2
  88. package/dist/better-auth/utils/index.js +30 -16
  89. package/dist/better-auth/utils/index.mjs +3 -3
  90. package/dist/react/AutumnContext.d.mts +2 -2
  91. package/dist/react/AutumnContext.d.ts +2 -2
  92. package/dist/react/AutumnProvider.d.mts +2 -1
  93. package/dist/react/AutumnProvider.d.ts +2 -1
  94. package/dist/react/AutumnProvider.js +18 -8
  95. package/dist/react/AutumnProvider.mjs +3 -3
  96. package/dist/react/{chunk-R7I3UPL4.mjs → chunk-26CKSAPZ.mjs} +6 -4
  97. package/dist/react/{chunk-QEJLIFBC.mjs → chunk-QOFGTXEX.mjs} +3 -2
  98. package/dist/react/{chunk-M34U5F2H.mjs → chunk-SCDO26YC.mjs} +11 -4
  99. package/dist/react/client/AutumnClient.d.mts +3 -2
  100. package/dist/react/client/AutumnClient.d.ts +3 -2
  101. package/dist/react/client/AutumnClient.js +13 -5
  102. package/dist/react/client/AutumnClient.mjs +2 -2
  103. package/dist/react/client/IAutumnClient.d.mts +2 -2
  104. package/dist/react/client/IAutumnClient.d.ts +2 -2
  105. package/dist/react/client/index.d.mts +2 -2
  106. package/dist/react/client/index.d.ts +2 -2
  107. package/dist/react/client/index.js +13 -5
  108. package/dist/react/client/index.mjs +2 -2
  109. package/dist/react/client/internal/httpClient.d.mts +1 -0
  110. package/dist/react/client/internal/httpClient.d.ts +1 -0
  111. package/dist/react/client/internal/httpClient.js +11 -4
  112. package/dist/react/client/internal/httpClient.mjs +1 -1
  113. package/dist/react/{customer-CJSDgQMF.d.ts → customer-BPHnUS4N.d.ts} +4 -0
  114. package/dist/react/{customer-Bb7J-_p_.d.mts → customer-DDRi84Zq.d.mts} +4 -0
  115. package/dist/react/hooks/index.d.mts +2 -2
  116. package/dist/react/hooks/index.d.ts +2 -2
  117. package/dist/react/hooks/internal/check/balanceToAllowed.d.mts +1 -1
  118. package/dist/react/hooks/internal/check/balanceToAllowed.d.ts +1 -1
  119. package/dist/react/hooks/internal/check/customerToFeatures.d.mts +1 -1
  120. package/dist/react/hooks/internal/check/customerToFeatures.d.ts +1 -1
  121. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.mts +1 -1
  122. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.ts +1 -1
  123. package/dist/react/hooks/internal/check/getCreditCost.d.mts +1 -1
  124. package/dist/react/hooks/internal/check/getCreditCost.d.ts +1 -1
  125. package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +2 -2
  126. package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +2 -2
  127. package/dist/react/hooks/internal/useCustomerActions.d.mts +2 -2
  128. package/dist/react/hooks/internal/useCustomerActions.d.ts +2 -2
  129. package/dist/react/hooks/useAggregateEvents.d.mts +1 -1
  130. package/dist/react/hooks/useAggregateEvents.d.ts +1 -1
  131. package/dist/react/hooks/useCustomer.d.mts +2 -2
  132. package/dist/react/hooks/useCustomer.d.ts +2 -2
  133. package/dist/react/hooks/useEntity.d.mts +1 -1
  134. package/dist/react/hooks/useEntity.d.ts +1 -1
  135. package/dist/react/hooks/useListEvents.d.mts +1 -1
  136. package/dist/react/hooks/useListEvents.d.ts +1 -1
  137. package/dist/react/hooks/useListPlans.d.mts +1 -1
  138. package/dist/react/hooks/useListPlans.d.ts +1 -1
  139. package/dist/react/hooks/useReferrals.d.mts +1 -1
  140. package/dist/react/hooks/useReferrals.d.ts +1 -1
  141. package/dist/react/index.d.mts +2 -2
  142. package/dist/react/index.d.ts +2 -2
  143. package/dist/react/index.js +18 -8
  144. package/dist/react/index.mjs +3 -3
  145. package/dist/react/{params-CheyAQ0-.d.mts → params-Bj6uyOX1.d.mts} +4 -0
  146. package/dist/react/{params-yCtJ7lOA.d.ts → params-DAVIR4YX.d.ts} +4 -0
  147. package/dist/sdk/index.d.mts +29 -2
  148. package/dist/sdk/index.d.ts +29 -2
  149. package/dist/sdk/index.js +26 -14
  150. package/dist/sdk/index.mjs +26 -14
  151. package/package.json +1 -1
  152. package/dist/backend/{chunk-S5HPMJ4U.mjs → chunk-55C2WWXQ.mjs} +3 -3
@@ -7,6 +7,6 @@ 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-yCtJ7lOA.js';
10
+ import '../params-DAVIR4YX.js';
11
11
  import '../plan-CqxFGNk2.js';
12
- import '../customer-CJSDgQMF.js';
12
+ import '../customer-BPHnUS4N.js';
@@ -1,4 +1,4 @@
1
- import { C as Customer } from '../../../customer-Bb7J-_p_.mjs';
1
+ import { C as Customer } from '../../../customer-DDRi84Zq.mjs';
2
2
  import '../../../plan-CqxFGNk2.mjs';
3
3
 
4
4
  type CustomerBalance = Customer["balances"][string];
@@ -1,4 +1,4 @@
1
- import { C as Customer } from '../../../customer-CJSDgQMF.js';
1
+ import { C as Customer } from '../../../customer-BPHnUS4N.js';
2
2
  import '../../../plan-CqxFGNk2.js';
3
3
 
4
4
  type CustomerBalance = Customer["balances"][string];
@@ -1,4 +1,4 @@
1
- import { C as Customer } from '../../../customer-Bb7J-_p_.mjs';
1
+ import { C as Customer } from '../../../customer-DDRi84Zq.mjs';
2
2
  import '../../../plan-CqxFGNk2.mjs';
3
3
 
4
4
  type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
@@ -1,4 +1,4 @@
1
- import { C as Customer } from '../../../customer-CJSDgQMF.js';
1
+ import { C as Customer } from '../../../customer-BPHnUS4N.js';
2
2
  import '../../../plan-CqxFGNk2.js';
3
3
 
4
4
  type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
@@ -1,5 +1,5 @@
1
1
  import { B as BalanceFeature } from '../../../plan-CqxFGNk2.mjs';
2
- import { C as Customer } from '../../../customer-Bb7J-_p_.mjs';
2
+ import { C as Customer } from '../../../customer-DDRi84Zq.mjs';
3
3
 
4
4
  type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
5
5
  declare const findCreditSystemsByFeature: ({ featureId, features, }: {
@@ -1,5 +1,5 @@
1
1
  import { B as BalanceFeature } from '../../../plan-CqxFGNk2.js';
2
- import { C as Customer } from '../../../customer-CJSDgQMF.js';
2
+ import { C as Customer } from '../../../customer-BPHnUS4N.js';
3
3
 
4
4
  type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
5
5
  declare const findCreditSystemsByFeature: ({ featureId, features, }: {
@@ -1,4 +1,4 @@
1
- import { C as Customer } from '../../../customer-Bb7J-_p_.mjs';
1
+ import { C as Customer } from '../../../customer-DDRi84Zq.mjs';
2
2
  import '../../../plan-CqxFGNk2.mjs';
3
3
 
4
4
  type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
@@ -1,4 +1,4 @@
1
- import { C as Customer } from '../../../customer-CJSDgQMF.js';
1
+ import { C as Customer } from '../../../customer-BPHnUS4N.js';
2
2
  import '../../../plan-CqxFGNk2.js';
3
3
 
4
4
  type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
@@ -1,5 +1,5 @@
1
- import { o as ClientCheckParams, s as CheckResponse } from '../../params-CheyAQ0-.mjs';
2
- import { C as Customer } from '../../customer-Bb7J-_p_.mjs';
1
+ import { o as ClientCheckParams, s as CheckResponse } from '../../params-Bj6uyOX1.mjs';
2
+ import { C as Customer } from '../../customer-DDRi84Zq.mjs';
3
3
  import '../../plan-CqxFGNk2.mjs';
4
4
 
5
5
  declare const getLocalCheckResponse: ({ customer, params, }: {
@@ -1,5 +1,5 @@
1
- import { o as ClientCheckParams, s as CheckResponse } from '../../params-yCtJ7lOA.js';
2
- import { C as Customer } from '../../customer-CJSDgQMF.js';
1
+ import { o as ClientCheckParams, s as CheckResponse } from '../../params-DAVIR4YX.js';
2
+ import { C as Customer } from '../../customer-BPHnUS4N.js';
3
3
  import '../../plan-CqxFGNk2.js';
4
4
 
5
5
  declare const getLocalCheckResponse: ({ customer, params, }: {
@@ -1,5 +1,5 @@
1
- import { a as ClientAttachParams, p as AttachResponse, h as ClientPreviewAttachParams, q as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, r as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, t as PreviewMultiAttachResponse, o as ClientCheckParams, s as CheckResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse } from '../../params-CheyAQ0-.mjs';
2
- import { C as Customer } from '../../customer-Bb7J-_p_.mjs';
1
+ import { a as ClientAttachParams, p as AttachResponse, h as ClientPreviewAttachParams, q as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, r as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, t as PreviewMultiAttachResponse, o as ClientCheckParams, s as CheckResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse } from '../../params-Bj6uyOX1.mjs';
2
+ import { C as Customer } from '../../customer-DDRi84Zq.mjs';
3
3
  import { IAutumnClient } from '../../client/IAutumnClient.mjs';
4
4
  import '../../plan-CqxFGNk2.mjs';
5
5
 
@@ -1,5 +1,5 @@
1
- import { a as ClientAttachParams, p as AttachResponse, h as ClientPreviewAttachParams, q as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, r as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, t as PreviewMultiAttachResponse, o as ClientCheckParams, s as CheckResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse } from '../../params-yCtJ7lOA.js';
2
- import { C as Customer } from '../../customer-CJSDgQMF.js';
1
+ import { a as ClientAttachParams, p as AttachResponse, h as ClientPreviewAttachParams, q as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, r as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, t as PreviewMultiAttachResponse, o as ClientCheckParams, s as CheckResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse } from '../../params-DAVIR4YX.js';
2
+ import { C as Customer } from '../../customer-BPHnUS4N.js';
3
3
  import { IAutumnClient } from '../../client/IAutumnClient.js';
4
4
  import '../../plan-CqxFGNk2.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { C as ClientAggregateEventsParams, A as AggregateEventsResponse, n as AggregateEventsList, T as Total } from '../params-CheyAQ0-.mjs';
2
+ import { C as ClientAggregateEventsParams, A as AggregateEventsResponse, n as AggregateEventsList, T as Total } from '../params-Bj6uyOX1.mjs';
3
3
  import { AutumnClientError } from '../client/AutumnClientError.mjs';
4
4
  import { HookParams } from './types.mjs';
5
5
  import '../plan-CqxFGNk2.mjs';
@@ -1,5 +1,5 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { C as ClientAggregateEventsParams, A as AggregateEventsResponse, n as AggregateEventsList, T as Total } from '../params-yCtJ7lOA.js';
2
+ import { C as ClientAggregateEventsParams, A as AggregateEventsResponse, n as AggregateEventsList, T as Total } from '../params-DAVIR4YX.js';
3
3
  import { AutumnClientError } from '../client/AutumnClientError.js';
4
4
  import { HookParams } from './types.js';
5
5
  import '../plan-CqxFGNk2.js';
@@ -1,5 +1,5 @@
1
- import { o as ClientCheckParams, d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, p as AttachResponse, h as ClientPreviewAttachParams, q as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, r as PreviewUpdateResponse, s as CheckResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, t as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse } from '../params-CheyAQ0-.mjs';
2
- import { C as Customer } from '../customer-Bb7J-_p_.mjs';
1
+ import { o as ClientCheckParams, d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, p as AttachResponse, h as ClientPreviewAttachParams, q as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, r as PreviewUpdateResponse, s as CheckResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, t as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse } from '../params-Bj6uyOX1.mjs';
2
+ import { C as Customer } from '../customer-DDRi84Zq.mjs';
3
3
  import { HookParams, HookResultWithMethods } from './types.mjs';
4
4
  import '../plan-CqxFGNk2.mjs';
5
5
  import '@tanstack/react-query';
@@ -1,5 +1,5 @@
1
- import { o as ClientCheckParams, d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, p as AttachResponse, h as ClientPreviewAttachParams, q as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, r as PreviewUpdateResponse, s as CheckResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, t as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse } from '../params-yCtJ7lOA.js';
2
- import { C as Customer } from '../customer-CJSDgQMF.js';
1
+ import { o as ClientCheckParams, d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, p as AttachResponse, h as ClientPreviewAttachParams, q as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, r as PreviewUpdateResponse, s as CheckResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, t as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse } from '../params-DAVIR4YX.js';
2
+ import { C as Customer } from '../customer-BPHnUS4N.js';
3
3
  import { HookParams, HookResultWithMethods } from './types.js';
4
4
  import '../plan-CqxFGNk2.js';
5
5
  import '@tanstack/react-query';
@@ -1,4 +1,4 @@
1
- import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-CheyAQ0-.mjs';
1
+ import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-Bj6uyOX1.mjs';
2
2
  import { HookParams, HookResult } from './types.mjs';
3
3
  import '../plan-CqxFGNk2.mjs';
4
4
  import '@tanstack/react-query';
@@ -1,4 +1,4 @@
1
- import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-yCtJ7lOA.js';
1
+ import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-DAVIR4YX.js';
2
2
  import { HookParams, HookResult } from './types.js';
3
3
  import '../plan-CqxFGNk2.js';
4
4
  import '@tanstack/react-query';
@@ -1,5 +1,5 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { e as ClientListEventsParams, L as ListEventsResponse, u as ListEventsList } from '../params-CheyAQ0-.mjs';
2
+ import { e as ClientListEventsParams, L as ListEventsResponse, u as ListEventsList } from '../params-Bj6uyOX1.mjs';
3
3
  import { AutumnClientError } from '../client/AutumnClientError.mjs';
4
4
  import { HookParams } from './types.mjs';
5
5
  import '../plan-CqxFGNk2.mjs';
@@ -1,5 +1,5 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { e as ClientListEventsParams, L as ListEventsResponse, u as ListEventsList } from '../params-yCtJ7lOA.js';
2
+ import { e as ClientListEventsParams, L as ListEventsResponse, u as ListEventsList } from '../params-DAVIR4YX.js';
3
3
  import { AutumnClientError } from '../client/AutumnClientError.js';
4
4
  import { HookParams } from './types.js';
5
5
  import '../plan-CqxFGNk2.js';
@@ -1,6 +1,6 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
2
  import { P as Plan } from '../plan-CqxFGNk2.mjs';
3
- import { v as ClientListPlansParams } from '../params-CheyAQ0-.mjs';
3
+ import { v as ClientListPlansParams } from '../params-Bj6uyOX1.mjs';
4
4
  import { AutumnClientError } from '../client/AutumnClientError.mjs';
5
5
  import { HookParams } from './types.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
2
  import { P as Plan } from '../plan-CqxFGNk2.js';
3
- import { v as ClientListPlansParams } from '../params-yCtJ7lOA.js';
3
+ import { v as ClientListPlansParams } from '../params-DAVIR4YX.js';
4
4
  import { AutumnClientError } from '../client/AutumnClientError.js';
5
5
  import { HookParams } from './types.js';
6
6
 
@@ -1,4 +1,4 @@
1
- import { b as ClientCreateReferralCodeParams, w as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse } from '../params-CheyAQ0-.mjs';
1
+ import { b as ClientCreateReferralCodeParams, w as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse } from '../params-Bj6uyOX1.mjs';
2
2
  import { HookParams, HookResultWithMethods } from './types.mjs';
3
3
  import '../plan-CqxFGNk2.mjs';
4
4
  import '@tanstack/react-query';
@@ -1,4 +1,4 @@
1
- import { b as ClientCreateReferralCodeParams, w as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse } from '../params-yCtJ7lOA.js';
1
+ import { b as ClientCreateReferralCodeParams, w as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse } from '../params-DAVIR4YX.js';
2
2
  import { HookParams, HookResultWithMethods } from './types.js';
3
3
  import '../plan-CqxFGNk2.js';
4
4
  import '@tanstack/react-query';
@@ -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-CheyAQ0-.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-Bj6uyOX1.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';
@@ -13,6 +13,6 @@ export { UseReferralsParams, UseReferralsResult, useReferrals } from './hooks/us
13
13
  import './plan-CqxFGNk2.mjs';
14
14
  import 'react';
15
15
  import 'react/jsx-runtime';
16
- import './customer-Bb7J-_p_.mjs';
16
+ import './customer-DDRi84Zq.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-yCtJ7lOA.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-DAVIR4YX.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';
@@ -13,6 +13,6 @@ export { UseReferralsParams, UseReferralsResult, useReferrals } from './hooks/us
13
13
  import './plan-CqxFGNk2.js';
14
14
  import 'react';
15
15
  import 'react/jsx-runtime';
16
- import './customer-CJSDgQMF.js';
16
+ import './customer-BPHnUS4N.js';
17
17
  import '@tanstack/react-query';
18
18
  import './hooks/types.js';
@@ -2574,7 +2574,12 @@ var isErrorBody = (body) => {
2574
2574
  return !!body && typeof body === "object" && "message" in body && "code" in body && "statusCode" in body;
2575
2575
  };
2576
2576
  var createHttpClient = (config) => {
2577
- const { backendUrl, pathPrefix, includeCredentials } = config;
2577
+ const {
2578
+ backendUrl,
2579
+ pathPrefix,
2580
+ includeCredentials,
2581
+ headers: customHeaders
2582
+ } = config;
2578
2583
  const baseUrl = backendUrl ? `${backendUrl}${pathPrefix}` : pathPrefix;
2579
2584
  const request = async ({
2580
2585
  route,
@@ -2582,12 +2587,14 @@ var createHttpClient = (config) => {
2582
2587
  method = "POST"
2583
2588
  }) => {
2584
2589
  const url = `${baseUrl}/${route}`;
2590
+ const headers = {
2591
+ "Content-Type": "application/json",
2592
+ ...customHeaders
2593
+ };
2585
2594
  try {
2586
2595
  const response = await fetch(url, {
2587
2596
  method,
2588
- headers: {
2589
- "Content-Type": "application/json"
2590
- },
2597
+ headers,
2591
2598
  ...includeCredentials && { credentials: "include" },
2592
2599
  ...body !== void 0 && { body: JSON.stringify(body) }
2593
2600
  });
@@ -2628,7 +2635,8 @@ var createAutumnClient = (config) => {
2628
2635
  const http = createHttpClient({
2629
2636
  backendUrl: config.backendUrl,
2630
2637
  pathPrefix: config.pathPrefix,
2631
- includeCredentials: config.includeCredentials
2638
+ includeCredentials: config.includeCredentials,
2639
+ headers: config.headers
2632
2640
  });
2633
2641
  return {
2634
2642
  getOrCreateCustomer: (params) => http.request({
@@ -2703,7 +2711,8 @@ var AutumnProvider = ({
2703
2711
  backendUrl,
2704
2712
  pathPrefix,
2705
2713
  useBetterAuth,
2706
- includeCredentials
2714
+ includeCredentials,
2715
+ headers
2707
2716
  }) => {
2708
2717
  const queryClientRef = (0, import_react2.useRef)(null);
2709
2718
  if (!queryClientRef.current) {
@@ -2724,10 +2733,11 @@ var AutumnProvider = ({
2724
2733
  const client = createAutumnClient({
2725
2734
  backendUrl,
2726
2735
  pathPrefix: resolvedPathPrefix,
2727
- includeCredentials: resolvedIncludeCredentials
2736
+ includeCredentials: resolvedIncludeCredentials,
2737
+ headers
2728
2738
  });
2729
2739
  return { client };
2730
- }, [backendUrl, pathPrefix, useBetterAuth, includeCredentials]);
2740
+ }, [backendUrl, pathPrefix, useBetterAuth, includeCredentials, JSON.stringify(headers)]);
2731
2741
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(QueryClientProvider, { client: queryClientRef.current, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(AutumnContext.Provider, { value: contextValue, children }) });
2732
2742
  };
2733
2743
 
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import {
3
3
  AutumnProvider
4
- } from "./chunk-R7I3UPL4.mjs";
4
+ } from "./chunk-26CKSAPZ.mjs";
5
5
  import "./chunk-7KBQVCNO.mjs";
6
6
  import {
7
7
  createAutumnClient
8
- } from "./chunk-QEJLIFBC.mjs";
9
- import "./chunk-M34U5F2H.mjs";
8
+ } from "./chunk-QOFGTXEX.mjs";
9
+ import "./chunk-SCDO26YC.mjs";
10
10
  import {
11
11
  AutumnClientError
12
12
  } from "./chunk-IC3QHWR6.mjs";
@@ -1730,6 +1730,10 @@ type CustomerDataAutoTopup = {
1730
1730
  * Optional rate limit to cap how often auto top-ups occur.
1731
1731
  */
1732
1732
  purchaseLimit?: CustomerDataPurchaseLimit | undefined;
1733
+ /**
1734
+ * When true, auto top-up creates a send_invoice invoice instead of auto-charging.
1735
+ */
1736
+ invoiceMode?: boolean | undefined;
1733
1737
  };
1734
1738
  type CustomerDataSpendLimit = {
1735
1739
  /**
@@ -1730,6 +1730,10 @@ type CustomerDataAutoTopup = {
1730
1730
  * Optional rate limit to cap how often auto top-ups occur.
1731
1731
  */
1732
1732
  purchaseLimit?: CustomerDataPurchaseLimit | undefined;
1733
+ /**
1734
+ * When true, auto top-up creates a send_invoice invoice instead of auto-charging.
1735
+ */
1736
+ invoiceMode?: boolean | undefined;
1733
1737
  };
1734
1738
  type CustomerDataSpendLimit = {
1735
1739
  /**
@@ -111,8 +111,8 @@ declare const SDK_METADATA: {
111
111
  readonly language: "typescript";
112
112
  readonly openapiDocVersion: "2.2.0";
113
113
  readonly sdkVersion: "0.10.17";
114
- readonly genVersion: "2.879.1";
115
- readonly userAgent: "speakeasy-sdk/typescript 0.10.17 2.879.1 2.2.0 @useautumn/sdk";
114
+ readonly genVersion: "2.879.6";
115
+ readonly userAgent: "speakeasy-sdk/typescript 0.10.17 2.879.6 2.2.0 @useautumn/sdk";
116
116
  };
117
117
 
118
118
  /**
@@ -2886,6 +2886,10 @@ type CustomerDataAutoTopup = {
2886
2886
  * Optional rate limit to cap how often auto top-ups occur.
2887
2887
  */
2888
2888
  purchaseLimit?: CustomerDataPurchaseLimit | undefined;
2889
+ /**
2890
+ * When true, auto top-up creates a send_invoice invoice instead of auto-charging.
2891
+ */
2892
+ invoiceMode?: boolean | undefined;
2889
2893
  };
2890
2894
  type CustomerDataSpendLimit = {
2891
2895
  /**
@@ -3026,6 +3030,7 @@ type CustomerDataAutoTopup$Outbound = {
3026
3030
  threshold: number;
3027
3031
  quantity: number;
3028
3032
  purchase_limit?: CustomerDataPurchaseLimit$Outbound | undefined;
3033
+ invoice_mode?: boolean | undefined;
3029
3034
  };
3030
3035
  /** @internal */
3031
3036
  declare const CustomerDataAutoTopup$outboundSchema: z$1.ZodMiniType<CustomerDataAutoTopup$Outbound, CustomerDataAutoTopup>;
@@ -5300,6 +5305,10 @@ type CustomerAutoTopup = {
5300
5305
  * Optional rate limit to cap how often auto top-ups occur.
5301
5306
  */
5302
5307
  purchaseLimit?: CustomerPurchaseLimit | undefined;
5308
+ /**
5309
+ * When true, auto top-up creates a send_invoice invoice instead of auto-charging.
5310
+ */
5311
+ invoiceMode?: boolean | undefined;
5303
5312
  };
5304
5313
  type CustomerSpendLimit = {
5305
5314
  /**
@@ -6690,6 +6699,10 @@ type GetOrCreateCustomerAutoTopup = {
6690
6699
  * Optional rate limit to cap how often auto top-ups occur.
6691
6700
  */
6692
6701
  purchaseLimit?: GetOrCreateCustomerPurchaseLimit | undefined;
6702
+ /**
6703
+ * When true, auto top-up creates a send_invoice invoice instead of auto-charging.
6704
+ */
6705
+ invoiceMode?: boolean | undefined;
6693
6706
  };
6694
6707
  type GetOrCreateCustomerSpendLimit = {
6695
6708
  /**
@@ -6832,6 +6845,7 @@ type GetOrCreateCustomerAutoTopup$Outbound = {
6832
6845
  threshold: number;
6833
6846
  quantity: number;
6834
6847
  purchase_limit?: GetOrCreateCustomerPurchaseLimit$Outbound | undefined;
6848
+ invoice_mode?: boolean | undefined;
6835
6849
  };
6836
6850
  /** @internal */
6837
6851
  declare const GetOrCreateCustomerAutoTopup$outboundSchema: z$1.ZodMiniType<GetOrCreateCustomerAutoTopup$Outbound, GetOrCreateCustomerAutoTopup>;
@@ -7552,6 +7566,10 @@ type ListCustomersAutoTopup = {
7552
7566
  * Optional rate limit to cap how often auto top-ups occur.
7553
7567
  */
7554
7568
  purchaseLimit?: ListCustomersPurchaseLimit | undefined;
7569
+ /**
7570
+ * When true, auto top-up creates a send_invoice invoice instead of auto-charging.
7571
+ */
7572
+ invoiceMode?: boolean | undefined;
7555
7573
  };
7556
7574
  type ListCustomersSpendLimit = {
7557
7575
  /**
@@ -13542,6 +13560,10 @@ type UpdateCustomerAutoTopupRequest = {
13542
13560
  * Optional rate limit to cap how often auto top-ups occur.
13543
13561
  */
13544
13562
  purchaseLimit?: UpdateCustomerPurchaseLimitRequest | undefined;
13563
+ /**
13564
+ * When true, auto top-up creates a send_invoice invoice instead of auto-charging.
13565
+ */
13566
+ invoiceMode?: boolean | undefined;
13545
13567
  };
13546
13568
  type UpdateCustomerSpendLimitRequest = {
13547
13569
  /**
@@ -13723,6 +13745,10 @@ type UpdateCustomerAutoTopupResponse = {
13723
13745
  * Optional rate limit to cap how often auto top-ups occur.
13724
13746
  */
13725
13747
  purchaseLimit?: UpdateCustomerPurchaseLimitResponse | undefined;
13748
+ /**
13749
+ * When true, auto top-up creates a send_invoice invoice instead of auto-charging.
13750
+ */
13751
+ invoiceMode?: boolean | undefined;
13726
13752
  };
13727
13753
  type UpdateCustomerSpendLimitResponse = {
13728
13754
  /**
@@ -14066,6 +14092,7 @@ type UpdateCustomerAutoTopupRequest$Outbound = {
14066
14092
  threshold: number;
14067
14093
  quantity: number;
14068
14094
  purchase_limit?: UpdateCustomerPurchaseLimitRequest$Outbound | undefined;
14095
+ invoice_mode?: boolean | undefined;
14069
14096
  };
14070
14097
  /** @internal */
14071
14098
  declare const UpdateCustomerAutoTopupRequest$outboundSchema: z$1.ZodMiniType<UpdateCustomerAutoTopupRequest$Outbound, UpdateCustomerAutoTopupRequest>;
@@ -111,8 +111,8 @@ declare const SDK_METADATA: {
111
111
  readonly language: "typescript";
112
112
  readonly openapiDocVersion: "2.2.0";
113
113
  readonly sdkVersion: "0.10.17";
114
- readonly genVersion: "2.879.1";
115
- readonly userAgent: "speakeasy-sdk/typescript 0.10.17 2.879.1 2.2.0 @useautumn/sdk";
114
+ readonly genVersion: "2.879.6";
115
+ readonly userAgent: "speakeasy-sdk/typescript 0.10.17 2.879.6 2.2.0 @useautumn/sdk";
116
116
  };
117
117
 
118
118
  /**
@@ -2886,6 +2886,10 @@ type CustomerDataAutoTopup = {
2886
2886
  * Optional rate limit to cap how often auto top-ups occur.
2887
2887
  */
2888
2888
  purchaseLimit?: CustomerDataPurchaseLimit | undefined;
2889
+ /**
2890
+ * When true, auto top-up creates a send_invoice invoice instead of auto-charging.
2891
+ */
2892
+ invoiceMode?: boolean | undefined;
2889
2893
  };
2890
2894
  type CustomerDataSpendLimit = {
2891
2895
  /**
@@ -3026,6 +3030,7 @@ type CustomerDataAutoTopup$Outbound = {
3026
3030
  threshold: number;
3027
3031
  quantity: number;
3028
3032
  purchase_limit?: CustomerDataPurchaseLimit$Outbound | undefined;
3033
+ invoice_mode?: boolean | undefined;
3029
3034
  };
3030
3035
  /** @internal */
3031
3036
  declare const CustomerDataAutoTopup$outboundSchema: z$1.ZodMiniType<CustomerDataAutoTopup$Outbound, CustomerDataAutoTopup>;
@@ -5300,6 +5305,10 @@ type CustomerAutoTopup = {
5300
5305
  * Optional rate limit to cap how often auto top-ups occur.
5301
5306
  */
5302
5307
  purchaseLimit?: CustomerPurchaseLimit | undefined;
5308
+ /**
5309
+ * When true, auto top-up creates a send_invoice invoice instead of auto-charging.
5310
+ */
5311
+ invoiceMode?: boolean | undefined;
5303
5312
  };
5304
5313
  type CustomerSpendLimit = {
5305
5314
  /**
@@ -6690,6 +6699,10 @@ type GetOrCreateCustomerAutoTopup = {
6690
6699
  * Optional rate limit to cap how often auto top-ups occur.
6691
6700
  */
6692
6701
  purchaseLimit?: GetOrCreateCustomerPurchaseLimit | undefined;
6702
+ /**
6703
+ * When true, auto top-up creates a send_invoice invoice instead of auto-charging.
6704
+ */
6705
+ invoiceMode?: boolean | undefined;
6693
6706
  };
6694
6707
  type GetOrCreateCustomerSpendLimit = {
6695
6708
  /**
@@ -6832,6 +6845,7 @@ type GetOrCreateCustomerAutoTopup$Outbound = {
6832
6845
  threshold: number;
6833
6846
  quantity: number;
6834
6847
  purchase_limit?: GetOrCreateCustomerPurchaseLimit$Outbound | undefined;
6848
+ invoice_mode?: boolean | undefined;
6835
6849
  };
6836
6850
  /** @internal */
6837
6851
  declare const GetOrCreateCustomerAutoTopup$outboundSchema: z$1.ZodMiniType<GetOrCreateCustomerAutoTopup$Outbound, GetOrCreateCustomerAutoTopup>;
@@ -7552,6 +7566,10 @@ type ListCustomersAutoTopup = {
7552
7566
  * Optional rate limit to cap how often auto top-ups occur.
7553
7567
  */
7554
7568
  purchaseLimit?: ListCustomersPurchaseLimit | undefined;
7569
+ /**
7570
+ * When true, auto top-up creates a send_invoice invoice instead of auto-charging.
7571
+ */
7572
+ invoiceMode?: boolean | undefined;
7555
7573
  };
7556
7574
  type ListCustomersSpendLimit = {
7557
7575
  /**
@@ -13542,6 +13560,10 @@ type UpdateCustomerAutoTopupRequest = {
13542
13560
  * Optional rate limit to cap how often auto top-ups occur.
13543
13561
  */
13544
13562
  purchaseLimit?: UpdateCustomerPurchaseLimitRequest | undefined;
13563
+ /**
13564
+ * When true, auto top-up creates a send_invoice invoice instead of auto-charging.
13565
+ */
13566
+ invoiceMode?: boolean | undefined;
13545
13567
  };
13546
13568
  type UpdateCustomerSpendLimitRequest = {
13547
13569
  /**
@@ -13723,6 +13745,10 @@ type UpdateCustomerAutoTopupResponse = {
13723
13745
  * Optional rate limit to cap how often auto top-ups occur.
13724
13746
  */
13725
13747
  purchaseLimit?: UpdateCustomerPurchaseLimitResponse | undefined;
13748
+ /**
13749
+ * When true, auto top-up creates a send_invoice invoice instead of auto-charging.
13750
+ */
13751
+ invoiceMode?: boolean | undefined;
13726
13752
  };
13727
13753
  type UpdateCustomerSpendLimitResponse = {
13728
13754
  /**
@@ -14066,6 +14092,7 @@ type UpdateCustomerAutoTopupRequest$Outbound = {
14066
14092
  threshold: number;
14067
14093
  quantity: number;
14068
14094
  purchase_limit?: UpdateCustomerPurchaseLimitRequest$Outbound | undefined;
14095
+ invoice_mode?: boolean | undefined;
14069
14096
  };
14070
14097
  /** @internal */
14071
14098
  declare const UpdateCustomerAutoTopupRequest$outboundSchema: z$1.ZodMiniType<UpdateCustomerAutoTopupRequest$Outbound, UpdateCustomerAutoTopupRequest>;