0c5fcd4eac18b7e07ca3f528f9aca7947ff700db
[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 _0xefaa=['put','update','destroy','exports','multer','util','path','connect-timeout','express','Router','./intServicenowField.controller','isAuthenticated','index','get','/:id','show','post','create'];(function(_0x21b728,_0x52f702){var _0x1ba0b6=function(_0x3f4b6f){while(--_0x3f4b6f){_0x21b728['push'](_0x21b728['shift']());}};_0x1ba0b6(++_0x52f702);}(_0xefaa,0x16c));var _0xaefa=function(_0xbb091,_0x3fe7ee){_0xbb091=_0xbb091-0x0;var _0x467a04=_0xefaa[_0xbb091];return _0x467a04;};'use strict';var multer=require(_0xaefa('0x0'));var util=require(_0xaefa('0x1'));var path=require(_0xaefa('0x2'));var timeout=require(_0xaefa('0x3'));var express=require(_0xaefa('0x4'));var router=express[_0xaefa('0x5')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xaefa('0x6'));router['get']('/',auth[_0xaefa('0x7')](),controller[_0xaefa('0x8')]);router[_0xaefa('0x9')](_0xaefa('0xa'),auth[_0xaefa('0x7')](),controller[_0xaefa('0xb')]);router[_0xaefa('0xc')]('/',auth[_0xaefa('0x7')](),controller[_0xaefa('0xd')]);router[_0xaefa('0xe')](_0xaefa('0xa'),auth[_0xaefa('0x7')](),controller[_0xaefa('0xf')]);router['delete'](_0xaefa('0xa'),auth[_0xaefa('0x7')](),controller[_0xaefa('0x10')]);module[_0xaefa('0x11')]=router;