@carbonbox/domain 0.7.22 → 0.7.23

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 (79) hide show
  1. package/build/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/domain/value-objects/CorporateCarbonFootprintSegmentConfigurationSegment.js +0 -2
  2. package/build/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/segments/domain/value-objects/CorporateConfigurationCarbonFootprintSegmentIncludedSubsegments.js +0 -2
  3. package/build/carbonbox/carbon-footprint-configurations/event-configurations/event-edition-lifecycle-stage-configurations/domain/value-objects/EventEditionLifecycleStageConfigurationStage.js +0 -2
  4. package/build/carbonbox/carbon-footprint-configurations/event-configurations/event-edition-lifecycle-stage-configurations/event-edition-lifecycle-stages/domain/value-objects/EventEditionLifecycleStageIncludedSubsegments.js +0 -2
  5. package/build/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/domain/value-objects/ProductCarbonFootprintSegmentConfigurationSegment.js +0 -2
  6. package/build/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/segments/domain/value-objects/ProductConfigurationCarbonFootprintSegmentIncludedSubsegments.js +0 -2
  7. package/build/carbonbox/shared/domain/value-objects/CarbonFootprintSegmentReferences.js +16 -103
  8. package/build/carbonbox/shared/domain/value-objects/CorporateCarbonFootprintSegmentConfigurationReferences.js +15 -29
  9. package/build/carbonbox/shared/domain/value-objects/CorporateConfigurationCarbonFootprintSegmentReference.js +6 -131
  10. package/build/carbonbox/shared/domain/value-objects/CorporateConfigurationCarbonFootprintSubsegmentReference.js +6 -131
  11. package/build/carbonbox/shared/domain/value-objects/EventEditionConfigurationCarbonFootprintSubsegmentReference.js +7 -149
  12. package/build/carbonbox/shared/domain/value-objects/EventEditionConfigurationCarbonFootprintSubsegmentReferences.js +9 -165
  13. package/build/carbonbox/shared/domain/value-objects/EventEditionLifecycleStageConfigurationReferences.js +42 -50
  14. package/build/carbonbox/shared/domain/value-objects/EventEditionLifecycleStageReference.js +8 -112
  15. package/build/carbonbox/shared/domain/value-objects/NullableCorporateConfigurationCarbonFootprintSubsegmentReference.js +11 -136
  16. package/build/carbonbox/shared/domain/value-objects/NullableEventEditionConfigurationCarbonFootprintSubsegmentReference.js +11 -168
  17. package/build/carbonbox/shared/domain/value-objects/NullableProductConfigurationCarbonFootprintSubsegmentReference.js +11 -136
  18. package/build/carbonbox/shared/domain/value-objects/ProductCarbonFootprintSegmentConfigurationReferences.js +35 -56
  19. package/build/carbonbox/shared/domain/value-objects/ProductConfigurationCarbonFootprintSegmentReference.js +6 -172
  20. package/build/carbonbox/shared/domain/value-objects/ProductConfigurationCarbonFootprintSubsegmentReference.js +6 -172
  21. package/build/types/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/domain/value-objects/CorporateCarbonFootprintSegmentConfigurationSegment.d.ts.map +1 -1
  22. package/build/types/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/segments/domain/value-objects/CorporateConfigurationCarbonFootprintSegmentIncludedSubsegments.d.ts.map +1 -1
  23. package/build/types/carbonbox/carbon-footprint-configurations/event-configurations/event-edition-lifecycle-stage-configurations/domain/value-objects/EventEditionLifecycleStageConfigurationStage.d.ts.map +1 -1
  24. package/build/types/carbonbox/carbon-footprint-configurations/event-configurations/event-edition-lifecycle-stage-configurations/event-edition-lifecycle-stages/domain/value-objects/EventEditionLifecycleStageIncludedSubsegments.d.ts.map +1 -1
  25. package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/domain/value-objects/ProductCarbonFootprintSegmentConfigurationSegment.d.ts.map +1 -1
  26. package/build/types/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/segments/domain/value-objects/ProductConfigurationCarbonFootprintSegmentIncludedSubsegments.d.ts.map +1 -1
  27. package/build/types/carbonbox/shared/domain/types/CorporateConfigurationCarbonFootprintSegmentReference.d.ts +0 -2
  28. package/build/types/carbonbox/shared/domain/types/CorporateConfigurationCarbonFootprintSegmentReference.d.ts.map +1 -1
  29. package/build/types/carbonbox/shared/domain/types/CorporateConfigurationCarbonFootprintSegmentReferencePrimitives.d.ts +0 -2
  30. package/build/types/carbonbox/shared/domain/types/CorporateConfigurationCarbonFootprintSegmentReferencePrimitives.d.ts.map +1 -1
  31. package/build/types/carbonbox/shared/domain/types/CorporateConfigurationCarbonFootprintSubsegmentReference.d.ts +0 -2
  32. package/build/types/carbonbox/shared/domain/types/CorporateConfigurationCarbonFootprintSubsegmentReference.d.ts.map +1 -1
  33. package/build/types/carbonbox/shared/domain/types/CorporateConfigurationCarbonFootprintSubsegmentReferencePrimitives.d.ts +0 -2
  34. package/build/types/carbonbox/shared/domain/types/CorporateConfigurationCarbonFootprintSubsegmentReferencePrimitives.d.ts.map +1 -1
  35. package/build/types/carbonbox/shared/domain/types/EventEditionConfigurationCarbonFootprintSubsegmentReference.d.ts +0 -2
  36. package/build/types/carbonbox/shared/domain/types/EventEditionConfigurationCarbonFootprintSubsegmentReference.d.ts.map +1 -1
  37. package/build/types/carbonbox/shared/domain/types/EventEditionConfigurationCarbonFootprintSubsegmentReferencePrimitives.d.ts +0 -2
  38. package/build/types/carbonbox/shared/domain/types/EventEditionConfigurationCarbonFootprintSubsegmentReferencePrimitives.d.ts.map +1 -1
  39. package/build/types/carbonbox/shared/domain/types/EventEditionLifecycleStageReference.d.ts +0 -2
  40. package/build/types/carbonbox/shared/domain/types/EventEditionLifecycleStageReference.d.ts.map +1 -1
  41. package/build/types/carbonbox/shared/domain/types/EventEditionLifecycleStageReferencePrimitives.d.ts +0 -2
  42. package/build/types/carbonbox/shared/domain/types/EventEditionLifecycleStageReferencePrimitives.d.ts.map +1 -1
  43. package/build/types/carbonbox/shared/domain/types/ProductConfigurationCarbonFootprintSegmentReference.d.ts +0 -2
  44. package/build/types/carbonbox/shared/domain/types/ProductConfigurationCarbonFootprintSegmentReference.d.ts.map +1 -1
  45. package/build/types/carbonbox/shared/domain/types/ProductConfigurationCarbonFootprintSegmentReferencePrimitives.d.ts +0 -2
  46. package/build/types/carbonbox/shared/domain/types/ProductConfigurationCarbonFootprintSegmentReferencePrimitives.d.ts.map +1 -1
  47. package/build/types/carbonbox/shared/domain/types/ProductConfigurationCarbonFootprintSubsegmentReference.d.ts +0 -2
  48. package/build/types/carbonbox/shared/domain/types/ProductConfigurationCarbonFootprintSubsegmentReference.d.ts.map +1 -1
  49. package/build/types/carbonbox/shared/domain/types/ProductConfigurationCarbonFootprintSubsegmentReferencePrimitives.d.ts +0 -2
  50. package/build/types/carbonbox/shared/domain/types/ProductConfigurationCarbonFootprintSubsegmentReferencePrimitives.d.ts.map +1 -1
  51. package/build/types/carbonbox/shared/domain/value-objects/CarbonFootprintSegmentReferences.d.ts +7 -43
  52. package/build/types/carbonbox/shared/domain/value-objects/CarbonFootprintSegmentReferences.d.ts.map +1 -1
  53. package/build/types/carbonbox/shared/domain/value-objects/CorporateCarbonFootprintSegmentConfigurationReferences.d.ts +6 -8
  54. package/build/types/carbonbox/shared/domain/value-objects/CorporateCarbonFootprintSegmentConfigurationReferences.d.ts.map +1 -1
  55. package/build/types/carbonbox/shared/domain/value-objects/CorporateConfigurationCarbonFootprintSegmentReference.d.ts +1 -62
  56. package/build/types/carbonbox/shared/domain/value-objects/CorporateConfigurationCarbonFootprintSegmentReference.d.ts.map +1 -1
  57. package/build/types/carbonbox/shared/domain/value-objects/CorporateConfigurationCarbonFootprintSubsegmentReference.d.ts +1 -71
  58. package/build/types/carbonbox/shared/domain/value-objects/CorporateConfigurationCarbonFootprintSubsegmentReference.d.ts.map +1 -1
  59. package/build/types/carbonbox/shared/domain/value-objects/EventEditionConfigurationCarbonFootprintSubsegmentReference.d.ts +2 -78
  60. package/build/types/carbonbox/shared/domain/value-objects/EventEditionConfigurationCarbonFootprintSubsegmentReference.d.ts.map +1 -1
  61. package/build/types/carbonbox/shared/domain/value-objects/EventEditionConfigurationCarbonFootprintSubsegmentReferences.d.ts +5 -68
  62. package/build/types/carbonbox/shared/domain/value-objects/EventEditionConfigurationCarbonFootprintSubsegmentReferences.d.ts.map +1 -1
  63. package/build/types/carbonbox/shared/domain/value-objects/EventEditionLifecycleStageConfigurationReferences.d.ts +20 -19
  64. package/build/types/carbonbox/shared/domain/value-objects/EventEditionLifecycleStageConfigurationReferences.d.ts.map +1 -1
  65. package/build/types/carbonbox/shared/domain/value-objects/EventEditionLifecycleStageReference.d.ts +2 -45
  66. package/build/types/carbonbox/shared/domain/value-objects/EventEditionLifecycleStageReference.d.ts.map +1 -1
  67. package/build/types/carbonbox/shared/domain/value-objects/NullableCorporateConfigurationCarbonFootprintSubsegmentReference.d.ts +2 -62
  68. package/build/types/carbonbox/shared/domain/value-objects/NullableCorporateConfigurationCarbonFootprintSubsegmentReference.d.ts.map +1 -1
  69. package/build/types/carbonbox/shared/domain/value-objects/NullableEventEditionConfigurationCarbonFootprintSubsegmentReference.d.ts +2 -77
  70. package/build/types/carbonbox/shared/domain/value-objects/NullableEventEditionConfigurationCarbonFootprintSubsegmentReference.d.ts.map +1 -1
  71. package/build/types/carbonbox/shared/domain/value-objects/NullableProductConfigurationCarbonFootprintSubsegmentReference.d.ts +2 -62
  72. package/build/types/carbonbox/shared/domain/value-objects/NullableProductConfigurationCarbonFootprintSubsegmentReference.d.ts.map +1 -1
  73. package/build/types/carbonbox/shared/domain/value-objects/ProductCarbonFootprintSegmentConfigurationReferences.d.ts +15 -17
  74. package/build/types/carbonbox/shared/domain/value-objects/ProductCarbonFootprintSegmentConfigurationReferences.d.ts.map +1 -1
  75. package/build/types/carbonbox/shared/domain/value-objects/ProductConfigurationCarbonFootprintSegmentReference.d.ts +1 -81
  76. package/build/types/carbonbox/shared/domain/value-objects/ProductConfigurationCarbonFootprintSegmentReference.d.ts.map +1 -1
  77. package/build/types/carbonbox/shared/domain/value-objects/ProductConfigurationCarbonFootprintSubsegmentReference.d.ts +1 -90
  78. package/build/types/carbonbox/shared/domain/value-objects/ProductConfigurationCarbonFootprintSubsegmentReference.d.ts.map +1 -1
  79. package/package.json +1 -1
