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 _0x5cc3=['/:id','show','/:id/users','getUsers','post','addUsers','put','update','destroy','delete','removeUsers','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./squareProject.controller','get','isAuthenticated','index'];(function(_0x259910,_0x235de4){var _0x41b274=function(_0x5e730f){while(--_0x5e730f){_0x259910['push'](_0x259910['shift']());}};_0x41b274(++_0x235de4);}(_0x5cc3,0x144));var _0x35cc=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x5cc3[_0x2dafbe];return _0x58a45a;};'use strict';var multer=require(_0x35cc('0x0'));var util=require(_0x35cc('0x1'));var path=require(_0x35cc('0x2'));var timeout=require(_0x35cc('0x3'));var express=require(_0x35cc('0x4'));var router=express[_0x35cc('0x5')]();var fs_extra=require(_0x35cc('0x6'));var auth=require(_0x35cc('0x7'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x35cc('0x8'));router[_0x35cc('0x9')]('/',auth[_0x35cc('0xa')](),controller[_0x35cc('0xb')]);router[_0x35cc('0x9')](_0x35cc('0xc'),auth[_0x35cc('0xa')](),controller[_0x35cc('0xd')]);router[_0x35cc('0x9')](_0x35cc('0xe'),auth[_0x35cc('0xa')](),controller[_0x35cc('0xf')]);router[_0x35cc('0x10')]('/',auth[_0x35cc('0xa')](),controller['create']);router['post'](_0x35cc('0xe'),auth[_0x35cc('0xa')](),controller[_0x35cc('0x11')]);router[_0x35cc('0x12')](_0x35cc('0xc'),auth['isAuthenticated'](),controller[_0x35cc('0x13')]);router['delete'](_0x35cc('0xc'),auth[_0x35cc('0xa')](),controller[_0x35cc('0x14')]);router[_0x35cc('0x15')](_0x35cc('0xe'),auth[_0x35cc('0xa')](),controller[_0x35cc('0x16')]);module[_0x35cc('0x17')]=router;