@tap-payments/auth-jsconnect 2.5.5 → 2.5.6

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 (92) hide show
  1. package/build/@types/app.d.ts +5 -1
  2. package/build/@types/redux.d.ts +1 -0
  3. package/build/api/data.d.ts +4 -17
  4. package/build/api/data.js +5 -45
  5. package/build/api/entity.d.ts +3 -2
  6. package/build/api/entity.js +12 -4
  7. package/build/api/index.d.ts +5 -21
  8. package/build/components/Providers/ThemeProvider.js +1 -1
  9. package/build/constants/api.d.ts +2 -7
  10. package/build/constants/api.js +5 -15
  11. package/build/constants/app.js +7 -1
  12. package/build/features/app/auth/authStore.js +24 -21
  13. package/build/features/app/bank/bankStore.d.ts +13 -19
  14. package/build/features/app/bank/bankStore.js +183 -165
  15. package/build/features/app/board/boardStore.js +16 -10
  16. package/build/features/app/brand/brandStore.d.ts +17 -31
  17. package/build/features/app/brand/brandStore.js +250 -261
  18. package/build/features/app/business/businessStore.js +16 -16
  19. package/build/features/app/connect/connectStore.js +7 -7
  20. package/build/features/app/connectExpress/connectExpressStore.d.ts +5 -1
  21. package/build/features/app/connectExpress/connectExpressStore.js +64 -27
  22. package/build/features/app/entity/entityStore.d.ts +20 -34
  23. package/build/features/app/entity/entityStore.js +204 -249
  24. package/build/features/app/individual/individualStore.d.ts +17 -36
  25. package/build/features/app/individual/individualStore.js +228 -270
  26. package/build/features/app/password/passwordStore.d.ts +21 -25
  27. package/build/features/app/password/passwordStore.js +203 -220
  28. package/build/features/app/tax/taxStore.d.ts +13 -7
  29. package/build/features/app/tax/taxStore.js +168 -147
  30. package/build/features/auth/Auth.d.ts +0 -2
  31. package/build/features/auth/Auth.js +7 -7
  32. package/build/features/auth/screens/AuthSwitch/AuthSwitch.js +1 -1
  33. package/build/features/bank/Bank.js +5 -3
  34. package/build/features/bank/screens/BankDetails/BankDetails.js +17 -4
  35. package/build/features/board/Board.d.ts +2 -0
  36. package/build/features/board/Board.js +13 -7
  37. package/build/features/board/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
  38. package/build/features/board/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
  39. package/build/features/board/screens/PrepareDataLoading/index.d.ts +2 -0
  40. package/build/features/board/screens/PrepareDataLoading/index.js +2 -0
  41. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +12 -2
  42. package/build/features/brand/Brand.js +5 -3
  43. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +2 -2
  44. package/build/features/brand/screens/BrandActivities/BrandActivities.js +48 -11
  45. package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +3 -3
  46. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +2 -2
  47. package/build/features/brand/screens/BrandInfo/BrandInfo.js +22 -4
  48. package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.js +22 -6
  49. package/build/features/business/Business.js +5 -3
  50. package/build/features/business/screens/Activities/Activities.js +9 -1
  51. package/build/features/business/screens/Activities/ActivitiesList.d.ts +2 -2
  52. package/build/features/business/screens/Activities/OperationStartDate.d.ts +1 -1
  53. package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +1 -1
  54. package/build/features/business/screens/Customers/CustomerLocations.d.ts +3 -3
  55. package/build/features/business/screens/Customers/Customers.js +9 -1
  56. package/build/features/business/screens/Customers/RefundPolicy.d.ts +2 -2
  57. package/build/features/connect/Connect.js +5 -4
  58. package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +7 -1
  59. package/build/features/connectExpress/ConnectExpress.js +5 -4
  60. package/build/features/entity/Entity.js +5 -3
  61. package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +2 -2
  62. package/build/features/entity/screens/EntityCapital/EntityCapital.js +33 -9
  63. package/build/features/entity/screens/EntityName/EntityName.js +31 -14
  64. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +2 -2
  65. package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +1 -1
  66. package/build/features/entity/screens/EntityName/IssuingDate.d.ts +1 -1
  67. package/build/features/featuresScreens.js +5 -0
  68. package/build/features/individual/Individual.js +5 -3
  69. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +1 -1
  70. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +43 -10
  71. package/build/features/individual/screens/IndividualList/IndividualList.d.ts +2 -2
  72. package/build/features/individual/screens/IndividualList/IndividualList.js +7 -0
  73. package/build/features/individual/screens/IndividualList/UserList.js +3 -3
  74. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +1 -1
  75. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +73 -18
  76. package/build/features/password/Password.js +6 -4
  77. package/build/features/shared/Address/CountryList.d.ts +2 -2
  78. package/build/features/shared/Address/InputSelect.d.ts +2 -2
  79. package/build/features/shared/Button/FlowsButtons.js +10 -2
  80. package/build/features/shared/Input/Input.d.ts +1 -1
  81. package/build/features/signIn/SignIn.js +15 -5
  82. package/build/features/tax/Tax.js +5 -3
  83. package/build/features/tax/screens/TaxDetails/TaxDetails.js +7 -2
  84. package/build/hooks/index.d.ts +1 -0
  85. package/build/hooks/index.js +1 -0
  86. package/build/hooks/useAppConfig.js +1 -1
  87. package/build/hooks/useAppTheme.js +4 -3
  88. package/build/hooks/useFormDirtyCheck.d.ts +10 -0
  89. package/build/hooks/useFormDirtyCheck.js +66 -0
  90. package/build/theme/theme.d.ts +1 -1
  91. package/build/theme/theme.js +2 -2
  92. package/package.json +1 -1
