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 _0x2e5c=['/:id/delete','exports','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','/:id','show','/:id/download','download','post','create','put'];(function(_0x1bf713,_0x2a079b){var _0x4b2b7b=function(_0x25f828){while(--_0x25f828){_0x1bf713['push'](_0x1bf713['shift']());}};_0x4b2b7b(++_0x2a079b);}(_0x2e5c,0x1de));var _0xc2e5=function(_0x36884e,_0x48008f){_0x36884e=_0x36884e-0x0;var _0x1cc367=_0x2e5c[_0x36884e];return _0x1cc367;};'use strict';var multer=require('multer');var util=require(_0xc2e5('0x0'));var path=require(_0xc2e5('0x1'));var timeout=require(_0xc2e5('0x2'));var express=require(_0xc2e5('0x3'));var router=express['Router']();var auth=require(_0xc2e5('0x4'));var interaction=require(_0xc2e5('0x5'));var config=require('../../config/environment');var controller=require('./squareRecording.controller');router[_0xc2e5('0x6')]('/',auth[_0xc2e5('0x7')](),controller['index']);router[_0xc2e5('0x6')](_0xc2e5('0x8'),auth[_0xc2e5('0x7')](),controller[_0xc2e5('0x9')]);router[_0xc2e5('0x6')](_0xc2e5('0xa'),auth[_0xc2e5('0x7')](),controller[_0xc2e5('0xb')]);router[_0xc2e5('0xc')]('/',auth[_0xc2e5('0x7')](),controller[_0xc2e5('0xd')]);router[_0xc2e5('0xe')](_0xc2e5('0x8'),auth[_0xc2e5('0x7')](),controller['update']);router['delete'](_0xc2e5('0xf'),auth[_0xc2e5('0x7')](),controller['destroy']);module[_0xc2e5('0x10')]=router;