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 _0x823c=['create','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./pause.controller','get','isAuthenticated','index','/:id'];(function(_0x2f62aa,_0x108e95){var _0x1a341f=function(_0x3aedcf){while(--_0x3aedcf){_0x2f62aa['push'](_0x2f62aa['shift']());}};_0x1a341f(++_0x108e95);}(_0x823c,0x143));var _0xc823=function(_0x34c80c,_0x4cd189){_0x34c80c=_0x34c80c-0x0;var _0x2fbad1=_0x823c[_0x34c80c];return _0x2fbad1;};'use strict';var multer=require(_0xc823('0x0'));var util=require('util');var path=require(_0xc823('0x1'));var timeout=require(_0xc823('0x2'));var express=require(_0xc823('0x3'));var router=express[_0xc823('0x4')]();var fs_extra=require(_0xc823('0x5'));var auth=require(_0xc823('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xc823('0x7'));var controller=require(_0xc823('0x8'));router[_0xc823('0x9')]('/',auth[_0xc823('0xa')](),controller[_0xc823('0xb')]);router['get'](_0xc823('0xc'),auth[_0xc823('0xa')](),controller['show']);router['post']('/',auth[_0xc823('0xa')](),controller[_0xc823('0xd')]);router['put'](_0xc823('0xc'),auth[_0xc823('0xa')](),controller['update']);router['delete'](_0xc823('0xc'),auth[_0xc823('0xa')](),controller[_0xc823('0xe')]);module[_0xc823('0xf')]=router;