daytona_api_client 0.102.0rc1__py3-none-any.whl → 0.103.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.
Potentially problematic release.
This version of daytona_api_client might be problematic. Click here for more details.
- daytona_api_client/__init__.py +4 -2
- daytona_api_client/api/organizations_api.py +59 -81
- daytona_api_client/api/preview_api.py +5 -12
- daytona_api_client/api/toolbox_api.py +592 -22
- daytona_api_client/models/__init__.py +4 -2
- daytona_api_client/models/create_audit_log.py +2 -2
- daytona_api_client/models/organization.py +4 -2
- daytona_api_client/models/organization_sandbox_default_limited_network_egress.py +101 -0
- daytona_api_client/models/organization_sandbox_default_network_block_all.py +101 -0
- {daytona_api_client-0.102.0rc1.dist-info → daytona_api_client-0.103.0.dist-info}/METADATA +1 -1
- {daytona_api_client-0.102.0rc1.dist-info → daytona_api_client-0.103.0.dist-info}/RECORD +14 -12
- {daytona_api_client-0.102.0rc1.dist-info → daytona_api_client-0.103.0.dist-info}/WHEEL +0 -0
- {daytona_api_client-0.102.0rc1.dist-info → daytona_api_client-0.103.0.dist-info}/licenses/LICENSE +0 -0
- {daytona_api_client-0.102.0rc1.dist-info → daytona_api_client-0.103.0.dist-info}/top_level.txt +0 -0
daytona_api_client/__init__.py
CHANGED
|
@@ -116,6 +116,7 @@ from daytona_api_client.models.mouse_scroll_response import MouseScrollResponse
|
|
|
116
116
|
from daytona_api_client.models.organization import Organization
|
|
117
117
|
from daytona_api_client.models.organization_invitation import OrganizationInvitation
|
|
118
118
|
from daytona_api_client.models.organization_role import OrganizationRole
|
|
119
|
+
from daytona_api_client.models.organization_sandbox_default_limited_network_egress import OrganizationSandboxDefaultLimitedNetworkEgress
|
|
119
120
|
from daytona_api_client.models.organization_suspension import OrganizationSuspension
|
|
120
121
|
from daytona_api_client.models.organization_usage_overview import OrganizationUsageOverview
|
|
121
122
|
from daytona_api_client.models.organization_user import OrganizationUser
|
|
@@ -155,13 +156,13 @@ from daytona_api_client.models.snapshot_state import SnapshotState
|
|
|
155
156
|
from daytona_api_client.models.ssh_access_dto import SshAccessDto
|
|
156
157
|
from daytona_api_client.models.ssh_access_validation_dto import SshAccessValidationDto
|
|
157
158
|
from daytona_api_client.models.storage_access_dto import StorageAccessDto
|
|
158
|
-
from daytona_api_client.models.update_assigned_organization_roles import UpdateAssignedOrganizationRoles
|
|
159
159
|
from daytona_api_client.models.update_docker_registry import UpdateDockerRegistry
|
|
160
160
|
from daytona_api_client.models.update_organization_invitation import UpdateOrganizationInvitation
|
|
161
|
-
from daytona_api_client.models.
|
|
161
|
+
from daytona_api_client.models.update_organization_member_access import UpdateOrganizationMemberAccess
|
|
162
162
|
from daytona_api_client.models.update_organization_quota import UpdateOrganizationQuota
|
|
163
163
|
from daytona_api_client.models.update_organization_role import UpdateOrganizationRole
|
|
164
164
|
from daytona_api_client.models.user import User
|
|
165
|
+
from daytona_api_client.models.user_home_dir_response import UserHomeDirResponse
|
|
165
166
|
from daytona_api_client.models.user_public_key import UserPublicKey
|
|
166
167
|
from daytona_api_client.models.volume_dto import VolumeDto
|
|
167
168
|
from daytona_api_client.models.volume_state import VolumeState
|
|
@@ -169,4 +170,5 @@ from daytona_api_client.models.webhook_app_portal_access import WebhookAppPortal
|
|
|
169
170
|
from daytona_api_client.models.webhook_controller_get_status200_response import WebhookControllerGetStatus200Response
|
|
170
171
|
from daytona_api_client.models.webhook_initialization_status import WebhookInitializationStatus
|
|
171
172
|
from daytona_api_client.models.windows_response import WindowsResponse
|
|
173
|
+
from daytona_api_client.models.work_dir_response import WorkDirResponse
|
|
172
174
|
from daytona_api_client.models.workspace import Workspace
|
|
@@ -26,12 +26,12 @@ from daytona_api_client.models.create_organization_role import CreateOrganizatio
|
|
|
26
26
|
from daytona_api_client.models.organization import Organization
|
|
27
27
|
from daytona_api_client.models.organization_invitation import OrganizationInvitation
|
|
28
28
|
from daytona_api_client.models.organization_role import OrganizationRole
|
|
29
|
+
from daytona_api_client.models.organization_sandbox_default_limited_network_egress import OrganizationSandboxDefaultLimitedNetworkEgress
|
|
29
30
|
from daytona_api_client.models.organization_suspension import OrganizationSuspension
|
|
30
31
|
from daytona_api_client.models.organization_usage_overview import OrganizationUsageOverview
|
|
31
32
|
from daytona_api_client.models.organization_user import OrganizationUser
|
|
32
|
-
from daytona_api_client.models.update_assigned_organization_roles import UpdateAssignedOrganizationRoles
|
|
33
33
|
from daytona_api_client.models.update_organization_invitation import UpdateOrganizationInvitation
|
|
34
|
-
from daytona_api_client.models.
|
|
34
|
+
from daytona_api_client.models.update_organization_member_access import UpdateOrganizationMemberAccess
|
|
35
35
|
from daytona_api_client.models.update_organization_quota import UpdateOrganizationQuota
|
|
36
36
|
from daytona_api_client.models.update_organization_role import UpdateOrganizationRole
|
|
37
37
|
|
|
@@ -5527,11 +5527,11 @@ class OrganizationsApi:
|
|
|
5527
5527
|
|
|
5528
5528
|
|
|
5529
5529
|
@validate_call
|
|
5530
|
-
def
|
|
5530
|
+
def update_access_for_organization_member(
|
|
5531
5531
|
self,
|
|
5532
5532
|
organization_id: Annotated[StrictStr, Field(description="Organization ID")],
|
|
5533
5533
|
user_id: Annotated[StrictStr, Field(description="User ID")],
|
|
5534
|
-
|
|
5534
|
+
update_organization_member_access: UpdateOrganizationMemberAccess,
|
|
5535
5535
|
_request_timeout: Union[
|
|
5536
5536
|
None,
|
|
5537
5537
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -5545,15 +5545,15 @@ class OrganizationsApi:
|
|
|
5545
5545
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5546
5546
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5547
5547
|
) -> OrganizationUser:
|
|
5548
|
-
"""Update
|
|
5548
|
+
"""Update access for organization member
|
|
5549
5549
|
|
|
5550
5550
|
|
|
5551
5551
|
:param organization_id: Organization ID (required)
|
|
5552
5552
|
:type organization_id: str
|
|
5553
5553
|
:param user_id: User ID (required)
|
|
5554
5554
|
:type user_id: str
|
|
5555
|
-
:param
|
|
5556
|
-
:type
|
|
5555
|
+
:param update_organization_member_access: (required)
|
|
5556
|
+
:type update_organization_member_access: UpdateOrganizationMemberAccess
|
|
5557
5557
|
:param _request_timeout: timeout setting for this request. If one
|
|
5558
5558
|
number provided, it will be total request
|
|
5559
5559
|
timeout. It can also be a pair (tuple) of
|
|
@@ -5576,10 +5576,10 @@ class OrganizationsApi:
|
|
|
5576
5576
|
:return: Returns the result object.
|
|
5577
5577
|
""" # noqa: E501
|
|
5578
5578
|
|
|
5579
|
-
_param = self.
|
|
5579
|
+
_param = self._update_access_for_organization_member_serialize(
|
|
5580
5580
|
organization_id=organization_id,
|
|
5581
5581
|
user_id=user_id,
|
|
5582
|
-
|
|
5582
|
+
update_organization_member_access=update_organization_member_access,
|
|
5583
5583
|
_request_auth=_request_auth,
|
|
5584
5584
|
_content_type=_content_type,
|
|
5585
5585
|
_headers=_headers,
|
|
@@ -5601,11 +5601,11 @@ class OrganizationsApi:
|
|
|
5601
5601
|
|
|
5602
5602
|
|
|
5603
5603
|
@validate_call
|
|
5604
|
-
def
|
|
5604
|
+
def update_access_for_organization_member_with_http_info(
|
|
5605
5605
|
self,
|
|
5606
5606
|
organization_id: Annotated[StrictStr, Field(description="Organization ID")],
|
|
5607
5607
|
user_id: Annotated[StrictStr, Field(description="User ID")],
|
|
5608
|
-
|
|
5608
|
+
update_organization_member_access: UpdateOrganizationMemberAccess,
|
|
5609
5609
|
_request_timeout: Union[
|
|
5610
5610
|
None,
|
|
5611
5611
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -5619,15 +5619,15 @@ class OrganizationsApi:
|
|
|
5619
5619
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5620
5620
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5621
5621
|
) -> ApiResponse[OrganizationUser]:
|
|
5622
|
-
"""Update
|
|
5622
|
+
"""Update access for organization member
|
|
5623
5623
|
|
|
5624
5624
|
|
|
5625
5625
|
:param organization_id: Organization ID (required)
|
|
5626
5626
|
:type organization_id: str
|
|
5627
5627
|
:param user_id: User ID (required)
|
|
5628
5628
|
:type user_id: str
|
|
5629
|
-
:param
|
|
5630
|
-
:type
|
|
5629
|
+
:param update_organization_member_access: (required)
|
|
5630
|
+
:type update_organization_member_access: UpdateOrganizationMemberAccess
|
|
5631
5631
|
:param _request_timeout: timeout setting for this request. If one
|
|
5632
5632
|
number provided, it will be total request
|
|
5633
5633
|
timeout. It can also be a pair (tuple) of
|
|
@@ -5650,10 +5650,10 @@ class OrganizationsApi:
|
|
|
5650
5650
|
:return: Returns the result object.
|
|
5651
5651
|
""" # noqa: E501
|
|
5652
5652
|
|
|
5653
|
-
_param = self.
|
|
5653
|
+
_param = self._update_access_for_organization_member_serialize(
|
|
5654
5654
|
organization_id=organization_id,
|
|
5655
5655
|
user_id=user_id,
|
|
5656
|
-
|
|
5656
|
+
update_organization_member_access=update_organization_member_access,
|
|
5657
5657
|
_request_auth=_request_auth,
|
|
5658
5658
|
_content_type=_content_type,
|
|
5659
5659
|
_headers=_headers,
|
|
@@ -5675,11 +5675,11 @@ class OrganizationsApi:
|
|
|
5675
5675
|
|
|
5676
5676
|
|
|
5677
5677
|
@validate_call
|
|
5678
|
-
def
|
|
5678
|
+
def update_access_for_organization_member_without_preload_content(
|
|
5679
5679
|
self,
|
|
5680
5680
|
organization_id: Annotated[StrictStr, Field(description="Organization ID")],
|
|
5681
5681
|
user_id: Annotated[StrictStr, Field(description="User ID")],
|
|
5682
|
-
|
|
5682
|
+
update_organization_member_access: UpdateOrganizationMemberAccess,
|
|
5683
5683
|
_request_timeout: Union[
|
|
5684
5684
|
None,
|
|
5685
5685
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -5693,15 +5693,15 @@ class OrganizationsApi:
|
|
|
5693
5693
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5694
5694
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5695
5695
|
) -> RESTResponseType:
|
|
5696
|
-
"""Update
|
|
5696
|
+
"""Update access for organization member
|
|
5697
5697
|
|
|
5698
5698
|
|
|
5699
5699
|
:param organization_id: Organization ID (required)
|
|
5700
5700
|
:type organization_id: str
|
|
5701
5701
|
:param user_id: User ID (required)
|
|
5702
5702
|
:type user_id: str
|
|
5703
|
-
:param
|
|
5704
|
-
:type
|
|
5703
|
+
:param update_organization_member_access: (required)
|
|
5704
|
+
:type update_organization_member_access: UpdateOrganizationMemberAccess
|
|
5705
5705
|
:param _request_timeout: timeout setting for this request. If one
|
|
5706
5706
|
number provided, it will be total request
|
|
5707
5707
|
timeout. It can also be a pair (tuple) of
|
|
@@ -5724,10 +5724,10 @@ class OrganizationsApi:
|
|
|
5724
5724
|
:return: Returns the result object.
|
|
5725
5725
|
""" # noqa: E501
|
|
5726
5726
|
|
|
5727
|
-
_param = self.
|
|
5727
|
+
_param = self._update_access_for_organization_member_serialize(
|
|
5728
5728
|
organization_id=organization_id,
|
|
5729
5729
|
user_id=user_id,
|
|
5730
|
-
|
|
5730
|
+
update_organization_member_access=update_organization_member_access,
|
|
5731
5731
|
_request_auth=_request_auth,
|
|
5732
5732
|
_content_type=_content_type,
|
|
5733
5733
|
_headers=_headers,
|
|
@@ -5744,11 +5744,11 @@ class OrganizationsApi:
|
|
|
5744
5744
|
return response_data.response
|
|
5745
5745
|
|
|
5746
5746
|
|
|
5747
|
-
def
|
|
5747
|
+
def _update_access_for_organization_member_serialize(
|
|
5748
5748
|
self,
|
|
5749
5749
|
organization_id,
|
|
5750
5750
|
user_id,
|
|
5751
|
-
|
|
5751
|
+
update_organization_member_access,
|
|
5752
5752
|
_request_auth,
|
|
5753
5753
|
_content_type,
|
|
5754
5754
|
_headers,
|
|
@@ -5778,8 +5778,8 @@ class OrganizationsApi:
|
|
|
5778
5778
|
# process the header parameters
|
|
5779
5779
|
# process the form parameters
|
|
5780
5780
|
# process the body parameter
|
|
5781
|
-
if
|
|
5782
|
-
_body_params =
|
|
5781
|
+
if update_organization_member_access is not None:
|
|
5782
|
+
_body_params = update_organization_member_access
|
|
5783
5783
|
|
|
5784
5784
|
|
|
5785
5785
|
# set the HTTP header `Accept`
|
|
@@ -5812,7 +5812,7 @@ class OrganizationsApi:
|
|
|
5812
5812
|
|
|
5813
5813
|
return self.api_client.param_serialize(
|
|
5814
5814
|
method='POST',
|
|
5815
|
-
resource_path='/organizations/{organizationId}/users/{userId}/
|
|
5815
|
+
resource_path='/organizations/{organizationId}/users/{userId}/access',
|
|
5816
5816
|
path_params=_path_params,
|
|
5817
5817
|
query_params=_query_params,
|
|
5818
5818
|
header_params=_header_params,
|
|
@@ -6720,11 +6720,10 @@ class OrganizationsApi:
|
|
|
6720
6720
|
|
|
6721
6721
|
|
|
6722
6722
|
@validate_call
|
|
6723
|
-
def
|
|
6723
|
+
def update_sandbox_default_limited_network_egress(
|
|
6724
6724
|
self,
|
|
6725
6725
|
organization_id: Annotated[StrictStr, Field(description="Organization ID")],
|
|
6726
|
-
|
|
6727
|
-
update_organization_member_role: UpdateOrganizationMemberRole,
|
|
6726
|
+
organization_sandbox_default_limited_network_egress: OrganizationSandboxDefaultLimitedNetworkEgress,
|
|
6728
6727
|
_request_timeout: Union[
|
|
6729
6728
|
None,
|
|
6730
6729
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -6737,16 +6736,14 @@ class OrganizationsApi:
|
|
|
6737
6736
|
_content_type: Optional[StrictStr] = None,
|
|
6738
6737
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
6739
6738
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
6740
|
-
) ->
|
|
6741
|
-
"""Update
|
|
6739
|
+
) -> None:
|
|
6740
|
+
"""Update sandbox default limited network egress
|
|
6742
6741
|
|
|
6743
6742
|
|
|
6744
6743
|
:param organization_id: Organization ID (required)
|
|
6745
6744
|
:type organization_id: str
|
|
6746
|
-
:param
|
|
6747
|
-
:type
|
|
6748
|
-
:param update_organization_member_role: (required)
|
|
6749
|
-
:type update_organization_member_role: UpdateOrganizationMemberRole
|
|
6745
|
+
:param organization_sandbox_default_limited_network_egress: (required)
|
|
6746
|
+
:type organization_sandbox_default_limited_network_egress: OrganizationSandboxDefaultLimitedNetworkEgress
|
|
6750
6747
|
:param _request_timeout: timeout setting for this request. If one
|
|
6751
6748
|
number provided, it will be total request
|
|
6752
6749
|
timeout. It can also be a pair (tuple) of
|
|
@@ -6769,10 +6766,9 @@ class OrganizationsApi:
|
|
|
6769
6766
|
:return: Returns the result object.
|
|
6770
6767
|
""" # noqa: E501
|
|
6771
6768
|
|
|
6772
|
-
_param = self.
|
|
6769
|
+
_param = self._update_sandbox_default_limited_network_egress_serialize(
|
|
6773
6770
|
organization_id=organization_id,
|
|
6774
|
-
|
|
6775
|
-
update_organization_member_role=update_organization_member_role,
|
|
6771
|
+
organization_sandbox_default_limited_network_egress=organization_sandbox_default_limited_network_egress,
|
|
6776
6772
|
_request_auth=_request_auth,
|
|
6777
6773
|
_content_type=_content_type,
|
|
6778
6774
|
_headers=_headers,
|
|
@@ -6780,7 +6776,7 @@ class OrganizationsApi:
|
|
|
6780
6776
|
)
|
|
6781
6777
|
|
|
6782
6778
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
6783
|
-
'
|
|
6779
|
+
'204': None,
|
|
6784
6780
|
}
|
|
6785
6781
|
response_data = self.api_client.call_api(
|
|
6786
6782
|
*_param,
|
|
@@ -6794,11 +6790,10 @@ class OrganizationsApi:
|
|
|
6794
6790
|
|
|
6795
6791
|
|
|
6796
6792
|
@validate_call
|
|
6797
|
-
def
|
|
6793
|
+
def update_sandbox_default_limited_network_egress_with_http_info(
|
|
6798
6794
|
self,
|
|
6799
6795
|
organization_id: Annotated[StrictStr, Field(description="Organization ID")],
|
|
6800
|
-
|
|
6801
|
-
update_organization_member_role: UpdateOrganizationMemberRole,
|
|
6796
|
+
organization_sandbox_default_limited_network_egress: OrganizationSandboxDefaultLimitedNetworkEgress,
|
|
6802
6797
|
_request_timeout: Union[
|
|
6803
6798
|
None,
|
|
6804
6799
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -6811,16 +6806,14 @@ class OrganizationsApi:
|
|
|
6811
6806
|
_content_type: Optional[StrictStr] = None,
|
|
6812
6807
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
6813
6808
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
6814
|
-
) -> ApiResponse[
|
|
6815
|
-
"""Update
|
|
6809
|
+
) -> ApiResponse[None]:
|
|
6810
|
+
"""Update sandbox default limited network egress
|
|
6816
6811
|
|
|
6817
6812
|
|
|
6818
6813
|
:param organization_id: Organization ID (required)
|
|
6819
6814
|
:type organization_id: str
|
|
6820
|
-
:param
|
|
6821
|
-
:type
|
|
6822
|
-
:param update_organization_member_role: (required)
|
|
6823
|
-
:type update_organization_member_role: UpdateOrganizationMemberRole
|
|
6815
|
+
:param organization_sandbox_default_limited_network_egress: (required)
|
|
6816
|
+
:type organization_sandbox_default_limited_network_egress: OrganizationSandboxDefaultLimitedNetworkEgress
|
|
6824
6817
|
:param _request_timeout: timeout setting for this request. If one
|
|
6825
6818
|
number provided, it will be total request
|
|
6826
6819
|
timeout. It can also be a pair (tuple) of
|
|
@@ -6843,10 +6836,9 @@ class OrganizationsApi:
|
|
|
6843
6836
|
:return: Returns the result object.
|
|
6844
6837
|
""" # noqa: E501
|
|
6845
6838
|
|
|
6846
|
-
_param = self.
|
|
6839
|
+
_param = self._update_sandbox_default_limited_network_egress_serialize(
|
|
6847
6840
|
organization_id=organization_id,
|
|
6848
|
-
|
|
6849
|
-
update_organization_member_role=update_organization_member_role,
|
|
6841
|
+
organization_sandbox_default_limited_network_egress=organization_sandbox_default_limited_network_egress,
|
|
6850
6842
|
_request_auth=_request_auth,
|
|
6851
6843
|
_content_type=_content_type,
|
|
6852
6844
|
_headers=_headers,
|
|
@@ -6854,7 +6846,7 @@ class OrganizationsApi:
|
|
|
6854
6846
|
)
|
|
6855
6847
|
|
|
6856
6848
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
6857
|
-
'
|
|
6849
|
+
'204': None,
|
|
6858
6850
|
}
|
|
6859
6851
|
response_data = self.api_client.call_api(
|
|
6860
6852
|
*_param,
|
|
@@ -6868,11 +6860,10 @@ class OrganizationsApi:
|
|
|
6868
6860
|
|
|
6869
6861
|
|
|
6870
6862
|
@validate_call
|
|
6871
|
-
def
|
|
6863
|
+
def update_sandbox_default_limited_network_egress_without_preload_content(
|
|
6872
6864
|
self,
|
|
6873
6865
|
organization_id: Annotated[StrictStr, Field(description="Organization ID")],
|
|
6874
|
-
|
|
6875
|
-
update_organization_member_role: UpdateOrganizationMemberRole,
|
|
6866
|
+
organization_sandbox_default_limited_network_egress: OrganizationSandboxDefaultLimitedNetworkEgress,
|
|
6876
6867
|
_request_timeout: Union[
|
|
6877
6868
|
None,
|
|
6878
6869
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -6886,15 +6877,13 @@ class OrganizationsApi:
|
|
|
6886
6877
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
6887
6878
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
6888
6879
|
) -> RESTResponseType:
|
|
6889
|
-
"""Update
|
|
6880
|
+
"""Update sandbox default limited network egress
|
|
6890
6881
|
|
|
6891
6882
|
|
|
6892
6883
|
:param organization_id: Organization ID (required)
|
|
6893
6884
|
:type organization_id: str
|
|
6894
|
-
:param
|
|
6895
|
-
:type
|
|
6896
|
-
:param update_organization_member_role: (required)
|
|
6897
|
-
:type update_organization_member_role: UpdateOrganizationMemberRole
|
|
6885
|
+
:param organization_sandbox_default_limited_network_egress: (required)
|
|
6886
|
+
:type organization_sandbox_default_limited_network_egress: OrganizationSandboxDefaultLimitedNetworkEgress
|
|
6898
6887
|
:param _request_timeout: timeout setting for this request. If one
|
|
6899
6888
|
number provided, it will be total request
|
|
6900
6889
|
timeout. It can also be a pair (tuple) of
|
|
@@ -6917,10 +6906,9 @@ class OrganizationsApi:
|
|
|
6917
6906
|
:return: Returns the result object.
|
|
6918
6907
|
""" # noqa: E501
|
|
6919
6908
|
|
|
6920
|
-
_param = self.
|
|
6909
|
+
_param = self._update_sandbox_default_limited_network_egress_serialize(
|
|
6921
6910
|
organization_id=organization_id,
|
|
6922
|
-
|
|
6923
|
-
update_organization_member_role=update_organization_member_role,
|
|
6911
|
+
organization_sandbox_default_limited_network_egress=organization_sandbox_default_limited_network_egress,
|
|
6924
6912
|
_request_auth=_request_auth,
|
|
6925
6913
|
_content_type=_content_type,
|
|
6926
6914
|
_headers=_headers,
|
|
@@ -6928,7 +6916,7 @@ class OrganizationsApi:
|
|
|
6928
6916
|
)
|
|
6929
6917
|
|
|
6930
6918
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
6931
|
-
'
|
|
6919
|
+
'204': None,
|
|
6932
6920
|
}
|
|
6933
6921
|
response_data = self.api_client.call_api(
|
|
6934
6922
|
*_param,
|
|
@@ -6937,11 +6925,10 @@ class OrganizationsApi:
|
|
|
6937
6925
|
return response_data.response
|
|
6938
6926
|
|
|
6939
6927
|
|
|
6940
|
-
def
|
|
6928
|
+
def _update_sandbox_default_limited_network_egress_serialize(
|
|
6941
6929
|
self,
|
|
6942
6930
|
organization_id,
|
|
6943
|
-
|
|
6944
|
-
update_organization_member_role,
|
|
6931
|
+
organization_sandbox_default_limited_network_egress,
|
|
6945
6932
|
_request_auth,
|
|
6946
6933
|
_content_type,
|
|
6947
6934
|
_headers,
|
|
@@ -6965,23 +6952,14 @@ class OrganizationsApi:
|
|
|
6965
6952
|
# process the path parameters
|
|
6966
6953
|
if organization_id is not None:
|
|
6967
6954
|
_path_params['organizationId'] = organization_id
|
|
6968
|
-
if user_id is not None:
|
|
6969
|
-
_path_params['userId'] = user_id
|
|
6970
6955
|
# process the query parameters
|
|
6971
6956
|
# process the header parameters
|
|
6972
6957
|
# process the form parameters
|
|
6973
6958
|
# process the body parameter
|
|
6974
|
-
if
|
|
6975
|
-
_body_params =
|
|
6959
|
+
if organization_sandbox_default_limited_network_egress is not None:
|
|
6960
|
+
_body_params = organization_sandbox_default_limited_network_egress
|
|
6976
6961
|
|
|
6977
6962
|
|
|
6978
|
-
# set the HTTP header `Accept`
|
|
6979
|
-
if 'Accept' not in _header_params:
|
|
6980
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
6981
|
-
[
|
|
6982
|
-
'application/json'
|
|
6983
|
-
]
|
|
6984
|
-
)
|
|
6985
6963
|
|
|
6986
6964
|
# set the HTTP header `Content-Type`
|
|
6987
6965
|
if _content_type:
|
|
@@ -7005,7 +6983,7 @@ class OrganizationsApi:
|
|
|
7005
6983
|
|
|
7006
6984
|
return self.api_client.param_serialize(
|
|
7007
6985
|
method='POST',
|
|
7008
|
-
resource_path='/organizations/{organizationId}/
|
|
6986
|
+
resource_path='/organizations/{organizationId}/sandbox-default-limited-network-egress',
|
|
7009
6987
|
path_params=_path_params,
|
|
7010
6988
|
query_params=_query_params,
|
|
7011
6989
|
header_params=_header_params,
|
|
@@ -54,7 +54,7 @@ class PreviewApi:
|
|
|
54
54
|
_content_type: Optional[StrictStr] = None,
|
|
55
55
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
56
56
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
57
|
-
) ->
|
|
57
|
+
) -> None:
|
|
58
58
|
"""Check if user has access to the sandbox
|
|
59
59
|
|
|
60
60
|
|
|
@@ -91,7 +91,7 @@ class PreviewApi:
|
|
|
91
91
|
)
|
|
92
92
|
|
|
93
93
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
94
|
-
'200':
|
|
94
|
+
'200': None,
|
|
95
95
|
}
|
|
96
96
|
response_data = self.api_client.call_api(
|
|
97
97
|
*_param,
|
|
@@ -120,7 +120,7 @@ class PreviewApi:
|
|
|
120
120
|
_content_type: Optional[StrictStr] = None,
|
|
121
121
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
122
122
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
123
|
-
) -> ApiResponse[
|
|
123
|
+
) -> ApiResponse[None]:
|
|
124
124
|
"""Check if user has access to the sandbox
|
|
125
125
|
|
|
126
126
|
|
|
@@ -157,7 +157,7 @@ class PreviewApi:
|
|
|
157
157
|
)
|
|
158
158
|
|
|
159
159
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
160
|
-
'200':
|
|
160
|
+
'200': None,
|
|
161
161
|
}
|
|
162
162
|
response_data = self.api_client.call_api(
|
|
163
163
|
*_param,
|
|
@@ -223,7 +223,7 @@ class PreviewApi:
|
|
|
223
223
|
)
|
|
224
224
|
|
|
225
225
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
226
|
-
'200':
|
|
226
|
+
'200': None,
|
|
227
227
|
}
|
|
228
228
|
response_data = self.api_client.call_api(
|
|
229
229
|
*_param,
|
|
@@ -264,13 +264,6 @@ class PreviewApi:
|
|
|
264
264
|
# process the body parameter
|
|
265
265
|
|
|
266
266
|
|
|
267
|
-
# set the HTTP header `Accept`
|
|
268
|
-
if 'Accept' not in _header_params:
|
|
269
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
270
|
-
[
|
|
271
|
-
'application/json'
|
|
272
|
-
]
|
|
273
|
-
)
|
|
274
267
|
|
|
275
268
|
|
|
276
269
|
# authentication setting
|