@finspringinnovations/fdsdk 0.0.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/README.md +184 -0
- package/lib/api/applicationApi.d.ts +1 -0
- package/lib/api/applicationApi.js +11 -0
- package/lib/api/bankApi.d.ts +352 -0
- package/lib/api/bankApi.js +54 -0
- package/lib/api/baseApi.d.ts +8 -0
- package/lib/api/baseApi.js +456 -0
- package/lib/api/customerApi.d.ts +855 -0
- package/lib/api/customerApi.js +213 -0
- package/lib/api/fdApi.d.ts +979 -0
- package/lib/api/fdApi.js +112 -0
- package/lib/api/fdCalculatorApi.d.ts +179 -0
- package/lib/api/fdCalculatorApi.js +36 -0
- package/lib/api/index.d.ts +14 -0
- package/lib/api/index.js +45 -0
- package/lib/api/interestRateApi.d.ts +585 -0
- package/lib/api/interestRateApi.js +101 -0
- package/lib/api/kycApi.d.ts +486 -0
- package/lib/api/kycApi.js +71 -0
- package/lib/api/masterDataApi.d.ts +158 -0
- package/lib/api/masterDataApi.js +32 -0
- package/lib/api/nomineeApi.d.ts +325 -0
- package/lib/api/nomineeApi.js +46 -0
- package/lib/api/onboardingApi.d.ts +192 -0
- package/lib/api/onboardingApi.js +41 -0
- package/lib/api/panApi.d.ts +0 -0
- package/lib/api/panApi.js +23 -0
- package/lib/api/paymentApi.d.ts +325 -0
- package/lib/api/paymentApi.js +46 -0
- package/lib/api/workflowApi.d.ts +654 -0
- package/lib/api/workflowApi.js +90 -0
- package/lib/assets/images/images.d.ts +4 -0
- package/lib/assets/images/images.js +10 -0
- package/lib/components/AadhaarInput.d.ts +13 -0
- package/lib/components/AadhaarInput.js +47 -0
- package/lib/components/ActionButton.d.ts +12 -0
- package/lib/components/ActionButton.js +87 -0
- package/lib/components/ActiveFDCard.d.ts +16 -0
- package/lib/components/ActiveFDCard.js +95 -0
- package/lib/components/AmountInput.d.ts +20 -0
- package/lib/components/AmountInput.js +144 -0
- package/lib/components/CheckboxOption.d.ts +11 -0
- package/lib/components/CheckboxOption.js +41 -0
- package/lib/components/CompanyHeader.d.ts +7 -0
- package/lib/components/CompanyHeader.js +57 -0
- package/lib/components/DropdownSelector.d.ts +9 -0
- package/lib/components/DropdownSelector.js +49 -0
- package/lib/components/EmptyState.d.ts +17 -0
- package/lib/components/EmptyState.js +44 -0
- package/lib/components/ErrorDisplay.d.ts +17 -0
- package/lib/components/ErrorDisplay.js +69 -0
- package/lib/components/FAQItem.d.ts +9 -0
- package/lib/components/FAQItem.js +52 -0
- package/lib/components/FDCard.d.ts +21 -0
- package/lib/components/FDCard.js +96 -0
- package/lib/components/FormDropdown.d.ts +18 -0
- package/lib/components/FormDropdown.js +155 -0
- package/lib/components/FormSection.d.ts +14 -0
- package/lib/components/FormSection.js +38 -0
- package/lib/components/Header.d.ts +14 -0
- package/lib/components/Header.js +52 -0
- package/lib/components/IFSCSearchResultCard.d.ts +13 -0
- package/lib/components/IFSCSearchResultCard.js +70 -0
- package/lib/components/InfoBox.d.ts +8 -0
- package/lib/components/InfoBox.js +39 -0
- package/lib/components/InterestRateCard.d.ts +8 -0
- package/lib/components/InterestRateCard.js +46 -0
- package/lib/components/LoadingIndicator.d.ts +12 -0
- package/lib/components/LoadingIndicator.js +30 -0
- package/lib/components/OTPInput.d.ts +17 -0
- package/lib/components/OTPInput.js +144 -0
- package/lib/components/PaymentDetailsCard.d.ts +20 -0
- package/lib/components/PaymentDetailsCard.js +68 -0
- package/lib/components/PendingFDBottomSheet.d.ts +18 -0
- package/lib/components/PendingFDBottomSheet.js +122 -0
- package/lib/components/SafeAreaWrapper.d.ts +13 -0
- package/lib/components/SafeAreaWrapper.js +41 -0
- package/lib/components/ScreenHeader.d.ts +11 -0
- package/lib/components/ScreenHeader.js +46 -0
- package/lib/components/StatusDisplay.d.ts +15 -0
- package/lib/components/StatusDisplay.js +88 -0
- package/lib/components/TextFieldWithLabel.d.ts +46 -0
- package/lib/components/TextFieldWithLabel.js +326 -0
- package/lib/components/TrustBox.d.ts +8 -0
- package/lib/components/TrustBox.js +45 -0
- package/lib/components/ValidationErrorAlert.d.ts +23 -0
- package/lib/components/ValidationErrorAlert.js +39 -0
- package/lib/components/ValidationMessage.d.ts +9 -0
- package/lib/components/ValidationMessage.js +98 -0
- package/lib/components/index.d.ts +35 -0
- package/lib/components/index.js +64 -0
- package/lib/config/apiConfig.d.ts +34 -0
- package/lib/config/apiConfig.js +158 -0
- package/lib/config/appDataConfig.d.ts +114 -0
- package/lib/config/appDataConfig.js +264 -0
- package/lib/config/encryptionConfig.d.ts +21 -0
- package/lib/config/encryptionConfig.js +61 -0
- package/lib/config/workflowConstants.d.ts +37 -0
- package/lib/config/workflowConstants.js +38 -0
- package/lib/constants/strings/bank.d.ts +72 -0
- package/lib/constants/strings/bank.js +86 -0
- package/lib/constants/strings/base64Images.d.ts +25 -0
- package/lib/constants/strings/base64Images.js +28 -0
- package/lib/constants/strings/common.d.ts +53 -0
- package/lib/constants/strings/common.js +62 -0
- package/lib/constants/strings/employee.d.ts +61 -0
- package/lib/constants/strings/employee.js +77 -0
- package/lib/constants/strings/faq.d.ts +14 -0
- package/lib/constants/strings/faq.js +20 -0
- package/lib/constants/strings/fd.d.ts +122 -0
- package/lib/constants/strings/fd.js +151 -0
- package/lib/constants/strings/home.d.ts +49 -0
- package/lib/constants/strings/home.js +62 -0
- package/lib/constants/strings/index.d.ts +16 -0
- package/lib/constants/strings/index.js +44 -0
- package/lib/constants/strings/kyc.d.ts +80 -0
- package/lib/constants/strings/kyc.js +94 -0
- package/lib/constants/strings/nominee.d.ts +64 -0
- package/lib/constants/strings/nominee.js +81 -0
- package/lib/hooks/useAuth.d.ts +25 -0
- package/lib/hooks/useAuth.js +39 -0
- package/lib/hooks/useFDData.d.ts +11 -0
- package/lib/hooks/useFDData.js +40 -0
- package/lib/index.d.ts +69 -0
- package/lib/index.js +182 -0
- package/lib/navigation/RootNavigator.d.ts +8 -0
- package/lib/navigation/RootNavigator.js +205 -0
- package/lib/navigation/SimpleNavigator.d.ts +11 -0
- package/lib/navigation/SimpleNavigator.js +107 -0
- package/lib/navigation/helpers.d.ts +11 -0
- package/lib/navigation/helpers.js +83 -0
- package/lib/navigation/index.d.ts +15 -0
- package/lib/navigation/index.js +42 -0
- package/lib/navigation/types.d.ts +113 -0
- package/lib/navigation/types.js +2 -0
- package/lib/navigation/workflowNavigator.d.ts +22 -0
- package/lib/navigation/workflowNavigator.js +104 -0
- package/lib/providers/ApiProvider.d.ts +7 -0
- package/lib/providers/ApiProvider.js +34 -0
- package/lib/providers/MasterDataProvider.d.ts +10 -0
- package/lib/providers/MasterDataProvider.js +54 -0
- package/lib/screens/AadhaarVerification.d.ts +7 -0
- package/lib/screens/AadhaarVerification.js +627 -0
- package/lib/screens/AddBankAccount.d.ts +22 -0
- package/lib/screens/AddBankAccount.js +381 -0
- package/lib/screens/BankDetail.d.ts +16 -0
- package/lib/screens/BankDetail.js +596 -0
- package/lib/screens/BookFD.d.ts +0 -0
- package/lib/screens/BookFD.js +315 -0
- package/lib/screens/Employee.d.ts +18 -0
- package/lib/screens/Employee.js +594 -0
- package/lib/screens/FDCalculator.d.ts +18 -0
- package/lib/screens/FDCalculator.js +759 -0
- package/lib/screens/FDList.d.ts +27 -0
- package/lib/screens/FDList.js +1008 -0
- package/lib/screens/FindIFSC.d.ts +16 -0
- package/lib/screens/FindIFSC.js +248 -0
- package/lib/screens/Home.d.ts +0 -0
- package/lib/screens/Home.js +143 -0
- package/lib/screens/NomineeDetail.d.ts +17 -0
- package/lib/screens/NomineeDetail.js +592 -0
- package/lib/screens/PayNow.d.ts +14 -0
- package/lib/screens/PayNow.js +230 -0
- package/lib/screens/Payment.d.ts +11 -0
- package/lib/screens/Payment.js +191 -0
- package/lib/screens/PaymentStatus.d.ts +16 -0
- package/lib/screens/PaymentStatus.js +397 -0
- package/lib/screens/ReviewKYC.d.ts +21 -0
- package/lib/screens/ReviewKYC.js +660 -0
- package/lib/state/paymentSession.d.ts +8 -0
- package/lib/state/paymentSession.js +13 -0
- package/lib/store/fdListSelectedSlice.d.ts +21 -0
- package/lib/store/fdListSelectedSlice.js +26 -0
- package/lib/store/hooks.d.ts +8 -0
- package/lib/store/hooks.js +31 -0
- package/lib/store/index.d.ts +3 -0
- package/lib/store/index.js +8 -0
- package/lib/store/onboardingSlice.d.ts +12 -0
- package/lib/store/onboardingSlice.js +32 -0
- package/lib/store/store.d.ts +13 -0
- package/lib/store/store.js +33 -0
- package/lib/theme/ThemeContext.d.ts +210 -0
- package/lib/theme/ThemeContext.js +90 -0
- package/lib/theme/colors.d.ts +80 -0
- package/lib/theme/colors.js +85 -0
- package/lib/theme/index.d.ts +34 -0
- package/lib/theme/index.js +69 -0
- package/lib/theme/shadows.d.ts +53 -0
- package/lib/theme/shadows.js +58 -0
- package/lib/theme/typography.d.ts +134 -0
- package/lib/theme/typography.js +143 -0
- package/lib/types/dataTypes.d.ts +34 -0
- package/lib/types/dataTypes.js +2 -0
- package/lib/types/workflowTypes.d.ts +2 -0
- package/lib/types/workflowTypes.js +2 -0
- package/lib/utils/apiLogger.d.ts +48 -0
- package/lib/utils/apiLogger.js +105 -0
- package/lib/utils/encryption.d.ts +28 -0
- package/lib/utils/encryption.js +113 -0
- package/lib/utils/getFDData.d.ts +48 -0
- package/lib/utils/getFDData.js +154 -0
- package/lib/utils/globalData.d.ts +2 -0
- package/lib/utils/globalData.js +10 -0
- package/package.json +76 -0
- package/src/api/applicationApi.ts +12 -0
- package/src/api/bankApi.ts +42 -0
- package/src/api/baseApi.ts +513 -0
- package/src/api/customerApi.ts +291 -0
- package/src/api/fdApi.ts +150 -0
- package/src/api/fdCalculatorApi.ts +41 -0
- package/src/api/index.ts +29 -0
- package/src/api/interestRateApi.ts +143 -0
- package/src/api/kycApi.ts +63 -0
- package/src/api/masterDataApi.ts +34 -0
- package/src/api/nomineeApi.ts +34 -0
- package/src/api/onboardingApi.ts +64 -0
- package/src/api/panApi.ts +25 -0
- package/src/api/paymentApi.ts +34 -0
- package/src/api/workflowApi.ts +94 -0
- package/src/assets/images/arrow-filled.png +0 -0
- package/src/assets/images/arrow-left.png +0 -0
- package/src/assets/images/backicon.png +0 -0
- package/src/assets/images/calendar.png +0 -0
- package/src/assets/images/chevron-down.png +0 -0
- package/src/assets/images/chevron-down@2x.png +0 -0
- package/src/assets/images/chevron-down@3x.png +0 -0
- package/src/assets/images/images.js +8 -0
- package/src/components/AadhaarInput.tsx +91 -0
- package/src/components/ActionButton.tsx +129 -0
- package/src/components/ActiveFDCard.tsx +158 -0
- package/src/components/AmountInput.tsx +217 -0
- package/src/components/CheckboxOption.tsx +93 -0
- package/src/components/CompanyHeader.tsx +78 -0
- package/src/components/DropdownSelector.tsx +77 -0
- package/src/components/EmptyState.tsx +109 -0
- package/src/components/ErrorDisplay.tsx +135 -0
- package/src/components/FAQItem.tsx +90 -0
- package/src/components/FDCard.tsx +165 -0
- package/src/components/FormDropdown.tsx +214 -0
- package/src/components/FormSection.tsx +86 -0
- package/src/components/Header.tsx +110 -0
- package/src/components/IFSCSearchResultCard.tsx +139 -0
- package/src/components/InfoBox.tsx +55 -0
- package/src/components/InterestRateCard.tsx +77 -0
- package/src/components/LoadingIndicator.tsx +63 -0
- package/src/components/OTPInput.tsx +213 -0
- package/src/components/PaymentDetailsCard.tsx +120 -0
- package/src/components/PendingFDBottomSheet.tsx +235 -0
- package/src/components/README.md +210 -0
- package/src/components/SafeAreaWrapper.tsx +68 -0
- package/src/components/ScreenHeader.tsx +83 -0
- package/src/components/StatusDisplay.tsx +139 -0
- package/src/components/TextFieldWithLabel.tsx +502 -0
- package/src/components/TrustBox.tsx +63 -0
- package/src/components/ValidationErrorAlert.tsx +57 -0
- package/src/components/ValidationMessage.tsx +134 -0
- package/src/components/index.tsx +47 -0
- package/src/config/apiConfig.ts +217 -0
- package/src/config/appDataConfig.ts +279 -0
- package/src/config/encryptionConfig.ts +65 -0
- package/src/config/workflowConstants.ts +43 -0
- package/src/constants/strings/README.md +146 -0
- package/src/constants/strings/bank.ts +92 -0
- package/src/constants/strings/base64Images.ts +29 -0
- package/src/constants/strings/common.ts +63 -0
- package/src/constants/strings/employee.ts +85 -0
- package/src/constants/strings/faq.ts +23 -0
- package/src/constants/strings/fd.ts +172 -0
- package/src/constants/strings/home.ts +67 -0
- package/src/constants/strings/index.ts +21 -0
- package/src/constants/strings/kyc.ts +100 -0
- package/src/constants/strings/nominee.ts +90 -0
- package/src/hooks/useAuth.ts +42 -0
- package/src/hooks/useFDData.ts +48 -0
- package/src/index.tsx +173 -0
- package/src/navigation/RootNavigator.tsx +352 -0
- package/src/navigation/SimpleNavigator.tsx +107 -0
- package/src/navigation/helpers.ts +85 -0
- package/src/navigation/index.tsx +81 -0
- package/src/navigation/types.ts +124 -0
- package/src/navigation/workflowNavigator.ts +131 -0
- package/src/providers/ApiProvider.tsx +43 -0
- package/src/providers/MasterDataProvider.tsx +30 -0
- package/src/screens/AadhaarVerification.tsx +809 -0
- package/src/screens/AddBankAccount.tsx +541 -0
- package/src/screens/BankDetail.tsx +826 -0
- package/src/screens/BookFD.tsx +330 -0
- package/src/screens/Employee.tsx +822 -0
- package/src/screens/FDCalculator.tsx +987 -0
- package/src/screens/FDList.tsx +1284 -0
- package/src/screens/FindIFSC.tsx +332 -0
- package/src/screens/Home.tsx +152 -0
- package/src/screens/NomineeDetail.tsx +800 -0
- package/src/screens/PayNow.tsx +282 -0
- package/src/screens/Payment.tsx +224 -0
- package/src/screens/PaymentStatus.tsx +561 -0
- package/src/screens/ReviewKYC.tsx +956 -0
- package/src/state/paymentSession.ts +13 -0
- package/src/store/fdListSelectedSlice.ts +42 -0
- package/src/store/hooks.ts +27 -0
- package/src/store/index.ts +3 -0
- package/src/store/onboardingSlice.ts +37 -0
- package/src/store/store.ts +35 -0
- package/src/theme/ThemeContext.tsx +82 -0
- package/src/theme/colors.ts +90 -0
- package/src/theme/index.ts +64 -0
- package/src/theme/shadows.ts +61 -0
- package/src/theme/typography.ts +151 -0
- package/src/types/dataTypes.ts +37 -0
- package/src/types/env.d.ts +93 -0
- package/src/types/workflowTypes.ts +12 -0
- package/src/utils/apiLogger.ts +166 -0
- package/src/utils/encryption.ts +159 -0
- package/src/utils/getFDData.ts +175 -0
- package/src/utils/globalData.ts +7 -0
|
@@ -0,0 +1,486 @@
|
|
|
1
|
+
export declare const kycApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, {
|
|
2
|
+
panRapidNo: import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "InterestRate", any, "shriramApi", unknown>;
|
|
3
|
+
ekycSendOtp: import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "InterestRate", any, "shriramApi", unknown>;
|
|
4
|
+
aadhaarVerifyOtp: import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "InterestRate", any, "shriramApi", unknown>;
|
|
5
|
+
}, "shriramApi", "InterestRate", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/dist/query/react").reactHooksModuleName>;
|
|
6
|
+
export declare const usePanRapidNoMutation: <R extends Record<string, any> = ({
|
|
7
|
+
requestId?: undefined;
|
|
8
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
9
|
+
data?: undefined;
|
|
10
|
+
error?: undefined;
|
|
11
|
+
endpointName?: string;
|
|
12
|
+
startedTimeStamp?: undefined;
|
|
13
|
+
fulfilledTimeStamp?: undefined;
|
|
14
|
+
} & {
|
|
15
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
16
|
+
isUninitialized: true;
|
|
17
|
+
isLoading: false;
|
|
18
|
+
isSuccess: false;
|
|
19
|
+
isError: false;
|
|
20
|
+
}) | ({
|
|
21
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
22
|
+
} & Omit<{
|
|
23
|
+
requestId: string;
|
|
24
|
+
data?: any;
|
|
25
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
26
|
+
endpointName: string;
|
|
27
|
+
startedTimeStamp: number;
|
|
28
|
+
fulfilledTimeStamp?: number;
|
|
29
|
+
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
30
|
+
requestId: string;
|
|
31
|
+
data?: any;
|
|
32
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
33
|
+
endpointName: string;
|
|
34
|
+
startedTimeStamp: number;
|
|
35
|
+
fulfilledTimeStamp?: number;
|
|
36
|
+
}, "data" | "fulfilledTimeStamp">> & {
|
|
37
|
+
error: undefined;
|
|
38
|
+
} & {
|
|
39
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
40
|
+
isUninitialized: false;
|
|
41
|
+
isLoading: false;
|
|
42
|
+
isSuccess: true;
|
|
43
|
+
isError: false;
|
|
44
|
+
}) | ({
|
|
45
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
46
|
+
} & {
|
|
47
|
+
requestId: string;
|
|
48
|
+
data?: any;
|
|
49
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
50
|
+
endpointName: string;
|
|
51
|
+
startedTimeStamp: number;
|
|
52
|
+
fulfilledTimeStamp?: number;
|
|
53
|
+
} & {
|
|
54
|
+
data?: undefined;
|
|
55
|
+
} & {
|
|
56
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
57
|
+
isUninitialized: false;
|
|
58
|
+
isLoading: true;
|
|
59
|
+
isSuccess: false;
|
|
60
|
+
isError: false;
|
|
61
|
+
}) | ({
|
|
62
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
63
|
+
} & Omit<{
|
|
64
|
+
requestId: string;
|
|
65
|
+
data?: any;
|
|
66
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
67
|
+
endpointName: string;
|
|
68
|
+
startedTimeStamp: number;
|
|
69
|
+
fulfilledTimeStamp?: number;
|
|
70
|
+
}, "error"> & Required<Pick<{
|
|
71
|
+
requestId: string;
|
|
72
|
+
data?: any;
|
|
73
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
74
|
+
endpointName: string;
|
|
75
|
+
startedTimeStamp: number;
|
|
76
|
+
fulfilledTimeStamp?: number;
|
|
77
|
+
}, "error">> & {
|
|
78
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
79
|
+
isUninitialized: false;
|
|
80
|
+
isLoading: false;
|
|
81
|
+
isSuccess: false;
|
|
82
|
+
isError: true;
|
|
83
|
+
})>(options?: {
|
|
84
|
+
selectFromResult?: ((state: ({
|
|
85
|
+
requestId?: undefined;
|
|
86
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
87
|
+
data?: undefined;
|
|
88
|
+
error?: undefined;
|
|
89
|
+
endpointName?: string;
|
|
90
|
+
startedTimeStamp?: undefined;
|
|
91
|
+
fulfilledTimeStamp?: undefined;
|
|
92
|
+
} & {
|
|
93
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
94
|
+
isUninitialized: true;
|
|
95
|
+
isLoading: false;
|
|
96
|
+
isSuccess: false;
|
|
97
|
+
isError: false;
|
|
98
|
+
}) | ({
|
|
99
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
100
|
+
} & Omit<{
|
|
101
|
+
requestId: string;
|
|
102
|
+
data?: any;
|
|
103
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
104
|
+
endpointName: string;
|
|
105
|
+
startedTimeStamp: number;
|
|
106
|
+
fulfilledTimeStamp?: number;
|
|
107
|
+
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
108
|
+
requestId: string;
|
|
109
|
+
data?: any;
|
|
110
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
111
|
+
endpointName: string;
|
|
112
|
+
startedTimeStamp: number;
|
|
113
|
+
fulfilledTimeStamp?: number;
|
|
114
|
+
}, "data" | "fulfilledTimeStamp">> & {
|
|
115
|
+
error: undefined;
|
|
116
|
+
} & {
|
|
117
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
118
|
+
isUninitialized: false;
|
|
119
|
+
isLoading: false;
|
|
120
|
+
isSuccess: true;
|
|
121
|
+
isError: false;
|
|
122
|
+
}) | ({
|
|
123
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
124
|
+
} & {
|
|
125
|
+
requestId: string;
|
|
126
|
+
data?: any;
|
|
127
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
128
|
+
endpointName: string;
|
|
129
|
+
startedTimeStamp: number;
|
|
130
|
+
fulfilledTimeStamp?: number;
|
|
131
|
+
} & {
|
|
132
|
+
data?: undefined;
|
|
133
|
+
} & {
|
|
134
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
135
|
+
isUninitialized: false;
|
|
136
|
+
isLoading: true;
|
|
137
|
+
isSuccess: false;
|
|
138
|
+
isError: false;
|
|
139
|
+
}) | ({
|
|
140
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
141
|
+
} & Omit<{
|
|
142
|
+
requestId: string;
|
|
143
|
+
data?: any;
|
|
144
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
145
|
+
endpointName: string;
|
|
146
|
+
startedTimeStamp: number;
|
|
147
|
+
fulfilledTimeStamp?: number;
|
|
148
|
+
}, "error"> & Required<Pick<{
|
|
149
|
+
requestId: string;
|
|
150
|
+
data?: any;
|
|
151
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
152
|
+
endpointName: string;
|
|
153
|
+
startedTimeStamp: number;
|
|
154
|
+
fulfilledTimeStamp?: number;
|
|
155
|
+
}, "error">> & {
|
|
156
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
157
|
+
isUninitialized: false;
|
|
158
|
+
isLoading: false;
|
|
159
|
+
isSuccess: false;
|
|
160
|
+
isError: true;
|
|
161
|
+
})) => R) | undefined;
|
|
162
|
+
fixedCacheKey?: string;
|
|
163
|
+
} | undefined) => readonly [(arg: any) => import("@reduxjs/toolkit/query").MutationActionCreatorResult<import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "InterestRate", any, "shriramApi", unknown>>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
|
|
164
|
+
originalArgs?: any;
|
|
165
|
+
reset: () => void;
|
|
166
|
+
}], useEkycSendOtpMutation: <R extends Record<string, any> = ({
|
|
167
|
+
requestId?: undefined;
|
|
168
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
169
|
+
data?: undefined;
|
|
170
|
+
error?: undefined;
|
|
171
|
+
endpointName?: string;
|
|
172
|
+
startedTimeStamp?: undefined;
|
|
173
|
+
fulfilledTimeStamp?: undefined;
|
|
174
|
+
} & {
|
|
175
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
176
|
+
isUninitialized: true;
|
|
177
|
+
isLoading: false;
|
|
178
|
+
isSuccess: false;
|
|
179
|
+
isError: false;
|
|
180
|
+
}) | ({
|
|
181
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
182
|
+
} & Omit<{
|
|
183
|
+
requestId: string;
|
|
184
|
+
data?: any;
|
|
185
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
186
|
+
endpointName: string;
|
|
187
|
+
startedTimeStamp: number;
|
|
188
|
+
fulfilledTimeStamp?: number;
|
|
189
|
+
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
190
|
+
requestId: string;
|
|
191
|
+
data?: any;
|
|
192
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
193
|
+
endpointName: string;
|
|
194
|
+
startedTimeStamp: number;
|
|
195
|
+
fulfilledTimeStamp?: number;
|
|
196
|
+
}, "data" | "fulfilledTimeStamp">> & {
|
|
197
|
+
error: undefined;
|
|
198
|
+
} & {
|
|
199
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
200
|
+
isUninitialized: false;
|
|
201
|
+
isLoading: false;
|
|
202
|
+
isSuccess: true;
|
|
203
|
+
isError: false;
|
|
204
|
+
}) | ({
|
|
205
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
206
|
+
} & {
|
|
207
|
+
requestId: string;
|
|
208
|
+
data?: any;
|
|
209
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
210
|
+
endpointName: string;
|
|
211
|
+
startedTimeStamp: number;
|
|
212
|
+
fulfilledTimeStamp?: number;
|
|
213
|
+
} & {
|
|
214
|
+
data?: undefined;
|
|
215
|
+
} & {
|
|
216
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
217
|
+
isUninitialized: false;
|
|
218
|
+
isLoading: true;
|
|
219
|
+
isSuccess: false;
|
|
220
|
+
isError: false;
|
|
221
|
+
}) | ({
|
|
222
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
223
|
+
} & Omit<{
|
|
224
|
+
requestId: string;
|
|
225
|
+
data?: any;
|
|
226
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
227
|
+
endpointName: string;
|
|
228
|
+
startedTimeStamp: number;
|
|
229
|
+
fulfilledTimeStamp?: number;
|
|
230
|
+
}, "error"> & Required<Pick<{
|
|
231
|
+
requestId: string;
|
|
232
|
+
data?: any;
|
|
233
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
234
|
+
endpointName: string;
|
|
235
|
+
startedTimeStamp: number;
|
|
236
|
+
fulfilledTimeStamp?: number;
|
|
237
|
+
}, "error">> & {
|
|
238
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
239
|
+
isUninitialized: false;
|
|
240
|
+
isLoading: false;
|
|
241
|
+
isSuccess: false;
|
|
242
|
+
isError: true;
|
|
243
|
+
})>(options?: {
|
|
244
|
+
selectFromResult?: ((state: ({
|
|
245
|
+
requestId?: undefined;
|
|
246
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
247
|
+
data?: undefined;
|
|
248
|
+
error?: undefined;
|
|
249
|
+
endpointName?: string;
|
|
250
|
+
startedTimeStamp?: undefined;
|
|
251
|
+
fulfilledTimeStamp?: undefined;
|
|
252
|
+
} & {
|
|
253
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
254
|
+
isUninitialized: true;
|
|
255
|
+
isLoading: false;
|
|
256
|
+
isSuccess: false;
|
|
257
|
+
isError: false;
|
|
258
|
+
}) | ({
|
|
259
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
260
|
+
} & Omit<{
|
|
261
|
+
requestId: string;
|
|
262
|
+
data?: any;
|
|
263
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
264
|
+
endpointName: string;
|
|
265
|
+
startedTimeStamp: number;
|
|
266
|
+
fulfilledTimeStamp?: number;
|
|
267
|
+
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
268
|
+
requestId: string;
|
|
269
|
+
data?: any;
|
|
270
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
271
|
+
endpointName: string;
|
|
272
|
+
startedTimeStamp: number;
|
|
273
|
+
fulfilledTimeStamp?: number;
|
|
274
|
+
}, "data" | "fulfilledTimeStamp">> & {
|
|
275
|
+
error: undefined;
|
|
276
|
+
} & {
|
|
277
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
278
|
+
isUninitialized: false;
|
|
279
|
+
isLoading: false;
|
|
280
|
+
isSuccess: true;
|
|
281
|
+
isError: false;
|
|
282
|
+
}) | ({
|
|
283
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
284
|
+
} & {
|
|
285
|
+
requestId: string;
|
|
286
|
+
data?: any;
|
|
287
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
288
|
+
endpointName: string;
|
|
289
|
+
startedTimeStamp: number;
|
|
290
|
+
fulfilledTimeStamp?: number;
|
|
291
|
+
} & {
|
|
292
|
+
data?: undefined;
|
|
293
|
+
} & {
|
|
294
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
295
|
+
isUninitialized: false;
|
|
296
|
+
isLoading: true;
|
|
297
|
+
isSuccess: false;
|
|
298
|
+
isError: false;
|
|
299
|
+
}) | ({
|
|
300
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
301
|
+
} & Omit<{
|
|
302
|
+
requestId: string;
|
|
303
|
+
data?: any;
|
|
304
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
305
|
+
endpointName: string;
|
|
306
|
+
startedTimeStamp: number;
|
|
307
|
+
fulfilledTimeStamp?: number;
|
|
308
|
+
}, "error"> & Required<Pick<{
|
|
309
|
+
requestId: string;
|
|
310
|
+
data?: any;
|
|
311
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
312
|
+
endpointName: string;
|
|
313
|
+
startedTimeStamp: number;
|
|
314
|
+
fulfilledTimeStamp?: number;
|
|
315
|
+
}, "error">> & {
|
|
316
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
317
|
+
isUninitialized: false;
|
|
318
|
+
isLoading: false;
|
|
319
|
+
isSuccess: false;
|
|
320
|
+
isError: true;
|
|
321
|
+
})) => R) | undefined;
|
|
322
|
+
fixedCacheKey?: string;
|
|
323
|
+
} | undefined) => readonly [(arg: any) => import("@reduxjs/toolkit/query").MutationActionCreatorResult<import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "InterestRate", any, "shriramApi", unknown>>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
|
|
324
|
+
originalArgs?: any;
|
|
325
|
+
reset: () => void;
|
|
326
|
+
}], useAadhaarVerifyOtpMutation: <R extends Record<string, any> = ({
|
|
327
|
+
requestId?: undefined;
|
|
328
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
329
|
+
data?: undefined;
|
|
330
|
+
error?: undefined;
|
|
331
|
+
endpointName?: string;
|
|
332
|
+
startedTimeStamp?: undefined;
|
|
333
|
+
fulfilledTimeStamp?: undefined;
|
|
334
|
+
} & {
|
|
335
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
336
|
+
isUninitialized: true;
|
|
337
|
+
isLoading: false;
|
|
338
|
+
isSuccess: false;
|
|
339
|
+
isError: false;
|
|
340
|
+
}) | ({
|
|
341
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
342
|
+
} & Omit<{
|
|
343
|
+
requestId: string;
|
|
344
|
+
data?: any;
|
|
345
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
346
|
+
endpointName: string;
|
|
347
|
+
startedTimeStamp: number;
|
|
348
|
+
fulfilledTimeStamp?: number;
|
|
349
|
+
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
350
|
+
requestId: string;
|
|
351
|
+
data?: any;
|
|
352
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
353
|
+
endpointName: string;
|
|
354
|
+
startedTimeStamp: number;
|
|
355
|
+
fulfilledTimeStamp?: number;
|
|
356
|
+
}, "data" | "fulfilledTimeStamp">> & {
|
|
357
|
+
error: undefined;
|
|
358
|
+
} & {
|
|
359
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
360
|
+
isUninitialized: false;
|
|
361
|
+
isLoading: false;
|
|
362
|
+
isSuccess: true;
|
|
363
|
+
isError: false;
|
|
364
|
+
}) | ({
|
|
365
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
366
|
+
} & {
|
|
367
|
+
requestId: string;
|
|
368
|
+
data?: any;
|
|
369
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
370
|
+
endpointName: string;
|
|
371
|
+
startedTimeStamp: number;
|
|
372
|
+
fulfilledTimeStamp?: number;
|
|
373
|
+
} & {
|
|
374
|
+
data?: undefined;
|
|
375
|
+
} & {
|
|
376
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
377
|
+
isUninitialized: false;
|
|
378
|
+
isLoading: true;
|
|
379
|
+
isSuccess: false;
|
|
380
|
+
isError: false;
|
|
381
|
+
}) | ({
|
|
382
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
383
|
+
} & Omit<{
|
|
384
|
+
requestId: string;
|
|
385
|
+
data?: any;
|
|
386
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
387
|
+
endpointName: string;
|
|
388
|
+
startedTimeStamp: number;
|
|
389
|
+
fulfilledTimeStamp?: number;
|
|
390
|
+
}, "error"> & Required<Pick<{
|
|
391
|
+
requestId: string;
|
|
392
|
+
data?: any;
|
|
393
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
394
|
+
endpointName: string;
|
|
395
|
+
startedTimeStamp: number;
|
|
396
|
+
fulfilledTimeStamp?: number;
|
|
397
|
+
}, "error">> & {
|
|
398
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
399
|
+
isUninitialized: false;
|
|
400
|
+
isLoading: false;
|
|
401
|
+
isSuccess: false;
|
|
402
|
+
isError: true;
|
|
403
|
+
})>(options?: {
|
|
404
|
+
selectFromResult?: ((state: ({
|
|
405
|
+
requestId?: undefined;
|
|
406
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
407
|
+
data?: undefined;
|
|
408
|
+
error?: undefined;
|
|
409
|
+
endpointName?: string;
|
|
410
|
+
startedTimeStamp?: undefined;
|
|
411
|
+
fulfilledTimeStamp?: undefined;
|
|
412
|
+
} & {
|
|
413
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
414
|
+
isUninitialized: true;
|
|
415
|
+
isLoading: false;
|
|
416
|
+
isSuccess: false;
|
|
417
|
+
isError: false;
|
|
418
|
+
}) | ({
|
|
419
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
420
|
+
} & Omit<{
|
|
421
|
+
requestId: string;
|
|
422
|
+
data?: any;
|
|
423
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
424
|
+
endpointName: string;
|
|
425
|
+
startedTimeStamp: number;
|
|
426
|
+
fulfilledTimeStamp?: number;
|
|
427
|
+
}, "data" | "fulfilledTimeStamp"> & Required<Pick<{
|
|
428
|
+
requestId: string;
|
|
429
|
+
data?: any;
|
|
430
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
431
|
+
endpointName: string;
|
|
432
|
+
startedTimeStamp: number;
|
|
433
|
+
fulfilledTimeStamp?: number;
|
|
434
|
+
}, "data" | "fulfilledTimeStamp">> & {
|
|
435
|
+
error: undefined;
|
|
436
|
+
} & {
|
|
437
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
438
|
+
isUninitialized: false;
|
|
439
|
+
isLoading: false;
|
|
440
|
+
isSuccess: true;
|
|
441
|
+
isError: false;
|
|
442
|
+
}) | ({
|
|
443
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
444
|
+
} & {
|
|
445
|
+
requestId: string;
|
|
446
|
+
data?: any;
|
|
447
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
448
|
+
endpointName: string;
|
|
449
|
+
startedTimeStamp: number;
|
|
450
|
+
fulfilledTimeStamp?: number;
|
|
451
|
+
} & {
|
|
452
|
+
data?: undefined;
|
|
453
|
+
} & {
|
|
454
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
455
|
+
isUninitialized: false;
|
|
456
|
+
isLoading: true;
|
|
457
|
+
isSuccess: false;
|
|
458
|
+
isError: false;
|
|
459
|
+
}) | ({
|
|
460
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
461
|
+
} & Omit<{
|
|
462
|
+
requestId: string;
|
|
463
|
+
data?: any;
|
|
464
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
465
|
+
endpointName: string;
|
|
466
|
+
startedTimeStamp: number;
|
|
467
|
+
fulfilledTimeStamp?: number;
|
|
468
|
+
}, "error"> & Required<Pick<{
|
|
469
|
+
requestId: string;
|
|
470
|
+
data?: any;
|
|
471
|
+
error?: import("@reduxjs/toolkit/query").FetchBaseQueryError | import("@reduxjs/toolkit").SerializedError | undefined;
|
|
472
|
+
endpointName: string;
|
|
473
|
+
startedTimeStamp: number;
|
|
474
|
+
fulfilledTimeStamp?: number;
|
|
475
|
+
}, "error">> & {
|
|
476
|
+
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
477
|
+
isUninitialized: false;
|
|
478
|
+
isLoading: false;
|
|
479
|
+
isSuccess: false;
|
|
480
|
+
isError: true;
|
|
481
|
+
})) => R) | undefined;
|
|
482
|
+
fixedCacheKey?: string;
|
|
483
|
+
} | undefined) => readonly [(arg: any) => import("@reduxjs/toolkit/query").MutationActionCreatorResult<import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "InterestRate", any, "shriramApi", unknown>>, import("@reduxjs/toolkit/query").TSHelpersNoInfer<R> & {
|
|
484
|
+
originalArgs?: any;
|
|
485
|
+
reset: () => void;
|
|
486
|
+
}];
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.useAadhaarVerifyOtpMutation = exports.useEkycSendOtpMutation = exports.usePanRapidNoMutation = exports.kycApi = void 0;
|
|
15
|
+
// KYC API - PAN Rapid, eKYC Send OTP, Aadhaar Verify OTP
|
|
16
|
+
const baseApi_1 = require("./baseApi");
|
|
17
|
+
exports.kycApi = baseApi_1.baseApi.injectEndpoints({
|
|
18
|
+
endpoints: (builder) => ({
|
|
19
|
+
panRapidNo: builder.mutation({
|
|
20
|
+
query: (body) => {
|
|
21
|
+
const { providerId, workflowInstanceId, userreferenceid, applicationid } = body, requestBody = __rest(body, ["providerId", "workflowInstanceId", "userreferenceid", "applicationid"]);
|
|
22
|
+
return {
|
|
23
|
+
url: 'kyc/pan/rapidno',
|
|
24
|
+
method: 'POST',
|
|
25
|
+
body: requestBody,
|
|
26
|
+
headers: {
|
|
27
|
+
provider: providerId || '{{shriramprovider}}',
|
|
28
|
+
workflowInstanceId: workflowInstanceId || '{{workflowInstanceId}}',
|
|
29
|
+
userreferenceid: userreferenceid || '{{userreferenceid}}',
|
|
30
|
+
applicationid: applicationid || '{{applicationid}}',
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
},
|
|
34
|
+
}),
|
|
35
|
+
ekycSendOtp: builder.mutation({
|
|
36
|
+
query: (body) => {
|
|
37
|
+
const { providerId, workflowInstanceId, userreferenceid, applicationid, entityid } = body, requestBody = __rest(body, ["providerId", "workflowInstanceId", "userreferenceid", "applicationid", "entityid"]);
|
|
38
|
+
return {
|
|
39
|
+
url: 'kyc/ekyc/otp',
|
|
40
|
+
method: 'POST',
|
|
41
|
+
body: requestBody,
|
|
42
|
+
headers: {
|
|
43
|
+
provider: providerId || '{{shriramprovider}}',
|
|
44
|
+
workflowInstanceId: workflowInstanceId || '{{workflowInstanceId}}',
|
|
45
|
+
userreferenceid: userreferenceid || '{{userreferenceid}}',
|
|
46
|
+
applicationid: applicationid || '{{applicationid}}',
|
|
47
|
+
entityid: entityid || '{{entityid}}',
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
}),
|
|
52
|
+
aadhaarVerifyOtp: builder.mutation({
|
|
53
|
+
query: (body) => {
|
|
54
|
+
const { providerId, workflowInstanceId, userreferenceid, applicationid, entityid } = body, requestBody = __rest(body, ["providerId", "workflowInstanceId", "userreferenceid", "applicationid", "entityid"]);
|
|
55
|
+
return {
|
|
56
|
+
url: 'kyc/ekyc/verify',
|
|
57
|
+
method: 'POST',
|
|
58
|
+
body: requestBody,
|
|
59
|
+
headers: {
|
|
60
|
+
provider: providerId || '{{shriramprovider}}',
|
|
61
|
+
workflowInstanceId: workflowInstanceId || '{{workflowInstanceId}}',
|
|
62
|
+
userreferenceid: userreferenceid || '{{userreferenceid}}',
|
|
63
|
+
applicationid: applicationid || '{{applicationid}}',
|
|
64
|
+
entityid: entityid || '{{entityid}}',
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
}),
|
|
69
|
+
}),
|
|
70
|
+
});
|
|
71
|
+
exports.usePanRapidNoMutation = exports.kycApi.usePanRapidNoMutation, exports.useEkycSendOtpMutation = exports.kycApi.useEkycSendOtpMutation, exports.useAadhaarVerifyOtpMutation = exports.kycApi.useAadhaarVerifyOtpMutation;
|