Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / api / smsTransferReport / 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 _0x4d2d=['update','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','/describe','describe','/:id','post','create'];(function(_0x30ae5e,_0x391fc4){var _0x1f2e93=function(_0x60307d){while(--_0x60307d){_0x30ae5e['push'](_0x30ae5e['shift']());}};_0x1f2e93(++_0x391fc4);}(_0x4d2d,0xf1));var _0xd4d2=function(_0x8f7cb6,_0xf929c8){_0x8f7cb6=_0x8f7cb6-0x0;var _0xf4d3a1=_0x4d2d[_0x8f7cb6];return _0xf4d3a1;};'use strict';var multer=require(_0xd4d2('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xd4d2('0x1'));var express=require(_0xd4d2('0x2'));var router=express[_0xd4d2('0x3')]();var fs_extra=require(_0xd4d2('0x4'));var auth=require(_0xd4d2('0x5'));var interaction=require(_0xd4d2('0x6'));var config=require('../../config/environment');var controller=require('./smsTransferReport.controller');router[_0xd4d2('0x7')]('/',auth[_0xd4d2('0x8')](),controller['index']);router[_0xd4d2('0x7')](_0xd4d2('0x9'),auth[_0xd4d2('0x8')](),controller[_0xd4d2('0xa')]);router[_0xd4d2('0x7')](_0xd4d2('0xb'),auth[_0xd4d2('0x8')](),controller['show']);router[_0xd4d2('0xc')]('/',auth[_0xd4d2('0x8')](),controller[_0xd4d2('0xd')]);router['put'](_0xd4d2('0xb'),auth[_0xd4d2('0x8')](),controller[_0xd4d2('0xe')]);router['delete'](_0xd4d2('0xb'),auth[_0xd4d2('0x8')](),controller['destroy']);module['exports']=router;