991ed621ae383b1cf8b2ad799f5d883c4602ad1e
[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 _0x62cf=['../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/describe','describe','show','post','put','/:id','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra'];(function(_0x1eebff,_0x31f9e8){var _0x651392=function(_0x1799a0){while(--_0x1799a0){_0x1eebff['push'](_0x1eebff['shift']());}};_0x651392(++_0x31f9e8);}(_0x62cf,0x19d));var _0xf62c=function(_0x1ed435,_0x26c2e1){_0x1ed435=_0x1ed435-0x0;var _0x1726bf=_0x62cf[_0x1ed435];return _0x1726bf;};'use strict';var multer=require(_0xf62c('0x0'));var util=require(_0xf62c('0x1'));var path=require(_0xf62c('0x2'));var timeout=require(_0xf62c('0x3'));var express=require(_0xf62c('0x4'));var router=express[_0xf62c('0x5')]();var fs_extra=require(_0xf62c('0x6'));var auth=require(_0xf62c('0x7'));var interaction=require(_0xf62c('0x8'));var config=require(_0xf62c('0x9'));var controller=require('./mailSubstatus.controller');router[_0xf62c('0xa')]('/',auth[_0xf62c('0xb')](),controller['index']);router[_0xf62c('0xa')](_0xf62c('0xc'),auth[_0xf62c('0xb')](),controller[_0xf62c('0xd')]);router[_0xf62c('0xa')]('/:id',auth[_0xf62c('0xb')](),controller[_0xf62c('0xe')]);router[_0xf62c('0xf')]('/',auth[_0xf62c('0xb')](),controller['create']);router[_0xf62c('0x10')](_0xf62c('0x11'),auth[_0xf62c('0xb')](),controller['update']);router[_0xf62c('0x12')](_0xf62c('0x11'),auth[_0xf62c('0xb')](),controller[_0xf62c('0x13')]);module[_0xf62c('0x14')]=router;