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 _0x1f17=['get','isAuthenticated','index','show','post','put','/:id','update','delete','destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0x1f17,0xc6));var _0x71f1=function(_0x186edd,_0x16afae){_0x186edd=_0x186edd-0x0;var _0x447af8=_0x1f17[_0x186edd];return _0x447af8;};'use strict';var multer=require(_0x71f1('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x71f1('0x1'));var express=require(_0x71f1('0x2'));var router=express[_0x71f1('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x71f1('0x4'));var interaction=require(_0x71f1('0x5'));var config=require('../../config/environment');var controller=require('./intFreshdeskField.controller');router[_0x71f1('0x6')]('/',auth[_0x71f1('0x7')](),controller[_0x71f1('0x8')]);router[_0x71f1('0x6')]('/:id',auth[_0x71f1('0x7')](),controller[_0x71f1('0x9')]);router[_0x71f1('0xa')]('/',auth[_0x71f1('0x7')](),controller['create']);router[_0x71f1('0xb')](_0x71f1('0xc'),auth[_0x71f1('0x7')](),controller[_0x71f1('0xd')]);router[_0x71f1('0xe')](_0x71f1('0xc'),auth[_0x71f1('0x7')](),controller[_0x71f1('0xf')]);module[_0x71f1('0x10')]=router;