Account Type

AccountOptions

Attributes:

user_view_welcome: bool
decimal_separator: str
thousand_separator: str
last_whats_new: Optional[datetime]

AccountOpt

Attributes:

authenticator: bool
sms: bool
email: bool

AccountInfo

Attributes:

active: bool
name: str
email: str
country: Optional[str]
timezone: str
company: Optional[str]
newsletter: Optional[bool]
developer: Optional[bool]
blocked: bool
language: str
last_login: Optional[datetime]
phone: Optional[str]
send_invoice: bool
stripe_id: Optional[str]
type: str
plan: str
created_at: datetime
updated_at: datetime
otp: Optional[AccountOpt]

AccountCreateInfo

Information required to create a new TagoIO account.

Attributes:

name: str
email: str
password: str
cpassword: str
country: Optional[str]
timezone: str
company: Optional[str]
newsletter: Optional[bool]
developer: Optional[bool]

OTPType

Type of One-Time Password authentication method.

Values:

“sms” or “email” or “authenticator”

TokenCreateInfo

Information required to create a new account token.

Attributes:

profile_id: GenericID
email: str
password: str
pin_code: str
otp_type: OTPType
name: str

LoginCredentials

Credentials required for account login.

Attributes:

email: str
password: str
otp_type: OTPType
pin_code: str

ProfileListInfoForLogin

Profile information returned in login response.

Attributes:

name: str

LoginResponse

Response data from account login endpoint.

Attributes:

type: str
email: str
company: str
name: str
profiles: List[ProfileListInfoForLogin]