@zeniai/client-epic-state 5.0.95-betaML1 → 5.0.96
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.
- package/lib/common/aiCfo/aiCfoSuggestedQuestionsPageContext.d.ts +1 -1
- package/lib/entity/aiCfo/aiCfoPayload.d.ts +5 -63
- package/lib/entity/aiCfo/aiCfoReducer.d.ts +2 -23
- package/lib/entity/aiCfo/aiCfoReducer.js +9 -249
- package/lib/entity/aiCfo/aiCfoSelector.d.ts +1 -4
- package/lib/entity/aiCfo/aiCfoSelector.js +1 -19
- package/lib/entity/aiCfo/aiCfoState.d.ts +4 -97
- package/lib/entity/aiCfo/aiCfoState.js +1 -18
- package/lib/entity/jeSchedules/jeSchedulesPayload.d.ts +0 -1
- package/lib/entity/jeSchedules/jeSchedulesPayload.js +0 -7
- package/lib/entity/jeSchedules/jeSchedulesState.d.ts +0 -2
- package/lib/entity/jeSchedules/jeSchedulesTypes.d.ts +1 -1
- package/lib/entity/monthEndCloseChecks/monthEndCloseChecksState.d.ts +1 -1
- package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
- package/lib/entity/snackbar/snackbarTypes.js +0 -3
- package/lib/entity/task/taskPayload.d.ts +1 -3
- package/lib/entity/task/taskPayload.js +0 -2
- package/lib/entity/task/taskState.d.ts +0 -2
- package/lib/entity/tenant/clearAllEpic.d.ts +2 -6
- package/lib/entity/tenant/clearAllEpic.js +0 -8
- package/lib/epic.d.ts +3 -18
- package/lib/epic.js +3 -18
- package/lib/esm/entity/aiCfo/aiCfoReducer.js +9 -249
- package/lib/esm/entity/aiCfo/aiCfoSelector.js +1 -17
- package/lib/esm/entity/aiCfo/aiCfoState.js +0 -15
- package/lib/esm/entity/jeSchedules/jeSchedulesPayload.js +0 -7
- package/lib/esm/entity/snackbar/snackbarTypes.js +0 -3
- package/lib/esm/entity/task/taskPayload.js +0 -2
- package/lib/esm/entity/tenant/clearAllEpic.js +0 -8
- package/lib/esm/epic.js +3 -18
- package/lib/esm/index.js +12 -42
- package/lib/esm/reducer.js +0 -12
- package/lib/esm/view/aiCfoView/aiCfoViewReducer.js +3 -6
- package/lib/esm/view/aiCfoView/epics/createSessionAndSubmitEpic.js +2 -5
- package/lib/esm/view/aiCfoView/epics/createSessionEpic.js +1 -2
- package/lib/esm/view/aiCfoView/epics/fetchSuggestedQuestionsEpic.js +2 -12
- package/lib/esm/view/companyTaskManagerView/companyTaskManagerViewReducer.js +11 -39
- package/lib/esm/view/companyTaskManagerView/companyTaskManagerViewSelector.js +4 -14
- package/lib/esm/view/companyTaskManagerView/epics/fetchCompanyTaskManagerViewEpic.js +28 -37
- package/lib/esm/view/companyView/epic/fetchAllCockpitViewsEpic.js +2 -2
- package/lib/esm/view/expenseAutomationView/epics/transactionCategorization/initializeTransactionCategorizationLocalDataEpic.js +0 -15
- package/lib/esm/view/expenseAutomationView/reducers/transactionsViewReducer.js +5 -63
- package/lib/esm/view/recommendation/fetchEntityRecommendationsForLineUpdateEpic.js +3 -12
- package/lib/esm/view/recommendation/recommendationReducer.js +1 -18
- package/lib/esm/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +0 -25
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardEpic.js +2 -2
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.js +4 -42
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.js +0 -35
- package/lib/esm/view/transactionDetail/epics/initializeTransactionDetailLocalDataEpic.js +0 -7
- package/lib/esm/view/transactionDetail/transactionDetailReducer.js +3 -44
- package/lib/index.d.ts +14 -49
- package/lib/index.js +22 -194
- package/lib/reducer.d.ts +0 -12
- package/lib/reducer.js +0 -12
- package/lib/view/aiCfoView/aiCfoViewReducer.d.ts +2 -11
- package/lib/view/aiCfoView/aiCfoViewReducer.js +3 -6
- package/lib/view/aiCfoView/epics/createSessionAndSubmitEpic.js +2 -5
- package/lib/view/aiCfoView/epics/createSessionEpic.js +1 -2
- package/lib/view/aiCfoView/epics/fetchSuggestedQuestionsEpic.d.ts +1 -8
- package/lib/view/aiCfoView/epics/fetchSuggestedQuestionsEpic.js +2 -12
- package/lib/view/companyTaskManagerView/companyTaskManagerViewPayload.d.ts +11 -19
- package/lib/view/companyTaskManagerView/companyTaskManagerViewReducer.d.ts +4 -10
- package/lib/view/companyTaskManagerView/companyTaskManagerViewReducer.js +12 -40
- package/lib/view/companyTaskManagerView/companyTaskManagerViewSelector.d.ts +0 -2
- package/lib/view/companyTaskManagerView/companyTaskManagerViewSelector.js +3 -13
- package/lib/view/companyTaskManagerView/companyTaskManagerViewState.d.ts +3 -11
- package/lib/view/companyTaskManagerView/epics/fetchCompanyTaskManagerViewEpic.d.ts +3 -1
- package/lib/view/companyTaskManagerView/epics/fetchCompanyTaskManagerViewEpic.js +28 -37
- package/lib/view/companyView/epic/fetchAllCockpitViewsEpic.js +2 -2
- package/lib/view/companyView/types/cockpitTypes.d.ts +1 -2
- package/lib/view/expenseAutomationView/epics/transactionCategorization/initializeTransactionCategorizationLocalDataEpic.d.ts +1 -2
- package/lib/view/expenseAutomationView/epics/transactionCategorization/initializeTransactionCategorizationLocalDataEpic.js +0 -15
- package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +1 -1
- package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +5 -63
- package/lib/view/expenseAutomationView/types/reconciliationViewState.d.ts +1 -1
- package/lib/view/people/peopleTypes.d.ts +1 -1
- package/lib/view/recommendation/fetchEntityRecommendationsForLineUpdateEpic.d.ts +2 -2
- package/lib/view/recommendation/fetchEntityRecommendationsForLineUpdateEpic.js +1 -10
- package/lib/view/recommendation/recommendationReducer.d.ts +1 -3
- package/lib/view/recommendation/recommendationReducer.js +2 -19
- package/lib/view/scheduleView/scheduleListView/scheduleListTypes.d.ts +1 -1
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.d.ts +1 -1
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.d.ts +0 -14
- package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardListSelector.js +1 -27
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardEpic.d.ts +2 -2
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardEpic.js +1 -1
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.d.ts +2 -12
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardReducer.js +5 -43
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.d.ts +0 -7
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardSelector.js +1 -42
- package/lib/view/spendManagement/chargeCards/issueChargeCard/issueChargeCardState.d.ts +0 -5
- package/lib/view/taskManager/taskListView/taskListReducer.d.ts +1 -1
- package/lib/view/transactionDetail/epics/initializeTransactionDetailLocalDataEpic.d.ts +1 -2
- package/lib/view/transactionDetail/epics/initializeTransactionDetailLocalDataEpic.js +0 -7
- package/lib/view/transactionDetail/journalEntryLinesViewModel.d.ts +1 -1
- package/lib/view/transactionDetail/transactionDetailReducer.js +3 -44
- package/package.json +1 -1
- package/lib/entity/cardPolicy/cardPolicyPayload.d.ts +0 -277
- package/lib/entity/cardPolicy/cardPolicyPayload.js +0 -143
- package/lib/entity/cardPolicy/cardPolicyReducer.d.ts +0 -19
- package/lib/entity/cardPolicy/cardPolicyReducer.js +0 -175
- package/lib/entity/cardPolicy/cardPolicySelector.d.ts +0 -32
- package/lib/entity/cardPolicy/cardPolicySelector.js +0 -99
- package/lib/entity/cardPolicy/cardPolicyState.d.ts +0 -205
- package/lib/entity/cardPolicy/cardPolicyState.js +0 -14
- package/lib/entity/cardPolicy/extractPolicyDocumentEpic.d.ts +0 -18
- package/lib/entity/cardPolicy/extractPolicyDocumentEpic.js +0 -68
- package/lib/entity/cardPolicy/fetchCardPolicyVendorOptionsEpic.d.ts +0 -26
- package/lib/entity/cardPolicy/fetchCardPolicyVendorOptionsEpic.js +0 -47
- package/lib/entity/cardPolicy/policyDocumentExtractionToRecommendationBridgeEpic.d.ts +0 -25
- package/lib/entity/cardPolicy/policyDocumentExtractionToRecommendationBridgeEpic.js +0 -39
- package/lib/entity/cardPolicy/policyRecommendationFromUploadEpic.d.ts +0 -24
- package/lib/entity/cardPolicy/policyRecommendationFromUploadEpic.js +0 -105
- package/lib/esm/entity/cardPolicy/cardPolicyPayload.js +0 -130
- package/lib/esm/entity/cardPolicy/cardPolicyReducer.js +0 -171
- package/lib/esm/entity/cardPolicy/cardPolicySelector.js +0 -75
- package/lib/esm/entity/cardPolicy/cardPolicyState.js +0 -9
- package/lib/esm/entity/cardPolicy/extractPolicyDocumentEpic.js +0 -64
- package/lib/esm/entity/cardPolicy/fetchCardPolicyVendorOptionsEpic.js +0 -43
- package/lib/esm/entity/cardPolicy/policyDocumentExtractionToRecommendationBridgeEpic.js +0 -35
- package/lib/esm/entity/cardPolicy/policyRecommendationFromUploadEpic.js +0 -101
- package/lib/esm/view/companyTaskManagerView/epics/fetchCockpitContextEpic.js +0 -38
- package/lib/esm/view/companyTaskManagerView/epics/updateCompanyTaskManagerViewFiltersEpic.js +0 -16
- package/lib/esm/view/recommendation/recommendationStaleResponseHelper.js +0 -26
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailReducer.js +0 -52
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailSelector.js +0 -22
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailState.js +0 -1
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/fetchCardPolicyDetailEpic.js +0 -36
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/updateCardPolicyEpic.js +0 -39
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/archiveCardPolicyEpic.js +0 -34
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListReducer.js +0 -58
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListSelector.js +0 -21
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListState.js +0 -1
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/fetchCardPolicyListEpic.js +0 -38
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyAiCardPolicyFormDraftUpdate.js +0 -289
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToAiCardPolicyDraft.js +0 -109
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToDraftEpic.js +0 -44
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToManualCardPolicyDraft.js +0 -111
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyUploadPlanToAiCardPolicyDraft.js +0 -25
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/buildAiCardPolicyFormDraftSeed.js +0 -363
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/buildManualCardPolicyFormDraftSeed.js +0 -36
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyChipIds.js +0 -19
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyFormDraftTypes.js +0 -6
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyRequestParts.js +0 -119
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyReducer.js +0 -154
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicySelector.js +0 -22
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyState.js +0 -1
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyTemplateEpic.js +0 -39
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/deriveAiPolicyReviewRowsFromInputs.js +0 -140
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/fetchCardPolicyMccCategoriesEpic.js +0 -20
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/seedAiCardPolicyFormDraftEpic.js +0 -100
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toBulkCardPolicyTemplateRequestsFromDraft.js +0 -96
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toCardPolicyTemplateRequestFromDraft.js +0 -59
- package/lib/esm/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toManualCardPolicyTemplateRequestFromDraft.js +0 -24
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/aiCardCreationFormDraftTypes.js +0 -1
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/applyAiCardCreationFormDraftUpdate.js +0 -34
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/buildAiCardCreationFormDraftSeed.js +0 -57
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/deriveAiCardRowsFromTeams.js +0 -35
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/seedAiCardCreationFormDraftEpic.js +0 -62
- package/lib/esm/view/spendManagement/chargeCards/issueChargeCard/toIssueChargeCardLocalDataFromDraft.js +0 -44
- package/lib/view/companyTaskManagerView/epics/fetchCockpitContextEpic.d.ts +0 -10
- package/lib/view/companyTaskManagerView/epics/fetchCockpitContextEpic.js +0 -42
- package/lib/view/companyTaskManagerView/epics/updateCompanyTaskManagerViewFiltersEpic.d.ts +0 -6
- package/lib/view/companyTaskManagerView/epics/updateCompanyTaskManagerViewFiltersEpic.js +0 -20
- package/lib/view/recommendation/recommendationStaleResponseHelper.d.ts +0 -7
- package/lib/view/recommendation/recommendationStaleResponseHelper.js +0 -30
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailReducer.d.ts +0 -14
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailReducer.js +0 -56
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailSelector.d.ts +0 -15
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailSelector.js +0 -28
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailState.d.ts +0 -8
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/cardPolicyDetailState.js +0 -2
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/fetchCardPolicyDetailEpic.d.ts +0 -8
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/fetchCardPolicyDetailEpic.js +0 -40
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/updateCardPolicyEpic.d.ts +0 -8
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyDetail/updateCardPolicyEpic.js +0 -43
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/archiveCardPolicyEpic.d.ts +0 -8
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/archiveCardPolicyEpic.js +0 -38
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListReducer.d.ts +0 -15
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListReducer.js +0 -62
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListSelector.d.ts +0 -15
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListSelector.js +0 -27
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListState.d.ts +0 -7
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/cardPolicyListState.js +0 -2
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/fetchCardPolicyListEpic.d.ts +0 -8
- package/lib/view/spendManagement/chargeCards/cardPolicy/cardPolicyList/fetchCardPolicyListEpic.js +0 -42
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyAiCardPolicyFormDraftUpdate.d.ts +0 -8
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyAiCardPolicyFormDraftUpdate.js +0 -294
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToAiCardPolicyDraft.d.ts +0 -8
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToAiCardPolicyDraft.js +0 -113
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToDraftEpic.d.ts +0 -9
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToDraftEpic.js +0 -48
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToManualCardPolicyDraft.d.ts +0 -8
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyExtractedPolicyToManualCardPolicyDraft.js +0 -115
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyUploadPlanToAiCardPolicyDraft.d.ts +0 -13
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/applyUploadPlanToAiCardPolicyDraft.js +0 -29
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/buildAiCardPolicyFormDraftSeed.d.ts +0 -14
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/buildAiCardPolicyFormDraftSeed.js +0 -369
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/buildManualCardPolicyFormDraftSeed.d.ts +0 -6
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/buildManualCardPolicyFormDraftSeed.js +0 -40
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyChipIds.d.ts +0 -7
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyChipIds.js +0 -26
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyFormDraftTypes.d.ts +0 -116
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyFormDraftTypes.js +0 -10
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyRequestParts.d.ts +0 -33
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/cardPolicyRequestParts.js +0 -126
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyReducer.d.ts +0 -52
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyReducer.js +0 -158
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicySelector.d.ts +0 -11
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicySelector.js +0 -31
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyState.d.ts +0 -12
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyState.js +0 -2
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyTemplateEpic.d.ts +0 -8
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/createCardPolicyTemplateEpic.js +0 -43
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/deriveAiPolicyReviewRowsFromInputs.d.ts +0 -10
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/deriveAiPolicyReviewRowsFromInputs.js +0 -144
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/fetchCardPolicyMccCategoriesEpic.d.ts +0 -7
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/fetchCardPolicyMccCategoriesEpic.js +0 -24
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/seedAiCardPolicyFormDraftEpic.d.ts +0 -11
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/seedAiCardPolicyFormDraftEpic.js +0 -104
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toBulkCardPolicyTemplateRequestsFromDraft.d.ts +0 -22
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toBulkCardPolicyTemplateRequestsFromDraft.js +0 -100
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toCardPolicyTemplateRequestFromDraft.d.ts +0 -8
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toCardPolicyTemplateRequestFromDraft.js +0 -63
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toManualCardPolicyTemplateRequestFromDraft.d.ts +0 -3
- package/lib/view/spendManagement/chargeCards/cardPolicy/createCardPolicy/toManualCardPolicyTemplateRequestFromDraft.js +0 -28
- package/lib/view/spendManagement/chargeCards/issueChargeCard/aiCardCreationFormDraftTypes.d.ts +0 -34
- package/lib/view/spendManagement/chargeCards/issueChargeCard/aiCardCreationFormDraftTypes.js +0 -2
- package/lib/view/spendManagement/chargeCards/issueChargeCard/applyAiCardCreationFormDraftUpdate.d.ts +0 -7
- package/lib/view/spendManagement/chargeCards/issueChargeCard/applyAiCardCreationFormDraftUpdate.js +0 -38
- package/lib/view/spendManagement/chargeCards/issueChargeCard/buildAiCardCreationFormDraftSeed.d.ts +0 -12
- package/lib/view/spendManagement/chargeCards/issueChargeCard/buildAiCardCreationFormDraftSeed.js +0 -61
- package/lib/view/spendManagement/chargeCards/issueChargeCard/deriveAiCardRowsFromTeams.d.ts +0 -9
- package/lib/view/spendManagement/chargeCards/issueChargeCard/deriveAiCardRowsFromTeams.js +0 -39
- package/lib/view/spendManagement/chargeCards/issueChargeCard/seedAiCardCreationFormDraftEpic.d.ts +0 -11
- package/lib/view/spendManagement/chargeCards/issueChargeCard/seedAiCardCreationFormDraftEpic.js +0 -66
- package/lib/view/spendManagement/chargeCards/issueChargeCard/toIssueChargeCardLocalDataFromDraft.d.ts +0 -3
- package/lib/view/spendManagement/chargeCards/issueChargeCard/toIssueChargeCardLocalDataFromDraft.js +0 -48
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var _a;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.clearIssueChargeCard = exports.
|
|
4
|
+
exports.clearIssueChargeCard = exports.updateDepositAccountListForCardsFetchStatus = exports.fetchDepositAccountListForCards = exports.updateDepositAccountsInCards = exports.fetchIssueCardPage = exports.updateDebitCardCount = exports.updateChargeCardCount = exports.updateCustomAddressId = exports.resetIssueChargeCardForm = exports.issueChargeCardSuccessOrFailure = exports.updateLastSelfIssuedDebitCardId = exports.updateChargeCardsLocalStore = exports.issueChargeCards = exports.initialState = void 0;
|
|
5
5
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
6
|
-
const applyAiCardCreationFormDraftUpdate_1 = require("./applyAiCardCreationFormDraftUpdate");
|
|
7
|
-
const buildAiCardCreationFormDraftSeed_1 = require("./buildAiCardCreationFormDraftSeed");
|
|
8
6
|
exports.initialState = {
|
|
9
7
|
depositAccountIds: [],
|
|
10
8
|
depositAccountsFetchState: { fetchState: 'Not-Started', error: undefined },
|
|
@@ -20,7 +18,6 @@ exports.initialState = {
|
|
|
20
18
|
},
|
|
21
19
|
activeChargeCardCount: {},
|
|
22
20
|
activeDebitCardCountByDepositAccountId: {},
|
|
23
|
-
lastIssuedCardIds: [],
|
|
24
21
|
};
|
|
25
22
|
const issueChargeCard = (0, toolkit_1.createSlice)({
|
|
26
23
|
name: 'issueChargeCard',
|
|
@@ -41,19 +38,14 @@ const issueChargeCard = (0, toolkit_1.createSlice)({
|
|
|
41
38
|
},
|
|
42
39
|
},
|
|
43
40
|
issueChargeCards: {
|
|
44
|
-
prepare(
|
|
45
|
-
return { payload:
|
|
41
|
+
prepare() {
|
|
42
|
+
return { payload: {} };
|
|
46
43
|
},
|
|
47
|
-
reducer(draft
|
|
44
|
+
reducer(draft) {
|
|
48
45
|
draft.saveStatus.fetchState = 'In-Progress';
|
|
49
46
|
draft.saveStatus.error = undefined;
|
|
50
|
-
draft.lastIssueSourceChatSessionId = action.payload.sourceChatSessionId;
|
|
51
|
-
draft.lastIssuedCardIds = [];
|
|
52
47
|
},
|
|
53
48
|
},
|
|
54
|
-
updateLastIssuedCardIds(draft, action) {
|
|
55
|
-
draft.lastIssuedCardIds = action.payload;
|
|
56
|
-
},
|
|
57
49
|
updateChargeCardsLocalStore(draft, action) {
|
|
58
50
|
draft.localData = action.payload;
|
|
59
51
|
},
|
|
@@ -61,8 +53,6 @@ const issueChargeCard = (0, toolkit_1.createSlice)({
|
|
|
61
53
|
draft.localData = [...exports.initialState.localData];
|
|
62
54
|
draft.saveStatus = exports.initialState.saveStatus;
|
|
63
55
|
draft.lastSelfIssuedDebitCardId = undefined;
|
|
64
|
-
draft.lastIssueSourceChatSessionId = undefined;
|
|
65
|
-
draft.lastIssuedCardIds = [];
|
|
66
56
|
},
|
|
67
57
|
updateLastSelfIssuedDebitCardId(draft, action) {
|
|
68
58
|
draft.lastSelfIssuedDebitCardId = action.payload;
|
|
@@ -138,38 +128,10 @@ const issueChargeCard = (0, toolkit_1.createSlice)({
|
|
|
138
128
|
draft.depositAccountsFetchState.fetchState = action.payload.fetchState;
|
|
139
129
|
draft.depositAccountsFetchState.error = action.payload.error;
|
|
140
130
|
},
|
|
141
|
-
// Dispatched once when `CardsCreationInteractiveForm` mounts (or the AI
|
|
142
|
-
// payload arrives).
|
|
143
|
-
seedAiCardCreationFormDraft: {
|
|
144
|
-
reducer(draft, action) {
|
|
145
|
-
const { draft: nextDraft, context } = (0, buildAiCardCreationFormDraftSeed_1.buildAiCardCreationFormDraftSeed)({
|
|
146
|
-
allUsers: action.payload.allUsers,
|
|
147
|
-
initialData: action.payload.initialData,
|
|
148
|
-
});
|
|
149
|
-
draft.aiCardCreationFormDraft = nextDraft;
|
|
150
|
-
draft.aiCardCreationFormDraftContext = context;
|
|
151
|
-
},
|
|
152
|
-
prepare(allUsers, initialData) {
|
|
153
|
-
return { payload: { allUsers, initialData } };
|
|
154
|
-
},
|
|
155
|
-
},
|
|
156
|
-
// Derivation lives in `applyAiCardCreationFormDraftUpdate` so the
|
|
157
|
-
// Storybook owner harness shares the same rules.
|
|
158
|
-
updateAiCardCreationFormDraft(draft, action) {
|
|
159
|
-
draft.aiCardCreationFormDraft = (0, applyAiCardCreationFormDraftUpdate_1.applyAiCardCreationFormDraftUpdate)({
|
|
160
|
-
prev: draft.aiCardCreationFormDraft,
|
|
161
|
-
next: action.payload,
|
|
162
|
-
context: draft.aiCardCreationFormDraftContext,
|
|
163
|
-
});
|
|
164
|
-
},
|
|
165
|
-
clearAiCardCreationFormDraft(draft) {
|
|
166
|
-
draft.aiCardCreationFormDraft = undefined;
|
|
167
|
-
draft.aiCardCreationFormDraftContext = undefined;
|
|
168
|
-
},
|
|
169
131
|
clearIssueChargeCard(draft) {
|
|
170
132
|
Object.assign(draft, exports.initialState);
|
|
171
133
|
},
|
|
172
134
|
},
|
|
173
135
|
});
|
|
174
|
-
_a = issueChargeCard.actions, exports.issueChargeCards = _a.issueChargeCards, exports.updateChargeCardsLocalStore = _a.updateChargeCardsLocalStore, exports.updateLastSelfIssuedDebitCardId = _a.updateLastSelfIssuedDebitCardId, exports.
|
|
136
|
+
_a = issueChargeCard.actions, exports.issueChargeCards = _a.issueChargeCards, exports.updateChargeCardsLocalStore = _a.updateChargeCardsLocalStore, exports.updateLastSelfIssuedDebitCardId = _a.updateLastSelfIssuedDebitCardId, exports.issueChargeCardSuccessOrFailure = _a.issueChargeCardSuccessOrFailure, exports.resetIssueChargeCardForm = _a.resetIssueChargeCardForm, exports.updateCustomAddressId = _a.updateCustomAddressId, exports.updateChargeCardCount = _a.updateChargeCardCount, exports.updateDebitCardCount = _a.updateDebitCardCount, exports.fetchIssueCardPage = _a.fetchIssueCardPage, exports.updateDepositAccountsInCards = _a.updateDepositAccountsInCards, exports.fetchDepositAccountListForCards = _a.fetchDepositAccountListForCards, exports.updateDepositAccountListForCardsFetchStatus = _a.updateDepositAccountListForCardsFetchStatus, exports.clearIssueChargeCard = _a.clearIssueChargeCard;
|
|
175
137
|
exports.default = issueChargeCard.reducer;
|
|
@@ -7,7 +7,6 @@ import { RootState } from '../../../../reducer';
|
|
|
7
7
|
import { Person } from '../../../people/peopleSelectorTypes';
|
|
8
8
|
import { ChargeCardConfigState } from '../chargeCardConfig/chargeCardConfigState';
|
|
9
9
|
import { CreditAccount } from '../chargeCardList/chargeCardList';
|
|
10
|
-
import { CardsFormDraft } from './aiCardCreationFormDraftTypes';
|
|
11
10
|
import { ActiveChargeCardCount, ActiveDebitCardCountByUserId, IssueChargeCardLocalData } from './issueChargeCardState';
|
|
12
11
|
export interface IssueChargeCardSelectorView extends SelectorView {
|
|
13
12
|
activeChargeCardCount: Record<ID, ActiveChargeCardCount>;
|
|
@@ -26,9 +25,3 @@ export interface IssueChargeCardSelectorView extends SelectorView {
|
|
|
26
25
|
lastSelfIssuedDebitCardId?: ID;
|
|
27
26
|
}
|
|
28
27
|
export declare const getIssueChargeCardView: (state: RootState, isCreditCardEnabled: boolean, isDebitCardEnabled: boolean) => IssueChargeCardSelectorView;
|
|
29
|
-
export declare const getLastIssueChargeCardsSourceChatSessionId: (state: RootState) => ID | undefined;
|
|
30
|
-
export declare const getLastIssuedChargeCardIds: (state: RootState) => ID[];
|
|
31
|
-
export declare const getIssueChargeCardsSaveStatus: (state: RootState) => FetchStateAndError;
|
|
32
|
-
export declare const getInFlightIssueChargeCardsCount: (state: RootState) => number;
|
|
33
|
-
export declare const getAiCardCreationFormDraft: (state: RootState) => CardsFormDraft | undefined;
|
|
34
|
-
export declare const selectIssueChargeCardLocalDataFromDraft: (state: RootState) => IssueChargeCardLocalData[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.getIssueChargeCardView = void 0;
|
|
4
4
|
const reduceFetchState_1 = require("../../../../commonStateTypes/reduceFetchState");
|
|
5
5
|
const addressSelector_1 = require("../../../../entity/address/addressSelector");
|
|
6
6
|
const classSelector_1 = require("../../../../entity/class/classSelector");
|
|
@@ -8,7 +8,6 @@ const depositAccountSelector_1 = require("../../../../entity/depositAccount/depo
|
|
|
8
8
|
const tenantSelector_1 = require("../../../../entity/tenant/tenantSelector");
|
|
9
9
|
const addressViewSelector_1 = require("../../../addressView/addressViewSelector");
|
|
10
10
|
const userListViewSelector_1 = require("../../../userListView/userListViewSelector");
|
|
11
|
-
const toIssueChargeCardLocalDataFromDraft_1 = require("./toIssueChargeCardLocalDataFromDraft");
|
|
12
11
|
const getIssueChargeCardView = (state, isCreditCardEnabled, isDebitCardEnabled) => {
|
|
13
12
|
const { issueChargeCardState, userState, userRoleState, userListViewState, chargeCardConfigState, chargeCardListState, addressState, classState, depositAccountState, classListState, } = state;
|
|
14
13
|
const userListSelectorView = (0, userListViewSelector_1.getUserList)(userState, userRoleState, userListViewState, 'cardHolderCandidate');
|
|
@@ -98,43 +97,3 @@ const getIssueChargeCardView = (state, isCreditCardEnabled, isDebitCardEnabled)
|
|
|
98
97
|
};
|
|
99
98
|
};
|
|
100
99
|
exports.getIssueChargeCardView = getIssueChargeCardView;
|
|
101
|
-
// AI CFO chat session that triggered the most recent issue; lets the cards
|
|
102
|
-
// list screen attribute the pending placeholder + synthetic drawer bubble.
|
|
103
|
-
const getLastIssueChargeCardsSourceChatSessionId = (state) => {
|
|
104
|
-
return state.issueChargeCardState.lastIssueSourceChatSessionId;
|
|
105
|
-
};
|
|
106
|
-
exports.getLastIssueChargeCardsSourceChatSessionId = getLastIssueChargeCardsSourceChatSessionId;
|
|
107
|
-
// Cards created by the most recent successful issue; AI CFO drawer's "Created"
|
|
108
|
-
// bubble maps back through these.
|
|
109
|
-
const getLastIssuedChargeCardIds = (state) => {
|
|
110
|
-
return state.issueChargeCardState.lastIssuedCardIds;
|
|
111
|
-
};
|
|
112
|
-
exports.getLastIssuedChargeCardIds = getLastIssuedChargeCardIds;
|
|
113
|
-
const getIssueChargeCardsSaveStatus = (state) => {
|
|
114
|
-
return state.issueChargeCardState.saveStatus;
|
|
115
|
-
};
|
|
116
|
-
exports.getIssueChargeCardsSaveStatus = getIssueChargeCardsSaveStatus;
|
|
117
|
-
// Mirrors `localData.length` while in flight so the list can render N skeleton
|
|
118
|
-
// rows at the top of the table.
|
|
119
|
-
const getInFlightIssueChargeCardsCount = (state) => {
|
|
120
|
-
if (state.issueChargeCardState.saveStatus.fetchState !== 'In-Progress') {
|
|
121
|
-
return 0;
|
|
122
|
-
}
|
|
123
|
-
return state.issueChargeCardState.localData.length;
|
|
124
|
-
};
|
|
125
|
-
exports.getInFlightIssueChargeCardsCount = getInFlightIssueChargeCardsCount;
|
|
126
|
-
// Hydrates `CardsCreationInteractiveForm`'s RHF; `undefined` outside the
|
|
127
|
-
// seed/clear window.
|
|
128
|
-
const getAiCardCreationFormDraft = (state) => {
|
|
129
|
-
return state.issueChargeCardState.aiCardCreationFormDraft;
|
|
130
|
-
};
|
|
131
|
-
exports.getAiCardCreationFormDraft = getAiCardCreationFormDraft;
|
|
132
|
-
// Returns [] when the draft is absent so callers can short-circuit submission.
|
|
133
|
-
const selectIssueChargeCardLocalDataFromDraft = (state) => {
|
|
134
|
-
const draft = state.issueChargeCardState.aiCardCreationFormDraft;
|
|
135
|
-
if (draft == null) {
|
|
136
|
-
return [];
|
|
137
|
-
}
|
|
138
|
-
return (0, toIssueChargeCardLocalDataFromDraft_1.toIssueChargeCardLocalDataFromDraft)(draft);
|
|
139
|
-
};
|
|
140
|
-
exports.selectIssueChargeCardLocalDataFromDraft = selectIssueChargeCardLocalDataFromDraft;
|
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
import { Amount } from '../../../../commonStateTypes/amount';
|
|
2
2
|
import { FetchStateAndError, FetchedState, ID } from '../../../../commonStateTypes/common';
|
|
3
3
|
import { ChargeCardType, CreditCardCodeType, CreditLimitFrequencyCodeType, DebitCardCodeType, ShippingAddressType } from '../../../../entity/chargeCard/chargeCard';
|
|
4
|
-
import { AiCardCreationFormDraftSeedContext, CardsFormDraft } from './aiCardCreationFormDraftTypes';
|
|
5
4
|
export interface IssueChargeCardState extends FetchedState {
|
|
6
5
|
activeChargeCardCount: Record<ID, ActiveChargeCardCount>;
|
|
7
6
|
activeDebitCardCountByDepositAccountId: Record<ID, ActiveDebitCardCountByUserId>;
|
|
8
7
|
depositAccountIds: ID[];
|
|
9
8
|
depositAccountsFetchState: FetchStateAndError;
|
|
10
|
-
lastIssuedCardIds: ID[];
|
|
11
9
|
localData: IssueChargeCardLocalData[];
|
|
12
10
|
saveStatus: FetchStateAndError;
|
|
13
|
-
aiCardCreationFormDraft?: CardsFormDraft;
|
|
14
|
-
aiCardCreationFormDraftContext?: AiCardCreationFormDraftSeedContext;
|
|
15
|
-
lastIssueSourceChatSessionId?: ID;
|
|
16
11
|
lastSelfIssuedDebitCardId?: ID;
|
|
17
12
|
}
|
|
18
13
|
export interface ActiveChargeCardCount {
|
|
@@ -14,7 +14,7 @@ export declare const fetchTaskListPage: import("@reduxjs/toolkit").ActionCreator
|
|
|
14
14
|
archived?: TaskPayload[];
|
|
15
15
|
deleted?: TaskPayload[];
|
|
16
16
|
snoozed?: TaskPayload[];
|
|
17
|
-
}, "taskList/updateTaskList">, updateTaskListTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"deleted" | "
|
|
17
|
+
}, "taskList/updateTaskList">, updateTaskListTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<"deleted" | "live" | "archived" | "snoozed", "taskList/updateTaskListTab">, updateTaskListFetchStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
18
18
|
fetchState: FetchState;
|
|
19
19
|
error?: ZeniAPIStatus;
|
|
20
20
|
}, "taskList/updateTaskListFetchStatus">, updateTaskListSearchText: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ActionsObservable, StateObservable } from 'redux-observable';
|
|
2
2
|
import { RootState } from '../../../reducer';
|
|
3
|
-
import { cancelEntityRecommendationsForLineUpdate } from '../../recommendation/recommendationReducer';
|
|
4
3
|
import { clearTransactionDetailLocalData, initializeTransactionDetailLocalData, saveTransactionDetailLocalData } from '../transactionDetailReducer';
|
|
5
|
-
export type ActionType = ReturnType<typeof initializeTransactionDetailLocalData> | ReturnType<typeof saveTransactionDetailLocalData> | ReturnType<typeof clearTransactionDetailLocalData
|
|
4
|
+
export type ActionType = ReturnType<typeof initializeTransactionDetailLocalData> | ReturnType<typeof saveTransactionDetailLocalData> | ReturnType<typeof clearTransactionDetailLocalData>;
|
|
6
5
|
export declare const initializeTransactionDetailLocalDataEpic: (actions$: ActionsObservable<ActionType>, state$: StateObservable<RootState>) => import("rxjs").Observable<ActionType>;
|
|
@@ -5,7 +5,6 @@ const rxjs_1 = require("rxjs");
|
|
|
5
5
|
const operators_1 = require("rxjs/operators");
|
|
6
6
|
const transactionSelector_1 = require("../../../entity/transaction/transactionSelector");
|
|
7
7
|
const accountListSelector_1 = require("../../accountList/accountListSelector");
|
|
8
|
-
const recommendationReducer_1 = require("../../recommendation/recommendationReducer");
|
|
9
8
|
const transactionDetailLocalDataHelper_1 = require("../transactionDetailLocalDataHelper");
|
|
10
9
|
const transactionDetailReducer_1 = require("../transactionDetailReducer");
|
|
11
10
|
const transactionDetailState_1 = require("../transactionDetailState");
|
|
@@ -18,12 +17,6 @@ const initializeTransactionDetailLocalDataEpic = (actions$, state$) => actions$.
|
|
|
18
17
|
if (detail != null) {
|
|
19
18
|
const uncategorizedIncomeExpense = (0, accountListSelector_1.getUncategorizedAccounts)(state$.value.accountState, state$.value.accountListState, 'accountList');
|
|
20
19
|
const localData = (0, transactionDetailLocalDataHelper_1.toTransactionDetailLocalData)(detail, vendorId, uncategorizedIncomeExpense);
|
|
21
|
-
// Cancel any in-flight line-update recommendations fetch for
|
|
22
|
-
// this transaction BEFORE the clear+restore writes land. The
|
|
23
|
-
// shared epic's takeUntil observes this action and unsubscribes
|
|
24
|
-
// the HTTP stream, preventing a stale response from being
|
|
25
|
-
// applied to the freshly-restored local data.
|
|
26
|
-
fetchActions.push((0, recommendationReducer_1.cancelEntityRecommendationsForLineUpdate)(transactionId));
|
|
27
20
|
fetchActions.push((0, transactionDetailReducer_1.clearTransactionDetailLocalData)({ transactionId }));
|
|
28
21
|
fetchActions.push((0, transactionDetailReducer_1.saveTransactionDetailLocalData)({
|
|
29
22
|
transactionId,
|
|
@@ -8,7 +8,7 @@ import { JournalEntryTransactionLine, Line, TransactionLineBase } from '../../en
|
|
|
8
8
|
* is testable and reusable.
|
|
9
9
|
*/
|
|
10
10
|
export declare const JOURNAL_ENTRY_SORT_KEYS: readonly ["description", "name", "category", "class", "debit", "credit"];
|
|
11
|
-
export declare const toJournalEntrySortKey: (v: string) => "
|
|
11
|
+
export declare const toJournalEntrySortKey: (v: string) => "name" | "description" | "category" | "class" | "credit" | "debit";
|
|
12
12
|
export type JournalEntrySortKey = ReturnType<typeof toJournalEntrySortKey>;
|
|
13
13
|
export interface JournalEntryRowSortConfig {
|
|
14
14
|
sortKey: JournalEntrySortKey;
|
|
@@ -8,9 +8,6 @@ exports.setIsVendorUpdateAllChecked = exports.updateVendorBulkRecommendationsFet
|
|
|
8
8
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
9
9
|
const get_1 = __importDefault(require("lodash/get"));
|
|
10
10
|
const entity_1 = require("../../entity/genericEntity/entity");
|
|
11
|
-
const customerTransaction_1 = require("../../entity/transaction/stateTypes/customerTransaction");
|
|
12
|
-
const vendorTransaction_1 = require("../../entity/transaction/stateTypes/vendorTransaction");
|
|
13
|
-
const recommendationStaleResponseHelper_1 = require("../recommendation/recommendationStaleResponseHelper");
|
|
14
11
|
const transactionDetailLocalDataHelper_1 = require("./transactionDetailLocalDataHelper");
|
|
15
12
|
const transactionDetailState_1 = require("./transactionDetailState");
|
|
16
13
|
exports.initialState = {
|
|
@@ -261,17 +258,6 @@ const transactionDetail = (0, toolkit_1.createSlice)({
|
|
|
261
258
|
// captures the snapshot before the epic's start arm runs and would
|
|
262
259
|
// otherwise clobber In-Progress back to undefined). Treat the field as
|
|
263
260
|
// sticky: only let the caller override it when they explicitly set it.
|
|
264
|
-
//
|
|
265
|
-
// Note on Cancel: the explicit user-Cancel path NO LONGER relies on
|
|
266
|
-
// this stickiness to release In-Progress lines. Cancel dispatches
|
|
267
|
-
// `cancelEntityRecommendationsForLineUpdate` ahead of the
|
|
268
|
-
// clear+save pair (see initializeTransactionDetailLocalDataEpic);
|
|
269
|
-
// the shared line-update epic's `takeUntil` catches that action
|
|
270
|
-
// and unsubscribes the HTTP stream, so no markCompleted /
|
|
271
|
-
// setEntityRecommendation arm fires for the cancelled fetch.
|
|
272
|
-
// Stickiness still matters for the BENIGN snapshot-rebuild paths
|
|
273
|
-
// described above where a fetch is legitimately in flight and
|
|
274
|
-
// must keep its skeleton until the success/failure arm lands.
|
|
275
261
|
const mergedLineItemById = {};
|
|
276
262
|
Object.entries(incoming.lineItemById ?? {}).forEach(([lineId, line]) => {
|
|
277
263
|
mergedLineItemById[lineId] = {
|
|
@@ -407,37 +393,10 @@ const transactionDetail = (0, toolkit_1.createSlice)({
|
|
|
407
393
|
const key = (0, transactionDetailState_1.getTransactionDetailKey)(action.payload.transactionId);
|
|
408
394
|
const detail = (0, get_1.default)(draft.transactionDetailById, key, undefined);
|
|
409
395
|
if (detail != null) {
|
|
410
|
-
|
|
411
|
-
// (or Cancel restored an earlier vendor) between the fetch
|
|
412
|
-
// starting and the response landing, the payload entity will
|
|
413
|
-
// no longer match what's currently selected on the line(s).
|
|
414
|
-
// Apply recommendations only to the still-matching subset of
|
|
415
|
-
// lines. Lines that fail the guard still flip to Completed
|
|
416
|
-
// below so their inline skeletons resolve. This complements
|
|
417
|
-
// the epic-level `takeUntil`: even if a response slips
|
|
418
|
-
// through, it can't write recommendations onto unrelated
|
|
419
|
-
// selections.
|
|
420
|
-
//
|
|
421
|
-
// Detail flow: vendor + customer use page-level
|
|
422
|
-
// `selectedEntity`; JE / deposit use per-line `lineEntity`.
|
|
423
|
-
// Match the same dichotomy used by
|
|
424
|
-
// `setEntityRecommendationForLineIdInLocalData`'s
|
|
425
|
-
// `checkIfNotJEAndDeposit` test below.
|
|
426
|
-
const usesPageLevelEntity = (0, vendorTransaction_1.isVendorTransaction)(transaction) === true ||
|
|
427
|
-
(0, customerTransaction_1.isCustomerTransaction)(transaction) === true;
|
|
428
|
-
const matchedLineIds = (0, recommendationStaleResponseHelper_1.getLineIdsWhereEntityStillMatches)({
|
|
429
|
-
lineIds,
|
|
430
|
-
payloadEntity: action.payload.entity,
|
|
431
|
-
getCurrentEntityForLine: (lineId) => usesPageLevelEntity
|
|
432
|
-
? detail.transactionDetailLocalData.selectedEntity
|
|
433
|
-
: detail.transactionDetailLocalData.lineItemById[lineId]
|
|
434
|
-
?.lineEntity,
|
|
435
|
-
});
|
|
436
|
-
const newLocalData = (0, transactionDetailLocalDataHelper_1.setEntityRecommendationForLineIdInLocalData)(transaction, detail.transactionDetailLocalData, action.payload.entity, matchedLineIds, uncategorizedIncomeExpense, recommendationWithCOTByLineId);
|
|
396
|
+
const newLocalData = (0, transactionDetailLocalDataHelper_1.setEntityRecommendationForLineIdInLocalData)(transaction, detail.transactionDetailLocalData, action.payload.entity, lineIds, uncategorizedIncomeExpense, recommendationWithCOTByLineId);
|
|
437
397
|
// Release the per-line fetch flag for every line this fetch
|
|
438
|
-
// covered
|
|
439
|
-
//
|
|
440
|
-
// Unmatched lines are released without recommendation writes.
|
|
398
|
+
// covered so the inline skeleton resolves and the page-level
|
|
399
|
+
// Save button can re-enable.
|
|
441
400
|
lineIds.forEach((lineId) => {
|
|
442
401
|
const lineItem = newLocalData.lineItemById[lineId];
|
|
443
402
|
if (lineItem != null) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.96",
|
|
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",
|
|
@@ -1,277 +0,0 @@
|
|
|
1
|
-
import { ID } from '../../commonStateTypes/common';
|
|
2
|
-
import { ZeniAPIResponse } from '../../responsePayload';
|
|
3
|
-
import { CardPolicyStats, CardPolicyTemplate, CardPolicyTemplateEntityList, CardPolicyTemplateMode, CardPolicyTemplateSpendLimits, ExtractedCardPolicyRules, MccCategory } from './cardPolicyState';
|
|
4
|
-
export interface MccCategoryPayload {
|
|
5
|
-
count: number;
|
|
6
|
-
mcc_codes: string[];
|
|
7
|
-
name: string;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Wire shape for `GET /cards/1.0/cards/mcc-codes`. Beyond the universe of
|
|
11
|
-
* MCC categories used to populate the category search dropdown, the
|
|
12
|
-
* endpoint also ships **suggested** allow / block merchants and categories
|
|
13
|
-
* that the chip-pickers seed into their cloud body before the user starts
|
|
14
|
-
* editing.
|
|
15
|
-
*
|
|
16
|
-
* Field spellings (`*_catagories`) preserve the BE wire format verbatim;
|
|
17
|
-
* the camelCase mapper below corrects to `Categories`.
|
|
18
|
-
*/
|
|
19
|
-
export interface CardPolicyMccCategoriesPayload {
|
|
20
|
-
categories: MccCategoryPayload[];
|
|
21
|
-
suggested_allow_catagories?: MccCategoryPayload[];
|
|
22
|
-
suggested_allow_merchants?: string[];
|
|
23
|
-
suggested_block_catagories?: MccCategoryPayload[];
|
|
24
|
-
suggested_block_merchants?: string[];
|
|
25
|
-
}
|
|
26
|
-
export type CardPolicyMccCategoriesResponse = ZeniAPIResponse<CardPolicyMccCategoriesPayload>;
|
|
27
|
-
export declare const toMccCategory: (payload: MccCategoryPayload) => MccCategory;
|
|
28
|
-
/**
|
|
29
|
-
* Vendor row returned by `/accounting/1.0/vendors`. The card-policy
|
|
30
|
-
* vendor search dropdown only needs `vendor_id` + `vendor_name`; we
|
|
31
|
-
* deliberately ignore the rest of the payload to keep this slice
|
|
32
|
-
* independent of the heavy `vendor` entity store.
|
|
33
|
-
*/
|
|
34
|
-
export interface CardPolicyVendorSearchVendorPayload {
|
|
35
|
-
vendor_id: string;
|
|
36
|
-
vendor_name: string;
|
|
37
|
-
}
|
|
38
|
-
export interface CardPolicyVendorSearchData {
|
|
39
|
-
vendors: CardPolicyVendorSearchVendorPayload[];
|
|
40
|
-
}
|
|
41
|
-
export type CardPolicyVendorSearchResponse = ZeniAPIResponse<CardPolicyVendorSearchData>;
|
|
42
|
-
export interface CardPolicyVendorSearchOption {
|
|
43
|
-
name: string;
|
|
44
|
-
vendorId: string;
|
|
45
|
-
}
|
|
46
|
-
export declare const toCardPolicyVendorSearchOption: (payload: CardPolicyVendorSearchVendorPayload) => CardPolicyVendorSearchOption;
|
|
47
|
-
interface CardPolicyTemplateEntityListPayload {
|
|
48
|
-
category_codes: string[];
|
|
49
|
-
merchant_names: string[];
|
|
50
|
-
}
|
|
51
|
-
interface CardPolicyTemplateSpendLimitsPayload {
|
|
52
|
-
transaction: number | null;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Per-template request shape. `POST /cards/1.0/policy-templates` now
|
|
56
|
-
* accepts a bulk wrapper (`CreateCardPolicyTemplatesRequest`); this
|
|
57
|
-
* interface describes a single entry inside the `templates` array.
|
|
58
|
-
*
|
|
59
|
-
* `PUT /cards/1.0/policy-templates/{id}` (update) still consumes this
|
|
60
|
-
* shape directly — see `UpdateCardPolicyTemplateRequest` below.
|
|
61
|
-
*/
|
|
62
|
-
export interface CreateCardPolicyTemplateRequest {
|
|
63
|
-
allowedEntity: CardPolicyTemplateEntityList;
|
|
64
|
-
applyToCards: ID[];
|
|
65
|
-
blockedEntity: CardPolicyTemplateEntityList;
|
|
66
|
-
description: string;
|
|
67
|
-
mode: CardPolicyTemplateMode;
|
|
68
|
-
name: string;
|
|
69
|
-
/**
|
|
70
|
-
* `null` indicates the require-receipt toggle is off (no threshold
|
|
71
|
-
* configured). The BE accepts `null` and treats it as "no requirement";
|
|
72
|
-
* `0` means the user explicitly entered zero with the toggle on.
|
|
73
|
-
*/
|
|
74
|
-
requiredReceiptThreshold: number | null;
|
|
75
|
-
spendLimits: CardPolicyTemplateSpendLimits;
|
|
76
|
-
}
|
|
77
|
-
export interface CreateCardPolicyTemplateRequestBody {
|
|
78
|
-
allowed_entity: CardPolicyTemplateEntityListPayload;
|
|
79
|
-
apply_to_cards: ID[];
|
|
80
|
-
blocked_entity: CardPolicyTemplateEntityListPayload;
|
|
81
|
-
description: string;
|
|
82
|
-
mode: string;
|
|
83
|
-
name: string;
|
|
84
|
-
required_receipt_threshold: number | null;
|
|
85
|
-
spend_limits: CardPolicyTemplateSpendLimitsPayload;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Bulk request for `POST /cards/1.0/policy-templates`. The single-policy
|
|
89
|
-
* create flow wraps its one request in a length-1 `templates` array;
|
|
90
|
-
* future multi-policy submit (AI CFO review step) sends N entries in a
|
|
91
|
-
* single round-trip.
|
|
92
|
-
*
|
|
93
|
-
* `sourceChatSessionId` ties the submit back to an AI CFO chat session so
|
|
94
|
-
* the BE can attribute the created templates to it. Manual create-page
|
|
95
|
-
* callers omit it.
|
|
96
|
-
*/
|
|
97
|
-
export interface CreateCardPolicyTemplatesRequest {
|
|
98
|
-
templates: CreateCardPolicyTemplateRequest[];
|
|
99
|
-
sourceChatSessionId?: string;
|
|
100
|
-
}
|
|
101
|
-
export interface CreateCardPolicyTemplatesRequestBody {
|
|
102
|
-
templates: CreateCardPolicyTemplateRequestBody[];
|
|
103
|
-
source_chat_session_id?: string;
|
|
104
|
-
}
|
|
105
|
-
export interface CardPolicyTemplatePayload {
|
|
106
|
-
allowed_entity: CardPolicyTemplateEntityListPayload;
|
|
107
|
-
applied_cards: ID[];
|
|
108
|
-
blocked_entity: CardPolicyTemplateEntityListPayload;
|
|
109
|
-
cards_count: number;
|
|
110
|
-
category_restrictions: unknown[];
|
|
111
|
-
created_at: string;
|
|
112
|
-
created_by: ID;
|
|
113
|
-
description: string;
|
|
114
|
-
mode: string;
|
|
115
|
-
name: string;
|
|
116
|
-
required_receipt_threshold: number | null;
|
|
117
|
-
spend_limits: CardPolicyTemplateSpendLimitsPayload;
|
|
118
|
-
status: string;
|
|
119
|
-
template_id: ID;
|
|
120
|
-
tenant_id: ID;
|
|
121
|
-
updated_at: string;
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Per-template response envelope. Still returned by `PUT /policy-templates/{id}`,
|
|
125
|
-
* `GET /policy-templates/{id}`, and (as the row payload) the list endpoint.
|
|
126
|
-
* Also nested inside `CreateCardPolicyTemplatesResponseData.templates_created`.
|
|
127
|
-
*/
|
|
128
|
-
export interface CreateCardPolicyTemplateResponseData {
|
|
129
|
-
cards_applied: number;
|
|
130
|
-
template: CardPolicyTemplatePayload;
|
|
131
|
-
}
|
|
132
|
-
export type CreateCardPolicyTemplateResponse = ZeniAPIResponse<CreateCardPolicyTemplateResponseData>;
|
|
133
|
-
/**
|
|
134
|
-
* Per-item error returned by the bulk POST when one or more templates in
|
|
135
|
-
* the request fail validation / persistence. The exact field shape is
|
|
136
|
-
* **TBD** with the BE — `message` is the only guaranteed field today; the
|
|
137
|
-
* rest are best-effort placeholders that callers should not assume to be
|
|
138
|
-
* present.
|
|
139
|
-
*
|
|
140
|
-
* TODO: lock down the shape (`index`, `name`, `code`) once the BE
|
|
141
|
-
* documents it. See plan §"Open question to resolve with BE".
|
|
142
|
-
*/
|
|
143
|
-
export interface BulkCreateCardPolicyTemplateErrorPayload {
|
|
144
|
-
message: string;
|
|
145
|
-
code?: string;
|
|
146
|
-
index?: number;
|
|
147
|
-
name?: string;
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* Wire shape returned by the bulk `POST /cards/1.0/policy-templates`.
|
|
151
|
-
* Partial success is allowed — `templates_created` holds the successfully
|
|
152
|
-
* created rows (each in the same envelope as the single endpoint), and
|
|
153
|
-
* `errors` holds per-item failures for the rest. `status.message` follows
|
|
154
|
-
* the "N of M templates created" convention.
|
|
155
|
-
*/
|
|
156
|
-
export interface CreateCardPolicyTemplatesResponseData {
|
|
157
|
-
errors: BulkCreateCardPolicyTemplateErrorPayload[];
|
|
158
|
-
templates_created: CreateCardPolicyTemplateResponseData[];
|
|
159
|
-
}
|
|
160
|
-
export type CreateCardPolicyTemplatesResponse = ZeniAPIResponse<CreateCardPolicyTemplatesResponseData>;
|
|
161
|
-
/**
|
|
162
|
-
* Camel-cased mirror of `BulkCreateCardPolicyTemplateErrorPayload` stored
|
|
163
|
-
* on the create-card-policy view slice so the UI can render a partial-success
|
|
164
|
-
* banner without re-touching the wire types.
|
|
165
|
-
*/
|
|
166
|
-
export interface BulkCreateCardPolicyTemplateError {
|
|
167
|
-
message: string;
|
|
168
|
-
code?: string;
|
|
169
|
-
index?: number;
|
|
170
|
-
name?: string;
|
|
171
|
-
}
|
|
172
|
-
export type UpdateCardPolicyTemplateRequest = CreateCardPolicyTemplateRequest;
|
|
173
|
-
export type UpdateCardPolicyTemplateRequestBody = CreateCardPolicyTemplateRequestBody;
|
|
174
|
-
export type UpdateCardPolicyTemplateResponseData = CreateCardPolicyTemplateResponseData;
|
|
175
|
-
export type UpdateCardPolicyTemplateResponse = CreateCardPolicyTemplateResponse;
|
|
176
|
-
export type CardPolicyDetailResponseData = CreateCardPolicyTemplateResponseData;
|
|
177
|
-
export type CardPolicyDetailResponse = CreateCardPolicyTemplateResponse;
|
|
178
|
-
/**
|
|
179
|
-
* Aggregate counters returned alongside the templates list. Stored on
|
|
180
|
-
* the entity slice (alongside `cardPolicyTemplateById`) so any list
|
|
181
|
-
* surface can read it without re-fetching.
|
|
182
|
-
*/
|
|
183
|
-
export interface CardPolicyStatsPayload {
|
|
184
|
-
active_policies: number;
|
|
185
|
-
total_cards: number;
|
|
186
|
-
total_templates: number;
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* Each list row is wrapped in the same `{cards_applied, template}`
|
|
190
|
-
* envelope the create endpoint returns. Only the `template` portion is
|
|
191
|
-
* stored on the entity slice; `cards_applied` is a one-shot summary
|
|
192
|
-
* carried over from create and not surfaced in the list state today.
|
|
193
|
-
*/
|
|
194
|
-
export interface CardPolicyListRowPayload {
|
|
195
|
-
data: CreateCardPolicyTemplateResponseData;
|
|
196
|
-
}
|
|
197
|
-
export interface ListCardPolicyTemplatesResponseData {
|
|
198
|
-
stats: CardPolicyStatsPayload;
|
|
199
|
-
templates: CardPolicyListRowPayload[];
|
|
200
|
-
}
|
|
201
|
-
export type ListCardPolicyTemplatesResponse = ZeniAPIResponse<ListCardPolicyTemplatesResponseData>;
|
|
202
|
-
export declare const toCardPolicyStats: (payload: CardPolicyStatsPayload) => CardPolicyStats;
|
|
203
|
-
export declare const toCardPolicyTemplateList: (data: ListCardPolicyTemplatesResponseData) => CardPolicyTemplate[];
|
|
204
|
-
export declare const toCardPolicyTemplate: (payload: CardPolicyTemplatePayload) => CardPolicyTemplate;
|
|
205
|
-
/**
|
|
206
|
-
* Re-shape a single camelCase create request into the snake_case wire
|
|
207
|
-
* body. Used by the bulk-create mapper to build each entry of the
|
|
208
|
-
* `templates` array, and directly by the update epic (PUT) since the
|
|
209
|
-
* update endpoint still consumes a single object.
|
|
210
|
-
*/
|
|
211
|
-
export declare const toCreateCardPolicyTemplateRequestBody: (request: CreateCardPolicyTemplateRequest) => CreateCardPolicyTemplateRequestBody;
|
|
212
|
-
/**
|
|
213
|
-
* Re-shape a bulk create request into the snake_case wire body for
|
|
214
|
-
* `POST /cards/1.0/policy-templates`. Maps each entry through
|
|
215
|
-
* `toCreateCardPolicyTemplateRequestBody` and only emits
|
|
216
|
-
* `source_chat_session_id` when the camelCase counterpart is defined,
|
|
217
|
-
* so manual-create callers don't ship a stray `undefined` over the wire.
|
|
218
|
-
*/
|
|
219
|
-
export declare const toCreateCardPolicyTemplatesRequestBody: (request: CreateCardPolicyTemplatesRequest) => CreateCardPolicyTemplatesRequestBody;
|
|
220
|
-
/**
|
|
221
|
-
* Map a single bulk-response error payload to its camelCased view shape.
|
|
222
|
-
* Defensive against missing optional fields (see `BulkCreateCardPolicyTemplateErrorPayload`
|
|
223
|
-
* docstring — the BE contract isn't fully locked yet).
|
|
224
|
-
*/
|
|
225
|
-
export declare const toBulkCreateCardPolicyTemplateError: (payload: BulkCreateCardPolicyTemplateErrorPayload) => BulkCreateCardPolicyTemplateError;
|
|
226
|
-
export declare const toUpdateCardPolicyTemplateRequestBody: (request: CreateCardPolicyTemplateRequest) => CreateCardPolicyTemplateRequestBody;
|
|
227
|
-
/**
|
|
228
|
-
* Seed an edit-form draft (`CreateCardPolicyTemplateRequest`) from an
|
|
229
|
-
* existing camelCased `CardPolicyTemplate`. Used by the detail-fetch
|
|
230
|
-
* epic so the edit page can render with the saved values pre-populated.
|
|
231
|
-
*/
|
|
232
|
-
export declare const toCardPolicyEditFormDraft: (template: CardPolicyTemplate) => CreateCardPolicyTemplateRequest;
|
|
233
|
-
/**
|
|
234
|
-
* Wire shape returned by `POST /cards/1.0/policy-documents/extract`.
|
|
235
|
-
* The backend OCRs / parses an uploaded policy document (PDF, image, etc.)
|
|
236
|
-
* and returns a best-effort set of policy rules + a confidence score.
|
|
237
|
-
*
|
|
238
|
-
* Consumers (manual `CardPolicyCreatePage` + AI CFO `CardPolicyInteractiveForm`)
|
|
239
|
-
* use `toExtractedCardPolicyRules` to map this onto the camelCase FE shape
|
|
240
|
-
* and then feed the result through `applyExtractedPolicyRulesToFormValues`
|
|
241
|
-
* (`@zeniai/web-components`) to seed the RHF form.
|
|
242
|
-
*/
|
|
243
|
-
export interface ExtractedCardPolicyRulesPayload {
|
|
244
|
-
allowed_entity: CardPolicyTemplateEntityListPayload;
|
|
245
|
-
blocked_entity: CardPolicyTemplateEntityListPayload;
|
|
246
|
-
confidence_score: number;
|
|
247
|
-
policy_name: string;
|
|
248
|
-
required_receipt_threshold: number;
|
|
249
|
-
transaction_limit: number;
|
|
250
|
-
}
|
|
251
|
-
export interface PolicyDocumentExtractResponseData {
|
|
252
|
-
extracted_rules: ExtractedCardPolicyRulesPayload;
|
|
253
|
-
message: string;
|
|
254
|
-
}
|
|
255
|
-
export type PolicyDocumentExtractResponse = ZeniAPIResponse<PolicyDocumentExtractResponseData>;
|
|
256
|
-
export declare const toExtractedCardPolicyRules: (payload: ExtractedCardPolicyRulesPayload) => ExtractedCardPolicyRules;
|
|
257
|
-
/**
|
|
258
|
-
* Wire shape returned by `POST /cards/1.0/ai-cfo/policy-recommendation-from-upload`.
|
|
259
|
-
* Chained after `extractPolicyDocument` succeeds in the AI CFO `upload`
|
|
260
|
-
* flow: the FE forwards the just-returned `extracted_rules` and the BE
|
|
261
|
-
* synthesizes a wizard plan + upload source metadata.
|
|
262
|
-
*
|
|
263
|
-
* The response mirrors the same `mode`-discriminated envelope the
|
|
264
|
-
* controller API ships for `auto` / `guided`, but always with `mode:
|
|
265
|
-
* "upload"` and a populated `wizard_plan.step_5_review`. The FE merges
|
|
266
|
-
* the returned `wizard_plan` + `source` into the in-flight AI CFO
|
|
267
|
-
* answer's `CardPolicyInitialData` via
|
|
268
|
-
* `updateAiCfoAnswerCardPolicyWizardPlan`.
|
|
269
|
-
*/
|
|
270
|
-
export interface CardPolicyRecommendationFromUploadResponseData {
|
|
271
|
-
mode: 'upload';
|
|
272
|
-
source: import('../aiCfo/aiCfoPayload').CardPolicyUploadSourcePayload;
|
|
273
|
-
tenant_id: string;
|
|
274
|
-
wizard_plan: import('../aiCfo/aiCfoPayload').CardPolicyWizardPlanPayload;
|
|
275
|
-
}
|
|
276
|
-
export type CardPolicyRecommendationFromUploadResponse = ZeniAPIResponse<CardPolicyRecommendationFromUploadResponseData>;
|
|
277
|
-
export {};
|