nextemos 5.9.5 → 5.9.7

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.
@@ -288,6 +288,7 @@ export interface IConstraint {
288
288
  className: string;
289
289
  order: number;
290
290
  keyAsString: string;
291
+ parentId: number;
291
292
  }
292
293
  export interface IProductType {
293
294
  id: number;
@@ -70,7 +70,7 @@ exports.ProductService = {
70
70
  return (0, __1.fetchRequest)().post(exports.ProductService.Url(urls_1.default.ProductCategory.Hierarchy, options, data === null || data === void 0 ? void 0 : data.language), Object.assign(Object.assign({}, options), { body: JSON.stringify(data) }));
71
71
  }),
72
72
  GetCategoryByIdRequest: (data, options) => __awaiter(void 0, void 0, void 0, function* () {
73
- return (0, __1.fetchRequest)().post(exports.ProductService.Url(urls_1.default.ProductCategory.CategoryTree, options, data === null || data === void 0 ? void 0 : data.language), Object.assign(Object.assign({}, options), { body: JSON.stringify(data) }));
73
+ return (0, __1.fetchRequest)().post(exports.ProductService.Url(urls_1.default.ProductCategory.GetCategoryByIdRequest, options, data === null || data === void 0 ? void 0 : data.language), Object.assign(Object.assign({}, options), { body: JSON.stringify(data) }));
74
74
  }),
75
75
  ProductType: (data, options) => __awaiter(void 0, void 0, void 0, function* () {
76
76
  return (0, __1.fetchRequest)().post(exports.ProductService.Url(urls_1.default.ProductType.ProductType, options, data === null || data === void 0 ? void 0 : data.language), Object.assign(Object.assign({}, options), { body: JSON.stringify(data) }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextemos",
3
- "version": "5.9.5",
3
+ "version": "5.9.7",
4
4
  "description": "For helpers and hooks used in NextJS projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",