Built motion from commit (unavailable).|2.5.14
[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 _0x2ef1=['../../components/auth/service','../../components/interaction/service','./smsQueueReport.controller','get','index','/describe','isAuthenticated','/:id','show','put','update','destroy','exports','multer','util','connect-timeout','express','Router'];(function(_0x2cebc0,_0x340793){var _0x2afa6e=function(_0x5da5e7){while(--_0x5da5e7){_0x2cebc0['push'](_0x2cebc0['shift']());}};_0x2afa6e(++_0x340793);}(_0x2ef1,0x163));var _0x12ef=function(_0x368929,_0x10a531){_0x368929=_0x368929-0x0;var _0x2229b0=_0x2ef1[_0x368929];return _0x2229b0;};'use strict';var multer=require(_0x12ef('0x0'));var util=require(_0x12ef('0x1'));var path=require('path');var timeout=require(_0x12ef('0x2'));var express=require(_0x12ef('0x3'));var router=express[_0x12ef('0x4')]();var auth=require(_0x12ef('0x5'));var interaction=require(_0x12ef('0x6'));var config=require('../../config/environment');var controller=require(_0x12ef('0x7'));router[_0x12ef('0x8')]('/',auth['isAuthenticated'](),controller[_0x12ef('0x9')]);router[_0x12ef('0x8')](_0x12ef('0xa'),auth[_0x12ef('0xb')](),controller['describe']);router[_0x12ef('0x8')](_0x12ef('0xc'),auth[_0x12ef('0xb')](),controller[_0x12ef('0xd')]);router['post']('/',auth[_0x12ef('0xb')](),controller['create']);router[_0x12ef('0xe')](_0x12ef('0xc'),auth['isAuthenticated'](),controller[_0x12ef('0xf')]);router['delete']('/:id',auth[_0x12ef('0xb')](),controller[_0x12ef('0x10')]);module[_0x12ef('0x11')]=router;