autumn-js 0.1.9 → 0.1.10

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 (123) hide show
  1. package/dist/libraries/backend/better-auth.d.mts +33 -33
  2. package/dist/libraries/backend/better-auth.d.ts +33 -33
  3. package/dist/libraries/backend/express.d.mts +1 -1
  4. package/dist/libraries/backend/express.d.ts +1 -1
  5. package/dist/libraries/backend/index.d.mts +1 -1
  6. package/dist/libraries/backend/index.d.ts +1 -1
  7. package/dist/libraries/backend/{referralTypes-BEcapeWf.d.mts → referralTypes-DpLmOy8-.d.mts} +44 -43
  8. package/dist/libraries/backend/{referralTypes-DuAlUwev.d.ts → referralTypes-nXl36Opw.d.ts} +44 -43
  9. package/dist/libraries/backend/utils/withAuth.d.mts +1 -1
  10. package/dist/libraries/backend/utils/withAuth.d.ts +1 -1
  11. package/dist/libraries/react/AutumnContext.d.mts +6 -6
  12. package/dist/libraries/react/AutumnContext.d.ts +6 -6
  13. package/dist/libraries/react/BaseAutumnProvider.d.mts +6 -6
  14. package/dist/libraries/react/BaseAutumnProvider.d.ts +6 -6
  15. package/dist/libraries/react/{ReactAutumnClient-DCMQEadM.d.ts → ReactAutumnClient-BozBPLWS.d.ts} +17 -17
  16. package/dist/libraries/react/{ReactAutumnClient-Dm14G99_.d.mts → ReactAutumnClient-CDp4DLo0.d.mts} +17 -17
  17. package/dist/libraries/react/ReactAutumnProvider.d.mts +2 -2
  18. package/dist/libraries/react/ReactAutumnProvider.d.ts +2 -2
  19. package/dist/libraries/react/{attachTypes-Sv_paJZ2.d.mts → attachTypes-BqXH38Ft.d.mts} +5 -5
  20. package/dist/libraries/react/{attachTypes-QTf_JXj7.d.ts → attachTypes-DxfaWOQB.d.ts} +5 -5
  21. package/dist/libraries/react/{chunk-4UPD6W4L.mjs → chunk-4EPRIJNB.mjs} +425 -423
  22. package/dist/libraries/react/client/ReactAutumnClient.d.mts +6 -6
  23. package/dist/libraries/react/client/ReactAutumnClient.d.ts +6 -6
  24. package/dist/libraries/react/client/clientCompMethods.d.mts +6 -6
  25. package/dist/libraries/react/client/clientCompMethods.d.ts +6 -6
  26. package/dist/libraries/react/client/clientCusMethods.d.mts +6 -6
  27. package/dist/libraries/react/client/clientCusMethods.d.ts +6 -6
  28. package/dist/libraries/react/client/clientEntityMethods.d.mts +6 -6
  29. package/dist/libraries/react/client/clientEntityMethods.d.ts +6 -6
  30. package/dist/libraries/react/client/clientGenMethods.d.mts +6 -6
  31. package/dist/libraries/react/client/clientGenMethods.d.ts +6 -6
  32. package/dist/libraries/react/client/clientProdMethods.d.mts +6 -6
  33. package/dist/libraries/react/client/clientProdMethods.d.ts +6 -6
  34. package/dist/libraries/react/client/clientReferralMethods.d.mts +6 -6
  35. package/dist/libraries/react/client/clientReferralMethods.d.ts +6 -6
  36. package/dist/libraries/react/client/types/clientAttachTypes.d.mts +20 -20
  37. package/dist/libraries/react/client/types/clientAttachTypes.d.ts +20 -20
  38. package/dist/libraries/react/client/types/clientGenTypes.d.mts +4 -4
  39. package/dist/libraries/react/client/types/clientGenTypes.d.ts +4 -4
  40. package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.d.mts +2 -2
  41. package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.d.ts +2 -2
  42. package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.mjs +12 -12
  43. package/dist/libraries/react/components/checkout-dialog/lib/checkout-content.d.mts +2 -2
  44. package/dist/libraries/react/components/checkout-dialog/lib/checkout-content.d.ts +2 -2
  45. package/dist/libraries/react/components/paywall-dialog/lib/paywall-content.d.mts +1 -1
  46. package/dist/libraries/react/components/paywall-dialog/lib/paywall-content.d.ts +1 -1
  47. package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.mjs +12 -12
  48. package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.d.mts +1 -1
  49. package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.d.ts +1 -1
  50. package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.mts +1 -1
  51. package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.ts +1 -1
  52. package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +12 -12
  53. package/dist/libraries/react/components/ui/dialog.mjs +2 -2
  54. package/dist/libraries/react/components/ui/popover.mjs +2 -2
  55. package/dist/libraries/react/{cusTypes-DbCQV8Sj.d.mts → cusTypes-B2w8Kg9H.d.mts} +4 -3
  56. package/dist/libraries/react/{cusTypes-BeSXIQ6P.d.ts → cusTypes-C8UH2xVw.d.ts} +4 -3
  57. package/dist/libraries/react/{entTypes-0CBBecul.d.ts → entTypes-Byz3wYbQ.d.ts} +1 -1
  58. package/dist/libraries/react/{entTypes-kVUQcah5.d.mts → entTypes-ItJ8BoHV.d.mts} +1 -1
  59. package/dist/libraries/react/{genTypes-fEH_nqSm.d.mts → genTypes-DSvR32on.d.mts} +5 -5
  60. package/dist/libraries/react/{genTypes-DsiuvyWS.d.ts → genTypes-EyxQImzh.d.ts} +5 -5
  61. package/dist/libraries/react/hooks/helpers/handleCheck.d.mts +6 -6
  62. package/dist/libraries/react/hooks/helpers/handleCheck.d.ts +6 -6
  63. package/dist/libraries/react/hooks/helpers/useAutumnBase.d.mts +7 -7
  64. package/dist/libraries/react/hooks/helpers/useAutumnBase.d.ts +7 -7
  65. package/dist/libraries/react/hooks/useAnalytics.d.mts +2 -2
  66. package/dist/libraries/react/hooks/useAnalytics.d.ts +2 -2
  67. package/dist/libraries/react/hooks/useCustomer.d.mts +6 -6
  68. package/dist/libraries/react/hooks/useCustomer.d.ts +6 -6
  69. package/dist/libraries/react/hooks/useCustomerBase.d.mts +6 -6
  70. package/dist/libraries/react/hooks/useCustomerBase.d.ts +6 -6
  71. package/dist/libraries/react/hooks/useEntity.d.mts +4 -4
  72. package/dist/libraries/react/hooks/useEntity.d.ts +4 -4
  73. package/dist/libraries/react/hooks/useEntityBase.d.mts +6 -6
  74. package/dist/libraries/react/hooks/useEntityBase.d.ts +6 -6
  75. package/dist/libraries/react/hooks/usePaywall.d.mts +1 -1
  76. package/dist/libraries/react/hooks/usePaywall.d.ts +1 -1
  77. package/dist/libraries/react/hooks/usePricingTable.d.mts +1 -1
  78. package/dist/libraries/react/hooks/usePricingTable.d.ts +1 -1
  79. package/dist/libraries/react/hooks/usePricingTableBase.d.mts +6 -6
  80. package/dist/libraries/react/hooks/usePricingTableBase.d.ts +6 -6
  81. package/dist/libraries/react/hooks/useProductsBase.d.mts +6 -6
  82. package/dist/libraries/react/hooks/useProductsBase.d.ts +6 -6
  83. package/dist/libraries/react/index.d.mts +1 -0
  84. package/dist/libraries/react/index.d.ts +1 -0
  85. package/dist/libraries/react/{prodTypes--VvnyGlN.d.mts → prodTypes-Bmoibf-M.d.mts} +5 -5
  86. package/dist/libraries/react/{prodTypes--VvnyGlN.d.ts → prodTypes-Bmoibf-M.d.ts} +5 -5
  87. package/dist/next/client/NextAutumnClient.d.mts +6 -6
  88. package/dist/next/client/NextAutumnClient.d.ts +6 -6
  89. package/dist/next/client/NextAutumnProvider.d.mts +1 -1
  90. package/dist/next/client/NextAutumnProvider.d.ts +1 -1
  91. package/dist/next/client/clientUtils.d.mts +2 -2
  92. package/dist/next/client/clientUtils.d.ts +2 -2
  93. package/dist/next/client/{cusTypes-CYojUJSJ.d.ts → cusTypes-DRJ574aU.d.ts} +3 -2
  94. package/dist/next/client/{cusTypes-CIGvysWL.d.mts → cusTypes-c6-g1-Yy.d.mts} +3 -2
  95. package/dist/next/client/{entTypes-mOI7WnPZ.d.mts → entTypes-Bf0302Om.d.mts} +1 -1
  96. package/dist/next/client/{entTypes-BAD1NMvb.d.ts → entTypes-KSBxuyW-.d.ts} +1 -1
  97. package/dist/next/client/hooks/useAutumn.d.mts +3 -3
  98. package/dist/next/client/hooks/useAutumn.d.ts +3 -3
  99. package/dist/next/client/hooks/useCustomer.d.mts +4 -4
  100. package/dist/next/client/hooks/useCustomer.d.ts +4 -4
  101. package/dist/next/client/hooks/useEntity.d.mts +3 -3
  102. package/dist/next/client/hooks/useEntity.d.ts +3 -3
  103. package/dist/next/client/types.d.mts +2 -2
  104. package/dist/next/client/types.d.ts +2 -2
  105. package/dist/next/server/auth/withNextAuth.d.mts +1 -1
  106. package/dist/next/server/auth/withNextAuth.d.ts +1 -1
  107. package/dist/next/server/componentActions.d.mts +1 -1
  108. package/dist/next/server/componentActions.d.ts +1 -1
  109. package/dist/next/server/cusActions.d.mts +1 -1
  110. package/dist/next/server/cusActions.d.ts +1 -1
  111. package/dist/next/server/{cusTypes-CwopPHB0.d.mts → cusTypes-Cu6SOTmn.d.mts} +1 -0
  112. package/dist/next/server/{cusTypes-CwopPHB0.d.ts → cusTypes-Cu6SOTmn.d.ts} +1 -0
  113. package/dist/next/server/genActions.d.mts +1 -1
  114. package/dist/next/server/genActions.d.ts +1 -1
  115. package/dist/sdk/index.d.mts +1 -0
  116. package/dist/sdk/index.d.ts +1 -0
  117. package/package.json +1 -1
  118. package/dist/libraries/react/{chunk-FJWZPMWU.mjs → chunk-7JNU5ABT.mjs} +3 -3
  119. package/dist/libraries/react/{chunk-OTZ65PCT.mjs → chunk-LCWL3TIT.mjs} +3 -3
  120. package/dist/next/client/{attachTypes-DUUIHTBt.d.mts → attachTypes--97TsCMB.d.mts} +2 -2
  121. package/dist/next/client/{attachTypes-CReq8zJ_.d.ts → attachTypes-B1sM-0vf.d.ts} +2 -2
  122. package/dist/next/client/{clientAttachTypes-umadXlvp.d.ts → clientAttachTypes-BXtfXB4v.d.ts} +2 -2
  123. package/dist/next/client/{clientAttachTypes-BzsPgggN.d.mts → clientAttachTypes-qsdoMt_B.d.mts} +2 -2
@@ -1,12 +1,12 @@
1
- import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-kVUQcah5.mjs';
1
+ import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-ItJ8BoHV.mjs';
2
2
  import { AttachParams } from '../client/types/clientAttachTypes.mjs';
3
3
  import { CheckParams, CancelParams, TrackParams } from '../client/types/clientGenTypes.mjs';
4
4
  import * as swr from 'swr';
5
5
  import { A as AutumnError } from '../error-DHbclCVh.mjs';
6
- import { a as CheckResult } from '../genTypes-fEH_nqSm.mjs';
6
+ import { a as CheckResult } from '../genTypes-DSvR32on.mjs';
7
7
  import { GetEntityParams } from '../client/types/clientEntTypes.mjs';
8
- import '../cusTypes-DbCQV8Sj.mjs';
9
- import '../prodTypes--VvnyGlN.mjs';
8
+ import '../cusTypes-B2w8Kg9H.mjs';
9
+ import '../prodTypes-Bmoibf-M.mjs';
10
10
  import 'zod';
11
11
 
12
12
  declare const useEntity: (entityId: string | null, params?: GetEntityParams) => {
@@ -1,12 +1,12 @@
1
- import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-0CBBecul.js';
1
+ import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-Byz3wYbQ.js';
2
2
  import { AttachParams } from '../client/types/clientAttachTypes.js';
3
3
  import { CheckParams, CancelParams, TrackParams } from '../client/types/clientGenTypes.js';
4
4
  import * as swr from 'swr';
5
5
  import { A as AutumnError } from '../error-DHbclCVh.js';
6
- import { a as CheckResult } from '../genTypes-DsiuvyWS.js';
6
+ import { a as CheckResult } from '../genTypes-EyxQImzh.js';
7
7
  import { GetEntityParams } from '../client/types/clientEntTypes.js';
8
- import '../cusTypes-BeSXIQ6P.js';
9
- import '../prodTypes--VvnyGlN.js';
8
+ import '../cusTypes-C8UH2xVw.js';
9
+ import '../prodTypes-Bmoibf-M.js';
10
10
  import 'zod';
11
11
 
12
12
  declare const useEntity: (entityId: string | null, params?: GetEntityParams) => {
@@ -1,17 +1,17 @@
1
- import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-kVUQcah5.mjs';
1
+ import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-ItJ8BoHV.mjs';
2
2
  import * as swr from 'swr';
3
3
  import { A as AutumnError } from '../error-DHbclCVh.mjs';
4
- import { a as CheckResult } from '../genTypes-fEH_nqSm.mjs';
4
+ import { a as CheckResult } from '../genTypes-DSvR32on.mjs';
5
5
  import { GetEntityParams } from '../client/types/clientEntTypes.mjs';
6
6
  import { AutumnContextParams } from '../AutumnContext.mjs';
7
7
  import { CheckParams, CancelParams, TrackParams } from '../client/types/clientGenTypes.mjs';
8
8
  import { AttachParams } from '../client/types/clientAttachTypes.mjs';
9
- import '../cusTypes-DbCQV8Sj.mjs';
10
- import '../prodTypes--VvnyGlN.mjs';
9
+ import '../cusTypes-B2w8Kg9H.mjs';
10
+ import '../prodTypes-Bmoibf-M.mjs';
11
11
  import 'zod';
12
12
  import 'react';
13
- import '../ReactAutumnClient-Dm14G99_.mjs';
14
- import '../attachTypes-Sv_paJZ2.mjs';
13
+ import '../ReactAutumnClient-CDp4DLo0.mjs';
14
+ import '../attachTypes-BqXH38Ft.mjs';
15
15
 
16
16
  declare const useEntityBase: ({ entityId, params, AutumnContext, }: {
17
17
  entityId: string | null;
@@ -1,17 +1,17 @@
1
- import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-0CBBecul.js';
1
+ import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-Byz3wYbQ.js';
2
2
  import * as swr from 'swr';
3
3
  import { A as AutumnError } from '../error-DHbclCVh.js';
4
- import { a as CheckResult } from '../genTypes-DsiuvyWS.js';
4
+ import { a as CheckResult } from '../genTypes-EyxQImzh.js';
5
5
  import { GetEntityParams } from '../client/types/clientEntTypes.js';
6
6
  import { AutumnContextParams } from '../AutumnContext.js';
7
7
  import { CheckParams, CancelParams, TrackParams } from '../client/types/clientGenTypes.js';
8
8
  import { AttachParams } from '../client/types/clientAttachTypes.js';
9
- import '../cusTypes-BeSXIQ6P.js';
10
- import '../prodTypes--VvnyGlN.js';
9
+ import '../cusTypes-C8UH2xVw.js';
10
+ import '../prodTypes-Bmoibf-M.js';
11
11
  import 'zod';
12
12
  import 'react';
13
- import '../ReactAutumnClient-DCMQEadM.js';
14
- import '../attachTypes-QTf_JXj7.js';
13
+ import '../ReactAutumnClient-BozBPLWS.js';
14
+ import '../attachTypes-DxfaWOQB.js';
15
15
 
16
16
  declare const useEntityBase: ({ entityId, params, AutumnContext, }: {
17
17
  entityId: string | null;
@@ -1,4 +1,4 @@
1
- import { C as CheckFeaturePreview } from '../prodTypes--VvnyGlN.mjs';
1
+ import { C as CheckFeaturePreview } from '../prodTypes-Bmoibf-M.mjs';
2
2
  import 'zod';
3
3
 
4
4
  declare const usePaywall: ({ featureId, entityId, }: {
@@ -1,4 +1,4 @@
1
- import { C as CheckFeaturePreview } from '../prodTypes--VvnyGlN.js';
1
+ import { C as CheckFeaturePreview } from '../prodTypes-Bmoibf-M.js';
2
2
  import 'zod';
3
3
 
4
4
  declare const usePaywall: ({ featureId, entityId, }: {
@@ -1,6 +1,6 @@
1
1
  import * as swr from 'swr';
2
2
  import { A as AutumnError } from '../error-DHbclCVh.mjs';
3
- import { P as Product } from '../prodTypes--VvnyGlN.mjs';
3
+ import { P as Product } from '../prodTypes-Bmoibf-M.mjs';
4
4
  import { ProductDetails } from '../client/types/clientPricingTableTypes.mjs';
5
5
  import 'zod';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import * as swr from 'swr';
2
2
  import { A as AutumnError } from '../error-DHbclCVh.js';
3
- import { P as Product } from '../prodTypes--VvnyGlN.js';
3
+ import { P as Product } from '../prodTypes-Bmoibf-M.js';
4
4
  import { ProductDetails } from '../client/types/clientPricingTableTypes.js';
5
5
  import 'zod';
6
6
 
@@ -1,15 +1,15 @@
1
1
  import * as swr from 'swr';
2
2
  import { A as AutumnError } from '../error-DHbclCVh.mjs';
3
- import { P as Product } from '../prodTypes--VvnyGlN.mjs';
3
+ import { P as Product } from '../prodTypes-Bmoibf-M.mjs';
4
4
  import { ProductDetails } from '../client/types/clientPricingTableTypes.mjs';
5
- import { A as AutumnClient } from '../ReactAutumnClient-Dm14G99_.mjs';
5
+ import { A as AutumnClient } from '../ReactAutumnClient-CDp4DLo0.mjs';
6
6
  import 'zod';
7
7
  import '../client/types/clientEntTypes.mjs';
8
8
  import '../client/types/clientGenTypes.mjs';
9
- import '../genTypes-fEH_nqSm.mjs';
10
- import '../attachTypes-Sv_paJZ2.mjs';
11
- import '../entTypes-kVUQcah5.mjs';
12
- import '../cusTypes-DbCQV8Sj.mjs';
9
+ import '../genTypes-DSvR32on.mjs';
10
+ import '../attachTypes-BqXH38Ft.mjs';
11
+ import '../entTypes-ItJ8BoHV.mjs';
12
+ import '../cusTypes-B2w8Kg9H.mjs';
13
13
 
14
14
  declare const usePricingTableBase: ({ client, params, }: {
15
15
  client: AutumnClient;
@@ -1,15 +1,15 @@
1
1
  import * as swr from 'swr';
2
2
  import { A as AutumnError } from '../error-DHbclCVh.js';
3
- import { P as Product } from '../prodTypes--VvnyGlN.js';
3
+ import { P as Product } from '../prodTypes-Bmoibf-M.js';
4
4
  import { ProductDetails } from '../client/types/clientPricingTableTypes.js';
5
- import { A as AutumnClient } from '../ReactAutumnClient-DCMQEadM.js';
5
+ import { A as AutumnClient } from '../ReactAutumnClient-BozBPLWS.js';
6
6
  import 'zod';
7
7
  import '../client/types/clientEntTypes.js';
8
8
  import '../client/types/clientGenTypes.js';
9
- import '../genTypes-DsiuvyWS.js';
10
- import '../attachTypes-QTf_JXj7.js';
11
- import '../entTypes-0CBBecul.js';
12
- import '../cusTypes-BeSXIQ6P.js';
9
+ import '../genTypes-EyxQImzh.js';
10
+ import '../attachTypes-DxfaWOQB.js';
11
+ import '../entTypes-Byz3wYbQ.js';
12
+ import '../cusTypes-C8UH2xVw.js';
13
13
 
14
14
  declare const usePricingTableBase: ({ client, params, }: {
15
15
  client: AutumnClient;
@@ -1,13 +1,13 @@
1
- import { P as Product } from '../prodTypes--VvnyGlN.mjs';
2
- import { A as AutumnClient } from '../ReactAutumnClient-Dm14G99_.mjs';
1
+ import { P as Product } from '../prodTypes-Bmoibf-M.mjs';
2
+ import { A as AutumnClient } from '../ReactAutumnClient-CDp4DLo0.mjs';
3
3
  import 'zod';
4
4
  import '../client/types/clientEntTypes.mjs';
5
5
  import '../client/types/clientGenTypes.mjs';
6
6
  import '../error-DHbclCVh.mjs';
7
- import '../genTypes-fEH_nqSm.mjs';
8
- import '../attachTypes-Sv_paJZ2.mjs';
9
- import '../entTypes-kVUQcah5.mjs';
10
- import '../cusTypes-DbCQV8Sj.mjs';
7
+ import '../genTypes-DSvR32on.mjs';
8
+ import '../attachTypes-BqXH38Ft.mjs';
9
+ import '../entTypes-ItJ8BoHV.mjs';
10
+ import '../cusTypes-B2w8Kg9H.mjs';
11
11
 
12
12
  declare const useProductsBase: ({ client }: {
13
13
  client: AutumnClient;
@@ -1,13 +1,13 @@
1
- import { P as Product } from '../prodTypes--VvnyGlN.js';
2
- import { A as AutumnClient } from '../ReactAutumnClient-DCMQEadM.js';
1
+ import { P as Product } from '../prodTypes-Bmoibf-M.js';
2
+ import { A as AutumnClient } from '../ReactAutumnClient-BozBPLWS.js';
3
3
  import 'zod';
4
4
  import '../client/types/clientEntTypes.js';
5
5
  import '../client/types/clientGenTypes.js';
6
6
  import '../error-DHbclCVh.js';
7
- import '../genTypes-DsiuvyWS.js';
8
- import '../attachTypes-QTf_JXj7.js';
9
- import '../entTypes-0CBBecul.js';
10
- import '../cusTypes-BeSXIQ6P.js';
7
+ import '../genTypes-EyxQImzh.js';
8
+ import '../attachTypes-DxfaWOQB.js';
9
+ import '../entTypes-Byz3wYbQ.js';
10
+ import '../cusTypes-C8UH2xVw.js';
11
11
 
12
12
  declare const useProductsBase: ({ client }: {
13
13
  client: AutumnClient;
@@ -411,6 +411,7 @@ interface Customer {
411
411
  products: CustomerProduct[];
412
412
  features: Record<string, CustomerFeature>;
413
413
  invoices?: CustomerInvoice[];
414
+ payment_method?: any;
414
415
  }
415
416
  declare const CustomerDataSchema: z.ZodObject<{
416
417
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -411,6 +411,7 @@ interface Customer {
411
411
  products: CustomerProduct[];
412
412
  features: Record<string, CustomerFeature>;
413
413
  invoices?: CustomerInvoice[];
414
+ payment_method?: any;
414
415
  }
415
416
  declare const CustomerDataSchema: z.ZodObject<{
416
417
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -78,11 +78,10 @@ declare const CheckFeatureResultSchema: z.ZodObject<{
78
78
  credit_amount: number;
79
79
  }>, "many">>;
80
80
  }, "strip", z.ZodTypeAny, {
81
+ customer_id: string;
81
82
  allowed: boolean;
82
83
  feature_id: string;
83
- customer_id: string;
84
84
  required_balance: number;
85
- usage_limit?: number | undefined;
86
85
  entity_id?: string | undefined;
87
86
  unlimited?: boolean | undefined;
88
87
  interval?: ProductItemInterval | undefined;
@@ -91,6 +90,7 @@ declare const CheckFeatureResultSchema: z.ZodObject<{
91
90
  included_usage?: number | undefined;
92
91
  next_reset_at?: number | null | undefined;
93
92
  overage_allowed?: boolean | undefined;
93
+ usage_limit?: number | undefined;
94
94
  rollovers?: {
95
95
  balance: number;
96
96
  expires_at: number;
@@ -107,11 +107,10 @@ declare const CheckFeatureResultSchema: z.ZodObject<{
107
107
  credit_amount: number;
108
108
  }[] | undefined;
109
109
  }, {
110
+ customer_id: string;
110
111
  allowed: boolean;
111
112
  feature_id: string;
112
- customer_id: string;
113
113
  required_balance: number;
114
- usage_limit?: number | undefined;
115
114
  entity_id?: string | undefined;
116
115
  unlimited?: boolean | undefined;
117
116
  interval?: ProductItemInterval | undefined;
@@ -120,6 +119,7 @@ declare const CheckFeatureResultSchema: z.ZodObject<{
120
119
  included_usage?: number | undefined;
121
120
  next_reset_at?: number | null | undefined;
122
121
  overage_allowed?: boolean | undefined;
122
+ usage_limit?: number | undefined;
123
123
  rollovers?: {
124
124
  balance: number;
125
125
  expires_at: number;
@@ -251,4 +251,4 @@ interface Product {
251
251
  };
252
252
  }
253
253
 
254
- export { AppEnv as A, type CheckFeaturePreview as C, type Product as P, type ProductItem as a, type CheckFeatureResult as b, type CheckProductResult as c, ProductItemInterval as d, type ProductScenario as e };
254
+ export { AppEnv as A, type CheckFeaturePreview as C, type Product as P, type CheckFeatureResult as a, type CheckProductResult as b, type ProductItem as c, ProductItemInterval as d, type ProductScenario as e };
@@ -78,11 +78,10 @@ declare const CheckFeatureResultSchema: z.ZodObject<{
78
78
  credit_amount: number;
79
79
  }>, "many">>;
80
80
  }, "strip", z.ZodTypeAny, {
81
+ customer_id: string;
81
82
  allowed: boolean;
82
83
  feature_id: string;
83
- customer_id: string;
84
84
  required_balance: number;
85
- usage_limit?: number | undefined;
86
85
  entity_id?: string | undefined;
87
86
  unlimited?: boolean | undefined;
88
87
  interval?: ProductItemInterval | undefined;
@@ -91,6 +90,7 @@ declare const CheckFeatureResultSchema: z.ZodObject<{
91
90
  included_usage?: number | undefined;
92
91
  next_reset_at?: number | null | undefined;
93
92
  overage_allowed?: boolean | undefined;
93
+ usage_limit?: number | undefined;
94
94
  rollovers?: {
95
95
  balance: number;
96
96
  expires_at: number;
@@ -107,11 +107,10 @@ declare const CheckFeatureResultSchema: z.ZodObject<{
107
107
  credit_amount: number;
108
108
  }[] | undefined;
109
109
  }, {
110
+ customer_id: string;
110
111
  allowed: boolean;
111
112
  feature_id: string;
112
- customer_id: string;
113
113
  required_balance: number;
114
- usage_limit?: number | undefined;
115
114
  entity_id?: string | undefined;
116
115
  unlimited?: boolean | undefined;
117
116
  interval?: ProductItemInterval | undefined;
@@ -120,6 +119,7 @@ declare const CheckFeatureResultSchema: z.ZodObject<{
120
119
  included_usage?: number | undefined;
121
120
  next_reset_at?: number | null | undefined;
122
121
  overage_allowed?: boolean | undefined;
122
+ usage_limit?: number | undefined;
123
123
  rollovers?: {
124
124
  balance: number;
125
125
  expires_at: number;
@@ -251,4 +251,4 @@ interface Product {
251
251
  };
252
252
  }
253
253
 
254
- export { AppEnv as A, type CheckFeaturePreview as C, type Product as P, type ProductItem as a, type CheckFeatureResult as b, type CheckProductResult as c, ProductItemInterval as d, type ProductScenario as e };
254
+ export { AppEnv as A, type CheckFeaturePreview as C, type Product as P, type CheckFeatureResult as a, type CheckProductResult as b, type ProductItem as c, ProductItemInterval as d, type ProductScenario as e };
@@ -1,7 +1,7 @@
1
- import { R as Result, a as AutumnPromise, C as CheckResult, O as OpenBillingPortalParams, S as SetupPaymentParams, e as SetupPaymentResult, Q as QueryResult, A as AttachParams, c as CancelParams, d as CancelResult, g as CheckParams, T as TrackParams, b as TrackResult } from './clientAttachTypes-BzsPgggN.mjs';
2
- import { C as CheckoutResult, A as AttachResult } from './attachTypes-DUUIHTBt.mjs';
3
- import { C as CustomerData, e as CreateCustomerParams, a as Customer, B as BillingPortalResult } from './cusTypes-CIGvysWL.mjs';
4
- import { E as Entity, D as DeleteEntityResult } from './entTypes-mOI7WnPZ.mjs';
1
+ import { R as Result, a as AutumnPromise, C as CheckResult, O as OpenBillingPortalParams, S as SetupPaymentParams, e as SetupPaymentResult, Q as QueryResult, A as AttachParams, c as CancelParams, d as CancelResult, g as CheckParams, T as TrackParams, b as TrackResult } from './clientAttachTypes-qsdoMt_B.mjs';
2
+ import { C as CheckoutResult, A as AttachResult } from './attachTypes--97TsCMB.mjs';
3
+ import { C as CustomerData, e as CreateCustomerParams, a as Customer, B as BillingPortalResult } from './cusTypes-c6-g1-Yy.mjs';
4
+ import { E as Entity, D as DeleteEntityResult } from './entTypes-Bf0302Om.mjs';
5
5
  import { C as CreateEntityParams, G as GetEntityParams, a as CreateReferralCodeResult, R as RedeemReferralCodeResult } from './clientEntTypes-BFkleT6a.mjs';
6
6
  import { A as AutumnError } from './error-DHbclCVh.mjs';
7
7
  import { P as ProductItem, c as ProductScenario, a as Product } from './prodTypes-CxvB1YY3.mjs';
@@ -82,9 +82,9 @@ declare class AutumnClient {
82
82
  reward?: string | undefined;
83
83
  checkoutSessionParams?: Record<string, any> | undefined;
84
84
  }) => AutumnPromise<{
85
+ customer_id: string;
85
86
  code: string;
86
87
  message: string;
87
- customer_id: string;
88
88
  product_ids: string[];
89
89
  checkout_url?: string | undefined;
90
90
  customer_data?: any;
@@ -137,9 +137,9 @@ declare class AutumnClient {
137
137
  eventName?: string | undefined;
138
138
  idempotencyKey?: string | undefined;
139
139
  }) => AutumnPromise<{
140
- code: string;
141
140
  id: string;
142
141
  customer_id: string;
142
+ code: string;
143
143
  feature_id?: string | undefined;
144
144
  event_name?: string | undefined;
145
145
  }>;
@@ -1,7 +1,7 @@
1
- import { R as Result, a as AutumnPromise, C as CheckResult, O as OpenBillingPortalParams, S as SetupPaymentParams, e as SetupPaymentResult, Q as QueryResult, A as AttachParams, c as CancelParams, d as CancelResult, g as CheckParams, T as TrackParams, b as TrackResult } from './clientAttachTypes-umadXlvp.js';
2
- import { C as CheckoutResult, A as AttachResult } from './attachTypes-CReq8zJ_.js';
3
- import { C as CustomerData, e as CreateCustomerParams, a as Customer, B as BillingPortalResult } from './cusTypes-CYojUJSJ.js';
4
- import { E as Entity, D as DeleteEntityResult } from './entTypes-BAD1NMvb.js';
1
+ import { R as Result, a as AutumnPromise, C as CheckResult, O as OpenBillingPortalParams, S as SetupPaymentParams, e as SetupPaymentResult, Q as QueryResult, A as AttachParams, c as CancelParams, d as CancelResult, g as CheckParams, T as TrackParams, b as TrackResult } from './clientAttachTypes-BXtfXB4v.js';
2
+ import { C as CheckoutResult, A as AttachResult } from './attachTypes-B1sM-0vf.js';
3
+ import { C as CustomerData, e as CreateCustomerParams, a as Customer, B as BillingPortalResult } from './cusTypes-DRJ574aU.js';
4
+ import { E as Entity, D as DeleteEntityResult } from './entTypes-KSBxuyW-.js';
5
5
  import { C as CreateEntityParams, G as GetEntityParams, a as CreateReferralCodeResult, R as RedeemReferralCodeResult } from './clientEntTypes-BFkleT6a.js';
6
6
  import { A as AutumnError } from './error-DHbclCVh.js';
7
7
  import { P as ProductItem, c as ProductScenario, a as Product } from './prodTypes-CxvB1YY3.js';
@@ -82,9 +82,9 @@ declare class AutumnClient {
82
82
  reward?: string | undefined;
83
83
  checkoutSessionParams?: Record<string, any> | undefined;
84
84
  }) => AutumnPromise<{
85
+ customer_id: string;
85
86
  code: string;
86
87
  message: string;
87
- customer_id: string;
88
88
  product_ids: string[];
89
89
  checkout_url?: string | undefined;
90
90
  customer_data?: any;
@@ -137,9 +137,9 @@ declare class AutumnClient {
137
137
  eventName?: string | undefined;
138
138
  idempotencyKey?: string | undefined;
139
139
  }) => AutumnPromise<{
140
- code: string;
141
140
  id: string;
142
141
  customer_id: string;
142
+ code: string;
143
143
  feature_id?: string | undefined;
144
144
  event_name?: string | undefined;
145
145
  }>;
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as CustomerData } from './cusTypes-CIGvysWL.mjs';
2
+ import { C as CustomerData } from './cusTypes-c6-g1-Yy.mjs';
3
3
  import './prodTypes-CxvB1YY3.mjs';
4
4
  import 'zod';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as CustomerData } from './cusTypes-CYojUJSJ.js';
2
+ import { C as CustomerData } from './cusTypes-DRJ574aU.js';
3
3
  import './prodTypes-CxvB1YY3.js';
4
4
  import 'zod';
5
5
 
@@ -1,8 +1,8 @@
1
1
  import { AutumnClientError, PricingTableProduct } from './types.mjs';
2
- import './cusTypes-CIGvysWL.mjs';
2
+ import './cusTypes-c6-g1-Yy.mjs';
3
3
  import './prodTypes-CxvB1YY3.mjs';
4
4
  import 'zod';
5
- import './entTypes-mOI7WnPZ.mjs';
5
+ import './entTypes-Bf0302Om.mjs';
6
6
 
7
7
  declare const toClientErrorResponse: (error: any) => {
8
8
  data: null;
@@ -1,8 +1,8 @@
1
1
  import { AutumnClientError, PricingTableProduct } from './types.js';
2
- import './cusTypes-CYojUJSJ.js';
2
+ import './cusTypes-DRJ574aU.js';
3
3
  import './prodTypes-CxvB1YY3.js';
4
4
  import 'zod';
5
- import './entTypes-BAD1NMvb.js';
5
+ import './entTypes-KSBxuyW-.js';
6
6
 
7
7
  declare const toClientErrorResponse: (error: any) => {
8
8
  data: null;
@@ -142,6 +142,7 @@ interface Customer {
142
142
  products: CustomerProduct[];
143
143
  features: Record<string, CustomerFeature>;
144
144
  invoices?: CustomerInvoice[];
145
+ payment_method?: any;
145
146
  }
146
147
  declare const CustomerDataSchema: z.ZodObject<{
147
148
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -165,17 +166,17 @@ declare const CreateCustomerParamsSchema: z.ZodObject<{
165
166
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
166
167
  expand: z.ZodOptional<z.ZodArray<z.ZodEnum<["invoices", "rewards", "trials_used", "entities", "referrals", "payment_method"]>, "many">>;
167
168
  }, "strip", z.ZodTypeAny, {
169
+ id?: string | null | undefined;
168
170
  name?: string | null | undefined;
169
171
  email?: string | null | undefined;
170
172
  fingerprint?: string | null | undefined;
171
- id?: string | null | undefined;
172
173
  metadata?: Record<string, any> | undefined;
173
174
  expand?: ("invoices" | "rewards" | "trials_used" | "entities" | "referrals" | "payment_method")[] | undefined;
174
175
  }, {
176
+ id?: string | null | undefined;
175
177
  name?: string | null | undefined;
176
178
  email?: string | null | undefined;
177
179
  fingerprint?: string | null | undefined;
178
- id?: string | null | undefined;
179
180
  metadata?: Record<string, any> | undefined;
180
181
  expand?: ("invoices" | "rewards" | "trials_used" | "entities" | "referrals" | "payment_method")[] | undefined;
181
182
  }>;
@@ -142,6 +142,7 @@ interface Customer {
142
142
  products: CustomerProduct[];
143
143
  features: Record<string, CustomerFeature>;
144
144
  invoices?: CustomerInvoice[];
145
+ payment_method?: any;
145
146
  }
146
147
  declare const CustomerDataSchema: z.ZodObject<{
147
148
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -165,17 +166,17 @@ declare const CreateCustomerParamsSchema: z.ZodObject<{
165
166
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
166
167
  expand: z.ZodOptional<z.ZodArray<z.ZodEnum<["invoices", "rewards", "trials_used", "entities", "referrals", "payment_method"]>, "many">>;
167
168
  }, "strip", z.ZodTypeAny, {
169
+ id?: string | null | undefined;
168
170
  name?: string | null | undefined;
169
171
  email?: string | null | undefined;
170
172
  fingerprint?: string | null | undefined;
171
- id?: string | null | undefined;
172
173
  metadata?: Record<string, any> | undefined;
173
174
  expand?: ("invoices" | "rewards" | "trials_used" | "entities" | "referrals" | "payment_method")[] | undefined;
174
175
  }, {
176
+ id?: string | null | undefined;
175
177
  name?: string | null | undefined;
176
178
  email?: string | null | undefined;
177
179
  fingerprint?: string | null | undefined;
178
- id?: string | null | undefined;
179
180
  metadata?: Record<string, any> | undefined;
180
181
  expand?: ("invoices" | "rewards" | "trials_used" | "entities" | "referrals" | "payment_method")[] | undefined;
181
182
  }>;
@@ -1,4 +1,4 @@
1
- import { b as CustomerProduct, c as CustomerFeature, d as CustomerInvoice } from './cusTypes-CIGvysWL.mjs';
1
+ import { b as CustomerProduct, c as CustomerFeature, d as CustomerInvoice } from './cusTypes-c6-g1-Yy.mjs';
2
2
 
3
3
  type EntityExpandOption = "invoices";
4
4
 
@@ -1,4 +1,4 @@
1
- import { b as CustomerProduct, c as CustomerFeature, d as CustomerInvoice } from './cusTypes-CYojUJSJ.js';
1
+ import { b as CustomerProduct, c as CustomerFeature, d as CustomerInvoice } from './cusTypes-DRJ574aU.js';
2
2
 
3
3
  type EntityExpandOption = "invoices";
4
4
 
@@ -1,7 +1,7 @@
1
- import { A as AttachParams, R as Result, C as CheckResult, T as TrackParams, a as AutumnPromise, b as TrackResult, c as CancelParams, d as CancelResult, O as OpenBillingPortalParams, S as SetupPaymentParams, e as SetupPaymentResult, f as CheckoutParams } from '../clientAttachTypes-BzsPgggN.mjs';
1
+ import { A as AttachParams, R as Result, C as CheckResult, T as TrackParams, a as AutumnPromise, b as TrackResult, c as CancelParams, d as CancelResult, O as OpenBillingPortalParams, S as SetupPaymentParams, e as SetupPaymentResult, f as CheckoutParams } from '../clientAttachTypes-qsdoMt_B.mjs';
2
2
  import { A as AutumnError } from '../error-DHbclCVh.mjs';
3
- import { C as CheckoutResult } from '../attachTypes-DUUIHTBt.mjs';
4
- import { B as BillingPortalResult } from '../cusTypes-CIGvysWL.mjs';
3
+ import { C as CheckoutResult } from '../attachTypes--97TsCMB.mjs';
4
+ import { B as BillingPortalResult } from '../cusTypes-c6-g1-Yy.mjs';
5
5
  import '../prodTypes-CxvB1YY3.mjs';
6
6
  import 'zod';
7
7
 
@@ -1,7 +1,7 @@
1
- import { A as AttachParams, R as Result, C as CheckResult, T as TrackParams, a as AutumnPromise, b as TrackResult, c as CancelParams, d as CancelResult, O as OpenBillingPortalParams, S as SetupPaymentParams, e as SetupPaymentResult, f as CheckoutParams } from '../clientAttachTypes-umadXlvp.js';
1
+ import { A as AttachParams, R as Result, C as CheckResult, T as TrackParams, a as AutumnPromise, b as TrackResult, c as CancelParams, d as CancelResult, O as OpenBillingPortalParams, S as SetupPaymentParams, e as SetupPaymentResult, f as CheckoutParams } from '../clientAttachTypes-BXtfXB4v.js';
2
2
  import { A as AutumnError } from '../error-DHbclCVh.js';
3
- import { C as CheckoutResult } from '../attachTypes-CReq8zJ_.js';
4
- import { B as BillingPortalResult } from '../cusTypes-CYojUJSJ.js';
3
+ import { C as CheckoutResult } from '../attachTypes-B1sM-0vf.js';
4
+ import { B as BillingPortalResult } from '../cusTypes-DRJ574aU.js';
5
5
  import '../prodTypes-CxvB1YY3.js';
6
6
  import 'zod';
7
7
 
@@ -1,8 +1,8 @@
1
1
  import { A as AutumnError } from '../error-DHbclCVh.mjs';
2
- import { A as AttachParams, a as AutumnPromise, C as CheckResult, T as TrackParams, b as TrackResult, c as CancelParams, d as CancelResult, S as SetupPaymentParams, e as SetupPaymentResult, O as OpenBillingPortalParams, f as CheckoutParams, g as CheckParams, h as Success } from '../clientAttachTypes-BzsPgggN.mjs';
3
- import { A as AttachResult, C as CheckoutResult } from '../attachTypes-DUUIHTBt.mjs';
4
- import { f as CustomerExpandOption, a as Customer, B as BillingPortalResult } from '../cusTypes-CIGvysWL.mjs';
5
- import { E as Entity } from '../entTypes-mOI7WnPZ.mjs';
2
+ import { A as AttachParams, a as AutumnPromise, C as CheckResult, T as TrackParams, b as TrackResult, c as CancelParams, d as CancelResult, S as SetupPaymentParams, e as SetupPaymentResult, O as OpenBillingPortalParams, f as CheckoutParams, g as CheckParams, h as Success } from '../clientAttachTypes-qsdoMt_B.mjs';
3
+ import { A as AttachResult, C as CheckoutResult } from '../attachTypes--97TsCMB.mjs';
4
+ import { f as CustomerExpandOption, a as Customer, B as BillingPortalResult } from '../cusTypes-c6-g1-Yy.mjs';
5
+ import { E as Entity } from '../entTypes-Bf0302Om.mjs';
6
6
  import { C as CreateEntityParams, a as CreateReferralCodeResult, R as RedeemReferralCodeResult } from '../clientEntTypes-BFkleT6a.mjs';
7
7
  import { z } from 'zod';
8
8
  import { SWRConfiguration } from 'swr';
@@ -1,8 +1,8 @@
1
1
  import { A as AutumnError } from '../error-DHbclCVh.js';
2
- import { A as AttachParams, a as AutumnPromise, C as CheckResult, T as TrackParams, b as TrackResult, c as CancelParams, d as CancelResult, S as SetupPaymentParams, e as SetupPaymentResult, O as OpenBillingPortalParams, f as CheckoutParams, g as CheckParams, h as Success } from '../clientAttachTypes-umadXlvp.js';
3
- import { A as AttachResult, C as CheckoutResult } from '../attachTypes-CReq8zJ_.js';
4
- import { f as CustomerExpandOption, a as Customer, B as BillingPortalResult } from '../cusTypes-CYojUJSJ.js';
5
- import { E as Entity } from '../entTypes-BAD1NMvb.js';
2
+ import { A as AttachParams, a as AutumnPromise, C as CheckResult, T as TrackParams, b as TrackResult, c as CancelParams, d as CancelResult, S as SetupPaymentParams, e as SetupPaymentResult, O as OpenBillingPortalParams, f as CheckoutParams, g as CheckParams, h as Success } from '../clientAttachTypes-BXtfXB4v.js';
3
+ import { A as AttachResult, C as CheckoutResult } from '../attachTypes-B1sM-0vf.js';
4
+ import { f as CustomerExpandOption, a as Customer, B as BillingPortalResult } from '../cusTypes-DRJ574aU.js';
5
+ import { E as Entity } from '../entTypes-KSBxuyW-.js';
6
6
  import { C as CreateEntityParams, a as CreateReferralCodeResult, R as RedeemReferralCodeResult } from '../clientEntTypes-BFkleT6a.js';
7
7
  import { z } from 'zod';
8
8
  import { SWRConfiguration } from 'swr';
@@ -1,10 +1,10 @@
1
- import { g as CheckParams, C as CheckResult, A as AttachParams, R as Result, c as CancelParams, a as AutumnPromise, T as TrackParams } from '../clientAttachTypes-BzsPgggN.mjs';
1
+ import { g as CheckParams, C as CheckResult, A as AttachParams, R as Result, c as CancelParams, a as AutumnPromise, T as TrackParams } from '../clientAttachTypes-qsdoMt_B.mjs';
2
2
  import { A as AutumnError } from '../error-DHbclCVh.mjs';
3
- import { G as GetEntityParams, E as Entity } from '../entTypes-mOI7WnPZ.mjs';
3
+ import { G as GetEntityParams, E as Entity } from '../entTypes-Bf0302Om.mjs';
4
4
  import * as swr from 'swr';
5
5
  import '../prodTypes-CxvB1YY3.mjs';
6
6
  import 'zod';
7
- import '../cusTypes-CIGvysWL.mjs';
7
+ import '../cusTypes-c6-g1-Yy.mjs';
8
8
 
9
9
  declare const useEntity: (entityId: string | null, params?: GetEntityParams) => {
10
10
  entity: Entity | null;
@@ -1,10 +1,10 @@
1
- import { g as CheckParams, C as CheckResult, A as AttachParams, R as Result, c as CancelParams, a as AutumnPromise, T as TrackParams } from '../clientAttachTypes-umadXlvp.js';
1
+ import { g as CheckParams, C as CheckResult, A as AttachParams, R as Result, c as CancelParams, a as AutumnPromise, T as TrackParams } from '../clientAttachTypes-BXtfXB4v.js';
2
2
  import { A as AutumnError } from '../error-DHbclCVh.js';
3
- import { G as GetEntityParams, E as Entity } from '../entTypes-BAD1NMvb.js';
3
+ import { G as GetEntityParams, E as Entity } from '../entTypes-KSBxuyW-.js';
4
4
  import * as swr from 'swr';
5
5
  import '../prodTypes-CxvB1YY3.js';
6
6
  import 'zod';
7
- import '../cusTypes-CYojUJSJ.js';
7
+ import '../cusTypes-DRJ574aU.js';
8
8
 
9
9
  declare const useEntity: (entityId: string | null, params?: GetEntityParams) => {
10
10
  entity: Entity | null;
@@ -1,5 +1,5 @@
1
- import { C as CustomerData, a as Customer } from './cusTypes-CIGvysWL.mjs';
2
- import { E as Entity } from './entTypes-mOI7WnPZ.mjs';
1
+ import { C as CustomerData, a as Customer } from './cusTypes-c6-g1-Yy.mjs';
2
+ import { E as Entity } from './entTypes-Bf0302Om.mjs';
3
3
  import './prodTypes-CxvB1YY3.mjs';
4
4
  import 'zod';
5
5
 
@@ -1,5 +1,5 @@
1
- import { C as CustomerData, a as Customer } from './cusTypes-CYojUJSJ.js';
2
- import { E as Entity } from './entTypes-BAD1NMvb.js';
1
+ import { C as CustomerData, a as Customer } from './cusTypes-DRJ574aU.js';
2
+ import { E as Entity } from './entTypes-KSBxuyW-.js';
3
3
  import './prodTypes-CxvB1YY3.js';
4
4
  import 'zod';
5
5
 
@@ -1,4 +1,4 @@
1
- import { C as CustomerData } from '../cusTypes-CwopPHB0.mjs';
1
+ import { C as CustomerData } from '../cusTypes-Cu6SOTmn.mjs';
2
2
  import 'zod';
3
3
 
4
4
  declare const withAuth: <T extends {
@@ -1,4 +1,4 @@
1
- import { C as CustomerData } from '../cusTypes-CwopPHB0.js';
1
+ import { C as CustomerData } from '../cusTypes-Cu6SOTmn.js';
2
2
  import 'zod';
3
3
 
4
4
  declare const withAuth: <T extends {