syschecks 0.1.0a1__py3-none-any.whl
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.
- syschecks/__init__.py +4 -0
- syschecks/_sdk/__init__.py +8 -0
- syschecks/_sdk/api/__init__.py +1 -0
- syschecks/_sdk/api/action_items/__init__.py +1 -0
- syschecks/_sdk/api/action_items/get_action_items_summary.py +167 -0
- syschecks/_sdk/api/action_items/list_action_items.py +283 -0
- syschecks/_sdk/api/action_items/update_action_item.py +202 -0
- syschecks/_sdk/api/change_events/__init__.py +1 -0
- syschecks/_sdk/api/change_events/correlate_change_events.py +173 -0
- syschecks/_sdk/api/change_events/create_change_event.py +164 -0
- syschecks/_sdk/api/change_events/delete_change_event.py +173 -0
- syschecks/_sdk/api/change_events/list_change_events.py +280 -0
- syschecks/_sdk/api/checks/__init__.py +1 -0
- syschecks/_sdk/api/checks/add_check_dependency.py +192 -0
- syschecks/_sdk/api/checks/add_check_provider_dependency.py +190 -0
- syschecks/_sdk/api/checks/approve_dns_snapshot.py +167 -0
- syschecks/_sdk/api/checks/clone_check.py +173 -0
- syschecks/_sdk/api/checks/create_check_slo.py +188 -0
- syschecks/_sdk/api/checks/create_new_check.py +174 -0
- syschecks/_sdk/api/checks/delete_check_provider_dependency.py +181 -0
- syschecks/_sdk/api/checks/delete_check_slo.py +181 -0
- syschecks/_sdk/api/checks/export_check_incidents_csv.py +188 -0
- syschecks/_sdk/api/checks/export_check_logs_csv.py +188 -0
- syschecks/_sdk/api/checks/get_check_channels.py +176 -0
- syschecks/_sdk/api/checks/get_check_dependencies.py +167 -0
- syschecks/_sdk/api/checks/get_check_details.py +169 -0
- syschecks/_sdk/api/checks/get_check_incident_detail.py +173 -0
- syschecks/_sdk/api/checks/get_check_incidents.py +203 -0
- syschecks/_sdk/api/checks/get_check_logs.py +224 -0
- syschecks/_sdk/api/checks/get_check_pagespeed_history.py +188 -0
- syschecks/_sdk/api/checks/get_check_preferences.py +167 -0
- syschecks/_sdk/api/checks/get_check_provider_dependencies.py +167 -0
- syschecks/_sdk/api/checks/get_check_sla.py +167 -0
- syschecks/_sdk/api/checks/get_check_slo.py +167 -0
- syschecks/_sdk/api/checks/get_check_stats.py +192 -0
- syschecks/_sdk/api/checks/get_check_timeseries.py +188 -0
- syschecks/_sdk/api/checks/get_check_timeseries_range.py +225 -0
- syschecks/_sdk/api/checks/get_dns_multi_record.py +167 -0
- syschecks/_sdk/api/checks/get_dns_snapshot.py +167 -0
- syschecks/_sdk/api/checks/get_geo_histogram.py +208 -0
- syschecks/_sdk/api/checks/get_oidc_realm_statuses.py +167 -0
- syschecks/_sdk/api/checks/get_slo_summary.py +89 -0
- syschecks/_sdk/api/checks/list_checks.py +311 -0
- syschecks/_sdk/api/checks/refresh_check_slo.py +181 -0
- syschecks/_sdk/api/checks/remove_check.py +171 -0
- syschecks/_sdk/api/checks/remove_check_dependency.py +173 -0
- syschecks/_sdk/api/checks/resolve_check_incident.py +185 -0
- syschecks/_sdk/api/checks/rotate_check_uuid.py +167 -0
- syschecks/_sdk/api/checks/run_check_now.py +167 -0
- syschecks/_sdk/api/checks/send_test_alert.py +188 -0
- syschecks/_sdk/api/checks/set_check_channels.py +197 -0
- syschecks/_sdk/api/checks/update_check.py +194 -0
- syschecks/_sdk/api/checks/update_check_preferences.py +188 -0
- syschecks/_sdk/api/checks/update_check_provider_dependency.py +214 -0
- syschecks/_sdk/api/checks/update_check_slo.py +202 -0
- syschecks/_sdk/api/checks/update_dns_hijack_alerts.py +188 -0
- syschecks/_sdk/api/checks/update_dns_multi_record.py +188 -0
- syschecks/_sdk/api/checks/update_domain_alerts.py +223 -0
- syschecks/_sdk/api/checks/update_ssl_alerts.py +223 -0
- syschecks/_sdk/api/cloud_status/__init__.py +1 -0
- syschecks/_sdk/api/cloud_status/create_custom_status_page.py +180 -0
- syschecks/_sdk/api/cloud_status/delete_cloud_subscription.py +173 -0
- syschecks/_sdk/api/cloud_status/delete_custom_status_page.py +173 -0
- syschecks/_sdk/api/cloud_status/get_check_cloud_context.py +167 -0
- syschecks/_sdk/api/cloud_status/get_cloud_correlation.py +159 -0
- syschecks/_sdk/api/cloud_status/get_cloud_status_detail.py +167 -0
- syschecks/_sdk/api/cloud_status/get_early_warnings.py +85 -0
- syschecks/_sdk/api/cloud_status/list_cloud_statuses.py +89 -0
- syschecks/_sdk/api/cloud_status/list_cloud_subscriptions.py +159 -0
- syschecks/_sdk/api/cloud_status/list_custom_status_pages.py +159 -0
- syschecks/_sdk/api/cloud_status/test_custom_status_page.py +173 -0
- syschecks/_sdk/api/cloud_status/update_custom_status_page.py +194 -0
- syschecks/_sdk/api/cloud_status/upsert_cloud_subscription.py +180 -0
- syschecks/_sdk/api/contact_methods/__init__.py +1 -0
- syschecks/_sdk/api/contact_methods/create_contact_method.py +166 -0
- syschecks/_sdk/api/contact_methods/delete_contact_method.py +159 -0
- syschecks/_sdk/api/contact_methods/list_contact_methods.py +133 -0
- syschecks/_sdk/api/contact_methods/list_notification_rules.py +133 -0
- syschecks/_sdk/api/contact_methods/replace_notification_rules.py +171 -0
- syschecks/_sdk/api/contact_methods/resend_verification.py +161 -0
- syschecks/_sdk/api/contact_methods/test_contact_method.py +161 -0
- syschecks/_sdk/api/contact_methods/update_contact_method.py +182 -0
- syschecks/_sdk/api/contact_methods/verify_contact_method.py +182 -0
- syschecks/_sdk/api/default/__init__.py +1 -0
- syschecks/_sdk/api/default/home.py +85 -0
- syschecks/_sdk/api/events/__init__.py +1 -0
- syschecks/_sdk/api/events/event_stream.py +89 -0
- syschecks/_sdk/api/events/sse_metrics.py +89 -0
- syschecks/_sdk/api/events/sse_stats.py +89 -0
- syschecks/_sdk/api/incident_analytics/__init__.py +1 -0
- syschecks/_sdk/api/incident_analytics/categorize_incident.py +194 -0
- syschecks/_sdk/api/incident_analytics/get_incident_analytics.py +180 -0
- syschecks/_sdk/api/incident_analytics/get_incident_tags.py +159 -0
- syschecks/_sdk/api/incidents/__init__.py +1 -0
- syschecks/_sdk/api/incidents/acknowledge_incident.py +197 -0
- syschecks/_sdk/api/incidents/acknowledge_incident_by_token.py +159 -0
- syschecks/_sdk/api/incidents/acknowledge_incident_page.py +171 -0
- syschecks/_sdk/api/incidents/add_incident_note.py +208 -0
- syschecks/_sdk/api/incidents/assign_incident_role.py +216 -0
- syschecks/_sdk/api/incidents/get_incident_acknowledgments.py +173 -0
- syschecks/_sdk/api/incidents/get_incident_notification_deliveries.py +199 -0
- syschecks/_sdk/api/incidents/get_incident_timeline.py +187 -0
- syschecks/_sdk/api/incidents/list_incident_notes.py +187 -0
- syschecks/_sdk/api/incidents/list_incident_roles.py +195 -0
- syschecks/_sdk/api/incidents/list_incidents.py +314 -0
- syschecks/_sdk/api/incidents/star_timeline_event.py +201 -0
- syschecks/_sdk/api/incidents/unassign_incident_role.py +209 -0
- syschecks/_sdk/api/incidents/unstar_timeline_event.py +201 -0
- syschecks/_sdk/api/lifecycle/__init__.py +1 -0
- syschecks/_sdk/api/lifecycle/delete_lifecycle_watch.py +173 -0
- syschecks/_sdk/api/lifecycle/get_lifecycle_catalogue.py +89 -0
- syschecks/_sdk/api/lifecycle/get_lifecycle_watch.py +181 -0
- syschecks/_sdk/api/lifecycle/list_lifecycle_events.py +89 -0
- syschecks/_sdk/api/lifecycle/list_lifecycle_watches.py +159 -0
- syschecks/_sdk/api/lifecycle/upsert_lifecycle_watch.py +180 -0
- syschecks/_sdk/api/maintenance/__init__.py +1 -0
- syschecks/_sdk/api/maintenance/check_maintenance_status.py +171 -0
- syschecks/_sdk/api/maintenance/create_maintenance_window.py +182 -0
- syschecks/_sdk/api/maintenance/delete_maintenance_window.py +171 -0
- syschecks/_sdk/api/maintenance/get_maintenance_window.py +173 -0
- syschecks/_sdk/api/maintenance/list_active_maintenance_windows.py +147 -0
- syschecks/_sdk/api/maintenance/list_maintenance_windows.py +205 -0
- syschecks/_sdk/api/maintenance/update_maintenance_window.py +194 -0
- syschecks/_sdk/api/metrics/__init__.py +1 -0
- syschecks/_sdk/api/metrics/create_metrics_key.py +194 -0
- syschecks/_sdk/api/metrics/deactivate_metrics_key.py +181 -0
- syschecks/_sdk/api/metrics/get_metrics_by_key.py +192 -0
- syschecks/_sdk/api/metrics/list_metrics_keys.py +174 -0
- syschecks/_sdk/api/metrics/rotate_metrics_key.py +183 -0
- syschecks/_sdk/api/notification_channels/__init__.py +1 -0
- syschecks/_sdk/api/notification_channels/create_channel.py +186 -0
- syschecks/_sdk/api/notification_channels/delete_channel.py +167 -0
- syschecks/_sdk/api/notification_channels/get_channel.py +169 -0
- syschecks/_sdk/api/notification_channels/list_channels.py +232 -0
- syschecks/_sdk/api/notification_channels/rotate_webhook_secret.py +167 -0
- syschecks/_sdk/api/notification_channels/test_channel.py +169 -0
- syschecks/_sdk/api/notification_channels/test_smtp_connection.py +174 -0
- syschecks/_sdk/api/notification_channels/update_channel.py +190 -0
- syschecks/_sdk/api/oncall/__init__.py +1 -0
- syschecks/_sdk/api/oncall/accept_cover_request.py +173 -0
- syschecks/_sdk/api/oncall/create_cover_request.py +194 -0
- syschecks/_sdk/api/oncall/create_layer.py +194 -0
- syschecks/_sdk/api/oncall/create_override.py +194 -0
- syschecks/_sdk/api/oncall/create_policy.py +180 -0
- syschecks/_sdk/api/oncall/create_schedule.py +180 -0
- syschecks/_sdk/api/oncall/decline_cover_request.py +173 -0
- syschecks/_sdk/api/oncall/delete_layer.py +187 -0
- syschecks/_sdk/api/oncall/delete_override.py +173 -0
- syschecks/_sdk/api/oncall/delete_policy.py +173 -0
- syschecks/_sdk/api/oncall/delete_schedule.py +173 -0
- syschecks/_sdk/api/oncall/get_current_oncall.py +173 -0
- syschecks/_sdk/api/oncall/get_oncall_handoff.py +167 -0
- syschecks/_sdk/api/oncall/get_oncall_health.py +195 -0
- syschecks/_sdk/api/oncall/get_policy.py +173 -0
- syschecks/_sdk/api/oncall/get_schedule.py +173 -0
- syschecks/_sdk/api/oncall/get_schedule_contacts.py +181 -0
- syschecks/_sdk/api/oncall/get_schedule_quality.py +173 -0
- syschecks/_sdk/api/oncall/get_schedule_timeline.py +219 -0
- syschecks/_sdk/api/oncall/list_cover_requests.py +173 -0
- syschecks/_sdk/api/oncall/list_policies.py +185 -0
- syschecks/_sdk/api/oncall/list_schedules.py +185 -0
- syschecks/_sdk/api/oncall/mark_unavailable.py +181 -0
- syschecks/_sdk/api/oncall/update_layer.py +208 -0
- syschecks/_sdk/api/oncall/update_policy.py +194 -0
- syschecks/_sdk/api/oncall/update_schedule.py +194 -0
- syschecks/_sdk/api/organizations/__init__.py +1 -0
- syschecks/_sdk/api/organizations/accept_invitation.py +188 -0
- syschecks/_sdk/api/organizations/accept_invitation_by_token.py +172 -0
- syschecks/_sdk/api/organizations/add_project_member.py +204 -0
- syschecks/_sdk/api/organizations/bulk_add_project_members.py +211 -0
- syschecks/_sdk/api/organizations/bulk_remove_project_members.py +202 -0
- syschecks/_sdk/api/organizations/check_has_paid_public_plans.py +93 -0
- syschecks/_sdk/api/organizations/create_org_agent_registration_token.py +167 -0
- syschecks/_sdk/api/organizations/create_organization.py +174 -0
- syschecks/_sdk/api/organizations/create_organization_project.py +190 -0
- syschecks/_sdk/api/organizations/create_organization_token.py +200 -0
- syschecks/_sdk/api/organizations/delete_org_agent.py +181 -0
- syschecks/_sdk/api/organizations/delete_organization.py +204 -0
- syschecks/_sdk/api/organizations/delete_organization_project.py +181 -0
- syschecks/_sdk/api/organizations/delete_organization_token.py +185 -0
- syschecks/_sdk/api/organizations/export_organization_audit_logs.py +241 -0
- syschecks/_sdk/api/organizations/export_organization_config.py +167 -0
- syschecks/_sdk/api/organizations/get_dependency_alerts.py +167 -0
- syschecks/_sdk/api/organizations/get_organization.py +169 -0
- syschecks/_sdk/api/organizations/get_organization_audit_logs.py +338 -0
- syschecks/_sdk/api/organizations/get_organization_audit_stats.py +200 -0
- syschecks/_sdk/api/organizations/get_organization_by_slug.py +169 -0
- syschecks/_sdk/api/organizations/get_organization_plan.py +169 -0
- syschecks/_sdk/api/organizations/get_organization_project.py +183 -0
- syschecks/_sdk/api/organizations/get_organization_settings.py +169 -0
- syschecks/_sdk/api/organizations/get_organization_settings_limits.py +171 -0
- syschecks/_sdk/api/organizations/get_organization_usage.py +169 -0
- syschecks/_sdk/api/organizations/import_organization_config.py +188 -0
- syschecks/_sdk/api/organizations/invite_member.py +190 -0
- syschecks/_sdk/api/organizations/list_available_plans.py +149 -0
- syschecks/_sdk/api/organizations/list_members.py +197 -0
- syschecks/_sdk/api/organizations/list_org_agents.py +167 -0
- syschecks/_sdk/api/organizations/list_organization_projects.py +195 -0
- syschecks/_sdk/api/organizations/list_organization_tokens.py +180 -0
- syschecks/_sdk/api/organizations/list_organizations.py +151 -0
- syschecks/_sdk/api/organizations/list_project_members.py +190 -0
- syschecks/_sdk/api/organizations/remove_member.py +181 -0
- syschecks/_sdk/api/organizations/remove_project_member.py +195 -0
- syschecks/_sdk/api/organizations/update_member_role.py +204 -0
- syschecks/_sdk/api/organizations/update_organization.py +190 -0
- syschecks/_sdk/api/organizations/update_organization_project.py +204 -0
- syschecks/_sdk/api/organizations/update_organization_settings.py +194 -0
- syschecks/_sdk/api/organizations/update_project_member.py +218 -0
- syschecks/_sdk/api/playbooks/__init__.py +1 -0
- syschecks/_sdk/api/playbooks/cancel_execution.py +173 -0
- syschecks/_sdk/api/playbooks/complete_manual_step.py +187 -0
- syschecks/_sdk/api/playbooks/create_playbook.py +180 -0
- syschecks/_sdk/api/playbooks/delete_playbook.py +173 -0
- syschecks/_sdk/api/playbooks/duplicate_playbook.py +173 -0
- syschecks/_sdk/api/playbooks/execute_playbook.py +194 -0
- syschecks/_sdk/api/playbooks/get_execution.py +173 -0
- syschecks/_sdk/api/playbooks/get_playbook.py +173 -0
- syschecks/_sdk/api/playbooks/list_executions.py +275 -0
- syschecks/_sdk/api/playbooks/list_playbooks.py +225 -0
- syschecks/_sdk/api/playbooks/update_playbook.py +194 -0
- syschecks/_sdk/api/postmortems/__init__.py +1 -0
- syschecks/_sdk/api/postmortems/create_postmortem.py +180 -0
- syschecks/_sdk/api/postmortems/delete_postmortem.py +173 -0
- syschecks/_sdk/api/postmortems/export_postmortem.py +202 -0
- syschecks/_sdk/api/postmortems/get_postmortem.py +173 -0
- syschecks/_sdk/api/postmortems/get_public_postmortem.py +167 -0
- syschecks/_sdk/api/postmortems/list_postmortems.py +215 -0
- syschecks/_sdk/api/postmortems/toggle_share.py +205 -0
- syschecks/_sdk/api/postmortems/update_postmortem.py +194 -0
- syschecks/_sdk/api/profile/__init__.py +1 -0
- syschecks/_sdk/api/profile/get_profile.py +136 -0
- syschecks/_sdk/api/profile/update_password.py +178 -0
- syschecks/_sdk/api/profile/update_profile.py +174 -0
- syschecks/_sdk/api/reports/__init__.py +1 -0
- syschecks/_sdk/api/reports/create_scheduled_report.py +174 -0
- syschecks/_sdk/api/reports/delete_report.py +167 -0
- syschecks/_sdk/api/reports/delete_scheduled_report.py +167 -0
- syschecks/_sdk/api/reports/download_report.py +167 -0
- syschecks/_sdk/api/reports/generate_report.py +172 -0
- syschecks/_sdk/api/reports/get_report_status.py +169 -0
- syschecks/_sdk/api/reports/list_reports.py +141 -0
- syschecks/_sdk/api/reports/list_scheduled_reports.py +143 -0
- syschecks/_sdk/api/reports/send_scheduled_report_now_endpoint.py +167 -0
- syschecks/_sdk/api/reports/update_scheduled_report.py +190 -0
- syschecks/_sdk/api/services/__init__.py +1 -0
- syschecks/_sdk/api/services/add_dependency.py +194 -0
- syschecks/_sdk/api/services/create_service.py +180 -0
- syschecks/_sdk/api/services/delete_service.py +173 -0
- syschecks/_sdk/api/services/get_service.py +173 -0
- syschecks/_sdk/api/services/list_services.py +159 -0
- syschecks/_sdk/api/services/remove_dependency.py +187 -0
- syschecks/_sdk/api/services/update_service.py +194 -0
- syschecks/_sdk/api/status_pages/__init__.py +1 -0
- syschecks/_sdk/api/status_pages/confirm_subscription.py +181 -0
- syschecks/_sdk/api/status_pages/create_status_page.py +174 -0
- syschecks/_sdk/api/status_pages/delete_status_page.py +167 -0
- syschecks/_sdk/api/status_pages/domain_check.py +97 -0
- syschecks/_sdk/api/status_pages/download_public_report.py +203 -0
- syschecks/_sdk/api/status_pages/get_domain_status.py +167 -0
- syschecks/_sdk/api/status_pages/get_private_status_page.py +167 -0
- syschecks/_sdk/api/status_pages/get_public_daily_status.py +196 -0
- syschecks/_sdk/api/status_pages/get_public_incidents.py +223 -0
- syschecks/_sdk/api/status_pages/get_public_status_page.py +167 -0
- syschecks/_sdk/api/status_pages/get_public_uptime.py +167 -0
- syschecks/_sdk/api/status_pages/get_status_page.py +169 -0
- syschecks/_sdk/api/status_pages/get_status_page_atom_feed.py +167 -0
- syschecks/_sdk/api/status_pages/get_status_page_by_domain.py +167 -0
- syschecks/_sdk/api/status_pages/list_status_pages.py +184 -0
- syschecks/_sdk/api/status_pages/list_verified_domains.py +89 -0
- syschecks/_sdk/api/status_pages/subscribe_to_status_page.py +188 -0
- syschecks/_sdk/api/status_pages/unsubscribe.py +181 -0
- syschecks/_sdk/api/status_pages/update_status_page.py +190 -0
- syschecks/_sdk/api/status_pages/verify_custom_domain.py +167 -0
- syschecks/_sdk/api/teams/__init__.py +1 -0
- syschecks/_sdk/api/teams/add_team_member.py +194 -0
- syschecks/_sdk/api/teams/assign_team_resources.py +194 -0
- syschecks/_sdk/api/teams/create_team.py +180 -0
- syschecks/_sdk/api/teams/delete_team.py +173 -0
- syschecks/_sdk/api/teams/get_team.py +173 -0
- syschecks/_sdk/api/teams/get_team_resources.py +173 -0
- syschecks/_sdk/api/teams/list_teams.py +159 -0
- syschecks/_sdk/api/teams/remove_team_member.py +187 -0
- syschecks/_sdk/api/teams/update_team.py +194 -0
- syschecks/_sdk/api/teams/update_team_member_role.py +208 -0
- syschecks/_sdk/api/war_rooms/__init__.py +1 -0
- syschecks/_sdk/api/war_rooms/add_war_room_member.py +194 -0
- syschecks/_sdk/api/war_rooms/close_war_room.py +173 -0
- syschecks/_sdk/api/war_rooms/create_war_room.py +204 -0
- syschecks/_sdk/api/war_rooms/delete_war_room.py +173 -0
- syschecks/_sdk/api/war_rooms/download_attachment.py +187 -0
- syschecks/_sdk/api/war_rooms/get_presence.py +173 -0
- syschecks/_sdk/api/war_rooms/get_war_room.py +173 -0
- syschecks/_sdk/api/war_rooms/leave_presence.py +173 -0
- syschecks/_sdk/api/war_rooms/list_messages.py +214 -0
- syschecks/_sdk/api/war_rooms/list_war_room_members.py +173 -0
- syschecks/_sdk/api/war_rooms/list_war_rooms.py +220 -0
- syschecks/_sdk/api/war_rooms/ping_presence.py +173 -0
- syschecks/_sdk/api/war_rooms/post_message.py +194 -0
- syschecks/_sdk/api/war_rooms/remove_war_room_member.py +187 -0
- syschecks/_sdk/api/war_rooms/test_warroom_bot.py +167 -0
- syschecks/_sdk/api/war_rooms/unfurl_link.py +194 -0
- syschecks/_sdk/api/war_rooms/update_war_room.py +194 -0
- syschecks/_sdk/api/war_rooms/upload_attachment.py +194 -0
- syschecks/_sdk/client.py +282 -0
- syschecks/_sdk/errors.py +16 -0
- syschecks/_sdk/models/__init__.py +593 -0
- syschecks/_sdk/models/action_item_update.py +146 -0
- syschecks/_sdk/models/add_check_dependency_body.py +48 -0
- syschecks/_sdk/models/admin_feedback_update.py +114 -0
- syschecks/_sdk/models/admin_membership_create.py +82 -0
- syschecks/_sdk/models/admin_membership_response.py +162 -0
- syschecks/_sdk/models/admin_organization_create.py +133 -0
- syschecks/_sdk/models/admin_organization_update.py +249 -0
- syschecks/_sdk/models/admin_organization_update_custom_features_type_0.py +48 -0
- syschecks/_sdk/models/admin_user_update.py +168 -0
- syschecks/_sdk/models/agent_heartbeat_request.py +174 -0
- syschecks/_sdk/models/agent_register_request.py +132 -0
- syschecks/_sdk/models/agent_results_request.py +76 -0
- syschecks/_sdk/models/audit_action.py +52 -0
- syschecks/_sdk/models/audit_log_list_response.py +109 -0
- syschecks/_sdk/models/audit_log_response.py +286 -0
- syschecks/_sdk/models/audit_log_response_details_type_0.py +48 -0
- syschecks/_sdk/models/auth_method.py +10 -0
- syschecks/_sdk/models/body_acknowledge_incident_api_checks_check_id_incidents_log_id_ack_post.py +74 -0
- syschecks/_sdk/models/body_add_check_provider_dependency_api_checks_check_id_provider_dependencies_post.py +86 -0
- syschecks/_sdk/models/body_login_for_access_token_api_auth_token_post.py +141 -0
- syschecks/_sdk/models/body_submit_feedback_api_feedback_post.py +108 -0
- syschecks/_sdk/models/body_update_check_provider_dependency_api_checks_check_id_provider_dependencies_link_id_put.py +97 -0
- syschecks/_sdk/models/body_upload_attachment_api_organizations_org_id_war_rooms_room_id_attachments_post.py +76 -0
- syschecks/_sdk/models/bulk_add_members_request.py +81 -0
- syschecks/_sdk/models/bulk_operation_result.py +92 -0
- syschecks/_sdk/models/bulk_organization_ids.py +63 -0
- syschecks/_sdk/models/bulk_remove_members_request.py +62 -0
- syschecks/_sdk/models/bulk_suspend_request.py +85 -0
- syschecks/_sdk/models/bulk_user_ids.py +63 -0
- syschecks/_sdk/models/categorize_request.py +95 -0
- syschecks/_sdk/models/channel_test_response.py +71 -0
- syschecks/_sdk/models/channel_type.py +23 -0
- syschecks/_sdk/models/check_channel_assignment.py +63 -0
- syschecks/_sdk/models/check_create.py +2233 -0
- syschecks/_sdk/models/check_create_api_scenario_secrets_type_0.py +48 -0
- syschecks/_sdk/models/check_create_api_scenario_steps_type_0.py +48 -0
- syschecks/_sdk/models/check_create_check_source_critical_type_0.py +48 -0
- syschecks/_sdk/models/check_create_dns_records_config_type_0.py +48 -0
- syschecks/_sdk/models/check_create_http_form_login_data_type_0.py +48 -0
- syschecks/_sdk/models/check_create_http_headers_type_0.py +48 -0
- syschecks/_sdk/models/check_create_oidc_config_type_0.py +48 -0
- syschecks/_sdk/models/check_log_paginated_response.py +109 -0
- syschecks/_sdk/models/check_log_response.py +296 -0
- syschecks/_sdk/models/check_log_response_trace_data_type_0.py +48 -0
- syschecks/_sdk/models/check_preferences_update.py +86 -0
- syschecks/_sdk/models/check_response.py +3760 -0
- syschecks/_sdk/models/check_response_agent_location_statuses_type_0.py +48 -0
- syschecks/_sdk/models/check_response_api_scenario_secrets_type_0.py +48 -0
- syschecks/_sdk/models/check_response_api_scenario_steps_type_0.py +48 -0
- syschecks/_sdk/models/check_response_check_source_critical_type_0.py +48 -0
- syschecks/_sdk/models/check_response_dns_approved_snapshot_type_0.py +48 -0
- syschecks/_sdk/models/check_response_dns_records_config_type_0.py +48 -0
- syschecks/_sdk/models/check_response_dns_records_results_type_0.py +48 -0
- syschecks/_sdk/models/check_response_http_form_login_data_type_0.py +48 -0
- syschecks/_sdk/models/check_response_http_headers_type_0.py +48 -0
- syschecks/_sdk/models/check_response_mail_results_type_0.py +48 -0
- syschecks/_sdk/models/check_response_oidc_config_type_0.py +48 -0
- syschecks/_sdk/models/check_response_oidc_realm_statuses_type_0.py +48 -0
- syschecks/_sdk/models/check_response_pagespeed_results_type_0.py +48 -0
- syschecks/_sdk/models/check_result_item.py +186 -0
- syschecks/_sdk/models/check_result_item_details_type_0.py +48 -0
- syschecks/_sdk/models/check_status.py +13 -0
- syschecks/_sdk/models/check_update.py +2450 -0
- syschecks/_sdk/models/check_update_api_scenario_secrets_type_0.py +48 -0
- syschecks/_sdk/models/check_update_api_scenario_steps_type_0.py +48 -0
- syschecks/_sdk/models/check_update_check_source_critical_type_0.py +48 -0
- syschecks/_sdk/models/check_update_dns_records_config_type_0.py +48 -0
- syschecks/_sdk/models/check_update_http_form_login_data_type_0.py +48 -0
- syschecks/_sdk/models/check_update_http_headers_type_0.py +48 -0
- syschecks/_sdk/models/check_update_oidc_config_type_0.py +48 -0
- syschecks/_sdk/models/checkout_request.py +70 -0
- syschecks/_sdk/models/checkout_response.py +62 -0
- syschecks/_sdk/models/cloud_subscription_upsert.py +91 -0
- syschecks/_sdk/models/contact_method_create.py +104 -0
- syschecks/_sdk/models/contact_method_response.py +124 -0
- syschecks/_sdk/models/contact_method_update.py +94 -0
- syschecks/_sdk/models/contact_method_verify_response.py +70 -0
- syschecks/_sdk/models/context.py +48 -0
- syschecks/_sdk/models/cover_request_create.py +94 -0
- syschecks/_sdk/models/create_change_event_body.py +246 -0
- syschecks/_sdk/models/create_change_event_body_metadata_type_0.py +48 -0
- syschecks/_sdk/models/create_registration_token_request.py +235 -0
- syschecks/_sdk/models/custom_status_page_create.py +81 -0
- syschecks/_sdk/models/custom_status_page_update.py +156 -0
- syschecks/_sdk/models/dependency_create.py +73 -0
- syschecks/_sdk/models/dns_hijack_alert_config.py +117 -0
- syschecks/_sdk/models/dns_multi_record_config.py +183 -0
- syschecks/_sdk/models/dns_multi_record_config_records_type_0.py +48 -0
- syschecks/_sdk/models/escalation_policy_create.py +91 -0
- syschecks/_sdk/models/escalation_policy_update.py +141 -0
- syschecks/_sdk/models/escalation_step_schema.py +276 -0
- syschecks/_sdk/models/escalation_step_schema_webhook_headers_type_0.py +48 -0
- syschecks/_sdk/models/feedback_response.py +273 -0
- syschecks/_sdk/models/forgot_password_request.py +63 -0
- syschecks/_sdk/models/http_validation_error.py +80 -0
- syschecks/_sdk/models/import_organization_config_body.py +48 -0
- syschecks/_sdk/models/ingest_payload.py +179 -0
- syschecks/_sdk/models/ingest_payload_custom_details_type_0.py +48 -0
- syschecks/_sdk/models/ingest_request.py +130 -0
- syschecks/_sdk/models/integration_key_create.py +90 -0
- syschecks/_sdk/models/invitation_accept.py +62 -0
- syschecks/_sdk/models/layer_create.py +189 -0
- syschecks/_sdk/models/layer_update.py +272 -0
- syschecks/_sdk/models/lifecycle_watch_upsert.py +180 -0
- syschecks/_sdk/models/maintenance_window_create.py +280 -0
- syschecks/_sdk/models/maintenance_window_create_recurrence_pattern_type_0.py +48 -0
- syschecks/_sdk/models/maintenance_window_response.py +320 -0
- syschecks/_sdk/models/maintenance_window_response_recurrence_pattern_type_0.py +48 -0
- syschecks/_sdk/models/maintenance_window_update.py +356 -0
- syschecks/_sdk/models/maintenance_window_update_recurrence_pattern_type_0.py +48 -0
- syschecks/_sdk/models/manual_execute_request.py +70 -0
- syschecks/_sdk/models/member_add.py +73 -0
- syschecks/_sdk/models/member_invite.py +81 -0
- syschecks/_sdk/models/member_role_update.py +62 -0
- syschecks/_sdk/models/membership_response.py +177 -0
- syschecks/_sdk/models/membership_update.py +64 -0
- syschecks/_sdk/models/membership_with_user_response.py +205 -0
- syschecks/_sdk/models/merge_request.py +70 -0
- syschecks/_sdk/models/metrics_key_create.py +85 -0
- syschecks/_sdk/models/metrics_key_created_response.py +167 -0
- syschecks/_sdk/models/metrics_key_response.py +159 -0
- syschecks/_sdk/models/mfa_backup_codes_response.py +71 -0
- syschecks/_sdk/models/mfa_disable_request.py +71 -0
- syschecks/_sdk/models/mfa_enable_request.py +63 -0
- syschecks/_sdk/models/mfa_enable_response.py +71 -0
- syschecks/_sdk/models/mfa_required_response.py +74 -0
- syschecks/_sdk/models/mfa_setup_request.py +63 -0
- syschecks/_sdk/models/mfa_setup_response.py +79 -0
- syschecks/_sdk/models/mfa_status_response.py +106 -0
- syschecks/_sdk/models/mfa_verify_request.py +71 -0
- syschecks/_sdk/models/note_create.py +62 -0
- syschecks/_sdk/models/notification_channel_brief.py +119 -0
- syschecks/_sdk/models/notification_channel_create.py +120 -0
- syschecks/_sdk/models/notification_channel_create_config.py +48 -0
- syschecks/_sdk/models/notification_channel_response.py +221 -0
- syschecks/_sdk/models/notification_channel_response_config_type_0.py +48 -0
- syschecks/_sdk/models/notification_channel_update.py +160 -0
- syschecks/_sdk/models/notification_channel_update_config_type_0.py +48 -0
- syschecks/_sdk/models/notification_preferences_update.py +157 -0
- syschecks/_sdk/models/notification_rule_item.py +91 -0
- syschecks/_sdk/models/notification_rules_update.py +76 -0
- syschecks/_sdk/models/org_role.py +11 -0
- syschecks/_sdk/models/organization_create.py +124 -0
- syschecks/_sdk/models/organization_limit_overrides.py +175 -0
- syschecks/_sdk/models/organization_limit_overrides_custom_features_type_0.py +48 -0
- syschecks/_sdk/models/organization_settings_limits_response.py +175 -0
- syschecks/_sdk/models/organization_settings_response.py +1433 -0
- syschecks/_sdk/models/organization_settings_response_webhook_default_headers_type_0.py +48 -0
- syschecks/_sdk/models/organization_settings_update.py +1427 -0
- syschecks/_sdk/models/organization_settings_update_webhook_default_headers_type_0.py +48 -0
- syschecks/_sdk/models/organization_update.py +224 -0
- syschecks/_sdk/models/organization_update_custom_features_type_0.py +48 -0
- syschecks/_sdk/models/organization_usage_response.py +193 -0
- syschecks/_sdk/models/organization_usage_response_features.py +48 -0
- syschecks/_sdk/models/organization_with_plan_response.py +342 -0
- syschecks/_sdk/models/organization_with_plan_response_custom_features_type_0.py +48 -0
- syschecks/_sdk/models/override_create.py +102 -0
- syschecks/_sdk/models/page_speed_payload.py +313 -0
- syschecks/_sdk/models/page_speed_payload_breakdown_type_0.py +48 -0
- syschecks/_sdk/models/page_speed_payload_rules_item.py +48 -0
- syschecks/_sdk/models/page_speed_payload_waterfall_item.py +48 -0
- syschecks/_sdk/models/page_speed_result_request.py +118 -0
- syschecks/_sdk/models/participant_schema.py +144 -0
- syschecks/_sdk/models/personal_access_token_create.py +116 -0
- syschecks/_sdk/models/personal_access_token_created_response.py +199 -0
- syschecks/_sdk/models/personal_access_token_response.py +191 -0
- syschecks/_sdk/models/ping_type.py +11 -0
- syschecks/_sdk/models/plan_create.py +363 -0
- syschecks/_sdk/models/plan_response.py +388 -0
- syschecks/_sdk/models/plan_type.py +11 -0
- syschecks/_sdk/models/plan_update.py +769 -0
- syschecks/_sdk/models/platform_identity_create.py +92 -0
- syschecks/_sdk/models/platform_stats_response.py +147 -0
- syschecks/_sdk/models/platform_stats_response_checks_by_plan.py +48 -0
- syschecks/_sdk/models/platform_stats_response_users_by_plan.py +48 -0
- syschecks/_sdk/models/playbook_condition.py +78 -0
- syschecks/_sdk/models/playbook_create.py +196 -0
- syschecks/_sdk/models/playbook_create_trigger_conditions_type_0.py +48 -0
- syschecks/_sdk/models/playbook_step_schema.py +183 -0
- syschecks/_sdk/models/playbook_step_schema_config.py +48 -0
- syschecks/_sdk/models/playbook_update.py +271 -0
- syschecks/_sdk/models/playbook_update_trigger_conditions_type_0.py +48 -0
- syschecks/_sdk/models/portal_response.py +62 -0
- syschecks/_sdk/models/post_message_body.py +62 -0
- syschecks/_sdk/models/postmortem_create.py +89 -0
- syschecks/_sdk/models/postmortem_update.py +185 -0
- syschecks/_sdk/models/priority_update.py +62 -0
- syschecks/_sdk/models/project_create.py +62 -0
- syschecks/_sdk/models/project_membership_create.py +81 -0
- syschecks/_sdk/models/project_membership_response.py +179 -0
- syschecks/_sdk/models/project_membership_update.py +64 -0
- syschecks/_sdk/models/project_response.py +227 -0
- syschecks/_sdk/models/project_role.py +10 -0
- syschecks/_sdk/models/project_update.py +116 -0
- syschecks/_sdk/models/push_subscription_out.py +86 -0
- syschecks/_sdk/models/push_subscription_update.py +70 -0
- syschecks/_sdk/models/push_token_create.py +92 -0
- syschecks/_sdk/models/push_token_out.py +92 -0
- syschecks/_sdk/models/qr_login_request.py +62 -0
- syschecks/_sdk/models/qr_token_response.py +70 -0
- syschecks/_sdk/models/refresh_token_request.py +75 -0
- syschecks/_sdk/models/report_generate_request.py +172 -0
- syschecks/_sdk/models/report_response.py +198 -0
- syschecks/_sdk/models/report_status_response.py +132 -0
- syschecks/_sdk/models/resend_verification_request.py +63 -0
- syschecks/_sdk/models/reset_password_request.py +71 -0
- syschecks/_sdk/models/resource_assign.py +97 -0
- syschecks/_sdk/models/role_assign_request.py +70 -0
- syschecks/_sdk/models/schedule_create.py +109 -0
- syschecks/_sdk/models/schedule_type.py +9 -0
- syschecks/_sdk/models/schedule_update.py +181 -0
- syschecks/_sdk/models/scheduled_report_create.py +194 -0
- syschecks/_sdk/models/scheduled_report_response.py +307 -0
- syschecks/_sdk/models/scheduled_report_update.py +316 -0
- syschecks/_sdk/models/service_create.py +274 -0
- syschecks/_sdk/models/service_create_metadata_json_type_0.py +48 -0
- syschecks/_sdk/models/service_update.py +315 -0
- syschecks/_sdk/models/service_update_metadata_json_type_0.py +48 -0
- syschecks/_sdk/models/setting_response.py +92 -0
- syschecks/_sdk/models/setting_update.py +62 -0
- syschecks/_sdk/models/share_request.py +74 -0
- syschecks/_sdk/models/signup_response.py +82 -0
- syschecks/_sdk/models/slo_create.py +156 -0
- syschecks/_sdk/models/slo_update.py +266 -0
- syschecks/_sdk/models/snooze_request.py +62 -0
- syschecks/_sdk/models/sso_callback_request.py +71 -0
- syschecks/_sdk/models/sso_init_response.py +71 -0
- syschecks/_sdk/models/sso_provider_admin_response.py +377 -0
- syschecks/_sdk/models/sso_provider_admin_response_attribute_mapping.py +48 -0
- syschecks/_sdk/models/sso_provider_create.py +372 -0
- syschecks/_sdk/models/sso_provider_create_attribute_mapping.py +48 -0
- syschecks/_sdk/models/sso_provider_response.py +118 -0
- syschecks/_sdk/models/sso_provider_type.py +11 -0
- syschecks/_sdk/models/sso_provider_update.py +418 -0
- syschecks/_sdk/models/sso_provider_update_attribute_mapping_type_0.py +48 -0
- syschecks/_sdk/models/status_page_create.py +167 -0
- syschecks/_sdk/models/status_page_response.py +253 -0
- syschecks/_sdk/models/status_page_update.py +289 -0
- syschecks/_sdk/models/subscribe_request.py +62 -0
- syschecks/_sdk/models/subscription_status_response.py +114 -0
- syschecks/_sdk/models/suppression_rule_create.py +86 -0
- syschecks/_sdk/models/suppression_rule_update.py +97 -0
- syschecks/_sdk/models/suspend_request.py +75 -0
- syschecks/_sdk/models/team_create.py +104 -0
- syschecks/_sdk/models/team_update.py +94 -0
- syschecks/_sdk/models/test_alert_request.py +110 -0
- syschecks/_sdk/models/test_alert_request_extra_details_type_0.py +48 -0
- syschecks/_sdk/models/test_smtp_connection_body.py +48 -0
- syschecks/_sdk/models/token_response.py +82 -0
- syschecks/_sdk/models/user_create.py +163 -0
- syschecks/_sdk/models/user_password_update.py +70 -0
- syschecks/_sdk/models/user_profile_update.py +234 -0
- syschecks/_sdk/models/user_response.py +461 -0
- syschecks/_sdk/models/user_response_notification_preferences.py +48 -0
- syschecks/_sdk/models/user_role.py +10 -0
- syschecks/_sdk/models/user_sso_identity_response.py +167 -0
- syschecks/_sdk/models/user_support_action_request.py +125 -0
- syschecks/_sdk/models/user_update.py +145 -0
- syschecks/_sdk/models/validation_error.py +124 -0
- syschecks/_sdk/models/verify_email_request.py +63 -0
- syschecks/_sdk/models/verify_request.py +62 -0
- syschecks/_sdk/models/war_room_create.py +164 -0
- syschecks/_sdk/models/war_room_member_add.py +84 -0
- syschecks/_sdk/models/war_room_update.py +114 -0
- syschecks/_sdk/types.py +54 -0
- syschecks/client.py +61 -0
- syschecks/py.typed +0 -0
- syschecks/resources/__init__.py +0 -0
- syschecks/resources/action_items.py +25 -0
- syschecks/resources/change_events.py +30 -0
- syschecks/resources/checks.py +212 -0
- syschecks/resources/cloud_status.py +65 -0
- syschecks/resources/contact_methods.py +53 -0
- syschecks/resources/events.py +10 -0
- syschecks/resources/incident_analytics.py +24 -0
- syschecks/resources/incidents.py +71 -0
- syschecks/resources/lifecycle.py +35 -0
- syschecks/resources/maintenance.py +43 -0
- syschecks/resources/metrics.py +34 -0
- syschecks/resources/notification_channels.py +49 -0
- syschecks/resources/oncall.py +124 -0
- syschecks/resources/organizations.py +207 -0
- syschecks/resources/playbooks.py +59 -0
- syschecks/resources/postmortems.py +47 -0
- syschecks/resources/profile.py +24 -0
- syschecks/resources/reports.py +56 -0
- syschecks/resources/services.py +41 -0
- syschecks/resources/status_pages.py +96 -0
- syschecks/resources/teams.py +55 -0
- syschecks/resources/war_rooms.py +89 -0
- syschecks-0.1.0a1.dist-info/METADATA +79 -0
- syschecks-0.1.0a1.dist-info/RECORD +600 -0
- syschecks-0.1.0a1.dist-info/WHEEL +4 -0
- syschecks-0.1.0a1.dist-info/licenses/LICENSE +21 -0
syschecks/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Contains methods for accessing the API"""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Contains endpoint functions for accessing the API"""
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any
|
|
3
|
+
from urllib.parse import quote
|
|
4
|
+
|
|
5
|
+
import httpx
|
|
6
|
+
|
|
7
|
+
from ... import errors
|
|
8
|
+
from ...client import AuthenticatedClient, Client
|
|
9
|
+
from ...models.http_validation_error import HTTPValidationError
|
|
10
|
+
from ...types import Response
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _get_kwargs(
|
|
14
|
+
org_id: int,
|
|
15
|
+
) -> dict[str, Any]:
|
|
16
|
+
|
|
17
|
+
_kwargs: dict[str, Any] = {
|
|
18
|
+
"method": "get",
|
|
19
|
+
"url": "/api/organizations/{org_id}/action-items/summary".format(
|
|
20
|
+
org_id=quote(str(org_id), safe=""),
|
|
21
|
+
),
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
return _kwargs
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def _parse_response(
|
|
28
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
29
|
+
) -> Any | HTTPValidationError | None:
|
|
30
|
+
if response.status_code == 200:
|
|
31
|
+
response_200 = response.json()
|
|
32
|
+
return response_200
|
|
33
|
+
|
|
34
|
+
if response.status_code == 422:
|
|
35
|
+
response_422 = HTTPValidationError.from_dict(response.json())
|
|
36
|
+
|
|
37
|
+
return response_422
|
|
38
|
+
|
|
39
|
+
if client.raise_on_unexpected_status:
|
|
40
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
41
|
+
else:
|
|
42
|
+
return None
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def _build_response(
|
|
46
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
47
|
+
) -> Response[Any | HTTPValidationError]:
|
|
48
|
+
return Response(
|
|
49
|
+
status_code=HTTPStatus(response.status_code),
|
|
50
|
+
content=response.content,
|
|
51
|
+
headers=response.headers,
|
|
52
|
+
parsed=_parse_response(client=client, response=response),
|
|
53
|
+
)
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def sync_detailed(
|
|
57
|
+
org_id: int,
|
|
58
|
+
*,
|
|
59
|
+
client: AuthenticatedClient,
|
|
60
|
+
) -> Response[Any | HTTPValidationError]:
|
|
61
|
+
"""Get Action Items Summary
|
|
62
|
+
|
|
63
|
+
Get action items summary counts by status + overdue count.
|
|
64
|
+
|
|
65
|
+
Args:
|
|
66
|
+
org_id (int):
|
|
67
|
+
|
|
68
|
+
Raises:
|
|
69
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
70
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
71
|
+
|
|
72
|
+
Returns:
|
|
73
|
+
Response[Any | HTTPValidationError]
|
|
74
|
+
"""
|
|
75
|
+
|
|
76
|
+
kwargs = _get_kwargs(
|
|
77
|
+
org_id=org_id,
|
|
78
|
+
)
|
|
79
|
+
|
|
80
|
+
response = client.get_httpx_client().request(
|
|
81
|
+
**kwargs,
|
|
82
|
+
)
|
|
83
|
+
|
|
84
|
+
return _build_response(client=client, response=response)
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
def sync(
|
|
88
|
+
org_id: int,
|
|
89
|
+
*,
|
|
90
|
+
client: AuthenticatedClient,
|
|
91
|
+
) -> Any | HTTPValidationError | None:
|
|
92
|
+
"""Get Action Items Summary
|
|
93
|
+
|
|
94
|
+
Get action items summary counts by status + overdue count.
|
|
95
|
+
|
|
96
|
+
Args:
|
|
97
|
+
org_id (int):
|
|
98
|
+
|
|
99
|
+
Raises:
|
|
100
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
101
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
102
|
+
|
|
103
|
+
Returns:
|
|
104
|
+
Any | HTTPValidationError
|
|
105
|
+
"""
|
|
106
|
+
|
|
107
|
+
return sync_detailed(
|
|
108
|
+
org_id=org_id,
|
|
109
|
+
client=client,
|
|
110
|
+
).parsed
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
async def asyncio_detailed(
|
|
114
|
+
org_id: int,
|
|
115
|
+
*,
|
|
116
|
+
client: AuthenticatedClient,
|
|
117
|
+
) -> Response[Any | HTTPValidationError]:
|
|
118
|
+
"""Get Action Items Summary
|
|
119
|
+
|
|
120
|
+
Get action items summary counts by status + overdue count.
|
|
121
|
+
|
|
122
|
+
Args:
|
|
123
|
+
org_id (int):
|
|
124
|
+
|
|
125
|
+
Raises:
|
|
126
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
127
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
128
|
+
|
|
129
|
+
Returns:
|
|
130
|
+
Response[Any | HTTPValidationError]
|
|
131
|
+
"""
|
|
132
|
+
|
|
133
|
+
kwargs = _get_kwargs(
|
|
134
|
+
org_id=org_id,
|
|
135
|
+
)
|
|
136
|
+
|
|
137
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
138
|
+
|
|
139
|
+
return _build_response(client=client, response=response)
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
async def asyncio(
|
|
143
|
+
org_id: int,
|
|
144
|
+
*,
|
|
145
|
+
client: AuthenticatedClient,
|
|
146
|
+
) -> Any | HTTPValidationError | None:
|
|
147
|
+
"""Get Action Items Summary
|
|
148
|
+
|
|
149
|
+
Get action items summary counts by status + overdue count.
|
|
150
|
+
|
|
151
|
+
Args:
|
|
152
|
+
org_id (int):
|
|
153
|
+
|
|
154
|
+
Raises:
|
|
155
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
156
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
157
|
+
|
|
158
|
+
Returns:
|
|
159
|
+
Any | HTTPValidationError
|
|
160
|
+
"""
|
|
161
|
+
|
|
162
|
+
return (
|
|
163
|
+
await asyncio_detailed(
|
|
164
|
+
org_id=org_id,
|
|
165
|
+
client=client,
|
|
166
|
+
)
|
|
167
|
+
).parsed
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any
|
|
3
|
+
from urllib.parse import quote
|
|
4
|
+
|
|
5
|
+
import httpx
|
|
6
|
+
|
|
7
|
+
from ... import errors
|
|
8
|
+
from ...client import AuthenticatedClient, Client
|
|
9
|
+
from ...models.http_validation_error import HTTPValidationError
|
|
10
|
+
from ...types import UNSET, Response, Unset
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _get_kwargs(
|
|
14
|
+
org_id: int,
|
|
15
|
+
*,
|
|
16
|
+
status: None | str | Unset = UNSET,
|
|
17
|
+
assignee_user_id: int | None | Unset = UNSET,
|
|
18
|
+
priority: None | str | Unset = UNSET,
|
|
19
|
+
postmortem_id: int | None | Unset = UNSET,
|
|
20
|
+
page: int | Unset = 1,
|
|
21
|
+
per_page: int | Unset = 50,
|
|
22
|
+
) -> dict[str, Any]:
|
|
23
|
+
|
|
24
|
+
params: dict[str, Any] = {}
|
|
25
|
+
|
|
26
|
+
json_status: None | str | Unset
|
|
27
|
+
if isinstance(status, Unset):
|
|
28
|
+
json_status = UNSET
|
|
29
|
+
else:
|
|
30
|
+
json_status = status
|
|
31
|
+
params["status"] = json_status
|
|
32
|
+
|
|
33
|
+
json_assignee_user_id: int | None | Unset
|
|
34
|
+
if isinstance(assignee_user_id, Unset):
|
|
35
|
+
json_assignee_user_id = UNSET
|
|
36
|
+
else:
|
|
37
|
+
json_assignee_user_id = assignee_user_id
|
|
38
|
+
params["assignee_user_id"] = json_assignee_user_id
|
|
39
|
+
|
|
40
|
+
json_priority: None | str | Unset
|
|
41
|
+
if isinstance(priority, Unset):
|
|
42
|
+
json_priority = UNSET
|
|
43
|
+
else:
|
|
44
|
+
json_priority = priority
|
|
45
|
+
params["priority"] = json_priority
|
|
46
|
+
|
|
47
|
+
json_postmortem_id: int | None | Unset
|
|
48
|
+
if isinstance(postmortem_id, Unset):
|
|
49
|
+
json_postmortem_id = UNSET
|
|
50
|
+
else:
|
|
51
|
+
json_postmortem_id = postmortem_id
|
|
52
|
+
params["postmortem_id"] = json_postmortem_id
|
|
53
|
+
|
|
54
|
+
params["page"] = page
|
|
55
|
+
|
|
56
|
+
params["per_page"] = per_page
|
|
57
|
+
|
|
58
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
59
|
+
|
|
60
|
+
_kwargs: dict[str, Any] = {
|
|
61
|
+
"method": "get",
|
|
62
|
+
"url": "/api/organizations/{org_id}/action-items".format(
|
|
63
|
+
org_id=quote(str(org_id), safe=""),
|
|
64
|
+
),
|
|
65
|
+
"params": params,
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return _kwargs
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def _parse_response(
|
|
72
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
73
|
+
) -> Any | HTTPValidationError | None:
|
|
74
|
+
if response.status_code == 200:
|
|
75
|
+
response_200 = response.json()
|
|
76
|
+
return response_200
|
|
77
|
+
|
|
78
|
+
if response.status_code == 422:
|
|
79
|
+
response_422 = HTTPValidationError.from_dict(response.json())
|
|
80
|
+
|
|
81
|
+
return response_422
|
|
82
|
+
|
|
83
|
+
if client.raise_on_unexpected_status:
|
|
84
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
85
|
+
else:
|
|
86
|
+
return None
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
def _build_response(
|
|
90
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
91
|
+
) -> Response[Any | HTTPValidationError]:
|
|
92
|
+
return Response(
|
|
93
|
+
status_code=HTTPStatus(response.status_code),
|
|
94
|
+
content=response.content,
|
|
95
|
+
headers=response.headers,
|
|
96
|
+
parsed=_parse_response(client=client, response=response),
|
|
97
|
+
)
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
def sync_detailed(
|
|
101
|
+
org_id: int,
|
|
102
|
+
*,
|
|
103
|
+
client: AuthenticatedClient,
|
|
104
|
+
status: None | str | Unset = UNSET,
|
|
105
|
+
assignee_user_id: int | None | Unset = UNSET,
|
|
106
|
+
priority: None | str | Unset = UNSET,
|
|
107
|
+
postmortem_id: int | None | Unset = UNSET,
|
|
108
|
+
page: int | Unset = 1,
|
|
109
|
+
per_page: int | Unset = 50,
|
|
110
|
+
) -> Response[Any | HTTPValidationError]:
|
|
111
|
+
"""List Action Items
|
|
112
|
+
|
|
113
|
+
List action items for an organization with optional filters.
|
|
114
|
+
|
|
115
|
+
Args:
|
|
116
|
+
org_id (int):
|
|
117
|
+
status (None | str | Unset):
|
|
118
|
+
assignee_user_id (int | None | Unset):
|
|
119
|
+
priority (None | str | Unset):
|
|
120
|
+
postmortem_id (int | None | Unset):
|
|
121
|
+
page (int | Unset): Default: 1.
|
|
122
|
+
per_page (int | Unset): Default: 50.
|
|
123
|
+
|
|
124
|
+
Raises:
|
|
125
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
126
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
127
|
+
|
|
128
|
+
Returns:
|
|
129
|
+
Response[Any | HTTPValidationError]
|
|
130
|
+
"""
|
|
131
|
+
|
|
132
|
+
kwargs = _get_kwargs(
|
|
133
|
+
org_id=org_id,
|
|
134
|
+
status=status,
|
|
135
|
+
assignee_user_id=assignee_user_id,
|
|
136
|
+
priority=priority,
|
|
137
|
+
postmortem_id=postmortem_id,
|
|
138
|
+
page=page,
|
|
139
|
+
per_page=per_page,
|
|
140
|
+
)
|
|
141
|
+
|
|
142
|
+
response = client.get_httpx_client().request(
|
|
143
|
+
**kwargs,
|
|
144
|
+
)
|
|
145
|
+
|
|
146
|
+
return _build_response(client=client, response=response)
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
def sync(
|
|
150
|
+
org_id: int,
|
|
151
|
+
*,
|
|
152
|
+
client: AuthenticatedClient,
|
|
153
|
+
status: None | str | Unset = UNSET,
|
|
154
|
+
assignee_user_id: int | None | Unset = UNSET,
|
|
155
|
+
priority: None | str | Unset = UNSET,
|
|
156
|
+
postmortem_id: int | None | Unset = UNSET,
|
|
157
|
+
page: int | Unset = 1,
|
|
158
|
+
per_page: int | Unset = 50,
|
|
159
|
+
) -> Any | HTTPValidationError | None:
|
|
160
|
+
"""List Action Items
|
|
161
|
+
|
|
162
|
+
List action items for an organization with optional filters.
|
|
163
|
+
|
|
164
|
+
Args:
|
|
165
|
+
org_id (int):
|
|
166
|
+
status (None | str | Unset):
|
|
167
|
+
assignee_user_id (int | None | Unset):
|
|
168
|
+
priority (None | str | Unset):
|
|
169
|
+
postmortem_id (int | None | Unset):
|
|
170
|
+
page (int | Unset): Default: 1.
|
|
171
|
+
per_page (int | Unset): Default: 50.
|
|
172
|
+
|
|
173
|
+
Raises:
|
|
174
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
175
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
176
|
+
|
|
177
|
+
Returns:
|
|
178
|
+
Any | HTTPValidationError
|
|
179
|
+
"""
|
|
180
|
+
|
|
181
|
+
return sync_detailed(
|
|
182
|
+
org_id=org_id,
|
|
183
|
+
client=client,
|
|
184
|
+
status=status,
|
|
185
|
+
assignee_user_id=assignee_user_id,
|
|
186
|
+
priority=priority,
|
|
187
|
+
postmortem_id=postmortem_id,
|
|
188
|
+
page=page,
|
|
189
|
+
per_page=per_page,
|
|
190
|
+
).parsed
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
async def asyncio_detailed(
|
|
194
|
+
org_id: int,
|
|
195
|
+
*,
|
|
196
|
+
client: AuthenticatedClient,
|
|
197
|
+
status: None | str | Unset = UNSET,
|
|
198
|
+
assignee_user_id: int | None | Unset = UNSET,
|
|
199
|
+
priority: None | str | Unset = UNSET,
|
|
200
|
+
postmortem_id: int | None | Unset = UNSET,
|
|
201
|
+
page: int | Unset = 1,
|
|
202
|
+
per_page: int | Unset = 50,
|
|
203
|
+
) -> Response[Any | HTTPValidationError]:
|
|
204
|
+
"""List Action Items
|
|
205
|
+
|
|
206
|
+
List action items for an organization with optional filters.
|
|
207
|
+
|
|
208
|
+
Args:
|
|
209
|
+
org_id (int):
|
|
210
|
+
status (None | str | Unset):
|
|
211
|
+
assignee_user_id (int | None | Unset):
|
|
212
|
+
priority (None | str | Unset):
|
|
213
|
+
postmortem_id (int | None | Unset):
|
|
214
|
+
page (int | Unset): Default: 1.
|
|
215
|
+
per_page (int | Unset): Default: 50.
|
|
216
|
+
|
|
217
|
+
Raises:
|
|
218
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
219
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
220
|
+
|
|
221
|
+
Returns:
|
|
222
|
+
Response[Any | HTTPValidationError]
|
|
223
|
+
"""
|
|
224
|
+
|
|
225
|
+
kwargs = _get_kwargs(
|
|
226
|
+
org_id=org_id,
|
|
227
|
+
status=status,
|
|
228
|
+
assignee_user_id=assignee_user_id,
|
|
229
|
+
priority=priority,
|
|
230
|
+
postmortem_id=postmortem_id,
|
|
231
|
+
page=page,
|
|
232
|
+
per_page=per_page,
|
|
233
|
+
)
|
|
234
|
+
|
|
235
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
236
|
+
|
|
237
|
+
return _build_response(client=client, response=response)
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
async def asyncio(
|
|
241
|
+
org_id: int,
|
|
242
|
+
*,
|
|
243
|
+
client: AuthenticatedClient,
|
|
244
|
+
status: None | str | Unset = UNSET,
|
|
245
|
+
assignee_user_id: int | None | Unset = UNSET,
|
|
246
|
+
priority: None | str | Unset = UNSET,
|
|
247
|
+
postmortem_id: int | None | Unset = UNSET,
|
|
248
|
+
page: int | Unset = 1,
|
|
249
|
+
per_page: int | Unset = 50,
|
|
250
|
+
) -> Any | HTTPValidationError | None:
|
|
251
|
+
"""List Action Items
|
|
252
|
+
|
|
253
|
+
List action items for an organization with optional filters.
|
|
254
|
+
|
|
255
|
+
Args:
|
|
256
|
+
org_id (int):
|
|
257
|
+
status (None | str | Unset):
|
|
258
|
+
assignee_user_id (int | None | Unset):
|
|
259
|
+
priority (None | str | Unset):
|
|
260
|
+
postmortem_id (int | None | Unset):
|
|
261
|
+
page (int | Unset): Default: 1.
|
|
262
|
+
per_page (int | Unset): Default: 50.
|
|
263
|
+
|
|
264
|
+
Raises:
|
|
265
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
266
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
267
|
+
|
|
268
|
+
Returns:
|
|
269
|
+
Any | HTTPValidationError
|
|
270
|
+
"""
|
|
271
|
+
|
|
272
|
+
return (
|
|
273
|
+
await asyncio_detailed(
|
|
274
|
+
org_id=org_id,
|
|
275
|
+
client=client,
|
|
276
|
+
status=status,
|
|
277
|
+
assignee_user_id=assignee_user_id,
|
|
278
|
+
priority=priority,
|
|
279
|
+
postmortem_id=postmortem_id,
|
|
280
|
+
page=page,
|
|
281
|
+
per_page=per_page,
|
|
282
|
+
)
|
|
283
|
+
).parsed
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any
|
|
3
|
+
from urllib.parse import quote
|
|
4
|
+
|
|
5
|
+
import httpx
|
|
6
|
+
|
|
7
|
+
from ... import errors
|
|
8
|
+
from ...client import AuthenticatedClient, Client
|
|
9
|
+
from ...models.action_item_update import ActionItemUpdate
|
|
10
|
+
from ...models.http_validation_error import HTTPValidationError
|
|
11
|
+
from ...types import Response
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def _get_kwargs(
|
|
15
|
+
org_id: int,
|
|
16
|
+
item_id: int,
|
|
17
|
+
*,
|
|
18
|
+
body: ActionItemUpdate,
|
|
19
|
+
) -> dict[str, Any]:
|
|
20
|
+
headers: dict[str, Any] = {}
|
|
21
|
+
|
|
22
|
+
_kwargs: dict[str, Any] = {
|
|
23
|
+
"method": "put",
|
|
24
|
+
"url": "/api/organizations/{org_id}/action-items/{item_id}".format(
|
|
25
|
+
org_id=quote(str(org_id), safe=""),
|
|
26
|
+
item_id=quote(str(item_id), safe=""),
|
|
27
|
+
),
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
_kwargs["json"] = body.to_dict()
|
|
31
|
+
|
|
32
|
+
headers["Content-Type"] = "application/json"
|
|
33
|
+
|
|
34
|
+
_kwargs["headers"] = headers
|
|
35
|
+
return _kwargs
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def _parse_response(
|
|
39
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
40
|
+
) -> Any | HTTPValidationError | None:
|
|
41
|
+
if response.status_code == 200:
|
|
42
|
+
response_200 = response.json()
|
|
43
|
+
return response_200
|
|
44
|
+
|
|
45
|
+
if response.status_code == 422:
|
|
46
|
+
response_422 = HTTPValidationError.from_dict(response.json())
|
|
47
|
+
|
|
48
|
+
return response_422
|
|
49
|
+
|
|
50
|
+
if client.raise_on_unexpected_status:
|
|
51
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
52
|
+
else:
|
|
53
|
+
return None
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def _build_response(
|
|
57
|
+
*, client: AuthenticatedClient | Client, response: httpx.Response
|
|
58
|
+
) -> Response[Any | HTTPValidationError]:
|
|
59
|
+
return Response(
|
|
60
|
+
status_code=HTTPStatus(response.status_code),
|
|
61
|
+
content=response.content,
|
|
62
|
+
headers=response.headers,
|
|
63
|
+
parsed=_parse_response(client=client, response=response),
|
|
64
|
+
)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
def sync_detailed(
|
|
68
|
+
org_id: int,
|
|
69
|
+
item_id: int,
|
|
70
|
+
*,
|
|
71
|
+
client: AuthenticatedClient,
|
|
72
|
+
body: ActionItemUpdate,
|
|
73
|
+
) -> Response[Any | HTTPValidationError]:
|
|
74
|
+
"""Update Action Item
|
|
75
|
+
|
|
76
|
+
Update an action item (status, priority, assignee, due_date).
|
|
77
|
+
|
|
78
|
+
Args:
|
|
79
|
+
org_id (int):
|
|
80
|
+
item_id (int):
|
|
81
|
+
body (ActionItemUpdate):
|
|
82
|
+
|
|
83
|
+
Raises:
|
|
84
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
85
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
86
|
+
|
|
87
|
+
Returns:
|
|
88
|
+
Response[Any | HTTPValidationError]
|
|
89
|
+
"""
|
|
90
|
+
|
|
91
|
+
kwargs = _get_kwargs(
|
|
92
|
+
org_id=org_id,
|
|
93
|
+
item_id=item_id,
|
|
94
|
+
body=body,
|
|
95
|
+
)
|
|
96
|
+
|
|
97
|
+
response = client.get_httpx_client().request(
|
|
98
|
+
**kwargs,
|
|
99
|
+
)
|
|
100
|
+
|
|
101
|
+
return _build_response(client=client, response=response)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
def sync(
|
|
105
|
+
org_id: int,
|
|
106
|
+
item_id: int,
|
|
107
|
+
*,
|
|
108
|
+
client: AuthenticatedClient,
|
|
109
|
+
body: ActionItemUpdate,
|
|
110
|
+
) -> Any | HTTPValidationError | None:
|
|
111
|
+
"""Update Action Item
|
|
112
|
+
|
|
113
|
+
Update an action item (status, priority, assignee, due_date).
|
|
114
|
+
|
|
115
|
+
Args:
|
|
116
|
+
org_id (int):
|
|
117
|
+
item_id (int):
|
|
118
|
+
body (ActionItemUpdate):
|
|
119
|
+
|
|
120
|
+
Raises:
|
|
121
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
122
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
123
|
+
|
|
124
|
+
Returns:
|
|
125
|
+
Any | HTTPValidationError
|
|
126
|
+
"""
|
|
127
|
+
|
|
128
|
+
return sync_detailed(
|
|
129
|
+
org_id=org_id,
|
|
130
|
+
item_id=item_id,
|
|
131
|
+
client=client,
|
|
132
|
+
body=body,
|
|
133
|
+
).parsed
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
async def asyncio_detailed(
|
|
137
|
+
org_id: int,
|
|
138
|
+
item_id: int,
|
|
139
|
+
*,
|
|
140
|
+
client: AuthenticatedClient,
|
|
141
|
+
body: ActionItemUpdate,
|
|
142
|
+
) -> Response[Any | HTTPValidationError]:
|
|
143
|
+
"""Update Action Item
|
|
144
|
+
|
|
145
|
+
Update an action item (status, priority, assignee, due_date).
|
|
146
|
+
|
|
147
|
+
Args:
|
|
148
|
+
org_id (int):
|
|
149
|
+
item_id (int):
|
|
150
|
+
body (ActionItemUpdate):
|
|
151
|
+
|
|
152
|
+
Raises:
|
|
153
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
154
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
155
|
+
|
|
156
|
+
Returns:
|
|
157
|
+
Response[Any | HTTPValidationError]
|
|
158
|
+
"""
|
|
159
|
+
|
|
160
|
+
kwargs = _get_kwargs(
|
|
161
|
+
org_id=org_id,
|
|
162
|
+
item_id=item_id,
|
|
163
|
+
body=body,
|
|
164
|
+
)
|
|
165
|
+
|
|
166
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
167
|
+
|
|
168
|
+
return _build_response(client=client, response=response)
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
async def asyncio(
|
|
172
|
+
org_id: int,
|
|
173
|
+
item_id: int,
|
|
174
|
+
*,
|
|
175
|
+
client: AuthenticatedClient,
|
|
176
|
+
body: ActionItemUpdate,
|
|
177
|
+
) -> Any | HTTPValidationError | None:
|
|
178
|
+
"""Update Action Item
|
|
179
|
+
|
|
180
|
+
Update an action item (status, priority, assignee, due_date).
|
|
181
|
+
|
|
182
|
+
Args:
|
|
183
|
+
org_id (int):
|
|
184
|
+
item_id (int):
|
|
185
|
+
body (ActionItemUpdate):
|
|
186
|
+
|
|
187
|
+
Raises:
|
|
188
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
189
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
190
|
+
|
|
191
|
+
Returns:
|
|
192
|
+
Any | HTTPValidationError
|
|
193
|
+
"""
|
|
194
|
+
|
|
195
|
+
return (
|
|
196
|
+
await asyncio_detailed(
|
|
197
|
+
org_id=org_id,
|
|
198
|
+
item_id=item_id,
|
|
199
|
+
client=client,
|
|
200
|
+
body=body,
|
|
201
|
+
)
|
|
202
|
+
).parsed
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Contains endpoint functions for accessing the API"""
|