Built motion from commit (unavailable).|2.5.10
[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 _0x99ed=['./mailSubstatus.controller','get','isAuthenticated','index','/describe','describe','/:id','post','create','put','update','delete','destroy','exports','util','path','connect-timeout','express','Router','../../config/environment'];(function(_0xf41ccc,_0x2acfc6){var _0x41f375=function(_0x3a1df3){while(--_0x3a1df3){_0xf41ccc['push'](_0xf41ccc['shift']());}};_0x41f375(++_0x2acfc6);}(_0x99ed,0x1da));var _0xd99e=function(_0x17a92e,_0x2b7ee8){_0x17a92e=_0x17a92e-0x0;var _0x5cdf39=_0x99ed[_0x17a92e];return _0x5cdf39;};'use strict';var multer=require('multer');var util=require(_0xd99e('0x0'));var path=require(_0xd99e('0x1'));var timeout=require(_0xd99e('0x2'));var express=require(_0xd99e('0x3'));var router=express[_0xd99e('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xd99e('0x5'));var controller=require(_0xd99e('0x6'));router[_0xd99e('0x7')]('/',auth[_0xd99e('0x8')](),controller[_0xd99e('0x9')]);router[_0xd99e('0x7')](_0xd99e('0xa'),auth[_0xd99e('0x8')](),controller[_0xd99e('0xb')]);router[_0xd99e('0x7')](_0xd99e('0xc'),auth[_0xd99e('0x8')](),controller['show']);router[_0xd99e('0xd')]('/',auth['isAuthenticated'](),controller[_0xd99e('0xe')]);router[_0xd99e('0xf')](_0xd99e('0xc'),auth[_0xd99e('0x8')](),controller[_0xd99e('0x10')]);router[_0xd99e('0x11')](_0xd99e('0xc'),auth[_0xd99e('0x8')](),controller[_0xd99e('0x12')]);module[_0xd99e('0x13')]=router;