Skip to content

Commit 72885ba

Browse files
feat(api): api update
1 parent 4d51ed5 commit 72885ba

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-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-d5c3e3934333478f55af69889eafaea9b0eeae82a1597c5dec34426e9d55efd5.yml
3-
openapi_spec_hash: 9ec42fee7f3124b3050846f74404b398
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-ded87cb73affcaff9cf779d9cfd119a4026cfc1757b39be95d933edea48a0328.yml
3+
openapi_spec_hash: 0e6394b222fc68d7607114e70b72d23e
44
config_hash: 0892e2e0eeb0343a022afa62e9080dd1

src/finch/types/sandbox/connection_create_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ class ConnectionCreateResponse(BaseModel):
2222
connection_id: str
2323
"""The ID of the new connection"""
2424

25+
entity_id: str
26+
"""The ID of the entity for this connection"""
27+
2528
products: List[str]
2629

2730
provider_id: str

src/finch/types/sandbox/connections/account_create_response.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ class AccountCreateResponse(BaseModel):
2222
connection_id: str
2323
"""The ID of the new connection"""
2424

25+
entity_id: str
26+
"""The ID of the entity for this connection"""
27+
2528
products: List[str]
2629

2730
provider_id: str

src/finch/types/sandbox/connections/account_update_response.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from typing import List, Optional
3+
from typing import List
44
from typing_extensions import Literal
55

66
from ...._models import BaseModel
@@ -17,10 +17,13 @@ class AccountUpdateResponse(BaseModel):
1717
company_id: str
1818
"""[DEPRECATED] Use `connection_id` to associate a connection with an access token"""
1919

20+
connection_id: str
21+
"""The ID of the new connection"""
22+
23+
entity_id: str
24+
"""The ID of the entity whose status was updated"""
25+
2026
products: List[str]
2127

2228
provider_id: str
2329
"""The ID of the provider associated with the `access_token`"""
24-
25-
connection_id: Optional[str] = None
26-
"""The ID of the new connection"""

0 commit comments

Comments
 (0)