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