@nomalism-com/types 0.10.47 → 0.10.48
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.
|
@@ -40,6 +40,7 @@ export interface IUpdatePreSaleQuantityRequest {
|
|
|
40
40
|
interface IRemovePlotOrPreSaleProduct {
|
|
41
41
|
plot_id?: string;
|
|
42
42
|
pre_sale_product_id?: string;
|
|
43
|
+
updated_by?: string;
|
|
43
44
|
}
|
|
44
45
|
export type IRemovePlotOrPreSaleProductRequest = IShared.RequireOnlyOne<IRemovePlotOrPreSaleProduct, 'plot_id' | 'pre_sale_product_id'>;
|
|
45
46
|
export interface ICreateRequest {
|
|
@@ -51,6 +52,7 @@ export interface ICreateRequest {
|
|
|
51
52
|
export interface IImportToClientProposalRequest {
|
|
52
53
|
pre_sale_id: string;
|
|
53
54
|
document_header_id: string;
|
|
55
|
+
updated_by?: string;
|
|
54
56
|
}
|
|
55
57
|
export interface IRepository {
|
|
56
58
|
find(selector: IPreSaleFindByUser): Promise<IFindResponseWithQuantityOfPlots[]>;
|
|
@@ -43,6 +43,7 @@ exports.updatePreSaleQuantityBody = joi_1.default
|
|
|
43
43
|
var removePlotBodyKeys = {
|
|
44
44
|
plot_id: joi_1.default.string().uuid(),
|
|
45
45
|
pre_sale_product_id: joi_1.default.string().uuid(),
|
|
46
|
+
updated_by: joi_1.default.string().uuid().optional(),
|
|
46
47
|
};
|
|
47
48
|
exports.removePlotBody = joi_1.default
|
|
48
49
|
.object()
|
|
@@ -52,6 +53,7 @@ exports.removePlotBody = joi_1.default
|
|
|
52
53
|
var importInToClientProposalBodyKeys = {
|
|
53
54
|
pre_sale_id: joi_1.default.string().uuid().required(),
|
|
54
55
|
document_header_id: joi_1.default.string().uuid().required(),
|
|
56
|
+
updated_by: joi_1.default.string().uuid().optional(),
|
|
55
57
|
};
|
|
56
58
|
exports.importInToClientProposalBody = joi_1.default
|
|
57
59
|
.object()
|
|
@@ -60,7 +62,7 @@ exports.importInToClientProposalBody = joi_1.default
|
|
|
60
62
|
var findQueryKeys = {};
|
|
61
63
|
exports.findQuery = joi_1.default.object().keys(findQueryKeys).messages(messages_1.messages);
|
|
62
64
|
var findByUserParamsKeys = {
|
|
63
|
-
created_by: joi_1.default.string().uuid().
|
|
65
|
+
created_by: joi_1.default.string().uuid().required(),
|
|
64
66
|
};
|
|
65
67
|
exports.findByUserParams = joi_1.default
|
|
66
68
|
.object()
|