zitadel-client 1.5.1 → 1.7.0

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.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/lib/zitadel/client/api/action_service_api.rb +670 -0
  3. data/lib/zitadel/client/api/settings_service_api.rb +125 -0
  4. data/lib/zitadel/client/api/web_key_service_api.rb +273 -0
  5. data/lib/zitadel/client/models/action_service_beta_condition.rb +257 -0
  6. data/lib/zitadel/client/models/action_service_beta_create_target_response.rb +251 -0
  7. data/lib/zitadel/client/models/action_service_beta_delete_target_response.rb +231 -0
  8. data/lib/zitadel/client/models/action_service_beta_event_execution.rb +307 -0
  9. data/lib/zitadel/client/models/action_service_beta_execution.rb +262 -0
  10. data/lib/zitadel/client/models/action_service_beta_function_execution.rb +230 -0
  11. data/lib/zitadel/client/models/action_service_beta_get_target_response.rb +230 -0
  12. data/lib/zitadel/client/models/action_service_beta_in_target_i_ds_filter.rb +233 -0
  13. data/lib/zitadel/client/models/action_service_beta_list_execution_functions_response.rb +232 -0
  14. data/lib/zitadel/client/models/action_service_beta_list_execution_methods_response.rb +232 -0
  15. data/lib/zitadel/client/models/action_service_beta_list_execution_services_response.rb +232 -0
  16. data/lib/zitadel/client/models/action_service_beta_list_executions_response.rb +241 -0
  17. data/lib/zitadel/client/models/action_service_beta_list_targets_response.rb +241 -0
  18. data/lib/zitadel/client/models/action_service_beta_pagination_request.rb +251 -0
  19. data/lib/zitadel/client/models/action_service_beta_pagination_response.rb +241 -0
  20. data/lib/zitadel/client/models/action_service_beta_r_e_s_t_call.rb +231 -0
  21. data/lib/zitadel/client/models/action_service_beta_r_e_s_t_webhook.rb +231 -0
  22. data/lib/zitadel/client/models/action_service_beta_request_execution.rb +307 -0
  23. data/lib/zitadel/client/models/action_service_beta_response_execution.rb +307 -0
  24. data/lib/zitadel/client/models/action_service_beta_set_execution_response.rb +231 -0
  25. data/lib/zitadel/client/models/action_service_beta_target.rb +315 -0
  26. data/lib/zitadel/client/models/action_service_beta_target_field_name.rb +48 -0
  27. data/lib/zitadel/client/models/action_service_beta_target_name_filter.rb +283 -0
  28. data/lib/zitadel/client/models/action_service_beta_target_search_filter.rb +239 -0
  29. data/lib/zitadel/client/models/action_service_beta_text_filter_method.rb +47 -0
  30. data/lib/zitadel/client/models/action_service_beta_update_target_response.rb +241 -0
  31. data/lib/zitadel/client/models/action_service_create_target_request.rb +332 -0
  32. data/lib/zitadel/client/models/action_service_list_targets_request.rb +275 -0
  33. data/lib/zitadel/client/models/action_service_protobuf_any.rb +230 -0
  34. data/lib/zitadel/client/models/action_service_rpc_status.rb +250 -0
  35. data/lib/zitadel/client/models/action_service_set_execution_request.rb +242 -0
  36. data/lib/zitadel/client/models/action_service_update_target_request.rb +342 -0
  37. data/lib/zitadel/client/models/feature_service_get_instance_features_response.rb +1 -10
  38. data/lib/zitadel/client/models/feature_service_get_system_features_response.rb +1 -10
  39. data/lib/zitadel/client/models/feature_service_set_instance_features_request.rb +1 -11
  40. data/lib/zitadel/client/models/feature_service_set_system_features_request.rb +1 -11
  41. data/lib/zitadel/client/models/identity_provider_service_s_a_m_l_config.rb +14 -4
  42. data/lib/zitadel/client/models/web_key_service_beta_activate_web_key_response.rb +231 -0
  43. data/lib/zitadel/client/models/web_key_service_beta_create_web_key_response.rb +241 -0
  44. data/lib/zitadel/client/models/web_key_service_beta_delete_web_key_response.rb +231 -0
  45. data/lib/zitadel/client/models/web_key_service_beta_e_c_d_s_a.rb +254 -0
  46. data/lib/zitadel/client/models/web_key_service_beta_e_c_d_s_a_curve.rb +43 -0
  47. data/lib/zitadel/client/models/web_key_service_beta_list_web_keys_response.rb +232 -0
  48. data/lib/zitadel/client/models/web_key_service_beta_r_s_a.rb +265 -0
  49. data/lib/zitadel/client/models/web_key_service_beta_r_s_a_bits.rb +43 -0
  50. data/lib/zitadel/client/models/web_key_service_beta_r_s_a_hasher.rb +43 -0
  51. data/lib/zitadel/client/models/web_key_service_beta_state.rb +44 -0
  52. data/lib/zitadel/client/models/web_key_service_beta_web_key.rb +289 -0
  53. data/lib/zitadel/client/models/web_key_service_create_web_key_request.rb +248 -0
  54. data/lib/zitadel/client/models/web_key_service_protobuf_any.rb +230 -0
  55. data/lib/zitadel/client/models/web_key_service_rpc_status.rb +250 -0
  56. data/lib/zitadel/client/version.rb +1 -1
  57. data/lib/zitadel/client/zitadel.rb +9 -5
  58. data/sig/lib.rbs +2 -0
  59. metadata +50 -3
  60. data/lib/zitadel/client/api/settings_api.rb +0 -147
