Built motion from commit (unavailable).|2.5.31
[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 _0x7b44=['/create_many','bulkCreate','/:id/create_many','addFields','put','/:id','delete','/destroy_many','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticFieldReport.controller','get','isAuthenticated','show','post','create'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x7b44,0x14f));var _0x47b4=function(_0x452f50,_0x2734ff){_0x452f50=_0x452f50-0x0;var _0x451d69=_0x7b44[_0x452f50];return _0x451d69;};'use strict';var multer=require(_0x47b4('0x0'));var util=require(_0x47b4('0x1'));var path=require(_0x47b4('0x2'));var timeout=require('connect-timeout');var express=require(_0x47b4('0x3'));var router=express[_0x47b4('0x4')]();var fs_extra=require(_0x47b4('0x5'));var auth=require(_0x47b4('0x6'));var interaction=require(_0x47b4('0x7'));var config=require(_0x47b4('0x8'));var controller=require(_0x47b4('0x9'));router[_0x47b4('0xa')]('/',auth['isAuthenticated'](),controller['index']);router[_0x47b4('0xa')]('/:id',auth[_0x47b4('0xb')](),controller[_0x47b4('0xc')]);router[_0x47b4('0xd')]('/',auth[_0x47b4('0xb')](),controller[_0x47b4('0xe')]);router['post'](_0x47b4('0xf'),auth['isAuthenticated'](),controller[_0x47b4('0x10')]);router[_0x47b4('0xd')](_0x47b4('0x11'),auth[_0x47b4('0xb')](),controller[_0x47b4('0x12')]);router[_0x47b4('0x13')](_0x47b4('0x14'),auth['isAuthenticated'](),controller['update']);router[_0x47b4('0x15')](_0x47b4('0x16'),auth[_0x47b4('0xb')](),controller['bulkDestroy']);router[_0x47b4('0x15')](_0x47b4('0x14'),auth[_0x47b4('0xb')](),controller[_0x47b4('0x17')]);module[_0x47b4('0x18')]=router;