Built motion from commit 9d7072cc.|2.5.39
[motion2.git] / server / api / intFreshsalesConfiguration / 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 _0x9bc4=['get','isAuthenticated','index','show','/:id/subjects','getSubjects','/:id/descriptions','/:id/fields','getFields','post','create','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./intFreshsalesConfiguration.controller'];(function(_0x4e4121,_0x2fb238){var _0x48df77=function(_0x37b319){while(--_0x37b319){_0x4e4121['push'](_0x4e4121['shift']());}};_0x48df77(++_0x2fb238);}(_0x9bc4,0xce));var _0x49bc=function(_0x11e876,_0x1ae465){_0x11e876=_0x11e876-0x0;var _0x8880da=_0x9bc4[_0x11e876];return _0x8880da;};'use strict';var multer=require(_0x49bc('0x0'));var util=require(_0x49bc('0x1'));var path=require(_0x49bc('0x2'));var timeout=require(_0x49bc('0x3'));var express=require(_0x49bc('0x4'));var router=express[_0x49bc('0x5')]();var fs_extra=require(_0x49bc('0x6'));var auth=require(_0x49bc('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x49bc('0x8'));var controller=require(_0x49bc('0x9'));router[_0x49bc('0xa')]('/',auth[_0x49bc('0xb')](),controller[_0x49bc('0xc')]);router[_0x49bc('0xa')]('/:id',auth[_0x49bc('0xb')](),controller[_0x49bc('0xd')]);router[_0x49bc('0xa')](_0x49bc('0xe'),auth['isAuthenticated'](),controller[_0x49bc('0xf')]);router[_0x49bc('0xa')](_0x49bc('0x10'),auth['isAuthenticated'](),controller['getDescriptions']);router[_0x49bc('0xa')](_0x49bc('0x11'),auth[_0x49bc('0xb')](),controller[_0x49bc('0x12')]);router[_0x49bc('0x13')]('/',auth[_0x49bc('0xb')](),controller[_0x49bc('0x14')]);router[_0x49bc('0x15')](_0x49bc('0x16'),auth[_0x49bc('0xb')](),controller[_0x49bc('0x17')]);router[_0x49bc('0x18')](_0x49bc('0x16'),auth[_0x49bc('0xb')](),controller[_0x49bc('0x19')]);module[_0x49bc('0x1a')]=router;