@nomalism-com/types 0.16.34 → 0.16.36
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.
|
@@ -40,7 +40,7 @@ export interface IRepository {
|
|
|
40
40
|
putLineInPrison(params: IShared.IFindByIdRequest): Promise<void>;
|
|
41
41
|
removeLineFromPrison(params: IShared.IFindByIdRequest): Promise<void>;
|
|
42
42
|
checkLinesInPrison(params: ICheckLinesInPrisonRequest): Promise<IShared.IBrokerMessage<IShared.IBrokerTopic>[]>;
|
|
43
|
-
createLinesInPrison(params: ICreateLinesInPrisonRequest): Promise<string>;
|
|
43
|
+
createLinesInPrison(params: ICreateLinesInPrisonRequest): Promise<string[]>;
|
|
44
44
|
}
|
|
45
45
|
export type IApi = Omit<IRepository, 'checkLinesInPrison'> & {
|
|
46
46
|
checkLinesInPrison(params: ICheckLinesInPrisonRequest): Promise<void>;
|
|
@@ -338,6 +338,16 @@ export interface IFindByTypeResponse {
|
|
|
338
338
|
created_by: string;
|
|
339
339
|
lines: IFindByTypeLine[];
|
|
340
340
|
}
|
|
341
|
+
export interface IDocumentListResponse {
|
|
342
|
+
emission_date: Date;
|
|
343
|
+
virtual_name: string;
|
|
344
|
+
external_virtual_name: string;
|
|
345
|
+
document_number: string;
|
|
346
|
+
total: number;
|
|
347
|
+
line_Count: number;
|
|
348
|
+
proposal_link: string;
|
|
349
|
+
pdf_link: string;
|
|
350
|
+
}
|
|
341
351
|
export interface IRepository {
|
|
342
352
|
findMinified(params?: IShared.IFindMinifiedRequest): Promise<IShared.IFindMinifiedResponse[]>;
|
|
343
353
|
findOne(selector: IShared.IFindByIdRequest): Promise<IFindOneResponse | null>;
|
|
@@ -367,6 +377,7 @@ export interface IRepository {
|
|
|
367
377
|
sendClientNotification(selector: IShared.IFindByIdRequest, data: ISendClientNotificationRequest): Promise<void>;
|
|
368
378
|
markUnsentClientNotification(selector: IShared.IFindByIdRequest): Promise<void>;
|
|
369
379
|
documentPdf(selector: IShared.IFindByIdRequest, data: IDocumentPdfRequest): Promise<string>;
|
|
380
|
+
documentList(selector: IShared.IFindByIdRequest): Promise<IDocumentListResponse[]>;
|
|
370
381
|
}
|
|
371
382
|
export type IApi = Omit<IRepository, 'createFromHeader' | 'createProductionOrder'> & {
|
|
372
383
|
createFromHeader(data: ICreateFromHeaderRequest): Promise<IShared.ITaskCluster[]>;
|