@zeniai/client-epic-state 5.0.85-beta1ND → 5.0.85-betaAR2

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 (69) hide show
  1. package/lib/commonStateTypes/animations.d.ts +1 -1
  2. package/lib/commonStateTypes/animations.js +0 -1
  3. package/lib/entity/company/companyPayload.d.ts +0 -2
  4. package/lib/entity/company/companyPayload.js +0 -2
  5. package/lib/entity/company/companyStateTypes.d.ts +0 -2
  6. package/lib/entity/paymentAccount/paymentAccountSelector.d.ts +0 -1
  7. package/lib/entity/paymentAccount/paymentAccountSelector.js +0 -4
  8. package/lib/entity/tenant/epic/deleteConnectionEpic.d.ts +1 -1
  9. package/lib/entity/tenant/epic/saveAPIKeyConnectionEpic.d.ts +1 -1
  10. package/lib/entity/tenant/epic/saveConnectorCredentialsEpic.d.ts +3 -3
  11. package/lib/entity/tenant/epic/saveOAuthConnectionEpic.d.ts +1 -1
  12. package/lib/entity/tenant/tenantPayload.d.ts +0 -1
  13. package/lib/entity/tenant/tenantReducer.d.ts +25 -38
  14. package/lib/entity/tenant/tenantReducer.js +5 -65
  15. package/lib/entity/tenant/tenantState.d.ts +0 -1
  16. package/lib/epic.d.ts +3 -7
  17. package/lib/epic.js +3 -8
  18. package/lib/esm/commonStateTypes/animations.js +0 -1
  19. package/lib/esm/entity/company/companyPayload.js +0 -2
  20. package/lib/esm/entity/paymentAccount/paymentAccountSelector.js +0 -3
  21. package/lib/esm/entity/tenant/tenantReducer.js +3 -63
  22. package/lib/esm/epic.js +3 -8
  23. package/lib/esm/index.js +8 -11
  24. package/lib/esm/view/createTransferEntry/epics/createTransferEntryEpic.js +1 -7
  25. package/lib/esm/view/onboardingView/customerView/onboardingCustomerViewReducer.js +50 -202
  26. package/lib/esm/view/onboardingView/customerView/onboardingCustomerViewSelector.js +1 -17
  27. package/lib/esm/view/onboardingView/customerView/onboardingCustomerViewState.js +0 -13
  28. package/lib/esm/view/spendManagement/commonSetup/setupViewReducer.js +52 -105
  29. package/lib/esm/view/spendManagement/commonSetup/setupViewSelector.js +1 -6
  30. package/lib/index.d.ts +9 -13
  31. package/lib/index.js +35 -55
  32. package/lib/view/createTransferEntry/epics/createTransferEntryEpic.js +1 -7
  33. package/lib/view/onboardingView/customerView/onboardingCustomerViewPayload.d.ts +0 -3
  34. package/lib/view/onboardingView/customerView/onboardingCustomerViewReducer.d.ts +4 -45
  35. package/lib/view/onboardingView/customerView/onboardingCustomerViewReducer.js +51 -204
  36. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.d.ts +1 -8
  37. package/lib/view/onboardingView/customerView/onboardingCustomerViewSelector.js +2 -24
  38. package/lib/view/onboardingView/customerView/onboardingCustomerViewState.d.ts +0 -42
  39. package/lib/view/onboardingView/customerView/onboardingCustomerViewState.js +1 -14
  40. package/lib/view/spendManagement/commonSetup/setupViewReducer.d.ts +2 -28
  41. package/lib/view/spendManagement/commonSetup/setupViewReducer.js +53 -106
  42. package/lib/view/spendManagement/commonSetup/setupViewSelector.d.ts +2 -7
  43. package/lib/view/spendManagement/commonSetup/setupViewSelector.js +1 -6
  44. package/lib/view/spendManagement/commonSetup/setupViewState.d.ts +0 -19
  45. package/package.json +1 -1
  46. package/lib/entity/tenant/epic/initEmailConnectOAuthEpic.d.ts +0 -21
  47. package/lib/entity/tenant/epic/initEmailConnectOAuthEpic.js +0 -54
  48. package/lib/esm/entity/tenant/epic/initEmailConnectOAuthEpic.js +0 -50
  49. package/lib/esm/view/onboardingView/customerView/epic/aiAgentsActivation/fetchAiAgentsActivationStatusEpic.js +0 -45
  50. package/lib/esm/view/onboardingView/customerView/epic/customerDetails/acknowledgeOnboardingAiFinanceTeamEpic.js +0 -40
  51. package/lib/esm/view/spendManagement/commonSetup/epic/setup/parseUploadedKybDocumentEpic.js +0 -52
  52. package/lib/esm/view/spendManagement/commonSetup/epic/setup/parseUploadedKycDocumentEpic.js +0 -59
  53. package/lib/esm/view/spendManagement/commonSetup/kycKybAutofillActions.js +0 -14
  54. package/lib/esm/view/spendManagement/commonSetup/kycKybParseMapper.js +0 -205
  55. package/lib/esm/view/spendManagement/commonSetup/types/kycKybAutofill.js +0 -28
  56. package/lib/view/onboardingView/customerView/epic/aiAgentsActivation/fetchAiAgentsActivationStatusEpic.d.ts +0 -7
  57. package/lib/view/onboardingView/customerView/epic/aiAgentsActivation/fetchAiAgentsActivationStatusEpic.js +0 -49
  58. package/lib/view/onboardingView/customerView/epic/customerDetails/acknowledgeOnboardingAiFinanceTeamEpic.d.ts +0 -9
  59. package/lib/view/onboardingView/customerView/epic/customerDetails/acknowledgeOnboardingAiFinanceTeamEpic.js +0 -44
  60. package/lib/view/spendManagement/commonSetup/epic/setup/parseUploadedKybDocumentEpic.d.ts +0 -28
  61. package/lib/view/spendManagement/commonSetup/epic/setup/parseUploadedKybDocumentEpic.js +0 -56
  62. package/lib/view/spendManagement/commonSetup/epic/setup/parseUploadedKycDocumentEpic.d.ts +0 -30
  63. package/lib/view/spendManagement/commonSetup/epic/setup/parseUploadedKycDocumentEpic.js +0 -63
  64. package/lib/view/spendManagement/commonSetup/kycKybAutofillActions.d.ts +0 -33
  65. package/lib/view/spendManagement/commonSetup/kycKybAutofillActions.js +0 -17
  66. package/lib/view/spendManagement/commonSetup/kycKybParseMapper.d.ts +0 -24
  67. package/lib/view/spendManagement/commonSetup/kycKybParseMapper.js +0 -213
  68. package/lib/view/spendManagement/commonSetup/types/kycKybAutofill.d.ts +0 -125
  69. package/lib/view/spendManagement/commonSetup/types/kycKybAutofill.js +0 -32
