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 _0x65da=['destroy','exports','multer','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareRecording.controller','index','get','/:id','isAuthenticated','show','/:id/download','download','post','put','update'];(function(_0x42b645,_0x26b100){var _0x2faa75=function(_0x4916b1){while(--_0x4916b1){_0x42b645['push'](_0x42b645['shift']());}};_0x2faa75(++_0x26b100);}(_0x65da,0x152));var _0xa65d=function(_0xd0b415,_0x149675){_0xd0b415=_0xd0b415-0x0;var _0x2bdf2c=_0x65da[_0xd0b415];return _0x2bdf2c;};'use strict';var multer=require(_0xa65d('0x0'));var util=require('util');var path=require(_0xa65d('0x1'));var timeout=require(_0xa65d('0x2'));var express=require(_0xa65d('0x3'));var router=express['Router']();var fs_extra=require(_0xa65d('0x4'));var auth=require(_0xa65d('0x5'));var interaction=require(_0xa65d('0x6'));var config=require(_0xa65d('0x7'));var controller=require(_0xa65d('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0xa65d('0x9')]);router[_0xa65d('0xa')](_0xa65d('0xb'),auth[_0xa65d('0xc')](),controller[_0xa65d('0xd')]);router[_0xa65d('0xa')](_0xa65d('0xe'),auth['isAuthenticated'](),controller[_0xa65d('0xf')]);router[_0xa65d('0x10')]('/',auth['isAuthenticated'](),controller['create']);router[_0xa65d('0x11')](_0xa65d('0xb'),auth[_0xa65d('0xc')](),controller[_0xa65d('0x12')]);router['delete'](_0xa65d('0xb'),auth[_0xa65d('0xc')](),controller[_0xa65d('0x13')]);module[_0xa65d('0x14')]=router;