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 _0x63e4=['/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','put','update','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./intZendeskAccount.controller','get','isAuthenticated','index','/:id','show'];(function(_0x1cb29b,_0x9bf287){var _0x12b692=function(_0x15797f){while(--_0x15797f){_0x1cb29b['push'](_0x1cb29b['shift']());}};_0x12b692(++_0x9bf287);}(_0x63e4,0x12a));var _0x463e=function(_0x47f31c,_0x1f1fdf){_0x47f31c=_0x47f31c-0x0;var _0x138b8c=_0x63e4[_0x47f31c];return _0x138b8c;};'use strict';var multer=require(_0x463e('0x0'));var util=require(_0x463e('0x1'));var path=require(_0x463e('0x2'));var timeout=require(_0x463e('0x3'));var express=require(_0x463e('0x4'));var router=express[_0x463e('0x5')]();var auth=require(_0x463e('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x463e('0x7'));var controller=require(_0x463e('0x8'));router[_0x463e('0x9')]('/',auth[_0x463e('0xa')](),controller[_0x463e('0xb')]);router[_0x463e('0x9')](_0x463e('0xc'),auth[_0x463e('0xa')](),controller[_0x463e('0xd')]);router[_0x463e('0x9')](_0x463e('0xe'),auth[_0x463e('0xa')](),controller[_0x463e('0xf')]);router[_0x463e('0x9')](_0x463e('0x10'),auth['isAuthenticated'](),controller[_0x463e('0x11')]);router[_0x463e('0x12')]('/',auth[_0x463e('0xa')](),controller[_0x463e('0x13')]);router['post'](_0x463e('0xe'),auth[_0x463e('0xa')](),controller['addConfiguration']);router[_0x463e('0x14')](_0x463e('0xc'),auth[_0x463e('0xa')](),controller[_0x463e('0x15')]);router['delete'](_0x463e('0xc'),auth[_0x463e('0xa')](),controller[_0x463e('0x16')]);module[_0x463e('0x17')]=router;