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
@@ -0,0 +1,264 @@
1
+ =begin
2
+ #Ory APIs
3
+
4
+ #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
+
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
+ Contact: support@ory.sh
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.0.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module OryClient
17
+ class TokenPagination
18
+ # 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).
19
+ attr_accessor :page_size
20
+
21
+ # 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).
22
+ attr_accessor :page_token
23
+
24
+ # Attribute mapping from ruby-style variable name to JSON key.
25
+ def self.attribute_map
26
+ {
27
+ :'page_size' => :'page_size',
28
+ :'page_token' => :'page_token'
29
+ }
30
+ end
31
+
32
+ # Returns all the JSON keys this model knows about
33
+ def self.acceptable_attributes
34
+ attribute_map.values
35
+ end
36
+
37
+ # Attribute type mapping.
38
+ def self.openapi_types
39
+ {
40
+ :'page_size' => :'Integer',
41
+ :'page_token' => :'String'
42
+ }
43
+ end
44
+
45
+ # List of attributes with nullable: true
46
+ def self.openapi_nullable
47
+ Set.new([
48
+ ])
49
+ end
50
+
51
+ # Initializes the object
52
+ # @param [Hash] attributes Model attributes in the form of hash
53
+ def initialize(attributes = {})
54
+ if (!attributes.is_a?(Hash))
55
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::TokenPagination` initialize method"
56
+ end
57
+
58
+ # check to see if the attribute exists and convert string to symbol for hash key
59
+ attributes = attributes.each_with_object({}) { |(k, v), h|
60
+ if (!self.class.attribute_map.key?(k.to_sym))
61
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::TokenPagination`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
62
+ end
63
+ h[k.to_sym] = v
64
+ }
65
+
66
+ if attributes.key?(:'page_size')
67
+ self.page_size = attributes[:'page_size']
68
+ else
69
+ self.page_size = 250
70
+ end
71
+
72
+ if attributes.key?(:'page_token')
73
+ self.page_token = attributes[:'page_token']
74
+ else
75
+ self.page_token = '1'
76
+ end
77
+ end
78
+
79
+ # Show invalid properties with the reasons. Usually used together with valid?
80
+ # @return Array for valid properties with the reasons
81
+ def list_invalid_properties
82
+ invalid_properties = Array.new
83
+ if !@page_size.nil? && @page_size > 1000
84
+ invalid_properties.push('invalid value for "page_size", must be smaller than or equal to 1000.')
85
+ end
86
+
87
+ if !@page_size.nil? && @page_size < 1
88
+ invalid_properties.push('invalid value for "page_size", must be greater than or equal to 1.')
89
+ end
90
+
91
+ invalid_properties
92
+ end
93
+
94
+ # Check to see if the all the properties in the model are valid
95
+ # @return true if the model is valid
96
+ def valid?
97
+ return false if !@page_size.nil? && @page_size > 1000
98
+ return false if !@page_size.nil? && @page_size < 1
99
+ true
100
+ end
101
+
102
+ # Custom attribute writer method with validation
103
+ # @param [Object] page_size Value to be assigned
104
+ def page_size=(page_size)
105
+ if !page_size.nil? && page_size > 1000
106
+ fail ArgumentError, 'invalid value for "page_size", must be smaller than or equal to 1000.'
107
+ end
108
+
109
+ if !page_size.nil? && page_size < 1
110
+ fail ArgumentError, 'invalid value for "page_size", must be greater than or equal to 1.'
111
+ end
112
+
113
+ @page_size = page_size
114
+ end
115
+
116
+ # Custom attribute writer method with validation
117
+ # @param [Object] page_token Value to be assigned
118
+ def page_token=(page_token)
119
+ @page_token = page_token
120
+ end
121
+
122
+ # Checks equality by comparing each attribute.
123
+ # @param [Object] Object to be compared
124
+ def ==(o)
125
+ return true if self.equal?(o)
126
+ self.class == o.class &&
127
+ page_size == o.page_size &&
128
+ page_token == o.page_token
129
+ end
130
+
131
+ # @see the `==` method
132
+ # @param [Object] Object to be compared
133
+ def eql?(o)
134
+ self == o
135
+ end
136
+
137
+ # Calculates hash code according to all attributes.
138
+ # @return [Integer] Hash code
139
+ def hash
140
+ [page_size, page_token].hash
141
+ end
142
+
143
+ # Builds the object from hash
144
+ # @param [Hash] attributes Model attributes in the form of hash
145
+ # @return [Object] Returns the model itself
146
+ def self.build_from_hash(attributes)
147
+ new.build_from_hash(attributes)
148
+ end
149
+
150
+ # Builds the object from hash
151
+ # @param [Hash] attributes Model attributes in the form of hash
152
+ # @return [Object] Returns the model itself
153
+ def build_from_hash(attributes)
154
+ return nil unless attributes.is_a?(Hash)
155
+ attributes = attributes.transform_keys(&:to_sym)
156
+ self.class.openapi_types.each_pair do |key, type|
157
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
158
+ self.send("#{key}=", nil)
159
+ elsif type =~ /\AArray<(.*)>/i
160
+ # check to ensure the input is an array given that the attribute
161
+ # is documented as an array but the input is not
162
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
163
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
164
+ end
165
+ elsif !attributes[self.class.attribute_map[key]].nil?
166
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
167
+ end
168
+ end
169
+
170
+ self
171
+ end
172
+
173
+ # Deserializes the data based on type
174
+ # @param string type Data type
175
+ # @param string value Value to be deserialized
176
+ # @return [Object] Deserialized data
177
+ def _deserialize(type, value)
178
+ case type.to_sym
179
+ when :Time
180
+ Time.parse(value)
181
+ when :Date
182
+ Date.parse(value)
183
+ when :String
184
+ value.to_s
185
+ when :Integer
186
+ value.to_i
187
+ when :Float
188
+ value.to_f
189
+ when :Boolean
190
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
191
+ true
192
+ else
193
+ false
194
+ end
195
+ when :Object
196
+ # generic object (usually a Hash), return directly
197
+ value
198
+ when /\AArray<(?<inner_type>.+)>\z/
199
+ inner_type = Regexp.last_match[:inner_type]
200
+ value.map { |v| _deserialize(inner_type, v) }
201
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
202
+ k_type = Regexp.last_match[:k_type]
203
+ v_type = Regexp.last_match[:v_type]
204
+ {}.tap do |hash|
205
+ value.each do |k, v|
206
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
207
+ end
208
+ end
209
+ else # model
210
+ # models (e.g. Pet) or oneOf
211
+ klass = OryClient.const_get(type)
212
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
213
+ end
214
+ end
215
+
216
+ # Returns the string representation of the object
217
+ # @return [String] String presentation of the object
218
+ def to_s
219
+ to_hash.to_s
220
+ end
221
+
222
+ # to_body is an alias to to_hash (backward compatibility)
223
+ # @return [Hash] Returns the object in the form of hash
224
+ def to_body
225
+ to_hash
226
+ end
227
+
228
+ # Returns the object in the form of hash
229
+ # @return [Hash] Returns the object in the form of hash
230
+ def to_hash
231
+ hash = {}
232
+ self.class.attribute_map.each_pair do |attr, param|
233
+ value = self.send(attr)
234
+ if value.nil?
235
+ is_nullable = self.class.openapi_nullable.include?(attr)
236
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
237
+ end
238
+
239
+ hash[param] = _to_hash(value)
240
+ end
241
+ hash
242
+ end
243
+
244
+ # Outputs non-array value in the form of hash
245
+ # For object, use to_hash. Otherwise, just return the value
246
+ # @param [Object] value Any valid value
247
+ # @return [Hash] Returns the value in the form of hash
248
+ def _to_hash(value)
249
+ if value.is_a?(Array)
250
+ value.compact.map { |v| _to_hash(v) }
251
+ elsif value.is_a?(Hash)
252
+ {}.tap do |hash|
253
+ value.each { |k, v| hash[k] = _to_hash(v) }
254
+ end
255
+ elsif value.respond_to? :to_hash
256
+ value.to_hash
257
+ else
258
+ value
259
+ end
260
+ end
261
+
262
+ end
263
+
264
+ end
@@ -0,0 +1,230 @@
1
+ =begin
2
+ #Ory APIs
3
+
4
+ #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
+
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
+ Contact: support@ory.sh
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.0.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module OryClient
17
+ class TokenPaginationHeaders
18
+ # 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
19
+ attr_accessor :link
20
+
21
+ # The total number of clients. in: header
22
+ attr_accessor :x_total_count
23
+
24
+ # Attribute mapping from ruby-style variable name to JSON key.
25
+ def self.attribute_map
26
+ {
27
+ :'link' => :'link',
28
+ :'x_total_count' => :'x-total-count'
29
+ }
30
+ end
31
+
32
+ # Returns all the JSON keys this model knows about
33
+ def self.acceptable_attributes
34
+ attribute_map.values
35
+ end
36
+
37
+ # Attribute type mapping.
38
+ def self.openapi_types
39
+ {
40
+ :'link' => :'String',
41
+ :'x_total_count' => :'String'
42
+ }
43
+ end
44
+
45
+ # List of attributes with nullable: true
46
+ def self.openapi_nullable
47
+ Set.new([
48
+ ])
49
+ end
50
+
51
+ # Initializes the object
52
+ # @param [Hash] attributes Model attributes in the form of hash
53
+ def initialize(attributes = {})
54
+ if (!attributes.is_a?(Hash))
55
+ fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::TokenPaginationHeaders` initialize method"
56
+ end
57
+
58
+ # check to see if the attribute exists and convert string to symbol for hash key
59
+ attributes = attributes.each_with_object({}) { |(k, v), h|
60
+ if (!self.class.attribute_map.key?(k.to_sym))
61
+ fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::TokenPaginationHeaders`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
62
+ end
63
+ h[k.to_sym] = v
64
+ }
65
+
66
+ if attributes.key?(:'link')
67
+ self.link = attributes[:'link']
68
+ end
69
+
70
+ if attributes.key?(:'x_total_count')
71
+ self.x_total_count = attributes[:'x_total_count']
72
+ end
73
+ end
74
+
75
+ # Show invalid properties with the reasons. Usually used together with valid?
76
+ # @return Array for valid properties with the reasons
77
+ def list_invalid_properties
78
+ invalid_properties = Array.new
79
+ invalid_properties
80
+ end
81
+
82
+ # Check to see if the all the properties in the model are valid
83
+ # @return true if the model is valid
84
+ def valid?
85
+ true
86
+ end
87
+
88
+ # Checks equality by comparing each attribute.
89
+ # @param [Object] Object to be compared
90
+ def ==(o)
91
+ return true if self.equal?(o)
92
+ self.class == o.class &&
93
+ link == o.link &&
94
+ x_total_count == o.x_total_count
95
+ end
96
+
97
+ # @see the `==` method
98
+ # @param [Object] Object to be compared
99
+ def eql?(o)
100
+ self == o
101
+ end
102
+
103
+ # Calculates hash code according to all attributes.
104
+ # @return [Integer] Hash code
105
+ def hash
106
+ [link, x_total_count].hash
107
+ end
108
+
109
+ # Builds the object from hash
110
+ # @param [Hash] attributes Model attributes in the form of hash
111
+ # @return [Object] Returns the model itself
112
+ def self.build_from_hash(attributes)
113
+ new.build_from_hash(attributes)
114
+ end
115
+
116
+ # Builds the object from hash
117
+ # @param [Hash] attributes Model attributes in the form of hash
118
+ # @return [Object] Returns the model itself
119
+ def build_from_hash(attributes)
120
+ return nil unless attributes.is_a?(Hash)
121
+ attributes = attributes.transform_keys(&:to_sym)
122
+ self.class.openapi_types.each_pair do |key, type|
123
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
124
+ self.send("#{key}=", nil)
125
+ elsif type =~ /\AArray<(.*)>/i
126
+ # check to ensure the input is an array given that the attribute
127
+ # is documented as an array but the input is not
128
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
129
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
130
+ end
131
+ elsif !attributes[self.class.attribute_map[key]].nil?
132
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
133
+ end
134
+ end
135
+
136
+ self
137
+ end
138
+
139
+ # Deserializes the data based on type
140
+ # @param string type Data type
141
+ # @param string value Value to be deserialized
142
+ # @return [Object] Deserialized data
143
+ def _deserialize(type, value)
144
+ case type.to_sym
145
+ when :Time
146
+ Time.parse(value)
147
+ when :Date
148
+ Date.parse(value)
149
+ when :String
150
+ value.to_s
151
+ when :Integer
152
+ value.to_i
153
+ when :Float
154
+ value.to_f
155
+ when :Boolean
156
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
157
+ true
158
+ else
159
+ false
160
+ end
161
+ when :Object
162
+ # generic object (usually a Hash), return directly
163
+ value
164
+ when /\AArray<(?<inner_type>.+)>\z/
165
+ inner_type = Regexp.last_match[:inner_type]
166
+ value.map { |v| _deserialize(inner_type, v) }
167
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
168
+ k_type = Regexp.last_match[:k_type]
169
+ v_type = Regexp.last_match[:v_type]
170
+ {}.tap do |hash|
171
+ value.each do |k, v|
172
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
173
+ end
174
+ end
175
+ else # model
176
+ # models (e.g. Pet) or oneOf
177
+ klass = OryClient.const_get(type)
178
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
179
+ end
180
+ end
181
+
182
+ # Returns the string representation of the object
183
+ # @return [String] String presentation of the object
184
+ def to_s
185
+ to_hash.to_s
186
+ end
187
+
188
+ # to_body is an alias to to_hash (backward compatibility)
189
+ # @return [Hash] Returns the object in the form of hash
190
+ def to_body
191
+ to_hash
192
+ end
193
+
194
+ # Returns the object in the form of hash
195
+ # @return [Hash] Returns the object in the form of hash
196
+ def to_hash
197
+ hash = {}
198
+ self.class.attribute_map.each_pair do |attr, param|
199
+ value = self.send(attr)
200
+ if value.nil?
201
+ is_nullable = self.class.openapi_nullable.include?(attr)
202
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
203
+ end
204
+
205
+ hash[param] = _to_hash(value)
206
+ end
207
+ hash
208
+ end
209
+
210
+ # Outputs non-array value in the form of hash
211
+ # For object, use to_hash. Otherwise, just return the value
212
+ # @param [Object] value Any valid value
213
+ # @return [Hash] Returns the value in the form of hash
214
+ def _to_hash(value)
215
+ if value.is_a?(Array)
216
+ value.compact.map { |v| _to_hash(v) }
217
+ elsif value.is_a?(Hash)
218
+ {}.tap do |hash|
219
+ value.each { |k, v| hash[k] = _to_hash(v) }
220
+ end
221
+ elsif value.respond_to? :to_hash
222
+ value.to_hash
223
+ else
224
+ value
225
+ end
226
+ end
227
+
228
+ end
229
+
230
+ end
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.12
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -156,6 +156,7 @@ module OryClient
156
156
  # @return [Object] Returns the model itself
