@zauru-sdk/types 6.30.2 → 6.32.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 +47 -0
- package/dist/GraphQL.types.d.ts +1 -0
- package/package.json +2 -2
package/dist/Custom.types.d.ts
CHANGED
|
@@ -426,6 +426,7 @@ export type PurchasesDataTableListFormatedSchema = {
|
|
|
426
426
|
};
|
|
427
427
|
export type UpdatePurchaseOrderBody = {
|
|
428
428
|
purchase_order: {
|
|
429
|
+
lock_version?: number;
|
|
429
430
|
issue_date?: string;
|
|
430
431
|
shipment_reference?: string;
|
|
431
432
|
id_number?: string;
|
|
@@ -434,12 +435,16 @@ export type UpdatePurchaseOrderBody = {
|
|
|
434
435
|
memo?: string;
|
|
435
436
|
payee_id?: number | string;
|
|
436
437
|
reference?: string;
|
|
438
|
+
origin?: string;
|
|
437
439
|
purchase_order_details_attributes?: {
|
|
438
440
|
[key: string]: {
|
|
439
441
|
id?: string | number;
|
|
440
442
|
unit_cost?: string | number;
|
|
441
443
|
item_id: string | number;
|
|
442
444
|
cost?: string | number;
|
|
445
|
+
booked_quantity?: string | number;
|
|
446
|
+
reference?: string;
|
|
447
|
+
lot_delivered_quantity?: Array<string | number>;
|
|
443
448
|
};
|
|
444
449
|
};
|
|
445
450
|
};
|
|
@@ -641,6 +646,7 @@ export type WebAppRowAssociateBody = {
|
|
|
641
646
|
temp_shipment_id?: number | string;
|
|
642
647
|
temp_employee_id?: number | string;
|
|
643
648
|
temp_work_order_id?: number | string;
|
|
649
|
+
temp_payee_id?: number | string;
|
|
644
650
|
};
|
|
645
651
|
export type WebAppRowAssociateResponse = {
|
|
646
652
|
webapp_row_id: number;
|
|
@@ -1125,6 +1131,11 @@ export type JsonMemoType = {
|
|
|
1125
1131
|
originalNetWeightLines?: Array<{
|
|
1126
1132
|
weight: number;
|
|
1127
1133
|
}>;
|
|
1134
|
+
/** Legacy typo written by older radicchio receptions. */
|
|
1135
|
+
originalNetWeighLines?: Array<{
|
|
1136
|
+
weight: number;
|
|
1137
|
+
}>;
|
|
1138
|
+
radicchioConversion?: RadicchioConversionMemo;
|
|
1128
1139
|
confirmed?: boolean;
|
|
1129
1140
|
rejectionPercentage?: number;
|
|
1130
1141
|
rejectionLayers?: RejectionPercentageLayers;
|
|
@@ -1133,6 +1144,42 @@ export type JsonMemoType = {
|
|
|
1133
1144
|
unitCostPenaltyHistory?: UnitCostPenaltyHistoryEntry[];
|
|
1134
1145
|
rejectionCalculations?: RejectionCalculationMemo;
|
|
1135
1146
|
};
|
|
1147
|
+
export type RadicchioBoxes = {
|
|
1148
|
+
9: number;
|
|
1149
|
+
12: number;
|
|
1150
|
+
15: number;
|
|
1151
|
+
};
|
|
1152
|
+
export type RadicchioConversionActor = {
|
|
1153
|
+
employeeId: number;
|
|
1154
|
+
name: string;
|
|
1155
|
+
};
|
|
1156
|
+
export type RadicchioConversionHistoryEntry = {
|
|
1157
|
+
revision: number;
|
|
1158
|
+
boxes: RadicchioBoxes;
|
|
1159
|
+
packedUnits: number;
|
|
1160
|
+
remainingUnits: number;
|
|
1161
|
+
remainderReason?: string;
|
|
1162
|
+
totalBoxes: number;
|
|
1163
|
+
changedAt: string;
|
|
1164
|
+
changedBy: RadicchioConversionActor;
|
|
1165
|
+
};
|
|
1166
|
+
export type RadicchioConversionMemo = {
|
|
1167
|
+
schemaVersion: 1;
|
|
1168
|
+
status: "pending" | "converted";
|
|
1169
|
+
sourceItemId: number;
|
|
1170
|
+
targetItemId: number;
|
|
1171
|
+
receivedUnits: number;
|
|
1172
|
+
boxes: RadicchioBoxes;
|
|
1173
|
+
packedUnits: number;
|
|
1174
|
+
remainingUnits: number;
|
|
1175
|
+
remainderReason?: string;
|
|
1176
|
+
totalBoxes: number;
|
|
1177
|
+
revision: number;
|
|
1178
|
+
pendingAt: string;
|
|
1179
|
+
updatedAt?: string;
|
|
1180
|
+
updatedBy?: RadicchioConversionActor;
|
|
1181
|
+
history: RadicchioConversionHistoryEntry[];
|
|
1182
|
+
};
|
|
1136
1183
|
export type CloseOpenWorkOrderDetailInput = {
|
|
1137
1184
|
id: number | string;
|
|
1138
1185
|
item_id?: number | string | null;
|
package/dist/GraphQL.types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/types",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.32.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": "4276a9b1850edb33d93c27b236066e1835c7522b"
|
|
26
26
|
}
|