autumn-js 0.1.5 → 0.1.6
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.
- package/dist/libraries/backend/better-auth.d.mts +36 -76
- package/dist/libraries/backend/better-auth.d.ts +36 -76
- package/dist/libraries/backend/better-auth.js +15 -13
- package/dist/libraries/backend/better-auth.mjs +16 -14
- package/dist/libraries/backend/express.d.mts +1 -1
- package/dist/libraries/backend/express.d.ts +1 -1
- package/dist/libraries/backend/index.d.mts +1 -1
- package/dist/libraries/backend/index.d.ts +1 -1
- package/dist/libraries/backend/utils/withAuth.d.mts +1 -1
- package/dist/libraries/backend/utils/withAuth.d.ts +1 -1
- package/dist/libraries/react/AutumnContext.d.mts +6 -6
- package/dist/libraries/react/AutumnContext.d.ts +6 -6
- package/dist/libraries/react/BaseAutumnProvider.d.mts +6 -6
- package/dist/libraries/react/BaseAutumnProvider.d.ts +6 -6
- package/dist/libraries/react/{ReactAutumnClient-DM5ZRTfX.d.ts → ReactAutumnClient-CK8k8OA5.d.ts} +17 -17
- package/dist/libraries/react/{ReactAutumnClient-BHjd9Tw5.d.mts → ReactAutumnClient-CjaZ_g4X.d.mts} +17 -17
- package/dist/libraries/react/ReactAutumnProvider.d.mts +2 -2
- package/dist/libraries/react/ReactAutumnProvider.d.ts +2 -2
- package/dist/libraries/react/{attachTypes-Bz1_JTvk.d.ts → attachTypes-BetWkt95.d.ts} +5 -5
- package/dist/libraries/react/{attachTypes-C9FJTCo6.d.mts → attachTypes-DbI59BLC.d.mts} +5 -5
- package/dist/libraries/react/{chunk-EXK6MS5M.mjs → chunk-7PFOXY3Y.mjs} +449 -451
- package/dist/libraries/react/{chunk-5K2M3CQZ.mjs → chunk-FEISQQNM.mjs} +1 -1
- package/dist/libraries/react/{chunk-BXMZYHE7.mjs → chunk-FJWZPMWU.mjs} +3 -3
- package/dist/libraries/react/{chunk-WT5K3J2K.mjs → chunk-I2A7PK2L.mjs} +17 -17
- package/dist/libraries/react/{chunk-YCDNQZT5.mjs → chunk-JGDTNJTR.mjs} +2 -2
- package/dist/libraries/react/{chunk-M7SUFZ42.mjs → chunk-KUS3X33V.mjs} +1 -1
- package/dist/libraries/react/{chunk-2TQBFCWM.mjs → chunk-OTZ65PCT.mjs} +4 -4
- package/dist/libraries/react/{chunk-NHDZWWMZ.mjs → chunk-YWQTQ72B.mjs} +2 -2
- package/dist/libraries/react/client/ReactAutumnClient.d.mts +6 -6
- package/dist/libraries/react/client/ReactAutumnClient.d.ts +6 -6
- package/dist/libraries/react/client/clientCompMethods.d.mts +6 -6
- package/dist/libraries/react/client/clientCompMethods.d.ts +6 -6
- package/dist/libraries/react/client/clientCusMethods.d.mts +6 -6
- package/dist/libraries/react/client/clientCusMethods.d.ts +6 -6
- package/dist/libraries/react/client/clientEntityMethods.d.mts +6 -6
- package/dist/libraries/react/client/clientEntityMethods.d.ts +6 -6
- package/dist/libraries/react/client/clientGenMethods.d.mts +6 -6
- package/dist/libraries/react/client/clientGenMethods.d.ts +6 -6
- package/dist/libraries/react/client/clientProdMethods.d.mts +6 -6
- package/dist/libraries/react/client/clientProdMethods.d.ts +6 -6
- package/dist/libraries/react/client/clientReferralMethods.d.mts +6 -6
- package/dist/libraries/react/client/clientReferralMethods.d.ts +6 -6
- package/dist/libraries/react/client/types/clientAttachTypes.d.mts +20 -20
- package/dist/libraries/react/client/types/clientAttachTypes.d.ts +20 -20
- package/dist/libraries/react/client/types/clientGenTypes.d.mts +4 -4
- package/dist/libraries/react/client/types/clientGenTypes.d.ts +4 -4
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.d.mts +2 -2
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.d.ts +2 -2
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.mjs +15 -15
- package/dist/libraries/react/components/checkout-dialog/lib/checkout-content.d.mts +2 -2
- package/dist/libraries/react/components/checkout-dialog/lib/checkout-content.d.ts +2 -2
- package/dist/libraries/react/components/paywall-dialog/lib/paywall-content.d.mts +1 -1
- package/dist/libraries/react/components/paywall-dialog/lib/paywall-content.d.ts +1 -1
- package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.mjs +15 -15
- package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.d.mts +1 -1
- package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.d.ts +1 -1
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.mts +1 -1
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.ts +1 -1
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +15 -15
- package/dist/libraries/react/components/ui/accordion.mjs +3 -3
- package/dist/libraries/react/components/ui/button.d.mts +1 -1
- package/dist/libraries/react/components/ui/button.d.ts +1 -1
- package/dist/libraries/react/components/ui/dialog.mjs +4 -4
- package/dist/libraries/react/components/ui/popover.mjs +5 -5
- package/dist/libraries/react/components/ui/switch.mjs +3 -3
- package/dist/libraries/react/{cusTypes-yJ0fSxbq.d.ts → cusTypes-D5d_cu-K.d.ts} +5 -5
- package/dist/libraries/react/{cusTypes-DT-gAUL9.d.mts → cusTypes-DINgmPwV.d.mts} +5 -5
- package/dist/libraries/react/{entTypes-BPdjCunj.d.ts → entTypes-DNW_l3s0.d.ts} +1 -1
- package/dist/libraries/react/{entTypes-D79XPrxo.d.mts → entTypes-biskqmpT.d.mts} +1 -1
- package/dist/libraries/react/{genTypes-BV-Jc6Q1.d.mts → genTypes-DSvR32on.d.mts} +5 -5
- package/dist/libraries/react/{genTypes-DJUAkD36.d.ts → genTypes-EyxQImzh.d.ts} +5 -5
- package/dist/libraries/react/hooks/helpers/handleCheck.d.mts +6 -6
- package/dist/libraries/react/hooks/helpers/handleCheck.d.ts +6 -6
- package/dist/libraries/react/hooks/helpers/useAutumnBase.d.mts +7 -7
- package/dist/libraries/react/hooks/helpers/useAutumnBase.d.ts +7 -7
- package/dist/libraries/react/hooks/useAnalytics.d.mts +2 -2
- package/dist/libraries/react/hooks/useAnalytics.d.ts +2 -2
- package/dist/libraries/react/hooks/useCustomer.d.mts +6 -6
- package/dist/libraries/react/hooks/useCustomer.d.ts +6 -6
- package/dist/libraries/react/hooks/useCustomerBase.d.mts +6 -6
- package/dist/libraries/react/hooks/useCustomerBase.d.ts +6 -6
- package/dist/libraries/react/hooks/useEntity.d.mts +6 -6
- package/dist/libraries/react/hooks/useEntity.d.ts +6 -6
- package/dist/libraries/react/hooks/useEntityBase.d.mts +8 -8
- package/dist/libraries/react/hooks/useEntityBase.d.ts +8 -8
- package/dist/libraries/react/hooks/usePaywall.d.mts +1 -1
- package/dist/libraries/react/hooks/usePaywall.d.ts +1 -1
- package/dist/libraries/react/hooks/usePricingTable.d.mts +1 -1
- package/dist/libraries/react/hooks/usePricingTable.d.ts +1 -1
- package/dist/libraries/react/hooks/usePricingTableBase.d.mts +6 -6
- package/dist/libraries/react/hooks/usePricingTableBase.d.ts +6 -6
- package/dist/libraries/react/hooks/useProductsBase.d.mts +6 -6
- package/dist/libraries/react/hooks/useProductsBase.d.ts +6 -6
- package/dist/next/client/NextAutumnClient.d.mts +6 -6
- package/dist/next/client/NextAutumnClient.d.ts +6 -6
- package/dist/next/client/NextAutumnProvider.d.mts +1 -1
- package/dist/next/client/NextAutumnProvider.d.ts +1 -1
- package/dist/next/client/clientUtils.d.mts +2 -2
- package/dist/next/client/clientUtils.d.ts +2 -2
- package/dist/next/client/{entTypes-mOI7WnPZ.d.mts → entTypes-CHHBdhBK.d.mts} +1 -1
- package/dist/next/client/{entTypes-BAD1NMvb.d.ts → entTypes-vjIG3B1G.d.ts} +1 -1
- package/dist/next/client/hooks/useAutumn.d.mts +3 -3
- package/dist/next/client/hooks/useAutumn.d.ts +3 -3
- package/dist/next/client/hooks/useCustomer.d.mts +4 -4
- package/dist/next/client/hooks/useCustomer.d.ts +4 -4
- package/dist/next/client/hooks/useEntity.d.mts +3 -3
- package/dist/next/client/hooks/useEntity.d.ts +3 -3
- package/dist/next/client/types.d.mts +2 -2
- package/dist/next/client/types.d.ts +2 -2
- package/dist/next/server/auth/withNextAuth.d.mts +1 -1
- package/dist/next/server/auth/withNextAuth.d.ts +1 -1
- package/dist/next/server/componentActions.d.mts +1 -1
- package/dist/next/server/componentActions.d.ts +1 -1
- package/dist/next/server/cusActions.d.mts +15 -15
- package/dist/next/server/cusActions.d.ts +15 -15
- package/dist/next/server/genActions.d.mts +1 -1
- package/dist/next/server/genActions.d.ts +1 -1
- package/package.json +1 -1
- package/dist/libraries/backend/{referralTypes-Djyi4iGt.d.ts → referralTypes-B0_fYSI3.d.ts} +41 -41
- package/dist/libraries/backend/{referralTypes-BfrNJ62q.d.mts → referralTypes-CYvuZZeF.d.mts} +41 -41
- package/dist/libraries/react/{chunk-KWNH6C27.mjs → chunk-7TYAAD2T.mjs} +11 -11
- package/dist/libraries/react/{prodTypes-2tlu9Pyz.d.mts → prodTypes-Bmoibf-M.d.mts} +4 -4
- package/dist/libraries/react/{prodTypes-2tlu9Pyz.d.ts → prodTypes-Bmoibf-M.d.ts} +4 -4
- package/dist/next/client/{attachTypes-9VCTaz0m.d.mts → attachTypes-DZFtFEmv.d.mts} +2 -2
- package/dist/next/client/{attachTypes-DLxEa_Wj.d.ts → attachTypes-DxJ0LCjT.d.ts} +2 -2
- package/dist/next/client/{clientAttachTypes-umadXlvp.d.ts → clientAttachTypes-BXtfXB4v.d.ts} +2 -2
- package/dist/next/client/{clientAttachTypes-BzsPgggN.d.mts → clientAttachTypes-qsdoMt_B.d.mts} +2 -2
- package/dist/next/client/{cusTypes-CYojUJSJ.d.ts → cusTypes-BHYpk8bK.d.ts} +2 -2
- package/dist/next/client/{cusTypes-CIGvysWL.d.mts → cusTypes-Q54uLNO5.d.mts} +2 -2
- package/dist/next/server/{cusTypes-DgoOZMIt.d.mts → cusTypes-D38IpLCT.d.mts} +4 -4
- package/dist/next/server/{cusTypes-DgoOZMIt.d.ts → cusTypes-D38IpLCT.d.ts} +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CheckFeatureResult, b as CheckProductResult } from './prodTypes-
|
|
1
|
+
import { a as CheckFeatureResult, b as CheckProductResult } from './prodTypes-Bmoibf-M.mjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
declare const CancelResultSchema: z.ZodObject<{
|
|
@@ -7,12 +7,12 @@ declare const CancelResultSchema: z.ZodObject<{
|
|
|
7
7
|
product_id: z.ZodString;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
customer_id: string;
|
|
10
|
-
product_id: string;
|
|
11
10
|
success: boolean;
|
|
11
|
+
product_id: string;
|
|
12
12
|
}, {
|
|
13
13
|
customer_id: string;
|
|
14
|
-
product_id: string;
|
|
15
14
|
success: boolean;
|
|
15
|
+
product_id: string;
|
|
16
16
|
}>;
|
|
17
17
|
type CancelResult = z.infer<typeof CancelResultSchema>;
|
|
18
18
|
declare const TrackResultSchema: z.ZodObject<{
|
|
@@ -22,15 +22,15 @@ declare const TrackResultSchema: z.ZodObject<{
|
|
|
22
22
|
feature_id: z.ZodOptional<z.ZodString>;
|
|
23
23
|
event_name: z.ZodOptional<z.ZodString>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
id: string;
|
|
25
26
|
customer_id: string;
|
|
26
27
|
code: string;
|
|
27
|
-
id: string;
|
|
28
28
|
feature_id?: string | undefined;
|
|
29
29
|
event_name?: string | undefined;
|
|
30
30
|
}, {
|
|
31
|
+
id: string;
|
|
31
32
|
customer_id: string;
|
|
32
33
|
code: string;
|
|
33
|
-
id: string;
|
|
34
34
|
feature_id?: string | undefined;
|
|
35
35
|
event_name?: string | undefined;
|
|
36
36
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CheckFeatureResult, b as CheckProductResult } from './prodTypes-
|
|
1
|
+
import { a as CheckFeatureResult, b as CheckProductResult } from './prodTypes-Bmoibf-M.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
declare const CancelResultSchema: z.ZodObject<{
|
|
@@ -7,12 +7,12 @@ declare const CancelResultSchema: z.ZodObject<{
|
|
|
7
7
|
product_id: z.ZodString;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
customer_id: string;
|
|
10
|
-
product_id: string;
|
|
11
10
|
success: boolean;
|
|
11
|
+
product_id: string;
|
|
12
12
|
}, {
|
|
13
13
|
customer_id: string;
|
|
14
|
-
product_id: string;
|
|
15
14
|
success: boolean;
|
|
15
|
+
product_id: string;
|
|
16
16
|
}>;
|
|
17
17
|
type CancelResult = z.infer<typeof CancelResultSchema>;
|
|
18
18
|
declare const TrackResultSchema: z.ZodObject<{
|
|
@@ -22,15 +22,15 @@ declare const TrackResultSchema: z.ZodObject<{
|
|
|
22
22
|
feature_id: z.ZodOptional<z.ZodString>;
|
|
23
23
|
event_name: z.ZodOptional<z.ZodString>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
id: string;
|
|
25
26
|
customer_id: string;
|
|
26
27
|
code: string;
|
|
27
|
-
id: string;
|
|
28
28
|
feature_id?: string | undefined;
|
|
29
29
|
event_name?: string | undefined;
|
|
30
30
|
}, {
|
|
31
|
+
id: string;
|
|
31
32
|
customer_id: string;
|
|
32
33
|
code: string;
|
|
33
|
-
id: string;
|
|
34
34
|
feature_id?: string | undefined;
|
|
35
35
|
event_name?: string | undefined;
|
|
36
36
|
}>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { AutumnContextParams } from '../../AutumnContext.mjs';
|
|
2
2
|
import { CheckParams } from '../../client/types/clientGenTypes.mjs';
|
|
3
|
-
import { a as CheckResult } from '../../genTypes-
|
|
4
|
-
import { b as Customer } from '../../cusTypes-
|
|
5
|
-
import { E as Entity } from '../../entTypes-
|
|
3
|
+
import { a as CheckResult } from '../../genTypes-DSvR32on.mjs';
|
|
4
|
+
import { b as Customer } from '../../cusTypes-DINgmPwV.mjs';
|
|
5
|
+
import { E as Entity } from '../../entTypes-biskqmpT.mjs';
|
|
6
6
|
import 'react';
|
|
7
|
-
import '../../ReactAutumnClient-
|
|
7
|
+
import '../../ReactAutumnClient-CjaZ_g4X.mjs';
|
|
8
8
|
import '../../client/types/clientEntTypes.mjs';
|
|
9
9
|
import '../../error-DHbclCVh.mjs';
|
|
10
|
-
import '../../attachTypes-
|
|
11
|
-
import '../../prodTypes-
|
|
10
|
+
import '../../attachTypes-DbI59BLC.mjs';
|
|
11
|
+
import '../../prodTypes-Bmoibf-M.mjs';
|
|
12
12
|
import 'zod';
|
|
13
13
|
|
|
14
14
|
interface AllowedParams {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { AutumnContextParams } from '../../AutumnContext.js';
|
|
2
2
|
import { CheckParams } from '../../client/types/clientGenTypes.js';
|
|
3
|
-
import { a as CheckResult } from '../../genTypes-
|
|
4
|
-
import { b as Customer } from '../../cusTypes-
|
|
5
|
-
import { E as Entity } from '../../entTypes-
|
|
3
|
+
import { a as CheckResult } from '../../genTypes-EyxQImzh.js';
|
|
4
|
+
import { b as Customer } from '../../cusTypes-D5d_cu-K.js';
|
|
5
|
+
import { E as Entity } from '../../entTypes-DNW_l3s0.js';
|
|
6
6
|
import 'react';
|
|
7
|
-
import '../../ReactAutumnClient-
|
|
7
|
+
import '../../ReactAutumnClient-CK8k8OA5.js';
|
|
8
8
|
import '../../client/types/clientEntTypes.js';
|
|
9
9
|
import '../../error-DHbclCVh.js';
|
|
10
|
-
import '../../attachTypes-
|
|
11
|
-
import '../../prodTypes-
|
|
10
|
+
import '../../attachTypes-BetWkt95.js';
|
|
11
|
+
import '../../prodTypes-Bmoibf-M.js';
|
|
12
12
|
import 'zod';
|
|
13
13
|
|
|
14
14
|
interface AllowedParams {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { R as Result, A as AutumnPromise } from '../../entTypes-
|
|
1
|
+
import { R as Result, A as AutumnPromise } from '../../entTypes-biskqmpT.mjs';
|
|
2
2
|
import { A as AutumnError } from '../../error-DHbclCVh.mjs';
|
|
3
|
-
import { a as CheckResult, T as TrackResult, C as CancelResult, S as SetupPaymentResult } from '../../genTypes-
|
|
4
|
-
import { C as CheckoutResult } from '../../attachTypes-
|
|
5
|
-
import { B as BillingPortalResult } from '../../cusTypes-
|
|
3
|
+
import { a as CheckResult, T as TrackResult, C as CancelResult, S as SetupPaymentResult } from '../../genTypes-DSvR32on.mjs';
|
|
4
|
+
import { C as CheckoutResult } from '../../attachTypes-DbI59BLC.mjs';
|
|
5
|
+
import { B as BillingPortalResult } from '../../cusTypes-DINgmPwV.mjs';
|
|
6
6
|
import { AutumnContextParams } from '../../AutumnContext.mjs';
|
|
7
7
|
import { TrackParams, CancelParams, OpenBillingPortalParams, SetupPaymentParams } from '../../client/types/clientGenTypes.mjs';
|
|
8
8
|
import { AttachParams, CheckoutParams } from '../../client/types/clientAttachTypes.mjs';
|
|
9
|
-
import { A as AutumnClient } from '../../ReactAutumnClient-
|
|
10
|
-
import '../../prodTypes-
|
|
9
|
+
import { A as AutumnClient } from '../../ReactAutumnClient-CjaZ_g4X.mjs';
|
|
10
|
+
import '../../prodTypes-Bmoibf-M.mjs';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'react';
|
|
13
13
|
import '../../client/types/clientEntTypes.mjs';
|
|
@@ -18,9 +18,9 @@ declare const useAutumnBase: ({ context, client, refetchCustomer, }: {
|
|
|
18
18
|
refetchCustomer?: () => Promise<any>;
|
|
19
19
|
}) => {
|
|
20
20
|
attach: (params: AttachParams) => Promise<Result<{
|
|
21
|
+
customer_id: string;
|
|
21
22
|
code: string;
|
|
22
23
|
message: string;
|
|
23
|
-
customer_id: string;
|
|
24
24
|
product_ids: string[];
|
|
25
25
|
customer_data?: any;
|
|
26
26
|
checkout_url?: string | undefined;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { R as Result, A as AutumnPromise } from '../../entTypes-
|
|
1
|
+
import { R as Result, A as AutumnPromise } from '../../entTypes-DNW_l3s0.js';
|
|
2
2
|
import { A as AutumnError } from '../../error-DHbclCVh.js';
|
|
3
|
-
import { a as CheckResult, T as TrackResult, C as CancelResult, S as SetupPaymentResult } from '../../genTypes-
|
|
4
|
-
import { C as CheckoutResult } from '../../attachTypes-
|
|
5
|
-
import { B as BillingPortalResult } from '../../cusTypes-
|
|
3
|
+
import { a as CheckResult, T as TrackResult, C as CancelResult, S as SetupPaymentResult } from '../../genTypes-EyxQImzh.js';
|
|
4
|
+
import { C as CheckoutResult } from '../../attachTypes-BetWkt95.js';
|
|
5
|
+
import { B as BillingPortalResult } from '../../cusTypes-D5d_cu-K.js';
|
|
6
6
|
import { AutumnContextParams } from '../../AutumnContext.js';
|
|
7
7
|
import { TrackParams, CancelParams, OpenBillingPortalParams, SetupPaymentParams } from '../../client/types/clientGenTypes.js';
|
|
8
8
|
import { AttachParams, CheckoutParams } from '../../client/types/clientAttachTypes.js';
|
|
9
|
-
import { A as AutumnClient } from '../../ReactAutumnClient-
|
|
10
|
-
import '../../prodTypes-
|
|
9
|
+
import { A as AutumnClient } from '../../ReactAutumnClient-CK8k8OA5.js';
|
|
10
|
+
import '../../prodTypes-Bmoibf-M.js';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'react';
|
|
13
13
|
import '../../client/types/clientEntTypes.js';
|
|
@@ -18,9 +18,9 @@ declare const useAutumnBase: ({ context, client, refetchCustomer, }: {
|
|
|
18
18
|
refetchCustomer?: () => Promise<any>;
|
|
19
19
|
}) => {
|
|
20
20
|
attach: (params: AttachParams) => Promise<Result<{
|
|
21
|
+
customer_id: string;
|
|
21
22
|
code: string;
|
|
22
23
|
message: string;
|
|
23
|
-
customer_id: string;
|
|
24
24
|
product_ids: string[];
|
|
25
25
|
customer_data?: any;
|
|
26
26
|
checkout_url?: string | undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as swr from 'swr';
|
|
2
2
|
import { QueryParams } from '../client/types/clientGenTypes.mjs';
|
|
3
3
|
import { A as AutumnError } from '../error-DHbclCVh.mjs';
|
|
4
|
-
import { Q as QueryResult } from '../genTypes-
|
|
4
|
+
import { Q as QueryResult } from '../genTypes-DSvR32on.mjs';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import '../prodTypes-
|
|
6
|
+
import '../prodTypes-Bmoibf-M.mjs';
|
|
7
7
|
|
|
8
8
|
declare const useAnalytics: (params: QueryParams) => {
|
|
9
9
|
data: ({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as swr from 'swr';
|
|
2
2
|
import { QueryParams } from '../client/types/clientGenTypes.js';
|
|
3
3
|
import { A as AutumnError } from '../error-DHbclCVh.js';
|
|
4
|
-
import { Q as QueryResult } from '../genTypes-
|
|
4
|
+
import { Q as QueryResult } from '../genTypes-EyxQImzh.js';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import '../prodTypes-
|
|
6
|
+
import '../prodTypes-Bmoibf-M.js';
|
|
7
7
|
|
|
8
8
|
declare const useAnalytics: (params: QueryParams) => {
|
|
9
9
|
data: ({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { UseCustomerParams, UseCustomerResult } from './useCustomerBase.mjs';
|
|
2
2
|
import '../error-DHbclCVh.mjs';
|
|
3
|
-
import '../genTypes-
|
|
4
|
-
import '../prodTypes-
|
|
3
|
+
import '../genTypes-DSvR32on.mjs';
|
|
4
|
+
import '../prodTypes-Bmoibf-M.mjs';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import '../attachTypes-
|
|
7
|
-
import '../entTypes-
|
|
8
|
-
import '../cusTypes-
|
|
9
|
-
import '../ReactAutumnClient-
|
|
6
|
+
import '../attachTypes-DbI59BLC.mjs';
|
|
7
|
+
import '../entTypes-biskqmpT.mjs';
|
|
8
|
+
import '../cusTypes-DINgmPwV.mjs';
|
|
9
|
+
import '../ReactAutumnClient-CjaZ_g4X.mjs';
|
|
10
10
|
import '../client/types/clientEntTypes.mjs';
|
|
11
11
|
import '../client/types/clientGenTypes.mjs';
|
|
12
12
|
import '../client/types/clientReferralTypes.mjs';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { UseCustomerParams, UseCustomerResult } from './useCustomerBase.js';
|
|
2
2
|
import '../error-DHbclCVh.js';
|
|
3
|
-
import '../genTypes-
|
|
4
|
-
import '../prodTypes-
|
|
3
|
+
import '../genTypes-EyxQImzh.js';
|
|
4
|
+
import '../prodTypes-Bmoibf-M.js';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import '../attachTypes-
|
|
7
|
-
import '../entTypes-
|
|
8
|
-
import '../cusTypes-
|
|
9
|
-
import '../ReactAutumnClient-
|
|
6
|
+
import '../attachTypes-BetWkt95.js';
|
|
7
|
+
import '../entTypes-DNW_l3s0.js';
|
|
8
|
+
import '../cusTypes-D5d_cu-K.js';
|
|
9
|
+
import '../ReactAutumnClient-CK8k8OA5.js';
|
|
10
10
|
import '../client/types/clientEntTypes.js';
|
|
11
11
|
import '../client/types/clientGenTypes.js';
|
|
12
12
|
import '../client/types/clientReferralTypes.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { A as AutumnError } from '../error-DHbclCVh.mjs';
|
|
2
|
-
import { a as CheckResult, T as TrackResult, C as CancelResult, S as SetupPaymentResult } from '../genTypes-
|
|
3
|
-
import { A as AttachResult, C as CheckoutResult } from '../attachTypes-
|
|
4
|
-
import { A as AutumnPromise, E as Entity, S as Success } from '../entTypes-
|
|
5
|
-
import { c as CustomerExpandOption, b as Customer, B as BillingPortalResult } from '../cusTypes-
|
|
6
|
-
import { C as CreateReferralCodeResult, R as RedeemReferralCodeResult, A as AutumnClient } from '../ReactAutumnClient-
|
|
2
|
+
import { a as CheckResult, T as TrackResult, C as CancelResult, S as SetupPaymentResult } from '../genTypes-DSvR32on.mjs';
|
|
3
|
+
import { A as AttachResult, C as CheckoutResult } from '../attachTypes-DbI59BLC.mjs';
|
|
4
|
+
import { A as AutumnPromise, E as Entity, S as Success } from '../entTypes-biskqmpT.mjs';
|
|
5
|
+
import { c as CustomerExpandOption, b as Customer, B as BillingPortalResult } from '../cusTypes-DINgmPwV.mjs';
|
|
6
|
+
import { C as CreateReferralCodeResult, R as RedeemReferralCodeResult, A as AutumnClient } from '../ReactAutumnClient-CjaZ_g4X.mjs';
|
|
7
7
|
import { CreateEntityParams } from '../client/types/clientEntTypes.mjs';
|
|
8
8
|
import { CreateReferralCodeParams, RedeemReferralCodeParams } from '../client/types/clientReferralTypes.mjs';
|
|
9
9
|
import { SWRConfiguration } from 'swr';
|
|
@@ -11,7 +11,7 @@ import React__default from 'react';
|
|
|
11
11
|
import { TrackParams, CancelParams, SetupPaymentParams, OpenBillingPortalParams, CheckParams } from '../client/types/clientGenTypes.mjs';
|
|
12
12
|
import { AllowedParams } from './helpers/handleCheck.mjs';
|
|
13
13
|
import { AttachParams, CheckoutParams } from '../client/types/clientAttachTypes.mjs';
|
|
14
|
-
import '../prodTypes-
|
|
14
|
+
import '../prodTypes-Bmoibf-M.mjs';
|
|
15
15
|
import 'zod';
|
|
16
16
|
import '../AutumnContext.mjs';
|
|
17
17
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { A as AutumnError } from '../error-DHbclCVh.js';
|
|
2
|
-
import { a as CheckResult, T as TrackResult, C as CancelResult, S as SetupPaymentResult } from '../genTypes-
|
|
3
|
-
import { A as AttachResult, C as CheckoutResult } from '../attachTypes-
|
|
4
|
-
import { A as AutumnPromise, E as Entity, S as Success } from '../entTypes-
|
|
5
|
-
import { c as CustomerExpandOption, b as Customer, B as BillingPortalResult } from '../cusTypes-
|
|
6
|
-
import { C as CreateReferralCodeResult, R as RedeemReferralCodeResult, A as AutumnClient } from '../ReactAutumnClient-
|
|
2
|
+
import { a as CheckResult, T as TrackResult, C as CancelResult, S as SetupPaymentResult } from '../genTypes-EyxQImzh.js';
|
|
3
|
+
import { A as AttachResult, C as CheckoutResult } from '../attachTypes-BetWkt95.js';
|
|
4
|
+
import { A as AutumnPromise, E as Entity, S as Success } from '../entTypes-DNW_l3s0.js';
|
|
5
|
+
import { c as CustomerExpandOption, b as Customer, B as BillingPortalResult } from '../cusTypes-D5d_cu-K.js';
|
|
6
|
+
import { C as CreateReferralCodeResult, R as RedeemReferralCodeResult, A as AutumnClient } from '../ReactAutumnClient-CK8k8OA5.js';
|
|
7
7
|
import { CreateEntityParams } from '../client/types/clientEntTypes.js';
|
|
8
8
|
import { CreateReferralCodeParams, RedeemReferralCodeParams } from '../client/types/clientReferralTypes.js';
|
|
9
9
|
import { SWRConfiguration } from 'swr';
|
|
@@ -11,7 +11,7 @@ import React__default from 'react';
|
|
|
11
11
|
import { TrackParams, CancelParams, SetupPaymentParams, OpenBillingPortalParams, CheckParams } from '../client/types/clientGenTypes.js';
|
|
12
12
|
import { AllowedParams } from './helpers/handleCheck.js';
|
|
13
13
|
import { AttachParams, CheckoutParams } from '../client/types/clientAttachTypes.js';
|
|
14
|
-
import '../prodTypes-
|
|
14
|
+
import '../prodTypes-Bmoibf-M.js';
|
|
15
15
|
import 'zod';
|
|
16
16
|
import '../AutumnContext.js';
|
|
17
17
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-
|
|
1
|
+
import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-biskqmpT.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-
|
|
6
|
+
import { a as CheckResult } from '../genTypes-DSvR32on.mjs';
|
|
7
7
|
import { GetEntityParams } from '../client/types/clientEntTypes.mjs';
|
|
8
|
-
import '../cusTypes-
|
|
9
|
-
import '../prodTypes-
|
|
8
|
+
import '../cusTypes-DINgmPwV.mjs';
|
|
9
|
+
import '../prodTypes-Bmoibf-M.mjs';
|
|
10
10
|
import 'zod';
|
|
11
11
|
|
|
12
12
|
declare const useEntity: (entityId: string | null, params?: GetEntityParams) => {
|
|
@@ -19,9 +19,9 @@ declare const useEntity: (entityId: string | null, params?: GetEntityParams) =>
|
|
|
19
19
|
error: null;
|
|
20
20
|
};
|
|
21
21
|
attach: (params: AttachParams) => Promise<Result<{
|
|
22
|
+
customer_id: string;
|
|
22
23
|
code: string;
|
|
23
24
|
message: string;
|
|
24
|
-
customer_id: string;
|
|
25
25
|
product_ids: string[];
|
|
26
26
|
customer_data?: any;
|
|
27
27
|
checkout_url?: string | undefined;
|
|
@@ -32,8 +32,8 @@ declare const useEntity: (entityId: string | null, params?: GetEntityParams) =>
|
|
|
32
32
|
success: boolean;
|
|
33
33
|
}>;
|
|
34
34
|
track: (params: TrackParams) => AutumnPromise<{
|
|
35
|
-
code: string;
|
|
36
35
|
customer_id: string;
|
|
36
|
+
code: string;
|
|
37
37
|
id: string;
|
|
38
38
|
feature_id?: string | undefined;
|
|
39
39
|
event_name?: string | undefined;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-
|
|
1
|
+
import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-DNW_l3s0.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-
|
|
6
|
+
import { a as CheckResult } from '../genTypes-EyxQImzh.js';
|
|
7
7
|
import { GetEntityParams } from '../client/types/clientEntTypes.js';
|
|
8
|
-
import '../cusTypes-
|
|
9
|
-
import '../prodTypes-
|
|
8
|
+
import '../cusTypes-D5d_cu-K.js';
|
|
9
|
+
import '../prodTypes-Bmoibf-M.js';
|
|
10
10
|
import 'zod';
|
|
11
11
|
|
|
12
12
|
declare const useEntity: (entityId: string | null, params?: GetEntityParams) => {
|
|
@@ -19,9 +19,9 @@ declare const useEntity: (entityId: string | null, params?: GetEntityParams) =>
|
|
|
19
19
|
error: null;
|
|
20
20
|
};
|
|
21
21
|
attach: (params: AttachParams) => Promise<Result<{
|
|
22
|
+
customer_id: string;
|
|
22
23
|
code: string;
|
|
23
24
|
message: string;
|
|
24
|
-
customer_id: string;
|
|
25
25
|
product_ids: string[];
|
|
26
26
|
customer_data?: any;
|
|
27
27
|
checkout_url?: string | undefined;
|
|
@@ -32,8 +32,8 @@ declare const useEntity: (entityId: string | null, params?: GetEntityParams) =>
|
|
|
32
32
|
success: boolean;
|
|
33
33
|
}>;
|
|
34
34
|
track: (params: TrackParams) => AutumnPromise<{
|
|
35
|
-
code: string;
|
|
36
35
|
customer_id: string;
|
|
36
|
+
code: string;
|
|
37
37
|
id: string;
|
|
38
38
|
feature_id?: string | undefined;
|
|
39
39
|
event_name?: string | undefined;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-
|
|
1
|
+
import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-biskqmpT.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-
|
|
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-
|
|
10
|
-
import '../prodTypes-
|
|
9
|
+
import '../cusTypes-DINgmPwV.mjs';
|
|
10
|
+
import '../prodTypes-Bmoibf-M.mjs';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'react';
|
|
13
|
-
import '../ReactAutumnClient-
|
|
14
|
-
import '../attachTypes-
|
|
13
|
+
import '../ReactAutumnClient-CjaZ_g4X.mjs';
|
|
14
|
+
import '../attachTypes-DbI59BLC.mjs';
|
|
15
15
|
|
|
16
16
|
declare const useEntityBase: ({ entityId, params, AutumnContext, }: {
|
|
17
17
|
entityId: string | null;
|
|
@@ -27,9 +27,9 @@ declare const useEntityBase: ({ entityId, params, AutumnContext, }: {
|
|
|
27
27
|
error: null;
|
|
28
28
|
};
|
|
29
29
|
attach: (params: AttachParams) => Promise<Result<{
|
|
30
|
+
customer_id: string;
|
|
30
31
|
code: string;
|
|
31
32
|
message: string;
|
|
32
|
-
customer_id: string;
|
|
33
33
|
product_ids: string[];
|
|
34
34
|
customer_data?: any;
|
|
35
35
|
checkout_url?: string | undefined;
|
|
@@ -40,8 +40,8 @@ declare const useEntityBase: ({ entityId, params, AutumnContext, }: {
|
|
|
40
40
|
success: boolean;
|
|
41
41
|
}>;
|
|
42
42
|
track: (params: TrackParams) => AutumnPromise<{
|
|
43
|
-
code: string;
|
|
44
43
|
customer_id: string;
|
|
44
|
+
code: string;
|
|
45
45
|
id: string;
|
|
46
46
|
feature_id?: string | undefined;
|
|
47
47
|
event_name?: string | undefined;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-
|
|
1
|
+
import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-DNW_l3s0.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-
|
|
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-
|
|
10
|
-
import '../prodTypes-
|
|
9
|
+
import '../cusTypes-D5d_cu-K.js';
|
|
10
|
+
import '../prodTypes-Bmoibf-M.js';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'react';
|
|
13
|
-
import '../ReactAutumnClient-
|
|
14
|
-
import '../attachTypes-
|
|
13
|
+
import '../ReactAutumnClient-CK8k8OA5.js';
|
|
14
|
+
import '../attachTypes-BetWkt95.js';
|
|
15
15
|
|
|
16
16
|
declare const useEntityBase: ({ entityId, params, AutumnContext, }: {
|
|
17
17
|
entityId: string | null;
|
|
@@ -27,9 +27,9 @@ declare const useEntityBase: ({ entityId, params, AutumnContext, }: {
|
|
|
27
27
|
error: null;
|
|
28
28
|
};
|
|
29
29
|
attach: (params: AttachParams) => Promise<Result<{
|
|
30
|
+
customer_id: string;
|
|
30
31
|
code: string;
|
|
31
32
|
message: string;
|
|
32
|
-
customer_id: string;
|
|
33
33
|
product_ids: string[];
|
|
34
34
|
customer_data?: any;
|
|
35
35
|
checkout_url?: string | undefined;
|
|
@@ -40,8 +40,8 @@ declare const useEntityBase: ({ entityId, params, AutumnContext, }: {
|
|
|
40
40
|
success: boolean;
|
|
41
41
|
}>;
|
|
42
42
|
track: (params: TrackParams) => AutumnPromise<{
|
|
43
|
-
code: string;
|
|
44
43
|
customer_id: string;
|
|
44
|
+
code: string;
|
|
45
45
|
id: string;
|
|
46
46
|
feature_id?: string | undefined;
|
|
47
47
|
event_name?: string | undefined;
|
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
5
|
+
import { A as AutumnClient } from '../ReactAutumnClient-CjaZ_g4X.mjs';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '../client/types/clientEntTypes.mjs';
|
|
8
8
|
import '../client/types/clientGenTypes.mjs';
|
|
9
|
-
import '../genTypes-
|
|
10
|
-
import '../attachTypes-
|
|
11
|
-
import '../entTypes-
|
|
12
|
-
import '../cusTypes-
|
|
9
|
+
import '../genTypes-DSvR32on.mjs';
|
|
10
|
+
import '../attachTypes-DbI59BLC.mjs';
|
|
11
|
+
import '../entTypes-biskqmpT.mjs';
|
|
12
|
+
import '../cusTypes-DINgmPwV.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-
|
|
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-
|
|
5
|
+
import { A as AutumnClient } from '../ReactAutumnClient-CK8k8OA5.js';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '../client/types/clientEntTypes.js';
|
|
8
8
|
import '../client/types/clientGenTypes.js';
|
|
9
|
-
import '../genTypes-
|
|
10
|
-
import '../attachTypes-
|
|
11
|
-
import '../entTypes-
|
|
12
|
-
import '../cusTypes-
|
|
9
|
+
import '../genTypes-EyxQImzh.js';
|
|
10
|
+
import '../attachTypes-BetWkt95.js';
|
|
11
|
+
import '../entTypes-DNW_l3s0.js';
|
|
12
|
+
import '../cusTypes-D5d_cu-K.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-
|
|
2
|
-
import { A as AutumnClient } from '../ReactAutumnClient-
|
|
1
|
+
import { P as Product } from '../prodTypes-Bmoibf-M.mjs';
|
|
2
|
+
import { A as AutumnClient } from '../ReactAutumnClient-CjaZ_g4X.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-
|
|
8
|
-
import '../attachTypes-
|
|
9
|
-
import '../entTypes-
|
|
10
|
-
import '../cusTypes-
|
|
7
|
+
import '../genTypes-DSvR32on.mjs';
|
|
8
|
+
import '../attachTypes-DbI59BLC.mjs';
|
|
9
|
+
import '../entTypes-biskqmpT.mjs';
|
|
10
|
+
import '../cusTypes-DINgmPwV.mjs';
|
|
11
11
|
|
|
12
12
|
declare const useProductsBase: ({ client }: {
|
|
13
13
|
client: AutumnClient;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { P as Product } from '../prodTypes-
|
|
2
|
-
import { A as AutumnClient } from '../ReactAutumnClient-
|
|
1
|
+
import { P as Product } from '../prodTypes-Bmoibf-M.js';
|
|
2
|
+
import { A as AutumnClient } from '../ReactAutumnClient-CK8k8OA5.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-
|
|
8
|
-
import '../attachTypes-
|
|
9
|
-
import '../entTypes-
|
|
10
|
-
import '../cusTypes-
|
|
7
|
+
import '../genTypes-EyxQImzh.js';
|
|
8
|
+
import '../attachTypes-BetWkt95.js';
|
|
9
|
+
import '../entTypes-DNW_l3s0.js';
|
|
10
|
+
import '../cusTypes-D5d_cu-K.js';
|
|
11
11
|
|
|
12
12
|
declare const useProductsBase: ({ client }: {
|
|
13
13
|
client: AutumnClient;
|
|
@@ -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-
|
|
2
|
-
import { C as CheckoutResult, A as AttachResult } from './attachTypes-
|
|
3
|
-
import { C as CustomerData, e as CreateCustomerParams, a as Customer, B as BillingPortalResult } from './cusTypes-
|
|
4
|
-
import { E as Entity, D as DeleteEntityResult } from './entTypes-
|
|
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-DZFtFEmv.mjs';
|
|
3
|
+
import { C as CustomerData, e as CreateCustomerParams, a as Customer, B as BillingPortalResult } from './cusTypes-Q54uLNO5.mjs';
|
|
4
|
+
import { E as Entity, D as DeleteEntityResult } from './entTypes-CHHBdhBK.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';
|
|
@@ -80,9 +80,9 @@ declare class AutumnClient {
|
|
|
80
80
|
reward?: string | undefined;
|
|
81
81
|
checkoutSessionParams?: Record<string, any> | undefined;
|
|
82
82
|
}) => AutumnPromise<{
|
|
83
|
+
customer_id: string;
|
|
83
84
|
code: string;
|
|
84
85
|
message: string;
|
|
85
|
-
customer_id: string;
|
|
86
86
|
product_ids: string[];
|
|
87
87
|
checkout_url?: string | undefined;
|
|
88
88
|
customer_data?: any;
|
|
@@ -128,9 +128,9 @@ declare class AutumnClient {
|
|
|
128
128
|
eventName?: string | undefined;
|
|
129
129
|
idempotencyKey?: string | undefined;
|
|
130
130
|
}) => AutumnPromise<{
|
|
131
|
-
code: string;
|
|
132
131
|
id: string;
|
|
133
132
|
customer_id: string;
|
|
133
|
+
code: string;
|
|
134
134
|
feature_id?: string | undefined;
|
|
135
135
|
event_name?: string | undefined;
|
|
136
136
|
}>;
|