75fd9faedb709a1fb1259d4a055f6476bd801089
[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 _0x75df=['index','/describe','/:id','post','create','put','update','destroy','exports','util','path','connect-timeout','Router','../../components/interaction/service','../../config/environment','./mailSubstatus.controller','get','isAuthenticated'];(function(_0x110c3d,_0x12ee06){var _0x226d67=function(_0x1fb6e1){while(--_0x1fb6e1){_0x110c3d['push'](_0x110c3d['shift']());}};_0x226d67(++_0x12ee06);}(_0x75df,0xbd));var _0xf75d=function(_0x150203,_0x5878ca){_0x150203=_0x150203-0x0;var _0x218b7c=_0x75df[_0x150203];return _0x218b7c;};'use strict';var multer=require('multer');var util=require(_0xf75d('0x0'));var path=require(_0xf75d('0x1'));var timeout=require(_0xf75d('0x2'));var express=require('express');var router=express[_0xf75d('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xf75d('0x4'));var config=require(_0xf75d('0x5'));var controller=require(_0xf75d('0x6'));router[_0xf75d('0x7')]('/',auth[_0xf75d('0x8')](),controller[_0xf75d('0x9')]);router[_0xf75d('0x7')](_0xf75d('0xa'),auth[_0xf75d('0x8')](),controller['describe']);router[_0xf75d('0x7')](_0xf75d('0xb'),auth[_0xf75d('0x8')](),controller['show']);router[_0xf75d('0xc')]('/',auth['isAuthenticated'](),controller[_0xf75d('0xd')]);router[_0xf75d('0xe')](_0xf75d('0xb'),auth[_0xf75d('0x8')](),controller[_0xf75d('0xf')]);router['delete'](_0xf75d('0xb'),auth[_0xf75d('0x8')](),controller[_0xf75d('0x10')]);module[_0xf75d('0x11')]=router;