Built motion from commit fa4c4286.|2.6.29
[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 _0xd4d0=['fs-extra','../../components/auth/service','../../config/environment','./action.controller','put','/:id','update','delete','destroy','multer','util','connect-timeout','express','Router'];(function(_0x27a1a0,_0x410857){var _0x1321a0=function(_0x4d0991){while(--_0x4d0991){_0x27a1a0['push'](_0x27a1a0['shift']());}};_0x1321a0(++_0x410857);}(_0xd4d0,0xe9));var _0x0d4d=function(_0x4c8454,_0x3407ea){_0x4c8454=_0x4c8454-0x0;var _0x218424=_0xd4d0[_0x4c8454];return _0x218424;};'use strict';var multer=require(_0x0d4d('0x0'));var util=require(_0x0d4d('0x1'));var path=require('path');var timeout=require(_0x0d4d('0x2'));var express=require(_0x0d4d('0x3'));var router=express[_0x0d4d('0x4')]();var fs_extra=require(_0x0d4d('0x5'));var auth=require(_0x0d4d('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x0d4d('0x7'));var controller=require(_0x0d4d('0x8'));router[_0x0d4d('0x9')](_0x0d4d('0xa'),auth['isAuthenticated'](),controller[_0x0d4d('0xb')]);router[_0x0d4d('0xc')](_0x0d4d('0xa'),auth['isAuthenticated'](),controller[_0x0d4d('0xd')]);module['exports']=router;