Built motion from commit (unavailable).|2.5.26
[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 _0x8fd1=['../../config/environment','./openchannelTransferReport.controller','get','isAuthenticated','/describe','/:id','post','create','put','delete','multer','connect-timeout','Router','fs-extra','../../components/auth/service'];(function(_0x46e4de,_0x1c5426){var _0x2ef916=function(_0x31c136){while(--_0x31c136){_0x46e4de['push'](_0x46e4de['shift']());}};_0x2ef916(++_0x1c5426);}(_0x8fd1,0x136));var _0x18fd=function(_0x13e300,_0x1bcb41){_0x13e300=_0x13e300-0x0;var _0x5a3eea=_0x8fd1[_0x13e300];return _0x5a3eea;};'use strict';var multer=require(_0x18fd('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x18fd('0x1'));var express=require('express');var router=express[_0x18fd('0x2')]();var fs_extra=require(_0x18fd('0x3'));var auth=require(_0x18fd('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x18fd('0x5'));var controller=require(_0x18fd('0x6'));router[_0x18fd('0x7')]('/',auth[_0x18fd('0x8')](),controller['index']);router[_0x18fd('0x7')](_0x18fd('0x9'),auth[_0x18fd('0x8')](),controller['describe']);router[_0x18fd('0x7')](_0x18fd('0xa'),auth['isAuthenticated'](),controller['show']);router[_0x18fd('0xb')]('/',auth[_0x18fd('0x8')](),controller[_0x18fd('0xc')]);router[_0x18fd('0xd')]('/:id',auth[_0x18fd('0x8')](),controller['update']);router[_0x18fd('0xe')](_0x18fd('0xa'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;