Built motion from commit d9028345.|2.5.43
[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 _0xa107=['../../components/auth/service','../../components/interaction/service','../../config/environment','put','/:id','isAuthenticated','delete','multer','path','connect-timeout','express','Router'];(function(_0x2a04,_0x434f07){var _0x2c7007=function(_0x24fd20){while(--_0x24fd20){_0x2a04['push'](_0x2a04['shift']());}};_0x2c7007(++_0x434f07);}(_0xa107,0x1b7));var _0x7a10=function(_0x309757,_0x13f1b7){_0x309757=_0x309757-0x0;var _0x27d7c9=_0xa107[_0x309757];return _0x27d7c9;};'use strict';var multer=require(_0x7a10('0x0'));var util=require('util');var path=require(_0x7a10('0x1'));var timeout=require(_0x7a10('0x2'));var express=require(_0x7a10('0x3'));var router=express[_0x7a10('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x7a10('0x5'));var interaction=require(_0x7a10('0x6'));var config=require(_0x7a10('0x7'));var controller=require('./action.controller');router[_0x7a10('0x8')](_0x7a10('0x9'),auth[_0x7a10('0xa')](),controller['update']);router[_0x7a10('0xb')](_0x7a10('0x9'),auth[_0x7a10('0xa')](),controller['destroy']);module['exports']=router;