@zauru-sdk/types 6.26.0 → 6.27.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.
@@ -985,6 +985,25 @@ export type ReceptionType = {
985
985
  Codigo: string;
986
986
  Nombre: string;
987
987
  };
988
+ export type ProviderRestrictionMode = "include" | "exclude";
989
+ export type ProviderRestrictionRule = {
990
+ payee_id: number;
991
+ mode: ProviderRestrictionMode;
992
+ values: Array<string | number>;
993
+ start_date?: string;
994
+ end_date?: string;
995
+ motivo?: string;
996
+ fechaEliminacion?: string;
997
+ };
998
+ export type ProviderRestrictionCheckResult = {
999
+ allowed: true;
1000
+ } | {
1001
+ allowed: false;
1002
+ title: string;
1003
+ description: string;
1004
+ mode: ProviderRestrictionMode;
1005
+ matchedValues: string[];
1006
+ };
988
1007
  export type QueueShipmentsForm = {
989
1008
  creadoPor: string;
990
1009
  fechaCreacion: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/types",
3
- "version": "6.26.0",
3
+ "version": "6.27.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": "868c8fc18ec36bd771fbd2b3886d15b6d68fb7bb"
25
+ "gitHead": "d8141f1d30edee6edb8d2777d0e12e2f4f1b2726"
26
26
  }