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