autumn-js 1.5.76 → 1.5.78

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 (113) hide show
  1. package/dist/backend/adapters/express.js +2 -0
  2. package/dist/backend/adapters/express.mjs +5 -5
  3. package/dist/backend/adapters/fetch.js +2 -0
  4. package/dist/backend/adapters/fetch.mjs +5 -5
  5. package/dist/backend/adapters/hono.js +2 -0
  6. package/dist/backend/adapters/hono.mjs +5 -5
  7. package/dist/backend/adapters/index.js +2 -0
  8. package/dist/backend/adapters/index.mjs +8 -8
  9. package/dist/backend/adapters/next.js +2 -0
  10. package/dist/backend/adapters/next.mjs +5 -5
  11. package/dist/backend/{chunk-RWTVQOX5.mjs → chunk-BLV2SYP6.mjs} +2 -0
  12. package/dist/backend/{chunk-BYXGFSWL.mjs → chunk-O6HQFQF4.mjs} +1 -1
  13. package/dist/backend/{chunk-NIVJ64FU.mjs → chunk-OZRVVG2G.mjs} +1 -1
  14. package/dist/backend/{chunk-6JGCK7VE.mjs → chunk-PNK2VRBE.mjs} +1 -1
  15. package/dist/backend/{chunk-FSO7BN7P.mjs → chunk-W4JBLNUW.mjs} +1 -1
  16. package/dist/backend/{chunk-5RVG4WCI.mjs → chunk-W6SCXAZO.mjs} +1 -1
  17. package/dist/backend/{chunk-JTJOX2VG.mjs → chunk-YZ3DNHYS.mjs} +1 -1
  18. package/dist/backend/core/handlers/coreHandler.d.mts +1 -1
  19. package/dist/backend/core/handlers/coreHandler.d.ts +1 -1
  20. package/dist/backend/core/handlers/coreHandler.js +2 -0
  21. package/dist/backend/core/handlers/coreHandler.mjs +3 -3
  22. package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
  23. package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
  24. package/dist/backend/core/handlers/executeRoute.mjs +1 -1
  25. package/dist/backend/core/handlers/handleRouteByName.js +2 -0
  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 +2 -0
  30. package/dist/backend/core/handlers/index.mjs +6 -6
  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 +2 -0
  34. package/dist/backend/core/index.mjs +8 -8
  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.mjs +1 -1
  38. package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
  39. package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
  40. package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
  41. package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
  42. package/dist/backend/core/routes/routeConfigs.mjs +1 -1
  43. package/dist/backend/core/types/handlerTypes.d.mts +1 -1
  44. package/dist/backend/core/types/handlerTypes.d.ts +1 -1
  45. package/dist/backend/core/types/index.d.mts +1 -1
  46. package/dist/backend/core/types/index.d.ts +1 -1
  47. package/dist/backend/core/types/routeTypes.d.mts +1 -1
  48. package/dist/backend/core/types/routeTypes.d.ts +1 -1
  49. package/dist/backend/core/utils/index.mjs +3 -3
  50. package/dist/backend/index.d.mts +2 -2
  51. package/dist/backend/index.d.ts +2 -2
  52. package/dist/backend/index.js +2 -0
  53. package/dist/backend/index.mjs +6 -6
  54. package/dist/backend/{routeTypes-DxaGKVb4.d.mts → routeTypes-CLdikyjM.d.mts} +8 -0
  55. package/dist/backend/{routeTypes-PWIPf5Pt.d.ts → routeTypes-CSjhFsCE.d.ts} +8 -0
  56. package/dist/better-auth/{chunk-YWYWWGFV.mjs → chunk-LBJJ4YWT.mjs} +2 -0
  57. package/dist/better-auth/index.js +2 -0
  58. package/dist/better-auth/index.mjs +1 -1
  59. package/dist/better-auth/utils/handleBetterAuthRoute.js +2 -0
  60. package/dist/better-auth/utils/handleBetterAuthRoute.mjs +1 -1
  61. package/dist/better-auth/utils/index.js +2 -0
  62. package/dist/better-auth/utils/index.mjs +1 -1
  63. package/dist/react/AutumnContext.d.mts +4 -4
  64. package/dist/react/AutumnContext.d.ts +4 -4
  65. package/dist/react/client/AutumnClient.d.mts +4 -4
  66. package/dist/react/client/AutumnClient.d.ts +4 -4
  67. package/dist/react/client/IAutumnClient.d.mts +4 -4
  68. package/dist/react/client/IAutumnClient.d.ts +4 -4
  69. package/dist/react/client/index.d.mts +4 -4
  70. package/dist/react/client/index.d.ts +4 -4
  71. package/dist/react/{customer-DXIylcA2.d.ts → customer-Bbzqqp31.d.ts} +1 -1
  72. package/dist/react/{customer-CvvxFXe1.d.mts → customer-G7pUzyod.d.mts} +1 -1
  73. package/dist/react/hooks/index.d.mts +4 -4
  74. package/dist/react/hooks/index.d.ts +4 -4
  75. package/dist/react/hooks/index.mjs +5 -5
  76. package/dist/react/hooks/internal/check/balanceToAllowed.d.mts +2 -2
  77. package/dist/react/hooks/internal/check/balanceToAllowed.d.ts +2 -2
  78. package/dist/react/hooks/internal/check/customerToFeatures.d.mts +2 -2
  79. package/dist/react/hooks/internal/check/customerToFeatures.d.ts +2 -2
  80. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.mts +2 -2
  81. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.ts +2 -2
  82. package/dist/react/hooks/internal/check/getCreditCost.d.mts +2 -2
  83. package/dist/react/hooks/internal/check/getCreditCost.d.ts +2 -2
  84. package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +3 -3
  85. package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +3 -3
  86. package/dist/react/hooks/internal/useCustomerActions.d.mts +4 -4
  87. package/dist/react/hooks/internal/useCustomerActions.d.ts +4 -4
  88. package/dist/react/hooks/useAggregateEvents.d.mts +2 -2
  89. package/dist/react/hooks/useAggregateEvents.d.ts +2 -2
  90. package/dist/react/hooks/useCustomer.d.mts +3 -3
  91. package/dist/react/hooks/useCustomer.d.ts +3 -3
  92. package/dist/react/hooks/useEntity.d.mts +2 -2
  93. package/dist/react/hooks/useEntity.d.ts +2 -2
  94. package/dist/react/hooks/useListEvents.d.mts +2 -2
  95. package/dist/react/hooks/useListEvents.d.ts +2 -2
  96. package/dist/react/hooks/useListPlans.d.mts +3 -3
  97. package/dist/react/hooks/useListPlans.d.ts +3 -3
  98. package/dist/react/hooks/useReferrals.d.mts +2 -2
  99. package/dist/react/hooks/useReferrals.d.ts +2 -2
  100. package/dist/react/index.d.mts +4 -4
  101. package/dist/react/index.d.ts +4 -4
  102. package/dist/react/index.mjs +5 -5
  103. package/dist/react/{list-plans-response-D2hGtcnZ.d.ts → list-plans-response-BgUKygvt.d.ts} +1 -1
  104. package/dist/react/{list-plans-response-Cysh-Nl7.d.mts → list-plans-response-CP1yoELX.d.mts} +1 -1
  105. package/dist/react/{params-C_nNJhdD.d.mts → params-DgPo8Z9o.d.mts} +1 -1
  106. package/dist/react/{params-DlX6Au4q.d.ts → params-k3xjhEMz.d.ts} +1 -1
  107. package/dist/react/{plan-2ztwsPTP.d.mts → plan-cML7I3gL.d.mts} +4 -0
  108. package/dist/react/{plan-2ztwsPTP.d.ts → plan-cML7I3gL.d.ts} +4 -0
  109. package/dist/sdk/index.d.mts +8 -0
  110. package/dist/sdk/index.d.ts +8 -0
  111. package/dist/sdk/index.js +2 -0
  112. package/dist/sdk/index.mjs +2 -0
  113. package/package.json +2 -2
