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 PlanDetails
17
+ class PlanDetails < ApiModelBase
18
18
  # BaseFeeMonthly is the monthly base fee for the plan.
19
19
  attr_accessor :base_fee_monthly
20
20
 
@@ -401,61 +401,6 @@ module OryClient
401
401
  new(transformed_hash)
402
402
  end
403
403
 
404
- # Deserializes the data based on type
405
- # @param string type Data type
406
- # @param string value Value to be deserialized
407
- # @return [Object] Deserialized data
408
- def self._deserialize(type, value)
409
- case type.to_sym
410
- when :Time
411
- Time.parse(value)
412
- when :Date
413
- Date.parse(value)
414
- when :String
415
- value.to_s
416
- when :Integer
417
- value.to_i
418
- when :Float
419
- value.to_f
420
- when :Boolean
421
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
422
- true
423
- else
424
- false
425
- end
426
- when :Object
427
- # generic object (usually a Hash), return directly
428
- value
429
- when /\AArray<(?<inner_type>.+)>\z/
430
- inner_type = Regexp.last_match[:inner_type]
431
- value.map { |v| _deserialize(inner_type, v) }
432
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
433
- k_type = Regexp.last_match[:k_type]
434
- v_type = Regexp.last_match[:v_type]
435
- {}.tap do |hash|
436
- value.each do |k, v|
437
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
438
- end
439
- end
440
- else # model
441
- # models (e.g. Pet) or oneOf
442
- klass = OryClient.const_get(type)
443
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
444
- end
445
- end
446
-
447
- # Returns the string representation of the object
448
- # @return [String] String presentation of the object
449
- def to_s
450
- to_hash.to_s
451
- end
452
-
453
- # to_body is an alias to to_hash (backward compatibility)
454
- # @return [Hash] Returns the object in the form of hash
455
- def to_body
456
- to_hash
457
- end
458
-
459
404
  # Returns the object in the form of hash
460
405
  # @return [Hash] Returns the object in the form of hash
461
406
  def to_hash
@@ -472,24 +417,6 @@ module OryClient
472
417
  hash
473
418
  end
474
419
 
475
- # Outputs non-array value in the form of hash
476
- # For object, use to_hash. Otherwise, just return the value
477
- # @param [Object] value Any valid value
478
- # @return [Hash] Returns the value in the form of hash
479
- def _to_hash(value)
480
- if value.is_a?(Array)
481
- value.compact.map { |v| _to_hash(v) }
482
- elsif value.is_a?(Hash)
483
- {}.tap do |hash|
484
- value.each { |k, v| hash[k] = _to_hash(v) }
485
- end
486
- elsif value.respond_to? :to_hash
487
- value.to_hash
488
- else
489
- value
490
- end
491
- end
492
-
493
420
  end
494
421
 
495
422
  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
  # Check Permission using Post Request Body
18
- class PostCheckPermissionBody
18
+ class PostCheckPermissionBody < ApiModelBase
19
19
  # Namespace to query
20
20
  attr_accessor :namespace
21
21
 
@@ -167,61 +167,6 @@ module OryClient
167
167
  new(transformed_hash)
168
168
  end
169
169
 
170
- # Deserializes the data based on type
171
- # @param string type Data type
172
- # @param string value Value to be deserialized
173
- # @return [Object] Deserialized data
174
- def self._deserialize(type, value)
175
- case type.to_sym
176
- when :Time
177
- Time.parse(value)
178
- when :Date
179
- Date.parse(value)
180
- when :String
181
- value.to_s
182
- when :Integer
183
- value.to_i
184
- when :Float
185
- value.to_f
186
- when :Boolean
187
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
188
- true
189
- else
190
- false
191
- end
192
- when :Object
193
- # generic object (usually a Hash), return directly
194
- value
195
- when /\AArray<(?<inner_type>.+)>\z/
196
- inner_type = Regexp.last_match[:inner_type]
197
- value.map { |v| _deserialize(inner_type, v) }
198
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
199
- k_type = Regexp.last_match[:k_type]
200
- v_type = Regexp.last_match[:v_type]
201
- {}.tap do |hash|
202
- value.each do |k, v|
203
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
204
- end
205
- end
206
- else # model
207
- # models (e.g. Pet) or oneOf
208
- klass = OryClient.const_get(type)
209
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
210
- end
211
- end
212
-
213
- # Returns the string representation of the object
214
- # @return [String] String presentation of the object
215
- def to_s
216
- to_hash.to_s
217
- end
218
-
219
- # to_body is an alias to to_hash (backward compatibility)
220
- # @return [Hash] Returns the object in the form of hash
221
- def to_body
222
- to_hash
223
- end
224
-
225
170
  # Returns the object in the form of hash
226
171
  # @return [Hash] Returns the object in the form of hash
227
172
  def to_hash
@@ -238,24 +183,6 @@ module OryClient
238
183
  hash
239
184
  end
240
185
 
241
- # Outputs non-array value in the form of hash
242
- # For object, use to_hash. Otherwise, just return the value
243
- # @param [Object] value Any valid value
244
- # @return [Hash] Returns the value in the form of hash
245
- def _to_hash(value)
246
- if value.is_a?(Array)
247
- value.compact.map { |v| _to_hash(v) }
248
- elsif value.is_a?(Hash)
249
- {}.tap do |hash|
250
- value.each { |k, v| hash[k] = _to_hash(v) }
251
- end
252
- elsif value.respond_to? :to_hash
253
- value.to_hash
254
- else
255
- value
256
- end
257
- end
258
-
259
186
  end
260
187
 
261
188
  end
@@ -3,10 +3,10 @@
3
3
 
4
4
  ## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
5
5
 
6
- The version of the OpenAPI document: v1.22.22
6
+ The version of the OpenAPI document: v1.22.24
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.12.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
@@ -15,7 +15,7 @@ require 'time'
15
15
 
16
16
  module OryClient
17
17
  # Post Check Permission Or Error Body
18
- class PostCheckPermissionOrErrorBody
18
+ class PostCheckPermissionOrErrorBody < ApiModelBase
19
19
  # Namespace to query
20
20
  attr_accessor :namespace
21
21
 
@@ -167,61 +167,6 @@ module OryClient
167
167
  new(transformed_hash)
168
168
  end
169
169
 
170
- # Deserializes the data based on type
171
- # @param string type Data type
172
- # @param string value Value to be deserialized
173
- # @return [Object] Deserialized data
174
- def self._deserialize(type, value)
175
- case type.to_sym
176
- when :Time
177
- Time.parse(value)
178
- when :Date
179
- Date.parse(value)
180
- when :String
181
- value.to_s
182
- when :Integer
183
- value.to_i
184
- when :Float
185
- value.to_f
186
- when :Boolean
187
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
188
- true
189
- else
190
- false
191
- end
192
- when :Object
193
- # generic object (usually a Hash), return directly
194
- value
195
- when /\AArray<(?<inner_type>.+)>\z/
196
- inner_type = Regexp.last_match[:inner_type]
197
- value.map { |v| _deserialize(inner_type, v) }
198
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
199
- k_type = Regexp.last_match[:k_type]
200
- v_type = Regexp.last_match[:v_type]
201
- {}.tap do |hash|
202
- value.each do |k, v|
203
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
204
- end
205
- end
206
- else # model
207
- # models (e.g. Pet) or oneOf
208
- klass = OryClient.const_get(type)
209
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
210
- end
211
- end
212
-
213
- # Returns the string representation of the object
214
- # @return [String] String presentation of the object
215
- def to_s
216
- to_hash.to_s
217
- end
218
-
219
- # to_body is an alias to to_hash (backward compatibility)
220
- # @return [Hash] Returns the object in the form of hash
221
- def to_body
222
- to_hash
223
- end
224
-
225
170
  # Returns the object in the form of hash
226
171
  # @return [Hash] Returns the object in the form of hash
227
172
  def to_hash
@@ -238,24 +183,6 @@ module OryClient
238
183
  hash
239
184
  end
240
185
 
241
- # Outputs non-array value in the form of hash
242
- # For object, use to_hash. Otherwise, just return the value
243
- # @param [Object] value Any valid value
244
- # @return [Hash] Returns the value in the form of hash
245
- def _to_hash(value)
246
- if value.is_a?(Array)
247
- value.compact.map { |v| _to_hash(v) }
248
- elsif value.is_a?(Hash)
249
- {}.tap do |hash|
250
- value.each { |k, v| hash[k] = _to_hash(v) }
251
- end
252
- elsif value.respond_to? :to_hash
253
- value.to_hash
254
- else
255
- value
256
- end
257
- end
258
-
259
186
  end
260
187
 
261
188
  end
@@ -3,10 +3,10 @@
3
3
 
4
4
  ## Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages: | Language | Download SDK | Documentation | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) | | .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) | | Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) | | Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) | | Java | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md) | | JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) | | PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) | | Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) | | Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) | | Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |
5
5
 
6
- The version of the OpenAPI document: v1.22.22
6
+ The version of the OpenAPI document: v1.22.24
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.12.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module OryClient
17
- class Project
17
+ class Project < ApiModelBase
18
18
  attr_accessor :cors_admin
19
19
 
20
20
  attr_accessor :cors_public
@@ -417,61 +417,6 @@ module OryClient
417
417
  new(transformed_hash)
418
418
  end
419
419
 
420
- # Deserializes the data based on type
421
- # @param string type Data type
422
- # @param string value Value to be deserialized
423
- # @return [Object] Deserialized data
424
- def self._deserialize(type, value)
425
- case type.to_sym
426
- when :Time
427
- Time.parse(value)
428
- when :Date
429
- Date.parse(value)
430
- when :String
431
- value.to_s
432
- when :Integer
433
- value.to_i
434
- when :Float
435
- value.to_f
436
- when :Boolean
437
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
438
- true
439
- else
440
- false
441
- end
442
- when :Object
443
- # generic object (usually a Hash), return directly
444
- value
445
- when /\AArray<(?<inner_type>.+)>\z/
446
- inner_type = Regexp.last_match[:inner_type]
447
- value.map { |v| _deserialize(inner_type, v) }
448
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
449
- k_type = Regexp.last_match[:k_type]
450
- v_type = Regexp.last_match[:v_type]
451
- {}.tap do |hash|
452
- value.each do |k, v|
453
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
454
- end
455
- end
456
- else # model
457
- # models (e.g. Pet) or oneOf
458
- klass = OryClient.const_get(type)
459
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
460
- end
461
- end
462
-
463
- # Returns the string representation of the object
464
- # @return [String] String presentation of the object
465
- def to_s
466
- to_hash.to_s
467
- end
468
-
469
- # to_body is an alias to to_hash (backward compatibility)
470
- # @return [Hash] Returns the object in the form of hash
471
- def to_body
472
- to_hash
473
- end
474
-
475
420
  # Returns the object in the form of hash
476
421
  # @return [Hash] Returns the object in the form of hash
477
422
  def to_hash
@@ -488,24 +433,6 @@ module OryClient
488
433
  hash
489
434
  end
490
435
 
491
- # Outputs non-array value in the form of hash
492
- # For object, use to_hash. Otherwise, just return the value
493
- # @param [Object] value Any valid value
494
- # @return [Hash] Returns the value in the form of hash
495
- def _to_hash(value)
496
- if value.is_a?(Array)
497
- value.compact.map { |v| _to_hash(v) }
498
- elsif value.is_a?(Hash)
499
- {}.tap do |hash|
500
- value.each { |k, v| hash[k] = _to_hash(v) }
501
- end
502
- elsif value.respond_to? :to_hash
503
- value.to_hash
504
- else
505
- value
506
- end
507
- end
508
-
509
436
  end
510
437
 
511
438
  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 ProjectApiKey
17
+ class ProjectApiKey < ApiModelBase
18
18
  # The token's creation date
19
19
  attr_accessor :created_at
20
20
 
@@ -247,61 +247,6 @@ module OryClient
247
247
  new(transformed_hash)
248
248
  end
249
249
 
250
- # Deserializes the data based on type
251
- # @param string type Data type
252
- # @param string value Value to be deserialized
253
- # @return [Object] Deserialized data
254
- def self._deserialize(type, value)
255
- case type.to_sym
256
- when :Time
257
- Time.parse(value)
258
- when :Date
259
- Date.parse(value)
260
- when :String
261
- value.to_s
262
- when :Integer
263
- value.to_i
264
- when :Float
265
- value.to_f
266
- when :Boolean
267
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
268
- true
269
- else
270
- false
271
- end
272
- when :Object
273
- # generic object (usually a Hash), return directly
274
- value
275
- when /\AArray<(?<inner_type>.+)>\z/
276
- inner_type = Regexp.last_match[:inner_type]
277
- value.map { |v| _deserialize(inner_type, v) }
278
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
279
- k_type = Regexp.last_match[:k_type]
280
- v_type = Regexp.last_match[:v_type]
281
- {}.tap do |hash|
282
- value.each do |k, v|
283
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
284
- end
285
- end
286
- else # model
287
- # models (e.g. Pet) or oneOf
288
- klass = OryClient.const_get(type)
289
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
290
- end
291
- end
292
-
293
- # Returns the string representation of the object
294
- # @return [String] String presentation of the object
295
- def to_s
296
- to_hash.to_s
297
- end
298
-
299
- # to_body is an alias to to_hash (backward compatibility)
300
- # @return [Hash] Returns the object in the form of hash
301
- def to_body
302
- to_hash
303
- end
304
-
305
250
  # Returns the object in the form of hash
306
251
  # @return [Hash] Returns the object in the form of hash
307
252
  def to_hash
@@ -318,24 +263,6 @@ module OryClient
318
263
  hash
319
264
  end
320
265
 
321
- # Outputs non-array value in the form of hash
322
- # For object, use to_hash. Otherwise, just return the value
323
- # @param [Object] value Any valid value
324
- # @return [Hash] Returns the value in the form of hash
325
- def _to_hash(value)
326
- if value.is_a?(Array)
327
- value.compact.map { |v| _to_hash(v) }
328
- elsif value.is_a?(Hash)
329
- {}.tap do |hash|
330
- value.each { |k, v| hash[k] = _to_hash(v) }
331
- end
332
- elsif value.respond_to? :to_hash
333
- value.to_hash
334
- else
335
- value
336
- end
337
- end
338
-
339
266
  end
340
267
 
341
268
  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 ProjectBranding
17
+ class ProjectBranding < ApiModelBase
18
18
  # The Customization Creation Date
19
19
  attr_accessor :created_at
20
20
 
@@ -279,61 +279,6 @@ module OryClient
279
279
  new(transformed_hash)
280
280
  end
281
281
 
282
- # Deserializes the data based on type
283
- # @param string type Data type
284
- # @param string value Value to be deserialized
285
- # @return [Object] Deserialized data
286
- def self._deserialize(type, value)
287
- case type.to_sym
288
- when :Time
289
- Time.parse(value)
290
- when :Date
291
- Date.parse(value)
292
- when :String
293
- value.to_s
294
- when :Integer
295
- value.to_i
296
- when :Float
297
- value.to_f
298
- when :Boolean
299
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
300
- true
301
- else
302
- false
303
- end
304
- when :Object
305
- # generic object (usually a Hash), return directly
306
- value
307
- when /\AArray<(?<inner_type>.+)>\z/
308
- inner_type = Regexp.last_match[:inner_type]
309
- value.map { |v| _deserialize(inner_type, v) }
310
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
311
- k_type = Regexp.last_match[:k_type]
312
- v_type = Regexp.last_match[:v_type]
313
- {}.tap do |hash|
314
- value.each do |k, v|
315
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
316
- end
317
- end
318
- else # model
319
- # models (e.g. Pet) or oneOf
320
- klass = OryClient.const_get(type)
321
- klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
322
- end
323
- end
324
-
325
- # Returns the string representation of the object
326
- # @return [String] String presentation of the object
327
- def to_s
328
- to_hash.to_s
329
- end
330
-
331
- # to_body is an alias to to_hash (backward compatibility)
332
- # @return [Hash] Returns the object in the form of hash
333
- def to_body
334
- to_hash
335
- end
336
-
337
282
  # Returns the object in the form of hash
338
283
  # @return [Hash] Returns the object in the form of hash
339
284
  def to_hash
@@ -350,24 +295,6 @@ module OryClient
350
295
  hash
351
296
  end
352
297
 
353
- # Outputs non-array value in the form of hash
354
- # For object, use to_hash. Otherwise, just return the value
355
- # @param [Object] value Any valid value
356
- # @return [Hash] Returns the value in the form of hash
357
- def _to_hash(value)
358
- if value.is_a?(Array)
359
- value.compact.map { |v| _to_hash(v) }
360
- elsif value.is_a?(Hash)
361
- {}.tap do |hash|
362
- value.each { |k, v| hash[k] = _to_hash(v) }
363
- end
364
- elsif value.respond_to? :to_hash
365
- value.to_hash
366
- else
367
- value
368
- end
369
- end
370
-
371
298
  end
372
299
 
373
300
  end