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
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module OryClient
17
- class CreateProjectApiKeyRequest
17
+ class CreateProjectApiKeyRequest < ApiModelBase
18
18
  attr_accessor :expires_at
19
19
 
20
20
  # The Token Name A descriptive name for the token. in: body
@@ -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
@@ -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 Project Request Body
18
- class CreateProjectBody
18
+ class CreateProjectBody < ApiModelBase
19
19
  # The environment of the project. prod Production stage Staging dev Development
20
20
  attr_accessor :environment
21
21
 
@@ -228,61 +228,6 @@ module OryClient
228
228
  new(transformed_hash)
229
229
  end
230
230
 
231
- # Deserializes the data based on type
232
- # @param string type Data type
233
- # @param string value Value to be deserialized
234
- # @return [Object] Deserialized data
235
- def self._deserialize(type, value)
236
- case type.to_sym
237
- when :Time
238
- Time.parse(value)
239
- when :Date
240
- Date.parse(value)
241
- when :String
242
- value.to_s
243
- when :Integer
244
- value.to_i
245
- when :Float
246
- value.to_f
247
- when :Boolean
248
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
249
- true
250
- else
251
- false
252
- end
253
- when :Object
254
- # generic object (usually a Hash), return directly
255
- value
256
- when /\AArray<(?<inner_type>.+)>\z/
257
- inner_type = Regexp.last_match[:inner_type]
258
- value.map { |v| _deserialize(inner_type, v) }
259
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
260
- k_type = Regexp.last_match[:k_type]
261
- v_type = Regexp.last_match[:v_type]
262
- {}.tap do |hash|
263
- value.each do |k, v|
264
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
265
- end
266
- end
267
- else # model
268
- # models (e.g. Pet) or oneOf
269
- klass = OryClient.const_get(type)
270
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
271
- end
272
- end
273
-
274
- # Returns the string representation of the object
275
- # @return [String] String presentation of the object
276
- def to_s
277
- to_hash.to_s
278
- end
279
-
280
- # to_body is an alias to to_hash (backward compatibility)
281
- # @return [Hash] Returns the object in the form of hash
282
- def to_body
283
- to_hash
284
- end
285
-
286
231
  # Returns the object in the form of hash
287
232
  # @return [Hash] Returns the object in the form of hash
288
233
  def to_hash
@@ -299,24 +244,6 @@ module OryClient
299
244
  hash
300
245
  end
301
246
 
302
- # Outputs non-array value in the form of hash
303
- # For object, use to_hash. Otherwise, just return the value
304
- # @param [Object] value Any valid value
305
- # @return [Hash] Returns the value in the form of hash
306
- def _to_hash(value)
307
- if value.is_a?(Array)
308
- value.compact.map { |v| _to_hash(v) }
309
- elsif value.is_a?(Hash)
310
- {}.tap do |hash|
311
- value.each { |k, v| hash[k] = _to_hash(v) }
312
- end
313
- elsif value.respond_to? :to_hash
314
- value.to_hash
315
- else
316
- value
317
- end
318
- end
319
-
320
247
  end
321
248
 
322
249
  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 a Project Branding
18
- class CreateProjectBranding
18
+ class CreateProjectBranding < ApiModelBase
19
19
  attr_accessor :favicon_type
20
20
 
21
21
  attr_accessor :favicon_url
@@ -172,61 +172,6 @@ module OryClient
172
172
  new(transformed_hash)
173
173
  end
174
174
 
175
- # Deserializes the data based on type
176
- # @param string type Data type
177
- # @param string value Value to be deserialized
178
- # @return [Object] Deserialized data
179
- def self._deserialize(type, value)
180
- case type.to_sym
181
- when :Time
182
- Time.parse(value)
183
- when :Date
184
- Date.parse(value)
185
- when :String
186
- value.to_s
187
- when :Integer
188
- value.to_i
189
- when :Float
190
- value.to_f
191
- when :Boolean
192
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
193
- true
194
- else
195
- false
196
- end
197
- when :Object
198
- # generic object (usually a Hash), return directly
199
- value
200
- when /\AArray<(?<inner_type>.+)>\z/
201
- inner_type = Regexp.last_match[:inner_type]
202
- value.map { |v| _deserialize(inner_type, v) }
203
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
204
- k_type = Regexp.last_match[:k_type]
205
- v_type = Regexp.last_match[:v_type]
206
- {}.tap do |hash|
207
- value.each do |k, v|
208
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
209
- end
210
- end
211
- else # model
212
- # models (e.g. Pet) or oneOf
213
- klass = OryClient.const_get(type)
214
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
215
- end
216
- end
217
-
218
- # Returns the string representation of the object
219
- # @return [String] String presentation of the object
220
- def to_s
221
- to_hash.to_s
222
- end
223
-
224
- # to_body is an alias to to_hash (backward compatibility)
225
- # @return [Hash] Returns the object in the form of hash
226
- def to_body
227
- to_hash
228
- end
229
-
230
175
  # Returns the object in the form of hash
231
176
  # @return [Hash] Returns the object in the form of hash
232
177
  def to_hash
@@ -243,24 +188,6 @@ module OryClient
243
188
  hash
244
189
  end
245
190
 
246
- # Outputs non-array value in the form of hash
247
- # For object, use to_hash. Otherwise, just return the value
248
- # @param [Object] value Any valid value
249
- # @return [Hash] Returns the value in the form of hash
250
- def _to_hash(value)
251
- if value.is_a?(Array)
252
- value.compact.map { |v| _to_hash(v) }
253
- elsif value.is_a?(Hash)
254
- {}.tap do |hash|
255
- value.each { |k, v| hash[k] = _to_hash(v) }
256
- end
257
- elsif value.respond_to? :to_hash
258
- value.to_hash
259
- else
260
- value
261
- end
262
- end
263
-
264
191
  end
265
192
 
266
193
  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 Project MemberInvite Request Body
18
- class CreateProjectMemberInviteBody
18
+ class CreateProjectMemberInviteBody < ApiModelBase
19
19
  # A email to invite
20
20
  attr_accessor :invitee_email
21
21
 
@@ -128,61 +128,6 @@ module OryClient
128
128
  new(transformed_hash)
129
129
  end
130
130
 
131
- # Deserializes the data based on type
132
- # @param string type Data type
133
- # @param string value Value to be deserialized
134
- # @return [Object] Deserialized data
135
- def self._deserialize(type, value)
136
- case type.to_sym
137
- when :Time
138
- Time.parse(value)
139
- when :Date
140
- Date.parse(value)
141
- when :String
142
- value.to_s
143
- when :Integer
144
- value.to_i
145
- when :Float
146
- value.to_f
147
- when :Boolean
148
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
149
- true
150
- else
151
- false
152
- end
153
- when :Object
154
- # generic object (usually a Hash), return directly
155
- value
156
- when /\AArray<(?<inner_type>.+)>\z/
157
- inner_type = Regexp.last_match[:inner_type]
158
- value.map { |v| _deserialize(inner_type, v) }
159
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
160
- k_type = Regexp.last_match[:k_type]
161
- v_type = Regexp.last_match[:v_type]
162
- {}.tap do |hash|
163
- value.each do |k, v|
164
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
165
- end
166
- end
167
- else # model
168
- # models (e.g. Pet) or oneOf
169
- klass = OryClient.const_get(type)
170
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
171
- end
172
- end
173
-
174
- # Returns the string representation of the object
175
- # @return [String] String presentation of the object
176
- def to_s
177
- to_hash.to_s
178
- end
179
-
180
- # to_body is an alias to to_hash (backward compatibility)
181
- # @return [Hash] Returns the object in the form of hash
182
- def to_body
183
- to_hash
184
- end
185
-
186
131
  # Returns the object in the form of hash
187
132
  # @return [Hash] Returns the object in the form of hash
188
133
  def to_hash
@@ -199,24 +144,6 @@ module OryClient
199
144
  hash
200
145
  end
201
146
 
202
- # Outputs non-array value in the form of hash
203
- # For object, use to_hash. Otherwise, just return the value
204
- # @param [Object] value Any valid value
205
- # @return [Hash] Returns the value in the form of hash
206
- def _to_hash(value)
207
- if value.is_a?(Array)
208
- value.compact.map { |v| _to_hash(v) }
209
- elsif value.is_a?(Hash)
210
- {}.tap do |hash|
211
- value.each { |k, v| hash[k] = _to_hash(v) }
212
- end
213
- elsif value.respond_to? :to_hash
214
- value.to_hash
215
- else
216
- value
217
- end
218
- end
219
-
220
147
  end
221
148
 
222
149
  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 project (normalized) request payload
18
- class CreateProjectNormalizedPayload
18
+ class CreateProjectNormalizedPayload < ApiModelBase
19
19
  # The Account Experience's Custom Translations Contains all Custom Translations for this project.
20
20
  attr_accessor :account_experience_custom_translations
21
21
 
@@ -2832,61 +2832,6 @@ module OryClient
2832
2832
  new(transformed_hash)
2833
2833
  end
2834
2834
 
2835
- # Deserializes the data based on type
2836
- # @param string type Data type
2837
- # @param string value Value to be deserialized
2838
- # @return [Object] Deserialized data
2839
- def self._deserialize(type, value)
2840
- case type.to_sym
2841
- when :Time
2842
- Time.parse(value)
2843
- when :Date
2844
- Date.parse(value)
2845
- when :String
2846
- value.to_s
2847
- when :Integer
2848
- value.to_i
2849
- when :Float
2850
- value.to_f
2851
- when :Boolean
2852
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
2853
- true
2854
- else
2855
- false
2856
- end
2857
- when :Object
2858
- # generic object (usually a Hash), return directly
2859
- value
2860
- when /\AArray<(?<inner_type>.+)>\z/
2861
- inner_type = Regexp.last_match[:inner_type]
2862
- value.map { |v| _deserialize(inner_type, v) }
2863
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
2864
- k_type = Regexp.last_match[:k_type]
2865
- v_type = Regexp.last_match[:v_type]
2866
- {}.tap do |hash|
2867
- value.each do |k, v|
2868
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
2869
- end
2870
- end
2871
- else # model
2872
- # models (e.g. Pet) or oneOf
2873
- klass = OryClient.const_get(type)
2874
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
2875
- end
2876
- end
2877
-
2878
- # Returns the string representation of the object
2879
- # @return [String] String presentation of the object
2880
- def to_s
2881
- to_hash.to_s
2882
- end
2883
-
2884
- # to_body is an alias to to_hash (backward compatibility)
2885
- # @return [Hash] Returns the object in the form of hash
2886
- def to_body
2887
- to_hash
2888
- end
2889
-
2890
2835
  # Returns the object in the form of hash
2891
2836
  # @return [Hash] Returns the object in the form of hash
2892
2837
  def to_hash
@@ -2903,24 +2848,6 @@ module OryClient
2903
2848
  hash
2904
2849
  end
2905
2850
 
2906
- # Outputs non-array value in the form of hash
2907
- # For object, use to_hash. Otherwise, just return the value
2908
- # @param [Object] value Any valid value
2909
- # @return [Hash] Returns the value in the form of hash
2910
- def _to_hash(value)
2911
- if value.is_a?(Array)
2912
- value.compact.map { |v| _to_hash(v) }
2913
- elsif value.is_a?(Hash)
2914
- {}.tap do |hash|
2915
- value.each { |k, v| hash[k] = _to_hash(v) }
2916
- end
2917
- elsif value.respond_to? :to_hash
2918
- value.to_hash
2919
- else
2920
- value
2921
- end
2922
- end
2923
-
2924
2851
  end
2925
2852
 
2926
2853
  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 Recovery Code for Identity Request Body
18
- class CreateRecoveryCodeForIdentityBody
18
+ class CreateRecoveryCodeForIdentityBody < ApiModelBase
19
19
  # Code Expires In The recovery code 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
 
@@ -186,61 +186,6 @@ module OryClient
186
186
  new(transformed_hash)
187
187
  end
188
188
 
189
- # Deserializes the data based on type
190
- # @param string type Data type
191
- # @param string value Value to be deserialized
192
- # @return [Object] Deserialized data
193
- def self._deserialize(type, value)
194
- case type.to_sym
195
- when :Time
196
- Time.parse(value)
197
- when :Date
198
- Date.parse(value)
199
- when :String
200
- value.to_s
201
- when :Integer
202
- value.to_i
203
- when :Float
204
- value.to_f
205
- when :Boolean
206
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
207
- true
208
- else
209
- false
210
- end
211
- when :Object
212
- # generic object (usually a Hash), return directly
213
- value
214
- when /\AArray<(?<inner_type>.+)>\z/
215
- inner_type = Regexp.last_match[:inner_type]
216
- value.map { |v| _deserialize(inner_type, v) }
217
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
218
- k_type = Regexp.last_match[:k_type]
219
- v_type = Regexp.last_match[:v_type]
220
- {}.tap do |hash|
221
- value.each do |k, v|
222
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
223
- end
224
- end
225
- else # model
226
- # models (e.g. Pet) or oneOf
227
- klass = OryClient.const_get(type)
228
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
229
- end
230
- end
231
-
232
- # Returns the string representation of the object
233
- # @return [String] String presentation of the object
234
- def to_s
235
- to_hash.to_s
236
- end
237
-
238
- # to_body is an alias to to_hash (backward compatibility)
239
- # @return [Hash] Returns the object in the form of hash
240
- def to_body
241
- to_hash
242
- end
243
-
244
189
  # Returns the object in the form of hash
245
190
  # @return [Hash] Returns the object in the form of hash
246
191
  def to_hash
@@ -257,24 +202,6 @@ module OryClient
257
202
  hash
258
203
  end
259
204
 
260
- # Outputs non-array value in the form of hash
261
- # For object, use to_hash. Otherwise, just return the value
262
- # @param [Object] value Any valid value
263
- # @return [Hash] Returns the value in the form of hash
264
- def _to_hash(value)
265
- if value.is_a?(Array)
266
- value.compact.map { |v| _to_hash(v) }
267
- elsif value.is_a?(Hash)
268
- {}.tap do |hash|
269
- value.each { |k, v| hash[k] = _to_hash(v) }
270
- end
271
- elsif value.respond_to? :to_hash
272
- value.to_hash
273
- else
274
- value
275
- end
276
- end
277
-
278
205
  end
279
206
 
280
207
  end