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