Built motion from commit (unavailable).|2.0.70
[motion2.git] / server / api / mailMessage / 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 _0x1012=['mailmessage:create','put','update','/:id/accept','accept','/:id/reject','reject','delete','destroy','exports','multer','path','express','Router','../../components/interaction/service','../../config/environment','./mailMessage.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','tracked','mail'];(function(_0x51eb4a,_0x123945){var _0x4d4d87=function(_0xff5855){while(--_0xff5855){_0x51eb4a['push'](_0x51eb4a['shift']());}};_0x4d4d87(++_0x123945);}(_0x1012,0x133));var _0x2101=function(_0x23c73d,_0x357b21){_0x23c73d=_0x23c73d-0x0;var _0x36ba47=_0x1012[_0x23c73d];return _0x36ba47;};'use strict';var multer=require(_0x2101('0x0'));var util=require('util');var path=require(_0x2101('0x1'));var express=require(_0x2101('0x2'));var router=express[_0x2101('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x2101('0x4'));var config=require(_0x2101('0x5'));var controller=require(_0x2101('0x6'));router[_0x2101('0x7')]('/',auth[_0x2101('0x8')](),controller[_0x2101('0x9')]);router[_0x2101('0x7')](_0x2101('0xa'),auth[_0x2101('0x8')](),controller[_0x2101('0xb')]);router[_0x2101('0x7')](_0x2101('0xc'),auth[_0x2101('0x8')](),controller[_0x2101('0xd')]);router[_0x2101('0xe')]('/',auth[_0x2101('0x8')](),interaction[_0x2101('0xf')](_0x2101('0x10'),_0x2101('0x11')),controller['create']);router[_0x2101('0x12')](_0x2101('0xc'),auth[_0x2101('0x8')](),controller[_0x2101('0x13')]);router['put'](_0x2101('0x14'),auth[_0x2101('0x8')](),controller[_0x2101('0x15')]);router[_0x2101('0x12')](_0x2101('0x16'),auth[_0x2101('0x8')](),controller[_0x2101('0x17')]);router[_0x2101('0x18')](_0x2101('0xc'),auth['isAuthenticated'](),controller[_0x2101('0x19')]);module[_0x2101('0x1a')]=router;