ory-client 1.17.2 → 1.18.4

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 (613) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +7 -6
  4. data/docs/AccountExperienceColors.md +57 -1
  5. data/docs/CreateProjectNormalizedPayload.md +2 -0
  6. data/docs/GenericErrorContent.md +2 -0
  7. data/docs/NormalizedProjectRevision.md +2 -0
  8. data/docs/NormalizedProjectRevisionSAMLProvider.md +0 -4
  9. data/docs/UiNode.md +1 -1
  10. data/docs/UiNodeAnchorAttributes.md +1 -1
  11. data/docs/UiNodeDivisionAttributes.md +24 -0
  12. data/docs/UiNodeImageAttributes.md +1 -1
  13. data/docs/UiNodeInputAttributes.md +1 -1
  14. data/docs/UiNodeScriptAttributes.md +1 -1
  15. data/docs/UiNodeTextAttributes.md +1 -1
  16. data/lib/ory-client/api/courier_api.rb +4 -4
  17. data/lib/ory-client/api/events_api.rb +6 -6
  18. data/lib/ory-client/api/frontend_api.rb +34 -34
  19. data/lib/ory-client/api/identity_api.rb +20 -20
  20. data/lib/ory-client/api/jwk_api.rb +9 -9
  21. data/lib/ory-client/api/metadata_api.rb +3 -3
  22. data/lib/ory-client/api/o_auth2_api.rb +30 -30
  23. data/lib/ory-client/api/oidc_api.rb +9 -9
  24. data/lib/ory-client/api/permission_api.rb +8 -8
  25. data/lib/ory-client/api/project_api.rb +19 -19
  26. data/lib/ory-client/api/relationship_api.rb +8 -8
  27. data/lib/ory-client/api/wellknown_api.rb +3 -3
  28. data/lib/ory-client/api/workspace_api.rb +10 -10
  29. data/lib/ory-client/api_client.rb +9 -10
  30. data/lib/ory-client/api_error.rb +2 -2
  31. data/lib/ory-client/configuration.rb +2 -2
  32. data/lib/ory-client/models/accept_o_auth2_consent_request.rb +11 -5
  33. data/lib/ory-client/models/accept_o_auth2_consent_request_session.rb +11 -5
  34. data/lib/ory-client/models/accept_o_auth2_login_request.rb +21 -5
  35. data/lib/ory-client/models/account_experience_colors.rb +267 -9
  36. data/lib/ory-client/models/account_experience_configuration.rb +121 -5
  37. data/lib/ory-client/models/account_experience_theme_variables.rb +11 -5
  38. data/lib/ory-client/models/active_project_in_console.rb +11 -5
  39. data/lib/ory-client/models/add_project_to_workspace_body.rb +11 -5
  40. data/lib/ory-client/models/attribute.rb +11 -5
  41. data/lib/ory-client/models/attribute_filter.rb +11 -5
  42. data/lib/ory-client/models/attributes_count_datapoint.rb +31 -5
  43. data/lib/ory-client/models/authenticator_assurance_level.rb +2 -2
  44. data/lib/ory-client/models/batch_check_permission_body.rb +11 -5
  45. data/lib/ory-client/models/batch_check_permission_result.rb +21 -5
  46. data/lib/ory-client/models/batch_patch_identities_response.rb +11 -5
  47. data/lib/ory-client/models/billing_period_bucket.rb +11 -5
  48. data/lib/ory-client/models/check_opl_syntax_result.rb +11 -5
  49. data/lib/ory-client/models/check_permission_result.rb +21 -5
  50. data/lib/ory-client/models/check_permission_result_with_error.rb +21 -5
  51. data/lib/ory-client/models/cloud_account.rb +51 -5
  52. data/lib/ory-client/models/consistency_request_parameters.rb +11 -5
  53. data/lib/ory-client/models/continue_with.rb +2 -2
  54. data/lib/ory-client/models/continue_with_recovery_ui.rb +21 -5
  55. data/lib/ory-client/models/continue_with_recovery_ui_flow.rb +21 -5
  56. data/lib/ory-client/models/continue_with_redirect_browser_to.rb +21 -5
  57. data/lib/ory-client/models/continue_with_set_ory_session_token.rb +21 -5
  58. data/lib/ory-client/models/continue_with_settings_ui.rb +21 -5
  59. data/lib/ory-client/models/continue_with_settings_ui_flow.rb +21 -5
  60. data/lib/ory-client/models/continue_with_verification_ui.rb +21 -5
  61. data/lib/ory-client/models/continue_with_verification_ui_flow.rb +31 -5
  62. data/lib/ory-client/models/courier_message_status.rb +2 -2
  63. data/lib/ory-client/models/courier_message_type.rb +2 -2
  64. data/lib/ory-client/models/create_custom_domain_body.rb +11 -5
  65. data/lib/ory-client/models/create_event_stream_body.rb +31 -5
  66. data/lib/ory-client/models/create_fedcm_flow_response.rb +11 -5
  67. data/lib/ory-client/models/create_identity_body.rb +31 -5
  68. data/lib/ory-client/models/create_invite_response.rb +31 -5
  69. data/lib/ory-client/models/create_json_web_key_set.rb +41 -5
  70. data/lib/ory-client/models/create_project_api_key_request.rb +21 -5
  71. data/lib/ory-client/models/create_project_body.rb +21 -5
  72. data/lib/ory-client/models/create_project_branding.rb +11 -5
  73. data/lib/ory-client/models/create_project_member_invite_body.rb +11 -5
  74. data/lib/ory-client/models/create_project_normalized_payload.rb +32 -6
  75. data/lib/ory-client/models/create_recovery_code_for_identity_body.rb +21 -5
  76. data/lib/ory-client/models/create_recovery_link_for_identity_body.rb +21 -5
  77. data/lib/ory-client/models/create_relationship_body.rb +11 -5
  78. data/lib/ory-client/models/create_subscription_body.rb +31 -5
  79. data/lib/ory-client/models/create_subscription_common.rb +21 -5
  80. data/lib/ory-client/models/create_verifiable_credential_request_body.rb +11 -5
  81. data/lib/ory-client/models/create_workspace_api_key_body.rb +21 -5
  82. data/lib/ory-client/models/create_workspace_body.rb +21 -5
  83. data/lib/ory-client/models/create_workspace_member_invite_body.rb +21 -5
  84. data/lib/ory-client/models/create_workspace_subscription_body.rb +21 -5
  85. data/lib/ory-client/models/credential_supported_draft00.rb +11 -5
  86. data/lib/ory-client/models/custom_domain.rb +11 -5
  87. data/lib/ory-client/models/delete_my_sessions_count.rb +11 -5
  88. data/lib/ory-client/models/email_template_data.rb +31 -5
  89. data/lib/ory-client/models/email_template_data_body.rb +31 -5
  90. data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +11 -5
  91. data/lib/ory-client/models/error_browser_location_change_required.rb +11 -5
  92. data/lib/ory-client/models/error_flow_replaced.rb +11 -5
  93. data/lib/ory-client/models/error_generic.rb +21 -5
  94. data/lib/ory-client/models/error_o_auth2.rb +11 -5
  95. data/lib/ory-client/models/event_stream.rb +11 -5
  96. data/lib/ory-client/models/expanded_permission_tree.rb +11 -5
  97. data/lib/ory-client/models/flow_error.rb +21 -5
  98. data/lib/ory-client/models/generic_error.rb +21 -5
  99. data/lib/ory-client/models/generic_error_content.rb +56 -6
  100. data/lib/ory-client/models/generic_usage.rb +31 -5
  101. data/lib/ory-client/models/get_attributes_count_response.rb +21 -5
  102. data/lib/ory-client/models/get_managed_identity_schema_location.rb +11 -5
  103. data/lib/ory-client/models/get_metrics_event_attributes_response.rb +21 -5
  104. data/lib/ory-client/models/get_metrics_event_types_response.rb +21 -5
  105. data/lib/ory-client/models/get_organization_response.rb +21 -5
  106. data/lib/ory-client/models/get_project_events_body.rb +31 -5
  107. data/lib/ory-client/models/get_project_events_response.rb +21 -5
  108. data/lib/ory-client/models/get_project_metrics_response.rb +21 -5
  109. data/lib/ory-client/models/get_session_activity_response.rb +21 -5
  110. data/lib/ory-client/models/get_version200_response.rb +21 -5
  111. data/lib/ory-client/models/health_not_ready_status.rb +11 -5
  112. data/lib/ory-client/models/health_status.rb +11 -5
  113. data/lib/ory-client/models/identity.rb +41 -5
  114. data/lib/ory-client/models/identity_credentials.rb +11 -5
  115. data/lib/ory-client/models/identity_credentials_code.rb +11 -5
  116. data/lib/ory-client/models/identity_credentials_code_address.rb +11 -5
  117. data/lib/ory-client/models/identity_credentials_oidc.rb +11 -5
  118. data/lib/ory-client/models/identity_credentials_oidc_provider.rb +11 -5
  119. data/lib/ory-client/models/identity_credentials_password.rb +11 -5
  120. data/lib/ory-client/models/identity_patch.rb +11 -5
  121. data/lib/ory-client/models/identity_patch_response.rb +11 -5
  122. data/lib/ory-client/models/identity_schema_container.rb +11 -5
  123. data/lib/ory-client/models/identity_schema_preset.rb +31 -5
  124. data/lib/ory-client/models/identity_with_credentials.rb +11 -5
  125. data/lib/ory-client/models/identity_with_credentials_oidc.rb +11 -5
  126. data/lib/ory-client/models/identity_with_credentials_oidc_config.rb +11 -5
  127. data/lib/ory-client/models/identity_with_credentials_oidc_config_provider.rb +31 -5
  128. data/lib/ory-client/models/identity_with_credentials_password.rb +11 -5
  129. data/lib/ory-client/models/identity_with_credentials_password_config.rb +11 -5
  130. data/lib/ory-client/models/internal_get_project_branding_body.rb +11 -5
  131. data/lib/ory-client/models/internal_is_ax_welcome_screen_enabled_for_project_body.rb +31 -5
  132. data/lib/ory-client/models/internal_is_owner_for_project_by_slug_body.rb +31 -5
  133. data/lib/ory-client/models/internal_is_owner_for_project_by_slug_response.rb +21 -5
  134. data/lib/ory-client/models/introspected_o_auth2_token.rb +21 -5
  135. data/lib/ory-client/models/invite_token_body.rb +21 -5
  136. data/lib/ory-client/models/invoice.rb +31 -5
  137. data/lib/ory-client/models/invoice_data_v1.rb +61 -5
  138. data/lib/ory-client/models/is_owner_for_project_by_slug.rb +31 -5
  139. data/lib/ory-client/models/json_patch.rb +21 -5
  140. data/lib/ory-client/models/json_web_key.rb +51 -5
  141. data/lib/ory-client/models/json_web_key_set.rb +11 -5
  142. data/lib/ory-client/models/keto_namespace.rb +11 -5
  143. data/lib/ory-client/models/line_item_v1.rb +11 -5
  144. data/lib/ory-client/models/list_event_streams.rb +11 -5
  145. data/lib/ory-client/models/list_invoices_response.rb +41 -5
  146. data/lib/ory-client/models/list_organizations_response.rb +41 -5
  147. data/lib/ory-client/models/list_workspace_projects.rb +41 -5
  148. data/lib/ory-client/models/list_workspaces.rb +41 -5
  149. data/lib/ory-client/models/login_flow.rb +71 -5
  150. data/lib/ory-client/models/login_flow_state.rb +2 -2
  151. data/lib/ory-client/models/logout_flow.rb +31 -5
  152. data/lib/ory-client/models/managed_identity_schema.rb +71 -5
  153. data/lib/ory-client/models/managed_identity_schema_validation_result.rb +11 -5
  154. data/lib/ory-client/models/member_invite.rb +71 -5
  155. data/lib/ory-client/models/message.rb +101 -5
  156. data/lib/ory-client/models/message_dispatch.rb +51 -5
  157. data/lib/ory-client/models/metrics_datapoint.rb +31 -5
  158. data/lib/ory-client/models/money.rb +11 -5
  159. data/lib/ory-client/models/namespace.rb +11 -5
  160. data/lib/ory-client/models/needs_privileged_session_error.rb +21 -5
  161. data/lib/ory-client/models/normalized_project.rb +71 -5
  162. data/lib/ory-client/models/normalized_project_revision.rb +32 -6
  163. data/lib/ory-client/models/normalized_project_revision_courier_channel.rb +41 -5
  164. data/lib/ory-client/models/normalized_project_revision_hook.rb +31 -5
  165. data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +11 -5
  166. data/lib/ory-client/models/normalized_project_revision_saml_provider.rb +12 -26
  167. data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +11 -5
  168. data/lib/ory-client/models/normalized_project_revision_tokenizer_template.rb +11 -5
  169. data/lib/ory-client/models/o_auth2_client.rb +11 -5
  170. data/lib/ory-client/models/o_auth2_client_token_lifespans.rb +11 -5
  171. data/lib/ory-client/models/o_auth2_consent_request.rb +21 -5
  172. data/lib/ory-client/models/o_auth2_consent_request_open_id_connect_context.rb +11 -5
  173. data/lib/ory-client/models/o_auth2_consent_session.rb +11 -5
  174. data/lib/ory-client/models/o_auth2_consent_session_expires_at.rb +11 -5
  175. data/lib/ory-client/models/o_auth2_login_request.rb +61 -5
  176. data/lib/ory-client/models/o_auth2_logout_request.rb +11 -5
  177. data/lib/ory-client/models/o_auth2_redirect_to.rb +21 -5
  178. data/lib/ory-client/models/o_auth2_token_exchange.rb +11 -5
  179. data/lib/ory-client/models/oidc_configuration.rb +101 -5
  180. data/lib/ory-client/models/oidc_user_info.rb +11 -5
  181. data/lib/ory-client/models/organization.rb +71 -5
  182. data/lib/ory-client/models/organization_body.rb +11 -5
  183. data/lib/ory-client/models/pagination.rb +11 -5
  184. data/lib/ory-client/models/pagination_headers.rb +11 -5
  185. data/lib/ory-client/models/parse_error.rb +11 -5
  186. data/lib/ory-client/models/patch_identities_body.rb +11 -5
  187. data/lib/ory-client/models/perform_native_logout_body.rb +21 -5
  188. data/lib/ory-client/models/permissions_on_workspace.rb +11 -5
  189. data/lib/ory-client/models/plan.rb +31 -5
  190. data/lib/ory-client/models/plan_details.rb +81 -5
  191. data/lib/ory-client/models/post_check_permission_body.rb +11 -5
  192. data/lib/ory-client/models/post_check_permission_or_error_body.rb +11 -5
  193. data/lib/ory-client/models/project.rb +61 -5
  194. data/lib/ory-client/models/project_api_key.rb +41 -5
  195. data/lib/ory-client/models/project_branding.rb +71 -5
  196. data/lib/ory-client/models/project_branding_colors.rb +11 -5
  197. data/lib/ory-client/models/project_branding_theme.rb +61 -5
  198. data/lib/ory-client/models/project_cors.rb +11 -5
  199. data/lib/ory-client/models/project_events_datapoint.rb +41 -5
  200. data/lib/ory-client/models/project_host.rb +41 -5
  201. data/lib/ory-client/models/project_member.rb +61 -5
  202. data/lib/ory-client/models/project_metadata.rb +71 -5
  203. data/lib/ory-client/models/project_service_identity.rb +21 -5
  204. data/lib/ory-client/models/project_service_o_auth2.rb +21 -5
  205. data/lib/ory-client/models/project_service_permission.rb +21 -5
  206. data/lib/ory-client/models/project_services.rb +11 -5
  207. data/lib/ory-client/models/provider.rb +11 -5
  208. data/lib/ory-client/models/quota_usage.rb +71 -5
  209. data/lib/ory-client/models/recovery_code_for_identity.rb +31 -5
  210. data/lib/ory-client/models/recovery_flow.rb +71 -5
  211. data/lib/ory-client/models/recovery_flow_state.rb +2 -2
  212. data/lib/ory-client/models/recovery_identity_address.rb +41 -5
  213. data/lib/ory-client/models/recovery_link_for_identity.rb +21 -5
  214. data/lib/ory-client/models/registration_flow.rb +71 -5
  215. data/lib/ory-client/models/registration_flow_state.rb +2 -2
  216. data/lib/ory-client/models/reject_o_auth2_request.rb +11 -5
  217. data/lib/ory-client/models/relation_query.rb +11 -5
  218. data/lib/ory-client/models/relationship.rb +41 -5
  219. data/lib/ory-client/models/relationship_namespaces.rb +11 -5
  220. data/lib/ory-client/models/relationship_patch.rb +11 -5
  221. data/lib/ory-client/models/relationships.rb +11 -5
  222. data/lib/ory-client/models/rfc6749_error_json.rb +11 -5
  223. data/lib/ory-client/models/schema_patch.rb +31 -5
  224. data/lib/ory-client/models/self_service_flow_expired_error.rb +11 -5
  225. data/lib/ory-client/models/session.rb +21 -5
  226. data/lib/ory-client/models/session_activity_datapoint.rb +41 -5
  227. data/lib/ory-client/models/session_authentication_method.rb +11 -5
  228. data/lib/ory-client/models/session_device.rb +21 -5
  229. data/lib/ory-client/models/set_active_project_in_console_body.rb +21 -5
  230. data/lib/ory-client/models/set_custom_domain_body.rb +11 -5
  231. data/lib/ory-client/models/set_event_stream_body.rb +31 -5
  232. data/lib/ory-client/models/set_project.rb +51 -5
  233. data/lib/ory-client/models/set_project_branding_theme_body.rb +11 -5
  234. data/lib/ory-client/models/settings_flow.rb +81 -5
  235. data/lib/ory-client/models/settings_flow_state.rb +2 -2
  236. data/lib/ory-client/models/source_position.rb +11 -5
  237. data/lib/ory-client/models/subject_set.rb +41 -5
  238. data/lib/ory-client/models/subscription.rb +81 -5
  239. data/lib/ory-client/models/successful_code_exchange_response.rb +21 -5
  240. data/lib/ory-client/models/successful_native_login.rb +21 -5
  241. data/lib/ory-client/models/successful_native_registration.rb +21 -5
  242. data/lib/ory-client/models/successful_project_update.rb +31 -5
  243. data/lib/ory-client/models/tax_line_item.rb +11 -5
  244. data/lib/ory-client/models/time_interval.rb +31 -5
  245. data/lib/ory-client/models/token_pagination.rb +11 -5
  246. data/lib/ory-client/models/token_pagination_headers.rb +11 -5
  247. data/lib/ory-client/models/token_pagination_request_parameters.rb +11 -5
  248. data/lib/ory-client/models/token_pagination_response_headers.rb +11 -5
  249. data/lib/ory-client/models/trust_o_auth2_jwt_grant_issuer.rb +51 -5
  250. data/lib/ory-client/models/trusted_o_auth2_jwt_grant_issuer.rb +11 -5
  251. data/lib/ory-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +11 -5
  252. data/lib/ory-client/models/ui_container.rb +41 -5
  253. data/lib/ory-client/models/ui_node.rb +46 -10
  254. data/lib/ory-client/models/ui_node_anchor_attributes.rb +44 -8
  255. data/lib/ory-client/models/ui_node_attributes.rb +2 -2
  256. data/lib/ory-client/models/ui_node_division_attributes.rb +312 -0
  257. data/lib/ory-client/models/ui_node_image_attributes.rb +54 -8
  258. data/lib/ory-client/models/ui_node_input_attributes.rb +34 -8
  259. data/lib/ory-client/models/ui_node_meta.rb +11 -5
  260. data/lib/ory-client/models/ui_node_script_attributes.rb +94 -8
  261. data/lib/ory-client/models/ui_node_text_attributes.rb +34 -8
  262. data/lib/ory-client/models/ui_text.rb +31 -5
  263. data/lib/ory-client/models/update_fedcm_flow_body.rb +31 -5
  264. data/lib/ory-client/models/update_identity_body.rb +31 -5
  265. data/lib/ory-client/models/update_login_flow_body.rb +2 -2
  266. data/lib/ory-client/models/update_login_flow_with_code_method.rb +31 -5
  267. data/lib/ory-client/models/update_login_flow_with_identifier_first_method.rb +31 -5
  268. data/lib/ory-client/models/update_login_flow_with_lookup_secret_method.rb +31 -5
  269. data/lib/ory-client/models/update_login_flow_with_oidc_method.rb +31 -5
  270. data/lib/ory-client/models/update_login_flow_with_passkey_method.rb +21 -5
  271. data/lib/ory-client/models/update_login_flow_with_password_method.rb +41 -5
  272. data/lib/ory-client/models/update_login_flow_with_totp_method.rb +31 -5
  273. data/lib/ory-client/models/update_login_flow_with_web_authn_method.rb +31 -5
  274. data/lib/ory-client/models/update_recovery_flow_body.rb +2 -2
  275. data/lib/ory-client/models/update_recovery_flow_with_code_method.rb +11 -5
  276. data/lib/ory-client/models/update_recovery_flow_with_link_method.rb +21 -5
  277. data/lib/ory-client/models/update_registration_flow_body.rb +2 -2
  278. data/lib/ory-client/models/update_registration_flow_with_code_method.rb +31 -5
  279. data/lib/ory-client/models/update_registration_flow_with_oidc_method.rb +31 -5
  280. data/lib/ory-client/models/update_registration_flow_with_passkey_method.rb +31 -5
  281. data/lib/ory-client/models/update_registration_flow_with_password_method.rb +41 -5
  282. data/lib/ory-client/models/update_registration_flow_with_profile_method.rb +31 -5
  283. data/lib/ory-client/models/update_registration_flow_with_web_authn_method.rb +31 -5
  284. data/lib/ory-client/models/update_settings_flow_body.rb +2 -2
  285. data/lib/ory-client/models/update_settings_flow_with_lookup_method.rb +21 -5
  286. data/lib/ory-client/models/update_settings_flow_with_oidc_method.rb +21 -5
  287. data/lib/ory-client/models/update_settings_flow_with_passkey_method.rb +21 -5
  288. data/lib/ory-client/models/update_settings_flow_with_password_method.rb +31 -5
  289. data/lib/ory-client/models/update_settings_flow_with_profile_method.rb +31 -5
  290. data/lib/ory-client/models/update_settings_flow_with_totp_method.rb +21 -5
  291. data/lib/ory-client/models/update_settings_flow_with_web_authn_method.rb +21 -5
  292. data/lib/ory-client/models/update_subscription_body.rb +21 -5
  293. data/lib/ory-client/models/update_verification_flow_body.rb +2 -2
  294. data/lib/ory-client/models/update_verification_flow_with_code_method.rb +11 -5
  295. data/lib/ory-client/models/update_verification_flow_with_link_method.rb +21 -5
  296. data/lib/ory-client/models/update_workspace_body.rb +21 -5
  297. data/lib/ory-client/models/usage.rb +11 -5
  298. data/lib/ory-client/models/verifiable_credential_priming_response.rb +11 -5
  299. data/lib/ory-client/models/verifiable_credential_proof.rb +11 -5
  300. data/lib/ory-client/models/verifiable_credential_response.rb +11 -5
  301. data/lib/ory-client/models/verifiable_identity_address.rb +41 -5
  302. data/lib/ory-client/models/verification_flow.rb +41 -5
  303. data/lib/ory-client/models/verification_flow_state.rb +2 -2
  304. data/lib/ory-client/models/version.rb +11 -5
  305. data/lib/ory-client/models/warning.rb +11 -5
  306. data/lib/ory-client/models/workspace.rb +51 -5
  307. data/lib/ory-client/models/workspace_api_key.rb +41 -5
  308. data/lib/ory-client/version.rb +3 -3
  309. data/lib/ory-client.rb +3 -2
  310. data/ory-client.gemspec +2 -2
  311. data/spec/api/courier_api_spec.rb +2 -2
  312. data/spec/api/events_api_spec.rb +2 -2
  313. data/spec/api/frontend_api_spec.rb +2 -2
  314. data/spec/api/identity_api_spec.rb +2 -2
  315. data/spec/api/jwk_api_spec.rb +2 -2
  316. data/spec/api/metadata_api_spec.rb +2 -2
  317. data/spec/api/o_auth2_api_spec.rb +2 -2
  318. data/spec/api/oidc_api_spec.rb +2 -2
  319. data/spec/api/permission_api_spec.rb +2 -2
  320. data/spec/api/project_api_spec.rb +2 -2
  321. data/spec/api/relationship_api_spec.rb +2 -2
  322. data/spec/api/wellknown_api_spec.rb +2 -2
  323. data/spec/api/workspace_api_spec.rb +2 -2
  324. data/spec/models/accept_o_auth2_consent_request_session_spec.rb +2 -2
  325. data/spec/models/accept_o_auth2_consent_request_spec.rb +2 -2
  326. data/spec/models/accept_o_auth2_login_request_spec.rb +2 -2
  327. data/spec/models/account_experience_colors_spec.rb +170 -2
  328. data/spec/models/account_experience_configuration_spec.rb +2 -2
  329. data/spec/models/account_experience_theme_variables_spec.rb +2 -2
  330. data/spec/models/active_project_in_console_spec.rb +2 -2
  331. data/spec/models/add_project_to_workspace_body_spec.rb +2 -2
  332. data/spec/models/attribute_filter_spec.rb +2 -2
  333. data/spec/models/attribute_spec.rb +2 -2
  334. data/spec/models/attributes_count_datapoint_spec.rb +2 -2
  335. data/spec/models/authenticator_assurance_level_spec.rb +2 -2
  336. data/spec/models/batch_check_permission_body_spec.rb +2 -2
  337. data/spec/models/batch_check_permission_result_spec.rb +2 -2
  338. data/spec/models/batch_patch_identities_response_spec.rb +2 -2
  339. data/spec/models/billing_period_bucket_spec.rb +2 -2
  340. data/spec/models/check_opl_syntax_result_spec.rb +2 -2
  341. data/spec/models/check_permission_result_spec.rb +2 -2
  342. data/spec/models/check_permission_result_with_error_spec.rb +2 -2
  343. data/spec/models/cloud_account_spec.rb +2 -2
  344. data/spec/models/consistency_request_parameters_spec.rb +2 -2
  345. data/spec/models/continue_with_recovery_ui_flow_spec.rb +2 -2
  346. data/spec/models/continue_with_recovery_ui_spec.rb +2 -2
  347. data/spec/models/continue_with_redirect_browser_to_spec.rb +2 -2
  348. data/spec/models/continue_with_set_ory_session_token_spec.rb +2 -2
  349. data/spec/models/continue_with_settings_ui_flow_spec.rb +2 -2
  350. data/spec/models/continue_with_settings_ui_spec.rb +2 -2
  351. data/spec/models/continue_with_spec.rb +2 -2
  352. data/spec/models/continue_with_verification_ui_flow_spec.rb +2 -2
  353. data/spec/models/continue_with_verification_ui_spec.rb +2 -2
  354. data/spec/models/courier_message_status_spec.rb +2 -2
  355. data/spec/models/courier_message_type_spec.rb +2 -2
  356. data/spec/models/create_custom_domain_body_spec.rb +2 -2
  357. data/spec/models/create_event_stream_body_spec.rb +2 -2
  358. data/spec/models/create_fedcm_flow_response_spec.rb +2 -2
  359. data/spec/models/create_identity_body_spec.rb +2 -2
  360. data/spec/models/create_invite_response_spec.rb +2 -2
  361. data/spec/models/create_json_web_key_set_spec.rb +2 -2
  362. data/spec/models/create_project_api_key_request_spec.rb +2 -2
  363. data/spec/models/create_project_body_spec.rb +2 -2
  364. data/spec/models/create_project_branding_spec.rb +2 -2
  365. data/spec/models/create_project_member_invite_body_spec.rb +2 -2
  366. data/spec/models/create_project_normalized_payload_spec.rb +8 -2
  367. data/spec/models/create_recovery_code_for_identity_body_spec.rb +2 -2
  368. data/spec/models/create_recovery_link_for_identity_body_spec.rb +2 -2
  369. data/spec/models/create_relationship_body_spec.rb +2 -2
  370. data/spec/models/create_subscription_body_spec.rb +2 -2
  371. data/spec/models/create_subscription_common_spec.rb +2 -2
  372. data/spec/models/create_verifiable_credential_request_body_spec.rb +2 -2
  373. data/spec/models/create_workspace_api_key_body_spec.rb +2 -2
  374. data/spec/models/create_workspace_body_spec.rb +2 -2
  375. data/spec/models/create_workspace_member_invite_body_spec.rb +2 -2
  376. data/spec/models/create_workspace_subscription_body_spec.rb +2 -2
  377. data/spec/models/credential_supported_draft00_spec.rb +2 -2
  378. data/spec/models/custom_domain_spec.rb +2 -2
  379. data/spec/models/delete_my_sessions_count_spec.rb +2 -2
  380. data/spec/models/email_template_data_body_spec.rb +2 -2
  381. data/spec/models/email_template_data_spec.rb +2 -2
  382. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +2 -2
  383. data/spec/models/error_browser_location_change_required_spec.rb +2 -2
  384. data/spec/models/error_flow_replaced_spec.rb +2 -2
  385. data/spec/models/error_generic_spec.rb +2 -2
  386. data/spec/models/error_o_auth2_spec.rb +2 -2
  387. data/spec/models/event_stream_spec.rb +2 -2
  388. data/spec/models/expanded_permission_tree_spec.rb +2 -2
  389. data/spec/models/flow_error_spec.rb +2 -2
  390. data/spec/models/generic_error_content_spec.rb +12 -2
  391. data/spec/models/generic_error_spec.rb +2 -2
  392. data/spec/models/generic_usage_spec.rb +2 -2
  393. data/spec/models/get_attributes_count_response_spec.rb +2 -2
  394. data/spec/models/get_managed_identity_schema_location_spec.rb +2 -2
  395. data/spec/models/get_metrics_event_attributes_response_spec.rb +2 -2
  396. data/spec/models/get_metrics_event_types_response_spec.rb +2 -2
  397. data/spec/models/get_organization_response_spec.rb +2 -2
  398. data/spec/models/get_project_events_body_spec.rb +2 -2
  399. data/spec/models/get_project_events_response_spec.rb +2 -2
  400. data/spec/models/get_project_metrics_response_spec.rb +2 -2
  401. data/spec/models/get_session_activity_response_spec.rb +2 -2
  402. data/spec/models/get_version200_response_spec.rb +2 -2
  403. data/spec/models/health_not_ready_status_spec.rb +2 -2
  404. data/spec/models/health_status_spec.rb +2 -2
  405. data/spec/models/identity_credentials_code_address_spec.rb +2 -2
  406. data/spec/models/identity_credentials_code_spec.rb +2 -2
  407. data/spec/models/identity_credentials_oidc_provider_spec.rb +2 -2
  408. data/spec/models/identity_credentials_oidc_spec.rb +2 -2
  409. data/spec/models/identity_credentials_password_spec.rb +2 -2
  410. data/spec/models/identity_credentials_spec.rb +2 -2
  411. data/spec/models/identity_patch_response_spec.rb +2 -2
  412. data/spec/models/identity_patch_spec.rb +2 -2
  413. data/spec/models/identity_schema_container_spec.rb +2 -2
  414. data/spec/models/identity_schema_preset_spec.rb +2 -2
  415. data/spec/models/identity_spec.rb +2 -2
  416. data/spec/models/identity_with_credentials_oidc_config_provider_spec.rb +2 -2
  417. data/spec/models/identity_with_credentials_oidc_config_spec.rb +2 -2
  418. data/spec/models/identity_with_credentials_oidc_spec.rb +2 -2
  419. data/spec/models/identity_with_credentials_password_config_spec.rb +2 -2
  420. data/spec/models/identity_with_credentials_password_spec.rb +2 -2
  421. data/spec/models/identity_with_credentials_spec.rb +2 -2
  422. data/spec/models/internal_get_project_branding_body_spec.rb +2 -2
  423. data/spec/models/internal_is_ax_welcome_screen_enabled_for_project_body_spec.rb +2 -2
  424. data/spec/models/internal_is_owner_for_project_by_slug_body_spec.rb +2 -2
  425. data/spec/models/internal_is_owner_for_project_by_slug_response_spec.rb +2 -2
  426. data/spec/models/introspected_o_auth2_token_spec.rb +2 -2
  427. data/spec/models/invite_token_body_spec.rb +2 -2
  428. data/spec/models/invoice_data_v1_spec.rb +2 -2
  429. data/spec/models/invoice_spec.rb +2 -2
  430. data/spec/models/is_owner_for_project_by_slug_spec.rb +2 -2
  431. data/spec/models/json_patch_spec.rb +2 -2
  432. data/spec/models/json_web_key_set_spec.rb +2 -2
  433. data/spec/models/json_web_key_spec.rb +2 -2
  434. data/spec/models/keto_namespace_spec.rb +2 -2
  435. data/spec/models/line_item_v1_spec.rb +2 -2
  436. data/spec/models/list_event_streams_spec.rb +2 -2
  437. data/spec/models/list_invoices_response_spec.rb +2 -2
  438. data/spec/models/list_organizations_response_spec.rb +2 -2
  439. data/spec/models/list_workspace_projects_spec.rb +2 -2
  440. data/spec/models/list_workspaces_spec.rb +2 -2
  441. data/spec/models/login_flow_spec.rb +2 -2
  442. data/spec/models/login_flow_state_spec.rb +2 -2
  443. data/spec/models/logout_flow_spec.rb +2 -2
  444. data/spec/models/managed_identity_schema_spec.rb +2 -2
  445. data/spec/models/managed_identity_schema_validation_result_spec.rb +2 -2
  446. data/spec/models/member_invite_spec.rb +2 -2
  447. data/spec/models/message_dispatch_spec.rb +2 -2
  448. data/spec/models/message_spec.rb +2 -2
  449. data/spec/models/metrics_datapoint_spec.rb +2 -2
  450. data/spec/models/money_spec.rb +2 -2
  451. data/spec/models/namespace_spec.rb +2 -2
  452. data/spec/models/needs_privileged_session_error_spec.rb +2 -2
  453. data/spec/models/normalized_project_revision_courier_channel_spec.rb +2 -2
  454. data/spec/models/normalized_project_revision_hook_spec.rb +2 -2
  455. data/spec/models/normalized_project_revision_identity_schema_spec.rb +2 -2
  456. data/spec/models/normalized_project_revision_saml_provider_spec.rb +2 -14
  457. data/spec/models/normalized_project_revision_spec.rb +8 -2
  458. data/spec/models/normalized_project_revision_third_party_provider_spec.rb +2 -2
  459. data/spec/models/normalized_project_revision_tokenizer_template_spec.rb +2 -2
  460. data/spec/models/normalized_project_spec.rb +2 -2
  461. data/spec/models/o_auth2_client_spec.rb +2 -2
  462. data/spec/models/o_auth2_client_token_lifespans_spec.rb +2 -2
  463. data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +2 -2
  464. data/spec/models/o_auth2_consent_request_spec.rb +2 -2
  465. data/spec/models/o_auth2_consent_session_expires_at_spec.rb +2 -2
  466. data/spec/models/o_auth2_consent_session_spec.rb +2 -2
  467. data/spec/models/o_auth2_login_request_spec.rb +2 -2
  468. data/spec/models/o_auth2_logout_request_spec.rb +2 -2
  469. data/spec/models/o_auth2_redirect_to_spec.rb +2 -2
  470. data/spec/models/o_auth2_token_exchange_spec.rb +2 -2
  471. data/spec/models/oidc_configuration_spec.rb +2 -2
  472. data/spec/models/oidc_user_info_spec.rb +2 -2
  473. data/spec/models/organization_body_spec.rb +2 -2
  474. data/spec/models/organization_spec.rb +2 -2
  475. data/spec/models/pagination_headers_spec.rb +2 -2
  476. data/spec/models/pagination_spec.rb +2 -2
  477. data/spec/models/parse_error_spec.rb +2 -2
  478. data/spec/models/patch_identities_body_spec.rb +2 -2
  479. data/spec/models/perform_native_logout_body_spec.rb +2 -2
  480. data/spec/models/permissions_on_workspace_spec.rb +2 -2
  481. data/spec/models/plan_details_spec.rb +2 -2
  482. data/spec/models/plan_spec.rb +2 -2
  483. data/spec/models/post_check_permission_body_spec.rb +2 -2
  484. data/spec/models/post_check_permission_or_error_body_spec.rb +2 -2
  485. data/spec/models/project_api_key_spec.rb +2 -2
  486. data/spec/models/project_branding_colors_spec.rb +2 -2
  487. data/spec/models/project_branding_spec.rb +2 -2
  488. data/spec/models/project_branding_theme_spec.rb +2 -2
  489. data/spec/models/project_cors_spec.rb +2 -2
  490. data/spec/models/project_events_datapoint_spec.rb +2 -2
  491. data/spec/models/project_host_spec.rb +2 -2
  492. data/spec/models/project_member_spec.rb +2 -2
  493. data/spec/models/project_metadata_spec.rb +2 -2
  494. data/spec/models/project_service_identity_spec.rb +2 -2
  495. data/spec/models/project_service_o_auth2_spec.rb +2 -2
  496. data/spec/models/project_service_permission_spec.rb +2 -2
  497. data/spec/models/project_services_spec.rb +2 -2
  498. data/spec/models/project_spec.rb +2 -2
  499. data/spec/models/provider_spec.rb +2 -2
  500. data/spec/models/quota_usage_spec.rb +2 -2
  501. data/spec/models/recovery_code_for_identity_spec.rb +2 -2
  502. data/spec/models/recovery_flow_spec.rb +2 -2
  503. data/spec/models/recovery_flow_state_spec.rb +2 -2
  504. data/spec/models/recovery_identity_address_spec.rb +2 -2
  505. data/spec/models/recovery_link_for_identity_spec.rb +2 -2
  506. data/spec/models/registration_flow_spec.rb +2 -2
  507. data/spec/models/registration_flow_state_spec.rb +2 -2
  508. data/spec/models/reject_o_auth2_request_spec.rb +2 -2
  509. data/spec/models/relation_query_spec.rb +2 -2
  510. data/spec/models/relationship_namespaces_spec.rb +2 -2
  511. data/spec/models/relationship_patch_spec.rb +2 -2
  512. data/spec/models/relationship_spec.rb +2 -2
  513. data/spec/models/relationships_spec.rb +2 -2
  514. data/spec/models/rfc6749_error_json_spec.rb +2 -2
  515. data/spec/models/schema_patch_spec.rb +2 -2
  516. data/spec/models/self_service_flow_expired_error_spec.rb +2 -2
  517. data/spec/models/session_activity_datapoint_spec.rb +2 -2
  518. data/spec/models/session_authentication_method_spec.rb +2 -2
  519. data/spec/models/session_device_spec.rb +2 -2
  520. data/spec/models/session_spec.rb +2 -2
  521. data/spec/models/set_active_project_in_console_body_spec.rb +2 -2
  522. data/spec/models/set_custom_domain_body_spec.rb +2 -2
  523. data/spec/models/set_event_stream_body_spec.rb +2 -2
  524. data/spec/models/set_project_branding_theme_body_spec.rb +2 -2
  525. data/spec/models/set_project_spec.rb +2 -2
  526. data/spec/models/settings_flow_spec.rb +2 -2
  527. data/spec/models/settings_flow_state_spec.rb +2 -2
  528. data/spec/models/source_position_spec.rb +2 -2
  529. data/spec/models/subject_set_spec.rb +2 -2
  530. data/spec/models/subscription_spec.rb +2 -2
  531. data/spec/models/successful_code_exchange_response_spec.rb +2 -2
  532. data/spec/models/successful_native_login_spec.rb +2 -2
  533. data/spec/models/successful_native_registration_spec.rb +2 -2
  534. data/spec/models/successful_project_update_spec.rb +2 -2
  535. data/spec/models/tax_line_item_spec.rb +2 -2
  536. data/spec/models/time_interval_spec.rb +2 -2
  537. data/spec/models/token_pagination_headers_spec.rb +2 -2
  538. data/spec/models/token_pagination_request_parameters_spec.rb +2 -2
  539. data/spec/models/token_pagination_response_headers_spec.rb +2 -2
  540. data/spec/models/token_pagination_spec.rb +2 -2
  541. data/spec/models/trust_o_auth2_jwt_grant_issuer_spec.rb +2 -2
  542. data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +2 -2
  543. data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +2 -2
  544. data/spec/models/ui_container_spec.rb +2 -2
  545. data/spec/models/ui_node_anchor_attributes_spec.rb +3 -3
  546. data/spec/models/ui_node_attributes_spec.rb +2 -2
  547. data/spec/models/ui_node_division_attributes_spec.rb +58 -0
  548. data/spec/models/ui_node_image_attributes_spec.rb +3 -3
  549. data/spec/models/ui_node_input_attributes_spec.rb +3 -3
  550. data/spec/models/ui_node_meta_spec.rb +2 -2
  551. data/spec/models/ui_node_script_attributes_spec.rb +3 -3
  552. data/spec/models/ui_node_spec.rb +4 -4
  553. data/spec/models/ui_node_text_attributes_spec.rb +3 -3
  554. data/spec/models/ui_text_spec.rb +2 -2
  555. data/spec/models/update_fedcm_flow_body_spec.rb +2 -2
  556. data/spec/models/update_identity_body_spec.rb +2 -2
  557. data/spec/models/update_login_flow_body_spec.rb +2 -2
  558. data/spec/models/update_login_flow_with_code_method_spec.rb +2 -2
  559. data/spec/models/update_login_flow_with_identifier_first_method_spec.rb +2 -2
  560. data/spec/models/update_login_flow_with_lookup_secret_method_spec.rb +2 -2
  561. data/spec/models/update_login_flow_with_oidc_method_spec.rb +2 -2
  562. data/spec/models/update_login_flow_with_passkey_method_spec.rb +2 -2
  563. data/spec/models/update_login_flow_with_password_method_spec.rb +2 -2
  564. data/spec/models/update_login_flow_with_totp_method_spec.rb +2 -2
  565. data/spec/models/update_login_flow_with_web_authn_method_spec.rb +2 -2
  566. data/spec/models/update_recovery_flow_body_spec.rb +2 -2
  567. data/spec/models/update_recovery_flow_with_code_method_spec.rb +2 -2
  568. data/spec/models/update_recovery_flow_with_link_method_spec.rb +2 -2
  569. data/spec/models/update_registration_flow_body_spec.rb +2 -2
  570. data/spec/models/update_registration_flow_with_code_method_spec.rb +2 -2
  571. data/spec/models/update_registration_flow_with_oidc_method_spec.rb +2 -2
  572. data/spec/models/update_registration_flow_with_passkey_method_spec.rb +2 -2
  573. data/spec/models/update_registration_flow_with_password_method_spec.rb +2 -2
  574. data/spec/models/update_registration_flow_with_profile_method_spec.rb +2 -2
  575. data/spec/models/update_registration_flow_with_web_authn_method_spec.rb +2 -2
  576. data/spec/models/update_settings_flow_body_spec.rb +2 -2
  577. data/spec/models/update_settings_flow_with_lookup_method_spec.rb +2 -2
  578. data/spec/models/update_settings_flow_with_oidc_method_spec.rb +2 -2
  579. data/spec/models/update_settings_flow_with_passkey_method_spec.rb +2 -2
  580. data/spec/models/update_settings_flow_with_password_method_spec.rb +2 -2
  581. data/spec/models/update_settings_flow_with_profile_method_spec.rb +2 -2
  582. data/spec/models/update_settings_flow_with_totp_method_spec.rb +2 -2
  583. data/spec/models/update_settings_flow_with_web_authn_method_spec.rb +2 -2
  584. data/spec/models/update_subscription_body_spec.rb +2 -2
  585. data/spec/models/update_verification_flow_body_spec.rb +2 -2
  586. data/spec/models/update_verification_flow_with_code_method_spec.rb +2 -2
  587. data/spec/models/update_verification_flow_with_link_method_spec.rb +2 -2
  588. data/spec/models/update_workspace_body_spec.rb +2 -2
  589. data/spec/models/usage_spec.rb +2 -2
  590. data/spec/models/verifiable_credential_priming_response_spec.rb +2 -2
  591. data/spec/models/verifiable_credential_proof_spec.rb +2 -2
  592. data/spec/models/verifiable_credential_response_spec.rb +2 -2
  593. data/spec/models/verifiable_identity_address_spec.rb +2 -2
  594. data/spec/models/verification_flow_spec.rb +2 -2
  595. data/spec/models/verification_flow_state_spec.rb +2 -2
  596. data/spec/models/version_spec.rb +2 -2
  597. data/spec/models/warning_spec.rb +2 -2
  598. data/spec/models/workspace_api_key_spec.rb +2 -2
  599. data/spec/models/workspace_spec.rb +2 -2
  600. data/spec/spec_helper.rb +2 -2
  601. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/byebug-11.1.3/gem_make.out +2 -2
  602. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/ffi-1.17.1/gem_make.out +2 -2
  603. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/jaro_winkler-1.5.6/gem_make.out +2 -2
  604. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/psych-4.0.6/gem_make.out +2 -2
  605. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/racc-1.8.1/gem_make.out +2 -2
  606. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/stringio-3.1.5/gem_make.out +2 -2
  607. data/vendor/bundle/ruby/3.1.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  608. data/vendor/bundle/ruby/3.1.0/gems/ffi-1.17.1/ext/ffi_c/Makefile +2 -2
  609. data/vendor/bundle/ruby/3.1.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/Makefile +2 -2
  610. data/vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/Makefile +2 -2
  611. data/vendor/bundle/ruby/3.1.0/gems/racc-1.8.1/ext/racc/cparse/Makefile +2 -2
  612. data/vendor/bundle/ruby/3.1.0/gems/stringio-3.1.5/ext/stringio/Makefile +2 -2
  613. metadata +7 -3
