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 _0xfa79=['exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./condition.controller','put','/:id','isAuthenticated','update'];(function(_0x9fd887,_0x47f76c){var _0x1a54ab=function(_0xb65c08){while(--_0xb65c08){_0x9fd887['push'](_0x9fd887['shift']());}};_0x1a54ab(++_0x47f76c);}(_0xfa79,0x9b));var _0x9fa7=function(_0x38f86a,_0x532849){_0x38f86a=_0x38f86a-0x0;var _0x3918d4=_0xfa79[_0x38f86a];return _0x3918d4;};'use strict';var multer=require(_0x9fa7('0x0'));var util=require(_0x9fa7('0x1'));var path=require(_0x9fa7('0x2'));var timeout=require(_0x9fa7('0x3'));var express=require(_0x9fa7('0x4'));var router=express[_0x9fa7('0x5')]();var auth=require(_0x9fa7('0x6'));var interaction=require(_0x9fa7('0x7'));var config=require('../../config/environment');var controller=require(_0x9fa7('0x8'));router[_0x9fa7('0x9')](_0x9fa7('0xa'),auth[_0x9fa7('0xb')](),controller[_0x9fa7('0xc')]);router['delete'](_0x9fa7('0xa'),auth[_0x9fa7('0xb')](),controller['destroy']);module[_0x9fa7('0xd')]=router;