Skip to content

Commit 42d9a61

Browse files
feat: Preserve canonical managed auth input metadata
Stainless-Generated-From: cc359340f1b39bfcbc499d2aa524990232e28d2e
1 parent 38f0fae commit 42d9a61

1 file changed

Lines changed: 72 additions & 0 deletions

File tree

src/resources/auth/connections.ts

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,11 +648,42 @@ export namespace ManagedAuth {
648648
| 'account'
649649
| 'other';
650650

651+
/**
652+
* Context captured for a choice.
653+
*/
654+
context?: string | null;
655+
651656
/**
652657
* Additional context for the choice.
653658
*/
654659
description?: string | null;
655660

661+
/**
662+
* Display text captured for a choice.
663+
*/
664+
display_text?: string | null;
665+
666+
/**
667+
* Masked phone number or email address shown for an MFA choice.
668+
*/
669+
masked_destination?: string | null;
670+
671+
/**
672+
* Semantic MFA method. Choice id remains the stable identity of the exact option
673+
* selected.
674+
*/
675+
mfa_type?:
676+
| 'sms'
677+
| 'call'
678+
| 'email'
679+
| 'totp'
680+
| 'push'
681+
| 'password'
682+
| 'passkey'
683+
| 'switch'
684+
| 'other'
685+
| null;
686+
656687
/**
657688
* Selector for the visible choice, when available.
658689
*/
@@ -754,6 +785,11 @@ export namespace ManagedAuth {
754785
*/
755786
type: 'identifier' | 'password' | 'code' | 'totp_code' | 'totp_secret' | 'text';
756787

788+
/**
789+
* Context shown near the field, including a masked code destination.
790+
*/
791+
hint?: string;
792+
757793
/**
758794
* Human-readable label shown to the user.
759795
*/
@@ -1697,11 +1733,42 @@ export namespace ConnectionFollowResponse {
16971733
| 'account'
16981734
| 'other';
16991735

1736+
/**
1737+
* Context captured for a choice.
1738+
*/
1739+
context?: string | null;
1740+
17001741
/**
17011742
* Additional context for the choice.
17021743
*/
17031744
description?: string | null;
17041745

1746+
/**
1747+
* Display text captured for a choice.
1748+
*/
1749+
display_text?: string | null;
1750+
1751+
/**
1752+
* Masked phone number or email address shown for an MFA choice.
1753+
*/
1754+
masked_destination?: string | null;
1755+
1756+
/**
1757+
* Semantic MFA method. Choice id remains the stable identity of the exact option
1758+
* selected.
1759+
*/
1760+
mfa_type?:
1761+
| 'sms'
1762+
| 'call'
1763+
| 'email'
1764+
| 'totp'
1765+
| 'push'
1766+
| 'password'
1767+
| 'passkey'
1768+
| 'switch'
1769+
| 'other'
1770+
| null;
1771+
17051772
/**
17061773
* Selector for the visible choice, when available.
17071774
*/
@@ -1774,6 +1841,11 @@ export namespace ConnectionFollowResponse {
17741841
*/
17751842
type: 'identifier' | 'password' | 'code' | 'totp_code' | 'totp_secret' | 'text';
17761843

1844+
/**
1845+
* Context shown near the field, including a masked code destination.
1846+
*/
1847+
hint?: string;
1848+
17771849
/**
17781850
* Human-readable label shown to the user.
17791851
*/

0 commit comments

Comments
 (0)