Built motion from commit (unavailable).|2.5.1
[motion2.git] / server / api / whatsappTransferReport / 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 _0x2e17=['util','connect-timeout','Router','../../components/auth/service','../../config/environment','./whatsappTransferReport.controller','isAuthenticated','get','/describe','post','create','/:id','update','delete','destroy','exports','multer'];(function(_0x484c03,_0x13c1d2){var _0x294127=function(_0x45a834){while(--_0x45a834){_0x484c03['push'](_0x484c03['shift']());}};_0x294127(++_0x13c1d2);}(_0x2e17,0x98));var _0x72e1=function(_0x1d558c,_0x1e497c){_0x1d558c=_0x1d558c-0x0;var _0x15767d=_0x2e17[_0x1d558c];return _0x15767d;};'use strict';var multer=require(_0x72e1('0x0'));var util=require(_0x72e1('0x1'));var path=require('path');var timeout=require(_0x72e1('0x2'));var express=require('express');var router=express[_0x72e1('0x3')]();var auth=require(_0x72e1('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x72e1('0x5'));var controller=require(_0x72e1('0x6'));router['get']('/',auth[_0x72e1('0x7')](),controller['index']);router[_0x72e1('0x8')](_0x72e1('0x9'),auth[_0x72e1('0x7')](),controller['describe']);router['get']('/:id',auth[_0x72e1('0x7')](),controller['show']);router[_0x72e1('0xa')]('/',auth[_0x72e1('0x7')](),controller[_0x72e1('0xb')]);router['put'](_0x72e1('0xc'),auth[_0x72e1('0x7')](),controller[_0x72e1('0xd')]);router[_0x72e1('0xe')]('/:id',auth[_0x72e1('0x7')](),controller[_0x72e1('0xf')]);module[_0x72e1('0x10')]=router;