Built motion from commit (unavailable).|2.5.21
[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 _0x3e96=['../../config/environment','./action.controller','put','/:id','isAuthenticated','update','delete','destroy','multer','path','Router','../../components/interaction/service'];(function(_0x365d20,_0xf8a7){var _0x1af13b=function(_0x540466){while(--_0x540466){_0x365d20['push'](_0x365d20['shift']());}};_0x1af13b(++_0xf8a7);}(_0x3e96,0x128));var _0x63e9=function(_0x4ac60a,_0x503a99){_0x4ac60a=_0x4ac60a-0x0;var _0x4b22e8=_0x3e96[_0x4ac60a];return _0x4b22e8;};'use strict';var multer=require(_0x63e9('0x0'));var util=require('util');var path=require(_0x63e9('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x63e9('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0x63e9('0x3'));var config=require(_0x63e9('0x4'));var controller=require(_0x63e9('0x5'));router[_0x63e9('0x6')](_0x63e9('0x7'),auth[_0x63e9('0x8')](),controller[_0x63e9('0x9')]);router[_0x63e9('0xa')](_0x63e9('0x7'),auth[_0x63e9('0x8')](),controller[_0x63e9('0xb')]);module['exports']=router;