@stashfin/mysql2 1.4.266 → 1.4.268
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/models/Affiliate.d.ts +13 -0
- package/models/StCustomerAadhaarKyc.d.ts +28 -0
- package/models/StCustomerAadhaarKyc.js +2 -0
- package/models/StCustomerDocument.d.ts +52 -0
- package/models/StCustomerDocument.js +2 -0
- package/models/V2CurlResponses.d.ts +14 -0
- package/models/V2CurlResponses.js +2 -0
- package/package.json +1 -1
package/models/Affiliate.d.ts
CHANGED
|
@@ -31,5 +31,18 @@ export interface CampaignTable {
|
|
|
31
31
|
created_at?: Date;
|
|
32
32
|
updated_at?: Date;
|
|
33
33
|
}
|
|
34
|
+
export interface AffiliateOrdersTable {
|
|
35
|
+
id?: number;
|
|
36
|
+
campaign_id: number;
|
|
37
|
+
external_order_id: string;
|
|
38
|
+
status: 'pending' | 'confirmed' | 'cancelled' | 'rejected';
|
|
39
|
+
amount: number;
|
|
40
|
+
customer_id: number;
|
|
41
|
+
created_at?: Date;
|
|
42
|
+
updated_at?: Date;
|
|
43
|
+
expected_confirmation_at: string;
|
|
44
|
+
}
|
|
34
45
|
export interface CampaignModel extends CampaignTable, RowDataPacket {
|
|
35
46
|
}
|
|
47
|
+
export interface AffiliateOrdersModel extends AffiliateOrdersTable, RowDataPacket {
|
|
48
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { RowDataPacket } from 'mysql2';
|
|
2
|
+
export interface StCustomerAadhaarKycTable {
|
|
3
|
+
id?: number;
|
|
4
|
+
customer_id: number;
|
|
5
|
+
transaction_id?: string | null;
|
|
6
|
+
url?: string | null;
|
|
7
|
+
payload?: string | null;
|
|
8
|
+
return_data?: string | null;
|
|
9
|
+
is_skipped?: number;
|
|
10
|
+
is_sms?: number;
|
|
11
|
+
is_video?: number;
|
|
12
|
+
status?: number;
|
|
13
|
+
add_user_id?: number | null;
|
|
14
|
+
create_date?: Date;
|
|
15
|
+
update_date?: Date;
|
|
16
|
+
is_xml_done?: number;
|
|
17
|
+
aadhaar?: string | null;
|
|
18
|
+
processed_by?: number | null;
|
|
19
|
+
manual_kyc?: number;
|
|
20
|
+
unable_kyc?: number;
|
|
21
|
+
manual_kyc_click_time?: Date | null;
|
|
22
|
+
phone_matched?: number;
|
|
23
|
+
email_matched?: number;
|
|
24
|
+
retry_count?: number;
|
|
25
|
+
okyc_type?: number;
|
|
26
|
+
}
|
|
27
|
+
export interface StCustomerAadhaarKycModel extends StCustomerAadhaarKycTable, RowDataPacket {
|
|
28
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { RowDataPacket } from 'mysql2';
|
|
2
|
+
export interface StCustomerDocumentsTable {
|
|
3
|
+
id?: number;
|
|
4
|
+
user_id?: number;
|
|
5
|
+
pan_proof?: string | null;
|
|
6
|
+
id_proof?: string | null;
|
|
7
|
+
address_proof?: string | null;
|
|
8
|
+
employee_id?: string | null;
|
|
9
|
+
salary_slip1?: string | null;
|
|
10
|
+
salary_slip2?: string | null;
|
|
11
|
+
salary_slip3?: string | null;
|
|
12
|
+
address_proof_id?: number | null;
|
|
13
|
+
id_proof_id?: number | null;
|
|
14
|
+
office_id?: string | null;
|
|
15
|
+
additional_income?: string | null;
|
|
16
|
+
create_date?: Date;
|
|
17
|
+
update_date?: Date;
|
|
18
|
+
status?: number | null;
|
|
19
|
+
add_user_id?: number | null;
|
|
20
|
+
update_user_id?: number | null;
|
|
21
|
+
move_to_s3?: number;
|
|
22
|
+
signature?: string | null;
|
|
23
|
+
signature_original?: string | null;
|
|
24
|
+
dcb_form?: string | null;
|
|
25
|
+
nach_form?: string | null;
|
|
26
|
+
unlinked?: number;
|
|
27
|
+
registration_self_certificate?: string | null;
|
|
28
|
+
income_tax_return?: string | null;
|
|
29
|
+
income_tax_return2?: string | null;
|
|
30
|
+
income_tax_return2_id?: number | null;
|
|
31
|
+
aadhaar_back_masked?: string | null;
|
|
32
|
+
registration_self_certificate_id?: number | null;
|
|
33
|
+
income_tax_return_id?: number | null;
|
|
34
|
+
legal_notice?: string | null;
|
|
35
|
+
aadhar_front?: string | null;
|
|
36
|
+
aadhar_back?: string | null;
|
|
37
|
+
agreement_form?: string | null;
|
|
38
|
+
pan_status?: number | null;
|
|
39
|
+
id_proof_status?: number | null;
|
|
40
|
+
address_status?: number | null;
|
|
41
|
+
common_approve_status?: number | null;
|
|
42
|
+
application_form?: string | null;
|
|
43
|
+
application_form_coapplicant?: string | null;
|
|
44
|
+
aadhaar_front_masked?: string | null;
|
|
45
|
+
other_address_proof?: string | null;
|
|
46
|
+
loan_agreement?: string | null;
|
|
47
|
+
itr?: string | null;
|
|
48
|
+
gst?: string | null;
|
|
49
|
+
cfaf_form?: string | null;
|
|
50
|
+
}
|
|
51
|
+
export interface StCustomerDocumentsModel extends StCustomerDocumentsTable, RowDataPacket {
|
|
52
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { RowDataPacket } from 'mysql2';
|
|
2
|
+
export interface V2CurlResponseTable {
|
|
3
|
+
id?: number;
|
|
4
|
+
customer_id?: number | null;
|
|
5
|
+
transaction_id?: string | null;
|
|
6
|
+
sharecode?: number | null;
|
|
7
|
+
s3url?: string | null;
|
|
8
|
+
pdf_s3url?: string | null;
|
|
9
|
+
create_date?: Date | null;
|
|
10
|
+
update_date?: Date | null;
|
|
11
|
+
okyc_id?: bigint | null;
|
|
12
|
+
}
|
|
13
|
+
export interface V2CurlResponseModel extends V2CurlResponseTable, RowDataPacket {
|
|
14
|
+
}
|