Built motion from commit (unavailable).|2.3.10
[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 _0xa769=['delete','/:id','destroy','exports','multer','path','connect-timeout','express','../../components/auth/service','./action.controller','put','isAuthenticated','update'];(function(_0x162bc9,_0x5c117e){var _0x475e2d=function(_0x18c0e7){while(--_0x18c0e7){_0x162bc9['push'](_0x162bc9['shift']());}};_0x475e2d(++_0x5c117e);}(_0xa769,0xfb));var _0x9a76=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0xa769[_0xa464c9];return _0x3d73c4;};'use strict';var multer=require(_0x9a76('0x0'));var util=require('util');var path=require(_0x9a76('0x1'));var timeout=require(_0x9a76('0x2'));var express=require(_0x9a76('0x3'));var router=express['Router']();var auth=require(_0x9a76('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x9a76('0x5'));router[_0x9a76('0x6')]('/:id',auth[_0x9a76('0x7')](),controller[_0x9a76('0x8')]);router[_0x9a76('0x9')](_0x9a76('0xa'),auth[_0x9a76('0x7')](),controller[_0x9a76('0xb')]);module[_0x9a76('0xc')]=router;