Skip to content

Commit df5a05c

Browse files
authored
feat(sdk): generate SDK for version v4.2.0 (#71)
* feat(sdk): generate SDK for version v4.2.0 * chore: bumped the containers to match the corresponding server version
1 parent f5a08b2 commit df5a05c

File tree

236 files changed

+1122
-3393
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

236 files changed

+1122
-3393
lines changed

etc/docker-compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ services:
2020
restart: 'no'
2121
networks:
2222
- storage
23-
image: 'ghcr.io/zitadel/zitadel:v4.0.0'
23+
image: 'ghcr.io/zitadel/zitadel:v4.2.0'
2424
command: 'init --config /example-zitadel-config.yaml --config /example-zitadel-secrets.yaml'
2525
depends_on:
2626
db:
@@ -34,7 +34,7 @@ services:
3434
restart: 'no'
3535
networks:
3636
- storage
37-
image: 'ghcr.io/zitadel/zitadel:v4.0.0-debug'
37+
image: 'ghcr.io/zitadel/zitadel:v4.2.0-debug'
3838
user: root
3939
entrypoint: '/bin/bash'
4040
command: [ "-c", "/app/zitadel setup --config /example-zitadel-config.yaml --config /example-zitadel-secrets.yaml --steps /example-zitadel-init-steps.yaml --masterkey \"my_test_masterkey_0123456789ABEF\" && echo \"--- ZITADEL SETUP COMPLETE ---\" && echo \"Personal Access Token (PAT) will be in ./zitadel_output/pat.txt on your host.\" && echo \"Service Account Key will be in ./zitadel_output/sa-key.json on your host.\" && echo \"OAuth Client ID and Secret will be in 'zitadel' service logs (grep for 'Application created').\"" ]
@@ -55,7 +55,7 @@ services:
5555
networks:
5656
- backend
5757
- storage
58-
image: 'ghcr.io/zitadel/zitadel:v4.0.0'
58+
image: 'ghcr.io/zitadel/zitadel:v4.2.0'
5959
command: >
6060
start --config /example-zitadel-config.yaml
6161
--config /example-zitadel-secrets.yaml

lib/zitadel/client/api/action_service_api.rb

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ class ActionServiceApi
1919
def initialize(api_client = ApiClient.default)
2020
@api_client = api_client
2121
end
22-
# CreateTarget
23-
# Create Target Create a new target to your endpoint, which can be used in executions. Required permission: - `action.target.write` Required feature flag: - `actions`
22+
# Create Target
23+
# Create a new target to your endpoint, which can be used in executions. Required permission: - `action.target.write` Required feature flag: - `actions`
2424
# @param action_service_create_target_request [ActionServiceCreateTargetRequest]
2525
# @param [Hash] opts the optional parameters
2626
# @return [ActionServiceCreateTargetResponse]
27-
def create_target(action_service_create_target_request, opts = {})
27+
def create_target(action_service_create_target_request = {}, opts = {})
2828
if @api_client.config.debugging
2929
@api_client.config.logger.debug 'Calling API: Api::ActionServiceApi.create_target ...' # MODIFIED
3030
end
@@ -77,8 +77,8 @@ def create_target(action_service_create_target_request, opts = {})
7777
return data
7878
end
7979

80-
# DeleteTarget
81-
# Delete Target Delete an existing target. This will remove it from any configured execution as well. In case the target is not found, the request will return a successful response as the desired state is already achieved. Required permission: - `action.target.delete` Required feature flag: - `actions`
80+
# Delete Target
81+
# Delete an existing target. This will remove it from any configured execution as well. In case the target is not found, the request will return a successful response as the desired state is already achieved. Required permission: - `action.target.delete` Required feature flag: - `actions`
8282
# @param action_service_delete_target_request [ActionServiceDeleteTargetRequest]
8383
# @param [Hash] opts the optional parameters
8484
# @return [ActionServiceDeleteTargetResponse]
@@ -135,8 +135,8 @@ def delete_target(action_service_delete_target_request, opts = {})
135135
return data
136136
end
137137

138-
# GetTarget
139-
# Get Target Returns the target identified by the requested ID. Required permission: - `action.target.read` Required feature flag: - `actions`
138+
# Get Target
139+
# Returns the target identified by the requested ID. Required permission: - `action.target.read` Required feature flag: - `actions`
140140
# @param action_service_get_target_request [ActionServiceGetTargetRequest]
141141
# @param [Hash] opts the optional parameters
142142
# @return [ActionServiceGetTargetResponse]
@@ -193,8 +193,8 @@ def get_target(action_service_get_target_request, opts = {})
193193
return data
194194
end
195195

196-
# ListExecutionFunctions
197-
# List Execution Functions List all available functions which can be used as condition for executions.
196+
# List Execution Functions
197+
# List all available functions which can be used as condition for executions.
198198
# @param body [Object]
199199
# @param [Hash] opts the optional parameters
200200
# @return [ActionServiceListExecutionFunctionsResponse]
@@ -251,8 +251,8 @@ def list_execution_functions(body = {}, opts = {})
251251
return data
252252
end
253253

254-
# ListExecutionMethods
255-
# List Execution Methods List all available methods which can be used as condition for executions.
254+
# List Execution Methods
255+
# List all available methods which can be used as condition for executions.
256256
# @param body [Object]
257257
# @param [Hash] opts the optional parameters
258258
# @return [ActionServiceListExecutionMethodsResponse]
@@ -309,8 +309,8 @@ def list_execution_methods(body = {}, opts = {})
309309
return data
310310
end
311311

312-
# ListExecutionServices
313-
# List Execution Services List all available services which can be used as condition for executions.
312+
# List Execution Services
313+
# List all available services which can be used as condition for executions.
314314
# @param body [Object]
315315
# @param [Hash] opts the optional parameters
316316
# @return [ActionServiceListExecutionServicesResponse]
@@ -367,8 +367,8 @@ def list_execution_services(body = {}, opts = {})
367367
return data
368368
end
369369

370-
# ListExecutions
371-
# List Executions List all matching executions. By default all executions of the instance are returned that have at least one execution target. Make sure to include a limit and sorting for pagination. Required permission: - `action.execution.read` Required feature flag: - `actions`
370+
# List Executions
371+
# List all matching executions. By default all executions of the instance are returned that have at least one execution target. Make sure to include a limit and sorting for pagination. Required permission: - `action.execution.read` Required feature flag: - `actions`
372372
# @param action_service_list_executions_request [ActionServiceListExecutionsRequest]
373373
# @param [Hash] opts the optional parameters
374374
# @return [ActionServiceListExecutionsResponse]
@@ -425,8 +425,8 @@ def list_executions(action_service_list_executions_request, opts = {})
425425
return data
426426
end
427427

428-
# ListTargets
429-
# List targets List all matching targets. By default all targets of the instance are returned. Make sure to include a limit and sorting for pagination. Required permission: - `action.target.read` Required feature flag: - `actions`
428+
# List targets
429+
# List all matching targets. By default all targets of the instance are returned. Make sure to include a limit and sorting for pagination. Required permission: - `action.target.read` Required feature flag: - `actions`
430430
# @param action_service_list_targets_request [ActionServiceListTargetsRequest]
431431
# @param [Hash] opts the optional parameters
432432
# @return [ActionServiceListTargetsResponse]
@@ -483,8 +483,8 @@ def list_targets(action_service_list_targets_request, opts = {})
483483
return data
484484
end
485485

486-
# SetExecution
487-
# Set Execution Sets an execution to call a target or include the targets of another execution. Setting an empty list of targets will remove all targets from the execution, making it a noop. Required permission: - `action.execution.write` Required feature flag: - `actions`
486+
# Set Execution
487+
# Sets an execution to call a target or include the targets of another execution. Setting an empty list of targets will remove all targets from the execution, making it a noop. Required permission: - `action.execution.write` Required feature flag: - `actions`
488488
# @param action_service_set_execution_request [ActionServiceSetExecutionRequest]
489489
# @param [Hash] opts the optional parameters
490490
# @return [ActionServiceSetExecutionResponse]
@@ -541,12 +541,12 @@ def set_execution(action_service_set_execution_request, opts = {})
541541
return data
542542
end
543543

544-
# UpdateTarget
545-
# Update Target Update an existing target. To generate a new signing key set the optional expirationSigningKey. Required permission: - `action.target.write` Required feature flag: - `actions`
544+
# Update Target
545+
# Update an existing target. To generate a new signing key set the optional expirationSigningKey. Required permission: - `action.target.write` Required feature flag: - `actions`
546546
# @param action_service_update_target_request [ActionServiceUpdateTargetRequest]
547547
# @param [Hash] opts the optional parameters
548548
# @return [ActionServiceUpdateTargetResponse]
549-
def update_target(action_service_update_target_request, opts = {})
549+
def update_target(action_service_update_target_request = {}, opts = {})
550550
if @api_client.config.debugging
551551
@api_client.config.logger.debug 'Calling API: Api::ActionServiceApi.update_target ...' # MODIFIED
552552
end

lib/zitadel/client/api/beta_action_service_api.rb

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ class BetaActionServiceApi
1919
def initialize(api_client = ApiClient.default)
2020
@api_client = api_client
2121
end
22-
# CreateTarget
23-
# Create Target Create a new target to your endpoint, which can be used in executions. Required permission: - `action.target.write` Required feature flag: - `actions`
22+
# Create Target
23+
# Create a new target to your endpoint, which can be used in executions. Required permission: - `action.target.write` Required feature flag: - `actions`
2424
# @param beta_action_service_create_target_request [BetaActionServiceCreateTargetRequest]
2525
# @param [Hash] opts the optional parameters
2626
# @return [BetaActionServiceCreateTargetResponse]
27-
def create_target(beta_action_service_create_target_request, opts = {})
27+
def create_target(beta_action_service_create_target_request = {}, opts = {})
2828
if @api_client.config.debugging
2929
@api_client.config.logger.debug 'Calling API: Api::BetaActionServiceApi.create_target ...' # MODIFIED
3030
end
@@ -77,8 +77,8 @@ def create_target(beta_action_service_create_target_request, opts = {})
7777
return data
7878
end
7979

80-
# DeleteTarget
81-
# Delete Target Delete an existing target. This will remove it from any configured execution as well. In case the target is not found, the request will return a successful response as the desired state is already achieved. Required permission: - `action.target.delete` Required feature flag: - `actions`
80+
# Delete Target
81+
# Delete an existing target. This will remove it from any configured execution as well. In case the target is not found, the request will return a successful response as the desired state is already achieved. Required permission: - `action.target.delete` Required feature flag: - `actions`
8282
# @param beta_action_service_delete_target_request [BetaActionServiceDeleteTargetRequest]
8383
# @param [Hash] opts the optional parameters
8484
# @return [BetaActionServiceDeleteTargetResponse]
@@ -135,8 +135,8 @@ def delete_target(beta_action_service_delete_target_request, opts = {})
135135
return data
136136
end
137137

138-
# GetTarget
139-
# Get Target Returns the target identified by the requested ID. Required permission: - `action.target.read` Required feature flag: - `actions`
138+
# Get Target
139+
# Returns the target identified by the requested ID. Required permission: - `action.target.read` Required feature flag: - `actions`
140140
# @param beta_action_service_get_target_request [BetaActionServiceGetTargetRequest]
141141
# @param [Hash] opts the optional parameters
142142
# @return [BetaActionServiceGetTargetResponse]
@@ -193,8 +193,8 @@ def get_target(beta_action_service_get_target_request, opts = {})
193193
return data
194194
end
195195

196-
# ListExecutionFunctions
197-
# List Execution Functions List all available functions which can be used as condition for executions.
196+
# List Execution Functions
197+
# List all available functions which can be used as condition for executions.
198198
# @param body [Object]
199199
# @param [Hash] opts the optional parameters
200200
# @return [BetaActionServiceListExecutionFunctionsResponse]
@@ -251,8 +251,8 @@ def list_execution_functions(body = {}, opts = {})
251251
return data
252252
end
253253

254-
# ListExecutionMethods
255-
# List Execution Methods List all available methods which can be used as condition for executions.
254+
# List Execution Methods
255+
# List all available methods which can be used as condition for executions.
256256
# @param body [Object]
257257
# @param [Hash] opts the optional parameters
258258
# @return [BetaActionServiceListExecutionMethodsResponse]
@@ -309,8 +309,8 @@ def list_execution_methods(body = {}, opts = {})
309309
return data
310310
end
311311

312-
# ListExecutionServices
313-
# List Execution Services List all available services which can be used as condition for executions.
312+
# List Execution Services
313+
# List all available services which can be used as condition for executions.
314314
# @param body [Object]
315315
# @param [Hash] opts the optional parameters
316316
# @return [BetaActionServiceListExecutionServicesResponse]
@@ -367,8 +367,8 @@ def list_execution_services(body = {}, opts = {})
367367
return data
368368
end
369369

370-
# ListExecutions
371-
# List Executions List all matching executions. By default all executions of the instance are returned that have at least one execution target. Make sure to include a limit and sorting for pagination. Required permission: - `action.execution.read` Required feature flag: - `actions`
370+
# List Executions
371+
# List all matching executions. By default all executions of the instance are returned that have at least one execution target. Make sure to include a limit and sorting for pagination. Required permission: - `action.execution.read` Required feature flag: - `actions`
372372
# @param beta_action_service_list_executions_request [BetaActionServiceListExecutionsRequest]
373373
# @param [Hash] opts the optional parameters
374374
# @return [BetaActionServiceListExecutionsResponse]
@@ -425,8 +425,8 @@ def list_executions(beta_action_service_list_executions_request, opts = {})
425425
return data
426426
end
427427

428-
# ListTargets
429-
# List targets List all matching targets. By default all targets of the instance are returned. Make sure to include a limit and sorting for pagination. Required permission: - `action.target.read` Required feature flag: - `actions`
428+
# List targets
429+
# List all matching targets. By default all targets of the instance are returned. Make sure to include a limit and sorting for pagination. Required permission: - `action.target.read` Required feature flag: - `actions`
430430
# @param beta_action_service_list_targets_request [BetaActionServiceListTargetsRequest]
431431
# @param [Hash] opts the optional parameters
432432
# @return [BetaActionServiceListTargetsResponse]
@@ -483,8 +483,8 @@ def list_targets(beta_action_service_list_targets_request, opts = {})
483483
return data
484484
end
485485

486-
# SetExecution
487-
# Set Execution Sets an execution to call a target or include the targets of another execution. Setting an empty list of targets will remove all targets from the execution, making it a noop. Required permission: - `action.execution.write` Required feature flag: - `actions`
486+
# Set Execution
487+
# Sets an execution to call a target or include the targets of another execution. Setting an empty list of targets will remove all targets from the execution, making it a noop. Required permission: - `action.execution.write` Required feature flag: - `actions`
488488
# @param beta_action_service_set_execution_request [BetaActionServiceSetExecutionRequest]
489489
# @param [Hash] opts the optional parameters
490490
# @return [BetaActionServiceSetExecutionResponse]
@@ -541,12 +541,12 @@ def set_execution(beta_action_service_set_execution_request, opts = {})
541541
return data
542542
end
543543

544-
# UpdateTarget
545-
# Update Target Update an existing target. To generate a new signing key set the optional expirationSigningKey. Required permission: - `action.target.write` Required feature flag: - `actions`
544+
# Update Target
545+
# Update an existing target. To generate a new signing key set the optional expirationSigningKey. Required permission: - `action.target.write` Required feature flag: - `actions`
546546
# @param beta_action_service_update_target_request [BetaActionServiceUpdateTargetRequest]
547547
# @param [Hash] opts the optional parameters
548548
# @return [BetaActionServiceUpdateTargetResponse]
549-
def update_target(beta_action_service_update_target_request, opts = {})
549+
def update_target(beta_action_service_update_target_request = {}, opts = {})
550550
if @api_client.config.debugging
551551
@api_client.config.logger.debug 'Calling API: Api::BetaActionServiceApi.update_target ...' # MODIFIED
552552
end

0 commit comments

Comments
 (0)