diff --git a/lib/zitadel-client/api/feature_service_api.rb b/lib/zitadel-client/api/feature_service_api.rb index 05672131..faaece9d 100644 --- a/lib/zitadel-client/api/feature_service_api.rb +++ b/lib/zitadel-client/api/feature_service_api.rb @@ -19,8 +19,8 @@ class FeatureServiceApi def initialize(api_client = ApiClient.default) @api_client = api_client end - # Get instance level features - # Returns all configured features for an instance. Unset fields mean the feature is the current system default. + # Get Instance Features + # Returns all configured features for an instance. Unset fields mean the feature is the current system default. Required permissions: - none # @param [Hash] opts the optional parameters # @option opts [Boolean] :inheritance Inherit unset features from the resource owners. This option is recursive: if the flag is set, the resource's ancestors are consulted up to system defaults. If this option is disabled and the feature is not set on the instance, it will be omitted from the response or Not Found is returned when the instance has no features flags at all. # @return [FeatureServiceGetInstanceFeaturesResponse] @@ -29,8 +29,8 @@ def feature_service_get_instance_features(opts = {}) data end - # Get instance level features - # Returns all configured features for an instance. Unset fields mean the feature is the current system default. + # Get Instance Features + # Returns all configured features for an instance. Unset fields mean the feature is the current system default. Required permissions: - none # @param [Hash] opts the optional parameters # @option opts [Boolean] :inheritance Inherit unset features from the resource owners. This option is recursive: if the flag is set, the resource's ancestors are consulted up to system defaults. If this option is disabled and the feature is not set on the instance, it will be omitted from the response or Not Found is returned when the instance has no features flags at all. # @return [Array<(FeatureServiceGetInstanceFeaturesResponse, Integer, Hash)>] FeatureServiceGetInstanceFeaturesResponse data, response status code and response headers @@ -79,8 +79,8 @@ def feature_service_get_instance_features_with_http_info(opts = {}) return data, status_code, headers end - # Get organization level features - # Returns all configured features for an organization. Unset fields mean the feature is the current instance default. + # Get Organization Features + # Returns all configured features for an organization. Unset fields mean the feature is the current instance default. Required permissions: - org.feature.read - no permission required for the organization the user belongs to # @param organization_id [String] # @param [Hash] opts the optional parameters # @option opts [Boolean] :inheritance Inherit unset features from the resource owners. This option is recursive: if the flag is set, the resource's ancestors are consulted up to system defaults. If this option is disabled and the feature is not set on the organization, it will be omitted from the response or Not Found is returned when the organization has no features flags at all. @@ -90,8 +90,8 @@ def feature_service_get_organization_features(organization_id, opts = {}) data end - # Get organization level features - # Returns all configured features for an organization. Unset fields mean the feature is the current instance default. + # Get Organization Features + # Returns all configured features for an organization. Unset fields mean the feature is the current instance default. Required permissions: - org.feature.read - no permission required for the organization the user belongs to # @param organization_id [String] # @param [Hash] opts the optional parameters # @option opts [Boolean] :inheritance Inherit unset features from the resource owners. This option is recursive: if the flag is set, the resource's ancestors are consulted up to system defaults. If this option is disabled and the feature is not set on the organization, it will be omitted from the response or Not Found is returned when the organization has no features flags at all. @@ -145,8 +145,8 @@ def feature_service_get_organization_features_with_http_info(organization_id, op return data, status_code, headers end - # Get system level features - # Returns all configured features for the system. Unset fields mean the feature is the current system default. + # Get System Features + # Returns all configured features for the system. Unset fields mean the feature is the current system default. Required permissions: - none # @param [Hash] opts the optional parameters # @return [FeatureServiceGetSystemFeaturesResponse] def feature_service_get_system_features(opts = {}) @@ -154,8 +154,8 @@ def feature_service_get_system_features(opts = {}) data end - # Get system level features - # Returns all configured features for the system. Unset fields mean the feature is the current system default. + # Get System Features + # Returns all configured features for the system. Unset fields mean the feature is the current system default. Required permissions: - none # @param [Hash] opts the optional parameters # @return [Array<(FeatureServiceGetSystemFeaturesResponse, Integer, Hash)>] FeatureServiceGetSystemFeaturesResponse data, response status code and response headers def feature_service_get_system_features_with_http_info(opts = {}) @@ -202,8 +202,8 @@ def feature_service_get_system_features_with_http_info(opts = {}) return data, status_code, headers end - # Get organization level features - # Returns all configured features for an organization. Unset fields mean the feature is the current instance default. + # Get User Features + # Returns all configured features for a user. Unset fields mean the feature is the current organization default. Required permissions: - user.feature.read - no permission required for the own user # @param user_id [String] # @param [Hash] opts the optional parameters # @option opts [Boolean] :inheritance Inherit unset features from the resource owners. This option is recursive: if the flag is set, the resource's ancestors are consulted up to system defaults. If this option is disabled and the feature is not set on the user, it will be ommitted from the response or Not Found is returned when the user has no features flags at all. @@ -213,8 +213,8 @@ def feature_service_get_user_features(user_id, opts = {}) data end - # Get organization level features - # Returns all configured features for an organization. Unset fields mean the feature is the current instance default. + # Get User Features + # Returns all configured features for a user. Unset fields mean the feature is the current organization default. Required permissions: - user.feature.read - no permission required for the own user # @param user_id [String] # @param [Hash] opts the optional parameters # @option opts [Boolean] :inheritance Inherit unset features from the resource owners. This option is recursive: if the flag is set, the resource's ancestors are consulted up to system defaults. If this option is disabled and the feature is not set on the user, it will be ommitted from the response or Not Found is returned when the user has no features flags at all. @@ -268,8 +268,8 @@ def feature_service_get_user_features_with_http_info(user_id, opts = {}) return data, status_code, headers end - # Reset instance level features - # Deletes ALL configured features for an instance, reverting the behaviors to system defaults. + # Reset Instance Features + # Deletes ALL configured features for an instance, reverting the behaviors to system defaults. Required permissions: - iam.feature.delete # @param [Hash] opts the optional parameters # @return [FeatureServiceResetInstanceFeaturesResponse] def feature_service_reset_instance_features(opts = {}) @@ -277,8 +277,8 @@ def feature_service_reset_instance_features(opts = {}) data end - # Reset instance level features - # Deletes ALL configured features for an instance, reverting the behaviors to system defaults. + # Reset Instance Features + # Deletes ALL configured features for an instance, reverting the behaviors to system defaults. Required permissions: - iam.feature.delete # @param [Hash] opts the optional parameters # @return [Array<(FeatureServiceResetInstanceFeaturesResponse, Integer, Hash)>] FeatureServiceResetInstanceFeaturesResponse data, response status code and response headers def feature_service_reset_instance_features_with_http_info(opts = {}) @@ -325,8 +325,8 @@ def feature_service_reset_instance_features_with_http_info(opts = {}) return data, status_code, headers end - # Reset organization level features - # Deletes ALL configured features for an organization, reverting the behaviors to instance defaults. + # Reset Organization Features + # Deletes ALL configured features for an organization, reverting the behaviors to instance defaults. Required permissions: - org.feature.delete # @param organization_id [String] # @param [Hash] opts the optional parameters # @return [FeatureServiceResetOrganizationFeaturesResponse] @@ -335,8 +335,8 @@ def feature_service_reset_organization_features(organization_id, opts = {}) data end - # Reset organization level features - # Deletes ALL configured features for an organization, reverting the behaviors to instance defaults. + # Reset Organization Features + # Deletes ALL configured features for an organization, reverting the behaviors to instance defaults. Required permissions: - org.feature.delete # @param organization_id [String] # @param [Hash] opts the optional parameters # @return [Array<(FeatureServiceResetOrganizationFeaturesResponse, Integer, Hash)>] FeatureServiceResetOrganizationFeaturesResponse data, response status code and response headers @@ -388,8 +388,8 @@ def feature_service_reset_organization_features_with_http_info(organization_id, return data, status_code, headers end - # Reset system level features - # Deletes ALL configured features for the system, reverting the behaviors to system defaults. + # Reset System Features + # Deletes ALL configured features for the system, reverting the behaviors to system defaults. Required permissions: - system.feature.delete # @param [Hash] opts the optional parameters # @return [FeatureServiceResetSystemFeaturesResponse] def feature_service_reset_system_features(opts = {}) @@ -397,8 +397,8 @@ def feature_service_reset_system_features(opts = {}) data end - # Reset system level features - # Deletes ALL configured features for the system, reverting the behaviors to system defaults. + # Reset System Features + # Deletes ALL configured features for the system, reverting the behaviors to system defaults. Required permissions: - system.feature.delete # @param [Hash] opts the optional parameters # @return [Array<(FeatureServiceResetSystemFeaturesResponse, Integer, Hash)>] FeatureServiceResetSystemFeaturesResponse data, response status code and response headers def feature_service_reset_system_features_with_http_info(opts = {}) @@ -445,8 +445,8 @@ def feature_service_reset_system_features_with_http_info(opts = {}) return data, status_code, headers end - # Reset user level features - # Deletes ALL configured features for a user, reverting the behaviors to organization defaults. + # Reset User Features + # Deletes ALL configured features for a user, reverting the behaviors to organization defaults. Required permissions: - user.feature.delete # @param user_id [String] # @param [Hash] opts the optional parameters # @return [FeatureServiceResetUserFeaturesResponse] @@ -455,8 +455,8 @@ def feature_service_reset_user_features(user_id, opts = {}) data end - # Reset user level features - # Deletes ALL configured features for a user, reverting the behaviors to organization defaults. + # Reset User Features + # Deletes ALL configured features for a user, reverting the behaviors to organization defaults. Required permissions: - user.feature.delete # @param user_id [String] # @param [Hash] opts the optional parameters # @return [Array<(FeatureServiceResetUserFeaturesResponse, Integer, Hash)>] FeatureServiceResetUserFeaturesResponse data, response status code and response headers @@ -508,8 +508,8 @@ def feature_service_reset_user_features_with_http_info(user_id, opts = {}) return data, status_code, headers end - # Set instance level features - # Configure and set features that apply to a complete instance. Only fields present in the request are set or unset. + # Set Instance Features + # Configure and set features that apply to a complete instance. Only fields present in the request are set or unset. Required permissions: - iam.feature.write # @param feature_service_set_instance_features_request [FeatureServiceSetInstanceFeaturesRequest] # @param [Hash] opts the optional parameters # @return [FeatureServiceSetInstanceFeaturesResponse] @@ -518,8 +518,8 @@ def feature_service_set_instance_features(feature_service_set_instance_features_ data end - # Set instance level features - # Configure and set features that apply to a complete instance. Only fields present in the request are set or unset. + # Set Instance Features + # Configure and set features that apply to a complete instance. Only fields present in the request are set or unset. Required permissions: - iam.feature.write # @param feature_service_set_instance_features_request [FeatureServiceSetInstanceFeaturesRequest] # @param [Hash] opts the optional parameters # @return [Array<(FeatureServiceSetInstanceFeaturesResponse, Integer, Hash)>] FeatureServiceSetInstanceFeaturesResponse data, response status code and response headers @@ -576,8 +576,8 @@ def feature_service_set_instance_features_with_http_info(feature_service_set_ins return data, status_code, headers end - # Set organization level features - # Configure and set features that apply to a complete instance. Only fields present in the request are set or unset. + # Set Organization Features + # Configure and set features that apply to a complete instance. Only fields present in the request are set or unset. Required permissions: - org.feature.write # @param organization_id [String] # @param [Hash] opts the optional parameters # @return [FeatureServiceSetOrganizationFeaturesResponse] @@ -586,8 +586,8 @@ def feature_service_set_organization_features(organization_id, opts = {}) data end - # Set organization level features - # Configure and set features that apply to a complete instance. Only fields present in the request are set or unset. + # Set Organization Features + # Configure and set features that apply to a complete instance. Only fields present in the request are set or unset. Required permissions: - org.feature.write # @param organization_id [String] # @param [Hash] opts the optional parameters # @return [Array<(FeatureServiceSetOrganizationFeaturesResponse, Integer, Hash)>] FeatureServiceSetOrganizationFeaturesResponse data, response status code and response headers @@ -644,8 +644,8 @@ def feature_service_set_organization_features_with_http_info(organization_id, op return data, status_code, headers end - # Set system level features - # Configure and set features that apply to the complete system. Only fields present in the request are set or unset. + # Set System Features + # Configure and set features that apply to the complete system. Only fields present in the request are set or unset. Required permissions: - system.feature.write # @param feature_service_set_system_features_request [FeatureServiceSetSystemFeaturesRequest] # @param [Hash] opts the optional parameters # @return [FeatureServiceSetSystemFeaturesResponse] @@ -654,8 +654,8 @@ def feature_service_set_system_features(feature_service_set_system_features_requ data end - # Set system level features - # Configure and set features that apply to the complete system. Only fields present in the request are set or unset. + # Set System Features + # Configure and set features that apply to the complete system. Only fields present in the request are set or unset. Required permissions: - system.feature.write # @param feature_service_set_system_features_request [FeatureServiceSetSystemFeaturesRequest] # @param [Hash] opts the optional parameters # @return [Array<(FeatureServiceSetSystemFeaturesResponse, Integer, Hash)>] FeatureServiceSetSystemFeaturesResponse data, response status code and response headers @@ -712,8 +712,8 @@ def feature_service_set_system_features_with_http_info(feature_service_set_syste return data, status_code, headers end - # Set user level features - # Configure and set features that apply to an user. Only fields present in the request are set or unset. + # Set User Features + # Configure and set features that apply to an user. Only fields present in the request are set or unset. Required permissions: - user.feature.write # @param user_id [String] # @param [Hash] opts the optional parameters # @return [FeatureServiceSetUserFeaturesResponse] @@ -722,8 +722,8 @@ def feature_service_set_user_features(user_id, opts = {}) data end - # Set user level features - # Configure and set features that apply to an user. Only fields present in the request are set or unset. + # Set User Features + # Configure and set features that apply to an user. Only fields present in the request are set or unset. Required permissions: - user.feature.write # @param user_id [String] # @param [Hash] opts the optional parameters # @return [Array<(FeatureServiceSetUserFeaturesResponse, Integer, Hash)>] FeatureServiceSetUserFeaturesResponse data, response status code and response headers diff --git a/lib/zitadel-client/models/user_service_retrieve_identity_provider_intent_response.rb b/lib/zitadel-client/models/user_service_retrieve_identity_provider_intent_response.rb index a528b077..7353b92f 100644 --- a/lib/zitadel-client/models/user_service_retrieve_identity_provider_intent_response.rb +++ b/lib/zitadel-client/models/user_service_retrieve_identity_provider_intent_response.rb @@ -22,12 +22,15 @@ class UserServiceRetrieveIdentityProviderIntentResponse # ID of the user in ZITADEL if external user is linked attr_accessor :user_id + attr_accessor :add_human_user + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'details' => :'details', :'idp_information' => :'idpInformation', - :'user_id' => :'userId' + :'user_id' => :'userId', + :'add_human_user' => :'addHumanUser' } end @@ -46,7 +49,8 @@ def self.openapi_types { :'details' => :'UserServiceDetails', :'idp_information' => :'UserServiceIDPInformation', - :'user_id' => :'String' + :'user_id' => :'String', + :'add_human_user' => :'UserServiceAddHumanUserRequest' } end @@ -83,6 +87,10 @@ def initialize(attributes = {}) if attributes.key?(:'user_id') self.user_id = attributes[:'user_id'] end + + if attributes.key?(:'add_human_user') + self.add_human_user = attributes[:'add_human_user'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -107,7 +115,8 @@ def ==(o) self.class == o.class && details == o.details && idp_information == o.idp_information && - user_id == o.user_id + user_id == o.user_id && + add_human_user == o.add_human_user end # @see the `==` method @@ -119,7 +128,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [details, idp_information, user_id].hash + [details, idp_information, user_id, add_human_user].hash end # Builds the object from hash