@zauru-sdk/types 2.0.70 → 2.0.84
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 +3 -21
- 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
|
};
|
|
@@ -695,3 +674,6 @@ export type GenericDynamicTableColumn = {
|
|
|
695
674
|
headerClassName?: string;
|
|
696
675
|
cellClassName?: string;
|
|
697
676
|
};
|
|
677
|
+
export type DeepPartial<T> = {
|
|
678
|
+
[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
|
|
679
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/types",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.84",
|
|
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": "5f802bbd907d746b74dcce0e8594ef896d92eae2"
|
|
25
25
|
}
|