archastro.platform.types.invites
1# Copyright (c) 2026 ArchAstro Inc. All Rights Reserved. 2# This file is auto-generated by @archastro/sdk-generator. Do not edit. 3# Content hash: 2ec318ec8c2a 4 5 6from pydantic import BaseModel, Field 7 8from .image import ImageSource 9 10 11class InviteCreator(BaseModel): 12 """ 13 A minimal, public-safe projection of the user who sent an invite, exposed to unauthenticated recipients so they can render a join screen. 14 Only identity fields are included; sensitive fields such as email address and organization membership are omitted. 15 """ 16 17 id: str = Field(..., description="User ID of the inviter (`usr_...`).") 18 name: str | None = Field( 19 default=None, 20 description="Display name of the inviter. `null` when the inviter has not set a name on their account.", 21 ) 22 profile_picture: ImageSource | None = Field( 23 default=None, 24 description="Profile picture of the inviter. `null` when the inviter has no profile picture set.", 25 )
class
InviteCreator(pydantic.main.BaseModel):
12class InviteCreator(BaseModel): 13 """ 14 A minimal, public-safe projection of the user who sent an invite, exposed to unauthenticated recipients so they can render a join screen. 15 Only identity fields are included; sensitive fields such as email address and organization membership are omitted. 16 """ 17 18 id: str = Field(..., description="User ID of the inviter (`usr_...`).") 19 name: str | None = Field( 20 default=None, 21 description="Display name of the inviter. `null` when the inviter has not set a name on their account.", 22 ) 23 profile_picture: ImageSource | None = Field( 24 default=None, 25 description="Profile picture of the inviter. `null` when the inviter has no profile picture set.", 26 )
A minimal, public-safe projection of the user who sent an invite, exposed to unauthenticated recipients so they can render a join screen. Only identity fields are included; sensitive fields such as email address and organization membership are omitted.
name: str | None =
None
Display name of the inviter. null when the inviter has not set a name on their account.