Built motion from commit 616d3211.|2.6.4
[motion2.git] / server / api / intZohoConfiguration / 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 _0xf79c=['destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','./intZohoConfiguration.controller','get','isAuthenticated','/:id/fields','getFields','/:id/subjects','getSubjects','post','create','put','/:id','delete'];(function(_0x450e22,_0x3ba125){var _0x5e3b1d=function(_0x50f77c){while(--_0x50f77c){_0x450e22['push'](_0x450e22['shift']());}};_0x5e3b1d(++_0x3ba125);}(_0xf79c,0xb2));var _0xcf79=function(_0x2ce0fe,_0x2817f8){_0x2ce0fe=_0x2ce0fe-0x0;var _0x5e27a8=_0xf79c[_0x2ce0fe];return _0x5e27a8;};'use strict';var multer=require(_0xcf79('0x0'));var util=require(_0xcf79('0x1'));var path=require(_0xcf79('0x2'));var timeout=require(_0xcf79('0x3'));var express=require(_0xcf79('0x4'));var router=express['Router']();var fs_extra=require(_0xcf79('0x5'));var auth=require(_0xcf79('0x6'));var interaction=require(_0xcf79('0x7'));var config=require('../../config/environment');var controller=require(_0xcf79('0x8'));router[_0xcf79('0x9')]('/',auth[_0xcf79('0xa')](),controller['index']);router[_0xcf79('0x9')]('/:id',auth[_0xcf79('0xa')](),controller['show']);router[_0xcf79('0x9')](_0xcf79('0xb'),auth[_0xcf79('0xa')](),controller[_0xcf79('0xc')]);router[_0xcf79('0x9')](_0xcf79('0xd'),auth[_0xcf79('0xa')](),controller[_0xcf79('0xe')]);router[_0xcf79('0x9')]('/:id/descriptions',auth[_0xcf79('0xa')](),controller['getDescriptions']);router[_0xcf79('0xf')]('/',auth[_0xcf79('0xa')](),controller[_0xcf79('0x10')]);router[_0xcf79('0x11')](_0xcf79('0x12'),auth['isAuthenticated'](),controller['update']);router[_0xcf79('0x13')](_0xcf79('0x12'),auth[_0xcf79('0xa')](),controller[_0xcf79('0x14')]);module[_0xcf79('0x15')]=router;