Built motion from commit (unavailable).|2.5.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 _0xf621=['update','delete','exports','multer','util','path','express','Router','../../components/interaction/service','../../config/environment','./action.controller','put','/:id','isAuthenticated'];(function(_0x349aec,_0x2c987d){var _0x3d039a=function(_0x2e4ed4){while(--_0x2e4ed4){_0x349aec['push'](_0x349aec['shift']());}};_0x3d039a(++_0x2c987d);}(_0xf621,0x8f));var _0x1f62=function(_0x3f59b1,_0x25cdbe){_0x3f59b1=_0x3f59b1-0x0;var _0x11d2e8=_0xf621[_0x3f59b1];return _0x11d2e8;};'use strict';var multer=require(_0x1f62('0x0'));var util=require(_0x1f62('0x1'));var path=require(_0x1f62('0x2'));var timeout=require('connect-timeout');var express=require(_0x1f62('0x3'));var router=express[_0x1f62('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x1f62('0x5'));var config=require(_0x1f62('0x6'));var controller=require(_0x1f62('0x7'));router[_0x1f62('0x8')](_0x1f62('0x9'),auth[_0x1f62('0xa')](),controller[_0x1f62('0xb')]);router[_0x1f62('0xc')](_0x1f62('0x9'),auth[_0x1f62('0xa')](),controller['destroy']);module[_0x1f62('0xd')]=router;