55afd6626e48ec0d18f75d2f42d685e2581a0023
[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 _0xcba0=['post','put','update','delete','destroy','exports','multer','path','Router','fs-extra','../../components/auth/service','../../config/environment','./mailSubstatus.controller','get','isAuthenticated','index','/describe','/:id','show'];(function(_0x3d6ddf,_0x81e1db){var _0x4b76a7=function(_0x4b0481){while(--_0x4b0481){_0x3d6ddf['push'](_0x3d6ddf['shift']());}};_0x4b76a7(++_0x81e1db);}(_0xcba0,0x1e1));var _0x0cba=function(_0x29eb02,_0x18b4e0){_0x29eb02=_0x29eb02-0x0;var _0x3a09c2=_0xcba0[_0x29eb02];return _0x3a09c2;};'use strict';var multer=require(_0x0cba('0x0'));var util=require('util');var path=require(_0x0cba('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0cba('0x2')]();var fs_extra=require(_0x0cba('0x3'));var auth=require(_0x0cba('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x0cba('0x5'));var controller=require(_0x0cba('0x6'));router[_0x0cba('0x7')]('/',auth[_0x0cba('0x8')](),controller[_0x0cba('0x9')]);router[_0x0cba('0x7')](_0x0cba('0xa'),auth[_0x0cba('0x8')](),controller['describe']);router['get'](_0x0cba('0xb'),auth[_0x0cba('0x8')](),controller[_0x0cba('0xc')]);router[_0x0cba('0xd')]('/',auth[_0x0cba('0x8')](),controller['create']);router[_0x0cba('0xe')](_0x0cba('0xb'),auth[_0x0cba('0x8')](),controller[_0x0cba('0xf')]);router[_0x0cba('0x10')](_0x0cba('0xb'),auth[_0x0cba('0x8')](),controller[_0x0cba('0x11')]);module[_0x0cba('0x12')]=router;