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 _0x5446=['./intVtigerField.controller','get','isAuthenticated','index','/:id','show','create','put','update','delete','destroy','multer','path','connect-timeout','express','../../components/interaction/service'];(function(_0x21fb55,_0x3cbbf9){var _0x44354c=function(_0x547497){while(--_0x547497){_0x21fb55['push'](_0x21fb55['shift']());}};_0x44354c(++_0x3cbbf9);}(_0x5446,0xab));var _0x6544=function(_0x2fd5ae,_0x247988){_0x2fd5ae=_0x2fd5ae-0x0;var _0x5a25e2=_0x5446[_0x2fd5ae];return _0x5a25e2;};'use strict';var multer=require(_0x6544('0x0'));var util=require('util');var path=require(_0x6544('0x1'));var timeout=require(_0x6544('0x2'));var express=require(_0x6544('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x6544('0x4'));var config=require('../../config/environment');var controller=require(_0x6544('0x5'));router[_0x6544('0x6')]('/',auth[_0x6544('0x7')](),controller[_0x6544('0x8')]);router[_0x6544('0x6')](_0x6544('0x9'),auth[_0x6544('0x7')](),controller[_0x6544('0xa')]);router['post']('/',auth['isAuthenticated'](),controller[_0x6544('0xb')]);router[_0x6544('0xc')]('/:id',auth[_0x6544('0x7')](),controller[_0x6544('0xd')]);router[_0x6544('0xe')](_0x6544('0x9'),auth[_0x6544('0x7')](),controller[_0x6544('0xf')]);module['exports']=router;