@nomalism-com/types 0.11.21 → 0.11.23
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/modules/supply/documentHeader/interfaces.d.ts +1 -0
- package/dist/modules/supply/documentHeader/route.schema.js +1 -0
- package/dist/modules/supply/externalDocumentHeader/interface.d.ts +1 -0
- package/dist/modules/supply/externalDocumentHeader/tests.js +1 -0
- package/dist/modules/supply/orderManagement/interface.d.ts +2 -0
- package/package.json +1 -1
|
@@ -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()
|
|
@@ -9,6 +9,7 @@ type IEntityExtended = Entity;
|
|
|
9
9
|
export type IFindByIdResponse = Omit<IEntityExtended, ''>;
|
|
10
10
|
export interface IFindByOwnerIdResponse {
|
|
11
11
|
id: string | null;
|
|
12
|
+
document_header_id: string;
|
|
12
13
|
pdf_link: string | null;
|
|
13
14
|
external_id: string | null;
|
|
14
15
|
label: string;
|
|
@@ -64,6 +64,7 @@ exports.findByIdBodyResponse = joi_1.default
|
|
|
64
64
|
.allow(null);
|
|
65
65
|
exports.findOwnerIdBodyResponsekeys = {
|
|
66
66
|
id: joi_1.default.string().allow(null).required(),
|
|
67
|
+
document_header_id: joi_1.default.string().uuid().required(),
|
|
67
68
|
pdf_link: joi_1.default.string().allow(null).required(),
|
|
68
69
|
external_id: joi_1.default.string().allow(null).required(),
|
|
69
70
|
label: joi_1.default.string().required(),
|
|
@@ -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;
|