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 _0x6955=['../../components/auth/service','../../components/interaction/service','../../config/environment','./condition.controller','put','/:id','isAuthenticated','update','delete','destroy','exports','util','path','connect-timeout','express','Router','fs-extra'];(function(_0x561049,_0x330926){var _0x52f109=function(_0x1a5d24){while(--_0x1a5d24){_0x561049['push'](_0x561049['shift']());}};_0x52f109(++_0x330926);}(_0x6955,0x12c));var _0x5695=function(_0x4f3512,_0x289741){_0x4f3512=_0x4f3512-0x0;var _0xb332fe=_0x6955[_0x4f3512];return _0xb332fe;};'use strict';var multer=require('multer');var util=require(_0x5695('0x0'));var path=require(_0x5695('0x1'));var timeout=require(_0x5695('0x2'));var express=require(_0x5695('0x3'));var router=express[_0x5695('0x4')]();var fs_extra=require(_0x5695('0x5'));var auth=require(_0x5695('0x6'));var interaction=require(_0x5695('0x7'));var config=require(_0x5695('0x8'));var controller=require(_0x5695('0x9'));router[_0x5695('0xa')](_0x5695('0xb'),auth[_0x5695('0xc')](),controller[_0x5695('0xd')]);router[_0x5695('0xe')]('/:id',auth[_0x5695('0xc')](),controller[_0x5695('0xf')]);module[_0x5695('0x10')]=router;