@@ -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-DlX6Au4q.js';
2
- import { C as Customer } from '../customer-DXIylcA2.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-k3xjhEMz.js';
2
+ import { C as Customer } from '../customer-Bbzqqp31.js';
3
3
  import { HookParams, HookResultWithMethods } from './types.js';
4
- import '../plan-2ztwsPTP.js';
4
+ import '../plan-cML7I3gL.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-C_nNJhdD.mjs';
1
+ import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-DgPo8Z9o.mjs';
2
2
  import { HookParams, HookResult } from './types.mjs';
3
- import '../plan-2ztwsPTP.mjs';
3
+ import '../plan-cML7I3gL.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-DlX6Au4q.js';
1
+ import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-k3xjhEMz.js';
2
2
  import { HookParams, HookResult } from './types.js';
3
- import '../plan-2ztwsPTP.js';
3
+ import '../plan-cML7I3gL.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, x as ListEventsList } from '../params-C_nNJhdD.mjs';
2
+ import { e as ClientListEventsParams, L as ListEventsResponse, x as ListEventsList } from '../params-DgPo8Z9o.mjs';
3
3
  import { AutumnClientError } from '../client/AutumnClientError.mjs';
4
4
  import { HookParams } from './types.mjs';
5
- import '../plan-2ztwsPTP.mjs';
5
+ import '../plan-cML7I3gL.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, x as ListEventsList } from '../params-DlX6Au4q.js';
2
+ import { e as ClientListEventsParams, L as ListEventsResponse, x as ListEventsList } from '../params-k3xjhEMz.js';
3
3
  import { AutumnClientError } from '../client/AutumnClientError.js';
