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 _0xca7f=['index','/:id','show','post','create','put','update','exports','path','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsApplication.controller','get','isAuthenticated'];(function(_0x3f6b57,_0x4996a2){var _0x35b267=function(_0x2017f3){while(--_0x2017f3){_0x3f6b57['push'](_0x3f6b57['shift']());}};_0x35b267(++_0x4996a2);}(_0xca7f,0x1ac));var _0xfca7=function(_0x1e4f2d,_0x22e2bb){_0x1e4f2d=_0x1e4f2d-0x0;var _0xd05ce5=_0xca7f[_0x1e4f2d];return _0xd05ce5;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xfca7('0x0'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0xfca7('0x1'));var interaction=require(_0xfca7('0x2'));var config=require(_0xfca7('0x3'));var controller=require(_0xfca7('0x4'));router[_0xfca7('0x5')]('/',auth[_0xfca7('0x6')](),controller[_0xfca7('0x7')]);router[_0xfca7('0x5')](_0xfca7('0x8'),auth[_0xfca7('0x6')](),controller[_0xfca7('0x9')]);router[_0xfca7('0xa')]('/',auth[_0xfca7('0x6')](),controller[_0xfca7('0xb')]);router[_0xfca7('0xc')](_0xfca7('0x8'),auth['isAuthenticated'](),controller[_0xfca7('0xd')]);router['delete'](_0xfca7('0x8'),auth[_0xfca7('0x6')](),controller['destroy']);module[_0xfca7('0xe')]=router;