ory-client 0.0.1.alpha57 → 0.0.1.alpha68

Sign up to get free protection for your applications and to get access to all the features.
Files changed (397) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/README.md +16 -15
  4. data/docs/CloudAccount.md +22 -0
  5. data/docs/Identity.md +1 -1
  6. data/docs/IdentitySchema.md +6 -0
  7. data/docs/InvitePayload.md +18 -0
  8. data/docs/Project.md +2 -0
  9. data/docs/ProjectInvite.md +34 -0
  10. data/docs/ProjectRevision.md +127 -53
  11. data/docs/ProjectRevisionHook.md +46 -0
  12. data/docs/ProjectRevisionIdentitySchema.md +36 -0
  13. data/docs/ProjectRevisionThirdPartyLoginProvider.md +54 -0
  14. data/docs/QuotaProjectMemberSeats.md +22 -0
  15. data/docs/SuccessfulUpdateProjectConfig.md +20 -0
  16. data/docs/UiNodeInputAttributes.md +1 -1
  17. data/docs/UpdateProjectConfigConfig.md +18 -0
  18. data/docs/V0alpha0Api.md +78 -4
  19. data/docs/Warning.md +20 -0
  20. data/lib/ory-client/api/metadata_api.rb +2 -2
  21. data/lib/ory-client/api/v0alpha0_api.rb +86 -10
  22. data/lib/ory-client/api/v0alpha2_api.rb +38 -11
  23. data/lib/ory-client/api_client.rb +5 -5
  24. data/lib/ory-client/api_error.rb +2 -2
  25. data/lib/ory-client/configuration.rb +4 -3
  26. data/lib/ory-client/models/active_project.rb +2 -2
  27. data/lib/ory-client/models/admin_create_identity_body.rb +2 -2
  28. data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +2 -2
  29. data/lib/ory-client/models/admin_update_identity_body.rb +2 -2
  30. data/lib/ory-client/models/api_token.rb +2 -2
  31. data/lib/ory-client/models/authenticator_assurance_level.rb +2 -2
  32. data/lib/ory-client/models/{project_totp_config.rb → cloud_account.rb} +27 -20
  33. data/lib/ory-client/models/cname_settings.rb +2 -2
  34. data/lib/ory-client/models/create_custom_hostname_body.rb +2 -2
  35. data/lib/ory-client/models/create_subscription_payload.rb +2 -2
  36. data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +2 -2
  37. data/lib/ory-client/models/generic_error.rb +2 -2
  38. data/lib/ory-client/models/health_not_ready_status.rb +2 -2
  39. data/lib/ory-client/models/health_status.rb +2 -2
  40. data/lib/ory-client/models/identity.rb +3 -3
  41. data/lib/ory-client/models/identity_credentials.rb +2 -2
  42. data/lib/ory-client/models/identity_credentials_type.rb +2 -2
  43. data/lib/ory-client/models/identity_preset.rb +2 -2
  44. data/lib/ory-client/models/identity_schema.rb +43 -3
  45. data/lib/ory-client/models/identity_schema_location.rb +2 -2
  46. data/lib/ory-client/models/identity_schema_validation_result.rb +2 -2
  47. data/lib/ory-client/models/identity_state.rb +2 -2
  48. data/lib/ory-client/models/inline_response200.rb +2 -2
  49. data/lib/ory-client/models/inline_response2001.rb +2 -2
  50. data/lib/ory-client/models/inline_response503.rb +2 -2
  51. data/lib/ory-client/models/{project_recovery_config.rb → invite_payload.rb} +12 -13
  52. data/lib/ory-client/models/is_owner_for_project_by_slug.rb +2 -2
  53. data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +2 -2
  54. data/lib/ory-client/models/json_error.rb +2 -2
  55. data/lib/ory-client/models/needs_privileged_session_error.rb +2 -2
  56. data/lib/ory-client/models/null_plan.rb +2 -2
  57. data/lib/ory-client/models/pagination.rb +2 -2
  58. data/lib/ory-client/models/project.rb +19 -3
  59. data/lib/ory-client/models/project_host.rb +2 -2
  60. data/lib/ory-client/models/{project_web_authn_config.rb → project_invite.rb} +117 -41
  61. data/lib/ory-client/models/project_revision.rb +556 -218
  62. data/lib/ory-client/models/project_revision_hook.rb +367 -0
  63. data/lib/ory-client/models/{redirection_config.rb → project_revision_identity_schema.rb} +78 -56
  64. data/lib/ory-client/models/{project_oidc_config.rb → project_revision_third_party_login_provider.rb} +90 -33
  65. data/lib/ory-client/models/project_slug.rb +2 -2
  66. data/lib/ory-client/models/{redirection_field.rb → quota_project_member_seats.rb} +24 -33
  67. data/lib/ory-client/models/recovery_address.rb +2 -2
  68. data/lib/ory-client/models/revoked_sessions.rb +2 -2
  69. data/lib/ory-client/models/schema_patch.rb +2 -2
  70. data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +2 -2
  71. data/lib/ory-client/models/self_service_error.rb +2 -2
  72. data/lib/ory-client/models/self_service_flow_expired_error.rb +2 -2
  73. data/lib/ory-client/models/self_service_login_flow.rb +2 -2
  74. data/lib/ory-client/models/self_service_logout_url.rb +2 -2
  75. data/lib/ory-client/models/self_service_recovery_flow.rb +2 -2
  76. data/lib/ory-client/models/self_service_recovery_flow_state.rb +2 -2
  77. data/lib/ory-client/models/self_service_recovery_link.rb +2 -2
  78. data/lib/ory-client/models/self_service_registration_flow.rb +2 -2
  79. data/lib/ory-client/models/self_service_settings_flow.rb +2 -2
  80. data/lib/ory-client/models/self_service_settings_flow_state.rb +2 -2
  81. data/lib/ory-client/models/self_service_verification_flow.rb +2 -2
  82. data/lib/ory-client/models/self_service_verification_flow_state.rb +2 -2
  83. data/lib/ory-client/models/session.rb +2 -2
  84. data/lib/ory-client/models/session_authentication_method.rb +2 -2
  85. data/lib/ory-client/models/session_device.rb +2 -2
  86. data/lib/ory-client/models/settings_profile_form_config.rb +2 -2
  87. data/lib/ory-client/models/stripe_customer_response.rb +2 -2
  88. data/lib/ory-client/models/submit_self_service_login_flow_body.rb +2 -2
  89. data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +2 -2
  90. data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +2 -2
  91. data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +2 -2
  92. data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +2 -2
  93. data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +2 -2
  94. data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +2 -2
  95. data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +2 -2
  96. data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +2 -2
  97. data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +2 -2
  98. data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +2 -2
  99. data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +2 -2
  100. data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +2 -2
  101. data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +2 -2
  102. data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +2 -2
  103. data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +2 -2
  104. data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +2 -2
  105. data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +2 -2
  106. data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +2 -2
  107. data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +2 -2
  108. data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +2 -2
  109. data/lib/ory-client/models/subscription.rb +2 -2
  110. data/lib/ory-client/models/successful_self_service_login_without_browser.rb +2 -2
  111. data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +2 -2
  112. data/lib/ory-client/models/{project_verification_config.rb → successful_update_project_config.rb} +21 -20
  113. data/lib/ory-client/models/ui_container.rb +2 -2
  114. data/lib/ory-client/models/ui_node.rb +2 -2
  115. data/lib/ory-client/models/ui_node_anchor_attributes.rb +2 -2
  116. data/lib/ory-client/models/ui_node_attributes.rb +2 -2
  117. data/lib/ory-client/models/ui_node_image_attributes.rb +2 -2
  118. data/lib/ory-client/models/ui_node_input_attributes.rb +3 -3
  119. data/lib/ory-client/models/ui_node_meta.rb +2 -2
  120. data/lib/ory-client/models/ui_node_script_attributes.rb +2 -2
  121. data/lib/ory-client/models/ui_node_text_attributes.rb +2 -2
  122. data/lib/ory-client/models/ui_text.rb +2 -2
  123. data/lib/ory-client/models/update_custom_hostname_body.rb +2 -2
  124. data/lib/ory-client/models/{project_lookup_secret_config.rb → update_project_config_config.rb} +18 -13
  125. data/lib/ory-client/models/update_subscription_payload.rb +2 -2
  126. data/lib/ory-client/models/verifiable_identity_address.rb +2 -2
  127. data/lib/ory-client/models/version.rb +2 -2
  128. data/lib/ory-client/models/{project_password_config.rb → warning.rb} +18 -20
  129. data/lib/ory-client/version.rb +3 -3
  130. data/lib/ory-client.rb +12 -12
  131. data/ory-client.gemspec +2 -2
  132. data/spec/api/metadata_api_spec.rb +2 -2
  133. data/spec/api/v0alpha0_api_spec.rb +17 -4
  134. data/spec/api/v0alpha2_api_spec.rb +2 -2
  135. data/spec/api_client_spec.rb +4 -4
  136. data/spec/configuration_spec.rb +2 -2
  137. data/spec/models/active_project_spec.rb +2 -2
  138. data/spec/models/admin_create_identity_body_spec.rb +2 -2
  139. data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +2 -2
  140. data/spec/models/admin_update_identity_body_spec.rb +2 -2
  141. data/spec/models/api_token_spec.rb +2 -2
  142. data/spec/models/authenticator_assurance_level_spec.rb +2 -2
  143. data/spec/models/{project_password_config_spec.rb → cloud_account_spec.rb} +16 -10
  144. data/spec/models/cname_settings_spec.rb +2 -2
  145. data/spec/models/create_custom_hostname_body_spec.rb +2 -2
  146. data/spec/models/create_subscription_payload_spec.rb +2 -2
  147. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +2 -2
  148. data/spec/models/generic_error_spec.rb +2 -2
  149. data/spec/models/health_not_ready_status_spec.rb +2 -2
  150. data/spec/models/health_status_spec.rb +2 -2
  151. data/spec/models/identity_credentials_spec.rb +2 -2
  152. data/spec/models/identity_credentials_type_spec.rb +2 -2
  153. data/spec/models/identity_preset_spec.rb +2 -2
  154. data/spec/models/identity_schema_location_spec.rb +2 -2
  155. data/spec/models/identity_schema_spec.rb +20 -2
  156. data/spec/models/identity_schema_validation_result_spec.rb +2 -2
  157. data/spec/models/identity_spec.rb +2 -2
  158. data/spec/models/identity_state_spec.rb +2 -2
  159. data/spec/models/inline_response2001_spec.rb +2 -2
  160. data/spec/models/inline_response200_spec.rb +2 -2
  161. data/spec/models/inline_response503_spec.rb +2 -2
  162. data/spec/models/{project_recovery_config_spec.rb → invite_payload_spec.rb} +9 -9
  163. data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +2 -2
  164. data/spec/models/is_owner_for_project_by_slug_spec.rb +2 -2
  165. data/spec/models/json_error_spec.rb +2 -2
  166. data/spec/models/needs_privileged_session_error_spec.rb +2 -2
  167. data/spec/models/null_plan_spec.rb +2 -2
  168. data/spec/models/pagination_spec.rb +2 -2
  169. data/spec/models/project_host_spec.rb +2 -2
  170. data/spec/models/{redirection_config_spec.rb → project_invite_spec.rb} +22 -16
  171. data/spec/models/{project_oidc_config_spec.rb → project_revision_hook_spec.rb} +32 -20
  172. data/spec/models/project_revision_identity_schema_spec.rb +88 -0
  173. data/spec/models/project_revision_spec.rb +253 -31
  174. data/spec/models/{project_patch_spec.rb → project_revision_third_party_login_provider_spec.rb} +27 -45
  175. data/spec/models/project_slug_spec.rb +2 -2
  176. data/spec/models/project_spec.rb +8 -2
  177. data/spec/models/{redirection_field_spec.rb → quota_project_member_seats_spec.rb} +11 -17
  178. data/spec/models/recovery_address_spec.rb +2 -2
  179. data/spec/models/revoked_sessions_spec.rb +2 -2
  180. data/spec/models/schema_patch_spec.rb +2 -2
  181. data/spec/models/self_service_browser_location_change_required_error_spec.rb +2 -2
  182. data/spec/models/self_service_error_spec.rb +2 -2
  183. data/spec/models/self_service_flow_expired_error_spec.rb +2 -2
  184. data/spec/models/self_service_login_flow_spec.rb +2 -2
  185. data/spec/models/self_service_logout_url_spec.rb +2 -2
  186. data/spec/models/self_service_recovery_flow_spec.rb +2 -2
  187. data/spec/models/self_service_recovery_flow_state_spec.rb +2 -2
  188. data/spec/models/self_service_recovery_link_spec.rb +2 -2
  189. data/spec/models/self_service_registration_flow_spec.rb +2 -2
  190. data/spec/models/self_service_settings_flow_spec.rb +2 -2
  191. data/spec/models/self_service_settings_flow_state_spec.rb +2 -2
  192. data/spec/models/self_service_verification_flow_spec.rb +2 -2
  193. data/spec/models/self_service_verification_flow_state_spec.rb +2 -2
  194. data/spec/models/session_authentication_method_spec.rb +2 -2
  195. data/spec/models/session_device_spec.rb +2 -2
  196. data/spec/models/session_spec.rb +2 -2
  197. data/spec/models/settings_profile_form_config_spec.rb +2 -2
  198. data/spec/models/stripe_customer_response_spec.rb +2 -2
  199. data/spec/models/submit_self_service_login_flow_body_spec.rb +2 -2
  200. data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +2 -2
  201. data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +2 -2
  202. data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +2 -2
  203. data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +2 -2
  204. data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +2 -2
  205. data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +2 -2
  206. data/spec/models/submit_self_service_recovery_flow_body_spec.rb +2 -2
  207. data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +2 -2
  208. data/spec/models/submit_self_service_registration_flow_body_spec.rb +2 -2
  209. data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +2 -2
  210. data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +2 -2
  211. data/spec/models/submit_self_service_settings_flow_body_spec.rb +2 -2
  212. data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +2 -2
  213. data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +2 -2
  214. data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +2 -2
  215. data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +2 -2
  216. data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +2 -2
  217. data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +2 -2
  218. data/spec/models/submit_self_service_verification_flow_body_spec.rb +2 -2
  219. data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +2 -2
  220. data/spec/models/subscription_spec.rb +2 -2
  221. data/spec/models/successful_self_service_login_without_browser_spec.rb +2 -2
  222. data/spec/models/successful_self_service_registration_without_browser_spec.rb +2 -2
  223. data/spec/models/{project_verification_config_spec.rb → successful_update_project_config_spec.rb} +10 -10
  224. data/spec/models/ui_container_spec.rb +2 -2
  225. data/spec/models/ui_node_anchor_attributes_spec.rb +2 -2
  226. data/spec/models/ui_node_attributes_spec.rb +2 -2
  227. data/spec/models/ui_node_image_attributes_spec.rb +2 -2
  228. data/spec/models/ui_node_input_attributes_spec.rb +2 -2
  229. data/spec/models/ui_node_meta_spec.rb +2 -2
  230. data/spec/models/ui_node_script_attributes_spec.rb +2 -2
  231. data/spec/models/ui_node_spec.rb +2 -2
  232. data/spec/models/ui_node_text_attributes_spec.rb +2 -2
  233. data/spec/models/ui_text_spec.rb +2 -2
  234. data/spec/models/update_custom_hostname_body_spec.rb +2 -2
  235. data/spec/models/{project_lookup_secret_config_spec.rb → update_project_config_config_spec.rb} +9 -9
  236. data/spec/models/update_subscription_payload_spec.rb +2 -2
  237. data/spec/models/verifiable_identity_address_spec.rb +2 -2
  238. data/spec/models/version_spec.rb +2 -2
  239. data/spec/models/{project_totp_config_spec.rb → warning_spec.rb} +10 -10
  240. data/spec/spec_helper.rb +2 -2
  241. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.10.2.gem +0 -0
  242. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.10.3.gem +0 -0
  243. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  244. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  245. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  246. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.3/gem_make.out +2 -2
  247. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/gem_make.out +2 -2
  248. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/mkmf.log +1 -1
  249. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  250. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  251. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  252. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/Makefile +2 -2
  253. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/.document +0 -0
  254. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/.yardopts +0 -0
  255. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/Changelog.md +17 -2
  256. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/LICENSE.md +0 -0
  257. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/README.md +1 -1
  258. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/exe/rspec +0 -0
  259. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/autorun.rb +0 -0
  260. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/backtrace_formatter.rb +0 -0
  261. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/coordinator.rb +0 -0
  262. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
  263. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/fork_runner.rb +0 -0
  264. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/server.rb +0 -0
  265. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/shell_command.rb +0 -0
  266. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/shell_runner.rb +0 -0
  267. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/bisect/utilities.rb +12 -1
  268. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/configuration.rb +0 -0
  269. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/configuration_options.rb +0 -0
  270. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/did_you_mean.rb +0 -0
  271. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/drb.rb +0 -0
  272. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/dsl.rb +0 -0
  273. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/example.rb +1 -1
  274. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/example_group.rb +2 -0
  275. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/example_status_persister.rb +0 -0
  276. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/filter_manager.rb +0 -0
  277. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/flat_map.rb +0 -0
  278. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
  279. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/base_formatter.rb +0 -0
  280. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
  281. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
  282. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
  283. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/console_codes.rb +0 -0
  284. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
  285. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
  286. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/exception_presenter.rb +1 -1
  287. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
  288. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
  289. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/helpers.rb +0 -0
  290. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/html_formatter.rb +0 -0
  291. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/html_printer.rb +0 -0
  292. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/html_snippet_extractor.rb +0 -0
  293. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/json_formatter.rb +0 -0
  294. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
  295. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
  296. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/protocol.rb +0 -0
  297. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
  298. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
  299. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/formatters.rb +8 -2
  300. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/hooks.rb +0 -0
  301. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/invocations.rb +0 -0
  302. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/memoized_helpers.rb +0 -0
  303. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/metadata.rb +0 -0
  304. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/metadata_filter.rb +0 -0
  305. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
  306. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
  307. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
  308. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/mocking_adapters/null.rb +0 -0
  309. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
  310. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
  311. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/notifications.rb +0 -0
  312. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/option_parser.rb +0 -0
  313. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/ordering.rb +0 -0
  314. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/output_wrapper.rb +0 -0
  315. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/pending.rb +8 -16
  316. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/profiler.rb +0 -0
  317. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/project_initializer/.rspec +0 -0
  318. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/project_initializer/spec/spec_helper.rb +2 -4
  319. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/project_initializer.rb +0 -0
  320. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/rake_task.rb +0 -0
  321. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/reporter.rb +0 -0
  322. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/ruby_project.rb +0 -0
  323. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/runner.rb +0 -0
  324. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/sandbox.rb +0 -0
  325. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/set.rb +0 -0
  326. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/shared_context.rb +0 -0
  327. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/shared_example_group.rb +0 -0
  328. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/shell_escape.rb +0 -0
  329. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
  330. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/version.rb +1 -1
  331. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/warnings.rb +0 -0
  332. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core/world.rb +0 -0
  333. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.10.1 → rspec-core-3.10.2}/lib/rspec/core.rb +0 -0
  334. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/.document +0 -0
  335. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/.yardopts +0 -0
  336. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/Changelog.md +10 -1
  337. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/LICENSE.md +0 -0
  338. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/README.md +0 -0
  339. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/chain.rb +0 -0
  340. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
  341. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
  342. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
  343. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/message_chains.rb +0 -0
  344. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/proxy.rb +0 -0
  345. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
  346. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
  347. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
  348. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/any_instance.rb +0 -0
  349. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/argument_list_matcher.rb +17 -3
  350. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/argument_matchers.rb +0 -0
  351. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/configuration.rb +0 -0
  352. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/error_generator.rb +0 -0
  353. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/example_methods.rb +0 -0
  354. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
  355. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/marshal_extension.rb +0 -0
  356. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
  357. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/matchers/have_received.rb +0 -0
  358. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/matchers/receive.rb +1 -0
  359. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/matchers/receive_message_chain.rb +0 -0
  360. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/matchers/receive_messages.rb +0 -0
  361. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/message_chain.rb +0 -0
  362. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/message_expectation.rb +2 -1
  363. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/method_double.rb +0 -0
  364. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/method_reference.rb +0 -0
  365. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/minitest_integration.rb +0 -0
  366. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/mutate_const.rb +0 -0
  367. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/object_reference.rb +0 -0
  368. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/order_group.rb +0 -0
  369. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/proxy.rb +0 -0
  370. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/space.rb +0 -0
  371. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/standalone.rb +0 -0
  372. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/syntax.rb +0 -0
  373. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/targets.rb +0 -0
  374. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/test_double.rb +0 -0
  375. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/verifying_double.rb +2 -10
  376. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
  377. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/verifying_proxy.rb +0 -0
  378. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks/version.rb +1 -1
  379. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.10.2 → rspec-mocks-3.10.3}/lib/rspec/mocks.rb +0 -0
  380. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/Makefile +2 -2
  381. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-core-3.10.1.gemspec → rspec-core-3.10.2.gemspec} +5 -5
  382. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-mocks-3.10.2.gemspec → rspec-mocks-3.10.3.gemspec} +8 -8
  383. metadata +174 -174
  384. data/docs/ProjectLookupSecretConfig.md +0 -18
  385. data/docs/ProjectOidcConfig.md +0 -42
  386. data/docs/ProjectPasswordConfig.md +0 -20
  387. data/docs/ProjectPatch.md +0 -60
  388. data/docs/ProjectRecoveryConfig.md +0 -18
  389. data/docs/ProjectTotpConfig.md +0 -20
  390. data/docs/ProjectVerificationConfig.md +0 -20
  391. data/docs/ProjectWebAuthnConfig.md +0 -26
  392. data/docs/RedirectionConfig.md +0 -32
  393. data/docs/RedirectionField.md +0 -24
  394. data/lib/ory-client/models/project_patch.rb +0 -502
  395. data/spec/models/project_web_authn_config_spec.rb +0 -58
  396. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.10.1.gem +0 -0
  397. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.10.2.gem +0 -0
