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 _0xf96c=['./smsTransferReport.controller','get','isAuthenticated','index','/:id','show','post','create','put','destroy','exports','multer','util','path','express','Router','../../components/interaction/service','../../config/environment'];(function(_0x3b503a,_0x79dfed){var _0x5b1c6d=function(_0x57ab4e){while(--_0x57ab4e){_0x3b503a['push'](_0x3b503a['shift']());}};_0x5b1c6d(++_0x79dfed);}(_0xf96c,0xbf));var _0xcf96=function(_0x1510da,_0x2068c8){_0x1510da=_0x1510da-0x0;var _0x31edc7=_0xf96c[_0x1510da];return _0x31edc7;};'use strict';var multer=require(_0xcf96('0x0'));var util=require(_0xcf96('0x1'));var path=require(_0xcf96('0x2'));var timeout=require('connect-timeout');var express=require(_0xcf96('0x3'));var router=express[_0xcf96('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xcf96('0x5'));var config=require(_0xcf96('0x6'));var controller=require(_0xcf96('0x7'));router[_0xcf96('0x8')]('/',auth[_0xcf96('0x9')](),controller[_0xcf96('0xa')]);router['get']('/describe',auth[_0xcf96('0x9')](),controller['describe']);router['get'](_0xcf96('0xb'),auth[_0xcf96('0x9')](),controller[_0xcf96('0xc')]);router[_0xcf96('0xd')]('/',auth[_0xcf96('0x9')](),controller[_0xcf96('0xe')]);router[_0xcf96('0xf')]('/:id',auth[_0xcf96('0x9')](),controller['update']);router['delete'](_0xcf96('0xb'),auth[_0xcf96('0x9')](),controller[_0xcf96('0x10')]);module[_0xcf96('0x11')]=router;