Built motion from commit (unavailable).|2.5.21
[motion2.git] / server / api / faxTransferReport / 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 _0x79c5=['destroy','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxTransferReport.controller','get','index','/describe','isAuthenticated','describe','show','post','create','put','/:id','update','delete'];(function(_0x2b26bc,_0x403b2f){var _0x4f3224=function(_0x53b8f5){while(--_0x53b8f5){_0x2b26bc['push'](_0x2b26bc['shift']());}};_0x4f3224(++_0x403b2f);}(_0x79c5,0x1b9));var _0x579c=function(_0x33274b,_0x10f65b){_0x33274b=_0x33274b-0x0;var _0x1e4978=_0x79c5[_0x33274b];return _0x1e4978;};'use strict';var multer=require(_0x579c('0x0'));var util=require(_0x579c('0x1'));var path=require(_0x579c('0x2'));var timeout=require(_0x579c('0x3'));var express=require(_0x579c('0x4'));var router=express['Router']();var auth=require(_0x579c('0x5'));var interaction=require(_0x579c('0x6'));var config=require(_0x579c('0x7'));var controller=require(_0x579c('0x8'));router[_0x579c('0x9')]('/',auth['isAuthenticated'](),controller[_0x579c('0xa')]);router[_0x579c('0x9')](_0x579c('0xb'),auth[_0x579c('0xc')](),controller[_0x579c('0xd')]);router['get']('/:id',auth[_0x579c('0xc')](),controller[_0x579c('0xe')]);router[_0x579c('0xf')]('/',auth[_0x579c('0xc')](),controller[_0x579c('0x10')]);router[_0x579c('0x11')](_0x579c('0x12'),auth[_0x579c('0xc')](),controller[_0x579c('0x13')]);router[_0x579c('0x14')](_0x579c('0x12'),auth[_0x579c('0xc')](),controller[_0x579c('0x15')]);module['exports']=router;