Built motion from commit 21186556.|2.6.19
[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 _0xf3d0=['express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intVtigerAccount.controller','get','isAuthenticated','index','/:id','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put','update','destroy','exports','multer','path','connect-timeout'];(function(_0x20ebb5,_0x237d88){var _0x487182=function(_0xaa5491){while(--_0xaa5491){_0x20ebb5['push'](_0x20ebb5['shift']());}};_0x487182(++_0x237d88);}(_0xf3d0,0x1bf));var _0x0f3d=function(_0x59ce90,_0x5f1c20){_0x59ce90=_0x59ce90-0x0;var _0x1ecfae=_0xf3d0[_0x59ce90];return _0x1ecfae;};'use strict';var multer=require(_0x0f3d('0x0'));var util=require('util');var path=require(_0x0f3d('0x1'));var timeout=require(_0x0f3d('0x2'));var express=require(_0x0f3d('0x3'));var router=express[_0x0f3d('0x4')]();var fs_extra=require(_0x0f3d('0x5'));var auth=require(_0x0f3d('0x6'));var interaction=require(_0x0f3d('0x7'));var config=require(_0x0f3d('0x8'));var controller=require(_0x0f3d('0x9'));router[_0x0f3d('0xa')]('/',auth[_0x0f3d('0xb')](),controller[_0x0f3d('0xc')]);router['get'](_0x0f3d('0xd'),auth['isAuthenticated'](),controller['show']);router[_0x0f3d('0xa')](_0x0f3d('0xe'),auth['isAuthenticated'](),controller[_0x0f3d('0xf')]);router[_0x0f3d('0xa')](_0x0f3d('0x10'),auth[_0x0f3d('0xb')](),controller[_0x0f3d('0x11')]);router[_0x0f3d('0x12')]('/',auth['isAuthenticated'](),controller[_0x0f3d('0x13')]);router[_0x0f3d('0x12')](_0x0f3d('0xe'),auth['isAuthenticated'](),controller[_0x0f3d('0x14')]);router[_0x0f3d('0x15')](_0x0f3d('0xd'),auth[_0x0f3d('0xb')](),controller[_0x0f3d('0x16')]);router['delete'](_0x0f3d('0xd'),auth[_0x0f3d('0xb')](),controller[_0x0f3d('0x17')]);module[_0x0f3d('0x18')]=router;