ory-client 0.0.1.alpha167 → 0.0.1.alpha175

Sign up to get free protection for your applications and to get access to all the features.
Files changed (341) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +27 -5
  4. data/docs/AdminCreateIdentityBody.md +4 -0
  5. data/docs/AdminUpdateIdentityBody.md +4 -0
  6. data/docs/CnameSettings.md +4 -0
  7. data/docs/CreateCustomHostnameBody.md +4 -0
  8. data/docs/ExpandTree.md +24 -0
  9. data/docs/GenericError.md +1 -1
  10. data/docs/GetCheckResponse.md +18 -0
  11. data/docs/GetRelationTuplesResponse.md +20 -0
  12. data/docs/Identity.md +4 -0
  13. data/docs/InternalRelationTuple.md +26 -0
  14. data/docs/KetoNamespace.md +20 -0
  15. data/docs/MetadataApi.md +18 -3
  16. data/docs/NormalizedProject.md +1 -1
  17. data/docs/NormalizedProjectRevision.md +4 -0
  18. data/docs/PatchDelta.md +20 -0
  19. data/docs/Project.md +1 -1
  20. data/docs/ProjectMetadata.md +1 -1
  21. data/docs/ProjectServicePermission.md +18 -0
  22. data/docs/ProjectServices.md +4 -2
  23. data/docs/ReadApi.md +333 -0
  24. data/docs/RelationQuery.md +26 -0
  25. data/docs/SelfServiceRecoveryFlow.md +1 -1
  26. data/docs/SelfServiceRegistrationFlow.md +1 -1
  27. data/docs/SelfServiceSettingsFlow.md +1 -1
  28. data/docs/SubjectSet.md +22 -0
  29. data/docs/SubmitSelfServiceLoginFlowWithPasswordMethodBody.md +1 -1
  30. data/docs/Subscription.md +1 -1
  31. data/docs/UiNode.md +2 -2
  32. data/docs/UiNodeAnchorAttributes.md +1 -1
  33. data/docs/UiNodeAttributes.md +2 -2
  34. data/docs/UiNodeImageAttributes.md +1 -1
  35. data/docs/UiNodeInputAttributes.md +1 -1
  36. data/docs/UiNodeScriptAttributes.md +1 -1
  37. data/docs/UiNodeTextAttributes.md +1 -1
  38. data/docs/UpdateCustomHostnameBody.md +4 -0
  39. data/docs/V0alpha2Api.md +5 -3
  40. data/docs/WriteApi.md +233 -0
  41. data/lib/ory-client/api/metadata_api.rb +4 -4
  42. data/lib/ory-client/api/read_api.rb +335 -0
  43. data/lib/ory-client/api/v0alpha2_api.rb +8 -5
  44. data/lib/ory-client/api/write_api.rb +228 -0
  45. data/lib/ory-client/api_client.rb +1 -1
  46. data/lib/ory-client/api_error.rb +1 -1
  47. data/lib/ory-client/configuration.rb +1 -1
  48. data/lib/ory-client/models/active_project.rb +1 -1
  49. data/lib/ory-client/models/admin_create_identity_body.rb +24 -2
  50. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc.rb +1 -1
  51. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_config.rb +1 -1
  52. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_provider.rb +1 -1
  53. data/lib/ory-client/models/admin_create_identity_import_credentials_password.rb +1 -1
  54. data/lib/ory-client/models/admin_create_identity_import_credentials_password_config.rb +1 -1
  55. data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +1 -1
  56. data/lib/ory-client/models/admin_identity_import_credentials.rb +1 -1
  57. data/lib/ory-client/models/admin_update_identity_body.rb +24 -2
  58. data/lib/ory-client/models/api_token.rb +1 -1
  59. data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
  60. data/lib/ory-client/models/cloud_account.rb +1 -1
  61. data/lib/ory-client/models/cname_settings.rb +22 -2
  62. data/lib/ory-client/models/create_custom_hostname_body.rb +24 -2
  63. data/lib/ory-client/models/create_project_body.rb +1 -1
  64. data/lib/ory-client/models/create_subscription_payload.rb +1 -1
  65. data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
  66. data/lib/ory-client/models/expand_tree.rb +286 -0
  67. data/lib/ory-client/models/generic_error.rb +5 -3
  68. data/lib/ory-client/models/generic_error_content.rb +1 -1
  69. data/lib/ory-client/models/get_check_response.rb +225 -0
  70. data/lib/ory-client/models/get_relation_tuples_response.rb +230 -0
  71. data/lib/ory-client/models/health_not_ready_status.rb +1 -1
  72. data/lib/ory-client/models/health_status.rb +1 -1
  73. data/lib/ory-client/models/identity.rb +22 -2
  74. data/lib/ory-client/models/identity_credentials.rb +1 -1
  75. data/lib/ory-client/models/identity_credentials_oidc.rb +1 -1
  76. data/lib/ory-client/models/identity_credentials_oidc_provider.rb +1 -1
  77. data/lib/ory-client/models/identity_credentials_password.rb +1 -1
  78. data/lib/ory-client/models/identity_credentials_type.rb +1 -1
  79. data/lib/ory-client/models/identity_schema.rb +1 -1
  80. data/lib/ory-client/models/identity_schema_location.rb +1 -1
  81. data/lib/ory-client/models/identity_schema_preset.rb +1 -1
  82. data/lib/ory-client/models/identity_schema_validation_result.rb +1 -1
  83. data/lib/ory-client/models/identity_state.rb +1 -1
  84. data/lib/ory-client/models/inline_response200.rb +1 -1
  85. data/lib/ory-client/models/inline_response2001.rb +1 -1
  86. data/lib/ory-client/models/inline_response503.rb +1 -1
  87. data/lib/ory-client/models/internal_relation_tuple.rb +273 -0
  88. data/lib/ory-client/models/invite_payload.rb +1 -1
  89. data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
  90. data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +1 -1
  91. data/lib/ory-client/models/json_error.rb +1 -1
  92. data/lib/ory-client/models/json_patch.rb +1 -1
  93. data/lib/ory-client/models/keto_namespace.rb +227 -0
  94. data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
  95. data/lib/ory-client/models/normalized_project.rb +3 -2
  96. data/lib/ory-client/models/normalized_project_revision.rb +23 -2
  97. data/lib/ory-client/models/normalized_project_revision_hook.rb +1 -1
  98. data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +2 -1
  99. data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +3 -1
  100. data/lib/ory-client/models/null_plan.rb +1 -1
  101. data/lib/ory-client/models/pagination.rb +1 -1
  102. data/lib/ory-client/models/patch_delta.rb +261 -0
  103. data/lib/ory-client/models/project.rb +2 -2
  104. data/lib/ory-client/models/project_host.rb +1 -1
  105. data/lib/ory-client/models/project_invite.rb +2 -1
  106. data/lib/ory-client/models/project_metadata.rb +3 -2
  107. data/lib/ory-client/models/project_service_identity.rb +1 -1
  108. data/lib/ory-client/models/project_service_permission.rb +223 -0
  109. data/lib/ory-client/models/project_services.rb +14 -10
  110. data/lib/ory-client/models/provision_mock_subscription_payload.rb +1 -1
  111. data/lib/ory-client/models/quota_project_member_seats.rb +1 -1
  112. data/lib/ory-client/models/recovery_address.rb +1 -1
  113. data/lib/ory-client/models/relation_query.rb +258 -0
  114. data/lib/ory-client/models/revoked_sessions.rb +1 -1
  115. data/lib/ory-client/models/schema_patch.rb +1 -1
  116. data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +1 -1
  117. data/lib/ory-client/models/self_service_error.rb +1 -1
  118. data/lib/ory-client/models/self_service_flow_expired_error.rb +1 -1
  119. data/lib/ory-client/models/self_service_login_flow.rb +1 -1
  120. data/lib/ory-client/models/self_service_logout_url.rb +1 -1
  121. data/lib/ory-client/models/self_service_recovery_flow.rb +6 -1
  122. data/lib/ory-client/models/self_service_recovery_flow_state.rb +1 -1
  123. data/lib/ory-client/models/self_service_recovery_link.rb +1 -1
  124. data/lib/ory-client/models/self_service_registration_flow.rb +6 -1
  125. data/lib/ory-client/models/self_service_settings_flow.rb +6 -1
  126. data/lib/ory-client/models/self_service_settings_flow_state.rb +1 -1
  127. data/lib/ory-client/models/self_service_verification_flow.rb +1 -1
  128. data/lib/ory-client/models/self_service_verification_flow_state.rb +1 -1
  129. data/lib/ory-client/models/session.rb +1 -1
  130. data/lib/ory-client/models/session_authentication_method.rb +3 -3
  131. data/lib/ory-client/models/session_device.rb +1 -1
  132. data/lib/ory-client/models/settings_profile_form_config.rb +1 -1
  133. data/lib/ory-client/models/stripe_customer_response.rb +1 -1
  134. data/lib/ory-client/models/subject_set.rb +254 -0
  135. data/lib/ory-client/models/submit_self_service_flow_with_web_authn_registration_method.rb +1 -1
  136. data/lib/ory-client/models/submit_self_service_login_flow_body.rb +1 -1
  137. data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +1 -1
  138. data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +1 -1
  139. data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +1 -6
  140. data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +1 -1
  141. data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +1 -1
  142. data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +1 -1
  143. data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +1 -1
  144. data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +1 -1
  145. data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +1 -1
  146. data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +1 -1
  147. data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +1 -1
  148. data/lib/ory-client/models/submit_self_service_registration_flow_with_web_authn_method_body.rb +1 -1
  149. data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +1 -1
  150. data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +1 -1
  151. data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +1 -1
  152. data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +1 -1
  153. data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +1 -1
  154. data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +1 -1
  155. data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +1 -1
  156. data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +1 -1
  157. data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +1 -1
  158. data/lib/ory-client/models/subscription.rb +3 -2
  159. data/lib/ory-client/models/successful_project_update.rb +1 -1
  160. data/lib/ory-client/models/successful_self_service_login_without_browser.rb +1 -1
  161. data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +1 -1
  162. data/lib/ory-client/models/ui_container.rb +1 -1
  163. data/lib/ory-client/models/ui_node.rb +49 -1
  164. data/lib/ory-client/models/ui_node_anchor_attributes.rb +2 -1
  165. data/lib/ory-client/models/ui_node_attributes.rb +3 -3
  166. data/lib/ory-client/models/ui_node_image_attributes.rb +2 -1
  167. data/lib/ory-client/models/ui_node_input_attributes.rb +2 -1
  168. data/lib/ory-client/models/ui_node_meta.rb +1 -1
  169. data/lib/ory-client/models/ui_node_script_attributes.rb +2 -1
  170. data/lib/ory-client/models/ui_node_text_attributes.rb +2 -1
  171. data/lib/ory-client/models/ui_text.rb +1 -1
  172. data/lib/ory-client/models/update_custom_hostname_body.rb +24 -2
  173. data/lib/ory-client/models/update_project.rb +1 -1
  174. data/lib/ory-client/models/update_subscription_payload.rb +1 -1
  175. data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
  176. data/lib/ory-client/models/version.rb +1 -1
  177. data/lib/ory-client/models/warning.rb +1 -1
  178. data/lib/ory-client/version.rb +2 -2
  179. data/lib/ory-client.rb +12 -1
  180. data/ory-client.gemspec +1 -1
  181. data/spec/api/metadata_api_spec.rb +1 -1
  182. data/spec/api/read_api_spec.rb +102 -0
  183. data/spec/api/v0alpha2_api_spec.rb +4 -3
  184. data/spec/api/write_api_spec.rb +77 -0
  185. data/spec/api_client_spec.rb +1 -1
  186. data/spec/configuration_spec.rb +1 -1
  187. data/spec/models/active_project_spec.rb +1 -1
  188. data/spec/models/admin_create_identity_body_spec.rb +13 -1
  189. data/spec/models/admin_create_identity_import_credentials_oidc_config_spec.rb +1 -1
  190. data/spec/models/admin_create_identity_import_credentials_oidc_provider_spec.rb +1 -1
  191. data/spec/models/admin_create_identity_import_credentials_oidc_spec.rb +1 -1
  192. data/spec/models/admin_create_identity_import_credentials_password_config_spec.rb +1 -1
  193. data/spec/models/admin_create_identity_import_credentials_password_spec.rb +1 -1
  194. data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +1 -1
  195. data/spec/models/admin_identity_import_credentials_spec.rb +1 -1
  196. data/spec/models/admin_update_identity_body_spec.rb +13 -1
  197. data/spec/models/api_token_spec.rb +1 -1
  198. data/spec/models/authenticator_assurance_level_spec.rb +1 -1
  199. data/spec/models/cloud_account_spec.rb +1 -1
  200. data/spec/models/cname_settings_spec.rb +13 -1
  201. data/spec/models/create_custom_hostname_body_spec.rb +13 -1
  202. data/spec/models/create_project_body_spec.rb +1 -1
  203. data/spec/models/create_subscription_payload_spec.rb +1 -1
  204. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
  205. data/spec/models/expand_tree_spec.rb +56 -0
  206. data/spec/models/generic_error_content_spec.rb +1 -1
  207. data/spec/models/generic_error_spec.rb +1 -1
  208. data/spec/models/get_check_response_spec.rb +34 -0
  209. data/spec/models/get_relation_tuples_response_spec.rb +40 -0
  210. data/spec/models/health_not_ready_status_spec.rb +1 -1
  211. data/spec/models/health_status_spec.rb +1 -1
  212. data/spec/models/identity_credentials_oidc_provider_spec.rb +1 -1
  213. data/spec/models/identity_credentials_oidc_spec.rb +1 -1
  214. data/spec/models/identity_credentials_password_spec.rb +1 -1
  215. data/spec/models/identity_credentials_spec.rb +1 -1
  216. data/spec/models/identity_credentials_type_spec.rb +1 -1
  217. data/spec/models/identity_schema_location_spec.rb +1 -1
  218. data/spec/models/identity_schema_preset_spec.rb +1 -1
  219. data/spec/models/identity_schema_spec.rb +1 -1
  220. data/spec/models/identity_schema_validation_result_spec.rb +1 -1
  221. data/spec/models/identity_spec.rb +13 -1
  222. data/spec/models/identity_state_spec.rb +1 -1
  223. data/spec/models/inline_response2001_spec.rb +1 -1
  224. data/spec/models/inline_response200_spec.rb +1 -1
  225. data/spec/models/inline_response503_spec.rb +1 -1
  226. data/spec/models/internal_relation_tuple_spec.rb +58 -0
  227. data/spec/models/invite_payload_spec.rb +1 -1
  228. data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +1 -1
  229. data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
  230. data/spec/models/json_error_spec.rb +1 -1
  231. data/spec/models/json_patch_spec.rb +1 -1
  232. data/spec/models/keto_namespace_spec.rb +40 -0
  233. data/spec/models/needs_privileged_session_error_spec.rb +1 -1
  234. data/spec/models/normalized_project_revision_hook_spec.rb +1 -1
  235. data/spec/models/normalized_project_revision_identity_schema_spec.rb +1 -1
  236. data/spec/models/normalized_project_revision_spec.rb +13 -1
  237. data/spec/models/normalized_project_revision_third_party_provider_spec.rb +1 -1
  238. data/spec/models/normalized_project_spec.rb +1 -1
  239. data/spec/models/null_plan_spec.rb +1 -1
  240. data/spec/models/pagination_spec.rb +1 -1
  241. data/spec/models/patch_delta_spec.rb +44 -0
  242. data/spec/models/project_host_spec.rb +1 -1
  243. data/spec/models/project_invite_spec.rb +1 -1
  244. data/spec/models/project_metadata_spec.rb +1 -1
  245. data/spec/models/project_service_identity_spec.rb +1 -1
  246. data/spec/models/project_service_permission_spec.rb +34 -0
  247. data/spec/models/project_services_spec.rb +7 -1
  248. data/spec/models/project_spec.rb +1 -1
  249. data/spec/models/provision_mock_subscription_payload_spec.rb +1 -1
  250. data/spec/models/quota_project_member_seats_spec.rb +1 -1
  251. data/spec/models/recovery_address_spec.rb +1 -1
  252. data/spec/models/relation_query_spec.rb +58 -0
  253. data/spec/models/revoked_sessions_spec.rb +1 -1
  254. data/spec/models/schema_patch_spec.rb +1 -1
  255. data/spec/models/self_service_browser_location_change_required_error_spec.rb +1 -1
  256. data/spec/models/self_service_error_spec.rb +1 -1
  257. data/spec/models/self_service_flow_expired_error_spec.rb +1 -1
  258. data/spec/models/self_service_login_flow_spec.rb +1 -1
  259. data/spec/models/self_service_logout_url_spec.rb +1 -1
  260. data/spec/models/self_service_recovery_flow_spec.rb +1 -1
  261. data/spec/models/self_service_recovery_flow_state_spec.rb +1 -1
  262. data/spec/models/self_service_recovery_link_spec.rb +1 -1
  263. data/spec/models/self_service_registration_flow_spec.rb +1 -1
  264. data/spec/models/self_service_settings_flow_spec.rb +1 -1
  265. data/spec/models/self_service_settings_flow_state_spec.rb +1 -1
  266. data/spec/models/self_service_verification_flow_spec.rb +1 -1
  267. data/spec/models/self_service_verification_flow_state_spec.rb +1 -1
  268. data/spec/models/session_authentication_method_spec.rb +2 -2
  269. data/spec/models/session_device_spec.rb +1 -1
  270. data/spec/models/session_spec.rb +1 -1
  271. data/spec/models/settings_profile_form_config_spec.rb +1 -1
  272. data/spec/models/stripe_customer_response_spec.rb +1 -1
  273. data/spec/models/subject_set_spec.rb +46 -0
  274. data/spec/models/submit_self_service_flow_with_web_authn_registration_method_spec.rb +1 -1
  275. data/spec/models/submit_self_service_login_flow_body_spec.rb +1 -1
  276. data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +1 -1
  277. data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +1 -1
  278. data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +1 -1
  279. data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +1 -1
  280. data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +1 -1
  281. data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +1 -1
  282. data/spec/models/submit_self_service_recovery_flow_body_spec.rb +1 -1
  283. data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +1 -1
  284. data/spec/models/submit_self_service_registration_flow_body_spec.rb +1 -1
  285. data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +1 -1
  286. data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +1 -1
  287. data/spec/models/submit_self_service_registration_flow_with_web_authn_method_body_spec.rb +1 -1
  288. data/spec/models/submit_self_service_settings_flow_body_spec.rb +1 -1
  289. data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +1 -1
  290. data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +1 -1
  291. data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +1 -1
  292. data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +1 -1
  293. data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +1 -1
  294. data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +1 -1
  295. data/spec/models/submit_self_service_verification_flow_body_spec.rb +1 -1
  296. data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +1 -1
  297. data/spec/models/subscription_spec.rb +1 -1
  298. data/spec/models/successful_project_update_spec.rb +1 -1
  299. data/spec/models/successful_self_service_login_without_browser_spec.rb +1 -1
  300. data/spec/models/successful_self_service_registration_without_browser_spec.rb +1 -1
  301. data/spec/models/ui_container_spec.rb +1 -1
  302. data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
  303. data/spec/models/ui_node_attributes_spec.rb +1 -1
  304. data/spec/models/ui_node_image_attributes_spec.rb +1 -1
  305. data/spec/models/ui_node_input_attributes_spec.rb +1 -1
  306. data/spec/models/ui_node_meta_spec.rb +1 -1
  307. data/spec/models/ui_node_script_attributes_spec.rb +1 -1
  308. data/spec/models/ui_node_spec.rb +9 -1
  309. data/spec/models/ui_node_text_attributes_spec.rb +1 -1
  310. data/spec/models/ui_text_spec.rb +1 -1
  311. data/spec/models/update_custom_hostname_body_spec.rb +13 -1
  312. data/spec/models/update_project_spec.rb +1 -1
  313. data/spec/models/update_subscription_payload_spec.rb +1 -1
  314. data/spec/models/verifiable_identity_address_spec.rb +1 -1
  315. data/spec/models/version_spec.rb +1 -1
  316. data/spec/models/warning_spec.rb +1 -1
  317. data/spec/spec_helper.rb +1 -1
  318. data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.2.gem +0 -0
  319. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  320. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  321. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  322. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.3/gem_make.out +2 -2
  323. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{stringio-3.0.1 → stringio-3.0.2}/gem.build_complete +0 -0
  324. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{stringio-3.0.1 → stringio-3.0.2}/gem_make.out +6 -6
  325. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{stringio-3.0.1 → stringio-3.0.2}/mkmf.log +2 -2
  326. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{stringio-3.0.1 → stringio-3.0.2}/stringio.so +0 -0
  327. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  328. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  329. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  330. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/Makefile +2 -2
  331. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/README.md +0 -0
  332. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/.sitearchdir.time +0 -0
  333. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/Makefile +2 -2
  334. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/extconf.rb +0 -0
  335. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/stringio.c +1 -1
  336. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/stringio.o +0 -0
  337. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/ext/stringio/stringio.so +0 -0
  338. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.1 → stringio-3.0.2}/lib/stringio.so +0 -0
  339. data/vendor/bundle/ruby/2.5.0/specifications/{stringio-3.0.1.gemspec → stringio-3.0.2.gemspec} +5 -5
  340. metadata +61 -17
  341. data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.1.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8dd384d03f917d902cd4ad0e20343ead9058046870524780ef3fd3dcebe00154
4
- data.tar.gz: f456c9920a75572ecb1e6eb942304a1e6ea3336bcf1574f1b717a14700b9f052
3
+ metadata.gz: 14e55e415e6947c4c31f32106dd1dd5a95d9d32006f736fec2233b3c849a7cce
4
+ data.tar.gz: 35acc1b94b13a0d9f50a8dcf1bb941226bfcf77bf21fb5407be5f95613f69e39
5
5
  SHA512:
6
- metadata.gz: 7f302549bc702f942fffcd9519607c1e60d027f4d26940eb1e14b4a66bcc2c93b7430ae9f47ff81d7aa23cfcff22268ed1ea59b000413942024c9ca24669bd26
7
- data.tar.gz: ffd480650b7ac4ca456cd56ee17993b915fcfd9bb7f7818af956f233e5758b89c013c5de01d300a6193c4460afd94e77f35cb544ced68895ec26dd11b6a78f2e
6
+ metadata.gz: 3e7b54ce4bff52365815e4c521b044acd20265f607c1a0d8b7dcc3e586e3f47603a27513d937a003221677cd57e24eeaa935f5a17559995318fc212a087bfffe
7
+ data.tar.gz: 83ac595020baef097769ac111f843259ad9d6261576671553b155e1da5b6979ea05070bf8eeb17dfad85368f48ff03453840a55244b6e95890c59ac9000e2c36
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ory-client (0.0.1.alpha167)
4
+ ory-client (0.0.1.alpha175)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -51,7 +51,7 @@ GEM
51
51
  ruby-progressbar (~> 1.7)
52
52
  unicode-display_width (>= 1.4.0, < 1.6)
53
53
  ruby-progressbar (1.11.0)
54
- stringio (3.0.1)
54
+ stringio (3.0.2)
55
55
  typhoeus (1.4.0)
56
56
  ethon (>= 0.9.0)
57
57
  unicode-display_width (1.5.0)
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.0.1-alpha.167
12
- - Package version: v0.0.1-alpha.167
11
+ - API version: v0.0.1-alpha.175
12
+ - Package version: v0.0.1-alpha.175
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.0.1-alpha.167.gem
28
+ gem install ./ory-client-v0.0.1-alpha.175.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./ory-client-v0.0.1-alpha.167.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./ory-client-v0.0.1-alpha.175.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.0.1-alpha.167'
37
+ gem 'ory-client', '~> v0.0.1-alpha.175'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -58,6 +58,12 @@ Please follow the [installation](#installation) procedure and then run the follo
58
58
  # Load the gem
59
59
  require 'ory-client'
60
60
 
61
+ # Setup authorization
62
+ OryClient.configure do |config|
63
+ # Configure Bearer authorization: oryAccessToken
64
+ config.access_token = 'YOUR_BEARER_TOKEN'
65
+ end
66
+
61
67
  api_instance = OryClient::MetadataApi.new
62
68
 
63
69
  begin
@@ -79,6 +85,10 @@ Class | Method | HTTP request | Description
79
85
  *OryClient::MetadataApi* | [**get_version**](docs/MetadataApi.md#get_version) | **GET** /version | Return Running Software Version.
80
86
  *OryClient::MetadataApi* | [**is_alive**](docs/MetadataApi.md#is_alive) | **GET** /health/alive | Check HTTP Server Status
81
87
  *OryClient::MetadataApi* | [**is_ready**](docs/MetadataApi.md#is_ready) | **GET** /health/ready | Check HTTP Server and Database Status
88
+ *OryClient::ReadApi* | [**get_check**](docs/ReadApi.md#get_check) | **GET** /relation-tuples/check | Check a relation tuple
89
+ *OryClient::ReadApi* | [**get_expand**](docs/ReadApi.md#get_expand) | **GET** /relation-tuples/expand | Expand a Relation Tuple
90
+ *OryClient::ReadApi* | [**get_relation_tuples**](docs/ReadApi.md#get_relation_tuples) | **GET** /relation-tuples | Query relation tuples
91
+ *OryClient::ReadApi* | [**post_check**](docs/ReadApi.md#post_check) | **POST** /relation-tuples/check | Check a relation tuple
82
92
  *OryClient::V0alpha2Api* | [**admin_create_identity**](docs/V0alpha2Api.md#admin_create_identity) | **POST** /admin/identities | Create an Identity
83
93
  *OryClient::V0alpha2Api* | [**admin_create_self_service_recovery_link**](docs/V0alpha2Api.md#admin_create_self_service_recovery_link) | **POST** /admin/recovery/link | Create a Recovery Link
84
94
  *OryClient::V0alpha2Api* | [**admin_delete_identity**](docs/V0alpha2Api.md#admin_delete_identity) | **DELETE** /admin/identities/{id} | Delete an Identity
@@ -127,6 +137,9 @@ Class | Method | HTTP request | Description
127
137
  *OryClient::V0alpha2Api* | [**submit_self_service_verification_flow**](docs/V0alpha2Api.md#submit_self_service_verification_flow) | **POST** /self-service/verification | Complete Verification Flow
128
138
  *OryClient::V0alpha2Api* | [**to_session**](docs/V0alpha2Api.md#to_session) | **GET** /sessions/whoami | Check Who the Current HTTP Session Belongs To
129
139
  *OryClient::V0alpha2Api* | [**update_project**](docs/V0alpha2Api.md#update_project) | **PUT** /projects/{project_id} | Update an Ory Cloud Project Configuration
140
+ *OryClient::WriteApi* | [**create_relation_tuple**](docs/WriteApi.md#create_relation_tuple) | **PUT** /admin/relation-tuples | Create a Relation Tuple
141
+ *OryClient::WriteApi* | [**delete_relation_tuples**](docs/WriteApi.md#delete_relation_tuples) | **DELETE** /admin/relation-tuples | Delete Relation Tuples
142
+ *OryClient::WriteApi* | [**patch_relation_tuples**](docs/WriteApi.md#patch_relation_tuples) | **PATCH** /admin/relation-tuples | Patch Multiple Relation Tuples
130
143
 
131
144
 
132
145
  ## Documentation for Models
@@ -149,8 +162,11 @@ Class | Method | HTTP request | Description
149
162
  - [OryClient::CreateProjectBody](docs/CreateProjectBody.md)
150
163
  - [OryClient::CreateSubscriptionPayload](docs/CreateSubscriptionPayload.md)
151
164
  - [OryClient::ErrorAuthenticatorAssuranceLevelNotSatisfied](docs/ErrorAuthenticatorAssuranceLevelNotSatisfied.md)
165
+ - [OryClient::ExpandTree](docs/ExpandTree.md)
152
166
  - [OryClient::GenericError](docs/GenericError.md)
153
167
  - [OryClient::GenericErrorContent](docs/GenericErrorContent.md)
168
+ - [OryClient::GetCheckResponse](docs/GetCheckResponse.md)
169
+ - [OryClient::GetRelationTuplesResponse](docs/GetRelationTuplesResponse.md)
154
170
  - [OryClient::HealthNotReadyStatus](docs/HealthNotReadyStatus.md)
155
171
  - [OryClient::HealthStatus](docs/HealthStatus.md)
156
172
  - [OryClient::Identity](docs/Identity.md)
@@ -167,11 +183,13 @@ Class | Method | HTTP request | Description
167
183
  - [OryClient::InlineResponse200](docs/InlineResponse200.md)
168
184
  - [OryClient::InlineResponse2001](docs/InlineResponse2001.md)
169
185
  - [OryClient::InlineResponse503](docs/InlineResponse503.md)
186
+ - [OryClient::InternalRelationTuple](docs/InternalRelationTuple.md)
170
187
  - [OryClient::InvitePayload](docs/InvitePayload.md)
171
188
  - [OryClient::IsOwnerForProjectBySlug](docs/IsOwnerForProjectBySlug.md)
172
189
  - [OryClient::IsOwnerForProjectBySlugPayload](docs/IsOwnerForProjectBySlugPayload.md)
173
190
  - [OryClient::JsonError](docs/JsonError.md)
174
191
  - [OryClient::JsonPatch](docs/JsonPatch.md)
192
+ - [OryClient::KetoNamespace](docs/KetoNamespace.md)
175
193
  - [OryClient::NeedsPrivilegedSessionError](docs/NeedsPrivilegedSessionError.md)
176
194
  - [OryClient::NormalizedProject](docs/NormalizedProject.md)
177
195
  - [OryClient::NormalizedProjectRevision](docs/NormalizedProjectRevision.md)
@@ -180,15 +198,18 @@ Class | Method | HTTP request | Description
180
198
  - [OryClient::NormalizedProjectRevisionThirdPartyProvider](docs/NormalizedProjectRevisionThirdPartyProvider.md)
181
199
  - [OryClient::NullPlan](docs/NullPlan.md)
182
200
  - [OryClient::Pagination](docs/Pagination.md)
201
+ - [OryClient::PatchDelta](docs/PatchDelta.md)
183
202
  - [OryClient::Project](docs/Project.md)
184
203
  - [OryClient::ProjectHost](docs/ProjectHost.md)
185
204
  - [OryClient::ProjectInvite](docs/ProjectInvite.md)
186
205
  - [OryClient::ProjectMetadata](docs/ProjectMetadata.md)
187
206
  - [OryClient::ProjectServiceIdentity](docs/ProjectServiceIdentity.md)
207
+ - [OryClient::ProjectServicePermission](docs/ProjectServicePermission.md)
188
208
  - [OryClient::ProjectServices](docs/ProjectServices.md)
189
209
  - [OryClient::ProvisionMockSubscriptionPayload](docs/ProvisionMockSubscriptionPayload.md)
190
210
  - [OryClient::QuotaProjectMemberSeats](docs/QuotaProjectMemberSeats.md)
191
211
  - [OryClient::RecoveryAddress](docs/RecoveryAddress.md)
212
+ - [OryClient::RelationQuery](docs/RelationQuery.md)
192
213
  - [OryClient::RevokedSessions](docs/RevokedSessions.md)
193
214
  - [OryClient::SchemaPatch](docs/SchemaPatch.md)
194
215
  - [OryClient::SelfServiceBrowserLocationChangeRequiredError](docs/SelfServiceBrowserLocationChangeRequiredError.md)
@@ -209,6 +230,7 @@ Class | Method | HTTP request | Description
209
230
  - [OryClient::SessionDevice](docs/SessionDevice.md)
210
231
  - [OryClient::SettingsProfileFormConfig](docs/SettingsProfileFormConfig.md)
211
232
  - [OryClient::StripeCustomerResponse](docs/StripeCustomerResponse.md)
233
+ - [OryClient::SubjectSet](docs/SubjectSet.md)
212
234
  - [OryClient::SubmitSelfServiceFlowWithWebAuthnRegistrationMethod](docs/SubmitSelfServiceFlowWithWebAuthnRegistrationMethod.md)
213
235
  - [OryClient::SubmitSelfServiceLoginFlowBody](docs/SubmitSelfServiceLoginFlowBody.md)
214
236
  - [OryClient::SubmitSelfServiceLoginFlowWithLookupSecretMethodBody](docs/SubmitSelfServiceLoginFlowWithLookupSecretMethodBody.md)
@@ -5,6 +5,8 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **credentials** | [**AdminIdentityImportCredentials**](AdminIdentityImportCredentials.md) | | [optional] |
8
+ | **metadata_admin** | **Object** | Store metadata about the user which is only accessible through admin APIs such as &#x60;GET /admin/identities/&lt;id&gt;&#x60;. | [optional] |
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] |
8
10
  | **recovery_addresses** | [**Array&lt;RecoveryAddress&gt;**](RecoveryAddress.md) | RecoveryAddresses contains all the addresses that can be used to recover an identity. Use this structure to import recovery addresses for an identity. Please keep in mind that the address needs to be represented in the Identity Schema or this field will be overwritten on the next identity update. | [optional] |
9
11
  | **schema_id** | **String** | SchemaID is the ID of the JSON Schema to be used for validating the identity&#39;s traits. | |
10
12
  | **state** | [**IdentityState**](IdentityState.md) | | [optional] |
@@ -18,6 +20,8 @@ require 'ory-client'
18
20
 
19
21
  instance = OryClient::AdminCreateIdentityBody.new(
20
22
  credentials: null,
23
+ metadata_admin: null,
24
+ metadata_public: null,
21
25
  recovery_addresses: null,
22
26
  schema_id: null,
23
27
  state: null,
@@ -4,6 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **metadata_admin** | **Object** | Store metadata about the user which is only accessible through admin APIs such as &#x60;GET /admin/identities/&lt;id&gt;&#x60;. | [optional] |
8
+ | **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] |
7
9
  | **schema_id** | **String** | SchemaID is the ID of the JSON Schema to be used for validating the identity&#39;s traits. If set will update the Identity&#39;s SchemaID. | |
8
10
  | **state** | [**IdentityState**](IdentityState.md) | | |
9
11
  | **traits** | **Object** | Traits represent an identity&#39;s traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in &#x60;schema_id&#x60;. | |
@@ -14,6 +16,8 @@
14
16
  require 'ory-client'
15
17
 
16
18
  instance = OryClient::AdminUpdateIdentityBody.new(
19
+ metadata_admin: null,
20
+ metadata_public: null,
17
21
  schema_id: null,
18
22
  state: null,
19
23
  traits: null
@@ -5,6 +5,8 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **cookie_domain** | **String** | | [optional] |
8
+ | **cors_allowed_origins** | **Array&lt;String&gt;** | | [optional] |
9
+ | **cors_enabled** | **Boolean** | | [optional] |
8
10
  | **created_at** | **Time** | | [optional] |
9
11
  | **hostname** | **String** | | [optional] |
10
12
  | **id** | **String** | | [optional] |
@@ -19,6 +21,8 @@ require 'ory-client'
19
21
 
20
22
  instance = OryClient::CnameSettings.new(
21
23
  cookie_domain: null,
24
+ cors_allowed_origins: null,
25
+ cors_enabled: null,
22
26
  created_at: null,
23
27
  hostname: null,
24
28
  id: null,
@@ -5,6 +5,8 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **cookie_domain** | **String** | The domain where cookies will be set. Has to be a parent domain of the custom hostname to work. | [optional] |
8
+ | **cors_allowed_origins** | **Array&lt;String&gt;** | Cors Allowed origins for the custom hostname. | [optional] |
9
+ | **cors_enabled** | **Boolean** | Cors Enabled for the custom hostname. | [optional] |
8
10
  | **hostname** | **String** | The custom hostname where the API will be exposed. | [optional] |
9
11
 
10
12
  ## Example
@@ -14,6 +16,8 @@ require 'ory-client'
14
16
 
15
17
  instance = OryClient::CreateCustomHostnameBody.new(
16
18
  cookie_domain: null,
19
+ cors_allowed_origins: null,
20
+ cors_enabled: null,
17
21
  hostname: null
18
22
  )
19
23
  ```
@@ -0,0 +1,24 @@
1
+ # OryClient::ExpandTree
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **children** | [**Array&lt;ExpandTree&gt;**](ExpandTree.md) | | [optional] |
8
+ | **subject_id** | **String** | | [optional] |
9
+ | **subject_set** | [**SubjectSet**](SubjectSet.md) | | [optional] |
10
+ | **type** | **String** | | |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'ory-client'
16
+
17
+ instance = OryClient::ExpandTree.new(
18
+ children: null,
19
+ subject_id: null,
20
+ subject_set: null,
21
+ type: null
22
+ )
23
+ ```
24
+
data/docs/GenericError.md CHANGED
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **code** | **Integer** | The status code | [optional] |
8
8
  | **debug** | **String** | Debug information This field is often not exposed to protect against leaking sensitive information. | [optional] |
9
- | **details** | **Object** | Further error details | [optional] |
9
+ | **details** | **Array&lt;Hash&lt;String, Object&gt;&gt;** | Further error details | [optional] |
10
10
  | **error** | [**GenericErrorContent**](GenericErrorContent.md) | | [optional] |
11
11
  | **id** | **String** | The error ID Useful when trying to identify various errors in application logic. | [optional] |
12
12
  | **message** | **String** | Error message The error&#39;s message. | |
@@ -0,0 +1,18 @@
1
+ # OryClient::GetCheckResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **allowed** | **Boolean** | whether the relation tuple is allowed | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'ory-client'
13
+
14
+ instance = OryClient::GetCheckResponse.new(
15
+ allowed: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,20 @@
1
+ # OryClient::GetRelationTuplesResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **next_page_token** | **String** | The opaque token to provide in a subsequent request to get the next page. It is the empty string iff this is the last page. | [optional] |
8
+ | **relation_tuples** | [**Array&lt;InternalRelationTuple&gt;**](InternalRelationTuple.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ory-client'
14
+
15
+ instance = OryClient::GetRelationTuplesResponse.new(
16
+ next_page_token: null,
17
+ relation_tuples: null
18
+ )
19
+ ```
20
+
data/docs/Identity.md CHANGED
@@ -7,6 +7,8 @@
7
7
  | **created_at** | **Time** | CreatedAt is a helper struct field for gobuffalo.pop. | [optional] |
8
8
  | **credentials** | [**Hash&lt;String, IdentityCredentials&gt;**](IdentityCredentials.md) | Credentials represents all credentials that can be used for authenticating this identity. | [optional] |
9
9
  | **id** | **String** | | |
10
+ | **metadata_admin** | **Object** | NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- | [optional] |
11
+ | **metadata_public** | **Object** | NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- | [optional] |
10
12
  | **recovery_addresses** | [**Array&lt;RecoveryAddress&gt;**](RecoveryAddress.md) | RecoveryAddresses contains all the addresses that can be used to recover an identity. | [optional] |
11
13
  | **schema_id** | **String** | SchemaID is the ID of the JSON Schema to be used for validating the identity&#39;s traits. | |
12
14
  | **schema_url** | **String** | SchemaURL is the URL of the endpoint where the identity&#39;s traits schema can be fetched from. format: url | |
@@ -25,6 +27,8 @@ instance = OryClient::Identity.new(
25
27
  created_at: null,
26
28
  credentials: null,
27
29
  id: null,
30
+ metadata_admin: null,
31
+ metadata_public: null,
28
32
  recovery_addresses: null,
29
33
  schema_id: null,
30
34
  schema_url: null,
@@ -0,0 +1,26 @@
1
+ # OryClient::InternalRelationTuple
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **namespace** | **String** | Namespace of the Relation Tuple | |
8
+ | **object** | **String** | Object of the Relation Tuple | |
9
+ | **relation** | **String** | Relation of the Relation Tuple | |
10
+ | **subject_id** | **String** | SubjectID of the Relation Tuple Either SubjectSet or SubjectID are required. | [optional] |
11
+ | **subject_set** | [**SubjectSet**](SubjectSet.md) | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'ory-client'
17
+
18
+ instance = OryClient::InternalRelationTuple.new(
19
+ namespace: null,
20
+ object: null,
21
+ relation: null,
22
+ subject_id: null,
23
+ subject_set: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,20 @@
1
+ # OryClient::KetoNamespace
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | | [optional] |
8
+ | **name** | **String** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ory-client'
14
+
15
+ instance = OryClient::KetoNamespace.new(
16
+ id: null,
17
+ name: null
18
+ )
19
+ ```
20
+
data/docs/MetadataApi.md CHANGED
@@ -22,6 +22,11 @@ This endpoint returns the version of Ory Kratos. If the service supports TLS Ed
22
22
  ```ruby
23
23
  require 'time'
24
24
  require 'ory-client'
25
+ # setup authorization
26
+ OryClient.configure do |config|
27
+ # Configure Bearer authorization: oryAccessToken
28
+ config.access_token = 'YOUR_BEARER_TOKEN'
29
+ end
25
30
 
26
31
  api_instance = OryClient::MetadataApi.new
27
32
 
@@ -62,7 +67,7 @@ This endpoint does not need any parameter.
62
67
 
63
68
  ### Authorization
64
69
 
65
- No authorization required
70
+ [oryAccessToken](../README.md#oryAccessToken)
66
71
 
67
72
  ### HTTP request headers
68
73
 
@@ -83,6 +88,11 @@ This endpoint returns a HTTP 200 status code when Ory Kratos is accepting incomi
83
88
  ```ruby
84
89
  require 'time'
85
90
  require 'ory-client'
91
+ # setup authorization
92
+ OryClient.configure do |config|
93
+ # Configure Bearer authorization: oryAccessToken
94
+ config.access_token = 'YOUR_BEARER_TOKEN'
95
+ end
86
96
 
87
97
  api_instance = OryClient::MetadataApi.new
88
98
 
@@ -123,7 +133,7 @@ This endpoint does not need any parameter.
123
133
 
124
134
  ### Authorization
125
135
 
126
- No authorization required
136
+ [oryAccessToken](../README.md#oryAccessToken)
127
137
 
128
138
  ### HTTP request headers
129
139
 
@@ -144,6 +154,11 @@ This endpoint returns a HTTP 200 status code when Ory Kratos is up running and t
144
154
  ```ruby
145
155
  require 'time'
146
156
  require 'ory-client'
157
+ # setup authorization
158
+ OryClient.configure do |config|
159
+ # Configure Bearer authorization: oryAccessToken
160
+ config.access_token = 'YOUR_BEARER_TOKEN'
161
+ end
147
162
 
148
163
  api_instance = OryClient::MetadataApi.new
149
164
 
@@ -184,7 +199,7 @@ This endpoint does not need any parameter.
184
199
 
185
200
  ### Authorization
186
201
 
187
- No authorization required
202
+ [oryAccessToken](../README.md#oryAccessToken)
188
203
 
189
204
  ### HTTP request headers
190
205
 
@@ -10,7 +10,7 @@
10
10
  | **id** | **String** | | |
11
11
  | **revisions** | [**Array&lt;NormalizedProjectRevision&gt;**](NormalizedProjectRevision.md) | | |
12
12
  | **slug** | **String** | The project&#39;s slug | [readonly] |
13
- | **state** | **String** | The state of the project. | [readonly] |
13
+ | **state** | **String** | The state of the project. running Running halted Halted | [readonly] |
14
14
  | **subscription_id** | **String** | | [optional] |
15
15
  | **updated_at** | **Time** | Last Time Project was Updated | [readonly] |
16
16
 
@@ -6,6 +6,8 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **created_at** | **Time** | The Project&#39;s Revision Creation Date | [optional][readonly] |
8
8
  | **id** | **String** | | [optional] |
9
+ | **keto_namespaces** | [**Array&lt;KetoNamespace&gt;**](KetoNamespace.md) | | [optional] |
10
+ | **keto_read_max_depth** | **Integer** | | [optional] |
9
11
  | **kratos_cookies_same_site** | **String** | Configures the Ory Kratos Cookie SameSite Attribute This governs the \&quot;cookies.same_site\&quot; setting. | [optional] |
10
12
  | **kratos_courier_smtp_connection_uri** | **String** | Configures the Ory Kratos SMTP Connection URI This governs the \&quot;courier.smtp.connection_uri\&quot; setting. | [optional] |
11
13
  | **kratos_courier_smtp_from_address** | **String** | Configures the Ory Kratos SMTP From Address This governs the \&quot;courier.smtp.from_address\&quot; setting. | [optional] |
@@ -98,6 +100,8 @@ require 'ory-client'
98
100
  instance = OryClient::NormalizedProjectRevision.new(
99
101
  created_at: null,
100
102
  id: null,
103
+ keto_namespaces: null,
104
+ keto_read_max_depth: null,
101
105
  kratos_cookies_same_site: null,
102
106
  kratos_courier_smtp_connection_uri: null,
103
107
  kratos_courier_smtp_from_address: null,
@@ -0,0 +1,20 @@
1
+ # OryClient::PatchDelta
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **action** | **String** | | [optional] |
8
+ | **relation_tuple** | [**InternalRelationTuple**](InternalRelationTuple.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ory-client'
14
+
15
+ instance = OryClient::PatchDelta.new(
16
+ action: null,
17
+ relation_tuple: null
18
+ )
19
+ ```
20
+
data/docs/Project.md CHANGED
@@ -9,7 +9,7 @@
9
9
  | **revision_id** | **String** | | |
10
10
  | **services** | [**ProjectServices**](ProjectServices.md) | | |
11
11
  | **slug** | **String** | The project&#39;s slug | [readonly] |
12
- | **state** | **String** | The state of the project. | [readonly] |
12
+ | **state** | **String** | The state of the project. running Running halted Halted | [readonly] |
13
13
 
14
14
  ## Example
15
15
 
@@ -9,7 +9,7 @@
9
9
  | **id** | **String** | | |
10
10
  | **name** | **String** | The project&#39;s name if set | |
11
11
  | **slug** | **String** | The project&#39;s slug | [optional][readonly] |
12
- | **state** | **String** | The state of the project. | |
12
+ | **state** | **String** | The state of the project. running Running halted Halted | |
13
13
  | **subscription_id** | **String** | | [optional] |
14
14
  | **updated_at** | **Time** | Last Time Project was Updated | |
15
15
 
@@ -0,0 +1,18 @@
1
+ # OryClient::ProjectServicePermission
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **config** | **Object** | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'ory-client'
13
+
14
+ instance = OryClient::ProjectServicePermission.new(
15
+ config: null
16
+ )
17
+ ```
18
+
@@ -4,7 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **identity** | [**ProjectServiceIdentity**](ProjectServiceIdentity.md) | | |
7
+ | **identity** | [**ProjectServiceIdentity**](ProjectServiceIdentity.md) | | [optional] |
8
+ | **permission** | [**ProjectServicePermission**](ProjectServicePermission.md) | | [optional] |
8
9
 
9
10
  ## Example
10
11
 
@@ -12,7 +13,8 @@
12
13
  require 'ory-client'
13
14
 
14
15
  instance = OryClient::ProjectServices.new(
15
- identity: null
16
+ identity: null,
17
+ permission: null
16
18
  )
17
19
  ```
18
20