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 _0x54f2=['../../components/auth/service','../../config/environment','./action.controller','put','isAuthenticated','update','delete','destroy','exports','multer','util','path','connect-timeout','Router'];(function(_0xe0a439,_0x29f62a){var _0x262100=function(_0x84a8a8){while(--_0x84a8a8){_0xe0a439['push'](_0xe0a439['shift']());}};_0x262100(++_0x29f62a);}(_0x54f2,0xe9));var _0x254f=function(_0xdea41a,_0x552987){_0xdea41a=_0xdea41a-0x0;var _0x15d0d8=_0x54f2[_0xdea41a];return _0x15d0d8;};'use strict';var multer=require(_0x254f('0x0'));var util=require(_0x254f('0x1'));var path=require(_0x254f('0x2'));var timeout=require(_0x254f('0x3'));var express=require('express');var router=express[_0x254f('0x4')]();var auth=require(_0x254f('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x254f('0x6'));var controller=require(_0x254f('0x7'));router[_0x254f('0x8')]('/:id',auth[_0x254f('0x9')](),controller[_0x254f('0xa')]);router[_0x254f('0xb')]('/:id',auth['isAuthenticated'](),controller[_0x254f('0xc')]);module[_0x254f('0xd')]=router;