Built motion from commit (unavailable).|2.5.1
[motion2.git] / server / api / mailSubstatus / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xa247=['../../components/interaction/service','get','isAuthenticated','/describe','describe','/:id','post','create','put','update','delete','destroy','exports','multer','path','connect-timeout','express'];(function(_0x2d1611,_0x1bbfd5){var _0x13f856=function(_0x542a31){while(--_0x542a31){_0x2d1611['push'](_0x2d1611['shift']());}};_0x13f856(++_0x1bbfd5);}(_0xa247,0xa6));var _0x7a24=function(_0x1451b2,_0x242549){_0x1451b2=_0x1451b2-0x0;var _0x8dea7f=_0xa247[_0x1451b2];return _0x8dea7f;};'use strict';var multer=require(_0x7a24('0x0'));var util=require('util');var path=require(_0x7a24('0x1'));var timeout=require(_0x7a24('0x2'));var express=require(_0x7a24('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x7a24('0x4'));var config=require('../../config/environment');var controller=require('./mailSubstatus.controller');router[_0x7a24('0x5')]('/',auth[_0x7a24('0x6')](),controller['index']);router[_0x7a24('0x5')](_0x7a24('0x7'),auth[_0x7a24('0x6')](),controller[_0x7a24('0x8')]);router[_0x7a24('0x5')](_0x7a24('0x9'),auth['isAuthenticated'](),controller['show']);router[_0x7a24('0xa')]('/',auth[_0x7a24('0x6')](),controller[_0x7a24('0xb')]);router[_0x7a24('0xc')]('/:id',auth[_0x7a24('0x6')](),controller[_0x7a24('0xd')]);router[_0x7a24('0xe')](_0x7a24('0x9'),auth[_0x7a24('0x6')](),controller[_0x7a24('0xf')]);module[_0x7a24('0x10')]=router;