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 _0xea89=['update','delete','destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./cmCustomField.controller','get','isAuthenticated','index','/:id','post','create','put'];(function(_0x2ac6de,_0x59e937){var _0x108b09=function(_0x45f7f1){while(--_0x45f7f1){_0x2ac6de['push'](_0x2ac6de['shift']());}};_0x108b09(++_0x59e937);}(_0xea89,0xfa));var _0x9ea8=function(_0x57b6ae,_0x2ca66e){_0x57b6ae=_0x57b6ae-0x0;var _0x8d7f4a=_0xea89[_0x57b6ae];return _0x8d7f4a;};'use strict';var multer=require(_0x9ea8('0x0'));var util=require(_0x9ea8('0x1'));var path=require(_0x9ea8('0x2'));var timeout=require(_0x9ea8('0x3'));var express=require(_0x9ea8('0x4'));var router=express[_0x9ea8('0x5')]();var auth=require(_0x9ea8('0x6'));var interaction=require(_0x9ea8('0x7'));var config=require('../../config/environment');var controller=require(_0x9ea8('0x8'));router[_0x9ea8('0x9')]('/',auth[_0x9ea8('0xa')](),controller[_0x9ea8('0xb')]);router[_0x9ea8('0x9')](_0x9ea8('0xc'),auth[_0x9ea8('0xa')](),controller['show']);router[_0x9ea8('0xd')]('/',auth['isAuthenticated'](),controller[_0x9ea8('0xe')]);router[_0x9ea8('0xf')](_0x9ea8('0xc'),auth[_0x9ea8('0xa')](),controller[_0x9ea8('0x10')]);router[_0x9ea8('0x11')](_0x9ea8('0xc'),auth['isAuthenticated'](),controller[_0x9ea8('0x12')]);module['exports']=router;