Update api spec (#263)

* YOYO NEW API SPEC!

* new files

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Greg Sweeney <greg@kittycad.io>
Co-authored-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
zoo-github-actions-auth[bot]
2024-09-10 09:17:32 -07:00
committed by GitHub
parent 98c6a70e3b
commit 64fc99943e
19 changed files with 1157 additions and 920 deletions

View File

@ -4,11 +4,12 @@ import httpx
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]:
@ -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]]:
@ -67,7 +68,7 @@ def sync_detailed(
def sync(
token: str,
token: ServiceAccountTokenUuid,
*,
client: Client,
) -> Optional[Error]:
@ -82,7 +83,7 @@ def sync(
async def asyncio_detailed(
token: str,
token: ServiceAccountTokenUuid,
*,
client: Client,
) -> Response[Optional[Error]]:
@ -98,7 +99,7 @@ async def asyncio_detailed(
async def asyncio(
token: str,
token: ServiceAccountTokenUuid,
*,
client: Client,
) -> Optional[Error]:

View File

@ -5,11 +5,12 @@ import httpx
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]:
@ -56,7 +57,7 @@ def _build_response(
def sync_detailed(
token: str,
token: ServiceAccountTokenUuid,
*,
client: Client,
) -> Response[Optional[Union[ServiceAccount, Error]]]:
@ -74,7 +75,7 @@ def sync_detailed(
def sync(
token: str,
token: ServiceAccountTokenUuid,
*,
client: Client,
) -> Optional[Union[ServiceAccount, Error]]:
@ -87,7 +88,7 @@ def sync(
async def asyncio_detailed(
token: str,
token: ServiceAccountTokenUuid,
*,
client: Client,
) -> Response[Optional[Union[ServiceAccount, Error]]]:
@ -103,7 +104,7 @@ async def asyncio_detailed(
async def asyncio(
token: str,
token: ServiceAccountTokenUuid,
*,
client: Client,
) -> Optional[Union[ServiceAccount, Error]]: