kcommons 5.24.28 → 5.25.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 +2 -1
- package/build/index.js +2 -1
- package/build/typings/company.typings.d.ts +9 -3
- package/build/typings/company.typings.js +2 -0
- package/build/typings/settings/form/configForm.typings.d.ts +68 -0
- package/build/typings/settings/form/configForm.typings.js +25 -0
- package/build/typings/settings/form/extraFormAns.typings.d.ts +18 -0
- package/build/typings/settings/form/extraFormAns.typings.js +10 -0
- package/build/typings/settings/form/extraFormQues.typings.d.ts +68 -0
- package/build/typings/settings/form/extraFormQues.typings.js +25 -0
- package/build/typings/user.typings.d.ts +6 -3
- package/build/typings/user.typings.js +1 -0
- package/build/typings/vendor.typings.d.ts +5 -2
- package/build/typings/vendor.typings.js +1 -0
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -36,7 +36,8 @@ export * from "./typings/notifications.typings";
|
|
|
36
36
|
export * from "./typings/vendorItem.typings";
|
|
37
37
|
export * from "./typings/vendorItemCategories.typings";
|
|
38
38
|
export * from "./typings/vendorDiscovery.typings";
|
|
39
|
-
export * from "./typings/settings/
|
|
39
|
+
export * from "./typings/settings/form/extraFormQues.typings";
|
|
40
|
+
export * from "./typings/settings/form/extraFormAns.typings";
|
|
40
41
|
export * from "./constants/permission.constants";
|
|
41
42
|
export * from "./constants/entityTypes.constants";
|
|
42
43
|
export * from "./constants/documentStatus.typings";
|
package/build/index.js
CHANGED
|
@@ -53,7 +53,8 @@ __exportStar(require("./typings/notifications.typings"), exports);
|
|
|
53
53
|
__exportStar(require("./typings/vendorItem.typings"), exports);
|
|
54
54
|
__exportStar(require("./typings/vendorItemCategories.typings"), exports);
|
|
55
55
|
__exportStar(require("./typings/vendorDiscovery.typings"), exports);
|
|
56
|
-
__exportStar(require("./typings/settings/
|
|
56
|
+
__exportStar(require("./typings/settings/form/extraFormQues.typings"), exports);
|
|
57
|
+
__exportStar(require("./typings/settings/form/extraFormAns.typings"), exports);
|
|
57
58
|
// Constants
|
|
58
59
|
__exportStar(require("./constants/permission.constants"), exports);
|
|
59
60
|
__exportStar(require("./constants/entityTypes.constants"), exports);
|
|
@@ -25,6 +25,8 @@ import { IAddress } from "./common/address.typings";
|
|
|
25
25
|
import { INestedVendor } from "./vendor.typings";
|
|
26
26
|
import { INestedVendorGroups } from "./vendorGroup.typings";
|
|
27
27
|
import { INestedCompanyProxy } from "./companyProxy.typings";
|
|
28
|
+
import { INestedExtraFormQuestions, INestedExtraQuesSelectOpts } from "./settings/form/extraFormQues.typings";
|
|
29
|
+
import { INestedExtraFormAnswers } from "./settings/form/extraFormAns.typings";
|
|
28
30
|
export declare enum COMPANY_INCLUDE {
|
|
29
31
|
associated_purchase_locations = "associated_purchase_locations",
|
|
30
32
|
associated_vendors = "associated_vendors",
|
|
@@ -61,7 +63,9 @@ export declare enum COMPANY_INCLUDE {
|
|
|
61
63
|
company_comparative_items = "company_comparative_items",
|
|
62
64
|
company_notifications = "company_notifications",
|
|
63
65
|
company_proxy = "company_proxy",
|
|
64
|
-
extra_questions = "extra_questions"
|
|
66
|
+
extra_questions = "extra_questions",
|
|
67
|
+
extra_questions_options = "extra_questions_options",
|
|
68
|
+
extra_question_ans = "extra_question_ans"
|
|
65
69
|
}
|
|
66
70
|
export interface ICompany extends IAddress {
|
|
67
71
|
id: string;
|
|
@@ -120,7 +124,9 @@ export interface ICompany extends IAddress {
|
|
|
120
124
|
company_comparative_items: INestedComparativeItem[] | null;
|
|
121
125
|
company_notifications: INestedNotification[] | null;
|
|
122
126
|
company_proxy: INestedCompanyProxy | null;
|
|
123
|
-
extra_questions: null;
|
|
127
|
+
extra_questions: INestedExtraFormQuestions[] | null;
|
|
128
|
+
extra_questions_options: INestedExtraQuesSelectOpts[] | null;
|
|
129
|
+
extra_question_ans: INestedExtraFormAnswers[] | null;
|
|
124
130
|
}
|
|
125
|
-
export interface INestedCompany extends Omit<ICompany, "associated_purchase_locations" | "associated_vendors" | "associated_permissions" | "associated_roles" | "approval_configs" | "subdepartments" | "subcategories" | "categories" | "items" | "offices" | "stores" | "employees" | "departments" | "vendor_groups" | "company_indents" | "indent_items" | "company_mis" | "mi_items" | "company_prs" | "pr_items" | "company_rfqs" | "company_quotes" | "entity_approval_chain_entries" | "company_negotiations" | "company_pos" | "company_grns" | "company_grns_items" | "company_mrns" | "company_mrns_items" | "company_boms" | "company_bom_items" | "company_comparatives" | "company_comparative_items" | "company_notifications" | "company_proxy" | "extra_questions"> {
|
|
131
|
+
export interface INestedCompany extends Omit<ICompany, "associated_purchase_locations" | "associated_vendors" | "associated_permissions" | "associated_roles" | "approval_configs" | "subdepartments" | "subcategories" | "categories" | "items" | "offices" | "stores" | "employees" | "departments" | "vendor_groups" | "company_indents" | "indent_items" | "company_mis" | "mi_items" | "company_prs" | "pr_items" | "company_rfqs" | "company_quotes" | "entity_approval_chain_entries" | "company_negotiations" | "company_pos" | "company_grns" | "company_grns_items" | "company_mrns" | "company_mrns_items" | "company_boms" | "company_bom_items" | "company_comparatives" | "company_comparative_items" | "company_notifications" | "company_proxy" | "extra_questions" | "extra_questions_options" | "extra_question_ans"> {
|
|
126
132
|
}
|
|
@@ -39,4 +39,6 @@ var COMPANY_INCLUDE;
|
|
|
39
39
|
COMPANY_INCLUDE["company_notifications"] = "company_notifications";
|
|
40
40
|
COMPANY_INCLUDE["company_proxy"] = "company_proxy";
|
|
41
41
|
COMPANY_INCLUDE["extra_questions"] = "extra_questions";
|
|
42
|
+
COMPANY_INCLUDE["extra_questions_options"] = "extra_questions_options";
|
|
43
|
+
COMPANY_INCLUDE["extra_question_ans"] = "extra_question_ans";
|
|
42
44
|
})(COMPANY_INCLUDE || (exports.COMPANY_INCLUDE = COMPANY_INCLUDE = {}));
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { INestedCompany } from "../../company.typings";
|
|
2
|
+
import { INestedUser } from "../../user.typings";
|
|
3
|
+
import { INestedExtraFormAnswers } from "./extraFormAns.typings";
|
|
4
|
+
export declare enum CONFIGURABLE_FORM_TYPES {
|
|
5
|
+
VENDOR_ONBOARDING = "vendor-onboarding"
|
|
6
|
+
}
|
|
7
|
+
export declare enum EXTRA_FORM_QUESTION_TYPES {
|
|
8
|
+
TEXT = "TEXT",
|
|
9
|
+
SINGLE_SELECT = "SINGLE_SELECT",
|
|
10
|
+
MULTI_SELECT = "MULTI_SELECT",
|
|
11
|
+
YES_NO = "YES_NO",
|
|
12
|
+
UPLOAD = "UPLOAD",
|
|
13
|
+
KEYWORDS = "KEYWORDS",
|
|
14
|
+
DATEPICKER = "DATEPICKER"
|
|
15
|
+
}
|
|
16
|
+
export declare enum EXTRA_FORM_QUESTIONS_INCLUDE {
|
|
17
|
+
company = "company",
|
|
18
|
+
created_by = "created_by",
|
|
19
|
+
updated_by = "updated_by",
|
|
20
|
+
select_opts = "select_opts",
|
|
21
|
+
answers = "answers"
|
|
22
|
+
}
|
|
23
|
+
export interface IExtraFormQuestionsFilters {
|
|
24
|
+
form_type?: CONFIGURABLE_FORM_TYPES;
|
|
25
|
+
is_enabled?: boolean;
|
|
26
|
+
include?: EXTRA_FORM_QUESTIONS_INCLUDE[];
|
|
27
|
+
}
|
|
28
|
+
export interface IExtraFormQuestions {
|
|
29
|
+
id: string;
|
|
30
|
+
company_id: string;
|
|
31
|
+
created_by_id: string;
|
|
32
|
+
updated_by_id: string;
|
|
33
|
+
form_type: string;
|
|
34
|
+
que_text: string;
|
|
35
|
+
que_type: string;
|
|
36
|
+
min_rows: number | null;
|
|
37
|
+
mime_type: string | null;
|
|
38
|
+
is_enabled: boolean;
|
|
39
|
+
is_deleted: boolean;
|
|
40
|
+
deleted_at: string | null;
|
|
41
|
+
created_at: string;
|
|
42
|
+
updated_at: string;
|
|
43
|
+
company: INestedCompany | null;
|
|
44
|
+
created_by: INestedUser | null;
|
|
45
|
+
updated_by: INestedUser | null;
|
|
46
|
+
select_opts: INestedExtraQuesSelectOpts[] | null;
|
|
47
|
+
answers: INestedExtraFormAnswers[] | null;
|
|
48
|
+
}
|
|
49
|
+
export interface INestedExtraFormQuestions extends Omit<IExtraFormQuestions, "company" | "created_by" | "updated_by" | "selected_opts" | "answers"> {
|
|
50
|
+
}
|
|
51
|
+
export interface IExtraQuesSelectOpts {
|
|
52
|
+
id: string;
|
|
53
|
+
que_id: string;
|
|
54
|
+
opt_text: string;
|
|
55
|
+
company_id: string;
|
|
56
|
+
created_by_id: string;
|
|
57
|
+
updated_by_id: string;
|
|
58
|
+
is_deleted: boolean;
|
|
59
|
+
deleted_at: string | null;
|
|
60
|
+
created_at: string;
|
|
61
|
+
updated_at: string;
|
|
62
|
+
company: INestedCompany | null;
|
|
63
|
+
created_by: INestedUser | null;
|
|
64
|
+
updated_by: INestedUser | null;
|
|
65
|
+
parent_question: INestedExtraFormQuestions | null;
|
|
66
|
+
}
|
|
67
|
+
export interface INestedExtraQuesSelectOpts extends Omit<IExtraQuesSelectOpts, "company" | "created_by" | "updated_by" | "parent_question"> {
|
|
68
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EXTRA_FORM_QUESTIONS_INCLUDE = exports.EXTRA_FORM_QUESTION_TYPES = exports.CONFIGURABLE_FORM_TYPES = void 0;
|
|
4
|
+
var CONFIGURABLE_FORM_TYPES;
|
|
5
|
+
(function (CONFIGURABLE_FORM_TYPES) {
|
|
6
|
+
CONFIGURABLE_FORM_TYPES["VENDOR_ONBOARDING"] = "vendor-onboarding";
|
|
7
|
+
})(CONFIGURABLE_FORM_TYPES || (exports.CONFIGURABLE_FORM_TYPES = CONFIGURABLE_FORM_TYPES = {}));
|
|
8
|
+
var EXTRA_FORM_QUESTION_TYPES;
|
|
9
|
+
(function (EXTRA_FORM_QUESTION_TYPES) {
|
|
10
|
+
EXTRA_FORM_QUESTION_TYPES["TEXT"] = "TEXT";
|
|
11
|
+
EXTRA_FORM_QUESTION_TYPES["SINGLE_SELECT"] = "SINGLE_SELECT";
|
|
12
|
+
EXTRA_FORM_QUESTION_TYPES["MULTI_SELECT"] = "MULTI_SELECT";
|
|
13
|
+
EXTRA_FORM_QUESTION_TYPES["YES_NO"] = "YES_NO";
|
|
14
|
+
EXTRA_FORM_QUESTION_TYPES["UPLOAD"] = "UPLOAD";
|
|
15
|
+
EXTRA_FORM_QUESTION_TYPES["KEYWORDS"] = "KEYWORDS";
|
|
16
|
+
EXTRA_FORM_QUESTION_TYPES["DATEPICKER"] = "DATEPICKER";
|
|
17
|
+
})(EXTRA_FORM_QUESTION_TYPES || (exports.EXTRA_FORM_QUESTION_TYPES = EXTRA_FORM_QUESTION_TYPES = {}));
|
|
18
|
+
var EXTRA_FORM_QUESTIONS_INCLUDE;
|
|
19
|
+
(function (EXTRA_FORM_QUESTIONS_INCLUDE) {
|
|
20
|
+
EXTRA_FORM_QUESTIONS_INCLUDE["company"] = "company";
|
|
21
|
+
EXTRA_FORM_QUESTIONS_INCLUDE["created_by"] = "created_by";
|
|
22
|
+
EXTRA_FORM_QUESTIONS_INCLUDE["updated_by"] = "updated_by";
|
|
23
|
+
EXTRA_FORM_QUESTIONS_INCLUDE["select_opts"] = "select_opts";
|
|
24
|
+
EXTRA_FORM_QUESTIONS_INCLUDE["answers"] = "answers";
|
|
25
|
+
})(EXTRA_FORM_QUESTIONS_INCLUDE || (exports.EXTRA_FORM_QUESTIONS_INCLUDE = EXTRA_FORM_QUESTIONS_INCLUDE = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { INestedCompany } from "../../company.typings";
|
|
2
|
+
import { INestedUser } from "../../user.typings";
|
|
3
|
+
import { INestedVendor } from "../../vendor.typings";
|
|
4
|
+
import { INestedExtraFormQuestions } from "./extraFormQues.typings";
|
|
5
|
+
export declare enum EXTRA_FORM_ANSWERS_INLCUDE {
|
|
6
|
+
parent_que = "parent_que",
|
|
7
|
+
company = "company",
|
|
8
|
+
user = "user",
|
|
9
|
+
vendor = "vendor"
|
|
10
|
+
}
|
|
11
|
+
export interface IEXtraFormAnswers {
|
|
12
|
+
parent_que: INestedExtraFormQuestions | null;
|
|
13
|
+
company: INestedCompany | null;
|
|
14
|
+
user: INestedUser | null;
|
|
15
|
+
vendor: INestedVendor | null;
|
|
16
|
+
}
|
|
17
|
+
export interface INestedExtraFormAnswers extends Omit<IEXtraFormAnswers, "parent_que" | "company" | "user" | "vendor"> {
|
|
18
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EXTRA_FORM_ANSWERS_INLCUDE = void 0;
|
|
4
|
+
var EXTRA_FORM_ANSWERS_INLCUDE;
|
|
5
|
+
(function (EXTRA_FORM_ANSWERS_INLCUDE) {
|
|
6
|
+
EXTRA_FORM_ANSWERS_INLCUDE["parent_que"] = "parent_que";
|
|
7
|
+
EXTRA_FORM_ANSWERS_INLCUDE["company"] = "company";
|
|
8
|
+
EXTRA_FORM_ANSWERS_INLCUDE["user"] = "user";
|
|
9
|
+
EXTRA_FORM_ANSWERS_INLCUDE["vendor"] = "vendor";
|
|
10
|
+
})(EXTRA_FORM_ANSWERS_INLCUDE || (exports.EXTRA_FORM_ANSWERS_INLCUDE = EXTRA_FORM_ANSWERS_INLCUDE = {}));
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { INestedCompany } from "../../company.typings";
|
|
2
|
+
import { INestedUser } from "../../user.typings";
|
|
3
|
+
import { INestedExtraFormAnswers } from "./extraFormAns.typings";
|
|
4
|
+
export declare enum CONFIGURABLE_FORM_TYPES {
|
|
5
|
+
VENDOR_ONBOARDING = "vendor-onboarding"
|
|
6
|
+
}
|
|
7
|
+
export declare enum EXTRA_FORM_QUESTION_TYPES {
|
|
8
|
+
TEXT = "TEXT",
|
|
9
|
+
SINGLE_SELECT = "SINGLE_SELECT",
|
|
10
|
+
MULTI_SELECT = "MULTI_SELECT",
|
|
11
|
+
YES_NO = "YES_NO",
|
|
12
|
+
UPLOAD = "UPLOAD",
|
|
13
|
+
KEYWORDS = "KEYWORDS",
|
|
14
|
+
DATEPICKER = "DATEPICKER"
|
|
15
|
+
}
|
|
16
|
+
export declare enum EXTRA_FORM_QUESTIONS_INCLUDE {
|
|
17
|
+
company = "company",
|
|
18
|
+
created_by = "created_by",
|
|
19
|
+
updated_by = "updated_by",
|
|
20
|
+
select_opts = "select_opts",
|
|
21
|
+
answers = "answers"
|
|
22
|
+
}
|
|
23
|
+
export interface IExtraFormQuestionsFilters {
|
|
24
|
+
form_type?: CONFIGURABLE_FORM_TYPES;
|
|
25
|
+
is_enabled?: boolean;
|
|
26
|
+
include?: EXTRA_FORM_QUESTIONS_INCLUDE[];
|
|
27
|
+
}
|
|
28
|
+
export interface IExtraFormQuestions {
|
|
29
|
+
id: string;
|
|
30
|
+
company_id: string;
|
|
31
|
+
created_by_id: string;
|
|
32
|
+
updated_by_id: string;
|
|
33
|
+
form_type: string;
|
|
34
|
+
que_text: string;
|
|
35
|
+
que_type: string;
|
|
36
|
+
min_rows: number | null;
|
|
37
|
+
mime_type: string | null;
|
|
38
|
+
is_enabled: boolean;
|
|
39
|
+
is_deleted: boolean;
|
|
40
|
+
deleted_at: string | null;
|
|
41
|
+
created_at: string;
|
|
42
|
+
updated_at: string;
|
|
43
|
+
company: INestedCompany | null;
|
|
44
|
+
created_by: INestedUser | null;
|
|
45
|
+
updated_by: INestedUser | null;
|
|
46
|
+
select_opts: INestedExtraQuesSelectOpts[] | null;
|
|
47
|
+
answers: INestedExtraFormAnswers[] | null;
|
|
48
|
+
}
|
|
49
|
+
export interface INestedExtraFormQuestions extends Omit<IExtraFormQuestions, "company" | "created_by" | "updated_by" | "selected_opts" | "answers"> {
|
|
50
|
+
}
|
|
51
|
+
export interface IExtraQuesSelectOpts {
|
|
52
|
+
id: string;
|
|
53
|
+
que_id: string;
|
|
54
|
+
opt_text: string;
|
|
55
|
+
company_id: string;
|
|
56
|
+
created_by_id: string;
|
|
57
|
+
updated_by_id: string;
|
|
58
|
+
is_deleted: boolean;
|
|
59
|
+
deleted_at: string | null;
|
|
60
|
+
created_at: string;
|
|
61
|
+
updated_at: string;
|
|
62
|
+
company: INestedCompany | null;
|
|
63
|
+
created_by: INestedUser | null;
|
|
64
|
+
updated_by: INestedUser | null;
|
|
65
|
+
parent_question: INestedExtraFormQuestions | null;
|
|
66
|
+
}
|
|
67
|
+
export interface INestedExtraQuesSelectOpts extends Omit<IExtraQuesSelectOpts, "company" | "created_by" | "updated_by" | "parent_question"> {
|
|
68
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EXTRA_FORM_QUESTIONS_INCLUDE = exports.EXTRA_FORM_QUESTION_TYPES = exports.CONFIGURABLE_FORM_TYPES = void 0;
|
|
4
|
+
var CONFIGURABLE_FORM_TYPES;
|
|
5
|
+
(function (CONFIGURABLE_FORM_TYPES) {
|
|
6
|
+
CONFIGURABLE_FORM_TYPES["VENDOR_ONBOARDING"] = "vendor-onboarding";
|
|
7
|
+
})(CONFIGURABLE_FORM_TYPES || (exports.CONFIGURABLE_FORM_TYPES = CONFIGURABLE_FORM_TYPES = {}));
|
|
8
|
+
var EXTRA_FORM_QUESTION_TYPES;
|
|
9
|
+
(function (EXTRA_FORM_QUESTION_TYPES) {
|
|
10
|
+
EXTRA_FORM_QUESTION_TYPES["TEXT"] = "TEXT";
|
|
11
|
+
EXTRA_FORM_QUESTION_TYPES["SINGLE_SELECT"] = "SINGLE_SELECT";
|
|
12
|
+
EXTRA_FORM_QUESTION_TYPES["MULTI_SELECT"] = "MULTI_SELECT";
|
|
13
|
+
EXTRA_FORM_QUESTION_TYPES["YES_NO"] = "YES_NO";
|
|
14
|
+
EXTRA_FORM_QUESTION_TYPES["UPLOAD"] = "UPLOAD";
|
|
15
|
+
EXTRA_FORM_QUESTION_TYPES["KEYWORDS"] = "KEYWORDS";
|
|
16
|
+
EXTRA_FORM_QUESTION_TYPES["DATEPICKER"] = "DATEPICKER";
|
|
17
|
+
})(EXTRA_FORM_QUESTION_TYPES || (exports.EXTRA_FORM_QUESTION_TYPES = EXTRA_FORM_QUESTION_TYPES = {}));
|
|
18
|
+
var EXTRA_FORM_QUESTIONS_INCLUDE;
|
|
19
|
+
(function (EXTRA_FORM_QUESTIONS_INCLUDE) {
|
|
20
|
+
EXTRA_FORM_QUESTIONS_INCLUDE["company"] = "company";
|
|
21
|
+
EXTRA_FORM_QUESTIONS_INCLUDE["created_by"] = "created_by";
|
|
22
|
+
EXTRA_FORM_QUESTIONS_INCLUDE["updated_by"] = "updated_by";
|
|
23
|
+
EXTRA_FORM_QUESTIONS_INCLUDE["select_opts"] = "select_opts";
|
|
24
|
+
EXTRA_FORM_QUESTIONS_INCLUDE["answers"] = "answers";
|
|
25
|
+
})(EXTRA_FORM_QUESTIONS_INCLUDE || (exports.EXTRA_FORM_QUESTIONS_INCLUDE = EXTRA_FORM_QUESTIONS_INCLUDE = {}));
|
|
@@ -20,7 +20,8 @@ import { INestedPR } from "./pr.typings";
|
|
|
20
20
|
import { INestedPurchaseLocation } from "./purchaseLocation.typings";
|
|
21
21
|
import { INestedRFQ } from "./rfq.typings";
|
|
22
22
|
import { INestedRole } from "./roles.typings";
|
|
23
|
-
import { IExtraFormQuestions, IExtraQuesSelectOpts } from "./settings/
|
|
23
|
+
import { IExtraFormQuestions, IExtraQuesSelectOpts } from "./settings/form/extraFormQues.typings";
|
|
24
|
+
import { IEXtraFormAnswers } from "./settings/form/extraFormAns.typings";
|
|
24
25
|
import { INestedStoreLocation } from "./storeLocation.typings";
|
|
25
26
|
import { INestedVendorGroups } from "./vendorGroup.typings";
|
|
26
27
|
export interface IUser {
|
|
@@ -89,8 +90,9 @@ export interface IUser {
|
|
|
89
90
|
updated_extra_quesstions?: IExtraFormQuestions[] | null;
|
|
90
91
|
created_extra_questions_options?: IExtraQuesSelectOpts[] | null;
|
|
91
92
|
updated_extra_questions_options?: IExtraQuesSelectOpts[] | null;
|
|
93
|
+
answered_questions?: IEXtraFormAnswers[] | null;
|
|
92
94
|
}
|
|
93
|
-
export interface INestedUser extends Omit<IUser, "reporting_to" | "active_company" | "active_role" | "subordinates" | "otps" | "as_incharge_in_purchase_locations" | "as_incharge_in_store_locations" | "as_incharge_in_offices" | "as_incharge_in_gates" | "as_contact_person_companies" | "as_contact_person_offices" | "as_contact_person_gates" | "as_contact_person_for_grns" | "as_contact_person_for_mrns" | "owned_companies" | "head_for_departments" | "approved_items" | "approval_chains" | "created_indents" | "created_mis" | "created_prs" | "created_rfqs" | "entity_approval_chains" | "rfqs_sent_for_approval" | "rfqs_sent_to_vendors" | "created_rfq_items" | "assigned_roles" | "negotiations" | "created_pos" | "as_contact_person_for_pos" | "pos_sent_for_approval" | "pos_sent_to_vendors" | "grns_sent_for_approval" | "grns_sent_to_store" | "mrns_sent_for_approval" | "created_boms" | "last_updated_boms" | "created_vendor_groups" | "last_updated_vendor_groups" | "comparatives_sent_for_approval" | "user_notifications" | "approved_company_vendors" | "created_extra_quesstions" | "updated_extra_quesstions" | "created_extra_questions_options" | "updated_extra_questions_options"> {
|
|
95
|
+
export interface INestedUser extends Omit<IUser, "reporting_to" | "active_company" | "active_role" | "subordinates" | "otps" | "as_incharge_in_purchase_locations" | "as_incharge_in_store_locations" | "as_incharge_in_offices" | "as_incharge_in_gates" | "as_contact_person_companies" | "as_contact_person_offices" | "as_contact_person_gates" | "as_contact_person_for_grns" | "as_contact_person_for_mrns" | "owned_companies" | "head_for_departments" | "approved_items" | "approval_chains" | "created_indents" | "created_mis" | "created_prs" | "created_rfqs" | "entity_approval_chains" | "rfqs_sent_for_approval" | "rfqs_sent_to_vendors" | "created_rfq_items" | "assigned_roles" | "negotiations" | "created_pos" | "as_contact_person_for_pos" | "pos_sent_for_approval" | "pos_sent_to_vendors" | "grns_sent_for_approval" | "grns_sent_to_store" | "mrns_sent_for_approval" | "created_boms" | "last_updated_boms" | "created_vendor_groups" | "last_updated_vendor_groups" | "comparatives_sent_for_approval" | "user_notifications" | "approved_company_vendors" | "created_extra_quesstions" | "updated_extra_quesstions" | "created_extra_questions_options" | "updated_extra_questions_options" | "answered_questions"> {
|
|
94
96
|
}
|
|
95
97
|
export declare enum UserInclude {
|
|
96
98
|
as_incharge_in_purchase_locations = "as_incharge_in_purchase_locations",
|
|
@@ -126,7 +128,8 @@ export declare enum UserInclude {
|
|
|
126
128
|
created_extra_quesstions = "created_extra_quesstions",
|
|
127
129
|
updated_extra_quesstions = "updated_extra_quesstions",
|
|
128
130
|
created_extra_questions_options = "created_extra_questions_options",
|
|
129
|
-
updated_extra_questions_options = "updated_extra_questions_options"
|
|
131
|
+
updated_extra_questions_options = "updated_extra_questions_options",
|
|
132
|
+
answered_questions = "answered_questions"
|
|
130
133
|
}
|
|
131
134
|
export interface IUserFilters {
|
|
132
135
|
name?: string;
|
|
@@ -38,4 +38,5 @@ var UserInclude;
|
|
|
38
38
|
UserInclude["updated_extra_quesstions"] = "updated_extra_quesstions";
|
|
39
39
|
UserInclude["created_extra_questions_options"] = "created_extra_questions_options";
|
|
40
40
|
UserInclude["updated_extra_questions_options"] = "updated_extra_questions_options";
|
|
41
|
+
UserInclude["answered_questions"] = "answered_questions";
|
|
41
42
|
})(UserInclude || (exports.UserInclude = UserInclude = {}));
|
|
@@ -5,6 +5,7 @@ import { INestedQuote } from "./quote.typings";
|
|
|
5
5
|
import { INestedRFQ } from "./rfq.typings";
|
|
6
6
|
import { IAddress } from "./common/address.typings";
|
|
7
7
|
import { INestedVendorProxy } from "./vendorProxy.typints";
|
|
8
|
+
import { IEXtraFormAnswers } from "./settings/form/extraFormAns.typings";
|
|
8
9
|
export interface IVendor extends IAddress {
|
|
9
10
|
id: string;
|
|
10
11
|
gst_no?: string | null;
|
|
@@ -43,8 +44,9 @@ export interface IVendor extends IAddress {
|
|
|
43
44
|
as_additional_in_rfqs: INestedRFQ[] | null;
|
|
44
45
|
vendor_notifications: INestedNotification[] | null;
|
|
45
46
|
vendor_proxy: INestedVendorProxy | null;
|
|
47
|
+
extra_que_answers: IEXtraFormAnswers[] | null;
|
|
46
48
|
}
|
|
47
|
-
export interface INestedVendor extends Omit<IVendor, "quotes" | "associated_companies" | "negotiations" | "as_additional_in_rfqs" | "vendor_notifications" | "vendor_proxy"> {
|
|
49
|
+
export interface INestedVendor extends Omit<IVendor, "quotes" | "associated_companies" | "negotiations" | "as_additional_in_rfqs" | "vendor_notifications" | "vendor_proxy" | "extra_que_answers"> {
|
|
48
50
|
}
|
|
49
51
|
export declare enum VENDOR_INCLUDE {
|
|
50
52
|
quotes = "quotes",
|
|
@@ -52,7 +54,8 @@ export declare enum VENDOR_INCLUDE {
|
|
|
52
54
|
negotiations = "negotiations",
|
|
53
55
|
as_additional_in_rfqs = "as_additional_in_rfqs",
|
|
54
56
|
vendor_notifications = "vendor_notifications",
|
|
55
|
-
vendor_proxy = "vendor_proxy"
|
|
57
|
+
vendor_proxy = "vendor_proxy",
|
|
58
|
+
extra_que_answers = "extra_que_answers"
|
|
56
59
|
}
|
|
57
60
|
export interface IVENDOR_TOKEN_PAYLOAD {
|
|
58
61
|
id: string;
|
|
@@ -9,6 +9,7 @@ var VENDOR_INCLUDE;
|
|
|
9
9
|
VENDOR_INCLUDE["as_additional_in_rfqs"] = "as_additional_in_rfqs";
|
|
10
10
|
VENDOR_INCLUDE["vendor_notifications"] = "vendor_notifications";
|
|
11
11
|
VENDOR_INCLUDE["vendor_proxy"] = "vendor_proxy";
|
|
12
|
+
VENDOR_INCLUDE["extra_que_answers"] = "extra_que_answers";
|
|
12
13
|
// pos = "pos",
|
|
13
14
|
})(VENDOR_INCLUDE || (exports.VENDOR_INCLUDE = VENDOR_INCLUDE = {}));
|
|
14
15
|
// for GST-Core activities Types
|