@nomalism-com/types 0.16.4 → 0.16.5
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.
|
@@ -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>;
|