Built motion from commit (unavailable).|2.5.31
[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 _0xf699=['show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','isAuthenticated','create','addConfiguration','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intSalesforceAccount.controller','get','index','/:id'];(function(_0x564168,_0x59a84a){var _0x36855a=function(_0x2269fc){while(--_0x2269fc){_0x564168['push'](_0x564168['shift']());}};_0x36855a(++_0x59a84a);}(_0xf699,0xa9));var _0x9f69=function(_0x2d9f84,_0x436db4){_0x2d9f84=_0x2d9f84-0x0;var _0x11875a=_0xf699[_0x2d9f84];return _0x11875a;};'use strict';var multer=require(_0x9f69('0x0'));var util=require(_0x9f69('0x1'));var path=require(_0x9f69('0x2'));var timeout=require(_0x9f69('0x3'));var express=require(_0x9f69('0x4'));var router=express[_0x9f69('0x5')]();var fs_extra=require(_0x9f69('0x6'));var auth=require(_0x9f69('0x7'));var interaction=require(_0x9f69('0x8'));var config=require('../../config/environment');var controller=require(_0x9f69('0x9'));router[_0x9f69('0xa')]('/',auth['isAuthenticated'](),controller[_0x9f69('0xb')]);router[_0x9f69('0xa')](_0x9f69('0xc'),auth['isAuthenticated'](),controller[_0x9f69('0xd')]);router[_0x9f69('0xa')](_0x9f69('0xe'),auth['isAuthenticated'](),controller[_0x9f69('0xf')]);router['get'](_0x9f69('0x10'),auth['isAuthenticated'](),controller[_0x9f69('0x11')]);router[_0x9f69('0x12')]('/',auth[_0x9f69('0x13')](),controller[_0x9f69('0x14')]);router[_0x9f69('0x12')](_0x9f69('0xe'),auth['isAuthenticated'](),controller[_0x9f69('0x15')]);router[_0x9f69('0x16')](_0x9f69('0xc'),auth[_0x9f69('0x13')](),controller['update']);router[_0x9f69('0x17')]('/:id',auth['isAuthenticated'](),controller[_0x9f69('0x18')]);module[_0x9f69('0x19')]=router;