Built motion from commit (unavailable).|2.5.18
[motion2.git] / server / api / smsApplication / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xb9ae=['path','connect-timeout','Router','../../components/auth/service','./smsApplication.controller','get','/:id','isAuthenticated','show','post','create','put','delete','destroy','exports','multer'];(function(_0x11fb46,_0x7878ab){var _0x102896=function(_0xdee7c5){while(--_0xdee7c5){_0x11fb46['push'](_0x11fb46['shift']());}};_0x102896(++_0x7878ab);}(_0xb9ae,0x9f));var _0xeb9a=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xb9ae[_0x321bb2];return _0x9c12ed;};'use strict';var multer=require(_0xeb9a('0x0'));var util=require('util');var path=require(_0xeb9a('0x1'));var timeout=require(_0xeb9a('0x2'));var express=require('express');var router=express[_0xeb9a('0x3')]();var auth=require(_0xeb9a('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xeb9a('0x5'));router[_0xeb9a('0x6')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0xeb9a('0x7'),auth[_0xeb9a('0x8')](),controller[_0xeb9a('0x9')]);router[_0xeb9a('0xa')]('/',auth[_0xeb9a('0x8')](),controller[_0xeb9a('0xb')]);router[_0xeb9a('0xc')](_0xeb9a('0x7'),auth[_0xeb9a('0x8')](),controller['update']);router[_0xeb9a('0xd')](_0xeb9a('0x7'),auth[_0xeb9a('0x8')](),controller[_0xeb9a('0xe')]);module[_0xeb9a('0xf')]=router;