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 _0x72e7=['create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./cmCustomField.controller','get','isAuthenticated','index','/:id','post'];(function(_0x202f4d,_0x524f68){var _0x5d60f5=function(_0x3e5fb0){while(--_0x3e5fb0){_0x202f4d['push'](_0x202f4d['shift']());}};_0x5d60f5(++_0x524f68);}(_0x72e7,0x102));var _0x772e=function(_0x35c423,_0x100abc){_0x35c423=_0x35c423-0x0;var _0x22f7db=_0x72e7[_0x35c423];return _0x22f7db;};'use strict';var multer=require(_0x772e('0x0'));var util=require(_0x772e('0x1'));var path=require(_0x772e('0x2'));var timeout=require(_0x772e('0x3'));var express=require(_0x772e('0x4'));var router=express[_0x772e('0x5')]();var auth=require(_0x772e('0x6'));var interaction=require(_0x772e('0x7'));var config=require(_0x772e('0x8'));var controller=require(_0x772e('0x9'));router[_0x772e('0xa')]('/',auth[_0x772e('0xb')](),controller[_0x772e('0xc')]);router[_0x772e('0xa')](_0x772e('0xd'),auth[_0x772e('0xb')](),controller['show']);router[_0x772e('0xe')]('/',auth[_0x772e('0xb')](),controller[_0x772e('0xf')]);router[_0x772e('0x10')](_0x772e('0xd'),auth['isAuthenticated'](),controller[_0x772e('0x11')]);router[_0x772e('0x12')]('/:id',auth[_0x772e('0xb')](),controller[_0x772e('0x13')]);module[_0x772e('0x14')]=router;