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 _0x5a59=['../../config/environment','./condition.controller','put','/:id','isAuthenticated','update','delete','exports','multer','util','path','express','Router','../../components/interaction/service'];(function(_0x5a43b8,_0x2e0eb2){var _0x26eeef=function(_0x4b1451){while(--_0x4b1451){_0x5a43b8['push'](_0x5a43b8['shift']());}};_0x26eeef(++_0x2e0eb2);}(_0x5a59,0x94));var _0x95a5=function(_0x3a9a32,_0x4416de){_0x3a9a32=_0x3a9a32-0x0;var _0x5b46=_0x5a59[_0x3a9a32];return _0x5b46;};'use strict';var multer=require(_0x95a5('0x0'));var util=require(_0x95a5('0x1'));var path=require(_0x95a5('0x2'));var timeout=require('connect-timeout');var express=require(_0x95a5('0x3'));var router=express[_0x95a5('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x95a5('0x5'));var config=require(_0x95a5('0x6'));var controller=require(_0x95a5('0x7'));router[_0x95a5('0x8')](_0x95a5('0x9'),auth[_0x95a5('0xa')](),controller[_0x95a5('0xb')]);router[_0x95a5('0xc')](_0x95a5('0x9'),auth[_0x95a5('0xa')](),controller['destroy']);module[_0x95a5('0xd')]=router;