Skip to content

Commit d0c7fd2

Browse files
feat(api): api update
1 parent 879cf19 commit d0c7fd2

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 46
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-f7e741bc6e0175fd96a9db5348092b90a77b0985154c0814bb681ad5dccdf19a.yml
3-
openapi_spec_hash: b348a9ef407a8e91dd770fcb219d4ac5
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-46ed24a601021d59f2e481c290509da2c05ee7be34eba58448b78b035392cbc4.yml
3+
openapi_spec_hash: afe19f94bb37ddaf7344fac1b1e64730
44
config_hash: 5146b12344dae76238940989dac1e8a0
Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3+
from typing import Optional
4+
35
from ..._models import BaseModel
46

57
__all__ = ["AutomatedCreateResponse"]
@@ -9,11 +11,14 @@ class AutomatedCreateResponse(BaseModel):
911
allowed_refreshes: int
1012
"""The number of allowed refreshes per hour (per hour, fixed window)"""
1113

12-
job_id: str
14+
remaining_refreshes: int
15+
"""The number of remaining refreshes available (per hour, fixed window)"""
16+
17+
job_id: Optional[str] = None
1318
"""The id of the job that has been created."""
1419

15-
job_url: str
20+
job_url: Optional[str] = None
1621
"""The url that can be used to retrieve the job status"""
1722

18-
remaining_refreshes: int
19-
"""The number of remaining refreshes available (per hour, fixed window)"""
23+
retry_at: Optional[str] = None
24+
"""ISO 8601 timestamp indicating when to retry the request"""

0 commit comments

Comments
 (0)