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 _0xc8ee=['describe','/:id','show','tracked','sms','smsmessage:create','create','post','status','put','/:id/accept','accept','/:id/reject','reject','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsMessage.controller','isAuthenticated','index','get','/describe'];(function(_0x2341c6,_0x3af092){var _0x54c34d=function(_0x3091f9){while(--_0x3091f9){_0x2341c6['push'](_0x2341c6['shift']());}};_0x54c34d(++_0x3af092);}(_0xc8ee,0xcb));var _0xec8e=function(_0x58493a,_0x40a51d){_0x58493a=_0x58493a-0x0;var _0x41ffa7=_0xc8ee[_0x58493a];return _0x41ffa7;};'use strict';var multer=require(_0xec8e('0x0'));var util=require(_0xec8e('0x1'));var path=require(_0xec8e('0x2'));var timeout=require(_0xec8e('0x3'));var express=require(_0xec8e('0x4'));var router=express[_0xec8e('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xec8e('0x6'));var interaction=require(_0xec8e('0x7'));var config=require(_0xec8e('0x8'));var controller=require(_0xec8e('0x9'));router['get']('/',auth[_0xec8e('0xa')](),controller[_0xec8e('0xb')]);router[_0xec8e('0xc')](_0xec8e('0xd'),auth[_0xec8e('0xa')](),controller[_0xec8e('0xe')]);router[_0xec8e('0xc')](_0xec8e('0xf'),auth[_0xec8e('0xa')](),controller[_0xec8e('0x10')]);router['post']('/',auth[_0xec8e('0xa')](),interaction[_0xec8e('0x11')](_0xec8e('0x12'),_0xec8e('0x13')),controller[_0xec8e('0x14')]);router[_0xec8e('0x15')]('/:id/status',controller[_0xec8e('0x16')]);router[_0xec8e('0x17')](_0xec8e('0xf'),auth[_0xec8e('0xa')](),controller['update']);router['put'](_0xec8e('0x18'),auth['isAuthenticated'](),controller[_0xec8e('0x19')]);router[_0xec8e('0x17')](_0xec8e('0x1a'),auth[_0xec8e('0xa')](),controller[_0xec8e('0x1b')]);router[_0xec8e('0x1c')]('/:id',auth[_0xec8e('0xa')](),controller[_0xec8e('0x1d')]);module[_0xec8e('0x1e')]=router;