@zeniai/client-epic-state 5.2.65 → 5.2.66-beta1MM

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 (28) hide show
  1. package/lib/entity/jeSchedules/jeSchedulesPayload.d.ts +1 -0
  2. package/lib/entity/jeSchedules/jeSchedulesPayload.js +1 -0
  3. package/lib/entity/jeSchedules/jeSchedulesState.d.ts +1 -0
  4. package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
  5. package/lib/entity/snackbar/snackbarTypes.js +1 -0
  6. package/lib/epic.d.ts +3 -2
  7. package/lib/epic.js +3 -1
  8. package/lib/esm/entity/jeSchedules/jeSchedulesPayload.js +1 -0
  9. package/lib/esm/entity/snackbar/snackbarTypes.js +1 -0
  10. package/lib/esm/epic.js +3 -1
  11. package/lib/esm/index.js +2 -2
  12. package/lib/esm/view/expenseAutomationView/selectors/actualMatchingViewSelector.js +15 -16
  13. package/lib/esm/view/spendManagement/commonSetup/epic/setup/resetKycKybEpic.js +37 -0
  14. package/lib/esm/view/spendManagement/commonSetup/setupViewReducer.js +21 -1
  15. package/lib/esm/view/spendManagement/commonSetup/setupViewSelector.js +2 -1
  16. package/lib/index.d.ts +2 -2
  17. package/lib/index.js +31 -28
  18. package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +1 -1
  19. package/lib/view/expenseAutomationView/selectors/actualMatchingViewSelector.js +15 -16
  20. package/lib/view/expenseAutomationView/types/actualMatchingViewState.d.ts +2 -3
  21. package/lib/view/spendManagement/commonSetup/epic/setup/resetKycKybEpic.d.ts +8 -0
  22. package/lib/view/spendManagement/commonSetup/epic/setup/resetKycKybEpic.js +41 -0
  23. package/lib/view/spendManagement/commonSetup/setupViewReducer.d.ts +1 -1
  24. package/lib/view/spendManagement/commonSetup/setupViewReducer.js +22 -2
  25. package/lib/view/spendManagement/commonSetup/setupViewSelector.d.ts +1 -0
  26. package/lib/view/spendManagement/commonSetup/setupViewSelector.js +2 -1
  27. package/lib/view/spendManagement/commonSetup/setupViewState.d.ts +1 -0
  28. package/package.json +1 -1
@@ -90,7 +90,7 @@ function getPrimaryAccountForTheProduct(state, companyId, setupViewType) {
90
90
  }
91
91
  function getBusinessVerificationDetails(state, companyId) {
92
92
  const { setupViewState, countryListState } = state;
93
- const { companyDetails, companyOfficerUpdateStatus, primaryContactDetails, updateStatus, } = setupViewState;
93
+ const { companyDetails, companyOfficerUpdateStatus, kycKybResetStatus, primaryContactDetails, updateStatus, } = setupViewState;
94
94
  const companyView = (0, getCompanyView_1.getCompanyView)(state, companyId, []);
95
95
  const { companyDetailsLocalData, companyOfficerLocalData, parsingDocumentFileIds, } = (0, exports.getCompanyAndIdentityDetails)(state, companyId, {
96
96
  companyDetails,
@@ -105,6 +105,7 @@ function getBusinessVerificationDetails(state, companyId) {
105
105
  parsingDocumentFileIds,
106
106
  companyView,
107
107
  updateStatus,
108
+ kycKybResetStatus,
108
109
  allNationalityCountries,
109
110
  };
110
111
  }
@@ -185,6 +185,7 @@ export interface CompanyAndIdentityDetails {
185
185
  };
186
186
  }
187
187
  export interface SetupViewState extends CompanyAndIdentityDetails {
188
+ kycKybResetStatus: FetchStateAndError;
188
189
  /**
189
190
  * File IDs currently being parsed by the AI autofill epic. Populated when
190
191
  * `parseUploadedKyc/KybDocument` dispatches and cleared when the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "5.2.65",
3
+ "version": "5.2.66-beta1MM",
4
4
  "description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/esm/index.js",