Built motion from commit (unavailable).|2.5.25
[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 _0x7de2=['/:id','create','update','destroy','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intSalesforceField.controller','isAuthenticated','index','get'];(function(_0x57bf42,_0x47b2d6){var _0x2b2ccc=function(_0xf75d1f){while(--_0xf75d1f){_0x57bf42['push'](_0x57bf42['shift']());}};_0x2b2ccc(++_0x47b2d6);}(_0x7de2,0x174));var _0x27de=function(_0x2a57bd,_0x1a9d08){_0x2a57bd=_0x2a57bd-0x0;var _0x1fedcf=_0x7de2[_0x2a57bd];return _0x1fedcf;};'use strict';var multer=require(_0x27de('0x0'));var util=require(_0x27de('0x1'));var path=require('path');var timeout=require(_0x27de('0x2'));var express=require(_0x27de('0x3'));var router=express[_0x27de('0x4')]();var auth=require(_0x27de('0x5'));var interaction=require(_0x27de('0x6'));var config=require(_0x27de('0x7'));var controller=require(_0x27de('0x8'));router['get']('/',auth[_0x27de('0x9')](),controller[_0x27de('0xa')]);router[_0x27de('0xb')](_0x27de('0xc'),auth[_0x27de('0x9')](),controller['show']);router['post']('/',auth[_0x27de('0x9')](),controller[_0x27de('0xd')]);router['put'](_0x27de('0xc'),auth[_0x27de('0x9')](),controller[_0x27de('0xe')]);router['delete'](_0x27de('0xc'),auth[_0x27de('0x9')](),controller[_0x27de('0xf')]);module['exports']=router;