@tap-payments/auth-jsconnect 2.8.54-development → 2.8.55-beta

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 (189) hide show
  1. package/build/@types/app.d.ts +0 -1
  2. package/build/@types/form.d.ts +0 -1
  3. package/build/@types/redux.d.ts +0 -1
  4. package/build/api/entity.d.ts +2 -2
  5. package/build/api/entity.js +4 -12
  6. package/build/api/index.d.ts +2 -2
  7. package/build/constants/api.d.ts +1 -0
  8. package/build/constants/api.js +2 -0
  9. package/build/constants/app.d.ts +2 -0
  10. package/build/constants/app.js +2 -0
  11. package/build/features/app/bank/bankStore.d.ts +18 -13
  12. package/build/features/app/bank/bankStore.js +165 -184
  13. package/build/features/app/board/boardStore.js +30 -52
  14. package/build/features/app/brand/brandStore.d.ts +33 -16
  15. package/build/features/app/brand/brandStore.js +242 -239
  16. package/build/features/app/business/businessStore.d.ts +5 -0
  17. package/build/features/app/business/businessStore.js +87 -76
  18. package/build/features/app/connectExpress/connectExpressStore.d.ts +6 -15
  19. package/build/features/app/connectExpress/connectExpressStore.js +52 -110
  20. package/build/features/app/entity/entityStore.d.ts +36 -20
  21. package/build/features/app/entity/entityStore.js +246 -196
  22. package/build/features/app/individual/individualStore.d.ts +38 -22
  23. package/build/features/app/individual/individualStore.js +266 -263
  24. package/build/features/app/password/passwordStore.d.ts +23 -40
  25. package/build/features/app/password/passwordStore.js +233 -226
  26. package/build/features/app/tax/taxStore.d.ts +7 -13
  27. package/build/features/app/tax/taxStore.js +147 -168
  28. package/build/features/auth/screens/AuthSwitch/AuthSwitch.js +1 -13
  29. package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +1 -7
  30. package/build/features/bank/Bank.d.ts +0 -1
  31. package/build/features/bank/Bank.js +4 -7
  32. package/build/features/bank/screens/BankDetails/BankDetails.js +5 -18
  33. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
  34. package/build/features/bank/screens/Verify/Verify.js +5 -5
  35. package/build/features/board/Board.js +4 -8
  36. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +4 -3
  37. package/build/features/brand/Brand.d.ts +0 -1
  38. package/build/features/brand/Brand.js +4 -7
  39. package/build/features/brand/screens/BrandActivities/BrandActivities.js +12 -49
  40. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +3 -6
  41. package/build/features/brand/screens/BrandActivities/RefundPolicy.js +1 -1
  42. package/build/features/brand/screens/BrandActivities/TAC.js +1 -1
  43. package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +1 -1
  44. package/build/features/brand/screens/BrandInfo/BrandInfo.js +5 -23
  45. package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.js +7 -23
  46. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
  47. package/build/features/brand/screens/Verify/Verify.js +1 -1
  48. package/build/features/business/Business.js +4 -9
  49. package/build/features/business/screens/Activities/Activities.js +3 -12
  50. package/build/features/business/screens/BusinessType/BusinessType.js +2 -10
  51. package/build/features/business/screens/CivilID/CivilID.js +1 -1
  52. package/build/features/business/screens/Customers/Customers.js +3 -12
  53. package/build/features/business/screens/Customers/ExpectedSalesRange.js +3 -6
  54. package/build/features/business/screens/IDBOD/IDBOD.js +2 -10
  55. package/build/features/business/screens/OTP/OTP.js +1 -1
  56. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -14
  57. package/build/features/business/screens/Verify/Verify.js +3 -13
  58. package/build/features/connect/Connect.js +3 -4
  59. package/build/features/connect/screens/BrandSegment/BrandSegment.js +1 -1
  60. package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +2 -9
  61. package/build/features/connect/screens/CivilID/CivilID.js +1 -1
  62. package/build/features/connect/screens/Individual/Email.js +1 -3
  63. package/build/features/connect/screens/Individual/Individual.js +1 -1
  64. package/build/features/connect/screens/Merchant/BrandList.js +3 -3
  65. package/build/features/connect/screens/Merchant/Merchant.js +1 -1
  66. package/build/features/connect/screens/Merchant/SalesChannels.js +1 -1
  67. package/build/features/connect/screens/Mobile/Mobile.js +8 -11
  68. package/build/features/connect/screens/NID/NID.js +1 -1
  69. package/build/features/connect/screens/OperatorError/OperatorError.js +1 -1
  70. package/build/features/connectExpress/ConnectExpress.js +1 -2
  71. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.js +2 -5
  72. package/build/features/connectExpress/screens/AuthenticationList/EntityList.js +1 -6
  73. package/build/features/connectExpress/screens/AuthenticationList/validation.d.ts +0 -3
  74. package/build/features/connectExpress/screens/AuthenticationList/validation.js +0 -10
  75. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +1 -7
  76. package/build/features/connectExpress/screens/CivilID/CivilID.js +1 -1
  77. package/build/features/connectExpress/screens/CivilIDMissed/CivilID.js +1 -1
  78. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +1 -1
  79. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +1 -1
  80. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -3
  81. package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.js +24 -14
  82. package/build/features/connectExpress/screens/Mobile/Mobile.js +2 -9
  83. package/build/features/connectExpress/screens/NID/NID.js +1 -1
  84. package/build/features/connectExpress/screens/NIDMissed/NID.js +1 -1
  85. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
  86. package/build/features/entity/Entity.d.ts +0 -1
  87. package/build/features/entity/Entity.js +4 -7
  88. package/build/features/entity/screens/EntityCapital/CapitalPaid.js +4 -8
  89. package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +4 -8
  90. package/build/features/entity/screens/EntityCapital/EntityCapital.js +10 -34
  91. package/build/features/entity/screens/EntityName/EntityName.js +15 -32
  92. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
  93. package/build/features/entity/screens/Verify/Verify.js +1 -1
  94. package/build/features/featuresScreens.js +7 -67
  95. package/build/features/individual/Individual.d.ts +0 -1
  96. package/build/features/individual/Individual.js +4 -7
  97. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +14 -54
  98. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +2 -5
  99. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +3 -8
  100. package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +1 -4
  101. package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +2 -3
  102. package/build/features/individual/screens/IndividualList/Email.js +2 -3
  103. package/build/features/individual/screens/IndividualList/IndividualList.js +5 -18
  104. package/build/features/individual/screens/IndividualList/UserList.js +9 -13
  105. package/build/features/individual/screens/IndividualPersonalInfo/Email.js +2 -4
  106. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +20 -76
  107. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.js +1 -1
  108. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
  109. package/build/features/individual/screens/Verify/Verify.js +1 -1
  110. package/build/features/password/Password.d.ts +0 -1
  111. package/build/features/password/Password.js +28 -75
  112. package/build/features/password/screens/CreatePassword/CreatePassword.js +4 -8
  113. package/build/features/password/screens/OTP/OTP.js +1 -1
  114. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
  115. package/build/features/password/screens/Verify/Verify.js +5 -5
  116. package/build/features/shared/Button/FlowsButtons.js +3 -13
  117. package/build/features/shared/Containers/FeatureContainer.d.ts +0 -1
  118. package/build/features/shared/Containers/FeatureContainer.js +3 -3
  119. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -5
  120. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +3 -3
  121. package/build/features/signIn/SignIn.js +3 -12
  122. package/build/features/tax/Tax.d.ts +0 -1
  123. package/build/features/tax/Tax.js +4 -7
  124. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
  125. package/build/features/tax/screens/TaxDetails/TaxDetails.js +2 -7
  126. package/build/features/tax/screens/Verify/Verify.js +5 -5
  127. package/build/hooks/index.d.ts +0 -1
  128. package/build/hooks/index.js +0 -1
  129. package/build/hooks/useVerifyToken.d.ts +2 -5
  130. package/build/hooks/useVerifyToken.js +5 -10
  131. package/build/utils/common.js +4 -4
  132. package/build/utils/locale.js +1 -2
  133. package/build/utils/string.d.ts +2 -5
  134. package/build/utils/string.js +5 -34
  135. package/package.json +2 -2
  136. package/build/features/bank/screens/OperatorError/OperatorError.d.ts +0 -5
  137. package/build/features/bank/screens/OperatorError/OperatorError.js +0 -9
  138. package/build/features/bank/screens/OperatorError/index.d.ts +0 -3
  139. package/build/features/bank/screens/OperatorError/index.js +0 -2
  140. package/build/features/board/screens/OperatorError/OperatorError.d.ts +0 -5
  141. package/build/features/board/screens/OperatorError/OperatorError.js +0 -9
  142. package/build/features/board/screens/OperatorError/index.d.ts +0 -3
  143. package/build/features/board/screens/OperatorError/index.js +0 -2
  144. package/build/features/brand/screens/OperatorError/OperatorError.d.ts +0 -5
  145. package/build/features/brand/screens/OperatorError/OperatorError.js +0 -9
  146. package/build/features/brand/screens/OperatorError/index.d.ts +0 -3
  147. package/build/features/brand/screens/OperatorError/index.js +0 -2
  148. package/build/features/business/screens/OperatorError/OperatorError.d.ts +0 -5
  149. package/build/features/business/screens/OperatorError/OperatorError.js +0 -9
  150. package/build/features/business/screens/OperatorError/index.d.ts +0 -3
  151. package/build/features/business/screens/OperatorError/index.js +0 -2
  152. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +0 -9
  153. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.js +0 -90
  154. package/build/features/connectExpress/screens/OperatorError/OperatorError.d.ts +0 -5
  155. package/build/features/connectExpress/screens/OperatorError/OperatorError.js +0 -9
  156. package/build/features/connectExpress/screens/OperatorError/index.d.ts +0 -3
  157. package/build/features/connectExpress/screens/OperatorError/index.js +0 -2
  158. package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +0 -5
  159. package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.js +0 -34
  160. package/build/features/connectExpress/screens/PrepareDataLoading/index.d.ts +0 -2
  161. package/build/features/connectExpress/screens/PrepareDataLoading/index.js +0 -2
  162. package/build/features/entity/screens/OperatorError/OperatorError.d.ts +0 -5
  163. package/build/features/entity/screens/OperatorError/OperatorError.js +0 -9
  164. package/build/features/entity/screens/OperatorError/index.d.ts +0 -3
  165. package/build/features/entity/screens/OperatorError/index.js +0 -2
  166. package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +0 -14
  167. package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.js +0 -76
  168. package/build/features/individual/screens/OperatorError/OperatorError.d.ts +0 -5
  169. package/build/features/individual/screens/OperatorError/OperatorError.js +0 -9
  170. package/build/features/individual/screens/OperatorError/index.d.ts +0 -3
  171. package/build/features/individual/screens/OperatorError/index.js +0 -2
  172. package/build/features/password/screens/OperatorError/OperatorError.d.ts +0 -5
  173. package/build/features/password/screens/OperatorError/OperatorError.js +0 -9
  174. package/build/features/password/screens/OperatorError/index.d.ts +0 -3
  175. package/build/features/password/screens/OperatorError/index.js +0 -2
  176. package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +0 -4
  177. package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.js +0 -10
  178. package/build/features/password/screens/PrepareDataLoading/index.d.ts +0 -2
  179. package/build/features/password/screens/PrepareDataLoading/index.js +0 -2
  180. package/build/features/signIn/screens/OperatorError/OperatorError.d.ts +0 -5
  181. package/build/features/signIn/screens/OperatorError/OperatorError.js +0 -9
  182. package/build/features/signIn/screens/OperatorError/index.d.ts +0 -3
  183. package/build/features/signIn/screens/OperatorError/index.js +0 -2
  184. package/build/features/tax/screens/OperatorError/OperatorError.d.ts +0 -5
  185. package/build/features/tax/screens/OperatorError/OperatorError.js +0 -9
  186. package/build/features/tax/screens/OperatorError/index.d.ts +0 -3
  187. package/build/features/tax/screens/OperatorError/index.js +0 -2
  188. package/build/hooks/useFormDirtyCheck.d.ts +0 -10
  189. package/build/hooks/useFormDirtyCheck.js +0 -66
