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 _0xe15a=['../../config/environment','./squareOdbc.controller','index','get','isAuthenticated','show','/:id/test','15s','test','post','create','put','/:id','update','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service'];(function(_0x58ade6,_0x5a676c){var _0x317afe=function(_0x160540){while(--_0x160540){_0x58ade6['push'](_0x58ade6['shift']());}};_0x317afe(++_0x5a676c);}(_0xe15a,0x180));var _0xae15=function(_0x547e20,_0x284545){_0x547e20=_0x547e20-0x0;var _0x359171=_0xe15a[_0x547e20];return _0x359171;};'use strict';var multer=require(_0xae15('0x0'));var util=require(_0xae15('0x1'));var path=require(_0xae15('0x2'));var timeout=require(_0xae15('0x3'));var express=require(_0xae15('0x4'));var router=express[_0xae15('0x5')]();var auth=require(_0xae15('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xae15('0x7'));var controller=require(_0xae15('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0xae15('0x9')]);router[_0xae15('0xa')]('/:id',auth[_0xae15('0xb')](),controller[_0xae15('0xc')]);router[_0xae15('0xa')](_0xae15('0xd'),auth[_0xae15('0xb')](),timeout(_0xae15('0xe')),controller[_0xae15('0xf')]);router[_0xae15('0x10')]('/',auth[_0xae15('0xb')](),controller[_0xae15('0x11')]);router[_0xae15('0x12')](_0xae15('0x13'),auth[_0xae15('0xb')](),controller[_0xae15('0x14')]);router['delete'](_0xae15('0x13'),auth[_0xae15('0xb')](),controller[_0xae15('0x15')]);module[_0xae15('0x16')]=router;