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 _0xb05e=['util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./pause.controller','isAuthenticated','index','get','/:id','show','create','put','update','delete','destroy','exports','multer'];(function(_0x4c8a8f,_0x997ef){var _0x404500=function(_0x1c6072){while(--_0x1c6072){_0x4c8a8f['push'](_0x4c8a8f['shift']());}};_0x404500(++_0x997ef);}(_0xb05e,0x83));var _0xeb05=function(_0x4b9a62,_0x528ba3){_0x4b9a62=_0x4b9a62-0x0;var _0x45c582=_0xb05e[_0x4b9a62];return _0x45c582;};'use strict';var multer=require(_0xeb05('0x0'));var util=require(_0xeb05('0x1'));var path=require(_0xeb05('0x2'));var timeout=require(_0xeb05('0x3'));var express=require(_0xeb05('0x4'));var router=express[_0xeb05('0x5')]();var fs_extra=require(_0xeb05('0x6'));var auth=require(_0xeb05('0x7'));var interaction=require(_0xeb05('0x8'));var config=require(_0xeb05('0x9'));var controller=require(_0xeb05('0xa'));router['get']('/',auth[_0xeb05('0xb')](),controller[_0xeb05('0xc')]);router[_0xeb05('0xd')](_0xeb05('0xe'),auth['isAuthenticated'](),controller[_0xeb05('0xf')]);router['post']('/',auth[_0xeb05('0xb')](),controller[_0xeb05('0x10')]);router[_0xeb05('0x11')](_0xeb05('0xe'),auth[_0xeb05('0xb')](),controller[_0xeb05('0x12')]);router[_0xeb05('0x13')](_0xeb05('0xe'),auth[_0xeb05('0xb')](),controller[_0xeb05('0x14')]);module[_0xeb05('0x15')]=router;