574a479cff399eed3c45b6df7fbaa179574ad2b8
[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 _0xc9cc=['../../config/environment','index','get','/:id','isAuthenticated','show','/:id/fields','getFields','/:id/subjects','getSubjects','getDescriptions','/:id/tags','getTags','post','create','put','update','delete','exports','multer','path','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x473582,_0x139c3c){var _0x48feb7=function(_0x5cfa3c){while(--_0x5cfa3c){_0x473582['push'](_0x473582['shift']());}};_0x48feb7(++_0x139c3c);}(_0xc9cc,0x1bc));var _0xcc9c=function(_0x581aae,_0x2b18ee){_0x581aae=_0x581aae-0x0;var _0x539df2=_0xc9cc[_0x581aae];return _0x539df2;};'use strict';var multer=require(_0xcc9c('0x0'));var util=require('util');var path=require(_0xcc9c('0x1'));var timeout=require('connect-timeout');var express=require(_0xcc9c('0x2'));var router=express[_0xcc9c('0x3')]();var auth=require(_0xcc9c('0x4'));var interaction=require(_0xcc9c('0x5'));var config=require(_0xcc9c('0x6'));var controller=require('./intZendeskConfiguration.controller');router['get']('/',auth['isAuthenticated'](),controller[_0xcc9c('0x7')]);router[_0xcc9c('0x8')](_0xcc9c('0x9'),auth[_0xcc9c('0xa')](),controller[_0xcc9c('0xb')]);router[_0xcc9c('0x8')](_0xcc9c('0xc'),auth[_0xcc9c('0xa')](),controller[_0xcc9c('0xd')]);router['get'](_0xcc9c('0xe'),auth['isAuthenticated'](),controller[_0xcc9c('0xf')]);router[_0xcc9c('0x8')]('/:id/descriptions',auth['isAuthenticated'](),controller[_0xcc9c('0x10')]);router[_0xcc9c('0x8')](_0xcc9c('0x11'),auth[_0xcc9c('0xa')](),controller[_0xcc9c('0x12')]);router[_0xcc9c('0x13')]('/',auth[_0xcc9c('0xa')](),controller[_0xcc9c('0x14')]);router[_0xcc9c('0x13')](_0xcc9c('0x11'),auth['isAuthenticated'](),controller['setTags']);router[_0xcc9c('0x15')]('/:id',auth[_0xcc9c('0xa')](),controller[_0xcc9c('0x16')]);router[_0xcc9c('0x17')](_0xcc9c('0x9'),auth[_0xcc9c('0xa')](),controller['destroy']);module[_0xcc9c('0x18')]=router;