@@ -10,13 +10,12 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _ProductConfigurationCarbonFootprintSubsegmentReference_id, _ProductConfigurationCarbonFootprintSubsegmentReference_code, _ProductConfigurationCarbonFootprintSubsegmentReference_name;
13
+ var _ProductConfigurationCarbonFootprintSubsegmentReference_id;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.ProductConfigurationCarbonFootprintSubsegmentReference = void 0;
16
16
  const InvalidPropertyTypeError_1 = require("../exceptions/InvalidPropertyTypeError");
17
17
  const ObjectValueObject_1 = require("./ObjectValueObject");
18
18
  const String_1 = require("./String");
19
- const Code_1 = require("./Code");
20
19
  const AggregateId_1 = require("./AggregateId");
21
20
  class ProductConfigurationCarbonFootprintSubsegmentReference extends ObjectValueObject_1.ObjectValueObject {
22
21
  /**
@@ -26,15 +25,11 @@ class ProductConfigurationCarbonFootprintSubsegmentReference extends ObjectValue
26
25
  constructor(value, skipDomainValidation, propertyName = ProductConfigurationCarbonFootprintSubsegmentReference.DEFAULT_PROPERTY_NAME) {
27
26
  super(value, skipDomainValidation, propertyName, 'The provided value must be of type ProductConfigurationCarbonFootprintSubsegmentReference from the domain layer', { allowNull: false, allowUndefined: false });
28
27
  _ProductConfigurationCarbonFootprintSubsegmentReference_id.set(this, void 0);
29
- _ProductConfigurationCarbonFootprintSubsegmentReference_code.set(this, void 0);
30
- _ProductConfigurationCarbonFootprintSubsegmentReference_name.set(this, void 0);
31
28
  if (skipDomainValidation === false) {
32
29
  ProductConfigurationCarbonFootprintSubsegmentReference
33
30
  .validateProductConfigurationCarbonFootprintSubsegmentReference(value, propertyName);
34
31
  }
35
32
  __classPrivateFieldSet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_id, value.id.trim(), "f");
36
- __classPrivateFieldSet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_code, value.code.trim().toUpperCase(), "f");
37
- __classPrivateFieldSet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_name, value.name.trim(), "f");
38
33
  }
39
34
  /**
40
35
  * Validación estática para reutilización en factory methods y constructores.
@@ -42,8 +37,6 @@ class ProductConfigurationCarbonFootprintSubsegmentReference extends ObjectValue
42
37
  static validateProductConfigurationCarbonFootprintSubsegmentReference(value, propertyName) {
43
38
  this.guardAgainstInvalidType(value, propertyName);
44
39
  this.guardAgainstInvalidId(value.id);
45
- this.guardAgainstInvalidSubsegmentCode(value.code);
46
- this.guardAgainstInvalidSubsegmentName(value.name);
47
40
  }
48
41
  /**
49
42
  * Valida que el objeto tenga la estructura correcta.
@@ -55,12 +48,6 @@ class ProductConfigurationCarbonFootprintSubsegmentReference extends ObjectValue
55
48
  if (typeof value.id !== 'string') {
56
49
  throw InvalidPropertyTypeError_1.InvalidPropertyTypeError.create('id', 'string', typeof value.id);
57
50
  }
58
- if (typeof value.code !== 'string') {
59
- throw InvalidPropertyTypeError_1.InvalidPropertyTypeError.create('code', 'string', typeof value.code);
60
- }
61
- if (typeof value.name !== 'string') {
62
- throw InvalidPropertyTypeError_1.InvalidPropertyTypeError.create('name', 'string', typeof value.name);
63
- }
64
51
  }
65
52
  /**
66
53
  * Valida si el valor principal es inválido.
@@ -72,139 +59,12 @@ class ProductConfigurationCarbonFootprintSubsegmentReference extends ObjectValue
72
59
  String_1.String.guardAgainstEmptyValue(id, 'id');
73
60
  AggregateId_1.AggregateId.guardAgainstInvalidId(id, 'id');
74
61
  }
75
- /**
76
- * Valida el código del segmento de producto.
77
- */
78
- static guardAgainstInvalidSubsegmentCode(code) {
79
- String_1.String.guardAgainstEmptyValue(code, 'code');
80
- Code_1.Code.guardAgainstInvalidCode(code);
81
- if (this.codeIsEmpty(code)) {
82
- throw InvalidPropertyTypeError_1.InvalidPropertyTypeError.create('code', 'non-empty string', 'empty string');
83
- }
84
- const trimmedCode = code.trim().toUpperCase();
85
- if (this.codeLengthIsInvalid(trimmedCode)) {
86
- throw InvalidPropertyTypeError_1.InvalidPropertyTypeError.create('code', `string with length between ${this.MIN_CODE_LENGTH} and ${this.MAX_CODE_LENGTH} characters`, `string with ${trimmedCode.length} characters`);
87
- }
88
- this.codeFormatIsInvalid(trimmedCode, 'code');
89
- }
90
- /**
91
- * Verifica si el código de segmento está vacío.
92
- */
93
- static codeIsEmpty(code) {
94
- return code.trim().length === 0;
95
- }
96
- /**
97
- * Verifica si la longitud del código de segmento es inválida.
98
- */
99
- static codeLengthIsInvalid(trimmedCode) {
100
- return trimmedCode.length < this.MIN_CODE_LENGTH || trimmedCode.length > this.MAX_CODE_LENGTH;
101
- }
102
- /**
103
- * Verifica si el formato del código de segmento es inválido.
104
- */
105
- static codeFormatIsInvalid(trimmedCode, propertyName) {
106
- Code_1.Code.guardAgainstInvalidCode(trimmedCode, propertyName);
107
- }
108
- /**
109
- * Valida el nombre del segmento de producto.
110
- */
111
- static guardAgainstInvalidSubsegmentName(name) {
112
- String_1.String.guardAgainstEmptyValue(name, 'name');
113
- if (this.nameIsEmpty(name)) {
114
- throw InvalidPropertyTypeError_1.InvalidPropertyTypeError.create('name', 'non-empty string', 'empty string');
115
- }
116
- if (this.nameLengthIsInvalid(name)) {
117
- throw InvalidPropertyTypeError_1.InvalidPropertyTypeError.create('name', `string with maximum ${this.MAX_NAME_LENGTH} characters`, `string with ${name.trim().length} characters`);
118
- }
119
- }
120
- /**
121
- * Verifica si el nombre de segmento está vacío.
122
- */
123
- static nameIsEmpty(name) {
124
- return name.trim().length === 0;
125
- }
126
- /**
127
- * Verifica si la longitud del nombre de segmento es inválida.
128
- */
129
- static nameLengthIsInvalid(name) {
130
- return name.trim().length > this.MAX_NAME_LENGTH;
131
- }
132
62
  get id() {
133
63
  return __classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_id, "f");
134
64
  }
