@tap-payments/auth-jsconnect 2.6.0-test → 2.6.3-test

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/build/@types/app.d.ts +80 -0
  2. package/build/@types/form.d.ts +7 -1
  3. package/build/api/entity.d.ts +3 -0
  4. package/build/api/entity.js +32 -1
  5. package/build/api/index.d.ts +6 -2
  6. package/build/api/operator.d.ts +5 -0
  7. package/build/api/operator.js +21 -1
  8. package/build/assets/locales/ar.json +12 -1
  9. package/build/assets/locales/en.json +12 -1
  10. package/build/components/SimpleList/SimpleList.js +1 -1
  11. package/build/constants/api.d.ts +2 -0
  12. package/build/constants/api.js +5 -1
  13. package/build/constants/app.d.ts +1 -0
  14. package/build/constants/app.js +14 -2
  15. package/build/features/app/connectExpress/connectExpressStore.d.ts +19 -2
  16. package/build/features/app/connectExpress/connectExpressStore.js +267 -22
  17. package/build/features/brand/screens/BrandInfo/BrandLogo.js +1 -1
  18. package/build/features/brand/screens/BrandInfo/validation.d.ts +21 -0
  19. package/build/features/brand/screens/BrandInfo/validation.js +3 -0
  20. package/build/features/connectExpress/ConnectExpress.js +7 -3
  21. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +5 -0
  22. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.js +91 -0
  23. package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +10 -0
  24. package/build/features/connectExpress/screens/AuthenticationList/BrandList.js +81 -0
  25. package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +11 -0
  26. package/build/features/connectExpress/screens/AuthenticationList/EntityList.js +96 -0
  27. package/build/features/connectExpress/screens/AuthenticationList/MerchantList.d.ts +10 -0
  28. package/build/features/connectExpress/screens/AuthenticationList/MerchantList.js +100 -0
  29. package/build/features/connectExpress/screens/AuthenticationList/TerminalList.d.ts +10 -0
  30. package/build/features/connectExpress/screens/AuthenticationList/TerminalList.js +101 -0
  31. package/build/features/connectExpress/screens/AuthenticationList/index.d.ts +3 -0
  32. package/build/features/connectExpress/screens/AuthenticationList/index.js +2 -0
  33. package/build/features/connectExpress/screens/AuthenticationList/validation.d.ts +17 -0
  34. package/build/features/connectExpress/screens/AuthenticationList/validation.js +9 -0
  35. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +15 -6
  36. package/build/features/featuresScreens.js +5 -0
  37. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +3 -3
  38. package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +1 -1
  39. package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +2 -2
  40. package/build/features/shared/Button/FlowsButtons.d.ts +3 -1
  41. package/build/features/shared/Button/FlowsButtons.js +14 -11
  42. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +3 -1
  43. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +2 -2
  44. package/build/features/shared/UploadFile/FileUpload.js +1 -1
  45. package/build/features/shared/UploadFile/UploadWrapper.js +1 -1
  46. package/package.json +1 -1
