@carbonbox/domain 0.2.2 → 0.2.4
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/build/carbonbox/activity-data-collection/collection-fields/domain/value-objects/CollectionFieldCollectionType.js +1 -1
- package/build/carbonbox/activity-data-collection/collection-fields/domain/value-objects/CollectionFieldDataType.js +3 -3
- package/build/carbonbox/activity-data-collection/collection-fields/domain/value-objects/CollectionFieldDefaultValue.js +2 -2
- package/build/carbonbox/activity-data-collection/conditional-logic/domain/value-objects/ConditionalFieldRuleAction.js +20 -16
- package/build/carbonbox/activity-data-collection/conditional-logic/domain/value-objects/ConditionalFieldRuleTriggerValue.js +14 -10
- package/build/carbonbox/activity-data-collection/contextual-labels/domain/value-objects/ContextualLabelLabelMappings.js +7 -7
- package/build/carbonbox/activity-data-collection/contextual-labels/domain/value-objects/ContextualLabelPlaceholderMappings.js +6 -6
- package/build/carbonbox/activity-data-collection/stakeholder-adaptations/domain/value-objects/StakeholderAdaptationFootprintType.js +1 -1
- package/build/carbonbox/activity-data-collection/stakeholder-adaptations/domain/value-objects/StakeholderAdaptationStakeholderType.js +1 -1
- package/build/carbonbox/emission-calculation-process/calculation-processes/domain/entity/CalculationProcess.js +2 -1
- package/build/carbonbox/purchase-management-system/service-catalog/domain/entity/IServiceCatalog.js +2 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/entity/ServiceCatalog.js +263 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceCatalogCategory.js +20 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceCatalogStatus.js +9 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceCatalogType.js +10 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCatalogCategoryError.js +19 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCatalogStatusError.js +19 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCatalogTypeError.js +19 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/repository/IServiceCatalogRepository.js +2 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/types/ServiceCatalogPrimitives.js +2 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/types/ServiceCatalogProps.js +2 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogAdditionalUserRoles.js +131 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogAllowsDocumentReading.js +22 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogAllowsSectoralComparison.js +22 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogBasePricePercentage.js +140 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogCategory.js +247 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogCode.js +24 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogCreatedByStakeholder.js +26 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogDependsOnServiceCode.js +21 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogDescription.js +23 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogExpertDedicationLevel.js +212 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogFixedPriceAmount.js +193 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogHasBasePrice.js +22 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogHasFixedPrice.js +22 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogId.js +24 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogIncludesCarbonBoxAcademy.js +22 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogIncludesESGIndicators.js +22 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogIsAvailableForCorporate.js +22 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogIsAvailableForEvent.js +22 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogIsAvailableForProduct.js +22 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogIsRequiredService.js +22 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogMaxUsers.js +246 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogName.js +23 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogReportTypes.js +246 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogStatus.js +221 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogType.js +235 -0
- package/build/carbonbox/purchase-management-system/service-pricing/domain/value-objects/ServicePricingService.js +2 -2
- package/build/carbonbox/shared/domain/types/ServiceCatalogReference.js +2 -0
- package/build/carbonbox/shared/domain/types/ServiceCatalogReferencePrimitives.js +2 -0
- package/build/carbonbox/shared/domain/value-objects/ServiceCatalogReference.js +301 -0
- package/build/carbonbox/shared/domain/value-objects/ServiceReference.js +75 -75
- package/build/main/index.js +43 -37
- package/build/types/carbonbox/activity-data-collection/collection-fields/domain/value-objects/CollectionFieldDataType.d.ts +1 -1
- package/build/types/carbonbox/activity-data-collection/collection-fields/domain/value-objects/CollectionFieldDataType.d.ts.map +1 -1
- package/build/types/carbonbox/activity-data-collection/collection-fields/domain/value-objects/CollectionFieldDefaultValue.d.ts +1 -1
- package/build/types/carbonbox/activity-data-collection/collection-fields/domain/value-objects/CollectionFieldDefaultValue.d.ts.map +1 -1
- package/build/types/carbonbox/activity-data-collection/conditional-logic/domain/value-objects/ConditionalFieldRuleAction.d.ts +1 -4
- package/build/types/carbonbox/activity-data-collection/conditional-logic/domain/value-objects/ConditionalFieldRuleAction.d.ts.map +1 -1
- package/build/types/carbonbox/activity-data-collection/conditional-logic/domain/value-objects/ConditionalFieldRuleTriggerValue.d.ts +2 -5
- package/build/types/carbonbox/activity-data-collection/conditional-logic/domain/value-objects/ConditionalFieldRuleTriggerValue.d.ts.map +1 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/entity/IServiceCatalog.d.ts +52 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/entity/IServiceCatalog.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/entity/ServiceCatalog.d.ts +60 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/entity/ServiceCatalog.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceCatalogCategory.d.ts +17 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceCatalogCategory.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceCatalogStatus.d.ts +6 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceCatalogStatus.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceCatalogType.d.ts +7 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceCatalogType.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCatalogCategoryError.d.ts +8 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCatalogCategoryError.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCatalogStatusError.d.ts +8 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCatalogStatusError.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCatalogTypeError.d.ts +8 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCatalogTypeError.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/repository/IServiceCatalogRepository.d.ts +22 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/repository/IServiceCatalogRepository.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/repository/IServiceRepository.d.ts +19 -19
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/repository/IServiceRepository.d.ts.map +1 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/types/ServiceCatalogPrimitives.d.ts +35 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/types/ServiceCatalogPrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/types/ServiceCatalogProps.d.ts +35 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/types/ServiceCatalogProps.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogAdditionalUserRoles.d.ts +71 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogAdditionalUserRoles.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogAllowsDocumentReading.d.ts +9 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogAllowsDocumentReading.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogAllowsSectoralComparison.d.ts +9 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogAllowsSectoralComparison.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogBasePricePercentage.d.ts +54 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogBasePricePercentage.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogCategory.d.ts +120 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogCategory.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogCode.d.ts +9 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogCode.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogCreatedByStakeholder.d.ts +11 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogCreatedByStakeholder.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogDependsOnServiceCode.d.ts +9 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogDependsOnServiceCode.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogDescription.d.ts +9 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogDescription.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogExpertDedicationLevel.d.ts +92 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogExpertDedicationLevel.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogFixedPriceAmount.d.ts +83 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogFixedPriceAmount.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogHasBasePrice.d.ts +9 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogHasBasePrice.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogHasFixedPrice.d.ts +9 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogHasFixedPrice.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogId.d.ts +9 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogId.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogIncludesCarbonBoxAcademy.d.ts +9 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogIncludesCarbonBoxAcademy.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogIncludesESGIndicators.d.ts +9 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogIncludesESGIndicators.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogIsAvailableForCorporate.d.ts +9 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogIsAvailableForCorporate.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogIsAvailableForEvent.d.ts +9 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogIsAvailableForEvent.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogIsAvailableForProduct.d.ts +9 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogIsAvailableForProduct.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogIsRequiredService.d.ts +9 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogIsRequiredService.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogMaxUsers.d.ts +99 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogMaxUsers.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogName.d.ts +9 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogName.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogReportTypes.d.ts +119 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogReportTypes.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogStatus.d.ts +110 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogStatus.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogType.d.ts +111 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogType.d.ts.map +1 -0
- package/build/types/carbonbox/purchase-management-system/service-pricing/domain/types/ServicePricingPrimitives.d.ts +2 -2
- package/build/types/carbonbox/purchase-management-system/service-pricing/domain/types/ServicePricingPrimitives.d.ts.map +1 -1
- package/build/types/carbonbox/purchase-management-system/service-pricing/domain/types/ServicePricingProps.d.ts +2 -2
- package/build/types/carbonbox/purchase-management-system/service-pricing/domain/types/ServicePricingProps.d.ts.map +1 -1
- package/build/types/carbonbox/purchase-management-system/service-pricing/domain/value-objects/ServicePricingService.d.ts +7 -7
- package/build/types/carbonbox/purchase-management-system/service-pricing/domain/value-objects/ServicePricingService.d.ts.map +1 -1
- package/build/types/carbonbox/shared/domain/types/ServiceCatalogReference.d.ts +8 -0
- package/build/types/carbonbox/shared/domain/types/ServiceCatalogReference.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/types/ServiceCatalogReferencePrimitives.d.ts +8 -0
- package/build/types/carbonbox/shared/domain/types/ServiceCatalogReferencePrimitives.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/ServiceCatalogReference.d.ts +134 -0
- package/build/types/carbonbox/shared/domain/value-objects/ServiceCatalogReference.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/ServiceReference.d.ts +18 -18
- package/build/types/carbonbox/shared/domain/value-objects/ServiceReference.d.ts.map +1 -1
- package/build/types/main/index.d.ts +24 -21
- package/build/types/main/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { String } from '../../../../shared/domain/value-objects/String';
|
|
2
|
+
import { ServiceCatalogType as ServiceCatalogTypeEnum } from '../enums/ServiceCatalogType';
|
|
3
|
+
export declare class ServiceCatalogType extends String {
|
|
4
|
+
private static readonly PROPERTY_NAME;
|
|
5
|
+
private static readonly VALID_SERVICE_TYPES;
|
|
6
|
+
private constructor();
|
|
7
|
+
static create(value: string): ServiceCatalogType;
|
|
8
|
+
static fromPrimitives(primitive: string): ServiceCatalogType;
|
|
9
|
+
/**
|
|
10
|
+
* Valida que el valor sea un tipo de servicio válido.
|
|
11
|
+
*/
|
|
12
|
+
private validateServiceCatalogType;
|
|
13
|
+
/**
|
|
14
|
+
* Verifica si es un servicio base.
|
|
15
|
+
*/
|
|
16
|
+
isBaseService(): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Verifica si es un servicio adicional.
|
|
19
|
+
*/
|
|
20
|
+
isAdditionalService(): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Verifica si es una característica de plataforma.
|
|
23
|
+
*/
|
|
24
|
+
isPlatformFeature(): boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Verifica si es un servicio dependiente.
|
|
27
|
+
*/
|
|
28
|
+
isDependentService(): boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Verifica si es un servicio principal (base o adicional).
|
|
31
|
+
*/
|
|
32
|
+
isPrincipalService(): boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Verifica si es un servicio que requiere dependencias.
|
|
35
|
+
*/
|
|
36
|
+
requiresDependencies(): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Verifica si es un servicio que genera ingresos directos.
|
|
39
|
+
*/
|
|
40
|
+
generatesDirectRevenue(): boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Verifica si es un servicio que mejora la propuesta de valor.
|
|
43
|
+
*/
|
|
44
|
+
enhancesValueProposition(): boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Verifica si puede ser contratado independientemente.
|
|
47
|
+
*/
|
|
48
|
+
canBeContractedIndependently(): boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Verifica si puede ser incluido en paquetes.
|
|
51
|
+
*/
|
|
52
|
+
canBeIncludedInPackages(): boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Verifica si requiere configuración especial.
|
|
55
|
+
*/
|
|
56
|
+
requiresSpecialConfiguration(): boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Obtiene los tipos de servicio válidos.
|
|
59
|
+
*/
|
|
60
|
+
static getValidServiceCatalogTypes(): readonly ServiceCatalogTypeEnum[];
|
|
61
|
+
/**
|
|
62
|
+
* Verifica si un valor es un tipo de servicio válido.
|
|
63
|
+
*/
|
|
64
|
+
static isValidServiceCatalogType(value: string): boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Obtiene la descripción del tipo de servicio.
|
|
67
|
+
*/
|
|
68
|
+
getDescription(): string;
|
|
69
|
+
/**
|
|
70
|
+
* Obtiene el modelo de negocio del tipo de servicio.
|
|
71
|
+
*/
|
|
72
|
+
getBusinessModel(): string;
|
|
73
|
+
/**
|
|
74
|
+
* Obtiene la estrategia de precio del tipo de servicio.
|
|
75
|
+
*/
|
|
76
|
+
getPricingStrategy(): string;
|
|
77
|
+
/**
|
|
78
|
+
* Obtiene el nivel de prioridad comercial.
|
|
79
|
+
*/
|
|
80
|
+
getCommercialPriority(): 'high' | 'medium' | 'low';
|
|
81
|
+
/**
|
|
82
|
+
* Obtiene las características del tipo de servicio.
|
|
83
|
+
*/
|
|
84
|
+
getCharacteristics(): {
|
|
85
|
+
isPrincipal: boolean;
|
|
86
|
+
requiresDependencies: boolean;
|
|
87
|
+
generatesDirectRevenue: boolean;
|
|
88
|
+
enhancesValueProposition: boolean;
|
|
89
|
+
canBeContractedIndependently: boolean;
|
|
90
|
+
canBeIncludedInPackages: boolean;
|
|
91
|
+
requiresSpecialConfiguration: boolean;
|
|
92
|
+
commercialPriority: string;
|
|
93
|
+
businessModel: string;
|
|
94
|
+
pricingStrategy: string;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Obtiene los tipos de servicio compatibles para bundling.
|
|
98
|
+
*/
|
|
99
|
+
getCompatibleTypesForBundling(): ServiceCatalogTypeEnum[];
|
|
100
|
+
/**
|
|
101
|
+
* Verifica si puede ser bundled con otro tipo de servicio.
|
|
102
|
+
*/
|
|
103
|
+
canBeBundledWith(otherType: ServiceCatalogTypeEnum): boolean;
|
|
104
|
+
toPrimitives(): string;
|
|
105
|
+
toEnum(): ServiceCatalogTypeEnum;
|
|
106
|
+
/**
|
|
107
|
+
* Representación como string descriptiva.
|
|
108
|
+
*/
|
|
109
|
+
toString(): string;
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=ServiceCatalogType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ServiceCatalogType.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gDAAgD,CAAC;AACxE,OAAO,EAAE,kBAAkB,IAAI,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAG3F,qBAAa,kBACX,SAAQ,MAAM;IACd,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAU;IAG/C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,mBAAmB,CAAmE;IAE9G,OAAO;WAQgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,kBAAkB;WAOzC,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,kBAAkB;IAM5E;;OAEG;IACH,OAAO,CAAC,0BAA0B;IASlC;;OAEG;IACI,aAAa,IAAI,OAAO;IAI/B;;OAEG;IACI,mBAAmB,IAAI,OAAO;IAIrC;;OAEG;IACI,iBAAiB,IAAI,OAAO;IAInC;;OAEG;IACI,kBAAkB,IAAI,OAAO;IAIpC;;OAEG;IACI,kBAAkB,IAAI,OAAO;IAIpC;;OAEG;IACI,oBAAoB,IAAI,OAAO;IAItC;;OAEG;IACI,sBAAsB,IAAI,OAAO;IAKxC;;OAEG;IACI,wBAAwB,IAAI,OAAO;IAK1C;;OAEG;IACI,4BAA4B,IAAI,OAAO;IAK9C;;OAEG;IACI,uBAAuB,IAAI,OAAO;IAKzC;;OAEG;IACI,4BAA4B,IAAI,OAAO;IAK9C;;OAEG;WACW,2BAA2B,IAAI,SAAS,sBAAsB,EAAE;IAI9E;;OAEG;WACW,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;IAI/D;;OAEG;IACI,cAAc,IAAI,MAAM;IAW/B;;OAEG;IACI,gBAAgB,IAAI,MAAM;IAWjC;;OAEG;IACI,kBAAkB,IAAI,MAAM;IAWnC;;OAEG;IACI,qBAAqB,IAAI,MAAM,GAAG,QAAQ,GAAG,KAAK;IAWzD;;OAEG;IACI,kBAAkB,IAAI;QAC3B,WAAW,EAAE,OAAO,CAAC;QACrB,oBAAoB,EAAE,OAAO,CAAC;QAC9B,sBAAsB,EAAE,OAAO,CAAC;QAChC,wBAAwB,EAAE,OAAO,CAAC;QAClC,4BAA4B,EAAE,OAAO,CAAC;QACtC,uBAAuB,EAAE,OAAO,CAAC;QACjC,4BAA4B,EAAE,OAAO,CAAC;QACtC,kBAAkB,EAAE,MAAM,CAAC;QAC3B,aAAa,EAAE,MAAM,CAAC;QACtB,eAAe,EAAE,MAAM,CAAC;KACzB;IAeD;;OAEG;IACI,6BAA6B,IAAI,sBAAsB,EAAE;IA2BhE;;OAEG;IACI,gBAAgB,CAAC,SAAS,EAAE,sBAAsB,GAAG,OAAO;IAInD,YAAY,IAAI,MAAM;IAI/B,MAAM,IAAI,sBAAsB;IAIvC;;OAEG;IACa,QAAQ,IAAI,MAAM;CAUnC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Currency } from '../../../../shared/domain/enums/Currency';
|
|
2
2
|
import { AggregateRootPrimitives } from '../../../../shared/domain/types/AggregateRootPrimitives';
|
|
3
|
-
import {
|
|
3
|
+
import { ServiceCatalogReferencePrimitives } from '../../../../shared/domain/types/ServiceCatalogReferencePrimitives';
|
|
4
4
|
import { StakeholderReferencePrimitives } from '../../../../shared/domain/types/StakeholderReferencePrimitives';
|
|
5
5
|
import { PricingModel } from '../enums/PricingModel';
|
|
6
6
|
import { PricingStatus } from '../enums/PricingStatus';
|
|
7
7
|
import { PricingTier } from './PricingTier';
|
|
8
8
|
import { SectorPricing } from './SectorPricing';
|
|
9
9
|
export type ServicePricingPrimitives = AggregateRootPrimitives & {
|
|
10
|
-
service:
|
|
10
|
+
service: ServiceCatalogReferencePrimitives;
|
|
11
11
|
pricingModel: PricingModel;
|
|
12
12
|
pricingStatus: PricingStatus;
|
|
13
13
|
currency: Currency;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServicePricingPrimitives.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-pricing/domain/types/ServicePricingPrimitives.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0CAA0C,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAClG,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ServicePricingPrimitives.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-pricing/domain/types/ServicePricingPrimitives.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0CAA0C,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAClG,OAAO,EAAE,iCAAiC,EAAE,MAAM,mEAAmE,CAAC;AACtH,OAAO,EAAE,8BAA8B,EAAE,MAAM,gEAAgE,CAAC;AAChH,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,MAAM,wBAAwB,GAAG,uBAAuB,GAAG;IAC/D,OAAO,EAAE,iCAAiC,CAAC;IAC3C,YAAY,EAAE,YAAY,CAAC;IAC3B,aAAa,EAAE,aAAa,CAAC;IAC7B,QAAQ,EAAE,QAAQ,CAAC;IAGnB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,2BAA2B,EAAE,aAAa,EAAE,CAAC;IAC7C,qBAAqB,EAAE,OAAO,CAAC;IAG/B,0BAA0B,EAAE,WAAW,EAAE,CAAC;IAC1C,2BAA2B,EAAE,OAAO,CAAC;IAGrC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,eAAe,EAAE,OAAO,CAAC;IACzB,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,6BAA6B,EAAE,MAAM,GAAG,IAAI,CAAC;IAG7C,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAG3B,oBAAoB,EAAE,8BAA8B,CAAC;IAGrD,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Currency } from '../../../../shared/domain/enums/Currency';
|
|
2
2
|
import { AggregateRootProps } from '../../../../shared/domain/types/AggregateRootProps';
|
|
3
|
-
import {
|
|
3
|
+
import { ServiceCatalogReference } from '../../../../shared/domain/types/ServiceCatalogReference';
|
|
4
4
|
import { StakeholderReference } from '../../../../shared/domain/types/StakeholderReference';
|
|
5
5
|
import { PricingModel } from '../enums/PricingModel';
|
|
6
6
|
import { PricingStatus } from '../enums/PricingStatus';
|
|
7
7
|
import { PricingTier } from './PricingTier';
|
|
8
8
|
import { SectorPricing } from './SectorPricing';
|
|
9
9
|
export type ServicePricingProps = AggregateRootProps & {
|
|
10
|
-
service:
|
|
10
|
+
service: ServiceCatalogReference;
|
|
11
11
|
pricingModel: PricingModel;
|
|
12
12
|
pricingStatus: PricingStatus;
|
|
13
13
|
currency: Currency;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServicePricingProps.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-pricing/domain/types/ServicePricingProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0CAA0C,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ServicePricingProps.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-pricing/domain/types/ServicePricingProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0CAA0C,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAClG,OAAO,EAAE,oBAAoB,EAAE,MAAM,sDAAsD,CAAC;AAC5F,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,GAAG;IACrD,OAAO,EAAE,uBAAuB,CAAC;IACjC,YAAY,EAAE,YAAY,CAAC;IAC3B,aAAa,EAAE,aAAa,CAAC;IAC7B,QAAQ,EAAE,QAAQ,CAAC;IAGnB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,2BAA2B,EAAE,aAAa,EAAE,CAAC;IAC7C,qBAAqB,EAAE,OAAO,CAAC;IAG/B,0BAA0B,EAAE,WAAW,EAAE,CAAC;IAC1C,2BAA2B,EAAE,OAAO,CAAC;IAGrC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,eAAe,EAAE,OAAO,CAAC;IACzB,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,6BAA6B,EAAE,MAAM,GAAG,IAAI,CAAC;IAG7C,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAG3B,oBAAoB,EAAE,oBAAoB,CAAC;IAG3C,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export declare class ServicePricingService extends
|
|
1
|
+
import { ServiceCatalogReference } from '../../../../shared/domain/types/ServiceCatalogReference';
|
|
2
|
+
import { ServiceCatalogReferencePrimitives } from '../../../../shared/domain/types/ServiceCatalogReferencePrimitives';
|
|
3
|
+
import { ServiceCatalogReference as ServiceCatalogReferenceVO } from '../../../../shared/domain/value-objects/ServiceCatalogReference';
|
|
4
|
+
export declare class ServicePricingService extends ServiceCatalogReferenceVO {
|
|
5
5
|
private static readonly PROPERTY_NAME;
|
|
6
6
|
private constructor();
|
|
7
|
-
static create(value:
|
|
8
|
-
static fromPrimitives(primitives:
|
|
9
|
-
toPrimitives():
|
|
7
|
+
static create(value: ServiceCatalogReference): ServicePricingService;
|
|
8
|
+
static fromPrimitives(primitives: ServiceCatalogReferencePrimitives): ServicePricingService;
|
|
9
|
+
toPrimitives(): ServiceCatalogReferencePrimitives;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=ServicePricingService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServicePricingService.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-pricing/domain/value-objects/ServicePricingService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ServicePricingService.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-pricing/domain/value-objects/ServicePricingService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAClG,OAAO,EAAE,iCAAiC,EAAE,MAAM,mEAAmE,CAAC;AACtH,OAAO,EAAE,uBAAuB,IAAI,yBAAyB,EAAE,MAAM,iEAAiE,CAAC;AAEvI,qBAAa,qBACX,SAAQ,yBAAyB;IACjC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAa;IAElD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,uBAAuB,GAAG,qBAAqB;WAI7D,cAAc,CAAC,UAAU,EAAE,iCAAiC,GAAG,qBAAqB;IAW3F,YAAY,IAAI,iCAAiC;CAGlE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ServiceCatalogType } from '../../../purchase-management-system/service-catalog/domain/enums/ServiceCatalogType';
|
|
2
|
+
export type ServiceCatalogReference = {
|
|
3
|
+
id: string;
|
|
4
|
+
code: string;
|
|
5
|
+
name: string;
|
|
6
|
+
type: ServiceCatalogType;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=ServiceCatalogReference.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ServiceCatalogReference.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/ServiceCatalogReference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qFAAqF,CAAC;AAEzH,MAAM,MAAM,uBAAuB,GAAG;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,kBAAkB,CAAC;CAC1B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ServiceCatalogType } from '../../../purchase-management-system/service-catalog/domain/enums/ServiceCatalogType';
|
|
2
|
+
export type ServiceCatalogReferencePrimitives = {
|
|
3
|
+
id: string;
|
|
4
|
+
code: string;
|
|
5
|
+
name: string;
|
|
6
|
+
type: ServiceCatalogType;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=ServiceCatalogReferencePrimitives.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ServiceCatalogReferencePrimitives.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/ServiceCatalogReferencePrimitives.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qFAAqF,CAAC;AAEzH,MAAM,MAAM,iCAAiC,GAAG;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,kBAAkB,CAAC;CAC1B,CAAC"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { ServiceCatalogReferencePrimitives } from '../types/ServiceCatalogReferencePrimitives';
|
|
2
|
+
import { ServiceCatalogReference as TServiceCatalogReference } from '../types/ServiceCatalogReference';
|
|
3
|
+
import { ObjectValueObject } from './ObjectValueObject';
|
|
4
|
+
import { ServiceCatalogType } from '../../../purchase-management-system/service-catalog/domain/enums/ServiceCatalogType';
|
|
5
|
+
export declare abstract class ServiceCatalogReference extends ObjectValueObject<ServiceCatalogReferencePrimitives> {
|
|
6
|
+
#private;
|
|
7
|
+
private static readonly DEFAULT_PROPERTY_NAME;
|
|
8
|
+
/**
|
|
9
|
+
* Constructor protegido para que solo clases hijas puedan instanciar.
|
|
10
|
+
* Aplica todas las validaciones de dominio al momento de construcción.
|
|
11
|
+
*/
|
|
12
|
+
protected constructor(value: TServiceCatalogReference, skipDomainValidation: boolean, propertyName?: string);
|
|
13
|
+
/**
|
|
14
|
+
* Validación estática para reutilización en factory methods y constructores.
|
|
15
|
+
*/
|
|
16
|
+
protected static validateServiceCatalogReference(value: TServiceCatalogReference, propertyName: string): void;
|
|
17
|
+
get id(): string;
|
|
18
|
+
/**
|
|
19
|
+
* Código único del servicio (UUID).
|
|
20
|
+
*/
|
|
21
|
+
get code(): string;
|
|
22
|
+
/**
|
|
23
|
+
* Nombre descriptivo del servicio.
|
|
24
|
+
*/
|
|
25
|
+
get name(): string;
|
|
26
|
+
/**
|
|
27
|
+
* Tipo de servicio.
|
|
28
|
+
*/
|
|
29
|
+
get type(): ServiceCatalogType;
|
|
30
|
+
hasId(id: string): boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Verifica si el servicio corresponde a un código específico.
|
|
33
|
+
*/
|
|
34
|
+
hasCode(code: string): boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Verifica si el servicio tiene un nombre específico.
|
|
37
|
+
*/
|
|
38
|
+
hasName(name: string): boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Verifica si el servicio es de un tipo específico.
|
|
41
|
+
*/
|
|
42
|
+
hasType(type: ServiceCatalogType): boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Verifica si es un servicio base.
|
|
45
|
+
*/
|
|
46
|
+
isBaseServiceCatalog(): boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Verifica si es un servicio adicional.
|
|
49
|
+
*/
|
|
50
|
+
isAdditionalServiceCatalog(): boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Verifica si es una característica de plataforma.
|
|
53
|
+
*/
|
|
54
|
+
isPlatformFeature(): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Verifica si es un servicio dependiente.
|
|
57
|
+
*/
|
|
58
|
+
isDependentServiceCatalog(): boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Verifica si es un servicio principal (base o adicional).
|
|
61
|
+
*/
|
|
62
|
+
isPrincipalServiceCatalog(): boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Verifica si requiere dependencias.
|
|
65
|
+
*/
|
|
66
|
+
requiresDependencies(): boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Obtiene una representación legible del servicio.
|
|
69
|
+
*/
|
|
70
|
+
getDisplayName(): string;
|
|
71
|
+
/**
|
|
72
|
+
* Obtiene una representación completa con código y nombre.
|
|
73
|
+
*/
|
|
74
|
+
getFullDisplayName(): string;
|
|
75
|
+
/**
|
|
76
|
+
* Obtiene una representación completa con código, nombre y tipo.
|
|
77
|
+
*/
|
|
78
|
+
getFullDisplayNameWithType(): string;
|
|
79
|
+
/**
|
|
80
|
+
* Obtiene el nombre del tipo de servicio en formato legible.
|
|
81
|
+
*/
|
|
82
|
+
getTypeDisplayName(): string;
|
|
83
|
+
/**
|
|
84
|
+
* Verifica si el nombre del servicio contiene un texto específico.
|
|
85
|
+
* Útil para búsquedas parciales.
|
|
86
|
+
*/
|
|
87
|
+
nameContains(searchText: string): boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Verifica si el servicio coincide con un patrón de búsqueda en código, nombre o tipo.
|
|
90
|
+
* Útil para filtros generales.
|
|
91
|
+
*/
|
|
92
|
+
matches(searchText: string): boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Verifica si el servicio coincide con criterios específicos.
|
|
95
|
+
*/
|
|
96
|
+
matchesCriteria(criteria: {
|
|
97
|
+
code?: string;
|
|
98
|
+
name?: string;
|
|
99
|
+
type?: ServiceCatalogType;
|
|
100
|
+
searchText?: string;
|
|
101
|
+
}): boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Compara la igualdad semántica con otra referencia de servicio.
|
|
104
|
+
* Dos referencias son iguales si tienen el mismo código, nombre y tipo.
|
|
105
|
+
*/
|
|
106
|
+
equals(other: ServiceCatalogReference): boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Compara si dos referencias apuntan al mismo servicio
|
|
109
|
+
* basándose únicamente en el código (identificador único).
|
|
110
|
+
*/
|
|
111
|
+
hasSameServiceCatalog(other: ServiceCatalogReference): boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Verifica si es compatible con otro servicio para bundling.
|
|
114
|
+
*/
|
|
115
|
+
isCompatibleForBundling(other: ServiceCatalogReference): boolean;
|
|
116
|
+
/**
|
|
117
|
+
* Genera un hash code para usar en colecciones.
|
|
118
|
+
* Basado en el código de servicio, nombre y tipo.
|
|
119
|
+
*/
|
|
120
|
+
hashCode(): string;
|
|
121
|
+
/**
|
|
122
|
+
* Convierte a representación primitiva para persistencia.
|
|
123
|
+
*/
|
|
124
|
+
toPrimitives(): ServiceCatalogReferencePrimitives;
|
|
125
|
+
/**
|
|
126
|
+
* Representación como string (nombre del servicio).
|
|
127
|
+
*/
|
|
128
|
+
toString(): string;
|
|
129
|
+
/**
|
|
130
|
+
* Representación JSON para serialización.
|
|
131
|
+
*/
|
|
132
|
+
toJSON(): ServiceCatalogReferencePrimitives;
|
|
133
|
+
}
|
|
134
|
+
//# sourceMappingURL=ServiceCatalogReference.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ServiceCatalogReference.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/value-objects/ServiceCatalogReference.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iCAAiC,EAAE,MAAM,4CAA4C,CAAC;AAC/F,OAAO,EAAE,uBAAuB,IAAI,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAIxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,qFAAqF,CAAC;AAEzH,8BAAsB,uBAAwB,SAAQ,iBAAiB,CAAC,iCAAiC,CAAC;;IACxG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,qBAAqB,CAA6B;IAU1E;;;OAGG;IACH,SAAS,aACP,KAAK,EAAE,wBAAwB,EAC/B,oBAAoB,EAAE,OAAO,EAC7B,YAAY,GAAE,MAAsD;IAoBtE;;OAEG;IACH,SAAS,CAAC,MAAM,CAAC,+BAA+B,CAC9C,KAAK,EAAE,wBAAwB,EAC/B,YAAY,EAAE,MAAM,GACnB,IAAI;IAiEP,IAAW,EAAE,IAAI,MAAM,CAEtB;IAED;;OAEG;IACH,IAAW,IAAI,IAAI,MAAM,CAExB;IAED;;OAEG;IACH,IAAW,IAAI,IAAI,MAAM,CAExB;IAED;;OAEG;IACH,IAAW,IAAI,IAAI,kBAAkB,CAEpC;IAEM,KAAK,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;IAIjC;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAIrC;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAIrC;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO;IAIjD;;OAEG;IACI,oBAAoB,IAAI,OAAO;IAItC;;OAEG;IACI,0BAA0B,IAAI,OAAO;IAI5C;;OAEG;IACI,iBAAiB,IAAI,OAAO;IAInC;;OAEG;IACI,yBAAyB,IAAI,OAAO;IAI3C;;OAEG;IACI,yBAAyB,IAAI,OAAO;IAI3C;;OAEG;IACI,oBAAoB,IAAI,OAAO;IAItC;;OAEG;IACI,cAAc,IAAI,MAAM;IAI/B;;OAEG;IACI,kBAAkB,IAAI,MAAM;IAInC;;OAEG;IACI,0BAA0B,IAAI,MAAM;IAI3C;;OAEG;IACI,kBAAkB,IAAI,MAAM;IAWnC;;;OAGG;IACI,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO;IAIhD;;;OAGG;IACI,OAAO,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO;IAS3C;;OAEG;IACI,eAAe,CAAC,QAAQ,EAAE;QAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,kBAAkB,CAAC;QAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,GAAG,OAAO;IAoBX;;;OAGG;IACI,MAAM,CAAC,KAAK,EAAE,uBAAuB,GAAG,OAAO;IAatD;;;OAGG;IACI,qBAAqB,CAAC,KAAK,EAAE,uBAAuB,GAAG,OAAO;IAQrE;;OAEG;IACI,uBAAuB,CAAC,KAAK,EAAE,uBAAuB,GAAG,OAAO;IA0BvE;;;OAGG;IACI,QAAQ,IAAI,MAAM;IAIzB;;OAEG;IACa,YAAY,IAAI,iCAAiC;IASjE;;OAEG;IACI,QAAQ,IAAI,MAAM;IAIzB;;OAEG;IACI,MAAM,IAAI,iCAAiC;CAGnD"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ServiceCatalogReferencePrimitives } from '../types/ServiceCatalogReferencePrimitives';
|
|
2
|
+
import { ServiceCatalogReference as TServiceCatalogReference } from '../types/ServiceCatalogReference';
|
|
3
3
|
import { ObjectValueObject } from './ObjectValueObject';
|
|
4
|
-
import {
|
|
5
|
-
export declare abstract class
|
|
4
|
+
import { ServiceCatalogType } from '../../../purchase-management-system/service-catalog/domain/enums/ServiceCatalogType';
|
|
5
|
+
export declare abstract class ServiceCatalogReference extends ObjectValueObject<ServiceCatalogReferencePrimitives> {
|
|
6
6
|
#private;
|
|
7
7
|
private static readonly DEFAULT_PROPERTY_NAME;
|
|
8
8
|
/**
|
|
9
9
|
* Constructor protegido para que solo clases hijas puedan instanciar.
|
|
10
10
|
* Aplica todas las validaciones de dominio al momento de construcción.
|
|
11
11
|
*/
|
|
12
|
-
protected constructor(value:
|
|
12
|
+
protected constructor(value: TServiceCatalogReference, skipDomainValidation: boolean, propertyName?: string);
|
|
13
13
|
/**
|
|
14
14
|
* Validación estática para reutilización en factory methods y constructores.
|
|
15
15
|
*/
|
|
16
|
-
protected static
|
|
16
|
+
protected static validateServiceCatalogReference(value: TServiceCatalogReference, propertyName: string): void;
|
|
17
17
|
get id(): string;
|
|
18
18
|
/**
|
|
19
19
|
* Código único del servicio (UUID).
|
|
@@ -26,7 +26,7 @@ export declare abstract class ServiceReference extends ObjectValueObject<Service
|
|
|
26
26
|
/**
|
|
27
27
|
* Tipo de servicio.
|
|
28
28
|
*/
|
|
29
|
-
get type():
|
|
29
|
+
get type(): ServiceCatalogType;
|
|
30
30
|
hasId(id: string): boolean;
|
|
31
31
|
/**
|
|
32
32
|
* Verifica si el servicio corresponde a un código específico.
|
|
@@ -39,15 +39,15 @@ export declare abstract class ServiceReference extends ObjectValueObject<Service
|
|
|
39
39
|
/**
|
|
40
40
|
* Verifica si el servicio es de un tipo específico.
|
|
41
41
|
*/
|
|
42
|
-
hasType(type:
|
|
42
|
+
hasType(type: ServiceCatalogType): boolean;
|
|
43
43
|
/**
|
|
44
44
|
* Verifica si es un servicio base.
|
|
45
45
|
*/
|
|
46
|
-
|
|
46
|
+
isBaseServiceCatalog(): boolean;
|
|
47
47
|
/**
|
|
48
48
|
* Verifica si es un servicio adicional.
|
|
49
49
|
*/
|
|
50
|
-
|
|
50
|
+
isAdditionalServiceCatalog(): boolean;
|
|
51
51
|
/**
|
|
52
52
|
* Verifica si es una característica de plataforma.
|
|
53
53
|
*/
|
|
@@ -55,11 +55,11 @@ export declare abstract class ServiceReference extends ObjectValueObject<Service
|
|
|
55
55
|
/**
|
|
56
56
|
* Verifica si es un servicio dependiente.
|
|
57
57
|
*/
|
|
58
|
-
|
|
58
|
+
isDependentServiceCatalog(): boolean;
|
|
59
59
|
/**
|
|
60
60
|
* Verifica si es un servicio principal (base o adicional).
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
isPrincipalServiceCatalog(): boolean;
|
|
63
63
|
/**
|
|
64
64
|
* Verifica si requiere dependencias.
|
|
65
65
|
*/
|
|
@@ -96,23 +96,23 @@ export declare abstract class ServiceReference extends ObjectValueObject<Service
|
|
|
96
96
|
matchesCriteria(criteria: {
|
|
97
97
|
code?: string;
|
|
98
98
|
name?: string;
|
|
99
|
-
type?:
|
|
99
|
+
type?: ServiceCatalogType;
|
|
100
100
|
searchText?: string;
|
|
101
101
|
}): boolean;
|
|
102
102
|
/**
|
|
103
103
|
* Compara la igualdad semántica con otra referencia de servicio.
|
|
104
104
|
* Dos referencias son iguales si tienen el mismo código, nombre y tipo.
|
|
105
105
|
*/
|
|
106
|
-
equals(other:
|
|
106
|
+
equals(other: ServiceCatalogReference): boolean;
|
|
107
107
|
/**
|
|
108
108
|
* Compara si dos referencias apuntan al mismo servicio
|
|
109
109
|
* basándose únicamente en el código (identificador único).
|
|
110
110
|
*/
|
|
111
|
-
|
|
111
|
+
hasSameServiceCatalog(other: ServiceCatalogReference): boolean;
|
|
112
112
|
/**
|
|
113
113
|
* Verifica si es compatible con otro servicio para bundling.
|
|
114
114
|
*/
|
|
115
|
-
isCompatibleForBundling(other:
|
|
115
|
+
isCompatibleForBundling(other: ServiceCatalogReference): boolean;
|
|
116
116
|
/**
|
|
117
117
|
* Genera un hash code para usar en colecciones.
|
|
118
118
|
* Basado en el código de servicio, nombre y tipo.
|
|
@@ -121,7 +121,7 @@ export declare abstract class ServiceReference extends ObjectValueObject<Service
|
|
|
121
121
|
/**
|
|
122
122
|
* Convierte a representación primitiva para persistencia.
|
|
123
123
|
*/
|
|
124
|
-
toPrimitives():
|
|
124
|
+
toPrimitives(): ServiceCatalogReferencePrimitives;
|
|
125
125
|
/**
|
|
126
126
|
* Representación como string (nombre del servicio).
|
|
127
127
|
*/
|
|
@@ -129,6 +129,6 @@ export declare abstract class ServiceReference extends ObjectValueObject<Service
|
|
|
129
129
|
/**
|
|
130
130
|
* Representación JSON para serialización.
|
|
131
131
|
*/
|
|
132
|
-
toJSON():
|
|
132
|
+
toJSON(): ServiceCatalogReferencePrimitives;
|
|
133
133
|
}
|
|
134
134
|
//# sourceMappingURL=ServiceReference.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceReference.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/value-objects/ServiceReference.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ServiceReference.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/value-objects/ServiceReference.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iCAAiC,EAAE,MAAM,4CAA4C,CAAC;AAC/F,OAAO,EAAE,uBAAuB,IAAI,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAIxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,qFAAqF,CAAC;AAEzH,8BAAsB,uBAAwB,SAAQ,iBAAiB,CAAC,iCAAiC,CAAC;;IACxG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,qBAAqB,CAA6B;IAU1E;;;OAGG;IACH,SAAS,aACP,KAAK,EAAE,wBAAwB,EAC/B,oBAAoB,EAAE,OAAO,EAC7B,YAAY,GAAE,MAAsD;IAoBtE;;OAEG;IACH,SAAS,CAAC,MAAM,CAAC,+BAA+B,CAC9C,KAAK,EAAE,wBAAwB,EAC/B,YAAY,EAAE,MAAM,GACnB,IAAI;IAiEP,IAAW,EAAE,IAAI,MAAM,CAEtB;IAED;;OAEG;IACH,IAAW,IAAI,IAAI,MAAM,CAExB;IAED;;OAEG;IACH,IAAW,IAAI,IAAI,MAAM,CAExB;IAED;;OAEG;IACH,IAAW,IAAI,IAAI,kBAAkB,CAEpC;IAEM,KAAK,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;IAIjC;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAIrC;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAIrC;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO;IAIjD;;OAEG;IACI,oBAAoB,IAAI,OAAO;IAItC;;OAEG;IACI,0BAA0B,IAAI,OAAO;IAI5C;;OAEG;IACI,iBAAiB,IAAI,OAAO;IAInC;;OAEG;IACI,yBAAyB,IAAI,OAAO;IAI3C;;OAEG;IACI,yBAAyB,IAAI,OAAO;IAI3C;;OAEG;IACI,oBAAoB,IAAI,OAAO;IAItC;;OAEG;IACI,cAAc,IAAI,MAAM;IAI/B;;OAEG;IACI,kBAAkB,IAAI,MAAM;IAInC;;OAEG;IACI,0BAA0B,IAAI,MAAM;IAI3C;;OAEG;IACI,kBAAkB,IAAI,MAAM;IAWnC;;;OAGG;IACI,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO;IAIhD;;;OAGG;IACI,OAAO,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO;IAS3C;;OAEG;IACI,eAAe,CAAC,QAAQ,EAAE;QAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,kBAAkB,CAAC;QAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,GAAG,OAAO;IAoBX;;;OAGG;IACI,MAAM,CAAC,KAAK,EAAE,uBAAuB,GAAG,OAAO;IAatD;;;OAGG;IACI,qBAAqB,CAAC,KAAK,EAAE,uBAAuB,GAAG,OAAO;IAQrE;;OAEG;IACI,uBAAuB,CAAC,KAAK,EAAE,uBAAuB,GAAG,OAAO;IA0BvE;;;OAGG;IACI,QAAQ,IAAI,MAAM;IAIzB;;OAEG;IACa,YAAY,IAAI,iCAAiC;IASjE;;OAEG;IACI,QAAQ,IAAI,MAAM;IAIzB;;OAEG;IACI,MAAM,IAAI,iCAAiC;CAGnD"}
|
|
@@ -386,15 +386,15 @@ export type { GHGEmissionResultProps } from '../carbonbox/emission-calculation-r
|
|
|
386
386
|
export { UnknownGreenhouseGasCategoryError } from '../carbonbox/emission-calculation-results/ghg-emission-results/domain/exceptions/UnknownGreenhouseGasCategoryError';
|
|
387
387
|
export type { IPurchaseContract } from '../carbonbox/purchase-management-system/purchase-contracts/domain/entity/IPurchaseContract';
|
|
388
388
|
export type { IPurchaseOrder } from '../carbonbox/purchase-management-system/purchase-orders/domain/entity/IPurchaseOrder';
|
|
389
|
-
export type {
|
|
389
|
+
export type { IServiceCatalog } from '../carbonbox/purchase-management-system/service-catalog/domain/entity/IServiceCatalog';
|
|
390
390
|
export type { IServicePricing } from '../carbonbox/purchase-management-system/service-pricing/domain/entity/IServicePricing';
|
|
391
391
|
export { PurchaseContract } from '../carbonbox/purchase-management-system/purchase-contracts/domain/entity/PurchaseContract';
|
|
392
392
|
export { PurchaseOrder } from '../carbonbox/purchase-management-system/purchase-orders/domain/entity/PurchaseOrder';
|
|
393
|
-
export {
|
|
393
|
+
export { ServiceCatalog } from '../carbonbox/purchase-management-system/service-catalog/domain/entity/ServiceCatalog';
|
|
394
394
|
export { ServicePricing } from '../carbonbox/purchase-management-system/service-pricing/domain/entity/ServicePricing';
|
|
395
395
|
export type { IPurchaseContractRepository } from '../carbonbox/purchase-management-system/purchase-contracts/domain/repository/IPurchaseContractRepository';
|
|
396
396
|
export type { IPurchaseOrderRepository } from '../carbonbox/purchase-management-system/purchase-orders/domain/repository/IPurchaseOrderRepository';
|
|
397
|
-
export type {
|
|
397
|
+
export type { IServiceCatalogRepository } from '../carbonbox/purchase-management-system/service-catalog/domain/repository/IServiceCatalogRepository';
|
|
398
398
|
export type { IServicePricingRepository } from '../carbonbox/purchase-management-system/service-pricing/domain/repository/IServicePricingRepository';
|
|
399
399
|
export { PurchaseContractId } from '../carbonbox/purchase-management-system/purchase-contracts/domain/value-objects/PurchaseContractId';
|
|
400
400
|
export { PurchaseContractCode } from '../carbonbox/purchase-management-system/purchase-contracts/domain/value-objects/PurchaseContractCode';
|
|
@@ -415,13 +415,16 @@ export { PurchaseOrderPaymentMethod } from '../carbonbox/purchase-management-sys
|
|
|
415
415
|
export { PurchaseOrderPaymentStatus } from '../carbonbox/purchase-management-system/purchase-orders/domain/value-objects/PurchaseOrderPaymentStatus';
|
|
416
416
|
export { PurchaseOrderSubtotalAmount } from '../carbonbox/purchase-management-system/purchase-orders/domain/value-objects/PurchaseOrderSubtotalAmount';
|
|
417
417
|
export { PurchaseOrderTotalAmount } from '../carbonbox/purchase-management-system/purchase-orders/domain/value-objects/PurchaseOrderTotalAmount';
|
|
418
|
-
export {
|
|
419
|
-
export {
|
|
420
|
-
export {
|
|
421
|
-
export {
|
|
422
|
-
export {
|
|
423
|
-
export {
|
|
424
|
-
export {
|
|
418
|
+
export { PurchaseOrderCreatedByStakeholder } from '../carbonbox/purchase-management-system/purchase-orders/domain/value-objects/PurchaseOrderCreatedByStakeholder';
|
|
419
|
+
export { PurchaseOrderApprovedByStakeholder } from '../carbonbox/purchase-management-system/purchase-orders/domain/value-objects/PurchaseOrderApprovedByStakeholder';
|
|
420
|
+
export { ServiceCatalogId } from '../carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogId';
|
|
421
|
+
export { ServiceCatalogCode } from '../carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogCode';
|
|
422
|
+
export { ServiceCatalogName } from '../carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogName';
|
|
423
|
+
export { ServiceCatalogDescription } from '../carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogDescription';
|
|
424
|
+
export { ServiceCatalogCategory } from '../carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogCategory';
|
|
425
|
+
export { ServiceCatalogType } from '../carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogType';
|
|
426
|
+
export { ServiceCatalogStatus } from '../carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogStatus';
|
|
427
|
+
export { ServiceCatalogDependsOnServiceCode } from '../carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogDependsOnServiceCode';
|
|
425
428
|
export { ServicePricingId } from '../carbonbox/purchase-management-system/service-pricing/domain/value-objects/ServicePricingId';
|
|
426
429
|
export { ServicePricingService } from '../carbonbox/purchase-management-system/service-pricing/domain/value-objects/ServicePricingService';
|
|
427
430
|
export { ServicePricingPricingModel } from '../carbonbox/purchase-management-system/service-pricing/domain/value-objects/ServicePricingPricingModel';
|
|
@@ -437,9 +440,9 @@ export { PaymentTerms } from '../carbonbox/purchase-management-system/purchase-c
|
|
|
437
440
|
export { OrderStatus } from '../carbonbox/purchase-management-system/purchase-orders/domain/enums/OrderStatus';
|
|
438
441
|
export { PaymentMethod } from '../carbonbox/purchase-management-system/purchase-orders/domain/enums/PaymentMethod';
|
|
439
442
|
export { PaymentStatus } from '../carbonbox/purchase-management-system/purchase-orders/domain/enums/PaymentStatus';
|
|
440
|
-
export {
|
|
441
|
-
export {
|
|
442
|
-
export {
|
|
443
|
+
export { ServiceCatalogCategory as ServiceCatalogCategoryEnum } from '../carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceCatalogCategory';
|
|
444
|
+
export { ServiceCatalogType as ServiceCatalogTypeEnum } from '../carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceCatalogType';
|
|
445
|
+
export { ServiceCatalogStatus as ServiceCatalogStatusEnum } from '../carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceCatalogStatus';
|
|
443
446
|
export { ExpertDedicationLevel } from '../carbonbox/purchase-management-system/service-catalog/domain/enums/ExpertDedicationLevel';
|
|
444
447
|
export { ReportType } from '../carbonbox/purchase-management-system/service-catalog/domain/enums/ReportType';
|
|
445
448
|
export { UserRole } from '../carbonbox/purchase-management-system/service-catalog/domain/enums/UserRole';
|
|
@@ -455,7 +458,7 @@ export type { ContractServicePrimitives } from '../carbonbox/purchase-management
|
|
|
455
458
|
export type { PurchaseOrderPrimitives } from '../carbonbox/purchase-management-system/purchase-orders/domain/types/PurchaseOrderPrimitives';
|
|
456
459
|
export type { PurchaseOrderItem } from '../carbonbox/purchase-management-system/purchase-orders/domain/types/PurchaseOrderItem';
|
|
457
460
|
export type { PurchaseOrderItemPrimitives } from '../carbonbox/purchase-management-system/purchase-orders/domain/types/PurchaseOrderItemPrimitives';
|
|
458
|
-
export type {
|
|
461
|
+
export type { ServiceCatalogPrimitives } from '../carbonbox/purchase-management-system/service-catalog/domain/types/ServiceCatalogPrimitives';
|
|
459
462
|
export type { ServicePricingPrimitives } from '../carbonbox/purchase-management-system/service-pricing/domain/types/ServicePricingPrimitives';
|
|
460
463
|
export type { PricingTier } from '../carbonbox/purchase-management-system/service-pricing/domain/types/PricingTier';
|
|
461
464
|
export type { PricingTierPrimitives } from '../carbonbox/purchase-management-system/service-pricing/domain/types/PricingTierPrimitives';
|
|
@@ -463,7 +466,7 @@ export type { SectorPricing } from '../carbonbox/purchase-management-system/serv
|
|
|
463
466
|
export type { SectorPricingPrimitives } from '../carbonbox/purchase-management-system/service-pricing/domain/types/SectorPricingPrimitives';
|
|
464
467
|
export type { PurchaseContractProps } from '../carbonbox/purchase-management-system/purchase-contracts/domain/types/PurchaseContractProps';
|
|
465
468
|
export type { PurchaseOrderProps } from '../carbonbox/purchase-management-system/purchase-orders/domain/types/PurchaseOrderProps';
|
|
466
|
-
export type {
|
|
469
|
+
export type { ServiceCatalogProps } from '../carbonbox/purchase-management-system/service-catalog/domain/types/ServiceCatalogProps';
|
|
467
470
|
export type { ServicePricingProps } from '../carbonbox/purchase-management-system/service-pricing/domain/types/ServicePricingProps';
|
|
468
471
|
export { InvalidContractStatusError } from '../carbonbox/purchase-management-system/purchase-contracts/domain/exceptions/InvalidContractStatusError';
|
|
469
472
|
export { InvalidContractTypeError } from '../carbonbox/purchase-management-system/purchase-contracts/domain/exceptions/InvalidContractTypeError';
|
|
@@ -484,9 +487,9 @@ export { InvalidTaxAmountFactorError } from '../carbonbox/purchase-management-sy
|
|
|
484
487
|
export { InvalidTotalAmountFactorError } from '../carbonbox/purchase-management-system/purchase-orders/domain/exceptions/InvalidTotalAmountFactorError';
|
|
485
488
|
export { InvalidExpertDedicationLevelError } from '../carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidExpertDedicationLevelError';
|
|
486
489
|
export { InvalidReportTypeError } from '../carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidReportTypeError';
|
|
487
|
-
export {
|
|
488
|
-
export {
|
|
489
|
-
export {
|
|
490
|
+
export { InvalidServiceCatalogCategoryError } from '../carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCatalogCategoryError';
|
|
491
|
+
export { InvalidServiceCatalogStatusError } from '../carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCatalogStatusError';
|
|
492
|
+
export { InvalidServiceCatalogTypeError } from '../carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCatalogTypeError';
|
|
490
493
|
export { InvalidUserRoleError } from '../carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidUserRoleError';
|
|
491
494
|
export { InvalidDiscountPercentageError } from '../carbonbox/purchase-management-system/service-pricing/domain/exceptions/InvalidDiscountPercentageError';
|
|
492
495
|
export { InvalidMarkupPercentageError } from '../carbonbox/purchase-management-system/service-pricing/domain/exceptions/InvalidMarkupPercentageError';
|
|
@@ -595,7 +598,7 @@ export { ProductConfigurationCarbonFootprintSegmentReference } from '../carbonbo
|
|
|
595
598
|
export { ProductConfigurationCarbonFootprintSubsegmentReference } from '../carbonbox/shared/domain/value-objects/ProductConfigurationCarbonFootprintSubsegmentReference';
|
|
596
599
|
export { ProductConfigurationSystemBoundaryReference } from '../carbonbox/shared/domain/value-objects/ProductConfigurationSystemBoundaryReference';
|
|
597
600
|
export { ProductReference } from '../carbonbox/shared/domain/value-objects/ProductReference';
|
|
598
|
-
export {
|
|
601
|
+
export { ServiceCatalogReference } from '../carbonbox/shared/domain/value-objects/ServiceCatalogReference';
|
|
599
602
|
export { CreateMethodNotImplementedError } from '../carbonbox/shared/domain/exceptions/CreateMethodNotImplementedError';
|
|
600
603
|
export { MethodNotImplementedError } from '../carbonbox/shared/domain/exceptions/MethodNotImplementedError';
|
|
601
604
|
export { NullValueError } from '../carbonbox/shared/domain/exceptions/NullValueError';
|
|
@@ -740,8 +743,8 @@ export type { ProductConfigurationSystemBoundaryReference as ProductConfiguratio
|
|
|
740
743
|
export type { ProductConfigurationSystemBoundaryReferencePrimitives } from '../carbonbox/shared/domain/types/ProductConfigurationSystemBoundaryReferencePrimitives';
|
|
741
744
|
export type { ProductReference as ProductReferenceType } from '../carbonbox/shared/domain/types/ProductReference';
|
|
742
745
|
export type { ProductReferencePrimitives } from '../carbonbox/shared/domain/types/ProductReferencePrimitives';
|
|
743
|
-
export type {
|
|
744
|
-
export type {
|
|
746
|
+
export type { ServiceCatalogReference as ServiceCatalogReferenceType } from '../carbonbox/shared/domain/types/ServiceCatalogReference';
|
|
747
|
+
export type { ServiceCatalogReferencePrimitives } from '../carbonbox/shared/domain/types/ServiceCatalogReferencePrimitives';
|
|
745
748
|
export type { CalculationProcessReference as CalculationProcessReferenceType } from '../carbonbox/shared/domain/types/CalculationProcessReference';
|
|
746
749
|
export type { CalculationProcessReferencePrimitives } from '../carbonbox/shared/domain/types/CalculationProcessReferencePrimitives';
|
|
747
750
|
export type { CalculationVariableReference as CalculationVariableReferenceType } from '../carbonbox/shared/domain/types/CalculationVariableReference';
|