4
4
  import { HookParams } from './types.js';
5
- import '../plan-2ztwsPTP.js';
5
+ import '../plan-cML7I3gL.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-Cysh-Nl7.mjs';
3
- import { t as ClientListPlansParams } from '../params-C_nNJhdD.mjs';
2
+ import { a as ListPlansList } from '../list-plans-response-CP1yoELX.mjs';
3
+ import { t as ClientListPlansParams } from '../params-DgPo8Z9o.mjs';
4
4
  import { AutumnClientError } from '../client/AutumnClientError.mjs';
5
5
  import { HookParams } from './types.mjs';
6
- import '../plan-2ztwsPTP.mjs';
6
+ import '../plan-cML7I3gL.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-D2hGtcnZ.js';
3
- import { t as ClientListPlansParams } from '../params-DlX6Au4q.js';
2
+ import { a as ListPlansList } from '../list-plans-response-BgUKygvt.js';
3
+ import { t as ClientListPlansParams } from '../params-k3xjhEMz.js';
4
4
  import { AutumnClientError } from '../client/AutumnClientError.js';
5
5
  import { HookParams } from './types.js';
6
- import '../plan-2ztwsPTP.js';
6
+ import '../plan-cML7I3gL.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-C_nNJhdD.mjs';
1
+ import { b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse } from '../params-DgPo8Z9o.mjs';
2
2
  import { HookParams, HookResultWithMethods } from './types.mjs';
3
- import '../plan-2ztwsPTP.mjs';
3
+ import '../plan-cML7I3gL.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-DlX6Au4q.js';
1
+ import { b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse } from '../params-k3xjhEMz.js';
2
2
  import { HookParams, HookResultWithMethods } from './types.js';
3
- import '../plan-2ztwsPTP.js';
3
+ import '../plan-cML7I3gL.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-C_nNJhdD.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-DgPo8Z9o.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-2ztwsPTP.mjs';
13
+ import './plan-cML7I3gL.mjs';
14
14
  import 'react';
15
- import './customer-CvvxFXe1.mjs';
16
- import './list-plans-response-Cysh-Nl7.mjs';
15
+ import './customer-G7pUzyod.mjs';
16
+ import './list-plans-response-CP1yoELX.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-DlX6Au4q.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-k3xjhEMz.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-2ztwsPTP.js';
13
+ import './plan-cML7I3gL.js';
14
14
  import 'react';
15
- import './customer-DXIylcA2.js';
16
- import './list-plans-response-D2hGtcnZ.js';
15
+ import './customer-Bbzqqp31.js';
16
+ import './list-plans-response-BgUKygvt.js';
17
17
  import '@tanstack/react-query';
18
18
  import './hooks/types.js';
