@zauru-sdk/types 2.0.78 → 2.0.85
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 +0 -21
- package/dist/GraphQL.types.d.ts +4 -4
- package/package.json +2 -2
package/dist/Custom.types.d.ts
CHANGED
|
@@ -329,27 +329,6 @@ export type BasketSchema = {
|
|
|
329
329
|
id: number;
|
|
330
330
|
color: string;
|
|
331
331
|
};
|
|
332
|
-
export interface ReceptionDetailsAttributes {
|
|
333
|
-
[key: string]: {
|
|
334
|
-
item_id: string | number;
|
|
335
|
-
purchase_order_detail_id: string | number;
|
|
336
|
-
lot_delivered_quantity: string[] | number[];
|
|
337
|
-
lot_name: string[];
|
|
338
|
-
lot_expire: string[];
|
|
339
|
-
lot_description: string[];
|
|
340
|
-
};
|
|
341
|
-
}
|
|
342
|
-
export type NewReceptionBody = {
|
|
343
|
-
reception: {
|
|
344
|
-
agency_id: string | number;
|
|
345
|
-
received_at: string;
|
|
346
|
-
invoice_number?: string;
|
|
347
|
-
purchase_order_id: string | number;
|
|
348
|
-
needs_transit: string | boolean;
|
|
349
|
-
entity_id: string | number;
|
|
350
|
-
reception_details_attributes: ReceptionDetailsAttributes;
|
|
351
|
-
};
|
|
352
|
-
};
|
|
353
332
|
export type ItemWithPrices = ItemGraphQL & {
|
|
354
333
|
suggested_prices: Array<SuggestedPriceGraphQL>;
|
|
355
334
|
};
|
package/dist/GraphQL.types.d.ts
CHANGED
|
@@ -5,10 +5,10 @@ export type ReceptionDetailsGraphQL = {
|
|
|
5
5
|
purchase_order_detail_id: number;
|
|
6
6
|
quantity: number;
|
|
7
7
|
item_id: number;
|
|
8
|
-
lot_delivered_quantity: number;
|
|
9
|
-
lot_description: string;
|
|
10
|
-
lot_expire: string;
|
|
11
|
-
lot_name: string;
|
|
8
|
+
lot_delivered_quantity: number | number[];
|
|
9
|
+
lot_description: string | string[];
|
|
10
|
+
lot_expire: string | string[];
|
|
11
|
+
lot_name: string | string[];
|
|
12
12
|
};
|
|
13
13
|
export type ReceptionGraphQL = {
|
|
14
14
|
id: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/types",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.85",
|
|
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",
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"typescript": "^5.1.6"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "3dfa4ddd49f3802212a062b367422fc187ca9004"
|
|
25
25
|
}
|