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 _0x2560=['put','update','destroy','exports','multer','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmContactHasItem.controller','get','/:id','isAuthenticated','post','create'];(function(_0x380168,_0x40546c){var _0x12e86d=function(_0x559ef7){while(--_0x559ef7){_0x380168['push'](_0x380168['shift']());}};_0x12e86d(++_0x40546c);}(_0x2560,0x104));var _0x0256=function(_0x250849,_0x2c8dc){_0x250849=_0x250849-0x0;var _0xf9a38c=_0x2560[_0x250849];return _0xf9a38c;};'use strict';var multer=require(_0x0256('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x0256('0x1'));var router=express[_0x0256('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0x0256('0x3'));var interaction=require(_0x0256('0x4'));var config=require(_0x0256('0x5'));var controller=require(_0x0256('0x6'));router[_0x0256('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0x0256('0x7')](_0x0256('0x8'),auth[_0x0256('0x9')](),controller['show']);router[_0x0256('0xa')]('/',auth[_0x0256('0x9')](),controller[_0x0256('0xb')]);router[_0x0256('0xc')](_0x0256('0x8'),auth[_0x0256('0x9')](),controller[_0x0256('0xd')]);router['delete'](_0x0256('0x8'),auth[_0x0256('0x9')](),controller[_0x0256('0xe')]);module[_0x0256('0xf')]=router;