Built motion from commit 00bf23f6.|2.6.16
[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 _0x10a4=['fs-extra','../../components/auth/service','../../components/interaction/service','./action.controller','put','/:id','isAuthenticated','update','delete','destroy','multer','connect-timeout'];(function(_0x40d731,_0x31a0c2){var _0x4a6b68=function(_0x103c69){while(--_0x103c69){_0x40d731['push'](_0x40d731['shift']());}};_0x4a6b68(++_0x31a0c2);}(_0x10a4,0x12a));var _0x410a=function(_0x5cdf5d,_0x616e66){_0x5cdf5d=_0x5cdf5d-0x0;var _0x2b947a=_0x10a4[_0x5cdf5d];return _0x2b947a;};'use strict';var multer=require(_0x410a('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x410a('0x1'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x410a('0x2'));var auth=require(_0x410a('0x3'));var interaction=require(_0x410a('0x4'));var config=require('../../config/environment');var controller=require(_0x410a('0x5'));router[_0x410a('0x6')](_0x410a('0x7'),auth[_0x410a('0x8')](),controller[_0x410a('0x9')]);router[_0x410a('0xa')](_0x410a('0x7'),auth[_0x410a('0x8')](),controller[_0x410a('0xb')]);module['exports']=router;