Built motion from commit (unavailable).|2.5.13
[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 _0x8958=['post','create','/:id','update','delete','destroy','exports','util','../../components/auth/service','../../config/environment','./chatProactiveAction.controller','get','isAuthenticated','show'];(function(_0x25bbda,_0x23fb93){var _0x47ac87=function(_0x450220){while(--_0x450220){_0x25bbda['push'](_0x25bbda['shift']());}};_0x47ac87(++_0x23fb93);}(_0x8958,0x93));var _0x8895=function(_0x4af406,_0x253f07){_0x4af406=_0x4af406-0x0;var _0x9af29c=_0x8958[_0x4af406];return _0x9af29c;};'use strict';var multer=require('multer');var util=require(_0x8895('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0x8895('0x1'));var interaction=require('../../components/interaction/service');var config=require(_0x8895('0x2'));var controller=require(_0x8895('0x3'));router[_0x8895('0x4')]('/:id',auth[_0x8895('0x5')](),controller[_0x8895('0x6')]);router[_0x8895('0x7')]('/',auth[_0x8895('0x5')](),controller[_0x8895('0x8')]);router['put'](_0x8895('0x9'),auth[_0x8895('0x5')](),controller[_0x8895('0xa')]);router[_0x8895('0xb')](_0x8895('0x9'),auth[_0x8895('0x5')](),controller[_0x8895('0xc')]);module[_0x8895('0xd')]=router;