@tap-payments/auth-jsconnect 2.12.1-beta → 2.12.1-sandbox

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (340) hide show
  1. package/build/@types/app.d.ts +3 -1
  2. package/build/@types/app.js +1 -0
  3. package/build/@types/form.d.ts +4 -2
  4. package/build/@types/index.d.ts +1 -0
  5. package/build/@types/index.js +1 -0
  6. package/build/@types/terminal.d.ts +104 -0
  7. package/build/@types/terminal.js +1 -0
  8. package/build/api/account.d.ts +2 -2
  9. package/build/api/account.js +7 -4
  10. package/build/api/auth.d.ts +18 -3
  11. package/build/api/auth.js +7 -3
  12. package/build/api/axios.d.ts +1 -1
  13. package/build/api/axios.js +9 -1
  14. package/build/api/entity.d.ts +3 -0
  15. package/build/api/headers.d.ts +6 -0
  16. package/build/api/headers.js +18 -0
  17. package/build/api/index.d.ts +15 -8
  18. package/build/api/index.js +5 -2
  19. package/build/api/lead.d.ts +3 -2
  20. package/build/api/operator.d.ts +1 -1
  21. package/build/api/operator.js +5 -2
  22. package/build/api/terminal.d.ts +25 -0
  23. package/build/api/terminal.js +55 -0
  24. package/build/app/rootReducer.d.ts +2 -0
  25. package/build/app/rootReducer.js +5 -1
  26. package/build/app/session.d.ts +17 -0
  27. package/build/app/session.js +28 -0
  28. package/build/app/settings.js +1 -1
  29. package/build/app/store.d.ts +4 -0
  30. package/build/assets/currencies/AEDSymbol.js +1 -1
  31. package/build/assets/currencies/SARSymbol.js +1 -1
  32. package/build/assets/locales/ar.json +51 -15
  33. package/build/assets/locales/en.json +56 -46
  34. package/build/components/DeviceCard/DeviceCard.d.ts +19 -0
  35. package/build/components/DeviceCard/DeviceCard.js +102 -0
  36. package/build/components/DeviceCard/index.d.ts +3 -0
  37. package/build/components/DeviceCard/index.js +2 -0
  38. package/build/components/OTPTimer/OTPTimer.d.ts +2 -1
  39. package/build/components/OTPTimer/OTPTimer.js +4 -4
  40. package/build/components/TruncatedTooltipText/TruncatedTooltipText.d.ts +7 -0
  41. package/build/components/TruncatedTooltipText/TruncatedTooltipText.js +33 -0
  42. package/build/components/TruncatedTooltipText/index.d.ts +2 -0
  43. package/build/components/TruncatedTooltipText/index.js +2 -0
  44. package/build/constants/api.d.ts +1 -1
  45. package/build/constants/api.js +2 -2
  46. package/build/constants/app.d.ts +27 -2
  47. package/build/constants/app.js +350 -39
  48. package/build/constants/dummy.d.ts +2 -29
  49. package/build/constants/dummy.js +4 -4
  50. package/build/constants/flows.d.ts +27 -22
  51. package/build/constants/flows.js +27 -23
  52. package/build/constants/validation.d.ts +2 -0
  53. package/build/constants/validation.js +2 -0
  54. package/build/features/app/auth/authStore.d.ts +4 -0
  55. package/build/features/app/auth/authStore.js +168 -54
  56. package/build/features/app/bank/bankStore.d.ts +7 -0
  57. package/build/features/app/bank/bankStore.js +110 -20
  58. package/build/features/app/board/boardStore.d.ts +5 -0
  59. package/build/features/app/board/boardStore.js +94 -7
  60. package/build/features/app/brand/brandStore.d.ts +7 -0
  61. package/build/features/app/brand/brandStore.js +107 -19
  62. package/build/features/app/business/businessStore.d.ts +10 -0
  63. package/build/features/app/business/businessStore.js +130 -37
  64. package/build/features/app/connect/connectStore.d.ts +12 -5
  65. package/build/features/app/connect/connectStore.js +146 -31
  66. package/build/features/app/connectExpress/connectExpressStore.d.ts +10 -5
  67. package/build/features/app/connectExpress/connectExpressStore.js +159 -21
  68. package/build/features/app/entity/entityStore.d.ts +7 -0
  69. package/build/features/app/entity/entityStore.js +108 -18
  70. package/build/features/app/individual/individualStore.d.ts +9 -0
  71. package/build/features/app/individual/individualStore.js +126 -34
  72. package/build/features/app/kyc/kycStore.d.ts +5 -5
  73. package/build/features/app/kyc/kycStore.js +4 -1
  74. package/build/features/app/password/passwordStore.d.ts +9 -0
  75. package/build/features/app/password/passwordStore.js +130 -46
  76. package/build/features/app/signIn/signInStore.js +12 -16
  77. package/build/features/app/tax/taxStore.d.ts +7 -0
  78. package/build/features/app/tax/taxStore.js +104 -17
  79. package/build/features/app/terminal/terminalStore.d.ts +119 -0
  80. package/build/features/app/terminal/terminalStore.js +783 -0
  81. package/build/features/auth/Auth.js +3 -2
  82. package/build/features/auth/screens/AuthenticationList/AuthenticationList.js +10 -7
  83. package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +6 -3
  84. package/build/features/auth/screens/AuthenticationList/EntityLicenseType.js +6 -4
  85. package/build/features/auth/screens/AuthenticationList/EntityList.js +11 -3
  86. package/build/features/auth/screens/OTPSessionExpired/OTPInput.d.ts +3 -0
  87. package/build/features/auth/screens/OTPSessionExpired/OTPInput.js +58 -0
  88. package/build/features/auth/screens/OTPSessionExpired/OTPSessionExpired.d.ts +5 -0
  89. package/build/features/auth/screens/OTPSessionExpired/OTPSessionExpired.js +85 -0
  90. package/build/features/auth/screens/OTPSessionExpired/index.d.ts +2 -0
  91. package/build/features/auth/screens/OTPSessionExpired/index.js +2 -0
  92. package/build/features/auth/screens/OTPSessionExpired/validation.d.ts +8 -0
  93. package/build/features/auth/screens/OTPSessionExpired/validation.js +4 -0
  94. package/build/features/bank/Bank.js +3 -2
  95. package/build/features/bank/screens/OTPSessionExpired/OTPInput.d.ts +7 -0
  96. package/build/features/bank/screens/OTPSessionExpired/OTPInput.js +51 -0
  97. package/build/features/bank/screens/OTPSessionExpired/OTPSessionExpired.d.ts +5 -0
  98. package/build/features/bank/screens/OTPSessionExpired/OTPSessionExpired.js +75 -0
  99. package/build/features/bank/screens/OTPSessionExpired/index.d.ts +2 -0
  100. package/build/features/bank/screens/OTPSessionExpired/index.js +2 -0
  101. package/build/features/bank/screens/OTPSessionExpired/validation.d.ts +8 -0
  102. package/build/features/bank/screens/OTPSessionExpired/validation.js +4 -0
  103. package/build/features/board/Board.js +5 -4
  104. package/build/features/board/screens/OTPSessionExpired/OTPInput.d.ts +7 -0
  105. package/build/features/board/screens/OTPSessionExpired/OTPInput.js +51 -0
  106. package/build/features/board/screens/OTPSessionExpired/OTPSessionExpired.d.ts +5 -0
  107. package/build/features/board/screens/OTPSessionExpired/OTPSessionExpired.js +75 -0
  108. package/build/features/board/screens/OTPSessionExpired/index.d.ts +2 -0
  109. package/build/features/board/screens/OTPSessionExpired/index.js +2 -0
  110. package/build/features/board/screens/OTPSessionExpired/validation.d.ts +8 -0
  111. package/build/features/board/screens/OTPSessionExpired/validation.js +4 -0
  112. package/build/features/brand/Brand.js +3 -2
  113. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +2 -2
  114. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +1 -1
  115. package/build/features/brand/screens/OTPSessionExpired/OTPInput.d.ts +7 -0
  116. package/build/features/brand/screens/OTPSessionExpired/OTPInput.js +51 -0
  117. package/build/features/brand/screens/OTPSessionExpired/OTPSessionExpired.d.ts +5 -0
  118. package/build/features/brand/screens/OTPSessionExpired/OTPSessionExpired.js +75 -0
  119. package/build/features/brand/screens/OTPSessionExpired/index.d.ts +2 -0
  120. package/build/features/brand/screens/OTPSessionExpired/index.js +2 -0
  121. package/build/features/brand/screens/OTPSessionExpired/validation.d.ts +8 -0
  122. package/build/features/brand/screens/OTPSessionExpired/validation.js +4 -0
  123. package/build/features/business/Business.js +3 -2
  124. package/build/features/business/screens/BusinessType/BusinessType.js +15 -5
  125. package/build/features/business/screens/BusinessType/EntityLicenseList.js +11 -5
  126. package/build/features/business/screens/BusinessType/LicenseList.js +20 -12
  127. package/build/features/business/screens/BusinessType/LicenseType.d.ts +2 -2
  128. package/build/features/business/screens/BusinessType/UnifiedNumber.d.ts +35 -0
  129. package/build/features/business/screens/BusinessType/UnifiedNumber.js +84 -0
  130. package/build/features/business/screens/BusinessType/validation.d.ts +6 -3
  131. package/build/features/business/screens/BusinessType/validation.js +31 -10
  132. package/build/features/business/screens/Customers/CustomerLocations.d.ts +2 -2
  133. package/build/features/business/screens/Customers/RefundPolicy.d.ts +1 -1
  134. package/build/features/business/screens/OTPSessionExpired/OTPInput.d.ts +7 -0
  135. package/build/features/business/screens/OTPSessionExpired/OTPInput.js +51 -0
  136. package/build/features/business/screens/OTPSessionExpired/OTPSessionExpired.d.ts +5 -0
  137. package/build/features/business/screens/OTPSessionExpired/OTPSessionExpired.js +75 -0
  138. package/build/features/business/screens/OTPSessionExpired/index.d.ts +2 -0
  139. package/build/features/business/screens/OTPSessionExpired/index.js +2 -0
  140. package/build/features/business/screens/OTPSessionExpired/validation.d.ts +8 -0
  141. package/build/features/business/screens/OTPSessionExpired/validation.js +4 -0
  142. package/build/features/connect/Connect.js +3 -2
  143. package/build/features/connect/screens/OTPSessionExpired/OTPInput.d.ts +5 -0
  144. package/build/features/connect/screens/OTPSessionExpired/OTPInput.js +58 -0
  145. package/build/features/connect/screens/OTPSessionExpired/OTPSessionExpired.d.ts +3 -0
  146. package/build/features/connect/screens/OTPSessionExpired/OTPSessionExpired.js +86 -0
  147. package/build/features/connect/screens/OTPSessionExpired/index.d.ts +2 -0
  148. package/build/features/connect/screens/OTPSessionExpired/index.js +2 -0
  149. package/build/features/connect/screens/OTPSessionExpired/validation.d.ts +8 -0
  150. package/build/features/connect/screens/OTPSessionExpired/validation.js +4 -0
  151. package/build/features/connectExpress/ConnectExpress.js +3 -2
  152. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.js +10 -10
  153. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +6 -3
  154. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.js +6 -4
  155. package/build/features/connectExpress/screens/AuthenticationList/EntityList.js +11 -3
  156. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +1 -0
  157. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +27 -16
  158. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +2 -2
  159. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +2 -2
  160. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.js +1 -1
  161. package/build/features/connectExpress/screens/CollectBusinessInfo/UnifiedNumber.d.ts +36 -0
  162. package/build/features/connectExpress/screens/CollectBusinessInfo/UnifiedNumber.js +81 -0
  163. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.d.ts +6 -3
  164. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +57 -21
  165. package/build/features/connectExpress/screens/Mobile/Mobile.js +7 -6
  166. package/build/features/connectExpress/screens/OTPSessionExpired/OTPInput.d.ts +3 -0
  167. package/build/features/connectExpress/screens/OTPSessionExpired/OTPInput.js +58 -0
  168. package/build/features/connectExpress/screens/OTPSessionExpired/OTPSessionExpired.d.ts +5 -0
  169. package/build/features/connectExpress/screens/OTPSessionExpired/OTPSessionExpired.js +85 -0
  170. package/build/features/connectExpress/screens/OTPSessionExpired/index.d.ts +2 -0
  171. package/build/features/connectExpress/screens/OTPSessionExpired/index.js +2 -0
  172. package/build/features/connectExpress/screens/OTPSessionExpired/validation.d.ts +8 -0
  173. package/build/features/connectExpress/screens/OTPSessionExpired/validation.js +4 -0
  174. package/build/features/entity/Entity.js +3 -2
  175. package/build/features/entity/screens/EntityName/EntityName.js +16 -15
  176. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +2 -2
  177. package/build/features/entity/screens/EntityName/UnifiedNumber.js +2 -2
  178. package/build/features/entity/screens/EntityName/validation.d.ts +50 -48
  179. package/build/features/entity/screens/EntityName/validation.js +100 -85
  180. package/build/features/entity/screens/OTPSessionExpired/OTPInput.d.ts +7 -0
  181. package/build/features/entity/screens/OTPSessionExpired/OTPInput.js +51 -0
  182. package/build/features/entity/screens/OTPSessionExpired/OTPSessionExpired.d.ts +5 -0
  183. package/build/features/entity/screens/OTPSessionExpired/OTPSessionExpired.js +75 -0
  184. package/build/features/entity/screens/OTPSessionExpired/index.d.ts +2 -0
  185. package/build/features/entity/screens/OTPSessionExpired/index.js +2 -0
  186. package/build/features/entity/screens/OTPSessionExpired/validation.d.ts +8 -0
  187. package/build/features/entity/screens/OTPSessionExpired/validation.js +4 -0
  188. package/build/features/featuresScreens.d.ts +1 -0
  189. package/build/features/featuresScreens.js +187 -0
  190. package/build/features/individual/Individual.js +3 -2
  191. package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +2 -2
  192. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +2 -2
  193. package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +2 -2
  194. package/build/features/individual/screens/OTPSessionExpired/OTPInput.d.ts +7 -0
  195. package/build/features/individual/screens/OTPSessionExpired/OTPInput.js +51 -0
  196. package/build/features/individual/screens/OTPSessionExpired/OTPSessionExpired.d.ts +5 -0
  197. package/build/features/individual/screens/OTPSessionExpired/OTPSessionExpired.js +75 -0
  198. package/build/features/individual/screens/OTPSessionExpired/index.d.ts +2 -0
  199. package/build/features/individual/screens/OTPSessionExpired/index.js +2 -0
  200. package/build/features/individual/screens/OTPSessionExpired/validation.d.ts +8 -0
  201. package/build/features/individual/screens/OTPSessionExpired/validation.js +4 -0
  202. package/build/features/password/Password.js +3 -2
  203. package/build/features/password/screens/OTPSessionExpired/OTPInput.d.ts +7 -0
  204. package/build/features/password/screens/OTPSessionExpired/OTPInput.js +51 -0
  205. package/build/features/password/screens/OTPSessionExpired/OTPSessionExpired.d.ts +5 -0
  206. package/build/features/password/screens/OTPSessionExpired/OTPSessionExpired.js +75 -0
  207. package/build/features/password/screens/OTPSessionExpired/index.d.ts +2 -0
  208. package/build/features/password/screens/OTPSessionExpired/index.js +2 -0
  209. package/build/features/password/screens/OTPSessionExpired/validation.d.ts +8 -0
  210. package/build/features/password/screens/OTPSessionExpired/validation.js +4 -0
  211. package/build/features/shared/Address/CountryList.d.ts +1 -1
  212. package/build/features/shared/Address/InputSelect.d.ts +1 -1
  213. package/build/features/shared/Button/Button.js +1 -1
  214. package/build/features/shared/Button/FlowsButtons.d.ts +1 -0
  215. package/build/features/shared/Button/FlowsButtons.js +2 -2
  216. package/build/features/shared/OTPVerifySecurityError/OTPVerifySecurityError.d.ts +3 -0
  217. package/build/features/shared/OTPVerifySecurityError/OTPVerifySecurityError.js +9 -0
  218. package/build/features/shared/OTPVerifySecurityError/index.d.ts +2 -0
  219. package/build/features/shared/OTPVerifySecurityError/index.js +2 -0
  220. package/build/features/shared/PushNotification/PushNotification.d.ts +11 -0
  221. package/build/features/shared/PushNotification/PushNotification.js +34 -0
  222. package/build/features/shared/PushNotification/index.d.ts +2 -0
  223. package/build/features/shared/PushNotification/index.js +2 -0
  224. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +2 -1
  225. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +6 -5
  226. package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +3 -1
  227. package/build/features/shared/SuccessScreen/SuccessScreen.js +2 -2
  228. package/build/features/tax/Tax.js +3 -2
  229. package/build/features/tax/screens/OTPSessionExpired/OTPInput.d.ts +7 -0
  230. package/build/features/tax/screens/OTPSessionExpired/OTPInput.js +51 -0
  231. package/build/features/tax/screens/OTPSessionExpired/OTPSessionExpired.d.ts +5 -0
  232. package/build/features/tax/screens/OTPSessionExpired/OTPSessionExpired.js +75 -0
  233. package/build/features/tax/screens/OTPSessionExpired/index.d.ts +2 -0
  234. package/build/features/tax/screens/OTPSessionExpired/index.js +2 -0
  235. package/build/features/tax/screens/OTPSessionExpired/validation.d.ts +8 -0
  236. package/build/features/tax/screens/OTPSessionExpired/validation.js +4 -0
  237. package/build/features/terminal/Terminal.d.ts +14 -0
  238. package/build/features/terminal/Terminal.js +96 -0
  239. package/build/features/terminal/index.d.ts +1 -0
  240. package/build/features/terminal/index.js +1 -0
  241. package/build/features/terminal/screens/LinkNewTerminal/LinkNewTerminal.d.ts +3 -0
  242. package/build/features/terminal/screens/LinkNewTerminal/LinkNewTerminal.js +68 -0
  243. package/build/features/terminal/screens/LinkNewTerminal/index.d.ts +2 -0
  244. package/build/features/terminal/screens/LinkNewTerminal/index.js +2 -0
  245. package/build/features/terminal/screens/LinkNewTerminal/styles.d.ts +10 -0
  246. package/build/features/terminal/screens/LinkNewTerminal/styles.js +28 -0
  247. package/build/features/terminal/screens/LinkedSuccess/LinkedSuccess.d.ts +3 -0
  248. package/build/features/terminal/screens/LinkedSuccess/LinkedSuccess.js +50 -0
  249. package/build/features/terminal/screens/LinkedSuccess/index.d.ts +2 -0
  250. package/build/features/terminal/screens/LinkedSuccess/index.js +2 -0
  251. package/build/features/terminal/screens/LinkedTerminalInfo/LinkedTerminalInfo.d.ts +3 -0
  252. package/build/features/terminal/screens/LinkedTerminalInfo/LinkedTerminalInfo.js +55 -0
  253. package/build/features/terminal/screens/LinkedTerminalInfo/index.d.ts +2 -0
  254. package/build/features/terminal/screens/LinkedTerminalInfo/index.js +2 -0
  255. package/build/features/terminal/screens/Loading/Loading.d.ts +4 -0
  256. package/build/features/terminal/screens/Loading/Loading.js +10 -0
  257. package/build/features/terminal/screens/Loading/index.d.ts +2 -0
  258. package/build/features/terminal/screens/Loading/index.js +2 -0
  259. package/build/features/terminal/screens/NoTerminalDeviceLinked/NoTerminalDeviceLinked.d.ts +3 -0
  260. package/build/features/terminal/screens/NoTerminalDeviceLinked/NoTerminalDeviceLinked.js +103 -0
  261. package/build/features/terminal/screens/NoTerminalDeviceLinked/index.d.ts +2 -0
  262. package/build/features/terminal/screens/NoTerminalDeviceLinked/index.js +2 -0
  263. package/build/features/terminal/screens/NoTerminalDeviceLinked/styles.d.ts +36 -0
  264. package/build/features/terminal/screens/NoTerminalDeviceLinked/styles.js +34 -0
  265. package/build/features/terminal/screens/OTPSessionExpired/OTPInput.d.ts +7 -0
  266. package/build/features/terminal/screens/OTPSessionExpired/OTPInput.js +51 -0
  267. package/build/features/terminal/screens/OTPSessionExpired/OTPSessionExpired.d.ts +5 -0
  268. package/build/features/terminal/screens/OTPSessionExpired/OTPSessionExpired.js +89 -0
  269. package/build/features/terminal/screens/OTPSessionExpired/index.d.ts +2 -0
  270. package/build/features/terminal/screens/OTPSessionExpired/index.js +2 -0
  271. package/build/features/terminal/screens/OTPSessionExpired/validation.d.ts +8 -0
  272. package/build/features/terminal/screens/OTPSessionExpired/validation.js +4 -0
  273. package/build/features/terminal/screens/OperatorError/OperatorError.d.ts +5 -0
  274. package/build/features/terminal/screens/OperatorError/OperatorError.js +9 -0
  275. package/build/features/terminal/screens/OperatorError/index.d.ts +2 -0
  276. package/build/features/terminal/screens/OperatorError/index.js +2 -0
  277. package/build/features/terminal/screens/POSDeviceListPage/POSDeviceListPage.d.ts +3 -0
  278. package/build/features/terminal/screens/POSDeviceListPage/POSDeviceListPage.js +50 -0
  279. package/build/features/terminal/screens/POSDeviceListPage/index.d.ts +2 -0
  280. package/build/features/terminal/screens/POSDeviceListPage/index.js +2 -0
  281. package/build/features/terminal/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +3 -0
  282. package/build/features/terminal/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +21 -0
  283. package/build/features/terminal/screens/ResetPasswordSuccess/index.d.ts +2 -0
  284. package/build/features/terminal/screens/ResetPasswordSuccess/index.js +2 -0
  285. package/build/features/terminal/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
  286. package/build/features/terminal/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +32 -0
  287. package/build/features/terminal/screens/SuccessWithFlowButtons/index.d.ts +2 -0
  288. package/build/features/terminal/screens/SuccessWithFlowButtons/index.js +2 -0
  289. package/build/features/terminal/screens/TerminalDeviceList/DeviceList.d.ts +9 -0
  290. package/build/features/terminal/screens/TerminalDeviceList/DeviceList.js +20 -0
  291. package/build/features/terminal/screens/TerminalDeviceList/TerminalDeviceList.d.ts +3 -0
  292. package/build/features/terminal/screens/TerminalDeviceList/TerminalDeviceList.js +153 -0
  293. package/build/features/terminal/screens/TerminalDeviceList/index.d.ts +2 -0
  294. package/build/features/terminal/screens/TerminalDeviceList/index.js +2 -0
  295. package/build/features/terminal/screens/TerminalDeviceList/styles.d.ts +9 -0
  296. package/build/features/terminal/screens/TerminalDeviceList/styles.js +13 -0
  297. package/build/features/terminal/screens/UnlinkedSuccess/UnlinkedSuccess.d.ts +3 -0
  298. package/build/features/terminal/screens/UnlinkedSuccess/UnlinkedSuccess.js +51 -0
  299. package/build/features/terminal/screens/UnlinkedSuccess/index.d.ts +2 -0
  300. package/build/features/terminal/screens/UnlinkedSuccess/index.js +2 -0
  301. package/build/features/terminal/screens/UnlinkedTerminalInfo/UnlinkedTerminalInfo.d.ts +3 -0
  302. package/build/features/terminal/screens/UnlinkedTerminalInfo/UnlinkedTerminalInfo.js +99 -0
  303. package/build/features/terminal/screens/UnlinkedTerminalInfo/index.d.ts +2 -0
  304. package/build/features/terminal/screens/UnlinkedTerminalInfo/index.js +2 -0
  305. package/build/features/terminal/screens/UnlinkedTerminalInfo/styles.d.ts +26 -0
  306. package/build/features/terminal/screens/UnlinkedTerminalInfo/styles.js +30 -0
  307. package/build/features/terminal/screens/Verify/OTPInput.d.ts +7 -0
  308. package/build/features/terminal/screens/Verify/OTPInput.js +51 -0
  309. package/build/features/terminal/screens/Verify/Verify.d.ts +5 -0
  310. package/build/features/terminal/screens/Verify/Verify.js +89 -0
  311. package/build/features/terminal/screens/Verify/index.d.ts +2 -0
  312. package/build/features/terminal/screens/Verify/index.js +2 -0
  313. package/build/features/terminal/screens/Verify/validation.d.ts +8 -0
  314. package/build/features/terminal/screens/Verify/validation.js +4 -0
  315. package/build/features/terminal/screens/shared/Header.d.ts +10 -0
  316. package/build/features/terminal/screens/shared/Header.js +30 -0
  317. package/build/features/terminal/screens/shared/POSDeviceList.d.ts +11 -0
  318. package/build/features/terminal/screens/shared/POSDeviceList.js +30 -0
  319. package/build/features/terminal/screens/shared/index.d.ts +5 -0
  320. package/build/features/terminal/screens/shared/index.js +5 -0
  321. package/build/features/terminal/screens/shared/styles.d.ts +196 -0
  322. package/build/features/terminal/screens/shared/styles.js +155 -0
  323. package/build/features/terminal/screens/shared/utils.d.ts +7 -0
  324. package/build/features/terminal/screens/shared/utils.js +24 -0
  325. package/build/hooks/index.d.ts +1 -0
  326. package/build/hooks/index.js +1 -0
  327. package/build/hooks/useAppDispatch.d.ts +2 -0
  328. package/build/hooks/useSessionExpiryHandler.d.ts +8 -0
  329. package/build/hooks/useSessionExpiryHandler.js +71 -0
  330. package/build/index.d.ts +3 -2
  331. package/build/index.js +4 -2
  332. package/build/theme/palette.js +12 -0
  333. package/build/theme/typography.js +4 -0
  334. package/build/utils/common.js +13 -6
  335. package/build/utils/error.d.ts +4 -0
  336. package/build/utils/error.js +12 -0
  337. package/build/utils/string.d.ts +3 -1
  338. package/build/utils/string.js +12 -2
  339. package/build/utils/validation.js +1 -1
  340. package/package.json +3 -3
