Service Layer medium complexity frontend
0
Dependencies
0
Dependents
1
Entities
0
Integrations

Description

Handles the business logic of submitting a demo booking request. It serializes the form payload and dispatches it to the configured email address or webhook endpoint. Abstracts the transport mechanism so the form widget remains decoupled from delivery details.

Feature: Booking Form

booking-submission-service

Sources & reasoning

Line 337 explicitly names the demo booking form as a Sales Website MVP deliverable, specifying email/webhook submission with no login. Line 335 confirms it is in the Sales Website MVP scope. The blueprint marks this feature [MVP]. Target release MVP is directly evidenced by the phase 1 scope section.

  • docs/source/likeperson.md · line 337
    Enkelt demo-booking-skjema (sender til e-post/webhook, ingen pålogging)
  • docs/source/likeperson.md · line 223
    Demo booking form
  • docs/source/likeperson.md · line 335
    Product Sales Website (MVP scope):

Responsibilities

  • Accept validated form data and prepare the submission payload
  • Send the payload to the configured webhook URL or email endpoint
  • Handle HTTP errors and network failures with structured error responses
  • Return a typed result indicating success or failure to the caller

Interfaces

submitBooking(data: BookingFormData): Promise<SubmissionResult>
buildPayload(data: BookingFormData): BookingPayload

Related Data Entities (1)

Data entities managed by this component