1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xc0d4=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','get','index','/:id','isAuthenticated','show','/:id/fields','getSubjects','/:id/descriptions','getDescriptions','post','create','update','delete','destroy','exports','multer','util'];(function(_0x1bf616,_0x12b164){var _0x1ab4ed=function(_0x35477a){while(--_0x35477a){_0x1bf616['push'](_0x1bf616['shift']());}};_0x1ab4ed(++_0x12b164);}(_0xc0d4,0xfb));var _0x4c0d=function(_0x313c96,_0x3cee6e){_0x313c96=_0x313c96-0x0;var _0x522f53=_0xc0d4[_0x313c96];return _0x522f53;};'use strict';var multer=require(_0x4c0d('0x0'));var util=require(_0x4c0d('0x1'));var path=require('path');var timeout=require(_0x4c0d('0x2'));var express=require(_0x4c0d('0x3'));var router=express[_0x4c0d('0x4')]();var fs_extra=require(_0x4c0d('0x5'));var auth=require(_0x4c0d('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x4c0d('0x7'));var controller=require('./intZohoConfiguration.controller');router[_0x4c0d('0x8')]('/',auth['isAuthenticated'](),controller[_0x4c0d('0x9')]);router['get'](_0x4c0d('0xa'),auth[_0x4c0d('0xb')](),controller[_0x4c0d('0xc')]);router[_0x4c0d('0x8')](_0x4c0d('0xd'),auth[_0x4c0d('0xb')](),controller['getFields']);router[_0x4c0d('0x8')]('/:id/subjects',auth[_0x4c0d('0xb')](),controller[_0x4c0d('0xe')]);router[_0x4c0d('0x8')](_0x4c0d('0xf'),auth[_0x4c0d('0xb')](),controller[_0x4c0d('0x10')]);router[_0x4c0d('0x11')]('/',auth[_0x4c0d('0xb')](),controller[_0x4c0d('0x12')]);router['put'](_0x4c0d('0xa'),auth[_0x4c0d('0xb')](),controller[_0x4c0d('0x13')]);router[_0x4c0d('0x14')](_0x4c0d('0xa'),auth['isAuthenticated'](),controller[_0x4c0d('0x15')]);module[_0x4c0d('0x16')]=router;