hvp-shared 6.33.0 → 6.35.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.
|
@@ -20,6 +20,7 @@ export declare enum JobType {
|
|
|
20
20
|
SYNC_PURCHASE_ORDERS = "SYNC_PURCHASE_ORDERS",
|
|
21
21
|
SYNC_STOCK_CONFIG = "SYNC_STOCK_CONFIG",
|
|
22
22
|
SYNC_CATALOG = "SYNC_CATALOG",
|
|
23
|
+
SYNC_SUPPLIERS = "SYNC_SUPPLIERS",
|
|
23
24
|
SYNC_CLIENTS = "SYNC_CLIENTS",
|
|
24
25
|
SYNC_INVENTORY_SNAPSHOT = "SYNC_INVENTORY_SNAPSHOT",
|
|
25
26
|
SYNC_BATCH = "SYNC_BATCH",
|
|
@@ -55,7 +56,9 @@ export declare enum ReportType {
|
|
|
55
56
|
/** Product catalog - no date params required */
|
|
56
57
|
CATALOG = "CATALOG",
|
|
57
58
|
/** Stock configuration - no date params required */
|
|
58
|
-
STOCK_CONFIG = "STOCK_CONFIG"
|
|
59
|
+
STOCK_CONFIG = "STOCK_CONFIG",
|
|
60
|
+
/** Suppliers catalog - no date params required */
|
|
61
|
+
SUPPLIERS = "SUPPLIERS"
|
|
59
62
|
}
|
|
60
63
|
/**
|
|
61
64
|
* Sub-task status within a batch job
|
|
@@ -24,6 +24,7 @@ var JobType;
|
|
|
24
24
|
JobType["SYNC_PURCHASE_ORDERS"] = "SYNC_PURCHASE_ORDERS";
|
|
25
25
|
JobType["SYNC_STOCK_CONFIG"] = "SYNC_STOCK_CONFIG";
|
|
26
26
|
JobType["SYNC_CATALOG"] = "SYNC_CATALOG";
|
|
27
|
+
JobType["SYNC_SUPPLIERS"] = "SYNC_SUPPLIERS";
|
|
27
28
|
JobType["SYNC_CLIENTS"] = "SYNC_CLIENTS";
|
|
28
29
|
JobType["SYNC_INVENTORY_SNAPSHOT"] = "SYNC_INVENTORY_SNAPSHOT";
|
|
29
30
|
JobType["SYNC_BATCH"] = "SYNC_BATCH";
|
|
@@ -61,6 +62,8 @@ var ReportType;
|
|
|
61
62
|
ReportType["CATALOG"] = "CATALOG";
|
|
62
63
|
/** Stock configuration - no date params required */
|
|
63
64
|
ReportType["STOCK_CONFIG"] = "STOCK_CONFIG";
|
|
65
|
+
/** Suppliers catalog - no date params required */
|
|
66
|
+
ReportType["SUPPLIERS"] = "SUPPLIERS";
|
|
64
67
|
})(ReportType || (exports.ReportType = ReportType = {}));
|
|
65
68
|
/**
|
|
66
69
|
* Sub-task status within a batch job
|
|
@@ -90,6 +93,7 @@ exports.REPORT_PARAM_TYPES = {
|
|
|
90
93
|
[ReportType.CLIENTS]: 'no_params',
|
|
91
94
|
[ReportType.CATALOG]: 'no_params',
|
|
92
95
|
[ReportType.STOCK_CONFIG]: 'no_params',
|
|
96
|
+
[ReportType.SUPPLIERS]: 'no_params',
|
|
93
97
|
};
|
|
94
98
|
/**
|
|
95
99
|
* Job execution status
|
|
@@ -128,6 +132,7 @@ exports.JOB_TYPE_LABELS = {
|
|
|
128
132
|
[JobType.SYNC_PURCHASE_ORDERS]: 'Sincronizar Pedidos',
|
|
129
133
|
[JobType.SYNC_STOCK_CONFIG]: 'Sincronizar Config. Stock',
|
|
130
134
|
[JobType.SYNC_CATALOG]: 'Sincronizar Catálogo',
|
|
135
|
+
[JobType.SYNC_SUPPLIERS]: 'Sincronizar Proveedores',
|
|
131
136
|
[JobType.SYNC_CLIENTS]: 'Sincronizar Clientes',
|
|
132
137
|
[JobType.SYNC_INVENTORY_SNAPSHOT]: 'Sincronizar Snapshot Inventario',
|
|
133
138
|
[JobType.SYNC_BATCH]: 'Sincronización por Lotes',
|
|
@@ -150,6 +155,7 @@ exports.REPORT_TYPE_LABELS = {
|
|
|
150
155
|
[ReportType.CLIENTS]: 'Clientes',
|
|
151
156
|
[ReportType.CATALOG]: 'Catálogo',
|
|
152
157
|
[ReportType.STOCK_CONFIG]: 'Config. Stock',
|
|
158
|
+
[ReportType.SUPPLIERS]: 'Proveedores',
|
|
153
159
|
};
|
|
154
160
|
/**
|
|
155
161
|
* Human-readable labels for sub-task status (Spanish for UI)
|
|
@@ -22,6 +22,7 @@ export interface CompanySettingsResponse {
|
|
|
22
22
|
facturamaApiKey?: string;
|
|
23
23
|
facturamaApiSecret?: string;
|
|
24
24
|
facturamaUseSandbox: boolean;
|
|
25
|
+
employerRegistration?: string;
|
|
25
26
|
createdAt: string;
|
|
26
27
|
updatedAt: string;
|
|
27
28
|
}
|
|
@@ -48,4 +49,5 @@ export interface UpdateCompanySettingsRequest {
|
|
|
48
49
|
facturamaApiKey?: string;
|
|
49
50
|
facturamaApiSecret?: string;
|
|
50
51
|
facturamaUseSandbox: boolean;
|
|
52
|
+
employerRegistration?: string;
|
|
51
53
|
}
|