Built motion from commit (unavailable).|2.5.7
[motion2.git] / server / api / intDeskConfiguration / 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 _0x1419=['../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','/:id/tags','post','create','update','delete','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0x453855,_0x2bae5d){var _0x488d7e=function(_0x5208){while(--_0x5208){_0x453855['push'](_0x453855['shift']());}};_0x488d7e(++_0x2bae5d);}(_0x1419,0x127));var _0x9141=function(_0x2030c7,_0x4b1285){_0x2030c7=_0x2030c7-0x0;var _0x12dc67=_0x1419[_0x2030c7];return _0x12dc67;};'use strict';var multer=require(_0x9141('0x0'));var util=require(_0x9141('0x1'));var path=require(_0x9141('0x2'));var timeout=require(_0x9141('0x3'));var express=require(_0x9141('0x4'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x9141('0x5'));var config=require(_0x9141('0x6'));var controller=require('./intDeskConfiguration.controller');router['get']('/',auth[_0x9141('0x7')](),controller[_0x9141('0x8')]);router[_0x9141('0x9')](_0x9141('0xa'),auth[_0x9141('0x7')](),controller[_0x9141('0xb')]);router[_0x9141('0x9')](_0x9141('0xc'),auth[_0x9141('0x7')](),controller[_0x9141('0xd')]);router['get'](_0x9141('0xe'),auth[_0x9141('0x7')](),controller[_0x9141('0xf')]);router[_0x9141('0x9')](_0x9141('0x10'),auth[_0x9141('0x7')](),controller[_0x9141('0x11')]);router[_0x9141('0x9')](_0x9141('0x12'),auth[_0x9141('0x7')](),controller['getTags']);router[_0x9141('0x13')]('/',auth[_0x9141('0x7')](),controller[_0x9141('0x14')]);router[_0x9141('0x13')](_0x9141('0x12'),auth[_0x9141('0x7')](),controller['setTags']);router['put'](_0x9141('0xa'),auth[_0x9141('0x7')](),controller[_0x9141('0x15')]);router[_0x9141('0x16')](_0x9141('0xa'),auth[_0x9141('0x7')](),controller[_0x9141('0x17')]);module[_0x9141('0x18')]=router;