sigo-entities 1.2.213 → 1.2.215

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 CHANGED
@@ -7372,7 +7372,7 @@ declare class OrdenesInstalacionDTO {
7372
7372
  FINALIZA_ONLINE: string;
7373
7373
  }
7374
7374
  declare class ReclamosDistribuidorDTO {
7375
- FECHA: string;
7375
+ FECHA: Date;
7376
7376
  PERMISOR: number;
7377
7377
  ABONADO: number;
7378
7378
  NOMBRE: string;
@@ -7389,19 +7389,19 @@ declare class ReclamosDistribuidorDTO {
7389
7389
  APARTAMENTO: string;
7390
7390
  UBICACION: string;
7391
7391
  TIPO: string;
7392
- ORDEN: number;
7392
+ ORDEN: string;
7393
7393
  STATUS: string;
7394
7394
  OBS_ORIGINAL: string;
7395
- COD_TECNICO: number;
7395
+ COD_TECNICO: string;
7396
7396
  TECNICO: string;
7397
7397
  OBS_TECNICA: string;
7398
- FECHA_AGENDAMIENTO: string;
7398
+ FECHA_AGENDAMIENTO: Date;
7399
7399
  USUARIO_AGENDAMIENTO: string;
7400
- FCH_INGRESO: string;
7401
- FCH_FINALIZACION: string;
7402
- NRO_FALLA: number;
7400
+ FCH_INGRESO: Date;
7401
+ FCH_FINALIZACION: Date;
7402
+ NRO_FALLA: string;
7403
7403
  FALLA: string;
7404
- NRO_CAUSA: number;
7404
+ NRO_CAUSA: string;
7405
7405
  CAUSA_FALLA: string;
7406
7406
  ORIGEN_FALLA: string;
7407
7407
  STB_ANTERIOR: string;
@@ -7410,7 +7410,7 @@ declare class ReclamosDistribuidorDTO {
7410
7410
  SC_NUEVO: string;
7411
7411
  USUARIO_FIN: string;
7412
7412
  TIPO_COMISION: string;
7413
- STB: number;
7413
+ STB: string;
7414
7414
  USUARIO_INGRESA: string;
7415
7415
  FINALIZA_ONLINE: string;
7416
7416
  INSTALADOR_APP: string;
package/dist/index.d.ts CHANGED
@@ -7372,7 +7372,7 @@ declare class OrdenesInstalacionDTO {
7372
7372
  FINALIZA_ONLINE: string;
7373
7373
  }
7374
7374
  declare class ReclamosDistribuidorDTO {
7375
- FECHA: string;
7375
+ FECHA: Date;
7376
7376
  PERMISOR: number;
7377
7377
  ABONADO: number;
7378
7378
  NOMBRE: string;
@@ -7389,19 +7389,19 @@ declare class ReclamosDistribuidorDTO {
7389
7389
  APARTAMENTO: string;
7390
7390
  UBICACION: string;
7391
7391
  TIPO: string;
7392
- ORDEN: number;
7392
+ ORDEN: string;
7393
7393
  STATUS: string;
7394
7394
  OBS_ORIGINAL: string;
7395
- COD_TECNICO: number;
7395
+ COD_TECNICO: string;
7396
7396
  TECNICO: string;
7397
7397
  OBS_TECNICA: string;
7398
- FECHA_AGENDAMIENTO: string;
7398
+ FECHA_AGENDAMIENTO: Date;
7399
7399
  USUARIO_AGENDAMIENTO: string;
7400
- FCH_INGRESO: string;
7401
- FCH_FINALIZACION: string;
7402
- NRO_FALLA: number;
7400
+ FCH_INGRESO: Date;
7401
+ FCH_FINALIZACION: Date;
7402
+ NRO_FALLA: string;
7403
7403
  FALLA: string;
7404
- NRO_CAUSA: number;
7404
+ NRO_CAUSA: string;
7405
7405
  CAUSA_FALLA: string;
7406
7406
  ORIGEN_FALLA: string;
7407
7407
  STB_ANTERIOR: string;
@@ -7410,7 +7410,7 @@ declare class ReclamosDistribuidorDTO {
7410
7410
  SC_NUEVO: string;
7411
7411
  USUARIO_FIN: string;
7412
7412
  TIPO_COMISION: string;
7413
- STB: number;
7413
+ STB: string;
7414
7414
  USUARIO_INGRESA: string;
7415
7415
  FINALIZA_ONLINE: string;
7416
7416
  INSTALADOR_APP: string;
package/dist/index.js CHANGED
@@ -39112,6 +39112,16 @@ var ForceString = () => (0, import_class_transformer602.Transform)(({ value }) =
39112
39112
  if (!value) return "";
39113
39113
  return String(value).trim();
39114
39114
  });
39115
+ var SmartDateTransformer = () => (0, import_class_transformer602.Transform)(({ value }) => {
39116
+ if (value === null || value === void 0 || value === "") {
39117
+ return /* @__PURE__ */ new Date(0);
39118
+ }
39119
+ const date = new Date(value);
39120
+ if (isNaN(date.getTime())) {
39121
+ return /* @__PURE__ */ new Date(0);
39122
+ }
39123
+ return date;
39124
+ });
39115
39125
  var MaterialDistribuidoDTO = class {
39116
39126
  DEPARTAMENTO = "";
39117
39127
  PROVINCIA = "";
@@ -39445,7 +39455,7 @@ __decorateClass([
39445
39455
  (0, import_class_validator603.IsString)()
39446
39456
  ], OrdenesInstalacionDTO.prototype, "FINALIZA_ONLINE", 2);
39447
39457
  var ReclamosDistribuidorDTO = class {
39448
- FECHA = "";
39458
+ FECHA = /* @__PURE__ */ new Date(0);
39449
39459
  PERMISOR = 0;
39450
39460
  ABONADO = 0;
39451
39461
  NOMBRE = "";
@@ -39462,19 +39472,19 @@ var ReclamosDistribuidorDTO = class {
39462
39472
  APARTAMENTO = "";
39463
39473
  UBICACION = "";
39464
39474
  TIPO = "";
39465
- ORDEN = 0;
39475
+ ORDEN = "";
39466
39476
  STATUS = "";
39467
39477
  OBS_ORIGINAL = "";
39468
- COD_TECNICO = 0;
39478
+ COD_TECNICO = "";
39469
39479
  TECNICO = "";
39470
39480
  OBS_TECNICA = "";
39471
- FECHA_AGENDAMIENTO = "";
39481
+ FECHA_AGENDAMIENTO = /* @__PURE__ */ new Date(0);
39472
39482
  USUARIO_AGENDAMIENTO = "";
39473
- FCH_INGRESO = "";
39474
- FCH_FINALIZACION = "";
39475
- NRO_FALLA = 0;
39483
+ FCH_INGRESO = /* @__PURE__ */ new Date(0);
39484
+ FCH_FINALIZACION = /* @__PURE__ */ new Date(0);
39485
+ NRO_FALLA = "";
39476
39486
  FALLA = "";
39477
- NRO_CAUSA = 0;
39487
+ NRO_CAUSA = "";
39478
39488
  CAUSA_FALLA = "";
39479
39489
  ORIGEN_FALLA = "";
39480
39490
  STB_ANTERIOR = "";
@@ -39483,16 +39493,14 @@ var ReclamosDistribuidorDTO = class {
39483
39493
  SC_NUEVO = "";
39484
39494
  USUARIO_FIN = "";
39485
39495
  TIPO_COMISION = "";
39486
- STB = 0;
39496
+ STB = "";
39487
39497
  USUARIO_INGRESA = "";
39488
39498
  FINALIZA_ONLINE = "";
39489
39499
  INSTALADOR_APP = "";
39490
39500
  };
39491
39501
  __decorateClass([
39492
39502
  (0, import_class_transformer602.Expose)(),
39493
- ForceString(),
39494
- (0, import_class_validator603.IsDefined)(),
39495
- (0, import_class_validator603.IsString)()
39503
+ SmartDateTransformer()
39496
39504
  ], ReclamosDistribuidorDTO.prototype, "FECHA", 2);
39497
39505
  __decorateClass([
39498
39506
  (0, import_class_transformer602.Expose)(),
@@ -39590,8 +39598,9 @@ __decorateClass([
39590
39598
  ], ReclamosDistribuidorDTO.prototype, "TIPO", 2);
39591
39599
  __decorateClass([
39592
39600
  (0, import_class_transformer602.Expose)(),
39601
+ ForceString(),
39593
39602
  (0, import_class_validator603.IsDefined)(),
39594
- (0, import_class_validator603.IsNumber)()
39603
+ (0, import_class_validator603.IsString)()
39595
39604
  ], ReclamosDistribuidorDTO.prototype, "ORDEN", 2);
39596
39605
  __decorateClass([
39597
39606
  (0, import_class_transformer602.Expose)(),
@@ -39607,8 +39616,9 @@ __decorateClass([
39607
39616
  ], ReclamosDistribuidorDTO.prototype, "OBS_ORIGINAL", 2);
39608
39617
  __decorateClass([
39609
39618
  (0, import_class_transformer602.Expose)(),
39619
+ ForceString(),
39610
39620
  (0, import_class_validator603.IsDefined)(),
39611
- (0, import_class_validator603.IsNumber)()
39621
+ (0, import_class_validator603.IsString)()
39612
39622
  ], ReclamosDistribuidorDTO.prototype, "COD_TECNICO", 2);
39613
39623
  __decorateClass([
39614
39624
  (0, import_class_transformer602.Expose)(),
@@ -39624,9 +39634,7 @@ __decorateClass([
39624
39634
  ], ReclamosDistribuidorDTO.prototype, "OBS_TECNICA", 2);
39625
39635
  __decorateClass([
39626
39636
  (0, import_class_transformer602.Expose)(),
39627
- ForceString(),
39628
- (0, import_class_validator603.IsDefined)(),
39629
- (0, import_class_validator603.IsString)()
39637
+ SmartDateTransformer()
39630
39638
  ], ReclamosDistribuidorDTO.prototype, "FECHA_AGENDAMIENTO", 2);
39631
39639
  __decorateClass([
39632
39640
  (0, import_class_transformer602.Expose)(),
@@ -39636,20 +39644,17 @@ __decorateClass([
39636
39644
  ], ReclamosDistribuidorDTO.prototype, "USUARIO_AGENDAMIENTO", 2);
39637
39645
  __decorateClass([
39638
39646
  (0, import_class_transformer602.Expose)(),
39639
- ForceString(),
39640
- (0, import_class_validator603.IsDefined)(),
39641
- (0, import_class_validator603.IsString)()
39647
+ SmartDateTransformer()
39642
39648
  ], ReclamosDistribuidorDTO.prototype, "FCH_INGRESO", 2);
39643
39649
  __decorateClass([
39644
39650
  (0, import_class_transformer602.Expose)(),
39645
- ForceString(),
39646
- (0, import_class_validator603.IsDefined)(),
39647
- (0, import_class_validator603.IsString)()
39651
+ SmartDateTransformer()
39648
39652
  ], ReclamosDistribuidorDTO.prototype, "FCH_FINALIZACION", 2);
39649
39653
  __decorateClass([
39650
39654
  (0, import_class_transformer602.Expose)(),
39655
+ ForceString(),
39651
39656
  (0, import_class_validator603.IsDefined)(),
39652
- (0, import_class_validator603.IsNumber)()
39657
+ (0, import_class_validator603.IsString)()
39653
39658
  ], ReclamosDistribuidorDTO.prototype, "NRO_FALLA", 2);
39654
39659
  __decorateClass([
39655
39660
  (0, import_class_transformer602.Expose)(),
@@ -39713,8 +39718,9 @@ __decorateClass([
39713
39718
  ], ReclamosDistribuidorDTO.prototype, "TIPO_COMISION", 2);
39714
39719
  __decorateClass([
39715
39720
  (0, import_class_transformer602.Expose)(),
39721
+ ForceString(),
39716
39722
  (0, import_class_validator603.IsDefined)(),
39717
- (0, import_class_validator603.IsNumber)()
39723
+ (0, import_class_validator603.IsString)()
39718
39724
  ], ReclamosDistribuidorDTO.prototype, "STB", 2);
39719
39725
  __decorateClass([
39720
39726
  (0, import_class_transformer602.Expose)(),
package/dist/index.mjs CHANGED
@@ -38761,6 +38761,16 @@ var ForceString = () => Transform82(({ value }) => {
38761
38761
  if (!value) return "";
38762
38762
  return String(value).trim();
38763
38763
  });
38764
+ var SmartDateTransformer = () => Transform82(({ value }) => {
38765
+ if (value === null || value === void 0 || value === "") {
38766
+ return /* @__PURE__ */ new Date(0);
38767
+ }
38768
+ const date = new Date(value);
38769
+ if (isNaN(date.getTime())) {
38770
+ return /* @__PURE__ */ new Date(0);
38771
+ }
38772
+ return date;
38773
+ });
38764
38774
  var MaterialDistribuidoDTO = class {
38765
38775
  DEPARTAMENTO = "";
38766
38776
  PROVINCIA = "";
@@ -39094,7 +39104,7 @@ __decorateClass([
39094
39104
  IsString490()
39095
39105
  ], OrdenesInstalacionDTO.prototype, "FINALIZA_ONLINE", 2);
39096
39106
  var ReclamosDistribuidorDTO = class {
39097
- FECHA = "";
39107
+ FECHA = /* @__PURE__ */ new Date(0);
39098
39108
  PERMISOR = 0;
39099
39109
  ABONADO = 0;
39100
39110
  NOMBRE = "";
@@ -39111,19 +39121,19 @@ var ReclamosDistribuidorDTO = class {
39111
39121
  APARTAMENTO = "";
39112
39122
  UBICACION = "";
39113
39123
  TIPO = "";
39114
- ORDEN = 0;
39124
+ ORDEN = "";
39115
39125
  STATUS = "";
39116
39126
  OBS_ORIGINAL = "";
39117
- COD_TECNICO = 0;
39127
+ COD_TECNICO = "";
39118
39128
  TECNICO = "";
39119
39129
  OBS_TECNICA = "";
39120
- FECHA_AGENDAMIENTO = "";
39130
+ FECHA_AGENDAMIENTO = /* @__PURE__ */ new Date(0);
39121
39131
  USUARIO_AGENDAMIENTO = "";
39122
- FCH_INGRESO = "";
39123
- FCH_FINALIZACION = "";
39124
- NRO_FALLA = 0;
39132
+ FCH_INGRESO = /* @__PURE__ */ new Date(0);
39133
+ FCH_FINALIZACION = /* @__PURE__ */ new Date(0);
39134
+ NRO_FALLA = "";
39125
39135
  FALLA = "";
39126
- NRO_CAUSA = 0;
39136
+ NRO_CAUSA = "";
39127
39137
  CAUSA_FALLA = "";
39128
39138
  ORIGEN_FALLA = "";
39129
39139
  STB_ANTERIOR = "";
@@ -39132,16 +39142,14 @@ var ReclamosDistribuidorDTO = class {
39132
39142
  SC_NUEVO = "";
39133
39143
  USUARIO_FIN = "";
39134
39144
  TIPO_COMISION = "";
39135
- STB = 0;
39145
+ STB = "";
39136
39146
  USUARIO_INGRESA = "";
39137
39147
  FINALIZA_ONLINE = "";
39138
39148
  INSTALADOR_APP = "";
39139
39149
  };
39140
39150
  __decorateClass([
39141
39151
  Expose599(),
39142
- ForceString(),
39143
- IsDefined195(),
39144
- IsString490()
39152
+ SmartDateTransformer()
39145
39153
  ], ReclamosDistribuidorDTO.prototype, "FECHA", 2);
39146
39154
  __decorateClass([
39147
39155
  Expose599(),
@@ -39239,8 +39247,9 @@ __decorateClass([
39239
39247
  ], ReclamosDistribuidorDTO.prototype, "TIPO", 2);
39240
39248
  __decorateClass([
39241
39249
  Expose599(),
39250
+ ForceString(),
39242
39251
  IsDefined195(),
39243
- IsNumber399()
39252
+ IsString490()
39244
39253
  ], ReclamosDistribuidorDTO.prototype, "ORDEN", 2);
39245
39254
  __decorateClass([
39246
39255
  Expose599(),
@@ -39256,8 +39265,9 @@ __decorateClass([
39256
39265
  ], ReclamosDistribuidorDTO.prototype, "OBS_ORIGINAL", 2);
39257
39266
  __decorateClass([
39258
39267
  Expose599(),
39268
+ ForceString(),
39259
39269
  IsDefined195(),
39260
- IsNumber399()
39270
+ IsString490()
39261
39271
  ], ReclamosDistribuidorDTO.prototype, "COD_TECNICO", 2);
39262
39272
  __decorateClass([
39263
39273
  Expose599(),
@@ -39273,9 +39283,7 @@ __decorateClass([
39273
39283
  ], ReclamosDistribuidorDTO.prototype, "OBS_TECNICA", 2);
39274
39284
  __decorateClass([
39275
39285
  Expose599(),
39276
- ForceString(),
39277
- IsDefined195(),
39278
- IsString490()
39286
+ SmartDateTransformer()
39279
39287
  ], ReclamosDistribuidorDTO.prototype, "FECHA_AGENDAMIENTO", 2);
39280
39288
  __decorateClass([
39281
39289
  Expose599(),
@@ -39285,20 +39293,17 @@ __decorateClass([
39285
39293
  ], ReclamosDistribuidorDTO.prototype, "USUARIO_AGENDAMIENTO", 2);
39286
39294
  __decorateClass([
39287
39295
  Expose599(),
39288
- ForceString(),
39289
- IsDefined195(),
39290
- IsString490()
39296
+ SmartDateTransformer()
39291
39297
  ], ReclamosDistribuidorDTO.prototype, "FCH_INGRESO", 2);
39292
39298
  __decorateClass([
39293
39299
  Expose599(),
39294
- ForceString(),
39295
- IsDefined195(),
39296
- IsString490()
39300
+ SmartDateTransformer()
39297
39301
  ], ReclamosDistribuidorDTO.prototype, "FCH_FINALIZACION", 2);
39298
39302
  __decorateClass([
39299
39303
  Expose599(),
39304
+ ForceString(),
39300
39305
  IsDefined195(),
39301
- IsNumber399()
39306
+ IsString490()
39302
39307
  ], ReclamosDistribuidorDTO.prototype, "NRO_FALLA", 2);
39303
39308
  __decorateClass([
39304
39309
  Expose599(),
@@ -39362,8 +39367,9 @@ __decorateClass([
39362
39367
  ], ReclamosDistribuidorDTO.prototype, "TIPO_COMISION", 2);
39363
39368
  __decorateClass([
39364
39369
  Expose599(),
39370
+ ForceString(),
39365
39371
  IsDefined195(),
39366
- IsNumber399()
39372
+ IsString490()
39367
39373
  ], ReclamosDistribuidorDTO.prototype, "STB", 2);
39368
39374
  __decorateClass([
39369
39375
  Expose599(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-entities",
3
- "version": "1.2.213",
3
+ "version": "1.2.215",
4
4
  "description": "Desarrollo de modelos de datos SIGO",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",