autumn-js 0.0.51 → 0.0.52
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/{referralTypes-BAqOAIcw.d.ts → referralTypes-BeAYZaem.d.ts} +1 -1
- package/dist/libraries/backend/{referralTypes-7ly17ITy.d.mts → referralTypes-d9F2CFOg.d.mts} +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-CweyGxvU.d.mts → ReactAutumnClient-6_K0K8uN.d.mts} +3 -3
- package/dist/libraries/react/{ReactAutumnClient-BBe9BBj8.d.ts → ReactAutumnClient-CrVvYcoL.d.ts} +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-CrKQos3U.d.mts → cusTypes-Dtfv_ZQO.d.mts} +1 -1
- package/dist/libraries/react/{cusTypes-CrKQos3U.d.ts → cusTypes-Dtfv_ZQO.d.ts} +1 -1
- package/dist/libraries/react/{entTypes-Pu4KEgBU.d.ts → entTypes-Cg52AqdY.d.ts} +1 -1
- package/dist/libraries/react/{entTypes-D5hhz3BB.d.mts → entTypes-DkM1ogDb.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-T-FFa-qt.d.mts → response-DWkhXkVL.d.mts} +1 -1
- package/dist/libraries/react/{response-muDt0SJZ.d.ts → response-nVwSEz-O.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-DsDs_Qyb.d.ts → cusTypes-BnoFYGwY.d.mts} +1 -1
- package/dist/next/client/{cusTypes-DsDs_Qyb.d.mts → cusTypes-BnoFYGwY.d.ts} +1 -1
- package/dist/next/client/{entTypes-B1SnNOgv.d.ts → entTypes-CkvFScN3.d.ts} +1 -1
- package/dist/next/client/{entTypes-DMAhz9Dg.d.mts → entTypes-bvkIjQLR.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 +1 -1
- package/dist/next/index.d.ts +1 -1
- 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-CvbBjPmI.d.mts → clientEntTypes-BUB62khr.d.mts} +1 -1
- package/dist/next/server/{clientEntTypes-aaR6GtOf.d.ts → clientEntTypes-Bk9vSoWW.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 +2 -2
- package/dist/next/server/cusActions.d.ts +2 -2
- package/dist/next/server/{cusTypes-BY1nr3mk.d.mts → cusTypes-DKovOcy4.d.mts} +1 -1
- package/dist/next/server/{cusTypes-BY1nr3mk.d.ts → cusTypes-DKovOcy4.d.ts} +1 -1
- package/dist/next/server/genActions.d.mts +2 -2
- package/dist/next/server/genActions.d.ts +2 -2
- package/dist/sdk/{cusTypes-pV7nKIcc.d.mts → cusTypes-B23zHrUo.d.mts} +1 -1
- package/dist/sdk/{cusTypes-Cw74Oy0H.d.ts → cusTypes-BlqRIXj7.d.ts} +1 -1
- package/dist/sdk/customers.d.mts +1 -1
- package/dist/sdk/customers.d.ts +1 -1
- package/dist/sdk/{entTypes-DtPO-a4R.d.ts → entTypes-CNO6Bj5k.d.ts} +1 -1
- package/dist/sdk/{entTypes-CL-fMvnC.d.mts → entTypes-DpsIA4fJ.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 +1 -1
|
@@ -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-Dtfv_ZQO.mjs';
|
|
8
8
|
import './hooks/useCustomerProvider.mjs';
|
|
9
|
-
import './ReactAutumnClient-
|
|
9
|
+
import './ReactAutumnClient-6_K0K8uN.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-DWkhXkVL.mjs';
|
|
14
14
|
import './error-CG2LXoa7.mjs';
|
|
15
|
-
import './entTypes-
|
|
15
|
+
import './entTypes-DkM1ogDb.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-Dtfv_ZQO.js';
|
|
8
8
|
import './hooks/useCustomerProvider.js';
|
|
9
|
-
import './ReactAutumnClient-
|
|
9
|
+
import './ReactAutumnClient-CrVvYcoL.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-nVwSEz-O.js';
|
|
14
14
|
import './error-CG2LXoa7.js';
|
|
15
|
-
import './entTypes-
|
|
15
|
+
import './entTypes-Cg52AqdY.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-Dtfv_ZQO.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-Dtfv_ZQO.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-BnoFYGwY.mjs';
|
|
4
|
+
import './entTypes-bvkIjQLR.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-BnoFYGwY.js';
|
|
4
|
+
import './entTypes-CkvFScN3.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-BnoFYGwY.mjs';
|
|
3
|
+
import './entTypes-bvkIjQLR.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-BnoFYGwY.js';
|
|
3
|
+
import './entTypes-CkvFScN3.js';
|
|
4
4
|
|
|
5
5
|
declare const toClientErrorResponse: (error: any) => {
|
|
6
6
|
data: null;
|
|
@@ -21,7 +21,7 @@ declare enum ProductStatus {
|
|
|
21
21
|
Trialing = "trialing",
|
|
22
22
|
Scheduled = "scheduled"
|
|
23
23
|
}
|
|
24
|
-
type CustomerExpandOption = "invoices" | "rewards" | "trials_used";
|
|
24
|
+
type CustomerExpandOption = "invoices" | "rewards" | "trials_used" | "entities";
|
|
25
25
|
|
|
26
26
|
interface CustomerFeature {
|
|
27
27
|
id: string;
|
|
@@ -21,7 +21,7 @@ declare enum ProductStatus {
|
|
|
21
21
|
Trialing = "trialing",
|
|
22
22
|
Scheduled = "scheduled"
|
|
23
23
|
}
|
|
24
|
-
type CustomerExpandOption = "invoices" | "rewards" | "trials_used";
|
|
24
|
+
type CustomerExpandOption = "invoices" | "rewards" | "trials_used" | "entities";
|
|
25
25
|
|
|
26
26
|
interface CustomerFeature {
|
|
27
27
|
id: string;
|
|
@@ -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-BnoFYGwY.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-bvkIjQLR.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-BnoFYGwY.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-CkvFScN3.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-bvkIjQLR.mjs';
|
|
3
|
+
import '../cusTypes-BnoFYGwY.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-CkvFScN3.js';
|
|
3
|
+
import '../cusTypes-BnoFYGwY.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-BnoFYGwY.mjs';
|
|
3
|
+
import '../entTypes-bvkIjQLR.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-BnoFYGwY.mjs';
|
|
2
|
+
import { E as Entity } from './entTypes-bvkIjQLR.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-BnoFYGwY.js';
|
|
2
|
+
import { E as Entity } from './entTypes-CkvFScN3.js';
|
|
3
3
|
|
|
4
4
|
interface ProductDetails {
|
|
5
5
|
id: string;
|
package/dist/next/index.d.mts
CHANGED
|
@@ -84,7 +84,7 @@ declare enum ProductStatus {
|
|
|
84
84
|
Trialing = "trialing",
|
|
85
85
|
Scheduled = "scheduled"
|
|
86
86
|
}
|
|
87
|
-
type CustomerExpandOption = "invoices" | "rewards" | "trials_used";
|
|
87
|
+
type CustomerExpandOption = "invoices" | "rewards" | "trials_used" | "entities";
|
|
88
88
|
|
|
89
89
|
interface CustomerFeature {
|
|
90
90
|
id: string;
|
package/dist/next/index.d.ts
CHANGED
|
@@ -84,7 +84,7 @@ declare enum ProductStatus {
|
|
|
84
84
|
Trialing = "trialing",
|
|
85
85
|
Scheduled = "scheduled"
|
|
86
86
|
}
|
|
87
|
-
type CustomerExpandOption = "invoices" | "rewards" | "trials_used";
|
|
87
|
+
type CustomerExpandOption = "invoices" | "rewards" | "trials_used" | "entities";
|
|
88
88
|
|
|
89
89
|
interface CustomerFeature {
|
|
90
90
|
id: string;
|
|
@@ -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-DKovOcy4.mjs';
|
|
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-DKovOcy4.js';
|
|
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-BUB62khr.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-DKovOcy4.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-Bk9vSoWW.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-DKovOcy4.js';
|
|
4
4
|
|
|
5
5
|
declare class Autumn {
|
|
6
6
|
private readonly secretKey;
|
|
@@ -31,7 +31,7 @@ declare enum ProductStatus {
|
|
|
31
31
|
Trialing = "trialing",
|
|
32
32
|
Scheduled = "scheduled"
|
|
33
33
|
}
|
|
34
|
-
type CustomerExpandOption = "invoices" | "rewards" | "trials_used";
|
|
34
|
+
type CustomerExpandOption = "invoices" | "rewards" | "trials_used" | "entities";
|
|
35
35
|
|
|
36
36
|
interface CustomerFeature {
|
|
37
37
|
id: string;
|
|
@@ -31,7 +31,7 @@ declare enum ProductStatus {
|
|
|
31
31
|
Trialing = "trialing",
|
|
32
32
|
Scheduled = "scheduled"
|
|
33
33
|
}
|
|
34
|
-
type CustomerExpandOption = "invoices" | "rewards" | "trials_used";
|
|
34
|
+
type CustomerExpandOption = "invoices" | "rewards" | "trials_used" | "entities";
|
|
35
35
|
|
|
36
36
|
interface CustomerFeature {
|
|
37
37
|
id: 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-BUB62khr.mjs';
|
|
2
|
+
import { C as CustomerData, B as BillingPortalParams } from './cusTypes-DKovOcy4.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-Bk9vSoWW.js';
|
|
2
|
+
import { C as CustomerData, B as BillingPortalParams } from './cusTypes-DKovOcy4.js';
|
|
3
3
|
|
|
4
4
|
declare const attachAction: (args: Omit<{
|
|
5
5
|
customerId: string;
|
|
@@ -6,7 +6,7 @@ declare enum ProductStatus {
|
|
|
6
6
|
Trialing = "trialing",
|
|
7
7
|
Scheduled = "scheduled"
|
|
8
8
|
}
|
|
9
|
-
type CustomerExpandOption = "invoices" | "rewards" | "trials_used";
|
|
9
|
+
type CustomerExpandOption = "invoices" | "rewards" | "trials_used" | "entities";
|
|
10
10
|
|
|
11
11
|
interface CustomerFeature {
|
|
12
12
|
id: string;
|
|
@@ -6,7 +6,7 @@ declare enum ProductStatus {
|
|
|
6
6
|
Trialing = "trialing",
|
|
7
7
|
Scheduled = "scheduled"
|
|
8
8
|
}
|
|
9
|
-
type CustomerExpandOption = "invoices" | "rewards" | "trials_used";
|
|
9
|
+
type CustomerExpandOption = "invoices" | "rewards" | "trials_used" | "entities";
|
|
10
10
|
|
|
11
11
|
interface CustomerFeature {
|
|
12
12
|
id: 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-B23zHrUo.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-BlqRIXj7.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-BlqRIXj7.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-B23zHrUo.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-B23zHrUo.mjs';
|
|
2
|
+
export { C as CreateEntityParams, a as CreateEntityResult, D as DeleteEntityResult, E as Entity, b as EntityData, G as GetEntityParams } from './entTypes-DpsIA4fJ.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-BlqRIXj7.js';
|
|
2
|
+
export { C as CreateEntityParams, a as CreateEntityResult, D as DeleteEntityResult, E as Entity, b as EntityData, G as GetEntityParams } from './entTypes-CNO6Bj5k.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-B23zHrUo.mjs';
|
|
2
|
+
import { b as EntityData } from './entTypes-DpsIA4fJ.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-BlqRIXj7.js';
|
|
2
|
+
import { b as EntityData } from './entTypes-CNO6Bj5k.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-B23zHrUo.mjs';
|
|
6
|
+
export { e as CustomerData, g as CustomerExpandOption, c as CustomerFeature, f as CustomerInvoice, d as CustomerProduct, P as ProductStatus } from './cusTypes-B23zHrUo.mjs';
|
|
7
|
+
import { G as GetEntityParams, E as Entity, C as CreateEntityParams, a as CreateEntityResult, D as DeleteEntityResult } from './entTypes-DpsIA4fJ.mjs';
|
|
8
|
+
export { b as EntityData, c as EntityExpandOption } from './entTypes-DpsIA4fJ.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';
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ import { AttachParams, AttachResult, UsageParams, UsageResult, CancelParams, Can
|
|
|
2
2
|
export { AttachFeatureOptions, EntitledBalance } from './general.js';
|
|
3
3
|
import { Product, CreateProductParams, ListProductsParams } from './products.js';
|
|
4
4
|
export { FreeTrial, PriceTier, ProductItem } from './products.js';
|
|
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-BlqRIXj7.js';
|
|
6
|
+
export { e as CustomerData, g as CustomerExpandOption, c as CustomerFeature, f as CustomerInvoice, d as CustomerProduct, P as ProductStatus } from './cusTypes-BlqRIXj7.js';
|
|
7
|
+
import { G as GetEntityParams, E as Entity, C as CreateEntityParams, a as CreateEntityResult, D as DeleteEntityResult } from './entTypes-CNO6Bj5k.js';
|
|
8
|
+
export { b as EntityData, c as EntityExpandOption } from './entTypes-CNO6Bj5k.js';
|
|
9
9
|
import { CreateReferralCodeParams, RedeemReferralCodeParams } from './referrals.js';
|
|
10
10
|
export { CreateReferralCodeResult, RedeemReferralCodeResult } from './referrals.js';
|
|
11
11
|
export { CheckFeatureFormattedPreview, CheckFeatureScenario, CheckProductFormattedPreview, CheckProductScenario } from './check.js';
|