@@ -6,9 +6,8 @@ interface verifyLeadTokenProps {
6
6
  }
7
7
  export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
8
8
  data: any;
9
- individualData: any;
10
- boardResponse: any;
11
9
  token: string;
10
+ flows: any;
12
11
  }, verifyLeadTokenProps, {
13
12
  state?: unknown;
14
13
  dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
@@ -31,9 +30,12 @@ export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
31
30
  fulfilledMeta?: unknown;
32
31
  rejectedMeta?: unknown;
33
32
  }>;
34
- export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<{
35
- data: any;
36
- }, string, {
33
+ type RetrieveBoardProps = {
34
+ boardId: string;
35
+ individualId: string;
36
+ individualType: string;
37
+ };
38
+ export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<any, RetrieveBoardProps, {
37
39
  state?: unknown;
38
40
  dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
39
41
  extra?: unknown;
@@ -48,6 +50,7 @@ export declare const verifyPasswordLeadOTP: import("@reduxjs/toolkit").AsyncThun
48
50
  formData: {
49
51
  otp: string;
50
52
  };
53
+ flows: any;
51
54
  }, OTPFormValues, {
52
55
  state?: unknown;
53
56
  dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
@@ -72,15 +75,11 @@ export declare const createPassword: import("@reduxjs/toolkit").AsyncThunk<{
72
75
  rejectedMeta?: unknown;
73
76
  }>;
74
77
  export declare const updateBoardSuccess: import("@reduxjs/toolkit").AsyncThunk<{
75
- response: any;
76
- formData: void;
77
- data?: undefined;
78
+ data: any;
78
79
  flows?: undefined;
79
80
  } | {
80
81
  data: any;
81
82
  flows: any;
82
- response?: undefined;
83
- formData?: undefined;
84
83
  } | undefined, void, {
85
84
  state?: unknown;
86
85
  dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
@@ -103,19 +102,23 @@ export declare const retrieveBoardStatus: import("@reduxjs/toolkit").AsyncThunk<
103
102
  fulfilledMeta?: unknown;
104
103
  rejectedMeta?: unknown;
105
104
  }>;
106
- export declare const verifyOperationToken: import("@reduxjs/toolkit").AsyncThunk<{
107
- data: any;
105
+ interface verifyOperationTokenProps {
108
106
  token: string;
109
107
  boardId: string;
110
108
  boardInfoId: string;
111
- individualData: any;
112
- boardResponse: any;
113
- flows: any;
114
- }, {
109
+ userId: string;
110
+ userType: string;
111
+ }
112
+ export declare const verifyOperationToken: import("@reduxjs/toolkit").AsyncThunk<{
113
+ recipient?: {
114
+ id: string;
115
+ type: string;
116
+ } | undefined;
117
+ data: any;
115
118
  token: string;
116
119
  boardId: string;
117
120
  boardInfoId: string;
118
- }, {
121
+ }, verifyOperationTokenProps, {
119
122
  state?: unknown;
120
123
  dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
121
124
  extra?: unknown;
@@ -159,14 +162,7 @@ export declare const resetPassword: import("@reduxjs/toolkit").AsyncThunk<{
159
162
  }>;
160
163
  export declare const retrieveBoardResetPasswordSuccess: import("@reduxjs/toolkit").AsyncThunk<{
161
164
  id: any;
162
- response: {
163
- flows?: undefined;
164
- };
165
- } | {
166
- id: any;
167
- response: {
168
- flows: any;
169
- };
165
+ flows: any;
170
166
  }, void, {
171
167
  state?: unknown;
172
168
  dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;