@tap-payments/auth-jsconnect 1.0.30 → 1.0.33

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 (71) hide show
  1. package/build/@types/app.d.ts +17 -1
  2. package/build/@types/form.d.ts +16 -1
  3. package/build/api/axios.d.ts +2 -0
  4. package/build/api/axios.js +10 -0
  5. package/build/api/entity.d.ts +20 -0
  6. package/build/api/entity.js +9 -0
  7. package/build/api/firebase.d.ts +4 -0
  8. package/build/api/firebase.js +9 -0
  9. package/build/api/index.d.ts +16 -2
  10. package/build/api/index.js +7 -1
  11. package/build/api/lead.d.ts +22 -0
  12. package/build/api/lead.js +21 -1
  13. package/build/app/settings.d.ts +1 -0
  14. package/build/app/settings.js +44 -18
  15. package/build/assets/locales/ar.json +1 -1
  16. package/build/components/Input/Input.d.ts +1 -1
  17. package/build/components/Input/Input.js +3 -2
  18. package/build/components/Slide/Slide.d.ts +1 -1
  19. package/build/components/Warning/Warning.d.ts +1 -1
  20. package/build/components/Warning/Warning.js +13 -2
  21. package/build/constants/api.d.ts +5 -0
  22. package/build/constants/api.js +11 -1
  23. package/build/constants/app.d.ts +7 -1
  24. package/build/constants/app.js +7 -1
  25. package/build/constants/assets.d.ts +1 -0
  26. package/build/constants/assets.js +2 -1
  27. package/build/constants/dummy.js +3 -3
  28. package/build/constants/validation.d.ts +2 -0
  29. package/build/constants/validation.js +2 -0
  30. package/build/features/app/business/businessStore.d.ts +54 -4
  31. package/build/features/app/business/businessStore.js +325 -5
  32. package/build/features/app/connect/connectStore.d.ts +3 -1
  33. package/build/features/app/connect/connectStore.js +72 -43
  34. package/build/features/bank/screens/BankDetails/validation.js +2 -1
  35. package/build/features/business/Business.js +7 -3
  36. package/build/features/business/screens/Activities/Activities.js +3 -3
  37. package/build/features/business/screens/Activities/ActivitiesList.d.ts +2 -2
  38. package/build/features/business/screens/Activities/OperationStartDate.js +1 -1
  39. package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -8
  40. package/build/features/business/screens/BusinessType/BusinessType.js +25 -27
  41. package/build/features/business/screens/Confirm/Confirm.js +8 -9
  42. package/build/features/business/screens/Customers/CustomerLocations.d.ts +3 -3
  43. package/build/features/business/screens/IDBOD/DOB.js +1 -1
  44. package/build/features/business/screens/IDBOD/IDBOD.js +19 -12
  45. package/build/features/business/screens/OTP/OTP.d.ts +2 -5
  46. package/build/features/business/screens/OTP/OTP.js +18 -15
  47. package/build/features/business/screens/OTP/OTPInput.js +20 -5
  48. package/build/features/business/screens/Verify/OTPInput.js +7 -3
  49. package/build/features/business/screens/Verify/Verify.d.ts +1 -9
  50. package/build/features/business/screens/Verify/Verify.js +15 -17
  51. package/build/features/business/screens/Verify/index.d.ts +1 -2
  52. package/build/features/connect/screens/Individual/MobileNumber.js +23 -11
  53. package/build/features/connect/screens/Individual/Name.js +10 -1
  54. package/build/features/connect/screens/Individual/validation.js +3 -2
  55. package/build/features/connect/screens/Mobile/Mobile.js +2 -3
  56. package/build/features/connect/screens/Mobile/MobileNumber.js +22 -28
  57. package/build/features/connect/screens/NID/NID.js +1 -2
  58. package/build/features/connect/screens/OTP/OTPInput.js +3 -0
  59. package/build/features/connect/screens/Password/Password.js +2 -2
  60. package/build/features/featuresScreens.js +3 -3
  61. package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +2 -4
  62. package/build/features/shared/Button/AbsherButton.js +1 -1
  63. package/build/features/shared/Input/Input.d.ts +1 -1
  64. package/build/features/shared/SuccessScreen/SuccessScreen.js +12 -2
  65. package/build/hooks/useAppConfig.js +100 -24
  66. package/build/theme/palette.js +4 -0
  67. package/build/utils/locale.d.ts +2 -0
  68. package/build/utils/locale.js +21 -0
  69. package/build/utils/string.d.ts +26 -1
  70. package/build/utils/string.js +62 -1
  71. package/package.json +1 -1
