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,367 @@
1
+ =begin
2
+ #Ory APIs
3
+
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
+
6
+ The version of the OpenAPI document: v0.0.1-alpha.68
7
+ Contact: support@ory.sh
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module OryClient
17
+ class ProjectRevisionHook
18
+ # The Hooks Config Key
19
+ attr_accessor :config_key
20
+
21
+ # The Project's Revision Creation Date
22
+ attr_accessor :created_at
23
+
24
+ # The Hook Type
25
+ attr_accessor :hook
26
+
27
+ attr_accessor :id
28
+
29
+ attr_accessor :project_revision_id
30
+
31
+ # Last Time Project's Revision was Updated
32
+ attr_accessor :updated_at
33
+
34
+ # Whether to send the API Key in the HTTP Header or as a HTTP Cookie
35
+ attr_accessor :web_hook_config_auth_api_key_in
36
+
37
+ # The name of the api key
38
+ attr_accessor :web_hook_config_auth_api_key_name
39
+
40
+ # The value of the api key
41
+ attr_accessor :web_hook_config_auth_api_key_value
42
+
43
+ # The password to be sent in the HTTP Basic Auth Header
44
+ attr_accessor :web_hook_config_auth_basic_auth_password
45
+
46
+ # The username to be sent in the HTTP Basic Auth Header
47
+ attr_accessor :web_hook_config_auth_basic_auth_user
48
+
49
+ # HTTP Auth Method to use for the Web-Hook
50
+ attr_accessor :web_hook_config_auth_type
51
+
52
+ # URI pointing to the JsonNet template used for Web-Hook payload generation. Only used for those HTTP methods, which support HTTP body payloads.
53
+ attr_accessor :web_hook_config_body
54
+
55
+ # The HTTP method to use (GET, POST, etc) for the Web-Hook
56
+ attr_accessor :web_hook_config_method
57
+
58
+ # The URL the Web-Hook should call
59
+ attr_accessor :web_hook_config_url
60
+
61
+ # Attribute mapping from ruby-style variable name to JSON key.
62
+ def self.attribute_map
63
+ {
64
+ :'config_key' => :'config_key',
65
+ :'created_at' => :'created_at',
66
+ :'hook' => :'hook',
67
+ :'id' => :'id',
68
+ :'project_revision_id' => :'project_revision_id',
69
+ :'updated_at' => :'updated_at',
70
+ :'web_hook_config_auth_api_key_in' => :'web_hook_config_auth_api_key_in',
71
+ :'web_hook_config_auth_api_key_name' => :'web_hook_config_auth_api_key_name',
72
+ :'web_hook_config_auth_api_key_value' => :'web_hook_config_auth_api_key_value',
73
+ :'web_hook_config_auth_basic_auth_password' => :'web_hook_config_auth_basic_auth_password',
74
+ :'web_hook_config_auth_basic_auth_user' => :'web_hook_config_auth_basic_auth_user',
75
+ :'web_hook_config_auth_type' => :'web_hook_config_auth_type',
76
+ :'web_hook_config_body' => :'web_hook_config_body',
77
+ :'web_hook_config_method' => :'web_hook_config_method',
78
+ :'web_hook_config_url' => :'web_hook_config_url'
79
+ }
80
+ end
81
+
82
+ # Returns all the JSON keys this model knows about
83
+ def self.acceptable_attributes
84
+ attribute_map.values
85
+ end
86
+
87
+ # Attribute type mapping.
88
+ def self.openapi_types
89
+ {
90
+ :'config_key' => :'String',
91
+ :'created_at' => :'Time',
92
+ :'hook' => :'String',
93
+ :'id' => :'String',
94
+ :'project_revision_id' => :'String',
95
+ :'updated_at' => :'Time',
96
+ :'web_hook_config_auth_api_key_in' => :'String',
97
+ :'web_hook_config_auth_api_key_name' => :'String',
98
+ :'web_hook_config_auth_api_key_value' => :'String',
99
+ :'web_hook_config_auth_basic_auth_password' => :'String',
100
+ :'web_hook_config_auth_basic_auth_user' => :'String',
101
+ :'web_hook_config_auth_type' => :'String',
102
+ :'web_hook_config_body' => :'String',
103
+ :'web_hook_config_method' => :'String',
104
+ :'web_hook_config_url' => :'String'
105
+ }
106
+ end
107
+
108
+ # List of attributes with nullable: true
109
+ def self.openapi_nullable
110
+ Set.new([
111
+ ])
112
+ end
113
+
114
+ # Initializes the object
115
+ # @param [Hash] attributes Model attributes in the form of hash
116
+ def initialize(attributes = {})
117
+ if (!attributes.is_a?(Hash))
118
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::ProjectRevisionHook` initialize method"
119
+ end
120
+
121
+ # check to see if the attribute exists and convert string to symbol for hash key
122
+ attributes = attributes.each_with_object({}) { |(k, v), h|
123
+ if (!self.class.attribute_map.key?(k.to_sym))
124
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ProjectRevisionHook`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
125
+ end
126
+ h[k.to_sym] = v
127
+ }
128
+
129
+ if attributes.key?(:'config_key')
130
+ self.config_key = attributes[:'config_key']
131
+ end
132
+
133
+ if attributes.key?(:'created_at')
134
+ self.created_at = attributes[:'created_at']
135
+ end
136
+
137
+ if attributes.key?(:'hook')
138
+ self.hook = attributes[:'hook']
139
+ end
140
+
141
+ if attributes.key?(:'id')
142
+ self.id = attributes[:'id']
143
+ end
144
+
145
+ if attributes.key?(:'project_revision_id')
146
+ self.project_revision_id = attributes[:'project_revision_id']
147
+ end
148
+
149
+ if attributes.key?(:'updated_at')
150
+ self.updated_at = attributes[:'updated_at']
151
+ end
152
+
153
+ if attributes.key?(:'web_hook_config_auth_api_key_in')
154
+ self.web_hook_config_auth_api_key_in = attributes[:'web_hook_config_auth_api_key_in']
155
+ end
156
+
157
+ if attributes.key?(:'web_hook_config_auth_api_key_name')
158
+ self.web_hook_config_auth_api_key_name = attributes[:'web_hook_config_auth_api_key_name']
159
+ end
160
+
161
+ if attributes.key?(:'web_hook_config_auth_api_key_value')
162
+ self.web_hook_config_auth_api_key_value = attributes[:'web_hook_config_auth_api_key_value']
163
+ end
164
+
165
+ if attributes.key?(:'web_hook_config_auth_basic_auth_password')
166
+ self.web_hook_config_auth_basic_auth_password = attributes[:'web_hook_config_auth_basic_auth_password']
167
+ end
168
+
169
+ if attributes.key?(:'web_hook_config_auth_basic_auth_user')
170
+ self.web_hook_config_auth_basic_auth_user = attributes[:'web_hook_config_auth_basic_auth_user']
171
+ end
172
+
173
+ if attributes.key?(:'web_hook_config_auth_type')
174
+ self.web_hook_config_auth_type = attributes[:'web_hook_config_auth_type']
175
+ end
176
+
177
+ if attributes.key?(:'web_hook_config_body')
178
+ self.web_hook_config_body = attributes[:'web_hook_config_body']
179
+ end
180
+
181
+ if attributes.key?(:'web_hook_config_method')
182
+ self.web_hook_config_method = attributes[:'web_hook_config_method']
183
+ end
184
+
185
+ if attributes.key?(:'web_hook_config_url')
186
+ self.web_hook_config_url = attributes[:'web_hook_config_url']
187
+ end
188
+ end
189
+
190
+ # Show invalid properties with the reasons. Usually used together with valid?
191
+ # @return Array for valid properties with the reasons
192
+ def list_invalid_properties
193
+ invalid_properties = Array.new
194
+ if @config_key.nil?
195
+ invalid_properties.push('invalid value for "config_key", config_key cannot be nil.')
196
+ end
197
+
198
+ if @hook.nil?
199
+ invalid_properties.push('invalid value for "hook", hook cannot be nil.')
200
+ end
201
+
202
+ invalid_properties
203
+ end
204
+
205
+ # Check to see if the all the properties in the model are valid
206
+ # @return true if the model is valid
207
+ def valid?
208
+ return false if @config_key.nil?
209
+ return false if @hook.nil?
210
+ true
211
+ end
212
+
213
+ # Checks equality by comparing each attribute.
214
+ # @param [Object] Object to be compared
215
+ def ==(o)
216
+ return true if self.equal?(o)
217
+ self.class == o.class &&
218
+ config_key == o.config_key &&
219
+ created_at == o.created_at &&
220
+ hook == o.hook &&
221
+ id == o.id &&
222
+ project_revision_id == o.project_revision_id &&
223
+ updated_at == o.updated_at &&
224
+ web_hook_config_auth_api_key_in == o.web_hook_config_auth_api_key_in &&
225
+ web_hook_config_auth_api_key_name == o.web_hook_config_auth_api_key_name &&
226
+ web_hook_config_auth_api_key_value == o.web_hook_config_auth_api_key_value &&
227
+ web_hook_config_auth_basic_auth_password == o.web_hook_config_auth_basic_auth_password &&
228
+ web_hook_config_auth_basic_auth_user == o.web_hook_config_auth_basic_auth_user &&
229
+ web_hook_config_auth_type == o.web_hook_config_auth_type &&
230
+ web_hook_config_body == o.web_hook_config_body &&
231
+ web_hook_config_method == o.web_hook_config_method &&
232
+ web_hook_config_url == o.web_hook_config_url
233
+ end
234
+
235
+ # @see the `==` method
236
+ # @param [Object] Object to be compared
237
+ def eql?(o)
238
+ self == o
239
+ end
240
+
241
+ # Calculates hash code according to all attributes.
242
+ # @return [Integer] Hash code
243
+ def hash
244
+ [config_key, created_at, hook, id, project_revision_id, updated_at, web_hook_config_auth_api_key_in, web_hook_config_auth_api_key_name, web_hook_config_auth_api_key_value, web_hook_config_auth_basic_auth_password, web_hook_config_auth_basic_auth_user, web_hook_config_auth_type, web_hook_config_body, web_hook_config_method, web_hook_config_url].hash
245
+ end
246
+
247
+ # Builds the object from hash
248
+ # @param [Hash] attributes Model attributes in the form of hash
249
+ # @return [Object] Returns the model itself
250
+ def self.build_from_hash(attributes)
251
+ new.build_from_hash(attributes)
252
+ end
253
+
254
+ # Builds the object from hash
255
+ # @param [Hash] attributes Model attributes in the form of hash
256
+ # @return [Object] Returns the model itself
257
+ def build_from_hash(attributes)
258
+ return nil unless attributes.is_a?(Hash)
259
+ self.class.openapi_types.each_pair do |key, type|
260
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
261
+ self.send("#{key}=", nil)
262
+ elsif type =~ /\AArray<(.*)>/i
263
+ # check to ensure the input is an array given that the attribute
264
+ # is documented as an array but the input is not
265
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
266
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
267
+ end
268
+ elsif !attributes[self.class.attribute_map[key]].nil?
269
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
270
+ end
271
+ end
272
+
273
+ self
274
+ end
275
+
276
+ # Deserializes the data based on type
277
+ # @param string type Data type
278
+ # @param string value Value to be deserialized
279
+ # @return [Object] Deserialized data
280
+ def _deserialize(type, value)
281
+ case type.to_sym
282
+ when :Time
283
+ Time.parse(value)
284
+ when :Date
285
+ Date.parse(value)
286
+ when :String
287
+ value.to_s
288
+ when :Integer
289
+ value.to_i
290
+ when :Float
291
+ value.to_f
292
+ when :Boolean
293
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
294
+ true
295
+ else
296
+ false
297
+ end
298
+ when :Object
299
+ # generic object (usually a Hash), return directly
300
+ value
301
+ when /\AArray<(?<inner_type>.+)>\z/
302
+ inner_type = Regexp.last_match[:inner_type]
303
+ value.map { |v| _deserialize(inner_type, v) }
304
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
305
+ k_type = Regexp.last_match[:k_type]
306
+ v_type = Regexp.last_match[:v_type]
307
+ {}.tap do |hash|
308
+ value.each do |k, v|
309
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
310
+ end
311
+ end
312
+ else # model
313
+ # models (e.g. Pet) or oneOf
314
+ klass = OryClient.const_get(type)
315
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
316
+ end
317
+ end
318
+
319
+ # Returns the string representation of the object
320
+ # @return [String] String presentation of the object
321
+ def to_s
322
+ to_hash.to_s
323
+ end
324
+
325
+ # to_body is an alias to to_hash (backward compatibility)
326
+ # @return [Hash] Returns the object in the form of hash
327
+ def to_body
328
+ to_hash
329
+ end
330
+
331
+ # Returns the object in the form of hash
332
+ # @return [Hash] Returns the object in the form of hash
333
+ def to_hash
334
+ hash = {}
335
+ self.class.attribute_map.each_pair do |attr, param|
336
+ value = self.send(attr)
337
+ if value.nil?
338
+ is_nullable = self.class.openapi_nullable.include?(attr)
339
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
340
+ end
341
+
342
+ hash[param] = _to_hash(value)
343
+ end
344
+ hash
345
+ end
346
+
347
+ # Outputs non-array value in the form of hash
348
+ # For object, use to_hash. Otherwise, just return the value
349
+ # @param [Object] value Any valid value
350
+ # @return [Hash] Returns the value in the form of hash
351
+ def _to_hash(value)
352
+ if value.is_a?(Array)
353
+ value.compact.map { |v| _to_hash(v) }
354
+ elsif value.is_a?(Hash)
355
+ {}.tap do |hash|
356
+ value.each { |k, v| hash[k] = _to_hash(v) }
357
+ end
358
+ elsif value.respond_to? :to_hash
359
+ value.to_hash
360
+ else
361
+ value
362
+ end
363
+ end
364
+
365
+ end
366
+
367
+ 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
 
