2f5aae7f054ec280f84ab6c9183b677e13bf0497
[motion2.git] / server / api / intServicenowField / 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 _0x66d8=['index','/:id','show','post','isAuthenticated','put','update','destroy','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowField.controller','get'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x66d8,0xb3));var _0x866d=function(_0x4c4a8b,_0x402020){_0x4c4a8b=_0x4c4a8b-0x0;var _0x20fa14=_0x66d8[_0x4c4a8b];return _0x20fa14;};'use strict';var multer=require(_0x866d('0x0'));var util=require(_0x866d('0x1'));var path=require('path');var timeout=require(_0x866d('0x2'));var express=require(_0x866d('0x3'));var router=express[_0x866d('0x4')]();var fs_extra=require(_0x866d('0x5'));var auth=require(_0x866d('0x6'));var interaction=require(_0x866d('0x7'));var config=require(_0x866d('0x8'));var controller=require(_0x866d('0x9'));router[_0x866d('0xa')]('/',auth['isAuthenticated'](),controller[_0x866d('0xb')]);router[_0x866d('0xa')](_0x866d('0xc'),auth['isAuthenticated'](),controller[_0x866d('0xd')]);router[_0x866d('0xe')]('/',auth[_0x866d('0xf')](),controller['create']);router[_0x866d('0x10')](_0x866d('0xc'),auth[_0x866d('0xf')](),controller[_0x866d('0x11')]);router['delete'](_0x866d('0xc'),auth[_0x866d('0xf')](),controller[_0x866d('0x12')]);module['exports']=router;