b7e8f2e8aac905790602e077620754a71919af2b
[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 _0x2dc2=['path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./chatProactiveAction.controller','get','/:id','isAuthenticated','show','post','create','put','update','delete','exports','multer'];(function(_0x22b963,_0xddf191){var _0x286654=function(_0x2d26ed){while(--_0x2d26ed){_0x22b963['push'](_0x22b963['shift']());}};_0x286654(++_0xddf191);}(_0x2dc2,0xcb));var _0x22dc=function(_0x4c7fb5,_0x2548ef){_0x4c7fb5=_0x4c7fb5-0x0;var _0x2e10ac=_0x2dc2[_0x4c7fb5];return _0x2e10ac;};'use strict';var multer=require(_0x22dc('0x0'));var util=require('util');var path=require(_0x22dc('0x1'));var timeout=require(_0x22dc('0x2'));var express=require(_0x22dc('0x3'));var router=express['Router']();var auth=require(_0x22dc('0x4'));var interaction=require(_0x22dc('0x5'));var config=require('../../config/environment');var controller=require(_0x22dc('0x6'));router[_0x22dc('0x7')](_0x22dc('0x8'),auth[_0x22dc('0x9')](),controller[_0x22dc('0xa')]);router[_0x22dc('0xb')]('/',auth[_0x22dc('0x9')](),controller[_0x22dc('0xc')]);router[_0x22dc('0xd')](_0x22dc('0x8'),auth['isAuthenticated'](),controller[_0x22dc('0xe')]);router[_0x22dc('0xf')](_0x22dc('0x8'),auth[_0x22dc('0x9')](),controller['destroy']);module[_0x22dc('0x10')]=router;