ory-client 1.22.86 → 1.22.88

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1137) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +6 -6
  3. data/README.md +5 -5
  4. data/docs/AcceptOAuth2ConsentRequest.md +1 -1
  5. data/docs/AdminUpdateImportedApiKeyRequest.md +1 -1
  6. data/docs/AdminUpdateIssuedApiKeyRequest.md +1 -1
  7. data/docs/CreateEventStreamBody.md +8 -0
  8. data/docs/CreateProjectNormalizedPayload.md +20 -0
  9. data/docs/DeriveTokenRequest.md +4 -2
  10. data/docs/EventStream.md +9 -1
  11. data/docs/ImportApiKeyRequest.md +2 -2
  12. data/docs/ImportedApiKey.md +1 -1
  13. data/docs/IssueApiKeyRequest.md +1 -1
  14. data/docs/IssuedApiKey.md +1 -1
  15. data/docs/LoginFlowTestDebugPayload.md +2 -0
  16. data/docs/NormalizedProjectRevision.md +20 -0
  17. data/docs/OAuth2Api.md +13 -6
  18. data/docs/OAuth2ConsentRequest.md +2 -0
  19. data/docs/OAuth2ConsentSession.md +1 -1
  20. data/docs/OAuth2LoginRequest.md +2 -0
  21. data/docs/OnboardingPortalOrganization.md +2 -0
  22. data/docs/QuotaUsage.md +1 -1
  23. data/docs/SelfRevokeApiKeyRequest.md +1 -1
  24. data/docs/SetEventStreamBody.md +9 -1
  25. data/docs/Token.md +2 -0
  26. data/docs/UpdateLoginFlowWithLookupSecretMethod.md +3 -1
  27. data/docs/UpdateLoginFlowWithPasskeyMethod.md +3 -1
  28. data/docs/VerifyApiKeyRequest.md +4 -2
  29. data/docs/VerifyApiKeyResponse.md +2 -0
  30. data/docs/VerifyUserCodeRequest.md +2 -0
  31. data/lib/ory-client/api/api_keys_api.rb +1 -1
  32. data/lib/ory-client/api/courier_api.rb +1 -1
  33. data/lib/ory-client/api/elements_api.rb +1 -1
  34. data/lib/ory-client/api/events_api.rb +1 -1
  35. data/lib/ory-client/api/frontend_api.rb +1 -1
  36. data/lib/ory-client/api/identity_api.rb +1 -1
  37. data/lib/ory-client/api/jwk_api.rb +1 -1
  38. data/lib/ory-client/api/metadata_api.rb +1 -1
  39. data/lib/ory-client/api/o_auth2_api.rb +7 -1
  40. data/lib/ory-client/api/oidc_api.rb +1 -1
  41. data/lib/ory-client/api/permission_api.rb +1 -1
  42. data/lib/ory-client/api/project_api.rb +1 -1
  43. data/lib/ory-client/api/relationship_api.rb +1 -1
  44. data/lib/ory-client/api/wellknown_api.rb +1 -1
  45. data/lib/ory-client/api/workspace_api.rb +1 -1
  46. data/lib/ory-client/api_client.rb +2 -2
  47. data/lib/ory-client/api_error.rb +1 -1
  48. data/lib/ory-client/api_model_base.rb +1 -1
  49. data/lib/ory-client/configuration.rb +1 -1
  50. data/lib/ory-client/models/accept_device_user_code_request.rb +1 -1
  51. data/lib/ory-client/models/accept_o_auth2_consent_request.rb +2 -2
  52. data/lib/ory-client/models/accept_o_auth2_consent_request_session.rb +1 -1
  53. data/lib/ory-client/models/accept_o_auth2_login_request.rb +1 -1
  54. data/lib/ory-client/models/account_experience_colors.rb +1 -1
  55. data/lib/ory-client/models/account_experience_configuration.rb +1 -1
  56. data/lib/ory-client/models/add_project_to_workspace_body.rb +1 -1
  57. data/lib/ory-client/models/add_workspace_organization_domain_body.rb +1 -1
  58. data/lib/ory-client/models/admin_identity_import_credentials_lookup_secret.rb +1 -1
  59. data/lib/ory-client/models/admin_identity_import_credentials_lookup_secret_config.rb +1 -1
  60. data/lib/ory-client/models/admin_revoke_imported_api_key_body.rb +1 -1
  61. data/lib/ory-client/models/admin_revoke_issued_api_key_body.rb +1 -1
  62. data/lib/ory-client/models/admin_rotate_issued_api_key_body.rb +1 -1
  63. data/lib/ory-client/models/admin_update_imported_api_key_request.rb +2 -2
  64. data/lib/ory-client/models/admin_update_issued_api_key_request.rb +2 -2
  65. data/lib/ory-client/models/ai_assistant_session_token.rb +1 -1
  66. data/lib/ory-client/models/any.rb +1 -1
  67. data/lib/ory-client/models/attribute.rb +1 -1
  68. data/lib/ory-client/models/attribute_filter.rb +1 -1
  69. data/lib/ory-client/models/attributes_count_datapoint.rb +1 -1
  70. data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
  71. data/lib/ory-client/models/basic_organization.rb +1 -1
  72. data/lib/ory-client/models/batch_check_permission_body.rb +1 -1
  73. data/lib/ory-client/models/batch_check_permission_result.rb +1 -1
  74. data/lib/ory-client/models/batch_create_imported_api_keys_error_code.rb +1 -1
  75. data/lib/ory-client/models/batch_create_imported_api_keys_request.rb +1 -1
  76. data/lib/ory-client/models/batch_create_imported_api_keys_response.rb +1 -1
  77. data/lib/ory-client/models/batch_create_imported_api_keys_result.rb +1 -1
  78. data/lib/ory-client/models/batch_patch_identities_response.rb +1 -1
  79. data/lib/ory-client/models/batch_verify_api_keys_request.rb +1 -1
  80. data/lib/ory-client/models/batch_verify_api_keys_response.rb +1 -1
  81. data/lib/ory-client/models/billing_period_bucket.rb +1 -1
  82. data/lib/ory-client/models/check_opl_syntax_result.rb +1 -1
  83. data/lib/ory-client/models/check_permission_result.rb +1 -1
  84. data/lib/ory-client/models/check_permission_result_with_error.rb +1 -1
  85. data/lib/ory-client/models/cloud_account.rb +1 -1
  86. data/lib/ory-client/models/continue_with.rb +1 -1
  87. data/lib/ory-client/models/continue_with_device_authn_pin_entry_ui.rb +1 -1
  88. data/lib/ory-client/models/continue_with_device_authn_pin_entry_ui_data.rb +1 -1
  89. data/lib/ory-client/models/continue_with_recovery_ui.rb +1 -1
  90. data/lib/ory-client/models/continue_with_recovery_ui_flow.rb +1 -1
  91. data/lib/ory-client/models/continue_with_redirect_browser_to.rb +1 -1
  92. data/lib/ory-client/models/continue_with_set_ory_session_token.rb +1 -1
  93. data/lib/ory-client/models/continue_with_settings_ui.rb +1 -1
  94. data/lib/ory-client/models/continue_with_settings_ui_flow.rb +1 -1
  95. data/lib/ory-client/models/continue_with_verification_ui.rb +1 -1
  96. data/lib/ory-client/models/continue_with_verification_ui_flow.rb +1 -1
  97. data/lib/ory-client/models/courier_message_status.rb +1 -1
  98. data/lib/ory-client/models/courier_message_type.rb +1 -1
  99. data/lib/ory-client/models/create_custom_domain_body.rb +1 -1
  100. data/lib/ory-client/models/create_event_stream_body.rb +56 -2
  101. data/lib/ory-client/models/create_fedcm_flow_response.rb +1 -1
  102. data/lib/ory-client/models/create_identity_body.rb +1 -1
  103. data/lib/ory-client/models/create_invite_response.rb +1 -1
  104. data/lib/ory-client/models/create_json_web_key_set.rb +1 -1
  105. data/lib/ory-client/models/create_onboarding_link_response.rb +1 -1
  106. data/lib/ory-client/models/create_organization_onboarding_portal_link_body.rb +1 -1
  107. data/lib/ory-client/models/create_project_api_key_body.rb +1 -1
  108. data/lib/ory-client/models/create_project_body.rb +1 -1
  109. data/lib/ory-client/models/create_project_branding.rb +1 -1
  110. data/lib/ory-client/models/create_project_member_invite_body.rb +1 -1
  111. data/lib/ory-client/models/create_project_normalized_payload.rb +104 -2
  112. data/lib/ory-client/models/create_recovery_code_for_identity_body.rb +1 -1
  113. data/lib/ory-client/models/create_recovery_link_for_identity_body.rb +1 -1
  114. data/lib/ory-client/models/create_relationship_body.rb +1 -1
  115. data/lib/ory-client/models/create_subscription_body.rb +1 -1
  116. data/lib/ory-client/models/create_subscription_common.rb +1 -1
  117. data/lib/ory-client/models/create_test_login_flow_body.rb +1 -1
  118. data/lib/ory-client/models/create_test_login_flow_from_onboarding_portal_link_body.rb +1 -1
  119. data/lib/ory-client/models/create_verifiable_credential_request_body.rb +1 -1
  120. data/lib/ory-client/models/create_workspace_api_key_body.rb +1 -1
  121. data/lib/ory-client/models/create_workspace_body.rb +1 -1
  122. data/lib/ory-client/models/create_workspace_contact_body.rb +1 -1
  123. data/lib/ory-client/models/create_workspace_member_invite_body.rb +1 -1
  124. data/lib/ory-client/models/create_workspace_organization_body.rb +1 -1
  125. data/lib/ory-client/models/create_workspace_subscription_body.rb +1 -1
  126. data/lib/ory-client/models/credential_supported_draft00.rb +1 -1
  127. data/lib/ory-client/models/custom_domain.rb +1 -1
  128. data/lib/ory-client/models/customer_portal_availability.rb +1 -1
  129. data/lib/ory-client/models/delete_my_sessions_count.rb +1 -1
  130. data/lib/ory-client/models/derive_token_request.rb +16 -3
  131. data/lib/ory-client/models/derive_token_response.rb +1 -1
  132. data/lib/ory-client/models/device_authn_android_authorization_list.rb +1 -1
  133. data/lib/ory-client/models/device_authn_android_key_description.rb +1 -1
  134. data/lib/ory-client/models/device_authn_android_root_of_trust.rb +1 -1
  135. data/lib/ory-client/models/device_authn_attestation.rb +1 -1
  136. data/lib/ory-client/models/device_authn_ios_att_stmt.rb +1 -1
  137. data/lib/ory-client/models/device_authn_ios_attestation.rb +1 -1
  138. data/lib/ory-client/models/device_authn_key.rb +1 -1
  139. data/lib/ory-client/models/device_authorization.rb +1 -1
  140. data/lib/ory-client/models/device_type.rb +1 -1
  141. data/lib/ory-client/models/device_user_auth_request.rb +1 -1
  142. data/lib/ory-client/models/domain_verification_status.rb +1 -1
  143. data/lib/ory-client/models/elements_configuration.rb +1 -1
  144. data/lib/ory-client/models/email_template_data.rb +1 -1
  145. data/lib/ory-client/models/email_template_data_body.rb +1 -1
  146. data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
  147. data/lib/ory-client/models/error_browser_location_change_required.rb +1 -1
  148. data/lib/ory-client/models/error_flow_replaced.rb +1 -1
  149. data/lib/ory-client/models/error_generic.rb +1 -1
  150. data/lib/ory-client/models/error_o_auth2.rb +1 -1
  151. data/lib/ory-client/models/event_stream.rb +57 -3
  152. data/lib/ory-client/models/expanded_permission_tree.rb +1 -1
  153. data/lib/ory-client/models/feature_flags_catalog_entry.rb +1 -1
  154. data/lib/ory-client/models/flow_error.rb +1 -1
  155. data/lib/ory-client/models/generic_error.rb +1 -1
  156. data/lib/ory-client/models/generic_error_content.rb +1 -1
  157. data/lib/ory-client/models/generic_oidc_provider.rb +1 -1
  158. data/lib/ory-client/models/generic_usage.rb +1 -1
  159. data/lib/ory-client/models/get_attributes_count.rb +1 -1
  160. data/lib/ory-client/models/get_jwks_response.rb +1 -1
  161. data/lib/ory-client/models/get_jwks_response_jwks.rb +1 -1
  162. data/lib/ory-client/models/get_jwks_response_jwks_keys_inner.rb +1 -1
  163. data/lib/ory-client/models/get_managed_identity_schema_location.rb +1 -1
  164. data/lib/ory-client/models/get_metrics_count.rb +1 -1
  165. data/lib/ory-client/models/get_metrics_event_attributes.rb +1 -1
  166. data/lib/ory-client/models/get_metrics_event_types.rb +1 -1
  167. data/lib/ory-client/models/get_organization_response.rb +1 -1
  168. data/lib/ory-client/models/get_organizations_by_hostname_response.rb +1 -1
  169. data/lib/ory-client/models/get_project_events.rb +1 -1
  170. data/lib/ory-client/models/get_project_events_body.rb +1 -1
  171. data/lib/ory-client/models/get_project_metrics.rb +1 -1
  172. data/lib/ory-client/models/get_session_activity.rb +1 -1
  173. data/lib/ory-client/models/get_version200_response.rb +1 -1
  174. data/lib/ory-client/models/health_not_ready_status.rb +1 -1
  175. data/lib/ory-client/models/health_status.rb +1 -1
  176. data/lib/ory-client/models/identity.rb +1 -1
  177. data/lib/ory-client/models/identity_credentials.rb +1 -1
  178. data/lib/ory-client/models/identity_credentials_code.rb +1 -1
  179. data/lib/ory-client/models/identity_credentials_code_address.rb +1 -1
  180. data/lib/ory-client/models/identity_credentials_lookup_secret_code.rb +1 -1
  181. data/lib/ory-client/models/identity_credentials_oidc.rb +1 -1
  182. data/lib/ory-client/models/identity_credentials_oidc_provider.rb +1 -1
  183. data/lib/ory-client/models/identity_credentials_password.rb +1 -1
  184. data/lib/ory-client/models/identity_credentials_web_authn.rb +1 -1
  185. data/lib/ory-client/models/identity_credentials_web_authn_attestation.rb +1 -1
  186. data/lib/ory-client/models/identity_credentials_web_authn_authenticator.rb +1 -1
  187. data/lib/ory-client/models/identity_credentials_web_authn_flags.rb +1 -1
  188. data/lib/ory-client/models/identity_patch.rb +1 -1
  189. data/lib/ory-client/models/identity_patch_response.rb +1 -1
  190. data/lib/ory-client/models/identity_schema_container.rb +1 -1
  191. data/lib/ory-client/models/identity_schema_preset.rb +1 -1
  192. data/lib/ory-client/models/identity_with_credentials.rb +1 -1
  193. data/lib/ory-client/models/identity_with_credentials_oidc.rb +1 -1
  194. data/lib/ory-client/models/identity_with_credentials_oidc_config.rb +1 -1
  195. data/lib/ory-client/models/identity_with_credentials_oidc_config_provider.rb +1 -1
  196. data/lib/ory-client/models/identity_with_credentials_passkey.rb +1 -1
  197. data/lib/ory-client/models/identity_with_credentials_passkey_config.rb +1 -1
  198. data/lib/ory-client/models/identity_with_credentials_password.rb +1 -1
  199. data/lib/ory-client/models/identity_with_credentials_password_config.rb +1 -1
  200. data/lib/ory-client/models/identity_with_credentials_saml.rb +1 -1
  201. data/lib/ory-client/models/identity_with_credentials_saml_config.rb +1 -1
  202. data/lib/ory-client/models/identity_with_credentials_saml_config_provider.rb +1 -1
  203. data/lib/ory-client/models/identity_with_credentials_totp.rb +1 -1
  204. data/lib/ory-client/models/identity_with_credentials_totp_config.rb +1 -1
  205. data/lib/ory-client/models/identity_with_credentials_web_authn.rb +1 -1
  206. data/lib/ory-client/models/identity_with_credentials_web_authn_config.rb +1 -1
  207. data/lib/ory-client/models/import_api_key_request.rb +3 -2
  208. data/lib/ory-client/models/imported_api_key.rb +2 -2
  209. data/lib/ory-client/models/internal_get_project_branding_body.rb +1 -1
  210. data/lib/ory-client/models/internal_is_ax_welcome_screen_enabled_for_project_body.rb +1 -1
  211. data/lib/ory-client/models/internal_is_owner_for_project_by_slug.rb +1 -1
  212. data/lib/ory-client/models/internal_is_owner_for_project_by_slug_body.rb +1 -1
  213. data/lib/ory-client/models/introspected_o_auth2_token.rb +1 -1
  214. data/lib/ory-client/models/invite_token_body.rb +1 -1
  215. data/lib/ory-client/models/invoice.rb +1 -1
  216. data/lib/ory-client/models/invoice_data_v1.rb +1 -1
  217. data/lib/ory-client/models/ip_restriction.rb +2 -2
  218. data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
  219. data/lib/ory-client/models/issue_api_key_request.rb +2 -2
  220. data/lib/ory-client/models/issue_api_key_response.rb +1 -1
  221. data/lib/ory-client/models/issued_api_key.rb +2 -2
  222. data/lib/ory-client/models/json_patch.rb +1 -1
  223. data/lib/ory-client/models/json_web_key.rb +1 -1
  224. data/lib/ory-client/models/json_web_key_set.rb +1 -1
  225. data/lib/ory-client/models/keto_namespace.rb +1 -1
  226. data/lib/ory-client/models/key_state.rb +1 -1
  227. data/lib/ory-client/models/key_status.rb +1 -1
  228. data/lib/ory-client/models/key_visibility.rb +1 -1
  229. data/lib/ory-client/models/keyset_pagination_request_parameters.rb +1 -1
  230. data/lib/ory-client/models/keyset_pagination_response_headers.rb +1 -1
  231. data/lib/ory-client/models/line_item_v1.rb +1 -1
  232. data/lib/ory-client/models/list_event_streams.rb +1 -1
  233. data/lib/ory-client/models/list_imported_api_keys_response.rb +1 -1
  234. data/lib/ory-client/models/list_invoices_response.rb +1 -1
  235. data/lib/ory-client/models/list_issued_api_keys_response.rb +1 -1
  236. data/lib/ory-client/models/list_organizations_response.rb +1 -1
  237. data/lib/ory-client/models/list_workspace_contacts.rb +1 -1
  238. data/lib/ory-client/models/list_workspace_projects.rb +1 -1
  239. data/lib/ory-client/models/list_workspaces.rb +1 -1
  240. data/lib/ory-client/models/login_flow.rb +1 -1
  241. data/lib/ory-client/models/login_flow_state.rb +1 -1
  242. data/lib/ory-client/models/login_flow_test_context.rb +1 -1
  243. data/lib/ory-client/models/login_flow_test_debug_payload.rb +14 -2
  244. data/lib/ory-client/models/login_flow_test_schema_validation_error.rb +1 -1
  245. data/lib/ory-client/models/login_flow_test_step_error.rb +1 -1
  246. data/lib/ory-client/models/logout_flow.rb +1 -1
  247. data/lib/ory-client/models/manage_sessions_body.rb +1 -1
  248. data/lib/ory-client/models/manage_sessions_response.rb +1 -1
  249. data/lib/ory-client/models/managed_identity_schema.rb +1 -1
  250. data/lib/ory-client/models/managed_identity_schema_validation_result.rb +1 -1
  251. data/lib/ory-client/models/member_invite.rb +1 -1
  252. data/lib/ory-client/models/message.rb +1 -1
  253. data/lib/ory-client/models/message_dispatch.rb +1 -1
  254. data/lib/ory-client/models/metrics_datapoint.rb +1 -1
  255. data/lib/ory-client/models/namespace.rb +1 -1
  256. data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
  257. data/lib/ory-client/models/normalized_project.rb +1 -1
  258. data/lib/ory-client/models/normalized_project_revision.rb +104 -2
  259. data/lib/ory-client/models/normalized_project_revision_courier_channel.rb +1 -1
  260. data/lib/ory-client/models/normalized_project_revision_hook.rb +1 -1
  261. data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +1 -1
  262. data/lib/ory-client/models/normalized_project_revision_saml_provider.rb +1 -1
  263. data/lib/ory-client/models/normalized_project_revision_scim_client.rb +1 -1
  264. data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +1 -1
  265. data/lib/ory-client/models/normalized_project_revision_tokenizer_template.rb +1 -1
  266. data/lib/ory-client/models/null_value.rb +1 -1
  267. data/lib/ory-client/models/o_auth2_client.rb +1 -1
  268. data/lib/ory-client/models/o_auth2_client_token_lifespans.rb +1 -1
  269. data/lib/ory-client/models/o_auth2_consent_request.rb +14 -2
  270. data/lib/ory-client/models/o_auth2_consent_request_open_id_connect_context.rb +1 -1
  271. data/lib/ory-client/models/o_auth2_consent_session.rb +2 -2
  272. data/lib/ory-client/models/o_auth2_login_request.rb +14 -2
  273. data/lib/ory-client/models/o_auth2_logout_request.rb +1 -1
  274. data/lib/ory-client/models/o_auth2_redirect_to.rb +1 -1
  275. data/lib/ory-client/models/o_auth2_token_exchange.rb +1 -1
  276. data/lib/ory-client/models/oidc_configuration.rb +1 -1
  277. data/lib/ory-client/models/oidc_user_info.rb +1 -1
  278. data/lib/ory-client/models/onboarding_portal_link.rb +1 -1
  279. data/lib/ory-client/models/onboarding_portal_organization.rb +31 -2
  280. data/lib/ory-client/models/onboarding_portal_test_login_flow.rb +1 -1
  281. data/lib/ory-client/models/opl_parse_error.rb +1 -1
  282. data/lib/ory-client/models/opl_source_position.rb +1 -1
  283. data/lib/ory-client/models/opl_validate_result.rb +1 -1
  284. data/lib/ory-client/models/organization.rb +1 -1
  285. data/lib/ory-client/models/organization_body.rb +1 -1
  286. data/lib/ory-client/models/organization_by_hostname.rb +1 -1
  287. data/lib/ory-client/models/organization_onboarding_portal_links_response.rb +1 -1
  288. data/lib/ory-client/models/parse_error.rb +1 -1
  289. data/lib/ory-client/models/patch_identities_body.rb +1 -1
  290. data/lib/ory-client/models/patch_workspace_contact_body.rb +1 -1
  291. data/lib/ory-client/models/patch_workspace_member_body.rb +1 -1
  292. data/lib/ory-client/models/perform_native_logout_body.rb +1 -1
  293. data/lib/ory-client/models/permissions_on_workspace.rb +1 -1
  294. data/lib/ory-client/models/pin_config.rb +1 -1
  295. data/lib/ory-client/models/plan_details.rb +1 -1
  296. data/lib/ory-client/models/post_check_permission_body.rb +1 -1
  297. data/lib/ory-client/models/post_check_permission_or_error_body.rb +1 -1
  298. data/lib/ory-client/models/project.rb +1 -1
  299. data/lib/ory-client/models/project_api_key.rb +1 -1
  300. data/lib/ory-client/models/project_branding.rb +1 -1
  301. data/lib/ory-client/models/project_branding_colors.rb +1 -1
  302. data/lib/ory-client/models/project_branding_theme.rb +1 -1
  303. data/lib/ory-client/models/project_cors.rb +1 -1
  304. data/lib/ory-client/models/project_events_datapoint.rb +1 -1
  305. data/lib/ory-client/models/project_host.rb +1 -1
  306. data/lib/ory-client/models/project_member.rb +1 -1
  307. data/lib/ory-client/models/project_metadata.rb +1 -1
  308. data/lib/ory-client/models/project_service_account_experience.rb +1 -1
  309. data/lib/ory-client/models/project_service_identity.rb +1 -1
  310. data/lib/ory-client/models/project_service_o_auth2.rb +1 -1
  311. data/lib/ory-client/models/project_service_permission.rb +1 -1
  312. data/lib/ory-client/models/project_service_talos.rb +1 -1
  313. data/lib/ory-client/models/project_services.rb +1 -1
  314. data/lib/ory-client/models/provider.rb +1 -1
  315. data/lib/ory-client/models/public_member_invite.rb +1 -1
  316. data/lib/ory-client/models/quota_usage.rb +4 -4
  317. data/lib/ory-client/models/rate_limit_policy.rb +1 -1
  318. data/lib/ory-client/models/recovery_code_for_identity.rb +1 -1
  319. data/lib/ory-client/models/recovery_flow.rb +1 -1
  320. data/lib/ory-client/models/recovery_flow_state.rb +1 -1
  321. data/lib/ory-client/models/recovery_identity_address.rb +1 -1
  322. data/lib/ory-client/models/recovery_link_for_identity.rb +1 -1
  323. data/lib/ory-client/models/registration_flow.rb +1 -1
  324. data/lib/ory-client/models/registration_flow_state.rb +1 -1
  325. data/lib/ory-client/models/reject_o_auth2_request.rb +1 -1
  326. data/lib/ory-client/models/relation_query.rb +1 -1
  327. data/lib/ory-client/models/relationship.rb +1 -1
  328. data/lib/ory-client/models/relationship_namespaces.rb +1 -1
  329. data/lib/ory-client/models/relationship_patch.rb +1 -1
  330. data/lib/ory-client/models/relationships.rb +1 -1
  331. data/lib/ory-client/models/revision_account_experience_custom_translation.rb +1 -1
  332. data/lib/ory-client/models/revocation_reason.rb +1 -1
  333. data/lib/ory-client/models/rfc6749_error_json.rb +1 -1
  334. data/lib/ory-client/models/rotate_issued_api_key_response.rb +1 -1
  335. data/lib/ory-client/models/rotate_o_auth2_client_secret_body.rb +1 -1
  336. data/lib/ory-client/models/rotate_talos_key_body.rb +1 -1
  337. data/lib/ory-client/models/schema_patch.rb +1 -1
  338. data/lib/ory-client/models/self_revoke_api_key_request.rb +2 -1
  339. data/lib/ory-client/models/self_service_flow_expired_error.rb +1 -1
  340. data/lib/ory-client/models/session.rb +1 -1
  341. data/lib/ory-client/models/session_activity_datapoint.rb +1 -1
  342. data/lib/ory-client/models/session_authentication_method.rb +1 -1
  343. data/lib/ory-client/models/session_device.rb +1 -1
  344. data/lib/ory-client/models/set_custom_domain_body.rb +1 -1
  345. data/lib/ory-client/models/set_event_stream_body.rb +58 -4
  346. data/lib/ory-client/models/set_organization_from_onboarding_portal_link_body.rb +1 -1
  347. data/lib/ory-client/models/set_project.rb +1 -1
  348. data/lib/ory-client/models/set_project_branding_theme_body.rb +1 -1
  349. data/lib/ory-client/models/settings_flow.rb +1 -1
  350. data/lib/ory-client/models/settings_flow_state.rb +1 -1
  351. data/lib/ory-client/models/source_position.rb +1 -1
  352. data/lib/ory-client/models/status.rb +1 -1
  353. data/lib/ory-client/models/subject_set.rb +1 -1
  354. data/lib/ory-client/models/subscription.rb +1 -1
  355. data/lib/ory-client/models/successful_code_exchange_response.rb +1 -1
  356. data/lib/ory-client/models/successful_native_login.rb +1 -1
  357. data/lib/ory-client/models/successful_native_registration.rb +1 -1
  358. data/lib/ory-client/models/successful_project_update.rb +1 -1
  359. data/lib/ory-client/models/talos_retired_value.rb +1 -1
  360. data/lib/ory-client/models/tax_line_item.rb +1 -1
  361. data/lib/ory-client/models/time_interval.rb +1 -1
  362. data/lib/ory-client/models/token.rb +14 -2
  363. data/lib/ory-client/models/token_algorithm.rb +1 -1
  364. data/lib/ory-client/models/token_pagination.rb +1 -1
  365. data/lib/ory-client/models/token_pagination_headers.rb +1 -1
  366. data/lib/ory-client/models/token_pagination_request_parameters.rb +1 -1
  367. data/lib/ory-client/models/token_pagination_response_headers.rb +1 -1
  368. data/lib/ory-client/models/trust_o_auth2_jwt_grant_issuer.rb +1 -1
  369. data/lib/ory-client/models/trusted_o_auth2_jwt_grant_issuer.rb +1 -1
  370. data/lib/ory-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +1 -1
  371. data/lib/ory-client/models/ui_container.rb +1 -1
  372. data/lib/ory-client/models/ui_node.rb +1 -1
  373. data/lib/ory-client/models/ui_node_anchor_attributes.rb +1 -1
  374. data/lib/ory-client/models/ui_node_attributes.rb +1 -1
  375. data/lib/ory-client/models/ui_node_division_attributes.rb +1 -1
  376. data/lib/ory-client/models/ui_node_image_attributes.rb +1 -1
  377. data/lib/ory-client/models/ui_node_input_attributes.rb +1 -1
  378. data/lib/ory-client/models/ui_node_input_attributes_option.rb +1 -1
  379. data/lib/ory-client/models/ui_node_meta.rb +1 -1
  380. data/lib/ory-client/models/ui_node_script_attributes.rb +1 -1
  381. data/lib/ory-client/models/ui_node_text_attributes.rb +1 -1
  382. data/lib/ory-client/models/ui_text.rb +1 -1
  383. data/lib/ory-client/models/update_fedcm_flow_body.rb +1 -1
  384. data/lib/ory-client/models/update_identity_body.rb +1 -1
  385. data/lib/ory-client/models/update_login_flow_body.rb +1 -1
  386. data/lib/ory-client/models/update_login_flow_with_code_method.rb +1 -1
  387. data/lib/ory-client/models/update_login_flow_with_device_authn_method.rb +1 -1
  388. data/lib/ory-client/models/update_login_flow_with_identifier_first_method.rb +1 -1
  389. data/lib/ory-client/models/update_login_flow_with_lookup_secret_method.rb +15 -5
  390. data/lib/ory-client/models/update_login_flow_with_oidc_method.rb +1 -1
  391. data/lib/ory-client/models/update_login_flow_with_passkey_method.rb +15 -5
  392. data/lib/ory-client/models/update_login_flow_with_password_method.rb +1 -1
  393. data/lib/ory-client/models/update_login_flow_with_saml_method.rb +1 -1
  394. data/lib/ory-client/models/update_login_flow_with_totp_method.rb +1 -1
  395. data/lib/ory-client/models/update_login_flow_with_web_authn_method.rb +1 -1
  396. data/lib/ory-client/models/update_organization_onboarding_portal_link_body.rb +1 -1
  397. data/lib/ory-client/models/update_recovery_flow_body.rb +1 -1
  398. data/lib/ory-client/models/update_recovery_flow_with_code_method.rb +1 -1
  399. data/lib/ory-client/models/update_recovery_flow_with_link_method.rb +1 -1
  400. data/lib/ory-client/models/update_registration_flow_body.rb +1 -1
  401. data/lib/ory-client/models/update_registration_flow_with_code_method.rb +1 -1
  402. data/lib/ory-client/models/update_registration_flow_with_oidc_method.rb +1 -1
  403. data/lib/ory-client/models/update_registration_flow_with_passkey_method.rb +1 -1
  404. data/lib/ory-client/models/update_registration_flow_with_password_method.rb +1 -1
  405. data/lib/ory-client/models/update_registration_flow_with_profile_method.rb +1 -1
  406. data/lib/ory-client/models/update_registration_flow_with_saml_method.rb +1 -1
  407. data/lib/ory-client/models/update_registration_flow_with_web_authn_method.rb +1 -1
  408. data/lib/ory-client/models/update_settings_flow_body.rb +1 -1
  409. data/lib/ory-client/models/update_settings_flow_with_device_authn_method.rb +1 -1
  410. data/lib/ory-client/models/update_settings_flow_with_device_authn_method_register.rb +1 -1
  411. data/lib/ory-client/models/update_settings_flow_with_device_authn_method_rotate_secret.rb +1 -1
  412. data/lib/ory-client/models/update_settings_flow_with_lookup_method.rb +1 -1
  413. data/lib/ory-client/models/update_settings_flow_with_oidc_method.rb +1 -1
  414. data/lib/ory-client/models/update_settings_flow_with_passkey_method.rb +1 -1
  415. data/lib/ory-client/models/update_settings_flow_with_password_method.rb +1 -1
  416. data/lib/ory-client/models/update_settings_flow_with_profile_method.rb +1 -1
  417. data/lib/ory-client/models/update_settings_flow_with_saml_method.rb +1 -1
  418. data/lib/ory-client/models/update_settings_flow_with_totp_method.rb +1 -1
  419. data/lib/ory-client/models/update_settings_flow_with_web_authn_method.rb +1 -1
  420. data/lib/ory-client/models/update_subscription_body.rb +1 -1
  421. data/lib/ory-client/models/update_verification_flow_body.rb +1 -1
  422. data/lib/ory-client/models/update_verification_flow_with_code_method.rb +1 -1
  423. data/lib/ory-client/models/update_verification_flow_with_link_method.rb +1 -1
  424. data/lib/ory-client/models/update_workspace_body.rb +1 -1
  425. data/lib/ory-client/models/update_workspace_organization_body.rb +1 -1
  426. data/lib/ory-client/models/usage.rb +1 -1
  427. data/lib/ory-client/models/user_verification.rb +1 -1
  428. data/lib/ory-client/models/validate_base_url_rewrite_request.rb +1 -1
  429. data/lib/ory-client/models/validate_base_url_rewrite_response.rb +1 -1
  430. data/lib/ory-client/models/verifiable_credential_priming_response.rb +1 -1
  431. data/lib/ory-client/models/verifiable_credential_proof.rb +1 -1
  432. data/lib/ory-client/models/verifiable_credential_response.rb +1 -1
  433. data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
  434. data/lib/ory-client/models/verification_error_code.rb +3 -2
  435. data/lib/ory-client/models/verification_flow.rb +1 -1
  436. data/lib/ory-client/models/verification_flow_state.rb +1 -1
  437. data/lib/ory-client/models/verify_api_key_request.rb +18 -5
  438. data/lib/ory-client/models/verify_api_key_response.rb +14 -2
  439. data/lib/ory-client/models/verify_user_code_request.rb +14 -2
  440. data/lib/ory-client/models/version.rb +1 -1
  441. data/lib/ory-client/models/warning.rb +1 -1
  442. data/lib/ory-client/models/web_authn_related_origins.rb +1 -1
  443. data/lib/ory-client/models/workspace.rb +1 -1
  444. data/lib/ory-client/models/workspace_api_key.rb +1 -1
  445. data/lib/ory-client/models/workspace_contact.rb +1 -1
  446. data/lib/ory-client/models/workspace_contact_recipient.rb +1 -1
  447. data/lib/ory-client/models/workspace_contact_recipient_input.rb +1 -1
  448. data/lib/ory-client/models/workspace_organization.rb +1 -1
  449. data/lib/ory-client/version.rb +2 -2
  450. data/lib/ory-client.rb +1 -1
  451. data/ory-client.gemspec +1 -1
  452. data/spec/api/api_keys_api_spec.rb +1 -1
  453. data/spec/api/courier_api_spec.rb +1 -1
  454. data/spec/api/elements_api_spec.rb +1 -1
  455. data/spec/api/events_api_spec.rb +1 -1
  456. data/spec/api/frontend_api_spec.rb +1 -1
  457. data/spec/api/identity_api_spec.rb +1 -1
  458. data/spec/api/jwk_api_spec.rb +1 -1
  459. data/spec/api/metadata_api_spec.rb +1 -1
  460. data/spec/api/o_auth2_api_spec.rb +3 -1
  461. data/spec/api/oidc_api_spec.rb +1 -1
  462. data/spec/api/permission_api_spec.rb +1 -1
  463. data/spec/api/project_api_spec.rb +1 -1
  464. data/spec/api/relationship_api_spec.rb +1 -1
  465. data/spec/api/wellknown_api_spec.rb +1 -1
  466. data/spec/api/workspace_api_spec.rb +1 -1
  467. data/spec/models/accept_device_user_code_request_spec.rb +1 -1
  468. data/spec/models/accept_o_auth2_consent_request_session_spec.rb +1 -1
  469. data/spec/models/accept_o_auth2_consent_request_spec.rb +1 -1
  470. data/spec/models/accept_o_auth2_login_request_spec.rb +1 -1
  471. data/spec/models/account_experience_colors_spec.rb +1 -1
  472. data/spec/models/account_experience_configuration_spec.rb +1 -1
  473. data/spec/models/add_project_to_workspace_body_spec.rb +1 -1
  474. data/spec/models/add_workspace_organization_domain_body_spec.rb +1 -1
  475. data/spec/models/admin_identity_import_credentials_lookup_secret_config_spec.rb +1 -1
  476. data/spec/models/admin_identity_import_credentials_lookup_secret_spec.rb +1 -1
  477. data/spec/models/admin_revoke_imported_api_key_body_spec.rb +1 -1
  478. data/spec/models/admin_revoke_issued_api_key_body_spec.rb +1 -1
  479. data/spec/models/admin_rotate_issued_api_key_body_spec.rb +1 -1
  480. data/spec/models/admin_update_imported_api_key_request_spec.rb +1 -1
  481. data/spec/models/admin_update_issued_api_key_request_spec.rb +1 -1
  482. data/spec/models/ai_assistant_session_token_spec.rb +1 -1
  483. data/spec/models/any_spec.rb +1 -1
  484. data/spec/models/attribute_filter_spec.rb +1 -1
  485. data/spec/models/attribute_spec.rb +1 -1
  486. data/spec/models/attributes_count_datapoint_spec.rb +1 -1
  487. data/spec/models/authenticator_assurance_level_spec.rb +1 -1
  488. data/spec/models/basic_organization_spec.rb +1 -1
  489. data/spec/models/batch_check_permission_body_spec.rb +1 -1
  490. data/spec/models/batch_check_permission_result_spec.rb +1 -1
  491. data/spec/models/batch_create_imported_api_keys_error_code_spec.rb +1 -1
  492. data/spec/models/batch_create_imported_api_keys_request_spec.rb +1 -1
  493. data/spec/models/batch_create_imported_api_keys_response_spec.rb +1 -1
  494. data/spec/models/batch_create_imported_api_keys_result_spec.rb +1 -1
  495. data/spec/models/batch_patch_identities_response_spec.rb +1 -1
  496. data/spec/models/batch_verify_api_keys_request_spec.rb +1 -1
  497. data/spec/models/batch_verify_api_keys_response_spec.rb +1 -1
  498. data/spec/models/billing_period_bucket_spec.rb +1 -1
  499. data/spec/models/check_opl_syntax_result_spec.rb +1 -1
  500. data/spec/models/check_permission_result_spec.rb +1 -1
  501. data/spec/models/check_permission_result_with_error_spec.rb +1 -1
  502. data/spec/models/cloud_account_spec.rb +1 -1
  503. data/spec/models/continue_with_device_authn_pin_entry_ui_data_spec.rb +1 -1
  504. data/spec/models/continue_with_device_authn_pin_entry_ui_spec.rb +1 -1
  505. data/spec/models/continue_with_recovery_ui_flow_spec.rb +1 -1
  506. data/spec/models/continue_with_recovery_ui_spec.rb +1 -1
  507. data/spec/models/continue_with_redirect_browser_to_spec.rb +1 -1
  508. data/spec/models/continue_with_set_ory_session_token_spec.rb +1 -1
  509. data/spec/models/continue_with_settings_ui_flow_spec.rb +1 -1
  510. data/spec/models/continue_with_settings_ui_spec.rb +1 -1
  511. data/spec/models/continue_with_spec.rb +1 -1
  512. data/spec/models/continue_with_verification_ui_flow_spec.rb +1 -1
  513. data/spec/models/continue_with_verification_ui_spec.rb +1 -1
  514. data/spec/models/courier_message_status_spec.rb +1 -1
  515. data/spec/models/courier_message_type_spec.rb +1 -1
  516. data/spec/models/create_custom_domain_body_spec.rb +1 -1
  517. data/spec/models/create_event_stream_body_spec.rb +29 -1
  518. data/spec/models/create_fedcm_flow_response_spec.rb +1 -1
  519. data/spec/models/create_identity_body_spec.rb +1 -1
  520. data/spec/models/create_invite_response_spec.rb +1 -1
  521. data/spec/models/create_json_web_key_set_spec.rb +1 -1
  522. data/spec/models/create_onboarding_link_response_spec.rb +1 -1
  523. data/spec/models/create_organization_onboarding_portal_link_body_spec.rb +1 -1
  524. data/spec/models/create_project_api_key_body_spec.rb +1 -1
  525. data/spec/models/create_project_body_spec.rb +1 -1
  526. data/spec/models/create_project_branding_spec.rb +1 -1
  527. data/spec/models/create_project_member_invite_body_spec.rb +1 -1
  528. data/spec/models/create_project_normalized_payload_spec.rb +61 -1
  529. data/spec/models/create_recovery_code_for_identity_body_spec.rb +1 -1
  530. data/spec/models/create_recovery_link_for_identity_body_spec.rb +1 -1
  531. data/spec/models/create_relationship_body_spec.rb +1 -1
  532. data/spec/models/create_subscription_body_spec.rb +1 -1
  533. data/spec/models/create_subscription_common_spec.rb +1 -1
  534. data/spec/models/create_test_login_flow_body_spec.rb +1 -1
  535. data/spec/models/create_test_login_flow_from_onboarding_portal_link_body_spec.rb +1 -1
  536. data/spec/models/create_verifiable_credential_request_body_spec.rb +1 -1
  537. data/spec/models/create_workspace_api_key_body_spec.rb +1 -1
  538. data/spec/models/create_workspace_body_spec.rb +1 -1
  539. data/spec/models/create_workspace_contact_body_spec.rb +1 -1
  540. data/spec/models/create_workspace_member_invite_body_spec.rb +1 -1
  541. data/spec/models/create_workspace_organization_body_spec.rb +1 -1
  542. data/spec/models/create_workspace_subscription_body_spec.rb +1 -1
  543. data/spec/models/credential_supported_draft00_spec.rb +1 -1
  544. data/spec/models/custom_domain_spec.rb +1 -1
  545. data/spec/models/customer_portal_availability_spec.rb +1 -1
  546. data/spec/models/delete_my_sessions_count_spec.rb +1 -1
  547. data/spec/models/derive_token_request_spec.rb +7 -1
  548. data/spec/models/derive_token_response_spec.rb +1 -1
  549. data/spec/models/device_authn_android_authorization_list_spec.rb +1 -1
  550. data/spec/models/device_authn_android_key_description_spec.rb +1 -1
  551. data/spec/models/device_authn_android_root_of_trust_spec.rb +1 -1
  552. data/spec/models/device_authn_attestation_spec.rb +1 -1
  553. data/spec/models/device_authn_ios_att_stmt_spec.rb +1 -1
  554. data/spec/models/device_authn_ios_attestation_spec.rb +1 -1
  555. data/spec/models/device_authn_key_spec.rb +1 -1
  556. data/spec/models/device_authorization_spec.rb +1 -1
  557. data/spec/models/device_type_spec.rb +1 -1
  558. data/spec/models/device_user_auth_request_spec.rb +1 -1
  559. data/spec/models/domain_verification_status_spec.rb +1 -1
  560. data/spec/models/elements_configuration_spec.rb +1 -1
  561. data/spec/models/email_template_data_body_spec.rb +1 -1
  562. data/spec/models/email_template_data_spec.rb +1 -1
  563. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
  564. data/spec/models/error_browser_location_change_required_spec.rb +1 -1
  565. data/spec/models/error_flow_replaced_spec.rb +1 -1
  566. data/spec/models/error_generic_spec.rb +1 -1
  567. data/spec/models/error_o_auth2_spec.rb +1 -1
  568. data/spec/models/event_stream_spec.rb +29 -1
  569. data/spec/models/expanded_permission_tree_spec.rb +1 -1
  570. data/spec/models/feature_flags_catalog_entry_spec.rb +1 -1
  571. data/spec/models/flow_error_spec.rb +1 -1
  572. data/spec/models/generic_error_content_spec.rb +1 -1
  573. data/spec/models/generic_error_spec.rb +1 -1
  574. data/spec/models/generic_oidc_provider_spec.rb +1 -1
  575. data/spec/models/generic_usage_spec.rb +1 -1
  576. data/spec/models/get_attributes_count_spec.rb +1 -1
  577. data/spec/models/get_jwks_response_jwks_keys_inner_spec.rb +1 -1
  578. data/spec/models/get_jwks_response_jwks_spec.rb +1 -1
  579. data/spec/models/get_jwks_response_spec.rb +1 -1
  580. data/spec/models/get_managed_identity_schema_location_spec.rb +1 -1
  581. data/spec/models/get_metrics_count_spec.rb +1 -1
  582. data/spec/models/get_metrics_event_attributes_spec.rb +1 -1
  583. data/spec/models/get_metrics_event_types_spec.rb +1 -1
  584. data/spec/models/get_organization_response_spec.rb +1 -1
  585. data/spec/models/get_organizations_by_hostname_response_spec.rb +1 -1
  586. data/spec/models/get_project_events_body_spec.rb +1 -1
  587. data/spec/models/get_project_events_spec.rb +1 -1
  588. data/spec/models/get_project_metrics_spec.rb +1 -1
  589. data/spec/models/get_session_activity_spec.rb +1 -1
  590. data/spec/models/get_version200_response_spec.rb +1 -1
  591. data/spec/models/health_not_ready_status_spec.rb +1 -1
  592. data/spec/models/health_status_spec.rb +1 -1
  593. data/spec/models/identity_credentials_code_address_spec.rb +1 -1
  594. data/spec/models/identity_credentials_code_spec.rb +1 -1
  595. data/spec/models/identity_credentials_lookup_secret_code_spec.rb +1 -1
  596. data/spec/models/identity_credentials_oidc_provider_spec.rb +1 -1
  597. data/spec/models/identity_credentials_oidc_spec.rb +1 -1
  598. data/spec/models/identity_credentials_password_spec.rb +1 -1
  599. data/spec/models/identity_credentials_spec.rb +1 -1
  600. data/spec/models/identity_credentials_web_authn_attestation_spec.rb +1 -1
  601. data/spec/models/identity_credentials_web_authn_authenticator_spec.rb +1 -1
  602. data/spec/models/identity_credentials_web_authn_flags_spec.rb +1 -1
  603. data/spec/models/identity_credentials_web_authn_spec.rb +1 -1
  604. data/spec/models/identity_patch_response_spec.rb +1 -1
  605. data/spec/models/identity_patch_spec.rb +1 -1
  606. data/spec/models/identity_schema_container_spec.rb +1 -1
  607. data/spec/models/identity_schema_preset_spec.rb +1 -1
  608. data/spec/models/identity_spec.rb +1 -1
  609. data/spec/models/identity_with_credentials_oidc_config_provider_spec.rb +1 -1
  610. data/spec/models/identity_with_credentials_oidc_config_spec.rb +1 -1
  611. data/spec/models/identity_with_credentials_oidc_spec.rb +1 -1
  612. data/spec/models/identity_with_credentials_passkey_config_spec.rb +1 -1
  613. data/spec/models/identity_with_credentials_passkey_spec.rb +1 -1
  614. data/spec/models/identity_with_credentials_password_config_spec.rb +1 -1
  615. data/spec/models/identity_with_credentials_password_spec.rb +1 -1
  616. data/spec/models/identity_with_credentials_saml_config_provider_spec.rb +1 -1
  617. data/spec/models/identity_with_credentials_saml_config_spec.rb +1 -1
  618. data/spec/models/identity_with_credentials_saml_spec.rb +1 -1
  619. data/spec/models/identity_with_credentials_spec.rb +1 -1
  620. data/spec/models/identity_with_credentials_totp_config_spec.rb +1 -1
  621. data/spec/models/identity_with_credentials_totp_spec.rb +1 -1
  622. data/spec/models/identity_with_credentials_web_authn_config_spec.rb +1 -1
  623. data/spec/models/identity_with_credentials_web_authn_spec.rb +1 -1
  624. data/spec/models/import_api_key_request_spec.rb +1 -1
  625. data/spec/models/imported_api_key_spec.rb +1 -1
  626. data/spec/models/internal_get_project_branding_body_spec.rb +1 -1
  627. data/spec/models/internal_is_ax_welcome_screen_enabled_for_project_body_spec.rb +1 -1
  628. data/spec/models/internal_is_owner_for_project_by_slug_body_spec.rb +1 -1
  629. data/spec/models/internal_is_owner_for_project_by_slug_spec.rb +1 -1
  630. data/spec/models/introspected_o_auth2_token_spec.rb +1 -1
  631. data/spec/models/invite_token_body_spec.rb +1 -1
  632. data/spec/models/invoice_data_v1_spec.rb +1 -1
  633. data/spec/models/invoice_spec.rb +1 -1
  634. data/spec/models/ip_restriction_spec.rb +1 -1
  635. data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
  636. data/spec/models/issue_api_key_request_spec.rb +1 -1
  637. data/spec/models/issue_api_key_response_spec.rb +1 -1
  638. data/spec/models/issued_api_key_spec.rb +1 -1
  639. data/spec/models/json_patch_spec.rb +1 -1
  640. data/spec/models/json_web_key_set_spec.rb +1 -1
  641. data/spec/models/json_web_key_spec.rb +1 -1
  642. data/spec/models/keto_namespace_spec.rb +1 -1
  643. data/spec/models/key_state_spec.rb +1 -1
  644. data/spec/models/key_status_spec.rb +1 -1
  645. data/spec/models/key_visibility_spec.rb +1 -1
  646. data/spec/models/keyset_pagination_request_parameters_spec.rb +1 -1
  647. data/spec/models/keyset_pagination_response_headers_spec.rb +1 -1
  648. data/spec/models/line_item_v1_spec.rb +1 -1
  649. data/spec/models/list_event_streams_spec.rb +1 -1
  650. data/spec/models/list_imported_api_keys_response_spec.rb +1 -1
  651. data/spec/models/list_invoices_response_spec.rb +1 -1
  652. data/spec/models/list_issued_api_keys_response_spec.rb +1 -1
  653. data/spec/models/list_organizations_response_spec.rb +1 -1
  654. data/spec/models/list_workspace_contacts_spec.rb +1 -1
  655. data/spec/models/list_workspace_projects_spec.rb +1 -1
  656. data/spec/models/list_workspaces_spec.rb +1 -1
  657. data/spec/models/login_flow_spec.rb +1 -1
  658. data/spec/models/login_flow_state_spec.rb +1 -1
  659. data/spec/models/login_flow_test_context_spec.rb +1 -1
  660. data/spec/models/login_flow_test_debug_payload_spec.rb +7 -1
  661. data/spec/models/login_flow_test_schema_validation_error_spec.rb +1 -1
  662. data/spec/models/login_flow_test_step_error_spec.rb +1 -1
  663. data/spec/models/logout_flow_spec.rb +1 -1
  664. data/spec/models/manage_sessions_body_spec.rb +1 -1
  665. data/spec/models/manage_sessions_response_spec.rb +1 -1
  666. data/spec/models/managed_identity_schema_spec.rb +1 -1
  667. data/spec/models/managed_identity_schema_validation_result_spec.rb +1 -1
  668. data/spec/models/member_invite_spec.rb +1 -1
  669. data/spec/models/message_dispatch_spec.rb +1 -1
  670. data/spec/models/message_spec.rb +1 -1
  671. data/spec/models/metrics_datapoint_spec.rb +1 -1
  672. data/spec/models/namespace_spec.rb +1 -1
  673. data/spec/models/needs_privileged_session_error_spec.rb +1 -1
  674. data/spec/models/normalized_project_revision_courier_channel_spec.rb +1 -1
  675. data/spec/models/normalized_project_revision_hook_spec.rb +1 -1
  676. data/spec/models/normalized_project_revision_identity_schema_spec.rb +1 -1
  677. data/spec/models/normalized_project_revision_saml_provider_spec.rb +1 -1
  678. data/spec/models/normalized_project_revision_scim_client_spec.rb +1 -1
  679. data/spec/models/normalized_project_revision_spec.rb +61 -1
  680. data/spec/models/normalized_project_revision_third_party_provider_spec.rb +1 -1
  681. data/spec/models/normalized_project_revision_tokenizer_template_spec.rb +1 -1
  682. data/spec/models/normalized_project_spec.rb +1 -1
  683. data/spec/models/null_value_spec.rb +1 -1
  684. data/spec/models/o_auth2_client_spec.rb +1 -1
  685. data/spec/models/o_auth2_client_token_lifespans_spec.rb +1 -1
  686. data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +1 -1
  687. data/spec/models/o_auth2_consent_request_spec.rb +7 -1
  688. data/spec/models/o_auth2_consent_session_spec.rb +1 -1
  689. data/spec/models/o_auth2_login_request_spec.rb +7 -1
  690. data/spec/models/o_auth2_logout_request_spec.rb +1 -1
  691. data/spec/models/o_auth2_redirect_to_spec.rb +1 -1
  692. data/spec/models/o_auth2_token_exchange_spec.rb +1 -1
  693. data/spec/models/oidc_configuration_spec.rb +1 -1
  694. data/spec/models/oidc_user_info_spec.rb +1 -1
  695. data/spec/models/onboarding_portal_link_spec.rb +1 -1
  696. data/spec/models/onboarding_portal_organization_spec.rb +7 -1
  697. data/spec/models/onboarding_portal_test_login_flow_spec.rb +1 -1
  698. data/spec/models/opl_parse_error_spec.rb +1 -1
  699. data/spec/models/opl_source_position_spec.rb +1 -1
  700. data/spec/models/opl_validate_result_spec.rb +1 -1
  701. data/spec/models/organization_body_spec.rb +1 -1
  702. data/spec/models/organization_by_hostname_spec.rb +1 -1
  703. data/spec/models/organization_onboarding_portal_links_response_spec.rb +1 -1
  704. data/spec/models/organization_spec.rb +1 -1
  705. data/spec/models/parse_error_spec.rb +1 -1
  706. data/spec/models/patch_identities_body_spec.rb +1 -1
  707. data/spec/models/patch_workspace_contact_body_spec.rb +1 -1
  708. data/spec/models/patch_workspace_member_body_spec.rb +1 -1
  709. data/spec/models/perform_native_logout_body_spec.rb +1 -1
  710. data/spec/models/permissions_on_workspace_spec.rb +1 -1
  711. data/spec/models/pin_config_spec.rb +1 -1
  712. data/spec/models/plan_details_spec.rb +1 -1
  713. data/spec/models/post_check_permission_body_spec.rb +1 -1
  714. data/spec/models/post_check_permission_or_error_body_spec.rb +1 -1
  715. data/spec/models/project_api_key_spec.rb +1 -1
  716. data/spec/models/project_branding_colors_spec.rb +1 -1
  717. data/spec/models/project_branding_spec.rb +1 -1
  718. data/spec/models/project_branding_theme_spec.rb +1 -1
  719. data/spec/models/project_cors_spec.rb +1 -1
  720. data/spec/models/project_events_datapoint_spec.rb +1 -1
  721. data/spec/models/project_host_spec.rb +1 -1
  722. data/spec/models/project_member_spec.rb +1 -1
  723. data/spec/models/project_metadata_spec.rb +1 -1
  724. data/spec/models/project_service_account_experience_spec.rb +1 -1
  725. data/spec/models/project_service_identity_spec.rb +1 -1
  726. data/spec/models/project_service_o_auth2_spec.rb +1 -1
  727. data/spec/models/project_service_permission_spec.rb +1 -1
  728. data/spec/models/project_service_talos_spec.rb +1 -1
  729. data/spec/models/project_services_spec.rb +1 -1
  730. data/spec/models/project_spec.rb +1 -1
  731. data/spec/models/provider_spec.rb +1 -1
  732. data/spec/models/public_member_invite_spec.rb +1 -1
  733. data/spec/models/quota_usage_spec.rb +2 -2
  734. data/spec/models/rate_limit_policy_spec.rb +1 -1
  735. data/spec/models/recovery_code_for_identity_spec.rb +1 -1
  736. data/spec/models/recovery_flow_spec.rb +1 -1
  737. data/spec/models/recovery_flow_state_spec.rb +1 -1
  738. data/spec/models/recovery_identity_address_spec.rb +1 -1
  739. data/spec/models/recovery_link_for_identity_spec.rb +1 -1
  740. data/spec/models/registration_flow_spec.rb +1 -1
  741. data/spec/models/registration_flow_state_spec.rb +1 -1
  742. data/spec/models/reject_o_auth2_request_spec.rb +1 -1
  743. data/spec/models/relation_query_spec.rb +1 -1
  744. data/spec/models/relationship_namespaces_spec.rb +1 -1
  745. data/spec/models/relationship_patch_spec.rb +1 -1
  746. data/spec/models/relationship_spec.rb +1 -1
  747. data/spec/models/relationships_spec.rb +1 -1
  748. data/spec/models/revision_account_experience_custom_translation_spec.rb +1 -1
  749. data/spec/models/revocation_reason_spec.rb +1 -1
  750. data/spec/models/rfc6749_error_json_spec.rb +1 -1
  751. data/spec/models/rotate_issued_api_key_response_spec.rb +1 -1
  752. data/spec/models/rotate_o_auth2_client_secret_body_spec.rb +1 -1
  753. data/spec/models/rotate_talos_key_body_spec.rb +1 -1
  754. data/spec/models/schema_patch_spec.rb +1 -1
  755. data/spec/models/self_revoke_api_key_request_spec.rb +1 -1
  756. data/spec/models/self_service_flow_expired_error_spec.rb +1 -1
  757. data/spec/models/session_activity_datapoint_spec.rb +1 -1
  758. data/spec/models/session_authentication_method_spec.rb +1 -1
  759. data/spec/models/session_device_spec.rb +1 -1
  760. data/spec/models/session_spec.rb +1 -1
  761. data/spec/models/set_custom_domain_body_spec.rb +1 -1
  762. data/spec/models/set_event_stream_body_spec.rb +29 -1
  763. data/spec/models/set_organization_from_onboarding_portal_link_body_spec.rb +1 -1
  764. data/spec/models/set_project_branding_theme_body_spec.rb +1 -1
  765. data/spec/models/set_project_spec.rb +1 -1
  766. data/spec/models/settings_flow_spec.rb +1 -1
  767. data/spec/models/settings_flow_state_spec.rb +1 -1
  768. data/spec/models/source_position_spec.rb +1 -1
  769. data/spec/models/status_spec.rb +1 -1
  770. data/spec/models/subject_set_spec.rb +1 -1
  771. data/spec/models/subscription_spec.rb +1 -1
  772. data/spec/models/successful_code_exchange_response_spec.rb +1 -1
  773. data/spec/models/successful_native_login_spec.rb +1 -1
  774. data/spec/models/successful_native_registration_spec.rb +1 -1
  775. data/spec/models/successful_project_update_spec.rb +1 -1
  776. data/spec/models/talos_retired_value_spec.rb +1 -1
  777. data/spec/models/tax_line_item_spec.rb +1 -1
  778. data/spec/models/time_interval_spec.rb +1 -1
  779. data/spec/models/token_algorithm_spec.rb +1 -1
  780. data/spec/models/token_pagination_headers_spec.rb +1 -1
  781. data/spec/models/token_pagination_request_parameters_spec.rb +1 -1
  782. data/spec/models/token_pagination_response_headers_spec.rb +1 -1
  783. data/spec/models/token_pagination_spec.rb +1 -1
  784. data/spec/models/token_spec.rb +7 -1
  785. data/spec/models/trust_o_auth2_jwt_grant_issuer_spec.rb +1 -1
  786. data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +1 -1
  787. data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +1 -1
  788. data/spec/models/ui_container_spec.rb +1 -1
  789. data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
  790. data/spec/models/ui_node_attributes_spec.rb +1 -1
  791. data/spec/models/ui_node_division_attributes_spec.rb +1 -1
  792. data/spec/models/ui_node_image_attributes_spec.rb +1 -1
  793. data/spec/models/ui_node_input_attributes_option_spec.rb +1 -1
  794. data/spec/models/ui_node_input_attributes_spec.rb +1 -1
  795. data/spec/models/ui_node_meta_spec.rb +1 -1
  796. data/spec/models/ui_node_script_attributes_spec.rb +1 -1
  797. data/spec/models/ui_node_spec.rb +1 -1
  798. data/spec/models/ui_node_text_attributes_spec.rb +1 -1
  799. data/spec/models/ui_text_spec.rb +1 -1
  800. data/spec/models/update_fedcm_flow_body_spec.rb +1 -1
  801. data/spec/models/update_identity_body_spec.rb +1 -1
  802. data/spec/models/update_login_flow_body_spec.rb +1 -1
  803. data/spec/models/update_login_flow_with_code_method_spec.rb +1 -1
  804. data/spec/models/update_login_flow_with_device_authn_method_spec.rb +1 -1
  805. data/spec/models/update_login_flow_with_identifier_first_method_spec.rb +1 -1
  806. data/spec/models/update_login_flow_with_lookup_secret_method_spec.rb +7 -1
  807. data/spec/models/update_login_flow_with_oidc_method_spec.rb +1 -1
  808. data/spec/models/update_login_flow_with_passkey_method_spec.rb +7 -1
  809. data/spec/models/update_login_flow_with_password_method_spec.rb +1 -1
  810. data/spec/models/update_login_flow_with_saml_method_spec.rb +1 -1
  811. data/spec/models/update_login_flow_with_totp_method_spec.rb +1 -1
  812. data/spec/models/update_login_flow_with_web_authn_method_spec.rb +1 -1
  813. data/spec/models/update_organization_onboarding_portal_link_body_spec.rb +1 -1
  814. data/spec/models/update_recovery_flow_body_spec.rb +1 -1
  815. data/spec/models/update_recovery_flow_with_code_method_spec.rb +1 -1
  816. data/spec/models/update_recovery_flow_with_link_method_spec.rb +1 -1
  817. data/spec/models/update_registration_flow_body_spec.rb +1 -1
  818. data/spec/models/update_registration_flow_with_code_method_spec.rb +1 -1
  819. data/spec/models/update_registration_flow_with_oidc_method_spec.rb +1 -1
  820. data/spec/models/update_registration_flow_with_passkey_method_spec.rb +1 -1
  821. data/spec/models/update_registration_flow_with_password_method_spec.rb +1 -1
  822. data/spec/models/update_registration_flow_with_profile_method_spec.rb +1 -1
  823. data/spec/models/update_registration_flow_with_saml_method_spec.rb +1 -1
  824. data/spec/models/update_registration_flow_with_web_authn_method_spec.rb +1 -1
  825. data/spec/models/update_settings_flow_body_spec.rb +1 -1
  826. data/spec/models/update_settings_flow_with_device_authn_method_register_spec.rb +1 -1
  827. data/spec/models/update_settings_flow_with_device_authn_method_rotate_secret_spec.rb +1 -1
  828. data/spec/models/update_settings_flow_with_device_authn_method_spec.rb +1 -1
  829. data/spec/models/update_settings_flow_with_lookup_method_spec.rb +1 -1
  830. data/spec/models/update_settings_flow_with_oidc_method_spec.rb +1 -1
  831. data/spec/models/update_settings_flow_with_passkey_method_spec.rb +1 -1
  832. data/spec/models/update_settings_flow_with_password_method_spec.rb +1 -1
  833. data/spec/models/update_settings_flow_with_profile_method_spec.rb +1 -1
  834. data/spec/models/update_settings_flow_with_saml_method_spec.rb +1 -1
  835. data/spec/models/update_settings_flow_with_totp_method_spec.rb +1 -1
  836. data/spec/models/update_settings_flow_with_web_authn_method_spec.rb +1 -1
  837. data/spec/models/update_subscription_body_spec.rb +1 -1
  838. data/spec/models/update_verification_flow_body_spec.rb +1 -1
  839. data/spec/models/update_verification_flow_with_code_method_spec.rb +1 -1
  840. data/spec/models/update_verification_flow_with_link_method_spec.rb +1 -1
  841. data/spec/models/update_workspace_body_spec.rb +1 -1
  842. data/spec/models/update_workspace_organization_body_spec.rb +1 -1
  843. data/spec/models/usage_spec.rb +1 -1
  844. data/spec/models/user_verification_spec.rb +1 -1
  845. data/spec/models/validate_base_url_rewrite_request_spec.rb +1 -1
  846. data/spec/models/validate_base_url_rewrite_response_spec.rb +1 -1
  847. data/spec/models/verifiable_credential_priming_response_spec.rb +1 -1
  848. data/spec/models/verifiable_credential_proof_spec.rb +1 -1
  849. data/spec/models/verifiable_credential_response_spec.rb +1 -1
  850. data/spec/models/verifiable_identity_address_spec.rb +1 -1
  851. data/spec/models/verification_error_code_spec.rb +1 -1
  852. data/spec/models/verification_flow_spec.rb +1 -1
  853. data/spec/models/verification_flow_state_spec.rb +1 -1
  854. data/spec/models/verify_api_key_request_spec.rb +7 -1
  855. data/spec/models/verify_api_key_response_spec.rb +7 -1
  856. data/spec/models/verify_user_code_request_spec.rb +7 -1
  857. data/spec/models/version_spec.rb +1 -1
  858. data/spec/models/warning_spec.rb +1 -1
  859. data/spec/models/web_authn_related_origins_spec.rb +1 -1
  860. data/spec/models/workspace_api_key_spec.rb +1 -1
  861. data/spec/models/workspace_contact_recipient_input_spec.rb +1 -1
  862. data/spec/models/workspace_contact_recipient_spec.rb +1 -1
  863. data/spec/models/workspace_contact_spec.rb +1 -1
  864. data/spec/models/workspace_organization_spec.rb +1 -1
  865. data/spec/models/workspace_spec.rb +1 -1
  866. data/spec/spec_helper.rb +1 -1
  867. data/vendor/bundle/ruby/3.2.0/cache/ethon-0.19.1.gem +0 -0
  868. data/vendor/bundle/ruby/3.2.0/cache/io-console-0.9.5.gem +0 -0
  869. data/vendor/bundle/ruby/3.2.0/cache/parser-3.3.13.0.gem +0 -0
  870. data/vendor/bundle/ruby/3.2.0/cache/typhoeus-1.7.1.gem +0 -0
  871. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/byebug-13.0.0/gem_make.out +5 -5
  872. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/{io-console-0.9.4 → io-console-0.9.5}/gem_make.out +10 -10
  873. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/{io-console-0.9.4 → io-console-0.9.5}/io/console.so +0 -0
  874. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/{io-console-0.9.4 → io-console-0.9.5}/mkmf.log +6 -6
  875. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
  876. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/psych-4.0.6/gem_make.out +5 -5
  877. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/racc-1.8.1/gem_make.out +5 -5
  878. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/stringio-3.2.0/gem_make.out +5 -5
  879. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/CHANGELOG.md +1120 -0
  880. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/README.md +261 -0
  881. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/curl.rb +22 -0
  882. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/classes.rb +337 -0
  883. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/curls/codes.rb +28 -9
  884. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/curls/constants.rb +61 -4
  885. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/curls/form_options.rb +2 -1
  886. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/functions.rb +107 -0
  887. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/curls/infos.rb +104 -5
  888. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/introspection.rb +139 -0
  889. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/introspection_constants.rb +42 -0
  890. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/mime.rb +187 -0
  891. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/optional.rb +14 -0
  892. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/curls/options.rb +298 -71
  893. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/settings.rb +21 -0
  894. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/share.rb +165 -0
  895. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/share_constants.rb +47 -0
  896. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/url.rb +171 -0
  897. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/curls/url_constants.rb +78 -0
  898. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/callbacks.rb +281 -0
  899. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/features.rb +4 -1
  900. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/files.rb +113 -0
  901. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/form.rb +65 -6
  902. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/header.rb +103 -0
  903. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/headers_api.rb +79 -0
  904. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http/actionable.rb +25 -3
  905. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http/get.rb +5 -1
  906. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http/post.rb +1 -0
  907. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http/postable.rb +9 -2
  908. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/http/putable.rb +40 -0
  909. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http.rb +16 -4
  910. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/informations.rb +51 -2
  911. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/mime.rb +29 -0
  912. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/mirror.rb +49 -0
  913. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/operations.rb +317 -0
  914. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/options.rb +369 -0
  915. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/queryable.rb +59 -14
  916. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/response_callbacks.rb +33 -12
  917. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/share.rb +28 -0
  918. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/url.rb +32 -0
  919. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/easy/util.rb +47 -0
  920. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy.rb +185 -10
  921. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/fork_safety.rb +10 -0
  922. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/form_add.rb +12 -0
  923. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/errors/global_init.rb +1 -1
  924. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/header.rb +12 -0
  925. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/errors/invalid_option.rb +3 -1
  926. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/invalid_value.rb +15 -0
  927. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/mime.rb +17 -0
  928. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/errors/multi_add.rb +1 -1
  929. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/multi_assign.rb +12 -0
  930. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/errors/multi_fdset.rb +1 -1
  931. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/multi_perform.rb +12 -0
  932. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/multi_poll.rb +12 -0
  933. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/errors/multi_remove.rb +1 -1
  934. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/errors/multi_timeout.rb +2 -2
  935. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/multi_wait.rb +12 -0
  936. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/multi_wakeup.rb +12 -0
  937. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/errors/select.rb +1 -1
  938. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/set_option.rb +27 -0
  939. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/share.rb +17 -0
  940. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/unsupported_option.rb +23 -0
  941. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/errors/url.rb +17 -0
  942. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/errors.rb +13 -0
  943. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/libc.rb +50 -0
  944. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/loggable.rb +1 -1
  945. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/multi/operations.rb +472 -0
  946. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/multi/options.rb +219 -0
  947. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.19.1/lib/ethon/multi/stack.rb +220 -0
  948. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/multi.rb +51 -15
  949. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/version.rb +1 -1
  950. data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon.rb +8 -9
  951. data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.4 → io-console-0.9.5}/ext/io/console/console.c +8 -3
  952. data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.4 → io-console-0.9.5}/ext/io/console/extconf.rb +7 -3
  953. data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.4 → io-console-0.9.5}/lib/io/console.so +0 -0
  954. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/current.rb +1 -1
  955. data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/version.rb +1 -1
  956. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/CHANGELOG.md +228 -1
  957. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.7.1/README.md +766 -0
  958. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/UPGRADE.md +29 -0
  959. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.7.1/lib/rack/typhoeus/middleware/params_decoder/helper.rb +129 -0
  960. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/rack/typhoeus/middleware/params_decoder.rb +8 -19
  961. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/rack/typhoeus.rb +2 -0
  962. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/adapters/faraday.rb +89 -28
  963. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/cache/dalli.rb +2 -0
  964. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/cache/rails.rb +3 -1
  965. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/cache/redis.rb +2 -0
  966. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/config.rb +51 -7
  967. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/easy_factory.rb +129 -23
  968. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.7.1/lib/typhoeus/errors/invalid_option.rb +23 -0
  969. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.7.1/lib/typhoeus/errors/no_response.rb +18 -0
  970. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/errors/no_stub.rb +8 -1
  971. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/errors/typhoeus_error.rb +2 -0
  972. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/errors.rb +4 -0
  973. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/expectation.rb +33 -1
  974. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/hydra/queueable.rb +29 -4
  975. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.7.1/lib/typhoeus/hydra.rb +423 -0
  976. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.7.1/lib/typhoeus/pool.rb +133 -0
  977. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/railtie.rb +4 -2
  978. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/request/actions.rb +2 -0
  979. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/request/callbacks.rb +11 -4
  980. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/request/marshal.rb +5 -2
  981. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/request/streamable.rb +2 -0
  982. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.7.1/lib/typhoeus/request.rb +510 -0
  983. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/response/cacheable.rb +2 -0
  984. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.7.1/lib/typhoeus/response/header.rb +325 -0
  985. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/response/informations.rb +75 -12
  986. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/response/status.rb +4 -13
  987. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/response.rb +35 -0
  988. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/lib/typhoeus/version.rb +3 -1
  989. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.7.1/lib/typhoeus.rb +206 -0
  990. data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/typhoeus.gemspec +15 -3
  991. data/vendor/bundle/ruby/3.2.0/specifications/{ethon-0.18.0.gemspec → ethon-0.19.1.gemspec} +4 -4
  992. data/vendor/bundle/ruby/3.2.0/specifications/{io-console-0.9.4.gemspec → io-console-0.9.5.gemspec} +3 -3
  993. data/vendor/bundle/ruby/3.2.0/specifications/{parser-3.3.12.0.gemspec → parser-3.3.13.0.gemspec} +4 -4
  994. data/vendor/bundle/ruby/3.2.0/specifications/{typhoeus-1.6.0.gemspec → typhoeus-1.7.1.gemspec} +5 -5
  995. metadata +225 -211
  996. data/vendor/bundle/ruby/3.2.0/cache/ethon-0.18.0.gem +0 -0
  997. data/vendor/bundle/ruby/3.2.0/cache/io-console-0.9.4.gem +0 -0
  998. data/vendor/bundle/ruby/3.2.0/cache/parser-3.3.12.0.gem +0 -0
  999. data/vendor/bundle/ruby/3.2.0/cache/typhoeus-1.6.0.gem +0 -0
  1000. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/CHANGELOG.md +0 -417
  1001. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/README.md +0 -118
  1002. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/curls/classes.rb +0 -65
  1003. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/curls/functions.rb +0 -58
  1004. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/curls/settings.rb +0 -12
  1005. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/easy/callbacks.rb +0 -155
  1006. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/easy/header.rb +0 -61
  1007. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/easy/http/putable.rb +0 -25
  1008. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/easy/mirror.rb +0 -36
  1009. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/easy/operations.rb +0 -64
  1010. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/easy/options.rb +0 -50
  1011. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/easy/util.rb +0 -28
  1012. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/errors/invalid_value.rb +0 -13
  1013. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/libc.rb +0 -21
  1014. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/multi/operations.rb +0 -228
  1015. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/multi/options.rb +0 -117
  1016. data/vendor/bundle/ruby/3.2.0/gems/ethon-0.18.0/lib/ethon/multi/stack.rb +0 -49
  1017. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/README.md +0 -588
  1018. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/rack/typhoeus/middleware/params_decoder/helper.rb +0 -76
  1019. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/addable.rb +0 -23
  1020. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/before.rb +0 -31
  1021. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/block_connection.rb +0 -35
  1022. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/cacheable.rb +0 -15
  1023. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/memoizable.rb +0 -56
  1024. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/runnable.rb +0 -19
  1025. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra/stubbable.rb +0 -28
  1026. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/hydra.rb +0 -95
  1027. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/pool.rb +0 -70
  1028. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/request/before.rb +0 -30
  1029. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/request/block_connection.rb +0 -52
  1030. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/request/cacheable.rb +0 -38
  1031. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/request/memoizable.rb +0 -38
  1032. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/request/operations.rb +0 -40
  1033. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/request/responseable.rb +0 -29
  1034. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/request/stubbable.rb +0 -30
  1035. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/request.rb +0 -223
  1036. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus/response/header.rb +0 -105
  1037. data/vendor/bundle/ruby/3.2.0/gems/typhoeus-1.6.0/lib/typhoeus.rb +0 -143
  1038. /data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/{io-console-0.9.4 → io-console-0.9.5}/gem.build_complete +0 -0
  1039. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/LICENSE +0 -0
  1040. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/ethon.gemspec +0 -0
  1041. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/curls/messages.rb +0 -0
  1042. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/debug_info.rb +0 -0
  1043. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http/custom.rb +0 -0
  1044. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http/delete.rb +0 -0
  1045. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http/head.rb +0 -0
  1046. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http/options.rb +0 -0
  1047. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http/patch.rb +0 -0
  1048. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/http/put.rb +0 -0
  1049. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/easy/params.rb +0 -0
  1050. /data/vendor/bundle/ruby/3.2.0/gems/{ethon-0.18.0 → ethon-0.19.1}/lib/ethon/errors/ethon_error.rb +0 -0
  1051. /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.4 → io-console-0.9.5}/.document +0 -0
  1052. /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.4 → io-console-0.9.5}/BSDL +0 -0
  1053. /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.4 → io-console-0.9.5}/COPYING +0 -0
  1054. /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.4 → io-console-0.9.5}/README.md +0 -0
  1055. /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.4 → io-console-0.9.5}/ext/io/console/Makefile +0 -0
  1056. /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.4 → io-console-0.9.5}/ext/io/console/win32_vk.inc +0 -0
  1057. /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.4 → io-console-0.9.5}/lib/io/console/size.rb +0 -0
  1058. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/LICENSE.txt +0 -0
  1059. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/bin/ruby-parse +0 -0
  1060. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/bin/ruby-rewrite +0 -0
  1061. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/gauntlet_parser.rb +0 -0
  1062. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/all.rb +0 -0
  1063. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ast/node.rb +0 -0
  1064. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ast/processor.rb +0 -0
  1065. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/base.rb +0 -0
  1066. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/builders/default.rb +0 -0
  1067. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/clobbering_error.rb +0 -0
  1068. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/color.rb +0 -0
  1069. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/context.rb +0 -0
  1070. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/current_arg_stack.rb +0 -0
  1071. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/deprecation.rb +0 -0
  1072. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/diagnostic/engine.rb +0 -0
  1073. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/diagnostic.rb +0 -0
  1074. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer/dedenter.rb +0 -0
  1075. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer/explanation.rb +0 -0
  1076. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer/literal.rb +0 -0
  1077. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer/stack_state.rb +0 -0
  1078. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer-F0.rb +0 -0
  1079. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer-F1.rb +0 -0
  1080. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/lexer-strings.rb +0 -0
  1081. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/macruby.rb +0 -0
  1082. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/max_numparam_stack.rb +0 -0
  1083. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/messages.rb +0 -0
  1084. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/meta.rb +0 -0
  1085. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/rewriter.rb +0 -0
  1086. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby18.rb +0 -0
  1087. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby19.rb +0 -0
  1088. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby20.rb +0 -0
  1089. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby21.rb +0 -0
  1090. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby22.rb +0 -0
  1091. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby23.rb +0 -0
  1092. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby24.rb +0 -0
  1093. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby25.rb +0 -0
  1094. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby26.rb +0 -0
  1095. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby27.rb +0 -0
  1096. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby30.rb +0 -0
  1097. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby31.rb +0 -0
  1098. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby32.rb +0 -0
  1099. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby33.rb +0 -0
  1100. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/ruby34.rb +0 -0
  1101. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/rubymotion.rb +0 -0
  1102. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/runner/ruby_parse.rb +0 -0
  1103. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/runner/ruby_rewrite.rb +0 -0
  1104. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/runner.rb +0 -0
  1105. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/buffer.rb +0 -0
  1106. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/comment/associator.rb +0 -0
  1107. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/comment.rb +0 -0
  1108. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/collection.rb +0 -0
  1109. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/condition.rb +0 -0
  1110. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/constant.rb +0 -0
  1111. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/definition.rb +0 -0
  1112. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/for.rb +0 -0
  1113. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/heredoc.rb +0 -0
  1114. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/index.rb +0 -0
  1115. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/keyword.rb +0 -0
  1116. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/method_definition.rb +0 -0
  1117. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/objc_kwarg.rb +0 -0
  1118. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/operator.rb +0 -0
  1119. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/rescue_body.rb +0 -0
  1120. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/send.rb +0 -0
  1121. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/ternary.rb +0 -0
  1122. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map/variable.rb +0 -0
  1123. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/map.rb +0 -0
  1124. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/range.rb +0 -0
  1125. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/rewriter/action.rb +0 -0
  1126. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/rewriter.rb +0 -0
  1127. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/tree_rewriter/action.rb +0 -0
  1128. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/source/tree_rewriter.rb +0 -0
  1129. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/static_environment.rb +0 -0
  1130. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/syntax_error.rb +0 -0
  1131. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/tree_rewriter.rb +0 -0
  1132. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/unknown_encoding_in_magic_comment_error.rb +0 -0
  1133. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser/variables_stack.rb +0 -0
  1134. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/lib/parser.rb +0 -0
  1135. /data/vendor/bundle/ruby/3.2.0/gems/{parser-3.3.12.0 → parser-3.3.13.0}/parser.gemspec +0 -0
  1136. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/CONTRIBUTING.md +0 -0
  1137. /data/vendor/bundle/ruby/3.2.0/gems/{typhoeus-1.6.0 → typhoeus-1.7.1}/LICENSE +0 -0
