27a6e17f6e463570147bdaf6eb1bf163f5166d58
[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 _0xb453=['../../config/environment','./smsQueueReport.controller','get','isAuthenticated','index','/describe','/:id','show','post','create','update','delete','destroy','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service'];(function(_0x1fd972,_0x1bec54){var _0xf99733=function(_0x22baa7){while(--_0x22baa7){_0x1fd972['push'](_0x1fd972['shift']());}};_0xf99733(++_0x1bec54);}(_0xb453,0x1e8));var _0x3b45=function(_0x1dd59d,_0x509804){_0x1dd59d=_0x1dd59d-0x0;var _0x4f9734=_0xb453[_0x1dd59d];return _0x4f9734;};'use strict';var multer=require(_0x3b45('0x0'));var util=require(_0x3b45('0x1'));var path=require('path');var timeout=require(_0x3b45('0x2'));var express=require(_0x3b45('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x3b45('0x4'));var interaction=require(_0x3b45('0x5'));var config=require(_0x3b45('0x6'));var controller=require(_0x3b45('0x7'));router[_0x3b45('0x8')]('/',auth[_0x3b45('0x9')](),controller[_0x3b45('0xa')]);router[_0x3b45('0x8')](_0x3b45('0xb'),auth[_0x3b45('0x9')](),controller['describe']);router[_0x3b45('0x8')](_0x3b45('0xc'),auth[_0x3b45('0x9')](),controller[_0x3b45('0xd')]);router[_0x3b45('0xe')]('/',auth[_0x3b45('0x9')](),controller[_0x3b45('0xf')]);router['put'](_0x3b45('0xc'),auth['isAuthenticated'](),controller[_0x3b45('0x10')]);router[_0x3b45('0x11')](_0x3b45('0xc'),auth[_0x3b45('0x9')](),controller[_0x3b45('0x12')]);module['exports']=router;