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 _0x9b20=['../../config/environment','./squareOdbc.controller','get','isAuthenticated','index','/:id','/:id/test','test','post','create','put','update','delete','destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x563db3,_0x216e99){var _0x1d7787=function(_0x2b5ab2){while(--_0x2b5ab2){_0x563db3['push'](_0x563db3['shift']());}};_0x1d7787(++_0x216e99);}(_0x9b20,0x184));var _0x09b2=function(_0x3a58a4,_0x480fdd){_0x3a58a4=_0x3a58a4-0x0;var _0x2b1802=_0x9b20[_0x3a58a4];return _0x2b1802;};'use strict';var multer=require(_0x09b2('0x0'));var util=require(_0x09b2('0x1'));var path=require(_0x09b2('0x2'));var timeout=require(_0x09b2('0x3'));var express=require(_0x09b2('0x4'));var router=express[_0x09b2('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x09b2('0x6'));var interaction=require(_0x09b2('0x7'));var config=require(_0x09b2('0x8'));var controller=require(_0x09b2('0x9'));router[_0x09b2('0xa')]('/',auth[_0x09b2('0xb')](),controller[_0x09b2('0xc')]);router[_0x09b2('0xa')](_0x09b2('0xd'),auth['isAuthenticated'](),controller['show']);router['get'](_0x09b2('0xe'),auth[_0x09b2('0xb')](),timeout('15s'),controller[_0x09b2('0xf')]);router[_0x09b2('0x10')]('/',auth['isAuthenticated'](),controller[_0x09b2('0x11')]);router[_0x09b2('0x12')](_0x09b2('0xd'),auth['isAuthenticated'](),controller[_0x09b2('0x13')]);router[_0x09b2('0x14')](_0x09b2('0xd'),auth[_0x09b2('0xb')](),controller[_0x09b2('0x15')]);module['exports']=router;