1'use strict';23// The Events import's cutover items, as structured completion-report4// `operatorActions`. The generated importer collects the ids while it writes and passes this5// function's rows into `createCompletionReport()` input (merge by `code`). Ids only; no titles,6// guest names or emails.78const ACTIONS = Object.freeze({9 draftEventIds: {10 code: 'events_drafts_review', severity: 'low', entity: 'events/event',11 action: 'In Business Manager → Events → Drafts, publish any imported draft event the merchant now wants listed; leave the rest as drafts. These were drafts in the source.'
17 action: 'These events were drafts in the source but were published so their RSVPs could be imported (Wix accepts RSVPs only on published events). In Business Manager → Events, review each one; if it should stay hidden, unpublish or hide it (its guest list stays).',
18 deadlineReason: 'Before the site is published; they become visible when the site goes live.',
19 resolutionEvidence: 'The operator marks each listed event reviewed.',
23 action: 'These paid ticket types got their fee mode or tax from the mapping review, not from the source. In Business Manager → Events, check each event\'s ticket fee setting and tax setting with the merchant.',
24 deadlineReason: 'Before the site is published; buyers pay what these settings say.',
25 resolutionEvidence: 'The merchant confirms the settings, or the operator records the change made.',
29 action: 'Historical RSVPs were loaded with the event\'s registration rules overridden (closed registration and guest limits). In Business Manager → Events → Guests, review the guest list of each listed event; counts may exceed the event\'s limit.',
30 deadlineReason: 'At cutover.',
31 resolutionEvidence: 'The operator marks each listed event reviewed.',
32 },
33});
34
35function eventsOperatorActions(input = {}) {
36 const rows = [];
37 for (const [field, template] of Object.entries(ACTIONS)) {