f26a2708bd9dc60cc7cb36f486a91a6ae739225b
[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 _0x826a=['post','create','put','update','destroy','exports','path','express','../../components/auth/service','./chatProactiveAction.controller','get','/:id','isAuthenticated','show'];(function(_0x3c5cc8,_0x336027){var _0x44675c=function(_0xf9543e){while(--_0xf9543e){_0x3c5cc8['push'](_0x3c5cc8['shift']());}};_0x44675c(++_0x336027);}(_0x826a,0xae));var _0xa826=function(_0x2afd31,_0x592c38){_0x2afd31=_0x2afd31-0x0;var _0x326e01=_0x826a[_0x2afd31];return _0x326e01;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xa826('0x0'));var timeout=require('connect-timeout');var express=require(_0xa826('0x1'));var router=express['Router']();var auth=require(_0xa826('0x2'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xa826('0x3'));router[_0xa826('0x4')](_0xa826('0x5'),auth[_0xa826('0x6')](),controller[_0xa826('0x7')]);router[_0xa826('0x8')]('/',auth[_0xa826('0x6')](),controller[_0xa826('0x9')]);router[_0xa826('0xa')](_0xa826('0x5'),auth[_0xa826('0x6')](),controller[_0xa826('0xb')]);router['delete'](_0xa826('0x5'),auth[_0xa826('0x6')](),controller[_0xa826('0xc')]);module[_0xa826('0xd')]=router;