kcommons 14.18.2 → 14.19.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 +1 -0
- package/build/index.js +1 -0
- package/build/typings/temporaryWorkerForm.typings.d.ts +2 -2
- package/build/typings/temporaryWorkerForm.typings.js +1 -1
- package/build/typings/verification_apis/aadhaarVerification.typings.d.ts +26 -0
- package/build/typings/verification_apis/aadhaarVerification.typings.js +2 -0
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -116,6 +116,7 @@ export * from "./typings/verification_apis/fssaiVerification.typings";
|
|
|
116
116
|
export * from "./typings/verification_apis/panVerification.typings";
|
|
117
117
|
export * from "./typings/verification_apis/bankAccountVerification.typings";
|
|
118
118
|
export * from "./typings/verification_apis/cinVerification.typings";
|
|
119
|
+
export * from "./typings/verification_apis/aadhaarVerification.typings";
|
|
119
120
|
export * from "./typings/kpis/basKPIS.typings";
|
|
120
121
|
export * from "./typings/kpis/company/main/purchase/totalSavings.typings";
|
|
121
122
|
export * from "./typings/kpis/company/main/purchase/purchaseTrend.typings";
|
package/build/index.js
CHANGED
|
@@ -141,6 +141,7 @@ __exportStar(require("./typings/verification_apis/fssaiVerification.typings"), e
|
|
|
141
141
|
__exportStar(require("./typings/verification_apis/panVerification.typings"), exports);
|
|
142
142
|
__exportStar(require("./typings/verification_apis/bankAccountVerification.typings"), exports);
|
|
143
143
|
__exportStar(require("./typings/verification_apis/cinVerification.typings"), exports);
|
|
144
|
+
__exportStar(require("./typings/verification_apis/aadhaarVerification.typings"), exports);
|
|
144
145
|
// KPIs
|
|
145
146
|
__exportStar(require("./typings/kpis/basKPIS.typings"), exports);
|
|
146
147
|
// Main Dashboard KPIS
|
|
@@ -4,7 +4,7 @@ import { INestedUser } from "./user.typings";
|
|
|
4
4
|
export interface ITemporaryWorkerForm {
|
|
5
5
|
id: string;
|
|
6
6
|
first_name: string;
|
|
7
|
-
middle_name: string
|
|
7
|
+
middle_name: string;
|
|
8
8
|
last_name: string;
|
|
9
9
|
age: number;
|
|
10
10
|
gender: GENDER;
|
|
@@ -101,4 +101,4 @@ export interface AadhaarParsedData {
|
|
|
101
101
|
}
|
|
102
102
|
export declare const parseAadhaarXML: (xmlString: string) => AadhaarParsedData | null;
|
|
103
103
|
export declare const calculateAge: (dob: string) => number;
|
|
104
|
-
export declare const UNDER_AGE_LIMIT =
|
|
104
|
+
export declare const UNDER_AGE_LIMIT = 14;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface IAadhaarVerificationURLResponse {
|
|
2
|
+
txn_id: string | null;
|
|
3
|
+
api_category: string | null;
|
|
4
|
+
api_name: string | null;
|
|
5
|
+
billable: string | null;
|
|
6
|
+
message: string | null;
|
|
7
|
+
status: string | null;
|
|
8
|
+
result: AadhaarURLData;
|
|
9
|
+
datetime: string | null;
|
|
10
|
+
}
|
|
11
|
+
export interface AadhaarURLData {
|
|
12
|
+
url: string | null;
|
|
13
|
+
}
|
|
14
|
+
export interface IAadhaarVerificationAadhaarResponse {
|
|
15
|
+
txn_id: string | null;
|
|
16
|
+
api_category: string | null;
|
|
17
|
+
api_name: string | null;
|
|
18
|
+
billable: string | null;
|
|
19
|
+
message: string | null;
|
|
20
|
+
status: string | null;
|
|
21
|
+
result: AadhaarData;
|
|
22
|
+
datetime: string | null;
|
|
23
|
+
}
|
|
24
|
+
export interface AadhaarData {
|
|
25
|
+
aadhaar: string | null;
|
|
26
|
+
}
|