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.
Files changed (93) hide show
  1. package/dist/libraries/backend/express.d.mts +1 -1
  2. package/dist/libraries/backend/express.d.ts +1 -1
  3. package/dist/libraries/backend/{referralTypes-BAqOAIcw.d.ts → referralTypes-BeAYZaem.d.ts} +1 -1
  4. package/dist/libraries/backend/{referralTypes-7ly17ITy.d.mts → referralTypes-d9F2CFOg.d.mts} +1 -1
  5. package/dist/libraries/backend/routes/backendRouter.d.mts +1 -1
  6. package/dist/libraries/backend/routes/backendRouter.d.ts +1 -1
  7. package/dist/libraries/backend/utils/withAuth.d.mts +1 -1
  8. package/dist/libraries/backend/utils/withAuth.d.ts +1 -1
  9. package/dist/libraries/react/AutumnContext.d.mts +4 -4
  10. package/dist/libraries/react/AutumnContext.d.ts +4 -4
  11. package/dist/libraries/react/BaseAutumnProvider.d.mts +4 -4
  12. package/dist/libraries/react/BaseAutumnProvider.d.ts +4 -4
  13. package/dist/libraries/react/{ReactAutumnClient-CweyGxvU.d.mts → ReactAutumnClient-6_K0K8uN.d.mts} +3 -3
  14. package/dist/libraries/react/{ReactAutumnClient-BBe9BBj8.d.ts → ReactAutumnClient-CrVvYcoL.d.ts} +3 -3
  15. package/dist/libraries/react/ReactAutumnProvider.d.mts +1 -1
  16. package/dist/libraries/react/ReactAutumnProvider.d.ts +1 -1
  17. package/dist/libraries/react/client/ReactAutumnClient.d.mts +4 -4
  18. package/dist/libraries/react/client/ReactAutumnClient.d.ts +4 -4
  19. package/dist/libraries/react/client/clientCompMethods.d.mts +4 -4
  20. package/dist/libraries/react/client/clientCompMethods.d.ts +4 -4
  21. package/dist/libraries/react/client/clientCusMethods.d.mts +4 -4
  22. package/dist/libraries/react/client/clientCusMethods.d.ts +4 -4
  23. package/dist/libraries/react/client/clientEntityMethods.d.mts +4 -4
  24. package/dist/libraries/react/client/clientEntityMethods.d.ts +4 -4
  25. package/dist/libraries/react/client/clientGenMethods.d.mts +4 -4
  26. package/dist/libraries/react/client/clientGenMethods.d.ts +4 -4
  27. package/dist/libraries/react/client/clientReferralMethods.d.mts +4 -4
  28. package/dist/libraries/react/client/clientReferralMethods.d.ts +4 -4
  29. package/dist/libraries/react/{cusTypes-CrKQos3U.d.mts → cusTypes-Dtfv_ZQO.d.mts} +1 -1
  30. package/dist/libraries/react/{cusTypes-CrKQos3U.d.ts → cusTypes-Dtfv_ZQO.d.ts} +1 -1
  31. package/dist/libraries/react/{entTypes-Pu4KEgBU.d.ts → entTypes-Cg52AqdY.d.ts} +1 -1
  32. package/dist/libraries/react/{entTypes-D5hhz3BB.d.mts → entTypes-DkM1ogDb.d.mts} +1 -1
  33. package/dist/libraries/react/hooks/useAutumn.d.mts +2 -2
  34. package/dist/libraries/react/hooks/useAutumn.d.ts +2 -2
  35. package/dist/libraries/react/hooks/useCustomer.d.mts +4 -4
  36. package/dist/libraries/react/hooks/useCustomer.d.ts +4 -4
  37. package/dist/libraries/react/hooks/useCustomerProvider.d.mts +4 -4
  38. package/dist/libraries/react/hooks/useCustomerProvider.d.ts +4 -4
  39. package/dist/libraries/react/hooks/useEntity.d.mts +2 -2
  40. package/dist/libraries/react/hooks/useEntity.d.ts +2 -2
  41. package/dist/libraries/react/hooks/useEntityProvider.d.mts +4 -4
  42. package/dist/libraries/react/hooks/useEntityProvider.d.ts +4 -4
  43. package/dist/libraries/react/hooks/usePricingTableProvider.d.mts +4 -4
  44. package/dist/libraries/react/hooks/usePricingTableProvider.d.ts +4 -4
  45. package/dist/libraries/react/index.d.mts +4 -4
  46. package/dist/libraries/react/index.d.ts +4 -4
  47. package/dist/libraries/react/{response-T-FFa-qt.d.mts → response-DWkhXkVL.d.mts} +1 -1
  48. package/dist/libraries/react/{response-muDt0SJZ.d.ts → response-nVwSEz-O.d.ts} +1 -1
  49. package/dist/next/client/AutumnContext.d.mts +2 -2
  50. package/dist/next/client/AutumnContext.d.ts +2 -2
  51. package/dist/next/client/AutumnProvider.d.mts +1 -1
  52. package/dist/next/client/AutumnProvider.d.ts +1 -1
  53. package/dist/next/client/clientUtils.d.mts +2 -2
  54. package/dist/next/client/clientUtils.d.ts +2 -2
  55. package/dist/next/client/{cusTypes-DsDs_Qyb.d.ts → cusTypes-BnoFYGwY.d.mts} +1 -1
  56. package/dist/next/client/{cusTypes-DsDs_Qyb.d.mts → cusTypes-BnoFYGwY.d.ts} +1 -1
  57. package/dist/next/client/{entTypes-B1SnNOgv.d.ts → entTypes-CkvFScN3.d.ts} +1 -1
  58. package/dist/next/client/{entTypes-DMAhz9Dg.d.mts → entTypes-bvkIjQLR.d.mts} +1 -1
  59. package/dist/next/client/hooks/useCustomer.d.mts +2 -2
  60. package/dist/next/client/hooks/useCustomer.d.ts +2 -2
  61. package/dist/next/client/hooks/useEntity.d.mts +2 -2
  62. package/dist/next/client/hooks/useEntity.d.ts +2 -2
  63. package/dist/next/client/hooks/usePricingTable.d.mts +2 -2
  64. package/dist/next/client/hooks/usePricingTable.d.ts +2 -2
  65. package/dist/next/client/types.d.mts +2 -2
  66. package/dist/next/client/types.d.ts +2 -2
  67. package/dist/next/index.d.mts +1 -1
  68. package/dist/next/index.d.ts +1 -1
  69. package/dist/next/server/auth/withAuth.d.mts +1 -1
  70. package/dist/next/server/auth/withAuth.d.ts +1 -1
  71. package/dist/next/server/{clientEntTypes-CvbBjPmI.d.mts → clientEntTypes-BUB62khr.d.mts} +1 -1
  72. package/dist/next/server/{clientEntTypes-aaR6GtOf.d.ts → clientEntTypes-Bk9vSoWW.d.ts} +1 -1
  73. package/dist/next/server/componentActions.d.mts +1 -1
  74. package/dist/next/server/componentActions.d.ts +1 -1
  75. package/dist/next/server/cusActions.d.mts +2 -2
  76. package/dist/next/server/cusActions.d.ts +2 -2
  77. package/dist/next/server/{cusTypes-BY1nr3mk.d.mts → cusTypes-DKovOcy4.d.mts} +1 -1
  78. package/dist/next/server/{cusTypes-BY1nr3mk.d.ts → cusTypes-DKovOcy4.d.ts} +1 -1
  79. package/dist/next/server/genActions.d.mts +2 -2
  80. package/dist/next/server/genActions.d.ts +2 -2
  81. package/dist/sdk/{cusTypes-pV7nKIcc.d.mts → cusTypes-B23zHrUo.d.mts} +1 -1
  82. package/dist/sdk/{cusTypes-Cw74Oy0H.d.ts → cusTypes-BlqRIXj7.d.ts} +1 -1
  83. package/dist/sdk/customers.d.mts +1 -1
  84. package/dist/sdk/customers.d.ts +1 -1
  85. package/dist/sdk/{entTypes-DtPO-a4R.d.ts → entTypes-CNO6Bj5k.d.ts} +1 -1
  86. package/dist/sdk/{entTypes-CL-fMvnC.d.mts → entTypes-DpsIA4fJ.d.mts} +1 -1
  87. package/dist/sdk/entities.d.mts +2 -2
  88. package/dist/sdk/entities.d.ts +2 -2
  89. package/dist/sdk/general.d.mts +2 -2
  90. package/dist/sdk/general.d.ts +2 -2
  91. package/dist/sdk/index.d.mts +4 -4
  92. package/dist/sdk/index.d.ts +4 -4
  93. 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-CrKQos3U.mjs';