@@ -1,12 +1,9 @@
1
1
  "use strict";
2
2
  var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.clearOnboardingCustomerView = exports.clearOnboardingCustomerViewDataInLocalStore = exports.verifyOnboardingOfficerOtpFailure = exports.verifyOnboardingOfficerOtpSuccess = exports.verifyOnboardingOfficerOtp = exports.resendOnboardingOfficerOtp = exports.sendOnboardingOfficerOtpFailure = exports.sendOnboardingOfficerOtpSuccess = exports.sendOnboardingOfficerOtp = exports.updateOnboardingCustomerViewUIState = exports.saveOnboardingCompnayOfficerPhoneInLocalStore = exports.saveOnboardingCustomerViewDataInLocalStore = exports.updateOnboardingCustomerViewLocalStoreData = exports.updateOnboardingCustomerViewAccountDetails = exports.updateCurrentStep = exports.getOnboardingPlaidLinkTokenFailure = exports.getOnboardingPlaidLinkTokenSuccess = exports.getOnboardingPlaidLinkToken = exports.establishOnboardingPlaidConnectionFailure = exports.establishOnboardingPlaidConnectionSuccess = exports.establishOnboardingPlaidConnection = exports.updateOnboardingPaymentAccountLoginStatusFailure = exports.updateOnboardingPaymentAccountLoginStatusSuccess = exports.updateOnboardingPaymentAccountLoginStatus = exports.updateOnboardingPaymentAccountStatusFailure = exports.updateOnboardingPaymentAccountStatusSuccess = exports.updateOnboardingPaymentAccountStatus = exports.updateOnboardingCustomerViewFailure = exports.updateOnboardingCustomerViewSuccess = exports.updateOnboardingCustomerView = exports.updateOnboardingCustomerViewDashboardLoadedFailure = exports.updateOnboardingCustomerViewDashboardLoadedSuccess = exports.updateOnboardingCustomerViewDashboardLoaded = exports.aiAgentsActivationSectionReady = exports.aiAgentsActivationPhaseChanged = exports.aiAgentsActivationCountsUpdated = exports.fetchAiAgentsActivationStatusFailure = exports.fetchAiAgentsActivationStatusSuccess = exports.fetchAiAgentsActivationStatus = exports.acknowledgeOnboardingAiFinanceTeamFailure = exports.acknowledgeOnboardingAiFinanceTeamSuccess = exports.acknowledgeOnboardingAiFinanceTeam = exports.updateOnboardingCustomerViewCompleteStatusFailure = exports.updateOnboardingCustomerViewCompleteStatusSuccess = exports.updateOnboardingCustomerViewCompleteStatus = exports.fetchOnboardingCustomerSetupViewFailure = exports.fetchOnboardingCustomerSetupViewSuccess = exports.fetchOnboardingCustomerSetupView = exports.fetchOnboardingCustomerView = exports.initialState = void 0;
5
- exports.clearKycKybAutofillForOnboarding = exports.applyKybDocumentAutofillForOnboarding = exports.applyKycDocumentAutofillForOnboarding = void 0;
4
+ exports.clearOnboardingCustomerView = exports.clearOnboardingCustomerViewDataInLocalStore = exports.verifyOnboardingOfficerOtpFailure = exports.verifyOnboardingOfficerOtpSuccess = exports.verifyOnboardingOfficerOtp = exports.resendOnboardingOfficerOtp = exports.sendOnboardingOfficerOtpFailure = exports.sendOnboardingOfficerOtpSuccess = exports.sendOnboardingOfficerOtp = exports.updateOnboardingCustomerViewUIState = exports.saveOnboardingCompnayOfficerPhoneInLocalStore = exports.saveOnboardingCustomerViewDataInLocalStore = exports.updateOnboardingCustomerViewLocalStoreData = exports.updateOnboardingCustomerViewAccountDetails = exports.updateCurrentStep = exports.getOnboardingPlaidLinkTokenFailure = exports.getOnboardingPlaidLinkTokenSuccess = exports.getOnboardingPlaidLinkToken = exports.establishOnboardingPlaidConnectionFailure = exports.establishOnboardingPlaidConnectionSuccess = exports.establishOnboardingPlaidConnection = exports.updateOnboardingPaymentAccountLoginStatusFailure = exports.updateOnboardingPaymentAccountLoginStatusSuccess = exports.updateOnboardingPaymentAccountLoginStatus = exports.updateOnboardingPaymentAccountStatusFailure = exports.updateOnboardingPaymentAccountStatusSuccess = exports.updateOnboardingPaymentAccountStatus = exports.updateOnboardingCustomerViewFailure = exports.updateOnboardingCustomerViewSuccess = exports.updateOnboardingCustomerView = exports.updateOnboardingCustomerViewDashboardLoadedFailure = exports.updateOnboardingCustomerViewDashboardLoadedSuccess = exports.updateOnboardingCustomerViewDashboardLoaded = exports.updateOnboardingCustomerViewCompleteStatusFailure = exports.updateOnboardingCustomerViewCompleteStatusSuccess = exports.updateOnboardingCustomerViewCompleteStatus = exports.fetchOnboardingCustomerSetupViewFailure = exports.fetchOnboardingCustomerSetupViewSuccess = exports.fetchOnboardingCustomerSetupView = exports.fetchOnboardingCustomerView = exports.initialState = void 0;
6
5
  const toolkit_1 = require("@reduxjs/toolkit");
7
6
  const zeniDayJS_1 = require("../../../zeniDayJS");
