Built motion from commit (unavailable).|2.5.31
[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 _0x8dc1=['../../components/interaction/service','../../config/environment','put','/:id','delete','isAuthenticated','destroy','exports','multer','util','path','express','Router','fs-extra'];(function(_0x1bf6ef,_0x243a24){var _0x1ad96e=function(_0x284482){while(--_0x284482){_0x1bf6ef['push'](_0x1bf6ef['shift']());}};_0x1ad96e(++_0x243a24);}(_0x8dc1,0x12e));var _0x18dc=function(_0x2c341e,_0x414d11){_0x2c341e=_0x2c341e-0x0;var _0x43c1e8=_0x8dc1[_0x2c341e];return _0x43c1e8;};'use strict';var multer=require(_0x18dc('0x0'));var util=require(_0x18dc('0x1'));var path=require(_0x18dc('0x2'));var timeout=require('connect-timeout');var express=require(_0x18dc('0x3'));var router=express[_0x18dc('0x4')]();var fs_extra=require(_0x18dc('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x18dc('0x6'));var config=require(_0x18dc('0x7'));var controller=require('./action.controller');router[_0x18dc('0x8')](_0x18dc('0x9'),auth['isAuthenticated'](),controller['update']);router[_0x18dc('0xa')]('/:id',auth[_0x18dc('0xb')](),controller[_0x18dc('0xc')]);module[_0x18dc('0xd')]=router;