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