@carbonbox/domain 0.29.1 → 0.29.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52,12 +52,12 @@ class CodedRootError extends RootError_1.RootError {
52
52
  * Checks if an error implements the ICodedError interface
53
53
  */
54
54
  static isCodedError(error) {
55
- return (typeof error === 'object' &&
56
- error !== null &&
57
- 'errorCode' in error &&
58
- 'technicalMessage' in error &&
59
- typeof error.errorCode === 'string' &&
60
- typeof error.technicalMessage === 'string');
55
+ return (typeof error === 'object'
56
+ && error !== null
57
+ && 'errorCode' in error
58
+ && 'technicalMessage' in error
59
+ && typeof error.errorCode === 'string'
60
+ && typeof error.technicalMessage === 'string');
61
61
  }
62
62
  }
63
63
  exports.CodedRootError = CodedRootError;
@@ -47,7 +47,7 @@ class InvalidCurrencyError extends CodedRootError_1.CodedRootError {
47
47
  if (!currency || !validCurrencies)
48
48
  return false;
49
49
  // Check if it's just a case issue
50
- return validCurrencies.some(valid => valid.toLowerCase() === currency.toLowerCase());
50
+ return validCurrencies.some((valid) => valid.toLowerCase() === currency.toLowerCase());
51
51
  }
