From 8ed4ddb22f5cdad4467e762b07d693b5ff27ab08 Mon Sep 17 00:00:00 2001 From: martinkersner <2312761+martinkersner@users.noreply.github.com> Date: Tue, 7 Jul 2026 07:00:00 +0000 Subject: [PATCH] chore: sync generated _endpoints.py with backend spec --- datamaxi/_endpoints.py | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/datamaxi/_endpoints.py b/datamaxi/_endpoints.py index d103680..5b87a54 100644 --- a/datamaxi/_endpoints.py +++ b/datamaxi/_endpoints.py @@ -558,14 +558,14 @@ "from": { "required": False, "in": "query", - "type": "str", - "description": "Specifies from", + "type": "int", + "description": "Specifies from (unix seconds)", }, "to": { "required": False, "in": "query", - "type": "str", - "description": "Specifies to", + "type": "int", + "description": "Specifies to (unix seconds)", }, "sort": { "required": False, @@ -632,16 +632,14 @@ "from": { "required": False, "in": "query", - "type": "str", - "default": "now - 1 month", - "description": "Specifies from", + "type": "int", + "description": "Specifies from (unix seconds)", }, "to": { "required": False, "in": "query", - "type": "str", - "default": "now", - "description": "Specifies to", + "type": "int", + "description": "Specifies to (unix seconds)", }, "interval": { "required": False,