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 _0x39c4=['isAuthenticated','index','get','/:id','/:id/configurations','getConfigurations','/:id/fields','getFields','create','post','addConfiguration','update','delete','multer','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZendeskAccount.controller'];(function(_0x414cc8,_0x1f184b){var _0xae0512=function(_0x2964c5){while(--_0x2964c5){_0x414cc8['push'](_0x414cc8['shift']());}};_0xae0512(++_0x1f184b);}(_0x39c4,0xdf));var _0x439c=function(_0xcf8e3a,_0x10e8c4){_0xcf8e3a=_0xcf8e3a-0x0;var _0x426f62=_0x39c4[_0xcf8e3a];return _0x426f62;};'use strict';var multer=require(_0x439c('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x439c('0x1'));var express=require(_0x439c('0x2'));var router=express['Router']();var fs_extra=require(_0x439c('0x3'));var auth=require(_0x439c('0x4'));var interaction=require(_0x439c('0x5'));var config=require(_0x439c('0x6'));var controller=require(_0x439c('0x7'));router['get']('/',auth[_0x439c('0x8')](),controller[_0x439c('0x9')]);router[_0x439c('0xa')](_0x439c('0xb'),auth['isAuthenticated'](),controller['show']);router[_0x439c('0xa')](_0x439c('0xc'),auth[_0x439c('0x8')](),controller[_0x439c('0xd')]);router[_0x439c('0xa')](_0x439c('0xe'),auth[_0x439c('0x8')](),controller[_0x439c('0xf')]);router['post']('/',auth['isAuthenticated'](),controller[_0x439c('0x10')]);router[_0x439c('0x11')](_0x439c('0xc'),auth[_0x439c('0x8')](),controller[_0x439c('0x12')]);router['put'](_0x439c('0xb'),auth[_0x439c('0x8')](),controller[_0x439c('0x13')]);router[_0x439c('0x14')](_0x439c('0xb'),auth[_0x439c('0x8')](),controller['destroy']);module['exports']=router;