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