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 _0xe369=['/:id','show','post','create','put','update','delete','destroy','exports','util','connect-timeout','Router','fs-extra','../../components/auth/service','./whatsappApplication.controller','get','isAuthenticated','index'];(function(_0x592cea,_0x4e72f1){var _0x1e9cc6=function(_0x166217){while(--_0x166217){_0x592cea['push'](_0x592cea['shift']());}};_0x1e9cc6(++_0x4e72f1);}(_0xe369,0x87));var _0x9e36=function(_0x4e8264,_0x571f10){_0x4e8264=_0x4e8264-0x0;var _0x40c69d=_0xe369[_0x4e8264];return _0x40c69d;};'use strict';var multer=require('multer');var util=require(_0x9e36('0x0'));var path=require('path');var timeout=require(_0x9e36('0x1'));var express=require('express');var router=express[_0x9e36('0x2')]();var fs_extra=require(_0x9e36('0x3'));var auth=require(_0x9e36('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x9e36('0x5'));router[_0x9e36('0x6')]('/',auth[_0x9e36('0x7')](),controller[_0x9e36('0x8')]);router['get'](_0x9e36('0x9'),auth[_0x9e36('0x7')](),controller[_0x9e36('0xa')]);router[_0x9e36('0xb')]('/',auth[_0x9e36('0x7')](),controller[_0x9e36('0xc')]);router[_0x9e36('0xd')](_0x9e36('0x9'),auth[_0x9e36('0x7')](),controller[_0x9e36('0xe')]);router[_0x9e36('0xf')](_0x9e36('0x9'),auth[_0x9e36('0x7')](),controller[_0x9e36('0x10')]);module[_0x9e36('0x11')]=router;