parent
35c20eda72
commit
e0ea0e30e7
7 changed files with 423 additions and 33 deletions
|
|
@ -45,6 +45,8 @@ class EventExtra(BaseModel):
|
|||
nostr_notifications: bool = False
|
||||
notification_subject: str = ""
|
||||
notification_body: str = ""
|
||||
onchain_enabled: bool = False
|
||||
onchain_wallet_id: str | None = None
|
||||
|
||||
|
||||
class CreateEvent(BaseModel):
|
||||
|
|
@ -110,6 +112,7 @@ class TicketExtra(BaseModel):
|
|||
email_notification_sent: bool = False
|
||||
nostr_notification_sent: bool = False
|
||||
refunded: bool = False
|
||||
onchain: bool = False
|
||||
|
||||
|
||||
class CreateTicket(BaseModel):
|
||||
|
|
@ -167,6 +170,9 @@ class TicketPaymentRequest(BaseModel):
|
|||
fiat_payment_request: str | None = None
|
||||
fiat_provider: str | None = None
|
||||
is_fiat: bool = False
|
||||
onchain_address: str | None = None
|
||||
onchain_mempool_endpoint: str | None = None
|
||||
onchain_amount_sat: int | None = None
|
||||
|
||||
|
||||
class TicketFilters(FilterModel):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue