kcommons 5.25.26 → 5.25.28

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
@@ -39,7 +39,7 @@ export * from "./typings/vendorDiscovery.typings";
39
39
  export * from "./typings/settings/form/extraFormQues.typings";
40
40
  export * from "./typings/settings/form/extraFormAns.typings";
41
41
  export * from "./typings/extraCoreRelatedQuestions.typings";
42
- export * from "./typings/extraCoreRelatedQuestionsForCompany.typing";
42
+ export * from "./typings/extraCoreRelatedQuestionsForCompany.typings";
43
43
  export * from "./constants/permission.constants";
44
44
  export * from "./constants/entityTypes.constants";
45
45
  export * from "./constants/documentStatus.typings";
package/build/index.js CHANGED
@@ -56,7 +56,7 @@ __exportStar(require("./typings/vendorDiscovery.typings"), exports);
56
56
  __exportStar(require("./typings/settings/form/extraFormQues.typings"), exports);
57
57
  __exportStar(require("./typings/settings/form/extraFormAns.typings"), exports);
58
58
  __exportStar(require("./typings/extraCoreRelatedQuestions.typings"), exports);
59
- __exportStar(require("./typings/extraCoreRelatedQuestionsForCompany.typing"), exports);
59
+ __exportStar(require("./typings/extraCoreRelatedQuestionsForCompany.typings"), exports);
60
60
  // Constants
61
61
  __exportStar(require("./constants/permission.constants"), exports);
62
62
  __exportStar(require("./constants/entityTypes.constants"), exports);
@@ -27,7 +27,7 @@ import { INestedVendorGroups } from "./vendorGroup.typings";
27
27
  import { INestedCompanyProxy } from "./companyProxy.typings";
28
28
  import { INestedExtraFormQuestions } from "./settings/form/extraFormQues.typings";
29
29
  import { INestedExtraFormAnswerEntitys } from "./settings/form/extraFormAns.typings";
30
- import { INestedExtraCoreRelatedQuestionsForCompanyEntiy } from "./extraCoreRelatedQuestionsForCompany.typing";
30
+ import { INestedExtraCoreRelatedQuestionsForCompanyEntiy } from "./extraCoreRelatedQuestionsForCompany.typings";
31
31
  export declare enum COMPANY_INCLUDE {
32
32
  associated_purchase_locations = "associated_purchase_locations",
33
33
  associated_vendors = "associated_vendors",
@@ -77,3 +77,8 @@ export interface IVendorCSVUploadRes {
77
77
  error: string;
78
78
  })[];
79
79
  }
80
+ /** These params are used for applying filters from FE filter tab */
81
+ export interface ICompanyVendorRefineParams {
82
+ item_categories: string[];
83
+ item_ids: string[];
84
+ }
@@ -1,4 +1,4 @@
1
- import { INestedExtraCoreRelatedQuestionsForCompanyEntiy } from "./extraCoreRelatedQuestionsForCompany.typing";
1
+ import { INestedExtraCoreRelatedQuestionsForCompanyEntiy } from "./extraCoreRelatedQuestionsForCompany.typings";
2
2
  export declare enum CORE_QUE_IDS {
3
3
  VENDOR_ONBOARDING_ITEM_CATEGORY = "VENDOR_ONBOARDING_ITEM_CATEGORY"
4
4
  }
@@ -0,0 +1,28 @@
1
+ import { INestedCompany } from "./company.typings";
2
+ import { INestedCoreRelatedQuestion } from "./extraCoreRelatedQuestions.typings";
3
+ import { INestedUser } from "./user.typings";
4
+ export declare enum EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE {
5
+ company = "company",
6
+ core_related_question = "core_related_question",
7
+ created_by = "created_by",
8
+ updated_by = "updated_by"
9
+ }
10
+ export interface IExtraCoreRelatedQuestionsForCompanies {
11
+ id: string;
12
+ company_que_text: string;
13
+ company_id: string;
14
+ extra_core_related_question_id: string;
15
+ created_by_id: string;
16
+ updated_by_id: string;
17
+ is_enabled: boolean;
18
+ is_deleted: boolean;
19
+ deleted_at: Date;
20
+ created_at: Date;
21
+ updated_at: Date;
22
+ company: INestedCompany | null;
23
+ core_related_question: INestedCoreRelatedQuestion | null;
24
+ created_by: INestedUser | null;
25
+ updated_by: INestedUser | null;
26
+ }
27
+ export interface INestedExtraCoreRelatedQuestionsForCompanyEntiy extends Omit<IExtraCoreRelatedQuestionsForCompanies, "company" | "core_related_question" | "created_by" | "updated_by"> {
28
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE = void 0;
4
+ var EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE;
5
+ (function (EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE) {
6
+ EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE["company"] = "company";
7
+ EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE["core_related_question"] = "core_related_question";
8
+ EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE["created_by"] = "created_by";
9
+ EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE["updated_by"] = "updated_by";
10
+ })(EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE || (exports.EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE = EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE = {}));
@@ -24,7 +24,7 @@ import { INestedExtraFormQuestions } from "./settings/form/extraFormQues.typings
24
24
  import { INestedExtraFormAnswerEntitys } from "./settings/form/extraFormAns.typings";
25
25
  import { INestedStoreLocation } from "./storeLocation.typings";
26
26
  import { INestedVendorGroups } from "./vendorGroup.typings";
27
- import { INestedExtraCoreRelatedQuestionsForCompanyEntiy } from "./extraCoreRelatedQuestionsForCompany.typing";
27
+ import { INestedExtraCoreRelatedQuestionsForCompanyEntiy } from "./extraCoreRelatedQuestionsForCompany.typings";
28
28
  export interface IUser {
29
29
  id: string;
30
30
  is_enabled?: boolean | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "5.25.26",
3
+ "version": "5.25.28",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.js",