Built motion from commit (unavailable).|2.5.10
[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 _0xc7c9=['Router','../../components/interaction/service','../../config/environment','./intFreshsalesAccount.controller','get','isAuthenticated','index','/:id','show','/:id/configurations','/:id/fields','getFields','post','create','addConfiguration','put','update','delete','destroy','exports','multer','util','path','connect-timeout'];(function(_0x36884e,_0x48008f){var _0x1cc367=function(_0x388a78){while(--_0x388a78){_0x36884e['push'](_0x36884e['shift']());}};_0x1cc367(++_0x48008f);}(_0xc7c9,0xec));var _0x9c7c=function(_0x5ef518,_0x4e7826){_0x5ef518=_0x5ef518-0x0;var _0x2ee181=_0xc7c9[_0x5ef518];return _0x2ee181;};'use strict';var multer=require(_0x9c7c('0x0'));var util=require(_0x9c7c('0x1'));var path=require(_0x9c7c('0x2'));var timeout=require(_0x9c7c('0x3'));var express=require('express');var router=express[_0x9c7c('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x9c7c('0x5'));var config=require(_0x9c7c('0x6'));var controller=require(_0x9c7c('0x7'));router[_0x9c7c('0x8')]('/',auth[_0x9c7c('0x9')](),controller[_0x9c7c('0xa')]);router[_0x9c7c('0x8')](_0x9c7c('0xb'),auth[_0x9c7c('0x9')](),controller[_0x9c7c('0xc')]);router[_0x9c7c('0x8')](_0x9c7c('0xd'),auth[_0x9c7c('0x9')](),controller['getConfigurations']);router[_0x9c7c('0x8')](_0x9c7c('0xe'),auth[_0x9c7c('0x9')](),controller[_0x9c7c('0xf')]);router[_0x9c7c('0x10')]('/',auth[_0x9c7c('0x9')](),controller[_0x9c7c('0x11')]);router['post'](_0x9c7c('0xd'),auth[_0x9c7c('0x9')](),controller[_0x9c7c('0x12')]);router[_0x9c7c('0x13')](_0x9c7c('0xb'),auth[_0x9c7c('0x9')](),controller[_0x9c7c('0x14')]);router[_0x9c7c('0x15')](_0x9c7c('0xb'),auth[_0x9c7c('0x9')](),controller[_0x9c7c('0x16')]);module[_0x9c7c('0x17')]=router;