Credentials UI (#1828)

This commit is contained in:
Shuchang Zheng
2025-02-24 11:54:18 -08:00
committed by GitHub
parent 39ab9c0603
commit c5a2438e7f
13 changed files with 337 additions and 27 deletions

View File

@@ -296,3 +296,19 @@ export type Createv2TaskRequest = {
webhook_callback_url?: string | null;
proxy_location?: ProxyLocation | null;
};
export type PasswordCredentialApiResponse = {
username: string;
};
export type CreditCardCredentialApiResponse = {
last_four: string;
brand: string;
};
export type CredentialApiResponse = {
credential_id: string;
credential: PasswordCredentialApiResponse | CreditCardCredentialApiResponse;
credential_type: "password" | "credit_card";
name: string;
};