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