@@ -93,6 +93,18 @@ module Ethon
93
93
  # @param [ easy ] easy the easy to setup.
94
94
  def setup(easy)
95
95
  @easy = easy
96
+ easy.customrequest = nil
97
+ # A reused handle keeps the previous transfer's method and body
98
+ # options. Clear them before applying this request so a stale
99
+ # upload body cannot win over the body configured below.
100
+ # CURLOPT_POSTFIELDS selects POST even when cleared, so clear it
101
+ # before the method flags to leave the handle on GET.
102
+ easy.postfields = nil
103
+ easy.readfunction = nil
104
+ Curl.set_option(:upload, false, easy.handle)
105
+ Curl.set_option(:httpget, false, easy.handle)
106
+ Curl.set_option(:nobody, false, easy.handle)
107
+ Curl.set_option(:post, false, easy.handle)
96
108
 
97
109
  # Order is important, @easy will be used to provide access to options
98
110
  # relevant to the following operations (like whether or not to escape
@@ -100,6 +112,12 @@ module Ethon
100
112
  easy.set_attributes(options)
101
113
 
102
114
  set_form(easy) unless form.empty?
115
+ if form.empty?
116
+ easy.multipart_form = nil
117
+ # Clear any MIME body left over from an earlier request (or copied
118
+ # by Easy#dup) so this request does not inherit it.
119
+ easy.mime = nil if Ethon::Curl.respond_to?(:mime_init)
120
+ end
103
121
 
104
122
  if params.empty?
105
123
  easy.url = url
@@ -118,11 +136,15 @@ module Ethon
118
136
  params.escape = easy.escape?
119
137
  params.params_encoding = params_encoding
120
138
 
121
- base_url, base_params = url.split('?')
139
+ url_without_fragment, fragment_separator, fragment = url.partition('#')
140
+ fragment = fragment_separator.empty? ? nil : "#{fragment_separator}#{fragment}"
141
+ base_url, query_separator, base_params = url_without_fragment.partition('?')
142
+
122
143
  base_url << '?'
123
- base_url << base_params.to_s
124
- base_url << '&' if base_params
144
+ base_url << base_params
145
+ base_url << '&' if query_separator == '?' && !base_params.empty?
125
146
  base_url << params.to_s
147
+ base_url << fragment.to_s
126
148
 
127
149
  easy.url = base_url
128
150
  end
@@ -16,7 +16,11 @@ module Ethon
16
16
  # @param [ Easy ] easy The easy to setup.
17
17
  def setup(easy)
18
18
  super
19
- easy.customrequest = "GET" unless form.empty?
19
+ if form.empty?
20
+ easy.httpget = true
21
+ else
22
+ easy.customrequest = "GET"
23
+ end
20
24
  end
21
25
  end
