Built motion from commit 753c950e.|2.5.42
[motion2.git] / server / api / intServicenowConfiguration / 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 _0xecdf=['getSubjects','/:id/descriptions','getDescriptions','post','put','update','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','/:id/fields','/:id/subjects'];(function(_0x2f9762,_0x1c251e){var _0x17b6ae=function(_0x50de8f){while(--_0x50de8f){_0x2f9762['push'](_0x2f9762['shift']());}};_0x17b6ae(++_0x1c251e);}(_0xecdf,0x198));var _0xfecd=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0xecdf[_0x4565bf];return _0x5610ba;};'use strict';var multer=require(_0xfecd('0x0'));var util=require(_0xfecd('0x1'));var path=require(_0xfecd('0x2'));var timeout=require(_0xfecd('0x3'));var express=require(_0xfecd('0x4'));var router=express[_0xfecd('0x5')]();var fs_extra=require(_0xfecd('0x6'));var auth=require(_0xfecd('0x7'));var interaction=require(_0xfecd('0x8'));var config=require(_0xfecd('0x9'));var controller=require('./intServicenowConfiguration.controller');router[_0xfecd('0xa')]('/',auth[_0xfecd('0xb')](),controller[_0xfecd('0xc')]);router[_0xfecd('0xa')](_0xfecd('0xd'),auth[_0xfecd('0xb')](),controller[_0xfecd('0xe')]);router[_0xfecd('0xa')](_0xfecd('0xf'),auth[_0xfecd('0xb')](),controller['getFields']);router['get'](_0xfecd('0x10'),auth[_0xfecd('0xb')](),controller[_0xfecd('0x11')]);router[_0xfecd('0xa')](_0xfecd('0x12'),auth['isAuthenticated'](),controller[_0xfecd('0x13')]);router[_0xfecd('0x14')]('/',auth['isAuthenticated'](),controller['create']);router[_0xfecd('0x15')](_0xfecd('0xd'),auth[_0xfecd('0xb')](),controller[_0xfecd('0x16')]);router['delete'](_0xfecd('0xd'),auth['isAuthenticated'](),controller[_0xfecd('0x17')]);module[_0xfecd('0x18')]=router;