@tap-payments/auth-jsconnect 2.10.11-development → 2.10.11

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 (200) hide show
  1. package/build/@types/app.d.ts +2 -2
  2. package/build/@types/app.js +0 -1
  3. package/build/@types/form.d.ts +4 -2
  4. package/build/@types/index.d.ts +0 -1
  5. package/build/@types/index.js +0 -1
  6. package/build/api/account.d.ts +2 -2
  7. package/build/api/account.js +7 -4
  8. package/build/api/auth.d.ts +2 -10
  9. package/build/api/auth.js +7 -3
  10. package/build/api/axios.d.ts +1 -1
  11. package/build/api/entity.d.ts +3 -0
  12. package/build/api/headers.d.ts +5 -0
  13. package/build/api/headers.js +3 -0
  14. package/build/api/index.d.ts +5 -11
  15. package/build/api/index.js +1 -3
  16. package/build/api/lead.d.ts +1 -0
  17. package/build/api/operator.d.ts +1 -1
  18. package/build/api/operator.js +5 -2
  19. package/build/app/rootReducer.d.ts +0 -1
  20. package/build/app/rootReducer.js +1 -3
  21. package/build/app/settings.js +1 -2
  22. package/build/app/store.d.ts +0 -2
  23. package/build/assets/currencies/AEDSymbol.js +1 -1
  24. package/build/assets/currencies/SARSymbol.js +1 -1
  25. package/build/assets/locales/ar.json +14 -5
  26. package/build/assets/locales/en.json +17 -7
  27. package/build/components/OTPTimer/OTPTimer.d.ts +1 -2
  28. package/build/components/OTPTimer/OTPTimer.js +4 -4
  29. package/build/components/Tooltip/Tooltip.js +1 -1
  30. package/build/constants/api.d.ts +2 -0
  31. package/build/constants/api.js +4 -0
  32. package/build/constants/app.d.ts +12 -12
  33. package/build/constants/app.js +98 -129
  34. package/build/constants/flows.d.ts +0 -15
  35. package/build/constants/flows.js +0 -15
  36. package/build/constants/validation.d.ts +1 -1
  37. package/build/constants/validation.js +1 -1
  38. package/build/features/app/auth/authStore.js +64 -54
  39. package/build/features/app/bank/bankStore.js +24 -20
  40. package/build/features/app/board/boardStore.js +11 -7
  41. package/build/features/app/brand/brandStore.js +22 -18
  42. package/build/features/app/business/businessStore.js +45 -36
  43. package/build/features/app/connect/connectStore.d.ts +6 -5
  44. package/build/features/app/connect/connectStore.js +48 -31
  45. package/build/features/app/connectExpress/connectExpressStore.d.ts +6 -5
  46. package/build/features/app/connectExpress/connectExpressStore.js +61 -20
  47. package/build/features/app/entity/entityStore.js +21 -17
  48. package/build/features/app/individual/individualStore.js +34 -28
  49. package/build/features/app/password/passwordStore.js +44 -46
  50. package/build/features/app/signIn/signInStore.js +12 -16
  51. package/build/features/app/tax/taxStore.js +20 -16
  52. package/build/features/auth/Auth.d.ts +1 -1
  53. package/build/features/auth/screens/AuthenticationList/AuthenticationList.js +10 -7
  54. package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +4 -1
  55. package/build/features/auth/screens/AuthenticationList/EntityLicenseType.js +6 -4
  56. package/build/features/auth/screens/AuthenticationList/EntityList.js +11 -3
  57. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +1 -1
  58. package/build/features/business/screens/BusinessType/BusinessType.js +15 -5
  59. package/build/features/business/screens/BusinessType/EntityLicenseList.js +11 -5
  60. package/build/features/business/screens/BusinessType/LicenseList.js +20 -12
  61. package/build/features/business/screens/BusinessType/UnifiedNumber.d.ts +35 -0
  62. package/build/features/business/screens/BusinessType/UnifiedNumber.js +84 -0
  63. package/build/features/business/screens/BusinessType/validation.d.ts +6 -3
  64. package/build/features/business/screens/BusinessType/validation.js +31 -10
  65. package/build/features/business/screens/Customers/RefundPolicy.d.ts +1 -1
  66. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.js +10 -10
  67. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +4 -1
  68. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.js +6 -4
  69. package/build/features/connectExpress/screens/AuthenticationList/EntityList.js +11 -3
  70. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +1 -0
  71. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +27 -16
  72. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +2 -2
  73. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.js +1 -1
  74. package/build/features/connectExpress/screens/CollectBusinessInfo/UnifiedNumber.d.ts +36 -0
  75. package/build/features/connectExpress/screens/CollectBusinessInfo/UnifiedNumber.js +81 -0
  76. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.d.ts +6 -3
  77. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +57 -21
  78. package/build/features/connectExpress/screens/Mobile/Mobile.js +7 -6
  79. package/build/features/entity/screens/EntityName/EntityName.js +16 -15
  80. package/build/features/entity/screens/EntityName/UnifiedNumber.js +2 -2
  81. package/build/features/entity/screens/EntityName/validation.d.ts +50 -48
  82. package/build/features/entity/screens/EntityName/validation.js +100 -85
  83. package/build/features/featuresScreens.d.ts +0 -1
  84. package/build/features/featuresScreens.js +55 -67
  85. package/build/features/shared/Button/Button.js +1 -1
  86. package/build/features/shared/Button/FlowsButtons.js +1 -1
  87. package/build/features/shared/OTPVerifySecurityError/OTPVerifySecurityError.js +9 -0
  88. package/build/features/shared/OTPVerifySecurityError/index.d.ts +2 -0
  89. package/build/features/shared/OTPVerifySecurityError/index.js +2 -0
  90. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +2 -2
  91. package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -3
  92. package/build/features/shared/SuccessScreen/SuccessScreen.js +2 -2
  93. package/build/hooks/useAppConfig.js +1 -1
  94. package/build/hooks/useAppDispatch.d.ts +0 -1
  95. package/build/index.d.ts +2 -3
  96. package/build/index.js +2 -4
  97. package/build/theme/palette.js +0 -12
  98. package/build/theme/typography.js +0 -4
  99. package/build/utils/common.d.ts +1 -1
  100. package/build/utils/common.js +14 -8
  101. package/build/utils/error.d.ts +2 -0
  102. package/build/utils/error.js +6 -0
  103. package/build/utils/string.d.ts +3 -3
  104. package/build/utils/string.js +5 -11
  105. package/build/utils/validation.js +1 -1
  106. package/package.json +3 -3
  107. package/build/@types/terminal.d.ts +0 -116
  108. package/build/@types/terminal.js +0 -1
  109. package/build/api/terminal.d.ts +0 -28
  110. package/build/api/terminal.js +0 -45
  111. package/build/components/DeviceCard/DeviceCard.d.ts +0 -18
  112. package/build/components/DeviceCard/DeviceCard.js +0 -103
  113. package/build/components/DeviceCard/index.d.ts +0 -3
  114. package/build/components/DeviceCard/index.js +0 -2
  115. package/build/features/app/terminal/terminalStore.d.ts +0 -109
  116. package/build/features/app/terminal/terminalStore.js +0 -673
  117. package/build/features/shared/PushNotification/PushNotification.d.ts +0 -11
  118. package/build/features/shared/PushNotification/PushNotification.js +0 -34
  119. package/build/features/shared/PushNotification/index.d.ts +0 -2
  120. package/build/features/shared/PushNotification/index.js +0 -2
  121. package/build/features/terminal/Terminal.d.ts +0 -14
  122. package/build/features/terminal/Terminal.js +0 -95
  123. package/build/features/terminal/index.d.ts +0 -1
  124. package/build/features/terminal/index.js +0 -1
  125. package/build/features/terminal/screens/LinkNewTerminal/LinkNewTerminal.js +0 -69
  126. package/build/features/terminal/screens/LinkNewTerminal/index.d.ts +0 -2
  127. package/build/features/terminal/screens/LinkNewTerminal/index.js +0 -2
  128. package/build/features/terminal/screens/LinkNewTerminal/styles.d.ts +0 -10
  129. package/build/features/terminal/screens/LinkNewTerminal/styles.js +0 -28
  130. package/build/features/terminal/screens/LinkedSuccess/LinkedSuccess.d.ts +0 -3
  131. package/build/features/terminal/screens/LinkedSuccess/LinkedSuccess.js +0 -51
  132. package/build/features/terminal/screens/LinkedSuccess/index.d.ts +0 -2
  133. package/build/features/terminal/screens/LinkedSuccess/index.js +0 -2
  134. package/build/features/terminal/screens/LinkedTerminalInfo/LinkedTerminalInfo.d.ts +0 -3
  135. package/build/features/terminal/screens/LinkedTerminalInfo/LinkedTerminalInfo.js +0 -50
  136. package/build/features/terminal/screens/LinkedTerminalInfo/index.d.ts +0 -2
  137. package/build/features/terminal/screens/LinkedTerminalInfo/index.js +0 -2
  138. package/build/features/terminal/screens/Loading/Loading.d.ts +0 -4
  139. package/build/features/terminal/screens/Loading/Loading.js +0 -10
  140. package/build/features/terminal/screens/Loading/index.d.ts +0 -2
  141. package/build/features/terminal/screens/Loading/index.js +0 -2
  142. package/build/features/terminal/screens/NoTerminalDeviceLinked/NoTerminalDeviceLinked.d.ts +0 -3
  143. package/build/features/terminal/screens/NoTerminalDeviceLinked/NoTerminalDeviceLinked.js +0 -56
  144. package/build/features/terminal/screens/NoTerminalDeviceLinked/index.d.ts +0 -2
  145. package/build/features/terminal/screens/NoTerminalDeviceLinked/index.js +0 -2
  146. package/build/features/terminal/screens/NoTerminalDeviceLinked/styles.d.ts +0 -36
  147. package/build/features/terminal/screens/NoTerminalDeviceLinked/styles.js +0 -34
  148. package/build/features/terminal/screens/OperatorError/OperatorError.d.ts +0 -5
  149. package/build/features/terminal/screens/OperatorError/OperatorError.js +0 -9
  150. package/build/features/terminal/screens/OperatorError/index.d.ts +0 -2
  151. package/build/features/terminal/screens/OperatorError/index.js +0 -2
  152. package/build/features/terminal/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +0 -3
  153. package/build/features/terminal/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +0 -21
  154. package/build/features/terminal/screens/ResetPasswordSuccess/index.d.ts +0 -2
  155. package/build/features/terminal/screens/ResetPasswordSuccess/index.js +0 -2
  156. package/build/features/terminal/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +0 -3
  157. package/build/features/terminal/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +0 -31
  158. package/build/features/terminal/screens/SuccessWithFlowButtons/index.d.ts +0 -2
  159. package/build/features/terminal/screens/SuccessWithFlowButtons/index.js +0 -2
  160. package/build/features/terminal/screens/TerminalDeviceList/DeviceList.d.ts +0 -9
  161. package/build/features/terminal/screens/TerminalDeviceList/DeviceList.js +0 -20
  162. package/build/features/terminal/screens/TerminalDeviceList/TerminalDeviceList.d.ts +0 -3
  163. package/build/features/terminal/screens/TerminalDeviceList/TerminalDeviceList.js +0 -144
  164. package/build/features/terminal/screens/TerminalDeviceList/index.d.ts +0 -2
  165. package/build/features/terminal/screens/TerminalDeviceList/index.js +0 -2
  166. package/build/features/terminal/screens/TerminalDeviceList/styles.d.ts +0 -9
  167. package/build/features/terminal/screens/TerminalDeviceList/styles.js +0 -13
  168. package/build/features/terminal/screens/TerminalListPage/TerminalListPage.d.ts +0 -3
  169. package/build/features/terminal/screens/TerminalListPage/TerminalListPage.js +0 -42
  170. package/build/features/terminal/screens/TerminalListPage/index.d.ts +0 -2
  171. package/build/features/terminal/screens/TerminalListPage/index.js +0 -2
  172. package/build/features/terminal/screens/UnlinkedSuccess/UnlinkedSuccess.d.ts +0 -3
  173. package/build/features/terminal/screens/UnlinkedSuccess/UnlinkedSuccess.js +0 -53
  174. package/build/features/terminal/screens/UnlinkedSuccess/index.d.ts +0 -2
  175. package/build/features/terminal/screens/UnlinkedSuccess/index.js +0 -2
  176. package/build/features/terminal/screens/UnlinkedTerminalInfo/UnlinkedTerminalInfo.d.ts +0 -3
  177. package/build/features/terminal/screens/UnlinkedTerminalInfo/UnlinkedTerminalInfo.js +0 -98
  178. package/build/features/terminal/screens/UnlinkedTerminalInfo/index.d.ts +0 -2
  179. package/build/features/terminal/screens/UnlinkedTerminalInfo/index.js +0 -2
  180. package/build/features/terminal/screens/UnlinkedTerminalInfo/styles.d.ts +0 -26
  181. package/build/features/terminal/screens/UnlinkedTerminalInfo/styles.js +0 -30
  182. package/build/features/terminal/screens/Verify/OTPInput.d.ts +0 -7
  183. package/build/features/terminal/screens/Verify/OTPInput.js +0 -51
  184. package/build/features/terminal/screens/Verify/Verify.d.ts +0 -5
  185. package/build/features/terminal/screens/Verify/Verify.js +0 -85
  186. package/build/features/terminal/screens/Verify/index.d.ts +0 -2
  187. package/build/features/terminal/screens/Verify/index.js +0 -2
  188. package/build/features/terminal/screens/Verify/validation.d.ts +0 -8
  189. package/build/features/terminal/screens/Verify/validation.js +0 -4
  190. package/build/features/terminal/screens/shared/Header.d.ts +0 -10
  191. package/build/features/terminal/screens/shared/Header.js +0 -30
  192. package/build/features/terminal/screens/shared/TerminalList.d.ts +0 -11
  193. package/build/features/terminal/screens/shared/TerminalList.js +0 -25
  194. package/build/features/terminal/screens/shared/index.d.ts +0 -5
  195. package/build/features/terminal/screens/shared/index.js +0 -5
  196. package/build/features/terminal/screens/shared/styles.d.ts +0 -196
  197. package/build/features/terminal/screens/shared/styles.js +0 -155
  198. package/build/features/terminal/screens/shared/utils.d.ts +0 -7
  199. package/build/features/terminal/screens/shared/utils.js +0 -24
  200. /package/build/features/{terminal/screens/LinkNewTerminal/LinkNewTerminal.d.ts → shared/OTPVerifySecurityError/OTPVerifySecurityError.d.ts} +0 -0
