8d063d001568cd758759d040c406aee57044f1bf
[motion2.git] / server / api / action / 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 _0xbca7=['Router','../../components/auth/service','../../config/environment','./action.controller','put','isAuthenticated','update','delete','exports','multer','util','express'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0xbca7,0x165));var _0x7bca=function(_0x8de54f,_0x271987){_0x8de54f=_0x8de54f-0x0;var _0x14cba4=_0xbca7[_0x8de54f];return _0x14cba4;};'use strict';var multer=require(_0x7bca('0x0'));var util=require(_0x7bca('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x7bca('0x2'));var router=express[_0x7bca('0x3')]();var auth=require(_0x7bca('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x7bca('0x5'));var controller=require(_0x7bca('0x6'));router[_0x7bca('0x7')]('/:id',auth[_0x7bca('0x8')](),controller[_0x7bca('0x9')]);router[_0x7bca('0xa')]('/:id',auth[_0x7bca('0x8')](),controller['destroy']);module[_0x7bca('0xb')]=router;