Built motion from commit (unavailable).|2.4.18
[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 _0x43e8=['update','delete','destroy','util','path','Router','../../components/auth/service','../../components/interaction/service','./action.controller','put','/:id','isAuthenticated'];(function(_0x44fde7,_0x13bca8){var _0x729ad3=function(_0x57c4dc){while(--_0x57c4dc){_0x44fde7['push'](_0x44fde7['shift']());}};_0x729ad3(++_0x13bca8);}(_0x43e8,0x1bf));var _0x843e=function(_0x1a36a5,_0x746928){_0x1a36a5=_0x1a36a5-0x0;var _0x746243=_0x43e8[_0x1a36a5];return _0x746243;};'use strict';var multer=require('multer');var util=require(_0x843e('0x0'));var path=require(_0x843e('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x843e('0x2')]();var auth=require(_0x843e('0x3'));var interaction=require(_0x843e('0x4'));var config=require('../../config/environment');var controller=require(_0x843e('0x5'));router[_0x843e('0x6')](_0x843e('0x7'),auth[_0x843e('0x8')](),controller[_0x843e('0x9')]);router[_0x843e('0xa')](_0x843e('0x7'),auth[_0x843e('0x8')](),controller[_0x843e('0xb')]);module['exports']=router;