cc7ceeaab31887e2989e3b7c703ddc536dd21e71
[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 _0x9f15=['addFields','put','update','delete','destroy','exports','multer','path','connect-timeout','express','fs-extra','../../components/auth/service','../../config/environment','./analyticFieldReport.controller','get','isAuthenticated','index','/:id','show','post','create','/create_many','/:id/create_many'];(function(_0x2df755,_0x43b39b){var _0x3260c3=function(_0x549eaf){while(--_0x549eaf){_0x2df755['push'](_0x2df755['shift']());}};_0x3260c3(++_0x43b39b);}(_0x9f15,0x131));var _0x59f1=function(_0x338581,_0x85c756){_0x338581=_0x338581-0x0;var _0x306123=_0x9f15[_0x338581];return _0x306123;};'use strict';var multer=require(_0x59f1('0x0'));var util=require('util');var path=require(_0x59f1('0x1'));var timeout=require(_0x59f1('0x2'));var express=require(_0x59f1('0x3'));var router=express['Router']();var fs_extra=require(_0x59f1('0x4'));var auth=require(_0x59f1('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x59f1('0x6'));var controller=require(_0x59f1('0x7'));router[_0x59f1('0x8')]('/',auth[_0x59f1('0x9')](),controller[_0x59f1('0xa')]);router[_0x59f1('0x8')](_0x59f1('0xb'),auth[_0x59f1('0x9')](),controller[_0x59f1('0xc')]);router[_0x59f1('0xd')]('/',auth['isAuthenticated'](),controller[_0x59f1('0xe')]);router[_0x59f1('0xd')](_0x59f1('0xf'),auth[_0x59f1('0x9')](),controller['bulkCreate']);router['post'](_0x59f1('0x10'),auth[_0x59f1('0x9')](),controller[_0x59f1('0x11')]);router[_0x59f1('0x12')](_0x59f1('0xb'),auth[_0x59f1('0x9')](),controller[_0x59f1('0x13')]);router[_0x59f1('0x14')]('/destroy_many',auth['isAuthenticated'](),controller['bulkDestroy']);router[_0x59f1('0x14')](_0x59f1('0xb'),auth[_0x59f1('0x9')](),controller[_0x59f1('0x15')]);module[_0x59f1('0x16')]=router;