#ifdef EXC
/*  $Revision$
 *  $Id$
 */

_FAC_MODULE('EXC', 'lcl_module_EXC')

DEF_IMPORT2('WEB_PRSSYS', 'EXCHANGE', 'Import van reserveringen vanuit Exchange online',      'Import of reservations from Exchange online', 0, 'UTF-8', '	.\csv', 'exch_*.csv')
DEF_IMPORT2('WEB_PRSSYS', 'EXCHFULL', 'Import van alle reserveringen vanuit Exchange online', 'Import of all reservations from Exchange online', 0, 'UTF-8', '	.\csv', 'full_*.csv')

INSERT INTO fac_api (fac_api_name,
                     fac_api_filepath,
                     fac_api_loglevel,
                     fac_api_viewmapping_json)
     VALUES ('MSGRAPHNOTIFICATION',
             'appl/api/api_msgraphnotification.asp',
             0,
             NULL);

-- Toevoegen gebruiker om notificaties van MS Graph te verwerken
INSERT INTO prs_perslid (prs_perslid_module,
                         prs_srtperslid_key,
                         prs_afdeling_key,
                         prs_perslid_naam,
                         prs_perslid_oslogin,
                         prs_perslid_apikey,
                         prs_perslid_flags,
                         prs_perslid_opmerking)
    SELECT prs_perslid_module,
           prs_srtperslid_key,
           prs_afdeling_key,
           'API-user tbv. Exchange-koppeling',
           '_MSGRAPHNOTIFICATION',
           DBMS_RANDOM.string ('a', 32),
           36,
              'System account for Exchange notifications.'
           || CHR (13)
           || 'Contact Facilitor for configuration.'
      FROM prs_perslid
     WHERE prs_perslid_oslogin = '_FACILITOR';

REGISTERONCE('$Id$')

#endif // EXC
