Built motion from commit (unavailable).|2.5.13
[motion2.git] / server / api / intServicenowAccount / 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 _0x18df=['get','isAuthenticated','index','/:id','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','put','update','delete','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./intServicenowAccount.controller'];(function(_0x3ce7f7,_0x3e0d5a){var _0x293680=function(_0x38cffd){while(--_0x38cffd){_0x3ce7f7['push'](_0x3ce7f7['shift']());}};_0x293680(++_0x3e0d5a);}(_0x18df,0x1b2));var _0xf18d=function(_0x36b81b,_0x2c9ba8){_0x36b81b=_0x36b81b-0x0;var _0x24b624=_0x18df[_0x36b81b];return _0x24b624;};'use strict';var multer=require(_0xf18d('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xf18d('0x1'));var express=require(_0xf18d('0x2'));var router=express[_0xf18d('0x3')]();var auth=require(_0xf18d('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xf18d('0x5'));var controller=require(_0xf18d('0x6'));router[_0xf18d('0x7')]('/',auth[_0xf18d('0x8')](),controller[_0xf18d('0x9')]);router[_0xf18d('0x7')](_0xf18d('0xa'),auth[_0xf18d('0x8')](),controller[_0xf18d('0xb')]);router[_0xf18d('0x7')](_0xf18d('0xc'),auth[_0xf18d('0x8')](),controller[_0xf18d('0xd')]);router[_0xf18d('0x7')](_0xf18d('0xe'),auth[_0xf18d('0x8')](),controller[_0xf18d('0xf')]);router[_0xf18d('0x10')]('/',auth[_0xf18d('0x8')](),controller['create']);router[_0xf18d('0x10')](_0xf18d('0xc'),auth['isAuthenticated'](),controller['addConfiguration']);router[_0xf18d('0x11')](_0xf18d('0xa'),auth['isAuthenticated'](),controller[_0xf18d('0x12')]);router[_0xf18d('0x13')](_0xf18d('0xa'),auth[_0xf18d('0x8')](),controller['destroy']);module[_0xf18d('0x14')]=router;