react-native-timacare 3.3.19 → 3.3.21
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/lib/commonjs/assets/tts/f88.png +0 -0
- package/lib/commonjs/assets/v3/11.svg +13 -0
- package/lib/commonjs/assets/v3/12.svg +21 -0
- package/lib/commonjs/assets/v3/index.js +1 -1
- package/lib/commonjs/assets/v3/index.js.flow +4 -0
- package/lib/commonjs/assets/v3/index.js.map +1 -1
- package/lib/commonjs/components/MSelect.js +1 -1
- package/lib/commonjs/components/MSelect.js.flow +4 -2
- package/lib/commonjs/components/MSelect.js.map +1 -1
- package/lib/commonjs/components/keyboardspace/index.js +1 -1
- package/lib/commonjs/components/keyboardspace/index.js.flow +0 -2
- package/lib/commonjs/components/keyboardspace/index.js.map +1 -1
- package/lib/commonjs/components/select/index.js +1 -1
- package/lib/commonjs/components/select/index.js.flow +4 -2
- package/lib/commonjs/components/select/index.js.map +1 -1
- package/lib/commonjs/navigation/primary-navigator.js +1 -1
- package/lib/commonjs/navigation/primary-navigator.js.flow +15 -0
- package/lib/commonjs/navigation/primary-navigator.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/DetailLoanTima.js +1 -1
- package/lib/commonjs/screens/detail-loan/DetailLoanTima.js.flow +29 -4
- package/lib/commonjs/screens/detail-loan/DetailLoanTima.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/Info.js +1 -1
- package/lib/commonjs/screens/detail-loan/Info.js.flow +16 -8
- package/lib/commonjs/screens/detail-loan/Info.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/Payment.js +1 -1
- package/lib/commonjs/screens/detail-loan/Payment.js.flow +19 -7
- package/lib/commonjs/screens/detail-loan/Payment.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/PaymentAll.js +1 -1
- package/lib/commonjs/screens/detail-loan/PaymentAll.js.flow +49 -9
- package/lib/commonjs/screens/detail-loan/PaymentAll.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/PaymentInfo.js +1 -1
- package/lib/commonjs/screens/detail-loan/PaymentInfo.js.flow +735 -85
- package/lib/commonjs/screens/detail-loan/PaymentInfo.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/ShowQrCode.js +1 -1
- package/lib/commonjs/screens/detail-loan/ShowQrCode.js.flow +372 -68
- package/lib/commonjs/screens/detail-loan/ShowQrCode.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/index.js +1 -1
- package/lib/commonjs/screens/detail-loan/index.js.flow +37 -33
- package/lib/commonjs/screens/detail-loan/index.js.map +1 -1
- package/lib/commonjs/screens/guide-transfer-bank/TransferDetail.js +1 -1
- package/lib/commonjs/screens/guide-transfer-bank/TransferDetail.js.flow +41 -12
- package/lib/commonjs/screens/guide-transfer-bank/TransferDetail.js.map +1 -1
- package/lib/commonjs/screens/guide-transfer-bank/index.js +1 -1
- package/lib/commonjs/screens/guide-transfer-bank/index.js.flow +228 -237
- package/lib/commonjs/screens/guide-transfer-bank/index.js.map +1 -1
- package/lib/commonjs/screens/home/ItemMotoBikeLoan.js +2 -0
- package/lib/commonjs/screens/home/ItemMotoBikeLoan.js.flow +845 -0
- package/lib/commonjs/screens/home/ItemMotoBikeLoan.js.map +1 -0
- package/lib/commonjs/screens/home/Store.js +1 -1
- package/lib/commonjs/screens/home/Store.js.flow +4 -1
- package/lib/commonjs/screens/home/Store.js.map +1 -1
- package/lib/commonjs/screens/home/index.js +1 -1
- package/lib/commonjs/screens/home/index.js.flow +23 -31
- package/lib/commonjs/screens/home/index.js.map +1 -1
- package/lib/commonjs/screens/liveness-v2/index.js +1 -1
- package/lib/commonjs/screens/liveness-v2/index.js.flow +4 -4
- package/lib/commonjs/screens/liveness-v2/index.js.map +1 -1
- package/lib/commonjs/screens/motobike/InfoLoanMotobike.js +2 -0
- package/lib/commonjs/screens/motobike/InfoLoanMotobike.js.flow +674 -0
- package/lib/commonjs/screens/motobike/InfoLoanMotobike.js.map +1 -0
- package/lib/commonjs/screens/motobike/PolicyF88.js +2 -0
- package/lib/commonjs/screens/motobike/PolicyF88.js.flow +131 -0
- package/lib/commonjs/screens/motobike/PolicyF88.js.map +1 -0
- package/lib/commonjs/screens/motobike/ReviewLoanMotobike.js +2 -0
- package/lib/commonjs/screens/motobike/ReviewLoanMotobike.js.flow +453 -0
- package/lib/commonjs/screens/motobike/ReviewLoanMotobike.js.map +1 -0
- package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js.flow +4 -0
- package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationBack.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationBack.js.flow +28 -12
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationBack.js.map +1 -1
- package/lib/commonjs/services/api/api.js +1 -1
- package/lib/commonjs/services/api/api.js.flow +96 -0
- package/lib/commonjs/services/api/api.js.map +1 -1
- package/lib/module/assets/tts/f88.png +0 -0
- package/lib/module/assets/v3/11.svg +13 -0
- package/lib/module/assets/v3/12.svg +21 -0
- package/lib/module/assets/v3/index.js +1 -1
- package/lib/module/assets/v3/index.js.map +1 -1
- package/lib/module/components/MSelect.js +1 -1
- package/lib/module/components/MSelect.js.map +1 -1
- package/lib/module/components/keyboardspace/index.js +1 -1
- package/lib/module/components/keyboardspace/index.js.map +1 -1
- package/lib/module/components/select/index.js +1 -1
- package/lib/module/components/select/index.js.map +1 -1
- package/lib/module/navigation/primary-navigator.js +1 -1
- package/lib/module/navigation/primary-navigator.js.map +1 -1
- package/lib/module/screens/detail-loan/DetailLoanTima.js +1 -1
- package/lib/module/screens/detail-loan/DetailLoanTima.js.map +1 -1
- package/lib/module/screens/detail-loan/Info.js +1 -1
- package/lib/module/screens/detail-loan/Info.js.map +1 -1
- package/lib/module/screens/detail-loan/Payment.js +1 -1
- package/lib/module/screens/detail-loan/Payment.js.map +1 -1
- package/lib/module/screens/detail-loan/PaymentAll.js +1 -1
- package/lib/module/screens/detail-loan/PaymentAll.js.map +1 -1
- package/lib/module/screens/detail-loan/PaymentInfo.js +1 -1
- package/lib/module/screens/detail-loan/PaymentInfo.js.map +1 -1
- package/lib/module/screens/detail-loan/ShowQrCode.js +1 -1
- package/lib/module/screens/detail-loan/ShowQrCode.js.map +1 -1
- package/lib/module/screens/detail-loan/index.js +1 -1
- package/lib/module/screens/detail-loan/index.js.map +1 -1
- package/lib/module/screens/guide-transfer-bank/TransferDetail.js +1 -1
- package/lib/module/screens/guide-transfer-bank/TransferDetail.js.map +1 -1
- package/lib/module/screens/guide-transfer-bank/index.js +1 -1
- package/lib/module/screens/guide-transfer-bank/index.js.map +1 -1
- package/lib/module/screens/home/ItemMotoBikeLoan.js +2 -0
- package/lib/module/screens/home/ItemMotoBikeLoan.js.map +1 -0
- package/lib/module/screens/home/Store.js +1 -1
- package/lib/module/screens/home/Store.js.map +1 -1
- package/lib/module/screens/home/index.js +1 -1
- package/lib/module/screens/home/index.js.map +1 -1
- package/lib/module/screens/liveness-v2/index.js +1 -1
- package/lib/module/screens/liveness-v2/index.js.map +1 -1
- package/lib/module/screens/motobike/InfoLoanMotobike.js +2 -0
- package/lib/module/screens/motobike/InfoLoanMotobike.js.map +1 -0
- package/lib/module/screens/motobike/PolicyF88.js +2 -0
- package/lib/module/screens/motobike/PolicyF88.js.map +1 -0
- package/lib/module/screens/motobike/ReviewLoanMotobike.js +2 -0
- package/lib/module/screens/motobike/ReviewLoanMotobike.js.map +1 -0
- package/lib/module/screens/toan-trinh-so/TTSSelfie.js +1 -1
- package/lib/module/screens/toan-trinh-so/TTSSelfie.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/VehicleRegistrationBack.js +1 -1
- package/lib/module/screens/toan-trinh-so/VehicleRegistrationBack.js.map +1 -1
- package/lib/module/services/api/api.js +1 -1
- package/lib/module/services/api/api.js.map +1 -1
- package/lib/typescript/assets/v3/index.d.ts +3 -1
- package/lib/typescript/assets/v3/index.d.ts.map +1 -1
- package/lib/typescript/components/MSelect.d.ts.map +1 -1
- package/lib/typescript/components/keyboardspace/index.d.ts.map +1 -1
- package/lib/typescript/components/select/index.d.ts.map +1 -1
- package/lib/typescript/navigation/primary-navigator.d.ts +3 -0
- package/lib/typescript/navigation/primary-navigator.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan/DetailLoanTima.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan/Info.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan/Payment.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan/PaymentAll.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan/PaymentInfo.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan/ShowQrCode.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan/index.d.ts.map +1 -1
- package/lib/typescript/screens/guide-transfer-bank/TransferDetail.d.ts.map +1 -1
- package/lib/typescript/screens/guide-transfer-bank/index.d.ts.map +1 -1
- package/lib/typescript/screens/home/ItemMotoBikeLoan.d.ts +8 -0
- package/lib/typescript/screens/home/ItemMotoBikeLoan.d.ts.map +1 -0
- package/lib/typescript/screens/home/Store.d.ts.map +1 -1
- package/lib/typescript/screens/home/index.d.ts.map +1 -1
- package/lib/typescript/screens/motobike/InfoLoanMotobike.d.ts +2 -0
- package/lib/typescript/screens/motobike/InfoLoanMotobike.d.ts.map +1 -0
- package/lib/typescript/screens/motobike/PolicyF88.d.ts +2 -0
- package/lib/typescript/screens/motobike/PolicyF88.d.ts.map +1 -0
- package/lib/typescript/screens/motobike/ReviewLoanMotobike.d.ts +2 -0
- package/lib/typescript/screens/motobike/ReviewLoanMotobike.d.ts.map +1 -0
- package/lib/typescript/screens/toan-trinh-so/TTSSelfie.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/VehicleRegistrationBack.d.ts.map +1 -1
- package/lib/typescript/services/api/api.d.ts +96 -0
- package/lib/typescript/services/api/api.d.ts.map +1 -1
- package/package.json +2 -1
- package/src/assets/tts/f88.png +0 -0
- package/src/assets/v3/11.svg +13 -0
- package/src/assets/v3/12.svg +21 -0
- package/src/assets/v3/index.tsx +4 -0
- package/src/components/MSelect.tsx +4 -2
- package/src/components/keyboardspace/index.tsx +0 -2
- package/src/components/select/index.tsx +4 -2
- package/src/navigation/primary-navigator.tsx +15 -0
- package/src/screens/detail-loan/DetailLoanTima.tsx +29 -4
- package/src/screens/detail-loan/Info.tsx +16 -8
- package/src/screens/detail-loan/Payment.tsx +19 -7
- package/src/screens/detail-loan/PaymentAll.tsx +49 -9
- package/src/screens/detail-loan/PaymentInfo.tsx +735 -85
- package/src/screens/detail-loan/ShowQrCode.tsx +372 -68
- package/src/screens/detail-loan/index.tsx +37 -33
- package/src/screens/guide-transfer-bank/TransferDetail.tsx +41 -12
- package/src/screens/guide-transfer-bank/index.tsx +228 -237
- package/src/screens/home/ItemMotoBikeLoan.tsx +845 -0
- package/src/screens/home/Store.tsx +4 -1
- package/src/screens/home/index.tsx +23 -31
- package/src/screens/liveness-v2/index.tsx +4 -4
- package/src/screens/motobike/InfoLoanMotobike.tsx +674 -0
- package/src/screens/motobike/PolicyF88.tsx +131 -0
- package/src/screens/motobike/ReviewLoanMotobike.tsx +453 -0
- package/src/screens/toan-trinh-so/TTSSelfie.tsx +4 -0
- package/src/screens/toan-trinh-so/VehicleRegistrationBack.tsx +28 -12
- package/src/services/api/api.ts +96 -0
- package/lib/commonjs/components/CommonSelect.js +0 -2
- package/lib/commonjs/components/CommonSelect.js.flow +0 -12
- package/lib/commonjs/components/CommonSelect.js.map +0 -1
- package/lib/module/components/CommonSelect.js +0 -2
- package/lib/module/components/CommonSelect.js.map +0 -1
- package/lib/typescript/components/CommonSelect.d.ts +0 -8
- package/lib/typescript/components/CommonSelect.d.ts.map +0 -1
- package/src/components/CommonSelect.tsx +0 -12
|
@@ -3327,4 +3327,100 @@ export class Api {
|
|
|
3327
3327
|
return { kind: "bad-data" }
|
|
3328
3328
|
}
|
|
3329
3329
|
}
|
|
3330
|
+
|
|
3331
|
+
async getMoneyCloseLoan(id) {
|
|
3332
|
+
// make the api call
|
|
3333
|
+
const response: ApiResponse<any> = await this.apisauce.get(`api/v2.0/loanbrief/get_money_close_loan?loanBriefId=${id}`)
|
|
3334
|
+
// the typical ways to die when calling an api
|
|
3335
|
+
if (!response.ok) {
|
|
3336
|
+
const problem = getGeneralApiProblem(response)
|
|
3337
|
+
if (problem) return problem
|
|
3338
|
+
}
|
|
3339
|
+
// transform the data into the format we are expecting
|
|
3340
|
+
try {
|
|
3341
|
+
return { kind: "ok", data: response.data }
|
|
3342
|
+
} catch {
|
|
3343
|
+
return { kind: "bad-data" }
|
|
3344
|
+
}
|
|
3345
|
+
}
|
|
3346
|
+
|
|
3347
|
+
async getInfoMotobikeLoan(id) {
|
|
3348
|
+
// make the api call
|
|
3349
|
+
const response: ApiResponse<any> = await this.apisauce.get(`api/v2.0/autodev2/get_info_customer_motobike?loanBriefId=${id}`)
|
|
3350
|
+
// the typical ways to die when calling an api
|
|
3351
|
+
if (!response.ok) {
|
|
3352
|
+
const problem = getGeneralApiProblem(response)
|
|
3353
|
+
if (problem) return problem
|
|
3354
|
+
}
|
|
3355
|
+
// transform the data into the format we are expecting
|
|
3356
|
+
try {
|
|
3357
|
+
return { kind: "ok", data: response.data }
|
|
3358
|
+
} catch {
|
|
3359
|
+
return { kind: "bad-data" }
|
|
3360
|
+
}
|
|
3361
|
+
}
|
|
3362
|
+
|
|
3363
|
+
async getInfoMotobikeLoan2(id) {
|
|
3364
|
+
// make the api call
|
|
3365
|
+
const response: ApiResponse<any> = await this.apisauce.get(`api/v2.0/autodev2/get_info_loan_motobike?loanBriefId=${id}`)
|
|
3366
|
+
// the typical ways to die when calling an api
|
|
3367
|
+
if (!response.ok) {
|
|
3368
|
+
const problem = getGeneralApiProblem(response)
|
|
3369
|
+
if (problem) return problem
|
|
3370
|
+
}
|
|
3371
|
+
// transform the data into the format we are expecting
|
|
3372
|
+
try {
|
|
3373
|
+
return { kind: "ok", data: response.data }
|
|
3374
|
+
} catch {
|
|
3375
|
+
return { kind: "bad-data" }
|
|
3376
|
+
}
|
|
3377
|
+
}
|
|
3378
|
+
|
|
3379
|
+
async updateInfoMotobikeLoan(body) {
|
|
3380
|
+
// make the api call
|
|
3381
|
+
const response: ApiResponse<any> = await this.apisauce.post(`api/v2.0/autodev2/update_info_customer_motobike`, body)
|
|
3382
|
+
// the typical ways to die when calling an api
|
|
3383
|
+
if (!response.ok) {
|
|
3384
|
+
const problem = getGeneralApiProblem(response)
|
|
3385
|
+
if (problem) return problem
|
|
3386
|
+
}
|
|
3387
|
+
// transform the data into the format we are expecting
|
|
3388
|
+
try {
|
|
3389
|
+
return { kind: "ok", data: response.data }
|
|
3390
|
+
} catch {
|
|
3391
|
+
return { kind: "bad-data" }
|
|
3392
|
+
}
|
|
3393
|
+
}
|
|
3394
|
+
|
|
3395
|
+
async updateInfoMotobikeLoan2(body) {
|
|
3396
|
+
// make the api call
|
|
3397
|
+
const response: ApiResponse<any> = await this.apisauce.post(`api/v2.0/autodev2/update_info_loan_motobike`, body)
|
|
3398
|
+
// the typical ways to die when calling an api
|
|
3399
|
+
if (!response.ok) {
|
|
3400
|
+
const problem = getGeneralApiProblem(response)
|
|
3401
|
+
if (problem) return problem
|
|
3402
|
+
}
|
|
3403
|
+
// transform the data into the format we are expecting
|
|
3404
|
+
try {
|
|
3405
|
+
return { kind: "ok", data: response.data }
|
|
3406
|
+
} catch {
|
|
3407
|
+
return { kind: "bad-data" }
|
|
3408
|
+
}
|
|
3409
|
+
}
|
|
3410
|
+
|
|
3411
|
+
async confirmF88(body) {
|
|
3412
|
+
// make the api call
|
|
3413
|
+
const response: ApiResponse<any> = await this.apisauce.post(`api/v2.0/autodev2/confirm_pipeline_f88`, body)
|
|
3414
|
+
// the typical ways to die when calling an api
|
|
3415
|
+
if (!response.ok) {
|
|
3416
|
+
const problem = getGeneralApiProblem(response)
|
|
3417
|
+
if (problem) return problem
|
|
3418
|
+
}
|
|
3419
|
+
// transform the data into the format we are expecting
|
|
3420
|
+
try {
|
|
3421
|
+
return { kind: "ok", data: response.data }
|
|
3422
|
+
} catch {
|
|
3423
|
+
return { kind: "bad-data" }
|
|
3424
|
+
}
|
|
3425
|
+
}
|
|
3330
3426
|
}
|