@nomalism-com/types 0.28.39 → 0.28.41
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
|
+
sent_to_provider?: boolean;
|
|
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(selector: IShared.IFindByIdRequest, data: IUpdateManyByDocumentHeaderRequest): Promise<void>;
|
|
141
145
|
updateIndexes(document_line_ids: string[]): Promise<void>;
|
|
142
146
|
deleteMany(document_line_ids: string[]): Promise<void>;
|
|
143
147
|
}
|