135
- /**
136
- * Código del segmento de producto.
137
- */
138
- get code() {
139
- return __classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_code, "f");
140
- }
141
- /**
142
- * Nombre del segmento de producto.
143
- */
144
- get name() {
145
- return __classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_name, "f");
146
- }
147
- hasName(name) {
148
- return __classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_name, "f") === name.trim();
149
- }
150
65
  hasId(id) {
151
66
  return __classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_id, "f") === id.trim();
152
67
  }
153
- /**
154
- * Verifica si el segmento tiene un código específico.
155
- */
156
- hasCode(code) {
157
- return __classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_code, "f") === code.trim().toUpperCase();
158
- }
159
- /**
160
- * Verifica si el nombre del segmento contiene una palabra específica.
161
- */
162
- nameContains(keyword) {
163
- return __classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_name, "f").toLowerCase().includes(keyword.toLowerCase());
164
- }
165
- /**
166
- * Verifica si es un segmento de tecnología.
167
- */
168
- isTechnologySubsegment() {
169
- const techKeywords = ['tech', 'technology', 'digital', 'software', 'it', 'innovation'];
170
- return techKeywords.some((keyword) => this.nameContains(keyword));
171
- }
172
- /**
173
- * Verifica si es un segmento financiero.
174
- */
175
- isFinancialSubsegment() {
176
- const financialKeywords = ['financial', 'bank', 'finance', 'insurance', 'investment'];
177
- return financialKeywords.some((keyword) => this.nameContains(keyword));
178
- }
179
- /**
180
- * Verifica si es un segmento de manufactura.
181
- */
182
- isManufacturingSubsegment() {
183
- const manufacturingKeywords = ['manufacturing', 'production', 'factory', 'industrial'];
184
- return manufacturingKeywords.some((keyword) => this.nameContains(keyword));
185
- }
186
- /**
187
- * Verifica si es un segmento de servicios.
188
- */
189
- isServicesSubsegment() {
190
- const servicesKeywords = ['services', 'consulting', 'professional', 'advisory'];
191
- return servicesKeywords.some((keyword) => this.nameContains(keyword));
192
- }
193
- /**
194
- * Obtiene una representación formateada para mostrar al usuario.
195
- */
196
- getFormattedDisplay() {
197
- return `${__classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_code, "f")} - ${__classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_name, "f")}`;
198
- }
199
- /**
200
- * Obtiene una versión abreviada del nombre si es muy largo.
201
- */
202
- getAbbreviatedName(maxLength = 50) {
203
- if (__classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_name, "f").length <= maxLength) {
204
- return __classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_name, "f");
205
- }
206
- return `${__classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_name, "f").substring(0, maxLength - 3)}...`;
207
- }
208
68
  /**
209
69
  * Compara la igualdad semántica con otro objeto ProductConfigurationCarbonFootprintSubsegmentReference.
210
70
  */
