authentik-api 2026.2.3 → 2026.5.0.rc2

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 (206) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/README_API.md +66 -14
  4. data/lib/authentik/api/api/admin_api.rb +4 -12
  5. data/lib/authentik/api/api/core_api.rb +143 -18
  6. data/lib/authentik/api/api/crypto_api.rb +2 -6
  7. data/lib/authentik/api/api/endpoints_api.rb +1577 -656
  8. data/lib/authentik/api/api/events_api.rb +121 -38
  9. data/lib/authentik/api/api/flows_api.rb +8 -90
  10. data/lib/authentik/api/api/lifecycle_api.rb +22 -13
  11. data/lib/authentik/api/api/managed_api.rb +73 -0
  12. data/lib/authentik/api/api/policies_api.rb +5 -6
  13. data/lib/authentik/api/api/providers_api.rb +46 -108
  14. data/lib/authentik/api/api/rbac_api.rb +0 -5
  15. data/lib/authentik/api/api/schema_api.rb +4 -12
  16. data/lib/authentik/api/api/sources_api.rb +35 -96
  17. data/lib/authentik/api/api/ssf_api.rb +63 -6
  18. data/lib/authentik/api/api/stages_api.rb +581 -102
  19. data/lib/authentik/api/api/tasks_api.rb +5 -13
  20. data/lib/authentik/api/models/account_lockdown_stage.rb +372 -0
  21. data/lib/authentik/api/models/account_lockdown_stage_request.rb +219 -0
  22. data/lib/authentik/api/models/app_enum.rb +3 -2
  23. data/lib/authentik/api/models/apple_independent_secure_enclave.rb +246 -0
  24. data/lib/authentik/api/models/apple_independent_secure_enclave_request.rb +273 -0
  25. data/lib/authentik/api/models/application.rb +14 -4
  26. data/lib/authentik/api/models/application_request.rb +14 -4
  27. data/lib/authentik/api/models/authenticated_session_user_agent_device.rb +2 -30
  28. data/lib/authentik/api/models/authenticated_session_user_agent_os.rb +4 -60
  29. data/lib/authentik/api/models/authentication_enum.rb +2 -1
  30. data/lib/authentik/api/models/authenticator_validate_stage.rb +51 -4
  31. data/lib/authentik/api/models/authenticator_validate_stage_request.rb +51 -4
  32. data/lib/authentik/api/models/authenticator_web_authn_stage.rb +23 -2
  33. data/lib/authentik/api/models/authenticator_web_authn_stage_request.rb +23 -2
  34. data/lib/authentik/api/models/{flow_import_result.rb → blueprint_import_result.rb} +4 -4
  35. data/lib/authentik/api/models/brand.rb +11 -1
  36. data/lib/authentik/api/models/brand_request.rb +11 -1
  37. data/lib/authentik/api/models/certificate_key_pair.rb +1 -1
  38. data/lib/authentik/api/models/certificate_key_pair_key_type_enum.rb +37 -0
  39. data/lib/authentik/api/models/compatibility_mode_enum.rb +3 -1
  40. data/lib/authentik/api/models/{consent_stage_mode_enum.rb → consent_mode_enum.rb} +3 -3
  41. data/lib/authentik/api/models/consent_stage.rb +1 -1
  42. data/lib/authentik/api/models/consent_stage_request.rb +1 -1
  43. data/lib/authentik/api/models/country_code_enum.rb +3 -3
  44. data/lib/authentik/api/models/current_brand.rb +10 -1
  45. data/lib/authentik/api/models/current_brand_flags.rb +31 -27
  46. data/lib/authentik/api/models/delivery_method_enum.rb +3 -1
  47. data/lib/authentik/api/models/event_matcher_policy.rb +15 -5
  48. data/lib/authentik/api/models/event_matcher_policy_request.rb +30 -5
  49. data/lib/authentik/api/models/event_stats.rb +187 -0
  50. data/lib/authentik/api/models/event_volume.rb +1 -1
  51. data/lib/authentik/api/models/events_requested_enum.rb +7 -1
  52. data/lib/authentik/api/models/force_binding_enum.rb +34 -0
  53. data/lib/authentik/api/models/{resident_key_requirement_enum.rb → format_enum.rb} +6 -7
  54. data/lib/authentik/api/models/geo_ip_policy.rb +1 -1
  55. data/lib/authentik/api/models/{detailed_country_field.rb → geo_ip_policy_countries_obj_inner.rb} +22 -26
  56. data/lib/authentik/api/models/google_chrome_connector.rb +326 -0
  57. data/lib/authentik/api/models/google_chrome_connector_request.rb +214 -0
  58. data/lib/authentik/api/models/grant_types_enum.rb +39 -0
  59. data/lib/authentik/api/models/group_ldap_source_connection.rb +30 -4
  60. data/lib/authentik/api/models/iframe_logout_challenge.rb +1 -1
  61. data/lib/authentik/api/models/invitation_send_email_request.rb +213 -0
  62. data/lib/authentik/api/models/key_type_enum.rb +3 -3
  63. data/lib/authentik/api/models/lang_enum.rb +131 -0
  64. data/lib/authentik/api/models/lifecycle_iteration.rb +30 -86
  65. data/lib/authentik/api/models/logout_url.rb +209 -0
  66. data/lib/authentik/api/models/model_enum.rb +3 -1
  67. data/lib/authentik/api/models/native_logout_challenge.rb +68 -37
  68. data/lib/authentik/api/models/notification_transport.rb +13 -2
  69. data/lib/authentik/api/models/notification_transport_request.rb +13 -2
  70. data/lib/authentik/api/models/o_auth2_provider.rb +12 -1
  71. data/lib/authentik/api/models/o_auth2_provider_request.rb +12 -1
  72. data/lib/authentik/api/models/operating_system.rb +0 -17
  73. data/lib/authentik/api/models/operating_system_request.rb +2 -9
  74. data/lib/authentik/api/models/paginated_account_lockdown_stage_list.rb +214 -0
  75. data/lib/authentik/api/models/paginated_apple_independent_secure_enclave_list.rb +214 -0
  76. data/lib/authentik/api/models/paginated_extra_role_object_permission_list.rb +32 -4
  77. data/lib/authentik/api/models/paginated_google_chrome_connector_list.rb +214 -0
  78. data/lib/authentik/api/models/patched_account_lockdown_stage_request.rb +212 -0
  79. data/lib/authentik/api/models/patched_apple_independent_secure_enclave_request.rb +235 -0
  80. data/lib/authentik/api/models/patched_application_request.rb +14 -4
  81. data/lib/authentik/api/models/patched_authenticator_validate_stage_request.rb +51 -4
  82. data/lib/authentik/api/models/patched_authenticator_web_authn_stage_request.rb +23 -2
  83. data/lib/authentik/api/models/patched_brand_request.rb +11 -1
  84. data/lib/authentik/api/models/patched_consent_stage_request.rb +1 -1
  85. data/lib/authentik/api/models/patched_event_matcher_policy_request.rb +30 -5
  86. data/lib/authentik/api/models/patched_google_chrome_connector_request.rb +190 -0
  87. data/lib/authentik/api/models/patched_notification_transport_request.rb +13 -2
  88. data/lib/authentik/api/models/patched_o_auth2_provider_request.rb +12 -1
  89. data/lib/authentik/api/models/patched_saml_provider_request.rb +17 -27
  90. data/lib/authentik/api/models/patched_saml_source_request.rb +11 -1
  91. data/lib/authentik/api/models/patched_settings_request_flags.rb +31 -27
  92. data/lib/authentik/api/models/patched_ssf_provider_request.rb +13 -4
  93. data/lib/authentik/api/models/prompt_type_enum.rb +4 -1
  94. data/lib/authentik/api/models/redirect_uri.rb +13 -4
  95. data/lib/authentik/api/models/redirect_uri_request.rb +13 -4
  96. data/lib/authentik/api/models/redirect_uri_type_enum.rb +34 -0
  97. data/lib/authentik/api/models/related_rule.rb +250 -0
  98. data/lib/authentik/api/models/saml_provider.rb +98 -8
  99. data/lib/authentik/api/models/saml_provider_request.rb +17 -27
  100. data/lib/authentik/api/models/saml_source.rb +11 -1
  101. data/lib/authentik/api/models/saml_source_request.rb +11 -1
  102. data/lib/authentik/api/models/ssf_provider.rb +41 -4
  103. data/lib/authentik/api/models/ssf_provider_request.rb +13 -4
  104. data/lib/authentik/api/models/ssf_stream.rb +10 -1
  105. data/lib/authentik/api/models/ssf_stream_status_enum.rb +36 -0
  106. data/lib/authentik/api/models/task.rb +1 -1
  107. data/lib/authentik/api/models/{task_state_enum.rb → task_status_enum.rb} +3 -3
  108. data/lib/authentik/api/models/{notification_transport_mode_enum.rb → transport_mode_enum.rb} +3 -3
  109. data/lib/authentik/api/models/usage_enum.rb +33 -0
  110. data/lib/authentik/api/models/user_account_lockdown_request.rb +144 -0
  111. data/lib/authentik/api/models/user_ldap_source_connection.rb +30 -4
  112. data/lib/authentik/api/models/user_password_hash_set_request.rb +168 -0
  113. data/lib/authentik/api/models/vendor_enum.rb +2 -1
  114. data/lib/authentik/api/models/web_authn_hint_enum.rb +35 -0
  115. data/lib/authentik/api/version.rb +1 -1
  116. data/spec/api/admin_api_spec.rb +2 -2
  117. data/spec/api/core_api_spec.rb +27 -3
  118. data/spec/api/crypto_api_spec.rb +1 -1
  119. data/spec/api/endpoints_api_spec.rb +167 -0
  120. data/spec/api/events_api_spec.rb +33 -7
  121. data/spec/api/flows_api_spec.rb +4 -16
  122. data/spec/api/lifecycle_api_spec.rb +6 -3
  123. data/spec/api/managed_api_spec.rb +13 -0
  124. data/spec/api/policies_api_spec.rb +2 -1
  125. data/spec/api/providers_api_spec.rb +21 -19
  126. data/spec/api/schema_api_spec.rb +2 -2
  127. data/spec/api/sources_api_spec.rb +17 -16
  128. data/spec/api/ssf_api_spec.rb +12 -1
  129. data/spec/api/stages_api_spec.rb +117 -18
  130. data/spec/api/tasks_api_spec.rb +2 -2
  131. data/spec/models/account_lockdown_stage_request_spec.rb +60 -0
  132. data/spec/models/account_lockdown_stage_spec.rb +96 -0
  133. data/spec/models/apple_independent_secure_enclave_request_spec.rb +54 -0
  134. data/spec/models/apple_independent_secure_enclave_spec.rb +54 -0
  135. data/spec/models/application_request_spec.rb +6 -0
  136. data/spec/models/application_spec.rb +6 -0
  137. data/spec/models/authenticator_validate_stage_request_spec.rb +30 -0
  138. data/spec/models/authenticator_validate_stage_spec.rb +30 -0
  139. data/spec/models/authenticator_web_authn_stage_request_spec.rb +12 -0
  140. data/spec/models/authenticator_web_authn_stage_spec.rb +12 -0
  141. data/spec/models/{flow_import_result_spec.rb → blueprint_import_result_spec.rb} +6 -6
  142. data/spec/models/brand_request_spec.rb +6 -0
  143. data/spec/models/brand_spec.rb +6 -0
  144. data/spec/models/{notification_transport_mode_enum_spec.rb → certificate_key_pair_key_type_enum_spec.rb} +6 -6
  145. data/spec/models/{consent_stage_mode_enum_spec.rb → consent_mode_enum_spec.rb} +6 -6
  146. data/spec/models/current_brand_flags_spec.rb +2 -2
  147. data/spec/models/current_brand_spec.rb +6 -0
  148. data/spec/models/event_matcher_policy_request_spec.rb +6 -0
  149. data/spec/models/event_matcher_policy_spec.rb +6 -0
  150. data/spec/models/event_stats_spec.rb +36 -0
  151. data/spec/models/force_binding_enum_spec.rb +24 -0
  152. data/spec/models/format_enum_spec.rb +24 -0
  153. data/spec/models/{detailed_country_field_spec.rb → geo_ip_policy_countries_obj_inner_spec.rb} +6 -6
  154. data/spec/models/google_chrome_connector_request_spec.rb +48 -0
  155. data/spec/models/google_chrome_connector_spec.rb +78 -0
  156. data/spec/models/grant_types_enum_spec.rb +24 -0
  157. data/spec/models/group_ldap_source_connection_spec.rb +6 -0
  158. data/spec/models/invitation_send_email_request_spec.rb +48 -0
  159. data/spec/models/lang_enum_spec.rb +24 -0
  160. data/spec/models/lifecycle_iteration_spec.rb +2 -14
  161. data/spec/models/logout_url_spec.rb +60 -0
  162. data/spec/models/native_logout_challenge_spec.rb +13 -7
  163. data/spec/models/notification_transport_request_spec.rb +6 -0
  164. data/spec/models/notification_transport_spec.rb +6 -0
  165. data/spec/models/o_auth2_provider_request_spec.rb +6 -0
  166. data/spec/models/o_auth2_provider_spec.rb +6 -0
  167. data/spec/models/paginated_account_lockdown_stage_list_spec.rb +42 -0
  168. data/spec/models/paginated_apple_independent_secure_enclave_list_spec.rb +42 -0
  169. data/spec/models/paginated_extra_role_object_permission_list_spec.rb +6 -0
  170. data/spec/models/paginated_google_chrome_connector_list_spec.rb +42 -0
  171. data/spec/models/patched_account_lockdown_stage_request_spec.rb +60 -0
  172. data/spec/models/patched_apple_independent_secure_enclave_request_spec.rb +54 -0
  173. data/spec/models/patched_application_request_spec.rb +6 -0
  174. data/spec/models/patched_authenticator_validate_stage_request_spec.rb +30 -0
  175. data/spec/models/patched_authenticator_web_authn_stage_request_spec.rb +12 -0
  176. data/spec/models/patched_brand_request_spec.rb +6 -0
  177. data/spec/models/patched_event_matcher_policy_request_spec.rb +6 -0
  178. data/spec/models/patched_google_chrome_connector_request_spec.rb +48 -0
  179. data/spec/models/patched_notification_transport_request_spec.rb +6 -0
  180. data/spec/models/patched_o_auth2_provider_request_spec.rb +6 -0
  181. data/spec/models/patched_saml_provider_request_spec.rb +7 -1
  182. data/spec/models/patched_saml_source_request_spec.rb +6 -0
  183. data/spec/models/patched_settings_request_flags_spec.rb +2 -2
  184. data/spec/models/patched_ssf_provider_request_spec.rb +6 -0
  185. data/spec/models/redirect_uri_request_spec.rb +6 -0
  186. data/spec/models/redirect_uri_spec.rb +6 -0
  187. data/spec/models/redirect_uri_type_enum_spec.rb +24 -0
  188. data/spec/models/related_rule_spec.rb +54 -0
  189. data/spec/models/saml_provider_request_spec.rb +7 -1
  190. data/spec/models/saml_provider_spec.rb +25 -1
  191. data/spec/models/saml_source_request_spec.rb +6 -0
  192. data/spec/models/saml_source_spec.rb +6 -0
  193. data/spec/models/ssf_provider_request_spec.rb +6 -0
  194. data/spec/models/ssf_provider_spec.rb +12 -0
  195. data/spec/models/ssf_stream_spec.rb +6 -0
  196. data/spec/models/ssf_stream_status_enum_spec.rb +24 -0
  197. data/spec/models/{task_state_enum_spec.rb → task_status_enum_spec.rb} +6 -6
  198. data/spec/models/transport_mode_enum_spec.rb +24 -0
  199. data/spec/models/usage_enum_spec.rb +24 -0
  200. data/spec/models/user_account_lockdown_request_spec.rb +30 -0
  201. data/spec/models/user_ldap_source_connection_spec.rb +6 -0
  202. data/spec/models/user_password_hash_set_request_spec.rb +30 -0
  203. data/spec/models/web_authn_hint_enum_spec.rb +24 -0
  204. data/spec/zeitwerk_spec.rb +34 -0
  205. metadata +113 -32
  206. data/spec/models/resident_key_requirement_enum_spec.rb +0 -24
