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 _0xa446=['./pause.controller','get','isAuthenticated','index','show','post','create','/:id','update','delete','destroy','multer','util','connect-timeout','Router','../../components/auth/service','../../config/environment'];(function(_0x44f88c,_0x2d8439){var _0x43998a=function(_0x4b4389){while(--_0x4b4389){_0x44f88c['push'](_0x44f88c['shift']());}};_0x43998a(++_0x2d8439);}(_0xa446,0xc6));var _0x6a44=function(_0x9daa62,_0x48f35a){_0x9daa62=_0x9daa62-0x0;var _0x42a411=_0xa446[_0x9daa62];return _0x42a411;};'use strict';var multer=require(_0x6a44('0x0'));var util=require(_0x6a44('0x1'));var path=require('path');var timeout=require(_0x6a44('0x2'));var express=require('express');var router=express[_0x6a44('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x6a44('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x6a44('0x5'));var controller=require(_0x6a44('0x6'));router[_0x6a44('0x7')]('/',auth[_0x6a44('0x8')](),controller[_0x6a44('0x9')]);router[_0x6a44('0x7')]('/:id',auth[_0x6a44('0x8')](),controller[_0x6a44('0xa')]);router[_0x6a44('0xb')]('/',auth[_0x6a44('0x8')](),controller[_0x6a44('0xc')]);router['put'](_0x6a44('0xd'),auth[_0x6a44('0x8')](),controller[_0x6a44('0xe')]);router[_0x6a44('0xf')](_0x6a44('0xd'),auth[_0x6a44('0x8')](),controller[_0x6a44('0x10')]);module['exports']=router;