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 _0xf9df=['isAuthenticated','index','/:id','show','create','put','update','delete','destroy','exports','multer','util','connect-timeout','fs-extra','../../components/auth/service','../../config/environment','./intSalesforceField.controller','get'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xf9df,0x1a8));var _0xff9d=function(_0x2d8e58,_0x5814d7){_0x2d8e58=_0x2d8e58-0x0;var _0x132d5d=_0xf9df[_0x2d8e58];return _0x132d5d;};'use strict';var multer=require(_0xff9d('0x0'));var util=require(_0xff9d('0x1'));var path=require('path');var timeout=require(_0xff9d('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xff9d('0x3'));var auth=require(_0xff9d('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xff9d('0x5'));var controller=require(_0xff9d('0x6'));router[_0xff9d('0x7')]('/',auth[_0xff9d('0x8')](),controller[_0xff9d('0x9')]);router['get'](_0xff9d('0xa'),auth[_0xff9d('0x8')](),controller[_0xff9d('0xb')]);router['post']('/',auth[_0xff9d('0x8')](),controller[_0xff9d('0xc')]);router[_0xff9d('0xd')](_0xff9d('0xa'),auth[_0xff9d('0x8')](),controller[_0xff9d('0xe')]);router[_0xff9d('0xf')](_0xff9d('0xa'),auth[_0xff9d('0x8')](),controller[_0xff9d('0x10')]);module[_0xff9d('0x11')]=router;