8a4edb024504b4f4163333c302106434f1663748
[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 _0x0c6b=['update','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailSubstatus.controller','get','isAuthenticated','describe','show','post','create','put','/:id'];(function(_0x568ed1,_0x4b6ee4){var _0x562c02=function(_0x1ebf57){while(--_0x1ebf57){_0x568ed1['push'](_0x568ed1['shift']());}};_0x562c02(++_0x4b6ee4);}(_0x0c6b,0x1bc));var _0xb0c6=function(_0x413dbf,_0x2ea2bc){_0x413dbf=_0x413dbf-0x0;var _0x2a6efe=_0x0c6b[_0x413dbf];return _0x2a6efe;};'use strict';var multer=require(_0xb0c6('0x0'));var util=require('util');var path=require(_0xb0c6('0x1'));var timeout=require(_0xb0c6('0x2'));var express=require(_0xb0c6('0x3'));var router=express[_0xb0c6('0x4')]();var fs_extra=require(_0xb0c6('0x5'));var auth=require(_0xb0c6('0x6'));var interaction=require(_0xb0c6('0x7'));var config=require(_0xb0c6('0x8'));var controller=require(_0xb0c6('0x9'));router[_0xb0c6('0xa')]('/',auth[_0xb0c6('0xb')](),controller['index']);router['get']('/describe',auth['isAuthenticated'](),controller[_0xb0c6('0xc')]);router[_0xb0c6('0xa')]('/:id',auth['isAuthenticated'](),controller[_0xb0c6('0xd')]);router[_0xb0c6('0xe')]('/',auth[_0xb0c6('0xb')](),controller[_0xb0c6('0xf')]);router[_0xb0c6('0x10')](_0xb0c6('0x11'),auth[_0xb0c6('0xb')](),controller[_0xb0c6('0x12')]);router['delete'](_0xb0c6('0x11'),auth['isAuthenticated'](),controller[_0xb0c6('0x13')]);module[_0xb0c6('0x14')]=router;