kcommons 5.5.2 → 5.6.1

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.
package/build/index.js CHANGED
@@ -52,7 +52,7 @@ __exportStar(require("./constants/form.constants"), exports);
52
52
  __exportStar(require("./typings/quote.typings"), exports);
53
53
  // Commons
54
54
  __exportStar(require("./typings/common/paginationFilters.typings"), exports);
55
- // Classe
55
+ // Classes
56
56
  __exportStar(require("./classes/asnWrapper.class"), exports);
57
57
  // Utils
58
58
  __exportStar(require("./typings/utils/address.typings"), exports);
@@ -3,13 +3,27 @@ import { IPaginationFilters } from "./common/paginationFilters.typings";
3
3
  import { INestedDepartment } from "./department.typings";
4
4
  import { GATE_INCLUDE } from "./grn.typings";
5
5
  import { INestedRole } from "./roles.typings";
6
- export interface IGate {
6
+ import { INestedStoreLocation } from "./storeLocation.typings";
7
+ import { IAddress } from "./utils/address.typings";
8
+ export interface IGate extends IAddress {
7
9
  id: string;
10
+ gate_code: string;
11
+ gate_name: string;
12
+ company_id: string;
13
+ created_by_id: string;
14
+ incharge_id: string;
15
+ contact_person_id: string;
16
+ is_enabled: boolean;
17
+ is_deleted?: boolean | null;
18
+ deleted_at?: string | null;
19
+ created_at: string;
20
+ updated_at: string;
8
21
  approval_configs?: INestedApprovalConfig[] | null;
9
22
  departments?: INestedDepartment[] | null;
10
23
  roles?: INestedRole[] | null;
24
+ target_store_locations?: INestedStoreLocation[] | null;
11
25
  }
12
- export interface INestedGate extends Omit<IGate, " approval_config" | "departments" | "roles"> {
26
+ export interface INestedGate extends Omit<IGate, " approval_config" | "departments" | "roles" | "target_store_locations"> {
13
27
  }
14
28
  export interface IGateFilters {
15
29
  company_id?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "5.5.2",
3
+ "version": "5.6.1",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.js",