@tap-payments/auth-jsconnect 2.12.6-development → 2.12.6-sandbox

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 (46) hide show
  1. package/README.md +60 -10
  2. package/build/api/file.d.ts +1 -0
  3. package/build/api/file.js +9 -1
  4. package/build/api/index.d.ts +1 -0
  5. package/build/components/Tooltip/Tooltip.js +1 -1
  6. package/build/constants/api.js +1 -1
  7. package/build/constants/app.d.ts +3 -0
  8. package/build/constants/app.js +15 -6
  9. package/build/features/app/bank/bankStore.js +6 -4
  10. package/build/features/app/brand/brandStore.js +6 -4
  11. package/build/features/app/connectExpress/connectExpressStore.d.ts +11 -1
  12. package/build/features/app/connectExpress/connectExpressStore.js +196 -18
  13. package/build/features/app/entity/entityStore.js +6 -4
  14. package/build/features/app/individual/individualStore.js +3 -2
  15. package/build/features/app/tax/taxStore.js +6 -4
  16. package/build/features/app/terminal/terminalStore.d.ts +3 -0
  17. package/build/features/app/terminal/terminalStore.js +34 -1
  18. package/build/features/connectExpress/ConnectExpress.js +6 -3
  19. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.js +4 -1
  20. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +5 -1
  21. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +2 -1
  22. package/build/features/connectExpress/screens/Email/Email.d.ts +5 -0
  23. package/build/features/connectExpress/screens/Email/Email.js +57 -0
  24. package/build/features/connectExpress/screens/Email/EmailField.d.ts +8 -0
  25. package/build/features/connectExpress/screens/Email/EmailField.js +52 -0
  26. package/build/features/connectExpress/screens/Email/index.d.ts +3 -0
  27. package/build/features/connectExpress/screens/Email/index.js +2 -0
  28. package/build/features/connectExpress/screens/Email/validation.d.ts +8 -0
  29. package/build/features/connectExpress/screens/Email/validation.js +4 -0
  30. package/build/features/connectExpress/screens/NIDMissed/NID.js +4 -1
  31. package/build/features/connectExpress/screens/OTP/OTP.js +16 -8
  32. package/build/features/connectExpress/screens/OTP/OTPInput.js +10 -3
  33. package/build/features/featuresScreens.js +5 -0
  34. package/build/features/kyc/screens/Terms/Terms.js +6 -5
  35. package/build/features/terminal/screens/TerminalDeviceList/TerminalDeviceList.js +2 -1
  36. package/build/features/terminal/screens/shared/POSDeviceList.js +5 -5
  37. package/build/hooks/useCountry.d.ts +1 -0
  38. package/build/hooks/useCountry.js +3 -2
  39. package/build/utils/common.js +3 -3
  40. package/build/utils/file.d.ts +1 -0
  41. package/build/utils/file.js +6 -0
  42. package/build/utils/index.d.ts +1 -0
  43. package/build/utils/index.js +1 -0
  44. package/build/utils/string.d.ts +1 -0
  45. package/build/utils/string.js +5 -0
  46. package/package.json +2 -2
package/README.md CHANGED
@@ -20,12 +20,17 @@ yarn add @tap-payments/auth-jsconnect
20
20
 
21
21
  ## Features
22
22
 
