latitudesh-python-sdk 2.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- latitudesh_python_sdk/__init__.py +18 -0
- latitudesh_python_sdk/_hooks/__init__.py +5 -0
- latitudesh_python_sdk/_hooks/registration.py +13 -0
- latitudesh_python_sdk/_hooks/sdkhooks.py +76 -0
- latitudesh_python_sdk/_hooks/types.py +113 -0
- latitudesh_python_sdk/_version.py +17 -0
- latitudesh_python_sdk/apikeys.py +703 -0
- latitudesh_python_sdk/basesdk.py +374 -0
- latitudesh_python_sdk/billing.py +197 -0
- latitudesh_python_sdk/events_sdk.py +298 -0
- latitudesh_python_sdk/firewalls_sdk.py +1786 -0
- latitudesh_python_sdk/httpclient.py +125 -0
- latitudesh_python_sdk/ipaddresses_sdk.py +470 -0
- latitudesh_python_sdk/models/__init__.py +3581 -0
- latitudesh_python_sdk/models/api_key.py +81 -0
- latitudesh_python_sdk/models/apierror.py +40 -0
- latitudesh_python_sdk/models/assign_server_virtual_networkop.py +43 -0
- latitudesh_python_sdk/models/bandwidth_packages.py +67 -0
- latitudesh_python_sdk/models/bandwidth_plan_data.py +72 -0
- latitudesh_python_sdk/models/bandwidth_plans.py +26 -0
- latitudesh_python_sdk/models/billing_usage.py +249 -0
- latitudesh_python_sdk/models/container_plan_data.py +163 -0
- latitudesh_python_sdk/models/create_api_key.py +40 -0
- latitudesh_python_sdk/models/create_firewall_assignmentop.py +61 -0
- latitudesh_python_sdk/models/create_firewallop.py +73 -0
- latitudesh_python_sdk/models/create_ipmi_sessionop.py +16 -0
- latitudesh_python_sdk/models/create_projectop.py +79 -0
- latitudesh_python_sdk/models/create_server_actionop.py +69 -0
- latitudesh_python_sdk/models/create_server_out_of_bandop.py +61 -0
- latitudesh_python_sdk/models/create_server_reinstallop.py +140 -0
- latitudesh_python_sdk/models/create_serverop.py +173 -0
- latitudesh_python_sdk/models/create_tagop.py +50 -0
- latitudesh_python_sdk/models/create_virtual_machine_actionop.py +63 -0
- latitudesh_python_sdk/models/create_virtual_networkop.py +72 -0
- latitudesh_python_sdk/models/custom_tag.py +26 -0
- latitudesh_python_sdk/models/custom_tag_data.py +54 -0
- latitudesh_python_sdk/models/custom_tags.py +26 -0
- latitudesh_python_sdk/models/delete_api_keyop.py +16 -0
- latitudesh_python_sdk/models/delete_firewall_assignmentop.py +25 -0
- latitudesh_python_sdk/models/delete_firewallop.py +18 -0
- latitudesh_python_sdk/models/delete_project_ssh_keyop.py +23 -0
- latitudesh_python_sdk/models/delete_project_user_dataop.py +23 -0
- latitudesh_python_sdk/models/delete_projectop.py +18 -0
- latitudesh_python_sdk/models/delete_ssh_keyop.py +16 -0
- latitudesh_python_sdk/models/delete_storage_filesystemsop.py +16 -0
- latitudesh_python_sdk/models/delete_storage_volumesop.py +16 -0
- latitudesh_python_sdk/models/delete_user_dataop.py +16 -0
- latitudesh_python_sdk/models/delete_virtual_networks_assignmentsop.py +16 -0
- latitudesh_python_sdk/models/delete_vpn_sessionop.py +16 -0
- latitudesh_python_sdk/models/deploy_config.py +62 -0
- latitudesh_python_sdk/models/destroy_serverop.py +31 -0
- latitudesh_python_sdk/models/destroy_tagop.py +16 -0
- latitudesh_python_sdk/models/destroy_team_memberop.py +18 -0
- latitudesh_python_sdk/models/destroy_virtual_machineop.py +16 -0
- latitudesh_python_sdk/models/destroy_virtual_networkop.py +18 -0
- latitudesh_python_sdk/models/event_data.py +98 -0
- latitudesh_python_sdk/models/events.py +26 -0
- latitudesh_python_sdk/models/filesystem_data.py +57 -0
- latitudesh_python_sdk/models/firewall.py +26 -0
- latitudesh_python_sdk/models/firewall_assignment_data.py +50 -0
- latitudesh_python_sdk/models/firewall_assignments.py +29 -0
- latitudesh_python_sdk/models/firewall_data.py +75 -0
- latitudesh_python_sdk/models/firewall_server.py +36 -0
- latitudesh_python_sdk/models/firewalls.py +26 -0
- latitudesh_python_sdk/models/get_all_firewall_assignmentsop.py +51 -0
- latitudesh_python_sdk/models/get_bandwidth_plansop.py +62 -0
- latitudesh_python_sdk/models/get_billing_usageop.py +46 -0
- latitudesh_python_sdk/models/get_containers_planop.py +18 -0
- latitudesh_python_sdk/models/get_eventsop.py +126 -0
- latitudesh_python_sdk/models/get_firewall_assignmentsop.py +53 -0
- latitudesh_python_sdk/models/get_firewallop.py +18 -0
- latitudesh_python_sdk/models/get_ipop.py +33 -0
- latitudesh_python_sdk/models/get_ipsop.py +120 -0
- latitudesh_python_sdk/models/get_planop.py +16 -0
- latitudesh_python_sdk/models/get_plans_operating_systemop.py +54 -0
- latitudesh_python_sdk/models/get_plansop.py +125 -0
- latitudesh_python_sdk/models/get_project_ssh_keyop.py +37 -0
- latitudesh_python_sdk/models/get_project_ssh_keysop.py +33 -0
- latitudesh_python_sdk/models/get_project_user_dataop.py +38 -0
- latitudesh_python_sdk/models/get_project_users_dataop.py +46 -0
- latitudesh_python_sdk/models/get_projectsop.py +105 -0
- latitudesh_python_sdk/models/get_regionop.py +18 -0
- latitudesh_python_sdk/models/get_regionsop.py +42 -0
- latitudesh_python_sdk/models/get_role_idop.py +16 -0
- latitudesh_python_sdk/models/get_rolesop.py +54 -0
- latitudesh_python_sdk/models/get_server_deploy_configop.py +18 -0
- latitudesh_python_sdk/models/get_server_out_of_bandop.py +18 -0
- latitudesh_python_sdk/models/get_serverop.py +33 -0
- latitudesh_python_sdk/models/get_serversop.py +185 -0
- latitudesh_python_sdk/models/get_ssh_keyop.py +30 -0
- latitudesh_python_sdk/models/get_ssh_keysop.py +31 -0
- latitudesh_python_sdk/models/get_storage_filesystemsop.py +22 -0
- latitudesh_python_sdk/models/get_storage_volumeop.py +32 -0
- latitudesh_python_sdk/models/get_storage_volumesop.py +35 -0
- latitudesh_python_sdk/models/get_team_membersop.py +42 -0
- latitudesh_python_sdk/models/get_traffic_consumptionop.py +49 -0
- latitudesh_python_sdk/models/get_traffic_quotaop.py +20 -0
- latitudesh_python_sdk/models/get_user_dataop.py +31 -0
- latitudesh_python_sdk/models/get_user_profileop.py +19 -0
- latitudesh_python_sdk/models/get_users_dataop.py +44 -0
- latitudesh_python_sdk/models/get_virtual_networkop.py +32 -0
- latitudesh_python_sdk/models/get_virtual_networks_assignmentsop.py +72 -0
- latitudesh_python_sdk/models/get_virtual_networksop.py +69 -0
- latitudesh_python_sdk/models/get_vpn_sessionsop.py +70 -0
- latitudesh_python_sdk/models/index_virtual_machineop.py +31 -0
- latitudesh_python_sdk/models/ip_address.py +122 -0
- latitudesh_python_sdk/models/ip_addresses.py +15 -0
- latitudesh_python_sdk/models/ipmi_session.py +53 -0
- latitudesh_python_sdk/models/latitudesherror.py +30 -0
- latitudesh_python_sdk/models/list_firewallsop.py +49 -0
- latitudesh_python_sdk/models/membership.py +63 -0
- latitudesh_python_sdk/models/no_response_error.py +17 -0
- latitudesh_python_sdk/models/operating_system_data.py +65 -0
- latitudesh_python_sdk/models/operating_systems.py +26 -0
- latitudesh_python_sdk/models/out_of_band_connection.py +88 -0
- latitudesh_python_sdk/models/patch_current_teamop.py +91 -0
- latitudesh_python_sdk/models/patch_storage_filesystemsop.py +79 -0
- latitudesh_python_sdk/models/patch_user_dataop.py +69 -0
- latitudesh_python_sdk/models/patch_user_profileop.py +88 -0
- latitudesh_python_sdk/models/plan.py +15 -0
- latitudesh_python_sdk/models/plan_data.py +210 -0
- latitudesh_python_sdk/models/post_api_keyop.py +19 -0
- latitudesh_python_sdk/models/post_project_ssh_keyop.py +81 -0
- latitudesh_python_sdk/models/post_project_user_dataop.py +68 -0
- latitudesh_python_sdk/models/post_ssh_keyop.py +63 -0
- latitudesh_python_sdk/models/post_storage_filesystemsop.py +63 -0
- latitudesh_python_sdk/models/post_storage_volumes_mountop.py +62 -0
- latitudesh_python_sdk/models/post_storage_volumesop.py +63 -0
- latitudesh_python_sdk/models/post_team_membersop.py +54 -0
- latitudesh_python_sdk/models/post_teamop.py +67 -0
- latitudesh_python_sdk/models/post_user_dataop.py +50 -0
- latitudesh_python_sdk/models/post_vpn_sessionop.py +63 -0
- latitudesh_python_sdk/models/project.py +131 -0
- latitudesh_python_sdk/models/project_include.py +75 -0
- latitudesh_python_sdk/models/projects.py +15 -0
- latitudesh_python_sdk/models/put_project_ssh_keyop.py +87 -0
- latitudesh_python_sdk/models/put_project_user_dataop.py +76 -0
- latitudesh_python_sdk/models/put_ssh_keyop.py +80 -0
- latitudesh_python_sdk/models/put_vpn_sessionop.py +16 -0
- latitudesh_python_sdk/models/region.py +50 -0
- latitudesh_python_sdk/models/region_resource_data.py +37 -0
- latitudesh_python_sdk/models/regions.py +50 -0
- latitudesh_python_sdk/models/responsevalidationerror.py +27 -0
- latitudesh_python_sdk/models/role.py +26 -0
- latitudesh_python_sdk/models/role_data.py +35 -0
- latitudesh_python_sdk/models/security.py +25 -0
- latitudesh_python_sdk/models/server.py +26 -0
- latitudesh_python_sdk/models/server_action.py +52 -0
- latitudesh_python_sdk/models/server_data.py +280 -0
- latitudesh_python_sdk/models/server_exit_rescue_modeop.py +16 -0
- latitudesh_python_sdk/models/server_lockop.py +16 -0
- latitudesh_python_sdk/models/server_region_resource_data.py +40 -0
- latitudesh_python_sdk/models/server_rescue.py +22 -0
- latitudesh_python_sdk/models/server_schedule_deletion.py +44 -0
- latitudesh_python_sdk/models/server_schedule_deletionop.py +16 -0
- latitudesh_python_sdk/models/server_start_rescue_modeop.py +16 -0
- latitudesh_python_sdk/models/server_unlockop.py +16 -0
- latitudesh_python_sdk/models/server_unschedule_deletionop.py +16 -0
- latitudesh_python_sdk/models/servers.py +26 -0
- latitudesh_python_sdk/models/show_virtual_machineop.py +16 -0
- latitudesh_python_sdk/models/ssh_key_data.py +55 -0
- latitudesh_python_sdk/models/ssh_keys.py +26 -0
- latitudesh_python_sdk/models/storage_plan_data.py +47 -0
- latitudesh_python_sdk/models/storage_plans.py +26 -0
- latitudesh_python_sdk/models/team.py +74 -0
- latitudesh_python_sdk/models/team_include.py +43 -0
- latitudesh_python_sdk/models/team_members.py +51 -0
- latitudesh_python_sdk/models/teams.py +26 -0
- latitudesh_python_sdk/models/traffic.py +133 -0
- latitudesh_python_sdk/models/traffic_quota.py +106 -0
- latitudesh_python_sdk/models/update_api_key.py +48 -0
- latitudesh_python_sdk/models/update_api_keyop.py +41 -0
- latitudesh_python_sdk/models/update_firewallop.py +89 -0
- latitudesh_python_sdk/models/update_plans_bandwidthop.py +50 -0
- latitudesh_python_sdk/models/update_projectop.py +95 -0
- latitudesh_python_sdk/models/update_server_deploy_configop.py +122 -0
- latitudesh_python_sdk/models/update_serverop.py +85 -0
- latitudesh_python_sdk/models/update_tagop.py +74 -0
- latitudesh_python_sdk/models/update_virtual_networkop.py +67 -0
- latitudesh_python_sdk/models/user.py +59 -0
- latitudesh_python_sdk/models/user_data.py +26 -0
- latitudesh_python_sdk/models/user_data_properties.py +46 -0
- latitudesh_python_sdk/models/user_include.py +52 -0
- latitudesh_python_sdk/models/user_team.py +61 -0
- latitudesh_python_sdk/models/user_teams.py +26 -0
- latitudesh_python_sdk/models/user_update.py +37 -0
- latitudesh_python_sdk/models/virtual_machine.py +29 -0
- latitudesh_python_sdk/models/virtual_machine_attributes.py +115 -0
- latitudesh_python_sdk/models/virtual_machine_payload.py +47 -0
- latitudesh_python_sdk/models/virtual_machine_plans.py +181 -0
- latitudesh_python_sdk/models/virtual_network.py +26 -0
- latitudesh_python_sdk/models/virtual_network_assignment.py +29 -0
- latitudesh_python_sdk/models/virtual_network_assignment_data.py +65 -0
- latitudesh_python_sdk/models/virtual_network_assignments.py +29 -0
- latitudesh_python_sdk/models/virtual_network_data.py +114 -0
- latitudesh_python_sdk/models/virtual_networks.py +26 -0
- latitudesh_python_sdk/models/volume_data.py +111 -0
- latitudesh_python_sdk/models/vpn_session_data_with_password.py +77 -0
- latitudesh_python_sdk/models/vpn_session_with_password.py +18 -0
- latitudesh_python_sdk/operatingsystems_sdk.py +238 -0
- latitudesh_python_sdk/plans.py +1304 -0
- latitudesh_python_sdk/privatenetworks.py +1612 -0
- latitudesh_python_sdk/projects_sdk.py +830 -0
- latitudesh_python_sdk/py.typed +1 -0
- latitudesh_python_sdk/regions_sdk.py +398 -0
- latitudesh_python_sdk/roles.py +398 -0
- latitudesh_python_sdk/sdk.py +264 -0
- latitudesh_python_sdk/sdkconfiguration.py +50 -0
- latitudesh_python_sdk/servers_sdk.py +3414 -0
- latitudesh_python_sdk/sshkeys_sdk.py +1882 -0
- latitudesh_python_sdk/storage.py +1651 -0
- latitudesh_python_sdk/tags.py +715 -0
- latitudesh_python_sdk/teams_sdk.py +527 -0
- latitudesh_python_sdk/teamsmembers.py +576 -0
- latitudesh_python_sdk/traffic_sdk.py +357 -0
- latitudesh_python_sdk/types/__init__.py +21 -0
- latitudesh_python_sdk/types/basemodel.py +39 -0
- latitudesh_python_sdk/userdata_sdk.py +1888 -0
- latitudesh_python_sdk/userprofile.py +531 -0
- latitudesh_python_sdk/utils/__init__.py +200 -0
- latitudesh_python_sdk/utils/annotations.py +79 -0
- latitudesh_python_sdk/utils/datetimes.py +23 -0
- latitudesh_python_sdk/utils/enums.py +74 -0
- latitudesh_python_sdk/utils/eventstreaming.py +248 -0
- latitudesh_python_sdk/utils/forms.py +234 -0
- latitudesh_python_sdk/utils/headers.py +136 -0
- latitudesh_python_sdk/utils/logger.py +27 -0
- latitudesh_python_sdk/utils/metadata.py +118 -0
- latitudesh_python_sdk/utils/queryparams.py +217 -0
- latitudesh_python_sdk/utils/requestbodies.py +66 -0
- latitudesh_python_sdk/utils/retries.py +281 -0
- latitudesh_python_sdk/utils/security.py +192 -0
- latitudesh_python_sdk/utils/serializers.py +249 -0
- latitudesh_python_sdk/utils/unmarshal_json_response.py +38 -0
- latitudesh_python_sdk/utils/url.py +155 -0
- latitudesh_python_sdk/utils/values.py +137 -0
- latitudesh_python_sdk/virtualmachines.py +941 -0
- latitudesh_python_sdk/vpnsessions.py +715 -0
- latitudesh_python_sdk-2.3.0.dist-info/METADATA +787 -0
- latitudesh_python_sdk-2.3.0.dist-info/RECORD +242 -0
- latitudesh_python_sdk-2.3.0.dist-info/WHEEL +4 -0
- latitudesh_python_sdk-2.3.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from latitudesh_python_sdk.types import BaseModel
|
|
5
|
+
from typing import Optional
|
|
6
|
+
from typing_extensions import NotRequired, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class SSHKeyTypedDict(TypedDict):
|
|
10
|
+
id: NotRequired[str]
|
|
11
|
+
description: NotRequired[str]
|
|
12
|
+
fingerprint: NotRequired[str]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class SSHKey(BaseModel):
|
|
16
|
+
id: Optional[str] = None
|
|
17
|
+
|
|
18
|
+
description: Optional[str] = None
|
|
19
|
+
|
|
20
|
+
fingerprint: Optional[str] = None
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class OutOfBandConnectionCredentialsTypedDict(TypedDict):
|
|
24
|
+
r"""credentials are valid only when the server is deployed with ssh keys"""
|
|
25
|
+
|
|
26
|
+
user: NotRequired[str]
|
|
27
|
+
password: NotRequired[str]
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class OutOfBandConnectionCredentials(BaseModel):
|
|
31
|
+
r"""credentials are valid only when the server is deployed with ssh keys"""
|
|
32
|
+
|
|
33
|
+
user: Optional[str] = None
|
|
34
|
+
|
|
35
|
+
password: Optional[str] = None
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
class OutOfBandConnectionAttributesTypedDict(TypedDict):
|
|
39
|
+
ssh_key: NotRequired[SSHKeyTypedDict]
|
|
40
|
+
created_at: NotRequired[str]
|
|
41
|
+
username: NotRequired[str]
|
|
42
|
+
credentials: NotRequired[OutOfBandConnectionCredentialsTypedDict]
|
|
43
|
+
r"""credentials are valid only when the server is deployed with ssh keys"""
|
|
44
|
+
port: NotRequired[str]
|
|
45
|
+
access_ip: NotRequired[str]
|
|
46
|
+
server_id: NotRequired[str]
|
|
47
|
+
status: NotRequired[str]
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class OutOfBandConnectionAttributes(BaseModel):
|
|
51
|
+
ssh_key: Optional[SSHKey] = None
|
|
52
|
+
|
|
53
|
+
created_at: Optional[str] = None
|
|
54
|
+
|
|
55
|
+
username: Optional[str] = None
|
|
56
|
+
|
|
57
|
+
credentials: Optional[OutOfBandConnectionCredentials] = None
|
|
58
|
+
r"""credentials are valid only when the server is deployed with ssh keys"""
|
|
59
|
+
|
|
60
|
+
port: Optional[str] = None
|
|
61
|
+
|
|
62
|
+
access_ip: Optional[str] = None
|
|
63
|
+
|
|
64
|
+
server_id: Optional[str] = None
|
|
65
|
+
|
|
66
|
+
status: Optional[str] = None
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
class OutOfBandConnectionDataTypedDict(TypedDict):
|
|
70
|
+
id: NotRequired[str]
|
|
71
|
+
type: NotRequired[str]
|
|
72
|
+
attributes: NotRequired[OutOfBandConnectionAttributesTypedDict]
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
class OutOfBandConnectionData(BaseModel):
|
|
76
|
+
id: Optional[str] = None
|
|
77
|
+
|
|
78
|
+
type: Optional[str] = None
|
|
79
|
+
|
|
80
|
+
attributes: Optional[OutOfBandConnectionAttributes] = None
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
class OutOfBandConnectionTypedDict(TypedDict):
|
|
84
|
+
data: NotRequired[OutOfBandConnectionDataTypedDict]
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
class OutOfBandConnection(BaseModel):
|
|
88
|
+
data: Optional[OutOfBandConnectionData] = None
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .team import Team, TeamTypedDict
|
|
5
|
+
from enum import Enum
|
|
6
|
+
from latitudesh_python_sdk.types import BaseModel
|
|
7
|
+
from latitudesh_python_sdk.utils import (
|
|
8
|
+
FieldMetadata,
|
|
9
|
+
PathParamMetadata,
|
|
10
|
+
RequestMetadata,
|
|
11
|
+
)
|
|
12
|
+
from typing import Optional
|
|
13
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class PatchCurrentTeamTeamsType(str, Enum):
|
|
17
|
+
TEAMS = "teams"
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class PatchCurrentTeamTeamsCurrency(str, Enum):
|
|
21
|
+
USD = "USD"
|
|
22
|
+
BRL = "BRL"
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class PatchCurrentTeamTeamsAttributesTypedDict(TypedDict):
|
|
26
|
+
address: NotRequired[str]
|
|
27
|
+
name: NotRequired[str]
|
|
28
|
+
currency: NotRequired[PatchCurrentTeamTeamsCurrency]
|
|
29
|
+
referred_code: NotRequired[str]
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class PatchCurrentTeamTeamsAttributes(BaseModel):
|
|
33
|
+
address: Optional[str] = None
|
|
34
|
+
|
|
35
|
+
name: Optional[str] = None
|
|
36
|
+
|
|
37
|
+
currency: Optional[PatchCurrentTeamTeamsCurrency] = (
|
|
38
|
+
PatchCurrentTeamTeamsCurrency.USD
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
referred_code: Optional[str] = None
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class PatchCurrentTeamTeamsDataTypedDict(TypedDict):
|
|
45
|
+
id: str
|
|
46
|
+
type: PatchCurrentTeamTeamsType
|
|
47
|
+
attributes: NotRequired[PatchCurrentTeamTeamsAttributesTypedDict]
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class PatchCurrentTeamTeamsData(BaseModel):
|
|
51
|
+
id: str
|
|
52
|
+
|
|
53
|
+
type: PatchCurrentTeamTeamsType
|
|
54
|
+
|
|
55
|
+
attributes: Optional[PatchCurrentTeamTeamsAttributes] = None
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
class PatchCurrentTeamTeamsRequestBodyTypedDict(TypedDict):
|
|
59
|
+
data: PatchCurrentTeamTeamsDataTypedDict
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
class PatchCurrentTeamTeamsRequestBody(BaseModel):
|
|
63
|
+
data: PatchCurrentTeamTeamsData
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
class PatchCurrentTeamRequestTypedDict(TypedDict):
|
|
67
|
+
team_id: str
|
|
68
|
+
request_body: PatchCurrentTeamTeamsRequestBodyTypedDict
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
class PatchCurrentTeamRequest(BaseModel):
|
|
72
|
+
team_id: Annotated[
|
|
73
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
74
|
+
]
|
|
75
|
+
|
|
76
|
+
request_body: Annotated[
|
|
77
|
+
PatchCurrentTeamTeamsRequestBody,
|
|
78
|
+
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
79
|
+
]
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
class PatchCurrentTeamResponseBodyTypedDict(TypedDict):
|
|
83
|
+
r"""Success"""
|
|
84
|
+
|
|
85
|
+
data: NotRequired[TeamTypedDict]
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
class PatchCurrentTeamResponseBody(BaseModel):
|
|
89
|
+
r"""Success"""
|
|
90
|
+
|
|
91
|
+
data: Optional[Team] = None
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .filesystem_data import FilesystemData, FilesystemDataTypedDict
|
|
5
|
+
from enum import Enum
|
|
6
|
+
from latitudesh_python_sdk.types import BaseModel
|
|
7
|
+
from latitudesh_python_sdk.utils import (
|
|
8
|
+
FieldMetadata,
|
|
9
|
+
PathParamMetadata,
|
|
10
|
+
RequestMetadata,
|
|
11
|
+
)
|
|
12
|
+
from typing import Optional
|
|
13
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class PatchStorageFilesystemsStorageType(str, Enum):
|
|
17
|
+
FILESYSTEMS = "filesystems"
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class PatchStorageFilesystemsStorageAttributesTypedDict(TypedDict):
|
|
21
|
+
size_in_gb: NotRequired[int]
|
|
22
|
+
r"""Size in GB (not required, default is 1500)"""
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class PatchStorageFilesystemsStorageAttributes(BaseModel):
|
|
26
|
+
size_in_gb: Optional[int] = 1500
|
|
27
|
+
r"""Size in GB (not required, default is 1500)"""
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class PatchStorageFilesystemsStorageDataTypedDict(TypedDict):
|
|
31
|
+
id: str
|
|
32
|
+
r"""Filesystem ID"""
|
|
33
|
+
type: PatchStorageFilesystemsStorageType
|
|
34
|
+
attributes: PatchStorageFilesystemsStorageAttributesTypedDict
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class PatchStorageFilesystemsStorageData(BaseModel):
|
|
38
|
+
id: str
|
|
39
|
+
r"""Filesystem ID"""
|
|
40
|
+
|
|
41
|
+
type: PatchStorageFilesystemsStorageType
|
|
42
|
+
|
|
43
|
+
attributes: PatchStorageFilesystemsStorageAttributes
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
class PatchStorageFilesystemsStorageRequestBodyTypedDict(TypedDict):
|
|
47
|
+
data: PatchStorageFilesystemsStorageDataTypedDict
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class PatchStorageFilesystemsStorageRequestBody(BaseModel):
|
|
51
|
+
data: PatchStorageFilesystemsStorageData
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
class PatchStorageFilesystemsRequestTypedDict(TypedDict):
|
|
55
|
+
filesystem_id: str
|
|
56
|
+
request_body: PatchStorageFilesystemsStorageRequestBodyTypedDict
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
class PatchStorageFilesystemsRequest(BaseModel):
|
|
60
|
+
filesystem_id: Annotated[
|
|
61
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
62
|
+
]
|
|
63
|
+
|
|
64
|
+
request_body: Annotated[
|
|
65
|
+
PatchStorageFilesystemsStorageRequestBody,
|
|
66
|
+
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
67
|
+
]
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
class PatchStorageFilesystemsResponseBodyTypedDict(TypedDict):
|
|
71
|
+
r"""Success"""
|
|
72
|
+
|
|
73
|
+
data: NotRequired[FilesystemDataTypedDict]
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
class PatchStorageFilesystemsResponseBody(BaseModel):
|
|
77
|
+
r"""Success"""
|
|
78
|
+
|
|
79
|
+
data: Optional[FilesystemData] = None
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from enum import Enum
|
|
5
|
+
from latitudesh_python_sdk.types import BaseModel
|
|
6
|
+
from latitudesh_python_sdk.utils import (
|
|
7
|
+
FieldMetadata,
|
|
8
|
+
PathParamMetadata,
|
|
9
|
+
RequestMetadata,
|
|
10
|
+
)
|
|
11
|
+
from typing import Optional
|
|
12
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class PatchUserDataUserDataType(str, Enum):
|
|
16
|
+
USER_DATA = "user_data"
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class PatchUserDataUserDataAttributesTypedDict(TypedDict):
|
|
20
|
+
description: NotRequired[str]
|
|
21
|
+
r"""description dummy user data"""
|
|
22
|
+
content: NotRequired[str]
|
|
23
|
+
r"""encoded content of the User Data"""
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class PatchUserDataUserDataAttributes(BaseModel):
|
|
27
|
+
description: Optional[str] = None
|
|
28
|
+
r"""description dummy user data"""
|
|
29
|
+
|
|
30
|
+
content: Optional[str] = None
|
|
31
|
+
r"""encoded content of the User Data"""
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class PatchUserDataUserDataDataTypedDict(TypedDict):
|
|
35
|
+
id: str
|
|
36
|
+
type: PatchUserDataUserDataType
|
|
37
|
+
attributes: NotRequired[PatchUserDataUserDataAttributesTypedDict]
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class PatchUserDataUserDataData(BaseModel):
|
|
41
|
+
id: str
|
|
42
|
+
|
|
43
|
+
type: PatchUserDataUserDataType
|
|
44
|
+
|
|
45
|
+
attributes: Optional[PatchUserDataUserDataAttributes] = None
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
class PatchUserDataUserDataRequestBodyTypedDict(TypedDict):
|
|
49
|
+
data: PatchUserDataUserDataDataTypedDict
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
class PatchUserDataUserDataRequestBody(BaseModel):
|
|
53
|
+
data: PatchUserDataUserDataData
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
class PatchUserDataRequestTypedDict(TypedDict):
|
|
57
|
+
user_data_id: str
|
|
58
|
+
request_body: NotRequired[PatchUserDataUserDataRequestBodyTypedDict]
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
class PatchUserDataRequest(BaseModel):
|
|
62
|
+
user_data_id: Annotated[
|
|
63
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
64
|
+
]
|
|
65
|
+
|
|
66
|
+
request_body: Annotated[
|
|
67
|
+
Optional[PatchUserDataUserDataRequestBody],
|
|
68
|
+
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
69
|
+
] = None
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .user_update import UserUpdate, UserUpdateTypedDict
|
|
5
|
+
from enum import Enum
|
|
6
|
+
from latitudesh_python_sdk.types import BaseModel
|
|
7
|
+
from latitudesh_python_sdk.utils import (
|
|
8
|
+
FieldMetadata,
|
|
9
|
+
PathParamMetadata,
|
|
10
|
+
RequestMetadata,
|
|
11
|
+
)
|
|
12
|
+
from typing import Optional
|
|
13
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class PatchUserProfileUserProfileType(str, Enum):
|
|
17
|
+
USERS = "users"
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class PatchUserProfileUserProfileRole(str, Enum):
|
|
21
|
+
ADMINISTRATOR = "administrator"
|
|
22
|
+
BILLING = "billing"
|
|
23
|
+
COLLABORATOR = "collaborator"
|
|
24
|
+
OWNER = "owner"
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class PatchUserProfileUserProfileAttributesTypedDict(TypedDict):
|
|
28
|
+
first_name: NotRequired[str]
|
|
29
|
+
last_name: NotRequired[str]
|
|
30
|
+
role: NotRequired[PatchUserProfileUserProfileRole]
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class PatchUserProfileUserProfileAttributes(BaseModel):
|
|
34
|
+
first_name: Optional[str] = None
|
|
35
|
+
|
|
36
|
+
last_name: Optional[str] = None
|
|
37
|
+
|
|
38
|
+
role: Optional[PatchUserProfileUserProfileRole] = None
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class PatchUserProfileUserProfileDataTypedDict(TypedDict):
|
|
42
|
+
id: str
|
|
43
|
+
type: PatchUserProfileUserProfileType
|
|
44
|
+
attributes: NotRequired[PatchUserProfileUserProfileAttributesTypedDict]
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
class PatchUserProfileUserProfileData(BaseModel):
|
|
48
|
+
id: str
|
|
49
|
+
|
|
50
|
+
type: PatchUserProfileUserProfileType
|
|
51
|
+
|
|
52
|
+
attributes: Optional[PatchUserProfileUserProfileAttributes] = None
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
class PatchUserProfileUserProfileRequestBodyTypedDict(TypedDict):
|
|
56
|
+
data: PatchUserProfileUserProfileDataTypedDict
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
class PatchUserProfileUserProfileRequestBody(BaseModel):
|
|
60
|
+
data: PatchUserProfileUserProfileData
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
class PatchUserProfileRequestTypedDict(TypedDict):
|
|
64
|
+
id: str
|
|
65
|
+
request_body: PatchUserProfileUserProfileRequestBodyTypedDict
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
class PatchUserProfileRequest(BaseModel):
|
|
69
|
+
id: Annotated[
|
|
70
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
71
|
+
]
|
|
72
|
+
|
|
73
|
+
request_body: Annotated[
|
|
74
|
+
PatchUserProfileUserProfileRequestBody,
|
|
75
|
+
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
76
|
+
]
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
class PatchUserProfileResponseBodyTypedDict(TypedDict):
|
|
80
|
+
r"""Success"""
|
|
81
|
+
|
|
82
|
+
data: NotRequired[UserUpdateTypedDict]
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
class PatchUserProfileResponseBody(BaseModel):
|
|
86
|
+
r"""Success"""
|
|
87
|
+
|
|
88
|
+
data: Optional[UserUpdate] = None
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .plan_data import PlanData, PlanDataTypedDict
|
|
5
|
+
from latitudesh_python_sdk.types import BaseModel
|
|
6
|
+
from typing import Optional
|
|
7
|
+
from typing_extensions import NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class PlanTypedDict(TypedDict):
|
|
11
|
+
data: NotRequired[PlanDataTypedDict]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class Plan(BaseModel):
|
|
15
|
+
data: Optional[PlanData] = None
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from enum import Enum
|
|
5
|
+
from latitudesh_python_sdk.types import BaseModel
|
|
6
|
+
import pydantic
|
|
7
|
+
from typing import List, Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class PlanDataType(str, Enum):
|
|
12
|
+
PLANS = "plans"
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class CPUTypedDict(TypedDict):
|
|
16
|
+
type: NotRequired[str]
|
|
17
|
+
clock: NotRequired[float]
|
|
18
|
+
cores: NotRequired[float]
|
|
19
|
+
count: NotRequired[float]
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class CPU(BaseModel):
|
|
23
|
+
type: Optional[str] = None
|
|
24
|
+
|
|
25
|
+
clock: Optional[float] = None
|
|
26
|
+
|
|
27
|
+
cores: Optional[float] = None
|
|
28
|
+
|
|
29
|
+
count: Optional[float] = None
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class MemoryTypedDict(TypedDict):
|
|
33
|
+
total: NotRequired[float]
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
class Memory(BaseModel):
|
|
37
|
+
total: Optional[float] = None
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class PlanDataAttributesType(str, Enum):
|
|
41
|
+
SSD = "SSD"
|
|
42
|
+
HDD = "HDD"
|
|
43
|
+
NVME = "NVME"
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
class DrivesTypedDict(TypedDict):
|
|
47
|
+
count: NotRequired[float]
|
|
48
|
+
size: NotRequired[str]
|
|
49
|
+
type: NotRequired[PlanDataAttributesType]
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
class Drives(BaseModel):
|
|
53
|
+
count: Optional[float] = None
|
|
54
|
+
|
|
55
|
+
size: Optional[str] = None
|
|
56
|
+
|
|
57
|
+
type: Optional[PlanDataAttributesType] = None
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
class NicsTypedDict(TypedDict):
|
|
61
|
+
count: NotRequired[float]
|
|
62
|
+
type: NotRequired[str]
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
class Nics(BaseModel):
|
|
66
|
+
count: Optional[float] = None
|
|
67
|
+
|
|
68
|
+
type: Optional[str] = None
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
class GpuTypedDict(TypedDict):
|
|
72
|
+
count: NotRequired[float]
|
|
73
|
+
type: NotRequired[str]
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
class Gpu(BaseModel):
|
|
77
|
+
count: Optional[float] = None
|
|
78
|
+
|
|
79
|
+
type: Optional[str] = None
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
class SpecsTypedDict(TypedDict):
|
|
83
|
+
cpu: NotRequired[CPUTypedDict]
|
|
84
|
+
memory: NotRequired[MemoryTypedDict]
|
|
85
|
+
drives: NotRequired[List[DrivesTypedDict]]
|
|
86
|
+
nics: NotRequired[List[NicsTypedDict]]
|
|
87
|
+
gpu: NotRequired[GpuTypedDict]
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
class Specs(BaseModel):
|
|
91
|
+
cpu: Optional[CPU] = None
|
|
92
|
+
|
|
93
|
+
memory: Optional[Memory] = None
|
|
94
|
+
|
|
95
|
+
drives: Optional[List[Drives]] = None
|
|
96
|
+
|
|
97
|
+
nics: Optional[List[Nics]] = None
|
|
98
|
+
|
|
99
|
+
gpu: Optional[Gpu] = None
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
class LocationsTypedDict(TypedDict):
|
|
103
|
+
available: NotRequired[List[str]]
|
|
104
|
+
in_stock: NotRequired[List[str]]
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
class Locations(BaseModel):
|
|
108
|
+
available: Optional[List[str]] = None
|
|
109
|
+
|
|
110
|
+
in_stock: Optional[List[str]] = None
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
class StockLevel(str, Enum):
|
|
114
|
+
UNAVAILABLE = "unavailable"
|
|
115
|
+
LOW = "low"
|
|
116
|
+
MEDIUM = "medium"
|
|
117
|
+
HIGH = "high"
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
class PlanDataUSDTypedDict(TypedDict):
|
|
121
|
+
hour: NotRequired[float]
|
|
122
|
+
month: NotRequired[float]
|
|
123
|
+
year: NotRequired[float]
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
class PlanDataUSD(BaseModel):
|
|
127
|
+
hour: Optional[float] = None
|
|
128
|
+
|
|
129
|
+
month: Optional[float] = None
|
|
130
|
+
|
|
131
|
+
year: Optional[float] = None
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
class PlanDataBRLTypedDict(TypedDict):
|
|
135
|
+
hour: NotRequired[float]
|
|
136
|
+
month: NotRequired[float]
|
|
137
|
+
year: NotRequired[float]
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
class PlanDataBRL(BaseModel):
|
|
141
|
+
hour: Optional[float] = None
|
|
142
|
+
|
|
143
|
+
month: Optional[float] = None
|
|
144
|
+
|
|
145
|
+
year: Optional[float] = None
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
class PlanDataPricingTypedDict(TypedDict):
|
|
149
|
+
usd: NotRequired[PlanDataUSDTypedDict]
|
|
150
|
+
brl: NotRequired[PlanDataBRLTypedDict]
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
class PlanDataPricing(BaseModel):
|
|
154
|
+
usd: Annotated[Optional[PlanDataUSD], pydantic.Field(alias="USD")] = None
|
|
155
|
+
|
|
156
|
+
brl: Annotated[Optional[PlanDataBRL], pydantic.Field(alias="BRL")] = None
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
class PlanDataRegionsTypedDict(TypedDict):
|
|
160
|
+
name: NotRequired[str]
|
|
161
|
+
deploys_instantly: NotRequired[List[str]]
|
|
162
|
+
locations: NotRequired[LocationsTypedDict]
|
|
163
|
+
stock_level: NotRequired[StockLevel]
|
|
164
|
+
pricing: NotRequired[PlanDataPricingTypedDict]
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
class PlanDataRegions(BaseModel):
|
|
168
|
+
name: Optional[str] = None
|
|
169
|
+
|
|
170
|
+
deploys_instantly: Optional[List[str]] = None
|
|
171
|
+
|
|
172
|
+
locations: Optional[Locations] = None
|
|
173
|
+
|
|
174
|
+
stock_level: Optional[StockLevel] = None
|
|
175
|
+
|
|
176
|
+
pricing: Optional[PlanDataPricing] = None
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
class PlanDataAttributesTypedDict(TypedDict):
|
|
180
|
+
slug: NotRequired[str]
|
|
181
|
+
name: NotRequired[str]
|
|
182
|
+
features: NotRequired[List[str]]
|
|
183
|
+
specs: NotRequired[SpecsTypedDict]
|
|
184
|
+
regions: NotRequired[List[PlanDataRegionsTypedDict]]
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
class PlanDataAttributes(BaseModel):
|
|
188
|
+
slug: Optional[str] = None
|
|
189
|
+
|
|
190
|
+
name: Optional[str] = None
|
|
191
|
+
|
|
192
|
+
features: Optional[List[str]] = None
|
|
193
|
+
|
|
194
|
+
specs: Optional[Specs] = None
|
|
195
|
+
|
|
196
|
+
regions: Optional[List[PlanDataRegions]] = None
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
class PlanDataTypedDict(TypedDict):
|
|
200
|
+
id: NotRequired[str]
|
|
201
|
+
type: NotRequired[PlanDataType]
|
|
202
|
+
attributes: NotRequired[PlanDataAttributesTypedDict]
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
class PlanData(BaseModel):
|
|
206
|
+
id: Optional[str] = None
|
|
207
|
+
|
|
208
|
+
type: Optional[PlanDataType] = None
|
|
209
|
+
|
|
210
|
+
attributes: Optional[PlanDataAttributes] = None
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .api_key import APIKey, APIKeyTypedDict
|
|
5
|
+
from latitudesh_python_sdk.types import BaseModel
|
|
6
|
+
from typing import Optional
|
|
7
|
+
from typing_extensions import NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class PostAPIKeyResponseBodyTypedDict(TypedDict):
|
|
11
|
+
r"""Created"""
|
|
12
|
+
|
|
13
|
+
data: NotRequired[APIKeyTypedDict]
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class PostAPIKeyResponseBody(BaseModel):
|
|
17
|
+
r"""Created"""
|
|
18
|
+
|
|
19
|
+
data: Optional[APIKey] = None
|