63bdba9a8805190fce0e60972de26df084e31fc9
[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 _0xb3c0=['../../components/interaction/service','../../config/environment','./mailSubstatus.controller','index','get','describe','isAuthenticated','show','post','put','update','delete','destroy','exports','util','path','connect-timeout','express','fs-extra'];(function(_0x1c90a7,_0x115e4d){var _0x408b33=function(_0x4b2b46){while(--_0x4b2b46){_0x1c90a7['push'](_0x1c90a7['shift']());}};_0x408b33(++_0x115e4d);}(_0xb3c0,0xf2));var _0x0b3c=function(_0x1bc4f5,_0x5d5a11){_0x1bc4f5=_0x1bc4f5-0x0;var _0x4135a1=_0xb3c0[_0x1bc4f5];return _0x4135a1;};'use strict';var multer=require('multer');var util=require(_0x0b3c('0x0'));var path=require(_0x0b3c('0x1'));var timeout=require(_0x0b3c('0x2'));var express=require(_0x0b3c('0x3'));var router=express['Router']();var fs_extra=require(_0x0b3c('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x0b3c('0x5'));var config=require(_0x0b3c('0x6'));var controller=require(_0x0b3c('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x0b3c('0x8')]);router[_0x0b3c('0x9')]('/describe',auth['isAuthenticated'](),controller[_0x0b3c('0xa')]);router['get']('/:id',auth[_0x0b3c('0xb')](),controller[_0x0b3c('0xc')]);router[_0x0b3c('0xd')]('/',auth[_0x0b3c('0xb')](),controller['create']);router[_0x0b3c('0xe')]('/:id',auth[_0x0b3c('0xb')](),controller[_0x0b3c('0xf')]);router[_0x0b3c('0x10')]('/:id',auth[_0x0b3c('0xb')](),controller[_0x0b3c('0x11')]);module[_0x0b3c('0x12')]=router;