d2e54dc4ff1c60180c280b3ee262e7264201ef97
[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 _0x80aa=['../../components/auth/service','../../config/environment','./chatProactiveAction.controller','get','show','post','create','put','/:id','update','delete','exports','util','path','connect-timeout','express'];(function(_0x130ed8,_0x46fbf1){var _0x53e6c4=function(_0x47dbe1){while(--_0x47dbe1){_0x130ed8['push'](_0x130ed8['shift']());}};_0x53e6c4(++_0x46fbf1);}(_0x80aa,0x1ec));var _0xa80a=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x80aa[_0x14add3];return _0x4a174f;};'use strict';var multer=require('multer');var util=require(_0xa80a('0x0'));var path=require(_0xa80a('0x1'));var timeout=require(_0xa80a('0x2'));var express=require(_0xa80a('0x3'));var router=express['Router']();var auth=require(_0xa80a('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xa80a('0x5'));var controller=require(_0xa80a('0x6'));router[_0xa80a('0x7')]('/:id',auth['isAuthenticated'](),controller[_0xa80a('0x8')]);router[_0xa80a('0x9')]('/',auth['isAuthenticated'](),controller[_0xa80a('0xa')]);router[_0xa80a('0xb')](_0xa80a('0xc'),auth['isAuthenticated'](),controller[_0xa80a('0xd')]);router[_0xa80a('0xe')]('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0xa80a('0xf')]=router;