Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / intFreshsalesAccount / 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 _0x5e54=['path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshsalesAccount.controller','get','isAuthenticated','show','/:id/configurations','/:id/fields','getFields','post','create','addConfiguration','put','/:id','update','delete','destroy','exports','multer','util'];(function(_0x591781,_0x8e0ed2){var _0x315bd9=function(_0x39166c){while(--_0x39166c){_0x591781['push'](_0x591781['shift']());}};_0x315bd9(++_0x8e0ed2);}(_0x5e54,0x196));var _0x45e5=function(_0x2edb9d,_0x675dee){_0x2edb9d=_0x2edb9d-0x0;var _0x4ad20c=_0x5e54[_0x2edb9d];return _0x4ad20c;};'use strict';var multer=require(_0x45e5('0x0'));var util=require(_0x45e5('0x1'));var path=require(_0x45e5('0x2'));var timeout=require(_0x45e5('0x3'));var express=require('express');var router=express[_0x45e5('0x4')]();var auth=require(_0x45e5('0x5'));var interaction=require(_0x45e5('0x6'));var config=require(_0x45e5('0x7'));var controller=require(_0x45e5('0x8'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x45e5('0x9')]('/:id',auth[_0x45e5('0xa')](),controller[_0x45e5('0xb')]);router[_0x45e5('0x9')](_0x45e5('0xc'),auth[_0x45e5('0xa')](),controller['getConfigurations']);router[_0x45e5('0x9')](_0x45e5('0xd'),auth[_0x45e5('0xa')](),controller[_0x45e5('0xe')]);router[_0x45e5('0xf')]('/',auth[_0x45e5('0xa')](),controller[_0x45e5('0x10')]);router['post'](_0x45e5('0xc'),auth[_0x45e5('0xa')](),controller[_0x45e5('0x11')]);router[_0x45e5('0x12')](_0x45e5('0x13'),auth[_0x45e5('0xa')](),controller[_0x45e5('0x14')]);router[_0x45e5('0x15')]('/:id',auth[_0x45e5('0xa')](),controller[_0x45e5('0x16')]);module[_0x45e5('0x17')]=router;