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 _0xd7ce=['post','create','put','update','delete','destroy','multer','util','path','connect-timeout','fs-extra','./cmCustomField.controller','get','isAuthenticated','index','/:id','show'];(function(_0x21d3b2,_0x457301){var _0xa20a71=function(_0x19cbcf){while(--_0x19cbcf){_0x21d3b2['push'](_0x21d3b2['shift']());}};_0xa20a71(++_0x457301);}(_0xd7ce,0x16b));var _0xed7c=function(_0x10291b,_0x518773){_0x10291b=_0x10291b-0x0;var _0x1d5fbe=_0xd7ce[_0x10291b];return _0x1d5fbe;};'use strict';var multer=require(_0xed7c('0x0'));var util=require(_0xed7c('0x1'));var path=require(_0xed7c('0x2'));var timeout=require(_0xed7c('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xed7c('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xed7c('0x5'));router[_0xed7c('0x6')]('/',auth[_0xed7c('0x7')](),controller[_0xed7c('0x8')]);router[_0xed7c('0x6')](_0xed7c('0x9'),auth[_0xed7c('0x7')](),controller[_0xed7c('0xa')]);router[_0xed7c('0xb')]('/',auth[_0xed7c('0x7')](),controller[_0xed7c('0xc')]);router[_0xed7c('0xd')]('/:id',auth[_0xed7c('0x7')](),controller[_0xed7c('0xe')]);router[_0xed7c('0xf')](_0xed7c('0x9'),auth[_0xed7c('0x7')](),controller[_0xed7c('0x10')]);module['exports']=router;