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 _0xc1c5=['/:id','post','create','put','update','delete','destroy','multer','util','path','connect-timeout','express','./whatsappApplication.controller','get','isAuthenticated','index'];(function(_0x255c48,_0x2a4449){var _0xaebda3=function(_0x12a04e){while(--_0x12a04e){_0x255c48['push'](_0x255c48['shift']());}};_0xaebda3(++_0x2a4449);}(_0xc1c5,0x157));var _0x5c1c=function(_0x540004,_0x57689f){_0x540004=_0x540004-0x0;var _0x190d07=_0xc1c5[_0x540004];return _0x190d07;};'use strict';var multer=require(_0x5c1c('0x0'));var util=require(_0x5c1c('0x1'));var path=require(_0x5c1c('0x2'));var timeout=require(_0x5c1c('0x3'));var express=require(_0x5c1c('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x5c1c('0x5'));router[_0x5c1c('0x6')]('/',auth[_0x5c1c('0x7')](),controller[_0x5c1c('0x8')]);router[_0x5c1c('0x6')](_0x5c1c('0x9'),auth[_0x5c1c('0x7')](),controller['show']);router[_0x5c1c('0xa')]('/',auth[_0x5c1c('0x7')](),controller[_0x5c1c('0xb')]);router[_0x5c1c('0xc')](_0x5c1c('0x9'),auth[_0x5c1c('0x7')](),controller[_0x5c1c('0xd')]);router[_0x5c1c('0xe')](_0x5c1c('0x9'),auth[_0x5c1c('0x7')](),controller[_0x5c1c('0xf')]);module['exports']=router;