@carbonbox/domain 0.6.2 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/build/carbonbox/shared/domain/exceptions/InvalidAggregateIdFormatError.js +1 -1
  2. package/build/types/carbonbox/shared/domain/exceptions/InvalidAggregateIdFormatError.d.ts.map +1 -1
  3. package/package.json +1 -1
  4. package/build/carbonbox/purchase-management-system/service-catalog/domain/entity/IService.js +0 -2
  5. package/build/carbonbox/purchase-management-system/service-catalog/domain/entity/Service.js +0 -263
  6. package/build/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceCategory.js +0 -20
  7. package/build/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceStatus.js +0 -9
  8. package/build/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceType.js +0 -10
  9. package/build/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCategoryError.js +0 -19
  10. package/build/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceStatusError.js +0 -19
  11. package/build/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceTypeError.js +0 -19
  12. package/build/carbonbox/purchase-management-system/service-catalog/domain/repository/IServiceRepository.js +0 -2
  13. package/build/carbonbox/purchase-management-system/service-catalog/domain/types/ServicePrimitives.js +0 -2
  14. package/build/carbonbox/purchase-management-system/service-catalog/domain/types/ServiceProps.js +0 -2
  15. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAdditionalUserRoles.js +0 -131
  16. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAllowsDocumentReading.js +0 -22
  17. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAllowsSectoralComparison.js +0 -22
  18. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceBasePricePercentage.js +0 -140
  19. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCategory.js +0 -243
  20. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCode.js +0 -24
  21. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCreatedByStakeholder.js +0 -26
  22. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceDependsOnServiceCode.js +0 -21
  23. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceDescription.js +0 -23
  24. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceExpertDedicationLevel.js +0 -212
  25. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceFixedPriceAmount.js +0 -193
  26. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceHasBasePrice.js +0 -22
  27. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceHasFixedPrice.js +0 -22
  28. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceId.js +0 -24
  29. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIncludesCarbonBoxAcademy.js +0 -22
  30. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIncludesESGIndicators.js +0 -22
  31. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForCorporate.js +0 -22
  32. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForEvent.js +0 -22
  33. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForProduct.js +0 -22
  34. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsRequiredService.js +0 -22
  35. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceMaxUsers.js +0 -246
  36. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceName.js +0 -23
  37. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceReportTypes.js +0 -246
  38. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceStatus.js +0 -221
  39. package/build/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceType.js +0 -235
  40. package/build/carbonbox/shared/domain/exceptions/InvalidSemanticUuidError.js +0 -19
  41. package/build/carbonbox/shared/domain/services/DateTimeFormattingDomainService.js +0 -172
  42. package/build/carbonbox/shared/domain/services/contracts/ISemanticUuidDomainService.js +0 -2
  43. package/build/carbonbox/shared/domain/services/implementations/SemanticUuidDomainService.js +0 -235
  44. package/build/carbonbox/shared/domain/types/AllPermissions.js +0 -2
  45. package/build/carbonbox/shared/domain/types/AllPermissionsPrimitives.js +0 -2
  46. package/build/carbonbox/shared/domain/types/ServiceReference.js +0 -2
  47. package/build/carbonbox/shared/domain/types/ServiceReferencePrimitives.js +0 -2
  48. package/build/carbonbox/shared/domain/types/UserEmailProps.js +0 -2
  49. package/build/carbonbox/shared/domain/value-objects/ServiceReference.js +0 -301
  50. package/build/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissions.js +0 -2
  51. package/build/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissionsPrimitives.js +0 -2
  52. package/build/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissionsValue.js +0 -2
  53. package/build/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissions.js +0 -2
  54. package/build/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissionsPrimitives.js +0 -2
  55. package/build/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissionsValue.js +0 -2
  56. package/build/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissions.js +0 -2
  57. package/build/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissionsPrimitives.js +0 -2
  58. package/build/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissionsValue.js +0 -2
  59. package/build/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissions.js +0 -2
  60. package/build/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissionsPrimitives.js +0 -2
  61. package/build/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissionsValue.js +0 -2
  62. package/build/carbonbox/stakeholders/shared/domain/enums/StakeholderBusinessStatus.js +0 -10
  63. package/build/carbonbox/stakeholders/shared/domain/exceptions/InvalidStakeholderBusinessStatusError.js +0 -18
  64. package/build/carbonbox/stakeholders/shared/domain/types/StakeholderPermissions.js +0 -2
  65. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/entity/IService.d.ts +0 -52
  66. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/entity/IService.d.ts.map +0 -1
  67. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/entity/Service.d.ts +0 -60
  68. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/entity/Service.d.ts.map +0 -1
  69. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceCategory.d.ts +0 -17
  70. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceCategory.d.ts.map +0 -1
  71. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceStatus.d.ts +0 -6
  72. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceStatus.d.ts.map +0 -1
  73. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceType.d.ts +0 -7
  74. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/enums/ServiceType.d.ts.map +0 -1
  75. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCategoryError.d.ts +0 -8
  76. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceCategoryError.d.ts.map +0 -1
  77. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceStatusError.d.ts +0 -8
  78. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceStatusError.d.ts.map +0 -1
  79. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceTypeError.d.ts +0 -8
  80. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/exceptions/InvalidServiceTypeError.d.ts.map +0 -1
  81. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/repository/IServiceRepository.d.ts +0 -22
  82. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/repository/IServiceRepository.d.ts.map +0 -1
  83. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/types/ServicePrimitives.d.ts +0 -35
  84. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/types/ServicePrimitives.d.ts.map +0 -1
  85. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/types/ServiceProps.d.ts +0 -35
  86. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/types/ServiceProps.d.ts.map +0 -1
  87. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAdditionalUserRoles.d.ts +0 -71
  88. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAdditionalUserRoles.d.ts.map +0 -1
  89. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAllowsDocumentReading.d.ts +0 -9
  90. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAllowsDocumentReading.d.ts.map +0 -1
  91. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAllowsSectoralComparison.d.ts +0 -9
  92. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceAllowsSectoralComparison.d.ts.map +0 -1
  93. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceBasePricePercentage.d.ts +0 -54
  94. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceBasePricePercentage.d.ts.map +0 -1
  95. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCategory.d.ts +0 -123
  96. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCategory.d.ts.map +0 -1
  97. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCode.d.ts +0 -9
  98. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCode.d.ts.map +0 -1
  99. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCreatedByStakeholder.d.ts +0 -11
  100. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceCreatedByStakeholder.d.ts.map +0 -1
  101. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceDependsOnServiceCode.d.ts +0 -9
  102. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceDependsOnServiceCode.d.ts.map +0 -1
  103. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceDescription.d.ts +0 -9
  104. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceDescription.d.ts.map +0 -1
  105. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceExpertDedicationLevel.d.ts +0 -92
  106. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceExpertDedicationLevel.d.ts.map +0 -1
  107. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceFixedPriceAmount.d.ts +0 -83
  108. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceFixedPriceAmount.d.ts.map +0 -1
  109. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceHasBasePrice.d.ts +0 -9
  110. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceHasBasePrice.d.ts.map +0 -1
  111. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceHasFixedPrice.d.ts +0 -9
  112. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceHasFixedPrice.d.ts.map +0 -1
  113. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceId.d.ts +0 -9
  114. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceId.d.ts.map +0 -1
  115. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIncludesCarbonBoxAcademy.d.ts +0 -9
  116. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIncludesCarbonBoxAcademy.d.ts.map +0 -1
  117. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIncludesESGIndicators.d.ts +0 -9
  118. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIncludesESGIndicators.d.ts.map +0 -1
  119. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForCorporate.d.ts +0 -9
  120. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForCorporate.d.ts.map +0 -1
  121. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForEvent.d.ts +0 -9
  122. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForEvent.d.ts.map +0 -1
  123. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForProduct.d.ts +0 -9
  124. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsAvailableForProduct.d.ts.map +0 -1
  125. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsRequiredService.d.ts +0 -9
  126. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceIsRequiredService.d.ts.map +0 -1
  127. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceMaxUsers.d.ts +0 -99
  128. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceMaxUsers.d.ts.map +0 -1
  129. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceName.d.ts +0 -9
  130. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceName.d.ts.map +0 -1
  131. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceReportTypes.d.ts +0 -119
  132. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceReportTypes.d.ts.map +0 -1
  133. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceStatus.d.ts +0 -110
  134. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceStatus.d.ts.map +0 -1
  135. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceType.d.ts +0 -111
  136. package/build/types/carbonbox/purchase-management-system/service-catalog/domain/value-objects/ServiceType.d.ts.map +0 -1
  137. package/build/types/carbonbox/shared/domain/exceptions/InvalidSemanticUuidError.d.ts +0 -8
  138. package/build/types/carbonbox/shared/domain/exceptions/InvalidSemanticUuidError.d.ts.map +0 -1
  139. package/build/types/carbonbox/shared/domain/services/DateTimeFormattingDomainService.d.ts +0 -95
  140. package/build/types/carbonbox/shared/domain/services/DateTimeFormattingDomainService.d.ts.map +0 -1
  141. package/build/types/carbonbox/shared/domain/services/contracts/ISemanticUuidDomainService.d.ts +0 -85
  142. package/build/types/carbonbox/shared/domain/services/contracts/ISemanticUuidDomainService.d.ts.map +0 -1
  143. package/build/types/carbonbox/shared/domain/services/implementations/SemanticUuidDomainService.d.ts +0 -67
  144. package/build/types/carbonbox/shared/domain/services/implementations/SemanticUuidDomainService.d.ts.map +0 -1
  145. package/build/types/carbonbox/shared/domain/types/AllPermissions.d.ts +0 -12
  146. package/build/types/carbonbox/shared/domain/types/AllPermissions.d.ts.map +0 -1
  147. package/build/types/carbonbox/shared/domain/types/AllPermissionsPrimitives.d.ts +0 -12
  148. package/build/types/carbonbox/shared/domain/types/AllPermissionsPrimitives.d.ts.map +0 -1
  149. package/build/types/carbonbox/shared/domain/types/ServiceReference.d.ts +0 -8
  150. package/build/types/carbonbox/shared/domain/types/ServiceReference.d.ts.map +0 -1
  151. package/build/types/carbonbox/shared/domain/types/ServiceReferencePrimitives.d.ts +0 -8
  152. package/build/types/carbonbox/shared/domain/types/ServiceReferencePrimitives.d.ts.map +0 -1
  153. package/build/types/carbonbox/shared/domain/types/UserEmailProps.d.ts +0 -5
  154. package/build/types/carbonbox/shared/domain/types/UserEmailProps.d.ts.map +0 -1
  155. package/build/types/carbonbox/shared/domain/value-objects/ServiceReference.d.ts +0 -134
  156. package/build/types/carbonbox/shared/domain/value-objects/ServiceReference.d.ts.map +0 -1
  157. package/build/types/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissions.d.ts +0 -3
  158. package/build/types/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissions.d.ts.map +0 -1
  159. package/build/types/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissionsPrimitives.d.ts +0 -3
  160. package/build/types/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissionsPrimitives.d.ts.map +0 -1
  161. package/build/types/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissionsValue.d.ts +0 -3
  162. package/build/types/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissionsValue.d.ts.map +0 -1
  163. package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissions.d.ts +0 -3
  164. package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissions.d.ts.map +0 -1
  165. package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissionsPrimitives.d.ts +0 -3
  166. package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissionsPrimitives.d.ts.map +0 -1
  167. package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissionsValue.d.ts +0 -3
  168. package/build/types/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissionsValue.d.ts.map +0 -1
  169. package/build/types/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissions.d.ts +0 -3
  170. package/build/types/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissions.d.ts.map +0 -1
  171. package/build/types/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissionsPrimitives.d.ts +0 -3
  172. package/build/types/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissionsPrimitives.d.ts.map +0 -1
  173. package/build/types/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissionsValue.d.ts +0 -3
  174. package/build/types/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissionsValue.d.ts.map +0 -1
  175. package/build/types/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissions.d.ts +0 -3
  176. package/build/types/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissions.d.ts.map +0 -1
  177. package/build/types/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissionsPrimitives.d.ts +0 -3
  178. package/build/types/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissionsPrimitives.d.ts.map +0 -1
  179. package/build/types/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissionsValue.d.ts +0 -3
  180. package/build/types/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissionsValue.d.ts.map +0 -1
  181. package/build/types/carbonbox/stakeholders/shared/domain/enums/StakeholderBusinessStatus.d.ts +0 -7
  182. package/build/types/carbonbox/stakeholders/shared/domain/enums/StakeholderBusinessStatus.d.ts.map +0 -1
  183. package/build/types/carbonbox/stakeholders/shared/domain/exceptions/InvalidStakeholderBusinessStatusError.d.ts +0 -7
  184. package/build/types/carbonbox/stakeholders/shared/domain/exceptions/InvalidStakeholderBusinessStatusError.d.ts.map +0 -1
  185. package/build/types/carbonbox/stakeholders/shared/domain/types/StakeholderPermissions.d.ts +0 -10
  186. package/build/types/carbonbox/stakeholders/shared/domain/types/StakeholderPermissions.d.ts.map +0 -1
