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 RFC6749ErrorJson
17
+ class RFC6749ErrorJson < ApiModelBase
18
18
  attr_accessor :error
19
19
 
20
20
  attr_accessor :error_debug
@@ -162,61 +162,6 @@ module OryClient
162
162
  new(transformed_hash)
163
163
  end
164
164
 
165
- # Deserializes the data based on type
166
- # @param string type Data type
167
- # @param string value Value to be deserialized
168
- # @return [Object] Deserialized data
169
- def self._deserialize(type, value)
170
- case type.to_sym
171
- when :Time
172
- Time.parse(value)
173
- when :Date
174
- Date.parse(value)
175
- when :String
176
- value.to_s
177
- when :Integer
178
- value.to_i
179
- when :Float
180
- value.to_f
181
- when :Boolean
182
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
183
- true
184
- else
185
- false
186
- end
187
- when :Object
188
- # generic object (usually a Hash), return directly
189
- value
190
- when /\AArray<(?<inner_type>.+)>\z/
191
- inner_type = Regexp.last_match[:inner_type]
192
- value.map { |v| _deserialize(inner_type, v) }
193
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
194
- k_type = Regexp.last_match[:k_type]
195
- v_type = Regexp.last_match[:v_type]
196
- {}.tap do |hash|
197
- value.each do |k, v|
198
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
199
- end
200
- end
201
- else # model
202
- # models (e.g. Pet) or oneOf
203
- klass = OryClient.const_get(type)
204
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
205
- end
206
- end
207
-
208
- # Returns the string representation of the object
209
- # @return [String] String presentation of the object
210
- def to_s
211
- to_hash.to_s
212
- end
213
-
214
- # to_body is an alias to to_hash (backward compatibility)
215
- # @return [Hash] Returns the object in the form of hash
216
- def to_body
217
- to_hash
218
- end
219
-
220
165
  # Returns the object in the form of hash
221
166
  # @return [Hash] Returns the object in the form of hash
222
167
  def to_hash
@@ -233,24 +178,6 @@ module OryClient
233
178
  hash
234
179
  end
235
180
 
236
- # Outputs non-array value in the form of hash
237
- # For object, use to_hash. Otherwise, just return the value
238
- # @param [Object] value Any valid value
239
- # @return [Hash] Returns the value in the form of hash
240
- def _to_hash(value)
241
- if value.is_a?(Array)
242
- value.compact.map { |v| _to_hash(v) }
243
- elsif value.is_a?(Hash)
244
- {}.tap do |hash|
245
- value.each { |k, v| hash[k] = _to_hash(v) }
246
- end
247
- elsif value.respond_to? :to_hash
248
- value.to_hash
249
- else
250
- value
251
- end
252
- end
253
-
254
181
  end
255
182
 
256
183
  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 SchemaPatch
17
+ class SchemaPatch < ApiModelBase
18
18
  # The json schema
19
19
  attr_accessor :data
20
20
 
@@ -171,61 +171,6 @@ module OryClient
171
171
  new(transformed_hash)
172
172
  end
173
173
 
174
- # Deserializes the data based on type
175
- # @param string type Data type
176
- # @param string value Value to be deserialized
177
- # @return [Object] Deserialized data
178
- def self._deserialize(type, value)
179
- case type.to_sym
180
- when :Time
181
- Time.parse(value)
182
- when :Date
183
- Date.parse(value)
184
- when :String
185
- value.to_s
186
- when :Integer
187
- value.to_i
188
- when :Float
189
- value.to_f
190
- when :Boolean
191
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
192
- true
193
- else
194
- false
195
- end
196
- when :Object
197
- # generic object (usually a Hash), return directly
198
- value
199
- when /\AArray<(?<inner_type>.+)>\z/
200
- inner_type = Regexp.last_match[:inner_type]
201
- value.map { |v| _deserialize(inner_type, v) }
202
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
203
- k_type = Regexp.last_match[:k_type]
204
- v_type = Regexp.last_match[:v_type]
205
- {}.tap do |hash|
206
- value.each do |k, v|
207
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
208
- end
209
- end
210
- else # model
211
- # models (e.g. Pet) or oneOf
212
- klass = OryClient.const_get(type)
213
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
214
- end
215
- end
216
-
217
- # Returns the string representation of the object
218
- # @return [String] String presentation of the object
219
- def to_s
220
- to_hash.to_s
221
- end
222
-
223
- # to_body is an alias to to_hash (backward compatibility)
224
- # @return [Hash] Returns the object in the form of hash
225
- def to_body
226
- to_hash
227
- end
228
-
229
174
  # Returns the object in the form of hash
230
175
  # @return [Hash] Returns the object in the form of hash
231
176
  def to_hash
@@ -242,24 +187,6 @@ module OryClient
242
187
  hash
243
188
  end
244
189
 
245
- # Outputs non-array value in the form of hash
246
- # For object, use to_hash. Otherwise, just return the value
247
- # @param [Object] value Any valid value
248
- # @return [Hash] Returns the value in the form of hash
249
- def _to_hash(value)
250
- if value.is_a?(Array)
251
- value.compact.map { |v| _to_hash(v) }
252
- elsif value.is_a?(Hash)
253
- {}.tap do |hash|
254
- value.each { |k, v| hash[k] = _to_hash(v) }
255
- end
256
- elsif value.respond_to? :to_hash
257
- value.to_hash
258
- else
259
- value
260
- end
261
- end
262
-
263
190
  end
264
191
 
265
192
  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
  # Is sent when a flow is expired
18
- class SelfServiceFlowExpiredError
18
+ class SelfServiceFlowExpiredError < ApiModelBase
19
19
  attr_accessor :error
20
20
 
21
21
  # When the flow has expired
@@ -157,61 +157,6 @@ module OryClient
157
157
  new(transformed_hash)
158
158
  end
159
159
 
160
- # Deserializes the data based on type
161
- # @param string type Data type
162
- # @param string value Value to be deserialized
163
- # @return [Object] Deserialized data
164
- def self._deserialize(type, value)
165
- case type.to_sym
166
- when :Time
167
- Time.parse(value)
168
- when :Date
169
- Date.parse(value)
170
- when :String
171
- value.to_s
172
- when :Integer
173
- value.to_i
174
- when :Float
175
- value.to_f
176
- when :Boolean
177
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
178
- true
179
- else
180
- false
181
- end
182
- when :Object
183
- # generic object (usually a Hash), return directly
184
- value
185
- when /\AArray<(?<inner_type>.+)>\z/
186
- inner_type = Regexp.last_match[:inner_type]
187
- value.map { |v| _deserialize(inner_type, v) }
188
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
189
- k_type = Regexp.last_match[:k_type]
190
- v_type = Regexp.last_match[:v_type]
191
- {}.tap do |hash|
192
- value.each do |k, v|
193
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
194
- end
195
- end
196
- else # model
197
- # models (e.g. Pet) or oneOf
198
- klass = OryClient.const_get(type)
199
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
200
- end
201
- end
202
-
203
- # Returns the string representation of the object
204
- # @return [String] String presentation of the object
205
- def to_s
206
- to_hash.to_s
207
- end
208
-
209
- # to_body is an alias to to_hash (backward compatibility)
210
- # @return [Hash] Returns the object in the form of hash
211
- def to_body
212
- to_hash
213
- end
214
-
215
160
  # Returns the object in the form of hash
216
161
  # @return [Hash] Returns the object in the form of hash
217
162
  def to_hash
@@ -228,24 +173,6 @@ module OryClient
228
173
  hash
229
174
  end
230
175
 
231
- # Outputs non-array value in the form of hash
232
- # For object, use to_hash. Otherwise, just return the value
233
- # @param [Object] value Any valid value
234
- # @return [Hash] Returns the value in the form of hash
235
- def _to_hash(value)
236
- if value.is_a?(Array)
237
- value.compact.map { |v| _to_hash(v) }
238
- elsif value.is_a?(Hash)
239
- {}.tap do |hash|
240
- value.each { |k, v| hash[k] = _to_hash(v) }
241
- end
242
- elsif value.respond_to? :to_hash
243
- value.to_hash
244
- else
245
- value
246
- end
247
- end
248
-
249
176
  end
250
177
 
251
178
  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
  # A Session
18
- class Session
18
+ class Session < ApiModelBase
19
19
  # Active state. If false the session is no longer active.
20
20
  attr_accessor :active
21
21
 
@@ -259,61 +259,6 @@ module OryClient
259
259
  new(transformed_hash)
260
260
  end
261
261
 
262
- # Deserializes the data based on type
263
- # @param string type Data type
264
- # @param string value Value to be deserialized
265
- # @return [Object] Deserialized data
266
- def self._deserialize(type, value)
267
- case type.to_sym
268
- when :Time
269
- Time.parse(value)
270
- when :Date
271
- Date.parse(value)
272
- when :String
273
- value.to_s
274
- when :Integer
275
- value.to_i
276
- when :Float
277
- value.to_f
278
- when :Boolean
279
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
280
- true
281
- else
282
- false
283
- end
284
- when :Object
285
- # generic object (usually a Hash), return directly
286
- value
287
- when /\AArray<(?<inner_type>.+)>\z/
288
- inner_type = Regexp.last_match[:inner_type]
289
- value.map { |v| _deserialize(inner_type, v) }
290
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
291
- k_type = Regexp.last_match[:k_type]
292
- v_type = Regexp.last_match[:v_type]
293
- {}.tap do |hash|
294
- value.each do |k, v|
295
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
296
- end
297
- end
298
- else # model
299
- # models (e.g. Pet) or oneOf
300
- klass = OryClient.const_get(type)
301
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
302
- end
303
- end
304
-
305
- # Returns the string representation of the object
306
- # @return [String] String presentation of the object
307
- def to_s
308
- to_hash.to_s
309
- end
310
-
311
- # to_body is an alias to to_hash (backward compatibility)
312
- # @return [Hash] Returns the object in the form of hash
313
- def to_body
314
- to_hash
315
- end
316
-
317
262
  # Returns the object in the form of hash
318
263
  # @return [Hash] Returns the object in the form of hash
319
264
  def to_hash
@@ -330,24 +275,6 @@ module OryClient
330
275
  hash
331
276
  end
332
277
 
333
- # Outputs non-array value in the form of hash
334
- # For object, use to_hash. Otherwise, just return the value
335
- # @param [Object] value Any valid value
336
- # @return [Hash] Returns the value in the form of hash
337
- def _to_hash(value)
338
- if value.is_a?(Array)
339
- value.compact.map { |v| _to_hash(v) }
340
- elsif value.is_a?(Hash)
341
- {}.tap do |hash|
342
- value.each { |k, v| hash[k] = _to_hash(v) }
343
- end
344
- elsif value.respond_to? :to_hash
345
- value.to_hash
346
- else
347
- value
348
- end
349
- end
350
-
351
278
  end
352
279
 
353
280
  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 SessionActivityDatapoint
17
+ class SessionActivityDatapoint < ApiModelBase
18
18
  # Country of the events
19
19
  attr_accessor :country
20
20
 
@@ -198,61 +198,6 @@ module OryClient
198
198
  new(transformed_hash)
199
199
  end
200
200
 
201
- # Deserializes the data based on type
202
- # @param string type Data type
203
- # @param string value Value to be deserialized
204
- # @return [Object] Deserialized data
205
- def self._deserialize(type, value)
206
- case type.to_sym
207
- when :Time
208
- Time.parse(value)
209
- when :Date
210
- Date.parse(value)
211
- when :String
212
- value.to_s
213
- when :Integer
214
- value.to_i
215
- when :Float
216
- value.to_f
217
- when :Boolean
218
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
219
- true
220
- else
221
- false
222
- end
223
- when :Object
224
- # generic object (usually a Hash), return directly
225
- value
226
- when /\AArray<(?<inner_type>.+)>\z/
227
- inner_type = Regexp.last_match[:inner_type]
228
- value.map { |v| _deserialize(inner_type, v) }
229
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
230
- k_type = Regexp.last_match[:k_type]
231
- v_type = Regexp.last_match[:v_type]
232
- {}.tap do |hash|
233
- value.each do |k, v|
234
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
235
- end
236
- end
237
- else # model
238
- # models (e.g. Pet) or oneOf
239
- klass = OryClient.const_get(type)
240
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
241
- end
242
- end
243
-
244
- # Returns the string representation of the object
245
- # @return [String] String presentation of the object
246
- def to_s
247
- to_hash.to_s
248
- end
249
-
250
- # to_body is an alias to to_hash (backward compatibility)
251
- # @return [Hash] Returns the object in the form of hash
252
- def to_body
253
- to_hash
254
- end
255
-
256
201
  # Returns the object in the form of hash
