Built motion from commit (unavailable).|2.5.21
[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 _0xfc30=['/:id','post','isAuthenticated','create','put','update','delete','destroy','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','./chatProactiveAction.controller','get'];(function(_0x2fb932,_0x2b0044){var _0x438dd4=function(_0x2c7ec2){while(--_0x2c7ec2){_0x2fb932['push'](_0x2fb932['shift']());}};_0x438dd4(++_0x2b0044);}(_0xfc30,0xd8));var _0x0fc3=function(_0x4ce45a,_0x55a777){_0x4ce45a=_0x4ce45a-0x0;var _0x3b65d2=_0xfc30[_0x4ce45a];return _0x3b65d2;};'use strict';var multer=require(_0x0fc3('0x0'));var util=require(_0x0fc3('0x1'));var path=require(_0x0fc3('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0fc3('0x3')]();var auth=require(_0x0fc3('0x4'));var interaction=require(_0x0fc3('0x5'));var config=require('../../config/environment');var controller=require(_0x0fc3('0x6'));router[_0x0fc3('0x7')](_0x0fc3('0x8'),auth['isAuthenticated'](),controller['show']);router[_0x0fc3('0x9')]('/',auth[_0x0fc3('0xa')](),controller[_0x0fc3('0xb')]);router[_0x0fc3('0xc')](_0x0fc3('0x8'),auth[_0x0fc3('0xa')](),controller[_0x0fc3('0xd')]);router[_0x0fc3('0xe')](_0x0fc3('0x8'),auth[_0x0fc3('0xa')](),controller[_0x0fc3('0xf')]);module['exports']=router;