29a3d0163e11a8bd70cc185c4fe4c23e61a8a655
[motion2.git] / server / api / chatProactiveAction / 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 _0xbe9f=['../../components/interaction/service','../../config/environment','./chatProactiveAction.controller','get','/:id','show','post','isAuthenticated','create','put','update','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service'];(function(_0x12e7d4,_0x44ed1e){var _0xa8f92a=function(_0x5737a4){while(--_0x5737a4){_0x12e7d4['push'](_0x12e7d4['shift']());}};_0xa8f92a(++_0x44ed1e);}(_0xbe9f,0xc2));var _0xfbe9=function(_0x5a776b,_0x46f785){_0x5a776b=_0x5a776b-0x0;var _0xbbef59=_0xbe9f[_0x5a776b];return _0xbbef59;};'use strict';var multer=require('multer');var util=require(_0xfbe9('0x0'));var path=require(_0xfbe9('0x1'));var timeout=require(_0xfbe9('0x2'));var express=require(_0xfbe9('0x3'));var router=express[_0xfbe9('0x4')]();var auth=require(_0xfbe9('0x5'));var interaction=require(_0xfbe9('0x6'));var config=require(_0xfbe9('0x7'));var controller=require(_0xfbe9('0x8'));router[_0xfbe9('0x9')](_0xfbe9('0xa'),auth['isAuthenticated'](),controller[_0xfbe9('0xb')]);router[_0xfbe9('0xc')]('/',auth[_0xfbe9('0xd')](),controller[_0xfbe9('0xe')]);router[_0xfbe9('0xf')](_0xfbe9('0xa'),auth[_0xfbe9('0xd')](),controller[_0xfbe9('0x10')]);router[_0xfbe9('0x11')](_0xfbe9('0xa'),auth[_0xfbe9('0xd')](),controller[_0xfbe9('0x12')]);module[_0xfbe9('0x13')]=router;