@saasicat/nest 0.5.0 → 0.7.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.
Files changed (57) hide show
  1. package/dist/admin/index.cjs +3 -8
  2. package/dist/admin/index.d.cts +5 -33
  3. package/dist/admin/index.d.ts +5 -33
  4. package/dist/admin/index.js +2 -2
  5. package/dist/{admin-manifest.config-DxTfZ8-L.d.cts → admin-manifest.config-DyrQNT7M.d.cts} +1 -1
  6. package/dist/{admin-manifest.config-DxTfZ8-L.d.ts → admin-manifest.config-DyrQNT7M.d.ts} +1 -1
  7. package/dist/admin-manifest.service-Cp6uwvmt.d.cts +33 -0
  8. package/dist/admin-manifest.service-UGgzR1x-.d.ts +33 -0
  9. package/dist/{aggregation-DGCyoN5d.d.ts → aggregation-BibpEO0t.d.ts} +6 -59
  10. package/dist/{aggregation-Bt1i_whS.d.cts → aggregation-CfI0bOsQ.d.cts} +6 -59
  11. package/dist/billing/index.cjs +19 -107
  12. package/dist/billing/index.d.cts +8 -30
  13. package/dist/billing/index.d.ts +8 -30
  14. package/dist/billing/index.js +6 -8
  15. package/dist/catalog/index.cjs +1160 -1985
  16. package/dist/catalog/index.d.cts +9 -124
  17. package/dist/catalog/index.d.ts +9 -124
  18. package/dist/catalog/index.js +3 -25
  19. package/dist/checkout-offer/index.js +2 -2
  20. package/dist/{chunk-2VNZYRDV.js → chunk-52UTQRD3.js} +1 -1
  21. package/dist/{chunk-V7HUZ6UQ.js → chunk-5DDCSGZC.js} +1106 -1919
  22. package/dist/{chunk-S2OZ5RIM.js → chunk-6LP7CDS2.js} +15 -68
  23. package/dist/{chunk-NWLOILP6.js → chunk-A2QBXDJC.js} +15 -7
  24. package/dist/{chunk-XSGU2Y2O.js → chunk-CK54YKVK.js} +2 -33
  25. package/dist/{chunk-SYEVGPFC.js → chunk-K3OPNVFR.js} +1 -1
  26. package/dist/{chunk-XCZ3TTFK.js → chunk-N3WANKSA.js} +0 -2
  27. package/dist/{chunk-MV6LW5UB.js → chunk-R2QOSVAA.js} +2 -2
  28. package/dist/{chunk-NFOSITWB.js → chunk-RZU4HIAN.js} +12 -45
  29. package/dist/{chunk-YNEW3L63.js → chunk-SD3TT2BR.js} +1 -1
  30. package/dist/{chunk-P6MYZMXQ.js → chunk-U6HT27J7.js} +3 -8
  31. package/dist/{chunk-7MLGHWKO.js → chunk-WKVBNTYC.js} +2 -0
  32. package/dist/{chunk-ZL4LLE2Z.js → chunk-ZLUGQE5D.js} +1 -1
  33. package/dist/{enforce-quota.interceptor-3HmbeHTM.d.ts → enforce-quota.interceptor-Dj1Kusr5.d.ts} +9 -4
  34. package/dist/{enforce-quota.interceptor-HmdZFg41.d.cts → enforce-quota.interceptor-cv7r80VM.d.cts} +9 -4
  35. package/dist/entitlement/index.cjs +13 -46
  36. package/dist/entitlement/index.d.cts +4 -3
  37. package/dist/entitlement/index.d.ts +4 -3
  38. package/dist/entitlement/index.js +6 -8
  39. package/dist/index.cjs +1348 -2300
  40. package/dist/index.d.cts +8 -7
  41. package/dist/index.d.ts +8 -7
  42. package/dist/index.js +14 -42
  43. package/dist/platform/index.cjs +28 -54
  44. package/dist/platform/index.d.cts +4 -3
  45. package/dist/platform/index.d.ts +4 -3
  46. package/dist/platform/index.js +9 -6
  47. package/dist/promo/index.cjs +2 -2
  48. package/dist/promo/index.js +3 -3
  49. package/dist/registration/index.cjs +2 -34
  50. package/dist/registration/index.d.cts +3 -21
  51. package/dist/registration/index.d.ts +3 -21
  52. package/dist/registration/index.js +1 -3
  53. package/dist/testing/index.cjs +26 -255
  54. package/dist/testing/index.d.cts +5 -37
  55. package/dist/testing/index.d.ts +5 -37
  56. package/dist/testing/index.js +6 -206
  57. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import { BundleRepository, DiscoverySnapshot, SubscriptionRepository, PlanRepository, CatalogEntryRepository, BundleRow, BundleVersionRow, CreateBundleData, UpdateBundleData, CreateBundleVersionDraftData, BundleVersionMutationResult, UpdateBundleVersionDraftData, PublishBundleVersionData, BusinessTypeRepository, BusinessTypeRow, BusinessTypeVersionRow, CreateBusinessTypeData, UpdateBusinessTypeData, CreateBusinessTypeVersionDraftData, BusinessTypeVersionMutationResult, UpdateBusinessTypeVersionDraftData, PublishBusinessTypeVersionData, MarketingProjectionRepository, MarketingProjectionFilter, MarketingProjectionRow, CreateMarketingProjectionData, UpdateMarketingProjectionData, FeatureUiRegistry, CapabilityCatalogEntryRow, FeatureCatalogEntryRow, QuotaCatalogEntryRow, ReviewCatalogEntryData, CatalogEntryI18n, UpdateCatalogEntryBaseData, SyncDiscoveryResult, PromotionRepository, PromotionRow, CreatePromotionData, UpdatePromotionData, MarketingSettingsRepository, MarketingSettingsRow, UpdateMarketingSettingsData, PublicMarketingCatalogResponse, PlanRow, CreatePlanData, UpdatePlanData, PlanVersionRow, CreatePlanVersionDraftData, PlanVersionMutationResult, UpdatePlanVersionDraftData, PublishPlanVersionData, StrictModeWarningCode, StrictModeWarning, ApprovedCatalogKeys, DiscoveredQuota, DiscoveryStatus, PromotionType, PromotionValue, PromotionTargetType, PromotionBillingCycle, PromotionI18n } from '@saasicat/types';
