Built motion from commit (unavailable).|2.2.0
[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 _0xd404=['express','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticFieldReport.controller','get','isAuthenticated','index','/:id','show','post','create','bulkCreate','/:id/create_many','addFields','put','update','delete','/destroy_many','bulkDestroy','destroy','exports','multer','util','connect-timeout'];(function(_0x32aa1e,_0x2fd419){var _0xc71a63=function(_0x875db8){while(--_0x875db8){_0x32aa1e['push'](_0x32aa1e['shift']());}};_0xc71a63(++_0x2fd419);}(_0xd404,0x15b));var _0x4d40=function(_0x22c7d8,_0x43f355){_0x22c7d8=_0x22c7d8-0x0;var _0x514930=_0xd404[_0x22c7d8];return _0x514930;};'use strict';var multer=require(_0x4d40('0x0'));var util=require(_0x4d40('0x1'));var path=require('path');var timeout=require(_0x4d40('0x2'));var express=require(_0x4d40('0x3'));var router=express['Router']();var auth=require(_0x4d40('0x4'));var interaction=require(_0x4d40('0x5'));var config=require(_0x4d40('0x6'));var controller=require(_0x4d40('0x7'));router[_0x4d40('0x8')]('/',auth[_0x4d40('0x9')](),controller[_0x4d40('0xa')]);router[_0x4d40('0x8')](_0x4d40('0xb'),auth['isAuthenticated'](),controller[_0x4d40('0xc')]);router[_0x4d40('0xd')]('/',auth['isAuthenticated'](),controller[_0x4d40('0xe')]);router['post']('/create_many',auth[_0x4d40('0x9')](),controller[_0x4d40('0xf')]);router[_0x4d40('0xd')](_0x4d40('0x10'),auth[_0x4d40('0x9')](),controller[_0x4d40('0x11')]);router[_0x4d40('0x12')](_0x4d40('0xb'),auth[_0x4d40('0x9')](),controller[_0x4d40('0x13')]);router[_0x4d40('0x14')](_0x4d40('0x15'),auth[_0x4d40('0x9')](),controller[_0x4d40('0x16')]);router['delete'](_0x4d40('0xb'),auth[_0x4d40('0x9')](),controller[_0x4d40('0x17')]);module[_0x4d40('0x18')]=router;