@@ -212,9 +72,7 @@ class ProductConfigurationCarbonFootprintSubsegmentReference extends ObjectValue
212
72
  if (this.otherIsNotProductConfigurationCarbonFootprintSubsegmentReference(other)) {
213
73
  return false;
214
74
  }
215
- return (__classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_id, "f") === __classPrivateFieldGet(other, _ProductConfigurationCarbonFootprintSubsegmentReference_id, "f")
216
- && __classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_code, "f") === __classPrivateFieldGet(other, _ProductConfigurationCarbonFootprintSubsegmentReference_code, "f")
217
- && __classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_name, "f") === __classPrivateFieldGet(other, _ProductConfigurationCarbonFootprintSubsegmentReference_name, "f"));
75
+ return __classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_id, "f") === __classPrivateFieldGet(other, _ProductConfigurationCarbonFootprintSubsegmentReference_id, "f");
218
76
  }
219
77
  /**
220
78
  * Verifica si el otro objeto no es una instancia de ProductConfigurationCarbonFootprintSubsegmentReference.
@@ -222,29 +80,11 @@ class ProductConfigurationCarbonFootprintSubsegmentReference extends ObjectValue
222
80
  otherIsNotProductConfigurationCarbonFootprintSubsegmentReference(other) {
223
81
  return (other instanceof ProductConfigurationCarbonFootprintSubsegmentReference) === false;
224
82
  }
225
- /**
226
- * Compara si dos segmentos tienen el mismo código.
227
- */
228
- hasSameCode(other) {
229
- if (this.otherIsNotProductConfigurationCarbonFootprintSubsegmentReference(other)) {
230
- return false;
231
- }
232
- return __classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_code, "f") === __classPrivateFieldGet(other, _ProductConfigurationCarbonFootprintSubsegmentReference_code, "f");
233
- }
234
- /**
235
- * Compara si dos segmentos tienen el mismo nombre.
236
- */
237
- hasSameName(other) {
238
- if (this.otherIsNotProductConfigurationCarbonFootprintSubsegmentReference(other)) {
239
- return false;
240
- }
241
- return __classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_name, "f") === __classPrivateFieldGet(other, _ProductConfigurationCarbonFootprintSubsegmentReference_name, "f");
242
- }
243
83
  /**
244
84
  * Genera un hash code para usar en colecciones.
245
85
  */
246
86
  hashCode() {
247
- return `${__classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_code, "f")}_${__classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_name, "f")}`;
87
+ return __classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_id, "f");
248
88
  }
249
89
  /**
250
90
  * Convierte a representación primitiva para persistencia.
@@ -252,15 +92,13 @@ class ProductConfigurationCarbonFootprintSubsegmentReference extends ObjectValue
252
92
  toPrimitives() {
253
93
  return {
254
94
  id: __classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_id, "f"),
255
- code: __classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_code, "f"),
256
- name: __classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_name, "f"),
257
95
  };
258
96
  }
259
97
  /**
260
- * Representación como string (código del segmento).
98
+ * Representación como string (id del subsegmento).
261
99
  */
262
100
  toString() {
263
- return __classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_code, "f");
101
+ return __classPrivateFieldGet(this, _ProductConfigurationCarbonFootprintSubsegmentReference_id, "f");
264
102
  }
