@nomalism-com/types 0.14.13 → 0.14.15
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.
|
@@ -233,6 +233,7 @@ export interface IRepository {
|
|
|
233
233
|
deleteOne(selector: IShared.IFindByIdRequest): Promise<void>;
|
|
234
234
|
duplicateProduct(selector: IShared.IFindByIdRequest, body: IDuplicateProductRequest): Promise<string>;
|
|
235
235
|
googleSheetsFieldsByRef(selector: IFindByReferenceRequest): Promise<string>;
|
|
236
|
+
updateGoogleSheetsLinesProduct(selector: IShared.IFindByIdRequest[]): Promise<void>;
|
|
236
237
|
}
|
|
237
238
|
export type IApi = Omit<IRepository, 'getLabelData'>;
|
|
238
239
|
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
|
@@ -326,22 +326,23 @@ export interface IFindByTypeRequest {
|
|
|
326
326
|
}
|
|
327
327
|
export interface IFindByTypeLine {
|
|
328
328
|
document_line_id: string;
|
|
329
|
-
product_id: string;
|
|
330
|
-
designation: string;
|
|
331
|
-
reference: string;
|
|
332
329
|
quantity: number;
|
|
333
|
-
measure: string;
|
|
334
|
-
thumbnail: string | null;
|
|
335
330
|
total_without_tax: number;
|
|
336
331
|
total: number;
|
|
332
|
+
product_id: string | null;
|
|
333
|
+
designation: string | null;
|
|
334
|
+
reference: string | null;
|
|
335
|
+
measure: string | null;
|
|
336
|
+
thumbnail: string | null;
|
|
337
337
|
}
|
|
338
338
|
export interface IFindByTypeResponse {
|
|
339
339
|
document_header_id: string;
|
|
340
|
+
document_name: string;
|
|
341
|
+
pdf_link: string | null;
|
|
340
342
|
owner_number: number;
|
|
343
|
+
billing_persona_name: string | null;
|
|
341
344
|
emission_date: string;
|
|
342
|
-
|
|
343
|
-
name: string;
|
|
344
|
-
pdf_link: string | null;
|
|
345
|
+
created_by: string;
|
|
345
346
|
lines: IFindByTypeLine[];
|
|
346
347
|
}
|
|
347
348
|
export interface IRepository {
|