Built motion from commit (unavailable).|2.5.6
[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 _0xa57a=['multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./squareRecording.controller','index','get','/:id','isAuthenticated','show','/:id/download','download','post','create','delete','/:id/delete','destroy','exports'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xa57a,0xfc));var _0xaa57=function(_0x1d263c,_0x2a23f2){_0x1d263c=_0x1d263c-0x0;var _0x1faf9d=_0xa57a[_0x1d263c];return _0x1faf9d;};'use strict';var multer=require(_0xaa57('0x0'));var util=require(_0xaa57('0x1'));var path=require(_0xaa57('0x2'));var timeout=require(_0xaa57('0x3'));var express=require(_0xaa57('0x4'));var router=express['Router']();var auth=require(_0xaa57('0x5'));var interaction=require(_0xaa57('0x6'));var config=require('../../config/environment');var controller=require(_0xaa57('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0xaa57('0x8')]);router[_0xaa57('0x9')](_0xaa57('0xa'),auth[_0xaa57('0xb')](),controller[_0xaa57('0xc')]);router['get'](_0xaa57('0xd'),auth['isAuthenticated'](),controller[_0xaa57('0xe')]);router[_0xaa57('0xf')]('/',auth[_0xaa57('0xb')](),controller[_0xaa57('0x10')]);router['put'](_0xaa57('0xa'),auth[_0xaa57('0xb')](),controller['update']);router[_0xaa57('0x11')](_0xaa57('0x12'),auth[_0xaa57('0xb')](),controller[_0xaa57('0x13')]);module[_0xaa57('0x14')]=router;