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 _0xf6ae=['/:id/fields','getFields','post','create','addConfiguration','update','delete','destroy','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZohoAccount.controller','isAuthenticated','index','get','/:id','/:id/configurations','getConfigurations'];(function(_0x55e08b,_0x421620){var _0xd1a7ff=function(_0x58c7ff){while(--_0x58c7ff){_0x55e08b['push'](_0x55e08b['shift']());}};_0xd1a7ff(++_0x421620);}(_0xf6ae,0x1d0));var _0xef6a=function(_0x57ef6f,_0x216af1){_0x57ef6f=_0x57ef6f-0x0;var _0x4b4ec5=_0xf6ae[_0x57ef6f];return _0x4b4ec5;};'use strict';var multer=require(_0xef6a('0x0'));var util=require(_0xef6a('0x1'));var path=require(_0xef6a('0x2'));var timeout=require(_0xef6a('0x3'));var express=require(_0xef6a('0x4'));var router=express['Router']();var fs_extra=require(_0xef6a('0x5'));var auth=require(_0xef6a('0x6'));var interaction=require(_0xef6a('0x7'));var config=require(_0xef6a('0x8'));var controller=require(_0xef6a('0x9'));router['get']('/',auth[_0xef6a('0xa')](),controller[_0xef6a('0xb')]);router[_0xef6a('0xc')](_0xef6a('0xd'),auth['isAuthenticated'](),controller['show']);router[_0xef6a('0xc')](_0xef6a('0xe'),auth[_0xef6a('0xa')](),controller[_0xef6a('0xf')]);router[_0xef6a('0xc')](_0xef6a('0x10'),auth[_0xef6a('0xa')](),controller[_0xef6a('0x11')]);router[_0xef6a('0x12')]('/',auth[_0xef6a('0xa')](),controller[_0xef6a('0x13')]);router['post'](_0xef6a('0xe'),auth[_0xef6a('0xa')](),controller[_0xef6a('0x14')]);router['put'](_0xef6a('0xd'),auth[_0xef6a('0xa')](),controller[_0xef6a('0x15')]);router[_0xef6a('0x16')](_0xef6a('0xd'),auth[_0xef6a('0xa')](),controller[_0xef6a('0x17')]);module['exports']=router;