Built motion from commit (unavailable).|2.4.4
[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 _0x422f=['put','/:id','isAuthenticated','update','delete','destroy','exports','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./action.controller'];(function(_0x255819,_0xd3d203){var _0x4383d6=function(_0x2cec1b){while(--_0x2cec1b){_0x255819['push'](_0x255819['shift']());}};_0x4383d6(++_0xd3d203);}(_0x422f,0x1c7));var _0xf422=function(_0x50a25c,_0x589d2a){_0x50a25c=_0x50a25c-0x0;var _0x4d0fc9=_0x422f[_0x50a25c];return _0x4d0fc9;};'use strict';var multer=require('multer');var util=require(_0xf422('0x0'));var path=require('path');var timeout=require(_0xf422('0x1'));var express=require(_0xf422('0x2'));var router=express['Router']();var auth=require(_0xf422('0x3'));var interaction=require(_0xf422('0x4'));var config=require(_0xf422('0x5'));var controller=require(_0xf422('0x6'));router[_0xf422('0x7')](_0xf422('0x8'),auth[_0xf422('0x9')](),controller[_0xf422('0xa')]);router[_0xf422('0xb')]('/:id',auth[_0xf422('0x9')](),controller[_0xf422('0xc')]);module[_0xf422('0xd')]=router;