sigo-entities 1.2.214 → 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 +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +18 -16
- package/dist/index.mjs +18 -16
- package/package.json +1 -1
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:
|
|
7375
|
+
FECHA: Date;
|
|
7376
7376
|
PERMISOR: number;
|
|
7377
7377
|
ABONADO: number;
|
|
7378
7378
|
NOMBRE: string;
|
|
@@ -7395,10 +7395,10 @@ declare class ReclamosDistribuidorDTO {
|
|
|
7395
7395
|
COD_TECNICO: string;
|
|
7396
7396
|
TECNICO: string;
|
|
7397
7397
|
OBS_TECNICA: string;
|
|
7398
|
-
FECHA_AGENDAMIENTO:
|
|
7398
|
+
FECHA_AGENDAMIENTO: Date;
|
|
7399
7399
|
USUARIO_AGENDAMIENTO: string;
|
|
7400
|
-
FCH_INGRESO:
|
|
7401
|
-
FCH_FINALIZACION:
|
|
7400
|
+
FCH_INGRESO: Date;
|
|
7401
|
+
FCH_FINALIZACION: Date;
|
|
7402
7402
|
NRO_FALLA: string;
|
|
7403
7403
|
FALLA: string;
|
|
7404
7404
|
NRO_CAUSA: 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:
|
|
7375
|
+
FECHA: Date;
|
|
7376
7376
|
PERMISOR: number;
|
|
7377
7377
|
ABONADO: number;
|
|
7378
7378
|
NOMBRE: string;
|
|
@@ -7395,10 +7395,10 @@ declare class ReclamosDistribuidorDTO {
|
|
|
7395
7395
|
COD_TECNICO: string;
|
|
7396
7396
|
TECNICO: string;
|
|
7397
7397
|
OBS_TECNICA: string;
|
|
7398
|
-
FECHA_AGENDAMIENTO:
|
|
7398
|
+
FECHA_AGENDAMIENTO: Date;
|
|
7399
7399
|
USUARIO_AGENDAMIENTO: string;
|
|
7400
|
-
FCH_INGRESO:
|
|
7401
|
-
FCH_FINALIZACION:
|
|
7400
|
+
FCH_INGRESO: Date;
|
|
7401
|
+
FCH_FINALIZACION: Date;
|
|
7402
7402
|
NRO_FALLA: string;
|
|
7403
7403
|
FALLA: string;
|
|
7404
7404
|
NRO_CAUSA: 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 = "";
|
|
@@ -39468,10 +39478,10 @@ var ReclamosDistribuidorDTO = class {
|
|
|
39468
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 =
|
|
39483
|
+
FCH_INGRESO = /* @__PURE__ */ new Date(0);
|
|
39484
|
+
FCH_FINALIZACION = /* @__PURE__ */ new Date(0);
|
|
39475
39485
|
NRO_FALLA = "";
|
|
39476
39486
|
FALLA = "";
|
|
39477
39487
|
NRO_CAUSA = "";
|
|
@@ -39490,9 +39500,7 @@ var ReclamosDistribuidorDTO = class {
|
|
|
39490
39500
|
};
|
|
39491
39501
|
__decorateClass([
|
|
39492
39502
|
(0, import_class_transformer602.Expose)(),
|
|
39493
|
-
|
|
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)(),
|
|
@@ -39626,9 +39634,7 @@ __decorateClass([
|
|
|
39626
39634
|
], ReclamosDistribuidorDTO.prototype, "OBS_TECNICA", 2);
|
|
39627
39635
|
__decorateClass([
|
|
39628
39636
|
(0, import_class_transformer602.Expose)(),
|
|
39629
|
-
|
|
39630
|
-
(0, import_class_validator603.IsDefined)(),
|
|
39631
|
-
(0, import_class_validator603.IsString)()
|
|
39637
|
+
SmartDateTransformer()
|
|
39632
39638
|
], ReclamosDistribuidorDTO.prototype, "FECHA_AGENDAMIENTO", 2);
|
|
39633
39639
|
__decorateClass([
|
|
39634
39640
|
(0, import_class_transformer602.Expose)(),
|
|
@@ -39638,15 +39644,11 @@ __decorateClass([
|
|
|
39638
39644
|
], ReclamosDistribuidorDTO.prototype, "USUARIO_AGENDAMIENTO", 2);
|
|
39639
39645
|
__decorateClass([
|
|
39640
39646
|
(0, import_class_transformer602.Expose)(),
|
|
39641
|
-
|
|
39642
|
-
(0, import_class_validator603.IsDefined)(),
|
|
39643
|
-
(0, import_class_validator603.IsString)()
|
|
39647
|
+
SmartDateTransformer()
|
|
39644
39648
|
], ReclamosDistribuidorDTO.prototype, "FCH_INGRESO", 2);
|
|
39645
39649
|
__decorateClass([
|
|
39646
39650
|
(0, import_class_transformer602.Expose)(),
|
|
39647
|
-
|
|
39648
|
-
(0, import_class_validator603.IsDefined)(),
|
|
39649
|
-
(0, import_class_validator603.IsString)()
|
|
39651
|
+
SmartDateTransformer()
|
|
39650
39652
|
], ReclamosDistribuidorDTO.prototype, "FCH_FINALIZACION", 2);
|
|
39651
39653
|
__decorateClass([
|
|
39652
39654
|
(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 = "";
|
|
@@ -39117,10 +39127,10 @@ var ReclamosDistribuidorDTO = class {
|
|
|
39117
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 =
|
|
39132
|
+
FCH_INGRESO = /* @__PURE__ */ new Date(0);
|
|
39133
|
+
FCH_FINALIZACION = /* @__PURE__ */ new Date(0);
|
|
39124
39134
|
NRO_FALLA = "";
|
|
39125
39135
|
FALLA = "";
|
|
39126
39136
|
NRO_CAUSA = "";
|
|
@@ -39139,9 +39149,7 @@ var ReclamosDistribuidorDTO = class {
|
|
|
39139
39149
|
};
|
|
39140
39150
|
__decorateClass([
|
|
39141
39151
|
Expose599(),
|
|
39142
|
-
|
|
39143
|
-
IsDefined195(),
|
|
39144
|
-
IsString490()
|
|
39152
|
+
SmartDateTransformer()
|
|
39145
39153
|
], ReclamosDistribuidorDTO.prototype, "FECHA", 2);
|
|
39146
39154
|
__decorateClass([
|
|
39147
39155
|
Expose599(),
|
|
@@ -39275,9 +39283,7 @@ __decorateClass([
|
|
|
39275
39283
|
], ReclamosDistribuidorDTO.prototype, "OBS_TECNICA", 2);
|
|
39276
39284
|
__decorateClass([
|
|
39277
39285
|
Expose599(),
|
|
39278
|
-
|
|
39279
|
-
IsDefined195(),
|
|
39280
|
-
IsString490()
|
|
39286
|
+
SmartDateTransformer()
|
|
39281
39287
|
], ReclamosDistribuidorDTO.prototype, "FECHA_AGENDAMIENTO", 2);
|
|
39282
39288
|
__decorateClass([
|
|
39283
39289
|
Expose599(),
|
|
@@ -39287,15 +39293,11 @@ __decorateClass([
|
|
|
39287
39293
|
], ReclamosDistribuidorDTO.prototype, "USUARIO_AGENDAMIENTO", 2);
|
|
39288
39294
|
__decorateClass([
|
|
39289
39295
|
Expose599(),
|
|
39290
|
-
|
|
39291
|
-
IsDefined195(),
|
|
39292
|
-
IsString490()
|
|
39296
|
+
SmartDateTransformer()
|
|
39293
39297
|
], ReclamosDistribuidorDTO.prototype, "FCH_INGRESO", 2);
|
|
39294
39298
|
__decorateClass([
|
|
39295
39299
|
Expose599(),
|
|
39296
|
-
|
|
39297
|
-
IsDefined195(),
|
|
39298
|
-
IsString490()
|
|
39300
|
+
SmartDateTransformer()
|
|
39299
39301
|
], ReclamosDistribuidorDTO.prototype, "FCH_FINALIZACION", 2);
|
|
39300
39302
|
__decorateClass([
|
|
39301
39303
|
Expose599(),
|