Built motion from commit (unavailable).|2.5.30
[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 _0x57f8=['update','delete','destroy','exports','util','path','fs-extra','../../components/auth/service','../../config/environment','./intSalesforceAccount.controller','get','isAuthenticated','/:id','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put'];(function(_0x17ba26,_0x25c466){var _0x2b4195=function(_0x363abd){while(--_0x363abd){_0x17ba26['push'](_0x17ba26['shift']());}};_0x2b4195(++_0x25c466);}(_0x57f8,0xe0));var _0x857f=function(_0x5eee1c,_0x3817d8){_0x5eee1c=_0x5eee1c-0x0;var _0x5f2ea1=_0x57f8[_0x5eee1c];return _0x5f2ea1;};'use strict';var multer=require('multer');var util=require(_0x857f('0x0'));var path=require(_0x857f('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0x857f('0x2'));var auth=require(_0x857f('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x857f('0x4'));var controller=require(_0x857f('0x5'));router[_0x857f('0x6')]('/',auth[_0x857f('0x7')](),controller['index']);router[_0x857f('0x6')](_0x857f('0x8'),auth[_0x857f('0x7')](),controller[_0x857f('0x9')]);router[_0x857f('0x6')](_0x857f('0xa'),auth['isAuthenticated'](),controller[_0x857f('0xb')]);router[_0x857f('0x6')](_0x857f('0xc'),auth[_0x857f('0x7')](),controller[_0x857f('0xd')]);router[_0x857f('0xe')]('/',auth[_0x857f('0x7')](),controller[_0x857f('0xf')]);router[_0x857f('0xe')](_0x857f('0xa'),auth[_0x857f('0x7')](),controller[_0x857f('0x10')]);router[_0x857f('0x11')](_0x857f('0x8'),auth[_0x857f('0x7')](),controller[_0x857f('0x12')]);router[_0x857f('0x13')](_0x857f('0x8'),auth['isAuthenticated'](),controller[_0x857f('0x14')]);module[_0x857f('0x15')]=router;