Built motion from commit (unavailable).|2.5.6
[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 _0x527e=['/:id','show','post','isAuthenticated','put','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./intDeskField.controller','index','get'];(function(_0x4de734,_0x156f52){var _0x398938=function(_0x4bfc1c){while(--_0x4bfc1c){_0x4de734['push'](_0x4de734['shift']());}};_0x398938(++_0x156f52);}(_0x527e,0x1ca));var _0xe527=function(_0x355e0e,_0x5401d1){_0x355e0e=_0x355e0e-0x0;var _0x3a10ea=_0x527e[_0x355e0e];return _0x3a10ea;};'use strict';var multer=require(_0xe527('0x0'));var util=require('util');var path=require(_0xe527('0x1'));var timeout=require(_0xe527('0x2'));var express=require(_0xe527('0x3'));var router=express[_0xe527('0x4')]();var auth=require(_0xe527('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xe527('0x6'));var controller=require(_0xe527('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0xe527('0x8')]);router[_0xe527('0x9')](_0xe527('0xa'),auth['isAuthenticated'](),controller[_0xe527('0xb')]);router[_0xe527('0xc')]('/',auth[_0xe527('0xd')](),controller['create']);router[_0xe527('0xe')](_0xe527('0xa'),auth[_0xe527('0xd')](),controller['update']);router[_0xe527('0xf')]('/:id',auth[_0xe527('0xd')](),controller[_0xe527('0x10')]);module[_0xe527('0x11')]=router;