@zauru-sdk/types 6.27.0 → 6.29.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 +31 -0
- package/package.json +2 -2
package/dist/Custom.types.d.ts
CHANGED
|
@@ -439,6 +439,7 @@ export type UpdatePurchaseOrderBody = {
|
|
|
439
439
|
id?: string | number;
|
|
440
440
|
unit_cost?: string | number;
|
|
441
441
|
item_id: string | number;
|
|
442
|
+
cost?: string | number;
|
|
442
443
|
};
|
|
443
444
|
};
|
|
444
445
|
};
|
|
@@ -766,6 +767,8 @@ export type PurchaseOrderCosto = {
|
|
|
766
767
|
}[];
|
|
767
768
|
};
|
|
768
769
|
export type PurchaseOrderFinancialDetail = {
|
|
770
|
+
id?: number | string | null;
|
|
771
|
+
item_id?: number | string | null;
|
|
769
772
|
booked_quantity?: number | string | null;
|
|
770
773
|
delivered_quantity?: number | string | null;
|
|
771
774
|
booked?: number | string | null;
|
|
@@ -773,6 +776,12 @@ export type PurchaseOrderFinancialDetail = {
|
|
|
773
776
|
quantity?: number | string | null;
|
|
774
777
|
unit_cost?: number | string | null;
|
|
775
778
|
};
|
|
779
|
+
export type PurchaseOrderDetailCostAttribute = {
|
|
780
|
+
id: number;
|
|
781
|
+
item_id: number;
|
|
782
|
+
unit_cost: number;
|
|
783
|
+
cost: number;
|
|
784
|
+
};
|
|
776
785
|
export type CalculatePurchaseOrderFinancialsInput = {
|
|
777
786
|
details?: PurchaseOrderFinancialDetail[] | null;
|
|
778
787
|
/** % de rechazo de origen, o el % final ya guardado en el memo */
|
|
@@ -1004,6 +1013,28 @@ export type ProviderRestrictionCheckResult = {
|
|
|
1004
1013
|
mode: ProviderRestrictionMode;
|
|
1005
1014
|
matchedValues: string[];
|
|
1006
1015
|
};
|
|
1016
|
+
export type ProviderReceptionExceptionMode = "allow" | "block";
|
|
1017
|
+
/**
|
|
1018
|
+
* Permanent matrix state for one provider and reception type.
|
|
1019
|
+
* Missing rows and missing item ids are allowed by default.
|
|
1020
|
+
*/
|
|
1021
|
+
export type ProviderReceptionBlockRule = {
|
|
1022
|
+
payee_id: number;
|
|
1023
|
+
reception_type_code: string;
|
|
1024
|
+
blocked_item_ids: Array<string | number>;
|
|
1025
|
+
fechaEliminacion?: string;
|
|
1026
|
+
};
|
|
1027
|
+
/** A dated override applied on top of the permanent provider matrix. */
|
|
1028
|
+
export type ProviderReceptionException = {
|
|
1029
|
+
payee_id: number;
|
|
1030
|
+
reception_type_code: string;
|
|
1031
|
+
mode: ProviderReceptionExceptionMode;
|
|
1032
|
+
item_ids: Array<string | number>;
|
|
1033
|
+
start_date: string;
|
|
1034
|
+
end_date: string;
|
|
1035
|
+
motivo: string;
|
|
1036
|
+
fechaEliminacion?: string;
|
|
1037
|
+
};
|
|
1007
1038
|
export type QueueShipmentsForm = {
|
|
1008
1039
|
creadoPor: string;
|
|
1009
1040
|
fechaCreacion: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/types",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.29.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": "671859beecfce09a1ccf138055a4de26a8c1f059"
|
|
26
26
|
}
|