@@ -116,6 +116,10 @@ export interface License {
116
116
  export interface EntityLicense extends License {
117
117
  id: string;
118
118
  }
119
+ export interface EntityLicenseAuth extends EntityLicense {
120
+ id: string;
121
+ country: string;
122
+ }
119
123
  export interface Activity {
120
124
  id: string;
121
125
  name: {
@@ -640,9 +644,85 @@ export declare type ConfigExpressTokenParams = {
640
644
  };
641
645
  lead_id: string;
642
646
  board: boolean;
647
+ platform_redirect_url: string;
648
+ data: Array<string>;
643
649
  };
644
650
  export declare enum MerchantStatus {
645
651
  DISABLED = "disabled",
646
652
  ENABLED = "enabled"
647
653
  }
654
+ export interface AuthMerchantInfo {
655
+ id: string;
656
+ status: string;
657
+ created: number;
658
+ display_name: string;
659
+ business_id: string;
660
+ business_entity_id: string;
661
+ brand_id: string;
662
+ wallet_id: string;
663
+ base_currency: string;
664
+ charge_currenices: string[];
665
+ country: string;
666
+ is_acceptance_allowed: boolean;
667
+ is_payout_allowed: boolean;
668
+ legacy_id: string;
669
+ marketplace: boolean;
670
+ post: {
671
+ url: string;
672
+ };
673
+ metadata: {
674
+ MerchantRefrenceId: string;
675
+ };
676
+ terminal_id: string;
677
+ acceptance_status: string;
678
+ payout_status: string;
679
+ }
680
+ export interface AuthTerminalInfo {
681
+ id: string;
682
+ object: string;
683
+ live_mode: boolean;
684
+ api_version: string;
685
+ feature_version: string;
686
+ name: TerminalName;
687
+ merchant: TerminalMerchant;
688
+ authorizes: TerminalAuthorizes;
689
+ charges: TerminalAuthorizes;
690
+ refunds: TerminalAuthorizes;
691
+ wallet: TerminalWallet;
692
+ virtual: boolean;
693
+ operator: TerminalOperator;
694
+ acceptance_status: string;
695
+ data_status: TerminalDataStatus;
696
+ data_verification: TerminalDataStatus;
697
+ data_state: string;
698
+ brand: TerminalWallet;
699
+ }
700
+ interface TerminalDataStatus {
701
+ name: TerminalName;
702
+ charge_last_transaction: string;
703
+ charge_flag: string;
704
+ authorize_last_transaction: string;
705
+ refund_last_transaction: string;
706
+ acceptance_status: string;
707
+ }
708
+ interface TerminalName {
709
+ ar: string;
710
+ en: string;
711
+ }
712
+ interface TerminalWallet {
713
+ id: string;
714
+ }
715
+ interface TerminalOperator {
716
+ id: string;
717
+ is_merchant: boolean;
718
+ }
719
+ interface TerminalMerchant {
720
+ id: string;
721
+ base_currency: string;
722
+ country: string;
723
+ }
724
+ interface TerminalAuthorizes {
725
+ status: string;
726
+ status_message: string;
727
+ }
648
728
  export {};
@@ -1,4 +1,4 @@
1
- import { Activity, BrandInfo, CountryCode, CustomerLocation, ExpectedCustomer, ExpectedSaleRange, License, MonthlyIncome, Occupation, SaleChannel, Segment, SourceOfIncome, TeamSize, City, EntityLicense } from './app';
1
+ import { Activity, BrandInfo, CountryCode, CustomerLocation, ExpectedCustomer, ExpectedSaleRange, License, MonthlyIncome, Occupation, SaleChannel, Segment, SourceOfIncome, TeamSize, City, EntityLicense, EntityLicenseAuth, AuthMerchantInfo, AuthTerminalInfo } from './app';
2
2
  export declare type MobileFormValues = {
3
3
  mobile: string;
4
4
  countryCode: CountryCode;
@@ -143,3 +143,9 @@ export declare type BusinessDataFormValues = {
143
143
  selectedLicense?: License;
144
144
  termAndConditionChecked?: boolean;
145
145
  };
146
+ export declare type AuthenticationListFormValues = {
147
+ brandInfo?: BrandInfo;
148
+ entityInfo?: EntityLicenseAuth;
149
+ merchantInfo?: AuthMerchantInfo;
150
+ terminalInfo?: AuthTerminalInfo;
151
+ };
@@ -129,5 +129,8 @@ declare const entityService: {
129
129
  updateEntityAOAFile: ({ id, ...data }: UpdateEntityAOAFileBody) => Promise<any>;
130
130
  retrieveAllEntities: (id: string) => Promise<any>;
131
131
  removeEntityActivities: ({ id, ...data }: RemoveEntityActivity) => Promise<any>;
132
+ getEntityListUsingIndividualId: (individualId: string) => Promise<any>;
133
+ getMerchantListUsingEntityId: (entityId: string) => Promise<any>;
134
+ getTerminalListUsingMerchantId: (merchantId: string) => Promise<any>;
132
135
  };
133
136
  export { entityService };
@@ -97,6 +97,34 @@ var removeEntityActivities = function (_a) {
97
97
  data: data
98
98
  });
99
99
  };
100
+ var getEntityListUsingIndividualId = function (individualId) {
101
+ return httpClient({
102
+ method: 'post',
103
+ url: "".concat(ENDPOINT_PATHS.ENTITY, "/list"),
104
+ data: {
105
+ individual_id: individualId
106
+ }
107
+ });
108
+ };
109
+ var getMerchantListUsingEntityId = function (entityId) {
110
+ return httpClient({
111
+ method: 'post',
112
+ url: "".concat(ENDPOINT_PATHS.MERCHANT, "/list"),
113
+ data: {
114
+ create_if_not_present: true,
115
+ business_entity_id: entityId
116
+ }
117
+ });
118
+ };
119
+ var getTerminalListUsingMerchantId = function (merchantId) {
120
+ return httpClient({
121
+ method: 'post',
122
+ url: "".concat(ENDPOINT_PATHS.TERMINAL, "/list"),
123
+ data: {
124
+ merchant_id: [merchantId]
125
+ }
126
+ });
127
+ };
100
128
  var entityService = {
101
129
  createEntityInfo: createEntityInfo,
102
130
  updateEntityInfo: updateEntityInfo,
@@ -111,6 +139,9 @@ var entityService = {
111
139
  updateEntityCapital: updateEntityCapital,
112
140
  updateEntityAOAFile: updateEntityAOAFile,
113
141
  retrieveAllEntities: retrieveAllEntities,
114
- removeEntityActivities: removeEntityActivities
142
+ removeEntityActivities: removeEntityActivities,
143
+ getEntityListUsingIndividualId: getEntityListUsingIndividualId,
144
+ getMerchantListUsingEntityId: getMerchantListUsingEntityId,
145
+ getTerminalListUsingMerchantId: getTerminalListUsingMerchantId
115
146
  };
116
147
  export { entityService };
@@ -1,5 +1,5 @@
1
1
  import axiosInstance, { setAxiosGlobalHeaders, removeAxiosGlobalHeaders, getAxiosHeaders } from './axios';
2
- import { ValidateOperatorBody } from './operator';
2
+ import { ValidateOperatorBody, UpdateOperatorBody } from './operator';
3
3
  import { CreateAuthBody, VerifyAuthBody, CreatePasswordBody, VerifyOperationAuthBody, ResetPasswordVerifyAuthBody, VerifyAuthExpressOTPBody } from './auth';
4
4
  import { UpdateLeadBody, LeadVerifyBody, CreateLeadBody, LeadOTPVerifyBody, LeadIdentityUpdateBody, ExpressLeadVerifyBody } from './lead';
5
5
  import { CheckEmailBody, CheckBrandBody } from './availabilityServices';
@@ -20,6 +20,7 @@ declare const API: {
20
20
  };
21
21
  operatorService: {
22
22
  validateOperator: (body: ValidateOperatorBody) => Promise<any>;
23
+ updateOperator: ({ id, ...data }: UpdateOperatorBody) => Promise<any>;
23
24
  };
24
25
  countryService: {
25
26
  getCountries: (disableCountries?: boolean | undefined) => Promise<any> | {
@@ -66,6 +67,9 @@ declare const API: {
66
67
  updateEntityAOAFile: ({ id, ...data }: UpdateEntityAOAFileBody) => Promise<any>;
67
68
  retrieveAllEntities: (id: string) => Promise<any>;
68
69
  removeEntityActivities: ({ id, ...data }: RemoveEntityActivity) => Promise<any>;
70
+ getEntityListUsingIndividualId: (individualId: string) => Promise<any>;
71
+ getMerchantListUsingEntityId: (entityId: string) => Promise<any>;
72
+ getTerminalListUsingMerchantId: (merchantId: string) => Promise<any>;
69
73
  };
70
74
  availabilityServices: {
71
75
  checkEmail: (data: CheckEmailBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
@@ -165,6 +169,6 @@ declare const API: {
165
169
  getInitialData: (body: InitBody) => Promise<any>;
166
170
  };
167
171
  };
168
- export type { ValidateOperatorBody, CreateAuthBody, ExpressCreateAccountBody, VerifyAuthBody, CreateLeadBody, UpdateLeadBody, LeadVerifyBody, LeadOTPVerifyBody, CheckEmailBody, CheckBrandBody, LeadIdentityUpdateBody, EntityInfoBody, CreateAccountBody, EntityBankUpdateBody, CreatePasswordBody, BrandListBody, VerifyOperationAuthBody, ResetPasswordVerifyAuthBody, UpdateBoardBody, UpdateBrandBody, DataElementBody, UploadFileBody, UpdateEntityBody, DocumentUpdateBody, DocumentInfo, VerifyAuthExpressOTPBody, UpdateIndividualBody, UpdateEntityActivityBody, UpdateEntityCapitalBody, BankDocumentInfo, GetUserListBody, GetIndividualListBody, RequestEmailBody, DocumentBody, UpdateEntityAOAFileBody, InitBody, RemoveBrandActivity, RemoveEntityActivity, UpdateIndividualWithTypeBody, UpdateMultipleIndividualBody, ExpressLeadVerifyBody };
172
+ export type { ValidateOperatorBody, CreateAuthBody, ExpressCreateAccountBody, VerifyAuthBody, CreateLeadBody, UpdateLeadBody, LeadVerifyBody, LeadOTPVerifyBody, CheckEmailBody, CheckBrandBody, LeadIdentityUpdateBody, EntityInfoBody, CreateAccountBody, EntityBankUpdateBody, CreatePasswordBody, BrandListBody, VerifyOperationAuthBody, ResetPasswordVerifyAuthBody, UpdateBoardBody, UpdateBrandBody, DataElementBody, UploadFileBody, UpdateEntityBody, DocumentUpdateBody, DocumentInfo, VerifyAuthExpressOTPBody, UpdateIndividualBody, UpdateEntityActivityBody, UpdateEntityCapitalBody, BankDocumentInfo, GetUserListBody, GetIndividualListBody, RequestEmailBody, DocumentBody, UpdateEntityAOAFileBody, InitBody, RemoveBrandActivity, RemoveEntityActivity, UpdateIndividualWithTypeBody, UpdateMultipleIndividualBody, ExpressLeadVerifyBody, UpdateOperatorBody };
169
173
  export { setAxiosGlobalHeaders, removeAxiosGlobalHeaders, axiosInstance, getAxiosHeaders };
170
174
  export default API;
@@ -6,7 +6,12 @@ export declare type ValidateOperatorBody = {
6
6
  locale: string;
7
7
  connect_pkey?: string;
8
8
  };
9
+ export declare type UpdateOperatorBody = {
10
+ id: string;
11
+ post_url: string;
12
+ };
9
13
  declare const operatorService: {
10
14
  validateOperator: (body: ValidateOperatorBody) => Promise<any>;
15
+ updateOperator: ({ id, ...data }: UpdateOperatorBody) => Promise<any>;
11
16
  };
12
17
  export { operatorService };
@@ -34,6 +34,17 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
34
34
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
35
35
  }
36
36
  };
37
+ var __rest = (this && this.__rest) || function (s, e) {
38
+ var t = {};
39
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
40
+ t[p] = s[p];
41
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
42
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
43
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
44
+ t[p[i]] = s[p[i]];
45
+ }
46
+ return t;
47
+ };
37
48
  import { ENDPOINT_PATHS } from '../constants';
38
49
  import { httpClient } from './axios';
39
50
  var validateOperator = function (body) { return __awaiter(void 0, void 0, void 0, function () {
@@ -59,7 +70,16 @@ var validateOperator = function (body) { return __awaiter(void 0, void 0, void 0
59
70
  }
60
71
  });
61
72
  }); };
73
+ var updateOperator = function (_a) {
74
+ var id = _a.id, data = __rest(_a, ["id"]);
75
+ return httpClient({
76
+ method: 'put',
77
+ url: "".concat(ENDPOINT_PATHS.OPERATOR, "/").concat(id),
78
+ data: data
79
+ });
80
+ };
62
81
  var operatorService = {
63
- validateOperator: validateOperator
82
+ validateOperator: validateOperator,
83
+ updateOperator: updateOperator
64
84
  };
65
85
  export { operatorService };
@@ -417,5 +417,16 @@
417
417
  "alert_choose_segment_tech": "الرجاء تحديد التقنية",
418
418
  "switch_to_islamic_calendar": "التبديل إلى التقويم الهجرى",
419
419
  "switch_to_gregorian_calendar": "التبديل إلى التقويم الميلادي",
420
- "choose_any_monthly_income": "رجاءا اختر الدخل الشهرى"
420
+ "choose_any_monthly_income": "رجاءا اختر الدخل الشهرى",
421
+ "auth_brand_required": "العلامة التجارية مطلوبة",
422
+ "auth_entity_required": "المؤسسة مطلوب",
423
+ "auth_merchant_required": "التاجر مطلوب",
424
+ "auth_terminal_required": "ال Terminal مطلوبة",
425
+ "select_entity_label": "مؤسسة",
426
+ "select_entity_placeholder": "الرجاء تحديد مؤسسة",
427
+ "select_merchant_label": "التاجر",
428
+ "select_merchant_placeholder": "الرجاء تحديد تاجر",
429
+ "select_terminal_label": "Terminal",
430
+ "select_terminal_placeholder": "الرجاء تحديد محطة طرفية",
431
+ "close_and_complete_later": "اغلق الان و اكمل لاحقا"
421
432
  }
