@nomalism-com/types 0.9.551 → 0.9.552

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.
@@ -9,4 +9,4 @@ export declare const findByRef: joi.ObjectSchema<any>;
9
9
  export declare const findOrCreateProductionProductBody: joi.ObjectSchema<any>;
10
10
  export declare const findByProductTypeParams: joi.ObjectSchema<any>;
11
11
  export declare const printLabelQuery: joi.ObjectSchema<any>;
12
- export declare const duplicateProductParams: joi.ObjectSchema<any>;
12
+ export declare const duplicateProductBody: joi.ObjectSchema<any>;
@@ -15,7 +15,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
15
15
  };
16
16
  var _a, _b, _c, _d;
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.duplicateProductParams = exports.printLabelQuery = exports.findByProductTypeParams = exports.findOrCreateProductionProductBody = exports.findByRef = exports.basicSearchQuery = exports.findWithPaginationQuery = exports.findQuery = exports.bulkUpdateBody = exports.updateBody = exports.createBody = void 0;
18
+ exports.duplicateProductBody = exports.printLabelQuery = exports.findByProductTypeParams = exports.findOrCreateProductionProductBody = exports.findByRef = exports.basicSearchQuery = exports.findWithPaginationQuery = exports.findQuery = exports.bulkUpdateBody = exports.updateBody = exports.createBody = void 0;
19
19
  var joi_1 = __importDefault(require("joi"));
20
20
  var messages_1 = require("../../../shared/messages");
21
21
  var interface_1 = require("./interface");
@@ -146,11 +146,11 @@ exports.printLabelQuery = joi_1.default
146
146
  .object()
147
147
  .keys(printLabelQueryKeys)
148
148
  .messages(messages_1.messages);
149
- var duplicateProductParamsKeys = {
149
+ var duplicateProductBodyKeys = {
150
150
  product_id: joi_1.default.string().uuid().required(),
151
151
  color_id: joi_1.default.array().items(joi_1.default.string().uuid().required()).required(),
152
152
  };
153
- exports.duplicateProductParams = joi_1.default
153
+ exports.duplicateProductBody = joi_1.default
154
154
  .object()
155
- .keys(duplicateProductParamsKeys)
155
+ .keys(duplicateProductBodyKeys)
156
156
  .messages(messages_1.messages);
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.9.551",
12
+ "version": "0.9.552",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [