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 _0x032b=['download','post','isAuthenticated','put','update','delete','/:id/delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../config/environment','./squareRecording.controller','get','/:id','show','/:id/download'];(function(_0x352301,_0x146341){var _0x1a58ad=function(_0x5a40bf){while(--_0x5a40bf){_0x352301['push'](_0x352301['shift']());}};_0x1a58ad(++_0x146341);}(_0x032b,0x159));var _0xb032=function(_0x4a1e37,_0x2eef28){_0x4a1e37=_0x4a1e37-0x0;var _0xeb1f8b=_0x032b[_0x4a1e37];return _0xeb1f8b;};'use strict';var multer=require(_0xb032('0x0'));var util=require(_0xb032('0x1'));var path=require(_0xb032('0x2'));var timeout=require(_0xb032('0x3'));var express=require(_0xb032('0x4'));var router=express[_0xb032('0x5')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xb032('0x6'));var controller=require(_0xb032('0x7'));router[_0xb032('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0xb032('0x8')](_0xb032('0x9'),auth['isAuthenticated'](),controller[_0xb032('0xa')]);router[_0xb032('0x8')](_0xb032('0xb'),auth['isAuthenticated'](),controller[_0xb032('0xc')]);router[_0xb032('0xd')]('/',auth[_0xb032('0xe')](),controller['create']);router[_0xb032('0xf')]('/:id',auth[_0xb032('0xe')](),controller[_0xb032('0x10')]);router[_0xb032('0x11')](_0xb032('0x12'),auth[_0xb032('0xe')](),controller[_0xb032('0x13')]);module[_0xb032('0x14')]=router;