9b31ac998056146995be6a7154351f037f161ea6
[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 _0x7013=['index','describe','get','show','post','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./mailSubstatus.controller','isAuthenticated'];(function(_0x9d5a92,_0x34875d){var _0x3d84f2=function(_0x4bde89){while(--_0x4bde89){_0x9d5a92['push'](_0x9d5a92['shift']());}};_0x3d84f2(++_0x34875d);}(_0x7013,0xbb));var _0x3701=function(_0x297922,_0x3c6b93){_0x297922=_0x297922-0x0;var _0x180394=_0x7013[_0x297922];return _0x180394;};'use strict';var multer=require(_0x3701('0x0'));var util=require(_0x3701('0x1'));var path=require(_0x3701('0x2'));var timeout=require(_0x3701('0x3'));var express=require(_0x3701('0x4'));var router=express[_0x3701('0x5')]();var fs_extra=require(_0x3701('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x3701('0x7'));var config=require(_0x3701('0x8'));var controller=require(_0x3701('0x9'));router['get']('/',auth[_0x3701('0xa')](),controller[_0x3701('0xb')]);router['get']('/describe',auth[_0x3701('0xa')](),controller[_0x3701('0xc')]);router[_0x3701('0xd')]('/:id',auth[_0x3701('0xa')](),controller[_0x3701('0xe')]);router[_0x3701('0xf')]('/',auth[_0x3701('0xa')](),controller['create']);router[_0x3701('0x10')](_0x3701('0x11'),auth[_0x3701('0xa')](),controller[_0x3701('0x12')]);router[_0x3701('0x13')](_0x3701('0x11'),auth[_0x3701('0xa')](),controller[_0x3701('0x14')]);module[_0x3701('0x15')]=router;