Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 17 additions & 19 deletions lib/zitadel/client/api/feature_service_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@

require 'cgi'

module Zitadel::Client
module Api # Added Api module
module Zitadel::Client::Api
class FeatureServiceApi
attr_accessor :api_client

Expand Down Expand Up @@ -82,7 +81,7 @@ def feature_service_get_instance_features_with_http_info(opts = {})

# 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 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.
# @return [FeatureServiceGetOrganizationFeaturesResponse]
Expand All @@ -93,7 +92,7 @@ def feature_service_get_organization_features(organization_id, opts = {})

# 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 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.
# @return [Array<(FeatureServiceGetOrganizationFeaturesResponse, Integer, Hash)>] FeatureServiceGetOrganizationFeaturesResponse data, response status code and response headers
Expand Down Expand Up @@ -205,7 +204,7 @@ def feature_service_get_system_features_with_http_info(opts = {})

# 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 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&#39;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.
# @return [FeatureServiceGetUserFeaturesResponse]
Expand All @@ -216,7 +215,7 @@ def feature_service_get_user_features(user_id, opts = {})

# 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 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&#39;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.
# @return [Array<(FeatureServiceGetUserFeaturesResponse, Integer, Hash)>] FeatureServiceGetUserFeaturesResponse data, response status code and response headers
Expand Down Expand Up @@ -328,7 +327,7 @@ def feature_service_reset_instance_features_with_http_info(opts = {})

# 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 organization_id [String]
# @param [Hash] opts the optional parameters
# @return [FeatureServiceResetOrganizationFeaturesResponse]
def feature_service_reset_organization_features(organization_id, opts = {})
Expand All @@ -338,7 +337,7 @@ def feature_service_reset_organization_features(organization_id, opts = {})

# 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 organization_id [String]
# @param [Hash] opts the optional parameters
# @return [Array<(FeatureServiceResetOrganizationFeaturesResponse, Integer, Hash)>] FeatureServiceResetOrganizationFeaturesResponse data, response status code and response headers
def feature_service_reset_organization_features_with_http_info(organization_id, opts = {})
Expand Down Expand Up @@ -448,7 +447,7 @@ def feature_service_reset_system_features_with_http_info(opts = {})

# 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 user_id [String]
# @param [Hash] opts the optional parameters
# @return [FeatureServiceResetUserFeaturesResponse]
def feature_service_reset_user_features(user_id, opts = {})
Expand All @@ -458,7 +457,7 @@ def feature_service_reset_user_features(user_id, opts = {})

# 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 user_id [String]
# @param [Hash] opts the optional parameters
# @return [Array<(FeatureServiceResetUserFeaturesResponse, Integer, Hash)>] FeatureServiceResetUserFeaturesResponse data, response status code and response headers
def feature_service_reset_user_features_with_http_info(user_id, opts = {})
Expand Down Expand Up @@ -511,7 +510,7 @@ def feature_service_reset_user_features_with_http_info(user_id, opts = {})

# 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 feature_service_set_instance_features_request [FeatureServiceSetInstanceFeaturesRequest]
# @param [Hash] opts the optional parameters
# @return [FeatureServiceSetInstanceFeaturesResponse]
def feature_service_set_instance_features(feature_service_set_instance_features_request, opts = {})
Expand All @@ -521,7 +520,7 @@ def feature_service_set_instance_features(feature_service_set_instance_features_

# 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 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
def feature_service_set_instance_features_with_http_info(feature_service_set_instance_features_request, opts = {})
Expand Down Expand Up @@ -579,7 +578,7 @@ def feature_service_set_instance_features_with_http_info(feature_service_set_ins

# 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 organization_id [String]
# @param [Hash] opts the optional parameters
# @return [FeatureServiceSetOrganizationFeaturesResponse]
def feature_service_set_organization_features(organization_id, opts = {})
Expand All @@ -589,7 +588,7 @@ def feature_service_set_organization_features(organization_id, opts = {})

# 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 organization_id [String]
# @param [Hash] opts the optional parameters
# @return [Array<(FeatureServiceSetOrganizationFeaturesResponse, Integer, Hash)>] FeatureServiceSetOrganizationFeaturesResponse data, response status code and response headers
def feature_service_set_organization_features_with_http_info(organization_id, opts = {})
Expand Down Expand Up @@ -647,7 +646,7 @@ def feature_service_set_organization_features_with_http_info(organization_id, op

# 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 feature_service_set_system_features_request [FeatureServiceSetSystemFeaturesRequest]
# @param [Hash] opts the optional parameters
# @return [FeatureServiceSetSystemFeaturesResponse]
def feature_service_set_system_features(feature_service_set_system_features_request, opts = {})
Expand All @@ -657,7 +656,7 @@ def feature_service_set_system_features(feature_service_set_system_features_requ

# 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 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
def feature_service_set_system_features_with_http_info(feature_service_set_system_features_request, opts = {})
Expand Down Expand Up @@ -715,7 +714,7 @@ def feature_service_set_system_features_with_http_info(feature_service_set_syste

# 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 user_id [String]
# @param [Hash] opts the optional parameters
# @return [FeatureServiceSetUserFeaturesResponse]
def feature_service_set_user_features(user_id, opts = {})
Expand All @@ -725,7 +724,7 @@ def feature_service_set_user_features(user_id, opts = {})

# 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 user_id [String]
# @param [Hash] opts the optional parameters
# @return [Array<(FeatureServiceSetUserFeaturesResponse, Integer, Hash)>] FeatureServiceSetUserFeaturesResponse data, response status code and response headers
def feature_service_set_user_features_with_http_info(user_id, opts = {})
Expand Down Expand Up @@ -781,5 +780,4 @@ def feature_service_set_user_features_with_http_info(user_id, opts = {})
return data, status_code, headers
end
end
end # End of Api module
end
8 changes: 3 additions & 5 deletions lib/zitadel/client/api/identity_provider_service_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@

require 'cgi'

module Zitadel::Client
module Api # Added Api module
module Zitadel::Client::Api
class IdentityProviderServiceApi
attr_accessor :api_client

Expand All @@ -22,7 +21,7 @@ def initialize(api_client = ApiClient.default)
end
# Get identity provider (IdP) by ID
# Returns an identity provider (social/enterprise login) by its ID, which can be of the type Google, AzureAD, etc.
# @param id [String]
# @param id [String]
# @param [Hash] opts the optional parameters
# @return [IdentityProviderServiceGetIDPByIDResponse]
def identity_provider_service_get_idpby_id(id, opts = {})
Expand All @@ -32,7 +31,7 @@ def identity_provider_service_get_idpby_id(id, opts = {})

# Get identity provider (IdP) by ID
# Returns an identity provider (social/enterprise login) by its ID, which can be of the type Google, AzureAD, etc.
# @param id [String]
# @param id [String]
# @param [Hash] opts the optional parameters
# @return [Array<(IdentityProviderServiceGetIDPByIDResponse, Integer, Hash)>] IdentityProviderServiceGetIDPByIDResponse data, response status code and response headers
def identity_provider_service_get_idpby_id_with_http_info(id, opts = {})
Expand Down Expand Up @@ -83,5 +82,4 @@ def identity_provider_service_get_idpby_id_with_http_info(id, opts = {})
return data, status_code, headers
end
end
end # End of Api module
end
12 changes: 5 additions & 7 deletions lib/zitadel/client/api/o_i_d_c_service_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@

require 'cgi'

module Zitadel::Client
module Api # Added Api module
module Zitadel::Client::Api
class OIDCServiceApi
attr_accessor :api_client

Expand All @@ -23,7 +22,7 @@ def initialize(api_client = ApiClient.default)
# Authorize or deny device authorization
# Authorize or deny the device authorization request based on the provided device authorization id.
# @param device_authorization_id [String] The device authorization id returned when submitting the user code.
# @param oidc_service_authorize_or_deny_device_authorization_request [OIDCServiceAuthorizeOrDenyDeviceAuthorizationRequest]
# @param oidc_service_authorize_or_deny_device_authorization_request [OIDCServiceAuthorizeOrDenyDeviceAuthorizationRequest]
# @param [Hash] opts the optional parameters
# @return [Object]
def o_idc_service_authorize_or_deny_device_authorization(device_authorization_id, oidc_service_authorize_or_deny_device_authorization_request, opts = {})
Expand All @@ -34,7 +33,7 @@ def o_idc_service_authorize_or_deny_device_authorization(device_authorization_id
# Authorize or deny device authorization
# Authorize or deny the device authorization request based on the provided device authorization id.
# @param device_authorization_id [String] The device authorization id returned when submitting the user code.
# @param oidc_service_authorize_or_deny_device_authorization_request [OIDCServiceAuthorizeOrDenyDeviceAuthorizationRequest]
# @param oidc_service_authorize_or_deny_device_authorization_request [OIDCServiceAuthorizeOrDenyDeviceAuthorizationRequest]
# @param [Hash] opts the optional parameters
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
def o_idc_service_authorize_or_deny_device_authorization_with_http_info(device_authorization_id, oidc_service_authorize_or_deny_device_authorization_request, opts = {})
Expand Down Expand Up @@ -97,7 +96,7 @@ def o_idc_service_authorize_or_deny_device_authorization_with_http_info(device_a
# Finalize an Auth Request and get the callback URL.
# Finalize an Auth Request and get the callback URL for success or failure. The user must be redirected to the URL in order to inform the application about the success or failure. On success, the URL contains details for the application to obtain the tokens. This method can only be called once for an Auth request.
# @param auth_request_id [String] ID of the Auth Request.
# @param oidc_service_create_callback_request [OIDCServiceCreateCallbackRequest]
# @param oidc_service_create_callback_request [OIDCServiceCreateCallbackRequest]
# @param [Hash] opts the optional parameters
# @return [OIDCServiceCreateCallbackResponse]
def o_idc_service_create_callback(auth_request_id, oidc_service_create_callback_request, opts = {})
Expand All @@ -108,7 +107,7 @@ def o_idc_service_create_callback(auth_request_id, oidc_service_create_callback_
# Finalize an Auth Request and get the callback URL.
# Finalize an Auth Request and get the callback URL for success or failure. The user must be redirected to the URL in order to inform the application about the success or failure. On success, the URL contains details for the application to obtain the tokens. This method can only be called once for an Auth request.
# @param auth_request_id [String] ID of the Auth Request.
# @param oidc_service_create_callback_request [OIDCServiceCreateCallbackRequest]
# @param oidc_service_create_callback_request [OIDCServiceCreateCallbackRequest]
# @param [Hash] opts the optional parameters
# @return [Array<(OIDCServiceCreateCallbackResponse, Integer, Hash)>] OIDCServiceCreateCallbackResponse data, response status code and response headers
def o_idc_service_create_callback_with_http_info(auth_request_id, oidc_service_create_callback_request, opts = {})
Expand Down Expand Up @@ -294,5 +293,4 @@ def o_idc_service_get_device_authorization_request_with_http_info(user_code, opt
return data, status_code, headers
end
end
end # End of Api module
end
Loading
Loading