Built motion from commit (unavailable).|2.4.17
[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 _0x82b1=['put','update','delete','destroy','exports','util','express','../../components/interaction/service','./intServicenowField.controller','index','get','/:id','isAuthenticated','post','create'];(function(_0x481bf7,_0x437f69){var _0x461787=function(_0xb3bc9d){while(--_0xb3bc9d){_0x481bf7['push'](_0x481bf7['shift']());}};_0x461787(++_0x437f69);}(_0x82b1,0x14f));var _0x182b=function(_0x270bbd,_0x2e4be6){_0x270bbd=_0x270bbd-0x0;var _0xa0a532=_0x82b1[_0x270bbd];return _0xa0a532;};'use strict';var multer=require('multer');var util=require(_0x182b('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x182b('0x1'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x182b('0x2'));var config=require('../../config/environment');var controller=require(_0x182b('0x3'));router['get']('/',auth['isAuthenticated'](),controller[_0x182b('0x4')]);router[_0x182b('0x5')](_0x182b('0x6'),auth[_0x182b('0x7')](),controller['show']);router[_0x182b('0x8')]('/',auth[_0x182b('0x7')](),controller[_0x182b('0x9')]);router[_0x182b('0xa')](_0x182b('0x6'),auth[_0x182b('0x7')](),controller[_0x182b('0xb')]);router[_0x182b('0xc')](_0x182b('0x6'),auth[_0x182b('0x7')](),controller[_0x182b('0xd')]);module[_0x182b('0xe')]=router;