Built motion from commit (unavailable).|2.5.23
[motion2.git] / server / api / intZendeskConfiguration / 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 _0xcdda=['/:id','update','delete','destroy','exports','path','express','Router','../../components/auth/service','../../components/interaction/service','get','index','isAuthenticated','show','/:id/fields','getFields','getSubjects','getTags','post','/:id/tags','setTags','put'];(function(_0x1e8faa,_0x22c805){var _0x27c4e0=function(_0x3435d4){while(--_0x3435d4){_0x1e8faa['push'](_0x1e8faa['shift']());}};_0x27c4e0(++_0x22c805);}(_0xcdda,0x14f));var _0xacdd=function(_0x42b8f5,_0x4b9730){_0x42b8f5=_0x42b8f5-0x0;var _0x31ca50=_0xcdda[_0x42b8f5];return _0x31ca50;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xacdd('0x0'));var timeout=require('connect-timeout');var express=require(_0xacdd('0x1'));var router=express[_0xacdd('0x2')]();var auth=require(_0xacdd('0x3'));var interaction=require(_0xacdd('0x4'));var config=require('../../config/environment');var controller=require('./intZendeskConfiguration.controller');router[_0xacdd('0x5')]('/',auth['isAuthenticated'](),controller[_0xacdd('0x6')]);router['get']('/:id',auth[_0xacdd('0x7')](),controller[_0xacdd('0x8')]);router[_0xacdd('0x5')](_0xacdd('0x9'),auth[_0xacdd('0x7')](),controller[_0xacdd('0xa')]);router[_0xacdd('0x5')]('/:id/subjects',auth['isAuthenticated'](),controller[_0xacdd('0xb')]);router['get']('/:id/descriptions',auth[_0xacdd('0x7')](),controller['getDescriptions']);router[_0xacdd('0x5')]('/:id/tags',auth[_0xacdd('0x7')](),controller[_0xacdd('0xc')]);router[_0xacdd('0xd')]('/',auth[_0xacdd('0x7')](),controller['create']);router['post'](_0xacdd('0xe'),auth[_0xacdd('0x7')](),controller[_0xacdd('0xf')]);router[_0xacdd('0x10')](_0xacdd('0x11'),auth[_0xacdd('0x7')](),controller[_0xacdd('0x12')]);router[_0xacdd('0x13')](_0xacdd('0x11'),auth[_0xacdd('0x7')](),controller[_0xacdd('0x14')]);module[_0xacdd('0x15')]=router;