257
202
  # @return [Hash] Returns the object in the form of hash
258
203
  def to_hash
@@ -269,24 +214,6 @@ module OryClient
269
214
  hash
270
215
  end
271
216
 
272
- # Outputs non-array value in the form of hash
273
- # For object, use to_hash. Otherwise, just return the value
274
- # @param [Object] value Any valid value
275
- # @return [Hash] Returns the value in the form of hash
276
- def _to_hash(value)
277
- if value.is_a?(Array)
278
- value.compact.map { |v| _to_hash(v) }
279
- elsif value.is_a?(Hash)
280
- {}.tap do |hash|
281
- value.each { |k, v| hash[k] = _to_hash(v) }
282
- end
283
- elsif value.respond_to? :to_hash
284
- value.to_hash
285
- else
286
- value
287
- end
288
- end
289
-
290
217
  end
291
218
 
292
219
  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
  # A singular authenticator used during authentication / login.
18
- class SessionAuthenticationMethod
18
+ class SessionAuthenticationMethod < ApiModelBase
19
19
  attr_accessor :aal
20
20
 
21
21
  # When the authentication challenge was completed.
@@ -201,61 +201,6 @@ module OryClient
201
201
  new(transformed_hash)
202
202
  end
203
203
 
204
- # Deserializes the data based on type
205
- # @param string type Data type
206
- # @param string value Value to be deserialized
207
- # @return [Object] Deserialized data
208
- def self._deserialize(type, value)
209
- case type.to_sym
210
- when :Time
211
- Time.parse(value)
212
- when :Date
213
- Date.parse(value)
214
- when :String
215
- value.to_s
216
- when :Integer
217
- value.to_i
218
- when :Float
219
- value.to_f
220
- when :Boolean
221
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
222
- true
223
- else
224
- false
225
- end
226
- when :Object
227
- # generic object (usually a Hash), return directly
228
- value
229
- when /\AArray<(?<inner_type>.+)>\z/
230
- inner_type = Regexp.last_match[:inner_type]
231
- value.map { |v| _deserialize(inner_type, v) }
232
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
233
- k_type = Regexp.last_match[:k_type]
234
- v_type = Regexp.last_match[:v_type]
235
- {}.tap do |hash|
236
- value.each do |k, v|
237
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
238
- end
239
- end
240
- else # model
241
- # models (e.g. Pet) or oneOf
242
- klass = OryClient.const_get(type)
243
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
244
- end
245
- end
246
-
247
- # Returns the string representation of the object
248
- # @return [String] String presentation of the object
249
- def to_s
250
- to_hash.to_s
251
- end
252
-
253
- # to_body is an alias to to_hash (backward compatibility)
254
- # @return [Hash] Returns the object in the form of hash
255
- def to_body
256
- to_hash
257
- end
258
-
259
204
  # Returns the object in the form of hash
260
205
  # @return [Hash] Returns the object in the form of hash
261
206
  def to_hash
@@ -272,24 +217,6 @@ module OryClient
272
217
  hash
273
218
  end
274
219
 
275
- # Outputs non-array value in the form of hash
276
- # For object, use to_hash. Otherwise, just return the value
277
- # @param [Object] value Any valid value
278
- # @return [Hash] Returns the value in the form of hash
279
- def _to_hash(value)
280
- if value.is_a?(Array)
281
- value.compact.map { |v| _to_hash(v) }
282
- elsif value.is_a?(Hash)
283
- {}.tap do |hash|
284
- value.each { |k, v| hash[k] = _to_hash(v) }
285
- end
286
- elsif value.respond_to? :to_hash
287
- value.to_hash
288
- else
289
- value
290
- end
291
- end
292
-
293
220
  end
294
221
 
295
222
  end