23
- - [Connect](#Connect)
24
- - [Business](#Business)
25
- - [Password](#Password)
26
- - [Individual](#Individual)
27
- - [Bank](#Bank)
28
- - [Tax](#Tax)
23
+ - [Connect](#Connect) - Create a new account with Tap Payments
24
+ - [ConnectExpress](#ConnectExpress) - Simplified connect flow
25
+ - [Business](#Business) - Business entity onboarding and verification
26
+ - [Individual](#Individual) - Individual entity onboarding and verification
27
+ - [Entity](#Entity) - Entity management and verification
28
+ - [Password](#Password) - Password management and recovery
29
+ - [Bank](#Bank) - Bank account management
30
+ - [Tax](#Tax) - Tax information management
31
+ - [Terminal](#Terminal) - Terminal kit for point-of-sale operations
32
+ - [Auth](#Auth) - Authentication module
33
+ - [KYC](#KYC) - Know Your Customer verification
29
34
 
30
35
  ## Examples
31
36
 
@@ -135,17 +140,48 @@ const App = () => {
135
140
  ```
136
141
 
137
142
  ## Connect
138
- - Help our merchants to create a account with Tap Payments
143
+ - Help merchants create an account with Tap Payments
139
144
 
140
- ## Business
145
+ ## ConnectExpress
146
+ - Streamlined onboarding flow with simplified user experience
141
147
 
142
- ## Password
148
+ ## Business
149
+ - Business entity registration and verification
150
+ - License number validation
151
+ - Support for creating new sessions after expiry
143
152
 
144
153
  ## Individual
154
+ - Individual entity registration and verification
155
+ - Arabic name validation (English names only accepted)
156
+ - Support for creating new sessions after expiry
157
+
158
+ ## Entity
159
+ - Entity information management
160
+ - Frontend-editable fields even when non-editable from backend
161
+ - Entity verification workflows
162
+
163
+ ## Password
164
+ - Password management and recovery
165
+ - Session expiry handling with new session creation support
145
166
 
146
167
  ## Bank
168
+ - Bank account information management and verification
147
169
 
148
170
  ## Tax
171
+ - Tax identification and information management
172
+ - Support for creating new sessions after expiry
173
+ - UNN Collection logic improvements
174
+
175
+ ## Terminal
176
+ - Point-of-sale terminal operations
177
+ - Session expiry management with new session creation support
178
+ - Hotfix for improved session handling
179
+
180
+ ## Auth
181
+ - Core authentication module for the library
182
+
183
+ ## KYC
184
+ - Know Your Customer verification processes
149
185
 
150
186
  ```
151
187
 
@@ -164,4 +200,18 @@ const App = () => {
164
200
  | onFlowCompleted `required` - `function` | callback function will called after completing the flow |
165
201
  | onReady `required` - `function` | callback function will call after loading library configuration |
166
202
  | onStepError `required` - `function` | callback function will call in case if any error happened in the screen |
167
- | onStepStarted `required` - `function` | callback function will call in the begging of each step |
203
+ | onStepCompleted `optional` - `function` | callback function will call after completing each step |
204
+ | onStepStarted `required` - `function` | callback function will call in the beginning of each step |
205
+
206
+ ## Branch Information
207
+
208
+ This repository maintains multiple branches for different environments and stages:
209
+
210
+ | Branch | Purpose | Environment |
211
+ | ------------- | ------------------------------ | ----------- |
212
+ | `main` | Production releases | Production |
213
+ | `beta` | Beta features and testing | Beta |
214
+ | `sandbox` | Sandbox environment testing | Sandbox |
215
+ | `development` | Development features and fixes | Development |
216
+
217
+ **Workflow**: `development` → `sandbox` → `beta` → `main` (production)
@@ -10,5 +10,6 @@ declare const fileService: {
10
10
  uploadFile: (data: UploadFileBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any, {}>>;
11
11
  uploadFileInfo: (data: UploadFileBody, config?: AxiosRequestConfig) => Promise<any>;
12
12
  downloadFile: (id: string, name: string, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any, {}>>;
13
+ retrieveFileInfo: (fileId: string) => Promise<any>;
13
14
  };
14
15
  export { fileService };
package/build/api/file.js CHANGED
@@ -29,9 +29,17 @@ var downloadFile = function (id, name, config) {
29
29
  return response;
30
30
  });
31
31
  };
32
+ var retrieveFileInfo = function (fileId) {
33
+ return httpClient({
34
+ method: 'get',
35
+ url: "".concat(ENDPOINT_PATHS.FILES_PATH, "/content?fileId=").concat(fileId),
36
+ responseType: 'blob'
37
+ });
38
+ };
32
39
  var fileService = {
33
40
  uploadFile: uploadFile,
34
41
  uploadFileInfo: uploadFileInfo,
35
- downloadFile: downloadFile
42
+ downloadFile: downloadFile,
43
+ retrieveFileInfo: retrieveFileInfo
36
44
  };
37
45
  export { fileService };
@@ -157,6 +157,7 @@ declare const API: {
157
157
  uploadFile: (data: UploadFileBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
158
158
  uploadFileInfo: (data: UploadFileBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
159
159
  downloadFile: (id: string, name: string, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
160
+ retrieveFileInfo: (fileId: string) => Promise<any>;
160
161
  };
161
162
  documentService: {
162
163
  updateDocumentInfo: (data: DocumentUpdateBody) => Promise<any>;
@@ -33,7 +33,7 @@ var StyledTooltip = styled(function (_a) {
33
33
  var _b;
34
34
  var theme = _a.theme;
35
35
  return (_b = {},
36
- _b["& .".concat(tooltipClasses.tooltip)] = __assign(__assign({ color: alpha(theme.palette.text.primary, 0.5), width: 'fit-content', maxHeight: 'fit-content' }, theme.typography.body2), { fontWeight: theme.typography.fontWeightLight, backgroundColor: theme.palette.secondary.light, border: "1px solid ".concat(alpha(theme.palette.divider, 0.8)) }),
36
+ _b["& .".concat(tooltipClasses.tooltip)] = __assign(__assign({ color: alpha(theme.palette.text.primary, 0.5), width: 'fit-content', maxHeight: 'fit-content' }, theme.typography.body2), { fontWeight: theme.typography.fontWeightLight, backgroundColor: theme.palette.secondary.light, border: "1px solid ".concat(alpha(theme.palette.divider, 0.8)), zIndex: 2147483647 }),
37
37
  _b);
38
38
  });
39
39
  var TextStyled = styled(Text, { shouldForwardProp: function (prop) { return prop !== 'isAr'; } })(function (_a) {
@@ -1,7 +1,7 @@
1
1
  var SANDBOX_BASE_URL = 'https://connect-mw.sandbox.tap.company/middleware';
2
2
  var PRODUCTION_BASE_URL = 'https://connect-mw.tap.company/middleware';
3
3
  var PRODUCTION_BASE_URL_SA = 'https://connect-mw.tap.com.sa/middleware';
4
- var PRODUCTION_BASE_URL_SA_DR = 'https://connect-mw.tap.com.sa/middleware';
4
+ var PRODUCTION_BASE_URL_SA_DR = 'https://connect-mw-tmp.tap.com.sa/middleware';
5
5
  var DEV_BASE_URL = 'https://connect-mw.dev.tap.company/middleware';
6
6
  var API_BUSINESS_COUNTRIES = 'https://godata.sandbox.tap.company/api/v1/business/country/list';
7
7
  var API_COUNTRIES = 'https://utilities.tap.company/api/v1/country/list';
@@ -1,5 +1,6 @@
1
1
  import { ScreenStepNavigation, BusinessType, POSInfo, TerminalInfo } from '../@types';
2
2
  export declare const CONNECT_DEV_URL = "https://connect.dev.tap.company";
3
+ export declare const CONNECT_SANDBOX_URL = "https://connect.sandbox.tap.company";
3
4
  export declare const CONNECT_PROD_URL = "https://connect.tap.company";
4
5
  export declare const CLIENT_ORIGIN: string;
5
6
  export declare const TAP_WEBSITE = "https://www.tap.company/";
@@ -130,6 +131,8 @@ export declare const AUTH_STEP_NAMES: {
130
131
  export declare const CONNECT_EXPRESS_STEP_NAMES: {
131
132
  CREATE_AUTH_MOBILE: string;
132
133
  VERIFY_AUTH_MOBILE: string;
134
+ CREATE_AUTH_EMAIL: string;
135
+ VERIFY_AUTH_EMAIL: string;
133
136
  CREATE_AUTH_CIVIL_ID: string;
134
137
  VERIFY_AUTH_CIVIL_ID: string;
135
138
  CREATE_AUTH_NID: string;
@@ -1,6 +1,7 @@
1
1
  import { BusinessType } from '../@types';
2
2
  import { CONNECT_FLOWS } from './flows';
3
3
  export var CONNECT_DEV_URL = 'https://connect.dev.tap.company';
4
+ export var CONNECT_SANDBOX_URL = 'https://connect.sandbox.tap.company';
4
5
  export var CONNECT_PROD_URL = 'https://connect.tap.company';
5
6
  export var CLIENT_ORIGIN = window.location.origin;
6
7
  export var TAP_WEBSITE = 'https://www.tap.company/';
@@ -151,9 +152,15 @@ export var CONNECT_EXPRESS_SCREENS_NAVIGATION = [
151
152
  prev: ['CONNECT_EXPRESS_NID_STEP', 'CONNECT_EXPRESS_CIVIL_ID_STEP'],
152
153
  order: 1
153
154
  },
155
+ {
156
+ name: 'CONNECT_EXPRESS_EMAIL_STEP',
157
+ next: 'CONNECT_EXPRESS_OTP_STEP',
158
+ prev: 'CONNECT_EXPRESS_BUSINESS_COUNTRY_STEP',
159
+ order: 1
160
+ },
154
161
  {
155
162
  name: 'CONNECT_EXPRESS_BUSINESS_COUNTRY_STEP',
156
- next: ['CONNECT_EXPRESS_NID_STEP', 'CONNECT_EXPRESS_MOBILE_STEP'],
163
+ next: ['CONNECT_EXPRESS_NID_STEP', 'CONNECT_EXPRESS_MOBILE_STEP', 'CONNECT_EXPRESS_EMAIL_STEP'],
157
164
  prev: '',
158
165
  order: 1
159
166
  },
@@ -196,20 +203,19 @@ export var CONNECT_EXPRESS_SCREENS_NAVIGATION = [
196
203
  'CONNECT_EXPRESS_AUTHENTICATION_LIST_STEP',
197
204
  'CONNECT_EXPRESS_OTP_VERIFY_SECURITY_ERROR_STEP'
198
205
  ],
199
- prev: 'CONNECT_EXPRESS_MOBILE_STEP',
200
- order: 2,
201
- back: 'CONNECT_EXPRESS_MOBILE_STEP'
206
+ prev: ['CONNECT_EXPRESS_MOBILE_STEP', 'CONNECT_EXPRESS_EMAIL_STEP'],
207
+ order: 2
202
208
  },
203
209
  {
204
210
  name: 'CONNECT_EXPRESS_AUTHENTICATION_LIST_STEP',
205
211
  next: ['CONNECT_EXPRESS_AUTH_MERCHANT_LIST_STEP', 'CONNECT_EXPRESS_AUTH_ACCOUNT_CREATED_STEP'],
206
- prev: ['CONNECT_EXPRESS_MOBILE_STEP', 'CONNECT_EXPRESS_NID_STEP', 'CONNECT_EXPRESS_CIVIL_ID_STEP'],
212
+ prev: ['CONNECT_EXPRESS_MOBILE_STEP', 'CONNECT_EXPRESS_EMAIL_STEP', 'CONNECT_EXPRESS_NID_STEP', 'CONNECT_EXPRESS_CIVIL_ID_STEP'],
207
213
  order: 3
208
214
  },
209
215
  {
210
216
  name: 'CONNECT_EXPRESS_NID_MISSED_STEP',
211
217
  next: ['CONNECT_EXPRESS_IDENTITY_VERIFY_NAFATH_STEP', 'CONNECT_EXPRESS_COLLECT_INDIVIDUAL_INFO_STEP'],
212
- prev: 'CONNECT_EXPRESS_MOBILE_STEP',
218
+ prev: ['CONNECT_EXPRESS_MOBILE_STEP', 'CONNECT_EXPRESS_EMAIL_STEP'],
213
219
  order: 3
214
220
  },
215
221
  {
@@ -270,6 +276,7 @@ export var CONNECT_EXPRESS_SCREENS_NAVIGATION = [
270
276
  ],
271
277
  prev: [
272
278
  'CONNECT_EXPRESS_MOBILE_STEP',
279
+ 'CONNECT_EXPRESS_EMAIL_STEP',
273
280
  'CONNECT_EXPRESS_NID_STEP',
274
281
  'CONNECT_EXPRESS_CIVIL_ID_STEP',
275
282
  'CONNECT_EXPRESS_CIVIL_ID_MISSED_STEP',
@@ -1314,6 +1321,8 @@ export var AUTH_STEP_NAMES = {
1314
1321
  export var CONNECT_EXPRESS_STEP_NAMES = {
1315
1322
  CREATE_AUTH_MOBILE: 'connect_express_create_auth_mobile',
1316
1323
  VERIFY_AUTH_MOBILE: 'connect_express_verify_auth_mobile',
1324
+ CREATE_AUTH_EMAIL: 'connect_express_create_auth_email',
1325
+ VERIFY_AUTH_EMAIL: 'connect_express_verify_auth_email',
1317
1326
  CREATE_AUTH_CIVIL_ID: 'connect_express_create_auth_civil_id',
1318
1327
  VERIFY_AUTH_CIVIL_ID: 'connect_express_verify_auth_civil_id',
1319
1328
  CREATE_AUTH_NID: 'connect_express_create_auth_nid',
@@ -266,14 +266,16 @@ export var retrieveBoardStatus = createAsyncThunk('bank/retrieveBoardStatus', fu
266
266
  }
267
267
  });
268
268
  }); });
269
- export var retrieveBoardDetails = createAsyncThunk('bank/retrieveBoardDetails', function (_a) {
269
+ export var retrieveBoardDetails = createAsyncThunk('bank/retrieveBoardDetails', function (_a, thunkApi) {
270
270
  var boardId = _a.boardId, id = _a.individualId, type = _a.individualType;
271
271
  return __awaiter(void 0, void 0, void 0, function () {
272
- var data, individualData, boardData, serviceCallBack, _b, boardRes, individualRes;
272
+ var responseBody, data, individualData, boardData, serviceCallBack, _b, boardRes, individualRes;
273
273
  var _c, _d, _e;
274
274
  return __generator(this, function (_f) {
275
275
  switch (_f.label) {
276
- case 0: return [4, API.boardService.retrieveBoardDetails(boardId)];
276
+ case 0:
277
+ responseBody = thunkApi.getState().bank.data.verify.responseBody;
278
+ return [4, API.boardService.retrieveBoardDetails(boardId)];
277
279
  case 1:
278
280
  data = _f.sent();
279
281
  individualData = data === null || data === void 0 ? void 0 : data.user;
@@ -286,7 +288,7 @@ export var retrieveBoardDetails = createAsyncThunk('bank/retrieveBoardDetails',
286
288
  individualData = individualRes;
287
289
  boardData = boardRes;
288
290
  _f.label = 3;
289
- case 3: return [2, __assign(__assign({}, boardData), { brand: boardData === null || boardData === void 0 ? void 0 : boardData.brand, bank_account: boardData === null || boardData === void 0 ? void 0 : boardData.bank_account, entity: boardData === null || boardData === void 0 ? void 0 : boardData.entity, merchant: boardData === null || boardData === void 0 ? void 0 : boardData.merchant, name: (_d = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _d === void 0 ? void 0 : _d.names, business: boardData === null || boardData === void 0 ? void 0 : boardData.business, individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals, contact: (_e = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _e === void 0 ? void 0 : _e.contact, user: individualData, board_status: boardData === null || boardData === void 0 ? void 0 : boardData.status })];
291
+ case 3: return [2, __assign(__assign({}, boardData), { brand: boardData === null || boardData === void 0 ? void 0 : boardData.brand, bank_account: __assign(__assign({}, responseBody === null || responseBody === void 0 ? void 0 : responseBody.bank_account), boardData === null || boardData === void 0 ? void 0 : boardData.bank_account), entity: boardData === null || boardData === void 0 ? void 0 : boardData.entity, merchant: boardData === null || boardData === void 0 ? void 0 : boardData.merchant, name: (_d = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _d === void 0 ? void 0 : _d.names, business: boardData === null || boardData === void 0 ? void 0 : boardData.business, individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals, contact: (_e = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _e === void 0 ? void 0 : _e.contact, user: individualData, board_status: boardData === null || boardData === void 0 ? void 0 : boardData.status })];
290
292
  }
291
293
  });
292
294
  });
@@ -296,14 +296,16 @@ export var retrieveBoardStatus = createAsyncThunk('brand/retrieveBoardStatus', f
296
296
  }
297
297
  });
298
298
  }); });
299
- export var retrieveBoardDetails = createAsyncThunk('brand/retrieveBoardDetails', function (_a) {
299
+ export var retrieveBoardDetails = createAsyncThunk('brand/retrieveBoardDetails', function (_a, thunkApi) {
300
300
  var boardId = _a.boardId, id = _a.individualId, type = _a.individualType;
301
301
  return __awaiter(void 0, void 0, void 0, function () {
302
- var data, individualData, boardData, serviceCallBack, _b, boardRes, individualRes;
302
+ var responseBody, data, individualData, boardData, serviceCallBack, _b, boardRes, individualRes;
303
303
  var _c, _d, _e;
304
304
  return __generator(this, function (_f) {
305
305
  switch (_f.label) {
306
- case 0: return [4, API.boardService.retrieveBoardDetails(boardId)];
306
+ case 0:
307
+ responseBody = thunkApi.getState().brand.data.verify.responseBody;
308
+ return [4, API.boardService.retrieveBoardDetails(boardId)];
307
309
  case 1:
308
310
  data = _f.sent();
309
311
  individualData = data === null || data === void 0 ? void 0 : data.user;
@@ -316,7 +318,7 @@ export var retrieveBoardDetails = createAsyncThunk('brand/retrieveBoardDetails',
316
318
  individualData = individualRes;
317
319
  boardData = boardRes;
318
320
  _f.label = 3;
319
- case 3: return [2, __assign(__assign({}, boardData), { brand: boardData === null || boardData === void 0 ? void 0 : boardData.brand, bank_account: boardData === null || boardData === void 0 ? void 0 : boardData.bank_account, entity: boardData === null || boardData === void 0 ? void 0 : boardData.entity, merchant: boardData === null || boardData === void 0 ? void 0 : boardData.merchant, name: (_d = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _d === void 0 ? void 0 : _d.names, individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals, contact: (_e = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _e === void 0 ? void 0 : _e.contact, user: individualData, board_status: boardData === null || boardData === void 0 ? void 0 : boardData.status })];
321
+ case 3: return [2, __assign(__assign({}, boardData), { brand: __assign(__assign({}, responseBody === null || responseBody === void 0 ? void 0 : responseBody.brand), boardData === null || boardData === void 0 ? void 0 : boardData.brand), bank_account: boardData === null || boardData === void 0 ? void 0 : boardData.bank_account, entity: boardData === null || boardData === void 0 ? void 0 : boardData.entity, merchant: boardData === null || boardData === void 0 ? void 0 : boardData.merchant, name: (_d = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _d === void 0 ? void 0 : _d.names, individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals, contact: (_e = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _e === void 0 ? void 0 : _e.contact, user: individualData, board_status: boardData === null || boardData === void 0 ? void 0 : boardData.status })];
320
322
  }
321
323
  });
322
324
  });
@@ -1,5 +1,5 @@
1
1
  import { RootState } from '../../../app/store';
2
- import { MobileFormValues, NIDFormValues, CivilFormValues, OTPFormValues, IndividualFormValues, SharedState, FlowsTypes, ActionState, CountryCode, AuthForType, BusinessDataFormValues, AsyncThunkParams, AuthenticationListFormValues, AuthMerchantFormValues, DOBFormValues, MobileOwnershipFormValues, AuthForScreen } from '../../../@types';
2
+ import { MobileFormValues, NIDFormValues, CivilFormValues, OTPFormValues, IndividualFormValues, SharedState, FlowsTypes, ActionState, CountryCode, AuthForType, BusinessDataFormValues, AsyncThunkParams, AuthenticationListFormValues, AuthMerchantFormValues, DOBFormValues, MobileOwnershipFormValues, AuthForScreen, AuthEmailFormValues } from '../../../@types';
3
3
  import { CancelToken } from 'axios';
4
4
  export declare const updateBusinessCountryAsync: import("@reduxjs/toolkit").AsyncThunk<any, string, {}>;
5
5
  export declare const retrieveLeadIdentityByIdAsync: import("@reduxjs/toolkit").AsyncThunk<{
@@ -37,6 +37,14 @@ export declare const resendMobileAuthOTP: import("@reduxjs/toolkit").AsyncThunk<
37
37
  response: any;
38
38
  formData: MobileFormValues;
39
39
  }, MobileFormValues, {}>;
40
+ export declare const createEmailAuthAsync: import("@reduxjs/toolkit").AsyncThunk<{
41
+ response: any;
42
+ formData: AuthEmailFormValues;
43
+ }, AuthEmailFormValues, {}>;
44
+ export declare const resendEmailAuthOTP: import("@reduxjs/toolkit").AsyncThunk<{
45
+ response: any;
46
+ formData: AuthEmailFormValues;
47
+ }, AuthEmailFormValues, {}>;
40
48
  export declare const createAuthSessionExpiredAsync: import("@reduxjs/toolkit").AsyncThunk<{
41
49
  data: any;
42
50
  }, boolean, {}>;
@@ -65,6 +73,7 @@ export declare const createCivilIdAuthAsync: import("@reduxjs/toolkit").AsyncThu
65
73
  formData: CivilFormValues;
66
74
  }, CivilFormValues, {}>;
67
75
  export declare const verifyMobileOtpAsync: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {}>;
76
+ export declare const verifyEmailOtpAsync: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {}>;
68
77
  export declare const verifyPACIAsync: import("@reduxjs/toolkit").AsyncThunk<any, verifyPACIAsyncParams, {}>;
69
78
  export declare const createCivilIDAuthIdentityAsync: import("@reduxjs/toolkit").AsyncThunk<{
70
79
  response: any;
@@ -157,6 +166,7 @@ interface ResponseData {
157
166
  export interface ConnectExpressData {
158
167
  isLeadIdPassed: boolean;
159
168
  mobileData: MobileFormValues;
169
+ emailData: AuthEmailFormValues;
160
170
  nidData: NIDFormValues;
161
171
  civilIdData: CivilFormValues;
162
172
  otpData: OTPFormValues & {