5768540afe9cb64b4b35bd917eedc4ccfcafa8aa
[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 _0xf4ac=['isAuthenticated','index','/describe','describe','/:id','show','create','update','delete','exports','multer','util','path','fs-extra','../../components/interaction/service','../../config/environment','./smsQueueReport.controller','get'];(function(_0x24d711,_0x3cdb28){var _0x3491b4=function(_0xd5957e){while(--_0xd5957e){_0x24d711['push'](_0x24d711['shift']());}};_0x3491b4(++_0x3cdb28);}(_0xf4ac,0xd0));var _0xcf4a=function(_0xefafe4,_0x1df25b){_0xefafe4=_0xefafe4-0x0;var _0x42a22a=_0xf4ac[_0xefafe4];return _0x42a22a;};'use strict';var multer=require(_0xcf4a('0x0'));var util=require(_0xcf4a('0x1'));var path=require(_0xcf4a('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0xcf4a('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xcf4a('0x4'));var config=require(_0xcf4a('0x5'));var controller=require(_0xcf4a('0x6'));router[_0xcf4a('0x7')]('/',auth[_0xcf4a('0x8')](),controller[_0xcf4a('0x9')]);router[_0xcf4a('0x7')](_0xcf4a('0xa'),auth[_0xcf4a('0x8')](),controller[_0xcf4a('0xb')]);router['get'](_0xcf4a('0xc'),auth[_0xcf4a('0x8')](),controller[_0xcf4a('0xd')]);router['post']('/',auth[_0xcf4a('0x8')](),controller[_0xcf4a('0xe')]);router['put'](_0xcf4a('0xc'),auth['isAuthenticated'](),controller[_0xcf4a('0xf')]);router[_0xcf4a('0x10')](_0xcf4a('0xc'),auth[_0xcf4a('0x8')](),controller['destroy']);module[_0xcf4a('0x11')]=router;