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