@carbonbox/domain 0.28.2 → 0.29.1

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 (126) hide show
  1. package/build/carbonbox/purchase-management-system/purchase-contracts/domain/exceptions/InvalidContractStatusError.js +24 -7
  2. package/build/carbonbox/purchase-management-system/purchase-contracts/domain/exceptions/InvalidPaymentTermsError.js +24 -7
  3. package/build/carbonbox/reporting/report-instances/domain/value-objects/ReportInstanceId.js +52 -0
  4. package/build/carbonbox/reporting/report-templates/domain/enums/ReportTemplateStatus.js +26 -0
  5. package/build/carbonbox/reporting/report-templates/domain/types/ReportTemplatePrimitives.js +2 -0
  6. package/build/carbonbox/reporting/report-templates/domain/types/ReportTemplateProps.js +2 -0
  7. package/build/carbonbox/reporting/report-templates/domain/value-objects/ReportTemplateId.js +52 -0
  8. package/build/carbonbox/reporting/shared/domain/enums/BlockNature.js +30 -0
  9. package/build/carbonbox/reporting/shared/domain/enums/DataBindingSource.js +91 -0
  10. package/build/carbonbox/reporting/shared/domain/enums/ReportStatus.js +42 -0
  11. package/build/carbonbox/reporting/shared/domain/enums/ReportType.js +30 -0
  12. package/build/carbonbox/reporting/shared/domain/exceptions/EmptyReportSectionBlocksError.js +18 -0
  13. package/build/carbonbox/reporting/shared/domain/exceptions/InvalidReportInstanceIdError.js +18 -0
  14. package/build/carbonbox/reporting/shared/domain/exceptions/InvalidReportSectionIdError.js +18 -0
  15. package/build/carbonbox/reporting/shared/domain/exceptions/InvalidReportSectionOrderError.js +18 -0
  16. package/build/carbonbox/reporting/shared/domain/exceptions/InvalidReportSectionTitleError.js +18 -0
  17. package/build/carbonbox/reporting/shared/domain/exceptions/InvalidReportTemplateIdError.js +18 -0
  18. package/build/carbonbox/reporting/shared/domain/types/ReportBlockPrimitives.js +2 -0
  19. package/build/carbonbox/reporting/shared/domain/types/ReportSectionPrimitives.js +2 -0
  20. package/build/carbonbox/reporting/shared/domain/value-objects/ReportSection.js +67 -0
  21. package/build/carbonbox/reporting/text-banks/domain/value-objects/TextBankId.js +52 -0
  22. package/build/carbonbox/shared/domain/enums/ErrorCode.js +81 -0
  23. package/build/carbonbox/shared/domain/enums/SemanticUuidPrefix.js +6 -0
  24. package/build/carbonbox/shared/domain/exceptions/AccountLockedError.js +58 -0
  25. package/build/carbonbox/shared/domain/exceptions/CodedRootError.js +63 -0
  26. package/build/carbonbox/shared/domain/exceptions/ConfigurationNotFoundError.js +62 -0
  27. package/build/carbonbox/shared/domain/exceptions/ContractNotFoundError.js +58 -0
  28. package/build/carbonbox/shared/domain/exceptions/EmailNotVerifiedError.js +61 -0
  29. package/build/carbonbox/shared/domain/exceptions/InvalidBusinessStatusError.js +56 -0
  30. package/build/carbonbox/shared/domain/exceptions/InvalidCredentialsError.js +35 -0
  31. package/build/carbonbox/shared/domain/exceptions/InvalidCurrencyError.js +51 -6
  32. package/build/carbonbox/shared/domain/exceptions/InvalidDateFormatError.js +26 -6
  33. package/build/carbonbox/shared/domain/exceptions/InvalidEmailPolicyError.js +15 -7
  34. package/build/carbonbox/shared/domain/exceptions/MissingCredentialsError.js +53 -0
  35. package/build/carbonbox/shared/domain/exceptions/NullValueError.js +16 -7
  36. package/build/carbonbox/shared/domain/exceptions/OrderExceedsBudgetError.js +98 -0
  37. package/build/carbonbox/shared/domain/exceptions/ServiceCatalogNotFoundError.js +64 -0
  38. package/build/carbonbox/shared/domain/exceptions/StakeholderNotFoundError.js +49 -0
  39. package/build/carbonbox/shared/domain/exceptions/TokenExpiredError.js +48 -0
  40. package/build/carbonbox/shared/domain/interfaces/ICodedError.js +2 -0
  41. package/build/main/index.js +37 -7
  42. package/build/types/carbonbox/carbon-footprint-configurations/corporate-configurations/domain/repository/ICorporateCarbonFootprintConfigurationRepository.d.ts +1 -1
  43. package/build/types/carbonbox/carbon-footprint-configurations/corporate-configurations/domain/repository/ICorporateCarbonFootprintConfigurationRepository.d.ts.map +1 -1
  44. package/build/types/carbonbox/purchase-management-system/purchase-contracts/domain/exceptions/InvalidContractStatusError.d.ts +9 -3
  45. package/build/types/carbonbox/purchase-management-system/purchase-contracts/domain/exceptions/InvalidContractStatusError.d.ts.map +1 -1
  46. package/build/types/carbonbox/purchase-management-system/purchase-contracts/domain/exceptions/InvalidPaymentTermsError.d.ts +9 -3
  47. package/build/types/carbonbox/purchase-management-system/purchase-contracts/domain/exceptions/InvalidPaymentTermsError.d.ts.map +1 -1
  48. package/build/types/carbonbox/reporting/report-instances/domain/value-objects/ReportInstanceId.d.ts +14 -0
  49. package/build/types/carbonbox/reporting/report-instances/domain/value-objects/ReportInstanceId.d.ts.map +1 -0
  50. package/build/types/carbonbox/reporting/report-templates/domain/enums/ReportTemplateStatus.d.ts +23 -0
  51. package/build/types/carbonbox/reporting/report-templates/domain/enums/ReportTemplateStatus.d.ts.map +1 -0
  52. package/build/types/carbonbox/reporting/report-templates/domain/types/ReportTemplatePrimitives.d.ts +21 -0
  53. package/build/types/carbonbox/reporting/report-templates/domain/types/ReportTemplatePrimitives.d.ts.map +1 -0
  54. package/build/types/carbonbox/reporting/report-templates/domain/types/ReportTemplateProps.d.ts +17 -0
  55. package/build/types/carbonbox/reporting/report-templates/domain/types/ReportTemplateProps.d.ts.map +1 -0
  56. package/build/types/carbonbox/reporting/report-templates/domain/value-objects/ReportTemplateId.d.ts +14 -0
  57. package/build/types/carbonbox/reporting/report-templates/domain/value-objects/ReportTemplateId.d.ts.map +1 -0
  58. package/build/types/carbonbox/reporting/shared/domain/enums/BlockNature.d.ts +27 -0
  59. package/build/types/carbonbox/reporting/shared/domain/enums/BlockNature.d.ts.map +1 -0
  60. package/build/types/carbonbox/reporting/shared/domain/enums/DataBindingSource.d.ts +72 -0
  61. package/build/types/carbonbox/reporting/shared/domain/enums/DataBindingSource.d.ts.map +1 -0
  62. package/build/types/carbonbox/reporting/shared/domain/enums/ReportStatus.d.ts +39 -0
  63. package/build/types/carbonbox/reporting/shared/domain/enums/ReportStatus.d.ts.map +1 -0
  64. package/build/types/carbonbox/reporting/shared/domain/enums/ReportType.d.ts +27 -0
  65. package/build/types/carbonbox/reporting/shared/domain/enums/ReportType.d.ts.map +1 -0
  66. package/build/types/carbonbox/reporting/shared/domain/exceptions/EmptyReportSectionBlocksError.d.ts +7 -0
  67. package/build/types/carbonbox/reporting/shared/domain/exceptions/EmptyReportSectionBlocksError.d.ts.map +1 -0
  68. package/build/types/carbonbox/reporting/shared/domain/exceptions/InvalidReportInstanceIdError.d.ts +7 -0
  69. package/build/types/carbonbox/reporting/shared/domain/exceptions/InvalidReportInstanceIdError.d.ts.map +1 -0
  70. package/build/types/carbonbox/reporting/shared/domain/exceptions/InvalidReportSectionIdError.d.ts +7 -0
  71. package/build/types/carbonbox/reporting/shared/domain/exceptions/InvalidReportSectionIdError.d.ts.map +1 -0
  72. package/build/types/carbonbox/reporting/shared/domain/exceptions/InvalidReportSectionOrderError.d.ts +7 -0
  73. package/build/types/carbonbox/reporting/shared/domain/exceptions/InvalidReportSectionOrderError.d.ts.map +1 -0
  74. package/build/types/carbonbox/reporting/shared/domain/exceptions/InvalidReportSectionTitleError.d.ts +7 -0
  75. package/build/types/carbonbox/reporting/shared/domain/exceptions/InvalidReportSectionTitleError.d.ts.map +1 -0
  76. package/build/types/carbonbox/reporting/shared/domain/exceptions/InvalidReportTemplateIdError.d.ts +7 -0
  77. package/build/types/carbonbox/reporting/shared/domain/exceptions/InvalidReportTemplateIdError.d.ts.map +1 -0
  78. package/build/types/carbonbox/reporting/shared/domain/types/ReportBlockPrimitives.d.ts +16 -0
  79. package/build/types/carbonbox/reporting/shared/domain/types/ReportBlockPrimitives.d.ts.map +1 -0
  80. package/build/types/carbonbox/reporting/shared/domain/types/ReportSectionPrimitives.d.ts +10 -0
  81. package/build/types/carbonbox/reporting/shared/domain/types/ReportSectionPrimitives.d.ts.map +1 -0
  82. package/build/types/carbonbox/reporting/shared/domain/value-objects/ReportSection.d.ts +18 -0
  83. package/build/types/carbonbox/reporting/shared/domain/value-objects/ReportSection.d.ts.map +1 -0
  84. package/build/types/carbonbox/reporting/text-banks/domain/value-objects/TextBankId.d.ts +14 -0
  85. package/build/types/carbonbox/reporting/text-banks/domain/value-objects/TextBankId.d.ts.map +1 -0
  86. package/build/types/carbonbox/shared/domain/enums/ErrorCode.d.ts +71 -0
  87. package/build/types/carbonbox/shared/domain/enums/ErrorCode.d.ts.map +1 -0
  88. package/build/types/carbonbox/shared/domain/enums/SemanticUuidPrefix.d.ts +6 -1
  89. package/build/types/carbonbox/shared/domain/enums/SemanticUuidPrefix.d.ts.map +1 -1
  90. package/build/types/carbonbox/shared/domain/exceptions/AccountLockedError.d.ts +25 -0
  91. package/build/types/carbonbox/shared/domain/exceptions/AccountLockedError.d.ts.map +1 -0
  92. package/build/types/carbonbox/shared/domain/exceptions/CodedRootError.d.ts +44 -0
  93. package/build/types/carbonbox/shared/domain/exceptions/CodedRootError.d.ts.map +1 -0
  94. package/build/types/carbonbox/shared/domain/exceptions/ConfigurationNotFoundError.d.ts +29 -0
  95. package/build/types/carbonbox/shared/domain/exceptions/ConfigurationNotFoundError.d.ts.map +1 -0
  96. package/build/types/carbonbox/shared/domain/exceptions/ContractNotFoundError.d.ts +25 -0
  97. package/build/types/carbonbox/shared/domain/exceptions/ContractNotFoundError.d.ts.map +1 -0
  98. package/build/types/carbonbox/shared/domain/exceptions/EmailNotVerifiedError.d.ts +27 -0
  99. package/build/types/carbonbox/shared/domain/exceptions/EmailNotVerifiedError.d.ts.map +1 -0
  100. package/build/types/carbonbox/shared/domain/exceptions/InvalidBusinessStatusError.d.ts +25 -0
  101. package/build/types/carbonbox/shared/domain/exceptions/InvalidBusinessStatusError.d.ts.map +1 -0
  102. package/build/types/carbonbox/shared/domain/exceptions/InvalidCredentialsError.d.ts +13 -0
  103. package/build/types/carbonbox/shared/domain/exceptions/InvalidCredentialsError.d.ts.map +1 -0
  104. package/build/types/carbonbox/shared/domain/exceptions/InvalidCurrencyError.d.ts +23 -3
  105. package/build/types/carbonbox/shared/domain/exceptions/InvalidCurrencyError.d.ts.map +1 -1
  106. package/build/types/carbonbox/shared/domain/exceptions/InvalidDateFormatError.d.ts +3 -3
  107. package/build/types/carbonbox/shared/domain/exceptions/InvalidDateFormatError.d.ts.map +1 -1
  108. package/build/types/carbonbox/shared/domain/exceptions/InvalidEmailPolicyError.d.ts +2 -3
  109. package/build/types/carbonbox/shared/domain/exceptions/InvalidEmailPolicyError.d.ts.map +1 -1
  110. package/build/types/carbonbox/shared/domain/exceptions/MissingCredentialsError.d.ts +25 -0
  111. package/build/types/carbonbox/shared/domain/exceptions/MissingCredentialsError.d.ts.map +1 -0
  112. package/build/types/carbonbox/shared/domain/exceptions/NullValueError.d.ts +2 -3
  113. package/build/types/carbonbox/shared/domain/exceptions/NullValueError.d.ts.map +1 -1
  114. package/build/types/carbonbox/shared/domain/exceptions/OrderExceedsBudgetError.d.ts +42 -0
  115. package/build/types/carbonbox/shared/domain/exceptions/OrderExceedsBudgetError.d.ts.map +1 -0
  116. package/build/types/carbonbox/shared/domain/exceptions/ServiceCatalogNotFoundError.d.ts +29 -0
  117. package/build/types/carbonbox/shared/domain/exceptions/ServiceCatalogNotFoundError.d.ts.map +1 -0
  118. package/build/types/carbonbox/shared/domain/exceptions/StakeholderNotFoundError.d.ts +21 -0
  119. package/build/types/carbonbox/shared/domain/exceptions/StakeholderNotFoundError.d.ts.map +1 -0
  120. package/build/types/carbonbox/shared/domain/exceptions/TokenExpiredError.d.ts +21 -0
  121. package/build/types/carbonbox/shared/domain/exceptions/TokenExpiredError.d.ts.map +1 -0
  122. package/build/types/carbonbox/shared/domain/interfaces/ICodedError.d.ts +38 -0
  123. package/build/types/carbonbox/shared/domain/interfaces/ICodedError.d.ts.map +1 -0
  124. package/build/types/main/index.d.ts +14 -0
  125. package/build/types/main/index.d.ts.map +1 -1
  126. package/package.json +1 -1
@@ -0,0 +1,29 @@
1
+ import { CodedRootError } from './CodedRootError';
2
+ /**
3
+ * Exception thrown when a carbon footprint configuration is not found
4
+ * This error occurs when searching for configurations by ID, type, or other criteria
5
+ *
6
+ * Error code: CBX-CFC-001
7
+ * @since 1.0.0
8
+ */
9
+ export declare class ConfigurationNotFoundError extends CodedRootError {
10
+ private constructor();
11
+ static create(configurationType: string, searchCriteria: string, searchValue: string, clientId?: string): ConfigurationNotFoundError;
12
+ /**
13
+ * Creates an error for missing corporate configuration
14
+ */
15
+ static corporate(id: string, clientId?: string): ConfigurationNotFoundError;
16
+ /**
17
+ * Creates an error for missing product configuration
18
+ */
19
+ static product(id: string, clientId?: string): ConfigurationNotFoundError;
20
+ /**
21
+ * Creates an error for missing event configuration
22
+ */
23
+ static event(id: string, clientId?: string): ConfigurationNotFoundError;
24
+ /**
25
+ * Creates an error for missing configuration by period
26
+ */
27
+ static byPeriod(configurationType: string, period: string, clientId?: string): ConfigurationNotFoundError;
28
+ }
29
+ //# sourceMappingURL=ConfigurationNotFoundError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfigurationNotFoundError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/exceptions/ConfigurationNotFoundError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD;;;;;;GAMG;AACH,qBAAa,0BAA2B,SAAQ,cAAc;IAC5D,OAAO;WA6BgB,MAAM,CAC3B,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,WAAW,EAAE,MAAM,EACnB,QAAQ,CAAC,EAAE,MAAM,GAChB,0BAA0B;IAI7B;;OAEG;WACW,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,0BAA0B;IAIlF;;OAEG;WACW,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,0BAA0B;IAIhF;;OAEG;WACW,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,0BAA0B;IAI9E;;OAEG;WACW,QAAQ,CAAC,iBAAiB,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,0BAA0B;CAGjH"}
@@ -0,0 +1,25 @@
1
+ import { CodedRootError } from './CodedRootError';
2
+ /**
3
+ * Exception thrown when a purchase contract is not found in the system
4
+ * This error occurs when searching for contracts by ID, client, or other criteria
5
+ *
6
+ * Error code: CBX-PMS-001
7
+ * @since 1.0.0
8
+ */
9
+ export declare class ContractNotFoundError extends CodedRootError {
10
+ private constructor();
11
+ static create(searchCriteria: string, searchValue: string, clientId?: string, contractType?: string): ContractNotFoundError;
12
+ /**
13
+ * Creates a ContractNotFoundError specifically for ID searches
14
+ */
15
+ static byId(id: string, clientId?: string): ContractNotFoundError;
16
+ /**
17
+ * Creates a ContractNotFoundError specifically for contract number searches
18
+ */
19
+ static byContractNumber(contractNumber: string, clientId?: string): ContractNotFoundError;
20
+ /**
21
+ * Creates a ContractNotFoundError for active contracts
22
+ */
23
+ static noActiveContract(clientId: string): ContractNotFoundError;
24
+ }
25
+ //# sourceMappingURL=ContractNotFoundError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContractNotFoundError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/exceptions/ContractNotFoundError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD;;;;;;GAMG;AACH,qBAAa,qBAAsB,SAAQ,cAAc;IACvD,OAAO;WA+BgB,MAAM,CAC3B,cAAc,EAAE,MAAM,EACtB,WAAW,EAAE,MAAM,EACnB,QAAQ,CAAC,EAAE,MAAM,EACjB,YAAY,CAAC,EAAE,MAAM,GACpB,qBAAqB;IAIxB;;OAEG;WACW,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,qBAAqB;IAIxE;;OAEG;WACW,gBAAgB,CAAC,cAAc,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,qBAAqB;IAIhG;;OAEG;WACW,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,qBAAqB;CAGxE"}
@@ -0,0 +1,27 @@
1
+ import { CodedRootError } from './CodedRootError';
2
+ /**
3
+ * Error thrown when a user tries to perform an action that requires
4
+ * a verified email address, but their email has not been verified yet.
5
+ *
6
+ * @since 1.0.0
7
+ */
8
+ export declare class EmailNotVerifiedError extends CodedRootError {
9
+ private constructor();
10
+ /**
11
+ * Factory method to create a new EmailNotVerifiedError instance
12
+ *
13
+ * @param email - The unverified email address
14
+ * @param actionAttempted - Optional description of the action the user attempted
15
+ * @returns A new EmailNotVerifiedError instance
16
+ */
17
+ static create(email: string, actionAttempted?: string): EmailNotVerifiedError;
18
+ /**
19
+ * Returns whether the error is related to accessing restricted features
20
+ */
21
+ isAccessRestriction(): boolean;
22
+ /**
23
+ * Returns a user-friendly message based on the locale
24
+ */
25
+ getUserMessage(locale?: string): string;
26
+ }
27
+ //# sourceMappingURL=EmailNotVerifiedError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmailNotVerifiedError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/exceptions/EmailNotVerifiedError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD;;;;;GAKG;AACH,qBAAa,qBAAsB,SAAQ,cAAc;IACvD,OAAO;IA+BP;;;;;;OAMG;WACoB,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,eAAe,CAAC,EAAE,MAAM,GAAG,qBAAqB;IAI7F;;OAEG;IACI,mBAAmB,IAAI,OAAO;IAIrC;;OAEG;IACI,cAAc,CAAC,MAAM,GAAE,MAAa,GAAG,MAAM;CASrD"}
@@ -0,0 +1,25 @@
1
+ import { CodedRootError } from './CodedRootError';
2
+ /**
3
+ * Exception thrown when a business status transition is invalid
4
+ * This error occurs when attempting to change a stakeholder or entity status to an invalid state
5
+ *
6
+ * Error code: CBX-STK-005
7
+ * @since 1.0.0
8
+ */
9
+ export declare class InvalidBusinessStatusError extends CodedRootError {
10
+ private constructor();
11
+ static create(currentStatus: string, attemptedStatus: string, entityType: string, entityId?: string): InvalidBusinessStatusError;
12
+ /**
13
+ * Creates an error for invalid activation attempts
14
+ */
15
+ static cannotActivate(currentStatus: string, entityType: string, entityId?: string): InvalidBusinessStatusError;
16
+ /**
17
+ * Creates an error for invalid deactivation attempts
18
+ */
19
+ static cannotDeactivate(currentStatus: string, entityType: string, entityId?: string): InvalidBusinessStatusError;
20
+ /**
21
+ * Creates an error for invalid deletion attempts
22
+ */
23
+ static cannotDelete(currentStatus: string, entityType: string, entityId?: string): InvalidBusinessStatusError;
24
+ }
25
+ //# sourceMappingURL=InvalidBusinessStatusError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InvalidBusinessStatusError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/exceptions/InvalidBusinessStatusError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD;;;;;;GAMG;AACH,qBAAa,0BAA2B,SAAQ,cAAc;IAC5D,OAAO;WA6BgB,MAAM,CAC3B,aAAa,EAAE,MAAM,EACrB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,MAAM,EAClB,QAAQ,CAAC,EAAE,MAAM,GAChB,0BAA0B;IAI7B;;OAEG;WACW,cAAc,CAAC,aAAa,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,0BAA0B;IAItH;;OAEG;WACW,gBAAgB,CAAC,aAAa,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,0BAA0B;IAIxH;;OAEG;WACW,YAAY,CAAC,aAAa,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,0BAA0B;CAGrH"}
@@ -0,0 +1,13 @@
1
+ import { CodedRootError } from './CodedRootError';
2
+ /**
3
+ * Exception thrown when authentication credentials are invalid
4
+ * This error is used when the email/password combination is incorrect
5
+ *
6
+ * Error code: CBX-AUTH-001
7
+ * @since 1.0.0
8
+ */
9
+ export declare class InvalidCredentialsError extends CodedRootError {
10
+ private constructor();
11
+ static create(email: string, attemptNumber?: number): InvalidCredentialsError;
12
+ }
13
+ //# sourceMappingURL=InvalidCredentialsError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InvalidCredentialsError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/exceptions/InvalidCredentialsError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD;;;;;;GAMG;AACH,qBAAa,uBAAwB,SAAQ,cAAc;IACzD,OAAO;WAqBgB,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,uBAAuB;CAG9F"}
@@ -1,7 +1,27 @@
1
- import { RootError } from './RootError';
2
- export declare class InvalidCurrencyError extends RootError {
1
+ import { CodedRootError } from './CodedRootError';
2
+ /**
3
+ * Error thrown when an invalid currency code is provided
4
+ * that does not match the accepted currency standards.
5
+ *
6
+ * @since 1.0.0
7
+ */
8
+ export declare class InvalidCurrencyError extends CodedRootError {
3
9
  private constructor();
10
+ /**
11
+ * Factory method to create a new InvalidCurrencyError instance
12
+ *
13
+ * @param currency - The invalid currency code provided
14
+ * @param validCurrencies - List of valid currency codes
15
+ * @returns A new InvalidCurrencyError instance
16
+ */
4
17
  static create(currency: string, validCurrencies: string[]): InvalidCurrencyError;
5
- logError(): string;
18
+ /**
19
+ * Checks if the provided currency might be a common typo
20
+ */
21
+ isPossibleTypo(): boolean;
22
+ /**
23
+ * Returns a user-friendly message based on the locale
24
+ */
25
+ getUserMessage(locale?: string): string;
6
26
  }
7
27
  //# sourceMappingURL=InvalidCurrencyError.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InvalidCurrencyError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/exceptions/InvalidCurrencyError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,oBAAqB,SAAQ,SAAS;IACjD,OAAO;WAOgB,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,oBAAoB;IAIhF,QAAQ,IAAI,MAAM;CAGnC"}
1
+ {"version":3,"file":"InvalidCurrencyError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/exceptions/InvalidCurrencyError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD;;;;;GAKG;AACH,qBAAa,oBAAqB,SAAQ,cAAc;IACtD,OAAO;IA4BP;;;;;;OAMG;WACoB,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,oBAAoB;IAIhG;;OAEG;IACI,cAAc,IAAI,OAAO;IAYhC;;OAEG;IACI,cAAc,CAAC,MAAM,GAAE,MAAa,GAAG,MAAM;CASrD"}
@@ -1,7 +1,7 @@
1
- import { RootError } from './RootError';
2
- export declare class InvalidDateFormatError extends RootError {
1
+ import { CodedRootError } from './CodedRootError';
2
+ export declare class InvalidDateFormatError extends CodedRootError {
3
3
  private constructor();
4
4
  static create(value: string, expectedFormat: string): InvalidDateFormatError;
5
- logError(): string;
5
+ private static getFormatExample;
6
6
  }
7
7
  //# sourceMappingURL=InvalidDateFormatError.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InvalidDateFormatError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/exceptions/InvalidDateFormatError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,sBAAuB,SAAQ,SAAS;IACnD,OAAO;WAOgB,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,sBAAsB;IAI5E,QAAQ,IAAI,MAAM;CAGnC"}
1
+ {"version":3,"file":"InvalidDateFormatError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/exceptions/InvalidDateFormatError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,qBAAa,sBAAuB,SAAQ,cAAc;IACxD,OAAO;WAqBgB,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,sBAAsB;IAI5F,OAAO,CAAC,MAAM,CAAC,gBAAgB;CAUhC"}
@@ -1,7 +1,6 @@
1
- import { RootError } from './RootError';
2
- export declare class InvalidEmailPolicyError extends RootError {
1
+ import { CodedRootError } from './CodedRootError';
2
+ export declare class InvalidEmailPolicyError extends CodedRootError {
3
3
  private constructor();
4
4
  static create(email: string): InvalidEmailPolicyError;
5
- logError(): string;
6
5
  }
7
6
  //# sourceMappingURL=InvalidEmailPolicyError.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InvalidEmailPolicyError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/exceptions/InvalidEmailPolicyError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,uBAAwB,SAAQ,SAAS;IACpD,OAAO;WAMgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,uBAAuB;IAI9D,QAAQ,IAAI,MAAM;CAG1B"}
1
+ {"version":3,"file":"InvalidEmailPolicyError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/exceptions/InvalidEmailPolicyError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,qBAAa,uBAAwB,SAAQ,cAAc;IACzD,OAAO;WAmBgB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,uBAAuB;CAGtE"}
@@ -0,0 +1,25 @@
1
+ import { CodedRootError } from './CodedRootError';
2
+ /**
3
+ * Exception thrown when required authentication credentials are missing
4
+ * This error occurs when email, password, or both are not provided
5
+ *
6
+ * Error code: CBX-AUTH-004
7
+ * @since 1.0.0
8
+ */
9
+ export declare class MissingCredentialsError extends CodedRootError {
10
+ private constructor();
11
+ static create(missingFields: string[]): MissingCredentialsError;
12
+ /**
13
+ * Creates a MissingCredentialsError for missing email
14
+ */
15
+ static missingEmail(): MissingCredentialsError;
16
+ /**
17
+ * Creates a MissingCredentialsError for missing password
18
+ */
19
+ static missingPassword(): MissingCredentialsError;
20
+ /**
21
+ * Creates a MissingCredentialsError for both missing email and password
22
+ */
23
+ static missingBoth(): MissingCredentialsError;
24
+ }
25
+ //# sourceMappingURL=MissingCredentialsError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MissingCredentialsError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/exceptions/MissingCredentialsError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD;;;;;;GAMG;AACH,qBAAa,uBAAwB,SAAQ,cAAc;IACzD,OAAO;WAqBgB,MAAM,CAAC,aAAa,EAAE,MAAM,EAAE,GAAG,uBAAuB;IAI/E;;OAEG;WACW,YAAY,IAAI,uBAAuB;IAIrD;;OAEG;WACW,eAAe,IAAI,uBAAuB;IAIxD;;OAEG;WACW,WAAW,IAAI,uBAAuB;CAGrD"}
@@ -1,7 +1,6 @@
1
- import { RootError } from './RootError';
2
- export declare class NullValueError extends RootError {
1
+ import { CodedRootError } from './CodedRootError';
2
+ export declare class NullValueError extends CodedRootError {
3
3
  private constructor();
4
4
  static create(propertyName: string, expectedType: string): NullValueError;
5
- logError(): string;
6
5
  }
7
6
  //# sourceMappingURL=NullValueError.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NullValueError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/exceptions/NullValueError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,qBAAa,cAAe,SAAQ,SAAS;IAC3C,OAAO;WAMgB,MAAM,CAAC,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,cAAc;IAIzE,QAAQ,IAAI,MAAM;CAGnC"}
1
+ {"version":3,"file":"NullValueError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/exceptions/NullValueError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,qBAAa,cAAe,SAAQ,cAAc;IAChD,OAAO;WAoBgB,MAAM,CAAC,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,cAAc;CAG1F"}
@@ -0,0 +1,42 @@
1
+ import { CodedRootError } from './CodedRootError';
2
+ /**
3
+ * Error thrown when a purchase order exceeds the allocated budget limit.
4
+ * This error helps prevent overspending and maintains financial controls.
5
+ *
6
+ * @since 1.0.0
7
+ */
8
+ export declare class OrderExceedsBudgetError extends CodedRootError {
9
+ private constructor();
10
+ /**
11
+ * Factory method to create a new OrderExceedsBudgetError instance
12
+ *
13
+ * @param orderAmount - The total amount of the order
14
+ * @param budgetLimit - The maximum budget allowed
15
+ * @param currency - The currency code (e.g., USD, EUR)
16
+ * @param orderId - Optional order identifier
17
+ * @param projectName - Optional project or department name
18
+ * @returns A new OrderExceedsBudgetError instance
19
+ */
20
+ static create(orderAmount: number, budgetLimit: number, currency?: string, orderId?: string, projectName?: string): OrderExceedsBudgetError;
21
+ /**
22
+ * Returns the amount by which the order exceeds the budget
23
+ */
24
+ getExceedAmount(): number;
25
+ /**
26
+ * Returns the percentage by which the order exceeds the budget
27
+ */
28
+ getExceedPercentage(): number;
29
+ /**
30
+ * Checks if the order is slightly over budget (less than 10%)
31
+ */
32
+ isSlightlyOverBudget(): boolean;
33
+ /**
34
+ * Returns a user-friendly message based on the locale
35
+ */
36
+ getUserMessage(locale?: string): string;
37
+ /**
38
+ * Returns a detailed user message with amounts
39
+ */
40
+ getDetailedUserMessage(locale?: string): string;
41
+ }
42
+ //# sourceMappingURL=OrderExceedsBudgetError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrderExceedsBudgetError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/exceptions/OrderExceedsBudgetError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD;;;;;GAKG;AACH,qBAAa,uBAAwB,SAAQ,cAAc;IACzD,OAAO;IA+CP;;;;;;;;;OASG;WACoB,MAAM,CAC3B,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,QAAQ,GAAE,MAAc,EACxB,OAAO,CAAC,EAAE,MAAM,EAChB,WAAW,CAAC,EAAE,MAAM,GACnB,uBAAuB;IAU1B;;OAEG;IACI,eAAe,IAAI,MAAM;IAIhC;;OAEG;IACI,mBAAmB,IAAI,MAAM;IAIpC;;OAEG;IACI,oBAAoB,IAAI,OAAO;IAItC;;OAEG;IACI,cAAc,CAAC,MAAM,GAAE,MAAa,GAAG,MAAM;IAUpD;;OAEG;IACI,sBAAsB,CAAC,MAAM,GAAE,MAAa,GAAG,MAAM;CAa7D"}
@@ -0,0 +1,29 @@
1
+ import { CodedRootError } from './CodedRootError';
2
+ /**
3
+ * Exception thrown when a service catalog item is not found in the system
4
+ * This error occurs when searching for services by ID, code, or category
5
+ *
6
+ * Error code: CBX-PMS-007
7
+ * @since 1.0.0
8
+ */
9
+ export declare class ServiceCatalogNotFoundError extends CodedRootError {
10
+ private constructor();
11
+ static create(searchCriteria: string, searchValue: string, category?: string, status?: string): ServiceCatalogNotFoundError;
12
+ /**
13
+ * Creates a ServiceCatalogNotFoundError specifically for ID searches
14
+ */
15
+ static byId(id: string): ServiceCatalogNotFoundError;
16
+ /**
17
+ * Creates a ServiceCatalogNotFoundError specifically for service code searches
18
+ */
19
+ static byCode(code: string): ServiceCatalogNotFoundError;
20
+ /**
21
+ * Creates a ServiceCatalogNotFoundError for category searches
22
+ */
23
+ static byCategory(category: string): ServiceCatalogNotFoundError;
24
+ /**
25
+ * Creates a ServiceCatalogNotFoundError for active services
26
+ */
27
+ static noActiveService(serviceCode: string): ServiceCatalogNotFoundError;
28
+ }
29
+ //# sourceMappingURL=ServiceCatalogNotFoundError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ServiceCatalogNotFoundError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/exceptions/ServiceCatalogNotFoundError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD;;;;;;GAMG;AACH,qBAAa,2BAA4B,SAAQ,cAAc;IAC7D,OAAO;WA+BgB,MAAM,CAC3B,cAAc,EAAE,MAAM,EACtB,WAAW,EAAE,MAAM,EACnB,QAAQ,CAAC,EAAE,MAAM,EACjB,MAAM,CAAC,EAAE,MAAM,GACd,2BAA2B;IAI9B;;OAEG;WACW,IAAI,CAAC,EAAE,EAAE,MAAM,GAAG,2BAA2B;IAI3D;;OAEG;WACW,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,2BAA2B;IAI/D;;OAEG;WACW,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,2BAA2B;IAIvE;;OAEG;WACW,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,2BAA2B;CAGhF"}
@@ -0,0 +1,21 @@
1
+ import { CodedRootError } from './CodedRootError';
2
+ /**
3
+ * Exception thrown when a stakeholder is not found in the system
4
+ * This error occurs when searching for a stakeholder by ID, email, or other criteria
5
+ *
6
+ * Error code: CBX-STK-003
7
+ * @since 1.0.0
8
+ */
9
+ export declare class StakeholderNotFoundError extends CodedRootError {
10
+ private constructor();
11
+ static create(searchCriteria: string, searchValue: string, stakeholderType?: string): StakeholderNotFoundError;
12
+ /**
13
+ * Creates a StakeholderNotFoundError specifically for ID searches
14
+ */
15
+ static byId(id: string, stakeholderType?: string): StakeholderNotFoundError;
16
+ /**
17
+ * Creates a StakeholderNotFoundError specifically for email searches
18
+ */
19
+ static byEmail(email: string, stakeholderType?: string): StakeholderNotFoundError;
20
+ }
21
+ //# sourceMappingURL=StakeholderNotFoundError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StakeholderNotFoundError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/exceptions/StakeholderNotFoundError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD;;;;;;GAMG;AACH,qBAAa,wBAAyB,SAAQ,cAAc;IAC1D,OAAO;WAuBgB,MAAM,CAC3B,cAAc,EAAE,MAAM,EACtB,WAAW,EAAE,MAAM,EACnB,eAAe,CAAC,EAAE,MAAM,GACvB,wBAAwB;IAI3B;;OAEG;WACW,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,eAAe,CAAC,EAAE,MAAM,GAAG,wBAAwB;IAIlF;;OAEG;WACW,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,eAAe,CAAC,EAAE,MAAM,GAAG,wBAAwB;CAGzF"}
@@ -0,0 +1,21 @@
1
+ import { CodedRootError } from './CodedRootError';
2
+ /**
3
+ * Exception thrown when a JWT token has expired
4
+ * This error indicates the user needs to authenticate again
5
+ *
6
+ * Error code: CBX-AUTH-002
7
+ * @since 1.0.0
8
+ */
9
+ export declare class TokenExpiredError extends CodedRootError {
10
+ private constructor();
11
+ static create(tokenType?: string, expiredAt?: string, userId?: string): TokenExpiredError;
12
+ /**
13
+ * Creates a TokenExpiredError specifically for access tokens
14
+ */
15
+ static accessToken(expiredAt?: string, userId?: string): TokenExpiredError;
16
+ /**
17
+ * Creates a TokenExpiredError specifically for refresh tokens
18
+ */
19
+ static refreshToken(expiredAt?: string, userId?: string): TokenExpiredError;
20
+ }
21
+ //# sourceMappingURL=TokenExpiredError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TokenExpiredError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/exceptions/TokenExpiredError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD;;;;;;GAMG;AACH,qBAAa,iBAAkB,SAAQ,cAAc;IACnD,OAAO;WAsBgB,MAAM,CAAC,SAAS,GAAE,MAAiB,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,iBAAiB;IAInH;;OAEG;WACW,WAAW,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,iBAAiB;IAIjF;;OAEG;WACW,YAAY,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,iBAAiB;CAGnF"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Interface for domain errors with unique error codes
3
+ * This interface defines the contract for all errors that support
4
+ * the enhanced error handling system with unique codes
5
+ *
6
+ * @since 1.0.0
7
+ */
8
+ export interface ICodedError {
9
+ /**
10
+ * Unique error code following the pattern: CBX-[CONTEXT]-[NUMBER]
11
+ * This code is used by frontend to display localized messages
12
+ *
13
+ * @example "CBX-AUTH-001"
14
+ */
15
+ readonly errorCode: string;
16
+ /**
17
+ * Technical message for debugging and logging purposes
18
+ * This message should contain detailed information about the error
19
+ * and should NOT be displayed to end users
20
+ */
21
+ readonly technicalMessage: string;
22
+ /**
23
+ * Optional context data that is safe to expose to the client
24
+ * This can include relevant data that helps understand the error
25
+ * without exposing sensitive information
26
+ *
27
+ * @example { email: "user@example.com", attemptNumber: 3 }
28
+ */
29
+ readonly context?: Record<string, any>;
30
+ /**
31
+ * Optional suggestions for resolving the error
32
+ * These are actionable steps the user can take
33
+ *
34
+ * @example ["Check your email format", "Ensure password meets requirements"]
35
+ */
36
+ readonly suggestions?: string[];
37
+ }
38
+ //# sourceMappingURL=ICodedError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ICodedError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/interfaces/ICodedError.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,WAAW,WAAW;IAC1B;;;;;OAKG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE3B;;;;OAIG;IACH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAElC;;;;;;OAMG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAEvC;;;;;OAKG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACjC"}
@@ -777,6 +777,9 @@ export { ValueObject } from '../carbonbox/shared/domain/value-objects/ValueObjec
777
777
  export { PrimitiveValueObject } from '../carbonbox/shared/domain/value-objects/PrimitiveValueObject';
778
778
  export { ObjectValueObject } from '../carbonbox/shared/domain/value-objects/ObjectValueObject';
779
779
  export { RootError } from '../carbonbox/shared/domain/exceptions/RootError';
780
+ export { CodedRootError } from '../carbonbox/shared/domain/exceptions/CodedRootError';
781
+ export { ErrorCode } from '../carbonbox/shared/domain/enums/ErrorCode';
782
+ export type { ICodedError } from '../carbonbox/shared/domain/interfaces/ICodedError';
780
783
  export type { IAggregateRoot } from '../carbonbox/shared/domain/entities/IAggregateRoot';
781
784
  export type { IUser } from '../carbonbox/shared/domain/entities/IUser';
782
785
  export { UserType as UserTypeEnum } from '../carbonbox/shared/domain/enums/UserType';
@@ -908,6 +911,17 @@ export { InvalidTaxIdentificationTypeError } from '../carbonbox/shared/domain/ex
908
911
  export { InvalidColombianNITFormatError } from '../carbonbox/shared/domain/exceptions/InvalidColombianNITFormatError';
909
912
  export { InvalidColombianNITCheckDigitError } from '../carbonbox/shared/domain/exceptions/InvalidColombianNITCheckDigitError';
910
913
  export { InvalidColombianNITNumberError } from '../carbonbox/shared/domain/exceptions/InvalidColombianNITNumberError';
914
+ export { InvalidCredentialsError } from '../carbonbox/shared/domain/exceptions/InvalidCredentialsError';
915
+ export { TokenExpiredError } from '../carbonbox/shared/domain/exceptions/TokenExpiredError';
916
+ export { MissingCredentialsError } from '../carbonbox/shared/domain/exceptions/MissingCredentialsError';
917
+ export { AccountLockedError } from '../carbonbox/shared/domain/exceptions/AccountLockedError';
918
+ export { EmailNotVerifiedError } from '../carbonbox/shared/domain/exceptions/EmailNotVerifiedError';
919
+ export { StakeholderNotFoundError } from '../carbonbox/shared/domain/exceptions/StakeholderNotFoundError';
920
+ export { InvalidBusinessStatusError } from '../carbonbox/shared/domain/exceptions/InvalidBusinessStatusError';
921
+ export { ConfigurationNotFoundError } from '../carbonbox/shared/domain/exceptions/ConfigurationNotFoundError';
922
+ export { ContractNotFoundError } from '../carbonbox/shared/domain/exceptions/ContractNotFoundError';
923
+ export { ServiceCatalogNotFoundError } from '../carbonbox/shared/domain/exceptions/ServiceCatalogNotFoundError';
924
+ export { OrderExceedsBudgetError } from '../carbonbox/shared/domain/exceptions/OrderExceedsBudgetError';
911
925
  export { InvalidDateFormatError } from '../carbonbox/shared/domain/exceptions/InvalidDateFormatError';
912
926
  export { InvalidDateRangeError } from '../carbonbox/shared/domain/exceptions/InvalidDateRangeError';
913
927
  export { InvalidTimeFormatError } from '../carbonbox/shared/domain/exceptions/InvalidTimeFormatError';