sigo-entities 1.2.212 → 1.2.213

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.js CHANGED
@@ -39109,7 +39109,7 @@ var import_class_transformer602 = require("class-transformer");
39109
39109
  var import_class_validator603 = require("class-validator");
39110
39110
  var import_reflect_metadata29 = require("reflect-metadata");
39111
39111
  var ForceString = () => (0, import_class_transformer602.Transform)(({ value }) => {
39112
- if (value === null || value === void 0) return "";
39112
+ if (!value) return "";
39113
39113
  return String(value).trim();
39114
39114
  });
39115
39115
  var MaterialDistribuidoDTO = class {
@@ -39659,8 +39659,9 @@ __decorateClass([
39659
39659
  ], ReclamosDistribuidorDTO.prototype, "FALLA", 2);
39660
39660
  __decorateClass([
39661
39661
  (0, import_class_transformer602.Expose)(),
39662
+ ForceString(),
39662
39663
  (0, import_class_validator603.IsDefined)(),
39663
- (0, import_class_validator603.IsNumber)()
39664
+ (0, import_class_validator603.IsString)()
39664
39665
  ], ReclamosDistribuidorDTO.prototype, "NRO_CAUSA", 2);
39665
39666
  __decorateClass([
39666
39667
  (0, import_class_transformer602.Expose)(),
package/dist/index.mjs CHANGED
@@ -38758,7 +38758,7 @@ import {
38758
38758
  } from "class-validator";
38759
38759
  import "reflect-metadata";
38760
38760
  var ForceString = () => Transform82(({ value }) => {
38761
- if (value === null || value === void 0) return "";
38761
+ if (!value) return "";
38762
38762
  return String(value).trim();
38763
38763
  });
38764
38764
  var MaterialDistribuidoDTO = class {
@@ -39308,8 +39308,9 @@ __decorateClass([
39308
39308
  ], ReclamosDistribuidorDTO.prototype, "FALLA", 2);
39309
39309
  __decorateClass([
39310
39310
  Expose599(),
39311
+ ForceString(),
39311
39312
  IsDefined195(),
39312
- IsNumber399()
39313
+ IsString490()
39313
39314
  ], ReclamosDistribuidorDTO.prototype, "NRO_CAUSA", 2);
39314
39315
  __decorateClass([
39315
39316
  Expose599(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-entities",
3
- "version": "1.2.212",
3
+ "version": "1.2.213",
4
4
  "description": "Desarrollo de modelos de datos SIGO",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",