@@ -14,34 +14,46 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module OryClient
17
- class RedirectionConfig
18
- attr_accessor :global
17
+ class ProjectRevisionIdentitySchema
18
+ # The Project's Revision Creation Date
19
+ attr_accessor :created_at
19
20
 
20
- attr_accessor :login
21
+ attr_accessor :id
21
22
 
22
- attr_accessor :logout
23
+ attr_accessor :identity_schema
23
24
 
24
- attr_accessor :recovery
25
+ attr_accessor :identity_schema_id
25
26
 
26
- attr_accessor :registration
27
+ # The imported (named) ID of the Identity Schema referenced in the Ory Kratos config.
28
+ attr_accessor :import_id
27
29
 
28
- attr_accessor :settings
30
+ # The ImportURL can be used to import an Identity Schema from a bse64 encoded string. In the future, this key also support HTTPS and other sources! If you import an Ory Kratos configuration, this would be akin to the `identity.schemas.#.url` key. The configuration will always return the import URL when you fetch it from the API.
31
+ attr_accessor :import_url
29
32
 
30
- attr_accessor :url_allowlist
33
+ # If true sets the default schema for identities Only one schema can ever be the default schema. If you try to add two schemas with default to true, the request will fail.
34
+ attr_accessor :is_default
31
35
 
32
- attr_accessor :verification
36
+ # Use a preset instead of a custom identity schema.
37
+ attr_accessor :preset
38
+
39
+ attr_accessor :project_revision_id
40
+
41
+ # Last Time Project's Revision was Updated
42
+ attr_accessor :updated_at
33
43
 
34
44
  # Attribute mapping from ruby-style variable name to JSON key.
35
45
  def self.attribute_map
36
46
  {
37
- :'global' => :'global',
38
- :'login' => :'login',
39
- :'logout' => :'logout',
40
- :'recovery' => :'recovery',
41
- :'registration' => :'registration',
42
- :'settings' => :'settings',
43
- :'url_allowlist' => :'url_allowlist',
44
- :'verification' => :'verification'
47
+ :'created_at' => :'created_at',
48
+ :'id' => :'id',
49
+ :'identity_schema' => :'identity_schema',
50
+ :'identity_schema_id' => :'identity_schema_id',
51
+ :'import_id' => :'import_id',
52
+ :'import_url' => :'import_url',
53
+ :'is_default' => :'is_default',
54
+ :'preset' => :'preset',
55
+ :'project_revision_id' => :'project_revision_id',
56
+ :'updated_at' => :'updated_at'
45
57
  }
46
58
  end
47
59
 
@@ -53,14 +65,16 @@ module OryClient
53
65
  # Attribute type mapping.
54
66
  def self.openapi_types
55
67
  {
56
- :'global' => :'RedirectionField',
57
- :'login' => :'RedirectionField',
58
- :'logout' => :'RedirectionField',
59
- :'recovery' => :'RedirectionField',
60
- :'registration' => :'RedirectionField',
61
- :'settings' => :'RedirectionField',
62
- :'url_allowlist' => :'Array<String>',
63
- :'verification' => :'RedirectionField'
68
+ :'created_at' => :'Time',
69
+ :'id' => :'String',
70
+ :'identity_schema' => :'IdentitySchema',
71
+ :'identity_schema_id' => :'String',
72
+ :'import_id' => :'String',
73
+ :'import_url' => :'String',
74
+ :'is_default' => :'Boolean',
75
+ :'preset' => :'String',
76
+ :'project_revision_id' => :'String',
77
+ :'updated_at' => :'Time'
64
78
  }
65
79
  end
66
80
 
@@ -74,49 +88,55 @@ module OryClient
74
88
  # @param [Hash] attributes Model attributes in the form of hash
75
89
  def initialize(attributes = {})
76
90
  if (!attributes.is_a?(Hash))
77
- fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::RedirectionConfig` initialize method"
91
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::ProjectRevisionIdentitySchema` initialize method"
78
92
  end
79
93
 
80
94
  # check to see if the attribute exists and convert string to symbol for hash key
81
95
  attributes = attributes.each_with_object({}) { |(k, v), h|
82
96
  if (!self.class.attribute_map.key?(k.to_sym))
83
- fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::RedirectionConfig`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
97
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::ProjectRevisionIdentitySchema`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
84
98
  end
85
99
  h[k.to_sym] = v
86
100
  }
87
101
 
88
- if attributes.key?(:'global')
89
- self.global = attributes[:'global']
102
+ if attributes.key?(:'created_at')
103
+ self.created_at = attributes[:'created_at']
90
104
  end
91
105
 
92
- if attributes.key?(:'login')
93
- self.login = attributes[:'login']
106
+ if attributes.key?(:'id')
107
+ self.id = attributes[:'id']
94
108
  end
95
109
 
96
- if attributes.key?(:'logout')
97
- self.logout = attributes[:'logout']
110
+ if attributes.key?(:'identity_schema')
111
+ self.identity_schema = attributes[:'identity_schema']
98
112
  end
99
113
 
100
- if attributes.key?(:'recovery')
101
- self.recovery = attributes[:'recovery']
114
+ if attributes.key?(:'identity_schema_id')
115
+ self.identity_schema_id = attributes[:'identity_schema_id']
102
116
  end
103
117
 
104
- if attributes.key?(:'registration')
105
- self.registration = attributes[:'registration']
118
+ if attributes.key?(:'import_id')
119
+ self.import_id = attributes[:'import_id']
106
120
  end
107
121
 
108
- if attributes.key?(:'settings')
109
- self.settings = attributes[:'settings']
122
+ if attributes.key?(:'import_url')
123
+ self.import_url = attributes[:'import_url']
110
124
  end
111
125
 
112
- if attributes.key?(:'url_allowlist')
113
- if (value = attributes[:'url_allowlist']).is_a?(Array)
114
- self.url_allowlist = value
115
- end
126
+ if attributes.key?(:'is_default')
127
+ self.is_default = attributes[:'is_default']
128
+ end
129
+
130
+ if attributes.key?(:'preset')
131
+ self.preset = attributes[:'preset']
132
+ end
133
+
134
+ if attributes.key?(:'project_revision_id')
135
+ self.project_revision_id = attributes[:'project_revision_id']
116
136
  end
117
137
 
118
- if attributes.key?(:'verification')
119
- self.verification = attributes[:'verification']
138
+ if attributes.key?(:'updated_at')
139
+ self.updated_at = attributes[:'updated_at']
120
140
  end
121
141
  end
122
142
 
@@ -138,14 +158,16 @@ module OryClient
138
158
  def ==(o)
139
159
  return true if self.equal?(o)
140
160
  self.class == o.class &&
141
- global == o.global &&
142
- login == o.login &&
143
- logout == o.logout &&
144
- recovery == o.recovery &&
145
- registration == o.registration &&
146
- settings == o.settings &&
147
- url_allowlist == o.url_allowlist &&
148
- verification == o.verification
161
+ created_at == o.created_at &&
162
+ id == o.id &&
163
+ identity_schema == o.identity_schema &&
164
+ identity_schema_id == o.identity_schema_id &&
165
+ import_id == o.import_id &&
166
+ import_url == o.import_url &&
167
+ is_default == o.is_default &&
168
+ preset == o.preset &&
169
+ project_revision_id == o.project_revision_id &&
170
+ updated_at == o.updated_at
149
171
  end
150
172
 
151
173
  # @see the `==` method
@@ -157,7 +179,7 @@ module OryClient
157
179
  # Calculates hash code according to all attributes.
158
180
  # @return [Integer] Hash code
159
181
  def hash
160
- [global, login, logout, recovery, registration, settings, url_allowlist, verification].hash
182
+ [created_at, id, identity_schema, identity_schema_id, import_id, import_url, is_default, preset, project_revision_id, updated_at].hash
161
183
  end
162
184
 
163
185
  # Builds the object from hash