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