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 _0x10be=['./cmContactHasItem.controller','isAuthenticated','index','get','/:id','show','post','put','update','destroy','exports','multer','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x5a7e78,_0x400b57){var _0xa8d4a1=function(_0x486659){while(--_0x486659){_0x5a7e78['push'](_0x5a7e78['shift']());}};_0xa8d4a1(++_0x400b57);}(_0x10be,0x161));var _0xe10b=function(_0x22088d,_0x27deaa){_0x22088d=_0x22088d-0x0;var _0x1dab44=_0x10be[_0x22088d];return _0x1dab44;};'use strict';var multer=require(_0xe10b('0x0'));var util=require('util');var path=require(_0xe10b('0x1'));var timeout=require(_0xe10b('0x2'));var express=require('express');var router=express[_0xe10b('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xe10b('0x4'));var interaction=require(_0xe10b('0x5'));var config=require(_0xe10b('0x6'));var controller=require(_0xe10b('0x7'));router['get']('/',auth[_0xe10b('0x8')](),controller[_0xe10b('0x9')]);router[_0xe10b('0xa')](_0xe10b('0xb'),auth[_0xe10b('0x8')](),controller[_0xe10b('0xc')]);router[_0xe10b('0xd')]('/',auth[_0xe10b('0x8')](),controller['create']);router[_0xe10b('0xe')](_0xe10b('0xb'),auth[_0xe10b('0x8')](),controller[_0xe10b('0xf')]);router['delete'](_0xe10b('0xb'),auth[_0xe10b('0x8')](),controller[_0xe10b('0x10')]);module[_0xe10b('0x11')]=router;