Built motion from commit 67e5df37.|2.0.66
[motion2.git] / server / api / openchannelDisposition / 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 _0xe643=['put','update','delete','/:id','destroy','exports','multer','util','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelDisposition.controller','get','isAuthenticated','show','post','create'];(function(_0x2c97a9,_0xd6a400){var _0x26b5aa=function(_0x3c5cf7){while(--_0x3c5cf7){_0x2c97a9['push'](_0x2c97a9['shift']());}};_0x26b5aa(++_0xd6a400);}(_0xe643,0x84));var _0x3e64=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xe643[_0x20a584];return _0x4b41a8;};'use strict';var multer=require(_0x3e64('0x0'));var util=require(_0x3e64('0x1'));var path=require('path');var express=require(_0x3e64('0x2'));var router=express['Router']();var auth=require(_0x3e64('0x3'));var interaction=require(_0x3e64('0x4'));var config=require(_0x3e64('0x5'));var controller=require(_0x3e64('0x6'));router[_0x3e64('0x7')]('/:id',auth[_0x3e64('0x8')](),controller[_0x3e64('0x9')]);router[_0x3e64('0xa')]('/',auth[_0x3e64('0x8')](),controller[_0x3e64('0xb')]);router[_0x3e64('0xc')]('/:id',auth[_0x3e64('0x8')](),controller[_0x3e64('0xd')]);router[_0x3e64('0xe')](_0x3e64('0xf'),auth[_0x3e64('0x8')](),controller[_0x3e64('0x10')]);module[_0x3e64('0x11')]=router;