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 _0x59de=['/:id','isAuthenticated','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./action.controller'];(function(_0xb8f65,_0x5b3d4f){var _0x537221=function(_0x157d70){while(--_0x157d70){_0xb8f65['push'](_0xb8f65['shift']());}};_0x537221(++_0x5b3d4f);}(_0x59de,0xba));var _0xe59d=function(_0x36154a,_0x2cf98c){_0x36154a=_0x36154a-0x0;var _0x61104e=_0x59de[_0x36154a];return _0x61104e;};'use strict';var multer=require(_0xe59d('0x0'));var util=require(_0xe59d('0x1'));var path=require(_0xe59d('0x2'));var timeout=require(_0xe59d('0x3'));var express=require(_0xe59d('0x4'));var router=express[_0xe59d('0x5')]();var auth=require(_0xe59d('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xe59d('0x7'));var controller=require(_0xe59d('0x8'));router['put'](_0xe59d('0x9'),auth[_0xe59d('0xa')](),controller[_0xe59d('0xb')]);router[_0xe59d('0xc')](_0xe59d('0x9'),auth[_0xe59d('0xa')](),controller[_0xe59d('0xd')]);module[_0xe59d('0xe')]=router;