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 _0xac30=['get','/:id','show','post','create','delete','destroy','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','isAuthenticated'];(function(_0xc5c4a9,_0x260a6c){var _0x233feb=function(_0x2c78bf){while(--_0x2c78bf){_0xc5c4a9['push'](_0xc5c4a9['shift']());}};_0x233feb(++_0x260a6c);}(_0xac30,0x16f));var _0x0ac3=function(_0x2bc3f4,_0x470b26){_0x2bc3f4=_0x2bc3f4-0x0;var _0x14ac53=_0xac30[_0x2bc3f4];return _0x14ac53;};'use strict';var multer=require('multer');var util=require(_0x0ac3('0x0'));var path=require(_0x0ac3('0x1'));var timeout=require(_0x0ac3('0x2'));var express=require(_0x0ac3('0x3'));var router=express[_0x0ac3('0x4')]();var auth=require(_0x0ac3('0x5'));var interaction=require(_0x0ac3('0x6'));var config=require('../../config/environment');var controller=require('./pause.controller');router['get']('/',auth[_0x0ac3('0x7')](),controller['index']);router[_0x0ac3('0x8')](_0x0ac3('0x9'),auth[_0x0ac3('0x7')](),controller[_0x0ac3('0xa')]);router[_0x0ac3('0xb')]('/',auth[_0x0ac3('0x7')](),controller[_0x0ac3('0xc')]);router['put'](_0x0ac3('0x9'),auth[_0x0ac3('0x7')](),controller['update']);router[_0x0ac3('0xd')](_0x0ac3('0x9'),auth['isAuthenticated'](),controller[_0x0ac3('0xe')]);module['exports']=router;