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 _0xc627=['isAuthenticated','index','/describe','/:id','show','post','update','delete','destroy','exports','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsQueueReport.controller','get'];(function(_0x2697d9,_0x26806a){var _0x25e6ae=function(_0x4ff250){while(--_0x4ff250){_0x2697d9['push'](_0x2697d9['shift']());}};_0x25e6ae(++_0x26806a);}(_0xc627,0x14a));var _0x7c62=function(_0x5e9715,_0x151513){_0x5e9715=_0x5e9715-0x0;var _0xb50a72=_0xc627[_0x5e9715];return _0xb50a72;};'use strict';var multer=require('multer');var util=require(_0x7c62('0x0'));var path=require(_0x7c62('0x1'));var timeout=require(_0x7c62('0x2'));var express=require('express');var router=express[_0x7c62('0x3')]();var fs_extra=require(_0x7c62('0x4'));var auth=require(_0x7c62('0x5'));var interaction=require(_0x7c62('0x6'));var config=require(_0x7c62('0x7'));var controller=require(_0x7c62('0x8'));router[_0x7c62('0x9')]('/',auth[_0x7c62('0xa')](),controller[_0x7c62('0xb')]);router[_0x7c62('0x9')](_0x7c62('0xc'),auth[_0x7c62('0xa')](),controller['describe']);router['get'](_0x7c62('0xd'),auth[_0x7c62('0xa')](),controller[_0x7c62('0xe')]);router[_0x7c62('0xf')]('/',auth['isAuthenticated'](),controller['create']);router['put'](_0x7c62('0xd'),auth['isAuthenticated'](),controller[_0x7c62('0x10')]);router[_0x7c62('0x11')](_0x7c62('0xd'),auth[_0x7c62('0xa')](),controller[_0x7c62('0x12')]);module[_0x7c62('0x13')]=router;