@zauru-sdk/types 6.27.0 → 6.28.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 +22 -0
- package/package.json +2 -2
package/dist/Custom.types.d.ts
CHANGED
|
@@ -1004,6 +1004,28 @@ export type ProviderRestrictionCheckResult = {
|
|
|
1004
1004
|
mode: ProviderRestrictionMode;
|
|
1005
1005
|
matchedValues: string[];
|
|
1006
1006
|
};
|
|
1007
|
+
export type ProviderReceptionExceptionMode = "allow" | "block";
|
|
1008
|
+
/**
|
|
1009
|
+
* Permanent matrix state for one provider and reception type.
|
|
1010
|
+
* Missing rows and missing item ids are allowed by default.
|
|
1011
|
+
*/
|
|
1012
|
+
export type ProviderReceptionBlockRule = {
|
|
1013
|
+
payee_id: number;
|
|
1014
|
+
reception_type_code: string;
|
|
1015
|
+
blocked_item_ids: Array<string | number>;
|
|
1016
|
+
fechaEliminacion?: string;
|
|
1017
|
+
};
|
|
1018
|
+
/** A dated override applied on top of the permanent provider matrix. */
|
|
1019
|
+
export type ProviderReceptionException = {
|
|
1020
|
+
payee_id: number;
|
|
1021
|
+
reception_type_code: string;
|
|
1022
|
+
mode: ProviderReceptionExceptionMode;
|
|
1023
|
+
item_ids: Array<string | number>;
|
|
1024
|
+
start_date: string;
|
|
1025
|
+
end_date: string;
|
|
1026
|
+
motivo: string;
|
|
1027
|
+
fechaEliminacion?: string;
|
|
1028
|
+
};
|
|
1007
1029
|
export type QueueShipmentsForm = {
|
|
1008
1030
|
creadoPor: string;
|
|
1009
1031
|
fechaCreacion: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/types",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.28.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": "2fda4a18e3f62d22c38fbb91052869db9ebc16f4"
|
|
26
26
|
}
|