@nomalism-com/types 0.9.557 → 0.9.559

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.
@@ -23,6 +23,7 @@ export interface IFindByQueryRequest {
23
23
  }
24
24
  export interface IFindByOwnersRequest {
25
25
  owner_ids: string[];
26
+ includeInternal?: boolean;
26
27
  }
27
28
  export interface IFindByOwnerResponse extends Entity {
28
29
  observation_type: ObservationType | null;
@@ -21,6 +21,7 @@ exports.updateBodyKeys = {
21
21
  exports.updateBody = joi_1.default.object().keys(exports.updateBodyKeys).messages(messages_1.messages);
22
22
  exports.findByOwnerQueryKeys = {
23
23
  owner_ids: joi_1.default.array().items(joi_1.default.string().uuid().required()).required(),
24
+ includeInternal: joi_1.default.boolean().optional(),
24
25
  };
25
26
  exports.findByOwnerQuery = joi_1.default
26
27
  .object()
@@ -198,6 +198,7 @@ export interface IFindByProductTypeResponse {
198
198
  price: number;
199
199
  }
200
200
  export interface IDuplicateProductRequest {
201
+ provider_ref: string;
201
202
  color_id: string[];
202
203
  }
203
204
  export interface IRepository {
@@ -147,6 +147,7 @@ exports.printLabelQuery = joi_1.default
147
147
  .keys(printLabelQueryKeys)
148
148
  .messages(messages_1.messages);
149
149
  var duplicateProductBodyKeys = {
150
+ provider_ref: joi_1.default.string().uuid().required(),
150
151
  color_id: joi_1.default.array().items(joi_1.default.string().uuid().required()).required(),
151
152
  };
152
153
  exports.duplicateProductBody = joi_1.default
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.9.557",
12
+ "version": "0.9.559",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [