2d47257770be0e2868f1ead8fda30fc07c1c2e70
[motion2.git] / server / api / smsTransferReport / 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 _0x202c=['destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsTransferReport.controller','isAuthenticated','index','/describe','describe','get','/:id','show','post','create','put','update','delete'];(function(_0x21a9d9,_0x4d5ac8){var _0x46adce=function(_0xfdd336){while(--_0xfdd336){_0x21a9d9['push'](_0x21a9d9['shift']());}};_0x46adce(++_0x4d5ac8);}(_0x202c,0x178));var _0xc202=function(_0x4187c0,_0x15a4dc){_0x4187c0=_0x4187c0-0x0;var _0x4b5b03=_0x202c[_0x4187c0];return _0x4b5b03;};'use strict';var multer=require(_0xc202('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xc202('0x1'));var express=require(_0xc202('0x2'));var router=express[_0xc202('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xc202('0x4'));var interaction=require(_0xc202('0x5'));var config=require(_0xc202('0x6'));var controller=require(_0xc202('0x7'));router['get']('/',auth[_0xc202('0x8')](),controller[_0xc202('0x9')]);router['get'](_0xc202('0xa'),auth['isAuthenticated'](),controller[_0xc202('0xb')]);router[_0xc202('0xc')](_0xc202('0xd'),auth[_0xc202('0x8')](),controller[_0xc202('0xe')]);router[_0xc202('0xf')]('/',auth[_0xc202('0x8')](),controller[_0xc202('0x10')]);router[_0xc202('0x11')](_0xc202('0xd'),auth[_0xc202('0x8')](),controller[_0xc202('0x12')]);router[_0xc202('0x13')]('/:id',auth[_0xc202('0x8')](),controller[_0xc202('0x14')]);module[_0xc202('0x15')]=router;