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 _0xbc7e=['post','create','put','delete','isAuthenticated','destroy','exports','multer','util','path','../../components/interaction/service','../../config/environment','./cmCustomField.controller','index','get','/:id','show'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xbc7e,0x17d));var _0xebc7=function(_0x4f0f27,_0x51deba){_0x4f0f27=_0x4f0f27-0x0;var _0x2ce661=_0xbc7e[_0x4f0f27];return _0x2ce661;};'use strict';var multer=require(_0xebc7('0x0'));var util=require(_0xebc7('0x1'));var path=require(_0xebc7('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xebc7('0x3'));var config=require(_0xebc7('0x4'));var controller=require(_0xebc7('0x5'));router['get']('/',auth['isAuthenticated'](),controller[_0xebc7('0x6')]);router[_0xebc7('0x7')](_0xebc7('0x8'),auth['isAuthenticated'](),controller[_0xebc7('0x9')]);router[_0xebc7('0xa')]('/',auth['isAuthenticated'](),controller[_0xebc7('0xb')]);router[_0xebc7('0xc')](_0xebc7('0x8'),auth['isAuthenticated'](),controller['update']);router[_0xebc7('0xd')]('/:id',auth[_0xebc7('0xe')](),controller[_0xebc7('0xf')]);module[_0xebc7('0x10')]=router;