17817e0a224d51732d6c7eb482278b72c2e1bf50
[motion-next.git] / server / api / campaign / index.js
1 const a45_0x5b43=['removeLists','/:id/hopper_histories','/:id/blacklists','create','/:id/hopper_black','/:id/lists','getBlackLists','express','clone','/:id/hoppers','index','put','/:id/clone','/:id','addBlackLists','Router','getLists','get','getHoppers','removeBlackLists','delete','getHopperFinals','post','exports','getHopperHistories','/:id/hopper_finals','show','isAuthenticated','destroy','addLists'];(function(_0x1a7e8c,_0x5b432e){const _0x30915b=function(_0x2ef4a1){while(--_0x2ef4a1){_0x1a7e8c['push'](_0x1a7e8c['shift']());}};_0x30915b(++_0x5b432e);}(a45_0x5b43,0x1ad));const a45_0x3091=function(_0x1a7e8c,_0x5b432e){_0x1a7e8c=_0x1a7e8c-0x0;let _0x30915b=a45_0x5b43[_0x1a7e8c];return _0x30915b;};const _0x3a295c=a45_0x3091;'use strict';const express=require(_0x3a295c('0x1c')),router=express[_0x3a295c('0x6')](),auth=require('../../components/auth/service'),controller=require('./campaign.controller');router['get']('/',auth[_0x3a295c('0x12')](),controller[_0x3a295c('0x1')]),router['get'](_0x3a295c('0x4'),auth[_0x3a295c('0x12')](),controller[_0x3a295c('0x11')]),router[_0x3a295c('0x8')](_0x3a295c('0x0'),auth[_0x3a295c('0x12')](),controller[_0x3a295c('0x9')]),router[_0x3a295c('0x8')](_0x3a295c('0x16'),auth[_0x3a295c('0x12')](),controller[_0x3a295c('0xf')]),router[_0x3a295c('0x8')](_0x3a295c('0x10'),auth[_0x3a295c('0x12')](),controller[_0x3a295c('0xc')]),router['get'](_0x3a295c('0x19'),auth[_0x3a295c('0x12')](),controller['getHopperBlacks']),router['get'](_0x3a295c('0x1a'),auth['isAuthenticated'](),controller[_0x3a295c('0x7')]),router['get'](_0x3a295c('0x17'),auth['isAuthenticated'](),controller[_0x3a295c('0x1b')]),router[_0x3a295c('0xd')]('/',auth[_0x3a295c('0x12')](),controller[_0x3a295c('0x18')]),router['post'](_0x3a295c('0x3'),auth['isAuthenticated'](),controller[_0x3a295c('0x1d')]),router[_0x3a295c('0xd')](_0x3a295c('0x1a'),auth[_0x3a295c('0x12')](),controller[_0x3a295c('0x14')]),router['post'](_0x3a295c('0x17'),auth[_0x3a295c('0x12')](),controller[_0x3a295c('0x5')]),router[_0x3a295c('0x2')](_0x3a295c('0x4'),auth[_0x3a295c('0x12')](),controller['update']),router[_0x3a295c('0xb')](_0x3a295c('0x4'),auth[_0x3a295c('0x12')](),controller[_0x3a295c('0x13')]),router[_0x3a295c('0xb')](_0x3a295c('0x1a'),auth[_0x3a295c('0x12')](),controller[_0x3a295c('0x15')]),router[_0x3a295c('0xb')](_0x3a295c('0x17'),auth[_0x3a295c('0x12')](),controller[_0x3a295c('0xa')]),module[_0x3a295c('0xe')]=router;