Built motion from commit fe909640.|2.6.8
[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 _0x6acf=['get','describe','/:id','post','put','update','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailSubstatus.controller','isAuthenticated','index'];(function(_0x3b1e5c,_0x5633dd){var _0x5e59fb=function(_0x2e98c0){while(--_0x2e98c0){_0x3b1e5c['push'](_0x3b1e5c['shift']());}};_0x5e59fb(++_0x5633dd);}(_0x6acf,0x80));var _0xf6ac=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x6acf[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xf6ac('0x0'));var util=require(_0xf6ac('0x1'));var path=require(_0xf6ac('0x2'));var timeout=require(_0xf6ac('0x3'));var express=require(_0xf6ac('0x4'));var router=express[_0xf6ac('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xf6ac('0x6'));var interaction=require(_0xf6ac('0x7'));var config=require(_0xf6ac('0x8'));var controller=require(_0xf6ac('0x9'));router['get']('/',auth[_0xf6ac('0xa')](),controller[_0xf6ac('0xb')]);router[_0xf6ac('0xc')]('/describe',auth['isAuthenticated'](),controller[_0xf6ac('0xd')]);router[_0xf6ac('0xc')](_0xf6ac('0xe'),auth[_0xf6ac('0xa')](),controller['show']);router[_0xf6ac('0xf')]('/',auth['isAuthenticated'](),controller['create']);router[_0xf6ac('0x10')]('/:id',auth['isAuthenticated'](),controller[_0xf6ac('0x11')]);router['delete'](_0xf6ac('0xe'),auth[_0xf6ac('0xa')](),controller[_0xf6ac('0x12')]);module[_0xf6ac('0x13')]=router;