@saasicat/nest 0.4.0 → 0.6.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/admin/index.cjs +3 -8
- package/dist/admin/index.d.cts +5 -33
- package/dist/admin/index.d.ts +5 -33
- package/dist/admin/index.js +2 -2
- package/dist/{admin-manifest.config-DxTfZ8-L.d.cts → admin-manifest.config-DyrQNT7M.d.cts} +1 -1
- package/dist/{admin-manifest.config-DxTfZ8-L.d.ts → admin-manifest.config-DyrQNT7M.d.ts} +1 -1
- package/dist/admin-manifest.service-Cp6uwvmt.d.cts +33 -0
- package/dist/admin-manifest.service-UGgzR1x-.d.ts +33 -0
- package/dist/{aggregation-DGCyoN5d.d.ts → aggregation-BibpEO0t.d.ts} +6 -59
- package/dist/{aggregation-Bt1i_whS.d.cts → aggregation-CfI0bOsQ.d.cts} +6 -59
- package/dist/billing/index.cjs +18 -106
- package/dist/billing/index.d.cts +8 -30
- package/dist/billing/index.d.ts +8 -30
- package/dist/billing/index.js +12 -14
- package/dist/catalog/index.cjs +1160 -1985
- package/dist/catalog/index.d.cts +9 -124
- package/dist/catalog/index.d.ts +9 -124
- package/dist/catalog/index.js +5 -27
- package/dist/checkout-offer/index.js +2 -2
- package/dist/{chunk-2VNZYRDV.js → chunk-52UTQRD3.js} +1 -1
- package/dist/{chunk-FN65XZKH.js → chunk-5DDCSGZC.js} +1110 -1923
- package/dist/{chunk-VHEHZMHB.js → chunk-BTL66TR6.js} +22 -75
- package/dist/{chunk-XSGU2Y2O.js → chunk-CK54YKVK.js} +2 -33
- package/dist/{chunk-SG34XT7J.js → chunk-FSGBRFLX.js} +18 -10
- package/dist/{chunk-SYEVGPFC.js → chunk-K3OPNVFR.js} +1 -1
- package/dist/{chunk-XCZ3TTFK.js → chunk-N3WANKSA.js} +0 -2
- package/dist/{chunk-K42EQPBB.js → chunk-ND7OOKOG.js} +18 -51
- package/dist/{chunk-MV6LW5UB.js → chunk-R2QOSVAA.js} +2 -2
- package/dist/{chunk-YNEW3L63.js → chunk-SD3TT2BR.js} +1 -1
- package/dist/{chunk-P6MYZMXQ.js → chunk-U6HT27J7.js} +3 -8
- package/dist/{chunk-7MLGHWKO.js → chunk-WKVBNTYC.js} +2 -0
- package/dist/{chunk-ZL4LLE2Z.js → chunk-ZLUGQE5D.js} +1 -1
- package/dist/discovery/index.js +4 -4
- package/dist/{enforce-quota.interceptor-3HmbeHTM.d.ts → enforce-quota.interceptor-Dj1Kusr5.d.ts} +9 -4
- package/dist/{enforce-quota.interceptor-HmdZFg41.d.cts → enforce-quota.interceptor-cv7r80VM.d.cts} +9 -4
- package/dist/entitlement/index.cjs +13 -46
- package/dist/entitlement/index.d.cts +4 -3
- package/dist/entitlement/index.d.ts +4 -3
- package/dist/entitlement/index.js +7 -9
- package/dist/index.cjs +1348 -2300
- package/dist/index.d.cts +8 -7
- package/dist/index.d.ts +8 -7
- package/dist/index.js +85 -113
- package/dist/platform/index.cjs +28 -54
- package/dist/platform/index.d.cts +4 -3
- package/dist/platform/index.d.ts +4 -3
- package/dist/platform/index.js +10 -7
- package/dist/promo/index.cjs +2 -2
- package/dist/promo/index.js +3 -3
- package/dist/registration/index.cjs +2 -34
- package/dist/registration/index.d.cts +3 -21
- package/dist/registration/index.d.ts +3 -21
- package/dist/registration/index.js +1 -3
- package/dist/testing/index.cjs +26 -255
- package/dist/testing/index.d.cts +5 -37
- package/dist/testing/index.d.ts +5 -37
- package/dist/testing/index.js +7 -207
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -2,22 +2,23 @@ import { P as ProviderSpec } from './di-CcNeq9v-.cjs';
|
|
|
2
2
|
export { a as asProvider } from './di-CcNeq9v-.cjs';
|
|
3
3
|
export { 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, PromoCodeRateLimitGuard, PromoCodesModule, PromoCodesModuleOptions, addCycles, buildLabel, computeDiscountGross, computeDiscountedGross, computeIncludedVat, computeRegularStartsAt, grossFromNet, hashIp, ipFingerprint, round2 } from './promo/index.cjs';
|
|
4
4
|
export { P as PreviewInput, a as PreviewInvalid, b as PreviewReason, c as PreviewResult, d as PreviewValid, e as PromoCodeStats, f as PromoCodesService, g as PromoServiceConfig, R as RedeemInput } from './service-DX8KbGXl.cjs';
|
|
5
|
-
export { AUDIT_CONTEXT_RESOLVER_TOKEN, AddBundleToSubscriptionInput, AjvErrorLike, AuditContextResolver, AuthGuardList, BundlePreviewSnapshot, CONTRACT_FREEZE_PORT_TOKEN, CONTRACT_FREEZE_PROJECT_KEY_TOKEN, CONTRACT_FREEZE_SOURCE_PORT_TOKEN, CancelBundleFromSubscriptionInput, CancelSubscriptionDto, CatalogBundleUpsellResolver, ChangePlanDto, CompleteOnboardingSubscriptionDto, ComposedTenantAuthGuard, ConfiguratorCatalogBuilder, ContractFreezeBundleSnapshot, ContractFreezePort, ContractFreezeSourcePort, DuePendingPlanChange, FEATURE_GUARD_CONFIG_TOKEN, FEATURE_UI_REGISTRY_TOKEN, FeatureGuard, FeatureGuardConfig, LimitExceededFilter, LimitsCheckRow, LoadPlanCatalogOptions, MarketingFields, NextPeriodWindow, PENDING_PLAN_QUERY_PORT_TOKEN, PLAN_CATALOG_IMPORT_SINK_TOKEN, PLAN_CATALOG_READ_SINK_TOKEN, PLAN_CATALOG_TOKEN, PUBLIC_CATALOG_BUNDLE_REPOSITORY_TOKEN,
|
|
5
|
+
export { AUDIT_CONTEXT_RESOLVER_TOKEN, AddBundleToSubscriptionInput, AjvErrorLike, AuditContextResolver, AuthGuardList, BundlePreviewSnapshot, CONTRACT_FREEZE_PORT_TOKEN, CONTRACT_FREEZE_PROJECT_KEY_TOKEN, CONTRACT_FREEZE_SOURCE_PORT_TOKEN, CancelBundleFromSubscriptionInput, CancelSubscriptionDto, CatalogBundleUpsellResolver, ChangePlanDto, CompleteOnboardingSubscriptionDto, ComposedTenantAuthGuard, ConfiguratorCatalogBuilder, ContractFreezeBundleSnapshot, ContractFreezePort, ContractFreezeSourcePort, DuePendingPlanChange, FEATURE_GUARD_CONFIG_TOKEN, FEATURE_UI_REGISTRY_TOKEN, FeatureGuard, FeatureGuardConfig, LimitExceededFilter, LimitsCheckRow, LoadPlanCatalogOptions, MarketingFields, NextPeriodWindow, PENDING_PLAN_QUERY_PORT_TOKEN, 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, PendingPlanMaterializationService, PendingPlanQueryPort, PeriodRollInput, PlanCatalogBuildSettings, PlanCatalogImportDto, PlanCatalogImporterControllerConfig, PlanCatalogImporterModule, PlanCatalogImporterModuleOptions, PlanCatalogImporterService, PlanCatalogModule, PlanCatalogModuleOptions, PlanCatalogValidationError, PlanChangeContext, PlanChangePreviewDto, PlanChangePreviewIssue, PlanChangePreviewService, PlanChangeType, PlanResponseEntry, PlanSnapshotDto, PreviewPlanChangeDto, ProrationDto, ProrationInput, PublicBundleEntry, PublicCatalogController, PublicCatalogModule, PublicCatalogModuleOptions, PublishValidationError, PublishablePlanVersion, REQUIRE_FEATURE_KEY, RedundantFeatureHint, RenewalDecision, RenewalSubInput, RequireFeature, SELF_SERVICE_BLOCKED_BUNDLES_TOKEN, SELF_SERVICE_BLOCKED_PLANS_TOKEN, SUBSCRIPTION_BUNDLE_CONFIG_TOKEN, SUBSCRIPTION_BUNDLE_REPOSITORY_TOKEN, SUBSCRIPTION_USAGE_PORT_TOKEN, SUBSCRIPTION_WRITE_PORT_TOKEN, SelfServiceBlockedBundles, SelfServiceBlockedPlans, SubscriptionBundleAddPreviewDto, SubscriptionBundleCancelPreviewDto, SubscriptionBundleConfig, SubscriptionBundleControllerOptions, SubscriptionBundleModule, SubscriptionBundleModuleOptions, SubscriptionBundlePreviewContext, SubscriptionBundlePreviewIssue, SubscriptionBundlePreviewService, SubscriptionBundlesService, SubscriptionContractFreezeService, TENANT_AUTH_GUARDS_TOKEN, TENANT_ID_RESOLVER_TOKEN, TRIAL_PROJECTION_PORT_TOKEN, TenantAdminGuard, TenantBillingController, TenantBillingModule, TenantBillingModuleOptions, TenantIdResolver, TrialProjectionInput, TrialProjectionPort, UPSELL_OFFER_CURRENCY_TOKEN, UPSELL_OFFER_RESOLVER_TOKEN, USAGE_SNAPSHOT_PORT_TOKEN, USER_EMAIL_RESOLVER_TOKEN, USER_ID_RESOLVER_TOKEN, UsageResponse, UserEmailResolver, UserIdResolver, addMonths, assertBaseVersionFresh, assertChangeNote, assertDraftPublishable, assertOptimisticLockHeld, buildPlanCatalogFromSnapshot, buildPlanCatalogImporterController, buildTenantSubscriptionBundlesController, clearPendingPlanVersionFields, computeCarriedTrialEndsAt, computeNextPeriod, computeProration, decideRenewal, findPlan, getActiveFeatureKeys, getMarketedPlans, getPlanOrThrow, getPlanPriceGross, getPlanPriceNet, getPlanQuota, initialPeriodWindow, isFeatureInPlan, isFeaturePlannedOnly, loadPlanCatalogFromFile, loadPlanCatalogFromString, periodEndAfter, periodEndWithMinLead, resolveBundleCancelEffectiveAt, resolveBundlePriceNet } from './billing/index.cjs';
|
|
6
6
|
import { SuperAdminProvisioningPort, SetupStatusResponse, SetupRequest, SetupResult, SetupConfirmMfaRequest, SetupConfirmMfaResponse } from '@saasicat/types';
|
|
7
7
|
export { BundleVersionFields, ChangeDirection, DiffResult, DiscoveredCapability, DiscoveredFeature, DiscoveredQuota, DiscoverySnapshot, PasswordHasher, PlanVersionFields, VersionChange, VersionChangeDirection, classifyBundleVersionDiff, classifyPlanDiff } from '@saasicat/types';
|
|
8
|
-
export {
|
|
9
|
-
export { ENTITLEMENT_RESOLUTION_CONFIG_TOKEN, EntitlementModule, EntitlementModuleOptions, LimitExceededError, PLAN_VERSION_REPOSITORY_TOKEN, ReplacedByIndex, SUBSCRIPTION_REPOSITORY_TOKEN, TRANSACTION_RUNNER_TOKEN, buildReplacedByIndex, expandReplacedFeatures, isLimitExceededError } from './entitlement/index.cjs';
|
|
8
|
+
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 filterActiveSubscriptionBundles, k as filterPlannedOnlyFeatures, l as hasAnyFeature, m as hasFeature, t as toEffectiveLimitsSnapshot } from './aggregation-CfI0bOsQ.cjs';
|
|
9
|
+
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';
|
|
10
10
|
export { E as EntitlementResolutionConfig, a as EntitlementResolutionInput, r as resolveEntitlementPlan } from './plan-resolution-CFCoUkrE.cjs';
|
|
11
11
|
import { MfaService } from './admin/index.cjs';
|
|
12
|
-
export { ADMIN_STATS_AUDIT_WINDOW_DAYS_TOKEN, AUDIT_PORT_TOKEN, AUDIT_STATS_PORT_TOKEN, AdminBypassRlsInterceptor, AdminManifestModule, AdminManifestModuleOptions,
|
|
12
|
+
export { ADMIN_STATS_AUDIT_WINDOW_DAYS_TOKEN, AUDIT_PORT_TOKEN, AUDIT_STATS_PORT_TOKEN, AdminBypassRlsInterceptor, AdminManifestModule, AdminManifestModuleOptions, AdminModule, AdminModuleOptions, AdminPublicBootController, AdminStatsController, AdminStatsModule, AdminStatsModuleOptions, AdminStatsService, AdminStatsSnapshot, MFA_PORT_TOKEN, MfaGuard, PLATFORM_CORE_MANIFEST_CONTRIBUTION, PROMO_CODE_STATS_PORT_TOKEN, REQUIRE_MFA_KEY, RLS_BYPASS_PORT_TOKEN, RequireMfa, SUBSCRIPTION_STATS_PORT_TOKEN, SuperAdminGuard, TotpSetupResult, VerifyTotpInput } from './admin/index.cjs';
|
|
13
13
|
export { A as AdminAuditService } from './admin-audit.service-9IqXMlZm.cjs';
|
|
14
|
-
export {
|
|
14
|
+
export { a as ADMIN_MANIFEST_CONFIG, A as AdminManifestConfig } from './admin-manifest.config-DyrQNT7M.cjs';
|
|
15
|
+
export { A as AdminManifestService, P as PLATFORM_CORE_CONTRIBUTION_TOKEN } from './admin-manifest.service-Cp6uwvmt.cjs';
|
|
15
16
|
import { DynamicModule } from '@nestjs/common';
|
|
16
17
|
export { Type as NestType } from '@nestjs/common';
|
|
17
|
-
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,
|
|
18
|
+
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';
|
|
18
19
|
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';
|
|
19
20
|
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';
|
|
20
|
-
export { ADVISORY_STRICT_MODE_CODES, BUNDLE_REPOSITORY_TOKEN,
|
|
21
|
+
export { ADVISORY_STRICT_MODE_CODES, BUNDLE_REPOSITORY_TOKEN, BundlesService, CATALOG_ENTRY_REPOSITORY_TOKEN, CATALOG_SERVICE_CONFIG_TOKEN, CatalogControllerConfig, CatalogEntriesService, CatalogModule, CatalogModuleOptions, CatalogServiceConfig, CreateBundleDto, CreateBundleVersionDraftDto, CreateMarketingProjectionDto, CreatePlanDto, CreatePlanVersionDraftDto, CreatePromotionDto, ListCatalogEntriesQueryDto, ListMarketingProjectionsQueryDto, ListMarketingSettingsQueryDto, ListPromotionsQueryDto, MARKETING_PROJECTION_REPOSITORY_TOKEN, MARKETING_SETTINGS_REPOSITORY_TOKEN, MarketingProjectionsService, MarketingSettingsService, PLAN_REPOSITORY_TOKEN, PROMOTION_REPOSITORY_TOKEN, PlanVersionsService, PlansService, PreflightFinding, PreflightInput, PreflightReport, PromotionsService, PublicMarketingCatalogService, 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';
|
|
21
22
|
export { CHECKOUT_OFFER_REPOSITORY_TOKEN, CheckoutOfferControllerConfig, CheckoutOfferModule, CheckoutOfferModuleOptions, CheckoutOfferService, CreateCheckoutOfferDto, UpdateCheckoutOfferDto, buildCheckoutOfferController } from './checkout-offer/index.cjs';
|
|
22
23
|
export { C as CreateContractFromOfferOptions, S as SubscriptionContractService, c as contractLineItemToInvoiceLineItem, s as sortContractLineItemsForInvoice, a as subscriptionContractToInvoiceSnapshot } from './subscription-contract.service--cm47ZJJ.cjs';
|
|
23
24
|
export { SUBSCRIPTION_CONTRACT_REPOSITORY_TOKEN, SubscriptionContractModule, SubscriptionContractModuleOptions } from './subscription-contract/index.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -2,22 +2,23 @@ import { P as ProviderSpec } from './di-CcNeq9v-.js';
|
|
|
2
2
|
export { a as asProvider } from './di-CcNeq9v-.js';
|
|
3
3
|
export { 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, PromoCodeRateLimitGuard, PromoCodesModule, PromoCodesModuleOptions, addCycles, buildLabel, computeDiscountGross, computeDiscountedGross, computeIncludedVat, computeRegularStartsAt, grossFromNet, hashIp, ipFingerprint, round2 } from './promo/index.js';
|
|
4
4
|
export { P as PreviewInput, a as PreviewInvalid, b as PreviewReason, c as PreviewResult, d as PreviewValid, e as PromoCodeStats, f as PromoCodesService, g as PromoServiceConfig, R as RedeemInput } from './service-DX8KbGXl.js';
|
|
5
|
-
export { AUDIT_CONTEXT_RESOLVER_TOKEN, AddBundleToSubscriptionInput, AjvErrorLike, AuditContextResolver, AuthGuardList, BundlePreviewSnapshot, CONTRACT_FREEZE_PORT_TOKEN, CONTRACT_FREEZE_PROJECT_KEY_TOKEN, CONTRACT_FREEZE_SOURCE_PORT_TOKEN, CancelBundleFromSubscriptionInput, CancelSubscriptionDto, CatalogBundleUpsellResolver, ChangePlanDto, CompleteOnboardingSubscriptionDto, ComposedTenantAuthGuard, ConfiguratorCatalogBuilder, ContractFreezeBundleSnapshot, ContractFreezePort, ContractFreezeSourcePort, DuePendingPlanChange, FEATURE_GUARD_CONFIG_TOKEN, FEATURE_UI_REGISTRY_TOKEN, FeatureGuard, FeatureGuardConfig, LimitExceededFilter, LimitsCheckRow, LoadPlanCatalogOptions, MarketingFields, NextPeriodWindow, PENDING_PLAN_QUERY_PORT_TOKEN, PLAN_CATALOG_IMPORT_SINK_TOKEN, PLAN_CATALOG_READ_SINK_TOKEN, PLAN_CATALOG_TOKEN, PUBLIC_CATALOG_BUNDLE_REPOSITORY_TOKEN,
|
|
5
|
+
export { AUDIT_CONTEXT_RESOLVER_TOKEN, AddBundleToSubscriptionInput, AjvErrorLike, AuditContextResolver, AuthGuardList, BundlePreviewSnapshot, CONTRACT_FREEZE_PORT_TOKEN, CONTRACT_FREEZE_PROJECT_KEY_TOKEN, CONTRACT_FREEZE_SOURCE_PORT_TOKEN, CancelBundleFromSubscriptionInput, CancelSubscriptionDto, CatalogBundleUpsellResolver, ChangePlanDto, CompleteOnboardingSubscriptionDto, ComposedTenantAuthGuard, ConfiguratorCatalogBuilder, ContractFreezeBundleSnapshot, ContractFreezePort, ContractFreezeSourcePort, DuePendingPlanChange, FEATURE_GUARD_CONFIG_TOKEN, FEATURE_UI_REGISTRY_TOKEN, FeatureGuard, FeatureGuardConfig, LimitExceededFilter, LimitsCheckRow, LoadPlanCatalogOptions, MarketingFields, NextPeriodWindow, PENDING_PLAN_QUERY_PORT_TOKEN, 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, PendingPlanMaterializationService, PendingPlanQueryPort, PeriodRollInput, PlanCatalogBuildSettings, PlanCatalogImportDto, PlanCatalogImporterControllerConfig, PlanCatalogImporterModule, PlanCatalogImporterModuleOptions, PlanCatalogImporterService, PlanCatalogModule, PlanCatalogModuleOptions, PlanCatalogValidationError, PlanChangeContext, PlanChangePreviewDto, PlanChangePreviewIssue, PlanChangePreviewService, PlanChangeType, PlanResponseEntry, PlanSnapshotDto, PreviewPlanChangeDto, ProrationDto, ProrationInput, PublicBundleEntry, PublicCatalogController, PublicCatalogModule, PublicCatalogModuleOptions, PublishValidationError, PublishablePlanVersion, REQUIRE_FEATURE_KEY, RedundantFeatureHint, RenewalDecision, RenewalSubInput, RequireFeature, SELF_SERVICE_BLOCKED_BUNDLES_TOKEN, SELF_SERVICE_BLOCKED_PLANS_TOKEN, SUBSCRIPTION_BUNDLE_CONFIG_TOKEN, SUBSCRIPTION_BUNDLE_REPOSITORY_TOKEN, SUBSCRIPTION_USAGE_PORT_TOKEN, SUBSCRIPTION_WRITE_PORT_TOKEN, SelfServiceBlockedBundles, SelfServiceBlockedPlans, SubscriptionBundleAddPreviewDto, SubscriptionBundleCancelPreviewDto, SubscriptionBundleConfig, SubscriptionBundleControllerOptions, SubscriptionBundleModule, SubscriptionBundleModuleOptions, SubscriptionBundlePreviewContext, SubscriptionBundlePreviewIssue, SubscriptionBundlePreviewService, SubscriptionBundlesService, SubscriptionContractFreezeService, TENANT_AUTH_GUARDS_TOKEN, TENANT_ID_RESOLVER_TOKEN, TRIAL_PROJECTION_PORT_TOKEN, TenantAdminGuard, TenantBillingController, TenantBillingModule, TenantBillingModuleOptions, TenantIdResolver, TrialProjectionInput, TrialProjectionPort, UPSELL_OFFER_CURRENCY_TOKEN, UPSELL_OFFER_RESOLVER_TOKEN, USAGE_SNAPSHOT_PORT_TOKEN, USER_EMAIL_RESOLVER_TOKEN, USER_ID_RESOLVER_TOKEN, UsageResponse, UserEmailResolver, UserIdResolver, addMonths, assertBaseVersionFresh, assertChangeNote, assertDraftPublishable, assertOptimisticLockHeld, buildPlanCatalogFromSnapshot, buildPlanCatalogImporterController, buildTenantSubscriptionBundlesController, clearPendingPlanVersionFields, computeCarriedTrialEndsAt, computeNextPeriod, computeProration, decideRenewal, findPlan, getActiveFeatureKeys, getMarketedPlans, getPlanOrThrow, getPlanPriceGross, getPlanPriceNet, getPlanQuota, initialPeriodWindow, isFeatureInPlan, isFeaturePlannedOnly, loadPlanCatalogFromFile, loadPlanCatalogFromString, periodEndAfter, periodEndWithMinLead, resolveBundleCancelEffectiveAt, resolveBundlePriceNet } from './billing/index.js';
|
|
6
6
|
import { SuperAdminProvisioningPort, SetupStatusResponse, SetupRequest, SetupResult, SetupConfirmMfaRequest, SetupConfirmMfaResponse } from '@saasicat/types';
|
|
7
7
|
export { BundleVersionFields, ChangeDirection, DiffResult, DiscoveredCapability, DiscoveredFeature, DiscoveredQuota, DiscoverySnapshot, PasswordHasher, PlanVersionFields, VersionChange, VersionChangeDirection, classifyBundleVersionDiff, classifyPlanDiff } from '@saasicat/types';
|
|
8
|
-
export {
|
|
9
|
-
export { ENTITLEMENT_RESOLUTION_CONFIG_TOKEN, EntitlementModule, EntitlementModuleOptions, LimitExceededError, PLAN_VERSION_REPOSITORY_TOKEN, ReplacedByIndex, SUBSCRIPTION_REPOSITORY_TOKEN, TRANSACTION_RUNNER_TOKEN, buildReplacedByIndex, expandReplacedFeatures, isLimitExceededError } from './entitlement/index.js';
|
|
8
|
+
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 filterActiveSubscriptionBundles, k as filterPlannedOnlyFeatures, l as hasAnyFeature, m as hasFeature, t as toEffectiveLimitsSnapshot } from './aggregation-BibpEO0t.js';
|
|
9
|
+
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';
|
|
10
10
|
export { E as EntitlementResolutionConfig, a as EntitlementResolutionInput, r as resolveEntitlementPlan } from './plan-resolution-CFCoUkrE.js';
|
|
11
11
|
import { MfaService } from './admin/index.js';
|
|
12
|
-
export { ADMIN_STATS_AUDIT_WINDOW_DAYS_TOKEN, AUDIT_PORT_TOKEN, AUDIT_STATS_PORT_TOKEN, AdminBypassRlsInterceptor, AdminManifestModule, AdminManifestModuleOptions,
|
|
12
|
+
export { ADMIN_STATS_AUDIT_WINDOW_DAYS_TOKEN, AUDIT_PORT_TOKEN, AUDIT_STATS_PORT_TOKEN, AdminBypassRlsInterceptor, AdminManifestModule, AdminManifestModuleOptions, AdminModule, AdminModuleOptions, AdminPublicBootController, AdminStatsController, AdminStatsModule, AdminStatsModuleOptions, AdminStatsService, AdminStatsSnapshot, MFA_PORT_TOKEN, MfaGuard, PLATFORM_CORE_MANIFEST_CONTRIBUTION, PROMO_CODE_STATS_PORT_TOKEN, REQUIRE_MFA_KEY, RLS_BYPASS_PORT_TOKEN, RequireMfa, SUBSCRIPTION_STATS_PORT_TOKEN, SuperAdminGuard, TotpSetupResult, VerifyTotpInput } from './admin/index.js';
|
|
13
13
|
export { A as AdminAuditService } from './admin-audit.service-9IqXMlZm.js';
|
|
14
|
-
export {
|
|
14
|
+
export { a as ADMIN_MANIFEST_CONFIG, A as AdminManifestConfig } from './admin-manifest.config-DyrQNT7M.js';
|
|
15
|
+
export { A as AdminManifestService, P as PLATFORM_CORE_CONTRIBUTION_TOKEN } from './admin-manifest.service-UGgzR1x-.js';
|
|
15
16
|
import { DynamicModule } from '@nestjs/common';
|
|
16
17
|
export { Type as NestType } from '@nestjs/common';
|
|
17
|
-
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,
|
|
18
|
+
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';
|
|
18
19
|
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';
|
|
19
20
|
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';
|
|
20
|
-
export { ADVISORY_STRICT_MODE_CODES, BUNDLE_REPOSITORY_TOKEN,
|
|
21
|
+
export { ADVISORY_STRICT_MODE_CODES, BUNDLE_REPOSITORY_TOKEN, BundlesService, CATALOG_ENTRY_REPOSITORY_TOKEN, CATALOG_SERVICE_CONFIG_TOKEN, CatalogControllerConfig, CatalogEntriesService, CatalogModule, CatalogModuleOptions, CatalogServiceConfig, CreateBundleDto, CreateBundleVersionDraftDto, CreateMarketingProjectionDto, CreatePlanDto, CreatePlanVersionDraftDto, CreatePromotionDto, ListCatalogEntriesQueryDto, ListMarketingProjectionsQueryDto, ListMarketingSettingsQueryDto, ListPromotionsQueryDto, MARKETING_PROJECTION_REPOSITORY_TOKEN, MARKETING_SETTINGS_REPOSITORY_TOKEN, MarketingProjectionsService, MarketingSettingsService, PLAN_REPOSITORY_TOKEN, PROMOTION_REPOSITORY_TOKEN, PlanVersionsService, PlansService, PreflightFinding, PreflightInput, PreflightReport, PromotionsService, PublicMarketingCatalogService, 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';
|
|
21
22
|
export { CHECKOUT_OFFER_REPOSITORY_TOKEN, CheckoutOfferControllerConfig, CheckoutOfferModule, CheckoutOfferModuleOptions, CheckoutOfferService, CreateCheckoutOfferDto, UpdateCheckoutOfferDto, buildCheckoutOfferController } from './checkout-offer/index.js';
|
|
22
23
|
export { C as CreateContractFromOfferOptions, S as SubscriptionContractService, c as contractLineItemToInvoiceLineItem, s as sortContractLineItemsForInvoice, a as subscriptionContractToInvoiceSnapshot } from './subscription-contract.service--cm47ZJJ.js';
|
|
23
24
|
export { SUBSCRIPTION_CONTRACT_REPOSITORY_TOKEN, SubscriptionContractModule, SubscriptionContractModuleOptions } from './subscription-contract/index.js';
|
package/dist/index.js
CHANGED
|
@@ -12,7 +12,6 @@ import {
|
|
|
12
12
|
PendingRegistrationService,
|
|
13
13
|
PreviewRegistrationPromoDto,
|
|
14
14
|
REGISTRATION_AUDIT_LOGGER_TOKEN,
|
|
15
|
-
REGISTRATION_BUSINESS_TYPE_LOOKUP_TOKEN,
|
|
16
15
|
REGISTRATION_CONFIGURATOR_LOOKUP_TOKEN,
|
|
17
16
|
REGISTRATION_CONFIG_TOKEN,
|
|
18
17
|
REGISTRATION_OTP_DELIVERY_TOKEN,
|
|
@@ -37,7 +36,16 @@ import {
|
|
|
37
36
|
resolveModel,
|
|
38
37
|
slugify,
|
|
39
38
|
verifyOtpCode
|
|
40
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-CK54YKVK.js";
|
|
40
|
+
import {
|
|
41
|
+
PreviewPromoCodeDto,
|
|
42
|
+
PromoCodeExpirer,
|
|
43
|
+
PromoCodePublicController,
|
|
44
|
+
PromoCodeRateLimitGuard,
|
|
45
|
+
PromoCodesModule,
|
|
46
|
+
hashIp,
|
|
47
|
+
ipFingerprint
|
|
48
|
+
} from "./chunk-52UTQRD3.js";
|
|
41
49
|
import {
|
|
42
50
|
ADMIN_STATS_AUDIT_WINDOW_DAYS_TOKEN,
|
|
43
51
|
AUDIT_STATS_PORT_TOKEN,
|
|
@@ -46,22 +54,7 @@ import {
|
|
|
46
54
|
AdminStatsService,
|
|
47
55
|
PROMO_CODE_STATS_PORT_TOKEN,
|
|
48
56
|
SUBSCRIPTION_STATS_PORT_TOKEN
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import {
|
|
51
|
-
ADMIN_MANIFEST_CONFIG,
|
|
52
|
-
AdminBypassRlsInterceptor,
|
|
53
|
-
AdminManifestModule,
|
|
54
|
-
AdminManifestService,
|
|
55
|
-
AdminModule,
|
|
56
|
-
AdminPublicBootController,
|
|
57
|
-
MfaGuard,
|
|
58
|
-
MfaService,
|
|
59
|
-
PLATFORM_CORE_CONTRIBUTION_TOKEN,
|
|
60
|
-
PLATFORM_CORE_MANIFEST_CONTRIBUTION,
|
|
61
|
-
REQUIRE_MFA_KEY,
|
|
62
|
-
RequireMfa,
|
|
63
|
-
SuperAdminGuard
|
|
64
|
-
} from "./chunk-P6MYZMXQ.js";
|
|
57
|
+
} from "./chunk-SD3TT2BR.js";
|
|
65
58
|
import {
|
|
66
59
|
CONTRACT_FREEZE_PORT_TOKEN,
|
|
67
60
|
CONTRACT_FREEZE_PROJECT_KEY_TOKEN,
|
|
@@ -78,7 +71,6 @@ import {
|
|
|
78
71
|
LimitExceededFilter,
|
|
79
72
|
PLAN_CATALOG_IMPORT_SINK_TOKEN,
|
|
80
73
|
PUBLIC_CATALOG_BUNDLE_REPOSITORY_TOKEN,
|
|
81
|
-
PUBLIC_CATALOG_BUSINESS_TYPE_REPOSITORY_TOKEN,
|
|
82
74
|
PUBLIC_CATALOG_MARKETING_REPOSITORY_TOKEN,
|
|
83
75
|
PUBLIC_CATALOG_PROJECT_KEY_TOKEN,
|
|
84
76
|
PendingPlanMaterializationService,
|
|
@@ -121,7 +113,7 @@ import {
|
|
|
121
113
|
periodEndWithMinLead,
|
|
122
114
|
resolveBundleCancelEffectiveAt,
|
|
123
115
|
resolveBundlePriceNet
|
|
124
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-BTL66TR6.js";
|
|
125
117
|
import {
|
|
126
118
|
SubscriptionContractModule,
|
|
127
119
|
SubscriptionContractService,
|
|
@@ -130,20 +122,28 @@ import {
|
|
|
130
122
|
subscriptionContractToInvoiceSnapshot
|
|
131
123
|
} from "./chunk-2PNX2QL2.js";
|
|
132
124
|
import {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
125
|
+
PROMO_CODE_REDEMPTION_REPOSITORY_TOKEN,
|
|
126
|
+
PROMO_CODE_REPOSITORY_TOKEN,
|
|
127
|
+
PROMO_CODE_VALIDATION_LOG_REPOSITORY_TOKEN,
|
|
128
|
+
PROMO_FIRST_TIME_CUSTOMER_CHECK_TOKEN,
|
|
129
|
+
PROMO_REVENUE_DEDUCTION_AGGREGATOR_TOKEN,
|
|
130
|
+
PROMO_SERVICE_CONFIG_TOKEN,
|
|
131
|
+
PROMO_SUBSCRIPTION_LOOKUP_TOKEN,
|
|
132
|
+
PROMO_TRANSACTION_RUNNER_TOKEN,
|
|
133
|
+
PromoCodesService,
|
|
134
|
+
addCycles,
|
|
135
|
+
buildLabel,
|
|
136
|
+
computeDiscountGross,
|
|
137
|
+
computeDiscountedGross,
|
|
138
|
+
computeRegularStartsAt
|
|
139
|
+
} from "./chunk-ZLUGQE5D.js";
|
|
136
140
|
import {
|
|
137
141
|
ADVISORY_STRICT_MODE_CODES,
|
|
138
142
|
BundlesService,
|
|
139
|
-
BusinessTypeBundleInputDto,
|
|
140
|
-
BusinessTypesService,
|
|
141
143
|
CatalogEntriesService,
|
|
142
144
|
CatalogModule,
|
|
143
145
|
CreateBundleDto,
|
|
144
146
|
CreateBundleVersionDraftDto,
|
|
145
|
-
CreateBusinessTypeDto,
|
|
146
|
-
CreateBusinessTypeVersionDraftDto,
|
|
147
147
|
CreateMarketingProjectionDto,
|
|
148
148
|
CreatePlanDto,
|
|
149
149
|
CreatePlanVersionDraftDto,
|
|
@@ -159,14 +159,11 @@ import {
|
|
|
159
159
|
PromotionsService,
|
|
160
160
|
PublicMarketingCatalogService,
|
|
161
161
|
PublishBundleVersionDto,
|
|
162
|
-
PublishBusinessTypeVersionDto,
|
|
163
162
|
PublishPlanVersionDto,
|
|
164
163
|
ReviewCatalogEntryDto,
|
|
165
164
|
SyncDiscoveryDto,
|
|
166
165
|
UpdateBundleDto,
|
|
167
166
|
UpdateBundleVersionDraftDto,
|
|
168
|
-
UpdateBusinessTypeDto,
|
|
169
|
-
UpdateBusinessTypeVersionDraftDto,
|
|
170
167
|
UpdateCatalogEntryI18nDto,
|
|
171
168
|
UpdateMarketingProjectionDto,
|
|
172
169
|
UpdateMarketingSettingsDto,
|
|
@@ -176,8 +173,6 @@ import {
|
|
|
176
173
|
blockingStrictModeWarnings,
|
|
177
174
|
buildBundleVersionsController,
|
|
178
175
|
buildBundlesController,
|
|
179
|
-
buildBusinessTypeVersionsController,
|
|
180
|
-
buildBusinessTypesController,
|
|
181
176
|
buildCatalogEntriesController,
|
|
182
177
|
buildMarketingProjectionsController,
|
|
183
178
|
buildMarketingSettingsController,
|
|
@@ -195,10 +190,9 @@ import {
|
|
|
195
190
|
runSeedGateFromFile,
|
|
196
191
|
seedGateExitCode,
|
|
197
192
|
validateBundleDraft,
|
|
198
|
-
validateBusinessTypeDraft,
|
|
199
193
|
validatePlanDraft,
|
|
200
194
|
validateSeedAgainstSnapshot
|
|
201
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-5DDCSGZC.js";
|
|
202
196
|
import {
|
|
203
197
|
AUDIT_CONTEXT_RESOLVER_TOKEN,
|
|
204
198
|
PENDING_PLAN_QUERY_PORT_TOKEN,
|
|
@@ -213,12 +207,6 @@ import {
|
|
|
213
207
|
classifyBundleVersionDiff,
|
|
214
208
|
classifyPlanDiff
|
|
215
209
|
} from "./chunk-WPUVJRIN.js";
|
|
216
|
-
import {
|
|
217
|
-
AUDIT_PORT_TOKEN,
|
|
218
|
-
AdminAuditService,
|
|
219
|
-
MFA_PORT_TOKEN,
|
|
220
|
-
RLS_BYPASS_PORT_TOKEN
|
|
221
|
-
} from "./chunk-E56W4U2P.js";
|
|
222
210
|
import {
|
|
223
211
|
CHECKOUT_OFFER_REPOSITORY_TOKEN,
|
|
224
212
|
CheckoutOfferModule,
|
|
@@ -226,7 +214,7 @@ import {
|
|
|
226
214
|
CreateCheckoutOfferDto,
|
|
227
215
|
UpdateCheckoutOfferDto,
|
|
228
216
|
buildCheckoutOfferController
|
|
229
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-K3OPNVFR.js";
|
|
230
218
|
import "./chunk-MDIZUVIK.js";
|
|
231
219
|
import {
|
|
232
220
|
DefinesQuota,
|
|
@@ -235,34 +223,57 @@ import {
|
|
|
235
223
|
RequiresCapability,
|
|
236
224
|
runHeadlessDiscoveryScan
|
|
237
225
|
} from "./chunk-HRU3CP57.js";
|
|
238
|
-
import {
|
|
239
|
-
DiscoveryModule,
|
|
240
|
-
buildDiscoveryController
|
|
241
|
-
} from "./chunk-AJ3EPELS.js";
|
|
242
226
|
import {
|
|
243
227
|
DiscoverySnapshotNotFoundError,
|
|
244
228
|
loadDiscoverySnapshotFromFile
|
|
245
229
|
} from "./chunk-ABB2CRAS.js";
|
|
230
|
+
import "./chunk-2FR6ZL7R.js";
|
|
231
|
+
import {
|
|
232
|
+
ADMIN_MANIFEST_CONFIG,
|
|
233
|
+
AdminBypassRlsInterceptor,
|
|
234
|
+
AdminManifestModule,
|
|
235
|
+
AdminManifestService,
|
|
236
|
+
AdminModule,
|
|
237
|
+
AdminPublicBootController,
|
|
238
|
+
MfaGuard,
|
|
239
|
+
MfaService,
|
|
240
|
+
PLATFORM_CORE_CONTRIBUTION_TOKEN,
|
|
241
|
+
PLATFORM_CORE_MANIFEST_CONTRIBUTION,
|
|
242
|
+
REQUIRE_MFA_KEY,
|
|
243
|
+
RequireMfa,
|
|
244
|
+
SuperAdminGuard
|
|
245
|
+
} from "./chunk-U6HT27J7.js";
|
|
246
|
+
import {
|
|
247
|
+
REQUIRE_FEATURE_KEY,
|
|
248
|
+
RequireFeature
|
|
249
|
+
} from "./chunk-Q53N43LQ.js";
|
|
250
|
+
import {
|
|
251
|
+
AUDIT_PORT_TOKEN,
|
|
252
|
+
AdminAuditService,
|
|
253
|
+
MFA_PORT_TOKEN,
|
|
254
|
+
RLS_BYPASS_PORT_TOKEN
|
|
255
|
+
} from "./chunk-E56W4U2P.js";
|
|
256
|
+
import {
|
|
257
|
+
DiscoveryModule,
|
|
258
|
+
buildDiscoveryController
|
|
259
|
+
} from "./chunk-AJ3EPELS.js";
|
|
246
260
|
import {
|
|
247
261
|
DISCOVERY_APP_INFO_TOKEN,
|
|
248
262
|
DISCOVERY_SNAPSHOT_PATH_TOKEN,
|
|
249
263
|
DiscoveryScanner,
|
|
250
264
|
computeSnapshotHash
|
|
251
265
|
} from "./chunk-M6CZQYPY.js";
|
|
252
|
-
import "./chunk-2FR6ZL7R.js";
|
|
253
266
|
import {
|
|
254
267
|
EntitlementModule,
|
|
255
268
|
EntitlementService,
|
|
256
269
|
LimitExceededError,
|
|
257
270
|
SUBSCRIPTION_BUNDLE_CONFIG_TOKEN,
|
|
258
271
|
SUBSCRIPTION_BUNDLE_REPOSITORY_TOKEN,
|
|
259
|
-
aggregateBusinessTypeQuotas,
|
|
260
272
|
aggregateContractLineItemEntitlements,
|
|
261
273
|
aggregateLimits,
|
|
262
274
|
aggregateSubscriptionBundleQuotas,
|
|
263
275
|
applyCustomLimits,
|
|
264
276
|
buildReplacedByIndex,
|
|
265
|
-
collectBusinessTypeFeatures,
|
|
266
277
|
collectSubscriptionBundleFeatures,
|
|
267
278
|
expandReplacedFeatures,
|
|
268
279
|
filterActiveSubscriptionBundles,
|
|
@@ -272,58 +283,10 @@ import {
|
|
|
272
283
|
isLimitExceededError,
|
|
273
284
|
resolveEntitlementPlan,
|
|
274
285
|
toEffectiveLimitsSnapshot
|
|
275
|
-
} from "./chunk-
|
|
286
|
+
} from "./chunk-ND7OOKOG.js";
|
|
276
287
|
import {
|
|
277
288
|
SUBSCRIPTION_CONTRACT_REPOSITORY_TOKEN
|
|
278
289
|
} from "./chunk-NYLON2VC.js";
|
|
279
|
-
import {
|
|
280
|
-
ENTITLEMENT_RESOLUTION_CONFIG_TOKEN,
|
|
281
|
-
PLAN_VERSION_REPOSITORY_TOKEN,
|
|
282
|
-
SUBSCRIPTION_REPOSITORY_TOKEN,
|
|
283
|
-
TRANSACTION_RUNNER_TOKEN
|
|
284
|
-
} from "./chunk-7MLGHWKO.js";
|
|
285
|
-
import {
|
|
286
|
-
BUNDLE_REPOSITORY_TOKEN,
|
|
287
|
-
BUSINESS_TYPE_REPOSITORY_TOKEN,
|
|
288
|
-
CATALOG_ENTRY_REPOSITORY_TOKEN,
|
|
289
|
-
CATALOG_SERVICE_CONFIG_TOKEN,
|
|
290
|
-
MARKETING_PROJECTION_REPOSITORY_TOKEN,
|
|
291
|
-
MARKETING_SETTINGS_REPOSITORY_TOKEN,
|
|
292
|
-
PLAN_REPOSITORY_TOKEN,
|
|
293
|
-
PROMOTION_REPOSITORY_TOKEN
|
|
294
|
-
} from "./chunk-XCZ3TTFK.js";
|
|
295
|
-
import {
|
|
296
|
-
DEFINES_QUOTA_KEY,
|
|
297
|
-
DISCOVERY_SNAPSHOT_TOKEN,
|
|
298
|
-
ENFORCE_QUOTA_KEY,
|
|
299
|
-
IMPLEMENTS_CAPABILITY_KEY,
|
|
300
|
-
REQUIRES_CAPABILITY_KEY
|
|
301
|
-
} from "./chunk-L4SUWH5B.js";
|
|
302
|
-
import {
|
|
303
|
-
PreviewPromoCodeDto,
|
|
304
|
-
PromoCodeExpirer,
|
|
305
|
-
PromoCodePublicController,
|
|
306
|
-
PromoCodeRateLimitGuard,
|
|
307
|
-
PromoCodesModule,
|
|
308
|
-
hashIp,
|
|
309
|
-
ipFingerprint
|
|
310
|
-
} from "./chunk-2VNZYRDV.js";
|
|
311
|
-
import {
|
|
312
|
-
PROMO_CODE_REDEMPTION_REPOSITORY_TOKEN,
|
|
313
|
-
PROMO_CODE_REPOSITORY_TOKEN,
|
|
314
|
-
PROMO_CODE_VALIDATION_LOG_REPOSITORY_TOKEN,
|
|
315
|
-
PROMO_FIRST_TIME_CUSTOMER_CHECK_TOKEN,
|
|
316
|
-
PROMO_REVENUE_DEDUCTION_AGGREGATOR_TOKEN,
|
|
317
|
-
PROMO_SERVICE_CONFIG_TOKEN,
|
|
318
|
-
PROMO_SUBSCRIPTION_LOOKUP_TOKEN,
|
|
319
|
-
PROMO_TRANSACTION_RUNNER_TOKEN,
|
|
320
|
-
PromoCodesService,
|
|
321
|
-
addCycles,
|
|
322
|
-
buildLabel,
|
|
323
|
-
computeDiscountGross,
|
|
324
|
-
computeDiscountedGross,
|
|
325
|
-
computeRegularStartsAt
|
|
326
|
-
} from "./chunk-ZL4LLE2Z.js";
|
|
327
290
|
import {
|
|
328
291
|
PLAN_CATALOG_READ_SINK_TOKEN,
|
|
329
292
|
PLAN_CATALOG_TOKEN,
|
|
@@ -341,10 +304,33 @@ import {
|
|
|
341
304
|
isFeatureInPlan,
|
|
342
305
|
isFeaturePlannedOnly,
|
|
343
306
|
round2
|
|
344
|
-
} from "./chunk-
|
|
307
|
+
} from "./chunk-R2QOSVAA.js";
|
|
308
|
+
import {
|
|
309
|
+
ENTITLEMENT_RESOLUTION_CONFIG_TOKEN,
|
|
310
|
+
ENTITLEMENT_SERVICE_TOKEN,
|
|
311
|
+
PLAN_VERSION_REPOSITORY_TOKEN,
|
|
312
|
+
SUBSCRIPTION_REPOSITORY_TOKEN,
|
|
313
|
+
TRANSACTION_RUNNER_TOKEN
|
|
314
|
+
} from "./chunk-WKVBNTYC.js";
|
|
315
|
+
import {
|
|
316
|
+
BUNDLE_REPOSITORY_TOKEN,
|
|
317
|
+
CATALOG_ENTRY_REPOSITORY_TOKEN,
|
|
318
|
+
CATALOG_SERVICE_CONFIG_TOKEN,
|
|
319
|
+
MARKETING_PROJECTION_REPOSITORY_TOKEN,
|
|
320
|
+
MARKETING_SETTINGS_REPOSITORY_TOKEN,
|
|
321
|
+
PLAN_REPOSITORY_TOKEN,
|
|
322
|
+
PROMOTION_REPOSITORY_TOKEN
|
|
323
|
+
} from "./chunk-N3WANKSA.js";
|
|
345
324
|
import {
|
|
346
325
|
asProvider
|
|
347
326
|
} from "./chunk-SABTXESR.js";
|
|
327
|
+
import {
|
|
328
|
+
DEFINES_QUOTA_KEY,
|
|
329
|
+
DISCOVERY_SNAPSHOT_TOKEN,
|
|
330
|
+
ENFORCE_QUOTA_KEY,
|
|
331
|
+
IMPLEMENTS_CAPABILITY_KEY,
|
|
332
|
+
REQUIRES_CAPABILITY_KEY
|
|
333
|
+
} from "./chunk-L4SUWH5B.js";
|
|
348
334
|
import {
|
|
349
335
|
__name
|
|
350
336
|
} from "./chunk-SHUYVCID.js";
|
|
@@ -668,11 +654,8 @@ export {
|
|
|
668
654
|
AdminStatsModule,
|
|
669
655
|
AdminStatsService,
|
|
670
656
|
BUNDLE_REPOSITORY_TOKEN,
|
|
671
|
-
BUSINESS_TYPE_REPOSITORY_TOKEN,
|
|
672
657
|
BaseIpRateLimitGuard,
|
|
673
658
|
BundlesService,
|
|
674
|
-
BusinessTypeBundleInputDto,
|
|
675
|
-
BusinessTypesService,
|
|
676
659
|
CATALOG_ENTRY_REPOSITORY_TOKEN,
|
|
677
660
|
CATALOG_SERVICE_CONFIG_TOKEN,
|
|
678
661
|
CHECKOUT_OFFER_REPOSITORY_TOKEN,
|
|
@@ -692,8 +675,6 @@ export {
|
|
|
692
675
|
ContinueRegistrationDto,
|
|
693
676
|
CreateBundleDto,
|
|
694
677
|
CreateBundleVersionDraftDto,
|
|
695
|
-
CreateBusinessTypeDto,
|
|
696
|
-
CreateBusinessTypeVersionDraftDto,
|
|
697
678
|
CreateCheckoutOfferDto,
|
|
698
679
|
CreateMarketingProjectionDto,
|
|
699
680
|
CreatePlanDto,
|
|
@@ -710,6 +691,7 @@ export {
|
|
|
710
691
|
DiscoverySnapshotNotFoundError,
|
|
711
692
|
ENFORCE_QUOTA_KEY,
|
|
712
693
|
ENTITLEMENT_RESOLUTION_CONFIG_TOKEN,
|
|
694
|
+
ENTITLEMENT_SERVICE_TOKEN,
|
|
713
695
|
EnforceQuota,
|
|
714
696
|
EntitlementModule,
|
|
715
697
|
EntitlementService,
|
|
@@ -755,7 +737,6 @@ export {
|
|
|
755
737
|
PROMO_SUBSCRIPTION_LOOKUP_TOKEN,
|
|
756
738
|
PROMO_TRANSACTION_RUNNER_TOKEN,
|
|
757
739
|
PUBLIC_CATALOG_BUNDLE_REPOSITORY_TOKEN,
|
|
758
|
-
PUBLIC_CATALOG_BUSINESS_TYPE_REPOSITORY_TOKEN,
|
|
759
740
|
PUBLIC_CATALOG_MARKETING_REPOSITORY_TOKEN,
|
|
760
741
|
PUBLIC_CATALOG_PROJECT_KEY_TOKEN,
|
|
761
742
|
PaymentWebhookDto,
|
|
@@ -782,11 +763,9 @@ export {
|
|
|
782
763
|
PublicCatalogModule,
|
|
783
764
|
PublicMarketingCatalogService,
|
|
784
765
|
PublishBundleVersionDto,
|
|
785
|
-
PublishBusinessTypeVersionDto,
|
|
786
766
|
PublishPlanVersionDto,
|
|
787
767
|
PublishValidationError,
|
|
788
768
|
REGISTRATION_AUDIT_LOGGER_TOKEN,
|
|
789
|
-
REGISTRATION_BUSINESS_TYPE_LOOKUP_TOKEN,
|
|
790
769
|
REGISTRATION_CONFIGURATOR_LOOKUP_TOKEN,
|
|
791
770
|
REGISTRATION_CONFIG_TOKEN,
|
|
792
771
|
REGISTRATION_OTP_DELIVERY_TOKEN,
|
|
@@ -848,8 +827,6 @@ export {
|
|
|
848
827
|
USER_ID_RESOLVER_TOKEN,
|
|
849
828
|
UpdateBundleDto,
|
|
850
829
|
UpdateBundleVersionDraftDto,
|
|
851
|
-
UpdateBusinessTypeDto,
|
|
852
|
-
UpdateBusinessTypeVersionDraftDto,
|
|
853
830
|
UpdateCatalogEntryI18nDto,
|
|
854
831
|
UpdateCheckoutOfferDto,
|
|
855
832
|
UpdateMarketingProjectionDto,
|
|
@@ -860,7 +837,6 @@ export {
|
|
|
860
837
|
VerifyRegistrationOtpDto,
|
|
861
838
|
addCycles,
|
|
862
839
|
addMonths,
|
|
863
|
-
aggregateBusinessTypeQuotas,
|
|
864
840
|
aggregateContractLineItemEntitlements,
|
|
865
841
|
aggregateLimits,
|
|
866
842
|
aggregateSubscriptionBundleQuotas,
|
|
@@ -873,8 +849,6 @@ export {
|
|
|
873
849
|
blockingStrictModeWarnings,
|
|
874
850
|
buildBundleVersionsController,
|
|
875
851
|
buildBundlesController,
|
|
876
|
-
buildBusinessTypeVersionsController,
|
|
877
|
-
buildBusinessTypesController,
|
|
878
852
|
buildCatalogEntriesController,
|
|
879
853
|
buildCheckoutOfferController,
|
|
880
854
|
buildDiscoveryController,
|
|
@@ -892,7 +866,6 @@ export {
|
|
|
892
866
|
classifyBundleVersionDiff,
|
|
893
867
|
classifyPlanDiff,
|
|
894
868
|
clearPendingPlanVersionFields,
|
|
895
|
-
collectBusinessTypeFeatures,
|
|
896
869
|
collectSubscriptionBundleFeatures,
|
|
897
870
|
computeBreakdown,
|
|
898
871
|
computeCarriedTrialEndsAt,
|
|
@@ -951,7 +924,6 @@ export {
|
|
|
951
924
|
subscriptionContractToInvoiceSnapshot,
|
|
952
925
|
toEffectiveLimitsSnapshot,
|
|
953
926
|
validateBundleDraft,
|
|
954
|
-
validateBusinessTypeDraft,
|
|
955
927
|
validatePlanDraft,
|
|
956
928
|
validateSeedAgainstSnapshot,
|
|
957
929
|
verifyOtpCode
|