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