* chore: sync repo * release: 0.1.0-alpha.6 --------- Co-authored-by: Hanzo Dev <[email protected]>
147 KiB
hanzoai
Response Types:
Methods:
Models
Response Types:
Methods:
client.Models.List(ctx context.Context, query hanzoai.ModelListParams) (*hanzoai.ModelListResponse, error)
OpenAI
Response Types:
- hanzoai.OpenAINewResponse
- hanzoai.OpenAIGetResponse
- hanzoai.OpenAIUpdateResponse
- hanzoai.OpenAIDeleteResponse
- hanzoai.OpenAIPatchResponse
Methods:
client.OpenAI.New(ctx context.Context, endpoint string) (*hanzoai.OpenAINewResponse, error)client.OpenAI.Get(ctx context.Context, endpoint string) (*hanzoai.OpenAIGetResponse, error)client.OpenAI.Update(ctx context.Context, endpoint string) (*hanzoai.OpenAIUpdateResponse, error)client.OpenAI.Delete(ctx context.Context, endpoint string) (*hanzoai.OpenAIDeleteResponse, error)client.OpenAI.Patch(ctx context.Context, endpoint string) (*hanzoai.OpenAIPatchResponse, error)
Deployments
Response Types:
Methods:
client.OpenAI.Deployments.Complete(ctx context.Context, model string) (*hanzoai.OpenAIDeploymentCompleteResponse, error)client.OpenAI.Deployments.Embed(ctx context.Context, model string) (*hanzoai.OpenAIDeploymentEmbedResponse, error)
Chat
Response Types:
Methods:
client.OpenAI.Deployments.Chat.Complete(ctx context.Context, model string) (*hanzoai.OpenAIDeploymentChatCompleteResponse, error)
Engines
Response Types:
Methods:
client.Engines.Complete(ctx context.Context, model string) (*hanzoai.EngineCompleteResponse, error)client.Engines.Embed(ctx context.Context, model string) (*hanzoai.EngineEmbedResponse, error)
Chat
Response Types:
Methods:
client.Engines.Chat.Complete(ctx context.Context, model string) (*hanzoai.EngineChatCompleteResponse, error)
Chat
Completions
Response Types:
Methods:
client.Chat.Completions.New(ctx context.Context, body hanzoai.ChatCompletionNewParams) (*hanzoai.ChatCompletionNewResponse, error)
Completions
Response Types:
Methods:
client.Completions.New(ctx context.Context, body hanzoai.CompletionNewParams) (*hanzoai.CompletionNewResponse, error)
Embeddings
Response Types:
Methods:
client.Embeddings.New(ctx context.Context, body hanzoai.EmbeddingNewParams) (*hanzoai.EmbeddingNewResponse, error)
Images
Generations
Response Types:
Methods:
Audio
Speech
Response Types:
Methods:
Transcriptions
Response Types:
Methods:
client.Audio.Transcriptions.New(ctx context.Context, body hanzoai.AudioTranscriptionNewParams) (*hanzoai.AudioTranscriptionNewResponse, error)
Assistants
Response Types:
Methods:
client.Assistants.New(ctx context.Context) (*hanzoai.AssistantNewResponse, error)client.Assistants.List(ctx context.Context) (*hanzoai.AssistantListResponse, error)client.Assistants.Delete(ctx context.Context, assistantID string) (*hanzoai.AssistantDeleteResponse, error)
Threads
Response Types:
Methods:
client.Threads.New(ctx context.Context) (*hanzoai.ThreadNewResponse, error)client.Threads.Get(ctx context.Context, threadID string) (*hanzoai.ThreadGetResponse, error)
Messages
Response Types:
Methods:
client.Threads.Messages.New(ctx context.Context, threadID string) (*hanzoai.ThreadMessageNewResponse, error)client.Threads.Messages.List(ctx context.Context, threadID string) (*hanzoai.ThreadMessageListResponse, error)
Runs
Response Types:
Methods:
client.Threads.Runs.New(ctx context.Context, threadID string) (*hanzoai.ThreadRunNewResponse, error)
Moderations
Response Types:
Methods:
Utils
Response Types:
- hanzoai.UtilGetSupportedOpenAIParamsResponse
- hanzoai.UtilTokenCounterResponse
- hanzoai.UtilTransformRequestResponse
Methods:
client.Utils.GetSupportedOpenAIParams(ctx context.Context, query hanzoai.UtilGetSupportedOpenAIParamsParams) (*hanzoai.UtilGetSupportedOpenAIParamsResponse, error)client.Utils.TokenCounter(ctx context.Context, body hanzoai.UtilTokenCounterParams) (*hanzoai.UtilTokenCounterResponse, error)client.Utils.TransformRequest(ctx context.Context, body hanzoai.UtilTransformRequestParams) (*hanzoai.UtilTransformRequestResponse, error)
Model
Params Types:
Response Types:
Methods:
client.Model.New(ctx context.Context, body hanzoai.ModelNewParams) (*hanzoai.ModelNewResponse, error)client.Model.Delete(ctx context.Context, body hanzoai.ModelDeleteParams) (*hanzoai.ModelDeleteResponse, error)
Info
Response Types:
Methods:
client.Model.Info.List(ctx context.Context, query hanzoai.ModelInfoListParams) (*hanzoai.ModelInfoListResponse, error)
Update
Params Types:
Response Types:
Methods:
client.Model.Update.Full(ctx context.Context, body hanzoai.ModelUpdateFullParams) (*hanzoai.ModelUpdateFullResponse, error)client.Model.Update.Partial(ctx context.Context, modelID string, body hanzoai.ModelUpdatePartialParams) (*hanzoai.ModelUpdatePartialResponse, error)
ModelGroup
Response Types:
Methods:
client.ModelGroup.GetInfo(ctx context.Context, query hanzoai.ModelGroupGetInfoParams) (*hanzoai.ModelGroupGetInfoResponse, error)
Routes
Response Types:
Methods:
Responses
Response Types:
Methods:
client.Responses.New(ctx context.Context) (*hanzoai.ResponseNewResponse, error)client.Responses.Get(ctx context.Context, responseID string) (*hanzoai.ResponseGetResponse, error)client.Responses.Delete(ctx context.Context, responseID string) (*hanzoai.ResponseDeleteResponse, error)
InputItems
Response Types:
Methods:
client.Responses.InputItems.List(ctx context.Context, responseID string) (*hanzoai.ResponseInputItemListResponse, error)
Batches
Response Types:
- hanzoai.BatchNewResponse
- hanzoai.BatchGetResponse
- hanzoai.BatchListResponse
- hanzoai.BatchCancelWithProviderResponse
- hanzoai.BatchNewWithProviderResponse
- hanzoai.BatchListWithProviderResponse
- hanzoai.BatchGetWithProviderResponse
Methods:
client.Batches.New(ctx context.Context, body hanzoai.BatchNewParams) (*hanzoai.BatchNewResponse, error)client.Batches.Get(ctx context.Context, batchID string, query hanzoai.BatchGetParams) (*hanzoai.BatchGetResponse, error)client.Batches.List(ctx context.Context, query hanzoai.BatchListParams) (*hanzoai.BatchListResponse, error)client.Batches.CancelWithProvider(ctx context.Context, provider string, batchID string) (*hanzoai.BatchCancelWithProviderResponse, error)client.Batches.NewWithProvider(ctx context.Context, provider string) (*hanzoai.BatchNewWithProviderResponse, error)client.Batches.ListWithProvider(ctx context.Context, provider string, query hanzoai.BatchListWithProviderParams) (*hanzoai.BatchListWithProviderResponse, error)client.Batches.GetWithProvider(ctx context.Context, provider string, batchID string) (*hanzoai.BatchGetWithProviderResponse, error)
Cancel
Response Types:
Methods:
client.Batches.Cancel.Cancel(ctx context.Context, batchID string, body hanzoai.BatchCancelCancelParams) (*hanzoai.BatchCancelCancelResponse, error)
Rerank
Response Types:
Methods:
client.Rerank.New(ctx context.Context) (*hanzoai.RerankNewResponse, error)client.Rerank.NewV1(ctx context.Context) (*hanzoai.RerankNewV1Response, error)client.Rerank.NewV2(ctx context.Context) (*hanzoai.RerankNewV2Response, error)
FineTuning
Jobs
Response Types:
Methods:
client.FineTuning.Jobs.New(ctx context.Context, body hanzoai.FineTuningJobNewParams) (*hanzoai.FineTuningJobNewResponse, error)client.FineTuning.Jobs.Get(ctx context.Context, fineTuningJobID string, query hanzoai.FineTuningJobGetParams) (*hanzoai.FineTuningJobGetResponse, error)client.FineTuning.Jobs.List(ctx context.Context, query hanzoai.FineTuningJobListParams) (*hanzoai.FineTuningJobListResponse, error)
Cancel
Response Types:
Methods:
client.FineTuning.Jobs.Cancel.New(ctx context.Context, fineTuningJobID string) (*hanzoai.FineTuningJobCancelNewResponse, error)
Credentials
Response Types:
Methods:
client.Credentials.New(ctx context.Context, body hanzoai.CredentialNewParams) (*hanzoai.CredentialNewResponse, error)client.Credentials.List(ctx context.Context) (*hanzoai.CredentialListResponse, error)client.Credentials.Delete(ctx context.Context, credentialName string) (*hanzoai.CredentialDeleteResponse, error)
VertexAI
Response Types:
- hanzoai.VertexAINewResponse
- hanzoai.VertexAIGetResponse
- hanzoai.VertexAIUpdateResponse
- hanzoai.VertexAIDeleteResponse
- hanzoai.VertexAIPatchResponse
Methods:
client.VertexAI.New(ctx context.Context, endpoint string) (*hanzoai.VertexAINewResponse, error)client.VertexAI.Get(ctx context.Context, endpoint string) (*hanzoai.VertexAIGetResponse, error)client.VertexAI.Update(ctx context.Context, endpoint string) (*hanzoai.VertexAIUpdateResponse, error)client.VertexAI.Delete(ctx context.Context, endpoint string) (*hanzoai.VertexAIDeleteResponse, error)client.VertexAI.Patch(ctx context.Context, endpoint string) (*hanzoai.VertexAIPatchResponse, error)
Gemini
Response Types:
- hanzoai.GeminiNewResponse
- hanzoai.GeminiGetResponse
- hanzoai.GeminiUpdateResponse
- hanzoai.GeminiDeleteResponse
- hanzoai.GeminiPatchResponse
Methods:
client.Gemini.New(ctx context.Context, endpoint string) (*hanzoai.GeminiNewResponse, error)client.Gemini.Get(ctx context.Context, endpoint string) (*hanzoai.GeminiGetResponse, error)client.Gemini.Update(ctx context.Context, endpoint string) (*hanzoai.GeminiUpdateResponse, error)client.Gemini.Delete(ctx context.Context, endpoint string) (*hanzoai.GeminiDeleteResponse, error)client.Gemini.Patch(ctx context.Context, endpoint string) (*hanzoai.GeminiPatchResponse, error)
Cohere
Response Types:
- hanzoai.CohereNewResponse
- hanzoai.CohereGetResponse
- hanzoai.CohereUpdateResponse
- hanzoai.CohereDeleteResponse
- hanzoai.CohereModifyResponse
Methods:
client.Cohere.New(ctx context.Context, endpoint string) (*hanzoai.CohereNewResponse, error)client.Cohere.Get(ctx context.Context, endpoint string) (*hanzoai.CohereGetResponse, error)client.Cohere.Update(ctx context.Context, endpoint string) (*hanzoai.CohereUpdateResponse, error)client.Cohere.Delete(ctx context.Context, endpoint string) (*hanzoai.CohereDeleteResponse, error)client.Cohere.Modify(ctx context.Context, endpoint string) (*hanzoai.CohereModifyResponse, error)
Anthropic
Response Types:
- hanzoai.AnthropicNewResponse
- hanzoai.AnthropicGetResponse
- hanzoai.AnthropicUpdateResponse
- hanzoai.AnthropicDeleteResponse
- hanzoai.AnthropicModifyResponse
Methods:
client.Anthropic.New(ctx context.Context, endpoint string) (*hanzoai.AnthropicNewResponse, error)client.Anthropic.Get(ctx context.Context, endpoint string) (*hanzoai.AnthropicGetResponse, error)client.Anthropic.Update(ctx context.Context, endpoint string) (*hanzoai.AnthropicUpdateResponse, error)client.Anthropic.Delete(ctx context.Context, endpoint string) (*hanzoai.AnthropicDeleteResponse, error)client.Anthropic.Modify(ctx context.Context, endpoint string) (*hanzoai.AnthropicModifyResponse, error)
Bedrock
Response Types:
- hanzoai.BedrockNewResponse
- hanzoai.BedrockGetResponse
- hanzoai.BedrockUpdateResponse
- hanzoai.BedrockDeleteResponse
- hanzoai.BedrockPatchResponse
Methods:
client.Bedrock.New(ctx context.Context, endpoint string) (*hanzoai.BedrockNewResponse, error)client.Bedrock.Get(ctx context.Context, endpoint string) (*hanzoai.BedrockGetResponse, error)client.Bedrock.Update(ctx context.Context, endpoint string) (*hanzoai.BedrockUpdateResponse, error)client.Bedrock.Delete(ctx context.Context, endpoint string) (*hanzoai.BedrockDeleteResponse, error)client.Bedrock.Patch(ctx context.Context, endpoint string) (*hanzoai.BedrockPatchResponse, error)
EuAssemblyai
Response Types:
- hanzoai.EuAssemblyaiNewResponse
- hanzoai.EuAssemblyaiGetResponse
- hanzoai.EuAssemblyaiUpdateResponse
- hanzoai.EuAssemblyaiDeleteResponse
- hanzoai.EuAssemblyaiPatchResponse
Methods:
client.EuAssemblyai.New(ctx context.Context, endpoint string) (*hanzoai.EuAssemblyaiNewResponse, error)client.EuAssemblyai.Get(ctx context.Context, endpoint string) (*hanzoai.EuAssemblyaiGetResponse, error)client.EuAssemblyai.Update(ctx context.Context, endpoint string) (*hanzoai.EuAssemblyaiUpdateResponse, error)client.EuAssemblyai.Delete(ctx context.Context, endpoint string) (*hanzoai.EuAssemblyaiDeleteResponse, error)client.EuAssemblyai.Patch(ctx context.Context, endpoint string) (*hanzoai.EuAssemblyaiPatchResponse, error)
Assemblyai
Response Types:
- hanzoai.AssemblyaiNewResponse
- hanzoai.AssemblyaiGetResponse
- hanzoai.AssemblyaiUpdateResponse
- hanzoai.AssemblyaiDeleteResponse
- hanzoai.AssemblyaiPatchResponse
Methods:
client.Assemblyai.New(ctx context.Context, endpoint string) (*hanzoai.AssemblyaiNewResponse, error)client.Assemblyai.Get(ctx context.Context, endpoint string) (*hanzoai.AssemblyaiGetResponse, error)client.Assemblyai.Update(ctx context.Context, endpoint string) (*hanzoai.AssemblyaiUpdateResponse, error)client.Assemblyai.Delete(ctx context.Context, endpoint string) (*hanzoai.AssemblyaiDeleteResponse, error)client.Assemblyai.Patch(ctx context.Context, endpoint string) (*hanzoai.AssemblyaiPatchResponse, error)
Azure
Response Types:
- hanzoai.AzureNewResponse
- hanzoai.AzureUpdateResponse
- hanzoai.AzureDeleteResponse
- hanzoai.AzureCallResponse
- hanzoai.AzurePatchResponse
Methods:
client.Azure.New(ctx context.Context, endpoint string) (*hanzoai.AzureNewResponse, error)client.Azure.Update(ctx context.Context, endpoint string) (*hanzoai.AzureUpdateResponse, error)client.Azure.Delete(ctx context.Context, endpoint string) (*hanzoai.AzureDeleteResponse, error)client.Azure.Call(ctx context.Context, endpoint string) (*hanzoai.AzureCallResponse, error)client.Azure.Patch(ctx context.Context, endpoint string) (*hanzoai.AzurePatchResponse, error)
Langfuse
Response Types:
- hanzoai.LangfuseNewResponse
- hanzoai.LangfuseGetResponse
- hanzoai.LangfuseUpdateResponse
- hanzoai.LangfuseDeleteResponse
- hanzoai.LangfusePatchResponse
Methods:
client.Langfuse.New(ctx context.Context, endpoint string) (*hanzoai.LangfuseNewResponse, error)client.Langfuse.Get(ctx context.Context, endpoint string) (*hanzoai.LangfuseGetResponse, error)client.Langfuse.Update(ctx context.Context, endpoint string) (*hanzoai.LangfuseUpdateResponse, error)client.Langfuse.Delete(ctx context.Context, endpoint string) (*hanzoai.LangfuseDeleteResponse, error)client.Langfuse.Patch(ctx context.Context, endpoint string) (*hanzoai.LangfusePatchResponse, error)
Config
PassThroughEndpoint
Params Types:
Response Types:
- hanzoai.PassThroughEndpointResponse
- hanzoai.PassThroughGenericEndpoint
- hanzoai.ConfigPassThroughEndpointNewResponse
- hanzoai.ConfigPassThroughEndpointUpdateResponse
Methods:
client.Config.PassThroughEndpoint.New(ctx context.Context, body hanzoai.ConfigPassThroughEndpointNewParams) (*hanzoai.ConfigPassThroughEndpointNewResponse, error)client.Config.PassThroughEndpoint.Update(ctx context.Context, endpointID string) (*hanzoai.ConfigPassThroughEndpointUpdateResponse, error)client.Config.PassThroughEndpoint.List(ctx context.Context, query hanzoai.ConfigPassThroughEndpointListParams) (*hanzoai.PassThroughEndpointResponse, error)client.Config.PassThroughEndpoint.Delete(ctx context.Context, body hanzoai.ConfigPassThroughEndpointDeleteParams) (*hanzoai.PassThroughEndpointResponse, error)
Test
Response Types:
Methods:
Health
Response Types:
- hanzoai.HealthCheckAllResponse
- hanzoai.HealthCheckLivelinessResponse
- hanzoai.HealthCheckLivenessResponse
- hanzoai.HealthCheckReadinessResponse
- hanzoai.HealthCheckServicesResponse
Methods:
client.Health.CheckAll(ctx context.Context, query hanzoai.HealthCheckAllParams) (*hanzoai.HealthCheckAllResponse, error)client.Health.CheckLiveliness(ctx context.Context) (*hanzoai.HealthCheckLivelinessResponse, error)client.Health.CheckLiveness(ctx context.Context) (*hanzoai.HealthCheckLivenessResponse, error)client.Health.CheckReadiness(ctx context.Context) (*hanzoai.HealthCheckReadinessResponse, error)client.Health.CheckServices(ctx context.Context, query hanzoai.HealthCheckServicesParams) (*hanzoai.HealthCheckServicesResponse, error)
Active
Response Types:
Methods:
client.Active.ListCallbacks(ctx context.Context) (*hanzoai.ActiveListCallbacksResponse, error)
Settings
Response Types:
Methods:
Key
Params Types:
Response Types:
- hanzoai.GenerateKeyResponse
- hanzoai.KeyUpdateResponse
- hanzoai.KeyListResponse
- hanzoai.KeyDeleteResponse
- hanzoai.KeyBlockResponse
- hanzoai.KeyCheckHealthResponse
- hanzoai.KeyGetInfoResponse
- hanzoai.KeyUnblockResponse
Methods:
client.Key.Update(ctx context.Context, params hanzoai.KeyUpdateParams) (*hanzoai.KeyUpdateResponse, error)client.Key.List(ctx context.Context, query hanzoai.KeyListParams) (*hanzoai.KeyListResponse, error)client.Key.Delete(ctx context.Context, params hanzoai.KeyDeleteParams) (*hanzoai.KeyDeleteResponse, error)client.Key.Block(ctx context.Context, params hanzoai.KeyBlockParams) (*hanzoai.KeyBlockResponse, error)client.Key.CheckHealth(ctx context.Context) (*hanzoai.KeyCheckHealthResponse, error)client.Key.Generate(ctx context.Context, params hanzoai.KeyGenerateParams) (*hanzoai.GenerateKeyResponse, error)client.Key.RegenerateByKey(ctx context.Context, key string, params hanzoai.KeyRegenerateByKeyParams) (*hanzoai.GenerateKeyResponse, error)client.Key.GetInfo(ctx context.Context, query hanzoai.KeyGetInfoParams) (*hanzoai.KeyGetInfoResponse, error)client.Key.Unblock(ctx context.Context, params hanzoai.KeyUnblockParams) (*hanzoai.KeyUnblockResponse, error)
Regenerate
Params Types:
User
Response Types:
- hanzoai.UserNewResponse
- hanzoai.UserUpdateResponse
- hanzoai.UserListResponse
- hanzoai.UserDeleteResponse
- hanzoai.UserGetInfoResponse
Methods:
client.User.New(ctx context.Context, body hanzoai.UserNewParams) (*hanzoai.UserNewResponse, error)client.User.Update(ctx context.Context, body hanzoai.UserUpdateParams) (*hanzoai.UserUpdateResponse, error)client.User.List(ctx context.Context, query hanzoai.UserListParams) (*hanzoai.UserListResponse, error)client.User.Delete(ctx context.Context, params hanzoai.UserDeleteParams) (*hanzoai.UserDeleteResponse, error)client.User.GetInfo(ctx context.Context, query hanzoai.UserGetInfoParams) (*hanzoai.UserGetInfoResponse, error)
Team
Params Types:
Response Types:
- hanzoai.Member
- hanzoai.TeamNewResponse
- hanzoai.TeamUpdateResponse
- hanzoai.TeamListResponse
- hanzoai.TeamDeleteResponse
- hanzoai.TeamAddMemberResponse
- hanzoai.TeamBlockResponse
- hanzoai.TeamDisableLoggingResponse
- hanzoai.TeamListAvailableResponse
- hanzoai.TeamRemoveMemberResponse
- hanzoai.TeamGetInfoResponse
- hanzoai.TeamUnblockResponse
- hanzoai.TeamUpdateMemberResponse
Methods:
client.Team.New(ctx context.Context, params hanzoai.TeamNewParams) (*hanzoai.TeamNewResponse, error)client.Team.Update(ctx context.Context, params hanzoai.TeamUpdateParams) (*hanzoai.TeamUpdateResponse, error)client.Team.List(ctx context.Context, query hanzoai.TeamListParams) (*hanzoai.TeamListResponse, error)client.Team.Delete(ctx context.Context, params hanzoai.TeamDeleteParams) (*hanzoai.TeamDeleteResponse, error)client.Team.AddMember(ctx context.Context, body hanzoai.TeamAddMemberParams) (*hanzoai.TeamAddMemberResponse, error)client.Team.Block(ctx context.Context, body hanzoai.TeamBlockParams) (*hanzoai.TeamBlockResponse, error)client.Team.DisableLogging(ctx context.Context, teamID string) (*hanzoai.TeamDisableLoggingResponse, error)client.Team.ListAvailable(ctx context.Context, query hanzoai.TeamListAvailableParams) (*hanzoai.TeamListAvailableResponse, error)client.Team.RemoveMember(ctx context.Context, body hanzoai.TeamRemoveMemberParams) (*hanzoai.TeamRemoveMemberResponse, error)client.Team.GetInfo(ctx context.Context, query hanzoai.TeamGetInfoParams) (*hanzoai.TeamGetInfoResponse, error)client.Team.Unblock(ctx context.Context, body hanzoai.TeamUnblockParams) (*hanzoai.TeamUnblockResponse, error)client.Team.UpdateMember(ctx context.Context, body hanzoai.TeamUpdateMemberParams) (*hanzoai.TeamUpdateMemberResponse, error)
Model
Response Types:
Methods:
client.Team.Model.Add(ctx context.Context, body hanzoai.TeamModelAddParams) (*hanzoai.TeamModelAddResponse, error)client.Team.Model.Remove(ctx context.Context, body hanzoai.TeamModelRemoveParams) (*hanzoai.TeamModelRemoveResponse, error)
Callback
Response Types:
Methods:
client.Team.Callback.Get(ctx context.Context, teamID string) (*hanzoai.TeamCallbackGetResponse, error)client.Team.Callback.Add(ctx context.Context, teamID string, params hanzoai.TeamCallbackAddParams) (*hanzoai.TeamCallbackAddResponse, error)
Organization
Params Types:
Response Types:
- hanzoai.OrganizationNewResponse
- hanzoai.OrganizationUpdateResponse
- hanzoai.OrganizationListResponse
- hanzoai.OrganizationDeleteResponse
- hanzoai.OrganizationAddMemberResponse
- hanzoai.OrganizationDeleteMemberResponse
- hanzoai.OrganizationUpdateMemberResponse
Methods:
client.Organization.New(ctx context.Context, body hanzoai.OrganizationNewParams) (*hanzoai.OrganizationNewResponse, error)client.Organization.Update(ctx context.Context, body hanzoai.OrganizationUpdateParams) (*hanzoai.OrganizationUpdateResponse, error)client.Organization.List(ctx context.Context) (*[]hanzoai.OrganizationListResponse, error)client.Organization.Delete(ctx context.Context, body hanzoai.OrganizationDeleteParams) (*[]hanzoai.OrganizationDeleteResponse, error)client.Organization.AddMember(ctx context.Context, body hanzoai.OrganizationAddMemberParams) (*hanzoai.OrganizationAddMemberResponse, error)client.Organization.DeleteMember(ctx context.Context, body hanzoai.OrganizationDeleteMemberParams) (*hanzoai.OrganizationDeleteMemberResponse, error)client.Organization.UpdateMember(ctx context.Context, body hanzoai.OrganizationUpdateMemberParams) (*hanzoai.OrganizationUpdateMemberResponse, error)
Info
Response Types:
Methods:
client.Organization.Info.Get(ctx context.Context, query hanzoai.OrganizationInfoGetParams) (*hanzoai.OrganizationInfoGetResponse, error)client.Organization.Info.Deprecated(ctx context.Context, body hanzoai.OrganizationInfoDeprecatedParams) (*hanzoai.OrganizationInfoDeprecatedResponse, error)
Customer
Params Types:
Response Types:
- hanzoai.CustomerNewResponse
- hanzoai.CustomerUpdateResponse
- hanzoai.CustomerListResponse
- hanzoai.CustomerDeleteResponse
- hanzoai.CustomerBlockResponse
- hanzoai.CustomerGetInfoResponse
- hanzoai.CustomerUnblockResponse
Methods:
client.Customer.New(ctx context.Context, body hanzoai.CustomerNewParams) (*hanzoai.CustomerNewResponse, error)client.Customer.Update(ctx context.Context, body hanzoai.CustomerUpdateParams) (*hanzoai.CustomerUpdateResponse, error)client.Customer.List(ctx context.Context) (*[]hanzoai.CustomerListResponse, error)client.Customer.Delete(ctx context.Context, body hanzoai.CustomerDeleteParams) (*hanzoai.CustomerDeleteResponse, error)client.Customer.Block(ctx context.Context, body hanzoai.CustomerBlockParams) (*hanzoai.CustomerBlockResponse, error)client.Customer.GetInfo(ctx context.Context, query hanzoai.CustomerGetInfoParams) (*hanzoai.CustomerGetInfoResponse, error)client.Customer.Unblock(ctx context.Context, body hanzoai.CustomerUnblockParams) (*hanzoai.CustomerUnblockResponse, error)
Spend
Response Types:
Methods:
client.Spend.CalculateSpend(ctx context.Context, body hanzoai.SpendCalculateSpendParams) (*hanzoai.SpendCalculateSpendResponse, error)client.Spend.ListLogs(ctx context.Context, query hanzoai.SpendListLogsParams) (*[]hanzoai.SpendListLogsResponse, error)client.Spend.ListTags(ctx context.Context, query hanzoai.SpendListTagsParams) (*[]hanzoai.SpendListTagsResponse, error)
Global
Spend
Response Types:
- hanzoai.GlobalSpendListTagsResponse
- hanzoai.GlobalSpendResetResponse
- hanzoai.GlobalSpendGetReportResponse
Methods:
client.Global.Spend.ListTags(ctx context.Context, query hanzoai.GlobalSpendListTagsParams) (*[]hanzoai.GlobalSpendListTagsResponse, error)client.Global.Spend.Reset(ctx context.Context) (*hanzoai.GlobalSpendResetResponse, error)client.Global.Spend.GetReport(ctx context.Context, query hanzoai.GlobalSpendGetReportParams) (*[]hanzoai.GlobalSpendGetReportResponse, error)
Provider
Response Types:
Methods:
client.Provider.ListBudgets(ctx context.Context) (*hanzoai.ProviderListBudgetsResponse, error)
Cache
Response Types:
Methods:
client.Cache.Delete(ctx context.Context) (*hanzoai.CacheDeleteResponse, error)client.Cache.FlushAll(ctx context.Context) (*hanzoai.CacheFlushAllResponse, error)client.Cache.Ping(ctx context.Context) (*hanzoai.CachePingResponse, error)
Redis
Response Types:
Methods:
Guardrails
Response Types:
Methods:
Add
Params Types:
Response Types:
Methods:
client.Add.AddAllowedIP(ctx context.Context, body hanzoai.AddAddAllowedIPParams) (*hanzoai.AddAddAllowedIPResponse, error)
Delete
Response Types:
Methods:
client.Delete.NewAllowedIP(ctx context.Context, body hanzoai.DeleteNewAllowedIPParams) (*hanzoai.DeleteNewAllowedIPResponse, error)
Files
Response Types:
Methods:
client.Files.New(ctx context.Context, provider string, body hanzoai.FileNewParams) (*hanzoai.FileNewResponse, error)client.Files.Get(ctx context.Context, provider string, fileID string) (*hanzoai.FileGetResponse, error)client.Files.List(ctx context.Context, provider string, query hanzoai.FileListParams) (*hanzoai.FileListResponse, error)client.Files.Delete(ctx context.Context, provider string, fileID string) (*hanzoai.FileDeleteResponse, error)
Content
Response Types:
Methods:
client.Files.Content.Get(ctx context.Context, provider string, fileID string) (*hanzoai.FileContentGetResponse, error)
Budget
Params Types:
Response Types:
- hanzoai.BudgetNewResponse
- hanzoai.BudgetUpdateResponse
- hanzoai.BudgetListResponse
- hanzoai.BudgetDeleteResponse
- hanzoai.BudgetInfoResponse
- hanzoai.BudgetSettingsResponse
Methods:
client.Budget.New(ctx context.Context, body hanzoai.BudgetNewParams) (*hanzoai.BudgetNewResponse, error)client.Budget.Update(ctx context.Context, body hanzoai.BudgetUpdateParams) (*hanzoai.BudgetUpdateResponse, error)client.Budget.List(ctx context.Context) (*hanzoai.BudgetListResponse, error)client.Budget.Delete(ctx context.Context, body hanzoai.BudgetDeleteParams) (*hanzoai.BudgetDeleteResponse, error)client.Budget.Info(ctx context.Context, body hanzoai.BudgetInfoParams) (*hanzoai.BudgetInfoResponse, error)client.Budget.Settings(ctx context.Context, query hanzoai.BudgetSettingsParams) (*hanzoai.BudgetSettingsResponse, error)