ace4fb3103f574478965c67da31295b2ce6ef7d7
[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 _0xa29e=['../../components/interaction/service','../../config/environment','./intServicenowField.controller','get','isAuthenticated','index','/:id','show','create','put','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x224ded,_0x1b2757){var _0x3f2c61=function(_0xb06dea){while(--_0xb06dea){_0x224ded['push'](_0x224ded['shift']());}};_0x3f2c61(++_0x1b2757);}(_0xa29e,0xd4));var _0xea29=function(_0x5ecbbc,_0x2541f5){_0x5ecbbc=_0x5ecbbc-0x0;var _0x219a19=_0xa29e[_0x5ecbbc];return _0x219a19;};'use strict';var multer=require(_0xea29('0x0'));var util=require(_0xea29('0x1'));var path=require(_0xea29('0x2'));var timeout=require(_0xea29('0x3'));var express=require(_0xea29('0x4'));var router=express[_0xea29('0x5')]();var fs_extra=require(_0xea29('0x6'));var auth=require(_0xea29('0x7'));var interaction=require(_0xea29('0x8'));var config=require(_0xea29('0x9'));var controller=require(_0xea29('0xa'));router[_0xea29('0xb')]('/',auth[_0xea29('0xc')](),controller[_0xea29('0xd')]);router[_0xea29('0xb')](_0xea29('0xe'),auth[_0xea29('0xc')](),controller[_0xea29('0xf')]);router['post']('/',auth[_0xea29('0xc')](),controller[_0xea29('0x10')]);router[_0xea29('0x11')](_0xea29('0xe'),auth[_0xea29('0xc')](),controller['update']);router[_0xea29('0x12')](_0xea29('0xe'),auth[_0xea29('0xc')](),controller[_0xea29('0x13')]);module['exports']=router;