nextemos 5.10.8 → 5.10.10

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.
@@ -80,6 +80,7 @@ export interface IProduct {
80
80
  attributeGroups?: IAttributeGroup[];
81
81
  attributes?: IAttributes[];
82
82
  priceVariations?: IPriceVariations[];
83
+ productHierarchy?: IProductHierarchy[];
83
84
  }
84
85
  export interface IPriceVariations {
85
86
  currencyId: number;
@@ -364,3 +365,14 @@ export interface IBrand {
364
365
  export interface IGetProductRelationsResponse extends IResponse {
365
366
  products: IProduct[];
366
367
  }
368
+ export interface IProductHierarchy {
369
+ id: number;
370
+ childId: number;
371
+ displayOnList: boolean;
372
+ isApproved: boolean;
373
+ minQuantity: number;
374
+ maxQuantity: number;
375
+ orderNo: number;
376
+ productId: number;
377
+ quantityFactor: number;
378
+ }
@@ -1,4 +1,4 @@
1
- import { IApiResponse, IBlogPostResponse, IBlogPostsResponse, IGetBlogCategoriesResponse, IGetBlogCategoryHierarchyResponse, IGetBlogCategoryResponse, IGetBlogCategoryTreeResponse, IGetBlogTagResponse, IGetBlogTagsResponse, IRequestBase, IRequestInit, IService } from '../..';
1
+ import { IApiResponse, IBlogPostResponse, IBlogPostsResponse, IGetBlogCategoriesResponse, IGetBlogCategoryHierarchyResponse, IGetBlogCategoryResponse, IGetBlogCategoryTreeResponse, IGetBlogTagResponse, IGetBlogTagsResponse, IRequestBase, IRequestInit, IService } from "../..";
2
2
  export interface AggregationFilter {
3
3
  field: string;
4
4
  keys: string[];
@@ -12,7 +12,7 @@ export interface IGetBlogPostsRequest extends IRequestBase {
12
12
  flags?: string | number | string[];
13
13
  searchTerm?: string;
14
14
  aggregationInterval?: string;
15
- sort?: string;
15
+ sort?: "Default" | "CustomDate" | "OldestToNewest" | "NewestToOldest";
16
16
  includes?: string[];
17
17
  aggregateBy?: string[];
18
18
  aggregationFilters?: AggregationFilter[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextemos",
3
- "version": "5.10.8",
3
+ "version": "5.10.10",
4
4
  "description": "For helpers and hooks used in NextJS projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",