Built motion from commit 14588770.|2.5.38
[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 _0x6921=['describe','/:id','post','create','put','update','delete','destroy','exports','util','connect-timeout','Router','fs-extra','../../components/interaction/service','./smsTransferReport.controller','get','isAuthenticated','index','/describe'];(function(_0x3d7f20,_0x216969){var _0x5c82c4=function(_0x411d05){while(--_0x411d05){_0x3d7f20['push'](_0x3d7f20['shift']());}};_0x5c82c4(++_0x216969);}(_0x6921,0x1d1));var _0x1692=function(_0x325259,_0x504d3b){_0x325259=_0x325259-0x0;var _0x11d584=_0x6921[_0x325259];return _0x11d584;};'use strict';var multer=require('multer');var util=require(_0x1692('0x0'));var path=require('path');var timeout=require(_0x1692('0x1'));var express=require('express');var router=express[_0x1692('0x2')]();var fs_extra=require(_0x1692('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0x1692('0x4'));var config=require('../../config/environment');var controller=require(_0x1692('0x5'));router[_0x1692('0x6')]('/',auth[_0x1692('0x7')](),controller[_0x1692('0x8')]);router[_0x1692('0x6')](_0x1692('0x9'),auth[_0x1692('0x7')](),controller[_0x1692('0xa')]);router[_0x1692('0x6')](_0x1692('0xb'),auth[_0x1692('0x7')](),controller['show']);router[_0x1692('0xc')]('/',auth['isAuthenticated'](),controller[_0x1692('0xd')]);router[_0x1692('0xe')](_0x1692('0xb'),auth[_0x1692('0x7')](),controller[_0x1692('0xf')]);router[_0x1692('0x10')]('/:id',auth[_0x1692('0x7')](),controller[_0x1692('0x11')]);module[_0x1692('0x12')]=router;