@nomalism-com/types 0.10.58 → 0.10.60
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.
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as IShared from '../../../shared/interface';
|
|
2
|
-
import { DocumentLine, DocumentLineBaseVirtuals, DocumentLineVirtuals, DocumentLineFolder
|
|
2
|
+
import { DocumentLine, DocumentLineBaseVirtuals, DocumentLineVirtuals, DocumentLineFolder } from '../../../shared/entities';
|
|
3
3
|
import * as IDocumentLineAssoc from '../documentLineAssoc/interfaces';
|
|
4
4
|
import * as IDocumentHeader from '../documentHeader/interfaces';
|
|
5
5
|
import * as IDocumentType from '../documentType/interfaces';
|
|
6
6
|
import * as IPlot from '../../stock/plot/interface';
|
|
7
|
+
import { IDocumentLinePendingConflictWithUpdatedPriceSale } from '../propostaSheets/interface';
|
|
7
8
|
export type Entity = DocumentLine;
|
|
8
9
|
export declare const Route = "documentLine";
|
|
9
10
|
export declare const UpperName = "DocumentLine";
|
|
@@ -139,7 +140,7 @@ export interface IEntityExtended extends DocumentLine {
|
|
|
139
140
|
document_headers: IDocumentLineDocuments[];
|
|
140
141
|
document_line_folder: DocumentLineFolder | null;
|
|
141
142
|
plot: IPlot.IFindDetailedResponseWithoutCurrentDocumentLine | null;
|
|
142
|
-
pending_conflict:
|
|
143
|
+
pending_conflict: IDocumentLinePendingConflictWithUpdatedPriceSale | null;
|
|
143
144
|
}
|
|
144
145
|
export interface ICreateRequest extends Omit<IDocumentLineAssoc.ICreateRequest, 'document_line_id'> {
|
|
145
146
|
document_line_id?: string;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as IShared from '../../../shared/interface';
|
|
2
2
|
import { DocumentLinePendingConflict, DocumentLine } from '../../../shared/entities';
|
|
3
3
|
export type Entity = DocumentLinePendingConflict;
|
|
4
|
+
export interface IDocumentLinePendingConflictWithUpdatedPriceSale extends Entity {
|
|
5
|
+
updated_price_sale: number;
|
|
6
|
+
}
|
|
4
7
|
export declare const Route = "documentLine_pending_conflict";
|
|
5
8
|
export declare const UpperName = "DocumentLinePendingConflict";
|
|
6
9
|
export declare const LowerName: string;
|
|
@@ -28,7 +31,7 @@ export interface IRepository {
|
|
|
28
31
|
conflictCreate(params: IShared.IFindByIdRequest, data: IConflictCreateRequest): Promise<void>;
|
|
29
32
|
conflictAccept(params: IShared.IFindByIdRequest): Promise<void>;
|
|
30
33
|
conflictDelete(params: IShared.IFindByIdRequest): Promise<void>;
|
|
31
|
-
conflictFindByOwnerId(params: IShared.IFindByOwnerIdRequest): Promise<
|
|
34
|
+
conflictFindByOwnerId(params: IShared.IFindByOwnerIdRequest): Promise<IDocumentLinePendingConflictWithUpdatedPriceSale[]>;
|
|
32
35
|
}
|
|
33
36
|
export type IApi = Omit<IRepository, 'conflictCreate' | 'createSheetFromDocument'> & {
|
|
34
37
|
createSheetFromDocument(params: IShared.IFindByIdRequest): Promise<ICreateSheetFromDocumentResponse>;
|