22
26
  end
@@ -16,6 +16,7 @@ module Ethon
16
16
  def setup(easy)
17
17
  super
18
18
  if form.empty?
19
+ easy.multipart_form = nil
19
20
  easy.postfieldsize = 0
20
21
  easy.copypostfields = ""
21
22
  end
@@ -18,9 +18,16 @@ module Ethon
18
18
  form.params_encoding = params_encoding
19
19
  if form.multipart?
20
20
  form.escape = false
21
- form.materialize
22
- easy.httppost = form.first.read_pointer
21
+ if Ethon::Curl.respond_to?(:mime_init)
22
+ easy.multipart_form = nil
23
+ easy.mime = form.mime
24
+ else
25
+ form.materialize
26
+ easy.multipart_form = form
27
+ end
23
28
  else
29
+ easy.multipart_form = nil
30
+ easy.mime = nil if Ethon::Curl.respond_to?(:mime_init)
24
31
  form.escape = easy.escape?
25
32
  easy.postfieldsize = form.to_s.bytesize
26
33
  easy.copypostfields = form.to_s
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+ module Ethon
3
+ class Easy
4
+ module Http
5
+
6
+ # This module contains logic about setting up a PUT body.
7
+ module Putable
8
+ # Set things up when form is provided.
9
+ # Deals with multipart forms.
10
+ #
11
+ # @example Setup.
12
+ # put.set_form(easy)
13
+ #
14
+ # @param [ Easy ] easy The easy to setup.
15
+ def set_form(easy)
16
+ easy.url ||= url
17
+ form.params_encoding = params_encoding
18
+ if form.multipart?
19
+ form.escape = false
20
+ if Ethon::Curl.respond_to?(:mime_init)
21
+ easy.multipart_form = nil
22
+ easy.mime = form.mime
23
+ else
24
+ form.materialize
25
+ easy.multipart_form = form
26
+ end
27
+ easy.customrequest = "PUT"
28
+ else
29
+ easy.multipart_form = nil
30
+ easy.mime = nil if Ethon::Curl.respond_to?(:mime_init)
31
+ easy.upload = true
32
+ form.escape = easy.escape?
33
+ easy.infilesize = form.to_s.bytesize
34
+ easy.set_read_callback(form.to_s)
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
@@ -15,6 +15,18 @@ module Ethon
15
15
  # This module contains logic about making valid HTTP requests.
