hvp-shared 14.9.0 → 14.10.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.
|
@@ -65,8 +65,20 @@ export interface ApplyDiscountRequest {
|
|
|
65
65
|
supplier: string;
|
|
66
66
|
year: number;
|
|
67
67
|
month: number;
|
|
68
|
-
/**
|
|
68
|
+
/** Percentage over the supplier's period invoice total. */
|
|
69
69
|
percentage?: number;
|
|
70
|
+
/** Fixed discount amount (takes precedence over percentage). */
|
|
71
|
+
amount?: number;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Mark several payment items at once (e.g. "pagar todo TELVET").
|
|
75
|
+
* @example PATCH /api/supplier-payments/mark-bulk
|
|
76
|
+
*/
|
|
77
|
+
export interface MarkPaymentsBulkRequest {
|
|
78
|
+
ids: string[];
|
|
79
|
+
status: PaymentStatus;
|
|
80
|
+
paidAt?: string;
|
|
81
|
+
paymentMethod?: string;
|
|
70
82
|
}
|
|
71
83
|
export interface CreateSupplierDiscountRuleRequest {
|
|
72
84
|
supplier: string;
|