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 _0x9aa6=['fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/:id','show','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','Router'];(function(_0x59d89e,_0x55edf5){var _0x554e93=function(_0x3d40bc){while(--_0x3d40bc){_0x59d89e['push'](_0x59d89e['shift']());}};_0x554e93(++_0x55edf5);}(_0x9aa6,0x12b));var _0x69aa=function(_0xb6c352,_0xcfaec0){_0xb6c352=_0xb6c352-0x0;var _0x3aacbe=_0x9aa6[_0xb6c352];return _0x3aacbe;};'use strict';var multer=require(_0x69aa('0x0'));var util=require(_0x69aa('0x1'));var path=require(_0x69aa('0x2'));var timeout=require(_0x69aa('0x3'));var express=require('express');var router=express[_0x69aa('0x4')]();var fs_extra=require(_0x69aa('0x5'));var auth=require(_0x69aa('0x6'));var interaction=require(_0x69aa('0x7'));var config=require('../../config/environment');var controller=require('./cmCustomField.controller');router[_0x69aa('0x8')]('/',auth[_0x69aa('0x9')](),controller[_0x69aa('0xa')]);router[_0x69aa('0x8')](_0x69aa('0xb'),auth[_0x69aa('0x9')](),controller[_0x69aa('0xc')]);router['post']('/',auth[_0x69aa('0x9')](),controller[_0x69aa('0xd')]);router[_0x69aa('0xe')](_0x69aa('0xb'),auth[_0x69aa('0x9')](),controller[_0x69aa('0xf')]);router[_0x69aa('0x10')](_0x69aa('0xb'),auth['isAuthenticated'](),controller[_0x69aa('0x11')]);module[_0x69aa('0x12')]=router;