Built motion from commit (unavailable).|2.0.84
[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 _0xa5fa=['connect-timeout','express','../../components/auth/service','../../components/interaction/service','./analyticFieldReport.controller','get','isAuthenticated','index','/:id','show','post','create','/create_many','/:id/create_many','put','update','delete','/destroy_many','destroy','exports','util','path'];(function(_0x1084a9,_0x3640f3){var _0x3d2b28=function(_0x2361e2){while(--_0x2361e2){_0x1084a9['push'](_0x1084a9['shift']());}};_0x3d2b28(++_0x3640f3);}(_0xa5fa,0xc4));var _0xaa5f=function(_0x3ae1c8,_0x4f1c21){_0x3ae1c8=_0x3ae1c8-0x0;var _0x5a2621=_0xa5fa[_0x3ae1c8];return _0x5a2621;};'use strict';var multer=require('multer');var util=require(_0xaa5f('0x0'));var path=require(_0xaa5f('0x1'));var timeout=require(_0xaa5f('0x2'));var express=require(_0xaa5f('0x3'));var router=express['Router']();var auth=require(_0xaa5f('0x4'));var interaction=require(_0xaa5f('0x5'));var config=require('../../config/environment');var controller=require(_0xaa5f('0x6'));router[_0xaa5f('0x7')]('/',auth[_0xaa5f('0x8')](),controller[_0xaa5f('0x9')]);router[_0xaa5f('0x7')](_0xaa5f('0xa'),auth[_0xaa5f('0x8')](),controller[_0xaa5f('0xb')]);router[_0xaa5f('0xc')]('/',auth[_0xaa5f('0x8')](),controller[_0xaa5f('0xd')]);router['post'](_0xaa5f('0xe'),auth[_0xaa5f('0x8')](),controller['bulkCreate']);router['post'](_0xaa5f('0xf'),auth['isAuthenticated'](),controller['addFields']);router[_0xaa5f('0x10')]('/:id',auth[_0xaa5f('0x8')](),controller[_0xaa5f('0x11')]);router[_0xaa5f('0x12')](_0xaa5f('0x13'),auth[_0xaa5f('0x8')](),controller['bulkDestroy']);router[_0xaa5f('0x12')]('/:id',auth[_0xaa5f('0x8')](),controller[_0xaa5f('0x14')]);module[_0xaa5f('0x15')]=router;