52
52
  /**
53
53
  * Returns a user-friendly message based on the locale
@@ -29,7 +29,7 @@ class InvalidDateFormatError extends CodedRootError_1.CodedRootError {
29
29
  'YYYY-MM-DD': '2024-03-15',
30
30
  'DD/MM/YYYY': '15/03/2024',
31
31
  'MM/DD/YYYY': '03/15/2024',
32
- 'ISO8601': '2024-03-15T10:30:00Z',
32
+ ISO8601: '2024-03-15T10:30:00Z',
33
33
  'YYYY-MM-DDTHH:mm:ss': '2024-03-15T10:30:00',
34
34
  };
35
35
  return examples[format] || '2024-03-15';
@@ -57,16 +57,18 @@ class CarbonClient extends Stakeholder_1.Stakeholder {
57
57
  const lastAccessAt = skipDomainValidation
58
58
  ? CarbonClientLastAccessAt_1.CarbonClientLastAccessAt.fromPrimitives(props.lastAccessAt).toPrimitives()
59
59
  : CarbonClientLastAccessAt_1.CarbonClientLastAccessAt.create(props.lastAccessAt).toPrimitives();
60
- const taxIdentification = props.taxIdentification === null
61
- ? null
62
- : (skipDomainValidation
60
+ let taxIdentification = null;
61
+ if (props.taxIdentification !== null) {
62
+ taxIdentification = skipDomainValidation
63
63
  ? CarbonClientTaxIdentification_1.CarbonClientTaxIdentification.fromPrimitives(props.taxIdentification).toPrimitives()
64
- : CarbonClientTaxIdentification_1.CarbonClientTaxIdentification.create(props.taxIdentification).toPrimitives());
65
- const identityDocument = props.identityDocument === null
66
- ? null
67
- : (skipDomainValidation
64
+ : CarbonClientTaxIdentification_1.CarbonClientTaxIdentification.create(props.taxIdentification).toPrimitives();
65
+ }
66
+ let identityDocument = null;
67
+ if (props.identityDocument !== null) {
68
+ identityDocument = skipDomainValidation
68
69
  ? CarbonClientIdentityDocument_1.CarbonClientIdentityDocument.fromPrimitives(props.identityDocument).toPrimitives()
69
- : CarbonClientIdentityDocument_1.CarbonClientIdentityDocument.create(props.identityDocument).toPrimitives());
70
+ : CarbonClientIdentityDocument_1.CarbonClientIdentityDocument.create(props.identityDocument).toPrimitives();
71
+ }
70
72
  const roleType = skipDomainValidation
71
73
  ? CarbonClientRoleType_1.CarbonClientRoleType.fromPrimitives(props.roleType).toEnum()
72
74
  : CarbonClientRoleType_1.CarbonClientRoleType.create(props.roleType).toEnum();
@@ -53,16 +53,18 @@ class CarbonCoordinator extends Stakeholder_1.Stakeholder {
53
53
  const lastAccessAt = skipDomainValidation
54
54
  ? CarbonCoordinatorLastAccessAt_1.CarbonCoordinatorLastAccessAt.fromPrimitives(props.lastAccessAt).toPrimitives()
55
55
  : CarbonCoordinatorLastAccessAt_1.CarbonCoordinatorLastAccessAt.create(props.lastAccessAt).toPrimitives();
56
- const taxIdentification = props.taxIdentification === null
57
- ? null
58
- : (skipDomainValidation
56
+ let taxIdentification = null;
57
+ if (props.taxIdentification !== null) {
58
+ taxIdentification = skipDomainValidation
59
59
  ? CarbonCoordinatorTaxIdentification_1.CarbonCoordinatorTaxIdentification.fromPrimitives(props.taxIdentification).toPrimitives()
60
- : CarbonCoordinatorTaxIdentification_1.CarbonCoordinatorTaxIdentification.create(props.taxIdentification).toPrimitives());
61
- const identityDocument = props.identityDocument === null
62
- ? null
63
- : (skipDomainValidation
60
+ : CarbonCoordinatorTaxIdentification_1.CarbonCoordinatorTaxIdentification.create(props.taxIdentification).toPrimitives();
61
+ }
62
+ let identityDocument = null;
63
+ if (props.identityDocument !== null) {
64
+ identityDocument = skipDomainValidation
64
65
  ? CarbonCoordinatorIdentityDocument_1.CarbonCoordinatorIdentityDocument.fromPrimitives(props.identityDocument).toPrimitives()
65
- : CarbonCoordinatorIdentityDocument_1.CarbonCoordinatorIdentityDocument.create(props.identityDocument).toPrimitives());
66
+ : CarbonCoordinatorIdentityDocument_1.CarbonCoordinatorIdentityDocument.create(props.identityDocument).toPrimitives();
67
+ }
66
68
  const roleType = skipDomainValidation
67
69
  ? CarbonCoordinatorRoleType_1.CarbonCoordinatorRoleType.fromPrimitives(props.roleType).toEnum()
68
70
  : CarbonCoordinatorRoleType_1.CarbonCoordinatorRoleType.create(props.roleType).toEnum();
@@ -36,11 +36,12 @@ class CarbonHost extends Stakeholder_1.Stakeholder {
36
36
  : CarbonHostLastAccessAt_1.CarbonHostLastAccessAt.create(props.lastAccessAt).toPrimitives();
37
37
  // USR-020: Host conserva taxIdentification (a nivel app sigue requerido); identityDocument
38
38
  // no aplica al Host (siempre null). El tipo base es nullable, de ahí el manejo defensivo.
39
- const taxIdentification = props.taxIdentification === null
40
- ? null
41
- : (skipDomainValidation
39
+ let taxIdentification = null;
40
+ if (props.taxIdentification !== null) {
41
+ taxIdentification = skipDomainValidation
42
42
  ? CarbonHostTaxIdentification_1.CarbonHostTaxIdentification.fromPrimitives(props.taxIdentification).toPrimitives()
43
- : CarbonHostTaxIdentification_1.CarbonHostTaxIdentification.create(props.taxIdentification).toPrimitives());
43
+ : CarbonHostTaxIdentification_1.CarbonHostTaxIdentification.create(props.taxIdentification).toPrimitives();
44
+ }
44
45
  const roleType = skipDomainValidation
45
46
  ? CarbonHostRoleType_1.CarbonHostRoleType.fromPrimitives(props.roleType).toEnum()
46
47
  : CarbonHostRoleType_1.CarbonHostRoleType.create(props.roleType).toEnum();
@@ -48,16 +48,18 @@ class CarbonManager extends Stakeholder_1.Stakeholder {
48
48
  const lastAccessAt = skipDomainValidation
49
49
  ? CarbonManagerLastAccessAt_1.CarbonManagerLastAccessAt.fromPrimitives(props.lastAccessAt).toPrimitives()
50
50
  : CarbonManagerLastAccessAt_1.CarbonManagerLastAccessAt.create(props.lastAccessAt).toPrimitives();
51
- const taxIdentification = props.taxIdentification === null
52
- ? null
53
- : (skipDomainValidation
51
+ let taxIdentification = null;
52
+ if (props.taxIdentification !== null) {
53
+ taxIdentification = skipDomainValidation
54
54
  ? CarbonManagerTaxIdentification_1.CarbonManagerTaxIdentification.fromPrimitives(props.taxIdentification).toPrimitives()
55
- : CarbonManagerTaxIdentification_1.CarbonManagerTaxIdentification.create(props.taxIdentification).toPrimitives());
56
- const identityDocument = props.identityDocument === null
57
- ? null
58
- : (skipDomainValidation
55
+ : CarbonManagerTaxIdentification_1.CarbonManagerTaxIdentification.create(props.taxIdentification).toPrimitives();
56
+ }
57
+ let identityDocument = null;
58
+ if (props.identityDocument !== null) {
59
+ identityDocument = skipDomainValidation
59
60
  ? CarbonManagerIdentityDocument_1.CarbonManagerIdentityDocument.fromPrimitives(props.identityDocument).toPrimitives()
60
- : CarbonManagerIdentityDocument_1.CarbonManagerIdentityDocument.create(props.identityDocument).toPrimitives());
61
+ : CarbonManagerIdentityDocument_1.CarbonManagerIdentityDocument.create(props.identityDocument).toPrimitives();
62
+ }
61
63
  const roleType = skipDomainValidation
62
64
  ? CarbonManagerRoleType_1.CarbonManagerRoleType.fromPrimitives(props.roleType).toEnum()
63
65
  : CarbonManagerRoleType_1.CarbonManagerRoleType.create(props.roleType).toEnum();
@@ -1 +1 @@
1
- {"version":3,"file":"CodedRootError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/exceptions/CodedRootError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD;;;;;;GAMG;AACH,8BAAsB,cAAe,SAAQ,SAAU,YAAW,WAAW;IAC3E,SAAgB,SAAS,EAAE,MAAM,CAAC;IAClC,SAAgB,gBAAgB,EAAE,MAAM,CAAC;IACzC,SAAgB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC9C,SAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAEvC;;;;;;;OAOG;IACH,SAAS,aACP,SAAS,EAAE,MAAM,EACjB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC7B,WAAW,CAAC,EAAE,MAAM,EAAE;IAcxB;;;OAGG;IACa,QAAQ,IAAI,MAAM;IAKlC;;;OAGG;IACI,aAAa,IAAI;QACtB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAC9B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;KACxB;IASD;;OAEG;WACW,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,WAAW;CAUjE"}
1
+ {"version":3,"file":"CodedRootError.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/exceptions/CodedRootError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD;;;;;;GAMG;AACH,8BAAsB,cAAe,SAAQ,SAAU,YAAW,WAAW;IAC3E,SAAgB,SAAS,EAAE,MAAM,CAAC;IAElC,SAAgB,gBAAgB,EAAE,MAAM,CAAC;IAEzC,SAAgB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAE9C,SAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAEvC;;;;;;;OAOG;IACH,SAAS,aACP,SAAS,EAAE,MAAM,EACjB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC7B,WAAW,CAAC,EAAE,MAAM,EAAE;IAcxB;;;OAGG;IACa,QAAQ,IAAI,MAAM;IAKlC;;;OAGG;IACI,aAAa,IAAI;QACtB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAC9B,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;KACxB;IASD;;OAEG;WACW,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,WAAW;CAUjE"}
@@ -1 +1 @@
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
+ {"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;IAUhC;;OAEG;IACI,cAAc,CAAC,MAAM,GAAE,MAAa,GAAG,MAAM;CASrD"}
@@ -1 +1 @@
1
- {"version":3,"file":"CarbonClient.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-clients/domain/entity/CarbonClient.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAExE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,mCAAmC,EAAE,MAAM,8CAA8C,CAAC;AACnG,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AAMnF,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAErF,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAG7F,OAAO,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,+BAA+B,EAAE,MAAM,kDAAkD,CAAC;AACnG,OAAO,EAAE,+BAA+B,EAAE,MAAM,kDAAkD,CAAC;AAEnG,OAAO,EAAE,mCAAmC,EAAE,MAAM,sDAAsD,CAAC;AAI3G,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,qBAAa,YACX,SAAQ,WAAW,CAAC,sBAAsB,CAC1C,YAAW,aAAa;;IAqBxB,OAAO;WAqFgB,MAAM,CAAC,KAAK,EAAE,iBAAiB,GAAG,YAAY;WAI9C,cAAc,CAAC,UAAU,EAAE,sBAAsB,GAAG,YAAY;WA6BzE,wBAAwB,CAAC,KAAK,EAAE,mCAAmC,GAAG,YAAY;IA2DhG,IAAoB,YAAY,IAAI,sBAAsB,CA0BzD;IAED,IAAW,iBAAiB,IAAI,6BAA6B,CAE5D;IAED,IAAW,YAAY,IAAI,wBAAwB,CAElD;IAED,IAAW,gBAAgB,IAAI,4BAA4B,CAE1D;IAED,IAAW,eAAe,IAAI,2BAA2B,CAExD;IAED,IAAW,mBAAmB,IAAI,+BAA+B,CAEhE;IAED,IAAW,mBAAmB,IAAI,+BAA+B,CAEhE;IAED,IAAW,UAAU,IAAI,sBAAsB,CAE9C;IAED,IAAW,IAAI,IAAI,gBAAgB,CAElC;IAED,IAAW,WAAW,IAAI,uBAAuB,CAEhD;IAED,IAAW,uBAAuB,IAAI,mCAAmC,CAExE;CACF"}
1
+ {"version":3,"file":"CarbonClient.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-clients/domain/entity/CarbonClient.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAExE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,mCAAmC,EAAE,MAAM,8CAA8C,CAAC;AACnG,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AAMnF,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAErF,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAG7F,OAAO,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,+BAA+B,EAAE,MAAM,kDAAkD,CAAC;AACnG,OAAO,EAAE,+BAA+B,EAAE,MAAM,kDAAkD,CAAC;AAEnG,OAAO,EAAE,mCAAmC,EAAE,MAAM,sDAAsD,CAAC;AAI3G,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,qBAAa,YACX,SAAQ,WAAW,CAAC,sBAAsB,CAC1C,YAAW,aAAa;;IAqBxB,OAAO;WAuFgB,MAAM,CAAC,KAAK,EAAE,iBAAiB,GAAG,YAAY;WAI9C,cAAc,CAAC,UAAU,EAAE,sBAAsB,GAAG,YAAY;WA6BzE,wBAAwB,CAAC,KAAK,EAAE,mCAAmC,GAAG,YAAY;IA2DhG,IAAoB,YAAY,IAAI,sBAAsB,CA0BzD;IAED,IAAW,iBAAiB,IAAI,6BAA6B,CAE5D;IAED,IAAW,YAAY,IAAI,wBAAwB,CAElD;IAED,IAAW,gBAAgB,IAAI,4BAA4B,CAE1D;IAED,IAAW,eAAe,IAAI,2BAA2B,CAExD;IAED,IAAW,mBAAmB,IAAI,+BAA+B,CAEhE;IAED,IAAW,mBAAmB,IAAI,+BAA+B,CAEhE;IAED,IAAW,UAAU,IAAI,sBAAsB,CAE9C;IAED,IAAW,IAAI,IAAI,gBAAgB,CAElC;IAED,IAAW,WAAW,IAAI,uBAAuB,CAEhD;IAED,IAAW,uBAAuB,IAAI,mCAAmC,CAExE;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"CarbonCoordinator.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-coordinators/domain/entity/CarbonCoordinator.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAExE,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,wCAAwC,EAAE,MAAM,mDAAmD,CAAC;AAC7G,OAAO,EAAE,sCAAsC,EAAE,MAAM,yDAAyD,CAAC;AACjH,OAAO,EAAE,mCAAmC,EAAE,MAAM,sDAAsD,CAAC;AAK3G,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AAGnF,OAAO,EAAE,qCAAqC,EAAE,MAAM,wDAAwD,CAAC;AAG/G,OAAO,EAAE,qCAAqC,EAAE,MAAM,wDAAwD,CAAC;AAK/G,OAAO,EAAE,sCAAsC,EAAE,MAAM,yDAAyD,CAAC;AACjH,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,qBAAa,iBACX,SAAQ,WAAW,CAAC,2BAA2B,CAC/C,YAAW,kBAAkB;;IAa7B,OAAO;WA6EgB,MAAM,CAAC,KAAK,EAAE,sBAAsB,GAAG,iBAAiB;WAIxD,cAAc,CAAC,UAAU,EAAE,2BAA2B,GAAG,iBAAiB;WAyBnF,wBAAwB,CAAC,KAAK,EAAE,wCAAwC,GAAG,iBAAiB;IAmD1G,IAAoB,YAAY,IAAI,2BAA2B,CAsB9D;IAED,IAAW,kBAAkB,IAAI,mCAAmC,CAEnE;IAED,IAAW,qBAAqB,IAAI,sCAAsC,CAEzE;IAED,IAAW,MAAM,IAAI,uBAAuB,CAE3C;IAED,IAAW,qBAAqB,IAAI,sCAAsC,CAEzE;IAED,IAAW,oBAAoB,IAAI,qCAAqC,CAEvE;IAED,IAAW,oBAAoB,IAAI,qCAAqC,CAEvE;CACF"}
1
+ {"version":3,"file":"CarbonCoordinator.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-coordinators/domain/entity/CarbonCoordinator.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAExE,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,wCAAwC,EAAE,MAAM,mDAAmD,CAAC;AAC7G,OAAO,EAAE,sCAAsC,EAAE,MAAM,yDAAyD,CAAC;AACjH,OAAO,EAAE,mCAAmC,EAAE,MAAM,sDAAsD,CAAC;AAK3G,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AAGnF,OAAO,EAAE,qCAAqC,EAAE,MAAM,wDAAwD,CAAC;AAG/G,OAAO,EAAE,qCAAqC,EAAE,MAAM,wDAAwD,CAAC;AAK/G,OAAO,EAAE,sCAAsC,EAAE,MAAM,yDAAyD,CAAC;AACjH,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,qBAAa,iBACX,SAAQ,WAAW,CAAC,2BAA2B,CAC/C,YAAW,kBAAkB;;IAa7B,OAAO;WA+EgB,MAAM,CAAC,KAAK,EAAE,sBAAsB,GAAG,iBAAiB;WAIxD,cAAc,CAAC,UAAU,EAAE,2BAA2B,GAAG,iBAAiB;WAyBnF,wBAAwB,CAAC,KAAK,EAAE,wCAAwC,GAAG,iBAAiB;IAmD1G,IAAoB,YAAY,IAAI,2BAA2B,CAsB9D;IAED,IAAW,kBAAkB,IAAI,mCAAmC,CAEnE;IAED,IAAW,qBAAqB,IAAI,sCAAsC,CAEzE;IAED,IAAW,MAAM,IAAI,uBAAuB,CAE3C;IAED,IAAW,qBAAqB,IAAI,sCAAsC,CAEzE;IAED,IAAW,oBAAoB,IAAI,qCAAqC,CAEvE;IAED,IAAW,oBAAoB,IAAI,qCAAqC,CAEvE;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"CarbonHost.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-host/domain/entity/CarbonHost.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,iCAAiC,EAAE,MAAM,4CAA4C,CAAC;AAW/F,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,qBAAa,UACX,SAAQ,WAAW,CAAC,oBAAoB,CACxC,YAAW,WAAW;IACtB,OAAO;WAwDgB,MAAM,CAAC,KAAK,EAAE,eAAe,GAAG,UAAU;WAI1C,cAAc,CAAC,UAAU,EAAE,oBAAoB,GAAG,UAAU;WAmBrE,wBAAwB,CAAC,KAAK,EAAE,iCAAiC,GAAG,UAAU;IAoC5F,IAAoB,YAAY,IAAI,oBAAoB,CAgBvD;CACF"}
1
+ {"version":3,"file":"CarbonHost.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-host/domain/entity/CarbonHost.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,iCAAiC,EAAE,MAAM,4CAA4C,CAAC;AAW/F,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,qBAAa,UACX,SAAQ,WAAW,CAAC,oBAAoB,CACxC,YAAW,WAAW;IACtB,OAAO;WAyDgB,MAAM,CAAC,KAAK,EAAE,eAAe,GAAG,UAAU;WAI1C,cAAc,CAAC,UAAU,EAAE,oBAAoB,GAAG,UAAU;WAmBrE,wBAAwB,CAAC,KAAK,EAAE,iCAAiC,GAAG,UAAU;IAoC5F,IAAoB,YAAY,IAAI,oBAAoB,CAgBvD;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"CarbonManager.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-managers/domain/entity/CarbonManager.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AACxE,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,oCAAoC,EAAE,MAAM,+CAA+C,CAAC;AAOrG,OAAO,EAAE,gCAAgC,EAAE,MAAM,mDAAmD,CAAC;AAOrG,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,aACX,SAAQ,WAAW,CAAC,uBAAuB,CAC3C,YAAW,cAAc;;IAGzB,OAAO;WAmEgB,MAAM,CAAC,KAAK,EAAE,kBAAkB,GAAG,aAAa;WAIhD,cAAc,CAAC,UAAU,EAAE,uBAAuB,GAAG,aAAa;WAoB3E,wBAAwB,CAAC,KAAK,EAAE,oCAAoC,GAAG,aAAa;IAyClG,IAAoB,YAAY,IAAI,uBAAuB,CAiB1D;IAED,IAAW,mBAAmB,IAAI,gCAAgC,CAEjE;CACF"}
1
+ {"version":3,"file":"CarbonManager.d.ts","sourceRoot":"","sources":["../../../../../../../src/carbonbox/stakeholders/carbon-managers/domain/entity/CarbonManager.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AACxE,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,oCAAoC,EAAE,MAAM,+CAA+C,CAAC;AAOrG,OAAO,EAAE,gCAAgC,EAAE,MAAM,mDAAmD,CAAC;AAOrG,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,qBAAa,aACX,SAAQ,WAAW,CAAC,uBAAuB,CAC3C,YAAW,cAAc;;IAGzB,OAAO;WAqEgB,MAAM,CAAC,KAAK,EAAE,kBAAkB,GAAG,aAAa;WAIhD,cAAc,CAAC,UAAU,EAAE,uBAAuB,GAAG,aAAa;WAoB3E,wBAAwB,CAAC,KAAK,EAAE,oCAAoC,GAAG,aAAa;IAyClG,IAAoB,YAAY,IAAI,uBAAuB,CAiB1D;IAED,IAAW,mBAAmB,IAAI,gCAAgC,CAEjE;CACF"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "browser": false
4
4
  },
5
5
  "name": "@carbonbox/domain",
6
- "version": "0.29.1",
6
+ "version": "0.29.2",
7
7
  "description": "Domain package for CarbonBox Project",
8
8
  "main": "build/main/index.js",
9
9
  "types": "build/types/main/index.d.ts",