@@ -0,0 +1,342 @@
1
+ =begin
2
+ #Zitadel SDK
3
+
4
+ #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.
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.12.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Zitadel::Client::Models
17
+ class ActionServiceUpdateTargetRequest
18
+ attr_accessor :name
19
+
20
+ attr_accessor :rest_webhook
21
+
22
+ attr_accessor :rest_call
23
+
24
+ attr_accessor :rest_async
25
+
26
+ # Timeout defines the duration until ZITADEL cancels the execution. If the target doesn't respond before this timeout expires, then the connection is closed and the action fails. Depending on the target type and possible setting on `interrupt_on_error` following targets will not be called. In case of a `rest_async` target only this specific target will fail, without any influence on other targets of the same execution.
27
+ attr_accessor :timeout
28
+
29
+ attr_accessor :endpoint
30
+
31
+ # Regenerate the key used for signing and checking the payload sent to the target. Set the graceful period for the existing key. During that time, the previous signing key and the new one will be used to sign the request to allow you a smooth transition onf your API. Note that we currently only allow an immediate rotation (\"0s\") and will support longer expirations in the future.
32
+ attr_accessor :expiration_signing_key
33
+
34
+ # Attribute mapping from ruby-style variable name to JSON key.
35
+ def self.attribute_map
36
+ {
37
+ :'name' => :'name',
38
+ :'rest_webhook' => :'restWebhook',
39
+ :'rest_call' => :'restCall',
40
+ :'rest_async' => :'restAsync',
41
+ :'timeout' => :'timeout',
42
+ :'endpoint' => :'endpoint',
43
+ :'expiration_signing_key' => :'expirationSigningKey'
44
+ }
45
+ end
46
+
47
+ # Returns attribute mapping this model knows about
48
+ def self.acceptable_attribute_map
49
+ attribute_map
50
+ end
51
+
52
+ # Returns all the JSON keys this model knows about
53
+ def self.acceptable_attributes
54
+ acceptable_attribute_map.values
55
+ end
56
+
57
+ # Attribute type mapping.
58
+ def self.openapi_types
59
+ {
60
+ :'name' => :'String',
61
+ :'rest_webhook' => :'ActionServiceBetaRESTWebhook',
62
+ :'rest_call' => :'ActionServiceBetaRESTCall',
63
+ :'rest_async' => :'Object',
64
+ :'timeout' => :'String',
65
+ :'endpoint' => :'String',
66
+ :'expiration_signing_key' => :'String'
67
+ }
68
+ end
69
+
70
+ # List of attributes with nullable: true
71
+ def self.openapi_nullable
72
+ Set.new([
73
+ ])
74
+ end
75
+
76
+ # Initializes the object
77
+ # @param [Hash] attributes Models attributes in the form of hash
78
+ def initialize(attributes = {})
79
+ if (!attributes.is_a?(Hash))
80
+ # MODIFIED: Updated class name in error message
81
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Zitadel::Client::Models::ActionServiceUpdateTargetRequest` initialize method"
82
+ end
83
+
84
+ # check to see if the attribute exists and convert string to symbol for hash key
85
+ acceptable_attribute_map = self.class.acceptable_attribute_map
86
+ attributes = attributes.each_with_object({}) { |(k, v), h|
87
+ if (!acceptable_attribute_map.key?(k.to_sym))
88
+ # MODIFIED: Updated class name in error message
89
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Zitadel::Client::Models::ActionServiceUpdateTargetRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
90
+ end
91
+ h[k.to_sym] = v
92
+ }
93
+
94
+ if attributes.key?(:'name')
95
+ self.name = attributes[:'name']
96
+ end
97
+
98
+ if attributes.key?(:'rest_webhook')
99
+ self.rest_webhook = attributes[:'rest_webhook']
100
+ end
101
+
102
+ if attributes.key?(:'rest_call')
103
+ self.rest_call = attributes[:'rest_call']
104
+ end
105
+
106
+ if attributes.key?(:'rest_async')
107
+ self.rest_async = attributes[:'rest_async']
108
+ end
109
+
110
+ if attributes.key?(:'timeout')
111
+ self.timeout = attributes[:'timeout']
112
+ end
113
+
114
+ if attributes.key?(:'endpoint')
115
+ self.endpoint = attributes[:'endpoint']
116
+ end
117
+
118
+ if attributes.key?(:'expiration_signing_key')
119
+ self.expiration_signing_key = attributes[:'expiration_signing_key']
120
+ end
121
+ end
122
+
123
+ # Show invalid properties with the reasons. Usually used together with valid?
124
+ # @return Array for valid properties with the reasons
125
+ def list_invalid_properties
126
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
127
+ invalid_properties = Array.new
128
+ if !@name.nil? && @name.to_s.length > 1000
129
+ invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 1000.')
130
+ end
131
+
132
+ if !@name.nil? && @name.to_s.length < 1
133
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
134
+ end
135
+
136
+ if !@endpoint.nil? && @endpoint.to_s.length > 1000
137
+ invalid_properties.push('invalid value for "endpoint", the character length must be smaller than or equal to 1000.')
138
+ end
139
+
140
+ if !@endpoint.nil? && @endpoint.to_s.length < 1
141
+ invalid_properties.push('invalid value for "endpoint", the character length must be great than or equal to 1.')
142
+ end
143
+
144
+ invalid_properties
145
+ end
146
+
147
+ # Check to see if the all the properties in the model are valid
148
+ # @return true if the model is valid
149
+ def valid?
150
+ warn '[DEPRECATED] the `valid?` method is obsolete'
151
+ return false if !@name.nil? && @name.to_s.length > 1000
152
+ return false if !@name.nil? && @name.to_s.length < 1
153
+ return false if !@endpoint.nil? && @endpoint.to_s.length > 1000
154
+ return false if !@endpoint.nil? && @endpoint.to_s.length < 1
155
+ true
156
+ end
157
+
158
+ # Custom attribute writer method with validation
159
+ # @param [Object] name Value to be assigned
160
+ def name=(name)
161
+ if name.nil?
162
+ fail ArgumentError, 'name cannot be nil'
163
+ end
164
+
165
+ if name.to_s.length > 1000
166
+ fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 1000.'
167
+ end
168
+
169
+ if name.to_s.length < 1
170
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
171
+ end
172
+
173
+ @name = name
174
+ end
175
+
176
+ # Custom attribute writer method with validation
177
+ # @param [Object] endpoint Value to be assigned
178
+ def endpoint=(endpoint)
179
+ if endpoint.nil?
180
+ fail ArgumentError, 'endpoint cannot be nil'
181
+ end
182
+
183
+ if endpoint.to_s.length > 1000
184
+ fail ArgumentError, 'invalid value for "endpoint", the character length must be smaller than or equal to 1000.'
185
+ end
186
+
187
+ if endpoint.to_s.length < 1
188
+ fail ArgumentError, 'invalid value for "endpoint", the character length must be great than or equal to 1.'
189
+ end
190
+
191
+ @endpoint = endpoint
192
+ end
193
+
194
+ # Checks equality by comparing each attribute.
195
+ # @param [Object] Object to be compared
196
+ def ==(o)
197
+ return true if self.equal?(o)
198
+ self.class == o.class &&
199
+ name == o.name &&
200
+ rest_webhook == o.rest_webhook &&
201
+ rest_call == o.rest_call &&
202
+ rest_async == o.rest_async &&
203
+ timeout == o.timeout &&
204
+ endpoint == o.endpoint &&
205
+ expiration_signing_key == o.expiration_signing_key
206
+ end
207
+
208
+ # @see the `==` method
209
+ # @param [Object] Object to be compared
210
+ def eql?(o)
211
+ self == o
212
+ end
213
+
214
+ # Calculates hash code according to all attributes.
215
+ # @return [Integer] Hash code
216
+ def hash
217
+ [name, rest_webhook, rest_call, rest_async, timeout, endpoint, expiration_signing_key].hash
218
+ end
219
+
220
+ # Builds the object from hash
221
+ # @param [Hash] attributes Models attributes in the form of hash
222
+ # @return [Object] Returns the model itself
223
+ def self.build_from_hash(attributes)
224
+ return nil unless attributes.is_a?(Hash)
225
+ attributes = attributes.transform_keys(&:to_sym)
226
+ transformed_hash = {}
227
+ openapi_types.each_pair do |key, type|
228
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
229
+ transformed_hash["#{key}"] = nil
230
+ elsif type =~ /\AArray<(.*)>/i
231
+ # check to ensure the input is an array given that the attribute
232
+ # is documented as an array but the input is not
233
+ if attributes[attribute_map[key]].is_a?(Array)
234
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
235
+ end
236
+ elsif !attributes[attribute_map[key]].nil?
237
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
238
+ end
239
+ end
240
+ new(transformed_hash) # `new` will call the initialize method of the specific model class.
241
+ end
242
+
243
+ # Deserializes the data based on type
244
+ # @param string type Data type
245
+ # @param string value Value to be deserialized
246
+ # @return [Object] Deserialized data
247
+ def self._deserialize(type, value)
248
+ case type.to_sym
249
+ when :Time
250
+ Time.parse(value)
251
+ when :Date
252
+ Date.parse(value)
253
+ when :String
254
+ value.to_s
255
+ when :Integer
256
+ value.to_i
257
+ when :Float
258
+ value.to_f
259
+ when :Boolean
260
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
261
+ true
262
+ else
263
+ false
264
+ end
265
+ when :Object
266
+ # generic object (usually a Hash), return directly
267
+ value
268
+ when /\AArray<(?<inner_type>.+)>\z/
269
+ inner_type = Regexp.last_match[:inner_type]
270
+ value.map { |v| _deserialize(inner_type, v) }
271
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
272
+ k_type = Regexp.last_match[:k_type]
273
+ v_type = Regexp.last_match[:v_type]
274
+ {}.tap do |hash|
275
+ value.each do |k, v|
276
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
277
+ end
278
+ end
279
+ else # model
280
+ # models (e.g. Pet) or oneOf/anyOf constructs that resolve to a model name
281
+ # MODIFIED: Ensure model is looked up in the Models namespace
282
+ # 'type' here is expected to be the simple class name (e.g., "User", "OrderDetails")
283
+ klass = Zitadel::Client::Models.const_get(type)
284
+ # The `klass.build` method is for oneOf/anyOf types (defined in partial_oneof_module.mustache / partial_anyof_module.mustache)
285
+ # The `klass.build_from_hash` is for regular model types (defined in this base_object.mustache itself)
286
+ if klass.respond_to?(:openapi_one_of) || klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_allOf)
287
+ klass.build(value) # For oneOf/anyOf/allOf, delegate to their specific build method
288
+ else
289
+ klass.build_from_hash(value) # For regular models
290
+ end
291
+ end
292
+ end
293
+
294
+ # Returns the string representation of the object
295
+ # @return [String] String presentation of the object
296
+ def to_s
297
+ to_hash.to_s
298
+ end
299
+
300
+ # to_body is an alias to to_hash (backward compatibility)
301
+ # @return [Hash] Returns the object in the form of hash
302
+ def to_body
303
+ to_hash
304
+ end
305
+
306
+ # Returns the object in the form of hash
307
+ # @return [Hash] Returns the object in the form of hash
308
+ def to_hash
309
+ hash = {} # Calls super.to_hash if parent exists
310
+ self.class.attribute_map.each_pair do |attr, param|
311
+ value = self.send(attr)
312
+ if value.nil?
313
+ is_nullable = self.class.openapi_nullable.include?(attr)
314
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
315
+ end
316
+
317
+ hash[param] = _to_hash(value)
318
+ end
319
+ hash
320
+ end
321
+
322
+ # Outputs non-array value in the form of hash
323
+ # For object, use to_hash. Otherwise, just return the value
324
+ # @param [Object] value Any valid value
325
+ # @return [Hash] Returns the value in the form of hash
326
+ def _to_hash(value)
327
+ if value.is_a?(Array)
328
+ value.compact.map { |v| _to_hash(v) }
329
+ elsif value.is_a?(Hash)
330
+ {}.tap do |hash|
331
+ value.each { |k, v| hash[k] = _to_hash(v) }
332
+ end
333
+ elsif value.respond_to? :to_hash
334
+ value.to_hash
335
+ else
336
+ value
337
+ end
338
+ end
339
+
340
+ end
341
+
342
+ end
@@ -27,8 +27,6 @@ module Zitadel::Client::Models
27
27
 
28
28
  attr_accessor :oidc_token_exchange
29
29
 
30
- attr_accessor :actions
31
-
32
30
  attr_accessor :improved_performance
33
31
 
34
32
  attr_accessor :web_key
@@ -56,7 +54,6 @@ module Zitadel::Client::Models
56
54
  :'oidc_legacy_introspection' => :'oidcLegacyIntrospection',
57
55
  :'user_schema' => :'userSchema',
58
56
  :'oidc_token_exchange' => :'oidcTokenExchange',
59
- :'actions' => :'actions',
60
57
  :'improved_performance' => :'improvedPerformance',
61
58
  :'web_key' => :'webKey',
62
59
  :'debug_oidc_parent_error' => :'debugOidcParentError',
@@ -88,7 +85,6 @@ module Zitadel::Client::Models
88
85
  :'oidc_legacy_introspection' => :'FeatureServiceFeatureFlag',
89
86
  :'user_schema' => :'FeatureServiceFeatureFlag',
90
87
  :'oidc_token_exchange' => :'FeatureServiceFeatureFlag',
91
- :'actions' => :'FeatureServiceFeatureFlag',
92
88
  :'improved_performance' => :'FeatureServiceImprovedPerformanceFeatureFlag',
93
89
  :'web_key' => :'FeatureServiceFeatureFlag',
94
90
  :'debug_oidc_parent_error' => :'FeatureServiceFeatureFlag',
@@ -149,10 +145,6 @@ module Zitadel::Client::Models
149
145
  self.oidc_token_exchange = attributes[:'oidc_token_exchange']
150
146
  end
151
147
 
152
- if attributes.key?(:'actions')
153
- self.actions = attributes[:'actions']
154
- end
155
-
156
148
  if attributes.key?(:'improved_performance')
157
149
  self.improved_performance = attributes[:'improved_performance']
158
150
  end
@@ -216,7 +208,6 @@ module Zitadel::Client::Models
216
208
  oidc_legacy_introspection == o.oidc_legacy_introspection &&
217
209
  user_schema == o.user_schema &&
218
210
  oidc_token_exchange == o.oidc_token_exchange &&
219
- actions == o.actions &&
220
211
  improved_performance == o.improved_performance &&
221
212
  web_key == o.web_key &&
222
213
  debug_oidc_parent_error == o.debug_oidc_parent_error &&
@@ -237,7 +228,7 @@ module Zitadel::Client::Models
237
228
  # Calculates hash code according to all attributes.
238
229
  # @return [Integer] Hash code
239
230
  def hash
240
- [details, login_default_org, oidc_trigger_introspection_projections, oidc_legacy_introspection, user_schema, oidc_token_exchange, actions, improved_performance, web_key, debug_oidc_parent_error, oidc_single_v1_session_termination, disable_user_token_event, enable_back_channel_logout, login_v2, permission_check_v2, console_use_v2_user_api].hash
231
+ [details, login_default_org, oidc_trigger_introspection_projections, oidc_legacy_introspection, user_schema, oidc_token_exchange, improved_performance, web_key, debug_oidc_parent_error, oidc_single_v1_session_termination, disable_user_token_event, enable_back_channel_logout, login_v2, permission_check_v2, console_use_v2_user_api].hash
241
232
  end
242
233
 
243
234
  # Builds the object from hash
@@ -27,8 +27,6 @@ module Zitadel::Client::Models
27
27
 
28
28
  attr_accessor :oidc_token_exchange
29
29
 
30
- attr_accessor :actions
31
-
32
30
  attr_accessor :improved_performance
33
31
 
34
32
  attr_accessor :oidc_single_v1_session_termination
@@ -50,7 +48,6 @@ module Zitadel::Client::Models
50
48
  :'oidc_legacy_introspection' => :'oidcLegacyIntrospection',
51
49
  :'user_schema' => :'userSchema',
52
50
  :'oidc_token_exchange' => :'oidcTokenExchange',
53
- :'actions' => :'actions',
54
51
  :'improved_performance' => :'improvedPerformance',
55
52
  :'oidc_single_v1_session_termination' => :'oidcSingleV1SessionTermination',
56
53
  :'disable_user_token_event' => :'disableUserTokenEvent',
@@ -79,7 +76,6 @@ module Zitadel::Client::Models
79
76
  :'oidc_legacy_introspection' => :'FeatureServiceFeatureFlag',
80
77
  :'user_schema' => :'FeatureServiceFeatureFlag',
81
78
  :'oidc_token_exchange' => :'FeatureServiceFeatureFlag',
82
- :'actions' => :'FeatureServiceFeatureFlag',
83
79
  :'improved_performance' => :'FeatureServiceImprovedPerformanceFeatureFlag',
84
80
  :'oidc_single_v1_session_termination' => :'FeatureServiceFeatureFlag',
85
81
  :'disable_user_token_event' => :'FeatureServiceFeatureFlag',
@@ -137,10 +133,6 @@ module Zitadel::Client::Models
137
133
  self.oidc_token_exchange = attributes[:'oidc_token_exchange']
138
134
  end
139
135
 
140
- if attributes.key?(:'actions')
141
- self.actions = attributes[:'actions']
142
- end
143
-
144
136
  if attributes.key?(:'improved_performance')
145
137
  self.improved_performance = attributes[:'improved_performance']
146
138
  end
@@ -192,7 +184,6 @@ module Zitadel::Client::Models
192
184
  oidc_legacy_introspection == o.oidc_legacy_introspection &&
193
185
  user_schema == o.user_schema &&
194
186
  oidc_token_exchange == o.oidc_token_exchange &&
195
- actions == o.actions &&
196
187
  improved_performance == o.improved_performance &&
197
188
  oidc_single_v1_session_termination == o.oidc_single_v1_session_termination &&
198
189
  disable_user_token_event == o.disable_user_token_event &&
@@ -210,7 +201,7 @@ module Zitadel::Client::Models
210
201
  # Calculates hash code according to all attributes.
211
202
  # @return [Integer] Hash code
212
203
  def hash
213
- [details, login_default_org, oidc_trigger_introspection_projections, oidc_legacy_introspection, user_schema, oidc_token_exchange, actions, improved_performance, oidc_single_v1_session_termination, disable_user_token_event, enable_back_channel_logout, login_v2, permission_check_v2].hash
204
+ [details, login_default_org, oidc_trigger_introspection_projections, oidc_legacy_introspection, user_schema, oidc_token_exchange, improved_performance, oidc_single_v1_session_termination, disable_user_token_event, enable_back_channel_logout, login_v2, permission_check_v2].hash
214
205
  end
215
206
 
216
207
  # Builds the object from hash
@@ -30,9 +30,6 @@ module Zitadel::Client::Models
30
30
  # Enable the experimental `urn:ietf:params:oauth:grant-type:token-exchange` grant type for the OIDC token endpoint. Token exchange can be used to request tokens with a lesser scope or impersonate other users. See the security policy to allow impersonation on an instance.
31
31
  attr_accessor :oidc_token_exchange
32
32
 
33
- # Actions allow to manage data executions and targets. If the flag is enabled, you'll be able to use the new API and its features. Note that it is still in an early stage.
34
- attr_accessor :actions
35
-
36
33
  # Improves performance of specified execution paths.
37
34
  attr_accessor :improved_performance
38
35
 
@@ -67,7 +64,6 @@ module Zitadel::Client::Models
67
64
  :'oidc_legacy_introspection' => :'oidcLegacyIntrospection',
68
65
  :'user_schema' => :'userSchema',
69
66
  :'oidc_token_exchange' => :'oidcTokenExchange',
70
- :'actions' => :'actions',
71
67
  :'improved_performance' => :'improvedPerformance',
72
68
  :'web_key' => :'webKey',
73
69
  :'debug_oidc_parent_error' => :'debugOidcParentError',
@@ -98,7 +94,6 @@ module Zitadel::Client::Models
98
94
  :'oidc_legacy_introspection' => :'Boolean',
99
95
  :'user_schema' => :'Boolean',
100
96
  :'oidc_token_exchange' => :'Boolean',
101
- :'actions' => :'Boolean',
102
97
  :'improved_performance' => :'Array<FeatureServiceImprovedPerformance>',
103
98
  :'web_key' => :'Boolean',
104
99
  :'debug_oidc_parent_error' => :'Boolean',
@@ -155,10 +150,6 @@ module Zitadel::Client::Models
155
150
  self.oidc_token_exchange = attributes[:'oidc_token_exchange']
156
151
  end
157
152
 
158
- if attributes.key?(:'actions')
159
- self.actions = attributes[:'actions']
160
- end
161
-
162
153
  if attributes.key?(:'improved_performance')
163
154
  if (value = attributes[:'improved_performance']).is_a?(Array)
164
155
  self.improved_performance = value
@@ -223,7 +214,6 @@ module Zitadel::Client::Models
223
214
  oidc_legacy_introspection == o.oidc_legacy_introspection &&
224
215
  user_schema == o.user_schema &&
225
216
  oidc_token_exchange == o.oidc_token_exchange &&
226
- actions == o.actions &&
227
217
  improved_performance == o.improved_performance &&
228
218
  web_key == o.web_key &&
229
219
  debug_oidc_parent_error == o.debug_oidc_parent_error &&
@@ -244,7 +234,7 @@ module Zitadel::Client::Models
244
234
  # Calculates hash code according to all attributes.
245
235
  # @return [Integer] Hash code
246
236
  def hash
247
- [login_default_org, oidc_trigger_introspection_projections, oidc_legacy_introspection, user_schema, oidc_token_exchange, actions, improved_performance, web_key, debug_oidc_parent_error, oidc_single_v1_session_termination, disable_user_token_event, enable_back_channel_logout, login_v2, permission_check_v2, console_use_v2_user_api].hash
237
+ [login_default_org, oidc_trigger_introspection_projections, oidc_legacy_introspection, user_schema, oidc_token_exchange, improved_performance, web_key, debug_oidc_parent_error, oidc_single_v1_session_termination, disable_user_token_event, enable_back_channel_logout, login_v2, permission_check_v2, console_use_v2_user_api].hash
248
238
  end
249
239
 
250
240
  # Builds the object from hash
@@ -30,9 +30,6 @@ module Zitadel::Client::Models
30
30
  # Enable the experimental `urn:ietf:params:oauth:grant-type:token-exchange` grant type for the OIDC token endpoint. Token exchange can be used to request tokens with a lesser scope or impersonate other users. See the security policy to allow impersonation on an instance.
31
31
  attr_accessor :oidc_token_exchange
32
32
 
33
- # Actions allow to manage data executions and targets. If the flag is enabled, you'll be able to use the new API and its features. Note that it is still in an early stage.
34
- attr_accessor :actions
35
-
36
33
  # Improves performance of specified execution paths.
37
34
  attr_accessor :improved_performance
38
35
 
@@ -58,7 +55,6 @@ module Zitadel::Client::Models
58
55
  :'oidc_legacy_introspection' => :'oidcLegacyIntrospection',
59
56
  :'user_schema' => :'userSchema',
60
57
  :'oidc_token_exchange' => :'oidcTokenExchange',
61
- :'actions' => :'actions',
62
58
  :'improved_performance' => :'improvedPerformance',
63
59
  :'oidc_single_v1_session_termination' => :'oidcSingleV1SessionTermination',
64
60
  :'disable_user_token_event' => :'disableUserTokenEvent',
@@ -86,7 +82,6 @@ module Zitadel::Client::Models
86
82
  :'oidc_legacy_introspection' => :'Boolean',
87
83
  :'user_schema' => :'Boolean',
88
84
  :'oidc_token_exchange' => :'Boolean',
89
- :'actions' => :'Boolean',
90
85
  :'improved_performance' => :'Array<FeatureServiceImprovedPerformance>',
91
86
  :'oidc_single_v1_session_termination' => :'Boolean',
92
87
  :'disable_user_token_event' => :'Boolean',
@@ -140,10 +135,6 @@ module Zitadel::Client::Models
140
135
  self.oidc_token_exchange = attributes[:'oidc_token_exchange']
141
136
  end
142
137
 
143
- if attributes.key?(:'actions')
144
- self.actions = attributes[:'actions']
145
- end
146
-
147
138
  if attributes.key?(:'improved_performance')
148
139
  if (value = attributes[:'improved_performance']).is_a?(Array)
149
140
  self.improved_performance = value
@@ -196,7 +187,6 @@ module Zitadel::Client::Models
196
187
  oidc_legacy_introspection == o.oidc_legacy_introspection &&
197
188
  user_schema == o.user_schema &&
198
189
  oidc_token_exchange == o.oidc_token_exchange &&
199
- actions == o.actions &&
200
190
  improved_performance == o.improved_performance &&
201
191
  oidc_single_v1_session_termination == o.oidc_single_v1_session_termination &&
202
192
  disable_user_token_event == o.disable_user_token_event &&
@@ -214,7 +204,7 @@ module Zitadel::Client::Models
214
204
  # Calculates hash code according to all attributes.
215
205
  # @return [Integer] Hash code
216
206
  def hash
217
- [login_default_org, oidc_trigger_introspection_projections, oidc_legacy_introspection, user_schema, oidc_token_exchange, actions, improved_performance, oidc_single_v1_session_termination, disable_user_token_event, enable_back_channel_logout, login_v2, permission_check_v2].hash
207
+ [login_default_org, oidc_trigger_introspection_projections, oidc_legacy_introspection, user_schema, oidc_token_exchange, improved_performance, oidc_single_v1_session_termination, disable_user_token_event, enable_back_channel_logout, login_v2, permission_check_v2].hash
218
208
  end
219
209
 
220
210
  # Builds the object from hash
@@ -28,6 +28,9 @@ module Zitadel::Client::Models
28
28
  # Optional name of the attribute, which will be used to map the user in case the nameid-format returned is `urn:oasis:names:tc:SAML:2.0:nameid-format:transient`.
29
29
  attr_accessor :transient_mapping_attribute_name
30
30
 
31
+ # Boolean weather federated logout is enabled. If enabled, ZITADEL will send a logout request to the identity provider, if the user terminates the session in ZITADEL. Be sure to provide a SLO endpoint as part of the metadata.
32
+ attr_accessor :federated_logout_enabled
33
+
31
34
  class EnumAttributeValidator
32
35
  attr_reader :datatype
33
36
  attr_reader :allowable_values
@@ -57,7 +60,8 @@ module Zitadel::Client::Models
57
60
  :'binding' => :'binding',
58
61
  :'with_signed_request' => :'withSignedRequest',
59
62
  :'name_id_format' => :'nameIdFormat',
60
- :'transient_mapping_attribute_name' => :'transientMappingAttributeName'
63
+ :'transient_mapping_attribute_name' => :'transientMappingAttributeName',
64
+ :'federated_logout_enabled' => :'federatedLogoutEnabled'
61
65
  }
62
66
  end
63
67
 
@@ -78,7 +82,8 @@ module Zitadel::Client::Models
78
82
  :'binding' => :'IdentityProviderServiceSAMLBinding',
79
83
  :'with_signed_request' => :'Boolean',
80
84
  :'name_id_format' => :'IdentityProviderServiceSAMLNameIDFormat',
81
- :'transient_mapping_attribute_name' => :'String'
85
+ :'transient_mapping_attribute_name' => :'String',
86
+ :'federated_logout_enabled' => :'Boolean'
82
87
  }
83
88
  end
84
89
 
@@ -129,6 +134,10 @@ module Zitadel::Client::Models
129
134
  if attributes.key?(:'transient_mapping_attribute_name')
130
135
  self.transient_mapping_attribute_name = attributes[:'transient_mapping_attribute_name']
131
136
  end
137
+
138
+ if attributes.key?(:'federated_logout_enabled')
139
+ self.federated_logout_enabled = attributes[:'federated_logout_enabled']
140
+ end
132
141
  end
133
142
 
134
143
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -155,7 +164,8 @@ module Zitadel::Client::Models
155
164
  binding == o.binding &&
156
165
  with_signed_request == o.with_signed_request &&
157
166
  name_id_format == o.name_id_format &&
158
- transient_mapping_attribute_name == o.transient_mapping_attribute_name
167
+ transient_mapping_attribute_name == o.transient_mapping_attribute_name &&
168
+ federated_logout_enabled == o.federated_logout_enabled
159
169
  end
160
170
 
161
171
  # @see the `==` method
@@ -167,7 +177,7 @@ module Zitadel::Client::Models
167
177
  # Calculates hash code according to all attributes.
168
178
  # @return [Integer] Hash code
169
179
  def hash
170
- [metadata_xml, binding, with_signed_request, name_id_format, transient_mapping_attribute_name].hash
180
+ [metadata_xml, binding, with_signed_request, name_id_format, transient_mapping_attribute_name, federated_logout_enabled].hash
171
181
  end
172
182
 
173
183
  # Builds the object from hash