@@ -0,0 +1,312 @@
1
+ =begin
2
+ #Ory APIs
3
+
4
+ ## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
5
+
6
+ The version of the OpenAPI document: v1.18.4
7
+ Contact: support@ory.sh
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 OryClient
17
+ # Division sections are used for interactive widgets that require a hook in the DOM / view.
18
+ class UiNodeDivisionAttributes
19
+ # The script MIME type
20
+ attr_accessor :_class
21
+
22
+ # Data is a map of key-value pairs that are passed to the division. They may be used for `data-...` attributes.
23
+ attr_accessor :data
24
+
25
+ # A unique identifier
26
+ attr_accessor :id
27
+
28
+ # NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script div Division
29
+ attr_accessor :node_type
30
+
31
+ class EnumAttributeValidator
32
+ attr_reader :datatype
33
+ attr_reader :allowable_values
34
+
35
+ def initialize(datatype, allowable_values)
36
+ @allowable_values = allowable_values.map do |value|
37
+ case datatype.to_s
38
+ when /Integer/i
39
+ value.to_i
40
+ when /Float/i
41
+ value.to_f
42
+ else
43
+ value
44
+ end
45
+ end
46
+ end
47
+
48
+ def valid?(value)
49
+ !value || allowable_values.include?(value)
50
+ end
51
+ end
52
+
53
+ # Attribute mapping from ruby-style variable name to JSON key.
54
+ def self.attribute_map
55
+ {
56
+ :'_class' => :'class',
57
+ :'data' => :'data',
58
+ :'id' => :'id',
59
+ :'node_type' => :'node_type'
60
+ }
61
+ end
62
+
63
+ # Returns attribute mapping this model knows about
64
+ def self.acceptable_attribute_map
65
+ attribute_map
66
+ end
67
+
68
+ # Returns all the JSON keys this model knows about
69
+ def self.acceptable_attributes
70
+ acceptable_attribute_map.values
71
+ end
72
+
73
+ # Attribute type mapping.
74
+ def self.openapi_types
75
+ {
76
+ :'_class' => :'String',
77
+ :'data' => :'Hash<String, String>',
78
+ :'id' => :'String',
79
+ :'node_type' => :'String'
80
+ }
81
+ end
82
+
83
+ # List of attributes with nullable: true
84
+ def self.openapi_nullable
85
+ Set.new([
86
+ ])
87
+ end
88
+
89
+ # Initializes the object
90
+ # @param [Hash] attributes Model attributes in the form of hash
91
+ def initialize(attributes = {})
92
+ if (!attributes.is_a?(Hash))
93
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::UiNodeDivisionAttributes` initialize method"
94
+ end
95
+
96
+ # check to see if the attribute exists and convert string to symbol for hash key
97
+ acceptable_attribute_map = self.class.acceptable_attribute_map
98
+ attributes = attributes.each_with_object({}) { |(k, v), h|
99
+ if (!acceptable_attribute_map.key?(k.to_sym))
100
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::UiNodeDivisionAttributes`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
101
+ end
102
+ h[k.to_sym] = v
103
+ }
104
+
105
+ if attributes.key?(:'_class')
106
+ self._class = attributes[:'_class']
107
+ end
108
+
109
+ if attributes.key?(:'data')
110
+ if (value = attributes[:'data']).is_a?(Hash)
111
+ self.data = value
112
+ end
113
+ end
114
+
115
+ if attributes.key?(:'id')
116
+ self.id = attributes[:'id']
117
+ else
118
+ self.id = nil
119
+ end
120
+
121
+ if attributes.key?(:'node_type')
122
+ self.node_type = attributes[:'node_type']
123
+ else
124
+ self.node_type = nil
125
+ end
126
+ end
127
+
128
+ # Show invalid properties with the reasons. Usually used together with valid?
129
+ # @return Array for valid properties with the reasons
130
+ def list_invalid_properties
131
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
132
+ invalid_properties = Array.new
133
+ if @id.nil?
134
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
135
+ end
136
+
137
+ if @node_type.nil?
138
+ invalid_properties.push('invalid value for "node_type", node_type cannot be nil.')
139
+ end
140
+
141
+ invalid_properties
142
+ end
143
+
144
+ # Check to see if the all the properties in the model are valid
145
+ # @return true if the model is valid
146
+ def valid?
147
+ warn '[DEPRECATED] the `valid?` method is obsolete'
148
+ return false if @id.nil?
149
+ return false if @node_type.nil?
150
+ node_type_validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script", "div"])
151
+ return false unless node_type_validator.valid?(@node_type)
152
+ true
153
+ end
154
+
155
+ # Custom attribute writer method with validation
156
+ # @param [Object] id Value to be assigned
157
+ def id=(id)
158
+ if id.nil?
159
+ fail ArgumentError, 'id cannot be nil'
160
+ end
161
+
162
+ @id = id
163
+ end
164
+
165
+ # Custom attribute writer method checking allowed values (enum).
166
+ # @param [Object] node_type Object to be assigned
167
+ def node_type=(node_type)
168
+ validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script", "div"])
169
+ unless validator.valid?(node_type)
170
+ fail ArgumentError, "invalid value for \"node_type\", must be one of #{validator.allowable_values}."
171
+ end
172
+ @node_type = node_type
173
+ end
174
+
175
+ # Checks equality by comparing each attribute.
176
+ # @param [Object] Object to be compared
177
+ def ==(o)
178
+ return true if self.equal?(o)
179
+ self.class == o.class &&
180
+ _class == o._class &&
181
+ data == o.data &&
182
+ id == o.id &&
183
+ node_type == o.node_type
184
+ end
185
+
186
+ # @see the `==` method
187
+ # @param [Object] Object to be compared
188
+ def eql?(o)
189
+ self == o
190
+ end
191
+
192
+ # Calculates hash code according to all attributes.
193
+ # @return [Integer] Hash code
194
+ def hash
195
+ [_class, data, id, node_type].hash
196
+ end
197
+
198
+ # Builds the object from hash
199
+ # @param [Hash] attributes Model attributes in the form of hash
200
+ # @return [Object] Returns the model itself
201
+ def self.build_from_hash(attributes)
202
+ return nil unless attributes.is_a?(Hash)
203
+ attributes = attributes.transform_keys(&:to_sym)
204
+ transformed_hash = {}
205
+ openapi_types.each_pair do |key, type|
206
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
207
+ transformed_hash["#{key}"] = nil
208
+ elsif type =~ /\AArray<(.*)>/i
209
+ # check to ensure the input is an array given that the attribute
210
+ # is documented as an array but the input is not
211
+ if attributes[attribute_map[key]].is_a?(Array)
212
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
213
+ end
214
+ elsif !attributes[attribute_map[key]].nil?
215
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
216
+ end
217
+ end
218
+ new(transformed_hash)
219
+ end
220
+
221
+ # Deserializes the data based on type
222
+ # @param string type Data type
223
+ # @param string value Value to be deserialized
224
+ # @return [Object] Deserialized data
225
+ def self._deserialize(type, value)
226
+ case type.to_sym
227
+ when :Time
228
+ Time.parse(value)
229
+ when :Date
230
+ Date.parse(value)
231
+ when :String
232
+ value.to_s
233
+ when :Integer
234
+ value.to_i
235
+ when :Float
236
+ value.to_f
237
+ when :Boolean
238
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
239
+ true
240
+ else
241
+ false
242
+ end
243
+ when :Object
244
+ # generic object (usually a Hash), return directly
245
+ value
246
+ when /\AArray<(?<inner_type>.+)>\z/
247
+ inner_type = Regexp.last_match[:inner_type]
248
+ value.map { |v| _deserialize(inner_type, v) }
249
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
250
+ k_type = Regexp.last_match[:k_type]
251
+ v_type = Regexp.last_match[:v_type]
252
+ {}.tap do |hash|
253
+ value.each do |k, v|
254
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
255
+ end
256
+ end
257
+ else # model
258
+ # models (e.g. Pet) or oneOf
259
+ klass = OryClient.const_get(type)
260
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
261
+ end
262
+ end
263
+
264
+ # Returns the string representation of the object
265
+ # @return [String] String presentation of the object
266
+ def to_s
267
+ to_hash.to_s
268
+ end
269
+
270
+ # to_body is an alias to to_hash (backward compatibility)
271
+ # @return [Hash] Returns the object in the form of hash
272
+ def to_body
273
+ to_hash
274
+ end
275
+
276
+ # Returns the object in the form of hash
277
+ # @return [Hash] Returns the object in the form of hash
278
+ def to_hash
279
+ hash = {}
280
+ self.class.attribute_map.each_pair do |attr, param|
281
+ value = self.send(attr)
282
+ if value.nil?
283
+ is_nullable = self.class.openapi_nullable.include?(attr)
284
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
285
+ end
286
+
287
+ hash[param] = _to_hash(value)
288
+ end
289
+ hash
290
+ end
291
+
292
+ # Outputs non-array value in the form of hash
293
+ # For object, use to_hash. Otherwise, just return the value
294
+ # @param [Object] value Any valid value
295
+ # @return [Hash] Returns the value in the form of hash
296
+ def _to_hash(value)
297
+ if value.is_a?(Array)
298
+ value.compact.map { |v| _to_hash(v) }
299
+ elsif value.is_a?(Hash)
300
+ {}.tap do |hash|
301
+ value.each { |k, v| hash[k] = _to_hash(v) }
302
+ end
303
+ elsif value.respond_to? :to_hash
304
+ value.to_hash
305
+ else
306
+ value
307
+ end
308
+ end
309
+
310
+ end
311
+
312
+ end
@@ -3,10 +3,10 @@
3
3
 
4
4
  ## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
5
5
 
6
- The version of the OpenAPI document: v1.17.2
6
+ The version of the OpenAPI document: v1.18.4
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.7.0
9
+ Generator version: 7.12.0
10
10
 
11
11
  =end
12
12
 
@@ -21,7 +21,7 @@ module OryClient
21
21
  # A unique identifier
22
22
  attr_accessor :id
23
23
 
24
- # NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"img\". text Text input Input img Image a Anchor script Script
24
+ # NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"img\". text Text input Input img Image a Anchor script Script div Division
25
25
  attr_accessor :node_type
26
26
 
27
27
  # The image's source URL. format: uri
@@ -63,9 +63,14 @@ module OryClient
63
63
  }
64
64
  end
65
65
 
66
+ # Returns attribute mapping this model knows about
67
+ def self.acceptable_attribute_map
68
+ attribute_map
69
+ end
70
+
66
71
  # Returns all the JSON keys this model knows about
67
72
  def self.acceptable_attributes
68
- attribute_map.values
73
+ acceptable_attribute_map.values
69
74
  end
70
75
 
71
76
  # Attribute type mapping.
@@ -93,9 +98,10 @@ module OryClient
93
98
  end
94
99
 
95
100
  # check to see if the attribute exists and convert string to symbol for hash key
101
+ acceptable_attribute_map = self.class.acceptable_attribute_map
96
102
  attributes = attributes.each_with_object({}) { |(k, v), h|
97
- if (!self.class.attribute_map.key?(k.to_sym))
98
- fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::UiNodeImageAttributes`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
103
+ if (!acceptable_attribute_map.key?(k.to_sym))
104
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::UiNodeImageAttributes`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
99
105
  end
100
106
  h[k.to_sym] = v
101
107
  }
@@ -166,23 +172,63 @@ module OryClient
166
172
  return false if @height.nil?
167
173
  return false if @id.nil?
168
174
  return false if @node_type.nil?
169
- node_type_validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script"])
175
+ node_type_validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script", "div"])
170
176
  return false unless node_type_validator.valid?(@node_type)
171
177
  return false if @src.nil?
172
178
  return false if @width.nil?
173
179
  true
174
180
  end
175
181
 
182
+ # Custom attribute writer method with validation
183
+ # @param [Object] height Value to be assigned
184
+ def height=(height)
185
+ if height.nil?
186
+ fail ArgumentError, 'height cannot be nil'
187
+ end
188
+
189
+ @height = height
190
+ end
191
+
192
+ # Custom attribute writer method with validation
193
+ # @param [Object] id Value to be assigned
194
+ def id=(id)
195
+ if id.nil?
196
+ fail ArgumentError, 'id cannot be nil'
197
+ end
198
+
199
+ @id = id
200
+ end
201
+
176
202
  # Custom attribute writer method checking allowed values (enum).
177
203
  # @param [Object] node_type Object to be assigned
178
204
  def node_type=(node_type)
179
- validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script"])
205
+ validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script", "div"])
180
206
  unless validator.valid?(node_type)
181
207
  fail ArgumentError, "invalid value for \"node_type\", must be one of #{validator.allowable_values}."
182
208
  end
183
209
  @node_type = node_type
184
210
  end
185
211
 
212
+ # Custom attribute writer method with validation
213
+ # @param [Object] src Value to be assigned
214
+ def src=(src)
215
+ if src.nil?
216
+ fail ArgumentError, 'src cannot be nil'
217
+ end
218
+
219
+ @src = src
220
+ end
221
+
222
+ # Custom attribute writer method with validation
223
+ # @param [Object] width Value to be assigned
224
+ def width=(width)
225
+ if width.nil?
226
+ fail ArgumentError, 'width cannot be nil'
227
+ end
228
+
229
+ @width = width
230
+ end
231
+
186
232
  # Checks equality by comparing each attribute.
187
233
  # @param [Object] Object to be compared
188
234
  def ==(o)
@@ -3,10 +3,10 @@
3
3
 
4
4
  ## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
5
5
 
6
- The version of the OpenAPI document: v1.17.2
6
+ The version of the OpenAPI document: v1.18.4
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.7.0
9
+ Generator version: 7.12.0
10
10
 
11
11
  =end
12
12
 
@@ -30,7 +30,7 @@ module OryClient
30
30
  # The input's element name.
31
31
  attr_accessor :name
32
32
 
33
- # NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\". text Text input Input img Image a Anchor script Script
33
+ # NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\". text Text input Input img Image a Anchor script Script div Division
34
34
  attr_accessor :node_type
35
35
 
36
36
  # OnClick may contain javascript which should be executed on click. This is primarily used for WebAuthn. Deprecated: Using OnClick requires the use of eval() which is a security risk. Use OnClickTrigger instead.
@@ -99,9 +99,14 @@ module OryClient
99
99
  }
100
100
  end
101
101
 
102
+ # Returns attribute mapping this model knows about
103
+ def self.acceptable_attribute_map
104
+ attribute_map
105
+ end
106
+
102
107
  # Returns all the JSON keys this model knows about
103
108
  def self.acceptable_attributes
104
- attribute_map.values
109
+ acceptable_attribute_map.values
105
110
  end
106
111
 
107
112
  # Attribute type mapping.
@@ -139,9 +144,10 @@ module OryClient
139
144
  end
140
145
 
141
146
  # check to see if the attribute exists and convert string to symbol for hash key
147
+ acceptable_attribute_map = self.class.acceptable_attribute_map
142
148
  attributes = attributes.each_with_object({}) { |(k, v), h|
143
- if (!self.class.attribute_map.key?(k.to_sym))
144
- fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::UiNodeInputAttributes`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
149
+ if (!acceptable_attribute_map.key?(k.to_sym))
150
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::UiNodeInputAttributes`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
145
151
  end
146
152
  h[k.to_sym] = v
147
153
  }
@@ -244,7 +250,7 @@ module OryClient
244
250
  return false if @disabled.nil?
245
251
  return false if @name.nil?
246
252
  return false if @node_type.nil?
247
- node_type_validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script"])
253
+ node_type_validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script", "div"])
248
254
  return false unless node_type_validator.valid?(@node_type)
249
255
  onclick_trigger_validator = EnumAttributeValidator.new('String', ["oryWebAuthnRegistration", "oryWebAuthnLogin", "oryPasskeyLogin", "oryPasskeyLoginAutocompleteInit", "oryPasskeyRegistration", "oryPasskeySettingsRegistration"])
250
256
  return false unless onclick_trigger_validator.valid?(@onclick_trigger)
@@ -266,10 +272,30 @@ module OryClient
266
272
  @autocomplete = autocomplete
267
273
  end
268
274
 
275
+ # Custom attribute writer method with validation
276
+ # @param [Object] disabled Value to be assigned
277
+ def disabled=(disabled)
278
+ if disabled.nil?
279
+ fail ArgumentError, 'disabled cannot be nil'
280
+ end
281
+
282
+ @disabled = disabled
283
+ end
284
+
285
+ # Custom attribute writer method with validation
286
+ # @param [Object] name Value to be assigned
287
+ def name=(name)
288
+ if name.nil?
289
+ fail ArgumentError, 'name cannot be nil'
290
+ end
291
+
292
+ @name = name
293
+ end
294
+
269
295
  # Custom attribute writer method checking allowed values (enum).
270
296
  # @param [Object] node_type Object to be assigned
271
297
  def node_type=(node_type)
272
- validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script"])
298
+ validator = EnumAttributeValidator.new('String', ["text", "input", "img", "a", "script", "div"])
273
299
  unless validator.valid?(node_type)
274
300
  fail ArgumentError, "invalid value for \"node_type\", must be one of #{validator.allowable_values}."
275
301
  end
@@ -3,10 +3,10 @@
3
3
 
4
4
  ## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
5
5
 
6
- The version of the OpenAPI document: v1.17.2
6
+ The version of the OpenAPI document: v1.18.4
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.7.0
9
+ Generator version: 7.12.0
10
10
 
11
11
  =end
12
12
 
@@ -25,9 +25,14 @@ module OryClient
25
25
  }
26
26
  end
27
27
 
28
+ # Returns attribute mapping this model knows about
29
+ def self.acceptable_attribute_map
30
+ attribute_map
31
+ end
32
+
28
33
  # Returns all the JSON keys this model knows about
29
34
  def self.acceptable_attributes
30
- attribute_map.values
35
+ acceptable_attribute_map.values
31
36
  end
32
37
 
33
38
  # Attribute type mapping.
@@ -51,9 +56,10 @@ module OryClient
51
56
  end
52
57
 
53
58
  # check to see if the attribute exists and convert string to symbol for hash key
59
+ acceptable_attribute_map = self.class.acceptable_attribute_map
54
60
  attributes = attributes.each_with_object({}) { |(k, v), h|
55
- if (!self.class.attribute_map.key?(k.to_sym))
56
- fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::UiNodeMeta`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
61
+ if (!acceptable_attribute_map.key?(k.to_sym))
62
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::UiNodeMeta`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
57
63
  end
58
64
  h[k.to_sym] = v
59
65
  }