@nomalism-com/types 0.16.4 → 0.16.6
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.
|
@@ -36,7 +36,7 @@ export declare const ConferirEncomendaClienteOptionsEnum: {
|
|
|
36
36
|
export type IConferirEncomendaClienteOptions = (typeof ConferirEncomendaClienteOptionsEnum)[keyof typeof ConferirEncomendaClienteOptionsEnum];
|
|
37
37
|
export declare const conferirEncomendaClienteOptions: string[];
|
|
38
38
|
export interface IConferirEncomendaClienteRequest {
|
|
39
|
-
|
|
39
|
+
document_line_id: string;
|
|
40
40
|
option: IConferirEncomendaClienteOptions;
|
|
41
41
|
id_provider?: number;
|
|
42
42
|
}
|
|
@@ -19,7 +19,7 @@ exports.undoProviderOrderBody = joi_1.default
|
|
|
19
19
|
.keys(undoProviderOrderBodyKeys)
|
|
20
20
|
.messages(messages_1.messages);
|
|
21
21
|
var conferirEncomendaClienteBodyKeys = {
|
|
22
|
-
|
|
22
|
+
document_line_id: joi_1.default.string().uuid().required(),
|
|
23
23
|
option: (_a = joi_1.default
|
|
24
24
|
.string())
|
|
25
25
|
.valid.apply(_a, interfaces_1.conferirEncomendaClienteOptions).required(),
|
|
@@ -187,18 +187,6 @@ export interface IUpdateDataRequestWithoutStamps extends Omit<IUpdateDataRequest
|
|
|
187
187
|
updated_by?: string;
|
|
188
188
|
};
|
|
189
189
|
}
|
|
190
|
-
export interface IFindUnallocatedStockResponse {
|
|
191
|
-
document_line_id: string;
|
|
192
|
-
id_provider: number;
|
|
193
|
-
product_id: string;
|
|
194
|
-
product_thumbnail: string | null;
|
|
195
|
-
product_reference: string;
|
|
196
|
-
product_designation: string;
|
|
197
|
-
quantity: number;
|
|
198
|
-
unit_of_measure_quantity_notation: string;
|
|
199
|
-
updated_by: string | null;
|
|
200
|
-
updated_at: Date;
|
|
201
|
-
}
|
|
202
190
|
export interface IFindByDocumentLineStateRequest {
|
|
203
191
|
document_type_id: number;
|
|
204
192
|
}
|
|
@@ -220,7 +208,6 @@ export interface IPrintLabelQueryRequest {
|
|
|
220
208
|
export interface IRepository {
|
|
221
209
|
findById(selector: IShared.IFindByIdRequest): Promise<DocumentLine | null>;
|
|
222
210
|
findByOwnerId(params: IShared.IFindByOwnerIdRequest): Promise<DocumentLine[]>;
|
|
223
|
-
findUnallocatedStock(): Promise<IFindUnallocatedStockResponse[]>;
|
|
224
211
|
findByState(data: IFindByDocumentLineStateRequest): Promise<IFindByDocumentLineStateResponse[]>;
|
|
225
212
|
create(data: ICreateRequest[]): Promise<IDocumentLineAssoc.IEntityWithDocumentLine[]>;
|
|
226
213
|
update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<void>;
|