@@ -1,95 +0,0 @@
1
- /**
2
- * Domain Service for date and datetime formatting and validation operations.
3
- * Provides centralized business logic for date/datetime handling across the domain.
4
- */
5
- export declare class DateTimeFormattingDomainService {
6
- private static readonly DATE_REGEX;
7
- private static readonly DATETIME_REGEX;
8
- /**
9
- * Validates if a date string has the correct format (DD/MM/YYYY)
10
- * @param dateValue The date string to validate
11
- * @returns true if the format is valid, false otherwise
12
- */
13
- static isValidDateFormat(dateValue: string): boolean;
14
- /**
15
- * Validates if a datetime string has the correct format (DD/MM/YYYY HH:mm:ss)
16
- * @param dateTimeValue The datetime string to validate
17
- * @returns true if the format is valid, false otherwise
18
- */
19
- static isValidDateTimeFormat(dateTimeValue: string): boolean;
20
- /**
21
- * Formats a Date object to a date string (DD/MM/YYYY)
22
- * @param date The Date object to format
23
- * @returns The formatted date string
24
- */
25
- static formatDateToString(date: Date): string;
26
- /**
27
- * Formats a Date object to a datetime string (DD/MM/YYYY HH:mm:ss)
28
- * @param date The Date object to format
29
- * @returns The formatted datetime string
30
- */
31
- static formatDateTimeToString(date: Date): string;
32
- /**
33
- * Gets the current date formatted as a string (DD/MM/YYYY)
34
- * @returns The current date as a formatted string
35
- */
36
- static getCurrentDateString(): string;
37
- /**
38
- * Gets the current datetime formatted as a string (DD/MM/YYYY HH:mm:ss)
39
- * @returns The current datetime as a formatted string
40
- */
41
- static getCurrentDateTimeString(): string;
42
- /**
43
- * Parses a date string (DD/MM/YYYY) to a Date object
44
- * @param dateString The date string to parse
45
- * @returns The parsed Date object
46
- * @throws InvalidDateFormatError if the format is invalid
47
- */
48
- static parseDateString(dateString: string): Date;
49
- /**
50
- * Parses a datetime string (DD/MM/YYYY HH:mm:ss) to a Date object
51
- * @param dateTimeString The datetime string to parse
52
- * @returns The parsed Date object
53
- * @throws InvalidDateFormatError if the format is invalid
54
- */
55
- static parseDateTimeString(dateTimeString: string): Date;
56
- /**
57
- * Validates if a date string represents a valid calendar date
58
- * @param dateString The date string to validate
59
- * @returns true if the date is valid, false otherwise
60
- */
61
- static isValidDate(dateString: string): boolean;
62
- /**
63
- * Validates if a datetime string represents a valid calendar datetime
64
- * @param dateTimeString The datetime string to validate
65
- * @returns true if the datetime is valid, false otherwise
66
- */
67
- static isValidDateTime(dateTimeString: string): boolean;
68
- /**
69
- * Compares two date strings
70
- * @param dateString1 First date string
71
- * @param dateString2 Second date string
72
- * @returns negative if first is earlier, positive if later, 0 if equal
73
- * @throws InvalidDateFormatError if any format is invalid
74
- */
75
- static compareDates(dateString1: string, dateString2: string): number;
76
- /**
77
- * Compares two datetime strings
78
- * @param dateTimeString1 First datetime string
79
- * @param dateTimeString2 Second datetime string
80
- * @returns negative if first is earlier, positive if later, 0 if equal
81
- * @throws InvalidDateFormatError if any format is invalid
82
- */
83
- static compareDateTimes(dateTimeString1: string, dateTimeString2: string): number;
84
- /**
85
- * Gets the supported date format string
86
- * @returns The date format string
87
- */
88
- static getDateFormat(): string;
89
- /**
90
- * Gets the supported datetime format string
91
- * @returns The datetime format string
92
- */
93
- static getDateTimeFormat(): string;
94
- }
95
- //# sourceMappingURL=DateTimeFormattingDomainService.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DateTimeFormattingDomainService.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/services/DateTimeFormattingDomainService.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,qBAAa,+BAA+B;IAC1C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,UAAU,CAA2D;IAE7F,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAAyG;IAE/I;;;;OAIG;WACW,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO;IAI3D;;;;OAIG;WACW,qBAAqB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO;IAInE;;;;OAIG;WACW,kBAAkB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAQpD;;;;OAIG;WACW,sBAAsB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAWxD;;;OAGG;WACW,oBAAoB,IAAI,MAAM;IAI5C;;;OAGG;WACW,wBAAwB,IAAI,MAAM;IAIhD;;;;;OAKG;WACW,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;IASvD;;;;;OAKG;WACW,mBAAmB,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI;IAY/D;;;;OAIG;WACW,WAAW,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO;IActD;;;;OAIG;WACW,eAAe,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO;IAc9D;;;;;;OAMG;WACW,YAAY,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM;IAO5E;;;;;;OAMG;WACW,gBAAgB,CAAC,eAAe,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,MAAM;IAOxF;;;OAGG;WACW,aAAa,IAAI,MAAM;IAIrC;;;OAGG;WACW,iBAAiB,IAAI,MAAM;CAG1C"}
@@ -1,85 +0,0 @@
1
- import { IEither } from '../../../either';
2
- import { SemanticUuidPrefix } from '../../enums/SemanticUuidPrefix';
3
- import { InvalidSemanticUuidError } from '../../exceptions/InvalidSemanticUuidError';
4
- /**
5
- * Interface for Semantic UUID parsing and validation domain service.
6
- * Provides centralized business logic for semantic UUID handling across the domain.
7
- * Uses Either pattern for functional error handling.
8
- *
9
- * This service is designed to be used in factories, application services, and other
10
- * non-value-object contexts to maintain Value Object purity.
11
- */
12
- export interface ISemanticUuidDomainService {
13
- /**
14
- * Validates if a string is a valid semantic UUID prefix
15
- * @param prefix The prefix string to validate
16
- * @returns Either with validation result or error
17
- */
18
- isValidPrefix(prefix: string): IEither<InvalidSemanticUuidError, boolean>;
19
- /**
20
- * Gets the bounded context name from a semantic UUID prefix
21
- * @param prefix The semantic UUID prefix
22
- * @returns Either with bounded context name or error
23
- */
24
- getBoundedContext(prefix: SemanticUuidPrefix): IEither<InvalidSemanticUuidError, string>;
25
- /**
26
- * Gets the subdomain from a semantic UUID prefix
27
- * @param prefix The semantic UUID prefix
28
- * @returns Either with subdomain name or error
29
- */
30
- getSubdomain(prefix: SemanticUuidPrefix): IEither<InvalidSemanticUuidError, string>;
31
- /**
32
- * Gets all available prefixes as an array
33
- * @returns Either with array of all prefixes or error
34
- */
35
- getAllPrefixes(): IEither<InvalidSemanticUuidError, string[]>;
36
- /**
37
- * Gets prefixes by bounded context
38
- * @param boundedContext The bounded context name
39
- * @returns Either with array of prefixes for the context or error
40
- */
41
- getPrefixesByBoundedContext(boundedContext: string): IEither<InvalidSemanticUuidError, SemanticUuidPrefix[]>;
42
- /**
43
- * Validates a complete semantic UUID format
44
- * @param semanticUuid The complete semantic UUID to validate
45
- * @returns Either with validation result or error
46
- */
47
- validateSemanticUuidFormat(semanticUuid: string): IEither<InvalidSemanticUuidError, boolean>;
48
- /**
49
- * Extracts and validates the prefix from a semantic UUID
50
- * @param semanticUuid The complete semantic UUID
51
- * @returns Either with extracted prefix or error
52
- */
53
- extractPrefix(semanticUuid: string): IEither<InvalidSemanticUuidError, string>;
54
- /**
55
- * Extracts and validates the UUID from a semantic UUID
56
- * @param semanticUuid The complete semantic UUID
57
- * @returns Either with extracted UUID or error
58
- */
59
- extractUuid(semanticUuid: string): IEither<InvalidSemanticUuidError, string>;
60
- /**
61
- * Extracts the bounded context code (first 3 letters) from a semantic UUID
62
- * @param semanticUuid The complete semantic UUID
63
- * @returns Either with bounded context code or error
64
- */
65
- extractBoundedContextCode(semanticUuid: string): IEither<InvalidSemanticUuidError, string>;
66
- /**
67
- * Extracts all subdomain parts from a semantic UUID
68
- * @param semanticUuid The complete semantic UUID
69
- * @returns Either with array of subdomain parts or error
70
- */
71
- extractSubdomains(semanticUuid: string): IEither<InvalidSemanticUuidError, string[]>;
72
- /**
73
- * Checks if a semantic UUID has subdomains or is BC-level only
74
- * @param semanticUuid The complete semantic UUID
75
- * @returns Either with boolean indicating if it has subdomains or error
76
- */
77
- hasSubdomains(semanticUuid: string): IEither<InvalidSemanticUuidError, boolean>;
78
- /**
79
- * Creates a human-readable log representation of a semantic UUID
80
- * @param semanticUuid The complete semantic UUID
81
- * @returns Either with log string or error
82
- */
83
- toLogString(semanticUuid: string): IEither<InvalidSemanticUuidError, string>;
84
- }
85
- //# sourceMappingURL=ISemanticUuidDomainService.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ISemanticUuidDomainService.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/shared/domain/services/contracts/ISemanticUuidDomainService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAErF;;;;;;;GAOG;AACH,MAAM,WAAW,0BAA0B;IACzC;;;;OAIG;IACH,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC;IAE1E;;;;OAIG;IACH,iBAAiB,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC;IAEzF;;;;OAIG;IACH,YAAY,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC;IAEpF;;;OAGG;IACH,cAAc,IAAI,OAAO,CAAC,wBAAwB,EAAE,MAAM,EAAE,CAAC,CAAC;IAE9D;;;;OAIG;IACH,2BAA2B,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAE7G;;;;OAIG;IACH,0BAA0B,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC;IAE7F;;;;OAIG;IACH,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC;IAE/E;;;;OAIG;IACH,WAAW,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC;IAE7E;;;;OAIG;IACH,yBAAyB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC;IAE3F;;;;OAIG;IACH,iBAAiB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,EAAE,MAAM,EAAE,CAAC,CAAC;IAErF;;;;OAIG;IACH,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC;IAEhF;;;;OAIG;IACH,WAAW,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC;CAC9E"}
@@ -1,67 +0,0 @@
1
- import { IEither } from '../../../either';
2
- import { SemanticUuidPrefix } from '../../enums/SemanticUuidPrefix';
3
- import { InvalidSemanticUuidError } from '../../exceptions/InvalidSemanticUuidError';
4
- import { ISemanticUuidDomainService } from '../contracts/ISemanticUuidDomainService';
5
- /**
6
- * Domain Service for semantic UUID parsing, validation and business logic operations.
7
- * Provides centralized business logic for semantic UUID handling across the domain.
8
- * Refactored to support dependency injection and Either pattern for error handling.
9
- *
10
- * This service maintains Value Object purity by being used in factories,
11
- * application services, and other appropriate contexts.
12
- */
13
- export declare class SemanticUuidDomainService implements ISemanticUuidDomainService {
14
- private constructor();
15
- static create(): SemanticUuidDomainService;
16
- private readonly SEMANTIC_UUID_REGEX;
17
- private readonly UUID_REGEX;
18
- /**
19
- * Validates if a string is a valid semantic UUID prefix
20
- */
21
- isValidPrefix(prefix: string): IEither<InvalidSemanticUuidError, boolean>;
22
- /**
23
- * Gets the bounded context name from a semantic UUID prefix
24
- */
25
- getBoundedContext(prefix: SemanticUuidPrefix): IEither<InvalidSemanticUuidError, string>;
26
- /**
27
- * Gets the subdomain from a semantic UUID prefix
28
- */
29
- getSubdomain(prefix: SemanticUuidPrefix): IEither<InvalidSemanticUuidError, string>;
30
- /**
31
- * Gets all available prefixes as an array
32
- */
33
- getAllPrefixes(): IEither<InvalidSemanticUuidError, string[]>;
34
- /**
35
- * Gets prefixes by bounded context
36
- */
37
- getPrefixesByBoundedContext(boundedContext: string): IEither<InvalidSemanticUuidError, SemanticUuidPrefix[]>;
38
- /**
39
- * Validates a complete semantic UUID format
40
- */
41
- validateSemanticUuidFormat(semanticUuid: string): IEither<InvalidSemanticUuidError, boolean>;
42
- /**
43
- * Extracts and validates the prefix from a semantic UUID
44
- */
45
- extractPrefix(semanticUuid: string): IEither<InvalidSemanticUuidError, string>;
46
- /**
47
- * Extracts and validates the UUID from a semantic UUID
48
- */
49
- extractUuid(semanticUuid: string): IEither<InvalidSemanticUuidError, string>;
50
- /**
51
- * Extracts the bounded context code (first 3 letters) from a semantic UUID
52
- */
53
- extractBoundedContextCode(semanticUuid: string): IEither<InvalidSemanticUuidError, string>;
54
- /**
55
- * Extracts all subdomain parts from a semantic UUID
56
- */
57
- extractSubdomains(semanticUuid: string): IEither<InvalidSemanticUuidError, string[]>;
58
- /**
59
- * Checks if a semantic UUID has subdomains or is BC-level only
60
- */
61
- hasSubdomains(semanticUuid: string): IEither<InvalidSemanticUuidError, boolean>;
62
- /**
63
- * Creates a human-readable log representation of a semantic UUID
64
- */
65
- toLogString(semanticUuid: string): IEither<InvalidSemanticUuidError, string>;
66
- }
67
- //# sourceMappingURL=SemanticUuidDomainService.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SemanticUuidDomainService.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/shared/domain/services/implementations/SemanticUuidDomainService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,OAAO,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAIrF,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAErF;;;;;;;GAOG;AACH,qBAAa,yBAA0B,YAAW,0BAA0B;IAC1E,OAAO;WAIO,MAAM,IAAI,yBAAyB;IAKjD,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAiG;IAGrI,OAAO,CAAC,QAAQ,CAAC,UAAU,CAA4E;IAEvG;;OAEG;IACI,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,EAAE,OAAO,CAAC;IAmBhF;;OAEG;IACI,iBAAiB,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,wBAAwB,EAAE,MAAM,CAAC;IA4B/F;;OAEG;IACI,YAAY,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,wBAAwB,EAAE,MAAM,CAAC;IAc1F;;OAEG;IACI,cAAc,IAAI,OAAO,CAAC,wBAAwB,EAAE,MAAM,EAAE,CAAC;IAOpE;;OAEG;IACI,2BAA2B,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,EAAE,kBAAkB,EAAE,CAAC;IA2DnH;;OAEG;IACI,0BAA0B,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,EAAE,OAAO,CAAC;IAYnG;;OAEG;IACI,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,EAAE,MAAM,CAAC;IAarF;;OAEG;IACI,WAAW,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,EAAE,MAAM,CAAC;IAmBnF;;OAEG;IACI,yBAAyB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,EAAE,MAAM,CAAC;IAejG;;OAEG;IACI,iBAAiB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,EAAE,MAAM,EAAE,CAAC;IAiB3F;;OAEG;IACI,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,EAAE,OAAO,CAAC;IAetF;;OAEG;IACI,WAAW,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,EAAE,MAAM,CAAC;CA+BpF"}
@@ -1,12 +0,0 @@
1
- import { ActivityDataCollectionPermissions } from './ActivityDataCollectionPermissions';
2
- import { EmissionCalculationProcessPermissions } from './EmissionCalculationProcessPermissions';
3
- import { EmissionCalculationResultsPermissions } from './EmissionCalculationResultsPermissions';
4
- import { CarbonFootprintConfigurationPermissions } from './CarbonFootprintConfigurationPermissions';
5
- import { EmissionCalculationFormulaPermissions } from './EmissionCalculationFormulaPermissions';
6
- import { PurchaseManagementPermissions } from './PurchaseManagementPermissions';
7
- import { SystemAdministrationPermissions } from './SystemAdministrationPermissions';
8
- import { UserManagementPermissions } from './UserManagementPermissions';
9
- import { CompanyResourcesPermissions } from './CompanyResourcesPermissions';
10
- import { StakeholderManagementPermissions } from './StakeholderManagementPermissions';
11
- export type AllPermissions = UserManagementPermissions & CarbonFootprintConfigurationPermissions & EmissionCalculationFormulaPermissions & ActivityDataCollectionPermissions & EmissionCalculationProcessPermissions & EmissionCalculationResultsPermissions & PurchaseManagementPermissions & SystemAdministrationPermissions & CompanyResourcesPermissions & StakeholderManagementPermissions;
12
- //# sourceMappingURL=AllPermissions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AllPermissions.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/AllPermissions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAChG,OAAO,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAChG,OAAO,EAAE,uCAAuC,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAChG,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAItF,MAAM,MAAM,cAAc,GAAG,yBAAyB,GACtD,uCAAuC,GACvC,qCAAqC,GACrC,iCAAiC,GACjC,qCAAqC,GACrC,qCAAqC,GACrC,6BAA6B,GAC7B,+BAA+B,GAC/B,2BAA2B,GAC3B,gCAAgC,CAAC"}
@@ -1,12 +0,0 @@
1
- import { ActivityDataCollectionPermissionsPrimitives } from './ActivityDataCollectionPermissionsPrimitives';
2
- import { EmissionCalculationProcessPermissionsPrimitives } from './EmissionCalculationProcessPermissionsPrimitives';
3
- import { EmissionCalculationResultsPermissionsPrimitives } from './EmissionCalculationResultsPermissionsPrimitives';
4
- import { CarbonFootprintConfigurationPermissionsPrimitives } from './CarbonFootprintConfigurationPermissionsPrimitives';
5
- import { EmissionCalculationFormulaPermissionsPrimitives } from './EmissionCalculationFormulaPermissionsPrimitives';
6
- import { PurchaseManagementPermissionsPrimitives } from './PurchaseManagementPermissionsPrimitives';
7
- import { SystemAdministrationPermissionsPrimitives } from './SystemAdministrationPermissionsPrimitives';
8
- import { UserManagementPermissionsPrimitives } from './UserManagementPermissionsPrimitives';
9
- import { CompanyResourcesPermissionsPrimitives } from './CompanyResourcesPermissionsPrimitives';
10
- import { StakeholderManagementPermissionsPrimitives } from './StakeholderManagementPermissionsPrimitives';
11
- export type AllPermissionsPrimitives = UserManagementPermissionsPrimitives & CarbonFootprintConfigurationPermissionsPrimitives & EmissionCalculationFormulaPermissionsPrimitives & ActivityDataCollectionPermissionsPrimitives & EmissionCalculationProcessPermissionsPrimitives & EmissionCalculationResultsPermissionsPrimitives & PurchaseManagementPermissionsPrimitives & SystemAdministrationPermissionsPrimitives & CompanyResourcesPermissionsPrimitives & StakeholderManagementPermissionsPrimitives;
12
- //# sourceMappingURL=AllPermissionsPrimitives.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AllPermissionsPrimitives.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/AllPermissionsPrimitives.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2CAA2C,EAAE,MAAM,+CAA+C,CAAC;AAC5G,OAAO,EAAE,+CAA+C,EAAE,MAAM,mDAAmD,CAAC;AACpH,OAAO,EAAE,+CAA+C,EAAE,MAAM,mDAAmD,CAAC;AACpH,OAAO,EAAE,iDAAiD,EAAE,MAAM,qDAAqD,CAAC;AACxH,OAAO,EAAE,+CAA+C,EAAE,MAAM,mDAAmD,CAAC;AACpH,OAAO,EAAE,uCAAuC,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EAAE,yCAAyC,EAAE,MAAM,6CAA6C,CAAC;AACxG,OAAO,EAAE,mCAAmC,EAAE,MAAM,uCAAuC,CAAC;AAC5F,OAAO,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAChG,OAAO,EAAE,0CAA0C,EAAE,MAAM,8CAA8C,CAAC;AAI1G,MAAM,MAAM,wBAAwB,GAAG,mCAAmC,GAC1E,iDAAiD,GACjD,+CAA+C,GAC/C,2CAA2C,GAC3C,+CAA+C,GAC/C,+CAA+C,GAC/C,uCAAuC,GACvC,yCAAyC,GACzC,qCAAqC,GACrC,0CAA0C,CAAC"}
@@ -1,8 +0,0 @@
1
- import { ServiceType } from '../../../purchase-management-system/service-catalog/domain/enums/ServiceType';
2
- export type ServiceReference = {
3
- id: string;
4
- code: string;
5
- name: string;
6
- type: ServiceType;
7
- };
8
- //# sourceMappingURL=ServiceReference.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ServiceReference.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/ServiceReference.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8EAA8E,CAAC;AAE3G,MAAM,MAAM,gBAAgB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,WAAW,CAAC;CACnB,CAAC"}
@@ -1,8 +0,0 @@
1
- import { ServiceType } from '../../../purchase-management-system/service-catalog/domain/enums/ServiceType';
2
- export type ServiceReferencePrimitives = {
3
- id: string;
4
- code: string;
5
- name: string;
6
- type: ServiceType;
7
- };
8
- //# sourceMappingURL=ServiceReferencePrimitives.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ServiceReferencePrimitives.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/ServiceReferencePrimitives.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8EAA8E,CAAC;AAE3G,MAAM,MAAM,0BAA0B,GAAG;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,WAAW,CAAC;CACnB,CAAC"}
@@ -1,5 +0,0 @@
1
- export type UserEmailProps = {
2
- value: string;
3
- emailVerified: boolean;
4
- };
5
- //# sourceMappingURL=UserEmailProps.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UserEmailProps.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/UserEmailProps.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC"}
@@ -1,134 +0,0 @@
1
- import { ServiceCatalogReferencePrimitives } from '../types/ServiceCatalogReferencePrimitives';
2
- import { ServiceCatalogReference as TServiceCatalogReference } from '../types/ServiceCatalogReference';
3
- import { ObjectValueObject } from './ObjectValueObject';
4
- import { ServiceCatalogType } from '../../../purchase-management-system/service-catalog/domain/enums/ServiceCatalogType';
5
- export declare abstract class ServiceCatalogReference extends ObjectValueObject<ServiceCatalogReferencePrimitives> {
6
- #private;
7
- private static readonly DEFAULT_PROPERTY_NAME;
8
- /**
9
- * Constructor protegido para que solo clases hijas puedan instanciar.
10
- * Aplica todas las validaciones de dominio al momento de construcción.
11
- */
12
- protected constructor(value: TServiceCatalogReference, skipDomainValidation: boolean, propertyName?: string);
13
- /**
14
- * Validación estática para reutilización en factory methods y constructores.
15
- */
16
- protected static validateServiceCatalogReference(value: TServiceCatalogReference, propertyName: string): void;
17
- get id(): string;
18
- /**
19
- * Código único del servicio (UUID).
20
- */
21
- get code(): string;
22
- /**
23
- * Nombre descriptivo del servicio.
24
- */
25
- get name(): string;
26
- /**
27
- * Tipo de servicio.
28
- */
29
- get type(): ServiceCatalogType;
30
- hasId(id: string): boolean;
31
- /**
32
- * Verifica si el servicio corresponde a un código específico.
33
- */
34
- hasCode(code: string): boolean;
35
- /**
36
- * Verifica si el servicio tiene un nombre específico.
37
- */
38
- hasName(name: string): boolean;
39
- /**
40
- * Verifica si el servicio es de un tipo específico.
41
- */
42
- hasType(type: ServiceCatalogType): boolean;
43
- /**
44
- * Verifica si es un servicio base.
45
- */
46
- isBaseServiceCatalog(): boolean;
47
- /**
48
- * Verifica si es un servicio adicional.
49
- */
50
- isAdditionalServiceCatalog(): boolean;
51
- /**
52
- * Verifica si es una característica de plataforma.
53
- */
54
- isPlatformFeature(): boolean;
55
- /**
56
- * Verifica si es un servicio dependiente.
57
- */
58
- isDependentServiceCatalog(): boolean;
59
- /**
60
- * Verifica si es un servicio principal (base o adicional).
61
- */
62
- isPrincipalServiceCatalog(): boolean;
63
- /**
64
- * Verifica si requiere dependencias.
65
- */
66
- requiresDependencies(): boolean;
67
- /**
68
- * Obtiene una representación legible del servicio.
69
- */
70
- getDisplayName(): string;
71
- /**
72
- * Obtiene una representación completa con código y nombre.
73
- */
74
- getFullDisplayName(): string;
75
- /**
76
- * Obtiene una representación completa con código, nombre y tipo.
77
- */
78
- getFullDisplayNameWithType(): string;
79
- /**
80
- * Obtiene el nombre del tipo de servicio en formato legible.
81
- */
82
- getTypeDisplayName(): string;
83
- /**
84
- * Verifica si el nombre del servicio contiene un texto específico.
85
- * Útil para búsquedas parciales.
86
- */
87
- nameContains(searchText: string): boolean;
88
- /**
89
- * Verifica si el servicio coincide con un patrón de búsqueda en código, nombre o tipo.
90
- * Útil para filtros generales.
91
- */
92
- matches(searchText: string): boolean;
93
- /**
94
- * Verifica si el servicio coincide con criterios específicos.
95
- */
96
- matchesCriteria(criteria: {
97
- code?: string;
98
- name?: string;
99
- type?: ServiceCatalogType;
100
- searchText?: string;
101
- }): boolean;
102
- /**
103
- * Compara la igualdad semántica con otra referencia de servicio.
104
- * Dos referencias son iguales si tienen el mismo código, nombre y tipo.
105
- */
106
- equals(other: ServiceCatalogReference): boolean;
107
- /**
108
- * Compara si dos referencias apuntan al mismo servicio
109
- * basándose únicamente en el código (identificador único).
110
- */
111
- hasSameServiceCatalog(other: ServiceCatalogReference): boolean;
112
- /**
113
- * Verifica si es compatible con otro servicio para bundling.
114
- */
115
- isCompatibleForBundling(other: ServiceCatalogReference): boolean;
116
- /**
117
- * Genera un hash code para usar en colecciones.
118
- * Basado en el código de servicio, nombre y tipo.
119
- */
120
- hashCode(): string;
121
- /**
122
- * Convierte a representación primitiva para persistencia.
123
- */
124
- toPrimitives(): ServiceCatalogReferencePrimitives;
125
- /**
126
- * Representación como string (nombre del servicio).
127
- */
128
- toString(): string;
129
- /**
130
- * Representación JSON para serialización.
131
- */
132
- toJSON(): ServiceCatalogReferencePrimitives;
133
- }
134
- //# sourceMappingURL=ServiceReference.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ServiceReference.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/value-objects/ServiceReference.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iCAAiC,EAAE,MAAM,4CAA4C,CAAC;AAC/F,OAAO,EAAE,uBAAuB,IAAI,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAIxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,qFAAqF,CAAC;AAEzH,8BAAsB,uBAAwB,SAAQ,iBAAiB,CAAC,iCAAiC,CAAC;;IACxG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,qBAAqB,CAA6B;IAU1E;;;OAGG;IACH,SAAS,aACP,KAAK,EAAE,wBAAwB,EAC/B,oBAAoB,EAAE,OAAO,EAC7B,YAAY,GAAE,MAAsD;IAoBtE;;OAEG;IACH,SAAS,CAAC,MAAM,CAAC,+BAA+B,CAC9C,KAAK,EAAE,wBAAwB,EAC/B,YAAY,EAAE,MAAM,GACnB,IAAI;IAiEP,IAAW,EAAE,IAAI,MAAM,CAEtB;IAED;;OAEG;IACH,IAAW,IAAI,IAAI,MAAM,CAExB;IAED;;OAEG;IACH,IAAW,IAAI,IAAI,MAAM,CAExB;IAED;;OAEG;IACH,IAAW,IAAI,IAAI,kBAAkB,CAEpC;IAEM,KAAK,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;IAIjC;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAIrC;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAIrC;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO;IAIjD;;OAEG;IACI,oBAAoB,IAAI,OAAO;IAItC;;OAEG;IACI,0BAA0B,IAAI,OAAO;IAI5C;;OAEG;IACI,iBAAiB,IAAI,OAAO;IAInC;;OAEG;IACI,yBAAyB,IAAI,OAAO;IAI3C;;OAEG;IACI,yBAAyB,IAAI,OAAO;IAI3C;;OAEG;IACI,oBAAoB,IAAI,OAAO;IAItC;;OAEG;IACI,cAAc,IAAI,MAAM;IAI/B;;OAEG;IACI,kBAAkB,IAAI,MAAM;IAInC;;OAEG;IACI,0BAA0B,IAAI,MAAM;IAI3C;;OAEG;IACI,kBAAkB,IAAI,MAAM;IAWnC;;;OAGG;IACI,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO;IAIhD;;;OAGG;IACI,OAAO,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO;IAS3C;;OAEG;IACI,eAAe,CAAC,QAAQ,EAAE;QAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,kBAAkB,CAAC;QAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,GAAG,OAAO;IAoBX;;;OAGG;IACI,MAAM,CAAC,KAAK,EAAE,uBAAuB,GAAG,OAAO;IAatD;;;OAGG;IACI,qBAAqB,CAAC,KAAK,EAAE,uBAAuB,GAAG,OAAO;IAQrE;;OAEG;IACI,uBAAuB,CAAC,KAAK,EAAE,uBAAuB,GAAG,OAAO;IA0BvE;;;OAGG;IACI,QAAQ,IAAI,MAAM;IAIzB;;OAEG;IACa,YAAY,IAAI,iCAAiC;IASjE;;OAEG;IACI,QAAQ,IAAI,MAAM;IAIzB;;OAEG;IACI,MAAM,IAAI,iCAAiC;CAGnD"}
@@ -1,3 +0,0 @@
1
- import { AllPermissions } from '../../../../shared/domain/types/AllPermissions';
2
- export type CarbonClientPermissions = Pick<AllPermissions, 'canManageCorporateCarbonFootprintConfigurations' | 'canManageCorporateSegmentConfigurations' | 'canManageEventCarbonFootprintConfigurations' | 'canManageEventLifecycleStageConfigurations' | 'canManageProductCarbonFootprintConfigurations' | 'canManageProductSegmentConfigurations' | 'canManageProductSystemBoundaries' | 'canManageIntensityIndicators' | 'canManageCollectionFields' | 'canManageDynamicForms' | 'canManageConditionalLogic' | 'canManageContextualLabels' | 'canManageStakeholderAdaptations' | 'canManageActivityDataSubmissions' | 'canExecuteCalculationJobs' | 'canMonitorCalculationProcesses' | 'canRetryFailedCalculations' | 'canViewEmissionCalculationResults' | 'canViewEmissionAggregations' | 'canViewGHGEmissionResults' | 'canExportCalculationResults' | 'canGenerateEmissionReports' | 'canManageEvents' | 'canManageEventEditions' | 'canManageFacilities' | 'canManageProducts' | 'canViewCompanyResources' | 'canViewPurchases' | 'canCreatePurchaseOrders' | 'canUpdatePurchaseOrders'>;
3
- //# sourceMappingURL=CarbonClientPermissions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarbonClientPermissions.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAEhF,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,cAAc,EAEvD,iDAAiD,GACjD,yCAAyC,GACzC,6CAA6C,GAC7C,4CAA4C,GAC5C,+CAA+C,GAC/C,uCAAuC,GACvC,kCAAkC,GAClC,8BAA8B,GAG9B,2BAA2B,GAC3B,uBAAuB,GACvB,2BAA2B,GAC3B,2BAA2B,GAC3B,iCAAiC,GACjC,kCAAkC,GAGlC,2BAA2B,GAC3B,gCAAgC,GAChC,4BAA4B,GAG5B,mCAAmC,GACnC,6BAA6B,GAC7B,2BAA2B,GAC3B,6BAA6B,GAC7B,4BAA4B,GAG5B,iBAAiB,GACjB,wBAAwB,GACxB,qBAAqB,GACrB,mBAAmB,GACnB,yBAAyB,GAGzB,kBAAkB,GAClB,yBAAyB,GACzB,yBAAyB,CAC1B,CAAC"}
@@ -1,3 +0,0 @@
1
- import { AllPermissionsPrimitives } from '../../../../shared/domain/types/AllPermissionsPrimitives';
2
- export type CarbonClientPermissionsPrimitives = Pick<AllPermissionsPrimitives, 'canManageCorporateCarbonFootprintConfigurations' | 'canManageCorporateSegmentConfigurations' | 'canManageEventCarbonFootprintConfigurations' | 'canManageEventLifecycleStageConfigurations' | 'canManageProductCarbonFootprintConfigurations' | 'canManageProductSegmentConfigurations' | 'canManageProductSystemBoundaries' | 'canManageIntensityIndicators' | 'canManageCollectionFields' | 'canManageDynamicForms' | 'canManageConditionalLogic' | 'canManageContextualLabels' | 'canManageStakeholderAdaptations' | 'canManageActivityDataSubmissions' | 'canExecuteCalculationJobs' | 'canMonitorCalculationProcesses' | 'canRetryFailedCalculations' | 'canViewEmissionCalculationResults' | 'canViewEmissionAggregations' | 'canViewGHGEmissionResults' | 'canExportCalculationResults' | 'canGenerateEmissionReports' | 'canManageEvents' | 'canManageEventEditions' | 'canManageFacilities' | 'canManageProducts' | 'canViewCompanyResources' | 'canViewPurchases' | 'canCreatePurchaseOrders' | 'canUpdatePurchaseOrders'>;
3
- //# sourceMappingURL=CarbonClientPermissionsPrimitives.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarbonClientPermissionsPrimitives.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissionsPrimitives.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,0DAA0D,CAAC;AAEpG,MAAM,MAAM,iCAAiC,GAAG,IAAI,CAAC,wBAAwB,EAE3E,iDAAiD,GACjD,yCAAyC,GACzC,6CAA6C,GAC7C,4CAA4C,GAC5C,+CAA+C,GAC/C,uCAAuC,GACvC,kCAAkC,GAClC,8BAA8B,GAG9B,2BAA2B,GAC3B,uBAAuB,GACvB,2BAA2B,GAC3B,2BAA2B,GAC3B,iCAAiC,GACjC,kCAAkC,GAGlC,2BAA2B,GAC3B,gCAAgC,GAChC,4BAA4B,GAG5B,mCAAmC,GACnC,6BAA6B,GAC7B,2BAA2B,GAC3B,6BAA6B,GAC7B,4BAA4B,GAG5B,iBAAiB,GACjB,wBAAwB,GACxB,qBAAqB,GACrB,mBAAmB,GACnB,yBAAyB,GAGzB,kBAAkB,GAClB,yBAAyB,GACzB,yBAAyB,CAC1B,CAAC"}
@@ -1,3 +0,0 @@
1
- import { AllPermissions } from '../../../../shared/domain/types/AllPermissions';
2
- export type CarbonClientPermissionsValue = Pick<AllPermissions, 'canManageCorporateCarbonFootprintConfigurations' | 'canManageCorporateSegmentConfigurations' | 'canManageEventCarbonFootprintConfigurations' | 'canManageEventLifecycleStageConfigurations' | 'canManageProductCarbonFootprintConfigurations' | 'canManageProductSegmentConfigurations' | 'canManageProductSystemBoundaries' | 'canManageIntensityIndicators' | 'canManageCollectionFields' | 'canManageDynamicForms' | 'canManageConditionalLogic' | 'canManageContextualLabels' | 'canManageStakeholderAdaptations' | 'canManageActivityDataSubmissions' | 'canExecuteCalculationJobs' | 'canMonitorCalculationProcesses' | 'canRetryFailedCalculations' | 'canViewEmissionCalculationResults' | 'canViewEmissionAggregations' | 'canViewGHGEmissionResults' | 'canExportCalculationResults' | 'canGenerateEmissionReports' | 'canManageEvents' | 'canManageEventEditions' | 'canManageFacilities' | 'canManageProducts' | 'canViewCompanyResources' | 'canViewPurchases' | 'canCreatePurchaseOrders' | 'canUpdatePurchaseOrders'>;
3
- //# sourceMappingURL=CarbonClientPermissionsValue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarbonClientPermissionsValue.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-clients/domain/types/CarbonClientPermissionsValue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAEhF,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAAC,cAAc,EAE5D,iDAAiD,GACjD,yCAAyC,GACzC,6CAA6C,GAC7C,4CAA4C,GAC5C,+CAA+C,GAC/C,uCAAuC,GACvC,kCAAkC,GAClC,8BAA8B,GAG9B,2BAA2B,GAC3B,uBAAuB,GACvB,2BAA2B,GAC3B,2BAA2B,GAC3B,iCAAiC,GACjC,kCAAkC,GAGlC,2BAA2B,GAC3B,gCAAgC,GAChC,4BAA4B,GAG5B,mCAAmC,GACnC,6BAA6B,GAC7B,2BAA2B,GAC3B,6BAA6B,GAC7B,4BAA4B,GAG5B,iBAAiB,GACjB,wBAAwB,GACxB,qBAAqB,GACrB,mBAAmB,GACnB,yBAAyB,GAGzB,kBAAkB,GAClB,yBAAyB,GACzB,yBAAyB,CAC1B,CAAC"}
@@ -1,3 +0,0 @@
1
- import { AllPermissions } from '../../../../shared/domain/types/AllPermissions';
2
- export type CarbonCoordinatorPermissions = Pick<AllPermissions, 'canManageCorporateCarbonFootprintConfigurations' | 'canManageCorporateSegmentConfigurations' | 'canManageEventCarbonFootprintConfigurations' | 'canManageEventLifecycleStageConfigurations' | 'canManageProductCarbonFootprintConfigurations' | 'canManageProductSegmentConfigurations' | 'canManageProductSystemBoundaries' | 'canManageIntensityIndicators' | 'canManageCollectionFields' | 'canManageDynamicForms' | 'canManageConditionalLogic' | 'canManageContextualLabels' | 'canManageStakeholderAdaptations' | 'canManageActivityDataSubmissions' | 'canApproveActivityDataSubmissions' | 'canRejectActivityDataSubmissions' | 'canManageCalculationProcesses' | 'canManageCalculationWorkflows' | 'canManageCalculationJobs' | 'canExecuteCalculationJobs' | 'canMonitorCalculationProcesses' | 'canCancelCalculationJobs' | 'canRetryFailedCalculations' | 'canViewEmissionCalculationResults' | 'canManageEmissionCalculationResults' | 'canViewEmissionAggregations' | 'canManageEmissionAggregations' | 'canViewGHGEmissionResults' | 'canManageGHGEmissionResults' | 'canExportCalculationResults' | 'canGenerateEmissionReports' | 'canManageFormulas' | 'canManageEmissionFactors' | 'canManageCalculationVariables' | 'canManageConstants' | 'canManageGlobalWarmingPotentials' | 'canManageEvents' | 'canManageEventEditions' | 'canManageFacilities' | 'canManageProducts' | 'canViewCompanyResources' | 'canManageCompanies' | 'canAssignCompaniesToCoordinators' | 'canViewPurchases'>;
3
- //# sourceMappingURL=CarbonCoordinatorPermissions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarbonCoordinatorPermissions.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAEhF,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAAC,cAAc,EAE5D,iDAAiD,GACjD,yCAAyC,GACzC,6CAA6C,GAC7C,4CAA4C,GAC5C,+CAA+C,GAC/C,uCAAuC,GACvC,kCAAkC,GAClC,8BAA8B,GAG9B,2BAA2B,GAC3B,uBAAuB,GACvB,2BAA2B,GAC3B,2BAA2B,GAC3B,iCAAiC,GACjC,kCAAkC,GAClC,mCAAmC,GACnC,kCAAkC,GAGlC,+BAA+B,GAC/B,+BAA+B,GAC/B,0BAA0B,GAC1B,2BAA2B,GAC3B,gCAAgC,GAChC,0BAA0B,GAC1B,4BAA4B,GAG5B,mCAAmC,GACnC,qCAAqC,GACrC,6BAA6B,GAC7B,+BAA+B,GAC/B,2BAA2B,GAC3B,6BAA6B,GAC7B,6BAA6B,GAC7B,4BAA4B,GAG5B,mBAAmB,GACnB,0BAA0B,GAC1B,+BAA+B,GAC/B,oBAAoB,GACpB,kCAAkC,GAGlC,iBAAiB,GACjB,wBAAwB,GACxB,qBAAqB,GACrB,mBAAmB,GACnB,yBAAyB,GAGzB,oBAAoB,GACpB,kCAAkC,GAGlC,kBAAkB,CACnB,CAAC"}
@@ -1,3 +0,0 @@
1
- import { AllPermissionsPrimitives } from '../../../../shared/domain/types/AllPermissionsPrimitives';
2
- export type CarbonCoordinatorPermissionsPrimitives = Pick<AllPermissionsPrimitives, 'canManageCorporateCarbonFootprintConfigurations' | 'canManageCorporateSegmentConfigurations' | 'canManageEventCarbonFootprintConfigurations' | 'canManageEventLifecycleStageConfigurations' | 'canManageProductCarbonFootprintConfigurations' | 'canManageProductSegmentConfigurations' | 'canManageProductSystemBoundaries' | 'canManageIntensityIndicators' | 'canManageCollectionFields' | 'canManageDynamicForms' | 'canManageConditionalLogic' | 'canManageContextualLabels' | 'canManageStakeholderAdaptations' | 'canManageActivityDataSubmissions' | 'canApproveActivityDataSubmissions' | 'canRejectActivityDataSubmissions' | 'canManageCalculationProcesses' | 'canManageCalculationWorkflows' | 'canManageCalculationJobs' | 'canExecuteCalculationJobs' | 'canMonitorCalculationProcesses' | 'canCancelCalculationJobs' | 'canRetryFailedCalculations' | 'canViewEmissionCalculationResults' | 'canManageEmissionCalculationResults' | 'canViewEmissionAggregations' | 'canManageEmissionAggregations' | 'canViewGHGEmissionResults' | 'canManageGHGEmissionResults' | 'canExportCalculationResults' | 'canGenerateEmissionReports' | 'canManageFormulas' | 'canManageEmissionFactors' | 'canManageCalculationVariables' | 'canManageConstants' | 'canManageGlobalWarmingPotentials' | 'canManageEvents' | 'canManageEventEditions' | 'canManageFacilities' | 'canManageProducts' | 'canViewCompanyResources' | 'canManageCompanies' | 'canAssignCompaniesToCoordinators' | 'canViewPurchases'>;
3
- //# sourceMappingURL=CarbonCoordinatorPermissionsPrimitives.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarbonCoordinatorPermissionsPrimitives.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissionsPrimitives.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,0DAA0D,CAAC;AAEpG,MAAM,MAAM,sCAAsC,GAAG,IAAI,CAAC,wBAAwB,EAEhF,iDAAiD,GACjD,yCAAyC,GACzC,6CAA6C,GAC7C,4CAA4C,GAC5C,+CAA+C,GAC/C,uCAAuC,GACvC,kCAAkC,GAClC,8BAA8B,GAG9B,2BAA2B,GAC3B,uBAAuB,GACvB,2BAA2B,GAC3B,2BAA2B,GAC3B,iCAAiC,GACjC,kCAAkC,GAClC,mCAAmC,GACnC,kCAAkC,GAGlC,+BAA+B,GAC/B,+BAA+B,GAC/B,0BAA0B,GAC1B,2BAA2B,GAC3B,gCAAgC,GAChC,0BAA0B,GAC1B,4BAA4B,GAG5B,mCAAmC,GACnC,qCAAqC,GACrC,6BAA6B,GAC7B,+BAA+B,GAC/B,2BAA2B,GAC3B,6BAA6B,GAC7B,6BAA6B,GAC7B,4BAA4B,GAG5B,mBAAmB,GACnB,0BAA0B,GAC1B,+BAA+B,GAC/B,oBAAoB,GACpB,kCAAkC,GAGlC,iBAAiB,GACjB,wBAAwB,GACxB,qBAAqB,GACrB,mBAAmB,GACnB,yBAAyB,GAGzB,oBAAoB,GACpB,kCAAkC,GAGlC,kBAAkB,CACnB,CAAC"}
@@ -1,3 +0,0 @@
1
- import { AllPermissions } from '../../../../shared/domain/types/AllPermissions';
2
- export type CarbonCoordinatorPermissionsValue = Pick<AllPermissions, 'canManageCorporateCarbonFootprintConfigurations' | 'canManageCorporateSegmentConfigurations' | 'canManageEventCarbonFootprintConfigurations' | 'canManageEventLifecycleStageConfigurations' | 'canManageProductCarbonFootprintConfigurations' | 'canManageProductSegmentConfigurations' | 'canManageProductSystemBoundaries' | 'canManageIntensityIndicators' | 'canManageCollectionFields' | 'canManageDynamicForms' | 'canManageConditionalLogic' | 'canManageContextualLabels' | 'canManageStakeholderAdaptations' | 'canManageActivityDataSubmissions' | 'canApproveActivityDataSubmissions' | 'canRejectActivityDataSubmissions' | 'canManageCalculationProcesses' | 'canManageCalculationWorkflows' | 'canManageCalculationJobs' | 'canExecuteCalculationJobs' | 'canMonitorCalculationProcesses' | 'canCancelCalculationJobs' | 'canRetryFailedCalculations' | 'canViewEmissionCalculationResults' | 'canManageEmissionCalculationResults' | 'canViewEmissionAggregations' | 'canManageEmissionAggregations' | 'canViewGHGEmissionResults' | 'canManageGHGEmissionResults' | 'canExportCalculationResults' | 'canGenerateEmissionReports' | 'canManageFormulas' | 'canManageEmissionFactors' | 'canManageCalculationVariables' | 'canManageConstants' | 'canManageGlobalWarmingPotentials' | 'canManageEvents' | 'canManageEventEditions' | 'canManageFacilities' | 'canManageProducts' | 'canViewCompanyResources' | 'canManageCompanies' | 'canAssignCompaniesToCoordinators' | 'canViewPurchases'>;
3
- //# sourceMappingURL=CarbonCoordinatorPermissionsValue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarbonCoordinatorPermissionsValue.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-coordinators/domain/types/CarbonCoordinatorPermissionsValue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAEhF,MAAM,MAAM,iCAAiC,GAAG,IAAI,CAAC,cAAc,EAEjE,iDAAiD,GACjD,yCAAyC,GACzC,6CAA6C,GAC7C,4CAA4C,GAC5C,+CAA+C,GAC/C,uCAAuC,GACvC,kCAAkC,GAClC,8BAA8B,GAG9B,2BAA2B,GAC3B,uBAAuB,GACvB,2BAA2B,GAC3B,2BAA2B,GAC3B,iCAAiC,GACjC,kCAAkC,GAClC,mCAAmC,GACnC,kCAAkC,GAGlC,+BAA+B,GAC/B,+BAA+B,GAC/B,0BAA0B,GAC1B,2BAA2B,GAC3B,gCAAgC,GAChC,0BAA0B,GAC1B,4BAA4B,GAG5B,mCAAmC,GACnC,qCAAqC,GACrC,6BAA6B,GAC7B,+BAA+B,GAC/B,2BAA2B,GAC3B,6BAA6B,GAC7B,6BAA6B,GAC7B,4BAA4B,GAG5B,mBAAmB,GACnB,0BAA0B,GAC1B,+BAA+B,GAC/B,oBAAoB,GACpB,kCAAkC,GAGlC,iBAAiB,GACjB,wBAAwB,GACxB,qBAAqB,GACrB,mBAAmB,GACnB,yBAAyB,GAGzB,oBAAoB,GACpB,kCAAkC,GAGlC,kBAAkB,CACnB,CAAC"}
@@ -1,3 +0,0 @@
1
- import { SystemAdministrationPermissions } from '../../../../shared/domain/types/SystemAdministrationPermissions';
2
- export type CarbonHostPermissions = SystemAdministrationPermissions;
3
- //# sourceMappingURL=CarbonHostPermissions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarbonHostPermissions.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,iEAAiE,CAAC;AAGlH,MAAM,MAAM,qBAAqB,GAAG,+BAA+B,CAAC"}
@@ -1,3 +0,0 @@
1
- import { SystemAdministrationPermissionsPrimitives } from '../../../../shared/domain/types/SystemAdministrationPermissionsPrimitives';
2
- export type CarbonHostPermissionsPrimitives = SystemAdministrationPermissionsPrimitives;
3
- //# sourceMappingURL=CarbonHostPermissionsPrimitives.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarbonHostPermissionsPrimitives.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissionsPrimitives.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yCAAyC,EAAE,MAAM,2EAA2E,CAAC;AAEtI,MAAM,MAAM,+BAA+B,GAAG,yCAAyC,CAAC"}
@@ -1,3 +0,0 @@
1
- import { SystemAdministrationPermissions } from '../../../../shared/domain/types/SystemAdministrationPermissions';
2
- export type CarbonHostPermissionsValue = SystemAdministrationPermissions;
3
- //# sourceMappingURL=CarbonHostPermissionsValue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarbonHostPermissionsValue.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-host/domain/types/CarbonHostPermissionsValue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,iEAAiE,CAAC;AAElH,MAAM,MAAM,0BAA0B,GAAG,+BAA+B,CAAC"}
@@ -1,3 +0,0 @@
1
- import { AllPermissions } from '../../../../shared/domain/types/AllPermissions';
2
- export type CarbonManagerPermissions = Pick<AllPermissions, 'canManageAllUsers' | 'canManageCompanies' | 'canAssignCoordinators' | 'canAssignCompaniesToCoordinators' | 'canManageCarbonClients' | 'canManageCarbonCoordinators' | 'canViewStakeholderHierarchy' | 'canAssignStakeholderRoles' | 'canManageCorporateCarbonFootprintConfigurations' | 'canManageCorporateSegmentConfigurations' | 'canManageEventCarbonFootprintConfigurations' | 'canManageEventLifecycleStageConfigurations' | 'canManageProductCarbonFootprintConfigurations' | 'canManageProductSegmentConfigurations' | 'canManageProductSystemBoundaries' | 'canManageIntensityIndicators' | 'canManageCollectionFields' | 'canManageDynamicForms' | 'canManageConditionalLogic' | 'canManageContextualLabels' | 'canManageStakeholderAdaptations' | 'canManageActivityDataSubmissions' | 'canApproveActivityDataSubmissions' | 'canRejectActivityDataSubmissions' | 'canManageCalculationProcesses' | 'canManageCalculationWorkflows' | 'canManageCalculationJobs' | 'canExecuteCalculationJobs' | 'canMonitorCalculationProcesses' | 'canCancelCalculationJobs' | 'canRetryFailedCalculations' | 'canViewEmissionCalculationResults' | 'canManageEmissionCalculationResults' | 'canViewEmissionAggregations' | 'canManageEmissionAggregations' | 'canViewGHGEmissionResults' | 'canManageGHGEmissionResults' | 'canExportCalculationResults' | 'canGenerateEmissionReports' | 'canManageFormulas' | 'canManageEmissionFactors' | 'canManageCalculationVariables' | 'canManageConstants' | 'canManageGlobalWarmingPotentials' | 'canManageEvents' | 'canManageEventEditions' | 'canManageFacilities' | 'canManageProducts' | 'canViewCompanyResources' | 'canViewPurchases' | 'canCreatePurchaseOrders' | 'canUpdatePurchaseOrders' | 'canDeletePurchaseOrders' | 'canManagePurchaseContracts' | 'canConfigureServicePricing'>;
3
- //# sourceMappingURL=CarbonManagerPermissions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarbonManagerPermissions.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-managers/domain/types/CarbonManagerPermissions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAEhF,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC,cAAc,EAExD,mBAAmB,GACnB,oBAAoB,GACpB,uBAAuB,GACvB,kCAAkC,GAClC,wBAAwB,GACxB,6BAA6B,GAC7B,6BAA6B,GAC7B,2BAA2B,GAG3B,iDAAiD,GACjD,yCAAyC,GACzC,6CAA6C,GAC7C,4CAA4C,GAC5C,+CAA+C,GAC/C,uCAAuC,GACvC,kCAAkC,GAClC,8BAA8B,GAG9B,2BAA2B,GAC3B,uBAAuB,GACvB,2BAA2B,GAC3B,2BAA2B,GAC3B,iCAAiC,GACjC,kCAAkC,GAClC,mCAAmC,GACnC,kCAAkC,GAGlC,+BAA+B,GAC/B,+BAA+B,GAC/B,0BAA0B,GAC1B,2BAA2B,GAC3B,gCAAgC,GAChC,0BAA0B,GAC1B,4BAA4B,GAG5B,mCAAmC,GACnC,qCAAqC,GACrC,6BAA6B,GAC7B,+BAA+B,GAC/B,2BAA2B,GAC3B,6BAA6B,GAC7B,6BAA6B,GAC7B,4BAA4B,GAG5B,mBAAmB,GACnB,0BAA0B,GAC1B,+BAA+B,GAC/B,oBAAoB,GACpB,kCAAkC,GAGlC,iBAAiB,GACjB,wBAAwB,GACxB,qBAAqB,GACrB,mBAAmB,GACnB,yBAAyB,GAGzB,kBAAkB,GAClB,yBAAyB,GACzB,yBAAyB,GACzB,yBAAyB,GACzB,4BAA4B,GAC5B,4BAA4B,CAC7B,CAAC"}
@@ -1,3 +0,0 @@
1
- import { AllPermissionsPrimitives } from '../../../../shared/domain/types/AllPermissionsPrimitives';
2
- export type CarbonManagerPermissionsPrimitives = Pick<AllPermissionsPrimitives, 'canManageAllUsers' | 'canManageCompanies' | 'canAssignCoordinators' | 'canAssignCompaniesToCoordinators' | 'canManageCarbonClients' | 'canManageCarbonCoordinators' | 'canViewStakeholderHierarchy' | 'canAssignStakeholderRoles' | 'canManageCorporateCarbonFootprintConfigurations' | 'canManageCorporateSegmentConfigurations' | 'canManageEventCarbonFootprintConfigurations' | 'canManageEventLifecycleStageConfigurations' | 'canManageProductCarbonFootprintConfigurations' | 'canManageProductSegmentConfigurations' | 'canManageProductSystemBoundaries' | 'canManageIntensityIndicators' | 'canManageCollectionFields' | 'canManageDynamicForms' | 'canManageConditionalLogic' | 'canManageContextualLabels' | 'canManageStakeholderAdaptations' | 'canManageActivityDataSubmissions' | 'canApproveActivityDataSubmissions' | 'canRejectActivityDataSubmissions' | 'canManageCalculationProcesses' | 'canManageCalculationWorkflows' | 'canManageCalculationJobs' | 'canExecuteCalculationJobs' | 'canMonitorCalculationProcesses' | 'canCancelCalculationJobs' | 'canRetryFailedCalculations' | 'canViewEmissionCalculationResults' | 'canManageEmissionCalculationResults' | 'canViewEmissionAggregations' | 'canManageEmissionAggregations' | 'canViewGHGEmissionResults' | 'canManageGHGEmissionResults' | 'canExportCalculationResults' | 'canGenerateEmissionReports' | 'canManageFormulas' | 'canManageEmissionFactors' | 'canManageCalculationVariables' | 'canManageConstants' | 'canManageGlobalWarmingPotentials' | 'canManageEvents' | 'canManageEventEditions' | 'canManageFacilities' | 'canManageProducts' | 'canViewCompanyResources' | 'canViewPurchases' | 'canCreatePurchaseOrders' | 'canUpdatePurchaseOrders' | 'canDeletePurchaseOrders' | 'canManagePurchaseContracts' | 'canConfigureServicePricing'>;
3
- //# sourceMappingURL=CarbonManagerPermissionsPrimitives.d.ts.map