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 _0x410a=['destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./intZohoAccount.controller','get','/:id','isAuthenticated','show','/:id/configurations','getConfigurations','/:id/fields','getFields','create','post','put','update','delete'];(function(_0x42a44a,_0x15ca12){var _0x1e6ab6=function(_0x5c5a3f){while(--_0x5c5a3f){_0x42a44a['push'](_0x42a44a['shift']());}};_0x1e6ab6(++_0x15ca12);}(_0x410a,0xd1));var _0xa410=function(_0x44749f,_0x39fcf0){_0x44749f=_0x44749f-0x0;var _0x1bb868=_0x410a[_0x44749f];return _0x1bb868;};'use strict';var multer=require(_0xa410('0x0'));var util=require('util');var path=require(_0xa410('0x1'));var timeout=require(_0xa410('0x2'));var express=require(_0xa410('0x3'));var router=express[_0xa410('0x4')]();var auth=require(_0xa410('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xa410('0x6'));var controller=require(_0xa410('0x7'));router[_0xa410('0x8')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0xa410('0x9'),auth[_0xa410('0xa')](),controller[_0xa410('0xb')]);router[_0xa410('0x8')](_0xa410('0xc'),auth[_0xa410('0xa')](),controller[_0xa410('0xd')]);router['get'](_0xa410('0xe'),auth[_0xa410('0xa')](),controller[_0xa410('0xf')]);router['post']('/',auth[_0xa410('0xa')](),controller[_0xa410('0x10')]);router[_0xa410('0x11')](_0xa410('0xc'),auth[_0xa410('0xa')](),controller['addConfiguration']);router[_0xa410('0x12')]('/:id',auth[_0xa410('0xa')](),controller[_0xa410('0x13')]);router[_0xa410('0x14')](_0xa410('0x9'),auth[_0xa410('0xa')](),controller[_0xa410('0x15')]);module[_0xa410('0x16')]=router;