b3f349349348ffc4351e8f9f96de0830e8b9e2c6
[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 _0xf7e1=['create','addConfiguration','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','../../components/auth/service','../../config/environment','./intServicenowAccount.controller','get','index','isAuthenticated','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post'];(function(_0x40d339,_0xb726c3){var _0x5cbd0b=function(_0xf239d3){while(--_0xf239d3){_0x40d339['push'](_0x40d339['shift']());}};_0x5cbd0b(++_0xb726c3);}(_0xf7e1,0x170));var _0x1f7e=function(_0x1928c9,_0x13a6d1){_0x1928c9=_0x1928c9-0x0;var _0x51b5fb=_0xf7e1[_0x1928c9];return _0x51b5fb;};'use strict';var multer=require(_0x1f7e('0x0'));var util=require(_0x1f7e('0x1'));var path=require(_0x1f7e('0x2'));var timeout=require(_0x1f7e('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0x1f7e('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x1f7e('0x5'));var controller=require(_0x1f7e('0x6'));router[_0x1f7e('0x7')]('/',auth['isAuthenticated'](),controller[_0x1f7e('0x8')]);router['get']('/:id',auth[_0x1f7e('0x9')](),controller[_0x1f7e('0xa')]);router[_0x1f7e('0x7')](_0x1f7e('0xb'),auth[_0x1f7e('0x9')](),controller[_0x1f7e('0xc')]);router['get'](_0x1f7e('0xd'),auth[_0x1f7e('0x9')](),controller[_0x1f7e('0xe')]);router[_0x1f7e('0xf')]('/',auth[_0x1f7e('0x9')](),controller[_0x1f7e('0x10')]);router[_0x1f7e('0xf')](_0x1f7e('0xb'),auth['isAuthenticated'](),controller[_0x1f7e('0x11')]);router[_0x1f7e('0x12')](_0x1f7e('0x13'),auth[_0x1f7e('0x9')](),controller[_0x1f7e('0x14')]);router[_0x1f7e('0x15')](_0x1f7e('0x13'),auth[_0x1f7e('0x9')](),controller[_0x1f7e('0x16')]);module[_0x1f7e('0x17')]=router;