Built motion from commit (unavailable).|2.5.29
[motion2.git] / server / api / analyticFieldReport / 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 _0x34bb=['destroy','exports','multer','util','path','express','fs-extra','../../components/interaction/service','../../config/environment','./analyticFieldReport.controller','get','isAuthenticated','show','post','create','/create_many','/:id/create_many','addFields','put','/:id','update','delete','bulkDestroy'];(function(_0x236fb0,_0x4cc610){var _0xf72ca9=function(_0x1a30e5){while(--_0x1a30e5){_0x236fb0['push'](_0x236fb0['shift']());}};_0xf72ca9(++_0x4cc610);}(_0x34bb,0x116));var _0xb34b=function(_0x469e3e,_0x17793d){_0x469e3e=_0x469e3e-0x0;var _0x4002d5=_0x34bb[_0x469e3e];return _0x4002d5;};'use strict';var multer=require(_0xb34b('0x0'));var util=require(_0xb34b('0x1'));var path=require(_0xb34b('0x2'));var timeout=require('connect-timeout');var express=require(_0xb34b('0x3'));var router=express['Router']();var fs_extra=require(_0xb34b('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xb34b('0x5'));var config=require(_0xb34b('0x6'));var controller=require(_0xb34b('0x7'));router[_0xb34b('0x8')]('/',auth[_0xb34b('0x9')](),controller['index']);router[_0xb34b('0x8')]('/:id',auth[_0xb34b('0x9')](),controller[_0xb34b('0xa')]);router[_0xb34b('0xb')]('/',auth[_0xb34b('0x9')](),controller[_0xb34b('0xc')]);router[_0xb34b('0xb')](_0xb34b('0xd'),auth[_0xb34b('0x9')](),controller['bulkCreate']);router['post'](_0xb34b('0xe'),auth[_0xb34b('0x9')](),controller[_0xb34b('0xf')]);router[_0xb34b('0x10')](_0xb34b('0x11'),auth[_0xb34b('0x9')](),controller[_0xb34b('0x12')]);router[_0xb34b('0x13')]('/destroy_many',auth[_0xb34b('0x9')](),controller[_0xb34b('0x14')]);router[_0xb34b('0x13')](_0xb34b('0x11'),auth['isAuthenticated'](),controller[_0xb34b('0x15')]);module[_0xb34b('0x16')]=router;