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 _0x241c=['isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy','util','path','connect-timeout','Router','../../components/auth/service','../../config/environment','get'];(function(_0x4e7dd9,_0x948713){var _0x3ab8d9=function(_0x5a2bb9){while(--_0x5a2bb9){_0x4e7dd9['push'](_0x4e7dd9['shift']());}};_0x3ab8d9(++_0x948713);}(_0x241c,0x109));var _0xc241=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x241c[_0x14add3];return _0x4a174f;};'use strict';var multer=require('multer');var util=require(_0xc241('0x0'));var path=require(_0xc241('0x1'));var timeout=require(_0xc241('0x2'));var express=require('express');var router=express[_0xc241('0x3')]();var auth=require(_0xc241('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xc241('0x5'));var controller=require('./smsApplication.controller');router[_0xc241('0x6')]('/',auth[_0xc241('0x7')](),controller[_0xc241('0x8')]);router['get'](_0xc241('0x9'),auth[_0xc241('0x7')](),controller[_0xc241('0xa')]);router[_0xc241('0xb')]('/',auth[_0xc241('0x7')](),controller[_0xc241('0xc')]);router[_0xc241('0xd')](_0xc241('0x9'),auth[_0xc241('0x7')](),controller[_0xc241('0xe')]);router[_0xc241('0xf')](_0xc241('0x9'),auth[_0xc241('0x7')](),controller[_0xc241('0x10')]);module['exports']=router;