autumn-js 0.0.55 → 0.0.58
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/{chunk-AMBZYTL6.mjs → chunk-EJQ2IWD7.mjs} +0 -1
- package/dist/libraries/backend/express.d.mts +1 -1
- package/dist/libraries/backend/express.d.ts +1 -1
- package/dist/libraries/backend/express.js +0 -1
- package/dist/libraries/backend/express.mjs +1 -1
- package/dist/libraries/backend/fastify.js +0 -1
- package/dist/libraries/backend/fastify.mjs +1 -1
- package/dist/libraries/backend/hono.js +0 -1
- package/dist/libraries/backend/hono.mjs +1 -1
- package/dist/libraries/backend/next.js +0 -1
- package/dist/libraries/backend/next.mjs +1 -1
- package/dist/libraries/backend/{referralTypes-CclnEklS.d.ts → referralTypes-37gz0Ewe.d.ts} +3 -2
- package/dist/libraries/backend/{referralTypes-BSYw6Jo-.d.mts → referralTypes-D89v4Fvv.d.mts} +3 -2
- package/dist/libraries/backend/remix.js +0 -1
- package/dist/libraries/backend/remix.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/routes/backendRouter.js +0 -1
- package/dist/libraries/backend/routes/backendRouter.mjs +1 -1
- package/dist/libraries/backend/supabase.js +0 -1
- package/dist/libraries/backend/supabase.mjs +1 -1
- package/dist/libraries/backend/tanstack.js +0 -1
- package/dist/libraries/backend/tanstack.mjs +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-U2y0dW1p.d.ts → ReactAutumnClient-C40g9Jwz.d.ts} +3 -3
- package/dist/libraries/react/{ReactAutumnClient-zXHlqOBg.d.mts → ReactAutumnClient-D8NNG8YF.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/{chunk-WCVQJZIX.mjs → chunk-5PFGJ7NT.mjs} +2 -23
- 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/client/types/clientGenTypes.d.mts +1 -1
- package/dist/libraries/react/client/types/clientGenTypes.d.ts +1 -1
- package/dist/libraries/react/{cusTypes-Dtfv_ZQO.d.mts → cusTypes-DhpsTJC0.d.mts} +2 -1
- package/dist/libraries/react/{cusTypes-Dtfv_ZQO.d.ts → cusTypes-DhpsTJC0.d.ts} +2 -1
- package/dist/libraries/react/{entTypes-DkM1ogDb.d.mts → entTypes-Cn8-V8zo.d.mts} +1 -1
- package/dist/libraries/react/{entTypes-Cg52AqdY.d.ts → entTypes-DzREETKM.d.ts} +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/useAutumn.js +2 -23
- package/dist/libraries/react/hooks/useAutumn.mjs +1 -1
- 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/index.js +2 -23
- package/dist/libraries/react/index.mjs +1 -1
- package/dist/libraries/react/{response-C_a68gs9.d.mts → response-CvKqaxNd.d.mts} +1 -1
- package/dist/libraries/react/{response-CcT2liD_.d.ts → response-DYtSBKc8.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-BnoFYGwY.d.mts → cusTypes-XcX2qEC7.d.mts} +2 -1
- package/dist/next/client/{cusTypes-BnoFYGwY.d.ts → cusTypes-XcX2qEC7.d.ts} +2 -1
- package/dist/next/client/{entTypes-bvkIjQLR.d.mts → entTypes-DAjGmWqH.d.mts} +1 -1
- package/dist/next/client/{entTypes-CkvFScN3.d.ts → entTypes-DsWPhppx.d.ts} +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 +2 -1
- package/dist/next/index.d.ts +2 -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-DHpBjJUt.d.ts → clientEntTypes-B4rt0N8N.d.mts} +2 -2
- package/dist/next/server/{clientEntTypes-BmcLKJxV.d.mts → clientEntTypes-CdnUUQbY.d.ts} +2 -2
- 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-DKovOcy4.d.mts → cusTypes-H9vsIluW.d.mts} +2 -1
- package/dist/next/server/{cusTypes-DKovOcy4.d.ts → cusTypes-H9vsIluW.d.ts} +2 -1
- package/dist/next/server/genActions.d.mts +2 -2
- package/dist/next/server/genActions.d.ts +2 -2
- package/dist/sdk/{cusTypes-B23zHrUo.d.mts → cusTypes-ChldELiB.d.mts} +2 -1
- package/dist/sdk/{cusTypes-BlqRIXj7.d.ts → cusTypes-PC7Qx3oj.d.ts} +2 -1
- package/dist/sdk/customers.d.mts +1 -1
- package/dist/sdk/customers.d.ts +1 -1
- package/dist/sdk/{entTypes-CNO6Bj5k.d.ts → entTypes-CYxI_JDG.d.ts} +1 -1
- package/dist/sdk/{entTypes-DpsIA4fJ.d.mts → entTypes-D-c07roO.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 +3 -3
- package/dist/sdk/general.d.ts +3 -3
- package/dist/sdk/index.d.mts +4 -4
- package/dist/sdk/index.d.ts +4 -4
- package/dist/sdk/index.js +1 -0
- package/dist/sdk/index.mjs +1 -0
- package/package.json +1 -1
|
@@ -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-B4rt0N8N.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-H9vsIluW.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-CdnUUQbY.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-H9vsIluW.js';
|
|
4
4
|
|
|
5
5
|
declare class Autumn {
|
|
6
6
|
private readonly secretKey;
|
|
@@ -29,7 +29,8 @@ declare enum ProductStatus {
|
|
|
29
29
|
Active = "active",
|
|
30
30
|
Expired = "expired",
|
|
31
31
|
Trialing = "trialing",
|
|
32
|
-
Scheduled = "scheduled"
|
|
32
|
+
Scheduled = "scheduled",
|
|
33
|
+
PastDue = "past_due"
|
|
33
34
|
}
|
|
34
35
|
type CustomerExpandOption = "invoices" | "rewards" | "trials_used" | "entities";
|
|
35
36
|
|
|
@@ -29,7 +29,8 @@ declare enum ProductStatus {
|
|
|
29
29
|
Active = "active",
|
|
30
30
|
Expired = "expired",
|
|
31
31
|
Trialing = "trialing",
|
|
32
|
-
Scheduled = "scheduled"
|
|
32
|
+
Scheduled = "scheduled",
|
|
33
|
+
PastDue = "past_due"
|
|
33
34
|
}
|
|
34
35
|
type CustomerExpandOption = "invoices" | "rewards" | "trials_used" | "entities";
|
|
35
36
|
|
|
@@ -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-B4rt0N8N.mjs';
|
|
2
|
+
import { C as CustomerData, B as BillingPortalParams } from './cusTypes-H9vsIluW.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-CdnUUQbY.js';
|
|
2
|
+
import { C as CustomerData, B as BillingPortalParams } from './cusTypes-H9vsIluW.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-ChldELiB.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-PC7Qx3oj.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-PC7Qx3oj.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-ChldELiB.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-ChldELiB.mjs';
|
|
2
|
+
export { C as CreateEntityParams, a as CreateEntityResult, D as DeleteEntityResult, E as Entity, b as EntityData, G as GetEntityParams } from './entTypes-D-c07roO.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-PC7Qx3oj.js';
|
|
2
|
+
export { C as CreateEntityParams, a as CreateEntityResult, D as DeleteEntityResult, E as Entity, b as EntityData, G as GetEntityParams } from './entTypes-CYxI_JDG.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-ChldELiB.mjs';
|
|
2
|
+
import { b as EntityData } from './entTypes-D-c07roO.mjs';
|
|
3
3
|
import { CheckProductFormattedPreview, CheckFeatureFormattedPreview } from './check.mjs';
|
|
4
4
|
import './prodEnums-C1lccCWI.mjs';
|
|
5
5
|
import './products.mjs';
|
|
@@ -10,7 +10,7 @@ interface AttachFeatureOptions {
|
|
|
10
10
|
}
|
|
11
11
|
interface AttachParams {
|
|
12
12
|
customer_id: string;
|
|
13
|
-
product_id
|
|
13
|
+
product_id?: string;
|
|
14
14
|
entity_id?: string;
|
|
15
15
|
options?: AttachFeatureOptions[];
|
|
16
16
|
product_ids?: string[];
|
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-PC7Qx3oj.js';
|
|
2
|
+
import { b as EntityData } from './entTypes-CYxI_JDG.js';
|
|
3
3
|
import { CheckProductFormattedPreview, CheckFeatureFormattedPreview } from './check.js';
|
|
4
4
|
import './prodEnums-C1lccCWI.js';
|
|
5
5
|
import './products.js';
|
|
@@ -10,7 +10,7 @@ interface AttachFeatureOptions {
|
|
|
10
10
|
}
|
|
11
11
|
interface AttachParams {
|
|
12
12
|
customer_id: string;
|
|
13
|
-
product_id
|
|
13
|
+
product_id?: string;
|
|
14
14
|
entity_id?: string;
|
|
15
15
|
options?: AttachFeatureOptions[];
|
|
16
16
|
product_ids?: string[];
|
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-ChldELiB.mjs';
|
|
6
|
+
export { e as CustomerData, g as CustomerExpandOption, c as CustomerFeature, f as CustomerInvoice, d as CustomerProduct, P as ProductStatus } from './cusTypes-ChldELiB.mjs';
|
|
7
|
+
import { G as GetEntityParams, E as Entity, C as CreateEntityParams, a as CreateEntityResult, D as DeleteEntityResult } from './entTypes-D-c07roO.mjs';
|
|
8
|
+
export { b as EntityData, c as EntityExpandOption } from './entTypes-D-c07roO.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-PC7Qx3oj.js';
|
|
6
|
+
export { e as CustomerData, g as CustomerExpandOption, c as CustomerFeature, f as CustomerInvoice, d as CustomerProduct, P as ProductStatus } from './cusTypes-PC7Qx3oj.js';
|
|
7
|
+
import { G as GetEntityParams, E as Entity, C as CreateEntityParams, a as CreateEntityResult, D as DeleteEntityResult } from './entTypes-CYxI_JDG.js';
|
|
8
|
+
export { b as EntityData, c as EntityExpandOption } from './entTypes-CYxI_JDG.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';
|
package/dist/sdk/index.js
CHANGED
|
@@ -422,6 +422,7 @@ var ProductStatus = /* @__PURE__ */ ((ProductStatus2) => {
|
|
|
422
422
|
ProductStatus2["Expired"] = "expired";
|
|
423
423
|
ProductStatus2["Trialing"] = "trialing";
|
|
424
424
|
ProductStatus2["Scheduled"] = "scheduled";
|
|
425
|
+
ProductStatus2["PastDue"] = "past_due";
|
|
425
426
|
return ProductStatus2;
|
|
426
427
|
})(ProductStatus || {});
|
|
427
428
|
|
package/dist/sdk/index.mjs
CHANGED
|
@@ -420,6 +420,7 @@ var ProductStatus = /* @__PURE__ */ ((ProductStatus2) => {
|
|
|
420
420
|
ProductStatus2["Expired"] = "expired";
|
|
421
421
|
ProductStatus2["Trialing"] = "trialing";
|
|
422
422
|
ProductStatus2["Scheduled"] = "scheduled";
|
|
423
|
+
ProductStatus2["PastDue"] = "past_due";
|
|
423
424
|
return ProductStatus2;
|
|
424
425
|
})(ProductStatus || {});
|
|
425
426
|
|