Built motion from commit (unavailable).|2.4.17
[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 _0x955e=['./action.controller','put','/:id','isAuthenticated','update','delete','destroy','multer','util','express','../../components/auth/service','../../components/interaction/service'];(function(_0x4bf508,_0x2a18a3){var _0x4ffd0a=function(_0x36b8c5){while(--_0x36b8c5){_0x4bf508['push'](_0x4bf508['shift']());}};_0x4ffd0a(++_0x2a18a3);}(_0x955e,0x11b));var _0xe955=function(_0x121886,_0x8cd8e5){_0x121886=_0x121886-0x0;var _0x20ca01=_0x955e[_0x121886];return _0x20ca01;};'use strict';var multer=require(_0xe955('0x0'));var util=require(_0xe955('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xe955('0x2'));var router=express['Router']();var auth=require(_0xe955('0x3'));var interaction=require(_0xe955('0x4'));var config=require('../../config/environment');var controller=require(_0xe955('0x5'));router[_0xe955('0x6')](_0xe955('0x7'),auth[_0xe955('0x8')](),controller[_0xe955('0x9')]);router[_0xe955('0xa')](_0xe955('0x7'),auth[_0xe955('0x8')](),controller[_0xe955('0xb')]);module['exports']=router;