sigo-entities 1.2.80 → 1.2.82
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 +9 -9
- package/dist/index.mjs +36 -37
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -6149,7 +6149,6 @@ declare class Peru9112TOAENTITY {
|
|
|
6149
6149
|
duracion_de_la_actividad: string;
|
|
6150
6150
|
habilidad_del_trabajo: string;
|
|
6151
6151
|
estado_actividad: string;
|
|
6152
|
-
estado_interno: StateInternalOrder;
|
|
6153
6152
|
fecha_de_registro_legados: Date;
|
|
6154
6153
|
usuario: string;
|
|
6155
6154
|
tipo_de_cita: string;
|
|
@@ -6638,6 +6637,7 @@ declare class TOAOrdenLiquidacionENTITY {
|
|
|
6638
6637
|
zona_de_trabajo: string;
|
|
6639
6638
|
nombre_cliente: string;
|
|
6640
6639
|
estado_actividad: string;
|
|
6640
|
+
estado_interno: StateInternalOrder;
|
|
6641
6641
|
codigo_de_cliente: number;
|
|
6642
6642
|
actividad_gpon: string;
|
|
6643
6643
|
nombre_distrito: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -6149,7 +6149,6 @@ declare class Peru9112TOAENTITY {
|
|
|
6149
6149
|
duracion_de_la_actividad: string;
|
|
6150
6150
|
habilidad_del_trabajo: string;
|
|
6151
6151
|
estado_actividad: string;
|
|
6152
|
-
estado_interno: StateInternalOrder;
|
|
6153
6152
|
fecha_de_registro_legados: Date;
|
|
6154
6153
|
usuario: string;
|
|
6155
6154
|
tipo_de_cita: string;
|
|
@@ -6638,6 +6637,7 @@ declare class TOAOrdenLiquidacionENTITY {
|
|
|
6638
6637
|
zona_de_trabajo: string;
|
|
6639
6638
|
nombre_cliente: string;
|
|
6640
6639
|
estado_actividad: string;
|
|
6640
|
+
estado_interno: StateInternalOrder;
|
|
6641
6641
|
codigo_de_cliente: number;
|
|
6642
6642
|
actividad_gpon: string;
|
|
6643
6643
|
nombre_distrito: string;
|
package/dist/index.js
CHANGED
|
@@ -29789,17 +29789,17 @@ var ClienteTdCDTO = class {
|
|
|
29789
29789
|
};
|
|
29790
29790
|
__decorateClass([
|
|
29791
29791
|
(0, import_class_validator514.IsString)({ message: "debe ser un texto" }),
|
|
29792
|
-
(0, import_class_validator514.
|
|
29792
|
+
(0, import_class_validator514.MinLength)(1, { message: "debe tener al menos 1 caracteres" }),
|
|
29793
29793
|
(0, import_class_transformer513.Expose)()
|
|
29794
29794
|
], ClienteTdCDTO.prototype, "Codigo", 2);
|
|
29795
29795
|
__decorateClass([
|
|
29796
29796
|
(0, import_class_validator514.IsString)({ message: "debe ser un texto" }),
|
|
29797
|
-
(0, import_class_validator514.
|
|
29797
|
+
(0, import_class_validator514.MinLength)(1, { message: "debe tener al menos 1 caracteres" }),
|
|
29798
29798
|
(0, import_class_transformer513.Expose)()
|
|
29799
29799
|
], ClienteTdCDTO.prototype, "Cliente", 2);
|
|
29800
29800
|
__decorateClass([
|
|
29801
29801
|
(0, import_class_validator514.IsString)({ message: "debe ser un texto" }),
|
|
29802
|
-
(0, import_class_validator514.
|
|
29802
|
+
(0, import_class_validator514.MinLength)(1, { message: "debe tener al menos 1 caracteres" }),
|
|
29803
29803
|
(0, import_class_transformer513.Expose)()
|
|
29804
29804
|
], ClienteTdCDTO.prototype, "Centro_Operativo", 2);
|
|
29805
29805
|
|
|
@@ -32597,7 +32597,6 @@ var Peru9112TOAENTITY = class {
|
|
|
32597
32597
|
duracion_de_la_actividad = "";
|
|
32598
32598
|
habilidad_del_trabajo = "";
|
|
32599
32599
|
estado_actividad = "";
|
|
32600
|
-
estado_interno = "Pendiente" /* PENDIENTE */;
|
|
32601
32600
|
fecha_de_registro_legados = /* @__PURE__ */ new Date();
|
|
32602
32601
|
usuario = "";
|
|
32603
32602
|
tipo_de_cita = "";
|
|
@@ -32706,11 +32705,6 @@ __decorateClass([
|
|
|
32706
32705
|
(0, import_class_validator543.IsDefined)({ message: "El campo Estado actividad es obligatorio." }),
|
|
32707
32706
|
(0, import_class_validator543.IsString)()
|
|
32708
32707
|
], Peru9112TOAENTITY.prototype, "estado_actividad", 2);
|
|
32709
|
-
__decorateClass([
|
|
32710
|
-
(0, import_class_transformer542.Expose)({ name: "Estado Interno" }),
|
|
32711
|
-
(0, import_class_validator543.IsDefined)({ message: "El campo estado interno es obligatorio." }),
|
|
32712
|
-
(0, import_class_validator543.IsEnum)(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
|
|
32713
|
-
], Peru9112TOAENTITY.prototype, "estado_interno", 2);
|
|
32714
32708
|
__decorateClass([
|
|
32715
32709
|
(0, import_class_transformer542.Expose)({ name: "Fecha de Registro Legados" }),
|
|
32716
32710
|
(0, import_class_validator543.IsDefined)({ message: "El campo Fecha de Registro Legados es obligatorio." }),
|
|
@@ -35226,6 +35220,7 @@ var TOAOrdenLiquidacionENTITY = class {
|
|
|
35226
35220
|
zona_de_trabajo;
|
|
35227
35221
|
nombre_cliente;
|
|
35228
35222
|
estado_actividad;
|
|
35223
|
+
estado_interno = "Pendiente" /* PENDIENTE */;
|
|
35229
35224
|
codigo_de_cliente;
|
|
35230
35225
|
actividad_gpon;
|
|
35231
35226
|
nombre_distrito;
|
|
@@ -35301,6 +35296,11 @@ __decorateClass([
|
|
|
35301
35296
|
(0, import_class_validator565.IsDefined)({ message: "El campo Estado actividad es obligatorio." }),
|
|
35302
35297
|
(0, import_class_validator565.IsString)()
|
|
35303
35298
|
], TOAOrdenLiquidacionENTITY.prototype, "estado_actividad", 2);
|
|
35299
|
+
__decorateClass([
|
|
35300
|
+
(0, import_class_transformer564.Expose)({ name: "Estado Interno" }),
|
|
35301
|
+
(0, import_class_validator565.IsDefined)({ message: "El campo estado interno es obligatorio." }),
|
|
35302
|
+
(0, import_class_validator565.IsEnum)(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
|
|
35303
|
+
], TOAOrdenLiquidacionENTITY.prototype, "estado_interno", 2);
|
|
35304
35304
|
__decorateClass([
|
|
35305
35305
|
(0, import_class_transformer564.Expose)({ name: "C\xF3digo de Cliente" }),
|
|
35306
35306
|
(0, import_class_transformer564.Type)(() => Number),
|
package/dist/index.mjs
CHANGED
|
@@ -29348,7 +29348,7 @@ import { Expose as Expose526, Type as Type343 } from "class-transformer";
|
|
|
29348
29348
|
|
|
29349
29349
|
// src/operativa/procesos/tdc/chile/dto/cliente-tdc-dto.ts
|
|
29350
29350
|
import { Expose as Expose511 } from "class-transformer";
|
|
29351
|
-
import { IsString as IsString410,
|
|
29351
|
+
import { IsString as IsString410, MinLength as MinLength45 } from "class-validator";
|
|
29352
29352
|
var ClienteTdCDTO = class {
|
|
29353
29353
|
Codigo = "";
|
|
29354
29354
|
Cliente = "";
|
|
@@ -29356,17 +29356,17 @@ var ClienteTdCDTO = class {
|
|
|
29356
29356
|
};
|
|
29357
29357
|
__decorateClass([
|
|
29358
29358
|
IsString410({ message: "debe ser un texto" }),
|
|
29359
|
-
|
|
29359
|
+
MinLength45(1, { message: "debe tener al menos 1 caracteres" }),
|
|
29360
29360
|
Expose511()
|
|
29361
29361
|
], ClienteTdCDTO.prototype, "Codigo", 2);
|
|
29362
29362
|
__decorateClass([
|
|
29363
29363
|
IsString410({ message: "debe ser un texto" }),
|
|
29364
|
-
|
|
29364
|
+
MinLength45(1, { message: "debe tener al menos 1 caracteres" }),
|
|
29365
29365
|
Expose511()
|
|
29366
29366
|
], ClienteTdCDTO.prototype, "Cliente", 2);
|
|
29367
29367
|
__decorateClass([
|
|
29368
29368
|
IsString410({ message: "debe ser un texto" }),
|
|
29369
|
-
|
|
29369
|
+
MinLength45(1, { message: "debe tener al menos 1 caracteres" }),
|
|
29370
29370
|
Expose511()
|
|
29371
29371
|
], ClienteTdCDTO.prototype, "Centro_Operativo", 2);
|
|
29372
29372
|
|
|
@@ -31394,8 +31394,7 @@ import {
|
|
|
31394
31394
|
ValidateNested as ValidateNested313,
|
|
31395
31395
|
IsArray as IsArray180,
|
|
31396
31396
|
IsObject as IsObject7,
|
|
31397
|
-
IsDate as IsDate127
|
|
31398
|
-
IsEnum as IsEnum19
|
|
31397
|
+
IsDate as IsDate127
|
|
31399
31398
|
} from "class-validator";
|
|
31400
31399
|
import "reflect-metadata";
|
|
31401
31400
|
|
|
@@ -32189,7 +32188,6 @@ var Peru9112TOAENTITY = class {
|
|
|
32189
32188
|
duracion_de_la_actividad = "";
|
|
32190
32189
|
habilidad_del_trabajo = "";
|
|
32191
32190
|
estado_actividad = "";
|
|
32192
|
-
estado_interno = "Pendiente" /* PENDIENTE */;
|
|
32193
32191
|
fecha_de_registro_legados = /* @__PURE__ */ new Date();
|
|
32194
32192
|
usuario = "";
|
|
32195
32193
|
tipo_de_cita = "";
|
|
@@ -32298,11 +32296,6 @@ __decorateClass([
|
|
|
32298
32296
|
IsDefined148({ message: "El campo Estado actividad es obligatorio." }),
|
|
32299
32297
|
IsString437()
|
|
32300
32298
|
], Peru9112TOAENTITY.prototype, "estado_actividad", 2);
|
|
32301
|
-
__decorateClass([
|
|
32302
|
-
Expose540({ name: "Estado Interno" }),
|
|
32303
|
-
IsDefined148({ message: "El campo estado interno es obligatorio." }),
|
|
32304
|
-
IsEnum19(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
|
|
32305
|
-
], Peru9112TOAENTITY.prototype, "estado_interno", 2);
|
|
32306
32299
|
__decorateClass([
|
|
32307
32300
|
Expose540({ name: "Fecha de Registro Legados" }),
|
|
32308
32301
|
IsDefined148({ message: "El campo Fecha de Registro Legados es obligatorio." }),
|
|
@@ -33473,7 +33466,7 @@ import { IsDefined as IsDefined159, IsNumber as IsNumber364 } from "class-valida
|
|
|
33473
33466
|
|
|
33474
33467
|
// src/operativa/procesos/order stock/shared/index.ts
|
|
33475
33468
|
import { Expose as Expose550, Type as Type356 } from "class-transformer";
|
|
33476
|
-
import { IsArray as IsArray182, IsDefined as IsDefined158, IsEnum as
|
|
33469
|
+
import { IsArray as IsArray182, IsDefined as IsDefined158, IsEnum as IsEnum19, IsNotEmpty as IsNotEmpty374, IsNumber as IsNumber363, IsString as IsString447, IsUUID as IsUUID2, MaxLength as MaxLength2, ValidateNested as ValidateNested317 } from "class-validator";
|
|
33477
33470
|
var OrderStockENTITY = class {
|
|
33478
33471
|
_id;
|
|
33479
33472
|
id_recurso;
|
|
@@ -33533,12 +33526,12 @@ __decorateClass([
|
|
|
33533
33526
|
__decorateClass([
|
|
33534
33527
|
IsDefined158({ message: "El campo estado consumo es obligatorio." }),
|
|
33535
33528
|
Expose550({ name: "state_consumption" }),
|
|
33536
|
-
|
|
33529
|
+
IsEnum19(StateInventory, { message: `El campo estado consumo debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
33537
33530
|
], OrderStockENTITY.prototype, "state_consumption", 2);
|
|
33538
33531
|
__decorateClass([
|
|
33539
33532
|
IsDefined158({ message: "El campo estado reposicion es obligatorio." }),
|
|
33540
33533
|
Expose550({ name: "state_replacement" }),
|
|
33541
|
-
|
|
33534
|
+
IsEnum19(StateInventory, { message: `El campo estado reposici\xF3n debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
33542
33535
|
], OrderStockENTITY.prototype, "state_replacement", 2);
|
|
33543
33536
|
|
|
33544
33537
|
// src/operativa/procesos/TOA order stock/shared/index.ts
|
|
@@ -33556,7 +33549,7 @@ import { Expose as Expose552, Type as Type357 } from "class-transformer";
|
|
|
33556
33549
|
import {
|
|
33557
33550
|
IsString as IsString448,
|
|
33558
33551
|
IsDefined as IsDefined160,
|
|
33559
|
-
MinLength as
|
|
33552
|
+
MinLength as MinLength46,
|
|
33560
33553
|
IsUUID as IsUUID3,
|
|
33561
33554
|
IsDate as IsDate131
|
|
33562
33555
|
} from "class-validator";
|
|
@@ -33573,7 +33566,7 @@ __decorateClass([
|
|
|
33573
33566
|
__decorateClass([
|
|
33574
33567
|
IsDefined160({ message: "numero_de_peticion es obligatorio" }),
|
|
33575
33568
|
IsString448({ message: "numero_de_peticion debe ser una cadena de texto v\xE1lida" }),
|
|
33576
|
-
|
|
33569
|
+
MinLength46(1, { message: "numero_de_peticion no puede estar vacio" }),
|
|
33577
33570
|
Expose552({ name: "numero_de_peticion" })
|
|
33578
33571
|
], RequestNumberTTLENTITY.prototype, "numero_de_peticion", 2);
|
|
33579
33572
|
__decorateClass([
|
|
@@ -33591,7 +33584,7 @@ import {
|
|
|
33591
33584
|
ValidateNested as ValidateNested320,
|
|
33592
33585
|
IsArray as IsArray185,
|
|
33593
33586
|
IsDate as IsDate135,
|
|
33594
|
-
IsEnum as
|
|
33587
|
+
IsEnum as IsEnum22,
|
|
33595
33588
|
IsNumber as IsNumber368
|
|
33596
33589
|
} from "class-validator";
|
|
33597
33590
|
import "reflect-metadata";
|
|
@@ -33756,7 +33749,7 @@ import {
|
|
|
33756
33749
|
ValidateNested as ValidateNested319,
|
|
33757
33750
|
IsArray as IsArray184,
|
|
33758
33751
|
IsDate as IsDate134,
|
|
33759
|
-
IsEnum as
|
|
33752
|
+
IsEnum as IsEnum21,
|
|
33760
33753
|
IsNumber as IsNumber367
|
|
33761
33754
|
} from "class-validator";
|
|
33762
33755
|
import "reflect-metadata";
|
|
@@ -34020,7 +34013,7 @@ __decorateClass([
|
|
|
34020
34013
|
__decorateClass([
|
|
34021
34014
|
Expose555(),
|
|
34022
34015
|
IsDefined163({ message: "El campo estado es obligatorio." }),
|
|
34023
|
-
|
|
34016
|
+
IsEnum21(StateWin, { message: "El campo Estado no es v\xE1lido" })
|
|
34024
34017
|
], Peru9112WinENTITYDB.prototype, "estado", 2);
|
|
34025
34018
|
__decorateClass([
|
|
34026
34019
|
Expose555(),
|
|
@@ -34203,7 +34196,7 @@ __decorateClass([
|
|
|
34203
34196
|
__decorateClass([
|
|
34204
34197
|
Expose556({ name: "Estado" }),
|
|
34205
34198
|
IsDefined164({ message: "El campo Estado actividad es obligatorio." }),
|
|
34206
|
-
|
|
34199
|
+
IsEnum22(StateWin, { message: "El campo Estado no es v\xE1lido" })
|
|
34207
34200
|
], Peru9112WinENTITY.prototype, "estado", 2);
|
|
34208
34201
|
__decorateClass([
|
|
34209
34202
|
Expose556({ name: "Fecha Estado" }),
|
|
@@ -34283,7 +34276,7 @@ __decorateClass([
|
|
|
34283
34276
|
|
|
34284
34277
|
// src/operativa/procesos/WIN order stock/shared/index.ts
|
|
34285
34278
|
import { Expose as Expose557, Type as Type362 } from "class-transformer";
|
|
34286
|
-
import { IsArray as IsArray186, IsDefined as IsDefined165, IsEnum as
|
|
34279
|
+
import { IsArray as IsArray186, IsDefined as IsDefined165, IsEnum as IsEnum23, IsNotEmpty as IsNotEmpty375, IsNumber as IsNumber369, IsString as IsString453, IsUUID as IsUUID4, MaxLength as MaxLength3, ValidateNested as ValidateNested321 } from "class-validator";
|
|
34287
34280
|
var WINOrderStockENTITY = class {
|
|
34288
34281
|
_id;
|
|
34289
34282
|
id_recurso;
|
|
@@ -34337,12 +34330,12 @@ __decorateClass([
|
|
|
34337
34330
|
__decorateClass([
|
|
34338
34331
|
IsDefined165({ message: "El campo estado consumo es obligatorio." }),
|
|
34339
34332
|
Expose557({ name: "state_consumption" }),
|
|
34340
|
-
|
|
34333
|
+
IsEnum23(StateInventory, { message: `El campo estado consumo debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
34341
34334
|
], WINOrderStockENTITY.prototype, "state_consumption", 2);
|
|
34342
34335
|
__decorateClass([
|
|
34343
34336
|
IsDefined165({ message: "El campo estado reposicion es obligatorio." }),
|
|
34344
34337
|
Expose557({ name: "state_replacement" }),
|
|
34345
|
-
|
|
34338
|
+
IsEnum23(StateInventory, { message: `El campo estado reposici\xF3n debe ser uno de: ${Object.values(StateInventory).join(", ")}.` })
|
|
34346
34339
|
], WINOrderStockENTITY.prototype, "state_replacement", 2);
|
|
34347
34340
|
|
|
34348
34341
|
// src/operativa/procesos/fibramas_order/shared/index.ts
|
|
@@ -34354,7 +34347,7 @@ import {
|
|
|
34354
34347
|
ValidateNested as ValidateNested324,
|
|
34355
34348
|
IsArray as IsArray189,
|
|
34356
34349
|
IsDate as IsDate138,
|
|
34357
|
-
IsEnum as
|
|
34350
|
+
IsEnum as IsEnum26
|
|
34358
34351
|
} from "class-validator";
|
|
34359
34352
|
import "reflect-metadata";
|
|
34360
34353
|
|
|
@@ -34430,7 +34423,7 @@ import {
|
|
|
34430
34423
|
ValidateNested as ValidateNested323,
|
|
34431
34424
|
IsArray as IsArray188,
|
|
34432
34425
|
IsDate as IsDate137,
|
|
34433
|
-
IsEnum as
|
|
34426
|
+
IsEnum as IsEnum25
|
|
34434
34427
|
} from "class-validator";
|
|
34435
34428
|
import "reflect-metadata";
|
|
34436
34429
|
|
|
@@ -34568,7 +34561,7 @@ __decorateClass([
|
|
|
34568
34561
|
__decorateClass([
|
|
34569
34562
|
Expose560(),
|
|
34570
34563
|
IsDefined168({ message: "El campo estado_del_servicio es obligatorio." }),
|
|
34571
|
-
|
|
34564
|
+
IsEnum25(StateServiceFibramas, { message: "El campo ESTADO DEL SERVICIO no es v\xE1lido" })
|
|
34572
34565
|
], Peru9112FibramasENTITYDB.prototype, "estado_del_servicio", 2);
|
|
34573
34566
|
__decorateClass([
|
|
34574
34567
|
Expose560(),
|
|
@@ -34648,7 +34641,7 @@ __decorateClass([
|
|
|
34648
34641
|
__decorateClass([
|
|
34649
34642
|
Expose560(),
|
|
34650
34643
|
IsDefined168({ message: "El campo estado es obligatorio." }),
|
|
34651
|
-
|
|
34644
|
+
IsEnum25(StateFibramas, { message: "El campo ESTADO OS no es v\xE1lido" })
|
|
34652
34645
|
], Peru9112FibramasENTITYDB.prototype, "estado", 2);
|
|
34653
34646
|
__decorateClass([
|
|
34654
34647
|
Expose560(),
|
|
@@ -34748,7 +34741,7 @@ __decorateClass([
|
|
|
34748
34741
|
__decorateClass([
|
|
34749
34742
|
Expose561({ name: "ESTADO DEL SERVICIO" }),
|
|
34750
34743
|
IsDefined169({ message: "El campo ESTADO DEL SERVICIO es obligatorio." }),
|
|
34751
|
-
|
|
34744
|
+
IsEnum26(StateServiceFibramas, { message: "El campo ESTADO DEL SERVICIO no es v\xE1lido" })
|
|
34752
34745
|
], Peru9112FibramasENTITY.prototype, "estado_del_servicio", 2);
|
|
34753
34746
|
__decorateClass([
|
|
34754
34747
|
Expose561({ name: "TARIFA DE SERVICIO" }),
|
|
@@ -34828,7 +34821,7 @@ __decorateClass([
|
|
|
34828
34821
|
__decorateClass([
|
|
34829
34822
|
Expose561({ name: "ESTADO OS" }),
|
|
34830
34823
|
IsDefined169({ message: "El campo ESTADO OS es obligatorio." }),
|
|
34831
|
-
|
|
34824
|
+
IsEnum26(StateFibramas, { message: "El campo ESTADO OS no es v\xE1lido" })
|
|
34832
34825
|
], Peru9112FibramasENTITY.prototype, "estado", 2);
|
|
34833
34826
|
__decorateClass([
|
|
34834
34827
|
Expose561({ name: "Inventory" }),
|
|
@@ -34861,7 +34854,7 @@ __decorateClass([
|
|
|
34861
34854
|
|
|
34862
34855
|
// src/operativa/procesos/TOA orden liquidacion/shared/index.ts
|
|
34863
34856
|
import { Expose as Expose562, Type as Type367 } from "class-transformer";
|
|
34864
|
-
import { IsArray as IsArray190, IsDefined as IsDefined170, IsNumber as IsNumber374, IsObject as IsObject12, IsString as IsString458, IsUUID as IsUUID5, ValidateNested as ValidateNested325 } from "class-validator";
|
|
34857
|
+
import { IsArray as IsArray190, IsDefined as IsDefined170, IsEnum as IsEnum27, IsNumber as IsNumber374, IsObject as IsObject12, IsString as IsString458, IsUUID as IsUUID5, ValidateNested as ValidateNested325 } from "class-validator";
|
|
34865
34858
|
var TOAOrdenLiquidacionENTITY = class {
|
|
34866
34859
|
_id;
|
|
34867
34860
|
tecnico;
|
|
@@ -34874,6 +34867,7 @@ var TOAOrdenLiquidacionENTITY = class {
|
|
|
34874
34867
|
zona_de_trabajo;
|
|
34875
34868
|
nombre_cliente;
|
|
34876
34869
|
estado_actividad;
|
|
34870
|
+
estado_interno = "Pendiente" /* PENDIENTE */;
|
|
34877
34871
|
codigo_de_cliente;
|
|
34878
34872
|
actividad_gpon;
|
|
34879
34873
|
nombre_distrito;
|
|
@@ -34949,6 +34943,11 @@ __decorateClass([
|
|
|
34949
34943
|
IsDefined170({ message: "El campo Estado actividad es obligatorio." }),
|
|
34950
34944
|
IsString458()
|
|
34951
34945
|
], TOAOrdenLiquidacionENTITY.prototype, "estado_actividad", 2);
|
|
34946
|
+
__decorateClass([
|
|
34947
|
+
Expose562({ name: "Estado Interno" }),
|
|
34948
|
+
IsDefined170({ message: "El campo estado interno es obligatorio." }),
|
|
34949
|
+
IsEnum27(StateInternalOrder, { message: `El campo estado interno debe ser uno de: ${Object.values(StateInternalOrder).join(", ")}.` })
|
|
34950
|
+
], TOAOrdenLiquidacionENTITY.prototype, "estado_interno", 2);
|
|
34952
34951
|
__decorateClass([
|
|
34953
34952
|
Expose562({ name: "C\xF3digo de Cliente" }),
|
|
34954
34953
|
Type367(() => Number),
|
|
@@ -35008,7 +35007,7 @@ __decorateClass([
|
|
|
35008
35007
|
|
|
35009
35008
|
// src/v2/dtos/CodigoNombre.ts
|
|
35010
35009
|
import { Expose as Expose563 } from "class-transformer";
|
|
35011
|
-
import { IsDefined as IsDefined171, IsString as IsString459, MinLength as
|
|
35010
|
+
import { IsDefined as IsDefined171, IsString as IsString459, MinLength as MinLength47 } from "class-validator";
|
|
35012
35011
|
var CodigoNombreDto = class {
|
|
35013
35012
|
codigo;
|
|
35014
35013
|
nombre;
|
|
@@ -35026,15 +35025,15 @@ __decorateClass([
|
|
|
35026
35025
|
var CodigoNombreMinLengthDto = class extends CodigoNombreDto {
|
|
35027
35026
|
};
|
|
35028
35027
|
__decorateClass([
|
|
35029
|
-
|
|
35028
|
+
MinLength47(1, { message: 'La propiedad "codigo" debe tener al menos 1 car\xE1cter.' })
|
|
35030
35029
|
], CodigoNombreMinLengthDto.prototype, "codigo", 2);
|
|
35031
35030
|
__decorateClass([
|
|
35032
|
-
|
|
35031
|
+
MinLength47(1, { message: 'La propiedad "nombre" debe tener al menos 1 car\xE1cter.' })
|
|
35033
35032
|
], CodigoNombreMinLengthDto.prototype, "nombre", 2);
|
|
35034
35033
|
|
|
35035
35034
|
// src/v2/entities/Delegacion.ts
|
|
35036
35035
|
import { Expose as Expose565, Type as Type368 } from "class-transformer";
|
|
35037
|
-
import { IsDefined as IsDefined173, IsObject as IsObject13, IsString as IsString460, MinLength as
|
|
35036
|
+
import { IsDefined as IsDefined173, IsObject as IsObject13, IsString as IsString460, MinLength as MinLength48, ValidateNested as ValidateNested326 } from "class-validator";
|
|
35038
35037
|
|
|
35039
35038
|
// src/v2/entities/Base.ts
|
|
35040
35039
|
import { Expose as Expose564 } from "class-transformer";
|
|
@@ -35070,13 +35069,13 @@ __decorateClass([
|
|
|
35070
35069
|
__decorateClass([
|
|
35071
35070
|
IsDefined173({ message: 'La propiedad "codigo" es obligatoria.' }),
|
|
35072
35071
|
IsString460({ message: 'La propiedad "codigo" debe ser una cadena de texto.' }),
|
|
35073
|
-
|
|
35072
|
+
MinLength48(1, { message: 'La propiedad "codigo" debe tener al menos 1 car\xE1cter.' }),
|
|
35074
35073
|
Expose565()
|
|
35075
35074
|
], DelegacionEntity.prototype, "codigo", 2);
|
|
35076
35075
|
__decorateClass([
|
|
35077
35076
|
IsDefined173({ message: 'La propiedad "nombre" es obligatoria.' }),
|
|
35078
35077
|
IsString460({ message: 'La propiedad "nombre" debe ser una cadena de texto.' }),
|
|
35079
|
-
|
|
35078
|
+
MinLength48(1, { message: 'La propiedad "nombre" debe tener al menos 1 car\xE1cter.' }),
|
|
35080
35079
|
Expose565()
|
|
35081
35080
|
], DelegacionEntity.prototype, "nombre", 2);
|
|
35082
35081
|
export {
|