@@ -4,9 +4,10 @@ export interface OTPTimerProps extends BoxProps {
4
4
  timeInSeconds?: number;
5
5
  timeEndLabel: string;
6
6
  onResetClick?: () => void;
7
+ failed?: boolean;
7
8
  }
8
9
  declare const _default: React.MemoExoticComponent<{
9
- ({ timeInSeconds, timeEndLabel, onResetClick, ...rest }: OTPTimerProps): JSX.Element;
10
+ ({ timeInSeconds, timeEndLabel, onResetClick, failed, ...rest }: OTPTimerProps): JSX.Element;
10
11
  defaultProps: {
11
12
  time: number;
12
13
  };
@@ -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, rest = __rest(_a, ["timeInSeconds", "timeEndLabel", "onResetClick"]);
47
+ var timeInSeconds = _a.timeInSeconds, timeEndLabel = _a.timeEndLabel, onResetClick = _a.onResetClick, failed = _a.failed, rest = __rest(_a, ["timeInSeconds", "timeEndLabel", "onResetClick", "failed"]);
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) {
58
+ if (onResetClick && (timeValue == 0 || failed)) {
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 && onResetClick ? 'pointer' : 'default'
65
- } }, { children: timeValue > 0 ? (timeValue > 9 ? "00:".concat(timeValue) : "00:0".concat(timeValue)) : timeEndLabel })) })));
64
+ cursor: (timeValue <= 0 || failed) && onResetClick ? 'pointer' : 'default'
65
+ } }, { children: timeValue > 0 && !failed ? (timeValue > 9 ? "00:".concat(timeValue) : "00:0".concat(timeValue)) : timeEndLabel })) })));
66
66
  };
