4daa9ba98d26ad5a096026afa3352c0a20800c64
[motion2.git] / server / api / intSalesforceField / 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 _0x90a7=['exports','multer','util','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','./intSalesforceField.controller','isAuthenticated','index','get','/:id','show','post','create','put','update','delete','destroy'];(function(_0x29c54e,_0xac883d){var _0x2be9d9=function(_0x19f1b7){while(--_0x19f1b7){_0x29c54e['push'](_0x29c54e['shift']());}};_0x2be9d9(++_0xac883d);}(_0x90a7,0x79));var _0x790a=function(_0x77ab6b,_0x561702){_0x77ab6b=_0x77ab6b-0x0;var _0x53ddb4=_0x90a7[_0x77ab6b];return _0x53ddb4;};'use strict';var multer=require(_0x790a('0x0'));var util=require(_0x790a('0x1'));var path=require(_0x790a('0x2'));var timeout=require('connect-timeout');var express=require(_0x790a('0x3'));var router=express['Router']();var fs_extra=require(_0x790a('0x4'));var auth=require(_0x790a('0x5'));var interaction=require(_0x790a('0x6'));var config=require('../../config/environment');var controller=require(_0x790a('0x7'));router['get']('/',auth[_0x790a('0x8')](),controller[_0x790a('0x9')]);router[_0x790a('0xa')](_0x790a('0xb'),auth[_0x790a('0x8')](),controller[_0x790a('0xc')]);router[_0x790a('0xd')]('/',auth[_0x790a('0x8')](),controller[_0x790a('0xe')]);router[_0x790a('0xf')](_0x790a('0xb'),auth['isAuthenticated'](),controller[_0x790a('0x10')]);router[_0x790a('0x11')](_0x790a('0xb'),auth[_0x790a('0x8')](),controller[_0x790a('0x12')]);module[_0x790a('0x13')]=router;