dc93c2533e0544ddbf648405a8ae4077e1237210
[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 _0xda09=['../../config/environment','./intServicenowField.controller','get','index','/:id','isAuthenticated','show','post','create','put','update','destroy','exports','util','path','connect-timeout','Router','fs-extra'];(function(_0x1f19f,_0xb86953){var _0x5a728e=function(_0x5cb437){while(--_0x5cb437){_0x1f19f['push'](_0x1f19f['shift']());}};_0x5a728e(++_0xb86953);}(_0xda09,0xaf));var _0x9da0=function(_0x3a739e,_0x503035){_0x3a739e=_0x3a739e-0x0;var _0x1e7eb8=_0xda09[_0x3a739e];return _0x1e7eb8;};'use strict';var multer=require('multer');var util=require(_0x9da0('0x0'));var path=require(_0x9da0('0x1'));var timeout=require(_0x9da0('0x2'));var express=require('express');var router=express[_0x9da0('0x3')]();var fs_extra=require(_0x9da0('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x9da0('0x5'));var controller=require(_0x9da0('0x6'));router[_0x9da0('0x7')]('/',auth['isAuthenticated'](),controller[_0x9da0('0x8')]);router[_0x9da0('0x7')](_0x9da0('0x9'),auth[_0x9da0('0xa')](),controller[_0x9da0('0xb')]);router[_0x9da0('0xc')]('/',auth[_0x9da0('0xa')](),controller[_0x9da0('0xd')]);router[_0x9da0('0xe')](_0x9da0('0x9'),auth['isAuthenticated'](),controller[_0x9da0('0xf')]);router['delete'](_0x9da0('0x9'),auth[_0x9da0('0xa')](),controller[_0x9da0('0x10')]);module[_0x9da0('0x11')]=router;