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