@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
@@ -7,21 +7,10 @@ interface VerifyLeadTokenProps {
7
7
  }
8
8
  export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
9
9
  data: any;
10
- individualData: any;
11
- boardResponse: {
12
- user: any;
13
- brand: any;
14
- entity: any;
15
- bank_account: any;
16
- merchant: any;
17
- name: any;
18
- contact: any;
19
- individuals: any;
20
- business: any;
21
- notification: any;
22
- };
10
+ brandData: any;
23
11
  salesChannels: any;
24
12
  token: string;
13
+ entityInfoId: any;
25
14
  }, VerifyLeadTokenProps, {
26
15
  state?: unknown;
27
16
  dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
@@ -46,20 +35,9 @@ export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
46
35
  }>;
47
36
  export declare const verifyBrandLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
48
37
  data: any;
49
- individualData: any;
50
- boardResponse: {
51
- user: any;
52
- brand: any;
53
- entity: any;
54
- bank_account: any;
55
- merchant: any;
56
- name: any;
57
- contact: any;
58
- individuals: any;
59
- business: any;
60
- notification: any;
61
- };
38
+ brandData: any;
62
39
  salesChannels: any;
40
+ entityInfoId: any;
63
41
  formData: OTPFormValues;
64
42
  }, OTPFormValues, {
65
43
  state?: unknown;
@@ -75,6 +53,7 @@ export declare const retrieveSegmentDataList: import("@reduxjs/toolkit").AsyncTh
75
53
  segmentLocation: any;
76
54
  segmentProfit: any;
77
55
  segmentTech: any;
56
+ segmentTeam: any;
78
57
  }, void, {
79
58
  state?: unknown;
80
59
  dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
@@ -97,9 +76,12 @@ export declare const retrieveBoardStatus: import("@reduxjs/toolkit").AsyncThunk<
97
76
  fulfilledMeta?: unknown;
98
77
  rejectedMeta?: unknown;
99
78
  }>;
100
- export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<{
101
- data: any;
102
- }, string, {
79
+ type RetrieveBoardProps = {
80
+ boardId: string;
81
+ individualId: string;
82
+ individualType: string;
83
+ };
84
+ export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<any, RetrieveBoardProps, {
103
85
  state?: unknown;
104
86
  dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
105
87
  extra?: unknown;
@@ -147,6 +129,7 @@ export declare const updateBrand: import("@reduxjs/toolkit").AsyncThunk<{
147
129
  }>;
148
130
  export declare const updateSegmentBrand: import("@reduxjs/toolkit").AsyncThunk<{
149
131
  data: any;
132
+ entityData: any;
150
133
  formData: BrandSegmentFormValues;
151
134
  }, AsyncThunkParams<BrandSegmentFormValues>, {
152
135
  state?: unknown;
@@ -199,8 +182,11 @@ export declare const retrieveDataList: import("@reduxjs/toolkit").AsyncThunk<{
199
182
  rejectedMeta?: unknown;
200
183
  }>;
201
184
  export declare const updateBoardSuccess: import("@reduxjs/toolkit").AsyncThunk<{
202
- response: any;
203
- formData: void;
185
+ data: any;
186
+ flows?: undefined;
187
+ } | {
188
+ data: any;
189
+ flows: any;
204
190
  } | undefined, void, {
205
191
  state?: unknown;
206
192
  dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;