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 _0x66cf=['connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intVtigerAccount.controller','get','/:id','isAuthenticated','/:id/configurations','/:id/fields','create','addConfiguration','put','update','delete','destroy','multer','path'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x66cf,0x1a2));var _0xf66c=function(_0x49a2f2,_0x7f76e7){_0x49a2f2=_0x49a2f2-0x0;var _0x50e182=_0x66cf[_0x49a2f2];return _0x50e182;};'use strict';var multer=require(_0xf66c('0x0'));var util=require('util');var path=require(_0xf66c('0x1'));var timeout=require(_0xf66c('0x2'));var express=require('express');var router=express[_0xf66c('0x3')]();var fs_extra=require(_0xf66c('0x4'));var auth=require(_0xf66c('0x5'));var interaction=require(_0xf66c('0x6'));var config=require(_0xf66c('0x7'));var controller=require(_0xf66c('0x8'));router[_0xf66c('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0xf66c('0x9')](_0xf66c('0xa'),auth[_0xf66c('0xb')](),controller['show']);router['get'](_0xf66c('0xc'),auth[_0xf66c('0xb')](),controller['getConfigurations']);router[_0xf66c('0x9')](_0xf66c('0xd'),auth[_0xf66c('0xb')](),controller['getFields']);router['post']('/',auth[_0xf66c('0xb')](),controller[_0xf66c('0xe')]);router['post'](_0xf66c('0xc'),auth[_0xf66c('0xb')](),controller[_0xf66c('0xf')]);router[_0xf66c('0x10')](_0xf66c('0xa'),auth[_0xf66c('0xb')](),controller[_0xf66c('0x11')]);router[_0xf66c('0x12')](_0xf66c('0xa'),auth[_0xf66c('0xb')](),controller[_0xf66c('0x13')]);module['exports']=router;