diff --git a/packages/generator/spec.json b/packages/generator/spec.json
index 8b23ac1b..6ae8a73b 100644
--- a/packages/generator/spec.json
+++ b/packages/generator/spec.json
@@ -327,7 +327,7 @@
},
"/v2/audit/logs": {
"get": {
- "description": "Retrieves a page of audit events.
Required scope
auditlogs:read
Rate limiting
Level 2",
+ "description": "Retrieves a page of audit events from the last 90 days. If you want to retrieve data that is older than 90 days, you can use the CSV export feature.
Required scope
auditlogs:read
Rate limiting
Level 2",
"operationId": "enterprise-get-audit-logs",
"parameters": [
{
diff --git a/packages/miro-api-python/miro_api/api/__init__.py b/packages/miro-api-python/miro_api/api/__init__.py
index 91450876..f186813c 100644
--- a/packages/miro-api-python/miro_api/api/__init__.py
+++ b/packages/miro-api-python/miro_api/api/__init__.py
@@ -234,7 +234,7 @@ def enterprise_get_audit_logs(
) -> AuditPage:
"""Get audit logs
- Retrieves a page of audit events.
Required scope
auditlogs:read
Rate limiting
Level 2
+ Retrieves a page of audit events from the last 90 days. If you want to retrieve data that is older than 90 days, you can use the CSV export feature.
Required scope
auditlogs:read
Rate limiting
Level 2
:param created_after: Retrieve audit logs created after the date and time provided. This is the start date of the duration for which you want to retrieve audit logs. For example, if you want to retrieve audit logs between `2023-03-30T17:26:50.000Z` and `2023-04-30T17:26:50.000Z`, provide `2023-03-30T17:26:50.000Z` as the value for the `createdAfter` parameter.
Format: UTC, adheres to [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601), including milliseconds and a [trailing Z offset](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC)).\" (required)
:type created_after: str
diff --git a/packages/miro-api-python/miro_api/api_client.py b/packages/miro-api-python/miro_api/api_client.py
index 095d1273..9c49bef7 100644
--- a/packages/miro-api-python/miro_api/api_client.py
+++ b/packages/miro-api-python/miro_api/api_client.py
@@ -82,7 +82,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, cook
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
- self.user_agent = "OpenAPI-Generator/2.2.1/python"
+ self.user_agent = "OpenAPI-Generator/2.2.2/python"
self.client_side_validation = configuration.client_side_validation
def __enter__(self):
diff --git a/packages/miro-api-python/miro_api/configuration.py b/packages/miro-api-python/miro_api/configuration.py
index 562ed9fb..f0234b6b 100644
--- a/packages/miro-api-python/miro_api/configuration.py
+++ b/packages/miro-api-python/miro_api/configuration.py
@@ -390,7 +390,7 @@ def to_debug_report(self):
"OS: {env}\n"
"Python Version: {pyversion}\n"
"Version of the API: v2.0\n"
- "SDK Package Version: 2.2.1".format(env=sys.platform, pyversion=sys.version)
+ "SDK Package Version: 2.2.2".format(env=sys.platform, pyversion=sys.version)
)
def get_host_settings(self):
diff --git a/packages/miro-api/api/apis.ts b/packages/miro-api/api/apis.ts
index 8ffe7c2e..cd0cf8b4 100644
--- a/packages/miro-api/api/apis.ts
+++ b/packages/miro-api/api/apis.ts
@@ -436,7 +436,7 @@ export class MiroApi {
}
/**
- * Retrieves a page of audit events.
Required scope
auditlogs:read
Rate limiting
Level 2
+ * Retrieves a page of audit events from the last 90 days. If you want to retrieve data that is older than 90 days, you can use the CSV export feature.
Required scope
auditlogs:read
Rate limiting
Level 2
* @summary Get audit logs
* @param createdAfter Retrieve audit logs created after the date and time provided. This is the start date of the duration for which you want to retrieve audit logs. For example, if you want to retrieve audit logs between `2023-03-30T17:26:50.000Z` and `2023-04-30T17:26:50.000Z`, provide `2023-03-30T17:26:50.000Z` as the value for the `createdAfter` parameter.<br>Format: UTC, adheres to [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601), including milliseconds and a [trailing Z offset](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC)).\"
* @param createdBefore Retrieve audit logs created before the date and time provided. This is the end date of the duration for which you want to retrieve audit logs. For example, if you want to retrieve audit logs between `2023-03-30T17:26:50.000Z` and `2023-04-30T17:26:50.000Z`, provide `2023-04-30T17:26:50.000Z` as the value for the `createdBefore` parameter.<br>Format: UTC, adheres to [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601), including milliseconds and a [trailing Z offset](https://en.wikipedia.org/wiki/ISO_8601#Coordinated_Universal_Time_(UTC)).