265
103
  /**
266
104
  * Representación JSON para serialización.
@@ -276,9 +114,5 @@ class ProductConfigurationCarbonFootprintSubsegmentReference extends ObjectValue
276
114
  }
277
115
  }
278
116
  exports.ProductConfigurationCarbonFootprintSubsegmentReference = ProductConfigurationCarbonFootprintSubsegmentReference;
279
- _ProductConfigurationCarbonFootprintSubsegmentReference_id = new WeakMap(), _ProductConfigurationCarbonFootprintSubsegmentReference_code = new WeakMap(), _ProductConfigurationCarbonFootprintSubsegmentReference_name = new WeakMap();
117
+ _ProductConfigurationCarbonFootprintSubsegmentReference_id = new WeakMap();
280
118
  ProductConfigurationCarbonFootprintSubsegmentReference.DEFAULT_PROPERTY_NAME = 'productSubsegmentReference';
281
- // Longitud mínima y máxima para el código de segmento
282
- ProductConfigurationCarbonFootprintSubsegmentReference.MIN_CODE_LENGTH = 2;
283
- ProductConfigurationCarbonFootprintSubsegmentReference.MAX_CODE_LENGTH = 10;
284
- ProductConfigurationCarbonFootprintSubsegmentReference.MAX_NAME_LENGTH = 255;
@@ -1 +1 @@
1
- {"version":3,"file":"CorporateCarbonFootprintSegmentConfigurationSegment.d.ts","sourceRoot":"","sources":["../../../../../../../../src/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/domain/value-objects/CorporateCarbonFootprintSegmentConfigurationSegment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qDAAqD,EAAE,MAAM,0FAA0F,CAAC;AACjK,OAAO,EAAE,+DAA+D,EAAE,MAAM,oGAAoG,CAAC;AACrL,OAAO,EAAE,qDAAqD,IAAI,uDAAuD,EAAE,MAAM,kGAAkG,CAAC;AAEpO,qBAAa,mDACX,SAAQ,uDAAuD;IAC/D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAa;IAElD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,qDAAqD,GAAG,mDAAmD;WAIzH,cAAc,CAAC,UAAU,EAAE,+DAA+D,GAAG,mDAAmD;IAUvJ,YAAY,IAAI,+DAA+D;CAGhG"}
1
+ {"version":3,"file":"CorporateCarbonFootprintSegmentConfigurationSegment.d.ts","sourceRoot":"","sources":["../../../../../../../../src/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/domain/value-objects/CorporateCarbonFootprintSegmentConfigurationSegment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qDAAqD,EAAE,MAAM,0FAA0F,CAAC;AACjK,OAAO,EAAE,+DAA+D,EAAE,MAAM,oGAAoG,CAAC;AACrL,OAAO,EAAE,qDAAqD,IAAI,uDAAuD,EAAE,MAAM,kGAAkG,CAAC;AAEpO,qBAAa,mDACX,SAAQ,uDAAuD;IAC/D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAa;IAElD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,qDAAqD,GAAG,mDAAmD;WAIzH,cAAc,CAAC,UAAU,EAAE,+DAA+D,GAAG,mDAAmD;IAQvJ,YAAY,IAAI,+DAA+D;CAGhG"}
@@ -1 +1 @@
1
- {"version":3,"file":"CorporateConfigurationCarbonFootprintSegmentIncludedSubsegments.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/segments/domain/value-objects/CorporateConfigurationCarbonFootprintSegmentIncludedSubsegments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qDAAqD,EAAE,MAAM,6FAA6F,CAAC;AACpK,OAAO,EAAE,+DAA+D,EAAE,MAAM,uGAAuG,CAAC;AACxL,OAAO,EAAE,yCAAyC,EAAE,MAAM,sFAAsF,CAAC;AAEjJ,qBAAa,+DACX,SAAQ,yCAAyC;IACjD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,qDAAqD,EAAE,GAAG,+DAA+D;WAIvI,cAAc,CAAC,UAAU,EAAE,+DAA+D,EAAE,GAAG,+DAA+D;IAUrK,YAAY,IAAI,+DAA+D,EAAE;CAGlG"}
1
+ {"version":3,"file":"CorporateConfigurationCarbonFootprintSegmentIncludedSubsegments.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/carbonbox/carbon-footprint-configurations/corporate-configurations/corporate-segment-configurations/segments/domain/value-objects/CorporateConfigurationCarbonFootprintSegmentIncludedSubsegments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qDAAqD,EAAE,MAAM,6FAA6F,CAAC;AACpK,OAAO,EAAE,+DAA+D,EAAE,MAAM,uGAAuG,CAAC;AACxL,OAAO,EAAE,yCAAyC,EAAE,MAAM,sFAAsF,CAAC;AAEjJ,qBAAa,+DACX,SAAQ,yCAAyC;IACjD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,qDAAqD,EAAE,GAAG,+DAA+D;WAIvI,cAAc,CAAC,UAAU,EAAE,+DAA+D,EAAE,GAAG,+DAA+D;IAQrK,YAAY,IAAI,+DAA+D,EAAE;CAGlG"}
@@ -1 +1 @@
1
- {"version":3,"file":"EventEditionLifecycleStageConfigurationStage.d.ts","sourceRoot":"","sources":["../../../../../../../../src/carbonbox/carbon-footprint-configurations/event-configurations/event-edition-lifecycle-stage-configurations/domain/value-objects/EventEditionLifecycleStageConfigurationStage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,MAAM,wEAAwE,CAAC;AAC7H,OAAO,EAAE,6CAA6C,EAAE,MAAM,kFAAkF,CAAC;AACjJ,OAAO,EAAE,mCAAmC,IAAI,qCAAqC,EAAE,MAAM,gFAAgF,CAAC;AAE9K,qBAAa,4CACX,SAAQ,qCAAqC;IAC7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAW;IAEhD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,mCAAmC,GAAG,4CAA4C;WAIhG,cAAc,CAAC,UAAU,EAAE,6CAA6C,GAAG,4CAA4C;IAU9H,YAAY,IAAI,6CAA6C;CAG9E"}
1
+ {"version":3,"file":"EventEditionLifecycleStageConfigurationStage.d.ts","sourceRoot":"","sources":["../../../../../../../../src/carbonbox/carbon-footprint-configurations/event-configurations/event-edition-lifecycle-stage-configurations/domain/value-objects/EventEditionLifecycleStageConfigurationStage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mCAAmC,EAAE,MAAM,wEAAwE,CAAC;AAC7H,OAAO,EAAE,6CAA6C,EAAE,MAAM,kFAAkF,CAAC;AACjJ,OAAO,EAAE,mCAAmC,IAAI,qCAAqC,EAAE,MAAM,gFAAgF,CAAC;AAE9K,qBAAa,4CACX,SAAQ,qCAAqC;IAC7C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAW;IAEhD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,mCAAmC,GAAG,4CAA4C;WAIhG,cAAc,CAAC,UAAU,EAAE,6CAA6C,GAAG,4CAA4C;IAQ9H,YAAY,IAAI,6CAA6C;CAG9E"}
@@ -1 +1 @@
1
- {"version":3,"file":"EventEditionLifecycleStageIncludedSubsegments.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/carbonbox/carbon-footprint-configurations/event-configurations/event-edition-lifecycle-stage-configurations/event-edition-lifecycle-stages/domain/value-objects/EventEditionLifecycleStageIncludedSubsegments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2DAA2D,EAAE,MAAM,mGAAmG,CAAC;AAChL,OAAO,EAAE,qEAAqE,EAAE,MAAM,6GAA6G,CAAC;AACpM,OAAO,EAAE,4DAA4D,EAAE,MAAM,4GAA4G,CAAC;AAE1L,qBAAa,6CACX,SAAQ,4DAA4D;IACpE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAyB;IAEvD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,2DAA2D,EAAE,GAAG,6CAA6C;WAI3H,cAAc,CAAC,UAAU,EAAE,qEAAqE,EAAE,GAAG,6CAA6C;IAUzJ,YAAY,IAAI,qEAAqE,EAAE;CAGxG"}
1
+ {"version":3,"file":"EventEditionLifecycleStageIncludedSubsegments.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/carbonbox/carbon-footprint-configurations/event-configurations/event-edition-lifecycle-stage-configurations/event-edition-lifecycle-stages/domain/value-objects/EventEditionLifecycleStageIncludedSubsegments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2DAA2D,EAAE,MAAM,mGAAmG,CAAC;AAChL,OAAO,EAAE,qEAAqE,EAAE,MAAM,6GAA6G,CAAC;AACpM,OAAO,EAAE,4DAA4D,EAAE,MAAM,4GAA4G,CAAC;AAE1L,qBAAa,6CACX,SAAQ,4DAA4D;IACpE,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAyB;IAEvD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,2DAA2D,EAAE,GAAG,6CAA6C;WAI3H,cAAc,CAAC,UAAU,EAAE,qEAAqE,EAAE,GAAG,6CAA6C;IAQzJ,YAAY,IAAI,qEAAqE,EAAE;CAGxG"}
@@ -1 +1 @@
1
- {"version":3,"file":"ProductCarbonFootprintSegmentConfigurationSegment.d.ts","sourceRoot":"","sources":["../../../../../../../../src/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/domain/value-objects/ProductCarbonFootprintSegmentConfigurationSegment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mDAAmD,EAAE,MAAM,wFAAwF,CAAC;AAC7J,OAAO,EAAE,6DAA6D,EAAE,MAAM,kGAAkG,CAAC;AACjL,OAAO,EAAE,mDAAmD,IAAI,qDAAqD,EAAE,MAAM,gGAAgG,CAAC;AAE9N,qBAAa,iDACX,SAAQ,qDAAqD;IAC7D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAa;IAElD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,mDAAmD,GAAG,iDAAiD;WAIrH,cAAc,CAAC,UAAU,EAAE,6DAA6D,GAAG,iDAAiD;IAUnJ,YAAY,IAAI,6DAA6D;CAG9F"}
1
+ {"version":3,"file":"ProductCarbonFootprintSegmentConfigurationSegment.d.ts","sourceRoot":"","sources":["../../../../../../../../src/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/domain/value-objects/ProductCarbonFootprintSegmentConfigurationSegment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mDAAmD,EAAE,MAAM,wFAAwF,CAAC;AAC7J,OAAO,EAAE,6DAA6D,EAAE,MAAM,kGAAkG,CAAC;AACjL,OAAO,EAAE,mDAAmD,IAAI,qDAAqD,EAAE,MAAM,gGAAgG,CAAC;AAE9N,qBAAa,iDACX,SAAQ,qDAAqD;IAC7D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAa;IAElD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,mDAAmD,GAAG,iDAAiD;WAIrH,cAAc,CAAC,UAAU,EAAE,6DAA6D,GAAG,iDAAiD;IAQnJ,YAAY,IAAI,6DAA6D;CAG9F"}
@@ -1 +1 @@
1
- {"version":3,"file":"ProductConfigurationCarbonFootprintSegmentIncludedSubsegments.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/segments/domain/value-objects/ProductConfigurationCarbonFootprintSegmentIncludedSubsegments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mDAAmD,EAAE,MAAM,2FAA2F,CAAC;AAChK,OAAO,EAAE,6DAA6D,EAAE,MAAM,qGAAqG,CAAC;AACpL,OAAO,EAAE,yCAAyC,EAAE,MAAM,sFAAsF,CAAC;AAEjJ,qBAAa,6DACX,SAAQ,yCAAyC;IACjD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,mDAAmD,EAAE,GAAG,6DAA6D;WAInI,cAAc,CAAC,UAAU,EAAE,6DAA6D,EAAE,GAAG,6DAA6D;IAUjK,YAAY,IAAI,6DAA6D,EAAE;CAGhG"}
1
+ {"version":3,"file":"ProductConfigurationCarbonFootprintSegmentIncludedSubsegments.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/carbonbox/carbon-footprint-configurations/product-configurations/product-segment-configurations/segments/domain/value-objects/ProductConfigurationCarbonFootprintSegmentIncludedSubsegments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mDAAmD,EAAE,MAAM,2FAA2F,CAAC;AAChK,OAAO,EAAE,6DAA6D,EAAE,MAAM,qGAAqG,CAAC;AACpL,OAAO,EAAE,yCAAyC,EAAE,MAAM,sFAAsF,CAAC;AAEjJ,qBAAa,6DACX,SAAQ,yCAAyC;IACjD,OAAO;WAIgB,MAAM,CAAC,KAAK,EAAE,mDAAmD,EAAE,GAAG,6DAA6D;WAInI,cAAc,CAAC,UAAU,EAAE,6DAA6D,EAAE,GAAG,6DAA6D;IAQjK,YAAY,IAAI,6DAA6D,EAAE;CAGhG"}
@@ -1,6 +1,4 @@
1
1
  export type CorporateConfigurationCarbonFootprintSegmentReference = {
2
2
  id: string;
3
- code: string;
4
- name: string;
5
3
  };
6
4
  //# sourceMappingURL=CorporateConfigurationCarbonFootprintSegmentReference.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CorporateConfigurationCarbonFootprintSegmentReference.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/CorporateConfigurationCarbonFootprintSegmentReference.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qDAAqD,GAAG;IAClE,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
1
+ {"version":3,"file":"CorporateConfigurationCarbonFootprintSegmentReference.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/CorporateConfigurationCarbonFootprintSegmentReference.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qDAAqD,GAAG;IAClE,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC"}
@@ -1,6 +1,4 @@
1
1
  export type CorporateConfigurationCarbonFootprintSegmentReferencePrimitives = {
2
2
  id: string;
3
- code: string;
4
- name: string;
5
3
  };
6
4
  //# sourceMappingURL=CorporateConfigurationCarbonFootprintSegmentReferencePrimitives.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CorporateConfigurationCarbonFootprintSegmentReferencePrimitives.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/CorporateConfigurationCarbonFootprintSegmentReferencePrimitives.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,+DAA+D,GAAG;IAC5E,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
1
+ {"version":3,"file":"CorporateConfigurationCarbonFootprintSegmentReferencePrimitives.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/CorporateConfigurationCarbonFootprintSegmentReferencePrimitives.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,+DAA+D,GAAG;IAC5E,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC"}
@@ -1,6 +1,4 @@
1
1
  export type CorporateConfigurationCarbonFootprintSubsegmentReference = {
2
2
  id: string;
3
- code: string;
4
- name: string;
5
3
  };
6
4
  //# sourceMappingURL=CorporateConfigurationCarbonFootprintSubsegmentReference.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CorporateConfigurationCarbonFootprintSubsegmentReference.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/CorporateConfigurationCarbonFootprintSubsegmentReference.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wDAAwD,GAAG;IACrE,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
1
+ {"version":3,"file":"CorporateConfigurationCarbonFootprintSubsegmentReference.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/CorporateConfigurationCarbonFootprintSubsegmentReference.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wDAAwD,GAAG;IACrE,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC"}
@@ -1,6 +1,4 @@
1
1
  export type CorporateConfigurationCarbonFootprintSubsegmentReferencePrimitives = {
2
2
  id: string;
3
- code: string;
4
- name: string;
5
3
  };
6
4
  //# sourceMappingURL=CorporateConfigurationCarbonFootprintSubsegmentReferencePrimitives.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CorporateConfigurationCarbonFootprintSubsegmentReferencePrimitives.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/CorporateConfigurationCarbonFootprintSubsegmentReferencePrimitives.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kEAAkE,GAAG;IAC/E,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
1
+ {"version":3,"file":"CorporateConfigurationCarbonFootprintSubsegmentReferencePrimitives.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/CorporateConfigurationCarbonFootprintSubsegmentReferencePrimitives.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kEAAkE,GAAG;IAC/E,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC"}
@@ -1,6 +1,4 @@
1
1
  export type EventEditionConfigurationCarbonFootprintSubsegmentReference = {
2
2
  id: string;
3
- code: string;
4
- name: string;
5
3
  };
6
4
  //# sourceMappingURL=EventEditionConfigurationCarbonFootprintSubsegmentReference.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EventEditionConfigurationCarbonFootprintSubsegmentReference.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/EventEditionConfigurationCarbonFootprintSubsegmentReference.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,2DAA2D,GAAG;IACxE,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
1
+ {"version":3,"file":"EventEditionConfigurationCarbonFootprintSubsegmentReference.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/EventEditionConfigurationCarbonFootprintSubsegmentReference.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,2DAA2D,GAAG;IACxE,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC"}
@@ -1,6 +1,4 @@
1
1
  export type EventEditionConfigurationCarbonFootprintSubsegmentReferencePrimitives = {
2
2
  id: string;
3
- code: string;
4
- name: string;
5
3
  };
6
4
  //# sourceMappingURL=EventEditionConfigurationCarbonFootprintSubsegmentReferencePrimitives.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EventEditionConfigurationCarbonFootprintSubsegmentReferencePrimitives.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/EventEditionConfigurationCarbonFootprintSubsegmentReferencePrimitives.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qEAAqE,GAAG;IAClF,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
1
+ {"version":3,"file":"EventEditionConfigurationCarbonFootprintSubsegmentReferencePrimitives.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/EventEditionConfigurationCarbonFootprintSubsegmentReferencePrimitives.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qEAAqE,GAAG;IAClF,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC"}
@@ -1,6 +1,4 @@
1
1
  export type EventEditionLifecycleStageReference = {
2
2
  id: string;
3
- code: string;
4
- name: string;
5
3
  };
6
4
  //# sourceMappingURL=EventEditionLifecycleStageReference.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EventEditionLifecycleStageReference.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/EventEditionLifecycleStageReference.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mCAAmC,GAAG;IAChD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
1
+ {"version":3,"file":"EventEditionLifecycleStageReference.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/EventEditionLifecycleStageReference.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mCAAmC,GAAG;IAChD,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC"}
@@ -1,6 +1,4 @@
1
1
  export type EventEditionLifecycleStageReferencePrimitives = {
2
2
  id: string;
3
- code: string;
4
- name: string;
5
3
  };
6
4
  //# sourceMappingURL=EventEditionLifecycleStageReferencePrimitives.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EventEditionLifecycleStageReferencePrimitives.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/EventEditionLifecycleStageReferencePrimitives.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,6CAA6C,GAAG;IAC1D,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
1
+ {"version":3,"file":"EventEditionLifecycleStageReferencePrimitives.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/EventEditionLifecycleStageReferencePrimitives.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,6CAA6C,GAAG;IAC1D,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC"}
@@ -1,6 +1,4 @@
1
1
  export type ProductConfigurationCarbonFootprintSegmentReference = {
2
2
  id: string;
3
- code: string;
4
- name: string;
5
3
  };
6
4
  //# sourceMappingURL=ProductConfigurationCarbonFootprintSegmentReference.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductConfigurationCarbonFootprintSegmentReference.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/ProductConfigurationCarbonFootprintSegmentReference.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mDAAmD,GAAG;IAChE,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
1
+ {"version":3,"file":"ProductConfigurationCarbonFootprintSegmentReference.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/ProductConfigurationCarbonFootprintSegmentReference.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mDAAmD,GAAG;IAChE,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC"}
@@ -1,6 +1,4 @@
1
1
  export type ProductConfigurationCarbonFootprintSegmentReferencePrimitives = {
2
2
  id: string;
3
- code: string;
4
- name: string;
5
3
  };
6
4
  //# sourceMappingURL=ProductConfigurationCarbonFootprintSegmentReferencePrimitives.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductConfigurationCarbonFootprintSegmentReferencePrimitives.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/ProductConfigurationCarbonFootprintSegmentReferencePrimitives.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,6DAA6D,GAAG;IAC1E,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
1
+ {"version":3,"file":"ProductConfigurationCarbonFootprintSegmentReferencePrimitives.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/ProductConfigurationCarbonFootprintSegmentReferencePrimitives.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,6DAA6D,GAAG;IAC1E,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC"}
@@ -1,6 +1,4 @@
1
1
  export type ProductConfigurationCarbonFootprintSubsegmentReference = {
2
2
  id: string;
3
- code: string;
4
- name: string;
5
3
  };
6
4
  //# sourceMappingURL=ProductConfigurationCarbonFootprintSubsegmentReference.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductConfigurationCarbonFootprintSubsegmentReference.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/ProductConfigurationCarbonFootprintSubsegmentReference.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sDAAsD,GAAG;IACnE,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
1
+ {"version":3,"file":"ProductConfigurationCarbonFootprintSubsegmentReference.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/ProductConfigurationCarbonFootprintSubsegmentReference.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sDAAsD,GAAG;IACnE,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC"}
@@ -1,6 +1,4 @@
1
1
  export type ProductConfigurationCarbonFootprintSubsegmentReferencePrimitives = {
2
2
  id: string;
3
- code: string;
4
- name: string;
5
3
  };
6
4
  //# sourceMappingURL=ProductConfigurationCarbonFootprintSubsegmentReferencePrimitives.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductConfigurationCarbonFootprintSubsegmentReferencePrimitives.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/ProductConfigurationCarbonFootprintSubsegmentReferencePrimitives.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gEAAgE,GAAG;IAC7E,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
1
+ {"version":3,"file":"ProductConfigurationCarbonFootprintSubsegmentReferencePrimitives.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/types/ProductConfigurationCarbonFootprintSubsegmentReferencePrimitives.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gEAAgE,GAAG;IAC7E,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC"}
@@ -24,7 +24,7 @@ export declare abstract class CarbonFootprintSegmentReferences extends ValueObje
24
24
  */
