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 _0xb82a=['path','connect-timeout','express','Router','../../components/auth/service','./voiceContext.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy','exports','multer'];(function(_0x27ffd3,_0x49faf2){var _0x14ce13=function(_0x4dbe22){while(--_0x4dbe22){_0x27ffd3['push'](_0x27ffd3['shift']());}};_0x14ce13(++_0x49faf2);}(_0xb82a,0x168));var _0xab82=function(_0x388e06,_0x5c010a){_0x388e06=_0x388e06-0x0;var _0x5b9b93=_0xb82a[_0x388e06];return _0x5b9b93;};'use strict';var multer=require(_0xab82('0x0'));var util=require('util');var path=require(_0xab82('0x1'));var timeout=require(_0xab82('0x2'));var express=require(_0xab82('0x3'));var router=express[_0xab82('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xab82('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xab82('0x6'));router[_0xab82('0x7')]('/',auth[_0xab82('0x8')](),controller[_0xab82('0x9')]);router[_0xab82('0x7')](_0xab82('0xa'),auth[_0xab82('0x8')](),controller[_0xab82('0xb')]);router[_0xab82('0xc')]('/',auth[_0xab82('0x8')](),controller[_0xab82('0xd')]);router[_0xab82('0xe')](_0xab82('0xa'),auth[_0xab82('0x8')](),controller[_0xab82('0xf')]);router[_0xab82('0x10')]('/:id',auth[_0xab82('0x8')](),controller[_0xab82('0x11')]);module[_0xab82('0x12')]=router;