Built motion from commit (unavailable).|2.5.9
[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 _0x734e=['isAuthenticated','destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./action.controller','put','/:id'];(function(_0xae01dd,_0xbd8a3c){var _0x8c26df=function(_0x359827){while(--_0x359827){_0xae01dd['push'](_0xae01dd['shift']());}};_0x8c26df(++_0xbd8a3c);}(_0x734e,0x148));var _0xe734=function(_0x399bfc,_0x36d4b0){_0x399bfc=_0x399bfc-0x0;var _0x36846d=_0x734e[_0x399bfc];return _0x36846d;};'use strict';var multer=require(_0xe734('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xe734('0x1'));var express=require(_0xe734('0x2'));var router=express[_0xe734('0x3')]();var auth=require(_0xe734('0x4'));var interaction=require(_0xe734('0x5'));var config=require(_0xe734('0x6'));var controller=require(_0xe734('0x7'));router[_0xe734('0x8')](_0xe734('0x9'),auth[_0xe734('0xa')](),controller['update']);router['delete'](_0xe734('0x9'),auth[_0xe734('0xa')](),controller[_0xe734('0xb')]);module[_0xe734('0xc')]=router;