@nomalism-com/types 0.45.37 → 0.45.39

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/index.cjs CHANGED
@@ -5027,7 +5027,8 @@ var findProductSheetByReferenceQuery = joi94.object().keys({
5027
5027
  }).messages(messages);
5028
5028
  var productLocationBody = joi94.object().keys({
5029
5029
  location_id: joi94.string().required(),
5030
- product_id: joi94.array().items(joi94.string().uuid()).required()
5030
+ product_ids: joi94.array().items(joi94.string().uuid()).required(),
5031
+ created_by: joi94.string().required()
5031
5032
  }).messages(messages);
5032
5033
 
5033
5034
  // src/modules/stock/task/interface.ts
package/dist/index.js CHANGED
@@ -5027,7 +5027,8 @@ var findProductSheetByReferenceQuery = joi94.object().keys({
5027
5027
  }).messages(messages);
5028
5028
  var productLocationBody = joi94.object().keys({
5029
5029
  location_id: joi94.string().required(),
5030
- product_id: joi94.array().items(joi94.string().uuid()).required()
5030
+ product_ids: joi94.array().items(joi94.string().uuid()).required(),
5031
+ created_by: joi94.string().required()
5031
5032
  }).messages(messages);
5032
5033
 
5033
5034
  // src/modules/stock/task/interface.ts
@@ -213,7 +213,8 @@ export type IFindForMobileRequest = {
213
213
  };
214
214
  export interface IProductLocation {
215
215
  location_id: string;
216
- product_id: string[];
216
+ product_ids: string[];
217
+ created_by: string;
217
218
  }
218
219
  export interface IProductByOwner {
219
220
  id: string;
@@ -2,6 +2,7 @@ export declare const Route = "product_location";
2
2
  export interface IProductLocationItem {
3
3
  id: string;
4
4
  product_location_id: string;
5
+ product_id: string;
5
6
  reference: string;
6
7
  }
7
8
  export interface IProductLocation {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nomalism-com/types",
3
3
  "description": "A nomalism package with all necessary types and validations for developing APIs",
4
- "version": "0.45.37",
4
+ "version": "0.45.39",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",