Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / api / squareRecording / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xf29f=['isAuthenticated','get','/:id','post','create','put','update','delete','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareRecording.controller'];(function(_0x49ca18,_0x5e6d05){var _0x145d54=function(_0x30b9be){while(--_0x30b9be){_0x49ca18['push'](_0x49ca18['shift']());}};_0x145d54(++_0x5e6d05);}(_0xf29f,0xcf));var _0xff29=function(_0xda54d0,_0x369420){_0xda54d0=_0xda54d0-0x0;var _0x11c744=_0xf29f[_0xda54d0];return _0x11c744;};'use strict';var multer=require(_0xff29('0x0'));var util=require(_0xff29('0x1'));var path=require('path');var timeout=require(_0xff29('0x2'));var express=require(_0xff29('0x3'));var router=express[_0xff29('0x4')]();var auth=require(_0xff29('0x5'));var interaction=require(_0xff29('0x6'));var config=require(_0xff29('0x7'));var controller=require(_0xff29('0x8'));router['get']('/',auth[_0xff29('0x9')](),controller['index']);router[_0xff29('0xa')](_0xff29('0xb'),auth[_0xff29('0x9')](),controller['show']);router[_0xff29('0xa')]('/:id/download',auth[_0xff29('0x9')](),controller['download']);router[_0xff29('0xc')]('/',auth['isAuthenticated'](),controller[_0xff29('0xd')]);router[_0xff29('0xe')](_0xff29('0xb'),auth[_0xff29('0x9')](),controller[_0xff29('0xf')]);router[_0xff29('0x10')](_0xff29('0xb'),auth[_0xff29('0x9')](),controller['destroy']);module[_0xff29('0x11')]=router;