Built motion from commit (unavailable).|2.5.2
[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 _0xc36e=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./action.controller','put','/:id','update','delete','isAuthenticated','multer','util','connect-timeout','express'];(function(_0x2a3d0a,_0x567cda){var _0x3ca71d=function(_0x539057){while(--_0x539057){_0x2a3d0a['push'](_0x2a3d0a['shift']());}};_0x3ca71d(++_0x567cda);}(_0xc36e,0x184));var _0xec36=function(_0x3da33d,_0x3a1ee9){_0x3da33d=_0x3da33d-0x0;var _0x1460ba=_0xc36e[_0x3da33d];return _0x1460ba;};'use strict';var multer=require(_0xec36('0x0'));var util=require(_0xec36('0x1'));var path=require('path');var timeout=require(_0xec36('0x2'));var express=require(_0xec36('0x3'));var router=express[_0xec36('0x4')]();var auth=require(_0xec36('0x5'));var interaction=require(_0xec36('0x6'));var config=require(_0xec36('0x7'));var controller=require(_0xec36('0x8'));router[_0xec36('0x9')](_0xec36('0xa'),auth['isAuthenticated'](),controller[_0xec36('0xb')]);router[_0xec36('0xc')](_0xec36('0xa'),auth[_0xec36('0xd')](),controller['destroy']);module['exports']=router;