Update api spec (#289)

* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
zoo-github-actions-auth[bot]
2024-10-01 14:51:05 -07:00
committed by GitHub
parent 8a8cb0ca41
commit 846ed0303c
11 changed files with 910 additions and 910 deletions

View File

@ -250,8 +250,8 @@ from kittycad.models.privacy_settings import PrivacySettings
from kittycad.models.rtc_sdp_type import RtcSdpType
from kittycad.models.rtc_session_description import RtcSessionDescription
from kittycad.models.saml_identity_provider_create import SamlIdentityProviderCreate
from kittycad.models.service_account_token_uuid import ServiceAccountTokenUuid
from kittycad.models.session_token_uuid import SessionTokenUuid
from kittycad.models.service_account_uuid import ServiceAccountUuid
from kittycad.models.session_uuid import SessionUuid
from kittycad.models.source_position import SourcePosition
from kittycad.models.source_range import SourceRange
from kittycad.models.source_range_prompt import SourceRangePrompt
@ -3712,7 +3712,7 @@ def test_get_service_account_for_org():
result: Optional[Union[ServiceAccount, Error]] = get_service_account_for_org.sync(
client=client,
token=ServiceAccountTokenUuid("<string>"),
token=ServiceAccountUuid("<string>"),
)
if isinstance(result, Error) or result is None:
@ -3726,7 +3726,7 @@ def test_get_service_account_for_org():
response: Response[Optional[Union[ServiceAccount, Error]]] = (
get_service_account_for_org.sync_detailed(
client=client,
token=ServiceAccountTokenUuid("<string>"),
token=ServiceAccountUuid("<string>"),
)
)
@ -3742,7 +3742,7 @@ async def test_get_service_account_for_org_async():
Union[ServiceAccount, Error]
] = await get_service_account_for_org.asyncio(
client=client,
token=ServiceAccountTokenUuid("<string>"),
token=ServiceAccountUuid("<string>"),
)
# OR run async with more info
@ -3750,7 +3750,7 @@ async def test_get_service_account_for_org_async():
Optional[Union[ServiceAccount, Error]]
] = await get_service_account_for_org.asyncio_detailed(
client=client,
token=ServiceAccountTokenUuid("<string>"),
token=ServiceAccountUuid("<string>"),
)
@ -3761,7 +3761,7 @@ def test_delete_service_account_for_org():
result: Optional[Error] = delete_service_account_for_org.sync(
client=client,
token=ServiceAccountTokenUuid("<string>"),
token=ServiceAccountUuid("<string>"),
)
if isinstance(result, Error) or result is None:
@ -3774,7 +3774,7 @@ def test_delete_service_account_for_org():
# OR if you need more info (e.g. status_code)
response: Response[Optional[Error]] = delete_service_account_for_org.sync_detailed(
client=client,
token=ServiceAccountTokenUuid("<string>"),
token=ServiceAccountUuid("<string>"),
)
@ -3787,7 +3787,7 @@ async def test_delete_service_account_for_org_async():
result: Optional[Error] = await delete_service_account_for_org.asyncio(
client=client,
token=ServiceAccountTokenUuid("<string>"),
token=ServiceAccountUuid("<string>"),
)
# OR run async with more info
@ -3795,7 +3795,7 @@ async def test_delete_service_account_for_org_async():
Optional[Error]
] = await delete_service_account_for_org.asyncio_detailed(
client=client,
token=ServiceAccountTokenUuid("<string>"),
token=ServiceAccountUuid("<string>"),
)
@ -6360,7 +6360,7 @@ def test_get_session_for_user():
result: Optional[Union[Session, Error]] = get_session_for_user.sync(
client=client,
token=SessionTokenUuid("<string>"),
token=SessionUuid("<string>"),
)
if isinstance(result, Error) or result is None:
@ -6374,7 +6374,7 @@ def test_get_session_for_user():
response: Response[Optional[Union[Session, Error]]] = (
get_session_for_user.sync_detailed(
client=client,
token=SessionTokenUuid("<string>"),
token=SessionUuid("<string>"),
)
)
@ -6388,7 +6388,7 @@ async def test_get_session_for_user_async():
result: Optional[Union[Session, Error]] = await get_session_for_user.asyncio(
client=client,
token=SessionTokenUuid("<string>"),
token=SessionUuid("<string>"),
)
# OR run async with more info
@ -6396,7 +6396,7 @@ async def test_get_session_for_user_async():
Optional[Union[Session, Error]]
] = await get_session_for_user.asyncio_detailed(
client=client,
token=SessionTokenUuid("<string>"),
token=SessionUuid("<string>"),
)