Built motion from commit (unavailable).|2.5.23
[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 _0x3fa0=['multer','util','connect-timeout','express','Router','../../components/auth/service','./smsApplication.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy'];(function(_0x42adb2,_0x6cc322){var _0x511ea6=function(_0x4b5a18){while(--_0x4b5a18){_0x42adb2['push'](_0x42adb2['shift']());}};_0x511ea6(++_0x6cc322);}(_0x3fa0,0x90));var _0x03fa=function(_0x2b8507,_0x1bc8e1){_0x2b8507=_0x2b8507-0x0;var _0x2385cd=_0x3fa0[_0x2b8507];return _0x2385cd;};'use strict';var multer=require(_0x03fa('0x0'));var util=require(_0x03fa('0x1'));var path=require('path');var timeout=require(_0x03fa('0x2'));var express=require(_0x03fa('0x3'));var router=express[_0x03fa('0x4')]();var auth=require(_0x03fa('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x03fa('0x6'));router[_0x03fa('0x7')]('/',auth[_0x03fa('0x8')](),controller[_0x03fa('0x9')]);router[_0x03fa('0x7')](_0x03fa('0xa'),auth[_0x03fa('0x8')](),controller[_0x03fa('0xb')]);router[_0x03fa('0xc')]('/',auth[_0x03fa('0x8')](),controller[_0x03fa('0xd')]);router[_0x03fa('0xe')](_0x03fa('0xa'),auth['isAuthenticated'](),controller[_0x03fa('0xf')]);router[_0x03fa('0x10')](_0x03fa('0xa'),auth[_0x03fa('0x8')](),controller[_0x03fa('0x11')]);module['exports']=router;