Skip to content

Commit c110358

Browse files
feat: Expose managed auth field input modes
Stainless-Generated-From: 641e17ff11ca542895bb45f2e6c06d75f136aa5d
1 parent 4ce4ab9 commit c110358

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/kernel/types/auth/connection_follow_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ class ManagedAuthStateEventField(BaseModel):
109109
hint: Optional[str] = None
110110
"""Context shown near the field, including a masked code destination."""
111111

112+
input_mode: Optional[Literal["text", "email", "tel", "numeric"]] = None
113+
"""Virtual keyboard hint, independent of field type and browser validation."""
114+
112115
label: Optional[str] = None
113116
"""Human-readable label shown to the user."""
114117

src/kernel/types/auth/managed_auth.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,9 @@ class Field(BaseModel):
218218
hint: Optional[str] = None
219219
"""Context shown near the field, including a masked code destination."""
220220

221+
input_mode: Optional[Literal["text", "email", "tel", "numeric"]] = None
222+
"""Virtual keyboard hint, independent of field type and browser validation."""
223+
221224
label: Optional[str] = None
222225
"""Human-readable label shown to the user."""
223226

0 commit comments

Comments
 (0)