67
67
  OTPTimerComponent.defaultProps = {
68
68
  time: 59
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface TruncatedTooltipTextProps {
3
+ text: string;
4
+ style?: React.CSSProperties;
5
+ }
6
+ declare const TruncatedTooltipText: ({ text, style }: TruncatedTooltipTextProps) => JSX.Element;
7
+ export default TruncatedTooltipText;
@@ -0,0 +1,33 @@
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
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { useRef, useState, useEffect } from 'react';
14
+ import Tooltip from '../Tooltip';
15
+ var TruncatedTooltipText = function (_a) {
16
+ var text = _a.text, style = _a.style;
17
+ var textRef = useRef(null);
18
+ var _b = useState(false), isTruncated = _b[0], setIsTruncated = _b[1];
19
+ var _c = useState(false), hasSpace = _c[0], setHasSpace = _c[1];
20
+ useEffect(function () {
21
+ if (text.includes(' ')) {
22
+ setHasSpace(true);
23
+ return;
24
+ }
25
+ var el = textRef === null || textRef === void 0 ? void 0 : textRef.current;
26
+ if (el) {
27
+ setIsTruncated(el.scrollWidth > el.clientWidth);
28
+ }
29
+ }, [text]);
30
+ var content = (_jsx("span", __assign({ ref: textRef, style: __assign({ whiteSpace: hasSpace ? 'break-spaces' : 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', display: 'block' }, style) }, { children: text })));
31
+ return isTruncated ? (_jsx(Tooltip, __assign({ title: text, placement: 'top' }, { children: content }))) : (content);
32
+ };
33
+ export default TruncatedTooltipText;
@@ -0,0 +1,2 @@
1
+ import TruncatedTooltipText from './TruncatedTooltipText';
2
+ export default TruncatedTooltipText;
@@ -0,0 +1,2 @@
1
+ import TruncatedTooltipText from './TruncatedTooltipText';
2
+ export default TruncatedTooltipText;
@@ -12,8 +12,8 @@ export declare const ENDPOINT_PATHS: {
12
12
  SANDBOX_BASE_URL: string;
13
13
  PRODUCTION_BASE_URL: string;
14
14
  PRODUCTION_BASE_URL_SA: string;
15
+ PRODUCTION_BASE_URL_SA_DR: string;
15
16
  DEV_BASE_URL: string;
16
- BETA_BASE_URL: string;
17
17
  BUSINESS_COUNTRIES: string;
18
18
  COUNTRIES: string;
19
19
  IP: string;
@@ -1,8 +1,8 @@
1
1
  var SANDBOX_BASE_URL = 'https://connect-mw.sandbox.tap.company/middleware';
2
2
  var PRODUCTION_BASE_URL = 'https://connect-mw.tap.company/middleware';
3
3
  var PRODUCTION_BASE_URL_SA = 'https://connect-mw.tap.com.sa/middleware';
4
+ var PRODUCTION_BASE_URL_SA_DR = 'https://connect-mw.tap.com.sa/middleware';
4
5
  var DEV_BASE_URL = 'https://connect-mw.dev.tap.company/middleware';
5
- var BETA_BASE_URL = 'https://connect-mw.beta.tap.company/middleware';
6
6
  var API_BUSINESS_COUNTRIES = 'https://godata.sandbox.tap.company/api/v1/business/country/list';
7
7
  var API_COUNTRIES = 'https://utilities.tap.company/api/v1/country/list';
8
8
  var CURRENCY_PATH = 'https://utilities.tap.company/api/v1/currency/iso';
@@ -71,8 +71,8 @@ export var ENDPOINT_PATHS = {
71
71
  SANDBOX_BASE_URL: SANDBOX_BASE_URL,
72
72
  PRODUCTION_BASE_URL: PRODUCTION_BASE_URL,
73
73
  PRODUCTION_BASE_URL_SA: PRODUCTION_BASE_URL_SA,
74
+ PRODUCTION_BASE_URL_SA_DR: PRODUCTION_BASE_URL_SA_DR,
74
75
  DEV_BASE_URL: DEV_BASE_URL,
75
- BETA_BASE_URL: BETA_BASE_URL,
76
76
  BUSINESS_COUNTRIES: API_BUSINESS_COUNTRIES,
77
77
  COUNTRIES: API_COUNTRIES,
78
78
  IP: IP_PATH,
@@ -1,7 +1,6 @@
1
- import { ScreenStepNavigation, BusinessType } from '../@types';
1
+ import { ScreenStepNavigation, BusinessType, POSInfo, TerminalInfo } from '../@types';
2
2
  export declare const CONNECT_DEV_URL = "https://connect.dev.tap.company";
3
3
  export declare const CONNECT_SANDBOX_URL = "https://connect.sandbox.tap.company";
4
- export declare const CONNECT_BETA_URL = "https://connect.beta.tap.company";
5
4
  export declare const CONNECT_PROD_URL = "https://connect.tap.company";
6
5
  export declare const CLIENT_ORIGIN: string;
7
6
  export declare const TAP_WEBSITE = "https://www.tap.company/";
@@ -15,6 +14,7 @@ export declare const SCOPE_MERCHANT = "merchant";
15
14
  export declare const DEFAULT_COUNTRY_ISO2 = "KW";
16
15
  export declare const NAFATH_VERIFICATION_FAILED = "nafath_verification_failed";
17
16
  export declare const COLLECT_DOB_INFO_NAFATH = "collect_date_of_birth";
17
+ export declare const TERMINAL_PUSH_NOTIFICATION_FAILED = "terminal_push_notification_link_new_terminal_failed";
18
18
  export declare const LANGUAGE_ABBREVIATIONS: {
19
19
  ENGLISH: string;
20
20
  ARABIC: string;
@@ -44,6 +44,7 @@ export declare const TAX_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
44
44
  export declare const SigIn_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
45
45
  export declare const ENTITY_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
46
46
  export declare const BRAND_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
47
+ export declare const TERMINAL_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
47
48
  export declare const DefaultDeviceInfo: {
48
49
  source: string;
49
50
  device: {
@@ -111,6 +112,8 @@ export declare const CONNECT_STEP_NAMES: {
111
112
  CONNECT_MOBILE_OWNERSHIP: string;
112
113
  CONNECT_MOBILE_OWNERSHIP_SKIPPED: string;
113
114
  CONNECT_SUCCESS: string;
115
+ CREATE_AUTH_SESSION_EXPIRED: string;
116
+ VERIFY_AUTH_SESSION_EXPIRED: string;
114
117
  };
115
118
  export declare const AUTH_STEP_NAMES: {
116
119
  CREATE_AUTH_MOBILE: string;
@@ -122,6 +125,8 @@ export declare const AUTH_STEP_NAMES: {
122
125
  VERIFY_AUTH_NID: string;
123
126
  UPDATE_DOB_INFO: string;
124
127
  CREATE_AUTH_PASSCODE: string;
128
+ CREATE_AUTH_SESSION_EXPIRED: string;
129
+ VERIFY_AUTH_SESSION_EXPIRED: string;
125
130
  };
126
131
  export declare const CONNECT_EXPRESS_STEP_NAMES: {
127
132
  CREATE_AUTH_MOBILE: string;
@@ -142,6 +147,8 @@ export declare const CONNECT_EXPRESS_STEP_NAMES: {
142
147
  COLLECT_MOBILE_OWNERSHIP: string;
143
148
  COLLECT_MOBILE_OWNERSHIP_SKIPPED: string;
144
149
  VERIFY_AUTH_MOBILE_OTP: string;
150
+ CREATE_AUTH_SESSION_EXPIRED: string;
151
+ VERIFY_AUTH_SESSION_EXPIRED: string;
145
152
  };
146
153
  export declare const SignIn_STEP_NAMES: {
147
154
  CREATE_AUTH_MOBILE: string;
@@ -215,6 +222,13 @@ export declare const KYC_STEP_NAMES: {
215
222
  KYC_VERIFY_NAFATH: string;
216
223
  KYC_COMPLETED: string;
217
224
  };
225
+ export declare const TERMINAL_STEP_NAMES: {
226
+ PHONE_AUTH: string;
227
+ INFO: string;
228
+ SUCCESS: string;
229
+ CREATE_AUTH: string;
230
+ CREATE_TERMINAL_AUTH: string;
231
+ };
218
232
  export declare const RSA_FRONTEND_MW_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCgC9kH1SQvjbXAUXd0PbrDUG8P\nLhRig9pJNBmdQBZjihuaxfkzYu6ToMbIMAfmYgVgQw338/y7aQ8X3m03CXNIlkxo\nOwxKCA8ymKsZQptXJn9IxlPO7yjoFgTFBrpmTgvcC4XO1uoUYTAPq3szK8kj4zgT\nucWG1hSKsOdRU7sl/wIDAQAB\n-----END PUBLIC KEY-----";
219
233
  export declare const ENCRYPTION_FLAG = "encryption_contract";
220
234
  export declare const BACKEND_ENCRYPTION_FLAG = "backend_encryption_contract";
@@ -227,6 +241,9 @@ export declare const OTHER_FL_LICENSE: {
227
241
  };
228
242
  license: {
229
243
  number: string;
244
+ additional_info: {
245
+ unified_number: string;
246
+ };
230
247
  };
231
248
  type: BusinessType;
232
249
  };
@@ -238,6 +255,9 @@ export declare const OTHER_ENTITY_LICENSE: {
238
255
  };
239
256
  license: {
240
257
  number: string;
258
+ additional_info: {
259
+ unified_number: string;
260
+ };
241
261
  };
242
262
  type: BusinessType;
243
263
  };
@@ -248,6 +268,9 @@ export declare const OTHER_CR_LICENSE: {
248
268
  };
249
269
  license: {
250
270
  number: string;
271
+ additional_info: {
272
+ unified_number: string;
273
+ };
251
274
  };
252
275
  type: BusinessType;
253
276
  };
@@ -309,4 +332,6 @@ interface CountryToCurrencyMapping {
309
332
  [countryCode: string]: string;
310
333
  }
311
334
  export declare const COUNTRY_TO_CURRENCY: CountryToCurrencyMapping;
335
+ export declare const SELECTED_TERMINAL_DEFAULT_INFO: TerminalInfo;
336
+ export declare const SELECTED_POS_DEFAULT_INFO: POSInfo;
312
337
  export {};