@nomalism-com/api 0.19.66 → 0.19.68
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,12 +1,10 @@
|
|
|
1
1
|
import Nomalism from "@nomalism-com/types";
|
|
2
2
|
import { IModuleConstructor } from "../../main";
|
|
3
|
-
export import productGoogleSheetsRequest = Nomalism.shared.IProductsForSheetsRequest;
|
|
4
|
-
export import productGoogleSheetsResponse = Nomalism.shared.IProductsForSheetsResponse;
|
|
5
3
|
export default class Repository implements Nomalism.ProductGoogleSheets.IController {
|
|
6
4
|
route: string;
|
|
7
5
|
publicRoute: string;
|
|
8
6
|
private api;
|
|
9
7
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
10
|
-
fromNomaToSheets(selector:
|
|
11
|
-
fromSheetsToNoma(body:
|
|
8
|
+
fromNomaToSheets(selector: Nomalism.shared.IProductsSheetsRequest): Promise<Nomalism.Product.IProductsForSheetsResponse[]>;
|
|
9
|
+
fromSheetsToNoma(body: Nomalism.shared.IProductsForNomaResponse[]): Promise<void>;
|
|
12
10
|
}
|
|
@@ -53,6 +53,6 @@ export default class Repository implements Nomalism.Product.IApi {
|
|
|
53
53
|
duplicateProduct(selector: Nomalism.shared.IFindByIdRequest, body: IDuplicateProductRequest): Promise<string>;
|
|
54
54
|
printLabelToPdfUrl({ id }: Nomalism.shared.IFindByIdRequest, token: string): string;
|
|
55
55
|
updateGoogleSheetsLinesProduct(body: Nomalism.shared.IFindByIdRequest[]): Promise<void>;
|
|
56
|
-
fromNomaToSheets(params: Nomalism.shared.
|
|
57
|
-
fromSheetsToNoma(body: Nomalism.shared.
|
|
56
|
+
fromNomaToSheets(params: Nomalism.shared.IProductsSheetsRequest): Promise<Nomalism.Product.IProductsForSheetsResponse[]>;
|
|
57
|
+
fromSheetsToNoma(body: Nomalism.shared.IProductsForNomaResponse[]): Promise<void>;
|
|
58
58
|
}
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"typescript",
|
|
10
10
|
"helper"
|
|
11
11
|
],
|
|
12
|
-
"version": "0.19.
|
|
12
|
+
"version": "0.19.68",
|
|
13
13
|
"main": "dist/index.min.js",
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"files": [
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"tslib": "^2.6.2"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@nomalism-com/types": "^0.19.
|
|
47
|
+
"@nomalism-com/types": "^0.19.121",
|
|
48
48
|
"axios": "^0.27.2"
|
|
49
49
|
}
|
|
50
50
|
}
|