@nomalism-com/types 0.10.60 → 0.10.61

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.
@@ -4,7 +4,7 @@ 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
+ import { IConflictFindByOwnerIdResponse } from '../propostaSheets/interface';
8
8
  export type Entity = DocumentLine;
9
9
  export declare const Route = "documentLine";
10
10
  export declare const UpperName = "DocumentLine";
@@ -140,7 +140,7 @@ export interface IEntityExtended extends DocumentLine {
140
140
  document_headers: IDocumentLineDocuments[];
141
141
  document_line_folder: DocumentLineFolder | null;
142
142
  plot: IPlot.IFindDetailedResponseWithoutCurrentDocumentLine | null;
143
- pending_conflict: IDocumentLinePendingConflictWithUpdatedPriceSale | null;
143
+ pending_conflict: IConflictFindByOwnerIdResponse | null;
144
144
  }
145
145
  export interface ICreateRequest extends Omit<IDocumentLineAssoc.ICreateRequest, 'document_line_id'> {
146
146
  document_line_id?: string;
@@ -1,9 +1,6 @@
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
- }
7
4
  export declare const Route = "documentLine_pending_conflict";
8
5
  export declare const UpperName = "DocumentLinePendingConflict";
9
6
  export declare const LowerName: string;
@@ -22,6 +19,7 @@ export interface IConflictFindByOwnerIdResponse extends Entity {
22
19
  designation: string;
23
20
  reference: string;
24
21
  };
22
+ updated_price_sale: number;
25
23
  }
26
24
  export interface ICreateSheetFromDocumentResponse {
27
25
  google_sheet_id: string;
@@ -31,7 +29,7 @@ export interface IRepository {
31
29
  conflictCreate(params: IShared.IFindByIdRequest, data: IConflictCreateRequest): Promise<void>;
32
30
  conflictAccept(params: IShared.IFindByIdRequest): Promise<void>;
33
31
  conflictDelete(params: IShared.IFindByIdRequest): Promise<void>;
34
- conflictFindByOwnerId(params: IShared.IFindByOwnerIdRequest): Promise<IDocumentLinePendingConflictWithUpdatedPriceSale[]>;
32
+ conflictFindByOwnerId(params: IShared.IFindByOwnerIdRequest): Promise<IConflictFindByOwnerIdResponse[]>;
35
33
  }
36
34
  export type IApi = Omit<IRepository, 'conflictCreate' | 'createSheetFromDocument'> & {
37
35
  createSheetFromDocument(params: IShared.IFindByIdRequest): Promise<ICreateSheetFromDocumentResponse>;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.10.60",
12
+ "version": "0.10.61",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [