Built motion from commit 53172ac8.|2.6.30
[motion2.git] / server / api / openchannelTransferReport / 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 _0x33ad=['get','index','/describe','isAuthenticated','show','post','create','update','delete','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller'];(function(_0x28406a,_0x125f4b){var _0x21295d=function(_0x403b9b){while(--_0x403b9b){_0x28406a['push'](_0x28406a['shift']());}};_0x21295d(++_0x125f4b);}(_0x33ad,0x1c2));var _0xd33a=function(_0x120958,_0x22f339){_0x120958=_0x120958-0x0;var _0x106697=_0x33ad[_0x120958];return _0x106697;};'use strict';var multer=require(_0xd33a('0x0'));var util=require(_0xd33a('0x1'));var path=require(_0xd33a('0x2'));var timeout=require(_0xd33a('0x3'));var express=require('express');var router=express[_0xd33a('0x4')]();var fs_extra=require(_0xd33a('0x5'));var auth=require(_0xd33a('0x6'));var interaction=require(_0xd33a('0x7'));var config=require(_0xd33a('0x8'));var controller=require(_0xd33a('0x9'));router[_0xd33a('0xa')]('/',auth['isAuthenticated'](),controller[_0xd33a('0xb')]);router[_0xd33a('0xa')](_0xd33a('0xc'),auth[_0xd33a('0xd')](),controller['describe']);router[_0xd33a('0xa')]('/:id',auth[_0xd33a('0xd')](),controller[_0xd33a('0xe')]);router[_0xd33a('0xf')]('/',auth[_0xd33a('0xd')](),controller[_0xd33a('0x10')]);router['put']('/:id',auth[_0xd33a('0xd')](),controller[_0xd33a('0x11')]);router[_0xd33a('0x12')]('/:id',auth[_0xd33a('0xd')](),controller['destroy']);module[_0xd33a('0x13')]=router;