This commit is contained in:
Shuchang Zheng
2026-02-19 12:42:59 -08:00
committed by GitHub
parent 1a63fa797b
commit 4dbe0f9772
13 changed files with 47 additions and 32 deletions

View File

@@ -22,10 +22,10 @@ class BaseClientWrapper:
def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"User-Agent": "skyvern/1.0.15",
"User-Agent": "skyvern/1.0.16",
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "skyvern",
"X-Fern-SDK-Version": "1.0.15",
"X-Fern-SDK-Version": "1.0.16",
**(self.get_custom_headers() or {}),
}
if self._api_key is not None:

View File

@@ -8,7 +8,9 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
class CreditCardCredentialResponse(UniversalBaseModel):
"""
Response model for credit card credentials, containing only the last four digits and brand.
Response model for credit card credentials — non-sensitive fields only.
SECURITY: Must NEVER include full card number, CVV, expiration date, or card holder name.
"""
last_four: str = pydantic.Field()

View File

@@ -9,7 +9,9 @@ from .totp_type import TotpType
class PasswordCredentialResponse(UniversalBaseModel):
"""
Response model for password credentials, containing only the username.
Response model for password credentials — non-sensitive fields only.
SECURITY: Must NEVER include password, TOTP secret, or TOTP identifier.
"""
username: str = pydantic.Field()

View File

@@ -8,7 +8,9 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
class SecretCredentialResponse(UniversalBaseModel):
"""
Response model for secret credentials.
Response model for secret credentials — non-sensitive fields only.
SECURITY: Must NEVER include the secret_value.
"""
secret_label: typing.Optional[str] = pydantic.Field(default=None)