1
+ import { BundleRepository, DiscoverySnapshot, SubscriptionRepository, PlanRepository, CatalogEntryRepository, BundleRow, BundleVersionRow, CreateBundleData, UpdateBundleData, CreateBundleVersionDraftData, BundleVersionMutationResult, UpdateBundleVersionDraftData, PublishBundleVersionData, MarketingProjectionRepository, MarketingProjectionFilter, MarketingProjectionRow, CreateMarketingProjectionData, UpdateMarketingProjectionData, FeatureUiRegistry, CapabilityCatalogEntryRow, FeatureCatalogEntryRow, QuotaCatalogEntryRow, ReviewCatalogEntryData, CatalogEntryI18n, UpdateCatalogEntryBaseData, SyncDiscoveryResult, PromotionRepository, PromotionRow, CreatePromotionData, UpdatePromotionData, MarketingSettingsRepository, MarketingSettingsRow, UpdateMarketingSettingsData, PublicMarketingCatalogResponse, PlanRow, CreatePlanData, UpdatePlanData, PlanVersionRow, CreatePlanVersionDraftData, PlanVersionMutationResult, UpdatePlanVersionDraftData, PublishPlanVersionData, StrictModeWarningCode, StrictModeWarning, ApprovedCatalogKeys, DiscoveredQuota, DiscoveryStatus, PromotionType, PromotionValue, PromotionTargetType, PromotionBillingCycle, PromotionI18n } from '@saasicat/types';
2
2
  import { c as DiscoveryScanner } from '../discovery.scanner-DLgEvuoy.cjs';
3
3
  import { OnApplicationBootstrap, Type, CanActivate, DynamicModule, ForwardReference, Provider } from '@nestjs/common';
4
4
  import { P as ProviderSpec } from '../di-CcNeq9v-.cjs';
@@ -99,38 +99,6 @@ declare class BundlesService {
99
99
  private parseRequiredBundleDate;
100
100
  }
101
101
 
102
- declare class BusinessTypesService {
103
- private readonly repo;
104
- private readonly bundleRepo;
105
- private readonly snapshot;
106
- private readonly scanner;
107
- private readonly catalogEntries;
108
- private readonly mode;
109
- constructor(repo: BusinessTypeRepository, bundleRepo: BundleRepository, snapshot?: DiscoverySnapshot | null, config?: CatalogServiceConfig, scanner?: DiscoveryScanner | null, catalogEntries?: CatalogEntryRepository | null);
110
- listBusinessTypes(projectKey: string): Promise<BusinessTypeRow[]>;
111
- getBusinessType(businessTypeId: string): Promise<{
112
- businessType: BusinessTypeRow;
113
- versions: BusinessTypeVersionRow[];
114
- }>;
115
- createBusinessType(data: CreateBusinessTypeData): Promise<BusinessTypeRow>;
116
- updateBusinessType(businessTypeId: string, data: UpdateBusinessTypeData): Promise<BusinessTypeRow>;
117
- softDeleteBusinessType(businessTypeId: string): Promise<void>;
118
- listBusinessTypeVersions(businessTypeId: string): Promise<BusinessTypeVersionRow[]>;
119
- getBusinessTypeVersion(versionId: string): Promise<BusinessTypeVersionRow>;
120
- createBusinessTypeDraft(data: CreateBusinessTypeVersionDraftData): Promise<BusinessTypeVersionMutationResult>;
121
- updateBusinessTypeDraft(versionId: string, data: UpdateBusinessTypeVersionDraftData): Promise<BusinessTypeVersionMutationResult>;
122
- publishBusinessTypeVersion(versionId: string, publishMeta: PublishBusinessTypeVersionData): Promise<BusinessTypeVersionMutationResult>;
123
- /**
124
- * Loads the referenced BundleVersions and verifies that all exist
125
- * and are published (live or superseded — both allowed, because
126
- * BusinessTypeBundle holds the concrete version). Throws NotFound for
127
- * missing ones, UnprocessableEntity for non-published ones.
128
- */
129
- private loadAndAssertBundles;
130
- private runStrictCheck;
131
- private gateOrPass;
132
- }
133
-
134
102
  declare class MarketingProjectionsService {
135
103
  private readonly repo;
136
104
  constructor(repo: MarketingProjectionRepository);
@@ -381,9 +349,6 @@ declare function buildBundlesController(guards: Array<Type<CanActivate>>): Type;
381
349
  */
382
350
  declare function buildBundleVersionsController(guards: Array<Type<CanActivate>>): Type;
383
351
 
384
- declare function buildBusinessTypesController(guards: Array<Type<CanActivate>>): Type;
385
- declare function buildBusinessTypeVersionsController(guards: Array<Type<CanActivate>>): Type;
386
-
387
352
  declare function buildMarketingProjectionsController(guards: Array<Type<CanActivate>>): Type;
388
353
 
389
354
  declare function buildPlansController(guards: Array<Type<CanActivate>>): Type;
@@ -404,12 +369,6 @@ interface CatalogControllerConfig {
404
369
  interface CatalogModuleOptions {
405
370
  /** Adapter for `bundles` + `bundle_versions` persistence. */
406
371
  bundleRepository: ProviderSpec<BundleRepository>;
407
- /**
408
- * Adapter for `business_types` + `business_type_versions` +
409
- * `business_type_bundles` persistence. Optional — if omitted,
410
- * BusinessTypesService + controller are not registered.
411
- */
412
- businessTypeRepository?: ProviderSpec<BusinessTypeRepository>;
413
372
  /**
414
373
  * Adapter for `marketing_projections` persistence. Optional — if
415
374
  * omitted, MarketingProjectionsService + controller are not
@@ -450,10 +409,8 @@ interface CatalogModuleOptions {
450
409
  */
451
410
  planRepository?: ProviderSpec<PlanRepository>;
452
411
  /**
453
- * Controller mount for `/admin/catalog/bundles` + `/admin/catalog/bundle-versions`
454
- * + (if businessTypeRepository is set) `/admin/catalog/business-types` +
455
- * `/admin/catalog/business-type-versions`. If omitted, the
456
- * endpoints are not registered — but the services remain usable via DI.
412
+ * Controller mount for `/admin/catalog/bundles` + `/admin/catalog/bundle-versions`.
413
+ * If omitted, the endpoints are not registered — but the services remain usable via DI.
457
414
  */
458
415
  controller?: CatalogControllerConfig;
459
416
  /**
@@ -503,8 +460,6 @@ declare class CatalogModule {
503
460
  declare const PLAN_REPOSITORY_TOKEN: unique symbol;
504
461
  /** Repository for `bundles` + `bundle_versions`. */
505
462
  declare const BUNDLE_REPOSITORY_TOKEN: unique symbol;
506
- /** Repository for `business_types` + `business_type_versions` + `business_type_bundles`. */
507
- declare const BUSINESS_TYPE_REPOSITORY_TOKEN: unique symbol;
508
463
  /** Repository for `marketing_projections`. */
509
464
  declare const MARKETING_PROJECTION_REPOSITORY_TOKEN: unique symbol;
510
465
  /**
@@ -560,38 +515,14 @@ declare function blockingStrictModeWarnings(warnings: StrictModeWarning[]): Stri
560
515
  *
561
516
  * **Not** checked (belongs in other validations):
562
517
  * - Pricing (purely business, no discovery relation)
563
- * - Compatibility.businessTypeKeys whitelists (BUNDLE_COMPATIBILITY code,
564
- * only checked at BusinessType publish)
565
- * - Disjointness (BUNDLE_DISJOINTNESS, also a BusinessType concern)
566
518
  */
567
519
  declare function validateBundleDraft(draft: {
568
520
  features: string[];
569
521
  quotas: Record<string, number>;
570
522
  compatibility?: {
571
523
  planIds?: string[];
572
- businessTypeKeys?: string[];
573
524
  };
574
525
  }, snapshot: DiscoverySnapshot, knownPlanKeys?: Set<string> | null, marketedOnlyFeatures?: ReadonlySet<string>, approved?: ApprovedCatalogKeys | null): StrictModeWarning[];
575
- /**
576
- * Validates a BusinessType draft definition against the discovery snapshot
577
- * and the referenced BundleVersions. Three violations:
578
- *
579
- * - **BUNDLE_DISJOINTNESS** (GESCHAEFTSTYP_SPEC §6.3): two Bundles in
580
- * the composition activate the same feature. Hard block at publish.
581
- * - **BUNDLE_COMPATIBILITY** (GESCHAEFTSTYP_SPEC §6.4): a Bundle has set
582
- * a `compatibility.businessTypeKeys` whitelist, but the target
583
- * businessTypeKey is not included. Soft warning (no
584
- * hard block, but an audit marker on override).
585
- * - **QUOTA_MISSING**: QuotaOverride keys that do not exist in discovery
586
- * (analogous to the Bundle strict check).
587
- *
588
- * Bundle existence and published status are checked in the service before
589
- * this check (NotFoundException on a missing version, no warning).
590
- */
591
- declare function validateBusinessTypeDraft(draft: {
592
- businessTypeKey: string;
593
- quotaOverrides: Record<string, number>;
594
- }, bundles: BundleVersionRow[], snapshot: DiscoverySnapshot, approved?: ApprovedCatalogKeys | null): StrictModeWarning[];
595
526
  /**
596
527
  * Validates a PlanVersion draft definition against the discovery snapshot
597
528
  * (SPEC_V2 §8.2 Pack 3a). Returns a (possibly empty) list of
@@ -649,8 +580,6 @@ interface PreflightInput {
649
580
  planVersions: PlanVersionRow[];
650
581
  /** All live BundleVersions. */
651
582
  bundleVersions: BundleVersionRow[];
652
- /** All live BusinessTypeVersions. */
653
- businessTypeVersions: BusinessTypeVersionRow[];
654
583
  /**
655
584
  * Approved gate (#20 Slice 5): approved feature/quota keys from the
656
585
  * catalog entries (`loadApprovedCatalogKeys`). Omitted/`null` →
@@ -659,8 +588,8 @@ interface PreflightInput {
659
588
  approved?: ApprovedCatalogKeys | null;
660
589
  }
661
590
  interface PreflightFinding {
662
- /** `plan` / `bundle` / `business-type`. */
663
- kind: 'plan' | 'bundle' | 'business-type';
591
+ /** `plan` / `bundle`. */
592
+ kind: 'plan' | 'bundle';
664
593
  /** ID of the specific version the violation is attached to. */
665
594
  versionId: string;
666
595
  /** Human-readable key for the UI: `STARTER` or `BANKING` or `SPORT_VEREIN`. */
@@ -676,13 +605,12 @@ interface PreflightReport {
676
605
  counts: {
677
606
  planFindings: number;
678
607
  bundleFindings: number;
679
- businessTypeFindings: number;
680
608
  total: number;
681
609
  };
682
610
  findings: PreflightFinding[];
683
611
  }
684
612
  /**
685
- * Runs all three strict checks against the discovery snapshot.
613
+ * Runs the plan and bundle strict checks against the discovery snapshot.
686
614
  * Collects findings by entity type and returns a sorted report
687
615
  * (deterministic for test stability).
688
616
  */
@@ -796,11 +724,9 @@ declare class CreateBundleVersionDraftDto {
796
724
  features: string[];
797
725
  quotas?: Record<string, number>;
798
726
  compatibility?: {
799
- businessTypeKeys?: string[];
800
727
  planIds?: string[];
801
728
  };
802
729
  pricingOverrides?: Array<{
803
- businessTypeKey?: string;
804
730
  planId?: string;
805
731
  monthlyNet?: string | null;
806
732
  yearlyNet?: string | null;
@@ -817,11 +743,9 @@ declare class UpdateBundleVersionDraftDto {
817
743
  features?: string[];
818
744
  quotas?: Record<string, number>;
819
745
  compatibility?: {
820
- businessTypeKeys?: string[];
821
746
  planIds?: string[];
822
747
  };
823
748
  pricingOverrides?: Array<{
824
- businessTypeKey?: string;
825
749
  planId?: string;
826
750
  monthlyNet?: string | null;
827
751
  yearlyNet?: string | null;
@@ -850,45 +774,6 @@ declare class PublishBundleVersionDto {
850
774
  validUntil?: string | null;
851
775
  }
852
776
 
853
- declare class CreateBusinessTypeDto {
854
- projectKey: string;
855
- businessTypeKey: string;
856
- label: string;
857
- description?: string;
858
- icon?: string;
859
- sortOrder?: number;
860
- }
861
- declare class UpdateBusinessTypeDto {
862
- label?: string;
863
- description?: string | null;
864
- icon?: string | null;
865
- sortOrder?: number;
866
- }
867
- declare class BusinessTypeBundleInputDto {
868
- bundleVersionId: string;
869
- sortOrder?: number;
870
- }
871
- declare class CreateBusinessTypeVersionDraftDto {
872
- bundles: BusinessTypeBundleInputDto[];
873
- quotaOverrides?: Record<string, number>;
874
- monthlyNet?: string | null;
875
- yearlyNet?: string | null;
876
- marketed?: boolean;
877
- changeNote?: string;
878
- baseVersionId?: string | null;
879
- }
880
- declare class UpdateBusinessTypeVersionDraftDto {
881
- bundles?: BusinessTypeBundleInputDto[];
882
- quotaOverrides?: Record<string, number>;
883
- monthlyNet?: string | null;
884
- yearlyNet?: string | null;
885
- marketed?: boolean;
886
- changeNote?: string;
887
- }
888
- declare class PublishBusinessTypeVersionDto {
889
- forceRegressive?: boolean;
890
- }
891
-
892
777
  declare class MarketingTopFeatureDto {
893
778
  /** Optional feature/quota key reference (auto-translation of the label). */
894
779
  key?: string;
@@ -899,7 +784,7 @@ declare class MarketingTopFeatureDto {
899
784
  }
900
785
  declare class CreateMarketingProjectionDto {
901
786
  projectKey: string;
902
- targetType: 'PLAN' | 'BUNDLE' | 'BUSINESS_TYPE';
787
+ targetType: 'PLAN' | 'BUNDLE';
903
788
  targetVersionId: string;
904
789
  locale?: string;
905
790
  displayLabel: string;
@@ -929,7 +814,7 @@ declare class UpdateMarketingProjectionDto {
929
814
  }
930
815
  declare class ListMarketingProjectionsQueryDto {
931
816
  projectKey: string;
932
- targetType?: 'PLAN' | 'BUNDLE' | 'BUSINESS_TYPE';
817
+ targetType?: 'PLAN' | 'BUNDLE';
933
818
  targetVersionId?: string;
934
819
  locale?: string;
935
820
  }
@@ -1070,4 +955,4 @@ declare class PublishPlanVersionDto {
1070
955
  validUntil?: string | null;
1071
956
  }
1072
957
 
1073
- export { ADVISORY_STRICT_MODE_CODES, BUNDLE_REPOSITORY_TOKEN, BUSINESS_TYPE_REPOSITORY_TOKEN, BundlesService, BusinessTypeBundleInputDto, BusinessTypesService, CATALOG_ENTRY_REPOSITORY_TOKEN, CATALOG_SERVICE_CONFIG_TOKEN, type CatalogControllerConfig, CatalogEntriesService, CatalogModule, type CatalogModuleOptions, type CatalogServiceConfig, CreateBundleDto, CreateBundleVersionDraftDto, CreateBusinessTypeDto, CreateBusinessTypeVersionDraftDto, 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, type PreflightFinding, type PreflightInput, type PreflightReport, PromotionsService, PublicMarketingCatalogService, PublishBundleVersionDto, PublishBusinessTypeVersionDto, PublishPlanVersionDto, ReviewCatalogEntryDto, type SeedBundleDraft, type SeedGateFinding, type SeedGateInput, type SeedGateMode, type SeedGateReport, type SeedGateRunOptions, type SeedPlanDraft, SyncDiscoveryDto, UpdateBundleDto, UpdateBundleVersionDraftDto, UpdateBusinessTypeDto, UpdateBusinessTypeVersionDraftDto, UpdateCatalogEntryI18nDto, UpdateMarketingProjectionDto, UpdateMarketingSettingsDto, UpdatePlanDto, UpdatePlanVersionDraftDto, UpdatePromotionDto, blockingStrictModeWarnings, buildBundleVersionsController, buildBundlesController, buildBusinessTypeVersionsController, buildBusinessTypesController, buildCatalogEntriesController, buildMarketingProjectionsController, buildMarketingSettingsController, buildPlanVersionsController, buildPlansController, buildPromotionsController, buildPublicMarketingCatalogController, featureApprovalSignature, formatPreflightReport, formatSeedGateReport, loadApprovedCatalogKeys, preflightExitCode, quotaApprovalSignature, runPreflight, runSeedGateFromFile, seedGateExitCode, validateBundleDraft, validateBusinessTypeDraft, validatePlanDraft, validateSeedAgainstSnapshot };
958
+ export { ADVISORY_STRICT_MODE_CODES, BUNDLE_REPOSITORY_TOKEN, BundlesService, CATALOG_ENTRY_REPOSITORY_TOKEN, CATALOG_SERVICE_CONFIG_TOKEN, type CatalogControllerConfig, CatalogEntriesService, CatalogModule, type CatalogModuleOptions, type 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, type PreflightFinding, type PreflightInput, type PreflightReport, PromotionsService, PublicMarketingCatalogService, PublishBundleVersionDto, PublishPlanVersionDto, ReviewCatalogEntryDto, type SeedBundleDraft, type SeedGateFinding, type SeedGateInput, type SeedGateMode, type SeedGateReport, type SeedGateRunOptions, type 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 };
@@ -1,4 +1,4 @@
1
- import { BundleRepository, DiscoverySnapshot, SubscriptionRepository, PlanRepository, CatalogEntryRepository, BundleRow, BundleVersionRow, CreateBundleData, UpdateBundleData, CreateBundleVersionDraftData, BundleVersionMutationResult, UpdateBundleVersionDraftData, PublishBundleVersionData, BusinessTypeRepository, BusinessTypeRow, BusinessTypeVersionRow, CreateBusinessTypeData, UpdateBusinessTypeData, CreateBusinessTypeVersionDraftData, BusinessTypeVersionMutationResult, UpdateBusinessTypeVersionDraftData, PublishBusinessTypeVersionData, MarketingProjectionRepository, MarketingProjectionFilter, MarketingProjectionRow, CreateMarketingProjectionData, UpdateMarketingProjectionData, FeatureUiRegistry, CapabilityCatalogEntryRow, FeatureCatalogEntryRow, QuotaCatalogEntryRow, ReviewCatalogEntryData, CatalogEntryI18n, UpdateCatalogEntryBaseData, SyncDiscoveryResult, PromotionRepository, PromotionRow, CreatePromotionData, UpdatePromotionData, MarketingSettingsRepository, MarketingSettingsRow, UpdateMarketingSettingsData, PublicMarketingCatalogResponse, PlanRow, CreatePlanData, UpdatePlanData, PlanVersionRow, CreatePlanVersionDraftData, PlanVersionMutationResult, UpdatePlanVersionDraftData, PublishPlanVersionData, StrictModeWarningCode, StrictModeWarning, ApprovedCatalogKeys, DiscoveredQuota, DiscoveryStatus, PromotionType, PromotionValue, PromotionTargetType, PromotionBillingCycle, PromotionI18n } from '@saasicat/types';
1
+ import { BundleRepository, DiscoverySnapshot, SubscriptionRepository, PlanRepository, CatalogEntryRepository, BundleRow, BundleVersionRow, CreateBundleData, UpdateBundleData, CreateBundleVersionDraftData, BundleVersionMutationResult, UpdateBundleVersionDraftData, PublishBundleVersionData, MarketingProjectionRepository, MarketingProjectionFilter, MarketingProjectionRow, CreateMarketingProjectionData, UpdateMarketingProjectionData, FeatureUiRegistry, CapabilityCatalogEntryRow, FeatureCatalogEntryRow, QuotaCatalogEntryRow, ReviewCatalogEntryData, CatalogEntryI18n, UpdateCatalogEntryBaseData, SyncDiscoveryResult, PromotionRepository, PromotionRow, CreatePromotionData, UpdatePromotionData, MarketingSettingsRepository, MarketingSettingsRow, UpdateMarketingSettingsData, PublicMarketingCatalogResponse, PlanRow, CreatePlanData, UpdatePlanData, PlanVersionRow, CreatePlanVersionDraftData, PlanVersionMutationResult, UpdatePlanVersionDraftData, PublishPlanVersionData, StrictModeWarningCode, StrictModeWarning, ApprovedCatalogKeys, DiscoveredQuota, DiscoveryStatus, PromotionType, PromotionValue, PromotionTargetType, PromotionBillingCycle, PromotionI18n } from '@saasicat/types';
2
2
  import { c as DiscoveryScanner } from '../discovery.scanner-DLgEvuoy.js';
3
3
  import { OnApplicationBootstrap, Type, CanActivate, DynamicModule, ForwardReference, Provider } from '@nestjs/common';
4
4
  import { P as ProviderSpec } from '../di-CcNeq9v-.js';
@@ -99,38 +99,6 @@ declare class BundlesService {
99
99
  private parseRequiredBundleDate;
100
100
  }
101
101
 
102
- declare class BusinessTypesService {
103
- private readonly repo;
104
- private readonly bundleRepo;
105
- private readonly snapshot;
106
- private readonly scanner;
107
- private readonly catalogEntries;
108
- private readonly mode;
109
- constructor(repo: BusinessTypeRepository, bundleRepo: BundleRepository, snapshot?: DiscoverySnapshot | null, config?: CatalogServiceConfig, scanner?: DiscoveryScanner | null, catalogEntries?: CatalogEntryRepository | null);
110
- listBusinessTypes(projectKey: string): Promise<BusinessTypeRow[]>;
111
- getBusinessType(businessTypeId: string): Promise<{
112
- businessType: BusinessTypeRow;
113
- versions: BusinessTypeVersionRow[];
114
- }>;
115
- createBusinessType(data: CreateBusinessTypeData): Promise<BusinessTypeRow>;
116
- updateBusinessType(businessTypeId: string, data: UpdateBusinessTypeData): Promise<BusinessTypeRow>;
117
- softDeleteBusinessType(businessTypeId: string): Promise<void>;
118
- listBusinessTypeVersions(businessTypeId: string): Promise<BusinessTypeVersionRow[]>;
119
- getBusinessTypeVersion(versionId: string): Promise<BusinessTypeVersionRow>;
120
- createBusinessTypeDraft(data: CreateBusinessTypeVersionDraftData): Promise<BusinessTypeVersionMutationResult>;
121
- updateBusinessTypeDraft(versionId: string, data: UpdateBusinessTypeVersionDraftData): Promise<BusinessTypeVersionMutationResult>;
122
- publishBusinessTypeVersion(versionId: string, publishMeta: PublishBusinessTypeVersionData): Promise<BusinessTypeVersionMutationResult>;
123
- /**
124
- * Loads the referenced BundleVersions and verifies that all exist
125
- * and are published (live or superseded — both allowed, because
126
- * BusinessTypeBundle holds the concrete version). Throws NotFound for
127
- * missing ones, UnprocessableEntity for non-published ones.
128
- */
129
- private loadAndAssertBundles;
130
- private runStrictCheck;
131
- private gateOrPass;
132
- }
133
-
134
102
  declare class MarketingProjectionsService {
135
103
  private readonly repo;
136
104
  constructor(repo: MarketingProjectionRepository);
@@ -381,9 +349,6 @@ declare function buildBundlesController(guards: Array<Type<CanActivate>>): Type;
381
349
  */
382
350
  declare function buildBundleVersionsController(guards: Array<Type<CanActivate>>): Type;
383
351
 
384
- declare function buildBusinessTypesController(guards: Array<Type<CanActivate>>): Type;
385
- declare function buildBusinessTypeVersionsController(guards: Array<Type<CanActivate>>): Type;
386
-
387
352
  declare function buildMarketingProjectionsController(guards: Array<Type<CanActivate>>): Type;
388
353
 
389
354
  declare function buildPlansController(guards: Array<Type<CanActivate>>): Type;
@@ -404,12 +369,6 @@ interface CatalogControllerConfig {
404
369
  interface CatalogModuleOptions {
405
370
  /** Adapter for `bundles` + `bundle_versions` persistence. */
406
371
  bundleRepository: ProviderSpec<BundleRepository>;
407
- /**
408
- * Adapter for `business_types` + `business_type_versions` +
409
- * `business_type_bundles` persistence. Optional — if omitted,
410
- * BusinessTypesService + controller are not registered.
411
- */
412
- businessTypeRepository?: ProviderSpec<BusinessTypeRepository>;
413
372
  /**
414
373
  * Adapter for `marketing_projections` persistence. Optional — if
415
374
  * omitted, MarketingProjectionsService + controller are not
@@ -450,10 +409,8 @@ interface CatalogModuleOptions {
450
409
  */
451
410
  planRepository?: ProviderSpec<PlanRepository>;
452
411
  /**
453
- * Controller mount for `/admin/catalog/bundles` + `/admin/catalog/bundle-versions`
454
- * + (if businessTypeRepository is set) `/admin/catalog/business-types` +
455
- * `/admin/catalog/business-type-versions`. If omitted, the
456
- * endpoints are not registered — but the services remain usable via DI.
412
+ * Controller mount for `/admin/catalog/bundles` + `/admin/catalog/bundle-versions`.
413
+ * If omitted, the endpoints are not registered — but the services remain usable via DI.
457
414
  */
458
415
  controller?: CatalogControllerConfig;
459
416
  /**
@@ -503,8 +460,6 @@ declare class CatalogModule {
503
460
  declare const PLAN_REPOSITORY_TOKEN: unique symbol;
504
461
  /** Repository for `bundles` + `bundle_versions`. */
505
462
  declare const BUNDLE_REPOSITORY_TOKEN: unique symbol;
506
- /** Repository for `business_types` + `business_type_versions` + `business_type_bundles`. */
507
- declare const BUSINESS_TYPE_REPOSITORY_TOKEN: unique symbol;
508
463
  /** Repository for `marketing_projections`. */
509
464
  declare const MARKETING_PROJECTION_REPOSITORY_TOKEN: unique symbol;
510
465
  /**
@@ -560,38 +515,14 @@ declare function blockingStrictModeWarnings(warnings: StrictModeWarning[]): Stri
560
515
  *
561
516
  * **Not** checked (belongs in other validations):
562
517
  * - Pricing (purely business, no discovery relation)
563
- * - Compatibility.businessTypeKeys whitelists (BUNDLE_COMPATIBILITY code,
564
- * only checked at BusinessType publish)
565
- * - Disjointness (BUNDLE_DISJOINTNESS, also a BusinessType concern)
566
518
  */
567
519
  declare function validateBundleDraft(draft: {
568
520
  features: string[];
569
521
  quotas: Record<string, number>;
570
522
  compatibility?: {
571
523
  planIds?: string[];
572
- businessTypeKeys?: string[];
573
524
  };
574
525
  }, snapshot: DiscoverySnapshot, knownPlanKeys?: Set<string> | null, marketedOnlyFeatures?: ReadonlySet<string>, approved?: ApprovedCatalogKeys | null): StrictModeWarning[];
575
- /**
576
- * Validates a BusinessType draft definition against the discovery snapshot
577
- * and the referenced BundleVersions. Three violations:
578
- *
579
- * - **BUNDLE_DISJOINTNESS** (GESCHAEFTSTYP_SPEC §6.3): two Bundles in
580
- * the composition activate the same feature. Hard block at publish.
581
- * - **BUNDLE_COMPATIBILITY** (GESCHAEFTSTYP_SPEC §6.4): a Bundle has set
582
- * a `compatibility.businessTypeKeys` whitelist, but the target
583
- * businessTypeKey is not included. Soft warning (no
584
- * hard block, but an audit marker on override).
585
- * - **QUOTA_MISSING**: QuotaOverride keys that do not exist in discovery
586
- * (analogous to the Bundle strict check).
587
- *
588
- * Bundle existence and published status are checked in the service before
589
- * this check (NotFoundException on a missing version, no warning).
590
- */
591
- declare function validateBusinessTypeDraft(draft: {
592
- businessTypeKey: string;
593
- quotaOverrides: Record<string, number>;
594
- }, bundles: BundleVersionRow[], snapshot: DiscoverySnapshot, approved?: ApprovedCatalogKeys | null): StrictModeWarning[];
595
526
  /**
596
527
  * Validates a PlanVersion draft definition against the discovery snapshot
597
528
  * (SPEC_V2 §8.2 Pack 3a). Returns a (possibly empty) list of
@@ -649,8 +580,6 @@ interface PreflightInput {
649
580
  planVersions: PlanVersionRow[];
650
581
  /** All live BundleVersions. */
651
582
  bundleVersions: BundleVersionRow[];
652
- /** All live BusinessTypeVersions. */
653
- businessTypeVersions: BusinessTypeVersionRow[];
654
583
  /**
655
584
  * Approved gate (#20 Slice 5): approved feature/quota keys from the
656
585
  * catalog entries (`loadApprovedCatalogKeys`). Omitted/`null` →
@@ -659,8 +588,8 @@ interface PreflightInput {
659
588
  approved?: ApprovedCatalogKeys | null;
660
589
  }
661
590
  interface PreflightFinding {
662
- /** `plan` / `bundle` / `business-type`. */
663
- kind: 'plan' | 'bundle' | 'business-type';
591
+ /** `plan` / `bundle`. */
592
+ kind: 'plan' | 'bundle';
664
593
  /** ID of the specific version the violation is attached to. */
665
594
  versionId: string;
666
595
  /** Human-readable key for the UI: `STARTER` or `BANKING` or `SPORT_VEREIN`. */
@@ -676,13 +605,12 @@ interface PreflightReport {
676
605
  counts: {
677
606
  planFindings: number;
678
607
  bundleFindings: number;
679
- businessTypeFindings: number;
680
608
  total: number;
681
609
  };
682
610
  findings: PreflightFinding[];
683
611
  }
684
612
  /**
685
- * Runs all three strict checks against the discovery snapshot.
613
+ * Runs the plan and bundle strict checks against the discovery snapshot.
686
614
  * Collects findings by entity type and returns a sorted report
687
615
  * (deterministic for test stability).
688
616
  */
@@ -796,11 +724,9 @@ declare class CreateBundleVersionDraftDto {
796
724
  features: string[];
797
725
  quotas?: Record<string, number>;
798
726
  compatibility?: {
799
- businessTypeKeys?: string[];
800
727
  planIds?: string[];
801
728
  };
802
729
  pricingOverrides?: Array<{
803
- businessTypeKey?: string;
804
730
  planId?: string;
805
731
  monthlyNet?: string | null;
806
732
  yearlyNet?: string | null;
@@ -817,11 +743,9 @@ declare class UpdateBundleVersionDraftDto {
817
743
  features?: string[];
818
744
  quotas?: Record<string, number>;
819
745
  compatibility?: {
820
- businessTypeKeys?: string[];
821
746
  planIds?: string[];
822
747
  };
823
748
  pricingOverrides?: Array<{
824
- businessTypeKey?: string;
825
749
  planId?: string;
826
750
  monthlyNet?: string | null;
827
751
  yearlyNet?: string | null;
@@ -850,45 +774,6 @@ declare class PublishBundleVersionDto {
850
774
  validUntil?: string | null;
851
775
  }
852
776
 
853
- declare class CreateBusinessTypeDto {
854
- projectKey: string;
855
- businessTypeKey: string;
856
- label: string;
857
- description?: string;
858
- icon?: string;
859
- sortOrder?: number;
860
- }
861
- declare class UpdateBusinessTypeDto {
862
- label?: string;
863
- description?: string | null;
864
- icon?: string | null;
865
- sortOrder?: number;
866
- }
867
- declare class BusinessTypeBundleInputDto {
868
- bundleVersionId: string;
869
- sortOrder?: number;
870
- }
871
- declare class CreateBusinessTypeVersionDraftDto {
872
- bundles: BusinessTypeBundleInputDto[];
873
- quotaOverrides?: Record<string, number>;
874
- monthlyNet?: string | null;
875
- yearlyNet?: string | null;
876
- marketed?: boolean;
877
- changeNote?: string;
878
- baseVersionId?: string | null;
879
- }
880
- declare class UpdateBusinessTypeVersionDraftDto {
881
- bundles?: BusinessTypeBundleInputDto[];
882
- quotaOverrides?: Record<string, number>;
883
- monthlyNet?: string | null;
884
- yearlyNet?: string | null;
885
- marketed?: boolean;
886
- changeNote?: string;
887
- }
888
- declare class PublishBusinessTypeVersionDto {
889
- forceRegressive?: boolean;
890
- }
891
-
892
777
  declare class MarketingTopFeatureDto {
893
778
  /** Optional feature/quota key reference (auto-translation of the label). */
894
779
  key?: string;
@@ -899,7 +784,7 @@ declare class MarketingTopFeatureDto {
899
784
  }
900
785
  declare class CreateMarketingProjectionDto {
901
786
  projectKey: string;
902
- targetType: 'PLAN' | 'BUNDLE' | 'BUSINESS_TYPE';
787
+ targetType: 'PLAN' | 'BUNDLE';
903
788
  targetVersionId: string;
904
789
  locale?: string;
905
790
  displayLabel: string;
@@ -929,7 +814,7 @@ declare class UpdateMarketingProjectionDto {
929
814
  }
930
815
  declare class ListMarketingProjectionsQueryDto {
931
816
  projectKey: string;
932
- targetType?: 'PLAN' | 'BUNDLE' | 'BUSINESS_TYPE';
817
+ targetType?: 'PLAN' | 'BUNDLE';
933
818
  targetVersionId?: string;
934
819
  locale?: string;
935
820
  }
@@ -1070,4 +955,4 @@ declare class PublishPlanVersionDto {
1070
955
  validUntil?: string | null;
1071
956
  }
1072
957
 
1073
- export { ADVISORY_STRICT_MODE_CODES, BUNDLE_REPOSITORY_TOKEN, BUSINESS_TYPE_REPOSITORY_TOKEN, BundlesService, BusinessTypeBundleInputDto, BusinessTypesService, CATALOG_ENTRY_REPOSITORY_TOKEN, CATALOG_SERVICE_CONFIG_TOKEN, type CatalogControllerConfig, CatalogEntriesService, CatalogModule, type CatalogModuleOptions, type CatalogServiceConfig, CreateBundleDto, CreateBundleVersionDraftDto, CreateBusinessTypeDto, CreateBusinessTypeVersionDraftDto, 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, type PreflightFinding, type PreflightInput, type PreflightReport, PromotionsService, PublicMarketingCatalogService, PublishBundleVersionDto, PublishBusinessTypeVersionDto, PublishPlanVersionDto, ReviewCatalogEntryDto, type SeedBundleDraft, type SeedGateFinding, type SeedGateInput, type SeedGateMode, type SeedGateReport, type SeedGateRunOptions, type SeedPlanDraft, SyncDiscoveryDto, UpdateBundleDto, UpdateBundleVersionDraftDto, UpdateBusinessTypeDto, UpdateBusinessTypeVersionDraftDto, UpdateCatalogEntryI18nDto, UpdateMarketingProjectionDto, UpdateMarketingSettingsDto, UpdatePlanDto, UpdatePlanVersionDraftDto, UpdatePromotionDto, blockingStrictModeWarnings, buildBundleVersionsController, buildBundlesController, buildBusinessTypeVersionsController, buildBusinessTypesController, buildCatalogEntriesController, buildMarketingProjectionsController, buildMarketingSettingsController, buildPlanVersionsController, buildPlansController, buildPromotionsController, buildPublicMarketingCatalogController, featureApprovalSignature, formatPreflightReport, formatSeedGateReport, loadApprovedCatalogKeys, preflightExitCode, quotaApprovalSignature, runPreflight, runSeedGateFromFile, seedGateExitCode, validateBundleDraft, validateBusinessTypeDraft, validatePlanDraft, validateSeedAgainstSnapshot };
958
+ export { ADVISORY_STRICT_MODE_CODES, BUNDLE_REPOSITORY_TOKEN, BundlesService, CATALOG_ENTRY_REPOSITORY_TOKEN, CATALOG_SERVICE_CONFIG_TOKEN, type CatalogControllerConfig, CatalogEntriesService, CatalogModule, type CatalogModuleOptions, type 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, type PreflightFinding, type PreflightInput, type PreflightReport, PromotionsService, PublicMarketingCatalogService, PublishBundleVersionDto, PublishPlanVersionDto, ReviewCatalogEntryDto, type SeedBundleDraft, type SeedGateFinding, type SeedGateInput, type SeedGateMode, type SeedGateReport, type SeedGateRunOptions, type 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 };
@@ -1,14 +1,10 @@
1
1
  import {
2
2
  ADVISORY_STRICT_MODE_CODES,
3
3
  BundlesService,
4
- BusinessTypeBundleInputDto,
5
- BusinessTypesService,
6
4
  CatalogEntriesService,
7
5
  CatalogModule,
8
6
  CreateBundleDto,
9
7
  CreateBundleVersionDraftDto,
10
- CreateBusinessTypeDto,
11
- CreateBusinessTypeVersionDraftDto,
12
8
  CreateMarketingProjectionDto,
13
9
  CreatePlanDto,
14
10
  CreatePlanVersionDraftDto,
@@ -24,14 +20,11 @@ import {
24
20
  PromotionsService,
25
21
  PublicMarketingCatalogService,
26
22
  PublishBundleVersionDto,
27
- PublishBusinessTypeVersionDto,
28
23
  PublishPlanVersionDto,
29
24
  ReviewCatalogEntryDto,
30
25
  SyncDiscoveryDto,
31
26
  UpdateBundleDto,
32
27
  UpdateBundleVersionDraftDto,
33
- UpdateBusinessTypeDto,
34
- UpdateBusinessTypeVersionDraftDto,
35
28
  UpdateCatalogEntryI18nDto,
36
29
  UpdateMarketingProjectionDto,
37
30
  UpdateMarketingSettingsDto,
@@ -41,8 +34,6 @@ import {
41
34
  blockingStrictModeWarnings,
42
35
  buildBundleVersionsController,
43
36
  buildBundlesController,
44
- buildBusinessTypeVersionsController,
45
- buildBusinessTypesController,
46
37
  buildCatalogEntriesController,
47
38
  buildMarketingProjectionsController,
48
39
  buildMarketingSettingsController,
@@ -60,43 +51,36 @@ import {
60
51
  runSeedGateFromFile,
61
52
  seedGateExitCode,
62
53
  validateBundleDraft,
63
- validateBusinessTypeDraft,
64
54
  validatePlanDraft,
65
55
  validateSeedAgainstSnapshot
66
- } from "../chunk-V7HUZ6UQ.js";
56
+ } from "../chunk-5DDCSGZC.js";
67
57
  import "../chunk-WPUVJRIN.js";
68
58
  import "../chunk-ABB2CRAS.js";
69
59
  import "../chunk-E56W4U2P.js";
70
60
  import "../chunk-M6CZQYPY.js";
71
- import "../chunk-7MLGHWKO.js";
61
+ import "../chunk-WKVBNTYC.js";
72
62
  import {
73
63
  BUNDLE_REPOSITORY_TOKEN,
74
- BUSINESS_TYPE_REPOSITORY_TOKEN,
75
64
  CATALOG_ENTRY_REPOSITORY_TOKEN,
76
65
  CATALOG_SERVICE_CONFIG_TOKEN,
77
66
  MARKETING_PROJECTION_REPOSITORY_TOKEN,
78
67
  MARKETING_SETTINGS_REPOSITORY_TOKEN,
79
68
  PLAN_REPOSITORY_TOKEN,
80
69
  PROMOTION_REPOSITORY_TOKEN
81
- } from "../chunk-XCZ3TTFK.js";
70
+ } from "../chunk-N3WANKSA.js";
82
71
  import "../chunk-SABTXESR.js";
83
72
  import "../chunk-L4SUWH5B.js";
84
73
  import "../chunk-SHUYVCID.js";
85
74
  export {
86
75
  ADVISORY_STRICT_MODE_CODES,
87
76
  BUNDLE_REPOSITORY_TOKEN,
88
- BUSINESS_TYPE_REPOSITORY_TOKEN,
89
77
  BundlesService,
90
- BusinessTypeBundleInputDto,
91
- BusinessTypesService,
92
78
  CATALOG_ENTRY_REPOSITORY_TOKEN,
93
79
  CATALOG_SERVICE_CONFIG_TOKEN,
94
80
  CatalogEntriesService,
95
81
  CatalogModule,
96
82
  CreateBundleDto,
97
83
  CreateBundleVersionDraftDto,
98
- CreateBusinessTypeDto,
99
- CreateBusinessTypeVersionDraftDto,
100
84
  CreateMarketingProjectionDto,
101
85
  CreatePlanDto,
102
86
  CreatePlanVersionDraftDto,
@@ -116,14 +100,11 @@ export {
116
100
  PromotionsService,
117
101
  PublicMarketingCatalogService,
118
102
  PublishBundleVersionDto,
119
- PublishBusinessTypeVersionDto,
120
103
  PublishPlanVersionDto,
121
104
  ReviewCatalogEntryDto,
122
105
  SyncDiscoveryDto,
123
106
  UpdateBundleDto,
124
107
  UpdateBundleVersionDraftDto,
125
- UpdateBusinessTypeDto,
126
- UpdateBusinessTypeVersionDraftDto,
127
108
  UpdateCatalogEntryI18nDto,
128
109
  UpdateMarketingProjectionDto,
129
110
  UpdateMarketingSettingsDto,
@@ -133,8 +114,6 @@ export {
133
114
  blockingStrictModeWarnings,
134
115
  buildBundleVersionsController,
135
116
  buildBundlesController,
136
- buildBusinessTypeVersionsController,
137
- buildBusinessTypesController,
138
117
  buildCatalogEntriesController,
139
118
  buildMarketingProjectionsController,
140
119
  buildMarketingSettingsController,
@@ -152,7 +131,6 @@ export {
152
131
  runSeedGateFromFile,
153
132
  seedGateExitCode,
154
133
  validateBundleDraft,
155
- validateBusinessTypeDraft,
156
134
  validatePlanDraft,
157
135
  validateSeedAgainstSnapshot
158
136
  };
@@ -5,9 +5,9 @@ import {
5
5
  CreateCheckoutOfferDto,
6
6
  UpdateCheckoutOfferDto,
7
7
  buildCheckoutOfferController
8
- } from "../chunk-SYEVGPFC.js";
8
+ } from "../chunk-K3OPNVFR.js";
9
9
  import "../chunk-MDIZUVIK.js";
10
- import "../chunk-XCZ3TTFK.js";
10
+ import "../chunk-N3WANKSA.js";
11
11
  import "../chunk-SABTXESR.js";
12
12
  import "../chunk-SHUYVCID.js";
13
13
  export {
@@ -8,7 +8,7 @@ import {
8
8
  PROMO_SUBSCRIPTION_LOOKUP_TOKEN,
9
9
  PROMO_TRANSACTION_RUNNER_TOKEN,
10
10
  PromoCodesService
11
- } from "./chunk-ZL4LLE2Z.js";
11
+ } from "./chunk-ZLUGQE5D.js";
12
12
  import {
13
13
  asProvider
14
14
  } from "./chunk-SABTXESR.js";