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