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 _0xdb74=['util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareRecording.controller','get','/:id','show','isAuthenticated','post','create','put','update','delete','destroy','multer'];(function(_0x449a54,_0x91f579){var _0x206b23=function(_0x12a72d){while(--_0x12a72d){_0x449a54['push'](_0x449a54['shift']());}};_0x206b23(++_0x91f579);}(_0xdb74,0x1af));var _0x4db7=function(_0x5b644e,_0x2e5e07){_0x5b644e=_0x5b644e-0x0;var _0x49c6bf=_0xdb74[_0x5b644e];return _0x49c6bf;};'use strict';var multer=require(_0x4db7('0x0'));var util=require(_0x4db7('0x1'));var path=require('path');var timeout=require(_0x4db7('0x2'));var express=require(_0x4db7('0x3'));var router=express['Router']();var auth=require(_0x4db7('0x4'));var interaction=require(_0x4db7('0x5'));var config=require(_0x4db7('0x6'));var controller=require(_0x4db7('0x7'));router[_0x4db7('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0x4db7('0x8')](_0x4db7('0x9'),auth['isAuthenticated'](),controller[_0x4db7('0xa')]);router[_0x4db7('0x8')]('/:id/download',auth[_0x4db7('0xb')](),controller['download']);router[_0x4db7('0xc')]('/',auth[_0x4db7('0xb')](),controller[_0x4db7('0xd')]);router[_0x4db7('0xe')](_0x4db7('0x9'),auth[_0x4db7('0xb')](),controller[_0x4db7('0xf')]);router[_0x4db7('0x10')]('/:id/delete',auth[_0x4db7('0xb')](),controller[_0x4db7('0x11')]);module['exports']=router;