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 _0x881a=['getConfigurations','/:id/fields','getFields','create','addConfiguration','put','delete','destroy','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','/:id/configurations'];(function(_0x4a3898,_0x4c9853){var _0x25ceb0=function(_0x528b6d){while(--_0x528b6d){_0x4a3898['push'](_0x4a3898['shift']());}};_0x25ceb0(++_0x4c9853);}(_0x881a,0x1c1));var _0xa881=function(_0x2425ed,_0x3a6637){_0x2425ed=_0x2425ed-0x0;var _0x8ce321=_0x881a[_0x2425ed];return _0x8ce321;};'use strict';var multer=require(_0xa881('0x0'));var util=require(_0xa881('0x1'));var path=require('path');var timeout=require(_0xa881('0x2'));var express=require(_0xa881('0x3'));var router=express[_0xa881('0x4')]();var auth=require(_0xa881('0x5'));var interaction=require(_0xa881('0x6'));var config=require(_0xa881('0x7'));var controller=require('./intVtigerAccount.controller');router[_0xa881('0x8')]('/',auth[_0xa881('0x9')](),controller[_0xa881('0xa')]);router[_0xa881('0x8')](_0xa881('0xb'),auth[_0xa881('0x9')](),controller['show']);router[_0xa881('0x8')](_0xa881('0xc'),auth[_0xa881('0x9')](),controller[_0xa881('0xd')]);router[_0xa881('0x8')](_0xa881('0xe'),auth[_0xa881('0x9')](),controller[_0xa881('0xf')]);router['post']('/',auth[_0xa881('0x9')](),controller[_0xa881('0x10')]);router['post'](_0xa881('0xc'),auth[_0xa881('0x9')](),controller[_0xa881('0x11')]);router[_0xa881('0x12')](_0xa881('0xb'),auth[_0xa881('0x9')](),controller['update']);router[_0xa881('0x13')](_0xa881('0xb'),auth['isAuthenticated'](),controller[_0xa881('0x14')]);module['exports']=router;