@@ -8,10 +8,22 @@ interface VerifyLeadTokenProps {
8
8
  }
9
9
  export declare const verifyToken: import("@reduxjs/toolkit").AsyncThunk<{
10
10
  data: any;
11
- countries: import("../../../@types").CountryCode[];
12
- countryCode: any;
11
+ boardResponse: {
12
+ brand: any;
13
+ bank_account: any;
14
+ entity: any;
15
+ merchant: any;
16
+ merchant_id: any;
17
+ name: any;
18
+ contact: any;
19
+ individuals: any;
20
+ countries: import("../../../@types").CountryCode[];
21
+ countryCode: any;
22
+ notification: any;
23
+ business: any;
24
+ flows: any;
25
+ };
13
26
  token: string;
14
- userList: User[];
15
27
  }, VerifyLeadTokenProps, {
16
28
  state?: unknown;
17
29
  dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
@@ -147,14 +159,9 @@ export declare const retrieveBoardStatus: import("@reduxjs/toolkit").AsyncThunk<
147
159
  fulfilledMeta?: unknown;
148
160
  rejectedMeta?: unknown;
149
161
  }>;
150
- type RetrieveBoardProps = {
151
- boardId: string;
152
- individualId?: string;
153
- individualType?: string;
154
- };
155
162
  export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<{
156
163
  data: any;
157
- }, RetrieveBoardProps, {
164
+ }, string, {
158
165
  state?: unknown;
159
166
  dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
160
167
  extra?: unknown;
@@ -166,12 +173,24 @@ export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk
166
173
  }>;
