react-native-timacare 3.3.48 → 3.3.50

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.
Files changed (31) hide show
  1. package/lib/commonjs/screens/detail-loan/ShowQrCode.js +1 -1
  2. package/lib/commonjs/screens/detail-loan/ShowQrCode.js.flow +7 -1
  3. package/lib/commonjs/screens/detail-loan/ShowQrCode.js.map +1 -1
  4. package/lib/commonjs/screens/detail-loan-tima/InforLoan.js +1 -1
  5. package/lib/commonjs/screens/detail-loan-tima/InforLoan.js.flow +1 -1
  6. package/lib/commonjs/screens/detail-loan-tima/InforLoan.js.map +1 -1
  7. package/lib/commonjs/screens/home/Frame1000013403.png +0 -0
  8. package/lib/commonjs/screens/home/index.js +1 -1
  9. package/lib/commonjs/screens/home/index.js.flow +209 -1
  10. package/lib/commonjs/screens/home/index.js.map +1 -1
  11. package/lib/commonjs/services/api/api.js +1 -1
  12. package/lib/commonjs/services/api/api.js.flow +20 -0
  13. package/lib/commonjs/services/api/api.js.map +1 -1
  14. package/lib/module/screens/detail-loan/ShowQrCode.js +1 -1
  15. package/lib/module/screens/detail-loan/ShowQrCode.js.map +1 -1
  16. package/lib/module/screens/detail-loan-tima/InforLoan.js +1 -1
  17. package/lib/module/screens/detail-loan-tima/InforLoan.js.map +1 -1
  18. package/lib/module/screens/home/Frame1000013403.png +0 -0
  19. package/lib/module/screens/home/index.js +1 -1
  20. package/lib/module/screens/home/index.js.map +1 -1
  21. package/lib/module/services/api/api.js +1 -1
  22. package/lib/module/services/api/api.js.map +1 -1
  23. package/lib/typescript/screens/home/index.d.ts.map +1 -1
  24. package/lib/typescript/services/api/api.d.ts +16 -0
  25. package/lib/typescript/services/api/api.d.ts.map +1 -1
  26. package/package.json +1 -1
  27. package/src/screens/detail-loan/ShowQrCode.tsx +7 -1
  28. package/src/screens/detail-loan-tima/InforLoan.tsx +1 -1
  29. package/src/screens/home/Frame1000013403.png +0 -0
  30. package/src/screens/home/index.tsx +209 -1
  31. package/src/services/api/api.ts +20 -0
@@ -4114,6 +4114,26 @@ export class Api {
4114
4114
  }
4115
4115
  }
4116
4116
 
4117
+ // Xác nhận đồng ý chia sẻ dữ liệu sang CIMB (popup isShowPopupTCCIMB)
4118
+ async confirmTCCIMB(body) {
4119
+ // make the api call
4120
+ const response: ApiResponse<any> = await this.apisauce.post(
4121
+ `api/v2.0/loanbrief/confirm_tc_cimb`,
4122
+ body
4123
+ );
4124
+ // the typical ways to die when calling an api
4125
+ if (!response.ok) {
4126
+ const problem = getGeneralApiProblem(response);
4127
+ if (problem) return problem;
4128
+ }
4129
+ // transform the data into the format we are expecting
4130
+ try {
4131
+ return { kind: 'ok', data: response.data };
4132
+ } catch {
4133
+ return { kind: 'bad-data' };
4134
+ }
4135
+ }
4136
+
4117
4137
  async confirmF88(body) {
4118
4138
  // make the api call
4119
4139
  const response: ApiResponse<any> = await this.apisauce.post(