Built motion from commit b4f7ded2.|2.0.69
[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 _0x9bde=['util','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDeskConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','getFields','/:id/subjects','/:id/descriptions','getDescriptions','/:id/tags','getTags','post','create','setTags','update','delete','destroy','exports'];(function(_0x200dcd,_0x3cc5ed){var _0x4b9f7a=function(_0x1de266){while(--_0x1de266){_0x200dcd['push'](_0x200dcd['shift']());}};_0x4b9f7a(++_0x3cc5ed);}(_0x9bde,0xe1));var _0xe9bd=function(_0x1ea1dc,_0x45bc26){_0x1ea1dc=_0x1ea1dc-0x0;var _0x54ead1=_0x9bde[_0x1ea1dc];return _0x54ead1;};'use strict';var multer=require('multer');var util=require(_0xe9bd('0x0'));var path=require('path');var express=require(_0xe9bd('0x1'));var router=express['Router']();var auth=require(_0xe9bd('0x2'));var interaction=require(_0xe9bd('0x3'));var config=require(_0xe9bd('0x4'));var controller=require(_0xe9bd('0x5'));router[_0xe9bd('0x6')]('/',auth[_0xe9bd('0x7')](),controller[_0xe9bd('0x8')]);router['get'](_0xe9bd('0x9'),auth[_0xe9bd('0x7')](),controller[_0xe9bd('0xa')]);router[_0xe9bd('0x6')](_0xe9bd('0xb'),auth[_0xe9bd('0x7')](),controller[_0xe9bd('0xc')]);router[_0xe9bd('0x6')](_0xe9bd('0xd'),auth[_0xe9bd('0x7')](),controller['getSubjects']);router['get'](_0xe9bd('0xe'),auth[_0xe9bd('0x7')](),controller[_0xe9bd('0xf')]);router['get'](_0xe9bd('0x10'),auth[_0xe9bd('0x7')](),controller[_0xe9bd('0x11')]);router[_0xe9bd('0x12')]('/',auth['isAuthenticated'](),controller[_0xe9bd('0x13')]);router['post'](_0xe9bd('0x10'),auth[_0xe9bd('0x7')](),controller[_0xe9bd('0x14')]);router['put']('/:id',auth[_0xe9bd('0x7')](),controller[_0xe9bd('0x15')]);router[_0xe9bd('0x16')](_0xe9bd('0x9'),auth[_0xe9bd('0x7')](),controller[_0xe9bd('0x17')]);module[_0xe9bd('0x18')]=router;