kcommons 9.19.0 → 9.20.1

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
@@ -73,6 +73,7 @@ export * from "./utils/getCompanyQuestionFormLinktoken.util";
73
73
  export * from "./utils/getMediaName.util";
74
74
  export * from "./typings/verification_apis/pincode.typings";
75
75
  export * from "./typings/verification_apis/gstVerification.typings";
76
+ export * from "./typings/verification_apis/udyamVerification.typings";
76
77
  export * from "./typings/kpis/company/companyKpisCommons.typings";
77
78
  export * from "./typings/kpis/vendor/vendorKpisCommons.typings";
78
79
  export * from "./typings/kpis/company/testKpi.typings";
package/build/index.js CHANGED
@@ -95,6 +95,7 @@ __exportStar(require("./utils/getMediaName.util"), exports);
95
95
  // Verification APIs
96
96
  __exportStar(require("./typings/verification_apis/pincode.typings"), exports);
97
97
  __exportStar(require("./typings/verification_apis/gstVerification.typings"), exports);
98
+ __exportStar(require("./typings/verification_apis/udyamVerification.typings"), exports);
98
99
  // Common KPIs
99
100
  __exportStar(require("./typings/kpis/company/companyKpisCommons.typings"), exports);
100
101
  __exportStar(require("./typings/kpis/vendor/vendorKpisCommons.typings"), exports);
@@ -24,6 +24,8 @@ export interface IItemFilters {
24
24
  company_id?: string;
25
25
  company_vendor_id?: string;
26
26
  approver_id?: string;
27
+ item_category_id?: string;
28
+ item_subcategory_id?: string;
27
29
  status?: ITEM_APPROVAL_STATUS;
28
30
  include?: ITEM_INCLUDE[];
29
31
  }
@@ -1,5 +1,6 @@
1
1
  import { INestedCompany } from "./company.typings";
2
2
  import { ICompanyVendor, INestedCompanyVendors } from "./companyVendors.typings";
3
+ import { INestedItem } from "./item.typings";
3
4
  import { INestedItemSubcategory } from "./itemSubcategory.typings";
4
5
  export interface ICategory {
5
6
  category_name: string;
@@ -16,11 +17,13 @@ export interface ICategory {
16
17
  subcategories?: INestedItemSubcategory[] | null;
17
18
  dealing_company_vendors?: INestedCompanyVendors[] | null;
18
19
  allowed_company_vendors_by_company?: ICompanyVendor[] | null;
20
+ items: INestedItem[] | null;
19
21
  }
20
- export interface INestedItemCategory extends Omit<ICategory, "company" | "subcategories" | "dealing_company_vendors"> {
22
+ export interface INestedItemCategory extends Omit<ICategory, "company" | "subcategories" | "dealing_company_vendors" | "items" | "allowed_company_vendors_by_company"> {
21
23
  }
22
24
  export declare enum ItemCategoryInclude {
23
25
  subcategories = "subcategories",
24
26
  dealing_company_vendors = "dealing_company_vendors",
25
- allowed_company_vendors_by_company = "allowed_company_vendors_by_company"
27
+ allowed_company_vendors_by_company = "allowed_company_vendors_by_company",
28
+ items = "items"
26
29
  }
@@ -6,4 +6,5 @@ var ItemCategoryInclude;
6
6
  ItemCategoryInclude["subcategories"] = "subcategories";
7
7
  ItemCategoryInclude["dealing_company_vendors"] = "dealing_company_vendors";
8
8
  ItemCategoryInclude["allowed_company_vendors_by_company"] = "allowed_company_vendors_by_company";
9
+ ItemCategoryInclude["items"] = "items";
9
10
  })(ItemCategoryInclude || (exports.ItemCategoryInclude = ItemCategoryInclude = {}));
@@ -0,0 +1,26 @@
1
+ export interface IUDYAMResponse {
2
+ udyamRegistrationNumber: string;
3
+ nameOfEnterprise: string;
4
+ organisationType: string;
5
+ majorActivity: string;
6
+ gender: string;
7
+ socialCategory: string;
8
+ dateOfIncorporation: string;
9
+ dateOfCommencement?: string;
10
+ officialAddress: {
11
+ flatOrBlockNo: string;
12
+ buildingName: string;
13
+ villageOrTown: string;
14
+ block: string;
15
+ roadOrStreet: string;
16
+ city: string;
17
+ state: string;
18
+ district: string;
19
+ pin: string;
20
+ mobile: string;
21
+ email: string;
22
+ };
23
+ dic: string;
24
+ msmeDfo: string;
25
+ dateOfRegistration: string;
26
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "9.19.0",
3
+ "version": "9.20.1",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",