kcommons 12.0.0 → 12.2.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/typings/company/vendorOnboardingRequest/vendorOnboardingRequestCategory.typings.d.ts +5 -2
- package/build/typings/company/vendorOnboardingRequest/vendorOnboardingRequestCategory.typings.js +1 -0
- package/build/typings/companyVendors.typings.d.ts +6 -2
- package/build/typings/companyVendors.typings.js +1 -0
- package/build/typings/vendor.typings.d.ts +6 -0
- package/package.json +1 -1
package/build/typings/company/vendorOnboardingRequest/vendorOnboardingRequestCategory.typings.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { INestedCompany } from "../../company.typings";
|
|
2
|
+
import { INestedCompanyVendors } from "../../companyVendors.typings";
|
|
2
3
|
import { INestedUser } from "../../user.typings";
|
|
3
4
|
import { INestedVendorOnboardingRequest } from "./vendorOnboardingRequest.typing";
|
|
4
5
|
export declare enum VENDOR_ONBOARDING_REQUEST_CATEGORY_INCLUDE {
|
|
5
6
|
company = "company",
|
|
6
7
|
created_by_user = "created_by_user",
|
|
7
8
|
updated_by_user = "updated_by_user",
|
|
8
|
-
vendor_onboarding_requests = "vendor_onboarding_requests"
|
|
9
|
+
vendor_onboarding_requests = "vendor_onboarding_requests",
|
|
10
|
+
company_vendors = "company_vendors"
|
|
9
11
|
}
|
|
10
12
|
export interface IVendorOnboardingRequestCategory {
|
|
11
13
|
id: string;
|
|
@@ -21,8 +23,9 @@ export interface IVendorOnboardingRequestCategory {
|
|
|
21
23
|
updated_at: string;
|
|
22
24
|
vendor_onboarding_requests: INestedVendorOnboardingRequest[] | null;
|
|
23
25
|
company: INestedCompany | null;
|
|
26
|
+
company_vendors: INestedCompanyVendors[] | null;
|
|
24
27
|
created_by_user: INestedUser | null;
|
|
25
28
|
updated_by_user: INestedUser | null;
|
|
26
29
|
}
|
|
27
|
-
export interface INestedVendorOnboardingRequestCategory extends Omit<IVendorOnboardingRequestCategory, "company" | "created_by_user" | "updated_by_user" | "vendor_onboarding_requests"> {
|
|
30
|
+
export interface INestedVendorOnboardingRequestCategory extends Omit<IVendorOnboardingRequestCategory, "company" | "created_by_user" | "updated_by_user" | "vendor_onboarding_requests" | "company_vendors"> {
|
|
28
31
|
}
|
package/build/typings/company/vendorOnboardingRequest/vendorOnboardingRequestCategory.typings.js
CHANGED
|
@@ -7,4 +7,5 @@ var VENDOR_ONBOARDING_REQUEST_CATEGORY_INCLUDE;
|
|
|
7
7
|
VENDOR_ONBOARDING_REQUEST_CATEGORY_INCLUDE["created_by_user"] = "created_by_user";
|
|
8
8
|
VENDOR_ONBOARDING_REQUEST_CATEGORY_INCLUDE["updated_by_user"] = "updated_by_user";
|
|
9
9
|
VENDOR_ONBOARDING_REQUEST_CATEGORY_INCLUDE["vendor_onboarding_requests"] = "vendor_onboarding_requests";
|
|
10
|
+
VENDOR_ONBOARDING_REQUEST_CATEGORY_INCLUDE["company_vendors"] = "company_vendors";
|
|
10
11
|
})(VENDOR_ONBOARDING_REQUEST_CATEGORY_INCLUDE || (exports.VENDOR_ONBOARDING_REQUEST_CATEGORY_INCLUDE = VENDOR_ONBOARDING_REQUEST_CATEGORY_INCLUDE = {}));
|
|
@@ -2,6 +2,7 @@ import { IAddress } from "./common/address.typings";
|
|
|
2
2
|
import { IOpenApprovalsBase } from "./common/openApprovals.typings";
|
|
3
3
|
import { INestedCompany } from "./company.typings";
|
|
4
4
|
import { INestedVendorOnboardingRequest } from "./company/vendorOnboardingRequest/vendorOnboardingRequest.typing";
|
|
5
|
+
import { INestedVendorOnboardingRequestCategory } from "./company/vendorOnboardingRequest/vendorOnboardingRequestCategory.typings";
|
|
5
6
|
import { INestedCompanyItemVendorVersion } from "./companyItemVendorVersion.typings";
|
|
6
7
|
import { IEntityApprovalChainEntry, INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
|
|
7
8
|
import { INestedInvoice } from "./invoices.typings";
|
|
@@ -48,7 +49,8 @@ export declare enum CompanyVendorsInclude {
|
|
|
48
49
|
questions_sent_by_user = "questions_sent_by_user",
|
|
49
50
|
cancelled_by_user = "cancelled_by_user",
|
|
50
51
|
onboarded_by_user = "onboarded_by_user",
|
|
51
|
-
extra_form_ans = "extra_form_ans"
|
|
52
|
+
extra_form_ans = "extra_form_ans",
|
|
53
|
+
parent_vendor_onboarding_request_category = "parent_vendor_onboarding_request_category"
|
|
52
54
|
}
|
|
53
55
|
export interface ICompanyVendor {
|
|
54
56
|
id: string;
|
|
@@ -65,6 +67,7 @@ export interface ICompanyVendor {
|
|
|
65
67
|
cancelled_by_user_id: string | null;
|
|
66
68
|
onboarded_by_id: string | null;
|
|
67
69
|
parent_vendor_onboarding_request_id: string | null;
|
|
70
|
+
parent_vendor_onboarding_request_category_id: string | null;
|
|
68
71
|
status: COMPANY_VENDOR_STATUS;
|
|
69
72
|
is_enabled: boolean;
|
|
70
73
|
is_deleted?: boolean;
|
|
@@ -98,8 +101,9 @@ export interface ICompanyVendor {
|
|
|
98
101
|
invoices: INestedInvoice[] | null;
|
|
99
102
|
parent_vendor_onboarding_request: INestedVendorOnboardingRequest | null;
|
|
100
103
|
extra_form_ans: INestedExtraFormAnswerEntitys[] | null;
|
|
104
|
+
parent_vendor_onboarding_request_category: INestedVendorOnboardingRequestCategory | null;
|
|
101
105
|
}
|
|
102
|
-
export interface INestedCompanyVendors extends Omit<ICompanyVendor, "company" | "vendor" | "rfqs_sent" | "vendor_groups" | "negotiations" | "pos" | "selected_item_categories" | "selected_items" | "company_allowed_item_categories" | "company_item_verndor_versions" | "approval_chain" | "invoices" | "parent_vendor_onboarding_request" | "created_by_user" | "last_updated_by" | "sent_for_approval_by_user" | "questions_sent_by_user" | "extra_form_ans"> {
|
|
106
|
+
export interface INestedCompanyVendors extends Omit<ICompanyVendor, "company" | "vendor" | "rfqs_sent" | "vendor_groups" | "negotiations" | "pos" | "selected_item_categories" | "selected_items" | "company_allowed_item_categories" | "company_item_verndor_versions" | "approval_chain" | "invoices" | "parent_vendor_onboarding_request" | "created_by_user" | "last_updated_by" | "sent_for_approval_by_user" | "questions_sent_by_user" | "extra_form_ans" | "parent_vendor_onboarding_request_category"> {
|
|
103
107
|
}
|
|
104
108
|
export interface IICheckCompanyVendorStatusRes {
|
|
105
109
|
vendor: IVendor;
|
|
@@ -39,4 +39,5 @@ var CompanyVendorsInclude;
|
|
|
39
39
|
CompanyVendorsInclude["cancelled_by_user"] = "cancelled_by_user";
|
|
40
40
|
CompanyVendorsInclude["onboarded_by_user"] = "onboarded_by_user";
|
|
41
41
|
CompanyVendorsInclude["extra_form_ans"] = "extra_form_ans";
|
|
42
|
+
CompanyVendorsInclude["parent_vendor_onboarding_request_category"] = "parent_vendor_onboarding_request_category";
|
|
42
43
|
})(CompanyVendorsInclude || (exports.CompanyVendorsInclude = CompanyVendorsInclude = {}));
|
|
@@ -34,6 +34,12 @@ export interface IVendor extends IAddress {
|
|
|
34
34
|
is_profile_verified: boolean;
|
|
35
35
|
is_self_verified: boolean;
|
|
36
36
|
is_invitation_sent: boolean;
|
|
37
|
+
gst_attachment_link: string | null;
|
|
38
|
+
pan_attachment_link: string | null;
|
|
39
|
+
cin_attachment_link: string | null;
|
|
40
|
+
udyam_aadhar_attachment_link: string | null;
|
|
41
|
+
iso_attachment_link: string | null;
|
|
42
|
+
cancelled_cheque_attachment_link: string | null;
|
|
37
43
|
profile_img?: string | null;
|
|
38
44
|
is_enabled: boolean;
|
|
39
45
|
is_deleted?: boolean | null;
|