Built motion from commit (unavailable).|2.5.31
[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 _0x23a3=['exports','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailSubstatus.controller','get','isAuthenticated','index','/describe','/:id','post','create','put','update','delete','destroy'];(function(_0x54a2e4,_0x1ff92c){var _0x4742d0=function(_0x147a6f){while(--_0x147a6f){_0x54a2e4['push'](_0x54a2e4['shift']());}};_0x4742d0(++_0x1ff92c);}(_0x23a3,0x131));var _0x323a=function(_0x52d4aa,_0x27a285){_0x52d4aa=_0x52d4aa-0x0;var _0x5e01a0=_0x23a3[_0x52d4aa];return _0x5e01a0;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x323a('0x0'));var express=require('express');var router=express[_0x323a('0x1')]();var fs_extra=require(_0x323a('0x2'));var auth=require(_0x323a('0x3'));var interaction=require(_0x323a('0x4'));var config=require(_0x323a('0x5'));var controller=require(_0x323a('0x6'));router[_0x323a('0x7')]('/',auth[_0x323a('0x8')](),controller[_0x323a('0x9')]);router['get'](_0x323a('0xa'),auth[_0x323a('0x8')](),controller['describe']);router[_0x323a('0x7')](_0x323a('0xb'),auth[_0x323a('0x8')](),controller['show']);router[_0x323a('0xc')]('/',auth[_0x323a('0x8')](),controller[_0x323a('0xd')]);router[_0x323a('0xe')](_0x323a('0xb'),auth[_0x323a('0x8')](),controller[_0x323a('0xf')]);router[_0x323a('0x10')](_0x323a('0xb'),auth[_0x323a('0x8')](),controller[_0x323a('0x11')]);module[_0x323a('0x12')]=router;