Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Nov 27, 2024
1 parent 292303e commit a885d0a
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 5
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/prelude%2Fprelude-1f5a50e21d467599b13b9fa8a754941c04020e024bb43ec00017b5c48b5d6c51.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/prelude%2Fprelude-64c1896dedae5302f4967c8edb2a675a48cba330193a20bdda1409fe3f9f9972.yml
6 changes: 3 additions & 3 deletions src/prelude_python_sdk/types/verification_check_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ class Metadata(BaseModel):


class VerificationCheckResponse(BaseModel):
status: Literal["success", "failure", "expired_or_not_found"]
"""The status of the check."""

id: Optional[str] = None
"""The verification identifier."""

metadata: Optional[Metadata] = None
"""The metadata for this verification."""

request_id: Optional[str] = None

status: Optional[Literal["success", "failure", "expired"]] = None
"""The status of the check."""
14 changes: 7 additions & 7 deletions src/prelude_python_sdk/types/verification_create_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ class Metadata(BaseModel):


class VerificationCreateResponse(BaseModel):
id: Optional[str] = None
id: str
"""The verification identifier."""

method: Literal["message"]
"""The method used for verifying this phone number."""

status: Literal["success", "retry", "blocked"]
"""The status of the verification."""

metadata: Optional[Metadata] = None
"""The metadata for this verification."""

method: Optional[Literal["message"]] = None
"""The method used for verifying this phone number."""

request_id: Optional[str] = None

status: Optional[Literal["success", "retry", "blocked"]] = None
"""The status of the verification."""
3 changes: 1 addition & 2 deletions src/prelude_python_sdk/types/watch_feed_back_response.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import Optional

from .._models import BaseModel

__all__ = ["WatchFeedBackResponse"]


class WatchFeedBackResponse(BaseModel):
id: Optional[str] = None
id: str
"""A unique identifier for your feedback request."""
6 changes: 3 additions & 3 deletions src/prelude_python_sdk/types/watch_predict_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ class Reasoning(BaseModel):


class WatchPredictResponse(BaseModel):
id: Optional[str] = None
id: str
"""A unique identifier for your prediction request."""

prediction: Optional[Literal["allow", "block"]] = None
prediction: Literal["allow", "block"]
"""A label indicating the trustworthiness of the phone number."""

reasoning: Optional[Reasoning] = None
reasoning: Reasoning

0 comments on commit a885d0a

Please sign in to comment.