@zauru-sdk/types 6.23.0 → 6.24.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 +18 -0
- package/package.json +2 -2
package/dist/Custom.types.d.ts
CHANGED
|
@@ -83,6 +83,20 @@ export type CertificationPenaltyHistoryEntry = {
|
|
|
83
83
|
createdAt: string;
|
|
84
84
|
bitacoraId?: number;
|
|
85
85
|
};
|
|
86
|
+
export type UnitCostPenaltyHistoryEntry = {
|
|
87
|
+
id: string;
|
|
88
|
+
detailId: number;
|
|
89
|
+
itemId: number;
|
|
90
|
+
amount: number;
|
|
91
|
+
reason: string;
|
|
92
|
+
previousUnitCost: number;
|
|
93
|
+
finalUnitCost: number;
|
|
94
|
+
employeeId: number;
|
|
95
|
+
employeeName: string;
|
|
96
|
+
agencyId: number;
|
|
97
|
+
createdAt: string;
|
|
98
|
+
bitacoraId: number;
|
|
99
|
+
};
|
|
86
100
|
export type PriceAdjustmentReversalMatch = {
|
|
87
101
|
sourceRuleId: number;
|
|
88
102
|
sourceRuleName: string;
|
|
@@ -619,9 +633,12 @@ export type POHistoryMassive = {
|
|
|
619
633
|
memo?: string | object | null;
|
|
620
634
|
};
|
|
621
635
|
export type BitacoraPOMassive = {
|
|
636
|
+
operationType?: "rejection_adjustment" | "certification_penalty" | "unit_cost_penalty";
|
|
622
637
|
accion: string;
|
|
623
638
|
discount?: number | string;
|
|
624
639
|
other_charges?: number | string;
|
|
640
|
+
penaltyAmount?: number;
|
|
641
|
+
penaltyReason?: string;
|
|
625
642
|
payeeCategoryId?: number | string;
|
|
626
643
|
itemId?: number | string;
|
|
627
644
|
fechaDesde?: string;
|
|
@@ -988,6 +1005,7 @@ export type JsonMemoType = {
|
|
|
988
1005
|
rejectionLayers?: RejectionPercentageLayers;
|
|
989
1006
|
costCalculations?: CostCalculationMemo[];
|
|
990
1007
|
certificationPenaltyHistory?: CertificationPenaltyHistoryEntry[];
|
|
1008
|
+
unitCostPenaltyHistory?: UnitCostPenaltyHistoryEntry[];
|
|
991
1009
|
rejectionCalculations?: RejectionCalculationMemo;
|
|
992
1010
|
};
|
|
993
1011
|
export type CloseOpenWorkOrderDetailInput = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/types",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.24.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": "d1667a29d9fabc9980d171fed30796c232de358d"
|
|
26
26
|
}
|