@@ -245,6 +245,7 @@ export interface LibConfig extends LibCallbacks {
245
245
  notification?: SDKNotification;
246
246
  boardMaturity?: boolean;
247
247
  settingData?: SettingAsyncData;
248
+ region?: string;
248
249
  }
249
250
  export interface OSDetails {
250
251
  name: string;
@@ -338,8 +339,7 @@ export declare enum FlowsTypes {
338
339
  OTP = "otp",
339
340
  BRAND = "brand",
340
341
  BOARD = "board",
341
- kyc = "kyc",
342
- TERMINAL = "terminal"
342
+ kyc = "kyc"
343
343
  }
344
344
  export declare type FlowInfo = {
345
345
  name: string;
@@ -35,7 +35,6 @@ export var FlowsTypes;
35
35
  FlowsTypes["BRAND"] = "brand";
36
36
  FlowsTypes["BOARD"] = "board";
37
37
  FlowsTypes["kyc"] = "kyc";
38
- FlowsTypes["TERMINAL"] = "terminal";
39
38
  })(FlowsTypes || (FlowsTypes = {}));
40
39
  export var AuthForType;
41
40
  (function (AuthForType) {
@@ -61,6 +61,7 @@ export declare type BrandActivitiesFormValues = {
61
61
  };
62
62
  export declare type BusinessTypeFormValues = {
63
63
  licenseNumber: string;
64
+ unifiedNumber: string;
64
65
  entityLegalName?: string;
65
66
  selectedEntityLicense?: EntityLicense;
66
67
  selectedLicense?: License;
@@ -103,8 +104,8 @@ export interface IndividualPersonalInfoFormValues extends IndividualEmailMobileF
103
104
  gender: string | null;
104
105
  nid: string;
105
106
  issuedCountry: CountryCode | undefined;
106
- expiryDate: string;
107
- dob: string;
107
+ expiryDate: string | undefined;
108
+ dob: string | undefined;
108
109
  placeOfBirthCountry: CountryCode | undefined;
109
110
  placeOfBirthCity: City | undefined;
110
111
  nationality: CountryCode | undefined;
@@ -150,6 +151,7 @@ export declare type EntityCapitalFormValues = {
150
151
  export declare type BusinessDataFormValues = {
151
152
  brandName: string;
152
153
  licenseNumber: string;
154
+ unifiedNumber: string;
153
155
  selectedLicense?: License;
154
156
  termAndConditionChecked?: boolean;
155
157
  };
@@ -4,4 +4,3 @@ export * from './app';
4
4
  export * from './form';
5
5
  export * from './user';
6
6
  export * from './config';
7
- export * from './terminal';
@@ -4,4 +4,3 @@ export * from './app';
4
4
  export * from './form';
5
5
  export * from './user';
6
6
  export * from './config';
7
- export * from './terminal';
@@ -19,8 +19,8 @@ export declare type ExpressCreateAccountBody = {
19
19
  declare const accountService: {
20
20
  createAccount: (data: CreateAccountBody) => Promise<any>;
21
21
  expressCreateAccount: (data: ExpressCreateAccountBody) => Promise<any>;
22
- checkAccountAvailability: (individualId: string) => Promise<any>;
23
- checkAccountAvailabilityStatus: (individualId: string) => Promise<any>;
22
+ checkAccountAvailability: (individualId: string, authSession?: string) => Promise<any>;
23
+ checkAccountAvailabilityStatus: (individualId: string, authSession?: string) => Promise<any>;
24
24
  checkMigrationStatus: (jobId: string) => Promise<any>;
25
25
  };
26
26
  export { accountService };
@@ -1,5 +1,6 @@
1
1
  import { ENDPOINT_PATHS } from '../constants';
2
2
  import { httpClient } from './axios';
3
+ import { getAuthHeaders } from './headers';
3
4
  var createAccount = function (data) {
4
5
  return httpClient({
5
6
  method: 'post',
@@ -14,16 +15,18 @@ var expressCreateAccount = function (data) {
14
15
  data: data
15
16
  });
16
17
  };
17
- var checkAccountAvailability = function (individualId) {
18
+ var checkAccountAvailability = function (individualId, authSession) {
18
19
  return httpClient({
19
20
  method: 'get',
20
- url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts")
21
+ url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts"),
22
+ headers: getAuthHeaders(authSession)
21
23
  });
22
24
  };
23
- var checkAccountAvailabilityStatus = function (individualId) {
25
+ var checkAccountAvailabilityStatus = function (individualId, authSession) {
24
26
  return httpClient({
25
27
  method: 'get',
26
- url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts?data=status")
28
+ url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts?data=status"),
29
+ headers: getAuthHeaders(authSession)
27
30
  });
28
31
  };
29
32
  var checkMigrationStatus = function (jobId) {
@@ -17,18 +17,10 @@ export declare type CivilID = {
17
17
  identification_id: string;
18
18
  country_code: string;
19
19
  };
20
- export declare type TerminalCredential = {
21
- terminal: {
22
- id: string;
23
- terminal_device?: {
24
- id: string;
25
- };
26
- };
27
- };
28
20
  export declare type CreateAuthBody = {
29
21
  country: string;
30
22
  scope: string;
31
- user_credentail: MobileCredential | EmailCredential | IDCredential | CivilID | TerminalCredential;
23
+ user_credentail: MobileCredential | EmailCredential | IDCredential | CivilID;
32
24
  auth_type?: number;
33
25
  email_url?: string;
34
26
  sign_in?: boolean;
@@ -128,7 +120,7 @@ export declare type getExpressTokenVerifyParams = {
128
120
  export declare type ConfigBody = Pick<ConfigInfo, 'scope' | 'data' | 'lead' | 'board' | 'interface' | 'redirect' | 'post'>;
129
121
  declare const authService: {
130
122
  createAuth: (data: CreateAuthBody | CreateKYCAuthBody, config?: AxiosRequestConfig) => Promise<any>;
131
- verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
123
+ verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody) => Promise<any>;
132
124
  createPassword: (data: CreatePasswordBody) => Promise<any>;
133
125
  verifyExpressAuth: (data: VerifyAuthExpressOTPBody) => Promise<any>;
134
126
  getVerifyAuth: (token: string, config?: AxiosRequestConfig) => Promise<any>;
package/build/api/auth.js CHANGED
@@ -9,7 +9,7 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
- import instance, { httpClient } from './axios';
12
+ import { httpClient } from './axios';
13
13
  import { ENDPOINT_PATHS } from '../constants';
14
14
  var createAuth = function (data, config) {
15
15
  return httpClient(__assign({ method: 'post', url: "".concat(ENDPOINT_PATHS.AUTH), data: data }, config));
@@ -17,8 +17,12 @@ var createAuth = function (data, config) {
17
17
  var createExpressAuth = function (data, config) {
18
18
  return httpClient(__assign({ method: 'post', url: "".concat(ENDPOINT_PATHS.CREATE_EXPRESS_AUTH_PATH), data: data }, config));
19
19
  };
20
- var verifyAuth = function (data, config) {
21
- return instance.put("".concat(ENDPOINT_PATHS.AUTH), data, config);
20
+ var verifyAuth = function (data) {
21
+ return httpClient({
22
+ method: 'put',
23
+ url: "".concat(ENDPOINT_PATHS.AUTH),
24
+ data: data
25
+ });
22
26
  };
23
27
  var createPassword = function (data) {
24
28
  return httpClient({
@@ -2,6 +2,6 @@ import { AxiosRequestConfig } from 'axios';
2
2
  declare const instance: import("axios").AxiosInstance;
3
3
  export declare const setAxiosGlobalHeaders: (headers: Record<string, string>) => void;
4
4
  export declare const removeAxiosGlobalHeaders: (arr: Array<string>) => void;
5
- export declare const getAxiosHeaders: () => import("axios").AxiosRequestHeaders;
5
+ export declare const getAxiosHeaders: () => Record<string, any>;
6
6
  export declare const httpClient: (config: AxiosRequestConfig) => Promise<any>;
7
7
  export default instance;
@@ -133,6 +133,9 @@ export declare type CreateEntityBody = {
133
133
  license: {
134
134
  number: string;
135
135
  type: string;
136
+ additional_info?: {
137
+ unified_number: string;
138
+ };
136
139
  };
137
140
  country: string;
138
141
  is_licensed?: boolean;
@@ -0,0 +1,5 @@
1
+ export declare const getAuthHeaders: (authSession?: string) => {
2
+ st: string;
3
+ } | {
4
+ st?: undefined;
5
+ };
@@ -0,0 +1,3 @@
1
+ export var getAuthHeaders = function (authSession) {
2
+ return authSession ? { st: authSession } : {};
3
+ };
@@ -13,7 +13,6 @@ import { RemoveBrandActivity } from './brand';
13
13
  import { UploadFileBody } from './file';
14
14
  import { DocumentUpdateBody, DocumentInfo, DocumentBody } from './document';
15
15
  import { InitBody } from './init';
16
- import { GenerateAuthLinkNewTerminalProps, UnlinkTerminalDeviceProps, LinkTerminalDeviceProps } from './terminal';
17
16
  declare const API: {
18
17
  locationService: {
19
18
  getIP: () => Promise<any>;
@@ -21,7 +20,7 @@ declare const API: {
21
20
  };
22
21
  operatorService: {
23
22
  validateOperator: (body: ValidateOperatorBody) => Promise<any>;
24
- confirm: (data: ConfirmBody) => Promise<any>;
23
+ confirm: (data: ConfirmBody, authSession?: string) => Promise<any>;
25
24
  };
26
25
  countryService: {
27
26
  getCountries: (disableCountries?: boolean | undefined) => Promise<any> | {
@@ -32,7 +31,7 @@ declare const API: {
32
31
  };
33
32
  authService: {
34
33
  createAuth: (data: CreateAuthBody | CreateKYCAuthBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
35
- verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
34
+ verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody) => Promise<any>;
36
35
  createPassword: (data: CreatePasswordBody) => Promise<any>;
37
36
  verifyExpressAuth: (data: VerifyAuthExpressOTPBody) => Promise<any>;
38
37
  getVerifyAuth: (token: string, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
@@ -91,8 +90,8 @@ declare const API: {
91
90
  accountService: {
92
91
  createAccount: (data: CreateAccountBody) => Promise<any>;
93
92
  expressCreateAccount: (data: ExpressCreateAccountBody) => Promise<any>;
94
- checkAccountAvailability: (individualId: string) => Promise<any>;
95
- checkAccountAvailabilityStatus: (individualId: string) => Promise<any>;
93
+ checkAccountAvailability: (individualId: string, authSession?: string | undefined) => Promise<any>;
94
+ checkAccountAvailabilityStatus: (individualId: string, authSession?: string | undefined) => Promise<any>;
96
95
  checkMigrationStatus: (jobId: string) => Promise<any>;
97
96
  };
98
97
  dataService: {
@@ -165,12 +164,7 @@ declare const API: {
165
164
  initService: {
166
165
  getInitialData: (body: InitBody) => Promise<any>;
167
166
  };
168
- terminalService: {
169
- retrieveTerminalDeviceList: (merchants: string[]) => Promise<any>;
170
- unlinkTerminalDevice: ({ deviceId, ...payload }: UnlinkTerminalDeviceProps) => Promise<any>;
171
- retrieveTerminalList: (merchantIds: string[]) => Promise<any>;
172
- };
173
167
  };
174
- 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, ConfirmBody, ConfigBody, MerchantListBody, CreateEntityBody, CreateNafathAuthBody, GetUserListSegmentBody, CreateKYCAuthBody, GenerateAuthLinkNewTerminalProps, UnlinkTerminalDeviceProps, LinkTerminalDeviceProps };
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, ConfirmBody, ConfigBody, MerchantListBody, CreateEntityBody, CreateNafathAuthBody, GetUserListSegmentBody, CreateKYCAuthBody };
175
169
  export { setAxiosGlobalHeaders, removeAxiosGlobalHeaders, axiosInstance, getAxiosHeaders };
176
170
  export default API;
@@ -16,7 +16,6 @@ import { brandService } from './brand';
16
16
  import { fileService } from './file';
17
17
  import { documentService } from './document';
18
18
  import { initService } from './init';
19
- import { terminalService } from './terminal';
20
19
  var API = {
21
20
  locationService: locationService,
22
21
  operatorService: operatorService,
@@ -34,8 +33,7 @@ var API = {
34
33
  brandService: brandService,
35
34
  fileService: fileService,
36
35
  documentService: documentService,
37
- initService: initService,
38
- terminalService: terminalService
36
+ initService: initService
39
37
  };
40
38
  export { setAxiosGlobalHeaders, removeAxiosGlobalHeaders, axiosInstance, getAxiosHeaders };
41
39
  export default API;
@@ -49,6 +49,7 @@ export declare type UpdateLeadBody = {
49
49
  entity?: {
50
50
  id: string;
51
51
  };
52
+ unified_number?: string;
52
53
  name?: Name;
53
54
  contact?: Contact;
54
55
  send_invite?: boolean;
@@ -17,6 +17,6 @@ export declare type ConfirmBody = {
17
17
  };
18
18
  declare const operatorService: {
19
19
  validateOperator: (body: ValidateOperatorBody) => Promise<any>;
20
- confirm: (data: ConfirmBody) => Promise<any>;
20
+ confirm: (data: ConfirmBody, authSession?: string) => Promise<any>;
21
21
  };
22
22
  export { operatorService };
@@ -36,6 +36,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
36
36
  };
37
37
  import { ENDPOINT_PATHS } from '../constants';
38
38
  import { httpClient } from './axios';
39
+ import { getAuthHeaders } from './headers';
39
40
  var validateOperator = function (body) { return __awaiter(void 0, void 0, void 0, function () {
40
41
  var data, error_1;
41
42
  return __generator(this, function (_a) {
@@ -59,11 +60,13 @@ var validateOperator = function (body) { return __awaiter(void 0, void 0, void 0
59
60
  }
60
61
  });
61
62
  }); };
62
- var confirm = function (data) {
63
+ var confirm = function (data, authSession) {
64
+ if (authSession === void 0) { authSession = ''; }
63
65
  return httpClient({
64
66
  method: 'post',
65
67
  url: "".concat(ENDPOINT_PATHS.CONNECT, "/confirm"),
66
- data: data
68
+ data: data,
69
+ headers: getAuthHeaders(authSession)
67
70
  });
68
71
  };
69
72
  var operatorService = {
@@ -13,6 +13,5 @@ declare const rootReducer: {
13
13
  auth: import("redux").Reducer<import("../features/app/auth/authStore").AuthState, import("redux").AnyAction>;
14
14
  board: import("redux").Reducer<import("../features/app/board/boardStore").BoardState, import("redux").AnyAction>;
15
15
  kyc: import("redux").Reducer<import("../features/app/kyc/kycStore").KYCDataState, import("redux").AnyAction>;
16
- terminal: import("redux").Reducer<import("../features/app/terminal/terminalStore").TerminalDataState, import("redux").AnyAction>;
17
16
  };
18
17
  export default rootReducer;
@@ -12,7 +12,6 @@ import connectExpress from '../features/app/connectExpress/connectExpressStore';
12
12
  import board from '../features/app/board/boardStore';
13
13
  import auth from '../features/app/auth/authStore';
14
14
  import kyc from '../features/app/kyc/kycStore';
15
- import terminal from '../features/app/terminal/terminalStore';
16
15
  var rootReducer = {
17
16
  settings: settings,
18
17
  connect: connect,
@@ -27,7 +26,6 @@ var rootReducer = {
27
26
  connectExpress: connectExpress,
28
27
  auth: auth,
29
28
  board: board,
30
- kyc: kyc,
31
- terminal: terminal
29
+ kyc: kyc
32
30
  };
33
31
  export default rootReducer;
@@ -112,7 +112,7 @@ export var fetchAppSettingsSync = createAsyncThunk('fetchAppSettingsSync', funct
112
112
  thunkApi.dispatch(handleLanguage(lang));
113
113
  if (configInfo.publicKey) {
114
114
  if (configToken) {
115
- setBaseUrl(configInfo.publicKey, appConfig.businessCountryCode);
115
+ setBaseUrl(configInfo.publicKey, appConfig.region);
116
116
  }
117
117
  thunkApi.dispatch(handlePublicKey(configInfo.publicKey));
118
118
  }
@@ -362,7 +362,6 @@ export var settingsSlice = createSlice({
362
362
  if (state.data.locale && country.iso2)
363
363
  updateLocale(state.data.locale, country.iso2);
364
364
  state.data.businessCountry = country;
365
- setBaseUrl(state.data.appConfig.publicKey, country.iso2);
366
365
  }
367
366
  }
368
367
  },
@@ -14,7 +14,6 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
14
14
  auth: import("../features/app/auth/authStore").AuthState;
15
15
  board: import("../features/app/board/boardStore").BoardState;
16
16
  kyc: import("../features/app/kyc/kycStore").KYCDataState;
17
- terminal: import("../features/app/terminal/terminalStore").TerminalDataState;
18
17
  }, import("redux").AnyAction, import("@reduxjs/toolkit").MiddlewareArray<[import("@reduxjs/toolkit").ThunkMiddleware<{
19
18
  settings: import("./settings").SettingsState;
20
19
  connect: import("../features/app/connect/connectStore").ConnectState;
@@ -30,7 +29,6 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
30
29
  auth: import("../features/app/auth/authStore").AuthState;
31
30
  board: import("../features/app/board/boardStore").BoardState;
32
31
  kyc: import("../features/app/kyc/kycStore").KYCDataState;
33
- terminal: import("../features/app/terminal/terminalStore").TerminalDataState;
34
32
  }, import("redux").AnyAction, undefined>]>>;
35
33
  export declare type AppDispatch = typeof store.dispatch;
36
34
  export declare type RootState = ReturnType<typeof store.getState>;
@@ -23,6 +23,6 @@ var __rest = (this && this.__rest) || function (s, e) {
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
24
24
  var AEDSymbol = function (_a) {
25
25
  var _b = _a.height, height = _b === void 0 ? 10 : _b, svgProps = __rest(_a, ["height"]);
26
- return (_jsx("span", __assign({ style: { padding: '0 2px' } }, { children: _jsx("svg", __assign({ xmlns: 'http://www.w3.org/2000/svg', height: height, fill: 'currentColor', viewBox: '0 0 344.84 299.91' }, svgProps, { children: _jsx("path", { d: 'M342.14,140.96l2.7,2.54v-7.72c0-17-11.92-30.84-26.56-30.84h-23.41C278.49,36.7,222.69,0,139.68,0c-52.86,0-59.65,0-109.71,0,0,0,15.03,12.63,15.03,52.4v52.58h-27.68c-5.38,0-10.43-2.08-14.61-6.01l-2.7-2.54v7.72c0,17.01,11.92,30.84,26.56,30.84h18.44s0,29.99,0,29.99h-27.68c-5.38,0-10.43-2.07-14.61-6.01l-2.7-2.54v7.71c0,17,11.92,30.82,26.56,30.82h18.44s0,54.89,0,54.89c0,38.65-15.03,50.06-15.03,50.06h109.71c85.62,0,139.64-36.96,155.38-104.98h32.46c5.38,0,10.43,2.07,14.61,6l2.7,2.54v-7.71c0-17-11.92-30.83-26.56-30.83h-18.9c.32-4.88.49-9.87.49-15s-.18-10.11-.51-14.99h28.17c5.37,0,10.43,2.07,14.61,6.01ZM89.96,15.01h45.86c61.7,0,97.44,27.33,108.1,89.94l-153.96.02V15.01ZM136.21,284.93h-46.26v-89.98l153.87-.02c-9.97,56.66-42.07,88.38-107.61,90ZM247.34,149.96c0,5.13-.11,10.13-.34,14.99l-157.04.02v-29.99l157.05-.02c.22,4.84.33,9.83.33,15Z' }) })) })));
26
+ return (_jsx("span", __assign({ style: { padding: '0 2px' } }, { children: _jsx("svg", __assign({ xmlns: 'http://www.w3.org/2000/svg', height: height, fill: 'currentColor', viewBox: '0 0 344.84 299.91', style: { display: 'inline' } }, svgProps, { children: _jsx("path", { d: 'M342.14,140.96l2.7,2.54v-7.72c0-17-11.92-30.84-26.56-30.84h-23.41C278.49,36.7,222.69,0,139.68,0c-52.86,0-59.65,0-109.71,0,0,0,15.03,12.63,15.03,52.4v52.58h-27.68c-5.38,0-10.43-2.08-14.61-6.01l-2.7-2.54v7.72c0,17.01,11.92,30.84,26.56,30.84h18.44s0,29.99,0,29.99h-27.68c-5.38,0-10.43-2.07-14.61-6.01l-2.7-2.54v7.71c0,17,11.92,30.82,26.56,30.82h18.44s0,54.89,0,54.89c0,38.65-15.03,50.06-15.03,50.06h109.71c85.62,0,139.64-36.96,155.38-104.98h32.46c5.38,0,10.43,2.07,14.61,6l2.7,2.54v-7.71c0-17-11.92-30.83-26.56-30.83h-18.9c.32-4.88.49-9.87.49-15s-.18-10.11-.51-14.99h28.17c5.37,0,10.43,2.07,14.61,6.01ZM89.96,15.01h45.86c61.7,0,97.44,27.33,108.1,89.94l-153.96.02V15.01ZM136.21,284.93h-46.26v-89.98l153.87-.02c-9.97,56.66-42.07,88.38-107.61,90ZM247.34,149.96c0,5.13-.11,10.13-.34,14.99l-157.04.02v-29.99l157.05-.02c.22,4.84.33,9.83.33,15Z' }) })) })));
27
27
  };
28
28
  export default AEDSymbol;
@@ -23,6 +23,6 @@ var __rest = (this && this.__rest) || function (s, e) {
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
24
24
  var SARSymbol = function (_a) {
25
25
  var _b = _a.height, height = _b === void 0 ? 10 : _b, svgProps = __rest(_a, ["height"]);
26
- return (_jsx("span", __assign({ style: { padding: '0 2px' } }, { children: _jsx("svg", __assign({ xmlns: 'http://www.w3.org/2000/svg', height: height, fill: 'currentColor', viewBox: '0 0 1124.14 1256.39' }, svgProps, { children: _jsx("path", { d: 'M699.62 1113.02a460.24 460.24 0 0 0-38.4 143.37l424.51-90.24a460.44 460.44 0 0 0 38.4-143.37l-424.51 90.24zM1085.73 895.8a460.16 460.16 0 0 0 38.4-143.37l-330.68 70.33v-135.2l292.27-62.11a460.16 460.16 0 0 0 38.4-143.37l-330.68 70.27V66.13a466.56 466.56 0 0 0-132.25 110.99v403.35l-132.25 28.11V0A466.4 466.4 0 0 0 396.7 110.99v525.69l-295.92 62.88a460.46 460.46 0 0 0-38.42 143.37l334.33-71.05v170.26l-358.3 76.14a460.16 460.16 0 0 0-38.4 143.37l375.03-79.7a119.13 119.13 0 0 0 73.83-49.24l68.78-101.97v-.02a65.72 65.72 0 0 0 11.3-36.97V743.77l132.25-28.11v270.4l424.53-90.28z' }) })) })));
26
+ return (_jsx("span", __assign({ style: { padding: '0 2px' } }, { children: _jsx("svg", __assign({ xmlns: 'http://www.w3.org/2000/svg', height: height, fill: 'currentColor', viewBox: '0 0 1124.14 1256.39', style: { display: 'inline' } }, svgProps, { children: _jsx("path", { d: 'M699.62 1113.02a460.24 460.24 0 0 0-38.4 143.37l424.51-90.24a460.44 460.44 0 0 0 38.4-143.37l-424.51 90.24zM1085.73 895.8a460.16 460.16 0 0 0 38.4-143.37l-330.68 70.33v-135.2l292.27-62.11a460.16 460.16 0 0 0 38.4-143.37l-330.68 70.27V66.13a466.56 466.56 0 0 0-132.25 110.99v403.35l-132.25 28.11V0A466.4 466.4 0 0 0 396.7 110.99v525.69l-295.92 62.88a460.46 460.46 0 0 0-38.42 143.37l334.33-71.05v170.26l-358.3 76.14a460.16 460.16 0 0 0-38.4 143.37l375.03-79.7a119.13 119.13 0 0 0 73.83-49.24l68.78-101.97v-.02a65.72 65.72 0 0 0 11.3-36.97V743.77l132.25-28.11v270.4l424.53-90.28z' }) })) })));
27
27
  };
28
28
  export default SARSymbol;
@@ -137,6 +137,7 @@
137
137
  "capital_paid_hint": "00000",
138
138
  "capital_paid_input_label": "رأس المال المدفوع",
139
139
  "capital_paid_label": "رأس المال المدفوع ({{currency}})",
140
+ "capital_paid_input_label": "رأس المال المدفوع",
140
141
  "capital_paid_required": "Please Enter paid amount",
141
142
  "capital_share_count_hint": "00000",
142
143
  "capital_share_count_label": "عدد اسهم رأس المال",
@@ -144,6 +145,7 @@
144
145
  "capital_share_value_hint": "00000",
145
146
  "capital_share_value_input_label": "قيمة السهم",
146
147
  "capital_share_value_label": "قيمة السهم ({{currency}})",
148
+ "capital_share_value_input_label": "قيمة السهم",
147
149
  "capital_share_value_required": "Please Enter share value",
148
150
  "category": "الفئة",
149
151
  "category_name": "اسم الفئة",
@@ -284,6 +286,7 @@
284
286
  "expected_customers_to_serve": "عدد العملاء شهريا",
285
287
  "expected_sale_per_month": "البيع المتوقع في الشهر؟",
286
288
  "expected_sales_monthly": "البيع المتوقع في الشهر؟ ({{currency}})",
289
+ "expected_sale_per_month": "البيع المتوقع في الشهر؟",
287
290
  "expected_sales_yearly": "ما هي المبيعات المتوقعة لعملك شهريًا؟",
288
291
  "expected_served_monthly": "عدد العملاء شهريا",
289
292
  "expiry_date": "تاريخ الإنتهاء",
@@ -390,6 +393,7 @@
390
393
  "loading": "تحميل...",
391
394
  "loading_bank_statement": "تحميل.......",
392
395
  "login_to_dashboard": "تسجيل الدخول لادارة الحساب",
396
+ "login_with_passcode": "تسجيل الدخول باستخدام رمز المرور",
393
397
  "mail_btn_open_title": "افتح البريد الإلكتروني",
394
398
  "marital_status": "الحالة الزوجية",
395
399
  "masking_symbols": "•••",
@@ -456,6 +460,8 @@
456
460
  "paci_verify_loading": "إحضار التفاصيل",
457
461
  "paci_verify_loading_desc": "الرجاء التحلي بالصبر حتى التحقق من التفاصيل",
458
462
  "paci_waiting_title": "Please wait we are verifying",
463
+ "passcode_required": "الرجاء إدخال رمز المرور المطلوب",
464
+ "passcode_title": "الرجاء إدخال رمز المرور الخاص بك",
459
465
  "password_flow_completed": "إعادة تعيين كلمة المرور",
460
466
  "password_flow_pending": "إعداد كلمة المرور",
461
467
  "password_flow_title": "إعداد كلمة المرور",
@@ -490,6 +496,7 @@
490
496
  "please_choose_is_authorized": "الرجاء التأكيد إذا كنت أنت المستخدم المصرح له",
491
497
  "please_choose_relative_pep": "هل أنت أو أحد أقاربك شخص مكشوف علنًا (PEP)",
492
498
  "please_enter_actual_income": "ما هو دخلك الشهري ({{currency}}) ؟ ",
499
+ "monthly_income": "ما هو دخلك الشهري؟ ",
493
500
  "please_enter_employer_name": "يرجى إدخال اسم منشأه العمل الخاص بك",
494
501
  "please_try_again_after_few_minutes": "يمكنك محاولة تسجيل الدخول مرة أخرى بعد {{minutes}} دقيقة",
495
502
  "powered_by": "بواسطة",
@@ -531,6 +538,7 @@
531
538
  "share_value_hint": "0000",
532
539
  "share_value_input_label": "قيمة السهم",
533
540
  "share_value_label": "قيمة السهم ({{currency}})",
541
+ "sign_in_with_otp": "تسجيل الدخول باستخدام رمز التحقق (OTP)",
534
542
  "sign_up": "Sign up",
535
543
  "signed_up": "تسجيل الدخول",
536
544
  "signin_email_label": "البريد الألكتروني",
@@ -562,6 +570,7 @@
562
570
  "signup_welcoming": "مرحبًا {{username}} ،",
563
571
  "signup_welcoming_hi": "مرحبا,",
564
572
  "social_media_label": "وسائل التواصل الاجتماعي",
573
+ "something_went_wrong": "حدث خطأ. يرجى المحاولة لاحقاً",
565
574
  "source_country_label": "الدولة",
566
575
  "start_with_number": "هل يمكنك التحقق من رقم الجوال الذي تم إدخاله. (ملاحظة - يبدأ رقم الجوال بـ 5 أو 05)",
567
576
  "step_required_by_rayah": "هذه الخطوة مطلوبة لبدء التحقق مع خدمة يقين من شركة علم",
@@ -654,6 +663,10 @@
654
663
  "update_later": "سأقوم بالتحديث لاحقاً",
655
664
  "update_mobile_number": "تحديث رقم الجوال",
656
665
  "uploaded_file": "file",
666
+ "v1_add_unified_number": "أضف الرقم الموحد",
667
+ "v1_company_unified_number_description": "يمكنك العثور على الرقم الموحد لشركتك في الزاوية العلوية اليسرى من شهادة تسجيل الشركة.",
668
+ "v1_company_unified_number_hint": "700xxxxxxx",
669
+ "v1_company_unified_number_label": "الرقم الموحد للشركة",
657
670
  "vat_id": "رقم الضريبي المميز",
658
671
  "vat_id_placeholder": "00000000",
659
672
  "verification_brand_name": "الاسم التجاري",
@@ -671,9 +684,5 @@
671
684
  "year": "السنة",
672
685
  "yes": "نعم",
673
686
  "your_brand_details": "تفاصيل علامتك التجارية",
674
- "يرجى التحقق من اسم تطبيق ابل": "",
675
- "passcode_title": "الرجاء إدخال رمز المرور الخاص بك",
676
- "sign_in_with_otp": "تسجيل الدخول باستخدام رمز التحقق (OTP)",
677
- "passcode_required": "الرجاء إدخال رمز المرور المطلوب",
678
- "login_with_passcode": "تسجيل الدخول باستخدام رمز المرور"
687
+ "يرجى التحقق من اسم تطبيق ابل": ""
679
688
  }
@@ -136,6 +136,7 @@
136
136
  "capital_paid_hint": "00000",
137
137
  "capital_paid_input_label": "Capital Paid",
138
138
  "capital_paid_label": "Capital Paid ({{currency}})",
139
+ "capital_paid_input_label": "Capital Paid",
139
140
  "capital_paid_required": "Please Enter paid amount",
140
141
  "capital_share_count_hint": "00000",
141
142
  "capital_share_count_label": "Capital Share Count",
@@ -143,6 +144,7 @@
143
144
  "capital_share_value_hint": "00000",
144
145
  "capital_share_value_input_label": "Capital Share Value",
145
146
  "capital_share_value_label": "Capital Share Value ({{currency}})",
147
+ "capital_share_value_input_label": "Capital Share Value",
146
148
  "capital_share_value_required": "Please Enter share value",
147
149
  "category": "Category",
148
150
  "category_name": "Category name",
@@ -292,6 +294,7 @@
292
294
  "expected_customers_to_serve": "Customers served per month",
293
295
  "expected_sale_per_month": "Expected sale per month?",
294
296
  "expected_sales_monthly": "Expected sale per month? ({{currency}})",
297
+ "expected_sale_per_month": "Expected sale per month?",
295
298
  "expected_sales_yearly": "What is the expected sales for your business per month?",
296
299
  "expected_served_monthly": "Customers served per month",
297
300
  "expiry_date": "Date of expiry",
@@ -336,7 +339,7 @@
336
339
  "iban_input_placeholder": "{{countrycode}}44#################0",
337
340
  "id_placeholder": 2345566666,
338
341
  "ide_not_valid_url": "May you please verify the entered website address.",
339
- "ide_opt_sent_title": "A One Time Passcode (OTP) has been be sent to mobile number",
342
+ "ide_opt_sent_title": "A One Time Passcode (OTP) has been sent to mobile number",
340
343
  "ide_otp_resend_label": "Resend OTP",
341
344
  "ide_otp_waiting_title": "Please be patient as we are processing... ",
342
345
  "ide_registered_mobile_status_message": "Registered mobile ",
@@ -393,6 +396,7 @@
393
396
  "kyc_token_invalid": "May you please verify link of which you are trying to open.",
394
397
  "kyc_users_description": "Please select an authorized registered ID to approve with {{provider}}",
395
398
  "kyc_verification": "Know Your Customer (KYC)",
399
+ "kyc_privacy_policy": "Privacy Policy",
396
400
  "language": "العربية",
397
401
  "license_info": "License information",
398
402
  "license_name_hint": "Enter legal name",
@@ -405,6 +409,7 @@
405
409
  "loading": "Loading...",
406
410
  "loading_bank_statement": "loading....",
407
411
  "login_to_dashboard": "Login to dashboard",
412
+ "login_with_passcode": "Login with Passcode",
408
413
  "mail_btn_open_title": "Open Mail",
409
414
  "marital_status": "Marital status",
410
415
  "masking_symbols": "•••",
@@ -453,7 +458,7 @@
453
458
  "other": "other",
454
459
  "otp_authentication": "Authentication",
455
460
  "otp_authentication_description": "Verify with OTP for a Hassle-Free Experience",
456
- "otp_email_sent_title": "A One Time Passcode (OTP) has been be sent to your email ",
461
+ "otp_email_sent_title": "A One Time Passcode (OTP) has been sent to your email ",
457
462
  "otp_min_length": "Please enter the 6 digit OTP",
458
463
  "otp_provider": "Absher",
459
464
  "otp_required": "Please enter the required OTP",
@@ -472,6 +477,8 @@
472
477
  "paci_verify_loading": "Fetching Details",
473
478
  "paci_verify_loading_desc": "Please be patient until verify details",
474
479
  "paci_waiting_title": "Please wait we are verifying",
480
+ "passcode_required": "Please enter the required Passcode",
481
+ "passcode_title": "Please enter your passcode",
475
482
  "password_flow_completed": "Reset my password",
476
483
  "password_flow_pending": "Setup my password",
477
484
  "password_flow_title": "Setup your password",
@@ -506,6 +513,7 @@
506
513
  "please_choose_is_authorized": "Please tell us if you are the authorized user",
507
514
  "please_choose_relative_pep": "Are you or one of your relatives a Publicly Exposed Person (PEP)",
508
515
  "please_enter_actual_income": "Monthly income ({{currency}})",
516
+ "monthly_income": "Monthly income",
509
517
  "please_enter_employer_name": "Please enter the name of your employer",
510
518
  "please_try_again_after_few_minutes": "You can try to login again after {{minutes}} mins",
511
519
  "powered_by": "Powered by",
@@ -553,6 +561,7 @@
553
561
  "share_value_hint": "0000",
554
562
  "share_value_input_label": "Share Value",
555
563
  "share_value_label": "Share Value ({{currency}})",
564
+ "sign_in_with_otp": "Sign in with OTP",
556
565
  "sign_up": "Sign up",
557
566
  "signed_up": "Signed up",
558
567
  "signin_email_label": "Email address",
@@ -584,6 +593,7 @@
584
593
  "signup_welcoming": "Hello {{username}},",
585
594
  "signup_welcoming_hi": "Hello,",
586
595
  "social_media_label": "Social Media",
596
+ "something_went_wrong": "Something went wrong. Please try again later",
587
597
  "start_with_number": "May you please verify the entered mobile. (Note - mobile numbers start with 5 or 05",
588
598
  "step_required_by_rayah": "This step is required in order to initiate a verification with Yaqeen service from Elm.",
589
599
  "subtitle_drop": "choose file",
@@ -682,6 +692,10 @@
682
692
  "upload_bank_statement": "Please upload the bank statement",
683
693
  "upload_file": "Select a file from your computer",
684
694
  "uploaded_file": "file",
695
+ "v1_add_unified_number": "Add a Unified Number",
696
+ "v1_company_unified_number_description": "You can find your Company Unified Number in the top-left corner of your Company Registration Certificate.",
697
+ "v1_company_unified_number_hint": "700xxxxxxx",
698
+ "v1_company_unified_number_label": "Company unified number",
685
699
  "vat_id": "Tax Identification Number (TIN)",
686
700
  "vat_id_placeholder": "000000000",
687
701
  "verification_brand_name": "Brand name",
@@ -698,9 +712,5 @@
698
712
  "website_label": "Website",
699
713
  "year": "Year",
700
714
  "yes": "Yes",
701
- "your_brand_details": "Your brand details",
702
- "passcode_title": "Please enter your passcode",
703
- "sign_in_with_otp": "Sign in with OTP",
704
- "passcode_required": "Please enter the required Passcode",
705
- "login_with_passcode": "Login with Passcode"
715
+ "your_brand_details": "Your brand details"
706
716
  }
@@ -4,10 +4,9 @@ export interface OTPTimerProps extends BoxProps {
4
4
  timeInSeconds?: number;
5
5
  timeEndLabel: string;
6
6
  onResetClick?: () => void;
7
- failed?: boolean;
8
7
  }
9
8
  declare const _default: React.MemoExoticComponent<{
10
- ({ timeInSeconds, timeEndLabel, onResetClick, failed, ...rest }: OTPTimerProps): JSX.Element;
9
+ ({ timeInSeconds, timeEndLabel, onResetClick, ...rest }: OTPTimerProps): JSX.Element;
11
10
  defaultProps: {
12
11
  time: number;
13
12
  };
@@ -44,7 +44,7 @@ var OTPTimerTextStyled = styled(Text)(function (_a) {
44
44
  });
45
45
  });
46
46
  var OTPTimerComponent = function (_a) {
47
- var timeInSeconds = _a.timeInSeconds, timeEndLabel = _a.timeEndLabel, onResetClick = _a.onResetClick, failed = _a.failed, rest = __rest(_a, ["timeInSeconds", "timeEndLabel", "onResetClick", "failed"]);
47
+ var timeInSeconds = _a.timeInSeconds, timeEndLabel = _a.timeEndLabel, onResetClick = _a.onResetClick, rest = __rest(_a, ["timeInSeconds", "timeEndLabel", "onResetClick"]);
48
48
  var _b = React.useState(timeInSeconds || 60), timeValue = _b[0], seTimeValue = _b[1];
49
49
  React.useEffect(function () {
50
50
  if (timeValue <= 0)
@@ -55,14 +55,14 @@ var OTPTimerComponent = function (_a) {
55
55
  return function () { return clearInterval(interval); };
56
56
  }, [timeValue]);
57
57
  var resetTimer = function () {
58
- if (onResetClick && (timeValue == 0 || failed)) {
58
+ if (onResetClick && timeValue == 0) {
59
59
  onResetClick();
60
60
  seTimeValue(timeInSeconds || 60);
61
61
  }
62
62
  };
63
63
  return (_jsx(OTPTimerStyled, __assign({ onClick: resetTimer }, rest, { children: _jsx(OTPTimerTextStyled, __assign({ variant: 'h4', color: 'primary', sx: {
64
- cursor: (timeValue <= 0 || failed) && onResetClick ? 'pointer' : 'default'
65
- } }, { children: timeValue > 0 && !failed ? (timeValue > 9 ? "00:".concat(timeValue) : "00:0".concat(timeValue)) : timeEndLabel })) })));
64
+ cursor: timeValue <= 0 && onResetClick ? 'pointer' : 'default'
65
+ } }, { children: timeValue > 0 ? (timeValue > 9 ? "00:".concat(timeValue) : "00:0".concat(timeValue)) : timeEndLabel })) })));
66
66
  };
67
67
  OTPTimerComponent.defaultProps = {
68
68
  time: 59