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