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 _0xcbe2=['../../config/environment','./condition.controller','put','/:id','isAuthenticated','update','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x23a3bf,_0x223564){var _0x17f379=function(_0x55ae22){while(--_0x55ae22){_0x23a3bf['push'](_0x23a3bf['shift']());}};_0x17f379(++_0x223564);}(_0xcbe2,0xf6));var _0x2cbe=function(_0x2c7d16,_0x26857b){_0x2c7d16=_0x2c7d16-0x0;var _0x4c9685=_0xcbe2[_0x2c7d16];return _0x4c9685;};'use strict';var multer=require(_0x2cbe('0x0'));var util=require(_0x2cbe('0x1'));var path=require(_0x2cbe('0x2'));var timeout=require(_0x2cbe('0x3'));var express=require(_0x2cbe('0x4'));var router=express[_0x2cbe('0x5')]();var fs_extra=require(_0x2cbe('0x6'));var auth=require(_0x2cbe('0x7'));var interaction=require(_0x2cbe('0x8'));var config=require(_0x2cbe('0x9'));var controller=require(_0x2cbe('0xa'));router[_0x2cbe('0xb')](_0x2cbe('0xc'),auth[_0x2cbe('0xd')](),controller[_0x2cbe('0xe')]);router['delete']('/:id',auth[_0x2cbe('0xd')](),controller[_0x2cbe('0xf')]);module[_0x2cbe('0x10')]=router;