Skip to content

Commit

Permalink
new files
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Sep 10, 2024
1 parent 9011967 commit 23cab22
Show file tree
Hide file tree
Showing 18 changed files with 560 additions and 444 deletions.
766 changes: 383 additions & 383 deletions kittycad.py.patch.json

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions kittycad/api/api_tokens/delete_api_token_for_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
import httpx

from ...client import Client
from ...models.api_token_uuid import ApiTokenUuid
from ...models.error import Error
from ...types import Response


def _get_kwargs(
token: str,
token: ApiTokenUuid,
*,
client: Client,
) -> Dict[str, Any]:
Expand Down Expand Up @@ -49,7 +50,7 @@ def _build_response(*, response: httpx.Response) -> Response[Optional[Error]]:


def sync_detailed(
token: str,
token: ApiTokenUuid,
*,
client: Client,
) -> Response[Optional[Error]]:
Expand All @@ -67,7 +68,7 @@ def sync_detailed(


def sync(
token: str,
token: ApiTokenUuid,
*,
client: Client,
) -> Optional[Error]:
Expand All @@ -82,7 +83,7 @@ def sync(


async def asyncio_detailed(
token: str,
token: ApiTokenUuid,
*,
client: Client,
) -> Response[Optional[Error]]:
Expand All @@ -98,7 +99,7 @@ async def asyncio_detailed(


async def asyncio(
token: str,
token: ApiTokenUuid,
*,
client: Client,
) -> Optional[Error]:
Expand Down
11 changes: 6 additions & 5 deletions kittycad/api/api_tokens/get_api_token_for_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@

from ...client import Client
from ...models.api_token import ApiToken
from ...models.api_token_uuid import ApiTokenUuid
from ...models.error import Error
from ...types import Response


def _get_kwargs(
token: str,
token: ApiTokenUuid,
*,
client: Client,
) -> Dict[str, Any]:
Expand Down Expand Up @@ -54,7 +55,7 @@ def _build_response(


def sync_detailed(
token: str,
token: ApiTokenUuid,
*,
client: Client,
) -> Response[Optional[Union[ApiToken, Error]]]:
Expand All @@ -72,7 +73,7 @@ def sync_detailed(


def sync(
token: str,
token: ApiTokenUuid,
*,
client: Client,
) -> Optional[Union[ApiToken, Error]]:
Expand All @@ -85,7 +86,7 @@ def sync(


async def asyncio_detailed(
token: str,
token: ApiTokenUuid,
*,
client: Client,
) -> Response[Optional[Union[ApiToken, Error]]]:
Expand All @@ -101,7 +102,7 @@ async def asyncio_detailed(


async def asyncio(
token: str,
token: ApiTokenUuid,
*,
client: Client,
) -> Optional[Union[ApiToken, Error]]:
Expand Down
11 changes: 6 additions & 5 deletions kittycad/api/service_accounts/delete_service_account_for_org.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@

from ...client import Client
from ...models.error import Error
from ...models.service_account_token_uuid import ServiceAccountTokenUuid
from ...types import Response


def _get_kwargs(
token: str,
token: ServiceAccountTokenUuid,
*,
client: Client,
) -> Dict[str, Any]:
Expand Down Expand Up @@ -49,7 +50,7 @@ def _build_response(*, response: httpx.Response) -> Response[Optional[Error]]:


def sync_detailed(
token: str,
token: ServiceAccountTokenUuid,
*,
client: Client,
) -> Response[Optional[Error]]:
Expand All @@ -67,7 +68,7 @@ def sync_detailed(


def sync(
token: str,
token: ServiceAccountTokenUuid,
*,
client: Client,
) -> Optional[Error]:
Expand All @@ -82,7 +83,7 @@ def sync(


async def asyncio_detailed(
token: str,
token: ServiceAccountTokenUuid,
*,
client: Client,
) -> Response[Optional[Error]]:
Expand All @@ -98,7 +99,7 @@ async def asyncio_detailed(


async def asyncio(
token: str,
token: ServiceAccountTokenUuid,
*,
client: Client,
) -> Optional[Error]:
Expand Down
11 changes: 6 additions & 5 deletions kittycad/api/service_accounts/get_service_account_for_org.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
from ...client import Client
from ...models.error import Error
from ...models.service_account import ServiceAccount
from ...models.service_account_token_uuid import ServiceAccountTokenUuid
from ...types import Response


def _get_kwargs(
token: str,
token: ServiceAccountTokenUuid,
*,
client: Client,
) -> Dict[str, Any]:
Expand Down Expand Up @@ -56,7 +57,7 @@ def _build_response(


def sync_detailed(
token: str,
token: ServiceAccountTokenUuid,
*,
client: Client,
) -> Response[Optional[Union[ServiceAccount, Error]]]:
Expand All @@ -74,7 +75,7 @@ def sync_detailed(


def sync(
token: str,
token: ServiceAccountTokenUuid,
*,
client: Client,
) -> Optional[Union[ServiceAccount, Error]]:
Expand All @@ -87,7 +88,7 @@ def sync(


async def asyncio_detailed(
token: str,
token: ServiceAccountTokenUuid,
*,
client: Client,
) -> Response[Optional[Union[ServiceAccount, Error]]]:
Expand All @@ -103,7 +104,7 @@ async def asyncio_detailed(


async def asyncio(
token: str,
token: ServiceAccountTokenUuid,
*,
client: Client,
) -> Optional[Union[ServiceAccount, Error]]:
Expand Down
11 changes: 6 additions & 5 deletions kittycad/api/users/get_session_for_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
from ...client import Client
from ...models.error import Error
from ...models.session import Session
from ...models.session_token_uuid import SessionTokenUuid
from ...types import Response


def _get_kwargs(
token: str,
token: SessionTokenUuid,
*,
client: Client,
) -> Dict[str, Any]:
Expand Down Expand Up @@ -54,7 +55,7 @@ def _build_response(


def sync_detailed(
token: str,
token: SessionTokenUuid,
*,
client: Client,
) -> Response[Optional[Union[Session, Error]]]:
Expand All @@ -72,7 +73,7 @@ def sync_detailed(


def sync(
token: str,
token: SessionTokenUuid,
*,
client: Client,
) -> Optional[Union[Session, Error]]:
Expand All @@ -85,7 +86,7 @@ def sync(


async def asyncio_detailed(
token: str,
token: SessionTokenUuid,
*,
client: Client,
) -> Response[Optional[Union[Session, Error]]]:
Expand All @@ -101,7 +102,7 @@ async def asyncio_detailed(


async def asyncio(
token: str,
token: SessionTokenUuid,
*,
client: Client,
) -> Optional[Union[Session, Error]]:
Expand Down
Loading

0 comments on commit 23cab22

Please sign in to comment.