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 _0x12c3=['isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./intZohoField.controller','get'];(function(_0x3b96cf,_0x1592f2){var _0x2e315a=function(_0x21fa50){while(--_0x21fa50){_0x3b96cf['push'](_0x3b96cf['shift']());}};_0x2e315a(++_0x1592f2);}(_0x12c3,0x173));var _0x312c=function(_0x164f59,_0x8ec228){_0x164f59=_0x164f59-0x0;var _0x4b0f18=_0x12c3[_0x164f59];return _0x4b0f18;};'use strict';var multer=require(_0x312c('0x0'));var util=require(_0x312c('0x1'));var path=require('path');var timeout=require(_0x312c('0x2'));var express=require(_0x312c('0x3'));var router=express[_0x312c('0x4')]();var fs_extra=require(_0x312c('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x312c('0x6'));var config=require('../../config/environment');var controller=require(_0x312c('0x7'));router[_0x312c('0x8')]('/',auth[_0x312c('0x9')](),controller[_0x312c('0xa')]);router[_0x312c('0x8')](_0x312c('0xb'),auth['isAuthenticated'](),controller[_0x312c('0xc')]);router[_0x312c('0xd')]('/',auth[_0x312c('0x9')](),controller[_0x312c('0xe')]);router[_0x312c('0xf')](_0x312c('0xb'),auth['isAuthenticated'](),controller[_0x312c('0x10')]);router[_0x312c('0x11')](_0x312c('0xb'),auth[_0x312c('0x9')](),controller[_0x312c('0x12')]);module[_0x312c('0x13')]=router;