sigo-entities 1.2.132 → 1.2.133
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.
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +12 -7
- package/dist/index.mjs +12 -7
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -36716,19 +36716,23 @@ var RegistroAudioDTO = class {
|
|
|
36716
36716
|
__decorateClass([
|
|
36717
36717
|
(0, import_class_validator575.IsString)(),
|
|
36718
36718
|
(0, import_class_validator575.IsNotEmpty)(),
|
|
36719
|
-
(0, import_class_validator575.Matches)(/.*\.wav$/, { message: "El archivo debe ser un formato .wav v\xE1lido" })
|
|
36719
|
+
(0, import_class_validator575.Matches)(/.*\.wav$/, { message: "El archivo debe ser un formato .wav v\xE1lido" }),
|
|
36720
|
+
(0, import_class_transformer574.Expose)()
|
|
36720
36721
|
], RegistroAudioDTO.prototype, "Audio", 2);
|
|
36721
36722
|
__decorateClass([
|
|
36722
36723
|
(0, import_class_validator575.IsString)(),
|
|
36723
36724
|
(0, import_class_validator575.IsNotEmpty)(),
|
|
36724
|
-
(0, import_class_validator575.Matches)(/^[0-9]+$/, { message: "Contacto debe contener solo d\xEDgitos" })
|
|
36725
|
+
(0, import_class_validator575.Matches)(/^[0-9]+$/, { message: "Contacto debe contener solo d\xEDgitos" }),
|
|
36726
|
+
(0, import_class_transformer574.Expose)()
|
|
36725
36727
|
], RegistroAudioDTO.prototype, "Contacto", 2);
|
|
36726
36728
|
__decorateClass([
|
|
36727
|
-
(0, import_class_validator575.IsEnum)(ContestoEnum)
|
|
36729
|
+
(0, import_class_validator575.IsEnum)(ContestoEnum),
|
|
36730
|
+
(0, import_class_transformer574.Expose)()
|
|
36728
36731
|
], RegistroAudioDTO.prototype, "Contesto", 2);
|
|
36729
36732
|
__decorateClass([
|
|
36730
36733
|
(0, import_class_validator576.IsDate)(),
|
|
36731
|
-
(0, import_class_transformer574.Type)(() => Date)
|
|
36734
|
+
(0, import_class_transformer574.Type)(() => Date),
|
|
36735
|
+
(0, import_class_transformer574.Expose)()
|
|
36732
36736
|
], RegistroAudioDTO.prototype, "Fecha", 2);
|
|
36733
36737
|
var TOAOrdenLiquidacionENTITY = class {
|
|
36734
36738
|
_id;
|
|
@@ -36752,7 +36756,7 @@ var TOAOrdenLiquidacionENTITY = class {
|
|
|
36752
36756
|
departamento;
|
|
36753
36757
|
reiterada_tdi;
|
|
36754
36758
|
inventario;
|
|
36755
|
-
Audio =
|
|
36759
|
+
Audio = [];
|
|
36756
36760
|
Bitacora;
|
|
36757
36761
|
};
|
|
36758
36762
|
__decorateClass([
|
|
@@ -36883,9 +36887,10 @@ __decorateClass([
|
|
|
36883
36887
|
], TOAOrdenLiquidacionENTITY.prototype, "inventario", 2);
|
|
36884
36888
|
__decorateClass([
|
|
36885
36889
|
(0, import_class_transformer574.Expose)({ name: "Audio" }),
|
|
36886
|
-
(0, import_class_transformer574.Type)(() => RegistroAudioDTO),
|
|
36887
36890
|
(0, import_class_validator575.IsDefined)({ message: "El campo Audio es obligatorio." }),
|
|
36888
|
-
(0, import_class_validator575.
|
|
36891
|
+
(0, import_class_validator575.IsArray)(),
|
|
36892
|
+
(0, import_class_validator575.ValidateNested)({ each: true }),
|
|
36893
|
+
(0, import_class_transformer574.Type)(() => RegistroAudioDTO)
|
|
36889
36894
|
], TOAOrdenLiquidacionENTITY.prototype, "Audio", 2);
|
|
36890
36895
|
__decorateClass([
|
|
36891
36896
|
(0, import_class_transformer574.Expose)({ name: "Bitacora" }),
|
package/dist/index.mjs
CHANGED
|
@@ -36359,19 +36359,23 @@ var RegistroAudioDTO = class {
|
|
|
36359
36359
|
__decorateClass([
|
|
36360
36360
|
IsString468(),
|
|
36361
36361
|
IsNotEmpty380(),
|
|
36362
|
-
Matches4(/.*\.wav$/, { message: "El archivo debe ser un formato .wav v\xE1lido" })
|
|
36362
|
+
Matches4(/.*\.wav$/, { message: "El archivo debe ser un formato .wav v\xE1lido" }),
|
|
36363
|
+
Expose572()
|
|
36363
36364
|
], RegistroAudioDTO.prototype, "Audio", 2);
|
|
36364
36365
|
__decorateClass([
|
|
36365
36366
|
IsString468(),
|
|
36366
36367
|
IsNotEmpty380(),
|
|
36367
|
-
Matches4(/^[0-9]+$/, { message: "Contacto debe contener solo d\xEDgitos" })
|
|
36368
|
+
Matches4(/^[0-9]+$/, { message: "Contacto debe contener solo d\xEDgitos" }),
|
|
36369
|
+
Expose572()
|
|
36368
36370
|
], RegistroAudioDTO.prototype, "Contacto", 2);
|
|
36369
36371
|
__decorateClass([
|
|
36370
|
-
IsEnum26(ContestoEnum)
|
|
36372
|
+
IsEnum26(ContestoEnum),
|
|
36373
|
+
Expose572()
|
|
36371
36374
|
], RegistroAudioDTO.prototype, "Contesto", 2);
|
|
36372
36375
|
__decorateClass([
|
|
36373
36376
|
IsDate145(),
|
|
36374
|
-
Type374(() => Date)
|
|
36377
|
+
Type374(() => Date),
|
|
36378
|
+
Expose572()
|
|
36375
36379
|
], RegistroAudioDTO.prototype, "Fecha", 2);
|
|
36376
36380
|
var TOAOrdenLiquidacionENTITY = class {
|
|
36377
36381
|
_id;
|
|
@@ -36395,7 +36399,7 @@ var TOAOrdenLiquidacionENTITY = class {
|
|
|
36395
36399
|
departamento;
|
|
36396
36400
|
reiterada_tdi;
|
|
36397
36401
|
inventario;
|
|
36398
|
-
Audio =
|
|
36402
|
+
Audio = [];
|
|
36399
36403
|
Bitacora;
|
|
36400
36404
|
};
|
|
36401
36405
|
__decorateClass([
|
|
@@ -36526,9 +36530,10 @@ __decorateClass([
|
|
|
36526
36530
|
], TOAOrdenLiquidacionENTITY.prototype, "inventario", 2);
|
|
36527
36531
|
__decorateClass([
|
|
36528
36532
|
Expose572({ name: "Audio" }),
|
|
36529
|
-
Type374(() => RegistroAudioDTO),
|
|
36530
36533
|
IsDefined176({ message: "El campo Audio es obligatorio." }),
|
|
36531
|
-
|
|
36534
|
+
IsArray199(),
|
|
36535
|
+
ValidateNested333({ each: true }),
|
|
36536
|
+
Type374(() => RegistroAudioDTO)
|
|
36532
36537
|
], TOAOrdenLiquidacionENTITY.prototype, "Audio", 2);
|
|
36533
36538
|
__decorateClass([
|
|
36534
36539
|
Expose572({ name: "Bitacora" }),
|