@nomalism-com/types 0.33.30 → 0.33.31

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.
@@ -2,7 +2,6 @@ import * as IShared from '../../../shared/interface';
2
2
  import { DocumentHeader, DocumentHeaderClientVirtuals, DocumentHeaderProviderVirtuals, DocumentHeaderVirtuals, DocumentHeaderBaseVirtuals, DocumentType, StartDocumentHeaderVirtuals, DocumentHeaderClientPaymentVirtuals, DocumentLineNote } from '../../../shared/entities';
3
3
  import * as IDocumentType from '../documentType/interfaces';
4
4
  import * as IPayment from '../payment/interface';
5
- import { IFindByDocumentLineStateResponse } from '../../stock/sideMenu/interface';
6
5
  export type Entity = Omit<DocumentHeader, 'external_data'>;
7
6
  export declare const Route = "documentHeader";
8
7
  export declare const UpperName = "DocumentHeader";
@@ -282,7 +281,22 @@ export interface IFindStartDocumentHeaderSiblingsResponse {
282
281
  next: string | null;
283
282
  previous: string | null;
284
283
  }
285
- export type IFindRmOpenDocuments = Omit<IFindByDocumentLineStateResponse, 'unread'>;
284
+ export interface IFindRmOpenDocuments {
285
+ created_at: string;
286
+ created_by: string;
287
+ document_header_id: string;
288
+ document_number: string;
289
+ identifier: string;
290
+ tags: string | null;
291
+ upfront_total: number | null;
292
+ who_handles: string | null;
293
+ document_lines: {
294
+ document_line_id: string;
295
+ product_id: string;
296
+ product_reference: string;
297
+ designation: string;
298
+ }[];
299
+ }
286
300
  export interface IRepository {
287
301
  findOne(selector: IShared.IFindByIdRequest): Promise<IFindOneResponse | null>;
288
302
  findStart(selector: IShared.IFindByIdRequest): Promise<IFindOneBase | null>;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.33.30",
12
+ "version": "0.33.31",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [