diff --git a/docs/api_reference/api/audit_logs/audit_logs_learning_task_created_v1.md b/docs/api_reference/api/audit_logs/audit_logs_learning_task_created_v1.md deleted file mode 100644 index af1b8450d..000000000 --- a/docs/api_reference/api/audit_logs/audit_logs_learning_task_created_v1.md +++ /dev/null @@ -1,3 +0,0 @@ -# incident_io_client.api.audit_logs.audit_logs_learning_task_created_v1 - -::: incident_io_client.api.audit_logs.audit_logs_learning_task_created_v1 diff --git a/docs/api_reference/api/audit_logs/audit_logs_learning_task_deleted_v1.md b/docs/api_reference/api/audit_logs/audit_logs_learning_task_deleted_v1.md deleted file mode 100644 index b4e2e6d62..000000000 --- a/docs/api_reference/api/audit_logs/audit_logs_learning_task_deleted_v1.md +++ /dev/null @@ -1,3 +0,0 @@ -# incident_io_client.api.audit_logs.audit_logs_learning_task_deleted_v1 - -::: incident_io_client.api.audit_logs.audit_logs_learning_task_deleted_v1 diff --git a/docs/api_reference/api/audit_logs/audit_logs_learning_task_updated_v1.md b/docs/api_reference/api/audit_logs/audit_logs_learning_task_updated_v1.md deleted file mode 100644 index 0d7fec65a..000000000 --- a/docs/api_reference/api/audit_logs/audit_logs_learning_task_updated_v1.md +++ /dev/null @@ -1,3 +0,0 @@ -# incident_io_client.api.audit_logs.audit_logs_learning_task_updated_v1 - -::: incident_io_client.api.audit_logs.audit_logs_learning_task_updated_v1 diff --git a/docs/api_reference/api/audit_logs/audit_logs_post_incident_task_created_v1.md b/docs/api_reference/api/audit_logs/audit_logs_post_incident_task_created_v1.md new file mode 100644 index 000000000..f41dbac16 --- /dev/null +++ b/docs/api_reference/api/audit_logs/audit_logs_post_incident_task_created_v1.md @@ -0,0 +1,3 @@ +# incident_io_client.api.audit_logs.audit_logs_post_incident_task_created_v1 + +::: incident_io_client.api.audit_logs.audit_logs_post_incident_task_created_v1 diff --git a/docs/api_reference/api/audit_logs/audit_logs_post_incident_task_deleted_v1.md b/docs/api_reference/api/audit_logs/audit_logs_post_incident_task_deleted_v1.md new file mode 100644 index 000000000..625e16ff2 --- /dev/null +++ b/docs/api_reference/api/audit_logs/audit_logs_post_incident_task_deleted_v1.md @@ -0,0 +1,3 @@ +# incident_io_client.api.audit_logs.audit_logs_post_incident_task_deleted_v1 + +::: incident_io_client.api.audit_logs.audit_logs_post_incident_task_deleted_v1 diff --git a/docs/api_reference/api/audit_logs/audit_logs_post_incident_task_updated_v1.md b/docs/api_reference/api/audit_logs/audit_logs_post_incident_task_updated_v1.md new file mode 100644 index 000000000..4c066c296 --- /dev/null +++ b/docs/api_reference/api/audit_logs/audit_logs_post_incident_task_updated_v1.md @@ -0,0 +1,3 @@ +# incident_io_client.api.audit_logs.audit_logs_post_incident_task_updated_v1 + +::: incident_io_client.api.audit_logs.audit_logs_post_incident_task_updated_v1 diff --git a/docs/api_reference/models/audit_logs_learning_task_created_v1_response_body.md b/docs/api_reference/models/audit_logs_learning_task_created_v1_response_body.md deleted file mode 100644 index 2782439a0..000000000 --- a/docs/api_reference/models/audit_logs_learning_task_created_v1_response_body.md +++ /dev/null @@ -1,3 +0,0 @@ -# incident_io_client.models.audit_logs_learning_task_created_v1_response_body - -::: incident_io_client.models.audit_logs_learning_task_created_v1_response_body diff --git a/docs/api_reference/models/audit_logs_learning_task_deleted_v1_response_body.md b/docs/api_reference/models/audit_logs_learning_task_deleted_v1_response_body.md deleted file mode 100644 index b2ff935b6..000000000 --- a/docs/api_reference/models/audit_logs_learning_task_deleted_v1_response_body.md +++ /dev/null @@ -1,3 +0,0 @@ -# incident_io_client.models.audit_logs_learning_task_deleted_v1_response_body - -::: incident_io_client.models.audit_logs_learning_task_deleted_v1_response_body diff --git a/docs/api_reference/models/audit_logs_learning_task_updated_v1_response_body.md b/docs/api_reference/models/audit_logs_learning_task_updated_v1_response_body.md deleted file mode 100644 index a4d2b0290..000000000 --- a/docs/api_reference/models/audit_logs_learning_task_updated_v1_response_body.md +++ /dev/null @@ -1,3 +0,0 @@ -# incident_io_client.models.audit_logs_learning_task_updated_v1_response_body - -::: incident_io_client.models.audit_logs_learning_task_updated_v1_response_body diff --git a/docs/api_reference/models/audit_logs_post_incident_task_created_v1_response_body.md b/docs/api_reference/models/audit_logs_post_incident_task_created_v1_response_body.md new file mode 100644 index 000000000..c2b34b81f --- /dev/null +++ b/docs/api_reference/models/audit_logs_post_incident_task_created_v1_response_body.md @@ -0,0 +1,3 @@ +# incident_io_client.models.audit_logs_post_incident_task_created_v1_response_body + +::: incident_io_client.models.audit_logs_post_incident_task_created_v1_response_body diff --git a/docs/api_reference/models/audit_logs_post_incident_task_deleted_v1_response_body.md b/docs/api_reference/models/audit_logs_post_incident_task_deleted_v1_response_body.md new file mode 100644 index 000000000..087d31873 --- /dev/null +++ b/docs/api_reference/models/audit_logs_post_incident_task_deleted_v1_response_body.md @@ -0,0 +1,3 @@ +# incident_io_client.models.audit_logs_post_incident_task_deleted_v1_response_body + +::: incident_io_client.models.audit_logs_post_incident_task_deleted_v1_response_body diff --git a/docs/api_reference/models/audit_logs_post_incident_task_updated_v1_response_body.md b/docs/api_reference/models/audit_logs_post_incident_task_updated_v1_response_body.md new file mode 100644 index 000000000..f4f056449 --- /dev/null +++ b/docs/api_reference/models/audit_logs_post_incident_task_updated_v1_response_body.md @@ -0,0 +1,3 @@ +# incident_io_client.models.audit_logs_post_incident_task_updated_v1_response_body + +::: incident_io_client.models.audit_logs_post_incident_task_updated_v1_response_body diff --git a/incident_io_client/api/audit_logs/audit_logs_learning_task_created_v1.py b/incident_io_client/api/audit_logs/audit_logs_post_incident_task_created_v1.py similarity index 66% rename from incident_io_client/api/audit_logs/audit_logs_learning_task_created_v1.py rename to incident_io_client/api/audit_logs/audit_logs_post_incident_task_created_v1.py index 4d3958920..58b061a94 100644 --- a/incident_io_client/api/audit_logs/audit_logs_learning_task_created_v1.py +++ b/incident_io_client/api/audit_logs/audit_logs_post_incident_task_created_v1.py @@ -5,8 +5,8 @@ from ... import errors from ...client import AuthenticatedClient, Client -from ...models.audit_logs_learning_task_created_v1_response_body import ( - AuditLogsLearningTaskCreatedV1ResponseBody, +from ...models.audit_logs_post_incident_task_created_v1_response_body import ( + AuditLogsPostIncidentTaskCreatedV1ResponseBody, ) from ...types import Response @@ -16,15 +16,15 @@ def _get_kwargs() -> Dict[str, Any]: return { "method": "get", - "url": "/x-audit-logs/learning_task.created.1", + "url": "/x-audit-logs/post_incident_task.created.1", } def _parse_response( *, client: Union[AuthenticatedClient, Client], response: httpx.Response -) -> Optional[AuditLogsLearningTaskCreatedV1ResponseBody]: +) -> Optional[AuditLogsPostIncidentTaskCreatedV1ResponseBody]: if response.status_code == HTTPStatus.OK: - response_200 = AuditLogsLearningTaskCreatedV1ResponseBody.from_dict(response.json()) + response_200 = AuditLogsPostIncidentTaskCreatedV1ResponseBody.from_dict(response.json()) return response_200 if client.raise_on_unexpected_status: @@ -35,7 +35,7 @@ def _parse_response( def _build_response( *, client: Union[AuthenticatedClient, Client], response: httpx.Response -) -> Response[AuditLogsLearningTaskCreatedV1ResponseBody]: +) -> Response[AuditLogsPostIncidentTaskCreatedV1ResponseBody]: return Response( status_code=HTTPStatus(response.status_code), content=response.content, @@ -47,17 +47,17 @@ def _build_response( def sync_detailed( *, client: Union[AuthenticatedClient, Client], -) -> Response[AuditLogsLearningTaskCreatedV1ResponseBody]: - """LearningTaskCreatedV1 Audit logs +) -> Response[AuditLogsPostIncidentTaskCreatedV1ResponseBody]: + """PostIncidentTaskCreatedV1 Audit logs - This entry is created whenever a learning task is created + This entry is created whenever a post-incident task is created Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - Response[AuditLogsLearningTaskCreatedV1ResponseBody] + Response[AuditLogsPostIncidentTaskCreatedV1ResponseBody] """ kwargs = _get_kwargs() @@ -72,17 +72,17 @@ def sync_detailed( def sync( *, client: Union[AuthenticatedClient, Client], -) -> Optional[AuditLogsLearningTaskCreatedV1ResponseBody]: - """LearningTaskCreatedV1 Audit logs +) -> Optional[AuditLogsPostIncidentTaskCreatedV1ResponseBody]: + """PostIncidentTaskCreatedV1 Audit logs - This entry is created whenever a learning task is created + This entry is created whenever a post-incident task is created Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - AuditLogsLearningTaskCreatedV1ResponseBody + AuditLogsPostIncidentTaskCreatedV1ResponseBody """ return sync_detailed( @@ -93,17 +93,17 @@ def sync( async def asyncio_detailed( *, client: Union[AuthenticatedClient, Client], -) -> Response[AuditLogsLearningTaskCreatedV1ResponseBody]: - """LearningTaskCreatedV1 Audit logs +) -> Response[AuditLogsPostIncidentTaskCreatedV1ResponseBody]: + """PostIncidentTaskCreatedV1 Audit logs - This entry is created whenever a learning task is created + This entry is created whenever a post-incident task is created Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - Response[AuditLogsLearningTaskCreatedV1ResponseBody] + Response[AuditLogsPostIncidentTaskCreatedV1ResponseBody] """ kwargs = _get_kwargs() @@ -116,17 +116,17 @@ async def asyncio_detailed( async def asyncio( *, client: Union[AuthenticatedClient, Client], -) -> Optional[AuditLogsLearningTaskCreatedV1ResponseBody]: - """LearningTaskCreatedV1 Audit logs +) -> Optional[AuditLogsPostIncidentTaskCreatedV1ResponseBody]: + """PostIncidentTaskCreatedV1 Audit logs - This entry is created whenever a learning task is created + This entry is created whenever a post-incident task is created Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - AuditLogsLearningTaskCreatedV1ResponseBody + AuditLogsPostIncidentTaskCreatedV1ResponseBody """ return ( diff --git a/incident_io_client/api/audit_logs/audit_logs_learning_task_deleted_v1.py b/incident_io_client/api/audit_logs/audit_logs_post_incident_task_deleted_v1.py similarity index 66% rename from incident_io_client/api/audit_logs/audit_logs_learning_task_deleted_v1.py rename to incident_io_client/api/audit_logs/audit_logs_post_incident_task_deleted_v1.py index 26b7c45c7..6ec72e5db 100644 --- a/incident_io_client/api/audit_logs/audit_logs_learning_task_deleted_v1.py +++ b/incident_io_client/api/audit_logs/audit_logs_post_incident_task_deleted_v1.py @@ -5,8 +5,8 @@ from ... import errors from ...client import AuthenticatedClient, Client -from ...models.audit_logs_learning_task_deleted_v1_response_body import ( - AuditLogsLearningTaskDeletedV1ResponseBody, +from ...models.audit_logs_post_incident_task_deleted_v1_response_body import ( + AuditLogsPostIncidentTaskDeletedV1ResponseBody, ) from ...types import Response @@ -16,15 +16,15 @@ def _get_kwargs() -> Dict[str, Any]: return { "method": "get", - "url": "/x-audit-logs/learning_task.deleted.1", + "url": "/x-audit-logs/post_incident_task.deleted.1", } def _parse_response( *, client: Union[AuthenticatedClient, Client], response: httpx.Response -) -> Optional[AuditLogsLearningTaskDeletedV1ResponseBody]: +) -> Optional[AuditLogsPostIncidentTaskDeletedV1ResponseBody]: if response.status_code == HTTPStatus.OK: - response_200 = AuditLogsLearningTaskDeletedV1ResponseBody.from_dict(response.json()) + response_200 = AuditLogsPostIncidentTaskDeletedV1ResponseBody.from_dict(response.json()) return response_200 if client.raise_on_unexpected_status: @@ -35,7 +35,7 @@ def _parse_response( def _build_response( *, client: Union[AuthenticatedClient, Client], response: httpx.Response -) -> Response[AuditLogsLearningTaskDeletedV1ResponseBody]: +) -> Response[AuditLogsPostIncidentTaskDeletedV1ResponseBody]: return Response( status_code=HTTPStatus(response.status_code), content=response.content, @@ -47,17 +47,17 @@ def _build_response( def sync_detailed( *, client: Union[AuthenticatedClient, Client], -) -> Response[AuditLogsLearningTaskDeletedV1ResponseBody]: - """LearningTaskDeletedV1 Audit logs +) -> Response[AuditLogsPostIncidentTaskDeletedV1ResponseBody]: + """PostIncidentTaskDeletedV1 Audit logs - This entry is created whenever a learning task is deleted + This entry is created whenever a post-incident task is deleted Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - Response[AuditLogsLearningTaskDeletedV1ResponseBody] + Response[AuditLogsPostIncidentTaskDeletedV1ResponseBody] """ kwargs = _get_kwargs() @@ -72,17 +72,17 @@ def sync_detailed( def sync( *, client: Union[AuthenticatedClient, Client], -) -> Optional[AuditLogsLearningTaskDeletedV1ResponseBody]: - """LearningTaskDeletedV1 Audit logs +) -> Optional[AuditLogsPostIncidentTaskDeletedV1ResponseBody]: + """PostIncidentTaskDeletedV1 Audit logs - This entry is created whenever a learning task is deleted + This entry is created whenever a post-incident task is deleted Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - AuditLogsLearningTaskDeletedV1ResponseBody + AuditLogsPostIncidentTaskDeletedV1ResponseBody """ return sync_detailed( @@ -93,17 +93,17 @@ def sync( async def asyncio_detailed( *, client: Union[AuthenticatedClient, Client], -) -> Response[AuditLogsLearningTaskDeletedV1ResponseBody]: - """LearningTaskDeletedV1 Audit logs +) -> Response[AuditLogsPostIncidentTaskDeletedV1ResponseBody]: + """PostIncidentTaskDeletedV1 Audit logs - This entry is created whenever a learning task is deleted + This entry is created whenever a post-incident task is deleted Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - Response[AuditLogsLearningTaskDeletedV1ResponseBody] + Response[AuditLogsPostIncidentTaskDeletedV1ResponseBody] """ kwargs = _get_kwargs() @@ -116,17 +116,17 @@ async def asyncio_detailed( async def asyncio( *, client: Union[AuthenticatedClient, Client], -) -> Optional[AuditLogsLearningTaskDeletedV1ResponseBody]: - """LearningTaskDeletedV1 Audit logs +) -> Optional[AuditLogsPostIncidentTaskDeletedV1ResponseBody]: + """PostIncidentTaskDeletedV1 Audit logs - This entry is created whenever a learning task is deleted + This entry is created whenever a post-incident task is deleted Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - AuditLogsLearningTaskDeletedV1ResponseBody + AuditLogsPostIncidentTaskDeletedV1ResponseBody """ return ( diff --git a/incident_io_client/api/audit_logs/audit_logs_learning_task_updated_v1.py b/incident_io_client/api/audit_logs/audit_logs_post_incident_task_updated_v1.py similarity index 66% rename from incident_io_client/api/audit_logs/audit_logs_learning_task_updated_v1.py rename to incident_io_client/api/audit_logs/audit_logs_post_incident_task_updated_v1.py index c92a931a4..8ac2c2288 100644 --- a/incident_io_client/api/audit_logs/audit_logs_learning_task_updated_v1.py +++ b/incident_io_client/api/audit_logs/audit_logs_post_incident_task_updated_v1.py @@ -5,8 +5,8 @@ from ... import errors from ...client import AuthenticatedClient, Client -from ...models.audit_logs_learning_task_updated_v1_response_body import ( - AuditLogsLearningTaskUpdatedV1ResponseBody, +from ...models.audit_logs_post_incident_task_updated_v1_response_body import ( + AuditLogsPostIncidentTaskUpdatedV1ResponseBody, ) from ...types import Response @@ -16,15 +16,15 @@ def _get_kwargs() -> Dict[str, Any]: return { "method": "get", - "url": "/x-audit-logs/learning_task.updated.1", + "url": "/x-audit-logs/post_incident_task.updated.1", } def _parse_response( *, client: Union[AuthenticatedClient, Client], response: httpx.Response -) -> Optional[AuditLogsLearningTaskUpdatedV1ResponseBody]: +) -> Optional[AuditLogsPostIncidentTaskUpdatedV1ResponseBody]: if response.status_code == HTTPStatus.OK: - response_200 = AuditLogsLearningTaskUpdatedV1ResponseBody.from_dict(response.json()) + response_200 = AuditLogsPostIncidentTaskUpdatedV1ResponseBody.from_dict(response.json()) return response_200 if client.raise_on_unexpected_status: @@ -35,7 +35,7 @@ def _parse_response( def _build_response( *, client: Union[AuthenticatedClient, Client], response: httpx.Response -) -> Response[AuditLogsLearningTaskUpdatedV1ResponseBody]: +) -> Response[AuditLogsPostIncidentTaskUpdatedV1ResponseBody]: return Response( status_code=HTTPStatus(response.status_code), content=response.content, @@ -47,17 +47,17 @@ def _build_response( def sync_detailed( *, client: Union[AuthenticatedClient, Client], -) -> Response[AuditLogsLearningTaskUpdatedV1ResponseBody]: - """LearningTaskUpdatedV1 Audit logs +) -> Response[AuditLogsPostIncidentTaskUpdatedV1ResponseBody]: + """PostIncidentTaskUpdatedV1 Audit logs - This entry is created whenever a learning task is updated + This entry is created whenever a post-incident task is updated Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - Response[AuditLogsLearningTaskUpdatedV1ResponseBody] + Response[AuditLogsPostIncidentTaskUpdatedV1ResponseBody] """ kwargs = _get_kwargs() @@ -72,17 +72,17 @@ def sync_detailed( def sync( *, client: Union[AuthenticatedClient, Client], -) -> Optional[AuditLogsLearningTaskUpdatedV1ResponseBody]: - """LearningTaskUpdatedV1 Audit logs +) -> Optional[AuditLogsPostIncidentTaskUpdatedV1ResponseBody]: + """PostIncidentTaskUpdatedV1 Audit logs - This entry is created whenever a learning task is updated + This entry is created whenever a post-incident task is updated Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - AuditLogsLearningTaskUpdatedV1ResponseBody + AuditLogsPostIncidentTaskUpdatedV1ResponseBody """ return sync_detailed( @@ -93,17 +93,17 @@ def sync( async def asyncio_detailed( *, client: Union[AuthenticatedClient, Client], -) -> Response[AuditLogsLearningTaskUpdatedV1ResponseBody]: - """LearningTaskUpdatedV1 Audit logs +) -> Response[AuditLogsPostIncidentTaskUpdatedV1ResponseBody]: + """PostIncidentTaskUpdatedV1 Audit logs - This entry is created whenever a learning task is updated + This entry is created whenever a post-incident task is updated Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - Response[AuditLogsLearningTaskUpdatedV1ResponseBody] + Response[AuditLogsPostIncidentTaskUpdatedV1ResponseBody] """ kwargs = _get_kwargs() @@ -116,17 +116,17 @@ async def asyncio_detailed( async def asyncio( *, client: Union[AuthenticatedClient, Client], -) -> Optional[AuditLogsLearningTaskUpdatedV1ResponseBody]: - """LearningTaskUpdatedV1 Audit logs +) -> Optional[AuditLogsPostIncidentTaskUpdatedV1ResponseBody]: + """PostIncidentTaskUpdatedV1 Audit logs - This entry is created whenever a learning task is updated + This entry is created whenever a post-incident task is updated Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout. Returns: - AuditLogsLearningTaskUpdatedV1ResponseBody + AuditLogsPostIncidentTaskUpdatedV1ResponseBody """ return ( diff --git a/incident_io_client/models/__init__.py b/incident_io_client/models/__init__.py index a3cc7934c..080caf7e9 100644 --- a/incident_io_client/models/__init__.py +++ b/incident_io_client/models/__init__.py @@ -164,15 +164,6 @@ from .audit_logs_internal_status_page_updated_v1_response_body import ( AuditLogsInternalStatusPageUpdatedV1ResponseBody, ) -from .audit_logs_learning_task_created_v1_response_body import ( - AuditLogsLearningTaskCreatedV1ResponseBody, -) -from .audit_logs_learning_task_deleted_v1_response_body import ( - AuditLogsLearningTaskDeletedV1ResponseBody, -) -from .audit_logs_learning_task_updated_v1_response_body import ( - AuditLogsLearningTaskUpdatedV1ResponseBody, -) from .audit_logs_nudge_created_v1_response_body import ( AuditLogsNudgeCreatedV1ResponseBody, ) @@ -191,6 +182,15 @@ from .audit_logs_policy_updated_v1_response_body import ( AuditLogsPolicyUpdatedV1ResponseBody, ) +from .audit_logs_post_incident_task_created_v1_response_body import ( + AuditLogsPostIncidentTaskCreatedV1ResponseBody, +) +from .audit_logs_post_incident_task_deleted_v1_response_body import ( + AuditLogsPostIncidentTaskDeletedV1ResponseBody, +) +from .audit_logs_post_incident_task_updated_v1_response_body import ( + AuditLogsPostIncidentTaskUpdatedV1ResponseBody, +) from .audit_logs_private_incident_access_attempted_v1_response_body import ( AuditLogsPrivateIncidentAccessAttemptedV1ResponseBody, ) @@ -778,15 +778,15 @@ "AuditLogsInternalStatusPageCreatedV1ResponseBody", "AuditLogsInternalStatusPageDeletedV1ResponseBody", "AuditLogsInternalStatusPageUpdatedV1ResponseBody", - "AuditLogsLearningTaskCreatedV1ResponseBody", - "AuditLogsLearningTaskDeletedV1ResponseBody", - "AuditLogsLearningTaskUpdatedV1ResponseBody", "AuditLogsNudgeCreatedV1ResponseBody", "AuditLogsNudgeDeletedV1ResponseBody", "AuditLogsNudgeUpdatedV1ResponseBody", "AuditLogsPolicyCreatedV1ResponseBody", "AuditLogsPolicyDeletedV1ResponseBody", "AuditLogsPolicyUpdatedV1ResponseBody", + "AuditLogsPostIncidentTaskCreatedV1ResponseBody", + "AuditLogsPostIncidentTaskDeletedV1ResponseBody", + "AuditLogsPostIncidentTaskUpdatedV1ResponseBody", "AuditLogsPrivateIncidentAccessAttemptedV1ResponseBody", "AuditLogsPrivateIncidentAccessRequestedV1ResponseBody", "AuditLogsPrivateIncidentMembershipGrantedV1ResponseBody", diff --git a/incident_io_client/models/audit_logs_learning_task_deleted_v1_response_body.py b/incident_io_client/models/audit_logs_post_incident_task_created_v1_response_body.py similarity index 88% rename from incident_io_client/models/audit_logs_learning_task_deleted_v1_response_body.py rename to incident_io_client/models/audit_logs_post_incident_task_created_v1_response_body.py index 0038634a9..4cb5a9612 100644 --- a/incident_io_client/models/audit_logs_learning_task_deleted_v1_response_body.py +++ b/incident_io_client/models/audit_logs_post_incident_task_created_v1_response_body.py @@ -13,21 +13,21 @@ from ..models.audit_log_target_v2_response_body import AuditLogTargetV2ResponseBody -T = TypeVar("T", bound="AuditLogsLearningTaskDeletedV1ResponseBody") +T = TypeVar("T", bound="AuditLogsPostIncidentTaskCreatedV1ResponseBody") @_attrs_define -class AuditLogsLearningTaskDeletedV1ResponseBody: +class AuditLogsPostIncidentTaskCreatedV1ResponseBody: """ Example: - {'action': 'learning_task.deleted', 'actor': {'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'metadata': + {'action': 'post_incident_task.created', 'actor': {'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'metadata': {'user_base_role_slug': 'admin', 'user_custom_role_slugs': 'engineering,security'}, 'name': 'John Doe', 'type': 'user'}, 'context': {'location': '1.2.3.4', 'user_agent': 'Chrome/91.0.4472.114'}, 'occurred_at': '2021-08-17T13:28:57.801578Z', 'targets': [{'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'name': 'Schedule a debrief', - 'type': 'learning_task'}], 'version': 1} + 'type': 'post_incident_task'}], 'version': 1} Attributes: - action (str): The type of log entry that this is Example: learning_task.deleted. + action (str): The type of log entry that this is Example: post_incident_task.created. actor (AuditLogActorV2ResponseBody): Example: {'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'metadata': {'user_base_role_slug': 'admin', 'user_custom_role_slugs': 'engineering,security'}, 'name': 'John Doe', 'type': 'user'}. @@ -35,7 +35,7 @@ class AuditLogsLearningTaskDeletedV1ResponseBody: 'Chrome/91.0.4472.114'}. occurred_at (datetime.datetime): When the entry occurred Example: 2021-08-17T13:28:57.801578Z. targets (List['AuditLogTargetV2ResponseBody']): The custom field that was created Example: [{'id': - '01FCNDV6P870EA6S7TK1DSYDG0', 'name': 'Schedule a debrief', 'type': 'learning_task'}]. + '01FCNDV6P870EA6S7TK1DSYDG0', 'name': 'Schedule a debrief', 'type': 'post_incident_task'}]. version (int): Which version the event is Example: 1. """ @@ -108,7 +108,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: version = d.pop("version") - audit_logs_learning_task_deleted_v1_response_body = cls( + audit_logs_post_incident_task_created_v1_response_body = cls( action=action, actor=actor, context=context, @@ -117,8 +117,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: version=version, ) - audit_logs_learning_task_deleted_v1_response_body.additional_properties = d - return audit_logs_learning_task_deleted_v1_response_body + audit_logs_post_incident_task_created_v1_response_body.additional_properties = d + return audit_logs_post_incident_task_created_v1_response_body @property def additional_keys(self) -> List[str]: diff --git a/incident_io_client/models/audit_logs_learning_task_updated_v1_response_body.py b/incident_io_client/models/audit_logs_post_incident_task_deleted_v1_response_body.py similarity index 88% rename from incident_io_client/models/audit_logs_learning_task_updated_v1_response_body.py rename to incident_io_client/models/audit_logs_post_incident_task_deleted_v1_response_body.py index 8190cc7ba..5eb05023a 100644 --- a/incident_io_client/models/audit_logs_learning_task_updated_v1_response_body.py +++ b/incident_io_client/models/audit_logs_post_incident_task_deleted_v1_response_body.py @@ -13,21 +13,21 @@ from ..models.audit_log_target_v2_response_body import AuditLogTargetV2ResponseBody -T = TypeVar("T", bound="AuditLogsLearningTaskUpdatedV1ResponseBody") +T = TypeVar("T", bound="AuditLogsPostIncidentTaskDeletedV1ResponseBody") @_attrs_define -class AuditLogsLearningTaskUpdatedV1ResponseBody: +class AuditLogsPostIncidentTaskDeletedV1ResponseBody: """ Example: - {'action': 'learning_task.updated', 'actor': {'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'metadata': + {'action': 'post_incident_task.deleted', 'actor': {'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'metadata': {'user_base_role_slug': 'admin', 'user_custom_role_slugs': 'engineering,security'}, 'name': 'John Doe', 'type': 'user'}, 'context': {'location': '1.2.3.4', 'user_agent': 'Chrome/91.0.4472.114'}, 'occurred_at': '2021-08-17T13:28:57.801578Z', 'targets': [{'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'name': 'Schedule a debrief', - 'type': 'learning_task'}], 'version': 1} + 'type': 'post_incident_task'}], 'version': 1} Attributes: - action (str): The type of log entry that this is Example: learning_task.updated. + action (str): The type of log entry that this is Example: post_incident_task.deleted. actor (AuditLogActorV2ResponseBody): Example: {'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'metadata': {'user_base_role_slug': 'admin', 'user_custom_role_slugs': 'engineering,security'}, 'name': 'John Doe', 'type': 'user'}. @@ -35,7 +35,7 @@ class AuditLogsLearningTaskUpdatedV1ResponseBody: 'Chrome/91.0.4472.114'}. occurred_at (datetime.datetime): When the entry occurred Example: 2021-08-17T13:28:57.801578Z. targets (List['AuditLogTargetV2ResponseBody']): The custom field that was created Example: [{'id': - '01FCNDV6P870EA6S7TK1DSYDG0', 'name': 'Schedule a debrief', 'type': 'learning_task'}]. + '01FCNDV6P870EA6S7TK1DSYDG0', 'name': 'Schedule a debrief', 'type': 'post_incident_task'}]. version (int): Which version the event is Example: 1. """ @@ -108,7 +108,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: version = d.pop("version") - audit_logs_learning_task_updated_v1_response_body = cls( + audit_logs_post_incident_task_deleted_v1_response_body = cls( action=action, actor=actor, context=context, @@ -117,8 +117,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: version=version, ) - audit_logs_learning_task_updated_v1_response_body.additional_properties = d - return audit_logs_learning_task_updated_v1_response_body + audit_logs_post_incident_task_deleted_v1_response_body.additional_properties = d + return audit_logs_post_incident_task_deleted_v1_response_body @property def additional_keys(self) -> List[str]: diff --git a/incident_io_client/models/audit_logs_learning_task_created_v1_response_body.py b/incident_io_client/models/audit_logs_post_incident_task_updated_v1_response_body.py similarity index 88% rename from incident_io_client/models/audit_logs_learning_task_created_v1_response_body.py rename to incident_io_client/models/audit_logs_post_incident_task_updated_v1_response_body.py index 5d3572962..a86459ef4 100644 --- a/incident_io_client/models/audit_logs_learning_task_created_v1_response_body.py +++ b/incident_io_client/models/audit_logs_post_incident_task_updated_v1_response_body.py @@ -13,21 +13,21 @@ from ..models.audit_log_target_v2_response_body import AuditLogTargetV2ResponseBody -T = TypeVar("T", bound="AuditLogsLearningTaskCreatedV1ResponseBody") +T = TypeVar("T", bound="AuditLogsPostIncidentTaskUpdatedV1ResponseBody") @_attrs_define -class AuditLogsLearningTaskCreatedV1ResponseBody: +class AuditLogsPostIncidentTaskUpdatedV1ResponseBody: """ Example: - {'action': 'learning_task.created', 'actor': {'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'metadata': + {'action': 'post_incident_task.updated', 'actor': {'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'metadata': {'user_base_role_slug': 'admin', 'user_custom_role_slugs': 'engineering,security'}, 'name': 'John Doe', 'type': 'user'}, 'context': {'location': '1.2.3.4', 'user_agent': 'Chrome/91.0.4472.114'}, 'occurred_at': '2021-08-17T13:28:57.801578Z', 'targets': [{'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'name': 'Schedule a debrief', - 'type': 'learning_task'}], 'version': 1} + 'type': 'post_incident_task'}], 'version': 1} Attributes: - action (str): The type of log entry that this is Example: learning_task.created. + action (str): The type of log entry that this is Example: post_incident_task.updated. actor (AuditLogActorV2ResponseBody): Example: {'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'metadata': {'user_base_role_slug': 'admin', 'user_custom_role_slugs': 'engineering,security'}, 'name': 'John Doe', 'type': 'user'}. @@ -35,7 +35,7 @@ class AuditLogsLearningTaskCreatedV1ResponseBody: 'Chrome/91.0.4472.114'}. occurred_at (datetime.datetime): When the entry occurred Example: 2021-08-17T13:28:57.801578Z. targets (List['AuditLogTargetV2ResponseBody']): The custom field that was created Example: [{'id': - '01FCNDV6P870EA6S7TK1DSYDG0', 'name': 'Schedule a debrief', 'type': 'learning_task'}]. + '01FCNDV6P870EA6S7TK1DSYDG0', 'name': 'Schedule a debrief', 'type': 'post_incident_task'}]. version (int): Which version the event is Example: 1. """ @@ -108,7 +108,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: version = d.pop("version") - audit_logs_learning_task_created_v1_response_body = cls( + audit_logs_post_incident_task_updated_v1_response_body = cls( action=action, actor=actor, context=context, @@ -117,8 +117,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T: version=version, ) - audit_logs_learning_task_created_v1_response_body.additional_properties = d - return audit_logs_learning_task_created_v1_response_body + audit_logs_post_incident_task_updated_v1_response_body.additional_properties = d + return audit_logs_post_incident_task_updated_v1_response_body @property def additional_keys(self) -> List[str]: diff --git a/incident_io_openapi.json b/incident_io_openapi.json index 62eb0e45f..2f3446ae7 100644 --- a/incident_io_openapi.json +++ b/incident_io_openapi.json @@ -3616,9 +3616,9 @@ "title": "AuditLogsInternalStatusPageUpdatedV1ResponseBody", "type": "object" }, - "AuditLogsLearningTaskCreatedV1ResponseBody": { + "AuditLogsNudgeCreatedV1ResponseBody": { "example": { - "action": "learning_task.created", + "action": "nudge.created", "actor": { "id": "01FCNDV6P870EA6S7TK1DSYDG0", "metadata": { @@ -3636,8 +3636,8 @@ "targets": [ { "id": "01FCNDV6P870EA6S7TK1DSYDG0", - "name": "Schedule a debrief", - "type": "learning_task" + "name": "Reminder to take a break", + "type": "nudge" } ], "version": 1 @@ -3645,7 +3645,7 @@ "properties": { "action": { "description": "The type of log entry that this is", - "example": "learning_task.created", + "example": "nudge.created", "type": "string" }, "actor": { @@ -3665,8 +3665,8 @@ "example": [ { "id": "01FCNDV6P870EA6S7TK1DSYDG0", - "name": "Schedule a debrief", - "type": "learning_task" + "name": "Reminder to take a break", + "type": "nudge" } ], "items": { @@ -3689,12 +3689,12 @@ "targets", "version" ], - "title": "AuditLogsLearningTaskCreatedV1ResponseBody", + "title": "AuditLogsNudgeCreatedV1ResponseBody", "type": "object" }, - "AuditLogsLearningTaskDeletedV1ResponseBody": { + "AuditLogsNudgeDeletedV1ResponseBody": { "example": { - "action": "learning_task.deleted", + "action": "nudge.deleted", "actor": { "id": "01FCNDV6P870EA6S7TK1DSYDG0", "metadata": { @@ -3712,8 +3712,8 @@ "targets": [ { "id": "01FCNDV6P870EA6S7TK1DSYDG0", - "name": "Schedule a debrief", - "type": "learning_task" + "name": "Reminder to take a break", + "type": "nudge" } ], "version": 1 @@ -3721,7 +3721,7 @@ "properties": { "action": { "description": "The type of log entry that this is", - "example": "learning_task.deleted", + "example": "nudge.deleted", "type": "string" }, "actor": { @@ -3741,8 +3741,8 @@ "example": [ { "id": "01FCNDV6P870EA6S7TK1DSYDG0", - "name": "Schedule a debrief", - "type": "learning_task" + "name": "Reminder to take a break", + "type": "nudge" } ], "items": { @@ -3765,12 +3765,12 @@ "targets", "version" ], - "title": "AuditLogsLearningTaskDeletedV1ResponseBody", + "title": "AuditLogsNudgeDeletedV1ResponseBody", "type": "object" }, - "AuditLogsLearningTaskUpdatedV1ResponseBody": { + "AuditLogsNudgeUpdatedV1ResponseBody": { "example": { - "action": "learning_task.updated", + "action": "nudge.updated", "actor": { "id": "01FCNDV6P870EA6S7TK1DSYDG0", "metadata": { @@ -3788,8 +3788,8 @@ "targets": [ { "id": "01FCNDV6P870EA6S7TK1DSYDG0", - "name": "Schedule a debrief", - "type": "learning_task" + "name": "Reminder to take a break", + "type": "nudge" } ], "version": 1 @@ -3797,7 +3797,7 @@ "properties": { "action": { "description": "The type of log entry that this is", - "example": "learning_task.updated", + "example": "nudge.updated", "type": "string" }, "actor": { @@ -3817,8 +3817,8 @@ "example": [ { "id": "01FCNDV6P870EA6S7TK1DSYDG0", - "name": "Schedule a debrief", - "type": "learning_task" + "name": "Reminder to take a break", + "type": "nudge" } ], "items": { @@ -3841,12 +3841,12 @@ "targets", "version" ], - "title": "AuditLogsLearningTaskUpdatedV1ResponseBody", + "title": "AuditLogsNudgeUpdatedV1ResponseBody", "type": "object" }, - "AuditLogsNudgeCreatedV1ResponseBody": { + "AuditLogsPolicyCreatedV1ResponseBody": { "example": { - "action": "nudge.created", + "action": "policy.created", "actor": { "id": "01FCNDV6P870EA6S7TK1DSYDG0", "metadata": { @@ -3864,8 +3864,8 @@ "targets": [ { "id": "01FCNDV6P870EA6S7TK1DSYDG0", - "name": "Reminder to take a break", - "type": "nudge" + "name": "Follow-ups must be closed within 3 weeks", + "type": "policy" } ], "version": 1 @@ -3873,7 +3873,7 @@ "properties": { "action": { "description": "The type of log entry that this is", - "example": "nudge.created", + "example": "policy.created", "type": "string" }, "actor": { @@ -3893,8 +3893,8 @@ "example": [ { "id": "01FCNDV6P870EA6S7TK1DSYDG0", - "name": "Reminder to take a break", - "type": "nudge" + "name": "Follow-ups must be closed within 3 weeks", + "type": "policy" } ], "items": { @@ -3917,12 +3917,12 @@ "targets", "version" ], - "title": "AuditLogsNudgeCreatedV1ResponseBody", + "title": "AuditLogsPolicyCreatedV1ResponseBody", "type": "object" }, - "AuditLogsNudgeDeletedV1ResponseBody": { + "AuditLogsPolicyDeletedV1ResponseBody": { "example": { - "action": "nudge.deleted", + "action": "policy.deleted", "actor": { "id": "01FCNDV6P870EA6S7TK1DSYDG0", "metadata": { @@ -3940,8 +3940,8 @@ "targets": [ { "id": "01FCNDV6P870EA6S7TK1DSYDG0", - "name": "Reminder to take a break", - "type": "nudge" + "name": "Follow-ups must be closed within 3 weeks", + "type": "policy" } ], "version": 1 @@ -3949,7 +3949,7 @@ "properties": { "action": { "description": "The type of log entry that this is", - "example": "nudge.deleted", + "example": "policy.deleted", "type": "string" }, "actor": { @@ -3969,8 +3969,8 @@ "example": [ { "id": "01FCNDV6P870EA6S7TK1DSYDG0", - "name": "Reminder to take a break", - "type": "nudge" + "name": "Follow-ups must be closed within 3 weeks", + "type": "policy" } ], "items": { @@ -3993,12 +3993,12 @@ "targets", "version" ], - "title": "AuditLogsNudgeDeletedV1ResponseBody", + "title": "AuditLogsPolicyDeletedV1ResponseBody", "type": "object" }, - "AuditLogsNudgeUpdatedV1ResponseBody": { + "AuditLogsPolicyUpdatedV1ResponseBody": { "example": { - "action": "nudge.updated", + "action": "policy.updated", "actor": { "id": "01FCNDV6P870EA6S7TK1DSYDG0", "metadata": { @@ -4016,8 +4016,8 @@ "targets": [ { "id": "01FCNDV6P870EA6S7TK1DSYDG0", - "name": "Reminder to take a break", - "type": "nudge" + "name": "Follow-ups must be closed within 3 weeks", + "type": "policy" } ], "version": 1 @@ -4025,7 +4025,7 @@ "properties": { "action": { "description": "The type of log entry that this is", - "example": "nudge.updated", + "example": "policy.updated", "type": "string" }, "actor": { @@ -4045,8 +4045,8 @@ "example": [ { "id": "01FCNDV6P870EA6S7TK1DSYDG0", - "name": "Reminder to take a break", - "type": "nudge" + "name": "Follow-ups must be closed within 3 weeks", + "type": "policy" } ], "items": { @@ -4069,12 +4069,12 @@ "targets", "version" ], - "title": "AuditLogsNudgeUpdatedV1ResponseBody", + "title": "AuditLogsPolicyUpdatedV1ResponseBody", "type": "object" }, - "AuditLogsPolicyCreatedV1ResponseBody": { + "AuditLogsPostIncidentTaskCreatedV1ResponseBody": { "example": { - "action": "policy.created", + "action": "post_incident_task.created", "actor": { "id": "01FCNDV6P870EA6S7TK1DSYDG0", "metadata": { @@ -4092,8 +4092,8 @@ "targets": [ { "id": "01FCNDV6P870EA6S7TK1DSYDG0", - "name": "Follow-ups must be closed within 3 weeks", - "type": "policy" + "name": "Schedule a debrief", + "type": "post_incident_task" } ], "version": 1 @@ -4101,7 +4101,7 @@ "properties": { "action": { "description": "The type of log entry that this is", - "example": "policy.created", + "example": "post_incident_task.created", "type": "string" }, "actor": { @@ -4121,8 +4121,8 @@ "example": [ { "id": "01FCNDV6P870EA6S7TK1DSYDG0", - "name": "Follow-ups must be closed within 3 weeks", - "type": "policy" + "name": "Schedule a debrief", + "type": "post_incident_task" } ], "items": { @@ -4145,12 +4145,12 @@ "targets", "version" ], - "title": "AuditLogsPolicyCreatedV1ResponseBody", + "title": "AuditLogsPostIncidentTaskCreatedV1ResponseBody", "type": "object" }, - "AuditLogsPolicyDeletedV1ResponseBody": { + "AuditLogsPostIncidentTaskDeletedV1ResponseBody": { "example": { - "action": "policy.deleted", + "action": "post_incident_task.deleted", "actor": { "id": "01FCNDV6P870EA6S7TK1DSYDG0", "metadata": { @@ -4168,8 +4168,8 @@ "targets": [ { "id": "01FCNDV6P870EA6S7TK1DSYDG0", - "name": "Follow-ups must be closed within 3 weeks", - "type": "policy" + "name": "Schedule a debrief", + "type": "post_incident_task" } ], "version": 1 @@ -4177,7 +4177,7 @@ "properties": { "action": { "description": "The type of log entry that this is", - "example": "policy.deleted", + "example": "post_incident_task.deleted", "type": "string" }, "actor": { @@ -4197,8 +4197,8 @@ "example": [ { "id": "01FCNDV6P870EA6S7TK1DSYDG0", - "name": "Follow-ups must be closed within 3 weeks", - "type": "policy" + "name": "Schedule a debrief", + "type": "post_incident_task" } ], "items": { @@ -4221,12 +4221,12 @@ "targets", "version" ], - "title": "AuditLogsPolicyDeletedV1ResponseBody", + "title": "AuditLogsPostIncidentTaskDeletedV1ResponseBody", "type": "object" }, - "AuditLogsPolicyUpdatedV1ResponseBody": { + "AuditLogsPostIncidentTaskUpdatedV1ResponseBody": { "example": { - "action": "policy.updated", + "action": "post_incident_task.updated", "actor": { "id": "01FCNDV6P870EA6S7TK1DSYDG0", "metadata": { @@ -4244,8 +4244,8 @@ "targets": [ { "id": "01FCNDV6P870EA6S7TK1DSYDG0", - "name": "Follow-ups must be closed within 3 weeks", - "type": "policy" + "name": "Schedule a debrief", + "type": "post_incident_task" } ], "version": 1 @@ -4253,7 +4253,7 @@ "properties": { "action": { "description": "The type of log entry that this is", - "example": "policy.updated", + "example": "post_incident_task.updated", "type": "string" }, "actor": { @@ -4273,8 +4273,8 @@ "example": [ { "id": "01FCNDV6P870EA6S7TK1DSYDG0", - "name": "Follow-ups must be closed within 3 weeks", - "type": "policy" + "name": "Schedule a debrief", + "type": "post_incident_task" } ], "items": { @@ -4297,7 +4297,7 @@ "targets", "version" ], - "title": "AuditLogsPolicyUpdatedV1ResponseBody", + "title": "AuditLogsPostIncidentTaskUpdatedV1ResponseBody", "type": "object" }, "AuditLogsPrivateIncidentAccessAttemptedV1ResponseBody": { @@ -21624,289 +21624,289 @@ ] } }, - "/x-audit-logs/learning_task.created.1": { + "/x-audit-logs/nudge.created.1": { "get": { - "description": "This entry is created whenever a learning task is created", - "operationId": "Audit logs#LearningTaskCreatedV1", + "description": "This entry is created whenever a nudge is created", + "operationId": "Audit logs#NudgeCreatedV1", "responses": { "200": { "content": { "application/gob": { "schema": { - "$ref": "#/components/schemas/AuditLogsLearningTaskCreatedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsNudgeCreatedV1ResponseBody" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/AuditLogsLearningTaskCreatedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsNudgeCreatedV1ResponseBody" } }, "application/xml": { "schema": { - "$ref": "#/components/schemas/AuditLogsLearningTaskCreatedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsNudgeCreatedV1ResponseBody" } } }, "description": "OK response." } }, - "summary": "LearningTaskCreatedV1 Audit logs", + "summary": "NudgeCreatedV1 Audit logs", "tags": [ "Audit logs" ] } }, - "/x-audit-logs/learning_task.deleted.1": { + "/x-audit-logs/nudge.deleted.1": { "get": { - "description": "This entry is created whenever a learning task is deleted", - "operationId": "Audit logs#LearningTaskDeletedV1", + "description": "This entry is created whenever a nudge is deleted", + "operationId": "Audit logs#NudgeDeletedV1", "responses": { "200": { "content": { "application/gob": { "schema": { - "$ref": "#/components/schemas/AuditLogsLearningTaskDeletedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsNudgeDeletedV1ResponseBody" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/AuditLogsLearningTaskDeletedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsNudgeDeletedV1ResponseBody" } }, "application/xml": { "schema": { - "$ref": "#/components/schemas/AuditLogsLearningTaskDeletedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsNudgeDeletedV1ResponseBody" } } }, "description": "OK response." } }, - "summary": "LearningTaskDeletedV1 Audit logs", + "summary": "NudgeDeletedV1 Audit logs", "tags": [ "Audit logs" ] } }, - "/x-audit-logs/learning_task.updated.1": { + "/x-audit-logs/nudge.updated.1": { "get": { - "description": "This entry is created whenever a learning task is updated", - "operationId": "Audit logs#LearningTaskUpdatedV1", + "description": "This entry is created whenever a nudge is updated", + "operationId": "Audit logs#NudgeUpdatedV1", "responses": { "200": { "content": { "application/gob": { "schema": { - "$ref": "#/components/schemas/AuditLogsLearningTaskUpdatedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsNudgeUpdatedV1ResponseBody" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/AuditLogsLearningTaskUpdatedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsNudgeUpdatedV1ResponseBody" } }, "application/xml": { "schema": { - "$ref": "#/components/schemas/AuditLogsLearningTaskUpdatedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsNudgeUpdatedV1ResponseBody" } } }, "description": "OK response." } }, - "summary": "LearningTaskUpdatedV1 Audit logs", + "summary": "NudgeUpdatedV1 Audit logs", "tags": [ "Audit logs" ] } }, - "/x-audit-logs/nudge.created.1": { + "/x-audit-logs/policy.created.1": { "get": { - "description": "This entry is created whenever a nudge is created", - "operationId": "Audit logs#NudgeCreatedV1", + "description": "This entry is created whenever a policy is created", + "operationId": "Audit logs#PolicyCreatedV1", "responses": { "200": { "content": { "application/gob": { "schema": { - "$ref": "#/components/schemas/AuditLogsNudgeCreatedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsPolicyCreatedV1ResponseBody" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/AuditLogsNudgeCreatedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsPolicyCreatedV1ResponseBody" } }, "application/xml": { "schema": { - "$ref": "#/components/schemas/AuditLogsNudgeCreatedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsPolicyCreatedV1ResponseBody" } } }, "description": "OK response." } }, - "summary": "NudgeCreatedV1 Audit logs", + "summary": "PolicyCreatedV1 Audit logs", "tags": [ "Audit logs" ] } }, - "/x-audit-logs/nudge.deleted.1": { + "/x-audit-logs/policy.deleted.1": { "get": { - "description": "This entry is created whenever a nudge is deleted", - "operationId": "Audit logs#NudgeDeletedV1", + "description": "This entry is created whenever a policy is deleted", + "operationId": "Audit logs#PolicyDeletedV1", "responses": { "200": { "content": { "application/gob": { "schema": { - "$ref": "#/components/schemas/AuditLogsNudgeDeletedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsPolicyDeletedV1ResponseBody" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/AuditLogsNudgeDeletedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsPolicyDeletedV1ResponseBody" } }, "application/xml": { "schema": { - "$ref": "#/components/schemas/AuditLogsNudgeDeletedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsPolicyDeletedV1ResponseBody" } } }, "description": "OK response." } }, - "summary": "NudgeDeletedV1 Audit logs", + "summary": "PolicyDeletedV1 Audit logs", "tags": [ "Audit logs" ] } }, - "/x-audit-logs/nudge.updated.1": { + "/x-audit-logs/policy.updated.1": { "get": { - "description": "This entry is created whenever a nudge is updated", - "operationId": "Audit logs#NudgeUpdatedV1", + "description": "This entry is created whenever a policy is updated", + "operationId": "Audit logs#PolicyUpdatedV1", "responses": { "200": { "content": { "application/gob": { "schema": { - "$ref": "#/components/schemas/AuditLogsNudgeUpdatedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsPolicyUpdatedV1ResponseBody" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/AuditLogsNudgeUpdatedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsPolicyUpdatedV1ResponseBody" } }, "application/xml": { "schema": { - "$ref": "#/components/schemas/AuditLogsNudgeUpdatedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsPolicyUpdatedV1ResponseBody" } } }, "description": "OK response." } }, - "summary": "NudgeUpdatedV1 Audit logs", + "summary": "PolicyUpdatedV1 Audit logs", "tags": [ "Audit logs" ] } }, - "/x-audit-logs/policy.created.1": { + "/x-audit-logs/post_incident_task.created.1": { "get": { - "description": "This entry is created whenever a policy is created", - "operationId": "Audit logs#PolicyCreatedV1", + "description": "This entry is created whenever a post-incident task is created", + "operationId": "Audit logs#PostIncidentTaskCreatedV1", "responses": { "200": { "content": { "application/gob": { "schema": { - "$ref": "#/components/schemas/AuditLogsPolicyCreatedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsPostIncidentTaskCreatedV1ResponseBody" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/AuditLogsPolicyCreatedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsPostIncidentTaskCreatedV1ResponseBody" } }, "application/xml": { "schema": { - "$ref": "#/components/schemas/AuditLogsPolicyCreatedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsPostIncidentTaskCreatedV1ResponseBody" } } }, "description": "OK response." } }, - "summary": "PolicyCreatedV1 Audit logs", + "summary": "PostIncidentTaskCreatedV1 Audit logs", "tags": [ "Audit logs" ] } }, - "/x-audit-logs/policy.deleted.1": { + "/x-audit-logs/post_incident_task.deleted.1": { "get": { - "description": "This entry is created whenever a policy is deleted", - "operationId": "Audit logs#PolicyDeletedV1", + "description": "This entry is created whenever a post-incident task is deleted", + "operationId": "Audit logs#PostIncidentTaskDeletedV1", "responses": { "200": { "content": { "application/gob": { "schema": { - "$ref": "#/components/schemas/AuditLogsPolicyDeletedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsPostIncidentTaskDeletedV1ResponseBody" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/AuditLogsPolicyDeletedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsPostIncidentTaskDeletedV1ResponseBody" } }, "application/xml": { "schema": { - "$ref": "#/components/schemas/AuditLogsPolicyDeletedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsPostIncidentTaskDeletedV1ResponseBody" } } }, "description": "OK response." } }, - "summary": "PolicyDeletedV1 Audit logs", + "summary": "PostIncidentTaskDeletedV1 Audit logs", "tags": [ "Audit logs" ] } }, - "/x-audit-logs/policy.updated.1": { + "/x-audit-logs/post_incident_task.updated.1": { "get": { - "description": "This entry is created whenever a policy is updated", - "operationId": "Audit logs#PolicyUpdatedV1", + "description": "This entry is created whenever a post-incident task is updated", + "operationId": "Audit logs#PostIncidentTaskUpdatedV1", "responses": { "200": { "content": { "application/gob": { "schema": { - "$ref": "#/components/schemas/AuditLogsPolicyUpdatedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsPostIncidentTaskUpdatedV1ResponseBody" } }, "application/json": { "schema": { - "$ref": "#/components/schemas/AuditLogsPolicyUpdatedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsPostIncidentTaskUpdatedV1ResponseBody" } }, "application/xml": { "schema": { - "$ref": "#/components/schemas/AuditLogsPolicyUpdatedV1ResponseBody" + "$ref": "#/components/schemas/AuditLogsPostIncidentTaskUpdatedV1ResponseBody" } } }, "description": "OK response." } }, - "summary": "PolicyUpdatedV1 Audit logs", + "summary": "PostIncidentTaskUpdatedV1 Audit logs", "tags": [ "Audit logs" ] diff --git a/mkdocs.yml b/mkdocs.yml index 269480a50..006d24148 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -29,6 +29,8 @@ nav: - actions_v2: - actions_v2_list: api_reference/api/actions_v2/actions_v2_list.md - actions_v2_show: api_reference/api/actions_v2/actions_v2_show.md + - alert_events_v2: + - alert_events_v2_create_http: api_reference/api/alert_events_v2/alert_events_v2_create_http.md - audit_logs: - audit_logs_announcement_rule_created_v1: api_reference/api/audit_logs/audit_logs_announcement_rule_created_v1.md - audit_logs_announcement_rule_deleted_v1: api_reference/api/audit_logs/audit_logs_announcement_rule_deleted_v1.md @@ -67,15 +69,15 @@ nav: - audit_logs_internal_status_page_created_v1: api_reference/api/audit_logs/audit_logs_internal_status_page_created_v1.md - audit_logs_internal_status_page_deleted_v1: api_reference/api/audit_logs/audit_logs_internal_status_page_deleted_v1.md - audit_logs_internal_status_page_updated_v1: api_reference/api/audit_logs/audit_logs_internal_status_page_updated_v1.md - - audit_logs_learning_task_created_v1: api_reference/api/audit_logs/audit_logs_learning_task_created_v1.md - - audit_logs_learning_task_deleted_v1: api_reference/api/audit_logs/audit_logs_learning_task_deleted_v1.md - - audit_logs_learning_task_updated_v1: api_reference/api/audit_logs/audit_logs_learning_task_updated_v1.md - audit_logs_nudge_created_v1: api_reference/api/audit_logs/audit_logs_nudge_created_v1.md - audit_logs_nudge_deleted_v1: api_reference/api/audit_logs/audit_logs_nudge_deleted_v1.md - audit_logs_nudge_updated_v1: api_reference/api/audit_logs/audit_logs_nudge_updated_v1.md - audit_logs_policy_created_v1: api_reference/api/audit_logs/audit_logs_policy_created_v1.md - audit_logs_policy_deleted_v1: api_reference/api/audit_logs/audit_logs_policy_deleted_v1.md - audit_logs_policy_updated_v1: api_reference/api/audit_logs/audit_logs_policy_updated_v1.md + - audit_logs_post_incident_task_created_v1: api_reference/api/audit_logs/audit_logs_post_incident_task_created_v1.md + - audit_logs_post_incident_task_deleted_v1: api_reference/api/audit_logs/audit_logs_post_incident_task_deleted_v1.md + - audit_logs_post_incident_task_updated_v1: api_reference/api/audit_logs/audit_logs_post_incident_task_updated_v1.md - audit_logs_private_incident_access_attempted_v1: api_reference/api/audit_logs/audit_logs_private_incident_access_attempted_v1.md - audit_logs_private_incident_access_requested_v1: api_reference/api/audit_logs/audit_logs_private_incident_access_requested_v1.md - audit_logs_private_incident_membership_granted_v1: @@ -224,6 +226,14 @@ nav: - actions_v2_show_response_body: api_reference/models/actions_v2_show_response_body.md - actor_v1_response_body: api_reference/models/actor_v1_response_body.md - actor_v2_response_body: api_reference/models/actor_v2_response_body.md + - alert_events_v2_create_http_request_body: api_reference/models/alert_events_v2_create_http_request_body.md + - alert_events_v2_create_http_request_body_metadata: api_reference/models/alert_events_v2_create_http_request_body_metadata.md + - alert_events_v2_create_http_request_body_status: api_reference/models/alert_events_v2_create_http_request_body_status.md + - alert_events_v2_create_http_response_body: api_reference/models/alert_events_v2_create_http_response_body.md + - alert_events_v2_create_http_response_body_deduplication_key: + api_reference/models/alert_events_v2_create_http_response_body_deduplication_key.md + - alert_events_v2_create_http_response_body_message: api_reference/models/alert_events_v2_create_http_response_body_message.md + - alert_events_v2_create_http_response_body_status: api_reference/models/alert_events_v2_create_http_response_body_status.md - api_key_v1_response_body: api_reference/models/api_key_v1_response_body.md - api_key_v2_response_body: api_reference/models/api_key_v2_response_body.md - audit_log_actor_metadata_v2_response_body: api_reference/models/audit_log_actor_metadata_v2_response_body.md @@ -280,15 +290,15 @@ nav: - audit_logs_internal_status_page_created_v1_response_body: api_reference/models/audit_logs_internal_status_page_created_v1_response_body.md - audit_logs_internal_status_page_deleted_v1_response_body: api_reference/models/audit_logs_internal_status_page_deleted_v1_response_body.md - audit_logs_internal_status_page_updated_v1_response_body: api_reference/models/audit_logs_internal_status_page_updated_v1_response_body.md - - audit_logs_learning_task_created_v1_response_body: api_reference/models/audit_logs_learning_task_created_v1_response_body.md - - audit_logs_learning_task_deleted_v1_response_body: api_reference/models/audit_logs_learning_task_deleted_v1_response_body.md - - audit_logs_learning_task_updated_v1_response_body: api_reference/models/audit_logs_learning_task_updated_v1_response_body.md - audit_logs_nudge_created_v1_response_body: api_reference/models/audit_logs_nudge_created_v1_response_body.md - audit_logs_nudge_deleted_v1_response_body: api_reference/models/audit_logs_nudge_deleted_v1_response_body.md - audit_logs_nudge_updated_v1_response_body: api_reference/models/audit_logs_nudge_updated_v1_response_body.md - audit_logs_policy_created_v1_response_body: api_reference/models/audit_logs_policy_created_v1_response_body.md - audit_logs_policy_deleted_v1_response_body: api_reference/models/audit_logs_policy_deleted_v1_response_body.md - audit_logs_policy_updated_v1_response_body: api_reference/models/audit_logs_policy_updated_v1_response_body.md + - audit_logs_post_incident_task_created_v1_response_body: api_reference/models/audit_logs_post_incident_task_created_v1_response_body.md + - audit_logs_post_incident_task_deleted_v1_response_body: api_reference/models/audit_logs_post_incident_task_deleted_v1_response_body.md + - audit_logs_post_incident_task_updated_v1_response_body: api_reference/models/audit_logs_post_incident_task_updated_v1_response_body.md - audit_logs_private_incident_access_attempted_v1_response_body: api_reference/models/audit_logs_private_incident_access_attempted_v1_response_body.md - audit_logs_private_incident_access_requested_v1_response_body: