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 _0xe61a=['/:id','isAuthenticated','update','exports','multer','util','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./condition.controller','put'];(function(_0x1453c9,_0x4f20b7){var _0x35ae65=function(_0x2040e0){while(--_0x2040e0){_0x1453c9['push'](_0x1453c9['shift']());}};_0x35ae65(++_0x4f20b7);}(_0xe61a,0x74));var _0xae61=function(_0x24da7b,_0x10b5ad){_0x24da7b=_0x24da7b-0x0;var _0x52b1db=_0xe61a[_0x24da7b];return _0x52b1db;};'use strict';var multer=require(_0xae61('0x0'));var util=require(_0xae61('0x1'));var path=require(_0xae61('0x2'));var timeout=require('connect-timeout');var express=require(_0xae61('0x3'));var router=express['Router']();var fs_extra=require(_0xae61('0x4'));var auth=require(_0xae61('0x5'));var interaction=require(_0xae61('0x6'));var config=require(_0xae61('0x7'));var controller=require(_0xae61('0x8'));router[_0xae61('0x9')](_0xae61('0xa'),auth[_0xae61('0xb')](),controller[_0xae61('0xc')]);router['delete'](_0xae61('0xa'),auth[_0xae61('0xb')](),controller['destroy']);module[_0xae61('0xd')]=router;