feat: expose Checko section APIs and completion counters

This commit is contained in:
Aleksandr Meshchryakov
2026-10-05 16:45:13 +02:00
parent a517950425
commit 4637b02ddd
26 changed files with 1974 additions and 36 deletions

View File

@@ -971,5 +971,197 @@
"raw_columns",
"source_row_number"
]
},
"CheckoMessageListPayload": {
"type": "object",
"properties": {
"message_guid": {
"type": "string"
},
"publication_raw": {
"type": "string",
"nullable": true
},
"publication_date": {
"type": "string",
"format": "date",
"nullable": true
},
"message_type": {
"type": "string"
},
"message_type_name": {
"type": "string",
"nullable": true
},
"publisher_identifier": {
"type": "string"
},
"participant_identifiers": {
"type": "array",
"items": {
"type": "string"
}
},
"source_url": {
"type": "string",
"nullable": true
},
"fetched_at": {
"type": "string",
"format": "date-time"
},
"upstream": {
"type": "object",
"additionalProperties": true
}
},
"required": [
"message_guid",
"publication_raw",
"publication_date",
"message_type",
"message_type_name",
"publisher_identifier",
"participant_identifiers",
"source_url",
"fetched_at",
"upstream"
]
},
"CheckoMessageDetailPayload": {
"allOf": [
{
"$ref": "#/components/schemas/CheckoMessageListPayload"
}
]
},
"CheckoLeasingListPayload": {
"type": "object",
"properties": {
"message_guid": {
"type": "string"
},
"publication_raw": {
"type": "string",
"nullable": true
},
"publication_date": {
"type": "string",
"format": "date",
"nullable": true
},
"message_type": {
"type": "string"
},
"message_type_name": {
"type": "string",
"nullable": true
},
"publisher_identifier": {
"type": "string"
},
"participant_identifiers": {
"type": "array",
"items": {
"type": "string"
}
},
"source_url": {
"type": "string",
"nullable": true
},
"fetched_at": {
"type": "string",
"format": "date-time"
},
"upstream": {
"type": "object",
"additionalProperties": true
},
"lease_event_type": {
"type": "string"
}
},
"required": [
"message_guid",
"publication_raw",
"publication_date",
"message_type",
"message_type_name",
"publisher_identifier",
"participant_identifiers",
"source_url",
"fetched_at",
"upstream",
"lease_event_type"
]
},
"CheckoLeasingDetailPayload": {
"allOf": [
{
"$ref": "#/components/schemas/CheckoLeasingListPayload"
}
]
},
"CheckoLicenseListPayload": {
"type": "object",
"properties": {
"license_number": {
"type": "string"
},
"issued_on": {
"type": "string",
"format": "date"
},
"valid_from": {
"type": "string",
"format": "date",
"nullable": true
},
"valid_until": {
"type": "string",
"format": "date",
"nullable": true
},
"authority": {
"type": "string"
},
"activities": {
"type": "array",
"items": {
"type": "string"
}
},
"source_url": {
"type": "string"
},
"fetched_at": {
"type": "string",
"format": "date-time"
},
"upstream": {
"type": "object",
"additionalProperties": true
}
},
"required": [
"license_number",
"issued_on",
"valid_from",
"valid_until",
"authority",
"activities",
"source_url",
"fetched_at",
"upstream"
]
},
"CheckoLicenseDetailPayload": {
"allOf": [
{
"$ref": "#/components/schemas/CheckoLicenseListPayload"
}
]
}
}