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 _0x7e7b=['./intVtigerField.controller','get','isAuthenticated','index','/:id','show','post','put','update','delete','destroy','exports','util','connect-timeout','express','Router','../../components/interaction/service'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x7e7b,0x12d));var _0xb7e7=function(_0x432b3b,_0x267f9d){_0x432b3b=_0x432b3b-0x0;var _0x354fc1=_0x7e7b[_0x432b3b];return _0x354fc1;};'use strict';var multer=require('multer');var util=require(_0xb7e7('0x0'));var path=require('path');var timeout=require(_0xb7e7('0x1'));var express=require(_0xb7e7('0x2'));var router=express[_0xb7e7('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xb7e7('0x4'));var config=require('../../config/environment');var controller=require(_0xb7e7('0x5'));router[_0xb7e7('0x6')]('/',auth[_0xb7e7('0x7')](),controller[_0xb7e7('0x8')]);router[_0xb7e7('0x6')](_0xb7e7('0x9'),auth['isAuthenticated'](),controller[_0xb7e7('0xa')]);router[_0xb7e7('0xb')]('/',auth['isAuthenticated'](),controller['create']);router[_0xb7e7('0xc')](_0xb7e7('0x9'),auth[_0xb7e7('0x7')](),controller[_0xb7e7('0xd')]);router[_0xb7e7('0xe')](_0xb7e7('0x9'),auth[_0xb7e7('0x7')](),controller[_0xb7e7('0xf')]);module[_0xb7e7('0x10')]=router;