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 _0x7fbe=['isAuthenticated','index','/:id','show','/:id/test','test','post','put','update','delete','destroy','exports','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareOdbc.controller','get'];(function(_0x43aa1c,_0xb37484){var _0x1c8854=function(_0x56595d){while(--_0x56595d){_0x43aa1c['push'](_0x43aa1c['shift']());}};_0x1c8854(++_0xb37484);}(_0x7fbe,0x1ec));var _0xe7fb=function(_0x3a7257,_0x30b139){_0x3a7257=_0x3a7257-0x0;var _0x467d25=_0x7fbe[_0x3a7257];return _0x467d25;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xe7fb('0x0'));var express=require(_0xe7fb('0x1'));var router=express[_0xe7fb('0x2')]();var auth=require(_0xe7fb('0x3'));var interaction=require(_0xe7fb('0x4'));var config=require(_0xe7fb('0x5'));var controller=require(_0xe7fb('0x6'));router[_0xe7fb('0x7')]('/',auth[_0xe7fb('0x8')](),controller[_0xe7fb('0x9')]);router[_0xe7fb('0x7')](_0xe7fb('0xa'),auth[_0xe7fb('0x8')](),controller[_0xe7fb('0xb')]);router['get'](_0xe7fb('0xc'),auth[_0xe7fb('0x8')](),controller[_0xe7fb('0xd')]);router[_0xe7fb('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0xe7fb('0xf')](_0xe7fb('0xa'),auth[_0xe7fb('0x8')](),controller[_0xe7fb('0x10')]);router[_0xe7fb('0x11')](_0xe7fb('0xa'),auth[_0xe7fb('0x8')](),controller[_0xe7fb('0x12')]);module[_0xe7fb('0x13')]=router;