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 _0x851c=['./action.controller','isAuthenticated','update','/:id','destroy','exports','multer','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x974998,_0x4221c7){var _0x472884=function(_0x2b345e){while(--_0x2b345e){_0x974998['push'](_0x974998['shift']());}};_0x472884(++_0x4221c7);}(_0x851c,0x88));var _0xc851=function(_0x501510,_0x61caa9){_0x501510=_0x501510-0x0;var _0x1e6ee5=_0x851c[_0x501510];return _0x1e6ee5;};'use strict';var multer=require(_0xc851('0x0'));var util=require(_0xc851('0x1'));var path=require(_0xc851('0x2'));var timeout=require(_0xc851('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0xc851('0x4'));var interaction=require(_0xc851('0x5'));var config=require(_0xc851('0x6'));var controller=require(_0xc851('0x7'));router['put']('/:id',auth[_0xc851('0x8')](),controller[_0xc851('0x9')]);router['delete'](_0xc851('0xa'),auth[_0xc851('0x8')](),controller[_0xc851('0xb')]);module[_0xc851('0xc')]=router;