14c83f2524093a01441be6e59b517a619fca6904
[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 _0x3c32=['./mailSubstatus.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/interaction/service'];(function(_0x4a647f,_0x42843b){var _0x1c5d9a=function(_0x4c1ad3){while(--_0x4c1ad3){_0x4a647f['push'](_0x4a647f['shift']());}};_0x1c5d9a(++_0x42843b);}(_0x3c32,0x161));var _0x23c3=function(_0x286643,_0x58f863){_0x286643=_0x286643-0x0;var _0x59e0ef=_0x3c32[_0x286643];return _0x59e0ef;};'use strict';var multer=require(_0x23c3('0x0'));var util=require(_0x23c3('0x1'));var path=require(_0x23c3('0x2'));var timeout=require('connect-timeout');var express=require(_0x23c3('0x3'));var router=express[_0x23c3('0x4')]();var fs_extra=require(_0x23c3('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x23c3('0x6'));var config=require('../../config/environment');var controller=require(_0x23c3('0x7'));router[_0x23c3('0x8')]('/',auth[_0x23c3('0x9')](),controller[_0x23c3('0xa')]);router[_0x23c3('0x8')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0x23c3('0x8')](_0x23c3('0xb'),auth[_0x23c3('0x9')](),controller[_0x23c3('0xc')]);router[_0x23c3('0xd')]('/',auth[_0x23c3('0x9')](),controller[_0x23c3('0xe')]);router[_0x23c3('0xf')](_0x23c3('0xb'),auth[_0x23c3('0x9')](),controller[_0x23c3('0x10')]);router[_0x23c3('0x11')](_0x23c3('0xb'),auth[_0x23c3('0x9')](),controller[_0x23c3('0x12')]);module[_0x23c3('0x13')]=router;