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