167
174
  export declare const verifyLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
168
175
  data: any;
169
- countries: import("../../../@types").CountryCode[];
170
- countryCode: any;
176
+ boardResponse: {
177
+ brand: any;
178
+ bank_account: any;
179
+ entity: any;
180
+ merchant: any;
181
+ merchant_id: any;
182
+ name: any;
183
+ contact: any;
184
+ individuals: any;
185
+ countries: import("../../../@types").CountryCode[];
186
+ countryCode: any;
187
+ notification: any;
188
+ business: any;
189
+ flows: any;
190
+ };
171
191
  formData: {
172
192
  otp: string;
173
193
  };
174
- userList: User[] | undefined;
175
194
  }, OTPFormValues, {
176
195
  state?: unknown;
177
196
  dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
@@ -198,6 +217,7 @@ export declare const updatePhoneInfo: import("@reduxjs/toolkit").AsyncThunk<{
198
217
  export declare const updateIndividualPersonalInfo: import("@reduxjs/toolkit").AsyncThunk<{
199
218
  data: any;
200
219
  formData: IndividualPersonalInfoFormValues;
220
+ currencyData: any;
201
221
  }, AsyncThunkParams<IndividualPersonalInfoFormValues>, {
202
222
  state?: unknown;
203
223
  dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
@@ -211,9 +231,7 @@ export declare const updateIndividualPersonalInfo: import("@reduxjs/toolkit").As
211
231
  export declare const updateIndividualInfo: import("@reduxjs/toolkit").AsyncThunk<{
212
232
  data: any;
213
233
  formData: IndividualExtraFormValues;
214
- individualData: any;
215
- userList: any;
216
- isKWOrSACountry: boolean;
234
+ individualData: User;
217
235
  }, AsyncThunkParams<IndividualExtraFormValues>, {
218
236
  state?: unknown;
219
237
  dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
@@ -244,13 +262,11 @@ export declare const checkEmailAvailability: import("@reduxjs/toolkit").AsyncThu
244
262
  export declare const updateBoardSuccess: import("@reduxjs/toolkit").AsyncThunk<{
245
263
  response: any;
246
264
  formData: void;
247
- data?: undefined;
248
- flows?: undefined;
265
+ individualData?: undefined;
249
266
  } | {
250
- data: any;
251
- flows: any;
252
- response?: undefined;
253
- formData?: undefined;
267
+ response: any;
268
+ formData: void;
269
+ individualData: any;
254
270
  } | undefined, void, {
255
271
  state?: unknown;
256
272
  dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
@@ -282,11 +298,11 @@ export interface IndividualData {
282
298
  individualPersonalData: IndividualPersonalInfoFormValues & ResponseData;
283
299
  individualData: IndividualExtraFormValues & ResponseData;
284
300
  flowName: FlowsTypes;
301
+ currency: string;
285
302
  }
286
303
  export interface IndividualState extends SharedState<IndividualData> {
287
304
  customLoading?: boolean;
288
305
  cityLoading?: boolean;
289
- addOrRequestDetailLoading?: boolean;
290
306
  }
291
307
  export declare const individualSlice: import("@reduxjs/toolkit").Slice<IndividualState, {
292
308
  clearError: (state: IndividualState) => void;