Built motion from commit (unavailable).|2.5.11
[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 _0x782e=['../../config/environment','./intServicenowAccount.controller','get','isAuthenticated','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','/:id','update','delete','destroy','exports','path','connect-timeout','Router','../../components/auth/service'];(function(_0x6f56b8,_0x27e6af){var _0x2c7c48=function(_0x418cd5){while(--_0x418cd5){_0x6f56b8['push'](_0x6f56b8['shift']());}};_0x2c7c48(++_0x27e6af);}(_0x782e,0xb9));var _0xe782=function(_0x2e31c9,_0x4a28e3){_0x2e31c9=_0x2e31c9-0x0;var _0x219e6f=_0x782e[_0x2e31c9];return _0x219e6f;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xe782('0x0'));var timeout=require(_0xe782('0x1'));var express=require('express');var router=express[_0xe782('0x2')]();var auth=require(_0xe782('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0xe782('0x4'));var controller=require(_0xe782('0x5'));router[_0xe782('0x6')]('/',auth[_0xe782('0x7')](),controller['index']);router[_0xe782('0x6')]('/:id',auth['isAuthenticated'](),controller[_0xe782('0x8')]);router['get'](_0xe782('0x9'),auth[_0xe782('0x7')](),controller[_0xe782('0xa')]);router[_0xe782('0x6')](_0xe782('0xb'),auth[_0xe782('0x7')](),controller[_0xe782('0xc')]);router[_0xe782('0xd')]('/',auth[_0xe782('0x7')](),controller[_0xe782('0xe')]);router[_0xe782('0xd')](_0xe782('0x9'),auth[_0xe782('0x7')](),controller[_0xe782('0xf')]);router['put'](_0xe782('0x10'),auth['isAuthenticated'](),controller[_0xe782('0x11')]);router[_0xe782('0x12')](_0xe782('0x10'),auth[_0xe782('0x7')](),controller[_0xe782('0x13')]);module[_0xe782('0x14')]=router;