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