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 _0x5960=['destroy','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./variable.controller','isAuthenticated','index','get','/:id','show','create','put','delete'];(function(_0x374927,_0x334b10){var _0x5f1fde=function(_0x18585d){while(--_0x18585d){_0x374927['push'](_0x374927['shift']());}};_0x5f1fde(++_0x334b10);}(_0x5960,0x131));var _0x0596=function(_0x306efd,_0x4f92ea){_0x306efd=_0x306efd-0x0;var _0x4c94d4=_0x5960[_0x306efd];return _0x4c94d4;};'use strict';var multer=require(_0x0596('0x0'));var util=require(_0x0596('0x1'));var path=require(_0x0596('0x2'));var timeout=require('connect-timeout');var express=require(_0x0596('0x3'));var router=express[_0x0596('0x4')]();var fs_extra=require(_0x0596('0x5'));var auth=require(_0x0596('0x6'));var interaction=require(_0x0596('0x7'));var config=require(_0x0596('0x8'));var controller=require(_0x0596('0x9'));router['get']('/',auth[_0x0596('0xa')](),controller[_0x0596('0xb')]);router[_0x0596('0xc')](_0x0596('0xd'),auth[_0x0596('0xa')](),controller[_0x0596('0xe')]);router['post']('/',auth[_0x0596('0xa')](),controller[_0x0596('0xf')]);router[_0x0596('0x10')]('/:id',auth[_0x0596('0xa')](),controller['update']);router[_0x0596('0x11')](_0x0596('0xd'),auth[_0x0596('0xa')](),controller[_0x0596('0x12')]);module['exports']=router;