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 _0xad86=['exports','multer','util','connect-timeout','fs-extra','../../components/auth/service','../../config/environment','./chatApplication.controller','get','/:id','show','put','update','delete','isAuthenticated'];(function(_0x1ae139,_0x529c60){var _0x5e0de7=function(_0x2b8273){while(--_0x2b8273){_0x1ae139['push'](_0x1ae139['shift']());}};_0x5e0de7(++_0x529c60);}(_0xad86,0x15a));var _0x6ad8=function(_0x2b3c84,_0x44221c){_0x2b3c84=_0x2b3c84-0x0;var _0x18b3d3=_0xad86[_0x2b3c84];return _0x18b3d3;};'use strict';var multer=require(_0x6ad8('0x0'));var util=require(_0x6ad8('0x1'));var path=require('path');var timeout=require(_0x6ad8('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x6ad8('0x3'));var auth=require(_0x6ad8('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x6ad8('0x5'));var controller=require(_0x6ad8('0x6'));router[_0x6ad8('0x7')](_0x6ad8('0x8'),auth['isAuthenticated'](),controller[_0x6ad8('0x9')]);router[_0x6ad8('0xa')](_0x6ad8('0x8'),auth['isAuthenticated'](),controller[_0x6ad8('0xb')]);router[_0x6ad8('0xc')](_0x6ad8('0x8'),auth[_0x6ad8('0xd')](),controller['destroy']);module[_0x6ad8('0xe')]=router;