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 _0xb850=['/:id/delete','destroy','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','index','/:id','isAuthenticated','/:id/download','download','put','update','delete'];(function(_0x37b3e5,_0x33b516){var _0x207f20=function(_0x5237fa){while(--_0x5237fa){_0x37b3e5['push'](_0x37b3e5['shift']());}};_0x207f20(++_0x33b516);}(_0xb850,0x145));var _0x0b85=function(_0x550aed,_0x1ba6cb){_0x550aed=_0x550aed-0x0;var _0x1c43a5=_0xb850[_0x550aed];return _0x1c43a5;};'use strict';var multer=require(_0x0b85('0x0'));var util=require(_0x0b85('0x1'));var path=require(_0x0b85('0x2'));var timeout=require(_0x0b85('0x3'));var express=require('express');var router=express[_0x0b85('0x4')]();var fs_extra=require(_0x0b85('0x5'));var auth=require(_0x0b85('0x6'));var interaction=require(_0x0b85('0x7'));var config=require('../../config/environment');var controller=require('./squareRecording.controller');router[_0x0b85('0x8')]('/',auth['isAuthenticated'](),controller[_0x0b85('0x9')]);router[_0x0b85('0x8')](_0x0b85('0xa'),auth[_0x0b85('0xb')](),controller['show']);router['get'](_0x0b85('0xc'),auth[_0x0b85('0xb')](),controller[_0x0b85('0xd')]);router['post']('/',auth[_0x0b85('0xb')](),controller['create']);router[_0x0b85('0xe')](_0x0b85('0xa'),auth[_0x0b85('0xb')](),controller[_0x0b85('0xf')]);router[_0x0b85('0x10')](_0x0b85('0x11'),auth[_0x0b85('0xb')](),controller[_0x0b85('0x12')]);module['exports']=router;