7
+ import './cusTypes-Dtfv_ZQO.mjs';
8
8
  import './hooks/useCustomerProvider.mjs';
9
- import './ReactAutumnClient-CweyGxvU.mjs';
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-T-FFa-qt.mjs';
13
+ import './response-DWkhXkVL.mjs';
14
14
  import './error-CG2LXoa7.mjs';
15
- import './entTypes-D5hhz3BB.mjs';
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-CrKQos3U.js';
7
+ import './cusTypes-Dtfv_ZQO.js';
8
8
  import './hooks/useCustomerProvider.js';
9
- import './ReactAutumnClient-BBe9BBj8.js';
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-muDt0SJZ.js';
13
+ import './response-nVwSEz-O.js';
14
14
  import './error-CG2LXoa7.js';
15
- import './entTypes-Pu4KEgBU.js';
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-CrKQos3U.mjs';
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-CrKQos3U.js';
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-DsDs_Qyb.mjs';
4
- import './entTypes-DMAhz9Dg.mjs';
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-DsDs_Qyb.js';
4
- import './entTypes-B1SnNOgv.js';
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,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as CustomerData } from './cusTypes-DsDs_Qyb.mjs';
2
+ import { C as CustomerData } from './cusTypes-BnoFYGwY.mjs';
3
3
 
