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