cbe1a03729564cbf7417340220e57c658f30f707
[motion2.git] / server / api / intDeskAccount / 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 _0xf15b=['index','/:id','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./intDeskAccount.controller','get','isAuthenticated'];(function(_0x35fe51,_0x11de53){var _0x4aaec1=function(_0x678bfd){while(--_0x678bfd){_0x35fe51['push'](_0x35fe51['shift']());}};_0x4aaec1(++_0x11de53);}(_0xf15b,0x1e9));var _0xbf15=function(_0x28a8c2,_0x494d5){_0x28a8c2=_0x28a8c2-0x0;var _0x37ac3c=_0xf15b[_0x28a8c2];return _0x37ac3c;};'use strict';var multer=require(_0xbf15('0x0'));var util=require(_0xbf15('0x1'));var path=require(_0xbf15('0x2'));var timeout=require(_0xbf15('0x3'));var express=require(_0xbf15('0x4'));var router=express[_0xbf15('0x5')]();var auth=require(_0xbf15('0x6'));var interaction=require(_0xbf15('0x7'));var config=require('../../config/environment');var controller=require(_0xbf15('0x8'));router[_0xbf15('0x9')]('/',auth[_0xbf15('0xa')](),controller[_0xbf15('0xb')]);router[_0xbf15('0x9')](_0xbf15('0xc'),auth[_0xbf15('0xa')](),controller[_0xbf15('0xd')]);router['get'](_0xbf15('0xe'),auth['isAuthenticated'](),controller[_0xbf15('0xf')]);router[_0xbf15('0x9')](_0xbf15('0x10'),auth['isAuthenticated'](),controller[_0xbf15('0x11')]);router[_0xbf15('0x12')]('/',auth[_0xbf15('0xa')](),controller[_0xbf15('0x13')]);router[_0xbf15('0x12')](_0xbf15('0xe'),auth['isAuthenticated'](),controller[_0xbf15('0x14')]);router['put'](_0xbf15('0xc'),auth['isAuthenticated'](),controller[_0xbf15('0x15')]);router[_0xbf15('0x16')](_0xbf15('0xc'),auth[_0xbf15('0xa')](),controller[_0xbf15('0x17')]);module[_0xbf15('0x18')]=router;