kcommons 5.2.4 → 5.2.6
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.
|
@@ -24,26 +24,3 @@ var QUOTE_ITEM_INCLUDES;
|
|
|
24
24
|
QUOTE_ITEM_INCLUDES["parent_quote"] = "parent_quote";
|
|
25
25
|
QUOTE_ITEM_INCLUDES["item"] = "item";
|
|
26
26
|
})(QUOTE_ITEM_INCLUDES = exports.QUOTE_ITEM_INCLUDES || (exports.QUOTE_ITEM_INCLUDES = {}));
|
|
27
|
-
// export class QuoteItemFactory implements IQuoteItems {
|
|
28
|
-
// constructor(partial: IQuoteItems) {
|
|
29
|
-
// Object.assign(this, partial);
|
|
30
|
-
// }
|
|
31
|
-
// id: string = "";
|
|
32
|
-
// quote_id: string = "";
|
|
33
|
-
// item_id: string = "";
|
|
34
|
-
// rfq_item_id: string = "";
|
|
35
|
-
// requested_quantity: number = 0;
|
|
36
|
-
// gst?: number | null;
|
|
37
|
-
// per_unit_rate?: number | null;
|
|
38
|
-
// provided_quantity?: number | null;
|
|
39
|
-
// discount_type?: string | null;
|
|
40
|
-
// discount_value?: number | null;
|
|
41
|
-
// remark?: string | null;
|
|
42
|
-
// is_deleted?: boolean | null;
|
|
43
|
-
// deleted_at?: string | null;
|
|
44
|
-
// created_at?: string | null;
|
|
45
|
-
// updated_at?: string | null;
|
|
46
|
-
// quote?: INestedQuote | null;
|
|
47
|
-
// item?: INestedItem | null;
|
|
48
|
-
// rfq_item?: INestedRFQItem | null;
|
|
49
|
-
// }
|
|
@@ -2,38 +2,38 @@ import { INestedCompany } from "./company.typings";
|
|
|
2
2
|
import { INestedQuote } from "./quote.typings";
|
|
3
3
|
export interface IVendor {
|
|
4
4
|
id: string;
|
|
5
|
-
gst_no?: string;
|
|
5
|
+
gst_no?: string | null;
|
|
6
6
|
nature_of_business: string;
|
|
7
7
|
vendor_business_categories: string[];
|
|
8
8
|
vendor_trade_name: string;
|
|
9
|
-
vendor_legal_name?: string;
|
|
9
|
+
vendor_legal_name?: string | null;
|
|
10
10
|
constitution_of_business: string;
|
|
11
|
-
pincode?: string;
|
|
12
|
-
area?: string;
|
|
13
|
-
city?: string;
|
|
14
|
-
state?: string;
|
|
15
|
-
address?: string;
|
|
16
|
-
country?: string;
|
|
17
|
-
firstname?: string;
|
|
18
|
-
middlename?: string;
|
|
19
|
-
lastname?: string;
|
|
11
|
+
pincode?: string | null;
|
|
12
|
+
area?: string | null;
|
|
13
|
+
city?: string | null;
|
|
14
|
+
state?: string | null;
|
|
15
|
+
address?: string | null;
|
|
16
|
+
country?: string | null;
|
|
17
|
+
firstname?: string | null;
|
|
18
|
+
middlename?: string | null;
|
|
19
|
+
lastname?: string | null;
|
|
20
20
|
email: string;
|
|
21
21
|
contact: string;
|
|
22
|
-
designation?: string;
|
|
23
|
-
pan_no?: string;
|
|
24
|
-
cin?: string;
|
|
25
|
-
udyam_aadhar?: string;
|
|
26
|
-
bank_account_number?: string;
|
|
27
|
-
bank_ifsc_code?: string;
|
|
22
|
+
designation?: string | null;
|
|
23
|
+
pan_no?: string | null;
|
|
24
|
+
cin?: string | null;
|
|
25
|
+
udyam_aadhar?: string | null;
|
|
26
|
+
bank_account_number?: string | null;
|
|
27
|
+
bank_ifsc_code?: string | null;
|
|
28
28
|
vkraya_id: string;
|
|
29
29
|
password: string;
|
|
30
30
|
is_profile_complete: boolean;
|
|
31
31
|
is_profile_verified: boolean;
|
|
32
32
|
is_self_verified: boolean;
|
|
33
|
-
profile_img?: string;
|
|
33
|
+
profile_img?: string | null;
|
|
34
34
|
tags: string[];
|
|
35
35
|
is_enabled: boolean;
|
|
36
|
-
is_deleted?: boolean;
|
|
36
|
+
is_deleted?: boolean | null;
|
|
37
37
|
deleted_at?: string | null;
|
|
38
38
|
created_at?: string | null;
|
|
39
39
|
updated_at?: string | null;
|
|
@@ -46,3 +46,6 @@ export declare enum VENDOR_INCLUDE {
|
|
|
46
46
|
quotes = "quotes",
|
|
47
47
|
associated_companies = "associated_companies"
|
|
48
48
|
}
|
|
49
|
+
export interface IVENDOR_TOKEN_PAYLOAD {
|
|
50
|
+
vendor_id: string;
|
|
51
|
+
}
|