@carbonbox/domain 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/build/carbonbox/activity-data-collection/activity-data-submissions/domain/value-objects/ActivityDataSubmissionId.js +28 -0
  2. package/build/carbonbox/activity-data-collection/collection-fields/domain/value-objects/CollectionFieldId.js +28 -0
  3. package/build/carbonbox/activity-data-collection/conditional-logic/domain/value-objects/ConditionalFieldRuleId.js +24 -0
  4. package/build/carbonbox/activity-data-collection/contextual-labels/domain/value-objects/ContextualLabelId.js +24 -0
  5. package/build/carbonbox/activity-data-collection/dynamic-forms/domain/value-objects/DynamicFormId.js +24 -0
  6. package/build/carbonbox/activity-data-collection/stakeholder-adaptations/domain/value-objects/StakeholderAdaptationId.js +24 -0
  7. package/build/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/domain/value-objects/CorporateCarbonFootprintSegmentConfigurationId.js +30 -2
  8. package/build/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/segments/domain/value-objects/CorporateConfigurationCarbonFootprintSegmentId.js +32 -1
  9. package/build/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/segments/subsegments/domain/value-objects/CorporateConfigurationCarbonFootprintSubsegmentId.js +32 -1
  10. package/build/carbonbox/carbon-footprint-configurations/corporate-configurations/domain/value-objects/CorporateCarbonFootprintConfigurationId.js +24 -0
  11. package/build/carbonbox/carbon-footprint-configurations/event-configurations/domain/value-objects/EventCarbonFootprintConfigurationId.js +24 -0
  12. package/build/carbonbox/carbon-footprint-configurations/event-configurations/event-edition-lifecycle-stage-configurations/domain/value-objects/EventEditionLifecycleStageConfigurationId.js +30 -2
  13. package/build/carbonbox/carbon-footprint-configurations/event-configurations/event-edition-lifecycle-stage-configurations/event-edition-lifecycle-stages/domain/value-objects/EventEditionLifecycleStageId.js +30 -2
  14. 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
  15. package/build/carbonbox/carbon-footprint-configurations/product-configurations/domain/value-objects/ProductCarbonFootprintConfigurationId.js +24 -0
  16. package/build/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/domain/value-objects/ProductCarbonFootprintSegmentConfigurationId.js +29 -1
  17. package/build/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/segments/domain/value-objects/ProductConfigurationCarbonFootprintSegmentId.js +32 -1
  18. package/build/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/segments/subsegments/domain/value-objects/ProductConfigurationCarbonFootprintSubsegmentId.js +32 -1
  19. package/build/carbonbox/carbon-footprint-configurations/product-configurations/system-boundaries/domain/value-objects/ProductConfigurationSystemBoundaryId.js +29 -1
  20. package/build/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintIntensityIndicatorId.js +29 -1
  21. package/build/carbonbox/company-resources/events/domain/value-objects/EventId.js +28 -0
  22. package/build/carbonbox/company-resources/events/editions/domain/value-objects/EventEditionId.js +28 -0
  23. package/build/carbonbox/company-resources/facilities/domain/value-objects/FacilityId.js +29 -1
  24. package/build/carbonbox/company-resources/products/domain/value-objects/ProductId.js +29 -1
  25. package/build/carbonbox/emission-calculation-formulas/calculation-variables/domain/value-objects/CalculationVariableId.js +28 -0
  26. package/build/carbonbox/emission-calculation-formulas/emission-factors/domain/value-objects/EmissionFactorId.js +28 -0
  27. package/build/carbonbox/emission-calculation-formulas/global-warming-potentials/domain/value-objects/GlobalWarmingPotentialId.js +28 -0
  28. package/build/carbonbox/emission-calculation-process/calculation-jobs/domain/value-objects/CalculationJobId.js +28 -0
  29. package/build/carbonbox/emission-calculation-process/calculation-processes/domain/value-objects/CalculationProcessId.js +28 -0
  30. package/build/carbonbox/emission-calculation-process/calculation-workflows/domain/value-objects/CalculationWorkflowId.js +28 -0
  31. package/build/carbonbox/emission-calculation-results/emission-aggregations/domain/value-objects/EmissionAggregationId.js +28 -0
  32. package/build/carbonbox/emission-calculation-results/emission-calculations/domain/value-objects/EmissionCalculationId.js +28 -0
  33. package/build/carbonbox/emission-calculation-results/ghg-emission-results/domain/value-objects/GHGEmissionResultId.js +28 -0
  34. package/build/carbonbox/purchase-management-system/purchase-contracts/domain/value-objects/PurchaseContractId.js +28 -0
  35. package/build/carbonbox/purchase-management-system/purchase-orders/domain/value-objects/PurchaseOrderId.js +28 -0
  36. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogId.js +28 -0
  37. package/build/carbonbox/purchase-management-system/service-pricing/domain/value-objects/ServicePricingId.js +28 -0
  38. package/build/carbonbox/shared/domain/enums/SemanticUuidPrefix.js +16 -0
  39. package/build/carbonbox/shared/domain/exceptions/InvalidAggregatePrefixError.js +31 -0
  40. package/build/carbonbox/shared/domain/value-objects/UserId.js +0 -5
  41. package/build/carbonbox/stakeholders/carbon-clients/domain/value-objects/CarbonClientId.js +28 -0
  42. package/build/carbonbox/stakeholders/carbon-coordinators/domain/value-objects/CarbonCoordinatorId.js +28 -0
  43. package/build/carbonbox/stakeholders/carbon-host/domain/value-objects/CarbonHostId.js +28 -0
  44. package/build/carbonbox/stakeholders/carbon-managers/domain/value-objects/CarbonManagerId.js +28 -0
  45. package/build/types/carbonbox/activity-data-collection/activity-data-submissions/domain/value-objects/ActivityDataSubmissionId.d.ts +5 -0
  46. package/build/types/carbonbox/activity-data-collection/activity-data-submissions/domain/value-objects/ActivityDataSubmissionId.d.ts.map +1 -1
  47. package/build/types/carbonbox/activity-data-collection/collection-fields/domain/value-objects/CollectionFieldId.d.ts +5 -0
  48. package/build/types/carbonbox/activity-data-collection/collection-fields/domain/value-objects/CollectionFieldId.d.ts.map +1 -1
  49. package/build/types/carbonbox/activity-data-collection/conditional-logic/domain/value-objects/ConditionalFieldRuleId.d.ts +2 -0
  50. package/build/types/carbonbox/activity-data-collection/conditional-logic/domain/value-objects/ConditionalFieldRuleId.d.ts.map +1 -1
  51. package/build/types/carbonbox/activity-data-collection/contextual-labels/domain/value-objects/ContextualLabelId.d.ts +2 -0
  52. package/build/types/carbonbox/activity-data-collection/contextual-labels/domain/value-objects/ContextualLabelId.d.ts.map +1 -1
  53. package/build/types/carbonbox/activity-data-collection/dynamic-forms/domain/value-objects/DynamicFormId.d.ts +2 -0
  54. package/build/types/carbonbox/activity-data-collection/dynamic-forms/domain/value-objects/DynamicFormId.d.ts.map +1 -1
  55. package/build/types/carbonbox/activity-data-collection/stakeholder-adaptations/domain/value-objects/StakeholderAdaptationId.d.ts +2 -0
  56. package/build/types/carbonbox/activity-data-collection/stakeholder-adaptations/domain/value-objects/StakeholderAdaptationId.d.ts.map +1 -1
  57. package/build/types/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/domain/value-objects/CorporateCarbonFootprintSegmentConfigurationId.d.ts +5 -0
  58. package/build/types/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/domain/value-objects/CorporateCarbonFootprintSegmentConfigurationId.d.ts.map +1 -1
  59. package/build/types/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/segments/domain/value-objects/CorporateConfigurationCarbonFootprintSegmentId.d.ts +5 -0
  60. package/build/types/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/segments/domain/value-objects/CorporateConfigurationCarbonFootprintSegmentId.d.ts.map +1 -1
  61. package/build/types/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/segments/subsegments/domain/value-objects/CorporateConfigurationCarbonFootprintSubsegmentId.d.ts +5 -0
  62. package/build/types/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/segments/subsegments/domain/value-objects/CorporateConfigurationCarbonFootprintSubsegmentId.d.ts.map +1 -1
  63. package/build/types/carbonbox/carbon-footprint-configurations/corporate-configurations/domain/value-objects/CorporateCarbonFootprintConfigurationId.d.ts +2 -0
  64. package/build/types/carbonbox/carbon-footprint-configurations/corporate-configurations/domain/value-objects/CorporateCarbonFootprintConfigurationId.d.ts.map +1 -1
  65. package/build/types/carbonbox/carbon-footprint-configurations/event-configurations/domain/value-objects/EventCarbonFootprintConfigurationId.d.ts +2 -0
  66. package/build/types/carbonbox/carbon-footprint-configurations/event-configurations/domain/value-objects/EventCarbonFootprintConfigurationId.d.ts.map +1 -1
  67. package/build/types/carbonbox/carbon-footprint-configurations/event-configurations/event-edition-lifecycle-stage-configurations/domain/value-objects/EventEditionLifecycleStageConfigurationId.d.ts +5 -0
  68. package/build/types/carbonbox/carbon-footprint-configurations/event-configurations/event-edition-lifecycle-stage-configurations/domain/value-objects/EventEditionLifecycleStageConfigurationId.d.ts.map +1 -1
  69. 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
  70. 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
  71. 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
  72. 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
  73. package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/domain/value-objects/ProductCarbonFootprintConfigurationId.d.ts +2 -0
  74. package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/domain/value-objects/ProductCarbonFootprintConfigurationId.d.ts.map +1 -1
  75. package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/domain/value-objects/ProductCarbonFootprintSegmentConfigurationId.d.ts +5 -0
  76. package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/domain/value-objects/ProductCarbonFootprintSegmentConfigurationId.d.ts.map +1 -1
  77. package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/segments/domain/value-objects/ProductConfigurationCarbonFootprintSegmentId.d.ts +5 -0
  78. package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/segments/domain/value-objects/ProductConfigurationCarbonFootprintSegmentId.d.ts.map +1 -1
  79. package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/segments/subsegments/domain/value-objects/ProductConfigurationCarbonFootprintSubsegmentId.d.ts +5 -0
  80. package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/segments/subsegments/domain/value-objects/ProductConfigurationCarbonFootprintSubsegmentId.d.ts.map +1 -1
  81. package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/system-boundaries/domain/value-objects/ProductConfigurationSystemBoundaryId.d.ts +5 -0
  82. package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/system-boundaries/domain/value-objects/ProductConfigurationSystemBoundaryId.d.ts.map +1 -1
  83. package/build/types/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintConfigurationId.d.ts +1 -1
  84. package/build/types/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintConfigurationId.d.ts.map +1 -1
  85. package/build/types/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintIntensityIndicatorId.d.ts +5 -0
  86. package/build/types/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintIntensityIndicatorId.d.ts.map +1 -1
  87. package/build/types/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintSegmentId.d.ts +1 -1
  88. package/build/types/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintSegmentId.d.ts.map +1 -1
  89. package/build/types/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintSubsegmentCode.d.ts +1 -1
  90. package/build/types/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintSubsegmentCode.d.ts.map +1 -1
  91. package/build/types/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintSubsegmentId.d.ts +1 -1
  92. package/build/types/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintSubsegmentId.d.ts.map +1 -1
  93. package/build/types/carbonbox/company-resources/events/domain/value-objects/EventId.d.ts +5 -0
  94. package/build/types/carbonbox/company-resources/events/domain/value-objects/EventId.d.ts.map +1 -1
  95. package/build/types/carbonbox/company-resources/events/editions/domain/value-objects/EventEditionId.d.ts +5 -0
  96. package/build/types/carbonbox/company-resources/events/editions/domain/value-objects/EventEditionId.d.ts.map +1 -1
  97. package/build/types/carbonbox/company-resources/facilities/domain/value-objects/FacilityId.d.ts +5 -0
  98. package/build/types/carbonbox/company-resources/facilities/domain/value-objects/FacilityId.d.ts.map +1 -1
  99. package/build/types/carbonbox/company-resources/products/domain/value-objects/ProductId.d.ts +5 -0
  100. package/build/types/carbonbox/company-resources/products/domain/value-objects/ProductId.d.ts.map +1 -1
  101. package/build/types/carbonbox/emission-calculation-formulas/calculation-variables/domain/value-objects/CalculationVariableId.d.ts +5 -0
  102. package/build/types/carbonbox/emission-calculation-formulas/calculation-variables/domain/value-objects/CalculationVariableId.d.ts.map +1 -1
  103. package/build/types/carbonbox/emission-calculation-formulas/emission-factors/domain/value-objects/EmissionFactorId.d.ts +5 -0
  104. package/build/types/carbonbox/emission-calculation-formulas/emission-factors/domain/value-objects/EmissionFactorId.d.ts.map +1 -1
  105. package/build/types/carbonbox/emission-calculation-formulas/global-warming-potentials/domain/value-objects/GlobalWarmingPotentialId.d.ts +5 -0
  106. package/build/types/carbonbox/emission-calculation-formulas/global-warming-potentials/domain/value-objects/GlobalWarmingPotentialId.d.ts.map +1 -1
  107. package/build/types/carbonbox/emission-calculation-process/calculation-jobs/domain/value-objects/CalculationJobId.d.ts +5 -0
  108. package/build/types/carbonbox/emission-calculation-process/calculation-jobs/domain/value-objects/CalculationJobId.d.ts.map +1 -1
  109. package/build/types/carbonbox/emission-calculation-process/calculation-processes/domain/value-objects/CalculationProcessId.d.ts +5 -0
  110. package/build/types/carbonbox/emission-calculation-process/calculation-processes/domain/value-objects/CalculationProcessId.d.ts.map +1 -1
  111. package/build/types/carbonbox/emission-calculation-process/calculation-workflows/domain/value-objects/CalculationWorkflowId.d.ts +5 -0
  112. package/build/types/carbonbox/emission-calculation-process/calculation-workflows/domain/value-objects/CalculationWorkflowId.d.ts.map +1 -1
  113. package/build/types/carbonbox/emission-calculation-results/emission-aggregations/domain/value-objects/EmissionAggregationId.d.ts +5 -0
  114. package/build/types/carbonbox/emission-calculation-results/emission-aggregations/domain/value-objects/EmissionAggregationId.d.ts.map +1 -1
  115. package/build/types/carbonbox/emission-calculation-results/emission-calculations/domain/value-objects/EmissionCalculationId.d.ts +5 -0
  116. package/build/types/carbonbox/emission-calculation-results/emission-calculations/domain/value-objects/EmissionCalculationId.d.ts.map +1 -1
  117. package/build/types/carbonbox/emission-calculation-results/ghg-emission-results/domain/value-objects/GHGEmissionResultId.d.ts +5 -0
  118. package/build/types/carbonbox/emission-calculation-results/ghg-emission-results/domain/value-objects/GHGEmissionResultId.d.ts.map +1 -1
  119. package/build/types/carbonbox/purchase-management-system/purchase-contracts/domain/value-objects/PurchaseContractId.d.ts +5 -0
  120. package/build/types/carbonbox/purchase-management-system/purchase-contracts/domain/value-objects/PurchaseContractId.d.ts.map +1 -1
  121. package/build/types/carbonbox/purchase-management-system/purchase-orders/domain/value-objects/PurchaseOrderId.d.ts +5 -0
  122. package/build/types/carbonbox/purchase-management-system/purchase-orders/domain/value-objects/PurchaseOrderId.d.ts.map +1 -1
  123. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogId.d.ts +5 -0
  124. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogId.d.ts.map +1 -1
  125. package/build/types/carbonbox/purchase-management-system/service-pricing/domain/value-objects/ServicePricingId.d.ts +5 -0
  126. package/build/types/carbonbox/purchase-management-system/service-pricing/domain/value-objects/ServicePricingId.d.ts.map +1 -1
  127. package/build/types/carbonbox/shared/domain/enums/SemanticUuidPrefix.d.ts +15 -0
  128. package/build/types/carbonbox/shared/domain/enums/SemanticUuidPrefix.d.ts.map +1 -1
  129. package/build/types/carbonbox/shared/domain/exceptions/InvalidAggregatePrefixError.d.ts +20 -0
  130. package/build/types/carbonbox/shared/domain/exceptions/InvalidAggregatePrefixError.d.ts.map +1 -0
  131. package/build/types/carbonbox/shared/domain/value-objects/UserId.d.ts +0 -4
  132. package/build/types/carbonbox/shared/domain/value-objects/UserId.d.ts.map +1 -1
  133. package/build/types/carbonbox/stakeholders/carbon-clients/domain/value-objects/CarbonClientId.d.ts +5 -0
  134. package/build/types/carbonbox/stakeholders/carbon-clients/domain/value-objects/CarbonClientId.d.ts.map +1 -1
  135. package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/value-objects/CarbonCoordinatorId.d.ts +5 -0
  136. package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/value-objects/CarbonCoordinatorId.d.ts.map +1 -1
  137. package/build/types/carbonbox/stakeholders/carbon-host/domain/value-objects/CarbonHostId.d.ts +5 -0
  138. package/build/types/carbonbox/stakeholders/carbon-host/domain/value-objects/CarbonHostId.d.ts.map +1 -1
  139. package/build/types/carbonbox/stakeholders/carbon-managers/domain/value-objects/CarbonManagerId.d.ts +5 -0
  140. package/build/types/carbonbox/stakeholders/carbon-managers/domain/value-objects/CarbonManagerId.d.ts.map +1 -1
  141. package/package.json +1 -1