8
- const kycKybAutofillActions_1 = require("../../spendManagement/commonSetup/kycKybAutofillActions");
9
- const onboardingCustomerViewState_1 = require("./onboardingCustomerViewState");
10
7
  const initialStatus = {
11
8
  fetchState: 'Not-Started',
12
9
  error: undefined,
@@ -16,31 +13,61 @@ exports.initialState = {
16
13
  saveStatus: initialStatus,
17
14
  dashboardLoadedStatus: initialStatus,
18
15
  currentStep: 'link_payment_account',
19
- parsingDocumentFileIds: [],
20
16
  companyDetails: {
21
- autoFilledFields: [],
22
17
  localData: undefined,
23
18
  },
24
- companyOfficerUpdateStatus: (() => {
25
- const emptyOfficerSlot = {
26
- autoFilledFields: [],
19
+ companyOfficerUpdateStatus: {
20
+ Officer_1: {
27
21
  localData: undefined,
28
22
  sendOtpStatus: initialStatus,
29
23
  otpverificationStatus: initialStatus,
30
- };
31
- return {
32
- Officer_1: { ...emptyOfficerSlot },
33
- Officer_2: { ...emptyOfficerSlot },
34
- Officer_3: { ...emptyOfficerSlot },
35
- Officer_4: { ...emptyOfficerSlot },
36
- Officer_5: { ...emptyOfficerSlot },
37
- Officer_6: { ...emptyOfficerSlot },
38
- Officer_7: { ...emptyOfficerSlot },
39
- Officer_8: { ...emptyOfficerSlot },
40
- Officer_9: { ...emptyOfficerSlot },
41
- Officer_10: { ...emptyOfficerSlot },
42
- };
43
- })(),
24
+ },
25
+ Officer_2: {
26
+ localData: undefined,
27
+ sendOtpStatus: initialStatus,
28
+ otpverificationStatus: initialStatus,
29
+ },
30
+ Officer_3: {
31
+ localData: undefined,
32
+ sendOtpStatus: initialStatus,
33
+ otpverificationStatus: initialStatus,
34
+ },
35
+ Officer_4: {
36
+ localData: undefined,
37
+ sendOtpStatus: initialStatus,
38
+ otpverificationStatus: initialStatus,
39
+ },
40
+ Officer_5: {
41
+ localData: undefined,
42
+ sendOtpStatus: initialStatus,
43
+ otpverificationStatus: initialStatus,
44
+ },
45
+ Officer_6: {
46
+ localData: undefined,
47
+ sendOtpStatus: initialStatus,
48
+ otpverificationStatus: initialStatus,
49
+ },
50
+ Officer_7: {
51
+ localData: undefined,
52
+ sendOtpStatus: initialStatus,
53
+ otpverificationStatus: initialStatus,
54
+ },
55
+ Officer_8: {
56
+ localData: undefined,
57
+ sendOtpStatus: initialStatus,
58
+ otpverificationStatus: initialStatus,
59
+ },
60
+ Officer_9: {
61
+ localData: undefined,
62
+ sendOtpStatus: initialStatus,
63
+ otpverificationStatus: initialStatus,
64
+ },
65
+ Officer_10: {
66
+ localData: undefined,
67
+ sendOtpStatus: initialStatus,
68
+ otpverificationStatus: initialStatus,
69
+ },
70
+ },
44
71
  primaryContactDetails: {},
45
72
  paymentAccountDetails: {
46
73
  fetchStatus: initialStatus,
@@ -68,7 +95,6 @@ exports.initialState = {
68
95
  },
69
96
  fetchState: 'Not-Started',
70
97
  error: undefined,
71
- aiAgentsActivation: { ...onboardingCustomerViewState_1.emptyAiAgentsActivationSubview },
72
98
  uiState: {
73
99
  isQBOPopupOpen: false,
74
100
  isCardPaymentPopupOpen: false,
@@ -158,111 +184,6 @@ const onboardingCustomerView = (0, toolkit_1.createSlice)({
158
184
  };
159
185
  },
160
186
  },
161
- acknowledgeOnboardingAiFinanceTeam: {
162
- reducer(draft) {
163
- draft.aiFinanceTeamAcknowledgementStatus = {
164
- fetchState: 'In-Progress',
165
- error: undefined,
166
- };
167
- },
168
- prepare(companyId) {
169
- return {
170
- payload: { companyId },
171
- };
172
- },
173
- },
174
- acknowledgeOnboardingAiFinanceTeamSuccess(draft) {
175
- draft.aiFinanceTeamAcknowledgementStatus = {
176
- fetchState: 'Completed',
177
- error: undefined,
178
- };
179
- },
180
- acknowledgeOnboardingAiFinanceTeamFailure: {
181
- reducer(draft, action) {
182
- draft.aiFinanceTeamAcknowledgementStatus = {
183
- fetchState: 'Error',
184
- error: action.payload,
185
- };
186
- },
187
- prepare(error) {
188
- return {
189
- payload: error,
190
- };
191
- },
192
- },
193
- fetchAiAgentsActivationStatus(draft) {
194
- draft.aiAgentsActivation.fetchStatus = {
195
- fetchState: 'In-Progress',
196
- error: undefined,
197
- };
198
- },
199
- fetchAiAgentsActivationStatusSuccess: {
200
- reducer(draft, action) {
201
- draft.aiAgentsActivation.fetchStatus = {
202
- fetchState: 'Completed',
203
- error: undefined,
204
- };
205
- draft.aiAgentsActivation.ledgerPhases = action.payload.ledgerPhases;
206
- draft.aiAgentsActivation.backgroundPhases =
207
- action.payload.backgroundPhases;
208
- draft.aiAgentsActivation.counts = action.payload.counts;
209
- },
210
- prepare(payload) {
211
- return { payload };
212
- },
213
- },
214
- fetchAiAgentsActivationStatusFailure: {
215
- reducer(draft, action) {
216
- draft.aiAgentsActivation.fetchStatus = {
217
- fetchState: 'Error',
218
- error: action.payload,
219
- };
220
- },
221
- prepare(error) {
222
- return { payload: error };
223
- },
224
- },
225
- aiAgentsActivationCountsUpdated: {
226
- reducer(draft, action) {
227
- draft.aiAgentsActivation.counts = {
228
- ...draft.aiAgentsActivation.counts,
229
- ...action.payload,
230
- };
231
- },
232
- prepare(payload) {
233
- return { payload };
234
- },
235
- },
236
- aiAgentsActivationPhaseChanged: {
237
- reducer(draft, action) {
238
- const target = action.payload.section === 'ledger'
239
- ? draft.aiAgentsActivation.ledgerPhases
240
- : draft.aiAgentsActivation.backgroundPhases;
241
- const index = target.findIndex((phase) => phase.key === action.payload.key);
242
- if (index === -1) {
243
- target.push(action.payload);
244
- }
245
- else {
246
- target[index] = { ...target[index], ...action.payload };
247
- }
248
- },
249
- prepare(payload) {
250
- return { payload };
251
- },
252
- },
253
- aiAgentsActivationSectionReady: {
254
- reducer(draft, action) {
255
- const target = action.payload.section === 'ledger'
256
- ? draft.aiAgentsActivation.ledgerPhases
257
- : draft.aiAgentsActivation.backgroundPhases;
258
- target.forEach((phase) => {
259
- phase.status = 'ready';
260
- });
261
- },
262
- prepare(payload) {
263
- return { payload };
264
- },
265
- },
266
187
  updateOnboardingCustomerViewDashboardLoaded: {
267
188
  reducer(draft) {
268
189
  draft.dashboardLoadedStatus = {
@@ -675,81 +596,7 @@ const onboardingCustomerView = (0, toolkit_1.createSlice)({
675
596
  clearOnboardingCustomerView(draft) {
676
597
  Object.assign(draft, exports.initialState);
677
598
  },
678
- /** Merge AI-parsed officer fields into the officer's onboarding localData. */
679
- applyKycDocumentAutofillForOnboarding: {
680
- reducer(draft, action) {
681
- const { officerType, values, autoFilledFieldNames, fileId } = action.payload;
682
- const slot = draft.companyOfficerUpdateStatus[officerType];
683
- slot.localData = Object.assign({}, slot.localData, values);
684
- slot.autoFilledFields = Array.from(new Set([...slot.autoFilledFields, ...autoFilledFieldNames]));
685
- draft.parsingDocumentFileIds = draft.parsingDocumentFileIds.filter((id) => id !== fileId);
686
- },
687
- prepare(payload) {
688
- return { payload };
689
- },
690
- },
691
- /** Merge AI-parsed company fields into companyDetails onboarding localData. */
692
- applyKybDocumentAutofillForOnboarding: {
693
- reducer(draft, action) {
694
- const { values, autoFilledFieldNames, fileId } = action.payload;
695
- draft.companyDetails.localData = Object.assign({}, draft.companyDetails.localData, values);
696
- const prev = draft.companyDetails.autoFilledFields ?? [];
697
- draft.companyDetails.autoFilledFields = Array.from(new Set([...prev, ...autoFilledFieldNames]));
698
- draft.parsingDocumentFileIds = draft.parsingDocumentFileIds.filter((id) => id !== fileId);
699
- },
700
- prepare(payload) {
701
- return { payload };
702
- },
703
- },
704
- /** Wipe AI-autofill badges during onboarding. */
705
- clearKycKybAutofillForOnboarding: {
706
- reducer(draft, action) {
707
- const { officerType } = action.payload;
708
- if (officerType != null) {
709
- draft.companyOfficerUpdateStatus[officerType].autoFilledFields = [];
710
- }
711
- else {
712
- draft.companyDetails.autoFilledFields = [];
713
- Object.keys(draft.companyOfficerUpdateStatus).forEach((key) => {
714
- draft.companyOfficerUpdateStatus[key].autoFilledFields = [];
715
- });
716
- }
717
- },
718
- prepare(payload = {}) {
719
- return { payload };
720
- },
721
- },
722
- },
723
- extraReducers: (builder) => {
724
- const addParsingFileId = (draft, fileId) => {
725
- if (!draft.parsingDocumentFileIds.includes(fileId)) {
726
- draft.parsingDocumentFileIds.push(fileId);
727
- }
728
- };
729
- const removeParsingFileId = (draft, fileId) => {
730
- draft.parsingDocumentFileIds = draft.parsingDocumentFileIds.filter((id) => id !== fileId);
731
- };
732
- builder.addCase(kycKybAutofillActions_1.parseUploadedKycDocument, (draft, action) => {
733
- if (action.payload.target === 'onboarding') {
734
- addParsingFileId(draft, action.payload.fileId);
735
- }
736
- });
737
- builder.addCase(kycKybAutofillActions_1.parseUploadedKybDocument, (draft, action) => {
738
- if (action.payload.target === 'onboarding') {
739
- addParsingFileId(draft, action.payload.fileId);
740
- }
741
- });
742
- builder.addCase(kycKybAutofillActions_1.parseUploadedKycDocumentFailure, (draft, action) => {
743
- if (action.payload.target === 'onboarding') {
744
- removeParsingFileId(draft, action.payload.fileId);
745
- }
746
- });
747
- builder.addCase(kycKybAutofillActions_1.parseUploadedKybDocumentFailure, (draft, action) => {
748
- if (action.payload.target === 'onboarding') {
749
- removeParsingFileId(draft, action.payload.fileId);
750
- }
751
- });
752
599
  },
753
600
  });
754
- _a = onboardingCustomerView.actions, exports.fetchOnboardingCustomerView = _a.fetchOnboardingCustomerView, exports.fetchOnboardingCustomerSetupView = _a.fetchOnboardingCustomerSetupView, exports.fetchOnboardingCustomerSetupViewSuccess = _a.fetchOnboardingCustomerSetupViewSuccess, exports.fetchOnboardingCustomerSetupViewFailure = _a.fetchOnboardingCustomerSetupViewFailure, exports.updateOnboardingCustomerViewCompleteStatus = _a.updateOnboardingCustomerViewCompleteStatus, exports.updateOnboardingCustomerViewCompleteStatusSuccess = _a.updateOnboardingCustomerViewCompleteStatusSuccess, exports.updateOnboardingCustomerViewCompleteStatusFailure = _a.updateOnboardingCustomerViewCompleteStatusFailure, exports.acknowledgeOnboardingAiFinanceTeam = _a.acknowledgeOnboardingAiFinanceTeam, exports.acknowledgeOnboardingAiFinanceTeamSuccess = _a.acknowledgeOnboardingAiFinanceTeamSuccess, exports.acknowledgeOnboardingAiFinanceTeamFailure = _a.acknowledgeOnboardingAiFinanceTeamFailure, exports.fetchAiAgentsActivationStatus = _a.fetchAiAgentsActivationStatus, exports.fetchAiAgentsActivationStatusSuccess = _a.fetchAiAgentsActivationStatusSuccess, exports.fetchAiAgentsActivationStatusFailure = _a.fetchAiAgentsActivationStatusFailure, exports.aiAgentsActivationCountsUpdated = _a.aiAgentsActivationCountsUpdated, exports.aiAgentsActivationPhaseChanged = _a.aiAgentsActivationPhaseChanged, exports.aiAgentsActivationSectionReady = _a.aiAgentsActivationSectionReady, exports.updateOnboardingCustomerViewDashboardLoaded = _a.updateOnboardingCustomerViewDashboardLoaded, exports.updateOnboardingCustomerViewDashboardLoadedSuccess = _a.updateOnboardingCustomerViewDashboardLoadedSuccess, exports.updateOnboardingCustomerViewDashboardLoadedFailure = _a.updateOnboardingCustomerViewDashboardLoadedFailure, exports.updateOnboardingCustomerView = _a.updateOnboardingCustomerView, exports.updateOnboardingCustomerViewSuccess = _a.updateOnboardingCustomerViewSuccess, exports.updateOnboardingCustomerViewFailure = _a.updateOnboardingCustomerViewFailure, exports.updateOnboardingPaymentAccountStatus = _a.updateOnboardingPaymentAccountStatus, exports.updateOnboardingPaymentAccountStatusSuccess = _a.updateOnboardingPaymentAccountStatusSuccess, exports.updateOnboardingPaymentAccountStatusFailure = _a.updateOnboardingPaymentAccountStatusFailure, exports.updateOnboardingPaymentAccountLoginStatus = _a.updateOnboardingPaymentAccountLoginStatus, exports.updateOnboardingPaymentAccountLoginStatusSuccess = _a.updateOnboardingPaymentAccountLoginStatusSuccess, exports.updateOnboardingPaymentAccountLoginStatusFailure = _a.updateOnboardingPaymentAccountLoginStatusFailure, exports.establishOnboardingPlaidConnection = _a.establishOnboardingPlaidConnection, exports.establishOnboardingPlaidConnectionSuccess = _a.establishOnboardingPlaidConnectionSuccess, exports.establishOnboardingPlaidConnectionFailure = _a.establishOnboardingPlaidConnectionFailure, exports.getOnboardingPlaidLinkToken = _a.getOnboardingPlaidLinkToken, exports.getOnboardingPlaidLinkTokenSuccess = _a.getOnboardingPlaidLinkTokenSuccess, exports.getOnboardingPlaidLinkTokenFailure = _a.getOnboardingPlaidLinkTokenFailure, exports.updateCurrentStep = _a.updateCurrentStep, exports.updateOnboardingCustomerViewAccountDetails = _a.updateOnboardingCustomerViewAccountDetails, exports.updateOnboardingCustomerViewLocalStoreData = _a.updateOnboardingCustomerViewLocalStoreData, exports.saveOnboardingCustomerViewDataInLocalStore = _a.saveOnboardingCustomerViewDataInLocalStore, exports.saveOnboardingCompnayOfficerPhoneInLocalStore = _a.saveOnboardingCompnayOfficerPhoneInLocalStore, exports.updateOnboardingCustomerViewUIState = _a.updateOnboardingCustomerViewUIState, exports.sendOnboardingOfficerOtp = _a.sendOnboardingOfficerOtp, exports.sendOnboardingOfficerOtpSuccess = _a.sendOnboardingOfficerOtpSuccess, exports.sendOnboardingOfficerOtpFailure = _a.sendOnboardingOfficerOtpFailure, exports.resendOnboardingOfficerOtp = _a.resendOnboardingOfficerOtp, exports.verifyOnboardingOfficerOtp = _a.verifyOnboardingOfficerOtp, exports.verifyOnboardingOfficerOtpSuccess = _a.verifyOnboardingOfficerOtpSuccess, exports.verifyOnboardingOfficerOtpFailure = _a.verifyOnboardingOfficerOtpFailure, exports.clearOnboardingCustomerViewDataInLocalStore = _a.clearOnboardingCustomerViewDataInLocalStore, exports.clearOnboardingCustomerView = _a.clearOnboardingCustomerView, exports.applyKycDocumentAutofillForOnboarding = _a.applyKycDocumentAutofillForOnboarding, exports.applyKybDocumentAutofillForOnboarding = _a.applyKybDocumentAutofillForOnboarding, exports.clearKycKybAutofillForOnboarding = _a.clearKycKybAutofillForOnboarding;
601
+ _a = onboardingCustomerView.actions, exports.fetchOnboardingCustomerView = _a.fetchOnboardingCustomerView, exports.fetchOnboardingCustomerSetupView = _a.fetchOnboardingCustomerSetupView, exports.fetchOnboardingCustomerSetupViewSuccess = _a.fetchOnboardingCustomerSetupViewSuccess, exports.fetchOnboardingCustomerSetupViewFailure = _a.fetchOnboardingCustomerSetupViewFailure, exports.updateOnboardingCustomerViewCompleteStatus = _a.updateOnboardingCustomerViewCompleteStatus, exports.updateOnboardingCustomerViewCompleteStatusSuccess = _a.updateOnboardingCustomerViewCompleteStatusSuccess, exports.updateOnboardingCustomerViewCompleteStatusFailure = _a.updateOnboardingCustomerViewCompleteStatusFailure, exports.updateOnboardingCustomerViewDashboardLoaded = _a.updateOnboardingCustomerViewDashboardLoaded, exports.updateOnboardingCustomerViewDashboardLoadedSuccess = _a.updateOnboardingCustomerViewDashboardLoadedSuccess, exports.updateOnboardingCustomerViewDashboardLoadedFailure = _a.updateOnboardingCustomerViewDashboardLoadedFailure, exports.updateOnboardingCustomerView = _a.updateOnboardingCustomerView, exports.updateOnboardingCustomerViewSuccess = _a.updateOnboardingCustomerViewSuccess, exports.updateOnboardingCustomerViewFailure = _a.updateOnboardingCustomerViewFailure, exports.updateOnboardingPaymentAccountStatus = _a.updateOnboardingPaymentAccountStatus, exports.updateOnboardingPaymentAccountStatusSuccess = _a.updateOnboardingPaymentAccountStatusSuccess, exports.updateOnboardingPaymentAccountStatusFailure = _a.updateOnboardingPaymentAccountStatusFailure, exports.updateOnboardingPaymentAccountLoginStatus = _a.updateOnboardingPaymentAccountLoginStatus, exports.updateOnboardingPaymentAccountLoginStatusSuccess = _a.updateOnboardingPaymentAccountLoginStatusSuccess, exports.updateOnboardingPaymentAccountLoginStatusFailure = _a.updateOnboardingPaymentAccountLoginStatusFailure, exports.establishOnboardingPlaidConnection = _a.establishOnboardingPlaidConnection, exports.establishOnboardingPlaidConnectionSuccess = _a.establishOnboardingPlaidConnectionSuccess, exports.establishOnboardingPlaidConnectionFailure = _a.establishOnboardingPlaidConnectionFailure, exports.getOnboardingPlaidLinkToken = _a.getOnboardingPlaidLinkToken, exports.getOnboardingPlaidLinkTokenSuccess = _a.getOnboardingPlaidLinkTokenSuccess, exports.getOnboardingPlaidLinkTokenFailure = _a.getOnboardingPlaidLinkTokenFailure, exports.updateCurrentStep = _a.updateCurrentStep, exports.updateOnboardingCustomerViewAccountDetails = _a.updateOnboardingCustomerViewAccountDetails, exports.updateOnboardingCustomerViewLocalStoreData = _a.updateOnboardingCustomerViewLocalStoreData, exports.saveOnboardingCustomerViewDataInLocalStore = _a.saveOnboardingCustomerViewDataInLocalStore, exports.saveOnboardingCompnayOfficerPhoneInLocalStore = _a.saveOnboardingCompnayOfficerPhoneInLocalStore, exports.updateOnboardingCustomerViewUIState = _a.updateOnboardingCustomerViewUIState, exports.sendOnboardingOfficerOtp = _a.sendOnboardingOfficerOtp, exports.sendOnboardingOfficerOtpSuccess = _a.sendOnboardingOfficerOtpSuccess, exports.sendOnboardingOfficerOtpFailure = _a.sendOnboardingOfficerOtpFailure, exports.resendOnboardingOfficerOtp = _a.resendOnboardingOfficerOtp, exports.verifyOnboardingOfficerOtp = _a.verifyOnboardingOfficerOtp, exports.verifyOnboardingOfficerOtpSuccess = _a.verifyOnboardingOfficerOtpSuccess, exports.verifyOnboardingOfficerOtpFailure = _a.verifyOnboardingOfficerOtpFailure, exports.clearOnboardingCustomerViewDataInLocalStore = _a.clearOnboardingCustomerViewDataInLocalStore, exports.clearOnboardingCustomerView = _a.clearOnboardingCustomerView;
755
602
  exports.default = onboardingCustomerView.reducer;
@@ -15,7 +15,7 @@ import { CompanyView } from '../../companyView/types/companyView';
15
15
  import { CompanyDetails, CompanyOfficersDetails } from '../../spendManagement/commonSetup/setupViewSelector';
16
16
  import { CompanyOfficerLocalData } from '../../spendManagement/commonSetup/setupViewState';
17
17
  import { PlaidConnectionDetails } from '../../spendManagement/plaidAccount/plaidAccountViewState';
18
- import { AiAgentsActivationCounts, AiAgentsActivationPhase, AiAgentsActivationSubview, OnboardingCustomerViewUIState, OnboardingStep } from './onboardingCustomerViewState';
18
+ import { OnboardingCustomerViewUIState, OnboardingStep } from './onboardingCustomerViewState';
19
19
  export interface OnboardingCustomerView {
20
20
  allNationalityCountries: Country[];
21
21
  allRequiredStepsCompleted: boolean;
@@ -28,7 +28,6 @@ export interface OnboardingCustomerView {
28
28
  fetchStatus: FetchStateAndError;
29
29
  halfCompletedSteps: OnboardingStep[];
30
30
  isInterimEmailSent: boolean;
31
- parsingDocumentFileIds: ID[];
32
31
  paymentAccountFetchStatus: FetchStateAndError;
33
32
  paymentAccountUpdateStatus: FetchStateAndError;
34
33
  pendingSaveDetails: {
@@ -56,9 +55,3 @@ export declare const onboardingStepsData: (isValidConnection: boolean, productSe
56
55
  };
57
56
  export declare function isCompanyDetailsSavePending(fileState: FileState, company?: CompanyView, primaryContact?: User, companyDetailsLocalData?: CompanyDetails): boolean;
58
57
  export declare const getProductSettingsString: (productSettings: TenantProductSettings | undefined) => string;
59
- export declare const getAiAgentsActivationSubview: (state: RootState) => AiAgentsActivationSubview;
60
- export declare const getAiAgentsActivationLedgerPhases: (state: RootState) => AiAgentsActivationPhase[];
61
- export declare const getAiAgentsActivationBackgroundPhases: (state: RootState) => AiAgentsActivationPhase[];
62
- export declare const getAiAgentsActivationCounts: (state: RootState) => AiAgentsActivationCounts;
63
- export declare const getAiAgentsActivationLedgerRowStatuses: (state: RootState) => ReadonlyArray<"idle" | "starting" | "building">;
64
- export declare const getAiAgentsActivationBackgroundRowStatuses: (state: RootState) => ReadonlyArray<"idle" | "starting" | "building">;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getAiAgentsActivationBackgroundRowStatuses = exports.getAiAgentsActivationLedgerRowStatuses = exports.getAiAgentsActivationCounts = exports.getAiAgentsActivationBackgroundPhases = exports.getAiAgentsActivationLedgerPhases = exports.getAiAgentsActivationSubview = exports.getProductSettingsString = exports.onboardingStepsData = void 0;
3
+ exports.getProductSettingsString = exports.onboardingStepsData = void 0;
4
4
  exports.getOnboardingCustomerView = getOnboardingCustomerView;
5
5
  exports.isOfficerDetailsCompleted = isOfficerDetailsCompleted;
6
6
  exports.isCompanyDetailsSavePending = isCompanyDetailsSavePending;
@@ -17,7 +17,7 @@ const setupViewSelector_1 = require("../../spendManagement/commonSetup/setupView
17
17
  const onboardingCustomerViewState_1 = require("./onboardingCustomerViewState");
18
18
  function getOnboardingCustomerView(state, companyId) {
19
19
  const { fileState, paymentAccountState, onboardingCustomerViewState, userState, userRoleState, subscriptionPaymentAccountState, companyConfigState, cardPaymentViewState, countryListState, addressViewState, } = state;
20
- const { companyDetails, companyOfficerUpdateStatus, primaryContactDetails, subscriptionPaymentAccountIds, paymentAccountDetails, plaidConnectionDetails, parsingDocumentFileIds, updateStatus, saveStatus, currentStep, uiState, fetchState, error, } = onboardingCustomerViewState;
20
+ const { companyDetails, companyOfficerUpdateStatus, primaryContactDetails, subscriptionPaymentAccountIds, paymentAccountDetails, plaidConnectionDetails, updateStatus, saveStatus, currentStep, uiState, fetchState, error, } = onboardingCustomerViewState;
21
21
  const { paymentAccountIds } = paymentAccountDetails;
22
22
  let subscriptionPaymentAccount;
23
23
  let paymentAccount;
@@ -60,7 +60,6 @@ function getOnboardingCustomerView(state, companyId) {
60
60
  companyDetails,
61
61
  companyOfficerUpdateStatus,
62
62
  primaryContactDetails,
63
- parsingDocumentFileIds,
64
63
  });
65
64
  const companyAddress = addressViewState.newAddressState?.company_address;
66
65
  if (companyAddress == null &&
@@ -126,7 +125,6 @@ function getOnboardingCustomerView(state, companyId) {
126
125
  return {
127
126
  companyDetailsLocalData,
128
127
  companyOfficerLocalData,
129
- parsingDocumentFileIds,
130
128
  subscriptionBillingAddress: subscriptionBillingAddress?.addressToCreate,
131
129
  companyView,
132
130
  allNationalityCountries,
@@ -333,23 +331,3 @@ const getProductSettingsString = (productSettings) => {
333
331
  .join(',');
334
332
  };
335
333
  exports.getProductSettingsString = getProductSettingsString;
336
- const fromActivationView = (state) => state.onboardingCustomerViewState.aiAgentsActivation;
337
- const getAiAgentsActivationSubview = (state) => fromActivationView(state);
338
- exports.getAiAgentsActivationSubview = getAiAgentsActivationSubview;
339
- const getAiAgentsActivationLedgerPhases = (state) => fromActivationView(state).ledgerPhases;
340
- exports.getAiAgentsActivationLedgerPhases = getAiAgentsActivationLedgerPhases;
341
- const getAiAgentsActivationBackgroundPhases = (state) => fromActivationView(state).backgroundPhases;
342
- exports.getAiAgentsActivationBackgroundPhases = getAiAgentsActivationBackgroundPhases;
343
- const getAiAgentsActivationCounts = (state) => fromActivationView(state).counts;
344
- exports.getAiAgentsActivationCounts = getAiAgentsActivationCounts;
345
- const SECTION_ROW_STATUS_FALLBACK = 'idle';
346
- const phaseStatusToRowStatus = (status) => {
347
- if (status === 'ready') {
348
- return 'building';
349
- }
350
- return status;
351
- };
352
- const getAiAgentsActivationLedgerRowStatuses = (state) => fromActivationView(state).ledgerPhases.map((phase) => phaseStatusToRowStatus(phase.status ?? SECTION_ROW_STATUS_FALLBACK));
353
- exports.getAiAgentsActivationLedgerRowStatuses = getAiAgentsActivationLedgerRowStatuses;
354
- const getAiAgentsActivationBackgroundRowStatuses = (state) => fromActivationView(state).backgroundPhases.map((phase) => phaseStatusToRowStatus(phase.status ?? SECTION_ROW_STATUS_FALLBACK));
355
- exports.getAiAgentsActivationBackgroundRowStatuses = getAiAgentsActivationBackgroundRowStatuses;
@@ -21,32 +21,16 @@ export interface OnboardingCustomerViewUIState {
21
21
  isQBOPopupOpen: boolean;
22
22
  }
23
23
  export interface OnboardingCustomerViewState extends FetchedState {
24
- aiAgentsActivation: AiAgentsActivationSubview;
25
24
  companyDetails: {
26
- /**
27
- * Field names from {@link CompanyDetailsLocalData} populated by AI autofill
28
- * from an uploaded KYB document during onboarding. Drives the ✦ sparkle.
29
- */
30
- autoFilledFields: string[];
31
25
  localData?: CompanyDetailsLocalData;
32
26
  };
33
27
  companyOfficerUpdateStatus: Record<CompanyOfficerType, {
34
- /**
35
- * Field names from {@link CompanyOfficerLocalData} populated by AI autofill
36
- * from an uploaded KYC identity document during onboarding.
37
- */
38
- autoFilledFields: string[];
39
28
  otpverificationStatus: FetchStateAndError;
40
29
  sendOtpStatus: FetchStateAndError;
41
30
  localData?: CompanyOfficerLocalData;
42
31
  }>;
43
32
  currentStep: OnboardingStep;
44
33
  dashboardLoadedStatus: FetchStateAndError;
45
- /**
46
- * File IDs currently being parsed by the AI autofill epic for onboarding.
47
- * Drives the "AI is reading your document" overlay on the upload field.
48
- */
49
- parsingDocumentFileIds: ID[];
50
34
  paymentAccountDetails: {
51
35
  fetchStatus: FetchStateAndError;
52
36
  paymentAccountIds: ID[];
@@ -60,31 +44,5 @@ export interface OnboardingCustomerViewState extends FetchedState {
60
44
  subscriptionPaymentAccountIds: ID[];
61
45
  uiState: OnboardingCustomerViewUIState;
62
46
  updateStatus: FetchStateAndError;
63
- aiFinanceTeamAcknowledgementStatus?: FetchStateAndError;
64
47
  subscriptionBillingAddress?: Address;
65
48
  }
66
- export type AiAgentsActivationPhaseStatus = 'idle' | 'starting' | 'building' | 'ready';
67
- export type AiAgentsActivationSection = 'ledger' | 'background';
68
- export interface AiAgentsActivationPhase {
69
- key: string;
70
- section: AiAgentsActivationSection;
71
- status: AiAgentsActivationPhaseStatus;
72
- completedAt?: string;
73
- startedAt?: string;
74
- }
75
- export interface AiAgentsActivationCounts {
76
- customerCount: number;
77
- glAccountCount: number;
78
- targetTransactionCount: number;
79
- transactionCount: number;
80
- vendorCount: number;
81
- asOf?: string;
82
- }
83
- export interface AiAgentsActivationSubview {
84
- backgroundPhases: AiAgentsActivationPhase[];
85
- counts: AiAgentsActivationCounts;
86
- fetchStatus: FetchStateAndError;
87
- ledgerPhases: AiAgentsActivationPhase[];
88
- }
89
- export declare const emptyAiAgentsActivationCounts: AiAgentsActivationCounts;
90
- export declare const emptyAiAgentsActivationSubview: AiAgentsActivationSubview;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.emptyAiAgentsActivationSubview = exports.emptyAiAgentsActivationCounts = exports.toOnboardingStepType = exports.ALL_ONBOARDING_STEPS = exports.ALL_CUSTOMER_ONBOARDING_STEPS_WITH_QBO = exports.ALL_ZENI_USER_ONBOARDING_STEPS = exports.ALL_ZENI_USER_ONBOARDING_STEPS_WITHOUT_ACCOUNT = exports.REQUIRED_ONBOARDING_STEPS = exports.CUSTOMER_REQUIRED_ONBOARDING_STEPS_WITH_QBO = exports.ZENI_USER_REQUIRED_ONBOARDING_STEPS = void 0;
3
+ exports.toOnboardingStepType = exports.ALL_ONBOARDING_STEPS = exports.ALL_CUSTOMER_ONBOARDING_STEPS_WITH_QBO = exports.ALL_ZENI_USER_ONBOARDING_STEPS = exports.ALL_ZENI_USER_ONBOARDING_STEPS_WITHOUT_ACCOUNT = exports.REQUIRED_ONBOARDING_STEPS = exports.CUSTOMER_REQUIRED_ONBOARDING_STEPS_WITH_QBO = exports.ZENI_USER_REQUIRED_ONBOARDING_STEPS = void 0;
4
4
  const stringToUnion_1 = require("../../../commonStateTypes/stringToUnion");
5
5
  exports.ZENI_USER_REQUIRED_ONBOARDING_STEPS = [
6
6
  'link_payment_account',
@@ -30,16 +30,3 @@ exports.ALL_ONBOARDING_STEPS = [
30
30
  ];
31
31
  const toOnboardingStepType = (v) => (0, stringToUnion_1.stringToUnion)(v, exports.ALL_ONBOARDING_STEPS);
32
32
  exports.toOnboardingStepType = toOnboardingStepType;
33
- exports.emptyAiAgentsActivationCounts = {
34
- customerCount: 0,
35
- glAccountCount: 0,
36
- targetTransactionCount: 0,
37
- transactionCount: 0,
38
- vendorCount: 0,
39
- };
40
- exports.emptyAiAgentsActivationSubview = {
41
- backgroundPhases: [],
42
- counts: exports.emptyAiAgentsActivationCounts,
43
- fetchStatus: { fetchState: 'Not-Started', error: undefined },
44
- ledgerPhases: [],
45
- };
@@ -2,7 +2,7 @@ import { ID } from '../../../commonStateTypes/common';
2
2
  import { ZeniAPIStatus } from '../../../responsePayload';
3
3
  import { ZeniDate } from '../../../zeniDayJS';
4
4
  import { CompanyOfficerType } from '../../companyView/types/companyPassport/companyUsersLocalData';
5
- import { CompanyDetailsLocalData, CompanyOfficerLocalData, SetupViewLocalData, SetupViewState } from './setupViewState';
5
+ import { CompanyDetailsLocalData, SetupViewLocalData, SetupViewState } from './setupViewState';
6
6
  export declare const initialState: SetupViewState;
7
7
  export declare const enableSetup: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[companyId: string, setupViewType: "bill_pay" | "reimbursement" | "zeni_accounts" | "zeni_treasury" | "charge_cards" | "other_connection" | "billing" | "debit_cards" | "charge_cards__debit_cards"], {
8
8
  companyId: string;
@@ -29,32 +29,6 @@ export declare const enableSetup: import("@reduxjs/toolkit").ActionCreatorWithPr
29
29
  }, "setupView/sendOtpSuccess">, sendOtpFailureSpendManagementSetUp: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, "setupView/sendOtpFailure">, verifyOtpSpendManagementSetUp: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"setupView/verifyOtp">, verifyOtpSuccessSpendManagementSetUp: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"setupView/verifyOtpSuccess">, verifyOtpFailureSpendManagementSetUp: import("@reduxjs/toolkit").ActionCreatorWithPayload<ZeniAPIStatus<Record<string, unknown>>, "setupView/verifyOtpFailure">, saveIndustryAndIncDateInLocalStore: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
30
30
  incDate: ZeniDate;
31
31
  industry: string;
32
- }, "setupView/saveIndustryAndIncDateInLocalStore">, clearSetupViewDataInLocalStore: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"setupView/clearSetupViewDataInLocalStore">, clearSetupView: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"setupView/clearSetupView">, applyKycDocumentAutofillForSetup: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: {
33
- autoFilledFieldNames: string[];
34
- companyId: ID;
35
- fileId: ID;
36
- officerType: CompanyOfficerType;
37
- values: Partial<CompanyOfficerLocalData>;
38
- }], {
39
- autoFilledFieldNames: string[];
40
- companyId: ID;
41
- fileId: ID;
42
- officerType: CompanyOfficerType;
43
- values: Partial<CompanyOfficerLocalData>;
44
- }, "setupView/applyKycDocumentAutofillForSetup", never, never>, applyKybDocumentAutofillForSetup: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: {
45
- autoFilledFieldNames: string[];
46
- companyId: ID;
47
- fileId: ID;
48
- values: Partial<CompanyDetailsLocalData>;
49
- }], {
50
- autoFilledFieldNames: string[];
51
- companyId: ID;
52
- fileId: ID;
53
- values: Partial<CompanyDetailsLocalData>;
54
- }, "setupView/applyKybDocumentAutofillForSetup", never, never>, clearKycKybAutofillForSetup: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload?: {
55
- officerType?: CompanyOfficerType;
56
- } | undefined], {
57
- officerType?: CompanyOfficerType;
58
- }, "setupView/clearKycKybAutofillForSetup", never, never>;
32
+ }, "setupView/saveIndustryAndIncDateInLocalStore">, clearSetupViewDataInLocalStore: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"setupView/clearSetupViewDataInLocalStore">, clearSetupView: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"setupView/clearSetupView">;
59
33
  declare const _default: import("redux").Reducer<SetupViewState>;
60
34
  export default _default;