kcommons 14.17.0 → 14.18.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.
@@ -10,6 +10,7 @@ import { INestedVendor } from "../../vendor.typings";
10
10
  import { INestedVESCheckpointTracking } from "../_junctions/vesCheckpointTracking.typings";
11
11
  import { INestedCheckpoint } from "./checkpoints.typings";
12
12
  import { INestedVESItem } from "./vesItem.typings";
13
+ import { INestedItem } from "../../item.typings";
13
14
  export declare enum VES_REQUESTING_ENTITY_TYPE {
14
15
  STORE_LOCATION = "store_location",
15
16
  CHECKPOINT = "checkpoint"
@@ -113,11 +114,16 @@ export interface IFetchDocumentForVESByDocumentNoResponse {
113
114
  document_type: VES_PARENT_DOCUMENT_TYPE;
114
115
  }
115
116
  export declare enum VES_METAFIELDS_INCLUDE {
116
- vendor = "vendor"
117
+ vendor = "vendor",
118
+ items_data = "items_data"
117
119
  }
118
120
  export interface IVESMetafields {
119
121
  vendor: INestedVendor | null;
122
+ items_data: INestedItem[] | null;
120
123
  }
124
+ /**
125
+ * @deprecated
126
+ * */
121
127
  export interface IVESMetafieldArgs {
122
128
  ves_id: string | null;
123
129
  }
@@ -48,4 +48,5 @@ var VES_INCLUDE;
48
48
  var VES_METAFIELDS_INCLUDE;
49
49
  (function (VES_METAFIELDS_INCLUDE) {
50
50
  VES_METAFIELDS_INCLUDE["vendor"] = "vendor";
51
+ VES_METAFIELDS_INCLUDE["items_data"] = "items_data";
51
52
  })(VES_METAFIELDS_INCLUDE || (exports.VES_METAFIELDS_INCLUDE = VES_METAFIELDS_INCLUDE = {}));
@@ -52,8 +52,9 @@ export interface IComparative {
52
52
  child_pos: INestedPo[] | null;
53
53
  approval_chain: INestedEntityApprovalChainEntry[] | null;
54
54
  items: INestedComparativeItem[] | null;
55
+ metafields: IComparativeMetafields | null;
55
56
  }
56
- export interface INestedComparative extends Omit<IComparative, "company" | "parent_rfq" | "sent_for_approval_by_user" | "quotes" | "child_pos" | "approval_chain" | "items"> {
57
+ export interface INestedComparative extends Omit<IComparative, "company" | "parent_rfq" | "sent_for_approval_by_user" | "quotes" | "child_pos" | "approval_chain" | "items" | "metafields"> {
57
58
  }
58
59
  export interface IComparativeFilters {
59
60
  rfq_id?: string;
@@ -99,3 +100,9 @@ export interface IComparativeItem {
99
100
  }
100
101
  export interface INestedComparativeItem extends Omit<IComparativeItem, "company" | "comparative" | "item" | "po_items" | "quote_items" | "lowest_rate_quote"> {
101
102
  }
103
+ export interface IComparativeMetafields {
104
+ items_data: INestedItem[] | null;
105
+ }
106
+ export declare enum COMPARATIVE_METAFIELDS_INCLUDE {
107
+ items_data = "items_data"
108
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.COMPARATIVE_ITEM_INCLUDE = exports.COMPARATIVE_INCLUDE = exports.COMPARATIVE_STATUS = exports.COMPARATIVE_TABS = void 0;
3
+ exports.COMPARATIVE_METAFIELDS_INCLUDE = exports.COMPARATIVE_ITEM_INCLUDE = exports.COMPARATIVE_INCLUDE = exports.COMPARATIVE_STATUS = exports.COMPARATIVE_TABS = void 0;
4
4
  var COMPARATIVE_TABS;
5
5
  (function (COMPARATIVE_TABS) {
6
6
  COMPARATIVE_TABS["COMMERCIAL"] = "Commercial";
@@ -40,3 +40,7 @@ var COMPARATIVE_ITEM_INCLUDE;
40
40
  COMPARATIVE_ITEM_INCLUDE["quote_items"] = "quote_items";
41
41
  COMPARATIVE_ITEM_INCLUDE["lowest_rate_quote"] = "lowest_rate_quote";
42
42
  })(COMPARATIVE_ITEM_INCLUDE || (exports.COMPARATIVE_ITEM_INCLUDE = COMPARATIVE_ITEM_INCLUDE = {}));
43
+ var COMPARATIVE_METAFIELDS_INCLUDE;
44
+ (function (COMPARATIVE_METAFIELDS_INCLUDE) {
45
+ COMPARATIVE_METAFIELDS_INCLUDE["items_data"] = "items_data";
46
+ })(COMPARATIVE_METAFIELDS_INCLUDE || (exports.COMPARATIVE_METAFIELDS_INCLUDE = COMPARATIVE_METAFIELDS_INCLUDE = {}));
@@ -34,6 +34,7 @@ export interface IMIFilters extends Partial<Pick<IMI, "issued_for_non_onboarded_
34
34
  store_location_id?: string;
35
35
  list_type?: MI_LIST_TYPES;
36
36
  name?: string;
37
+ metafields_include?: MI_METAFIELDS_INCLUDE[];
37
38
  }
38
39
  export interface IMIFiltersWithPagination extends IPaginationFilters, IMIFilters {
39
40
  }
@@ -73,8 +74,9 @@ export interface IMI {
73
74
  sent_for_approval_by_user: INestedUser | null;
74
75
  issued_by_user: INestedUser | null;
75
76
  last_updated_by_user: INestedUser | null;
77
+ metafields: IMIMetafields | null;
76
78
  }
77
- export interface INestedMI extends Omit<IMI, "store_location" | "company" | "paretn_department" | "created_by_user" | "parent_indent" | "items" | "approval_chain" | "store_location" | "inventory_logs" | "issued_for_onboarded_user" | "issued_for_non_onboarded_user" | "sent_for_approval_by_user" | "issued_by_user" | "last_updated_by_user"> {
79
+ export interface INestedMI extends Omit<IMI, "store_location" | "company" | "paretn_department" | "created_by_user" | "parent_indent" | "items" | "approval_chain" | "store_location" | "inventory_logs" | "issued_for_onboarded_user" | "issued_for_non_onboarded_user" | "sent_for_approval_by_user" | "issued_by_user" | "last_updated_by_user" | "metafields"> {
78
80
  }
79
81
  export declare enum MI_STATUS {
80
82
  DRAFT = "DRAFT",
@@ -122,3 +124,9 @@ export interface IOpenMIApprovalData {
122
124
  userData: IUser;
123
125
  entityApprovalChainEntry: IEntityApprovalChainEntry;
124
126
  }
127
+ export interface IMIMetafields {
128
+ items_data: INestedItem[] | null;
129
+ }
130
+ export declare enum MI_METAFIELDS_INCLUDE {
131
+ items_data = "items_data"
132
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MI_ITEM_INCLUDE = exports.MI_INCLUDE = exports.MI_STATUS = exports.MI_SOURCE = exports.MI_TABS = exports.MI_LIST_TYPES = exports.MI_ISSUED_FOR_USER_TYPE = void 0;
3
+ exports.MI_METAFIELDS_INCLUDE = exports.MI_ITEM_INCLUDE = exports.MI_INCLUDE = exports.MI_STATUS = exports.MI_SOURCE = exports.MI_TABS = exports.MI_LIST_TYPES = exports.MI_ISSUED_FOR_USER_TYPE = void 0;
4
4
  var MI_ISSUED_FOR_USER_TYPE;
5
5
  (function (MI_ISSUED_FOR_USER_TYPE) {
6
6
  MI_ISSUED_FOR_USER_TYPE["ONBOARDED_USER"] = "ONBOARDED_USER";
@@ -56,3 +56,7 @@ var MI_ITEM_INCLUDE;
56
56
  MI_ITEM_INCLUDE["company"] = "company";
57
57
  MI_ITEM_INCLUDE["parent_mi"] = "parent_mi";
58
58
  })(MI_ITEM_INCLUDE || (exports.MI_ITEM_INCLUDE = MI_ITEM_INCLUDE = {}));
59
+ var MI_METAFIELDS_INCLUDE;
60
+ (function (MI_METAFIELDS_INCLUDE) {
61
+ MI_METAFIELDS_INCLUDE["items_data"] = "items_data";
62
+ })(MI_METAFIELDS_INCLUDE || (exports.MI_METAFIELDS_INCLUDE = MI_METAFIELDS_INCLUDE = {}));
@@ -55,6 +55,7 @@ export interface IPRFilters {
55
55
  status?: PR_STATUS;
56
56
  list_type?: PR_LIST_TYPE;
57
57
  purchase_location_id?: string;
58
+ metafields_include?: PR_METAFIELDS_INCLUDE[];
58
59
  }
59
60
  export interface IPRFiltersWithPagination extends IPaginationFilters, IPRFilters {
60
61
  }
@@ -95,8 +96,9 @@ export interface IPR {
95
96
  updated_by_user: INestedUser | null;
96
97
  sent_to_purchase_location_by: INestedUser | null;
97
98
  child_rfqs: INestedRFQ[] | null;
99
+ metafields: IPRMetafields | null;
98
100
  }
99
- export interface INestedPR extends Omit<IPR, "created_by_user" | "company" | "parent_indent" | "target_purchase_location" | "approval_chain" | "items" | "referenced_rfq_items" | "sent_for_approval_by" | "updated_by_user" | "sent_to_purchase_location_by" | "parent_store_location" | "child_rfqs"> {
101
+ export interface INestedPR extends Omit<IPR, "created_by_user" | "company" | "parent_indent" | "target_purchase_location" | "approval_chain" | "items" | "referenced_rfq_items" | "sent_for_approval_by" | "updated_by_user" | "sent_to_purchase_location_by" | "parent_store_location" | "child_rfqs" | "metafields"> {
100
102
  }
101
103
  export declare enum PR_ITEM_INCLUDE {
102
104
  company = "company",
@@ -133,3 +135,9 @@ export interface IOpenPRApprovalData {
133
135
  userData: IUser;
134
136
  entityApprovalChainEntry: IEntityApprovalChainEntry;
135
137
  }
138
+ export interface IPRMetafields {
139
+ items_data: INestedItem[] | null;
140
+ }
141
+ export declare enum PR_METAFIELDS_INCLUDE {
142
+ items_data = "items_data"
143
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PR_PRIORITY_TYPES = exports.PR_ITEM_INCLUDE = exports.PR_INCLUDE = exports.PR_STATUS = exports.PR_SOURCE = exports.PR_TABS = exports.PR_LIST_TYPE = void 0;
3
+ exports.PR_METAFIELDS_INCLUDE = exports.PR_PRIORITY_TYPES = exports.PR_ITEM_INCLUDE = exports.PR_INCLUDE = exports.PR_STATUS = exports.PR_SOURCE = exports.PR_TABS = exports.PR_LIST_TYPE = void 0;
4
4
  var PR_LIST_TYPE;
5
5
  (function (PR_LIST_TYPE) {
6
6
  PR_LIST_TYPE["ALL"] = "ALL";
@@ -60,3 +60,7 @@ exports.PR_PRIORITY_TYPES = {
60
60
  MEDIUM: "Medium",
61
61
  HIGH: "High",
62
62
  };
63
+ var PR_METAFIELDS_INCLUDE;
64
+ (function (PR_METAFIELDS_INCLUDE) {
65
+ PR_METAFIELDS_INCLUDE["items_data"] = "items_data";
66
+ })(PR_METAFIELDS_INCLUDE || (exports.PR_METAFIELDS_INCLUDE = PR_METAFIELDS_INCLUDE = {}));
@@ -31,6 +31,7 @@ export interface IRFQFilters {
31
31
  name?: string;
32
32
  list_type?: RFQ_LIST_TYPES;
33
33
  include?: RFQ_INCLUDES[];
34
+ metafields_include?: RFQ_METAFIELDS_INCLUDE[];
34
35
  }
35
36
  export declare enum RFQVendorType {
36
37
  DIRECT = "DIRECT",
@@ -122,8 +123,9 @@ export interface IRFQ {
122
123
  additional_vendors?: INestedVendor[] | null;
123
124
  boms: INestedRFQBOM[] | null;
124
125
  parent_prs: INestedPR[] | null;
126
+ metafields: IRFQMetafields | null;
125
127
  }
126
- export interface INestedRFQ extends Omit<IRFQ, "company" | "parent_purchase_location" | "created_by_user" | "shipping_store_location" | "contact_person" | "sent_for_approval_by" | "sent_to_vendors_by" | "quotes" | "items" | "approval_chain" | "rfq_vendor_groups" | "rfq_vendors" | "additional_vendors" | "boms" | "comparative" | "parent_prs"> {
128
+ export interface INestedRFQ extends Omit<IRFQ, "company" | "parent_purchase_location" | "created_by_user" | "shipping_store_location" | "contact_person" | "sent_for_approval_by" | "sent_to_vendors_by" | "quotes" | "items" | "approval_chain" | "rfq_vendor_groups" | "rfq_vendors" | "additional_vendors" | "boms" | "comparative" | "parent_prs" | "metafields"> {
127
129
  }
128
130
  export declare enum RFQ_ITEM_INCLUDE {
129
131
  parent_rfq = "parent_rfq",
@@ -204,3 +206,9 @@ export interface IOpenRFQApprovalData {
204
206
  userData: IUser;
205
207
  rfqCompanyVendors: ICompanyVendor[];
206
208
  }
209
+ export interface IRFQMetafields {
210
+ items_data: INestedItem[] | null;
211
+ }
212
+ export declare enum RFQ_METAFIELDS_INCLUDE {
213
+ items_data = "items_data"
214
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RFQ_BOM_INCLUDE = exports.RFQ_ITEM_INCLUDE = exports.BIDDING_TYPES = exports.RFQ_ITEM_TYPE = exports.RFQ_STATUS = exports.RFQ_INCLUDES = exports.RFQVendorType = exports.RFQ_TABS = exports.RFQ_LIST_TYPES = void 0;
3
+ exports.RFQ_METAFIELDS_INCLUDE = exports.RFQ_BOM_INCLUDE = exports.RFQ_ITEM_INCLUDE = exports.BIDDING_TYPES = exports.RFQ_ITEM_TYPE = exports.RFQ_STATUS = exports.RFQ_INCLUDES = exports.RFQVendorType = exports.RFQ_TABS = exports.RFQ_LIST_TYPES = void 0;
4
4
  var RFQ_LIST_TYPES;
5
5
  (function (RFQ_LIST_TYPES) {
6
6
  RFQ_LIST_TYPES["ALL"] = "ALL";
@@ -82,3 +82,7 @@ var RFQ_BOM_INCLUDE;
82
82
  RFQ_BOM_INCLUDE["bom"] = "bom";
83
83
  RFQ_BOM_INCLUDE["referenced_rfq_item"] = "referenced_rfq_item";
84
84
  })(RFQ_BOM_INCLUDE || (exports.RFQ_BOM_INCLUDE = RFQ_BOM_INCLUDE = {}));
85
+ var RFQ_METAFIELDS_INCLUDE;
86
+ (function (RFQ_METAFIELDS_INCLUDE) {
87
+ RFQ_METAFIELDS_INCLUDE["items_data"] = "items_data";
88
+ })(RFQ_METAFIELDS_INCLUDE || (exports.RFQ_METAFIELDS_INCLUDE = RFQ_METAFIELDS_INCLUDE = {}));
@@ -38,9 +38,9 @@ export declare enum TEMPORARY_WORKER_FORM_INCLUDE {
38
38
  last_updated_by_user = "last_updated_by_user"
39
39
  }
40
40
  export declare enum GENDER {
41
- male = "male",
42
- female = "female",
43
- other = "'other"
41
+ Male = "Male",
42
+ Female = "Female",
43
+ Other = "Other"
44
44
  }
45
45
  export interface ITemporaryWorkerFormFilter extends Partial<Pick<ITemporaryWorkerForm, "is_enabled">> {
46
46
  name?: string | null;
@@ -48,3 +48,55 @@ export interface ITemporaryWorkerFormFilter extends Partial<Pick<ITemporaryWorke
48
48
  }
49
49
  export interface ITemporaryWorkerFormFiltersWithPagination extends IPaginationFilters, ITemporaryWorkerFormFilter {
50
50
  }
51
+ export interface IVerifyAadhaarBody {
52
+ udf1: string;
53
+ udf2: string;
54
+ udf3: string;
55
+ }
56
+ export interface IAadhaarRequestUrlResponse {
57
+ txn_id: string;
58
+ api_category: string;
59
+ api_name: string;
60
+ billable: string;
61
+ message: string;
62
+ status: string;
63
+ result: {
64
+ url: string;
65
+ };
66
+ datetime: string;
67
+ }
68
+ export interface IAadhaarDataResponse {
69
+ txn_id: string;
70
+ api_category: string;
71
+ api_name: string;
72
+ billable: boolean;
73
+ message: string;
74
+ status: string;
75
+ result: {
76
+ aadhaar: string;
77
+ };
78
+ datetime: string;
79
+ }
80
+ export interface IAadhaarFetchDataBody {
81
+ txn_id: string;
82
+ }
83
+ export interface AadhaarParsedData {
84
+ first_name: string | null;
85
+ middle_name: string | null;
86
+ last_name: string | null;
87
+ dob: string | null;
88
+ gender: GENDER;
89
+ co: string | null;
90
+ house: string | null;
91
+ lm: string | null;
92
+ loc: string | null;
93
+ vtc: string | null;
94
+ dist: string | null;
95
+ state: string | null;
96
+ pc: string | null;
97
+ country: string | null;
98
+ image: string | null;
99
+ aadhaar: string | null;
100
+ }
101
+ export declare const parseAadhaarXML: (xmlString: string) => AadhaarParsedData | null;
102
+ export declare const calculateAge: (dob: string) => number;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GENDER = exports.TEMPORARY_WORKER_FORM_INCLUDE = void 0;
3
+ exports.calculateAge = exports.parseAadhaarXML = exports.GENDER = exports.TEMPORARY_WORKER_FORM_INCLUDE = void 0;
4
4
  var TEMPORARY_WORKER_FORM_INCLUDE;
5
5
  (function (TEMPORARY_WORKER_FORM_INCLUDE) {
6
6
  TEMPORARY_WORKER_FORM_INCLUDE["company"] = "company";
@@ -9,7 +9,72 @@ var TEMPORARY_WORKER_FORM_INCLUDE;
9
9
  })(TEMPORARY_WORKER_FORM_INCLUDE || (exports.TEMPORARY_WORKER_FORM_INCLUDE = TEMPORARY_WORKER_FORM_INCLUDE = {}));
10
10
  var GENDER;
11
11
  (function (GENDER) {
12
- GENDER["male"] = "male";
13
- GENDER["female"] = "female";
14
- GENDER["other"] = "'other";
12
+ GENDER["Male"] = "Male";
13
+ GENDER["Female"] = "Female";
14
+ GENDER["Other"] = "Other";
15
15
  })(GENDER || (exports.GENDER = GENDER = {}));
16
+ const parseAadhaarXML = (xmlString) => {
17
+ const parser = new DOMParser();
18
+ const xml = parser.parseFromString(xmlString, "text/xml");
19
+ const poi = xml.querySelector("Poi");
20
+ const poa = xml.querySelector("Poa");
21
+ const pht = xml.querySelector("Pht");
22
+ const uidData = xml.querySelector("UidData");
23
+ if (!poi || !poa || !pht || !uidData)
24
+ return null;
25
+ const genderCode = poi.getAttribute("gender");
26
+ const full_name = poi.getAttribute("name");
27
+ const parts = full_name ? full_name.trim().split(/\s+/) : "";
28
+ const first_name = parts[0] || "";
29
+ const middle_name = parts.length === 3 ? parts[1] : "";
30
+ const last_name = parts.length >= 2 ? parts[parts.length - 1] : "";
31
+ return {
32
+ // POI
33
+ first_name: first_name,
34
+ middle_name: middle_name,
35
+ last_name: last_name,
36
+ dob: poi.getAttribute("dob"),
37
+ gender: genderCode === "M"
38
+ ? GENDER.Male
39
+ : genderCode === "F"
40
+ ? GENDER.Female
41
+ : GENDER.Other,
42
+ // POA
43
+ co: poa.getAttribute("co"),
44
+ house: poa.getAttribute("house"),
45
+ lm: poa.getAttribute("lm"),
46
+ loc: poa.getAttribute("loc"),
47
+ vtc: poa.getAttribute("vtc"),
48
+ dist: poa.getAttribute("dist"),
49
+ state: poa.getAttribute("state"),
50
+ pc: poa.getAttribute("pc"),
51
+ country: poa.getAttribute("country"),
52
+ // PHT
53
+ image: pht.textContent || null,
54
+ // UID
55
+ aadhaar: uidData.getAttribute("uid"),
56
+ };
57
+ };
58
+ exports.parseAadhaarXML = parseAadhaarXML;
59
+ const calculateAge = (dob) => {
60
+ let birthDate = null;
61
+ // Case 1: ISO format (YYYY-MM-DD) → JS can parse safely
62
+ if (/^\d{4}-\d{2}-\d{2}$/.test(dob)) {
63
+ birthDate = new Date(dob);
64
+ }
65
+ // Case 2: DD-MM-YYYY (manual parse)
66
+ else if (/^\d{2}-\d{2}-\d{4}$/.test(dob)) {
67
+ const [day, month, year] = dob.split("-").map(Number);
68
+ birthDate = new Date(year, month - 1, day);
69
+ }
70
+ if (!birthDate || isNaN(birthDate.getTime()))
71
+ return 0;
72
+ const today = new Date();
73
+ let age = today.getFullYear() - birthDate.getFullYear();
74
+ const m = today.getMonth() - birthDate.getMonth();
75
+ if (m < 0 || (m === 0 && today.getDate() < birthDate.getDate())) {
76
+ age--;
77
+ }
78
+ return age;
79
+ };
80
+ exports.calculateAge = calculateAge;
@@ -39,17 +39,17 @@ export interface IUdyamApiResponsev2 {
39
39
  export interface MSMEData {
40
40
  udyam_number: string;
41
41
  dic: string;
42
- 'date_of_commencement_of_production/business': string;
42
+ "date_of_commencement_of_production/business": string;
43
43
  date_of_incorporation: string;
44
44
  date_of_udyam_registration: string;
45
45
  gender: string;
46
- 'msme-dfo': string;
46
+ "msme-dfo": string;
47
47
  major_activity: string;
48
48
  name_of_enterprise: string;
49
49
  organisation_type: string;
50
50
  social_category: string;
51
51
  udyam_registration_number: string;
52
- 'unit/plant_locations_details': UnitPlantLocation[];
52
+ "unit/plant_locations_details": UnitPlantLocation[];
53
53
  enterprise_type: EnterpriseType[];
54
54
  national_industry_classification_code: NationalIndustryClassificationCode[];
55
55
  official_address_of_enterprise: OfficialAddress;
@@ -60,7 +60,7 @@ export interface UnitPlantLocation {
60
60
  unit_name: string;
61
61
  flat: string;
62
62
  building: string;
63
- 'village/town': string;
63
+ "village/town": string;
64
64
  block: string;
65
65
  road: string;
66
66
  city: string;
@@ -69,14 +69,14 @@ export interface UnitPlantLocation {
69
69
  district: string;
70
70
  }
71
71
  export interface EnterpriseType {
72
- 'sno.': string;
72
+ "sno.": string;
73
73
  data_year: string;
74
74
  classification_year: string;
75
75
  enterprise_type: string;
76
76
  classification_date: string;
77
77
  }
78
78
  export interface NationalIndustryClassificationCode {
79
- 'sno.': string;
79
+ "sno.": string;
80
80
  nic_2_digit: string;
81
81
  nic_4_digit: string;
82
82
  nic_5_digit: string;
@@ -84,11 +84,11 @@ export interface NationalIndustryClassificationCode {
84
84
  date: string;
85
85
  }
86
86
  export interface OfficialAddress {
87
- 'flat/door/block_no.': string;
88
- 'name_of_premises/_building': string;
89
- 'village/town': string;
87
+ "flat/door/block_no.": string;
88
+ "name_of_premises/_building": string;
89
+ "village/town": string;
90
90
  block: string;
91
- 'road/street/lane': string;
91
+ "road/street/lane": string;
92
92
  city: string;
93
93
  state: string;
94
94
  district: string;
@@ -96,3 +96,6 @@ export interface OfficialAddress {
96
96
  mobile: string;
97
97
  email: string;
98
98
  }
99
+ export interface IVerifyUdyamReq {
100
+ udyam_no: string;
101
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "14.17.0",
3
+ "version": "14.18.1",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",