@nomalism-com/types 0.9.503 → 0.9.504
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.
|
@@ -95,7 +95,6 @@ interface IRepository {
|
|
|
95
95
|
finalizarEntradaMaterial(data: IFinalizarEntradaDeMaterialRequest): Promise<IShared.IBrokerMessage<IShared.IBrokerTopic>[]>;
|
|
96
96
|
undoEntradaMaterial(data: IUndoEntradaDeMaterialRequest): Promise<void>;
|
|
97
97
|
findUnfinishedPickings(selector: IShared.IFindByIdRequest): Promise<IUnfinishedPickingsResponse[]>;
|
|
98
|
-
findByPickingId(selector: IGetMaterialEntranceInfoRequest): Promise<IGetMaterialEntranceInfoResponse>;
|
|
99
98
|
}
|
|
100
99
|
export type IApi = Omit<IRepository, 'finalizarEntradaMaterial'> & {
|
|
101
100
|
finalizarEntradaMaterial(data: IFinalizarEntradaDeMaterialRequest): Promise<void>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import joi from 'joi';
|
|
2
2
|
export declare const finalizarEntradaDeMaterialBody: joi.ObjectSchema<any>;
|
|
3
3
|
export declare const undoEntradaDeMaterialBody: joi.ObjectSchema<any>;
|
|
4
|
-
export declare const getMaterialEntranceInfoQuery: joi.ObjectSchema<any>;
|
|
5
4
|
export declare const printLabelParams: joi.ObjectSchema<any>;
|
|
6
5
|
export declare const printLabelQuery: joi.ObjectSchema<any>;
|
|
@@ -13,7 +13,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
13
13
|
};
|
|
14
14
|
var _a, _b;
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.printLabelQuery = exports.printLabelParams = exports.
|
|
16
|
+
exports.printLabelQuery = exports.printLabelParams = exports.undoEntradaDeMaterialBody = exports.finalizarEntradaDeMaterialBody = void 0;
|
|
17
17
|
var joi_1 = __importDefault(require("joi"));
|
|
18
18
|
var messages_1 = require("../../../shared/messages");
|
|
19
19
|
var interfaces_1 = require("./interfaces");
|
|
@@ -91,13 +91,6 @@ exports.undoEntradaDeMaterialBody = joi_1.default
|
|
|
91
91
|
.object()
|
|
92
92
|
.keys(undoEntradaDeMaterialBodyKeys)
|
|
93
93
|
.messages(messages_1.messages);
|
|
94
|
-
var getMaterialEntranceInfoQueryKeys = {
|
|
95
|
-
ef_dla_ids: joi_1.default.array().items(joi_1.default.string().uuid().required()).required(),
|
|
96
|
-
};
|
|
97
|
-
exports.getMaterialEntranceInfoQuery = joi_1.default
|
|
98
|
-
.object()
|
|
99
|
-
.keys(getMaterialEntranceInfoQueryKeys)
|
|
100
|
-
.messages(messages_1.messages);
|
|
101
94
|
var printLabelParamsKeys = {
|
|
102
95
|
document_line_assoc_id: joi_1.default.string().uuid().required(),
|
|
103
96
|
quantity: joi_1.default.number().positive().required(),
|
|
@@ -11,7 +11,6 @@ export interface ICreateRequest {
|
|
|
11
11
|
data: unknown;
|
|
12
12
|
}
|
|
13
13
|
export interface IRepository {
|
|
14
|
-
findByProviderId(params: IShared.IFindByIdRequest): Promise<Entity[]>;
|
|
15
14
|
create(data: ICreateRequest): Promise<Entity>;
|
|
16
15
|
deleteOne(selector: IShared.IFindByIdRequest): Promise<Entity | null>;
|
|
17
16
|
}
|