ef981f8bce36180f2ac593957133c011ced57caf
[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 _0x087a=['destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./action.controller','put','/:id','isAuthenticated','update','delete'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0x087a,0x1f2));var _0xa087=function(_0x48c3d5,_0x2dcdb4){_0x48c3d5=_0x48c3d5-0x0;var _0x4f79d3=_0x087a[_0x48c3d5];return _0x4f79d3;};'use strict';var multer=require(_0xa087('0x0'));var util=require(_0xa087('0x1'));var path=require(_0xa087('0x2'));var timeout=require(_0xa087('0x3'));var express=require(_0xa087('0x4'));var router=express[_0xa087('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xa087('0x6'));var interaction=require(_0xa087('0x7'));var config=require('../../config/environment');var controller=require(_0xa087('0x8'));router[_0xa087('0x9')](_0xa087('0xa'),auth[_0xa087('0xb')](),controller[_0xa087('0xc')]);router[_0xa087('0xd')](_0xa087('0xa'),auth[_0xa087('0xb')](),controller[_0xa087('0xe')]);module[_0xa087('0xf')]=router;