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=['update','delete','destroy','exports','multer','express','Router','../../components/interaction/service','../../config/environment','./cmCustomField.controller','get','isAuthenticated','/:id','show','create','put'];(function(_0x1e4952,_0x31bdc8){var _0x1fe01a=function(_0x3276e3){while(--_0x3276e3){_0x1e4952['push'](_0x1e4952['shift']());}};_0x1fe01a(++_0x31bdc8);}(_0x2560,0x104));var _0x0256=function(_0x4952bb,_0x2bbf6d){_0x4952bb=_0x4952bb-0x0;var _0x558c39=_0x2560[_0x4952bb];return _0x558c39;};'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 auth=require('../../components/auth/service');var interaction=require(_0x0256('0x3'));var config=require(_0x0256('0x4'));var controller=require(_0x0256('0x5'));router[_0x0256('0x6')]('/',auth[_0x0256('0x7')](),controller['index']);router['get'](_0x0256('0x8'),auth[_0x0256('0x7')](),controller[_0x0256('0x9')]);router['post']('/',auth[_0x0256('0x7')](),controller[_0x0256('0xa')]);router[_0x0256('0xb')](_0x0256('0x8'),auth[_0x0256('0x7')](),controller[_0x0256('0xc')]);router[_0x0256('0xd')]('/:id',auth[_0x0256('0x7')](),controller[_0x0256('0xe')]);module[_0x0256('0xf')]=router;