@zauru-sdk/types 6.16.0 → 6.17.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.
- package/dist/Custom.types.d.ts +16 -9
- package/package.json +2 -2
package/dist/Custom.types.d.ts
CHANGED
|
@@ -264,18 +264,25 @@ export type PesoMaximoPorCanasta = {
|
|
|
264
264
|
item_id: number;
|
|
265
265
|
weight_limit: number;
|
|
266
266
|
};
|
|
267
|
+
export type PoDiscountHistoryType = "rechazo_recepcion_automatico_base" | "rechazo_recepcion_manual" | "rechazo_recepcion_manual_actualizacion" | "rechazo_cc_operativo_manual" | "rechazo_cc_operativo_manual_elotin_peso" | "rechazo_cc_operativo_manual_elotin_cantidad" | "rechazo_cc_admin_manual_reemplazo" | "rechazo_cc_admin_manual_actualizacion" | "rechazo_cc_admin_manual_descuento_masivo_reemplazo" | "rechazo_cc_admin_manual_descuento_masivo_actualizacion" | "rechazo_regla_automatica";
|
|
268
|
+
export type PoDiscountHistoryEntry = {
|
|
269
|
+
discount: number;
|
|
270
|
+
description: string;
|
|
271
|
+
agency_id: number;
|
|
272
|
+
employee_id: number;
|
|
273
|
+
employee_name: string;
|
|
274
|
+
created_at: string;
|
|
275
|
+
type: PoDiscountHistoryType;
|
|
276
|
+
};
|
|
267
277
|
export type PoDiscountHistory = {
|
|
268
278
|
purchase_order_id: number;
|
|
269
279
|
purchase_order_id_number: string;
|
|
270
|
-
discounts:
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
created_at: string;
|
|
277
|
-
type: "rechazo_recepcion_automatico_base" | "rechazo_recepcion_manual" | "rechazo_recepcion_manual_actualizacion" | "rechazo_cc_operativo_manual" | "rechazo_cc_operativo_manual_elotin_peso" | "rechazo_cc_operativo_manual_elotin_cantidad" | "rechazo_cc_admin_manual_reemplazo" | "rechazo_cc_admin_manual_actualizacion" | "rechazo_cc_admin_manual_descuento_masivo_reemplazo" | "rechazo_cc_admin_manual_descuento_masivo_actualizacion";
|
|
278
|
-
}[];
|
|
280
|
+
discounts: PoDiscountHistoryEntry[];
|
|
281
|
+
};
|
|
282
|
+
export type UpdateOchAndDisResult = {
|
|
283
|
+
rejectionPercentage: number;
|
|
284
|
+
rejectionCalculations?: RejectionCalculationMemo;
|
|
285
|
+
newlyAppliedSteps: RejectionPercentageAdjustmentStep[];
|
|
279
286
|
};
|
|
280
287
|
export type AuthorizationUpdateDiscountPO = {
|
|
281
288
|
id?: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/types",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.17.0",
|
|
4
4
|
"description": "Estructuras de Zauru, tipado de modelos y modelos personalizados.",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"typescript": "^5.1.6"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "d3483aa3b55a9a692f955e6a56d13f33b70db1c4"
|
|
26
26
|
}
|