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 _0x565f=['show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put','update','delete','destroy','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','index','/:id','isAuthenticated'];(function(_0x313f9f,_0x31e460){var _0x3ba07a=function(_0x53cf0d){while(--_0x53cf0d){_0x313f9f['push'](_0x313f9f['shift']());}};_0x3ba07a(++_0x31e460);}(_0x565f,0x68));var _0xf565=function(_0x27391d,_0x36fc59){_0x27391d=_0x27391d-0x0;var _0x2d5c2c=_0x565f[_0x27391d];return _0x2d5c2c;};'use strict';var multer=require('multer');var util=require(_0xf565('0x0'));var path=require(_0xf565('0x1'));var timeout=require(_0xf565('0x2'));var express=require('express');var router=express[_0xf565('0x3')]();var fs_extra=require(_0xf565('0x4'));var auth=require(_0xf565('0x5'));var interaction=require(_0xf565('0x6'));var config=require(_0xf565('0x7'));var controller=require('./intVtigerAccount.controller');router['get']('/',auth['isAuthenticated'](),controller[_0xf565('0x8')]);router['get'](_0xf565('0x9'),auth[_0xf565('0xa')](),controller[_0xf565('0xb')]);router['get'](_0xf565('0xc'),auth['isAuthenticated'](),controller[_0xf565('0xd')]);router['get'](_0xf565('0xe'),auth[_0xf565('0xa')](),controller[_0xf565('0xf')]);router[_0xf565('0x10')]('/',auth[_0xf565('0xa')](),controller[_0xf565('0x11')]);router['post']('/:id/configurations',auth[_0xf565('0xa')](),controller[_0xf565('0x12')]);router[_0xf565('0x13')](_0xf565('0x9'),auth[_0xf565('0xa')](),controller[_0xf565('0x14')]);router[_0xf565('0x15')](_0xf565('0x9'),auth[_0xf565('0xa')](),controller[_0xf565('0x16')]);module['exports']=router;