autumn-js 0.0.58 → 0.0.60
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/express.d.mts +1 -1
- package/dist/libraries/backend/express.d.ts +1 -1
- package/dist/libraries/backend/next.d.mts +1 -0
- package/dist/libraries/backend/next.d.ts +1 -0
- package/dist/libraries/backend/next.js +1 -0
- package/dist/libraries/backend/next.mjs +1 -0
- package/dist/libraries/backend/react-router.d.mts +21 -0
- package/dist/libraries/backend/react-router.d.ts +21 -0
- package/dist/libraries/backend/react-router.js +867 -0
- package/dist/libraries/backend/react-router.mjs +94 -0
- package/dist/libraries/backend/{referralTypes-D89v4Fvv.d.mts → referralTypes-B-4gxOiO.d.mts} +2 -0
- package/dist/libraries/backend/{referralTypes-37gz0Ewe.d.ts → referralTypes-DCmmvFMX.d.ts} +2 -0
- package/dist/libraries/backend/remix_dep.d.mts +15 -0
- package/dist/libraries/backend/remix_dep.d.ts +15 -0
- package/dist/libraries/backend/{remix.js → remix_dep.js} +5 -5
- package/dist/libraries/backend/{remix.mjs → remix_dep.mjs} +1 -1
- package/dist/libraries/backend/routes/backendRouter.d.mts +1 -1
- package/dist/libraries/backend/routes/backendRouter.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 +4 -4
- package/dist/libraries/react/AutumnContext.d.ts +4 -4
- package/dist/libraries/react/BaseAutumnProvider.d.mts +4 -4
- package/dist/libraries/react/BaseAutumnProvider.d.ts +4 -4
- package/dist/libraries/react/{ReactAutumnClient-C40g9Jwz.d.ts → ReactAutumnClient-BgrRcTEM.d.ts} +3 -3
- package/dist/libraries/react/{ReactAutumnClient-D8NNG8YF.d.mts → ReactAutumnClient-DoXXU_vr.d.mts} +3 -3
- package/dist/libraries/react/ReactAutumnProvider.d.mts +1 -1
- package/dist/libraries/react/ReactAutumnProvider.d.ts +1 -1
- package/dist/libraries/react/client/ReactAutumnClient.d.mts +4 -4
- package/dist/libraries/react/client/ReactAutumnClient.d.ts +4 -4
- package/dist/libraries/react/client/clientCompMethods.d.mts +4 -4
- package/dist/libraries/react/client/clientCompMethods.d.ts +4 -4
- package/dist/libraries/react/client/clientCusMethods.d.mts +4 -4
- package/dist/libraries/react/client/clientCusMethods.d.ts +4 -4
- package/dist/libraries/react/client/clientEntityMethods.d.mts +4 -4
- package/dist/libraries/react/client/clientEntityMethods.d.ts +4 -4
- package/dist/libraries/react/client/clientGenMethods.d.mts +4 -4
- package/dist/libraries/react/client/clientGenMethods.d.ts +4 -4
- package/dist/libraries/react/client/clientReferralMethods.d.mts +4 -4
- package/dist/libraries/react/client/clientReferralMethods.d.ts +4 -4
- package/dist/libraries/react/{cusTypes-DhpsTJC0.d.ts → cusTypes-BTcZvjbB.d.mts} +2 -0
- package/dist/libraries/react/{cusTypes-DhpsTJC0.d.mts → cusTypes-BTcZvjbB.d.ts} +2 -0
- package/dist/libraries/react/{entTypes-DzREETKM.d.ts → entTypes-CIjIxPas.d.ts} +1 -1
- package/dist/libraries/react/{entTypes-Cn8-V8zo.d.mts → entTypes-_9_C-00R.d.mts} +1 -1
- package/dist/libraries/react/hooks/useAutumn.d.mts +2 -2
- package/dist/libraries/react/hooks/useAutumn.d.ts +2 -2
- package/dist/libraries/react/hooks/useCustomer.d.mts +4 -4
- package/dist/libraries/react/hooks/useCustomer.d.ts +4 -4
- package/dist/libraries/react/hooks/useCustomerProvider.d.mts +4 -4
- package/dist/libraries/react/hooks/useCustomerProvider.d.ts +4 -4
- package/dist/libraries/react/hooks/useEntity.d.mts +2 -2
- package/dist/libraries/react/hooks/useEntity.d.ts +2 -2
- package/dist/libraries/react/hooks/useEntityProvider.d.mts +4 -4
- package/dist/libraries/react/hooks/useEntityProvider.d.ts +4 -4
- package/dist/libraries/react/hooks/usePricingTableProvider.d.mts +4 -4
- package/dist/libraries/react/hooks/usePricingTableProvider.d.ts +4 -4
- package/dist/libraries/react/index.d.mts +4 -4
- package/dist/libraries/react/index.d.ts +4 -4
- package/dist/libraries/react/{response-CvKqaxNd.d.mts → response-BqFGIMug.d.mts} +1 -1
- package/dist/libraries/react/{response-DYtSBKc8.d.ts → response-CuJBOgCX.d.ts} +1 -1
- package/dist/next/client/AutumnContext.d.mts +2 -2
- package/dist/next/client/AutumnContext.d.ts +2 -2
- package/dist/next/client/AutumnProvider.d.mts +1 -1
- package/dist/next/client/AutumnProvider.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/{cusTypes-XcX2qEC7.d.ts → cusTypes-BGfMicAw.d.mts} +2 -0
- package/dist/next/client/{cusTypes-XcX2qEC7.d.mts → cusTypes-BGfMicAw.d.ts} +2 -0
- package/dist/next/client/{entTypes-DsWPhppx.d.ts → entTypes-C81tVu3a.d.ts} +1 -1
- package/dist/next/client/{entTypes-DAjGmWqH.d.mts → entTypes-Dmm2Us0w.d.mts} +1 -1
- package/dist/next/client/hooks/useCustomer.d.mts +2 -2
- package/dist/next/client/hooks/useCustomer.d.ts +2 -2
- package/dist/next/client/hooks/useEntity.d.mts +2 -2
- package/dist/next/client/hooks/useEntity.d.ts +2 -2
- package/dist/next/client/hooks/usePricingTable.d.mts +2 -2
- package/dist/next/client/hooks/usePricingTable.d.ts +2 -2
- package/dist/next/client/types.d.mts +2 -2
- package/dist/next/client/types.d.ts +2 -2
- package/dist/next/index.d.mts +3 -0
- package/dist/next/index.d.ts +3 -0
- package/dist/next/server/auth/withAuth.d.mts +1 -1
- package/dist/next/server/auth/withAuth.d.ts +1 -1
- package/dist/next/server/{clientEntTypes-CdnUUQbY.d.ts → clientEntTypes-Dukclrcl.d.ts} +1 -1
- package/dist/next/server/{clientEntTypes-B4rt0N8N.d.mts → clientEntTypes-KMYZeXD0.d.mts} +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 +2 -2
- package/dist/next/server/cusActions.d.ts +2 -2
- package/dist/next/server/{cusTypes-H9vsIluW.d.mts → cusTypes-VlsM-bzW.d.mts} +2 -0
- package/dist/next/server/{cusTypes-H9vsIluW.d.ts → cusTypes-VlsM-bzW.d.ts} +2 -0
- package/dist/next/server/genActions.d.mts +2 -2
- package/dist/next/server/genActions.d.ts +2 -2
- package/dist/sdk/{cusTypes-PC7Qx3oj.d.ts → cusTypes-D6sQTXPy.d.ts} +2 -0
- package/dist/sdk/{cusTypes-ChldELiB.d.mts → cusTypes-T1IdN-ez.d.mts} +2 -0
- package/dist/sdk/customers.d.mts +1 -1
- package/dist/sdk/customers.d.ts +1 -1
- package/dist/sdk/{entTypes-CYxI_JDG.d.ts → entTypes-BCt_cXXf.d.ts} +1 -1
- package/dist/sdk/{entTypes-D-c07roO.d.mts → entTypes-BDv4ErLm.d.mts} +1 -1
- package/dist/sdk/entities.d.mts +2 -2
- package/dist/sdk/entities.d.ts +2 -2
- package/dist/sdk/general.d.mts +2 -2
- package/dist/sdk/general.d.ts +2 -2
- package/dist/sdk/index.d.mts +4 -4
- package/dist/sdk/index.d.ts +4 -4
- package/package.json +6 -9
- package/dist/libraries/backend/remix.d.mts +0 -12
- package/dist/libraries/backend/remix.d.ts +0 -12
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as AutumnClient } from '../ReactAutumnClient-
|
|
1
|
+
import { A as AutumnClient } from '../ReactAutumnClient-DoXXU_vr.mjs';
|
|
2
2
|
import { A as AutumnError } from '../error-CG2LXoa7.mjs';
|
|
3
|
-
import { c as CustomerExpandOption, b as Customer } from '../cusTypes-
|
|
3
|
+
import { c as CustomerExpandOption, b as Customer } from '../cusTypes-BTcZvjbB.mjs';
|
|
4
4
|
import '../client/types/clientReferralTypes.mjs';
|
|
5
5
|
import '../client/types/clientEntTypes.mjs';
|
|
6
6
|
import '../client/types/clientGenTypes.mjs';
|
|
7
|
-
import '../response-
|
|
8
|
-
import '../entTypes-
|
|
7
|
+
import '../response-BqFGIMug.mjs';
|
|
8
|
+
import '../entTypes-_9_C-00R.mjs';
|
|
9
9
|
|
|
10
10
|
interface UseCustomerParams {
|
|
11
11
|
expand?: CustomerExpandOption[];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as AutumnClient } from '../ReactAutumnClient-
|
|
1
|
+
import { A as AutumnClient } from '../ReactAutumnClient-BgrRcTEM.js';
|
|
2
2
|
import { A as AutumnError } from '../error-CG2LXoa7.js';
|
|
3
|
-
import { c as CustomerExpandOption, b as Customer } from '../cusTypes-
|
|
3
|
+
import { c as CustomerExpandOption, b as Customer } from '../cusTypes-BTcZvjbB.js';
|
|
4
4
|
import '../client/types/clientReferralTypes.js';
|
|
5
5
|
import '../client/types/clientEntTypes.js';
|
|
6
6
|
import '../client/types/clientGenTypes.js';
|
|
7
|
-
import '../response-
|
|
8
|
-
import '../entTypes-
|
|
7
|
+
import '../response-CuJBOgCX.js';
|
|
8
|
+
import '../entTypes-CIjIxPas.js';
|
|
9
9
|
|
|
10
10
|
interface UseCustomerParams {
|
|
11
11
|
expand?: CustomerExpandOption[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as AutumnError } from '../error-CG2LXoa7.mjs';
|
|
2
|
-
import { E as Entity } from '../entTypes-
|
|
2
|
+
import { E as Entity } from '../entTypes-_9_C-00R.mjs';
|
|
3
3
|
import { GetEntityParams } from '../client/types/clientEntTypes.mjs';
|
|
4
|
-
import '../cusTypes-
|
|
4
|
+
import '../cusTypes-BTcZvjbB.mjs';
|
|
5
5
|
|
|
6
6
|
declare const useEntity: (entityId: string, params?: GetEntityParams) => {
|
|
7
7
|
entity: Entity | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as AutumnError } from '../error-CG2LXoa7.js';
|
|
2
|
-
import { E as Entity } from '../entTypes-
|
|
2
|
+
import { E as Entity } from '../entTypes-CIjIxPas.js';
|
|
3
3
|
import { GetEntityParams } from '../client/types/clientEntTypes.js';
|
|
4
|
-
import '../cusTypes-
|
|
4
|
+
import '../cusTypes-BTcZvjbB.js';
|
|
5
5
|
|
|
6
6
|
declare const useEntity: (entityId: string, params?: GetEntityParams) => {
|
|
7
7
|
entity: Entity | null;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { A as AutumnError } from '../error-CG2LXoa7.mjs';
|
|
2
|
-
import { E as Entity } from '../entTypes-
|
|
2
|
+
import { E as Entity } from '../entTypes-_9_C-00R.mjs';
|
|
3
3
|
import { GetEntityParams } from '../client/types/clientEntTypes.mjs';
|
|
4
|
-
import { A as AutumnClient } from '../ReactAutumnClient-
|
|
5
|
-
import '../cusTypes-
|
|
4
|
+
import { A as AutumnClient } from '../ReactAutumnClient-DoXXU_vr.mjs';
|
|
5
|
+
import '../cusTypes-BTcZvjbB.mjs';
|
|
6
6
|
import '../client/types/clientReferralTypes.mjs';
|
|
7
7
|
import '../client/types/clientGenTypes.mjs';
|
|
8
|
-
import '../response-
|
|
8
|
+
import '../response-BqFGIMug.mjs';
|
|
9
9
|
|
|
10
10
|
interface EntityProvider {
|
|
11
11
|
entity: Entity | null;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { A as AutumnError } from '../error-CG2LXoa7.js';
|
|
2
|
-
import { E as Entity } from '../entTypes-
|
|
2
|
+
import { E as Entity } from '../entTypes-CIjIxPas.js';
|
|
3
3
|
import { GetEntityParams } from '../client/types/clientEntTypes.js';
|
|
4
|
-
import { A as AutumnClient } from '../ReactAutumnClient-
|
|
5
|
-
import '../cusTypes-
|
|
4
|
+
import { A as AutumnClient } from '../ReactAutumnClient-BgrRcTEM.js';
|
|
5
|
+
import '../cusTypes-BTcZvjbB.js';
|
|
6
6
|
import '../client/types/clientReferralTypes.js';
|
|
7
7
|
import '../client/types/clientGenTypes.js';
|
|
8
|
-
import '../response-
|
|
8
|
+
import '../response-CuJBOgCX.js';
|
|
9
9
|
|
|
10
10
|
interface EntityProvider {
|
|
11
11
|
entity: Entity | null;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as AutumnClient, P as PricingTableProduct } from '../ReactAutumnClient-
|
|
1
|
+
import { A as AutumnClient, P as PricingTableProduct } from '../ReactAutumnClient-DoXXU_vr.mjs';
|
|
2
2
|
import { A as AutumnError } from '../error-CG2LXoa7.mjs';
|
|
3
3
|
import '../client/types/clientReferralTypes.mjs';
|
|
4
4
|
import '../client/types/clientEntTypes.mjs';
|
|
5
5
|
import '../client/types/clientGenTypes.mjs';
|
|
6
|
-
import '../response-
|
|
7
|
-
import '../cusTypes-
|
|
8
|
-
import '../entTypes-
|
|
6
|
+
import '../response-BqFGIMug.mjs';
|
|
7
|
+
import '../cusTypes-BTcZvjbB.mjs';
|
|
8
|
+
import '../entTypes-_9_C-00R.mjs';
|
|
9
9
|
|
|
10
10
|
declare const usePricingTableProvider: ({ client, }: {
|
|
11
11
|
client: AutumnClient;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as AutumnClient, P as PricingTableProduct } from '../ReactAutumnClient-
|
|
1
|
+
import { A as AutumnClient, P as PricingTableProduct } from '../ReactAutumnClient-BgrRcTEM.js';
|
|
2
2
|
import { A as AutumnError } from '../error-CG2LXoa7.js';
|
|
3
3
|
import '../client/types/clientReferralTypes.js';
|
|
4
4
|
import '../client/types/clientEntTypes.js';
|
|
5
5
|
import '../client/types/clientGenTypes.js';
|
|
6
|
-
import '../response-
|
|
7
|
-
import '../cusTypes-
|
|
8
|
-
import '../entTypes-
|
|
6
|
+
import '../response-CuJBOgCX.js';
|
|
7
|
+
import '../cusTypes-BTcZvjbB.js';
|
|
8
|
+
import '../entTypes-CIjIxPas.js';
|
|
9
9
|
|
|
10
10
|
declare const usePricingTableProvider: ({ client, }: {
|
|
11
11
|
client: AutumnClient;
|
|
@@ -4,13 +4,13 @@ export { useAutumn } from './hooks/useAutumn.mjs';
|
|
|
4
4
|
export { usePricingTable } from './hooks/usePricingTable.mjs';
|
|
5
5
|
export { useEntity } from './hooks/useEntity.mjs';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
|
-
import './cusTypes-
|
|
7
|
+
import './cusTypes-BTcZvjbB.mjs';
|
|
8
8
|
import './hooks/useCustomerProvider.mjs';
|
|
9
|
-
import './ReactAutumnClient-
|
|
9
|
+
import './ReactAutumnClient-DoXXU_vr.mjs';
|
|
10
10
|
import './client/types/clientReferralTypes.mjs';
|
|
11
11
|
import './client/types/clientEntTypes.mjs';
|
|
12
12
|
import './client/types/clientGenTypes.mjs';
|
|
13
|
-
import './response-
|
|
13
|
+
import './response-BqFGIMug.mjs';
|
|
14
14
|
import './error-CG2LXoa7.mjs';
|
|
15
|
-
import './entTypes-
|
|
15
|
+
import './entTypes-_9_C-00R.mjs';
|
|
16
16
|
import './client/types/clientPricingTableTypes.mjs';
|
|
@@ -4,13 +4,13 @@ export { useAutumn } from './hooks/useAutumn.js';
|
|
|
4
4
|
export { usePricingTable } from './hooks/usePricingTable.js';
|
|
5
5
|
export { useEntity } from './hooks/useEntity.js';
|
|
6
6
|
import 'react/jsx-runtime';
|
|
7
|
-
import './cusTypes-
|
|
7
|
+
import './cusTypes-BTcZvjbB.js';
|
|
8
8
|
import './hooks/useCustomerProvider.js';
|
|
9
|
-
import './ReactAutumnClient-
|
|
9
|
+
import './ReactAutumnClient-BgrRcTEM.js';
|
|
10
10
|
import './client/types/clientReferralTypes.js';
|
|
11
11
|
import './client/types/clientEntTypes.js';
|
|
12
12
|
import './client/types/clientGenTypes.js';
|
|
13
|
-
import './response-
|
|
13
|
+
import './response-CuJBOgCX.js';
|
|
14
14
|
import './error-CG2LXoa7.js';
|
|
15
|
-
import './entTypes-
|
|
15
|
+
import './entTypes-CIjIxPas.js';
|
|
16
16
|
import './client/types/clientPricingTableTypes.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AppEnv, I as Infinite, P as ProductItemIntervalType, U as UsageModel, F as FreeTrialDuration, g as UsageModelType, C as CustomerData } from './cusTypes-
|
|
1
|
+
import { A as AppEnv, I as Infinite, P as ProductItemIntervalType, U as UsageModel, F as FreeTrialDuration, g as UsageModelType, C as CustomerData } from './cusTypes-BTcZvjbB.mjs';
|
|
2
2
|
import { A as AutumnError } from './error-CG2LXoa7.mjs';
|
|
3
3
|
|
|
4
4
|
interface ProductItem {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AppEnv, I as Infinite, P as ProductItemIntervalType, U as UsageModel, F as FreeTrialDuration, g as UsageModelType, C as CustomerData } from './cusTypes-
|
|
1
|
+
import { A as AppEnv, I as Infinite, P as ProductItemIntervalType, U as UsageModel, F as FreeTrialDuration, g as UsageModelType, C as CustomerData } from './cusTypes-BTcZvjbB.js';
|
|
2
2
|
import { A as AutumnError } from './error-CG2LXoa7.js';
|
|
3
3
|
|
|
4
4
|
interface ProductItem {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { AutumnContextParams } from './types.mjs';
|
|
3
|
-
import './cusTypes-
|
|
4
|
-
import './entTypes-
|
|
3
|
+
import './cusTypes-BGfMicAw.mjs';
|
|
4
|
+
import './entTypes-Dmm2Us0w.mjs';
|
|
5
5
|
|
|
6
6
|
declare const AutumnContext: react.Context<AutumnContextParams>;
|
|
7
7
|
declare const useAutumnContext: () => AutumnContextParams;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { AutumnContextParams } from './types.js';
|
|
3
|
-
import './cusTypes-
|
|
4
|
-
import './entTypes-
|
|
3
|
+
import './cusTypes-BGfMicAw.js';
|
|
4
|
+
import './entTypes-C81tVu3a.js';
|
|
5
5
|
|
|
6
6
|
declare const AutumnContext: react.Context<AutumnContextParams>;
|
|
7
7
|
declare const useAutumnContext: () => AutumnContextParams;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AutumnClientError, PricingTableProduct } from './types.mjs';
|
|
2
|
-
import './cusTypes-
|
|
3
|
-
import './entTypes-
|
|
2
|
+
import './cusTypes-BGfMicAw.mjs';
|
|
3
|
+
import './entTypes-Dmm2Us0w.mjs';
|
|
4
4
|
|
|
5
5
|
declare const toClientErrorResponse: (error: any) => {
|
|
6
6
|
data: null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AutumnClientError, PricingTableProduct } from './types.js';
|
|
2
|
-
import './cusTypes-
|
|
3
|
-
import './entTypes-
|
|
2
|
+
import './cusTypes-BGfMicAw.js';
|
|
3
|
+
import './entTypes-C81tVu3a.js';
|
|
4
4
|
|
|
5
5
|
declare const toClientErrorResponse: (error: any) => {
|
|
6
6
|
data: null;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as CustomerExpandOption, C as CustomerData, b as Customer } from '../cusTypes-
|
|
1
|
+
import { a as CustomerExpandOption, C as CustomerData, b as Customer } from '../cusTypes-BGfMicAw.mjs';
|
|
2
2
|
import { CreateEntityParams } from './types.mjs';
|
|
3
3
|
import { AutumnClientError } from '../types.mjs';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '../clientEntTypes-pqnB95m3.mjs';
|
|
6
|
-
import '../entTypes-
|
|
6
|
+
import '../entTypes-Dmm2Us0w.mjs';
|
|
7
7
|
|
|
8
8
|
interface UseCustomerProps {
|
|
9
9
|
expand?: CustomerExpandOption[];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as CustomerExpandOption, C as CustomerData, b as Customer } from '../cusTypes-
|
|
1
|
+
import { a as CustomerExpandOption, C as CustomerData, b as Customer } from '../cusTypes-BGfMicAw.js';
|
|
2
2
|
import { CreateEntityParams } from './types.js';
|
|
3
3
|
import { AutumnClientError } from '../types.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '../clientEntTypes-pqnB95m3.js';
|
|
6
|
-
import '../entTypes-
|
|
6
|
+
import '../entTypes-C81tVu3a.js';
|
|
7
7
|
|
|
8
8
|
interface UseCustomerProps {
|
|
9
9
|
expand?: CustomerExpandOption[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as swr from 'swr';
|
|
2
|
-
import { G as GetEntityParams } from '../entTypes-
|
|
3
|
-
import '../cusTypes-
|
|
2
|
+
import { G as GetEntityParams } from '../entTypes-Dmm2Us0w.mjs';
|
|
3
|
+
import '../cusTypes-BGfMicAw.mjs';
|
|
4
4
|
|
|
5
5
|
declare const useEntity: (entityId?: string, params?: GetEntityParams) => {
|
|
6
6
|
entity: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as swr from 'swr';
|
|
2
|
-
import { G as GetEntityParams } from '../entTypes-
|
|
3
|
-
import '../cusTypes-
|
|
2
|
+
import { G as GetEntityParams } from '../entTypes-C81tVu3a.js';
|
|
3
|
+
import '../cusTypes-BGfMicAw.js';
|
|
4
4
|
|
|
5
5
|
declare const useEntity: (entityId?: string, params?: GetEntityParams) => {
|
|
6
6
|
entity: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PricingTableProduct } from '../types.mjs';
|
|
2
|
-
import '../cusTypes-
|
|
3
|
-
import '../entTypes-
|
|
2
|
+
import '../cusTypes-BGfMicAw.mjs';
|
|
3
|
+
import '../entTypes-Dmm2Us0w.mjs';
|
|
4
4
|
|
|
5
5
|
declare const usePricingTable: (options?: {
|
|
6
6
|
productDetails: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CustomerData, b as Customer } from './cusTypes-
|
|
2
|
-
import { E as Entity } from './entTypes-
|
|
1
|
+
import { C as CustomerData, b as Customer } from './cusTypes-BGfMicAw.mjs';
|
|
2
|
+
import { E as Entity } from './entTypes-Dmm2Us0w.mjs';
|
|
3
3
|
|
|
4
4
|
interface ProductDetails {
|
|
5
5
|
id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CustomerData, b as Customer } from './cusTypes-
|
|
2
|
-
import { E as Entity } from './entTypes-
|
|
1
|
+
import { C as CustomerData, b as Customer } from './cusTypes-BGfMicAw.js';
|
|
2
|
+
import { E as Entity } from './entTypes-C81tVu3a.js';
|
|
3
3
|
|
|
4
4
|
interface ProductDetails {
|
|
5
5
|
id: string;
|
package/dist/next/index.d.mts
CHANGED
|
@@ -115,6 +115,8 @@ interface CustomerProduct {
|
|
|
115
115
|
subscription_ids?: string[] | null;
|
|
116
116
|
current_period_start?: number | null;
|
|
117
117
|
current_period_end?: number | null;
|
|
118
|
+
trial_ends_at?: number;
|
|
119
|
+
entity_id?: string;
|
|
118
120
|
}
|
|
119
121
|
interface Customer {
|
|
120
122
|
id: string | null;
|
|
@@ -289,6 +291,7 @@ type AuthResult = Promise<{
|
|
|
289
291
|
} | null>;
|
|
290
292
|
|
|
291
293
|
declare function autumnHandler(options: {
|
|
294
|
+
secretKey: string;
|
|
292
295
|
identify: (request: NextRequest) => AuthResult;
|
|
293
296
|
}): {
|
|
294
297
|
GET: (request: NextRequest) => Promise<NextResponse<any>>;
|
package/dist/next/index.d.ts
CHANGED
|
@@ -115,6 +115,8 @@ interface CustomerProduct {
|
|
|
115
115
|
subscription_ids?: string[] | null;
|
|
116
116
|
current_period_start?: number | null;
|
|
117
117
|
current_period_end?: number | null;
|
|
118
|
+
trial_ends_at?: number;
|
|
119
|
+
entity_id?: string;
|
|
118
120
|
}
|
|
119
121
|
interface Customer {
|
|
120
122
|
id: string | null;
|
|
@@ -289,6 +291,7 @@ type AuthResult = Promise<{
|
|
|
289
291
|
} | null>;
|
|
290
292
|
|
|
291
293
|
declare function autumnHandler(options: {
|
|
294
|
+
secretKey: string;
|
|
292
295
|
identify: (request: NextRequest) => AuthResult;
|
|
293
296
|
}): {
|
|
294
297
|
GET: (request: NextRequest) => Promise<NextResponse<any>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as CustomerProduct, e as CustomerFeature, f as CustomerInvoice, C as CustomerData, A as AppEnv, I as Infinite, P as ProductItemIntervalType, g as UsageModel, F as FreeTrialDuration, h as UsageModelType } from './cusTypes-
|
|
1
|
+
import { d as CustomerProduct, e as CustomerFeature, f as CustomerInvoice, C as CustomerData, A as AppEnv, I as Infinite, P as ProductItemIntervalType, g as UsageModel, F as FreeTrialDuration, h as UsageModelType } from './cusTypes-VlsM-bzW.js';
|
|
2
2
|
|
|
3
3
|
type EntityExpandOption = "invoices";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as CustomerProduct, e as CustomerFeature, f as CustomerInvoice, C as CustomerData, A as AppEnv, I as Infinite, P as ProductItemIntervalType, g as UsageModel, F as FreeTrialDuration, h as UsageModelType } from './cusTypes-
|
|
1
|
+
import { d as CustomerProduct, e as CustomerFeature, f as CustomerInvoice, C as CustomerData, A as AppEnv, I as Infinite, P as ProductItemIntervalType, g as UsageModel, F as FreeTrialDuration, h as UsageModelType } from './cusTypes-VlsM-bzW.mjs';
|
|
2
2
|
|
|
3
3
|
type EntityExpandOption = "invoices";
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as Product, C as CreateProductParams, L as ListProductsParams, G as GetEntityParams, E as Entity, a as CreateEntityParams, b as CreateEntityResult, D as DeleteEntityResult, A as AttachParams, c as AttachResult, U as UsageParams, d as UsageResult, e as CancelParams, f as CancelResult, g as CheckParams, h as CheckResult, T as TrackParams, i as TrackResult, j as GetEntityParams$1 } from './clientEntTypes-
|
|
1
|
+
import { P as Product, C as CreateProductParams, L as ListProductsParams, G as GetEntityParams, E as Entity, a as CreateEntityParams, b as CreateEntityResult, D as DeleteEntityResult, A as AttachParams, c as AttachResult, U as UsageParams, d as UsageResult, e as CancelParams, f as CancelResult, g as CheckParams, h as CheckResult, T as TrackParams, i as TrackResult, j as GetEntityParams$1 } from './clientEntTypes-KMYZeXD0.mjs';
|
|
2
2
|
import { R as Result, A as AutumnError } from './response-BCg7kiiN.mjs';
|
|
3
|
-
import { G as GetCustomerParams, a as Customer, b as CreateCustomerParams, U as UpdateCustomerParams, B as BillingPortalParams, c as BillingPortalResponse, C as CustomerData } from './cusTypes-
|
|
3
|
+
import { G as GetCustomerParams, a as Customer, b as CreateCustomerParams, U as UpdateCustomerParams, B as BillingPortalParams, c as BillingPortalResponse, C as CustomerData } from './cusTypes-VlsM-bzW.mjs';
|
|
4
4
|
|
|
5
5
|
declare class Autumn {
|
|
6
6
|
private readonly secretKey;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as Product, C as CreateProductParams, L as ListProductsParams, G as GetEntityParams, E as Entity, a as CreateEntityParams, b as CreateEntityResult, D as DeleteEntityResult, A as AttachParams, c as AttachResult, U as UsageParams, d as UsageResult, e as CancelParams, f as CancelResult, g as CheckParams, h as CheckResult, T as TrackParams, i as TrackResult, j as GetEntityParams$1 } from './clientEntTypes-
|
|
1
|
+
import { P as Product, C as CreateProductParams, L as ListProductsParams, G as GetEntityParams, E as Entity, a as CreateEntityParams, b as CreateEntityResult, D as DeleteEntityResult, A as AttachParams, c as AttachResult, U as UsageParams, d as UsageResult, e as CancelParams, f as CancelResult, g as CheckParams, h as CheckResult, T as TrackParams, i as TrackResult, j as GetEntityParams$1 } from './clientEntTypes-Dukclrcl.js';
|
|
2
2
|
import { R as Result, A as AutumnError } from './response-BCg7kiiN.js';
|
|
3
|
-
import { G as GetCustomerParams, a as Customer, b as CreateCustomerParams, U as UpdateCustomerParams, B as BillingPortalParams, c as BillingPortalResponse, C as CustomerData } from './cusTypes-
|
|
3
|
+
import { G as GetCustomerParams, a as Customer, b as CreateCustomerParams, U as UpdateCustomerParams, B as BillingPortalParams, c as BillingPortalResponse, C as CustomerData } from './cusTypes-VlsM-bzW.js';
|
|
4
4
|
|
|
5
5
|
declare class Autumn {
|
|
6
6
|
private readonly secretKey;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as AttachFeatureOptions, l as EntityDataParams } from './clientEntTypes-
|
|
2
|
-
import { C as CustomerData, B as BillingPortalParams } from './cusTypes-
|
|
1
|
+
import { k as AttachFeatureOptions, l as EntityDataParams } from './clientEntTypes-KMYZeXD0.mjs';
|
|
2
|
+
import { C as CustomerData, B as BillingPortalParams } from './cusTypes-VlsM-bzW.mjs';
|
|
3
3
|
|
|
4
4
|
declare const attachAction: (args: Omit<{
|
|
5
5
|
customerId: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as AttachFeatureOptions, l as EntityDataParams } from './clientEntTypes-
|
|
2
|
-
import { C as CustomerData, B as BillingPortalParams } from './cusTypes-
|
|
1
|
+
import { k as AttachFeatureOptions, l as EntityDataParams } from './clientEntTypes-Dukclrcl.js';
|
|
2
|
+
import { C as CustomerData, B as BillingPortalParams } from './cusTypes-VlsM-bzW.js';
|
|
3
3
|
|
|
4
4
|
declare const attachAction: (args: Omit<{
|
|
5
5
|
customerId: string;
|
package/dist/sdk/customers.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import './prodEnums-C1lccCWI.mjs';
|
|
2
|
-
export { B as BillingPortalParams, b as BillingPortalResponse, a as CreateCustomerParams, C as Customer, e as CustomerData, c as CustomerFeature, f as CustomerInvoice, d as CustomerProduct, G as GetCustomerParams, U as UpdateCustomerParams } from './cusTypes-
|
|
2
|
+
export { B as BillingPortalParams, b as BillingPortalResponse, a as CreateCustomerParams, C as Customer, e as CustomerData, c as CustomerFeature, f as CustomerInvoice, d as CustomerProduct, G as GetCustomerParams, U as UpdateCustomerParams } from './cusTypes-T1IdN-ez.mjs';
|
package/dist/sdk/customers.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import './prodEnums-C1lccCWI.js';
|
|
2
|
-
export { B as BillingPortalParams, b as BillingPortalResponse, a as CreateCustomerParams, C as Customer, e as CustomerData, c as CustomerFeature, f as CustomerInvoice, d as CustomerProduct, G as GetCustomerParams, U as UpdateCustomerParams } from './cusTypes-
|
|
2
|
+
export { B as BillingPortalParams, b as BillingPortalResponse, a as CreateCustomerParams, C as Customer, e as CustomerData, c as CustomerFeature, f as CustomerInvoice, d as CustomerProduct, G as GetCustomerParams, U as UpdateCustomerParams } from './cusTypes-D6sQTXPy.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as CustomerData, d as CustomerProduct, c as CustomerFeature, f as CustomerInvoice } from './cusTypes-
|
|
1
|
+
import { e as CustomerData, d as CustomerProduct, c as CustomerFeature, f as CustomerInvoice } from './cusTypes-D6sQTXPy.js';
|
|
2
2
|
|
|
3
3
|
type EntityExpandOption = "invoices";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as CustomerData, d as CustomerProduct, c as CustomerFeature, f as CustomerInvoice } from './cusTypes-
|
|
1
|
+
import { e as CustomerData, d as CustomerProduct, c as CustomerFeature, f as CustomerInvoice } from './cusTypes-T1IdN-ez.mjs';
|
|
2
2
|
|
|
3
3
|
type EntityExpandOption = "invoices";
|
|
4
4
|
|
package/dist/sdk/entities.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import './cusTypes-
|
|
2
|
-
export { C as CreateEntityParams, a as CreateEntityResult, D as DeleteEntityResult, E as Entity, b as EntityData, G as GetEntityParams } from './entTypes-
|
|
1
|
+
import './cusTypes-T1IdN-ez.mjs';
|
|
2
|
+
export { C as CreateEntityParams, a as CreateEntityResult, D as DeleteEntityResult, E as Entity, b as EntityData, G as GetEntityParams } from './entTypes-BDv4ErLm.mjs';
|
|
3
3
|
import './prodEnums-C1lccCWI.mjs';
|
package/dist/sdk/entities.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import './cusTypes-
|
|
2
|
-
export { C as CreateEntityParams, a as CreateEntityResult, D as DeleteEntityResult, E as Entity, b as EntityData, G as GetEntityParams } from './entTypes-
|
|
1
|
+
import './cusTypes-D6sQTXPy.js';
|
|
2
|
+
export { C as CreateEntityParams, a as CreateEntityResult, D as DeleteEntityResult, E as Entity, b as EntityData, G as GetEntityParams } from './entTypes-BCt_cXXf.js';
|
|
3
3
|
import './prodEnums-C1lccCWI.js';
|
package/dist/sdk/general.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as CustomerData } from './cusTypes-
|
|
2
|
-
import { b as EntityData } from './entTypes-
|
|
1
|
+
import { e as CustomerData } from './cusTypes-T1IdN-ez.mjs';
|
|
2
|
+
import { b as EntityData } from './entTypes-BDv4ErLm.mjs';
|
|
3
3
|
import { CheckProductFormattedPreview, CheckFeatureFormattedPreview } from './check.mjs';
|
|
4
4
|
import './prodEnums-C1lccCWI.mjs';
|
|
5
5
|
import './products.mjs';
|
package/dist/sdk/general.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as CustomerData } from './cusTypes-
|
|
2
|
-
import { b as EntityData } from './entTypes-
|
|
1
|
+
import { e as CustomerData } from './cusTypes-D6sQTXPy.js';
|
|
2
|
+
import { b as EntityData } from './entTypes-BCt_cXXf.js';
|
|
3
3
|
import { CheckProductFormattedPreview, CheckFeatureFormattedPreview } from './check.js';
|
|
4
4
|
import './prodEnums-C1lccCWI.js';
|
|
5
5
|
import './products.js';
|
package/dist/sdk/index.d.mts
CHANGED
|
@@ -2,10 +2,10 @@ import { AttachParams, AttachResult, UsageParams, UsageResult, CancelParams, Can
|
|
|
2
2
|
export { AttachFeatureOptions, EntitledBalance } from './general.mjs';
|
|
3
3
|
import { Product, CreateProductParams, ListProductsParams } from './products.mjs';
|
|
4
4
|
export { FreeTrial, PriceTier, ProductItem } from './products.mjs';
|
|
5
|
-
import { G as GetCustomerParams, C as Customer, a as CreateCustomerParams, U as UpdateCustomerParams, B as BillingPortalParams, b as BillingPortalResponse } from './cusTypes-
|
|
6
|
-
export { e as CustomerData, g as CustomerExpandOption, c as CustomerFeature, f as CustomerInvoice, d as CustomerProduct, P as ProductStatus } from './cusTypes-
|
|
7
|
-
import { G as GetEntityParams, E as Entity, C as CreateEntityParams, a as CreateEntityResult, D as DeleteEntityResult } from './entTypes-
|
|
8
|
-
export { b as EntityData, c as EntityExpandOption } from './entTypes-
|
|
5
|
+
import { G as GetCustomerParams, C as Customer, a as CreateCustomerParams, U as UpdateCustomerParams, B as BillingPortalParams, b as BillingPortalResponse } from './cusTypes-T1IdN-ez.mjs';
|
|
6
|
+
export { e as CustomerData, g as CustomerExpandOption, c as CustomerFeature, f as CustomerInvoice, d as CustomerProduct, P as ProductStatus } from './cusTypes-T1IdN-ez.mjs';
|
|
7
|
+
import { G as GetEntityParams, E as Entity, C as CreateEntityParams, a as CreateEntityResult, D as DeleteEntityResult } from './entTypes-BDv4ErLm.mjs';
|
|
8
|
+
export { b as EntityData, c as EntityExpandOption } from './entTypes-BDv4ErLm.mjs';
|
|
9
9
|
import { CreateReferralCodeParams, RedeemReferralCodeParams } from './referrals.mjs';
|
|
10
10
|
export { CreateReferralCodeResult, RedeemReferralCodeResult } from './referrals.mjs';
|
|
11
11
|
export { CheckFeatureFormattedPreview, CheckFeatureScenario, CheckProductFormattedPreview, CheckProductScenario } from './check.mjs';
|