From 095c68e8c09d6367cf32d44a1074a534b439aaa2 Mon Sep 17 00:00:00 2001 From: "cloudquery-ci[bot]" <271027272+cloudquery-ci[bot]@users.noreply.github.com> Date: Mon, 10 Aug 2026 14:37:46 +0000 Subject: [PATCH] fix: Generate CloudQuery Go API Client from `spec.json` --- models.gen.go | 9 ++++++--- spec.json | 8 +++++++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/models.gen.go b/models.gen.go index a7609eb..89ea038 100644 --- a/models.gen.go +++ b/models.gen.go @@ -1885,9 +1885,12 @@ type Team struct { Name TeamName `json:"name"` // Plan The plan the team is on (trial is deprecated) - Plan TeamPlan `json:"plan"` - PlanEndTime *time.Time `json:"plan_end_time,omitempty"` - TrialEndTime *time.Time `json:"trial_end_time,omitempty"` + Plan TeamPlan `json:"plan"` + PlanEndTime *time.Time `json:"plan_end_time,omitempty"` + + // TrialEligible The team has not had its trial yet and will start one on its first sync that reports rows. + TrialEligible bool `json:"trial_eligible"` + TrialEndTime *time.Time `json:"trial_end_time,omitempty"` } // TeamImage defines model for TeamImage. diff --git a/spec.json b/spec.json index fd257d7..b058349 100644 --- a/spec.json +++ b/spec.json @@ -6903,6 +6903,11 @@ "format" : "date-time", "type" : "string" }, + "trial_eligible" : { + "description" : "The team has not had its trial yet and will start one on its first sync that reports rows.", + "example" : false, + "type" : "boolean" + }, "display_name" : { "description" : "The team's display name", "example" : "CloudQuery", @@ -6914,7 +6919,7 @@ "type" : "boolean" } }, - "required" : [ "display_name", "internal", "is_trial_active", "name", "plan" ], + "required" : [ "display_name", "internal", "is_trial_active", "name", "plan", "trial_eligible" ], "title" : "Team" }, "TeamImageCreate" : { @@ -8459,6 +8464,7 @@ "display_name" : "CloudQuery", "plan" : "free", "is_trial_active" : false, + "trial_eligible" : false, "internal" : false } } ],