846b88bdb082687d7a71480ad1b7c4cb2ce484e0
[motion2.git] / server / api / intVtigerAccount / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xe767=['destroy','multer','path','connect-timeout','express','../../components/auth/service','../../config/environment','./intVtigerAccount.controller','get','isAuthenticated','/:id','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','put','update','delete'];(function(_0x199b3c,_0x51a1a1){var _0x2794c0=function(_0x452a11){while(--_0x452a11){_0x199b3c['push'](_0x199b3c['shift']());}};_0x2794c0(++_0x51a1a1);}(_0xe767,0x1a5));var _0x7e76=function(_0x37cf5b,_0x2793f5){_0x37cf5b=_0x37cf5b-0x0;var _0xbcacb7=_0xe767[_0x37cf5b];return _0xbcacb7;};'use strict';var multer=require(_0x7e76('0x0'));var util=require('util');var path=require(_0x7e76('0x1'));var timeout=require(_0x7e76('0x2'));var express=require(_0x7e76('0x3'));var router=express['Router']();var auth=require(_0x7e76('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x7e76('0x5'));var controller=require(_0x7e76('0x6'));router[_0x7e76('0x7')]('/',auth[_0x7e76('0x8')](),controller['index']);router[_0x7e76('0x7')](_0x7e76('0x9'),auth[_0x7e76('0x8')](),controller[_0x7e76('0xa')]);router[_0x7e76('0x7')](_0x7e76('0xb'),auth[_0x7e76('0x8')](),controller[_0x7e76('0xc')]);router[_0x7e76('0x7')](_0x7e76('0xd'),auth[_0x7e76('0x8')](),controller[_0x7e76('0xe')]);router[_0x7e76('0xf')]('/',auth[_0x7e76('0x8')](),controller['create']);router[_0x7e76('0xf')](_0x7e76('0xb'),auth[_0x7e76('0x8')](),controller['addConfiguration']);router[_0x7e76('0x10')](_0x7e76('0x9'),auth[_0x7e76('0x8')](),controller[_0x7e76('0x11')]);router[_0x7e76('0x12')](_0x7e76('0x9'),auth[_0x7e76('0x8')](),controller[_0x7e76('0x13')]);module['exports']=router;