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