@nomalism-com/types 0.11.21 → 0.11.22

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.
@@ -202,6 +202,7 @@ export interface IUpdateRequest {
202
202
  commission_paid?: boolean;
203
203
  is_archived?: boolean;
204
204
  is_void?: boolean;
205
+ created_by?: string;
205
206
  }
206
207
  export interface IGetActionsResponse {
207
208
  document_type: DocumentType;
@@ -239,6 +239,7 @@ var updateBodyKeys = {
239
239
  commission_paid: joi_1.default.boolean().optional(),
240
240
  is_archived: joi_1.default.boolean().optional(),
241
241
  is_void: joi_1.default.boolean().optional(),
242
+ created_by: joi_1.default.string().uuid().allow(null).optional(),
242
243
  };
243
244
  exports.updateBody = joi_1.default
244
245
  .object()
@@ -1,4 +1,5 @@
1
1
  import { IDocumentTypeUserType } from '../documentType/interfaces';
2
+ import { IProductType } from '../../stock/product/interface';
2
3
  export declare const Route = "order_management";
3
4
  export declare const UpperName = "OrderManagement";
4
5
  export declare const LowerName: string;
@@ -22,6 +23,7 @@ export interface IFindProviderProductsResponse {
22
23
  ref: string;
23
24
  des: string;
24
25
  product_id: string;
26
+ type: IProductType;
25
27
  multimedia_id: string | null;
26
28
  price_cost: string;
27
29
  price_sale: string;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.11.21",
12
+ "version": "0.11.22",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [