ory-client 1.22.22 → 1.22.24

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 (742) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +10 -8
  4. data/docs/CloudAccount.md +3 -1
  5. data/docs/CreateOnboardingLinkResponse.md +18 -0
  6. data/docs/CreateWorkspaceOrganizationBody.md +18 -0
  7. data/docs/GenericOIDCProvider.md +22 -0
  8. data/docs/IdentityApi.md +1 -1
  9. data/docs/InternalIsOwnerForProjectBySlugBody.md +2 -0
  10. data/docs/NormalizedProjectRevisionSAMLProvider.md +3 -1
  11. data/docs/NormalizedProjectRevisionThirdPartyProvider.md +1 -1
  12. data/docs/ProjectMember.md +2 -0
  13. data/docs/QuotaUsage.md +1 -1
  14. data/docs/UpdateWorkspaceBody.md +2 -0
  15. data/docs/Workspace.md +4 -0
  16. data/docs/WorkspaceOrganization.md +28 -0
  17. data/lib/ory-client/api/courier_api.rb +2 -2
  18. data/lib/ory-client/api/events_api.rb +2 -2
  19. data/lib/ory-client/api/frontend_api.rb +2 -2
  20. data/lib/ory-client/api/identity_api.rb +4 -4
  21. data/lib/ory-client/api/jwk_api.rb +2 -2
  22. data/lib/ory-client/api/metadata_api.rb +2 -2
  23. data/lib/ory-client/api/o_auth2_api.rb +2 -2
  24. data/lib/ory-client/api/oidc_api.rb +2 -2
  25. data/lib/ory-client/api/permission_api.rb +2 -2
  26. data/lib/ory-client/api/project_api.rb +2 -2
  27. data/lib/ory-client/api/relationship_api.rb +2 -2
  28. data/lib/ory-client/api/wellknown_api.rb +2 -2
  29. data/lib/ory-client/api/workspace_api.rb +2 -2
  30. data/lib/ory-client/api_client.rb +2 -2
  31. data/lib/ory-client/api_error.rb +2 -2
  32. data/lib/ory-client/api_model_base.rb +88 -0
  33. data/lib/ory-client/configuration.rb +2 -2
  34. data/lib/ory-client/models/accept_device_user_code_request.rb +3 -76
  35. data/lib/ory-client/models/accept_o_auth2_consent_request.rb +3 -76
  36. data/lib/ory-client/models/accept_o_auth2_consent_request_session.rb +3 -76
  37. data/lib/ory-client/models/accept_o_auth2_login_request.rb +3 -76
  38. data/lib/ory-client/models/account_experience_colors.rb +3 -76
  39. data/lib/ory-client/models/account_experience_configuration.rb +3 -76
  40. data/lib/ory-client/models/add_project_to_workspace_body.rb +3 -76
  41. data/lib/ory-client/models/attribute.rb +3 -76
  42. data/lib/ory-client/models/attribute_filter.rb +3 -76
  43. data/lib/ory-client/models/attributes_count_datapoint.rb +3 -76
  44. data/lib/ory-client/models/authenticator_assurance_level.rb +2 -2
  45. data/lib/ory-client/models/basic_organization.rb +3 -76
  46. data/lib/ory-client/models/batch_check_permission_body.rb +3 -76
  47. data/lib/ory-client/models/batch_check_permission_result.rb +3 -76
  48. data/lib/ory-client/models/batch_patch_identities_response.rb +3 -76
  49. data/lib/ory-client/models/billing_period_bucket.rb +3 -76
  50. data/lib/ory-client/models/check_opl_syntax_result.rb +3 -76
  51. data/lib/ory-client/models/check_permission_result.rb +3 -76
  52. data/lib/ory-client/models/check_permission_result_with_error.rb +3 -76
  53. data/lib/ory-client/models/cloud_account.rb +17 -80
  54. data/lib/ory-client/models/consistency_request_parameters.rb +3 -76
  55. data/lib/ory-client/models/continue_with.rb +2 -2
  56. data/lib/ory-client/models/continue_with_recovery_ui.rb +3 -76
  57. data/lib/ory-client/models/continue_with_recovery_ui_flow.rb +3 -76
  58. data/lib/ory-client/models/continue_with_redirect_browser_to.rb +3 -76
  59. data/lib/ory-client/models/continue_with_set_ory_session_token.rb +3 -76
  60. data/lib/ory-client/models/continue_with_settings_ui.rb +3 -76
  61. data/lib/ory-client/models/continue_with_settings_ui_flow.rb +3 -76
  62. data/lib/ory-client/models/continue_with_verification_ui.rb +3 -76
  63. data/lib/ory-client/models/continue_with_verification_ui_flow.rb +3 -76
  64. data/lib/ory-client/models/courier_message_status.rb +2 -2
  65. data/lib/ory-client/models/courier_message_type.rb +2 -2
  66. data/lib/ory-client/models/create_custom_domain_body.rb +3 -76
  67. data/lib/ory-client/models/create_event_stream_body.rb +3 -76
  68. data/lib/ory-client/models/create_fedcm_flow_response.rb +3 -76
  69. data/lib/ory-client/models/create_identity_body.rb +3 -76
  70. data/lib/ory-client/models/create_invite_response.rb +3 -76
  71. data/lib/ory-client/models/create_json_web_key_set.rb +3 -76
  72. data/lib/ory-client/models/{set_active_project_in_console_body.rb → create_onboarding_link_response.rb} +22 -96
  73. data/lib/ory-client/models/create_organization_onboarding_portal_link_body.rb +3 -76
  74. data/lib/ory-client/models/create_project_api_key_request.rb +3 -76
  75. data/lib/ory-client/models/create_project_body.rb +3 -76
  76. data/lib/ory-client/models/create_project_branding.rb +3 -76
  77. data/lib/ory-client/models/create_project_member_invite_body.rb +3 -76
  78. data/lib/ory-client/models/create_project_normalized_payload.rb +3 -76
  79. data/lib/ory-client/models/create_recovery_code_for_identity_body.rb +3 -76
  80. data/lib/ory-client/models/create_recovery_link_for_identity_body.rb +3 -76
  81. data/lib/ory-client/models/create_relationship_body.rb +3 -76
  82. data/lib/ory-client/models/create_subscription_body.rb +3 -76
  83. data/lib/ory-client/models/create_subscription_common.rb +3 -76
  84. data/lib/ory-client/models/create_verifiable_credential_request_body.rb +3 -76
  85. data/lib/ory-client/models/create_workspace_api_key_body.rb +3 -76
  86. data/lib/ory-client/models/create_workspace_body.rb +3 -76
  87. data/lib/ory-client/models/create_workspace_member_invite_body.rb +3 -76
  88. data/lib/ory-client/models/create_workspace_organization_body.rb +147 -0
  89. data/lib/ory-client/models/create_workspace_subscription_body.rb +3 -76
  90. data/lib/ory-client/models/credential_supported_draft00.rb +3 -76
  91. data/lib/ory-client/models/custom_domain.rb +3 -76
  92. data/lib/ory-client/models/delete_my_sessions_count.rb +3 -76
  93. data/lib/ory-client/models/device_authorization.rb +3 -76
  94. data/lib/ory-client/models/device_user_auth_request.rb +3 -76
  95. data/lib/ory-client/models/email_template_data.rb +3 -76
  96. data/lib/ory-client/models/email_template_data_body.rb +3 -76
  97. data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +3 -76
  98. data/lib/ory-client/models/error_browser_location_change_required.rb +3 -76
  99. data/lib/ory-client/models/error_flow_replaced.rb +3 -76
  100. data/lib/ory-client/models/error_generic.rb +3 -76
  101. data/lib/ory-client/models/error_o_auth2.rb +3 -76
  102. data/lib/ory-client/models/event_stream.rb +3 -76
  103. data/lib/ory-client/models/expanded_permission_tree.rb +3 -76
  104. data/lib/ory-client/models/flow_error.rb +3 -76
  105. data/lib/ory-client/models/generic_error.rb +3 -76
  106. data/lib/ory-client/models/generic_error_content.rb +3 -76
  107. data/lib/ory-client/models/{active_project_in_console.rb → generic_oidc_provider.rb} +84 -87
  108. data/lib/ory-client/models/generic_usage.rb +3 -76
  109. data/lib/ory-client/models/get_attributes_count.rb +3 -76
  110. data/lib/ory-client/models/get_managed_identity_schema_location.rb +3 -76
  111. data/lib/ory-client/models/get_metrics_count.rb +3 -76
  112. data/lib/ory-client/models/get_metrics_event_attributes.rb +3 -76
  113. data/lib/ory-client/models/get_metrics_event_types.rb +3 -76
  114. data/lib/ory-client/models/get_organization_response.rb +3 -76
  115. data/lib/ory-client/models/get_project_events.rb +3 -76
  116. data/lib/ory-client/models/get_project_events_body.rb +3 -76
  117. data/lib/ory-client/models/get_project_metrics.rb +3 -76
  118. data/lib/ory-client/models/get_session_activity.rb +3 -76
  119. data/lib/ory-client/models/get_version200_response.rb +3 -76
  120. data/lib/ory-client/models/health_not_ready_status.rb +3 -76
  121. data/lib/ory-client/models/health_status.rb +3 -76
  122. data/lib/ory-client/models/identity.rb +3 -76
  123. data/lib/ory-client/models/identity_credentials.rb +3 -76
  124. data/lib/ory-client/models/identity_credentials_code.rb +3 -76
  125. data/lib/ory-client/models/identity_credentials_code_address.rb +3 -76
  126. data/lib/ory-client/models/identity_credentials_oidc.rb +3 -76
  127. data/lib/ory-client/models/identity_credentials_oidc_provider.rb +3 -76
  128. data/lib/ory-client/models/identity_credentials_password.rb +3 -76
  129. data/lib/ory-client/models/identity_patch.rb +3 -76
  130. data/lib/ory-client/models/identity_patch_response.rb +3 -76
  131. data/lib/ory-client/models/identity_schema_container.rb +3 -76
  132. data/lib/ory-client/models/identity_schema_preset.rb +3 -76
  133. data/lib/ory-client/models/identity_with_credentials.rb +3 -76
  134. data/lib/ory-client/models/identity_with_credentials_oidc.rb +3 -76
  135. data/lib/ory-client/models/identity_with_credentials_oidc_config.rb +3 -76
  136. data/lib/ory-client/models/identity_with_credentials_oidc_config_provider.rb +3 -76
  137. data/lib/ory-client/models/identity_with_credentials_password.rb +3 -76
  138. data/lib/ory-client/models/identity_with_credentials_password_config.rb +3 -76
  139. data/lib/ory-client/models/identity_with_credentials_saml.rb +3 -76
  140. data/lib/ory-client/models/identity_with_credentials_saml_config.rb +3 -76
  141. data/lib/ory-client/models/identity_with_credentials_saml_config_provider.rb +3 -76
  142. data/lib/ory-client/models/internal_get_project_branding_body.rb +3 -76
  143. data/lib/ory-client/models/internal_is_ax_welcome_screen_enabled_for_project_body.rb +3 -76
  144. data/lib/ory-client/models/internal_is_owner_for_project_by_slug.rb +3 -76
  145. data/lib/ory-client/models/internal_is_owner_for_project_by_slug_body.rb +14 -77
  146. data/lib/ory-client/models/introspected_o_auth2_token.rb +3 -76
  147. data/lib/ory-client/models/invite_token_body.rb +3 -76
  148. data/lib/ory-client/models/invoice.rb +3 -76
  149. data/lib/ory-client/models/invoice_data_v1.rb +3 -76
  150. data/lib/ory-client/models/is_owner_for_project_by_slug.rb +3 -76
  151. data/lib/ory-client/models/json_patch.rb +3 -76
  152. data/lib/ory-client/models/json_web_key.rb +3 -76
  153. data/lib/ory-client/models/json_web_key_set.rb +3 -76
  154. data/lib/ory-client/models/keto_namespace.rb +3 -76
  155. data/lib/ory-client/models/keyset_pagination_request_parameters.rb +3 -76
  156. data/lib/ory-client/models/keyset_pagination_response_headers.rb +3 -76
  157. data/lib/ory-client/models/line_item_v1.rb +3 -76
  158. data/lib/ory-client/models/list_event_streams.rb +3 -76
  159. data/lib/ory-client/models/list_invoices_response.rb +3 -76
  160. data/lib/ory-client/models/list_organizations_response.rb +3 -76
  161. data/lib/ory-client/models/list_workspace_projects.rb +3 -76
  162. data/lib/ory-client/models/list_workspaces.rb +3 -76
  163. data/lib/ory-client/models/login_flow.rb +3 -76
  164. data/lib/ory-client/models/login_flow_state.rb +2 -2
  165. data/lib/ory-client/models/logout_flow.rb +3 -76
  166. data/lib/ory-client/models/managed_identity_schema.rb +3 -76
  167. data/lib/ory-client/models/managed_identity_schema_validation_result.rb +3 -76
  168. data/lib/ory-client/models/member_invite.rb +3 -76
  169. data/lib/ory-client/models/message.rb +3 -76
  170. data/lib/ory-client/models/message_dispatch.rb +3 -76
  171. data/lib/ory-client/models/metrics_datapoint.rb +3 -76
  172. data/lib/ory-client/models/money.rb +3 -76
  173. data/lib/ory-client/models/namespace.rb +3 -76
  174. data/lib/ory-client/models/needs_privileged_session_error.rb +3 -76
  175. data/lib/ory-client/models/normalized_project.rb +3 -76
  176. data/lib/ory-client/models/normalized_project_revision.rb +3 -76
  177. data/lib/ory-client/models/normalized_project_revision_courier_channel.rb +3 -76
  178. data/lib/ory-client/models/normalized_project_revision_hook.rb +3 -76
  179. data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +3 -76
  180. data/lib/ory-client/models/normalized_project_revision_saml_provider.rb +18 -80
  181. data/lib/ory-client/models/normalized_project_revision_scim_client.rb +3 -76
  182. data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +4 -77
  183. data/lib/ory-client/models/normalized_project_revision_tokenizer_template.rb +3 -76
  184. data/lib/ory-client/models/o_auth2_client.rb +3 -76
  185. data/lib/ory-client/models/o_auth2_client_token_lifespans.rb +3 -76
  186. data/lib/ory-client/models/o_auth2_consent_request.rb +3 -76
  187. data/lib/ory-client/models/o_auth2_consent_request_open_id_connect_context.rb +3 -76
  188. data/lib/ory-client/models/o_auth2_consent_session.rb +3 -76
  189. data/lib/ory-client/models/o_auth2_login_request.rb +3 -76
  190. data/lib/ory-client/models/o_auth2_logout_request.rb +3 -76
  191. data/lib/ory-client/models/o_auth2_redirect_to.rb +3 -76
  192. data/lib/ory-client/models/o_auth2_token_exchange.rb +3 -76
  193. data/lib/ory-client/models/oidc_configuration.rb +3 -76
  194. data/lib/ory-client/models/oidc_user_info.rb +3 -76
  195. data/lib/ory-client/models/onboarding_portal_link.rb +3 -76
  196. data/lib/ory-client/models/onboarding_portal_organization.rb +3 -76
  197. data/lib/ory-client/models/organization.rb +3 -76
  198. data/lib/ory-client/models/organization_body.rb +3 -76
  199. data/lib/ory-client/models/organization_onboarding_portal_links_response.rb +3 -76
  200. data/lib/ory-client/models/parse_error.rb +3 -76
  201. data/lib/ory-client/models/patch_identities_body.rb +3 -76
  202. data/lib/ory-client/models/perform_native_logout_body.rb +3 -76
  203. data/lib/ory-client/models/permissions_on_workspace.rb +3 -76
  204. data/lib/ory-client/models/plan.rb +3 -76
  205. data/lib/ory-client/models/plan_details.rb +3 -76
  206. data/lib/ory-client/models/post_check_permission_body.rb +3 -76
  207. data/lib/ory-client/models/post_check_permission_or_error_body.rb +3 -76
  208. data/lib/ory-client/models/project.rb +3 -76
  209. data/lib/ory-client/models/project_api_key.rb +3 -76
  210. data/lib/ory-client/models/project_branding.rb +3 -76
  211. data/lib/ory-client/models/project_branding_colors.rb +3 -76
  212. data/lib/ory-client/models/project_branding_theme.rb +3 -76
  213. data/lib/ory-client/models/project_cors.rb +3 -76
  214. data/lib/ory-client/models/project_events_datapoint.rb +3 -76
  215. data/lib/ory-client/models/project_host.rb +3 -76
  216. data/lib/ory-client/models/project_member.rb +14 -77
  217. data/lib/ory-client/models/project_metadata.rb +3 -76
  218. data/lib/ory-client/models/project_service_account_experience.rb +3 -76
  219. data/lib/ory-client/models/project_service_identity.rb +3 -76
  220. data/lib/ory-client/models/project_service_o_auth2.rb +3 -76
  221. data/lib/ory-client/models/project_service_permission.rb +3 -76
  222. data/lib/ory-client/models/project_services.rb +3 -76
  223. data/lib/ory-client/models/provider.rb +3 -76
  224. data/lib/ory-client/models/quota_usage.rb +6 -79
  225. data/lib/ory-client/models/recovery_code_for_identity.rb +3 -76
  226. data/lib/ory-client/models/recovery_flow.rb +3 -76
  227. data/lib/ory-client/models/recovery_flow_state.rb +2 -2
  228. data/lib/ory-client/models/recovery_identity_address.rb +3 -76
  229. data/lib/ory-client/models/recovery_link_for_identity.rb +3 -76
  230. data/lib/ory-client/models/registration_flow.rb +3 -76
  231. data/lib/ory-client/models/registration_flow_state.rb +2 -2
  232. data/lib/ory-client/models/reject_o_auth2_request.rb +3 -76
  233. data/lib/ory-client/models/relation_query.rb +3 -76
  234. data/lib/ory-client/models/relationship.rb +3 -76
  235. data/lib/ory-client/models/relationship_namespaces.rb +3 -76
  236. data/lib/ory-client/models/relationship_patch.rb +3 -76
  237. data/lib/ory-client/models/relationships.rb +3 -76
  238. data/lib/ory-client/models/revision_account_experience_custom_translation.rb +3 -76
  239. data/lib/ory-client/models/rfc6749_error_json.rb +3 -76
  240. data/lib/ory-client/models/schema_patch.rb +3 -76
  241. data/lib/ory-client/models/self_service_flow_expired_error.rb +3 -76
  242. data/lib/ory-client/models/session.rb +3 -76
  243. data/lib/ory-client/models/session_activity_datapoint.rb +3 -76
  244. data/lib/ory-client/models/session_authentication_method.rb +3 -76
  245. data/lib/ory-client/models/session_device.rb +3 -76
  246. data/lib/ory-client/models/set_custom_domain_body.rb +3 -76
  247. data/lib/ory-client/models/set_event_stream_body.rb +3 -76
  248. data/lib/ory-client/models/set_organization_from_onboarding_portal_link_body.rb +3 -76
  249. data/lib/ory-client/models/set_project.rb +3 -76
  250. data/lib/ory-client/models/set_project_branding_theme_body.rb +3 -76
  251. data/lib/ory-client/models/settings_flow.rb +3 -76
  252. data/lib/ory-client/models/settings_flow_state.rb +2 -2
  253. data/lib/ory-client/models/source_position.rb +3 -76
  254. data/lib/ory-client/models/subject_set.rb +3 -76
  255. data/lib/ory-client/models/subscription.rb +3 -76
  256. data/lib/ory-client/models/successful_code_exchange_response.rb +3 -76
  257. data/lib/ory-client/models/successful_native_login.rb +3 -76
  258. data/lib/ory-client/models/successful_native_registration.rb +3 -76
  259. data/lib/ory-client/models/successful_project_update.rb +3 -76
  260. data/lib/ory-client/models/tax_line_item.rb +3 -76
  261. data/lib/ory-client/models/time_interval.rb +3 -76
  262. data/lib/ory-client/models/token_pagination.rb +3 -76
  263. data/lib/ory-client/models/token_pagination_headers.rb +3 -76
  264. data/lib/ory-client/models/token_pagination_request_parameters.rb +3 -76
  265. data/lib/ory-client/models/token_pagination_response_headers.rb +3 -76
  266. data/lib/ory-client/models/trust_o_auth2_jwt_grant_issuer.rb +3 -76
  267. data/lib/ory-client/models/trusted_o_auth2_jwt_grant_issuer.rb +3 -76
  268. data/lib/ory-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +3 -76
  269. data/lib/ory-client/models/ui_container.rb +3 -76
  270. data/lib/ory-client/models/ui_node.rb +3 -76
  271. data/lib/ory-client/models/ui_node_anchor_attributes.rb +3 -76
  272. data/lib/ory-client/models/ui_node_attributes.rb +2 -2
  273. data/lib/ory-client/models/ui_node_division_attributes.rb +3 -76
  274. data/lib/ory-client/models/ui_node_image_attributes.rb +3 -76
  275. data/lib/ory-client/models/ui_node_input_attributes.rb +3 -76
  276. data/lib/ory-client/models/ui_node_meta.rb +3 -76
  277. data/lib/ory-client/models/ui_node_script_attributes.rb +3 -76
  278. data/lib/ory-client/models/ui_node_text_attributes.rb +3 -76
  279. data/lib/ory-client/models/ui_text.rb +3 -76
  280. data/lib/ory-client/models/update_fedcm_flow_body.rb +3 -76
  281. data/lib/ory-client/models/update_identity_body.rb +3 -76
  282. data/lib/ory-client/models/update_login_flow_body.rb +2 -2
  283. data/lib/ory-client/models/update_login_flow_with_code_method.rb +3 -76
  284. data/lib/ory-client/models/update_login_flow_with_identifier_first_method.rb +3 -76
  285. data/lib/ory-client/models/update_login_flow_with_lookup_secret_method.rb +3 -76
  286. data/lib/ory-client/models/update_login_flow_with_oidc_method.rb +3 -76
  287. data/lib/ory-client/models/update_login_flow_with_passkey_method.rb +3 -76
  288. data/lib/ory-client/models/update_login_flow_with_password_method.rb +3 -76
  289. data/lib/ory-client/models/update_login_flow_with_saml_method.rb +3 -76
  290. data/lib/ory-client/models/update_login_flow_with_totp_method.rb +3 -76
  291. data/lib/ory-client/models/update_login_flow_with_web_authn_method.rb +3 -76
  292. data/lib/ory-client/models/update_organization_onboarding_portal_link_body.rb +3 -76
  293. data/lib/ory-client/models/update_recovery_flow_body.rb +2 -2
  294. data/lib/ory-client/models/update_recovery_flow_with_code_method.rb +3 -76
  295. data/lib/ory-client/models/update_recovery_flow_with_link_method.rb +3 -76
  296. data/lib/ory-client/models/update_registration_flow_body.rb +2 -2
  297. data/lib/ory-client/models/update_registration_flow_with_code_method.rb +3 -76
  298. data/lib/ory-client/models/update_registration_flow_with_oidc_method.rb +3 -76
  299. data/lib/ory-client/models/update_registration_flow_with_passkey_method.rb +3 -76
  300. data/lib/ory-client/models/update_registration_flow_with_password_method.rb +3 -76
  301. data/lib/ory-client/models/update_registration_flow_with_profile_method.rb +3 -76
  302. data/lib/ory-client/models/update_registration_flow_with_saml_method.rb +3 -76
  303. data/lib/ory-client/models/update_registration_flow_with_web_authn_method.rb +3 -76
  304. data/lib/ory-client/models/update_settings_flow_body.rb +2 -2
  305. data/lib/ory-client/models/update_settings_flow_with_lookup_method.rb +3 -76
  306. data/lib/ory-client/models/update_settings_flow_with_oidc_method.rb +3 -76
  307. data/lib/ory-client/models/update_settings_flow_with_passkey_method.rb +3 -76
  308. data/lib/ory-client/models/update_settings_flow_with_password_method.rb +3 -76
  309. data/lib/ory-client/models/update_settings_flow_with_profile_method.rb +3 -76
  310. data/lib/ory-client/models/update_settings_flow_with_saml_method.rb +3 -76
  311. data/lib/ory-client/models/update_settings_flow_with_totp_method.rb +3 -76
  312. data/lib/ory-client/models/update_settings_flow_with_web_authn_method.rb +3 -76
  313. data/lib/ory-client/models/update_subscription_body.rb +3 -76
  314. data/lib/ory-client/models/update_verification_flow_body.rb +2 -2
  315. data/lib/ory-client/models/update_verification_flow_with_code_method.rb +3 -76
  316. data/lib/ory-client/models/update_verification_flow_with_link_method.rb +3 -76
  317. data/lib/ory-client/models/update_workspace_body.rb +48 -77
  318. data/lib/ory-client/models/usage.rb +3 -76
  319. data/lib/ory-client/models/verifiable_credential_priming_response.rb +3 -76
  320. data/lib/ory-client/models/verifiable_credential_proof.rb +3 -76
  321. data/lib/ory-client/models/verifiable_credential_response.rb +3 -76
  322. data/lib/ory-client/models/verifiable_identity_address.rb +3 -76
  323. data/lib/ory-client/models/verification_flow.rb +3 -76
  324. data/lib/ory-client/models/verification_flow_state.rb +2 -2
  325. data/lib/ory-client/models/verify_user_code_request.rb +3 -76
  326. data/lib/ory-client/models/version.rb +3 -76
  327. data/lib/ory-client/models/warning.rb +3 -76
  328. data/lib/ory-client/models/workspace.rb +58 -77
  329. data/lib/ory-client/models/workspace_api_key.rb +3 -76
  330. data/lib/ory-client/models/workspace_organization.rb +283 -0
  331. data/lib/ory-client/version.rb +3 -3
  332. data/lib/ory-client.rb +7 -4
  333. data/ory-client.gemspec +2 -2
  334. data/spec/api/courier_api_spec.rb +2 -2
  335. data/spec/api/events_api_spec.rb +2 -2
  336. data/spec/api/frontend_api_spec.rb +2 -2
  337. data/spec/api/identity_api_spec.rb +3 -3
  338. data/spec/api/jwk_api_spec.rb +2 -2
  339. data/spec/api/metadata_api_spec.rb +2 -2
  340. data/spec/api/o_auth2_api_spec.rb +2 -2
  341. data/spec/api/oidc_api_spec.rb +2 -2
  342. data/spec/api/permission_api_spec.rb +2 -2
  343. data/spec/api/project_api_spec.rb +2 -2
  344. data/spec/api/relationship_api_spec.rb +2 -2
  345. data/spec/api/wellknown_api_spec.rb +2 -2
  346. data/spec/api/workspace_api_spec.rb +2 -2
  347. data/spec/models/accept_device_user_code_request_spec.rb +3 -3
  348. data/spec/models/accept_o_auth2_consent_request_session_spec.rb +3 -3
  349. data/spec/models/accept_o_auth2_consent_request_spec.rb +3 -3
  350. data/spec/models/accept_o_auth2_login_request_spec.rb +3 -3
  351. data/spec/models/account_experience_colors_spec.rb +3 -3
  352. data/spec/models/account_experience_configuration_spec.rb +3 -3
  353. data/spec/models/add_project_to_workspace_body_spec.rb +3 -3
  354. data/spec/models/attribute_filter_spec.rb +3 -3
  355. data/spec/models/attribute_spec.rb +3 -3
  356. data/spec/models/attributes_count_datapoint_spec.rb +3 -3
  357. data/spec/models/authenticator_assurance_level_spec.rb +3 -3
  358. data/spec/models/basic_organization_spec.rb +3 -3
  359. data/spec/models/batch_check_permission_body_spec.rb +3 -3
  360. data/spec/models/batch_check_permission_result_spec.rb +3 -3
  361. data/spec/models/batch_patch_identities_response_spec.rb +3 -3
  362. data/spec/models/billing_period_bucket_spec.rb +3 -3
  363. data/spec/models/check_opl_syntax_result_spec.rb +3 -3
  364. data/spec/models/check_permission_result_spec.rb +3 -3
  365. data/spec/models/check_permission_result_with_error_spec.rb +3 -3
  366. data/spec/models/cloud_account_spec.rb +9 -3
  367. data/spec/models/consistency_request_parameters_spec.rb +3 -3
  368. data/spec/models/continue_with_recovery_ui_flow_spec.rb +3 -3
  369. data/spec/models/continue_with_recovery_ui_spec.rb +3 -3
  370. data/spec/models/continue_with_redirect_browser_to_spec.rb +3 -3
  371. data/spec/models/continue_with_set_ory_session_token_spec.rb +3 -3
  372. data/spec/models/continue_with_settings_ui_flow_spec.rb +3 -3
  373. data/spec/models/continue_with_settings_ui_spec.rb +3 -3
  374. data/spec/models/continue_with_spec.rb +2 -2
  375. data/spec/models/continue_with_verification_ui_flow_spec.rb +3 -3
  376. data/spec/models/continue_with_verification_ui_spec.rb +3 -3
  377. data/spec/models/courier_message_status_spec.rb +3 -3
  378. data/spec/models/courier_message_type_spec.rb +3 -3
  379. data/spec/models/create_custom_domain_body_spec.rb +3 -3
  380. data/spec/models/create_event_stream_body_spec.rb +3 -3
  381. data/spec/models/create_fedcm_flow_response_spec.rb +3 -3
  382. data/spec/models/create_identity_body_spec.rb +3 -3
  383. data/spec/models/create_invite_response_spec.rb +3 -3
  384. data/spec/models/create_json_web_key_set_spec.rb +3 -3
  385. data/spec/models/{set_active_project_in_console_body_spec.rb → create_onboarding_link_response_spec.rb} +9 -9
  386. data/spec/models/create_organization_onboarding_portal_link_body_spec.rb +3 -3
  387. data/spec/models/create_project_api_key_request_spec.rb +3 -3
  388. data/spec/models/create_project_body_spec.rb +3 -3
  389. data/spec/models/create_project_branding_spec.rb +3 -3
  390. data/spec/models/create_project_member_invite_body_spec.rb +3 -3
  391. data/spec/models/create_project_normalized_payload_spec.rb +3 -3
  392. data/spec/models/create_recovery_code_for_identity_body_spec.rb +3 -3
  393. data/spec/models/create_recovery_link_for_identity_body_spec.rb +3 -3
  394. data/spec/models/create_relationship_body_spec.rb +3 -3
  395. data/spec/models/create_subscription_body_spec.rb +3 -3
  396. data/spec/models/create_subscription_common_spec.rb +3 -3
  397. data/spec/models/create_verifiable_credential_request_body_spec.rb +3 -3
  398. data/spec/models/create_workspace_api_key_body_spec.rb +3 -3
  399. data/spec/models/create_workspace_body_spec.rb +3 -3
  400. data/spec/models/create_workspace_member_invite_body_spec.rb +3 -3
  401. data/spec/models/{active_project_in_console_spec.rb → create_workspace_organization_body_spec.rb} +9 -9
  402. data/spec/models/create_workspace_subscription_body_spec.rb +3 -3
  403. data/spec/models/credential_supported_draft00_spec.rb +3 -3
  404. data/spec/models/custom_domain_spec.rb +3 -3
  405. data/spec/models/delete_my_sessions_count_spec.rb +3 -3
  406. data/spec/models/device_authorization_spec.rb +3 -3
  407. data/spec/models/device_user_auth_request_spec.rb +3 -3
  408. data/spec/models/email_template_data_body_spec.rb +3 -3
  409. data/spec/models/email_template_data_spec.rb +3 -3
  410. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +3 -3
  411. data/spec/models/error_browser_location_change_required_spec.rb +3 -3
  412. data/spec/models/error_flow_replaced_spec.rb +3 -3
  413. data/spec/models/error_generic_spec.rb +3 -3
  414. data/spec/models/error_o_auth2_spec.rb +3 -3
  415. data/spec/models/event_stream_spec.rb +3 -3
  416. data/spec/models/expanded_permission_tree_spec.rb +3 -3
  417. data/spec/models/flow_error_spec.rb +3 -3
  418. data/spec/models/generic_error_content_spec.rb +3 -3
  419. data/spec/models/generic_error_spec.rb +3 -3
  420. data/spec/models/generic_oidc_provider_spec.rb +48 -0
  421. data/spec/models/generic_usage_spec.rb +3 -3
  422. data/spec/models/get_attributes_count_spec.rb +3 -3
  423. data/spec/models/get_managed_identity_schema_location_spec.rb +3 -3
  424. data/spec/models/get_metrics_count_spec.rb +3 -3
  425. data/spec/models/get_metrics_event_attributes_spec.rb +3 -3
  426. data/spec/models/get_metrics_event_types_spec.rb +3 -3
  427. data/spec/models/get_organization_response_spec.rb +3 -3
  428. data/spec/models/get_project_events_body_spec.rb +3 -3
  429. data/spec/models/get_project_events_spec.rb +3 -3
  430. data/spec/models/get_project_metrics_spec.rb +3 -3
  431. data/spec/models/get_session_activity_spec.rb +3 -3
  432. data/spec/models/get_version200_response_spec.rb +3 -3
  433. data/spec/models/health_not_ready_status_spec.rb +3 -3
  434. data/spec/models/health_status_spec.rb +3 -3
  435. data/spec/models/identity_credentials_code_address_spec.rb +3 -3
  436. data/spec/models/identity_credentials_code_spec.rb +3 -3
  437. data/spec/models/identity_credentials_oidc_provider_spec.rb +3 -3
  438. data/spec/models/identity_credentials_oidc_spec.rb +3 -3
  439. data/spec/models/identity_credentials_password_spec.rb +3 -3
  440. data/spec/models/identity_credentials_spec.rb +3 -3
  441. data/spec/models/identity_patch_response_spec.rb +3 -3
  442. data/spec/models/identity_patch_spec.rb +3 -3
  443. data/spec/models/identity_schema_container_spec.rb +3 -3
  444. data/spec/models/identity_schema_preset_spec.rb +3 -3
  445. data/spec/models/identity_spec.rb +3 -3
  446. data/spec/models/identity_with_credentials_oidc_config_provider_spec.rb +3 -3
  447. data/spec/models/identity_with_credentials_oidc_config_spec.rb +3 -3
  448. data/spec/models/identity_with_credentials_oidc_spec.rb +3 -3
  449. data/spec/models/identity_with_credentials_password_config_spec.rb +3 -3
  450. data/spec/models/identity_with_credentials_password_spec.rb +3 -3
  451. data/spec/models/identity_with_credentials_saml_config_provider_spec.rb +3 -3
  452. data/spec/models/identity_with_credentials_saml_config_spec.rb +3 -3
  453. data/spec/models/identity_with_credentials_saml_spec.rb +3 -3
  454. data/spec/models/identity_with_credentials_spec.rb +3 -3
  455. data/spec/models/internal_get_project_branding_body_spec.rb +3 -3
  456. data/spec/models/internal_is_ax_welcome_screen_enabled_for_project_body_spec.rb +3 -3
  457. data/spec/models/internal_is_owner_for_project_by_slug_body_spec.rb +9 -3
  458. data/spec/models/internal_is_owner_for_project_by_slug_spec.rb +3 -3
  459. data/spec/models/introspected_o_auth2_token_spec.rb +3 -3
  460. data/spec/models/invite_token_body_spec.rb +3 -3
  461. data/spec/models/invoice_data_v1_spec.rb +3 -3
  462. data/spec/models/invoice_spec.rb +3 -3
  463. data/spec/models/is_owner_for_project_by_slug_spec.rb +3 -3
  464. data/spec/models/json_patch_spec.rb +3 -3
  465. data/spec/models/json_web_key_set_spec.rb +3 -3
  466. data/spec/models/json_web_key_spec.rb +3 -3
  467. data/spec/models/keto_namespace_spec.rb +3 -3
  468. data/spec/models/keyset_pagination_request_parameters_spec.rb +3 -3
  469. data/spec/models/keyset_pagination_response_headers_spec.rb +3 -3
  470. data/spec/models/line_item_v1_spec.rb +3 -3
  471. data/spec/models/list_event_streams_spec.rb +3 -3
  472. data/spec/models/list_invoices_response_spec.rb +3 -3
  473. data/spec/models/list_organizations_response_spec.rb +3 -3
  474. data/spec/models/list_workspace_projects_spec.rb +3 -3
  475. data/spec/models/list_workspaces_spec.rb +3 -3
  476. data/spec/models/login_flow_spec.rb +3 -3
  477. data/spec/models/login_flow_state_spec.rb +3 -3
  478. data/spec/models/logout_flow_spec.rb +3 -3
  479. data/spec/models/managed_identity_schema_spec.rb +3 -3
  480. data/spec/models/managed_identity_schema_validation_result_spec.rb +3 -3
  481. data/spec/models/member_invite_spec.rb +3 -3
  482. data/spec/models/message_dispatch_spec.rb +3 -3
  483. data/spec/models/message_spec.rb +3 -3
  484. data/spec/models/metrics_datapoint_spec.rb +3 -3
  485. data/spec/models/money_spec.rb +3 -3
  486. data/spec/models/namespace_spec.rb +3 -3
  487. data/spec/models/needs_privileged_session_error_spec.rb +3 -3
  488. data/spec/models/normalized_project_revision_courier_channel_spec.rb +3 -3
  489. data/spec/models/normalized_project_revision_hook_spec.rb +3 -3
  490. data/spec/models/normalized_project_revision_identity_schema_spec.rb +3 -3
  491. data/spec/models/normalized_project_revision_saml_provider_spec.rb +9 -3
  492. data/spec/models/normalized_project_revision_scim_client_spec.rb +3 -3
  493. data/spec/models/normalized_project_revision_spec.rb +3 -3
  494. data/spec/models/normalized_project_revision_third_party_provider_spec.rb +3 -3
  495. data/spec/models/normalized_project_revision_tokenizer_template_spec.rb +3 -3
  496. data/spec/models/normalized_project_spec.rb +3 -3
  497. data/spec/models/o_auth2_client_spec.rb +3 -3
  498. data/spec/models/o_auth2_client_token_lifespans_spec.rb +3 -3
  499. data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +3 -3
  500. data/spec/models/o_auth2_consent_request_spec.rb +3 -3
  501. data/spec/models/o_auth2_consent_session_spec.rb +3 -3
  502. data/spec/models/o_auth2_login_request_spec.rb +3 -3
  503. data/spec/models/o_auth2_logout_request_spec.rb +3 -3
  504. data/spec/models/o_auth2_redirect_to_spec.rb +3 -3
  505. data/spec/models/o_auth2_token_exchange_spec.rb +3 -3
  506. data/spec/models/oidc_configuration_spec.rb +3 -3
  507. data/spec/models/oidc_user_info_spec.rb +3 -3
  508. data/spec/models/onboarding_portal_link_spec.rb +3 -3
  509. data/spec/models/onboarding_portal_organization_spec.rb +3 -3
  510. data/spec/models/organization_body_spec.rb +3 -3
  511. data/spec/models/organization_onboarding_portal_links_response_spec.rb +3 -3
  512. data/spec/models/organization_spec.rb +3 -3
  513. data/spec/models/parse_error_spec.rb +3 -3
  514. data/spec/models/patch_identities_body_spec.rb +3 -3
  515. data/spec/models/perform_native_logout_body_spec.rb +3 -3
  516. data/spec/models/permissions_on_workspace_spec.rb +3 -3
  517. data/spec/models/plan_details_spec.rb +3 -3
  518. data/spec/models/plan_spec.rb +3 -3
  519. data/spec/models/post_check_permission_body_spec.rb +3 -3
  520. data/spec/models/post_check_permission_or_error_body_spec.rb +3 -3
  521. data/spec/models/project_api_key_spec.rb +3 -3
  522. data/spec/models/project_branding_colors_spec.rb +3 -3
  523. data/spec/models/project_branding_spec.rb +3 -3
  524. data/spec/models/project_branding_theme_spec.rb +3 -3
  525. data/spec/models/project_cors_spec.rb +3 -3
  526. data/spec/models/project_events_datapoint_spec.rb +3 -3
  527. data/spec/models/project_host_spec.rb +3 -3
  528. data/spec/models/project_member_spec.rb +9 -3
  529. data/spec/models/project_metadata_spec.rb +3 -3
  530. data/spec/models/project_service_account_experience_spec.rb +3 -3
  531. data/spec/models/project_service_identity_spec.rb +3 -3
  532. data/spec/models/project_service_o_auth2_spec.rb +3 -3
  533. data/spec/models/project_service_permission_spec.rb +3 -3
  534. data/spec/models/project_services_spec.rb +3 -3
  535. data/spec/models/project_spec.rb +3 -3
  536. data/spec/models/provider_spec.rb +3 -3
  537. data/spec/models/quota_usage_spec.rb +4 -4
  538. data/spec/models/recovery_code_for_identity_spec.rb +3 -3
  539. data/spec/models/recovery_flow_spec.rb +3 -3
  540. data/spec/models/recovery_flow_state_spec.rb +3 -3
  541. data/spec/models/recovery_identity_address_spec.rb +3 -3
  542. data/spec/models/recovery_link_for_identity_spec.rb +3 -3
  543. data/spec/models/registration_flow_spec.rb +3 -3
  544. data/spec/models/registration_flow_state_spec.rb +3 -3
  545. data/spec/models/reject_o_auth2_request_spec.rb +3 -3
  546. data/spec/models/relation_query_spec.rb +3 -3
  547. data/spec/models/relationship_namespaces_spec.rb +3 -3
  548. data/spec/models/relationship_patch_spec.rb +3 -3
  549. data/spec/models/relationship_spec.rb +3 -3
  550. data/spec/models/relationships_spec.rb +3 -3
  551. data/spec/models/revision_account_experience_custom_translation_spec.rb +3 -3
  552. data/spec/models/rfc6749_error_json_spec.rb +3 -3
  553. data/spec/models/schema_patch_spec.rb +3 -3
  554. data/spec/models/self_service_flow_expired_error_spec.rb +3 -3
  555. data/spec/models/session_activity_datapoint_spec.rb +3 -3
  556. data/spec/models/session_authentication_method_spec.rb +3 -3
  557. data/spec/models/session_device_spec.rb +3 -3
  558. data/spec/models/session_spec.rb +3 -3
  559. data/spec/models/set_custom_domain_body_spec.rb +3 -3
  560. data/spec/models/set_event_stream_body_spec.rb +3 -3
  561. data/spec/models/set_organization_from_onboarding_portal_link_body_spec.rb +3 -3
  562. data/spec/models/set_project_branding_theme_body_spec.rb +3 -3
  563. data/spec/models/set_project_spec.rb +3 -3
  564. data/spec/models/settings_flow_spec.rb +3 -3
  565. data/spec/models/settings_flow_state_spec.rb +3 -3
  566. data/spec/models/source_position_spec.rb +3 -3
  567. data/spec/models/subject_set_spec.rb +3 -3
  568. data/spec/models/subscription_spec.rb +3 -3
  569. data/spec/models/successful_code_exchange_response_spec.rb +3 -3
  570. data/spec/models/successful_native_login_spec.rb +3 -3
  571. data/spec/models/successful_native_registration_spec.rb +3 -3
  572. data/spec/models/successful_project_update_spec.rb +3 -3
  573. data/spec/models/tax_line_item_spec.rb +3 -3
  574. data/spec/models/time_interval_spec.rb +3 -3
  575. data/spec/models/token_pagination_headers_spec.rb +3 -3
  576. data/spec/models/token_pagination_request_parameters_spec.rb +3 -3
  577. data/spec/models/token_pagination_response_headers_spec.rb +3 -3
  578. data/spec/models/token_pagination_spec.rb +3 -3
  579. data/spec/models/trust_o_auth2_jwt_grant_issuer_spec.rb +3 -3
  580. data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +3 -3
  581. data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +3 -3
  582. data/spec/models/ui_container_spec.rb +3 -3
  583. data/spec/models/ui_node_anchor_attributes_spec.rb +3 -3
  584. data/spec/models/ui_node_attributes_spec.rb +2 -2
  585. data/spec/models/ui_node_division_attributes_spec.rb +3 -3
  586. data/spec/models/ui_node_image_attributes_spec.rb +3 -3
  587. data/spec/models/ui_node_input_attributes_spec.rb +3 -3
  588. data/spec/models/ui_node_meta_spec.rb +3 -3
  589. data/spec/models/ui_node_script_attributes_spec.rb +3 -3
  590. data/spec/models/ui_node_spec.rb +3 -3
  591. data/spec/models/ui_node_text_attributes_spec.rb +3 -3
  592. data/spec/models/ui_text_spec.rb +3 -3
  593. data/spec/models/update_fedcm_flow_body_spec.rb +3 -3
  594. data/spec/models/update_identity_body_spec.rb +3 -3
  595. data/spec/models/update_login_flow_body_spec.rb +2 -2
  596. data/spec/models/update_login_flow_with_code_method_spec.rb +3 -3
  597. data/spec/models/update_login_flow_with_identifier_first_method_spec.rb +3 -3
  598. data/spec/models/update_login_flow_with_lookup_secret_method_spec.rb +3 -3
  599. data/spec/models/update_login_flow_with_oidc_method_spec.rb +3 -3
  600. data/spec/models/update_login_flow_with_passkey_method_spec.rb +3 -3
  601. data/spec/models/update_login_flow_with_password_method_spec.rb +3 -3
  602. data/spec/models/update_login_flow_with_saml_method_spec.rb +3 -3
  603. data/spec/models/update_login_flow_with_totp_method_spec.rb +3 -3
  604. data/spec/models/update_login_flow_with_web_authn_method_spec.rb +3 -3
  605. data/spec/models/update_organization_onboarding_portal_link_body_spec.rb +3 -3
  606. data/spec/models/update_recovery_flow_body_spec.rb +2 -2
  607. data/spec/models/update_recovery_flow_with_code_method_spec.rb +3 -3
  608. data/spec/models/update_recovery_flow_with_link_method_spec.rb +3 -3
  609. data/spec/models/update_registration_flow_body_spec.rb +2 -2
  610. data/spec/models/update_registration_flow_with_code_method_spec.rb +3 -3
  611. data/spec/models/update_registration_flow_with_oidc_method_spec.rb +3 -3
  612. data/spec/models/update_registration_flow_with_passkey_method_spec.rb +3 -3
  613. data/spec/models/update_registration_flow_with_password_method_spec.rb +3 -3
  614. data/spec/models/update_registration_flow_with_profile_method_spec.rb +3 -3
  615. data/spec/models/update_registration_flow_with_saml_method_spec.rb +3 -3
  616. data/spec/models/update_registration_flow_with_web_authn_method_spec.rb +3 -3
  617. data/spec/models/update_settings_flow_body_spec.rb +2 -2
  618. data/spec/models/update_settings_flow_with_lookup_method_spec.rb +3 -3
  619. data/spec/models/update_settings_flow_with_oidc_method_spec.rb +3 -3
  620. data/spec/models/update_settings_flow_with_passkey_method_spec.rb +3 -3
  621. data/spec/models/update_settings_flow_with_password_method_spec.rb +3 -3
  622. data/spec/models/update_settings_flow_with_profile_method_spec.rb +3 -3
  623. data/spec/models/update_settings_flow_with_saml_method_spec.rb +3 -3
  624. data/spec/models/update_settings_flow_with_totp_method_spec.rb +3 -3
  625. data/spec/models/update_settings_flow_with_web_authn_method_spec.rb +3 -3
  626. data/spec/models/update_subscription_body_spec.rb +3 -3
  627. data/spec/models/update_verification_flow_body_spec.rb +2 -2
  628. data/spec/models/update_verification_flow_with_code_method_spec.rb +3 -3
  629. data/spec/models/update_verification_flow_with_link_method_spec.rb +3 -3
  630. data/spec/models/update_workspace_body_spec.rb +13 -3
  631. data/spec/models/usage_spec.rb +3 -3
  632. data/spec/models/verifiable_credential_priming_response_spec.rb +3 -3
  633. data/spec/models/verifiable_credential_proof_spec.rb +3 -3
  634. data/spec/models/verifiable_credential_response_spec.rb +3 -3
  635. data/spec/models/verifiable_identity_address_spec.rb +3 -3
  636. data/spec/models/verification_flow_spec.rb +3 -3
  637. data/spec/models/verification_flow_state_spec.rb +3 -3
  638. data/spec/models/verify_user_code_request_spec.rb +3 -3
  639. data/spec/models/version_spec.rb +3 -3
  640. data/spec/models/warning_spec.rb +3 -3
  641. data/spec/models/workspace_api_key_spec.rb +3 -3
  642. data/spec/models/workspace_organization_spec.rb +66 -0
  643. data/spec/models/workspace_spec.rb +19 -3
  644. data/spec/spec_helper.rb +2 -2
  645. data/vendor/bundle/ruby/3.1.0/cache/parser-3.3.10.2.gem +0 -0
  646. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/byebug-12.0.0/gem_make.out +2 -2
  647. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/ffi-1.17.3/gem_make.out +2 -2
  648. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/jaro_winkler-1.5.6/gem_make.out +2 -2
  649. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/psych-4.0.6/gem_make.out +2 -2
  650. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/racc-1.8.1/gem_make.out +2 -2
  651. data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/stringio-3.2.0/gem_make.out +2 -2
  652. data/vendor/bundle/ruby/3.1.0/gems/byebug-12.0.0/ext/byebug/Makefile +2 -2
  653. data/vendor/bundle/ruby/3.1.0/gems/ffi-1.17.3/ext/ffi_c/Makefile +2 -2
  654. data/vendor/bundle/ruby/3.1.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/Makefile +2 -2
  655. data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/meta.rb +1 -1
  656. data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/version.rb +1 -1
  657. data/vendor/bundle/ruby/3.1.0/gems/psych-4.0.6/ext/psych/Makefile +2 -2
  658. data/vendor/bundle/ruby/3.1.0/gems/racc-1.8.1/ext/racc/cparse/Makefile +2 -2
  659. data/vendor/bundle/ruby/3.1.0/gems/stringio-3.2.0/ext/stringio/Makefile +2 -2
  660. data/vendor/bundle/ruby/3.1.0/specifications/{parser-3.3.10.1.gemspec → parser-3.3.10.2.gemspec} +4 -4
  661. metadata +103 -94
  662. data/docs/ActiveProjectInConsole.md +0 -18
  663. data/docs/SetActiveProjectInConsoleBody.md +0 -18
  664. data/vendor/bundle/ruby/3.1.0/cache/parser-3.3.10.1.gem +0 -0
  665. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/LICENSE.txt +0 -0
  666. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/bin/ruby-parse +0 -0
  667. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/bin/ruby-rewrite +0 -0
  668. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/gauntlet_parser.rb +0 -0
  669. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/all.rb +0 -0
  670. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ast/node.rb +0 -0
  671. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ast/processor.rb +0 -0
  672. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/base.rb +0 -0
  673. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/builders/default.rb +0 -0
  674. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/clobbering_error.rb +0 -0
  675. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/color.rb +0 -0
  676. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/context.rb +0 -0
  677. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/current.rb +0 -0
  678. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/current_arg_stack.rb +0 -0
  679. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/deprecation.rb +0 -0
  680. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/diagnostic/engine.rb +0 -0
  681. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/diagnostic.rb +0 -0
  682. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/lexer/dedenter.rb +0 -0
  683. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/lexer/explanation.rb +0 -0
  684. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/lexer/literal.rb +0 -0
  685. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/lexer/stack_state.rb +0 -0
  686. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/lexer-F0.rb +0 -0
  687. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/lexer-F1.rb +0 -0
  688. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/lexer-strings.rb +0 -0
  689. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/macruby.rb +0 -0
  690. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/max_numparam_stack.rb +0 -0
  691. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/messages.rb +0 -0
  692. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/rewriter.rb +0 -0
  693. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby18.rb +0 -0
  694. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby19.rb +0 -0
  695. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby20.rb +0 -0
  696. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby21.rb +0 -0
  697. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby22.rb +0 -0
  698. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby23.rb +0 -0
  699. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby24.rb +0 -0
  700. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby25.rb +0 -0
  701. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby26.rb +0 -0
  702. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby27.rb +0 -0
  703. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby30.rb +0 -0
  704. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby31.rb +0 -0
  705. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby32.rb +0 -0
  706. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby33.rb +0 -0
  707. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/ruby34.rb +0 -0
  708. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/rubymotion.rb +0 -0
  709. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/runner/ruby_parse.rb +0 -0
  710. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/runner/ruby_rewrite.rb +0 -0
  711. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/runner.rb +0 -0
  712. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/buffer.rb +0 -0
  713. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/comment/associator.rb +0 -0
  714. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/comment.rb +0 -0
  715. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/collection.rb +0 -0
  716. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/condition.rb +0 -0
  717. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/constant.rb +0 -0
  718. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/definition.rb +0 -0
  719. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/for.rb +0 -0
  720. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/heredoc.rb +0 -0
  721. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/index.rb +0 -0
  722. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/keyword.rb +0 -0
  723. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/method_definition.rb +0 -0
  724. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/objc_kwarg.rb +0 -0
  725. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/operator.rb +0 -0
  726. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/rescue_body.rb +0 -0
  727. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/send.rb +0 -0
  728. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/ternary.rb +0 -0
  729. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map/variable.rb +0 -0
  730. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/map.rb +0 -0
  731. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/range.rb +0 -0
  732. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/rewriter/action.rb +0 -0
  733. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/rewriter.rb +0 -0
  734. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/tree_rewriter/action.rb +0 -0
  735. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/source/tree_rewriter.rb +0 -0
  736. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/static_environment.rb +0 -0
  737. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/syntax_error.rb +0 -0
  738. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/tree_rewriter.rb +0 -0
  739. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/unknown_encoding_in_magic_comment_error.rb +0 -0
  740. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser/variables_stack.rb +0 -0
  741. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/lib/parser.rb +0 -0
  742. /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.3.10.1 → parser-3.3.10.2}/parser.gemspec +0 -0
@@ -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.22.22
6
+ The version of the OpenAPI document: v1.22.24
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.12.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
@@ -15,7 +15,7 @@ require 'time'
15
15
 
16
16
  module OryClient
17
17
  # SCIMClient represents a SCIM client configuration to be used by an external identity provider.
18
- class NormalizedProjectRevisionScimClient
18
+ class NormalizedProjectRevisionScimClient < ApiModelBase
19
19
  # The secret that the client uses in the authorization header to authenticate itself.
20
20
  attr_accessor :authorization_header_secret
21
21
 
@@ -336,61 +336,6 @@ module OryClient
336
336
  new(transformed_hash)
337
337
  end
338
338
 
339
- # Deserializes the data based on type
340
- # @param string type Data type
341
- # @param string value Value to be deserialized
342
- # @return [Object] Deserialized data
343
- def self._deserialize(type, value)
344
- case type.to_sym
345
- when :Time
346
- Time.parse(value)
347
- when :Date
348
- Date.parse(value)
349
- when :String
350
- value.to_s
351
- when :Integer
352
- value.to_i
353
- when :Float
354
- value.to_f
355
- when :Boolean
356
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
357
- true
358
- else
359
- false
360
- end
361
- when :Object
362
- # generic object (usually a Hash), return directly
363
- value
364
- when /\AArray<(?<inner_type>.+)>\z/
365
- inner_type = Regexp.last_match[:inner_type]
366
- value.map { |v| _deserialize(inner_type, v) }
367
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
368
- k_type = Regexp.last_match[:k_type]
369
- v_type = Regexp.last_match[:v_type]
370
- {}.tap do |hash|
371
- value.each do |k, v|
372
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
373
- end
374
- end
375
- else # model
376
- # models (e.g. Pet) or oneOf
377
- klass = OryClient.const_get(type)
378
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
379
- end
380
- end
381
-
382
- # Returns the string representation of the object
383
- # @return [String] String presentation of the object
384
- def to_s
385
- to_hash.to_s
386
- end
387
-
388
- # to_body is an alias to to_hash (backward compatibility)
389
- # @return [Hash] Returns the object in the form of hash
390
- def to_body
391
- to_hash
392
- end
393
-
394
339
  # Returns the object in the form of hash
395
340
  # @return [Hash] Returns the object in the form of hash
396
341
  def to_hash
@@ -407,24 +352,6 @@ module OryClient
407
352
  hash
408
353
  end
409
354
 
410
- # Outputs non-array value in the form of hash
411
- # For object, use to_hash. Otherwise, just return the value
412
- # @param [Object] value Any valid value
413
- # @return [Hash] Returns the value in the form of hash
414
- def _to_hash(value)
415
- if value.is_a?(Array)
416
- value.compact.map { |v| _to_hash(v) }
417
- elsif value.is_a?(Hash)
418
- {}.tap do |hash|
419
- value.each { |k, v| hash[k] = _to_hash(v) }
420
- end
421
- elsif value.respond_to? :to_hash
422
- value.to_hash
423
- else
424
- value
425
- end
426
- end
427
-
428
355
  end
429
356
 
430
357
  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.22.22
6
+ The version of the OpenAPI document: v1.22.24
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.12.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module OryClient
17
- class NormalizedProjectRevisionThirdPartyProvider
17
+ class NormalizedProjectRevisionThirdPartyProvider < ApiModelBase
18
18
  attr_accessor :additional_id_token_audiences
19
19
 
20
20
  attr_accessor :apple_private_key
@@ -60,7 +60,7 @@ module OryClient
60
60
 
61
61
  attr_accessor :pkce
62
62
 
63
- # The Revision's ID this schema belongs to
63
+ # The Revision's ID this provider belongs to
64
64
  attr_accessor :project_revision_id
65
65
 
66
66
  # Provider is either \"generic\" for a generic OAuth 2.0 / OpenID Connect Provider or one of: generic google github gitlab microsoft discord slack facebook vk yandex apple
@@ -443,61 +443,6 @@ module OryClient
443
443
  new(transformed_hash)
444
444
  end
445
445
 
446
- # Deserializes the data based on type
447
- # @param string type Data type
448
- # @param string value Value to be deserialized
449
- # @return [Object] Deserialized data
450
- def self._deserialize(type, value)
451
- case type.to_sym
452
- when :Time
453
- Time.parse(value)
454
- when :Date
455
- Date.parse(value)
456
- when :String
457
- value.to_s
458
- when :Integer
459
- value.to_i
460
- when :Float
461
- value.to_f
462
- when :Boolean
463
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
464
- true
465
- else
466
- false
467
- end
468
- when :Object
469
- # generic object (usually a Hash), return directly
470
- value
471
- when /\AArray<(?<inner_type>.+)>\z/
472
- inner_type = Regexp.last_match[:inner_type]
473
- value.map { |v| _deserialize(inner_type, v) }
474
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
475
- k_type = Regexp.last_match[:k_type]
476
- v_type = Regexp.last_match[:v_type]
477
- {}.tap do |hash|
478
- value.each do |k, v|
479
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
480
- end
481
- end
482
- else # model
483
- # models (e.g. Pet) or oneOf
484
- klass = OryClient.const_get(type)
485
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
486
- end
487
- end
488
-
489
- # Returns the string representation of the object
490
- # @return [String] String presentation of the object
491
- def to_s
492
- to_hash.to_s
493
- end
494
-
495
- # to_body is an alias to to_hash (backward compatibility)
496
- # @return [Hash] Returns the object in the form of hash
497
- def to_body
498
- to_hash
499
- end
500
-
501
446
  # Returns the object in the form of hash
502
447
  # @return [Hash] Returns the object in the form of hash
503
448
  def to_hash
@@ -514,24 +459,6 @@ module OryClient
514
459
  hash
515
460
  end
516
461
 
517
- # Outputs non-array value in the form of hash
518
- # For object, use to_hash. Otherwise, just return the value
519
- # @param [Object] value Any valid value
520
- # @return [Hash] Returns the value in the form of hash
521
- def _to_hash(value)
522
- if value.is_a?(Array)
523
- value.compact.map { |v| _to_hash(v) }
524
- elsif value.is_a?(Hash)
525
- {}.tap do |hash|
526
- value.each { |k, v| hash[k] = _to_hash(v) }
527
- end
528
- elsif value.respond_to? :to_hash
529
- value.to_hash
530
- else
531
- value
532
- end
533
- end
534
-
535
462
  end
536
463
 
537
464
  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.22.22
6
+ The version of the OpenAPI document: v1.22.24
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.12.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module OryClient
17
- class NormalizedProjectRevisionTokenizerTemplate
17
+ class NormalizedProjectRevisionTokenizerTemplate < ApiModelBase
18
18
  # Claims mapper URL
19
19
  attr_accessor :claims_mapper_url
20
20
 
@@ -266,61 +266,6 @@ module OryClient
266
266
  new(transformed_hash)
267
267
  end
268
268
 
269
- # Deserializes the data based on type
270
- # @param string type Data type
271
- # @param string value Value to be deserialized
272
- # @return [Object] Deserialized data
273
- def self._deserialize(type, value)
274
- case type.to_sym
275
- when :Time
276
- Time.parse(value)
277
- when :Date
278
- Date.parse(value)
279
- when :String
280
- value.to_s
281
- when :Integer
282
- value.to_i
283
- when :Float
284
- value.to_f
285
- when :Boolean
286
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
287
- true
288
- else
289
- false
290
- end
291
- when :Object
292
- # generic object (usually a Hash), return directly
293
- value
294
- when /\AArray<(?<inner_type>.+)>\z/
295
- inner_type = Regexp.last_match[:inner_type]
296
- value.map { |v| _deserialize(inner_type, v) }
297
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
298
- k_type = Regexp.last_match[:k_type]
299
- v_type = Regexp.last_match[:v_type]
300
- {}.tap do |hash|
301
- value.each do |k, v|
302
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
303
- end
304
- end
305
- else # model
306
- # models (e.g. Pet) or oneOf
307
- klass = OryClient.const_get(type)
308
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
309
- end
310
- end
311
-
312
- # Returns the string representation of the object
313
- # @return [String] String presentation of the object
314
- def to_s
315
- to_hash.to_s
316
- end
317
-
318
- # to_body is an alias to to_hash (backward compatibility)
319
- # @return [Hash] Returns the object in the form of hash
320
- def to_body
321
- to_hash
322
- end
323
-
324
269
  # Returns the object in the form of hash
325
270
  # @return [Hash] Returns the object in the form of hash
326
271
  def to_hash
@@ -337,24 +282,6 @@ module OryClient
337
282
  hash
338
283
  end
339
284
 
340
- # Outputs non-array value in the form of hash
341
- # For object, use to_hash. Otherwise, just return the value
342
- # @param [Object] value Any valid value
343
- # @return [Hash] Returns the value in the form of hash
344
- def _to_hash(value)
345
- if value.is_a?(Array)
346
- value.compact.map { |v| _to_hash(v) }
347
- elsif value.is_a?(Hash)
348
- {}.tap do |hash|
349
- value.each { |k, v| hash[k] = _to_hash(v) }
350
- end
351
- elsif value.respond_to? :to_hash
352
- value.to_hash
353
- else
354
- value
355
- end
356
- end
357
-
358
285
  end
359
286
 
360
287
  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.22.22
6
+ The version of the OpenAPI document: v1.22.24
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.12.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
@@ -15,7 +15,7 @@ require 'time'
15
15
 
16
16
  module OryClient
17
17
  # OAuth 2.0 Clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.
18
- class OAuth2Client
18
+ class OAuth2Client < ApiModelBase
19
19
  # OAuth 2.0 Access Token Strategy AccessTokenStrategy is the strategy used to generate access tokens. Valid options are `jwt` and `opaque`. `jwt` is a bad idea, see https://www.ory.sh/docs/oauth2-oidc/jwt-access-token Setting the strategy here overrides the global setting in `strategies.access_token`.
20
20
  attr_accessor :access_token_strategy
21
21
 
@@ -857,61 +857,6 @@ module OryClient
857
857
  new(transformed_hash)
858
858
  end
859
859
 
860
- # Deserializes the data based on type
861
- # @param string type Data type
862
- # @param string value Value to be deserialized
863
- # @return [Object] Deserialized data
864
- def self._deserialize(type, value)
865
- case type.to_sym
866
- when :Time
867
- Time.parse(value)
868
- when :Date
869
- Date.parse(value)
870
- when :String
871
- value.to_s
872
- when :Integer
873
- value.to_i
874
- when :Float
875
- value.to_f
876
- when :Boolean
877
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
878
- true
879
- else
880
- false
881
- end
882
- when :Object
883
- # generic object (usually a Hash), return directly
884
- value
885
- when /\AArray<(?<inner_type>.+)>\z/
886
- inner_type = Regexp.last_match[:inner_type]
887
- value.map { |v| _deserialize(inner_type, v) }
888
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
889
- k_type = Regexp.last_match[:k_type]
890
- v_type = Regexp.last_match[:v_type]
891
- {}.tap do |hash|
892
- value.each do |k, v|
893
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
894
- end
895
- end
896
- else # model
897
- # models (e.g. Pet) or oneOf
898
- klass = OryClient.const_get(type)
899
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
900
- end
901
- end
902
-
903
- # Returns the string representation of the object
904
- # @return [String] String presentation of the object
905
- def to_s
906
- to_hash.to_s
907
- end
908
-
909
- # to_body is an alias to to_hash (backward compatibility)
910
- # @return [Hash] Returns the object in the form of hash
911
- def to_body
912
- to_hash
913
- end
914
-
915
860
  # Returns the object in the form of hash
916
861
  # @return [Hash] Returns the object in the form of hash
917
862
  def to_hash
@@ -928,24 +873,6 @@ module OryClient
928
873
  hash
929
874
  end
930
875
 
931
- # Outputs non-array value in the form of hash
932
- # For object, use to_hash. Otherwise, just return the value
933
- # @param [Object] value Any valid value
934
- # @return [Hash] Returns the value in the form of hash
935
- def _to_hash(value)
936
- if value.is_a?(Array)
937
- value.compact.map { |v| _to_hash(v) }
938
- elsif value.is_a?(Hash)
939
- {}.tap do |hash|
940
- value.each { |k, v| hash[k] = _to_hash(v) }
941
- end
942
- elsif value.respond_to? :to_hash
943
- value.to_hash
944
- else
945
- value
946
- end
947
- end
948
-
949
876
  end
950
877
 
951
878
  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.22.22
6
+ The version of the OpenAPI document: v1.22.24
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.12.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
@@ -15,7 +15,7 @@ require 'time'
15
15
 
16
16
  module OryClient
17
17
  # Lifespans of different token types issued for this OAuth 2.0 Client.
18
- class OAuth2ClientTokenLifespans
18
+ class OAuth2ClientTokenLifespans < ApiModelBase
19
19
  attr_accessor :authorization_code_grant_access_token_lifespan
20
20
 
21
21
  attr_accessor :authorization_code_grant_id_token_lifespan
@@ -469,61 +469,6 @@ module OryClient
469
469
  new(transformed_hash)
470
470
  end
471
471
 
472
- # Deserializes the data based on type
473
- # @param string type Data type
474
- # @param string value Value to be deserialized
475
- # @return [Object] Deserialized data
476
- def self._deserialize(type, value)
477
- case type.to_sym
478
- when :Time
479
- Time.parse(value)
480
- when :Date
481
- Date.parse(value)
482
- when :String
483
- value.to_s
484
- when :Integer
485
- value.to_i
486
- when :Float
487
- value.to_f
488
- when :Boolean
489
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
490
- true
491
- else
492
- false
493
- end
494
- when :Object
495
- # generic object (usually a Hash), return directly
496
- value
497
- when /\AArray<(?<inner_type>.+)>\z/
498
- inner_type = Regexp.last_match[:inner_type]
499
- value.map { |v| _deserialize(inner_type, v) }
500
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
501
- k_type = Regexp.last_match[:k_type]
502
- v_type = Regexp.last_match[:v_type]
503
- {}.tap do |hash|
504
- value.each do |k, v|
505
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
506
- end
507
- end
508
- else # model
509
- # models (e.g. Pet) or oneOf
510
- klass = OryClient.const_get(type)
511
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
512
- end
513
- end
514
-
515
- # Returns the string representation of the object
516
- # @return [String] String presentation of the object
517
- def to_s
518
- to_hash.to_s
519
- end
520
-
521
- # to_body is an alias to to_hash (backward compatibility)
522
- # @return [Hash] Returns the object in the form of hash
523
- def to_body
524
- to_hash
525
- end
526
-
527
472
  # Returns the object in the form of hash
528
473
  # @return [Hash] Returns the object in the form of hash
529
474
  def to_hash
@@ -540,24 +485,6 @@ module OryClient
540
485
  hash
541
486
  end
542
487
 
543
- # Outputs non-array value in the form of hash
544
- # For object, use to_hash. Otherwise, just return the value
545
- # @param [Object] value Any valid value
546
- # @return [Hash] Returns the value in the form of hash
547
- def _to_hash(value)
548
- if value.is_a?(Array)
549
- value.compact.map { |v| _to_hash(v) }
550
- elsif value.is_a?(Hash)
551
- {}.tap do |hash|
552
- value.each { |k, v| hash[k] = _to_hash(v) }
553
- end
554
- elsif value.respond_to? :to_hash
555
- value.to_hash
556
- else
557
- value
558
- end
559
- end
560
-
561
488
  end
562
489
 
563
490
  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.22.22
6
+ The version of the OpenAPI document: v1.22.24
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.12.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module OryClient
17
- class OAuth2ConsentRequest
17
+ class OAuth2ConsentRequest < ApiModelBase
18
18
  # ACR represents the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it to express that, for example, a user authenticated using two factor authentication.
19
19
  attr_accessor :acr
20
20
 
@@ -274,61 +274,6 @@ module OryClient
274
274
  new(transformed_hash)
275
275
  end
276
276
 
277
- # Deserializes the data based on type
278
- # @param string type Data type
279
- # @param string value Value to be deserialized
280
- # @return [Object] Deserialized data
281
- def self._deserialize(type, value)
282
- case type.to_sym
283
- when :Time
284
- Time.parse(value)
285
- when :Date
286
- Date.parse(value)
287
- when :String
288
- value.to_s
289
- when :Integer
290
- value.to_i
291
- when :Float
292
- value.to_f
293
- when :Boolean
294
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
295
- true
296
- else
297
- false
298
- end
299
- when :Object
300
- # generic object (usually a Hash), return directly
301
- value
302
- when /\AArray<(?<inner_type>.+)>\z/
303
- inner_type = Regexp.last_match[:inner_type]
304
- value.map { |v| _deserialize(inner_type, v) }
305
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
306
- k_type = Regexp.last_match[:k_type]
307
- v_type = Regexp.last_match[:v_type]
308
- {}.tap do |hash|
309
- value.each do |k, v|
310
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
311
- end
312
- end
313
- else # model
314
- # models (e.g. Pet) or oneOf
315
- klass = OryClient.const_get(type)
316
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
317
- end
318
- end
319
-
320
- # Returns the string representation of the object
321
- # @return [String] String presentation of the object
322
- def to_s
323
- to_hash.to_s
324
- end
325
-
326
- # to_body is an alias to to_hash (backward compatibility)
327
- # @return [Hash] Returns the object in the form of hash
328
- def to_body
329
- to_hash
330
- end
331
-
332
277
  # Returns the object in the form of hash
333
278
  # @return [Hash] Returns the object in the form of hash
334
279
  def to_hash
@@ -345,24 +290,6 @@ module OryClient
345
290
  hash
346
291
  end
347
292
 
348
- # Outputs non-array value in the form of hash
349
- # For object, use to_hash. Otherwise, just return the value
350
- # @param [Object] value Any valid value
351
- # @return [Hash] Returns the value in the form of hash
352
- def _to_hash(value)
353
- if value.is_a?(Array)
354
- value.compact.map { |v| _to_hash(v) }
355
- elsif value.is_a?(Hash)
356
- {}.tap do |hash|
357
- value.each { |k, v| hash[k] = _to_hash(v) }
358
- end
359
- elsif value.respond_to? :to_hash
360
- value.to_hash
361
- else
362
- value
363
- end
364
- end
365
-
366
293
  end
367
294
 
368
295
  end