ory-client 0.0.1.alpha73 → 0.0.1.alpha74

Sign up to get free protection for your applications and to get access to all the features.
Files changed (240) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +11 -5
  4. data/docs/InlineObject.md +18 -0
  5. data/docs/V0alpha0Api.md +348 -0
  6. data/lib/ory-client/api/metadata_api.rb +1 -1
  7. data/lib/ory-client/api/v0alpha0_api.rb +317 -1
  8. data/lib/ory-client/api/v0alpha2_api.rb +1 -1
  9. data/lib/ory-client/api_client.rb +1 -1
  10. data/lib/ory-client/api_error.rb +1 -1
  11. data/lib/ory-client/configuration.rb +1 -1
  12. data/lib/ory-client/models/active_project.rb +1 -1
  13. data/lib/ory-client/models/admin_create_identity_body.rb +1 -1
  14. data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +1 -1
  15. data/lib/ory-client/models/admin_update_identity_body.rb +1 -1
  16. data/lib/ory-client/models/api_token.rb +1 -1
  17. data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
  18. data/lib/ory-client/models/cloud_account.rb +1 -1
  19. data/lib/ory-client/models/cname_settings.rb +1 -1
  20. data/lib/ory-client/models/create_custom_hostname_body.rb +1 -1
  21. data/lib/ory-client/models/create_subscription_payload.rb +1 -1
  22. data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
  23. data/lib/ory-client/models/generic_error.rb +1 -1
  24. data/lib/ory-client/models/health_not_ready_status.rb +1 -1
  25. data/lib/ory-client/models/health_status.rb +1 -1
  26. data/lib/ory-client/models/identity.rb +1 -1
  27. data/lib/ory-client/models/identity_credentials.rb +1 -1
  28. data/lib/ory-client/models/identity_credentials_type.rb +1 -1
  29. data/lib/ory-client/models/identity_preset.rb +1 -1
  30. data/lib/ory-client/models/identity_schema.rb +1 -1
  31. data/lib/ory-client/models/identity_schema_location.rb +1 -1
  32. data/lib/ory-client/models/identity_schema_validation_result.rb +1 -1
  33. data/lib/ory-client/models/identity_state.rb +1 -1
  34. data/lib/ory-client/models/inline_object.rb +224 -0
  35. data/lib/ory-client/models/inline_response200.rb +1 -1
  36. data/lib/ory-client/models/inline_response2001.rb +1 -1
  37. data/lib/ory-client/models/inline_response503.rb +1 -1
  38. data/lib/ory-client/models/invite_payload.rb +1 -1
  39. data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
  40. data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +1 -1
  41. data/lib/ory-client/models/json_error.rb +1 -1
  42. data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
  43. data/lib/ory-client/models/null_plan.rb +1 -1
  44. data/lib/ory-client/models/pagination.rb +1 -1
  45. data/lib/ory-client/models/project.rb +1 -1
  46. data/lib/ory-client/models/project_host.rb +1 -1
  47. data/lib/ory-client/models/project_invite.rb +1 -1
  48. data/lib/ory-client/models/project_revision.rb +1 -1
  49. data/lib/ory-client/models/project_revision_hook.rb +1 -1
  50. data/lib/ory-client/models/project_revision_identity_schema.rb +1 -1
  51. data/lib/ory-client/models/project_revision_third_party_login_provider.rb +1 -1
  52. data/lib/ory-client/models/project_slug.rb +1 -1
  53. data/lib/ory-client/models/quota_project_member_seats.rb +1 -1
  54. data/lib/ory-client/models/recovery_address.rb +1 -1
  55. data/lib/ory-client/models/revoked_sessions.rb +1 -1
  56. data/lib/ory-client/models/schema_patch.rb +1 -1
  57. data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +1 -1
  58. data/lib/ory-client/models/self_service_error.rb +1 -1
  59. data/lib/ory-client/models/self_service_flow_expired_error.rb +1 -1
  60. data/lib/ory-client/models/self_service_login_flow.rb +1 -1
  61. data/lib/ory-client/models/self_service_logout_url.rb +1 -1
  62. data/lib/ory-client/models/self_service_recovery_flow.rb +1 -1
  63. data/lib/ory-client/models/self_service_recovery_flow_state.rb +1 -1
  64. data/lib/ory-client/models/self_service_recovery_link.rb +1 -1
  65. data/lib/ory-client/models/self_service_registration_flow.rb +1 -1
  66. data/lib/ory-client/models/self_service_settings_flow.rb +1 -1
  67. data/lib/ory-client/models/self_service_settings_flow_state.rb +1 -1
  68. data/lib/ory-client/models/self_service_verification_flow.rb +1 -1
  69. data/lib/ory-client/models/self_service_verification_flow_state.rb +1 -1
  70. data/lib/ory-client/models/session.rb +1 -1
  71. data/lib/ory-client/models/session_authentication_method.rb +1 -1
  72. data/lib/ory-client/models/session_device.rb +1 -1
  73. data/lib/ory-client/models/settings_profile_form_config.rb +1 -1
  74. data/lib/ory-client/models/stripe_customer_response.rb +1 -1
  75. data/lib/ory-client/models/submit_self_service_login_flow_body.rb +1 -1
  76. data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +1 -1
  77. data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +1 -1
  78. data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +1 -1
  79. data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +1 -1
  80. data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +1 -1
  81. data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +1 -1
  82. data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +1 -1
  83. data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +1 -1
  84. data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +1 -1
  85. data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +1 -1
  86. data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +1 -1
  87. data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +1 -1
  88. data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +1 -1
  89. data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +1 -1
  90. data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +1 -1
  91. data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +1 -1
  92. data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +1 -1
  93. data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +1 -1
  94. data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +1 -1
  95. data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +1 -1
  96. data/lib/ory-client/models/subscription.rb +1 -1
  97. data/lib/ory-client/models/successful_project_config_update.rb +1 -1
  98. data/lib/ory-client/models/successful_self_service_login_without_browser.rb +1 -1
  99. data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +1 -1
  100. data/lib/ory-client/models/ui_container.rb +1 -1
  101. data/lib/ory-client/models/ui_node.rb +1 -1
  102. data/lib/ory-client/models/ui_node_anchor_attributes.rb +1 -1
  103. data/lib/ory-client/models/ui_node_attributes.rb +1 -1
  104. data/lib/ory-client/models/ui_node_image_attributes.rb +1 -1
  105. data/lib/ory-client/models/ui_node_input_attributes.rb +1 -1
  106. data/lib/ory-client/models/ui_node_meta.rb +1 -1
  107. data/lib/ory-client/models/ui_node_script_attributes.rb +1 -1
  108. data/lib/ory-client/models/ui_node_text_attributes.rb +1 -1
  109. data/lib/ory-client/models/ui_text.rb +1 -1
  110. data/lib/ory-client/models/update_custom_hostname_body.rb +1 -1
  111. data/lib/ory-client/models/update_project_config_config.rb +1 -1
  112. data/lib/ory-client/models/update_subscription_payload.rb +1 -1
  113. data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
  114. data/lib/ory-client/models/version.rb +1 -1
  115. data/lib/ory-client/models/warning.rb +1 -1
  116. data/lib/ory-client/version.rb +2 -2
  117. data/lib/ory-client.rb +2 -1
  118. data/ory-client.gemspec +1 -1
  119. data/spec/api/metadata_api_spec.rb +1 -1
  120. data/spec/api/v0alpha0_api_spec.rb +61 -1
  121. data/spec/api/v0alpha2_api_spec.rb +1 -1
  122. data/spec/api_client_spec.rb +1 -1
  123. data/spec/configuration_spec.rb +1 -1
  124. data/spec/models/active_project_spec.rb +1 -1
  125. data/spec/models/admin_create_identity_body_spec.rb +1 -1
  126. data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +1 -1
  127. data/spec/models/admin_update_identity_body_spec.rb +1 -1
  128. data/spec/models/api_token_spec.rb +1 -1
  129. data/spec/models/authenticator_assurance_level_spec.rb +1 -1
  130. data/spec/models/cloud_account_spec.rb +1 -1
  131. data/spec/models/cname_settings_spec.rb +1 -1
  132. data/spec/models/create_custom_hostname_body_spec.rb +1 -1
  133. data/spec/models/create_subscription_payload_spec.rb +1 -1
  134. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
  135. data/spec/models/generic_error_spec.rb +1 -1
  136. data/spec/models/health_not_ready_status_spec.rb +1 -1
  137. data/spec/models/health_status_spec.rb +1 -1
  138. data/spec/models/identity_credentials_spec.rb +1 -1
  139. data/spec/models/identity_credentials_type_spec.rb +1 -1
  140. data/spec/models/identity_preset_spec.rb +1 -1
  141. data/spec/models/identity_schema_location_spec.rb +1 -1
  142. data/spec/models/identity_schema_spec.rb +1 -1
  143. data/spec/models/identity_schema_validation_result_spec.rb +1 -1
  144. data/spec/models/identity_spec.rb +1 -1
  145. data/spec/models/identity_state_spec.rb +1 -1
  146. data/spec/models/inline_object_spec.rb +34 -0
  147. data/spec/models/inline_response2001_spec.rb +1 -1
  148. data/spec/models/inline_response200_spec.rb +1 -1
  149. data/spec/models/inline_response503_spec.rb +1 -1
  150. data/spec/models/invite_payload_spec.rb +1 -1
  151. data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +1 -1
  152. data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
  153. data/spec/models/json_error_spec.rb +1 -1
  154. data/spec/models/needs_privileged_session_error_spec.rb +1 -1
  155. data/spec/models/null_plan_spec.rb +1 -1
  156. data/spec/models/pagination_spec.rb +1 -1
  157. data/spec/models/project_host_spec.rb +1 -1
  158. data/spec/models/project_invite_spec.rb +1 -1
  159. data/spec/models/project_revision_hook_spec.rb +1 -1
  160. data/spec/models/project_revision_identity_schema_spec.rb +1 -1
  161. data/spec/models/project_revision_spec.rb +1 -1
  162. data/spec/models/project_revision_third_party_login_provider_spec.rb +1 -1
  163. data/spec/models/project_slug_spec.rb +1 -1
  164. data/spec/models/project_spec.rb +1 -1
  165. data/spec/models/quota_project_member_seats_spec.rb +1 -1
  166. data/spec/models/recovery_address_spec.rb +1 -1
  167. data/spec/models/revoked_sessions_spec.rb +1 -1
  168. data/spec/models/schema_patch_spec.rb +1 -1
  169. data/spec/models/self_service_browser_location_change_required_error_spec.rb +1 -1
  170. data/spec/models/self_service_error_spec.rb +1 -1
  171. data/spec/models/self_service_flow_expired_error_spec.rb +1 -1
  172. data/spec/models/self_service_login_flow_spec.rb +1 -1
  173. data/spec/models/self_service_logout_url_spec.rb +1 -1
  174. data/spec/models/self_service_recovery_flow_spec.rb +1 -1
  175. data/spec/models/self_service_recovery_flow_state_spec.rb +1 -1
  176. data/spec/models/self_service_recovery_link_spec.rb +1 -1
  177. data/spec/models/self_service_registration_flow_spec.rb +1 -1
  178. data/spec/models/self_service_settings_flow_spec.rb +1 -1
  179. data/spec/models/self_service_settings_flow_state_spec.rb +1 -1
  180. data/spec/models/self_service_verification_flow_spec.rb +1 -1
  181. data/spec/models/self_service_verification_flow_state_spec.rb +1 -1
  182. data/spec/models/session_authentication_method_spec.rb +1 -1
  183. data/spec/models/session_device_spec.rb +1 -1
  184. data/spec/models/session_spec.rb +1 -1
  185. data/spec/models/settings_profile_form_config_spec.rb +1 -1
  186. data/spec/models/stripe_customer_response_spec.rb +1 -1
  187. data/spec/models/submit_self_service_login_flow_body_spec.rb +1 -1
  188. data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +1 -1
  189. data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +1 -1
  190. data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +1 -1
  191. data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +1 -1
  192. data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +1 -1
  193. data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +1 -1
  194. data/spec/models/submit_self_service_recovery_flow_body_spec.rb +1 -1
  195. data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +1 -1
  196. data/spec/models/submit_self_service_registration_flow_body_spec.rb +1 -1
  197. data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +1 -1
  198. data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +1 -1
  199. data/spec/models/submit_self_service_settings_flow_body_spec.rb +1 -1
  200. data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +1 -1
  201. data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +1 -1
  202. data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +1 -1
  203. data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +1 -1
  204. data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +1 -1
  205. data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +1 -1
  206. data/spec/models/submit_self_service_verification_flow_body_spec.rb +1 -1
  207. data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +1 -1
  208. data/spec/models/subscription_spec.rb +1 -1
  209. data/spec/models/successful_project_config_update_spec.rb +1 -1
  210. data/spec/models/successful_self_service_login_without_browser_spec.rb +1 -1
  211. data/spec/models/successful_self_service_registration_without_browser_spec.rb +1 -1
  212. data/spec/models/ui_container_spec.rb +1 -1
  213. data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
  214. data/spec/models/ui_node_attributes_spec.rb +1 -1
  215. data/spec/models/ui_node_image_attributes_spec.rb +1 -1
  216. data/spec/models/ui_node_input_attributes_spec.rb +1 -1
  217. data/spec/models/ui_node_meta_spec.rb +1 -1
  218. data/spec/models/ui_node_script_attributes_spec.rb +1 -1
  219. data/spec/models/ui_node_spec.rb +1 -1
  220. data/spec/models/ui_node_text_attributes_spec.rb +1 -1
  221. data/spec/models/ui_text_spec.rb +1 -1
  222. data/spec/models/update_custom_hostname_body_spec.rb +1 -1
  223. data/spec/models/update_project_config_config_spec.rb +1 -1
  224. data/spec/models/update_subscription_payload_spec.rb +1 -1
  225. data/spec/models/verifiable_identity_address_spec.rb +1 -1
  226. data/spec/models/version_spec.rb +1 -1
  227. data/spec/models/warning_spec.rb +1 -1
  228. data/spec/spec_helper.rb +1 -1
  229. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  230. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  231. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  232. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.3/gem_make.out +2 -2
  233. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/gem_make.out +2 -2
  234. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/mkmf.log +1 -1
  235. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  236. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  237. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  238. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/Makefile +2 -2
  239. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/Makefile +2 -2
  240. metadata +6 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f38b84ed87121ccf882c15633569dce425757b25561f5bbf0f74122e6255fa1
4
- data.tar.gz: 6e3135bc98596bb98b071fa8739a9ad512e6727870826c1cbad821d318260cf5
3
+ metadata.gz: e32b133d098f9ef9f4be7b155a159443770c77bc0c10db341e0cec8bda42768f
4
+ data.tar.gz: 8d3e86bd3011886dd23dd1b261cfdd1828385e2185a7afcfe876121067fedb80
5
5
  SHA512:
6
- metadata.gz: bc5ec0c27a0a5c47536659c20ac4d8d2a4ca09d26eb79b68b6e9cb72532a26263abd50ad134c13609277a31d48f228c66b0cf87e1792c6b86c1220e38454b926
7
- data.tar.gz: bf19a7fe0bc10158ca4886b6f9f94fe3129a2c7dec66d818ec86f911fb60e5b1fca33ad28347f4390f0fcd606d2dcefbc01855211952498230ac307635e6a164
6
+ metadata.gz: 6eb2ab9de0c6afc2436ce501ffd243ad032286e1d4d6cd3ac9fb1774713caf54601cf5ee13858437b92e1b8b2bb0ff4e100d8543124b44ab0ae3ccd08ca03c20
7
+ data.tar.gz: 8e26cb603a413161b64b23b473077937809b0fae58771c0f4bd34eefb341c70d5c3e373dd13910b0baaa7f770a340799b22fbcb086da9281ffc0cf4685aea3ad
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ory-client (0.0.1.alpha73)
4
+ ory-client (0.0.1.alpha74)
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.0.1-alpha.73
12
- - Package version: v0.0.1-alpha.73
11
+ - API version: v0.0.1-alpha.74
12
+ - Package version: v0.0.1-alpha.74
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.73.gem
28
+ gem install ./ory-client-v0.0.1-alpha.74.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./ory-client-v0.0.1-alpha.73.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./ory-client-v0.0.1-alpha.74.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.73'
37
+ gem 'ory-client', '~> v0.0.1-alpha.74'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -80,8 +80,13 @@ Class | Method | HTTP request | Description
80
80
  *OryClient::MetadataApi* | [**is_alive**](docs/MetadataApi.md#is_alive) | **GET** /api/kratos/public/health/alive | Check HTTP Server Status
81
81
  *OryClient::MetadataApi* | [**is_ready**](docs/MetadataApi.md#is_ready) | **GET** /api/kratos/public/health/ready | Check HTTP Server and Database Status
82
82
  *OryClient::V0alpha0Api* | [**create_project**](docs/V0alpha0Api.md#create_project) | **POST** /backoffice/public/projects | Create a Project
83
+ *OryClient::V0alpha0Api* | [**get_active_project**](docs/V0alpha0Api.md#get_active_project) | **GET** /backoffice/public/console/projects/active | Returns Your Active Ory Cloud Project
83
84
  *OryClient::V0alpha0Api* | [**get_project**](docs/V0alpha0Api.md#get_project) | **GET** /backoffice/public/projects/{project_id} | Get a Project
85
+ *OryClient::V0alpha0Api* | [**get_project_members**](docs/V0alpha0Api.md#get_project_members) | **GET** /backoffice/public/projects/{project_id}/members | Get all members associated with this project.
84
86
  *OryClient::V0alpha0Api* | [**list_projects**](docs/V0alpha0Api.md#list_projects) | **GET** /backoffice/public/projects | List All Projects
87
+ *OryClient::V0alpha0Api* | [**purge_project**](docs/V0alpha0Api.md#purge_project) | **DELETE** /backoffice/public/projects/{project_id} | Irrecoverably Purge a Project
88
+ *OryClient::V0alpha0Api* | [**remove_project_member**](docs/V0alpha0Api.md#remove_project_member) | **DELETE** /backoffice/public/projects/{project_id}/members/{member_id} | Remove a member associated with this project. This also sets their invite status to `REMOVED`.
89
+ *OryClient::V0alpha0Api* | [**set_active_project**](docs/V0alpha0Api.md#set_active_project) | **PUT** /backoffice/public/console/projects/active | Sets Your Active Project
85
90
  *OryClient::V0alpha0Api* | [**update_project**](docs/V0alpha0Api.md#update_project) | **PUT** /backoffice/public/projects/{project_id} | Update a Project
86
91
  *OryClient::V0alpha0Api* | [**update_project_config**](docs/V0alpha0Api.md#update_project_config) | **PUT** /backoffice/public/projects/{project_id}/configs | Update an Ory Cloud Project Configuration
87
92
  *OryClient::V0alpha2Api* | [**admin_create_identity**](docs/V0alpha2Api.md#admin_create_identity) | **POST** /api/kratos/admin/identities | Create an Identity
@@ -149,6 +154,7 @@ Class | Method | HTTP request | Description
149
154
  - [OryClient::IdentitySchemaLocation](docs/IdentitySchemaLocation.md)
150
155
  - [OryClient::IdentitySchemaValidationResult](docs/IdentitySchemaValidationResult.md)
151
156
  - [OryClient::IdentityState](docs/IdentityState.md)
157
+ - [OryClient::InlineObject](docs/InlineObject.md)
152
158
  - [OryClient::InlineResponse200](docs/InlineResponse200.md)
153
159
  - [OryClient::InlineResponse2001](docs/InlineResponse2001.md)
154
160
  - [OryClient::InlineResponse503](docs/InlineResponse503.md)
@@ -0,0 +1,18 @@
1
+ # OryClient::InlineObject
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **project_id** | **String** | Project ID The Project ID you want to set active. format: uuid | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'ory-client'
13
+
14
+ instance = OryClient::InlineObject.new(
15
+ project_id: null
16
+ )
17
+ ```
18
+
data/docs/V0alpha0Api.md CHANGED
@@ -5,8 +5,13 @@ All URIs are relative to *https://playground.projects.oryapis.com*
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**create_project**](V0alpha0Api.md#create_project) | **POST** /backoffice/public/projects | Create a Project |
8
+ | [**get_active_project**](V0alpha0Api.md#get_active_project) | **GET** /backoffice/public/console/projects/active | Returns Your Active Ory Cloud Project |
8
9
  | [**get_project**](V0alpha0Api.md#get_project) | **GET** /backoffice/public/projects/{project_id} | Get a Project |
10
+ | [**get_project_members**](V0alpha0Api.md#get_project_members) | **GET** /backoffice/public/projects/{project_id}/members | Get all members associated with this project. |
9
11
  | [**list_projects**](V0alpha0Api.md#list_projects) | **GET** /backoffice/public/projects | List All Projects |
12
+ | [**purge_project**](V0alpha0Api.md#purge_project) | **DELETE** /backoffice/public/projects/{project_id} | Irrecoverably Purge a Project |
13
+ | [**remove_project_member**](V0alpha0Api.md#remove_project_member) | **DELETE** /backoffice/public/projects/{project_id}/members/{member_id} | Remove a member associated with this project. This also sets their invite status to `REMOVED`. |
14
+ | [**set_active_project**](V0alpha0Api.md#set_active_project) | **PUT** /backoffice/public/console/projects/active | Sets Your Active Project |
10
15
  | [**update_project**](V0alpha0Api.md#update_project) | **PUT** /backoffice/public/projects/{project_id} | Update a Project |
11
16
  | [**update_project_config**](V0alpha0Api.md#update_project_config) | **PUT** /backoffice/public/projects/{project_id}/configs | Update an Ory Cloud Project Configuration |
12
17
 
@@ -82,6 +87,72 @@ end
82
87
  - **Accept**: application/json
83
88
 
84
89
 
90
+ ## get_active_project
91
+
92
+ > <ActiveProject> get_active_project
93
+
94
+ Returns Your Active Ory Cloud Project
95
+
96
+ Use this API to get your active project in the Ory Cloud Console UI.
97
+
98
+ ### Examples
99
+
100
+ ```ruby
101
+ require 'time'
102
+ require 'ory-client'
103
+ # setup authorization
104
+ OryClient.configure do |config|
105
+ # Configure Bearer authorization: oryAccessToken
106
+ config.access_token = 'YOUR_BEARER_TOKEN'
107
+ end
108
+
109
+ api_instance = OryClient::V0alpha0Api.new
110
+
111
+ begin
112
+ # Returns Your Active Ory Cloud Project
113
+ result = api_instance.get_active_project
114
+ p result
115
+ rescue OryClient::ApiError => e
116
+ puts "Error when calling V0alpha0Api->get_active_project: #{e}"
117
+ end
118
+ ```
119
+
120
+ #### Using the get_active_project_with_http_info variant
121
+
122
+ This returns an Array which contains the response data, status code and headers.
123
+
124
+ > <Array(<ActiveProject>, Integer, Hash)> get_active_project_with_http_info
125
+
126
+ ```ruby
127
+ begin
128
+ # Returns Your Active Ory Cloud Project
129
+ data, status_code, headers = api_instance.get_active_project_with_http_info
130
+ p status_code # => 2xx
131
+ p headers # => { ... }
132
+ p data # => <ActiveProject>
133
+ rescue OryClient::ApiError => e
134
+ puts "Error when calling V0alpha0Api->get_active_project_with_http_info: #{e}"
135
+ end
136
+ ```
137
+
138
+ ### Parameters
139
+
140
+ This endpoint does not need any parameter.
141
+
142
+ ### Return type
143
+
144
+ [**ActiveProject**](ActiveProject.md)
145
+
146
+ ### Authorization
147
+
148
+ [oryAccessToken](../README.md#oryAccessToken)
149
+
150
+ ### HTTP request headers
151
+
152
+ - **Content-Type**: Not defined
153
+ - **Accept**: application/json
154
+
155
+
85
156
  ## get_project
86
157
 
87
158
  > <Project> get_project(project_id)
@@ -151,6 +222,75 @@ end
151
222
  - **Accept**: application/json
152
223
 
153
224
 
225
+ ## get_project_members
226
+
227
+ > <Array<CloudAccount>> get_project_members(project_id)
228
+
229
+ Get all members associated with this project.
230
+
231
+ This endpoint requires the user to be a member of the project with the role `OWNER` or `DEVELOPER`.
232
+
233
+ ### Examples
234
+
235
+ ```ruby
236
+ require 'time'
237
+ require 'ory-client'
238
+ # setup authorization
239
+ OryClient.configure do |config|
240
+ # Configure Bearer authorization: oryAccessToken
241
+ config.access_token = 'YOUR_BEARER_TOKEN'
242
+ end
243
+
244
+ api_instance = OryClient::V0alpha0Api.new
245
+ project_id = 'project_id_example' # String | Project ID The project's ID.
246
+
247
+ begin
248
+ # Get all members associated with this project.
249
+ result = api_instance.get_project_members(project_id)
250
+ p result
251
+ rescue OryClient::ApiError => e
252
+ puts "Error when calling V0alpha0Api->get_project_members: #{e}"
253
+ end
254
+ ```
255
+
256
+ #### Using the get_project_members_with_http_info variant
257
+
258
+ This returns an Array which contains the response data, status code and headers.
259
+
260
+ > <Array(<Array<CloudAccount>>, Integer, Hash)> get_project_members_with_http_info(project_id)
261
+
262
+ ```ruby
263
+ begin
264
+ # Get all members associated with this project.
265
+ data, status_code, headers = api_instance.get_project_members_with_http_info(project_id)
266
+ p status_code # => 2xx
267
+ p headers # => { ... }
268
+ p data # => <Array<CloudAccount>>
269
+ rescue OryClient::ApiError => e
270
+ puts "Error when calling V0alpha0Api->get_project_members_with_http_info: #{e}"
271
+ end
272
+ ```
273
+
274
+ ### Parameters
275
+
276
+ | Name | Type | Description | Notes |
277
+ | ---- | ---- | ----------- | ----- |
278
+ | **project_id** | **String** | Project ID The project&#39;s ID. | |
279
+
280
+ ### Return type
281
+
282
+ [**Array&lt;CloudAccount&gt;**](CloudAccount.md)
283
+
284
+ ### Authorization
285
+
286
+ [oryAccessToken](../README.md#oryAccessToken)
287
+
288
+ ### HTTP request headers
289
+
290
+ - **Content-Type**: Not defined
291
+ - **Accept**: application/json
292
+
293
+
154
294
  ## list_projects
155
295
 
156
296
  > <Array<Project>> list_projects
@@ -217,6 +357,214 @@ This endpoint does not need any parameter.
217
357
  - **Accept**: application/json
218
358
 
219
359
 
360
+ ## purge_project
361
+
362
+ > purge_project(project_id)
363
+
364
+ Irrecoverably Purge a Project
365
+
366
+ !! Use with extreme caution !! Using this API endpoint you can purge (completely delete) a project and its data. This action can not be undone and will delete ALL your data. !! Use with extreme caution !!
367
+
368
+ ### Examples
369
+
370
+ ```ruby
371
+ require 'time'
372
+ require 'ory-client'
373
+ # setup authorization
374
+ OryClient.configure do |config|
375
+ # Configure Bearer authorization: oryAccessToken
376
+ config.access_token = 'YOUR_BEARER_TOKEN'
377
+ end
378
+
379
+ api_instance = OryClient::V0alpha0Api.new
380
+ project_id = 'project_id_example' # String | Project ID The project's ID.
381
+
382
+ begin
383
+ # Irrecoverably Purge a Project
384
+ api_instance.purge_project(project_id)
385
+ rescue OryClient::ApiError => e
386
+ puts "Error when calling V0alpha0Api->purge_project: #{e}"
387
+ end
388
+ ```
389
+
390
+ #### Using the purge_project_with_http_info variant
391
+
392
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
393
+
394
+ > <Array(nil, Integer, Hash)> purge_project_with_http_info(project_id)
395
+
396
+ ```ruby
397
+ begin
398
+ # Irrecoverably Purge a Project
399
+ data, status_code, headers = api_instance.purge_project_with_http_info(project_id)
400
+ p status_code # => 2xx
401
+ p headers # => { ... }
402
+ p data # => nil
403
+ rescue OryClient::ApiError => e
404
+ puts "Error when calling V0alpha0Api->purge_project_with_http_info: #{e}"
405
+ end
406
+ ```
407
+
408
+ ### Parameters
409
+
410
+ | Name | Type | Description | Notes |
411
+ | ---- | ---- | ----------- | ----- |
412
+ | **project_id** | **String** | Project ID The project&#39;s ID. | |
413
+
414
+ ### Return type
415
+
416
+ nil (empty response body)
417
+
418
+ ### Authorization
419
+
420
+ [oryAccessToken](../README.md#oryAccessToken)
421
+
422
+ ### HTTP request headers
423
+
424
+ - **Content-Type**: Not defined
425
+ - **Accept**: application/json
426
+
427
+
428
+ ## remove_project_member
429
+
430
+ > remove_project_member(project_id, member_id)
431
+
432
+ Remove a member associated with this project. This also sets their invite status to `REMOVED`.
433
+
434
+ This endpoint requires the user to be a member of the project with the role `OWNER`.
435
+
436
+ ### Examples
437
+
438
+ ```ruby
439
+ require 'time'
440
+ require 'ory-client'
441
+ # setup authorization
442
+ OryClient.configure do |config|
443
+ # Configure Bearer authorization: oryAccessToken
444
+ config.access_token = 'YOUR_BEARER_TOKEN'
445
+ end
446
+
447
+ api_instance = OryClient::V0alpha0Api.new
448
+ project_id = 'project_id_example' # String | Project ID The project's ID.
449
+ member_id = 'member_id_example' # String | Member ID
450
+
451
+ begin
452
+ # Remove a member associated with this project. This also sets their invite status to `REMOVED`.
453
+ api_instance.remove_project_member(project_id, member_id)
454
+ rescue OryClient::ApiError => e
455
+ puts "Error when calling V0alpha0Api->remove_project_member: #{e}"
456
+ end
457
+ ```
458
+
459
+ #### Using the remove_project_member_with_http_info variant
460
+
461
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
462
+
463
+ > <Array(nil, Integer, Hash)> remove_project_member_with_http_info(project_id, member_id)
464
+
465
+ ```ruby
466
+ begin
467
+ # Remove a member associated with this project. This also sets their invite status to `REMOVED`.
468
+ data, status_code, headers = api_instance.remove_project_member_with_http_info(project_id, member_id)
469
+ p status_code # => 2xx
470
+ p headers # => { ... }
471
+ p data # => nil
472
+ rescue OryClient::ApiError => e
473
+ puts "Error when calling V0alpha0Api->remove_project_member_with_http_info: #{e}"
474
+ end
475
+ ```
476
+
477
+ ### Parameters
478
+
479
+ | Name | Type | Description | Notes |
480
+ | ---- | ---- | ----------- | ----- |
481
+ | **project_id** | **String** | Project ID The project&#39;s ID. | |
482
+ | **member_id** | **String** | Member ID | |
483
+
484
+ ### Return type
485
+
486
+ nil (empty response body)
487
+
488
+ ### Authorization
489
+
490
+ [oryAccessToken](../README.md#oryAccessToken)
491
+
492
+ ### HTTP request headers
493
+
494
+ - **Content-Type**: Not defined
495
+ - **Accept**: application/json
496
+
497
+
498
+ ## set_active_project
499
+
500
+ > set_active_project(opts)
501
+
502
+ Sets Your Active Project
503
+
504
+ Use this API to set your active project in the Ory Cloud Console UI.
505
+
506
+ ### Examples
507
+
508
+ ```ruby
509
+ require 'time'
510
+ require 'ory-client'
511
+ # setup authorization
512
+ OryClient.configure do |config|
513
+ # Configure Bearer authorization: oryAccessToken
514
+ config.access_token = 'YOUR_BEARER_TOKEN'
515
+ end
516
+
517
+ api_instance = OryClient::V0alpha0Api.new
518
+ opts = {
519
+ inline_object: OryClient::InlineObject.new({project_id: 'project_id_example'}) # InlineObject |
520
+ }
521
+
522
+ begin
523
+ # Sets Your Active Project
524
+ api_instance.set_active_project(opts)
525
+ rescue OryClient::ApiError => e
526
+ puts "Error when calling V0alpha0Api->set_active_project: #{e}"
527
+ end
528
+ ```
529
+
530
+ #### Using the set_active_project_with_http_info variant
531
+
532
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
533
+
534
+ > <Array(nil, Integer, Hash)> set_active_project_with_http_info(opts)
535
+
536
+ ```ruby
537
+ begin
538
+ # Sets Your Active Project
539
+ data, status_code, headers = api_instance.set_active_project_with_http_info(opts)
540
+ p status_code # => 2xx
541
+ p headers # => { ... }
542
+ p data # => nil
543
+ rescue OryClient::ApiError => e
544
+ puts "Error when calling V0alpha0Api->set_active_project_with_http_info: #{e}"
545
+ end
546
+ ```
547
+
548
+ ### Parameters
549
+
550
+ | Name | Type | Description | Notes |
551
+ | ---- | ---- | ----------- | ----- |
552
+ | **inline_object** | [**InlineObject**](InlineObject.md) | | [optional] |
553
+
554
+ ### Return type
555
+
556
+ nil (empty response body)
557
+
558
+ ### Authorization
559
+
560
+ [oryAccessToken](../README.md#oryAccessToken)
561
+
562
+ ### HTTP request headers
563
+
564
+ - **Content-Type**: application/json
565
+ - **Accept**: application/json
566
+
567
+
220
568
  ## update_project
221
569
 
222
570
  > <Project> update_project(project_id, opts)
@@ -3,7 +3,7 @@
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.73
6
+ The version of the OpenAPI document: v0.0.1-alpha.74
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0