@@ -0,0 +1,168 @@
1
+ =begin
2
+ This file is automatically generated by: https://openapi-generator.tech.
3
+ Any manual changes will be lost when the OpenAPI scheme changes.
4
+
5
+ =end
6
+
7
+ require 'date'
8
+ require 'time'
9
+
10
+ module Authentik::Api
11
+ # Payload to set a users' password hash directly
12
+ class UserPasswordHashSetRequest < ApiModelBase
13
+ attr_accessor :password
14
+
15
+ # Attribute mapping from ruby-style variable name to JSON key.
16
+ def self.attribute_map
17
+ {
18
+ :'password' => :'password'
19
+ }
20
+ end
21
+
22
+ # Returns attribute mapping this model knows about
23
+ def self.acceptable_attribute_map
24
+ attribute_map
25
+ end
26
+
27
+ # Returns all the JSON keys this model knows about
28
+ def self.acceptable_attributes
29
+ acceptable_attribute_map.values
30
+ end
31
+
32
+ # Attribute type mapping.
33
+ def self.openapi_types
34
+ {
35
+ :'password' => :'String'
36
+ }
37
+ end
38
+
39
+ # List of attributes with nullable: true
40
+ def self.openapi_nullable
41
+ Set.new([
42
+ ])
43
+ end
44
+
45
+ # Initializes the object
46
+ # @param [Hash] attributes Model attributes in the form of hash
47
+ def initialize(attributes = {})
48
+ if (!attributes.is_a?(Hash))
49
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Authentik::Api::UserPasswordHashSetRequest` initialize method"
50
+ end
51
+
52
+ # check to see if the attribute exists and convert string to symbol for hash key
53
+ acceptable_attribute_map = self.class.acceptable_attribute_map
54
+ attributes = attributes.each_with_object({}) { |(k, v), h|
55
+ if (!acceptable_attribute_map.key?(k.to_sym))
56
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Authentik::Api::UserPasswordHashSetRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
57
+ end
58
+ h[k.to_sym] = v
59
+ }
60
+
61
+ if attributes.key?(:'password')
62
+ self.password = attributes[:'password']
63
+ else
64
+ self.password = nil
65
+ end
66
+ end
67
+
68
+ # Show invalid properties with the reasons. Usually used together with valid?
69
+ # @return Array for valid properties with the reasons
70
+ def list_invalid_properties
71
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
72
+ invalid_properties = Array.new
73
+ if @password.nil?
74
+ invalid_properties.push('invalid value for "password", password cannot be nil.')
75
+ end
76
+
77
+ if @password.to_s.length < 1
78
+ invalid_properties.push('invalid value for "password", the character length must be greater than or equal to 1.')
79
+ end
80
+
81
+ invalid_properties
82
+ end
83
+
84
+ # Check to see if the all the properties in the model are valid
85
+ # @return true if the model is valid
86
+ def valid?
87
+ warn '[DEPRECATED] the `valid?` method is obsolete'
88
+ return false if @password.nil?
89
+ return false if @password.to_s.length < 1
90
+ true
91
+ end
92
+
93
+ # Custom attribute writer method with validation
94
+ # @param [Object] password Value to be assigned
95
+ def password=(password)
96
+ if password.nil?
97
+ fail ArgumentError, 'password cannot be nil'
98
+ end
99
+
100
+ if password.to_s.length < 1
101
+ fail ArgumentError, 'invalid value for "password", the character length must be greater than or equal to 1.'
102
+ end
103
+
104
+ @password = password
105
+ end
106
+
107
+ # Checks equality by comparing each attribute.
108
+ # @param [Object] Object to be compared
109
+ def ==(o)
110
+ return true if self.equal?(o)
111
+ self.class == o.class &&
112
+ password == o.password
113
+ end
114
+
115
+ # @see the `==` method
116
+ # @param [Object] Object to be compared
117
+ def eql?(o)
118
+ self == o
119
+ end
120
+
121
+ # Calculates hash code according to all attributes.
122
+ # @return [Integer] Hash code
123
+ def hash
124
+ [password].hash
125
+ end
126
+
127
+ # Builds the object from hash
128
+ # @param [Hash] attributes Model attributes in the form of hash
129
+ # @return [Object] Returns the model itself
130
+ def self.build_from_hash(attributes)
131
+ return nil unless attributes.is_a?(Hash)
132
+ attributes = attributes.transform_keys(&:to_sym)
133
+ transformed_hash = {}
134
+ openapi_types.each_pair do |key, type|
135
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
136
+ transformed_hash["#{key}"] = nil
137
+ elsif type =~ /\AArray<(.*)>/i
138
+ # check to ensure the input is an array given that the attribute
139
+ # is documented as an array but the input is not
140
+ if attributes[attribute_map[key]].is_a?(Array)
141
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
142
+ end
143
+ elsif !attributes[attribute_map[key]].nil?
144
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
145
+ end
146
+ end
147
+ new(transformed_hash)
148
+ end
149
+
150
+ # Returns the object in the form of hash
151
+ # @return [Hash] Returns the object in the form of hash
152
+ def to_hash
153
+ hash = {}
154
+ self.class.attribute_map.each_pair do |attr, param|
155
+ value = self.send(attr)
156
+ if value.nil?
157
+ is_nullable = self.class.openapi_nullable.include?(attr)
158
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
159
+ end
160
+
161
+ hash[param] = _to_hash(value)
162
+ end
163
+ hash
164
+ end
165
+
166
+ end
167
+
168
+ end
@@ -12,9 +12,10 @@ module Authentik::Api
12
12
  GOAUTHENTIK_IO_MERGED = "goauthentik.io/@merged".freeze
13
13
  GOAUTHENTIK_IO_PLATFORM = "goauthentik.io/platform".freeze
14
14
  FLEETDM_COM = "fleetdm.com".freeze
15
+ CHROME_GOOGLE_COM = "chrome.google.com".freeze
15
16
 
16
17
  def self.all_vars
17
- @all_vars ||= [GOAUTHENTIK_IO_MERGED, GOAUTHENTIK_IO_PLATFORM, FLEETDM_COM].freeze
18
+ @all_vars ||= [GOAUTHENTIK_IO_MERGED, GOAUTHENTIK_IO_PLATFORM, FLEETDM_COM, CHROME_GOOGLE_COM].freeze
18
19
  end
19
20
 
20
21
  # Builds the enum from string
@@ -0,0 +1,35 @@
1
+ =begin
2
+ This file is automatically generated by: https://openapi-generator.tech.
3
+ Any manual changes will be lost when the OpenAPI scheme changes.
4
+
5
+ =end
6
+
7
+ require 'date'
8
+ require 'time'
9
+
10
+ module Authentik::Api
11
+ class WebAuthnHintEnum
12
+ SECURITY_KEY = "security-key".freeze
13
+ CLIENT_DEVICE = "client-device".freeze
14
+ HYBRID = "hybrid".freeze
15
+
16
+ def self.all_vars
17
+ @all_vars ||= [SECURITY_KEY, CLIENT_DEVICE, HYBRID].freeze
18
+ end
19
+
20
+ # Builds the enum from string
21
+ # @param [String] The enum value in the form of the string
22
+ # @return [String] The enum value
23
+ def self.build_from_hash(value)
24
+ new.build_from_hash(value)
25
+ end
26
+
27
+ # Builds the enum from string
28
+ # @param [String] The enum value in the form of the string
29
+ # @return [String] The enum value
30
+ def build_from_hash(value)
31
+ return value if WebAuthnHintEnum.all_vars.include?(value)
32
+ raise "Invalid ENUM value #{value} for class #WebAuthnHintEnum"
33
+ end
34
+ end
35
+ end
@@ -6,6 +6,6 @@ Any manual changes will be lost when the OpenAPI scheme changes.
6
6
 
7
7
  module Authentik
8
8
  module Api
9
- VERSION = '2026.2.3'
9
+ VERSION = '2026.5.0.rc2'
10
10
  end
11
11
  end
@@ -53,7 +53,7 @@ describe 'AdminApi' do
53
53
  # Delete file from storage backend.
54
54
  # @param [Hash] opts the optional parameters
55
55
  # @option opts [String] :name
56
- # @option opts [String] :usage
56
+ # @option opts [UsageEnum] :usage
57
57
  # @return [nil]
58
58
  describe 'admin_file_destroy test' do
59
59
  it 'should work' do
@@ -66,7 +66,7 @@ describe 'AdminApi' do
66
66
  # @param [Hash] opts the optional parameters
67
67
  # @option opts [Boolean] :manageable_only
68
68
  # @option opts [String] :search A search term.
69
- # @option opts [String] :usage
69
+ # @option opts [UsageEnum] :usage
70
70
  # @return [Array<FileList>]
71
71
  describe 'admin_file_list test' do
72
72
  it 'should work' do
@@ -321,6 +321,7 @@ describe 'CoreApi' do
321
321
  # @option opts [String] :flow_authentication
322
322
  # @option opts [String] :flow_device_code
323
323
  # @option opts [String] :flow_invalidation
324
+ # @option opts [String] :flow_lockdown
324
325
  # @option opts [String] :flow_recovery
325
326
  # @option opts [String] :flow_unenrollment
326
327
  # @option opts [String] :flow_user_settings
@@ -530,7 +531,7 @@ describe 'CoreApi' do
530
531
  # @option opts [Time] :expires
531
532
  # @option opts [Boolean] :expiring
532
533
  # @option opts [String] :identifier
533
- # @option opts [String] :intent
534
+ # @option opts [IntentEnum] :intent
534
535
  # @option opts [String] :managed
535
536
  # @option opts [String] :ordering Which field to use when ordering the results.
536
537
  # @option opts [Integer] :page A page number within the paginated result set.
@@ -673,6 +674,17 @@ describe 'CoreApi' do
673
674
  end
674
675
  end
675
676
 
677
+ # unit tests for core_users_account_lockdown_create
678
+ # Choose the target account, then return a flow link.
679
+ # @param [Hash] opts the optional parameters
680
+ # @option opts [UserAccountLockdownRequest] :user_account_lockdown_request
681
+ # @return [Link]
682
+ describe 'core_users_account_lockdown_create test' do
683
+ it 'should work' do
684
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
685
+ end
686
+ end
687
+
676
688
  # unit tests for core_users_create
677
689
  # User Viewset
678
690
  # @param user_request
@@ -721,7 +733,7 @@ describe 'CoreApi' do
721
733
  # @option opts [Array<String>] :roles_by_name
722
734
  # @option opts [Array<String>] :roles_by_pk
723
735
  # @option opts [String] :search A search term.
724
- # @option opts [Array<String>] :type
736
+ # @option opts [Array<UserTypeEnum>] :type
725
737
  # @option opts [String] :username
726
738
  # @option opts [String] :uuid
727
739
  # @return [DataExport]
@@ -783,7 +795,7 @@ describe 'CoreApi' do
783
795
  # @option opts [Array<String>] :roles_by_name
784
796
  # @option opts [Array<String>] :roles_by_pk
785
797
  # @option opts [String] :search A search term.
786
- # @option opts [Array<String>] :type
798
+ # @option opts [Array<UserTypeEnum>] :type
787
799
  # @option opts [String] :username
788
800
  # @option opts [String] :uuid
789
801
  # @return [PaginatedUserList]
@@ -884,6 +896,18 @@ describe 'CoreApi' do
884
896
  end
885
897
  end
886
898
 
899
+ # unit tests for core_users_set_password_hash_create
900
+ # Set a user&#39;s password from a pre-hashed Django password value. Submit the Django password hash in the shared &#x60;&#x60;password&#x60;&#x60; request field. This updates authentik&#39;s local password verifier only. It does not attempt to propagate the password change to LDAP or Kerberos because no raw password is available from the request payload.
901
+ # @param id A unique integer value identifying this User.
902
+ # @param user_password_hash_set_request
903
+ # @param [Hash] opts the optional parameters
904
+ # @return [nil]
905
+ describe 'core_users_set_password_hash_create test' do
906
+ it 'should work' do
907
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
908
+ end
909
+ end
910
+
887
911
  # unit tests for core_users_update
888
912
  # User Viewset
889
913
  # @param id A unique integer value identifying this User.
@@ -63,7 +63,7 @@ describe 'CryptoApi' do
63
63
  # CertificateKeyPair Viewset
64
64
  # @param [Hash] opts the optional parameters
65
65
  # @option opts [Boolean] :has_key Only return certificate-key pairs with keys
66
- # @option opts [Array<String>] :key_type Filter by key algorithm type (RSA, EC, DSA, etc). Can be specified multiple times (e.g. &#39;?key_type&#x3D;rsa&amp;key_type&#x3D;ec&#39;)
66
+ # @option opts [Array<KeyTypeEnum>] :key_type
67
67
  # @option opts [String] :managed
68
68
  # @option opts [String] :name
69
69
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -270,6 +270,90 @@ describe 'EndpointsApi' do
270
270
  end
271
271
  end
272
272
 
273
+ # unit tests for endpoints_agents_psso_ise_create
274
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
275
+ # @param apple_independent_secure_enclave_request
276
+ # @param [Hash] opts the optional parameters
277
+ # @return [AppleIndependentSecureEnclave]
278
+ describe 'endpoints_agents_psso_ise_create test' do
279
+ it 'should work' do
280
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
281
+ end
282
+ end
283
+
284
+ # unit tests for endpoints_agents_psso_ise_destroy
285
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
286
+ # @param uuid A UUID string identifying this Apple Independent Secure Enclave.
287
+ # @param [Hash] opts the optional parameters
288
+ # @return [nil]
289
+ describe 'endpoints_agents_psso_ise_destroy test' do
290
+ it 'should work' do
291
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
292
+ end
293
+ end
294
+
295
+ # unit tests for endpoints_agents_psso_ise_list
296
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
297
+ # @param [Hash] opts the optional parameters
298
+ # @option opts [String] :apple_enclave_key_id
299
+ # @option opts [String] :ordering Which field to use when ordering the results.
300
+ # @option opts [Integer] :page A page number within the paginated result set.
301
+ # @option opts [Integer] :page_size Number of results to return per page.
302
+ # @option opts [String] :search A search term.
303
+ # @option opts [Integer] :user
304
+ # @return [PaginatedAppleIndependentSecureEnclaveList]
305
+ describe 'endpoints_agents_psso_ise_list test' do
306
+ it 'should work' do
307
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
308
+ end
309
+ end
310
+
311
+ # unit tests for endpoints_agents_psso_ise_partial_update
312
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
313
+ # @param uuid A UUID string identifying this Apple Independent Secure Enclave.
314
+ # @param [Hash] opts the optional parameters
315
+ # @option opts [PatchedAppleIndependentSecureEnclaveRequest] :patched_apple_independent_secure_enclave_request
316
+ # @return [AppleIndependentSecureEnclave]
317
+ describe 'endpoints_agents_psso_ise_partial_update test' do
318
+ it 'should work' do
319
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
320
+ end
321
+ end
322
+
323
+ # unit tests for endpoints_agents_psso_ise_retrieve
324
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
325
+ # @param uuid A UUID string identifying this Apple Independent Secure Enclave.
326
+ # @param [Hash] opts the optional parameters
327
+ # @return [AppleIndependentSecureEnclave]
328
+ describe 'endpoints_agents_psso_ise_retrieve test' do
329
+ it 'should work' do
330
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
331
+ end
332
+ end
333
+
334
+ # unit tests for endpoints_agents_psso_ise_update
335
+ # Mixin to add a used_by endpoint to return a list of all objects using this object
336
+ # @param uuid A UUID string identifying this Apple Independent Secure Enclave.
337
+ # @param apple_independent_secure_enclave_request
338
+ # @param [Hash] opts the optional parameters
339
+ # @return [AppleIndependentSecureEnclave]
340
+ describe 'endpoints_agents_psso_ise_update test' do
341
+ it 'should work' do
342
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
343
+ end
344
+ end
345
+
346
+ # unit tests for endpoints_agents_psso_ise_used_by_list
347
+ # Get a list of all objects that use this object
348
+ # @param uuid A UUID string identifying this Apple Independent Secure Enclave.
349
+ # @param [Hash] opts the optional parameters
350
+ # @return [Array<UsedBy>]
351
+ describe 'endpoints_agents_psso_ise_used_by_list test' do
352
+ it 'should work' do
353
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
354
+ end
355
+ end
356
+
273
357
  # unit tests for endpoints_agents_psso_register_device_create
274
358
  # @param agent_psso_device_registration_request
275
359
  # @param [Hash] opts the optional parameters
@@ -686,4 +770,87 @@ describe 'EndpointsApi' do
686
770
  end
687
771
  end
688
772
 
773
+ # unit tests for endpoints_google_chrome_connectors_create
774
+ # GoogleChromeConnector Viewset
775
+ # @param google_chrome_connector_request
776
+ # @param [Hash] opts the optional parameters
777
+ # @return [GoogleChromeConnector]
778
+ describe 'endpoints_google_chrome_connectors_create test' do
779
+ it 'should work' do
780
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
781
+ end
782
+ end
783
+
784
+ # unit tests for endpoints_google_chrome_connectors_destroy
785
+ # GoogleChromeConnector Viewset
786
+ # @param connector_uuid A UUID string identifying this Google Device Trust Connector.
787
+ # @param [Hash] opts the optional parameters
788
+ # @return [nil]
789
+ describe 'endpoints_google_chrome_connectors_destroy test' do
790
+ it 'should work' do
791
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
792
+ end
793
+ end
794
+
795
+ # unit tests for endpoints_google_chrome_connectors_list
796
+ # GoogleChromeConnector Viewset
797
+ # @param [Hash] opts the optional parameters
798
+ # @option opts [String] :name
799
+ # @option opts [String] :ordering Which field to use when ordering the results.
800
+ # @option opts [Integer] :page A page number within the paginated result set.
801
+ # @option opts [Integer] :page_size Number of results to return per page.
802
+ # @option opts [String] :search A search term.
803
+ # @return [PaginatedGoogleChromeConnectorList]
804
+ describe 'endpoints_google_chrome_connectors_list test' do
805
+ it 'should work' do
806
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
807
+ end
808
+ end
809
+
810
+ # unit tests for endpoints_google_chrome_connectors_partial_update
811
+ # GoogleChromeConnector Viewset
812
+ # @param connector_uuid A UUID string identifying this Google Device Trust Connector.
813
+ # @param [Hash] opts the optional parameters
814
+ # @option opts [PatchedGoogleChromeConnectorRequest] :patched_google_chrome_connector_request
815
+ # @return [GoogleChromeConnector]
816
+ describe 'endpoints_google_chrome_connectors_partial_update test' do
817
+ it 'should work' do
818
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
819
+ end
820
+ end
821
+
822
+ # unit tests for endpoints_google_chrome_connectors_retrieve
823
+ # GoogleChromeConnector Viewset
824
+ # @param connector_uuid A UUID string identifying this Google Device Trust Connector.
825
+ # @param [Hash] opts the optional parameters
826
+ # @return [GoogleChromeConnector]
827
+ describe 'endpoints_google_chrome_connectors_retrieve test' do
828
+ it 'should work' do
829
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
830
+ end
831
+ end
832
+
833
+ # unit tests for endpoints_google_chrome_connectors_update
834
+ # GoogleChromeConnector Viewset
835
+ # @param connector_uuid A UUID string identifying this Google Device Trust Connector.
836
+ # @param google_chrome_connector_request
837
+ # @param [Hash] opts the optional parameters
838
+ # @return [GoogleChromeConnector]
839
+ describe 'endpoints_google_chrome_connectors_update test' do
840
+ it 'should work' do
841
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
842
+ end
843
+ end
844
+
845
+ # unit tests for endpoints_google_chrome_connectors_used_by_list
846
+ # Get a list of all objects that use this object
847
+ # @param connector_uuid A UUID string identifying this Google Device Trust Connector.
848
+ # @param [Hash] opts the optional parameters
849
+ # @return [Array<UsedBy>]
850
+ describe 'endpoints_google_chrome_connectors_used_by_list test' do
851
+ it 'should work' do
852
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
853
+ end
854
+ end
855
+
689
856
  end
@@ -62,10 +62,11 @@ describe 'EventsApi' do
62
62
  # Create a data export for this data type. Note that the export is generated asynchronously: this method returns a &#x60;DataExport&#x60; object that will initially have &#x60;completed&#x3D;false&#x60; as well as the permanent URL to that object in the &#x60;Location&#x60; header. You can poll that URL until &#x60;completed&#x3D;true&#x60;, at which point the &#x60;file_url&#x60; property will contain a URL to download
63
63
  # @param [Hash] opts the optional parameters
64
64
  # @option opts [String] :action
65
- # @option opts [Array<String>] :actions
65
+ # @option opts [Array<EventActions>] :actions
66
66
  # @option opts [String] :brand_name Brand name
67
67
  # @option opts [String] :client_ip
68
68
  # @option opts [String] :context_authorized_app Context Authorized application
69
+ # @option opts [String] :context_device Context Device Primary Key
69
70
  # @option opts [String] :context_model_app Context Model App
70
71
  # @option opts [String] :context_model_name Context Model Name
71
72
  # @option opts [String] :context_model_pk Context Model Primary Key
@@ -83,10 +84,11 @@ describe 'EventsApi' do
83
84
  # Event Read-Only Viewset
84
85
  # @param [Hash] opts the optional parameters
85
86
  # @option opts [String] :action
86
- # @option opts [Array<String>] :actions
87
+ # @option opts [Array<EventActions>] :actions
87
88
  # @option opts [String] :brand_name Brand name
88
89
  # @option opts [String] :client_ip
89
90
  # @option opts [String] :context_authorized_app Context Authorized application
91
+ # @option opts [String] :context_device Context Device Primary Key
90
92
  # @option opts [String] :context_model_app Context Model App
91
93
  # @option opts [String] :context_model_name Context Model Name
92
94
  # @option opts [String] :context_model_pk Context Model Primary Key
@@ -125,6 +127,29 @@ describe 'EventsApi' do
125
127
  end
126
128
  end
127
129
 
130
+ # unit tests for events_events_stats_retrieve
131
+ # Get event stats for specified filters and count steps
132
+ # @param count_steps Timedelta, format of &#39;weeks&#x3D;3;days&#x3D;2;hours&#x3D;3,seconds&#x3D;2&#39;
133
+ # @param [Hash] opts the optional parameters
134
+ # @option opts [String] :action
135
+ # @option opts [Array<EventActions>] :actions
136
+ # @option opts [String] :brand_name Brand name
137
+ # @option opts [String] :client_ip
138
+ # @option opts [String] :context_authorized_app Context Authorized application
139
+ # @option opts [String] :context_device Context Device Primary Key
140
+ # @option opts [String] :context_model_app Context Model App
141
+ # @option opts [String] :context_model_name Context Model Name
142
+ # @option opts [String] :context_model_pk Context Model Primary Key
143
+ # @option opts [String] :ordering Which field to use when ordering the results.
144
+ # @option opts [String] :search A search term.
145
+ # @option opts [String] :username Username
146
+ # @return [EventStats]
147
+ describe 'events_events_stats_retrieve test' do
148
+ it 'should work' do
149
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
150
+ end
151
+ end
152
+
128
153
  # unit tests for events_events_top_per_user_list
129
154
  # Get the top_n events grouped by user count
130
155
  # @param [Hash] opts the optional parameters
@@ -153,14 +178,15 @@ describe 'EventsApi' do
153
178
  # Get event volume for specified filters and timeframe
154
179
  # @param [Hash] opts the optional parameters
155
180
  # @option opts [String] :action
156
- # @option opts [Array<String>] :actions
181
+ # @option opts [Array<EventActions>] :actions
157
182
  # @option opts [String] :brand_name Brand name
158
183
  # @option opts [String] :client_ip
159
184
  # @option opts [String] :context_authorized_app Context Authorized application
185
+ # @option opts [String] :context_device Context Device Primary Key
160
186
  # @option opts [String] :context_model_app Context Model App
161
187
  # @option opts [String] :context_model_name Context Model Name
162
188
  # @option opts [String] :context_model_pk Context Model Primary Key
163
- # @option opts [Float] :history_days
189
+ # @option opts [Integer] :history_days
164
190
  # @option opts [String] :ordering Which field to use when ordering the results.
165
191
  # @option opts [String] :search A search term.
166
192
  # @option opts [String] :username Username
@@ -193,7 +219,7 @@ describe 'EventsApi' do
193
219
  # @option opts [Integer] :page_size Number of results to return per page.
194
220
  # @option opts [String] :search A search term.
195
221
  # @option opts [Boolean] :seen
196
- # @option opts [String] :severity
222
+ # @option opts [SeverityEnum] :severity
197
223
  # @option opts [Integer] :user
198
224
  # @return [PaginatedNotificationList]
199
225
  describe 'events_notifications_list test' do
@@ -289,7 +315,7 @@ describe 'EventsApi' do
289
315
  # @option opts [Integer] :page A page number within the paginated result set.
290
316
  # @option opts [Integer] :page_size Number of results to return per page.
291
317
  # @option opts [String] :search A search term.
292
- # @option opts [String] :severity Controls which severity level the created notifications will have.
318
+ # @option opts [SeverityEnum] :severity
293
319
  # @return [PaginatedNotificationRuleList]
294
320
  describe 'events_rules_list test' do
295
321
  it 'should work' do
@@ -368,7 +394,7 @@ describe 'EventsApi' do
368
394
  # unit tests for events_transports_list
369
395
  # NotificationTransport Viewset
370
396
  # @param [Hash] opts the optional parameters
371
- # @option opts [String] :mode
397
+ # @option opts [TransportModeEnum] :mode
372
398
  # @option opts [String] :name
373
399
  # @option opts [String] :ordering Which field to use when ordering the results.
374
400
  # @option opts [Integer] :page A page number within the paginated result set.
@@ -53,14 +53,14 @@ describe 'FlowsApi' do
53
53
  # @param [Hash] opts the optional parameters
54
54
  # @option opts [Boolean] :evaluate_on_plan
55
55
  # @option opts [String] :fsb_uuid
56
- # @option opts [String] :invalid_response_action Configure how the flow executor should handle an invalid response to a challenge. RETRY returns the error message and a similar challenge to the executor. RESTART restarts the flow from the beginning, and RESTART_WITH_CONTEXT restarts the flow while keeping the current context.
56
+ # @option opts [InvalidResponseActionEnum] :invalid_response_action
57
57
  # @option opts [Integer] :order
58
58
  # @option opts [String] :ordering Which field to use when ordering the results.
59
59
  # @option opts [Integer] :page A page number within the paginated result set.
60
60
  # @option opts [Integer] :page_size Number of results to return per page.
61
61
  # @option opts [String] :pbm_uuid
62
62
  # @option opts [Array<String>] :policies
63
- # @option opts [String] :policy_engine_mode
63
+ # @option opts [PolicyEngineMode] :policy_engine_mode
64
64
  # @option opts [Boolean] :re_evaluate_policies
65
65
  # @option opts [String] :search A search term.
66
66
  # @option opts [String] :stage
@@ -229,23 +229,11 @@ describe 'FlowsApi' do
229
229
  end
230
230
  end
231
231
 
232
- # unit tests for flows_instances_import_create
233
- # Import flow from .yaml file
234
- # @param [Hash] opts the optional parameters
235
- # @option opts [File] :file
236
- # @option opts [Boolean] :clear
237
- # @return [FlowImportResult]
238
- describe 'flows_instances_import_create test' do
239
- it 'should work' do
240
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
241
- end
242
- end
243
-
244
232
  # unit tests for flows_instances_list
245
233
  # Flow Viewset
246
234
  # @param [Hash] opts the optional parameters
247
- # @option opts [String] :denied_action Configure what should happen when a flow denies access to a user.
248
- # @option opts [String] :designation Decides what this Flow is used for. For example, the Authentication flow is redirect to when an un-authenticated user visits authentik.
235
+ # @option opts [DeniedActionEnum] :denied_action
236
+ # @option opts [FlowDesignationEnum] :designation
249
237
  # @option opts [String] :flow_uuid
250
238
  # @option opts [String] :name
251
239
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -37,13 +37,16 @@ describe 'LifecycleApi' do
37
37
  end
38
38
  end
39
39
 
40
- # unit tests for lifecycle_iterations_latest_retrieve
40
+ # unit tests for lifecycle_iterations_list_latest
41
41
  # Mixin to validate that a valid enterprise license exists before allowing to save the object
42
42
  # @param content_type
43
43
  # @param obj_id
44
44
  # @param [Hash] opts the optional parameters
45
- # @return [LifecycleIteration]
46
- describe 'lifecycle_iterations_latest_retrieve test' do
45
+ # @option opts [String] :ordering Which field to use when ordering the results.
46
+ # @option opts [String] :search A search term.
47
+ # @option opts [Boolean] :user_is_reviewer
48
+ # @return [Array<LifecycleIteration>]
49
+ describe 'lifecycle_iterations_list_latest test' do
47
50
  it 'should work' do
48
51
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
49
52
  end