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 _0x04cf=['/:id/reject','reject','delete','destroy','multer','util','connect-timeout','Router','../../components/auth/service','./smsMessage.controller','isAuthenticated','index','get','/describe','describe','/:id','show','sms','smsmessage:create','create','put','update','/:id/accept','accept'];(function(_0x4068a3,_0x1c2cd3){var _0xcdea1=function(_0x1eabe1){while(--_0x1eabe1){_0x4068a3['push'](_0x4068a3['shift']());}};_0xcdea1(++_0x1c2cd3);}(_0x04cf,0xf4));var _0xf04c=function(_0x3441e9,_0x269c8a){_0x3441e9=_0x3441e9-0x0;var _0x7f9ada=_0x04cf[_0x3441e9];return _0x7f9ada;};'use strict';var multer=require(_0xf04c('0x0'));var util=require(_0xf04c('0x1'));var path=require('path');var timeout=require(_0xf04c('0x2'));var express=require('express');var router=express[_0xf04c('0x3')]();var auth=require(_0xf04c('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xf04c('0x5'));router['get']('/',auth[_0xf04c('0x6')](),controller[_0xf04c('0x7')]);router[_0xf04c('0x8')](_0xf04c('0x9'),auth[_0xf04c('0x6')](),controller[_0xf04c('0xa')]);router[_0xf04c('0x8')](_0xf04c('0xb'),auth[_0xf04c('0x6')](),controller[_0xf04c('0xc')]);router['post']('/',auth[_0xf04c('0x6')](),interaction['tracked'](_0xf04c('0xd'),_0xf04c('0xe')),controller[_0xf04c('0xf')]);router['post']('/:id/status',controller['status']);router[_0xf04c('0x10')](_0xf04c('0xb'),auth[_0xf04c('0x6')](),controller[_0xf04c('0x11')]);router['put'](_0xf04c('0x12'),auth['isAuthenticated'](),controller[_0xf04c('0x13')]);router[_0xf04c('0x10')](_0xf04c('0x14'),auth[_0xf04c('0x6')](),controller[_0xf04c('0x15')]);router[_0xf04c('0x16')](_0xf04c('0xb'),auth[_0xf04c('0x6')](),controller[_0xf04c('0x17')]);module['exports']=router;