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 _0xc933=['destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmContactHasItem.controller','isAuthenticated','index','/:id','show','post','create','put'];(function(_0x2eec1f,_0x1b9987){var _0x543075=function(_0x5792d2){while(--_0x5792d2){_0x2eec1f['push'](_0x2eec1f['shift']());}};_0x543075(++_0x1b9987);}(_0xc933,0xf9));var _0x3c93=function(_0x12b3f1,_0x9becd3){_0x12b3f1=_0x12b3f1-0x0;var _0x1c3577=_0xc933[_0x12b3f1];return _0x1c3577;};'use strict';var multer=require(_0x3c93('0x0'));var util=require(_0x3c93('0x1'));var path=require(_0x3c93('0x2'));var timeout=require(_0x3c93('0x3'));var express=require(_0x3c93('0x4'));var router=express['Router']();var fs_extra=require(_0x3c93('0x5'));var auth=require(_0x3c93('0x6'));var interaction=require(_0x3c93('0x7'));var config=require(_0x3c93('0x8'));var controller=require(_0x3c93('0x9'));router['get']('/',auth[_0x3c93('0xa')](),controller[_0x3c93('0xb')]);router['get'](_0x3c93('0xc'),auth['isAuthenticated'](),controller[_0x3c93('0xd')]);router[_0x3c93('0xe')]('/',auth[_0x3c93('0xa')](),controller[_0x3c93('0xf')]);router[_0x3c93('0x10')](_0x3c93('0xc'),auth['isAuthenticated'](),controller['update']);router['delete'](_0x3c93('0xc'),auth[_0x3c93('0xa')](),controller[_0x3c93('0x11')]);module[_0x3c93('0x12')]=router;