@saasicat/nest 0.22.0 → 0.22.2
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 +394 -263
- package/dist/billing/index.d.cts +6 -4
- package/dist/billing/index.d.ts +6 -4
- package/dist/billing/index.js +15 -11
- package/dist/catalog/index.js +5 -5
- package/dist/checkout-offer/index.js +3 -3
- package/dist/{chunk-UO64MK3Q.js → chunk-4BSSMDLL.js} +36 -22
- package/dist/{chunk-UFS344JD.js → chunk-FPEQPHJE.js} +196 -81
- package/dist/{chunk-7ZPFQXHM.js → chunk-UOWK2HYG.js} +1 -1
- package/dist/{define-saasicat-C99hWAUK.d.ts → define-saasicat-BK6RRWWG.d.ts} +1 -1
- package/dist/{define-saasicat-ByPjtKPy.d.cts → define-saasicat-D30I-WET.d.cts} +1 -1
- package/dist/{enforce-quota.interceptor-BrsU1UYJ.d.cts → enforce-quota.interceptor-B9QueAFf.d.ts} +4 -1
- package/dist/{enforce-quota.interceptor-reO-i71U.d.ts → enforce-quota.interceptor-DY6CLjoP.d.cts} +4 -1
- package/dist/entitlement/index.js +5 -5
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +155 -151
- package/dist/platform/index.d.cts +28 -10
- package/dist/platform/index.d.ts +28 -10
- package/dist/platform/index.js +43 -41
- package/dist/{saas-platform.module-HCDNZTiE.d.cts → saas-platform.module-CgalxzcT.d.cts} +1 -1
- package/dist/{saas-platform.module-DolE41YY.d.ts → saas-platform.module-D1mUZPrz.d.ts} +1 -1
- package/dist/{subscription-bundles.module-BQmoozm5.d.ts → subscription-bundles.module-BDbODWvA.d.ts} +9 -1
- package/dist/{subscription-bundles.module-DCpV-Pb5.d.cts → subscription-bundles.module-Cfi-lFWF.d.cts} +9 -1
- package/dist/{tenant-billing.controller-7o4ObzGs.d.ts → tenant-billing.controller-BSlpFqVA.d.ts} +1 -1
- package/dist/{tenant-billing.controller-DubP6-Md.d.cts → tenant-billing.controller-DHSUrT_N.d.cts} +1 -1
- package/dist/testing/index.d.cts +4 -4
- package/dist/testing/index.d.ts +4 -4
- package/dist/testing/index.js +15 -15
- package/package.json +3 -3
- package/dist/{chunk-XTVAFJ3P.js → chunk-ES5AN53A.js} +6 -6
- package/dist/{chunk-EWPF57AG.js → chunk-FY4EJTV4.js} +0 -0
- package/dist/{chunk-NNNXXUPT.js → chunk-NXD7763W.js} +13 -13
- package/dist/{chunk-7X5MSAIL.js → chunk-QB7MICKQ.js} +9 -9
|
@@ -8,7 +8,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-CQr1FpkI.js';
|
|
10
10
|
import { b as CheckoutOfferModuleOptions } from './checkout-offer.module-Ca3_TieR.js';
|
|
11
|
-
import { t as TenantBillingModuleOptions, p as SubscriptionBundleModuleOptions, n as SubscriptionBundleControllerOptions } from './subscription-bundles.module-
|
|
11
|
+
import { t as TenantBillingModuleOptions, p as SubscriptionBundleModuleOptions, n as SubscriptionBundleControllerOptions } from './subscription-bundles.module-BDbODWvA.js';
|
|
12
12
|
|
|
13
13
|
interface SetupModuleOptions {
|
|
14
14
|
/**
|
package/dist/{subscription-bundles.module-BQmoozm5.d.ts → subscription-bundles.module-BDbODWvA.d.ts}
RENAMED
|
@@ -2,6 +2,14 @@ import { CanActivate, Type, DynamicModule, ForwardReference, Provider } from '@n
|
|
|
2
2
|
import { P as ProviderSpec } from './di-CcNeq9v-.js';
|
|
3
3
|
import { NewContractLineItemData, BillingCycle, SubscriptionUsagePort, UsageSnapshotPort, TenantSubscriptionWritePort, SubscriptionContractRepository, SubscriptionBundleRepository, BundleRepository } from '@saasicat/types';
|
|
4
4
|
|
|
5
|
+
declare const FEATURE_GUARD_MARKER: unique symbol;
|
|
6
|
+
/** A guard class or instance carrying the platform's marker. */
|
|
7
|
+
interface MarkedFeatureGuard {
|
|
8
|
+
[FEATURE_GUARD_MARKER]: true;
|
|
9
|
+
}
|
|
10
|
+
/** True when `target` is one of the platform's entitlement guards. */
|
|
11
|
+
declare function isPlatformFeatureGuard(target: unknown): boolean;
|
|
12
|
+
|
|
5
13
|
/**
|
|
6
14
|
* List of all auth guards the platform controller should iterate in order
|
|
7
15
|
* (analogous to `@UseGuards(JwtAuthGuard, TenantGuard, RolesGuard)`).
|
|
@@ -288,4 +296,4 @@ declare class SubscriptionBundleModule {
|
|
|
288
296
|
static forRoot(options: SubscriptionBundleModuleOptions): DynamicModule;
|
|
289
297
|
}
|
|
290
298
|
|
|
291
|
-
export { AUDIT_CONTEXT_RESOLVER_TOKEN as A, type UserIdResolver as B, CONTRACT_FREEZE_PORT_TOKEN as C, type DuePendingPlanChange as D, PENDING_PLAN_QUERY_PORT_TOKEN as P, SELF_SERVICE_BLOCKED_BUNDLES_TOKEN as S, TENANT_AUTH_GUARDS_TOKEN as T, USAGE_SNAPSHOT_PORT_TOKEN as U, type AuditContextResolver as a, type AuthGuardList as b, CONTRACT_FREEZE_PROJECT_KEY_TOKEN as c, CONTRACT_FREEZE_SOURCE_PORT_TOKEN as d, type ContractFreezeBundleSnapshot as e, type ContractFreezePort as f, type ContractFreezeSourcePort as g, type PendingPlanQueryPort as h, SELF_SERVICE_BLOCKED_PLANS_TOKEN as i, SUBSCRIPTION_USAGE_PORT_TOKEN as j, SUBSCRIPTION_WRITE_PORT_TOKEN as k, type SelfServiceBlockedBundles as l, type SelfServiceBlockedPlans as m, type SubscriptionBundleControllerOptions as n, SubscriptionBundleModule as o, type SubscriptionBundleModuleOptions as p, TENANT_ID_RESOLVER_TOKEN as q, TRIAL_PROJECTION_PORT_TOKEN as r, TenantBillingModule as s, type TenantBillingModuleOptions as t, type TenantIdResolver as u, type TrialProjectionInput as v, type TrialProjectionPort as w, USER_EMAIL_RESOLVER_TOKEN as x, USER_ID_RESOLVER_TOKEN as y, type UserEmailResolver as z };
|
|
299
|
+
export { AUDIT_CONTEXT_RESOLVER_TOKEN as A, type UserIdResolver as B, CONTRACT_FREEZE_PORT_TOKEN as C, type DuePendingPlanChange as D, isPlatformFeatureGuard as E, FEATURE_GUARD_MARKER as F, type MarkedFeatureGuard as M, PENDING_PLAN_QUERY_PORT_TOKEN as P, SELF_SERVICE_BLOCKED_BUNDLES_TOKEN as S, TENANT_AUTH_GUARDS_TOKEN as T, USAGE_SNAPSHOT_PORT_TOKEN as U, type AuditContextResolver as a, type AuthGuardList as b, CONTRACT_FREEZE_PROJECT_KEY_TOKEN as c, CONTRACT_FREEZE_SOURCE_PORT_TOKEN as d, type ContractFreezeBundleSnapshot as e, type ContractFreezePort as f, type ContractFreezeSourcePort as g, type PendingPlanQueryPort as h, SELF_SERVICE_BLOCKED_PLANS_TOKEN as i, SUBSCRIPTION_USAGE_PORT_TOKEN as j, SUBSCRIPTION_WRITE_PORT_TOKEN as k, type SelfServiceBlockedBundles as l, type SelfServiceBlockedPlans as m, type SubscriptionBundleControllerOptions as n, SubscriptionBundleModule as o, type SubscriptionBundleModuleOptions as p, TENANT_ID_RESOLVER_TOKEN as q, TRIAL_PROJECTION_PORT_TOKEN as r, TenantBillingModule as s, type TenantBillingModuleOptions as t, type TenantIdResolver as u, type TrialProjectionInput as v, type TrialProjectionPort as w, USER_EMAIL_RESOLVER_TOKEN as x, USER_ID_RESOLVER_TOKEN as y, type UserEmailResolver as z };
|
|
@@ -2,6 +2,14 @@ import { CanActivate, Type, DynamicModule, ForwardReference, Provider } from '@n
|
|
|
2
2
|
import { P as ProviderSpec } from './di-CcNeq9v-.cjs';
|
|
3
3
|
import { NewContractLineItemData, BillingCycle, SubscriptionUsagePort, UsageSnapshotPort, TenantSubscriptionWritePort, SubscriptionContractRepository, SubscriptionBundleRepository, BundleRepository } from '@saasicat/types';
|
|
4
4
|
|
|
5
|
+
declare const FEATURE_GUARD_MARKER: unique symbol;
|
|
6
|
+
/** A guard class or instance carrying the platform's marker. */
|
|
7
|
+
interface MarkedFeatureGuard {
|
|
8
|
+
[FEATURE_GUARD_MARKER]: true;
|
|
9
|
+
}
|
|
10
|
+
/** True when `target` is one of the platform's entitlement guards. */
|
|
11
|
+
declare function isPlatformFeatureGuard(target: unknown): boolean;
|
|
12
|
+
|
|
5
13
|
/**
|
|
6
14
|
* List of all auth guards the platform controller should iterate in order
|
|
7
15
|
* (analogous to `@UseGuards(JwtAuthGuard, TenantGuard, RolesGuard)`).
|
|
@@ -288,4 +296,4 @@ declare class SubscriptionBundleModule {
|
|
|
288
296
|
static forRoot(options: SubscriptionBundleModuleOptions): DynamicModule;
|
|
289
297
|
}
|
|
290
298
|
|
|
291
|
-
export { AUDIT_CONTEXT_RESOLVER_TOKEN as A, type UserIdResolver as B, CONTRACT_FREEZE_PORT_TOKEN as C, type DuePendingPlanChange as D, PENDING_PLAN_QUERY_PORT_TOKEN as P, SELF_SERVICE_BLOCKED_BUNDLES_TOKEN as S, TENANT_AUTH_GUARDS_TOKEN as T, USAGE_SNAPSHOT_PORT_TOKEN as U, type AuditContextResolver as a, type AuthGuardList as b, CONTRACT_FREEZE_PROJECT_KEY_TOKEN as c, CONTRACT_FREEZE_SOURCE_PORT_TOKEN as d, type ContractFreezeBundleSnapshot as e, type ContractFreezePort as f, type ContractFreezeSourcePort as g, type PendingPlanQueryPort as h, SELF_SERVICE_BLOCKED_PLANS_TOKEN as i, SUBSCRIPTION_USAGE_PORT_TOKEN as j, SUBSCRIPTION_WRITE_PORT_TOKEN as k, type SelfServiceBlockedBundles as l, type SelfServiceBlockedPlans as m, type SubscriptionBundleControllerOptions as n, SubscriptionBundleModule as o, type SubscriptionBundleModuleOptions as p, TENANT_ID_RESOLVER_TOKEN as q, TRIAL_PROJECTION_PORT_TOKEN as r, TenantBillingModule as s, type TenantBillingModuleOptions as t, type TenantIdResolver as u, type TrialProjectionInput as v, type TrialProjectionPort as w, USER_EMAIL_RESOLVER_TOKEN as x, USER_ID_RESOLVER_TOKEN as y, type UserEmailResolver as z };
|
|
299
|
+
export { AUDIT_CONTEXT_RESOLVER_TOKEN as A, type UserIdResolver as B, CONTRACT_FREEZE_PORT_TOKEN as C, type DuePendingPlanChange as D, isPlatformFeatureGuard as E, FEATURE_GUARD_MARKER as F, type MarkedFeatureGuard as M, PENDING_PLAN_QUERY_PORT_TOKEN as P, SELF_SERVICE_BLOCKED_BUNDLES_TOKEN as S, TENANT_AUTH_GUARDS_TOKEN as T, USAGE_SNAPSHOT_PORT_TOKEN as U, type AuditContextResolver as a, type AuthGuardList as b, CONTRACT_FREEZE_PROJECT_KEY_TOKEN as c, CONTRACT_FREEZE_SOURCE_PORT_TOKEN as d, type ContractFreezeBundleSnapshot as e, type ContractFreezePort as f, type ContractFreezeSourcePort as g, type PendingPlanQueryPort as h, SELF_SERVICE_BLOCKED_PLANS_TOKEN as i, SUBSCRIPTION_USAGE_PORT_TOKEN as j, SUBSCRIPTION_WRITE_PORT_TOKEN as k, type SelfServiceBlockedBundles as l, type SelfServiceBlockedPlans as m, type SubscriptionBundleControllerOptions as n, SubscriptionBundleModule as o, type SubscriptionBundleModuleOptions as p, TENANT_ID_RESOLVER_TOKEN as q, TRIAL_PROJECTION_PORT_TOKEN as r, TenantBillingModule as s, type TenantBillingModuleOptions as t, type TenantIdResolver as u, type TrialProjectionInput as v, type TrialProjectionPort as w, USER_EMAIL_RESOLVER_TOKEN as x, USER_ID_RESOLVER_TOKEN as y, type UserEmailResolver as z };
|
package/dist/{tenant-billing.controller-7o4ObzGs.d.ts → tenant-billing.controller-BSlpFqVA.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CanActivate, ExecutionContext } from '@nestjs/common';
|
|
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-
|
|
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-BDbODWvA.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-DP5zfKbU.js';
|
|
5
5
|
import { g as PromoCodesService } from './service-D48clObR.js';
|
package/dist/{tenant-billing.controller-DubP6-Md.d.cts → tenant-billing.controller-DHSUrT_N.d.cts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CanActivate, ExecutionContext } from '@nestjs/common';
|
|
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-
|
|
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-Cfi-lFWF.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-mZ7WZROK.cjs';
|
|
5
5
|
import { g as PromoCodesService } from './service-D48clObR.cjs';
|
package/dist/testing/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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-CgalxzcT.cjs';
|
|
4
|
+
export { P as PLAN_RESOLVER_PORT_TOKEN, o as StaticPlanResolver } from '../saas-platform.module-CgalxzcT.cjs';
|
|
5
|
+
export { E as EnforceQuotaInterceptor, S as StaticEntitlementService, a as StaticFeatureGuard } from '../enforce-quota.interceptor-DY6CLjoP.cjs';
|
|
6
6
|
import '../di-CcNeq9v-.cjs';
|
|
7
7
|
import '../admin-resources.module-DGgGSdzN.cjs';
|
|
8
8
|
import '../admin-audit.service-9IqXMlZm.cjs';
|
|
@@ -14,7 +14,7 @@ import '../discovery.scanner-DLgEvuoy.cjs';
|
|
|
14
14
|
import '@nestjs/core';
|
|
15
15
|
import '../catalog.module-D-_pQDNA.cjs';
|
|
16
16
|
import '../checkout-offer.module-DmlpPevf.cjs';
|
|
17
|
-
import '../subscription-bundles.module-
|
|
17
|
+
import '../subscription-bundles.module-Cfi-lFWF.cjs';
|
|
18
18
|
import 'rxjs';
|
|
19
19
|
|
|
20
20
|
/**
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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-D1mUZPrz.js';
|
|
4
|
+
export { P as PLAN_RESOLVER_PORT_TOKEN, o as StaticPlanResolver } from '../saas-platform.module-D1mUZPrz.js';
|
|
5
|
+
export { E as EnforceQuotaInterceptor, S as StaticEntitlementService, a as StaticFeatureGuard } from '../enforce-quota.interceptor-B9QueAFf.js';
|
|
6
6
|
import '../di-CcNeq9v-.js';
|
|
7
7
|
import '../admin-resources.module-BY5r_1MG.js';
|
|
8
8
|
import '../admin-audit.service-9IqXMlZm.js';
|
|
@@ -14,7 +14,7 @@ import '../discovery.scanner-DLgEvuoy.js';
|
|
|
14
14
|
import '@nestjs/core';
|
|
15
15
|
import '../catalog.module-CQr1FpkI.js';
|
|
16
16
|
import '../checkout-offer.module-Ca3_TieR.js';
|
|
17
|
-
import '../subscription-bundles.module-
|
|
17
|
+
import '../subscription-bundles.module-BDbODWvA.js';
|
|
18
18
|
import 'rxjs';
|
|
19
19
|
|
|
20
20
|
/**
|
package/dist/testing/index.js
CHANGED
|
@@ -5,28 +5,28 @@ import {
|
|
|
5
5
|
StaticEntitlementService,
|
|
6
6
|
StaticFeatureGuard,
|
|
7
7
|
StaticPlanResolver
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-FPEQPHJE.js";
|
|
9
|
+
import "../chunk-4BSSMDLL.js";
|
|
10
|
+
import "../chunk-ES5AN53A.js";
|
|
11
|
+
import "../chunk-QB7MICKQ.js";
|
|
12
|
+
import "../chunk-WPUVJRIN.js";
|
|
10
13
|
import "../chunk-SN5UOC43.js";
|
|
11
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-6WL6VQ7Z.js";
|
|
15
|
+
import "../chunk-5ZXBXYXU.js";
|
|
16
|
+
import "../chunk-NXD7763W.js";
|
|
17
|
+
import "../chunk-WKVBNTYC.js";
|
|
18
|
+
import "../chunk-L4KTQ6CL.js";
|
|
19
|
+
import "../chunk-L4SUWH5B.js";
|
|
20
|
+
import "../chunk-4O6R6ARQ.js";
|
|
12
21
|
import "../chunk-VQQWF7MW.js";
|
|
13
|
-
import "../chunk-B7NRY2LV.js";
|
|
14
|
-
import "../chunk-7X5MSAIL.js";
|
|
15
|
-
import "../chunk-WPUVJRIN.js";
|
|
16
22
|
import "../chunk-E56W4U2P.js";
|
|
17
|
-
import "../chunk-XTVAFJ3P.js";
|
|
18
|
-
import "../chunk-BSK6YBLI.js";
|
|
19
23
|
import "../chunk-YSC46BGM.js";
|
|
20
|
-
import "../chunk-6WL6VQ7Z.js";
|
|
21
|
-
import "../chunk-5ZXBXYXU.js";
|
|
22
|
-
import "../chunk-NNNXXUPT.js";
|
|
23
24
|
import "../chunk-DQKCK7DX.js";
|
|
24
|
-
import "../chunk-NYLON2VC.js";
|
|
25
25
|
import "../chunk-EBJJNTW6.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-B7NRY2LV.js";
|
|
27
|
+
import "../chunk-BSK6YBLI.js";
|
|
28
|
+
import "../chunk-NYLON2VC.js";
|
|
28
29
|
import "../chunk-SABTXESR.js";
|
|
29
|
-
import "../chunk-L4SUWH5B.js";
|
|
30
30
|
import {
|
|
31
31
|
__name
|
|
32
32
|
} from "../chunk-SHUYVCID.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saasicat/nest",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.2",
|
|
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.22.
|
|
141
|
-
"@saasicat/types": "^0.22.
|
|
140
|
+
"@saasicat/spec": "^0.22.2",
|
|
141
|
+
"@saasicat/types": "^0.22.2"
|
|
142
142
|
},
|
|
143
143
|
"peerDependencies": {
|
|
144
144
|
"@nestjs/common": "^11.0.0",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
appendImplicitDiscountLineItem
|
|
3
|
-
} from "./chunk-BSK6YBLI.js";
|
|
4
|
-
import {
|
|
5
|
-
SaaSiCatPublicRoute
|
|
6
|
-
} from "./chunk-YSC46BGM.js";
|
|
7
1
|
import {
|
|
8
2
|
BUNDLE_REPOSITORY_TOKEN,
|
|
9
3
|
CATALOG_ENTRY_REPOSITORY_TOKEN,
|
|
10
4
|
PLAN_REPOSITORY_TOKEN
|
|
11
5
|
} from "./chunk-L4KTQ6CL.js";
|
|
6
|
+
import {
|
|
7
|
+
SaaSiCatPublicRoute
|
|
8
|
+
} from "./chunk-YSC46BGM.js";
|
|
9
|
+
import {
|
|
10
|
+
appendImplicitDiscountLineItem
|
|
11
|
+
} from "./chunk-BSK6YBLI.js";
|
|
12
12
|
import {
|
|
13
13
|
asProvider
|
|
14
14
|
} from "./chunk-SABTXESR.js";
|
|
File without changes
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
PLAN_CATALOG_TOKEN,
|
|
3
|
-
isFeaturePlannedOnly
|
|
4
|
-
} from "./chunk-DQKCK7DX.js";
|
|
5
|
-
import {
|
|
6
|
-
SUBSCRIPTION_CONTRACT_REPOSITORY_TOKEN
|
|
7
|
-
} from "./chunk-NYLON2VC.js";
|
|
8
|
-
import {
|
|
9
|
-
codedError
|
|
10
|
-
} from "./chunk-EBJJNTW6.js";
|
|
11
1
|
import {
|
|
12
2
|
ENTITLEMENT_RESOLUTION_CONFIG_TOKEN,
|
|
13
3
|
ENTITLEMENT_SERVICE_TOKEN,
|
|
@@ -18,12 +8,22 @@ import {
|
|
|
18
8
|
import {
|
|
19
9
|
BUNDLE_REPOSITORY_TOKEN
|
|
20
10
|
} from "./chunk-L4KTQ6CL.js";
|
|
21
|
-
import {
|
|
22
|
-
asProvider
|
|
23
|
-
} from "./chunk-SABTXESR.js";
|
|
24
11
|
import {
|
|
25
12
|
DISCOVERY_SNAPSHOT_TOKEN
|
|
26
13
|
} from "./chunk-L4SUWH5B.js";
|
|
14
|
+
import {
|
|
15
|
+
PLAN_CATALOG_TOKEN,
|
|
16
|
+
isFeaturePlannedOnly
|
|
17
|
+
} from "./chunk-DQKCK7DX.js";
|
|
18
|
+
import {
|
|
19
|
+
codedError
|
|
20
|
+
} from "./chunk-EBJJNTW6.js";
|
|
21
|
+
import {
|
|
22
|
+
SUBSCRIPTION_CONTRACT_REPOSITORY_TOKEN
|
|
23
|
+
} from "./chunk-NYLON2VC.js";
|
|
24
|
+
import {
|
|
25
|
+
asProvider
|
|
26
|
+
} from "./chunk-SABTXESR.js";
|
|
27
27
|
import {
|
|
28
28
|
__name
|
|
29
29
|
} from "./chunk-SHUYVCID.js";
|
|
@@ -5,12 +5,6 @@ import {
|
|
|
5
5
|
classifyBundleVersionDiff,
|
|
6
6
|
classifyPlanDiff
|
|
7
7
|
} from "./chunk-WPUVJRIN.js";
|
|
8
|
-
import {
|
|
9
|
-
AdminAuditService
|
|
10
|
-
} from "./chunk-E56W4U2P.js";
|
|
11
|
-
import {
|
|
12
|
-
SaaSiCatPublicRoute
|
|
13
|
-
} from "./chunk-YSC46BGM.js";
|
|
14
8
|
import {
|
|
15
9
|
DiscoveryScanner
|
|
16
10
|
} from "./chunk-5ZXBXYXU.js";
|
|
@@ -27,12 +21,18 @@ import {
|
|
|
27
21
|
PLAN_REPOSITORY_TOKEN,
|
|
28
22
|
PROMOTION_REPOSITORY_TOKEN
|
|
29
23
|
} from "./chunk-L4KTQ6CL.js";
|
|
30
|
-
import {
|
|
31
|
-
asProvider
|
|
32
|
-
} from "./chunk-SABTXESR.js";
|
|
33
24
|
import {
|
|
34
25
|
DISCOVERY_SNAPSHOT_TOKEN
|
|
35
26
|
} from "./chunk-L4SUWH5B.js";
|
|
27
|
+
import {
|
|
28
|
+
AdminAuditService
|
|
29
|
+
} from "./chunk-E56W4U2P.js";
|
|
30
|
+
import {
|
|
31
|
+
SaaSiCatPublicRoute
|
|
32
|
+
} from "./chunk-YSC46BGM.js";
|
|
33
|
+
import {
|
|
34
|
+
asProvider
|
|
35
|
+
} from "./chunk-SABTXESR.js";
|
|
36
36
|
import {
|
|
37
37
|
__name
|
|
38
38
|
} from "./chunk-SHUYVCID.js";
|