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