4
4
  interface AutumnProviderProps {
5
5
  children?: React.ReactNode;
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as CustomerData } from './cusTypes-DsDs_Qyb.js';
2
+ import { C as CustomerData } from './cusTypes-BnoFYGwY.js';
3
3
 
4
4
  interface AutumnProviderProps {
5
5
  children?: React.ReactNode;
@@ -1,6 +1,6 @@
1
1
  import { AutumnClientError, PricingTableProduct } from './types.mjs';
2
- import './cusTypes-DsDs_Qyb.mjs';
3
- import './entTypes-DMAhz9Dg.mjs';
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-DsDs_Qyb.js';
3
- import './entTypes-B1SnNOgv.js';
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,4 +1,4 @@
1
- import { c as CustomerProduct, d as CustomerFeature, e as CustomerInvoice } from './cusTypes-DsDs_Qyb.js';
1
+ import { c as CustomerProduct, d as CustomerFeature, e as CustomerInvoice } from './cusTypes-BnoFYGwY.js';
2
2
 
3
3
  type EntityExpandOption = "invoices";
4
4
 
@@ -1,4 +1,4 @@
1
- import { c as CustomerProduct, d as CustomerFeature, e as CustomerInvoice } from './cusTypes-DsDs_Qyb.mjs';
1
+ import { c as CustomerProduct, d as CustomerFeature, e as CustomerInvoice } from './cusTypes-BnoFYGwY.mjs';
2
2
 
3
3
  type EntityExpandOption = "invoices";
4
4
 
@@ -1,9 +1,9 @@
1
- import { a as CustomerExpandOption, C as CustomerData, b as Customer } from '../cusTypes-DsDs_Qyb.mjs';
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-DMAhz9Dg.mjs';
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-DsDs_Qyb.js';
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-B1SnNOgv.js';
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-DMAhz9Dg.mjs';
3
- import '../cusTypes-DsDs_Qyb.mjs';
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-B1SnNOgv.js';
3
- import '../cusTypes-DsDs_Qyb.js';
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-DsDs_Qyb.mjs';
3
- import '../entTypes-DMAhz9Dg.mjs';
2
+ import '../cusTypes-BnoFYGwY.mjs';
3
+ import '../entTypes-bvkIjQLR.mjs';
4
4
 
5
5
  declare const usePricingTable: (options?: {
6
6
  productDetails: {
@@ -1,6 +1,6 @@
1
1
  import { PricingTableProduct } from '../types.js';
2
- import '../cusTypes-DsDs_Qyb.js';
3
- import '../entTypes-B1SnNOgv.js';
2
+ import '../cusTypes-BnoFYGwY.js';
3
+ import '../entTypes-CkvFScN3.js';
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-DsDs_Qyb.mjs';
2
- import { E as Entity } from './entTypes-DMAhz9Dg.mjs';
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-DsDs_Qyb.js';
2
- import { E as Entity } from './entTypes-B1SnNOgv.js';
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;
@@ -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;
@@ -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 { C as CustomerData } from '../cusTypes-BY1nr3mk.mjs';
1
+ import { C as CustomerData } from '../cusTypes-DKovOcy4.mjs';
2
2
 
3
3
  declare const withAuth: <T extends {
4
4
  customerId?: string;
@@ -1,4 +1,4 @@
1
- import { C as CustomerData } from '../cusTypes-BY1nr3mk.js';
1
+ import { C as CustomerData } from '../cusTypes-DKovOcy4.js';
2
2
 
3
3
  declare const withAuth: <T extends {
4
4
  customerId?: 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-BY1nr3mk.mjs';
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-BY1nr3mk.js';
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,4 +1,4 @@
1
- import { C as CustomerData } from './cusTypes-BY1nr3mk.mjs';
1
+ import { C as CustomerData } from './cusTypes-DKovOcy4.mjs';
2
2
 
3
3
  declare const getPricingTableAction: (args: Omit<{
4
4
  customerId?: string;
@@ -1,4 +1,4 @@
1
- import { C as CustomerData } from './cusTypes-BY1nr3mk.js';
1
+ import { C as CustomerData } from './cusTypes-DKovOcy4.js';
2
2
 
3
3
  declare const getPricingTableAction: (args: Omit<{
4
4
  customerId?: string;
@@ -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-CvbBjPmI.mjs';
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-BY1nr3mk.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-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-aaR6GtOf.js';
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-BY1nr3mk.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-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-CvbBjPmI.mjs';
2
- import { C as CustomerData, B as BillingPortalParams } from './cusTypes-BY1nr3mk.mjs';
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-aaR6GtOf.js';
2
- import { C as CustomerData, B as BillingPortalParams } from './cusTypes-BY1nr3mk.js';
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;
@@ -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-pV7nKIcc.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-B23zHrUo.mjs';
@@ -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-Cw74Oy0H.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-BlqRIXj7.js';
@@ -1,4 +1,4 @@
1
- import { e as CustomerData, d as CustomerProduct, c as CustomerFeature, f as CustomerInvoice } from './cusTypes-Cw74Oy0H.js';
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-pV7nKIcc.mjs';
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
 
@@ -1,3 +1,3 @@
1
- import './cusTypes-pV7nKIcc.mjs';
2
- export { C as CreateEntityParams, a as CreateEntityResult, D as DeleteEntityResult, E as Entity, b as EntityData, G as GetEntityParams } from './entTypes-CL-fMvnC.mjs';
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';
@@ -1,3 +1,3 @@
1
- import './cusTypes-Cw74Oy0H.js';
2
- export { C as CreateEntityParams, a as CreateEntityResult, D as DeleteEntityResult, E as Entity, b as EntityData, G as GetEntityParams } from './entTypes-DtPO-a4R.js';
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';
@@ -1,5 +1,5 @@
1
- import { e as CustomerData } from './cusTypes-pV7nKIcc.mjs';
2
- import { b as EntityData } from './entTypes-CL-fMvnC.mjs';
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';
@@ -1,5 +1,5 @@
1
- import { e as CustomerData } from './cusTypes-Cw74Oy0H.js';
2
- import { b as EntityData } from './entTypes-DtPO-a4R.js';
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';
@@ -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-pV7nKIcc.mjs';
6
- export { e as CustomerData, g as CustomerExpandOption, c as CustomerFeature, f as CustomerInvoice, d as CustomerProduct, P as ProductStatus } from './cusTypes-pV7nKIcc.mjs';
7
- import { G as GetEntityParams, E as Entity, C as CreateEntityParams, a as CreateEntityResult, D as DeleteEntityResult } from './entTypes-CL-fMvnC.mjs';
8
- export { b as EntityData, c as EntityExpandOption } from './entTypes-CL-fMvnC.mjs';
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';
@@ -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-Cw74Oy0H.js';
6
- export { e as CustomerData, g as CustomerExpandOption, c as CustomerFeature, f as CustomerInvoice, d as CustomerProduct, P as ProductStatus } from './cusTypes-Cw74Oy0H.js';
7
- import { G as GetEntityParams, E as Entity, C as CreateEntityParams, a as CreateEntityResult, D as DeleteEntityResult } from './entTypes-DtPO-a4R.js';
8
- export { b as EntityData, c as EntityExpandOption } from './entTypes-DtPO-a4R.js';
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';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "autumn-js",
3
3
  "description": "Autumn JS Library",
4
- "version": "0.0.51",
4
+ "version": "0.0.52",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
7
7
  "cli": "tsx src/cli/index.ts",