v1.0.16 (#4813)
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user