From bdd57f67c87fc52c01f8218cb3c3f8ccd8c426c1 Mon Sep 17 00:00:00 2001 From: GitHub Date: Tue, 22 Sep 2026 03:01:07 +0000 Subject: [PATCH] chore(update): bump openapi schema (2026-09-22) --- .../organizationbilling.go | 4 +--- handler/project/project.go | 19 +++++++++--------- handler/service/service.go | 20 ++++++++++--------- 3 files changed, 22 insertions(+), 21 deletions(-) diff --git a/handler/organizationbilling/organizationbilling.go b/handler/organizationbilling/organizationbilling.go index 97bdcec..37f2ea6 100644 --- a/handler/organizationbilling/organizationbilling.go +++ b/handler/organizationbilling/organizationbilling.go @@ -242,17 +242,15 @@ type PaymentMethodType string const ( PaymentMethodTypeAWSSubscription PaymentMethodType = "aws_subscription" - PaymentMethodTypeAWSSubscriptionV1 PaymentMethodType = "aws_subscription_v1" PaymentMethodTypeAzureSubscription PaymentMethodType = "azure_subscription" PaymentMethodTypeBankTransfer PaymentMethodType = "bank_transfer" PaymentMethodTypeCreditCard PaymentMethodType = "credit_card" PaymentMethodTypeCustom PaymentMethodType = "custom" PaymentMethodTypeGcpSubscription PaymentMethodType = "gcp_subscription" - PaymentMethodTypeGcpSubscriptionV1 PaymentMethodType = "gcp_subscription_v1" ) func PaymentMethodTypeChoices() []string { - return []string{"aws_subscription", "aws_subscription_v1", "azure_subscription", "bank_transfer", "credit_card", "custom", "gcp_subscription", "gcp_subscription_v1"} + return []string{"aws_subscription", "azure_subscription", "bank_transfer", "credit_card", "custom", "gcp_subscription"} } type PaymentMethodsListOut struct { diff --git a/handler/project/project.go b/handler/project/project.go index 102db9f..4c4af22 100644 --- a/handler/project/project.go +++ b/handler/project/project.go @@ -1012,15 +1012,16 @@ type RedisOut struct { UserConfigSchema map[string]any `json:"user_config_schema"` // JSON-Schema for the 'user_config' properties } type ServicePlanOut struct { - BackupConfig BackupConfigOut `json:"backup_config"` // Backup configuration for this service plan - IsClusterPlan *bool `json:"is_cluster_plan,omitempty"` // True when the plan is a cluster plan with dedicated node groups - MaxMemoryPercent *int `json:"max_memory_percent,omitempty"` // Maximum amount of system memory as a percentage (0-100) the service can actually use after taking into account management overhead. This is relevant for memory bound services for which some service management operations require allocating proportional amount of memory on top the basic load. - NodeCount *int `json:"node_count,omitempty"` // Number of nodes in this service plan - PrimaryCount *int `json:"primary_count,omitempty"` // Number of primary nodes in this Valkey cluster service plan - Regions map[string]any `json:"regions,omitempty"` // Service plan hourly price per cloud region - ServicePlan string `json:"service_plan"` // Subscription plan - ServiceType string `json:"service_type"` // Service type code - ShardCount *int `json:"shard_count,omitempty"` // Number of shards in this service plan + BackupConfig BackupConfigOut `json:"backup_config"` // Backup configuration for this service plan + IsClusterPlan *bool `json:"is_cluster_plan,omitempty"` // True when the plan is a cluster plan with dedicated node groups + ManagedClusterPlan *bool `json:"managed_cluster_plan,omitempty"` // True when the plan's topology is set via user config and its region price is per node + MaxMemoryPercent *int `json:"max_memory_percent,omitempty"` // Maximum amount of system memory as a percentage (0-100) the service can actually use after taking into account management overhead. This is relevant for memory bound services for which some service management operations require allocating proportional amount of memory on top the basic load. + NodeCount *int `json:"node_count,omitempty"` // Number of nodes in this service plan + PrimaryCount *int `json:"primary_count,omitempty"` // Number of primary nodes in this Valkey cluster service plan + Regions map[string]any `json:"regions,omitempty"` // Service plan hourly price per cloud region + ServicePlan string `json:"service_plan"` // Subscription plan + ServiceType string `json:"service_type"` // Service type code + ShardCount *int `json:"shard_count,omitempty"` // Number of shards in this service plan } type TechEmailIn struct { Email string `json:"email"` // User email address diff --git a/handler/service/service.go b/handler/service/service.go index 2fa77d8..0efec31 100644 --- a/handler/service/service.go +++ b/handler/service/service.go @@ -929,6 +929,7 @@ type ClickhouseOut struct { UserConfigSchema map[string]any `json:"user_config_schema"` // JSON-Schema for the 'user_config' properties } type ComponentOut struct { + Az *string `json:"az,omitempty"` // Availability zone this endpoint routes clients to. Only present on the additional, AZ-aware endpoints of a diskless Kafka service; the default endpoint of each component has no 'az'. This is a value specific to the 'kafka' service component. Component string `json:"component"` // Service component name Host string `json:"host"` // DNS name for connecting to the service component KafkaAuthenticationMethod KafkaAuthenticationMethodType `json:"kafka_authentication_method,omitempty"` // Kafka authentication method. This is a value specific to the 'kafka' service component @@ -2240,15 +2241,16 @@ type ServiceOut struct { Users []UserOut `json:"users,omitempty"` // List of service users } type ServicePlanOut struct { - BackupConfig BackupConfigOut `json:"backup_config"` // Backup configuration for this service plan - IsClusterPlan *bool `json:"is_cluster_plan,omitempty"` // True when the plan is a cluster plan with dedicated node groups - MaxMemoryPercent *int `json:"max_memory_percent,omitempty"` // Maximum amount of system memory as a percentage (0-100) the service can actually use after taking into account management overhead. This is relevant for memory bound services for which some service management operations require allocating proportional amount of memory on top the basic load. - NodeCount *int `json:"node_count,omitempty"` // Number of nodes in this service plan - PrimaryCount *int `json:"primary_count,omitempty"` // Number of primary nodes in this Valkey cluster service plan - Regions map[string]any `json:"regions,omitempty"` // Service plan hourly price per cloud region - ServicePlan string `json:"service_plan"` // Subscription plan - ServiceType string `json:"service_type"` // Service type code - ShardCount *int `json:"shard_count,omitempty"` // Number of shards in this service plan + BackupConfig BackupConfigOut `json:"backup_config"` // Backup configuration for this service plan + IsClusterPlan *bool `json:"is_cluster_plan,omitempty"` // True when the plan is a cluster plan with dedicated node groups + ManagedClusterPlan *bool `json:"managed_cluster_plan,omitempty"` // True when the plan's topology is set via user config and its region price is per node + MaxMemoryPercent *int `json:"max_memory_percent,omitempty"` // Maximum amount of system memory as a percentage (0-100) the service can actually use after taking into account management overhead. This is relevant for memory bound services for which some service management operations require allocating proportional amount of memory on top the basic load. + NodeCount *int `json:"node_count,omitempty"` // Number of nodes in this service plan + PrimaryCount *int `json:"primary_count,omitempty"` // Number of primary nodes in this Valkey cluster service plan + Regions map[string]any `json:"regions,omitempty"` // Service plan hourly price per cloud region + ServicePlan string `json:"service_plan"` // Subscription plan + ServiceType string `json:"service_type"` // Service type code + ShardCount *int `json:"shard_count,omitempty"` // Number of shards in this service plan } // ServiceQueryActivityIn ServiceQueryActivityRequestBody