kcommons 5.3.11 → 5.4.0
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 +1 -0
- package/build/index.js +2 -0
- package/build/typings/company.typings.d.ts +2 -7
- package/build/typings/offices.typings.d.ts +2 -7
- package/build/typings/purchaseLocation.typings.d.ts +2 -7
- package/build/typings/storeLocation.typings.d.ts +2 -7
- package/build/typings/utils/address.typings.d.ts +8 -0
- package/build/typings/utils/address.typings.js +2 -0
- package/build/typings/vendor.typings.d.ts +2 -7
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
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);
|
|
@@ -16,16 +16,16 @@ import { INestedRFQ } from "./rfq.typings";
|
|
|
16
16
|
import { INestedPermission, INestedRole } from "./roles.typings";
|
|
17
17
|
import { INestedStoreLocation } from "./storeLocation.typings";
|
|
18
18
|
import { INestedUser } from "./user.typings";
|
|
19
|
+
import { IAddress } from "./utils/address.typings";
|
|
19
20
|
import { INestedVendor } from "./vendor.typings";
|
|
20
21
|
import { INestedVendorGroups } from "./vendorGroup.typings";
|
|
21
|
-
export interface ICompany {
|
|
22
|
+
export interface ICompany extends IAddress {
|
|
22
23
|
id: string;
|
|
23
24
|
trade_name: string;
|
|
24
25
|
created_at: string | null;
|
|
25
26
|
updated_at: string | null;
|
|
26
27
|
is_deleted: boolean;
|
|
27
28
|
is_enabled: boolean;
|
|
28
|
-
pincode: string;
|
|
29
29
|
created_by_id?: string | null;
|
|
30
30
|
deleted_at?: string | null;
|
|
31
31
|
owner_id?: string | null;
|
|
@@ -34,11 +34,6 @@ export interface ICompany {
|
|
|
34
34
|
gst_no?: string | null;
|
|
35
35
|
legal_name?: string | null;
|
|
36
36
|
const_of_business?: string | null;
|
|
37
|
-
area?: string | null;
|
|
38
|
-
state?: string | null;
|
|
39
|
-
city?: string | null;
|
|
40
|
-
country?: string | null;
|
|
41
|
-
address?: string | null;
|
|
42
37
|
whats_app?: string | null;
|
|
43
38
|
contact_person_id?: string | null;
|
|
44
39
|
website?: string | null;
|
|
@@ -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
|
-
|
|
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;
|
|
@@ -7,6 +7,7 @@ import { INestedPR } from "./pr.typings";
|
|
|
7
7
|
import { INestedRole } from "./roles.typings";
|
|
8
8
|
import { INestedStoreLocation } from "./storeLocation.typings";
|
|
9
9
|
import { INestedUser } from "./user.typings";
|
|
10
|
+
import { IAddress } from "./utils/address.typings";
|
|
10
11
|
export declare enum PurchaseLocationInclude {
|
|
11
12
|
company = "company",
|
|
12
13
|
incharge = "incharge",
|
|
@@ -19,19 +20,13 @@ export declare enum PurchaseLocationInclude {
|
|
|
19
20
|
associated_offices = "associated_offices",
|
|
20
21
|
target_store_locations = "target_store_locations"
|
|
21
22
|
}
|
|
22
|
-
export interface IPurchaseLocation {
|
|
23
|
+
export interface IPurchaseLocation extends IAddress {
|
|
23
24
|
id: string;
|
|
24
25
|
purchase_location_name: string;
|
|
25
26
|
purchase_location_code: string;
|
|
26
27
|
company_id: string;
|
|
27
28
|
created_by_id: string;
|
|
28
29
|
incharge_id?: string;
|
|
29
|
-
pincode: string;
|
|
30
|
-
area?: string;
|
|
31
|
-
state?: string;
|
|
32
|
-
city?: string;
|
|
33
|
-
country?: string;
|
|
34
|
-
address?: string;
|
|
35
30
|
is_enabled: boolean;
|
|
36
31
|
is_deleted: boolean;
|
|
37
32
|
deleted_at: string | null;
|
|
@@ -11,19 +11,14 @@ import { INestedRFQ } from "./rfq.typings";
|
|
|
11
11
|
import { INestedRole } from "./roles.typings";
|
|
12
12
|
import { INestedInventoryItem } from "./storeInventory.typings";
|
|
13
13
|
import { INestedUser } from "./user.typings";
|
|
14
|
-
|
|
14
|
+
import { IAddress } from "./utils/address.typings";
|
|
15
|
+
export interface IStoreLocation extends IAddress {
|
|
15
16
|
id: string;
|
|
16
17
|
store_location_name: string;
|
|
17
18
|
store_location_code: string;
|
|
18
19
|
company_id: string;
|
|
19
20
|
created_by_id: string;
|
|
20
21
|
incharge_id?: string | null;
|
|
21
|
-
pincode?: string | null;
|
|
22
|
-
area?: string | null;
|
|
23
|
-
state?: string | null;
|
|
24
|
-
city?: string | null;
|
|
25
|
-
country?: string | null;
|
|
26
|
-
address?: string | null;
|
|
27
22
|
is_deleted: boolean;
|
|
28
23
|
is_enabled: boolean;
|
|
29
24
|
deleted_at: string | null;
|
|
@@ -2,7 +2,8 @@ import { INestedCompany } from "./company.typings";
|
|
|
2
2
|
import { INestedNegotiation } from "./negotiation.typings";
|
|
3
3
|
import { INestedQuote } from "./quote.typings";
|
|
4
4
|
import { INestedRFQ } from "./rfq.typings";
|
|
5
|
-
|
|
5
|
+
import { IAddress } from "./utils/address.typings";
|
|
6
|
+
export interface IVendor extends IAddress {
|
|
6
7
|
id: string;
|
|
7
8
|
gst_no?: string | null;
|
|
8
9
|
nature_of_business: string;
|
|
@@ -10,12 +11,6 @@ export interface IVendor {
|
|
|
10
11
|
vendor_trade_name: string;
|
|
11
12
|
vendor_legal_name?: string | null;
|
|
12
13
|
constitution_of_business: string;
|
|
13
|
-
pincode?: string | null;
|
|
14
|
-
area?: string | null;
|
|
15
|
-
city?: string | null;
|
|
16
|
-
state?: string | null;
|
|
17
|
-
address?: string | null;
|
|
18
|
-
country?: string | null;
|
|
19
14
|
firstname?: string | null;
|
|
20
15
|
middlename?: string | null;
|
|
21
16
|
lastname?: string | null;
|