Built motion from commit (unavailable).|2.4.4
[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 _0xb625=['../../components/interaction/service','./openchannelTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','delete','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x40eec9,_0x817a67){var _0xfee890=function(_0x186640){while(--_0x186640){_0x40eec9['push'](_0x40eec9['shift']());}};_0xfee890(++_0x817a67);}(_0xb625,0x1b3));var _0x5b62=function(_0x164c6e,_0x25abdb){_0x164c6e=_0x164c6e-0x0;var _0xe3731a=_0xb625[_0x164c6e];return _0xe3731a;};'use strict';var multer=require(_0x5b62('0x0'));var util=require(_0x5b62('0x1'));var path=require(_0x5b62('0x2'));var timeout=require(_0x5b62('0x3'));var express=require(_0x5b62('0x4'));var router=express[_0x5b62('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0x5b62('0x6'));var config=require('../../config/environment');var controller=require(_0x5b62('0x7'));router[_0x5b62('0x8')]('/',auth[_0x5b62('0x9')](),controller[_0x5b62('0xa')]);router['get'](_0x5b62('0xb'),auth[_0x5b62('0x9')](),controller[_0x5b62('0xc')]);router['get'](_0x5b62('0xd'),auth['isAuthenticated'](),controller[_0x5b62('0xe')]);router[_0x5b62('0xf')]('/',auth[_0x5b62('0x9')](),controller[_0x5b62('0x10')]);router[_0x5b62('0x11')]('/:id',auth['isAuthenticated'](),controller[_0x5b62('0x12')]);router[_0x5b62('0x13')](_0x5b62('0xd'),auth['isAuthenticated'](),controller['destroy']);module[_0x5b62('0x14')]=router;