@@ -145,6 +145,8 @@ export interface BrowserDetails {
145
145
  export interface Connection {
146
146
  ip: string;
147
147
  mac: string;
148
+ latitude?: number;
149
+ longitude?: number;
148
150
  }
149
151
  export interface Entry {
150
152
  name: string;
@@ -156,8 +158,22 @@ export interface DeviceInfo {
156
158
  source: 'browser|app';
157
159
  device: DeviceDetails;
158
160
  browser: BrowserDetails;
159
- app: AppInfo;
161
+ app: AppInfo & {
162
+ language?: string;
163
+ };
160
164
  connection: Connection;
161
165
  entry: Entry;
162
166
  }
167
+ export interface LocalProps {
168
+ en: {
169
+ translation: {
170
+ [key: string]: any;
171
+ };
172
+ };
173
+ ar: {
174
+ translation: {
175
+ [key: string]: any;
176
+ };
177
+ };
178
+ }
163
179
  export {};
@@ -1,4 +1,4 @@
1
- import { CountryCode } from './app';
1
+ import { Activity, CountryCode, SalesChannel } from './app';
2
2
  export declare type MobileFormValues = {
3
3
  mobile: string | null;
4
4
  countryCode: CountryCode;
@@ -28,3 +28,18 @@ export declare type BrandFormValues = {
28
28
  };
29
29
  termAndConditionChecked: boolean;
30
30
  };
31
+ export declare type BusinessTypeFormValues = {
32
+ businessType: string;
33
+ flNumber: string;
34
+ crNumber: string;
35
+ };
36
+ export declare type BusinessInfoFormValues = {
37
+ licenseNumber: string;
38
+ brandName: string;
39
+ legalName: string;
40
+ };
41
+ export declare type ActivitiesFormValues = {
42
+ activities: Array<Activity> | undefined;
43
+ salesChannels: Array<SalesChannel>;
44
+ operationStartDate: string;
45
+ };
@@ -1,2 +1,4 @@
1
1
  declare const instance: import("axios").AxiosInstance;
2
+ export declare const setAxiosGlobalHeaders: (headers: Record<string, string>) => void;
3
+ export declare const removeAxiosGlobalHeaders: (arr: Array<string>) => void;
2
4
  export default instance;
@@ -31,4 +31,14 @@ var encryptionContractTransformer = function (config) {
31
31
  }
32
32
  return config;
33
33
  };
34
+ export var setAxiosGlobalHeaders = function (headers) {
35
+ Object.keys(headers).forEach(function (key) {
36
+ instance.defaults.headers.common[key] = headers[key];
37
+ });
38
+ };
39
+ export var removeAxiosGlobalHeaders = function (arr) {
40
+ arr.forEach(function (key) {
41
+ delete instance.defaults.headers.common[key];
42
+ });
43
+ };
34
44
  export default instance;
@@ -0,0 +1,20 @@
1
+ import { Activity, SalesChannel } from '../@types';
2
+ import { AxiosRequestConfig } from 'axios';
3
+ export declare type EntityInfoUpdateBody = {
4
+ activities?: Array<Activity>;
5
+ business_operation_start_at?: string;
6
+ channel_services?: Array<SalesChannel>;
7
+ physical_store_available?: boolean;
8
+ yearly_sales_range?: string;
9
+ customers_served_monthly?: string;
10
+ customers_base?: Array<string>;
11
+ vat_id?: string;
12
+ agree_chargeback?: boolean;
13
+ agree_refund?: boolean;
14
+ step_name: string;
15
+ encryption_contract?: Array<string>;
16
+ };
17
+ declare const entityService: {
18
+ updateEntityInfo: (data: EntityInfoUpdateBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
19
+ };
20
+ export { entityService };
@@ -0,0 +1,9 @@
1
+ import { ENDPOINT_PATHS } from '../constants';
2
+ import instance from './axios';
3
+ var updateEntityInfo = function (data, config) {
4
+ return instance.post("".concat(ENDPOINT_PATHS.ENTITY), data, config);
5
+ };
6
+ var entityService = {
7
+ updateEntityInfo: updateEntityInfo
8
+ };
9
+ export { entityService };
@@ -0,0 +1,4 @@
1
+ declare const firebaseService: {
2
+ getLocale: () => Promise<import("axios").AxiosResponse<any, any>>;
3
+ };
4
+ export { firebaseService };
@@ -0,0 +1,9 @@
1
+ import axios from 'axios';
2
+ import { ENDPOINT_PATHS } from '../constants';
3
+ var getLocale = function () {
4
+ return axios.get(ENDPOINT_PATHS.FIREBASE_URL);
5
+ };
6
+ var firebaseService = {
7
+ getLocale: getLocale
8
+ };
9
+ export { firebaseService };
@@ -1,7 +1,9 @@
1
+ import { setAxiosGlobalHeaders, removeAxiosGlobalHeaders } from './axios';
1
2
  import { ValidateOperatorBody } from './operator';
2
3
  import { CreateAuthBody, VerifyAuthBody } from './auth';
3
- import { UpdateLeadBody, LeadVerifyBody } from './lead';
4
+ import { UpdateLeadBody, LeadVerifyBody, CreateLeadBody, LeadOTPVerifyBody, LeadIdentityUpdateBody } from './lead';
4
5
  import { CheckEmailBody, CheckBrandBody } from './availabilityServices';
6
+ import { EntityInfoUpdateBody } from './entity';
5
7
  declare const API: {
6
8
  ipService: {
7
9
  getIP: () => Promise<import("axios").AxiosResponse<any, any>>;
@@ -18,14 +20,26 @@ declare const API: {
18
20
  verifyAuth: (data: VerifyAuthBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
19
21
  };
20
22
  leadService: {
23
+ createLead: (data: CreateLeadBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
21
24
  updateLead: (data: UpdateLeadBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
22
25
  retrieveLead: (leadId: string) => Promise<import("axios").AxiosResponse<any, any>>;
23
26
  verifyLeadToken: (data: LeadVerifyBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
27
+ verifyLeadOTP: (data: LeadOTPVerifyBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
28
+ updateLeadIdentity: (data: LeadIdentityUpdateBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
29
+ retrieveCRInfos: (leadId: string) => Promise<import("axios").AxiosResponse<any, any>>;
30
+ retrieveFLInfos: (leadId: string) => Promise<import("axios").AxiosResponse<any, any>>;
31
+ };
32
+ entityService: {
33
+ updateEntityInfo: (data: EntityInfoUpdateBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
24
34
  };
25
35
  availabilityServices: {
26
36
  checkEmail: (data: CheckEmailBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
27
37
  checkBrand: (data: CheckBrandBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
28
38
  };
39
+ firebaseService: {
40
+ getLocale: () => Promise<import("axios").AxiosResponse<any, any>>;
41
+ };
29
42
  };
30
- export type { ValidateOperatorBody, CreateAuthBody, VerifyAuthBody, UpdateLeadBody, LeadVerifyBody, CheckEmailBody, CheckBrandBody };
43
+ export type { ValidateOperatorBody, CreateAuthBody, VerifyAuthBody, CreateLeadBody, UpdateLeadBody, LeadVerifyBody, LeadOTPVerifyBody, CheckEmailBody, CheckBrandBody, LeadIdentityUpdateBody, EntityInfoUpdateBody };
44
+ export { setAxiosGlobalHeaders, removeAxiosGlobalHeaders };
31
45
  export default API;
@@ -1,15 +1,21 @@
1
+ import { setAxiosGlobalHeaders, removeAxiosGlobalHeaders } from './axios';
1
2
  import { ipService } from './ip';
2
3
  import { operatorService } from './operator';
3
4
  import { countryService } from './country';
4
5
  import { authService } from './auth';
5
6
  import { leadService } from './lead';
6
7
  import availabilityServices from './availabilityServices';
8
+ import { firebaseService } from './firebase';
9
+ import { entityService } from './entity';
7
10
  var API = {
8
11
  ipService: ipService,
9
12
  operatorService: operatorService,
10
13
  countryService: countryService,
11
14
  authService: authService,
12
15
  leadService: leadService,
13
- availabilityServices: availabilityServices
16
+ entityService: entityService,
17
+ availabilityServices: availabilityServices,
18
+ firebaseService: firebaseService
14
19
  };
20
+ export { setAxiosGlobalHeaders, removeAxiosGlobalHeaders };
15
21
  export default API;
@@ -61,9 +61,31 @@ export declare type LeadVerifyBody = {
61
61
  verify_token: string;
62
62
  service_name: string;
63
63
  };
64
+ export interface LeadOTPVerifyBody extends LeadVerifyBody {
65
+ data: string;
66
+ step_name: string;
67
+ encryption_contract: Array<string>;
68
+ }
69
+ export declare type CreateLeadBody = {
70
+ individual_id: string;
71
+ country_code: string;
72
+ };
73
+ export declare type LeadIdentityUpdateBody = {
74
+ country_code: string;
75
+ identification_id: string;
76
+ identification_id_type: string;
77
+ date_of_birth: string;
78
+ step_name: string;
79
+ encryption_contract: Array<string>;
80
+ };
64
81
  declare const leadService: {
82
+ createLead: (data: CreateLeadBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
65
83
  updateLead: (data: UpdateLeadBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
66
84
  retrieveLead: (leadId: string) => Promise<import("axios").AxiosResponse<any, any>>;
67
85
  verifyLeadToken: (data: LeadVerifyBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
86
+ verifyLeadOTP: (data: LeadOTPVerifyBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
87
+ updateLeadIdentity: (data: LeadIdentityUpdateBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
88
+ retrieveCRInfos: (leadId: string) => Promise<import("axios").AxiosResponse<any, any>>;
89
+ retrieveFLInfos: (leadId: string) => Promise<import("axios").AxiosResponse<any, any>>;
68
90
  };
69
91
  export { leadService };
package/build/api/lead.js CHANGED
@@ -1,5 +1,8 @@
1
1
  import instance from './axios';
2
2
  import { ENDPOINT_PATHS } from '../constants';
3
+ var createLead = function (data, config) {
4
+ return instance.post("".concat(ENDPOINT_PATHS.LEAD), data, config);
5
+ };
3
6
  var updateLead = function (data, config) {
4
7
  return instance.put("".concat(ENDPOINT_PATHS.LEAD), data, config);
5
8
  };
@@ -9,9 +12,26 @@ var retrieveLead = function (leadId) {
9
12
  var verifyLeadToken = function (data, config) {
10
13
  return instance.put("".concat(ENDPOINT_PATHS.LEAD_IDENTITY_VERIFY), data, config);
11
14
  };
15
+ var verifyLeadOTP = function (data, config) {
16
+ return instance.put("".concat(ENDPOINT_PATHS.LEAD_IDENTITY_VERIFY), data, config);
17
+ };
18
+ var updateLeadIdentity = function (data, config) {
19
+ return instance.put("".concat(ENDPOINT_PATHS.LEAD_IDENTITY), data, config);
20
+ };
21
+ var retrieveCRInfos = function (leadId) {
22
+ return instance.get("".concat(ENDPOINT_PATHS.RETRIEVE_CR, "/").concat(leadId));
23
+ };
24
+ var retrieveFLInfos = function (leadId) {
25
+ return instance.get("".concat(ENDPOINT_PATHS.RETRIEVE_FL, "/").concat(leadId));
26
+ };
12
27
  var leadService = {
28
+ createLead: createLead,
13
29
  updateLead: updateLead,
14
30
  retrieveLead: retrieveLead,
15
- verifyLeadToken: verifyLeadToken
31
+ verifyLeadToken: verifyLeadToken,
32
+ verifyLeadOTP: verifyLeadOTP,
33
+ updateLeadIdentity: updateLeadIdentity,
34
+ retrieveCRInfos: retrieveCRInfos,
35
+ retrieveFLInfos: retrieveFLInfos
16
36
  };
17
37
  export { leadService };
@@ -10,6 +10,7 @@ export declare const getBrowserFingerPrint: import("@reduxjs/toolkit").AsyncThun
10
10
  appInfo: AppInfo;
11
11
  }, AppInfo, {}>;
12
12
  export declare const getOperator: import("@reduxjs/toolkit").AsyncThunk<any, ValidateOperatorBody, {}>;
13
+ export declare const getLocale: import("@reduxjs/toolkit").AsyncThunk<any, void, {}>;
13
14
  export interface SettingsData {
14
15
  skin: ThemeMode;
15
16
  language: LanguageMode;
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
13
2
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
14
3
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -50,6 +39,7 @@ import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
50
39
  import { getStoredData, storeData, isArray, findItem, getBrowserInfo, getFingerPrint } from '../utils';
51
40
  import { DefaultDeviceInfo, LOCAL_STORAGE_KEYS } from '../constants';
52
41
  import i18n from '../i18n';
42
+ import { updateLocale } from '../utils/locale';
53
43
  import API from '../api';
54
44
  export var getClientIp = createAsyncThunk('getClientIp', function () { return __awaiter(void 0, void 0, void 0, function () {
55
45
  var data;
@@ -58,7 +48,7 @@ export var getClientIp = createAsyncThunk('getClientIp', function () { return __
58
48
  case 0: return [4, API.ipService.getIP()];
59
49
  case 1:
60
50
  data = (_a.sent()).data;
61
- return [2, data.ip];
51
+ return [2, data];
62
52
  }
63
53
  });
64
54
  }); });
@@ -86,6 +76,17 @@ export var getOperator = createAsyncThunk('getOperator', function (params) { ret
86
76
  }
87
77
  });
88
78
  }); });
79
+ export var getLocale = createAsyncThunk('getLocale', function () { return __awaiter(void 0, void 0, void 0, function () {
80
+ var data;
81
+ return __generator(this, function (_a) {
82
+ switch (_a.label) {
83
+ case 0: return [4, API.firebaseService.getLocale()];
84
+ case 1:
85
+ data = (_a.sent()).data;
86
+ return [2, data];
87
+ }
88
+ });
89
+ }); });
89
90
  var initialState = {
90
91
  error: null,
91
92
  loading: false,
@@ -169,32 +170,40 @@ export var settingsSlice = createSlice({
169
170
  throw new Error('On error function is required');
170
171
  if (!onFlowCompleted)
171
172
  throw new Error('On flow completed function is required');
172
- state.data.appConfig = __assign(__assign({}, action.payload), { appInfo: __assign(__assign({}, appInfo), { identifier: 'auth-js-connect', version: '1.0.22' }) });
173
+ state.data.appConfig = action.payload;
173
174
  }
174
175
  },
175
176
  extraReducers: function (builder) {
176
177
  builder
177
178
  .addCase(getClientIp.pending, function (state) {
178
179
  state.error = null;
180
+ state.loading = true;
179
181
  })
180
182
  .addCase(getClientIp.fulfilled, function (state, action) {
181
183
  state.error = null;
182
- state.data.deviceInfo.connection.ip = action.payload;
184
+ state.loading = false;
185
+ var _a = action.payload, ip = _a.ip, latitude = _a.latitude, longitude = _a.longitude;
186
+ state.data.deviceInfo.connection.ip = ip;
187
+ state.data.deviceInfo.connection.latitude = latitude;
188
+ state.data.deviceInfo.connection.longitude = longitude;
183
189
  })
184
190
  .addCase(getClientIp.rejected, function (state, action) {
185
191
  state.error = action.error.message;
192
+ state.loading = false;
186
193
  })
187
194
  .addCase(getBrowserFingerPrint.pending, function (state) {
188
195
  state.loading = true;
189
196
  state.error = null;
190
197
  })
191
198
  .addCase(getBrowserFingerPrint.fulfilled, function (state, action) {
192
- var _a, _b, _c;
193
199
  state.loading = false;
194
200
  state.error = null;
195
- state.data.deviceInfo.browser.browser_id = (_b = (_a = action.payload) === null || _a === void 0 ? void 0 : _a.fingerPrint) === null || _b === void 0 ? void 0 : _b.visitorId;
196
- state.data.deviceInfo.app = (_c = action.payload) === null || _c === void 0 ? void 0 : _c.appInfo;
197
- var _d = action.payload, client = _d.client, device = _d.device, os = _d.os;
201
+ var _a = action.payload, appInfo = _a.appInfo, client = _a.client, device = _a.device, fingerPrint = _a.fingerPrint, os = _a.os;
202
+ state.data.deviceInfo.app.language = state.data.appConfig.language || 'en';
203
+ state.data.deviceInfo.app.name = appInfo.name;
204
+ state.data.deviceInfo.app.version = appInfo.version || '2.0.0';
205
+ state.data.deviceInfo.app.identifier = appInfo.identifier || 'auth-connect-demo';
206
+ state.data.deviceInfo.browser.browser_id = fingerPrint === null || fingerPrint === void 0 ? void 0 : fingerPrint.visitorId;
198
207
  state.data.deviceInfo.browser.name = (client === null || client === void 0 ? void 0 : client.name) || '';
199
208
  state.data.deviceInfo.browser.user_agent = window.navigator.userAgent;
200
209
  state.data.deviceInfo.browser.version = (client === null || client === void 0 ? void 0 : client.version) || '';
@@ -206,18 +215,35 @@ export var settingsSlice = createSlice({
206
215
  })
207
216
  .addCase(getBrowserFingerPrint.rejected, function (state, action) {
208
217
  state.loading = false;
218
+ state.loading = false;
209
219
  state.error = action.error.message;
210
220
  })
211
221
  .addCase(getOperator.pending, function (state) {
212
222
  state.error = null;
223
+ state.loading = true;
213
224
  })
214
225
  .addCase(getOperator.fulfilled, function (state, action) {
226
+ state.loading = false;
215
227
  if (action.payload === 'valid') {
216
228
  state.error = null;
217
229
  }
218
230
  })
219
231
  .addCase(getOperator.rejected, function (state, action) {
220
232
  state.error = action.error.message;
233
+ state.loading = false;
234
+ })
235
+ .addCase(getLocale.pending, function (state) {
236
+ state.error = null;
237
+ state.loading = true;
238
+ })
239
+ .addCase(getLocale.fulfilled, function (state, action) {
240
+ state.loading = false;
241
+ state.error = null;
242
+ updateLocale(action.payload);
243
+ })
244
+ .addCase(getLocale.rejected, function (state, action) {
245
+ state.loading = false;
246
+ state.error = action.error.message;
221
247
  });
222
248
  }
223
249
  });
@@ -210,6 +210,6 @@
210
210
  "absher_button_label": "المتابعة عن طريق أبشر",
211
211
  "or": "أو",
212
212
  "next": "التالي",
213
- "open_mail_box": "Open Mailbox",
213
+ "open_mail_box": "افتح البريد الإلكتروني",
214
214
  "mobile_button_label": "المتابعة عن طريق رقم الجوال"
215
215
  }
@@ -5,7 +5,7 @@ export interface InputFieldProps extends InputProps {
5
5
  hide?: boolean;
6
6
  startAdornment?: React.ReactNode;
7
7
  endAdornment?: React.ReactNode;
8
- warningType?: 'alert' | 'error';
8
+ warningType?: 'alert' | 'error' | 'hint';
9
9
  warningMessage?: string;
10
10
  }
11
11
  declare const _default: React.MemoExoticComponent<{
@@ -21,7 +21,7 @@ var __rest = (this && this.__rest) || function (s, e) {
21
21
  return t;
22
22
  };
23
23
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
- import { memo } from 'react';
24
+ import React, { memo } from 'react';
25
25
  import Input from '@mui/material/Input';
26
26
  import Collapse from '../Collapse';
27
27
  import Warning from '../Warning';
@@ -65,6 +65,7 @@ var InputStyled = styled(Input)(function (_a) {
65
65
  });
66
66
  var InputField = function (_a) {
67
67
  var onEnterPressed = _a.onEnterPressed, hide = _a.hide, endAdornment = _a.endAdornment, startAdornment = _a.startAdornment, warningType = _a.warningType, warningMessage = _a.warningMessage, rest = __rest(_a, ["onEnterPressed", "hide", "endAdornment", "startAdornment", "warningType", "warningMessage"]);
68
+ var _b = React.useState(), warning = _b[0], setWarning = _b[1];
68
69
  var onKeyPress = function (e) {
69
70
  var _a;
70
71
  if (e.key === 'Enter')
@@ -73,7 +74,7 @@ var InputField = function (_a) {
73
74
  };
74
75
  if (!rest.defaultValue)
75
76
  delete rest.defaultValue;
76
- return (_jsxs(Collapse, __assign({ in: !hide }, { children: [_jsx(InputStyled, __assign({ onKeyPress: onKeyPress, endAdornment: endAdornment, startAdornment: startAdornment }, rest)), _jsx(Collapse, __assign({ in: !!warningMessage, timeout: 400 }, { children: _jsx(Warning, __assign({ warningType: warningType }, { children: warningMessage })) }))] })));
77
+ return (_jsxs(Collapse, __assign({ in: !hide }, { children: [_jsx(InputStyled, __assign({ onKeyPress: onKeyPress, onFocus: function () { return setWarning('hint'); }, onBlur: function () { return setWarning(warningType); }, endAdornment: endAdornment, startAdornment: startAdornment }, rest)), _jsx(Collapse, __assign({ in: !!warningMessage, timeout: 400 }, { children: _jsx(Warning, __assign({ warningType: warning }, { children: warningMessage })) }))] })));
77
78
  };
78
79
  InputField.defaultProps = {
79
80
  hide: false,
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { SlideProps as MUISlideProps } from '@mui/material/Slide';
3
3
  export interface SlideProps extends MUISlideProps {
4
4
  }
5
- declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<SlideProps, "className" | "style" | "color" | "direction" | "translate" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "children" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "in" | "mountOnEnter" | "unmountOnExit" | "timeout" | "easing" | "addEndListener" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "appear" | "enter" | "exit" | "container"> & React.RefAttributes<unknown>>>;
5
+ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<SlideProps, "className" | "style" | "color" | "direction" | "translate" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "children" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "timeout" | "in" | "mountOnEnter" | "unmountOnExit" | "easing" | "addEndListener" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "appear" | "enter" | "exit" | "container"> & React.RefAttributes<unknown>>>;
6
6
  export default _default;
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { BoxProps } from '@mui/material/Box';
3
3
  export interface WarningProps extends BoxProps {
4
4
  children: string | undefined;
5
- warningType?: 'alert' | 'error';
5
+ warningType?: 'alert' | 'error' | 'hint';
6
6
  }
7
7
  declare const _default: React.MemoExoticComponent<{
8
8
  ({ children, warningType, ...rest }: WarningProps): JSX.Element;
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx } from "react/jsx-runtime";
23
+ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
24
24
  import * as React from 'react';
25
25
  import { styled } from '@mui/material/styles';
26
26
  import Box from '@mui/material/Box';
@@ -32,9 +32,20 @@ var AlertStyled = styled(Box)(function (_a) {
32
32
  var theme = _a.theme;
33
33
  return (__assign({ background: theme.palette.warning.dark, paddingBlock: theme.spacing(1.5), paddingInlineStart: theme.spacing(2.5), border: '0.5px solid', borderColor: theme.palette.warning.main, color: theme.palette.warning.light }, theme.typography.caption));
34
34
  });
35
+ var HintStyled = styled(Box)(function (_a) {
36
+ var theme = _a.theme;
37
+ return (__assign({ background: theme.palette.info.light, paddingBlock: theme.spacing(1.5), paddingInlineStart: theme.spacing(2.5), border: '0.5px solid', borderColor: theme.palette.info.light, color: theme.palette.info.main }, theme.typography.caption));
38
+ });
35
39
  var WarningComponent = function (_a) {
36
40
  var children = _a.children, warningType = _a.warningType, rest = __rest(_a, ["children", "warningType"]);
37
- return warningType === 'alert' ? (_jsx(AlertStyled, __assign({}, rest, { children: children }))) : (_jsx(ErrorStyled, __assign({}, rest, { children: children })));
41
+ if (warningType === 'alert')
42
+ return _jsx(AlertStyled, __assign({}, rest, { children: children }));
43
+ if (warningType === 'error')
44
+ return _jsx(ErrorStyled, __assign({}, rest, { children: children }));
45
+ if (warningType === 'hint')
46
+ return _jsx(HintStyled, __assign({}, rest, { children: children }));
47
+ else
48
+ return _jsx(_Fragment, {});
38
49
  };
39
50
  WarningComponent.defaultProps = {
40
51
  warningType: 'error'
@@ -6,7 +6,12 @@ export declare const ENDPOINT_PATHS: {
6
6
  OPERATOR: string;
7
7
  AUTH: string;
8
8
  LEAD: string;
9
+ LEAD_IDENTITY: string;
9
10
  LEAD_IDENTITY_VERIFY: string;
11
+ RETRIEVE_CR: string;
12
+ RETRIEVE_FL: string;
13
+ ENTITY: string;
10
14
  CHECK_EMAIL: string;
11
15
  CHECK_BRAND: string;
16
+ FIREBASE_URL: string;
12
17
  };
@@ -5,9 +5,14 @@ var IP_PATH = '/ip';
5
5
  var OPERATOR_PATH = '/operator';
6
6
  var AUTH_PATH = '/auth';
7
7
  var LEAD_PATH = '/lead';
8
+ var LEAD_IDENTITY_PATH = '/lead/identity';
8
9
  var LEAD_IDENTITY_VERIFY_PATH = 'lead/identity/verify';
10
+ var RETRIEVE_CR_PATH = '/lead/crlist';
11
+ var RETRIEVE_FL_PATH = '/lead/fllist';
12
+ var ENTITY_PATH = '/entity';
9
13
  var CHECK_EMAIL = '/lead/identity/emailcheck';
10
14
  var CHECK_BRAND = 'lead/profile/profile_name';
15
+ var FIREBASE_URL = 'https://goconnect-195cd-default-rtdb.asia-southeast1.firebasedatabase.app/sandbox/local.json';
11
16
  export var ENDPOINT_PATHS = {
12
17
  BASE_URL: API_BASE_URL,
13
18
  BUSINESS_COUNTRIES: API_BUSINESS_COUNTRIES,
@@ -16,7 +21,12 @@ export var ENDPOINT_PATHS = {
16
21
  OPERATOR: OPERATOR_PATH,
17
22
  AUTH: AUTH_PATH,
18
23
  LEAD: LEAD_PATH,
24
+ LEAD_IDENTITY: LEAD_IDENTITY_PATH,
19
25
  LEAD_IDENTITY_VERIFY: LEAD_IDENTITY_VERIFY_PATH,
26
+ RETRIEVE_CR: RETRIEVE_CR_PATH,
27
+ RETRIEVE_FL: RETRIEVE_FL_PATH,
28
+ ENTITY: ENTITY_PATH,
20
29
  CHECK_EMAIL: CHECK_EMAIL,
21
- CHECK_BRAND: CHECK_BRAND
30
+ CHECK_BRAND: CHECK_BRAND,
31
+ FIREBASE_URL: FIREBASE_URL
22
32
  };
@@ -75,10 +75,16 @@ export declare const CONNECT_STEP_NAMES: {
75
75
  VERIFY_AUTH_NID: string;
76
76
  UPDATE_LEAD_INDIVIDUAL: string;
77
77
  UPDATE_LEAD_MERCHANT: string;
78
+ CREATE_AUTH_PASSWORD: string;
78
79
  VERIFY_AUTH_PASSWORD: string;
79
80
  CONNECT_SUCCESS: string;
80
81
  };
81
- export declare const BUSINESS_STEP_NAMES: {};
82
+ export declare const BUSINESS_STEP_NAMES: {
83
+ PHONE_AUTH: string;
84
+ IDENTITY_AUTH: string;
85
+ IDENTITY_VERIFY_AUTH: string;
86
+ BUSINESS_INFO: string;
87
+ };
82
88
  export declare const RSA_FRONTEND_MW_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCgC9kH1SQvjbXAUXd0PbrDUG8P\nLhRig9pJNBmdQBZjihuaxfkzYu6ToMbIMAfmYgVgQw338/y7aQ8X3m03CXNIlkxo\nOwxKCA8ymKsZQptXJn9IxlPO7yjoFgTFBrpmTgvcC4XO1uoUYTAPq3szK8kj4zgT\nucWG1hSKsOdRU7sl/wIDAQAB\n-----END PUBLIC KEY-----";
83
89
  export declare const ENCRYPTION_FLAG = "encryption_contract";
84
90
  export declare const BACKEND_ENCRYPTION_FLAG = "backend_encryption_contract";
@@ -224,10 +224,16 @@ export var CONNECT_STEP_NAMES = {
224
224
  VERIFY_AUTH_NID: 'connect_verify_auth_nid',
225
225
  UPDATE_LEAD_INDIVIDUAL: 'connect_update_lead_individual',
226
226
  UPDATE_LEAD_MERCHANT: 'connect_update_lead_merchant',
227
+ CREATE_AUTH_PASSWORD: 'connect_create_auth_password',
227
228
  VERIFY_AUTH_PASSWORD: 'connect_verify_auth_password',
228
229
  CONNECT_SUCCESS: 'connect_completed'
229
230
  };
230
- export var BUSINESS_STEP_NAMES = {};
231
+ export var BUSINESS_STEP_NAMES = {
232
+ PHONE_AUTH: 'business_phone_auth',
233
+ IDENTITY_AUTH: 'business_identity_auth',
234
+ IDENTITY_VERIFY_AUTH: 'business_identity_auth_verify',
235
+ BUSINESS_INFO: 'business_info'
236
+ };
231
237
  export var RSA_FRONTEND_MW_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCgC9kH1SQvjbXAUXd0PbrDUG8P\nLhRig9pJNBmdQBZjihuaxfkzYu6ToMbIMAfmYgVgQw338/y7aQ8X3m03CXNIlkxo\nOwxKCA8ymKsZQptXJn9IxlPO7yjoFgTFBrpmTgvcC4XO1uoUYTAPq3szK8kj4zgT\nucWG1hSKsOdRU7sl/wIDAQAB\n-----END PUBLIC KEY-----";
232
238
  export var ENCRYPTION_FLAG = 'encryption_contract';
233
239
  export var BACKEND_ENCRYPTION_FLAG = 'backend_encryption_contract';
@@ -32,4 +32,5 @@ export declare const ICONS_NAMES: {
32
32
  WHITE_ARROW: string;
33
33
  SUCCESS: string;
34
34
  ABSHER_LOGO: string;
35
+ EMAIL_ICON: string;
35
36
  };
@@ -31,5 +31,6 @@ export var ICONS_NAMES = {
31
31
  MOBILE_IMAGE: 'https://image.shutterstock.com/image-vector/smartphone-icon-logo-260nw-767440327.jpg',
32
32
  WHITE_ARROW: 'https://tap-connecet.b-cdn.net/imgs/whiteArrow.svg',
33
33
  SUCCESS: 'https://tap-connecet.b-cdn.net/imgs/success.svg',
34
- ABSHER_LOGO: 'https://upload.wikimedia.org/wikipedia/commons/thumb/8/88/Absher.svg/687px-Absher.svg.png'
34
+ ABSHER_LOGO: 'https://dash.b-cdn.net/icons/menu/Absher.svg',
35
+ EMAIL_ICON: 'https://dash.b-cdn.net/icons/menu/email.png'
35
36
  };