Built motion from commit (unavailable).|2.5.10
[motion2.git] / server / api / intDeskField / 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 _0xe43b=['destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/:id','show','post','put','update','delete'];(function(_0x1aa368,_0x56c31d){var _0x3d9e29=function(_0x32c580){while(--_0x32c580){_0x1aa368['push'](_0x1aa368['shift']());}};_0x3d9e29(++_0x56c31d);}(_0xe43b,0x1dd));var _0xbe43=function(_0x263a0a,_0x2aebeb){_0x263a0a=_0x263a0a-0x0;var _0x9fdcb=_0xe43b[_0x263a0a];return _0x9fdcb;};'use strict';var multer=require(_0xbe43('0x0'));var util=require(_0xbe43('0x1'));var path=require(_0xbe43('0x2'));var timeout=require(_0xbe43('0x3'));var express=require(_0xbe43('0x4'));var router=express[_0xbe43('0x5')]();var auth=require(_0xbe43('0x6'));var interaction=require(_0xbe43('0x7'));var config=require('../../config/environment');var controller=require('./intDeskField.controller');router[_0xbe43('0x8')]('/',auth[_0xbe43('0x9')](),controller[_0xbe43('0xa')]);router['get'](_0xbe43('0xb'),auth[_0xbe43('0x9')](),controller[_0xbe43('0xc')]);router[_0xbe43('0xd')]('/',auth[_0xbe43('0x9')](),controller['create']);router[_0xbe43('0xe')](_0xbe43('0xb'),auth[_0xbe43('0x9')](),controller[_0xbe43('0xf')]);router[_0xbe43('0x10')](_0xbe43('0xb'),auth[_0xbe43('0x9')](),controller[_0xbe43('0x11')]);module[_0xbe43('0x12')]=router;