16
16
  module Http
17
17
 
18
+ # Built-in request actions. Custom verbs must not resolve to helper
19
+ # modules or classes that happen to live in this namespace.
20
+ ACTION_CLASSES = {
21
+ "get" => Get,
22
+ "head" => Head,
23
+ "post" => Post,
24
+ "put" => Put,
25
+ "delete" => Delete,
26
+ "patch" => Patch,
27
+ "options" => Options
28
+ }.freeze
29
+
18
30
  # Set specified options in order to make a HTTP request.
19
31
  # Look at {Ethon::Easy::Options Options} to see what you can
20
32
  # provide in the options hash.
@@ -54,12 +66,12 @@ module Ethon
54
66
  #
55
67
  # @return [ Easy::Ethon::Actionable ] The request instance.
56
68
  def fabricate(url, action_name, options)
57
- constant_name = action_name.to_s.capitalize
69
+ action_class = ACTION_CLASSES[action_name.to_s.downcase]
58
70
 
59
- if Ethon::Easy::Http.const_defined?(constant_name)
60
- Ethon::Easy::Http.const_get(constant_name).new(url, options)
71
+ if action_class
72
+ action_class.new(url, options)
61
73
  else
62
- Ethon::Easy::Http::Custom.new(constant_name.upcase, url, options)
74
+ Ethon::Easy::Http::Custom.new(action_name.to_s.upcase, url, options)
63
75
  end
