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 _0xfa7c=['index','get','/describe','describe','/:id','show','post','create','put','update','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./integrationReport.controller','isAuthenticated'];(function(_0x260f28,_0x4e9b30){var _0x3aefcc=function(_0x223b18){while(--_0x223b18){_0x260f28['push'](_0x260f28['shift']());}};_0x3aefcc(++_0x4e9b30);}(_0xfa7c,0x15b));var _0xcfa7=function(_0x37a0f5,_0x585f76){_0x37a0f5=_0x37a0f5-0x0;var _0x499af1=_0xfa7c[_0x37a0f5];return _0x499af1;};'use strict';var multer=require(_0xcfa7('0x0'));var util=require('util');var path=require(_0xcfa7('0x1'));var timeout=require(_0xcfa7('0x2'));var express=require(_0xcfa7('0x3'));var router=express[_0xcfa7('0x4')]();var auth=require(_0xcfa7('0x5'));var interaction=require(_0xcfa7('0x6'));var config=require(_0xcfa7('0x7'));var controller=require(_0xcfa7('0x8'));router['get']('/',auth[_0xcfa7('0x9')](),controller[_0xcfa7('0xa')]);router[_0xcfa7('0xb')](_0xcfa7('0xc'),auth['isAuthenticated'](),controller[_0xcfa7('0xd')]);router[_0xcfa7('0xb')](_0xcfa7('0xe'),auth[_0xcfa7('0x9')](),controller[_0xcfa7('0xf')]);router[_0xcfa7('0x10')]('/',auth['isAuthenticated'](),controller[_0xcfa7('0x11')]);router[_0xcfa7('0x12')](_0xcfa7('0xe'),auth[_0xcfa7('0x9')](),controller[_0xcfa7('0x13')]);router['delete']('/:id',auth[_0xcfa7('0x9')](),controller['destroy']);module[_0xcfa7('0x14')]=router;