1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x5e76=['isAuthenticated','create','update','delete','destroy','exports','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','get','/:id','show'];(function(_0x167cc1,_0x56ef5a){var _0x10bc4b=function(_0xd6a255){while(--_0xd6a255){_0x167cc1['push'](_0x167cc1['shift']());}};_0x10bc4b(++_0x56ef5a);}(_0x5e76,0x16e));var _0x65e7=function(_0x5d1162,_0x2468a5){_0x5d1162=_0x5d1162-0x0;var _0x10480d=_0x5e76[_0x5d1162];return _0x10480d;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x65e7('0x0'));var timeout=require(_0x65e7('0x1'));var express=require(_0x65e7('0x2'));var router=express[_0x65e7('0x3')]();var auth=require(_0x65e7('0x4'));var interaction=require(_0x65e7('0x5'));var config=require('../../config/environment');var controller=require('./chatProactiveAction.controller');router[_0x65e7('0x6')](_0x65e7('0x7'),auth['isAuthenticated'](),controller[_0x65e7('0x8')]);router['post']('/',auth[_0x65e7('0x9')](),controller[_0x65e7('0xa')]);router['put'](_0x65e7('0x7'),auth[_0x65e7('0x9')](),controller[_0x65e7('0xb')]);router[_0x65e7('0xc')](_0x65e7('0x7'),auth['isAuthenticated'](),controller[_0x65e7('0xd')]);module[_0x65e7('0xe')]=router;