1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xc094=['get','/:id','isAuthenticated','post','put','update','delete','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intSalesforceField.controller'];(function(_0x3844c3,_0x49c678){var _0x329d7d=function(_0x5b2cfe){while(--_0x5b2cfe){_0x3844c3['push'](_0x3844c3['shift']());}};_0x329d7d(++_0x49c678);}(_0xc094,0x19f));var _0x4c09=function(_0x43931e,_0x54268e){_0x43931e=_0x43931e-0x0;var _0x7ff9d5=_0xc094[_0x43931e];return _0x7ff9d5;};'use strict';var multer=require(_0x4c09('0x0'));var util=require(_0x4c09('0x1'));var path=require(_0x4c09('0x2'));var timeout=require(_0x4c09('0x3'));var express=require(_0x4c09('0x4'));var router=express[_0x4c09('0x5')]();var fs_extra=require(_0x4c09('0x6'));var auth=require(_0x4c09('0x7'));var interaction=require(_0x4c09('0x8'));var config=require('../../config/environment');var controller=require(_0x4c09('0x9'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x4c09('0xa')](_0x4c09('0xb'),auth[_0x4c09('0xc')](),controller['show']);router[_0x4c09('0xd')]('/',auth[_0x4c09('0xc')](),controller['create']);router[_0x4c09('0xe')](_0x4c09('0xb'),auth['isAuthenticated'](),controller[_0x4c09('0xf')]);router[_0x4c09('0x10')](_0x4c09('0xb'),auth[_0x4c09('0xc')](),controller['destroy']);module['exports']=router;