Skip to content
Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
670 changes: 0 additions & 670 deletions lib/zitadel/client/api/action_service_api.rb

This file was deleted.

702 changes: 702 additions & 0 deletions lib/zitadel/client/api/beta_action_service_api.rb

Large diffs are not rendered by default.

814 changes: 814 additions & 0 deletions lib/zitadel/client/api/beta_feature_service_api.rb

Large diffs are not rendered by default.

154 changes: 154 additions & 0 deletions lib/zitadel/client/api/beta_o_i_d_c_service_api.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
=begin
#Zitadel SDK

#The Zitadel SDK is a convenience wrapper around the Zitadel APIs to assist you in integrating with your Zitadel environment. This SDK enables you to handle resources, settings, and configurations within the Zitadel platform.

The version of the OpenAPI document: 1.0.0

Generated by: https://openapi-generator.tech
Generator version: 7.12.0

=end

require 'cgi'

module Zitadel::Client::Api
class BetaOIDCServiceApi
attr_accessor :api_client

def initialize(api_client = ApiClient.default)
@api_client = api_client
end
# CreateCallback
# @param beta_oidc_service_create_callback_request [BetaOIDCServiceCreateCallbackRequest]
# @param [Hash] opts the optional parameters
# @return [BetaOIDCServiceCreateCallbackResponse]
def create_callback(beta_oidc_service_create_callback_request, opts = {})
data, _status_code, _headers = create_callback_with_http_info(beta_oidc_service_create_callback_request, opts)
data
end

# CreateCallback
# @param beta_oidc_service_create_callback_request [BetaOIDCServiceCreateCallbackRequest]
# @param [Hash] opts the optional parameters
# @return [Array<(BetaOIDCServiceCreateCallbackResponse, Integer, Hash)>] BetaOIDCServiceCreateCallbackResponse data, response status code and response headers
def create_callback_with_http_info(beta_oidc_service_create_callback_request, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: Api::BetaOIDCServiceApi.create_callback ...' # MODIFIED
end
# verify the required parameter 'beta_oidc_service_create_callback_request' is set
if @api_client.config.client_side_validation && beta_oidc_service_create_callback_request.nil?
fail ArgumentError, "Missing the required parameter 'beta_oidc_service_create_callback_request' when calling Api::BetaOIDCServiceApi.create_callback" # MODIFIED
end
# resource path
local_var_path = '/zitadel.oidc.v2beta.OIDCService/CreateCallback'

# query parameters
query_params = opts[:query_params] || {}

# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
header_params['Content-Type'] = content_type
end

# form parameters
form_params = opts[:form_params] || {}

# http body (model)
post_body = opts[:debug_body] || @api_client.object_to_http_body(beta_oidc_service_create_callback_request)

# return_type
return_type = opts[:debug_return_type] || 'BetaOIDCServiceCreateCallbackResponse'

# auth_names
auth_names = opts[:debug_auth_names] || ['zitadelAccessToken']

new_options = opts.merge(
:operation => :"Api::BetaOIDCServiceApi.create_callback", # MODIFIED
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => return_type
)

data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
if @api_client.config.debugging
@api_client.config.logger.debug "API called: Api::BetaOIDCServiceApi#create_callback\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" # MODIFIED
end
return data, status_code, headers
end

# GetAuthRequest
# @param beta_oidc_service_get_auth_request_request [BetaOIDCServiceGetAuthRequestRequest]
# @param [Hash] opts the optional parameters
# @return [BetaOIDCServiceGetAuthRequestResponse]
def get_auth_request(beta_oidc_service_get_auth_request_request, opts = {})
data, _status_code, _headers = get_auth_request_with_http_info(beta_oidc_service_get_auth_request_request, opts)
data
end

# GetAuthRequest
# @param beta_oidc_service_get_auth_request_request [BetaOIDCServiceGetAuthRequestRequest]
# @param [Hash] opts the optional parameters
# @return [Array<(BetaOIDCServiceGetAuthRequestResponse, Integer, Hash)>] BetaOIDCServiceGetAuthRequestResponse data, response status code and response headers
def get_auth_request_with_http_info(beta_oidc_service_get_auth_request_request, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: Api::BetaOIDCServiceApi.get_auth_request ...' # MODIFIED
end
# verify the required parameter 'beta_oidc_service_get_auth_request_request' is set
if @api_client.config.client_side_validation && beta_oidc_service_get_auth_request_request.nil?
fail ArgumentError, "Missing the required parameter 'beta_oidc_service_get_auth_request_request' when calling Api::BetaOIDCServiceApi.get_auth_request" # MODIFIED
end
# resource path
local_var_path = '/zitadel.oidc.v2beta.OIDCService/GetAuthRequest'

# query parameters
query_params = opts[:query_params] || {}

# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
header_params['Content-Type'] = content_type
end

# form parameters
form_params = opts[:form_params] || {}

# http body (model)
post_body = opts[:debug_body] || @api_client.object_to_http_body(beta_oidc_service_get_auth_request_request)

# return_type
return_type = opts[:debug_return_type] || 'BetaOIDCServiceGetAuthRequestResponse'

# auth_names
auth_names = opts[:debug_auth_names] || ['zitadelAccessToken']

new_options = opts.merge(
:operation => :"Api::BetaOIDCServiceApi.get_auth_request", # MODIFIED
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => return_type
)

data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
if @api_client.config.debugging
@api_client.config.logger.debug "API called: Api::BetaOIDCServiceApi#get_auth_request\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" # MODIFIED
end
return data, status_code, headers
end
end
end
90 changes: 90 additions & 0 deletions lib/zitadel/client/api/beta_organization_service_api.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
=begin
#Zitadel SDK

#The Zitadel SDK is a convenience wrapper around the Zitadel APIs to assist you in integrating with your Zitadel environment. This SDK enables you to handle resources, settings, and configurations within the Zitadel platform.

The version of the OpenAPI document: 1.0.0

Generated by: https://openapi-generator.tech
Generator version: 7.12.0

=end

require 'cgi'

module Zitadel::Client::Api
class BetaOrganizationServiceApi
attr_accessor :api_client

def initialize(api_client = ApiClient.default)
@api_client = api_client
end
# AddOrganization
# Create a new organization and grant the user(s) permission to manage it
# @param beta_organization_service_add_organization_request [BetaOrganizationServiceAddOrganizationRequest]
# @param [Hash] opts the optional parameters
# @return [BetaOrganizationServiceAddOrganizationResponse]
def add_organization(beta_organization_service_add_organization_request, opts = {})
data, _status_code, _headers = add_organization_with_http_info(beta_organization_service_add_organization_request, opts)
data
end

# AddOrganization
# Create a new organization and grant the user(s) permission to manage it
# @param beta_organization_service_add_organization_request [BetaOrganizationServiceAddOrganizationRequest]
# @param [Hash] opts the optional parameters
# @return [Array<(BetaOrganizationServiceAddOrganizationResponse, Integer, Hash)>] BetaOrganizationServiceAddOrganizationResponse data, response status code and response headers
def add_organization_with_http_info(beta_organization_service_add_organization_request, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: Api::BetaOrganizationServiceApi.add_organization ...' # MODIFIED
end
# verify the required parameter 'beta_organization_service_add_organization_request' is set
if @api_client.config.client_side_validation && beta_organization_service_add_organization_request.nil?
fail ArgumentError, "Missing the required parameter 'beta_organization_service_add_organization_request' when calling Api::BetaOrganizationServiceApi.add_organization" # MODIFIED
end
# resource path
local_var_path = '/zitadel.org.v2beta.OrganizationService/AddOrganization'

# query parameters
query_params = opts[:query_params] || {}

# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
# HTTP header 'Content-Type'
content_type = @api_client.select_header_content_type(['application/json'])
if !content_type.nil?
header_params['Content-Type'] = content_type
end

# form parameters
form_params = opts[:form_params] || {}

# http body (model)
post_body = opts[:debug_body] || @api_client.object_to_http_body(beta_organization_service_add_organization_request)

# return_type
return_type = opts[:debug_return_type] || 'BetaOrganizationServiceAddOrganizationResponse'

# auth_names
auth_names = opts[:debug_auth_names] || ['zitadelAccessToken']

new_options = opts.merge(
:operation => :"Api::BetaOrganizationServiceApi.add_organization", # MODIFIED
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => return_type
)

data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
if @api_client.config.debugging
@api_client.config.logger.debug "API called: Api::BetaOrganizationServiceApi#add_organization\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" # MODIFIED
end
return data, status_code, headers
end
end
end
Loading
Loading