@nomalism-com/types 0.10.37 → 0.10.39
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/document/order/interfaces.d.ts +1 -0
- package/dist/modules/document/order/interfaces.js +1 -0
- package/dist/modules/stock/plot/interface.d.ts +2 -0
- package/dist/modules/stock/plot/route.schema.js +2 -0
- package/dist/modules/stock/productImage/interface.d.ts +2 -0
- package/dist/modules/stock/productImage/route.schema.js +2 -0
- package/dist/modules/supply/cabideProduct/interface.d.ts +2 -0
- package/dist/modules/supply/cabideProduct/route.schema.js +2 -0
- package/dist/modules/supply/preSale/interface.d.ts +4 -0
- package/dist/modules/supply/preSale/route.schema.js +2 -0
- package/package.json +1 -1
|
@@ -15,6 +15,7 @@ export declare const ConferirEncomendaClienteOptionsEnum: {
|
|
|
15
15
|
'Espera Consulta Stock': 'Espera Consulta Stock';
|
|
16
16
|
'Espera Cotação': 'Espera Cotação';
|
|
17
17
|
'Encomendar VA': 'Encomendar VA';
|
|
18
|
+
'Encomendar VA sem notificação': 'Encomendar VA sem notificação';
|
|
18
19
|
'Encomendar Stock': 'Encomendar Stock';
|
|
19
20
|
'Cancelar Encomendar': 'Cancelar Encomendar';
|
|
20
21
|
'Stock em Loja': 'Stock em Loja';
|
|
@@ -14,6 +14,7 @@ exports.ConferirEncomendaClienteOptionsEnum = {
|
|
|
14
14
|
'Espera Consulta Stock': 'Espera Consulta Stock',
|
|
15
15
|
'Espera Cotação': 'Espera Cotação',
|
|
16
16
|
'Encomendar VA': 'Encomendar VA',
|
|
17
|
+
'Encomendar VA sem notificação': 'Encomendar VA sem notificação',
|
|
17
18
|
'Encomendar Stock': 'Encomendar Stock',
|
|
18
19
|
'Cancelar Encomendar': 'Cancelar Encomendar',
|
|
19
20
|
'Stock em Loja': 'Stock em Loja',
|
|
@@ -169,6 +169,8 @@ export interface ICreateInventoryRequest {
|
|
|
169
169
|
inventory_quantity: number;
|
|
170
170
|
new_plot_id: string;
|
|
171
171
|
is_virtual?: boolean;
|
|
172
|
+
created_by?: string;
|
|
173
|
+
updated_by?: string;
|
|
172
174
|
}
|
|
173
175
|
export interface IRepository {
|
|
174
176
|
findById(id: string): Promise<Entity | null>;
|
|
@@ -99,6 +99,8 @@ var createInventoryRequestKeys = {
|
|
|
99
99
|
inventory_quantity: joi_1.default.number().positive().allow(0).required(),
|
|
100
100
|
new_plot_id: joi_1.default.string().uuid().required(),
|
|
101
101
|
is_virtual: joi_1.default.boolean().default(false).optional(),
|
|
102
|
+
created_by: joi_1.default.string().uuid().optional(),
|
|
103
|
+
updated_by: joi_1.default.string().uuid().optional(),
|
|
102
104
|
};
|
|
103
105
|
exports.createInventoryRequest = joi_1.default
|
|
104
106
|
.object()
|
|
@@ -14,6 +14,8 @@ var createBodyKeys = {
|
|
|
14
14
|
.valid.apply(_a, interface_1.imageTypes).required(),
|
|
15
15
|
product_id: joi_1.default.string().uuid().required(),
|
|
16
16
|
multimedia_id: joi_1.default.string().uuid().required(),
|
|
17
|
+
created_by: joi_1.default.string().uuid().optional(),
|
|
18
|
+
updated_by: joi_1.default.string().uuid().optional(),
|
|
17
19
|
};
|
|
18
20
|
exports.createBody = joi_1.default.object().keys(createBodyKeys).messages(messages_1.messages);
|
|
19
21
|
var updateBodyKeys = {
|
|
@@ -72,6 +72,8 @@ export interface IFindCabideByOwnerResponse extends Entity {
|
|
|
72
72
|
export interface ICreateProductByCabideProductIdRequest {
|
|
73
73
|
cabide_product_id: string;
|
|
74
74
|
cabide_product_color: string;
|
|
75
|
+
created_by?: string;
|
|
76
|
+
updated_by?: string;
|
|
75
77
|
}
|
|
76
78
|
export interface IFindPaginatedRequest extends IShared.IFindByOwnerIdRequest, IShared.IPaginationRequest {
|
|
77
79
|
}
|
|
@@ -46,6 +46,8 @@ exports.updateBody = joi_1.default.object().keys(updateBodyKeys).messages(messag
|
|
|
46
46
|
var createByProductIdBodyKeys = {
|
|
47
47
|
cabide_product_id: joi_1.default.string().uuid().required(),
|
|
48
48
|
cabide_product_color: joi_1.default.string().required(),
|
|
49
|
+
created_by: joi_1.default.string().uuid().optional(),
|
|
50
|
+
updated_by: joi_1.default.string().uuid().optional(),
|
|
49
51
|
};
|
|
50
52
|
exports.createByProductIdBody = joi_1.default
|
|
51
53
|
.object()
|
|
@@ -27,10 +27,12 @@ export interface IUpdateRequest {
|
|
|
27
27
|
barcode?: string;
|
|
28
28
|
plot?: IPreSaleData | null;
|
|
29
29
|
product?: IPreSaleData | null;
|
|
30
|
+
updated_by?: string;
|
|
30
31
|
}
|
|
31
32
|
export interface IUpdatePreSaleQuantityRequest {
|
|
32
33
|
type: 'plot' | 'product';
|
|
33
34
|
quantity: number;
|
|
35
|
+
updated_by?: string;
|
|
34
36
|
}
|
|
35
37
|
interface IRemovePlotOrPreSaleProduct {
|
|
36
38
|
plot_id?: string;
|
|
@@ -40,6 +42,8 @@ export type IRemovePlotOrPreSaleProductRequest = IShared.RequireOnlyOne<IRemoveP
|
|
|
40
42
|
export interface ICreateRequest {
|
|
41
43
|
plot?: IPreSaleData;
|
|
42
44
|
product?: IPreSaleData;
|
|
45
|
+
created_by?: string;
|
|
46
|
+
updated_by?: string;
|
|
43
47
|
}
|
|
44
48
|
export interface IImportToClientProposalRequest {
|
|
45
49
|
pre_sale_id: string;
|
|
@@ -13,6 +13,8 @@ var schemaTypePlot = joi_1.default.object().keys({
|
|
|
13
13
|
var createBodyKeys = {
|
|
14
14
|
plot: schemaTypePlot,
|
|
15
15
|
product: schemaTypePlot,
|
|
16
|
+
created_by: joi_1.default.string().uuid().optional(),
|
|
17
|
+
updated_by: joi_1.default.string().uuid().optional(),
|
|
16
18
|
};
|
|
17
19
|
exports.createBody = joi_1.default
|
|
18
20
|
.object()
|