48faafd8f8c88c27617046ad64044e2d7294bc9c
[motion2.git] / server / api / smsQueueReport / 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 _0x67bb=['../../components/interaction/service','../../config/environment','./smsQueueReport.controller','get','isAuthenticated','index','/describe','/:id','post','create','put','destroy','multer','util','connect-timeout','express','Router','../../components/auth/service'];(function(_0x44fc92,_0x2a38bb){var _0x14455d=function(_0xf9ecc8){while(--_0xf9ecc8){_0x44fc92['push'](_0x44fc92['shift']());}};_0x14455d(++_0x2a38bb);}(_0x67bb,0x11a));var _0xb67b=function(_0x415a8a,_0x22cd25){_0x415a8a=_0x415a8a-0x0;var _0x2c9351=_0x67bb[_0x415a8a];return _0x2c9351;};'use strict';var multer=require(_0xb67b('0x0'));var util=require(_0xb67b('0x1'));var path=require('path');var timeout=require(_0xb67b('0x2'));var express=require(_0xb67b('0x3'));var router=express[_0xb67b('0x4')]();var auth=require(_0xb67b('0x5'));var interaction=require(_0xb67b('0x6'));var config=require(_0xb67b('0x7'));var controller=require(_0xb67b('0x8'));router[_0xb67b('0x9')]('/',auth[_0xb67b('0xa')](),controller[_0xb67b('0xb')]);router[_0xb67b('0x9')](_0xb67b('0xc'),auth[_0xb67b('0xa')](),controller['describe']);router[_0xb67b('0x9')](_0xb67b('0xd'),auth[_0xb67b('0xa')](),controller['show']);router[_0xb67b('0xe')]('/',auth['isAuthenticated'](),controller[_0xb67b('0xf')]);router[_0xb67b('0x10')]('/:id',auth[_0xb67b('0xa')](),controller['update']);router['delete'](_0xb67b('0xd'),auth[_0xb67b('0xa')](),controller[_0xb67b('0x11')]);module['exports']=router;