@nomalism-com/types 0.9.485 → 0.9.486

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.
@@ -169,6 +169,7 @@ export interface ICreateInventoryRequest {
169
169
  registered_quantity: number;
170
170
  inventory_quantity: number;
171
171
  new_plot_id: string;
172
+ is_virtual?: boolean;
172
173
  }
173
174
  export interface IRepository {
174
175
  findById(id: string): Promise<Entity | null>;
@@ -92,6 +92,7 @@ var createInventoryRequestKeys = {
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
94
  new_plot_id: joi_1.default.string().uuid().required(),
95
+ is_virtual: joi_1.default.boolean().default(false).optional(),
95
96
  };
96
97
  exports.createInventoryRequest = joi_1.default
97
98
  .object()
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.9.485",
12
+ "version": "0.9.486",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [