Built motion from commit (unavailable).|2.5.29
[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 _0x78b2=['/:id/fields','getFields','/:id/subjects','/:id/descriptions','getDescriptions','/:id/tags','getTags','post','create','put','delete','destroy','exports','multer','util','express','Router','../../components/auth/service','../../components/interaction/service','./intZendeskConfiguration.controller','isAuthenticated','get','/:id','show'];(function(_0x599c76,_0x3b85bd){var _0x6b9f40=function(_0x2a85b3){while(--_0x2a85b3){_0x599c76['push'](_0x599c76['shift']());}};_0x6b9f40(++_0x3b85bd);}(_0x78b2,0x115));var _0x278b=function(_0x2a4c8a,_0x2eda3a){_0x2a4c8a=_0x2a4c8a-0x0;var _0x13e5b2=_0x78b2[_0x2a4c8a];return _0x13e5b2;};'use strict';var multer=require(_0x278b('0x0'));var util=require(_0x278b('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x278b('0x2'));var router=express[_0x278b('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x278b('0x4'));var interaction=require(_0x278b('0x5'));var config=require('../../config/environment');var controller=require(_0x278b('0x6'));router['get']('/',auth[_0x278b('0x7')](),controller['index']);router[_0x278b('0x8')](_0x278b('0x9'),auth[_0x278b('0x7')](),controller[_0x278b('0xa')]);router[_0x278b('0x8')](_0x278b('0xb'),auth[_0x278b('0x7')](),controller[_0x278b('0xc')]);router['get'](_0x278b('0xd'),auth[_0x278b('0x7')](),controller['getSubjects']);router[_0x278b('0x8')](_0x278b('0xe'),auth[_0x278b('0x7')](),controller[_0x278b('0xf')]);router[_0x278b('0x8')](_0x278b('0x10'),auth[_0x278b('0x7')](),controller[_0x278b('0x11')]);router[_0x278b('0x12')]('/',auth['isAuthenticated'](),controller[_0x278b('0x13')]);router[_0x278b('0x12')](_0x278b('0x10'),auth[_0x278b('0x7')](),controller['setTags']);router[_0x278b('0x14')](_0x278b('0x9'),auth[_0x278b('0x7')](),controller['update']);router[_0x278b('0x15')](_0x278b('0x9'),auth[_0x278b('0x7')](),controller[_0x278b('0x16')]);module[_0x278b('0x17')]=router;