Skip to content

Commit c996e4a

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): updates (#349)
1 parent e671e49 commit c996e4a

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,34 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3+
from typing import List
4+
from typing_extensions import Literal
5+
36
from .._models import BaseModel
47

58
__all__ = ["CreateAccessTokenResponse"]
69

710

811
class CreateAccessTokenResponse(BaseModel):
912
access_token: str
13+
14+
account_id: str
15+
"""The Finch uuid of the account used to connect this company."""
16+
17+
client_type: Literal["production", "development", "sandbox"]
18+
"""The type of application associated with a token."""
19+
20+
company_id: str
21+
"""The Finch uuid of the company associated with the `access_token`."""
22+
23+
connection_type: Literal["provider", "finch"]
24+
"""The type of the connection associated with the token.
25+
26+
- `provider` - connection to an external provider
27+
- `finch` - finch-generated data.
28+
"""
29+
30+
products: List[str]
31+
"""An array of the authorized products associated with the `access_token`."""
32+
33+
provider_id: str
34+
"""The payroll provider associated with the `access_token`."""

0 commit comments

Comments
 (0)