sigesp 0.9.11-20221211 → 0.9.12-20221217
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/bundles/sigesp.umd.js +87 -39
- package/bundles/sigesp.umd.js.map +1 -1
- package/bundles/sigesp.umd.min.js +2 -2
- package/bundles/sigesp.umd.min.js.map +1 -1
- package/esm2015/lib/core/interfaces/Banco.js +1 -1
- package/esm2015/lib/core/interfaces/CentroCosto.js +1 -1
- package/esm2015/lib/core/interfaces/ComprobantePresupuestario.js +1 -1
- package/esm2015/lib/core/interfaces/Servicios.js +1 -1
- package/esm2015/lib/core/interfaces/Tributos.js +1 -1
- package/esm2015/lib/core/models/CFG/locations.model.js +12 -9
- package/esm2015/lib/core/models/SCB/bank.model.js +25 -19
- package/esm2015/lib/core/models/SCG/centroCosto.model.js +6 -1
- package/esm2015/lib/core/models/SOC/charge.model.js +4 -1
- package/esm2015/lib/core/models/SOC/clause.model.js +6 -3
- package/esm2015/lib/core/models/SOC/clauseModality.model.js +6 -3
- package/esm2015/lib/core/models/SOC/configuracionSOC.model.js +4 -1
- package/esm2015/lib/core/models/SOC/service.model.js +7 -4
- package/esm2015/lib/core/models/SOC/serviceCharge.model.js +7 -4
- package/esm2015/lib/core/models/SOC/serviceType.model.js +8 -2
- package/esm2015/lib/core/models/SPG/comprobantePresupuestario.model.js +5 -1
- package/esm2015/lib/core/models/STB/deduction.model.js +7 -1
- package/esm2015/lib/sigesp.service.js +3 -3
- package/fesm2015/sigesp.js +87 -39
- package/fesm2015/sigesp.js.map +1 -1
- package/lib/core/interfaces/Banco.d.ts +20 -0
- package/lib/core/interfaces/CentroCosto.d.ts +2 -0
- package/lib/core/interfaces/ComprobantePresupuestario.d.ts +2 -0
- package/lib/core/interfaces/Servicios.d.ts +7 -0
- package/lib/core/interfaces/Tributos.d.ts +3 -0
- package/lib/core/models/CFG/locations.model.d.ts +6 -6
- package/lib/core/models/SCB/bank.model.d.ts +3 -1
- package/lib/core/models/SCG/centroCosto.model.d.ts +2 -0
- package/lib/core/models/SOC/charge.model.d.ts +1 -0
- package/lib/core/models/SOC/clause.model.d.ts +1 -0
- package/lib/core/models/SOC/clauseModality.model.d.ts +1 -0
- package/lib/core/models/SOC/configuracionSOC.model.d.ts +1 -0
- package/lib/core/models/SOC/service.model.d.ts +1 -0
- package/lib/core/models/SOC/serviceCharge.model.d.ts +1 -0
- package/lib/core/models/SOC/serviceType.model.d.ts +2 -0
- package/lib/core/models/SPG/comprobantePresupuestario.model.d.ts +2 -0
- package/lib/core/models/STB/deduction.model.d.ts +2 -0
- package/lib/sigesp.service.d.ts +2 -2
- package/package.json +1 -1
- package/sigesp.metadata.json +1 -1
|
@@ -5,6 +5,7 @@ export interface ISigecofBank {
|
|
|
5
5
|
}
|
|
6
6
|
export interface IBank {
|
|
7
7
|
id_empresa: string;
|
|
8
|
+
id_enterprise: string;
|
|
8
9
|
id_banco: string;
|
|
9
10
|
codban: string;
|
|
10
11
|
nomban: string;
|
|
@@ -27,6 +28,7 @@ export interface IBankAccountType {
|
|
|
27
28
|
export interface ICuentaBanco {
|
|
28
29
|
id_ctabanco: string;
|
|
29
30
|
id_empresa: string;
|
|
31
|
+
id_enterprise: string;
|
|
30
32
|
id_banco: string;
|
|
31
33
|
id_tipocta: string;
|
|
32
34
|
ctabanco: string;
|
|
@@ -45,6 +47,7 @@ export interface ICuentaBanco {
|
|
|
45
47
|
}
|
|
46
48
|
export interface ITipoFondoAvance {
|
|
47
49
|
id_empresa: number;
|
|
50
|
+
id_enterprise: string;
|
|
48
51
|
id_tipofondo: number;
|
|
49
52
|
codtipfon: string;
|
|
50
53
|
dentipfon: string;
|
|
@@ -59,6 +62,7 @@ export interface IAgencia {
|
|
|
59
62
|
}
|
|
60
63
|
export interface IConfigBanco {
|
|
61
64
|
id_empresa: number;
|
|
65
|
+
id_enterprise: string;
|
|
62
66
|
id_scb: number;
|
|
63
67
|
gencheque: number;
|
|
64
68
|
conintmovban: number;
|
|
@@ -77,6 +81,7 @@ export interface IConfigBanco {
|
|
|
77
81
|
}
|
|
78
82
|
export interface IChequera {
|
|
79
83
|
id_empresa: string;
|
|
84
|
+
id_enterprise: string;
|
|
80
85
|
id_cheque: string;
|
|
81
86
|
id_tipocta: string;
|
|
82
87
|
id_banco: string;
|
|
@@ -94,6 +99,7 @@ export interface IChequera {
|
|
|
94
99
|
}
|
|
95
100
|
export interface IConceptoMovimiento {
|
|
96
101
|
id_empresa: number;
|
|
102
|
+
id_enterprise: string;
|
|
97
103
|
id_conmov: number;
|
|
98
104
|
codconmov: string;
|
|
99
105
|
denconmov: string;
|
|
@@ -113,6 +119,7 @@ export interface ICartaOrden {
|
|
|
113
119
|
}
|
|
114
120
|
export interface IVoucherMedidas {
|
|
115
121
|
id_empresa: number;
|
|
122
|
+
id_enterprise: string;
|
|
116
123
|
id_medche: number;
|
|
117
124
|
id_banco: number;
|
|
118
125
|
codmedche: string;
|
|
@@ -140,6 +147,7 @@ export interface IVoucherMedidas {
|
|
|
140
147
|
}
|
|
141
148
|
export interface IMovimientoBanco {
|
|
142
149
|
id_empresa: string;
|
|
150
|
+
id_enterprise: string;
|
|
143
151
|
id_movbco: string;
|
|
144
152
|
id_banco: string;
|
|
145
153
|
id_ctabanco: string;
|
|
@@ -224,6 +232,7 @@ export interface ISelect2 {
|
|
|
224
232
|
}
|
|
225
233
|
export interface IDetallesContable {
|
|
226
234
|
id_empresa: string;
|
|
235
|
+
id_enterprise: string;
|
|
227
236
|
id_movbco: string;
|
|
228
237
|
id_banco: string;
|
|
229
238
|
id_ctabanco: string;
|
|
@@ -247,6 +256,7 @@ export interface IDetallesContable {
|
|
|
247
256
|
}
|
|
248
257
|
export interface IDetalle {
|
|
249
258
|
id_empresa: string;
|
|
259
|
+
id_enterprise: string;
|
|
250
260
|
id_movbco: string;
|
|
251
261
|
id_banco: string;
|
|
252
262
|
id_ctabanco: string;
|
|
@@ -280,6 +290,7 @@ export interface IDetalle {
|
|
|
280
290
|
}
|
|
281
291
|
export interface IDetalleSpgSpi {
|
|
282
292
|
id_empresa: string;
|
|
293
|
+
id_enterprise: string;
|
|
283
294
|
id_movbco: string;
|
|
284
295
|
id_banco: string;
|
|
285
296
|
id_ctabanco: string;
|
|
@@ -315,6 +326,7 @@ export interface IDetalleSpgSpi {
|
|
|
315
326
|
}
|
|
316
327
|
export interface IDetalleMovimiento {
|
|
317
328
|
id_empresa: string;
|
|
329
|
+
id_enterprise: string;
|
|
318
330
|
id_movbco: string;
|
|
319
331
|
id_banco: string;
|
|
320
332
|
id_ctabanco: string;
|
|
@@ -340,6 +352,7 @@ export interface ICuentasSpSc {
|
|
|
340
352
|
}
|
|
341
353
|
export interface IDivisas {
|
|
342
354
|
id_empresa: string;
|
|
355
|
+
id_enterprise: string;
|
|
343
356
|
id_movbco: string;
|
|
344
357
|
id_banco: string;
|
|
345
358
|
id_ctabanco: string;
|
|
@@ -410,6 +423,7 @@ export interface ITrasferencia {
|
|
|
410
423
|
id_ctabanco_des: string;
|
|
411
424
|
id_ctabanco_ori: string;
|
|
412
425
|
id_empresa: string;
|
|
426
|
+
id_enterprise: string;
|
|
413
427
|
id_movbco_des: string;
|
|
414
428
|
id_movbco_ori: string;
|
|
415
429
|
id_proveedor: string;
|
|
@@ -439,6 +453,7 @@ export interface IMovimiento {
|
|
|
439
453
|
feccontab: string;
|
|
440
454
|
fecmovbco: string;
|
|
441
455
|
id_empresa: string;
|
|
456
|
+
id_enterprise: string;
|
|
442
457
|
id_movbco: string;
|
|
443
458
|
id_banco: string;
|
|
444
459
|
id_ctabanco: string;
|
|
@@ -452,6 +467,7 @@ export interface IMovimiento {
|
|
|
452
467
|
}
|
|
453
468
|
export interface IIntegracion {
|
|
454
469
|
id_empresa: string;
|
|
470
|
+
id_enterprise: string;
|
|
455
471
|
id_movbaco: string;
|
|
456
472
|
id_proveedor: string;
|
|
457
473
|
nompro: string;
|
|
@@ -474,6 +490,7 @@ export interface IIntegracion {
|
|
|
474
490
|
}
|
|
475
491
|
export interface IConciliacion {
|
|
476
492
|
id_empresa: string;
|
|
493
|
+
id_enterprise: string;
|
|
477
494
|
id_conciliacion: string;
|
|
478
495
|
id_banco: string;
|
|
479
496
|
id_ctabanco: string;
|
|
@@ -492,6 +509,7 @@ export interface IConciliacion {
|
|
|
492
509
|
movimientos: IMovimientoBancoConciliar[];
|
|
493
510
|
}
|
|
494
511
|
export interface IDetalleConciliacion {
|
|
512
|
+
id_enterprise: string;
|
|
495
513
|
camrel: string;
|
|
496
514
|
codcam: string;
|
|
497
515
|
colcam: string;
|
|
@@ -504,6 +522,7 @@ export interface IDetalleConciliacion {
|
|
|
504
522
|
loncam: string;
|
|
505
523
|
}
|
|
506
524
|
export interface IMovimientoBancoConciliar {
|
|
525
|
+
id_enterprise: string;
|
|
507
526
|
codope: string;
|
|
508
527
|
codusuconcil: string;
|
|
509
528
|
conmovbco: string;
|
|
@@ -555,6 +574,7 @@ export interface IControlDocumento {
|
|
|
555
574
|
}
|
|
556
575
|
export interface ICatalogoIntegracion {
|
|
557
576
|
id_empresa: string;
|
|
577
|
+
id_enterprise: string;
|
|
558
578
|
id_movbco: string;
|
|
559
579
|
numdoc: string;
|
|
560
580
|
codope: string;
|
|
@@ -12,6 +12,7 @@ export interface IComprobantePresupuestarioEgresos {
|
|
|
12
12
|
moncmp: string;
|
|
13
13
|
id_dt_spgcmp: string;
|
|
14
14
|
id_empresa?: string;
|
|
15
|
+
id_enterprise: string;
|
|
15
16
|
id_comprobante?: string;
|
|
16
17
|
numconcom?: string;
|
|
17
18
|
orden?: string;
|
|
@@ -21,6 +22,7 @@ export interface IComprobantePresupuestarioEgresos {
|
|
|
21
22
|
}
|
|
22
23
|
export interface IComprobantePresupuestarioIngresos {
|
|
23
24
|
id_empresa: string;
|
|
25
|
+
id_enterprise: string;
|
|
24
26
|
spi_cuenta: string;
|
|
25
27
|
id_comprobante: string;
|
|
26
28
|
id_ep1: string;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
export interface IServiceType {
|
|
2
|
+
id_empresa: string;
|
|
3
|
+
id_enterprise: string;
|
|
2
4
|
id_tiposervicio: string;
|
|
3
5
|
dentipser: string;
|
|
4
6
|
obstipser: string;
|
|
5
7
|
}
|
|
6
8
|
export interface IService {
|
|
7
9
|
id_empresa: string;
|
|
10
|
+
id_enterprise: string;
|
|
8
11
|
id_servicio: string;
|
|
9
12
|
id_tiposervicio: string;
|
|
10
13
|
codser: string;
|
|
@@ -15,12 +18,14 @@ export interface IService {
|
|
|
15
18
|
}
|
|
16
19
|
export interface IClause {
|
|
17
20
|
id_empresa: string;
|
|
21
|
+
id_enterprise: string;
|
|
18
22
|
codcla: string;
|
|
19
23
|
dencla: string;
|
|
20
24
|
id_clausula: string;
|
|
21
25
|
}
|
|
22
26
|
export interface IConfigSOC {
|
|
23
27
|
id_empresa: string;
|
|
28
|
+
id_enterprise: string;
|
|
24
29
|
id_soc: string;
|
|
25
30
|
soc_bienes: string;
|
|
26
31
|
soc_servicios: string;
|
|
@@ -36,6 +41,7 @@ export interface IConfigSOC {
|
|
|
36
41
|
}
|
|
37
42
|
export interface IClauseModality {
|
|
38
43
|
id_empresa: string;
|
|
44
|
+
id_enterprise: string;
|
|
39
45
|
id_modcla: string;
|
|
40
46
|
codmodcla: string;
|
|
41
47
|
denmodcla: string;
|
|
@@ -43,6 +49,7 @@ export interface IClauseModality {
|
|
|
43
49
|
}
|
|
44
50
|
export interface IServiceCharges {
|
|
45
51
|
id_empresa: string;
|
|
52
|
+
id_enterprise: string;
|
|
46
53
|
id_cargo: string;
|
|
47
54
|
id_servicio: string;
|
|
48
55
|
codcar: string;
|
|
@@ -6,6 +6,7 @@ export interface IDeductionType {
|
|
|
6
6
|
}
|
|
7
7
|
export interface ICargo {
|
|
8
8
|
id_empresa: string;
|
|
9
|
+
id_enterprise: string;
|
|
9
10
|
id_cargo: string;
|
|
10
11
|
codcar: string;
|
|
11
12
|
dencar: string;
|
|
@@ -23,6 +24,7 @@ export interface ICargo {
|
|
|
23
24
|
}
|
|
24
25
|
export interface IDeduction {
|
|
25
26
|
id_empresa: string;
|
|
27
|
+
id_enterprise: string;
|
|
26
28
|
id_deduccion: string;
|
|
27
29
|
codded: string;
|
|
28
30
|
id_tipded: string;
|
|
@@ -36,6 +38,7 @@ export interface IDeduction {
|
|
|
36
38
|
}
|
|
37
39
|
export interface IConceptoRetencion {
|
|
38
40
|
id_empresa: string;
|
|
41
|
+
id_enterprise: string;
|
|
39
42
|
id_conret: string;
|
|
40
43
|
codconret: string;
|
|
41
44
|
desact: string;
|
|
@@ -5,7 +5,7 @@ export declare class MCountry extends MBasicModel {
|
|
|
5
5
|
name: string;
|
|
6
6
|
monofi: number;
|
|
7
7
|
monsec: number;
|
|
8
|
-
constructor(country
|
|
8
|
+
constructor(country?: ICountry);
|
|
9
9
|
dataInterface(): ICountry;
|
|
10
10
|
}
|
|
11
11
|
export declare class MState extends MBasicModel {
|
|
@@ -13,7 +13,7 @@ export declare class MState extends MBasicModel {
|
|
|
13
13
|
countryCode: string;
|
|
14
14
|
name: string;
|
|
15
15
|
capital: string;
|
|
16
|
-
constructor(state
|
|
16
|
+
constructor(state?: IState);
|
|
17
17
|
dataInterface(): IState;
|
|
18
18
|
}
|
|
19
19
|
export declare class MMunicipality extends MBasicModel {
|
|
@@ -22,7 +22,7 @@ export declare class MMunicipality extends MBasicModel {
|
|
|
22
22
|
stateCode: string;
|
|
23
23
|
name: string;
|
|
24
24
|
capital: string;
|
|
25
|
-
constructor(mun
|
|
25
|
+
constructor(mun?: IMunicipality);
|
|
26
26
|
dataInterface(): IMunicipality;
|
|
27
27
|
}
|
|
28
28
|
export declare class MParish extends MBasicModel {
|
|
@@ -31,7 +31,7 @@ export declare class MParish extends MBasicModel {
|
|
|
31
31
|
stateCode: string;
|
|
32
32
|
municipalityCode: string;
|
|
33
33
|
name: string;
|
|
34
|
-
constructor(parish
|
|
34
|
+
constructor(parish?: IParish);
|
|
35
35
|
dataInterface(): IParish;
|
|
36
36
|
}
|
|
37
37
|
export declare class MCity extends MBasicModel {
|
|
@@ -39,7 +39,7 @@ export declare class MCity extends MBasicModel {
|
|
|
39
39
|
countryCode: string;
|
|
40
40
|
stateCode: string;
|
|
41
41
|
name: string;
|
|
42
|
-
constructor(city
|
|
42
|
+
constructor(city?: ICity);
|
|
43
43
|
dataInterface(): ICity;
|
|
44
44
|
}
|
|
45
45
|
export declare class MCommunity extends MBasicModel {
|
|
@@ -49,6 +49,6 @@ export declare class MCommunity extends MBasicModel {
|
|
|
49
49
|
municipalityCode: string;
|
|
50
50
|
parishCode: string;
|
|
51
51
|
name: string;
|
|
52
|
-
constructor(
|
|
52
|
+
constructor(e?: ICommunity);
|
|
53
53
|
dataInterface(): ICommunity;
|
|
54
54
|
}
|
|
@@ -9,6 +9,7 @@ export declare class MSigecofBank extends MBasicModel {
|
|
|
9
9
|
export declare class MBank extends MBasicModel {
|
|
10
10
|
idEmpresa: number;
|
|
11
11
|
id: number;
|
|
12
|
+
idEnterprise: number;
|
|
12
13
|
name: string;
|
|
13
14
|
address: string;
|
|
14
15
|
manager: string;
|
|
@@ -42,6 +43,7 @@ export declare class MAgenciaBanco extends MBasicModel {
|
|
|
42
43
|
}
|
|
43
44
|
export declare class MCuentaBanco extends MBasicModel {
|
|
44
45
|
idCuentaBanco: number;
|
|
46
|
+
idEnterprise: number;
|
|
45
47
|
idEmpresa: number;
|
|
46
48
|
idBanco: number;
|
|
47
49
|
idTipoCuenta: number;
|
|
@@ -54,7 +56,7 @@ export declare class MCuentaBanco extends MBasicModel {
|
|
|
54
56
|
estatus: number;
|
|
55
57
|
fechaUltimaConciliacion: string;
|
|
56
58
|
denomCuentaContable: string;
|
|
57
|
-
nombrebanco:
|
|
59
|
+
nombrebanco: string;
|
|
58
60
|
nombretipocta: string;
|
|
59
61
|
constructor(cb?: ICuentaBanco);
|
|
60
62
|
dataInterface(): ICuentaBanco;
|
|
@@ -2,6 +2,7 @@ import { MBasicModel } from '../basic-model.model';
|
|
|
2
2
|
import { IConfigSOC } from '../../interfaces/Servicios';
|
|
3
3
|
export declare class MConfigSOC extends MBasicModel {
|
|
4
4
|
id: number;
|
|
5
|
+
idEnterprise: number;
|
|
5
6
|
companyId: number;
|
|
6
7
|
serviceOrder: number;
|
|
7
8
|
purchaseOrder: number;
|
|
@@ -2,6 +2,7 @@ import { IServiceCharges } from '../../interfaces/Servicios';
|
|
|
2
2
|
import { MBasicModel } from '../basic-model.model';
|
|
3
3
|
export declare class MServiceCharge extends MBasicModel {
|
|
4
4
|
companyId: number;
|
|
5
|
+
idEnterprise: number;
|
|
5
6
|
id: number;
|
|
6
7
|
serviceId: number;
|
|
7
8
|
denomination: string;
|
|
@@ -2,6 +2,8 @@ import { MBasicModel } from '../basic-model.model';
|
|
|
2
2
|
import { IServiceType } from '../../interfaces/Servicios';
|
|
3
3
|
export declare class MServiceType extends MBasicModel {
|
|
4
4
|
id: number;
|
|
5
|
+
idEmpresa: number;
|
|
6
|
+
idEnterprise: number;
|
|
5
7
|
denomination: string;
|
|
6
8
|
observation: string;
|
|
7
9
|
constructor(type?: IServiceType);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IComprobantePresupuestarioEgresos, IComprobantePresupuestarioIngresos } from '../../interfaces/ComprobantePresupuestario';
|
|
2
2
|
export declare class MComprobantePresupuestarioEgresos {
|
|
3
3
|
idEmpresa: number;
|
|
4
|
+
idEnterprise: number;
|
|
4
5
|
idComprobante: number;
|
|
5
6
|
idEp1: number;
|
|
6
7
|
idEp2: number;
|
|
@@ -23,6 +24,7 @@ export declare class MComprobantePresupuestarioEgresos {
|
|
|
23
24
|
}
|
|
24
25
|
export declare class MComprobantePresupuestarioIngresos {
|
|
25
26
|
idEmpresa: number;
|
|
27
|
+
idEnterprise: number;
|
|
26
28
|
idComprobante: number;
|
|
27
29
|
idEp1: number;
|
|
28
30
|
idEp2: number;
|
|
@@ -2,6 +2,7 @@ import { MBasicModel } from '../basic-model.model';
|
|
|
2
2
|
import { IConceptoRetencion, IDeduction } from '../../interfaces/Tributos';
|
|
3
3
|
export declare class MDeduction extends MBasicModel {
|
|
4
4
|
companyId: number;
|
|
5
|
+
idEnterprise: number;
|
|
5
6
|
id: number;
|
|
6
7
|
deductionType: number;
|
|
7
8
|
codeDeduction: string;
|
|
@@ -17,6 +18,7 @@ export declare class MDeduction extends MBasicModel {
|
|
|
17
18
|
}
|
|
18
19
|
export declare class MConceptoRetencion extends MBasicModel {
|
|
19
20
|
idEmpresa: number;
|
|
21
|
+
idEnterprise: number;
|
|
20
22
|
idConceptoRetencion: number;
|
|
21
23
|
codigoConceptoRetencion: string;
|
|
22
24
|
descripcionActividad: string;
|
package/lib/sigesp.service.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ import { MSistema } from './core/models/SSS/sistema';
|
|
|
24
24
|
import { IComprobantePresupuestarioEgresos, IComprobantePresupuestarioIngresos } from './core/interfaces/ComprobantePresupuestario';
|
|
25
25
|
import { MComprobantePresupuestarioEgresos, MComprobantePresupuestarioIngresos } from './core/models/SPG/comprobantePresupuestario.model';
|
|
26
26
|
import { MCuentaIngresos } from './core/models/SCG/IncomeAccount';
|
|
27
|
-
import { MCountry, MState, MMunicipality, MParish } from './core/models/CFG/locations.model';
|
|
27
|
+
import { MCountry, MState, MMunicipality, MParish, MCity } from './core/models/CFG/locations.model';
|
|
28
28
|
import { IResponse } from './core/interfaces/Response';
|
|
29
29
|
import { MComponent } from './core/models/SSS/component.model';
|
|
30
30
|
import { MLog } from './core/models/SSS/log.model';
|
|
@@ -563,7 +563,7 @@ export declare class SigespService {
|
|
|
563
563
|
* @param pais: Codigo del pais
|
|
564
564
|
|
|
565
565
|
*/
|
|
566
|
-
|
|
566
|
+
getCity(pais?: string, estado?: string): Observable<MCity[]>;
|
|
567
567
|
/**
|
|
568
568
|
* @description Obtiene los sistemas activas
|
|
569
569
|
* @return Observable<MSistema>
|