kcommons 13.12.0 → 13.12.2

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.
@@ -9,7 +9,7 @@ export interface ICINErrorResponse {
9
9
  errors: ICINError[];
10
10
  };
11
11
  }
12
- export interface ICINVerificationResponse {
12
+ export interface CompanyData {
13
13
  cin: string | null;
14
14
  company: string | null;
15
15
  company_type: string | null;
@@ -33,12 +33,24 @@ export interface ICINVerificationResponse {
33
33
  balance_sheet_date: string | null;
34
34
  inc22aflag: string | null;
35
35
  establishment_date: string | null;
36
- error: string | null;
37
- message: string | null;
38
- status: string | null;
39
36
  company_address: ICINCompanyAddress | null;
37
+ }
38
+ export interface CINData {
39
+ company_data: CompanyData;
40
40
  director_data: ICINDirectorData | null;
41
41
  }
42
+ export interface ICINVerificationResponse {
43
+ status: string;
44
+ billable: string;
45
+ status_code: string;
46
+ error: string | null;
47
+ data: CINData;
48
+ message: string;
49
+ request_id: string;
50
+ sequence_id: string;
51
+ request_time: string;
52
+ response_time: string;
53
+ }
42
54
  export interface ICINCompanyAddress {
43
55
  street_address: string | null;
44
56
  street_address2: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "13.12.0",
3
+ "version": "13.12.2",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",