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 _0x459a=['post','tracked','sms','smsmessage:create','create','put','/:id/accept','accept','/:id/reject','reject','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsMessage.controller','isAuthenticated','index','get','/describe','/:id','show'];(function(_0x82129b,_0x484ae9){var _0x2ae5dc=function(_0x299e34){while(--_0x299e34){_0x82129b['push'](_0x82129b['shift']());}};_0x2ae5dc(++_0x484ae9);}(_0x459a,0x1cd));var _0xa459=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x459a[_0xa464c9];return _0x3d73c4;};'use strict';var multer=require('multer');var util=require(_0xa459('0x0'));var path=require(_0xa459('0x1'));var timeout=require(_0xa459('0x2'));var express=require(_0xa459('0x3'));var router=express[_0xa459('0x4')]();var auth=require(_0xa459('0x5'));var interaction=require(_0xa459('0x6'));var config=require(_0xa459('0x7'));var controller=require(_0xa459('0x8'));router['get']('/',auth[_0xa459('0x9')](),controller[_0xa459('0xa')]);router[_0xa459('0xb')](_0xa459('0xc'),auth['isAuthenticated'](),controller['describe']);router['get'](_0xa459('0xd'),auth[_0xa459('0x9')](),controller[_0xa459('0xe')]);router[_0xa459('0xf')]('/',auth['isAuthenticated'](),interaction[_0xa459('0x10')](_0xa459('0x11'),_0xa459('0x12')),controller[_0xa459('0x13')]);router['post']('/:id/status',controller['status']);router[_0xa459('0x14')](_0xa459('0xd'),auth[_0xa459('0x9')](),controller['update']);router[_0xa459('0x14')](_0xa459('0x15'),auth[_0xa459('0x9')](),controller[_0xa459('0x16')]);router['put'](_0xa459('0x17'),auth[_0xa459('0x9')](),controller[_0xa459('0x18')]);router[_0xa459('0x19')](_0xa459('0xd'),auth[_0xa459('0x9')](),controller[_0xa459('0x1a')]);module[_0xa459('0x1b')]=router;