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