diff --git a/handler/account/account.go b/handler/account/account.go index 9fb9824..36c7215 100644 --- a/handler/account/account.go +++ b/handler/account/account.go @@ -11,12 +11,12 @@ import ( ) type Handler interface { - // AccountAttachPaymentMethod attach payment method for account + // Deprecated: AccountAttachPaymentMethod attach payment method for account // POST /v1/account/{account_id}/payment_methods // https://api.aiven.io/doc/#tag/Account/operation/AccountAttachPaymentMethod AccountAttachPaymentMethod(ctx context.Context, accountId string, in *AccountAttachPaymentMethodIn) (*AccountAttachPaymentMethodOut, error) - // AccountBillingGroupList list account billing groups + // Deprecated: AccountBillingGroupList list account billing groups // GET /v1/account/{account_id}/billing-group // https://api.aiven.io/doc/#tag/Account/operation/AccountBillingGroupList AccountBillingGroupList(ctx context.Context, accountId string) ([]AccountBillingGroupOut, error) @@ -51,22 +51,22 @@ type Handler interface { // https://api.aiven.io/doc/#tag/Account/operation/AccountMove AccountMove(ctx context.Context, accountId string, in *AccountMoveIn) (*AccountMoveOut, error) - // AccountPaymentMethodDelete delete credit card attached to the account as a payment method + // Deprecated: AccountPaymentMethodDelete delete credit card attached to the account as a payment method // DELETE /v1/account/{account_id}/payment_method/{card_id} // https://api.aiven.io/doc/#tag/Account/operation/AccountPaymentMethodDelete AccountPaymentMethodDelete(ctx context.Context, accountId string, cardId string) error - // AccountPaymentMethodsList list credit cards attached as a payment method to the account + // Deprecated: AccountPaymentMethodsList list credit cards attached as a payment method to the account // GET /v1/account/{account_id}/payment_methods // https://api.aiven.io/doc/#tag/Account/operation/AccountPaymentMethodsList AccountPaymentMethodsList(ctx context.Context, accountId string) ([]CardOut, error) - // AccountProjectsList list projects belonging to account + // Deprecated: AccountProjectsList list projects belonging to account // GET /v1/account/{account_id}/projects // https://api.aiven.io/doc/#tag/Account/operation/AccountProjectsList AccountProjectsList(ctx context.Context, accountId string) (*AccountProjectsListOut, error) - // AccountProjectsTeamsList list account teams associated to a project + // Deprecated: AccountProjectsTeamsList list account teams associated to a project // GET /v1/account/{account_id}/project/{project_name}/teams // https://api.aiven.io/doc/#tag/Account/operation/AccountProjectsTeamsList AccountProjectsTeamsList(ctx context.Context, accountId string, projectName string) ([]TeamOut, error) @@ -81,12 +81,12 @@ type Handler interface { // https://api.aiven.io/doc/#tag/Account/operation/AccountUserProjectsList AccountUserProjectsList(ctx context.Context, accountId string, userId string) ([]UserProjectOut, error) - // AccountUserTeamsList list all teams for user + // Deprecated: AccountUserTeamsList list all teams for user // GET /v1/account/{account_id}/user/{user_id}/teams // https://api.aiven.io/doc/#tag/Account/operation/AccountUserTeamsList AccountUserTeamsList(ctx context.Context, accountId string, userId string) ([]AccountUserTeamsListOut, error) - // AccountUsersSearch list/search users who are members of any team on this account + // Deprecated: AccountUsersSearch list/search users who are members of any team on this account // POST /v1/account/{account_id}/users/search // https://api.aiven.io/doc/#tag/Account/operation/AccountUsersSearch AccountUsersSearch(ctx context.Context, accountId string, in *AccountUsersSearchIn) ([]UserOut, error) diff --git a/handler/accountteam/accountteam.go b/handler/accountteam/accountteam.go index e7b7ef8..27adfd2 100644 --- a/handler/accountteam/accountteam.go +++ b/handler/accountteam/accountteam.go @@ -11,52 +11,52 @@ import ( ) type Handler interface { - // AccountTeamCreate create a new team + // Deprecated: AccountTeamCreate create a new team // POST /v1/account/{account_id}/teams // https://api.aiven.io/doc/#tag/Account/operation/AccountTeamCreate AccountTeamCreate(ctx context.Context, accountId string) (*AccountTeamCreateOut, error) - // AccountTeamDelete delete a team + // Deprecated: AccountTeamDelete delete a team // DELETE /v1/account/{account_id}/team/{team_id} // https://api.aiven.io/doc/#tag/Account/operation/AccountTeamDelete AccountTeamDelete(ctx context.Context, accountId string, teamId string) error - // AccountTeamGet get details for a single team + // Deprecated: AccountTeamGet get details for a single team // GET /v1/account/{account_id}/team/{team_id} // https://api.aiven.io/doc/#tag/Account/operation/AccountTeamGet AccountTeamGet(ctx context.Context, accountId string, teamId string) (*AccountTeamGetOut, error) - // AccountTeamInvitesList list pending invites + // Deprecated: AccountTeamInvitesList list pending invites // GET /v1/account/{account_id}/team/{team_id}/invites // https://api.aiven.io/doc/#tag/Account/operation/AccountTeamInvitesList AccountTeamInvitesList(ctx context.Context, accountId string, teamId string) ([]AccountInviteOut, error) - // AccountTeamList list teams belonging to an account + // Deprecated: AccountTeamList list teams belonging to an account // GET /v1/account/{account_id}/teams // https://api.aiven.io/doc/#tag/Account/operation/AccountTeamList AccountTeamList(ctx context.Context, accountId string) ([]TeamOut, error) - // AccountTeamProjectAssociate associate team to a project + // Deprecated: AccountTeamProjectAssociate associate team to a project // POST /v1/account/{account_id}/team/{team_id}/project/{project} // https://api.aiven.io/doc/#tag/Account/operation/AccountTeamProjectAssociate AccountTeamProjectAssociate(ctx context.Context, accountId string, teamId string, project string, in *AccountTeamProjectAssociateIn) error - // AccountTeamProjectAssociationUpdate update team-project association + // Deprecated: AccountTeamProjectAssociationUpdate update team-project association // PUT /v1/account/{account_id}/team/{team_id}/project/{project} // https://api.aiven.io/doc/#tag/Account/operation/AccountTeamProjectAssociationUpdate AccountTeamProjectAssociationUpdate(ctx context.Context, accountId string, teamId string, project string, in *AccountTeamProjectAssociationUpdateIn) error - // AccountTeamProjectDisassociate disassociate team from a project + // Deprecated: AccountTeamProjectDisassociate disassociate team from a project // DELETE /v1/account/{account_id}/team/{team_id}/project/{project} // https://api.aiven.io/doc/#tag/Account/operation/AccountTeamProjectDisassociate AccountTeamProjectDisassociate(ctx context.Context, accountId string, teamId string, project string) error - // AccountTeamProjectList list projects associated to a team + // Deprecated: AccountTeamProjectList list projects associated to a team // GET /v1/account/{account_id}/team/{team_id}/projects // https://api.aiven.io/doc/#tag/Account/operation/AccountTeamProjectList AccountTeamProjectList(ctx context.Context, accountId string, teamId string) ([]ProjectOut, error) - // AccountTeamUpdate update team details + // Deprecated: AccountTeamUpdate update team details // PUT /v1/account/{account_id}/team/{team_id} // https://api.aiven.io/doc/#tag/Account/operation/AccountTeamUpdate AccountTeamUpdate(ctx context.Context, accountId string, teamId string, in *AccountTeamUpdateIn) (*AccountTeamUpdateOut, error) diff --git a/handler/accountteammember/accountteammember.go b/handler/accountteammember/accountteammember.go index 8c467be..89f16cc 100644 --- a/handler/accountteammember/accountteammember.go +++ b/handler/accountteammember/accountteammember.go @@ -11,27 +11,27 @@ import ( ) type Handler interface { - // AccountTeamMemberCancelInvite cancel pending user invite + // Deprecated: AccountTeamMemberCancelInvite cancel pending user invite // DELETE /v1/account/{account_id}/team/{team_id}/invites/{user_email} // https://api.aiven.io/doc/#tag/Account/operation/AccountTeamMemberCancelInvite AccountTeamMemberCancelInvite(ctx context.Context, accountId string, teamId string, userEmail string) error - // AccountTeamMemberVerifyInvite confirm account team invite + // Deprecated: AccountTeamMemberVerifyInvite confirm account team invite // POST /v1/account/{account_id}/invite/{invite_verification_code} // https://api.aiven.io/doc/#tag/Account/operation/AccountTeamMemberVerifyInvite AccountTeamMemberVerifyInvite(ctx context.Context, accountId string, inviteVerificationCode string) (*AccountTeamMemberVerifyInviteOut, error) - // AccountTeamMembersDelete remove a member from the team + // Deprecated: AccountTeamMembersDelete remove a member from the team // DELETE /v1/account/{account_id}/team/{team_id}/member/{user_id} // https://api.aiven.io/doc/#tag/Account/operation/AccountTeamMembersDelete AccountTeamMembersDelete(ctx context.Context, accountId string, teamId string, userId string) error - // AccountTeamMembersInvite invite a new member to join the team + // Deprecated: AccountTeamMembersInvite invite a new member to join the team // POST /v1/account/{account_id}/team/{team_id}/members // https://api.aiven.io/doc/#tag/Account/operation/AccountTeamMembersInvite AccountTeamMembersInvite(ctx context.Context, accountId string, teamId string) error - // AccountTeamMembersList list members of a single team + // Deprecated: AccountTeamMembersList list members of a single team // GET /v1/account/{account_id}/team/{team_id}/members // https://api.aiven.io/doc/#tag/Account/operation/AccountTeamMembersList AccountTeamMembersList(ctx context.Context, accountId string, teamId string) ([]MemberOut, error) diff --git a/handler/billinggroup/billinggroup.go b/handler/billinggroup/billinggroup.go index 537312e..580cc06 100644 --- a/handler/billinggroup/billinggroup.go +++ b/handler/billinggroup/billinggroup.go @@ -11,7 +11,7 @@ import ( ) type Handler interface { - // BillingGroupCreate create a billing group + // Deprecated: BillingGroupCreate create a billing group // POST /v1/billing-group // https://api.aiven.io/doc/#tag/BillingGroup/operation/BillingGroupCreate BillingGroupCreate(ctx context.Context, in *BillingGroupCreateIn) (*BillingGroupCreateOut, error) @@ -28,7 +28,7 @@ type Handler interface { // Required roles or permissions: developer, operator, read_only BillingGroupCreditsList(ctx context.Context, billingGroupId string) ([]CreditOut, error) - // BillingGroupDelete delete billing group + // Deprecated: BillingGroupDelete delete billing group // DELETE /v1/billing-group/{billing_group_id} // https://api.aiven.io/doc/#tag/BillingGroup/operation/BillingGroupDelete BillingGroupDelete(ctx context.Context, billingGroupId string) error @@ -39,46 +39,46 @@ type Handler interface { // Required roles or permissions: developer, operator, read_only BillingGroupEventList(ctx context.Context, billingGroupId string) ([]EventOut, error) - // BillingGroupGet get billing group details + // Deprecated: BillingGroupGet get billing group details // GET /v1/billing-group/{billing_group_id} // https://api.aiven.io/doc/#tag/BillingGroup/operation/BillingGroupGet // Required roles or permissions: developer, operator, read_only BillingGroupGet(ctx context.Context, billingGroupId string) (*BillingGroupGetOut, error) - // BillingGroupInvoiceLinesList get invoice lines for a single invoice + // Deprecated: BillingGroupInvoiceLinesList get invoice lines for a single invoice // GET /v1/billing-group/{billing_group_id}/invoice/{invoice_number}/lines // https://api.aiven.io/doc/#tag/BillingGroup/operation/BillingGroupInvoiceLinesList // Required roles or permissions: operator BillingGroupInvoiceLinesList(ctx context.Context, billingGroupId string, invoiceNumber string) ([]LineOut, error) - // BillingGroupInvoiceList get invoices generated for billing group + // Deprecated: BillingGroupInvoiceList get invoices generated for billing group // GET /v1/billing-group/{billing_group_id}/invoice // https://api.aiven.io/doc/#tag/BillingGroup/operation/BillingGroupInvoiceList // Required roles or permissions: developer, operator, read_only BillingGroupInvoiceList(ctx context.Context, billingGroupId string) ([]InvoiceOut, error) - // BillingGroupList list billing groups + // Deprecated: BillingGroupList list billing groups // GET /v1/billing-group // https://api.aiven.io/doc/#tag/BillingGroup/operation/BillingGroupList BillingGroupList(ctx context.Context) ([]BillingGroupOut, error) - // BillingGroupProjectAssign assign project to billing group + // Deprecated: BillingGroupProjectAssign assign project to billing group // POST /v1/billing-group/{billing_group_id}/project-assign/{project} // https://api.aiven.io/doc/#tag/BillingGroup/operation/BillingGroupProjectAssign BillingGroupProjectAssign(ctx context.Context, billingGroupId string, project string) error - // BillingGroupProjectList get projects assigned to billing group + // Deprecated: BillingGroupProjectList get projects assigned to billing group // GET /v1/billing-group/{billing_group_id}/projects // https://api.aiven.io/doc/#tag/BillingGroup/operation/BillingGroupProjectList // Required roles or permissions: developer, operator, read_only BillingGroupProjectList(ctx context.Context, billingGroupId string) ([]ProjectOut, error) - // BillingGroupProjectsAssign assign projects to billing group + // Deprecated: BillingGroupProjectsAssign assign projects to billing group // POST /v1/billing-group/{billing_group_id}/projects-assign // https://api.aiven.io/doc/#tag/BillingGroup/operation/BillingGroupProjectsAssign BillingGroupProjectsAssign(ctx context.Context, billingGroupId string, in *BillingGroupProjectsAssignIn) error - // BillingGroupUpdate update billing group + // Deprecated: BillingGroupUpdate update billing group // PUT /v1/billing-group/{billing_group_id} // https://api.aiven.io/doc/#tag/BillingGroup/operation/BillingGroupUpdate BillingGroupUpdate(ctx context.Context, billingGroupId string, in *BillingGroupUpdateIn) (*BillingGroupUpdateOut, error) diff --git a/handler/byoc/byoc.go b/handler/byoc/byoc.go index ad0db74..e47eb88 100644 --- a/handler/byoc/byoc.go +++ b/handler/byoc/byoc.go @@ -193,6 +193,7 @@ type CustomCloudEnvironmentCreateOut struct { AivenGoogleAccountPrincipal *string `json:"aiven_google_account_principal,omitempty"` // Google account identifier AivenManagementCidrBlocks []string `json:"aiven_management_cidr_blocks,omitempty"` // IP address ranges for incoming connections to the bastion host from the Aiven management plane AivenObjectStorageCredentialsCreatorUser *string `json:"aiven_object_storage_credentials_creator_user,omitempty"` // Google account identifier + AzureSubscriptionId *string `json:"azure_subscription_id,omitempty"` // UUID identifying the customer's Azure subscription where BYOC infrastructure is deployed. BucketNames map[string]any `json:"bucket_names,omitempty"` // Names and usages of buckets required for workloads ByocResourceTags map[string]any `json:"byoc_resource_tags,omitempty"` // Set of tags for the resources provisioned on the BYOC account ByocUniqueName *string `json:"byoc_unique_name,omitempty"` // Name for all the resources created for the custom cloud environment @@ -229,6 +230,7 @@ type CustomCloudEnvironmentGetOut struct { AivenGoogleAccountPrincipal *string `json:"aiven_google_account_principal,omitempty"` // Google account identifier AivenManagementCidrBlocks []string `json:"aiven_management_cidr_blocks,omitempty"` // IP address ranges for incoming connections to the bastion host from the Aiven management plane AivenObjectStorageCredentialsCreatorUser *string `json:"aiven_object_storage_credentials_creator_user,omitempty"` // Google account identifier + AzureSubscriptionId *string `json:"azure_subscription_id,omitempty"` // UUID identifying the customer's Azure subscription where BYOC infrastructure is deployed. BucketNames map[string]any `json:"bucket_names,omitempty"` // Names and usages of buckets required for workloads ByocResourceTags map[string]any `json:"byoc_resource_tags,omitempty"` // Set of tags for the resources provisioned on the BYOC account ByocUniqueName *string `json:"byoc_unique_name,omitempty"` // Name for all the resources created for the custom cloud environment @@ -268,6 +270,10 @@ type CustomCloudEnvironmentPermissionsSetIn struct { // CustomCloudEnvironmentProvisionIn CustomCloudEnvironmentProvisionRequestBody type CustomCloudEnvironmentProvisionIn struct { AWSIamRoleArn *string `json:"aws_iam_role_arn,omitempty"` // Amazon Resource Name + AzureClientId *string `json:"azure_client_id,omitempty"` // Application (client) ID of the operator service principal created by Terraform. + AzureClientSecret *string `json:"azure_client_secret,omitempty"` // Client secret of the operator service principal created by Terraform. + AzureSubscriptionId *string `json:"azure_subscription_id,omitempty"` // UUID identifying the customer's Azure subscription where BYOC infrastructure is deployed. + AzureTenantId *string `json:"azure_tenant_id,omitempty"` // Azure tenant id in UUID4 form GooglePrivilegeBearingServiceAccountId *string `json:"google_privilege_bearing_service_account_id,omitempty"` // Google account identifier OracleCompartmentId *string `json:"oracle_compartment_id,omitempty"` // Used to uniquely identify an asset in Oracle's cloud. May refer to a range of object types including instance, tenancy, subnet and more. } @@ -284,6 +290,7 @@ type CustomCloudEnvironmentProvisionOut struct { AivenGoogleAccountPrincipal *string `json:"aiven_google_account_principal,omitempty"` // Google account identifier AivenManagementCidrBlocks []string `json:"aiven_management_cidr_blocks,omitempty"` // IP address ranges for incoming connections to the bastion host from the Aiven management plane AivenObjectStorageCredentialsCreatorUser *string `json:"aiven_object_storage_credentials_creator_user,omitempty"` // Google account identifier + AzureSubscriptionId *string `json:"azure_subscription_id,omitempty"` // UUID identifying the customer's Azure subscription where BYOC infrastructure is deployed. BucketNames map[string]any `json:"bucket_names,omitempty"` // Names and usages of buckets required for workloads ByocResourceTags map[string]any `json:"byoc_resource_tags,omitempty"` // Set of tags for the resources provisioned on the BYOC account ByocUniqueName *string `json:"byoc_unique_name,omitempty"` // Name for all the resources created for the custom cloud environment @@ -352,6 +359,7 @@ type CustomCloudEnvironmentUpdateOut struct { AivenGoogleAccountPrincipal *string `json:"aiven_google_account_principal,omitempty"` // Google account identifier AivenManagementCidrBlocks []string `json:"aiven_management_cidr_blocks,omitempty"` // IP address ranges for incoming connections to the bastion host from the Aiven management plane AivenObjectStorageCredentialsCreatorUser *string `json:"aiven_object_storage_credentials_creator_user,omitempty"` // Google account identifier + AzureSubscriptionId *string `json:"azure_subscription_id,omitempty"` // UUID identifying the customer's Azure subscription where BYOC infrastructure is deployed. BucketNames map[string]any `json:"bucket_names,omitempty"` // Names and usages of buckets required for workloads ByocResourceTags map[string]any `json:"byoc_resource_tags,omitempty"` // Set of tags for the resources provisioned on the BYOC account ByocUniqueName *string `json:"byoc_unique_name,omitempty"` // Name for all the resources created for the custom cloud environment diff --git a/handler/kafkaschemaregistry/kafkaschemaregistry.go b/handler/kafkaschemaregistry/kafkaschemaregistry.go index 6b4f111..ea85b65 100644 --- a/handler/kafkaschemaregistry/kafkaschemaregistry.go +++ b/handler/kafkaschemaregistry/kafkaschemaregistry.go @@ -88,7 +88,7 @@ type Handler interface { // Required roles or permissions: service:data:write ServiceSchemaRegistrySubjectVersionPost(ctx context.Context, project string, serviceName string, subjectName string, in *ServiceSchemaRegistrySubjectVersionPostIn) (int, error) - // ServiceSchemaRegistrySubjectVersionSchemaGet get raw schema of a specific version in Schema Registry + // Deprecated: ServiceSchemaRegistrySubjectVersionSchemaGet get raw schema of a specific version in Schema Registry // GET /v1/project/{project}/service/{service_name}/kafka/schema/subjects/{subject_name}/versions/{version_id}/schema // https://api.aiven.io/doc/#tag/Service:_Kafka/operation/ServiceSchemaRegistrySubjectVersionSchemaGet // Required roles or permissions: service:data:write diff --git a/handler/project/project.go b/handler/project/project.go index bb5731d..25f47d2 100644 --- a/handler/project/project.go +++ b/handler/project/project.go @@ -28,7 +28,7 @@ type Handler interface { // https://api.aiven.io/doc/#tag/Project/operation/ProjectCreate ProjectCreate(ctx context.Context, in *ProjectCreateIn) (*ProjectCreateOut, error) - // ProjectDelete delete project + // Deprecated: ProjectDelete delete project // DELETE /v1/project/{project} // https://api.aiven.io/doc/#tag/Project/operation/ProjectDelete // Required roles or permissions: organization:projects:write @@ -40,7 +40,7 @@ type Handler interface { // Required roles or permissions: developer, operator, read_only ProjectGenerateSbomDownloadUrl(ctx context.Context, project string, fileFormat string) (string, error) - // ProjectGet get project details + // Deprecated: ProjectGet get project details // GET /v1/project/{project} // https://api.aiven.io/doc/#tag/Project/operation/ProjectGet // Required roles or permissions: project:services:read @@ -52,17 +52,17 @@ type Handler interface { // Required roles or permissions: project:audit_logs:read ProjectGetEventLogs(ctx context.Context, project string) ([]EventOut, error) - // ProjectInvite send project membership invitation + // Deprecated: ProjectInvite send project membership invitation // POST /v1/project/{project}/invite // https://api.aiven.io/doc/#tag/Project/operation/ProjectInvite ProjectInvite(ctx context.Context, project string, in *ProjectInviteIn) error - // ProjectInviteAccept confirm project invite + // Deprecated: ProjectInviteAccept confirm project invite // POST /v1/project/{project}/invite/{invite_verification_code} // https://api.aiven.io/doc/#tag/Project/operation/ProjectInviteAccept ProjectInviteAccept(ctx context.Context, project string, inviteVerificationCode string) (*ProjectInviteAcceptOut, error) - // ProjectInviteDelete delete an invitation to a project + // Deprecated: ProjectInviteDelete delete an invitation to a project // DELETE /v1/project/{project}/invite/{invited_email} // https://api.aiven.io/doc/#tag/Project/operation/ProjectInviteDelete ProjectInviteDelete(ctx context.Context, project string, invitedEmail string) error @@ -73,7 +73,7 @@ type Handler interface { // Required roles or permissions: organization:projects:write ProjectKmsGetCA(ctx context.Context, project string) (string, error) - // ProjectList list projects + // Deprecated: ProjectList list projects // GET /v1/project // https://api.aiven.io/doc/#tag/Project/operation/ProjectList ProjectList(ctx context.Context) (*ProjectListOut, error) @@ -130,24 +130,24 @@ type Handler interface { // https://api.aiven.io/doc/#tag/Project/operation/ProjectTagsUpdate ProjectTagsUpdate(ctx context.Context, project string, in *ProjectTagsUpdateIn) error - // ProjectUpdate update project + // Deprecated: ProjectUpdate update project // PUT /v1/project/{project} // https://api.aiven.io/doc/#tag/Project/operation/ProjectUpdate // Required roles or permissions: organization:projects:write ProjectUpdate(ctx context.Context, project string, in *ProjectUpdateIn) (*ProjectUpdateOut, error) - // ProjectUserList list users with access to the project. May contain same user multiple times if they belong to multiple teams associated to the project + // Deprecated: ProjectUserList list users with access to the project. May contain same user multiple times if they belong to multiple teams associated to the project // GET /v1/project/{project}/users // https://api.aiven.io/doc/#tag/Project/operation/ProjectUserList // Required roles or permissions: developer, operator, read_only ProjectUserList(ctx context.Context, project string) (*ProjectUserListOut, error) - // ProjectUserRemove remove user from the project + // Deprecated: ProjectUserRemove remove user from the project // DELETE /v1/project/{project}/user/{user_email} // https://api.aiven.io/doc/#tag/Project/operation/ProjectUserRemove ProjectUserRemove(ctx context.Context, project string, userEmail string) error - // ProjectUserUpdate update a project user + // Deprecated: ProjectUserUpdate update a project user // PUT /v1/project/{project}/user/{user_email} // https://api.aiven.io/doc/#tag/Project/operation/ProjectUserUpdate ProjectUserUpdate(ctx context.Context, project string, userEmail string, in *ProjectUserUpdateIn) error diff --git a/handler/projectbilling/projectbilling.go b/handler/projectbilling/projectbilling.go index 8c65ba7..624ea2f 100644 --- a/handler/projectbilling/projectbilling.go +++ b/handler/projectbilling/projectbilling.go @@ -11,24 +11,24 @@ import ( ) type Handler interface { - // InvoiceGet get a single invoice + // Deprecated: InvoiceGet get a single invoice // GET /v1/invoices/{invoice_number} // https://api.aiven.io/doc/#tag/Billing/operation/InvoiceGet InvoiceGet(ctx context.Context, invoiceNumber string) (*InvoiceGetOut, error) - // ProjectCreditsClaim claim a credit code + // Deprecated: ProjectCreditsClaim claim a credit code // POST /v1/project/{project}/credits // https://api.aiven.io/doc/#tag/Project_Billing/operation/ProjectCreditsClaim // Required roles or permissions: developer, operator ProjectCreditsClaim(ctx context.Context, project string) (*ProjectCreditsClaimOut, error) - // ProjectCreditsList list credits available to the project + // Deprecated: ProjectCreditsList list credits available to the project // GET /v1/project/{project}/credits // https://api.aiven.io/doc/#tag/Project_Billing/operation/ProjectCreditsList // Required roles or permissions: developer, operator, read_only ProjectCreditsList(ctx context.Context, project string) ([]CreditOut, error) - // ProjectInvoiceList list project invoices + // Deprecated: ProjectInvoiceList list project invoices // GET /v1/project/{project}/invoice // https://api.aiven.io/doc/#tag/Project_Billing/operation/ProjectInvoiceList // Required roles or permissions: developer, operator, read_only diff --git a/handler/user/user.go b/handler/user/user.go index fde5a10..bf2959b 100644 --- a/handler/user/user.go +++ b/handler/user/user.go @@ -61,12 +61,12 @@ type Handler interface { // https://api.aiven.io/doc/#tag/Users/operation/UserAccountDelete UserAccountDelete(ctx context.Context, userId string) error - // UserAccountInvitesAccept accept all invites for a single account + // Deprecated: UserAccountInvitesAccept accept all invites for a single account // POST /v1/me/account/invites/accept // https://api.aiven.io/doc/#tag/Users/operation/UserAccountInvitesAccept UserAccountInvitesAccept(ctx context.Context) ([]AccountInviteOut, error) - // UserAccountInvitesList list pending account invites + // Deprecated: UserAccountInvitesList list pending account invites // GET /v1/me/account/invites // https://api.aiven.io/doc/#tag/Users/operation/UserAccountInvitesList UserAccountInvitesList(ctx context.Context) ([]AccountInviteOut, error) @@ -91,7 +91,7 @@ type Handler interface { // https://api.aiven.io/doc/#tag/Users/operation/UserAuthenticationMethodsList UserAuthenticationMethodsList(ctx context.Context) ([]AuthenticationMethodOut, error) - // UserCreditCardsList list user's credit cards + // Deprecated: UserCreditCardsList list user's credit cards // GET /v1/card // https://api.aiven.io/doc/#tag/Payment/operation/UserCreditCardsList UserCreditCardsList(ctx context.Context) ([]CardOut, error)