import { combineEpics } from 'redux-observable';

import clearUploadQueue from './clearUploadQueue';
import createVideo from './createVideo';
import createVideoCsv from './createVideoCsv';
import createVideoVersion from './createVideoVersion';
import getAdvertisers from './getAdvertisers';
import getFeedSources from './getFeedSources';
import handleCancelUploadFromConfirmDialog from './handleCancelUploadFromConfirmDialog';
import siteSuggester from './siteSuggester';
import startUploadFromQueue from './startUploadFromQueue';
import chooseUploadBranch from './uploadFlow/chooseUploadBranch';
import startUploadProcess from './uploadFlow/startUploadProcess';
import uploadCcFilesBranch from './uploadFlow/uploadCcFilesBranch';
import uploadCsvBranch from './uploadFlow/uploadCsvBranch';
import uploadThumbnailBranch from './uploadFlow/uploadThumbnailBranch';
import uploadVideoBranch from './uploadFlow/uploadVideoBranch';
import chooseVideoVersionUploadBranch from './videoVersionUploadFlow/chooseUploadBranch';
import startVideoVersionUploadProcess from './videoVersionUploadFlow/startUploadProcess';
import uploadVideoVersionBranch from './videoVersionUploadFlow/uploadVideoBranch';

export default combineEpics(
  createVideo,
  createVideoCsv,
  siteSuggester,
  getFeedSources,
  createVideoVersion,

  // upload flow
  startUploadProcess,
  chooseUploadBranch,
  uploadVideoBranch,
  uploadCsvBranch,
  uploadThumbnailBranch,
  uploadCcFilesBranch,

  // upload video version flow
  startVideoVersionUploadProcess,
  chooseVideoVersionUploadBranch,
  uploadVideoVersionBranch,

  // queue
  startUploadFromQueue,
  clearUploadQueue,
  handleCancelUploadFromConfirmDialog,

  // promotion advertiser options
  getAdvertisers,
);
