@carbonbox/domain 0.6.2 → 0.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/build/carbonbox/shared/domain/exceptions/InvalidAggregateIdFormatError.js +1 -1
  2. package/build/carbonbox/shared/domain/value-objects/AggregateId.js +12 -7
  3. package/build/types/carbonbox/shared/domain/exceptions/InvalidAggregateIdFormatError.d.ts.map +1 -1
  4. package/build/types/carbonbox/shared/domain/value-objects/AggregateId.d.ts +9 -5
  5. package/build/types/carbonbox/shared/domain/value-objects/AggregateId.d.ts.map +1 -1
  6. package/package.json +1 -1
  7. package/build/carbonbox/purchase-management-system/service-catalog/domain/entity/IService.js +0 -2
  8. package/build/carbonbox/purchase-management-system/service-catalog/domain/entity/Service.js +0 -263
  9. package/build/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceCategory.js +0 -20
  10. package/build/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceStatus.js +0 -9
  11. package/build/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceType.js +0 -10
  12. package/build/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCategoryError.js +0 -19
  13. package/build/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceStatusError.js +0 -19
  14. package/build/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceTypeError.js +0 -19
  15. package/build/carbonbox/purchase-management-system/service-catalog/domain/repository/IServiceRepository.js +0 -2
  16. package/build/carbonbox/purchase-management-system/service-catalog/domain/types/ServicePrimitives.js +0 -2
  17. package/build/carbonbox/purchase-management-system/service-catalog/domain/types/ServiceProps.js +0 -2
  18. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAdditionalUserRoles.js +0 -131
  19. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAllowsDocumentReading.js +0 -22
  20. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAllowsSectoralComparison.js +0 -22
  21. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceBasePricePercentage.js +0 -140
  22. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCategory.js +0 -243
  23. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCode.js +0 -24
  24. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCreatedByStakeholder.js +0 -26
  25. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceDependsOnServiceCode.js +0 -21
  26. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceDescription.js +0 -23
  27. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceExpertDedicationLevel.js +0 -212
  28. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceFixedPriceAmount.js +0 -193
  29. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceHasBasePrice.js +0 -22
  30. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceHasFixedPrice.js +0 -22
  31. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceId.js +0 -24
  32. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIncludesCarbonBoxAcademy.js +0 -22
  33. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIncludesESGIndicators.js +0 -22
  34. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForCorporate.js +0 -22
  35. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForEvent.js +0 -22
  36. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForProduct.js +0 -22
  37. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsRequiredService.js +0 -22
  38. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceMaxUsers.js +0 -246
  39. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceName.js +0 -23
  40. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceReportTypes.js +0 -246
  41. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceStatus.js +0 -221
  42. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceType.js +0 -235
  43. package/build/carbonbox/shared/domain/exceptions/InvalidSemanticUuidError.js +0 -19
  44. package/build/carbonbox/shared/domain/services/DateTimeFormattingDomainService.js +0 -172
  45. package/build/carbonbox/shared/domain/services/contracts/ISemanticUuidDomainService.js +0 -2
  46. package/build/carbonbox/shared/domain/services/implementations/SemanticUuidDomainService.js +0 -235
  47. package/build/carbonbox/shared/domain/types/AllPermissions.js +0 -2
  48. package/build/carbonbox/shared/domain/types/AllPermissionsPrimitives.js +0 -2
  49. package/build/carbonbox/shared/domain/types/ServiceReference.js +0 -2
  50. package/build/carbonbox/shared/domain/types/ServiceReferencePrimitives.js +0 -2
  51. package/build/carbonbox/shared/domain/types/UserEmailProps.js +0 -2
  52. package/build/carbonbox/shared/domain/value-objects/ServiceReference.js +0 -301
  53. package/build/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissions.js +0 -2
  54. package/build/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissionsPrimitives.js +0 -2
  55. package/build/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissionsValue.js +0 -2
  56. package/build/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissions.js +0 -2
  57. package/build/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissionsPrimitives.js +0 -2
  58. package/build/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissionsValue.js +0 -2
  59. package/build/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissions.js +0 -2
  60. package/build/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissionsPrimitives.js +0 -2
  61. package/build/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissionsValue.js +0 -2
  62. package/build/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissions.js +0 -2
  63. package/build/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissionsPrimitives.js +0 -2
  64. package/build/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissionsValue.js +0 -2
  65. package/build/carbonbox/stakeholders/shared/domain/enums/StakeholderBusinessStatus.js +0 -10
  66. package/build/carbonbox/stakeholders/shared/domain/exceptions/InvalidStakeholderBusinessStatusError.js +0 -18
  67. package/build/carbonbox/stakeholders/shared/domain/types/StakeholderPermissions.js +0 -2
  68. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/entity/IService.d.ts +0 -52
  69. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/entity/IService.d.ts.map +0 -1
  70. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/entity/Service.d.ts +0 -60
  71. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/entity/Service.d.ts.map +0 -1
  72. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceCategory.d.ts +0 -17
  73. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceCategory.d.ts.map +0 -1
  74. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceStatus.d.ts +0 -6
  75. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceStatus.d.ts.map +0 -1
  76. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceType.d.ts +0 -7
  77. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceType.d.ts.map +0 -1
  78. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCategoryError.d.ts +0 -8
  79. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCategoryError.d.ts.map +0 -1
  80. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceStatusError.d.ts +0 -8
  81. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceStatusError.d.ts.map +0 -1
  82. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceTypeError.d.ts +0 -8
  83. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceTypeError.d.ts.map +0 -1
  84. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/repository/IServiceRepository.d.ts +0 -22
  85. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/repository/IServiceRepository.d.ts.map +0 -1
  86. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/types/ServicePrimitives.d.ts +0 -35
  87. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/types/ServicePrimitives.d.ts.map +0 -1
  88. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/types/ServiceProps.d.ts +0 -35
  89. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/types/ServiceProps.d.ts.map +0 -1
  90. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAdditionalUserRoles.d.ts +0 -71
  91. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAdditionalUserRoles.d.ts.map +0 -1
  92. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAllowsDocumentReading.d.ts +0 -9
  93. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAllowsDocumentReading.d.ts.map +0 -1
  94. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAllowsSectoralComparison.d.ts +0 -9
  95. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAllowsSectoralComparison.d.ts.map +0 -1
  96. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceBasePricePercentage.d.ts +0 -54
  97. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceBasePricePercentage.d.ts.map +0 -1
  98. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCategory.d.ts +0 -123
  99. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCategory.d.ts.map +0 -1
  100. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCode.d.ts +0 -9
  101. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCode.d.ts.map +0 -1
  102. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCreatedByStakeholder.d.ts +0 -11
  103. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCreatedByStakeholder.d.ts.map +0 -1
  104. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceDependsOnServiceCode.d.ts +0 -9
  105. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceDependsOnServiceCode.d.ts.map +0 -1
  106. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceDescription.d.ts +0 -9
  107. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceDescription.d.ts.map +0 -1
  108. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceExpertDedicationLevel.d.ts +0 -92
  109. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceExpertDedicationLevel.d.ts.map +0 -1
  110. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceFixedPriceAmount.d.ts +0 -83
  111. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceFixedPriceAmount.d.ts.map +0 -1
  112. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceHasBasePrice.d.ts +0 -9
  113. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceHasBasePrice.d.ts.map +0 -1
  114. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceHasFixedPrice.d.ts +0 -9
  115. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceHasFixedPrice.d.ts.map +0 -1
  116. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceId.d.ts +0 -9
  117. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceId.d.ts.map +0 -1
  118. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIncludesCarbonBoxAcademy.d.ts +0 -9
  119. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIncludesCarbonBoxAcademy.d.ts.map +0 -1
  120. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIncludesESGIndicators.d.ts +0 -9
  121. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIncludesESGIndicators.d.ts.map +0 -1
  122. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForCorporate.d.ts +0 -9
  123. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForCorporate.d.ts.map +0 -1
  124. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForEvent.d.ts +0 -9
  125. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForEvent.d.ts.map +0 -1
  126. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForProduct.d.ts +0 -9
  127. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForProduct.d.ts.map +0 -1
  128. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsRequiredService.d.ts +0 -9
  129. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsRequiredService.d.ts.map +0 -1
  130. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceMaxUsers.d.ts +0 -99
  131. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceMaxUsers.d.ts.map +0 -1
  132. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceName.d.ts +0 -9
  133. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceName.d.ts.map +0 -1
  134. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceReportTypes.d.ts +0 -119
  135. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceReportTypes.d.ts.map +0 -1
  136. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceStatus.d.ts +0 -110
  137. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceStatus.d.ts.map +0 -1
  138. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceType.d.ts +0 -111
  139. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceType.d.ts.map +0 -1
  140. package/build/types/carbonbox/shared/domain/exceptions/InvalidSemanticUuidError.d.ts +0 -8
  141. package/build/types/carbonbox/shared/domain/exceptions/InvalidSemanticUuidError.d.ts.map +0 -1
  142. package/build/types/carbonbox/shared/domain/services/DateTimeFormattingDomainService.d.ts +0 -95
  143. package/build/types/carbonbox/shared/domain/services/DateTimeFormattingDomainService.d.ts.map +0 -1
  144. package/build/types/carbonbox/shared/domain/services/contracts/ISemanticUuidDomainService.d.ts +0 -85
  145. package/build/types/carbonbox/shared/domain/services/contracts/ISemanticUuidDomainService.d.ts.map +0 -1
  146. package/build/types/carbonbox/shared/domain/services/implementations/SemanticUuidDomainService.d.ts +0 -67
  147. package/build/types/carbonbox/shared/domain/services/implementations/SemanticUuidDomainService.d.ts.map +0 -1
  148. package/build/types/carbonbox/shared/domain/types/AllPermissions.d.ts +0 -12
  149. package/build/types/carbonbox/shared/domain/types/AllPermissions.d.ts.map +0 -1
  150. package/build/types/carbonbox/shared/domain/types/AllPermissionsPrimitives.d.ts +0 -12
  151. package/build/types/carbonbox/shared/domain/types/AllPermissionsPrimitives.d.ts.map +0 -1
  152. package/build/types/carbonbox/shared/domain/types/ServiceReference.d.ts +0 -8
  153. package/build/types/carbonbox/shared/domain/types/ServiceReference.d.ts.map +0 -1
  154. package/build/types/carbonbox/shared/domain/types/ServiceReferencePrimitives.d.ts +0 -8
  155. package/build/types/carbonbox/shared/domain/types/ServiceReferencePrimitives.d.ts.map +0 -1
  156. package/build/types/carbonbox/shared/domain/types/UserEmailProps.d.ts +0 -5
  157. package/build/types/carbonbox/shared/domain/types/UserEmailProps.d.ts.map +0 -1
  158. package/build/types/carbonbox/shared/domain/value-objects/ServiceReference.d.ts +0 -134
  159. package/build/types/carbonbox/shared/domain/value-objects/ServiceReference.d.ts.map +0 -1
  160. package/build/types/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissions.d.ts +0 -3
  161. package/build/types/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissions.d.ts.map +0 -1
  162. package/build/types/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissionsPrimitives.d.ts +0 -3
  163. package/build/types/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissionsPrimitives.d.ts.map +0 -1
  164. package/build/types/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissionsValue.d.ts +0 -3
  165. package/build/types/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissionsValue.d.ts.map +0 -1
  166. package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissions.d.ts +0 -3
  167. package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissions.d.ts.map +0 -1
  168. package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissionsPrimitives.d.ts +0 -3
  169. package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissionsPrimitives.d.ts.map +0 -1
  170. package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissionsValue.d.ts +0 -3
  171. package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissionsValue.d.ts.map +0 -1
  172. package/build/types/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissions.d.ts +0 -3
  173. package/build/types/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissions.d.ts.map +0 -1
  174. package/build/types/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissionsPrimitives.d.ts +0 -3
  175. package/build/types/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissionsPrimitives.d.ts.map +0 -1
  176. package/build/types/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissionsValue.d.ts +0 -3
  177. package/build/types/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissionsValue.d.ts.map +0 -1
  178. package/build/types/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissions.d.ts +0 -3
  179. package/build/types/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissions.d.ts.map +0 -1
  180. package/build/types/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissionsPrimitives.d.ts +0 -3
  181. package/build/types/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissionsPrimitives.d.ts.map +0 -1
  182. package/build/types/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissionsValue.d.ts +0 -3
  183. package/build/types/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissionsValue.d.ts.map +0 -1
  184. package/build/types/carbonbox/stakeholders/shared/domain/enums/StakeholderBusinessStatus.d.ts +0 -7
  185. package/build/types/carbonbox/stakeholders/shared/domain/enums/StakeholderBusinessStatus.d.ts.map +0 -1
  186. package/build/types/carbonbox/stakeholders/shared/domain/exceptions/InvalidStakeholderBusinessStatusError.d.ts +0 -7
  187. package/build/types/carbonbox/stakeholders/shared/domain/exceptions/InvalidStakeholderBusinessStatusError.d.ts.map +0 -1
  188. package/build/types/carbonbox/stakeholders/shared/domain/types/StakeholderPermissions.d.ts +0 -10
  189. package/build/types/carbonbox/stakeholders/shared/domain/types/StakeholderPermissions.d.ts.map +0 -1
