@carbonbox/domain 0.6.1 → 0.6.3
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/activity-data-submissions/domain/value-objects/ActivityDataSubmissionId.js +28 -0
- package/build/carbonbox/activity-data-collection/collection-fields/domain/value-objects/CollectionFieldId.js +28 -0
- package/build/carbonbox/activity-data-collection/conditional-logic/domain/value-objects/ConditionalFieldRuleId.js +24 -0
- package/build/carbonbox/activity-data-collection/contextual-labels/domain/value-objects/ContextualLabelId.js +24 -0
- package/build/carbonbox/activity-data-collection/dynamic-forms/domain/value-objects/DynamicFormId.js +24 -0
- package/build/carbonbox/activity-data-collection/stakeholder-adaptations/domain/value-objects/StakeholderAdaptationId.js +24 -0
- package/build/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/domain/value-objects/CorporateCarbonFootprintSegmentConfigurationId.js +30 -2
- package/build/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/segments/domain/value-objects/CorporateConfigurationCarbonFootprintSegmentId.js +32 -1
- package/build/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/segments/subsegments/domain/value-objects/CorporateConfigurationCarbonFootprintSubsegmentId.js +32 -1
- package/build/carbonbox/carbon-footprint-configurations/corporate-configurations/domain/value-objects/CorporateCarbonFootprintConfigurationId.js +24 -0
- package/build/carbonbox/carbon-footprint-configurations/event-configurations/domain/value-objects/EventCarbonFootprintConfigurationId.js +24 -0
- package/build/carbonbox/carbon-footprint-configurations/event-configurations/event-edition-lifecycle-stage-configurations/domain/value-objects/EventEditionLifecycleStageConfigurationId.js +30 -2
- package/build/carbonbox/carbon-footprint-configurations/event-configurations/event-edition-lifecycle-stage-configurations/event-edition-lifecycle-stages/domain/value-objects/EventEditionLifecycleStageId.js +30 -2
- package/build/carbonbox/carbon-footprint-configurations/event-configurations/event-edition-lifecycle-stage-configurations/event-edition-lifecycle-stages/subsegments/domain/value-objects/EventEditionConfigurationCarbonFootprintSubsegmentId.js +34 -3
- package/build/carbonbox/carbon-footprint-configurations/product-configurations/domain/value-objects/ProductCarbonFootprintConfigurationId.js +24 -0
- package/build/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/domain/value-objects/ProductCarbonFootprintSegmentConfigurationId.js +29 -1
- package/build/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/segments/domain/value-objects/ProductConfigurationCarbonFootprintSegmentId.js +32 -1
- package/build/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/segments/subsegments/domain/value-objects/ProductConfigurationCarbonFootprintSubsegmentId.js +32 -1
- package/build/carbonbox/carbon-footprint-configurations/product-configurations/system-boundaries/domain/value-objects/ProductConfigurationSystemBoundaryId.js +29 -1
- package/build/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintIntensityIndicatorId.js +29 -1
- package/build/carbonbox/company-resources/events/domain/value-objects/EventId.js +28 -0
- package/build/carbonbox/company-resources/events/editions/domain/value-objects/EventEditionId.js +28 -0
- package/build/carbonbox/company-resources/facilities/domain/value-objects/FacilityId.js +29 -1
- package/build/carbonbox/company-resources/products/domain/value-objects/ProductId.js +29 -1
- package/build/carbonbox/emission-calculation-formulas/calculation-variables/domain/value-objects/CalculationVariableId.js +28 -0
- package/build/carbonbox/emission-calculation-formulas/emission-factors/domain/value-objects/EmissionFactorId.js +28 -0
- package/build/carbonbox/emission-calculation-formulas/global-warming-potentials/domain/value-objects/GlobalWarmingPotentialId.js +28 -0
- package/build/carbonbox/emission-calculation-process/calculation-jobs/domain/value-objects/CalculationJobId.js +28 -0
- package/build/carbonbox/emission-calculation-process/calculation-processes/domain/value-objects/CalculationProcessId.js +28 -0
- package/build/carbonbox/emission-calculation-process/calculation-workflows/domain/value-objects/CalculationWorkflowId.js +28 -0
- package/build/carbonbox/emission-calculation-results/emission-aggregations/domain/value-objects/EmissionAggregationId.js +28 -0
- package/build/carbonbox/emission-calculation-results/emission-calculations/domain/value-objects/EmissionCalculationId.js +28 -0
- package/build/carbonbox/emission-calculation-results/ghg-emission-results/domain/value-objects/GHGEmissionResultId.js +28 -0
- package/build/carbonbox/purchase-management-system/purchase-contracts/domain/value-objects/PurchaseContractId.js +28 -0
- package/build/carbonbox/purchase-management-system/purchase-orders/domain/value-objects/PurchaseOrderId.js +28 -0
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogId.js +28 -0
- package/build/carbonbox/purchase-management-system/service-pricing/domain/value-objects/ServicePricingId.js +28 -0
- package/build/carbonbox/shared/domain/enums/SemanticUuidPrefix.js +16 -0
- package/build/carbonbox/shared/domain/exceptions/InvalidAggregateIdFormatError.js +1 -1
- package/build/carbonbox/shared/domain/exceptions/InvalidAggregatePrefixError.js +31 -0
- package/build/carbonbox/shared/domain/value-objects/UserId.js +0 -5
- package/build/carbonbox/stakeholders/carbon-clients/domain/value-objects/CarbonClientId.js +28 -0
- package/build/carbonbox/stakeholders/carbon-coordinators/domain/value-objects/CarbonCoordinatorId.js +28 -0
- package/build/carbonbox/stakeholders/carbon-host/domain/value-objects/CarbonHostId.js +28 -0
- package/build/carbonbox/stakeholders/carbon-managers/domain/value-objects/CarbonManagerId.js +28 -0
- package/build/types/carbonbox/activity-data-collection/activity-data-submissions/domain/value-objects/ActivityDataSubmissionId.d.ts +5 -0
- package/build/types/carbonbox/activity-data-collection/activity-data-submissions/domain/value-objects/ActivityDataSubmissionId.d.ts.map +1 -1
- package/build/types/carbonbox/activity-data-collection/collection-fields/domain/value-objects/CollectionFieldId.d.ts +5 -0
- package/build/types/carbonbox/activity-data-collection/collection-fields/domain/value-objects/CollectionFieldId.d.ts.map +1 -1
- package/build/types/carbonbox/activity-data-collection/conditional-logic/domain/value-objects/ConditionalFieldRuleId.d.ts +2 -0
- package/build/types/carbonbox/activity-data-collection/conditional-logic/domain/value-objects/ConditionalFieldRuleId.d.ts.map +1 -1
- package/build/types/carbonbox/activity-data-collection/contextual-labels/domain/value-objects/ContextualLabelId.d.ts +2 -0
- package/build/types/carbonbox/activity-data-collection/contextual-labels/domain/value-objects/ContextualLabelId.d.ts.map +1 -1
- package/build/types/carbonbox/activity-data-collection/dynamic-forms/domain/value-objects/DynamicFormId.d.ts +2 -0
- package/build/types/carbonbox/activity-data-collection/dynamic-forms/domain/value-objects/DynamicFormId.d.ts.map +1 -1
- package/build/types/carbonbox/activity-data-collection/stakeholder-adaptations/domain/value-objects/StakeholderAdaptationId.d.ts +2 -0
- package/build/types/carbonbox/activity-data-collection/stakeholder-adaptations/domain/value-objects/StakeholderAdaptationId.d.ts.map +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/domain/value-objects/CorporateCarbonFootprintSegmentConfigurationId.d.ts +5 -0
- package/build/types/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/domain/value-objects/CorporateCarbonFootprintSegmentConfigurationId.d.ts.map +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/segments/domain/value-objects/CorporateConfigurationCarbonFootprintSegmentId.d.ts +5 -0
- package/build/types/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/segments/domain/value-objects/CorporateConfigurationCarbonFootprintSegmentId.d.ts.map +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/segments/subsegments/domain/value-objects/CorporateConfigurationCarbonFootprintSubsegmentId.d.ts +5 -0
- package/build/types/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/segments/subsegments/domain/value-objects/CorporateConfigurationCarbonFootprintSubsegmentId.d.ts.map +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/corporate-configurations/domain/value-objects/CorporateCarbonFootprintConfigurationId.d.ts +2 -0
- package/build/types/carbonbox/carbon-footprint-configurations/corporate-configurations/domain/value-objects/CorporateCarbonFootprintConfigurationId.d.ts.map +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/event-configurations/domain/value-objects/EventCarbonFootprintConfigurationId.d.ts +2 -0
- package/build/types/carbonbox/carbon-footprint-configurations/event-configurations/domain/value-objects/EventCarbonFootprintConfigurationId.d.ts.map +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/event-configurations/event-edition-lifecycle-stage-configurations/domain/value-objects/EventEditionLifecycleStageConfigurationId.d.ts +5 -0
- package/build/types/carbonbox/carbon-footprint-configurations/event-configurations/event-edition-lifecycle-stage-configurations/domain/value-objects/EventEditionLifecycleStageConfigurationId.d.ts.map +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/event-configurations/event-edition-lifecycle-stage-configurations/event-edition-lifecycle-stages/domain/value-objects/EventEditionLifecycleStageId.d.ts +5 -0
- package/build/types/carbonbox/carbon-footprint-configurations/event-configurations/event-edition-lifecycle-stage-configurations/event-edition-lifecycle-stages/domain/value-objects/EventEditionLifecycleStageId.d.ts.map +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/event-configurations/event-edition-lifecycle-stage-configurations/event-edition-lifecycle-stages/subsegments/domain/value-objects/EventEditionConfigurationCarbonFootprintSubsegmentId.d.ts +7 -2
- package/build/types/carbonbox/carbon-footprint-configurations/event-configurations/event-edition-lifecycle-stage-configurations/event-edition-lifecycle-stages/subsegments/domain/value-objects/EventEditionConfigurationCarbonFootprintSubsegmentId.d.ts.map +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/domain/value-objects/ProductCarbonFootprintConfigurationId.d.ts +2 -0
- package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/domain/value-objects/ProductCarbonFootprintConfigurationId.d.ts.map +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/domain/value-objects/ProductCarbonFootprintSegmentConfigurationId.d.ts +5 -0
- package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/domain/value-objects/ProductCarbonFootprintSegmentConfigurationId.d.ts.map +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/segments/domain/value-objects/ProductConfigurationCarbonFootprintSegmentId.d.ts +5 -0
- package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/segments/domain/value-objects/ProductConfigurationCarbonFootprintSegmentId.d.ts.map +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/segments/subsegments/domain/value-objects/ProductConfigurationCarbonFootprintSubsegmentId.d.ts +5 -0
- package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/segments/subsegments/domain/value-objects/ProductConfigurationCarbonFootprintSubsegmentId.d.ts.map +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/system-boundaries/domain/value-objects/ProductConfigurationSystemBoundaryId.d.ts +5 -0
- package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/system-boundaries/domain/value-objects/ProductConfigurationSystemBoundaryId.d.ts.map +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintConfigurationId.d.ts +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintConfigurationId.d.ts.map +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintIntensityIndicatorId.d.ts +5 -0
- package/build/types/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintIntensityIndicatorId.d.ts.map +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintSegmentId.d.ts +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintSegmentId.d.ts.map +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintSubsegmentCode.d.ts +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintSubsegmentCode.d.ts.map +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintSubsegmentId.d.ts +1 -1
- package/build/types/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintSubsegmentId.d.ts.map +1 -1
- package/build/types/carbonbox/company-resources/events/domain/value-objects/EventId.d.ts +5 -0
- package/build/types/carbonbox/company-resources/events/domain/value-objects/EventId.d.ts.map +1 -1
- package/build/types/carbonbox/company-resources/events/editions/domain/value-objects/EventEditionId.d.ts +5 -0
- package/build/types/carbonbox/company-resources/events/editions/domain/value-objects/EventEditionId.d.ts.map +1 -1
- package/build/types/carbonbox/company-resources/facilities/domain/value-objects/FacilityId.d.ts +5 -0
- package/build/types/carbonbox/company-resources/facilities/domain/value-objects/FacilityId.d.ts.map +1 -1
- package/build/types/carbonbox/company-resources/products/domain/value-objects/ProductId.d.ts +5 -0
- package/build/types/carbonbox/company-resources/products/domain/value-objects/ProductId.d.ts.map +1 -1
- package/build/types/carbonbox/emission-calculation-formulas/calculation-variables/domain/value-objects/CalculationVariableId.d.ts +5 -0
- package/build/types/carbonbox/emission-calculation-formulas/calculation-variables/domain/value-objects/CalculationVariableId.d.ts.map +1 -1
- package/build/types/carbonbox/emission-calculation-formulas/emission-factors/domain/value-objects/EmissionFactorId.d.ts +5 -0
- package/build/types/carbonbox/emission-calculation-formulas/emission-factors/domain/value-objects/EmissionFactorId.d.ts.map +1 -1
- package/build/types/carbonbox/emission-calculation-formulas/global-warming-potentials/domain/value-objects/GlobalWarmingPotentialId.d.ts +5 -0
- package/build/types/carbonbox/emission-calculation-formulas/global-warming-potentials/domain/value-objects/GlobalWarmingPotentialId.d.ts.map +1 -1
- package/build/types/carbonbox/emission-calculation-process/calculation-jobs/domain/value-objects/CalculationJobId.d.ts +5 -0
- package/build/types/carbonbox/emission-calculation-process/calculation-jobs/domain/value-objects/CalculationJobId.d.ts.map +1 -1
- package/build/types/carbonbox/emission-calculation-process/calculation-processes/domain/value-objects/CalculationProcessId.d.ts +5 -0
- package/build/types/carbonbox/emission-calculation-process/calculation-processes/domain/value-objects/CalculationProcessId.d.ts.map +1 -1
- package/build/types/carbonbox/emission-calculation-process/calculation-workflows/domain/value-objects/CalculationWorkflowId.d.ts +5 -0
- package/build/types/carbonbox/emission-calculation-process/calculation-workflows/domain/value-objects/CalculationWorkflowId.d.ts.map +1 -1
- package/build/types/carbonbox/emission-calculation-results/emission-aggregations/domain/value-objects/EmissionAggregationId.d.ts +5 -0
- package/build/types/carbonbox/emission-calculation-results/emission-aggregations/domain/value-objects/EmissionAggregationId.d.ts.map +1 -1
- package/build/types/carbonbox/emission-calculation-results/emission-calculations/domain/value-objects/EmissionCalculationId.d.ts +5 -0
- package/build/types/carbonbox/emission-calculation-results/emission-calculations/domain/value-objects/EmissionCalculationId.d.ts.map +1 -1
- package/build/types/carbonbox/emission-calculation-results/ghg-emission-results/domain/value-objects/GHGEmissionResultId.d.ts +5 -0
- package/build/types/carbonbox/emission-calculation-results/ghg-emission-results/domain/value-objects/GHGEmissionResultId.d.ts.map +1 -1
- package/build/types/carbonbox/purchase-management-system/purchase-contracts/domain/value-objects/PurchaseContractId.d.ts +5 -0
- package/build/types/carbonbox/purchase-management-system/purchase-contracts/domain/value-objects/PurchaseContractId.d.ts.map +1 -1
- package/build/types/carbonbox/purchase-management-system/purchase-orders/domain/value-objects/PurchaseOrderId.d.ts +5 -0
- package/build/types/carbonbox/purchase-management-system/purchase-orders/domain/value-objects/PurchaseOrderId.d.ts.map +1 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogId.d.ts +5 -0
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogId.d.ts.map +1 -1
- package/build/types/carbonbox/purchase-management-system/service-pricing/domain/value-objects/ServicePricingId.d.ts +5 -0
- package/build/types/carbonbox/purchase-management-system/service-pricing/domain/value-objects/ServicePricingId.d.ts.map +1 -1
- package/build/types/carbonbox/shared/domain/enums/SemanticUuidPrefix.d.ts +15 -0
- package/build/types/carbonbox/shared/domain/enums/SemanticUuidPrefix.d.ts.map +1 -1
- package/build/types/carbonbox/shared/domain/exceptions/InvalidAggregateIdFormatError.d.ts.map +1 -1
- package/build/types/carbonbox/shared/domain/exceptions/InvalidAggregatePrefixError.d.ts +20 -0
- package/build/types/carbonbox/shared/domain/exceptions/InvalidAggregatePrefixError.d.ts.map +1 -0
- package/build/types/carbonbox/shared/domain/value-objects/UserId.d.ts +0 -4
- package/build/types/carbonbox/shared/domain/value-objects/UserId.d.ts.map +1 -1
- package/build/types/carbonbox/stakeholders/carbon-clients/domain/value-objects/CarbonClientId.d.ts +5 -0
- package/build/types/carbonbox/stakeholders/carbon-clients/domain/value-objects/CarbonClientId.d.ts.map +1 -1
- package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/value-objects/CarbonCoordinatorId.d.ts +5 -0
- package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/value-objects/CarbonCoordinatorId.d.ts.map +1 -1
- package/build/types/carbonbox/stakeholders/carbon-host/domain/value-objects/CarbonHostId.d.ts +5 -0
- package/build/types/carbonbox/stakeholders/carbon-host/domain/value-objects/CarbonHostId.d.ts.map +1 -1
- package/build/types/carbonbox/stakeholders/carbon-managers/domain/value-objects/CarbonManagerId.d.ts +5 -0
- package/build/types/carbonbox/stakeholders/carbon-managers/domain/value-objects/CarbonManagerId.d.ts.map +1 -1
- package/package.json +1 -1
- package/build/carbonbox/purchase-management-system/service-catalog/domain/entity/IService.js +0 -2
- package/build/carbonbox/purchase-management-system/service-catalog/domain/entity/Service.js +0 -263
- package/build/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceCategory.js +0 -20
- package/build/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceStatus.js +0 -9
- package/build/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceType.js +0 -10
- package/build/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCategoryError.js +0 -19
- package/build/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceStatusError.js +0 -19
- package/build/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceTypeError.js +0 -19
- package/build/carbonbox/purchase-management-system/service-catalog/domain/repository/IServiceRepository.js +0 -2
- package/build/carbonbox/purchase-management-system/service-catalog/domain/types/ServicePrimitives.js +0 -2
- package/build/carbonbox/purchase-management-system/service-catalog/domain/types/ServiceProps.js +0 -2
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAdditionalUserRoles.js +0 -131
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAllowsDocumentReading.js +0 -22
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAllowsSectoralComparison.js +0 -22
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceBasePricePercentage.js +0 -140
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCategory.js +0 -243
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCode.js +0 -24
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCreatedByStakeholder.js +0 -26
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceDependsOnServiceCode.js +0 -21
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceDescription.js +0 -23
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceExpertDedicationLevel.js +0 -212
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceFixedPriceAmount.js +0 -193
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceHasBasePrice.js +0 -22
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceHasFixedPrice.js +0 -22
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceId.js +0 -24
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIncludesCarbonBoxAcademy.js +0 -22
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIncludesESGIndicators.js +0 -22
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForCorporate.js +0 -22
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForEvent.js +0 -22
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForProduct.js +0 -22
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsRequiredService.js +0 -22
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceMaxUsers.js +0 -246
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceName.js +0 -23
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceReportTypes.js +0 -246
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceStatus.js +0 -221
- package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceType.js +0 -235
- package/build/carbonbox/shared/domain/exceptions/InvalidSemanticUuidError.js +0 -19
- package/build/carbonbox/shared/domain/services/DateTimeFormattingDomainService.js +0 -172
- package/build/carbonbox/shared/domain/services/contracts/ISemanticUuidDomainService.js +0 -2
- package/build/carbonbox/shared/domain/services/implementations/SemanticUuidDomainService.js +0 -235
- package/build/carbonbox/shared/domain/types/AllPermissions.js +0 -2
- package/build/carbonbox/shared/domain/types/AllPermissionsPrimitives.js +0 -2
- package/build/carbonbox/shared/domain/types/ServiceReference.js +0 -2
- package/build/carbonbox/shared/domain/types/ServiceReferencePrimitives.js +0 -2
- package/build/carbonbox/shared/domain/types/UserEmailProps.js +0 -2
- package/build/carbonbox/shared/domain/value-objects/ServiceReference.js +0 -301
- package/build/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissions.js +0 -2
- package/build/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissionsPrimitives.js +0 -2
- package/build/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissionsValue.js +0 -2
- package/build/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissions.js +0 -2
- package/build/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissionsPrimitives.js +0 -2
- package/build/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissionsValue.js +0 -2
- package/build/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissions.js +0 -2
- package/build/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissionsPrimitives.js +0 -2
- package/build/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissionsValue.js +0 -2
- package/build/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissions.js +0 -2
- package/build/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissionsPrimitives.js +0 -2
- package/build/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissionsValue.js +0 -2
- package/build/carbonbox/stakeholders/shared/domain/enums/StakeholderBusinessStatus.js +0 -10
- package/build/carbonbox/stakeholders/shared/domain/exceptions/InvalidStakeholderBusinessStatusError.js +0 -18
- package/build/carbonbox/stakeholders/shared/domain/types/StakeholderPermissions.js +0 -2
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/entity/IService.d.ts +0 -52
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/entity/IService.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/entity/Service.d.ts +0 -60
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/entity/Service.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceCategory.d.ts +0 -17
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceCategory.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceStatus.d.ts +0 -6
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceStatus.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceType.d.ts +0 -7
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceType.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCategoryError.d.ts +0 -8
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCategoryError.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceStatusError.d.ts +0 -8
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceStatusError.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceTypeError.d.ts +0 -8
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceTypeError.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/repository/IServiceRepository.d.ts +0 -22
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/repository/IServiceRepository.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/types/ServicePrimitives.d.ts +0 -35
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/types/ServicePrimitives.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/types/ServiceProps.d.ts +0 -35
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/types/ServiceProps.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAdditionalUserRoles.d.ts +0 -71
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAdditionalUserRoles.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAllowsDocumentReading.d.ts +0 -9
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAllowsDocumentReading.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAllowsSectoralComparison.d.ts +0 -9
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAllowsSectoralComparison.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceBasePricePercentage.d.ts +0 -54
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceBasePricePercentage.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCategory.d.ts +0 -123
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCategory.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCode.d.ts +0 -9
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCode.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCreatedByStakeholder.d.ts +0 -11
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCreatedByStakeholder.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceDependsOnServiceCode.d.ts +0 -9
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceDependsOnServiceCode.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceDescription.d.ts +0 -9
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceDescription.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceExpertDedicationLevel.d.ts +0 -92
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceExpertDedicationLevel.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceFixedPriceAmount.d.ts +0 -83
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceFixedPriceAmount.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceHasBasePrice.d.ts +0 -9
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceHasBasePrice.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceHasFixedPrice.d.ts +0 -9
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceHasFixedPrice.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceId.d.ts +0 -9
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceId.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIncludesCarbonBoxAcademy.d.ts +0 -9
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIncludesCarbonBoxAcademy.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIncludesESGIndicators.d.ts +0 -9
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIncludesESGIndicators.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForCorporate.d.ts +0 -9
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForCorporate.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForEvent.d.ts +0 -9
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForEvent.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForProduct.d.ts +0 -9
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForProduct.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsRequiredService.d.ts +0 -9
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsRequiredService.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceMaxUsers.d.ts +0 -99
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceMaxUsers.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceName.d.ts +0 -9
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceName.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceReportTypes.d.ts +0 -119
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceReportTypes.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceStatus.d.ts +0 -110
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceStatus.d.ts.map +0 -1
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceType.d.ts +0 -111
- package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceType.d.ts.map +0 -1
- package/build/types/carbonbox/shared/domain/exceptions/InvalidSemanticUuidError.d.ts +0 -8
- package/build/types/carbonbox/shared/domain/exceptions/InvalidSemanticUuidError.d.ts.map +0 -1
- package/build/types/carbonbox/shared/domain/services/DateTimeFormattingDomainService.d.ts +0 -95
- package/build/types/carbonbox/shared/domain/services/DateTimeFormattingDomainService.d.ts.map +0 -1
- package/build/types/carbonbox/shared/domain/services/contracts/ISemanticUuidDomainService.d.ts +0 -85
- package/build/types/carbonbox/shared/domain/services/contracts/ISemanticUuidDomainService.d.ts.map +0 -1
- package/build/types/carbonbox/shared/domain/services/implementations/SemanticUuidDomainService.d.ts +0 -67
- package/build/types/carbonbox/shared/domain/services/implementations/SemanticUuidDomainService.d.ts.map +0 -1
- package/build/types/carbonbox/shared/domain/types/AllPermissions.d.ts +0 -12
- package/build/types/carbonbox/shared/domain/types/AllPermissions.d.ts.map +0 -1
- package/build/types/carbonbox/shared/domain/types/AllPermissionsPrimitives.d.ts +0 -12
- package/build/types/carbonbox/shared/domain/types/AllPermissionsPrimitives.d.ts.map +0 -1
- package/build/types/carbonbox/shared/domain/types/ServiceReference.d.ts +0 -8
- package/build/types/carbonbox/shared/domain/types/ServiceReference.d.ts.map +0 -1
- package/build/types/carbonbox/shared/domain/types/ServiceReferencePrimitives.d.ts +0 -8
- package/build/types/carbonbox/shared/domain/types/ServiceReferencePrimitives.d.ts.map +0 -1
- package/build/types/carbonbox/shared/domain/types/UserEmailProps.d.ts +0 -5
- package/build/types/carbonbox/shared/domain/types/UserEmailProps.d.ts.map +0 -1
- package/build/types/carbonbox/shared/domain/value-objects/ServiceReference.d.ts +0 -134
- package/build/types/carbonbox/shared/domain/value-objects/ServiceReference.d.ts.map +0 -1
- package/build/types/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissions.d.ts +0 -3
- package/build/types/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissions.d.ts.map +0 -1
- package/build/types/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissionsPrimitives.d.ts +0 -3
- package/build/types/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissionsPrimitives.d.ts.map +0 -1
- package/build/types/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissionsValue.d.ts +0 -3
- package/build/types/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissionsValue.d.ts.map +0 -1
- package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissions.d.ts +0 -3
- package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissions.d.ts.map +0 -1
- package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissionsPrimitives.d.ts +0 -3
- package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissionsPrimitives.d.ts.map +0 -1
- package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissionsValue.d.ts +0 -3
- package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissionsValue.d.ts.map +0 -1
- package/build/types/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissions.d.ts +0 -3
- package/build/types/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissions.d.ts.map +0 -1
- package/build/types/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissionsPrimitives.d.ts +0 -3
- package/build/types/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissionsPrimitives.d.ts.map +0 -1
- package/build/types/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissionsValue.d.ts +0 -3
- package/build/types/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissionsValue.d.ts.map +0 -1
- package/build/types/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissions.d.ts +0 -3
- package/build/types/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissions.d.ts.map +0 -1
- package/build/types/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissionsPrimitives.d.ts +0 -3
- package/build/types/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissionsPrimitives.d.ts.map +0 -1
- package/build/types/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissionsValue.d.ts +0 -3
- package/build/types/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissionsValue.d.ts.map +0 -1
- package/build/types/carbonbox/stakeholders/shared/domain/enums/StakeholderBusinessStatus.d.ts +0 -7
- package/build/types/carbonbox/stakeholders/shared/domain/enums/StakeholderBusinessStatus.d.ts.map +0 -1
- package/build/types/carbonbox/stakeholders/shared/domain/exceptions/InvalidStakeholderBusinessStatusError.d.ts +0 -7
- package/build/types/carbonbox/stakeholders/shared/domain/exceptions/InvalidStakeholderBusinessStatusError.d.ts.map +0 -1
- package/build/types/carbonbox/stakeholders/shared/domain/types/StakeholderPermissions.d.ts +0 -10
- package/build/types/carbonbox/stakeholders/shared/domain/types/StakeholderPermissions.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IServiceRepository.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/repository/IServiceRepository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0CAA0C,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,kCAAkC,EAAE,MAAM,qDAAqD,CAAC;AACzG,OAAO,EAAE,kCAAkC,EAAE,MAAM,qDAAqD,CAAC;AACzG,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,MAAM,WAAW,yBAAyB;IACxC,IAAI,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7C,QAAQ,CAAC,EAAE,EAAE,gBAAgB,GAAG,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC;IAClE,UAAU,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC;IACxE,iBAAiB,CAAC,QAAQ,EAAE,sBAAsB,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC;IAC/E,aAAa,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC;IACnE,eAAe,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC;IACzE,6BAA6B,CAAC,oBAAoB,EAAE,kCAAkC,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC;IACnH,oCAAoC,CAAC,2BAA2B,EAAE,kCAAkC,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC;IACjI,OAAO,IAAI,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC;IACrC,UAAU,CAAC,EAAE,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACjD"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { AggregateRootPrimitives } from '../../../../shared/domain/types/AggregateRootPrimitives';
|
|
2
|
-
import { StakeholderReferencePrimitives } from '../../../../shared/domain/types/StakeholderReferencePrimitives';
|
|
3
|
-
import { ExpertDedicationLevel } from '../enums/ExpertDedicationLevel';
|
|
4
|
-
import { ReportType } from '../enums/ReportType';
|
|
5
|
-
import { ServiceCategory } from '../enums/ServiceCategory';
|
|
6
|
-
import { ServiceStatus } from '../enums/ServiceStatus';
|
|
7
|
-
import { ServiceType } from '../enums/ServiceType';
|
|
8
|
-
import { UserRole } from '../enums/UserRole';
|
|
9
|
-
export type ServicePrimitives = AggregateRootPrimitives & {
|
|
10
|
-
code: string;
|
|
11
|
-
name: string;
|
|
12
|
-
description: string;
|
|
13
|
-
type: ServiceType;
|
|
14
|
-
category: ServiceCategory;
|
|
15
|
-
status: ServiceStatus;
|
|
16
|
-
isRequiredService: boolean;
|
|
17
|
-
dependsOnServiceCode: string | null;
|
|
18
|
-
hasBasePrice: boolean;
|
|
19
|
-
basePricePercentage: number | null;
|
|
20
|
-
hasFixedPrice: boolean;
|
|
21
|
-
fixedPriceAmount: number | null;
|
|
22
|
-
expertDedicationLevel: ExpertDedicationLevel | null;
|
|
23
|
-
reportTypes: ReportType[];
|
|
24
|
-
additionalUserRoles: UserRole[];
|
|
25
|
-
maxUsers: number | null;
|
|
26
|
-
allowsDocumentReading: boolean;
|
|
27
|
-
allowsSectoralComparison: boolean;
|
|
28
|
-
includesCarbonBoxAcademy: boolean;
|
|
29
|
-
includesESGIndicators: boolean;
|
|
30
|
-
isAvailableForCorporate: boolean;
|
|
31
|
-
isAvailableForProduct: boolean;
|
|
32
|
-
isAvailableForEvent: boolean;
|
|
33
|
-
createdByStakeholder: StakeholderReferencePrimitives;
|
|
34
|
-
};
|
|
35
|
-
//# sourceMappingURL=ServicePrimitives.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ServicePrimitives.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/types/ServicePrimitives.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yDAAyD,CAAC;AAClG,OAAO,EAAE,8BAA8B,EAAE,MAAM,gEAAgE,CAAC;AAChH,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,GAAG;IACxD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,WAAW,CAAC;IAClB,QAAQ,EAAE,eAAe,CAAC;IAC1B,MAAM,EAAE,aAAa,CAAC;IACtB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IAGpC,YAAY,EAAE,OAAO,CAAC;IACtB,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAGhC,qBAAqB,EAAE,qBAAqB,GAAG,IAAI,CAAC;IACpD,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,mBAAmB,EAAE,QAAQ,EAAE,CAAC;IAChC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,wBAAwB,EAAE,OAAO,CAAC;IAClC,wBAAwB,EAAE,OAAO,CAAC;IAClC,qBAAqB,EAAE,OAAO,CAAC;IAG/B,uBAAuB,EAAE,OAAO,CAAC;IACjC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,mBAAmB,EAAE,OAAO,CAAC;IAE7B,oBAAoB,EAAE,8BAA8B,CAAC;CACtD,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { AggregateRootProps } from '../../../../shared/domain/types/AggregateRootProps';
|
|
2
|
-
import { StakeholderReference } from '../../../../shared/domain/types/StakeholderReference';
|
|
3
|
-
import { ExpertDedicationLevel } from '../enums/ExpertDedicationLevel';
|
|
4
|
-
import { ReportType } from '../enums/ReportType';
|
|
5
|
-
import { ServiceCategory } from '../enums/ServiceCategory';
|
|
6
|
-
import { ServiceStatus } from '../enums/ServiceStatus';
|
|
7
|
-
import { ServiceType } from '../enums/ServiceType';
|
|
8
|
-
import { UserRole } from '../enums/UserRole';
|
|
9
|
-
export type ServiceProps = AggregateRootProps & {
|
|
10
|
-
code: string;
|
|
11
|
-
name: string;
|
|
12
|
-
description: string;
|
|
13
|
-
type: ServiceType;
|
|
14
|
-
category: ServiceCategory;
|
|
15
|
-
status: ServiceStatus;
|
|
16
|
-
isRequiredService: boolean;
|
|
17
|
-
dependsOnServiceCode: string | null;
|
|
18
|
-
hasBasePrice: boolean;
|
|
19
|
-
basePricePercentage: number | null;
|
|
20
|
-
hasFixedPrice: boolean;
|
|
21
|
-
fixedPriceAmount: number | null;
|
|
22
|
-
expertDedicationLevel: ExpertDedicationLevel | null;
|
|
23
|
-
reportTypes: ReportType[];
|
|
24
|
-
additionalUserRoles: UserRole[];
|
|
25
|
-
maxUsers: number | null;
|
|
26
|
-
allowsDocumentReading: boolean;
|
|
27
|
-
allowsSectoralComparison: boolean;
|
|
28
|
-
includesCarbonBoxAcademy: boolean;
|
|
29
|
-
includesESGIndicators: boolean;
|
|
30
|
-
isAvailableForCorporate: boolean;
|
|
31
|
-
isAvailableForProduct: boolean;
|
|
32
|
-
isAvailableForEvent: boolean;
|
|
33
|
-
createdByStakeholder: StakeholderReference;
|
|
34
|
-
};
|
|
35
|
-
//# sourceMappingURL=ServiceProps.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceProps.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/types/ServiceProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAE,MAAM,sDAAsD,CAAC;AAC5F,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,MAAM,MAAM,YAAY,GAAG,kBAAkB,GAAG;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,WAAW,CAAC;IAClB,QAAQ,EAAE,eAAe,CAAC;IAC1B,MAAM,EAAE,aAAa,CAAC;IACtB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IAGpC,YAAY,EAAE,OAAO,CAAC;IACtB,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAGhC,qBAAqB,EAAE,qBAAqB,GAAG,IAAI,CAAC;IACpD,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,mBAAmB,EAAE,QAAQ,EAAE,CAAC;IAChC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,wBAAwB,EAAE,OAAO,CAAC;IAClC,wBAAwB,EAAE,OAAO,CAAC;IAClC,qBAAqB,EAAE,OAAO,CAAC;IAG/B,uBAAuB,EAAE,OAAO,CAAC;IACjC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,mBAAmB,EAAE,OAAO,CAAC;IAE7B,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C,CAAC"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { StringList } from '../../../../shared/domain/value-objects/StringList';
|
|
2
|
-
import { UserRole } from '../enums/UserRole';
|
|
3
|
-
export declare class ServiceAdditionalUserRoles extends StringList {
|
|
4
|
-
private static readonly PROPERTY_NAME;
|
|
5
|
-
private static readonly VALID_USER_ROLES;
|
|
6
|
-
private constructor();
|
|
7
|
-
static create(roles: string[]): ServiceAdditionalUserRoles;
|
|
8
|
-
static fromPrimitives(primitives: string[]): ServiceAdditionalUserRoles;
|
|
9
|
-
/**
|
|
10
|
-
* Valida que todos los roles sean roles de usuario válidos.
|
|
11
|
-
*/
|
|
12
|
-
private validateUserRoles;
|
|
13
|
-
/**
|
|
14
|
-
* Verifica si contiene el rol de SUPPLIER.
|
|
15
|
-
*/
|
|
16
|
-
hasSupplierRole(): boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Verifica si contiene el rol de OBSERVER.
|
|
19
|
-
*/
|
|
20
|
-
hasObserverRole(): boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Verifica si contiene el rol de AUDITOR.
|
|
23
|
-
*/
|
|
24
|
-
hasAuditorRole(): boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Obtiene los roles válidos de usuario.
|
|
27
|
-
*/
|
|
28
|
-
static getValidUserRoles(): readonly UserRole[];
|
|
29
|
-
/**
|
|
30
|
-
* Verifica si un valor es un rol de usuario válido.
|
|
31
|
-
*/
|
|
32
|
-
static isValidUserRole(role: string): boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Agrega un nuevo rol si no está ya presente.
|
|
35
|
-
*/
|
|
36
|
-
addRole(role: UserRole): ServiceAdditionalUserRoles;
|
|
37
|
-
/**
|
|
38
|
-
* Remueve un rol específico.
|
|
39
|
-
*/
|
|
40
|
-
removeRole(role: UserRole): ServiceAdditionalUserRoles;
|
|
41
|
-
/**
|
|
42
|
-
* Verifica si tiene al menos un rol de auditoría (AUDITOR o OBSERVER).
|
|
43
|
-
*/
|
|
44
|
-
hasAuditRole(): boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Verifica si tiene roles operacionales (SUPPLIER).
|
|
47
|
-
*/
|
|
48
|
-
hasOperationalRole(): boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Obtiene el número de roles únicos.
|
|
51
|
-
*/
|
|
52
|
-
getRoleCount(): number;
|
|
53
|
-
/**
|
|
54
|
-
* Verifica si está vacío (sin roles adicionales).
|
|
55
|
-
*/
|
|
56
|
-
isEmpty(): boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Convierte los roles a enum para uso tipado.
|
|
59
|
-
*/
|
|
60
|
-
toEnums(): UserRole[];
|
|
61
|
-
/**
|
|
62
|
-
* Obtiene una descripción de los roles para debugging.
|
|
63
|
-
*/
|
|
64
|
-
getDescription(): string;
|
|
65
|
-
toPrimitives(): string[];
|
|
66
|
-
/**
|
|
67
|
-
* Representación como string descriptiva.
|
|
68
|
-
*/
|
|
69
|
-
toString(): string;
|
|
70
|
-
}
|
|
71
|
-
//# sourceMappingURL=ServiceAdditionalUserRoles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceAdditionalUserRoles.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAdditionalUserRoles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oDAAoD,CAAC;AAChF,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAG7C,qBAAa,0BACX,SAAQ,UAAU;IAClB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAyB;IAG9D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAAuC;IAE/E,OAAO;WAagB,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,0BAA0B;WAMnD,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,0BAA0B;IAMvF;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAWzB;;OAEG;IACI,eAAe,IAAI,OAAO;IAIjC;;OAEG;IACI,eAAe,IAAI,OAAO;IAIjC;;OAEG;IACI,cAAc,IAAI,OAAO;IAIhC;;OAEG;WACW,iBAAiB,IAAI,SAAS,QAAQ,EAAE;IAItD;;OAEG;WACW,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAIpD;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE,QAAQ,GAAG,0BAA0B;IAQ1D;;OAEG;IACI,UAAU,CAAC,IAAI,EAAE,QAAQ,GAAG,0BAA0B;IAK7D;;OAEG;IACI,YAAY,IAAI,OAAO;IAI9B;;OAEG;IACI,kBAAkB,IAAI,OAAO;IAIpC;;OAEG;IACI,YAAY,IAAI,MAAM;IAI7B;;OAEG;IACI,OAAO,IAAI,OAAO;IAIzB;;OAEG;IACI,OAAO,IAAI,QAAQ,EAAE;IAI5B;;OAEG;IACI,cAAc,IAAI,MAAM;IAOf,YAAY,IAAI,MAAM,EAAE;IAIxC;;OAEG;IACa,QAAQ,IAAI,MAAM;CAGnC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Boolean } from '../../../../shared/domain/value-objects/Boolean';
|
|
2
|
-
export declare class ServiceAllowsDocumentReading extends Boolean {
|
|
3
|
-
private static readonly PROPERTY_NAME;
|
|
4
|
-
private constructor();
|
|
5
|
-
static create(value: boolean): ServiceAllowsDocumentReading;
|
|
6
|
-
static fromPrimitives(primitive: boolean): ServiceAllowsDocumentReading;
|
|
7
|
-
toPrimitives(): boolean;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=ServiceAllowsDocumentReading.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceAllowsDocumentReading.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAllowsDocumentReading.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iDAAiD,CAAC;AAE1E,qBAAa,4BACX,SAAQ,OAAO;IACf,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAA2B;IAEhE,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,OAAO,GAAG,4BAA4B;WAMpD,cAAc,CAAC,SAAS,EAAE,OAAO,GAAG,4BAA4B;IAMvE,YAAY,IAAI,OAAO;CAGxC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Boolean } from '../../../../shared/domain/value-objects/Boolean';
|
|
2
|
-
export declare class ServiceAllowsSectoralComparison extends Boolean {
|
|
3
|
-
private static readonly PROPERTY_NAME;
|
|
4
|
-
private constructor();
|
|
5
|
-
static create(value: boolean): ServiceAllowsSectoralComparison;
|
|
6
|
-
static fromPrimitives(primitive: boolean): ServiceAllowsSectoralComparison;
|
|
7
|
-
toPrimitives(): boolean;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=ServiceAllowsSectoralComparison.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceAllowsSectoralComparison.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAllowsSectoralComparison.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iDAAiD,CAAC;AAE1E,qBAAa,+BACX,SAAQ,OAAO;IACf,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAA8B;IAEnE,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,OAAO,GAAG,+BAA+B;WAMvD,cAAc,CAAC,SAAS,EAAE,OAAO,GAAG,+BAA+B;IAM1E,YAAY,IAAI,OAAO;CAGxC"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { NullableNumeric } from '../../../../shared/domain/value-objects/NullableNumeric';
|
|
2
|
-
export declare class ServiceBasePricePercentage extends NullableNumeric {
|
|
3
|
-
private static readonly PROPERTY_NAME;
|
|
4
|
-
private static readonly PERCENTAGE_OPTIONS;
|
|
5
|
-
private constructor();
|
|
6
|
-
static create(value: number | null): ServiceBasePricePercentage;
|
|
7
|
-
static fromPrimitives(primitive: number | null): ServiceBasePricePercentage;
|
|
8
|
-
/**
|
|
9
|
-
* Verifica si representa un incremento en el precio.
|
|
10
|
-
*/
|
|
11
|
-
isIncrease(): boolean | null;
|
|
12
|
-
/**
|
|
13
|
-
* Verifica si representa un descuento en el precio.
|
|
14
|
-
*/
|
|
15
|
-
isDiscount(): boolean | null;
|
|
16
|
-
/**
|
|
17
|
-
* Verifica si no hay cambio en el precio.
|
|
18
|
-
*/
|
|
19
|
-
isNeutral(): boolean | null;
|
|
20
|
-
/**
|
|
21
|
-
* Verifica si es un incremento significativo (>= 50%).
|
|
22
|
-
*/
|
|
23
|
-
isSignificantIncrease(): boolean | null;
|
|
24
|
-
/**
|
|
25
|
-
* Verifica si es un descuento significativo (<= -25%).
|
|
26
|
-
*/
|
|
27
|
-
isSignificantDiscount(): boolean | null;
|
|
28
|
-
/**
|
|
29
|
-
* Obtiene el porcentaje formateado como string.
|
|
30
|
-
*/
|
|
31
|
-
getFormattedPercentage(): string | null;
|
|
32
|
-
/**
|
|
33
|
-
* Calcula el precio final basado en un precio base.
|
|
34
|
-
*/
|
|
35
|
-
calculateFinalPrice(basePrice: number): number | null;
|
|
36
|
-
/**
|
|
37
|
-
* Obtiene el factor multiplicador (1 + porcentaje/100).
|
|
38
|
-
*/
|
|
39
|
-
getMultiplier(): number | null;
|
|
40
|
-
/**
|
|
41
|
-
* Obtiene una descripción del impacto del porcentaje.
|
|
42
|
-
*/
|
|
43
|
-
getImpactDescription(): string | null;
|
|
44
|
-
/**
|
|
45
|
-
* Verifica si el porcentaje está dentro de un rango típico de servicios.
|
|
46
|
-
*/
|
|
47
|
-
isWithinTypicalRange(): boolean | null;
|
|
48
|
-
toPrimitives(): number | null;
|
|
49
|
-
/**
|
|
50
|
-
* Representación como string descriptiva.
|
|
51
|
-
*/
|
|
52
|
-
toString(): string;
|
|
53
|
-
}
|
|
54
|
-
//# sourceMappingURL=ServiceBasePricePercentage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceBasePricePercentage.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceBasePricePercentage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,yDAAyD,CAAC;AAG1F,qBAAa,0BACX,SAAQ,eAAe;IACvB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAyB;IAE9D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,kBAAkB,CAOxC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,0BAA0B;WAIxD,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,0BAA0B;IAM3F;;OAEG;IACI,UAAU,IAAI,OAAO,GAAG,IAAI;IAKnC;;OAEG;IACI,UAAU,IAAI,OAAO,GAAG,IAAI;IAKnC;;OAEG;IACI,SAAS,IAAI,OAAO,GAAG,IAAI;IAKlC;;OAEG;IACI,qBAAqB,IAAI,OAAO,GAAG,IAAI;IAK9C;;OAEG;IACI,qBAAqB,IAAI,OAAO,GAAG,IAAI;IAK9C;;OAEG;IACI,sBAAsB,IAAI,MAAM,GAAG,IAAI;IAM9C;;OAEG;IACI,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAQ5D;;OAEG;IACI,aAAa,IAAI,MAAM,GAAG,IAAI;IAKrC;;OAEG;IACI,oBAAoB,IAAI,MAAM,GAAG,IAAI;IAiB5C;;OAEG;IACI,oBAAoB,IAAI,OAAO,GAAG,IAAI;IAM7B,YAAY,IAAI,MAAM,GAAG,IAAI;IAI7C;;OAEG;IACa,QAAQ,IAAI,MAAM;CAInC"}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import { String } from '../../../../shared/domain/value-objects/String';
|
|
2
|
-
import { ServiceCategory as ServiceCategoryEnum } from '../enums/ServiceCategory';
|
|
3
|
-
export declare class ServiceCategory extends String {
|
|
4
|
-
private static readonly PROPERTY_NAME;
|
|
5
|
-
private static readonly VALID_SERVICE_CATEGORIES;
|
|
6
|
-
private constructor();
|
|
7
|
-
static create(value: string): ServiceCategory;
|
|
8
|
-
static fromPrimitives(primitive: string): ServiceCategory;
|
|
9
|
-
/**
|
|
10
|
-
* Valida que el valor sea una categoría de servicio válida.
|
|
11
|
-
*/
|
|
12
|
-
private validateServiceCategory;
|
|
13
|
-
/**
|
|
14
|
-
* Verifica si es una categoría de huella de carbono.
|
|
15
|
-
*/
|
|
16
|
-
isCarbonFootprintCategory(): boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Verifica si es huella corporativa.
|
|
19
|
-
*/
|
|
20
|
-
isCorporateFootprint(): boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Verifica si es huella de producto.
|
|
23
|
-
*/
|
|
24
|
-
isProductFootprint(): boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Verifica si es huella de evento.
|
|
27
|
-
*/
|
|
28
|
-
isEventFootprint(): boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Verifica si es soporte experto.
|
|
31
|
-
*/
|
|
32
|
-
isExpertSupport(): boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Verifica si es entrenamiento.
|
|
35
|
-
*/
|
|
36
|
-
isTraining(): boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Verifica si es soporte de auditoría.
|
|
39
|
-
*/
|
|
40
|
-
isAuditSupport(): boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Verifica si es validación de datos.
|
|
43
|
-
*/
|
|
44
|
-
isDataValidation(): boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Verifica si es reportería.
|
|
47
|
-
*/
|
|
48
|
-
isReporting(): boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Verifica si es lectura de documentos.
|
|
51
|
-
*/
|
|
52
|
-
isDocumentReading(): boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Verifica si es comparación sectorial.
|
|
55
|
-
*/
|
|
56
|
-
isSectoralComparison(): boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Verifica si es usuarios adicionales.
|
|
59
|
-
*/
|
|
60
|
-
isAdditionalUsers(): boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Verifica si es CarbonBox Academy.
|
|
63
|
-
*/
|
|
64
|
-
isCarbonBoxAcademy(): boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Verifica si es indicadores ESG.
|
|
67
|
-
*/
|
|
68
|
-
isESGIndicators(): boolean;
|
|
69
|
-
/**
|
|
70
|
-
* Verifica si es compensación de carbono.
|
|
71
|
-
*/
|
|
72
|
-
isCarbonOffsetting(): boolean;
|
|
73
|
-
/**
|
|
74
|
-
* Verifica si es una categoría de soporte técnico.
|
|
75
|
-
*/
|
|
76
|
-
isTechnicalSupportCategory(): boolean;
|
|
77
|
-
/**
|
|
78
|
-
* Verifica si es una categoría de características de plataforma.
|
|
79
|
-
*/
|
|
80
|
-
isPlatformFeatureCategory(): boolean;
|
|
81
|
-
/**
|
|
82
|
-
* Verifica si es una categoría de extensión de usuarios.
|
|
83
|
-
*/
|
|
84
|
-
isUserExtensionCategory(): boolean;
|
|
85
|
-
/**
|
|
86
|
-
* Verifica si es una categoría de sostenibilidad avanzada.
|
|
87
|
-
*/
|
|
88
|
-
isAdvancedSustainabilityCategory(): boolean;
|
|
89
|
-
/**
|
|
90
|
-
* Obtiene las categorías de servicio válidas.
|
|
91
|
-
*/
|
|
92
|
-
static getValidServiceCategories(): readonly ServiceCategoryEnum[];
|
|
93
|
-
/**
|
|
94
|
-
* Verifica si un valor es una categoría de servicio válida.
|
|
95
|
-
*/
|
|
96
|
-
static isValidServiceCategory(value: string): boolean;
|
|
97
|
-
/**
|
|
98
|
-
* Obtiene el tipo de categoría principal.
|
|
99
|
-
*/
|
|
100
|
-
getCategoryType(): 'footprint' | 'support' | 'platform' | 'user_extension' | 'sustainability' | 'reporting';
|
|
101
|
-
/**
|
|
102
|
-
* Obtiene la descripción de la categoría.
|
|
103
|
-
*/
|
|
104
|
-
getDescription(): string;
|
|
105
|
-
/**
|
|
106
|
-
* Obtiene las características de la categoría.
|
|
107
|
-
*/
|
|
108
|
-
getCharacteristics(): {
|
|
109
|
-
isCarbonFootprintCategory: boolean;
|
|
110
|
-
isTechnicalSupportCategory: boolean;
|
|
111
|
-
isPlatformFeatureCategory: boolean;
|
|
112
|
-
isUserExtensionCategory: boolean;
|
|
113
|
-
isAdvancedSustainabilityCategory: boolean;
|
|
114
|
-
categoryType: string;
|
|
115
|
-
};
|
|
116
|
-
toPrimitives(): string;
|
|
117
|
-
toEnum(): ServiceCategoryEnum;
|
|
118
|
-
/**
|
|
119
|
-
* Representación como string descriptiva.
|
|
120
|
-
*/
|
|
121
|
-
toString(): string;
|
|
122
|
-
}
|
|
123
|
-
//# sourceMappingURL=ServiceCategory.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceCategory.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCategory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gDAAgD,CAAC;AACxE,OAAO,EAAE,eAAe,IAAI,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAGlF,qBAAa,eACX,SAAQ,MAAM;IACd,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAc;IAGnD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,wBAAwB,CAA6D;IAE7G,OAAO;WAQgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,eAAe;WAOtC,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,eAAe;IAMzE;;OAEG;IACH,OAAO,CAAC,uBAAuB;IAS/B;;OAEG;IACI,yBAAyB,IAAI,OAAO;IAI3C;;OAEG;IACI,oBAAoB,IAAI,OAAO;IAItC;;OAEG;IACI,kBAAkB,IAAI,OAAO;IAIpC;;OAEG;IACI,gBAAgB,IAAI,OAAO;IAIlC;;OAEG;IACI,eAAe,IAAI,OAAO;IAIjC;;OAEG;IACI,UAAU,IAAI,OAAO;IAI5B;;OAEG;IACI,cAAc,IAAI,OAAO;IAIhC;;OAEG;IACI,gBAAgB,IAAI,OAAO;IAIlC;;OAEG;IACI,WAAW,IAAI,OAAO;IAI7B;;OAEG;IACI,iBAAiB,IAAI,OAAO;IAInC;;OAEG;IACI,oBAAoB,IAAI,OAAO;IAItC;;OAEG;IACI,iBAAiB,IAAI,OAAO;IAInC;;OAEG;IACI,kBAAkB,IAAI,OAAO;IAIpC;;OAEG;IACI,eAAe,IAAI,OAAO;IAIjC;;OAEG;IACI,kBAAkB,IAAI,OAAO;IAIpC;;OAEG;IACI,0BAA0B,IAAI,OAAO;IAI5C;;OAEG;IACI,yBAAyB,IAAI,OAAO;IAI3C;;OAEG;IACI,uBAAuB,IAAI,OAAO;IAIzC;;OAEG;IACI,gCAAgC,IAAI,OAAO;IAIlD;;OAEG;WACW,yBAAyB,IAAI,SAAS,mBAAmB,EAAE;IAIzE;;OAEG;WACW,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;IAI5D;;OAEG;IACI,eAAe,IAAI,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,gBAAgB,GAAG,gBAAgB,GAAG,WAAW;IAYlH;;OAEG;IACI,cAAc,IAAI,MAAM;IAqB/B;;OAEG;IACI,kBAAkB,IAAI;QAC3B,yBAAyB,EAAE,OAAO,CAAC;QACnC,0BAA0B,EAAE,OAAO,CAAC;QACpC,yBAAyB,EAAE,OAAO,CAAC;QACnC,uBAAuB,EAAE,OAAO,CAAC;QACjC,gCAAgC,EAAE,OAAO,CAAC;QAC1C,YAAY,EAAE,MAAM,CAAC;KACtB;IAWe,YAAY,IAAI,MAAM;IAI/B,MAAM,IAAI,mBAAmB;IAIpC;;OAEG;IACa,QAAQ,IAAI,MAAM;CAoBnC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Code } from '../../../../shared/domain/value-objects/Code';
|
|
2
|
-
export declare class ServiceCode extends Code {
|
|
3
|
-
private static readonly PROPERTY_NAME;
|
|
4
|
-
private constructor();
|
|
5
|
-
static create(value: string): ServiceCode;
|
|
6
|
-
static fromPrimitives(primitive: string): ServiceCode;
|
|
7
|
-
toPrimitives(): string;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=ServiceCode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceCode.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,8CAA8C,CAAC;AAEpE,qBAAa,WACX,SAAQ,IAAI;IACZ,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAU;IAE/C,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,WAAW;WAQlC,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW;IAMrD,YAAY,IAAI,MAAM;CAGvC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { StakeholderReference } from '../../../../shared/domain/types/StakeholderReference';
|
|
2
|
-
import { StakeholderReferencePrimitives } from '../../../../shared/domain/types/StakeholderReferencePrimitives';
|
|
3
|
-
import { StakeholderReference as StakeholderReferenceVO } from '../../../../shared/domain/value-objects/StakeholderReference';
|
|
4
|
-
export declare class ServiceCreatedByStakeholder extends StakeholderReferenceVO {
|
|
5
|
-
private static readonly PROPERTY_NAME;
|
|
6
|
-
private constructor();
|
|
7
|
-
static create(value: StakeholderReference): ServiceCreatedByStakeholder;
|
|
8
|
-
static fromPrimitives(primitives: StakeholderReferencePrimitives): ServiceCreatedByStakeholder;
|
|
9
|
-
toPrimitives(): StakeholderReferencePrimitives;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=ServiceCreatedByStakeholder.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceCreatedByStakeholder.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCreatedByStakeholder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sDAAsD,CAAC;AAC5F,OAAO,EAAE,8BAA8B,EAAE,MAAM,gEAAgE,CAAC;AAChH,OAAO,EAAE,oBAAoB,IAAI,sBAAsB,EAAE,MAAM,8DAA8D,CAAC;AAE9H,qBAAa,2BACX,SAAQ,sBAAsB;IAC9B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAA0B;IAE/D,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,oBAAoB,GAAG,2BAA2B;WAIhE,cAAc,CAAC,UAAU,EAAE,8BAA8B,GAAG,2BAA2B;IAW9F,YAAY,IAAI,8BAA8B;CAG/D"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { NullableCode } from '../../../../shared/domain/value-objects/NullableCode';
|
|
2
|
-
export declare class ServiceDependsOnServiceCode extends NullableCode {
|
|
3
|
-
private static readonly PROPERTY_NAME;
|
|
4
|
-
private constructor();
|
|
5
|
-
static create(value: string | null): ServiceDependsOnServiceCode;
|
|
6
|
-
static fromPrimitives(primitive: string | null): ServiceDependsOnServiceCode;
|
|
7
|
-
toPrimitives(): string | null;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=ServiceDependsOnServiceCode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceDependsOnServiceCode.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceDependsOnServiceCode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sDAAsD,CAAC;AAEpF,qBAAa,2BACX,SAAQ,YAAY;IACpB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAA0B;IAE/D,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,2BAA2B;WAIzD,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,2BAA2B;IAM5E,YAAY,IAAI,MAAM,GAAG,IAAI;CAG9C"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { String } from '../../../../shared/domain/value-objects/String';
|
|
2
|
-
export declare class ServiceDescription extends String {
|
|
3
|
-
private static readonly PROPERTY_NAME;
|
|
4
|
-
private constructor();
|
|
5
|
-
static create(value: string): ServiceDescription;
|
|
6
|
-
static fromPrimitives(primitive: string): ServiceDescription;
|
|
7
|
-
toPrimitives(): string;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=ServiceDescription.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceDescription.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceDescription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gDAAgD,CAAC;AAExE,qBAAa,kBACX,SAAQ,MAAM;IACd,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAiB;IAEtD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,kBAAkB;WAOzC,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,kBAAkB;IAM5D,YAAY,IAAI,MAAM;CAGvC"}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { NullableString } from '../../../../shared/domain/value-objects/NullableString';
|
|
2
|
-
import { ExpertDedicationLevel } from '../enums/ExpertDedicationLevel';
|
|
3
|
-
export declare class ServiceExpertDedicationLevel extends NullableString {
|
|
4
|
-
private static readonly PROPERTY_NAME;
|
|
5
|
-
private static readonly VALID_DEDICATION_LEVELS;
|
|
6
|
-
private constructor();
|
|
7
|
-
static create(value: string | null): ServiceExpertDedicationLevel;
|
|
8
|
-
static fromPrimitives(primitive: string | null): ServiceExpertDedicationLevel;
|
|
9
|
-
/**
|
|
10
|
-
* Valida que el valor sea un nivel de dedicación de experto válido cuando no es null.
|
|
11
|
-
*/
|
|
12
|
-
private validateExpertDedicationLevel;
|
|
13
|
-
/**
|
|
14
|
-
* Verifica si es dedicación completa (full time).
|
|
15
|
-
*/
|
|
16
|
-
isFullTime(): boolean | null;
|
|
17
|
-
/**
|
|
18
|
-
* Verifica si es dedicación de 80 horas.
|
|
19
|
-
*/
|
|
20
|
-
isEightyHours(): boolean | null;
|
|
21
|
-
/**
|
|
22
|
-
* Verifica si es dedicación de 40 horas.
|
|
23
|
-
*/
|
|
24
|
-
isFortyHours(): boolean | null;
|
|
25
|
-
/**
|
|
26
|
-
* Verifica si es dedicación de 20 horas.
|
|
27
|
-
*/
|
|
28
|
-
isTwentyHours(): boolean | null;
|
|
29
|
-
/**
|
|
30
|
-
* Verifica si es una dedicación alta (full time o 80 horas).
|
|
31
|
-
*/
|
|
32
|
-
isHighDedication(): boolean | null;
|
|
33
|
-
/**
|
|
34
|
-
* Verifica si es una dedicación baja (20 o 40 horas).
|
|
35
|
-
*/
|
|
36
|
-
isLowDedication(): boolean | null;
|
|
37
|
-
/**
|
|
38
|
-
* Verifica si es dedicación de tiempo parcial (no full time).
|
|
39
|
-
*/
|
|
40
|
-
isPartTime(): boolean | null;
|
|
41
|
-
/**
|
|
42
|
-
* Obtiene las horas aproximadas de dedicación.
|
|
43
|
-
*/
|
|
44
|
-
getApproximateHours(): number | null;
|
|
45
|
-
/**
|
|
46
|
-
* Obtiene el nivel de intensidad de la dedicación.
|
|
47
|
-
*/
|
|
48
|
-
getIntensityLevel(): 'high' | 'medium' | 'low' | null;
|
|
49
|
-
/**
|
|
50
|
-
* Obtiene los niveles de dedicación válidos.
|
|
51
|
-
*/
|
|
52
|
-
static getValidDedicationLevels(): readonly ExpertDedicationLevel[];
|
|
53
|
-
/**
|
|
54
|
-
* Verifica si un valor es un nivel de dedicación válido.
|
|
55
|
-
*/
|
|
56
|
-
static isValidDedicationLevel(value: string): boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Obtiene la descripción del nivel de dedicación.
|
|
59
|
-
*/
|
|
60
|
-
getDescription(): string | null;
|
|
61
|
-
/**
|
|
62
|
-
* Obtiene el factor de costo relativo (basado en horas).
|
|
63
|
-
*/
|
|
64
|
-
getCostFactor(): number | null;
|
|
65
|
-
/**
|
|
66
|
-
* Verifica si requiere aprobación especial (dedicaciones altas).
|
|
67
|
-
*/
|
|
68
|
-
requiresSpecialApproval(): boolean | null;
|
|
69
|
-
/**
|
|
70
|
-
* Obtiene las características del nivel de dedicación.
|
|
71
|
-
*/
|
|
72
|
-
getCharacteristics(): {
|
|
73
|
-
isFullTime: boolean;
|
|
74
|
-
isPartTime: boolean;
|
|
75
|
-
isHighDedication: boolean;
|
|
76
|
-
isLowDedication: boolean;
|
|
77
|
-
approximateHours: number;
|
|
78
|
-
intensityLevel: string;
|
|
79
|
-
costFactor: number;
|
|
80
|
-
requiresSpecialApproval: boolean;
|
|
81
|
-
} | null;
|
|
82
|
-
/**
|
|
83
|
-
* Convierte a enum para uso tipado.
|
|
84
|
-
*/
|
|
85
|
-
toEnum(): ExpertDedicationLevel | null;
|
|
86
|
-
toPrimitives(): string | null;
|
|
87
|
-
/**
|
|
88
|
-
* Representación como string descriptiva.
|
|
89
|
-
*/
|
|
90
|
-
toString(): string;
|
|
91
|
-
}
|
|
92
|
-
//# sourceMappingURL=ServiceExpertDedicationLevel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceExpertDedicationLevel.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceExpertDedicationLevel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wDAAwD,CAAC;AACxF,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAGvE,qBAAa,4BACX,SAAQ,cAAc;IACtB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAA2B;IAGhE,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,uBAAuB,CAAiE;IAEhH,OAAO;WAQgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,4BAA4B;WAI1D,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,4BAA4B;IAM7F;;OAEG;IACH,OAAO,CAAC,6BAA6B;IASrC;;OAEG;IACI,UAAU,IAAI,OAAO,GAAG,IAAI;IAKnC;;OAEG;IACI,aAAa,IAAI,OAAO,GAAG,IAAI;IAKtC;;OAEG;IACI,YAAY,IAAI,OAAO,GAAG,IAAI;IAKrC;;OAEG;IACI,aAAa,IAAI,OAAO,GAAG,IAAI;IAKtC;;OAEG;IACI,gBAAgB,IAAI,OAAO,GAAG,IAAI;IAKzC;;OAEG;IACI,eAAe,IAAI,OAAO,GAAG,IAAI;IAKxC;;OAEG;IACI,UAAU,IAAI,OAAO,GAAG,IAAI;IAKnC;;OAEG;IACI,mBAAmB,IAAI,MAAM,GAAG,IAAI;IAiB3C;;OAEG;IACI,iBAAiB,IAAI,MAAM,GAAG,QAAQ,GAAG,KAAK,GAAG,IAAI;IAW5D;;OAEG;WACW,wBAAwB,IAAI,SAAS,qBAAqB,EAAE;IAI1E;;OAEG;WACW,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;IAI5D;;OAEG;IACI,cAAc,IAAI,MAAM,GAAG,IAAI;IAatC;;OAEG;IACI,aAAa,IAAI,MAAM,GAAG,IAAI;IAWrC;;OAEG;IACI,uBAAuB,IAAI,OAAO,GAAG,IAAI;IAKhD;;OAEG;IACI,kBAAkB,IAAI;QAC3B,UAAU,EAAE,OAAO,CAAC;QACpB,UAAU,EAAE,OAAO,CAAC;QACpB,gBAAgB,EAAE,OAAO,CAAC;QAC1B,eAAe,EAAE,OAAO,CAAC;QACzB,gBAAgB,EAAE,MAAM,CAAC;QACzB,cAAc,EAAE,MAAM,CAAC;QACvB,UAAU,EAAE,MAAM,CAAC;QACnB,uBAAuB,EAAE,OAAO,CAAC;KAClC,GAAG,IAAI;IAeR;;OAEG;IACI,MAAM,IAAI,qBAAqB,GAAG,IAAI;IAK7B,YAAY,IAAI,MAAM,GAAG,IAAI;IAI7C;;OAEG;IACa,QAAQ,IAAI,MAAM;CAYnC"}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { NullableNumeric } from '../../../../shared/domain/value-objects/NullableNumeric';
|
|
2
|
-
export declare class ServiceFixedPriceAmount extends NullableNumeric {
|
|
3
|
-
private static readonly PROPERTY_NAME;
|
|
4
|
-
private static readonly FIXED_PRICE_OPTIONS;
|
|
5
|
-
private constructor();
|
|
6
|
-
static create(value: number | null): ServiceFixedPriceAmount;
|
|
7
|
-
static fromPrimitives(primitive: number | null): ServiceFixedPriceAmount;
|
|
8
|
-
/**
|
|
9
|
-
* Verifica si es un servicio gratuito.
|
|
10
|
-
*/
|
|
11
|
-
isFree(): boolean | null;
|
|
12
|
-
/**
|
|
13
|
-
* Verifica si es un precio bajo (menos de $100).
|
|
14
|
-
*/
|
|
15
|
-
isLowPrice(): boolean | null;
|
|
16
|
-
/**
|
|
17
|
-
* Verifica si es un precio medio (entre $100 y $1000).
|
|
18
|
-
*/
|
|
19
|
-
isMediumPrice(): boolean | null;
|
|
20
|
-
/**
|
|
21
|
-
* Verifica si es un precio alto (más de $1000).
|
|
22
|
-
*/
|
|
23
|
-
isHighPrice(): boolean | null;
|
|
24
|
-
/**
|
|
25
|
-
* Verifica si es un precio premium (más de $10000).
|
|
26
|
-
*/
|
|
27
|
-
isPremiumPrice(): boolean | null;
|
|
28
|
-
/**
|
|
29
|
-
* Obtiene el precio formateado como moneda.
|
|
30
|
-
*/
|
|
31
|
-
getFormattedPrice(currencySymbol?: string): string | null;
|
|
32
|
-
/**
|
|
33
|
-
* Obtiene el precio en miles (para display).
|
|
34
|
-
*/
|
|
35
|
-
getPriceInThousands(): number | null;
|
|
36
|
-
/**
|
|
37
|
-
* Calcula el precio con impuestos.
|
|
38
|
-
*/
|
|
39
|
-
calculatePriceWithTax(taxRate: number): number | null;
|
|
40
|
-
/**
|
|
41
|
-
* Calcula un descuento sobre el precio fijo.
|
|
42
|
-
*/
|
|
43
|
-
applyDiscount(discountPercentage: number): number | null;
|
|
44
|
-
/**
|
|
45
|
-
* Obtiene la categoría de precio.
|
|
46
|
-
*/
|
|
47
|
-
getPriceCategory(): 'free' | 'low' | 'medium' | 'high' | 'premium' | null;
|
|
48
|
-
/**
|
|
49
|
-
* Verifica si el precio requiere aprobación especial.
|
|
50
|
-
*/
|
|
51
|
-
requiresSpecialApproval(): boolean | null;
|
|
52
|
-
/**
|
|
53
|
-
* Obtiene una descripción del nivel de precio.
|
|
54
|
-
*/
|
|
55
|
-
getPriceDescription(): string | null;
|
|
56
|
-
/**
|
|
57
|
-
* Compara con otro precio fijo.
|
|
58
|
-
*/
|
|
59
|
-
compareWith(other: ServiceFixedPriceAmount): number | null;
|
|
60
|
-
/**
|
|
61
|
-
* Verifica si está dentro de un rango de precios.
|
|
62
|
-
*/
|
|
63
|
-
isWithinRange(minPrice: number, maxPrice: number): boolean | null;
|
|
64
|
-
/**
|
|
65
|
-
* Obtiene las características del precio.
|
|
66
|
-
*/
|
|
67
|
-
getCharacteristics(): {
|
|
68
|
-
isFree: boolean;
|
|
69
|
-
isLowPrice: boolean;
|
|
70
|
-
isMediumPrice: boolean;
|
|
71
|
-
isHighPrice: boolean;
|
|
72
|
-
isPremiumPrice: boolean;
|
|
73
|
-
priceCategory: string;
|
|
74
|
-
requiresSpecialApproval: boolean;
|
|
75
|
-
formattedPrice: string;
|
|
76
|
-
} | null;
|
|
77
|
-
toPrimitives(): number | null;
|
|
78
|
-
/**
|
|
79
|
-
* Representación como string descriptiva.
|
|
80
|
-
*/
|
|
81
|
-
toString(): string;
|
|
82
|
-
}
|
|
83
|
-
//# sourceMappingURL=ServiceFixedPriceAmount.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceFixedPriceAmount.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceFixedPriceAmount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,yDAAyD,CAAC;AAG1F,qBAAa,uBACX,SAAQ,eAAe;IACvB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAsB;IAE3D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,mBAAmB,CAOzC;IAEF,OAAO;WASgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,uBAAuB;WAIrD,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,uBAAuB;IAMxF;;OAEG;IACI,MAAM,IAAI,OAAO,GAAG,IAAI;IAK/B;;OAEG;IACI,UAAU,IAAI,OAAO,GAAG,IAAI;IAKnC;;OAEG;IACI,aAAa,IAAI,OAAO,GAAG,IAAI;IAKtC;;OAEG;IACI,WAAW,IAAI,OAAO,GAAG,IAAI;IAKpC;;OAEG;IACI,cAAc,IAAI,OAAO,GAAG,IAAI;IAKvC;;OAEG;IACI,iBAAiB,CAAC,cAAc,GAAE,MAAY,GAAG,MAAM,GAAG,IAAI;IAQrE;;OAEG;IACI,mBAAmB,IAAI,MAAM,GAAG,IAAI;IAK3C;;OAEG;IACI,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAO5D;;OAEG;IACI,aAAa,CAAC,kBAAkB,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAQ/D;;OAEG;IACI,gBAAgB,IAAI,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,IAAI;IAYhF;;OAEG;IACI,uBAAuB,IAAI,OAAO,GAAG,IAAI;IAMhD;;OAEG;IACI,mBAAmB,IAAI,MAAM,GAAG,IAAI;IAe3C;;OAEG;IACI,WAAW,CAAC,KAAK,EAAE,uBAAuB,GAAG,MAAM,GAAG,IAAI;IAKjE;;OAEG;IACI,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI;IAKxE;;OAEG;IACI,kBAAkB,IAAI;QAC3B,MAAM,EAAE,OAAO,CAAC;QAChB,UAAU,EAAE,OAAO,CAAC;QACpB,aAAa,EAAE,OAAO,CAAC;QACvB,WAAW,EAAE,OAAO,CAAC;QACrB,cAAc,EAAE,OAAO,CAAC;QACxB,aAAa,EAAE,MAAM,CAAC;QACtB,uBAAuB,EAAE,OAAO,CAAC;QACjC,cAAc,EAAE,MAAM,CAAC;KACxB,GAAG,IAAI;IAeQ,YAAY,IAAI,MAAM,GAAG,IAAI;IAI7C;;OAEG;IACa,QAAQ,IAAI,MAAM;CAInC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Boolean } from '../../../../shared/domain/value-objects/Boolean';
|
|
2
|
-
export declare class ServiceHasBasePrice extends Boolean {
|
|
3
|
-
private static readonly PROPERTY_NAME;
|
|
4
|
-
private constructor();
|
|
5
|
-
static create(value: boolean): ServiceHasBasePrice;
|
|
6
|
-
static fromPrimitives(primitive: boolean): ServiceHasBasePrice;
|
|
7
|
-
toPrimitives(): boolean;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=ServiceHasBasePrice.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceHasBasePrice.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceHasBasePrice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iDAAiD,CAAC;AAE1E,qBAAa,mBACX,SAAQ,OAAO;IACf,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAkB;IAEvD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,OAAO,GAAG,mBAAmB;WAM3C,cAAc,CAAC,SAAS,EAAE,OAAO,GAAG,mBAAmB;IAM9D,YAAY,IAAI,OAAO;CAGxC"}
|