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 _0xa600=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./condition.controller','/:id','isAuthenticated','update','destroy','exports','multer','util','path','express'];(function(_0x45db6f,_0x43213e){var _0xf1718=function(_0x14a4b2){while(--_0x14a4b2){_0x45db6f['push'](_0x45db6f['shift']());}};_0xf1718(++_0x43213e);}(_0xa600,0x192));var _0x0a60=function(_0x5f4cd7,_0x459c44){_0x5f4cd7=_0x5f4cd7-0x0;var _0x47c93f=_0xa600[_0x5f4cd7];return _0x47c93f;};'use strict';var multer=require(_0x0a60('0x0'));var util=require(_0x0a60('0x1'));var path=require(_0x0a60('0x2'));var timeout=require('connect-timeout');var express=require(_0x0a60('0x3'));var router=express[_0x0a60('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x0a60('0x5'));var interaction=require(_0x0a60('0x6'));var config=require(_0x0a60('0x7'));var controller=require(_0x0a60('0x8'));router['put'](_0x0a60('0x9'),auth[_0x0a60('0xa')](),controller[_0x0a60('0xb')]);router['delete']('/:id',auth[_0x0a60('0xa')](),controller[_0x0a60('0xc')]);module[_0x0a60('0xd')]=router;