Built motion from commit 3770a7bd.|2.6.29
[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 _0x661f=['show','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/:id','isAuthenticated'];(function(_0x56482c,_0x16118d){var _0x5aae7a=function(_0x52512f){while(--_0x52512f){_0x56482c['push'](_0x56482c['shift']());}};_0x5aae7a(++_0x16118d);}(_0x661f,0x85));var _0xf661=function(_0x8c43de,_0x90ff31){_0x8c43de=_0x8c43de-0x0;var _0xa6591b=_0x661f[_0x8c43de];return _0xa6591b;};'use strict';var multer=require(_0xf661('0x0'));var util=require(_0xf661('0x1'));var path=require(_0xf661('0x2'));var timeout=require(_0xf661('0x3'));var express=require(_0xf661('0x4'));var router=express[_0xf661('0x5')]();var fs_extra=require(_0xf661('0x6'));var auth=require(_0xf661('0x7'));var interaction=require(_0xf661('0x8'));var config=require(_0xf661('0x9'));var controller=require('./intServicenowField.controller');router[_0xf661('0xa')]('/',auth['isAuthenticated'](),controller[_0xf661('0xb')]);router[_0xf661('0xa')](_0xf661('0xc'),auth[_0xf661('0xd')](),controller[_0xf661('0xe')]);router['post']('/',auth[_0xf661('0xd')](),controller[_0xf661('0xf')]);router[_0xf661('0x10')]('/:id',auth[_0xf661('0xd')](),controller[_0xf661('0x11')]);router[_0xf661('0x12')](_0xf661('0xc'),auth[_0xf661('0xd')](),controller[_0xf661('0x13')]);module[_0xf661('0x14')]=router;