Built motion from commit fe909640.|2.6.8
[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 _0xe0a7=['put','/:id','isAuthenticated','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./action.controller'];(function(_0x1f228a,_0x422c06){var _0x439e60=function(_0x25d665){while(--_0x25d665){_0x1f228a['push'](_0x1f228a['shift']());}};_0x439e60(++_0x422c06);}(_0xe0a7,0x1b8));var _0x7e0a=function(_0x4c44f6,_0x28b28a){_0x4c44f6=_0x4c44f6-0x0;var _0x345955=_0xe0a7[_0x4c44f6];return _0x345955;};'use strict';var multer=require(_0x7e0a('0x0'));var util=require(_0x7e0a('0x1'));var path=require(_0x7e0a('0x2'));var timeout=require(_0x7e0a('0x3'));var express=require(_0x7e0a('0x4'));var router=express['Router']();var fs_extra=require(_0x7e0a('0x5'));var auth=require(_0x7e0a('0x6'));var interaction=require(_0x7e0a('0x7'));var config=require(_0x7e0a('0x8'));var controller=require(_0x7e0a('0x9'));router[_0x7e0a('0xa')](_0x7e0a('0xb'),auth[_0x7e0a('0xc')](),controller['update']);router['delete'](_0x7e0a('0xb'),auth[_0x7e0a('0xc')](),controller[_0x7e0a('0xd')]);module[_0x7e0a('0xe')]=router;