fcf1d70fdb66a5bfca9de5a2fa225dbe02baeb74
[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 _0x60bf=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intZohoConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','getFields','/:id/subjects','/:id/descriptions','post','put','update','delete','exports','multer','util','path','connect-timeout','express'];(function(_0x51eb91,_0x4799d5){var _0x1c4fc4=function(_0x1fd807){while(--_0x1fd807){_0x51eb91['push'](_0x51eb91['shift']());}};_0x1c4fc4(++_0x4799d5);}(_0x60bf,0x163));var _0xf60b=function(_0x3ab9ee,_0x4a74b8){_0x3ab9ee=_0x3ab9ee-0x0;var _0x82ee88=_0x60bf[_0x3ab9ee];return _0x82ee88;};'use strict';var multer=require(_0xf60b('0x0'));var util=require(_0xf60b('0x1'));var path=require(_0xf60b('0x2'));var timeout=require(_0xf60b('0x3'));var express=require(_0xf60b('0x4'));var router=express[_0xf60b('0x5')]();var fs_extra=require(_0xf60b('0x6'));var auth=require(_0xf60b('0x7'));var interaction=require(_0xf60b('0x8'));var config=require('../../config/environment');var controller=require(_0xf60b('0x9'));router[_0xf60b('0xa')]('/',auth[_0xf60b('0xb')](),controller[_0xf60b('0xc')]);router[_0xf60b('0xa')](_0xf60b('0xd'),auth[_0xf60b('0xb')](),controller[_0xf60b('0xe')]);router['get'](_0xf60b('0xf'),auth[_0xf60b('0xb')](),controller[_0xf60b('0x10')]);router[_0xf60b('0xa')](_0xf60b('0x11'),auth[_0xf60b('0xb')](),controller['getSubjects']);router[_0xf60b('0xa')](_0xf60b('0x12'),auth[_0xf60b('0xb')](),controller['getDescriptions']);router[_0xf60b('0x13')]('/',auth[_0xf60b('0xb')](),controller['create']);router[_0xf60b('0x14')](_0xf60b('0xd'),auth[_0xf60b('0xb')](),controller[_0xf60b('0x15')]);router[_0xf60b('0x16')](_0xf60b('0xd'),auth[_0xf60b('0xb')](),controller['destroy']);module[_0xf60b('0x17')]=router;