@nomalism-com/types 0.19.116 → 0.19.118
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,8 +1,8 @@
|
|
|
1
|
-
import { IProductsForSheetsRequest, IProductsForSheetsResponse } from "shared/interface";
|
|
1
|
+
import { IProductsForSheetsRequest, IProductsForSheetsResponse } from "../../../shared/interface";
|
|
2
2
|
export declare const Route = "product_google";
|
|
3
3
|
export declare const UpperName = "ProductGoogle";
|
|
4
4
|
export declare const LowerName: string;
|
|
5
5
|
export interface IController {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
fromNomaToSheets(params: IProductsForSheetsRequest): Promise<IProductsForSheetsResponse[]>;
|
|
7
|
+
fromSheetsToNoma(params: IProductsForSheetsResponse): Promise<void>;
|
|
8
8
|
}
|
|
@@ -267,8 +267,8 @@ export interface IRepository {
|
|
|
267
267
|
duplicateProduct(selector: IShared.IFindByIdRequest, body: IDuplicateProductRequest): Promise<string>;
|
|
268
268
|
googleSheetsFieldsByRef(selector: IFindByReferenceRequest): Promise<string>;
|
|
269
269
|
updateGoogleSheetsLinesProduct(selector: IShared.IFindByIdRequest[]): Promise<void>;
|
|
270
|
-
|
|
271
|
-
|
|
270
|
+
fromNomaToSheets(params: IProductsForSheetsRequest): Promise<IProductsForSheetsResponse[]>;
|
|
271
|
+
fromSheetsToNoma(data: IProductsForSheetsResponse[]): Promise<void>;
|
|
272
272
|
}
|
|
273
273
|
export type IApi = Omit<IRepository, "getLabelData">;
|
|
274
274
|
export type IController = IShared.IEntityWithUserToken<IRepository>;
|