nextemos 6.0.11 → 6.0.13

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,15 @@
1
1
  import { IApiResponse, IBannerContainersResponse, IBannerResponse, IBannersResponse, IRequestBase, IRequestInit, IService } from '../..';
2
2
  export interface IGetBannerByIdRequest extends IRequestBase {
3
3
  id: number;
4
+ includes?: string[];
4
5
  }
5
6
  export interface IGetBannerByNameRequest extends IRequestBase {
6
7
  name: string;
8
+ includes?: string[];
7
9
  }
8
10
  export interface IGetBannerByKeyRequest extends IRequestBase {
9
11
  key: string;
12
+ includes?: string[];
10
13
  }
11
14
  export interface IGetBannerListRequest extends IRequestBase {
12
15
  bannerContainerIds?: number[];
@@ -16,6 +19,7 @@ export interface IGetBannerListRequest extends IRequestBase {
16
19
  pageSize?: number;
17
20
  currentPage?: number;
18
21
  bannerKeys?: string[];
22
+ includes?: string[];
19
23
  }
20
24
  export interface IGetBannerContainerListRequest extends IRequestBase {
21
25
  ids?: number[];
@@ -23,6 +27,7 @@ export interface IGetBannerContainerListRequest extends IRequestBase {
23
27
  keys?: string[];
24
28
  pageSize?: number;
25
29
  currentPage?: number;
30
+ includes?: string[];
26
31
  }
27
32
  export interface IBannerService extends IService {
28
33
  GetBannerById: (data: IGetBannerByIdRequest, options?: IRequestInit) => Promise<IApiResponse<IBannerResponse>>;
@@ -55,7 +55,7 @@ export interface ILoginRequest extends IRequestBase {
55
55
  }
56
56
  export interface IContactApprovalMessageRequest extends IRequestBase {
57
57
  memberValidationType: "Email" | "Mobile";
58
- memberToken: string;
58
+ memberToken?: string;
59
59
  }
60
60
  export interface IApproveValidationTokenRequest extends IRequestBase {
61
61
  token: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextemos",
3
- "version": "6.0.11",
3
+ "version": "6.0.13",
4
4
  "description": "For helpers and hooks used in NextJS projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",