@saasicat/nest 0.19.0 → 0.21.0
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/_entries.cjs +337 -376
- package/dist/admin/index.js +2 -1
- package/dist/billing/index.d.cts +7 -6
- package/dist/billing/index.d.ts +7 -6
- package/dist/billing/index.js +4 -3
- package/dist/catalog/index.js +2 -2
- package/dist/checkout-offer/index.js +1 -1
- package/dist/{chunk-6WA4X5U3.js → chunk-3DRZ5GCP.js} +40 -90
- package/dist/{chunk-EUU3B6NB.js → chunk-4O6R6ARQ.js} +12 -6
- package/dist/{chunk-AFK2IE2L.js → chunk-55QGAZRQ.js} +1 -1
- package/dist/{chunk-F6DCLVBB.js → chunk-AGOG5B77.js} +8 -2
- package/dist/chunk-EBJJNTW6.js +22 -0
- package/dist/{chunk-7JIHG53V.js → chunk-FYWLPYBK.js} +4 -1
- package/dist/{chunk-LXUBCLRK.js → chunk-GC5AKN44.js} +9 -8
- package/dist/{chunk-I77VS3YH.js → chunk-NZLAYCEX.js} +16 -22
- package/dist/{chunk-QLJHIIOY.js → chunk-VQQWF7MW.js} +7 -3
- package/dist/{chunk-ORWIGSNN.js → chunk-XTVAFJ3P.js} +2 -1
- package/dist/{chunk-KUDKD7ZG.js → chunk-ZH5PYEMI.js} +19 -21
- package/dist/{define-saasicat-CqkhnHn-.d.ts → define-saasicat-B20Ms8UC.d.ts} +1 -1
- package/dist/{define-saasicat-D8c6Bs4T.d.cts → define-saasicat-Cf9DpEsY.d.cts} +1 -1
- package/dist/{enforce-quota.interceptor-Dp8wTYro.d.ts → enforce-quota.interceptor-CUyfR4cQ.d.ts} +1 -1
- package/dist/{enforce-quota.interceptor-Dk0eEtzV.d.cts → enforce-quota.interceptor-Dtg5WdFj.d.cts} +1 -1
- package/dist/entitlement/index.js +2 -1
- package/dist/index.d.cts +27 -8
- package/dist/index.d.ts +27 -8
- package/dist/index.js +14 -10
- package/dist/{module-BwD-wAor.d.ts → module-BE17XFLg.d.ts} +1 -1
- package/dist/{module-DsDkbawm.d.cts → module-CHMIyWlf.d.cts} +1 -1
- package/dist/platform/index.d.cts +8 -8
- package/dist/platform/index.d.ts +8 -8
- package/dist/platform/index.js +9 -8
- package/dist/promo/index.d.cts +3 -3
- package/dist/promo/index.d.ts +3 -3
- package/dist/promo/index.js +3 -2
- package/dist/registration/index.js +2 -1
- package/dist/{saas-platform.module-DducnQ9s.d.cts → saas-platform.module-BfaYfL-G.d.cts} +1 -1
- package/dist/{saas-platform.module-BQmrDGVU.d.ts → saas-platform.module-DChhDrR-.d.ts} +1 -1
- package/dist/{service-DPZ2W1E-.d.ts → service-D48clObR.d.cts} +1 -1
- package/dist/{service-DPZ2W1E-.d.cts → service-D48clObR.d.ts} +1 -1
- package/dist/{tenant-billing.controller-m42YQ_Ei.d.cts → tenant-billing.controller-BIF-mstX.d.cts} +1 -1
- package/dist/{tenant-billing.controller-b1G1yB09.d.ts → tenant-billing.controller-DT5UrnDX.d.ts} +1 -1
- package/dist/testing/index.d.cts +5 -5
- package/dist/testing/index.d.ts +5 -5
- package/dist/testing/index.js +9 -8
- package/package.json +3 -3
package/dist/platform/index.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { p as PlanResolverPort } from '../saas-platform.module-
|
|
2
|
-
export { P as PLAN_RESOLVER_PORT_TOKEN, S as SaaSiCatModule, a as SaasPlatformAdapters, b as SaasPlatformAdminResourcesOptions, c as SaasPlatformAdminStatsOptions, d as SaasPlatformCatalogOptions, e as SaasPlatformCheckoutOfferOptions, S as SaasPlatformModule, f as SaasPlatformModuleOptions, g as SaasPlatformPromoCodesOptions, h as SaasPlatformSetupOptions, i as SaasPlatformSubscriptionBundlesOptions, j as SaasPlatformSubscriptionContractOptions, k as SaasPlatformTenantAuthGuards, l as SaasPlatformTenantBillingOptions, m as SetupModule, n as SetupModuleOptions, o as StaticPlanResolver, T as TenantManifestControllerOptions, q as buildTenantManifestController } from '../saas-platform.module-
|
|
3
|
-
export { a as SAASICAT_PUBLIC_ROUTE_KEY, d as SaaSiCatPublicRoute, S as SetupService, f as defineSaaSiCat, i as isSaaSiCatPublicRoute } from '../define-saasicat-
|
|
1
|
+
import { p as PlanResolverPort } from '../saas-platform.module-DChhDrR-.js';
|
|
2
|
+
export { P as PLAN_RESOLVER_PORT_TOKEN, S as SaaSiCatModule, a as SaasPlatformAdapters, b as SaasPlatformAdminResourcesOptions, c as SaasPlatformAdminStatsOptions, d as SaasPlatformCatalogOptions, e as SaasPlatformCheckoutOfferOptions, S as SaasPlatformModule, f as SaasPlatformModuleOptions, g as SaasPlatformPromoCodesOptions, h as SaasPlatformSetupOptions, i as SaasPlatformSubscriptionBundlesOptions, j as SaasPlatformSubscriptionContractOptions, k as SaasPlatformTenantAuthGuards, l as SaasPlatformTenantBillingOptions, m as SetupModule, n as SetupModuleOptions, o as StaticPlanResolver, T as TenantManifestControllerOptions, q as buildTenantManifestController } from '../saas-platform.module-DChhDrR-.js';
|
|
3
|
+
export { a as SAASICAT_PUBLIC_ROUTE_KEY, d as SaaSiCatPublicRoute, S as SetupService, f as defineSaaSiCat, i as isSaaSiCatPublicRoute } from '../define-saasicat-B20Ms8UC.js';
|
|
4
4
|
import { SubscriptionRepository, UsageSnapshotPort, QuotaProvider } from '@saasicat/types';
|
|
5
|
-
import { S as StaticEntitlementService } from '../enforce-quota.interceptor-
|
|
6
|
-
export { E as EnforceQuotaInterceptor, Q as QUOTA_PROVIDERS_TOKEN, b as STATIC_FEATURE_GUARD_CONFIG_TOKEN, c as StaticEntitlementSnapshot, a as StaticFeatureGuard, d as StaticFeatureGuardConfig } from '../enforce-quota.interceptor-
|
|
5
|
+
import { S as StaticEntitlementService } from '../enforce-quota.interceptor-CUyfR4cQ.js';
|
|
6
|
+
export { E as EnforceQuotaInterceptor, Q as QUOTA_PROVIDERS_TOKEN, b as STATIC_FEATURE_GUARD_CONFIG_TOKEN, c as StaticEntitlementSnapshot, a as StaticFeatureGuard, d as StaticFeatureGuardConfig } from '../enforce-quota.interceptor-CUyfR4cQ.js';
|
|
7
7
|
export { A as AdminBypassRlsInterceptor, a as AdminManifestModule, b as AdminManifestModuleOptions, c as AdminManifestService, d as AdminModule, e as AdminModuleOptions, f as AdminStatsService, M as MfaGuard, h as MfaService, S as SuperAdminGuard } from '../admin-stats.service-Db2exT_d.js';
|
|
8
8
|
export { A as AdminAuditService } from '../admin-audit.service-9IqXMlZm.js';
|
|
9
9
|
export { e as AdminResourcesService, f as AdminStatsModule, g as AdminStatsModuleOptions } from '../admin-resources.module-BY5r_1MG.js';
|
|
10
10
|
export { c as EntitlementService } from '../aggregation-o0LMenvl.js';
|
|
11
|
-
export { d as ComposedTenantAuthGuard, P as PendingPlanMaterializationService, h as PlanChangePreviewService, r as SubscriptionBundlePreviewService, s as SubscriptionBundlesService, T as TenantAdminGuard, t as TenantBillingController } from '../tenant-billing.controller-
|
|
11
|
+
export { d as ComposedTenantAuthGuard, P as PendingPlanMaterializationService, h as PlanChangePreviewService, r as SubscriptionBundlePreviewService, s as SubscriptionBundlesService, T as TenantAdminGuard, t as TenantBillingController } from '../tenant-billing.controller-DT5UrnDX.js';
|
|
12
12
|
export { B as BundlesService, C as CatalogEntriesService, M as MarketingProjectionsService, b as MarketingSettingsService, P as PlanVersionsService, c as PlansService, d as PromotionsService, e as PublicMarketingCatalogService } from '../plan-versions.service-BB36Q1bg.js';
|
|
13
13
|
export { c as DiscoveryScanner } from '../discovery.scanner-DLgEvuoy.js';
|
|
14
14
|
export { P as PromoCodeRateLimitGuard } from '../rate-limit.guard-dntqAlfZ.js';
|
|
15
|
-
export {
|
|
15
|
+
export { g as PromoCodesService } from '../service-D48clObR.js';
|
|
16
16
|
export { a as CheckoutOfferModule, b as CheckoutOfferModuleOptions } from '../checkout-offer.module-Ca3_TieR.js';
|
|
17
17
|
export { C as CheckoutOfferService } from '../checkout-offer.service-BX51dljL.js';
|
|
18
18
|
export { S as SubscriptionContractModule, a as SubscriptionContractModuleOptions } from '../subscription-contract.module-edyhBr4n.js';
|
|
@@ -20,7 +20,7 @@ export { S as SubscriptionContractService } from '../subscription-contract.servi
|
|
|
20
20
|
import '@nestjs/common';
|
|
21
21
|
import '../di-CcNeq9v-.js';
|
|
22
22
|
import '../plan-resolution-CFCoUkrE.js';
|
|
23
|
-
import '../module-
|
|
23
|
+
import '../module-BE17XFLg.js';
|
|
24
24
|
import '../catalog.module-BKObceo0.js';
|
|
25
25
|
import '../subscription-bundles.module-BQmoozm5.js';
|
|
26
26
|
import '@nestjs/core';
|
package/dist/platform/index.js
CHANGED
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
SubscriptionPlanResolver,
|
|
17
17
|
TenantManifestService,
|
|
18
18
|
buildTenantManifestController
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-ZH5PYEMI.js";
|
|
20
20
|
import {
|
|
21
21
|
PromoCodeRateLimitGuard
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-4O6R6ARQ.js";
|
|
23
23
|
import {
|
|
24
24
|
AdminBypassRlsInterceptor,
|
|
25
25
|
AdminManifestModule,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
MfaGuard,
|
|
32
32
|
MfaService,
|
|
33
33
|
SuperAdminGuard
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-FYWLPYBK.js";
|
|
35
35
|
import {
|
|
36
36
|
ComposedTenantAuthGuard,
|
|
37
37
|
PendingPlanMaterializationService,
|
|
@@ -40,10 +40,10 @@ import {
|
|
|
40
40
|
SubscriptionBundlesService,
|
|
41
41
|
TenantAdminGuard,
|
|
42
42
|
TenantBillingController
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-NZLAYCEX.js";
|
|
44
44
|
import {
|
|
45
45
|
PromoCodesService
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-VQQWF7MW.js";
|
|
47
47
|
import {
|
|
48
48
|
SubscriptionContractModule,
|
|
49
49
|
SubscriptionContractService
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
PlansService,
|
|
58
58
|
PromotionsService,
|
|
59
59
|
PublicMarketingCatalogService
|
|
60
|
-
} from "../chunk-
|
|
60
|
+
} from "../chunk-GC5AKN44.js";
|
|
61
61
|
import "../chunk-WPUVJRIN.js";
|
|
62
62
|
import {
|
|
63
63
|
AdminAuditService
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
import {
|
|
66
66
|
CheckoutOfferModule,
|
|
67
67
|
CheckoutOfferService
|
|
68
|
-
} from "../chunk-
|
|
68
|
+
} from "../chunk-XTVAFJ3P.js";
|
|
69
69
|
import "../chunk-BSK6YBLI.js";
|
|
70
70
|
import {
|
|
71
71
|
SAASICAT_PUBLIC_ROUTE_KEY,
|
|
@@ -78,9 +78,10 @@ import {
|
|
|
78
78
|
} from "../chunk-5ZXBXYXU.js";
|
|
79
79
|
import {
|
|
80
80
|
EntitlementService
|
|
81
|
-
} from "../chunk-
|
|
81
|
+
} from "../chunk-AGOG5B77.js";
|
|
82
82
|
import "../chunk-DQKCK7DX.js";
|
|
83
83
|
import "../chunk-NYLON2VC.js";
|
|
84
|
+
import "../chunk-EBJJNTW6.js";
|
|
84
85
|
import "../chunk-WKVBNTYC.js";
|
|
85
86
|
import "../chunk-L4KTQ6CL.js";
|
|
86
87
|
import "../chunk-SABTXESR.js";
|
package/dist/promo/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PromoCodeValueType, PromoCodeDurationType, BillingCycle, PromoCodeRepository, PromoCodeRedemptionRepository } from '@saasicat/types';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
2
|
+
import { g as PromoCodesService, d as PreviewResult } from '../service-D48clObR.cjs';
|
|
3
|
+
export { a as PreviewInput, b as PreviewInvalid, c as PreviewReason, e as PreviewValid, f as PromoCodeStats, P as PromoServiceConfig, R as RedeemInput } from '../service-D48clObR.cjs';
|
|
4
4
|
export { P as PromoCodeRateLimitGuard, h as hashIp, i as ipFingerprint } from '../rate-limit.guard-dntqAlfZ.cjs';
|
|
5
|
-
export { P as PromoCodesModule, a as PromoCodesModuleOptions } from '../module-
|
|
5
|
+
export { P as PromoCodesModule, a as PromoCodesModuleOptions } from '../module-CHMIyWlf.cjs';
|
|
6
6
|
import { Type, CanActivate } from '@nestjs/common';
|
|
7
7
|
import '../di-CcNeq9v-.cjs';
|
|
8
8
|
|
package/dist/promo/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PromoCodeValueType, PromoCodeDurationType, BillingCycle, PromoCodeRepository, PromoCodeRedemptionRepository } from '@saasicat/types';
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
2
|
+
import { g as PromoCodesService, d as PreviewResult } from '../service-D48clObR.js';
|
|
3
|
+
export { a as PreviewInput, b as PreviewInvalid, c as PreviewReason, e as PreviewValid, f as PromoCodeStats, P as PromoServiceConfig, R as RedeemInput } from '../service-D48clObR.js';
|
|
4
4
|
export { P as PromoCodeRateLimitGuard, h as hashIp, i as ipFingerprint } from '../rate-limit.guard-dntqAlfZ.js';
|
|
5
|
-
export { P as PromoCodesModule, a as PromoCodesModuleOptions } from '../module-
|
|
5
|
+
export { P as PromoCodesModule, a as PromoCodesModuleOptions } from '../module-BE17XFLg.js';
|
|
6
6
|
import { Type, CanActivate } from '@nestjs/common';
|
|
7
7
|
import '../di-CcNeq9v-.js';
|
|
8
8
|
|
package/dist/promo/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
buildPromoCodeAdminController,
|
|
11
11
|
hashIp,
|
|
12
12
|
ipFingerprint
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-4O6R6ARQ.js";
|
|
14
14
|
import {
|
|
15
15
|
PROMO_CODE_REDEMPTION_REPOSITORY_TOKEN,
|
|
16
16
|
PROMO_CODE_REPOSITORY_TOKEN,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
computeDiscountGross,
|
|
27
27
|
computeDiscountedGross,
|
|
28
28
|
computeRegularStartsAt
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-VQQWF7MW.js";
|
|
30
30
|
import "../chunk-E56W4U2P.js";
|
|
31
31
|
import "../chunk-YSC46BGM.js";
|
|
32
32
|
import {
|
|
@@ -34,6 +34,7 @@ import {
|
|
|
34
34
|
grossFromNet,
|
|
35
35
|
round2
|
|
36
36
|
} from "../chunk-DQKCK7DX.js";
|
|
37
|
+
import "../chunk-EBJJNTW6.js";
|
|
37
38
|
import "../chunk-SABTXESR.js";
|
|
38
39
|
import "../chunk-SHUYVCID.js";
|
|
39
40
|
export {
|
|
@@ -4,7 +4,7 @@ import { P as ProviderSpec } from './di-CcNeq9v-.cjs';
|
|
|
4
4
|
import { b as AdminManifestConfig, d as AdminResourcesModuleOptions, g as AdminStatsModuleOptions } from './admin-resources.module-DGgGSdzN.cjs';
|
|
5
5
|
import { E as EntitlementResolutionConfig } from './plan-resolution-CFCoUkrE.cjs';
|
|
6
6
|
import { a as SubscriptionContractModuleOptions } from './subscription-contract.module-B2uNvUJL.cjs';
|
|
7
|
-
import { a as PromoCodesModuleOptions } from './module-
|
|
7
|
+
import { a as PromoCodesModuleOptions } from './module-CHMIyWlf.cjs';
|
|
8
8
|
import { b as DiscoveryAppInfo } from './discovery.scanner-DLgEvuoy.cjs';
|
|
9
9
|
import { b as CatalogModuleOptions } from './catalog.module-Dw2Hrbyu.cjs';
|
|
10
10
|
import { b as CheckoutOfferModuleOptions } from './checkout-offer.module-DmlpPevf.cjs';
|
|
@@ -4,7 +4,7 @@ import { P as ProviderSpec } from './di-CcNeq9v-.js';
|
|
|
4
4
|
import { b as AdminManifestConfig, d as AdminResourcesModuleOptions, g as AdminStatsModuleOptions } from './admin-resources.module-BY5r_1MG.js';
|
|
5
5
|
import { E as EntitlementResolutionConfig } from './plan-resolution-CFCoUkrE.js';
|
|
6
6
|
import { a as SubscriptionContractModuleOptions } from './subscription-contract.module-edyhBr4n.js';
|
|
7
|
-
import { a as PromoCodesModuleOptions } from './module-
|
|
7
|
+
import { a as PromoCodesModuleOptions } from './module-BE17XFLg.js';
|
|
8
8
|
import { b as DiscoveryAppInfo } from './discovery.scanner-DLgEvuoy.js';
|
|
9
9
|
import { b as CatalogModuleOptions } from './catalog.module-BKObceo0.js';
|
|
10
10
|
import { b as CheckoutOfferModuleOptions } from './checkout-offer.module-Ca3_TieR.js';
|
|
@@ -106,4 +106,4 @@ declare class PromoCodesService {
|
|
|
106
106
|
private lowestApplicablePlanGross;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export { type
|
|
109
|
+
export { type PromoServiceConfig as P, type RedeemInput as R, type PreviewInput as a, type PreviewInvalid as b, type PreviewReason as c, type PreviewResult as d, type PreviewValid as e, type PromoCodeStats as f, PromoCodesService as g };
|
|
@@ -106,4 +106,4 @@ declare class PromoCodesService {
|
|
|
106
106
|
private lowestApplicablePlanGross;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export { type
|
|
109
|
+
export { type PromoServiceConfig as P, type RedeemInput as R, type PreviewInput as a, type PreviewInvalid as b, type PreviewReason as c, type PreviewResult as d, type PreviewValid as e, type PromoCodeStats as f, PromoCodesService as g };
|
package/dist/{tenant-billing.controller-m42YQ_Ei.d.cts → tenant-billing.controller-BIF-mstX.d.cts}
RENAMED
|
@@ -2,7 +2,7 @@ import { CanActivate, ExecutionContext } from '@nestjs/common';
|
|
|
2
2
|
import { b as AuthGuardList, m as SelfServiceBlockedPlans, w as TrialProjectionPort, h as PendingPlanQueryPort, f as ContractFreezePort, l as SelfServiceBlockedBundles, u as TenantIdResolver, B as UserIdResolver, z as UserEmailResolver, a as AuditContextResolver } from './subscription-bundles.module-DCpV-Pb5.cjs';
|
|
3
3
|
import { PlanCatalog, SubscriptionUsagePort, UsageSnapshotPort, TenantSubscriptionWritePort, SubscriptionBundleRepository, BundleRepository, SubscriptionBundleView, SubscriptionBundleRecord, PlanRepository, CatalogEntryRepository, BundleVersionRow, SubscriptionUsageRecord, OnboardingSelectionResponse } from '@saasicat/types';
|
|
4
4
|
import { c as EntitlementService, a as EffectiveLimitsSnapshot, t as toEffectiveLimitsSnapshot } from './aggregation-SKfXu09x.cjs';
|
|
5
|
-
import {
|
|
5
|
+
import { g as PromoCodesService } from './service-D48clObR.cjs';
|
|
6
6
|
import { A as AdminAuditService } from './admin-audit.service-9IqXMlZm.cjs';
|
|
7
7
|
|
|
8
8
|
declare class ComposedTenantAuthGuard implements CanActivate {
|
package/dist/{tenant-billing.controller-b1G1yB09.d.ts → tenant-billing.controller-DT5UrnDX.d.ts}
RENAMED
|
@@ -2,7 +2,7 @@ import { CanActivate, ExecutionContext } from '@nestjs/common';
|
|
|
2
2
|
import { b as AuthGuardList, m as SelfServiceBlockedPlans, w as TrialProjectionPort, h as PendingPlanQueryPort, f as ContractFreezePort, l as SelfServiceBlockedBundles, u as TenantIdResolver, B as UserIdResolver, z as UserEmailResolver, a as AuditContextResolver } from './subscription-bundles.module-BQmoozm5.js';
|
|
3
3
|
import { PlanCatalog, SubscriptionUsagePort, UsageSnapshotPort, TenantSubscriptionWritePort, SubscriptionBundleRepository, BundleRepository, SubscriptionBundleView, SubscriptionBundleRecord, PlanRepository, CatalogEntryRepository, BundleVersionRow, SubscriptionUsageRecord, OnboardingSelectionResponse } from '@saasicat/types';
|
|
4
4
|
import { c as EntitlementService, a as EffectiveLimitsSnapshot, t as toEffectiveLimitsSnapshot } from './aggregation-o0LMenvl.js';
|
|
5
|
-
import {
|
|
5
|
+
import { g as PromoCodesService } from './service-D48clObR.js';
|
|
6
6
|
import { A as AdminAuditService } from './admin-audit.service-9IqXMlZm.js';
|
|
7
7
|
|
|
8
8
|
declare class ComposedTenantAuthGuard implements CanActivate {
|
package/dist/testing/index.d.cts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { BundleRepository, BundleRow, BundleVersionRow, BundleListFilter, CreateBundleData, UpdateBundleData, CreateBundleVersionDraftData, UpdateBundleVersionDraftData, VersionChange, MarketingProjectionRepository, MarketingProjectionRow, MarketingProjectionFilter, CreateMarketingProjectionData, UpdateMarketingProjectionData, PlanRepository, PlanRow, PlanVersionRow, PlanListFilter, CreatePlanData, UpdatePlanData, CreatePlanVersionDraftData, UpdatePlanVersionDraftData, PlanVersionRepository, PlanVersionRecord, TransactionContext, SubscriptionBundleRepository, SubscriptionBundleRecord, CreateSubscriptionBundleData, CancelSubscriptionBundleData, SubscriptionContractRepository, SubscriptionContractFilter, SubscriptionContractRecord, CreateSubscriptionContractData, TerminateSubscriptionContractData, SubscriptionRepository, SubscriptionRecord, TransactionRunner, PlanCatalog, QuotaProvider } from '@saasicat/types';
|
|
2
2
|
import { Type, DynamicModule } from '@nestjs/common';
|
|
3
|
-
import { a as SaasPlatformAdapters } from '../saas-platform.module-
|
|
4
|
-
export { P as PLAN_RESOLVER_PORT_TOKEN, o as StaticPlanResolver } from '../saas-platform.module-
|
|
5
|
-
export { E as EnforceQuotaInterceptor, S as StaticEntitlementService, a as StaticFeatureGuard } from '../enforce-quota.interceptor-
|
|
3
|
+
import { a as SaasPlatformAdapters } from '../saas-platform.module-BfaYfL-G.cjs';
|
|
4
|
+
export { P as PLAN_RESOLVER_PORT_TOKEN, o as StaticPlanResolver } from '../saas-platform.module-BfaYfL-G.cjs';
|
|
5
|
+
export { E as EnforceQuotaInterceptor, S as StaticEntitlementService, a as StaticFeatureGuard } from '../enforce-quota.interceptor-Dtg5WdFj.cjs';
|
|
6
6
|
import '../di-CcNeq9v-.cjs';
|
|
7
7
|
import '../admin-resources.module-DGgGSdzN.cjs';
|
|
8
8
|
import '../admin-audit.service-9IqXMlZm.cjs';
|
|
9
9
|
import '../plan-resolution-CFCoUkrE.cjs';
|
|
10
10
|
import '../subscription-contract.module-B2uNvUJL.cjs';
|
|
11
|
-
import '../module-
|
|
12
|
-
import '../service-
|
|
11
|
+
import '../module-CHMIyWlf.cjs';
|
|
12
|
+
import '../service-D48clObR.cjs';
|
|
13
13
|
import '../discovery.scanner-DLgEvuoy.cjs';
|
|
14
14
|
import '@nestjs/core';
|
|
15
15
|
import '../catalog.module-Dw2Hrbyu.cjs';
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { BundleRepository, BundleRow, BundleVersionRow, BundleListFilter, CreateBundleData, UpdateBundleData, CreateBundleVersionDraftData, UpdateBundleVersionDraftData, VersionChange, MarketingProjectionRepository, MarketingProjectionRow, MarketingProjectionFilter, CreateMarketingProjectionData, UpdateMarketingProjectionData, PlanRepository, PlanRow, PlanVersionRow, PlanListFilter, CreatePlanData, UpdatePlanData, CreatePlanVersionDraftData, UpdatePlanVersionDraftData, PlanVersionRepository, PlanVersionRecord, TransactionContext, SubscriptionBundleRepository, SubscriptionBundleRecord, CreateSubscriptionBundleData, CancelSubscriptionBundleData, SubscriptionContractRepository, SubscriptionContractFilter, SubscriptionContractRecord, CreateSubscriptionContractData, TerminateSubscriptionContractData, SubscriptionRepository, SubscriptionRecord, TransactionRunner, PlanCatalog, QuotaProvider } from '@saasicat/types';
|
|
2
2
|
import { Type, DynamicModule } from '@nestjs/common';
|
|
3
|
-
import { a as SaasPlatformAdapters } from '../saas-platform.module-
|
|
4
|
-
export { P as PLAN_RESOLVER_PORT_TOKEN, o as StaticPlanResolver } from '../saas-platform.module-
|
|
5
|
-
export { E as EnforceQuotaInterceptor, S as StaticEntitlementService, a as StaticFeatureGuard } from '../enforce-quota.interceptor-
|
|
3
|
+
import { a as SaasPlatformAdapters } from '../saas-platform.module-DChhDrR-.js';
|
|
4
|
+
export { P as PLAN_RESOLVER_PORT_TOKEN, o as StaticPlanResolver } from '../saas-platform.module-DChhDrR-.js';
|
|
5
|
+
export { E as EnforceQuotaInterceptor, S as StaticEntitlementService, a as StaticFeatureGuard } from '../enforce-quota.interceptor-CUyfR4cQ.js';
|
|
6
6
|
import '../di-CcNeq9v-.js';
|
|
7
7
|
import '../admin-resources.module-BY5r_1MG.js';
|
|
8
8
|
import '../admin-audit.service-9IqXMlZm.js';
|
|
9
9
|
import '../plan-resolution-CFCoUkrE.js';
|
|
10
10
|
import '../subscription-contract.module-edyhBr4n.js';
|
|
11
|
-
import '../module-
|
|
12
|
-
import '../service-
|
|
11
|
+
import '../module-BE17XFLg.js';
|
|
12
|
+
import '../service-D48clObR.js';
|
|
13
13
|
import '../discovery.scanner-DLgEvuoy.js';
|
|
14
14
|
import '@nestjs/core';
|
|
15
15
|
import '../catalog.module-BKObceo0.js';
|
package/dist/testing/index.js
CHANGED
|
@@ -5,23 +5,24 @@ import {
|
|
|
5
5
|
StaticEntitlementService,
|
|
6
6
|
StaticFeatureGuard,
|
|
7
7
|
StaticPlanResolver
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-ZH5PYEMI.js";
|
|
9
|
+
import "../chunk-4O6R6ARQ.js";
|
|
10
|
+
import "../chunk-FYWLPYBK.js";
|
|
11
|
+
import "../chunk-NZLAYCEX.js";
|
|
12
|
+
import "../chunk-VQQWF7MW.js";
|
|
13
13
|
import "../chunk-B7NRY2LV.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-GC5AKN44.js";
|
|
15
15
|
import "../chunk-WPUVJRIN.js";
|
|
16
16
|
import "../chunk-E56W4U2P.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-XTVAFJ3P.js";
|
|
18
18
|
import "../chunk-BSK6YBLI.js";
|
|
19
19
|
import "../chunk-YSC46BGM.js";
|
|
20
20
|
import "../chunk-6WL6VQ7Z.js";
|
|
21
21
|
import "../chunk-5ZXBXYXU.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-AGOG5B77.js";
|
|
23
23
|
import "../chunk-DQKCK7DX.js";
|
|
24
24
|
import "../chunk-NYLON2VC.js";
|
|
25
|
+
import "../chunk-EBJJNTW6.js";
|
|
25
26
|
import "../chunk-WKVBNTYC.js";
|
|
26
27
|
import "../chunk-L4KTQ6CL.js";
|
|
27
28
|
import "../chunk-SABTXESR.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saasicat/nest",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"description": "NestJS implementation of SaaSiCat: capability discovery, catalog packaging, contracts, entitlement enforcement, billing and admin APIs.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -137,8 +137,8 @@
|
|
|
137
137
|
"js-yaml": "^4.3.1",
|
|
138
138
|
"otplib": "^13.4.1",
|
|
139
139
|
"qrcode": "^1.5.4",
|
|
140
|
-
"@saasicat/spec": "^0.
|
|
141
|
-
"@saasicat/types": "^0.
|
|
140
|
+
"@saasicat/spec": "^0.21.0",
|
|
141
|
+
"@saasicat/types": "^0.21.0"
|
|
142
142
|
},
|
|
143
143
|
"peerDependencies": {
|
|
144
144
|
"@nestjs/common": "^11.0.0",
|