From 58628562872aa5eb0bc403157855a7116015e985 Mon Sep 17 00:00:00 2001 From: Chris Hoage Date: Sat, 11 Jul 2026 17:53:15 -0700 Subject: [PATCH] require completed transfer fields --- openapi.json | 10 +++++++++- openapi.yaml | 8 ++++++++ types.d.ts | 16 ++++++++-------- 3 files changed, 25 insertions(+), 9 deletions(-) diff --git a/openapi.json b/openapi.json index 0f043ce..8dc4b32 100644 --- a/openapi.json +++ b/openapi.json @@ -7056,7 +7056,15 @@ }, "additionalProperties": true, "required": [ - "group" + "group", + "name", + "size", + "bytes", + "checked", + "what", + "started_at", + "completed_at", + "error" ] } } diff --git a/openapi.yaml b/openapi.yaml index 5723708..5b31cee 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -4259,6 +4259,14 @@ components: additionalProperties: true required: - group + - name + - size + - bytes + - checked + - what + - started_at + - completed_at + - error required: - transferred DebugSetGcPercentResponse: diff --git a/types.d.ts b/types.d.ts index 0db5cdc..6728a8a 100644 --- a/types.d.ts +++ b/types.d.ts @@ -3385,18 +3385,18 @@ export interface components { srcRemote?: string; /** @description Destination path within `dstFs`, when provided. */ dstRemote?: string; - name?: string; - size?: number; - bytes?: number; - checked?: boolean; + name: string; + size: number; + bytes: number; + checked: boolean; /** @enum {string} */ - what?: "transferring" | "deleting" | "checking" | "importing" | "hashing" | "merging" | "listing" | "moving" | "renaming"; + what: "transferring" | "deleting" | "checking" | "importing" | "hashing" | "merging" | "listing" | "moving" | "renaming"; /** @description ISO8601 timestamp when the transfer started. */ - started_at?: string; + started_at: string; /** @description ISO8601 timestamp when the transfer completed. */ - completed_at?: string; + completed_at: string; timestamp?: number; - error?: string; + error: string; jobid?: number; } & { [key: string]: unknown;