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
  # Create Recovery Link for Identity Request Body
18
- class CreateRecoveryLinkForIdentityBody
18
+ class CreateRecoveryLinkForIdentityBody < ApiModelBase
19
19
  # Link Expires In The recovery link will expire after that amount of time has passed. Defaults to the configuration value of `selfservice.methods.code.config.lifespan`.
20
20
  attr_accessor :expires_in
21
21
 
@@ -176,61 +176,6 @@ module OryClient
176
176
  new(transformed_hash)
177
177
  end
178
178
 
179
- # Deserializes the data based on type
180
- # @param string type Data type
181
- # @param string value Value to be deserialized
182
- # @return [Object] Deserialized data
183
- def self._deserialize(type, value)
184
- case type.to_sym
185
- when :Time
186
- Time.parse(value)
187
- when :Date
188
- Date.parse(value)
189
- when :String
190
- value.to_s
191
- when :Integer
192
- value.to_i
193
- when :Float
194
- value.to_f
195
- when :Boolean
196
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
197
- true
198
- else
199
- false
200
- end
201
- when :Object
202
- # generic object (usually a Hash), return directly
203
- value
204
- when /\AArray<(?<inner_type>.+)>\z/
205
- inner_type = Regexp.last_match[:inner_type]
206
- value.map { |v| _deserialize(inner_type, v) }
207
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
208
- k_type = Regexp.last_match[:k_type]
209
- v_type = Regexp.last_match[:v_type]
210
- {}.tap do |hash|
211
- value.each do |k, v|
212
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
213
- end
214
- end
215
- else # model
216
- # models (e.g. Pet) or oneOf
217
- klass = OryClient.const_get(type)
218
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
219
- end
220
- end
221
-
222
- # Returns the string representation of the object
223
- # @return [String] String presentation of the object
224
- def to_s
225
- to_hash.to_s
226
- end
227
-
228
- # to_body is an alias to to_hash (backward compatibility)
229
- # @return [Hash] Returns the object in the form of hash
230
- def to_body
231
- to_hash
232
- end
233
-
234
179
  # Returns the object in the form of hash
235
180
  # @return [Hash] Returns the object in the form of hash
236
181
  def to_hash
@@ -247,24 +192,6 @@ module OryClient
247
192
  hash
248
193
  end
249
194
 
250
- # Outputs non-array value in the form of hash
251
- # For object, use to_hash. Otherwise, just return the value
252
- # @param [Object] value Any valid value
253
- # @return [Hash] Returns the value in the form of hash
254
- def _to_hash(value)
255
- if value.is_a?(Array)
256
- value.compact.map { |v| _to_hash(v) }
257
- elsif value.is_a?(Hash)
258
- {}.tap do |hash|
259
- value.each { |k, v| hash[k] = _to_hash(v) }
260
- end
261
- elsif value.respond_to? :to_hash
262
- value.to_hash
263
- else
264
- value
265
- end
266
- end
267
-
268
195
  end
269
196
 
270
197
  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
  # Create Relationship Request Body
18
- class CreateRelationshipBody
18
+ class CreateRelationshipBody < ApiModelBase
19
19
  # Namespace to query
20
20
  attr_accessor :namespace
21
21
 
@@ -167,61 +167,6 @@ module OryClient
167
167
  new(transformed_hash)
168
168
  end
169
169
 
170
- # Deserializes the data based on type
171
- # @param string type Data type
172
- # @param string value Value to be deserialized
173
- # @return [Object] Deserialized data
174
- def self._deserialize(type, value)
175
- case type.to_sym
176
- when :Time
177
- Time.parse(value)
178
- when :Date
179
- Date.parse(value)
180
- when :String
181
- value.to_s
182
- when :Integer
183
- value.to_i
184
- when :Float
185
- value.to_f
186
- when :Boolean
187
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
188
- true
189
- else
190
- false
191
- end
192
- when :Object
193
- # generic object (usually a Hash), return directly
194
- value
195
- when /\AArray<(?<inner_type>.+)>\z/
196
- inner_type = Regexp.last_match[:inner_type]
197
- value.map { |v| _deserialize(inner_type, v) }
198
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
199
- k_type = Regexp.last_match[:k_type]
200
- v_type = Regexp.last_match[:v_type]
201
- {}.tap do |hash|
202
- value.each do |k, v|
203
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
204
- end
205
- end
206
- else # model
207
- # models (e.g. Pet) or oneOf
208
- klass = OryClient.const_get(type)
209
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
210
- end
211
- end
212
-
213
- # Returns the string representation of the object
214
- # @return [String] String presentation of the object
215
- def to_s
216
- to_hash.to_s
217
- end
218
-
219
- # to_body is an alias to to_hash (backward compatibility)
220
- # @return [Hash] Returns the object in the form of hash
221
- def to_body
222
- to_hash
223
- end
224
-
225
170
  # Returns the object in the form of hash
226
171
  # @return [Hash] Returns the object in the form of hash
227
172
  def to_hash
@@ -238,24 +183,6 @@ module OryClient
238
183
  hash
239
184
  end
240
185
 
241
- # Outputs non-array value in the form of hash
242
- # For object, use to_hash. Otherwise, just return the value
243
- # @param [Object] value Any valid value
244
- # @return [Hash] Returns the value in the form of hash
245
- def _to_hash(value)
246
- if value.is_a?(Array)
247
- value.compact.map { |v| _to_hash(v) }
248
- elsif value.is_a?(Hash)
249
- {}.tap do |hash|
250
- value.each { |k, v| hash[k] = _to_hash(v) }
251
- end
252
- elsif value.respond_to? :to_hash
253
- value.to_hash
254
- else
255
- value
256
- end
257
- end
258
-
259
186
  end
260
187
 
261
188
  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 CreateSubscriptionBody
17
+ class CreateSubscriptionBody < ApiModelBase
18
18
  # usd USD eur Euro
19
19
  attr_accessor :currency
20
20
 
@@ -251,61 +251,6 @@ module OryClient
251
251
  new(transformed_hash)
252
252
  end
253
253
 
254
- # Deserializes the data based on type
255
- # @param string type Data type
256
- # @param string value Value to be deserialized
257
- # @return [Object] Deserialized data
258
- def self._deserialize(type, value)
259
- case type.to_sym
260
- when :Time
261
- Time.parse(value)
262
- when :Date
263
- Date.parse(value)
264
- when :String
265
- value.to_s
266
- when :Integer
267
- value.to_i
268
- when :Float
269
- value.to_f
270
- when :Boolean
271
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
272
- true
273
- else
274
- false
275
- end
276
- when :Object
277
- # generic object (usually a Hash), return directly
278
- value
279
- when /\AArray<(?<inner_type>.+)>\z/
280
- inner_type = Regexp.last_match[:inner_type]
281
- value.map { |v| _deserialize(inner_type, v) }
282
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
283
- k_type = Regexp.last_match[:k_type]
284
- v_type = Regexp.last_match[:v_type]
285
- {}.tap do |hash|
286
- value.each do |k, v|
287
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
288
- end
289
- end
290
- else # model
291
- # models (e.g. Pet) or oneOf
292
- klass = OryClient.const_get(type)
293
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
294
- end
295
- end
296
-
297
- # Returns the string representation of the object
298
- # @return [String] String presentation of the object
299
- def to_s
300
- to_hash.to_s
301
- end
302
-
303
- # to_body is an alias to to_hash (backward compatibility)
304
- # @return [Hash] Returns the object in the form of hash
305
- def to_body
306
- to_hash
307
- end
308
-
309
254
  # Returns the object in the form of hash
310
255
  # @return [Hash] Returns the object in the form of hash
311
256
  def to_hash
@@ -322,24 +267,6 @@ module OryClient
322
267
  hash
323
268
  end
324
269
 
325
- # Outputs non-array value in the form of hash
326
- # For object, use to_hash. Otherwise, just return the value
327
- # @param [Object] value Any valid value
328
- # @return [Hash] Returns the value in the form of hash
329
- def _to_hash(value)
330
- if value.is_a?(Array)
331
- value.compact.map { |v| _to_hash(v) }
332
- elsif value.is_a?(Hash)
333
- {}.tap do |hash|
334
- value.each { |k, v| hash[k] = _to_hash(v) }
335
- end
336
- elsif value.respond_to? :to_hash
337
- value.to_hash
338
- else
339
- value
340
- end
341
- end
342
-
343
270
  end
344
271
 
345
272
  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 CreateSubscriptionCommon
17
+ class CreateSubscriptionCommon < ApiModelBase
18
18
  # usd USD eur Euro
19
19
  attr_accessor :currency
20
20
 
@@ -225,61 +225,6 @@ module OryClient
225
225
  new(transformed_hash)
226
226
  end
227
227
 
228
- # Deserializes the data based on type
229
- # @param string type Data type
230
- # @param string value Value to be deserialized
231
- # @return [Object] Deserialized data
232
- def self._deserialize(type, value)
233
- case type.to_sym
234
- when :Time
235
- Time.parse(value)
236
- when :Date
237
- Date.parse(value)
238
- when :String
239
- value.to_s
240
- when :Integer
241
- value.to_i
242
- when :Float
243
- value.to_f
244
- when :Boolean
245
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
246
- true
247
- else
248
- false
249
- end
250
- when :Object
251
- # generic object (usually a Hash), return directly
252
- value
253
- when /\AArray<(?<inner_type>.+)>\z/
254
- inner_type = Regexp.last_match[:inner_type]
255
- value.map { |v| _deserialize(inner_type, v) }
256
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
257
- k_type = Regexp.last_match[:k_type]
258
- v_type = Regexp.last_match[:v_type]
259
- {}.tap do |hash|
260
- value.each do |k, v|
261
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
262
- end
263
- end
264
- else # model
265
- # models (e.g. Pet) or oneOf
266
- klass = OryClient.const_get(type)
267
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
268
- end
269
- end
270
-
271
- # Returns the string representation of the object
272
- # @return [String] String presentation of the object
273
- def to_s
274
- to_hash.to_s
275
- end
276
-
277
- # to_body is an alias to to_hash (backward compatibility)
278
- # @return [Hash] Returns the object in the form of hash
279
- def to_body
280
- to_hash
281
- end
282
-
283
228
  # Returns the object in the form of hash
284
229
  # @return [Hash] Returns the object in the form of hash
285
230
  def to_hash
@@ -296,24 +241,6 @@ module OryClient
296
241
  hash
297
242
  end
298
243
 
299
- # Outputs non-array value in the form of hash
300
- # For object, use to_hash. Otherwise, just return the value
301
- # @param [Object] value Any valid value
302
- # @return [Hash] Returns the value in the form of hash
303
- def _to_hash(value)
304
- if value.is_a?(Array)
305
- value.compact.map { |v| _to_hash(v) }
306
- elsif value.is_a?(Hash)
307
- {}.tap do |hash|
308
- value.each { |k, v| hash[k] = _to_hash(v) }
309
- end
310
- elsif value.respond_to? :to_hash
311
- value.to_hash
312
- else
313
- value
314
- end
315
- end
316
-
317
244
  end
318
245
 
319
246
  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 CreateVerifiableCredentialRequestBody
17
+ class CreateVerifiableCredentialRequestBody < ApiModelBase
18
18
  attr_accessor :format
19
19
 
20
20
  attr_accessor :proof
@@ -146,61 +146,6 @@ module OryClient
146
146
  new(transformed_hash)
147
147
  end
148
148
 
149
- # Deserializes the data based on type
150
- # @param string type Data type
151
- # @param string value Value to be deserialized
152
- # @return [Object] Deserialized data
153
- def self._deserialize(type, value)
154
- case type.to_sym
155
- when :Time
156
- Time.parse(value)
157
- when :Date
158
- Date.parse(value)
159
- when :String
160
- value.to_s
161
- when :Integer
162
- value.to_i
163
- when :Float
164
- value.to_f
165
- when :Boolean
166
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
167
- true
168
- else
169
- false
170
- end
171
- when :Object
172
- # generic object (usually a Hash), return directly
173
- value
174
- when /\AArray<(?<inner_type>.+)>\z/
175
- inner_type = Regexp.last_match[:inner_type]
176
- value.map { |v| _deserialize(inner_type, v) }
177
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
178
- k_type = Regexp.last_match[:k_type]
179
- v_type = Regexp.last_match[:v_type]
180
- {}.tap do |hash|
181
- value.each do |k, v|
182
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
183
- end
184
- end
185
- else # model
186
- # models (e.g. Pet) or oneOf
187
- klass = OryClient.const_get(type)
188
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
189
- end
190
- end
191
-
192
- # Returns the string representation of the object
193
- # @return [String] String presentation of the object
194
- def to_s
195
- to_hash.to_s
196
- end
197
-
198
- # to_body is an alias to to_hash (backward compatibility)
199
- # @return [Hash] Returns the object in the form of hash
200
- def to_body
201
- to_hash
202
- end
203
-
204
149
  # Returns the object in the form of hash
205
150
  # @return [Hash] Returns the object in the form of hash
206
151
  def to_hash
@@ -217,24 +162,6 @@ module OryClient
217
162
  hash
218
163
  end
219
164
 
220
- # Outputs non-array value in the form of hash
221
- # For object, use to_hash. Otherwise, just return the value
222
- # @param [Object] value Any valid value
223
- # @return [Hash] Returns the value in the form of hash
224
- def _to_hash(value)
225
- if value.is_a?(Array)
226
- value.compact.map { |v| _to_hash(v) }
227
- elsif value.is_a?(Hash)
228
- {}.tap do |hash|
229
- value.each { |k, v| hash[k] = _to_hash(v) }
230
- end
231
- elsif value.respond_to? :to_hash
232
- value.to_hash
233
- else
234
- value
235
- end
236
- end
237
-
238
165
  end
239
166
 
240
167
  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 CreateWorkspaceApiKeyBody
17
+ class CreateWorkspaceApiKeyBody < ApiModelBase
18
18
  attr_accessor :expires_at
19
19
 
20
20
  # The API Key Name A descriptive name for the API key.
@@ -153,61 +153,6 @@ module OryClient
153
153
  new(transformed_hash)
154
154
  end
155
155
 
156
- # Deserializes the data based on type
157
- # @param string type Data type
158
- # @param string value Value to be deserialized
159
- # @return [Object] Deserialized data
160
- def self._deserialize(type, value)
161
- case type.to_sym
162
- when :Time
163
- Time.parse(value)
164
- when :Date
165
- Date.parse(value)
166
- when :String
167
- value.to_s
168
- when :Integer
169
- value.to_i
170
- when :Float
171
- value.to_f
172
- when :Boolean
173
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
174
- true
175
- else
176
- false
177
- end
178
- when :Object
179
- # generic object (usually a Hash), return directly
180
- value
181
- when /\AArray<(?<inner_type>.+)>\z/
182
- inner_type = Regexp.last_match[:inner_type]
183
- value.map { |v| _deserialize(inner_type, v) }
184
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
185
- k_type = Regexp.last_match[:k_type]
186
- v_type = Regexp.last_match[:v_type]
187
- {}.tap do |hash|
188
- value.each do |k, v|
189
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
190
- end
191
- end
192
- else # model
193
- # models (e.g. Pet) or oneOf
194
- klass = OryClient.const_get(type)
195
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
196
- end
197
- end
198
-
199
- # Returns the string representation of the object
200
- # @return [String] String presentation of the object
201
- def to_s
202
- to_hash.to_s
203
- end
204
-
205
- # to_body is an alias to to_hash (backward compatibility)
206
- # @return [Hash] Returns the object in the form of hash
207
- def to_body
208
- to_hash
209
- end
210
-
211
156
  # Returns the object in the form of hash
212
157
  # @return [Hash] Returns the object in the form of hash
213
158
  def to_hash
@@ -224,24 +169,6 @@ module OryClient
224
169
  hash
225
170
  end
226
171
 
227
- # Outputs non-array value in the form of hash
228
- # For object, use to_hash. Otherwise, just return the value
229
- # @param [Object] value Any valid value
230
- # @return [Hash] Returns the value in the form of hash
231
- def _to_hash(value)
232
- if value.is_a?(Array)
233
- value.compact.map { |v| _to_hash(v) }
234
- elsif value.is_a?(Hash)
235
- {}.tap do |hash|
236
- value.each { |k, v| hash[k] = _to_hash(v) }
237
- end
238
- elsif value.respond_to? :to_hash
239
- value.to_hash
240
- else
241
- value
242
- end
243
- end
244
-
245
172
  end
246
173
 
247
174
  end