Skip to content

Commit d354f0a

Browse files
feat(api): add client_type and connection_type to introspection (#211)
1 parent cd3cc6f commit d354f0a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/finch/types/introspection.py

+10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# File generated from our OpenAPI spec by Stainless.
22

33
from typing import List
4+
from typing_extensions import Literal
45

56
from .._models import BaseModel
67

@@ -14,9 +15,18 @@ class Introspection(BaseModel):
1415
client_id: str
1516
"""The client id of the application associated with the `access_token`."""
1617

18+
client_type: Literal["production", "development", "sandbox"]
19+
"""The type of application associated with a token."""
20+
1721
company_id: str
1822
"""The Finch uuid of the company associated with the `access_token`."""
1923

24+
connection_type: Literal["provider", "finch"]
25+
"""
26+
The type of the connection associated with the token.<br> `provider` -
27+
connection to an external provider<br> `finch` - finch-generated data.
28+
"""
29+
2030
manual: bool
2131
"""
2232
Whether the connection associated with the `access_token` uses the Assisted

0 commit comments

Comments
 (0)