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 _0xbc05=['./intVtigerField.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../config/environment'];(function(_0x4fec18,_0x4ca292){var _0x2772ee=function(_0x4c07a2){while(--_0x4c07a2){_0x4fec18['push'](_0x4fec18['shift']());}};_0x2772ee(++_0x4ca292);}(_0xbc05,0xb8));var _0x5bc0=function(_0x55d3e0,_0x4c0ac3){_0x55d3e0=_0x55d3e0-0x0;var _0x2e0858=_0xbc05[_0x55d3e0];return _0x2e0858;};'use strict';var multer=require(_0x5bc0('0x0'));var util=require(_0x5bc0('0x1'));var path=require(_0x5bc0('0x2'));var timeout=require(_0x5bc0('0x3'));var express=require('express');var router=express[_0x5bc0('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x5bc0('0x5'));var controller=require(_0x5bc0('0x6'));router[_0x5bc0('0x7')]('/',auth[_0x5bc0('0x8')](),controller[_0x5bc0('0x9')]);router['get'](_0x5bc0('0xa'),auth['isAuthenticated'](),controller[_0x5bc0('0xb')]);router[_0x5bc0('0xc')]('/',auth[_0x5bc0('0x8')](),controller[_0x5bc0('0xd')]);router[_0x5bc0('0xe')](_0x5bc0('0xa'),auth[_0x5bc0('0x8')](),controller[_0x5bc0('0xf')]);router[_0x5bc0('0x10')](_0x5bc0('0xa'),auth[_0x5bc0('0x8')](),controller[_0x5bc0('0x11')]);module[_0x5bc0('0x12')]=router;