ory-client 0.1.0.alpha12 → 0.2.0.alpha2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (315) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +13 -9
  4. data/docs/AdminUpdateIdentityBody.md +2 -0
  5. data/docs/{InlineResponse2001.md → GetVersion200Response.md} +2 -2
  6. data/docs/IdentitySchema.md +0 -2
  7. data/docs/IdentitySchemaContainer.md +20 -0
  8. data/docs/{InlineResponse200.md → IsAlive200Response.md} +2 -2
  9. data/docs/{InlineResponse503.md → IsReady503Response.md} +2 -2
  10. data/docs/JsonPatch.md +4 -2
  11. data/docs/MetadataApi.md +12 -12
  12. data/docs/Pagination.md +1 -1
  13. data/docs/SubmitSelfServiceLoginFlowWithWebAuthnMethodBody.md +1 -1
  14. data/docs/TokenPagination.md +20 -0
  15. data/docs/TokenPaginationHeaders.md +20 -0
  16. data/docs/UiNodeInputAttributes.md +3 -1
  17. data/docs/V0alpha2Api.md +96 -22
  18. data/docs/VerifiableIdentityAddress.md +1 -1
  19. data/lib/ory-client/api/metadata_api.rb +11 -11
  20. data/lib/ory-client/api/read_api.rb +2 -2
  21. data/lib/ory-client/api/v0alpha2_api.rb +98 -28
  22. data/lib/ory-client/api/write_api.rb +2 -2
  23. data/lib/ory-client/api_client.rb +5 -3
  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 +3 -2
  27. data/lib/ory-client/models/admin_create_identity_body.rb +3 -2
  28. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc.rb +3 -2
  29. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_config.rb +3 -2
  30. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_provider.rb +3 -2
  31. data/lib/ory-client/models/admin_create_identity_import_credentials_password.rb +3 -2
  32. data/lib/ory-client/models/admin_create_identity_import_credentials_password_config.rb +3 -2
  33. data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +3 -2
  34. data/lib/ory-client/models/admin_identity_import_credentials.rb +3 -2
  35. data/lib/ory-client/models/admin_update_identity_body.rb +13 -3
  36. data/lib/ory-client/models/api_token.rb +3 -2
  37. data/lib/ory-client/models/authenticator_assurance_level.rb +2 -2
  38. data/lib/ory-client/models/cloud_account.rb +3 -2
  39. data/lib/ory-client/models/cname_settings.rb +3 -2
  40. data/lib/ory-client/models/create_custom_hostname_body.rb +3 -2
  41. data/lib/ory-client/models/create_project_body.rb +3 -2
  42. data/lib/ory-client/models/create_subscription_payload.rb +3 -2
  43. data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +3 -2
  44. data/lib/ory-client/models/expand_tree.rb +3 -2
  45. data/lib/ory-client/models/generic_error.rb +3 -2
  46. data/lib/ory-client/models/generic_error_content.rb +3 -2
  47. data/lib/ory-client/models/get_check_response.rb +3 -2
  48. data/lib/ory-client/models/get_relation_tuples_response.rb +3 -2
  49. data/lib/ory-client/models/{inline_response2001.rb → get_version200_response.rb} +6 -5
  50. data/lib/ory-client/models/health_not_ready_status.rb +3 -2
  51. data/lib/ory-client/models/health_status.rb +3 -2
  52. data/lib/ory-client/models/identity.rb +3 -2
  53. data/lib/ory-client/models/identity_credentials.rb +3 -2
  54. data/lib/ory-client/models/identity_credentials_oidc.rb +3 -2
  55. data/lib/ory-client/models/identity_credentials_oidc_provider.rb +3 -2
  56. data/lib/ory-client/models/identity_credentials_password.rb +3 -2
  57. data/lib/ory-client/models/identity_credentials_type.rb +2 -2
  58. data/lib/ory-client/models/identity_schema.rb +4 -13
  59. data/lib/ory-client/models/identity_schema_container.rb +229 -0
  60. data/lib/ory-client/models/identity_schema_location.rb +3 -2
  61. data/lib/ory-client/models/identity_schema_preset.rb +3 -2
  62. data/lib/ory-client/models/identity_schema_validation_result.rb +3 -2
  63. data/lib/ory-client/models/identity_state.rb +2 -2
  64. data/lib/ory-client/models/internal_relation_tuple.rb +3 -2
  65. data/lib/ory-client/models/invite_payload.rb +3 -2
  66. data/lib/ory-client/models/{inline_response200.rb → is_alive200_response.rb} +6 -5
  67. data/lib/ory-client/models/is_owner_for_project_by_slug.rb +3 -2
  68. data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +3 -2
  69. data/lib/ory-client/models/{inline_response503.rb → is_ready503_response.rb} +6 -5
  70. data/lib/ory-client/models/json_error.rb +3 -2
  71. data/lib/ory-client/models/json_patch.rb +14 -3
  72. data/lib/ory-client/models/keto_namespace.rb +3 -2
  73. data/lib/ory-client/models/needs_privileged_session_error.rb +3 -2
  74. data/lib/ory-client/models/normalized_project.rb +3 -2
  75. data/lib/ory-client/models/normalized_project_revision.rb +3 -2
  76. data/lib/ory-client/models/normalized_project_revision_hook.rb +3 -2
  77. data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +3 -2
  78. data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +3 -2
  79. data/lib/ory-client/models/null_plan.rb +2 -2
  80. data/lib/ory-client/models/pagination.rb +4 -3
  81. data/lib/ory-client/models/patch_delta.rb +3 -2
  82. data/lib/ory-client/models/project.rb +3 -2
  83. data/lib/ory-client/models/project_host.rb +3 -2
  84. data/lib/ory-client/models/project_invite.rb +3 -2
  85. data/lib/ory-client/models/project_metadata.rb +3 -2
  86. data/lib/ory-client/models/project_service_identity.rb +3 -2
  87. data/lib/ory-client/models/project_service_permission.rb +3 -2
  88. data/lib/ory-client/models/project_services.rb +3 -2
  89. data/lib/ory-client/models/provision_mock_subscription_payload.rb +3 -2
  90. data/lib/ory-client/models/quota_custom_domains.rb +3 -2
  91. data/lib/ory-client/models/quota_project_member_seats.rb +3 -2
  92. data/lib/ory-client/models/recovery_address.rb +3 -2
  93. data/lib/ory-client/models/relation_query.rb +3 -2
  94. data/lib/ory-client/models/revoked_sessions.rb +3 -2
  95. data/lib/ory-client/models/schema_patch.rb +3 -2
  96. data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +3 -2
  97. data/lib/ory-client/models/self_service_error.rb +3 -2
  98. data/lib/ory-client/models/self_service_flow_expired_error.rb +3 -2
  99. data/lib/ory-client/models/self_service_login_flow.rb +3 -2
  100. data/lib/ory-client/models/self_service_logout_url.rb +3 -2
  101. data/lib/ory-client/models/self_service_recovery_flow.rb +3 -2
  102. data/lib/ory-client/models/self_service_recovery_flow_state.rb +2 -2
  103. data/lib/ory-client/models/self_service_recovery_link.rb +3 -2
  104. data/lib/ory-client/models/self_service_registration_flow.rb +3 -2
  105. data/lib/ory-client/models/self_service_settings_flow.rb +3 -2
  106. data/lib/ory-client/models/self_service_settings_flow_state.rb +2 -2
  107. data/lib/ory-client/models/self_service_verification_flow.rb +3 -2
  108. data/lib/ory-client/models/self_service_verification_flow_state.rb +2 -2
  109. data/lib/ory-client/models/session.rb +3 -2
  110. data/lib/ory-client/models/session_authentication_method.rb +3 -2
  111. data/lib/ory-client/models/session_device.rb +3 -2
  112. data/lib/ory-client/models/settings_profile_form_config.rb +3 -2
  113. data/lib/ory-client/models/stripe_customer_response.rb +3 -2
  114. data/lib/ory-client/models/subject_set.rb +3 -2
  115. data/lib/ory-client/models/submit_self_service_flow_with_web_authn_registration_method.rb +3 -2
  116. data/lib/ory-client/models/submit_self_service_login_flow_body.rb +4 -4
  117. data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +3 -2
  118. data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +3 -2
  119. data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +3 -2
  120. data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +3 -2
  121. data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +9 -3
  122. data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +3 -2
  123. data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +4 -4
  124. data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +3 -2
  125. data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +4 -4
  126. data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +3 -2
  127. data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +3 -2
  128. data/lib/ory-client/models/submit_self_service_registration_flow_with_web_authn_method_body.rb +3 -2
  129. data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +4 -4
  130. data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +3 -2
  131. data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +3 -2
  132. data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +3 -2
  133. data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +3 -2
  134. data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +3 -2
  135. data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +3 -2
  136. data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +4 -4
  137. data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +3 -2
  138. data/lib/ory-client/models/subscription.rb +3 -2
  139. data/lib/ory-client/models/successful_project_update.rb +3 -2
  140. data/lib/ory-client/models/successful_self_service_login_without_browser.rb +3 -2
  141. data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +3 -2
  142. data/lib/ory-client/models/token_pagination.rb +264 -0
  143. data/lib/ory-client/models/token_pagination_headers.rb +230 -0
  144. data/lib/ory-client/models/ui_container.rb +3 -2
  145. data/lib/ory-client/models/ui_node.rb +3 -2
  146. data/lib/ory-client/models/ui_node_anchor_attributes.rb +3 -2
  147. data/lib/ory-client/models/ui_node_attributes.rb +4 -4
  148. data/lib/ory-client/models/ui_node_image_attributes.rb +3 -2
  149. data/lib/ory-client/models/ui_node_input_attributes.rb +49 -3
  150. data/lib/ory-client/models/ui_node_meta.rb +3 -2
  151. data/lib/ory-client/models/ui_node_script_attributes.rb +3 -2
  152. data/lib/ory-client/models/ui_node_text_attributes.rb +3 -2
  153. data/lib/ory-client/models/ui_text.rb +3 -2
  154. data/lib/ory-client/models/update_custom_hostname_body.rb +3 -2
  155. data/lib/ory-client/models/update_project.rb +3 -2
  156. data/lib/ory-client/models/update_subscription_payload.rb +3 -2
  157. data/lib/ory-client/models/verifiable_identity_address.rb +3 -7
  158. data/lib/ory-client/models/version.rb +3 -2
  159. data/lib/ory-client/models/warning.rb +3 -2
  160. data/lib/ory-client/version.rb +3 -3
  161. data/lib/ory-client.rb +8 -5
  162. data/ory-client.gemspec +2 -2
  163. data/spec/api/metadata_api_spec.rb +5 -5
  164. data/spec/api/read_api_spec.rb +2 -2
  165. data/spec/api/v0alpha2_api_spec.rb +24 -11
  166. data/spec/api/write_api_spec.rb +2 -2
  167. data/spec/api_client_spec.rb +2 -2
  168. data/spec/configuration_spec.rb +2 -2
  169. data/spec/models/active_project_spec.rb +2 -2
  170. data/spec/models/admin_create_identity_body_spec.rb +2 -2
  171. data/spec/models/admin_create_identity_import_credentials_oidc_config_spec.rb +2 -2
  172. data/spec/models/admin_create_identity_import_credentials_oidc_provider_spec.rb +2 -2
  173. data/spec/models/admin_create_identity_import_credentials_oidc_spec.rb +2 -2
  174. data/spec/models/admin_create_identity_import_credentials_password_config_spec.rb +2 -2
  175. data/spec/models/admin_create_identity_import_credentials_password_spec.rb +2 -2
  176. data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +2 -2
  177. data/spec/models/admin_identity_import_credentials_spec.rb +2 -2
  178. data/spec/models/admin_update_identity_body_spec.rb +8 -2
  179. data/spec/models/api_token_spec.rb +2 -2
  180. data/spec/models/authenticator_assurance_level_spec.rb +2 -2
  181. data/spec/models/cloud_account_spec.rb +2 -2
  182. data/spec/models/cname_settings_spec.rb +2 -2
  183. data/spec/models/create_custom_hostname_body_spec.rb +2 -2
  184. data/spec/models/create_project_body_spec.rb +2 -2
  185. data/spec/models/create_subscription_payload_spec.rb +2 -2
  186. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +2 -2
  187. data/spec/models/expand_tree_spec.rb +2 -2
  188. data/spec/models/generic_error_content_spec.rb +2 -2
  189. data/spec/models/generic_error_spec.rb +2 -2
  190. data/spec/models/get_check_response_spec.rb +2 -2
  191. data/spec/models/get_relation_tuples_response_spec.rb +2 -2
  192. data/spec/models/{inline_response2001_spec.rb → get_version200_response_spec.rb} +8 -8
  193. data/spec/models/health_not_ready_status_spec.rb +2 -2
  194. data/spec/models/health_status_spec.rb +2 -2
  195. data/spec/models/identity_credentials_oidc_provider_spec.rb +2 -2
  196. data/spec/models/identity_credentials_oidc_spec.rb +2 -2
  197. data/spec/models/identity_credentials_password_spec.rb +2 -2
  198. data/spec/models/identity_credentials_spec.rb +2 -2
  199. data/spec/models/identity_credentials_type_spec.rb +2 -2
  200. data/spec/models/identity_schema_container_spec.rb +40 -0
  201. data/spec/models/identity_schema_location_spec.rb +2 -2
  202. data/spec/models/identity_schema_preset_spec.rb +2 -2
  203. data/spec/models/identity_schema_spec.rb +2 -8
  204. data/spec/models/identity_schema_validation_result_spec.rb +2 -2
  205. data/spec/models/identity_spec.rb +2 -2
  206. data/spec/models/identity_state_spec.rb +2 -2
  207. data/spec/models/internal_relation_tuple_spec.rb +2 -2
  208. data/spec/models/invite_payload_spec.rb +2 -2
  209. data/spec/models/{inline_response200_spec.rb → is_alive200_response_spec.rb} +8 -8
  210. data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +2 -2
  211. data/spec/models/is_owner_for_project_by_slug_spec.rb +2 -2
  212. data/spec/models/{inline_response503_spec.rb → is_ready503_response_spec.rb} +8 -8
  213. data/spec/models/json_error_spec.rb +2 -2
  214. data/spec/models/json_patch_spec.rb +8 -2
  215. data/spec/models/keto_namespace_spec.rb +2 -2
  216. data/spec/models/needs_privileged_session_error_spec.rb +2 -2
  217. data/spec/models/normalized_project_revision_hook_spec.rb +2 -2
  218. data/spec/models/normalized_project_revision_identity_schema_spec.rb +2 -2
  219. data/spec/models/normalized_project_revision_spec.rb +2 -2
  220. data/spec/models/normalized_project_revision_third_party_provider_spec.rb +2 -2
  221. data/spec/models/normalized_project_spec.rb +2 -2
  222. data/spec/models/null_plan_spec.rb +2 -2
  223. data/spec/models/pagination_spec.rb +2 -2
  224. data/spec/models/patch_delta_spec.rb +2 -2
  225. data/spec/models/project_host_spec.rb +2 -2
  226. data/spec/models/project_invite_spec.rb +2 -2
  227. data/spec/models/project_metadata_spec.rb +2 -2
  228. data/spec/models/project_service_identity_spec.rb +2 -2
  229. data/spec/models/project_service_permission_spec.rb +2 -2
  230. data/spec/models/project_services_spec.rb +2 -2
  231. data/spec/models/project_spec.rb +2 -2
  232. data/spec/models/provision_mock_subscription_payload_spec.rb +2 -2
  233. data/spec/models/quota_custom_domains_spec.rb +2 -2
  234. data/spec/models/quota_project_member_seats_spec.rb +2 -2
  235. data/spec/models/recovery_address_spec.rb +2 -2
  236. data/spec/models/relation_query_spec.rb +2 -2
  237. data/spec/models/revoked_sessions_spec.rb +2 -2
  238. data/spec/models/schema_patch_spec.rb +2 -2
  239. data/spec/models/self_service_browser_location_change_required_error_spec.rb +2 -2
  240. data/spec/models/self_service_error_spec.rb +2 -2
  241. data/spec/models/self_service_flow_expired_error_spec.rb +2 -2
  242. data/spec/models/self_service_login_flow_spec.rb +2 -2
  243. data/spec/models/self_service_logout_url_spec.rb +2 -2
  244. data/spec/models/self_service_recovery_flow_spec.rb +2 -2
  245. data/spec/models/self_service_recovery_flow_state_spec.rb +2 -2
  246. data/spec/models/self_service_recovery_link_spec.rb +2 -2
  247. data/spec/models/self_service_registration_flow_spec.rb +2 -2
  248. data/spec/models/self_service_settings_flow_spec.rb +2 -2
  249. data/spec/models/self_service_settings_flow_state_spec.rb +2 -2
  250. data/spec/models/self_service_verification_flow_spec.rb +2 -2
  251. data/spec/models/self_service_verification_flow_state_spec.rb +2 -2
  252. data/spec/models/session_authentication_method_spec.rb +2 -2
  253. data/spec/models/session_device_spec.rb +2 -2
  254. data/spec/models/session_spec.rb +2 -2
  255. data/spec/models/settings_profile_form_config_spec.rb +2 -2
  256. data/spec/models/stripe_customer_response_spec.rb +2 -2
  257. data/spec/models/subject_set_spec.rb +2 -2
  258. data/spec/models/submit_self_service_flow_with_web_authn_registration_method_spec.rb +2 -2
  259. data/spec/models/submit_self_service_login_flow_body_spec.rb +2 -2
  260. data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +2 -2
  261. data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +2 -2
  262. data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +2 -2
  263. data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +2 -2
  264. data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +2 -2
  265. data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +2 -2
  266. data/spec/models/submit_self_service_recovery_flow_body_spec.rb +2 -2
  267. data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +2 -2
  268. data/spec/models/submit_self_service_registration_flow_body_spec.rb +2 -2
  269. data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +2 -2
  270. data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +2 -2
  271. data/spec/models/submit_self_service_registration_flow_with_web_authn_method_body_spec.rb +2 -2
  272. data/spec/models/submit_self_service_settings_flow_body_spec.rb +2 -2
  273. data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +2 -2
  274. data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +2 -2
  275. data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +2 -2
  276. data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +2 -2
  277. data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +2 -2
  278. data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +2 -2
  279. data/spec/models/submit_self_service_verification_flow_body_spec.rb +2 -2
  280. data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +2 -2
  281. data/spec/models/subscription_spec.rb +2 -2
  282. data/spec/models/successful_project_update_spec.rb +2 -2
  283. data/spec/models/successful_self_service_login_without_browser_spec.rb +2 -2
  284. data/spec/models/successful_self_service_registration_without_browser_spec.rb +2 -2
  285. data/spec/models/token_pagination_headers_spec.rb +40 -0
  286. data/spec/models/token_pagination_spec.rb +40 -0
  287. data/spec/models/ui_container_spec.rb +2 -2
  288. data/spec/models/ui_node_anchor_attributes_spec.rb +2 -2
  289. data/spec/models/ui_node_attributes_spec.rb +2 -2
  290. data/spec/models/ui_node_image_attributes_spec.rb +2 -2
  291. data/spec/models/ui_node_input_attributes_spec.rb +12 -2
  292. data/spec/models/ui_node_meta_spec.rb +2 -2
  293. data/spec/models/ui_node_script_attributes_spec.rb +2 -2
  294. data/spec/models/ui_node_spec.rb +2 -2
  295. data/spec/models/ui_node_text_attributes_spec.rb +2 -2
  296. data/spec/models/ui_text_spec.rb +2 -2
  297. data/spec/models/update_custom_hostname_body_spec.rb +2 -2
  298. data/spec/models/update_project_spec.rb +2 -2
  299. data/spec/models/update_subscription_payload_spec.rb +2 -2
  300. data/spec/models/verifiable_identity_address_spec.rb +2 -2
  301. data/spec/models/version_spec.rb +2 -2
  302. data/spec/models/warning_spec.rb +2 -2
  303. data/spec/spec_helper.rb +2 -2
  304. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  305. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  306. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  307. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.4/gem_make.out +2 -2
  308. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/gem_make.out +2 -2
  309. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/mkmf.log +1 -1
  310. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  311. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  312. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  313. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.4/ext/psych/Makefile +2 -2
  314. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.2/ext/stringio/Makefile +2 -2
  315. metadata +27 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1fa80f9b16172ececad47495f83ec2e8838c17f95b62d6d5107cf212b42dc7b3
