Built motion from commit 3c2ce842.|2.6.31
[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 _0x4e30=['isAuthenticated','show','post','create','put','/:id','update','delete','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intServicenowField.controller','get','index'];(function(_0x2388ef,_0x440144){var _0x2fc04b=function(_0x34568b){while(--_0x34568b){_0x2388ef['push'](_0x2388ef['shift']());}};_0x2fc04b(++_0x440144);}(_0x4e30,0x112));var _0x04e3=function(_0x33ae5b,_0x308271){_0x33ae5b=_0x33ae5b-0x0;var _0x3de84f=_0x4e30[_0x33ae5b];return _0x3de84f;};'use strict';var multer=require('multer');var util=require(_0x04e3('0x0'));var path=require(_0x04e3('0x1'));var timeout=require(_0x04e3('0x2'));var express=require(_0x04e3('0x3'));var router=express[_0x04e3('0x4')]();var fs_extra=require(_0x04e3('0x5'));var auth=require(_0x04e3('0x6'));var interaction=require(_0x04e3('0x7'));var config=require(_0x04e3('0x8'));var controller=require(_0x04e3('0x9'));router[_0x04e3('0xa')]('/',auth['isAuthenticated'](),controller[_0x04e3('0xb')]);router['get']('/:id',auth[_0x04e3('0xc')](),controller[_0x04e3('0xd')]);router[_0x04e3('0xe')]('/',auth[_0x04e3('0xc')](),controller[_0x04e3('0xf')]);router[_0x04e3('0x10')](_0x04e3('0x11'),auth[_0x04e3('0xc')](),controller[_0x04e3('0x12')]);router[_0x04e3('0x13')](_0x04e3('0x11'),auth[_0x04e3('0xc')](),controller[_0x04e3('0x14')]);module[_0x04e3('0x15')]=router;