Built motion from commit d5e4af8c.|2.6.23
[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 _0x9bfa=['util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowAccount.controller','get','isAuthenticated','index','show','/:id/configurations','getConfigurations','getFields','create','addConfiguration','put','/:id','update','delete','destroy','exports','multer'];(function(_0x4edfa1,_0x20f7fd){var _0x5eee19=function(_0x1ee7ce){while(--_0x1ee7ce){_0x4edfa1['push'](_0x4edfa1['shift']());}};_0x5eee19(++_0x20f7fd);}(_0x9bfa,0x167));var _0xa9bf=function(_0xe9ec07,_0x2cb0b5){_0xe9ec07=_0xe9ec07-0x0;var _0x39170c=_0x9bfa[_0xe9ec07];return _0x39170c;};'use strict';var multer=require(_0xa9bf('0x0'));var util=require(_0xa9bf('0x1'));var path=require('path');var timeout=require(_0xa9bf('0x2'));var express=require(_0xa9bf('0x3'));var router=express[_0xa9bf('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xa9bf('0x5'));var interaction=require(_0xa9bf('0x6'));var config=require(_0xa9bf('0x7'));var controller=require(_0xa9bf('0x8'));router[_0xa9bf('0x9')]('/',auth[_0xa9bf('0xa')](),controller[_0xa9bf('0xb')]);router[_0xa9bf('0x9')]('/:id',auth[_0xa9bf('0xa')](),controller[_0xa9bf('0xc')]);router[_0xa9bf('0x9')](_0xa9bf('0xd'),auth['isAuthenticated'](),controller[_0xa9bf('0xe')]);router[_0xa9bf('0x9')]('/:id/fields',auth['isAuthenticated'](),controller[_0xa9bf('0xf')]);router['post']('/',auth[_0xa9bf('0xa')](),controller[_0xa9bf('0x10')]);router['post'](_0xa9bf('0xd'),auth[_0xa9bf('0xa')](),controller[_0xa9bf('0x11')]);router[_0xa9bf('0x12')](_0xa9bf('0x13'),auth[_0xa9bf('0xa')](),controller[_0xa9bf('0x14')]);router[_0xa9bf('0x15')](_0xa9bf('0x13'),auth[_0xa9bf('0xa')](),controller[_0xa9bf('0x16')]);module[_0xa9bf('0x17')]=router;