64
76
  end
65
77
 
@@ -3,13 +3,52 @@ module Ethon
3
3
  class Easy
4
4
 
5
5
  # This module contains the methods to return informations
6
- # from the easy handle. See http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html
6
+ # from the easy handle. See https://curl.se/libcurl/c/curl_easy_getinfo.html
7
7
  # for more information.
8
8
  module Informations
9
9
 
10
10
  # Holds available informations and their type, which is needed to
11
11
  # request the informations from libcurl.
12
12
  AVAILABLE_INFORMATIONS = {
13
+ # The _T variants use curl_off_t and do not lose precision for large
14
+ # values or long-running transfers.
15
+ :size_upload_t => :off_t,
16
+ :size_download_t => :off_t,
17
+ :speed_download_t => :off_t,
18
+ :speed_upload_t => :off_t,
19
+ :filetime_t => :off_t,
20
+ :content_length_download_t => :off_t,
21
+ :content_length_upload_t => :off_t,
22
+ :total_time_t => :off_t,
23
+ :namelookup_time_t => :off_t,
24
+ :connect_time_t => :off_t,
25
+ :pretransfer_time_t => :off_t,
26
+ :starttransfer_time_t => :off_t,
27
+ :redirect_time_t => :off_t,
28
+ :appconnect_time_t => :off_t,
29
+ :retry_after => :off_t,
30
+ :xfer_id => :off_t,
31
+ :conn_id => :off_t,
32
+ :queue_time_t => :off_t,
33
+ :posttransfer_time_t => :off_t,
34
+ :earlydata_sent_t => :off_t,
35
+ :size_delivered => :off_t,
36
+
37
+ # Connection/request metadata.
38
+ :http_version => :long,
39
+ :httpauth_used => :long,
40
+ :proxyauth_used => :long,
41
+ :proxy_ssl_verifyresult => :long,
42
+ :proxy_error => :long,
43
+ :used_proxy => :long,
44
+ :scheme => :string,
45
+ :effective_method => :string,
46
+ :referer => :string,
47
+ :cainfo => :string,
48
+ :capath => :string,
49
+ :activesocket => :socket,
50
+ :tls_ssl_ptr => :ptr,
51
+
13
52
  # Return the available HTTP auth methods.
14
53
  :httpauth_avail => :long,
15
54
 
@@ -95,10 +134,20 @@ module Ethon
95
134
  :speed_download => :double
96
135
  }
