ory-client 1.12.2__py3-none-any.whl → 1.17.1__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.
- ory_client/__init__.py +16 -3
- ory_client/api/courier_api.py +21 -15
- ory_client/api/events_api.py +38 -26
- ory_client/api/frontend_api.py +1741 -1064
- ory_client/api/identity_api.py +197 -126
- ory_client/api/jwk_api.py +65 -44
- ory_client/api/metadata_api.py +11 -8
- ory_client/api/o_auth2_api.py +292 -191
- ory_client/api/oidc_api.py +68 -45
- ory_client/api/permission_api.py +343 -32
- ory_client/api/project_api.py +516 -145
- ory_client/api/relationship_api.py +56 -38
- ory_client/api/wellknown_api.py +14 -11
- ory_client/api/workspace_api.py +886 -34
- ory_client/api_client.py +71 -32
- ory_client/configuration.py +176 -42
- ory_client/exceptions.py +19 -2
- ory_client/models/__init__.py +15 -2
- ory_client/models/accept_o_auth2_consent_request.py +2 -2
- ory_client/models/accept_o_auth2_consent_request_session.py +2 -2
- ory_client/models/accept_o_auth2_login_request.py +2 -2
- ory_client/models/account_experience_colors.py +329 -0
- ory_client/models/account_experience_configuration.py +35 -13
- ory_client/models/account_experience_theme_variables.py +2 -2
- ory_client/models/active_project_in_console.py +2 -2
- ory_client/models/add_project_to_workspace_body.py +2 -2
- ory_client/models/attribute.py +2 -2
- ory_client/models/attribute_filter.py +2 -2
- ory_client/models/attributes_count_datapoint.py +2 -2
- ory_client/models/authenticator_assurance_level.py +2 -2
- ory_client/models/batch_check_permission_body.py +109 -0
- ory_client/models/batch_check_permission_result.py +109 -0
- ory_client/models/batch_patch_identities_response.py +5 -5
- ory_client/models/billing_period_bucket.py +5 -5
- ory_client/models/check_opl_syntax_result.py +5 -5
- ory_client/models/check_permission_result.py +2 -2
- ory_client/models/check_permission_result_with_error.py +103 -0
- ory_client/models/cloud_account.py +6 -4
- ory_client/models/consistency_request_parameters.py +2 -2
- ory_client/models/continue_with.py +35 -11
- ory_client/models/continue_with_recovery_ui.py +2 -2
- ory_client/models/continue_with_recovery_ui_flow.py +3 -3
- ory_client/models/continue_with_redirect_browser_to.py +110 -0
- ory_client/models/continue_with_set_ory_session_token.py +2 -2
- ory_client/models/continue_with_settings_ui.py +2 -2
- ory_client/models/continue_with_settings_ui_flow.py +7 -5
- ory_client/models/continue_with_verification_ui.py +2 -2
- ory_client/models/continue_with_verification_ui_flow.py +3 -3
- ory_client/models/courier_message_status.py +2 -2
- ory_client/models/courier_message_type.py +2 -2
- ory_client/models/create_custom_domain_body.py +2 -2
- ory_client/models/create_event_stream_body.py +2 -2
- ory_client/models/create_fedcm_flow_response.py +111 -0
- ory_client/models/create_identity_body.py +16 -9
- ory_client/models/create_invite_response.py +5 -5
- ory_client/models/create_json_web_key_set.py +2 -2
- ory_client/models/create_project_api_key_request.py +7 -4
- ory_client/models/create_project_body.py +5 -5
- ory_client/models/create_project_branding.py +2 -2
- ory_client/models/create_project_member_invite_body.py +2 -2
- ory_client/models/create_project_normalized_payload.py +60 -24
- ory_client/models/create_recovery_code_for_identity_body.py +2 -2
- ory_client/models/create_recovery_link_for_identity_body.py +2 -2
- ory_client/models/create_relationship_body.py +2 -2
- ory_client/models/create_subscription_body.py +2 -2
- ory_client/models/create_subscription_common.py +2 -2
- ory_client/models/create_verifiable_credential_request_body.py +2 -2
- ory_client/models/create_workspace_api_key_body.py +104 -0
- ory_client/models/create_workspace_body.py +2 -2
- ory_client/models/create_workspace_member_invite_body.py +16 -7
- ory_client/models/create_workspace_subscription_body.py +2 -2
- ory_client/models/credential_supported_draft00.py +2 -2
- ory_client/models/custom_domain.py +2 -2
- ory_client/models/delete_my_sessions_count.py +2 -2
- ory_client/models/email_template_data.py +2 -2
- ory_client/models/email_template_data_body.py +2 -2
- ory_client/models/error_authenticator_assurance_level_not_satisfied.py +2 -2
- ory_client/models/error_browser_location_change_required.py +2 -2
- ory_client/models/error_flow_replaced.py +2 -2
- ory_client/models/error_generic.py +2 -2
- ory_client/models/error_o_auth2.py +2 -2
- ory_client/models/event_stream.py +2 -2
- ory_client/models/expanded_permission_tree.py +5 -5
- ory_client/models/flow_error.py +2 -2
- ory_client/models/generic_error.py +2 -2
- ory_client/models/generic_error_content.py +2 -2
- ory_client/models/generic_usage.py +2 -2
- ory_client/models/get_attributes_count_response.py +5 -5
- ory_client/models/get_managed_identity_schema_location.py +2 -2
- ory_client/models/get_metrics_event_attributes_response.py +2 -2
- ory_client/models/get_metrics_event_types_response.py +2 -2
- ory_client/models/get_organization_response.py +2 -2
- ory_client/models/get_project_events_body.py +5 -5
- ory_client/models/get_project_events_response.py +5 -5
- ory_client/models/get_project_metrics_response.py +5 -5
- ory_client/models/get_session_activity_response.py +5 -5
- ory_client/models/get_version200_response.py +2 -2
- ory_client/models/health_not_ready_status.py +2 -2
- ory_client/models/health_status.py +2 -2
- ory_client/models/identity.py +11 -11
- ory_client/models/identity_credentials.py +5 -5
- ory_client/models/identity_credentials_code.py +14 -14
- ory_client/models/identity_credentials_code_address.py +103 -0
- ory_client/models/identity_credentials_oidc.py +5 -5
- ory_client/models/identity_credentials_oidc_provider.py +7 -5
- ory_client/models/identity_credentials_password.py +7 -5
- ory_client/models/identity_patch.py +2 -2
- ory_client/models/identity_patch_response.py +13 -6
- ory_client/models/identity_schema_container.py +2 -2
- ory_client/models/identity_schema_preset.py +2 -2
- ory_client/models/identity_with_credentials.py +2 -2
- ory_client/models/identity_with_credentials_oidc.py +2 -2
- ory_client/models/identity_with_credentials_oidc_config.py +5 -5
- ory_client/models/identity_with_credentials_oidc_config_provider.py +8 -6
- ory_client/models/identity_with_credentials_password.py +2 -2
- ory_client/models/identity_with_credentials_password_config.py +7 -5
- ory_client/models/internal_get_project_branding_body.py +2 -2
- ory_client/models/internal_is_ax_welcome_screen_enabled_for_project_body.py +2 -2
- ory_client/models/internal_is_owner_for_project_by_slug_body.py +3 -3
- ory_client/models/internal_is_owner_for_project_by_slug_response.py +2 -2
- ory_client/models/introspected_o_auth2_token.py +2 -2
- ory_client/models/invite_token_body.py +101 -0
- ory_client/models/invoice.py +3 -3
- ory_client/models/invoice_data_v1.py +12 -8
- ory_client/models/is_owner_for_project_by_slug.py +3 -3
- ory_client/models/json_patch.py +2 -2
- ory_client/models/json_web_key.py +2 -2
- ory_client/models/json_web_key_set.py +5 -5
- ory_client/models/keto_namespace.py +2 -2
- ory_client/models/line_item_v1.py +5 -5
- ory_client/models/list_event_streams.py +5 -5
- ory_client/models/list_invoices_response.py +5 -5
- ory_client/models/list_organizations_response.py +5 -5
- ory_client/models/list_workspace_projects.py +5 -5
- ory_client/models/list_workspaces.py +5 -5
- ory_client/models/login_flow.py +5 -5
- ory_client/models/login_flow_state.py +3 -3
- ory_client/models/logout_flow.py +2 -2
- ory_client/models/managed_identity_schema.py +2 -2
- ory_client/models/managed_identity_schema_validation_result.py +2 -2
- ory_client/models/member_invite.py +10 -3
- ory_client/models/message.py +5 -5
- ory_client/models/message_dispatch.py +2 -2
- ory_client/models/metrics_datapoint.py +2 -2
- ory_client/models/money.py +2 -2
- ory_client/models/namespace.py +2 -2
- ory_client/models/needs_privileged_session_error.py +2 -2
- ory_client/models/normalized_project.py +5 -5
- ory_client/models/normalized_project_revision.py +57 -21
- ory_client/models/normalized_project_revision_courier_channel.py +2 -2
- ory_client/models/normalized_project_revision_hook.py +2 -2
- ory_client/models/normalized_project_revision_identity_schema.py +2 -2
- ory_client/models/normalized_project_revision_saml_provider.py +148 -0
- ory_client/models/normalized_project_revision_third_party_provider.py +34 -3
- ory_client/models/normalized_project_revision_tokenizer_template.py +2 -2
- ory_client/models/o_auth2_client.py +3 -3
- ory_client/models/o_auth2_client_token_lifespans.py +2 -2
- ory_client/models/o_auth2_consent_request.py +6 -4
- ory_client/models/o_auth2_consent_request_open_id_connect_context.py +2 -2
- ory_client/models/o_auth2_consent_session.py +5 -3
- ory_client/models/o_auth2_consent_session_expires_at.py +2 -2
- ory_client/models/o_auth2_login_request.py +3 -3
- ory_client/models/o_auth2_logout_request.py +9 -4
- ory_client/models/o_auth2_redirect_to.py +2 -2
- ory_client/models/o_auth2_token_exchange.py +2 -2
- ory_client/models/oidc_configuration.py +5 -5
- ory_client/models/oidc_user_info.py +2 -2
- ory_client/models/organization.py +2 -2
- ory_client/models/organization_body.py +2 -2
- ory_client/models/pagination.py +2 -2
- ory_client/models/pagination_headers.py +2 -2
- ory_client/models/parse_error.py +2 -2
- ory_client/models/patch_identities_body.py +5 -5
- ory_client/models/perform_native_logout_body.py +2 -2
- ory_client/models/permissions_on_workspace.py +2 -2
- ory_client/models/plan.py +2 -2
- ory_client/models/plan_details.py +5 -5
- ory_client/models/post_check_permission_body.py +2 -2
- ory_client/models/post_check_permission_or_error_body.py +2 -2
- ory_client/models/project.py +5 -5
- ory_client/models/project_api_key.py +5 -3
- ory_client/models/project_branding.py +5 -5
- ory_client/models/project_branding_colors.py +2 -2
- ory_client/models/project_branding_theme.py +5 -5
- ory_client/models/project_cors.py +2 -2
- ory_client/models/project_events_datapoint.py +5 -5
- ory_client/models/project_host.py +2 -2
- ory_client/models/project_member.py +6 -4
- ory_client/models/project_metadata.py +5 -5
- ory_client/models/project_service_identity.py +2 -2
- ory_client/models/project_service_o_auth2.py +2 -2
- ory_client/models/project_service_permission.py +2 -2
- ory_client/models/project_services.py +2 -2
- ory_client/models/provider.py +113 -0
- ory_client/models/quota_usage.py +8 -6
- ory_client/models/recovery_code_for_identity.py +2 -2
- ory_client/models/recovery_flow.py +5 -5
- ory_client/models/recovery_flow_state.py +3 -3
- ory_client/models/recovery_identity_address.py +2 -2
- ory_client/models/recovery_link_for_identity.py +2 -2
- ory_client/models/registration_flow.py +5 -5
- ory_client/models/registration_flow_state.py +3 -3
- ory_client/models/reject_o_auth2_request.py +2 -2
- ory_client/models/relation_query.py +2 -2
- ory_client/models/relationship.py +2 -2
- ory_client/models/relationship_namespaces.py +5 -5
- ory_client/models/relationship_patch.py +2 -2
- ory_client/models/relationships.py +5 -5
- ory_client/models/rfc6749_error_json.py +2 -2
- ory_client/models/schema_patch.py +2 -2
- ory_client/models/self_service_flow_expired_error.py +2 -2
- ory_client/models/session.py +8 -8
- ory_client/models/session_activity_datapoint.py +2 -2
- ory_client/models/session_authentication_method.py +2 -2
- ory_client/models/session_device.py +2 -2
- ory_client/models/set_active_project_in_console_body.py +2 -2
- ory_client/models/set_custom_domain_body.py +2 -2
- ory_client/models/set_event_stream_body.py +2 -2
- ory_client/models/set_project.py +2 -2
- ory_client/models/set_project_branding_theme_body.py +2 -2
- ory_client/models/settings_flow.py +5 -5
- ory_client/models/settings_flow_state.py +3 -3
- ory_client/models/source_position.py +2 -2
- ory_client/models/subject_set.py +2 -2
- ory_client/models/subscription.py +2 -2
- ory_client/models/successful_code_exchange_response.py +2 -2
- ory_client/models/successful_native_login.py +5 -5
- ory_client/models/successful_native_registration.py +5 -5
- ory_client/models/successful_project_update.py +5 -5
- ory_client/models/tax_line_item.py +2 -2
- ory_client/models/time_interval.py +2 -2
- ory_client/models/token_pagination.py +2 -2
- ory_client/models/token_pagination_headers.py +2 -2
- ory_client/models/token_pagination_request_parameters.py +2 -2
- ory_client/models/token_pagination_response_headers.py +2 -2
- ory_client/models/trust_o_auth2_jwt_grant_issuer.py +2 -2
- ory_client/models/trusted_o_auth2_jwt_grant_issuer.py +2 -2
- ory_client/models/trusted_o_auth2_jwt_grant_json_web_key.py +2 -2
- ory_client/models/ui_container.py +8 -8
- ory_client/models/ui_node.py +8 -8
- ory_client/models/ui_node_anchor_attributes.py +2 -2
- ory_client/models/ui_node_attributes.py +4 -4
- ory_client/models/ui_node_image_attributes.py +2 -2
- ory_client/models/ui_node_input_attributes.py +32 -6
- ory_client/models/ui_node_meta.py +2 -2
- ory_client/models/ui_node_script_attributes.py +2 -2
- ory_client/models/ui_node_text_attributes.py +2 -2
- ory_client/models/ui_text.py +2 -2
- ory_client/models/update_fedcm_flow_body.py +105 -0
- ory_client/models/update_identity_body.py +2 -2
- ory_client/models/update_login_flow_body.py +35 -11
- ory_client/models/update_login_flow_with_code_method.py +5 -3
- ory_client/models/update_login_flow_with_identifier_first_method.py +107 -0
- ory_client/models/update_login_flow_with_lookup_secret_method.py +2 -2
- ory_client/models/update_login_flow_with_oidc_method.py +3 -3
- ory_client/models/update_login_flow_with_passkey_method.py +2 -2
- ory_client/models/update_login_flow_with_password_method.py +2 -2
- ory_client/models/update_login_flow_with_totp_method.py +2 -2
- ory_client/models/update_login_flow_with_web_authn_method.py +2 -2
- ory_client/models/update_recovery_flow_body.py +4 -4
- ory_client/models/update_recovery_flow_with_code_method.py +2 -2
- ory_client/models/update_recovery_flow_with_link_method.py +2 -2
- ory_client/models/update_registration_flow_body.py +36 -12
- ory_client/models/update_registration_flow_with_code_method.py +2 -2
- ory_client/models/update_registration_flow_with_oidc_method.py +3 -3
- ory_client/models/update_registration_flow_with_passkey_method.py +2 -2
- ory_client/models/update_registration_flow_with_password_method.py +2 -2
- ory_client/models/update_registration_flow_with_profile_method.py +14 -4
- ory_client/models/update_registration_flow_with_web_authn_method.py +2 -2
- ory_client/models/update_settings_flow_body.py +4 -4
- ory_client/models/update_settings_flow_with_lookup_method.py +2 -2
- ory_client/models/update_settings_flow_with_oidc_method.py +2 -2
- ory_client/models/update_settings_flow_with_passkey_method.py +2 -2
- ory_client/models/update_settings_flow_with_password_method.py +2 -2
- ory_client/models/update_settings_flow_with_profile_method.py +2 -2
- ory_client/models/update_settings_flow_with_totp_method.py +2 -2
- ory_client/models/update_settings_flow_with_web_authn_method.py +2 -2
- ory_client/models/update_subscription_body.py +2 -2
- ory_client/models/update_verification_flow_body.py +4 -4
- ory_client/models/update_verification_flow_with_code_method.py +2 -2
- ory_client/models/update_verification_flow_with_link_method.py +2 -2
- ory_client/models/update_workspace_body.py +2 -2
- ory_client/models/usage.py +2 -2
- ory_client/models/verifiable_credential_priming_response.py +2 -2
- ory_client/models/verifiable_credential_proof.py +2 -2
- ory_client/models/verifiable_credential_response.py +2 -2
- ory_client/models/verifiable_identity_address.py +2 -2
- ory_client/models/verification_flow.py +2 -2
- ory_client/models/verification_flow_state.py +3 -3
- ory_client/models/version.py +2 -2
- ory_client/models/warning.py +2 -2
- ory_client/models/workspace.py +2 -2
- ory_client/models/workspace_api_key.py +6 -4
- ory_client/rest.py +5 -3
- ory_client-1.17.1.dist-info/METADATA +18 -0
- ory_client-1.17.1.dist-info/RECORD +302 -0
- {ory_client-1.12.2.dist-info → ory_client-1.17.1.dist-info}/WHEEL +1 -1
- ory_client-1.12.2.dist-info/METADATA +0 -19
- ory_client-1.12.2.dist-info/RECORD +0 -289
- {ory_client-1.12.2.dist-info → ory_client-1.17.1.dist-info}/LICENSE +0 -0
- {ory_client-1.12.2.dist-info → ory_client-1.17.1.dist-info}/top_level.txt +0 -0
ory_client/api/project_api.py
CHANGED
@@ -3,9 +3,9 @@
|
|
3
3
|
"""
|
4
4
|
Ory APIs
|
5
5
|
|
6
|
-
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
|
6
|
+
# Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
|
7
7
|
|
8
|
-
The version of the OpenAPI document: v1.
|
8
|
+
The version of the OpenAPI document: v1.17.1
|
9
9
|
Contact: support@ory.sh
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -70,9 +70,9 @@ class ProjectApi:
|
|
70
70
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
71
71
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
72
72
|
) -> Organization:
|
73
|
-
"""
|
73
|
+
"""Create an Enterprise SSO Organization
|
74
74
|
|
75
|
-
|
75
|
+
Creates an Enterprise SSO Organization in a project.
|
76
76
|
|
77
77
|
:param project_id: Project ID The project's ID. (required)
|
78
78
|
:type project_id: str
|
@@ -144,9 +144,9 @@ class ProjectApi:
|
|
144
144
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
145
145
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
146
146
|
) -> ApiResponse[Organization]:
|
147
|
-
"""
|
147
|
+
"""Create an Enterprise SSO Organization
|
148
148
|
|
149
|
-
|
149
|
+
Creates an Enterprise SSO Organization in a project.
|
150
150
|
|
151
151
|
:param project_id: Project ID The project's ID. (required)
|
152
152
|
:type project_id: str
|
@@ -218,9 +218,9 @@ class ProjectApi:
|
|
218
218
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
219
219
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
220
220
|
) -> RESTResponseType:
|
221
|
-
"""
|
221
|
+
"""Create an Enterprise SSO Organization
|
222
222
|
|
223
|
-
|
223
|
+
Creates an Enterprise SSO Organization in a project.
|
224
224
|
|
225
225
|
:param project_id: Project ID The project's ID. (required)
|
226
226
|
:type project_id: str
|
@@ -292,7 +292,9 @@ class ProjectApi:
|
|
292
292
|
_query_params: List[Tuple[str, str]] = []
|
293
293
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
294
294
|
_form_params: List[Tuple[str, str]] = []
|
295
|
-
_files: Dict[
|
295
|
+
_files: Dict[
|
296
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
297
|
+
] = {}
|
296
298
|
_body_params: Optional[bytes] = None
|
297
299
|
|
298
300
|
# process the path parameters
|
@@ -307,11 +309,12 @@ class ProjectApi:
|
|
307
309
|
|
308
310
|
|
309
311
|
# set the HTTP header `Accept`
|
310
|
-
|
311
|
-
[
|
312
|
-
|
313
|
-
|
314
|
-
|
312
|
+
if 'Accept' not in _header_params:
|
313
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
314
|
+
[
|
315
|
+
'application/json'
|
316
|
+
]
|
317
|
+
)
|
315
318
|
|
316
319
|
# set the HTTP header `Content-Type`
|
317
320
|
if _content_type:
|
@@ -577,7 +580,9 @@ class ProjectApi:
|
|
577
580
|
_query_params: List[Tuple[str, str]] = []
|
578
581
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
579
582
|
_form_params: List[Tuple[str, str]] = []
|
580
|
-
_files: Dict[
|
583
|
+
_files: Dict[
|
584
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
585
|
+
] = {}
|
581
586
|
_body_params: Optional[bytes] = None
|
582
587
|
|
583
588
|
# process the path parameters
|
@@ -590,11 +595,12 @@ class ProjectApi:
|
|
590
595
|
|
591
596
|
|
592
597
|
# set the HTTP header `Accept`
|
593
|
-
|
594
|
-
[
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
+
if 'Accept' not in _header_params:
|
599
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
600
|
+
[
|
601
|
+
'application/json'
|
602
|
+
]
|
603
|
+
)
|
598
604
|
|
599
605
|
# set the HTTP header `Content-Type`
|
600
606
|
if _content_type:
|
@@ -651,9 +657,9 @@ class ProjectApi:
|
|
651
657
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
652
658
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
653
659
|
) -> ProjectApiKey:
|
654
|
-
"""Create project API
|
660
|
+
"""Create project API key
|
655
661
|
|
656
|
-
Create an API
|
662
|
+
Create an API key for a project.
|
657
663
|
|
658
664
|
:param project: The Project ID or Project slug (required)
|
659
665
|
:type project: str
|
@@ -722,9 +728,9 @@ class ProjectApi:
|
|
722
728
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
723
729
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
724
730
|
) -> ApiResponse[ProjectApiKey]:
|
725
|
-
"""Create project API
|
731
|
+
"""Create project API key
|
726
732
|
|
727
|
-
Create an API
|
733
|
+
Create an API key for a project.
|
728
734
|
|
729
735
|
:param project: The Project ID or Project slug (required)
|
730
736
|
:type project: str
|
@@ -793,9 +799,9 @@ class ProjectApi:
|
|
793
799
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
794
800
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
795
801
|
) -> RESTResponseType:
|
796
|
-
"""Create project API
|
802
|
+
"""Create project API key
|
797
803
|
|
798
|
-
Create an API
|
804
|
+
Create an API key for a project.
|
799
805
|
|
800
806
|
:param project: The Project ID or Project slug (required)
|
801
807
|
:type project: str
|
@@ -864,7 +870,9 @@ class ProjectApi:
|
|
864
870
|
_query_params: List[Tuple[str, str]] = []
|
865
871
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
866
872
|
_form_params: List[Tuple[str, str]] = []
|
867
|
-
_files: Dict[
|
873
|
+
_files: Dict[
|
874
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
875
|
+
] = {}
|
868
876
|
_body_params: Optional[bytes] = None
|
869
877
|
|
870
878
|
# process the path parameters
|
@@ -879,11 +887,12 @@ class ProjectApi:
|
|
879
887
|
|
880
888
|
|
881
889
|
# set the HTTP header `Accept`
|
882
|
-
|
883
|
-
[
|
884
|
-
|
885
|
-
|
886
|
-
|
890
|
+
if 'Accept' not in _header_params:
|
891
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
892
|
+
[
|
893
|
+
'application/json'
|
894
|
+
]
|
895
|
+
)
|
887
896
|
|
888
897
|
# set the HTTP header `Content-Type`
|
889
898
|
if _content_type:
|
@@ -940,9 +949,9 @@ class ProjectApi:
|
|
940
949
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
941
950
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
942
951
|
) -> None:
|
943
|
-
"""
|
952
|
+
"""Delete Enterprise SSO Organization
|
944
953
|
|
945
|
-
|
954
|
+
Irrecoverably deletes an Enterprise SSO Organization in a project by its ID.
|
946
955
|
|
947
956
|
:param project_id: Project ID The project's ID. (required)
|
948
957
|
:type project_id: str
|
@@ -1015,9 +1024,9 @@ class ProjectApi:
|
|
1015
1024
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1016
1025
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
1017
1026
|
) -> ApiResponse[None]:
|
1018
|
-
"""
|
1027
|
+
"""Delete Enterprise SSO Organization
|
1019
1028
|
|
1020
|
-
|
1029
|
+
Irrecoverably deletes an Enterprise SSO Organization in a project by its ID.
|
1021
1030
|
|
1022
1031
|
:param project_id: Project ID The project's ID. (required)
|
1023
1032
|
:type project_id: str
|
@@ -1090,9 +1099,9 @@ class ProjectApi:
|
|
1090
1099
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1091
1100
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
1092
1101
|
) -> RESTResponseType:
|
1093
|
-
"""
|
1102
|
+
"""Delete Enterprise SSO Organization
|
1094
1103
|
|
1095
|
-
|
1104
|
+
Irrecoverably deletes an Enterprise SSO Organization in a project by its ID.
|
1096
1105
|
|
1097
1106
|
:param project_id: Project ID The project's ID. (required)
|
1098
1107
|
:type project_id: str
|
@@ -1165,7 +1174,9 @@ class ProjectApi:
|
|
1165
1174
|
_query_params: List[Tuple[str, str]] = []
|
1166
1175
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1167
1176
|
_form_params: List[Tuple[str, str]] = []
|
1168
|
-
_files: Dict[
|
1177
|
+
_files: Dict[
|
1178
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
1179
|
+
] = {}
|
1169
1180
|
_body_params: Optional[bytes] = None
|
1170
1181
|
|
1171
1182
|
# process the path parameters
|
@@ -1180,11 +1191,12 @@ class ProjectApi:
|
|
1180
1191
|
|
1181
1192
|
|
1182
1193
|
# set the HTTP header `Accept`
|
1183
|
-
|
1184
|
-
[
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1194
|
+
if 'Accept' not in _header_params:
|
1195
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1196
|
+
[
|
1197
|
+
'application/json'
|
1198
|
+
]
|
1199
|
+
)
|
1188
1200
|
|
1189
1201
|
|
1190
1202
|
# authentication setting
|
@@ -1228,9 +1240,9 @@ class ProjectApi:
|
|
1228
1240
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1229
1241
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
1230
1242
|
) -> None:
|
1231
|
-
"""Delete project API
|
1243
|
+
"""Delete project API key
|
1232
1244
|
|
1233
|
-
Deletes an API
|
1245
|
+
Deletes an API key and immediately removes it.
|
1234
1246
|
|
1235
1247
|
:param project: The Project ID or Project slug (required)
|
1236
1248
|
:type project: str
|
@@ -1299,9 +1311,9 @@ class ProjectApi:
|
|
1299
1311
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1300
1312
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
1301
1313
|
) -> ApiResponse[None]:
|
1302
|
-
"""Delete project API
|
1314
|
+
"""Delete project API key
|
1303
1315
|
|
1304
|
-
Deletes an API
|
1316
|
+
Deletes an API key and immediately removes it.
|
1305
1317
|
|
1306
1318
|
:param project: The Project ID or Project slug (required)
|
1307
1319
|
:type project: str
|
@@ -1370,9 +1382,9 @@ class ProjectApi:
|
|
1370
1382
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1371
1383
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
1372
1384
|
) -> RESTResponseType:
|
1373
|
-
"""Delete project API
|
1385
|
+
"""Delete project API key
|
1374
1386
|
|
1375
|
-
Deletes an API
|
1387
|
+
Deletes an API key and immediately removes it.
|
1376
1388
|
|
1377
1389
|
:param project: The Project ID or Project slug (required)
|
1378
1390
|
:type project: str
|
@@ -1441,7 +1453,9 @@ class ProjectApi:
|
|
1441
1453
|
_query_params: List[Tuple[str, str]] = []
|
1442
1454
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1443
1455
|
_form_params: List[Tuple[str, str]] = []
|
1444
|
-
_files: Dict[
|
1456
|
+
_files: Dict[
|
1457
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
1458
|
+
] = {}
|
1445
1459
|
_body_params: Optional[bytes] = None
|
1446
1460
|
|
1447
1461
|
# process the path parameters
|
@@ -1456,11 +1470,12 @@ class ProjectApi:
|
|
1456
1470
|
|
1457
1471
|
|
1458
1472
|
# set the HTTP header `Accept`
|
1459
|
-
|
1460
|
-
[
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1473
|
+
if 'Accept' not in _header_params:
|
1474
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1475
|
+
[
|
1476
|
+
'application/json'
|
1477
|
+
]
|
1478
|
+
)
|
1464
1479
|
|
1465
1480
|
|
1466
1481
|
# authentication setting
|
@@ -1504,8 +1519,9 @@ class ProjectApi:
|
|
1504
1519
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1505
1520
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
1506
1521
|
) -> GetOrganizationResponse:
|
1507
|
-
"""
|
1522
|
+
"""Get Enterprise SSO Organization by ID
|
1508
1523
|
|
1524
|
+
Retrieves an Enterprise SSO Organization for a project by its ID
|
1509
1525
|
|
1510
1526
|
:param project_id: Project ID The project's ID. (required)
|
1511
1527
|
:type project_id: str
|
@@ -1576,8 +1592,9 @@ class ProjectApi:
|
|
1576
1592
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1577
1593
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
1578
1594
|
) -> ApiResponse[GetOrganizationResponse]:
|
1579
|
-
"""
|
1595
|
+
"""Get Enterprise SSO Organization by ID
|
1580
1596
|
|
1597
|
+
Retrieves an Enterprise SSO Organization for a project by its ID
|
1581
1598
|
|
1582
1599
|
:param project_id: Project ID The project's ID. (required)
|
1583
1600
|
:type project_id: str
|
@@ -1648,8 +1665,9 @@ class ProjectApi:
|
|
1648
1665
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
1649
1666
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
1650
1667
|
) -> RESTResponseType:
|
1651
|
-
"""
|
1668
|
+
"""Get Enterprise SSO Organization by ID
|
1652
1669
|
|
1670
|
+
Retrieves an Enterprise SSO Organization for a project by its ID
|
1653
1671
|
|
1654
1672
|
:param project_id: Project ID The project's ID. (required)
|
1655
1673
|
:type project_id: str
|
@@ -1720,7 +1738,9 @@ class ProjectApi:
|
|
1720
1738
|
_query_params: List[Tuple[str, str]] = []
|
1721
1739
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1722
1740
|
_form_params: List[Tuple[str, str]] = []
|
1723
|
-
_files: Dict[
|
1741
|
+
_files: Dict[
|
1742
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
1743
|
+
] = {}
|
1724
1744
|
_body_params: Optional[bytes] = None
|
1725
1745
|
|
1726
1746
|
# process the path parameters
|
@@ -1735,11 +1755,12 @@ class ProjectApi:
|
|
1735
1755
|
|
1736
1756
|
|
1737
1757
|
# set the HTTP header `Accept`
|
1738
|
-
|
1739
|
-
[
|
1740
|
-
|
1741
|
-
|
1742
|
-
|
1758
|
+
if 'Accept' not in _header_params:
|
1759
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
1760
|
+
[
|
1761
|
+
'application/json'
|
1762
|
+
]
|
1763
|
+
)
|
1743
1764
|
|
1744
1765
|
|
1745
1766
|
# authentication setting
|
@@ -1992,7 +2013,9 @@ class ProjectApi:
|
|
1992
2013
|
_query_params: List[Tuple[str, str]] = []
|
1993
2014
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
1994
2015
|
_form_params: List[Tuple[str, str]] = []
|
1995
|
-
_files: Dict[
|
2016
|
+
_files: Dict[
|
2017
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
2018
|
+
] = {}
|
1996
2019
|
_body_params: Optional[bytes] = None
|
1997
2020
|
|
1998
2021
|
# process the path parameters
|
@@ -2005,11 +2028,12 @@ class ProjectApi:
|
|
2005
2028
|
|
2006
2029
|
|
2007
2030
|
# set the HTTP header `Accept`
|
2008
|
-
|
2009
|
-
[
|
2010
|
-
|
2011
|
-
|
2012
|
-
|
2031
|
+
if 'Accept' not in _header_params:
|
2032
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
2033
|
+
[
|
2034
|
+
'application/json'
|
2035
|
+
]
|
2036
|
+
)
|
2013
2037
|
|
2014
2038
|
|
2015
2039
|
# authentication setting
|
@@ -2259,7 +2283,9 @@ class ProjectApi:
|
|
2259
2283
|
_query_params: List[Tuple[str, str]] = []
|
2260
2284
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
2261
2285
|
_form_params: List[Tuple[str, str]] = []
|
2262
|
-
_files: Dict[
|
2286
|
+
_files: Dict[
|
2287
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
2288
|
+
] = {}
|
2263
2289
|
_body_params: Optional[bytes] = None
|
2264
2290
|
|
2265
2291
|
# process the path parameters
|
@@ -2272,11 +2298,12 @@ class ProjectApi:
|
|
2272
2298
|
|
2273
2299
|
|
2274
2300
|
# set the HTTP header `Accept`
|
2275
|
-
|
2276
|
-
[
|
2277
|
-
|
2278
|
-
|
2279
|
-
|
2301
|
+
if 'Accept' not in _header_params:
|
2302
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
2303
|
+
[
|
2304
|
+
'application/json'
|
2305
|
+
]
|
2306
|
+
)
|
2280
2307
|
|
2281
2308
|
|
2282
2309
|
# authentication setting
|
@@ -2322,9 +2349,9 @@ class ProjectApi:
|
|
2322
2349
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2323
2350
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
2324
2351
|
) -> ListOrganizationsResponse:
|
2325
|
-
"""
|
2352
|
+
"""List all Enterprise SSO organizations
|
2326
2353
|
|
2327
|
-
|
2354
|
+
Lists all Enterprise SSO organizations in a project.
|
2328
2355
|
|
2329
2356
|
:param project_id: Project ID The project's ID. (required)
|
2330
2357
|
:type project_id: str
|
@@ -2403,9 +2430,9 @@ class ProjectApi:
|
|
2403
2430
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2404
2431
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
2405
2432
|
) -> ApiResponse[ListOrganizationsResponse]:
|
2406
|
-
"""
|
2433
|
+
"""List all Enterprise SSO organizations
|
2407
2434
|
|
2408
|
-
|
2435
|
+
Lists all Enterprise SSO organizations in a project.
|
2409
2436
|
|
2410
2437
|
:param project_id: Project ID The project's ID. (required)
|
2411
2438
|
:type project_id: str
|
@@ -2484,9 +2511,9 @@ class ProjectApi:
|
|
2484
2511
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2485
2512
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
2486
2513
|
) -> RESTResponseType:
|
2487
|
-
"""
|
2514
|
+
"""List all Enterprise SSO organizations
|
2488
2515
|
|
2489
|
-
|
2516
|
+
Lists all Enterprise SSO organizations in a project.
|
2490
2517
|
|
2491
2518
|
:param project_id: Project ID The project's ID. (required)
|
2492
2519
|
:type project_id: str
|
@@ -2565,7 +2592,9 @@ class ProjectApi:
|
|
2565
2592
|
_query_params: List[Tuple[str, str]] = []
|
2566
2593
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
2567
2594
|
_form_params: List[Tuple[str, str]] = []
|
2568
|
-
_files: Dict[
|
2595
|
+
_files: Dict[
|
2596
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
2597
|
+
] = {}
|
2569
2598
|
_body_params: Optional[bytes] = None
|
2570
2599
|
|
2571
2600
|
# process the path parameters
|
@@ -2590,11 +2619,12 @@ class ProjectApi:
|
|
2590
2619
|
|
2591
2620
|
|
2592
2621
|
# set the HTTP header `Accept`
|
2593
|
-
|
2594
|
-
[
|
2595
|
-
|
2596
|
-
|
2597
|
-
|
2622
|
+
if 'Accept' not in _header_params:
|
2623
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
2624
|
+
[
|
2625
|
+
'application/json'
|
2626
|
+
]
|
2627
|
+
)
|
2598
2628
|
|
2599
2629
|
|
2600
2630
|
# authentication setting
|
@@ -2637,9 +2667,9 @@ class ProjectApi:
|
|
2637
2667
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2638
2668
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
2639
2669
|
) -> List[ProjectApiKey]:
|
2640
|
-
"""List a project's API
|
2670
|
+
"""List a project's API keys
|
2641
2671
|
|
2642
|
-
A list of all the project's API
|
2672
|
+
A list of all the project's API keys.
|
2643
2673
|
|
2644
2674
|
:param project: The Project ID or Project slug (required)
|
2645
2675
|
:type project: str
|
@@ -2704,9 +2734,9 @@ class ProjectApi:
|
|
2704
2734
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2705
2735
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
2706
2736
|
) -> ApiResponse[List[ProjectApiKey]]:
|
2707
|
-
"""List a project's API
|
2737
|
+
"""List a project's API keys
|
2708
2738
|
|
2709
|
-
A list of all the project's API
|
2739
|
+
A list of all the project's API keys.
|
2710
2740
|
|
2711
2741
|
:param project: The Project ID or Project slug (required)
|
2712
2742
|
:type project: str
|
@@ -2771,9 +2801,9 @@ class ProjectApi:
|
|
2771
2801
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
2772
2802
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
2773
2803
|
) -> RESTResponseType:
|
2774
|
-
"""List a project's API
|
2804
|
+
"""List a project's API keys
|
2775
2805
|
|
2776
|
-
A list of all the project's API
|
2806
|
+
A list of all the project's API keys.
|
2777
2807
|
|
2778
2808
|
:param project: The Project ID or Project slug (required)
|
2779
2809
|
:type project: str
|
@@ -2838,7 +2868,9 @@ class ProjectApi:
|
|
2838
2868
|
_query_params: List[Tuple[str, str]] = []
|
2839
2869
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
2840
2870
|
_form_params: List[Tuple[str, str]] = []
|
2841
|
-
_files: Dict[
|
2871
|
+
_files: Dict[
|
2872
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
2873
|
+
] = {}
|
2842
2874
|
_body_params: Optional[bytes] = None
|
2843
2875
|
|
2844
2876
|
# process the path parameters
|
@@ -2851,11 +2883,12 @@ class ProjectApi:
|
|
2851
2883
|
|
2852
2884
|
|
2853
2885
|
# set the HTTP header `Accept`
|
2854
|
-
|
2855
|
-
[
|
2856
|
-
|
2857
|
-
|
2858
|
-
|
2886
|
+
if 'Accept' not in _header_params:
|
2887
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
2888
|
+
[
|
2889
|
+
'application/json'
|
2890
|
+
]
|
2891
|
+
)
|
2859
2892
|
|
2860
2893
|
|
2861
2894
|
# authentication setting
|
@@ -3095,7 +3128,9 @@ class ProjectApi:
|
|
3095
3128
|
_query_params: List[Tuple[str, str]] = []
|
3096
3129
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
3097
3130
|
_form_params: List[Tuple[str, str]] = []
|
3098
|
-
_files: Dict[
|
3131
|
+
_files: Dict[
|
3132
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
3133
|
+
] = {}
|
3099
3134
|
_body_params: Optional[bytes] = None
|
3100
3135
|
|
3101
3136
|
# process the path parameters
|
@@ -3106,11 +3141,12 @@ class ProjectApi:
|
|
3106
3141
|
|
3107
3142
|
|
3108
3143
|
# set the HTTP header `Accept`
|
3109
|
-
|
3110
|
-
[
|
3111
|
-
|
3112
|
-
|
3113
|
-
|
3144
|
+
if 'Accept' not in _header_params:
|
3145
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
3146
|
+
[
|
3147
|
+
'application/json'
|
3148
|
+
]
|
3149
|
+
)
|
3114
3150
|
|
3115
3151
|
|
3116
3152
|
# authentication setting
|
@@ -3380,7 +3416,9 @@ class ProjectApi:
|
|
3380
3416
|
_query_params: List[Tuple[str, str]] = []
|
3381
3417
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
3382
3418
|
_form_params: List[Tuple[str, str]] = []
|
3383
|
-
_files: Dict[
|
3419
|
+
_files: Dict[
|
3420
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
3421
|
+
] = {}
|
3384
3422
|
_body_params: Optional[bytes] = None
|
3385
3423
|
|
3386
3424
|
# process the path parameters
|
@@ -3395,11 +3433,332 @@ class ProjectApi:
|
|
3395
3433
|
|
3396
3434
|
|
3397
3435
|
# set the HTTP header `Accept`
|
3398
|
-
|
3399
|
-
[
|
3400
|
-
|
3436
|
+
if 'Accept' not in _header_params:
|
3437
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
3438
|
+
[
|
3439
|
+
'application/json'
|
3440
|
+
]
|
3441
|
+
)
|
3442
|
+
|
3443
|
+
# set the HTTP header `Content-Type`
|
3444
|
+
if _content_type:
|
3445
|
+
_header_params['Content-Type'] = _content_type
|
3446
|
+
else:
|
3447
|
+
_default_content_type = (
|
3448
|
+
self.api_client.select_header_content_type(
|
3449
|
+
[
|
3450
|
+
'application/json'
|
3451
|
+
]
|
3452
|
+
)
|
3453
|
+
)
|
3454
|
+
if _default_content_type is not None:
|
3455
|
+
_header_params['Content-Type'] = _default_content_type
|
3456
|
+
|
3457
|
+
# authentication setting
|
3458
|
+
_auth_settings: List[str] = [
|
3459
|
+
'oryWorkspaceApiKey'
|
3460
|
+
]
|
3461
|
+
|
3462
|
+
return self.api_client.param_serialize(
|
3463
|
+
method='PATCH',
|
3464
|
+
resource_path='/projects/{project_id}',
|
3465
|
+
path_params=_path_params,
|
3466
|
+
query_params=_query_params,
|
3467
|
+
header_params=_header_params,
|
3468
|
+
body=_body_params,
|
3469
|
+
post_params=_form_params,
|
3470
|
+
files=_files,
|
3471
|
+
auth_settings=_auth_settings,
|
3472
|
+
collection_formats=_collection_formats,
|
3473
|
+
_host=_host,
|
3474
|
+
_request_auth=_request_auth
|
3475
|
+
)
|
3476
|
+
|
3477
|
+
|
3478
|
+
|
3479
|
+
|
3480
|
+
@validate_call
|
3481
|
+
def patch_project_with_revision(
|
3482
|
+
self,
|
3483
|
+
project_id: Annotated[StrictStr, Field(description="Project ID The project's ID.")],
|
3484
|
+
revision_id: Annotated[StrictStr, Field(description="Revision ID The revision ID that this patch was generated for.")],
|
3485
|
+
json_patch: Optional[List[JsonPatch]] = None,
|
3486
|
+
_request_timeout: Union[
|
3487
|
+
None,
|
3488
|
+
Annotated[StrictFloat, Field(gt=0)],
|
3489
|
+
Tuple[
|
3490
|
+
Annotated[StrictFloat, Field(gt=0)],
|
3491
|
+
Annotated[StrictFloat, Field(gt=0)]
|
3401
3492
|
]
|
3493
|
+
] = None,
|
3494
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
3495
|
+
_content_type: Optional[StrictStr] = None,
|
3496
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
3497
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
3498
|
+
) -> SuccessfulProjectUpdate:
|
3499
|
+
"""Patch an Ory Network Project Configuration based on a revision ID
|
3500
|
+
|
3501
|
+
This endpoints allows you to patch individual Ory Network Project configuration keys for Ory's services (identity, permission, ...). The configuration format is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to the Ory Network, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed.
|
3502
|
+
|
3503
|
+
:param project_id: Project ID The project's ID. (required)
|
3504
|
+
:type project_id: str
|
3505
|
+
:param revision_id: Revision ID The revision ID that this patch was generated for. (required)
|
3506
|
+
:type revision_id: str
|
3507
|
+
:param json_patch:
|
3508
|
+
:type json_patch: List[JsonPatch]
|
3509
|
+
:param _request_timeout: timeout setting for this request. If one
|
3510
|
+
number provided, it will be total request
|
3511
|
+
timeout. It can also be a pair (tuple) of
|
3512
|
+
(connection, read) timeouts.
|
3513
|
+
:type _request_timeout: int, tuple(int, int), optional
|
3514
|
+
:param _request_auth: set to override the auth_settings for an a single
|
3515
|
+
request; this effectively ignores the
|
3516
|
+
authentication in the spec for a single request.
|
3517
|
+
:type _request_auth: dict, optional
|
3518
|
+
:param _content_type: force content-type for the request.
|
3519
|
+
:type _content_type: str, Optional
|
3520
|
+
:param _headers: set to override the headers for a single
|
3521
|
+
request; this effectively ignores the headers
|
3522
|
+
in the spec for a single request.
|
3523
|
+
:type _headers: dict, optional
|
3524
|
+
:param _host_index: set to override the host_index for a single
|
3525
|
+
request; this effectively ignores the host_index
|
3526
|
+
in the spec for a single request.
|
3527
|
+
:type _host_index: int, optional
|
3528
|
+
:return: Returns the result object.
|
3529
|
+
""" # noqa: E501
|
3530
|
+
|
3531
|
+
_param = self._patch_project_with_revision_serialize(
|
3532
|
+
project_id=project_id,
|
3533
|
+
revision_id=revision_id,
|
3534
|
+
json_patch=json_patch,
|
3535
|
+
_request_auth=_request_auth,
|
3536
|
+
_content_type=_content_type,
|
3537
|
+
_headers=_headers,
|
3538
|
+
_host_index=_host_index
|
3539
|
+
)
|
3540
|
+
|
3541
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
3542
|
+
'200': "SuccessfulProjectUpdate",
|
3543
|
+
'400': "ErrorGeneric",
|
3544
|
+
'401': "ErrorGeneric",
|
3545
|
+
'403': "ErrorGeneric",
|
3546
|
+
'404': "ErrorGeneric",
|
3547
|
+
}
|
3548
|
+
response_data = self.api_client.call_api(
|
3549
|
+
*_param,
|
3550
|
+
_request_timeout=_request_timeout
|
3402
3551
|
)
|
3552
|
+
response_data.read()
|
3553
|
+
return self.api_client.response_deserialize(
|
3554
|
+
response_data=response_data,
|
3555
|
+
response_types_map=_response_types_map,
|
3556
|
+
).data
|
3557
|
+
|
3558
|
+
|
3559
|
+
@validate_call
|
3560
|
+
def patch_project_with_revision_with_http_info(
|
3561
|
+
self,
|
3562
|
+
project_id: Annotated[StrictStr, Field(description="Project ID The project's ID.")],
|
3563
|
+
revision_id: Annotated[StrictStr, Field(description="Revision ID The revision ID that this patch was generated for.")],
|
3564
|
+
json_patch: Optional[List[JsonPatch]] = None,
|
3565
|
+
_request_timeout: Union[
|
3566
|
+
None,
|
3567
|
+
Annotated[StrictFloat, Field(gt=0)],
|
3568
|
+
Tuple[
|
3569
|
+
Annotated[StrictFloat, Field(gt=0)],
|
3570
|
+
Annotated[StrictFloat, Field(gt=0)]
|
3571
|
+
]
|
3572
|
+
] = None,
|
3573
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
3574
|
+
_content_type: Optional[StrictStr] = None,
|
3575
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
3576
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
3577
|
+
) -> ApiResponse[SuccessfulProjectUpdate]:
|
3578
|
+
"""Patch an Ory Network Project Configuration based on a revision ID
|
3579
|
+
|
3580
|
+
This endpoints allows you to patch individual Ory Network Project configuration keys for Ory's services (identity, permission, ...). The configuration format is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to the Ory Network, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed.
|
3581
|
+
|
3582
|
+
:param project_id: Project ID The project's ID. (required)
|
3583
|
+
:type project_id: str
|
3584
|
+
:param revision_id: Revision ID The revision ID that this patch was generated for. (required)
|
3585
|
+
:type revision_id: str
|
3586
|
+
:param json_patch:
|
3587
|
+
:type json_patch: List[JsonPatch]
|
3588
|
+
:param _request_timeout: timeout setting for this request. If one
|
3589
|
+
number provided, it will be total request
|
3590
|
+
timeout. It can also be a pair (tuple) of
|
3591
|
+
(connection, read) timeouts.
|
3592
|
+
:type _request_timeout: int, tuple(int, int), optional
|
3593
|
+
:param _request_auth: set to override the auth_settings for an a single
|
3594
|
+
request; this effectively ignores the
|
3595
|
+
authentication in the spec for a single request.
|
3596
|
+
:type _request_auth: dict, optional
|
3597
|
+
:param _content_type: force content-type for the request.
|
3598
|
+
:type _content_type: str, Optional
|
3599
|
+
:param _headers: set to override the headers for a single
|
3600
|
+
request; this effectively ignores the headers
|
3601
|
+
in the spec for a single request.
|
3602
|
+
:type _headers: dict, optional
|
3603
|
+
:param _host_index: set to override the host_index for a single
|
3604
|
+
request; this effectively ignores the host_index
|
3605
|
+
in the spec for a single request.
|
3606
|
+
:type _host_index: int, optional
|
3607
|
+
:return: Returns the result object.
|
3608
|
+
""" # noqa: E501
|
3609
|
+
|
3610
|
+
_param = self._patch_project_with_revision_serialize(
|
3611
|
+
project_id=project_id,
|
3612
|
+
revision_id=revision_id,
|
3613
|
+
json_patch=json_patch,
|
3614
|
+
_request_auth=_request_auth,
|
3615
|
+
_content_type=_content_type,
|
3616
|
+
_headers=_headers,
|
3617
|
+
_host_index=_host_index
|
3618
|
+
)
|
3619
|
+
|
3620
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
3621
|
+
'200': "SuccessfulProjectUpdate",
|
3622
|
+
'400': "ErrorGeneric",
|
3623
|
+
'401': "ErrorGeneric",
|
3624
|
+
'403': "ErrorGeneric",
|
3625
|
+
'404': "ErrorGeneric",
|
3626
|
+
}
|
3627
|
+
response_data = self.api_client.call_api(
|
3628
|
+
*_param,
|
3629
|
+
_request_timeout=_request_timeout
|
3630
|
+
)
|
3631
|
+
response_data.read()
|
3632
|
+
return self.api_client.response_deserialize(
|
3633
|
+
response_data=response_data,
|
3634
|
+
response_types_map=_response_types_map,
|
3635
|
+
)
|
3636
|
+
|
3637
|
+
|
3638
|
+
@validate_call
|
3639
|
+
def patch_project_with_revision_without_preload_content(
|
3640
|
+
self,
|
3641
|
+
project_id: Annotated[StrictStr, Field(description="Project ID The project's ID.")],
|
3642
|
+
revision_id: Annotated[StrictStr, Field(description="Revision ID The revision ID that this patch was generated for.")],
|
3643
|
+
json_patch: Optional[List[JsonPatch]] = None,
|
3644
|
+
_request_timeout: Union[
|
3645
|
+
None,
|
3646
|
+
Annotated[StrictFloat, Field(gt=0)],
|
3647
|
+
Tuple[
|
3648
|
+
Annotated[StrictFloat, Field(gt=0)],
|
3649
|
+
Annotated[StrictFloat, Field(gt=0)]
|
3650
|
+
]
|
3651
|
+
] = None,
|
3652
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
3653
|
+
_content_type: Optional[StrictStr] = None,
|
3654
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
3655
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
3656
|
+
) -> RESTResponseType:
|
3657
|
+
"""Patch an Ory Network Project Configuration based on a revision ID
|
3658
|
+
|
3659
|
+
This endpoints allows you to patch individual Ory Network Project configuration keys for Ory's services (identity, permission, ...). The configuration format is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to the Ory Network, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed.
|
3660
|
+
|
3661
|
+
:param project_id: Project ID The project's ID. (required)
|
3662
|
+
:type project_id: str
|
3663
|
+
:param revision_id: Revision ID The revision ID that this patch was generated for. (required)
|
3664
|
+
:type revision_id: str
|
3665
|
+
:param json_patch:
|
3666
|
+
:type json_patch: List[JsonPatch]
|
3667
|
+
:param _request_timeout: timeout setting for this request. If one
|
3668
|
+
number provided, it will be total request
|
3669
|
+
timeout. It can also be a pair (tuple) of
|
3670
|
+
(connection, read) timeouts.
|
3671
|
+
:type _request_timeout: int, tuple(int, int), optional
|
3672
|
+
:param _request_auth: set to override the auth_settings for an a single
|
3673
|
+
request; this effectively ignores the
|
3674
|
+
authentication in the spec for a single request.
|
3675
|
+
:type _request_auth: dict, optional
|
3676
|
+
:param _content_type: force content-type for the request.
|
3677
|
+
:type _content_type: str, Optional
|
3678
|
+
:param _headers: set to override the headers for a single
|
3679
|
+
request; this effectively ignores the headers
|
3680
|
+
in the spec for a single request.
|
3681
|
+
:type _headers: dict, optional
|
3682
|
+
:param _host_index: set to override the host_index for a single
|
3683
|
+
request; this effectively ignores the host_index
|
3684
|
+
in the spec for a single request.
|
3685
|
+
:type _host_index: int, optional
|
3686
|
+
:return: Returns the result object.
|
3687
|
+
""" # noqa: E501
|
3688
|
+
|
3689
|
+
_param = self._patch_project_with_revision_serialize(
|
3690
|
+
project_id=project_id,
|
3691
|
+
revision_id=revision_id,
|
3692
|
+
json_patch=json_patch,
|
3693
|
+
_request_auth=_request_auth,
|
3694
|
+
_content_type=_content_type,
|
3695
|
+
_headers=_headers,
|
3696
|
+
_host_index=_host_index
|
3697
|
+
)
|
3698
|
+
|
3699
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
3700
|
+
'200': "SuccessfulProjectUpdate",
|
3701
|
+
'400': "ErrorGeneric",
|
3702
|
+
'401': "ErrorGeneric",
|
3703
|
+
'403': "ErrorGeneric",
|
3704
|
+
'404': "ErrorGeneric",
|
3705
|
+
}
|
3706
|
+
response_data = self.api_client.call_api(
|
3707
|
+
*_param,
|
3708
|
+
_request_timeout=_request_timeout
|
3709
|
+
)
|
3710
|
+
return response_data.response
|
3711
|
+
|
3712
|
+
|
3713
|
+
def _patch_project_with_revision_serialize(
|
3714
|
+
self,
|
3715
|
+
project_id,
|
3716
|
+
revision_id,
|
3717
|
+
json_patch,
|
3718
|
+
_request_auth,
|
3719
|
+
_content_type,
|
3720
|
+
_headers,
|
3721
|
+
_host_index,
|
3722
|
+
) -> RequestSerialized:
|
3723
|
+
|
3724
|
+
_hosts = [
|
3725
|
+
'https://api.console.ory.sh'
|
3726
|
+
]
|
3727
|
+
_host = _hosts[_host_index]
|
3728
|
+
|
3729
|
+
_collection_formats: Dict[str, str] = {
|
3730
|
+
'JsonPatch': '',
|
3731
|
+
}
|
3732
|
+
|
3733
|
+
_path_params: Dict[str, str] = {}
|
3734
|
+
_query_params: List[Tuple[str, str]] = []
|
3735
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
3736
|
+
_form_params: List[Tuple[str, str]] = []
|
3737
|
+
_files: Dict[
|
3738
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
3739
|
+
] = {}
|
3740
|
+
_body_params: Optional[bytes] = None
|
3741
|
+
|
3742
|
+
# process the path parameters
|
3743
|
+
if project_id is not None:
|
3744
|
+
_path_params['project_id'] = project_id
|
3745
|
+
if revision_id is not None:
|
3746
|
+
_path_params['revision_id'] = revision_id
|
3747
|
+
# process the query parameters
|
3748
|
+
# process the header parameters
|
3749
|
+
# process the form parameters
|
3750
|
+
# process the body parameter
|
3751
|
+
if json_patch is not None:
|
3752
|
+
_body_params = json_patch
|
3753
|
+
|
3754
|
+
|
3755
|
+
# set the HTTP header `Accept`
|
3756
|
+
if 'Accept' not in _header_params:
|
3757
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
3758
|
+
[
|
3759
|
+
'application/json'
|
3760
|
+
]
|
3761
|
+
)
|
3403
3762
|
|
3404
3763
|
# set the HTTP header `Content-Type`
|
3405
3764
|
if _content_type:
|
@@ -3422,7 +3781,7 @@ class ProjectApi:
|
|
3422
3781
|
|
3423
3782
|
return self.api_client.param_serialize(
|
3424
3783
|
method='PATCH',
|
3425
|
-
resource_path='/projects/{project_id}',
|
3784
|
+
resource_path='/projects/{project_id}/revision/{revision_id}',
|
3426
3785
|
path_params=_path_params,
|
3427
3786
|
query_params=_query_params,
|
3428
3787
|
header_params=_header_params,
|
@@ -3457,7 +3816,7 @@ class ProjectApi:
|
|
3457
3816
|
) -> None:
|
3458
3817
|
"""Irrecoverably purge a project
|
3459
3818
|
|
3460
|
-
!! Use with extreme caution !! Using this API endpoint you can purge (completely delete) a project and its data. This action can not be undone and will delete ALL your data.
|
3819
|
+
!! Use with extreme caution !! Using this API endpoint you can purge (completely delete) a project and its data. This action can not be undone and will delete ALL your data. Calling this endpoint will additionally delete custom domains and other related data. If the project is linked to a subscription, the subscription needs to be unlinked first.
|
3461
3820
|
|
3462
3821
|
:param project_id: Project ID The project's ID. (required)
|
3463
3822
|
:type project_id: str
|
@@ -3527,7 +3886,7 @@ class ProjectApi:
|
|
3527
3886
|
) -> ApiResponse[None]:
|
3528
3887
|
"""Irrecoverably purge a project
|
3529
3888
|
|
3530
|
-
!! Use with extreme caution !! Using this API endpoint you can purge (completely delete) a project and its data. This action can not be undone and will delete ALL your data.
|
3889
|
+
!! Use with extreme caution !! Using this API endpoint you can purge (completely delete) a project and its data. This action can not be undone and will delete ALL your data. Calling this endpoint will additionally delete custom domains and other related data. If the project is linked to a subscription, the subscription needs to be unlinked first.
|
3531
3890
|
|
3532
3891
|
:param project_id: Project ID The project's ID. (required)
|
3533
3892
|
:type project_id: str
|
@@ -3597,7 +3956,7 @@ class ProjectApi:
|
|
3597
3956
|
) -> RESTResponseType:
|
3598
3957
|
"""Irrecoverably purge a project
|
3599
3958
|
|
3600
|
-
!! Use with extreme caution !! Using this API endpoint you can purge (completely delete) a project and its data. This action can not be undone and will delete ALL your data.
|
3959
|
+
!! Use with extreme caution !! Using this API endpoint you can purge (completely delete) a project and its data. This action can not be undone and will delete ALL your data. Calling this endpoint will additionally delete custom domains and other related data. If the project is linked to a subscription, the subscription needs to be unlinked first.
|
3601
3960
|
|
3602
3961
|
:param project_id: Project ID The project's ID. (required)
|
3603
3962
|
:type project_id: str
|
@@ -3665,7 +4024,9 @@ class ProjectApi:
|
|
3665
4024
|
_query_params: List[Tuple[str, str]] = []
|
3666
4025
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
3667
4026
|
_form_params: List[Tuple[str, str]] = []
|
3668
|
-
_files: Dict[
|
4027
|
+
_files: Dict[
|
4028
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
4029
|
+
] = {}
|
3669
4030
|
_body_params: Optional[bytes] = None
|
3670
4031
|
|
3671
4032
|
# process the path parameters
|
@@ -3678,11 +4039,12 @@ class ProjectApi:
|
|
3678
4039
|
|
3679
4040
|
|
3680
4041
|
# set the HTTP header `Accept`
|
3681
|
-
|
3682
|
-
[
|
3683
|
-
|
3684
|
-
|
3685
|
-
|
4042
|
+
if 'Accept' not in _header_params:
|
4043
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
4044
|
+
[
|
4045
|
+
'application/json'
|
4046
|
+
]
|
4047
|
+
)
|
3686
4048
|
|
3687
4049
|
|
3688
4050
|
# authentication setting
|
@@ -3945,7 +4307,9 @@ class ProjectApi:
|
|
3945
4307
|
_query_params: List[Tuple[str, str]] = []
|
3946
4308
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
3947
4309
|
_form_params: List[Tuple[str, str]] = []
|
3948
|
-
_files: Dict[
|
4310
|
+
_files: Dict[
|
4311
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
4312
|
+
] = {}
|
3949
4313
|
_body_params: Optional[bytes] = None
|
3950
4314
|
|
3951
4315
|
# process the path parameters
|
@@ -3960,11 +4324,12 @@ class ProjectApi:
|
|
3960
4324
|
|
3961
4325
|
|
3962
4326
|
# set the HTTP header `Accept`
|
3963
|
-
|
3964
|
-
[
|
3965
|
-
|
3966
|
-
|
3967
|
-
|
4327
|
+
if 'Accept' not in _header_params:
|
4328
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
4329
|
+
[
|
4330
|
+
'application/json'
|
4331
|
+
]
|
4332
|
+
)
|
3968
4333
|
|
3969
4334
|
|
3970
4335
|
# authentication setting
|
@@ -4233,7 +4598,9 @@ class ProjectApi:
|
|
4233
4598
|
_query_params: List[Tuple[str, str]] = []
|
4234
4599
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
4235
4600
|
_form_params: List[Tuple[str, str]] = []
|
4236
|
-
_files: Dict[
|
4601
|
+
_files: Dict[
|
4602
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
4603
|
+
] = {}
|
4237
4604
|
_body_params: Optional[bytes] = None
|
4238
4605
|
|
4239
4606
|
# process the path parameters
|
@@ -4248,11 +4615,12 @@ class ProjectApi:
|
|
4248
4615
|
|
4249
4616
|
|
4250
4617
|
# set the HTTP header `Accept`
|
4251
|
-
|
4252
|
-
[
|
4253
|
-
|
4254
|
-
|
4255
|
-
|
4618
|
+
if 'Accept' not in _header_params:
|
4619
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
4620
|
+
[
|
4621
|
+
'application/json'
|
4622
|
+
]
|
4623
|
+
)
|
4256
4624
|
|
4257
4625
|
# set the HTTP header `Content-Type`
|
4258
4626
|
if _content_type:
|
@@ -4310,9 +4678,9 @@ class ProjectApi:
|
|
4310
4678
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
4311
4679
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
4312
4680
|
) -> Organization:
|
4313
|
-
"""
|
4681
|
+
"""Update an Enterprise SSO Organization
|
4314
4682
|
|
4315
|
-
|
4683
|
+
Updates an Enterprise SSO Organization in a project by its ID.
|
4316
4684
|
|
4317
4685
|
:param project_id: Project ID The project's ID. (required)
|
4318
4686
|
:type project_id: str
|
@@ -4389,9 +4757,9 @@ class ProjectApi:
|
|
4389
4757
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
4390
4758
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
4391
4759
|
) -> ApiResponse[Organization]:
|
4392
|
-
"""
|
4760
|
+
"""Update an Enterprise SSO Organization
|
4393
4761
|
|
4394
|
-
|
4762
|
+
Updates an Enterprise SSO Organization in a project by its ID.
|
4395
4763
|
|
4396
4764
|
:param project_id: Project ID The project's ID. (required)
|
4397
4765
|
:type project_id: str
|
@@ -4468,9 +4836,9 @@ class ProjectApi:
|
|
4468
4836
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
4469
4837
|
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
4470
4838
|
) -> RESTResponseType:
|
4471
|
-
"""
|
4839
|
+
"""Update an Enterprise SSO Organization
|
4472
4840
|
|
4473
|
-
|
4841
|
+
Updates an Enterprise SSO Organization in a project by its ID.
|
4474
4842
|
|
4475
4843
|
:param project_id: Project ID The project's ID. (required)
|
4476
4844
|
:type project_id: str
|
@@ -4547,7 +4915,9 @@ class ProjectApi:
|
|
4547
4915
|
_query_params: List[Tuple[str, str]] = []
|
4548
4916
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
4549
4917
|
_form_params: List[Tuple[str, str]] = []
|
4550
|
-
_files: Dict[
|
4918
|
+
_files: Dict[
|
4919
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
4920
|
+
] = {}
|
4551
4921
|
_body_params: Optional[bytes] = None
|
4552
4922
|
|
4553
4923
|
# process the path parameters
|
@@ -4564,11 +4934,12 @@ class ProjectApi:
|
|
4564
4934
|
|
4565
4935
|
|
4566
4936
|
# set the HTTP header `Accept`
|
4567
|
-
|
4568
|
-
[
|
4569
|
-
|
4570
|
-
|
4571
|
-
|
4937
|
+
if 'Accept' not in _header_params:
|
4938
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
4939
|
+
[
|
4940
|
+
'application/json'
|
4941
|
+
]
|
4942
|
+
)
|
4572
4943
|
|
4573
4944
|
# set the HTTP header `Content-Type`
|
4574
4945
|
if _content_type:
|