25
25
  protected static guardAgainstInvalidEmptyArray(value: SegmentReference[], options: CarbonFootprintSegmentReferencesOptions, propertyName: string): void;
26
26
  /**
27
- * Valida que no haya códigos de segmento duplicados.
27
+ * Valida que no haya IDs de segmento duplicados.
28
28
  */
29
29
  protected static guardAgainstDuplicateSegmentCodes(value: SegmentReference[], propertyName: string): void;
30
30
  /**
@@ -39,14 +39,6 @@ export declare abstract class CarbonFootprintSegmentReferences extends ValueObje
39
39
  * Valida el ID de segmento usando las validaciones de AggregateId.
40
40
  */
41
41
  protected static guardAgainstInvalidSegmentId(id: string, propertyName: string): void;
42
- /**
43
- * Valida el código de segmento usando las validaciones de Code.
44
- */
45
- protected static guardAgainstInvalidSegmentCode(code: string, propertyName: string): void;
46
- /**
47
- * Valida el nombre del segmento.
48
- */
49
- protected static guardAgainstInvalidSegmentName(name: string, propertyName: string): void;
50
42
  /**
51
43
  * Referencias de segmentos (inmutable).
52
44
  */
@@ -68,41 +60,21 @@ export declare abstract class CarbonFootprintSegmentReferences extends ValueObje
68
60
  */
69
61
  hasSegments(): boolean;
70
62
  /**
71
- * Obtiene un segmento por su código.
63
+ * Obtiene un segmento por su ID.
72
64
  */
73
- getSegmentByCode(segmentCode: string): SegmentReference | null;
65
+ getSegmentById(segmentId: string): SegmentReference | null;
74
66
  /**
75
- * Verifica si existe un segmento con el código especificado.
67
+ * Verifica si existe un segmento con el ID especificado.
76
68
  */
77
- hasSegmentCode(segmentCode: string): boolean;
78
- /**
79
- * Obtiene un segmento por su nombre.
80
- */
81
- getSegmentByName(segmentName: string): SegmentReference | null;
82
- /**
83
- * Verifica si existe un segmento con el nombre especificado.
84
- */
85
- hasSegmentName(segmentName: string): boolean;
69
+ hasSegmentId(segmentId: string): boolean;
86
70
  /**
87
71
  * Obtiene un segmento por su índice.
88
72
  */
89
73
  getSegmentAt(index: number): SegmentReference | null;
90
74
  /**
91
- * Obtiene todos los códigos de segmento.
92
- */
93
- getAllSegmentCodes(): string[];
94
- /**
95
- * Obtiene todos los nombres de segmento.
96
- */
97
- getAllSegmentNames(): string[];
98
- /**
99
- * Busca segmentos por texto en el nombre.
100
- */
101
- findSegmentsByNameContaining(searchText: string): SegmentReference[];
102
- /**
103
- * Busca segmentos que coincidan con un patrón en código o nombre.
75
+ * Obtiene todos los IDs de segmento.
104
76
  */