97
136
 
137
+ LIST_INFORMATIONS = [:ssl_engines, :cookielist].freeze
138
+
98
139
  AVAILABLE_INFORMATIONS.each do |name, type|
99
140
  eval %Q|def #{name}; Curl.send(:get_info_#{type}, :#{name}, handle); end|
100
141
  end
101
142
 
143
+ LIST_INFORMATIONS.each do |name|
144
+ define_method(name) { Curl.get_info_slist(name, handle) }
145
+ end
146
+
147
+ def certinfo
148
+ Curl.get_info_certinfo(:certinfo, handle)
149
+ end
150
+
102
151
  # Returns true if this curl version supports zlib.
103
152
  #
104
153
  # @example Return wether zlib is supported.
@@ -107,7 +156,7 @@ module Ethon
107
156
  # @return [ Boolean ] True if supported, else false.
108
157
  # @deprecated Please use the static version instead
109
158
  def supports_zlib?
110
- Kernel.warn("Ethon: Easy#supports_zlib? is deprecated and will be removed, please use Easy#.")
159
+ Kernel.warn("Ethon: Easy#supports_zlib? is deprecated and will be removed, please use Easy.supports_zlib? instead.")
111
160
  Easy.supports_zlib?
112
161
  end
113
162
 
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+ module Ethon
3
+ class Easy
4
+ module Mime
5
+ attr_reader :mime
6
+
7
+ # Install a MIME structure as the request body.
8
+ #
9
+ # @param [ Ethon::Curl::Mime, nil ] mime The MIME structure.
10
+ #
11
+ # @raise [ TypeError ] If mime is not a MIME structure.
12
+ #
13
+ # @return [ Ethon::Curl::Mime, nil ] The MIME structure.
14
+ def mime=(mime)
15
+ unless mime.nil? || mime.is_a?(Curl::Mime)
16
+ raise TypeError, "expected an Ethon::Curl::Mime, got #{mime.class}"
17
+ end
18
+
19
+ mime.check_pid! if mime
20
+ Curl.set_option(:mimepost, mime, handle)
21
+ @mime = mime
22
+ mime
23
+ end
24
+ alias mimepost= mime=
25
+ end
26
+
27
+ include Mime
28
+ end
29
+ end
@@ -0,0 +1,49 @@
1
+ # frozen_string_literal: true
2
+ module Ethon
3
+ class Easy
4
+ class Mirror
5
+ attr_reader :options
6
+ alias_method :to_hash, :options
7
+
8
+ # Raw pointers cannot be marshaled and point into native state that can
9
+ # go away when the handle is reset. Applications serialize a mirror (for
10
+ # example as a cached Typhoeus response), so leave them on the Easy.
11
+ INFORMATIONS_TO_MIRROR = Informations::AVAILABLE_INFORMATIONS.
12
+ reject { |_, type| type == :ptr }.keys +
13
+ [:return_code, :response_headers, :response_body, :debug_info, :error_message]
14
+
15
+ INFORMATIONS_TO_LOG = [:effective_url, :response_code, :return_code, :total_time]
16
+
17
+ # Credentials embedded in the URL are not useful in logs and may end up
18
+ # in a log aggregator. Keep the scheme and host so the line is still
19
+ # identifiable, but replace the userinfo.
20
+ URL_CREDENTIALS = %r{\A([a-z][a-z0-9+.-]*://)[^/?#@]*@}i
21
+
22
+ def self.from_easy(easy)
23
+ options = {}
24
+ INFORMATIONS_TO_MIRROR.each do |info|
25
+ options[info] = easy.send(info)
26
+ end
27
+ new(options)
28
+ end
29
+
30
+ def initialize(options = {})
31
+ @options = options
32
+ end
33
+
34
+ def log_informations
35
+ Hash[*INFORMATIONS_TO_LOG.map do |info|
36
+ value = options[info]
37
+ if info == :effective_url && value.is_a?(String)
38
+ value = value.sub(URL_CREDENTIALS, "\\1[REDACTED]@")
39
+ end
40
+ [info, value]
41
+ end.flatten]
42
+ end
43
+
44
+ INFORMATIONS_TO_MIRROR.each do |info|
45
+ define_method(info) { options[info] }
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,317 @@
1
+ # frozen_string_literal: true
2
+ module Ethon
3
+ class Easy
4
+ # This module contains the logic to prepare and perform
5
+ # an easy.
6
+ module Operations
7
+ # Returns a pointer to the curl easy handle.
8
+ #
9
+ # @example Return the handle.
10
+ # easy.handle
11
+ #
12
+ # @return [ Ethon::Curl::EasyHandle ] The owned wrapper around the curl
13
+ # easy handle. It is an FFI::Pointer subclass.
14
+ def handle
15
+ raise Errors::EthonError, "Easy has been cleaned up" if @cleaned_up
16
+
17
+ @handle ||= create_handle
18
+ handle = @handle
19
+ handle.check_pid!
20
+ handle.owner ||= self
21
+ handle
22
+ end
23
+
24
+ # Sets a pointer to the curl easy handle.
25
+ #
26
+ # Raw pointers are wrapped in an owned {Curl::EasyHandle}, so the
27
+ # handle is registered for fork safety and freed by this Easy. Assigning
28
+ # nil installs a fresh handle. Assigning a different handle installs
29
+ # Ethon's response callbacks and replays callbacks previously assigned to
30
+ # this Easy, then frees the handle it replaces when this Easy owned it.
31
+ #
32
+ # Request options that are not replayed are cleared, because the
33
+ # replacement handle does not have them. Read them before replacing the
34
+ # handle if they are needed again.
35
+ #
36
+ # @param [ ::FFI::Pointer, Curl::EasyHandle, nil ] h Easy handle that will
37
+ # be assigned.
38
+ def handle=(h)
39
+ assign_handle(h, true)
40
+ end
41
+
42
+ # Perform the easy request.
43
+ #
44
+ # @example Perform the request.
45
+ # easy.perform
46
+ #
47
+ # @return [ Symbol ] The return code.
48
+ def perform
49
+ ensure_not_performing!
50
+ # curl_easy_perform must not drive a handle that is owned by a multi.
51
+ ensure_not_attached_to_multi!
52
+ # Touch the handle before changing transfer state so a cleaned up or
53
+ # forked handle cannot truncate a response file or reset the previous
54
+ # result while raising.
55
+ handle
56
+
57
+ prepare_response_body_io
58
+ reset_transfer_state
59
+ clear_callback_error
60
+ # Only the destination that belongs to this transfer may be finished.
61
+ # A completion callback can install the next transfer's destination.
62
+ response_body_io = @response_body_io
63
+ @performing = true
64
+
65
+ error = nil
66
+ begin
67
+ code = Curl.easy_perform(handle)
68
+ @return_code = code
69
+ if Ethon.logger.debug?
70
+ Ethon.logger.debug { "ETHON: performed #{log_inspect}" }
71
+ end
72
+ # Make the complete response visible before on_complete runs. An
73
+ # owned file is closed by the ensure below after the callbacks.
74
+ begin
75
+ flush_response_body_io
76
+ rescue Exception
77
+ # A callback error already failed this transfer; a flush error is
78
+ # secondary and must not hide it.
79
+ raise_callback_error
80
+ raise
81
+ end
82
+ complete
83
+ raise_callback_error
84
+ # on_complete may reset the Easy, which clears @return_code. Return
85
+ # the result of the transfer that just ran.
86
+ code
87
+ rescue Exception => exception
88
+ error = exception
89
+ raise
90
+ ensure
91
+ @performing = false
92
+ begin
93
+ finish_response_body_io(response_body_io)
94
+ rescue Exception
95
+ # Keep the exception that interrupted the transfer or completion.
96
+ raise unless error
97
+ end
98
+ end
99
+ end
100
+
101
+ # Clean up the easy.
102
+ #
103
+ # Cleanup is terminal: the native handle is freed and the Easy cannot be
104
+ # used again. Reusing it raises Ethon::Errors::EthonError.
105
+ #
106
+ # Cleanup is allowed from an on_complete callback: the transfer has
107
+ # finished and a Multi detaches the handle before running its callbacks.
108
+ # Cleanup from body, header, and progress callbacks is rejected because
109
+ # those run inside libcurl.
110
+ #
111
+ # @example Perform clean up.
112
+ # easy.cleanup
113
+ #
114
+ # @return the result of the free which is nil
115
+ def cleanup
116
+ ensure_not_in_transfer!
117
+ ensure_not_attached_to_multi!
118
+
119
+ # Resolve the handle first: cleanup must not clear the response body if
120
+ # the handle is unusable (cleaned up or inherited across a fork).
121
+ handle_to_free = handle
122
+ begin
123
+ clear_response_body_io
124
+ ensure
125
+ # Free the native handle even when closing the response body fails.
126
+ begin
127
+ handle_to_free.free
128
+ ensure
129
+ clear_native_state
130
+ @handle = nil
131
+ @cleaned_up = true
132
+ end
133
+ end
134
+ end
135
+
136
+ # Prepare the easy. Options, headers and callbacks
137
+ # were set.
138
+ #
139
+ # @example Prepare easy.
140
+ # easy.prepare
141
+ #
142
+ # @deprecated It is no longer necessary to call prepare.
143
+ def prepare
144
+ Ethon.logger.warn(
145
+ "ETHON: It is no longer necessary to call "+
146
+ "Easy#prepare. It's going to be removed "+
147
+ "in future versions."
148
+ )
149
+ end
150
+
151
+ private
152
+
153
+ # Allocate the native handle. Kept separate so #handle= can replace a
154
+ # handle and install the callbacks before the next option setter runs.
155
+ def create_handle
156
+ Curl.check_pid!
157
+ pointer = Curl.easy_init
158
+ raise NoMemoryError, "curl_easy_init failed" if pointer.null?
159
+ Curl::EasyHandle.new(pointer)
160
+ end
161
+
162
+ # Reapply options Ethon installed on the old handle. These are not user
163
+ # request options: without them #error_message and progress callbacks
164
+ # silently stop working on the replacement.
165
+ def restore_handle_options
166
+ if @error_buffer_enabled && @error_buffer
167
+ Curl.set_option(:errorbuffer, @error_buffer, @handle)
168
+ @handle.error_buffer = @error_buffer
169
+ # Do not report the previous transfer's error from the new handle.
170
+ @error_buffer.put_char(0, 0)
171
+ end
172
+ self.noprogress = @noprogress_value unless @noprogress_value.nil?
173
+ end
174
+
175
+ # Install a handle and, unless the native duplicate already carries the
176
+ # request options, clear the Ruby-side state that belonged to the handle
177
+ # it replaces.
178
+ def assign_handle(h, clear_state)
179
+ raise Errors::EthonError, "Easy has been cleaned up" if @cleaned_up
180
+
181
+ ensure_not_performing!
182
+ ensure_not_attached_to_multi!
183
+
184
+ previous = @handle
185
+ @handle =
186
+ case h
187
+ when nil
188
+ # Create the replacement now so it gets Ethon's callbacks even
189
+ # before an option setter or #perform touches it.
190
+ create_handle
191
+ when Curl::EasyHandle
192
+ h.check_pid!
193
+ # Two Easies must not share one owned wrapper: whichever cleans up
194
+ # first invalidates the handle for the other.
195
+ if h.owner && !h.owner.equal?(self)
196
+ raise ArgumentError, "easy handle is already owned by another Ethon handle"
197
+ end
198
+ h
199
+ when Curl::OwnedPointer
200
+ raise TypeError, "expected an easy handle, got #{h.class}"
201
+ when ::FFI::Pointer
202
+ raise ArgumentError, "cannot assign a null easy handle" if h.null?
203
+
204
+ Curl::EasyHandle.new(h)
205
+ else
206
+ raise TypeError, "expected an easy handle pointer, got #{h.class}"
207
+ end
208
+ @handle.owner = self if @handle
209
+
210
+ replaced = @handle && !@handle.equal?(previous)
211
+ if replaced
212
+ # A replacement handle has no Ethon callbacks or Ethon-managed
213
+ # options, so its response would otherwise not be collected. Retained
214
+ # user callbacks are replayed on top of the internal ones.
215
+ install_callbacks(@handle)
216
+ restore_handle_options
217
+ restore_callbacks_on(self)
218
+ end
219
+ release_replaced_handle(previous)
220
+ # Free the old handle before dropping the Ruby references it owned.
221
+ clear_replaced_handle_state if replaced && clear_state
222
+ @handle
223
+ end
224
+
225
+ # The replacement handle does not have the old handle's request options.
226
+ # Clear the Ruby-side state so the accessors do not describe options the
227
+ # new handle never received. Callbacks, the error buffer, and the
228
+ # progress setting are replayed by #assign_handle and stay in place.
229
+ def clear_replaced_handle_state
230
+ @url = nil
231
+ @headers = nil
232
+ @header_list = nil
233
+ @postfields = nil
234
+ @postfields_pointer = nil
235
+ @postfield_body_size = nil
236
+ @postfieldsize_value = nil
237
+ @curlu = nil
238
+ @mime = nil
239
+ @multipart_form = nil
240
+ @slists = nil
241
+ @blobs = nil
242
+ @share = nil
243
+ @escape = nil
244
+ @multipart = nil
245
+ reset_transfer_state
246
+ clear_callback_error
247
+ end
248
+
249
+ # Free the handle this Easy owned before the replacement. A handle owned
250
+ # by another Easy (the source of #dup) must stay alive for its owner.
251
+ def release_replaced_handle(previous)
252
+ return unless previous
253
+ return if previous.equal?(@handle)
254
+ return unless previous.owner.equal?(self)
255
+
256
+ previous.free
257
+ end
258
+
259
+ # Drop references to native data and callbacks once the handle is gone.
260
+ def clear_native_state
261
+ @body_write_callback = nil
262
+ @header_write_callback = nil
263
+ @debug_callback = nil
264
+ @progress_callback = nil
265
+ @read_callback = nil
266
+ @request_body = nil
267
+ @request_body_start = nil
268
+ @postfields = nil
269
+ @postfields_pointer = nil
270
+ @postfield_body_size = nil
271
+ @postfieldsize_value = nil
272
+ @header_list = nil
273
+ @multipart_form = nil
274
+ @mime = nil
275
+ @curlu = nil
276
+ @blobs = nil
277
+ @slists = nil
278
+ @procs = nil
279
+ @on_complete = nil
280
+ @on_headers = nil
281
+ @on_body = nil
282
+ @on_progress = nil
283
+ @progress_source = nil
284
+ @internal_progress_option = nil
285
+ @user_debug_callback = nil
286
+ @share = nil
287
+ @error_buffer = nil
288
+ @error_buffer_enabled = nil
289
+ @noprogress_value = nil
290
+ end
291
+
292
+ def ensure_not_performing!
293
+ if @completing
294
+ raise Errors::EthonError, "Easy is currently completing; wait for the callbacks to finish"
295
+ end
296
+ if @performing
297
+ raise Errors::EthonError, "Easy is currently performing; wait for the transfer to finish"
298
+ end
299
+ end
300
+
301
+ # Resetting is safe from a completion callback: the transfer has already
302
+ # finished and the handle no longer belongs to a Multi. A reset from a
303
+ # body, header, or progress callback still runs inside libcurl.
304
+ def ensure_not_in_transfer!
305
+ return if @completing
306
+
307
+ ensure_not_performing!
308
+ end
309
+
310
+ def ensure_not_attached_to_multi!
311
+ return unless defined?(@multi) && @multi
312
+
313
+ raise Errors::EthonError, "Easy is still attached to a Multi; remove it first"
314
+ end
315
+ end
316
+ end
317
+ end