vineanova-redux-artifacts
Version:
## Overview
18,384 lines • 704 kB
JavaScript
"use strict";
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = root;
exports.deleteActivityDefaultRatesSagas = deleteActivityDefaultRatesSagas;
exports.deleteBlockVintageSagas = deleteBlockVintageSagas;
exports.deleteBulkPlanBlocksSagas = deleteBulkPlanBlocksSagas;
exports.deleteContactMethodSagas = deleteContactMethodSagas;
exports.deleteCropBlockNotesSagas = deleteCropBlockNotesSagas;
exports.deleteCropBlockPhenologySagas = deleteCropBlockPhenologySagas;
exports.deleteCropBlockSettingSagas = deleteCropBlockSettingSagas;
exports.deleteCropBlockVintageSagas = deleteCropBlockVintageSagas;
exports.deleteIdentityAccommodationSagas = deleteIdentityAccommodationSagas;
exports.deleteIdentityActivitySagas = deleteIdentityActivitySagas;
exports.deleteIdentityClassificationSagas = deleteIdentityClassificationSagas;
exports.deleteIdentityConsumableSagas = deleteIdentityConsumableSagas;
exports.deleteIdentityCourseSagas = deleteIdentityCourseSagas;
exports.deleteIdentityDataConnectorSagas = deleteIdentityDataConnectorSagas;
exports.deleteIdentityJobSagas = deleteIdentityJobSagas;
exports.deleteIdentityNoteImageSagas = deleteIdentityNoteImageSagas;
exports.deleteIdentityNoteSagas = deleteIdentityNoteSagas;
exports.deleteIdentityOrganisationSagas = deleteIdentityOrganisationSagas;
exports.deleteIdentityPersonSagas = deleteIdentityPersonSagas;
exports.deleteIdentityReferenceSagas = deleteIdentityReferenceSagas;
exports.deleteIdentityRelationshipSagas = deleteIdentityRelationshipSagas;
exports.deleteIdentityRoleSagas = deleteIdentityRoleSagas;
exports.deleteIdentityServiceProviderSagas = deleteIdentityServiceProviderSagas;
exports.deleteIdentitySupplyContractSagas = deleteIdentitySupplyContractSagas;
exports.deleteIdentityVehicleSagas = deleteIdentityVehicleSagas;
exports.deleteIdentityVineyardBlockRowSagas = deleteIdentityVineyardBlockRowSagas;
exports.deleteIdentityVineyardBlockSagas = deleteIdentityVineyardBlockSagas;
exports.deleteIdentityVineyardSagas = deleteIdentityVineyardSagas;
exports.deleteInvoiceSagas = deleteInvoiceSagas;
exports.deleteJobActivityRateSagas = deleteJobActivityRateSagas;
exports.deleteJobActivitySagas = deleteJobActivitySagas;
exports.deleteJobBlockRowsSagas = deleteJobBlockRowsSagas;
exports.deleteJobBlockSagas = deleteJobBlockSagas;
exports.deleteJobEventsSagas = deleteJobEventsSagas;
exports.deleteJobSupervisorSagas = deleteJobSupervisorSagas;
exports.deleteJobWorkRecordsSagas = deleteJobWorkRecordsSagas;
exports.deleteLinkedDocumentSagas = deleteLinkedDocumentSagas;
exports.deleteObjectLogoSagas = deleteObjectLogoSagas;
exports.deletePayrollPeriodSagas = deletePayrollPeriodSagas;
exports.deletePayrollPeriodWorkersSagas = deletePayrollPeriodWorkersSagas;
exports.deletePlanActivitiesSagas = deletePlanActivitiesSagas;
exports.deletePlanBlocksSagas = deletePlanBlocksSagas;
exports.deletePlansSagas = deletePlansSagas;
exports.deleteSampleHeaderSagas = deleteSampleHeaderSagas;
exports.deleteSampleSetSagas = deleteSampleSetSagas;
exports.deleteSupplyContractBlockSagas = deleteSupplyContractBlockSagas;
exports.deleteWineryVintageBlockAllocationsSagas = deleteWineryVintageBlockAllocationsSagas;
exports.fetchAllLookupsSagas = fetchAllLookupsSagas;
exports.getActivityDefaultRatesSagas = getActivityDefaultRatesSagas;
exports.getAdHocBlockVintageAllocationSagas = getAdHocBlockVintageAllocationSagas;
exports.getAllIdentityDataConnectorsSagas = getAllIdentityDataConnectorsSagas;
exports.getBlockVintageSagas = getBlockVintageSagas;
exports.getBlocksForJobSagas = getBlocksForJobSagas;
exports.getBlocksForSupplyContractSagas = getBlocksForSupplyContractSagas;
exports.getCLearCacheSagas = getCLearCacheSagas;
exports.getChartFilterSagas = getChartFilterSagas;
exports.getChartsSagas = getChartsSagas;
exports.getCropBlockNotesSagas = getCropBlockNotesSagas;
exports.getCropBlockPhenologySagas = getCropBlockPhenologySagas;
exports.getCropBlockSettingSagas = getCropBlockSettingSagas;
exports.getCropBlockVintageSagas = getCropBlockVintageSagas;
exports.getDashboardPageFiltersSagas = getDashboardPageFiltersSagas;
exports.getDashboardPagesSagas = getDashboardPagesSagas;
exports.getDemoExcelDataSagas = getDemoExcelDataSagas;
exports.getDraftInvoiceJobsSagas = getDraftInvoiceJobsSagas;
exports.getEventLogSagas = getEventLogSagas;
exports.getGetAvailablePlanBlocksSagas = getGetAvailablePlanBlocksSagas;
exports.getGetJobActivityRatesSagas = getGetJobActivityRatesSagas;
exports.getGetLookUpSagas = getGetLookUpSagas;
exports.getGetServiceProviderActivityMappingsSagas = getGetServiceProviderActivityMappingsSagas;
exports.getGetTokenSagas = getGetTokenSagas;
exports.getGridVineyardBlocksSagas = getGridVineyardBlocksSagas;
exports.getIdentitiesByClassificationSagas = getIdentitiesByClassificationSagas;
exports.getIdentitiesByRoleSagas = getIdentitiesByRoleSagas;
exports.getIdentitiesByTypeSagas = getIdentitiesByTypeSagas;
exports.getIdentityAccommodationSagas = getIdentityAccommodationSagas;
exports.getIdentityActivitySagas = getIdentityActivitySagas;
exports.getIdentityClassificationSagas = getIdentityClassificationSagas;
exports.getIdentityConsumableSagas = getIdentityConsumableSagas;
exports.getIdentityContactMethodAddressSagas = getIdentityContactMethodAddressSagas;
exports.getIdentityContactMethodSagas = getIdentityContactMethodSagas;
exports.getIdentityCourseSagas = getIdentityCourseSagas;
exports.getIdentityDataConnectorSagas = getIdentityDataConnectorSagas;
exports.getIdentityDetailsSagas = getIdentityDetailsSagas;
exports.getIdentityJobSagas = getIdentityJobSagas;
exports.getIdentityNoteSagas = getIdentityNoteSagas;
exports.getIdentityNotesSagas = getIdentityNotesSagas;
exports.getIdentityOrganisationSagas = getIdentityOrganisationSagas;
exports.getIdentityPersonSagas = getIdentityPersonSagas;
exports.getIdentityReferenceSagas = getIdentityReferenceSagas;
exports.getIdentityRelationshipSagas = getIdentityRelationshipSagas;
exports.getIdentityRelationshipTypeSagas = getIdentityRelationshipTypeSagas;
exports.getIdentityRoleSagas = getIdentityRoleSagas;
exports.getIdentitySagas = getIdentitySagas;
exports.getIdentityServiceProviderSagas = getIdentityServiceProviderSagas;
exports.getIdentitySupplyContractSagas = getIdentitySupplyContractSagas;
exports.getIdentityUserPersonSagas = getIdentityUserPersonSagas;
exports.getIdentityVehicleSagas = getIdentityVehicleSagas;
exports.getIdentityVineyardBlockRowsSagas = getIdentityVineyardBlockRowsSagas;
exports.getIdentityVineyardBlocksSagas = getIdentityVineyardBlocksSagas;
exports.getIdentityVineyardSagas = getIdentityVineyardSagas;
exports.getIdentityVineyardTrackingSagas = getIdentityVineyardTrackingSagas;
exports.getImportTypeFiltersSagas = getImportTypeFiltersSagas;
exports.getInvoiceBatchHeadersSagas = getInvoiceBatchHeadersSagas;
exports.getInvoiceBatchSagas = getInvoiceBatchSagas;
exports.getInvoiceBatchesSagas = getInvoiceBatchesSagas;
exports.getInvoiceJobsSagas = getInvoiceJobsSagas;
exports.getJobActivitiesSagas = getJobActivitiesSagas;
exports.getJobActivityRateSagas = getJobActivityRateSagas;
exports.getJobActivitySagas = getJobActivitySagas;
exports.getJobBlockRowsSagas = getJobBlockRowsSagas;
exports.getJobBlockSagas = getJobBlockSagas;
exports.getJobEventsSagas = getJobEventsSagas;
exports.getJobRowSpecialAttributesSagas = getJobRowSpecialAttributesSagas;
exports.getJobSupervisorSagas = getJobSupervisorSagas;
exports.getJobWorkRecordEquipmentSagas = getJobWorkRecordEquipmentSagas;
exports.getJobWorkRecordReferenceTypesSagas = getJobWorkRecordReferenceTypesSagas;
exports.getJobWorkRecordSpecialActivitiesSagas = getJobWorkRecordSpecialActivitiesSagas;
exports.getJobWorkRecordSupervisorsSagas = getJobWorkRecordSupervisorsSagas;
exports.getJobWorkRecordWorkersSagas = getJobWorkRecordWorkersSagas;
exports.getJobWorkRecordsSagas = getJobWorkRecordsSagas;
exports.getLinkedDocumentSagas = getLinkedDocumentSagas;
exports.getLinkedDocumentsSagas = getLinkedDocumentsSagas;
exports.getObjectLogoSagas = getObjectLogoSagas;
exports.getPayrollMaxEndDateSagas = getPayrollMaxEndDateSagas;
exports.getPayrollPeriodLinesSagas = getPayrollPeriodLinesSagas;
exports.getPayrollPeriodSagas = getPayrollPeriodSagas;
exports.getPayrollPeriodWorkerSearchSagas = getPayrollPeriodWorkerSearchSagas;
exports.getPayrollPeriodWorkersSagas = getPayrollPeriodWorkersSagas;
exports.getPayrollPeriodsSagas = getPayrollPeriodsSagas;
exports.getPayrollServiceProvidersSagas = getPayrollServiceProvidersSagas;
exports.getPlanActivitiesByPlanSagas = getPlanActivitiesByPlanSagas;
exports.getPlanActivitiesSagas = getPlanActivitiesSagas;
exports.getPlanActivityBlocksSagas = getPlanActivityBlocksSagas;
exports.getPlanActivityTotalWorkUnitsSagas = getPlanActivityTotalWorkUnitsSagas;
exports.getPlanBlocksSagas = getPlanBlocksSagas;
exports.getPlansSagas = getPlansSagas;
exports.getRegionActivityProgressSagas = getRegionActivityProgressSagas;
exports.getRegionVineyardGeometrySagas = getRegionVineyardGeometrySagas;
exports.getReportsSagas = getReportsSagas;
exports.getRowsByJobBlockSagas = getRowsByJobBlockSagas;
exports.getSampleBlockVintagesSagas = getSampleBlockVintagesSagas;
exports.getSampleHeaderLinesSagas = getSampleHeaderLinesSagas;
exports.getSampleHeadersSagas = getSampleHeadersSagas;
exports.getSampleIdentitySagas = getSampleIdentitySagas;
exports.getSensorBlocksSagas = getSensorBlocksSagas;
exports.getSensorsSagas = getSensorsSagas;
exports.getSitesSagas = getSitesSagas;
exports.getSubRegionActivityProgressSagas = getSubRegionActivityProgressSagas;
exports.getSupplyContractBlockSagas = getSupplyContractBlockSagas;
exports.getSupplyContractBlocksGeometrySagas = getSupplyContractBlocksGeometrySagas;
exports.getSyncVineyardGeometrySagas = getSyncVineyardGeometrySagas;
exports.getTriggerSensorSummaryDataSyncSagas = getTriggerSensorSummaryDataSyncSagas;
exports.getTriggerVintraceMetricDataSyncSagas = getTriggerVintraceMetricDataSyncSagas;
exports.getUserHistorySagas = getUserHistorySagas;
exports.getVineyardBlockActivityProgressSagas = getVineyardBlockActivityProgressSagas;
exports.getVineyardBlockCropMeasurementsSagas = getVineyardBlockCropMeasurementsSagas;
exports.getVineyardBlocksGeometrySagas = getVineyardBlocksGeometrySagas;
exports.getVineyardGeometrySagas = getVineyardGeometrySagas;
exports.getWineryVintageBlockAllocationsSagas = getWineryVintageBlockAllocationsSagas;
exports.getWorkRecordsConsumableOptionsSagas = getWorkRecordsConsumableOptionsSagas;
exports.getWorkRecordsConsumablePriceSagas = getWorkRecordsConsumablePriceSagas;
exports.getWorkRecordsConsumableSagas = getWorkRecordsConsumableSagas;
exports.getWorkRecordsGenericSagas = getWorkRecordsGenericSagas;
exports.getWorkRecordsHourlySagas = getWorkRecordsHourlySagas;
exports.getWorkRecordsPieceworkGroupRowsSagas = getWorkRecordsPieceworkGroupRowsSagas;
exports.getWorkRecordsPieceworkGroupSagas = getWorkRecordsPieceworkGroupSagas;
exports.getWorkRecordsPieceworkGroupWorkersSagas = getWorkRecordsPieceworkGroupWorkersSagas;
exports.getWorkerPayPeriodsSagas = getWorkerPayPeriodsSagas;
exports.getWorkerWorkRecordsSagas = getWorkerWorkRecordsSagas;
exports.getWorkersSagas = getWorkersSagas;
exports.gethealthcheckSagas = gethealthcheckSagas;
exports.getlookupActivityGroupSagas = getlookupActivityGroupSagas;
exports.getlookupActivitySagas = getlookupActivitySagas;
exports.getlookupBatchStatusSagas = getlookupBatchStatusSagas;
exports.getlookupBlockVintageStatusSagas = getlookupBlockVintageStatusSagas;
exports.getlookupBusinessUnitSagas = getlookupBusinessUnitSagas;
exports.getlookupChartFiltersSagas = getlookupChartFiltersSagas;
exports.getlookupClassificationGroupIdentityTypeSagas = getlookupClassificationGroupIdentityTypeSagas;
exports.getlookupClassificationGroupSagas = getlookupClassificationGroupSagas;
exports.getlookupClassificationSagas = getlookupClassificationSagas;
exports.getlookupConsumableTypeSagas = getlookupConsumableTypeSagas;
exports.getlookupContactMethodSagas = getlookupContactMethodSagas;
exports.getlookupCostAllocationFactorSagas = getlookupCostAllocationFactorSagas;
exports.getlookupCostingUnitSagas = getlookupCostingUnitSagas;
exports.getlookupCountrySagas = getlookupCountrySagas;
exports.getlookupCropSettingInstanceSagas = getlookupCropSettingInstanceSagas;
exports.getlookupCropSettingOptionSagas = getlookupCropSettingOptionSagas;
exports.getlookupDashboardPageFiltersSagas = getlookupDashboardPageFiltersSagas;
exports.getlookupDataProviderSagas = getlookupDataProviderSagas;
exports.getlookupDataProviderTypeSagas = getlookupDataProviderTypeSagas;
exports.getlookupDisplayAttributeSagas = getlookupDisplayAttributeSagas;
exports.getlookupDocumentStatusSagas = getlookupDocumentStatusSagas;
exports.getlookupDocumentTypeSagas = getlookupDocumentTypeSagas;
exports.getlookupDurationSagas = getlookupDurationSagas;
exports.getlookupEthnicitySagas = getlookupEthnicitySagas;
exports.getlookupEventLogStatusSagas = getlookupEventLogStatusSagas;
exports.getlookupGenderSagas = getlookupGenderSagas;
exports.getlookupGrowingRegionSagas = getlookupGrowingRegionSagas;
exports.getlookupGrowingSubRegionSagas = getlookupGrowingSubRegionSagas;
exports.getlookupIdentityActivitySagas = getlookupIdentityActivitySagas;
exports.getlookupIdentityTypeSagas = getlookupIdentityTypeSagas;
exports.getlookupImportTypeSagas = getlookupImportTypeSagas;
exports.getlookupInactiveReasonSagas = getlookupInactiveReasonSagas;
exports.getlookupJobEventActionSagas = getlookupJobEventActionSagas;
exports.getlookupJobInvoiceMethodSagas = getlookupJobInvoiceMethodSagas;
exports.getlookupJobQuantityTypeSagas = getlookupJobQuantityTypeSagas;
exports.getlookupJobStatusSagas = getlookupJobStatusSagas;
exports.getlookupJobTypeSagas = getlookupJobTypeSagas;
exports.getlookupJobTypeWorkRecordTypeSagas = getlookupJobTypeWorkRecordTypeSagas;
exports.getlookupJobWorkUnitSagas = getlookupJobWorkUnitSagas;
exports.getlookupKeywordSagas = getlookupKeywordSagas;
exports.getlookupLanguageSagas = getlookupLanguageSagas;
exports.getlookupMeasureGroupSagas = getlookupMeasureGroupSagas;
exports.getlookupMeasureInstanceSagas = getlookupMeasureInstanceSagas;
exports.getlookupMeasureSagas = getlookupMeasureSagas;
exports.getlookupNationalitySagas = getlookupNationalitySagas;
exports.getlookupNoteStatusSagas = getlookupNoteStatusSagas;
exports.getlookupPayLoadingSagas = getlookupPayLoadingSagas;
exports.getlookupPayrollRecordTypeSagas = getlookupPayrollRecordTypeSagas;
exports.getlookupPayrollStatusSagas = getlookupPayrollStatusSagas;
exports.getlookupPayrollSystemSagas = getlookupPayrollSystemSagas;
exports.getlookupPhenologyMeasureOptionSagas = getlookupPhenologyMeasureOptionSagas;
exports.getlookupPhenologyMeasureSagas = getlookupPhenologyMeasureSagas;
exports.getlookupPhenologyMeasureSetSagas = getlookupPhenologyMeasureSetSagas;
exports.getlookupPhenologyMeasureTypeSagas = getlookupPhenologyMeasureTypeSagas;
exports.getlookupPlanStatusSagas = getlookupPlanStatusSagas;
exports.getlookupPlanTypeSagas = getlookupPlanTypeSagas;
exports.getlookupReferenceTypeIdentityTypeSagas = getlookupReferenceTypeIdentityTypeSagas;
exports.getlookupReferenceTypeSagas = getlookupReferenceTypeSagas;
exports.getlookupRelationshipTypeSagas = getlookupRelationshipTypeSagas;
exports.getlookupReportTypeSagas = getlookupReportTypeSagas;
exports.getlookupResourceTypeSagas = getlookupResourceTypeSagas;
exports.getlookupResourceTypeUnitSagas = getlookupResourceTypeUnitSagas;
exports.getlookupRoleTypeIdentityTypeSagas = getlookupRoleTypeIdentityTypeSagas;
exports.getlookupRoleTypeSagas = getlookupRoleTypeSagas;
exports.getlookupRootStockSagas = getlookupRootStockSagas;
exports.getlookupRowSpecialAttributeSagas = getlookupRowSpecialAttributeSagas;
exports.getlookupSalutationSagas = getlookupSalutationSagas;
exports.getlookupSampleRequestStatusSagas = getlookupSampleRequestStatusSagas;
exports.getlookupSensorStatusSagas = getlookupSensorStatusSagas;
exports.getlookupSensorTypeMeasureUnitSagas = getlookupSensorTypeMeasureUnitSagas;
exports.getlookupSensorTypeSagas = getlookupSensorTypeSagas;
exports.getlookupSiteTypeSagas = getlookupSiteTypeSagas;
exports.getlookupSplitTypeSagas = getlookupSplitTypeSagas;
exports.getlookupSupplyContractTypeSagas = getlookupSupplyContractTypeSagas;
exports.getlookupSystemDataSagas = getlookupSystemDataSagas;
exports.getlookupTownSagas = getlookupTownSagas;
exports.getlookupTrellisSagas = getlookupTrellisSagas;
exports.getlookupVarietyCloneSagas = getlookupVarietyCloneSagas;
exports.getlookupVarietySagas = getlookupVarietySagas;
exports.getlookupVehicleMakeSagas = getlookupVehicleMakeSagas;
exports.getlookupVehicleTypeSagas = getlookupVehicleTypeSagas;
exports.getlookupVintageSagas = getlookupVintageSagas;
exports.getlookupWineryDataAllocationRuleSagas = getlookupWineryDataAllocationRuleSagas;
exports.getlookupWineryDataTypeSagas = getlookupWineryDataTypeSagas;
exports.getlookupWorkRecordLevelSagas = getlookupWorkRecordLevelSagas;
exports.getlookupWorkRecordTypeSagas = getlookupWorkRecordTypeSagas;
exports.getlookupWorkRecordUnitTypeSagas = getlookupWorkRecordUnitTypeSagas;
exports.getlookupWorkUnitSagas = getlookupWorkUnitSagas;
exports.getprocessblocksamplingSagas = getprocessblocksamplingSagas;
exports.postActivityDefaultRatesSagas = postActivityDefaultRatesSagas;
exports.postAssignSampleHeadersSagas = postAssignSampleHeadersSagas;
exports.postBlockVintageSagas = postBlockVintageSagas;
exports.postChartFiltersSagas = postChartFiltersSagas;
exports.postChartsByChartFiltersSagas = postChartsByChartFiltersSagas;
exports.postChartsByPageFiltersSagas = postChartsByPageFiltersSagas;
exports.postChartsSagas = postChartsSagas;
exports.postContactMethodSagas = postContactMethodSagas;
exports.postCropBlockNotesSagas = postCropBlockNotesSagas;
exports.postCropBlockPhenologySagas = postCropBlockPhenologySagas;
exports.postCropBlockSettingSagas = postCropBlockSettingSagas;
exports.postCropBlockVintageSagas = postCropBlockVintageSagas;
exports.postDashboardPageFiltersSagas = postDashboardPageFiltersSagas;
exports.postDeAssignSampleHeadersSagas = postDeAssignSampleHeadersSagas;
exports.postDependentIdentityRelationshipBulkSagas = postDependentIdentityRelationshipBulkSagas;
exports.postIdentityAccommodationSagas = postIdentityAccommodationSagas;
exports.postIdentityActivitySagas = postIdentityActivitySagas;
exports.postIdentityClassificationSagas = postIdentityClassificationSagas;
exports.postIdentityConsumableSagas = postIdentityConsumableSagas;
exports.postIdentityContactMethodAddressSagas = postIdentityContactMethodAddressSagas;
exports.postIdentityCourseSagas = postIdentityCourseSagas;
exports.postIdentityDataConnectorSagas = postIdentityDataConnectorSagas;
exports.postIdentityJobSagas = postIdentityJobSagas;
exports.postIdentityNoteSagas = postIdentityNoteSagas;
exports.postIdentityOrganisationSagas = postIdentityOrganisationSagas;
exports.postIdentityPersonSagas = postIdentityPersonSagas;
exports.postIdentityReferenceSagas = postIdentityReferenceSagas;
exports.postIdentityRelationshipSagas = postIdentityRelationshipSagas;
exports.postIdentityRoleSagas = postIdentityRoleSagas;
exports.postIdentityServiceProviderSagas = postIdentityServiceProviderSagas;
exports.postIdentityStatusSagas = postIdentityStatusSagas;
exports.postIdentitySupplyContractSagas = postIdentitySupplyContractSagas;
exports.postIdentityVehicleSagas = postIdentityVehicleSagas;
exports.postIdentityVineyardBlockRowSagas = postIdentityVineyardBlockRowSagas;
exports.postIdentityVineyardBlockSagas = postIdentityVineyardBlockSagas;
exports.postIdentityVineyardSagas = postIdentityVineyardSagas;
exports.postImportSheetsSagas = postImportSheetsSagas;
exports.postJobActivityRateSagas = postJobActivityRateSagas;
exports.postJobActivitySagas = postJobActivitySagas;
exports.postJobBlockRowsSagas = postJobBlockRowsSagas;
exports.postJobBlockSagas = postJobBlockSagas;
exports.postJobBlocksBulkSagas = postJobBlocksBulkSagas;
exports.postJobEventsSagas = postJobEventsSagas;
exports.postJobSupervisorSagas = postJobSupervisorSagas;
exports.postLinkedDocumentSagas = postLinkedDocumentSagas;
exports.postMeasurementNoteImageSagas = postMeasurementNoteImageSagas;
exports.postNewLoginEventLogSagas = postNewLoginEventLogSagas;
exports.postObjectLogoSagas = postObjectLogoSagas;
exports.postPayrollPeriodLinesGenerateSagas = postPayrollPeriodLinesGenerateSagas;
exports.postPayrollPeriodSagas = postPayrollPeriodSagas;
exports.postPayrollPeriodWorkersSagas = postPayrollPeriodWorkersSagas;
exports.postPlanActivitiesSagas = postPlanActivitiesSagas;
exports.postPlanBlocksSagas = postPlanBlocksSagas;
exports.postPlansSagas = postPlansSagas;
exports.postQueueMessageSagas = postQueueMessageSagas;
exports.postQuickSearchSagas = postQuickSearchSagas;
exports.postReportFileSagas = postReportFileSagas;
exports.postReportFiltersSagas = postReportFiltersSagas;
exports.postRowsByJobBlockSagas = postRowsByJobBlockSagas;
exports.postSampleHeaderSagas = postSampleHeaderSagas;
exports.postSampleIdentitySagas = postSampleIdentitySagas;
exports.postSampleSetSagas = postSampleSetSagas;
exports.postSampleSetsSagas = postSampleSetsSagas;
exports.postSamplingUsersSagas = postSamplingUsersSagas;
exports.postSearchIdentitySagas = postSearchIdentitySagas;
exports.postSearchJobsSagas = postSearchJobsSagas;
exports.postSearchPlansSagas = postSearchPlansSagas;
exports.postSearchSupplyContractsSagas = postSearchSupplyContractsSagas;
exports.postSearchTrackingBlockVintagesSagas = postSearchTrackingBlockVintagesSagas;
exports.postSearchTrackingVineyardsSagas = postSearchTrackingVineyardsSagas;
exports.postSplitJobBlockRowSagas = postSplitJobBlockRowSagas;
exports.postSupplyContractBlockSagas = postSupplyContractBlockSagas;
exports.postUserHistorySagas = postUserHistorySagas;
exports.postWineryVintageBlockAllocationsSagas = postWineryVintageBlockAllocationsSagas;
exports.postWorkRecordsConsumableSagas = postWorkRecordsConsumableSagas;
exports.postWorkRecordsGenericSagas = postWorkRecordsGenericSagas;
exports.postWorkRecordsHourlySagas = postWorkRecordsHourlySagas;
exports.postWorkRecordsPieceworkSagas = postWorkRecordsPieceworkSagas;
exports.posthealthcheckSagas = posthealthcheckSagas;
exports.postprocessblocksamplingSagas = postprocessblocksamplingSagas;
exports.putActivityDefaultRatesSagas = putActivityDefaultRatesSagas;
exports.putAdHocBlockVintageAllocationSagas = putAdHocBlockVintageAllocationSagas;
exports.putBlockVintageSagas = putBlockVintageSagas;
exports.putContactMethodSagas = putContactMethodSagas;
exports.putCropBlockNotesSagas = putCropBlockNotesSagas;
exports.putCropBlockPhenologySagas = putCropBlockPhenologySagas;
exports.putCropBlockSettingSagas = putCropBlockSettingSagas;
exports.putCropBlockVintageSagas = putCropBlockVintageSagas;
exports.putEventLogStatusSagas = putEventLogStatusSagas;
exports.putIdentityAccommodationSagas = putIdentityAccommodationSagas;
exports.putIdentityActivitySagas = putIdentityActivitySagas;
exports.putIdentityClassificationSagas = putIdentityClassificationSagas;
exports.putIdentityConsumableSagas = putIdentityConsumableSagas;
exports.putIdentityContactMethodAddressSagas = putIdentityContactMethodAddressSagas;
exports.putIdentityCourseSagas = putIdentityCourseSagas;
exports.putIdentityDataConnectorSagas = putIdentityDataConnectorSagas;
exports.putIdentityJobSagas = putIdentityJobSagas;
exports.putIdentityNoteImageSagas = putIdentityNoteImageSagas;
exports.putIdentityNoteSagas = putIdentityNoteSagas;
exports.putIdentityOrganisationSagas = putIdentityOrganisationSagas;
exports.putIdentityPersonSagas = putIdentityPersonSagas;
exports.putIdentityReferenceSagas = putIdentityReferenceSagas;
exports.putIdentityRelationshipSagas = putIdentityRelationshipSagas;
exports.putIdentityRoleSagas = putIdentityRoleSagas;
exports.putIdentityServiceProviderSagas = putIdentityServiceProviderSagas;
exports.putIdentitySupplyContractSagas = putIdentitySupplyContractSagas;
exports.putIdentityUserPersonSagas = putIdentityUserPersonSagas;
exports.putIdentityVehicleSagas = putIdentityVehicleSagas;
exports.putIdentityVineyardBlockRowSagas = putIdentityVineyardBlockRowSagas;
exports.putIdentityVineyardBlockSagas = putIdentityVineyardBlockSagas;
exports.putIdentityVineyardSagas = putIdentityVineyardSagas;
exports.putJobActivityRateSagas = putJobActivityRateSagas;
exports.putJobActivitySagas = putJobActivitySagas;
exports.putJobBlockRowsSagas = putJobBlockRowsSagas;
exports.putJobBlockSagas = putJobBlockSagas;
exports.putJobBlockStatusSagas = putJobBlockStatusSagas;
exports.putJobEventsSagas = putJobEventsSagas;
exports.putJobSupervisorSagas = putJobSupervisorSagas;
exports.putLinkedDocumentSagas = putLinkedDocumentSagas;
exports.putMoveSampleLinesSagas = putMoveSampleLinesSagas;
exports.putObjectLogoSagas = putObjectLogoSagas;
exports.putPayrollPeriodSagas = putPayrollPeriodSagas;
exports.putPlanActivitiesSagas = putPlanActivitiesSagas;
exports.putPlanBlocksSagas = putPlanBlocksSagas;
exports.putPlansSagas = putPlansSagas;
exports.putRecommendedSampleSizeSagas = putRecommendedSampleSizeSagas;
exports.putSampleHeaderInstructionsSagas = putSampleHeaderInstructionsSagas;
exports.putSampleHeaderLinesSagas = putSampleHeaderLinesSagas;
exports.putSampleHeaderSagas = putSampleHeaderSagas;
exports.putSampleHeaderStatusSagas = putSampleHeaderStatusSagas;
exports.putSensorsSagas = putSensorsSagas;
exports.putSitesSagas = putSitesSagas;
exports.putSupplyContractBlockSagas = putSupplyContractBlockSagas;
exports.putUpdatePlanActivityBlocksSagas = putUpdatePlanActivityBlocksSagas;
exports.putUpdateServiceProviderActivityMappingsSagas = putUpdateServiceProviderActivityMappingsSagas;
exports.putWineryVintageBlockAllocationsSagas = putWineryVintageBlockAllocationsSagas;
exports.putWorkRecordsConsumableSagas = putWorkRecordsConsumableSagas;
exports.putWorkRecordsGenericSagas = putWorkRecordsGenericSagas;
exports.putWorkRecordsHourlySagas = putWorkRecordsHourlySagas;
var _effects = require("redux-saga/effects");
var _normalizr = require("normalizr");
var APIServices = _interopRequireWildcard(require("../services"));
var _actions = require("../actions");
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
var _marked = /*#__PURE__*/_regeneratorRuntime().mark(getActivityDefaultRatesSagas),
_marked2 = /*#__PURE__*/_regeneratorRuntime().mark(postActivityDefaultRatesSagas),
_marked3 = /*#__PURE__*/_regeneratorRuntime().mark(putActivityDefaultRatesSagas),
_marked4 = /*#__PURE__*/_regeneratorRuntime().mark(deleteActivityDefaultRatesSagas),
_marked5 = /*#__PURE__*/_regeneratorRuntime().mark(getBlockVintageSagas),
_marked6 = /*#__PURE__*/_regeneratorRuntime().mark(postBlockVintageSagas),
_marked7 = /*#__PURE__*/_regeneratorRuntime().mark(putBlockVintageSagas),
_marked8 = /*#__PURE__*/_regeneratorRuntime().mark(deleteBlockVintageSagas),
_marked9 = /*#__PURE__*/_regeneratorRuntime().mark(getChartsSagas),
_marked10 = /*#__PURE__*/_regeneratorRuntime().mark(postChartsSagas),
_marked11 = /*#__PURE__*/_regeneratorRuntime().mark(postChartsByChartFiltersSagas),
_marked12 = /*#__PURE__*/_regeneratorRuntime().mark(postChartsByPageFiltersSagas),
_marked13 = /*#__PURE__*/_regeneratorRuntime().mark(getChartFilterSagas),
_marked14 = /*#__PURE__*/_regeneratorRuntime().mark(postChartFiltersSagas),
_marked15 = /*#__PURE__*/_regeneratorRuntime().mark(getDashboardPagesSagas),
_marked16 = /*#__PURE__*/_regeneratorRuntime().mark(getDashboardPageFiltersSagas),
_marked17 = /*#__PURE__*/_regeneratorRuntime().mark(postDashboardPageFiltersSagas),
_marked18 = /*#__PURE__*/_regeneratorRuntime().mark(getCLearCacheSagas),
_marked19 = /*#__PURE__*/_regeneratorRuntime().mark(getCropBlockNotesSagas),
_marked20 = /*#__PURE__*/_regeneratorRuntime().mark(postCropBlockNotesSagas),
_marked21 = /*#__PURE__*/_regeneratorRuntime().mark(putCropBlockNotesSagas),
_marked22 = /*#__PURE__*/_regeneratorRuntime().mark(deleteCropBlockNotesSagas),
_marked23 = /*#__PURE__*/_regeneratorRuntime().mark(postMeasurementNoteImageSagas),
_marked24 = /*#__PURE__*/_regeneratorRuntime().mark(getCropBlockPhenologySagas),
_marked25 = /*#__PURE__*/_regeneratorRuntime().mark(postCropBlockPhenologySagas),
_marked26 = /*#__PURE__*/_regeneratorRuntime().mark(putCropBlockPhenologySagas),
_marked27 = /*#__PURE__*/_regeneratorRuntime().mark(deleteCropBlockPhenologySagas),
_marked28 = /*#__PURE__*/_regeneratorRuntime().mark(getCropBlockSettingSagas),
_marked29 = /*#__PURE__*/_regeneratorRuntime().mark(postCropBlockSettingSagas),
_marked30 = /*#__PURE__*/_regeneratorRuntime().mark(putCropBlockSettingSagas),
_marked31 = /*#__PURE__*/_regeneratorRuntime().mark(deleteCropBlockSettingSagas),
_marked32 = /*#__PURE__*/_regeneratorRuntime().mark(getCropBlockVintageSagas),
_marked33 = /*#__PURE__*/_regeneratorRuntime().mark(postCropBlockVintageSagas),
_marked34 = /*#__PURE__*/_regeneratorRuntime().mark(putCropBlockVintageSagas),
_marked35 = /*#__PURE__*/_regeneratorRuntime().mark(deleteCropBlockVintageSagas),
_marked36 = /*#__PURE__*/_regeneratorRuntime().mark(getSitesSagas),
_marked37 = /*#__PURE__*/_regeneratorRuntime().mark(putSitesSagas),
_marked38 = /*#__PURE__*/_regeneratorRuntime().mark(getSensorsSagas),
_marked39 = /*#__PURE__*/_regeneratorRuntime().mark(putSensorsSagas),
_marked40 = /*#__PURE__*/_regeneratorRuntime().mark(getSensorBlocksSagas),
_marked41 = /*#__PURE__*/_regeneratorRuntime().mark(getTriggerSensorSummaryDataSyncSagas),
_marked42 = /*#__PURE__*/_regeneratorRuntime().mark(getEventLogSagas),
_marked43 = /*#__PURE__*/_regeneratorRuntime().mark(putEventLogStatusSagas),
_marked44 = /*#__PURE__*/_regeneratorRuntime().mark(postNewLoginEventLogSagas),
_marked45 = /*#__PURE__*/_regeneratorRuntime().mark(getDemoExcelDataSagas),
_marked46 = /*#__PURE__*/_regeneratorRuntime().mark(gethealthcheckSagas),
_marked47 = /*#__PURE__*/_regeneratorRuntime().mark(posthealthcheckSagas),
_marked48 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentitySagas),
_marked49 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityDetailsSagas),
_marked50 = /*#__PURE__*/_regeneratorRuntime().mark(postIdentityStatusSagas),
_marked51 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentitiesByRoleSagas),
_marked52 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentitiesByClassificationSagas),
_marked53 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentitiesByTypeSagas),
_marked54 = /*#__PURE__*/_regeneratorRuntime().mark(postIdentityAccommodationSagas),
_marked55 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentityAccommodationSagas),
_marked56 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityAccommodationSagas),
_marked57 = /*#__PURE__*/_regeneratorRuntime().mark(deleteIdentityAccommodationSagas),
_marked58 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityActivitySagas),
_marked59 = /*#__PURE__*/_regeneratorRuntime().mark(postIdentityActivitySagas),
_marked60 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentityActivitySagas),
_marked61 = /*#__PURE__*/_regeneratorRuntime().mark(deleteIdentityActivitySagas),
_marked62 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityClassificationSagas),
_marked63 = /*#__PURE__*/_regeneratorRuntime().mark(postIdentityClassificationSagas),
_marked64 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentityClassificationSagas),
_marked65 = /*#__PURE__*/_regeneratorRuntime().mark(deleteIdentityClassificationSagas),
_marked66 = /*#__PURE__*/_regeneratorRuntime().mark(postIdentityConsumableSagas),
_marked67 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentityConsumableSagas),
_marked68 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityConsumableSagas),
_marked69 = /*#__PURE__*/_regeneratorRuntime().mark(deleteIdentityConsumableSagas),
_marked70 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityContactMethodSagas),
_marked71 = /*#__PURE__*/_regeneratorRuntime().mark(postContactMethodSagas),
_marked72 = /*#__PURE__*/_regeneratorRuntime().mark(putContactMethodSagas),
_marked73 = /*#__PURE__*/_regeneratorRuntime().mark(deleteContactMethodSagas),
_marked74 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityContactMethodAddressSagas),
_marked75 = /*#__PURE__*/_regeneratorRuntime().mark(postIdentityContactMethodAddressSagas),
_marked76 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentityContactMethodAddressSagas),
_marked77 = /*#__PURE__*/_regeneratorRuntime().mark(postIdentityCourseSagas),
_marked78 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentityCourseSagas),
_marked79 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityCourseSagas),
_marked80 = /*#__PURE__*/_regeneratorRuntime().mark(deleteIdentityCourseSagas),
_marked81 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityDataConnectorSagas),
_marked82 = /*#__PURE__*/_regeneratorRuntime().mark(postIdentityDataConnectorSagas),
_marked83 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentityDataConnectorSagas),
_marked84 = /*#__PURE__*/_regeneratorRuntime().mark(deleteIdentityDataConnectorSagas),
_marked85 = /*#__PURE__*/_regeneratorRuntime().mark(getAllIdentityDataConnectorsSagas),
_marked86 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityJobSagas),
_marked87 = /*#__PURE__*/_regeneratorRuntime().mark(postIdentityJobSagas),
_marked88 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentityJobSagas),
_marked89 = /*#__PURE__*/_regeneratorRuntime().mark(deleteIdentityJobSagas),
_marked90 = /*#__PURE__*/_regeneratorRuntime().mark(getJobRowSpecialAttributesSagas),
_marked91 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityNotesSagas),
_marked92 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentityNoteSagas),
_marked93 = /*#__PURE__*/_regeneratorRuntime().mark(postIdentityNoteSagas),
_marked94 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityNoteSagas),
_marked95 = /*#__PURE__*/_regeneratorRuntime().mark(deleteIdentityNoteSagas),
_marked96 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentityNoteImageSagas),
_marked97 = /*#__PURE__*/_regeneratorRuntime().mark(deleteIdentityNoteImageSagas),
_marked98 = /*#__PURE__*/_regeneratorRuntime().mark(postIdentityOrganisationSagas),
_marked99 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentityOrganisationSagas),
_marked100 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityOrganisationSagas),
_marked101 = /*#__PURE__*/_regeneratorRuntime().mark(deleteIdentityOrganisationSagas),
_marked102 = /*#__PURE__*/_regeneratorRuntime().mark(postIdentityPersonSagas),
_marked103 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentityPersonSagas),
_marked104 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityPersonSagas),
_marked105 = /*#__PURE__*/_regeneratorRuntime().mark(deleteIdentityPersonSagas),
_marked106 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityReferenceSagas),
_marked107 = /*#__PURE__*/_regeneratorRuntime().mark(postIdentityReferenceSagas),
_marked108 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentityReferenceSagas),
_marked109 = /*#__PURE__*/_regeneratorRuntime().mark(deleteIdentityReferenceSagas),
_marked110 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityRelationshipSagas),
_marked111 = /*#__PURE__*/_regeneratorRuntime().mark(postIdentityRelationshipSagas),
_marked112 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentityRelationshipSagas),
_marked113 = /*#__PURE__*/_regeneratorRuntime().mark(deleteIdentityRelationshipSagas),
_marked114 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityRelationshipTypeSagas),
_marked115 = /*#__PURE__*/_regeneratorRuntime().mark(postDependentIdentityRelationshipBulkSagas),
_marked116 = /*#__PURE__*/_regeneratorRuntime().mark(postIdentityRoleSagas),
_marked117 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentityRoleSagas),
_marked118 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityRoleSagas),
_marked119 = /*#__PURE__*/_regeneratorRuntime().mark(deleteIdentityRoleSagas),
_marked120 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityServiceProviderSagas),
_marked121 = /*#__PURE__*/_regeneratorRuntime().mark(postIdentityServiceProviderSagas),
_marked122 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentityServiceProviderSagas),
_marked123 = /*#__PURE__*/_regeneratorRuntime().mark(deleteIdentityServiceProviderSagas),
_marked124 = /*#__PURE__*/_regeneratorRuntime().mark(getGetServiceProviderActivityMappingsSagas),
_marked125 = /*#__PURE__*/_regeneratorRuntime().mark(putUpdateServiceProviderActivityMappingsSagas),
_marked126 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentitySupplyContractSagas),
_marked127 = /*#__PURE__*/_regeneratorRuntime().mark(postIdentitySupplyContractSagas),
_marked128 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentitySupplyContractSagas),
_marked129 = /*#__PURE__*/_regeneratorRuntime().mark(deleteIdentitySupplyContractSagas),
_marked130 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentityUserPersonSagas),
_marked131 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityUserPersonSagas),
_marked132 = /*#__PURE__*/_regeneratorRuntime().mark(postIdentityVehicleSagas),
_marked133 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentityVehicleSagas),
_marked134 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityVehicleSagas),
_marked135 = /*#__PURE__*/_regeneratorRuntime().mark(deleteIdentityVehicleSagas),
_marked136 = /*#__PURE__*/_regeneratorRuntime().mark(getGridVineyardBlocksSagas),
_marked137 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityVineyardBlocksSagas),
_marked138 = /*#__PURE__*/_regeneratorRuntime().mark(postIdentityVineyardBlockSagas),
_marked139 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentityVineyardBlockSagas),
_marked140 = /*#__PURE__*/_regeneratorRuntime().mark(deleteIdentityVineyardBlockSagas),
_marked141 = /*#__PURE__*/_regeneratorRuntime().mark(getVineyardBlockCropMeasurementsSagas),
_marked142 = /*#__PURE__*/_regeneratorRuntime().mark(getAdHocBlockVintageAllocationSagas),
_marked143 = /*#__PURE__*/_regeneratorRuntime().mark(putAdHocBlockVintageAllocationSagas),
_marked144 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityVineyardBlockRowsSagas),
_marked145 = /*#__PURE__*/_regeneratorRuntime().mark(postIdentityVineyardBlockRowSagas),
_marked146 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentityVineyardBlockRowSagas),
_marked147 = /*#__PURE__*/_regeneratorRuntime().mark(deleteIdentityVineyardBlockRowSagas),
_marked148 = /*#__PURE__*/_regeneratorRuntime().mark(getImportTypeFiltersSagas),
_marked149 = /*#__PURE__*/_regeneratorRuntime().mark(postImportSheetsSagas),
_marked150 = /*#__PURE__*/_regeneratorRuntime().mark(getInvoiceBatchesSagas),
_marked151 = /*#__PURE__*/_regeneratorRuntime().mark(getInvoiceJobsSagas),
_marked152 = /*#__PURE__*/_regeneratorRuntime().mark(getDraftInvoiceJobsSagas),
_marked153 = /*#__PURE__*/_regeneratorRuntime().mark(getInvoiceBatchSagas),
_marked154 = /*#__PURE__*/_regeneratorRuntime().mark(getInvoiceBatchHeadersSagas),
_marked155 = /*#__PURE__*/_regeneratorRuntime().mark(deleteInvoiceSagas),
_marked156 = /*#__PURE__*/_regeneratorRuntime().mark(getJobActivitySagas),
_marked157 = /*#__PURE__*/_regeneratorRuntime().mark(postJobActivitySagas),
_marked158 = /*#__PURE__*/_regeneratorRuntime().mark(putJobActivitySagas),
_marked159 = /*#__PURE__*/_regeneratorRuntime().mark(deleteJobActivitySagas),
_marked160 = /*#__PURE__*/_regeneratorRuntime().mark(getJobActivitiesSagas),
_marked161 = /*#__PURE__*/_regeneratorRuntime().mark(getJobActivityRateSagas),
_marked162 = /*#__PURE__*/_regeneratorRuntime().mark(postJobActivityRateSagas),
_marked163 = /*#__PURE__*/_regeneratorRuntime().mark(putJobActivityRateSagas),
_marked164 = /*#__PURE__*/_regeneratorRuntime().mark(deleteJobActivityRateSagas),
_marked165 = /*#__PURE__*/_regeneratorRuntime().mark(getGetJobActivityRatesSagas),
_marked166 = /*#__PURE__*/_regeneratorRuntime().mark(getJobBlockSagas),
_marked167 = /*#__PURE__*/_regeneratorRuntime().mark(postJobBlockSagas),
_marked168 = /*#__PURE__*/_regeneratorRuntime().mark(putJobBlockSagas),
_marked169 = /*#__PURE__*/_regeneratorRuntime().mark(deleteJobBlockSagas),
_marked170 = /*#__PURE__*/_regeneratorRuntime().mark(putJobBlockStatusSagas),
_marked171 = /*#__PURE__*/_regeneratorRuntime().mark(getBlocksForJobSagas),
_marked172 = /*#__PURE__*/_regeneratorRuntime().mark(postJobBlocksBulkSagas),
_marked173 = /*#__PURE__*/_regeneratorRuntime().mark(getJobBlockRowsSagas),
_marked174 = /*#__PURE__*/_regeneratorRuntime().mark(postJobBlockRowsSagas),
_marked175 = /*#__PURE__*/_regeneratorRuntime().mark(putJobBlockRowsSagas),
_marked176 = /*#__PURE__*/_regeneratorRuntime().mark(deleteJobBlockRowsSagas),
_marked177 = /*#__PURE__*/_regeneratorRuntime().mark(postSplitJobBlockRowSagas),
_marked178 = /*#__PURE__*/_regeneratorRuntime().mark(getRowsByJobBlockSagas),
_marked179 = /*#__PURE__*/_regeneratorRuntime().mark(postRowsByJobBlockSagas),
_marked180 = /*#__PURE__*/_regeneratorRuntime().mark(getJobEventsSagas),
_marked181 = /*#__PURE__*/_regeneratorRuntime().mark(postJobEventsSagas),
_marked182 = /*#__PURE__*/_regeneratorRuntime().mark(putJobEventsSagas),
_marked183 = /*#__PURE__*/_regeneratorRuntime().mark(deleteJobEventsSagas),
_marked184 = /*#__PURE__*/_regeneratorRuntime().mark(getJobSupervisorSagas),
_marked185 = /*#__PURE__*/_regeneratorRuntime().mark(postJobSupervisorSagas),
_marked186 = /*#__PURE__*/_regeneratorRuntime().mark(putJobSupervisorSagas),
_marked187 = /*#__PURE__*/_regeneratorRuntime().mark(deleteJobSupervisorSagas),
_marked188 = /*#__PURE__*/_regeneratorRuntime().mark(getJobWorkRecordsSagas),
_marked189 = /*#__PURE__*/_regeneratorRuntime().mark(deleteJobWorkRecordsSagas),
_marked190 = /*#__PURE__*/_regeneratorRuntime().mark(getJobWorkRecordSupervisorsSagas),
_marked191 = /*#__PURE__*/_regeneratorRuntime().mark(getJobWorkRecordWorkersSagas),
_marked192 = /*#__PURE__*/_regeneratorRuntime().mark(getJobWorkRecordSpecialActivitiesSagas),
_marked193 = /*#__PURE__*/_regeneratorRuntime().mark(getJobWorkRecordEquipmentSagas),
_marked194 = /*#__PURE__*/_regeneratorRuntime().mark(getJobWorkRecordReferenceTypesSagas),
_marked195 = /*#__PURE__*/_regeneratorRuntime().mark(postLinkedDocumentSagas),
_marked196 = /*#__PURE__*/_regeneratorRuntime().mark(getLinkedDocumentSagas),
_marked197 = /*#__PURE__*/_regeneratorRuntime().mark(putLinkedDocumentSagas),
_marked198 = /*#__PURE__*/_regeneratorRuntime().mark(deleteLinkedDocumentSagas),
_marked199 = /*#__PURE__*/_regeneratorRuntime().mark(getLinkedDocumentsSagas),
_marked200 = /*#__PURE__*/_regeneratorRuntime().mark(getGetLookUpSagas),
_marked201 = /*#__PURE__*/_regeneratorRuntime().mark(postQueueMessageSagas),
_marked202 = /*#__PURE__*/_regeneratorRuntime().mark(postObjectLogoSagas),
_marked203 = /*#__PURE__*/_regeneratorRuntime().mark(getObjectLogoSagas),
_marked204 = /*#__PURE__*/_regeneratorRuntime().mark(putObjectLogoSagas),
_marked205 = /*#__PURE__*/_regeneratorRuntime().mark(deleteObjectLogoSagas),
_marked206 = /*#__PURE__*/_regeneratorRuntime().mark(getPayrollPeriodsSagas),
_marked207 = /*#__PURE__*/_regeneratorRuntime().mark(getPayrollPeriodSagas),
_marked208 = /*#__PURE__*/_regeneratorRuntime().mark(postPayrollPeriodSagas),
_marked209 = /*#__PURE__*/_regeneratorRuntime().mark(putPayrollPeriodSagas),
_marked210 = /*#__PURE__*/_regeneratorRuntime().mark(deletePayrollPeriodSagas),
_marked211 = /*#__PURE__*/_regeneratorRuntime().mark(getPayrollPeriodLinesSagas),
_marked212 = /*#__PURE__*/_regeneratorRuntime().mark(getPayrollServiceProvidersSagas),
_marked213 = /*#__PURE__*/_regeneratorRuntime().mark(getPayrollMaxEndDateSagas),
_marked214 = /*#__PURE__*/_regeneratorRuntime().mark(postPayrollPeriodLinesGenerateSagas),
_marked215 = /*#__PURE__*/_regeneratorRuntime().mark(getPayrollPeriodWorkersSagas),
_marked216 = /*#__PURE__*/_regeneratorRuntime().mark(postPayrollPeriodWorkersSagas),
_marked217 = /*#__PURE__*/_regeneratorRuntime().mark(deletePayrollPeriodWorkersSagas),
_marked218 = /*#__PURE__*/_regeneratorRuntime().mark(getPayrollPeriodWorkerSearchSagas),
_marked219 = /*#__PURE__*/_regeneratorRuntime().mark(getPlanActivitiesSagas),
_marked220 = /*#__PURE__*/_regeneratorRuntime().mark(postPlanActivitiesSagas),
_marked221 = /*#__PURE__*/_regeneratorRuntime().mark(putPlanActivitiesSagas),
_marked222 = /*#__PURE__*/_regeneratorRuntime().mark(deletePlanActivitiesSagas),
_marked223 = /*#__PURE__*/_regeneratorRuntime().mark(getPlanActivitiesByPlanSagas),
_marked224 = /*#__PURE__*/_regeneratorRuntime().mark(getPlanActivityTotalWorkUnitsSagas),
_marked225 = /*#__PURE__*/_regeneratorRuntime().mark(putUpdatePlanActivityBlocksSagas),
_marked226 = /*#__PURE__*/_regeneratorRuntime().mark(getPlanActivityBlocksSagas),
_marked227 = /*#__PURE__*/_regeneratorRuntime().mark(getPlanBlocksSagas),
_marked228 = /*#__PURE__*/_regeneratorRuntime().mark(postPlanBlocksSagas),
_marked229 = /*#__PURE__*/_regeneratorRuntime().mark(putPlanBlocksSagas),
_marked230 = /*#__PURE__*/_regeneratorRuntime().mark(deletePlanBlocksSagas),
_marked231 = /*#__PURE__*/_regeneratorRuntime().mark(getGetAvailablePlanBlocksSagas),
_marked232 = /*#__PURE__*/_regeneratorRuntime().mark(deleteBulkPlanBlocksSagas),
_marked233 = /*#__PURE__*/_regeneratorRuntime().mark(getPlansSagas),
_marked234 = /*#__PURE__*/_regeneratorRuntime().mark(postPlansSagas),
_marked235 = /*#__PURE__*/_regeneratorRuntime().mark(putPlansSagas),
_marked236 = /*#__PURE__*/_regeneratorRuntime().mark(deletePlansSagas),
_marked237 = /*#__PURE__*/_regeneratorRuntime().mark(getprocessblocksamplingSagas),
_marked238 = /*#__PURE__*/_regeneratorRuntime().mark(postprocessblocksamplingSagas),
_marked239 = /*#__PURE__*/_regeneratorRuntime().mark(getReportsSagas),
_marked240 = /*#__PURE__*/_regeneratorRuntime().mark(postReportFileSagas),
_marked241 = /*#__PURE__*/_regeneratorRuntime().mark(postReportFiltersSagas),
_marked242 = /*#__PURE__*/_regeneratorRuntime().mark(getGetTokenSagas),
_marked243 = /*#__PURE__*/_regeneratorRuntime().mark(getSampleHeadersSagas),
_marked244 = /*#__PURE__*/_regeneratorRuntime().mark(putSampleHeaderStatusSagas),
_marked245 = /*#__PURE__*/_regeneratorRuntime().mark(putSampleHeaderInstructionsSagas),
_marked246 = /*#__PURE__*/_regeneratorRuntime().mark(putRecommendedSampleSizeSagas),
_marked247 = /*#__PURE__*/_regeneratorRuntime().mark(deleteSampleHeaderSagas),
_marked248 = /*#__PURE__*/_regeneratorRuntime().mark(postSampleHeaderSagas),
_marked249 = /*#__PURE__*/_regeneratorRuntime().mark(putSampleHeaderSagas),
_marked250 = /*#__PURE__*/_regeneratorRuntime().mark(getSampleIdentitySagas),
_marked251 = /*#__PURE__*/_regeneratorRuntime().mark(postSampleIdentitySagas),
_marked252 = /*#__PURE__*/_regeneratorRuntime().mark(getSampleHeaderLinesSagas),
_marked253 = /*#__PURE__*/_regeneratorRuntime().mark(putSampleHeaderLinesSagas),
_marked254 = /*#__PURE__*/_regeneratorRuntime().mark(putMoveSampleLinesSagas),
_marked255 = /*#__PURE__*/_regeneratorRuntime().mark(postAssignSampleHeadersSagas),
_marked256 = /*#__PURE__*/_regeneratorRuntime().mark(postSamplingUsersSagas),
_marked257 = /*#__PURE__*/_regeneratorRuntime().mark(postDeAssignSampleHeadersSagas),
_marked258 = /*#__PURE__*/_regeneratorRuntime().mark(postSampleSetsSagas),
_marked259 = /*#__PURE__*/_regeneratorRuntime().mark(getSampleBlockVintagesSagas),
_marked260 = /*#__PURE__*/_regeneratorRuntime().mark(postSampleSetSagas),
_marked261 = /*#__PURE__*/_regeneratorRuntime().mark(deleteSampleSetSagas),
_marked262 = /*#__PURE__*/_regeneratorRuntime().mark(postSearchIdentitySagas),
_marked263 = /*#__PURE__*/_regeneratorRuntime().mark(postSearchPlansSagas),
_marked264 = /*#__PURE__*/_regeneratorRuntime().mark(postSearchSupplyContractsSagas),
_marked265 = /*#__PURE__*/_regeneratorRuntime().mark(postSearchJobsSagas),
_marked266 = /*#__PURE__*/_regeneratorRuntime().mark(postSearchTrackingVineyardsSagas),
_marked267 = /*#__PURE__*/_regeneratorRuntime().mark(postSearchTrackingBlockVintagesSagas),
_marked268 = /*#__PURE__*/_regeneratorRuntime().mark(postQuickSearchSagas),
_marked269 = /*#__PURE__*/_regeneratorRuntime().mark(getVineyardBlocksGeometrySagas),
_marked270 = /*#__PURE__*/_regeneratorRuntime().mark(getVineyardGeometrySagas),
_marked271 = /*#__PURE__*/_regeneratorRuntime().mark(getRegionVineyardGeometrySagas),
_marked272 = /*#__PURE__*/_regeneratorRuntime().mark(getVineyardBlockActivityProgressSagas),
_marked273 = /*#__PURE__*/_regeneratorRuntime().mark(getRegionActivityProgressSagas),
_marked274 = /*#__PURE__*/_regeneratorRuntime().mark(getSubRegionActivityProgressSagas),
_marked275 = /*#__PURE__*/_regeneratorRuntime().mark(getSyncVineyardGeometrySagas),
_marked276 = /*#__PURE__*/_regeneratorRuntime().mark(getSupplyContractBlocksGeometrySagas),
_marked277 = /*#__PURE__*/_regeneratorRuntime().mark(getSupplyContractBlockSagas),
_marked278 = /*#__PURE__*/_regeneratorRuntime().mark(postSupplyContractBlockSagas),
_marked279 = /*#__PURE__*/_regeneratorRuntime().mark(putSupplyContractBlockSagas),
_marked280 = /*#__PURE__*/_regeneratorRuntime().mark(deleteSupplyContractBlockSagas),
_marked281 = /*#__PURE__*/_regeneratorRuntime().mark(getBlocksForSupplyContractSagas),
_marked282 = /*#__PURE__*/_regeneratorRuntime().mark(getUserHistorySagas),
_marked283 = /*#__PURE__*/_regeneratorRuntime().mark(postUserHistorySagas),
_marked284 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityVineyardSagas),
_marked285 = /*#__PURE__*/_regeneratorRuntime().mark(postIdentityVineyardSagas),
_marked286 = /*#__PURE__*/_regeneratorRuntime().mark(putIdentityVineyardSagas),
_marked287 = /*#__PURE__*/_regeneratorRuntime().mark(deleteIdentityVineyardSagas),
_marked288 = /*#__PURE__*/_regeneratorRuntime().mark(getIdentityVineyardTrackingSagas),
_marked289 = /*#__PURE__*/_regeneratorRuntime().mark(getTriggerVintraceMetricDataSyncSagas),
_marked290 = /*#__PURE__*/_regeneratorRuntime().mark(getWineryVintageBlockAllocationsSagas),
_marked291 = /*#__PURE__*/_regeneratorRuntime().mark(postWineryVintageBlockAllocationsSagas),
_marked292 = /*#__PURE__*/_regeneratorRuntime().mark(putWineryVintageBlockAllocationsSagas),
_marked293 = /*#__PURE__*/_regeneratorRuntime().mark(deleteWineryVintageBlockAllocationsSagas),
_marked294 = /*#__PURE__*/_regeneratorRuntime().mark(getWorkersSagas),
_marked295 = /*#__PURE__*/_regeneratorRuntime().mark(getWorkerPayPeriodsSagas),
_marked296 = /*#__PURE__*/_regeneratorRuntime().mark(getWorkerWorkRecordsSagas),
_marked297 = /*#__PURE__*/_regeneratorRuntime().mark(getWorkRecordsConsumableSagas),
_marked298 = /*#__PURE__*/_regeneratorRuntime().mark(putWorkRecordsConsumableSagas),
_marked299 = /*#__PURE__*/_regeneratorRuntime().mark(postWorkRecordsConsumableSagas),
_marked300 = /*#__PURE__*/_regeneratorRuntime().mark(getWorkRecordsConsumableOptionsSagas),
_marked301 = /*#__PURE__*/_regeneratorRuntime().mark(getWorkRecordsConsumablePriceSagas),
_marked302 = /*#__PURE__*/_regeneratorRuntime().mark(getWorkRecordsGenericSagas),
_marked303 = /*#__PURE__*/_regeneratorRuntime().mark(putWorkRecordsGenericSagas),
_marked304 = /*#__PURE__*/_regeneratorRuntime().mark(postWorkRecordsGenericSagas),
_marked305 = /*#__PURE__*/_regeneratorRuntime().mark(getWorkRecordsHourlySagas),
_marked306 = /*#__PURE__*/_regeneratorRuntime().mark(postWorkRecordsHourlySagas),
_marked307 = /*#__PURE__*/_regeneratorRuntime().mark(putWorkRecordsHourlySagas),
_marked308 = /*#__PURE__*/_regeneratorRuntime().mark(getWorkRecordsPieceworkGroupSagas),
_marked309 = /*#__PURE__*/_regeneratorRuntime().mark(getWorkRecordsPieceworkGroupWorkersSagas),
_marked310 = /*#__PURE__*/_regeneratorRuntime().mark(getWorkRecordsPieceworkGroupRowsSagas),
_marked311 = /*#__PURE__*/_regeneratorRuntime().mark(postWorkRecordsPieceworkSagas),
_marked312 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupClassificationSagas),
_marked313 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupClassificationGroupSagas),
_marked314 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupClassificationGroupIdentityTypeSagas),
_marked315 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupReferenceTypeSagas),
_marked316 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupIdentityTypeSagas),
_marked317 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupRoleTypeSagas),
_marked318 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupRoleTypeIdentityTypeSagas),
_marked319 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupBusinessUnitSagas),
_marked320 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupReferenceTypeIdentityTypeSagas),
_marked321 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupRelationshipTypeSagas),
_marked322 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupContactMethodSagas),
_marked323 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupGenderSagas),
_marked324 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupNationalitySagas),
_marked325 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupEthnicitySagas),
_marked326 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupLanguageSagas),
_marked327 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupCountrySagas),
_marked328 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupSalutationSagas),
_marked329 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupGrowingRegionSagas),
_marked330 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupGrowingSubRegionSagas),
_marked331 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupTownSagas),
_marked332 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupVarietySagas),
_marked333 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupBlockVintageStatusSagas),
_marked334 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupTrellisSagas),
_marked335 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupRootStockSagas),
_marked336 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupVarietyCloneSagas),
_marked337 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupVintageSagas),
_marked338 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupRowSpecialAttributeSagas),
_marked339 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupNoteStatusSagas),
_marked340 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupMeasureSagas),
_marked341 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupMeasureGroupSagas),
_marked342 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupMeasureInstanceSagas),
_marked343 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupKeywordSagas),
_marked344 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupSampleRequestStatusSagas),
_marked345 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupPayrollSystemSagas),
_marked346 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupDataProviderSagas),
_marked347 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupDataProviderTypeSagas),
_marked348 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupPhenologyMeasureSagas),
_marked349 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupPhenologyMeasureOptionSagas),
_marked350 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupPhenologyMeasureSetSagas),
_marked351 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupPhenologyMeasureTypeSagas),
_marked352 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupCropSettingInstanceSagas),
_marked353 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupCropSettingOptionSagas),
_marked354 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupInactiveReasonSagas),
_marked355 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupDocumentTypeSagas),
_marked356 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupDocumentStatusSagas),
_marked357 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupDashboardPageFiltersSagas),
_marked358 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupChartFiltersSagas),
_marked359 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupVehicleTypeSagas),
_marked360 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupVehicleMakeSagas),
_marked361 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupConsumableTypeSagas),
_marked362 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupSensorStatusSagas),
_marked363 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupSensorTypeSagas),
_marked364 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupSensorTypeMeasureUnitSagas),
_marked365 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupActivitySagas),
_marked366 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupDisplayAttributeSagas),
_marked367 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupDurationSagas),
_marked368 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupWorkUnitSagas),
_marked369 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupResourceTypeSagas),
_marked370 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupResourceTypeUnitSagas),
_marked371 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupCostingUnitSagas),
_marked372 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupActivityGroupSagas),
_marked373 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupPlanTypeSagas),
_marked374 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupPlanStatusSagas),
_marked375 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupSupplyContractTypeSagas),
_marked376 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupJobEventActionSagas),
_marked377 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupJobInvoiceMethodSagas),
_marked378 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupJobQuantityTypeSagas),
_marked379 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupJobStatusSagas),
_marked380 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupJobTypeSagas),
_marked381 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupJobTypeWorkRecordTypeSagas),
_marked382 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupWorkRecordLevelSagas),
_marked383 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupPayrollRecordTypeSagas),
_marked384 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupJobWorkUnitSagas),
_marked385 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupWorkRecordUnitTypeSagas),
_marked386 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupIdentityActivitySagas),
_marked387 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupSystemDataSagas),
_marked388 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupSiteTypeSagas),
_marked389 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupImportTypeSagas),
_marked390 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupEventLogStatusSagas),
_marked391 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupCostAllocationFactorSagas),
_marked392 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupReportTypeSagas),
_marked393 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupWineryDataTypeSagas),
_marked394 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupWineryDataAllocationRuleSagas),
_marked395 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupWorkRecordTypeSagas),
_marked396 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupPayLoadingSagas),
_marked397 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupSplitTypeSagas),
_marked398 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupPayrollStatusSagas),
_marked399 = /*#__PURE__*/_regeneratorRuntime().mark(getlookupBatchStatusSagas),
_marked400 = /*#__PURE__*/_regeneratorRuntime().mark(fetchAllLookupsSagas),
_marked401 = /*#__PURE__*/_regeneratorRuntime().mark(clearReducerData),
_marked402 = /*#__PURE__*/_regeneratorRuntime().mark(commonEntityPartialUpdateActionCreator),
_marked403 = /*#__PURE__*/_regeneratorRuntime().mark(root);
/**
* @module Sagas/vineaNovaApi.sagas
* @desc common sagas for vinea nova api actions
*/
/**
* commonActionCreator
*/
function getActivityDefaultRatesSagas(action) {
var _action$payload, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getActivityDefaultRatesSagas$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_action$payload = action.payload, payload = _action$payload === void 0 ? {} : _action$payload, reducerName = action.meta.reducerName;
_context.prev = 1;
_context.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context.next = 6;
return (0, _effects.call)(APIServices.getActivityDefaultRates, payload);
case 6:
response = _context.sent;
_context.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context.next = 16;
break;
case 11:
_context.prev = 11;
_context.t0 = _context["catch"](1);
console.error(_context.t0);
/* istanbul ignore next */
_context.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context.t0,
name: reducerName
});
case 16:
case "end":
return _context.stop();
}
}, _marked, null, [[1, 11]]);
}
function postActivityDefaultRatesSagas(action) {
var _action$payload2, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postActivityDefaultRatesSagas$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
_action$payload2 = action.payload, payload = _action$payload2 === void 0 ? {} : _action$payload2, reducerName = action.meta.reducerName;
_context2.prev = 1;
_context2.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context2.next = 6;
return (0, _effects.call)(APIServices.postActivityDefaultRates, payload);
case 6:
response = _context2.sent;
_context2.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context2.next = 16;
break;
case 11:
_context2.prev = 11;
_context2.t0 = _context2["catch"](1);
console.error(_context2.t0);
/* istanbul ignore next */
_context2.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context2.t0,
name: reducerName
});
case 16:
case "end":
return _context2.stop();
}
}, _marked2, null, [[1, 11]]);
}
function putActivityDefaultRatesSagas(action) {
var _action$payload3, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putActivityDefaultRatesSagas$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
_action$payload3 = action.payload, payload = _action$payload3 === void 0 ? {} : _action$payload3, reducerName = action.meta.reducerName;
_context3.prev = 1;
_context3.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context3.next = 6;
return (0, _effects.call)(APIServices.putActivityDefaultRates, payload);
case 6:
response = _context3.sent;
_context3.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context3.next = 16;
break;
case 11:
_context3.prev = 11;
_context3.t0 = _context3["catch"](1);
console.error(_context3.t0);
/* istanbul ignore next */
_context3.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context3.t0,
name: reducerName
});
case 16:
case "end":
return _context3.stop();
}
}, _marked3, null, [[1, 11]]);
}
function deleteActivityDefaultRatesSagas(action) {
var _action$payload4, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteActivityDefaultRatesSagas$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
_action$payload4 = action.payload, payload = _action$payload4 === void 0 ? {} : _action$payload4, reducerName = action.meta.reducerName;
_context4.prev = 1;
_context4.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context4.next = 6;
return (0, _effects.call)(APIServices.deleteActivityDefaultRates, payload);
case 6:
response = _context4.sent;
_context4.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context4.next = 16;
break;
case 11:
_context4.prev = 11;
_context4.t0 = _context4["catch"](1);
console.error(_context4.t0);
/* istanbul ignore next */
_context4.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context4.t0,
name: reducerName
});
case 16:
case "end":
return _context4.stop();
}
}, _marked4, null, [[1, 11]]);
}
function getBlockVintageSagas(action) {
var _action$payload5, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getBlockVintageSagas$(_context5) {
while (1) switch (_context5.prev = _context5.next) {
case 0:
_action$payload5 = action.payload, payload = _action$payload5 === void 0 ? {} : _action$payload5, reducerName = action.meta.reducerName;
_context5.prev = 1;
_context5.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context5.next = 6;
return (0, _effects.call)(APIServices.getBlockVintage, payload);
case 6:
response = _context5.sent;
_context5.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context5.next = 16;
break;
case 11:
_context5.prev = 11;
_context5.t0 = _context5["catch"](1);
console.error(_context5.t0);
/* istanbul ignore next */
_context5.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context5.t0,
name: reducerName
});
case 16:
case "end":
return _context5.stop();
}
}, _marked5, null, [[1, 11]]);
}
function postBlockVintageSagas(action) {
var _action$payload6, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postBlockVintageSagas$(_context6) {
while (1) switch (_context6.prev = _context6.next) {
case 0:
_action$payload6 = action.payload, payload = _action$payload6 === void 0 ? {} : _action$payload6, reducerName = action.meta.reducerName;
_context6.prev = 1;
_context6.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context6.next = 6;
return (0, _effects.call)(APIServices.postBlockVintage, payload);
case 6:
response = _context6.sent;
_context6.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context6.next = 16;
break;
case 11:
_context6.prev = 11;
_context6.t0 = _context6["catch"](1);
console.error(_context6.t0);
/* istanbul ignore next */
_context6.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context6.t0,
name: reducerName
});
case 16:
case "end":
return _context6.stop();
}
}, _marked6, null, [[1, 11]]);
}
function putBlockVintageSagas(action) {
var _action$payload7, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putBlockVintageSagas$(_context7) {
while (1) switch (_context7.prev = _context7.next) {
case 0:
_action$payload7 = action.payload, payload = _action$payload7 === void 0 ? {} : _action$payload7, reducerName = action.meta.reducerName;
_context7.prev = 1;
_context7.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context7.next = 6;
return (0, _effects.call)(APIServices.putBlockVintage, payload);
case 6:
response = _context7.sent;
_context7.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context7.next = 16;
break;
case 11:
_context7.prev = 11;
_context7.t0 = _context7["catch"](1);
console.error(_context7.t0);
/* istanbul ignore next */
_context7.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context7.t0,
name: reducerName
});
case 16:
case "end":
return _context7.stop();
}
}, _marked7, null, [[1, 11]]);
}
function deleteBlockVintageSagas(action) {
var _action$payload8, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteBlockVintageSagas$(_context8) {
while (1) switch (_context8.prev = _context8.next) {
case 0:
_action$payload8 = action.payload, payload = _action$payload8 === void 0 ? {} : _action$payload8, reducerName = action.meta.reducerName;
_context8.prev = 1;
_context8.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context8.next = 6;
return (0, _effects.call)(APIServices.deleteBlockVintage, payload);
case 6:
response = _context8.sent;
_context8.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context8.next = 16;
break;
case 11:
_context8.prev = 11;
_context8.t0 = _context8["catch"](1);
console.error(_context8.t0);
/* istanbul ignore next */
_context8.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context8.t0,
name: reducerName
});
case 16:
case "end":
return _context8.stop();
}
}, _marked8, null, [[1, 11]]);
}
function getChartsSagas(action) {
var _action$payload9, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getChartsSagas$(_context9) {
while (1) switch (_context9.prev = _context9.next) {
case 0:
_action$payload9 = action.payload, payload = _action$payload9 === void 0 ? {} : _action$payload9, reducerName = action.meta.reducerName;
_context9.prev = 1;
_context9.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context9.next = 6;
return (0, _effects.call)(APIServices.getCharts, payload);
case 6:
response = _context9.sent;
_context9.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context9.next = 16;
break;
case 11:
_context9.prev = 11;
_context9.t0 = _context9["catch"](1);
console.error(_context9.t0);
/* istanbul ignore next */
_context9.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context9.t0,
name: reducerName
});
case 16:
case "end":
return _context9.stop();
}
}, _marked9, null, [[1, 11]]);
}
function postChartsSagas(action) {
var _action$payload10, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postChartsSagas$(_context10) {
while (1) switch (_context10.prev = _context10.next) {
case 0:
_action$payload10 = action.payload, payload = _action$payload10 === void 0 ? {} : _action$payload10, reducerName = action.meta.reducerName;
_context10.prev = 1;
_context10.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context10.next = 6;
return (0, _effects.call)(APIServices.postCharts, payload);
case 6:
response = _context10.sent;
_context10.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context10.next = 16;
break;
case 11:
_context10.prev = 11;
_context10.t0 = _context10["catch"](1);
console.error(_context10.t0);
/* istanbul ignore next */
_context10.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context10.t0,
name: reducerName
});
case 16:
case "end":
return _context10.stop();
}
}, _marked10, null, [[1, 11]]);
}
function postChartsByChartFiltersSagas(action) {
var _action$payload11, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postChartsByChartFiltersSagas$(_context11) {
while (1) switch (_context11.prev = _context11.next) {
case 0:
_action$payload11 = action.payload, payload = _action$payload11 === void 0 ? {} : _action$payload11, reducerName = action.meta.reducerName;
_context11.prev = 1;
_context11.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context11.next = 6;
return (0, _effects.call)(APIServices.postChartsByChartFilters, payload);
case 6:
response = _context11.sent;
_context11.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context11.next = 16;
break;
case 11:
_context11.prev = 11;
_context11.t0 = _context11["catch"](1);
console.error(_context11.t0);
/* istanbul ignore next */
_context11.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context11.t0,
name: reducerName
});
case 16:
case "end":
return _context11.stop();
}
}, _marked11, null, [[1, 11]]);
}
function postChartsByPageFiltersSagas(action) {
var _action$payload12, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postChartsByPageFiltersSagas$(_context12) {
while (1) switch (_context12.prev = _context12.next) {
case 0:
_action$payload12 = action.payload, payload = _action$payload12 === void 0 ? {} : _action$payload12, reducerName = action.meta.reducerName;
_context12.prev = 1;
_context12.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context12.next = 6;
return (0, _effects.call)(APIServices.postChartsByPageFilters, payload);
case 6:
response = _context12.sent;
_context12.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context12.next = 16;
break;
case 11:
_context12.prev = 11;
_context12.t0 = _context12["catch"](1);
console.error(_context12.t0);
/* istanbul ignore next */
_context12.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context12.t0,
name: reducerName
});
case 16:
case "end":
return _context12.stop();
}
}, _marked12, null, [[1, 11]]);
}
function getChartFilterSagas(action) {
var _action$payload13, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getChartFilterSagas$(_context13) {
while (1) switch (_context13.prev = _context13.next) {
case 0:
_action$payload13 = action.payload, payload = _action$payload13 === void 0 ? {} : _action$payload13, reducerName = action.meta.reducerName;
_context13.prev = 1;
_context13.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context13.next = 6;
return (0, _effects.call)(APIServices.getChartFilter, payload);
case 6:
response = _context13.sent;
_context13.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context13.next = 16;
break;
case 11:
_context13.prev = 11;
_context13.t0 = _context13["catch"](1);
console.error(_context13.t0);
/* istanbul ignore next */
_context13.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context13.t0,
name: reducerName
});
case 16:
case "end":
return _context13.stop();
}
}, _marked13, null, [[1, 11]]);
}
function postChartFiltersSagas(action) {
var _action$payload14, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postChartFiltersSagas$(_context14) {
while (1) switch (_context14.prev = _context14.next) {
case 0:
_action$payload14 = action.payload, payload = _action$payload14 === void 0 ? {} : _action$payload14, reducerName = action.meta.reducerName;
_context14.prev = 1;
_context14.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context14.next = 6;
return (0, _effects.call)(APIServices.postChartFilters, payload);
case 6:
response = _context14.sent;
_context14.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context14.next = 16;
break;
case 11:
_context14.prev = 11;
_context14.t0 = _context14["catch"](1);
console.error(_context14.t0);
/* istanbul ignore next */
_context14.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context14.t0,
name: reducerName
});
case 16:
case "end":
return _context14.stop();
}
}, _marked14, null, [[1, 11]]);
}
function getDashboardPagesSagas(action) {
var _action$payload15, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getDashboardPagesSagas$(_context15) {
while (1) switch (_context15.prev = _context15.next) {
case 0:
_action$payload15 = action.payload, payload = _action$payload15 === void 0 ? {} : _action$payload15, reducerName = action.meta.reducerName;
_context15.prev = 1;
_context15.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context15.next = 6;
return (0, _effects.call)(APIServices.getDashboardPages, payload);
case 6:
response = _context15.sent;
_context15.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context15.next = 16;
break;
case 11:
_context15.prev = 11;
_context15.t0 = _context15["catch"](1);
console.error(_context15.t0);
/* istanbul ignore next */
_context15.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context15.t0,
name: reducerName
});
case 16:
case "end":
return _context15.stop();
}
}, _marked15, null, [[1, 11]]);
}
function getDashboardPageFiltersSagas(action) {
var _action$payload16, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getDashboardPageFiltersSagas$(_context16) {
while (1) switch (_context16.prev = _context16.next) {
case 0:
_action$payload16 = action.payload, payload = _action$payload16 === void 0 ? {} : _action$payload16, reducerName = action.meta.reducerName;
_context16.prev = 1;
_context16.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context16.next = 6;
return (0, _effects.call)(APIServices.getDashboardPageFilters, payload);
case 6:
response = _context16.sent;
_context16.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context16.next = 16;
break;
case 11:
_context16.prev = 11;
_context16.t0 = _context16["catch"](1);
console.error(_context16.t0);
/* istanbul ignore next */
_context16.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context16.t0,
name: reducerName
});
case 16:
case "end":
return _context16.stop();
}
}, _marked16, null, [[1, 11]]);
}
function postDashboardPageFiltersSagas(action) {
var _action$payload17, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postDashboardPageFiltersSagas$(_context17) {
while (1) switch (_context17.prev = _context17.next) {
case 0:
_action$payload17 = action.payload, payload = _action$payload17 === void 0 ? {} : _action$payload17, reducerName = action.meta.reducerName;
_context17.prev = 1;
_context17.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context17.next = 6;
return (0, _effects.call)(APIServices.postDashboardPageFilters, payload);
case 6:
response = _context17.sent;
_context17.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context17.next = 16;
break;
case 11:
_context17.prev = 11;
_context17.t0 = _context17["catch"](1);
console.error(_context17.t0);
/* istanbul ignore next */
_context17.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context17.t0,
name: reducerName
});
case 16:
case "end":
return _context17.stop();
}
}, _marked17, null, [[1, 11]]);
}
function getCLearCacheSagas(action) {
var _action$payload18, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getCLearCacheSagas$(_context18) {
while (1) switch (_context18.prev = _context18.next) {
case 0:
_action$payload18 = action.payload, payload = _action$payload18 === void 0 ? {} : _action$payload18, reducerName = action.meta.reducerName;
_context18.prev = 1;
_context18.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context18.next = 6;
return (0, _effects.call)(APIServices.getCLearCache, payload);
case 6:
response = _context18.sent;
_context18.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context18.next = 16;
break;
case 11:
_context18.prev = 11;
_context18.t0 = _context18["catch"](1);
console.error(_context18.t0);
/* istanbul ignore next */
_context18.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context18.t0,
name: reducerName
});
case 16:
case "end":
return _context18.stop();
}
}, _marked18, null, [[1, 11]]);
}
function getCropBlockNotesSagas(action) {
var _action$payload19, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getCropBlockNotesSagas$(_context19) {
while (1) switch (_context19.prev = _context19.next) {
case 0:
_action$payload19 = action.payload, payload = _action$payload19 === void 0 ? {} : _action$payload19, reducerName = action.meta.reducerName;
_context19.prev = 1;
_context19.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context19.next = 6;
return (0, _effects.call)(APIServices.getCropBlockNotes, payload);
case 6:
response = _context19.sent;
_context19.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context19.next = 16;
break;
case 11:
_context19.prev = 11;
_context19.t0 = _context19["catch"](1);
console.error(_context19.t0);
/* istanbul ignore next */
_context19.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context19.t0,
name: reducerName
});
case 16:
case "end":
return _context19.stop();
}
}, _marked19, null, [[1, 11]]);
}
function postCropBlockNotesSagas(action) {
var _action$payload20, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postCropBlockNotesSagas$(_context20) {
while (1) switch (_context20.prev = _context20.next) {
case 0:
_action$payload20 = action.payload, payload = _action$payload20 === void 0 ? {} : _action$payload20, reducerName = action.meta.reducerName;
_context20.prev = 1;
_context20.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context20.next = 6;
return (0, _effects.call)(APIServices.postCropBlockNotes, payload);
case 6:
response = _context20.sent;
_context20.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context20.next = 16;
break;
case 11:
_context20.prev = 11;
_context20.t0 = _context20["catch"](1);
console.error(_context20.t0);
/* istanbul ignore next */
_context20.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context20.t0,
name: reducerName
});
case 16:
case "end":
return _context20.stop();
}
}, _marked20, null, [[1, 11]]);
}
function putCropBlockNotesSagas(action) {
var _action$payload21, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putCropBlockNotesSagas$(_context21) {
while (1) switch (_context21.prev = _context21.next) {
case 0:
_action$payload21 = action.payload, payload = _action$payload21 === void 0 ? {} : _action$payload21, reducerName = action.meta.reducerName;
_context21.prev = 1;
_context21.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context21.next = 6;
return (0, _effects.call)(APIServices.putCropBlockNotes, payload);
case 6:
response = _context21.sent;
_context21.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context21.next = 16;
break;
case 11:
_context21.prev = 11;
_context21.t0 = _context21["catch"](1);
console.error(_context21.t0);
/* istanbul ignore next */
_context21.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context21.t0,
name: reducerName
});
case 16:
case "end":
return _context21.stop();
}
}, _marked21, null, [[1, 11]]);
}
function deleteCropBlockNotesSagas(action) {
var _action$payload22, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteCropBlockNotesSagas$(_context22) {
while (1) switch (_context22.prev = _context22.next) {
case 0:
_action$payload22 = action.payload, payload = _action$payload22 === void 0 ? {} : _action$payload22, reducerName = action.meta.reducerName;
_context22.prev = 1;
_context22.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context22.next = 6;
return (0, _effects.call)(APIServices.deleteCropBlockNotes, payload);
case 6:
response = _context22.sent;
_context22.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context22.next = 16;
break;
case 11:
_context22.prev = 11;
_context22.t0 = _context22["catch"](1);
console.error(_context22.t0);
/* istanbul ignore next */
_context22.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context22.t0,
name: reducerName
});
case 16:
case "end":
return _context22.stop();
}
}, _marked22, null, [[1, 11]]);
}
function postMeasurementNoteImageSagas(action) {
var _action$payload23, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postMeasurementNoteImageSagas$(_context23) {
while (1) switch (_context23.prev = _context23.next) {
case 0:
_action$payload23 = action.payload, payload = _action$payload23 === void 0 ? {} : _action$payload23, reducerName = action.meta.reducerName;
_context23.prev = 1;
_context23.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context23.next = 6;
return (0, _effects.call)(APIServices.postMeasurementNoteImage, payload);
case 6:
response = _context23.sent;
_context23.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context23.next = 16;
break;
case 11:
_context23.prev = 11;
_context23.t0 = _context23["catch"](1);
console.error(_context23.t0);
/* istanbul ignore next */
_context23.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context23.t0,
name: reducerName
});
case 16:
case "end":
return _context23.stop();
}
}, _marked23, null, [[1, 11]]);
}
function getCropBlockPhenologySagas(action) {
var _action$payload24, payload, reducerName, response, CropBlockPhenologySchema, CropBlockPhenologyListSchema, _normalize, byId, allIds;
return _regeneratorRuntime().wrap(function getCropBlockPhenologySagas$(_context24) {
while (1) switch (_context24.prev = _context24.next) {
case 0:
_action$payload24 = action.payload, payload = _action$payload24 === void 0 ? {} : _action$payload24, reducerName = action.meta.reducerName;
_context24.prev = 1;
_context24.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context24.next = 6;
return (0, _effects.call)(APIServices.getCropBlockPhenology, payload);
case 6:
response = _context24.sent;
_context24.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
CropBlockPhenologySchema = new _normalizr.schema.Entity("byId");
CropBlockPhenologyListSchema = new _normalizr.schema.Array(CropBlockPhenologySchema);
_normalize = (0, _normalizr.normalize)(response, CropBlockPhenologyListSchema), byId = _normalize.entities.byId, allIds = _normalize.result;
_context24.next = 14;
return (0, _effects.put)({
type: "MERGE_ALL_IDS",
payload: {
byId: byId,
allIds: allIds
},
name: reducerName
});
case 14:
_context24.next = 21;
break;
case 16:
_context24.prev = 16;
_context24.t0 = _context24["catch"](1);
console.error(_context24.t0);
/* istanbul ignore next */
_context24.next = 21;
return (0, _effects.put)({
type: "ERROR",
payload: _context24.t0,
name: reducerName
});
case 21:
case "end":
return _context24.stop();
}
}, _marked24, null, [[1, 16]]);
}
function postCropBlockPhenologySagas(action) {
var _action$payload25, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postCropBlockPhenologySagas$(_context25) {
while (1) switch (_context25.prev = _context25.next) {
case 0:
_action$payload25 = action.payload, payload = _action$payload25 === void 0 ? {} : _action$payload25, reducerName = action.meta.reducerName;
_context25.prev = 1;
_context25.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context25.next = 6;
return (0, _effects.call)(APIServices.postCropBlockPhenology, payload);
case 6:
response = _context25.sent;
_context25.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context25.next = 16;
break;
case 11:
_context25.prev = 11;
_context25.t0 = _context25["catch"](1);
console.error(_context25.t0);
/* istanbul ignore next */
_context25.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context25.t0,
name: reducerName
});
case 16:
case "end":
return _context25.stop();
}
}, _marked25, null, [[1, 11]]);
}
function putCropBlockPhenologySagas(action) {
var _action$payload26, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putCropBlockPhenologySagas$(_context26) {
while (1) switch (_context26.prev = _context26.next) {
case 0:
_action$payload26 = action.payload, payload = _action$payload26 === void 0 ? {} : _action$payload26, reducerName = action.meta.reducerName;
_context26.prev = 1;
_context26.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context26.next = 6;
return (0, _effects.call)(APIServices.putCropBlockPhenology, payload);
case 6:
response = _context26.sent;
_context26.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context26.next = 16;
break;
case 11:
_context26.prev = 11;
_context26.t0 = _context26["catch"](1);
console.error(_context26.t0);
/* istanbul ignore next */
_context26.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context26.t0,
name: reducerName
});
case 16:
case "end":
return _context26.stop();
}
}, _marked26, null, [[1, 11]]);
}
function deleteCropBlockPhenologySagas(action) {
var _action$payload27, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteCropBlockPhenologySagas$(_context27) {
while (1) switch (_context27.prev = _context27.next) {
case 0:
_action$payload27 = action.payload, payload = _action$payload27 === void 0 ? {} : _action$payload27, reducerName = action.meta.reducerName;
_context27.prev = 1;
_context27.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context27.next = 6;
return (0, _effects.call)(APIServices.deleteCropBlockPhenology, payload);
case 6:
response = _context27.sent;
_context27.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context27.next = 16;
break;
case 11:
_context27.prev = 11;
_context27.t0 = _context27["catch"](1);
console.error(_context27.t0);
/* istanbul ignore next */
_context27.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context27.t0,
name: reducerName
});
case 16:
case "end":
return _context27.stop();
}
}, _marked27, null, [[1, 11]]);
}
function getCropBlockSettingSagas(action) {
var _action$payload28, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getCropBlockSettingSagas$(_context28) {
while (1) switch (_context28.prev = _context28.next) {
case 0:
_action$payload28 = action.payload, payload = _action$payload28 === void 0 ? {} : _action$payload28, reducerName = action.meta.reducerName;
_context28.prev = 1;
_context28.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context28.next = 6;
return (0, _effects.call)(APIServices.getCropBlockSetting, payload);
case 6:
response = _context28.sent;
_context28.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context28.next = 16;
break;
case 11:
_context28.prev = 11;
_context28.t0 = _context28["catch"](1);
console.error(_context28.t0);
/* istanbul ignore next */
_context28.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context28.t0,
name: reducerName
});
case 16:
case "end":
return _context28.stop();
}
}, _marked28, null, [[1, 11]]);
}
function postCropBlockSettingSagas(action) {
var _action$payload29, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postCropBlockSettingSagas$(_context29) {
while (1) switch (_context29.prev = _context29.next) {
case 0:
_action$payload29 = action.payload, payload = _action$payload29 === void 0 ? {} : _action$payload29, reducerName = action.meta.reducerName;
_context29.prev = 1;
_context29.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context29.next = 6;
return (0, _effects.call)(APIServices.postCropBlockSetting, payload);
case 6:
response = _context29.sent;
_context29.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context29.next = 16;
break;
case 11:
_context29.prev = 11;
_context29.t0 = _context29["catch"](1);
console.error(_context29.t0);
/* istanbul ignore next */
_context29.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context29.t0,
name: reducerName
});
case 16:
case "end":
return _context29.stop();
}
}, _marked29, null, [[1, 11]]);
}
function putCropBlockSettingSagas(action) {
var _action$payload30, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putCropBlockSettingSagas$(_context30) {
while (1) switch (_context30.prev = _context30.next) {
case 0:
_action$payload30 = action.payload, payload = _action$payload30 === void 0 ? {} : _action$payload30, reducerName = action.meta.reducerName;
_context30.prev = 1;
_context30.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context30.next = 6;
return (0, _effects.call)(APIServices.putCropBlockSetting, payload);
case 6:
response = _context30.sent;
_context30.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context30.next = 16;
break;
case 11:
_context30.prev = 11;
_context30.t0 = _context30["catch"](1);
console.error(_context30.t0);
/* istanbul ignore next */
_context30.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context30.t0,
name: reducerName
});
case 16:
case "end":
return _context30.stop();
}
}, _marked30, null, [[1, 11]]);
}
function deleteCropBlockSettingSagas(action) {
var _action$payload31, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteCropBlockSettingSagas$(_context31) {
while (1) switch (_context31.prev = _context31.next) {
case 0:
_action$payload31 = action.payload, payload = _action$payload31 === void 0 ? {} : _action$payload31, reducerName = action.meta.reducerName;
_context31.prev = 1;
_context31.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context31.next = 6;
return (0, _effects.call)(APIServices.deleteCropBlockSetting, payload);
case 6:
response = _context31.sent;
_context31.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context31.next = 16;
break;
case 11:
_context31.prev = 11;
_context31.t0 = _context31["catch"](1);
console.error(_context31.t0);
/* istanbul ignore next */
_context31.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context31.t0,
name: reducerName
});
case 16:
case "end":
return _context31.stop();
}
}, _marked31, null, [[1, 11]]);
}
function getCropBlockVintageSagas(action) {
var _action$payload32, payload, reducerName, response, CropBlockVintageSchema, CropBlockVintageListSchema, _normalize2, byId, allIds;
return _regeneratorRuntime().wrap(function getCropBlockVintageSagas$(_context32) {
while (1) switch (_context32.prev = _context32.next) {
case 0:
_action$payload32 = action.payload, payload = _action$payload32 === void 0 ? {} : _action$payload32, reducerName = action.meta.reducerName;
_context32.prev = 1;
_context32.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context32.next = 6;
return (0, _effects.call)(APIServices.getCropBlockVintage, payload);
case 6:
response = _context32.sent;
_context32.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
CropBlockVintageSchema = new _normalizr.schema.Entity("byId");
CropBlockVintageListSchema = new _normalizr.schema.Array(CropBlockVintageSchema);
_normalize2 = (0, _normalizr.normalize)(response, CropBlockVintageListSchema), byId = _normalize2.entities.byId, allIds = _normalize2.result;
_context32.next = 14;
return (0, _effects.put)({
type: "MERGE_ALL_IDS",
payload: {
byId: byId,
allIds: allIds
},
name: reducerName
});
case 14:
_context32.next = 21;
break;
case 16:
_context32.prev = 16;
_context32.t0 = _context32["catch"](1);
console.error(_context32.t0);
/* istanbul ignore next */
_context32.next = 21;
return (0, _effects.put)({
type: "ERROR",
payload: _context32.t0,
name: reducerName
});
case 21:
case "end":
return _context32.stop();
}
}, _marked32, null, [[1, 16]]);
}
function postCropBlockVintageSagas(action) {
var _action$payload33, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postCropBlockVintageSagas$(_context33) {
while (1) switch (_context33.prev = _context33.next) {
case 0:
_action$payload33 = action.payload, payload = _action$payload33 === void 0 ? {} : _action$payload33, reducerName = action.meta.reducerName;
_context33.prev = 1;
_context33.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context33.next = 6;
return (0, _effects.call)(APIServices.postCropBlockVintage, payload);
case 6:
response = _context33.sent;
_context33.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context33.next = 16;
break;
case 11:
_context33.prev = 11;
_context33.t0 = _context33["catch"](1);
console.error(_context33.t0);
/* istanbul ignore next */
_context33.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context33.t0,
name: reducerName
});
case 16:
case "end":
return _context33.stop();
}
}, _marked33, null, [[1, 11]]);
}
function putCropBlockVintageSagas(action) {
var _action$payload34, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putCropBlockVintageSagas$(_context34) {
while (1) switch (_context34.prev = _context34.next) {
case 0:
_action$payload34 = action.payload, payload = _action$payload34 === void 0 ? {} : _action$payload34, reducerName = action.meta.reducerName;
_context34.prev = 1;
_context34.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context34.next = 6;
return (0, _effects.call)(APIServices.putCropBlockVintage, payload);
case 6:
response = _context34.sent;
_context34.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context34.next = 16;
break;
case 11:
_context34.prev = 11;
_context34.t0 = _context34["catch"](1);
console.error(_context34.t0);
/* istanbul ignore next */
_context34.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context34.t0,
name: reducerName
});
case 16:
case "end":
return _context34.stop();
}
}, _marked34, null, [[1, 11]]);
}
function deleteCropBlockVintageSagas(action) {
var _action$payload35, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteCropBlockVintageSagas$(_context35) {
while (1) switch (_context35.prev = _context35.next) {
case 0:
_action$payload35 = action.payload, payload = _action$payload35 === void 0 ? {} : _action$payload35, reducerName = action.meta.reducerName;
_context35.prev = 1;
_context35.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context35.next = 6;
return (0, _effects.call)(APIServices.deleteCropBlockVintage, payload);
case 6:
response = _context35.sent;
_context35.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context35.next = 16;
break;
case 11:
_context35.prev = 11;
_context35.t0 = _context35["catch"](1);
console.error(_context35.t0);
/* istanbul ignore next */
_context35.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context35.t0,
name: reducerName
});
case 16:
case "end":
return _context35.stop();
}
}, _marked35, null, [[1, 11]]);
}
function getSitesSagas(action) {
var _action$payload36, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getSitesSagas$(_context36) {
while (1) switch (_context36.prev = _context36.next) {
case 0:
_action$payload36 = action.payload, payload = _action$payload36 === void 0 ? {} : _action$payload36, reducerName = action.meta.reducerName;
_context36.prev = 1;
_context36.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context36.next = 6;
return (0, _effects.call)(APIServices.getSites, payload);
case 6:
response = _context36.sent;
_context36.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context36.next = 16;
break;
case 11:
_context36.prev = 11;
_context36.t0 = _context36["catch"](1);
console.error(_context36.t0);
/* istanbul ignore next */
_context36.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context36.t0,
name: reducerName
});
case 16:
case "end":
return _context36.stop();
}
}, _marked36, null, [[1, 11]]);
}
function putSitesSagas(action) {
var _action$payload37, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putSitesSagas$(_context37) {
while (1) switch (_context37.prev = _context37.next) {
case 0:
_action$payload37 = action.payload, payload = _action$payload37 === void 0 ? {} : _action$payload37, reducerName = action.meta.reducerName;
_context37.prev = 1;
_context37.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context37.next = 6;
return (0, _effects.call)(APIServices.putSites, payload);
case 6:
response = _context37.sent;
_context37.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context37.next = 16;
break;
case 11:
_context37.prev = 11;
_context37.t0 = _context37["catch"](1);
console.error(_context37.t0);
/* istanbul ignore next */
_context37.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context37.t0,
name: reducerName
});
case 16:
case "end":
return _context37.stop();
}
}, _marked37, null, [[1, 11]]);
}
function getSensorsSagas(action) {
var _action$payload38, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getSensorsSagas$(_context38) {
while (1) switch (_context38.prev = _context38.next) {
case 0:
_action$payload38 = action.payload, payload = _action$payload38 === void 0 ? {} : _action$payload38, reducerName = action.meta.reducerName;
_context38.prev = 1;
_context38.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context38.next = 6;
return (0, _effects.call)(APIServices.getSensors, payload);
case 6:
response = _context38.sent;
_context38.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context38.next = 16;
break;
case 11:
_context38.prev = 11;
_context38.t0 = _context38["catch"](1);
console.error(_context38.t0);
/* istanbul ignore next */
_context38.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context38.t0,
name: reducerName
});
case 16:
case "end":
return _context38.stop();
}
}, _marked38, null, [[1, 11]]);
}
function putSensorsSagas(action) {
var _action$payload39, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putSensorsSagas$(_context39) {
while (1) switch (_context39.prev = _context39.next) {
case 0:
_action$payload39 = action.payload, payload = _action$payload39 === void 0 ? {} : _action$payload39, reducerName = action.meta.reducerName;
_context39.prev = 1;
_context39.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context39.next = 6;
return (0, _effects.call)(APIServices.putSensors, payload);
case 6:
response = _context39.sent;
_context39.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context39.next = 16;
break;
case 11:
_context39.prev = 11;
_context39.t0 = _context39["catch"](1);
console.error(_context39.t0);
/* istanbul ignore next */
_context39.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context39.t0,
name: reducerName
});
case 16:
case "end":
return _context39.stop();
}
}, _marked39, null, [[1, 11]]);
}
function getSensorBlocksSagas(action) {
var _action$payload40, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getSensorBlocksSagas$(_context40) {
while (1) switch (_context40.prev = _context40.next) {
case 0:
_action$payload40 = action.payload, payload = _action$payload40 === void 0 ? {} : _action$payload40, reducerName = action.meta.reducerName;
_context40.prev = 1;
_context40.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context40.next = 6;
return (0, _effects.call)(APIServices.getSensorBlocks, payload);
case 6:
response = _context40.sent;
_context40.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context40.next = 16;
break;
case 11:
_context40.prev = 11;
_context40.t0 = _context40["catch"](1);
console.error(_context40.t0);
/* istanbul ignore next */
_context40.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context40.t0,
name: reducerName
});
case 16:
case "end":
return _context40.stop();
}
}, _marked40, null, [[1, 11]]);
}
function getTriggerSensorSummaryDataSyncSagas(action) {
var _action$payload41, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getTriggerSensorSummaryDataSyncSagas$(_context41) {
while (1) switch (_context41.prev = _context41.next) {
case 0:
_action$payload41 = action.payload, payload = _action$payload41 === void 0 ? {} : _action$payload41, reducerName = action.meta.reducerName;
_context41.prev = 1;
_context41.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context41.next = 6;
return (0, _effects.call)(APIServices.getTriggerSensorSummaryDataSync, payload);
case 6:
response = _context41.sent;
_context41.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context41.next = 16;
break;
case 11:
_context41.prev = 11;
_context41.t0 = _context41["catch"](1);
console.error(_context41.t0);
/* istanbul ignore next */
_context41.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context41.t0,
name: reducerName
});
case 16:
case "end":
return _context41.stop();
}
}, _marked41, null, [[1, 11]]);
}
function getEventLogSagas(action) {
var _action$payload42, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getEventLogSagas$(_context42) {
while (1) switch (_context42.prev = _context42.next) {
case 0:
_action$payload42 = action.payload, payload = _action$payload42 === void 0 ? {} : _action$payload42, reducerName = action.meta.reducerName;
_context42.prev = 1;
_context42.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context42.next = 6;
return (0, _effects.call)(APIServices.getEventLog, payload);
case 6:
response = _context42.sent;
_context42.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context42.next = 16;
break;
case 11:
_context42.prev = 11;
_context42.t0 = _context42["catch"](1);
console.error(_context42.t0);
/* istanbul ignore next */
_context42.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context42.t0,
name: reducerName
});
case 16:
case "end":
return _context42.stop();
}
}, _marked42, null, [[1, 11]]);
}
function putEventLogStatusSagas(action) {
var _action$payload43, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putEventLogStatusSagas$(_context43) {
while (1) switch (_context43.prev = _context43.next) {
case 0:
_action$payload43 = action.payload, payload = _action$payload43 === void 0 ? {} : _action$payload43, reducerName = action.meta.reducerName;
_context43.prev = 1;
_context43.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context43.next = 6;
return (0, _effects.call)(APIServices.putEventLogStatus, payload);
case 6:
response = _context43.sent;
_context43.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context43.next = 16;
break;
case 11:
_context43.prev = 11;
_context43.t0 = _context43["catch"](1);
console.error(_context43.t0);
/* istanbul ignore next */
_context43.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context43.t0,
name: reducerName
});
case 16:
case "end":
return _context43.stop();
}
}, _marked43, null, [[1, 11]]);
}
function postNewLoginEventLogSagas(action) {
var _action$payload44, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postNewLoginEventLogSagas$(_context44) {
while (1) switch (_context44.prev = _context44.next) {
case 0:
_action$payload44 = action.payload, payload = _action$payload44 === void 0 ? {} : _action$payload44, reducerName = action.meta.reducerName;
_context44.prev = 1;
_context44.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context44.next = 6;
return (0, _effects.call)(APIServices.postNewLoginEventLog, payload);
case 6:
response = _context44.sent;
_context44.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context44.next = 16;
break;
case 11:
_context44.prev = 11;
_context44.t0 = _context44["catch"](1);
console.error(_context44.t0);
/* istanbul ignore next */
_context44.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context44.t0,
name: reducerName
});
case 16:
case "end":
return _context44.stop();
}
}, _marked44, null, [[1, 11]]);
}
function getDemoExcelDataSagas(action) {
var _action$payload45, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getDemoExcelDataSagas$(_context45) {
while (1) switch (_context45.prev = _context45.next) {
case 0:
_action$payload45 = action.payload, payload = _action$payload45 === void 0 ? {} : _action$payload45, reducerName = action.meta.reducerName;
_context45.prev = 1;
_context45.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context45.next = 6;
return (0, _effects.call)(APIServices.getDemoExcelData, payload);
case 6:
response = _context45.sent;
_context45.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context45.next = 16;
break;
case 11:
_context45.prev = 11;
_context45.t0 = _context45["catch"](1);
console.error(_context45.t0);
/* istanbul ignore next */
_context45.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context45.t0,
name: reducerName
});
case 16:
case "end":
return _context45.stop();
}
}, _marked45, null, [[1, 11]]);
}
function gethealthcheckSagas(action) {
var _action$payload46, payload, reducerName, response;
return _regeneratorRuntime().wrap(function gethealthcheckSagas$(_context46) {
while (1) switch (_context46.prev = _context46.next) {
case 0:
_action$payload46 = action.payload, payload = _action$payload46 === void 0 ? {} : _action$payload46, reducerName = action.meta.reducerName;
_context46.prev = 1;
_context46.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context46.next = 6;
return (0, _effects.call)(APIServices.gethealthcheck, payload);
case 6:
response = _context46.sent;
_context46.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context46.next = 16;
break;
case 11:
_context46.prev = 11;
_context46.t0 = _context46["catch"](1);
console.error(_context46.t0);
/* istanbul ignore next */
_context46.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context46.t0,
name: reducerName
});
case 16:
case "end":
return _context46.stop();
}
}, _marked46, null, [[1, 11]]);
}
function posthealthcheckSagas(action) {
var _action$payload47, payload, reducerName, response;
return _regeneratorRuntime().wrap(function posthealthcheckSagas$(_context47) {
while (1) switch (_context47.prev = _context47.next) {
case 0:
_action$payload47 = action.payload, payload = _action$payload47 === void 0 ? {} : _action$payload47, reducerName = action.meta.reducerName;
_context47.prev = 1;
_context47.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context47.next = 6;
return (0, _effects.call)(APIServices.posthealthcheck, payload);
case 6:
response = _context47.sent;
_context47.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context47.next = 16;
break;
case 11:
_context47.prev = 11;
_context47.t0 = _context47["catch"](1);
console.error(_context47.t0);
/* istanbul ignore next */
_context47.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context47.t0,
name: reducerName
});
case 16:
case "end":
return _context47.stop();
}
}, _marked47, null, [[1, 11]]);
}
function getIdentitySagas(action) {
var _action$payload48, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentitySagas$(_context48) {
while (1) switch (_context48.prev = _context48.next) {
case 0:
_action$payload48 = action.payload, payload = _action$payload48 === void 0 ? {} : _action$payload48, reducerName = action.meta.reducerName;
_context48.prev = 1;
_context48.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context48.next = 6;
return (0, _effects.call)(APIServices.getIdentity, payload);
case 6:
response = _context48.sent;
_context48.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context48.next = 16;
break;
case 11:
_context48.prev = 11;
_context48.t0 = _context48["catch"](1);
console.error(_context48.t0);
/* istanbul ignore next */
_context48.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context48.t0,
name: reducerName
});
case 16:
case "end":
return _context48.stop();
}
}, _marked48, null, [[1, 11]]);
}
function getIdentityDetailsSagas(action) {
var _action$payload49, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityDetailsSagas$(_context49) {
while (1) switch (_context49.prev = _context49.next) {
case 0:
_action$payload49 = action.payload, payload = _action$payload49 === void 0 ? {} : _action$payload49, reducerName = action.meta.reducerName;
_context49.prev = 1;
_context49.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context49.next = 6;
return (0, _effects.call)(APIServices.getIdentityDetails, payload);
case 6:
response = _context49.sent;
_context49.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context49.next = 16;
break;
case 11:
_context49.prev = 11;
_context49.t0 = _context49["catch"](1);
console.error(_context49.t0);
/* istanbul ignore next */
_context49.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context49.t0,
name: reducerName
});
case 16:
case "end":
return _context49.stop();
}
}, _marked49, null, [[1, 11]]);
}
function postIdentityStatusSagas(action) {
var _action$payload50, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postIdentityStatusSagas$(_context50) {
while (1) switch (_context50.prev = _context50.next) {
case 0:
_action$payload50 = action.payload, payload = _action$payload50 === void 0 ? {} : _action$payload50, reducerName = action.meta.reducerName;
_context50.prev = 1;
_context50.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context50.next = 6;
return (0, _effects.call)(APIServices.postIdentityStatus, payload);
case 6:
response = _context50.sent;
_context50.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context50.next = 16;
break;
case 11:
_context50.prev = 11;
_context50.t0 = _context50["catch"](1);
console.error(_context50.t0);
/* istanbul ignore next */
_context50.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context50.t0,
name: reducerName
});
case 16:
case "end":
return _context50.stop();
}
}, _marked50, null, [[1, 11]]);
}
function getIdentitiesByRoleSagas(action) {
var _action$payload51, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentitiesByRoleSagas$(_context51) {
while (1) switch (_context51.prev = _context51.next) {
case 0:
_action$payload51 = action.payload, payload = _action$payload51 === void 0 ? {} : _action$payload51, reducerName = action.meta.reducerName;
_context51.prev = 1;
_context51.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context51.next = 6;
return (0, _effects.call)(APIServices.getIdentitiesByRole, payload);
case 6:
response = _context51.sent;
_context51.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context51.next = 16;
break;
case 11:
_context51.prev = 11;
_context51.t0 = _context51["catch"](1);
console.error(_context51.t0);
/* istanbul ignore next */
_context51.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context51.t0,
name: reducerName
});
case 16:
case "end":
return _context51.stop();
}
}, _marked51, null, [[1, 11]]);
}
function getIdentitiesByClassificationSagas(action) {
var _action$payload52, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentitiesByClassificationSagas$(_context52) {
while (1) switch (_context52.prev = _context52.next) {
case 0:
_action$payload52 = action.payload, payload = _action$payload52 === void 0 ? {} : _action$payload52, reducerName = action.meta.reducerName;
_context52.prev = 1;
_context52.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context52.next = 6;
return (0, _effects.call)(APIServices.getIdentitiesByClassification, payload);
case 6:
response = _context52.sent;
_context52.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context52.next = 16;
break;
case 11:
_context52.prev = 11;
_context52.t0 = _context52["catch"](1);
console.error(_context52.t0);
/* istanbul ignore next */
_context52.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context52.t0,
name: reducerName
});
case 16:
case "end":
return _context52.stop();
}
}, _marked52, null, [[1, 11]]);
}
function getIdentitiesByTypeSagas(action) {
var _action$payload53, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentitiesByTypeSagas$(_context53) {
while (1) switch (_context53.prev = _context53.next) {
case 0:
_action$payload53 = action.payload, payload = _action$payload53 === void 0 ? {} : _action$payload53, reducerName = action.meta.reducerName;
_context53.prev = 1;
_context53.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context53.next = 6;
return (0, _effects.call)(APIServices.getIdentitiesByType, payload);
case 6:
response = _context53.sent;
_context53.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context53.next = 16;
break;
case 11:
_context53.prev = 11;
_context53.t0 = _context53["catch"](1);
console.error(_context53.t0);
/* istanbul ignore next */
_context53.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context53.t0,
name: reducerName
});
case 16:
case "end":
return _context53.stop();
}
}, _marked53, null, [[1, 11]]);
}
function postIdentityAccommodationSagas(action) {
var _action$payload54, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postIdentityAccommodationSagas$(_context54) {
while (1) switch (_context54.prev = _context54.next) {
case 0:
_action$payload54 = action.payload, payload = _action$payload54 === void 0 ? {} : _action$payload54, reducerName = action.meta.reducerName;
_context54.prev = 1;
_context54.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context54.next = 6;
return (0, _effects.call)(APIServices.postIdentityAccommodation, payload);
case 6:
response = _context54.sent;
_context54.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context54.next = 16;
break;
case 11:
_context54.prev = 11;
_context54.t0 = _context54["catch"](1);
console.error(_context54.t0);
/* istanbul ignore next */
_context54.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context54.t0,
name: reducerName
});
case 16:
case "end":
return _context54.stop();
}
}, _marked54, null, [[1, 11]]);
}
function putIdentityAccommodationSagas(action) {
var _action$payload55, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentityAccommodationSagas$(_context55) {
while (1) switch (_context55.prev = _context55.next) {
case 0:
_action$payload55 = action.payload, payload = _action$payload55 === void 0 ? {} : _action$payload55, reducerName = action.meta.reducerName;
_context55.prev = 1;
_context55.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context55.next = 6;
return (0, _effects.call)(APIServices.putIdentityAccommodation, payload);
case 6:
response = _context55.sent;
_context55.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context55.next = 16;
break;
case 11:
_context55.prev = 11;
_context55.t0 = _context55["catch"](1);
console.error(_context55.t0);
/* istanbul ignore next */
_context55.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context55.t0,
name: reducerName
});
case 16:
case "end":
return _context55.stop();
}
}, _marked55, null, [[1, 11]]);
}
function getIdentityAccommodationSagas(action) {
var _action$payload56, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityAccommodationSagas$(_context56) {
while (1) switch (_context56.prev = _context56.next) {
case 0:
_action$payload56 = action.payload, payload = _action$payload56 === void 0 ? {} : _action$payload56, reducerName = action.meta.reducerName;
_context56.prev = 1;
_context56.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context56.next = 6;
return (0, _effects.call)(APIServices.getIdentityAccommodation, payload);
case 6:
response = _context56.sent;
_context56.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context56.next = 16;
break;
case 11:
_context56.prev = 11;
_context56.t0 = _context56["catch"](1);
console.error(_context56.t0);
/* istanbul ignore next */
_context56.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context56.t0,
name: reducerName
});
case 16:
case "end":
return _context56.stop();
}
}, _marked56, null, [[1, 11]]);
}
function deleteIdentityAccommodationSagas(action) {
var _action$payload57, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteIdentityAccommodationSagas$(_context57) {
while (1) switch (_context57.prev = _context57.next) {
case 0:
_action$payload57 = action.payload, payload = _action$payload57 === void 0 ? {} : _action$payload57, reducerName = action.meta.reducerName;
_context57.prev = 1;
_context57.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context57.next = 6;
return (0, _effects.call)(APIServices.deleteIdentityAccommodation, payload);
case 6:
response = _context57.sent;
_context57.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context57.next = 16;
break;
case 11:
_context57.prev = 11;
_context57.t0 = _context57["catch"](1);
console.error(_context57.t0);
/* istanbul ignore next */
_context57.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context57.t0,
name: reducerName
});
case 16:
case "end":
return _context57.stop();
}
}, _marked57, null, [[1, 11]]);
}
function getIdentityActivitySagas(action) {
var _action$payload58, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityActivitySagas$(_context58) {
while (1) switch (_context58.prev = _context58.next) {
case 0:
_action$payload58 = action.payload, payload = _action$payload58 === void 0 ? {} : _action$payload58, reducerName = action.meta.reducerName;
_context58.prev = 1;
_context58.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context58.next = 6;
return (0, _effects.call)(APIServices.getIdentityActivity, payload);
case 6:
response = _context58.sent;
_context58.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context58.next = 16;
break;
case 11:
_context58.prev = 11;
_context58.t0 = _context58["catch"](1);
console.error(_context58.t0);
/* istanbul ignore next */
_context58.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context58.t0,
name: reducerName
});
case 16:
case "end":
return _context58.stop();
}
}, _marked58, null, [[1, 11]]);
}
function postIdentityActivitySagas(action) {
var _action$payload59, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postIdentityActivitySagas$(_context59) {
while (1) switch (_context59.prev = _context59.next) {
case 0:
_action$payload59 = action.payload, payload = _action$payload59 === void 0 ? {} : _action$payload59, reducerName = action.meta.reducerName;
_context59.prev = 1;
_context59.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context59.next = 6;
return (0, _effects.call)(APIServices.postIdentityActivity, payload);
case 6:
response = _context59.sent;
_context59.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context59.next = 16;
break;
case 11:
_context59.prev = 11;
_context59.t0 = _context59["catch"](1);
console.error(_context59.t0);
/* istanbul ignore next */
_context59.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context59.t0,
name: reducerName
});
case 16:
case "end":
return _context59.stop();
}
}, _marked59, null, [[1, 11]]);
}
function putIdentityActivitySagas(action) {
var _action$payload60, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentityActivitySagas$(_context60) {
while (1) switch (_context60.prev = _context60.next) {
case 0:
_action$payload60 = action.payload, payload = _action$payload60 === void 0 ? {} : _action$payload60, reducerName = action.meta.reducerName;
_context60.prev = 1;
_context60.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context60.next = 6;
return (0, _effects.call)(APIServices.putIdentityActivity, payload);
case 6:
response = _context60.sent;
_context60.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context60.next = 16;
break;
case 11:
_context60.prev = 11;
_context60.t0 = _context60["catch"](1);
console.error(_context60.t0);
/* istanbul ignore next */
_context60.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context60.t0,
name: reducerName
});
case 16:
case "end":
return _context60.stop();
}
}, _marked60, null, [[1, 11]]);
}
function deleteIdentityActivitySagas(action) {
var _action$payload61, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteIdentityActivitySagas$(_context61) {
while (1) switch (_context61.prev = _context61.next) {
case 0:
_action$payload61 = action.payload, payload = _action$payload61 === void 0 ? {} : _action$payload61, reducerName = action.meta.reducerName;
_context61.prev = 1;
_context61.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context61.next = 6;
return (0, _effects.call)(APIServices.deleteIdentityActivity, payload);
case 6:
response = _context61.sent;
_context61.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context61.next = 16;
break;
case 11:
_context61.prev = 11;
_context61.t0 = _context61["catch"](1);
console.error(_context61.t0);
/* istanbul ignore next */
_context61.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context61.t0,
name: reducerName
});
case 16:
case "end":
return _context61.stop();
}
}, _marked61, null, [[1, 11]]);
}
function getIdentityClassificationSagas(action) {
var _action$payload62, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityClassificationSagas$(_context62) {
while (1) switch (_context62.prev = _context62.next) {
case 0:
_action$payload62 = action.payload, payload = _action$payload62 === void 0 ? {} : _action$payload62, reducerName = action.meta.reducerName;
_context62.prev = 1;
_context62.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context62.next = 6;
return (0, _effects.call)(APIServices.getIdentityClassification, payload);
case 6:
response = _context62.sent;
_context62.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context62.next = 16;
break;
case 11:
_context62.prev = 11;
_context62.t0 = _context62["catch"](1);
console.error(_context62.t0);
/* istanbul ignore next */
_context62.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context62.t0,
name: reducerName
});
case 16:
case "end":
return _context62.stop();
}
}, _marked62, null, [[1, 11]]);
}
function postIdentityClassificationSagas(action) {
var _action$payload63, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postIdentityClassificationSagas$(_context63) {
while (1) switch (_context63.prev = _context63.next) {
case 0:
_action$payload63 = action.payload, payload = _action$payload63 === void 0 ? {} : _action$payload63, reducerName = action.meta.reducerName;
_context63.prev = 1;
_context63.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context63.next = 6;
return (0, _effects.call)(APIServices.postIdentityClassification, payload);
case 6:
response = _context63.sent;
_context63.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context63.next = 16;
break;
case 11:
_context63.prev = 11;
_context63.t0 = _context63["catch"](1);
console.error(_context63.t0);
/* istanbul ignore next */
_context63.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context63.t0,
name: reducerName
});
case 16:
case "end":
return _context63.stop();
}
}, _marked63, null, [[1, 11]]);
}
function putIdentityClassificationSagas(action) {
var _action$payload64, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentityClassificationSagas$(_context64) {
while (1) switch (_context64.prev = _context64.next) {
case 0:
_action$payload64 = action.payload, payload = _action$payload64 === void 0 ? {} : _action$payload64, reducerName = action.meta.reducerName;
_context64.prev = 1;
_context64.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context64.next = 6;
return (0, _effects.call)(APIServices.putIdentityClassification, payload);
case 6:
response = _context64.sent;
_context64.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context64.next = 16;
break;
case 11:
_context64.prev = 11;
_context64.t0 = _context64["catch"](1);
console.error(_context64.t0);
/* istanbul ignore next */
_context64.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context64.t0,
name: reducerName
});
case 16:
case "end":
return _context64.stop();
}
}, _marked64, null, [[1, 11]]);
}
function deleteIdentityClassificationSagas(action) {
var _action$payload65, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteIdentityClassificationSagas$(_context65) {
while (1) switch (_context65.prev = _context65.next) {
case 0:
_action$payload65 = action.payload, payload = _action$payload65 === void 0 ? {} : _action$payload65, reducerName = action.meta.reducerName;
_context65.prev = 1;
_context65.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context65.next = 6;
return (0, _effects.call)(APIServices.deleteIdentityClassification, payload);
case 6:
response = _context65.sent;
_context65.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context65.next = 16;
break;
case 11:
_context65.prev = 11;
_context65.t0 = _context65["catch"](1);
console.error(_context65.t0);
/* istanbul ignore next */
_context65.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context65.t0,
name: reducerName
});
case 16:
case "end":
return _context65.stop();
}
}, _marked65, null, [[1, 11]]);
}
function postIdentityConsumableSagas(action) {
var _action$payload66, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postIdentityConsumableSagas$(_context66) {
while (1) switch (_context66.prev = _context66.next) {
case 0:
_action$payload66 = action.payload, payload = _action$payload66 === void 0 ? {} : _action$payload66, reducerName = action.meta.reducerName;
_context66.prev = 1;
_context66.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context66.next = 6;
return (0, _effects.call)(APIServices.postIdentityConsumable, payload);
case 6:
response = _context66.sent;
_context66.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context66.next = 16;
break;
case 11:
_context66.prev = 11;
_context66.t0 = _context66["catch"](1);
console.error(_context66.t0);
/* istanbul ignore next */
_context66.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context66.t0,
name: reducerName
});
case 16:
case "end":
return _context66.stop();
}
}, _marked66, null, [[1, 11]]);
}
function putIdentityConsumableSagas(action) {
var _action$payload67, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentityConsumableSagas$(_context67) {
while (1) switch (_context67.prev = _context67.next) {
case 0:
_action$payload67 = action.payload, payload = _action$payload67 === void 0 ? {} : _action$payload67, reducerName = action.meta.reducerName;
_context67.prev = 1;
_context67.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context67.next = 6;
return (0, _effects.call)(APIServices.putIdentityConsumable, payload);
case 6:
response = _context67.sent;
_context67.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context67.next = 16;
break;
case 11:
_context67.prev = 11;
_context67.t0 = _context67["catch"](1);
console.error(_context67.t0);
/* istanbul ignore next */
_context67.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context67.t0,
name: reducerName
});
case 16:
case "end":
return _context67.stop();
}
}, _marked67, null, [[1, 11]]);
}
function getIdentityConsumableSagas(action) {
var _action$payload68, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityConsumableSagas$(_context68) {
while (1) switch (_context68.prev = _context68.next) {
case 0:
_action$payload68 = action.payload, payload = _action$payload68 === void 0 ? {} : _action$payload68, reducerName = action.meta.reducerName;
_context68.prev = 1;
_context68.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context68.next = 6;
return (0, _effects.call)(APIServices.getIdentityConsumable, payload);
case 6:
response = _context68.sent;
_context68.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context68.next = 16;
break;
case 11:
_context68.prev = 11;
_context68.t0 = _context68["catch"](1);
console.error(_context68.t0);
/* istanbul ignore next */
_context68.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context68.t0,
name: reducerName
});
case 16:
case "end":
return _context68.stop();
}
}, _marked68, null, [[1, 11]]);
}
function deleteIdentityConsumableSagas(action) {
var _action$payload69, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteIdentityConsumableSagas$(_context69) {
while (1) switch (_context69.prev = _context69.next) {
case 0:
_action$payload69 = action.payload, payload = _action$payload69 === void 0 ? {} : _action$payload69, reducerName = action.meta.reducerName;
_context69.prev = 1;
_context69.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context69.next = 6;
return (0, _effects.call)(APIServices.deleteIdentityConsumable, payload);
case 6:
response = _context69.sent;
_context69.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context69.next = 16;
break;
case 11:
_context69.prev = 11;
_context69.t0 = _context69["catch"](1);
console.error(_context69.t0);
/* istanbul ignore next */
_context69.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context69.t0,
name: reducerName
});
case 16:
case "end":
return _context69.stop();
}
}, _marked69, null, [[1, 11]]);
}
function getIdentityContactMethodSagas(action) {
var _action$payload70, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityContactMethodSagas$(_context70) {
while (1) switch (_context70.prev = _context70.next) {
case 0:
_action$payload70 = action.payload, payload = _action$payload70 === void 0 ? {} : _action$payload70, reducerName = action.meta.reducerName;
_context70.prev = 1;
_context70.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context70.next = 6;
return (0, _effects.call)(APIServices.getIdentityContactMethod, payload);
case 6:
response = _context70.sent;
_context70.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context70.next = 16;
break;
case 11:
_context70.prev = 11;
_context70.t0 = _context70["catch"](1);
console.error(_context70.t0);
/* istanbul ignore next */
_context70.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context70.t0,
name: reducerName
});
case 16:
case "end":
return _context70.stop();
}
}, _marked70, null, [[1, 11]]);
}
function postContactMethodSagas(action) {
var _action$payload71, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postContactMethodSagas$(_context71) {
while (1) switch (_context71.prev = _context71.next) {
case 0:
_action$payload71 = action.payload, payload = _action$payload71 === void 0 ? {} : _action$payload71, reducerName = action.meta.reducerName;
_context71.prev = 1;
_context71.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context71.next = 6;
return (0, _effects.call)(APIServices.postContactMethod, payload);
case 6:
response = _context71.sent;
_context71.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context71.next = 16;
break;
case 11:
_context71.prev = 11;
_context71.t0 = _context71["catch"](1);
console.error(_context71.t0);
/* istanbul ignore next */
_context71.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context71.t0,
name: reducerName
});
case 16:
case "end":
return _context71.stop();
}
}, _marked71, null, [[1, 11]]);
}
function putContactMethodSagas(action) {
var _action$payload72, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putContactMethodSagas$(_context72) {
while (1) switch (_context72.prev = _context72.next) {
case 0:
_action$payload72 = action.payload, payload = _action$payload72 === void 0 ? {} : _action$payload72, reducerName = action.meta.reducerName;
_context72.prev = 1;
_context72.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context72.next = 6;
return (0, _effects.call)(APIServices.putContactMethod, payload);
case 6:
response = _context72.sent;
_context72.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context72.next = 16;
break;
case 11:
_context72.prev = 11;
_context72.t0 = _context72["catch"](1);
console.error(_context72.t0);
/* istanbul ignore next */
_context72.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context72.t0,
name: reducerName
});
case 16:
case "end":
return _context72.stop();
}
}, _marked72, null, [[1, 11]]);
}
function deleteContactMethodSagas(action) {
var _action$payload73, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteContactMethodSagas$(_context73) {
while (1) switch (_context73.prev = _context73.next) {
case 0:
_action$payload73 = action.payload, payload = _action$payload73 === void 0 ? {} : _action$payload73, reducerName = action.meta.reducerName;
_context73.prev = 1;
_context73.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context73.next = 6;
return (0, _effects.call)(APIServices.deleteContactMethod, payload);
case 6:
response = _context73.sent;
_context73.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context73.next = 16;
break;
case 11:
_context73.prev = 11;
_context73.t0 = _context73["catch"](1);
console.error(_context73.t0);
/* istanbul ignore next */
_context73.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context73.t0,
name: reducerName
});
case 16:
case "end":
return _context73.stop();
}
}, _marked73, null, [[1, 11]]);
}
function getIdentityContactMethodAddressSagas(action) {
var _action$payload74, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityContactMethodAddressSagas$(_context74) {
while (1) switch (_context74.prev = _context74.next) {
case 0:
_action$payload74 = action.payload, payload = _action$payload74 === void 0 ? {} : _action$payload74, reducerName = action.meta.reducerName;
_context74.prev = 1;
_context74.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context74.next = 6;
return (0, _effects.call)(APIServices.getIdentityContactMethodAddress, payload);
case 6:
response = _context74.sent;
_context74.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context74.next = 16;
break;
case 11:
_context74.prev = 11;
_context74.t0 = _context74["catch"](1);
console.error(_context74.t0);
/* istanbul ignore next */
_context74.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context74.t0,
name: reducerName
});
case 16:
case "end":
return _context74.stop();
}
}, _marked74, null, [[1, 11]]);
}
function postIdentityContactMethodAddressSagas(action) {
var _action$payload75, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postIdentityContactMethodAddressSagas$(_context75) {
while (1) switch (_context75.prev = _context75.next) {
case 0:
_action$payload75 = action.payload, payload = _action$payload75 === void 0 ? {} : _action$payload75, reducerName = action.meta.reducerName;
_context75.prev = 1;
_context75.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context75.next = 6;
return (0, _effects.call)(APIServices.postIdentityContactMethodAddress, payload);
case 6:
response = _context75.sent;
_context75.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context75.next = 16;
break;
case 11:
_context75.prev = 11;
_context75.t0 = _context75["catch"](1);
console.error(_context75.t0);
/* istanbul ignore next */
_context75.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context75.t0,
name: reducerName
});
case 16:
case "end":
return _context75.stop();
}
}, _marked75, null, [[1, 11]]);
}
function putIdentityContactMethodAddressSagas(action) {
var _action$payload76, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentityContactMethodAddressSagas$(_context76) {
while (1) switch (_context76.prev = _context76.next) {
case 0:
_action$payload76 = action.payload, payload = _action$payload76 === void 0 ? {} : _action$payload76, reducerName = action.meta.reducerName;
_context76.prev = 1;
_context76.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context76.next = 6;
return (0, _effects.call)(APIServices.putIdentityContactMethodAddress, payload);
case 6:
response = _context76.sent;
_context76.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context76.next = 16;
break;
case 11:
_context76.prev = 11;
_context76.t0 = _context76["catch"](1);
console.error(_context76.t0);
/* istanbul ignore next */
_context76.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context76.t0,
name: reducerName
});
case 16:
case "end":
return _context76.stop();
}
}, _marked76, null, [[1, 11]]);
}
function postIdentityCourseSagas(action) {
var _action$payload77, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postIdentityCourseSagas$(_context77) {
while (1) switch (_context77.prev = _context77.next) {
case 0:
_action$payload77 = action.payload, payload = _action$payload77 === void 0 ? {} : _action$payload77, reducerName = action.meta.reducerName;
_context77.prev = 1;
_context77.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context77.next = 6;
return (0, _effects.call)(APIServices.postIdentityCourse, payload);
case 6:
response = _context77.sent;
_context77.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context77.next = 16;
break;
case 11:
_context77.prev = 11;
_context77.t0 = _context77["catch"](1);
console.error(_context77.t0);
/* istanbul ignore next */
_context77.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context77.t0,
name: reducerName
});
case 16:
case "end":
return _context77.stop();
}
}, _marked77, null, [[1, 11]]);
}
function putIdentityCourseSagas(action) {
var _action$payload78, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentityCourseSagas$(_context78) {
while (1) switch (_context78.prev = _context78.next) {
case 0:
_action$payload78 = action.payload, payload = _action$payload78 === void 0 ? {} : _action$payload78, reducerName = action.meta.reducerName;
_context78.prev = 1;
_context78.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context78.next = 6;
return (0, _effects.call)(APIServices.putIdentityCourse, payload);
case 6:
response = _context78.sent;
_context78.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context78.next = 16;
break;
case 11:
_context78.prev = 11;
_context78.t0 = _context78["catch"](1);
console.error(_context78.t0);
/* istanbul ignore next */
_context78.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context78.t0,
name: reducerName
});
case 16:
case "end":
return _context78.stop();
}
}, _marked78, null, [[1, 11]]);
}
function getIdentityCourseSagas(action) {
var _action$payload79, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityCourseSagas$(_context79) {
while (1) switch (_context79.prev = _context79.next) {
case 0:
_action$payload79 = action.payload, payload = _action$payload79 === void 0 ? {} : _action$payload79, reducerName = action.meta.reducerName;
_context79.prev = 1;
_context79.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context79.next = 6;
return (0, _effects.call)(APIServices.getIdentityCourse, payload);
case 6:
response = _context79.sent;
_context79.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context79.next = 16;
break;
case 11:
_context79.prev = 11;
_context79.t0 = _context79["catch"](1);
console.error(_context79.t0);
/* istanbul ignore next */
_context79.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context79.t0,
name: reducerName
});
case 16:
case "end":
return _context79.stop();
}
}, _marked79, null, [[1, 11]]);
}
function deleteIdentityCourseSagas(action) {
var _action$payload80, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteIdentityCourseSagas$(_context80) {
while (1) switch (_context80.prev = _context80.next) {
case 0:
_action$payload80 = action.payload, payload = _action$payload80 === void 0 ? {} : _action$payload80, reducerName = action.meta.reducerName;
_context80.prev = 1;
_context80.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context80.next = 6;
return (0, _effects.call)(APIServices.deleteIdentityCourse, payload);
case 6:
response = _context80.sent;
_context80.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context80.next = 16;
break;
case 11:
_context80.prev = 11;
_context80.t0 = _context80["catch"](1);
console.error(_context80.t0);
/* istanbul ignore next */
_context80.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context80.t0,
name: reducerName
});
case 16:
case "end":
return _context80.stop();
}
}, _marked80, null, [[1, 11]]);
}
function getIdentityDataConnectorSagas(action) {
var _action$payload81, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityDataConnectorSagas$(_context81) {
while (1) switch (_context81.prev = _context81.next) {
case 0:
_action$payload81 = action.payload, payload = _action$payload81 === void 0 ? {} : _action$payload81, reducerName = action.meta.reducerName;
_context81.prev = 1;
_context81.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context81.next = 6;
return (0, _effects.call)(APIServices.getIdentityDataConnector, payload);
case 6:
response = _context81.sent;
_context81.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context81.next = 16;
break;
case 11:
_context81.prev = 11;
_context81.t0 = _context81["catch"](1);
console.error(_context81.t0);
/* istanbul ignore next */
_context81.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context81.t0,
name: reducerName
});
case 16:
case "end":
return _context81.stop();
}
}, _marked81, null, [[1, 11]]);
}
function postIdentityDataConnectorSagas(action) {
var _action$payload82, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postIdentityDataConnectorSagas$(_context82) {
while (1) switch (_context82.prev = _context82.next) {
case 0:
_action$payload82 = action.payload, payload = _action$payload82 === void 0 ? {} : _action$payload82, reducerName = action.meta.reducerName;
_context82.prev = 1;
_context82.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context82.next = 6;
return (0, _effects.call)(APIServices.postIdentityDataConnector, payload);
case 6:
response = _context82.sent;
_context82.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context82.next = 16;
break;
case 11:
_context82.prev = 11;
_context82.t0 = _context82["catch"](1);
console.error(_context82.t0);
/* istanbul ignore next */
_context82.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context82.t0,
name: reducerName
});
case 16:
case "end":
return _context82.stop();
}
}, _marked82, null, [[1, 11]]);
}
function putIdentityDataConnectorSagas(action) {
var _action$payload83, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentityDataConnectorSagas$(_context83) {
while (1) switch (_context83.prev = _context83.next) {
case 0:
_action$payload83 = action.payload, payload = _action$payload83 === void 0 ? {} : _action$payload83, reducerName = action.meta.reducerName;
_context83.prev = 1;
_context83.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context83.next = 6;
return (0, _effects.call)(APIServices.putIdentityDataConnector, payload);
case 6:
response = _context83.sent;
_context83.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context83.next = 16;
break;
case 11:
_context83.prev = 11;
_context83.t0 = _context83["catch"](1);
console.error(_context83.t0);
/* istanbul ignore next */
_context83.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context83.t0,
name: reducerName
});
case 16:
case "end":
return _context83.stop();
}
}, _marked83, null, [[1, 11]]);
}
function deleteIdentityDataConnectorSagas(action) {
var _action$payload84, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteIdentityDataConnectorSagas$(_context84) {
while (1) switch (_context84.prev = _context84.next) {
case 0:
_action$payload84 = action.payload, payload = _action$payload84 === void 0 ? {} : _action$payload84, reducerName = action.meta.reducerName;
_context84.prev = 1;
_context84.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context84.next = 6;
return (0, _effects.call)(APIServices.deleteIdentityDataConnector, payload);
case 6:
response = _context84.sent;
_context84.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context84.next = 16;
break;
case 11:
_context84.prev = 11;
_context84.t0 = _context84["catch"](1);
console.error(_context84.t0);
/* istanbul ignore next */
_context84.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context84.t0,
name: reducerName
});
case 16:
case "end":
return _context84.stop();
}
}, _marked84, null, [[1, 11]]);
}
function getAllIdentityDataConnectorsSagas(action) {
var _action$payload85, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getAllIdentityDataConnectorsSagas$(_context85) {
while (1) switch (_context85.prev = _context85.next) {
case 0:
_action$payload85 = action.payload, payload = _action$payload85 === void 0 ? {} : _action$payload85, reducerName = action.meta.reducerName;
_context85.prev = 1;
_context85.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context85.next = 6;
return (0, _effects.call)(APIServices.getAllIdentityDataConnectors, payload);
case 6:
response = _context85.sent;
_context85.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context85.next = 16;
break;
case 11:
_context85.prev = 11;
_context85.t0 = _context85["catch"](1);
console.error(_context85.t0);
/* istanbul ignore next */
_context85.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context85.t0,
name: reducerName
});
case 16:
case "end":
return _context85.stop();
}
}, _marked85, null, [[1, 11]]);
}
function getIdentityJobSagas(action) {
var _action$payload86, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityJobSagas$(_context86) {
while (1) switch (_context86.prev = _context86.next) {
case 0:
_action$payload86 = action.payload, payload = _action$payload86 === void 0 ? {} : _action$payload86, reducerName = action.meta.reducerName;
_context86.prev = 1;
_context86.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context86.next = 6;
return (0, _effects.call)(APIServices.getIdentityJob, payload);
case 6:
response = _context86.sent;
_context86.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context86.next = 16;
break;
case 11:
_context86.prev = 11;
_context86.t0 = _context86["catch"](1);
console.error(_context86.t0);
/* istanbul ignore next */
_context86.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context86.t0,
name: reducerName
});
case 16:
case "end":
return _context86.stop();
}
}, _marked86, null, [[1, 11]]);
}
function postIdentityJobSagas(action) {
var _action$payload87, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postIdentityJobSagas$(_context87) {
while (1) switch (_context87.prev = _context87.next) {
case 0:
_action$payload87 = action.payload, payload = _action$payload87 === void 0 ? {} : _action$payload87, reducerName = action.meta.reducerName;
_context87.prev = 1;
_context87.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context87.next = 6;
return (0, _effects.call)(APIServices.postIdentityJob, payload);
case 6:
response = _context87.sent;
_context87.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context87.next = 16;
break;
case 11:
_context87.prev = 11;
_context87.t0 = _context87["catch"](1);
console.error(_context87.t0);
/* istanbul ignore next */
_context87.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context87.t0,
name: reducerName
});
case 16:
case "end":
return _context87.stop();
}
}, _marked87, null, [[1, 11]]);
}
function putIdentityJobSagas(action) {
var _action$payload88, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentityJobSagas$(_context88) {
while (1) switch (_context88.prev = _context88.next) {
case 0:
_action$payload88 = action.payload, payload = _action$payload88 === void 0 ? {} : _action$payload88, reducerName = action.meta.reducerName;
_context88.prev = 1;
_context88.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context88.next = 6;
return (0, _effects.call)(APIServices.putIdentityJob, payload);
case 6:
response = _context88.sent;
_context88.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context88.next = 16;
break;
case 11:
_context88.prev = 11;
_context88.t0 = _context88["catch"](1);
console.error(_context88.t0);
/* istanbul ignore next */
_context88.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context88.t0,
name: reducerName
});
case 16:
case "end":
return _context88.stop();
}
}, _marked88, null, [[1, 11]]);
}
function deleteIdentityJobSagas(action) {
var _action$payload89, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteIdentityJobSagas$(_context89) {
while (1) switch (_context89.prev = _context89.next) {
case 0:
_action$payload89 = action.payload, payload = _action$payload89 === void 0 ? {} : _action$payload89, reducerName = action.meta.reducerName;
_context89.prev = 1;
_context89.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context89.next = 6;
return (0, _effects.call)(APIServices.deleteIdentityJob, payload);
case 6:
response = _context89.sent;
_context89.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context89.next = 16;
break;
case 11:
_context89.prev = 11;
_context89.t0 = _context89["catch"](1);
console.error(_context89.t0);
/* istanbul ignore next */
_context89.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context89.t0,
name: reducerName
});
case 16:
case "end":
return _context89.stop();
}
}, _marked89, null, [[1, 11]]);
}
function getJobRowSpecialAttributesSagas(action) {
var _action$payload90, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getJobRowSpecialAttributesSagas$(_context90) {
while (1) switch (_context90.prev = _context90.next) {
case 0:
_action$payload90 = action.payload, payload = _action$payload90 === void 0 ? {} : _action$payload90, reducerName = action.meta.reducerName;
_context90.prev = 1;
_context90.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context90.next = 6;
return (0, _effects.call)(APIServices.getJobRowSpecialAttributes, payload);
case 6:
response = _context90.sent;
_context90.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context90.next = 16;
break;
case 11:
_context90.prev = 11;
_context90.t0 = _context90["catch"](1);
console.error(_context90.t0);
/* istanbul ignore next */
_context90.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context90.t0,
name: reducerName
});
case 16:
case "end":
return _context90.stop();
}
}, _marked90, null, [[1, 11]]);
}
function getIdentityNotesSagas(action) {
var _action$payload91, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityNotesSagas$(_context91) {
while (1) switch (_context91.prev = _context91.next) {
case 0:
_action$payload91 = action.payload, payload = _action$payload91 === void 0 ? {} : _action$payload91, reducerName = action.meta.reducerName;
_context91.prev = 1;
_context91.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context91.next = 6;
return (0, _effects.call)(APIServices.getIdentityNotes, payload);
case 6:
response = _context91.sent;
_context91.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context91.next = 16;
break;
case 11:
_context91.prev = 11;
_context91.t0 = _context91["catch"](1);
console.error(_context91.t0);
/* istanbul ignore next */
_context91.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context91.t0,
name: reducerName
});
case 16:
case "end":
return _context91.stop();
}
}, _marked91, null, [[1, 11]]);
}
function putIdentityNoteSagas(action) {
var _action$payload92, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentityNoteSagas$(_context92) {
while (1) switch (_context92.prev = _context92.next) {
case 0:
_action$payload92 = action.payload, payload = _action$payload92 === void 0 ? {} : _action$payload92, reducerName = action.meta.reducerName;
_context92.prev = 1;
_context92.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context92.next = 6;
return (0, _effects.call)(APIServices.putIdentityNote, payload);
case 6:
response = _context92.sent;
_context92.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context92.next = 16;
break;
case 11:
_context92.prev = 11;
_context92.t0 = _context92["catch"](1);
console.error(_context92.t0);
/* istanbul ignore next */
_context92.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context92.t0,
name: reducerName
});
case 16:
case "end":
return _context92.stop();
}
}, _marked92, null, [[1, 11]]);
}
function postIdentityNoteSagas(action) {
var _action$payload93, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postIdentityNoteSagas$(_context93) {
while (1) switch (_context93.prev = _context93.next) {
case 0:
_action$payload93 = action.payload, payload = _action$payload93 === void 0 ? {} : _action$payload93, reducerName = action.meta.reducerName;
_context93.prev = 1;
_context93.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context93.next = 6;
return (0, _effects.call)(APIServices.postIdentityNote, payload);
case 6:
response = _context93.sent;
_context93.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context93.next = 16;
break;
case 11:
_context93.prev = 11;
_context93.t0 = _context93["catch"](1);
console.error(_context93.t0);
/* istanbul ignore next */
_context93.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context93.t0,
name: reducerName
});
case 16:
case "end":
return _context93.stop();
}
}, _marked93, null, [[1, 11]]);
}
function getIdentityNoteSagas(action) {
var _action$payload94, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityNoteSagas$(_context94) {
while (1) switch (_context94.prev = _context94.next) {
case 0:
_action$payload94 = action.payload, payload = _action$payload94 === void 0 ? {} : _action$payload94, reducerName = action.meta.reducerName;
_context94.prev = 1;
_context94.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context94.next = 6;
return (0, _effects.call)(APIServices.getIdentityNote, payload);
case 6:
response = _context94.sent;
_context94.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context94.next = 16;
break;
case 11:
_context94.prev = 11;
_context94.t0 = _context94["catch"](1);
console.error(_context94.t0);
/* istanbul ignore next */
_context94.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context94.t0,
name: reducerName
});
case 16:
case "end":
return _context94.stop();
}
}, _marked94, null, [[1, 11]]);
}
function deleteIdentityNoteSagas(action) {
var _action$payload95, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteIdentityNoteSagas$(_context95) {
while (1) switch (_context95.prev = _context95.next) {
case 0:
_action$payload95 = action.payload, payload = _action$payload95 === void 0 ? {} : _action$payload95, reducerName = action.meta.reducerName;
_context95.prev = 1;
_context95.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context95.next = 6;
return (0, _effects.call)(APIServices.deleteIdentityNote, payload);
case 6:
response = _context95.sent;
_context95.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context95.next = 16;
break;
case 11:
_context95.prev = 11;
_context95.t0 = _context95["catch"](1);
console.error(_context95.t0);
/* istanbul ignore next */
_context95.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context95.t0,
name: reducerName
});
case 16:
case "end":
return _context95.stop();
}
}, _marked95, null, [[1, 11]]);
}
function putIdentityNoteImageSagas(action) {
var _action$payload96, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentityNoteImageSagas$(_context96) {
while (1) switch (_context96.prev = _context96.next) {
case 0:
_action$payload96 = action.payload, payload = _action$payload96 === void 0 ? {} : _action$payload96, reducerName = action.meta.reducerName;
_context96.prev = 1;
_context96.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context96.next = 6;
return (0, _effects.call)(APIServices.putIdentityNoteImage, payload);
case 6:
response = _context96.sent;
_context96.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context96.next = 16;
break;
case 11:
_context96.prev = 11;
_context96.t0 = _context96["catch"](1);
console.error(_context96.t0);
/* istanbul ignore next */
_context96.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context96.t0,
name: reducerName
});
case 16:
case "end":
return _context96.stop();
}
}, _marked96, null, [[1, 11]]);
}
function deleteIdentityNoteImageSagas(action) {
var _action$payload97, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteIdentityNoteImageSagas$(_context97) {
while (1) switch (_context97.prev = _context97.next) {
case 0:
_action$payload97 = action.payload, payload = _action$payload97 === void 0 ? {} : _action$payload97, reducerName = action.meta.reducerName;
_context97.prev = 1;
_context97.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context97.next = 6;
return (0, _effects.call)(APIServices.deleteIdentityNoteImage, payload);
case 6:
response = _context97.sent;
_context97.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context97.next = 16;
break;
case 11:
_context97.prev = 11;
_context97.t0 = _context97["catch"](1);
console.error(_context97.t0);
/* istanbul ignore next */
_context97.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context97.t0,
name: reducerName
});
case 16:
case "end":
return _context97.stop();
}
}, _marked97, null, [[1, 11]]);
}
function postIdentityOrganisationSagas(action) {
var _action$payload98, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postIdentityOrganisationSagas$(_context98) {
while (1) switch (_context98.prev = _context98.next) {
case 0:
_action$payload98 = action.payload, payload = _action$payload98 === void 0 ? {} : _action$payload98, reducerName = action.meta.reducerName;
_context98.prev = 1;
_context98.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context98.next = 6;
return (0, _effects.call)(APIServices.postIdentityOrganisation, payload);
case 6:
response = _context98.sent;
_context98.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context98.next = 16;
break;
case 11:
_context98.prev = 11;
_context98.t0 = _context98["catch"](1);
console.error(_context98.t0);
/* istanbul ignore next */
_context98.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context98.t0,
name: reducerName
});
case 16:
case "end":
return _context98.stop();
}
}, _marked98, null, [[1, 11]]);
}
function putIdentityOrganisationSagas(action) {
var _action$payload99, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentityOrganisationSagas$(_context99) {
while (1) switch (_context99.prev = _context99.next) {
case 0:
_action$payload99 = action.payload, payload = _action$payload99 === void 0 ? {} : _action$payload99, reducerName = action.meta.reducerName;
_context99.prev = 1;
_context99.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context99.next = 6;
return (0, _effects.call)(APIServices.putIdentityOrganisation, payload);
case 6:
response = _context99.sent;
_context99.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context99.next = 16;
break;
case 11:
_context99.prev = 11;
_context99.t0 = _context99["catch"](1);
console.error(_context99.t0);
/* istanbul ignore next */
_context99.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context99.t0,
name: reducerName
});
case 16:
case "end":
return _context99.stop();
}
}, _marked99, null, [[1, 11]]);
}
function getIdentityOrganisationSagas(action) {
var _action$payload100, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityOrganisationSagas$(_context100) {
while (1) switch (_context100.prev = _context100.next) {
case 0:
_action$payload100 = action.payload, payload = _action$payload100 === void 0 ? {} : _action$payload100, reducerName = action.meta.reducerName;
_context100.prev = 1;
_context100.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context100.next = 6;
return (0, _effects.call)(APIServices.getIdentityOrganisation, payload);
case 6:
response = _context100.sent;
_context100.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context100.next = 16;
break;
case 11:
_context100.prev = 11;
_context100.t0 = _context100["catch"](1);
console.error(_context100.t0);
/* istanbul ignore next */
_context100.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context100.t0,
name: reducerName
});
case 16:
case "end":
return _context100.stop();
}
}, _marked100, null, [[1, 11]]);
}
function deleteIdentityOrganisationSagas(action) {
var _action$payload101, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteIdentityOrganisationSagas$(_context101) {
while (1) switch (_context101.prev = _context101.next) {
case 0:
_action$payload101 = action.payload, payload = _action$payload101 === void 0 ? {} : _action$payload101, reducerName = action.meta.reducerName;
_context101.prev = 1;
_context101.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context101.next = 6;
return (0, _effects.call)(APIServices.deleteIdentityOrganisation, payload);
case 6:
response = _context101.sent;
_context101.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context101.next = 16;
break;
case 11:
_context101.prev = 11;
_context101.t0 = _context101["catch"](1);
console.error(_context101.t0);
/* istanbul ignore next */
_context101.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context101.t0,
name: reducerName
});
case 16:
case "end":
return _context101.stop();
}
}, _marked101, null, [[1, 11]]);
}
function postIdentityPersonSagas(action) {
var _action$payload102, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postIdentityPersonSagas$(_context102) {
while (1) switch (_context102.prev = _context102.next) {
case 0:
_action$payload102 = action.payload, payload = _action$payload102 === void 0 ? {} : _action$payload102, reducerName = action.meta.reducerName;
_context102.prev = 1;
_context102.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context102.next = 6;
return (0, _effects.call)(APIServices.postIdentityPerson, payload);
case 6:
response = _context102.sent;
_context102.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context102.next = 16;
break;
case 11:
_context102.prev = 11;
_context102.t0 = _context102["catch"](1);
console.error(_context102.t0);
/* istanbul ignore next */
_context102.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context102.t0,
name: reducerName
});
case 16:
case "end":
return _context102.stop();
}
}, _marked102, null, [[1, 11]]);
}
function putIdentityPersonSagas(action) {
var _action$payload103, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentityPersonSagas$(_context103) {
while (1) switch (_context103.prev = _context103.next) {
case 0:
_action$payload103 = action.payload, payload = _action$payload103 === void 0 ? {} : _action$payload103, reducerName = action.meta.reducerName;
_context103.prev = 1;
_context103.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context103.next = 6;
return (0, _effects.call)(APIServices.putIdentityPerson, payload);
case 6:
response = _context103.sent;
_context103.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context103.next = 16;
break;
case 11:
_context103.prev = 11;
_context103.t0 = _context103["catch"](1);
console.error(_context103.t0);
/* istanbul ignore next */
_context103.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context103.t0,
name: reducerName
});
case 16:
case "end":
return _context103.stop();
}
}, _marked103, null, [[1, 11]]);
}
function getIdentityPersonSagas(action) {
var _action$payload104, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityPersonSagas$(_context104) {
while (1) switch (_context104.prev = _context104.next) {
case 0:
_action$payload104 = action.payload, payload = _action$payload104 === void 0 ? {} : _action$payload104, reducerName = action.meta.reducerName;
_context104.prev = 1;
_context104.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context104.next = 6;
return (0, _effects.call)(APIServices.getIdentityPerson, payload);
case 6:
response = _context104.sent;
_context104.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context104.next = 16;
break;
case 11:
_context104.prev = 11;
_context104.t0 = _context104["catch"](1);
console.error(_context104.t0);
/* istanbul ignore next */
_context104.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context104.t0,
name: reducerName
});
case 16:
case "end":
return _context104.stop();
}
}, _marked104, null, [[1, 11]]);
}
function deleteIdentityPersonSagas(action) {
var _action$payload105, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteIdentityPersonSagas$(_context105) {
while (1) switch (_context105.prev = _context105.next) {
case 0:
_action$payload105 = action.payload, payload = _action$payload105 === void 0 ? {} : _action$payload105, reducerName = action.meta.reducerName;
_context105.prev = 1;
_context105.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context105.next = 6;
return (0, _effects.call)(APIServices.deleteIdentityPerson, payload);
case 6:
response = _context105.sent;
_context105.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context105.next = 16;
break;
case 11:
_context105.prev = 11;
_context105.t0 = _context105["catch"](1);
console.error(_context105.t0);
/* istanbul ignore next */
_context105.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context105.t0,
name: reducerName
});
case 16:
case "end":
return _context105.stop();
}
}, _marked105, null, [[1, 11]]);
}
function getIdentityReferenceSagas(action) {
var _action$payload106, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityReferenceSagas$(_context106) {
while (1) switch (_context106.prev = _context106.next) {
case 0:
_action$payload106 = action.payload, payload = _action$payload106 === void 0 ? {} : _action$payload106, reducerName = action.meta.reducerName;
_context106.prev = 1;
_context106.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context106.next = 6;
return (0, _effects.call)(APIServices.getIdentityReference, payload);
case 6:
response = _context106.sent;
_context106.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context106.next = 16;
break;
case 11:
_context106.prev = 11;
_context106.t0 = _context106["catch"](1);
console.error(_context106.t0);
/* istanbul ignore next */
_context106.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context106.t0,
name: reducerName
});
case 16:
case "end":
return _context106.stop();
}
}, _marked106, null, [[1, 11]]);
}
function postIdentityReferenceSagas(action) {
var _action$payload107, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postIdentityReferenceSagas$(_context107) {
while (1) switch (_context107.prev = _context107.next) {
case 0:
_action$payload107 = action.payload, payload = _action$payload107 === void 0 ? {} : _action$payload107, reducerName = action.meta.reducerName;
_context107.prev = 1;
_context107.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context107.next = 6;
return (0, _effects.call)(APIServices.postIdentityReference, payload);
case 6:
response = _context107.sent;
_context107.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context107.next = 16;
break;
case 11:
_context107.prev = 11;
_context107.t0 = _context107["catch"](1);
console.error(_context107.t0);
/* istanbul ignore next */
_context107.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context107.t0,
name: reducerName
});
case 16:
case "end":
return _context107.stop();
}
}, _marked107, null, [[1, 11]]);
}
function putIdentityReferenceSagas(action) {
var _action$payload108, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentityReferenceSagas$(_context108) {
while (1) switch (_context108.prev = _context108.next) {
case 0:
_action$payload108 = action.payload, payload = _action$payload108 === void 0 ? {} : _action$payload108, reducerName = action.meta.reducerName;
_context108.prev = 1;
_context108.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context108.next = 6;
return (0, _effects.call)(APIServices.putIdentityReference, payload);
case 6:
response = _context108.sent;
_context108.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context108.next = 16;
break;
case 11:
_context108.prev = 11;
_context108.t0 = _context108["catch"](1);
console.error(_context108.t0);
/* istanbul ignore next */
_context108.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context108.t0,
name: reducerName
});
case 16:
case "end":
return _context108.stop();
}
}, _marked108, null, [[1, 11]]);
}
function deleteIdentityReferenceSagas(action) {
var _action$payload109, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteIdentityReferenceSagas$(_context109) {
while (1) switch (_context109.prev = _context109.next) {
case 0:
_action$payload109 = action.payload, payload = _action$payload109 === void 0 ? {} : _action$payload109, reducerName = action.meta.reducerName;
_context109.prev = 1;
_context109.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context109.next = 6;
return (0, _effects.call)(APIServices.deleteIdentityReference, payload);
case 6:
response = _context109.sent;
_context109.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context109.next = 16;
break;
case 11:
_context109.prev = 11;
_context109.t0 = _context109["catch"](1);
console.error(_context109.t0);
/* istanbul ignore next */
_context109.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context109.t0,
name: reducerName
});
case 16:
case "end":
return _context109.stop();
}
}, _marked109, null, [[1, 11]]);
}
function getIdentityRelationshipSagas(action) {
var _action$payload110, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityRelationshipSagas$(_context110) {
while (1) switch (_context110.prev = _context110.next) {
case 0:
_action$payload110 = action.payload, payload = _action$payload110 === void 0 ? {} : _action$payload110, reducerName = action.meta.reducerName;
_context110.prev = 1;
_context110.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context110.next = 6;
return (0, _effects.call)(APIServices.getIdentityRelationship, payload);
case 6:
response = _context110.sent;
_context110.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context110.next = 16;
break;
case 11:
_context110.prev = 11;
_context110.t0 = _context110["catch"](1);
console.error(_context110.t0);
/* istanbul ignore next */
_context110.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context110.t0,
name: reducerName
});
case 16:
case "end":
return _context110.stop();
}
}, _marked110, null, [[1, 11]]);
}
function postIdentityRelationshipSagas(action) {
var _action$payload111, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postIdentityRelationshipSagas$(_context111) {
while (1) switch (_context111.prev = _context111.next) {
case 0:
_action$payload111 = action.payload, payload = _action$payload111 === void 0 ? {} : _action$payload111, reducerName = action.meta.reducerName;
_context111.prev = 1;
_context111.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context111.next = 6;
return (0, _effects.call)(APIServices.postIdentityRelationship, payload);
case 6:
response = _context111.sent;
_context111.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context111.next = 16;
break;
case 11:
_context111.prev = 11;
_context111.t0 = _context111["catch"](1);
console.error(_context111.t0);
/* istanbul ignore next */
_context111.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context111.t0,
name: reducerName
});
case 16:
case "end":
return _context111.stop();
}
}, _marked111, null, [[1, 11]]);
}
function putIdentityRelationshipSagas(action) {
var _action$payload112, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentityRelationshipSagas$(_context112) {
while (1) switch (_context112.prev = _context112.next) {
case 0:
_action$payload112 = action.payload, payload = _action$payload112 === void 0 ? {} : _action$payload112, reducerName = action.meta.reducerName;
_context112.prev = 1;
_context112.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context112.next = 6;
return (0, _effects.call)(APIServices.putIdentityRelationship, payload);
case 6:
response = _context112.sent;
_context112.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context112.next = 16;
break;
case 11:
_context112.prev = 11;
_context112.t0 = _context112["catch"](1);
console.error(_context112.t0);
/* istanbul ignore next */
_context112.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context112.t0,
name: reducerName
});
case 16:
case "end":
return _context112.stop();
}
}, _marked112, null, [[1, 11]]);
}
function deleteIdentityRelationshipSagas(action) {
var _action$payload113, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteIdentityRelationshipSagas$(_context113) {
while (1) switch (_context113.prev = _context113.next) {
case 0:
_action$payload113 = action.payload, payload = _action$payload113 === void 0 ? {} : _action$payload113, reducerName = action.meta.reducerName;
_context113.prev = 1;
_context113.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context113.next = 6;
return (0, _effects.call)(APIServices.deleteIdentityRelationship, payload);
case 6:
response = _context113.sent;
_context113.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context113.next = 16;
break;
case 11:
_context113.prev = 11;
_context113.t0 = _context113["catch"](1);
console.error(_context113.t0);
/* istanbul ignore next */
_context113.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context113.t0,
name: reducerName
});
case 16:
case "end":
return _context113.stop();
}
}, _marked113, null, [[1, 11]]);
}
function getIdentityRelationshipTypeSagas(action) {
var _action$payload114, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityRelationshipTypeSagas$(_context114) {
while (1) switch (_context114.prev = _context114.next) {
case 0:
_action$payload114 = action.payload, payload = _action$payload114 === void 0 ? {} : _action$payload114, reducerName = action.meta.reducerName;
_context114.prev = 1;
_context114.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context114.next = 6;
return (0, _effects.call)(APIServices.getIdentityRelationshipType, payload);
case 6:
response = _context114.sent;
_context114.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context114.next = 16;
break;
case 11:
_context114.prev = 11;
_context114.t0 = _context114["catch"](1);
console.error(_context114.t0);
/* istanbul ignore next */
_context114.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context114.t0,
name: reducerName
});
case 16:
case "end":
return _context114.stop();
}
}, _marked114, null, [[1, 11]]);
}
function postDependentIdentityRelationshipBulkSagas(action) {
var _action$payload115, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postDependentIdentityRelationshipBulkSagas$(_context115) {
while (1) switch (_context115.prev = _context115.next) {
case 0:
_action$payload115 = action.payload, payload = _action$payload115 === void 0 ? {} : _action$payload115, reducerName = action.meta.reducerName;
_context115.prev = 1;
_context115.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context115.next = 6;
return (0, _effects.call)(APIServices.postDependentIdentityRelationshipBulk, payload);
case 6:
response = _context115.sent;
_context115.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context115.next = 16;
break;
case 11:
_context115.prev = 11;
_context115.t0 = _context115["catch"](1);
console.error(_context115.t0);
/* istanbul ignore next */
_context115.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context115.t0,
name: reducerName
});
case 16:
case "end":
return _context115.stop();
}
}, _marked115, null, [[1, 11]]);
}
function postIdentityRoleSagas(action) {
var _action$payload116, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postIdentityRoleSagas$(_context116) {
while (1) switch (_context116.prev = _context116.next) {
case 0:
_action$payload116 = action.payload, payload = _action$payload116 === void 0 ? {} : _action$payload116, reducerName = action.meta.reducerName;
_context116.prev = 1;
_context116.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context116.next = 6;
return (0, _effects.call)(APIServices.postIdentityRole, payload);
case 6:
response = _context116.sent;
_context116.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context116.next = 16;
break;
case 11:
_context116.prev = 11;
_context116.t0 = _context116["catch"](1);
console.error(_context116.t0);
/* istanbul ignore next */
_context116.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context116.t0,
name: reducerName
});
case 16:
case "end":
return _context116.stop();
}
}, _marked116, null, [[1, 11]]);
}
function putIdentityRoleSagas(action) {
var _action$payload117, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentityRoleSagas$(_context117) {
while (1) switch (_context117.prev = _context117.next) {
case 0:
_action$payload117 = action.payload, payload = _action$payload117 === void 0 ? {} : _action$payload117, reducerName = action.meta.reducerName;
_context117.prev = 1;
_context117.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context117.next = 6;
return (0, _effects.call)(APIServices.putIdentityRole, payload);
case 6:
response = _context117.sent;
_context117.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context117.next = 16;
break;
case 11:
_context117.prev = 11;
_context117.t0 = _context117["catch"](1);
console.error(_context117.t0);
/* istanbul ignore next */
_context117.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context117.t0,
name: reducerName
});
case 16:
case "end":
return _context117.stop();
}
}, _marked117, null, [[1, 11]]);
}
function getIdentityRoleSagas(action) {
var _action$payload118, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityRoleSagas$(_context118) {
while (1) switch (_context118.prev = _context118.next) {
case 0:
_action$payload118 = action.payload, payload = _action$payload118 === void 0 ? {} : _action$payload118, reducerName = action.meta.reducerName;
_context118.prev = 1;
_context118.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context118.next = 6;
return (0, _effects.call)(APIServices.getIdentityRole, payload);
case 6:
response = _context118.sent;
_context118.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context118.next = 16;
break;
case 11:
_context118.prev = 11;
_context118.t0 = _context118["catch"](1);
console.error(_context118.t0);
/* istanbul ignore next */
_context118.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context118.t0,
name: reducerName
});
case 16:
case "end":
return _context118.stop();
}
}, _marked118, null, [[1, 11]]);
}
function deleteIdentityRoleSagas(action) {
var _action$payload119, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteIdentityRoleSagas$(_context119) {
while (1) switch (_context119.prev = _context119.next) {
case 0:
_action$payload119 = action.payload, payload = _action$payload119 === void 0 ? {} : _action$payload119, reducerName = action.meta.reducerName;
_context119.prev = 1;
_context119.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context119.next = 6;
return (0, _effects.call)(APIServices.deleteIdentityRole, payload);
case 6:
response = _context119.sent;
_context119.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context119.next = 16;
break;
case 11:
_context119.prev = 11;
_context119.t0 = _context119["catch"](1);
console.error(_context119.t0);
/* istanbul ignore next */
_context119.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context119.t0,
name: reducerName
});
case 16:
case "end":
return _context119.stop();
}
}, _marked119, null, [[1, 11]]);
}
function getIdentityServiceProviderSagas(action) {
var _action$payload120, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityServiceProviderSagas$(_context120) {
while (1) switch (_context120.prev = _context120.next) {
case 0:
_action$payload120 = action.payload, payload = _action$payload120 === void 0 ? {} : _action$payload120, reducerName = action.meta.reducerName;
_context120.prev = 1;
_context120.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context120.next = 6;
return (0, _effects.call)(APIServices.getIdentityServiceProvider, payload);
case 6:
response = _context120.sent;
_context120.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context120.next = 16;
break;
case 11:
_context120.prev = 11;
_context120.t0 = _context120["catch"](1);
console.error(_context120.t0);
/* istanbul ignore next */
_context120.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context120.t0,
name: reducerName
});
case 16:
case "end":
return _context120.stop();
}
}, _marked120, null, [[1, 11]]);
}
function postIdentityServiceProviderSagas(action) {
var _action$payload121, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postIdentityServiceProviderSagas$(_context121) {
while (1) switch (_context121.prev = _context121.next) {
case 0:
_action$payload121 = action.payload, payload = _action$payload121 === void 0 ? {} : _action$payload121, reducerName = action.meta.reducerName;
_context121.prev = 1;
_context121.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context121.next = 6;
return (0, _effects.call)(APIServices.postIdentityServiceProvider, payload);
case 6:
response = _context121.sent;
_context121.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context121.next = 16;
break;
case 11:
_context121.prev = 11;
_context121.t0 = _context121["catch"](1);
console.error(_context121.t0);
/* istanbul ignore next */
_context121.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context121.t0,
name: reducerName
});
case 16:
case "end":
return _context121.stop();
}
}, _marked121, null, [[1, 11]]);
}
function putIdentityServiceProviderSagas(action) {
var _action$payload122, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentityServiceProviderSagas$(_context122) {
while (1) switch (_context122.prev = _context122.next) {
case 0:
_action$payload122 = action.payload, payload = _action$payload122 === void 0 ? {} : _action$payload122, reducerName = action.meta.reducerName;
_context122.prev = 1;
_context122.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context122.next = 6;
return (0, _effects.call)(APIServices.putIdentityServiceProvider, payload);
case 6:
response = _context122.sent;
_context122.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context122.next = 16;
break;
case 11:
_context122.prev = 11;
_context122.t0 = _context122["catch"](1);
console.error(_context122.t0);
/* istanbul ignore next */
_context122.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context122.t0,
name: reducerName
});
case 16:
case "end":
return _context122.stop();
}
}, _marked122, null, [[1, 11]]);
}
function deleteIdentityServiceProviderSagas(action) {
var _action$payload123, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteIdentityServiceProviderSagas$(_context123) {
while (1) switch (_context123.prev = _context123.next) {
case 0:
_action$payload123 = action.payload, payload = _action$payload123 === void 0 ? {} : _action$payload123, reducerName = action.meta.reducerName;
_context123.prev = 1;
_context123.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context123.next = 6;
return (0, _effects.call)(APIServices.deleteIdentityServiceProvider, payload);
case 6:
response = _context123.sent;
_context123.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context123.next = 16;
break;
case 11:
_context123.prev = 11;
_context123.t0 = _context123["catch"](1);
console.error(_context123.t0);
/* istanbul ignore next */
_context123.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context123.t0,
name: reducerName
});
case 16:
case "end":
return _context123.stop();
}
}, _marked123, null, [[1, 11]]);
}
function getGetServiceProviderActivityMappingsSagas(action) {
var _action$payload124, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getGetServiceProviderActivityMappingsSagas$(_context124) {
while (1) switch (_context124.prev = _context124.next) {
case 0:
_action$payload124 = action.payload, payload = _action$payload124 === void 0 ? {} : _action$payload124, reducerName = action.meta.reducerName;
_context124.prev = 1;
_context124.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context124.next = 6;
return (0, _effects.call)(APIServices.getGetServiceProviderActivityMappings, payload);
case 6:
response = _context124.sent;
_context124.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context124.next = 16;
break;
case 11:
_context124.prev = 11;
_context124.t0 = _context124["catch"](1);
console.error(_context124.t0);
/* istanbul ignore next */
_context124.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context124.t0,
name: reducerName
});
case 16:
case "end":
return _context124.stop();
}
}, _marked124, null, [[1, 11]]);
}
function putUpdateServiceProviderActivityMappingsSagas(action) {
var _action$payload125, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putUpdateServiceProviderActivityMappingsSagas$(_context125) {
while (1) switch (_context125.prev = _context125.next) {
case 0:
_action$payload125 = action.payload, payload = _action$payload125 === void 0 ? {} : _action$payload125, reducerName = action.meta.reducerName;
_context125.prev = 1;
_context125.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context125.next = 6;
return (0, _effects.call)(APIServices.putUpdateServiceProviderActivityMappings, payload);
case 6:
response = _context125.sent;
_context125.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context125.next = 16;
break;
case 11:
_context125.prev = 11;
_context125.t0 = _context125["catch"](1);
console.error(_context125.t0);
/* istanbul ignore next */
_context125.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context125.t0,
name: reducerName
});
case 16:
case "end":
return _context125.stop();
}
}, _marked125, null, [[1, 11]]);
}
function getIdentitySupplyContractSagas(action) {
var _action$payload126, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentitySupplyContractSagas$(_context126) {
while (1) switch (_context126.prev = _context126.next) {
case 0:
_action$payload126 = action.payload, payload = _action$payload126 === void 0 ? {} : _action$payload126, reducerName = action.meta.reducerName;
_context126.prev = 1;
_context126.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context126.next = 6;
return (0, _effects.call)(APIServices.getIdentitySupplyContract, payload);
case 6:
response = _context126.sent;
_context126.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context126.next = 16;
break;
case 11:
_context126.prev = 11;
_context126.t0 = _context126["catch"](1);
console.error(_context126.t0);
/* istanbul ignore next */
_context126.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context126.t0,
name: reducerName
});
case 16:
case "end":
return _context126.stop();
}
}, _marked126, null, [[1, 11]]);
}
function postIdentitySupplyContractSagas(action) {
var _action$payload127, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postIdentitySupplyContractSagas$(_context127) {
while (1) switch (_context127.prev = _context127.next) {
case 0:
_action$payload127 = action.payload, payload = _action$payload127 === void 0 ? {} : _action$payload127, reducerName = action.meta.reducerName;
_context127.prev = 1;
_context127.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context127.next = 6;
return (0, _effects.call)(APIServices.postIdentitySupplyContract, payload);
case 6:
response = _context127.sent;
_context127.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context127.next = 16;
break;
case 11:
_context127.prev = 11;
_context127.t0 = _context127["catch"](1);
console.error(_context127.t0);
/* istanbul ignore next */
_context127.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context127.t0,
name: reducerName
});
case 16:
case "end":
return _context127.stop();
}
}, _marked127, null, [[1, 11]]);
}
function putIdentitySupplyContractSagas(action) {
var _action$payload128, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentitySupplyContractSagas$(_context128) {
while (1) switch (_context128.prev = _context128.next) {
case 0:
_action$payload128 = action.payload, payload = _action$payload128 === void 0 ? {} : _action$payload128, reducerName = action.meta.reducerName;
_context128.prev = 1;
_context128.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context128.next = 6;
return (0, _effects.call)(APIServices.putIdentitySupplyContract, payload);
case 6:
response = _context128.sent;
_context128.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context128.next = 16;
break;
case 11:
_context128.prev = 11;
_context128.t0 = _context128["catch"](1);
console.error(_context128.t0);
/* istanbul ignore next */
_context128.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context128.t0,
name: reducerName
});
case 16:
case "end":
return _context128.stop();
}
}, _marked128, null, [[1, 11]]);
}
function deleteIdentitySupplyContractSagas(action) {
var _action$payload129, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteIdentitySupplyContractSagas$(_context129) {
while (1) switch (_context129.prev = _context129.next) {
case 0:
_action$payload129 = action.payload, payload = _action$payload129 === void 0 ? {} : _action$payload129, reducerName = action.meta.reducerName;
_context129.prev = 1;
_context129.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context129.next = 6;
return (0, _effects.call)(APIServices.deleteIdentitySupplyContract, payload);
case 6:
response = _context129.sent;
_context129.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context129.next = 16;
break;
case 11:
_context129.prev = 11;
_context129.t0 = _context129["catch"](1);
console.error(_context129.t0);
/* istanbul ignore next */
_context129.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context129.t0,
name: reducerName
});
case 16:
case "end":
return _context129.stop();
}
}, _marked129, null, [[1, 11]]);
}
function putIdentityUserPersonSagas(action) {
var _action$payload130, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentityUserPersonSagas$(_context130) {
while (1) switch (_context130.prev = _context130.next) {
case 0:
_action$payload130 = action.payload, payload = _action$payload130 === void 0 ? {} : _action$payload130, reducerName = action.meta.reducerName;
_context130.prev = 1;
_context130.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context130.next = 6;
return (0, _effects.call)(APIServices.putIdentityUserPerson, payload);
case 6:
response = _context130.sent;
_context130.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context130.next = 16;
break;
case 11:
_context130.prev = 11;
_context130.t0 = _context130["catch"](1);
console.error(_context130.t0);
/* istanbul ignore next */
_context130.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context130.t0,
name: reducerName
});
case 16:
case "end":
return _context130.stop();
}
}, _marked130, null, [[1, 11]]);
}
function getIdentityUserPersonSagas(action) {
var _action$payload131, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityUserPersonSagas$(_context131) {
while (1) switch (_context131.prev = _context131.next) {
case 0:
_action$payload131 = action.payload, payload = _action$payload131 === void 0 ? {} : _action$payload131, reducerName = action.meta.reducerName;
_context131.prev = 1;
_context131.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context131.next = 6;
return (0, _effects.call)(APIServices.getIdentityUserPerson, payload);
case 6:
response = _context131.sent;
_context131.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context131.next = 16;
break;
case 11:
_context131.prev = 11;
_context131.t0 = _context131["catch"](1);
console.error(_context131.t0);
/* istanbul ignore next */
_context131.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context131.t0,
name: reducerName
});
case 16:
case "end":
return _context131.stop();
}
}, _marked131, null, [[1, 11]]);
}
function postIdentityVehicleSagas(action) {
var _action$payload132, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postIdentityVehicleSagas$(_context132) {
while (1) switch (_context132.prev = _context132.next) {
case 0:
_action$payload132 = action.payload, payload = _action$payload132 === void 0 ? {} : _action$payload132, reducerName = action.meta.reducerName;
_context132.prev = 1;
_context132.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context132.next = 6;
return (0, _effects.call)(APIServices.postIdentityVehicle, payload);
case 6:
response = _context132.sent;
_context132.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context132.next = 16;
break;
case 11:
_context132.prev = 11;
_context132.t0 = _context132["catch"](1);
console.error(_context132.t0);
/* istanbul ignore next */
_context132.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context132.t0,
name: reducerName
});
case 16:
case "end":
return _context132.stop();
}
}, _marked132, null, [[1, 11]]);
}
function putIdentityVehicleSagas(action) {
var _action$payload133, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentityVehicleSagas$(_context133) {
while (1) switch (_context133.prev = _context133.next) {
case 0:
_action$payload133 = action.payload, payload = _action$payload133 === void 0 ? {} : _action$payload133, reducerName = action.meta.reducerName;
_context133.prev = 1;
_context133.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context133.next = 6;
return (0, _effects.call)(APIServices.putIdentityVehicle, payload);
case 6:
response = _context133.sent;
_context133.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context133.next = 16;
break;
case 11:
_context133.prev = 11;
_context133.t0 = _context133["catch"](1);
console.error(_context133.t0);
/* istanbul ignore next */
_context133.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context133.t0,
name: reducerName
});
case 16:
case "end":
return _context133.stop();
}
}, _marked133, null, [[1, 11]]);
}
function getIdentityVehicleSagas(action) {
var _action$payload134, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityVehicleSagas$(_context134) {
while (1) switch (_context134.prev = _context134.next) {
case 0:
_action$payload134 = action.payload, payload = _action$payload134 === void 0 ? {} : _action$payload134, reducerName = action.meta.reducerName;
_context134.prev = 1;
_context134.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context134.next = 6;
return (0, _effects.call)(APIServices.getIdentityVehicle, payload);
case 6:
response = _context134.sent;
_context134.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context134.next = 16;
break;
case 11:
_context134.prev = 11;
_context134.t0 = _context134["catch"](1);
console.error(_context134.t0);
/* istanbul ignore next */
_context134.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context134.t0,
name: reducerName
});
case 16:
case "end":
return _context134.stop();
}
}, _marked134, null, [[1, 11]]);
}
function deleteIdentityVehicleSagas(action) {
var _action$payload135, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteIdentityVehicleSagas$(_context135) {
while (1) switch (_context135.prev = _context135.next) {
case 0:
_action$payload135 = action.payload, payload = _action$payload135 === void 0 ? {} : _action$payload135, reducerName = action.meta.reducerName;
_context135.prev = 1;
_context135.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context135.next = 6;
return (0, _effects.call)(APIServices.deleteIdentityVehicle, payload);
case 6:
response = _context135.sent;
_context135.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context135.next = 16;
break;
case 11:
_context135.prev = 11;
_context135.t0 = _context135["catch"](1);
console.error(_context135.t0);
/* istanbul ignore next */
_context135.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context135.t0,
name: reducerName
});
case 16:
case "end":
return _context135.stop();
}
}, _marked135, null, [[1, 11]]);
}
function getGridVineyardBlocksSagas(action) {
var _action$payload136, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getGridVineyardBlocksSagas$(_context136) {
while (1) switch (_context136.prev = _context136.next) {
case 0:
_action$payload136 = action.payload, payload = _action$payload136 === void 0 ? {} : _action$payload136, reducerName = action.meta.reducerName;
_context136.prev = 1;
_context136.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context136.next = 6;
return (0, _effects.call)(APIServices.getGridVineyardBlocks, payload);
case 6:
response = _context136.sent;
_context136.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context136.next = 16;
break;
case 11:
_context136.prev = 11;
_context136.t0 = _context136["catch"](1);
console.error(_context136.t0);
/* istanbul ignore next */
_context136.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context136.t0,
name: reducerName
});
case 16:
case "end":
return _context136.stop();
}
}, _marked136, null, [[1, 11]]);
}
function getIdentityVineyardBlocksSagas(action) {
var _action$payload137, payload, reducerName, response, IdentityVineyardBlocksSchema, IdentityVineyardBlocksListSchema, _normalize3, byId, allIds;
return _regeneratorRuntime().wrap(function getIdentityVineyardBlocksSagas$(_context137) {
while (1) switch (_context137.prev = _context137.next) {
case 0:
_action$payload137 = action.payload, payload = _action$payload137 === void 0 ? {} : _action$payload137, reducerName = action.meta.reducerName;
_context137.prev = 1;
_context137.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context137.next = 6;
return (0, _effects.call)(APIServices.getIdentityVineyardBlocks, payload);
case 6:
response = _context137.sent;
_context137.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
IdentityVineyardBlocksSchema = new _normalizr.schema.Entity("byId");
IdentityVineyardBlocksListSchema = new _normalizr.schema.Array(IdentityVineyardBlocksSchema);
_normalize3 = (0, _normalizr.normalize)(response, IdentityVineyardBlocksListSchema), byId = _normalize3.entities.byId, allIds = _normalize3.result;
_context137.next = 14;
return (0, _effects.put)({
type: "MERGE_ALL_IDS",
payload: {
byId: byId,
allIds: allIds
},
name: reducerName
});
case 14:
_context137.next = 21;
break;
case 16:
_context137.prev = 16;
_context137.t0 = _context137["catch"](1);
console.error(_context137.t0);
/* istanbul ignore next */
_context137.next = 21;
return (0, _effects.put)({
type: "ERROR",
payload: _context137.t0,
name: reducerName
});
case 21:
case "end":
return _context137.stop();
}
}, _marked137, null, [[1, 16]]);
}
function postIdentityVineyardBlockSagas(action) {
var _action$payload138, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postIdentityVineyardBlockSagas$(_context138) {
while (1) switch (_context138.prev = _context138.next) {
case 0:
_action$payload138 = action.payload, payload = _action$payload138 === void 0 ? {} : _action$payload138, reducerName = action.meta.reducerName;
_context138.prev = 1;
_context138.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context138.next = 6;
return (0, _effects.call)(APIServices.postIdentityVineyardBlock, payload);
case 6:
response = _context138.sent;
_context138.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context138.next = 16;
break;
case 11:
_context138.prev = 11;
_context138.t0 = _context138["catch"](1);
console.error(_context138.t0);
/* istanbul ignore next */
_context138.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context138.t0,
name: reducerName
});
case 16:
case "end":
return _context138.stop();
}
}, _marked138, null, [[1, 11]]);
}
function putIdentityVineyardBlockSagas(action) {
var _action$payload139, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentityVineyardBlockSagas$(_context139) {
while (1) switch (_context139.prev = _context139.next) {
case 0:
_action$payload139 = action.payload, payload = _action$payload139 === void 0 ? {} : _action$payload139, reducerName = action.meta.reducerName;
_context139.prev = 1;
_context139.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context139.next = 6;
return (0, _effects.call)(APIServices.putIdentityVineyardBlock, payload);
case 6:
response = _context139.sent;
_context139.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context139.next = 16;
break;
case 11:
_context139.prev = 11;
_context139.t0 = _context139["catch"](1);
console.error(_context139.t0);
/* istanbul ignore next */
_context139.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context139.t0,
name: reducerName
});
case 16:
case "end":
return _context139.stop();
}
}, _marked139, null, [[1, 11]]);
}
function deleteIdentityVineyardBlockSagas(action) {
var _action$payload140, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteIdentityVineyardBlockSagas$(_context140) {
while (1) switch (_context140.prev = _context140.next) {
case 0:
_action$payload140 = action.payload, payload = _action$payload140 === void 0 ? {} : _action$payload140, reducerName = action.meta.reducerName;
_context140.prev = 1;
_context140.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context140.next = 6;
return (0, _effects.call)(APIServices.deleteIdentityVineyardBlock, payload);
case 6:
response = _context140.sent;
_context140.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context140.next = 16;
break;
case 11:
_context140.prev = 11;
_context140.t0 = _context140["catch"](1);
console.error(_context140.t0);
/* istanbul ignore next */
_context140.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context140.t0,
name: reducerName
});
case 16:
case "end":
return _context140.stop();
}
}, _marked140, null, [[1, 11]]);
}
function getVineyardBlockCropMeasurementsSagas(action) {
var _action$payload141, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getVineyardBlockCropMeasurementsSagas$(_context141) {
while (1) switch (_context141.prev = _context141.next) {
case 0:
_action$payload141 = action.payload, payload = _action$payload141 === void 0 ? {} : _action$payload141, reducerName = action.meta.reducerName;
_context141.prev = 1;
_context141.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context141.next = 6;
return (0, _effects.call)(APIServices.getVineyardBlockCropMeasurements, payload);
case 6:
response = _context141.sent;
_context141.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context141.next = 16;
break;
case 11:
_context141.prev = 11;
_context141.t0 = _context141["catch"](1);
console.error(_context141.t0);
/* istanbul ignore next */
_context141.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context141.t0,
name: reducerName
});
case 16:
case "end":
return _context141.stop();
}
}, _marked141, null, [[1, 11]]);
}
function getAdHocBlockVintageAllocationSagas(action) {
var _action$payload142, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getAdHocBlockVintageAllocationSagas$(_context142) {
while (1) switch (_context142.prev = _context142.next) {
case 0:
_action$payload142 = action.payload, payload = _action$payload142 === void 0 ? {} : _action$payload142, reducerName = action.meta.reducerName;
_context142.prev = 1;
_context142.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context142.next = 6;
return (0, _effects.call)(APIServices.getAdHocBlockVintageAllocation, payload);
case 6:
response = _context142.sent;
_context142.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context142.next = 16;
break;
case 11:
_context142.prev = 11;
_context142.t0 = _context142["catch"](1);
console.error(_context142.t0);
/* istanbul ignore next */
_context142.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context142.t0,
name: reducerName
});
case 16:
case "end":
return _context142.stop();
}
}, _marked142, null, [[1, 11]]);
}
function putAdHocBlockVintageAllocationSagas(action) {
var _action$payload143, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putAdHocBlockVintageAllocationSagas$(_context143) {
while (1) switch (_context143.prev = _context143.next) {
case 0:
_action$payload143 = action.payload, payload = _action$payload143 === void 0 ? {} : _action$payload143, reducerName = action.meta.reducerName;
_context143.prev = 1;
_context143.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context143.next = 6;
return (0, _effects.call)(APIServices.putAdHocBlockVintageAllocation, payload);
case 6:
response = _context143.sent;
_context143.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context143.next = 16;
break;
case 11:
_context143.prev = 11;
_context143.t0 = _context143["catch"](1);
console.error(_context143.t0);
/* istanbul ignore next */
_context143.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context143.t0,
name: reducerName
});
case 16:
case "end":
return _context143.stop();
}
}, _marked143, null, [[1, 11]]);
}
function getIdentityVineyardBlockRowsSagas(action) {
var _action$payload144, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityVineyardBlockRowsSagas$(_context144) {
while (1) switch (_context144.prev = _context144.next) {
case 0:
_action$payload144 = action.payload, payload = _action$payload144 === void 0 ? {} : _action$payload144, reducerName = action.meta.reducerName;
_context144.prev = 1;
_context144.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context144.next = 6;
return (0, _effects.call)(APIServices.getIdentityVineyardBlockRows, payload);
case 6:
response = _context144.sent;
_context144.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context144.next = 16;
break;
case 11:
_context144.prev = 11;
_context144.t0 = _context144["catch"](1);
console.error(_context144.t0);
/* istanbul ignore next */
_context144.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context144.t0,
name: reducerName
});
case 16:
case "end":
return _context144.stop();
}
}, _marked144, null, [[1, 11]]);
}
function postIdentityVineyardBlockRowSagas(action) {
var _action$payload145, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postIdentityVineyardBlockRowSagas$(_context145) {
while (1) switch (_context145.prev = _context145.next) {
case 0:
_action$payload145 = action.payload, payload = _action$payload145 === void 0 ? {} : _action$payload145, reducerName = action.meta.reducerName;
_context145.prev = 1;
_context145.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context145.next = 6;
return (0, _effects.call)(APIServices.postIdentityVineyardBlockRow, payload);
case 6:
response = _context145.sent;
_context145.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context145.next = 16;
break;
case 11:
_context145.prev = 11;
_context145.t0 = _context145["catch"](1);
console.error(_context145.t0);
/* istanbul ignore next */
_context145.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context145.t0,
name: reducerName
});
case 16:
case "end":
return _context145.stop();
}
}, _marked145, null, [[1, 11]]);
}
function putIdentityVineyardBlockRowSagas(action) {
var _action$payload146, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentityVineyardBlockRowSagas$(_context146) {
while (1) switch (_context146.prev = _context146.next) {
case 0:
_action$payload146 = action.payload, payload = _action$payload146 === void 0 ? {} : _action$payload146, reducerName = action.meta.reducerName;
_context146.prev = 1;
_context146.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context146.next = 6;
return (0, _effects.call)(APIServices.putIdentityVineyardBlockRow, payload);
case 6:
response = _context146.sent;
_context146.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context146.next = 16;
break;
case 11:
_context146.prev = 11;
_context146.t0 = _context146["catch"](1);
console.error(_context146.t0);
/* istanbul ignore next */
_context146.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context146.t0,
name: reducerName
});
case 16:
case "end":
return _context146.stop();
}
}, _marked146, null, [[1, 11]]);
}
function deleteIdentityVineyardBlockRowSagas(action) {
var _action$payload147, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteIdentityVineyardBlockRowSagas$(_context147) {
while (1) switch (_context147.prev = _context147.next) {
case 0:
_action$payload147 = action.payload, payload = _action$payload147 === void 0 ? {} : _action$payload147, reducerName = action.meta.reducerName;
_context147.prev = 1;
_context147.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context147.next = 6;
return (0, _effects.call)(APIServices.deleteIdentityVineyardBlockRow, payload);
case 6:
response = _context147.sent;
_context147.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context147.next = 16;
break;
case 11:
_context147.prev = 11;
_context147.t0 = _context147["catch"](1);
console.error(_context147.t0);
/* istanbul ignore next */
_context147.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context147.t0,
name: reducerName
});
case 16:
case "end":
return _context147.stop();
}
}, _marked147, null, [[1, 11]]);
}
function getImportTypeFiltersSagas(action) {
var _action$payload148, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getImportTypeFiltersSagas$(_context148) {
while (1) switch (_context148.prev = _context148.next) {
case 0:
_action$payload148 = action.payload, payload = _action$payload148 === void 0 ? {} : _action$payload148, reducerName = action.meta.reducerName;
_context148.prev = 1;
_context148.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context148.next = 6;
return (0, _effects.call)(APIServices.getImportTypeFilters, payload);
case 6:
response = _context148.sent;
_context148.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context148.next = 16;
break;
case 11:
_context148.prev = 11;
_context148.t0 = _context148["catch"](1);
console.error(_context148.t0);
/* istanbul ignore next */
_context148.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context148.t0,
name: reducerName
});
case 16:
case "end":
return _context148.stop();
}
}, _marked148, null, [[1, 11]]);
}
function postImportSheetsSagas(action) {
var _action$payload149, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postImportSheetsSagas$(_context149) {
while (1) switch (_context149.prev = _context149.next) {
case 0:
_action$payload149 = action.payload, payload = _action$payload149 === void 0 ? {} : _action$payload149, reducerName = action.meta.reducerName;
_context149.prev = 1;
_context149.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context149.next = 6;
return (0, _effects.call)(APIServices.postImportSheets, payload);
case 6:
response = _context149.sent;
_context149.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context149.next = 16;
break;
case 11:
_context149.prev = 11;
_context149.t0 = _context149["catch"](1);
console.error(_context149.t0);
/* istanbul ignore next */
_context149.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context149.t0,
name: reducerName
});
case 16:
case "end":
return _context149.stop();
}
}, _marked149, null, [[1, 11]]);
}
function getInvoiceBatchesSagas(action) {
var _action$payload150, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getInvoiceBatchesSagas$(_context150) {
while (1) switch (_context150.prev = _context150.next) {
case 0:
_action$payload150 = action.payload, payload = _action$payload150 === void 0 ? {} : _action$payload150, reducerName = action.meta.reducerName;
_context150.prev = 1;
_context150.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context150.next = 6;
return (0, _effects.call)(APIServices.getInvoiceBatches, payload);
case 6:
response = _context150.sent;
_context150.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context150.next = 16;
break;
case 11:
_context150.prev = 11;
_context150.t0 = _context150["catch"](1);
console.error(_context150.t0);
/* istanbul ignore next */
_context150.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context150.t0,
name: reducerName
});
case 16:
case "end":
return _context150.stop();
}
}, _marked150, null, [[1, 11]]);
}
function getInvoiceJobsSagas(action) {
var _action$payload151, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getInvoiceJobsSagas$(_context151) {
while (1) switch (_context151.prev = _context151.next) {
case 0:
_action$payload151 = action.payload, payload = _action$payload151 === void 0 ? {} : _action$payload151, reducerName = action.meta.reducerName;
_context151.prev = 1;
_context151.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context151.next = 6;
return (0, _effects.call)(APIServices.getInvoiceJobs, payload);
case 6:
response = _context151.sent;
_context151.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context151.next = 16;
break;
case 11:
_context151.prev = 11;
_context151.t0 = _context151["catch"](1);
console.error(_context151.t0);
/* istanbul ignore next */
_context151.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context151.t0,
name: reducerName
});
case 16:
case "end":
return _context151.stop();
}
}, _marked151, null, [[1, 11]]);
}
function getDraftInvoiceJobsSagas(action) {
var _action$payload152, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getDraftInvoiceJobsSagas$(_context152) {
while (1) switch (_context152.prev = _context152.next) {
case 0:
_action$payload152 = action.payload, payload = _action$payload152 === void 0 ? {} : _action$payload152, reducerName = action.meta.reducerName;
_context152.prev = 1;
_context152.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context152.next = 6;
return (0, _effects.call)(APIServices.getDraftInvoiceJobs, payload);
case 6:
response = _context152.sent;
_context152.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context152.next = 16;
break;
case 11:
_context152.prev = 11;
_context152.t0 = _context152["catch"](1);
console.error(_context152.t0);
/* istanbul ignore next */
_context152.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context152.t0,
name: reducerName
});
case 16:
case "end":
return _context152.stop();
}
}, _marked152, null, [[1, 11]]);
}
function getInvoiceBatchSagas(action) {
var _action$payload153, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getInvoiceBatchSagas$(_context153) {
while (1) switch (_context153.prev = _context153.next) {
case 0:
_action$payload153 = action.payload, payload = _action$payload153 === void 0 ? {} : _action$payload153, reducerName = action.meta.reducerName;
_context153.prev = 1;
_context153.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context153.next = 6;
return (0, _effects.call)(APIServices.getInvoiceBatch, payload);
case 6:
response = _context153.sent;
_context153.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context153.next = 16;
break;
case 11:
_context153.prev = 11;
_context153.t0 = _context153["catch"](1);
console.error(_context153.t0);
/* istanbul ignore next */
_context153.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context153.t0,
name: reducerName
});
case 16:
case "end":
return _context153.stop();
}
}, _marked153, null, [[1, 11]]);
}
function getInvoiceBatchHeadersSagas(action) {
var _action$payload154, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getInvoiceBatchHeadersSagas$(_context154) {
while (1) switch (_context154.prev = _context154.next) {
case 0:
_action$payload154 = action.payload, payload = _action$payload154 === void 0 ? {} : _action$payload154, reducerName = action.meta.reducerName;
_context154.prev = 1;
_context154.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context154.next = 6;
return (0, _effects.call)(APIServices.getInvoiceBatchHeaders, payload);
case 6:
response = _context154.sent;
_context154.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context154.next = 16;
break;
case 11:
_context154.prev = 11;
_context154.t0 = _context154["catch"](1);
console.error(_context154.t0);
/* istanbul ignore next */
_context154.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context154.t0,
name: reducerName
});
case 16:
case "end":
return _context154.stop();
}
}, _marked154, null, [[1, 11]]);
}
function deleteInvoiceSagas(action) {
var _action$payload155, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteInvoiceSagas$(_context155) {
while (1) switch (_context155.prev = _context155.next) {
case 0:
_action$payload155 = action.payload, payload = _action$payload155 === void 0 ? {} : _action$payload155, reducerName = action.meta.reducerName;
_context155.prev = 1;
_context155.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context155.next = 6;
return (0, _effects.call)(APIServices.deleteInvoice, payload);
case 6:
response = _context155.sent;
_context155.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context155.next = 16;
break;
case 11:
_context155.prev = 11;
_context155.t0 = _context155["catch"](1);
console.error(_context155.t0);
/* istanbul ignore next */
_context155.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context155.t0,
name: reducerName
});
case 16:
case "end":
return _context155.stop();
}
}, _marked155, null, [[1, 11]]);
}
function getJobActivitySagas(action) {
var _action$payload156, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getJobActivitySagas$(_context156) {
while (1) switch (_context156.prev = _context156.next) {
case 0:
_action$payload156 = action.payload, payload = _action$payload156 === void 0 ? {} : _action$payload156, reducerName = action.meta.reducerName;
_context156.prev = 1;
_context156.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context156.next = 6;
return (0, _effects.call)(APIServices.getJobActivity, payload);
case 6:
response = _context156.sent;
_context156.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context156.next = 16;
break;
case 11:
_context156.prev = 11;
_context156.t0 = _context156["catch"](1);
console.error(_context156.t0);
/* istanbul ignore next */
_context156.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context156.t0,
name: reducerName
});
case 16:
case "end":
return _context156.stop();
}
}, _marked156, null, [[1, 11]]);
}
function postJobActivitySagas(action) {
var _action$payload157, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postJobActivitySagas$(_context157) {
while (1) switch (_context157.prev = _context157.next) {
case 0:
_action$payload157 = action.payload, payload = _action$payload157 === void 0 ? {} : _action$payload157, reducerName = action.meta.reducerName;
_context157.prev = 1;
_context157.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context157.next = 6;
return (0, _effects.call)(APIServices.postJobActivity, payload);
case 6:
response = _context157.sent;
_context157.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context157.next = 16;
break;
case 11:
_context157.prev = 11;
_context157.t0 = _context157["catch"](1);
console.error(_context157.t0);
/* istanbul ignore next */
_context157.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context157.t0,
name: reducerName
});
case 16:
case "end":
return _context157.stop();
}
}, _marked157, null, [[1, 11]]);
}
function putJobActivitySagas(action) {
var _action$payload158, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putJobActivitySagas$(_context158) {
while (1) switch (_context158.prev = _context158.next) {
case 0:
_action$payload158 = action.payload, payload = _action$payload158 === void 0 ? {} : _action$payload158, reducerName = action.meta.reducerName;
_context158.prev = 1;
_context158.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context158.next = 6;
return (0, _effects.call)(APIServices.putJobActivity, payload);
case 6:
response = _context158.sent;
_context158.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context158.next = 16;
break;
case 11:
_context158.prev = 11;
_context158.t0 = _context158["catch"](1);
console.error(_context158.t0);
/* istanbul ignore next */
_context158.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context158.t0,
name: reducerName
});
case 16:
case "end":
return _context158.stop();
}
}, _marked158, null, [[1, 11]]);
}
function deleteJobActivitySagas(action) {
var _action$payload159, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteJobActivitySagas$(_context159) {
while (1) switch (_context159.prev = _context159.next) {
case 0:
_action$payload159 = action.payload, payload = _action$payload159 === void 0 ? {} : _action$payload159, reducerName = action.meta.reducerName;
_context159.prev = 1;
_context159.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context159.next = 6;
return (0, _effects.call)(APIServices.deleteJobActivity, payload);
case 6:
response = _context159.sent;
_context159.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context159.next = 16;
break;
case 11:
_context159.prev = 11;
_context159.t0 = _context159["catch"](1);
console.error(_context159.t0);
/* istanbul ignore next */
_context159.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context159.t0,
name: reducerName
});
case 16:
case "end":
return _context159.stop();
}
}, _marked159, null, [[1, 11]]);
}
function getJobActivitiesSagas(action) {
var _action$payload160, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getJobActivitiesSagas$(_context160) {
while (1) switch (_context160.prev = _context160.next) {
case 0:
_action$payload160 = action.payload, payload = _action$payload160 === void 0 ? {} : _action$payload160, reducerName = action.meta.reducerName;
_context160.prev = 1;
_context160.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context160.next = 6;
return (0, _effects.call)(APIServices.getJobActivities, payload);
case 6:
response = _context160.sent;
_context160.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context160.next = 16;
break;
case 11:
_context160.prev = 11;
_context160.t0 = _context160["catch"](1);
console.error(_context160.t0);
/* istanbul ignore next */
_context160.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context160.t0,
name: reducerName
});
case 16:
case "end":
return _context160.stop();
}
}, _marked160, null, [[1, 11]]);
}
function getJobActivityRateSagas(action) {
var _action$payload161, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getJobActivityRateSagas$(_context161) {
while (1) switch (_context161.prev = _context161.next) {
case 0:
_action$payload161 = action.payload, payload = _action$payload161 === void 0 ? {} : _action$payload161, reducerName = action.meta.reducerName;
_context161.prev = 1;
_context161.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context161.next = 6;
return (0, _effects.call)(APIServices.getJobActivityRate, payload);
case 6:
response = _context161.sent;
_context161.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context161.next = 16;
break;
case 11:
_context161.prev = 11;
_context161.t0 = _context161["catch"](1);
console.error(_context161.t0);
/* istanbul ignore next */
_context161.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context161.t0,
name: reducerName
});
case 16:
case "end":
return _context161.stop();
}
}, _marked161, null, [[1, 11]]);
}
function postJobActivityRateSagas(action) {
var _action$payload162, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postJobActivityRateSagas$(_context162) {
while (1) switch (_context162.prev = _context162.next) {
case 0:
_action$payload162 = action.payload, payload = _action$payload162 === void 0 ? {} : _action$payload162, reducerName = action.meta.reducerName;
_context162.prev = 1;
_context162.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context162.next = 6;
return (0, _effects.call)(APIServices.postJobActivityRate, payload);
case 6:
response = _context162.sent;
_context162.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context162.next = 16;
break;
case 11:
_context162.prev = 11;
_context162.t0 = _context162["catch"](1);
console.error(_context162.t0);
/* istanbul ignore next */
_context162.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context162.t0,
name: reducerName
});
case 16:
case "end":
return _context162.stop();
}
}, _marked162, null, [[1, 11]]);
}
function putJobActivityRateSagas(action) {
var _action$payload163, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putJobActivityRateSagas$(_context163) {
while (1) switch (_context163.prev = _context163.next) {
case 0:
_action$payload163 = action.payload, payload = _action$payload163 === void 0 ? {} : _action$payload163, reducerName = action.meta.reducerName;
_context163.prev = 1;
_context163.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context163.next = 6;
return (0, _effects.call)(APIServices.putJobActivityRate, payload);
case 6:
response = _context163.sent;
_context163.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context163.next = 16;
break;
case 11:
_context163.prev = 11;
_context163.t0 = _context163["catch"](1);
console.error(_context163.t0);
/* istanbul ignore next */
_context163.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context163.t0,
name: reducerName
});
case 16:
case "end":
return _context163.stop();
}
}, _marked163, null, [[1, 11]]);
}
function deleteJobActivityRateSagas(action) {
var _action$payload164, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteJobActivityRateSagas$(_context164) {
while (1) switch (_context164.prev = _context164.next) {
case 0:
_action$payload164 = action.payload, payload = _action$payload164 === void 0 ? {} : _action$payload164, reducerName = action.meta.reducerName;
_context164.prev = 1;
_context164.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context164.next = 6;
return (0, _effects.call)(APIServices.deleteJobActivityRate, payload);
case 6:
response = _context164.sent;
_context164.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context164.next = 16;
break;
case 11:
_context164.prev = 11;
_context164.t0 = _context164["catch"](1);
console.error(_context164.t0);
/* istanbul ignore next */
_context164.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context164.t0,
name: reducerName
});
case 16:
case "end":
return _context164.stop();
}
}, _marked164, null, [[1, 11]]);
}
function getGetJobActivityRatesSagas(action) {
var _action$payload165, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getGetJobActivityRatesSagas$(_context165) {
while (1) switch (_context165.prev = _context165.next) {
case 0:
_action$payload165 = action.payload, payload = _action$payload165 === void 0 ? {} : _action$payload165, reducerName = action.meta.reducerName;
_context165.prev = 1;
_context165.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context165.next = 6;
return (0, _effects.call)(APIServices.getGetJobActivityRates, payload);
case 6:
response = _context165.sent;
_context165.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context165.next = 16;
break;
case 11:
_context165.prev = 11;
_context165.t0 = _context165["catch"](1);
console.error(_context165.t0);
/* istanbul ignore next */
_context165.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context165.t0,
name: reducerName
});
case 16:
case "end":
return _context165.stop();
}
}, _marked165, null, [[1, 11]]);
}
function getJobBlockSagas(action) {
var _action$payload166, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getJobBlockSagas$(_context166) {
while (1) switch (_context166.prev = _context166.next) {
case 0:
_action$payload166 = action.payload, payload = _action$payload166 === void 0 ? {} : _action$payload166, reducerName = action.meta.reducerName;
_context166.prev = 1;
_context166.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context166.next = 6;
return (0, _effects.call)(APIServices.getJobBlock, payload);
case 6:
response = _context166.sent;
_context166.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context166.next = 16;
break;
case 11:
_context166.prev = 11;
_context166.t0 = _context166["catch"](1);
console.error(_context166.t0);
/* istanbul ignore next */
_context166.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context166.t0,
name: reducerName
});
case 16:
case "end":
return _context166.stop();
}
}, _marked166, null, [[1, 11]]);
}
function postJobBlockSagas(action) {
var _action$payload167, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postJobBlockSagas$(_context167) {
while (1) switch (_context167.prev = _context167.next) {
case 0:
_action$payload167 = action.payload, payload = _action$payload167 === void 0 ? {} : _action$payload167, reducerName = action.meta.reducerName;
_context167.prev = 1;
_context167.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context167.next = 6;
return (0, _effects.call)(APIServices.postJobBlock, payload);
case 6:
response = _context167.sent;
_context167.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context167.next = 16;
break;
case 11:
_context167.prev = 11;
_context167.t0 = _context167["catch"](1);
console.error(_context167.t0);
/* istanbul ignore next */
_context167.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context167.t0,
name: reducerName
});
case 16:
case "end":
return _context167.stop();
}
}, _marked167, null, [[1, 11]]);
}
function putJobBlockSagas(action) {
var _action$payload168, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putJobBlockSagas$(_context168) {
while (1) switch (_context168.prev = _context168.next) {
case 0:
_action$payload168 = action.payload, payload = _action$payload168 === void 0 ? {} : _action$payload168, reducerName = action.meta.reducerName;
_context168.prev = 1;
_context168.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context168.next = 6;
return (0, _effects.call)(APIServices.putJobBlock, payload);
case 6:
response = _context168.sent;
_context168.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context168.next = 16;
break;
case 11:
_context168.prev = 11;
_context168.t0 = _context168["catch"](1);
console.error(_context168.t0);
/* istanbul ignore next */
_context168.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context168.t0,
name: reducerName
});
case 16:
case "end":
return _context168.stop();
}
}, _marked168, null, [[1, 11]]);
}
function deleteJobBlockSagas(action) {
var _action$payload169, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteJobBlockSagas$(_context169) {
while (1) switch (_context169.prev = _context169.next) {
case 0:
_action$payload169 = action.payload, payload = _action$payload169 === void 0 ? {} : _action$payload169, reducerName = action.meta.reducerName;
_context169.prev = 1;
_context169.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context169.next = 6;
return (0, _effects.call)(APIServices.deleteJobBlock, payload);
case 6:
response = _context169.sent;
_context169.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context169.next = 16;
break;
case 11:
_context169.prev = 11;
_context169.t0 = _context169["catch"](1);
console.error(_context169.t0);
/* istanbul ignore next */
_context169.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context169.t0,
name: reducerName
});
case 16:
case "end":
return _context169.stop();
}
}, _marked169, null, [[1, 11]]);
}
function putJobBlockStatusSagas(action) {
var _action$payload170, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putJobBlockStatusSagas$(_context170) {
while (1) switch (_context170.prev = _context170.next) {
case 0:
_action$payload170 = action.payload, payload = _action$payload170 === void 0 ? {} : _action$payload170, reducerName = action.meta.reducerName;
_context170.prev = 1;
_context170.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context170.next = 6;
return (0, _effects.call)(APIServices.putJobBlockStatus, payload);
case 6:
response = _context170.sent;
_context170.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context170.next = 16;
break;
case 11:
_context170.prev = 11;
_context170.t0 = _context170["catch"](1);
console.error(_context170.t0);
/* istanbul ignore next */
_context170.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context170.t0,
name: reducerName
});
case 16:
case "end":
return _context170.stop();
}
}, _marked170, null, [[1, 11]]);
}
function getBlocksForJobSagas(action) {
var _action$payload171, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getBlocksForJobSagas$(_context171) {
while (1) switch (_context171.prev = _context171.next) {
case 0:
_action$payload171 = action.payload, payload = _action$payload171 === void 0 ? {} : _action$payload171, reducerName = action.meta.reducerName;
_context171.prev = 1;
_context171.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context171.next = 6;
return (0, _effects.call)(APIServices.getBlocksForJob, payload);
case 6:
response = _context171.sent;
_context171.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context171.next = 16;
break;
case 11:
_context171.prev = 11;
_context171.t0 = _context171["catch"](1);
console.error(_context171.t0);
/* istanbul ignore next */
_context171.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context171.t0,
name: reducerName
});
case 16:
case "end":
return _context171.stop();
}
}, _marked171, null, [[1, 11]]);
}
function postJobBlocksBulkSagas(action) {
var _action$payload172, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postJobBlocksBulkSagas$(_context172) {
while (1) switch (_context172.prev = _context172.next) {
case 0:
_action$payload172 = action.payload, payload = _action$payload172 === void 0 ? {} : _action$payload172, reducerName = action.meta.reducerName;
_context172.prev = 1;
_context172.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context172.next = 6;
return (0, _effects.call)(APIServices.postJobBlocksBulk, payload);
case 6:
response = _context172.sent;
_context172.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context172.next = 16;
break;
case 11:
_context172.prev = 11;
_context172.t0 = _context172["catch"](1);
console.error(_context172.t0);
/* istanbul ignore next */
_context172.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context172.t0,
name: reducerName
});
case 16:
case "end":
return _context172.stop();
}
}, _marked172, null, [[1, 11]]);
}
function getJobBlockRowsSagas(action) {
var _action$payload173, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getJobBlockRowsSagas$(_context173) {
while (1) switch (_context173.prev = _context173.next) {
case 0:
_action$payload173 = action.payload, payload = _action$payload173 === void 0 ? {} : _action$payload173, reducerName = action.meta.reducerName;
_context173.prev = 1;
_context173.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context173.next = 6;
return (0, _effects.call)(APIServices.getJobBlockRows, payload);
case 6:
response = _context173.sent;
_context173.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context173.next = 16;
break;
case 11:
_context173.prev = 11;
_context173.t0 = _context173["catch"](1);
console.error(_context173.t0);
/* istanbul ignore next */
_context173.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context173.t0,
name: reducerName
});
case 16:
case "end":
return _context173.stop();
}
}, _marked173, null, [[1, 11]]);
}
function postJobBlockRowsSagas(action) {
var _action$payload174, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postJobBlockRowsSagas$(_context174) {
while (1) switch (_context174.prev = _context174.next) {
case 0:
_action$payload174 = action.payload, payload = _action$payload174 === void 0 ? {} : _action$payload174, reducerName = action.meta.reducerName;
_context174.prev = 1;
_context174.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context174.next = 6;
return (0, _effects.call)(APIServices.postJobBlockRows, payload);
case 6:
response = _context174.sent;
_context174.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context174.next = 16;
break;
case 11:
_context174.prev = 11;
_context174.t0 = _context174["catch"](1);
console.error(_context174.t0);
/* istanbul ignore next */
_context174.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context174.t0,
name: reducerName
});
case 16:
case "end":
return _context174.stop();
}
}, _marked174, null, [[1, 11]]);
}
function putJobBlockRowsSagas(action) {
var _action$payload175, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putJobBlockRowsSagas$(_context175) {
while (1) switch (_context175.prev = _context175.next) {
case 0:
_action$payload175 = action.payload, payload = _action$payload175 === void 0 ? {} : _action$payload175, reducerName = action.meta.reducerName;
_context175.prev = 1;
_context175.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context175.next = 6;
return (0, _effects.call)(APIServices.putJobBlockRows, payload);
case 6:
response = _context175.sent;
_context175.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context175.next = 16;
break;
case 11:
_context175.prev = 11;
_context175.t0 = _context175["catch"](1);
console.error(_context175.t0);
/* istanbul ignore next */
_context175.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context175.t0,
name: reducerName
});
case 16:
case "end":
return _context175.stop();
}
}, _marked175, null, [[1, 11]]);
}
function deleteJobBlockRowsSagas(action) {
var _action$payload176, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteJobBlockRowsSagas$(_context176) {
while (1) switch (_context176.prev = _context176.next) {
case 0:
_action$payload176 = action.payload, payload = _action$payload176 === void 0 ? {} : _action$payload176, reducerName = action.meta.reducerName;
_context176.prev = 1;
_context176.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context176.next = 6;
return (0, _effects.call)(APIServices.deleteJobBlockRows, payload);
case 6:
response = _context176.sent;
_context176.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context176.next = 16;
break;
case 11:
_context176.prev = 11;
_context176.t0 = _context176["catch"](1);
console.error(_context176.t0);
/* istanbul ignore next */
_context176.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context176.t0,
name: reducerName
});
case 16:
case "end":
return _context176.stop();
}
}, _marked176, null, [[1, 11]]);
}
function postSplitJobBlockRowSagas(action) {
var _action$payload177, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postSplitJobBlockRowSagas$(_context177) {
while (1) switch (_context177.prev = _context177.next) {
case 0:
_action$payload177 = action.payload, payload = _action$payload177 === void 0 ? {} : _action$payload177, reducerName = action.meta.reducerName;
_context177.prev = 1;
_context177.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context177.next = 6;
return (0, _effects.call)(APIServices.postSplitJobBlockRow, payload);
case 6:
response = _context177.sent;
_context177.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context177.next = 16;
break;
case 11:
_context177.prev = 11;
_context177.t0 = _context177["catch"](1);
console.error(_context177.t0);
/* istanbul ignore next */
_context177.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context177.t0,
name: reducerName
});
case 16:
case "end":
return _context177.stop();
}
}, _marked177, null, [[1, 11]]);
}
function getRowsByJobBlockSagas(action) {
var _action$payload178, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getRowsByJobBlockSagas$(_context178) {
while (1) switch (_context178.prev = _context178.next) {
case 0:
_action$payload178 = action.payload, payload = _action$payload178 === void 0 ? {} : _action$payload178, reducerName = action.meta.reducerName;
_context178.prev = 1;
_context178.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context178.next = 6;
return (0, _effects.call)(APIServices.getRowsByJobBlock, payload);
case 6:
response = _context178.sent;
_context178.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context178.next = 16;
break;
case 11:
_context178.prev = 11;
_context178.t0 = _context178["catch"](1);
console.error(_context178.t0);
/* istanbul ignore next */
_context178.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context178.t0,
name: reducerName
});
case 16:
case "end":
return _context178.stop();
}
}, _marked178, null, [[1, 11]]);
}
function postRowsByJobBlockSagas(action) {
var _action$payload179, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postRowsByJobBlockSagas$(_context179) {
while (1) switch (_context179.prev = _context179.next) {
case 0:
_action$payload179 = action.payload, payload = _action$payload179 === void 0 ? {} : _action$payload179, reducerName = action.meta.reducerName;
_context179.prev = 1;
_context179.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context179.next = 6;
return (0, _effects.call)(APIServices.postRowsByJobBlock, payload);
case 6:
response = _context179.sent;
_context179.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context179.next = 16;
break;
case 11:
_context179.prev = 11;
_context179.t0 = _context179["catch"](1);
console.error(_context179.t0);
/* istanbul ignore next */
_context179.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context179.t0,
name: reducerName
});
case 16:
case "end":
return _context179.stop();
}
}, _marked179, null, [[1, 11]]);
}
function getJobEventsSagas(action) {
var _action$payload180, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getJobEventsSagas$(_context180) {
while (1) switch (_context180.prev = _context180.next) {
case 0:
_action$payload180 = action.payload, payload = _action$payload180 === void 0 ? {} : _action$payload180, reducerName = action.meta.reducerName;
_context180.prev = 1;
_context180.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context180.next = 6;
return (0, _effects.call)(APIServices.getJobEvents, payload);
case 6:
response = _context180.sent;
_context180.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context180.next = 16;
break;
case 11:
_context180.prev = 11;
_context180.t0 = _context180["catch"](1);
console.error(_context180.t0);
/* istanbul ignore next */
_context180.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context180.t0,
name: reducerName
});
case 16:
case "end":
return _context180.stop();
}
}, _marked180, null, [[1, 11]]);
}
function postJobEventsSagas(action) {
var _action$payload181, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postJobEventsSagas$(_context181) {
while (1) switch (_context181.prev = _context181.next) {
case 0:
_action$payload181 = action.payload, payload = _action$payload181 === void 0 ? {} : _action$payload181, reducerName = action.meta.reducerName;
_context181.prev = 1;
_context181.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context181.next = 6;
return (0, _effects.call)(APIServices.postJobEvents, payload);
case 6:
response = _context181.sent;
_context181.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context181.next = 16;
break;
case 11:
_context181.prev = 11;
_context181.t0 = _context181["catch"](1);
console.error(_context181.t0);
/* istanbul ignore next */
_context181.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context181.t0,
name: reducerName
});
case 16:
case "end":
return _context181.stop();
}
}, _marked181, null, [[1, 11]]);
}
function putJobEventsSagas(action) {
var _action$payload182, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putJobEventsSagas$(_context182) {
while (1) switch (_context182.prev = _context182.next) {
case 0:
_action$payload182 = action.payload, payload = _action$payload182 === void 0 ? {} : _action$payload182, reducerName = action.meta.reducerName;
_context182.prev = 1;
_context182.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context182.next = 6;
return (0, _effects.call)(APIServices.putJobEvents, payload);
case 6:
response = _context182.sent;
_context182.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context182.next = 16;
break;
case 11:
_context182.prev = 11;
_context182.t0 = _context182["catch"](1);
console.error(_context182.t0);
/* istanbul ignore next */
_context182.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context182.t0,
name: reducerName
});
case 16:
case "end":
return _context182.stop();
}
}, _marked182, null, [[1, 11]]);
}
function deleteJobEventsSagas(action) {
var _action$payload183, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteJobEventsSagas$(_context183) {
while (1) switch (_context183.prev = _context183.next) {
case 0:
_action$payload183 = action.payload, payload = _action$payload183 === void 0 ? {} : _action$payload183, reducerName = action.meta.reducerName;
_context183.prev = 1;
_context183.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context183.next = 6;
return (0, _effects.call)(APIServices.deleteJobEvents, payload);
case 6:
response = _context183.sent;
_context183.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context183.next = 16;
break;
case 11:
_context183.prev = 11;
_context183.t0 = _context183["catch"](1);
console.error(_context183.t0);
/* istanbul ignore next */
_context183.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context183.t0,
name: reducerName
});
case 16:
case "end":
return _context183.stop();
}
}, _marked183, null, [[1, 11]]);
}
function getJobSupervisorSagas(action) {
var _action$payload184, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getJobSupervisorSagas$(_context184) {
while (1) switch (_context184.prev = _context184.next) {
case 0:
_action$payload184 = action.payload, payload = _action$payload184 === void 0 ? {} : _action$payload184, reducerName = action.meta.reducerName;
_context184.prev = 1;
_context184.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context184.next = 6;
return (0, _effects.call)(APIServices.getJobSupervisor, payload);
case 6:
response = _context184.sent;
_context184.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context184.next = 16;
break;
case 11:
_context184.prev = 11;
_context184.t0 = _context184["catch"](1);
console.error(_context184.t0);
/* istanbul ignore next */
_context184.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context184.t0,
name: reducerName
});
case 16:
case "end":
return _context184.stop();
}
}, _marked184, null, [[1, 11]]);
}
function postJobSupervisorSagas(action) {
var _action$payload185, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postJobSupervisorSagas$(_context185) {
while (1) switch (_context185.prev = _context185.next) {
case 0:
_action$payload185 = action.payload, payload = _action$payload185 === void 0 ? {} : _action$payload185, reducerName = action.meta.reducerName;
_context185.prev = 1;
_context185.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context185.next = 6;
return (0, _effects.call)(APIServices.postJobSupervisor, payload);
case 6:
response = _context185.sent;
_context185.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context185.next = 16;
break;
case 11:
_context185.prev = 11;
_context185.t0 = _context185["catch"](1);
console.error(_context185.t0);
/* istanbul ignore next */
_context185.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context185.t0,
name: reducerName
});
case 16:
case "end":
return _context185.stop();
}
}, _marked185, null, [[1, 11]]);
}
function putJobSupervisorSagas(action) {
var _action$payload186, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putJobSupervisorSagas$(_context186) {
while (1) switch (_context186.prev = _context186.next) {
case 0:
_action$payload186 = action.payload, payload = _action$payload186 === void 0 ? {} : _action$payload186, reducerName = action.meta.reducerName;
_context186.prev = 1;
_context186.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context186.next = 6;
return (0, _effects.call)(APIServices.putJobSupervisor, payload);
case 6:
response = _context186.sent;
_context186.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context186.next = 16;
break;
case 11:
_context186.prev = 11;
_context186.t0 = _context186["catch"](1);
console.error(_context186.t0);
/* istanbul ignore next */
_context186.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context186.t0,
name: reducerName
});
case 16:
case "end":
return _context186.stop();
}
}, _marked186, null, [[1, 11]]);
}
function deleteJobSupervisorSagas(action) {
var _action$payload187, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteJobSupervisorSagas$(_context187) {
while (1) switch (_context187.prev = _context187.next) {
case 0:
_action$payload187 = action.payload, payload = _action$payload187 === void 0 ? {} : _action$payload187, reducerName = action.meta.reducerName;
_context187.prev = 1;
_context187.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context187.next = 6;
return (0, _effects.call)(APIServices.deleteJobSupervisor, payload);
case 6:
response = _context187.sent;
_context187.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context187.next = 16;
break;
case 11:
_context187.prev = 11;
_context187.t0 = _context187["catch"](1);
console.error(_context187.t0);
/* istanbul ignore next */
_context187.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context187.t0,
name: reducerName
});
case 16:
case "end":
return _context187.stop();
}
}, _marked187, null, [[1, 11]]);
}
function getJobWorkRecordsSagas(action) {
var _action$payload188, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getJobWorkRecordsSagas$(_context188) {
while (1) switch (_context188.prev = _context188.next) {
case 0:
_action$payload188 = action.payload, payload = _action$payload188 === void 0 ? {} : _action$payload188, reducerName = action.meta.reducerName;
_context188.prev = 1;
_context188.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context188.next = 6;
return (0, _effects.call)(APIServices.getJobWorkRecords, payload);
case 6:
response = _context188.sent;
_context188.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context188.next = 16;
break;
case 11:
_context188.prev = 11;
_context188.t0 = _context188["catch"](1);
console.error(_context188.t0);
/* istanbul ignore next */
_context188.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context188.t0,
name: reducerName
});
case 16:
case "end":
return _context188.stop();
}
}, _marked188, null, [[1, 11]]);
}
function deleteJobWorkRecordsSagas(action) {
var _action$payload189, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteJobWorkRecordsSagas$(_context189) {
while (1) switch (_context189.prev = _context189.next) {
case 0:
_action$payload189 = action.payload, payload = _action$payload189 === void 0 ? {} : _action$payload189, reducerName = action.meta.reducerName;
_context189.prev = 1;
_context189.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context189.next = 6;
return (0, _effects.call)(APIServices.deleteJobWorkRecords, payload);
case 6:
response = _context189.sent;
_context189.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context189.next = 16;
break;
case 11:
_context189.prev = 11;
_context189.t0 = _context189["catch"](1);
console.error(_context189.t0);
/* istanbul ignore next */
_context189.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context189.t0,
name: reducerName
});
case 16:
case "end":
return _context189.stop();
}
}, _marked189, null, [[1, 11]]);
}
function getJobWorkRecordSupervisorsSagas(action) {
var _action$payload190, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getJobWorkRecordSupervisorsSagas$(_context190) {
while (1) switch (_context190.prev = _context190.next) {
case 0:
_action$payload190 = action.payload, payload = _action$payload190 === void 0 ? {} : _action$payload190, reducerName = action.meta.reducerName;
_context190.prev = 1;
_context190.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context190.next = 6;
return (0, _effects.call)(APIServices.getJobWorkRecordSupervisors, payload);
case 6:
response = _context190.sent;
_context190.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context190.next = 16;
break;
case 11:
_context190.prev = 11;
_context190.t0 = _context190["catch"](1);
console.error(_context190.t0);
/* istanbul ignore next */
_context190.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context190.t0,
name: reducerName
});
case 16:
case "end":
return _context190.stop();
}
}, _marked190, null, [[1, 11]]);
}
function getJobWorkRecordWorkersSagas(action) {
var _action$payload191, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getJobWorkRecordWorkersSagas$(_context191) {
while (1) switch (_context191.prev = _context191.next) {
case 0:
_action$payload191 = action.payload, payload = _action$payload191 === void 0 ? {} : _action$payload191, reducerName = action.meta.reducerName;
_context191.prev = 1;
_context191.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context191.next = 6;
return (0, _effects.call)(APIServices.getJobWorkRecordWorkers, payload);
case 6:
response = _context191.sent;
_context191.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context191.next = 16;
break;
case 11:
_context191.prev = 11;
_context191.t0 = _context191["catch"](1);
console.error(_context191.t0);
/* istanbul ignore next */
_context191.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context191.t0,
name: reducerName
});
case 16:
case "end":
return _context191.stop();
}
}, _marked191, null, [[1, 11]]);
}
function getJobWorkRecordSpecialActivitiesSagas(action) {
var _action$payload192, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getJobWorkRecordSpecialActivitiesSagas$(_context192) {
while (1) switch (_context192.prev = _context192.next) {
case 0:
_action$payload192 = action.payload, payload = _action$payload192 === void 0 ? {} : _action$payload192, reducerName = action.meta.reducerName;
_context192.prev = 1;
_context192.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context192.next = 6;
return (0, _effects.call)(APIServices.getJobWorkRecordSpecialActivities, payload);
case 6:
response = _context192.sent;
_context192.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context192.next = 16;
break;
case 11:
_context192.prev = 11;
_context192.t0 = _context192["catch"](1);
console.error(_context192.t0);
/* istanbul ignore next */
_context192.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context192.t0,
name: reducerName
});
case 16:
case "end":
return _context192.stop();
}
}, _marked192, null, [[1, 11]]);
}
function getJobWorkRecordEquipmentSagas(action) {
var _action$payload193, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getJobWorkRecordEquipmentSagas$(_context193) {
while (1) switch (_context193.prev = _context193.next) {
case 0:
_action$payload193 = action.payload, payload = _action$payload193 === void 0 ? {} : _action$payload193, reducerName = action.meta.reducerName;
_context193.prev = 1;
_context193.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context193.next = 6;
return (0, _effects.call)(APIServices.getJobWorkRecordEquipment, payload);
case 6:
response = _context193.sent;
_context193.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context193.next = 16;
break;
case 11:
_context193.prev = 11;
_context193.t0 = _context193["catch"](1);
console.error(_context193.t0);
/* istanbul ignore next */
_context193.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context193.t0,
name: reducerName
});
case 16:
case "end":
return _context193.stop();
}
}, _marked193, null, [[1, 11]]);
}
function getJobWorkRecordReferenceTypesSagas(action) {
var _action$payload194, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getJobWorkRecordReferenceTypesSagas$(_context194) {
while (1) switch (_context194.prev = _context194.next) {
case 0:
_action$payload194 = action.payload, payload = _action$payload194 === void 0 ? {} : _action$payload194, reducerName = action.meta.reducerName;
_context194.prev = 1;
_context194.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context194.next = 6;
return (0, _effects.call)(APIServices.getJobWorkRecordReferenceTypes, payload);
case 6:
response = _context194.sent;
_context194.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context194.next = 16;
break;
case 11:
_context194.prev = 11;
_context194.t0 = _context194["catch"](1);
console.error(_context194.t0);
/* istanbul ignore next */
_context194.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context194.t0,
name: reducerName
});
case 16:
case "end":
return _context194.stop();
}
}, _marked194, null, [[1, 11]]);
}
function postLinkedDocumentSagas(action) {
var _action$payload195, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postLinkedDocumentSagas$(_context195) {
while (1) switch (_context195.prev = _context195.next) {
case 0:
_action$payload195 = action.payload, payload = _action$payload195 === void 0 ? {} : _action$payload195, reducerName = action.meta.reducerName;
_context195.prev = 1;
_context195.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context195.next = 6;
return (0, _effects.call)(APIServices.postLinkedDocument, payload);
case 6:
response = _context195.sent;
_context195.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context195.next = 16;
break;
case 11:
_context195.prev = 11;
_context195.t0 = _context195["catch"](1);
console.error(_context195.t0);
/* istanbul ignore next */
_context195.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context195.t0,
name: reducerName
});
case 16:
case "end":
return _context195.stop();
}
}, _marked195, null, [[1, 11]]);
}
function getLinkedDocumentSagas(action) {
var _action$payload196, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getLinkedDocumentSagas$(_context196) {
while (1) switch (_context196.prev = _context196.next) {
case 0:
_action$payload196 = action.payload, payload = _action$payload196 === void 0 ? {} : _action$payload196, reducerName = action.meta.reducerName;
_context196.prev = 1;
_context196.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context196.next = 6;
return (0, _effects.call)(APIServices.getLinkedDocument, payload);
case 6:
response = _context196.sent;
_context196.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context196.next = 16;
break;
case 11:
_context196.prev = 11;
_context196.t0 = _context196["catch"](1);
console.error(_context196.t0);
/* istanbul ignore next */
_context196.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context196.t0,
name: reducerName
});
case 16:
case "end":
return _context196.stop();
}
}, _marked196, null, [[1, 11]]);
}
function putLinkedDocumentSagas(action) {
var _action$payload197, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putLinkedDocumentSagas$(_context197) {
while (1) switch (_context197.prev = _context197.next) {
case 0:
_action$payload197 = action.payload, payload = _action$payload197 === void 0 ? {} : _action$payload197, reducerName = action.meta.reducerName;
_context197.prev = 1;
_context197.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context197.next = 6;
return (0, _effects.call)(APIServices.putLinkedDocument, payload);
case 6:
response = _context197.sent;
_context197.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context197.next = 16;
break;
case 11:
_context197.prev = 11;
_context197.t0 = _context197["catch"](1);
console.error(_context197.t0);
/* istanbul ignore next */
_context197.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context197.t0,
name: reducerName
});
case 16:
case "end":
return _context197.stop();
}
}, _marked197, null, [[1, 11]]);
}
function deleteLinkedDocumentSagas(action) {
var _action$payload198, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteLinkedDocumentSagas$(_context198) {
while (1) switch (_context198.prev = _context198.next) {
case 0:
_action$payload198 = action.payload, payload = _action$payload198 === void 0 ? {} : _action$payload198, reducerName = action.meta.reducerName;
_context198.prev = 1;
_context198.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context198.next = 6;
return (0, _effects.call)(APIServices.deleteLinkedDocument, payload);
case 6:
response = _context198.sent;
_context198.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context198.next = 16;
break;
case 11:
_context198.prev = 11;
_context198.t0 = _context198["catch"](1);
console.error(_context198.t0);
/* istanbul ignore next */
_context198.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context198.t0,
name: reducerName
});
case 16:
case "end":
return _context198.stop();
}
}, _marked198, null, [[1, 11]]);
}
function getLinkedDocumentsSagas(action) {
var _action$payload199, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getLinkedDocumentsSagas$(_context199) {
while (1) switch (_context199.prev = _context199.next) {
case 0:
_action$payload199 = action.payload, payload = _action$payload199 === void 0 ? {} : _action$payload199, reducerName = action.meta.reducerName;
_context199.prev = 1;
_context199.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context199.next = 6;
return (0, _effects.call)(APIServices.getLinkedDocuments, payload);
case 6:
response = _context199.sent;
_context199.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context199.next = 16;
break;
case 11:
_context199.prev = 11;
_context199.t0 = _context199["catch"](1);
console.error(_context199.t0);
/* istanbul ignore next */
_context199.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context199.t0,
name: reducerName
});
case 16:
case "end":
return _context199.stop();
}
}, _marked199, null, [[1, 11]]);
}
function getGetLookUpSagas(action) {
var _action$payload200, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getGetLookUpSagas$(_context200) {
while (1) switch (_context200.prev = _context200.next) {
case 0:
_action$payload200 = action.payload, payload = _action$payload200 === void 0 ? {} : _action$payload200, reducerName = action.meta.reducerName;
_context200.prev = 1;
_context200.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context200.next = 6;
return (0, _effects.call)(APIServices.getGetLookUp, payload);
case 6:
response = _context200.sent;
_context200.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context200.next = 16;
break;
case 11:
_context200.prev = 11;
_context200.t0 = _context200["catch"](1);
console.error(_context200.t0);
/* istanbul ignore next */
_context200.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context200.t0,
name: reducerName
});
case 16:
case "end":
return _context200.stop();
}
}, _marked200, null, [[1, 11]]);
}
function postQueueMessageSagas(action) {
var _action$payload201, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postQueueMessageSagas$(_context201) {
while (1) switch (_context201.prev = _context201.next) {
case 0:
_action$payload201 = action.payload, payload = _action$payload201 === void 0 ? {} : _action$payload201, reducerName = action.meta.reducerName;
_context201.prev = 1;
_context201.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context201.next = 6;
return (0, _effects.call)(APIServices.postQueueMessage, payload);
case 6:
response = _context201.sent;
_context201.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context201.next = 16;
break;
case 11:
_context201.prev = 11;
_context201.t0 = _context201["catch"](1);
console.error(_context201.t0);
/* istanbul ignore next */
_context201.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context201.t0,
name: reducerName
});
case 16:
case "end":
return _context201.stop();
}
}, _marked201, null, [[1, 11]]);
}
function postObjectLogoSagas(action) {
var _action$payload202, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postObjectLogoSagas$(_context202) {
while (1) switch (_context202.prev = _context202.next) {
case 0:
_action$payload202 = action.payload, payload = _action$payload202 === void 0 ? {} : _action$payload202, reducerName = action.meta.reducerName;
_context202.prev = 1;
_context202.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context202.next = 6;
return (0, _effects.call)(APIServices.postObjectLogo, payload);
case 6:
response = _context202.sent;
_context202.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context202.next = 16;
break;
case 11:
_context202.prev = 11;
_context202.t0 = _context202["catch"](1);
console.error(_context202.t0);
/* istanbul ignore next */
_context202.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context202.t0,
name: reducerName
});
case 16:
case "end":
return _context202.stop();
}
}, _marked202, null, [[1, 11]]);
}
function getObjectLogoSagas(action) {
var _action$payload203, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getObjectLogoSagas$(_context203) {
while (1) switch (_context203.prev = _context203.next) {
case 0:
_action$payload203 = action.payload, payload = _action$payload203 === void 0 ? {} : _action$payload203, reducerName = action.meta.reducerName;
_context203.prev = 1;
_context203.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context203.next = 6;
return (0, _effects.call)(APIServices.getObjectLogo, payload);
case 6:
response = _context203.sent;
_context203.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context203.next = 16;
break;
case 11:
_context203.prev = 11;
_context203.t0 = _context203["catch"](1);
console.error(_context203.t0);
/* istanbul ignore next */
_context203.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context203.t0,
name: reducerName
});
case 16:
case "end":
return _context203.stop();
}
}, _marked203, null, [[1, 11]]);
}
function putObjectLogoSagas(action) {
var _action$payload204, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putObjectLogoSagas$(_context204) {
while (1) switch (_context204.prev = _context204.next) {
case 0:
_action$payload204 = action.payload, payload = _action$payload204 === void 0 ? {} : _action$payload204, reducerName = action.meta.reducerName;
_context204.prev = 1;
_context204.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context204.next = 6;
return (0, _effects.call)(APIServices.putObjectLogo, payload);
case 6:
response = _context204.sent;
_context204.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context204.next = 16;
break;
case 11:
_context204.prev = 11;
_context204.t0 = _context204["catch"](1);
console.error(_context204.t0);
/* istanbul ignore next */
_context204.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context204.t0,
name: reducerName
});
case 16:
case "end":
return _context204.stop();
}
}, _marked204, null, [[1, 11]]);
}
function deleteObjectLogoSagas(action) {
var _action$payload205, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteObjectLogoSagas$(_context205) {
while (1) switch (_context205.prev = _context205.next) {
case 0:
_action$payload205 = action.payload, payload = _action$payload205 === void 0 ? {} : _action$payload205, reducerName = action.meta.reducerName;
_context205.prev = 1;
_context205.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context205.next = 6;
return (0, _effects.call)(APIServices.deleteObjectLogo, payload);
case 6:
response = _context205.sent;
_context205.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context205.next = 16;
break;
case 11:
_context205.prev = 11;
_context205.t0 = _context205["catch"](1);
console.error(_context205.t0);
/* istanbul ignore next */
_context205.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context205.t0,
name: reducerName
});
case 16:
case "end":
return _context205.stop();
}
}, _marked205, null, [[1, 11]]);
}
function getPayrollPeriodsSagas(action) {
var _action$payload206, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getPayrollPeriodsSagas$(_context206) {
while (1) switch (_context206.prev = _context206.next) {
case 0:
_action$payload206 = action.payload, payload = _action$payload206 === void 0 ? {} : _action$payload206, reducerName = action.meta.reducerName;
_context206.prev = 1;
_context206.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context206.next = 6;
return (0, _effects.call)(APIServices.getPayrollPeriods, payload);
case 6:
response = _context206.sent;
_context206.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context206.next = 16;
break;
case 11:
_context206.prev = 11;
_context206.t0 = _context206["catch"](1);
console.error(_context206.t0);
/* istanbul ignore next */
_context206.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context206.t0,
name: reducerName
});
case 16:
case "end":
return _context206.stop();
}
}, _marked206, null, [[1, 11]]);
}
function getPayrollPeriodSagas(action) {
var _action$payload207, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getPayrollPeriodSagas$(_context207) {
while (1) switch (_context207.prev = _context207.next) {
case 0:
_action$payload207 = action.payload, payload = _action$payload207 === void 0 ? {} : _action$payload207, reducerName = action.meta.reducerName;
_context207.prev = 1;
_context207.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context207.next = 6;
return (0, _effects.call)(APIServices.getPayrollPeriod, payload);
case 6:
response = _context207.sent;
_context207.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context207.next = 16;
break;
case 11:
_context207.prev = 11;
_context207.t0 = _context207["catch"](1);
console.error(_context207.t0);
/* istanbul ignore next */
_context207.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context207.t0,
name: reducerName
});
case 16:
case "end":
return _context207.stop();
}
}, _marked207, null, [[1, 11]]);
}
function postPayrollPeriodSagas(action) {
var _action$payload208, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postPayrollPeriodSagas$(_context208) {
while (1) switch (_context208.prev = _context208.next) {
case 0:
_action$payload208 = action.payload, payload = _action$payload208 === void 0 ? {} : _action$payload208, reducerName = action.meta.reducerName;
_context208.prev = 1;
_context208.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context208.next = 6;
return (0, _effects.call)(APIServices.postPayrollPeriod, payload);
case 6:
response = _context208.sent;
_context208.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context208.next = 16;
break;
case 11:
_context208.prev = 11;
_context208.t0 = _context208["catch"](1);
console.error(_context208.t0);
/* istanbul ignore next */
_context208.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context208.t0,
name: reducerName
});
case 16:
case "end":
return _context208.stop();
}
}, _marked208, null, [[1, 11]]);
}
function putPayrollPeriodSagas(action) {
var _action$payload209, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putPayrollPeriodSagas$(_context209) {
while (1) switch (_context209.prev = _context209.next) {
case 0:
_action$payload209 = action.payload, payload = _action$payload209 === void 0 ? {} : _action$payload209, reducerName = action.meta.reducerName;
_context209.prev = 1;
_context209.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context209.next = 6;
return (0, _effects.call)(APIServices.putPayrollPeriod, payload);
case 6:
response = _context209.sent;
_context209.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context209.next = 16;
break;
case 11:
_context209.prev = 11;
_context209.t0 = _context209["catch"](1);
console.error(_context209.t0);
/* istanbul ignore next */
_context209.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context209.t0,
name: reducerName
});
case 16:
case "end":
return _context209.stop();
}
}, _marked209, null, [[1, 11]]);
}
function deletePayrollPeriodSagas(action) {
var _action$payload210, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deletePayrollPeriodSagas$(_context210) {
while (1) switch (_context210.prev = _context210.next) {
case 0:
_action$payload210 = action.payload, payload = _action$payload210 === void 0 ? {} : _action$payload210, reducerName = action.meta.reducerName;
_context210.prev = 1;
_context210.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context210.next = 6;
return (0, _effects.call)(APIServices.deletePayrollPeriod, payload);
case 6:
response = _context210.sent;
_context210.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context210.next = 16;
break;
case 11:
_context210.prev = 11;
_context210.t0 = _context210["catch"](1);
console.error(_context210.t0);
/* istanbul ignore next */
_context210.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context210.t0,
name: reducerName
});
case 16:
case "end":
return _context210.stop();
}
}, _marked210, null, [[1, 11]]);
}
function getPayrollPeriodLinesSagas(action) {
var _action$payload211, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getPayrollPeriodLinesSagas$(_context211) {
while (1) switch (_context211.prev = _context211.next) {
case 0:
_action$payload211 = action.payload, payload = _action$payload211 === void 0 ? {} : _action$payload211, reducerName = action.meta.reducerName;
_context211.prev = 1;
_context211.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context211.next = 6;
return (0, _effects.call)(APIServices.getPayrollPeriodLines, payload);
case 6:
response = _context211.sent;
_context211.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context211.next = 16;
break;
case 11:
_context211.prev = 11;
_context211.t0 = _context211["catch"](1);
console.error(_context211.t0);
/* istanbul ignore next */
_context211.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context211.t0,
name: reducerName
});
case 16:
case "end":
return _context211.stop();
}
}, _marked211, null, [[1, 11]]);
}
function getPayrollServiceProvidersSagas(action) {
var _action$payload212, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getPayrollServiceProvidersSagas$(_context212) {
while (1) switch (_context212.prev = _context212.next) {
case 0:
_action$payload212 = action.payload, payload = _action$payload212 === void 0 ? {} : _action$payload212, reducerName = action.meta.reducerName;
_context212.prev = 1;
_context212.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context212.next = 6;
return (0, _effects.call)(APIServices.getPayrollServiceProviders, payload);
case 6:
response = _context212.sent;
_context212.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context212.next = 16;
break;
case 11:
_context212.prev = 11;
_context212.t0 = _context212["catch"](1);
console.error(_context212.t0);
/* istanbul ignore next */
_context212.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context212.t0,
name: reducerName
});
case 16:
case "end":
return _context212.stop();
}
}, _marked212, null, [[1, 11]]);
}
function getPayrollMaxEndDateSagas(action) {
var _action$payload213, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getPayrollMaxEndDateSagas$(_context213) {
while (1) switch (_context213.prev = _context213.next) {
case 0:
_action$payload213 = action.payload, payload = _action$payload213 === void 0 ? {} : _action$payload213, reducerName = action.meta.reducerName;
_context213.prev = 1;
_context213.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context213.next = 6;
return (0, _effects.call)(APIServices.getPayrollMaxEndDate, payload);
case 6:
response = _context213.sent;
_context213.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context213.next = 16;
break;
case 11:
_context213.prev = 11;
_context213.t0 = _context213["catch"](1);
console.error(_context213.t0);
/* istanbul ignore next */
_context213.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context213.t0,
name: reducerName
});
case 16:
case "end":
return _context213.stop();
}
}, _marked213, null, [[1, 11]]);
}
function postPayrollPeriodLinesGenerateSagas(action) {
var _action$payload214, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postPayrollPeriodLinesGenerateSagas$(_context214) {
while (1) switch (_context214.prev = _context214.next) {
case 0:
_action$payload214 = action.payload, payload = _action$payload214 === void 0 ? {} : _action$payload214, reducerName = action.meta.reducerName;
_context214.prev = 1;
_context214.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context214.next = 6;
return (0, _effects.call)(APIServices.postPayrollPeriodLinesGenerate, payload);
case 6:
response = _context214.sent;
_context214.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context214.next = 16;
break;
case 11:
_context214.prev = 11;
_context214.t0 = _context214["catch"](1);
console.error(_context214.t0);
/* istanbul ignore next */
_context214.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context214.t0,
name: reducerName
});
case 16:
case "end":
return _context214.stop();
}
}, _marked214, null, [[1, 11]]);
}
function getPayrollPeriodWorkersSagas(action) {
var _action$payload215, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getPayrollPeriodWorkersSagas$(_context215) {
while (1) switch (_context215.prev = _context215.next) {
case 0:
_action$payload215 = action.payload, payload = _action$payload215 === void 0 ? {} : _action$payload215, reducerName = action.meta.reducerName;
_context215.prev = 1;
_context215.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context215.next = 6;
return (0, _effects.call)(APIServices.getPayrollPeriodWorkers, payload);
case 6:
response = _context215.sent;
_context215.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context215.next = 16;
break;
case 11:
_context215.prev = 11;
_context215.t0 = _context215["catch"](1);
console.error(_context215.t0);
/* istanbul ignore next */
_context215.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context215.t0,
name: reducerName
});
case 16:
case "end":
return _context215.stop();
}
}, _marked215, null, [[1, 11]]);
}
function postPayrollPeriodWorkersSagas(action) {
var _action$payload216, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postPayrollPeriodWorkersSagas$(_context216) {
while (1) switch (_context216.prev = _context216.next) {
case 0:
_action$payload216 = action.payload, payload = _action$payload216 === void 0 ? {} : _action$payload216, reducerName = action.meta.reducerName;
_context216.prev = 1;
_context216.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context216.next = 6;
return (0, _effects.call)(APIServices.postPayrollPeriodWorkers, payload);
case 6:
response = _context216.sent;
_context216.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context216.next = 16;
break;
case 11:
_context216.prev = 11;
_context216.t0 = _context216["catch"](1);
console.error(_context216.t0);
/* istanbul ignore next */
_context216.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context216.t0,
name: reducerName
});
case 16:
case "end":
return _context216.stop();
}
}, _marked216, null, [[1, 11]]);
}
function deletePayrollPeriodWorkersSagas(action) {
var _action$payload217, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deletePayrollPeriodWorkersSagas$(_context217) {
while (1) switch (_context217.prev = _context217.next) {
case 0:
_action$payload217 = action.payload, payload = _action$payload217 === void 0 ? {} : _action$payload217, reducerName = action.meta.reducerName;
_context217.prev = 1;
_context217.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context217.next = 6;
return (0, _effects.call)(APIServices.deletePayrollPeriodWorkers, payload);
case 6:
response = _context217.sent;
_context217.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context217.next = 16;
break;
case 11:
_context217.prev = 11;
_context217.t0 = _context217["catch"](1);
console.error(_context217.t0);
/* istanbul ignore next */
_context217.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context217.t0,
name: reducerName
});
case 16:
case "end":
return _context217.stop();
}
}, _marked217, null, [[1, 11]]);
}
function getPayrollPeriodWorkerSearchSagas(action) {
var _action$payload218, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getPayrollPeriodWorkerSearchSagas$(_context218) {
while (1) switch (_context218.prev = _context218.next) {
case 0:
_action$payload218 = action.payload, payload = _action$payload218 === void 0 ? {} : _action$payload218, reducerName = action.meta.reducerName;
_context218.prev = 1;
_context218.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context218.next = 6;
return (0, _effects.call)(APIServices.getPayrollPeriodWorkerSearch, payload);
case 6:
response = _context218.sent;
_context218.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context218.next = 16;
break;
case 11:
_context218.prev = 11;
_context218.t0 = _context218["catch"](1);
console.error(_context218.t0);
/* istanbul ignore next */
_context218.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context218.t0,
name: reducerName
});
case 16:
case "end":
return _context218.stop();
}
}, _marked218, null, [[1, 11]]);
}
function getPlanActivitiesSagas(action) {
var _action$payload219, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getPlanActivitiesSagas$(_context219) {
while (1) switch (_context219.prev = _context219.next) {
case 0:
_action$payload219 = action.payload, payload = _action$payload219 === void 0 ? {} : _action$payload219, reducerName = action.meta.reducerName;
_context219.prev = 1;
_context219.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context219.next = 6;
return (0, _effects.call)(APIServices.getPlanActivities, payload);
case 6:
response = _context219.sent;
_context219.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context219.next = 16;
break;
case 11:
_context219.prev = 11;
_context219.t0 = _context219["catch"](1);
console.error(_context219.t0);
/* istanbul ignore next */
_context219.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context219.t0,
name: reducerName
});
case 16:
case "end":
return _context219.stop();
}
}, _marked219, null, [[1, 11]]);
}
function postPlanActivitiesSagas(action) {
var _action$payload220, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postPlanActivitiesSagas$(_context220) {
while (1) switch (_context220.prev = _context220.next) {
case 0:
_action$payload220 = action.payload, payload = _action$payload220 === void 0 ? {} : _action$payload220, reducerName = action.meta.reducerName;
_context220.prev = 1;
_context220.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context220.next = 6;
return (0, _effects.call)(APIServices.postPlanActivities, payload);
case 6:
response = _context220.sent;
_context220.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context220.next = 16;
break;
case 11:
_context220.prev = 11;
_context220.t0 = _context220["catch"](1);
console.error(_context220.t0);
/* istanbul ignore next */
_context220.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context220.t0,
name: reducerName
});
case 16:
case "end":
return _context220.stop();
}
}, _marked220, null, [[1, 11]]);
}
function putPlanActivitiesSagas(action) {
var _action$payload221, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putPlanActivitiesSagas$(_context221) {
while (1) switch (_context221.prev = _context221.next) {
case 0:
_action$payload221 = action.payload, payload = _action$payload221 === void 0 ? {} : _action$payload221, reducerName = action.meta.reducerName;
_context221.prev = 1;
_context221.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context221.next = 6;
return (0, _effects.call)(APIServices.putPlanActivities, payload);
case 6:
response = _context221.sent;
_context221.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context221.next = 16;
break;
case 11:
_context221.prev = 11;
_context221.t0 = _context221["catch"](1);
console.error(_context221.t0);
/* istanbul ignore next */
_context221.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context221.t0,
name: reducerName
});
case 16:
case "end":
return _context221.stop();
}
}, _marked221, null, [[1, 11]]);
}
function deletePlanActivitiesSagas(action) {
var _action$payload222, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deletePlanActivitiesSagas$(_context222) {
while (1) switch (_context222.prev = _context222.next) {
case 0:
_action$payload222 = action.payload, payload = _action$payload222 === void 0 ? {} : _action$payload222, reducerName = action.meta.reducerName;
_context222.prev = 1;
_context222.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context222.next = 6;
return (0, _effects.call)(APIServices.deletePlanActivities, payload);
case 6:
response = _context222.sent;
_context222.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context222.next = 16;
break;
case 11:
_context222.prev = 11;
_context222.t0 = _context222["catch"](1);
console.error(_context222.t0);
/* istanbul ignore next */
_context222.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context222.t0,
name: reducerName
});
case 16:
case "end":
return _context222.stop();
}
}, _marked222, null, [[1, 11]]);
}
function getPlanActivitiesByPlanSagas(action) {
var _action$payload223, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getPlanActivitiesByPlanSagas$(_context223) {
while (1) switch (_context223.prev = _context223.next) {
case 0:
_action$payload223 = action.payload, payload = _action$payload223 === void 0 ? {} : _action$payload223, reducerName = action.meta.reducerName;
_context223.prev = 1;
_context223.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context223.next = 6;
return (0, _effects.call)(APIServices.getPlanActivitiesByPlan, payload);
case 6:
response = _context223.sent;
_context223.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context223.next = 16;
break;
case 11:
_context223.prev = 11;
_context223.t0 = _context223["catch"](1);
console.error(_context223.t0);
/* istanbul ignore next */
_context223.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context223.t0,
name: reducerName
});
case 16:
case "end":
return _context223.stop();
}
}, _marked223, null, [[1, 11]]);
}
function getPlanActivityTotalWorkUnitsSagas(action) {
var _action$payload224, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getPlanActivityTotalWorkUnitsSagas$(_context224) {
while (1) switch (_context224.prev = _context224.next) {
case 0:
_action$payload224 = action.payload, payload = _action$payload224 === void 0 ? {} : _action$payload224, reducerName = action.meta.reducerName;
_context224.prev = 1;
_context224.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context224.next = 6;
return (0, _effects.call)(APIServices.getPlanActivityTotalWorkUnits, payload);
case 6:
response = _context224.sent;
_context224.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context224.next = 16;
break;
case 11:
_context224.prev = 11;
_context224.t0 = _context224["catch"](1);
console.error(_context224.t0);
/* istanbul ignore next */
_context224.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context224.t0,
name: reducerName
});
case 16:
case "end":
return _context224.stop();
}
}, _marked224, null, [[1, 11]]);
}
function putUpdatePlanActivityBlocksSagas(action) {
var _action$payload225, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putUpdatePlanActivityBlocksSagas$(_context225) {
while (1) switch (_context225.prev = _context225.next) {
case 0:
_action$payload225 = action.payload, payload = _action$payload225 === void 0 ? {} : _action$payload225, reducerName = action.meta.reducerName;
_context225.prev = 1;
_context225.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context225.next = 6;
return (0, _effects.call)(APIServices.putUpdatePlanActivityBlocks, payload);
case 6:
response = _context225.sent;
_context225.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context225.next = 16;
break;
case 11:
_context225.prev = 11;
_context225.t0 = _context225["catch"](1);
console.error(_context225.t0);
/* istanbul ignore next */
_context225.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context225.t0,
name: reducerName
});
case 16:
case "end":
return _context225.stop();
}
}, _marked225, null, [[1, 11]]);
}
function getPlanActivityBlocksSagas(action) {
var _action$payload226, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getPlanActivityBlocksSagas$(_context226) {
while (1) switch (_context226.prev = _context226.next) {
case 0:
_action$payload226 = action.payload, payload = _action$payload226 === void 0 ? {} : _action$payload226, reducerName = action.meta.reducerName;
_context226.prev = 1;
_context226.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context226.next = 6;
return (0, _effects.call)(APIServices.getPlanActivityBlocks, payload);
case 6:
response = _context226.sent;
_context226.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context226.next = 16;
break;
case 11:
_context226.prev = 11;
_context226.t0 = _context226["catch"](1);
console.error(_context226.t0);
/* istanbul ignore next */
_context226.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context226.t0,
name: reducerName
});
case 16:
case "end":
return _context226.stop();
}
}, _marked226, null, [[1, 11]]);
}
function getPlanBlocksSagas(action) {
var _action$payload227, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getPlanBlocksSagas$(_context227) {
while (1) switch (_context227.prev = _context227.next) {
case 0:
_action$payload227 = action.payload, payload = _action$payload227 === void 0 ? {} : _action$payload227, reducerName = action.meta.reducerName;
_context227.prev = 1;
_context227.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context227.next = 6;
return (0, _effects.call)(APIServices.getPlanBlocks, payload);
case 6:
response = _context227.sent;
_context227.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context227.next = 16;
break;
case 11:
_context227.prev = 11;
_context227.t0 = _context227["catch"](1);
console.error(_context227.t0);
/* istanbul ignore next */
_context227.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context227.t0,
name: reducerName
});
case 16:
case "end":
return _context227.stop();
}
}, _marked227, null, [[1, 11]]);
}
function postPlanBlocksSagas(action) {
var _action$payload228, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postPlanBlocksSagas$(_context228) {
while (1) switch (_context228.prev = _context228.next) {
case 0:
_action$payload228 = action.payload, payload = _action$payload228 === void 0 ? {} : _action$payload228, reducerName = action.meta.reducerName;
_context228.prev = 1;
_context228.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context228.next = 6;
return (0, _effects.call)(APIServices.postPlanBlocks, payload);
case 6:
response = _context228.sent;
_context228.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context228.next = 16;
break;
case 11:
_context228.prev = 11;
_context228.t0 = _context228["catch"](1);
console.error(_context228.t0);
/* istanbul ignore next */
_context228.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context228.t0,
name: reducerName
});
case 16:
case "end":
return _context228.stop();
}
}, _marked228, null, [[1, 11]]);
}
function putPlanBlocksSagas(action) {
var _action$payload229, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putPlanBlocksSagas$(_context229) {
while (1) switch (_context229.prev = _context229.next) {
case 0:
_action$payload229 = action.payload, payload = _action$payload229 === void 0 ? {} : _action$payload229, reducerName = action.meta.reducerName;
_context229.prev = 1;
_context229.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context229.next = 6;
return (0, _effects.call)(APIServices.putPlanBlocks, payload);
case 6:
response = _context229.sent;
_context229.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context229.next = 16;
break;
case 11:
_context229.prev = 11;
_context229.t0 = _context229["catch"](1);
console.error(_context229.t0);
/* istanbul ignore next */
_context229.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context229.t0,
name: reducerName
});
case 16:
case "end":
return _context229.stop();
}
}, _marked229, null, [[1, 11]]);
}
function deletePlanBlocksSagas(action) {
var _action$payload230, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deletePlanBlocksSagas$(_context230) {
while (1) switch (_context230.prev = _context230.next) {
case 0:
_action$payload230 = action.payload, payload = _action$payload230 === void 0 ? {} : _action$payload230, reducerName = action.meta.reducerName;
_context230.prev = 1;
_context230.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context230.next = 6;
return (0, _effects.call)(APIServices.deletePlanBlocks, payload);
case 6:
response = _context230.sent;
_context230.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context230.next = 16;
break;
case 11:
_context230.prev = 11;
_context230.t0 = _context230["catch"](1);
console.error(_context230.t0);
/* istanbul ignore next */
_context230.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context230.t0,
name: reducerName
});
case 16:
case "end":
return _context230.stop();
}
}, _marked230, null, [[1, 11]]);
}
function getGetAvailablePlanBlocksSagas(action) {
var _action$payload231, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getGetAvailablePlanBlocksSagas$(_context231) {
while (1) switch (_context231.prev = _context231.next) {
case 0:
_action$payload231 = action.payload, payload = _action$payload231 === void 0 ? {} : _action$payload231, reducerName = action.meta.reducerName;
_context231.prev = 1;
_context231.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context231.next = 6;
return (0, _effects.call)(APIServices.getGetAvailablePlanBlocks, payload);
case 6:
response = _context231.sent;
_context231.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context231.next = 16;
break;
case 11:
_context231.prev = 11;
_context231.t0 = _context231["catch"](1);
console.error(_context231.t0);
/* istanbul ignore next */
_context231.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context231.t0,
name: reducerName
});
case 16:
case "end":
return _context231.stop();
}
}, _marked231, null, [[1, 11]]);
}
function deleteBulkPlanBlocksSagas(action) {
var _action$payload232, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteBulkPlanBlocksSagas$(_context232) {
while (1) switch (_context232.prev = _context232.next) {
case 0:
_action$payload232 = action.payload, payload = _action$payload232 === void 0 ? {} : _action$payload232, reducerName = action.meta.reducerName;
_context232.prev = 1;
_context232.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context232.next = 6;
return (0, _effects.call)(APIServices.deleteBulkPlanBlocks, payload);
case 6:
response = _context232.sent;
_context232.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context232.next = 16;
break;
case 11:
_context232.prev = 11;
_context232.t0 = _context232["catch"](1);
console.error(_context232.t0);
/* istanbul ignore next */
_context232.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context232.t0,
name: reducerName
});
case 16:
case "end":
return _context232.stop();
}
}, _marked232, null, [[1, 11]]);
}
function getPlansSagas(action) {
var _action$payload233, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getPlansSagas$(_context233) {
while (1) switch (_context233.prev = _context233.next) {
case 0:
_action$payload233 = action.payload, payload = _action$payload233 === void 0 ? {} : _action$payload233, reducerName = action.meta.reducerName;
_context233.prev = 1;
_context233.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context233.next = 6;
return (0, _effects.call)(APIServices.getPlans, payload);
case 6:
response = _context233.sent;
_context233.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context233.next = 16;
break;
case 11:
_context233.prev = 11;
_context233.t0 = _context233["catch"](1);
console.error(_context233.t0);
/* istanbul ignore next */
_context233.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context233.t0,
name: reducerName
});
case 16:
case "end":
return _context233.stop();
}
}, _marked233, null, [[1, 11]]);
}
function postPlansSagas(action) {
var _action$payload234, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postPlansSagas$(_context234) {
while (1) switch (_context234.prev = _context234.next) {
case 0:
_action$payload234 = action.payload, payload = _action$payload234 === void 0 ? {} : _action$payload234, reducerName = action.meta.reducerName;
_context234.prev = 1;
_context234.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context234.next = 6;
return (0, _effects.call)(APIServices.postPlans, payload);
case 6:
response = _context234.sent;
_context234.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context234.next = 16;
break;
case 11:
_context234.prev = 11;
_context234.t0 = _context234["catch"](1);
console.error(_context234.t0);
/* istanbul ignore next */
_context234.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context234.t0,
name: reducerName
});
case 16:
case "end":
return _context234.stop();
}
}, _marked234, null, [[1, 11]]);
}
function putPlansSagas(action) {
var _action$payload235, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putPlansSagas$(_context235) {
while (1) switch (_context235.prev = _context235.next) {
case 0:
_action$payload235 = action.payload, payload = _action$payload235 === void 0 ? {} : _action$payload235, reducerName = action.meta.reducerName;
_context235.prev = 1;
_context235.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context235.next = 6;
return (0, _effects.call)(APIServices.putPlans, payload);
case 6:
response = _context235.sent;
_context235.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context235.next = 16;
break;
case 11:
_context235.prev = 11;
_context235.t0 = _context235["catch"](1);
console.error(_context235.t0);
/* istanbul ignore next */
_context235.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context235.t0,
name: reducerName
});
case 16:
case "end":
return _context235.stop();
}
}, _marked235, null, [[1, 11]]);
}
function deletePlansSagas(action) {
var _action$payload236, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deletePlansSagas$(_context236) {
while (1) switch (_context236.prev = _context236.next) {
case 0:
_action$payload236 = action.payload, payload = _action$payload236 === void 0 ? {} : _action$payload236, reducerName = action.meta.reducerName;
_context236.prev = 1;
_context236.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context236.next = 6;
return (0, _effects.call)(APIServices.deletePlans, payload);
case 6:
response = _context236.sent;
_context236.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context236.next = 16;
break;
case 11:
_context236.prev = 11;
_context236.t0 = _context236["catch"](1);
console.error(_context236.t0);
/* istanbul ignore next */
_context236.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context236.t0,
name: reducerName
});
case 16:
case "end":
return _context236.stop();
}
}, _marked236, null, [[1, 11]]);
}
function getprocessblocksamplingSagas(action) {
var _action$payload237, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getprocessblocksamplingSagas$(_context237) {
while (1) switch (_context237.prev = _context237.next) {
case 0:
_action$payload237 = action.payload, payload = _action$payload237 === void 0 ? {} : _action$payload237, reducerName = action.meta.reducerName;
_context237.prev = 1;
_context237.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context237.next = 6;
return (0, _effects.call)(APIServices.getprocessblocksampling, payload);
case 6:
response = _context237.sent;
_context237.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context237.next = 16;
break;
case 11:
_context237.prev = 11;
_context237.t0 = _context237["catch"](1);
console.error(_context237.t0);
/* istanbul ignore next */
_context237.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context237.t0,
name: reducerName
});
case 16:
case "end":
return _context237.stop();
}
}, _marked237, null, [[1, 11]]);
}
function postprocessblocksamplingSagas(action) {
var _action$payload238, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postprocessblocksamplingSagas$(_context238) {
while (1) switch (_context238.prev = _context238.next) {
case 0:
_action$payload238 = action.payload, payload = _action$payload238 === void 0 ? {} : _action$payload238, reducerName = action.meta.reducerName;
_context238.prev = 1;
_context238.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context238.next = 6;
return (0, _effects.call)(APIServices.postprocessblocksampling, payload);
case 6:
response = _context238.sent;
_context238.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context238.next = 16;
break;
case 11:
_context238.prev = 11;
_context238.t0 = _context238["catch"](1);
console.error(_context238.t0);
/* istanbul ignore next */
_context238.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context238.t0,
name: reducerName
});
case 16:
case "end":
return _context238.stop();
}
}, _marked238, null, [[1, 11]]);
}
function getReportsSagas(action) {
var _action$payload239, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getReportsSagas$(_context239) {
while (1) switch (_context239.prev = _context239.next) {
case 0:
_action$payload239 = action.payload, payload = _action$payload239 === void 0 ? {} : _action$payload239, reducerName = action.meta.reducerName;
_context239.prev = 1;
_context239.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context239.next = 6;
return (0, _effects.call)(APIServices.getReports, payload);
case 6:
response = _context239.sent;
_context239.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context239.next = 16;
break;
case 11:
_context239.prev = 11;
_context239.t0 = _context239["catch"](1);
console.error(_context239.t0);
/* istanbul ignore next */
_context239.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context239.t0,
name: reducerName
});
case 16:
case "end":
return _context239.stop();
}
}, _marked239, null, [[1, 11]]);
}
function postReportFileSagas(action) {
var _action$payload240, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postReportFileSagas$(_context240) {
while (1) switch (_context240.prev = _context240.next) {
case 0:
_action$payload240 = action.payload, payload = _action$payload240 === void 0 ? {} : _action$payload240, reducerName = action.meta.reducerName;
_context240.prev = 1;
_context240.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context240.next = 6;
return (0, _effects.call)(APIServices.postReportFile, payload);
case 6:
response = _context240.sent;
_context240.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context240.next = 16;
break;
case 11:
_context240.prev = 11;
_context240.t0 = _context240["catch"](1);
console.error(_context240.t0);
/* istanbul ignore next */
_context240.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context240.t0,
name: reducerName
});
case 16:
case "end":
return _context240.stop();
}
}, _marked240, null, [[1, 11]]);
}
function postReportFiltersSagas(action) {
var _action$payload241, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postReportFiltersSagas$(_context241) {
while (1) switch (_context241.prev = _context241.next) {
case 0:
_action$payload241 = action.payload, payload = _action$payload241 === void 0 ? {} : _action$payload241, reducerName = action.meta.reducerName;
_context241.prev = 1;
_context241.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context241.next = 6;
return (0, _effects.call)(APIServices.postReportFilters, payload);
case 6:
response = _context241.sent;
_context241.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context241.next = 16;
break;
case 11:
_context241.prev = 11;
_context241.t0 = _context241["catch"](1);
console.error(_context241.t0);
/* istanbul ignore next */
_context241.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context241.t0,
name: reducerName
});
case 16:
case "end":
return _context241.stop();
}
}, _marked241, null, [[1, 11]]);
}
function getGetTokenSagas(action) {
var _action$payload242, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getGetTokenSagas$(_context242) {
while (1) switch (_context242.prev = _context242.next) {
case 0:
_action$payload242 = action.payload, payload = _action$payload242 === void 0 ? {} : _action$payload242, reducerName = action.meta.reducerName;
_context242.prev = 1;
_context242.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context242.next = 6;
return (0, _effects.call)(APIServices.getGetToken, payload);
case 6:
response = _context242.sent;
_context242.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context242.next = 16;
break;
case 11:
_context242.prev = 11;
_context242.t0 = _context242["catch"](1);
console.error(_context242.t0);
/* istanbul ignore next */
_context242.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context242.t0,
name: reducerName
});
case 16:
case "end":
return _context242.stop();
}
}, _marked242, null, [[1, 11]]);
}
function getSampleHeadersSagas(action) {
var _action$payload243, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getSampleHeadersSagas$(_context243) {
while (1) switch (_context243.prev = _context243.next) {
case 0:
_action$payload243 = action.payload, payload = _action$payload243 === void 0 ? {} : _action$payload243, reducerName = action.meta.reducerName;
_context243.prev = 1;
_context243.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context243.next = 6;
return (0, _effects.call)(APIServices.getSampleHeaders, payload);
case 6:
response = _context243.sent;
_context243.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context243.next = 16;
break;
case 11:
_context243.prev = 11;
_context243.t0 = _context243["catch"](1);
console.error(_context243.t0);
/* istanbul ignore next */
_context243.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context243.t0,
name: reducerName
});
case 16:
case "end":
return _context243.stop();
}
}, _marked243, null, [[1, 11]]);
}
function putSampleHeaderStatusSagas(action) {
var _action$payload244, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putSampleHeaderStatusSagas$(_context244) {
while (1) switch (_context244.prev = _context244.next) {
case 0:
_action$payload244 = action.payload, payload = _action$payload244 === void 0 ? {} : _action$payload244, reducerName = action.meta.reducerName;
_context244.prev = 1;
_context244.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context244.next = 6;
return (0, _effects.call)(APIServices.putSampleHeaderStatus, payload);
case 6:
response = _context244.sent;
_context244.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context244.next = 16;
break;
case 11:
_context244.prev = 11;
_context244.t0 = _context244["catch"](1);
console.error(_context244.t0);
/* istanbul ignore next */
_context244.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context244.t0,
name: reducerName
});
case 16:
case "end":
return _context244.stop();
}
}, _marked244, null, [[1, 11]]);
}
function putSampleHeaderInstructionsSagas(action) {
var _action$payload245, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putSampleHeaderInstructionsSagas$(_context245) {
while (1) switch (_context245.prev = _context245.next) {
case 0:
_action$payload245 = action.payload, payload = _action$payload245 === void 0 ? {} : _action$payload245, reducerName = action.meta.reducerName;
_context245.prev = 1;
_context245.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context245.next = 6;
return (0, _effects.call)(APIServices.putSampleHeaderInstructions, payload);
case 6:
response = _context245.sent;
_context245.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context245.next = 16;
break;
case 11:
_context245.prev = 11;
_context245.t0 = _context245["catch"](1);
console.error(_context245.t0);
/* istanbul ignore next */
_context245.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context245.t0,
name: reducerName
});
case 16:
case "end":
return _context245.stop();
}
}, _marked245, null, [[1, 11]]);
}
function putRecommendedSampleSizeSagas(action) {
var _action$payload246, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putRecommendedSampleSizeSagas$(_context246) {
while (1) switch (_context246.prev = _context246.next) {
case 0:
_action$payload246 = action.payload, payload = _action$payload246 === void 0 ? {} : _action$payload246, reducerName = action.meta.reducerName;
_context246.prev = 1;
_context246.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context246.next = 6;
return (0, _effects.call)(APIServices.putRecommendedSampleSize, payload);
case 6:
response = _context246.sent;
_context246.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context246.next = 16;
break;
case 11:
_context246.prev = 11;
_context246.t0 = _context246["catch"](1);
console.error(_context246.t0);
/* istanbul ignore next */
_context246.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context246.t0,
name: reducerName
});
case 16:
case "end":
return _context246.stop();
}
}, _marked246, null, [[1, 11]]);
}
function deleteSampleHeaderSagas(action) {
var _action$payload247, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteSampleHeaderSagas$(_context247) {
while (1) switch (_context247.prev = _context247.next) {
case 0:
_action$payload247 = action.payload, payload = _action$payload247 === void 0 ? {} : _action$payload247, reducerName = action.meta.reducerName;
_context247.prev = 1;
_context247.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context247.next = 6;
return (0, _effects.call)(APIServices.deleteSampleHeader, payload);
case 6:
response = _context247.sent;
_context247.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context247.next = 16;
break;
case 11:
_context247.prev = 11;
_context247.t0 = _context247["catch"](1);
console.error(_context247.t0);
/* istanbul ignore next */
_context247.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context247.t0,
name: reducerName
});
case 16:
case "end":
return _context247.stop();
}
}, _marked247, null, [[1, 11]]);
}
function postSampleHeaderSagas(action) {
var _action$payload248, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postSampleHeaderSagas$(_context248) {
while (1) switch (_context248.prev = _context248.next) {
case 0:
_action$payload248 = action.payload, payload = _action$payload248 === void 0 ? {} : _action$payload248, reducerName = action.meta.reducerName;
_context248.prev = 1;
_context248.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context248.next = 6;
return (0, _effects.call)(APIServices.postSampleHeader, payload);
case 6:
response = _context248.sent;
_context248.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context248.next = 16;
break;
case 11:
_context248.prev = 11;
_context248.t0 = _context248["catch"](1);
console.error(_context248.t0);
/* istanbul ignore next */
_context248.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context248.t0,
name: reducerName
});
case 16:
case "end":
return _context248.stop();
}
}, _marked248, null, [[1, 11]]);
}
function putSampleHeaderSagas(action) {
var _action$payload249, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putSampleHeaderSagas$(_context249) {
while (1) switch (_context249.prev = _context249.next) {
case 0:
_action$payload249 = action.payload, payload = _action$payload249 === void 0 ? {} : _action$payload249, reducerName = action.meta.reducerName;
_context249.prev = 1;
_context249.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context249.next = 6;
return (0, _effects.call)(APIServices.putSampleHeader, payload);
case 6:
response = _context249.sent;
_context249.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context249.next = 16;
break;
case 11:
_context249.prev = 11;
_context249.t0 = _context249["catch"](1);
console.error(_context249.t0);
/* istanbul ignore next */
_context249.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context249.t0,
name: reducerName
});
case 16:
case "end":
return _context249.stop();
}
}, _marked249, null, [[1, 11]]);
}
function getSampleIdentitySagas(action) {
var _action$payload250, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getSampleIdentitySagas$(_context250) {
while (1) switch (_context250.prev = _context250.next) {
case 0:
_action$payload250 = action.payload, payload = _action$payload250 === void 0 ? {} : _action$payload250, reducerName = action.meta.reducerName;
_context250.prev = 1;
_context250.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context250.next = 6;
return (0, _effects.call)(APIServices.getSampleIdentity, payload);
case 6:
response = _context250.sent;
_context250.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context250.next = 16;
break;
case 11:
_context250.prev = 11;
_context250.t0 = _context250["catch"](1);
console.error(_context250.t0);
/* istanbul ignore next */
_context250.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context250.t0,
name: reducerName
});
case 16:
case "end":
return _context250.stop();
}
}, _marked250, null, [[1, 11]]);
}
function postSampleIdentitySagas(action) {
var _action$payload251, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postSampleIdentitySagas$(_context251) {
while (1) switch (_context251.prev = _context251.next) {
case 0:
_action$payload251 = action.payload, payload = _action$payload251 === void 0 ? {} : _action$payload251, reducerName = action.meta.reducerName;
_context251.prev = 1;
_context251.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context251.next = 6;
return (0, _effects.call)(APIServices.postSampleIdentity, payload);
case 6:
response = _context251.sent;
_context251.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context251.next = 16;
break;
case 11:
_context251.prev = 11;
_context251.t0 = _context251["catch"](1);
console.error(_context251.t0);
/* istanbul ignore next */
_context251.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context251.t0,
name: reducerName
});
case 16:
case "end":
return _context251.stop();
}
}, _marked251, null, [[1, 11]]);
}
function getSampleHeaderLinesSagas(action) {
var _action$payload252, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getSampleHeaderLinesSagas$(_context252) {
while (1) switch (_context252.prev = _context252.next) {
case 0:
_action$payload252 = action.payload, payload = _action$payload252 === void 0 ? {} : _action$payload252, reducerName = action.meta.reducerName;
_context252.prev = 1;
_context252.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context252.next = 6;
return (0, _effects.call)(APIServices.getSampleHeaderLines, payload);
case 6:
response = _context252.sent;
_context252.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context252.next = 16;
break;
case 11:
_context252.prev = 11;
_context252.t0 = _context252["catch"](1);
console.error(_context252.t0);
/* istanbul ignore next */
_context252.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context252.t0,
name: reducerName
});
case 16:
case "end":
return _context252.stop();
}
}, _marked252, null, [[1, 11]]);
}
function putSampleHeaderLinesSagas(action) {
var _action$payload253, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putSampleHeaderLinesSagas$(_context253) {
while (1) switch (_context253.prev = _context253.next) {
case 0:
_action$payload253 = action.payload, payload = _action$payload253 === void 0 ? {} : _action$payload253, reducerName = action.meta.reducerName;
_context253.prev = 1;
_context253.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context253.next = 6;
return (0, _effects.call)(APIServices.putSampleHeaderLines, payload);
case 6:
response = _context253.sent;
_context253.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context253.next = 16;
break;
case 11:
_context253.prev = 11;
_context253.t0 = _context253["catch"](1);
console.error(_context253.t0);
/* istanbul ignore next */
_context253.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context253.t0,
name: reducerName
});
case 16:
case "end":
return _context253.stop();
}
}, _marked253, null, [[1, 11]]);
}
function putMoveSampleLinesSagas(action) {
var _action$payload254, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putMoveSampleLinesSagas$(_context254) {
while (1) switch (_context254.prev = _context254.next) {
case 0:
_action$payload254 = action.payload, payload = _action$payload254 === void 0 ? {} : _action$payload254, reducerName = action.meta.reducerName;
_context254.prev = 1;
_context254.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context254.next = 6;
return (0, _effects.call)(APIServices.putMoveSampleLines, payload);
case 6:
response = _context254.sent;
_context254.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context254.next = 16;
break;
case 11:
_context254.prev = 11;
_context254.t0 = _context254["catch"](1);
console.error(_context254.t0);
/* istanbul ignore next */
_context254.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context254.t0,
name: reducerName
});
case 16:
case "end":
return _context254.stop();
}
}, _marked254, null, [[1, 11]]);
}
function postAssignSampleHeadersSagas(action) {
var _action$payload255, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postAssignSampleHeadersSagas$(_context255) {
while (1) switch (_context255.prev = _context255.next) {
case 0:
_action$payload255 = action.payload, payload = _action$payload255 === void 0 ? {} : _action$payload255, reducerName = action.meta.reducerName;
_context255.prev = 1;
_context255.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context255.next = 6;
return (0, _effects.call)(APIServices.postAssignSampleHeaders, payload);
case 6:
response = _context255.sent;
_context255.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context255.next = 16;
break;
case 11:
_context255.prev = 11;
_context255.t0 = _context255["catch"](1);
console.error(_context255.t0);
/* istanbul ignore next */
_context255.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context255.t0,
name: reducerName
});
case 16:
case "end":
return _context255.stop();
}
}, _marked255, null, [[1, 11]]);
}
function postSamplingUsersSagas(action) {
var _action$payload256, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postSamplingUsersSagas$(_context256) {
while (1) switch (_context256.prev = _context256.next) {
case 0:
_action$payload256 = action.payload, payload = _action$payload256 === void 0 ? {} : _action$payload256, reducerName = action.meta.reducerName;
_context256.prev = 1;
_context256.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context256.next = 6;
return (0, _effects.call)(APIServices.postSamplingUsers, payload);
case 6:
response = _context256.sent;
_context256.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context256.next = 16;
break;
case 11:
_context256.prev = 11;
_context256.t0 = _context256["catch"](1);
console.error(_context256.t0);
/* istanbul ignore next */
_context256.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context256.t0,
name: reducerName
});
case 16:
case "end":
return _context256.stop();
}
}, _marked256, null, [[1, 11]]);
}
function postDeAssignSampleHeadersSagas(action) {
var _action$payload257, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postDeAssignSampleHeadersSagas$(_context257) {
while (1) switch (_context257.prev = _context257.next) {
case 0:
_action$payload257 = action.payload, payload = _action$payload257 === void 0 ? {} : _action$payload257, reducerName = action.meta.reducerName;
_context257.prev = 1;
_context257.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context257.next = 6;
return (0, _effects.call)(APIServices.postDeAssignSampleHeaders, payload);
case 6:
response = _context257.sent;
_context257.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context257.next = 16;
break;
case 11:
_context257.prev = 11;
_context257.t0 = _context257["catch"](1);
console.error(_context257.t0);
/* istanbul ignore next */
_context257.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context257.t0,
name: reducerName
});
case 16:
case "end":
return _context257.stop();
}
}, _marked257, null, [[1, 11]]);
}
function postSampleSetsSagas(action) {
var _action$payload258, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postSampleSetsSagas$(_context258) {
while (1) switch (_context258.prev = _context258.next) {
case 0:
_action$payload258 = action.payload, payload = _action$payload258 === void 0 ? {} : _action$payload258, reducerName = action.meta.reducerName;
_context258.prev = 1;
_context258.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context258.next = 6;
return (0, _effects.call)(APIServices.postSampleSets, payload);
case 6:
response = _context258.sent;
_context258.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context258.next = 16;
break;
case 11:
_context258.prev = 11;
_context258.t0 = _context258["catch"](1);
console.error(_context258.t0);
/* istanbul ignore next */
_context258.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context258.t0,
name: reducerName
});
case 16:
case "end":
return _context258.stop();
}
}, _marked258, null, [[1, 11]]);
}
function getSampleBlockVintagesSagas(action) {
var _action$payload259, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getSampleBlockVintagesSagas$(_context259) {
while (1) switch (_context259.prev = _context259.next) {
case 0:
_action$payload259 = action.payload, payload = _action$payload259 === void 0 ? {} : _action$payload259, reducerName = action.meta.reducerName;
_context259.prev = 1;
_context259.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context259.next = 6;
return (0, _effects.call)(APIServices.getSampleBlockVintages, payload);
case 6:
response = _context259.sent;
_context259.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context259.next = 16;
break;
case 11:
_context259.prev = 11;
_context259.t0 = _context259["catch"](1);
console.error(_context259.t0);
/* istanbul ignore next */
_context259.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context259.t0,
name: reducerName
});
case 16:
case "end":
return _context259.stop();
}
}, _marked259, null, [[1, 11]]);
}
function postSampleSetSagas(action) {
var _action$payload260, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postSampleSetSagas$(_context260) {
while (1) switch (_context260.prev = _context260.next) {
case 0:
_action$payload260 = action.payload, payload = _action$payload260 === void 0 ? {} : _action$payload260, reducerName = action.meta.reducerName;
_context260.prev = 1;
_context260.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context260.next = 6;
return (0, _effects.call)(APIServices.postSampleSet, payload);
case 6:
response = _context260.sent;
_context260.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context260.next = 16;
break;
case 11:
_context260.prev = 11;
_context260.t0 = _context260["catch"](1);
console.error(_context260.t0);
/* istanbul ignore next */
_context260.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context260.t0,
name: reducerName
});
case 16:
case "end":
return _context260.stop();
}
}, _marked260, null, [[1, 11]]);
}
function deleteSampleSetSagas(action) {
var _action$payload261, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteSampleSetSagas$(_context261) {
while (1) switch (_context261.prev = _context261.next) {
case 0:
_action$payload261 = action.payload, payload = _action$payload261 === void 0 ? {} : _action$payload261, reducerName = action.meta.reducerName;
_context261.prev = 1;
_context261.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context261.next = 6;
return (0, _effects.call)(APIServices.deleteSampleSet, payload);
case 6:
response = _context261.sent;
_context261.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context261.next = 16;
break;
case 11:
_context261.prev = 11;
_context261.t0 = _context261["catch"](1);
console.error(_context261.t0);
/* istanbul ignore next */
_context261.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context261.t0,
name: reducerName
});
case 16:
case "end":
return _context261.stop();
}
}, _marked261, null, [[1, 11]]);
}
function postSearchIdentitySagas(action) {
var _action$payload262, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postSearchIdentitySagas$(_context262) {
while (1) switch (_context262.prev = _context262.next) {
case 0:
_action$payload262 = action.payload, payload = _action$payload262 === void 0 ? {} : _action$payload262, reducerName = action.meta.reducerName;
_context262.prev = 1;
_context262.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context262.next = 6;
return (0, _effects.call)(APIServices.postSearchIdentity, payload);
case 6:
response = _context262.sent;
_context262.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context262.next = 16;
break;
case 11:
_context262.prev = 11;
_context262.t0 = _context262["catch"](1);
console.error(_context262.t0);
/* istanbul ignore next */
_context262.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context262.t0,
name: reducerName
});
case 16:
case "end":
return _context262.stop();
}
}, _marked262, null, [[1, 11]]);
}
function postSearchPlansSagas(action) {
var _action$payload263, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postSearchPlansSagas$(_context263) {
while (1) switch (_context263.prev = _context263.next) {
case 0:
_action$payload263 = action.payload, payload = _action$payload263 === void 0 ? {} : _action$payload263, reducerName = action.meta.reducerName;
_context263.prev = 1;
_context263.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context263.next = 6;
return (0, _effects.call)(APIServices.postSearchPlans, payload);
case 6:
response = _context263.sent;
_context263.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context263.next = 16;
break;
case 11:
_context263.prev = 11;
_context263.t0 = _context263["catch"](1);
console.error(_context263.t0);
/* istanbul ignore next */
_context263.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context263.t0,
name: reducerName
});
case 16:
case "end":
return _context263.stop();
}
}, _marked263, null, [[1, 11]]);
}
function postSearchSupplyContractsSagas(action) {
var _action$payload264, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postSearchSupplyContractsSagas$(_context264) {
while (1) switch (_context264.prev = _context264.next) {
case 0:
_action$payload264 = action.payload, payload = _action$payload264 === void 0 ? {} : _action$payload264, reducerName = action.meta.reducerName;
_context264.prev = 1;
_context264.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context264.next = 6;
return (0, _effects.call)(APIServices.postSearchSupplyContracts, payload);
case 6:
response = _context264.sent;
_context264.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context264.next = 16;
break;
case 11:
_context264.prev = 11;
_context264.t0 = _context264["catch"](1);
console.error(_context264.t0);
/* istanbul ignore next */
_context264.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context264.t0,
name: reducerName
});
case 16:
case "end":
return _context264.stop();
}
}, _marked264, null, [[1, 11]]);
}
function postSearchJobsSagas(action) {
var _action$payload265, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postSearchJobsSagas$(_context265) {
while (1) switch (_context265.prev = _context265.next) {
case 0:
_action$payload265 = action.payload, payload = _action$payload265 === void 0 ? {} : _action$payload265, reducerName = action.meta.reducerName;
_context265.prev = 1;
_context265.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context265.next = 6;
return (0, _effects.call)(APIServices.postSearchJobs, payload);
case 6:
response = _context265.sent;
_context265.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context265.next = 16;
break;
case 11:
_context265.prev = 11;
_context265.t0 = _context265["catch"](1);
console.error(_context265.t0);
/* istanbul ignore next */
_context265.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context265.t0,
name: reducerName
});
case 16:
case "end":
return _context265.stop();
}
}, _marked265, null, [[1, 11]]);
}
function postSearchTrackingVineyardsSagas(action) {
var _action$payload266, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postSearchTrackingVineyardsSagas$(_context266) {
while (1) switch (_context266.prev = _context266.next) {
case 0:
_action$payload266 = action.payload, payload = _action$payload266 === void 0 ? {} : _action$payload266, reducerName = action.meta.reducerName;
_context266.prev = 1;
_context266.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context266.next = 6;
return (0, _effects.call)(APIServices.postSearchTrackingVineyards, payload);
case 6:
response = _context266.sent;
_context266.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context266.next = 16;
break;
case 11:
_context266.prev = 11;
_context266.t0 = _context266["catch"](1);
console.error(_context266.t0);
/* istanbul ignore next */
_context266.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context266.t0,
name: reducerName
});
case 16:
case "end":
return _context266.stop();
}
}, _marked266, null, [[1, 11]]);
}
function postSearchTrackingBlockVintagesSagas(action) {
var _action$payload267, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postSearchTrackingBlockVintagesSagas$(_context267) {
while (1) switch (_context267.prev = _context267.next) {
case 0:
_action$payload267 = action.payload, payload = _action$payload267 === void 0 ? {} : _action$payload267, reducerName = action.meta.reducerName;
_context267.prev = 1;
_context267.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context267.next = 6;
return (0, _effects.call)(APIServices.postSearchTrackingBlockVintages, payload);
case 6:
response = _context267.sent;
_context267.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context267.next = 16;
break;
case 11:
_context267.prev = 11;
_context267.t0 = _context267["catch"](1);
console.error(_context267.t0);
/* istanbul ignore next */
_context267.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context267.t0,
name: reducerName
});
case 16:
case "end":
return _context267.stop();
}
}, _marked267, null, [[1, 11]]);
}
function postQuickSearchSagas(action) {
var _action$payload268, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postQuickSearchSagas$(_context268) {
while (1) switch (_context268.prev = _context268.next) {
case 0:
_action$payload268 = action.payload, payload = _action$payload268 === void 0 ? {} : _action$payload268, reducerName = action.meta.reducerName;
_context268.prev = 1;
_context268.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context268.next = 6;
return (0, _effects.call)(APIServices.postQuickSearch, payload);
case 6:
response = _context268.sent;
_context268.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context268.next = 16;
break;
case 11:
_context268.prev = 11;
_context268.t0 = _context268["catch"](1);
console.error(_context268.t0);
/* istanbul ignore next */
_context268.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context268.t0,
name: reducerName
});
case 16:
case "end":
return _context268.stop();
}
}, _marked268, null, [[1, 11]]);
}
function getVineyardBlocksGeometrySagas(action) {
var _action$payload269, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getVineyardBlocksGeometrySagas$(_context269) {
while (1) switch (_context269.prev = _context269.next) {
case 0:
_action$payload269 = action.payload, payload = _action$payload269 === void 0 ? {} : _action$payload269, reducerName = action.meta.reducerName;
_context269.prev = 1;
_context269.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context269.next = 6;
return (0, _effects.call)(APIServices.getVineyardBlocksGeometry, payload);
case 6:
response = _context269.sent;
_context269.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context269.next = 16;
break;
case 11:
_context269.prev = 11;
_context269.t0 = _context269["catch"](1);
console.error(_context269.t0);
/* istanbul ignore next */
_context269.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context269.t0,
name: reducerName
});
case 16:
case "end":
return _context269.stop();
}
}, _marked269, null, [[1, 11]]);
}
function getVineyardGeometrySagas(action) {
var _action$payload270, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getVineyardGeometrySagas$(_context270) {
while (1) switch (_context270.prev = _context270.next) {
case 0:
_action$payload270 = action.payload, payload = _action$payload270 === void 0 ? {} : _action$payload270, reducerName = action.meta.reducerName;
_context270.prev = 1;
_context270.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context270.next = 6;
return (0, _effects.call)(APIServices.getVineyardGeometry, payload);
case 6:
response = _context270.sent;
_context270.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context270.next = 16;
break;
case 11:
_context270.prev = 11;
_context270.t0 = _context270["catch"](1);
console.error(_context270.t0);
/* istanbul ignore next */
_context270.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context270.t0,
name: reducerName
});
case 16:
case "end":
return _context270.stop();
}
}, _marked270, null, [[1, 11]]);
}
function getRegionVineyardGeometrySagas(action) {
var _action$payload271, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getRegionVineyardGeometrySagas$(_context271) {
while (1) switch (_context271.prev = _context271.next) {
case 0:
_action$payload271 = action.payload, payload = _action$payload271 === void 0 ? {} : _action$payload271, reducerName = action.meta.reducerName;
_context271.prev = 1;
_context271.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context271.next = 6;
return (0, _effects.call)(APIServices.getRegionVineyardGeometry, payload);
case 6:
response = _context271.sent;
_context271.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context271.next = 16;
break;
case 11:
_context271.prev = 11;
_context271.t0 = _context271["catch"](1);
console.error(_context271.t0);
/* istanbul ignore next */
_context271.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context271.t0,
name: reducerName
});
case 16:
case "end":
return _context271.stop();
}
}, _marked271, null, [[1, 11]]);
}
function getVineyardBlockActivityProgressSagas(action) {
var _action$payload272, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getVineyardBlockActivityProgressSagas$(_context272) {
while (1) switch (_context272.prev = _context272.next) {
case 0:
_action$payload272 = action.payload, payload = _action$payload272 === void 0 ? {} : _action$payload272, reducerName = action.meta.reducerName;
_context272.prev = 1;
_context272.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context272.next = 6;
return (0, _effects.call)(APIServices.getVineyardBlockActivityProgress, payload);
case 6:
response = _context272.sent;
_context272.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context272.next = 16;
break;
case 11:
_context272.prev = 11;
_context272.t0 = _context272["catch"](1);
console.error(_context272.t0);
/* istanbul ignore next */
_context272.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context272.t0,
name: reducerName
});
case 16:
case "end":
return _context272.stop();
}
}, _marked272, null, [[1, 11]]);
}
function getRegionActivityProgressSagas(action) {
var _action$payload273, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getRegionActivityProgressSagas$(_context273) {
while (1) switch (_context273.prev = _context273.next) {
case 0:
_action$payload273 = action.payload, payload = _action$payload273 === void 0 ? {} : _action$payload273, reducerName = action.meta.reducerName;
_context273.prev = 1;
_context273.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context273.next = 6;
return (0, _effects.call)(APIServices.getRegionActivityProgress, payload);
case 6:
response = _context273.sent;
_context273.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context273.next = 16;
break;
case 11:
_context273.prev = 11;
_context273.t0 = _context273["catch"](1);
console.error(_context273.t0);
/* istanbul ignore next */
_context273.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context273.t0,
name: reducerName
});
case 16:
case "end":
return _context273.stop();
}
}, _marked273, null, [[1, 11]]);
}
function getSubRegionActivityProgressSagas(action) {
var _action$payload274, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getSubRegionActivityProgressSagas$(_context274) {
while (1) switch (_context274.prev = _context274.next) {
case 0:
_action$payload274 = action.payload, payload = _action$payload274 === void 0 ? {} : _action$payload274, reducerName = action.meta.reducerName;
_context274.prev = 1;
_context274.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context274.next = 6;
return (0, _effects.call)(APIServices.getSubRegionActivityProgress, payload);
case 6:
response = _context274.sent;
_context274.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context274.next = 16;
break;
case 11:
_context274.prev = 11;
_context274.t0 = _context274["catch"](1);
console.error(_context274.t0);
/* istanbul ignore next */
_context274.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context274.t0,
name: reducerName
});
case 16:
case "end":
return _context274.stop();
}
}, _marked274, null, [[1, 11]]);
}
function getSyncVineyardGeometrySagas(action) {
var _action$payload275, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getSyncVineyardGeometrySagas$(_context275) {
while (1) switch (_context275.prev = _context275.next) {
case 0:
_action$payload275 = action.payload, payload = _action$payload275 === void 0 ? {} : _action$payload275, reducerName = action.meta.reducerName;
_context275.prev = 1;
_context275.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context275.next = 6;
return (0, _effects.call)(APIServices.getSyncVineyardGeometry, payload);
case 6:
response = _context275.sent;
_context275.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context275.next = 16;
break;
case 11:
_context275.prev = 11;
_context275.t0 = _context275["catch"](1);
console.error(_context275.t0);
/* istanbul ignore next */
_context275.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context275.t0,
name: reducerName
});
case 16:
case "end":
return _context275.stop();
}
}, _marked275, null, [[1, 11]]);
}
function getSupplyContractBlocksGeometrySagas(action) {
var _action$payload276, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getSupplyContractBlocksGeometrySagas$(_context276) {
while (1) switch (_context276.prev = _context276.next) {
case 0:
_action$payload276 = action.payload, payload = _action$payload276 === void 0 ? {} : _action$payload276, reducerName = action.meta.reducerName;
_context276.prev = 1;
_context276.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context276.next = 6;
return (0, _effects.call)(APIServices.getSupplyContractBlocksGeometry, payload);
case 6:
response = _context276.sent;
_context276.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context276.next = 16;
break;
case 11:
_context276.prev = 11;
_context276.t0 = _context276["catch"](1);
console.error(_context276.t0);
/* istanbul ignore next */
_context276.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context276.t0,
name: reducerName
});
case 16:
case "end":
return _context276.stop();
}
}, _marked276, null, [[1, 11]]);
}
function getSupplyContractBlockSagas(action) {
var _action$payload277, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getSupplyContractBlockSagas$(_context277) {
while (1) switch (_context277.prev = _context277.next) {
case 0:
_action$payload277 = action.payload, payload = _action$payload277 === void 0 ? {} : _action$payload277, reducerName = action.meta.reducerName;
_context277.prev = 1;
_context277.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context277.next = 6;
return (0, _effects.call)(APIServices.getSupplyContractBlock, payload);
case 6:
response = _context277.sent;
_context277.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context277.next = 16;
break;
case 11:
_context277.prev = 11;
_context277.t0 = _context277["catch"](1);
console.error(_context277.t0);
/* istanbul ignore next */
_context277.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context277.t0,
name: reducerName
});
case 16:
case "end":
return _context277.stop();
}
}, _marked277, null, [[1, 11]]);
}
function postSupplyContractBlockSagas(action) {
var _action$payload278, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postSupplyContractBlockSagas$(_context278) {
while (1) switch (_context278.prev = _context278.next) {
case 0:
_action$payload278 = action.payload, payload = _action$payload278 === void 0 ? {} : _action$payload278, reducerName = action.meta.reducerName;
_context278.prev = 1;
_context278.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context278.next = 6;
return (0, _effects.call)(APIServices.postSupplyContractBlock, payload);
case 6:
response = _context278.sent;
_context278.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context278.next = 16;
break;
case 11:
_context278.prev = 11;
_context278.t0 = _context278["catch"](1);
console.error(_context278.t0);
/* istanbul ignore next */
_context278.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context278.t0,
name: reducerName
});
case 16:
case "end":
return _context278.stop();
}
}, _marked278, null, [[1, 11]]);
}
function putSupplyContractBlockSagas(action) {
var _action$payload279, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putSupplyContractBlockSagas$(_context279) {
while (1) switch (_context279.prev = _context279.next) {
case 0:
_action$payload279 = action.payload, payload = _action$payload279 === void 0 ? {} : _action$payload279, reducerName = action.meta.reducerName;
_context279.prev = 1;
_context279.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context279.next = 6;
return (0, _effects.call)(APIServices.putSupplyContractBlock, payload);
case 6:
response = _context279.sent;
_context279.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context279.next = 16;
break;
case 11:
_context279.prev = 11;
_context279.t0 = _context279["catch"](1);
console.error(_context279.t0);
/* istanbul ignore next */
_context279.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context279.t0,
name: reducerName
});
case 16:
case "end":
return _context279.stop();
}
}, _marked279, null, [[1, 11]]);
}
function deleteSupplyContractBlockSagas(action) {
var _action$payload280, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteSupplyContractBlockSagas$(_context280) {
while (1) switch (_context280.prev = _context280.next) {
case 0:
_action$payload280 = action.payload, payload = _action$payload280 === void 0 ? {} : _action$payload280, reducerName = action.meta.reducerName;
_context280.prev = 1;
_context280.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context280.next = 6;
return (0, _effects.call)(APIServices.deleteSupplyContractBlock, payload);
case 6:
response = _context280.sent;
_context280.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context280.next = 16;
break;
case 11:
_context280.prev = 11;
_context280.t0 = _context280["catch"](1);
console.error(_context280.t0);
/* istanbul ignore next */
_context280.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context280.t0,
name: reducerName
});
case 16:
case "end":
return _context280.stop();
}
}, _marked280, null, [[1, 11]]);
}
function getBlocksForSupplyContractSagas(action) {
var _action$payload281, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getBlocksForSupplyContractSagas$(_context281) {
while (1) switch (_context281.prev = _context281.next) {
case 0:
_action$payload281 = action.payload, payload = _action$payload281 === void 0 ? {} : _action$payload281, reducerName = action.meta.reducerName;
_context281.prev = 1;
_context281.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context281.next = 6;
return (0, _effects.call)(APIServices.getBlocksForSupplyContract, payload);
case 6:
response = _context281.sent;
_context281.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context281.next = 16;
break;
case 11:
_context281.prev = 11;
_context281.t0 = _context281["catch"](1);
console.error(_context281.t0);
/* istanbul ignore next */
_context281.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context281.t0,
name: reducerName
});
case 16:
case "end":
return _context281.stop();
}
}, _marked281, null, [[1, 11]]);
}
function getUserHistorySagas(action) {
var _action$payload282, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getUserHistorySagas$(_context282) {
while (1) switch (_context282.prev = _context282.next) {
case 0:
_action$payload282 = action.payload, payload = _action$payload282 === void 0 ? {} : _action$payload282, reducerName = action.meta.reducerName;
_context282.prev = 1;
_context282.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context282.next = 6;
return (0, _effects.call)(APIServices.getUserHistory, payload);
case 6:
response = _context282.sent;
_context282.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context282.next = 16;
break;
case 11:
_context282.prev = 11;
_context282.t0 = _context282["catch"](1);
console.error(_context282.t0);
/* istanbul ignore next */
_context282.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context282.t0,
name: reducerName
});
case 16:
case "end":
return _context282.stop();
}
}, _marked282, null, [[1, 11]]);
}
function postUserHistorySagas(action) {
var _action$payload283, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postUserHistorySagas$(_context283) {
while (1) switch (_context283.prev = _context283.next) {
case 0:
_action$payload283 = action.payload, payload = _action$payload283 === void 0 ? {} : _action$payload283, reducerName = action.meta.reducerName;
_context283.prev = 1;
_context283.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context283.next = 6;
return (0, _effects.call)(APIServices.postUserHistory, payload);
case 6:
response = _context283.sent;
_context283.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context283.next = 16;
break;
case 11:
_context283.prev = 11;
_context283.t0 = _context283["catch"](1);
console.error(_context283.t0);
/* istanbul ignore next */
_context283.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context283.t0,
name: reducerName
});
case 16:
case "end":
return _context283.stop();
}
}, _marked283, null, [[1, 11]]);
}
function getIdentityVineyardSagas(action) {
var _action$payload284, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityVineyardSagas$(_context284) {
while (1) switch (_context284.prev = _context284.next) {
case 0:
_action$payload284 = action.payload, payload = _action$payload284 === void 0 ? {} : _action$payload284, reducerName = action.meta.reducerName;
_context284.prev = 1;
_context284.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context284.next = 6;
return (0, _effects.call)(APIServices.getIdentityVineyard, payload);
case 6:
response = _context284.sent;
_context284.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context284.next = 16;
break;
case 11:
_context284.prev = 11;
_context284.t0 = _context284["catch"](1);
console.error(_context284.t0);
/* istanbul ignore next */
_context284.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context284.t0,
name: reducerName
});
case 16:
case "end":
return _context284.stop();
}
}, _marked284, null, [[1, 11]]);
}
function postIdentityVineyardSagas(action) {
var _action$payload285, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postIdentityVineyardSagas$(_context285) {
while (1) switch (_context285.prev = _context285.next) {
case 0:
_action$payload285 = action.payload, payload = _action$payload285 === void 0 ? {} : _action$payload285, reducerName = action.meta.reducerName;
_context285.prev = 1;
_context285.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context285.next = 6;
return (0, _effects.call)(APIServices.postIdentityVineyard, payload);
case 6:
response = _context285.sent;
_context285.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context285.next = 16;
break;
case 11:
_context285.prev = 11;
_context285.t0 = _context285["catch"](1);
console.error(_context285.t0);
/* istanbul ignore next */
_context285.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context285.t0,
name: reducerName
});
case 16:
case "end":
return _context285.stop();
}
}, _marked285, null, [[1, 11]]);
}
function putIdentityVineyardSagas(action) {
var _action$payload286, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putIdentityVineyardSagas$(_context286) {
while (1) switch (_context286.prev = _context286.next) {
case 0:
_action$payload286 = action.payload, payload = _action$payload286 === void 0 ? {} : _action$payload286, reducerName = action.meta.reducerName;
_context286.prev = 1;
_context286.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context286.next = 6;
return (0, _effects.call)(APIServices.putIdentityVineyard, payload);
case 6:
response = _context286.sent;
_context286.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context286.next = 16;
break;
case 11:
_context286.prev = 11;
_context286.t0 = _context286["catch"](1);
console.error(_context286.t0);
/* istanbul ignore next */
_context286.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context286.t0,
name: reducerName
});
case 16:
case "end":
return _context286.stop();
}
}, _marked286, null, [[1, 11]]);
}
function deleteIdentityVineyardSagas(action) {
var _action$payload287, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteIdentityVineyardSagas$(_context287) {
while (1) switch (_context287.prev = _context287.next) {
case 0:
_action$payload287 = action.payload, payload = _action$payload287 === void 0 ? {} : _action$payload287, reducerName = action.meta.reducerName;
_context287.prev = 1;
_context287.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context287.next = 6;
return (0, _effects.call)(APIServices.deleteIdentityVineyard, payload);
case 6:
response = _context287.sent;
_context287.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context287.next = 16;
break;
case 11:
_context287.prev = 11;
_context287.t0 = _context287["catch"](1);
console.error(_context287.t0);
/* istanbul ignore next */
_context287.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context287.t0,
name: reducerName
});
case 16:
case "end":
return _context287.stop();
}
}, _marked287, null, [[1, 11]]);
}
function getIdentityVineyardTrackingSagas(action) {
var _action$payload288, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getIdentityVineyardTrackingSagas$(_context288) {
while (1) switch (_context288.prev = _context288.next) {
case 0:
_action$payload288 = action.payload, payload = _action$payload288 === void 0 ? {} : _action$payload288, reducerName = action.meta.reducerName;
_context288.prev = 1;
_context288.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context288.next = 6;
return (0, _effects.call)(APIServices.getIdentityVineyardTracking, payload);
case 6:
response = _context288.sent;
_context288.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context288.next = 16;
break;
case 11:
_context288.prev = 11;
_context288.t0 = _context288["catch"](1);
console.error(_context288.t0);
/* istanbul ignore next */
_context288.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context288.t0,
name: reducerName
});
case 16:
case "end":
return _context288.stop();
}
}, _marked288, null, [[1, 11]]);
}
function getTriggerVintraceMetricDataSyncSagas(action) {
var _action$payload289, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getTriggerVintraceMetricDataSyncSagas$(_context289) {
while (1) switch (_context289.prev = _context289.next) {
case 0:
_action$payload289 = action.payload, payload = _action$payload289 === void 0 ? {} : _action$payload289, reducerName = action.meta.reducerName;
_context289.prev = 1;
_context289.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context289.next = 6;
return (0, _effects.call)(APIServices.getTriggerVintraceMetricDataSync, payload);
case 6:
response = _context289.sent;
_context289.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context289.next = 16;
break;
case 11:
_context289.prev = 11;
_context289.t0 = _context289["catch"](1);
console.error(_context289.t0);
/* istanbul ignore next */
_context289.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context289.t0,
name: reducerName
});
case 16:
case "end":
return _context289.stop();
}
}, _marked289, null, [[1, 11]]);
}
function getWineryVintageBlockAllocationsSagas(action) {
var _action$payload290, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getWineryVintageBlockAllocationsSagas$(_context290) {
while (1) switch (_context290.prev = _context290.next) {
case 0:
_action$payload290 = action.payload, payload = _action$payload290 === void 0 ? {} : _action$payload290, reducerName = action.meta.reducerName;
_context290.prev = 1;
_context290.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context290.next = 6;
return (0, _effects.call)(APIServices.getWineryVintageBlockAllocations, payload);
case 6:
response = _context290.sent;
_context290.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context290.next = 16;
break;
case 11:
_context290.prev = 11;
_context290.t0 = _context290["catch"](1);
console.error(_context290.t0);
/* istanbul ignore next */
_context290.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context290.t0,
name: reducerName
});
case 16:
case "end":
return _context290.stop();
}
}, _marked290, null, [[1, 11]]);
}
function postWineryVintageBlockAllocationsSagas(action) {
var _action$payload291, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postWineryVintageBlockAllocationsSagas$(_context291) {
while (1) switch (_context291.prev = _context291.next) {
case 0:
_action$payload291 = action.payload, payload = _action$payload291 === void 0 ? {} : _action$payload291, reducerName = action.meta.reducerName;
_context291.prev = 1;
_context291.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context291.next = 6;
return (0, _effects.call)(APIServices.postWineryVintageBlockAllocations, payload);
case 6:
response = _context291.sent;
_context291.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context291.next = 16;
break;
case 11:
_context291.prev = 11;
_context291.t0 = _context291["catch"](1);
console.error(_context291.t0);
/* istanbul ignore next */
_context291.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context291.t0,
name: reducerName
});
case 16:
case "end":
return _context291.stop();
}
}, _marked291, null, [[1, 11]]);
}
function putWineryVintageBlockAllocationsSagas(action) {
var _action$payload292, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putWineryVintageBlockAllocationsSagas$(_context292) {
while (1) switch (_context292.prev = _context292.next) {
case 0:
_action$payload292 = action.payload, payload = _action$payload292 === void 0 ? {} : _action$payload292, reducerName = action.meta.reducerName;
_context292.prev = 1;
_context292.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context292.next = 6;
return (0, _effects.call)(APIServices.putWineryVintageBlockAllocations, payload);
case 6:
response = _context292.sent;
_context292.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context292.next = 16;
break;
case 11:
_context292.prev = 11;
_context292.t0 = _context292["catch"](1);
console.error(_context292.t0);
/* istanbul ignore next */
_context292.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context292.t0,
name: reducerName
});
case 16:
case "end":
return _context292.stop();
}
}, _marked292, null, [[1, 11]]);
}
function deleteWineryVintageBlockAllocationsSagas(action) {
var _action$payload293, payload, reducerName, response;
return _regeneratorRuntime().wrap(function deleteWineryVintageBlockAllocationsSagas$(_context293) {
while (1) switch (_context293.prev = _context293.next) {
case 0:
_action$payload293 = action.payload, payload = _action$payload293 === void 0 ? {} : _action$payload293, reducerName = action.meta.reducerName;
_context293.prev = 1;
_context293.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context293.next = 6;
return (0, _effects.call)(APIServices.deleteWineryVintageBlockAllocations, payload);
case 6:
response = _context293.sent;
_context293.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context293.next = 16;
break;
case 11:
_context293.prev = 11;
_context293.t0 = _context293["catch"](1);
console.error(_context293.t0);
/* istanbul ignore next */
_context293.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context293.t0,
name: reducerName
});
case 16:
case "end":
return _context293.stop();
}
}, _marked293, null, [[1, 11]]);
}
function getWorkersSagas(action) {
var _action$payload294, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getWorkersSagas$(_context294) {
while (1) switch (_context294.prev = _context294.next) {
case 0:
_action$payload294 = action.payload, payload = _action$payload294 === void 0 ? {} : _action$payload294, reducerName = action.meta.reducerName;
_context294.prev = 1;
_context294.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context294.next = 6;
return (0, _effects.call)(APIServices.getWorkers, payload);
case 6:
response = _context294.sent;
_context294.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context294.next = 16;
break;
case 11:
_context294.prev = 11;
_context294.t0 = _context294["catch"](1);
console.error(_context294.t0);
/* istanbul ignore next */
_context294.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context294.t0,
name: reducerName
});
case 16:
case "end":
return _context294.stop();
}
}, _marked294, null, [[1, 11]]);
}
function getWorkerPayPeriodsSagas(action) {
var _action$payload295, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getWorkerPayPeriodsSagas$(_context295) {
while (1) switch (_context295.prev = _context295.next) {
case 0:
_action$payload295 = action.payload, payload = _action$payload295 === void 0 ? {} : _action$payload295, reducerName = action.meta.reducerName;
_context295.prev = 1;
_context295.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context295.next = 6;
return (0, _effects.call)(APIServices.getWorkerPayPeriods, payload);
case 6:
response = _context295.sent;
_context295.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context295.next = 16;
break;
case 11:
_context295.prev = 11;
_context295.t0 = _context295["catch"](1);
console.error(_context295.t0);
/* istanbul ignore next */
_context295.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context295.t0,
name: reducerName
});
case 16:
case "end":
return _context295.stop();
}
}, _marked295, null, [[1, 11]]);
}
function getWorkerWorkRecordsSagas(action) {
var _action$payload296, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getWorkerWorkRecordsSagas$(_context296) {
while (1) switch (_context296.prev = _context296.next) {
case 0:
_action$payload296 = action.payload, payload = _action$payload296 === void 0 ? {} : _action$payload296, reducerName = action.meta.reducerName;
_context296.prev = 1;
_context296.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context296.next = 6;
return (0, _effects.call)(APIServices.getWorkerWorkRecords, payload);
case 6:
response = _context296.sent;
_context296.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context296.next = 16;
break;
case 11:
_context296.prev = 11;
_context296.t0 = _context296["catch"](1);
console.error(_context296.t0);
/* istanbul ignore next */
_context296.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context296.t0,
name: reducerName
});
case 16:
case "end":
return _context296.stop();
}
}, _marked296, null, [[1, 11]]);
}
function getWorkRecordsConsumableSagas(action) {
var _action$payload297, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getWorkRecordsConsumableSagas$(_context297) {
while (1) switch (_context297.prev = _context297.next) {
case 0:
_action$payload297 = action.payload, payload = _action$payload297 === void 0 ? {} : _action$payload297, reducerName = action.meta.reducerName;
_context297.prev = 1;
_context297.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context297.next = 6;
return (0, _effects.call)(APIServices.getWorkRecordsConsumable, payload);
case 6:
response = _context297.sent;
_context297.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context297.next = 16;
break;
case 11:
_context297.prev = 11;
_context297.t0 = _context297["catch"](1);
console.error(_context297.t0);
/* istanbul ignore next */
_context297.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context297.t0,
name: reducerName
});
case 16:
case "end":
return _context297.stop();
}
}, _marked297, null, [[1, 11]]);
}
function putWorkRecordsConsumableSagas(action) {
var _action$payload298, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putWorkRecordsConsumableSagas$(_context298) {
while (1) switch (_context298.prev = _context298.next) {
case 0:
_action$payload298 = action.payload, payload = _action$payload298 === void 0 ? {} : _action$payload298, reducerName = action.meta.reducerName;
_context298.prev = 1;
_context298.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context298.next = 6;
return (0, _effects.call)(APIServices.putWorkRecordsConsumable, payload);
case 6:
response = _context298.sent;
_context298.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context298.next = 16;
break;
case 11:
_context298.prev = 11;
_context298.t0 = _context298["catch"](1);
console.error(_context298.t0);
/* istanbul ignore next */
_context298.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context298.t0,
name: reducerName
});
case 16:
case "end":
return _context298.stop();
}
}, _marked298, null, [[1, 11]]);
}
function postWorkRecordsConsumableSagas(action) {
var _action$payload299, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postWorkRecordsConsumableSagas$(_context299) {
while (1) switch (_context299.prev = _context299.next) {
case 0:
_action$payload299 = action.payload, payload = _action$payload299 === void 0 ? {} : _action$payload299, reducerName = action.meta.reducerName;
_context299.prev = 1;
_context299.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context299.next = 6;
return (0, _effects.call)(APIServices.postWorkRecordsConsumable, payload);
case 6:
response = _context299.sent;
_context299.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context299.next = 16;
break;
case 11:
_context299.prev = 11;
_context299.t0 = _context299["catch"](1);
console.error(_context299.t0);
/* istanbul ignore next */
_context299.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context299.t0,
name: reducerName
});
case 16:
case "end":
return _context299.stop();
}
}, _marked299, null, [[1, 11]]);
}
function getWorkRecordsConsumableOptionsSagas(action) {
var _action$payload300, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getWorkRecordsConsumableOptionsSagas$(_context300) {
while (1) switch (_context300.prev = _context300.next) {
case 0:
_action$payload300 = action.payload, payload = _action$payload300 === void 0 ? {} : _action$payload300, reducerName = action.meta.reducerName;
_context300.prev = 1;
_context300.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context300.next = 6;
return (0, _effects.call)(APIServices.getWorkRecordsConsumableOptions, payload);
case 6:
response = _context300.sent;
_context300.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context300.next = 16;
break;
case 11:
_context300.prev = 11;
_context300.t0 = _context300["catch"](1);
console.error(_context300.t0);
/* istanbul ignore next */
_context300.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context300.t0,
name: reducerName
});
case 16:
case "end":
return _context300.stop();
}
}, _marked300, null, [[1, 11]]);
}
function getWorkRecordsConsumablePriceSagas(action) {
var _action$payload301, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getWorkRecordsConsumablePriceSagas$(_context301) {
while (1) switch (_context301.prev = _context301.next) {
case 0:
_action$payload301 = action.payload, payload = _action$payload301 === void 0 ? {} : _action$payload301, reducerName = action.meta.reducerName;
_context301.prev = 1;
_context301.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context301.next = 6;
return (0, _effects.call)(APIServices.getWorkRecordsConsumablePrice, payload);
case 6:
response = _context301.sent;
_context301.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context301.next = 16;
break;
case 11:
_context301.prev = 11;
_context301.t0 = _context301["catch"](1);
console.error(_context301.t0);
/* istanbul ignore next */
_context301.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context301.t0,
name: reducerName
});
case 16:
case "end":
return _context301.stop();
}
}, _marked301, null, [[1, 11]]);
}
function getWorkRecordsGenericSagas(action) {
var _action$payload302, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getWorkRecordsGenericSagas$(_context302) {
while (1) switch (_context302.prev = _context302.next) {
case 0:
_action$payload302 = action.payload, payload = _action$payload302 === void 0 ? {} : _action$payload302, reducerName = action.meta.reducerName;
_context302.prev = 1;
_context302.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context302.next = 6;
return (0, _effects.call)(APIServices.getWorkRecordsGeneric, payload);
case 6:
response = _context302.sent;
_context302.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context302.next = 16;
break;
case 11:
_context302.prev = 11;
_context302.t0 = _context302["catch"](1);
console.error(_context302.t0);
/* istanbul ignore next */
_context302.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context302.t0,
name: reducerName
});
case 16:
case "end":
return _context302.stop();
}
}, _marked302, null, [[1, 11]]);
}
function putWorkRecordsGenericSagas(action) {
var _action$payload303, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putWorkRecordsGenericSagas$(_context303) {
while (1) switch (_context303.prev = _context303.next) {
case 0:
_action$payload303 = action.payload, payload = _action$payload303 === void 0 ? {} : _action$payload303, reducerName = action.meta.reducerName;
_context303.prev = 1;
_context303.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context303.next = 6;
return (0, _effects.call)(APIServices.putWorkRecordsGeneric, payload);
case 6:
response = _context303.sent;
_context303.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context303.next = 16;
break;
case 11:
_context303.prev = 11;
_context303.t0 = _context303["catch"](1);
console.error(_context303.t0);
/* istanbul ignore next */
_context303.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context303.t0,
name: reducerName
});
case 16:
case "end":
return _context303.stop();
}
}, _marked303, null, [[1, 11]]);
}
function postWorkRecordsGenericSagas(action) {
var _action$payload304, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postWorkRecordsGenericSagas$(_context304) {
while (1) switch (_context304.prev = _context304.next) {
case 0:
_action$payload304 = action.payload, payload = _action$payload304 === void 0 ? {} : _action$payload304, reducerName = action.meta.reducerName;
_context304.prev = 1;
_context304.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context304.next = 6;
return (0, _effects.call)(APIServices.postWorkRecordsGeneric, payload);
case 6:
response = _context304.sent;
_context304.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context304.next = 16;
break;
case 11:
_context304.prev = 11;
_context304.t0 = _context304["catch"](1);
console.error(_context304.t0);
/* istanbul ignore next */
_context304.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context304.t0,
name: reducerName
});
case 16:
case "end":
return _context304.stop();
}
}, _marked304, null, [[1, 11]]);
}
function getWorkRecordsHourlySagas(action) {
var _action$payload305, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getWorkRecordsHourlySagas$(_context305) {
while (1) switch (_context305.prev = _context305.next) {
case 0:
_action$payload305 = action.payload, payload = _action$payload305 === void 0 ? {} : _action$payload305, reducerName = action.meta.reducerName;
_context305.prev = 1;
_context305.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context305.next = 6;
return (0, _effects.call)(APIServices.getWorkRecordsHourly, payload);
case 6:
response = _context305.sent;
_context305.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context305.next = 16;
break;
case 11:
_context305.prev = 11;
_context305.t0 = _context305["catch"](1);
console.error(_context305.t0);
/* istanbul ignore next */
_context305.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context305.t0,
name: reducerName
});
case 16:
case "end":
return _context305.stop();
}
}, _marked305, null, [[1, 11]]);
}
function postWorkRecordsHourlySagas(action) {
var _action$payload306, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postWorkRecordsHourlySagas$(_context306) {
while (1) switch (_context306.prev = _context306.next) {
case 0:
_action$payload306 = action.payload, payload = _action$payload306 === void 0 ? {} : _action$payload306, reducerName = action.meta.reducerName;
_context306.prev = 1;
_context306.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context306.next = 6;
return (0, _effects.call)(APIServices.postWorkRecordsHourly, payload);
case 6:
response = _context306.sent;
_context306.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context306.next = 16;
break;
case 11:
_context306.prev = 11;
_context306.t0 = _context306["catch"](1);
console.error(_context306.t0);
/* istanbul ignore next */
_context306.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context306.t0,
name: reducerName
});
case 16:
case "end":
return _context306.stop();
}
}, _marked306, null, [[1, 11]]);
}
function putWorkRecordsHourlySagas(action) {
var _action$payload307, payload, reducerName, response;
return _regeneratorRuntime().wrap(function putWorkRecordsHourlySagas$(_context307) {
while (1) switch (_context307.prev = _context307.next) {
case 0:
_action$payload307 = action.payload, payload = _action$payload307 === void 0 ? {} : _action$payload307, reducerName = action.meta.reducerName;
_context307.prev = 1;
_context307.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context307.next = 6;
return (0, _effects.call)(APIServices.putWorkRecordsHourly, payload);
case 6:
response = _context307.sent;
_context307.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context307.next = 16;
break;
case 11:
_context307.prev = 11;
_context307.t0 = _context307["catch"](1);
console.error(_context307.t0);
/* istanbul ignore next */
_context307.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context307.t0,
name: reducerName
});
case 16:
case "end":
return _context307.stop();
}
}, _marked307, null, [[1, 11]]);
}
function getWorkRecordsPieceworkGroupSagas(action) {
var _action$payload308, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getWorkRecordsPieceworkGroupSagas$(_context308) {
while (1) switch (_context308.prev = _context308.next) {
case 0:
_action$payload308 = action.payload, payload = _action$payload308 === void 0 ? {} : _action$payload308, reducerName = action.meta.reducerName;
_context308.prev = 1;
_context308.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context308.next = 6;
return (0, _effects.call)(APIServices.getWorkRecordsPieceworkGroup, payload);
case 6:
response = _context308.sent;
_context308.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context308.next = 16;
break;
case 11:
_context308.prev = 11;
_context308.t0 = _context308["catch"](1);
console.error(_context308.t0);
/* istanbul ignore next */
_context308.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context308.t0,
name: reducerName
});
case 16:
case "end":
return _context308.stop();
}
}, _marked308, null, [[1, 11]]);
}
function getWorkRecordsPieceworkGroupWorkersSagas(action) {
var _action$payload309, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getWorkRecordsPieceworkGroupWorkersSagas$(_context309) {
while (1) switch (_context309.prev = _context309.next) {
case 0:
_action$payload309 = action.payload, payload = _action$payload309 === void 0 ? {} : _action$payload309, reducerName = action.meta.reducerName;
_context309.prev = 1;
_context309.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context309.next = 6;
return (0, _effects.call)(APIServices.getWorkRecordsPieceworkGroupWorkers, payload);
case 6:
response = _context309.sent;
_context309.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context309.next = 16;
break;
case 11:
_context309.prev = 11;
_context309.t0 = _context309["catch"](1);
console.error(_context309.t0);
/* istanbul ignore next */
_context309.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context309.t0,
name: reducerName
});
case 16:
case "end":
return _context309.stop();
}
}, _marked309, null, [[1, 11]]);
}
function getWorkRecordsPieceworkGroupRowsSagas(action) {
var _action$payload310, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getWorkRecordsPieceworkGroupRowsSagas$(_context310) {
while (1) switch (_context310.prev = _context310.next) {
case 0:
_action$payload310 = action.payload, payload = _action$payload310 === void 0 ? {} : _action$payload310, reducerName = action.meta.reducerName;
_context310.prev = 1;
_context310.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context310.next = 6;
return (0, _effects.call)(APIServices.getWorkRecordsPieceworkGroupRows, payload);
case 6:
response = _context310.sent;
_context310.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context310.next = 16;
break;
case 11:
_context310.prev = 11;
_context310.t0 = _context310["catch"](1);
console.error(_context310.t0);
/* istanbul ignore next */
_context310.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context310.t0,
name: reducerName
});
case 16:
case "end":
return _context310.stop();
}
}, _marked310, null, [[1, 11]]);
}
function postWorkRecordsPieceworkSagas(action) {
var _action$payload311, payload, reducerName, response;
return _regeneratorRuntime().wrap(function postWorkRecordsPieceworkSagas$(_context311) {
while (1) switch (_context311.prev = _context311.next) {
case 0:
_action$payload311 = action.payload, payload = _action$payload311 === void 0 ? {} : _action$payload311, reducerName = action.meta.reducerName;
_context311.prev = 1;
_context311.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context311.next = 6;
return (0, _effects.call)(APIServices.postWorkRecordsPiecework, payload);
case 6:
response = _context311.sent;
_context311.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context311.next = 16;
break;
case 11:
_context311.prev = 11;
_context311.t0 = _context311["catch"](1);
console.error(_context311.t0);
/* istanbul ignore next */
_context311.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context311.t0,
name: reducerName
});
case 16:
case "end":
return _context311.stop();
}
}, _marked311, null, [[1, 11]]);
}
function getlookupClassificationSagas(action) {
var _action$payload312, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupClassificationSagas$(_context312) {
while (1) switch (_context312.prev = _context312.next) {
case 0:
_action$payload312 = action.payload, payload = _action$payload312 === void 0 ? {} : _action$payload312, reducerName = action.meta.reducerName;
_context312.prev = 1;
_context312.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context312.next = 6;
return (0, _effects.call)(APIServices.getlookupClassification, payload);
case 6:
response = _context312.sent;
_context312.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context312.next = 16;
break;
case 11:
_context312.prev = 11;
_context312.t0 = _context312["catch"](1);
console.error(_context312.t0);
/* istanbul ignore next */
_context312.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context312.t0,
name: reducerName
});
case 16:
case "end":
return _context312.stop();
}
}, _marked312, null, [[1, 11]]);
}
function getlookupClassificationGroupSagas(action) {
var _action$payload313, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupClassificationGroupSagas$(_context313) {
while (1) switch (_context313.prev = _context313.next) {
case 0:
_action$payload313 = action.payload, payload = _action$payload313 === void 0 ? {} : _action$payload313, reducerName = action.meta.reducerName;
_context313.prev = 1;
_context313.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context313.next = 6;
return (0, _effects.call)(APIServices.getlookupClassificationGroup, payload);
case 6:
response = _context313.sent;
_context313.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context313.next = 16;
break;
case 11:
_context313.prev = 11;
_context313.t0 = _context313["catch"](1);
console.error(_context313.t0);
/* istanbul ignore next */
_context313.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context313.t0,
name: reducerName
});
case 16:
case "end":
return _context313.stop();
}
}, _marked313, null, [[1, 11]]);
}
function getlookupClassificationGroupIdentityTypeSagas(action) {
var _action$payload314, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupClassificationGroupIdentityTypeSagas$(_context314) {
while (1) switch (_context314.prev = _context314.next) {
case 0:
_action$payload314 = action.payload, payload = _action$payload314 === void 0 ? {} : _action$payload314, reducerName = action.meta.reducerName;
_context314.prev = 1;
_context314.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context314.next = 6;
return (0, _effects.call)(APIServices.getlookupClassificationGroupIdentityType, payload);
case 6:
response = _context314.sent;
_context314.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context314.next = 16;
break;
case 11:
_context314.prev = 11;
_context314.t0 = _context314["catch"](1);
console.error(_context314.t0);
/* istanbul ignore next */
_context314.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context314.t0,
name: reducerName
});
case 16:
case "end":
return _context314.stop();
}
}, _marked314, null, [[1, 11]]);
}
function getlookupReferenceTypeSagas(action) {
var _action$payload315, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupReferenceTypeSagas$(_context315) {
while (1) switch (_context315.prev = _context315.next) {
case 0:
_action$payload315 = action.payload, payload = _action$payload315 === void 0 ? {} : _action$payload315, reducerName = action.meta.reducerName;
_context315.prev = 1;
_context315.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context315.next = 6;
return (0, _effects.call)(APIServices.getlookupReferenceType, payload);
case 6:
response = _context315.sent;
_context315.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context315.next = 16;
break;
case 11:
_context315.prev = 11;
_context315.t0 = _context315["catch"](1);
console.error(_context315.t0);
/* istanbul ignore next */
_context315.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context315.t0,
name: reducerName
});
case 16:
case "end":
return _context315.stop();
}
}, _marked315, null, [[1, 11]]);
}
function getlookupIdentityTypeSagas(action) {
var _action$payload316, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupIdentityTypeSagas$(_context316) {
while (1) switch (_context316.prev = _context316.next) {
case 0:
_action$payload316 = action.payload, payload = _action$payload316 === void 0 ? {} : _action$payload316, reducerName = action.meta.reducerName;
_context316.prev = 1;
_context316.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context316.next = 6;
return (0, _effects.call)(APIServices.getlookupIdentityType, payload);
case 6:
response = _context316.sent;
_context316.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context316.next = 16;
break;
case 11:
_context316.prev = 11;
_context316.t0 = _context316["catch"](1);
console.error(_context316.t0);
/* istanbul ignore next */
_context316.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context316.t0,
name: reducerName
});
case 16:
case "end":
return _context316.stop();
}
}, _marked316, null, [[1, 11]]);
}
function getlookupRoleTypeSagas(action) {
var _action$payload317, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupRoleTypeSagas$(_context317) {
while (1) switch (_context317.prev = _context317.next) {
case 0:
_action$payload317 = action.payload, payload = _action$payload317 === void 0 ? {} : _action$payload317, reducerName = action.meta.reducerName;
_context317.prev = 1;
_context317.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context317.next = 6;
return (0, _effects.call)(APIServices.getlookupRoleType, payload);
case 6:
response = _context317.sent;
_context317.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context317.next = 16;
break;
case 11:
_context317.prev = 11;
_context317.t0 = _context317["catch"](1);
console.error(_context317.t0);
/* istanbul ignore next */
_context317.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context317.t0,
name: reducerName
});
case 16:
case "end":
return _context317.stop();
}
}, _marked317, null, [[1, 11]]);
}
function getlookupRoleTypeIdentityTypeSagas(action) {
var _action$payload318, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupRoleTypeIdentityTypeSagas$(_context318) {
while (1) switch (_context318.prev = _context318.next) {
case 0:
_action$payload318 = action.payload, payload = _action$payload318 === void 0 ? {} : _action$payload318, reducerName = action.meta.reducerName;
_context318.prev = 1;
_context318.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context318.next = 6;
return (0, _effects.call)(APIServices.getlookupRoleTypeIdentityType, payload);
case 6:
response = _context318.sent;
_context318.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context318.next = 16;
break;
case 11:
_context318.prev = 11;
_context318.t0 = _context318["catch"](1);
console.error(_context318.t0);
/* istanbul ignore next */
_context318.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context318.t0,
name: reducerName
});
case 16:
case "end":
return _context318.stop();
}
}, _marked318, null, [[1, 11]]);
}
function getlookupBusinessUnitSagas(action) {
var _action$payload319, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupBusinessUnitSagas$(_context319) {
while (1) switch (_context319.prev = _context319.next) {
case 0:
_action$payload319 = action.payload, payload = _action$payload319 === void 0 ? {} : _action$payload319, reducerName = action.meta.reducerName;
_context319.prev = 1;
_context319.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context319.next = 6;
return (0, _effects.call)(APIServices.getlookupBusinessUnit, payload);
case 6:
response = _context319.sent;
_context319.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context319.next = 16;
break;
case 11:
_context319.prev = 11;
_context319.t0 = _context319["catch"](1);
console.error(_context319.t0);
/* istanbul ignore next */
_context319.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context319.t0,
name: reducerName
});
case 16:
case "end":
return _context319.stop();
}
}, _marked319, null, [[1, 11]]);
}
function getlookupReferenceTypeIdentityTypeSagas(action) {
var _action$payload320, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupReferenceTypeIdentityTypeSagas$(_context320) {
while (1) switch (_context320.prev = _context320.next) {
case 0:
_action$payload320 = action.payload, payload = _action$payload320 === void 0 ? {} : _action$payload320, reducerName = action.meta.reducerName;
_context320.prev = 1;
_context320.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context320.next = 6;
return (0, _effects.call)(APIServices.getlookupReferenceTypeIdentityType, payload);
case 6:
response = _context320.sent;
_context320.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context320.next = 16;
break;
case 11:
_context320.prev = 11;
_context320.t0 = _context320["catch"](1);
console.error(_context320.t0);
/* istanbul ignore next */
_context320.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context320.t0,
name: reducerName
});
case 16:
case "end":
return _context320.stop();
}
}, _marked320, null, [[1, 11]]);
}
function getlookupRelationshipTypeSagas(action) {
var _action$payload321, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupRelationshipTypeSagas$(_context321) {
while (1) switch (_context321.prev = _context321.next) {
case 0:
_action$payload321 = action.payload, payload = _action$payload321 === void 0 ? {} : _action$payload321, reducerName = action.meta.reducerName;
_context321.prev = 1;
_context321.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context321.next = 6;
return (0, _effects.call)(APIServices.getlookupRelationshipType, payload);
case 6:
response = _context321.sent;
_context321.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context321.next = 16;
break;
case 11:
_context321.prev = 11;
_context321.t0 = _context321["catch"](1);
console.error(_context321.t0);
/* istanbul ignore next */
_context321.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context321.t0,
name: reducerName
});
case 16:
case "end":
return _context321.stop();
}
}, _marked321, null, [[1, 11]]);
}
function getlookupContactMethodSagas(action) {
var _action$payload322, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupContactMethodSagas$(_context322) {
while (1) switch (_context322.prev = _context322.next) {
case 0:
_action$payload322 = action.payload, payload = _action$payload322 === void 0 ? {} : _action$payload322, reducerName = action.meta.reducerName;
_context322.prev = 1;
_context322.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context322.next = 6;
return (0, _effects.call)(APIServices.getlookupContactMethod, payload);
case 6:
response = _context322.sent;
_context322.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context322.next = 16;
break;
case 11:
_context322.prev = 11;
_context322.t0 = _context322["catch"](1);
console.error(_context322.t0);
/* istanbul ignore next */
_context322.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context322.t0,
name: reducerName
});
case 16:
case "end":
return _context322.stop();
}
}, _marked322, null, [[1, 11]]);
}
function getlookupGenderSagas(action) {
var _action$payload323, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupGenderSagas$(_context323) {
while (1) switch (_context323.prev = _context323.next) {
case 0:
_action$payload323 = action.payload, payload = _action$payload323 === void 0 ? {} : _action$payload323, reducerName = action.meta.reducerName;
_context323.prev = 1;
_context323.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context323.next = 6;
return (0, _effects.call)(APIServices.getlookupGender, payload);
case 6:
response = _context323.sent;
_context323.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context323.next = 16;
break;
case 11:
_context323.prev = 11;
_context323.t0 = _context323["catch"](1);
console.error(_context323.t0);
/* istanbul ignore next */
_context323.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context323.t0,
name: reducerName
});
case 16:
case "end":
return _context323.stop();
}
}, _marked323, null, [[1, 11]]);
}
function getlookupNationalitySagas(action) {
var _action$payload324, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupNationalitySagas$(_context324) {
while (1) switch (_context324.prev = _context324.next) {
case 0:
_action$payload324 = action.payload, payload = _action$payload324 === void 0 ? {} : _action$payload324, reducerName = action.meta.reducerName;
_context324.prev = 1;
_context324.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context324.next = 6;
return (0, _effects.call)(APIServices.getlookupNationality, payload);
case 6:
response = _context324.sent;
_context324.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context324.next = 16;
break;
case 11:
_context324.prev = 11;
_context324.t0 = _context324["catch"](1);
console.error(_context324.t0);
/* istanbul ignore next */
_context324.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context324.t0,
name: reducerName
});
case 16:
case "end":
return _context324.stop();
}
}, _marked324, null, [[1, 11]]);
}
function getlookupEthnicitySagas(action) {
var _action$payload325, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupEthnicitySagas$(_context325) {
while (1) switch (_context325.prev = _context325.next) {
case 0:
_action$payload325 = action.payload, payload = _action$payload325 === void 0 ? {} : _action$payload325, reducerName = action.meta.reducerName;
_context325.prev = 1;
_context325.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context325.next = 6;
return (0, _effects.call)(APIServices.getlookupEthnicity, payload);
case 6:
response = _context325.sent;
_context325.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context325.next = 16;
break;
case 11:
_context325.prev = 11;
_context325.t0 = _context325["catch"](1);
console.error(_context325.t0);
/* istanbul ignore next */
_context325.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context325.t0,
name: reducerName
});
case 16:
case "end":
return _context325.stop();
}
}, _marked325, null, [[1, 11]]);
}
function getlookupLanguageSagas(action) {
var _action$payload326, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupLanguageSagas$(_context326) {
while (1) switch (_context326.prev = _context326.next) {
case 0:
_action$payload326 = action.payload, payload = _action$payload326 === void 0 ? {} : _action$payload326, reducerName = action.meta.reducerName;
_context326.prev = 1;
_context326.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context326.next = 6;
return (0, _effects.call)(APIServices.getlookupLanguage, payload);
case 6:
response = _context326.sent;
_context326.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context326.next = 16;
break;
case 11:
_context326.prev = 11;
_context326.t0 = _context326["catch"](1);
console.error(_context326.t0);
/* istanbul ignore next */
_context326.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context326.t0,
name: reducerName
});
case 16:
case "end":
return _context326.stop();
}
}, _marked326, null, [[1, 11]]);
}
function getlookupCountrySagas(action) {
var _action$payload327, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupCountrySagas$(_context327) {
while (1) switch (_context327.prev = _context327.next) {
case 0:
_action$payload327 = action.payload, payload = _action$payload327 === void 0 ? {} : _action$payload327, reducerName = action.meta.reducerName;
_context327.prev = 1;
_context327.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context327.next = 6;
return (0, _effects.call)(APIServices.getlookupCountry, payload);
case 6:
response = _context327.sent;
_context327.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context327.next = 16;
break;
case 11:
_context327.prev = 11;
_context327.t0 = _context327["catch"](1);
console.error(_context327.t0);
/* istanbul ignore next */
_context327.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context327.t0,
name: reducerName
});
case 16:
case "end":
return _context327.stop();
}
}, _marked327, null, [[1, 11]]);
}
function getlookupSalutationSagas(action) {
var _action$payload328, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupSalutationSagas$(_context328) {
while (1) switch (_context328.prev = _context328.next) {
case 0:
_action$payload328 = action.payload, payload = _action$payload328 === void 0 ? {} : _action$payload328, reducerName = action.meta.reducerName;
_context328.prev = 1;
_context328.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context328.next = 6;
return (0, _effects.call)(APIServices.getlookupSalutation, payload);
case 6:
response = _context328.sent;
_context328.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context328.next = 16;
break;
case 11:
_context328.prev = 11;
_context328.t0 = _context328["catch"](1);
console.error(_context328.t0);
/* istanbul ignore next */
_context328.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context328.t0,
name: reducerName
});
case 16:
case "end":
return _context328.stop();
}
}, _marked328, null, [[1, 11]]);
}
function getlookupGrowingRegionSagas(action) {
var _action$payload329, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupGrowingRegionSagas$(_context329) {
while (1) switch (_context329.prev = _context329.next) {
case 0:
_action$payload329 = action.payload, payload = _action$payload329 === void 0 ? {} : _action$payload329, reducerName = action.meta.reducerName;
_context329.prev = 1;
_context329.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context329.next = 6;
return (0, _effects.call)(APIServices.getlookupGrowingRegion, payload);
case 6:
response = _context329.sent;
_context329.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context329.next = 16;
break;
case 11:
_context329.prev = 11;
_context329.t0 = _context329["catch"](1);
console.error(_context329.t0);
/* istanbul ignore next */
_context329.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context329.t0,
name: reducerName
});
case 16:
case "end":
return _context329.stop();
}
}, _marked329, null, [[1, 11]]);
}
function getlookupGrowingSubRegionSagas(action) {
var _action$payload330, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupGrowingSubRegionSagas$(_context330) {
while (1) switch (_context330.prev = _context330.next) {
case 0:
_action$payload330 = action.payload, payload = _action$payload330 === void 0 ? {} : _action$payload330, reducerName = action.meta.reducerName;
_context330.prev = 1;
_context330.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context330.next = 6;
return (0, _effects.call)(APIServices.getlookupGrowingSubRegion, payload);
case 6:
response = _context330.sent;
_context330.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context330.next = 16;
break;
case 11:
_context330.prev = 11;
_context330.t0 = _context330["catch"](1);
console.error(_context330.t0);
/* istanbul ignore next */
_context330.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context330.t0,
name: reducerName
});
case 16:
case "end":
return _context330.stop();
}
}, _marked330, null, [[1, 11]]);
}
function getlookupTownSagas(action) {
var _action$payload331, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupTownSagas$(_context331) {
while (1) switch (_context331.prev = _context331.next) {
case 0:
_action$payload331 = action.payload, payload = _action$payload331 === void 0 ? {} : _action$payload331, reducerName = action.meta.reducerName;
_context331.prev = 1;
_context331.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context331.next = 6;
return (0, _effects.call)(APIServices.getlookupTown, payload);
case 6:
response = _context331.sent;
_context331.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context331.next = 16;
break;
case 11:
_context331.prev = 11;
_context331.t0 = _context331["catch"](1);
console.error(_context331.t0);
/* istanbul ignore next */
_context331.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context331.t0,
name: reducerName
});
case 16:
case "end":
return _context331.stop();
}
}, _marked331, null, [[1, 11]]);
}
function getlookupVarietySagas(action) {
var _action$payload332, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupVarietySagas$(_context332) {
while (1) switch (_context332.prev = _context332.next) {
case 0:
_action$payload332 = action.payload, payload = _action$payload332 === void 0 ? {} : _action$payload332, reducerName = action.meta.reducerName;
_context332.prev = 1;
_context332.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context332.next = 6;
return (0, _effects.call)(APIServices.getlookupVariety, payload);
case 6:
response = _context332.sent;
_context332.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context332.next = 16;
break;
case 11:
_context332.prev = 11;
_context332.t0 = _context332["catch"](1);
console.error(_context332.t0);
/* istanbul ignore next */
_context332.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context332.t0,
name: reducerName
});
case 16:
case "end":
return _context332.stop();
}
}, _marked332, null, [[1, 11]]);
}
function getlookupBlockVintageStatusSagas(action) {
var _action$payload333, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupBlockVintageStatusSagas$(_context333) {
while (1) switch (_context333.prev = _context333.next) {
case 0:
_action$payload333 = action.payload, payload = _action$payload333 === void 0 ? {} : _action$payload333, reducerName = action.meta.reducerName;
_context333.prev = 1;
_context333.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context333.next = 6;
return (0, _effects.call)(APIServices.getlookupBlockVintageStatus, payload);
case 6:
response = _context333.sent;
_context333.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context333.next = 16;
break;
case 11:
_context333.prev = 11;
_context333.t0 = _context333["catch"](1);
console.error(_context333.t0);
/* istanbul ignore next */
_context333.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context333.t0,
name: reducerName
});
case 16:
case "end":
return _context333.stop();
}
}, _marked333, null, [[1, 11]]);
}
function getlookupTrellisSagas(action) {
var _action$payload334, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupTrellisSagas$(_context334) {
while (1) switch (_context334.prev = _context334.next) {
case 0:
_action$payload334 = action.payload, payload = _action$payload334 === void 0 ? {} : _action$payload334, reducerName = action.meta.reducerName;
_context334.prev = 1;
_context334.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context334.next = 6;
return (0, _effects.call)(APIServices.getlookupTrellis, payload);
case 6:
response = _context334.sent;
_context334.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context334.next = 16;
break;
case 11:
_context334.prev = 11;
_context334.t0 = _context334["catch"](1);
console.error(_context334.t0);
/* istanbul ignore next */
_context334.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context334.t0,
name: reducerName
});
case 16:
case "end":
return _context334.stop();
}
}, _marked334, null, [[1, 11]]);
}
function getlookupRootStockSagas(action) {
var _action$payload335, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupRootStockSagas$(_context335) {
while (1) switch (_context335.prev = _context335.next) {
case 0:
_action$payload335 = action.payload, payload = _action$payload335 === void 0 ? {} : _action$payload335, reducerName = action.meta.reducerName;
_context335.prev = 1;
_context335.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context335.next = 6;
return (0, _effects.call)(APIServices.getlookupRootStock, payload);
case 6:
response = _context335.sent;
_context335.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context335.next = 16;
break;
case 11:
_context335.prev = 11;
_context335.t0 = _context335["catch"](1);
console.error(_context335.t0);
/* istanbul ignore next */
_context335.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context335.t0,
name: reducerName
});
case 16:
case "end":
return _context335.stop();
}
}, _marked335, null, [[1, 11]]);
}
function getlookupVarietyCloneSagas(action) {
var _action$payload336, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupVarietyCloneSagas$(_context336) {
while (1) switch (_context336.prev = _context336.next) {
case 0:
_action$payload336 = action.payload, payload = _action$payload336 === void 0 ? {} : _action$payload336, reducerName = action.meta.reducerName;
_context336.prev = 1;
_context336.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context336.next = 6;
return (0, _effects.call)(APIServices.getlookupVarietyClone, payload);
case 6:
response = _context336.sent;
_context336.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context336.next = 16;
break;
case 11:
_context336.prev = 11;
_context336.t0 = _context336["catch"](1);
console.error(_context336.t0);
/* istanbul ignore next */
_context336.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context336.t0,
name: reducerName
});
case 16:
case "end":
return _context336.stop();
}
}, _marked336, null, [[1, 11]]);
}
function getlookupVintageSagas(action) {
var _action$payload337, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupVintageSagas$(_context337) {
while (1) switch (_context337.prev = _context337.next) {
case 0:
_action$payload337 = action.payload, payload = _action$payload337 === void 0 ? {} : _action$payload337, reducerName = action.meta.reducerName;
_context337.prev = 1;
_context337.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context337.next = 6;
return (0, _effects.call)(APIServices.getlookupVintage, payload);
case 6:
response = _context337.sent;
_context337.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context337.next = 16;
break;
case 11:
_context337.prev = 11;
_context337.t0 = _context337["catch"](1);
console.error(_context337.t0);
/* istanbul ignore next */
_context337.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context337.t0,
name: reducerName
});
case 16:
case "end":
return _context337.stop();
}
}, _marked337, null, [[1, 11]]);
}
function getlookupRowSpecialAttributeSagas(action) {
var _action$payload338, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupRowSpecialAttributeSagas$(_context338) {
while (1) switch (_context338.prev = _context338.next) {
case 0:
_action$payload338 = action.payload, payload = _action$payload338 === void 0 ? {} : _action$payload338, reducerName = action.meta.reducerName;
_context338.prev = 1;
_context338.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context338.next = 6;
return (0, _effects.call)(APIServices.getlookupRowSpecialAttribute, payload);
case 6:
response = _context338.sent;
_context338.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context338.next = 16;
break;
case 11:
_context338.prev = 11;
_context338.t0 = _context338["catch"](1);
console.error(_context338.t0);
/* istanbul ignore next */
_context338.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context338.t0,
name: reducerName
});
case 16:
case "end":
return _context338.stop();
}
}, _marked338, null, [[1, 11]]);
}
function getlookupNoteStatusSagas(action) {
var _action$payload339, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupNoteStatusSagas$(_context339) {
while (1) switch (_context339.prev = _context339.next) {
case 0:
_action$payload339 = action.payload, payload = _action$payload339 === void 0 ? {} : _action$payload339, reducerName = action.meta.reducerName;
_context339.prev = 1;
_context339.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context339.next = 6;
return (0, _effects.call)(APIServices.getlookupNoteStatus, payload);
case 6:
response = _context339.sent;
_context339.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context339.next = 16;
break;
case 11:
_context339.prev = 11;
_context339.t0 = _context339["catch"](1);
console.error(_context339.t0);
/* istanbul ignore next */
_context339.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context339.t0,
name: reducerName
});
case 16:
case "end":
return _context339.stop();
}
}, _marked339, null, [[1, 11]]);
}
function getlookupMeasureSagas(action) {
var _action$payload340, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupMeasureSagas$(_context340) {
while (1) switch (_context340.prev = _context340.next) {
case 0:
_action$payload340 = action.payload, payload = _action$payload340 === void 0 ? {} : _action$payload340, reducerName = action.meta.reducerName;
_context340.prev = 1;
_context340.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context340.next = 6;
return (0, _effects.call)(APIServices.getlookupMeasure, payload);
case 6:
response = _context340.sent;
_context340.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context340.next = 16;
break;
case 11:
_context340.prev = 11;
_context340.t0 = _context340["catch"](1);
console.error(_context340.t0);
/* istanbul ignore next */
_context340.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context340.t0,
name: reducerName
});
case 16:
case "end":
return _context340.stop();
}
}, _marked340, null, [[1, 11]]);
}
function getlookupMeasureGroupSagas(action) {
var _action$payload341, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupMeasureGroupSagas$(_context341) {
while (1) switch (_context341.prev = _context341.next) {
case 0:
_action$payload341 = action.payload, payload = _action$payload341 === void 0 ? {} : _action$payload341, reducerName = action.meta.reducerName;
_context341.prev = 1;
_context341.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context341.next = 6;
return (0, _effects.call)(APIServices.getlookupMeasureGroup, payload);
case 6:
response = _context341.sent;
_context341.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context341.next = 16;
break;
case 11:
_context341.prev = 11;
_context341.t0 = _context341["catch"](1);
console.error(_context341.t0);
/* istanbul ignore next */
_context341.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context341.t0,
name: reducerName
});
case 16:
case "end":
return _context341.stop();
}
}, _marked341, null, [[1, 11]]);
}
function getlookupMeasureInstanceSagas(action) {
var _action$payload342, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupMeasureInstanceSagas$(_context342) {
while (1) switch (_context342.prev = _context342.next) {
case 0:
_action$payload342 = action.payload, payload = _action$payload342 === void 0 ? {} : _action$payload342, reducerName = action.meta.reducerName;
_context342.prev = 1;
_context342.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context342.next = 6;
return (0, _effects.call)(APIServices.getlookupMeasureInstance, payload);
case 6:
response = _context342.sent;
_context342.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context342.next = 16;
break;
case 11:
_context342.prev = 11;
_context342.t0 = _context342["catch"](1);
console.error(_context342.t0);
/* istanbul ignore next */
_context342.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context342.t0,
name: reducerName
});
case 16:
case "end":
return _context342.stop();
}
}, _marked342, null, [[1, 11]]);
}
function getlookupKeywordSagas(action) {
var _action$payload343, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupKeywordSagas$(_context343) {
while (1) switch (_context343.prev = _context343.next) {
case 0:
_action$payload343 = action.payload, payload = _action$payload343 === void 0 ? {} : _action$payload343, reducerName = action.meta.reducerName;
_context343.prev = 1;
_context343.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context343.next = 6;
return (0, _effects.call)(APIServices.getlookupKeyword, payload);
case 6:
response = _context343.sent;
_context343.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context343.next = 16;
break;
case 11:
_context343.prev = 11;
_context343.t0 = _context343["catch"](1);
console.error(_context343.t0);
/* istanbul ignore next */
_context343.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context343.t0,
name: reducerName
});
case 16:
case "end":
return _context343.stop();
}
}, _marked343, null, [[1, 11]]);
}
function getlookupSampleRequestStatusSagas(action) {
var _action$payload344, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupSampleRequestStatusSagas$(_context344) {
while (1) switch (_context344.prev = _context344.next) {
case 0:
_action$payload344 = action.payload, payload = _action$payload344 === void 0 ? {} : _action$payload344, reducerName = action.meta.reducerName;
_context344.prev = 1;
_context344.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context344.next = 6;
return (0, _effects.call)(APIServices.getlookupSampleRequestStatus, payload);
case 6:
response = _context344.sent;
_context344.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context344.next = 16;
break;
case 11:
_context344.prev = 11;
_context344.t0 = _context344["catch"](1);
console.error(_context344.t0);
/* istanbul ignore next */
_context344.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context344.t0,
name: reducerName
});
case 16:
case "end":
return _context344.stop();
}
}, _marked344, null, [[1, 11]]);
}
function getlookupPayrollSystemSagas(action) {
var _action$payload345, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupPayrollSystemSagas$(_context345) {
while (1) switch (_context345.prev = _context345.next) {
case 0:
_action$payload345 = action.payload, payload = _action$payload345 === void 0 ? {} : _action$payload345, reducerName = action.meta.reducerName;
_context345.prev = 1;
_context345.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context345.next = 6;
return (0, _effects.call)(APIServices.getlookupPayrollSystem, payload);
case 6:
response = _context345.sent;
_context345.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context345.next = 16;
break;
case 11:
_context345.prev = 11;
_context345.t0 = _context345["catch"](1);
console.error(_context345.t0);
/* istanbul ignore next */
_context345.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context345.t0,
name: reducerName
});
case 16:
case "end":
return _context345.stop();
}
}, _marked345, null, [[1, 11]]);
}
function getlookupDataProviderSagas(action) {
var _action$payload346, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupDataProviderSagas$(_context346) {
while (1) switch (_context346.prev = _context346.next) {
case 0:
_action$payload346 = action.payload, payload = _action$payload346 === void 0 ? {} : _action$payload346, reducerName = action.meta.reducerName;
_context346.prev = 1;
_context346.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context346.next = 6;
return (0, _effects.call)(APIServices.getlookupDataProvider, payload);
case 6:
response = _context346.sent;
_context346.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context346.next = 16;
break;
case 11:
_context346.prev = 11;
_context346.t0 = _context346["catch"](1);
console.error(_context346.t0);
/* istanbul ignore next */
_context346.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context346.t0,
name: reducerName
});
case 16:
case "end":
return _context346.stop();
}
}, _marked346, null, [[1, 11]]);
}
function getlookupDataProviderTypeSagas(action) {
var _action$payload347, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupDataProviderTypeSagas$(_context347) {
while (1) switch (_context347.prev = _context347.next) {
case 0:
_action$payload347 = action.payload, payload = _action$payload347 === void 0 ? {} : _action$payload347, reducerName = action.meta.reducerName;
_context347.prev = 1;
_context347.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context347.next = 6;
return (0, _effects.call)(APIServices.getlookupDataProviderType, payload);
case 6:
response = _context347.sent;
_context347.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context347.next = 16;
break;
case 11:
_context347.prev = 11;
_context347.t0 = _context347["catch"](1);
console.error(_context347.t0);
/* istanbul ignore next */
_context347.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context347.t0,
name: reducerName
});
case 16:
case "end":
return _context347.stop();
}
}, _marked347, null, [[1, 11]]);
}
function getlookupPhenologyMeasureSagas(action) {
var _action$payload348, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupPhenologyMeasureSagas$(_context348) {
while (1) switch (_context348.prev = _context348.next) {
case 0:
_action$payload348 = action.payload, payload = _action$payload348 === void 0 ? {} : _action$payload348, reducerName = action.meta.reducerName;
_context348.prev = 1;
_context348.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context348.next = 6;
return (0, _effects.call)(APIServices.getlookupPhenologyMeasure, payload);
case 6:
response = _context348.sent;
_context348.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context348.next = 16;
break;
case 11:
_context348.prev = 11;
_context348.t0 = _context348["catch"](1);
console.error(_context348.t0);
/* istanbul ignore next */
_context348.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context348.t0,
name: reducerName
});
case 16:
case "end":
return _context348.stop();
}
}, _marked348, null, [[1, 11]]);
}
function getlookupPhenologyMeasureOptionSagas(action) {
var _action$payload349, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupPhenologyMeasureOptionSagas$(_context349) {
while (1) switch (_context349.prev = _context349.next) {
case 0:
_action$payload349 = action.payload, payload = _action$payload349 === void 0 ? {} : _action$payload349, reducerName = action.meta.reducerName;
_context349.prev = 1;
_context349.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context349.next = 6;
return (0, _effects.call)(APIServices.getlookupPhenologyMeasureOption, payload);
case 6:
response = _context349.sent;
_context349.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context349.next = 16;
break;
case 11:
_context349.prev = 11;
_context349.t0 = _context349["catch"](1);
console.error(_context349.t0);
/* istanbul ignore next */
_context349.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context349.t0,
name: reducerName
});
case 16:
case "end":
return _context349.stop();
}
}, _marked349, null, [[1, 11]]);
}
function getlookupPhenologyMeasureSetSagas(action) {
var _action$payload350, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupPhenologyMeasureSetSagas$(_context350) {
while (1) switch (_context350.prev = _context350.next) {
case 0:
_action$payload350 = action.payload, payload = _action$payload350 === void 0 ? {} : _action$payload350, reducerName = action.meta.reducerName;
_context350.prev = 1;
_context350.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context350.next = 6;
return (0, _effects.call)(APIServices.getlookupPhenologyMeasureSet, payload);
case 6:
response = _context350.sent;
_context350.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context350.next = 16;
break;
case 11:
_context350.prev = 11;
_context350.t0 = _context350["catch"](1);
console.error(_context350.t0);
/* istanbul ignore next */
_context350.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context350.t0,
name: reducerName
});
case 16:
case "end":
return _context350.stop();
}
}, _marked350, null, [[1, 11]]);
}
function getlookupPhenologyMeasureTypeSagas(action) {
var _action$payload351, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupPhenologyMeasureTypeSagas$(_context351) {
while (1) switch (_context351.prev = _context351.next) {
case 0:
_action$payload351 = action.payload, payload = _action$payload351 === void 0 ? {} : _action$payload351, reducerName = action.meta.reducerName;
_context351.prev = 1;
_context351.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context351.next = 6;
return (0, _effects.call)(APIServices.getlookupPhenologyMeasureType, payload);
case 6:
response = _context351.sent;
_context351.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context351.next = 16;
break;
case 11:
_context351.prev = 11;
_context351.t0 = _context351["catch"](1);
console.error(_context351.t0);
/* istanbul ignore next */
_context351.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context351.t0,
name: reducerName
});
case 16:
case "end":
return _context351.stop();
}
}, _marked351, null, [[1, 11]]);
}
function getlookupCropSettingInstanceSagas(action) {
var _action$payload352, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupCropSettingInstanceSagas$(_context352) {
while (1) switch (_context352.prev = _context352.next) {
case 0:
_action$payload352 = action.payload, payload = _action$payload352 === void 0 ? {} : _action$payload352, reducerName = action.meta.reducerName;
_context352.prev = 1;
_context352.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context352.next = 6;
return (0, _effects.call)(APIServices.getlookupCropSettingInstance, payload);
case 6:
response = _context352.sent;
_context352.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context352.next = 16;
break;
case 11:
_context352.prev = 11;
_context352.t0 = _context352["catch"](1);
console.error(_context352.t0);
/* istanbul ignore next */
_context352.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context352.t0,
name: reducerName
});
case 16:
case "end":
return _context352.stop();
}
}, _marked352, null, [[1, 11]]);
}
function getlookupCropSettingOptionSagas(action) {
var _action$payload353, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupCropSettingOptionSagas$(_context353) {
while (1) switch (_context353.prev = _context353.next) {
case 0:
_action$payload353 = action.payload, payload = _action$payload353 === void 0 ? {} : _action$payload353, reducerName = action.meta.reducerName;
_context353.prev = 1;
_context353.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context353.next = 6;
return (0, _effects.call)(APIServices.getlookupCropSettingOption, payload);
case 6:
response = _context353.sent;
_context353.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context353.next = 16;
break;
case 11:
_context353.prev = 11;
_context353.t0 = _context353["catch"](1);
console.error(_context353.t0);
/* istanbul ignore next */
_context353.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context353.t0,
name: reducerName
});
case 16:
case "end":
return _context353.stop();
}
}, _marked353, null, [[1, 11]]);
}
function getlookupInactiveReasonSagas(action) {
var _action$payload354, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupInactiveReasonSagas$(_context354) {
while (1) switch (_context354.prev = _context354.next) {
case 0:
_action$payload354 = action.payload, payload = _action$payload354 === void 0 ? {} : _action$payload354, reducerName = action.meta.reducerName;
_context354.prev = 1;
_context354.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context354.next = 6;
return (0, _effects.call)(APIServices.getlookupInactiveReason, payload);
case 6:
response = _context354.sent;
_context354.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context354.next = 16;
break;
case 11:
_context354.prev = 11;
_context354.t0 = _context354["catch"](1);
console.error(_context354.t0);
/* istanbul ignore next */
_context354.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context354.t0,
name: reducerName
});
case 16:
case "end":
return _context354.stop();
}
}, _marked354, null, [[1, 11]]);
}
function getlookupDocumentTypeSagas(action) {
var _action$payload355, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupDocumentTypeSagas$(_context355) {
while (1) switch (_context355.prev = _context355.next) {
case 0:
_action$payload355 = action.payload, payload = _action$payload355 === void 0 ? {} : _action$payload355, reducerName = action.meta.reducerName;
_context355.prev = 1;
_context355.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context355.next = 6;
return (0, _effects.call)(APIServices.getlookupDocumentType, payload);
case 6:
response = _context355.sent;
_context355.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context355.next = 16;
break;
case 11:
_context355.prev = 11;
_context355.t0 = _context355["catch"](1);
console.error(_context355.t0);
/* istanbul ignore next */
_context355.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context355.t0,
name: reducerName
});
case 16:
case "end":
return _context355.stop();
}
}, _marked355, null, [[1, 11]]);
}
function getlookupDocumentStatusSagas(action) {
var _action$payload356, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupDocumentStatusSagas$(_context356) {
while (1) switch (_context356.prev = _context356.next) {
case 0:
_action$payload356 = action.payload, payload = _action$payload356 === void 0 ? {} : _action$payload356, reducerName = action.meta.reducerName;
_context356.prev = 1;
_context356.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context356.next = 6;
return (0, _effects.call)(APIServices.getlookupDocumentStatus, payload);
case 6:
response = _context356.sent;
_context356.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context356.next = 16;
break;
case 11:
_context356.prev = 11;
_context356.t0 = _context356["catch"](1);
console.error(_context356.t0);
/* istanbul ignore next */
_context356.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context356.t0,
name: reducerName
});
case 16:
case "end":
return _context356.stop();
}
}, _marked356, null, [[1, 11]]);
}
function getlookupDashboardPageFiltersSagas(action) {
var _action$payload357, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupDashboardPageFiltersSagas$(_context357) {
while (1) switch (_context357.prev = _context357.next) {
case 0:
_action$payload357 = action.payload, payload = _action$payload357 === void 0 ? {} : _action$payload357, reducerName = action.meta.reducerName;
_context357.prev = 1;
_context357.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context357.next = 6;
return (0, _effects.call)(APIServices.getlookupDashboardPageFilters, payload);
case 6:
response = _context357.sent;
_context357.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context357.next = 16;
break;
case 11:
_context357.prev = 11;
_context357.t0 = _context357["catch"](1);
console.error(_context357.t0);
/* istanbul ignore next */
_context357.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context357.t0,
name: reducerName
});
case 16:
case "end":
return _context357.stop();
}
}, _marked357, null, [[1, 11]]);
}
function getlookupChartFiltersSagas(action) {
var _action$payload358, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupChartFiltersSagas$(_context358) {
while (1) switch (_context358.prev = _context358.next) {
case 0:
_action$payload358 = action.payload, payload = _action$payload358 === void 0 ? {} : _action$payload358, reducerName = action.meta.reducerName;
_context358.prev = 1;
_context358.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context358.next = 6;
return (0, _effects.call)(APIServices.getlookupChartFilters, payload);
case 6:
response = _context358.sent;
_context358.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context358.next = 16;
break;
case 11:
_context358.prev = 11;
_context358.t0 = _context358["catch"](1);
console.error(_context358.t0);
/* istanbul ignore next */
_context358.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context358.t0,
name: reducerName
});
case 16:
case "end":
return _context358.stop();
}
}, _marked358, null, [[1, 11]]);
}
function getlookupVehicleTypeSagas(action) {
var _action$payload359, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupVehicleTypeSagas$(_context359) {
while (1) switch (_context359.prev = _context359.next) {
case 0:
_action$payload359 = action.payload, payload = _action$payload359 === void 0 ? {} : _action$payload359, reducerName = action.meta.reducerName;
_context359.prev = 1;
_context359.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context359.next = 6;
return (0, _effects.call)(APIServices.getlookupVehicleType, payload);
case 6:
response = _context359.sent;
_context359.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context359.next = 16;
break;
case 11:
_context359.prev = 11;
_context359.t0 = _context359["catch"](1);
console.error(_context359.t0);
/* istanbul ignore next */
_context359.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context359.t0,
name: reducerName
});
case 16:
case "end":
return _context359.stop();
}
}, _marked359, null, [[1, 11]]);
}
function getlookupVehicleMakeSagas(action) {
var _action$payload360, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupVehicleMakeSagas$(_context360) {
while (1) switch (_context360.prev = _context360.next) {
case 0:
_action$payload360 = action.payload, payload = _action$payload360 === void 0 ? {} : _action$payload360, reducerName = action.meta.reducerName;
_context360.prev = 1;
_context360.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context360.next = 6;
return (0, _effects.call)(APIServices.getlookupVehicleMake, payload);
case 6:
response = _context360.sent;
_context360.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context360.next = 16;
break;
case 11:
_context360.prev = 11;
_context360.t0 = _context360["catch"](1);
console.error(_context360.t0);
/* istanbul ignore next */
_context360.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context360.t0,
name: reducerName
});
case 16:
case "end":
return _context360.stop();
}
}, _marked360, null, [[1, 11]]);
}
function getlookupConsumableTypeSagas(action) {
var _action$payload361, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupConsumableTypeSagas$(_context361) {
while (1) switch (_context361.prev = _context361.next) {
case 0:
_action$payload361 = action.payload, payload = _action$payload361 === void 0 ? {} : _action$payload361, reducerName = action.meta.reducerName;
_context361.prev = 1;
_context361.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context361.next = 6;
return (0, _effects.call)(APIServices.getlookupConsumableType, payload);
case 6:
response = _context361.sent;
_context361.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context361.next = 16;
break;
case 11:
_context361.prev = 11;
_context361.t0 = _context361["catch"](1);
console.error(_context361.t0);
/* istanbul ignore next */
_context361.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context361.t0,
name: reducerName
});
case 16:
case "end":
return _context361.stop();
}
}, _marked361, null, [[1, 11]]);
}
function getlookupSensorStatusSagas(action) {
var _action$payload362, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupSensorStatusSagas$(_context362) {
while (1) switch (_context362.prev = _context362.next) {
case 0:
_action$payload362 = action.payload, payload = _action$payload362 === void 0 ? {} : _action$payload362, reducerName = action.meta.reducerName;
_context362.prev = 1;
_context362.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context362.next = 6;
return (0, _effects.call)(APIServices.getlookupSensorStatus, payload);
case 6:
response = _context362.sent;
_context362.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context362.next = 16;
break;
case 11:
_context362.prev = 11;
_context362.t0 = _context362["catch"](1);
console.error(_context362.t0);
/* istanbul ignore next */
_context362.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context362.t0,
name: reducerName
});
case 16:
case "end":
return _context362.stop();
}
}, _marked362, null, [[1, 11]]);
}
function getlookupSensorTypeSagas(action) {
var _action$payload363, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupSensorTypeSagas$(_context363) {
while (1) switch (_context363.prev = _context363.next) {
case 0:
_action$payload363 = action.payload, payload = _action$payload363 === void 0 ? {} : _action$payload363, reducerName = action.meta.reducerName;
_context363.prev = 1;
_context363.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context363.next = 6;
return (0, _effects.call)(APIServices.getlookupSensorType, payload);
case 6:
response = _context363.sent;
_context363.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context363.next = 16;
break;
case 11:
_context363.prev = 11;
_context363.t0 = _context363["catch"](1);
console.error(_context363.t0);
/* istanbul ignore next */
_context363.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context363.t0,
name: reducerName
});
case 16:
case "end":
return _context363.stop();
}
}, _marked363, null, [[1, 11]]);
}
function getlookupSensorTypeMeasureUnitSagas(action) {
var _action$payload364, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupSensorTypeMeasureUnitSagas$(_context364) {
while (1) switch (_context364.prev = _context364.next) {
case 0:
_action$payload364 = action.payload, payload = _action$payload364 === void 0 ? {} : _action$payload364, reducerName = action.meta.reducerName;
_context364.prev = 1;
_context364.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context364.next = 6;
return (0, _effects.call)(APIServices.getlookupSensorTypeMeasureUnit, payload);
case 6:
response = _context364.sent;
_context364.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context364.next = 16;
break;
case 11:
_context364.prev = 11;
_context364.t0 = _context364["catch"](1);
console.error(_context364.t0);
/* istanbul ignore next */
_context364.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context364.t0,
name: reducerName
});
case 16:
case "end":
return _context364.stop();
}
}, _marked364, null, [[1, 11]]);
}
function getlookupActivitySagas(action) {
var _action$payload365, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupActivitySagas$(_context365) {
while (1) switch (_context365.prev = _context365.next) {
case 0:
_action$payload365 = action.payload, payload = _action$payload365 === void 0 ? {} : _action$payload365, reducerName = action.meta.reducerName;
_context365.prev = 1;
_context365.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context365.next = 6;
return (0, _effects.call)(APIServices.getlookupActivity, payload);
case 6:
response = _context365.sent;
_context365.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context365.next = 16;
break;
case 11:
_context365.prev = 11;
_context365.t0 = _context365["catch"](1);
console.error(_context365.t0);
/* istanbul ignore next */
_context365.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context365.t0,
name: reducerName
});
case 16:
case "end":
return _context365.stop();
}
}, _marked365, null, [[1, 11]]);
}
function getlookupDisplayAttributeSagas(action) {
var _action$payload366, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupDisplayAttributeSagas$(_context366) {
while (1) switch (_context366.prev = _context366.next) {
case 0:
_action$payload366 = action.payload, payload = _action$payload366 === void 0 ? {} : _action$payload366, reducerName = action.meta.reducerName;
_context366.prev = 1;
_context366.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context366.next = 6;
return (0, _effects.call)(APIServices.getlookupDisplayAttribute, payload);
case 6:
response = _context366.sent;
_context366.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context366.next = 16;
break;
case 11:
_context366.prev = 11;
_context366.t0 = _context366["catch"](1);
console.error(_context366.t0);
/* istanbul ignore next */
_context366.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context366.t0,
name: reducerName
});
case 16:
case "end":
return _context366.stop();
}
}, _marked366, null, [[1, 11]]);
}
function getlookupDurationSagas(action) {
var _action$payload367, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupDurationSagas$(_context367) {
while (1) switch (_context367.prev = _context367.next) {
case 0:
_action$payload367 = action.payload, payload = _action$payload367 === void 0 ? {} : _action$payload367, reducerName = action.meta.reducerName;
_context367.prev = 1;
_context367.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context367.next = 6;
return (0, _effects.call)(APIServices.getlookupDuration, payload);
case 6:
response = _context367.sent;
_context367.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context367.next = 16;
break;
case 11:
_context367.prev = 11;
_context367.t0 = _context367["catch"](1);
console.error(_context367.t0);
/* istanbul ignore next */
_context367.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context367.t0,
name: reducerName
});
case 16:
case "end":
return _context367.stop();
}
}, _marked367, null, [[1, 11]]);
}
function getlookupWorkUnitSagas(action) {
var _action$payload368, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupWorkUnitSagas$(_context368) {
while (1) switch (_context368.prev = _context368.next) {
case 0:
_action$payload368 = action.payload, payload = _action$payload368 === void 0 ? {} : _action$payload368, reducerName = action.meta.reducerName;
_context368.prev = 1;
_context368.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context368.next = 6;
return (0, _effects.call)(APIServices.getlookupWorkUnit, payload);
case 6:
response = _context368.sent;
_context368.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context368.next = 16;
break;
case 11:
_context368.prev = 11;
_context368.t0 = _context368["catch"](1);
console.error(_context368.t0);
/* istanbul ignore next */
_context368.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context368.t0,
name: reducerName
});
case 16:
case "end":
return _context368.stop();
}
}, _marked368, null, [[1, 11]]);
}
function getlookupResourceTypeSagas(action) {
var _action$payload369, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupResourceTypeSagas$(_context369) {
while (1) switch (_context369.prev = _context369.next) {
case 0:
_action$payload369 = action.payload, payload = _action$payload369 === void 0 ? {} : _action$payload369, reducerName = action.meta.reducerName;
_context369.prev = 1;
_context369.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context369.next = 6;
return (0, _effects.call)(APIServices.getlookupResourceType, payload);
case 6:
response = _context369.sent;
_context369.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context369.next = 16;
break;
case 11:
_context369.prev = 11;
_context369.t0 = _context369["catch"](1);
console.error(_context369.t0);
/* istanbul ignore next */
_context369.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context369.t0,
name: reducerName
});
case 16:
case "end":
return _context369.stop();
}
}, _marked369, null, [[1, 11]]);
}
function getlookupResourceTypeUnitSagas(action) {
var _action$payload370, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupResourceTypeUnitSagas$(_context370) {
while (1) switch (_context370.prev = _context370.next) {
case 0:
_action$payload370 = action.payload, payload = _action$payload370 === void 0 ? {} : _action$payload370, reducerName = action.meta.reducerName;
_context370.prev = 1;
_context370.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context370.next = 6;
return (0, _effects.call)(APIServices.getlookupResourceTypeUnit, payload);
case 6:
response = _context370.sent;
_context370.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context370.next = 16;
break;
case 11:
_context370.prev = 11;
_context370.t0 = _context370["catch"](1);
console.error(_context370.t0);
/* istanbul ignore next */
_context370.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context370.t0,
name: reducerName
});
case 16:
case "end":
return _context370.stop();
}
}, _marked370, null, [[1, 11]]);
}
function getlookupCostingUnitSagas(action) {
var _action$payload371, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupCostingUnitSagas$(_context371) {
while (1) switch (_context371.prev = _context371.next) {
case 0:
_action$payload371 = action.payload, payload = _action$payload371 === void 0 ? {} : _action$payload371, reducerName = action.meta.reducerName;
_context371.prev = 1;
_context371.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context371.next = 6;
return (0, _effects.call)(APIServices.getlookupCostingUnit, payload);
case 6:
response = _context371.sent;
_context371.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context371.next = 16;
break;
case 11:
_context371.prev = 11;
_context371.t0 = _context371["catch"](1);
console.error(_context371.t0);
/* istanbul ignore next */
_context371.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context371.t0,
name: reducerName
});
case 16:
case "end":
return _context371.stop();
}
}, _marked371, null, [[1, 11]]);
}
function getlookupActivityGroupSagas(action) {
var _action$payload372, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupActivityGroupSagas$(_context372) {
while (1) switch (_context372.prev = _context372.next) {
case 0:
_action$payload372 = action.payload, payload = _action$payload372 === void 0 ? {} : _action$payload372, reducerName = action.meta.reducerName;
_context372.prev = 1;
_context372.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context372.next = 6;
return (0, _effects.call)(APIServices.getlookupActivityGroup, payload);
case 6:
response = _context372.sent;
_context372.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context372.next = 16;
break;
case 11:
_context372.prev = 11;
_context372.t0 = _context372["catch"](1);
console.error(_context372.t0);
/* istanbul ignore next */
_context372.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context372.t0,
name: reducerName
});
case 16:
case "end":
return _context372.stop();
}
}, _marked372, null, [[1, 11]]);
}
function getlookupPlanTypeSagas(action) {
var _action$payload373, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupPlanTypeSagas$(_context373) {
while (1) switch (_context373.prev = _context373.next) {
case 0:
_action$payload373 = action.payload, payload = _action$payload373 === void 0 ? {} : _action$payload373, reducerName = action.meta.reducerName;
_context373.prev = 1;
_context373.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context373.next = 6;
return (0, _effects.call)(APIServices.getlookupPlanType, payload);
case 6:
response = _context373.sent;
_context373.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context373.next = 16;
break;
case 11:
_context373.prev = 11;
_context373.t0 = _context373["catch"](1);
console.error(_context373.t0);
/* istanbul ignore next */
_context373.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context373.t0,
name: reducerName
});
case 16:
case "end":
return _context373.stop();
}
}, _marked373, null, [[1, 11]]);
}
function getlookupPlanStatusSagas(action) {
var _action$payload374, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupPlanStatusSagas$(_context374) {
while (1) switch (_context374.prev = _context374.next) {
case 0:
_action$payload374 = action.payload, payload = _action$payload374 === void 0 ? {} : _action$payload374, reducerName = action.meta.reducerName;
_context374.prev = 1;
_context374.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context374.next = 6;
return (0, _effects.call)(APIServices.getlookupPlanStatus, payload);
case 6:
response = _context374.sent;
_context374.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context374.next = 16;
break;
case 11:
_context374.prev = 11;
_context374.t0 = _context374["catch"](1);
console.error(_context374.t0);
/* istanbul ignore next */
_context374.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context374.t0,
name: reducerName
});
case 16:
case "end":
return _context374.stop();
}
}, _marked374, null, [[1, 11]]);
}
function getlookupSupplyContractTypeSagas(action) {
var _action$payload375, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupSupplyContractTypeSagas$(_context375) {
while (1) switch (_context375.prev = _context375.next) {
case 0:
_action$payload375 = action.payload, payload = _action$payload375 === void 0 ? {} : _action$payload375, reducerName = action.meta.reducerName;
_context375.prev = 1;
_context375.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context375.next = 6;
return (0, _effects.call)(APIServices.getlookupSupplyContractType, payload);
case 6:
response = _context375.sent;
_context375.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context375.next = 16;
break;
case 11:
_context375.prev = 11;
_context375.t0 = _context375["catch"](1);
console.error(_context375.t0);
/* istanbul ignore next */
_context375.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context375.t0,
name: reducerName
});
case 16:
case "end":
return _context375.stop();
}
}, _marked375, null, [[1, 11]]);
}
function getlookupJobEventActionSagas(action) {
var _action$payload376, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupJobEventActionSagas$(_context376) {
while (1) switch (_context376.prev = _context376.next) {
case 0:
_action$payload376 = action.payload, payload = _action$payload376 === void 0 ? {} : _action$payload376, reducerName = action.meta.reducerName;
_context376.prev = 1;
_context376.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context376.next = 6;
return (0, _effects.call)(APIServices.getlookupJobEventAction, payload);
case 6:
response = _context376.sent;
_context376.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context376.next = 16;
break;
case 11:
_context376.prev = 11;
_context376.t0 = _context376["catch"](1);
console.error(_context376.t0);
/* istanbul ignore next */
_context376.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context376.t0,
name: reducerName
});
case 16:
case "end":
return _context376.stop();
}
}, _marked376, null, [[1, 11]]);
}
function getlookupJobInvoiceMethodSagas(action) {
var _action$payload377, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupJobInvoiceMethodSagas$(_context377) {
while (1) switch (_context377.prev = _context377.next) {
case 0:
_action$payload377 = action.payload, payload = _action$payload377 === void 0 ? {} : _action$payload377, reducerName = action.meta.reducerName;
_context377.prev = 1;
_context377.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context377.next = 6;
return (0, _effects.call)(APIServices.getlookupJobInvoiceMethod, payload);
case 6:
response = _context377.sent;
_context377.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context377.next = 16;
break;
case 11:
_context377.prev = 11;
_context377.t0 = _context377["catch"](1);
console.error(_context377.t0);
/* istanbul ignore next */
_context377.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context377.t0,
name: reducerName
});
case 16:
case "end":
return _context377.stop();
}
}, _marked377, null, [[1, 11]]);
}
function getlookupJobQuantityTypeSagas(action) {
var _action$payload378, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupJobQuantityTypeSagas$(_context378) {
while (1) switch (_context378.prev = _context378.next) {
case 0:
_action$payload378 = action.payload, payload = _action$payload378 === void 0 ? {} : _action$payload378, reducerName = action.meta.reducerName;
_context378.prev = 1;
_context378.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context378.next = 6;
return (0, _effects.call)(APIServices.getlookupJobQuantityType, payload);
case 6:
response = _context378.sent;
_context378.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context378.next = 16;
break;
case 11:
_context378.prev = 11;
_context378.t0 = _context378["catch"](1);
console.error(_context378.t0);
/* istanbul ignore next */
_context378.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context378.t0,
name: reducerName
});
case 16:
case "end":
return _context378.stop();
}
}, _marked378, null, [[1, 11]]);
}
function getlookupJobStatusSagas(action) {
var _action$payload379, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupJobStatusSagas$(_context379) {
while (1) switch (_context379.prev = _context379.next) {
case 0:
_action$payload379 = action.payload, payload = _action$payload379 === void 0 ? {} : _action$payload379, reducerName = action.meta.reducerName;
_context379.prev = 1;
_context379.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context379.next = 6;
return (0, _effects.call)(APIServices.getlookupJobStatus, payload);
case 6:
response = _context379.sent;
_context379.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context379.next = 16;
break;
case 11:
_context379.prev = 11;
_context379.t0 = _context379["catch"](1);
console.error(_context379.t0);
/* istanbul ignore next */
_context379.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context379.t0,
name: reducerName
});
case 16:
case "end":
return _context379.stop();
}
}, _marked379, null, [[1, 11]]);
}
function getlookupJobTypeSagas(action) {
var _action$payload380, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupJobTypeSagas$(_context380) {
while (1) switch (_context380.prev = _context380.next) {
case 0:
_action$payload380 = action.payload, payload = _action$payload380 === void 0 ? {} : _action$payload380, reducerName = action.meta.reducerName;
_context380.prev = 1;
_context380.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context380.next = 6;
return (0, _effects.call)(APIServices.getlookupJobType, payload);
case 6:
response = _context380.sent;
_context380.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context380.next = 16;
break;
case 11:
_context380.prev = 11;
_context380.t0 = _context380["catch"](1);
console.error(_context380.t0);
/* istanbul ignore next */
_context380.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context380.t0,
name: reducerName
});
case 16:
case "end":
return _context380.stop();
}
}, _marked380, null, [[1, 11]]);
}
function getlookupJobTypeWorkRecordTypeSagas(action) {
var _action$payload381, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupJobTypeWorkRecordTypeSagas$(_context381) {
while (1) switch (_context381.prev = _context381.next) {
case 0:
_action$payload381 = action.payload, payload = _action$payload381 === void 0 ? {} : _action$payload381, reducerName = action.meta.reducerName;
_context381.prev = 1;
_context381.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context381.next = 6;
return (0, _effects.call)(APIServices.getlookupJobTypeWorkRecordType, payload);
case 6:
response = _context381.sent;
_context381.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context381.next = 16;
break;
case 11:
_context381.prev = 11;
_context381.t0 = _context381["catch"](1);
console.error(_context381.t0);
/* istanbul ignore next */
_context381.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context381.t0,
name: reducerName
});
case 16:
case "end":
return _context381.stop();
}
}, _marked381, null, [[1, 11]]);
}
function getlookupWorkRecordLevelSagas(action) {
var _action$payload382, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupWorkRecordLevelSagas$(_context382) {
while (1) switch (_context382.prev = _context382.next) {
case 0:
_action$payload382 = action.payload, payload = _action$payload382 === void 0 ? {} : _action$payload382, reducerName = action.meta.reducerName;
_context382.prev = 1;
_context382.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context382.next = 6;
return (0, _effects.call)(APIServices.getlookupWorkRecordLevel, payload);
case 6:
response = _context382.sent;
_context382.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context382.next = 16;
break;
case 11:
_context382.prev = 11;
_context382.t0 = _context382["catch"](1);
console.error(_context382.t0);
/* istanbul ignore next */
_context382.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context382.t0,
name: reducerName
});
case 16:
case "end":
return _context382.stop();
}
}, _marked382, null, [[1, 11]]);
}
function getlookupPayrollRecordTypeSagas(action) {
var _action$payload383, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupPayrollRecordTypeSagas$(_context383) {
while (1) switch (_context383.prev = _context383.next) {
case 0:
_action$payload383 = action.payload, payload = _action$payload383 === void 0 ? {} : _action$payload383, reducerName = action.meta.reducerName;
_context383.prev = 1;
_context383.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context383.next = 6;
return (0, _effects.call)(APIServices.getlookupPayrollRecordType, payload);
case 6:
response = _context383.sent;
_context383.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context383.next = 16;
break;
case 11:
_context383.prev = 11;
_context383.t0 = _context383["catch"](1);
console.error(_context383.t0);
/* istanbul ignore next */
_context383.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context383.t0,
name: reducerName
});
case 16:
case "end":
return _context383.stop();
}
}, _marked383, null, [[1, 11]]);
}
function getlookupJobWorkUnitSagas(action) {
var _action$payload384, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupJobWorkUnitSagas$(_context384) {
while (1) switch (_context384.prev = _context384.next) {
case 0:
_action$payload384 = action.payload, payload = _action$payload384 === void 0 ? {} : _action$payload384, reducerName = action.meta.reducerName;
_context384.prev = 1;
_context384.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context384.next = 6;
return (0, _effects.call)(APIServices.getlookupJobWorkUnit, payload);
case 6:
response = _context384.sent;
_context384.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context384.next = 16;
break;
case 11:
_context384.prev = 11;
_context384.t0 = _context384["catch"](1);
console.error(_context384.t0);
/* istanbul ignore next */
_context384.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context384.t0,
name: reducerName
});
case 16:
case "end":
return _context384.stop();
}
}, _marked384, null, [[1, 11]]);
}
function getlookupWorkRecordUnitTypeSagas(action) {
var _action$payload385, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupWorkRecordUnitTypeSagas$(_context385) {
while (1) switch (_context385.prev = _context385.next) {
case 0:
_action$payload385 = action.payload, payload = _action$payload385 === void 0 ? {} : _action$payload385, reducerName = action.meta.reducerName;
_context385.prev = 1;
_context385.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context385.next = 6;
return (0, _effects.call)(APIServices.getlookupWorkRecordUnitType, payload);
case 6:
response = _context385.sent;
_context385.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context385.next = 16;
break;
case 11:
_context385.prev = 11;
_context385.t0 = _context385["catch"](1);
console.error(_context385.t0);
/* istanbul ignore next */
_context385.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context385.t0,
name: reducerName
});
case 16:
case "end":
return _context385.stop();
}
}, _marked385, null, [[1, 11]]);
}
function getlookupIdentityActivitySagas(action) {
var _action$payload386, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupIdentityActivitySagas$(_context386) {
while (1) switch (_context386.prev = _context386.next) {
case 0:
_action$payload386 = action.payload, payload = _action$payload386 === void 0 ? {} : _action$payload386, reducerName = action.meta.reducerName;
_context386.prev = 1;
_context386.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context386.next = 6;
return (0, _effects.call)(APIServices.getlookupIdentityActivity, payload);
case 6:
response = _context386.sent;
_context386.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context386.next = 16;
break;
case 11:
_context386.prev = 11;
_context386.t0 = _context386["catch"](1);
console.error(_context386.t0);
/* istanbul ignore next */
_context386.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context386.t0,
name: reducerName
});
case 16:
case "end":
return _context386.stop();
}
}, _marked386, null, [[1, 11]]);
}
function getlookupSystemDataSagas(action) {
var _action$payload387, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupSystemDataSagas$(_context387) {
while (1) switch (_context387.prev = _context387.next) {
case 0:
_action$payload387 = action.payload, payload = _action$payload387 === void 0 ? {} : _action$payload387, reducerName = action.meta.reducerName;
_context387.prev = 1;
_context387.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context387.next = 6;
return (0, _effects.call)(APIServices.getlookupSystemData, payload);
case 6:
response = _context387.sent;
_context387.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context387.next = 16;
break;
case 11:
_context387.prev = 11;
_context387.t0 = _context387["catch"](1);
console.error(_context387.t0);
/* istanbul ignore next */
_context387.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context387.t0,
name: reducerName
});
case 16:
case "end":
return _context387.stop();
}
}, _marked387, null, [[1, 11]]);
}
function getlookupSiteTypeSagas(action) {
var _action$payload388, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupSiteTypeSagas$(_context388) {
while (1) switch (_context388.prev = _context388.next) {
case 0:
_action$payload388 = action.payload, payload = _action$payload388 === void 0 ? {} : _action$payload388, reducerName = action.meta.reducerName;
_context388.prev = 1;
_context388.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context388.next = 6;
return (0, _effects.call)(APIServices.getlookupSiteType, payload);
case 6:
response = _context388.sent;
_context388.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context388.next = 16;
break;
case 11:
_context388.prev = 11;
_context388.t0 = _context388["catch"](1);
console.error(_context388.t0);
/* istanbul ignore next */
_context388.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context388.t0,
name: reducerName
});
case 16:
case "end":
return _context388.stop();
}
}, _marked388, null, [[1, 11]]);
}
function getlookupImportTypeSagas(action) {
var _action$payload389, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupImportTypeSagas$(_context389) {
while (1) switch (_context389.prev = _context389.next) {
case 0:
_action$payload389 = action.payload, payload = _action$payload389 === void 0 ? {} : _action$payload389, reducerName = action.meta.reducerName;
_context389.prev = 1;
_context389.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context389.next = 6;
return (0, _effects.call)(APIServices.getlookupImportType, payload);
case 6:
response = _context389.sent;
_context389.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context389.next = 16;
break;
case 11:
_context389.prev = 11;
_context389.t0 = _context389["catch"](1);
console.error(_context389.t0);
/* istanbul ignore next */
_context389.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context389.t0,
name: reducerName
});
case 16:
case "end":
return _context389.stop();
}
}, _marked389, null, [[1, 11]]);
}
function getlookupEventLogStatusSagas(action) {
var _action$payload390, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupEventLogStatusSagas$(_context390) {
while (1) switch (_context390.prev = _context390.next) {
case 0:
_action$payload390 = action.payload, payload = _action$payload390 === void 0 ? {} : _action$payload390, reducerName = action.meta.reducerName;
_context390.prev = 1;
_context390.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context390.next = 6;
return (0, _effects.call)(APIServices.getlookupEventLogStatus, payload);
case 6:
response = _context390.sent;
_context390.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context390.next = 16;
break;
case 11:
_context390.prev = 11;
_context390.t0 = _context390["catch"](1);
console.error(_context390.t0);
/* istanbul ignore next */
_context390.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context390.t0,
name: reducerName
});
case 16:
case "end":
return _context390.stop();
}
}, _marked390, null, [[1, 11]]);
}
function getlookupCostAllocationFactorSagas(action) {
var _action$payload391, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupCostAllocationFactorSagas$(_context391) {
while (1) switch (_context391.prev = _context391.next) {
case 0:
_action$payload391 = action.payload, payload = _action$payload391 === void 0 ? {} : _action$payload391, reducerName = action.meta.reducerName;
_context391.prev = 1;
_context391.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context391.next = 6;
return (0, _effects.call)(APIServices.getlookupCostAllocationFactor, payload);
case 6:
response = _context391.sent;
_context391.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context391.next = 16;
break;
case 11:
_context391.prev = 11;
_context391.t0 = _context391["catch"](1);
console.error(_context391.t0);
/* istanbul ignore next */
_context391.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context391.t0,
name: reducerName
});
case 16:
case "end":
return _context391.stop();
}
}, _marked391, null, [[1, 11]]);
}
function getlookupReportTypeSagas(action) {
var _action$payload392, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupReportTypeSagas$(_context392) {
while (1) switch (_context392.prev = _context392.next) {
case 0:
_action$payload392 = action.payload, payload = _action$payload392 === void 0 ? {} : _action$payload392, reducerName = action.meta.reducerName;
_context392.prev = 1;
_context392.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context392.next = 6;
return (0, _effects.call)(APIServices.getlookupReportType, payload);
case 6:
response = _context392.sent;
_context392.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context392.next = 16;
break;
case 11:
_context392.prev = 11;
_context392.t0 = _context392["catch"](1);
console.error(_context392.t0);
/* istanbul ignore next */
_context392.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context392.t0,
name: reducerName
});
case 16:
case "end":
return _context392.stop();
}
}, _marked392, null, [[1, 11]]);
}
function getlookupWineryDataTypeSagas(action) {
var _action$payload393, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupWineryDataTypeSagas$(_context393) {
while (1) switch (_context393.prev = _context393.next) {
case 0:
_action$payload393 = action.payload, payload = _action$payload393 === void 0 ? {} : _action$payload393, reducerName = action.meta.reducerName;
_context393.prev = 1;
_context393.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context393.next = 6;
return (0, _effects.call)(APIServices.getlookupWineryDataType, payload);
case 6:
response = _context393.sent;
_context393.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context393.next = 16;
break;
case 11:
_context393.prev = 11;
_context393.t0 = _context393["catch"](1);
console.error(_context393.t0);
/* istanbul ignore next */
_context393.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context393.t0,
name: reducerName
});
case 16:
case "end":
return _context393.stop();
}
}, _marked393, null, [[1, 11]]);
}
function getlookupWineryDataAllocationRuleSagas(action) {
var _action$payload394, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupWineryDataAllocationRuleSagas$(_context394) {
while (1) switch (_context394.prev = _context394.next) {
case 0:
_action$payload394 = action.payload, payload = _action$payload394 === void 0 ? {} : _action$payload394, reducerName = action.meta.reducerName;
_context394.prev = 1;
_context394.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context394.next = 6;
return (0, _effects.call)(APIServices.getlookupWineryDataAllocationRule, payload);
case 6:
response = _context394.sent;
_context394.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context394.next = 16;
break;
case 11:
_context394.prev = 11;
_context394.t0 = _context394["catch"](1);
console.error(_context394.t0);
/* istanbul ignore next */
_context394.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context394.t0,
name: reducerName
});
case 16:
case "end":
return _context394.stop();
}
}, _marked394, null, [[1, 11]]);
}
function getlookupWorkRecordTypeSagas(action) {
var _action$payload395, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupWorkRecordTypeSagas$(_context395) {
while (1) switch (_context395.prev = _context395.next) {
case 0:
_action$payload395 = action.payload, payload = _action$payload395 === void 0 ? {} : _action$payload395, reducerName = action.meta.reducerName;
_context395.prev = 1;
_context395.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context395.next = 6;
return (0, _effects.call)(APIServices.getlookupWorkRecordType, payload);
case 6:
response = _context395.sent;
_context395.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context395.next = 16;
break;
case 11:
_context395.prev = 11;
_context395.t0 = _context395["catch"](1);
console.error(_context395.t0);
/* istanbul ignore next */
_context395.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context395.t0,
name: reducerName
});
case 16:
case "end":
return _context395.stop();
}
}, _marked395, null, [[1, 11]]);
}
function getlookupPayLoadingSagas(action) {
var _action$payload396, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupPayLoadingSagas$(_context396) {
while (1) switch (_context396.prev = _context396.next) {
case 0:
_action$payload396 = action.payload, payload = _action$payload396 === void 0 ? {} : _action$payload396, reducerName = action.meta.reducerName;
_context396.prev = 1;
_context396.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context396.next = 6;
return (0, _effects.call)(APIServices.getlookupPayLoading, payload);
case 6:
response = _context396.sent;
_context396.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context396.next = 16;
break;
case 11:
_context396.prev = 11;
_context396.t0 = _context396["catch"](1);
console.error(_context396.t0);
/* istanbul ignore next */
_context396.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context396.t0,
name: reducerName
});
case 16:
case "end":
return _context396.stop();
}
}, _marked396, null, [[1, 11]]);
}
function getlookupSplitTypeSagas(action) {
var _action$payload397, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupSplitTypeSagas$(_context397) {
while (1) switch (_context397.prev = _context397.next) {
case 0:
_action$payload397 = action.payload, payload = _action$payload397 === void 0 ? {} : _action$payload397, reducerName = action.meta.reducerName;
_context397.prev = 1;
_context397.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context397.next = 6;
return (0, _effects.call)(APIServices.getlookupSplitType, payload);
case 6:
response = _context397.sent;
_context397.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context397.next = 16;
break;
case 11:
_context397.prev = 11;
_context397.t0 = _context397["catch"](1);
console.error(_context397.t0);
/* istanbul ignore next */
_context397.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context397.t0,
name: reducerName
});
case 16:
case "end":
return _context397.stop();
}
}, _marked397, null, [[1, 11]]);
}
function getlookupPayrollStatusSagas(action) {
var _action$payload398, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupPayrollStatusSagas$(_context398) {
while (1) switch (_context398.prev = _context398.next) {
case 0:
_action$payload398 = action.payload, payload = _action$payload398 === void 0 ? {} : _action$payload398, reducerName = action.meta.reducerName;
_context398.prev = 1;
_context398.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context398.next = 6;
return (0, _effects.call)(APIServices.getlookupPayrollStatus, payload);
case 6:
response = _context398.sent;
_context398.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context398.next = 16;
break;
case 11:
_context398.prev = 11;
_context398.t0 = _context398["catch"](1);
console.error(_context398.t0);
/* istanbul ignore next */
_context398.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context398.t0,
name: reducerName
});
case 16:
case "end":
return _context398.stop();
}
}, _marked398, null, [[1, 11]]);
}
function getlookupBatchStatusSagas(action) {
var _action$payload399, payload, reducerName, response;
return _regeneratorRuntime().wrap(function getlookupBatchStatusSagas$(_context399) {
while (1) switch (_context399.prev = _context399.next) {
case 0:
_action$payload399 = action.payload, payload = _action$payload399 === void 0 ? {} : _action$payload399, reducerName = action.meta.reducerName;
_context399.prev = 1;
_context399.next = 4;
return (0, _effects.put)({
type: "FETCHING",
name: reducerName
});
case 4:
_context399.next = 6;
return (0, _effects.call)(APIServices.getlookupBatchStatus, payload);
case 6:
response = _context399.sent;
_context399.next = 9;
return (0, _effects.put)({
type: "SUCCESS",
payload: response,
name: reducerName
});
case 9:
_context399.next = 16;
break;
case 11:
_context399.prev = 11;
_context399.t0 = _context399["catch"](1);
console.error(_context399.t0);
/* istanbul ignore next */
_context399.next = 16;
return (0, _effects.put)({
type: "ERROR",
payload: _context399.t0,
name: reducerName
});
case 16:
case "end":
return _context399.stop();
}
}, _marked399, null, [[1, 11]]);
}
/** run all lookups requests **/
function fetchAllLookupsSagas(action) {
return _regeneratorRuntime().wrap(function fetchAllLookupsSagas$(_context400) {
while (1) switch (_context400.prev = _context400.next) {
case 0:
_context400.prev = 0;
_context400.next = 3;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupClassification.get.request());
case 3:
_context400.next = 5;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupClassificationGroup.get.request());
case 5:
_context400.next = 7;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupClassificationGroupIdentityType.get.request());
case 7:
_context400.next = 9;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupReferenceType.get.request());
case 9:
_context400.next = 11;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupIdentityType.get.request());
case 11:
_context400.next = 13;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupRoleType.get.request());
case 13:
_context400.next = 15;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupRoleTypeIdentityType.get.request());
case 15:
_context400.next = 17;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupBusinessUnit.get.request());
case 17:
_context400.next = 19;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupReferenceTypeIdentityType.get.request());
case 19:
_context400.next = 21;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupRelationshipType.get.request());
case 21:
_context400.next = 23;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupContactMethod.get.request());
case 23:
_context400.next = 25;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupGender.get.request());
case 25:
_context400.next = 27;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupNationality.get.request());
case 27:
_context400.next = 29;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupEthnicity.get.request());
case 29:
_context400.next = 31;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupLanguage.get.request());
case 31:
_context400.next = 33;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupCountry.get.request());
case 33:
_context400.next = 35;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupSalutation.get.request());
case 35:
_context400.next = 37;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupGrowingRegion.get.request());
case 37:
_context400.next = 39;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupGrowingSubRegion.get.request());
case 39:
_context400.next = 41;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupTown.get.request());
case 41:
_context400.next = 43;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupVariety.get.request());
case 43:
_context400.next = 45;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupBlockVintageStatus.get.request());
case 45:
_context400.next = 47;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupTrellis.get.request());
case 47:
_context400.next = 49;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupRootStock.get.request());
case 49:
_context400.next = 51;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupVarietyClone.get.request());
case 51:
_context400.next = 53;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupVintage.get.request());
case 53:
_context400.next = 55;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupRowSpecialAttribute.get.request());
case 55:
_context400.next = 57;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupNoteStatus.get.request());
case 57:
_context400.next = 59;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupMeasure.get.request());
case 59:
_context400.next = 61;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupMeasureGroup.get.request());
case 61:
_context400.next = 63;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupMeasureInstance.get.request());
case 63:
_context400.next = 65;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupKeyword.get.request());
case 65:
_context400.next = 67;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupSampleRequestStatus.get.request());
case 67:
_context400.next = 69;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupPayrollSystem.get.request());
case 69:
_context400.next = 71;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupDataProvider.get.request());
case 71:
_context400.next = 73;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupDataProviderType.get.request());
case 73:
_context400.next = 75;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupPhenologyMeasure.get.request());
case 75:
_context400.next = 77;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupPhenologyMeasureOption.get.request());
case 77:
_context400.next = 79;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupPhenologyMeasureSet.get.request());
case 79:
_context400.next = 81;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupPhenologyMeasureType.get.request());
case 81:
_context400.next = 83;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupCropSettingInstance.get.request());
case 83:
_context400.next = 85;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupCropSettingOption.get.request());
case 85:
_context400.next = 87;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupInactiveReason.get.request());
case 87:
_context400.next = 89;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupDocumentType.get.request());
case 89:
_context400.next = 91;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupDocumentStatus.get.request());
case 91:
_context400.next = 93;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupDashboardPageFilters.get.request());
case 93:
_context400.next = 95;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupChartFilters.get.request());
case 95:
_context400.next = 97;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupVehicleType.get.request());
case 97:
_context400.next = 99;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupVehicleMake.get.request());
case 99:
_context400.next = 101;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupConsumableType.get.request());
case 101:
_context400.next = 103;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupSensorStatus.get.request());
case 103:
_context400.next = 105;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupSensorType.get.request());
case 105:
_context400.next = 107;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupSensorTypeMeasureUnit.get.request());
case 107:
_context400.next = 109;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupActivity.get.request());
case 109:
_context400.next = 111;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupDisplayAttribute.get.request());
case 111:
_context400.next = 113;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupDuration.get.request());
case 113:
_context400.next = 115;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupWorkUnit.get.request());
case 115:
_context400.next = 117;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupResourceType.get.request());
case 117:
_context400.next = 119;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupResourceTypeUnit.get.request());
case 119:
_context400.next = 121;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupCostingUnit.get.request());
case 121:
_context400.next = 123;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupActivityGroup.get.request());
case 123:
_context400.next = 125;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupPlanType.get.request());
case 125:
_context400.next = 127;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupPlanStatus.get.request());
case 127:
_context400.next = 129;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupSupplyContractType.get.request());
case 129:
_context400.next = 131;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupJobEventAction.get.request());
case 131:
_context400.next = 133;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupJobInvoiceMethod.get.request());
case 133:
_context400.next = 135;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupJobQuantityType.get.request());
case 135:
_context400.next = 137;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupJobStatus.get.request());
case 137:
_context400.next = 139;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupJobType.get.request());
case 139:
_context400.next = 141;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupJobTypeWorkRecordType.get.request());
case 141:
_context400.next = 143;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupWorkRecordLevel.get.request());
case 143:
_context400.next = 145;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupPayrollRecordType.get.request());
case 145:
_context400.next = 147;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupJobWorkUnit.get.request());
case 147:
_context400.next = 149;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupWorkRecordUnitType.get.request());
case 149:
_context400.next = 151;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupIdentityActivity.get.request());
case 151:
_context400.next = 153;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupSystemData.get.request());
case 153:
_context400.next = 155;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupSiteType.get.request());
case 155:
_context400.next = 157;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupImportType.get.request());
case 157:
_context400.next = 159;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupEventLogStatus.get.request());
case 159:
_context400.next = 161;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupCostAllocationFactor.get.request());
case 161:
_context400.next = 163;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupReportType.get.request());
case 163:
_context400.next = 165;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupWineryDataType.get.request());
case 165:
_context400.next = 167;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupWineryDataAllocationRule.get.request());
case 167:
_context400.next = 169;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupWorkRecordType.get.request());
case 169:
_context400.next = 171;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupPayLoading.get.request());
case 171:
_context400.next = 173;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupSplitType.get.request());
case 173:
_context400.next = 175;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupPayrollStatus.get.request());
case 175:
_context400.next = 177;
return (0, _effects.put)(_actions.VineaNovaActions.api.v1.lookupBatchStatus.get.request());
case 177:
_context400.next = 182;
break;
case 179:
_context400.prev = 179;
_context400.t0 = _context400["catch"](0);
console.error(_context400.t0);
case 182:
case "end":
return _context400.stop();
}
}, _marked400, null, [[0, 179]]);
}
/** run clear reducer state **/
function clearReducerData(action) {
var _action$payload400, payload, reducerName;
return _regeneratorRuntime().wrap(function clearReducerData$(_context401) {
while (1) switch (_context401.prev = _context401.next) {
case 0:
_action$payload400 = action.payload, payload = _action$payload400 === void 0 ? {} : _action$payload400, reducerName = action.meta.reducerName;
_context401.prev = 1;
_context401.next = 4;
return (0, _effects.put)({
type: "CLEAR_DATA",
name: reducerName
});
case 4:
_context401.next = 11;
break;
case 6:
_context401.prev = 6;
_context401.t0 = _context401["catch"](1);
console.error(_context401.t0);
/* istanbul ignore next */
_context401.next = 11;
return (0, _effects.put)({
type: "ERROR",
payload: _context401.t0,
name: reducerName
});
case 11:
case "end":
return _context401.stop();
}
}, _marked401, null, [[1, 6]]);
}
function commonEntityPartialUpdateActionCreator(action) {
var _action$payload401, payload, reducerName;
return _regeneratorRuntime().wrap(function commonEntityPartialUpdateActionCreator$(_context402) {
while (1) switch (_context402.prev = _context402.next) {
case 0:
_action$payload401 = action.payload, payload = _action$payload401 === void 0 ? {} : _action$payload401, reducerName = action.meta.reducerName;
_context402.prev = 1;
_context402.next = 4;
return (0, _effects.put)({
type: 'UPDATE_PARTIAL_ENTITY',
payload: payload,
name: reducerName
});
case 4:
_context402.next = 10;
break;
case 6:
_context402.prev = 6;
_context402.t0 = _context402["catch"](1);
_context402.next = 10;
return (0, _effects.put)({
type: 'ERROR',
payload: _context402.t0,
name: reducerName
});
case 10:
case "end":
return _context402.stop();
}
}, _marked402, null, [[1, 6]]);
}
function root() {
return _regeneratorRuntime().wrap(function root$(_context403) {
while (1) switch (_context403.prev = _context403.next) {
case 0:
_context403.next = 2;
return (0, _effects.all)([(0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.activityDefaultRates.get.request().type, getActivityDefaultRatesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.activityDefaultRates.post.request().type, postActivityDefaultRatesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.activityDefaultRates.put.request().type, putActivityDefaultRatesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.activityDefaultRates["delete"].request().type, deleteActivityDefaultRatesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.blockVintage.get.request().type, getBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.blockVintage.post.request().type, postBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.blockVintage.put.request().type, putBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.blockVintage["delete"].request().type, deleteBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.charts.get.request().type, getChartsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.charts.post.request().type, postChartsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.chartsByChartFilters.post.request().type, postChartsByChartFiltersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.chartsByPageFilters.post.request().type, postChartsByPageFiltersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.chartFilter.get.request().type, getChartFilterSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.chartFilters.post.request().type, postChartFiltersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.dashboardPages.get.request().type, getDashboardPagesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.dashboardPageFilters.get.request().type, getDashboardPageFiltersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.dashboardPageFilters.post.request().type, postDashboardPageFiltersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cLearCache.get.request().type, getCLearCacheSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockNotes.get.request().type, getCropBlockNotesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockNotes.post.request().type, postCropBlockNotesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockNotes.put.request().type, putCropBlockNotesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockNotes["delete"].request().type, deleteCropBlockNotesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.measurementNoteImage.post.request().type, postMeasurementNoteImageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockPhenology.get.request().type, getCropBlockPhenologySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockPhenology.post.request().type, postCropBlockPhenologySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockPhenology.put.request().type, putCropBlockPhenologySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockPhenology["delete"].request().type, deleteCropBlockPhenologySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockSetting.get.request().type, getCropBlockSettingSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockSetting.post.request().type, postCropBlockSettingSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockSetting.put.request().type, putCropBlockSettingSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockSetting["delete"].request().type, deleteCropBlockSettingSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockVintage.get.request().type, getCropBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockVintage.post.request().type, postCropBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockVintage.put.request().type, putCropBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.cropBlockVintage["delete"].request().type, deleteCropBlockVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sites.get.request().type, getSitesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sites.put.request().type, putSitesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sensors.get.request().type, getSensorsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sensors.put.request().type, putSensorsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sensorBlocks.get.request().type, getSensorBlocksSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.triggerSensorSummaryDataSync.get.request().type, getTriggerSensorSummaryDataSyncSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.eventLog.get.request().type, getEventLogSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.eventLogStatus.put.request().type, putEventLogStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.newLoginEventLog.post.request().type, postNewLoginEventLogSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.demoExcelData.get.request().type, getDemoExcelDataSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.healthcheck.get.request().type, gethealthcheckSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.healthcheck.post.request().type, posthealthcheckSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identity.get.request().type, getIdentitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityDetails.get.request().type, getIdentityDetailsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityStatus.post.request().type, postIdentityStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identitiesByRole.get.request().type, getIdentitiesByRoleSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identitiesByClassification.get.request().type, getIdentitiesByClassificationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identitiesByType.get.request().type, getIdentitiesByTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityAccommodation.post.request().type, postIdentityAccommodationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityAccommodation.put.request().type, putIdentityAccommodationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityAccommodation.get.request().type, getIdentityAccommodationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityAccommodation["delete"].request().type, deleteIdentityAccommodationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityActivity.get.request().type, getIdentityActivitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityActivity.post.request().type, postIdentityActivitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityActivity.put.request().type, putIdentityActivitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityActivity["delete"].request().type, deleteIdentityActivitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityClassification.get.request().type, getIdentityClassificationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityClassification.post.request().type, postIdentityClassificationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityClassification.put.request().type, putIdentityClassificationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityClassification["delete"].request().type, deleteIdentityClassificationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityConsumable.post.request().type, postIdentityConsumableSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityConsumable.put.request().type, putIdentityConsumableSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityConsumable.get.request().type, getIdentityConsumableSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityConsumable["delete"].request().type, deleteIdentityConsumableSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityContactMethod.get.request().type, getIdentityContactMethodSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.contactMethod.post.request().type, postContactMethodSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.contactMethod.put.request().type, putContactMethodSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.contactMethod["delete"].request().type, deleteContactMethodSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityContactMethodAddress.get.request().type, getIdentityContactMethodAddressSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityContactMethodAddress.post.request().type, postIdentityContactMethodAddressSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityContactMethodAddress.put.request().type, putIdentityContactMethodAddressSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityCourse.post.request().type, postIdentityCourseSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityCourse.put.request().type, putIdentityCourseSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityCourse.get.request().type, getIdentityCourseSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityCourse["delete"].request().type, deleteIdentityCourseSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityDataConnector.get.request().type, getIdentityDataConnectorSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityDataConnector.post.request().type, postIdentityDataConnectorSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityDataConnector.put.request().type, putIdentityDataConnectorSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityDataConnector["delete"].request().type, deleteIdentityDataConnectorSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.allIdentityDataConnectors.get.request().type, getAllIdentityDataConnectorsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityJob.get.request().type, getIdentityJobSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityJob.post.request().type, postIdentityJobSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityJob.put.request().type, putIdentityJobSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityJob["delete"].request().type, deleteIdentityJobSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobRowSpecialAttributes.get.request().type, getJobRowSpecialAttributesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityNotes.get.request().type, getIdentityNotesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityNote.put.request().type, putIdentityNoteSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityNote.post.request().type, postIdentityNoteSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityNote.get.request().type, getIdentityNoteSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityNote["delete"].request().type, deleteIdentityNoteSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityNoteImage.put.request().type, putIdentityNoteImageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityNoteImage["delete"].request().type, deleteIdentityNoteImageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityOrganisation.post.request().type, postIdentityOrganisationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityOrganisation.put.request().type, putIdentityOrganisationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityOrganisation.get.request().type, getIdentityOrganisationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityOrganisation["delete"].request().type, deleteIdentityOrganisationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityPerson.post.request().type, postIdentityPersonSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityPerson.put.request().type, putIdentityPersonSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityPerson.get.request().type, getIdentityPersonSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityPerson["delete"].request().type, deleteIdentityPersonSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityReference.get.request().type, getIdentityReferenceSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityReference.post.request().type, postIdentityReferenceSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityReference.put.request().type, putIdentityReferenceSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityReference["delete"].request().type, deleteIdentityReferenceSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRelationship.get.request().type, getIdentityRelationshipSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRelationship.post.request().type, postIdentityRelationshipSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRelationship.put.request().type, putIdentityRelationshipSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRelationship["delete"].request().type, deleteIdentityRelationshipSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRelationshipType.get.request().type, getIdentityRelationshipTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.dependentIdentityRelationshipBulk.post.request().type, postDependentIdentityRelationshipBulkSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRole.post.request().type, postIdentityRoleSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRole.put.request().type, putIdentityRoleSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRole.get.request().type, getIdentityRoleSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityRole["delete"].request().type, deleteIdentityRoleSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityServiceProvider.get.request().type, getIdentityServiceProviderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityServiceProvider.post.request().type, postIdentityServiceProviderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityServiceProvider.put.request().type, putIdentityServiceProviderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityServiceProvider["delete"].request().type, deleteIdentityServiceProviderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.getServiceProviderActivityMappings.get.request().type, getGetServiceProviderActivityMappingsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.updateServiceProviderActivityMappings.put.request().type, putUpdateServiceProviderActivityMappingsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identitySupplyContract.get.request().type, getIdentitySupplyContractSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identitySupplyContract.post.request().type, postIdentitySupplyContractSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identitySupplyContract.put.request().type, putIdentitySupplyContractSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identitySupplyContract["delete"].request().type, deleteIdentitySupplyContractSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityUserPerson.put.request().type, putIdentityUserPersonSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityUserPerson.get.request().type, getIdentityUserPersonSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVehicle.post.request().type, postIdentityVehicleSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVehicle.put.request().type, putIdentityVehicleSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVehicle.get.request().type, getIdentityVehicleSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVehicle["delete"].request().type, deleteIdentityVehicleSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.gridVineyardBlocks.get.request().type, getGridVineyardBlocksSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlocks.get.request().type, getIdentityVineyardBlocksSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlock.post.request().type, postIdentityVineyardBlockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlock.put.request().type, putIdentityVineyardBlockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlock["delete"].request().type, deleteIdentityVineyardBlockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.vineyardBlockCropMeasurements.get.request().type, getVineyardBlockCropMeasurementsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.adHocBlockVintageAllocation.get.request().type, getAdHocBlockVintageAllocationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.adHocBlockVintageAllocation.put.request().type, putAdHocBlockVintageAllocationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlockRows.get.request().type, getIdentityVineyardBlockRowsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlockRow.post.request().type, postIdentityVineyardBlockRowSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlockRow.put.request().type, putIdentityVineyardBlockRowSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardBlockRow["delete"].request().type, deleteIdentityVineyardBlockRowSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.importTypeFilters.get.request().type, getImportTypeFiltersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.importSheets.post.request().type, postImportSheetsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.invoiceBatches.get.request().type, getInvoiceBatchesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.invoiceJobs.get.request().type, getInvoiceJobsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.draftInvoiceJobs.get.request().type, getDraftInvoiceJobsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.invoiceBatch.get.request().type, getInvoiceBatchSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.invoiceBatchHeaders.get.request().type, getInvoiceBatchHeadersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.invoice["delete"].request().type, deleteInvoiceSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobActivity.get.request().type, getJobActivitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobActivity.post.request().type, postJobActivitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobActivity.put.request().type, putJobActivitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobActivity["delete"].request().type, deleteJobActivitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobActivities.get.request().type, getJobActivitiesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobActivityRate.get.request().type, getJobActivityRateSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobActivityRate.post.request().type, postJobActivityRateSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobActivityRate.put.request().type, putJobActivityRateSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobActivityRate["delete"].request().type, deleteJobActivityRateSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.getJobActivityRates.get.request().type, getGetJobActivityRatesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobBlock.get.request().type, getJobBlockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobBlock.post.request().type, postJobBlockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobBlock.put.request().type, putJobBlockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobBlock["delete"].request().type, deleteJobBlockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobBlockStatus.put.request().type, putJobBlockStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.blocksForJob.get.request().type, getBlocksForJobSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobBlocksBulk.post.request().type, postJobBlocksBulkSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobBlockRows.get.request().type, getJobBlockRowsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobBlockRows.post.request().type, postJobBlockRowsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobBlockRows.put.request().type, putJobBlockRowsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobBlockRows["delete"].request().type, deleteJobBlockRowsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.splitJobBlockRow.post.request().type, postSplitJobBlockRowSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.rowsByJobBlock.get.request().type, getRowsByJobBlockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.rowsByJobBlock.post.request().type, postRowsByJobBlockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobEvents.get.request().type, getJobEventsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobEvents.post.request().type, postJobEventsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobEvents.put.request().type, putJobEventsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobEvents["delete"].request().type, deleteJobEventsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobSupervisor.get.request().type, getJobSupervisorSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobSupervisor.post.request().type, postJobSupervisorSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobSupervisor.put.request().type, putJobSupervisorSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobSupervisor["delete"].request().type, deleteJobSupervisorSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobWorkRecords.get.request().type, getJobWorkRecordsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobWorkRecords["delete"].request().type, deleteJobWorkRecordsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobWorkRecordSupervisors.get.request().type, getJobWorkRecordSupervisorsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobWorkRecordWorkers.get.request().type, getJobWorkRecordWorkersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobWorkRecordSpecialActivities.get.request().type, getJobWorkRecordSpecialActivitiesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobWorkRecordEquipment.get.request().type, getJobWorkRecordEquipmentSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.jobWorkRecordReferenceTypes.get.request().type, getJobWorkRecordReferenceTypesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.linkedDocument.post.request().type, postLinkedDocumentSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.linkedDocument.get.request().type, getLinkedDocumentSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.linkedDocument.put.request().type, putLinkedDocumentSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.linkedDocument["delete"].request().type, deleteLinkedDocumentSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.linkedDocuments.get.request().type, getLinkedDocumentsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.getLookUp.get.request().type, getGetLookUpSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.queueMessage.post.request().type, postQueueMessageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.objectLogo.post.request().type, postObjectLogoSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.objectLogo.get.request().type, getObjectLogoSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.objectLogo.put.request().type, putObjectLogoSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.objectLogo["delete"].request().type, deleteObjectLogoSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.payrollPeriods.get.request().type, getPayrollPeriodsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.payrollPeriod.get.request().type, getPayrollPeriodSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.payrollPeriod.post.request().type, postPayrollPeriodSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.payrollPeriod.put.request().type, putPayrollPeriodSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.payrollPeriod["delete"].request().type, deletePayrollPeriodSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.payrollPeriodLines.get.request().type, getPayrollPeriodLinesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.payrollServiceProviders.get.request().type, getPayrollServiceProvidersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.payrollMaxEndDate.get.request().type, getPayrollMaxEndDateSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.payrollPeriodLinesGenerate.post.request().type, postPayrollPeriodLinesGenerateSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.payrollPeriodWorkers.get.request().type, getPayrollPeriodWorkersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.payrollPeriodWorkers.post.request().type, postPayrollPeriodWorkersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.payrollPeriodWorkers["delete"].request().type, deletePayrollPeriodWorkersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.payrollPeriodWorkerSearch.get.request().type, getPayrollPeriodWorkerSearchSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.planActivities.get.request().type, getPlanActivitiesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.planActivities.post.request().type, postPlanActivitiesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.planActivities.put.request().type, putPlanActivitiesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.planActivities["delete"].request().type, deletePlanActivitiesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.planActivitiesByPlan.get.request().type, getPlanActivitiesByPlanSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.planActivityTotalWorkUnits.get.request().type, getPlanActivityTotalWorkUnitsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.updatePlanActivityBlocks.put.request().type, putUpdatePlanActivityBlocksSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.planActivityBlocks.get.request().type, getPlanActivityBlocksSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.planBlocks.get.request().type, getPlanBlocksSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.planBlocks.post.request().type, postPlanBlocksSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.planBlocks.put.request().type, putPlanBlocksSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.planBlocks["delete"].request().type, deletePlanBlocksSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.getAvailablePlanBlocks.get.request().type, getGetAvailablePlanBlocksSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.bulkPlanBlocks["delete"].request().type, deleteBulkPlanBlocksSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.plans.get.request().type, getPlansSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.plans.post.request().type, postPlansSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.plans.put.request().type, putPlansSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.plans["delete"].request().type, deletePlansSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.processblocksampling.get.request().type, getprocessblocksamplingSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.processblocksampling.post.request().type, postprocessblocksamplingSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.reports.get.request().type, getReportsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.reportFile.post.request().type, postReportFileSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.reportFilters.post.request().type, postReportFiltersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.getToken.get.request().type, getGetTokenSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleHeaders.get.request().type, getSampleHeadersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleHeaderStatus.put.request().type, putSampleHeaderStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleHeaderInstructions.put.request().type, putSampleHeaderInstructionsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.recommendedSampleSize.put.request().type, putRecommendedSampleSizeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleHeader["delete"].request().type, deleteSampleHeaderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleHeader.post.request().type, postSampleHeaderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleHeader.put.request().type, putSampleHeaderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleIdentity.get.request().type, getSampleIdentitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleIdentity.post.request().type, postSampleIdentitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleHeaderLines.get.request().type, getSampleHeaderLinesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleHeaderLines.put.request().type, putSampleHeaderLinesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.moveSampleLines.put.request().type, putMoveSampleLinesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.assignSampleHeaders.post.request().type, postAssignSampleHeadersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.samplingUsers.post.request().type, postSamplingUsersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.deAssignSampleHeaders.post.request().type, postDeAssignSampleHeadersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleSets.post.request().type, postSampleSetsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleBlockVintages.get.request().type, getSampleBlockVintagesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleSet.post.request().type, postSampleSetSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.sampleSet["delete"].request().type, deleteSampleSetSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.searchIdentity.post.request().type, postSearchIdentitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.searchPlans.post.request().type, postSearchPlansSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.searchSupplyContracts.post.request().type, postSearchSupplyContractsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.searchJobs.post.request().type, postSearchJobsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.searchTrackingVineyards.post.request().type, postSearchTrackingVineyardsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.searchTrackingBlockVintages.post.request().type, postSearchTrackingBlockVintagesSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.quickSearch.post.request().type, postQuickSearchSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.vineyardBlocksGeometry.get.request().type, getVineyardBlocksGeometrySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.vineyardGeometry.get.request().type, getVineyardGeometrySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.regionVineyardGeometry.get.request().type, getRegionVineyardGeometrySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.vineyardBlockActivityProgress.get.request().type, getVineyardBlockActivityProgressSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.regionActivityProgress.get.request().type, getRegionActivityProgressSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.subRegionActivityProgress.get.request().type, getSubRegionActivityProgressSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.syncVineyardGeometry.get.request().type, getSyncVineyardGeometrySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.supplyContractBlocksGeometry.get.request().type, getSupplyContractBlocksGeometrySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.supplyContractBlock.get.request().type, getSupplyContractBlockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.supplyContractBlock.post.request().type, postSupplyContractBlockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.supplyContractBlock.put.request().type, putSupplyContractBlockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.supplyContractBlock["delete"].request().type, deleteSupplyContractBlockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.blocksForSupplyContract.get.request().type, getBlocksForSupplyContractSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.userHistory.get.request().type, getUserHistorySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.userHistory.post.request().type, postUserHistorySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyard.get.request().type, getIdentityVineyardSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyard.post.request().type, postIdentityVineyardSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyard.put.request().type, putIdentityVineyardSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyard["delete"].request().type, deleteIdentityVineyardSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.identityVineyardTracking.get.request().type, getIdentityVineyardTrackingSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.triggerVintraceMetricDataSync.get.request().type, getTriggerVintraceMetricDataSyncSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.wineryVintageBlockAllocations.get.request().type, getWineryVintageBlockAllocationsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.wineryVintageBlockAllocations.post.request().type, postWineryVintageBlockAllocationsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.wineryVintageBlockAllocations.put.request().type, putWineryVintageBlockAllocationsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.wineryVintageBlockAllocations["delete"].request().type, deleteWineryVintageBlockAllocationsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.workers.get.request().type, getWorkersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.workerPayPeriods.get.request().type, getWorkerPayPeriodsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.workerWorkRecords.get.request().type, getWorkerWorkRecordsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.workRecordsConsumable.get.request().type, getWorkRecordsConsumableSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.workRecordsConsumable.put.request().type, putWorkRecordsConsumableSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.workRecordsConsumable.post.request().type, postWorkRecordsConsumableSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.workRecordsConsumableOptions.get.request().type, getWorkRecordsConsumableOptionsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.workRecordsConsumablePrice.get.request().type, getWorkRecordsConsumablePriceSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.workRecordsGeneric.get.request().type, getWorkRecordsGenericSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.workRecordsGeneric.put.request().type, putWorkRecordsGenericSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.workRecordsGeneric.post.request().type, postWorkRecordsGenericSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.workRecordsHourly.get.request().type, getWorkRecordsHourlySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.workRecordsHourly.post.request().type, postWorkRecordsHourlySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.workRecordsHourly.put.request().type, putWorkRecordsHourlySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.workRecordsPieceworkGroup.get.request().type, getWorkRecordsPieceworkGroupSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.workRecordsPieceworkGroupWorkers.get.request().type, getWorkRecordsPieceworkGroupWorkersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.workRecordsPieceworkGroupRows.get.request().type, getWorkRecordsPieceworkGroupRowsSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.workRecordsPiecework.post.request().type, postWorkRecordsPieceworkSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupClassification.get.request().type, getlookupClassificationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupClassificationGroup.get.request().type, getlookupClassificationGroupSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupClassificationGroupIdentityType.get.request().type, getlookupClassificationGroupIdentityTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupReferenceType.get.request().type, getlookupReferenceTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupIdentityType.get.request().type, getlookupIdentityTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupRoleType.get.request().type, getlookupRoleTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupRoleTypeIdentityType.get.request().type, getlookupRoleTypeIdentityTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupBusinessUnit.get.request().type, getlookupBusinessUnitSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupReferenceTypeIdentityType.get.request().type, getlookupReferenceTypeIdentityTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupRelationshipType.get.request().type, getlookupRelationshipTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupContactMethod.get.request().type, getlookupContactMethodSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupGender.get.request().type, getlookupGenderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupNationality.get.request().type, getlookupNationalitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupEthnicity.get.request().type, getlookupEthnicitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupLanguage.get.request().type, getlookupLanguageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupCountry.get.request().type, getlookupCountrySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupSalutation.get.request().type, getlookupSalutationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupGrowingRegion.get.request().type, getlookupGrowingRegionSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupGrowingSubRegion.get.request().type, getlookupGrowingSubRegionSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupTown.get.request().type, getlookupTownSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupVariety.get.request().type, getlookupVarietySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupBlockVintageStatus.get.request().type, getlookupBlockVintageStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupTrellis.get.request().type, getlookupTrellisSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupRootStock.get.request().type, getlookupRootStockSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupVarietyClone.get.request().type, getlookupVarietyCloneSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupVintage.get.request().type, getlookupVintageSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupRowSpecialAttribute.get.request().type, getlookupRowSpecialAttributeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupNoteStatus.get.request().type, getlookupNoteStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupMeasure.get.request().type, getlookupMeasureSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupMeasureGroup.get.request().type, getlookupMeasureGroupSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupMeasureInstance.get.request().type, getlookupMeasureInstanceSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupKeyword.get.request().type, getlookupKeywordSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupSampleRequestStatus.get.request().type, getlookupSampleRequestStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupPayrollSystem.get.request().type, getlookupPayrollSystemSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupDataProvider.get.request().type, getlookupDataProviderSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupDataProviderType.get.request().type, getlookupDataProviderTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupPhenologyMeasure.get.request().type, getlookupPhenologyMeasureSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupPhenologyMeasureOption.get.request().type, getlookupPhenologyMeasureOptionSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupPhenologyMeasureSet.get.request().type, getlookupPhenologyMeasureSetSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupPhenologyMeasureType.get.request().type, getlookupPhenologyMeasureTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupCropSettingInstance.get.request().type, getlookupCropSettingInstanceSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupCropSettingOption.get.request().type, getlookupCropSettingOptionSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupInactiveReason.get.request().type, getlookupInactiveReasonSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupDocumentType.get.request().type, getlookupDocumentTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupDocumentStatus.get.request().type, getlookupDocumentStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupDashboardPageFilters.get.request().type, getlookupDashboardPageFiltersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupChartFilters.get.request().type, getlookupChartFiltersSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupVehicleType.get.request().type, getlookupVehicleTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupVehicleMake.get.request().type, getlookupVehicleMakeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupConsumableType.get.request().type, getlookupConsumableTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupSensorStatus.get.request().type, getlookupSensorStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupSensorType.get.request().type, getlookupSensorTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupSensorTypeMeasureUnit.get.request().type, getlookupSensorTypeMeasureUnitSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupActivity.get.request().type, getlookupActivitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupDisplayAttribute.get.request().type, getlookupDisplayAttributeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupDuration.get.request().type, getlookupDurationSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupWorkUnit.get.request().type, getlookupWorkUnitSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupResourceType.get.request().type, getlookupResourceTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupResourceTypeUnit.get.request().type, getlookupResourceTypeUnitSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupCostingUnit.get.request().type, getlookupCostingUnitSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupActivityGroup.get.request().type, getlookupActivityGroupSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupPlanType.get.request().type, getlookupPlanTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupPlanStatus.get.request().type, getlookupPlanStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupSupplyContractType.get.request().type, getlookupSupplyContractTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupJobEventAction.get.request().type, getlookupJobEventActionSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupJobInvoiceMethod.get.request().type, getlookupJobInvoiceMethodSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupJobQuantityType.get.request().type, getlookupJobQuantityTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupJobStatus.get.request().type, getlookupJobStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupJobType.get.request().type, getlookupJobTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupJobTypeWorkRecordType.get.request().type, getlookupJobTypeWorkRecordTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupWorkRecordLevel.get.request().type, getlookupWorkRecordLevelSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupPayrollRecordType.get.request().type, getlookupPayrollRecordTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupJobWorkUnit.get.request().type, getlookupJobWorkUnitSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupWorkRecordUnitType.get.request().type, getlookupWorkRecordUnitTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupIdentityActivity.get.request().type, getlookupIdentityActivitySagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupSystemData.get.request().type, getlookupSystemDataSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupSiteType.get.request().type, getlookupSiteTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupImportType.get.request().type, getlookupImportTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupEventLogStatus.get.request().type, getlookupEventLogStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupCostAllocationFactor.get.request().type, getlookupCostAllocationFactorSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupReportType.get.request().type, getlookupReportTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupWineryDataType.get.request().type, getlookupWineryDataTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupWineryDataAllocationRule.get.request().type, getlookupWineryDataAllocationRuleSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupWorkRecordType.get.request().type, getlookupWorkRecordTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupPayLoading.get.request().type, getlookupPayLoadingSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupSplitType.get.request().type, getlookupSplitTypeSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupPayrollStatus.get.request().type, getlookupPayrollStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.lookupBatchStatus.get.request().type, getlookupBatchStatusSagas), (0, _effects.takeLatest)(_actions.VineaNovaActions.api.v1.fetchAllLookups.request().type, fetchAllLookupsSagas), (0, _effects.takeLatest)(function (action) {
return /CLEARDATA/.test(action.type);
}, clearReducerData), (0, _effects.takeLatest)(function (action) {
return /UPDATEPARTIALENTITY/.test(action.type);
}, commonEntityPartialUpdateActionCreator)]);
case 2:
case "end":
return _context403.stop();
}
}, _marked403);
}