@nomalism-com/types 0.19.122 → 0.19.123
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.
|
@@ -3,7 +3,6 @@ import { Attribute, Product, ProductName, UnitOfMeasure, ProductSubCategory, Pro
|
|
|
3
3
|
import * as IProductPart from "../productPart/interface";
|
|
4
4
|
import * as IProductAttribute from "../productAttribute/interface";
|
|
5
5
|
import * as IDocumentLine from "../../supply/documentLine/interfaces";
|
|
6
|
-
import { IProductsForNomaResponse, IProductsSheetsRequest } from "../../../shared/interface";
|
|
7
6
|
export type Entity = Product;
|
|
8
7
|
export declare const Route = "product";
|
|
9
8
|
export declare const UpperName = "Product";
|
|
@@ -268,8 +267,6 @@ export interface IRepository {
|
|
|
268
267
|
duplicateProduct(selector: IShared.IFindByIdRequest, body: IDuplicateProductRequest): Promise<string>;
|
|
269
268
|
googleSheetsFieldsByRef(selector: IFindByReferenceRequest): Promise<string>;
|
|
270
269
|
updateGoogleSheetsLinesProduct(selector: IShared.IFindByIdRequest[]): Promise<void>;
|
|
271
|
-
fromNomaToSheets(params: IProductsSheetsRequest): Promise<IProductsForSheetsResponse[]>;
|
|
272
|
-
fromSheetsToNoma(data: IProductsForNomaResponse[]): Promise<void>;
|
|
273
270
|
}
|
|
274
271
|
export type IApi = Omit<IRepository, "getLabelData">;
|
|
275
272
|
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IProductsForSheetsResponse } from "../../stock/product/interface";
|
|
2
|
+
import { IProductsForNomaResponse, IProductsSheetsRequest } from "../../../shared/interface";
|
|
3
|
+
export declare const Route = "product_google";
|
|
4
|
+
export declare const UpperName = "ProductGoogle";
|
|
5
|
+
export declare const LowerName: string;
|
|
6
|
+
export interface IController {
|
|
7
|
+
fromNomaToSheets(params: IProductsSheetsRequest): Promise<IProductsForSheetsResponse[]>;
|
|
8
|
+
fromSheetsToNoma(params: IProductsSheetsRequest): Promise<IProductsForNomaResponse[]>;
|
|
9
|
+
}
|