@@ -0,0 +1,20 @@
1
+ # OryClient::SuccessfulUpdateProjectConfig
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **project** | [**Project**](Project.md) | | [optional] |
8
+ | **warnings** | [**Array<Warning>**](Warning.md) | Import Warnings Not all configuration items can be imported to Ory Cloud. For example, setting the port does not make sense because Ory Cloud provides the runtime and networking. This field contains warnings where configuration keys were found but can not be imported. These keys will be ignored by Ory Cloud. This field will help you understand why certain configuration keys might not be respected! | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ory-client'
14
+
15
+ instance = OryClient::SuccessfulUpdateProjectConfig.new(
16
+ project: null,
17
+ warnings: null
18
+ )
19
+ ```
20
+
@@ -12,7 +12,7 @@
12
12
  | **pattern** | **String** | The input's pattern. | [optional] |
13
13
  | **required** | **Boolean** | Mark this input field as required. | [optional] |
14
14
  | **type** | **String** | | |
15
- | **value** | [**AnyType**](.md) | The input's value. | [optional] |
15
+ | **value** | **Object** | The input's value. | [optional] |
16
16
 
17
17
  ## Example
18
18
 
@@ -0,0 +1,18 @@
1
+ # OryClient::UpdateProjectConfigConfig
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **identity** | **Object** | The Ory Kratos config to import | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'ory-client'
13
+
14
+ instance = OryClient::UpdateProjectConfigConfig.new(
15
+ identity: null
16
+ )
17
+ ```
18
+
data/docs/V0alpha0Api.md CHANGED
@@ -8,6 +8,7 @@ All URIs are relative to *https://playground.projects.oryapis.com*
8
8
  | [**get_project**](V0alpha0Api.md#get_project) | **GET** /backoffice/public/projects/{project_id} | Get a Project |
9
9
  | [**list_projects**](V0alpha0Api.md#list_projects) | **GET** /backoffice/public/projects | List All Projects |
10
10
  | [**update_project**](V0alpha0Api.md#update_project) | **PUT** /backoffice/public/projects/{project_id} | Update a Project |
11
+ | [**update_project_config**](V0alpha0Api.md#update_project_config) | **PUT** /backoffice/public/projects/{project_id}/configs | Update an Ory Cloud Project Configuration |
11
12
 
12
13
 
13
14
  ## create_project
@@ -31,7 +32,7 @@ end
31
32
 
32
33
  api_instance = OryClient::V0alpha0Api.new
33
34
  opts = {
34
- project_patch: OryClient::ProjectPatch.new({error_ui_url: 'https://example.org/error', login_ui_url: 'https://example.org/login', lookup_secret: OryClient::ProjectLookupSecretConfig.new, password: OryClient::ProjectPasswordConfig.new, recovery: OryClient::ProjectRecoveryConfig.new, recovery_ui_url: 'https://example.org/recover', registration_ui_url: 'https://example.org/signup', session_after_sign_up: false, session_soft_2fa: false, settings_privileged_session_max_age_seconds: 900, settings_soft_2fa: false, settings_ui_url: 'https://example.org/settings', totp: OryClient::ProjectTotpConfig.new, verification: OryClient::ProjectVerificationConfig.new, verification_ui_url: 'https://example.org/verify', webauthn: OryClient::ProjectWebAuthnConfig.new}) # ProjectPatch |
35
+ project_revision: OryClient::ProjectRevision.new({name: 'name_example'}) # ProjectRevision |
35
36
  }
36
37
 
37
38
  begin
@@ -65,7 +66,7 @@ end
65
66
 
66
67
  | Name | Type | Description | Notes |
67
68
  | ---- | ---- | ----------- | ----- |
68
- | **project_patch** | [**ProjectPatch**](ProjectPatch.md) | | [optional] |
69
+ | **project_revision** | [**ProjectRevision**](ProjectRevision.md) | | [optional] |
69
70
 
70
71
  ### Return type
71
72
 
@@ -238,7 +239,7 @@ end
238
239
  api_instance = OryClient::V0alpha0Api.new
239
240
  project_id = 'project_id_example' # String | Project ID The project's ID.
240
241
  opts = {
241
- project_patch: OryClient::ProjectPatch.new({error_ui_url: 'https://example.org/error', login_ui_url: 'https://example.org/login', lookup_secret: OryClient::ProjectLookupSecretConfig.new, password: OryClient::ProjectPasswordConfig.new, recovery: OryClient::ProjectRecoveryConfig.new, recovery_ui_url: 'https://example.org/recover', registration_ui_url: 'https://example.org/signup', session_after_sign_up: false, session_soft_2fa: false, settings_privileged_session_max_age_seconds: 900, settings_soft_2fa: false, settings_ui_url: 'https://example.org/settings', totp: OryClient::ProjectTotpConfig.new, verification: OryClient::ProjectVerificationConfig.new, verification_ui_url: 'https://example.org/verify', webauthn: OryClient::ProjectWebAuthnConfig.new}) # ProjectPatch |
242
+ project_revision: OryClient::ProjectRevision.new({name: 'name_example'}) # ProjectRevision |
242
243
  }
243
244
 
244
245
  begin
@@ -273,7 +274,7 @@ end
273
274
  | Name | Type | Description | Notes |
274
275
  | ---- | ---- | ----------- | ----- |
275
276
  | **project_id** | **String** | Project ID The project's ID. | |
276
- | **project_patch** | [**ProjectPatch**](ProjectPatch.md) | | [optional] |
277
+ | **project_revision** | [**ProjectRevision**](ProjectRevision.md) | | [optional] |
277
278
 
278
279
  ### Return type
279
280
 
@@ -288,3 +289,76 @@ end
288
289
  - **Content-Type**: application/json
289
290
  - **Accept**: application/json
290
291
 
292
+
293
+ ## update_project_config
294
+
295
+ > <SuccessfulUpdateProjectConfig> update_project_config(project_id, opts)
296
+
297
+ Update an Ory Cloud Project Configuration
298
+
299
+ This endpoints allows you to update the Ory Cloud Project configuration for individual services (identity, permission, ...). The configuration is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to Ory Cloud, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed. Be aware that updating any service's configuration will completely override your current configuration for that service!
300
+
301
+ ### Examples
302
+
303
+ ```ruby
304
+ require 'time'
305
+ require 'ory-client'
306
+ # setup authorization
307
+ OryClient.configure do |config|
308
+ # Configure Bearer authorization: oryAccessToken
309
+ config.access_token = 'YOUR_BEARER_TOKEN'
310
+ end
311
+
312
+ api_instance = OryClient::V0alpha0Api.new
313
+ project_id = 'project_id_example' # String | Project ID The project's ID.
314
+ opts = {
315
+ update_project_config_config: OryClient::UpdateProjectConfigConfig.new({identity: 3.56}) # UpdateProjectConfigConfig |
316
+ }
317
+
318
+ begin
319
+ # Update an Ory Cloud Project Configuration
320
+ result = api_instance.update_project_config(project_id, opts)
321
+ p result
322
+ rescue OryClient::ApiError => e
323
+ puts "Error when calling V0alpha0Api->update_project_config: #{e}"
324
+ end
325
+ ```
326
+
327
+ #### Using the update_project_config_with_http_info variant
328
+
329
+ This returns an Array which contains the response data, status code and headers.
330
+
331
+ > <Array(<SuccessfulUpdateProjectConfig>, Integer, Hash)> update_project_config_with_http_info(project_id, opts)
332
+
333
+ ```ruby
334
+ begin
335
+ # Update an Ory Cloud Project Configuration
336
+ data, status_code, headers = api_instance.update_project_config_with_http_info(project_id, opts)
337
+ p status_code # => 2xx
338
+ p headers # => { ... }
339
+ p data # => <SuccessfulUpdateProjectConfig>
340
+ rescue OryClient::ApiError => e
341
+ puts "Error when calling V0alpha0Api->update_project_config_with_http_info: #{e}"
342
+ end
343
+ ```
344
+
345
+ ### Parameters
346
+
347
+ | Name | Type | Description | Notes |
348
+ | ---- | ---- | ----------- | ----- |
349
+ | **project_id** | **String** | Project ID The project&#39;s ID. | |
350
+ | **update_project_config_config** | [**UpdateProjectConfigConfig**](UpdateProjectConfigConfig.md) | | [optional] |
351
+
352
+ ### Return type
353
+
354
+ [**SuccessfulUpdateProjectConfig**](SuccessfulUpdateProjectConfig.md)
355
+
356
+ ### Authorization
357
+
358
+ [oryAccessToken](../README.md#oryAccessToken)
359
+
360
+ ### HTTP request headers
361
+
362
+ - **Content-Type**: application/json
363
+ - **Accept**: application/json
364
+
data/docs/Warning.md ADDED
@@ -0,0 +1,20 @@
1
+ # OryClient::Warning
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **code** | **Integer** | | [optional] |
8
+ | **message** | **String** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ory-client'
14
+
15
+ instance = OryClient::Warning.new(
16
+ code: null,
17
+ message: null
18
+ )
19
+ ```
20
+
@@ -3,10 +3,10 @@
3
3
 
4
4
  #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.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.57
6
+ The version of the OpenAPI document: v0.0.1-alpha.68
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.4.0
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #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.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.57
6
+ The version of the OpenAPI document: v0.0.1-alpha.68
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.4.0
10
10
 
11
11
  =end
12
12
 
@@ -22,7 +22,7 @@ module OryClient
22
22
  # Create a Project
23
23
  # Creates a new project.
24
24
  # @param [Hash] opts the optional parameters
25
- # @option opts [ProjectPatch] :project_patch
25
+ # @option opts [ProjectRevision] :project_revision
26
26
  # @return [Project]
27
27
  def create_project(opts = {})
28
28
  data, _status_code, _headers = create_project_with_http_info(opts)
@@ -32,7 +32,7 @@ module OryClient
32
32
  # Create a Project
33
33
  # Creates a new project.
34
34
  # @param [Hash] opts the optional parameters
35
- # @option opts [ProjectPatch] :project_patch
35
+ # @option opts [ProjectRevision] :project_revision
36
36
  # @return [Array<(Project, Integer, Hash)>] Project data, response status code and response headers
37
37
  def create_project_with_http_info(opts = {})
38
38
  if @api_client.config.debugging
@@ -49,13 +49,16 @@ module OryClient
49
49
  # HTTP header 'Accept' (if needed)
50
50
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
51
51
  # HTTP header 'Content-Type'
52
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
52
+ content_type = @api_client.select_header_content_type(['application/json'])
53
+ if !content_type.nil?
54
+ header_params['Content-Type'] = content_type
55
+ end
53
56
 
54
57
  # form parameters
55
58
  form_params = opts[:form_params] || {}
56
59
 
57
60
  # http body (model)
58
- post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'project_patch'])
61
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'project_revision'])
59
62
 
60
63
  # return_type
61
64
  return_type = opts[:debug_return_type] || 'Project'
@@ -204,7 +207,7 @@ module OryClient
204
207
  # Creates a new configuration revision for a project.
205
208
  # @param project_id [String] Project ID The project&#39;s ID.
206
209
  # @param [Hash] opts the optional parameters
207
- # @option opts [ProjectPatch] :project_patch
210
+ # @option opts [ProjectRevision] :project_revision
208
211
  # @return [Project]
209
212
  def update_project(project_id, opts = {})
210
213
  data, _status_code, _headers = update_project_with_http_info(project_id, opts)
@@ -215,7 +218,7 @@ module OryClient
215
218
  # Creates a new configuration revision for a project.
216
219
  # @param project_id [String] Project ID The project&#39;s ID.
217
220
  # @param [Hash] opts the optional parameters
218
- # @option opts [ProjectPatch] :project_patch
221
+ # @option opts [ProjectRevision] :project_revision
219
222
  # @return [Array<(Project, Integer, Hash)>] Project data, response status code and response headers
220
223
  def update_project_with_http_info(project_id, opts = {})
221
224
  if @api_client.config.debugging
@@ -236,13 +239,16 @@ module OryClient
236
239
  # HTTP header 'Accept' (if needed)
237
240
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
238
241
  # HTTP header 'Content-Type'
239
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
242
+ content_type = @api_client.select_header_content_type(['application/json'])
243
+ if !content_type.nil?
244
+ header_params['Content-Type'] = content_type
245
+ end
240
246
 
241
247
  # form parameters
242
248
  form_params = opts[:form_params] || {}
243
249
 
244
250
  # http body (model)
245
- post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'project_patch'])
251
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'project_revision'])
246
252
 
247
253
  # return_type
248
254
  return_type = opts[:debug_return_type] || 'Project'
@@ -266,5 +272,75 @@ module OryClient
266
272
  end
267
273
  return data, status_code, headers
268
274
  end
275
+
276
+ # Update an Ory Cloud Project Configuration
277
+ # This endpoints allows you to update the Ory Cloud Project configuration for individual services (identity, permission, ...). The configuration is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to Ory Cloud, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed. Be aware that updating any service's configuration will completely override your current configuration for that service!
278
+ # @param project_id [String] Project ID The project&#39;s ID.
279
+ # @param [Hash] opts the optional parameters
280
+ # @option opts [UpdateProjectConfigConfig] :update_project_config_config
281
+ # @return [SuccessfulUpdateProjectConfig]
282
+ def update_project_config(project_id, opts = {})
283
+ data, _status_code, _headers = update_project_config_with_http_info(project_id, opts)
284
+ data
285
+ end
286
+
287
+ # Update an Ory Cloud Project Configuration
288
+ # This endpoints allows you to update the Ory Cloud Project configuration for individual services (identity, permission, ...). The configuration is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the &#x60;version&#x60; key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to Ory Cloud, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed. Be aware that updating any service&#39;s configuration will completely override your current configuration for that service!
289
+ # @param project_id [String] Project ID The project&#39;s ID.
290
+ # @param [Hash] opts the optional parameters
291
+ # @option opts [UpdateProjectConfigConfig] :update_project_config_config
292
+ # @return [Array<(SuccessfulUpdateProjectConfig, Integer, Hash)>] SuccessfulUpdateProjectConfig data, response status code and response headers
293
+ def update_project_config_with_http_info(project_id, opts = {})
294
+ if @api_client.config.debugging
295
+ @api_client.config.logger.debug 'Calling API: V0alpha0Api.update_project_config ...'
296
+ end
297
+ # verify the required parameter 'project_id' is set
298
+ if @api_client.config.client_side_validation && project_id.nil?
299
+ fail ArgumentError, "Missing the required parameter 'project_id' when calling V0alpha0Api.update_project_config"
300
+ end
301
+ # resource path
302
+ local_var_path = '/backoffice/public/projects/{project_id}/configs'.sub('{' + 'project_id' + '}', CGI.escape(project_id.to_s))
303
+
304
+ # query parameters
305
+ query_params = opts[:query_params] || {}
306
+
307
+ # header parameters
308
+ header_params = opts[:header_params] || {}
309
+ # HTTP header 'Accept' (if needed)
310
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
311
+ # HTTP header 'Content-Type'
312
+ content_type = @api_client.select_header_content_type(['application/json'])
313
+ if !content_type.nil?
314
+ header_params['Content-Type'] = content_type
315
+ end
316
+
317
+ # form parameters
318
+ form_params = opts[:form_params] || {}
319
+
320
+ # http body (model)
321
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'update_project_config_config'])
322
+
323
+ # return_type
324
+ return_type = opts[:debug_return_type] || 'SuccessfulUpdateProjectConfig'
325
+
326
+ # auth_names
327
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
328
+
329
+ new_options = opts.merge(
330
+ :operation => :"V0alpha0Api.update_project_config",
331
+ :header_params => header_params,
332
+ :query_params => query_params,
333
+ :form_params => form_params,
334
+ :body => post_body,
335
+ :auth_names => auth_names,
336
+ :return_type => return_type
337
+ )
338
+
339
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
340
+ if @api_client.config.debugging
341
+ @api_client.config.logger.debug "API called: V0alpha0Api#update_project_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
342
+ end
343
+ return data, status_code, headers
344
+ end
269
345
  end
270
346
  end
@@ -3,10 +3,10 @@
3
3
 
4
4
  #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.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.57
6
+ The version of the OpenAPI document: v0.0.1-alpha.68
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.4.0
10
10
 
11
11
  =end
12
12
 
@@ -49,7 +49,10 @@ module OryClient
49
49
  # HTTP header 'Accept' (if needed)
50
50
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
51
51
  # HTTP header 'Content-Type'
52
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
52
+ content_type = @api_client.select_header_content_type(['application/json'])
53
+ if !content_type.nil?
54
+ header_params['Content-Type'] = content_type
55
+ end
53
56
 
54
57
  # form parameters
55
58
  form_params = opts[:form_params] || {}
@@ -110,7 +113,10 @@ module OryClient
110
113
  # HTTP header 'Accept' (if needed)
111
114
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
112
115
  # HTTP header 'Content-Type'
113
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
116
+ content_type = @api_client.select_header_content_type(['application/json'])
117
+ if !content_type.nil?
118
+ header_params['Content-Type'] = content_type
119
+ end
114
120
 
115
121
  # form parameters
116
122
  form_params = opts[:form_params] || {}
@@ -528,7 +534,10 @@ module OryClient
528
534
  # HTTP header 'Accept' (if needed)
529
535
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
530
536
  # HTTP header 'Content-Type'
531
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
537
+ content_type = @api_client.select_header_content_type(['application/json'])
538
+ if !content_type.nil?
539
+ header_params['Content-Type'] = content_type
540
+ end
532
541
 
533
542
  # form parameters
534
543
  form_params = opts[:form_params] || {}
@@ -2061,7 +2070,10 @@ module OryClient
2061
2070
  # HTTP header 'Accept' (if needed)
2062
2071
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2063
2072
  # HTTP header 'Content-Type'
2064
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded'])
2073
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded'])
2074
+ if !content_type.nil?
2075
+ header_params['Content-Type'] = content_type
2076
+ end
2065
2077
  header_params[:'X-Session-Token'] = opts[:'x_session_token'] if !opts[:'x_session_token'].nil?
2066
2078
 
2067
2079
  # form parameters
@@ -2190,7 +2202,10 @@ module OryClient
2190
2202
  # HTTP header 'Accept' (if needed)
2191
2203
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2192
2204
  # HTTP header 'Content-Type'
2193
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2205
+ content_type = @api_client.select_header_content_type(['application/json'])
2206
+ if !content_type.nil?
2207
+ header_params['Content-Type'] = content_type
2208
+ end
2194
2209
 
2195
2210
  # form parameters
2196
2211
  form_params = opts[:form_params] || {}
@@ -2261,7 +2276,10 @@ module OryClient
2261
2276
  # HTTP header 'Accept' (if needed)
2262
2277
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2263
2278
  # HTTP header 'Content-Type'
2264
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded'])
2279
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded'])
2280
+ if !content_type.nil?
2281
+ header_params['Content-Type'] = content_type
2282
+ end
2265
2283
 
2266
2284
  # form parameters
2267
2285
  form_params = opts[:form_params] || {}
@@ -2329,7 +2347,10 @@ module OryClient
2329
2347
  # HTTP header 'Accept' (if needed)
2330
2348
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2331
2349
  # HTTP header 'Content-Type'
2332
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded'])
2350
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded'])
2351
+ if !content_type.nil?
2352
+ header_params['Content-Type'] = content_type
2353
+ end
2333
2354
 
2334
2355
  # form parameters
2335
2356
  form_params = opts[:form_params] || {}
@@ -2399,7 +2420,10 @@ module OryClient
2399
2420
  # HTTP header 'Accept' (if needed)
2400
2421
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2401
2422
  # HTTP header 'Content-Type'
2402
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded'])
2423
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded'])
2424
+ if !content_type.nil?
2425
+ header_params['Content-Type'] = content_type
2426
+ end
2403
2427
  header_params[:'X-Session-Token'] = opts[:'x_session_token'] if !opts[:'x_session_token'].nil?
2404
2428
 
2405
2429
  # form parameters
@@ -2471,7 +2495,10 @@ module OryClient
2471
2495
  # HTTP header 'Accept' (if needed)
2472
2496
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2473
2497
  # HTTP header 'Content-Type'
2474
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded'])
2498
+ content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded'])
2499
+ if !content_type.nil?
2500
+ header_params['Content-Type'] = content_type
2501
+ end
2475
2502
 
2476
2503
  # form parameters
2477
2504
  form_params = opts[:form_params] || {}
@@ -3,10 +3,10 @@
3
3
 
4
4
  #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.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.57
6
+ The version of the OpenAPI document: v0.0.1-alpha.68
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.4.0
10
10
 
11
11
  =end
12
12
 
@@ -296,7 +296,7 @@ module OryClient
296
296
  @config.base_url(opts[:operation]) + path
297
297
  end
298
298
 
299
- # Update hearder and query params based on authentication settings.
299
+ # Update header and query params based on authentication settings.
300
300
  #
301
301
  # @param [Hash] header_params Header parameters
302
302
  # @param [Hash] query_params Query parameters
@@ -335,8 +335,8 @@ module OryClient
335
335
  # @param [Array] content_types array for Content-Type
336
336
  # @return [String] the Content-Type header (e.g. application/json)
337
337
  def select_header_content_type(content_types)
338
- # use application/json by default
339
- return 'application/json' if content_types.nil? || content_types.empty?
338
+ # return nil by default
339
+ return if content_types.nil? || content_types.empty?
340
340
  # use JSON when present, otherwise use the first one
341
341
  json_content_type = content_types.find { |s| json_mime?(s) }
342
342
  json_content_type || content_types.first
@@ -3,10 +3,10 @@
3
3
 
4
4
  #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.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.57
6
+ The version of the OpenAPI document: v0.0.1-alpha.68
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.4.0
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #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.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.57
6
+ The version of the OpenAPI document: v0.0.1-alpha.68
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.4.0
10
10
 
11
11
  =end
12
12
 
@@ -147,13 +147,13 @@ module OryClient
147
147
  @server_operation_variables = {}
148
148
  @api_key = {}
149
149
  @api_key_prefix = {}
150
- @timeout = 0
151
150
  @client_side_validation = true
152
151
  @verify_ssl = true
153
152
  @verify_ssl_host = true
154
153
  @params_encoding = nil
155
154
  @cert_file = nil
156
155
  @key_file = nil
156
+ @timeout = 0
157
157
  @debugging = false
158
158
  @inject_format = false
159
159
  @force_ending_format = false
@@ -279,5 +279,6 @@ module OryClient
279
279
 
280
280
  url
281
281
  end
282
+
282
283
  end
283
284
  end
@@ -3,10 +3,10 @@
3
3
 
4
4
  #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.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.57
6
+ The version of the OpenAPI document: v0.0.1-alpha.68
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.4.0
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #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.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.57
6
+ The version of the OpenAPI document: v0.0.1-alpha.68
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.4.0
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #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.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.57
6
+ The version of the OpenAPI document: v0.0.1-alpha.68
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.4.0
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #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.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.57
6
+ The version of the OpenAPI document: v0.0.1-alpha.68
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.4.0
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #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.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.57
6
+ The version of the OpenAPI document: v0.0.1-alpha.68
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.4.0
10
10
 
11
11
  =end
12
12
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #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.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.57
6
+ The version of the OpenAPI document: v0.0.1-alpha.68
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.2.1
9
+ OpenAPI Generator version: 5.4.0
10
10
 
11
11
  =end
12
12