Built motion from commit (unavailable).|2.5.10
[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 _0x4a03=['destroy','exports','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./intDeskConfiguration.controller','get','index','isAuthenticated','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','/:id/tags','create','setTags','put','/:id','update','delete'];(function(_0x22fe5c,_0x28645c){var _0x17a217=function(_0x1306f0){while(--_0x1306f0){_0x22fe5c['push'](_0x22fe5c['shift']());}};_0x17a217(++_0x28645c);}(_0x4a03,0x16e));var _0x34a0=function(_0x451249,_0x1bad71){_0x451249=_0x451249-0x0;var _0x45f784=_0x4a03[_0x451249];return _0x45f784;};'use strict';var multer=require('multer');var util=require(_0x34a0('0x0'));var path=require(_0x34a0('0x1'));var timeout=require(_0x34a0('0x2'));var express=require('express');var router=express[_0x34a0('0x3')]();var auth=require(_0x34a0('0x4'));var interaction=require(_0x34a0('0x5'));var config=require('../../config/environment');var controller=require(_0x34a0('0x6'));router[_0x34a0('0x7')]('/',auth['isAuthenticated'](),controller[_0x34a0('0x8')]);router[_0x34a0('0x7')]('/:id',auth[_0x34a0('0x9')](),controller[_0x34a0('0xa')]);router['get'](_0x34a0('0xb'),auth[_0x34a0('0x9')](),controller[_0x34a0('0xc')]);router[_0x34a0('0x7')](_0x34a0('0xd'),auth['isAuthenticated'](),controller[_0x34a0('0xe')]);router[_0x34a0('0x7')](_0x34a0('0xf'),auth[_0x34a0('0x9')](),controller[_0x34a0('0x10')]);router[_0x34a0('0x7')](_0x34a0('0x11'),auth[_0x34a0('0x9')](),controller['getTags']);router['post']('/',auth[_0x34a0('0x9')](),controller[_0x34a0('0x12')]);router['post'](_0x34a0('0x11'),auth[_0x34a0('0x9')](),controller[_0x34a0('0x13')]);router[_0x34a0('0x14')](_0x34a0('0x15'),auth[_0x34a0('0x9')](),controller[_0x34a0('0x16')]);router[_0x34a0('0x17')](_0x34a0('0x15'),auth[_0x34a0('0x9')](),controller[_0x34a0('0x18')]);module[_0x34a0('0x19')]=router;