2020-12-28 19:51:45 +01:00
|
|
|
from typing import NamedTuple
|
|
|
|
|
|
|
|
|
|
|
|
class Domains(NamedTuple):
|
|
|
|
id: str
|
|
|
|
wallet: str
|
2020-12-28 22:32:04 +01:00
|
|
|
domain: str
|
2020-12-28 23:24:47 +01:00
|
|
|
cf_token: str
|
|
|
|
cf_zone_id: str
|
2020-12-28 19:51:45 +01:00
|
|
|
webhook: str
|
|
|
|
description: str
|
|
|
|
cost: int
|
|
|
|
amountmade: int
|
|
|
|
time: int
|
2020-12-31 18:39:16 +01:00
|
|
|
allowed_record_types: str
|
2020-12-28 19:51:45 +01:00
|
|
|
|
|
|
|
|
|
|
|
class Subdomains(NamedTuple):
|
|
|
|
id: str
|
2020-12-28 22:32:04 +01:00
|
|
|
wallet: str
|
|
|
|
domain: str
|
2020-12-29 20:52:54 +01:00
|
|
|
domain_name: str
|
2020-12-28 19:51:45 +01:00
|
|
|
subdomain: str
|
2020-12-28 22:32:04 +01:00
|
|
|
email: str
|
2020-12-28 19:51:45 +01:00
|
|
|
ip: str
|
|
|
|
sats: int
|
2020-12-29 20:52:54 +01:00
|
|
|
duration: int
|
2020-12-28 19:51:45 +01:00
|
|
|
paid: bool
|
|
|
|
time: int
|
2020-12-31 18:39:16 +01:00
|
|
|
record_type: str
|