6ff7dd143cea1170e7c40ea9699b2815bd9d8c86
[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 _0xc12d=['exports','multer','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./action.controller','put','/:id','isAuthenticated','update','delete'];(function(_0x2cf8d3,_0x545a19){var _0x17a79d=function(_0x33f9fd){while(--_0x33f9fd){_0x2cf8d3['push'](_0x2cf8d3['shift']());}};_0x17a79d(++_0x545a19);}(_0xc12d,0x1e2));var _0xdc12=function(_0x16d321,_0x1a3de6){_0x16d321=_0x16d321-0x0;var _0x5a1e15=_0xc12d[_0x16d321];return _0x5a1e15;};'use strict';var multer=require(_0xdc12('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xdc12('0x1'));var express=require('express');var router=express[_0xdc12('0x2')]();var fs_extra=require(_0xdc12('0x3'));var auth=require(_0xdc12('0x4'));var interaction=require(_0xdc12('0x5'));var config=require('../../config/environment');var controller=require(_0xdc12('0x6'));router[_0xdc12('0x7')](_0xdc12('0x8'),auth[_0xdc12('0x9')](),controller[_0xdc12('0xa')]);router[_0xdc12('0xb')](_0xdc12('0x8'),auth[_0xdc12('0x9')](),controller['destroy']);module[_0xdc12('0xc')]=router;