@nomalism-com/types 0.27.56 → 0.27.58

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,5 +1,5 @@
1
- import { DocumentLineNote } from '../../../shared/entities';
2
- import * as IShared from '../../../shared/interface';
1
+ import { DocumentLineNote } from "../../../shared/entities";
2
+ import * as IShared from "../../../shared/interface";
3
3
  export declare const Route = "return_to_provider";
4
4
  export declare const UpperName = "ReturnToProvider";
5
5
  export declare const LowerName: string;
@@ -8,7 +8,8 @@ export interface IFindLinesToReturnResponse {
8
8
  df_name: string;
9
9
  pdf_link: string | null;
10
10
  document_line_id: string;
11
- id_provider: number;
11
+ provider_id: string;
12
+ edh_id: string;
12
13
  reference: string;
13
14
  designation: string;
14
15
  thumbnail: string | null;
@@ -37,6 +38,6 @@ export interface IRepository {
37
38
  findLinesToReturnProviders(): Promise<IShared.IFindMinifiedResponse[]>;
38
39
  }
39
40
  export type IController = IShared.IEntityWithUserToken<IRepository>;
40
- export interface IApi extends Omit<IRepository, 'checkLinesToReturn'> {
41
+ export interface IApi extends Omit<IRepository, "checkLinesToReturn"> {
41
42
  checkLinesToReturn(params: ICheckLinesToReturnRequest): Promise<void>;
42
43
  }
@@ -13,4 +13,5 @@ export declare const projectInfoTypes: string[];
13
13
  export type ISendEmail = Omit<Entity, "created_at" | "updated_at" | "document_header_id" | "id">;
14
14
  export interface IController {
15
15
  sendEmail(data: ISendEmail): Promise<void>;
16
+ setDocumentHeaderId(project_info_id: string, document_header_id: string): Promise<void>;
16
17
  }
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.27.56",
12
+ "version": "0.27.58",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [