96931579c0093421b64d5460633c7f1f67a3f7a7
[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 _0xb777=['exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./action.controller','put','/:id','isAuthenticated','update','delete'];(function(_0x2b10c6,_0x185590){var _0x3789d2=function(_0x272987){while(--_0x272987){_0x2b10c6['push'](_0x2b10c6['shift']());}};_0x3789d2(++_0x185590);}(_0xb777,0x177));var _0x7b77=function(_0x45977c,_0x7eaed0){_0x45977c=_0x45977c-0x0;var _0x399413=_0xb777[_0x45977c];return _0x399413;};'use strict';var multer=require(_0x7b77('0x0'));var util=require(_0x7b77('0x1'));var path=require(_0x7b77('0x2'));var timeout=require(_0x7b77('0x3'));var express=require(_0x7b77('0x4'));var router=express[_0x7b77('0x5')]();var fs_extra=require(_0x7b77('0x6'));var auth=require(_0x7b77('0x7'));var interaction=require(_0x7b77('0x8'));var config=require(_0x7b77('0x9'));var controller=require(_0x7b77('0xa'));router[_0x7b77('0xb')](_0x7b77('0xc'),auth[_0x7b77('0xd')](),controller[_0x7b77('0xe')]);router[_0x7b77('0xf')](_0x7b77('0xc'),auth['isAuthenticated'](),controller['destroy']);module[_0x7b77('0x10')]=router;