@nomalism-com/types 0.28.38 → 0.28.40

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.
@@ -107,6 +107,9 @@ export interface IUpdateManyRequest {
107
107
  provider_estimated_delivery_date?: Date | null;
108
108
  provider_purchase_discount?: number;
109
109
  }
110
+ export interface IUpdateManyByDocumentHeaderRequest {
111
+ document_header_id: string;
112
+ }
110
113
  export interface IUpdateDataRequestWithoutStamps extends Omit<IUpdateDataRequest, "payload"> {
111
114
  payload: Pick<IDataPayload, "value"> & {
112
115
  updated_by?: string;
@@ -138,6 +141,7 @@ export interface IRepository {
138
141
  update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<void>;
139
142
  updateData(data: IUpdateDataRequest): Promise<IUpdateLineStatesTriggerResponse>;
140
143
  updateMany(data: IUpdateManyRequest): Promise<void>;
144
+ updateManyByDocumentHeader(data: IUpdateManyByDocumentHeaderRequest): Promise<void>;
141
145
  updateIndexes(document_line_ids: string[]): Promise<void>;
142
146
  deleteMany(document_line_ids: string[]): Promise<void>;
143
147
  }
@@ -205,6 +205,7 @@ export type IBrokerTopicPayload = {
205
205
  provider_id: string;
206
206
  ef_dh_id: string;
207
207
  ef_pdf_link: string;
208
+ pf_number: string;
208
209
  provider_name: string;
209
210
  provider_email: string;
210
211
  };
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.28.38",
12
+ "version": "0.28.40",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [