@tap-payments/auth-jsconnect 2.6.40-test → 2.6.46-test

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (337) hide show
  1. package/build/api/availabilityServices.d.ts +1 -0
  2. package/build/app/settings.js +18 -12
  3. package/build/assets/locales/ar.json +2 -1
  4. package/build/assets/locales/en.json +2 -1
  5. package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
  6. package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
  7. package/build/components/AnimationFlow/Dialog.d.ts +1 -1
  8. package/build/components/AnimationFlow/Error.d.ts +1 -2
  9. package/build/components/AnimationFlow/Loader.d.ts +1 -2
  10. package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
  11. package/build/components/Button/Button.d.ts +1 -1
  12. package/build/components/CheckBox/CheckBox.d.ts +1 -1
  13. package/build/components/Collapse/Collapse.d.ts +1 -2
  14. package/build/components/DatePicker/DatePicker.d.ts +1 -1
  15. package/build/components/ExpandIcon/ExpandIcon.d.ts +1 -2
  16. package/build/components/FileInput/DragAndDrop.d.ts +1 -2
  17. package/build/components/FileInput/UploadInput.d.ts +1 -2
  18. package/build/components/Footer/Footer.d.ts +1 -1
  19. package/build/components/Form/Form.d.ts +1 -1
  20. package/build/components/Input/Input.d.ts +1 -1
  21. package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
  22. package/build/components/List/List.d.ts +1 -1
  23. package/build/components/ListItem/ListItem.d.ts +1 -1
  24. package/build/components/Loader/Loader.d.ts +1 -1
  25. package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
  26. package/build/components/OTPField/OTPField.d.ts +1 -1
  27. package/build/components/OTPTimer/OTPTimer.d.ts +1 -1
  28. package/build/components/ProgressBar/CircularProgressBar.d.ts +1 -2
  29. package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
  30. package/build/components/Providers/ReduxProvider.d.ts +1 -1
  31. package/build/components/Providers/ThemeProvider.d.ts +1 -1
  32. package/build/components/Radio/Radio.d.ts +1 -1
  33. package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
  34. package/build/components/RadioLabel/RadioLabel.d.ts +1 -1
  35. package/build/components/SimpleList/SimpleList.d.ts +1 -1
  36. package/build/components/Slide/Slide.d.ts +1 -1
  37. package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
  38. package/build/components/Text/Text.d.ts +1 -1
  39. package/build/components/ToggleButton/ToggleButton.d.ts +1 -1
  40. package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  41. package/build/components/Tooltip/Tooltip.d.ts +1 -1
  42. package/build/components/Warning/Warning.d.ts +1 -1
  43. package/build/constants/app.js +6 -0
  44. package/build/features/app/board/boardStore.d.ts +4 -1
  45. package/build/features/app/board/boardStore.js +30 -16
  46. package/build/features/app/connect/connectStore.d.ts +3 -17
  47. package/build/features/app/connect/connectStore.js +49 -122
  48. package/build/features/app/connectExpress/connectExpressStore.js +8 -5
  49. package/build/features/app/individual/individualStore.js +9 -6
  50. package/build/features/bank/Bank.d.ts +1 -2
  51. package/build/features/bank/screens/BankDetails/BankDetails.d.ts +1 -2
  52. package/build/features/bank/screens/BankDetails/BankName.d.ts +1 -2
  53. package/build/features/bank/screens/BankDetails/BankStatement.d.ts +1 -2
  54. package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +1 -2
  55. package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +1 -2
  56. package/build/features/bank/screens/BankDetails/IBAN.d.ts +1 -2
  57. package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  58. package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  59. package/build/features/bank/screens/Success/Success.d.ts +1 -1
  60. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  61. package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
  62. package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
  63. package/build/features/board/Board.d.ts +1 -2
  64. package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  65. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  66. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +1 -1
  67. package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
  68. package/build/features/board/screens/Verify/Verify.d.ts +1 -1
  69. package/build/features/brand/Brand.d.ts +1 -2
  70. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +14 -30
  71. package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +1 -2
  72. package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +13 -37
  73. package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +1 -2
  74. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +1 -2
  75. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +10 -18
  76. package/build/features/brand/screens/BrandActivities/TAC.d.ts +2 -2
  77. package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +1 -2
  78. package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +1 -2
  79. package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +1 -2
  80. package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
  81. package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +1 -2
  82. package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +1 -2
  83. package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +1 -2
  84. package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +1 -2
  85. package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +1 -2
  86. package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +1 -2
  87. package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  88. package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  89. package/build/features/brand/screens/Success/Success.d.ts +1 -1
  90. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  91. package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
  92. package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
  93. package/build/features/business/Business.d.ts +1 -2
  94. package/build/features/business/screens/Activities/Activities.d.ts +1 -2
  95. package/build/features/business/screens/Activities/ActivitiesList.d.ts +9 -25
  96. package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
  97. package/build/features/business/screens/Activities/OperationStartDate.d.ts +5 -13
  98. package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
  99. package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
  100. package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
  101. package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
  102. package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +5 -13
  103. package/build/features/business/screens/BusinessType/Article.d.ts +1 -2
  104. package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
  105. package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
  106. package/build/features/business/screens/BusinessType/EntityName.d.ts +1 -2
  107. package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +1 -2
  108. package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
  109. package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
  110. package/build/features/business/screens/BusinessType/LicenseType.d.ts +5 -5
  111. package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
  112. package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
  113. package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
  114. package/build/features/business/screens/Customers/CustomerLocations.d.ts +18 -42
  115. package/build/features/business/screens/Customers/Customers.d.ts +1 -1
  116. package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +1 -2
  117. package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +1 -2
  118. package/build/features/business/screens/Customers/RefundPolicy.d.ts +10 -18
  119. package/build/features/business/screens/Customers/TransactionPolicy.d.ts +1 -2
  120. package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
  121. package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
  122. package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
  123. package/build/features/business/screens/OTP/OTP.d.ts +1 -1
  124. package/build/features/business/screens/OTP/OTPInput.d.ts +1 -1
  125. package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  126. package/build/features/business/screens/Success/Success.d.ts +1 -1
  127. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  128. package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
  129. package/build/features/business/screens/Verify/Verify.d.ts +1 -1
  130. package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  131. package/build/features/connect/Connect.d.ts +1 -2
  132. package/build/features/connect/Connect.js +4 -0
  133. package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
  134. package/build/features/connect/screens/BrandSegment/BrandSegment.js +3 -25
  135. package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +1 -2
  136. package/build/features/connect/screens/BrandSegment/TeamSize.js +1 -1
  137. package/build/features/connect/screens/BrandSegment/validation.d.ts +0 -9
  138. package/build/features/connect/screens/BrandSegment/validation.js +0 -3
  139. package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  140. package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
  141. package/build/features/connect/screens/Individual/Email.d.ts +1 -1
  142. package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
  143. package/build/features/connect/screens/Individual/Name.d.ts +1 -1
  144. package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
  145. package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
  146. package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
  147. package/build/features/connect/screens/Merchant/SalesChannels.d.ts +1 -2
  148. package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
  149. package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
  150. package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
  151. package/build/features/connect/screens/NID/DOB.d.ts +1 -2
  152. package/build/features/connect/screens/NID/NID.d.ts +1 -1
  153. package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
  154. package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
  155. package/build/features/connect/screens/OperatorError/OperatorError.d.ts +5 -0
  156. package/build/features/connect/screens/OperatorError/OperatorError.js +9 -0
  157. package/build/features/connect/screens/OperatorError/index.d.ts +3 -0
  158. package/build/features/connect/screens/OperatorError/index.js +2 -0
  159. package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
  160. package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  161. package/build/features/connectExpress/ConnectExpress.d.ts +1 -2
  162. package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
  163. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
  164. package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
  165. package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
  166. package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
  167. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  168. package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
  169. package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
  170. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
  171. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
  172. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
  173. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
  174. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +5 -5
  175. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +1 -1
  176. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +2 -2
  177. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
  178. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
  179. package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
  180. package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
  181. package/build/features/connectExpress/screens/IdentityOTP/OTP.d.ts +1 -1
  182. package/build/features/connectExpress/screens/IdentityOTP/OTPInput.d.ts +1 -1
  183. package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +1 -1
  184. package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
  185. package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
  186. package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
  187. package/build/features/connectExpress/screens/NID/DOB.d.ts +1 -2
  188. package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
  189. package/build/features/connectExpress/screens/NID/TAC.d.ts +2 -2
  190. package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +1 -2
  191. package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
  192. package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
  193. package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
  194. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  195. package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  196. package/build/features/entity/Entity.d.ts +1 -2
  197. package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +9 -25
  198. package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
  199. package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
  200. package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
  201. package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +1 -2
  202. package/build/features/entity/screens/EntityName/Article.d.ts +1 -2
  203. package/build/features/entity/screens/EntityName/EntityName.d.ts +1 -2
  204. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +14 -30
  205. package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +5 -13
  206. package/build/features/entity/screens/EntityName/IssuingDate.d.ts +5 -13
  207. package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
  208. package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -2
  209. package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
  210. package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
  211. package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  212. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  213. package/build/features/entity/screens/Success/Success.d.ts +1 -1
  214. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  215. package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
  216. package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
  217. package/build/features/featuresScreens.js +5 -0
  218. package/build/features/individual/Individual.d.ts +1 -2
  219. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +5 -13
  220. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +1 -2
  221. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
  222. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
  223. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -2
  224. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +5 -5
  225. package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
  226. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
  227. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +1 -2
  228. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
  229. package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
  230. package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
  231. package/build/features/individual/screens/IndividualList/IndividualList.d.ts +9 -25
  232. package/build/features/individual/screens/IndividualList/UserList.d.ts +1 -2
  233. package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
  234. package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
  235. package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
  236. package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +5 -5
  237. package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
  238. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +5 -13
  239. package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
  240. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
  241. package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  242. package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  243. package/build/features/individual/screens/Success/Success.d.ts +1 -1
  244. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  245. package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
  246. package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
  247. package/build/features/password/Password.d.ts +1 -2
  248. package/build/features/password/screens/CreatePassword/ConditionText.d.ts +1 -2
  249. package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
  250. package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
  251. package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
  252. package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +1 -2
  253. package/build/features/password/screens/OTP/OTP.d.ts +1 -1
  254. package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
  255. package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  256. package/build/features/password/screens/Success/Success.d.ts +1 -1
  257. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  258. package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
  259. package/build/features/password/screens/Verify/Verify.d.ts +1 -1
  260. package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +1 -2
  261. package/build/features/shared/Address/Address.d.ts +1 -2
  262. package/build/features/shared/Address/CountryList.d.ts +13 -29
  263. package/build/features/shared/Address/InputSelect.d.ts +13 -29
  264. package/build/features/shared/Address/InputText.d.ts +1 -1
  265. package/build/features/shared/Background/Background.d.ts +1 -1
  266. package/build/features/shared/Background/LogoBackground.d.ts +1 -1
  267. package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +1 -2
  268. package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +1 -2
  269. package/build/features/shared/Button/AbsherButton.d.ts +1 -2
  270. package/build/features/shared/Button/Button.d.ts +1 -2
  271. package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -2
  272. package/build/features/shared/Button/FlowsButtons.d.ts +1 -2
  273. package/build/features/shared/Button/IndividualActionButtons.d.ts +1 -1
  274. package/build/features/shared/Button/MobileButton.d.ts +1 -2
  275. package/build/features/shared/Button/SuccessButton.d.ts +1 -2
  276. package/build/features/shared/Calender/Calender.d.ts +1 -2
  277. package/build/features/shared/CheckIcon/CheckIcon.d.ts +1 -2
  278. package/build/features/shared/Chip/Chip.d.ts +1 -2
  279. package/build/features/shared/ClearIcon/ClearIcon.d.ts +1 -2
  280. package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
  281. package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
  282. package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
  283. package/build/features/shared/DataLoading/DataLoading.d.ts +1 -1
  284. package/build/features/shared/Dialog/CloseDialog.d.ts +1 -2
  285. package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
  286. package/build/features/shared/Dot/Dot.d.ts +1 -2
  287. package/build/features/shared/EndAdornment/EndAdornment.d.ts +1 -2
  288. package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +1 -2
  289. package/build/features/shared/Footer/Footer.d.ts +1 -2
  290. package/build/features/shared/Footer/PoweredByFooter.d.ts +1 -2
  291. package/build/features/shared/GenericError/GenericError.d.ts +1 -1
  292. package/build/features/shared/Input/Input.d.ts +6 -14
  293. package/build/features/shared/InputSelect/InputSelect.d.ts +1 -2
  294. package/build/features/shared/Mandatory/Mandatory.d.ts +1 -2
  295. package/build/features/shared/OTP/OTP.d.ts +1 -1
  296. package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
  297. package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +1 -2
  298. package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +1 -2
  299. package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
  300. package/build/features/shared/Search/Search.d.ts +1 -2
  301. package/build/features/shared/SearchIcon/SearchIcon.d.ts +1 -2
  302. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
  303. package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
  304. package/build/features/shared/UploadFile/FileUpload.d.ts +2 -2
  305. package/build/features/shared/UploadFile/UploadFile.d.ts +2 -2
  306. package/build/features/shared/UploadFile/UploadWrapper.d.ts +2 -2
  307. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +2 -2
  308. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +2 -2
  309. package/build/features/signIn/SignIn.d.ts +1 -2
  310. package/build/features/signIn/screens/Email/Email.d.ts +1 -1
  311. package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
  312. package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
  313. package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
  314. package/build/features/signIn/screens/Password/Password.d.ts +1 -1
  315. package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
  316. package/build/features/tax/Tax.d.ts +1 -2
  317. package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  318. package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  319. package/build/features/tax/screens/Success/Success.d.ts +1 -1
  320. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  321. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +1 -2
  322. package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +1 -2
  323. package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +1 -2
  324. package/build/features/tax/screens/TaxDetails/VATId.d.ts +1 -2
  325. package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
  326. package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
  327. package/build/hooks/useExcludeReadOnlyFelids.d.ts +1 -1
  328. package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +1 -1
  329. package/build/hooks/useFormReadOnly.d.ts +1 -1
  330. package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
  331. package/package.json +1 -1
  332. package/build/features/connect/screens/BrandSegment/SegmentLocations.d.ts +0 -8
  333. package/build/features/connect/screens/BrandSegment/SegmentLocations.js +0 -66
  334. package/build/features/connect/screens/BrandSegment/SegmentProfits.d.ts +0 -8
  335. package/build/features/connect/screens/BrandSegment/SegmentProfits.js +0 -66
  336. package/build/features/connect/screens/BrandSegment/SegmentTechs.d.ts +0 -8
  337. package/build/features/connect/screens/BrandSegment/SegmentTechs.js +0 -66
@@ -462,35 +462,11 @@ export var retrieveLead = createAsyncThunk('connect/retrieveLead', function (par
462
462
  }
463
463
  });
464
464
  }); });
465
- export var retrieveSegmentDataList = createAsyncThunk('connectRetrieveSegmentDataList', function () { return __awaiter(void 0, void 0, void 0, function () {
466
- var dataBody, _a, segmentLocation, segmentProfit, segmentTech;
467
- return __generator(this, function (_b) {
468
- switch (_b.label) {
469
- case 0:
470
- dataBody = {
471
- page: 0,
472
- limit: 50
473
- };
474
- return [4, Promise.all([
475
- API.dataService.getSegmentLocation(dataBody),
476
- API.dataService.getSegmentProfit(dataBody),
477
- API.dataService.getSegmentTech(dataBody)
478
- ])];
479
- case 1:
480
- _a = _b.sent(), segmentLocation = _a[0].list, segmentProfit = _a[1].list, segmentTech = _a[2].list;
481
- return [2, {
482
- segmentLocation: segmentLocation,
483
- segmentProfit: segmentProfit,
484
- segmentTech: segmentTech
485
- }];
486
- }
487
- });
488
- }); });
489
465
  export var updateLeadBrand = createAsyncThunk('updateLeadBrand', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
490
- var _a, settings, connect, responseBody, leadBrandId, isNewBrand, brandName, salesChannels, selectedBrandItem, brandLogoId, termAndConditionChecked, getAddress, channel_services, payload_1, brandReqBody_1, brand_1, _b, segmentLocation, segmentProfit, segmentTech, err_5, teamSize, err_6, brandNameBody, payload, lead, brandReqBody, brand, _c, segmentLocation, segmentProfit, segmentTech, err_7, teamSize, err_8;
491
- var _d, _e, _f, _g, _h;
492
- return __generator(this, function (_j) {
493
- switch (_j.label) {
466
+ var _a, settings, connect, responseBody, leadBrandId, isNewBrand, brandName, salesChannels, selectedBrandItem, brandLogoId, termAndConditionChecked, getAddress, channel_services, payload_1, brandReqBody_1, brand_1, teamSize, err_5, brandNameBody, payload, lead, brandReqBody, brand, teamSize, err_6;
467
+ var _b, _c, _d, _e, _f;
468
+ return __generator(this, function (_g) {
469
+ switch (_g.label) {
494
470
  case 0:
495
471
  _a = thunkApi.getState(), settings = _a.settings, connect = _a.connect;
496
472
  responseBody = connect.data.otpData.responseBody;
@@ -513,7 +489,7 @@ export var updateLeadBrand = createAsyncThunk('updateLeadBrand', function (param
513
489
  })
514
490
  };
515
491
  });
516
- if (!!isNewBrand) return [3, 11];
492
+ if (!!isNewBrand) return [3, 8];
517
493
  if (!(leadBrandId !== (selectedBrandItem === null || selectedBrandItem === void 0 ? void 0 : selectedBrandItem.id))) return [3, 2];
518
494
  payload_1 = {
519
495
  brand: {
@@ -525,8 +501,8 @@ export var updateLeadBrand = createAsyncThunk('updateLeadBrand', function (param
525
501
  };
526
502
  return [4, API.leadService.updateLead(payload_1)];
527
503
  case 1:
528
- _j.sent();
529
- _j.label = 2;
504
+ _g.sent();
505
+ _g.label = 2;
530
506
  case 2:
531
507
  brandReqBody_1 = {
532
508
  id: (selectedBrandItem === null || selectedBrandItem === void 0 ? void 0 : selectedBrandItem.id) || '',
@@ -536,35 +512,23 @@ export var updateLeadBrand = createAsyncThunk('updateLeadBrand', function (param
536
512
  };
537
513
  return [4, API.brandService.updateBrandInfo(brandReqBody_1)];
538
514
  case 3:
539
- brand_1 = _j.sent();
540
- _j.label = 4;
515
+ brand_1 = _g.sent();
516
+ _g.label = 4;
541
517
  case 4:
542
- _j.trys.push([4, 6, , 7]);
543
- return [4, thunkApi.dispatch(retrieveSegmentDataList()).unwrap()];
518
+ _g.trys.push([4, 6, , 7]);
519
+ return [4, API.dataService.getTeamSize({ page: 0 })];
544
520
  case 5:
545
- _b = _j.sent(), segmentLocation = _b.segmentLocation, segmentProfit = _b.segmentProfit, segmentTech = _b.segmentTech;
546
- brand_1.segment_location_list = segmentLocation;
547
- brand_1.segment_profit_list = segmentProfit;
548
- brand_1.segment_tech_list = segmentTech;
521
+ teamSize = _g.sent();
522
+ brand_1.team_size_list = teamSize.list;
549
523
  return [3, 7];
550
524
  case 6:
551
- err_5 = _j.sent();
525
+ err_5 = _g.sent();
552
526
  return [3, 7];
553
527
  case 7:
554
- _j.trys.push([7, 9, , 10]);
555
- return [4, API.dataService.getTeamSize({ page: 0 })];
556
- case 8:
557
- teamSize = _j.sent();
558
- brand_1.team_size_list = teamSize.list;
559
- return [3, 10];
560
- case 9:
561
- err_6 = _j.sent();
562
- return [3, 10];
563
- case 10:
564
528
  sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep()); });
565
- (_e = (_d = settings.data.appConfig).onStepCompleted) === null || _e === void 0 ? void 0 : _e.call(_d, settings.data.activeScreen.name, params);
529
+ (_c = (_b = settings.data.appConfig).onStepCompleted) === null || _c === void 0 ? void 0 : _c.call(_b, settings.data.activeScreen.name, params);
566
530
  return [2, { response: brand_1, formData: params }];
567
- case 11:
531
+ case 8:
568
532
  brandNameBody = {
569
533
  id: '',
570
534
  name: {
@@ -580,53 +544,41 @@ export var updateLeadBrand = createAsyncThunk('updateLeadBrand', function (param
580
544
  encryption_contract: ['brand.name.en', 'brand.name.ar', 'brand.name.zh']
581
545
  };
582
546
  return [4, API.leadService.updateLead(payload)];
583
- case 12:
584
- lead = _j.sent();
547
+ case 9:
548
+ lead = _g.sent();
585
549
  if (!lead.brand) {
586
550
  console.error('Internal server error: brand is not created');
587
551
  throw new Error('Internal server error');
588
552
  }
589
553
  brandReqBody = {
590
- id: ((_f = lead.brand) === null || _f === void 0 ? void 0 : _f.id) || '',
554
+ id: ((_d = lead.brand) === null || _d === void 0 ? void 0 : _d.id) || '',
591
555
  channel_services: channel_services,
592
556
  term: ['general'],
593
557
  step_name: CONNECT_STEP_NAMES.UPDATE_BRAND_INFO
594
558
  };
595
559
  return [4, API.brandService.updateBrandInfo(brandReqBody)];
596
- case 13:
597
- brand = _j.sent();
598
- _j.label = 14;
599
- case 14:
600
- _j.trys.push([14, 16, , 17]);
601
- return [4, thunkApi.dispatch(retrieveSegmentDataList()).unwrap()];
602
- case 15:
603
- _c = _j.sent(), segmentLocation = _c.segmentLocation, segmentProfit = _c.segmentProfit, segmentTech = _c.segmentTech;
604
- brand.segment_location_list = segmentLocation;
605
- brand.segment_profit_list = segmentProfit;
606
- brand.segment_tech_list = segmentTech;
607
- return [3, 17];
608
- case 16:
609
- err_7 = _j.sent();
610
- return [3, 17];
611
- case 17:
612
- _j.trys.push([17, 19, , 20]);
560
+ case 10:
561
+ brand = _g.sent();
562
+ _g.label = 11;
563
+ case 11:
564
+ _g.trys.push([11, 13, , 14]);
613
565
  return [4, API.dataService.getTeamSize({ page: 0 })];
614
- case 18:
615
- teamSize = _j.sent();
566
+ case 12:
567
+ teamSize = _g.sent();
616
568
  brand.team_size_list = teamSize.list;
617
- return [3, 20];
618
- case 19:
619
- err_8 = _j.sent();
620
- return [3, 20];
621
- case 20:
569
+ return [3, 14];
570
+ case 13:
571
+ err_6 = _g.sent();
572
+ return [3, 14];
573
+ case 14:
622
574
  sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep()); });
623
- (_h = (_g = settings.data.appConfig).onStepCompleted) === null || _h === void 0 ? void 0 : _h.call(_g, settings.data.activeScreen.name, params);
575
+ (_f = (_e = settings.data.appConfig).onStepCompleted) === null || _f === void 0 ? void 0 : _f.call(_e, settings.data.activeScreen.name, params);
624
576
  return [2, { response: brand, formData: params }];
625
577
  }
626
578
  });
627
579
  }); });
628
580
  export var updateLeadBrandSegment = createAsyncThunk('updateLeadBrandSegment', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
629
- var _a, settings, connect, responseBody, leadBrandId, segmentLocation, segmentProfit, segmentTech, teamSize, brandReqBody, brand;
581
+ var _a, settings, connect, responseBody, leadBrandId, teamSize, brandReqBody, brand;
630
582
  var _b, _c, _d;
631
583
  return __generator(this, function (_e) {
632
584
  switch (_e.label) {
@@ -634,11 +586,13 @@ export var updateLeadBrandSegment = createAsyncThunk('updateLeadBrandSegment', f
634
586
  _a = thunkApi.getState(), settings = _a.settings, connect = _a.connect;
635
587
  responseBody = connect.data.brandData.responseBody;
636
588
  leadBrandId = (_b = responseBody === null || responseBody === void 0 ? void 0 : responseBody.brand) === null || _b === void 0 ? void 0 : _b.id;
637
- segmentLocation = params.segmentLocation, segmentProfit = params.segmentProfit, segmentTech = params.segmentTech, teamSize = params.teamSize;
589
+ teamSize = params.teamSize;
638
590
  brandReqBody = {
639
591
  id: leadBrandId || '',
640
592
  step_name: CONNECT_STEP_NAMES.UPDATE_BRAND_SEGMENT_INFO,
641
- segment: __assign(__assign(__assign(__assign({}, ((segmentLocation === null || segmentLocation === void 0 ? void 0 : segmentLocation.id) && { location_type: { id: segmentLocation.id } })), ((segmentProfit === null || segmentProfit === void 0 ? void 0 : segmentProfit.id) && { profit_type: { id: segmentProfit.id } })), ((segmentTech === null || segmentTech === void 0 ? void 0 : segmentTech.id) && { tech_type: { id: segmentTech.id } })), { team: { id: (teamSize === null || teamSize === void 0 ? void 0 : teamSize.id) || '' } })
593
+ segment: {
594
+ team: { id: (teamSize === null || teamSize === void 0 ? void 0 : teamSize.id) || '' }
595
+ }
642
596
  };
643
597
  return [4, API.brandService.updateBrandInfo(brandReqBody)];
644
598
  case 1:
@@ -650,20 +604,23 @@ export var updateLeadBrandSegment = createAsyncThunk('updateLeadBrandSegment', f
650
604
  }
651
605
  });
652
606
  }); });
653
- export var checkEmailAvailability = createAsyncThunk('checkEmailAvailability', function (_a) {
607
+ export var checkEmailAvailability = createAsyncThunk('checkEmailAvailability', function (_a, thunkApi) {
654
608
  var email = _a.email, cancelToken = _a.cancelToken, onSuccess = _a.onSuccess;
655
609
  return __awaiter(void 0, void 0, void 0, function () {
656
- var requestBody, data;
657
- return __generator(this, function (_b) {
658
- switch (_b.label) {
610
+ var connect, requestBody, data;
611
+ var _b, _c;
612
+ return __generator(this, function (_d) {
613
+ switch (_d.label) {
659
614
  case 0:
615
+ connect = thunkApi.getState().connect;
660
616
  requestBody = {
661
617
  email: email,
618
+ country: (_c = (_b = connect.data.otpData.responseBody) === null || _b === void 0 ? void 0 : _b.leadData) === null || _c === void 0 ? void 0 : _c.country_code,
662
619
  encryption_contract: ['email']
663
620
  };
664
621
  return [4, API.availabilityServices.checkEmail(requestBody, { cancelToken: cancelToken })];
665
622
  case 1:
666
- data = (_b.sent()).data;
623
+ data = (_d.sent()).data;
667
624
  onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess();
668
625
  if (!data.errors)
669
626
  return [2, { response: data, formData: email }];
@@ -764,9 +721,6 @@ var initialState = {
764
721
  }
765
722
  },
766
723
  brandSegmentData: {
767
- segmentLocation: undefined,
768
- segmentProfit: undefined,
769
- segmentTech: undefined,
770
724
  teamSize: undefined
771
725
  }
772
726
  }
@@ -896,7 +850,7 @@ export var connectSlice = createSlice({
896
850
  channel_list: channel_list,
897
851
  brandData: brand
898
852
  };
899
- state.data.otpData.responseBody = __assign(__assign({}, authResponse), { is_new_individual: is_new_individual, lead_id: id, brand_id: brand === null || brand === void 0 ? void 0 : brand.id, name: name, contact: contact });
853
+ state.data.otpData.responseBody = __assign(__assign({}, authResponse), { is_new_individual: is_new_individual, lead_id: id, brand_id: brand === null || brand === void 0 ? void 0 : brand.id, name: name, contact: contact, leadData: leadResponse });
900
854
  })
901
855
  .addCase(verifyPACI.rejected, function (state, action) {
902
856
  state.loading = false;
@@ -939,7 +893,7 @@ export var connectSlice = createSlice({
939
893
  channel_list: channel_list,
940
894
  brandData: brand
941
895
  };
942
- state.data.otpData.responseBody = __assign(__assign({}, authResponse), { is_new_individual: is_new_individual, lead_id: id, brand_id: brand === null || brand === void 0 ? void 0 : brand.id, name: name, contact: contact });
896
+ state.data.otpData.responseBody = __assign(__assign({}, authResponse), { is_new_individual: is_new_individual, lead_id: id, brand_id: brand === null || brand === void 0 ? void 0 : brand.id, name: name, contact: contact, leadData: leadResponse });
943
897
  })
944
898
  .addCase(verifyAuth.pending, function (state) {
945
899
  state.loading = true;
@@ -1004,47 +958,20 @@ export var connectSlice = createSlice({
1004
958
  .addCase(updateLeadIndividual.rejected, function (state, action) {
1005
959
  state.loading = false;
1006
960
  state.error = action.error.message;
1007
- })
1008
- .addCase(retrieveSegmentDataList.pending, function (state) {
1009
- state.loading = true;
1010
- state.error = null;
1011
- })
1012
- .addCase(retrieveSegmentDataList.fulfilled, function (state) {
1013
- state.loading = false;
1014
- state.error = null;
1015
- })
1016
- .addCase(retrieveSegmentDataList.rejected, function (state, action) {
1017
- state.loading = false;
1018
- state.error = action.error.message;
1019
961
  })
1020
962
  .addCase(updateLeadBrand.fulfilled, function (state, action) {
1021
963
  state.loading = false;
1022
964
  state.error = null;
1023
965
  var _a = action.payload, formData = _a.formData, response = _a.response;
1024
- var _b = response || {}, segment_location_list = _b.segment_location_list, segment_profit_list = _b.segment_profit_list, segment_tech_list = _b.segment_tech_list, team_size_list = _b.team_size_list, brand = _b.brand;
1025
- var selectedSegmentLocation = segment_location_list === null || segment_location_list === void 0 ? void 0 : segment_location_list.find(function (location) {
1026
- var _a, _b;
1027
- return location.id === ((_b = (_a = brand === null || brand === void 0 ? void 0 : brand.segment) === null || _a === void 0 ? void 0 : _a.location_type) === null || _b === void 0 ? void 0 : _b.id);
1028
- });
1029
- var selectedSegmentProfit = segment_profit_list === null || segment_profit_list === void 0 ? void 0 : segment_profit_list.find(function (profit) {
1030
- var _a, _b;
1031
- return profit.id === ((_b = (_a = brand === null || brand === void 0 ? void 0 : brand.segment) === null || _a === void 0 ? void 0 : _a.profit_type) === null || _b === void 0 ? void 0 : _b.id);
1032
- });
1033
- var selectedSegmentTech = segment_tech_list === null || segment_tech_list === void 0 ? void 0 : segment_tech_list.find(function (tech) {
1034
- var _a, _b;
1035
- return tech.id === ((_b = (_a = brand === null || brand === void 0 ? void 0 : brand.segment) === null || _a === void 0 ? void 0 : _a.tech_type) === null || _b === void 0 ? void 0 : _b.id);
1036
- });
966
+ var _b = response || {}, team_size_list = _b.team_size_list, brand = _b.brand;
1037
967
  var selectedTeamSize = team_size_list === null || team_size_list === void 0 ? void 0 : team_size_list.find(function (_a) {
1038
968
  var _b, _c;
1039
969
  var id = _a.id;
1040
970
  return ((_c = (_b = brand === null || brand === void 0 ? void 0 : brand.segment) === null || _b === void 0 ? void 0 : _b.team) === null || _c === void 0 ? void 0 : _c.id) === id;
1041
971
  });
1042
- state.data.brandSegmentData.segmentLocation = selectedSegmentLocation || (segment_location_list === null || segment_location_list === void 0 ? void 0 : segment_location_list[0]);
1043
- state.data.brandSegmentData.segmentProfit = selectedSegmentProfit || (segment_profit_list === null || segment_profit_list === void 0 ? void 0 : segment_profit_list[0]);
1044
- state.data.brandSegmentData.segmentTech = selectedSegmentTech || (segment_tech_list === null || segment_tech_list === void 0 ? void 0 : segment_tech_list[1]);
1045
972
  state.data.brandSegmentData.teamSize = selectedTeamSize;
1046
973
  state.data.brandData = __assign(__assign({}, formData), { responseBody: __assign(__assign({}, state.data.brandData.responseBody), { brand: brand }) });
1047
- state.data.brandSegmentData.responseBody = { segment_location_list: segment_location_list, segment_profit_list: segment_profit_list, segment_tech_list: segment_tech_list, team_size_list: team_size_list };
974
+ state.data.brandSegmentData.responseBody = { team_size_list: team_size_list };
1048
975
  })
1049
976
  .addCase(updateLeadBrand.pending, function (state) {
1050
977
  state.loading = true;
@@ -782,20 +782,23 @@ export var verifyPaciOtpLeadIdentityAsync = createAsyncThunk('connectExpress/ver
782
782
  }
783
783
  });
784
784
  }); });
785
- export var checkEmailAvailabilityAsync = createAsyncThunk('connectExpress/CheckEmailAvailabilityAsync', function (_a) {
785
+ export var checkEmailAvailabilityAsync = createAsyncThunk('connectExpress/CheckEmailAvailabilityAsync', function (_a, thunkApi) {
786
786
  var email = _a.email, cancelToken = _a.cancelToken, onSuccess = _a.onSuccess;
787
787
  return __awaiter(void 0, void 0, void 0, function () {
788
- var requestBody, data;
789
- return __generator(this, function (_b) {
790
- switch (_b.label) {
788
+ var connectExpress, requestBody, data;
789
+ var _b, _c;
790
+ return __generator(this, function (_d) {
791
+ switch (_d.label) {
791
792
  case 0:
793
+ connectExpress = thunkApi.getState().connectExpress;
792
794
  requestBody = {
793
795
  email: email,
796
+ country: (_c = (_b = connectExpress.data.responseData) === null || _b === void 0 ? void 0 : _b.leadData) === null || _c === void 0 ? void 0 : _c.country_code,
794
797
  encryption_contract: ['email']
795
798
  };
796
799
  return [4, API.availabilityServices.checkEmail(requestBody, { cancelToken: cancelToken })];
797
800
  case 1:
798
- data = (_b.sent()).data;
801
+ data = (_d.sent()).data;
799
802
  onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess();
800
803
  if (!data.errors)
801
804
  return [2, { response: data, formData: email }];
@@ -763,20 +763,23 @@ export var updateIndividualInfo = createAsyncThunk('updateIndividualInfo', funct
763
763
  });
764
764
  });
765
765
  });
766
- export var checkEmailAvailability = createAsyncThunk('checkEmailAvailability', function (_a) {
766
+ export var checkEmailAvailability = createAsyncThunk('checkEmailAvailability', function (_a, thunkApi) {
767
767
  var email = _a.email, cancelToken = _a.cancelToken, onSuccess = _a.onSuccess;
768
768
  return __awaiter(void 0, void 0, void 0, function () {
769
- var requestBody, data;
770
- return __generator(this, function (_b) {
771
- switch (_b.label) {
769
+ var settings, requestBody, data;
770
+ var _b;
771
+ return __generator(this, function (_c) {
772
+ switch (_c.label) {
772
773
  case 0:
774
+ settings = thunkApi.getState().settings;
773
775
  requestBody = {
774
776
  email: email,
777
+ country: (_b = settings.data.businessCountry) === null || _b === void 0 ? void 0 : _b.iso2,
775
778
  encryption_contract: ['email']
776
779
  };
777
780
  return [4, API.availabilityServices.checkEmail(requestBody, { cancelToken: cancelToken })];
778
781
  case 1:
779
- data = (_b.sent()).data;
782
+ data = (_c.sent()).data;
780
783
  onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess();
781
784
  if (!data.errors)
782
785
  return [2, { response: data, formData: email }];
@@ -1171,7 +1174,7 @@ export var individualSlice = createSlice({
1171
1174
  var occupationList = (occupationData === null || occupationData === void 0 ? void 0 : occupationData.list) || [];
1172
1175
  state.data.individualData.responseBody = __assign(__assign({}, data), { sourceIncomeList: sourceIncomeList, monthlyIncomeList: monthlyIncomeList, occupationList: occupationList });
1173
1176
  var _d = ((_b = state.data.verify.responseBody) === null || _b === void 0 ? void 0 : _b.user) || {}, source_income = _d.source_income, monthly_income = _d.monthly_income, occupation = _d.occupation;
1174
- var selectedSourceIncome = (sourceIncomeList === null || sourceIncomeList === void 0 ? void 0 : sourceIncomeList.find(function (source) { var _a; return (source === null || source === void 0 ? void 0 : source.id) === ((_a = source_income === null || source_income === void 0 ? void 0 : source_income[0]) === null || _a === void 0 ? void 0 : _a.id); })) || (sourceIncomeList === null || sourceIncomeList === void 0 ? void 0 : sourceIncomeList[0]);
1177
+ var selectedSourceIncome = sourceIncomeList === null || sourceIncomeList === void 0 ? void 0 : sourceIncomeList.find(function (source) { var _a; return (source === null || source === void 0 ? void 0 : source.id) === ((_a = source_income === null || source_income === void 0 ? void 0 : source_income[0]) === null || _a === void 0 ? void 0 : _a.id); });
1175
1178
  if (!!selectedSourceIncome)
1176
1179
  state.data.individualData.sourceIncome = selectedSourceIncome;
1177
1180
  var selectedMonthlyIncome = monthlyIncomeList === null || monthlyIncomeList === void 0 ? void 0 : monthlyIncomeList.find(function (income) {
@@ -1,10 +1,9 @@
1
- /// <reference types="react" />
2
1
  import { LibConfig } from '../../@types';
3
2
  export interface BankLibProps extends LibConfig {
4
3
  verifyToken?: string;
5
4
  configToken?: string;
6
5
  }
7
- export declare function BankElement(props: BankLibProps): JSX.Element;
6
+ export declare function BankElement(props: BankLibProps): import("react/jsx-runtime").JSX.Element;
8
7
  export declare function renderBankLib(config: BankLibProps, elementId: string): {
9
8
  unmount: () => void;
10
9
  };
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  export interface BankDetailsProps {
3
2
  }
4
- declare const BankDetails: () => JSX.Element;
3
+ declare const BankDetails: () => import("react/jsx-runtime").JSX.Element;
5
4
  export default BankDetails;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  type BankNameProps = {
3
2
  readOnly?: boolean;
4
3
  isVerified?: boolean;
5
4
  };
6
- declare const BankName: ({ readOnly, isVerified }: BankNameProps) => JSX.Element;
5
+ declare const BankName: ({ readOnly, isVerified }: BankNameProps) => import("react/jsx-runtime").JSX.Element;
7
6
  export default BankName;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FileDetails } from '../../../../@types';
3
2
  type BankStatementProps = {
4
3
  required: boolean;
@@ -6,5 +5,5 @@ type BankStatementProps = {
6
5
  isVerified?: boolean;
7
6
  defaultFiles?: Array<FileDetails>;
8
7
  };
9
- declare const BankStatement: ({ required, readOnly, defaultFiles, isVerified }: BankStatementProps) => JSX.Element;
8
+ declare const BankStatement: ({ required, readOnly, defaultFiles, isVerified }: BankStatementProps) => import("react/jsx-runtime").JSX.Element;
10
9
  export default BankStatement;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  export interface BeneficiaryProps {
3
2
  readOnly?: boolean;
4
3
  isVerified?: boolean;
5
4
  }
6
- declare const Beneficiary: ({ readOnly, isVerified }: BeneficiaryProps) => JSX.Element;
5
+ declare const Beneficiary: ({ readOnly, isVerified }: BeneficiaryProps) => import("react/jsx-runtime").JSX.Element;
7
6
  export default Beneficiary;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  type ConfirmPolicyProps = {
3
2
  readOnly?: boolean;
4
3
  };
5
- declare const ConfirmPolicy: ({ readOnly }: ConfirmPolicyProps) => JSX.Element;
4
+ declare const ConfirmPolicy: ({ readOnly }: ConfirmPolicyProps) => import("react/jsx-runtime").JSX.Element;
6
5
  export default ConfirmPolicy;
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  export interface IBANProps {
3
2
  fetchingIban: (flag: boolean) => void;
4
3
  ibanChecking: boolean;
5
4
  readOnly?: boolean;
6
5
  isVerified?: boolean;
7
6
  }
8
- declare const IBAN: ({ fetchingIban, ibanChecking, readOnly, isVerified }: IBANProps) => JSX.Element;
7
+ declare const IBAN: ({ fetchingIban, ibanChecking, readOnly, isVerified }: IBANProps) => import("react/jsx-runtime").JSX.Element;
9
8
  export default IBAN;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- export declare const PrepareDataLoading: () => JSX.Element;
3
- declare const _default: React.MemoExoticComponent<() => JSX.Element>;
2
+ export declare const PrepareDataLoading: () => import("react/jsx-runtime").JSX.Element;
3
+ declare const _default: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
4
4
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface ResetPasswordSuccessProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<({}: ResetPasswordSuccessProps) => JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({}: ResetPasswordSuccessProps) => import("react/jsx-runtime").JSX.Element>;
5
5
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface SuccessProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<({}: SuccessProps) => JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({}: SuccessProps) => import("react/jsx-runtime").JSX.Element>;
5
5
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- declare const _default: React.MemoExoticComponent<() => JSX.Element>;
2
+ declare const _default: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
3
3
  export default _default;
@@ -3,5 +3,5 @@ export interface OTPProps {
3
3
  loading: boolean;
4
4
  setLoading: (flag: boolean) => void;
5
5
  }
6
- declare const _default: React.MemoExoticComponent<({ loading, setLoading }: OTPProps) => JSX.Element>;
6
+ declare const _default: React.MemoExoticComponent<({ loading, setLoading }: OTPProps) => import("react/jsx-runtime").JSX.Element>;
7
7
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface OTPProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<({}: OTPProps) => JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({}: OTPProps) => import("react/jsx-runtime").JSX.Element>;
5
5
  export default _default;
@@ -1,10 +1,9 @@
1
- /// <reference types="react" />
2
1
  import { LibConfig } from '../../@types';
3
2
  export interface BoardLibProps extends LibConfig {
4
3
  configToken: string;
5
4
  boardId: string;
6
5
  }
7
- export declare function BoardElement(props: BoardLibProps): JSX.Element;
6
+ export declare function BoardElement(props: BoardLibProps): import("react/jsx-runtime").JSX.Element;
8
7
  export declare function renderBoardLib(config: BoardLibProps, elementId: string): {
9
8
  unmount: () => void;
10
9
  };
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface ResetPasswordSuccessProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<({}: ResetPasswordSuccessProps) => JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({}: ResetPasswordSuccessProps) => import("react/jsx-runtime").JSX.Element>;
5
5
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- declare const _default: React.MemoExoticComponent<() => JSX.Element>;
2
+ declare const _default: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
3
3
  export default _default;
@@ -30,6 +30,6 @@ var SuccessWithFlowButtons = function () {
30
30
  newUrl.searchParams.append('action', 'close');
31
31
  window.open("".concat(newUrl), '_self', '_blank');
32
32
  };
33
- return (_jsx(SuccessFlowButtons, { flowName: data.flowName, loading: loading, bank: bank, brand: brand, entity: entity, merchant: merchant, user: __assign({ names: { en: name } }, user), business: business, boardId: board_id, boardInfoId: board_info_id, individuals: individuals, flows: flows || [], onClose: onClose }));
33
+ return (_jsx(SuccessFlowButtons, { flowName: data.flowName, loading: loading, bank: bank, brand: brand, entity: entity, merchant: merchant, user: __assign({ names: { en: name } }, user), business: business, boardId: board_id, boardInfoId: board_info_id, individuals: individuals, flows: flows || [], onClose: isScopeAuthentication ? onClose : undefined }));
34
34
  };
35
35
  export default memo(SuccessWithFlowButtons);
@@ -3,5 +3,5 @@ export interface OTPProps {
3
3
  loading: boolean;
4
4
  setLoading: (flag: boolean) => void;
5
5
  }
6
- declare const _default: React.MemoExoticComponent<({ loading }: OTPProps) => JSX.Element>;
6
+ declare const _default: React.MemoExoticComponent<({ loading }: OTPProps) => import("react/jsx-runtime").JSX.Element>;
7
7
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
2
  export interface OTPProps {
3
3
  }
4
- declare const _default: React.MemoExoticComponent<({}: OTPProps) => JSX.Element>;
4
+ declare const _default: React.MemoExoticComponent<({}: OTPProps) => import("react/jsx-runtime").JSX.Element>;
5
5
  export default _default;
@@ -1,10 +1,9 @@
1
- /// <reference types="react" />
2
1
  import { LibConfig } from '../../@types';
3
2
  export interface BrandLibProps extends LibConfig {
4
3
  verifyToken?: string;
5
4
  configToken?: string;
6
5
  }
7
- export declare function BrandElement(props: BrandLibProps): JSX.Element;
6
+ export declare function BrandElement(props: BrandLibProps): import("react/jsx-runtime").JSX.Element;
8
7
  export declare function renderBrandLib(config: BrandLibProps, elementId: string): {
9
8
  unmount: () => void;
10
9
  };