kcommons 5.3.11 → 5.3.12

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.d.ts CHANGED
@@ -33,3 +33,4 @@ export * from "./constants/form.constants";
33
33
  export * from "./typings/quote.typings";
34
34
  export * from "./typings/common/paginationFilters.typings";
35
35
  export * from "./classes/asnWrapper.class";
36
+ export * from "./typings/utils/address.typings";
package/build/index.js CHANGED
@@ -54,3 +54,5 @@ __exportStar(require("./typings/quote.typings"), exports);
54
54
  __exportStar(require("./typings/common/paginationFilters.typings"), exports);
55
55
  // Classe
56
56
  __exportStar(require("./classes/asnWrapper.class"), exports);
57
+ // Utils
58
+ __exportStar(require("./typings/utils/address.typings"), exports);
@@ -5,7 +5,8 @@ import { INestedPurchaseLocation } from "./purchaseLocation.typings";
5
5
  import { INestedRole } from "./roles.typings";
6
6
  import { INestedStoreLocation } from "./storeLocation.typings";
7
7
  import { INestedUser } from "./user.typings";
8
- export interface IOffice {
8
+ import { IAddress } from "./utils/address.typings";
9
+ export interface IOffice extends IAddress {
9
10
  id: string;
10
11
  office_name: string;
11
12
  office_code: string;
@@ -14,12 +15,6 @@ export interface IOffice {
14
15
  is_deleted: boolean;
15
16
  is_enabled: boolean;
16
17
  primary_contact_person_id?: string;
17
- pincode?: string;
18
- area?: string;
19
- state?: string;
20
- city?: string;
21
- country?: string;
22
- address?: string;
23
18
  deleted_at?: string;
24
19
  created_at: string;
25
20
  updated_at: string;
@@ -0,0 +1,8 @@
1
+ export interface IAddress {
2
+ pincode?: string;
3
+ area?: string;
4
+ state?: string;
5
+ city?: string;
6
+ country?: string;
7
+ address?: string;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "5.3.11",
3
+ "version": "5.3.12",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.js",