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 _0x14ac=['../../config/environment','./voiceContext.controller','index','get','/:id','show','post','isAuthenticated','create','update','destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x5a641b,_0x3c2707){var _0x302f60=function(_0x40661c){while(--_0x40661c){_0x5a641b['push'](_0x5a641b['shift']());}};_0x302f60(++_0x3c2707);}(_0x14ac,0x162));var _0xc14a=function(_0x566919,_0x13bba9){_0x566919=_0x566919-0x0;var _0x4bc230=_0x14ac[_0x566919];return _0x4bc230;};'use strict';var multer=require(_0xc14a('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xc14a('0x1'));var express=require(_0xc14a('0x2'));var router=express[_0xc14a('0x3')]();var auth=require(_0xc14a('0x4'));var interaction=require(_0xc14a('0x5'));var config=require(_0xc14a('0x6'));var controller=require(_0xc14a('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0xc14a('0x8')]);router[_0xc14a('0x9')](_0xc14a('0xa'),auth['isAuthenticated'](),controller[_0xc14a('0xb')]);router[_0xc14a('0xc')]('/',auth[_0xc14a('0xd')](),controller[_0xc14a('0xe')]);router['put'](_0xc14a('0xa'),auth[_0xc14a('0xd')](),controller[_0xc14a('0xf')]);router['delete'](_0xc14a('0xa'),auth['isAuthenticated'](),controller[_0xc14a('0x10')]);module[_0xc14a('0x11')]=router;