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