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 _0x4e48=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./pause.controller','get','isAuthenticated','index','/:id','show','post','update','delete','destroy','exports','multer','util','path','connect-timeout'];(function(_0x1029ef,_0x200678){var _0x2aacd5=function(_0x2e768e){while(--_0x2e768e){_0x1029ef['push'](_0x1029ef['shift']());}};_0x2aacd5(++_0x200678);}(_0x4e48,0x9c));var _0x84e4=function(_0x3630a2,_0x4d08df){_0x3630a2=_0x3630a2-0x0;var _0x28d078=_0x4e48[_0x3630a2];return _0x28d078;};'use strict';var multer=require(_0x84e4('0x0'));var util=require(_0x84e4('0x1'));var path=require(_0x84e4('0x2'));var timeout=require(_0x84e4('0x3'));var express=require('express');var router=express[_0x84e4('0x4')]();var fs_extra=require(_0x84e4('0x5'));var auth=require(_0x84e4('0x6'));var interaction=require(_0x84e4('0x7'));var config=require(_0x84e4('0x8'));var controller=require(_0x84e4('0x9'));router[_0x84e4('0xa')]('/',auth[_0x84e4('0xb')](),controller[_0x84e4('0xc')]);router[_0x84e4('0xa')](_0x84e4('0xd'),auth[_0x84e4('0xb')](),controller[_0x84e4('0xe')]);router[_0x84e4('0xf')]('/',auth[_0x84e4('0xb')](),controller['create']);router['put'](_0x84e4('0xd'),auth['isAuthenticated'](),controller[_0x84e4('0x10')]);router[_0x84e4('0x11')](_0x84e4('0xd'),auth[_0x84e4('0xb')](),controller[_0x84e4('0x12')]);module[_0x84e4('0x13')]=router;