@nomalism-com/types 0.9.484 → 0.9.485
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.
|
@@ -91,6 +91,7 @@ var createInventoryRequestKeys = {
|
|
|
91
91
|
plot_id: joi_1.default.string().uuid().allow(null).required(),
|
|
92
92
|
registered_quantity: joi_1.default.number().positive().allow(0).optional(),
|
|
93
93
|
inventory_quantity: joi_1.default.number().positive().allow(0).required(),
|
|
94
|
+
new_plot_id: joi_1.default.string().uuid().required(),
|
|
94
95
|
};
|
|
95
96
|
exports.createInventoryRequest = joi_1.default
|
|
96
97
|
.object()
|
|
@@ -57,11 +57,8 @@ export interface IBasicSearchRequest extends IShared.IPaginationRequest {
|
|
|
57
57
|
search_value: string | null;
|
|
58
58
|
inactive?: boolean;
|
|
59
59
|
}
|
|
60
|
-
export interface IBasicSearchResponse {
|
|
61
|
-
id: string;
|
|
60
|
+
export interface IBasicSearchResponse extends Pick<Entity, 'id' | 'origin_id' | 'code'> {
|
|
62
61
|
reference: string;
|
|
63
|
-
origin_id: string;
|
|
64
|
-
code: string;
|
|
65
62
|
product_counter: number;
|
|
66
63
|
}
|
|
67
64
|
export interface IRepository {
|