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