Skip to content

Commit

Permalink
Go: apikeys re-exports (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
assafad1 authored Nov 27, 2024
1 parent 9558d9f commit ab411df
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions go/apikeys-client.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ import (
// CreateAPIKeyRequest is a request to create an API key.
type CreateAPIKeyRequest = apikeys.CreateApiKeyRequest

// CreateAPIKeyResponse is a response to the API keys request.
type CreateAPIKeyResponse = apikeys.CreateApiKeyResponse

// GetAPIKeyRequest is a request to get an API key.
type GetAPIKeyRequest = apikeys.GetApiKeyRequest

Expand All @@ -32,9 +35,15 @@ type GetAPIKeyResponse = apikeys.GetApiKeyResponse
// UpdateAPIKeyRequest is a request to update an API key.
type UpdateAPIKeyRequest = apikeys.UpdateApiKeyRequest

// UpdateAPIKeyResponse is a response to the API keys request.
type UpdateAPIKeyResponse = apikeys.UpdateApiKeyResponse

// DeleteAPIKeyRequest is a request to delete an API key.
type DeleteAPIKeyRequest = apikeys.DeleteApiKeyRequest

// DeleteAPIKeyResponse is a response to the API keys request.
type DeleteAPIKeyResponse = apikeys.DeleteApiKeyResponse

// APIKeyPermissions is a set of permissions for an API key.
type APIKeyPermissions = apikeys.CreateApiKeyRequest_KeyPermissions

Expand Down

0 comments on commit ab411df

Please sign in to comment.