@@ -447,5 +447,16 @@
447
447
  "alert_choose_segment_tech": "Please select segment tech",
448
448
  "switch_to_islamic_calendar": "Switch to Islamic Calendar",
449
449
  "switch_to_gregorian_calendar": "Switch to Gregorian Calendar",
450
- "choose_any_monthly_income": "Please choose monthly income"
450
+ "choose_any_monthly_income": "Please choose monthly income",
451
+ "auth_brand_required": "Brand is required",
452
+ "auth_entity_required": "Entity is required",
453
+ "auth_merchant_required": "Merchant is required",
454
+ "auth_terminal_required": "Terminal is required",
455
+ "select_entity_label": "Entity",
456
+ "select_entity_placeholder": "Please select a entity",
457
+ "select_merchant_label": "Merchant",
458
+ "select_merchant_placeholder": "Please select a merchant",
459
+ "select_terminal_label": "Terminal",
460
+ "select_terminal_placeholder": "Please select a terminal",
461
+ "close_and_complete_later": "Close and Complete Later"
451
462
  }
@@ -123,7 +123,7 @@ function SimpleList(_a) {
123
123
  setItems(list);
124
124
  };
125
125
  return (_jsxs(_Fragment, { children: [(searchValuePath === null || searchValuePath === void 0 ? void 0 : searchValuePath.length) && _jsx(Search, { onSearchValue: onSearch }), _jsx(ListStyled, __assign({ height: maxHeight }, rest, { children: children ||
126
- mapSelectedItemBeginning.map(function (item, idx) {
126
+ (mapSelectedItemBeginning || []).map(function (item, idx) {
127
127
  return (_createElement(ListItemStyled, __assign({}, listItemProps, { onClick: function (e) {
128
128
  onSelectItem(item, e);
129
129
  }, disableGutters: true, key: idx }), renderItem(item, idx)));
@@ -53,4 +53,6 @@ export declare const ENDPOINT_PATHS: {
53
53
  SEGMENT_LOCATION: string;
54
54
  SEGMENT_PROFIT: string;
55
55
  SEGMENT_TECH: string;
56
+ MERCHANT: string;
57
+ TERMINAL: string;
56
58
  };
@@ -49,6 +49,8 @@ var TEAM_SIZE_PATH = '/businessSegment/team/list';
49
49
  var ADDRESS_PATH = '/address';
50
50
  var INIT_PATH = 'init';
51
51
  var BUSINESS_PATH = '/business';
52
+ var MERCHANT_PATH = '/merchant';
53
+ var TERMINAL_PATH = '/terminal';
52
54
  var SEGMENT_LOCATION_PATH = "".concat(BRAND_PATH, "/segment/location");
53
55
  var SEGMENT_PROFIT_PATH = "".concat(BRAND_PATH, "/segment/profit");
54
56
  var SEGMENT_TECH_PATH = "".concat(BRAND_PATH, "/segment/tech");
@@ -106,5 +108,7 @@ export var ENDPOINT_PATHS = {
106
108
  CONNECT: CONNECT_PATH,
107
109
  SEGMENT_LOCATION: SEGMENT_LOCATION_PATH,
108
110
  SEGMENT_PROFIT: SEGMENT_PROFIT_PATH,
109
- SEGMENT_TECH: SEGMENT_TECH_PATH
111
+ SEGMENT_TECH: SEGMENT_TECH_PATH,
112
+ MERCHANT: MERCHANT_PATH,
113
+ TERMINAL: TERMINAL_PATH
110
114
  };
@@ -6,6 +6,7 @@ export declare const LOCAL_STORAGE_KEYS: {
6
6
  themeMode: string;
7
7
  languageMode: string;
8
8
  };
9
+ export declare const SCOPE_AUTH = "auth";
9
10
  export declare const EXTERNAL_LINKS: {
10
11
  TOS_EN: string;
11
12
  TOS_AR: string;
@@ -6,6 +6,7 @@ export var LOCAL_STORAGE_KEYS = {
6
6
  themeMode: 'themeMode',
7
7
  languageMode: 'languageMode'
8
8
  };
9
+ export var SCOPE_AUTH = 'auth';
9
10
  export var EXTERNAL_LINKS = {
10
11
  TOS_EN: '/en/terms-conditions',
11
12
  TOS_AR: '/ar/terms-conditions',
@@ -93,7 +94,11 @@ export var CONNECT_EXPRESS_SCREENS_NAVIGATION = [
93
94
  },
94
95
  {
95
96
  name: 'CONNECT_EXPRESS_VERIFY_PACI_STEP',
96
- next: ['CONNECT_EXPRESS_COLLECT_INDIVIDUAL_INFO_STEP', 'CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP'],
97
+ next: [
98
+ 'CONNECT_EXPRESS_COLLECT_INDIVIDUAL_INFO_STEP',
99
+ 'CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP',
100
+ 'CONNECT_EXPRESS_AUTHENTICATION_LIST_STEP'
101
+ ],
97
102
  prev: 'CONNECT_EXPRESS_CIVIL_ID_STEP',
98
103
  order: 2
99
104
  },
@@ -103,11 +108,18 @@ export var CONNECT_EXPRESS_SCREENS_NAVIGATION = [
103
108
  'CONNECT_EXPRESS_COLLECT_INDIVIDUAL_INFO_STEP',
104
109
  'CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP',
105
110
  'CONNECT_EXPRESS_NID_MISSED_STEP',
106
- 'CONNECT_EXPRESS_CIVIL_ID_MISSED_STEP'
111
+ 'CONNECT_EXPRESS_CIVIL_ID_MISSED_STEP',
112
+ 'CONNECT_EXPRESS_AUTHENTICATION_LIST_STEP'
107
113
  ],
108
114
  prev: ['CONNECT_EXPRESS_MOBILE_STEP', 'CONNECT_EXPRESS_NID_STEP'],
109
115
  order: 2
110
116
  },
117
+ {
118
+ name: 'CONNECT_EXPRESS_AUTHENTICATION_LIST_STEP',
119
+ next: 'CONNECT_EXPRESS_SUCCESS_WITH_FLOW_BUTTONS_STEP',
120
+ prev: ['CONNECT_EXPRESS_MOBILE_STEP', 'CONNECT_EXPRESS_NID_STEP', 'CONNECT_EXPRESS_CIVIL_ID_STEP'],
121
+ order: 3
122
+ },
111
123
  {
112
124
  name: 'CONNECT_EXPRESS_NID_MISSED_STEP',
113
125
  next: 'CONNECT_EXPRESS_OTP_IDENTITY_STEP',
@@ -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 } from '../../../@types';
2
+ import { MobileFormValues, NIDFormValues, CivilFormValues, OTPFormValues, IndividualFormValues, SharedState, FlowsTypes, ActionState, CountryCode, AuthForType, BusinessDataFormValues, AsyncThunkParams, AuthenticationListFormValues } from '../../../@types';
3
3
  import { CancelToken } from 'axios';
4
4
  export declare const retrieveLeadIdentityByIdAsync: import("@reduxjs/toolkit").AsyncThunk<{
5
5
  data: any;
@@ -17,6 +17,14 @@ export declare const getLeadByIdAsync: import("@reduxjs/toolkit").AsyncThunk<{
17
17
  countryCode: CountryCode;
18
18
  }, string, {}>;
19
19
  export declare const retrieveEntityListAsync: import("@reduxjs/toolkit").AsyncThunk<any, string, {}>;
20
+ export declare const retrieveAuthenticationListAsync: import("@reduxjs/toolkit").AsyncThunk<{
21
+ brandList: any;
22
+ entityList: any;
23
+ }, {
24
+ individualId: string;
25
+ }, {}>;
26
+ export declare const getMerchantListAsync: import("@reduxjs/toolkit").AsyncThunk<any, string, {}>;
27
+ export declare const getTerminalListAsync: import("@reduxjs/toolkit").AsyncThunk<any, string, {}>;
20
28
  export declare const createMobileAuthAsync: import("@reduxjs/toolkit").AsyncThunk<{
21
29
  response: any;
22
30
  formData: MobileFormValues;
@@ -92,6 +100,8 @@ export declare const updateLeadBusinessDataAsync: import("@reduxjs/toolkit").Asy
92
100
  response: any;
93
101
  formData: BusinessDataFormValues;
94
102
  }, AsyncThunkParams<BusinessDataFormValues>, {}>;
103
+ export declare const updateOperatorInfoAsync: import("@reduxjs/toolkit").AsyncThunk<void, AuthenticationListFormValues, {}>;
104
+ export declare const onCloseCompleteAsync: import("@reduxjs/toolkit").AsyncThunk<void, void, {}>;
95
105
  interface ResponseData {
96
106
  responseData?: Record<string, any>;
97
107
  }
@@ -109,13 +119,20 @@ export interface ConnectExpressData {
109
119
  leadId?: string;
110
120
  individualData: IndividualFormValues;
111
121
  businessData: BusinessDataFormValues;
122
+ redirectUrl: string;
123
+ authData: Array<string>;
124
+ authenticationData: AuthenticationListFormValues;
112
125
  }
113
126
  export interface ConnectExpressState extends SharedState<ConnectExpressData & ResponseData> {
114
127
  customLoading?: boolean;
128
+ merchantLoading?: boolean;
129
+ terminalLoading?: boolean;
115
130
  }
116
131
  export declare const connectSlice: import("@reduxjs/toolkit").Slice<ConnectExpressState, {
117
132
  setLeadId(state: ConnectExpressState, action: ActionState<string>): void;
118
133
  setShowBoard(state: ConnectExpressState, action: ActionState<boolean>): void;
134
+ setRedirectUrl: (state: ConnectExpressState, action: ActionState<string>) => void;
135
+ setAuthData: (state: ConnectExpressState, action: ActionState<Array<string>>) => void;
119
136
  setIsLeadIdPassed: (state: ConnectExpressState, action: ActionState<boolean>) => void;
120
137
  clearError: (state: ConnectExpressState) => void;
121
138
  setError(state: ConnectExpressState, action: ActionState<string>): void;
@@ -128,7 +145,7 @@ export declare const connectSlice: import("@reduxjs/toolkit").Slice<ConnectExpre
128
145
  resetStore: (state: ConnectExpressState) => void;
129
146
  resetIndividualScreen: (state: ConnectExpressState) => void;
130
147
  }, "connectExpress/store">;
131
- export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, setIsLeadIdPassed: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, resetMobileScreen: import("@reduxjs/toolkit").ActionCreatorWithPayload<CountryCode, string>, resetOTPValue: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetNIDScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetCivilScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetStore: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, setError: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, setPostUrl: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, setLeadId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, setShowBoard: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, resetIndividualScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
148
+ export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, setIsLeadIdPassed: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, resetMobileScreen: import("@reduxjs/toolkit").ActionCreatorWithPayload<CountryCode, string>, resetOTPValue: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetNIDScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetCivilScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetStore: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, setError: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, setPostUrl: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, setRedirectUrl: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, setAuthData: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], string>, setLeadId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, setShowBoard: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, resetIndividualScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
132
149
  declare const _default: import("redux").Reducer<ConnectExpressState, import("redux").AnyAction>;
133
150
  export default _default;
134
151
  export declare const connectExpressSelector: (state: RootState) => ConnectExpressState;