@@ -1,8 +1,13 @@
1
1
  import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
2
2
  export declare class CarbonFootprintIntensityIndicatorId extends AggregateId {
3
3
  private static readonly PROPERTY_NAME;
4
+ private static readonly VALID_PREFIXES;
4
5
  private constructor();
5
6
  static create(value: string): CarbonFootprintIntensityIndicatorId;
7
+ /**
8
+ * Validates that the UUID has a valid CarbonFootprintIntensityIndicator prefix
9
+ */
10
+ private static guardAgainstInvalidPrefix;
6
11
  static fromPrimitives(primitive: string): CarbonFootprintIntensityIndicatorId;
7
12
  toPrimitives(): string;
8
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CarbonFootprintIntensityIndicatorId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintIntensityIndicatorId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,mCACX,SAAQ,WAAW;IACnB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,mCAAmC;WAQ1D,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,mCAAmC;IAM7E,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"CarbonFootprintIntensityIndicatorId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintIntensityIndicatorId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAIlF,qBAAa,mCACX,SAAQ,WAAW;IACnB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,mCAAmC;IAWjF;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA+BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,mCAAmC;IAM7E,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,6 +1,6 @@
1
1
  import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
2
2
  export declare class CarbonFootprintSegmentId extends AggregateId {
3
- private static readonly PROPERTY_NAME;
3
+ protected static readonly PROPERTY_NAME = "id";
4
4
  protected constructor(value: string, skipDomainValidation: boolean);
5
5
  static create(value: string): CarbonFootprintSegmentId;
6
6
  static fromPrimitives(primitive: string): CarbonFootprintSegmentId;
@@ -1 +1 @@
1
- {"version":3,"file":"CarbonFootprintSegmentId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintSegmentId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,wBAAyB,SAAQ,WAAW;IACvD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,SAAS,aAAa,KAAK,EAAE,MAAM,EAAE,oBAAoB,EAAE,OAAO;WAI3C,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,wBAAwB;WAQ/C,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,wBAAwB;IAMlE,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"CarbonFootprintSegmentId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintSegmentId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,wBAAyB,SAAQ,WAAW;IACvD,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,QAAQ;IAE/C,SAAS,aAAa,KAAK,EAAE,MAAM,EAAE,oBAAoB,EAAE,OAAO;WAI3C,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,wBAAwB;WAQ/C,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,wBAAwB;IAMlE,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,6 +1,6 @@
1
1
  import { Code } from '../../../../shared/domain/value-objects/Code';
2
2
  export declare class CarbonFootprintSubsegmentCode extends Code {
3
- private static readonly PROPERTY_NAME;
3
+ protected static readonly PROPERTY_NAME = "code";
4
4
  protected constructor(value: string, skipDomainValidation: boolean);
5
5
  static create(value: string): CarbonFootprintSubsegmentCode;
6
6
  static fromPrimitives(primitive: string): CarbonFootprintSubsegmentCode;
@@ -1 +1 @@
1
- {"version":3,"file":"CarbonFootprintSubsegmentCode.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintSubsegmentCode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,8CAA8C,CAAC;AAEpE,qBAAa,6BACX,SAAQ,IAAI;IACZ,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAU;IAE/C,SAAS,aAAa,KAAK,EAAE,MAAM,EAAE,oBAAoB,EAAE,OAAO;WAI3C,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,6BAA6B;WAQpD,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,6BAA6B;IAMvE,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"CarbonFootprintSubsegmentCode.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintSubsegmentCode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,8CAA8C,CAAC;AAEpE,qBAAa,6BACX,SAAQ,IAAI;IACZ,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,UAAU;IAEjD,SAAS,aAAa,KAAK,EAAE,MAAM,EAAE,oBAAoB,EAAE,OAAO;WAI3C,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,6BAA6B;WAQpD,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,6BAA6B;IAMvE,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,6 +1,6 @@
1
1
  import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
2
2
  export declare class CarbonFootprintSubsegmentId extends AggregateId {
3
- private static readonly PROPERTY_NAME;
3
+ protected static readonly PROPERTY_NAME = "id";
4
4
  protected constructor(value: string, skipDomainValidation: boolean);
5
5
  static create(value: string): CarbonFootprintSubsegmentId;
6
6
  static fromPrimitives(primitive: string): CarbonFootprintSubsegmentId;
@@ -1 +1 @@
1
- {"version":3,"file":"CarbonFootprintSubsegmentId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintSubsegmentId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,2BACX,SAAQ,WAAW;IACnB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,SAAS,aAAa,KAAK,EAAE,MAAM,EAAE,oBAAoB,EAAE,OAAO;WAI3C,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,2BAA2B;WAQlD,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,2BAA2B;IAMrE,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"CarbonFootprintSubsegmentId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/carbon-footprint-configurations/shared/domain/value-objects/CarbonFootprintSubsegmentId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,2BACX,SAAQ,WAAW;IACnB,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,QAAQ;IAE/C,SAAS,aAAa,KAAK,EAAE,MAAM,EAAE,oBAAoB,EAAE,OAAO;WAI3C,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,2BAA2B;WAQlD,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,2BAA2B;IAMrE,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,8 +1,13 @@
1
1
  import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
2
2
  export declare class EventId extends AggregateId {
3
3
  private static readonly PROPERTY_NAME;
4
+ private static readonly VALID_PREFIXES;
4
5
  private constructor();
5
6
  static create(value: string): EventId;
7
+ /**
8
+ * Validates that the UUID has a valid Event prefix
9
+ */
10
+ private static guardAgainstInvalidPrefix;
6
11
  static fromPrimitives(primitive: string): EventId;
7
12
  toPrimitives(): string;
8
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"EventId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/company-resources/events/domain/value-objects/EventId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,OAAQ,SAAQ,WAAW;IACtC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;WAQ9B,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO;IAMjD,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"EventId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/company-resources/events/domain/value-objects/EventId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAIlF,qBAAa,OAAQ,SAAQ,WAAW;IACtC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;IAWrD;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA+BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO;IAMjD,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,8 +1,13 @@
1
1
  import { AggregateId } from '../../../../../shared/domain/value-objects/AggregateId';
2
2
  export declare class EventEditionId extends AggregateId {
3
3
  private static readonly PROPERTY_NAME;
4
+ private static readonly VALID_PREFIXES;
4
5
  private constructor();
5
6
  static create(value: string): EventEditionId;
7
+ /**
8
+ * Validates that the UUID has a valid EventEdition prefix
9
+ */
10
+ private static guardAgainstInvalidPrefix;
6
11
  static fromPrimitives(primitive: string): EventEditionId;
7
12
  toPrimitives(): string;
8
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"EventEditionId.d.ts","sourceRoot":"","sources":["../../../../../../../../src/carbonbox/company-resources/events/editions/domain/value-objects/EventEditionId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wDAAwD,CAAC;AAErF,qBAAa,cAAe,SAAQ,WAAW;IAC7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,cAAc;WAQrC,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,cAAc;IAMxD,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"EventEditionId.d.ts","sourceRoot":"","sources":["../../../../../../../../src/carbonbox/company-resources/events/editions/domain/value-objects/EventEditionId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wDAAwD,CAAC;AAIrF,qBAAa,cAAe,SAAQ,WAAW;IAC7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,cAAc;IAW5D;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA+BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,cAAc;IAMxD,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,8 +1,13 @@
1
1
  import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
2
2
  export declare class FacilityId extends AggregateId {
3
3
  private static readonly PROPERTY_NAME;
4
+ private static readonly VALID_PREFIXES;
4
5
  private constructor();
5
6
  static create(value: string): FacilityId;
7
+ /**
8
+ * Validates that the UUID has a valid Facility prefix
9
+ */
10
+ private static guardAgainstInvalidPrefix;
6
11
  static fromPrimitives(primitive: string): FacilityId;
7
12
  toPrimitives(): string;
8
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FacilityId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/company-resources/facilities/domain/value-objects/FacilityId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,UAAW,SAAQ,WAAW;IACzC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU;WAQjC,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,UAAU;IAMpD,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"FacilityId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/company-resources/facilities/domain/value-objects/FacilityId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAIlF,qBAAa,UAAW,SAAQ,WAAW;IACzC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU;IAWxD;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA+BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,UAAU;IAMpD,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,8 +1,13 @@
1
1
  import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
2
2
  export declare class ProductId extends AggregateId {
3
3
  private static readonly PROPERTY_NAME;
4
+ private static readonly VALID_PREFIXES;
4
5
  private constructor();
5
6
  static create(value: string): ProductId;
7
+ /**
8
+ * Validates that the UUID has a valid Product prefix
9
+ */
10
+ private static guardAgainstInvalidPrefix;
6
11
  static fromPrimitives(primitive: string): ProductId;
7
12
  toPrimitives(): string;
8
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ProductId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/company-resources/products/domain/value-objects/ProductId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,SAAU,SAAQ,WAAW;IACxC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS;WAQhC,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS;IAMnD,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"ProductId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/company-resources/products/domain/value-objects/ProductId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAIlF,qBAAa,SAAU,SAAQ,WAAW;IACxC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS;IAWvD;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA+BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS;IAMnD,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,8 +1,13 @@
1
1
  import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
2
2
  export declare class CalculationVariableId extends AggregateId {
3
3
  private static readonly PROPERTY_NAME;
4
+ private static readonly VALID_PREFIXES;
4
5
  private constructor();
5
6
  static create(value: string): CalculationVariableId;
7
+ /**
8
+ * Validates that the UUID has a valid CalculationVariable prefix
9
+ */
10
+ private static guardAgainstInvalidPrefix;
6
11
  static fromPrimitives(primitive: string): CalculationVariableId;
7
12
  toPrimitives(): string;
8
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CalculationVariableId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/emission-calculation-formulas/calculation-variables/domain/value-objects/CalculationVariableId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,qBAAsB,SAAQ,WAAW;IACpD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,qBAAqB;WAQ5C,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,qBAAqB;IAM/D,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"CalculationVariableId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/emission-calculation-formulas/calculation-variables/domain/value-objects/CalculationVariableId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAIlF,qBAAa,qBAAsB,SAAQ,WAAW;IACpD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,qBAAqB;IAWnE;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA+BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,qBAAqB;IAM/D,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,8 +1,13 @@
1
1
  import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
2
2
  export declare class EmissionFactorId extends AggregateId {
3
3
  private static readonly PROPERTY_NAME;
4
+ private static readonly VALID_PREFIXES;
4
5
  private constructor();
5
6
  static create(value: string): EmissionFactorId;
7
+ /**
8
+ * Validates that the UUID has a valid EmissionFactor prefix
9
+ */
10
+ private static guardAgainstInvalidPrefix;
6
11
  static fromPrimitives(primitive: string): EmissionFactorId;
7
12
  toPrimitives(): string;
8
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"EmissionFactorId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/emission-calculation-formulas/emission-factors/domain/value-objects/EmissionFactorId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB;WAQvC,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,gBAAgB;IAM1D,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"EmissionFactorId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/emission-calculation-formulas/emission-factors/domain/value-objects/EmissionFactorId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAIlF,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB;IAW9D;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA+BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,gBAAgB;IAM1D,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,8 +1,13 @@
1
1
  import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
2
2
  export declare class GlobalWarmingPotentialId extends AggregateId {
3
3
  private static readonly PROPERTY_NAME;
4
+ private static readonly VALID_PREFIXES;
4
5
  private constructor();
5
6
  static create(value: string): GlobalWarmingPotentialId;
7
+ /**
8
+ * Validates that the UUID has a valid GlobalWarmingPotential prefix
9
+ */
10
+ private static guardAgainstInvalidPrefix;
6
11
  static fromPrimitives(primitive: string): GlobalWarmingPotentialId;
7
12
  toPrimitives(): string;
8
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"GlobalWarmingPotentialId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/emission-calculation-formulas/global-warming-potentials/domain/value-objects/GlobalWarmingPotentialId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,wBAAyB,SAAQ,WAAW;IACvD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,wBAAwB;WAQ/C,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,wBAAwB;IAMlE,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"GlobalWarmingPotentialId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/emission-calculation-formulas/global-warming-potentials/domain/value-objects/GlobalWarmingPotentialId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAIlF,qBAAa,wBAAyB,SAAQ,WAAW;IACvD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,wBAAwB;IAWtE;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA+BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,wBAAwB;IAMlE,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,8 +1,13 @@
1
1
  import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
2
2
  export declare class CalculationJobId extends AggregateId {
3
3
  private static readonly PROPERTY_NAME;
4
+ private static readonly VALID_PREFIXES;
4
5
  private constructor();
5
6
  static create(value: string): CalculationJobId;
7
+ /**
8
+ * Validates that the UUID has a valid CalculationJob prefix
9
+ */
10
+ private static guardAgainstInvalidPrefix;
6
11
  static fromPrimitives(primitive: string): CalculationJobId;
7
12
  toPrimitives(): string;
8
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CalculationJobId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/emission-calculation-process/calculation-jobs/domain/value-objects/CalculationJobId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAsB;IAE3D,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB;WAQvC,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,gBAAgB;IAM1D,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"CalculationJobId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/emission-calculation-process/calculation-jobs/domain/value-objects/CalculationJobId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAIlF,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAsB;IAE3D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB;IAW9D;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA+BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,gBAAgB;IAM1D,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,8 +1,13 @@
1
1
  import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
2
2
  export declare class CalculationProcessId extends AggregateId {
3
3
  private static readonly PROPERTY_NAME;
4
+ private static readonly VALID_PREFIXES;
4
5
  private constructor();
5
6
  static create(value: string): CalculationProcessId;
7
+ /**
8
+ * Validates that the UUID has a valid CalculationProcess prefix
9
+ */
10
+ private static guardAgainstInvalidPrefix;
6
11
  static fromPrimitives(primitive: string): CalculationProcessId;
7
12
  toPrimitives(): string;
8
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CalculationProcessId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/emission-calculation-process/calculation-processes/domain/value-objects/CalculationProcessId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,oBAAqB,SAAQ,WAAW;IACnD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,oBAAoB;WAQ3C,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,oBAAoB;IAM9D,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"CalculationProcessId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/emission-calculation-process/calculation-processes/domain/value-objects/CalculationProcessId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAIlF,qBAAa,oBAAqB,SAAQ,WAAW;IACnD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,oBAAoB;IAWlE;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA+BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,oBAAoB;IAM9D,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,8 +1,13 @@
1
1
  import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
2
2
  export declare class CalculationWorkflowId extends AggregateId {
3
3
  private static readonly PROPERTY_NAME;
4
+ private static readonly VALID_PREFIXES;
4
5
  private constructor();
5
6
  static create(value: string): CalculationWorkflowId;
7
+ /**
8
+ * Validates that the UUID has a valid CalculationWorkflow prefix
9
+ */
10
+ private static guardAgainstInvalidPrefix;
6
11
  static fromPrimitives(primitive: string): CalculationWorkflowId;
7
12
  toPrimitives(): string;
8
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CalculationWorkflowId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/emission-calculation-process/calculation-workflows/domain/value-objects/CalculationWorkflowId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,qBAAsB,SAAQ,WAAW;IACpD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,qBAAqB;WAQ5C,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,qBAAqB;IAM/D,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"CalculationWorkflowId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/emission-calculation-process/calculation-workflows/domain/value-objects/CalculationWorkflowId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAIlF,qBAAa,qBAAsB,SAAQ,WAAW;IACpD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,qBAAqB;IAWnE;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA+BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,qBAAqB;IAM/D,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,8 +1,13 @@
1
1
  import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
2
2
  export declare class EmissionAggregationId extends AggregateId {
3
3
  private static readonly PROPERTY_NAME;
4
+ private static readonly VALID_PREFIXES;
4
5
  private constructor();
5
6
  static create(value: string): EmissionAggregationId;
7
+ /**
8
+ * Validates that the UUID has a valid EmissionAggregation prefix
9
+ */
10
+ private static guardAgainstInvalidPrefix;
6
11
  static fromPrimitives(primitive: string): EmissionAggregationId;
7
12
  toPrimitives(): string;
8
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"EmissionAggregationId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/emission-calculation-results/emission-aggregations/domain/value-objects/EmissionAggregationId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,qBAAsB,SAAQ,WAAW;IACpD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,qBAAqB;WAQ5C,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,qBAAqB;IAM/D,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"EmissionAggregationId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/emission-calculation-results/emission-aggregations/domain/value-objects/EmissionAggregationId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAIlF,qBAAa,qBAAsB,SAAQ,WAAW;IACpD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,qBAAqB;IAWnE;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA+BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,qBAAqB;IAM/D,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,8 +1,13 @@
1
1
  import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
2
2
  export declare class EmissionCalculationId extends AggregateId {
3
3
  private static readonly PROPERTY_NAME;
4
+ private static readonly VALID_PREFIXES;
4
5
  private constructor();
5
6
  static create(value: string): EmissionCalculationId;
7
+ /**
8
+ * Validates that the UUID has a valid EmissionCalculation prefix
9
+ */
10
+ private static guardAgainstInvalidPrefix;
6
11
  static fromPrimitives(primitive: string): EmissionCalculationId;
7
12
  toPrimitives(): string;
8
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"EmissionCalculationId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/emission-calculation-results/emission-calculations/domain/value-objects/EmissionCalculationId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,qBAAsB,SAAQ,WAAW;IACpD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,qBAAqB;WAQ5C,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,qBAAqB;IAM/D,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"EmissionCalculationId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/emission-calculation-results/emission-calculations/domain/value-objects/EmissionCalculationId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAIlF,qBAAa,qBAAsB,SAAQ,WAAW;IACpD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,qBAAqB;IAWnE;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA+BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,qBAAqB;IAM/D,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,8 +1,13 @@
1
1
  import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
2
2
  export declare class GHGEmissionResultId extends AggregateId {
3
3
  private static readonly PROPERTY_NAME;
4
+ private static readonly VALID_PREFIXES;
4
5
  private constructor();
5
6
  static create(value: string): GHGEmissionResultId;
7
+ /**
8
+ * Validates that the UUID has a valid GHGEmissionResult prefix
9
+ */
10
+ private static guardAgainstInvalidPrefix;
6
11
  static fromPrimitives(primitive: string): GHGEmissionResultId;
7
12
  toPrimitives(): string;
8
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"GHGEmissionResultId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/emission-calculation-results/ghg-emission-results/domain/value-objects/GHGEmissionResultId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,mBAAoB,SAAQ,WAAW;IAClD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,mBAAmB;WAQ1C,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,mBAAmB;IAM7D,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"GHGEmissionResultId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/emission-calculation-results/ghg-emission-results/domain/value-objects/GHGEmissionResultId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAIlF,qBAAa,mBAAoB,SAAQ,WAAW;IAClD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,mBAAmB;IAWjE;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA+BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,mBAAmB;IAM7D,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,8 +1,13 @@
1
1
  import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
2
2
  export declare class PurchaseContractId extends AggregateId {
3
3
  private static readonly PROPERTY_NAME;
4
+ private static readonly VALID_PREFIXES;
4
5
  private constructor();
5
6
  static create(value: string): PurchaseContractId;
7
+ /**
8
+ * Validates that the UUID has a valid PurchaseContract prefix
9
+ */
10
+ private static guardAgainstInvalidPrefix;
6
11
  static fromPrimitives(primitive: string): PurchaseContractId;
7
12
  toPrimitives(): string;
8
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PurchaseContractId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/purchase-contracts/domain/value-objects/PurchaseContractId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,kBACX,SAAQ,WAAW;IACnB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,kBAAkB;WAQzC,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,kBAAkB;IAM5D,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"PurchaseContractId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/purchase-contracts/domain/value-objects/PurchaseContractId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAIlF,qBAAa,kBACX,SAAQ,WAAW;IACnB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,kBAAkB;IAWhE;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA+BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,kBAAkB;IAM5D,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,8 +1,13 @@
1
1
  import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
2
2
  export declare class PurchaseOrderId extends AggregateId {
3
3
  private static readonly PROPERTY_NAME;
4
+ private static readonly VALID_PREFIXES;
4
5
  private constructor();
5
6
  static create(value: string): PurchaseOrderId;
7
+ /**
8
+ * Validates that the UUID has a valid PurchaseOrder prefix
9
+ */
10
+ private static guardAgainstInvalidPrefix;
6
11
  static fromPrimitives(primitive: string): PurchaseOrderId;
7
12
  toPrimitives(): string;
8
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PurchaseOrderId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/purchase-orders/domain/value-objects/PurchaseOrderId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,eACX,SAAQ,WAAW;IACnB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,eAAe;WAQtC,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,eAAe;IAMzD,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"PurchaseOrderId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/purchase-orders/domain/value-objects/PurchaseOrderId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAIlF,qBAAa,eACX,SAAQ,WAAW;IACnB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,eAAe;IAW7D;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA+BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,eAAe;IAMzD,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,8 +1,13 @@
1
1
  import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
2
2
  export declare class ServiceCatalogId extends AggregateId {
3
3
  private static readonly PROPERTY_NAME;
4
+ private static readonly VALID_PREFIXES;
4
5
  private constructor();
5
6
  static create(value: string): ServiceCatalogId;
7
+ /**
8
+ * Validates that the UUID has a valid ServiceCatalog prefix
9
+ */
10
+ private static guardAgainstInvalidPrefix;
6
11
  static fromPrimitives(primitive: string): ServiceCatalogId;
7
12
  toPrimitives(): string;
8
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ServiceCatalogId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB;WAQvC,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,gBAAgB;IAM1D,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"ServiceCatalogId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCatalogId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAIlF,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB;IAW9D;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA+BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,gBAAgB;IAM1D,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,8 +1,13 @@
1
1
  import { AggregateId } from '../../../../shared/domain/value-objects/AggregateId';
2
2
  export declare class ServicePricingId extends AggregateId {
3
3
  private static readonly PROPERTY_NAME;
4
+ private static readonly VALID_PREFIXES;
4
5
  private constructor();
5
6
  static create(value: string): ServicePricingId;
7
+ /**
8
+ * Validates that the UUID has a valid ServicePricing prefix
9
+ */
10
+ private static guardAgainstInvalidPrefix;
6
11
  static fromPrimitives(primitive: string): ServicePricingId;
7
12
  toPrimitives(): string;
8
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ServicePricingId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-pricing/domain/value-objects/ServicePricingId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAElF,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB;WAQvC,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,gBAAgB;IAM1D,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"ServicePricingId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-pricing/domain/value-objects/ServicePricingId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAIlF,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAQ;IAE7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB;IAW9D;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA+BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,gBAAgB;IAM1D,YAAY,IAAI,MAAM;CAGvC"}
@@ -23,9 +23,20 @@ export declare enum SemanticUuidPrefix {
23
23
  ADC_FORMS = "ADC-FRM",
24
24
  ADC_ADAPTATIONS = "ADC-ADP",
25
25
  CFC_CORPORATE = "CFC-COR",
26
+ CFC_CORPORATE_SEGMENT = "CFC-COR-SEG",
27
+ CFC_CORPORATE_SUBSEGMENT = "CFC-COR-SUB",
26
28
  CFC_EVENT = "CFC-EVT",
29
+ CFC_EVENT_LIFECYCLE = "CFC-EVT-LCS",
30
+ CFC_EVENT_SUBSEGMENT = "CFC-EVT-SUB",
27
31
  CFC_PRODUCT = "CFC-PRD",
32
+ CFC_PRODUCT_SEGMENT = "CFC-PRD-SEG",
33
+ CFC_PRODUCT_SUBSEGMENT = "CFC-PRD-SUB",
34
+ CFC_PRODUCT_BOUNDARY = "CFC-PRD-BND",
35
+ CFC_INTENSITY = "CFC-INT",
36
+ CFC_SEGMENT = "CFC-SEG",
37
+ CFC_SUBSEGMENT = "CFC-SUB",
28
38
  CPR_EVENTS = "CPR-EVT",
39
+ CPR_EVENT_EDITION = "CPR-EVT-EDT",
29
40
  CPR_FACILITIES = "CPR-FAC",
30
41
  CPR_PRODUCTS = "CPR-PRD",
31
42
  ECF_VARIABLES = "ECF-VAR",
@@ -42,6 +53,10 @@ export declare enum SemanticUuidPrefix {
42
53
  USR_STH_COORDINATOR = "USR-STH-CRD",
43
54
  USR_STH_HOST = "USR-STH-CHO",
44
55
  USR_STH_MANAGER = "USR-STH-MGR",
56
+ PMS_SERVICE_CATALOG = "PMS-SC",
57
+ PMS_SERVICE_PRICING = "PMS-SP",
58
+ PMS_PURCHASE_CONTRACT = "PMS-PC",
59
+ PMS_PURCHASE_ORDER = "PMS-PO",
45
60
  SHR_DOMAIN = "SHR-DOM",
46
61
  SHR_EITHER = "SHR-ETH"
47
62
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SemanticUuidPrefix.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/enums/SemanticUuidPrefix.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,oBAAY,kBAAkB;IAE5B,GAAG,QAAQ,CAAE,0CAA0C;IAGvD,eAAe,YAAY;IAC3B,UAAU,YAAY;IACtB,SAAS,YAAY;IACrB,UAAU,YAAY;IACtB,SAAS,YAAY;IACrB,eAAe,YAAY;IAG3B,aAAa,YAAY;IACzB,SAAS,YAAY;IACrB,WAAW,YAAY;IAGvB,UAAU,YAAY;IACtB,cAAc,YAAY;IAC1B,YAAY,YAAY;IAGxB,aAAa,YAAY;IACzB,WAAW,YAAY;IACvB,OAAO,YAAY;IAGnB,QAAQ,YAAY;IACpB,aAAa,YAAY;IACzB,aAAa,YAAY;IAGzB,gBAAgB,YAAY;IAC5B,gBAAgB,YAAY;IAC5B,eAAe,YAAY;IAG3B,GAAG,QAAQ,CAAE,0BAA0B;IAGvC,cAAc,gBAAgB;IAC9B,mBAAmB,gBAAgB;IACnC,YAAY,gBAAgB;IAC5B,eAAe,gBAAgB;IAG/B,UAAU,YAAY;IACtB,UAAU,YAAY;CAMvB"}
1
+ {"version":3,"file":"SemanticUuidPrefix.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/enums/SemanticUuidPrefix.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,oBAAY,kBAAkB;IAE5B,GAAG,QAAQ,CAAE,0CAA0C;IAGvD,eAAe,YAAY;IAC3B,UAAU,YAAY;IACtB,SAAS,YAAY;IACrB,UAAU,YAAY;IACtB,SAAS,YAAY;IACrB,eAAe,YAAY;IAG3B,aAAa,YAAY;IACzB,qBAAqB,gBAAgB;IACrC,wBAAwB,gBAAgB;IACxC,SAAS,YAAY;IACrB,mBAAmB,gBAAgB;IACnC,oBAAoB,gBAAgB;IACpC,WAAW,YAAY;IACvB,mBAAmB,gBAAgB;IACnC,sBAAsB,gBAAgB;IACtC,oBAAoB,gBAAgB;IACpC,aAAa,YAAY;IACzB,WAAW,YAAY;IACvB,cAAc,YAAY;IAG1B,UAAU,YAAY;IACtB,iBAAiB,gBAAgB;IACjC,cAAc,YAAY;IAC1B,YAAY,YAAY;IAGxB,aAAa,YAAY;IACzB,WAAW,YAAY;IACvB,OAAO,YAAY;IAGnB,QAAQ,YAAY;IACpB,aAAa,YAAY;IACzB,aAAa,YAAY;IAGzB,gBAAgB,YAAY;IAC5B,gBAAgB,YAAY;IAC5B,eAAe,YAAY;IAG3B,GAAG,QAAQ,CAAE,0BAA0B;IAGvC,cAAc,gBAAgB;IAC9B,mBAAmB,gBAAgB;IACnC,YAAY,gBAAgB;IAC5B,eAAe,gBAAgB;IAG/B,mBAAmB,WAAW;IAC9B,mBAAmB,WAAW;IAC9B,qBAAqB,WAAW;IAChC,kBAAkB,WAAW;IAG7B,UAAU,YAAY;IACtB,UAAU,YAAY;CAMvB"}
@@ -0,0 +1,20 @@
1
+ import { RootError } from './RootError';
2
+ /**
3
+ * Generic error for invalid aggregate ID prefix validation
4
+ * Use this for any aggregate ID that needs prefix validation
5
+ */
6
+ export declare class InvalidAggregatePrefixError extends RootError {
7
+ private static readonly INVALID_PREFIX_ERROR_MESSAGE;
8
+ private constructor();
9
+ /**
10
+ * Creates an InvalidAggregatePrefixError
11
+ * @param aggregateId - The full aggregate ID that failed validation
12
+ * @param entityType - The type of entity (e.g., "ServiceCatalog", "Product", "Event")
13
+ * @param currentPrefix - The actual prefix found in the ID
14
+ * @param validPrefixes - Array of valid prefixes for this entity type
15
+ * @param propertyName - The property name being validated (default: "id")
16
+ */
17
+ static create(aggregateId: string, entityType: string, currentPrefix: string, validPrefixes: string[], propertyName?: string): InvalidAggregatePrefixError;
18
+ logError(): string;
19
+ }
20
+ //# sourceMappingURL=InvalidAggregatePrefixError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InvalidAggregatePrefixError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/exceptions/InvalidAggregatePrefixError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC;;;GAGG;AACH,qBAAa,2BAA4B,SAAQ,SAAS;IACxD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,4BAA4B,CAAqC;IAEzF,OAAO;IAYP;;;;;;;OAOG;WACoB,MAAM,CAC3B,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,MAAM,EACrB,aAAa,EAAE,MAAM,EAAE,EACvB,YAAY,GAAE,MAAa,GAC1B,2BAA2B;IAUd,QAAQ,IAAI,MAAM;CAGnC"}
@@ -3,10 +3,6 @@ import { StakeholderRole } from '../enums/StakeholderRole';
3
3
  export declare class UserId extends AggregateId {
4
4
  protected static readonly PROPERTY_NAME = "id";
5
5
  private static readonly VALID_USER_PREFIXES;
6
- /**
7
- * Constructor protegido para que solo clases hijas puedan instanciar.
8
- * Aplica todas las validaciones de dominio al momento de construcción.
9
- */
10
6
  protected constructor(value: string, skipDomainValidation: boolean);
11
7
  static create(value: string): UserId;
12
8
  static fromPrimitives(primitive: string): UserId;
@@ -1 +1 @@
1
- {"version":3,"file":"UserId.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/value-objects/UserId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAI3D,qBAAa,MAAO,SAAQ,WAAW;IACrC,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,QAAQ;IAG/C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,mBAAmB,CAMzC;IAEF;;;OAGG;IACH,SAAS,aAAa,KAAK,EAAE,MAAM,EAAE,oBAAoB,EAAE,OAAO;WAI3C,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;WAW7B,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAMhE;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,6BAA6B;IAuB5C;;OAEG;IACI,kBAAkB,IAAI,OAAO;IASpC;;OAEG;IACI,aAAa,IAAI,OAAO;IAQ/B;;OAEG;IACI,aAAa,IAAI,OAAO;IAc/B;;OAEG;IACI,yBAAyB,IAAI,OAAO;IAQpC,8BAA8B,IAAI,OAAO;IAQzC,0BAA0B,IAAI,OAAO;IAQrC,uBAAuB,IAAI,OAAO;IAQzC;;OAEG;IACI,kBAAkB,IAAI,eAAe,GAAG,SAAS;IAgBxC,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"UserId.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/value-objects/UserId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAI3D,qBAAa,MAAO,SAAQ,WAAW;IACrC,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,QAAQ;IAE/C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,mBAAmB,CAMzC;IAEF,SAAS,aAAa,KAAK,EAAE,MAAM,EAAE,oBAAoB,EAAE,OAAO;WAI3C,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;WAW7B,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;IAMhE;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,6BAA6B;IAuB5C;;OAEG;IACI,kBAAkB,IAAI,OAAO;IASpC;;OAEG;IACI,aAAa,IAAI,OAAO;IAQ/B;;OAEG;IACI,aAAa,IAAI,OAAO;IAc/B;;OAEG;IACI,yBAAyB,IAAI,OAAO;IAQpC,8BAA8B,IAAI,OAAO;IAQzC,0BAA0B,IAAI,OAAO;IAQrC,uBAAuB,IAAI,OAAO;IAQzC;;OAEG;IACI,kBAAkB,IAAI,eAAe,GAAG,SAAS;IAgBxC,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,7 +1,12 @@
1
1
  import { StakeholderId } from '../../../shared/domain/value-objects/StakeholderId';
2
2
  export declare class CarbonClientId extends StakeholderId {
3
+ private static readonly VALID_PREFIXES;
3
4
  private constructor();
4
5
  static create(value: string): CarbonClientId;
6
+ /**
7
+ * Validates that the UUID has a valid CarbonClient prefix
8
+ */
9
+ private static guardAgainstInvalidPrefix;
5
10
  static fromPrimitives(primitive: string): CarbonClientId;
6
11
  toPrimitives(): string;
7
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CarbonClientId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-clients/domain/value-objects/CarbonClientId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AAEnF,qBAAa,cAAe,SAAQ,aAAa;IAC/C,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,cAAc;WAQrC,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,cAAc;IAMxD,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"CarbonClientId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-clients/domain/value-objects/CarbonClientId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AAInF,qBAAa,cAAe,SAAQ,aAAa;IAC/C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,cAAc;IAW5D;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA+BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,cAAc;IAMxD,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,7 +1,12 @@
1
1
  import { StakeholderId } from '../../../shared/domain/value-objects/StakeholderId';
2
2
  export declare class CarbonCoordinatorId extends StakeholderId {
3
+ private static readonly VALID_PREFIXES;
3
4
  private constructor();
4
5
  static create(value: string): CarbonCoordinatorId;
6
+ /**
7
+ * Validates that the UUID has a valid CarbonCoordinator prefix
8
+ */
9
+ private static guardAgainstInvalidPrefix;
5
10
  static fromPrimitives(primitive: string): CarbonCoordinatorId;
6
11
  toPrimitives(): string;
7
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CarbonCoordinatorId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-coordinators/domain/value-objects/CarbonCoordinatorId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AAEnF,qBAAa,mBAAoB,SAAQ,aAAa;IACpD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,mBAAmB;WAQ1C,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,mBAAmB;IAM7D,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"CarbonCoordinatorId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-coordinators/domain/value-objects/CarbonCoordinatorId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AAInF,qBAAa,mBAAoB,SAAQ,aAAa;IACpD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,mBAAmB;IAWjE;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA+BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,mBAAmB;IAM7D,YAAY,IAAI,MAAM;CAGvC"}
@@ -1,7 +1,12 @@
1
1
  import { StakeholderId } from '../../../shared/domain/value-objects/StakeholderId';
2
2
  export declare class CarbonHostId extends StakeholderId {
3
+ private static readonly VALID_PREFIXES;
3
4
  private constructor();
4
5
  static create(value: string): CarbonHostId;
6
+ /**
7
+ * Validates that the UUID has a valid CarbonHost prefix
8
+ */
9
+ private static guardAgainstInvalidPrefix;
5
10
  static fromPrimitives(primitive: string): CarbonHostId;
6
11
  toPrimitives(): string;
7
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CarbonHostId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-host/domain/value-objects/CarbonHostId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AAEnF,qBAAa,YAAa,SAAQ,aAAa;IAC7C,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY;WAQnC,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,YAAY;IAMtD,YAAY,IAAI,MAAM;CAGvC"}
1
+ {"version":3,"file":"CarbonHostId.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-host/domain/value-objects/CarbonHostId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AAInF,qBAAa,YAAa,SAAQ,aAAa;IAC7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAEpC;IAEF,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY;IAW1D;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,yBAAyB;WA+BjB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,YAAY;IAMtD,YAAY,IAAI,MAAM;CAGvC"}