Built motion from commit (unavailable).|2.5.3
[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 _0x2f05=['exports','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./action.controller','put','/:id','delete'];(function(_0x1faf50,_0x3dcee7){var _0x21b758=function(_0x187b02){while(--_0x187b02){_0x1faf50['push'](_0x1faf50['shift']());}};_0x21b758(++_0x3dcee7);}(_0x2f05,0x151));var _0x52f0=function(_0x3b62ed,_0xcaedaf){_0x3b62ed=_0x3b62ed-0x0;var _0x5d9396=_0x2f05[_0x3b62ed];return _0x5d9396;};'use strict';var multer=require('multer');var util=require(_0x52f0('0x0'));var path=require(_0x52f0('0x1'));var timeout=require(_0x52f0('0x2'));var express=require(_0x52f0('0x3'));var router=express[_0x52f0('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x52f0('0x5'));var config=require(_0x52f0('0x6'));var controller=require(_0x52f0('0x7'));router[_0x52f0('0x8')](_0x52f0('0x9'),auth['isAuthenticated'](),controller['update']);router[_0x52f0('0xa')]('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0x52f0('0xb')]=router;