From 84a4ba9982c9840ed05c1a2a3ea0c0703cbcf931 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 24 Oct 2026 16:33:25 +0000 Subject: [PATCH] chore: regenerate API client from latest OpenAPI spec --- internal/api/client.gen.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/internal/api/client.gen.go b/internal/api/client.gen.go index 45e086f..bbbb047 100644 --- a/internal/api/client.gen.go +++ b/internal/api/client.gen.go @@ -2394,6 +2394,21 @@ type ElementState_Pressed struct { union json.RawMessage } +// EmailAttachment defines model for EmailAttachment. +type EmailAttachment struct { + // ContentType MIME type, as the sender declared it + ContentType string `json:"content_type"` + + // DownloadUrl Signed download URL, valid for one hour + DownloadUrl string `json:"download_url"` + + // Filename Filename, as the sender named it + Filename string `json:"filename"` + + // SizeBytes Size in bytes + SizeBytes int `json:"size_bytes"` +} + // EmailReadAction defines model for EmailReadAction. type EmailReadAction struct { Category *string `json:"category,omitempty"` @@ -2412,6 +2427,9 @@ type EmailReadAction struct { // EmailResponse defines model for EmailResponse. type EmailResponse struct { + // Attachments Files attached to the email, with short-lived download URLs + Attachments *[]EmailAttachment `json:"attachments,omitempty"` + // CreatedAt Creation date CreatedAt FlexibleTime `json:"created_at"`