@@ -1,52 +0,0 @@
1
- import { IAggregateRoot } from '../../../../shared/domain/entities/IAggregateRoot';
2
- import { ServiceAdditionalUserRoles } from '../value-objects/ServiceAdditionalUserRoles';
3
- import { ServiceAllowsDocumentReading } from '../value-objects/ServiceAllowsDocumentReading';
4
- import { ServiceAllowsSectoralComparison } from '../value-objects/ServiceAllowsSectoralComparison';
5
- import { ServiceBasePricePercentage } from '../value-objects/ServiceBasePricePercentage';
6
- import { ServiceCategory } from '../value-objects/ServiceCategory';
7
- import { ServiceCode } from '../value-objects/ServiceCode';
8
- import { ServiceCreatedByStakeholder } from '../value-objects/ServiceCreatedByStakeholder';
9
- import { ServiceDependsOnServiceCode } from '../value-objects/ServiceDependsOnServiceCode';
10
- import { ServiceDescription } from '../value-objects/ServiceDescription';
11
- import { ServiceExpertDedicationLevel } from '../value-objects/ServiceExpertDedicationLevel';
12
- import { ServiceFixedPriceAmount } from '../value-objects/ServiceFixedPriceAmount';
13
- import { ServiceHasBasePrice } from '../value-objects/ServiceHasBasePrice';
14
- import { ServiceHasFixedPrice } from '../value-objects/ServiceHasFixedPrice';
15
- import { ServiceIncludesCarbonBoxAcademy } from '../value-objects/ServiceIncludesCarbonBoxAcademy';
16
- import { ServiceIncludesESGIndicators } from '../value-objects/ServiceIncludesESGIndicators';
17
- import { ServiceIsAvailableForCorporate } from '../value-objects/ServiceIsAvailableForCorporate';
18
- import { ServiceIsAvailableForEvent } from '../value-objects/ServiceIsAvailableForEvent';
19
- import { ServiceIsAvailableForProduct } from '../value-objects/ServiceIsAvailableForProduct';
20
- import { ServiceIsRequiredService } from '../value-objects/ServiceIsRequiredService';
21
- import { ServiceMaxUsers } from '../value-objects/ServiceMaxUsers';
22
- import { ServiceName } from '../value-objects/ServiceName';
23
- import { ServiceReportTypes } from '../value-objects/ServiceReportTypes';
24
- import { ServiceStatus } from '../value-objects/ServiceStatus';
25
- import { ServiceType } from '../value-objects/ServiceType';
26
- export interface IService extends IAggregateRoot {
27
- code: ServiceCode;
28
- name: ServiceName;
29
- description: ServiceDescription;
30
- type: ServiceType;
31
- category: ServiceCategory;
32
- status: ServiceStatus;
33
- isRequiredService: ServiceIsRequiredService;
34
- dependsOnServiceCode: ServiceDependsOnServiceCode;
35
- hasBasePrice: ServiceHasBasePrice;
36
- basePricePercentage: ServiceBasePricePercentage;
37
- hasFixedPrice: ServiceHasFixedPrice;
38
- fixedPriceAmount: ServiceFixedPriceAmount;
39
- expertDedicationLevel: ServiceExpertDedicationLevel;
40
- reportTypes: ServiceReportTypes;
41
- additionalUserRoles: ServiceAdditionalUserRoles;
42
- maxUsers: ServiceMaxUsers;
43
- allowsDocumentReading: ServiceAllowsDocumentReading;
44
- allowsSectoralComparison: ServiceAllowsSectoralComparison;
45
- includesCarbonBoxAcademy: ServiceIncludesCarbonBoxAcademy;
46
- includesESGIndicators: ServiceIncludesESGIndicators;
47
- isAvailableForCorporate: ServiceIsAvailableForCorporate;
48
- isAvailableForProduct: ServiceIsAvailableForProduct;
49
- isAvailableForEvent: ServiceIsAvailableForEvent;
50
- createdByStakeholder: ServiceCreatedByStakeholder;
51
- }
52
- //# sourceMappingURL=IService.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IService.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/entity/IService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;AACnF,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AACzF,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EAAE,+BAA+B,EAAE,MAAM,kDAAkD,CAAC;AACnG,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,EAAE,+BAA+B,EAAE,MAAM,kDAAkD,CAAC;AACnG,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EAAE,8BAA8B,EAAE,MAAM,iDAAiD,CAAC;AACjG,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AACzF,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,MAAM,WAAW,QAAS,SAAQ,cAAc;IAC9C,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,WAAW,CAAC;IAClB,WAAW,EAAE,kBAAkB,CAAC;IAChC,IAAI,EAAE,WAAW,CAAC;IAClB,QAAQ,EAAE,eAAe,CAAC;IAC1B,MAAM,EAAE,aAAa,CAAC;IACtB,iBAAiB,EAAE,wBAAwB,CAAC;IAC5C,oBAAoB,EAAE,2BAA2B,CAAC;IAGlD,YAAY,EAAE,mBAAmB,CAAC;IAClC,mBAAmB,EAAE,0BAA0B,CAAC;IAChD,aAAa,EAAE,oBAAoB,CAAC;IACpC,gBAAgB,EAAE,uBAAuB,CAAC;IAG1C,qBAAqB,EAAE,4BAA4B,CAAC;IACpD,WAAW,EAAE,kBAAkB,CAAC;IAChC,mBAAmB,EAAE,0BAA0B,CAAC;IAChD,QAAQ,EAAE,eAAe,CAAC;IAG1B,qBAAqB,EAAE,4BAA4B,CAAC;IACpD,wBAAwB,EAAE,+BAA+B,CAAC;IAC1D,wBAAwB,EAAE,+BAA+B,CAAC;IAC1D,qBAAqB,EAAE,4BAA4B,CAAC;IAGpD,uBAAuB,EAAE,8BAA8B,CAAC;IACxD,qBAAqB,EAAE,4BAA4B,CAAC;IACpD,mBAAmB,EAAE,0BAA0B,CAAC;IAEhD,oBAAoB,EAAE,2BAA2B,CAAC;CACnD"}
@@ -1,60 +0,0 @@
1
- import { AggregateRoot } from '../../../../shared/domain/entities/AggregateRoot';
2
- import { ServicePrimitives } from '../types/ServicePrimitives';
3
- import { ServiceProps } from '../types/ServiceProps';
4
- import { ServiceAdditionalUserRoles } from '../value-objects/ServiceAdditionalUserRoles';
5
- import { ServiceAllowsDocumentReading } from '../value-objects/ServiceAllowsDocumentReading';
6
- import { ServiceAllowsSectoralComparison } from '../value-objects/ServiceAllowsSectoralComparison';
7
- import { ServiceBasePricePercentage } from '../value-objects/ServiceBasePricePercentage';
8
- import { ServiceCategory } from '../value-objects/ServiceCategory';
9
- import { ServiceCode } from '../value-objects/ServiceCode';
10
- import { ServiceCreatedByStakeholder } from '../value-objects/ServiceCreatedByStakeholder';
11
- import { ServiceDependsOnServiceCode } from '../value-objects/ServiceDependsOnServiceCode';
12
- import { ServiceDescription } from '../value-objects/ServiceDescription';
13
- import { ServiceExpertDedicationLevel } from '../value-objects/ServiceExpertDedicationLevel';
14
- import { ServiceFixedPriceAmount } from '../value-objects/ServiceFixedPriceAmount';
15
- import { ServiceHasBasePrice } from '../value-objects/ServiceHasBasePrice';
16
- import { ServiceHasFixedPrice } from '../value-objects/ServiceHasFixedPrice';
17
- import { ServiceIncludesCarbonBoxAcademy } from '../value-objects/ServiceIncludesCarbonBoxAcademy';
18
- import { ServiceIncludesESGIndicators } from '../value-objects/ServiceIncludesESGIndicators';
19
- import { ServiceIsAvailableForCorporate } from '../value-objects/ServiceIsAvailableForCorporate';
20
- import { ServiceIsAvailableForEvent } from '../value-objects/ServiceIsAvailableForEvent';
21
- import { ServiceIsAvailableForProduct } from '../value-objects/ServiceIsAvailableForProduct';
22
- import { ServiceIsRequiredService } from '../value-objects/ServiceIsRequiredService';
23
- import { ServiceMaxUsers } from '../value-objects/ServiceMaxUsers';
24
- import { ServiceName } from '../value-objects/ServiceName';
25
- import { ServiceReportTypes } from '../value-objects/ServiceReportTypes';
26
- import { ServiceStatus } from '../value-objects/ServiceStatus';
27
- import { ServiceType } from '../value-objects/ServiceType';
28
- import { IService } from './IService';
29
- export declare class Service extends AggregateRoot<ServicePrimitives> implements IService {
30
- #private;
31
- private constructor();
32
- static create(props: ServiceProps): Service;
33
- static fromPrimitives(primitives: ServicePrimitives): Service;
34
- get toPrimitives(): ServicePrimitives;
35
- get code(): ServiceCode;
36
- get name(): ServiceName;
37
- get description(): ServiceDescription;
38
- get type(): ServiceType;
39
- get category(): ServiceCategory;
40
- get status(): ServiceStatus;
41
- get isRequiredService(): ServiceIsRequiredService;
42
- get dependsOnServiceCode(): ServiceDependsOnServiceCode;
43
- get hasBasePrice(): ServiceHasBasePrice;
44
- get basePricePercentage(): ServiceBasePricePercentage;
45
- get hasFixedPrice(): ServiceHasFixedPrice;
46
- get fixedPriceAmount(): ServiceFixedPriceAmount;
47
- get expertDedicationLevel(): ServiceExpertDedicationLevel;
48
- get reportTypes(): ServiceReportTypes;
49
- get additionalUserRoles(): ServiceAdditionalUserRoles;
50
- get maxUsers(): ServiceMaxUsers;
51
- get allowsDocumentReading(): ServiceAllowsDocumentReading;
52
- get allowsSectoralComparison(): ServiceAllowsSectoralComparison;
53
- get includesCarbonBoxAcademy(): ServiceIncludesCarbonBoxAcademy;
54
- get includesESGIndicators(): ServiceIncludesESGIndicators;
55
- get isAvailableForCorporate(): ServiceIsAvailableForCorporate;
56
- get isAvailableForProduct(): ServiceIsAvailableForProduct;
57
- get isAvailableForEvent(): ServiceIsAvailableForEvent;
58
- get createdByStakeholder(): ServiceCreatedByStakeholder;
59
- }
60
- //# sourceMappingURL=Service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Service.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/entity/Service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kDAAkD,CAAC;AACjF,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AACzF,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EAAE,+BAA+B,EAAE,MAAM,kDAAkD,CAAC;AACnG,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,OAAO,EAAE,+BAA+B,EAAE,MAAM,kDAAkD,CAAC;AACnG,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EAAE,8BAA8B,EAAE,MAAM,iDAAiD,CAAC;AACjG,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AACzF,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,qBAAa,OACX,SAAQ,aAAa,CAAC,iBAAiB,CACvC,YAAW,QAAQ;;IAiDnB,OAAO;WA8DgB,MAAM,CAAC,KAAK,EAAE,YAAY,GAAG,OAAO;WAIpC,cAAc,CAAC,UAAU,EAAE,iBAAiB,GAAG,OAAO;IAgC7E,IAAoB,YAAY,IAAI,iBAAiB,CA4BpD;IAED,IAAW,IAAI,IAAI,WAAW,CAE7B;IAED,IAAW,IAAI,IAAI,WAAW,CAE7B;IAED,IAAW,WAAW,IAAI,kBAAkB,CAE3C;IAED,IAAW,IAAI,IAAI,WAAW,CAE7B;IAED,IAAW,QAAQ,IAAI,eAAe,CAErC;IAED,IAAW,MAAM,IAAI,aAAa,CAEjC;IAED,IAAW,iBAAiB,IAAI,wBAAwB,CAEvD;IAED,IAAW,oBAAoB,IAAI,2BAA2B,CAE7D;IAED,IAAW,YAAY,IAAI,mBAAmB,CAE7C;IAED,IAAW,mBAAmB,IAAI,0BAA0B,CAE3D;IAED,IAAW,aAAa,IAAI,oBAAoB,CAE/C;IAED,IAAW,gBAAgB,IAAI,uBAAuB,CAErD;IAED,IAAW,qBAAqB,IAAI,4BAA4B,CAE/D;IAED,IAAW,WAAW,IAAI,kBAAkB,CAE3C;IAED,IAAW,mBAAmB,IAAI,0BAA0B,CAE3D;IAED,IAAW,QAAQ,IAAI,eAAe,CAErC;IAED,IAAW,qBAAqB,IAAI,4BAA4B,CAE/D;IAED,IAAW,wBAAwB,IAAI,+BAA+B,CAErE;IAED,IAAW,wBAAwB,IAAI,+BAA+B,CAErE;IAED,IAAW,qBAAqB,IAAI,4BAA4B,CAE/D;IAED,IAAW,uBAAuB,IAAI,8BAA8B,CAEnE;IAED,IAAW,qBAAqB,IAAI,4BAA4B,CAE/D;IAED,IAAW,mBAAmB,IAAI,0BAA0B,CAE3D;IAED,IAAW,oBAAoB,IAAI,2BAA2B,CAE7D;CACF"}
@@ -1,17 +0,0 @@
1
- export declare enum ServiceCategory {
2
- CORPORATE_FOOTPRINT = "CORPORATE_FOOTPRINT",
3
- PRODUCT_FOOTPRINT = "PRODUCT_FOOTPRINT",
4
- EVENT_FOOTPRINT = "EVENT_FOOTPRINT",
5
- EXPERT_SUPPORT = "EXPERT_SUPPORT",
6
- TRAINING = "TRAINING",
7
- AUDIT_SUPPORT = "AUDIT_SUPPORT",
8
- DATA_VALIDATION = "DATA_VALIDATION",
9
- REPORTING = "REPORTING",
10
- DOCUMENT_READING = "DOCUMENT_READING",
11
- SECTORAL_COMPARISON = "SECTORAL_COMPARISON",
12
- ADDITIONAL_USERS = "ADDITIONAL_USERS",
13
- CARBONBOX_ACADEMY = "CARBONBOX_ACADEMY",
14
- ESG_INDICATORS = "ESG_INDICATORS",
15
- CARBON_OFFSETTING = "CARBON_OFFSETTING"
16
- }
17
- //# 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/enums/ServiceCategory.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,mBAAmB,wBAAwB;IAC3C,iBAAiB,sBAAsB;IACvC,eAAe,oBAAoB;IACnC,cAAc,mBAAmB;IACjC,QAAQ,aAAa;IACrB,aAAa,kBAAkB;IAC/B,eAAe,oBAAoB;IACnC,SAAS,cAAc;IACvB,gBAAgB,qBAAqB;IACrC,mBAAmB,wBAAwB;IAC3C,gBAAgB,qBAAqB;IACrC,iBAAiB,sBAAsB;IACvC,cAAc,mBAAmB;IACjC,iBAAiB,sBAAsB;CACxC"}
@@ -1,6 +0,0 @@
1
- export declare enum ServiceStatus {
2
- ACTIVE = "ACTIVE",
3
- INACTIVE = "INACTIVE",
4
- DISCONTINUED = "DISCONTINUED"
5
- }
6
- //# sourceMappingURL=ServiceStatus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ServiceStatus.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceStatus.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,YAAY,iBAAiB;CAC9B"}
@@ -1,7 +0,0 @@
1
- export declare enum ServiceType {
2
- BASE_SERVICE = "BASE_SERVICE",// Servicios principales (huella corporativa, producto, evento)
3
- ADDITIONAL_SERVICE = "ADDITIONAL_SERVICE",// Servicios adicionales opcionales
4
- PLATFORM_FEATURE = "PLATFORM_FEATURE",// Features de plataforma
5
- DEPENDENT_SERVICE = "DEPENDENT_SERVICE"
6
- }
7
- //# sourceMappingURL=ServiceType.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ServiceType.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceType.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACrB,YAAY,iBAAiB,CAAE,+DAA+D;IAC9F,kBAAkB,uBAAuB,CAAE,mCAAmC;IAC9E,gBAAgB,qBAAqB,CAAE,yBAAyB;IAChE,iBAAiB,sBAAsB;CACxC"}
@@ -1,8 +0,0 @@
1
- import { RootError } from '../../../../shared/domain/exceptions/RootError';
2
- import { ServiceCategory } from '../enums/ServiceCategory';
3
- export declare class InvalidServiceCategoryError extends RootError {
4
- private constructor();
5
- static create(receivedValue: string, validCategories: ServiceCategory[]): InvalidServiceCategoryError;
6
- logError(): string;
7
- }
8
- //# sourceMappingURL=InvalidServiceCategoryError.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvalidServiceCategoryError.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCategoryError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,qBAAa,2BAA4B,SAAQ,SAAS;IACxD,OAAO;WAOgB,MAAM,CAAC,aAAa,EAAE,MAAM,EAAE,eAAe,EAAE,eAAe,EAAE,GAAG,2BAA2B;IAIrG,QAAQ,IAAI,MAAM;CAGnC"}
@@ -1,8 +0,0 @@
1
- import { RootError } from '../../../../shared/domain/exceptions/RootError';
2
- import { ServiceStatus } from '../enums/ServiceStatus';
3
- export declare class InvalidServiceStatusError extends RootError {
4
- private constructor();
5
- static create(receivedValue: string, validStatuses: ServiceStatus[]): InvalidServiceStatusError;
6
- logError(): string;
7
- }
8
- //# sourceMappingURL=InvalidServiceStatusError.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvalidServiceStatusError.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceStatusError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,qBAAa,yBAA0B,SAAQ,SAAS;IACtD,OAAO;WAOgB,MAAM,CAAC,aAAa,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,EAAE,GAAG,yBAAyB;IAI/F,QAAQ,IAAI,MAAM;CAGnC"}
@@ -1,8 +0,0 @@
1
- import { RootError } from '../../../../shared/domain/exceptions/RootError';
2
- import { ServiceType } from '../enums/ServiceType';
3
- export declare class InvalidServiceTypeError extends RootError {
4
- private constructor();
5
- static create(receivedValue: string, validTypes: ServiceType[]): InvalidServiceTypeError;
6
- logError(): string;
7
- }
8
- //# sourceMappingURL=InvalidServiceTypeError.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InvalidServiceTypeError.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceTypeError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,qBAAa,uBAAwB,SAAQ,SAAS;IACpD,OAAO;WAOgB,MAAM,CAAC,aAAa,EAAE,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,uBAAuB;IAIxF,QAAQ,IAAI,MAAM;CAGnC"}
@@ -1,22 +0,0 @@
1
- import { Nullable } from '../../../../shared/domain/types/Nullable';
2
- import { ServiceCatalog } from '../entity/ServiceCatalog';
3
- import { ServiceCatalogCategory } from '../value-objects/ServiceCatalogCategory';
4
- import { ServiceCatalogCode } from '../value-objects/ServiceCatalogCode';
5
- import { ServiceCatalogCreatedByStakeholder } from '../value-objects/ServiceCatalogCreatedByStakeholder';
6
- import { ServiceCatalogDependsOnServiceCode } from '../value-objects/ServiceCatalogDependsOnServiceCode';
7
- import { ServiceCatalogId } from '../value-objects/ServiceCatalogId';
8
- import { ServiceCatalogStatus } from '../value-objects/ServiceCatalogStatus';
9
- import { ServiceCatalogType } from '../value-objects/ServiceCatalogType';
10
- export interface IServiceCatalogRepository {
11
- save(service: ServiceCatalog): Promise<void>;
12
- findById(id: ServiceCatalogId): Promise<Nullable<ServiceCatalog>>;
13
- findByCode(code: ServiceCatalogCode): Promise<Nullable<ServiceCatalog>>;
14
- findAllByCategory(category: ServiceCatalogCategory): Promise<ServiceCatalog[]>;
15
- findAllByType(type: ServiceCatalogType): Promise<ServiceCatalog[]>;
16
- findAllByStatus(status: ServiceCatalogStatus): Promise<ServiceCatalog[]>;
17
- findAllByCreatedByStakeholder(createdByStakeholder: ServiceCatalogCreatedByStakeholder): Promise<ServiceCatalog[]>;
18
- findAllByDependsOnServiceCatalogCode(dependsOnServiceCatalogCode: ServiceCatalogDependsOnServiceCode): Promise<ServiceCatalog[]>;
19
- findAll(): Promise<ServiceCatalog[]>;
20
- deleteById(id: ServiceCatalogId): Promise<void>;
21
- }
22
- //# sourceMappingURL=IServiceRepository.d.ts.map
@@ -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"}