Built motion from commit (unavailable).|2.5.3
[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 _0xfd82=['/:id','show','post','put','update','delete','destroy','exports','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index'];(function(_0xeb6f8d,_0x1138f1){var _0x41f045=function(_0x2e8f0e){while(--_0x2e8f0e){_0xeb6f8d['push'](_0xeb6f8d['shift']());}};_0x41f045(++_0x1138f1);}(_0xfd82,0x116));var _0x2fd8=function(_0x21221c,_0x11fb0d){_0x21221c=_0x21221c-0x0;var _0x10e65e=_0xfd82[_0x21221c];return _0x10e65e;};'use strict';var multer=require('multer');var util=require(_0x2fd8('0x0'));var path=require(_0x2fd8('0x1'));var timeout=require(_0x2fd8('0x2'));var express=require('express');var router=express[_0x2fd8('0x3')]();var auth=require(_0x2fd8('0x4'));var interaction=require(_0x2fd8('0x5'));var config=require(_0x2fd8('0x6'));var controller=require('./mailSubstatus.controller');router[_0x2fd8('0x7')]('/',auth[_0x2fd8('0x8')](),controller[_0x2fd8('0x9')]);router[_0x2fd8('0x7')]('/describe',auth[_0x2fd8('0x8')](),controller['describe']);router[_0x2fd8('0x7')](_0x2fd8('0xa'),auth[_0x2fd8('0x8')](),controller[_0x2fd8('0xb')]);router[_0x2fd8('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0x2fd8('0xd')](_0x2fd8('0xa'),auth[_0x2fd8('0x8')](),controller[_0x2fd8('0xe')]);router[_0x2fd8('0xf')](_0x2fd8('0xa'),auth[_0x2fd8('0x8')](),controller[_0x2fd8('0x10')]);module[_0x2fd8('0x11')]=router;