diff --git a/models.gen.go b/models.gen.go index 6abed13..ed9766c 100644 --- a/models.gen.go +++ b/models.gen.go @@ -77,6 +77,12 @@ const ( PluginVersionPackageTypeNative PluginVersionPackageType = "native" ) +// Defines values for TeamPlan. +const ( + Free TeamPlan = "free" + Paid TeamPlan = "paid" +) + // Defines values for AddonSortBy. const ( AddonSortByCreatedAt AddonSortBy = "created_at" @@ -882,11 +888,17 @@ type Team struct { // Name The unique name for the team. Name TeamName `json:"name"` + + // Plan The plan the team is on + Plan *TeamPlan `json:"plan,omitempty"` } // TeamName The unique name for the team. type TeamName = string +// TeamPlan The plan the team is on +type TeamPlan string + // UsageCurrent The usage of a plugin within the current calendar month. type UsageCurrent struct { // PluginKind The kind of plugin, ie. source or destination. @@ -1175,6 +1187,9 @@ type CreateTeamJSONBody struct { // Name The unique name for the team. Name TeamName `json:"name"` + + // Plan The plan the team is on + Plan *TeamPlan `json:"plan,omitempty"` } // UpdateTeamJSONBody defines parameters for UpdateTeam. diff --git a/spec.json b/spec.json index 65f8f05..7920581 100644 --- a/spec.json +++ b/spec.json @@ -1922,6 +1922,9 @@ "description": "The team's display name", "minLength": 1, "maxLength": 255 + }, + "plan": { + "$ref": "#/components/schemas/TeamPlan" } } } @@ -4633,6 +4636,14 @@ "title": "CloudQuery Addon Asset", "type": "object" }, + "TeamPlan": { + "description": "The plan the team is on", + "type": "string", + "enum": [ + "free", + "paid" + ] + }, "Team": { "additionalProperties": false, "description": "CloudQuery Team", @@ -4645,6 +4656,9 @@ "name": { "$ref": "#/components/schemas/TeamName" }, + "plan": { + "$ref": "#/components/schemas/TeamPlan" + }, "display_name": { "description": "The team's display name", "maxLength": 255,