Built motion from commit 97153652.|2.6.26
[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 _0xab86=['../../config/environment','./smsTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','create','update','exports','multer','util','path','Router','../../components/auth/service'];(function(_0x3bb21a,_0x353b56){var _0x5f3983=function(_0x334b13){while(--_0x334b13){_0x3bb21a['push'](_0x3bb21a['shift']());}};_0x5f3983(++_0x353b56);}(_0xab86,0x13e));var _0x6ab8=function(_0xc1e0c8,_0x26969a){_0xc1e0c8=_0xc1e0c8-0x0;var _0xf8b981=_0xab86[_0xc1e0c8];return _0xf8b981;};'use strict';var multer=require(_0x6ab8('0x0'));var util=require(_0x6ab8('0x1'));var path=require(_0x6ab8('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x6ab8('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x6ab8('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x6ab8('0x5'));var controller=require(_0x6ab8('0x6'));router[_0x6ab8('0x7')]('/',auth[_0x6ab8('0x8')](),controller[_0x6ab8('0x9')]);router[_0x6ab8('0x7')](_0x6ab8('0xa'),auth[_0x6ab8('0x8')](),controller[_0x6ab8('0xb')]);router[_0x6ab8('0x7')](_0x6ab8('0xc'),auth[_0x6ab8('0x8')](),controller[_0x6ab8('0xd')]);router['post']('/',auth['isAuthenticated'](),controller[_0x6ab8('0xe')]);router['put'](_0x6ab8('0xc'),auth[_0x6ab8('0x8')](),controller[_0x6ab8('0xf')]);router['delete'](_0x6ab8('0xc'),auth[_0x6ab8('0x8')](),controller['destroy']);module[_0x6ab8('0x10')]=router;