105
- findSegmentsMatching(searchText: string): SegmentReference[];
77
+ getAllSegmentIds(): string[];
106
78
  /**
107
79
  * Obtiene los primeros N segmentos.
108
80
  */
@@ -111,14 +83,6 @@ export declare abstract class CarbonFootprintSegmentReferences extends ValueObje
111
83
  * Obtiene los últimos N segmentos.
112
84
  */
113
85
  getLastN(count: number): SegmentReference[];
114
- /**
115
- * Verifica si todos los segmentos tienen nombres únicos.
116
- */
117
- hasUniqueNames(): boolean;
118
- /**
119
- * Obtiene segmentos con nombres duplicados.
120
- */
121
- getDuplicateNameSegments(): SegmentReference[];
122
86
  /**
123
87
  * Compara la igualdad semántica con otra colección de referencias de segmento.
124
88
  */
@@ -1 +1 @@
1
- {"version":3,"file":"CarbonFootprintSegmentReferences.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/value-objects/CarbonFootprintSegmentReferences.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"CarbonFootprintSegmentReferences.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/shared/domain/value-objects/CarbonFootprintSegmentReferences.ts"],"names":[],"mappings":"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"}
@@ -59,8 +59,6 @@ export declare abstract class CorporateCarbonFootprintSegmentConfigurationRefere
59
59
  */
60
60
  protected static guardAgainstInvalidSegmentReference(reference: {
61
61
  id: string;
62
- code: string;
63
- name: string;
64
62
  }, propertyName: string, typeName: string): void;
65
63
  /**
66
64
  * Configuraciones de segmento corporativo (inmutable).
@@ -107,13 +105,13 @@ export declare abstract class CorporateCarbonFootprintSegmentConfigurationRefere
107
105
  */
108
106
  getConfigurationAt(index: number): CorporateCarbonFootprintSegmentConfigurationReference | null;
109
107
  /**
110
- * Obtiene todos los códigos de configuración.
108
+ * Obtiene todos los IDs de configuración.
111
109
  */
112
110
  getAllConfigurationIds(): string[];
113
111
  /**
114
- * Obtiene todas las configuraciones por código de segmento corporativo.
112
+ * Obtiene todas las configuraciones por ID de segmento corporativo.
115
113
  */
116
- getConfigurationsBySegmentCode(segmentCode: string): CorporateCarbonFootprintSegmentConfigurationReference[];
114
+ getConfigurationsBySegmentId(segmentId: string): CorporateCarbonFootprintSegmentConfigurationReference[];
117
115
  /**
118
116
  * Obtiene todas las configuraciones por fuente de emisión.
119
117
  */
@@ -131,15 +129,15 @@ export declare abstract class CorporateCarbonFootprintSegmentConfigurationRefere
131
129
  */
132
130
  hasAnyConfigurationWithSubsegment(): boolean;
133
131
  /**
134
- * Obtiene todos los códigos únicos de segmentos corporativos.
132
+ * Obtiene todos los IDs únicos de segmentos corporativos.
135
133
  */
136
- getUniqueSegmentCodes(): string[];
134
+ getUniqueSegmentIds(): string[];
137
135
  /**
138
136
  * Obtiene todas las fuentes de emisión únicas.
139
137
  */
140
138
  getUniqueEmissionSources(): EmissionSource[];
141
139
  /**
142
- * Busca configuraciones que coincidan con un patrón en código de configuración.
140
+ * Busca configuraciones que coincidan con un patrón en ID de configuración o fuentes de emisión.
143
141
  */
144
142
  findConfigurationsMatching(searchText: string): CorporateCarbonFootprintSegmentConfigurationReference[];
145
143
  /**