• Chobble Tickets
  • doc.ts
    • WebhookPayloadListing
type alias WebhookPayloadListing

Listing data needed for webhook notifications

Properties

id: number
name: string
slug: string
webhook_url: string
max_attendees: number
attendee_count: number
unit_price: number
can_pay_more: boolean
customisable_days: boolean
day_prices: DayPrices
duration_days: number

Maximum day count for a customisable listing — the bound the shared price evaluation validates a booked span against.

months_per_unit: number

Usage

import { type WebhookPayloadListing } from "doc.ts";

Document Navigation

  • Properties
    • id
    • name
    • slug
    • webhook_url
    • max_attendees
    • attendee_count
    • unit_price
    • can_pay_more
    • customisable_days
    • day_prices
    • duration_days
    • months_per_unit