Built motion from commit a679711e.|2.6.15
[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 _0xa635=['./mailSubstatus.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','update','delete','destroy','exports','multer','util','path','connect-timeout','fs-extra','../../components/interaction/service','../../config/environment'];(function(_0x5e2d54,_0x410662){var _0x59b188=function(_0x31f680){while(--_0x31f680){_0x5e2d54['push'](_0x5e2d54['shift']());}};_0x59b188(++_0x410662);}(_0xa635,0x1dc));var _0x5a63=function(_0x1e91bc,_0x3bb24e){_0x1e91bc=_0x1e91bc-0x0;var _0x1e02b6=_0xa635[_0x1e91bc];return _0x1e02b6;};'use strict';var multer=require(_0x5a63('0x0'));var util=require(_0x5a63('0x1'));var path=require(_0x5a63('0x2'));var timeout=require(_0x5a63('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x5a63('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x5a63('0x5'));var config=require(_0x5a63('0x6'));var controller=require(_0x5a63('0x7'));router[_0x5a63('0x8')]('/',auth[_0x5a63('0x9')](),controller[_0x5a63('0xa')]);router[_0x5a63('0x8')](_0x5a63('0xb'),auth[_0x5a63('0x9')](),controller[_0x5a63('0xc')]);router[_0x5a63('0x8')](_0x5a63('0xd'),auth[_0x5a63('0x9')](),controller[_0x5a63('0xe')]);router[_0x5a63('0xf')]('/',auth['isAuthenticated'](),controller[_0x5a63('0x10')]);router['put']('/:id',auth[_0x5a63('0x9')](),controller[_0x5a63('0x11')]);router[_0x5a63('0x12')]('/:id',auth[_0x5a63('0x9')](),controller[_0x5a63('0x13')]);module[_0x5a63('0x14')]=router;