From 18336f654eef1d1c3c8fb066afb7aeb3097a7edd Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 30 Oct 2024 00:27:46 +0000 Subject: [PATCH] feat(api): manual updates (#185) --- api.md | 8 -------- src/conductor/types/__init__.py | 1 - src/conductor/types/end_user.py | 22 +++++++++++++++++++--- 3 files changed, 19 insertions(+), 12 deletions(-) diff --git a/api.md b/api.md index 68d0f81..21f96c0 100644 --- a/api.md +++ b/api.md @@ -34,14 +34,6 @@ Methods: - client.end_users.ping(integration_slug, \*, id) -> EndUserPingResponse - client.end_users.request(integration_slug, \*, id, \*\*params) -> EndUserRequestResponse -# IntegrationConnections - -Types: - -```python -from conductor.types import IntegrationConnection -``` - # Qbd ## Accounts diff --git a/src/conductor/types/__init__.py b/src/conductor/types/__init__.py index 5847e74..77aafbe 100644 --- a/src/conductor/types/__init__.py +++ b/src/conductor/types/__init__.py @@ -7,7 +7,6 @@ from .end_user_create_params import EndUserCreateParams as EndUserCreateParams from .end_user_list_response import EndUserListResponse as EndUserListResponse from .end_user_ping_response import EndUserPingResponse as EndUserPingResponse -from .integration_connection import IntegrationConnection as IntegrationConnection from .end_user_request_params import EndUserRequestParams as EndUserRequestParams from .end_user_delete_response import EndUserDeleteResponse as EndUserDeleteResponse from .end_user_request_response import EndUserRequestResponse as EndUserRequestResponse diff --git a/src/conductor/types/end_user.py b/src/conductor/types/end_user.py index 3a24c9d..13b4fa6 100644 --- a/src/conductor/types/end_user.py +++ b/src/conductor/types/end_user.py @@ -1,14 +1,30 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -from typing import List +from typing import List, Optional from typing_extensions import Literal from pydantic import Field as FieldInfo from .._models import BaseModel -from .integration_connection import IntegrationConnection -__all__ = ["EndUser"] +__all__ = ["EndUser", "IntegrationConnection"] + + +class IntegrationConnection(BaseModel): + id: str + """The unique identifier for this IntegrationConnection.""" + + created_at: str = FieldInfo(alias="createdAt") + """The date and time when this IntegrationConnection was created.""" + + integration_slug: Literal["quickbooks_desktop"] = FieldInfo(alias="integrationSlug") + """The identifier of the third-party platform to integrate.""" + + last_request_at: Optional[str] = FieldInfo(alias="lastRequestAt", default=None) + """The date and time of your last API request to this IntegrationConnection.""" + + object_type: Literal["integration_connection"] = FieldInfo(alias="objectType") + """The type of object. This value is always `"integration_connection"`.""" class EndUser(BaseModel):