7b39b369fbf81e3e5eba6abcf06d62f9923bf9b0
[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 _0xc450=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./action.controller','/:id','update','delete','isAuthenticated','exports','util','path','connect-timeout','express'];(function(_0x5272e0,_0x169ce5){var _0xa4fc96=function(_0x4f359a){while(--_0x4f359a){_0x5272e0['push'](_0x5272e0['shift']());}};_0xa4fc96(++_0x169ce5);}(_0xc450,0x137));var _0x0c45=function(_0xf64967,_0x1583ac){_0xf64967=_0xf64967-0x0;var _0x34813b=_0xc450[_0xf64967];return _0x34813b;};'use strict';var multer=require('multer');var util=require(_0x0c45('0x0'));var path=require(_0x0c45('0x1'));var timeout=require(_0x0c45('0x2'));var express=require(_0x0c45('0x3'));var router=express[_0x0c45('0x4')]();var fs_extra=require(_0x0c45('0x5'));var auth=require(_0x0c45('0x6'));var interaction=require(_0x0c45('0x7'));var config=require(_0x0c45('0x8'));var controller=require(_0x0c45('0x9'));router['put'](_0x0c45('0xa'),auth['isAuthenticated'](),controller[_0x0c45('0xb')]);router[_0x0c45('0xc')](_0x0c45('0xa'),auth[_0x0c45('0xd')](),controller['destroy']);module[_0x0c45('0xe')]=router;