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