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