157
157
  def build_from_hash(attributes)
158
158
  return nil unless attributes.is_a?(Hash)
159
+ attributes = attributes.transform_keys(&:to_sym)
159
160
  self.class.openapi_types.each_pair do |key, type|
160
161
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
161
162
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.12
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -219,6 +219,7 @@ module OryClient
219
219
  # @return [Object] Returns the model itself
220
220
  def build_from_hash(attributes)
221
221
  return nil unless attributes.is_a?(Hash)
222
+ attributes = attributes.transform_keys(&:to_sym)
222
223
  self.class.openapi_types.each_pair do |key, type|
223
224
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
224
225
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.12
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -157,6 +157,7 @@ module OryClient
157
157
  # @return [Object] Returns the model itself
158
158
  def build_from_hash(attributes)
159
159
  return nil unless attributes.is_a?(Hash)
160
+ attributes = attributes.transform_keys(&:to_sym)
160
161
  self.class.openapi_types.each_pair do |key, type|
161
162
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
162
163
  self.send("#{key}=", nil)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.12
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -48,9 +48,9 @@ module OryClient
48
48
  # @return [Object] Returns the model or the data itself
49
49
  def build(data)
50
50
  discriminator_value = data[openapi_discriminator_name]
51
- return nil unless discriminator_value
51
+ return nil if discriminator_value.nil?
52
52
 
53
- klass = openapi_discriminator_mapping[discriminator_value.to_sym]
53
+ klass = openapi_discriminator_mapping[discriminator_value.to_s.to_sym]
54
54
  return nil unless klass
55
55
 
56
56
  OryClient.const_get(klass).build_from_hash(data)
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.1.0-alpha.12
6
+ The version of the OpenAPI document: v0.2.0-alpha.2
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 5.4.0
9
+ OpenAPI Generator version: 6.0.1
10
10
 
11
11
  =end
12
12
 
@@ -173,6 +173,7 @@ module OryClient
173
173
  # @return [Object] Returns the model itself
174
174
  def build_from_hash(attributes)
175
175
  return nil unless attributes.is_a?(Hash)
176
+ attributes = attributes.transform_keys(&:to_sym)
176
177
  self.class.openapi_types.each_pair do |key, type|
177
178
  if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
178
179
  self.send("#{key}=", nil)