@nomalism-com/types 0.16.35 → 0.16.37
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.
|
@@ -338,6 +338,20 @@ export interface IFindByTypeResponse {
|
|
|
338
338
|
created_by: string;
|
|
339
339
|
lines: IFindByTypeLine[];
|
|
340
340
|
}
|
|
341
|
+
export interface IDocumentListResponse {
|
|
342
|
+
link_user_type: IDocumentType.IDocumentTypeUserType | null;
|
|
343
|
+
link_owner_id: string | null;
|
|
344
|
+
link_document_number: number | null;
|
|
345
|
+
link_closed: boolean | null;
|
|
346
|
+
emission_date: Date;
|
|
347
|
+
virtual_name: string;
|
|
348
|
+
external_virtual_name: string;
|
|
349
|
+
document_number: string;
|
|
350
|
+
total: number;
|
|
351
|
+
line_Count: number;
|
|
352
|
+
proposal_link: string;
|
|
353
|
+
pdf_link: string;
|
|
354
|
+
}
|
|
341
355
|
export interface IRepository {
|
|
342
356
|
findMinified(params?: IShared.IFindMinifiedRequest): Promise<IShared.IFindMinifiedResponse[]>;
|
|
343
357
|
findOne(selector: IShared.IFindByIdRequest): Promise<IFindOneResponse | null>;
|
|
@@ -367,6 +381,7 @@ export interface IRepository {
|
|
|
367
381
|
sendClientNotification(selector: IShared.IFindByIdRequest, data: ISendClientNotificationRequest): Promise<void>;
|
|
368
382
|
markUnsentClientNotification(selector: IShared.IFindByIdRequest): Promise<void>;
|
|
369
383
|
documentPdf(selector: IShared.IFindByIdRequest, data: IDocumentPdfRequest): Promise<string>;
|
|
384
|
+
documentList(selector: IShared.IFindByIdRequest): Promise<IDocumentListResponse[]>;
|
|
370
385
|
}
|
|
371
386
|
export type IApi = Omit<IRepository, 'createFromHeader' | 'createProductionOrder'> & {
|
|
372
387
|
createFromHeader(data: ICreateFromHeaderRequest): Promise<IShared.ITaskCluster[]>;
|