@@ -17,11 +17,6 @@ import {
17
17
  useCustomer
18
18
  } from "./chunk-JV4GHJ4W.mjs";
19
19
  import "./chunk-VKY4SZNZ.mjs";
20
- import "./chunk-Q7HVHWDK.mjs";
21
- import "./chunk-GSJF6P3Q.mjs";
22
- import "./chunk-SEQHNPTF.mjs";
23
- import "./chunk-4TON573W.mjs";
24
- import "./chunk-NDHIXCZM.mjs";
25
20
  import {
26
21
  useEntity
27
22
  } from "./chunk-7SRCZYRC.mjs";
@@ -34,6 +29,11 @@ import {
34
29
  import {
35
30
  useReferrals
36
31
  } from "./chunk-QUGX6XRQ.mjs";
32
+ import "./chunk-Q7HVHWDK.mjs";
33
+ import "./chunk-GSJF6P3Q.mjs";
34
+ import "./chunk-SEQHNPTF.mjs";
35
+ import "./chunk-4TON573W.mjs";
36
+ import "./chunk-NDHIXCZM.mjs";
37
37
  import "./chunk-KCOHZSS3.mjs";
38
38
  import {
39
39
  useAutumnClient
@@ -1,4 +1,4 @@
1
- import { O as OpenEnum, C as CreditDimensionUnion, b as ClosedEnum, P as Plan } from './plan-2ztwsPTP.js';
1
+ import { O as OpenEnum, C as CreditDimensionUnion, b as ClosedEnum, P as Plan } from './plan-cML7I3gL.js';
2
2
 
3
3
  type ListPlansAdditionalCurrency = {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { O as OpenEnum, C as CreditDimensionUnion, b as ClosedEnum, P as Plan } from './plan-2ztwsPTP.mjs';
1
+ import { O as OpenEnum, C as CreditDimensionUnion, b as ClosedEnum, P as Plan } from './plan-cML7I3gL.mjs';
2
2
 
3
3
  type ListPlansAdditionalCurrency = {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { b as ClosedEnum, O as OpenEnum, a as Balance, C as CreditDimensionUnion, P as Plan } from './plan-2ztwsPTP.mjs';
1
+ import { b as ClosedEnum, O as OpenEnum, a as Balance, C as CreditDimensionUnion, P as Plan } from './plan-cML7I3gL.mjs';
2
2
 
3
3
  /**
4
4
  * Time range to aggregate events for. Either range or custom_range must be provided
@@ -1,4 +1,4 @@
1
- import { b as ClosedEnum, O as OpenEnum, a as Balance, C as CreditDimensionUnion, P as Plan } from './plan-2ztwsPTP.js';
1
+ import { b as ClosedEnum, O as OpenEnum, a as Balance, C as CreditDimensionUnion, P as Plan } from './plan-cML7I3gL.js';
2
2
 
3
3
  /**
4
4
  * Time range to aggregate events for. Either range or custom_range must be provided
@@ -510,6 +510,10 @@ type Breakdown = {
510
510
  contributions?: Contributions | undefined;
511
511
  };
512
512
  type BalanceRollover = {
513
+ /**
514
+ * ID of this rollover. Matches balance_id in track and events.list deductions that drew from it.
515
+ */
516
+ id: string;
513
517
  /**
514
518
  * Amount originally rolled over from a previous period, before any of it was consumed.
515
519
  */
@@ -510,6 +510,10 @@ type Breakdown = {
510
510
  contributions?: Contributions | undefined;
511
511
  };
512
512
  type BalanceRollover = {
513
+ /**
514
+ * ID of this rollover. Matches balance_id in track and events.list deductions that drew from it.
515
+ */
516
+ id: string;
513
517
  /**
514
518
  * Amount originally rolled over from a previous period, before any of it was consumed.
515
519
  */
@@ -57124,6 +57124,10 @@ type Breakdown = {
57124
57124
  contributions?: Contributions | undefined;
57125
57125
  };
57126
57126
  type BalanceRollover = {
57127
+ /**
57128
+ * ID of this rollover. Matches balance_id in track and events.list deductions that drew from it.
57129
+ */
57130
+ id: string;
57127
57131
  /**
57128
57132
  * Amount originally rolled over from a previous period, before any of it was consumed.
57129
57133
  */
@@ -96403,6 +96407,10 @@ declare const ListBalancesListStatus: {
96403
96407
  */
96404
96408
  type ListBalancesListStatus = OpenEnum<typeof ListBalancesListStatus>;
96405
96409
  type ListBalancesRollover = {
96410
+ /**
96411
+ * ID of this rollover. Matches balance_id in track and events.list deductions that drew from it.
96412
+ */
96413
+ id: string;
96406
96414
  /**
96407
96415
  * Amount originally rolled over from a previous period, before any of it was consumed.
96408
96416
  */
@@ -57124,6 +57124,10 @@ type Breakdown = {
57124
57124
  contributions?: Contributions | undefined;
57125
57125
  };
57126
57126
  type BalanceRollover = {
57127
+ /**
57128
+ * ID of this rollover. Matches balance_id in track and events.list deductions that drew from it.
57129
+ */
57130
+ id: string;
57127
57131
  /**
57128
57132
  * Amount originally rolled over from a previous period, before any of it was consumed.
57129
57133
  */
@@ -96403,6 +96407,10 @@ declare const ListBalancesListStatus: {
96403
96407
  */
96404
96408
  type ListBalancesListStatus = OpenEnum<typeof ListBalancesListStatus>;
96405
96409
  type ListBalancesRollover = {
96410
+ /**
96411
+ * ID of this rollover. Matches balance_id in track and events.list deductions that drew from it.
96412
+ */
96413
+ id: string;
96406
96414
  /**
96407
96415
  * Amount originally rolled over from a previous period, before any of it was consumed.
96408
96416
  */
package/dist/sdk/index.js CHANGED
@@ -104519,6 +104519,7 @@ function breakdownFromJSON(jsonString) {
104519
104519
  }
104520
104520
  var BalanceRollover$inboundSchema = z47__namespace.pipe(
104521
104521
  z47__namespace.object({
104522
+ id: string5(),
104522
104523
  granted: number2(),
104523
104524
  balance: number2(),
104524
104525
  expires_at: number2()
@@ -136587,6 +136588,7 @@ function listBalancesAllocationFromJSON(jsonString) {
136587
136588
  var ListBalancesListStatus$inboundSchema = inboundSchema(ListBalancesListStatus);
136588
136589
  var ListBalancesRollover$inboundSchema = z47__namespace.pipe(
136589
136590
  z47__namespace.object({
136591
+ id: string5(),
136590
136592
  granted: number2(),
136591
136593
  balance: number2(),
136592
136594
  expires_at: number2()
@@ -104496,6 +104496,7 @@ function breakdownFromJSON(jsonString) {
104496
104496
  }
104497
104497
  var BalanceRollover$inboundSchema = z47.pipe(
104498
104498
  z47.object({
104499
+ id: string5(),
104499
104500
  granted: number2(),
104500
104501
  balance: number2(),
104501
104502
  expires_at: number2()
@@ -136564,6 +136565,7 @@ function listBalancesAllocationFromJSON(jsonString) {
136564
136565
  var ListBalancesListStatus$inboundSchema = inboundSchema(ListBalancesListStatus);
136565
136566
  var ListBalancesRollover$inboundSchema = z47.pipe(
136566
136567
  z47.object({
136568
+ id: string5(),
136567
136569
  granted: number2(),
136568
136570
  balance: number2(),
136569
136571
  expires_at: number2()
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "autumn-js",
3
3
  "description": "Autumn JS Library",
4
- "version": "1.5.76",
4
+ "version": "1.5.78",
5
5
  "repository": "github:useautumn/autumn",
6
6
  "homepage": "https://docs.useautumn.com",
7
7
  "main": "./dist/sdk/index.js",
@@ -128,5 +128,5 @@
128
128
  "optional": true
129
129
  }
130
130
  },
131
- "gitHead": "eca6803c52d0310e021d6d5cd26ce438c12222ad"
131
+ "gitHead": "f6a036a2ca57a8d0579c38d7bec39704f0d1f6ce"
132
132
  }