hvp-shared 6.90.0 → 6.91.0
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.
|
@@ -25,6 +25,8 @@ export declare enum JobType {
|
|
|
25
25
|
SYNC_INVENTORY_SNAPSHOT = "SYNC_INVENTORY_SNAPSHOT",
|
|
26
26
|
SYNC_COLLECTION_DETAILS = "SYNC_COLLECTION_DETAILS",
|
|
27
27
|
SYNC_SALE_DETAILS = "SYNC_SALE_DETAILS",
|
|
28
|
+
SYNC_PAYABLES = "SYNC_PAYABLES",
|
|
29
|
+
SYNC_STAFF = "SYNC_STAFF",
|
|
28
30
|
SYNC_BATCH = "SYNC_BATCH",
|
|
29
31
|
SYNC_ALL = "SYNC_ALL",
|
|
30
32
|
SYNC_FACTURAMA_PRODUCTS = "SYNC_FACTURAMA_PRODUCTS"
|
|
@@ -65,7 +67,11 @@ export declare enum ReportType {
|
|
|
65
67
|
/** Collection details (Cobros detalle) - uses date range params */
|
|
66
68
|
COLLECTION_DETAILS = "COLLECTION_DETAILS",
|
|
67
69
|
/** Sale details (Detalle ventas, Report 89) - uses date range params */
|
|
68
|
-
SALE_DETAILS = "SALE_DETAILS"
|
|
70
|
+
SALE_DETAILS = "SALE_DETAILS",
|
|
71
|
+
/** Payables / Accounts payable (Vencimientos, Report 718) - uses date range params */
|
|
72
|
+
PAYABLES = "PAYABLES",
|
|
73
|
+
/** Staff / Personnel catalog (Report 102) - no date params required */
|
|
74
|
+
STAFF = "STAFF"
|
|
69
75
|
}
|
|
70
76
|
/**
|
|
71
77
|
* Sub-task status within a batch job
|
|
@@ -29,6 +29,8 @@ var JobType;
|
|
|
29
29
|
JobType["SYNC_INVENTORY_SNAPSHOT"] = "SYNC_INVENTORY_SNAPSHOT";
|
|
30
30
|
JobType["SYNC_COLLECTION_DETAILS"] = "SYNC_COLLECTION_DETAILS";
|
|
31
31
|
JobType["SYNC_SALE_DETAILS"] = "SYNC_SALE_DETAILS";
|
|
32
|
+
JobType["SYNC_PAYABLES"] = "SYNC_PAYABLES";
|
|
33
|
+
JobType["SYNC_STAFF"] = "SYNC_STAFF";
|
|
32
34
|
JobType["SYNC_BATCH"] = "SYNC_BATCH";
|
|
33
35
|
JobType["SYNC_ALL"] = "SYNC_ALL";
|
|
34
36
|
JobType["SYNC_FACTURAMA_PRODUCTS"] = "SYNC_FACTURAMA_PRODUCTS";
|
|
@@ -71,6 +73,10 @@ var ReportType;
|
|
|
71
73
|
ReportType["COLLECTION_DETAILS"] = "COLLECTION_DETAILS";
|
|
72
74
|
/** Sale details (Detalle ventas, Report 89) - uses date range params */
|
|
73
75
|
ReportType["SALE_DETAILS"] = "SALE_DETAILS";
|
|
76
|
+
/** Payables / Accounts payable (Vencimientos, Report 718) - uses date range params */
|
|
77
|
+
ReportType["PAYABLES"] = "PAYABLES";
|
|
78
|
+
/** Staff / Personnel catalog (Report 102) - no date params required */
|
|
79
|
+
ReportType["STAFF"] = "STAFF";
|
|
74
80
|
})(ReportType || (exports.ReportType = ReportType = {}));
|
|
75
81
|
/**
|
|
76
82
|
* Sub-task status within a batch job
|
|
@@ -103,6 +109,8 @@ exports.REPORT_PARAM_TYPES = {
|
|
|
103
109
|
[ReportType.SUPPLIERS]: 'no_params',
|
|
104
110
|
[ReportType.COLLECTION_DETAILS]: 'date_range',
|
|
105
111
|
[ReportType.SALE_DETAILS]: 'date_range',
|
|
112
|
+
[ReportType.PAYABLES]: 'date_range',
|
|
113
|
+
[ReportType.STAFF]: 'no_params',
|
|
106
114
|
};
|
|
107
115
|
/**
|
|
108
116
|
* Job execution status
|
|
@@ -146,6 +154,8 @@ exports.JOB_TYPE_LABELS = {
|
|
|
146
154
|
[JobType.SYNC_INVENTORY_SNAPSHOT]: 'Sincronizar Snapshot Inventario',
|
|
147
155
|
[JobType.SYNC_COLLECTION_DETAILS]: 'Sincronizar Cobros Detalle',
|
|
148
156
|
[JobType.SYNC_SALE_DETAILS]: 'Sincronizar Detalle Ventas',
|
|
157
|
+
[JobType.SYNC_PAYABLES]: 'Sincronizar Cuentas por Pagar',
|
|
158
|
+
[JobType.SYNC_STAFF]: 'Sincronizar Personal',
|
|
149
159
|
[JobType.SYNC_BATCH]: 'Sincronización por Lotes',
|
|
150
160
|
[JobType.SYNC_ALL]: 'Sincronizar Todo',
|
|
151
161
|
[JobType.SYNC_FACTURAMA_PRODUCTS]: 'Sincronizar Productos Facturama',
|
|
@@ -170,6 +180,8 @@ exports.REPORT_TYPE_LABELS = {
|
|
|
170
180
|
[ReportType.SUPPLIERS]: 'Proveedores',
|
|
171
181
|
[ReportType.COLLECTION_DETAILS]: 'Cobros Detalle',
|
|
172
182
|
[ReportType.SALE_DETAILS]: 'Detalle Ventas',
|
|
183
|
+
[ReportType.PAYABLES]: 'Cuentas por Pagar',
|
|
184
|
+
[ReportType.STAFF]: 'Personal',
|
|
173
185
|
};
|
|
174
186
|
/**
|
|
175
187
|
* Human-readable labels for sub-task status (Spanish for UI)
|