4
- data.tar.gz: 9f0c2a39d6fd0cdf170942985242c166c43045abc56d16875e2ad135d8e7d950
3
+ metadata.gz: 3b197289218b64be621dcff304dc2eb4898a2f6819d7433cd0a36313d4c3376f
4
+ data.tar.gz: f37671fde7d32e9070aba8f838fd7bea3000d8368f6b94c988990e22bab20c7b
5
5
  SHA512:
6
- metadata.gz: fee4a5d6f4674108fbe24557788690a166bfd15c7f8cf255697413bc07764d3ff33513372fd4dffe461142228833c1e0bfb702b2dc948d9ddd0fd652f26f0ae8
7
- data.tar.gz: 0a53733cab73b2253721adcea07d11b0ce9afacc9a2f3aaf2cf6128c2186592909d31d1d842ee1ab3a90833753b849a146bfe00880ad57739f36f66139749826
6
+ metadata.gz: 9365e83b6da8889a3fab8262bb99d10729ba7eac089ba4951c7ce96660f1875e9b19450230f3284bb1722f630960bbbfbcc15b21390a93496288bbf1e9395092
7
+ data.tar.gz: 8eefb7bf2c2e002e067370db97e3432d85ce559498ce79b9bf38edf1a2253fc8c03fd84d2f916ddd56ed2727384b39a8fea70e966a2b64f1a223264110f88953
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ory-client (0.1.0.alpha12)
4
+ ory-client (0.2.0.alpha2)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -8,8 +8,8 @@ with a valid Personal Access Token. Public APIs are mostly used in browsers.
8
8
 
9
9
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
10
10
 
11
- - API version: v0.1.0-alpha.12
12
- - Package version: v0.1.0-alpha.12
11
+ - API version: v0.2.0-alpha.2
12
+ - Package version: v0.2.0-alpha.2
13
13
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
14
14
 
15
15
  ## Installation
@@ -25,16 +25,16 @@ gem build ory-client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./ory-client-v0.1.0-alpha.12.gem
28
+ gem install ./ory-client-v0.2.0-alpha.2.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./ory-client-v0.1.0-alpha.12.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./ory-client-v0.2.0-alpha.2.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'ory-client', '~> v0.1.0-alpha.12'
37
+ gem 'ory-client', '~> v0.2.0-alpha.2'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -99,10 +99,11 @@ Class | Method | HTTP request | Description
99
99
  *OryClient::V0alpha2Api* | [**admin_get_identity**](docs/V0alpha2Api.md#admin_get_identity) | **GET** /admin/identities/{id} | Get an Identity
100
100
  *OryClient::V0alpha2Api* | [**admin_list_identities**](docs/V0alpha2Api.md#admin_list_identities) | **GET** /admin/identities | List Identities
101
101
  *OryClient::V0alpha2Api* | [**admin_list_identity_sessions**](docs/V0alpha2Api.md#admin_list_identity_sessions) | **GET** /admin/identities/{id}/sessions | This endpoint returns all sessions that belong to the given Identity.
102
+ *OryClient::V0alpha2Api* | [**admin_patch_identity**](docs/V0alpha2Api.md#admin_patch_identity) | **PATCH** /admin/identities/{id} | Partially updates an Identity's field using [JSON Patch](https://jsonpatch.com/)
102
103
  *OryClient::V0alpha2Api* | [**admin_update_identity**](docs/V0alpha2Api.md#admin_update_identity) | **PUT** /admin/identities/{id} | Update an Identity
103
104
  *OryClient::V0alpha2Api* | [**create_project**](docs/V0alpha2Api.md#create_project) | **POST** /projects | Create a Project
104
105
  *OryClient::V0alpha2Api* | [**create_self_service_logout_flow_url_for_browsers**](docs/V0alpha2Api.md#create_self_service_logout_flow_url_for_browsers) | **GET** /self-service/logout/browser | Create a Logout URL for Browsers
105
- *OryClient::V0alpha2Api* | [**get_json_schema**](docs/V0alpha2Api.md#get_json_schema) | **GET** /schemas/{id} |
106
+ *OryClient::V0alpha2Api* | [**get_identity_schema**](docs/V0alpha2Api.md#get_identity_schema) | **GET** /schemas/{id} |
106
107
  *OryClient::V0alpha2Api* | [**get_project**](docs/V0alpha2Api.md#get_project) | **GET** /projects/{project_id} | Get a Project
107
108
  *OryClient::V0alpha2Api* | [**get_project_members**](docs/V0alpha2Api.md#get_project_members) | **GET** /projects/{project_id}/members | Get all members associated with this project.
108
109
  *OryClient::V0alpha2Api* | [**get_self_service_error**](docs/V0alpha2Api.md#get_self_service_error) | **GET** /self-service/errors | Get Self-Service Errors
@@ -169,6 +170,7 @@ Class | Method | HTTP request | Description
169
170
  - [OryClient::GenericErrorContent](docs/GenericErrorContent.md)
170
171
  - [OryClient::GetCheckResponse](docs/GetCheckResponse.md)
171
172
  - [OryClient::GetRelationTuplesResponse](docs/GetRelationTuplesResponse.md)
173
+ - [OryClient::GetVersion200Response](docs/GetVersion200Response.md)
172
174
  - [OryClient::HealthNotReadyStatus](docs/HealthNotReadyStatus.md)
173
175
  - [OryClient::HealthStatus](docs/HealthStatus.md)
174
176
  - [OryClient::Identity](docs/Identity.md)
@@ -178,17 +180,17 @@ Class | Method | HTTP request | Description
178
180
  - [OryClient::IdentityCredentialsPassword](docs/IdentityCredentialsPassword.md)
179
181
  - [OryClient::IdentityCredentialsType](docs/IdentityCredentialsType.md)
180
182
  - [OryClient::IdentitySchema](docs/IdentitySchema.md)
183
+ - [OryClient::IdentitySchemaContainer](docs/IdentitySchemaContainer.md)
181
184
  - [OryClient::IdentitySchemaLocation](docs/IdentitySchemaLocation.md)
182
185
  - [OryClient::IdentitySchemaPreset](docs/IdentitySchemaPreset.md)
183
186
  - [OryClient::IdentitySchemaValidationResult](docs/IdentitySchemaValidationResult.md)
184
187
  - [OryClient::IdentityState](docs/IdentityState.md)
185
- - [OryClient::InlineResponse200](docs/InlineResponse200.md)
186
- - [OryClient::InlineResponse2001](docs/InlineResponse2001.md)
187
- - [OryClient::InlineResponse503](docs/InlineResponse503.md)
188
188
  - [OryClient::InternalRelationTuple](docs/InternalRelationTuple.md)
189
189
  - [OryClient::InvitePayload](docs/InvitePayload.md)
190
+ - [OryClient::IsAlive200Response](docs/IsAlive200Response.md)
190
191
  - [OryClient::IsOwnerForProjectBySlug](docs/IsOwnerForProjectBySlug.md)
191
192
  - [OryClient::IsOwnerForProjectBySlugPayload](docs/IsOwnerForProjectBySlugPayload.md)
193
+ - [OryClient::IsReady503Response](docs/IsReady503Response.md)
192
194
  - [OryClient::JsonError](docs/JsonError.md)
193
195
  - [OryClient::JsonPatch](docs/JsonPatch.md)
194
196
  - [OryClient::KetoNamespace](docs/KetoNamespace.md)
@@ -261,6 +263,8 @@ Class | Method | HTTP request | Description
261
263
  - [OryClient::SuccessfulProjectUpdate](docs/SuccessfulProjectUpdate.md)
262
264
  - [OryClient::SuccessfulSelfServiceLoginWithoutBrowser](docs/SuccessfulSelfServiceLoginWithoutBrowser.md)
263
265
  - [OryClient::SuccessfulSelfServiceRegistrationWithoutBrowser](docs/SuccessfulSelfServiceRegistrationWithoutBrowser.md)
266
+ - [OryClient::TokenPagination](docs/TokenPagination.md)
267
+ - [OryClient::TokenPaginationHeaders](docs/TokenPaginationHeaders.md)
264
268
  - [OryClient::UiContainer](docs/UiContainer.md)
265
269
  - [OryClient::UiNode](docs/UiNode.md)
266
270
  - [OryClient::UiNodeAnchorAttributes](docs/UiNodeAnchorAttributes.md)
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **credentials** | [**AdminIdentityImportCredentials**](AdminIdentityImportCredentials.md) | | [optional] |
7
8
  | **metadata_admin** | **Object** | Store metadata about the user which is only accessible through admin APIs such as `GET /admin/identities/<id>`. | [optional] |
8
9
  | **metadata_public** | **Object** | Store metadata about the identity which the identity itself can see when calling for example the session endpoint. Do not store sensitive information (e.g. credit score) about the identity in this field. | [optional] |
9
10
  | **schema_id** | **String** | SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. If set will update the Identity's SchemaID. | |
@@ -16,6 +17,7 @@
16
17
  require 'ory-client'
17
18
 
18
19
  instance = OryClient::AdminUpdateIdentityBody.new(
20
+ credentials: null,
19
21
  metadata_admin: null,
20
22
  metadata_public: null,
21
23
  schema_id: null,
@@ -1,4 +1,4 @@
1
- # OryClient::InlineResponse2001
1
+ # OryClient::GetVersion200Response
2
2
 
3
3
  ## Properties
4
4
 
@@ -11,7 +11,7 @@
11
11
  ```ruby
12
12
  require 'ory-client'
13
13
 
14
- instance = OryClient::InlineResponse2001.new(
14
+ instance = OryClient::GetVersion200Response.new(
15
15
  version: null
16
16
  )
17
17
  ```
@@ -10,7 +10,6 @@
10
10
  | **created_at** | **Time** | The Schema's Creation Date | [readonly] |
11
11
  | **id** | **String** | | |
12
12
  | **name** | **String** | The schema name This is set by the user and is for them to easily recognise their schema | |
13
- | **schema** | **Object** | The actual Identity JSON Schema | [optional] |
14
13
  | **updated_at** | **Time** | Last Time Schema was Updated | [readonly] |
15
14
 
16
15
  ## Example
@@ -25,7 +24,6 @@ instance = OryClient::IdentitySchema.new(
25
24
  created_at: null,
26
25
  id: null,
27
26
  name: CustomerIdentity,
28
- schema: null,
29
27
  updated_at: null
30
28
  )
31
29
  ```
@@ -0,0 +1,20 @@
1
+ # OryClient::IdentitySchemaContainer
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | The ID of the Identity JSON Schema | [optional] |
8
+ | **schema** | [**IdentitySchema**](IdentitySchema.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ory-client'
14
+
15
+ instance = OryClient::IdentitySchemaContainer.new(
16
+ id: null,
17
+ schema: null
18
+ )
19
+ ```
20
+
@@ -1,4 +1,4 @@
1
- # OryClient::InlineResponse200
1
+ # OryClient::IsAlive200Response
2
2
 
3
3
  ## Properties
4
4
 
@@ -11,7 +11,7 @@
11
11
  ```ruby
12
12
  require 'ory-client'
13
13
 
14
- instance = OryClient::InlineResponse200.new(
14
+ instance = OryClient::IsAlive200Response.new(
15
15
  status: null
16
16
  )
17
17
  ```
@@ -1,4 +1,4 @@
1
- # OryClient::InlineResponse503
1
+ # OryClient::IsReady503Response
2
2
 
3
3
  ## Properties
4
4
 
@@ -11,7 +11,7 @@
11
11
  ```ruby
12
12
  require 'ory-client'
13
13
 
14
- instance = OryClient::InlineResponse503.new(
14
+ instance = OryClient::IsReady503Response.new(
15
15
  errors: null
16
16
  )
17
17
  ```
data/docs/JsonPatch.md CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **from** | **String** | This field is used together with operation \"move\" and uses JSON Pointer notation. Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5). | [optional] |
7
8
  | **op** | **String** | The JSON Patch operation | |
8
9
  | **path** | **String** | The JSON Pointer to the target key | |
9
10
  | **value** | **Object** | The value to be used. Only available for `add` and `replace` operations. | [optional] |
@@ -14,9 +15,10 @@
14
15
  require 'ory-client'
15
16
 
16
17
  instance = OryClient::JsonPatch.new(
17
- op: null,
18
+ from: /name,
19
+ op: replace,
18
20
  path: /services/identity/config/smtp/from_name,
19
- value: null
21
+ value: foobar
20
22
  )
21
23
  ```
22
24
 
data/docs/MetadataApi.md CHANGED
@@ -11,7 +11,7 @@ All URIs are relative to *https://playground.projects.oryapis.com*
11
11
 
12
12
  ## get_version
13
13
 
14
- > <InlineResponse2001> get_version
14
+ > <GetVersion200Response> get_version
15
15
 
16
16
  Return Running Software Version.
17
17
 
@@ -43,7 +43,7 @@ end
43
43
 
44
44
  This returns an Array which contains the response data, status code and headers.
45
45
 
46
- > <Array(<InlineResponse2001>, Integer, Hash)> get_version_with_http_info
46
+ > <Array(<GetVersion200Response>, Integer, Hash)> get_version_with_http_info
47
47
 
48
48
  ```ruby
49
49
  begin
@@ -51,7 +51,7 @@ begin
51
51
  data, status_code, headers = api_instance.get_version_with_http_info
52
52
  p status_code # => 2xx
53
53
  p headers # => { ... }
54
- p data # => <InlineResponse2001>
54
+ p data # => <GetVersion200Response>
55
55
  rescue OryClient::ApiError => e
56
56
  puts "Error when calling MetadataApi->get_version_with_http_info: #{e}"
57
57
  end
@@ -63,7 +63,7 @@ This endpoint does not need any parameter.
63
63
 
64
64
  ### Return type
65
65
 
66
- [**InlineResponse2001**](InlineResponse2001.md)
66
+ [**GetVersion200Response**](GetVersion200Response.md)
67
67
 
68
68
  ### Authorization
69
69
 
@@ -77,7 +77,7 @@ This endpoint does not need any parameter.
77
77
 
78
78
  ## is_alive
79
79
 
80
- > <InlineResponse200> is_alive
80
+ > <IsAlive200Response> is_alive
81
81
 
82
82
  Check HTTP Server Status
83
83
 
@@ -109,7 +109,7 @@ end
109
109
 
110
110
  This returns an Array which contains the response data, status code and headers.
111
111
 
112
- > <Array(<InlineResponse200>, Integer, Hash)> is_alive_with_http_info
112
+ > <Array(<IsAlive200Response>, Integer, Hash)> is_alive_with_http_info
113
113
 
114
114
  ```ruby
115
115
  begin
@@ -117,7 +117,7 @@ begin
117
117
  data, status_code, headers = api_instance.is_alive_with_http_info
118
118
  p status_code # => 2xx
119
119
  p headers # => { ... }
120
- p data # => <InlineResponse200>
120
+ p data # => <IsAlive200Response>
121
121
  rescue OryClient::ApiError => e
122
122
  puts "Error when calling MetadataApi->is_alive_with_http_info: #{e}"
123
123
  end
@@ -129,7 +129,7 @@ This endpoint does not need any parameter.
129
129
 
130
130
  ### Return type
131
131
 
132
- [**InlineResponse200**](InlineResponse200.md)
132
+ [**IsAlive200Response**](IsAlive200Response.md)
133
133
 
134
134
  ### Authorization
135
135
 
@@ -143,7 +143,7 @@ This endpoint does not need any parameter.
143
143
 
144
144
  ## is_ready
145
145
 
146
- > <InlineResponse200> is_ready
146
+ > <IsAlive200Response> is_ready
147
147
 
148
148
  Check HTTP Server and Database Status
149
149
 
@@ -175,7 +175,7 @@ end
175
175
 
176
176
  This returns an Array which contains the response data, status code and headers.
177
177
 
178
- > <Array(<InlineResponse200>, Integer, Hash)> is_ready_with_http_info
178
+ > <Array(<IsAlive200Response>, Integer, Hash)> is_ready_with_http_info
179
179
 
180
180
  ```ruby
181
181
  begin
@@ -183,7 +183,7 @@ begin
183
183
  data, status_code, headers = api_instance.is_ready_with_http_info
184
184
  p status_code # => 2xx
185
185
  p headers # => { ... }
186
- p data # => <InlineResponse200>
186
+ p data # => <IsAlive200Response>
187
187
  rescue OryClient::ApiError => e
188
188
  puts "Error when calling MetadataApi->is_ready_with_http_info: #{e}"
189
189
  end
@@ -195,7 +195,7 @@ This endpoint does not need any parameter.
195
195
 
196
196
  ### Return type
197
197
 
198
- [**InlineResponse200**](InlineResponse200.md)
198
+ [**IsAlive200Response**](IsAlive200Response.md)
199
199
 
200
200
  ### Authorization
201
201
 
data/docs/Pagination.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **page** | **Integer** | Pagination Page | [optional][default to 1] |
7
+ | **page** | **Integer** | Pagination Page This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. | [optional][default to 1] |
8
8
  | **per_page** | **Integer** | Items per Page This is the number of items per page. | [optional][default to 250] |
9
9
 
10
10
  ## Example
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **csrf_token** | **String** | Sending the anti-csrf token is only required for browser login flows. | [optional] |
8
- | **identifier** | **String** | Identifier is the email or username of the user trying to log in. This field is only required when using WebAuthn for passwordless login. When using WebAuthn for multi-factor authentication, it is not needed. | [optional] |
8
+ | **identifier** | **String** | Identifier is the email or username of the user trying to log in. | |
9
9
  | **method** | **String** | Method should be set to \&quot;webAuthn\&quot; when logging in using the WebAuthn strategy. | |
10
10
  | **webauthn_login** | **String** | Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. | [optional] |
11
11
 
@@ -0,0 +1,20 @@
1
+ # OryClient::TokenPagination
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **page_size** | **Integer** | Items per page This is the number of items per page to return. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). | [optional][default to 250] |
8
+ | **page_token** | **String** | Next Page Token The next page token. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). | [optional][default to &#39;1&#39;] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ory-client'
14
+
15
+ instance = OryClient::TokenPagination.new(
16
+ page_size: null,
17
+ page_token: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # OryClient::TokenPaginationHeaders
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **link** | **String** | The link header contains pagination links. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). in: header | [optional] |
8
+ | **x_total_count** | **String** | The total number of clients. in: header | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ory-client'
14
+
15
+ instance = OryClient::TokenPaginationHeaders.new(
16
+ link: null,
17
+ x_total_count: null
18
+ )
19
+ ```
20
+
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **autocomplete** | **String** | The autocomplete attribute for the input. | [optional] |
7
8
  | **disabled** | **Boolean** | Sets the input&#39;s disabled field to true or false. | |
8
9
  | **label** | [**UiText**](UiText.md) | | [optional] |
9
10
  | **name** | **String** | The input&#39;s element name. | |
@@ -11,7 +12,7 @@
11
12
  | **onclick** | **String** | OnClick may contain javascript which should be executed on click. This is primarily used for WebAuthn. | [optional] |
12
13
  | **pattern** | **String** | The input&#39;s pattern. | [optional] |
13
14
  | **required** | **Boolean** | Mark this input field as required. | [optional] |
14
- | **type** | **String** | | |
15
+ | **type** | **String** | The input&#39;s element type. | |
15
16
  | **value** | **Object** | The input&#39;s value. | [optional] |
16
17
 
17
18
  ## Example
@@ -20,6 +21,7 @@
20
21
  require 'ory-client'
21
22
 
22
23
  instance = OryClient::UiNodeInputAttributes.new(
24
+ autocomplete: null,
23
25
  disabled: null,
24
26
  label: null,
25
27
  name: null,