@saasicat/nest 0.27.0 → 1.0.0-rc.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/.build-stamp +1 -0
- package/dist/_entries.cjs +143 -143
- package/dist/admin/index.d.cts +2 -2
- package/dist/admin/index.d.ts +2 -2
- package/dist/admin/index.js +2 -2
- package/dist/{admin-stats.service-HUZIU448.d.cts → admin-stats.service-BroyovpL.d.cts} +1 -1
- package/dist/{admin-stats.service-Db2exT_d.d.ts → admin-stats.service-G53IEkkt.d.ts} +1 -1
- package/dist/billing/index.d.cts +4 -4
- package/dist/billing/index.d.ts +4 -4
- package/dist/billing/index.js +13 -13
- package/dist/catalog/index.d.cts +13 -1
- package/dist/catalog/index.d.ts +13 -1
- package/dist/catalog/index.js +10 -8
- package/dist/checkout-offer/index.js +2 -2
- package/dist/{chunk-7ZPFQXHM.js → chunk-3UZW7TU4.js} +1 -1
- package/dist/{chunk-XTVAFJ3P.js → chunk-AEEK64XD.js} +3 -3
- package/dist/chunk-AOQJEYOL.js +20 -0
- package/dist/{chunk-H4DOTO7S.js → chunk-H3W6QDQH.js} +5 -5
- package/dist/{chunk-YYUXKLXK.js → chunk-I7GTA3RX.js} +2 -2
- package/dist/{chunk-SN5UOC43.js → chunk-IPOLCDKN.js} +11 -11
- package/dist/{chunk-CJFAOD7K.js → chunk-IVEA6M3B.js} +1 -1
- package/dist/{chunk-EHKMPP6J.js → chunk-JCAZT727.js} +29 -29
- package/dist/{chunk-2JTISFUZ.js → chunk-JTLKWP3Q.js} +7 -7
- package/dist/{chunk-E56W4U2P.js → chunk-O2J2HDXA.js} +4 -4
- package/dist/{chunk-WKVBNTYC.js → chunk-OUDSQ3PU.js} +6 -6
- package/dist/{chunk-MJ32VNZD.js → chunk-P5D5CYO2.js} +18 -18
- package/dist/{chunk-L4SUWH5B.js → chunk-QUZU2M33.js} +2 -2
- package/dist/{chunk-WPUVJRIN.js → chunk-S6BAD5XM.js} +10 -10
- package/dist/{chunk-7X5MSAIL.js → chunk-SH7J5IU7.js} +9 -9
- package/dist/{chunk-37HEKVDH.js → chunk-V4OJ43K2.js} +10 -10
- package/dist/{chunk-NYLON2VC.js → chunk-VBRYPU7V.js} +2 -2
- package/dist/{chunk-B6IWLV7R.js → chunk-VTMCMVYQ.js} +6 -6
- package/dist/{chunk-UHD6FJBQ.js → chunk-WSPHIIGS.js} +22 -22
- package/dist/{chunk-5ZXBXYXU.js → chunk-WXYJHZCN.js} +3 -3
- package/dist/{chunk-6WL6VQ7Z.js → chunk-XBYAFEOR.js} +2 -2
- package/dist/{chunk-F4B2NJUZ.js → chunk-XEW6YXL5.js} +7 -7
- package/dist/{chunk-3E6ONOMG.js → chunk-Y43SGD5J.js} +2 -2
- package/dist/{define-saasicat-3ois8t8s.d.ts → define-saasicat-BFgeoVG9.d.ts} +7 -7
- package/dist/{define-saasicat-CFxut1VR.d.cts → define-saasicat-CNUWjfNK.d.cts} +7 -7
- package/dist/discovery/index.js +4 -4
- package/dist/{enforce-quota.interceptor-CYDNvAQz.d.ts → enforce-quota.interceptor-BYqmdFB5.d.ts} +1 -1
- package/dist/{enforce-quota.interceptor-N80KC34N.d.cts → enforce-quota.interceptor-BxIR63Wn.d.cts} +1 -1
- package/dist/entitlement/index.js +6 -6
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +29 -28
- package/dist/{module-options-ByJL7FZm.d.ts → module-options-BymIkAsh.d.ts} +29 -29
- package/dist/{module-options-klrPnWGF.d.cts → module-options-DgwBKVpC.d.cts} +29 -29
- package/dist/platform/index.d.cts +16 -16
- package/dist/platform/index.d.ts +16 -16
- package/dist/platform/index.js +21 -22
- package/dist/promo/index.d.cts +3 -3
- package/dist/promo/index.d.ts +3 -3
- package/dist/promo/index.js +3 -3
- package/dist/{module-BE17XFLg.d.ts → promo.module-CnzddtJ0.d.ts} +1 -1
- package/dist/{module-CHMIyWlf.d.cts → promo.module-DokmUGmm.d.cts} +1 -1
- package/dist/registration/index.d.cts +1 -1
- package/dist/registration/index.d.ts +1 -1
- package/dist/registration/index.js +1 -1
- package/dist/subscription-contract/index.js +3 -3
- package/dist/{tenant-billing.controller-CYYK0CpT.d.ts → tenant-billing.controller-BQPy5yXh.d.ts} +1 -1
- package/dist/{tenant-billing.controller-CAMMdfn1.d.cts → tenant-billing.controller-CODIYzlI.d.cts} +1 -1
- package/dist/testing/index.d.cts +10 -10
- package/dist/testing/index.d.ts +10 -10
- package/dist/testing/index.js +31 -31
- package/package.json +5 -5
- package/dist/chunk-L4KTQ6CL.js +0 -20
- /package/dist/{service-D48clObR.d.cts → promo.service-D48clObR.d.cts} +0 -0
- /package/dist/{service-D48clObR.d.ts → promo.service-D48clObR.d.ts} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
DEFINES_QUOTA_KEY,
|
|
3
3
|
ENFORCE_QUOTA_KEY,
|
|
4
4
|
IMPLEMENTS_CAPABILITY_KEY
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QUZU2M33.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-SHUYVCID.js";
|
|
@@ -34,8 +34,8 @@ var DEFAULT_APP_INFO = {
|
|
|
34
34
|
key: "unknown",
|
|
35
35
|
version: "0.0.0"
|
|
36
36
|
};
|
|
37
|
-
var DISCOVERY_APP_INFO_TOKEN = /* @__PURE__ */ Symbol.for("
|
|
38
|
-
var DISCOVERY_SNAPSHOT_PATH_TOKEN = /* @__PURE__ */ Symbol.for("
|
|
37
|
+
var DISCOVERY_APP_INFO_TOKEN = /* @__PURE__ */ Symbol.for("saasicat/nest/DiscoveryAppInfo");
|
|
38
|
+
var DISCOVERY_SNAPSHOT_PATH_TOKEN = /* @__PURE__ */ Symbol.for("saasicat/nest/DiscoverySnapshotPath");
|
|
39
39
|
var DiscoveryScanner = class _DiscoveryScanner {
|
|
40
40
|
static {
|
|
41
41
|
__name(this, "DiscoveryScanner");
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
DISCOVERY_APP_INFO_TOKEN,
|
|
3
3
|
DISCOVERY_SNAPSHOT_PATH_TOKEN,
|
|
4
4
|
DiscoveryScanner
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WXYJHZCN.js";
|
|
6
6
|
import {
|
|
7
7
|
DISCOVERY_SNAPSHOT_TOKEN
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QUZU2M33.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-SHUYVCID.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-DQKCK7DX.js";
|
|
5
5
|
import {
|
|
6
6
|
SUBSCRIPTION_CONTRACT_REPOSITORY_TOKEN
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VBRYPU7V.js";
|
|
8
8
|
import {
|
|
9
9
|
codedError
|
|
10
10
|
} from "./chunk-EBJJNTW6.js";
|
|
@@ -13,20 +13,20 @@ import {
|
|
|
13
13
|
PLAN_VERSION_REPOSITORY_TOKEN,
|
|
14
14
|
SUBSCRIPTION_REPOSITORY_TOKEN,
|
|
15
15
|
TRANSACTION_RUNNER_TOKEN
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OUDSQ3PU.js";
|
|
17
17
|
import {
|
|
18
18
|
BUNDLE_REPOSITORY_TOKEN
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AOQJEYOL.js";
|
|
20
20
|
import {
|
|
21
21
|
DISCOVERY_SNAPSHOT_TOKEN
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QUZU2M33.js";
|
|
23
23
|
import {
|
|
24
24
|
__name
|
|
25
25
|
} from "./chunk-SHUYVCID.js";
|
|
26
26
|
|
|
27
27
|
// src/billing/subscription-bundles.tokens.ts
|
|
28
|
-
var SUBSCRIPTION_BUNDLE_REPOSITORY_TOKEN = /* @__PURE__ */ Symbol.for("
|
|
29
|
-
var SUBSCRIPTION_BUNDLE_CONFIG_TOKEN = /* @__PURE__ */ Symbol.for("
|
|
28
|
+
var SUBSCRIPTION_BUNDLE_REPOSITORY_TOKEN = /* @__PURE__ */ Symbol.for("saasicat/nest/SubscriptionBundleRepository");
|
|
29
|
+
var SUBSCRIPTION_BUNDLE_CONFIG_TOKEN = /* @__PURE__ */ Symbol.for("saasicat/nest/SubscriptionBundleConfig");
|
|
30
30
|
|
|
31
31
|
// src/entitlement/aggregation.ts
|
|
32
32
|
function filterActiveSubscriptionBundles(bundles, now) {
|
|
@@ -306,7 +306,7 @@ function resolveEntitlementPlan(input, config, now) {
|
|
|
306
306
|
}
|
|
307
307
|
__name(resolveEntitlementPlan, "resolveEntitlementPlan");
|
|
308
308
|
|
|
309
|
-
// src/entitlement/service.ts
|
|
309
|
+
// src/entitlement/entitlement.service.ts
|
|
310
310
|
import { Inject, Injectable, InternalServerErrorException, NotFoundException, Optional } from "@nestjs/common";
|
|
311
311
|
import { BILLING_ERROR_CODES } from "@saasicat/types";
|
|
312
312
|
function _ts_decorate(decorators, target, key, desc) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SubscriptionContractService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IVEA6M3B.js";
|
|
4
4
|
import {
|
|
5
5
|
SUBSCRIPTION_CONTRACT_REPOSITORY_TOKEN
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VBRYPU7V.js";
|
|
7
7
|
import {
|
|
8
8
|
asProvider
|
|
9
9
|
} from "./chunk-SABTXESR.js";
|
|
@@ -2,8 +2,8 @@ import * as _nestjs_common from '@nestjs/common';
|
|
|
2
2
|
import { ExecutionContext, DynamicModule } from '@nestjs/common';
|
|
3
3
|
import { Reflector } from '@nestjs/core';
|
|
4
4
|
import { SuperAdminProvisioningPort, SetupStatusResponse, SetupRequest, SetupResult, SetupConfirmMfaRequest, SetupConfirmMfaResponse } from '@saasicat/types';
|
|
5
|
-
import { h as MfaService } from './admin-stats.service-
|
|
6
|
-
import { e as
|
|
5
|
+
import { h as MfaService } from './admin-stats.service-G53IEkkt.js';
|
|
6
|
+
import { e as SaaSiCatModuleOptions } from './module-options-BymIkAsh.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Shared metadata key for endpoints that intentionally run without application
|
|
@@ -44,7 +44,7 @@ declare class SetupService {
|
|
|
44
44
|
* Quickstart path (Prisma + PostgreSQL on the canonical schema):
|
|
45
45
|
*
|
|
46
46
|
* ```ts
|
|
47
|
-
*
|
|
47
|
+
* SaaSiCatModule.forRoot({
|
|
48
48
|
* planCatalog: loadPlanCatalogFromFile({ path: 'config/saas.yaml' }),
|
|
49
49
|
* controller: { guards: [JwtAuthGuard] },
|
|
50
50
|
* imports: [AuthModule],
|
|
@@ -55,8 +55,8 @@ declare class SetupService {
|
|
|
55
55
|
* Individual `adapters` entries stay supported (custom schema / other ORM)
|
|
56
56
|
* and override bundle slices field by field.
|
|
57
57
|
*/
|
|
58
|
-
declare class
|
|
59
|
-
static forRoot(options:
|
|
58
|
+
declare class SaaSiCatModule {
|
|
59
|
+
static forRoot(options: SaaSiCatModuleOptions): DynamicModule;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
/**
|
|
@@ -64,6 +64,6 @@ declare class SaasPlatformModule {
|
|
|
64
64
|
* literal types and gives editors one place for completion without adding
|
|
65
65
|
* runtime behavior.
|
|
66
66
|
*/
|
|
67
|
-
declare function defineSaaSiCat<const T extends
|
|
67
|
+
declare function defineSaaSiCat<const T extends SaaSiCatModuleOptions>(options: T): T;
|
|
68
68
|
|
|
69
|
-
export { SetupService as S, SAASICAT_PUBLIC_ROUTE_KEY as a, SETUP_CONFIG_TOKEN as b, SETUP_PROVISIONING_PORT_TOKEN as c,
|
|
69
|
+
export { SetupService as S, SAASICAT_PUBLIC_ROUTE_KEY as a, SETUP_CONFIG_TOKEN as b, SETUP_PROVISIONING_PORT_TOKEN as c, SaaSiCatModule as d, SaaSiCatPublicRoute as e, type SetupConfig as f, defineSaaSiCat as g, isSaaSiCatPublicRoute as i };
|
|
@@ -2,8 +2,8 @@ import * as _nestjs_common from '@nestjs/common';
|
|
|
2
2
|
import { ExecutionContext, DynamicModule } from '@nestjs/common';
|
|
3
3
|
import { Reflector } from '@nestjs/core';
|
|
4
4
|
import { SuperAdminProvisioningPort, SetupStatusResponse, SetupRequest, SetupResult, SetupConfirmMfaRequest, SetupConfirmMfaResponse } from '@saasicat/types';
|
|
5
|
-
import { h as MfaService } from './admin-stats.service-
|
|
6
|
-
import { e as
|
|
5
|
+
import { h as MfaService } from './admin-stats.service-BroyovpL.cjs';
|
|
6
|
+
import { e as SaaSiCatModuleOptions } from './module-options-DgwBKVpC.cjs';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Shared metadata key for endpoints that intentionally run without application
|
|
@@ -44,7 +44,7 @@ declare class SetupService {
|
|
|
44
44
|
* Quickstart path (Prisma + PostgreSQL on the canonical schema):
|
|
45
45
|
*
|
|
46
46
|
* ```ts
|
|
47
|
-
*
|
|
47
|
+
* SaaSiCatModule.forRoot({
|
|
48
48
|
* planCatalog: loadPlanCatalogFromFile({ path: 'config/saas.yaml' }),
|
|
49
49
|
* controller: { guards: [JwtAuthGuard] },
|
|
50
50
|
* imports: [AuthModule],
|
|
@@ -55,8 +55,8 @@ declare class SetupService {
|
|
|
55
55
|
* Individual `adapters` entries stay supported (custom schema / other ORM)
|
|
56
56
|
* and override bundle slices field by field.
|
|
57
57
|
*/
|
|
58
|
-
declare class
|
|
59
|
-
static forRoot(options:
|
|
58
|
+
declare class SaaSiCatModule {
|
|
59
|
+
static forRoot(options: SaaSiCatModuleOptions): DynamicModule;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
/**
|
|
@@ -64,6 +64,6 @@ declare class SaasPlatformModule {
|
|
|
64
64
|
* literal types and gives editors one place for completion without adding
|
|
65
65
|
* runtime behavior.
|
|
66
66
|
*/
|
|
67
|
-
declare function defineSaaSiCat<const T extends
|
|
67
|
+
declare function defineSaaSiCat<const T extends SaaSiCatModuleOptions>(options: T): T;
|
|
68
68
|
|
|
69
|
-
export { SetupService as S, SAASICAT_PUBLIC_ROUTE_KEY as a, SETUP_CONFIG_TOKEN as b, SETUP_PROVISIONING_PORT_TOKEN as c,
|
|
69
|
+
export { SetupService as S, SAASICAT_PUBLIC_ROUTE_KEY as a, SETUP_CONFIG_TOKEN as b, SETUP_PROVISIONING_PORT_TOKEN as c, SaaSiCatModule as d, SaaSiCatPublicRoute as e, type SetupConfig as f, defineSaaSiCat as g, isSaaSiCatPublicRoute as i };
|
package/dist/discovery/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
ImplementsCapability,
|
|
5
5
|
RequiresCapability,
|
|
6
6
|
runHeadlessDiscoveryScan
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-I7GTA3RX.js";
|
|
8
8
|
import {
|
|
9
9
|
DiscoverySnapshotNotFoundError,
|
|
10
10
|
loadDiscoverySnapshotFromFile
|
|
@@ -12,20 +12,20 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
DiscoveryModule,
|
|
14
14
|
buildDiscoveryController
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-XBYAFEOR.js";
|
|
16
16
|
import {
|
|
17
17
|
DISCOVERY_APP_INFO_TOKEN,
|
|
18
18
|
DISCOVERY_SNAPSHOT_PATH_TOKEN,
|
|
19
19
|
DiscoveryScanner,
|
|
20
20
|
computeSnapshotHash
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-WXYJHZCN.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFINES_QUOTA_KEY,
|
|
24
24
|
DISCOVERY_SNAPSHOT_TOKEN,
|
|
25
25
|
ENFORCE_QUOTA_KEY,
|
|
26
26
|
IMPLEMENTS_CAPABILITY_KEY,
|
|
27
27
|
REQUIRES_CAPABILITY_KEY
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-QUZU2M33.js";
|
|
29
29
|
import "../chunk-SHUYVCID.js";
|
|
30
30
|
export {
|
|
31
31
|
DEFINES_QUOTA_KEY,
|
package/dist/{enforce-quota.interceptor-CYDNvAQz.d.ts → enforce-quota.interceptor-BYqmdFB5.d.ts}
RENAMED
|
@@ -3,7 +3,7 @@ import { Reflector } from '@nestjs/core';
|
|
|
3
3
|
import { F as FEATURE_GUARD_MARKER } from './tenant-billing.module-B0stLoJn.js';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { PlanCatalog, QuotaProvider } from '@saasicat/types';
|
|
6
|
-
import { o as PlanResolverPort } from './module-options-
|
|
6
|
+
import { o as PlanResolverPort } from './module-options-BymIkAsh.js';
|
|
7
7
|
|
|
8
8
|
interface StaticEntitlementSnapshot {
|
|
9
9
|
planId: string | null;
|
package/dist/{enforce-quota.interceptor-N80KC34N.d.cts → enforce-quota.interceptor-BxIR63Wn.d.cts}
RENAMED
|
@@ -3,7 +3,7 @@ import { Reflector } from '@nestjs/core';
|
|
|
3
3
|
import { F as FEATURE_GUARD_MARKER } from './tenant-billing.module-BxJS6fX4.cjs';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { PlanCatalog, QuotaProvider } from '@saasicat/types';
|
|
6
|
-
import { o as PlanResolverPort } from './module-options-
|
|
6
|
+
import { o as PlanResolverPort } from './module-options-DgwBKVpC.cjs';
|
|
7
7
|
|
|
8
8
|
interface StaticEntitlementSnapshot {
|
|
9
9
|
planId: string | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../chunk-2FR6ZL7R.js";
|
|
2
2
|
import {
|
|
3
3
|
EntitlementModule
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-H3W6QDQH.js";
|
|
5
5
|
import {
|
|
6
6
|
EntitlementService,
|
|
7
7
|
LimitExceededError,
|
|
@@ -22,9 +22,9 @@ import {
|
|
|
22
22
|
mergeSubscriptionBundlesIntoLimits,
|
|
23
23
|
resolveEntitlementPlan,
|
|
24
24
|
toEffectiveLimitsSnapshot
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-XEW6YXL5.js";
|
|
26
26
|
import "../chunk-DQKCK7DX.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-VBRYPU7V.js";
|
|
28
28
|
import "../chunk-EBJJNTW6.js";
|
|
29
29
|
import {
|
|
30
30
|
ENTITLEMENT_RESOLUTION_CONFIG_TOKEN,
|
|
@@ -32,10 +32,10 @@ import {
|
|
|
32
32
|
PLAN_VERSION_REPOSITORY_TOKEN,
|
|
33
33
|
SUBSCRIPTION_REPOSITORY_TOKEN,
|
|
34
34
|
TRANSACTION_RUNNER_TOKEN
|
|
35
|
-
} from "../chunk-
|
|
36
|
-
import "../chunk-
|
|
35
|
+
} from "../chunk-OUDSQ3PU.js";
|
|
36
|
+
import "../chunk-AOQJEYOL.js";
|
|
37
37
|
import "../chunk-SABTXESR.js";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-QUZU2M33.js";
|
|
39
39
|
import "../chunk-SHUYVCID.js";
|
|
40
40
|
export {
|
|
41
41
|
ENTITLEMENT_RESOLUTION_CONFIG_TOKEN,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
export { P as ProviderSpec, a as asProvider } from './di-CcNeq9v-.cjs';
|
|
2
|
-
import { S as SetupService } from './define-saasicat-
|
|
3
|
-
export { a as SAASICAT_PUBLIC_ROUTE_KEY, b as SETUP_CONFIG_TOKEN, c as SETUP_PROVISIONING_PORT_TOKEN, d as SaaSiCatModule, e as SaaSiCatPublicRoute,
|
|
2
|
+
import { S as SetupService } from './define-saasicat-CNUWjfNK.cjs';
|
|
3
|
+
export { a as SAASICAT_PUBLIC_ROUTE_KEY, b as SETUP_CONFIG_TOKEN, c as SETUP_PROVISIONING_PORT_TOKEN, d as SaaSiCatModule, e as SaaSiCatPublicRoute, f as SetupConfig, g as defineSaaSiCat, i as isSaaSiCatPublicRoute } from './define-saasicat-CNUWjfNK.cjs';
|
|
4
4
|
export { CreatePromoCodeDto, PROMO_CODE_REDEMPTION_REPOSITORY_TOKEN, PROMO_CODE_REPOSITORY_TOKEN, PROMO_CODE_VALIDATION_LOG_REPOSITORY_TOKEN, PROMO_FIRST_TIME_CUSTOMER_CHECK_TOKEN, PROMO_REVENUE_DEDUCTION_AGGREGATOR_TOKEN, PROMO_SERVICE_CONFIG_TOKEN, PROMO_SUBSCRIPTION_LOOKUP_TOKEN, PROMO_TRANSACTION_RUNNER_TOKEN, PreviewPromoCodeDto, PromoCodeExpirer, PromoCodeForCalc, PromoCodePublicController, PromoLabelOptions, UpdatePromoCodeDto, addCycles, buildLabel, buildPromoCodeAdminController, computeDiscountGross, computeDiscountedGross, computeIncludedVat, computeRegularStartsAt, grossFromNet, round2 } from './promo/index.cjs';
|
|
5
|
-
export { a as PreviewInput, b as PreviewInvalid, c as PreviewReason, d as PreviewResult, e as PreviewValid, f as PromoCodeStats, g as PromoCodesService, P as PromoServiceConfig, R as RedeemInput } from './service-D48clObR.cjs';
|
|
5
|
+
export { a as PreviewInput, b as PreviewInvalid, c as PreviewReason, d as PreviewResult, e as PreviewValid, f as PromoCodeStats, g as PromoCodesService, P as PromoServiceConfig, R as RedeemInput } from './promo.service-D48clObR.cjs';
|
|
6
6
|
export { P as PromoCodeRateLimitGuard, h as hashIp, i as ipFingerprint } from './rate-limit.guard-dntqAlfZ.cjs';
|
|
7
|
-
export { P as PromoCodesModule, a as PromoCodesModuleOptions } from './module-
|
|
8
|
-
export { AjvErrorLike, CatalogBundleUpsellResolver, ConfiguratorCatalogBuilder, FEATURE_GUARD_CONFIG_TOKEN,
|
|
7
|
+
export { P as PromoCodesModule, a as PromoCodesModuleOptions } from './promo.module-DokmUGmm.cjs';
|
|
8
|
+
export { AjvErrorLike, BILLING_FEATURE_UI_REGISTRY_TOKEN, CatalogBundleUpsellResolver, ConfiguratorCatalogBuilder, FEATURE_GUARD_CONFIG_TOKEN, FeatureGuard, FeatureGuardConfig, LimitExceededFilter, LoadPlanCatalogOptions, MarketingFields, NextPeriodWindow, PLAN_CATALOG_IMPORT_SINK_TOKEN, PLAN_CATALOG_READ_SINK_TOKEN, PLAN_CATALOG_TOKEN, PUBLIC_CATALOG_BUNDLE_REPOSITORY_TOKEN, PUBLIC_CATALOG_MARKETING_REPOSITORY_TOKEN, PUBLIC_CATALOG_PROJECT_KEY_TOKEN, PeriodRollInput, PlanCatalogBuildSettings, PlanCatalogImportDto, PlanCatalogImporterControllerConfig, PlanCatalogImporterModule, PlanCatalogImporterModuleOptions, PlanCatalogImporterService, PlanCatalogModule, PlanCatalogModuleOptions, PlanCatalogValidationError, PlanResponseEntry, PublicBundleEntry, PublicCatalogController, PublicCatalogModule, PublicCatalogModuleOptions, PublishValidationError, PublishablePlanVersion, REQUIRE_FEATURE_KEY, RenewalDecision, RenewalSubInput, RequireFeature, SUBSCRIPTION_BUNDLE_CONFIG_TOKEN, SUBSCRIPTION_BUNDLE_REPOSITORY_TOKEN, SubscriptionContractFreezeService, UPSELL_OFFER_CURRENCY_TOKEN, UPSELL_OFFER_RESOLVER_TOKEN, assertBaseVersionFresh, assertChangeNote, assertDraftPublishable, assertOptimisticLockHeld, buildPlanCatalogFromSnapshot, buildPlanCatalogImporterController, buildTenantSubscriptionBundlesController, clearPendingPlanVersionFields, computeCarriedTrialEndsAt, computeNextPeriod, decideRenewal, findPlan, getActiveFeatureKeys, getMarketedPlans, getPlanOrThrow, getPlanPriceGross, getPlanPriceNet, getPlanQuota, initialPeriodWindow, isFeatureInPlan, isFeaturePlannedOnly, loadPlanCatalogFromFile, loadPlanCatalogFromString, periodEndAfter, periodEndWithMinLead } from './billing/index.cjs';
|
|
9
9
|
import { SetupStatusResponse, SetupResult, SetupConfirmMfaResponse, PlatformErrorCode, PlatformErrorBody } from '@saasicat/types';
|
|
10
10
|
export { BundleVersionFields, ChangeDirection, DiffResult, DiscoveredCapability, DiscoveredFeature, DiscoveredQuota, DiscoverySnapshot, PasswordHasher, PlanVersionFields, VersionChange, VersionChangeDirection, classifyBundleVersionDiff, classifyPlanDiff } from '@saasicat/types';
|
|
11
11
|
export { A as AUDIT_CONTEXT_RESOLVER_TOKEN, a as AuditContextResolver, b as AuthGuardList, C as CONTRACT_FREEZE_PORT_TOKEN, c as CONTRACT_FREEZE_PROJECT_KEY_TOKEN, d as CONTRACT_FREEZE_SOURCE_PORT_TOKEN, e as ContractFreezeBundleSnapshot, f as ContractFreezePort, g as ContractFreezeSourcePort, D as DuePendingPlanChange, F as FEATURE_GUARD_MARKER, M as MarkedFeatureGuard, P as PENDING_PLAN_QUERY_PORT_TOKEN, h as PendingPlanQueryPort, S as SELF_SERVICE_BLOCKED_BUNDLES_TOKEN, i as SELF_SERVICE_BLOCKED_PLANS_TOKEN, j as SUBSCRIPTION_USAGE_PORT_TOKEN, k as SUBSCRIPTION_WRITE_PORT_TOKEN, l as SelfServiceBlockedBundles, m as SelfServiceBlockedPlans, n as SubscriptionBundleControllerOptions, o as SubscriptionBundleModule, p as SubscriptionBundleModuleOptions, T as TENANT_AUTH_GUARDS_TOKEN, q as TENANT_ID_RESOLVER_TOKEN, r as TRIAL_PROJECTION_PORT_TOKEN, s as TenantBillingModule, t as TenantBillingModuleOptions, u as TenantIdResolver, v as TrialProjectionInput, w as TrialProjectionPort, U as USAGE_SNAPSHOT_PORT_TOKEN, x as USER_EMAIL_RESOLVER_TOKEN, y as USER_ID_RESOLVER_TOKEN, z as UserEmailResolver, B as UserIdResolver, E as isPlatformFeatureGuard } from './tenant-billing.module-BxJS6fX4.cjs';
|
|
12
|
-
export { A as AddBundleToSubscriptionInput, B as BundlePreviewSnapshot, C as CancelBundleFromSubscriptionInput, a as CancelSubscriptionDto, b as ChangePlanDto, c as CompleteOnboardingSubscriptionDto, d as ComposedTenantAuthGuard, L as LimitsCheckRow, P as PendingPlanMaterializationService, e as PlanChangeContext, f as PlanChangePreviewDto, g as PlanChangePreviewIssue, h as PlanChangePreviewService, i as PlanChangeType, j as PlanSnapshotDto, k as PreviewPlanChangeDto, l as ProrationDto, m as ProrationInput, R as RedundantFeatureHint, S as SubscriptionBundleAddPreviewDto, n as SubscriptionBundleCancelPreviewDto, o as SubscriptionBundleConfig, p as SubscriptionBundlePreviewContext, q as SubscriptionBundlePreviewIssue, r as SubscriptionBundlePreviewService, s as SubscriptionBundlesService, T as TenantAdminGuard, t as TenantBillingController, U as UsageResponse, u as addMonths, v as computeProration, w as resolveBundleCancelEffectiveAt, x as resolveBundlePriceNet } from './tenant-billing.controller-
|
|
12
|
+
export { A as AddBundleToSubscriptionInput, B as BundlePreviewSnapshot, C as CancelBundleFromSubscriptionInput, a as CancelSubscriptionDto, b as ChangePlanDto, c as CompleteOnboardingSubscriptionDto, d as ComposedTenantAuthGuard, L as LimitsCheckRow, P as PendingPlanMaterializationService, e as PlanChangeContext, f as PlanChangePreviewDto, g as PlanChangePreviewIssue, h as PlanChangePreviewService, i as PlanChangeType, j as PlanSnapshotDto, k as PreviewPlanChangeDto, l as ProrationDto, m as ProrationInput, R as RedundantFeatureHint, S as SubscriptionBundleAddPreviewDto, n as SubscriptionBundleCancelPreviewDto, o as SubscriptionBundleConfig, p as SubscriptionBundlePreviewContext, q as SubscriptionBundlePreviewIssue, r as SubscriptionBundlePreviewService, s as SubscriptionBundlesService, T as TenantAdminGuard, t as TenantBillingController, U as UsageResponse, u as addMonths, v as computeProration, w as resolveBundleCancelEffectiveAt, x as resolveBundlePriceNet } from './tenant-billing.controller-CODIYzlI.cjs';
|
|
13
13
|
export { C as CustomLimitsShape, E as EffectiveLimits, a as EffectiveLimitsSnapshot, b as EnforceLimitInput, c as EntitlementService, P as PlanVersionSnapshot, S as SubscriptionBundleSnapshot, d as SubscriptionLimitsInput, e as aggregateContractLineItemEntitlements, f as aggregateLimits, g as aggregateSubscriptionBundleQuotas, h as applyCustomLimits, i as collectSubscriptionBundleFeatures, j as contractBundleVersionIds, k as contractLimits, l as filterActiveSubscriptionBundles, m as filterPlannedOnlyFeatures, n as hasAnyFeature, o as hasFeature, p as mergeSubscriptionBundlesIntoLimits, t as toEffectiveLimitsSnapshot } from './aggregation-mZ7WZROK.cjs';
|
|
14
14
|
export { ENTITLEMENT_RESOLUTION_CONFIG_TOKEN, ENTITLEMENT_SERVICE_TOKEN, EntitlementModule, EntitlementModuleOptions, LimitExceededError, PLAN_VERSION_REPOSITORY_TOKEN, ReplacedByIndex, SUBSCRIPTION_REPOSITORY_TOKEN, TRANSACTION_RUNNER_TOKEN, buildReplacedByIndex, expandReplacedFeatures, isLimitExceededError } from './entitlement/index.cjs';
|
|
15
15
|
export { E as EntitlementResolutionConfig, a as EntitlementResolutionInput, r as resolveEntitlementPlan } from './plan-resolution-CFCoUkrE.cjs';
|
|
16
16
|
export { ADMIN_STATS_AUDIT_WINDOW_DAYS_TOKEN, AUDIT_PORT_TOKEN, AUDIT_STATS_PORT_TOKEN, AdminPublicBootController, AdminStatsController, MFA_PORT_TOKEN, PLATFORM_CORE_MANIFEST_CONTRIBUTION, PROMO_CODE_STATS_PORT_TOKEN, RLS_BYPASS_PORT_TOKEN, SUBSCRIPTION_STATS_PORT_TOKEN, buildAdminStatsController } from './admin/index.cjs';
|
|
17
|
-
export { A as AdminBypassRlsInterceptor, a as AdminManifestModule, b as AdminManifestModuleOptions, c as AdminManifestService, d as AdminModule, e as AdminModuleOptions, f as AdminStatsService, g as AdminStatsSnapshot, M as MfaGuard, h as MfaService, P as PLATFORM_CORE_CONTRIBUTION_TOKEN, R as REQUIRE_MFA_KEY, i as RequireMfa, S as SuperAdminGuard, T as TotpSetupResult, V as VerifyTotpInput } from './admin-stats.service-
|
|
17
|
+
export { A as AdminBypassRlsInterceptor, a as AdminManifestModule, b as AdminManifestModuleOptions, c as AdminManifestService, d as AdminModule, e as AdminModuleOptions, f as AdminStatsService, g as AdminStatsSnapshot, M as MfaGuard, h as MfaService, P as PLATFORM_CORE_CONTRIBUTION_TOKEN, R as REQUIRE_MFA_KEY, i as RequireMfa, S as SuperAdminGuard, T as TotpSetupResult, V as VerifyTotpInput } from './admin-stats.service-BroyovpL.cjs';
|
|
18
18
|
export { A as AdminAuditService } from './admin-audit.service-9IqXMlZm.cjs';
|
|
19
19
|
export { A as ADMIN_MANIFEST_CONFIG, a as ADMIN_RESOURCES_PORT_TOKEN, b as AdminManifestConfig, c as AdminResourcesModule, d as AdminResourcesModuleOptions, e as AdminResourcesService, f as AdminStatsModule, g as AdminStatsModuleOptions, S as SuspendTenantDto } from './admin-resources.module-DGgGSdzN.cjs';
|
|
20
|
-
export { S as
|
|
20
|
+
export { S as SaaSiCatAdapters, a as SaaSiCatAdminResourcesOptions, b as SaaSiCatAdminStatsOptions, c as SaaSiCatCatalogOptions, d as SaaSiCatCheckoutOfferOptions, e as SaaSiCatModuleOptions, f as SaaSiCatPromoCodesOptions, g as SaaSiCatSetupOptions, h as SaaSiCatSubscriptionBundlesOptions, i as SaaSiCatSubscriptionContractOptions, j as SaaSiCatTenantAuthGuards, k as SaaSiCatTenantBillingOptions, l as SetupModule, m as SetupModuleOptions } from './module-options-DgwBKVpC.cjs';
|
|
21
21
|
export { ACTIVATION_ORCHESTRATOR_TOKEN, BaseIpRateLimitGuard, ContinueRegistrationDto, PASSWORD_HASHER_TOKEN, PAYMENT_EVENT_LOG_TOKEN, PAYMENT_PROVIDER_TOKEN, PENDING_REGISTRATION_REPOSITORY_TOKEN, PLAN_CATALOG_LOOKUP_TOKEN, PaymentWebhookDto, PendingRegistrationService, PreviewRegistrationPromoDto, PromoEvaluation, REGISTRATION_AUDIT_LOGGER_TOKEN, REGISTRATION_CONFIGURATOR_LOOKUP_TOKEN, REGISTRATION_CONFIG_TOKEN, REGISTRATION_OTP_DELIVERY_TOKEN, REGISTRATION_PROMO_PREVIEW_TOKEN, REGISTRATION_RESUME_BASE_URL_TOKEN, REGISTRATION_RESUME_DELIVERY_TOKEN, REGISTRATION_RESUME_TOKEN_SIGNER_TOKEN, RegisterStartDto, RegistrationCleanupCron, RegistrationModule, RegistrationModuleOptions, ResendRegistrationOtpDto, SLUG_AVAILABILITY_CHECK_TOKEN, SaveRegistrationConfigDto, SaveRegistrationConfigSelectionDto, SelectRegistrationPlanDto, StartRegistrationCheckoutDto, USER_ACCOUNT_LOOKUP_TOKEN, VerifyRegistrationOtpDto, computeBreakdown, generateOtpCode, hashOtpCode, resolveModel, slugify, verifyOtpCode } from './registration/index.cjs';
|
|
22
22
|
export { DEFINES_QUOTA_KEY, DISCOVERY_SNAPSHOT_TOKEN, DefinesQuota, DefinesQuotaOptions, DiscoveryControllerConfig, DiscoveryModule, DiscoveryModuleOptions, DiscoverySnapshotNotFoundError, ENFORCE_QUOTA_KEY, EnforceQuota, EnforceQuotaMetadata, EnforceQuotaOptions, HeadlessScanOptions, IMPLEMENTS_CAPABILITY_KEY, ImplementsCapability, ImplementsCapabilityMetadata, ImplementsCapabilityOptions, REQUIRES_CAPABILITY_KEY, RequiresCapability, RequiresCapabilityKeys, buildDiscoveryController, loadDiscoverySnapshotFromFile, runHeadlessDiscoveryScan } from './discovery/index.cjs';
|
|
23
23
|
export { D as DISCOVERY_APP_INFO_TOKEN, a as DISCOVERY_SNAPSHOT_PATH_TOKEN, b as DiscoveryAppInfo, c as DiscoveryScanner, d as computeSnapshotHash } from './discovery.scanner-DLgEvuoy.cjs';
|
|
24
24
|
export { B as BundlesService, C as CatalogEntriesService, a as CatalogServiceConfig, M as MarketingProjectionsService, b as MarketingSettingsService, P as PlanVersionsService, c as PlansService, d as PromotionsService, e as PublicMarketingCatalogService } from './plan-versions.service-_saKzb50.cjs';
|
|
25
|
-
export { ADVISORY_STRICT_MODE_CODES, BUNDLE_REPOSITORY_TOKEN, CATALOG_ENTRY_REPOSITORY_TOKEN, CATALOG_SERVICE_CONFIG_TOKEN, CreateBundleDto, CreateBundleVersionDraftDto, CreateMarketingProjectionDto, CreatePlanDto, CreatePlanVersionDraftDto, CreatePromotionDto, ListCatalogEntriesQueryDto, ListMarketingProjectionsQueryDto, ListMarketingSettingsQueryDto, ListPromotionsQueryDto, MARKETING_PROJECTION_REPOSITORY_TOKEN, MARKETING_SETTINGS_REPOSITORY_TOKEN, PLAN_REPOSITORY_TOKEN, PROMOTION_REPOSITORY_TOKEN, PreflightFinding, PreflightInput, PreflightReport, PublishBundleVersionDto, PublishPlanVersionDto, ReviewCatalogEntryDto, SeedBundleDraft, SeedGateFinding, SeedGateInput, SeedGateMode, SeedGateReport, SeedGateRunOptions, SeedPlanDraft, SyncDiscoveryDto, UpdateBundleDto, UpdateBundleVersionDraftDto, UpdateCatalogEntryI18nDto, UpdateMarketingProjectionDto, UpdateMarketingSettingsDto, UpdatePlanDto, UpdatePlanVersionDraftDto, UpdatePromotionDto, blockingStrictModeWarnings, buildBundleVersionsController, buildBundlesController, buildCatalogEntriesController, buildMarketingProjectionsController, buildMarketingSettingsController, buildPlanVersionsController, buildPlansController, buildPromotionsController, buildPublicMarketingCatalogController, featureApprovalSignature, formatPreflightReport, formatSeedGateReport, loadApprovedCatalogKeys, preflightExitCode, quotaApprovalSignature, runPreflight, runSeedGateFromFile, seedGateExitCode, validateBundleDraft, validatePlanDraft, validateSeedAgainstSnapshot } from './catalog/index.cjs';
|
|
25
|
+
export { ADVISORY_STRICT_MODE_CODES, BUNDLE_REPOSITORY_TOKEN, CATALOG_ENTRY_REPOSITORY_TOKEN, CATALOG_FEATURE_UI_REGISTRY_TOKEN, CATALOG_SERVICE_CONFIG_TOKEN, CreateBundleDto, CreateBundleVersionDraftDto, CreateMarketingProjectionDto, CreatePlanDto, CreatePlanVersionDraftDto, CreatePromotionDto, ListCatalogEntriesQueryDto, ListMarketingProjectionsQueryDto, ListMarketingSettingsQueryDto, ListPromotionsQueryDto, MARKETING_PROJECTION_REPOSITORY_TOKEN, MARKETING_SETTINGS_REPOSITORY_TOKEN, PLAN_REPOSITORY_TOKEN, PROMOTION_REPOSITORY_TOKEN, PreflightFinding, PreflightInput, PreflightReport, PublishBundleVersionDto, PublishPlanVersionDto, ReviewCatalogEntryDto, SeedBundleDraft, SeedGateFinding, SeedGateInput, SeedGateMode, SeedGateReport, SeedGateRunOptions, SeedPlanDraft, SyncDiscoveryDto, UpdateBundleDto, UpdateBundleVersionDraftDto, UpdateCatalogEntryI18nDto, UpdateMarketingProjectionDto, UpdateMarketingSettingsDto, UpdatePlanDto, UpdatePlanVersionDraftDto, UpdatePromotionDto, blockingStrictModeWarnings, buildBundleVersionsController, buildBundlesController, buildCatalogEntriesController, buildMarketingProjectionsController, buildMarketingSettingsController, buildPlanVersionsController, buildPlansController, buildPromotionsController, buildPublicMarketingCatalogController, featureApprovalSignature, formatPreflightReport, formatSeedGateReport, loadApprovedCatalogKeys, preflightExitCode, quotaApprovalSignature, runPreflight, runSeedGateFromFile, seedGateExitCode, validateBundleDraft, validatePlanDraft, validateSeedAgainstSnapshot } from './catalog/index.cjs';
|
|
26
26
|
export { C as CatalogControllerConfig, a as CatalogModule, b as CatalogModuleOptions } from './catalog.module-D-_pQDNA.cjs';
|
|
27
27
|
export { C as CheckoutOfferService } from './checkout-offer.service-BX51dljL.cjs';
|
|
28
28
|
export { CHECKOUT_OFFER_REPOSITORY_TOKEN, CreateCheckoutOfferDto, UpdateCheckoutOfferDto, buildCheckoutOfferController } from './checkout-offer/index.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
export { P as ProviderSpec, a as asProvider } from './di-CcNeq9v-.js';
|
|
2
|
-
import { S as SetupService } from './define-saasicat-
|
|
3
|
-
export { a as SAASICAT_PUBLIC_ROUTE_KEY, b as SETUP_CONFIG_TOKEN, c as SETUP_PROVISIONING_PORT_TOKEN, d as SaaSiCatModule, e as SaaSiCatPublicRoute,
|
|
2
|
+
import { S as SetupService } from './define-saasicat-BFgeoVG9.js';
|
|
3
|
+
export { a as SAASICAT_PUBLIC_ROUTE_KEY, b as SETUP_CONFIG_TOKEN, c as SETUP_PROVISIONING_PORT_TOKEN, d as SaaSiCatModule, e as SaaSiCatPublicRoute, f as SetupConfig, g as defineSaaSiCat, i as isSaaSiCatPublicRoute } from './define-saasicat-BFgeoVG9.js';
|
|
4
4
|
export { CreatePromoCodeDto, PROMO_CODE_REDEMPTION_REPOSITORY_TOKEN, PROMO_CODE_REPOSITORY_TOKEN, PROMO_CODE_VALIDATION_LOG_REPOSITORY_TOKEN, PROMO_FIRST_TIME_CUSTOMER_CHECK_TOKEN, PROMO_REVENUE_DEDUCTION_AGGREGATOR_TOKEN, PROMO_SERVICE_CONFIG_TOKEN, PROMO_SUBSCRIPTION_LOOKUP_TOKEN, PROMO_TRANSACTION_RUNNER_TOKEN, PreviewPromoCodeDto, PromoCodeExpirer, PromoCodeForCalc, PromoCodePublicController, PromoLabelOptions, UpdatePromoCodeDto, addCycles, buildLabel, buildPromoCodeAdminController, computeDiscountGross, computeDiscountedGross, computeIncludedVat, computeRegularStartsAt, grossFromNet, round2 } from './promo/index.js';
|
|
5
|
-
export { a as PreviewInput, b as PreviewInvalid, c as PreviewReason, d as PreviewResult, e as PreviewValid, f as PromoCodeStats, g as PromoCodesService, P as PromoServiceConfig, R as RedeemInput } from './service-D48clObR.js';
|
|
5
|
+
export { a as PreviewInput, b as PreviewInvalid, c as PreviewReason, d as PreviewResult, e as PreviewValid, f as PromoCodeStats, g as PromoCodesService, P as PromoServiceConfig, R as RedeemInput } from './promo.service-D48clObR.js';
|
|
6
6
|
export { P as PromoCodeRateLimitGuard, h as hashIp, i as ipFingerprint } from './rate-limit.guard-dntqAlfZ.js';
|
|
7
|
-
export { P as PromoCodesModule, a as PromoCodesModuleOptions } from './module-
|
|
8
|
-
export { AjvErrorLike, CatalogBundleUpsellResolver, ConfiguratorCatalogBuilder, FEATURE_GUARD_CONFIG_TOKEN,
|
|
7
|
+
export { P as PromoCodesModule, a as PromoCodesModuleOptions } from './promo.module-CnzddtJ0.js';
|
|
8
|
+
export { AjvErrorLike, BILLING_FEATURE_UI_REGISTRY_TOKEN, CatalogBundleUpsellResolver, ConfiguratorCatalogBuilder, FEATURE_GUARD_CONFIG_TOKEN, FeatureGuard, FeatureGuardConfig, LimitExceededFilter, LoadPlanCatalogOptions, MarketingFields, NextPeriodWindow, PLAN_CATALOG_IMPORT_SINK_TOKEN, PLAN_CATALOG_READ_SINK_TOKEN, PLAN_CATALOG_TOKEN, PUBLIC_CATALOG_BUNDLE_REPOSITORY_TOKEN, PUBLIC_CATALOG_MARKETING_REPOSITORY_TOKEN, PUBLIC_CATALOG_PROJECT_KEY_TOKEN, PeriodRollInput, PlanCatalogBuildSettings, PlanCatalogImportDto, PlanCatalogImporterControllerConfig, PlanCatalogImporterModule, PlanCatalogImporterModuleOptions, PlanCatalogImporterService, PlanCatalogModule, PlanCatalogModuleOptions, PlanCatalogValidationError, PlanResponseEntry, PublicBundleEntry, PublicCatalogController, PublicCatalogModule, PublicCatalogModuleOptions, PublishValidationError, PublishablePlanVersion, REQUIRE_FEATURE_KEY, RenewalDecision, RenewalSubInput, RequireFeature, SUBSCRIPTION_BUNDLE_CONFIG_TOKEN, SUBSCRIPTION_BUNDLE_REPOSITORY_TOKEN, SubscriptionContractFreezeService, UPSELL_OFFER_CURRENCY_TOKEN, UPSELL_OFFER_RESOLVER_TOKEN, assertBaseVersionFresh, assertChangeNote, assertDraftPublishable, assertOptimisticLockHeld, buildPlanCatalogFromSnapshot, buildPlanCatalogImporterController, buildTenantSubscriptionBundlesController, clearPendingPlanVersionFields, computeCarriedTrialEndsAt, computeNextPeriod, decideRenewal, findPlan, getActiveFeatureKeys, getMarketedPlans, getPlanOrThrow, getPlanPriceGross, getPlanPriceNet, getPlanQuota, initialPeriodWindow, isFeatureInPlan, isFeaturePlannedOnly, loadPlanCatalogFromFile, loadPlanCatalogFromString, periodEndAfter, periodEndWithMinLead } from './billing/index.js';
|
|
9
9
|
import { SetupStatusResponse, SetupResult, SetupConfirmMfaResponse, PlatformErrorCode, PlatformErrorBody } from '@saasicat/types';
|
|
10
10
|
export { BundleVersionFields, ChangeDirection, DiffResult, DiscoveredCapability, DiscoveredFeature, DiscoveredQuota, DiscoverySnapshot, PasswordHasher, PlanVersionFields, VersionChange, VersionChangeDirection, classifyBundleVersionDiff, classifyPlanDiff } from '@saasicat/types';
|
|
11
11
|
export { A as AUDIT_CONTEXT_RESOLVER_TOKEN, a as AuditContextResolver, b as AuthGuardList, C as CONTRACT_FREEZE_PORT_TOKEN, c as CONTRACT_FREEZE_PROJECT_KEY_TOKEN, d as CONTRACT_FREEZE_SOURCE_PORT_TOKEN, e as ContractFreezeBundleSnapshot, f as ContractFreezePort, g as ContractFreezeSourcePort, D as DuePendingPlanChange, F as FEATURE_GUARD_MARKER, M as MarkedFeatureGuard, P as PENDING_PLAN_QUERY_PORT_TOKEN, h as PendingPlanQueryPort, S as SELF_SERVICE_BLOCKED_BUNDLES_TOKEN, i as SELF_SERVICE_BLOCKED_PLANS_TOKEN, j as SUBSCRIPTION_USAGE_PORT_TOKEN, k as SUBSCRIPTION_WRITE_PORT_TOKEN, l as SelfServiceBlockedBundles, m as SelfServiceBlockedPlans, n as SubscriptionBundleControllerOptions, o as SubscriptionBundleModule, p as SubscriptionBundleModuleOptions, T as TENANT_AUTH_GUARDS_TOKEN, q as TENANT_ID_RESOLVER_TOKEN, r as TRIAL_PROJECTION_PORT_TOKEN, s as TenantBillingModule, t as TenantBillingModuleOptions, u as TenantIdResolver, v as TrialProjectionInput, w as TrialProjectionPort, U as USAGE_SNAPSHOT_PORT_TOKEN, x as USER_EMAIL_RESOLVER_TOKEN, y as USER_ID_RESOLVER_TOKEN, z as UserEmailResolver, B as UserIdResolver, E as isPlatformFeatureGuard } from './tenant-billing.module-B0stLoJn.js';
|
|
12
|
-
export { A as AddBundleToSubscriptionInput, B as BundlePreviewSnapshot, C as CancelBundleFromSubscriptionInput, a as CancelSubscriptionDto, b as ChangePlanDto, c as CompleteOnboardingSubscriptionDto, d as ComposedTenantAuthGuard, L as LimitsCheckRow, P as PendingPlanMaterializationService, e as PlanChangeContext, f as PlanChangePreviewDto, g as PlanChangePreviewIssue, h as PlanChangePreviewService, i as PlanChangeType, j as PlanSnapshotDto, k as PreviewPlanChangeDto, l as ProrationDto, m as ProrationInput, R as RedundantFeatureHint, S as SubscriptionBundleAddPreviewDto, n as SubscriptionBundleCancelPreviewDto, o as SubscriptionBundleConfig, p as SubscriptionBundlePreviewContext, q as SubscriptionBundlePreviewIssue, r as SubscriptionBundlePreviewService, s as SubscriptionBundlesService, T as TenantAdminGuard, t as TenantBillingController, U as UsageResponse, u as addMonths, v as computeProration, w as resolveBundleCancelEffectiveAt, x as resolveBundlePriceNet } from './tenant-billing.controller-
|
|
12
|
+
export { A as AddBundleToSubscriptionInput, B as BundlePreviewSnapshot, C as CancelBundleFromSubscriptionInput, a as CancelSubscriptionDto, b as ChangePlanDto, c as CompleteOnboardingSubscriptionDto, d as ComposedTenantAuthGuard, L as LimitsCheckRow, P as PendingPlanMaterializationService, e as PlanChangeContext, f as PlanChangePreviewDto, g as PlanChangePreviewIssue, h as PlanChangePreviewService, i as PlanChangeType, j as PlanSnapshotDto, k as PreviewPlanChangeDto, l as ProrationDto, m as ProrationInput, R as RedundantFeatureHint, S as SubscriptionBundleAddPreviewDto, n as SubscriptionBundleCancelPreviewDto, o as SubscriptionBundleConfig, p as SubscriptionBundlePreviewContext, q as SubscriptionBundlePreviewIssue, r as SubscriptionBundlePreviewService, s as SubscriptionBundlesService, T as TenantAdminGuard, t as TenantBillingController, U as UsageResponse, u as addMonths, v as computeProration, w as resolveBundleCancelEffectiveAt, x as resolveBundlePriceNet } from './tenant-billing.controller-BQPy5yXh.js';
|
|
13
13
|
export { C as CustomLimitsShape, E as EffectiveLimits, a as EffectiveLimitsSnapshot, b as EnforceLimitInput, c as EntitlementService, P as PlanVersionSnapshot, S as SubscriptionBundleSnapshot, d as SubscriptionLimitsInput, e as aggregateContractLineItemEntitlements, f as aggregateLimits, g as aggregateSubscriptionBundleQuotas, h as applyCustomLimits, i as collectSubscriptionBundleFeatures, j as contractBundleVersionIds, k as contractLimits, l as filterActiveSubscriptionBundles, m as filterPlannedOnlyFeatures, n as hasAnyFeature, o as hasFeature, p as mergeSubscriptionBundlesIntoLimits, t as toEffectiveLimitsSnapshot } from './aggregation-DP5zfKbU.js';
|
|
14
14
|
export { ENTITLEMENT_RESOLUTION_CONFIG_TOKEN, ENTITLEMENT_SERVICE_TOKEN, EntitlementModule, EntitlementModuleOptions, LimitExceededError, PLAN_VERSION_REPOSITORY_TOKEN, ReplacedByIndex, SUBSCRIPTION_REPOSITORY_TOKEN, TRANSACTION_RUNNER_TOKEN, buildReplacedByIndex, expandReplacedFeatures, isLimitExceededError } from './entitlement/index.js';
|
|
15
15
|
export { E as EntitlementResolutionConfig, a as EntitlementResolutionInput, r as resolveEntitlementPlan } from './plan-resolution-CFCoUkrE.js';
|
|
16
16
|
export { ADMIN_STATS_AUDIT_WINDOW_DAYS_TOKEN, AUDIT_PORT_TOKEN, AUDIT_STATS_PORT_TOKEN, AdminPublicBootController, AdminStatsController, MFA_PORT_TOKEN, PLATFORM_CORE_MANIFEST_CONTRIBUTION, PROMO_CODE_STATS_PORT_TOKEN, RLS_BYPASS_PORT_TOKEN, SUBSCRIPTION_STATS_PORT_TOKEN, buildAdminStatsController } from './admin/index.js';
|
|
17
|
-
export { A as AdminBypassRlsInterceptor, a as AdminManifestModule, b as AdminManifestModuleOptions, c as AdminManifestService, d as AdminModule, e as AdminModuleOptions, f as AdminStatsService, g as AdminStatsSnapshot, M as MfaGuard, h as MfaService, P as PLATFORM_CORE_CONTRIBUTION_TOKEN, R as REQUIRE_MFA_KEY, i as RequireMfa, S as SuperAdminGuard, T as TotpSetupResult, V as VerifyTotpInput } from './admin-stats.service-
|
|
17
|
+
export { A as AdminBypassRlsInterceptor, a as AdminManifestModule, b as AdminManifestModuleOptions, c as AdminManifestService, d as AdminModule, e as AdminModuleOptions, f as AdminStatsService, g as AdminStatsSnapshot, M as MfaGuard, h as MfaService, P as PLATFORM_CORE_CONTRIBUTION_TOKEN, R as REQUIRE_MFA_KEY, i as RequireMfa, S as SuperAdminGuard, T as TotpSetupResult, V as VerifyTotpInput } from './admin-stats.service-G53IEkkt.js';
|
|
18
18
|
export { A as AdminAuditService } from './admin-audit.service-9IqXMlZm.js';
|
|
19
19
|
export { A as ADMIN_MANIFEST_CONFIG, a as ADMIN_RESOURCES_PORT_TOKEN, b as AdminManifestConfig, c as AdminResourcesModule, d as AdminResourcesModuleOptions, e as AdminResourcesService, f as AdminStatsModule, g as AdminStatsModuleOptions, S as SuspendTenantDto } from './admin-resources.module-BY5r_1MG.js';
|
|
20
|
-
export { S as
|
|
20
|
+
export { S as SaaSiCatAdapters, a as SaaSiCatAdminResourcesOptions, b as SaaSiCatAdminStatsOptions, c as SaaSiCatCatalogOptions, d as SaaSiCatCheckoutOfferOptions, e as SaaSiCatModuleOptions, f as SaaSiCatPromoCodesOptions, g as SaaSiCatSetupOptions, h as SaaSiCatSubscriptionBundlesOptions, i as SaaSiCatSubscriptionContractOptions, j as SaaSiCatTenantAuthGuards, k as SaaSiCatTenantBillingOptions, l as SetupModule, m as SetupModuleOptions } from './module-options-BymIkAsh.js';
|
|
21
21
|
export { ACTIVATION_ORCHESTRATOR_TOKEN, BaseIpRateLimitGuard, ContinueRegistrationDto, PASSWORD_HASHER_TOKEN, PAYMENT_EVENT_LOG_TOKEN, PAYMENT_PROVIDER_TOKEN, PENDING_REGISTRATION_REPOSITORY_TOKEN, PLAN_CATALOG_LOOKUP_TOKEN, PaymentWebhookDto, PendingRegistrationService, PreviewRegistrationPromoDto, PromoEvaluation, REGISTRATION_AUDIT_LOGGER_TOKEN, REGISTRATION_CONFIGURATOR_LOOKUP_TOKEN, REGISTRATION_CONFIG_TOKEN, REGISTRATION_OTP_DELIVERY_TOKEN, REGISTRATION_PROMO_PREVIEW_TOKEN, REGISTRATION_RESUME_BASE_URL_TOKEN, REGISTRATION_RESUME_DELIVERY_TOKEN, REGISTRATION_RESUME_TOKEN_SIGNER_TOKEN, RegisterStartDto, RegistrationCleanupCron, RegistrationModule, RegistrationModuleOptions, ResendRegistrationOtpDto, SLUG_AVAILABILITY_CHECK_TOKEN, SaveRegistrationConfigDto, SaveRegistrationConfigSelectionDto, SelectRegistrationPlanDto, StartRegistrationCheckoutDto, USER_ACCOUNT_LOOKUP_TOKEN, VerifyRegistrationOtpDto, computeBreakdown, generateOtpCode, hashOtpCode, resolveModel, slugify, verifyOtpCode } from './registration/index.js';
|
|
22
22
|
export { DEFINES_QUOTA_KEY, DISCOVERY_SNAPSHOT_TOKEN, DefinesQuota, DefinesQuotaOptions, DiscoveryControllerConfig, DiscoveryModule, DiscoveryModuleOptions, DiscoverySnapshotNotFoundError, ENFORCE_QUOTA_KEY, EnforceQuota, EnforceQuotaMetadata, EnforceQuotaOptions, HeadlessScanOptions, IMPLEMENTS_CAPABILITY_KEY, ImplementsCapability, ImplementsCapabilityMetadata, ImplementsCapabilityOptions, REQUIRES_CAPABILITY_KEY, RequiresCapability, RequiresCapabilityKeys, buildDiscoveryController, loadDiscoverySnapshotFromFile, runHeadlessDiscoveryScan } from './discovery/index.js';
|
|
23
23
|
export { D as DISCOVERY_APP_INFO_TOKEN, a as DISCOVERY_SNAPSHOT_PATH_TOKEN, b as DiscoveryAppInfo, c as DiscoveryScanner, d as computeSnapshotHash } from './discovery.scanner-DLgEvuoy.js';
|
|
24
24
|
export { B as BundlesService, C as CatalogEntriesService, a as CatalogServiceConfig, M as MarketingProjectionsService, b as MarketingSettingsService, P as PlanVersionsService, c as PlansService, d as PromotionsService, e as PublicMarketingCatalogService } from './plan-versions.service-B-YoE4SZ.js';
|
|
25
|
-
export { ADVISORY_STRICT_MODE_CODES, BUNDLE_REPOSITORY_TOKEN, CATALOG_ENTRY_REPOSITORY_TOKEN, CATALOG_SERVICE_CONFIG_TOKEN, CreateBundleDto, CreateBundleVersionDraftDto, CreateMarketingProjectionDto, CreatePlanDto, CreatePlanVersionDraftDto, CreatePromotionDto, ListCatalogEntriesQueryDto, ListMarketingProjectionsQueryDto, ListMarketingSettingsQueryDto, ListPromotionsQueryDto, MARKETING_PROJECTION_REPOSITORY_TOKEN, MARKETING_SETTINGS_REPOSITORY_TOKEN, PLAN_REPOSITORY_TOKEN, PROMOTION_REPOSITORY_TOKEN, PreflightFinding, PreflightInput, PreflightReport, PublishBundleVersionDto, PublishPlanVersionDto, ReviewCatalogEntryDto, SeedBundleDraft, SeedGateFinding, SeedGateInput, SeedGateMode, SeedGateReport, SeedGateRunOptions, SeedPlanDraft, SyncDiscoveryDto, UpdateBundleDto, UpdateBundleVersionDraftDto, UpdateCatalogEntryI18nDto, UpdateMarketingProjectionDto, UpdateMarketingSettingsDto, UpdatePlanDto, UpdatePlanVersionDraftDto, UpdatePromotionDto, blockingStrictModeWarnings, buildBundleVersionsController, buildBundlesController, buildCatalogEntriesController, buildMarketingProjectionsController, buildMarketingSettingsController, buildPlanVersionsController, buildPlansController, buildPromotionsController, buildPublicMarketingCatalogController, featureApprovalSignature, formatPreflightReport, formatSeedGateReport, loadApprovedCatalogKeys, preflightExitCode, quotaApprovalSignature, runPreflight, runSeedGateFromFile, seedGateExitCode, validateBundleDraft, validatePlanDraft, validateSeedAgainstSnapshot } from './catalog/index.js';
|
|
25
|
+
export { ADVISORY_STRICT_MODE_CODES, BUNDLE_REPOSITORY_TOKEN, CATALOG_ENTRY_REPOSITORY_TOKEN, CATALOG_FEATURE_UI_REGISTRY_TOKEN, CATALOG_SERVICE_CONFIG_TOKEN, CreateBundleDto, CreateBundleVersionDraftDto, CreateMarketingProjectionDto, CreatePlanDto, CreatePlanVersionDraftDto, CreatePromotionDto, ListCatalogEntriesQueryDto, ListMarketingProjectionsQueryDto, ListMarketingSettingsQueryDto, ListPromotionsQueryDto, MARKETING_PROJECTION_REPOSITORY_TOKEN, MARKETING_SETTINGS_REPOSITORY_TOKEN, PLAN_REPOSITORY_TOKEN, PROMOTION_REPOSITORY_TOKEN, PreflightFinding, PreflightInput, PreflightReport, PublishBundleVersionDto, PublishPlanVersionDto, ReviewCatalogEntryDto, SeedBundleDraft, SeedGateFinding, SeedGateInput, SeedGateMode, SeedGateReport, SeedGateRunOptions, SeedPlanDraft, SyncDiscoveryDto, UpdateBundleDto, UpdateBundleVersionDraftDto, UpdateCatalogEntryI18nDto, UpdateMarketingProjectionDto, UpdateMarketingSettingsDto, UpdatePlanDto, UpdatePlanVersionDraftDto, UpdatePromotionDto, blockingStrictModeWarnings, buildBundleVersionsController, buildBundlesController, buildCatalogEntriesController, buildMarketingProjectionsController, buildMarketingSettingsController, buildPlanVersionsController, buildPlansController, buildPromotionsController, buildPublicMarketingCatalogController, featureApprovalSignature, formatPreflightReport, formatSeedGateReport, loadApprovedCatalogKeys, preflightExitCode, quotaApprovalSignature, runPreflight, runSeedGateFromFile, seedGateExitCode, validateBundleDraft, validatePlanDraft, validateSeedAgainstSnapshot } from './catalog/index.js';
|
|
26
26
|
export { C as CatalogControllerConfig, a as CatalogModule, b as CatalogModuleOptions } from './catalog.module-CQr1FpkI.js';
|
|
27
27
|
export { C as CheckoutOfferService } from './checkout-offer.service-BX51dljL.js';
|
|
28
28
|
export { CHECKOUT_OFFER_REPOSITORY_TOKEN, CreateCheckoutOfferDto, UpdateCheckoutOfferDto, buildCheckoutOfferController } from './checkout-offer/index.js';
|
package/dist/index.js
CHANGED
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
resolveModel,
|
|
38
38
|
slugify,
|
|
39
39
|
verifyOtpCode
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-P5D5CYO2.js";
|
|
41
41
|
import "./chunk-2SLTRKXC.js";
|
|
42
42
|
import "./chunk-UF53DWWR.js";
|
|
43
43
|
import {
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
decideRenewal,
|
|
66
66
|
loadPlanCatalogFromFile,
|
|
67
67
|
loadPlanCatalogFromString
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-JTLKWP3Q.js";
|
|
69
69
|
import {
|
|
70
70
|
formatPreflightReport,
|
|
71
71
|
formatSeedGateReport,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
runSeedGateFromFile,
|
|
75
75
|
seedGateExitCode,
|
|
76
76
|
validateSeedAgainstSnapshot
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-3UZW7TU4.js";
|
|
78
78
|
import "./chunk-DBZGV3HC.js";
|
|
79
79
|
import {
|
|
80
80
|
DefinesQuota,
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
ImplementsCapability,
|
|
83
83
|
RequiresCapability,
|
|
84
84
|
runHeadlessDiscoveryScan
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-I7GTA3RX.js";
|
|
86
86
|
import {
|
|
87
87
|
DiscoverySnapshotNotFoundError,
|
|
88
88
|
loadDiscoverySnapshotFromFile
|
|
@@ -94,11 +94,11 @@ import {
|
|
|
94
94
|
import {
|
|
95
95
|
SETUP_CONFIG_TOKEN,
|
|
96
96
|
SETUP_PROVISIONING_PORT_TOKEN,
|
|
97
|
-
|
|
97
|
+
SaaSiCatModule,
|
|
98
98
|
SetupController,
|
|
99
99
|
SetupModule,
|
|
100
100
|
SetupService
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-JCAZT727.js";
|
|
102
102
|
import {
|
|
103
103
|
CreatePromoCodeDto,
|
|
104
104
|
PreviewPromoCodeDto,
|
|
@@ -110,10 +110,10 @@ import {
|
|
|
110
110
|
buildPromoCodeAdminController,
|
|
111
111
|
hashIp,
|
|
112
112
|
ipFingerprint
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-VTMCMVYQ.js";
|
|
114
114
|
import {
|
|
115
115
|
SubscriptionContractModule
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-Y43SGD5J.js";
|
|
117
117
|
import {
|
|
118
118
|
ADMIN_MANIFEST_CONFIG,
|
|
119
119
|
ADMIN_RESOURCES_PORT_TOKEN,
|
|
@@ -140,8 +140,9 @@ import {
|
|
|
140
140
|
SuperAdminGuard,
|
|
141
141
|
SuspendTenantDto,
|
|
142
142
|
buildAdminStatsController
|
|
143
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-IPOLCDKN.js";
|
|
144
144
|
import {
|
|
145
|
+
BILLING_FEATURE_UI_REGISTRY_TOKEN,
|
|
145
146
|
CONTRACT_FREEZE_PORT_TOKEN,
|
|
146
147
|
CONTRACT_FREEZE_PROJECT_KEY_TOKEN,
|
|
147
148
|
CONTRACT_FREEZE_SOURCE_PORT_TOKEN,
|
|
@@ -150,7 +151,6 @@ import {
|
|
|
150
151
|
CompleteOnboardingSubscriptionDto,
|
|
151
152
|
ComposedTenantAuthGuard,
|
|
152
153
|
FEATURE_GUARD_MARKER,
|
|
153
|
-
FEATURE_UI_REGISTRY_TOKEN,
|
|
154
154
|
PUBLIC_CATALOG_BUNDLE_REPOSITORY_TOKEN,
|
|
155
155
|
PUBLIC_CATALOG_MARKETING_REPOSITORY_TOKEN,
|
|
156
156
|
PUBLIC_CATALOG_PROJECT_KEY_TOKEN,
|
|
@@ -179,7 +179,7 @@ import {
|
|
|
179
179
|
periodEndWithMinLead,
|
|
180
180
|
resolveBundleCancelEffectiveAt,
|
|
181
181
|
resolveBundlePriceNet
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-WSPHIIGS.js";
|
|
183
183
|
import {
|
|
184
184
|
PROMO_CODE_REDEMPTION_REPOSITORY_TOKEN,
|
|
185
185
|
PROMO_CODE_REPOSITORY_TOKEN,
|
|
@@ -195,13 +195,13 @@ import {
|
|
|
195
195
|
computeDiscountGross,
|
|
196
196
|
computeDiscountedGross,
|
|
197
197
|
computeRegularStartsAt
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-V4OJ43K2.js";
|
|
199
199
|
import {
|
|
200
200
|
SubscriptionContractService,
|
|
201
201
|
contractLineItemToInvoiceLineItem,
|
|
202
202
|
sortContractLineItemsForInvoice,
|
|
203
203
|
subscriptionContractToInvoiceSnapshot
|
|
204
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-IVEA6M3B.js";
|
|
205
205
|
import {
|
|
206
206
|
ADVISORY_STRICT_MODE_CODES,
|
|
207
207
|
BundlesService,
|
|
@@ -250,7 +250,7 @@ import {
|
|
|
250
250
|
quotaApprovalSignature,
|
|
251
251
|
validateBundleDraft,
|
|
252
252
|
validatePlanDraft
|
|
253
|
-
} from "./chunk-
|
|
253
|
+
} from "./chunk-SH7J5IU7.js";
|
|
254
254
|
import {
|
|
255
255
|
AUDIT_CONTEXT_RESOLVER_TOKEN,
|
|
256
256
|
PENDING_PLAN_QUERY_PORT_TOKEN,
|
|
@@ -264,13 +264,13 @@ import {
|
|
|
264
264
|
USER_ID_RESOLVER_TOKEN,
|
|
265
265
|
classifyBundleVersionDiff,
|
|
266
266
|
classifyPlanDiff
|
|
267
|
-
} from "./chunk-
|
|
267
|
+
} from "./chunk-S6BAD5XM.js";
|
|
268
268
|
import {
|
|
269
269
|
AUDIT_PORT_TOKEN,
|
|
270
270
|
AdminAuditService,
|
|
271
271
|
MFA_PORT_TOKEN,
|
|
272
272
|
RLS_BYPASS_PORT_TOKEN
|
|
273
|
-
} from "./chunk-
|
|
273
|
+
} from "./chunk-O2J2HDXA.js";
|
|
274
274
|
import {
|
|
275
275
|
CHECKOUT_OFFER_REPOSITORY_TOKEN,
|
|
276
276
|
CheckoutOfferModule,
|
|
@@ -278,7 +278,7 @@ import {
|
|
|
278
278
|
CreateCheckoutOfferDto,
|
|
279
279
|
UpdateCheckoutOfferDto,
|
|
280
280
|
buildCheckoutOfferController
|
|
281
|
-
} from "./chunk-
|
|
281
|
+
} from "./chunk-AEEK64XD.js";
|
|
282
282
|
import "./chunk-BSK6YBLI.js";
|
|
283
283
|
import {
|
|
284
284
|
SAASICAT_PUBLIC_ROUTE_KEY,
|
|
@@ -288,16 +288,16 @@ import {
|
|
|
288
288
|
import {
|
|
289
289
|
DiscoveryModule,
|
|
290
290
|
buildDiscoveryController
|
|
291
|
-
} from "./chunk-
|
|
291
|
+
} from "./chunk-XBYAFEOR.js";
|
|
292
292
|
import {
|
|
293
293
|
DISCOVERY_APP_INFO_TOKEN,
|
|
294
294
|
DISCOVERY_SNAPSHOT_PATH_TOKEN,
|
|
295
295
|
DiscoveryScanner,
|
|
296
296
|
computeSnapshotHash
|
|
297
|
-
} from "./chunk-
|
|
297
|
+
} from "./chunk-WXYJHZCN.js";
|
|
298
298
|
import {
|
|
299
299
|
EntitlementModule
|
|
300
|
-
} from "./chunk-
|
|
300
|
+
} from "./chunk-H3W6QDQH.js";
|
|
301
301
|
import {
|
|
302
302
|
EntitlementService,
|
|
303
303
|
LimitExceededError,
|
|
@@ -320,7 +320,7 @@ import {
|
|
|
320
320
|
mergeSubscriptionBundlesIntoLimits,
|
|
321
321
|
resolveEntitlementPlan,
|
|
322
322
|
toEffectiveLimitsSnapshot
|
|
323
|
-
} from "./chunk-
|
|
323
|
+
} from "./chunk-XEW6YXL5.js";
|
|
324
324
|
import {
|
|
325
325
|
PLAN_CATALOG_READ_SINK_TOKEN,
|
|
326
326
|
PLAN_CATALOG_TOKEN,
|
|
@@ -341,7 +341,7 @@ import {
|
|
|
341
341
|
} from "./chunk-DQKCK7DX.js";
|
|
342
342
|
import {
|
|
343
343
|
SUBSCRIPTION_CONTRACT_REPOSITORY_TOKEN
|
|
344
|
-
} from "./chunk-
|
|
344
|
+
} from "./chunk-VBRYPU7V.js";
|
|
345
345
|
import {
|
|
346
346
|
codedError
|
|
347
347
|
} from "./chunk-EBJJNTW6.js";
|
|
@@ -351,16 +351,17 @@ import {
|
|
|
351
351
|
PLAN_VERSION_REPOSITORY_TOKEN,
|
|
352
352
|
SUBSCRIPTION_REPOSITORY_TOKEN,
|
|
353
353
|
TRANSACTION_RUNNER_TOKEN
|
|
354
|
-
} from "./chunk-
|
|
354
|
+
} from "./chunk-OUDSQ3PU.js";
|
|
355
355
|
import {
|
|
356
356
|
BUNDLE_REPOSITORY_TOKEN,
|
|
357
357
|
CATALOG_ENTRY_REPOSITORY_TOKEN,
|
|
358
|
+
CATALOG_FEATURE_UI_REGISTRY_TOKEN,
|
|
358
359
|
CATALOG_SERVICE_CONFIG_TOKEN,
|
|
359
360
|
MARKETING_PROJECTION_REPOSITORY_TOKEN,
|
|
360
361
|
MARKETING_SETTINGS_REPOSITORY_TOKEN,
|
|
361
362
|
PLAN_REPOSITORY_TOKEN,
|
|
362
363
|
PROMOTION_REPOSITORY_TOKEN
|
|
363
|
-
} from "./chunk-
|
|
364
|
+
} from "./chunk-AOQJEYOL.js";
|
|
364
365
|
import {
|
|
365
366
|
asProvider
|
|
366
367
|
} from "./chunk-SABTXESR.js";
|
|
@@ -370,7 +371,7 @@ import {
|
|
|
370
371
|
ENFORCE_QUOTA_KEY,
|
|
371
372
|
IMPLEMENTS_CAPABILITY_KEY,
|
|
372
373
|
REQUIRES_CAPABILITY_KEY
|
|
373
|
-
} from "./chunk-
|
|
374
|
+
} from "./chunk-QUZU2M33.js";
|
|
374
375
|
import "./chunk-SHUYVCID.js";
|
|
375
376
|
export {
|
|
376
377
|
ACTIVATION_ORCHESTRATOR_TOKEN,
|
|
@@ -392,10 +393,12 @@ export {
|
|
|
392
393
|
AdminStatsController,
|
|
393
394
|
AdminStatsModule,
|
|
394
395
|
AdminStatsService,
|
|
396
|
+
BILLING_FEATURE_UI_REGISTRY_TOKEN,
|
|
395
397
|
BUNDLE_REPOSITORY_TOKEN,
|
|
396
398
|
BaseIpRateLimitGuard,
|
|
397
399
|
BundlesService,
|
|
398
400
|
CATALOG_ENTRY_REPOSITORY_TOKEN,
|
|
401
|
+
CATALOG_FEATURE_UI_REGISTRY_TOKEN,
|
|
399
402
|
CATALOG_SERVICE_CONFIG_TOKEN,
|
|
400
403
|
CHECKOUT_OFFER_REPOSITORY_TOKEN,
|
|
401
404
|
CONTRACT_FREEZE_PORT_TOKEN,
|
|
@@ -437,7 +440,6 @@ export {
|
|
|
437
440
|
EntitlementService,
|
|
438
441
|
FEATURE_GUARD_CONFIG_TOKEN,
|
|
439
442
|
FEATURE_GUARD_MARKER,
|
|
440
|
-
FEATURE_UI_REGISTRY_TOKEN,
|
|
441
443
|
FeatureGuard,
|
|
442
444
|
IMPLEMENTS_CAPABILITY_KEY,
|
|
443
445
|
ImplementsCapability,
|
|
@@ -539,9 +541,8 @@ export {
|
|
|
539
541
|
SUBSCRIPTION_STATS_PORT_TOKEN,
|
|
540
542
|
SUBSCRIPTION_USAGE_PORT_TOKEN,
|
|
541
543
|
SUBSCRIPTION_WRITE_PORT_TOKEN,
|
|
542
|
-
|
|
544
|
+
SaaSiCatModule,
|
|
543
545
|
SaaSiCatPublicRoute,
|
|
544
|
-
SaasPlatformModule,
|
|
545
546
|
SaveRegistrationConfigDto,
|
|
546
547
|
SaveRegistrationConfigSelectionDto,
|
|
547
548
|
SelectRegistrationPlanDto,
|