api

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2026 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package api provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var OAuthGated = map[string]bool{
	"createRole":          true,
	"createSavedView":     true,
	"deleteRole":          true,
	"deleteSavedView":     true,
	"generateSecret":      true,
	"getCurrentUser":      true,
	"getOrg":              true,
	"grantRole":           true,
	"grantWorkspaceRole":  true,
	"joinOrg":             true,
	"listAuditLogs":       true,
	"listDomainClaims":    true,
	"listMembers":         true,
	"listRoles":           true,
	"listSavedViews":      true,
	"registerUser":        true,
	"releaseDomainClaim":  true,
	"removeMember":        true,
	"requestDomainClaim":  true,
	"revokeRole":          true,
	"revokeWorkspaceRole": true,
	"setOrgLimits":        true,
	"updateOrg":           true,
	"updateSavedView":     true,
}

OAuthGated reports, by operationId, which operations carry the spec's x-dbos-requires-oauth extension and therefore do not exist in a no-auth (auth: none) deployment. The CLI consults it to fail such a command before the request with a mode-aware message rather than on a raw 404.

Functions

func NewBackfillScheduleRequest

func NewBackfillScheduleRequest(server string, orgName string, appName string, scheduleName string, body BackfillScheduleJSONRequestBody) (*http.Request, error)

NewBackfillScheduleRequest calls the generic BackfillSchedule builder with application/json body

func NewBackfillScheduleRequestWithBody

func NewBackfillScheduleRequestWithBody(server string, orgName string, appName string, scheduleName string, contentType string, body io.Reader) (*http.Request, error)

NewBackfillScheduleRequestWithBody constructs an http.Request for the BackfillSchedule method, with any body, and a specified content type

func NewBulkCancelWorkflowsRequest

func NewBulkCancelWorkflowsRequest(server string, orgName string, appName string, body BulkCancelWorkflowsJSONRequestBody) (*http.Request, error)

NewBulkCancelWorkflowsRequest calls the generic BulkCancelWorkflows builder with application/json body

func NewBulkCancelWorkflowsRequestWithBody

func NewBulkCancelWorkflowsRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)

NewBulkCancelWorkflowsRequestWithBody constructs an http.Request for the BulkCancelWorkflows method, with any body, and a specified content type

func NewBulkDeleteWorkflowsRequest

func NewBulkDeleteWorkflowsRequest(server string, orgName string, appName string, body BulkDeleteWorkflowsJSONRequestBody) (*http.Request, error)

NewBulkDeleteWorkflowsRequest calls the generic BulkDeleteWorkflows builder with application/json body

func NewBulkDeleteWorkflowsRequestWithBody

func NewBulkDeleteWorkflowsRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)

NewBulkDeleteWorkflowsRequestWithBody constructs an http.Request for the BulkDeleteWorkflows method, with any body, and a specified content type

func NewBulkForkWorkflowsFromFailureRequest

func NewBulkForkWorkflowsFromFailureRequest(server string, orgName string, appName string, body BulkForkWorkflowsFromFailureJSONRequestBody) (*http.Request, error)

NewBulkForkWorkflowsFromFailureRequest calls the generic BulkForkWorkflowsFromFailure builder with application/json body

func NewBulkForkWorkflowsFromFailureRequestWithBody

func NewBulkForkWorkflowsFromFailureRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)

NewBulkForkWorkflowsFromFailureRequestWithBody constructs an http.Request for the BulkForkWorkflowsFromFailure method, with any body, and a specified content type

func NewBulkResumeWorkflowsRequest

func NewBulkResumeWorkflowsRequest(server string, orgName string, appName string, body BulkResumeWorkflowsJSONRequestBody) (*http.Request, error)

NewBulkResumeWorkflowsRequest calls the generic BulkResumeWorkflows builder with application/json body

func NewBulkResumeWorkflowsRequestWithBody

func NewBulkResumeWorkflowsRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)

NewBulkResumeWorkflowsRequestWithBody constructs an http.Request for the BulkResumeWorkflows method, with any body, and a specified content type

func NewCancelWorkflowRequest

func NewCancelWorkflowRequest(server string, orgName string, appName string, workflowId string, body CancelWorkflowJSONRequestBody) (*http.Request, error)

NewCancelWorkflowRequest calls the generic CancelWorkflow builder with application/json body

func NewCancelWorkflowRequestWithBody

func NewCancelWorkflowRequestWithBody(server string, orgName string, appName string, workflowId string, contentType string, body io.Reader) (*http.Request, error)

NewCancelWorkflowRequestWithBody constructs an http.Request for the CancelWorkflow method, with any body, and a specified content type

func NewCreateAlertingRuleRequest

func NewCreateAlertingRuleRequest(server string, orgName string, appName string, body CreateAlertingRuleJSONRequestBody) (*http.Request, error)

NewCreateAlertingRuleRequest calls the generic CreateAlertingRule builder with application/json body

func NewCreateAlertingRuleRequestWithBody

func NewCreateAlertingRuleRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)

NewCreateAlertingRuleRequestWithBody constructs an http.Request for the CreateAlertingRule method, with any body, and a specified content type

func NewCreateRoleRequest

func NewCreateRoleRequest(server string, orgName string, body CreateRoleJSONRequestBody) (*http.Request, error)

NewCreateRoleRequest calls the generic CreateRole builder with application/json body

func NewCreateRoleRequestWithBody

func NewCreateRoleRequestWithBody(server string, orgName string, contentType string, body io.Reader) (*http.Request, error)

NewCreateRoleRequestWithBody constructs an http.Request for the CreateRole method, with any body, and a specified content type

func NewCreateSavedViewRequest added in v0.14.0

func NewCreateSavedViewRequest(server string, orgName string, appName string, body CreateSavedViewJSONRequestBody) (*http.Request, error)

NewCreateSavedViewRequest calls the generic CreateSavedView builder with application/json body

func NewCreateSavedViewRequestWithBody added in v0.14.0

func NewCreateSavedViewRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)

NewCreateSavedViewRequestWithBody constructs an http.Request for the CreateSavedView method, with any body, and a specified content type

func NewCreateTokenRequest

func NewCreateTokenRequest(server string, orgName string, tokenName string, body CreateTokenJSONRequestBody) (*http.Request, error)

NewCreateTokenRequest calls the generic CreateToken builder with application/json body

func NewCreateTokenRequestWithBody

func NewCreateTokenRequestWithBody(server string, orgName string, tokenName string, contentType string, body io.Reader) (*http.Request, error)

NewCreateTokenRequestWithBody constructs an http.Request for the CreateToken method, with any body, and a specified content type

func NewCreateWorkspaceRequest added in v0.14.0

func NewCreateWorkspaceRequest(server string, orgName string, body CreateWorkspaceJSONRequestBody) (*http.Request, error)

NewCreateWorkspaceRequest calls the generic CreateWorkspace builder with application/json body

func NewCreateWorkspaceRequestWithBody added in v0.14.0

func NewCreateWorkspaceRequestWithBody(server string, orgName string, contentType string, body io.Reader) (*http.Request, error)

NewCreateWorkspaceRequestWithBody constructs an http.Request for the CreateWorkspace method, with any body, and a specified content type

func NewDeleteAlertingRuleRequest

func NewDeleteAlertingRuleRequest(server string, orgName string, appName string, ruleId string) (*http.Request, error)

NewDeleteAlertingRuleRequest constructs an http.Request for the DeleteAlertingRule method

func NewDeleteAppRequest

func NewDeleteAppRequest(server string, orgName string, appName string) (*http.Request, error)

NewDeleteAppRequest constructs an http.Request for the DeleteApp method

func NewDeleteAutoscalingPolicyRequest

func NewDeleteAutoscalingPolicyRequest(server string, orgName string, appName string) (*http.Request, error)

NewDeleteAutoscalingPolicyRequest constructs an http.Request for the DeleteAutoscalingPolicy method

func NewDeleteRoleRequest

func NewDeleteRoleRequest(server string, orgName string, roleName string) (*http.Request, error)

NewDeleteRoleRequest constructs an http.Request for the DeleteRole method

func NewDeleteSavedViewRequest added in v0.14.0

func NewDeleteSavedViewRequest(server string, orgName string, appName string, savedViewId string) (*http.Request, error)

NewDeleteSavedViewRequest constructs an http.Request for the DeleteSavedView method

func NewDeleteTokenRequest

func NewDeleteTokenRequest(server string, orgName string, tokenName string) (*http.Request, error)

NewDeleteTokenRequest constructs an http.Request for the DeleteToken method

func NewDeleteWorkflowRequest

func NewDeleteWorkflowRequest(server string, orgName string, appName string, workflowId string, params *DeleteWorkflowParams) (*http.Request, error)

NewDeleteWorkflowRequest constructs an http.Request for the DeleteWorkflow method

func NewDeleteWorkspaceRequest added in v0.14.0

func NewDeleteWorkspaceRequest(server string, orgName string, workspaceName string) (*http.Request, error)

NewDeleteWorkspaceRequest constructs an http.Request for the DeleteWorkspace method

func NewExportWorkflowRequest

func NewExportWorkflowRequest(server string, orgName string, appName string, workflowId string, params *ExportWorkflowParams) (*http.Request, error)

NewExportWorkflowRequest constructs an http.Request for the ExportWorkflow method

func NewForkWorkflowRequest

func NewForkWorkflowRequest(server string, orgName string, appName string, workflowId string, body ForkWorkflowJSONRequestBody) (*http.Request, error)

NewForkWorkflowRequest calls the generic ForkWorkflow builder with application/json body

func NewForkWorkflowRequestWithBody

func NewForkWorkflowRequestWithBody(server string, orgName string, appName string, workflowId string, contentType string, body io.Reader) (*http.Request, error)

NewForkWorkflowRequestWithBody constructs an http.Request for the ForkWorkflow method, with any body, and a specified content type

func NewGenerateSecretRequest

func NewGenerateSecretRequest(server string, orgName string) (*http.Request, error)

NewGenerateSecretRequest constructs an http.Request for the GenerateSecret method

func NewGetAppRequest

func NewGetAppRequest(server string, orgName string, appName string) (*http.Request, error)

NewGetAppRequest constructs an http.Request for the GetApp method

func NewGetAutoscaleRequest

func NewGetAutoscaleRequest(server string, orgName string, appName string) (*http.Request, error)

NewGetAutoscaleRequest constructs an http.Request for the GetAutoscale method

func NewGetAutoscaleVersionRequest added in v0.11.0

func NewGetAutoscaleVersionRequest(server string, orgName string, appName string, version string) (*http.Request, error)

NewGetAutoscaleVersionRequest constructs an http.Request for the GetAutoscaleVersion method

func NewGetAutoscalingPolicyRequest

func NewGetAutoscalingPolicyRequest(server string, orgName string, appName string) (*http.Request, error)

NewGetAutoscalingPolicyRequest constructs an http.Request for the GetAutoscalingPolicy method

func NewGetCurrentUserRequest

func NewGetCurrentUserRequest(server string) (*http.Request, error)

NewGetCurrentUserRequest constructs an http.Request for the GetCurrentUser method

func NewGetEntitlementsRequest added in v0.13.0

func NewGetEntitlementsRequest(server string) (*http.Request, error)

NewGetEntitlementsRequest constructs an http.Request for the GetEntitlements method

func NewGetOrgRequest

func NewGetOrgRequest(server string, orgName string) (*http.Request, error)

NewGetOrgRequest constructs an http.Request for the GetOrg method

func NewGetQueueRequest

func NewGetQueueRequest(server string, orgName string, appName string, queueName string) (*http.Request, error)

NewGetQueueRequest constructs an http.Request for the GetQueue method

func NewGetScheduleRequest

func NewGetScheduleRequest(server string, orgName string, appName string, scheduleName string) (*http.Request, error)

NewGetScheduleRequest constructs an http.Request for the GetSchedule method

func NewGetStepAggregatesRequest

func NewGetStepAggregatesRequest(server string, orgName string, appName string, body GetStepAggregatesJSONRequestBody) (*http.Request, error)

NewGetStepAggregatesRequest calls the generic GetStepAggregates builder with application/json body

func NewGetStepAggregatesRequestWithBody

func NewGetStepAggregatesRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)

NewGetStepAggregatesRequestWithBody constructs an http.Request for the GetStepAggregates method, with any body, and a specified content type

func NewGetWorkflowAggregatesRequest

func NewGetWorkflowAggregatesRequest(server string, orgName string, appName string, body GetWorkflowAggregatesJSONRequestBody) (*http.Request, error)

NewGetWorkflowAggregatesRequest calls the generic GetWorkflowAggregates builder with application/json body

func NewGetWorkflowAggregatesRequestWithBody

func NewGetWorkflowAggregatesRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)

NewGetWorkflowAggregatesRequestWithBody constructs an http.Request for the GetWorkflowAggregates method, with any body, and a specified content type

func NewGetWorkflowMetricsHistoryRequest added in v0.13.0

func NewGetWorkflowMetricsHistoryRequest(server string, orgName string, appName string, body GetWorkflowMetricsHistoryJSONRequestBody) (*http.Request, error)

NewGetWorkflowMetricsHistoryRequest calls the generic GetWorkflowMetricsHistory builder with application/json body

func NewGetWorkflowMetricsHistoryRequestWithBody added in v0.13.0

func NewGetWorkflowMetricsHistoryRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)

NewGetWorkflowMetricsHistoryRequestWithBody constructs an http.Request for the GetWorkflowMetricsHistory method, with any body, and a specified content type

func NewGetWorkflowMetricsLiveRequest added in v0.13.0

func NewGetWorkflowMetricsLiveRequest(server string, orgName string, appName string, body GetWorkflowMetricsLiveJSONRequestBody) (*http.Request, error)

NewGetWorkflowMetricsLiveRequest calls the generic GetWorkflowMetricsLive builder with application/json body

func NewGetWorkflowMetricsLiveRequestWithBody added in v0.13.0

func NewGetWorkflowMetricsLiveRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)

NewGetWorkflowMetricsLiveRequestWithBody constructs an http.Request for the GetWorkflowMetricsLive method, with any body, and a specified content type

func NewGetWorkflowRequest

func NewGetWorkflowRequest(server string, orgName string, appName string, workflowId string, params *GetWorkflowParams) (*http.Request, error)

NewGetWorkflowRequest constructs an http.Request for the GetWorkflow method

func NewGrantRoleRequest

func NewGrantRoleRequest(server string, orgName string, username string, roleName string) (*http.Request, error)

NewGrantRoleRequest constructs an http.Request for the GrantRole method

func NewGrantWorkspaceRoleRequest added in v0.14.0

func NewGrantWorkspaceRoleRequest(server string, orgName string, workspaceName string, username string, roleName string) (*http.Request, error)

NewGrantWorkspaceRoleRequest constructs an http.Request for the GrantWorkspaceRole method

func NewImportWorkflowRequest

func NewImportWorkflowRequest(server string, orgName string, appName string, body ImportWorkflowJSONRequestBody) (*http.Request, error)

NewImportWorkflowRequest calls the generic ImportWorkflow builder with application/json body

func NewImportWorkflowRequestWithBody

func NewImportWorkflowRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)

NewImportWorkflowRequestWithBody constructs an http.Request for the ImportWorkflow method, with any body, and a specified content type

func NewJoinOrgRequest

func NewJoinOrgRequest(server string, orgName string, body JoinOrgJSONRequestBody) (*http.Request, error)

NewJoinOrgRequest calls the generic JoinOrg builder with application/json body

func NewJoinOrgRequestWithBody

func NewJoinOrgRequestWithBody(server string, orgName string, contentType string, body io.Reader) (*http.Request, error)

NewJoinOrgRequestWithBody constructs an http.Request for the JoinOrg method, with any body, and a specified content type

func NewListAlertingRulesRequest

func NewListAlertingRulesRequest(server string, orgName string, appName string) (*http.Request, error)

NewListAlertingRulesRequest constructs an http.Request for the ListAlertingRules method

func NewListAppVersionsRequest

func NewListAppVersionsRequest(server string, orgName string, appName string) (*http.Request, error)

NewListAppVersionsRequest constructs an http.Request for the ListAppVersions method

func NewListAppsRequest

func NewListAppsRequest(server string, orgName string, params *ListAppsParams) (*http.Request, error)

NewListAppsRequest constructs an http.Request for the ListApps method

func NewListAuditLogsRequest

func NewListAuditLogsRequest(server string, orgName string, params *ListAuditLogsParams) (*http.Request, error)

NewListAuditLogsRequest constructs an http.Request for the ListAuditLogs method

func NewListDomainClaimsRequest

func NewListDomainClaimsRequest(server string, orgName string) (*http.Request, error)

NewListDomainClaimsRequest constructs an http.Request for the ListDomainClaims method

func NewListExecutorsRequest

func NewListExecutorsRequest(server string, orgName string, appName string) (*http.Request, error)

NewListExecutorsRequest constructs an http.Request for the ListExecutors method

func NewListMembersRequest

func NewListMembersRequest(server string, orgName string) (*http.Request, error)

NewListMembersRequest constructs an http.Request for the ListMembers method

func NewListMetricsRequest

func NewListMetricsRequest(server string, orgName string, appName string, params *ListMetricsParams) (*http.Request, error)

NewListMetricsRequest constructs an http.Request for the ListMetrics method

func NewListPermissionsRequest

func NewListPermissionsRequest(server string, orgName string) (*http.Request, error)

NewListPermissionsRequest constructs an http.Request for the ListPermissions method

func NewListQueuesRequest

func NewListQueuesRequest(server string, orgName string, appName string) (*http.Request, error)

NewListQueuesRequest constructs an http.Request for the ListQueues method

func NewListRolesRequest

func NewListRolesRequest(server string, orgName string) (*http.Request, error)

NewListRolesRequest constructs an http.Request for the ListRoles method

func NewListSavedViewsRequest added in v0.14.0

func NewListSavedViewsRequest(server string, orgName string, appName string) (*http.Request, error)

NewListSavedViewsRequest constructs an http.Request for the ListSavedViews method

func NewListSchedulesRequest

func NewListSchedulesRequest(server string, orgName string, appName string, params *ListSchedulesParams) (*http.Request, error)

NewListSchedulesRequest constructs an http.Request for the ListSchedules method

func NewListTokensRequest

func NewListTokensRequest(server string, orgName string) (*http.Request, error)

NewListTokensRequest constructs an http.Request for the ListTokens method

func NewListWorkflowEventsRequest

func NewListWorkflowEventsRequest(server string, orgName string, appName string, workflowId string, params *ListWorkflowEventsParams) (*http.Request, error)

NewListWorkflowEventsRequest constructs an http.Request for the ListWorkflowEvents method

func NewListWorkflowNotificationsRequest

func NewListWorkflowNotificationsRequest(server string, orgName string, appName string, workflowId string, params *ListWorkflowNotificationsParams) (*http.Request, error)

NewListWorkflowNotificationsRequest constructs an http.Request for the ListWorkflowNotifications method

func NewListWorkflowStepsRequest

func NewListWorkflowStepsRequest(server string, orgName string, appName string, workflowId string, params *ListWorkflowStepsParams) (*http.Request, error)

NewListWorkflowStepsRequest constructs an http.Request for the ListWorkflowSteps method

func NewListWorkflowStreamsRequest

func NewListWorkflowStreamsRequest(server string, orgName string, appName string, workflowId string, params *ListWorkflowStreamsParams) (*http.Request, error)

NewListWorkflowStreamsRequest constructs an http.Request for the ListWorkflowStreams method

func NewListWorkflowsRequest

func NewListWorkflowsRequest(server string, orgName string, appName string, params *ListWorkflowsParams) (*http.Request, error)

NewListWorkflowsRequest constructs an http.Request for the ListWorkflows method

func NewListWorkspacesRequest added in v0.14.0

func NewListWorkspacesRequest(server string, orgName string) (*http.Request, error)

NewListWorkspacesRequest constructs an http.Request for the ListWorkspaces method

func NewMoveAppRequest added in v0.14.0

func NewMoveAppRequest(server string, orgName string, appName string, body MoveAppJSONRequestBody) (*http.Request, error)

NewMoveAppRequest calls the generic MoveApp builder with application/json body

func NewMoveAppRequestWithBody added in v0.14.0

func NewMoveAppRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)

NewMoveAppRequestWithBody constructs an http.Request for the MoveApp method, with any body, and a specified content type

func NewPauseScheduleRequest

func NewPauseScheduleRequest(server string, orgName string, appName string, scheduleName string) (*http.Request, error)

NewPauseScheduleRequest constructs an http.Request for the PauseSchedule method

func NewRegisterAppRequest

func NewRegisterAppRequest(server string, orgName string, appName string, body RegisterAppJSONRequestBody) (*http.Request, error)

NewRegisterAppRequest calls the generic RegisterApp builder with application/json body

func NewRegisterAppRequestWithBody

func NewRegisterAppRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)

NewRegisterAppRequestWithBody constructs an http.Request for the RegisterApp method, with any body, and a specified content type

func NewRegisterUserRequest

func NewRegisterUserRequest(server string, body RegisterUserJSONRequestBody) (*http.Request, error)

NewRegisterUserRequest calls the generic RegisterUser builder with application/json body

func NewRegisterUserRequestWithBody

func NewRegisterUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewRegisterUserRequestWithBody constructs an http.Request for the RegisterUser method, with any body, and a specified content type

func NewReleaseDomainClaimRequest

func NewReleaseDomainClaimRequest(server string, orgName string, domain string) (*http.Request, error)

NewReleaseDomainClaimRequest constructs an http.Request for the ReleaseDomainClaim method

func NewRemoveMemberRequest

func NewRemoveMemberRequest(server string, orgName string, username string) (*http.Request, error)

NewRemoveMemberRequest constructs an http.Request for the RemoveMember method

func NewRenameWorkspaceRequest added in v0.14.0

func NewRenameWorkspaceRequest(server string, orgName string, workspaceName string, body RenameWorkspaceJSONRequestBody) (*http.Request, error)

NewRenameWorkspaceRequest calls the generic RenameWorkspace builder with application/json body

func NewRenameWorkspaceRequestWithBody added in v0.14.0

func NewRenameWorkspaceRequestWithBody(server string, orgName string, workspaceName string, contentType string, body io.Reader) (*http.Request, error)

NewRenameWorkspaceRequestWithBody constructs an http.Request for the RenameWorkspace method, with any body, and a specified content type

func NewRequestDomainClaimRequest

func NewRequestDomainClaimRequest(server string, orgName string, body RequestDomainClaimJSONRequestBody) (*http.Request, error)

NewRequestDomainClaimRequest calls the generic RequestDomainClaim builder with application/json body

func NewRequestDomainClaimRequestWithBody

func NewRequestDomainClaimRequestWithBody(server string, orgName string, contentType string, body io.Reader) (*http.Request, error)

NewRequestDomainClaimRequestWithBody constructs an http.Request for the RequestDomainClaim method, with any body, and a specified content type

func NewResumeScheduleRequest

func NewResumeScheduleRequest(server string, orgName string, appName string, scheduleName string) (*http.Request, error)

NewResumeScheduleRequest constructs an http.Request for the ResumeSchedule method

func NewResumeWorkflowRequest

func NewResumeWorkflowRequest(server string, orgName string, appName string, workflowId string, body ResumeWorkflowJSONRequestBody) (*http.Request, error)

NewResumeWorkflowRequest calls the generic ResumeWorkflow builder with application/json body

func NewResumeWorkflowRequestWithBody

func NewResumeWorkflowRequestWithBody(server string, orgName string, appName string, workflowId string, contentType string, body io.Reader) (*http.Request, error)

NewResumeWorkflowRequestWithBody constructs an http.Request for the ResumeWorkflow method, with any body, and a specified content type

func NewRevokeRoleRequest added in v0.14.0

func NewRevokeRoleRequest(server string, orgName string, username string) (*http.Request, error)

NewRevokeRoleRequest constructs an http.Request for the RevokeRole method

func NewRevokeWorkspaceRoleRequest added in v0.14.0

func NewRevokeWorkspaceRoleRequest(server string, orgName string, workspaceName string, username string) (*http.Request, error)

NewRevokeWorkspaceRoleRequest constructs an http.Request for the RevokeWorkspaceRole method

func NewRewindWorkflowRequest added in v0.13.0

func NewRewindWorkflowRequest(server string, orgName string, appName string, workflowId string, body RewindWorkflowJSONRequestBody) (*http.Request, error)

NewRewindWorkflowRequest calls the generic RewindWorkflow builder with application/json body

func NewRewindWorkflowRequestWithBody added in v0.13.0

func NewRewindWorkflowRequestWithBody(server string, orgName string, appName string, workflowId string, contentType string, body io.Reader) (*http.Request, error)

NewRewindWorkflowRequestWithBody constructs an http.Request for the RewindWorkflow method, with any body, and a specified content type

func NewSearchWorkflowsRequest

func NewSearchWorkflowsRequest(server string, orgName string, appName string, body SearchWorkflowsJSONRequestBody) (*http.Request, error)

NewSearchWorkflowsRequest calls the generic SearchWorkflows builder with application/json body

func NewSearchWorkflowsRequestWithBody

func NewSearchWorkflowsRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)

NewSearchWorkflowsRequestWithBody constructs an http.Request for the SearchWorkflows method, with any body, and a specified content type

func NewSetAutoscalingPolicyRequest

func NewSetAutoscalingPolicyRequest(server string, orgName string, appName string, body SetAutoscalingPolicyJSONRequestBody) (*http.Request, error)

NewSetAutoscalingPolicyRequest calls the generic SetAutoscalingPolicy builder with application/json body

func NewSetAutoscalingPolicyRequestWithBody

func NewSetAutoscalingPolicyRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)

NewSetAutoscalingPolicyRequestWithBody constructs an http.Request for the SetAutoscalingPolicy method, with any body, and a specified content type

func NewSetLatestAppVersionRequest

func NewSetLatestAppVersionRequest(server string, orgName string, appName string, body SetLatestAppVersionJSONRequestBody) (*http.Request, error)

NewSetLatestAppVersionRequest calls the generic SetLatestAppVersion builder with application/json body

func NewSetLatestAppVersionRequestWithBody

func NewSetLatestAppVersionRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)

NewSetLatestAppVersionRequestWithBody constructs an http.Request for the SetLatestAppVersion method, with any body, and a specified content type

func NewSetOrgLimitsRequest added in v0.13.0

func NewSetOrgLimitsRequest(server string, orgName string, body SetOrgLimitsJSONRequestBody) (*http.Request, error)

NewSetOrgLimitsRequest calls the generic SetOrgLimits builder with application/json body

func NewSetOrgLimitsRequestWithBody added in v0.13.0

func NewSetOrgLimitsRequestWithBody(server string, orgName string, contentType string, body io.Reader) (*http.Request, error)

NewSetOrgLimitsRequestWithBody constructs an http.Request for the SetOrgLimits method, with any body, and a specified content type

func NewTriggerScheduleRequest

func NewTriggerScheduleRequest(server string, orgName string, appName string, scheduleName string) (*http.Request, error)

NewTriggerScheduleRequest constructs an http.Request for the TriggerSchedule method

func NewUpdateAppRequest

func NewUpdateAppRequest(server string, orgName string, appName string, body UpdateAppJSONRequestBody) (*http.Request, error)

NewUpdateAppRequest calls the generic UpdateApp builder with application/json body

func NewUpdateAppRequestWithBody

func NewUpdateAppRequestWithBody(server string, orgName string, appName string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateAppRequestWithBody constructs an http.Request for the UpdateApp method, with any body, and a specified content type

func NewUpdateOrgRequest

func NewUpdateOrgRequest(server string, orgName string, body UpdateOrgJSONRequestBody) (*http.Request, error)

NewUpdateOrgRequest calls the generic UpdateOrg builder with application/json body

func NewUpdateOrgRequestWithBody

func NewUpdateOrgRequestWithBody(server string, orgName string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateOrgRequestWithBody constructs an http.Request for the UpdateOrg method, with any body, and a specified content type

func NewUpdateSavedViewRequest added in v0.14.0

func NewUpdateSavedViewRequest(server string, orgName string, appName string, savedViewId string, body UpdateSavedViewJSONRequestBody) (*http.Request, error)

NewUpdateSavedViewRequest calls the generic UpdateSavedView builder with application/json body

func NewUpdateSavedViewRequestWithBody added in v0.14.0

func NewUpdateSavedViewRequestWithBody(server string, orgName string, appName string, savedViewId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSavedViewRequestWithBody constructs an http.Request for the UpdateSavedView method, with any body, and a specified content type

func NewUpdateTokenRequest added in v0.11.0

func NewUpdateTokenRequest(server string, orgName string, tokenName string, body UpdateTokenJSONRequestBody) (*http.Request, error)

NewUpdateTokenRequest calls the generic UpdateToken builder with application/json body

func NewUpdateTokenRequestWithBody added in v0.11.0

func NewUpdateTokenRequestWithBody(server string, orgName string, tokenName string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateTokenRequestWithBody constructs an http.Request for the UpdateToken method, with any body, and a specified content type

Types

type AlertingRule

type AlertingRule struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/AlertingRule.json
	Schema          *string              `json:"$schema,omitempty"`
	AppId           string               `json:"appId"`
	Id              string               `json:"id"`
	LastFiredAt     *time.Time           `json:"lastFiredAt"`
	MinIntervalSecs *int32               `json:"minIntervalSecs"`
	ReceivingAppId  string               `json:"receivingAppId"`
	RuleMetadata    interface{}          `json:"ruleMetadata"`
	RuleType        AlertingRuleRuleType `json:"ruleType"`
}

AlertingRule defines model for AlertingRule.

type AlertingRuleRuleType

type AlertingRuleRuleType string

AlertingRuleRuleType defines model for AlertingRule.RuleType.

const (
	AlertingRuleRuleTypeSlowQueue               AlertingRuleRuleType = "SlowQueue"
	AlertingRuleRuleTypeUnresponsiveApplication AlertingRuleRuleType = "UnresponsiveApplication"
	AlertingRuleRuleTypeWorkflowFailure         AlertingRuleRuleType = "WorkflowFailure"
)

Defines values for AlertingRuleRuleType.

func (AlertingRuleRuleType) Valid

func (e AlertingRuleRuleType) Valid() bool

Valid indicates whether the value is a known member of the AlertingRuleRuleType enum.

type Application

type Application struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/Application.json
	Schema              *string           `json:"$schema,omitempty"`
	DbosCloud           bool              `json:"dbosCloud"`
	ExecutorTimeoutSecs int64             `json:"executorTimeoutSecs"`
	GcRowsThreshold     *int64            `json:"gcRowsThreshold"`
	GcTimeThresholdMs   *int64            `json:"gcTimeThresholdMs"`
	GlobalTimeoutMs     *int64            `json:"globalTimeoutMs"`
	Id                  string            `json:"id"`
	Language            *string           `json:"language"`
	Name                string            `json:"name"`
	OrgId               string            `json:"orgId"`
	PrivateMode         bool              `json:"privateMode"`
	Status              ApplicationStatus `json:"status"`

	// WorkflowMetricsEnabled Whether conductor collects workflow metrics for the console charts from this application's database. While off, the workflow metrics endpoints report collection_disabled.
	WorkflowMetricsEnabled bool `json:"workflowMetricsEnabled"`

	// Workspace Name of the workspace the application is in; empty for a DBOS Cloud application, which is in none.
	Workspace string `json:"workspace"`
}

Application defines model for Application.

type ApplicationStatus

type ApplicationStatus string

ApplicationStatus defines model for Application.Status.

const (
	AVAILABLE   ApplicationStatus = "AVAILABLE"
	UNAVAILABLE ApplicationStatus = "UNAVAILABLE"
)

Defines values for ApplicationStatus.

func (ApplicationStatus) Valid

func (e ApplicationStatus) Valid() bool

Valid indicates whether the value is a known member of the ApplicationStatus enum.

type ApplicationVersion

type ApplicationVersion struct {
	CreatedAt        time.Time `json:"createdAt"`
	VersionId        string    `json:"versionId"`
	VersionName      string    `json:"versionName"`
	VersionTimestamp time.Time `json:"versionTimestamp"`
}

ApplicationVersion defines model for ApplicationVersion.

type AuditLogEntry

type AuditLogEntry struct {
	Details   *map[string]interface{} `json:"details"`
	EmitTime  time.Time               `json:"emitTime"`
	Id        string                  `json:"id"`
	Operation string                  `json:"operation"`
	SourceIp  string                  `json:"sourceIp"`
	Status    AuditLogEntryStatus     `json:"status"`
	Subject   AuditSubject            `json:"subject"`
	Target    *AuditTarget            `json:"target,omitempty"`
}

AuditLogEntry defines model for AuditLogEntry.

type AuditLogEntryStatus

type AuditLogEntryStatus string

AuditLogEntryStatus defines model for AuditLogEntry.Status.

const (
	AuditLogEntryStatusFailure AuditLogEntryStatus = "failure"
	AuditLogEntryStatusSuccess AuditLogEntryStatus = "success"
)

Defines values for AuditLogEntryStatus.

func (AuditLogEntryStatus) Valid

func (e AuditLogEntryStatus) Valid() bool

Valid indicates whether the value is a known member of the AuditLogEntryStatus enum.

type AuditSubject

type AuditSubject struct {
	Display string           `json:"display"`
	Id      string           `json:"id"`
	Type    AuditSubjectType `json:"type"`
}

AuditSubject defines model for AuditSubject.

type AuditSubjectType

type AuditSubjectType string

AuditSubjectType defines model for AuditSubject.Type.

const (
	AuditSubjectTypeApiKey AuditSubjectType = "api_key"
	AuditSubjectTypeUser   AuditSubjectType = "user"
)

Defines values for AuditSubjectType.

func (AuditSubjectType) Valid

func (e AuditSubjectType) Valid() bool

Valid indicates whether the value is a known member of the AuditSubjectType enum.

type AuditTarget

type AuditTarget struct {
	Id   string          `json:"id"`
	Type AuditTargetType `json:"type"`
}

AuditTarget defines model for AuditTarget.

type AuditTargetType

type AuditTargetType string

AuditTargetType defines model for AuditTarget.Type.

const (
	AuditTargetTypeAlertingRule AuditTargetType = "alerting_rule"
	AuditTargetTypeApplication  AuditTargetType = "application"
	AuditTargetTypeDomainClaim  AuditTargetType = "domain_claim"
	AuditTargetTypeOrganization AuditTargetType = "organization"
	AuditTargetTypeRole         AuditTargetType = "role"
	AuditTargetTypeSchedule     AuditTargetType = "schedule"
	AuditTargetTypeToken        AuditTargetType = "token"
	AuditTargetTypeUser         AuditTargetType = "user"
	AuditTargetTypeWorkflow     AuditTargetType = "workflow"
	AuditTargetTypeWorkspace    AuditTargetType = "workspace"
)

Defines values for AuditTargetType.

func (AuditTargetType) Valid

func (e AuditTargetType) Valid() bool

Valid indicates whether the value is a known member of the AuditTargetType enum.

type AutoscalePolicy

type AutoscalePolicy struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/AutoscalePolicy.json
	Schema *string `json:"$schema,omitempty"`

	// Queue The queue whose utilization drives the desired executor count. Must exist and have worker_concurrency set.
	Queue string `json:"queue"`

	// Rollout Rollout preferences for non-latest application versions. Omitted means old versions are sized to their own backlog.
	Rollout *RolloutPolicy `json:"rollout,omitempty"`
}

AutoscalePolicy defines model for AutoscalePolicy.

type BackfillInputBody

type BackfillInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/BackfillInputBody.json
	Schema    *string   `json:"$schema,omitempty"`
	EndTime   time.Time `json:"endTime"`
	StartTime time.Time `json:"startTime"`
}

BackfillInputBody defines model for BackfillInputBody.

type BackfillOutputBody

type BackfillOutputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/BackfillOutputBody.json
	Schema      *string  `json:"$schema,omitempty"`
	WorkflowIds []string `json:"workflowIds"`
}

BackfillOutputBody defines model for BackfillOutputBody.

type BackfillScheduleJSONRequestBody

type BackfillScheduleJSONRequestBody = BackfillInputBody

BackfillScheduleJSONRequestBody defines body for BackfillSchedule for application/json ContentType.

type BackfillScheduleResponse

type BackfillScheduleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BackfillOutputBody
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseBackfillScheduleResponse

func ParseBackfillScheduleResponse(rsp *http.Response) (*BackfillScheduleResponse, error)

ParseBackfillScheduleResponse parses an HTTP response from a BackfillScheduleWithResponse call

func (BackfillScheduleResponse) ContentType

func (r BackfillScheduleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BackfillScheduleResponse) GetApplicationproblemJSONDefault

func (r BackfillScheduleResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (BackfillScheduleResponse) GetBody

func (r BackfillScheduleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (BackfillScheduleResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BackfillScheduleResponse) Status

func (r BackfillScheduleResponse) Status() string

Status returns HTTPResponse.Status

func (BackfillScheduleResponse) StatusCode

func (r BackfillScheduleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BulkCancelInputBody

type BulkCancelInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/BulkCancelInputBody.json
	Schema         *string `json:"$schema,omitempty"`
	CancelChildren *bool   `json:"cancelChildren,omitempty"`

	// ShardKeys One shard key per workflow ID, in the same order. Required when the application's system database is sharded.
	ShardKeys   *[]string `json:"shardKeys,omitempty"`
	WorkflowIds []string  `json:"workflowIds"`
}

BulkCancelInputBody defines model for BulkCancelInputBody.

type BulkCancelWorkflowsJSONRequestBody

type BulkCancelWorkflowsJSONRequestBody = BulkCancelInputBody

BulkCancelWorkflowsJSONRequestBody defines body for BulkCancelWorkflows for application/json ContentType.

type BulkCancelWorkflowsResponse

type BulkCancelWorkflowsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseBulkCancelWorkflowsResponse

func ParseBulkCancelWorkflowsResponse(rsp *http.Response) (*BulkCancelWorkflowsResponse, error)

ParseBulkCancelWorkflowsResponse parses an HTTP response from a BulkCancelWorkflowsWithResponse call

func (BulkCancelWorkflowsResponse) ContentType

func (r BulkCancelWorkflowsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BulkCancelWorkflowsResponse) GetApplicationproblemJSONDefault

func (r BulkCancelWorkflowsResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (BulkCancelWorkflowsResponse) GetBody

func (r BulkCancelWorkflowsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (BulkCancelWorkflowsResponse) Status

Status returns HTTPResponse.Status

func (BulkCancelWorkflowsResponse) StatusCode

func (r BulkCancelWorkflowsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BulkDeleteInputBody

type BulkDeleteInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/BulkDeleteInputBody.json
	Schema         *string `json:"$schema,omitempty"`
	DeleteChildren *bool   `json:"deleteChildren,omitempty"`

	// ShardKeys One shard key per workflow ID, in the same order. Required when the application's system database is sharded.
	ShardKeys   *[]string `json:"shardKeys,omitempty"`
	WorkflowIds []string  `json:"workflowIds"`
}

BulkDeleteInputBody defines model for BulkDeleteInputBody.

type BulkDeleteWorkflowsJSONRequestBody

type BulkDeleteWorkflowsJSONRequestBody = BulkDeleteInputBody

BulkDeleteWorkflowsJSONRequestBody defines body for BulkDeleteWorkflows for application/json ContentType.

type BulkDeleteWorkflowsResponse

type BulkDeleteWorkflowsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseBulkDeleteWorkflowsResponse

func ParseBulkDeleteWorkflowsResponse(rsp *http.Response) (*BulkDeleteWorkflowsResponse, error)

ParseBulkDeleteWorkflowsResponse parses an HTTP response from a BulkDeleteWorkflowsWithResponse call

func (BulkDeleteWorkflowsResponse) ContentType

func (r BulkDeleteWorkflowsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BulkDeleteWorkflowsResponse) GetApplicationproblemJSONDefault

func (r BulkDeleteWorkflowsResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (BulkDeleteWorkflowsResponse) GetBody

func (r BulkDeleteWorkflowsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (BulkDeleteWorkflowsResponse) Status

Status returns HTTPResponse.Status

func (BulkDeleteWorkflowsResponse) StatusCode

func (r BulkDeleteWorkflowsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BulkForkFromFailureBody

type BulkForkFromFailureBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/BulkForkFromFailureBody.json
	Schema     *string `json:"$schema,omitempty"`
	AppVersion *string `json:"appVersion,omitempty"`

	// FromLastFailure Restart each workflow from its own last failed step. Mutually exclusive with fromLastStep, fromStep, and fromStepName.
	FromLastFailure *bool `json:"fromLastFailure,omitempty"`

	// FromLastStep Restart each workflow from its own last completed step. Mutually exclusive with fromLastFailure, fromStep, and fromStepName.
	FromLastStep *bool `json:"fromLastStep,omitempty"`

	// FromStep Restart every workflow from this explicit step index. Mutually exclusive with fromLastFailure, fromLastStep, and fromStepName.
	FromStep *int32 `json:"fromStep,omitempty"`

	// FromStepName Restart every workflow from the last occurrence of this named step. Mutually exclusive with fromLastFailure, fromLastStep, and fromStep.
	FromStepName      *string  `json:"fromStepName,omitempty"`
	QueueName         *string  `json:"queueName,omitempty"`
	QueuePartitionKey *string  `json:"queuePartitionKey,omitempty"`
	WorkflowIds       []string `json:"workflowIds"`
}

BulkForkFromFailureBody defines model for BulkForkFromFailureBody.

type BulkForkFromFailureOutputBody

type BulkForkFromFailureOutputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/BulkForkFromFailureOutputBody.json
	Schema      *string  `json:"$schema,omitempty"`
	WorkflowIds []string `json:"workflowIds"`
}

BulkForkFromFailureOutputBody defines model for BulkForkFromFailureOutputBody.

type BulkForkWorkflowsFromFailureJSONRequestBody

type BulkForkWorkflowsFromFailureJSONRequestBody = BulkForkFromFailureBody

BulkForkWorkflowsFromFailureJSONRequestBody defines body for BulkForkWorkflowsFromFailure for application/json ContentType.

type BulkForkWorkflowsFromFailureResponse

type BulkForkWorkflowsFromFailureResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BulkForkFromFailureOutputBody
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseBulkForkWorkflowsFromFailureResponse

func ParseBulkForkWorkflowsFromFailureResponse(rsp *http.Response) (*BulkForkWorkflowsFromFailureResponse, error)

ParseBulkForkWorkflowsFromFailureResponse parses an HTTP response from a BulkForkWorkflowsFromFailureWithResponse call

func (BulkForkWorkflowsFromFailureResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BulkForkWorkflowsFromFailureResponse) GetApplicationproblemJSONDefault

func (r BulkForkWorkflowsFromFailureResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (BulkForkWorkflowsFromFailureResponse) GetBody

GetBody returns the raw response body bytes

func (BulkForkWorkflowsFromFailureResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BulkForkWorkflowsFromFailureResponse) Status

Status returns HTTPResponse.Status

func (BulkForkWorkflowsFromFailureResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BulkResumeInputBody

type BulkResumeInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/BulkResumeInputBody.json
	Schema    *string `json:"$schema,omitempty"`
	QueueName *string `json:"queueName,omitempty"`

	// ShardKeys One shard key per workflow ID, in the same order. Required when the application's system database is sharded.
	ShardKeys   *[]string `json:"shardKeys,omitempty"`
	WorkflowIds []string  `json:"workflowIds"`
}

BulkResumeInputBody defines model for BulkResumeInputBody.

type BulkResumeWorkflowsJSONRequestBody

type BulkResumeWorkflowsJSONRequestBody = BulkResumeInputBody

BulkResumeWorkflowsJSONRequestBody defines body for BulkResumeWorkflows for application/json ContentType.

type BulkResumeWorkflowsResponse

type BulkResumeWorkflowsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseBulkResumeWorkflowsResponse

func ParseBulkResumeWorkflowsResponse(rsp *http.Response) (*BulkResumeWorkflowsResponse, error)

ParseBulkResumeWorkflowsResponse parses an HTTP response from a BulkResumeWorkflowsWithResponse call

func (BulkResumeWorkflowsResponse) ContentType

func (r BulkResumeWorkflowsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BulkResumeWorkflowsResponse) GetApplicationproblemJSONDefault

func (r BulkResumeWorkflowsResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (BulkResumeWorkflowsResponse) GetBody

func (r BulkResumeWorkflowsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (BulkResumeWorkflowsResponse) Status

Status returns HTTPResponse.Status

func (BulkResumeWorkflowsResponse) StatusCode

func (r BulkResumeWorkflowsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CancelWorkflowInputBody

type CancelWorkflowInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/CancelWorkflowInputBody.json
	Schema         *string `json:"$schema,omitempty"`
	CancelChildren *bool   `json:"cancelChildren,omitempty"`

	// ShardKey The workflow's shard key. Required when the application's system database is sharded.
	ShardKey *string `json:"shardKey,omitempty"`
}

CancelWorkflowInputBody defines model for CancelWorkflowInputBody.

type CancelWorkflowJSONRequestBody

type CancelWorkflowJSONRequestBody = CancelWorkflowInputBody

CancelWorkflowJSONRequestBody defines body for CancelWorkflow for application/json ContentType.

type CancelWorkflowResponse

type CancelWorkflowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseCancelWorkflowResponse

func ParseCancelWorkflowResponse(rsp *http.Response) (*CancelWorkflowResponse, error)

ParseCancelWorkflowResponse parses an HTTP response from a CancelWorkflowWithResponse call

func (CancelWorkflowResponse) ContentType

func (r CancelWorkflowResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CancelWorkflowResponse) GetApplicationproblemJSONDefault

func (r CancelWorkflowResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CancelWorkflowResponse) GetBody

func (r CancelWorkflowResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CancelWorkflowResponse) Status

func (r CancelWorkflowResponse) Status() string

Status returns HTTPResponse.Status

func (CancelWorkflowResponse) StatusCode

func (r CancelWorkflowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) BackfillSchedule

func (c *Client) BackfillSchedule(ctx context.Context, orgName string, appName string, scheduleName string, body BackfillScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

BackfillSchedule Backfill schedule

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/backfill (the `BackfillSchedule` operationId).

func (*Client) BackfillScheduleWithBody

func (c *Client) BackfillScheduleWithBody(ctx context.Context, orgName string, appName string, scheduleName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

BackfillScheduleWithBody Backfill schedule

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/backfill (the `BackfillSchedule` operationId).

func (*Client) BulkCancelWorkflows

func (c *Client) BulkCancelWorkflows(ctx context.Context, orgName string, appName string, body BulkCancelWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

BulkCancelWorkflows Bulk cancel workflows

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-cancel (the `BulkCancelWorkflows` operationId).

func (*Client) BulkCancelWorkflowsWithBody

func (c *Client) BulkCancelWorkflowsWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

BulkCancelWorkflowsWithBody Bulk cancel workflows

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-cancel (the `BulkCancelWorkflows` operationId).

func (*Client) BulkDeleteWorkflows

func (c *Client) BulkDeleteWorkflows(ctx context.Context, orgName string, appName string, body BulkDeleteWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

BulkDeleteWorkflows Bulk delete workflows

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-delete (the `BulkDeleteWorkflows` operationId).

func (*Client) BulkDeleteWorkflowsWithBody

func (c *Client) BulkDeleteWorkflowsWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

BulkDeleteWorkflowsWithBody Bulk delete workflows

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-delete (the `BulkDeleteWorkflows` operationId).

func (*Client) BulkForkWorkflowsFromFailure

func (c *Client) BulkForkWorkflowsFromFailure(ctx context.Context, orgName string, appName string, body BulkForkWorkflowsFromFailureJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

BulkForkWorkflowsFromFailure Bulk fork workflows from failure

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-fork-from-failure (the `BulkForkWorkflowsFromFailure` operationId).

func (*Client) BulkForkWorkflowsFromFailureWithBody

func (c *Client) BulkForkWorkflowsFromFailureWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

BulkForkWorkflowsFromFailureWithBody Bulk fork workflows from failure

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-fork-from-failure (the `BulkForkWorkflowsFromFailure` operationId).

func (*Client) BulkResumeWorkflows

func (c *Client) BulkResumeWorkflows(ctx context.Context, orgName string, appName string, body BulkResumeWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

BulkResumeWorkflows Bulk resume workflows

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-resume (the `BulkResumeWorkflows` operationId).

func (*Client) BulkResumeWorkflowsWithBody

func (c *Client) BulkResumeWorkflowsWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

BulkResumeWorkflowsWithBody Bulk resume workflows

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-resume (the `BulkResumeWorkflows` operationId).

func (*Client) CancelWorkflow

func (c *Client) CancelWorkflow(ctx context.Context, orgName string, appName string, workflowId string, body CancelWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CancelWorkflow Cancel workflow

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/cancel (the `CancelWorkflow` operationId).

func (*Client) CancelWorkflowWithBody

func (c *Client) CancelWorkflowWithBody(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CancelWorkflowWithBody Cancel workflow

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/cancel (the `CancelWorkflow` operationId).

func (*Client) CreateAlertingRule

func (c *Client) CreateAlertingRule(ctx context.Context, orgName string, appName string, body CreateAlertingRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateAlertingRule Create alerting rule

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `CreateAlertingRule` operationId).

func (*Client) CreateAlertingRuleWithBody

func (c *Client) CreateAlertingRuleWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateAlertingRuleWithBody Create alerting rule

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `CreateAlertingRule` operationId).

func (*Client) CreateRole

func (c *Client) CreateRole(ctx context.Context, orgName string, body CreateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateRole Create role

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/roles (the `CreateRole` operationId).

func (*Client) CreateRoleWithBody

func (c *Client) CreateRoleWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateRoleWithBody Create role

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/roles (the `CreateRole` operationId).

func (*Client) CreateSavedView added in v0.14.0

func (c *Client) CreateSavedView(ctx context.Context, orgName string, appName string, body CreateSavedViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateSavedView Create saved view

A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404. A user may keep at most 100 saved views per application; beyond that, and for a name already taken, the response is 409.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/saved-views (the `CreateSavedView` operationId).

func (*Client) CreateSavedViewWithBody added in v0.14.0

func (c *Client) CreateSavedViewWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateSavedViewWithBody Create saved view

A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404. A user may keep at most 100 saved views per application; beyond that, and for a name already taken, the response is 409.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/saved-views (the `CreateSavedView` operationId).

func (*Client) CreateToken

func (c *Client) CreateToken(ctx context.Context, orgName string, tokenName string, body CreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateToken Create token

Creates an API key for all applications, for the applications in appNames, or for those in workspaces.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/tokens/{tokenName} (the `CreateToken` operationId).

func (*Client) CreateTokenWithBody

func (c *Client) CreateTokenWithBody(ctx context.Context, orgName string, tokenName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateTokenWithBody Create token

Creates an API key for all applications, for the applications in appNames, or for those in workspaces.

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/tokens/{tokenName} (the `CreateToken` operationId).

func (*Client) CreateWorkspace added in v0.14.0

func (c *Client) CreateWorkspace(ctx context.Context, orgName string, body CreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateWorkspace Create workspace

Creates an empty workspace. On DBOS-managed Conductor, creation is refused once the org has as many workspaces as its maxWorkspaces limit; self-hosted Conductor has no workspace limit.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/workspaces (the `CreateWorkspace` operationId).

func (*Client) CreateWorkspaceWithBody added in v0.14.0

func (c *Client) CreateWorkspaceWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateWorkspaceWithBody Create workspace

Creates an empty workspace. On DBOS-managed Conductor, creation is refused once the org has as many workspaces as its maxWorkspaces limit; self-hosted Conductor has no workspace limit.

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/workspaces (the `CreateWorkspace` operationId).

func (*Client) DeleteAlertingRule

func (c *Client) DeleteAlertingRule(ctx context.Context, orgName string, appName string, ruleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteAlertingRule Delete alerting rule

Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/alerting-rules/{ruleId} (the `DeleteAlertingRule` operationId).

func (*Client) DeleteApp

func (c *Client) DeleteApp(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteApp Delete application

Deletes an application. API keys left with no access are revoked.

Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName} (the `DeleteApp` operationId).

func (*Client) DeleteAutoscalingPolicy

func (c *Client) DeleteAutoscalingPolicy(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteAutoscalingPolicy Delete autoscaling policy

Clears the stored policy. Deleting an absent policy succeeds. Requires a DBOS Teams subscription.

Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `DeleteAutoscalingPolicy` operationId).

func (*Client) DeleteRole

func (c *Client) DeleteRole(ctx context.Context, orgName string, roleName string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteRole Delete role

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Corresponds with DELETE /v2/orgs/{orgName}/roles/{roleName} (the `DeleteRole` operationId).

func (*Client) DeleteSavedView added in v0.14.0

func (c *Client) DeleteSavedView(ctx context.Context, orgName string, appName string, savedViewId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteSavedView Delete saved view

A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/saved-views/{savedViewId} (the `DeleteSavedView` operationId).

func (*Client) DeleteToken

func (c *Client) DeleteToken(ctx context.Context, orgName string, tokenName string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteToken Delete token

Corresponds with DELETE /v2/orgs/{orgName}/tokens/{tokenName} (the `DeleteToken` operationId).

func (*Client) DeleteWorkflow

func (c *Client) DeleteWorkflow(ctx context.Context, orgName string, appName string, workflowId string, params *DeleteWorkflowParams, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteWorkflow Delete workflow

Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId} (the `DeleteWorkflow` operationId).

func (*Client) DeleteWorkspace added in v0.14.0

func (c *Client) DeleteWorkspace(ctx context.Context, orgName string, workspaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteWorkspace Delete workspace

Deletes an empty workspace, as long as the org keeps another one. API keys left with no access are revoked.

Corresponds with DELETE /v2/orgs/{orgName}/workspaces/{workspaceName} (the `DeleteWorkspace` operationId).

func (*Client) ExportWorkflow

func (c *Client) ExportWorkflow(ctx context.Context, orgName string, appName string, workflowId string, params *ExportWorkflowParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ExportWorkflow Export workflow

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/export (the `ExportWorkflow` operationId).

func (*Client) ForkWorkflow

func (c *Client) ForkWorkflow(ctx context.Context, orgName string, appName string, workflowId string, body ForkWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ForkWorkflow Fork workflow

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/fork (the `ForkWorkflow` operationId).

func (*Client) ForkWorkflowWithBody

func (c *Client) ForkWorkflowWithBody(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ForkWorkflowWithBody Fork workflow

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/fork (the `ForkWorkflow` operationId).

func (*Client) GenerateSecret

func (c *Client) GenerateSecret(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GenerateSecret Generate join secret

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Corresponds with POST /v2/orgs/{orgName}/secrets (the `GenerateSecret` operationId).

func (*Client) GetApp

func (c *Client) GetApp(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetApp Get application

Corresponds with GET /v2/orgs/{orgName}/apps/{appName} (the `GetApp` operationId).

func (*Client) GetAutoscale

func (c *Client) GetAutoscale(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAutoscale Get autoscaling recommendation

Computes how many executors each of the application's versions needs right now, given the backlog of its stored autoscaling policy's queue. Returns one entry per version. 404 when no policy is installed; 400 when the policy queue is no longer scalable. Requires a DBOS Teams subscription.

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/autoscale (the `GetAutoscale` operationId).

func (*Client) GetAutoscaleVersion added in v0.11.0

func (c *Client) GetAutoscaleVersion(ctx context.Context, orgName string, appName string, version string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAutoscaleVersion Get one version's autoscaling recommendation

Computes how many executors one application version needs right now, given the backlog of the stored autoscaling policy's queue. Made to be polled per version, e.g. by one KEDA ScaledObject per version's deployment. The latest version is always sized to at least 1; an old version reports 0 once it has no work left on that queue, signaling it can be torn down. 404 when no policy is installed or the version was never registered; 400 when the policy queue is no longer scalable. Requires a DBOS Teams subscription.

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/autoscale/versions/{version} (the `GetAutoscaleVersion` operationId).

func (*Client) GetAutoscalingPolicy

func (c *Client) GetAutoscalingPolicy(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetAutoscalingPolicy Get autoscaling policy

Returns the application's stored queue-based autoscaling policy; 404 when none is set. Requires a DBOS Teams subscription.

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `GetAutoscalingPolicy` operationId).

func (*Client) GetCurrentUser

func (c *Client) GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetCurrentUser Get current user

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Corresponds with GET /v2/users/me (the `GetCurrentUser` operationId).

func (*Client) GetEntitlements added in v0.13.0

func (c *Client) GetEntitlements(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

GetEntitlements Get Transact Enterprise entitlements

Returns the Transact Enterprise features the calling API key's org may use; a feature reported false is not included in the org's plan. An org past its plan limit gets 403 with X-DBOS-Error: past_limit instead. Self-hosted Conductor grants every feature, and with OAuth disabled it needs no credentials. Otherwise any valid API key is accepted regardless of its permissions, and user credentials are rejected with 401.

Corresponds with GET /v2/entitlements (the `GetEntitlements` operationId).

func (*Client) GetOrg

func (c *Client) GetOrg(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetOrg Get org

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Corresponds with GET /v2/orgs/{orgName} (the `GetOrg` operationId).

func (*Client) GetQueue

func (c *Client) GetQueue(ctx context.Context, orgName string, appName string, queueName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetQueue Get queue

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/queues/{queueName} (the `GetQueue` operationId).

func (*Client) GetSchedule

func (c *Client) GetSchedule(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSchedule Get schedule

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName} (the `GetSchedule` operationId).

func (*Client) GetStepAggregates

func (c *Client) GetStepAggregates(ctx context.Context, orgName string, appName string, body GetStepAggregatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

GetStepAggregates Get step aggregates

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/steps/aggregates (the `GetStepAggregates` operationId).

func (*Client) GetStepAggregatesWithBody

func (c *Client) GetStepAggregatesWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

GetStepAggregatesWithBody Get step aggregates

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/steps/aggregates (the `GetStepAggregates` operationId).

func (*Client) GetWorkflow

func (c *Client) GetWorkflow(ctx context.Context, orgName string, appName string, workflowId string, params *GetWorkflowParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetWorkflow Get workflow

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId} (the `GetWorkflow` operationId).

func (*Client) GetWorkflowAggregates

func (c *Client) GetWorkflowAggregates(ctx context.Context, orgName string, appName string, body GetWorkflowAggregatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

GetWorkflowAggregates Get workflow aggregates

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/aggregates (the `GetWorkflowAggregates` operationId).

func (*Client) GetWorkflowAggregatesWithBody

func (c *Client) GetWorkflowAggregatesWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

GetWorkflowAggregatesWithBody Get workflow aggregates

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/aggregates (the `GetWorkflowAggregates` operationId).

func (*Client) GetWorkflowMetricsHistory added in v0.13.0

func (c *Client) GetWorkflowMetricsHistory(ctx context.Context, orgName string, appName string, body GetWorkflowMetricsHistoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

GetWorkflowMetricsHistory Get archived workflow metrics

Renders the workflow filter charts from conductor's archive of observed terminal activity, without querying the application's database. 404 when the application has no archive yet.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/metrics/history (the `GetWorkflowMetricsHistory` operationId).

func (*Client) GetWorkflowMetricsHistoryWithBody added in v0.13.0

func (c *Client) GetWorkflowMetricsHistoryWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

GetWorkflowMetricsHistoryWithBody Get archived workflow metrics

Renders the workflow filter charts from conductor's archive of observed terminal activity, without querying the application's database. 404 when the application has no archive yet.

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/metrics/history (the `GetWorkflowMetricsHistory` operationId).

func (*Client) GetWorkflowMetricsLive added in v0.13.0

func (c *Client) GetWorkflowMetricsLive(ctx context.Context, orgName string, appName string, body GetWorkflowMetricsLiveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

GetWorkflowMetricsLive Get the live supplement to archived workflow metrics

Asks one executor, under one 20-second budget, for terminal completions since the history response's watermark (at most 15 minutes back) and for the workflows still pending, both within the effective creation range. Source failures are per-component outcomes, never errors. 400 for a context outside this application's archive, 404 without an archive.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/metrics/live (the `GetWorkflowMetricsLive` operationId).

func (*Client) GetWorkflowMetricsLiveWithBody added in v0.13.0

func (c *Client) GetWorkflowMetricsLiveWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

GetWorkflowMetricsLiveWithBody Get the live supplement to archived workflow metrics

Asks one executor, under one 20-second budget, for terminal completions since the history response's watermark (at most 15 minutes back) and for the workflows still pending, both within the effective creation range. Source failures are per-component outcomes, never errors. 400 for a context outside this application's archive, 404 without an archive.

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/metrics/live (the `GetWorkflowMetricsLive` operationId).

func (*Client) GrantRole

func (c *Client) GrantRole(ctx context.Context, orgName string, username string, roleName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GrantRole Grant role

Sets the member's role for the whole organization, replacing the one they hold.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Corresponds with PUT /v2/orgs/{orgName}/members/{username}/roles/{roleName} (the `GrantRole` operationId).

func (*Client) GrantWorkspaceRole added in v0.14.0

func (c *Client) GrantWorkspaceRole(ctx context.Context, orgName string, workspaceName string, username string, roleName string, reqEditors ...RequestEditorFn) (*http.Response, error)

GrantWorkspaceRole Grant workspace role

Sets the member's role in the workspace, replacing the one they hold there. The role may hold only application.read, application.write, metric.read, websocket.connect.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Corresponds with PUT /v2/orgs/{orgName}/workspaces/{workspaceName}/members/{username}/roles/{roleName} (the `GrantWorkspaceRole` operationId).

func (*Client) ImportWorkflow

func (c *Client) ImportWorkflow(ctx context.Context, orgName string, appName string, body ImportWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ImportWorkflow Import workflow

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/import (the `ImportWorkflow` operationId).

func (*Client) ImportWorkflowWithBody

func (c *Client) ImportWorkflowWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ImportWorkflowWithBody Import workflow

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/import (the `ImportWorkflow` operationId).

func (*Client) JoinOrg

func (c *Client) JoinOrg(ctx context.Context, orgName string, body JoinOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

JoinOrg Join org

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/join (the `JoinOrg` operationId).

func (*Client) JoinOrgWithBody

func (c *Client) JoinOrgWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

JoinOrgWithBody Join org

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/join (the `JoinOrg` operationId).

func (*Client) ListAlertingRules

func (c *Client) ListAlertingRules(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

ListAlertingRules List alerting rules

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `ListAlertingRules` operationId).

func (*Client) ListAppVersions

func (c *Client) ListAppVersions(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

ListAppVersions List application versions

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/versions (the `ListAppVersions` operationId).

func (*Client) ListApps

func (c *Client) ListApps(ctx context.Context, orgName string, params *ListAppsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListApps List applications

Corresponds with GET /v2/orgs/{orgName}/apps (the `ListApps` operationId).

func (*Client) ListAuditLogs

func (c *Client) ListAuditLogs(ctx context.Context, orgName string, params *ListAuditLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListAuditLogs List audit logs

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Corresponds with GET /v2/orgs/{orgName}/audit-logs (the `ListAuditLogs` operationId).

func (*Client) ListDomainClaims

func (c *Client) ListDomainClaims(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)

ListDomainClaims List domain claims

A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Corresponds with GET /v2/orgs/{orgName}/domain-claims (the `ListDomainClaims` operationId).

func (*Client) ListExecutors

func (c *Client) ListExecutors(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

ListExecutors List executors

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/executors (the `ListExecutors` operationId).

func (*Client) ListMembers

func (c *Client) ListMembers(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)

ListMembers List members

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Corresponds with GET /v2/orgs/{orgName}/members (the `ListMembers` operationId).

func (*Client) ListMetrics

func (c *Client) ListMetrics(ctx context.Context, orgName string, appName string, params *ListMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListMetrics List metrics

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/metrics (the `ListMetrics` operationId).

func (*Client) ListPermissions

func (c *Client) ListPermissions(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)

ListPermissions List permissions

Corresponds with GET /v2/orgs/{orgName}/permissions (the `ListPermissions` operationId).

func (*Client) ListQueues

func (c *Client) ListQueues(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

ListQueues List queues

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/queues (the `ListQueues` operationId).

func (*Client) ListRoles

func (c *Client) ListRoles(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)

ListRoles List roles

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Corresponds with GET /v2/orgs/{orgName}/roles (the `ListRoles` operationId).

func (*Client) ListSavedViews added in v0.14.0

func (c *Client) ListSavedViews(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

ListSavedViews List saved views

A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404. Ordered by name, ignoring case.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/saved-views (the `ListSavedViews` operationId).

func (*Client) ListSchedules

func (c *Client) ListSchedules(ctx context.Context, orgName string, appName string, params *ListSchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListSchedules List schedules

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/schedules (the `ListSchedules` operationId).

func (*Client) ListTokens

func (c *Client) ListTokens(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)

ListTokens List tokens

Corresponds with GET /v2/orgs/{orgName}/tokens (the `ListTokens` operationId).

func (*Client) ListWorkflowEvents

func (c *Client) ListWorkflowEvents(ctx context.Context, orgName string, appName string, workflowId string, params *ListWorkflowEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListWorkflowEvents List workflow events

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/events (the `ListWorkflowEvents` operationId).

func (*Client) ListWorkflowNotifications

func (c *Client) ListWorkflowNotifications(ctx context.Context, orgName string, appName string, workflowId string, params *ListWorkflowNotificationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListWorkflowNotifications List workflow notifications

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/notifications (the `ListWorkflowNotifications` operationId).

func (*Client) ListWorkflowSteps

func (c *Client) ListWorkflowSteps(ctx context.Context, orgName string, appName string, workflowId string, params *ListWorkflowStepsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListWorkflowSteps List workflow steps

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/steps (the `ListWorkflowSteps` operationId).

func (*Client) ListWorkflowStreams

func (c *Client) ListWorkflowStreams(ctx context.Context, orgName string, appName string, workflowId string, params *ListWorkflowStreamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListWorkflowStreams List workflow streams

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/streams (the `ListWorkflowStreams` operationId).

func (*Client) ListWorkflows

func (c *Client) ListWorkflows(ctx context.Context, orgName string, appName string, params *ListWorkflowsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListWorkflows List workflows

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows (the `ListWorkflows` operationId).

func (*Client) ListWorkspaces added in v0.14.0

func (c *Client) ListWorkspaces(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)

ListWorkspaces List workspaces

Lists every workspace of the org, ordered by name. Any member of the org, and any of its API keys, may list them regardless of permissions.

Corresponds with GET /v2/orgs/{orgName}/workspaces (the `ListWorkspaces` operationId).

func (*Client) MoveApp added in v0.14.0

func (c *Client) MoveApp(ctx context.Context, orgName string, appName string, body MoveAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

MoveApp Move application

Moves a Conductor application to another workspace of the org. It keeps its name, history and connected executors; moving it to the workspace it is in changes nothing. DBOS Cloud applications can't be moved.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/move (the `MoveApp` operationId).

func (*Client) MoveAppWithBody added in v0.14.0

func (c *Client) MoveAppWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

MoveAppWithBody Move application

Moves a Conductor application to another workspace of the org. It keeps its name, history and connected executors; moving it to the workspace it is in changes nothing. DBOS Cloud applications can't be moved.

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/move (the `MoveApp` operationId).

func (*Client) PauseSchedule

func (c *Client) PauseSchedule(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*http.Response, error)

PauseSchedule Pause schedule

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/pause (the `PauseSchedule` operationId).

func (*Client) RegisterApp

func (c *Client) RegisterApp(ctx context.Context, orgName string, appName string, body RegisterAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RegisterApp Register application

Registers an application in a workspace, or confirms the one already registered under this name, so it is safe to repeat. Without a workspace, a new application goes into the org's only workspace; when the org has more than one, creating it fails with a workspace-required error, while an existing application matches wherever it is. Confirming an existing application changes only privateMode, and only if the request sets it. Either way the caller needs application.write in the application's workspace; a grant on the application alone is not enough. Returns 409 if the name belongs to an application the caller cannot write, that DBOS Cloud manages, or that is in a workspace other than the one named, or if creating the application would exceed the organization's application limit.

Takes a body of the `application/json` content type.

Corresponds with PUT /v2/orgs/{orgName}/apps/{appName} (the `RegisterApp` operationId).

func (*Client) RegisterAppWithBody

func (c *Client) RegisterAppWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

RegisterAppWithBody Register application

Registers an application in a workspace, or confirms the one already registered under this name, so it is safe to repeat. Without a workspace, a new application goes into the org's only workspace; when the org has more than one, creating it fails with a workspace-required error, while an existing application matches wherever it is. Confirming an existing application changes only privateMode, and only if the request sets it. Either way the caller needs application.write in the application's workspace; a grant on the application alone is not enough. Returns 409 if the name belongs to an application the caller cannot write, that DBOS Cloud manages, or that is in a workspace other than the one named, or if creating the application would exceed the organization's application limit.

Takes any type of body and a specified content type.

Corresponds with PUT /v2/orgs/{orgName}/apps/{appName} (the `RegisterApp` operationId).

func (*Client) RegisterUser

func (c *Client) RegisterUser(ctx context.Context, body RegisterUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RegisterUser Register user

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/users (the `RegisterUser` operationId).

func (*Client) RegisterUserWithBody

func (c *Client) RegisterUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

RegisterUserWithBody Register user

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes any type of body and a specified content type.

Corresponds with POST /v2/users (the `RegisterUser` operationId).

func (*Client) ReleaseDomainClaim

func (c *Client) ReleaseDomainClaim(ctx context.Context, orgName string, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)

ReleaseDomainClaim Release a domain claim

A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Corresponds with DELETE /v2/orgs/{orgName}/domain-claims/{domain} (the `ReleaseDomainClaim` operationId).

func (*Client) RemoveMember

func (c *Client) RemoveMember(ctx context.Context, orgName string, username string, reqEditors ...RequestEditorFn) (*http.Response, error)

RemoveMember Remove member

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Corresponds with DELETE /v2/orgs/{orgName}/members/{username} (the `RemoveMember` operationId).

func (*Client) RenameWorkspace added in v0.14.0

func (c *Client) RenameWorkspace(ctx context.Context, orgName string, workspaceName string, body RenameWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RenameWorkspace Rename workspace

Renames a workspace. Its applications stay in it.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/orgs/{orgName}/workspaces/{workspaceName} (the `RenameWorkspace` operationId).

func (*Client) RenameWorkspaceWithBody added in v0.14.0

func (c *Client) RenameWorkspaceWithBody(ctx context.Context, orgName string, workspaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

RenameWorkspaceWithBody Rename workspace

Renames a workspace. Its applications stay in it.

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/orgs/{orgName}/workspaces/{workspaceName} (the `RenameWorkspace` operationId).

func (*Client) RequestDomainClaim

func (c *Client) RequestDomainClaim(ctx context.Context, orgName string, body RequestDomainClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RequestDomainClaim Claim a domain

A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/domain-claims (the `RequestDomainClaim` operationId).

func (*Client) RequestDomainClaimWithBody

func (c *Client) RequestDomainClaimWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

RequestDomainClaimWithBody Claim a domain

A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/domain-claims (the `RequestDomainClaim` operationId).

func (*Client) ResumeSchedule

func (c *Client) ResumeSchedule(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*http.Response, error)

ResumeSchedule Resume schedule

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/resume (the `ResumeSchedule` operationId).

func (*Client) ResumeWorkflow

func (c *Client) ResumeWorkflow(ctx context.Context, orgName string, appName string, workflowId string, body ResumeWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ResumeWorkflow Resume workflow

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/resume (the `ResumeWorkflow` operationId).

func (*Client) ResumeWorkflowWithBody

func (c *Client) ResumeWorkflowWithBody(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ResumeWorkflowWithBody Resume workflow

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/resume (the `ResumeWorkflow` operationId).

func (*Client) RevokeRole added in v0.14.0

func (c *Client) RevokeRole(ctx context.Context, orgName string, username string, reqEditors ...RequestEditorFn) (*http.Response, error)

RevokeRole Revoke role

Removes the member's role for the whole organization, leaving only their roles in single workspaces.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Corresponds with DELETE /v2/orgs/{orgName}/members/{username}/role (the `RevokeRole` operationId).

func (*Client) RevokeWorkspaceRole added in v0.14.0

func (c *Client) RevokeWorkspaceRole(ctx context.Context, orgName string, workspaceName string, username string, reqEditors ...RequestEditorFn) (*http.Response, error)

RevokeWorkspaceRole Revoke workspace role

Removes the member's role in the workspace.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Corresponds with DELETE /v2/orgs/{orgName}/workspaces/{workspaceName}/members/{username}/role (the `RevokeWorkspaceRole` operationId).

func (*Client) RewindWorkflow added in v0.13.0

func (c *Client) RewindWorkflow(ctx context.Context, orgName string, appName string, workflowId string, body RewindWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RewindWorkflow Rewind workflow

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/rewind (the `RewindWorkflow` operationId).

func (*Client) RewindWorkflowWithBody added in v0.13.0

func (c *Client) RewindWorkflowWithBody(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

RewindWorkflowWithBody Rewind workflow

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/rewind (the `RewindWorkflow` operationId).

func (*Client) SearchWorkflows

func (c *Client) SearchWorkflows(ctx context.Context, orgName string, appName string, body SearchWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SearchWorkflows Search workflows

Takes a body of the `application/json` content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/search (the `SearchWorkflows` operationId).

func (*Client) SearchWorkflowsWithBody

func (c *Client) SearchWorkflowsWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SearchWorkflowsWithBody Search workflows

Takes any type of body and a specified content type.

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/search (the `SearchWorkflows` operationId).

func (*Client) SetAutoscalingPolicy

func (c *Client) SetAutoscalingPolicy(ctx context.Context, orgName string, appName string, body SetAutoscalingPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetAutoscalingPolicy Set autoscaling policy

Validates and stores the policy, echoing it back as stored. The named queue must exist and be scalable — worker_concurrency set — validated from a healthy executor. Requires a DBOS Teams subscription.

Takes a body of the `application/json` content type.

Corresponds with PUT /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `SetAutoscalingPolicy` operationId).

func (*Client) SetAutoscalingPolicyWithBody

func (c *Client) SetAutoscalingPolicyWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SetAutoscalingPolicyWithBody Set autoscaling policy

Validates and stores the policy, echoing it back as stored. The named queue must exist and be scalable — worker_concurrency set — validated from a healthy executor. Requires a DBOS Teams subscription.

Takes any type of body and a specified content type.

Corresponds with PUT /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `SetAutoscalingPolicy` operationId).

func (*Client) SetLatestAppVersion

func (c *Client) SetLatestAppVersion(ctx context.Context, orgName string, appName string, body SetLatestAppVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetLatestAppVersion Set latest application version

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/versions/latest (the `SetLatestAppVersion` operationId).

func (*Client) SetLatestAppVersionWithBody

func (c *Client) SetLatestAppVersionWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SetLatestAppVersionWithBody Set latest application version

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/versions/latest (the `SetLatestAppVersion` operationId).

func (*Client) SetOrgLimits added in v0.13.0

func (c *Client) SetOrgLimits(ctx context.Context, orgName string, body SetOrgLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SetOrgLimits Set org limits

Sets the org's maxTeamMembers, maxConductorApps and maxWorkspaces to the given values and returns the updated org. At least one value must be given; an omitted value is left unchanged. Limits can only be raised here, never lowered; setting a limit to its current value is a no-op. Requires a DBOS Teams subscription.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/orgs/{orgName}/limits (the `SetOrgLimits` operationId).

func (*Client) SetOrgLimitsWithBody added in v0.13.0

func (c *Client) SetOrgLimitsWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SetOrgLimitsWithBody Set org limits

Sets the org's maxTeamMembers, maxConductorApps and maxWorkspaces to the given values and returns the updated org. At least one value must be given; an omitted value is left unchanged. Limits can only be raised here, never lowered; setting a limit to its current value is a no-op. Requires a DBOS Teams subscription.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/orgs/{orgName}/limits (the `SetOrgLimits` operationId).

func (*Client) TriggerSchedule

func (c *Client) TriggerSchedule(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*http.Response, error)

TriggerSchedule Trigger schedule

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/trigger (the `TriggerSchedule` operationId).

func (*Client) UpdateApp

func (c *Client) UpdateApp(ctx context.Context, orgName string, appName string, body UpdateAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateApp Update application

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName} (the `UpdateApp` operationId).

func (*Client) UpdateAppWithBody

func (c *Client) UpdateAppWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateAppWithBody Update application

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName} (the `UpdateApp` operationId).

func (*Client) UpdateOrg

func (c *Client) UpdateOrg(ctx context.Context, orgName string, body UpdateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateOrg Update org

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/orgs/{orgName} (the `UpdateOrg` operationId).

func (*Client) UpdateOrgWithBody

func (c *Client) UpdateOrgWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateOrgWithBody Update org

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/orgs/{orgName} (the `UpdateOrg` operationId).

func (*Client) UpdateSavedView added in v0.14.0

func (c *Client) UpdateSavedView(ctx context.Context, orgName string, appName string, savedViewId string, body UpdateSavedViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateSavedView Update saved view

A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404. Changes the name and/or the search state; at least one must be given. Last write wins.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/saved-views/{savedViewId} (the `UpdateSavedView` operationId).

func (*Client) UpdateSavedViewWithBody added in v0.14.0

func (c *Client) UpdateSavedViewWithBody(ctx context.Context, orgName string, appName string, savedViewId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateSavedViewWithBody Update saved view

A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404. Changes the name and/or the search state; at least one must be given. Last write wins.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/saved-views/{savedViewId} (the `UpdateSavedView` operationId).

func (*Client) UpdateToken added in v0.11.0

func (c *Client) UpdateToken(ctx context.Context, orgName string, tokenName string, body UpdateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateToken Update token

Takes a body of the `application/json` content type.

Corresponds with PATCH /v2/orgs/{orgName}/tokens/{tokenName} (the `UpdateToken` operationId).

func (*Client) UpdateTokenWithBody added in v0.11.0

func (c *Client) UpdateTokenWithBody(ctx context.Context, orgName string, tokenName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateTokenWithBody Update token

Takes any type of body and a specified content type.

Corresponds with PATCH /v2/orgs/{orgName}/tokens/{tokenName} (the `UpdateToken` operationId).

type ClientInterface

type ClientInterface interface {

	// GetEntitlements Get Transact Enterprise entitlements
	//
	// Returns the Transact Enterprise features the calling API key's org may use; a feature reported false is not included in the org's plan. An org past its plan limit gets 403 with X-DBOS-Error: past_limit instead. Self-hosted Conductor grants every feature, and with OAuth disabled it needs no credentials. Otherwise any valid API key is accepted regardless of its permissions, and user credentials are rejected with 401.
	//
	// Corresponds with GET /v2/entitlements (the `GetEntitlements` operationId).
	GetEntitlements(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrg Get org
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Corresponds with GET /v2/orgs/{orgName} (the `GetOrg` operationId).
	GetOrg(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOrgWithBody Update org
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/orgs/{orgName} (the `UpdateOrg` operationId).
	UpdateOrgWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOrg Update org
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/orgs/{orgName} (the `UpdateOrg` operationId).
	UpdateOrg(ctx context.Context, orgName string, body UpdateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListApps List applications
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps (the `ListApps` operationId).
	ListApps(ctx context.Context, orgName string, params *ListAppsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteApp Delete application
	//
	// Deletes an application. API keys left with no access are revoked.
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName} (the `DeleteApp` operationId).
	DeleteApp(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApp Get application
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName} (the `GetApp` operationId).
	GetApp(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateAppWithBody Update application
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName} (the `UpdateApp` operationId).
	UpdateAppWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateApp Update application
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName} (the `UpdateApp` operationId).
	UpdateApp(ctx context.Context, orgName string, appName string, body UpdateAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RegisterAppWithBody Register application
	//
	// Registers an application in a workspace, or confirms the one already registered under this name, so it is safe to repeat. Without a workspace, a new application goes into the org's only workspace; when the org has more than one, creating it fails with a workspace-required error, while an existing application matches wherever it is. Confirming an existing application changes only privateMode, and only if the request sets it. Either way the caller needs application.write in the application's workspace; a grant on the application alone is not enough. Returns 409 if the name belongs to an application the caller cannot write, that DBOS Cloud manages, or that is in a workspace other than the one named, or if creating the application would exceed the organization's application limit.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /v2/orgs/{orgName}/apps/{appName} (the `RegisterApp` operationId).
	RegisterAppWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RegisterApp Register application
	//
	// Registers an application in a workspace, or confirms the one already registered under this name, so it is safe to repeat. Without a workspace, a new application goes into the org's only workspace; when the org has more than one, creating it fails with a workspace-required error, while an existing application matches wherever it is. Confirming an existing application changes only privateMode, and only if the request sets it. Either way the caller needs application.write in the application's workspace; a grant on the application alone is not enough. Returns 409 if the name belongs to an application the caller cannot write, that DBOS Cloud manages, or that is in a workspace other than the one named, or if creating the application would exceed the organization's application limit.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /v2/orgs/{orgName}/apps/{appName} (the `RegisterApp` operationId).
	RegisterApp(ctx context.Context, orgName string, appName string, body RegisterAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAlertingRules List alerting rules
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `ListAlertingRules` operationId).
	ListAlertingRules(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateAlertingRuleWithBody Create alerting rule
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `CreateAlertingRule` operationId).
	CreateAlertingRuleWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateAlertingRule Create alerting rule
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `CreateAlertingRule` operationId).
	CreateAlertingRule(ctx context.Context, orgName string, appName string, body CreateAlertingRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAlertingRule Delete alerting rule
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/alerting-rules/{ruleId} (the `DeleteAlertingRule` operationId).
	DeleteAlertingRule(ctx context.Context, orgName string, appName string, ruleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAutoscale Get autoscaling recommendation
	//
	// Computes how many executors each of the application's versions needs right now, given the backlog of its stored autoscaling policy's queue. Returns one entry per version. 404 when no policy is installed; 400 when the policy queue is no longer scalable. Requires a DBOS Teams subscription.
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/autoscale (the `GetAutoscale` operationId).
	GetAutoscale(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAutoscaleVersion Get one version's autoscaling recommendation
	//
	// Computes how many executors one application version needs right now, given the backlog of the stored autoscaling policy's queue. Made to be polled per version, e.g. by one KEDA ScaledObject per version's deployment. The latest version is always sized to at least 1; an old version reports 0 once it has no work left on that queue, signaling it can be torn down. 404 when no policy is installed or the version was never registered; 400 when the policy queue is no longer scalable. Requires a DBOS Teams subscription.
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/autoscale/versions/{version} (the `GetAutoscaleVersion` operationId).
	GetAutoscaleVersion(ctx context.Context, orgName string, appName string, version string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAutoscalingPolicy Delete autoscaling policy
	//
	// Clears the stored policy. Deleting an absent policy succeeds. Requires a DBOS Teams subscription.
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `DeleteAutoscalingPolicy` operationId).
	DeleteAutoscalingPolicy(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAutoscalingPolicy Get autoscaling policy
	//
	// Returns the application's stored queue-based autoscaling policy; 404 when none is set. Requires a DBOS Teams subscription.
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `GetAutoscalingPolicy` operationId).
	GetAutoscalingPolicy(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetAutoscalingPolicyWithBody Set autoscaling policy
	//
	// Validates and stores the policy, echoing it back as stored. The named queue must exist and be scalable — worker_concurrency set — validated from a healthy executor. Requires a DBOS Teams subscription.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `SetAutoscalingPolicy` operationId).
	SetAutoscalingPolicyWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetAutoscalingPolicy Set autoscaling policy
	//
	// Validates and stores the policy, echoing it back as stored. The named queue must exist and be scalable — worker_concurrency set — validated from a healthy executor. Requires a DBOS Teams subscription.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `SetAutoscalingPolicy` operationId).
	SetAutoscalingPolicy(ctx context.Context, orgName string, appName string, body SetAutoscalingPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListExecutors List executors
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/executors (the `ListExecutors` operationId).
	ListExecutors(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListMetrics List metrics
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/metrics (the `ListMetrics` operationId).
	ListMetrics(ctx context.Context, orgName string, appName string, params *ListMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MoveAppWithBody Move application
	//
	// Moves a Conductor application to another workspace of the org. It keeps its name, history and connected executors; moving it to the workspace it is in changes nothing. DBOS Cloud applications can't be moved.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/move (the `MoveApp` operationId).
	MoveAppWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MoveApp Move application
	//
	// Moves a Conductor application to another workspace of the org. It keeps its name, history and connected executors; moving it to the workspace it is in changes nothing. DBOS Cloud applications can't be moved.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/move (the `MoveApp` operationId).
	MoveApp(ctx context.Context, orgName string, appName string, body MoveAppJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListQueues List queues
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/queues (the `ListQueues` operationId).
	ListQueues(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetQueue Get queue
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/queues/{queueName} (the `GetQueue` operationId).
	GetQueue(ctx context.Context, orgName string, appName string, queueName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSavedViews List saved views
	//
	// A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404. Ordered by name, ignoring case.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/saved-views (the `ListSavedViews` operationId).
	ListSavedViews(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSavedViewWithBody Create saved view
	//
	// A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404. A user may keep at most 100 saved views per application; beyond that, and for a name already taken, the response is 409.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/saved-views (the `CreateSavedView` operationId).
	CreateSavedViewWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSavedView Create saved view
	//
	// A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404. A user may keep at most 100 saved views per application; beyond that, and for a name already taken, the response is 409.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/saved-views (the `CreateSavedView` operationId).
	CreateSavedView(ctx context.Context, orgName string, appName string, body CreateSavedViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSavedView Delete saved view
	//
	// A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/saved-views/{savedViewId} (the `DeleteSavedView` operationId).
	DeleteSavedView(ctx context.Context, orgName string, appName string, savedViewId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSavedViewWithBody Update saved view
	//
	// A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404. Changes the name and/or the search state; at least one must be given. Last write wins.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/saved-views/{savedViewId} (the `UpdateSavedView` operationId).
	UpdateSavedViewWithBody(ctx context.Context, orgName string, appName string, savedViewId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSavedView Update saved view
	//
	// A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404. Changes the name and/or the search state; at least one must be given. Last write wins.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/saved-views/{savedViewId} (the `UpdateSavedView` operationId).
	UpdateSavedView(ctx context.Context, orgName string, appName string, savedViewId string, body UpdateSavedViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSchedules List schedules
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/schedules (the `ListSchedules` operationId).
	ListSchedules(ctx context.Context, orgName string, appName string, params *ListSchedulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSchedule Get schedule
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName} (the `GetSchedule` operationId).
	GetSchedule(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BackfillScheduleWithBody Backfill schedule
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/backfill (the `BackfillSchedule` operationId).
	BackfillScheduleWithBody(ctx context.Context, orgName string, appName string, scheduleName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BackfillSchedule Backfill schedule
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/backfill (the `BackfillSchedule` operationId).
	BackfillSchedule(ctx context.Context, orgName string, appName string, scheduleName string, body BackfillScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PauseSchedule Pause schedule
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/pause (the `PauseSchedule` operationId).
	PauseSchedule(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResumeSchedule Resume schedule
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/resume (the `ResumeSchedule` operationId).
	ResumeSchedule(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TriggerSchedule Trigger schedule
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/trigger (the `TriggerSchedule` operationId).
	TriggerSchedule(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetStepAggregatesWithBody Get step aggregates
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/steps/aggregates (the `GetStepAggregates` operationId).
	GetStepAggregatesWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetStepAggregates Get step aggregates
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/steps/aggregates (the `GetStepAggregates` operationId).
	GetStepAggregates(ctx context.Context, orgName string, appName string, body GetStepAggregatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAppVersions List application versions
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/versions (the `ListAppVersions` operationId).
	ListAppVersions(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetLatestAppVersionWithBody Set latest application version
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/versions/latest (the `SetLatestAppVersion` operationId).
	SetLatestAppVersionWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetLatestAppVersion Set latest application version
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/versions/latest (the `SetLatestAppVersion` operationId).
	SetLatestAppVersion(ctx context.Context, orgName string, appName string, body SetLatestAppVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListWorkflows List workflows
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows (the `ListWorkflows` operationId).
	ListWorkflows(ctx context.Context, orgName string, appName string, params *ListWorkflowsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkflowAggregatesWithBody Get workflow aggregates
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/aggregates (the `GetWorkflowAggregates` operationId).
	GetWorkflowAggregatesWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkflowAggregates Get workflow aggregates
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/aggregates (the `GetWorkflowAggregates` operationId).
	GetWorkflowAggregates(ctx context.Context, orgName string, appName string, body GetWorkflowAggregatesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BulkCancelWorkflowsWithBody Bulk cancel workflows
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-cancel (the `BulkCancelWorkflows` operationId).
	BulkCancelWorkflowsWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BulkCancelWorkflows Bulk cancel workflows
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-cancel (the `BulkCancelWorkflows` operationId).
	BulkCancelWorkflows(ctx context.Context, orgName string, appName string, body BulkCancelWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BulkDeleteWorkflowsWithBody Bulk delete workflows
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-delete (the `BulkDeleteWorkflows` operationId).
	BulkDeleteWorkflowsWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BulkDeleteWorkflows Bulk delete workflows
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-delete (the `BulkDeleteWorkflows` operationId).
	BulkDeleteWorkflows(ctx context.Context, orgName string, appName string, body BulkDeleteWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BulkForkWorkflowsFromFailureWithBody Bulk fork workflows from failure
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-fork-from-failure (the `BulkForkWorkflowsFromFailure` operationId).
	BulkForkWorkflowsFromFailureWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BulkForkWorkflowsFromFailure Bulk fork workflows from failure
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-fork-from-failure (the `BulkForkWorkflowsFromFailure` operationId).
	BulkForkWorkflowsFromFailure(ctx context.Context, orgName string, appName string, body BulkForkWorkflowsFromFailureJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BulkResumeWorkflowsWithBody Bulk resume workflows
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-resume (the `BulkResumeWorkflows` operationId).
	BulkResumeWorkflowsWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BulkResumeWorkflows Bulk resume workflows
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-resume (the `BulkResumeWorkflows` operationId).
	BulkResumeWorkflows(ctx context.Context, orgName string, appName string, body BulkResumeWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ImportWorkflowWithBody Import workflow
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/import (the `ImportWorkflow` operationId).
	ImportWorkflowWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ImportWorkflow Import workflow
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/import (the `ImportWorkflow` operationId).
	ImportWorkflow(ctx context.Context, orgName string, appName string, body ImportWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkflowMetricsHistoryWithBody Get archived workflow metrics
	//
	// Renders the workflow filter charts from conductor's archive of observed terminal activity, without querying the application's database. 404 when the application has no archive yet.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/metrics/history (the `GetWorkflowMetricsHistory` operationId).
	GetWorkflowMetricsHistoryWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkflowMetricsHistory Get archived workflow metrics
	//
	// Renders the workflow filter charts from conductor's archive of observed terminal activity, without querying the application's database. 404 when the application has no archive yet.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/metrics/history (the `GetWorkflowMetricsHistory` operationId).
	GetWorkflowMetricsHistory(ctx context.Context, orgName string, appName string, body GetWorkflowMetricsHistoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkflowMetricsLiveWithBody Get the live supplement to archived workflow metrics
	//
	// Asks one executor, under one 20-second budget, for terminal completions since the history response's watermark (at most 15 minutes back) and for the workflows still pending, both within the effective creation range. Source failures are per-component outcomes, never errors. 400 for a context outside this application's archive, 404 without an archive.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/metrics/live (the `GetWorkflowMetricsLive` operationId).
	GetWorkflowMetricsLiveWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkflowMetricsLive Get the live supplement to archived workflow metrics
	//
	// Asks one executor, under one 20-second budget, for terminal completions since the history response's watermark (at most 15 minutes back) and for the workflows still pending, both within the effective creation range. Source failures are per-component outcomes, never errors. 400 for a context outside this application's archive, 404 without an archive.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/metrics/live (the `GetWorkflowMetricsLive` operationId).
	GetWorkflowMetricsLive(ctx context.Context, orgName string, appName string, body GetWorkflowMetricsLiveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SearchWorkflowsWithBody Search workflows
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/search (the `SearchWorkflows` operationId).
	SearchWorkflowsWithBody(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SearchWorkflows Search workflows
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/search (the `SearchWorkflows` operationId).
	SearchWorkflows(ctx context.Context, orgName string, appName string, body SearchWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteWorkflow Delete workflow
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId} (the `DeleteWorkflow` operationId).
	DeleteWorkflow(ctx context.Context, orgName string, appName string, workflowId string, params *DeleteWorkflowParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkflow Get workflow
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId} (the `GetWorkflow` operationId).
	GetWorkflow(ctx context.Context, orgName string, appName string, workflowId string, params *GetWorkflowParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CancelWorkflowWithBody Cancel workflow
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/cancel (the `CancelWorkflow` operationId).
	CancelWorkflowWithBody(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CancelWorkflow Cancel workflow
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/cancel (the `CancelWorkflow` operationId).
	CancelWorkflow(ctx context.Context, orgName string, appName string, workflowId string, body CancelWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListWorkflowEvents List workflow events
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/events (the `ListWorkflowEvents` operationId).
	ListWorkflowEvents(ctx context.Context, orgName string, appName string, workflowId string, params *ListWorkflowEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportWorkflow Export workflow
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/export (the `ExportWorkflow` operationId).
	ExportWorkflow(ctx context.Context, orgName string, appName string, workflowId string, params *ExportWorkflowParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ForkWorkflowWithBody Fork workflow
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/fork (the `ForkWorkflow` operationId).
	ForkWorkflowWithBody(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ForkWorkflow Fork workflow
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/fork (the `ForkWorkflow` operationId).
	ForkWorkflow(ctx context.Context, orgName string, appName string, workflowId string, body ForkWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListWorkflowNotifications List workflow notifications
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/notifications (the `ListWorkflowNotifications` operationId).
	ListWorkflowNotifications(ctx context.Context, orgName string, appName string, workflowId string, params *ListWorkflowNotificationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResumeWorkflowWithBody Resume workflow
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/resume (the `ResumeWorkflow` operationId).
	ResumeWorkflowWithBody(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResumeWorkflow Resume workflow
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/resume (the `ResumeWorkflow` operationId).
	ResumeWorkflow(ctx context.Context, orgName string, appName string, workflowId string, body ResumeWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RewindWorkflowWithBody Rewind workflow
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/rewind (the `RewindWorkflow` operationId).
	RewindWorkflowWithBody(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RewindWorkflow Rewind workflow
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/rewind (the `RewindWorkflow` operationId).
	RewindWorkflow(ctx context.Context, orgName string, appName string, workflowId string, body RewindWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListWorkflowSteps List workflow steps
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/steps (the `ListWorkflowSteps` operationId).
	ListWorkflowSteps(ctx context.Context, orgName string, appName string, workflowId string, params *ListWorkflowStepsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListWorkflowStreams List workflow streams
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/streams (the `ListWorkflowStreams` operationId).
	ListWorkflowStreams(ctx context.Context, orgName string, appName string, workflowId string, params *ListWorkflowStreamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAuditLogs List audit logs
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Corresponds with GET /v2/orgs/{orgName}/audit-logs (the `ListAuditLogs` operationId).
	ListAuditLogs(ctx context.Context, orgName string, params *ListAuditLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListDomainClaims List domain claims
	//
	// A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Corresponds with GET /v2/orgs/{orgName}/domain-claims (the `ListDomainClaims` operationId).
	ListDomainClaims(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestDomainClaimWithBody Claim a domain
	//
	// A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/domain-claims (the `RequestDomainClaim` operationId).
	RequestDomainClaimWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RequestDomainClaim Claim a domain
	//
	// A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/domain-claims (the `RequestDomainClaim` operationId).
	RequestDomainClaim(ctx context.Context, orgName string, body RequestDomainClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReleaseDomainClaim Release a domain claim
	//
	// A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/domain-claims/{domain} (the `ReleaseDomainClaim` operationId).
	ReleaseDomainClaim(ctx context.Context, orgName string, domain string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JoinOrgWithBody Join org
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/join (the `JoinOrg` operationId).
	JoinOrgWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JoinOrg Join org
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/join (the `JoinOrg` operationId).
	JoinOrg(ctx context.Context, orgName string, body JoinOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetOrgLimitsWithBody Set org limits
	//
	// Sets the org's maxTeamMembers, maxConductorApps and maxWorkspaces to the given values and returns the updated org. At least one value must be given; an omitted value is left unchanged. Limits can only be raised here, never lowered; setting a limit to its current value is a no-op. Requires a DBOS Teams subscription.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/limits (the `SetOrgLimits` operationId).
	SetOrgLimitsWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetOrgLimits Set org limits
	//
	// Sets the org's maxTeamMembers, maxConductorApps and maxWorkspaces to the given values and returns the updated org. At least one value must be given; an omitted value is left unchanged. Limits can only be raised here, never lowered; setting a limit to its current value is a no-op. Requires a DBOS Teams subscription.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/limits (the `SetOrgLimits` operationId).
	SetOrgLimits(ctx context.Context, orgName string, body SetOrgLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListMembers List members
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Corresponds with GET /v2/orgs/{orgName}/members (the `ListMembers` operationId).
	ListMembers(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveMember Remove member
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/members/{username} (the `RemoveMember` operationId).
	RemoveMember(ctx context.Context, orgName string, username string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeRole Revoke role
	//
	// Removes the member's role for the whole organization, leaving only their roles in single workspaces.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/members/{username}/role (the `RevokeRole` operationId).
	RevokeRole(ctx context.Context, orgName string, username string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GrantRole Grant role
	//
	// Sets the member's role for the whole organization, replacing the one they hold.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Corresponds with PUT /v2/orgs/{orgName}/members/{username}/roles/{roleName} (the `GrantRole` operationId).
	GrantRole(ctx context.Context, orgName string, username string, roleName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPermissions List permissions
	//
	// Corresponds with GET /v2/orgs/{orgName}/permissions (the `ListPermissions` operationId).
	ListPermissions(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListRoles List roles
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Corresponds with GET /v2/orgs/{orgName}/roles (the `ListRoles` operationId).
	ListRoles(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateRoleWithBody Create role
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/roles (the `CreateRole` operationId).
	CreateRoleWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateRole Create role
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/roles (the `CreateRole` operationId).
	CreateRole(ctx context.Context, orgName string, body CreateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteRole Delete role
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/roles/{roleName} (the `DeleteRole` operationId).
	DeleteRole(ctx context.Context, orgName string, roleName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenerateSecret Generate join secret
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Corresponds with POST /v2/orgs/{orgName}/secrets (the `GenerateSecret` operationId).
	GenerateSecret(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTokens List tokens
	//
	// Corresponds with GET /v2/orgs/{orgName}/tokens (the `ListTokens` operationId).
	ListTokens(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteToken Delete token
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/tokens/{tokenName} (the `DeleteToken` operationId).
	DeleteToken(ctx context.Context, orgName string, tokenName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateTokenWithBody Update token
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/tokens/{tokenName} (the `UpdateToken` operationId).
	UpdateTokenWithBody(ctx context.Context, orgName string, tokenName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateToken Update token
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/tokens/{tokenName} (the `UpdateToken` operationId).
	UpdateToken(ctx context.Context, orgName string, tokenName string, body UpdateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTokenWithBody Create token
	//
	// Creates an API key for all applications, for the applications in appNames, or for those in workspaces.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/tokens/{tokenName} (the `CreateToken` operationId).
	CreateTokenWithBody(ctx context.Context, orgName string, tokenName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateToken Create token
	//
	// Creates an API key for all applications, for the applications in appNames, or for those in workspaces.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/tokens/{tokenName} (the `CreateToken` operationId).
	CreateToken(ctx context.Context, orgName string, tokenName string, body CreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListWorkspaces List workspaces
	//
	// Lists every workspace of the org, ordered by name. Any member of the org, and any of its API keys, may list them regardless of permissions.
	//
	// Corresponds with GET /v2/orgs/{orgName}/workspaces (the `ListWorkspaces` operationId).
	ListWorkspaces(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateWorkspaceWithBody Create workspace
	//
	// Creates an empty workspace. On DBOS-managed Conductor, creation is refused once the org has as many workspaces as its maxWorkspaces limit; self-hosted Conductor has no workspace limit.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/workspaces (the `CreateWorkspace` operationId).
	CreateWorkspaceWithBody(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateWorkspace Create workspace
	//
	// Creates an empty workspace. On DBOS-managed Conductor, creation is refused once the org has as many workspaces as its maxWorkspaces limit; self-hosted Conductor has no workspace limit.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/orgs/{orgName}/workspaces (the `CreateWorkspace` operationId).
	CreateWorkspace(ctx context.Context, orgName string, body CreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteWorkspace Delete workspace
	//
	// Deletes an empty workspace, as long as the org keeps another one. API keys left with no access are revoked.
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/workspaces/{workspaceName} (the `DeleteWorkspace` operationId).
	DeleteWorkspace(ctx context.Context, orgName string, workspaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RenameWorkspaceWithBody Rename workspace
	//
	// Renames a workspace. Its applications stay in it.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/workspaces/{workspaceName} (the `RenameWorkspace` operationId).
	RenameWorkspaceWithBody(ctx context.Context, orgName string, workspaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RenameWorkspace Rename workspace
	//
	// Renames a workspace. Its applications stay in it.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/workspaces/{workspaceName} (the `RenameWorkspace` operationId).
	RenameWorkspace(ctx context.Context, orgName string, workspaceName string, body RenameWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeWorkspaceRole Revoke workspace role
	//
	// Removes the member's role in the workspace.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/workspaces/{workspaceName}/members/{username}/role (the `RevokeWorkspaceRole` operationId).
	RevokeWorkspaceRole(ctx context.Context, orgName string, workspaceName string, username string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GrantWorkspaceRole Grant workspace role
	//
	// Sets the member's role in the workspace, replacing the one they hold there. The role may hold only application.read, application.write, metric.read, websocket.connect.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Corresponds with PUT /v2/orgs/{orgName}/workspaces/{workspaceName}/members/{username}/roles/{roleName} (the `GrantWorkspaceRole` operationId).
	GrantWorkspaceRole(ctx context.Context, orgName string, workspaceName string, username string, roleName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RegisterUserWithBody Register user
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/users (the `RegisterUser` operationId).
	RegisterUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RegisterUser Register user
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/users (the `RegisterUser` operationId).
	RegisterUser(ctx context.Context, body RegisterUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCurrentUser Get current user
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Corresponds with GET /v2/users/me (the `GetCurrentUser` operationId).
	GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) BackfillScheduleWithBodyWithResponse

func (c *ClientWithResponses) BackfillScheduleWithBodyWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BackfillScheduleResponse, error)

BackfillScheduleWithBodyWithResponse Backfill schedule

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/backfill (the `BackfillSchedule` operationId).

func (*ClientWithResponses) BackfillScheduleWithResponse

func (c *ClientWithResponses) BackfillScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, body BackfillScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*BackfillScheduleResponse, error)

BackfillScheduleWithResponse Backfill schedule

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/backfill (the `BackfillSchedule` operationId).

func (*ClientWithResponses) BulkCancelWorkflowsWithBodyWithResponse

func (c *ClientWithResponses) BulkCancelWorkflowsWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkCancelWorkflowsResponse, error)

BulkCancelWorkflowsWithBodyWithResponse Bulk cancel workflows

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-cancel (the `BulkCancelWorkflows` operationId).

func (*ClientWithResponses) BulkCancelWorkflowsWithResponse

func (c *ClientWithResponses) BulkCancelWorkflowsWithResponse(ctx context.Context, orgName string, appName string, body BulkCancelWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkCancelWorkflowsResponse, error)

BulkCancelWorkflowsWithResponse Bulk cancel workflows

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-cancel (the `BulkCancelWorkflows` operationId).

func (*ClientWithResponses) BulkDeleteWorkflowsWithBodyWithResponse

func (c *ClientWithResponses) BulkDeleteWorkflowsWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkDeleteWorkflowsResponse, error)

BulkDeleteWorkflowsWithBodyWithResponse Bulk delete workflows

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-delete (the `BulkDeleteWorkflows` operationId).

func (*ClientWithResponses) BulkDeleteWorkflowsWithResponse

func (c *ClientWithResponses) BulkDeleteWorkflowsWithResponse(ctx context.Context, orgName string, appName string, body BulkDeleteWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkDeleteWorkflowsResponse, error)

BulkDeleteWorkflowsWithResponse Bulk delete workflows

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-delete (the `BulkDeleteWorkflows` operationId).

func (*ClientWithResponses) BulkForkWorkflowsFromFailureWithBodyWithResponse

func (c *ClientWithResponses) BulkForkWorkflowsFromFailureWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkForkWorkflowsFromFailureResponse, error)

BulkForkWorkflowsFromFailureWithBodyWithResponse Bulk fork workflows from failure

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-fork-from-failure (the `BulkForkWorkflowsFromFailure` operationId).

func (*ClientWithResponses) BulkForkWorkflowsFromFailureWithResponse

func (c *ClientWithResponses) BulkForkWorkflowsFromFailureWithResponse(ctx context.Context, orgName string, appName string, body BulkForkWorkflowsFromFailureJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkForkWorkflowsFromFailureResponse, error)

BulkForkWorkflowsFromFailureWithResponse Bulk fork workflows from failure

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-fork-from-failure (the `BulkForkWorkflowsFromFailure` operationId).

func (*ClientWithResponses) BulkResumeWorkflowsWithBodyWithResponse

func (c *ClientWithResponses) BulkResumeWorkflowsWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkResumeWorkflowsResponse, error)

BulkResumeWorkflowsWithBodyWithResponse Bulk resume workflows

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-resume (the `BulkResumeWorkflows` operationId).

func (*ClientWithResponses) BulkResumeWorkflowsWithResponse

func (c *ClientWithResponses) BulkResumeWorkflowsWithResponse(ctx context.Context, orgName string, appName string, body BulkResumeWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkResumeWorkflowsResponse, error)

BulkResumeWorkflowsWithResponse Bulk resume workflows

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-resume (the `BulkResumeWorkflows` operationId).

func (*ClientWithResponses) CancelWorkflowWithBodyWithResponse

func (c *ClientWithResponses) CancelWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CancelWorkflowResponse, error)

CancelWorkflowWithBodyWithResponse Cancel workflow

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/cancel (the `CancelWorkflow` operationId).

func (*ClientWithResponses) CancelWorkflowWithResponse

func (c *ClientWithResponses) CancelWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, body CancelWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*CancelWorkflowResponse, error)

CancelWorkflowWithResponse Cancel workflow

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/cancel (the `CancelWorkflow` operationId).

func (*ClientWithResponses) CreateAlertingRuleWithBodyWithResponse

func (c *ClientWithResponses) CreateAlertingRuleWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAlertingRuleResponse, error)

CreateAlertingRuleWithBodyWithResponse Create alerting rule

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `CreateAlertingRule` operationId).

func (*ClientWithResponses) CreateAlertingRuleWithResponse

func (c *ClientWithResponses) CreateAlertingRuleWithResponse(ctx context.Context, orgName string, appName string, body CreateAlertingRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAlertingRuleResponse, error)

CreateAlertingRuleWithResponse Create alerting rule

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `CreateAlertingRule` operationId).

func (*ClientWithResponses) CreateRoleWithBodyWithResponse

func (c *ClientWithResponses) CreateRoleWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRoleResponse, error)

CreateRoleWithBodyWithResponse Create role

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/roles (the `CreateRole` operationId).

func (*ClientWithResponses) CreateRoleWithResponse

func (c *ClientWithResponses) CreateRoleWithResponse(ctx context.Context, orgName string, body CreateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRoleResponse, error)

CreateRoleWithResponse Create role

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/roles (the `CreateRole` operationId).

func (*ClientWithResponses) CreateSavedViewWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateSavedViewWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSavedViewResponse, error)

CreateSavedViewWithBodyWithResponse Create saved view

A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404. A user may keep at most 100 saved views per application; beyond that, and for a name already taken, the response is 409.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/saved-views (the `CreateSavedView` operationId).

func (*ClientWithResponses) CreateSavedViewWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateSavedViewWithResponse(ctx context.Context, orgName string, appName string, body CreateSavedViewJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSavedViewResponse, error)

CreateSavedViewWithResponse Create saved view

A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404. A user may keep at most 100 saved views per application; beyond that, and for a name already taken, the response is 409.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/saved-views (the `CreateSavedView` operationId).

func (*ClientWithResponses) CreateTokenWithBodyWithResponse

func (c *ClientWithResponses) CreateTokenWithBodyWithResponse(ctx context.Context, orgName string, tokenName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTokenResponse, error)

CreateTokenWithBodyWithResponse Create token

Creates an API key for all applications, for the applications in appNames, or for those in workspaces.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/tokens/{tokenName} (the `CreateToken` operationId).

func (*ClientWithResponses) CreateTokenWithResponse

func (c *ClientWithResponses) CreateTokenWithResponse(ctx context.Context, orgName string, tokenName string, body CreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTokenResponse, error)

CreateTokenWithResponse Create token

Creates an API key for all applications, for the applications in appNames, or for those in workspaces.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/tokens/{tokenName} (the `CreateToken` operationId).

func (*ClientWithResponses) CreateWorkspaceWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateWorkspaceWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkspaceResponse, error)

CreateWorkspaceWithBodyWithResponse Create workspace

Creates an empty workspace. On DBOS-managed Conductor, creation is refused once the org has as many workspaces as its maxWorkspaces limit; self-hosted Conductor has no workspace limit.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/workspaces (the `CreateWorkspace` operationId).

func (*ClientWithResponses) CreateWorkspaceWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateWorkspaceWithResponse(ctx context.Context, orgName string, body CreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkspaceResponse, error)

CreateWorkspaceWithResponse Create workspace

Creates an empty workspace. On DBOS-managed Conductor, creation is refused once the org has as many workspaces as its maxWorkspaces limit; self-hosted Conductor has no workspace limit.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/workspaces (the `CreateWorkspace` operationId).

func (*ClientWithResponses) DeleteAlertingRuleWithResponse

func (c *ClientWithResponses) DeleteAlertingRuleWithResponse(ctx context.Context, orgName string, appName string, ruleId string, reqEditors ...RequestEditorFn) (*DeleteAlertingRuleResponse, error)

DeleteAlertingRuleWithResponse Delete alerting rule

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/alerting-rules/{ruleId} (the `DeleteAlertingRule` operationId).

func (*ClientWithResponses) DeleteAppWithResponse

func (c *ClientWithResponses) DeleteAppWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*DeleteAppResponse, error)

DeleteAppWithResponse Delete application

Deletes an application. API keys left with no access are revoked.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName} (the `DeleteApp` operationId).

func (*ClientWithResponses) DeleteAutoscalingPolicyWithResponse

func (c *ClientWithResponses) DeleteAutoscalingPolicyWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*DeleteAutoscalingPolicyResponse, error)

DeleteAutoscalingPolicyWithResponse Delete autoscaling policy

Clears the stored policy. Deleting an absent policy succeeds. Requires a DBOS Teams subscription.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `DeleteAutoscalingPolicy` operationId).

func (*ClientWithResponses) DeleteRoleWithResponse

func (c *ClientWithResponses) DeleteRoleWithResponse(ctx context.Context, orgName string, roleName string, reqEditors ...RequestEditorFn) (*DeleteRoleResponse, error)

DeleteRoleWithResponse Delete role

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/orgs/{orgName}/roles/{roleName} (the `DeleteRole` operationId).

func (*ClientWithResponses) DeleteSavedViewWithResponse added in v0.14.0

func (c *ClientWithResponses) DeleteSavedViewWithResponse(ctx context.Context, orgName string, appName string, savedViewId string, reqEditors ...RequestEditorFn) (*DeleteSavedViewResponse, error)

DeleteSavedViewWithResponse Delete saved view

A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/saved-views/{savedViewId} (the `DeleteSavedView` operationId).

func (*ClientWithResponses) DeleteTokenWithResponse

func (c *ClientWithResponses) DeleteTokenWithResponse(ctx context.Context, orgName string, tokenName string, reqEditors ...RequestEditorFn) (*DeleteTokenResponse, error)

DeleteTokenWithResponse Delete token

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/orgs/{orgName}/tokens/{tokenName} (the `DeleteToken` operationId).

func (*ClientWithResponses) DeleteWorkflowWithResponse

func (c *ClientWithResponses) DeleteWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, params *DeleteWorkflowParams, reqEditors ...RequestEditorFn) (*DeleteWorkflowResponse, error)

DeleteWorkflowWithResponse Delete workflow

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId} (the `DeleteWorkflow` operationId).

func (*ClientWithResponses) DeleteWorkspaceWithResponse added in v0.14.0

func (c *ClientWithResponses) DeleteWorkspaceWithResponse(ctx context.Context, orgName string, workspaceName string, reqEditors ...RequestEditorFn) (*DeleteWorkspaceResponse, error)

DeleteWorkspaceWithResponse Delete workspace

Deletes an empty workspace, as long as the org keeps another one. API keys left with no access are revoked.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/orgs/{orgName}/workspaces/{workspaceName} (the `DeleteWorkspace` operationId).

func (*ClientWithResponses) ExportWorkflowWithResponse

func (c *ClientWithResponses) ExportWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, params *ExportWorkflowParams, reqEditors ...RequestEditorFn) (*ExportWorkflowResponse, error)

ExportWorkflowWithResponse Export workflow

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/export (the `ExportWorkflow` operationId).

func (*ClientWithResponses) ForkWorkflowWithBodyWithResponse

func (c *ClientWithResponses) ForkWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ForkWorkflowResponse, error)

ForkWorkflowWithBodyWithResponse Fork workflow

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/fork (the `ForkWorkflow` operationId).

func (*ClientWithResponses) ForkWorkflowWithResponse

func (c *ClientWithResponses) ForkWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, body ForkWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*ForkWorkflowResponse, error)

ForkWorkflowWithResponse Fork workflow

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/fork (the `ForkWorkflow` operationId).

func (*ClientWithResponses) GenerateSecretWithResponse

func (c *ClientWithResponses) GenerateSecretWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*GenerateSecretResponse, error)

GenerateSecretWithResponse Generate join secret

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/secrets (the `GenerateSecret` operationId).

func (*ClientWithResponses) GetAppWithResponse

func (c *ClientWithResponses) GetAppWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*GetAppResponse, error)

GetAppWithResponse Get application

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/apps/{appName} (the `GetApp` operationId).

func (*ClientWithResponses) GetAutoscaleVersionWithResponse added in v0.11.0

func (c *ClientWithResponses) GetAutoscaleVersionWithResponse(ctx context.Context, orgName string, appName string, version string, reqEditors ...RequestEditorFn) (*GetAutoscaleVersionResponse, error)

GetAutoscaleVersionWithResponse Get one version's autoscaling recommendation

Computes how many executors one application version needs right now, given the backlog of the stored autoscaling policy's queue. Made to be polled per version, e.g. by one KEDA ScaledObject per version's deployment. The latest version is always sized to at least 1; an old version reports 0 once it has no work left on that queue, signaling it can be torn down. 404 when no policy is installed or the version was never registered; 400 when the policy queue is no longer scalable. Requires a DBOS Teams subscription.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/autoscale/versions/{version} (the `GetAutoscaleVersion` operationId).

func (*ClientWithResponses) GetAutoscaleWithResponse

func (c *ClientWithResponses) GetAutoscaleWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*GetAutoscaleResponse, error)

GetAutoscaleWithResponse Get autoscaling recommendation

Computes how many executors each of the application's versions needs right now, given the backlog of its stored autoscaling policy's queue. Returns one entry per version. 404 when no policy is installed; 400 when the policy queue is no longer scalable. Requires a DBOS Teams subscription.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/autoscale (the `GetAutoscale` operationId).

func (*ClientWithResponses) GetAutoscalingPolicyWithResponse

func (c *ClientWithResponses) GetAutoscalingPolicyWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*GetAutoscalingPolicyResponse, error)

GetAutoscalingPolicyWithResponse Get autoscaling policy

Returns the application's stored queue-based autoscaling policy; 404 when none is set. Requires a DBOS Teams subscription.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `GetAutoscalingPolicy` operationId).

func (*ClientWithResponses) GetCurrentUserWithResponse

func (c *ClientWithResponses) GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)

GetCurrentUserWithResponse Get current user

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/users/me (the `GetCurrentUser` operationId).

func (*ClientWithResponses) GetEntitlementsWithResponse added in v0.13.0

func (c *ClientWithResponses) GetEntitlementsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEntitlementsResponse, error)

GetEntitlementsWithResponse Get Transact Enterprise entitlements

Returns the Transact Enterprise features the calling API key's org may use; a feature reported false is not included in the org's plan. An org past its plan limit gets 403 with X-DBOS-Error: past_limit instead. Self-hosted Conductor grants every feature, and with OAuth disabled it needs no credentials. Otherwise any valid API key is accepted regardless of its permissions, and user credentials are rejected with 401.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/entitlements (the `GetEntitlements` operationId).

func (*ClientWithResponses) GetOrgWithResponse

func (c *ClientWithResponses) GetOrgWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*GetOrgResponse, error)

GetOrgWithResponse Get org

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName} (the `GetOrg` operationId).

func (*ClientWithResponses) GetQueueWithResponse

func (c *ClientWithResponses) GetQueueWithResponse(ctx context.Context, orgName string, appName string, queueName string, reqEditors ...RequestEditorFn) (*GetQueueResponse, error)

GetQueueWithResponse Get queue

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/queues/{queueName} (the `GetQueue` operationId).

func (*ClientWithResponses) GetScheduleWithResponse

func (c *ClientWithResponses) GetScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*GetScheduleResponse, error)

GetScheduleWithResponse Get schedule

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName} (the `GetSchedule` operationId).

func (*ClientWithResponses) GetStepAggregatesWithBodyWithResponse

func (c *ClientWithResponses) GetStepAggregatesWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStepAggregatesResponse, error)

GetStepAggregatesWithBodyWithResponse Get step aggregates

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/steps/aggregates (the `GetStepAggregates` operationId).

func (*ClientWithResponses) GetStepAggregatesWithResponse

func (c *ClientWithResponses) GetStepAggregatesWithResponse(ctx context.Context, orgName string, appName string, body GetStepAggregatesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStepAggregatesResponse, error)

GetStepAggregatesWithResponse Get step aggregates

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/steps/aggregates (the `GetStepAggregates` operationId).

func (*ClientWithResponses) GetWorkflowAggregatesWithBodyWithResponse

func (c *ClientWithResponses) GetWorkflowAggregatesWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetWorkflowAggregatesResponse, error)

GetWorkflowAggregatesWithBodyWithResponse Get workflow aggregates

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/aggregates (the `GetWorkflowAggregates` operationId).

func (*ClientWithResponses) GetWorkflowAggregatesWithResponse

func (c *ClientWithResponses) GetWorkflowAggregatesWithResponse(ctx context.Context, orgName string, appName string, body GetWorkflowAggregatesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetWorkflowAggregatesResponse, error)

GetWorkflowAggregatesWithResponse Get workflow aggregates

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/aggregates (the `GetWorkflowAggregates` operationId).

func (*ClientWithResponses) GetWorkflowMetricsHistoryWithBodyWithResponse added in v0.13.0

func (c *ClientWithResponses) GetWorkflowMetricsHistoryWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetWorkflowMetricsHistoryResponse, error)

GetWorkflowMetricsHistoryWithBodyWithResponse Get archived workflow metrics

Renders the workflow filter charts from conductor's archive of observed terminal activity, without querying the application's database. 404 when the application has no archive yet.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/metrics/history (the `GetWorkflowMetricsHistory` operationId).

func (*ClientWithResponses) GetWorkflowMetricsHistoryWithResponse added in v0.13.0

func (c *ClientWithResponses) GetWorkflowMetricsHistoryWithResponse(ctx context.Context, orgName string, appName string, body GetWorkflowMetricsHistoryJSONRequestBody, reqEditors ...RequestEditorFn) (*GetWorkflowMetricsHistoryResponse, error)

GetWorkflowMetricsHistoryWithResponse Get archived workflow metrics

Renders the workflow filter charts from conductor's archive of observed terminal activity, without querying the application's database. 404 when the application has no archive yet.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/metrics/history (the `GetWorkflowMetricsHistory` operationId).

func (*ClientWithResponses) GetWorkflowMetricsLiveWithBodyWithResponse added in v0.13.0

func (c *ClientWithResponses) GetWorkflowMetricsLiveWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetWorkflowMetricsLiveResponse, error)

GetWorkflowMetricsLiveWithBodyWithResponse Get the live supplement to archived workflow metrics

Asks one executor, under one 20-second budget, for terminal completions since the history response's watermark (at most 15 minutes back) and for the workflows still pending, both within the effective creation range. Source failures are per-component outcomes, never errors. 400 for a context outside this application's archive, 404 without an archive.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/metrics/live (the `GetWorkflowMetricsLive` operationId).

func (*ClientWithResponses) GetWorkflowMetricsLiveWithResponse added in v0.13.0

func (c *ClientWithResponses) GetWorkflowMetricsLiveWithResponse(ctx context.Context, orgName string, appName string, body GetWorkflowMetricsLiveJSONRequestBody, reqEditors ...RequestEditorFn) (*GetWorkflowMetricsLiveResponse, error)

GetWorkflowMetricsLiveWithResponse Get the live supplement to archived workflow metrics

Asks one executor, under one 20-second budget, for terminal completions since the history response's watermark (at most 15 minutes back) and for the workflows still pending, both within the effective creation range. Source failures are per-component outcomes, never errors. 400 for a context outside this application's archive, 404 without an archive.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/metrics/live (the `GetWorkflowMetricsLive` operationId).

func (*ClientWithResponses) GetWorkflowWithResponse

func (c *ClientWithResponses) GetWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, params *GetWorkflowParams, reqEditors ...RequestEditorFn) (*GetWorkflowResponse, error)

GetWorkflowWithResponse Get workflow

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId} (the `GetWorkflow` operationId).

func (*ClientWithResponses) GrantRoleWithResponse

func (c *ClientWithResponses) GrantRoleWithResponse(ctx context.Context, orgName string, username string, roleName string, reqEditors ...RequestEditorFn) (*GrantRoleResponse, error)

GrantRoleWithResponse Grant role

Sets the member's role for the whole organization, replacing the one they hold.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /v2/orgs/{orgName}/members/{username}/roles/{roleName} (the `GrantRole` operationId).

func (*ClientWithResponses) GrantWorkspaceRoleWithResponse added in v0.14.0

func (c *ClientWithResponses) GrantWorkspaceRoleWithResponse(ctx context.Context, orgName string, workspaceName string, username string, roleName string, reqEditors ...RequestEditorFn) (*GrantWorkspaceRoleResponse, error)

GrantWorkspaceRoleWithResponse Grant workspace role

Sets the member's role in the workspace, replacing the one they hold there. The role may hold only application.read, application.write, metric.read, websocket.connect.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /v2/orgs/{orgName}/workspaces/{workspaceName}/members/{username}/roles/{roleName} (the `GrantWorkspaceRole` operationId).

func (*ClientWithResponses) ImportWorkflowWithBodyWithResponse

func (c *ClientWithResponses) ImportWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportWorkflowResponse, error)

ImportWorkflowWithBodyWithResponse Import workflow

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/import (the `ImportWorkflow` operationId).

func (*ClientWithResponses) ImportWorkflowWithResponse

func (c *ClientWithResponses) ImportWorkflowWithResponse(ctx context.Context, orgName string, appName string, body ImportWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportWorkflowResponse, error)

ImportWorkflowWithResponse Import workflow

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/import (the `ImportWorkflow` operationId).

func (*ClientWithResponses) JoinOrgWithBodyWithResponse

func (c *ClientWithResponses) JoinOrgWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JoinOrgResponse, error)

JoinOrgWithBodyWithResponse Join org

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/join (the `JoinOrg` operationId).

func (*ClientWithResponses) JoinOrgWithResponse

func (c *ClientWithResponses) JoinOrgWithResponse(ctx context.Context, orgName string, body JoinOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*JoinOrgResponse, error)

JoinOrgWithResponse Join org

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/join (the `JoinOrg` operationId).

func (*ClientWithResponses) ListAlertingRulesWithResponse

func (c *ClientWithResponses) ListAlertingRulesWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*ListAlertingRulesResponse, error)

ListAlertingRulesWithResponse List alerting rules

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `ListAlertingRules` operationId).

func (*ClientWithResponses) ListAppVersionsWithResponse

func (c *ClientWithResponses) ListAppVersionsWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*ListAppVersionsResponse, error)

ListAppVersionsWithResponse List application versions

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/versions (the `ListAppVersions` operationId).

func (*ClientWithResponses) ListAppsWithResponse

func (c *ClientWithResponses) ListAppsWithResponse(ctx context.Context, orgName string, params *ListAppsParams, reqEditors ...RequestEditorFn) (*ListAppsResponse, error)

ListAppsWithResponse List applications

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/apps (the `ListApps` operationId).

func (*ClientWithResponses) ListAuditLogsWithResponse

func (c *ClientWithResponses) ListAuditLogsWithResponse(ctx context.Context, orgName string, params *ListAuditLogsParams, reqEditors ...RequestEditorFn) (*ListAuditLogsResponse, error)

ListAuditLogsWithResponse List audit logs

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/audit-logs (the `ListAuditLogs` operationId).

func (*ClientWithResponses) ListDomainClaimsWithResponse

func (c *ClientWithResponses) ListDomainClaimsWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListDomainClaimsResponse, error)

ListDomainClaimsWithResponse List domain claims

A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/domain-claims (the `ListDomainClaims` operationId).

func (*ClientWithResponses) ListExecutorsWithResponse

func (c *ClientWithResponses) ListExecutorsWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*ListExecutorsResponse, error)

ListExecutorsWithResponse List executors

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/executors (the `ListExecutors` operationId).

func (*ClientWithResponses) ListMembersWithResponse

func (c *ClientWithResponses) ListMembersWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListMembersResponse, error)

ListMembersWithResponse List members

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/members (the `ListMembers` operationId).

func (*ClientWithResponses) ListMetricsWithResponse

func (c *ClientWithResponses) ListMetricsWithResponse(ctx context.Context, orgName string, appName string, params *ListMetricsParams, reqEditors ...RequestEditorFn) (*ListMetricsResponse, error)

ListMetricsWithResponse List metrics

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/metrics (the `ListMetrics` operationId).

func (*ClientWithResponses) ListPermissionsWithResponse

func (c *ClientWithResponses) ListPermissionsWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListPermissionsResponse, error)

ListPermissionsWithResponse List permissions

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/permissions (the `ListPermissions` operationId).

func (*ClientWithResponses) ListQueuesWithResponse

func (c *ClientWithResponses) ListQueuesWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*ListQueuesResponse, error)

ListQueuesWithResponse List queues

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/queues (the `ListQueues` operationId).

func (*ClientWithResponses) ListRolesWithResponse

func (c *ClientWithResponses) ListRolesWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListRolesResponse, error)

ListRolesWithResponse List roles

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/roles (the `ListRoles` operationId).

func (*ClientWithResponses) ListSavedViewsWithResponse added in v0.14.0

func (c *ClientWithResponses) ListSavedViewsWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*ListSavedViewsResponse, error)

ListSavedViewsWithResponse List saved views

A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404. Ordered by name, ignoring case.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/saved-views (the `ListSavedViews` operationId).

func (*ClientWithResponses) ListSchedulesWithResponse

func (c *ClientWithResponses) ListSchedulesWithResponse(ctx context.Context, orgName string, appName string, params *ListSchedulesParams, reqEditors ...RequestEditorFn) (*ListSchedulesResponse, error)

ListSchedulesWithResponse List schedules

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/schedules (the `ListSchedules` operationId).

func (*ClientWithResponses) ListTokensWithResponse

func (c *ClientWithResponses) ListTokensWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListTokensResponse, error)

ListTokensWithResponse List tokens

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/tokens (the `ListTokens` operationId).

func (*ClientWithResponses) ListWorkflowEventsWithResponse

func (c *ClientWithResponses) ListWorkflowEventsWithResponse(ctx context.Context, orgName string, appName string, workflowId string, params *ListWorkflowEventsParams, reqEditors ...RequestEditorFn) (*ListWorkflowEventsResponse, error)

ListWorkflowEventsWithResponse List workflow events

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/events (the `ListWorkflowEvents` operationId).

func (*ClientWithResponses) ListWorkflowNotificationsWithResponse

func (c *ClientWithResponses) ListWorkflowNotificationsWithResponse(ctx context.Context, orgName string, appName string, workflowId string, params *ListWorkflowNotificationsParams, reqEditors ...RequestEditorFn) (*ListWorkflowNotificationsResponse, error)

ListWorkflowNotificationsWithResponse List workflow notifications

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/notifications (the `ListWorkflowNotifications` operationId).

func (*ClientWithResponses) ListWorkflowStepsWithResponse

func (c *ClientWithResponses) ListWorkflowStepsWithResponse(ctx context.Context, orgName string, appName string, workflowId string, params *ListWorkflowStepsParams, reqEditors ...RequestEditorFn) (*ListWorkflowStepsResponse, error)

ListWorkflowStepsWithResponse List workflow steps

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/steps (the `ListWorkflowSteps` operationId).

func (*ClientWithResponses) ListWorkflowStreamsWithResponse

func (c *ClientWithResponses) ListWorkflowStreamsWithResponse(ctx context.Context, orgName string, appName string, workflowId string, params *ListWorkflowStreamsParams, reqEditors ...RequestEditorFn) (*ListWorkflowStreamsResponse, error)

ListWorkflowStreamsWithResponse List workflow streams

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/streams (the `ListWorkflowStreams` operationId).

func (*ClientWithResponses) ListWorkflowsWithResponse

func (c *ClientWithResponses) ListWorkflowsWithResponse(ctx context.Context, orgName string, appName string, params *ListWorkflowsParams, reqEditors ...RequestEditorFn) (*ListWorkflowsResponse, error)

ListWorkflowsWithResponse List workflows

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows (the `ListWorkflows` operationId).

func (*ClientWithResponses) ListWorkspacesWithResponse added in v0.14.0

func (c *ClientWithResponses) ListWorkspacesWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListWorkspacesResponse, error)

ListWorkspacesWithResponse List workspaces

Lists every workspace of the org, ordered by name. Any member of the org, and any of its API keys, may list them regardless of permissions.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/orgs/{orgName}/workspaces (the `ListWorkspaces` operationId).

func (*ClientWithResponses) MoveAppWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) MoveAppWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveAppResponse, error)

MoveAppWithBodyWithResponse Move application

Moves a Conductor application to another workspace of the org. It keeps its name, history and connected executors; moving it to the workspace it is in changes nothing. DBOS Cloud applications can't be moved.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/move (the `MoveApp` operationId).

func (*ClientWithResponses) MoveAppWithResponse added in v0.14.0

func (c *ClientWithResponses) MoveAppWithResponse(ctx context.Context, orgName string, appName string, body MoveAppJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveAppResponse, error)

MoveAppWithResponse Move application

Moves a Conductor application to another workspace of the org. It keeps its name, history and connected executors; moving it to the workspace it is in changes nothing. DBOS Cloud applications can't be moved.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/move (the `MoveApp` operationId).

func (*ClientWithResponses) PauseScheduleWithResponse

func (c *ClientWithResponses) PauseScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*PauseScheduleResponse, error)

PauseScheduleWithResponse Pause schedule

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/pause (the `PauseSchedule` operationId).

func (*ClientWithResponses) RegisterAppWithBodyWithResponse

func (c *ClientWithResponses) RegisterAppWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterAppResponse, error)

RegisterAppWithBodyWithResponse Register application

Registers an application in a workspace, or confirms the one already registered under this name, so it is safe to repeat. Without a workspace, a new application goes into the org's only workspace; when the org has more than one, creating it fails with a workspace-required error, while an existing application matches wherever it is. Confirming an existing application changes only privateMode, and only if the request sets it. Either way the caller needs application.write in the application's workspace; a grant on the application alone is not enough. Returns 409 if the name belongs to an application the caller cannot write, that DBOS Cloud manages, or that is in a workspace other than the one named, or if creating the application would exceed the organization's application limit.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v2/orgs/{orgName}/apps/{appName} (the `RegisterApp` operationId).

func (*ClientWithResponses) RegisterAppWithResponse

func (c *ClientWithResponses) RegisterAppWithResponse(ctx context.Context, orgName string, appName string, body RegisterAppJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterAppResponse, error)

RegisterAppWithResponse Register application

Registers an application in a workspace, or confirms the one already registered under this name, so it is safe to repeat. Without a workspace, a new application goes into the org's only workspace; when the org has more than one, creating it fails with a workspace-required error, while an existing application matches wherever it is. Confirming an existing application changes only privateMode, and only if the request sets it. Either way the caller needs application.write in the application's workspace; a grant on the application alone is not enough. Returns 409 if the name belongs to an application the caller cannot write, that DBOS Cloud manages, or that is in a workspace other than the one named, or if creating the application would exceed the organization's application limit.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v2/orgs/{orgName}/apps/{appName} (the `RegisterApp` operationId).

func (*ClientWithResponses) RegisterUserWithBodyWithResponse

func (c *ClientWithResponses) RegisterUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterUserResponse, error)

RegisterUserWithBodyWithResponse Register user

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/users (the `RegisterUser` operationId).

func (*ClientWithResponses) RegisterUserWithResponse

func (c *ClientWithResponses) RegisterUserWithResponse(ctx context.Context, body RegisterUserJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterUserResponse, error)

RegisterUserWithResponse Register user

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/users (the `RegisterUser` operationId).

func (*ClientWithResponses) ReleaseDomainClaimWithResponse

func (c *ClientWithResponses) ReleaseDomainClaimWithResponse(ctx context.Context, orgName string, domain string, reqEditors ...RequestEditorFn) (*ReleaseDomainClaimResponse, error)

ReleaseDomainClaimWithResponse Release a domain claim

A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/orgs/{orgName}/domain-claims/{domain} (the `ReleaseDomainClaim` operationId).

func (*ClientWithResponses) RemoveMemberWithResponse

func (c *ClientWithResponses) RemoveMemberWithResponse(ctx context.Context, orgName string, username string, reqEditors ...RequestEditorFn) (*RemoveMemberResponse, error)

RemoveMemberWithResponse Remove member

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/orgs/{orgName}/members/{username} (the `RemoveMember` operationId).

func (*ClientWithResponses) RenameWorkspaceWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) RenameWorkspaceWithBodyWithResponse(ctx context.Context, orgName string, workspaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameWorkspaceResponse, error)

RenameWorkspaceWithBodyWithResponse Rename workspace

Renames a workspace. Its applications stay in it.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/orgs/{orgName}/workspaces/{workspaceName} (the `RenameWorkspace` operationId).

func (*ClientWithResponses) RenameWorkspaceWithResponse added in v0.14.0

func (c *ClientWithResponses) RenameWorkspaceWithResponse(ctx context.Context, orgName string, workspaceName string, body RenameWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameWorkspaceResponse, error)

RenameWorkspaceWithResponse Rename workspace

Renames a workspace. Its applications stay in it.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/orgs/{orgName}/workspaces/{workspaceName} (the `RenameWorkspace` operationId).

func (*ClientWithResponses) RequestDomainClaimWithBodyWithResponse

func (c *ClientWithResponses) RequestDomainClaimWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDomainClaimResponse, error)

RequestDomainClaimWithBodyWithResponse Claim a domain

A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/domain-claims (the `RequestDomainClaim` operationId).

func (*ClientWithResponses) RequestDomainClaimWithResponse

func (c *ClientWithResponses) RequestDomainClaimWithResponse(ctx context.Context, orgName string, body RequestDomainClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDomainClaimResponse, error)

RequestDomainClaimWithResponse Claim a domain

A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/domain-claims (the `RequestDomainClaim` operationId).

func (*ClientWithResponses) ResumeScheduleWithResponse

func (c *ClientWithResponses) ResumeScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*ResumeScheduleResponse, error)

ResumeScheduleWithResponse Resume schedule

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/resume (the `ResumeSchedule` operationId).

func (*ClientWithResponses) ResumeWorkflowWithBodyWithResponse

func (c *ClientWithResponses) ResumeWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResumeWorkflowResponse, error)

ResumeWorkflowWithBodyWithResponse Resume workflow

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/resume (the `ResumeWorkflow` operationId).

func (*ClientWithResponses) ResumeWorkflowWithResponse

func (c *ClientWithResponses) ResumeWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, body ResumeWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*ResumeWorkflowResponse, error)

ResumeWorkflowWithResponse Resume workflow

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/resume (the `ResumeWorkflow` operationId).

func (*ClientWithResponses) RevokeRoleWithResponse added in v0.14.0

func (c *ClientWithResponses) RevokeRoleWithResponse(ctx context.Context, orgName string, username string, reqEditors ...RequestEditorFn) (*RevokeRoleResponse, error)

RevokeRoleWithResponse Revoke role

Removes the member's role for the whole organization, leaving only their roles in single workspaces.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/orgs/{orgName}/members/{username}/role (the `RevokeRole` operationId).

func (*ClientWithResponses) RevokeWorkspaceRoleWithResponse added in v0.14.0

func (c *ClientWithResponses) RevokeWorkspaceRoleWithResponse(ctx context.Context, orgName string, workspaceName string, username string, reqEditors ...RequestEditorFn) (*RevokeWorkspaceRoleResponse, error)

RevokeWorkspaceRoleWithResponse Revoke workspace role

Removes the member's role in the workspace.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/orgs/{orgName}/workspaces/{workspaceName}/members/{username}/role (the `RevokeWorkspaceRole` operationId).

func (*ClientWithResponses) RewindWorkflowWithBodyWithResponse added in v0.13.0

func (c *ClientWithResponses) RewindWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RewindWorkflowResponse, error)

RewindWorkflowWithBodyWithResponse Rewind workflow

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/rewind (the `RewindWorkflow` operationId).

func (*ClientWithResponses) RewindWorkflowWithResponse added in v0.13.0

func (c *ClientWithResponses) RewindWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, body RewindWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*RewindWorkflowResponse, error)

RewindWorkflowWithResponse Rewind workflow

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/rewind (the `RewindWorkflow` operationId).

func (*ClientWithResponses) SearchWorkflowsWithBodyWithResponse

func (c *ClientWithResponses) SearchWorkflowsWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchWorkflowsResponse, error)

SearchWorkflowsWithBodyWithResponse Search workflows

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/search (the `SearchWorkflows` operationId).

func (*ClientWithResponses) SearchWorkflowsWithResponse

func (c *ClientWithResponses) SearchWorkflowsWithResponse(ctx context.Context, orgName string, appName string, body SearchWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchWorkflowsResponse, error)

SearchWorkflowsWithResponse Search workflows

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/search (the `SearchWorkflows` operationId).

func (*ClientWithResponses) SetAutoscalingPolicyWithBodyWithResponse

func (c *ClientWithResponses) SetAutoscalingPolicyWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAutoscalingPolicyResponse, error)

SetAutoscalingPolicyWithBodyWithResponse Set autoscaling policy

Validates and stores the policy, echoing it back as stored. The named queue must exist and be scalable — worker_concurrency set — validated from a healthy executor. Requires a DBOS Teams subscription.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `SetAutoscalingPolicy` operationId).

func (*ClientWithResponses) SetAutoscalingPolicyWithResponse

func (c *ClientWithResponses) SetAutoscalingPolicyWithResponse(ctx context.Context, orgName string, appName string, body SetAutoscalingPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAutoscalingPolicyResponse, error)

SetAutoscalingPolicyWithResponse Set autoscaling policy

Validates and stores the policy, echoing it back as stored. The named queue must exist and be scalable — worker_concurrency set — validated from a healthy executor. Requires a DBOS Teams subscription.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `SetAutoscalingPolicy` operationId).

func (*ClientWithResponses) SetLatestAppVersionWithBodyWithResponse

func (c *ClientWithResponses) SetLatestAppVersionWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetLatestAppVersionResponse, error)

SetLatestAppVersionWithBodyWithResponse Set latest application version

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/versions/latest (the `SetLatestAppVersion` operationId).

func (*ClientWithResponses) SetLatestAppVersionWithResponse

func (c *ClientWithResponses) SetLatestAppVersionWithResponse(ctx context.Context, orgName string, appName string, body SetLatestAppVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetLatestAppVersionResponse, error)

SetLatestAppVersionWithResponse Set latest application version

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/versions/latest (the `SetLatestAppVersion` operationId).

func (*ClientWithResponses) SetOrgLimitsWithBodyWithResponse added in v0.13.0

func (c *ClientWithResponses) SetOrgLimitsWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetOrgLimitsResponse, error)

SetOrgLimitsWithBodyWithResponse Set org limits

Sets the org's maxTeamMembers, maxConductorApps and maxWorkspaces to the given values and returns the updated org. At least one value must be given; an omitted value is left unchanged. Limits can only be raised here, never lowered; setting a limit to its current value is a no-op. Requires a DBOS Teams subscription.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/orgs/{orgName}/limits (the `SetOrgLimits` operationId).

func (*ClientWithResponses) SetOrgLimitsWithResponse added in v0.13.0

func (c *ClientWithResponses) SetOrgLimitsWithResponse(ctx context.Context, orgName string, body SetOrgLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetOrgLimitsResponse, error)

SetOrgLimitsWithResponse Set org limits

Sets the org's maxTeamMembers, maxConductorApps and maxWorkspaces to the given values and returns the updated org. At least one value must be given; an omitted value is left unchanged. Limits can only be raised here, never lowered; setting a limit to its current value is a no-op. Requires a DBOS Teams subscription.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/orgs/{orgName}/limits (the `SetOrgLimits` operationId).

func (*ClientWithResponses) TriggerScheduleWithResponse

func (c *ClientWithResponses) TriggerScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*TriggerScheduleResponse, error)

TriggerScheduleWithResponse Trigger schedule

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/trigger (the `TriggerSchedule` operationId).

func (*ClientWithResponses) UpdateAppWithBodyWithResponse

func (c *ClientWithResponses) UpdateAppWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAppResponse, error)

UpdateAppWithBodyWithResponse Update application

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName} (the `UpdateApp` operationId).

func (*ClientWithResponses) UpdateAppWithResponse

func (c *ClientWithResponses) UpdateAppWithResponse(ctx context.Context, orgName string, appName string, body UpdateAppJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAppResponse, error)

UpdateAppWithResponse Update application

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName} (the `UpdateApp` operationId).

func (*ClientWithResponses) UpdateOrgWithBodyWithResponse

func (c *ClientWithResponses) UpdateOrgWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrgResponse, error)

UpdateOrgWithBodyWithResponse Update org

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/orgs/{orgName} (the `UpdateOrg` operationId).

func (*ClientWithResponses) UpdateOrgWithResponse

func (c *ClientWithResponses) UpdateOrgWithResponse(ctx context.Context, orgName string, body UpdateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrgResponse, error)

UpdateOrgWithResponse Update org

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/orgs/{orgName} (the `UpdateOrg` operationId).

func (*ClientWithResponses) UpdateSavedViewWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) UpdateSavedViewWithBodyWithResponse(ctx context.Context, orgName string, appName string, savedViewId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSavedViewResponse, error)

UpdateSavedViewWithBodyWithResponse Update saved view

A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404. Changes the name and/or the search state; at least one must be given. Last write wins.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/saved-views/{savedViewId} (the `UpdateSavedView` operationId).

func (*ClientWithResponses) UpdateSavedViewWithResponse added in v0.14.0

func (c *ClientWithResponses) UpdateSavedViewWithResponse(ctx context.Context, orgName string, appName string, savedViewId string, body UpdateSavedViewJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSavedViewResponse, error)

UpdateSavedViewWithResponse Update saved view

A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404. Changes the name and/or the search state; at least one must be given. Last write wins.

Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/saved-views/{savedViewId} (the `UpdateSavedView` operationId).

func (*ClientWithResponses) UpdateTokenWithBodyWithResponse added in v0.11.0

func (c *ClientWithResponses) UpdateTokenWithBodyWithResponse(ctx context.Context, orgName string, tokenName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTokenResponse, error)

UpdateTokenWithBodyWithResponse Update token

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/orgs/{orgName}/tokens/{tokenName} (the `UpdateToken` operationId).

func (*ClientWithResponses) UpdateTokenWithResponse added in v0.11.0

func (c *ClientWithResponses) UpdateTokenWithResponse(ctx context.Context, orgName string, tokenName string, body UpdateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTokenResponse, error)

UpdateTokenWithResponse Update token

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v2/orgs/{orgName}/tokens/{tokenName} (the `UpdateToken` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// GetEntitlementsWithResponse Get Transact Enterprise entitlements
	//
	// Returns the Transact Enterprise features the calling API key's org may use; a feature reported false is not included in the org's plan. An org past its plan limit gets 403 with X-DBOS-Error: past_limit instead. Self-hosted Conductor grants every feature, and with OAuth disabled it needs no credentials. Otherwise any valid API key is accepted regardless of its permissions, and user credentials are rejected with 401.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/entitlements (the `GetEntitlements` operationId).
	GetEntitlementsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEntitlementsResponse, error)

	// GetOrgWithResponse Get org
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName} (the `GetOrg` operationId).
	GetOrgWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*GetOrgResponse, error)

	// UpdateOrgWithBodyWithResponse Update org
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/orgs/{orgName} (the `UpdateOrg` operationId).
	UpdateOrgWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrgResponse, error)

	// UpdateOrgWithResponse Update org
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/orgs/{orgName} (the `UpdateOrg` operationId).
	UpdateOrgWithResponse(ctx context.Context, orgName string, body UpdateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrgResponse, error)

	// ListAppsWithResponse List applications
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps (the `ListApps` operationId).
	ListAppsWithResponse(ctx context.Context, orgName string, params *ListAppsParams, reqEditors ...RequestEditorFn) (*ListAppsResponse, error)

	// DeleteAppWithResponse Delete application
	//
	// Deletes an application. API keys left with no access are revoked.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName} (the `DeleteApp` operationId).
	DeleteAppWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*DeleteAppResponse, error)

	// GetAppWithResponse Get application
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName} (the `GetApp` operationId).
	GetAppWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*GetAppResponse, error)

	// UpdateAppWithBodyWithResponse Update application
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName} (the `UpdateApp` operationId).
	UpdateAppWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAppResponse, error)

	// UpdateAppWithResponse Update application
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName} (the `UpdateApp` operationId).
	UpdateAppWithResponse(ctx context.Context, orgName string, appName string, body UpdateAppJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAppResponse, error)

	// RegisterAppWithBodyWithResponse Register application
	//
	// Registers an application in a workspace, or confirms the one already registered under this name, so it is safe to repeat. Without a workspace, a new application goes into the org's only workspace; when the org has more than one, creating it fails with a workspace-required error, while an existing application matches wherever it is. Confirming an existing application changes only privateMode, and only if the request sets it. Either way the caller needs application.write in the application's workspace; a grant on the application alone is not enough. Returns 409 if the name belongs to an application the caller cannot write, that DBOS Cloud manages, or that is in a workspace other than the one named, or if creating the application would exceed the organization's application limit.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v2/orgs/{orgName}/apps/{appName} (the `RegisterApp` operationId).
	RegisterAppWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterAppResponse, error)

	// RegisterAppWithResponse Register application
	//
	// Registers an application in a workspace, or confirms the one already registered under this name, so it is safe to repeat. Without a workspace, a new application goes into the org's only workspace; when the org has more than one, creating it fails with a workspace-required error, while an existing application matches wherever it is. Confirming an existing application changes only privateMode, and only if the request sets it. Either way the caller needs application.write in the application's workspace; a grant on the application alone is not enough. Returns 409 if the name belongs to an application the caller cannot write, that DBOS Cloud manages, or that is in a workspace other than the one named, or if creating the application would exceed the organization's application limit.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v2/orgs/{orgName}/apps/{appName} (the `RegisterApp` operationId).
	RegisterAppWithResponse(ctx context.Context, orgName string, appName string, body RegisterAppJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterAppResponse, error)

	// ListAlertingRulesWithResponse List alerting rules
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `ListAlertingRules` operationId).
	ListAlertingRulesWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*ListAlertingRulesResponse, error)

	// CreateAlertingRuleWithBodyWithResponse Create alerting rule
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `CreateAlertingRule` operationId).
	CreateAlertingRuleWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAlertingRuleResponse, error)

	// CreateAlertingRuleWithResponse Create alerting rule
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/alerting-rules (the `CreateAlertingRule` operationId).
	CreateAlertingRuleWithResponse(ctx context.Context, orgName string, appName string, body CreateAlertingRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAlertingRuleResponse, error)

	// DeleteAlertingRuleWithResponse Delete alerting rule
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/alerting-rules/{ruleId} (the `DeleteAlertingRule` operationId).
	DeleteAlertingRuleWithResponse(ctx context.Context, orgName string, appName string, ruleId string, reqEditors ...RequestEditorFn) (*DeleteAlertingRuleResponse, error)

	// GetAutoscaleWithResponse Get autoscaling recommendation
	//
	// Computes how many executors each of the application's versions needs right now, given the backlog of its stored autoscaling policy's queue. Returns one entry per version. 404 when no policy is installed; 400 when the policy queue is no longer scalable. Requires a DBOS Teams subscription.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/autoscale (the `GetAutoscale` operationId).
	GetAutoscaleWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*GetAutoscaleResponse, error)

	// GetAutoscaleVersionWithResponse Get one version's autoscaling recommendation
	//
	// Computes how many executors one application version needs right now, given the backlog of the stored autoscaling policy's queue. Made to be polled per version, e.g. by one KEDA ScaledObject per version's deployment. The latest version is always sized to at least 1; an old version reports 0 once it has no work left on that queue, signaling it can be torn down. 404 when no policy is installed or the version was never registered; 400 when the policy queue is no longer scalable. Requires a DBOS Teams subscription.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/autoscale/versions/{version} (the `GetAutoscaleVersion` operationId).
	GetAutoscaleVersionWithResponse(ctx context.Context, orgName string, appName string, version string, reqEditors ...RequestEditorFn) (*GetAutoscaleVersionResponse, error)

	// DeleteAutoscalingPolicyWithResponse Delete autoscaling policy
	//
	// Clears the stored policy. Deleting an absent policy succeeds. Requires a DBOS Teams subscription.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `DeleteAutoscalingPolicy` operationId).
	DeleteAutoscalingPolicyWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*DeleteAutoscalingPolicyResponse, error)

	// GetAutoscalingPolicyWithResponse Get autoscaling policy
	//
	// Returns the application's stored queue-based autoscaling policy; 404 when none is set. Requires a DBOS Teams subscription.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `GetAutoscalingPolicy` operationId).
	GetAutoscalingPolicyWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*GetAutoscalingPolicyResponse, error)

	// SetAutoscalingPolicyWithBodyWithResponse Set autoscaling policy
	//
	// Validates and stores the policy, echoing it back as stored. The named queue must exist and be scalable — worker_concurrency set — validated from a healthy executor. Requires a DBOS Teams subscription.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `SetAutoscalingPolicy` operationId).
	SetAutoscalingPolicyWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAutoscalingPolicyResponse, error)

	// SetAutoscalingPolicyWithResponse Set autoscaling policy
	//
	// Validates and stores the policy, echoing it back as stored. The named queue must exist and be scalable — worker_concurrency set — validated from a healthy executor. Requires a DBOS Teams subscription.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v2/orgs/{orgName}/apps/{appName}/autoscaling-policy (the `SetAutoscalingPolicy` operationId).
	SetAutoscalingPolicyWithResponse(ctx context.Context, orgName string, appName string, body SetAutoscalingPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAutoscalingPolicyResponse, error)

	// ListExecutorsWithResponse List executors
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/executors (the `ListExecutors` operationId).
	ListExecutorsWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*ListExecutorsResponse, error)

	// ListMetricsWithResponse List metrics
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/metrics (the `ListMetrics` operationId).
	ListMetricsWithResponse(ctx context.Context, orgName string, appName string, params *ListMetricsParams, reqEditors ...RequestEditorFn) (*ListMetricsResponse, error)

	// MoveAppWithBodyWithResponse Move application
	//
	// Moves a Conductor application to another workspace of the org. It keeps its name, history and connected executors; moving it to the workspace it is in changes nothing. DBOS Cloud applications can't be moved.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/move (the `MoveApp` operationId).
	MoveAppWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveAppResponse, error)

	// MoveAppWithResponse Move application
	//
	// Moves a Conductor application to another workspace of the org. It keeps its name, history and connected executors; moving it to the workspace it is in changes nothing. DBOS Cloud applications can't be moved.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/move (the `MoveApp` operationId).
	MoveAppWithResponse(ctx context.Context, orgName string, appName string, body MoveAppJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveAppResponse, error)

	// ListQueuesWithResponse List queues
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/queues (the `ListQueues` operationId).
	ListQueuesWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*ListQueuesResponse, error)

	// GetQueueWithResponse Get queue
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/queues/{queueName} (the `GetQueue` operationId).
	GetQueueWithResponse(ctx context.Context, orgName string, appName string, queueName string, reqEditors ...RequestEditorFn) (*GetQueueResponse, error)

	// ListSavedViewsWithResponse List saved views
	//
	// A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404. Ordered by name, ignoring case.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/saved-views (the `ListSavedViews` operationId).
	ListSavedViewsWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*ListSavedViewsResponse, error)

	// CreateSavedViewWithBodyWithResponse Create saved view
	//
	// A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404. A user may keep at most 100 saved views per application; beyond that, and for a name already taken, the response is 409.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/saved-views (the `CreateSavedView` operationId).
	CreateSavedViewWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSavedViewResponse, error)

	// CreateSavedViewWithResponse Create saved view
	//
	// A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404. A user may keep at most 100 saved views per application; beyond that, and for a name already taken, the response is 409.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/saved-views (the `CreateSavedView` operationId).
	CreateSavedViewWithResponse(ctx context.Context, orgName string, appName string, body CreateSavedViewJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSavedViewResponse, error)

	// DeleteSavedViewWithResponse Delete saved view
	//
	// A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/saved-views/{savedViewId} (the `DeleteSavedView` operationId).
	DeleteSavedViewWithResponse(ctx context.Context, orgName string, appName string, savedViewId string, reqEditors ...RequestEditorFn) (*DeleteSavedViewResponse, error)

	// UpdateSavedViewWithBodyWithResponse Update saved view
	//
	// A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404. Changes the name and/or the search state; at least one must be given. Last write wins.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/saved-views/{savedViewId} (the `UpdateSavedView` operationId).
	UpdateSavedViewWithBodyWithResponse(ctx context.Context, orgName string, appName string, savedViewId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSavedViewResponse, error)

	// UpdateSavedViewWithResponse Update saved view
	//
	// A saved view is a user's own named workflow search state on one application. Only the caller's saved views are visible, and only a user can have them: an API key gets 403. A saved view that is not the caller's, or not on this application, is 404. Changes the name and/or the search state; at least one must be given. Last write wins.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/saved-views/{savedViewId} (the `UpdateSavedView` operationId).
	UpdateSavedViewWithResponse(ctx context.Context, orgName string, appName string, savedViewId string, body UpdateSavedViewJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSavedViewResponse, error)

	// ListSchedulesWithResponse List schedules
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/schedules (the `ListSchedules` operationId).
	ListSchedulesWithResponse(ctx context.Context, orgName string, appName string, params *ListSchedulesParams, reqEditors ...RequestEditorFn) (*ListSchedulesResponse, error)

	// GetScheduleWithResponse Get schedule
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName} (the `GetSchedule` operationId).
	GetScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*GetScheduleResponse, error)

	// BackfillScheduleWithBodyWithResponse Backfill schedule
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/backfill (the `BackfillSchedule` operationId).
	BackfillScheduleWithBodyWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BackfillScheduleResponse, error)

	// BackfillScheduleWithResponse Backfill schedule
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/backfill (the `BackfillSchedule` operationId).
	BackfillScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, body BackfillScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*BackfillScheduleResponse, error)

	// PauseScheduleWithResponse Pause schedule
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/pause (the `PauseSchedule` operationId).
	PauseScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*PauseScheduleResponse, error)

	// ResumeScheduleWithResponse Resume schedule
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/resume (the `ResumeSchedule` operationId).
	ResumeScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*ResumeScheduleResponse, error)

	// TriggerScheduleWithResponse Trigger schedule
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/schedules/{scheduleName}/trigger (the `TriggerSchedule` operationId).
	TriggerScheduleWithResponse(ctx context.Context, orgName string, appName string, scheduleName string, reqEditors ...RequestEditorFn) (*TriggerScheduleResponse, error)

	// GetStepAggregatesWithBodyWithResponse Get step aggregates
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/steps/aggregates (the `GetStepAggregates` operationId).
	GetStepAggregatesWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStepAggregatesResponse, error)

	// GetStepAggregatesWithResponse Get step aggregates
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/steps/aggregates (the `GetStepAggregates` operationId).
	GetStepAggregatesWithResponse(ctx context.Context, orgName string, appName string, body GetStepAggregatesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStepAggregatesResponse, error)

	// ListAppVersionsWithResponse List application versions
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/versions (the `ListAppVersions` operationId).
	ListAppVersionsWithResponse(ctx context.Context, orgName string, appName string, reqEditors ...RequestEditorFn) (*ListAppVersionsResponse, error)

	// SetLatestAppVersionWithBodyWithResponse Set latest application version
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/versions/latest (the `SetLatestAppVersion` operationId).
	SetLatestAppVersionWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetLatestAppVersionResponse, error)

	// SetLatestAppVersionWithResponse Set latest application version
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/apps/{appName}/versions/latest (the `SetLatestAppVersion` operationId).
	SetLatestAppVersionWithResponse(ctx context.Context, orgName string, appName string, body SetLatestAppVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetLatestAppVersionResponse, error)

	// ListWorkflowsWithResponse List workflows
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows (the `ListWorkflows` operationId).
	ListWorkflowsWithResponse(ctx context.Context, orgName string, appName string, params *ListWorkflowsParams, reqEditors ...RequestEditorFn) (*ListWorkflowsResponse, error)

	// GetWorkflowAggregatesWithBodyWithResponse Get workflow aggregates
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/aggregates (the `GetWorkflowAggregates` operationId).
	GetWorkflowAggregatesWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetWorkflowAggregatesResponse, error)

	// GetWorkflowAggregatesWithResponse Get workflow aggregates
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/aggregates (the `GetWorkflowAggregates` operationId).
	GetWorkflowAggregatesWithResponse(ctx context.Context, orgName string, appName string, body GetWorkflowAggregatesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetWorkflowAggregatesResponse, error)

	// BulkCancelWorkflowsWithBodyWithResponse Bulk cancel workflows
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-cancel (the `BulkCancelWorkflows` operationId).
	BulkCancelWorkflowsWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkCancelWorkflowsResponse, error)

	// BulkCancelWorkflowsWithResponse Bulk cancel workflows
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-cancel (the `BulkCancelWorkflows` operationId).
	BulkCancelWorkflowsWithResponse(ctx context.Context, orgName string, appName string, body BulkCancelWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkCancelWorkflowsResponse, error)

	// BulkDeleteWorkflowsWithBodyWithResponse Bulk delete workflows
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-delete (the `BulkDeleteWorkflows` operationId).
	BulkDeleteWorkflowsWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkDeleteWorkflowsResponse, error)

	// BulkDeleteWorkflowsWithResponse Bulk delete workflows
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-delete (the `BulkDeleteWorkflows` operationId).
	BulkDeleteWorkflowsWithResponse(ctx context.Context, orgName string, appName string, body BulkDeleteWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkDeleteWorkflowsResponse, error)

	// BulkForkWorkflowsFromFailureWithBodyWithResponse Bulk fork workflows from failure
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-fork-from-failure (the `BulkForkWorkflowsFromFailure` operationId).
	BulkForkWorkflowsFromFailureWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkForkWorkflowsFromFailureResponse, error)

	// BulkForkWorkflowsFromFailureWithResponse Bulk fork workflows from failure
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-fork-from-failure (the `BulkForkWorkflowsFromFailure` operationId).
	BulkForkWorkflowsFromFailureWithResponse(ctx context.Context, orgName string, appName string, body BulkForkWorkflowsFromFailureJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkForkWorkflowsFromFailureResponse, error)

	// BulkResumeWorkflowsWithBodyWithResponse Bulk resume workflows
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-resume (the `BulkResumeWorkflows` operationId).
	BulkResumeWorkflowsWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkResumeWorkflowsResponse, error)

	// BulkResumeWorkflowsWithResponse Bulk resume workflows
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/bulk-resume (the `BulkResumeWorkflows` operationId).
	BulkResumeWorkflowsWithResponse(ctx context.Context, orgName string, appName string, body BulkResumeWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkResumeWorkflowsResponse, error)

	// ImportWorkflowWithBodyWithResponse Import workflow
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/import (the `ImportWorkflow` operationId).
	ImportWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportWorkflowResponse, error)

	// ImportWorkflowWithResponse Import workflow
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/import (the `ImportWorkflow` operationId).
	ImportWorkflowWithResponse(ctx context.Context, orgName string, appName string, body ImportWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportWorkflowResponse, error)

	// GetWorkflowMetricsHistoryWithBodyWithResponse Get archived workflow metrics
	//
	// Renders the workflow filter charts from conductor's archive of observed terminal activity, without querying the application's database. 404 when the application has no archive yet.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/metrics/history (the `GetWorkflowMetricsHistory` operationId).
	GetWorkflowMetricsHistoryWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetWorkflowMetricsHistoryResponse, error)

	// GetWorkflowMetricsHistoryWithResponse Get archived workflow metrics
	//
	// Renders the workflow filter charts from conductor's archive of observed terminal activity, without querying the application's database. 404 when the application has no archive yet.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/metrics/history (the `GetWorkflowMetricsHistory` operationId).
	GetWorkflowMetricsHistoryWithResponse(ctx context.Context, orgName string, appName string, body GetWorkflowMetricsHistoryJSONRequestBody, reqEditors ...RequestEditorFn) (*GetWorkflowMetricsHistoryResponse, error)

	// GetWorkflowMetricsLiveWithBodyWithResponse Get the live supplement to archived workflow metrics
	//
	// Asks one executor, under one 20-second budget, for terminal completions since the history response's watermark (at most 15 minutes back) and for the workflows still pending, both within the effective creation range. Source failures are per-component outcomes, never errors. 400 for a context outside this application's archive, 404 without an archive.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/metrics/live (the `GetWorkflowMetricsLive` operationId).
	GetWorkflowMetricsLiveWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetWorkflowMetricsLiveResponse, error)

	// GetWorkflowMetricsLiveWithResponse Get the live supplement to archived workflow metrics
	//
	// Asks one executor, under one 20-second budget, for terminal completions since the history response's watermark (at most 15 minutes back) and for the workflows still pending, both within the effective creation range. Source failures are per-component outcomes, never errors. 400 for a context outside this application's archive, 404 without an archive.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/metrics/live (the `GetWorkflowMetricsLive` operationId).
	GetWorkflowMetricsLiveWithResponse(ctx context.Context, orgName string, appName string, body GetWorkflowMetricsLiveJSONRequestBody, reqEditors ...RequestEditorFn) (*GetWorkflowMetricsLiveResponse, error)

	// SearchWorkflowsWithBodyWithResponse Search workflows
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/search (the `SearchWorkflows` operationId).
	SearchWorkflowsWithBodyWithResponse(ctx context.Context, orgName string, appName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchWorkflowsResponse, error)

	// SearchWorkflowsWithResponse Search workflows
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/search (the `SearchWorkflows` operationId).
	SearchWorkflowsWithResponse(ctx context.Context, orgName string, appName string, body SearchWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchWorkflowsResponse, error)

	// DeleteWorkflowWithResponse Delete workflow
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId} (the `DeleteWorkflow` operationId).
	DeleteWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, params *DeleteWorkflowParams, reqEditors ...RequestEditorFn) (*DeleteWorkflowResponse, error)

	// GetWorkflowWithResponse Get workflow
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId} (the `GetWorkflow` operationId).
	GetWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, params *GetWorkflowParams, reqEditors ...RequestEditorFn) (*GetWorkflowResponse, error)

	// CancelWorkflowWithBodyWithResponse Cancel workflow
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/cancel (the `CancelWorkflow` operationId).
	CancelWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CancelWorkflowResponse, error)

	// CancelWorkflowWithResponse Cancel workflow
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/cancel (the `CancelWorkflow` operationId).
	CancelWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, body CancelWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*CancelWorkflowResponse, error)

	// ListWorkflowEventsWithResponse List workflow events
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/events (the `ListWorkflowEvents` operationId).
	ListWorkflowEventsWithResponse(ctx context.Context, orgName string, appName string, workflowId string, params *ListWorkflowEventsParams, reqEditors ...RequestEditorFn) (*ListWorkflowEventsResponse, error)

	// ExportWorkflowWithResponse Export workflow
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/export (the `ExportWorkflow` operationId).
	ExportWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, params *ExportWorkflowParams, reqEditors ...RequestEditorFn) (*ExportWorkflowResponse, error)

	// ForkWorkflowWithBodyWithResponse Fork workflow
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/fork (the `ForkWorkflow` operationId).
	ForkWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ForkWorkflowResponse, error)

	// ForkWorkflowWithResponse Fork workflow
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/fork (the `ForkWorkflow` operationId).
	ForkWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, body ForkWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*ForkWorkflowResponse, error)

	// ListWorkflowNotificationsWithResponse List workflow notifications
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/notifications (the `ListWorkflowNotifications` operationId).
	ListWorkflowNotificationsWithResponse(ctx context.Context, orgName string, appName string, workflowId string, params *ListWorkflowNotificationsParams, reqEditors ...RequestEditorFn) (*ListWorkflowNotificationsResponse, error)

	// ResumeWorkflowWithBodyWithResponse Resume workflow
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/resume (the `ResumeWorkflow` operationId).
	ResumeWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResumeWorkflowResponse, error)

	// ResumeWorkflowWithResponse Resume workflow
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/resume (the `ResumeWorkflow` operationId).
	ResumeWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, body ResumeWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*ResumeWorkflowResponse, error)

	// RewindWorkflowWithBodyWithResponse Rewind workflow
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/rewind (the `RewindWorkflow` operationId).
	RewindWorkflowWithBodyWithResponse(ctx context.Context, orgName string, appName string, workflowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RewindWorkflowResponse, error)

	// RewindWorkflowWithResponse Rewind workflow
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/rewind (the `RewindWorkflow` operationId).
	RewindWorkflowWithResponse(ctx context.Context, orgName string, appName string, workflowId string, body RewindWorkflowJSONRequestBody, reqEditors ...RequestEditorFn) (*RewindWorkflowResponse, error)

	// ListWorkflowStepsWithResponse List workflow steps
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/steps (the `ListWorkflowSteps` operationId).
	ListWorkflowStepsWithResponse(ctx context.Context, orgName string, appName string, workflowId string, params *ListWorkflowStepsParams, reqEditors ...RequestEditorFn) (*ListWorkflowStepsResponse, error)

	// ListWorkflowStreamsWithResponse List workflow streams
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/apps/{appName}/workflows/{workflowId}/streams (the `ListWorkflowStreams` operationId).
	ListWorkflowStreamsWithResponse(ctx context.Context, orgName string, appName string, workflowId string, params *ListWorkflowStreamsParams, reqEditors ...RequestEditorFn) (*ListWorkflowStreamsResponse, error)

	// ListAuditLogsWithResponse List audit logs
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/audit-logs (the `ListAuditLogs` operationId).
	ListAuditLogsWithResponse(ctx context.Context, orgName string, params *ListAuditLogsParams, reqEditors ...RequestEditorFn) (*ListAuditLogsResponse, error)

	// ListDomainClaimsWithResponse List domain claims
	//
	// A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/domain-claims (the `ListDomainClaims` operationId).
	ListDomainClaimsWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListDomainClaimsResponse, error)

	// RequestDomainClaimWithBodyWithResponse Claim a domain
	//
	// A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/domain-claims (the `RequestDomainClaim` operationId).
	RequestDomainClaimWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestDomainClaimResponse, error)

	// RequestDomainClaimWithResponse Claim a domain
	//
	// A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/domain-claims (the `RequestDomainClaim` operationId).
	RequestDomainClaimWithResponse(ctx context.Context, orgName string, body RequestDomainClaimJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestDomainClaimResponse, error)

	// ReleaseDomainClaimWithResponse Release a domain claim
	//
	// A domain claim adds users who register with an email at that domain to this organization automatically. On DBOS-managed Conductor a claim must be approved by DBOS before it takes effect; self-hosted claims take effect immediately. Claims apply to new registrations only — approving one never moves users who already have accounts, and revoking one never removes them.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/domain-claims/{domain} (the `ReleaseDomainClaim` operationId).
	ReleaseDomainClaimWithResponse(ctx context.Context, orgName string, domain string, reqEditors ...RequestEditorFn) (*ReleaseDomainClaimResponse, error)

	// JoinOrgWithBodyWithResponse Join org
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/join (the `JoinOrg` operationId).
	JoinOrgWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JoinOrgResponse, error)

	// JoinOrgWithResponse Join org
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/join (the `JoinOrg` operationId).
	JoinOrgWithResponse(ctx context.Context, orgName string, body JoinOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*JoinOrgResponse, error)

	// SetOrgLimitsWithBodyWithResponse Set org limits
	//
	// Sets the org's maxTeamMembers, maxConductorApps and maxWorkspaces to the given values and returns the updated org. At least one value must be given; an omitted value is left unchanged. Limits can only be raised here, never lowered; setting a limit to its current value is a no-op. Requires a DBOS Teams subscription.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/limits (the `SetOrgLimits` operationId).
	SetOrgLimitsWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetOrgLimitsResponse, error)

	// SetOrgLimitsWithResponse Set org limits
	//
	// Sets the org's maxTeamMembers, maxConductorApps and maxWorkspaces to the given values and returns the updated org. At least one value must be given; an omitted value is left unchanged. Limits can only be raised here, never lowered; setting a limit to its current value is a no-op. Requires a DBOS Teams subscription.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/limits (the `SetOrgLimits` operationId).
	SetOrgLimitsWithResponse(ctx context.Context, orgName string, body SetOrgLimitsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetOrgLimitsResponse, error)

	// ListMembersWithResponse List members
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/members (the `ListMembers` operationId).
	ListMembersWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListMembersResponse, error)

	// RemoveMemberWithResponse Remove member
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/members/{username} (the `RemoveMember` operationId).
	RemoveMemberWithResponse(ctx context.Context, orgName string, username string, reqEditors ...RequestEditorFn) (*RemoveMemberResponse, error)

	// RevokeRoleWithResponse Revoke role
	//
	// Removes the member's role for the whole organization, leaving only their roles in single workspaces.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/members/{username}/role (the `RevokeRole` operationId).
	RevokeRoleWithResponse(ctx context.Context, orgName string, username string, reqEditors ...RequestEditorFn) (*RevokeRoleResponse, error)

	// GrantRoleWithResponse Grant role
	//
	// Sets the member's role for the whole organization, replacing the one they hold.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v2/orgs/{orgName}/members/{username}/roles/{roleName} (the `GrantRole` operationId).
	GrantRoleWithResponse(ctx context.Context, orgName string, username string, roleName string, reqEditors ...RequestEditorFn) (*GrantRoleResponse, error)

	// ListPermissionsWithResponse List permissions
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/permissions (the `ListPermissions` operationId).
	ListPermissionsWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListPermissionsResponse, error)

	// ListRolesWithResponse List roles
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/roles (the `ListRoles` operationId).
	ListRolesWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListRolesResponse, error)

	// CreateRoleWithBodyWithResponse Create role
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/roles (the `CreateRole` operationId).
	CreateRoleWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRoleResponse, error)

	// CreateRoleWithResponse Create role
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/roles (the `CreateRole` operationId).
	CreateRoleWithResponse(ctx context.Context, orgName string, body CreateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRoleResponse, error)

	// DeleteRoleWithResponse Delete role
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/roles/{roleName} (the `DeleteRole` operationId).
	DeleteRoleWithResponse(ctx context.Context, orgName string, roleName string, reqEditors ...RequestEditorFn) (*DeleteRoleResponse, error)

	// GenerateSecretWithResponse Generate join secret
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/secrets (the `GenerateSecret` operationId).
	GenerateSecretWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*GenerateSecretResponse, error)

	// ListTokensWithResponse List tokens
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/tokens (the `ListTokens` operationId).
	ListTokensWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListTokensResponse, error)

	// DeleteTokenWithResponse Delete token
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/tokens/{tokenName} (the `DeleteToken` operationId).
	DeleteTokenWithResponse(ctx context.Context, orgName string, tokenName string, reqEditors ...RequestEditorFn) (*DeleteTokenResponse, error)

	// UpdateTokenWithBodyWithResponse Update token
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/tokens/{tokenName} (the `UpdateToken` operationId).
	UpdateTokenWithBodyWithResponse(ctx context.Context, orgName string, tokenName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTokenResponse, error)

	// UpdateTokenWithResponse Update token
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/tokens/{tokenName} (the `UpdateToken` operationId).
	UpdateTokenWithResponse(ctx context.Context, orgName string, tokenName string, body UpdateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTokenResponse, error)

	// CreateTokenWithBodyWithResponse Create token
	//
	// Creates an API key for all applications, for the applications in appNames, or for those in workspaces.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/tokens/{tokenName} (the `CreateToken` operationId).
	CreateTokenWithBodyWithResponse(ctx context.Context, orgName string, tokenName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTokenResponse, error)

	// CreateTokenWithResponse Create token
	//
	// Creates an API key for all applications, for the applications in appNames, or for those in workspaces.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/tokens/{tokenName} (the `CreateToken` operationId).
	CreateTokenWithResponse(ctx context.Context, orgName string, tokenName string, body CreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTokenResponse, error)

	// ListWorkspacesWithResponse List workspaces
	//
	// Lists every workspace of the org, ordered by name. Any member of the org, and any of its API keys, may list them regardless of permissions.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/orgs/{orgName}/workspaces (the `ListWorkspaces` operationId).
	ListWorkspacesWithResponse(ctx context.Context, orgName string, reqEditors ...RequestEditorFn) (*ListWorkspacesResponse, error)

	// CreateWorkspaceWithBodyWithResponse Create workspace
	//
	// Creates an empty workspace. On DBOS-managed Conductor, creation is refused once the org has as many workspaces as its maxWorkspaces limit; self-hosted Conductor has no workspace limit.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/workspaces (the `CreateWorkspace` operationId).
	CreateWorkspaceWithBodyWithResponse(ctx context.Context, orgName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkspaceResponse, error)

	// CreateWorkspaceWithResponse Create workspace
	//
	// Creates an empty workspace. On DBOS-managed Conductor, creation is refused once the org has as many workspaces as its maxWorkspaces limit; self-hosted Conductor has no workspace limit.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/orgs/{orgName}/workspaces (the `CreateWorkspace` operationId).
	CreateWorkspaceWithResponse(ctx context.Context, orgName string, body CreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkspaceResponse, error)

	// DeleteWorkspaceWithResponse Delete workspace
	//
	// Deletes an empty workspace, as long as the org keeps another one. API keys left with no access are revoked.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/workspaces/{workspaceName} (the `DeleteWorkspace` operationId).
	DeleteWorkspaceWithResponse(ctx context.Context, orgName string, workspaceName string, reqEditors ...RequestEditorFn) (*DeleteWorkspaceResponse, error)

	// RenameWorkspaceWithBodyWithResponse Rename workspace
	//
	// Renames a workspace. Its applications stay in it.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/workspaces/{workspaceName} (the `RenameWorkspace` operationId).
	RenameWorkspaceWithBodyWithResponse(ctx context.Context, orgName string, workspaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameWorkspaceResponse, error)

	// RenameWorkspaceWithResponse Rename workspace
	//
	// Renames a workspace. Its applications stay in it.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v2/orgs/{orgName}/workspaces/{workspaceName} (the `RenameWorkspace` operationId).
	RenameWorkspaceWithResponse(ctx context.Context, orgName string, workspaceName string, body RenameWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameWorkspaceResponse, error)

	// RevokeWorkspaceRoleWithResponse Revoke workspace role
	//
	// Removes the member's role in the workspace.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/orgs/{orgName}/workspaces/{workspaceName}/members/{username}/role (the `RevokeWorkspaceRole` operationId).
	RevokeWorkspaceRoleWithResponse(ctx context.Context, orgName string, workspaceName string, username string, reqEditors ...RequestEditorFn) (*RevokeWorkspaceRoleResponse, error)

	// GrantWorkspaceRoleWithResponse Grant workspace role
	//
	// Sets the member's role in the workspace, replacing the one they hold there. The role may hold only application.read, application.write, metric.read, websocket.connect.
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v2/orgs/{orgName}/workspaces/{workspaceName}/members/{username}/roles/{roleName} (the `GrantWorkspaceRole` operationId).
	GrantWorkspaceRoleWithResponse(ctx context.Context, orgName string, workspaceName string, username string, roleName string, reqEditors ...RequestEditorFn) (*GrantWorkspaceRoleResponse, error)

	// RegisterUserWithBodyWithResponse Register user
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/users (the `RegisterUser` operationId).
	RegisterUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterUserResponse, error)

	// RegisterUserWithResponse Register user
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/users (the `RegisterUser` operationId).
	RegisterUserWithResponse(ctx context.Context, body RegisterUserJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterUserResponse, error)

	// GetCurrentUserWithResponse Get current user
	//
	// Requires OAuth. This operation is not registered when the server runs with OAuth disabled (self-hosted no-auth mode), where it responds 404.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/users/me (the `GetCurrentUser` operationId).
	GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CreateAlertInputBody

type CreateAlertInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/CreateAlertInputBody.json
	Schema           *string                      `json:"$schema,omitempty"`
	MinIntervalSecs  *int32                       `json:"minIntervalSecs,omitempty"`
	ReceivingAppName *string                      `json:"receivingAppName,omitempty"`
	RuleMetadata     interface{}                  `json:"ruleMetadata"`
	RuleType         CreateAlertInputBodyRuleType `json:"ruleType"`
}

CreateAlertInputBody defines model for CreateAlertInputBody.

type CreateAlertInputBodyRuleType

type CreateAlertInputBodyRuleType string

CreateAlertInputBodyRuleType defines model for CreateAlertInputBody.RuleType.

const (
	CreateAlertInputBodyRuleTypeSlowQueue               CreateAlertInputBodyRuleType = "SlowQueue"
	CreateAlertInputBodyRuleTypeUnresponsiveApplication CreateAlertInputBodyRuleType = "UnresponsiveApplication"
	CreateAlertInputBodyRuleTypeWorkflowFailure         CreateAlertInputBodyRuleType = "WorkflowFailure"
)

Defines values for CreateAlertInputBodyRuleType.

func (CreateAlertInputBodyRuleType) Valid

Valid indicates whether the value is a known member of the CreateAlertInputBodyRuleType enum.

type CreateAlertingRuleJSONRequestBody

type CreateAlertingRuleJSONRequestBody = CreateAlertInputBody

CreateAlertingRuleJSONRequestBody defines body for CreateAlertingRule for application/json ContentType.

type CreateAlertingRuleResponse

type CreateAlertingRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *AlertingRule
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseCreateAlertingRuleResponse

func ParseCreateAlertingRuleResponse(rsp *http.Response) (*CreateAlertingRuleResponse, error)

ParseCreateAlertingRuleResponse parses an HTTP response from a CreateAlertingRuleWithResponse call

func (CreateAlertingRuleResponse) ContentType

func (r CreateAlertingRuleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateAlertingRuleResponse) GetApplicationproblemJSONDefault

func (r CreateAlertingRuleResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateAlertingRuleResponse) GetBody

func (r CreateAlertingRuleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateAlertingRuleResponse) GetJSON201

func (r CreateAlertingRuleResponse) GetJSON201() *AlertingRule

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateAlertingRuleResponse) Status

Status returns HTTPResponse.Status

func (CreateAlertingRuleResponse) StatusCode

func (r CreateAlertingRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateRoleInputBody

type CreateRoleInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/CreateRoleInputBody.json
	Schema      *string   `json:"$schema,omitempty"`
	Name        string    `json:"name"`
	Permissions *[]string `json:"permissions,omitempty"`
}

CreateRoleInputBody defines model for CreateRoleInputBody.

type CreateRoleJSONRequestBody

type CreateRoleJSONRequestBody = CreateRoleInputBody

CreateRoleJSONRequestBody defines body for CreateRole for application/json ContentType.

type CreateRoleOutputBody

type CreateRoleOutputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/CreateRoleOutputBody.json
	Schema      *string  `json:"$schema,omitempty"`
	Name        string   `json:"name"`
	Permissions []string `json:"permissions"`
}

CreateRoleOutputBody defines model for CreateRoleOutputBody.

type CreateRoleResponse

type CreateRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *CreateRoleOutputBody
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateRoleResponse201Headers
}

func ParseCreateRoleResponse

func ParseCreateRoleResponse(rsp *http.Response) (*CreateRoleResponse, error)

ParseCreateRoleResponse parses an HTTP response from a CreateRoleWithResponse call

func (CreateRoleResponse) ContentType

func (r CreateRoleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateRoleResponse) GetApplicationproblemJSONDefault

func (r CreateRoleResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateRoleResponse) GetBody

func (r CreateRoleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateRoleResponse) GetJSON201

func (r CreateRoleResponse) GetJSON201() *CreateRoleOutputBody

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateRoleResponse) Status

func (r CreateRoleResponse) Status() string

Status returns HTTPResponse.Status

func (CreateRoleResponse) StatusCode

func (r CreateRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateRoleResponse201Headers

type CreateRoleResponse201Headers struct {
	Location *string
}

CreateRoleResponse201Headers the declared response headers of an HTTP 201 response for CreateRole

type CreateSavedViewInputBody added in v0.14.0

type CreateSavedViewInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/CreateSavedViewInputBody.json
	Schema *string `json:"$schema,omitempty"`

	// Name Trimmed by the server; 1–80 characters once trimmed. Unique among the caller's saved views on the application, ignoring case.
	Name string `json:"name"`

	// SearchState The workflow search state: any JSON object, which Conductor stores without interpreting it. At most 16 KiB serialized compactly. It is stored compacted: whitespace is dropped, key order is kept.
	SearchState map[string]interface{} `json:"searchState"`
}

CreateSavedViewInputBody defines model for CreateSavedViewInputBody.

type CreateSavedViewJSONRequestBody added in v0.14.0

type CreateSavedViewJSONRequestBody = CreateSavedViewInputBody

CreateSavedViewJSONRequestBody defines body for CreateSavedView for application/json ContentType.

type CreateSavedViewResponse added in v0.14.0

type CreateSavedViewResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *SavedView
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseCreateSavedViewResponse added in v0.14.0

func ParseCreateSavedViewResponse(rsp *http.Response) (*CreateSavedViewResponse, error)

ParseCreateSavedViewResponse parses an HTTP response from a CreateSavedViewWithResponse call

func (CreateSavedViewResponse) ContentType added in v0.14.0

func (r CreateSavedViewResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateSavedViewResponse) GetApplicationproblemJSONDefault added in v0.14.0

func (r CreateSavedViewResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateSavedViewResponse) GetBody added in v0.14.0

func (r CreateSavedViewResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateSavedViewResponse) GetJSON201 added in v0.14.0

func (r CreateSavedViewResponse) GetJSON201() *SavedView

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateSavedViewResponse) Status added in v0.14.0

func (r CreateSavedViewResponse) Status() string

Status returns HTTPResponse.Status

func (CreateSavedViewResponse) StatusCode added in v0.14.0

func (r CreateSavedViewResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTokenInputBody

type CreateTokenInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/CreateTokenInputBody.json
	Schema *string `json:"$schema,omitempty"`

	// AppNames Limits the API key to these applications. Can't be combined with workspaces.
	AppNames    *[]string `json:"appNames,omitempty"`
	Permissions *[]string `json:"permissions,omitempty"`

	// Workspaces Limits the API key to the applications in these workspaces, including ones moved in later. Must not be empty, and allows only application.read, application.write, metric.read and websocket.connect. Without appNames or workspaces, the API key covers all applications.
	Workspaces *[]string `json:"workspaces,omitempty"`
}

CreateTokenInputBody defines model for CreateTokenInputBody.

type CreateTokenJSONRequestBody

type CreateTokenJSONRequestBody = CreateTokenInputBody

CreateTokenJSONRequestBody defines body for CreateToken for application/json ContentType.

type CreateTokenResponse

type CreateTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *TokenCreated
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseCreateTokenResponse

func ParseCreateTokenResponse(rsp *http.Response) (*CreateTokenResponse, error)

ParseCreateTokenResponse parses an HTTP response from a CreateTokenWithResponse call

func (CreateTokenResponse) ContentType

func (r CreateTokenResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateTokenResponse) GetApplicationproblemJSONDefault

func (r CreateTokenResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateTokenResponse) GetBody

func (r CreateTokenResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateTokenResponse) GetJSON201

func (r CreateTokenResponse) GetJSON201() *TokenCreated

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateTokenResponse) Status

func (r CreateTokenResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTokenResponse) StatusCode

func (r CreateTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateWorkspaceInputBody added in v0.14.0

type CreateWorkspaceInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/CreateWorkspaceInputBody.json
	Schema *string `json:"$schema,omitempty"`

	// Name Name of the new workspace, unique in the org. Follows the application name rules.
	Name string `json:"name"`
}

CreateWorkspaceInputBody defines model for CreateWorkspaceInputBody.

type CreateWorkspaceJSONRequestBody added in v0.14.0

type CreateWorkspaceJSONRequestBody = CreateWorkspaceInputBody

CreateWorkspaceJSONRequestBody defines body for CreateWorkspace for application/json ContentType.

type CreateWorkspaceResponse added in v0.14.0

type CreateWorkspaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Workspace
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseCreateWorkspaceResponse added in v0.14.0

func ParseCreateWorkspaceResponse(rsp *http.Response) (*CreateWorkspaceResponse, error)

ParseCreateWorkspaceResponse parses an HTTP response from a CreateWorkspaceWithResponse call

func (CreateWorkspaceResponse) ContentType added in v0.14.0

func (r CreateWorkspaceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateWorkspaceResponse) GetApplicationproblemJSONDefault added in v0.14.0

func (r CreateWorkspaceResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (CreateWorkspaceResponse) GetBody added in v0.14.0

func (r CreateWorkspaceResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateWorkspaceResponse) GetJSON201 added in v0.14.0

func (r CreateWorkspaceResponse) GetJSON201() *Workspace

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateWorkspaceResponse) Status added in v0.14.0

func (r CreateWorkspaceResponse) Status() string

Status returns HTTPResponse.Status

func (CreateWorkspaceResponse) StatusCode added in v0.14.0

func (r CreateWorkspaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAlertingRuleResponse

type DeleteAlertingRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseDeleteAlertingRuleResponse

func ParseDeleteAlertingRuleResponse(rsp *http.Response) (*DeleteAlertingRuleResponse, error)

ParseDeleteAlertingRuleResponse parses an HTTP response from a DeleteAlertingRuleWithResponse call

func (DeleteAlertingRuleResponse) ContentType

func (r DeleteAlertingRuleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteAlertingRuleResponse) GetApplicationproblemJSONDefault

func (r DeleteAlertingRuleResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteAlertingRuleResponse) GetBody

func (r DeleteAlertingRuleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteAlertingRuleResponse) Status

Status returns HTTPResponse.Status

func (DeleteAlertingRuleResponse) StatusCode

func (r DeleteAlertingRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAppResponse

type DeleteAppResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseDeleteAppResponse

func ParseDeleteAppResponse(rsp *http.Response) (*DeleteAppResponse, error)

ParseDeleteAppResponse parses an HTTP response from a DeleteAppWithResponse call

func (DeleteAppResponse) ContentType

func (r DeleteAppResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteAppResponse) GetApplicationproblemJSONDefault

func (r DeleteAppResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteAppResponse) GetBody

func (r DeleteAppResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteAppResponse) Status

func (r DeleteAppResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteAppResponse) StatusCode

func (r DeleteAppResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAutoscalingPolicyResponse

type DeleteAutoscalingPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseDeleteAutoscalingPolicyResponse

func ParseDeleteAutoscalingPolicyResponse(rsp *http.Response) (*DeleteAutoscalingPolicyResponse, error)

ParseDeleteAutoscalingPolicyResponse parses an HTTP response from a DeleteAutoscalingPolicyWithResponse call

func (DeleteAutoscalingPolicyResponse) ContentType

func (r DeleteAutoscalingPolicyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteAutoscalingPolicyResponse) GetApplicationproblemJSONDefault

func (r DeleteAutoscalingPolicyResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteAutoscalingPolicyResponse) GetBody

func (r DeleteAutoscalingPolicyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteAutoscalingPolicyResponse) Status

Status returns HTTPResponse.Status

func (DeleteAutoscalingPolicyResponse) StatusCode

func (r DeleteAutoscalingPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteRoleResponse

type DeleteRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseDeleteRoleResponse

func ParseDeleteRoleResponse(rsp *http.Response) (*DeleteRoleResponse, error)

ParseDeleteRoleResponse parses an HTTP response from a DeleteRoleWithResponse call

func (DeleteRoleResponse) ContentType

func (r DeleteRoleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteRoleResponse) GetApplicationproblemJSONDefault

func (r DeleteRoleResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteRoleResponse) GetBody

func (r DeleteRoleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteRoleResponse) Status

func (r DeleteRoleResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteRoleResponse) StatusCode

func (r DeleteRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSavedViewResponse added in v0.14.0

type DeleteSavedViewResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseDeleteSavedViewResponse added in v0.14.0

func ParseDeleteSavedViewResponse(rsp *http.Response) (*DeleteSavedViewResponse, error)

ParseDeleteSavedViewResponse parses an HTTP response from a DeleteSavedViewWithResponse call

func (DeleteSavedViewResponse) ContentType added in v0.14.0

func (r DeleteSavedViewResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteSavedViewResponse) GetApplicationproblemJSONDefault added in v0.14.0

func (r DeleteSavedViewResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteSavedViewResponse) GetBody added in v0.14.0

func (r DeleteSavedViewResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteSavedViewResponse) Status added in v0.14.0

func (r DeleteSavedViewResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteSavedViewResponse) StatusCode added in v0.14.0

func (r DeleteSavedViewResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTokenResponse

type DeleteTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseDeleteTokenResponse

func ParseDeleteTokenResponse(rsp *http.Response) (*DeleteTokenResponse, error)

ParseDeleteTokenResponse parses an HTTP response from a DeleteTokenWithResponse call

func (DeleteTokenResponse) ContentType

func (r DeleteTokenResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteTokenResponse) GetApplicationproblemJSONDefault

func (r DeleteTokenResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteTokenResponse) GetBody

func (r DeleteTokenResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteTokenResponse) Status

func (r DeleteTokenResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteTokenResponse) StatusCode

func (r DeleteTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWorkflowParams

type DeleteWorkflowParams struct {
	DeleteChildren *bool `form:"deleteChildren,omitempty" json:"deleteChildren,omitempty"`

	// ShardKey The workflow's shard key. Required when the application's system database is sharded.
	ShardKey *string `form:"shardKey,omitempty" json:"shardKey,omitempty"`
}

DeleteWorkflowParams defines parameters for DeleteWorkflow.

type DeleteWorkflowResponse

type DeleteWorkflowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseDeleteWorkflowResponse

func ParseDeleteWorkflowResponse(rsp *http.Response) (*DeleteWorkflowResponse, error)

ParseDeleteWorkflowResponse parses an HTTP response from a DeleteWorkflowWithResponse call

func (DeleteWorkflowResponse) ContentType

func (r DeleteWorkflowResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteWorkflowResponse) GetApplicationproblemJSONDefault

func (r DeleteWorkflowResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteWorkflowResponse) GetBody

func (r DeleteWorkflowResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteWorkflowResponse) Status

func (r DeleteWorkflowResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteWorkflowResponse) StatusCode

func (r DeleteWorkflowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWorkspaceResponse added in v0.14.0

type DeleteWorkspaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseDeleteWorkspaceResponse added in v0.14.0

func ParseDeleteWorkspaceResponse(rsp *http.Response) (*DeleteWorkspaceResponse, error)

ParseDeleteWorkspaceResponse parses an HTTP response from a DeleteWorkspaceWithResponse call

func (DeleteWorkspaceResponse) ContentType added in v0.14.0

func (r DeleteWorkspaceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteWorkspaceResponse) GetApplicationproblemJSONDefault added in v0.14.0

func (r DeleteWorkspaceResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (DeleteWorkspaceResponse) GetBody added in v0.14.0

func (r DeleteWorkspaceResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteWorkspaceResponse) Status added in v0.14.0

func (r DeleteWorkspaceResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteWorkspaceResponse) StatusCode added in v0.14.0

func (r DeleteWorkspaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DomainClaim

type DomainClaim struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/DomainClaim.json
	Schema       *string           `json:"$schema,omitempty"`
	DecidedAt    *time.Time        `json:"decidedAt,omitempty"`
	DecidedBy    *string           `json:"decidedBy,omitempty"`
	DecisionNote *string           `json:"decisionNote,omitempty"`
	Domain       string            `json:"domain"`
	Id           string            `json:"id"`
	OrgName      string            `json:"orgName"`
	RequestedAt  time.Time         `json:"requestedAt"`
	RequestedBy  string            `json:"requestedBy"`
	Status       DomainClaimStatus `json:"status"`
}

DomainClaim defines model for DomainClaim.

type DomainClaimStatus

type DomainClaimStatus string

DomainClaimStatus defines model for DomainClaim.Status.

const (
	Approved DomainClaimStatus = "approved"
	Denied   DomainClaimStatus = "denied"
	Pending  DomainClaimStatus = "pending"
)

Defines values for DomainClaimStatus.

func (DomainClaimStatus) Valid

func (e DomainClaimStatus) Valid() bool

Valid indicates whether the value is a known member of the DomainClaimStatus enum.

type Entitlements added in v0.13.0

type Entitlements struct {
	// AutoUpgrade Whether the org may use auto-upgrade.
	AutoUpgrade bool `json:"autoUpgrade"`

	// ExternalStorage Whether the org may use external storage.
	ExternalStorage bool `json:"externalStorage"`

	// MessageQueueIntegration Whether the org may use message queue integration.
	MessageQueueIntegration bool `json:"messageQueueIntegration"`

	// Sharding Whether the org may use sharding.
	Sharding bool `json:"sharding"`

	// SuspendWorkflows Whether the org may suspend workflows.
	SuspendWorkflows bool `json:"suspendWorkflows"`

	// WorkflowArchive Whether the org may use workflow archive.
	WorkflowArchive bool `json:"workflowArchive"`
}

Entitlements defines model for Entitlements.

type EntitlementsResponse added in v0.13.0

type EntitlementsResponse struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/EntitlementsResponse.json
	Schema       *string      `json:"$schema,omitempty"`
	Entitlements Entitlements `json:"entitlements"`
}

EntitlementsResponse defines model for EntitlementsResponse.

type ErrorDetail

type ErrorDetail struct {
	// Location Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
	Location *string `json:"location,omitempty"`

	// Message Error message text
	Message *string `json:"message,omitempty"`

	// Value The value at the given location
	Value interface{} `json:"value,omitempty"`
}

ErrorDetail defines model for ErrorDetail.

type ErrorModel

type ErrorModel struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/ErrorModel.json
	Schema *string `json:"$schema,omitempty"`

	// Detail A human-readable explanation specific to this occurrence of the problem.
	//
	// Examples: Property foo is required but is missing.
	Detail *string `json:"detail,omitempty"`

	// Errors Optional list of individual error details
	Errors *[]ErrorDetail `json:"errors,omitempty"`

	// Instance A URI reference that identifies the specific occurrence of the problem.
	//
	// Examples: https://example.com/error-log/abc123
	Instance *string `json:"instance,omitempty"`

	// Status HTTP status code
	//
	// Examples: 400
	Status *int64 `json:"status,omitempty"`

	// Title A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
	//
	// Examples: Bad Request
	Title *string `json:"title,omitempty"`

	// Type A URI reference to human-readable documentation for the error.
	//
	// Examples: https://example.com/errors/example
	Type *string `json:"type,omitempty"`
}

ErrorModel defines model for ErrorModel.

type Event

type Event struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

Event defines model for Event.

type Executor

type Executor struct {
	AppId            string                  `json:"appId"`
	AppVersion       string                  `json:"appVersion"`
	CreatedAt        time.Time               `json:"createdAt"`
	DbosVersion      *string                 `json:"dbosVersion"`
	ExecutorId       string                  `json:"executorId"`
	ExecutorMetadata *map[string]interface{} `json:"executorMetadata"`
	HostId           *string                 `json:"hostId"`
	Hostname         *string                 `json:"hostname"`
	Language         *string                 `json:"language"`

	// Sharded Whether the executor's system database is sharded. If so, commands that address a workflow must pass its shard key.
	Sharded   bool           `json:"sharded"`
	Status    ExecutorStatus `json:"status"`
	UpdatedAt time.Time      `json:"updatedAt"`
}

Executor defines model for Executor.

type ExecutorStatus

type ExecutorStatus string

ExecutorStatus defines model for Executor.Status.

const (
	DEAD         ExecutorStatus = "DEAD"
	DISCONNECTED ExecutorStatus = "DISCONNECTED"
	HEALTHY      ExecutorStatus = "HEALTHY"
)

Defines values for ExecutorStatus.

func (ExecutorStatus) Valid

func (e ExecutorStatus) Valid() bool

Valid indicates whether the value is a known member of the ExecutorStatus enum.

type ExportWorkflowOutputBody

type ExportWorkflowOutputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/ExportWorkflowOutputBody.json
	Schema             *string `json:"$schema,omitempty"`
	SerializedWorkflow string  `json:"serializedWorkflow"`
}

ExportWorkflowOutputBody defines model for ExportWorkflowOutputBody.

type ExportWorkflowParams

type ExportWorkflowParams struct {
	ExportChildren *bool `form:"exportChildren,omitempty" json:"exportChildren,omitempty"`
}

ExportWorkflowParams defines parameters for ExportWorkflow.

type ExportWorkflowResponse

type ExportWorkflowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ExportWorkflowOutputBody
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseExportWorkflowResponse

func ParseExportWorkflowResponse(rsp *http.Response) (*ExportWorkflowResponse, error)

ParseExportWorkflowResponse parses an HTTP response from a ExportWorkflowWithResponse call

func (ExportWorkflowResponse) ContentType

func (r ExportWorkflowResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ExportWorkflowResponse) GetApplicationproblemJSONDefault

func (r ExportWorkflowResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ExportWorkflowResponse) GetBody

func (r ExportWorkflowResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ExportWorkflowResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ExportWorkflowResponse) Status

func (r ExportWorkflowResponse) Status() string

Status returns HTTPResponse.Status

func (ExportWorkflowResponse) StatusCode

func (r ExportWorkflowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ForkWorkflowInputBody

type ForkWorkflowInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/ForkWorkflowInputBody.json
	Schema            *string `json:"$schema,omitempty"`
	AppVersion        *string `json:"appVersion,omitempty"`
	NewWorkflowId     *string `json:"newWorkflowId,omitempty"`
	QueueName         *string `json:"queueName,omitempty"`
	QueuePartitionKey *string `json:"queuePartitionKey,omitempty"`

	// ShardKey The original workflow's shard key, under which the fork also runs. Required when the application's system database is sharded.
	ShardKey  *string `json:"shardKey,omitempty"`
	StartStep *int32  `json:"startStep,omitempty"`
}

ForkWorkflowInputBody defines model for ForkWorkflowInputBody.

type ForkWorkflowJSONRequestBody

type ForkWorkflowJSONRequestBody = ForkWorkflowInputBody

ForkWorkflowJSONRequestBody defines body for ForkWorkflow for application/json ContentType.

type ForkWorkflowOutputBody

type ForkWorkflowOutputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/ForkWorkflowOutputBody.json
	Schema     *string `json:"$schema,omitempty"`
	WorkflowId string  `json:"workflowId"`
}

ForkWorkflowOutputBody defines model for ForkWorkflowOutputBody.

type ForkWorkflowResponse

type ForkWorkflowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *ForkWorkflowOutputBody
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *ForkWorkflowResponse201Headers
}

func ParseForkWorkflowResponse

func ParseForkWorkflowResponse(rsp *http.Response) (*ForkWorkflowResponse, error)

ParseForkWorkflowResponse parses an HTTP response from a ForkWorkflowWithResponse call

func (ForkWorkflowResponse) ContentType

func (r ForkWorkflowResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ForkWorkflowResponse) GetApplicationproblemJSONDefault

func (r ForkWorkflowResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ForkWorkflowResponse) GetBody

func (r ForkWorkflowResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ForkWorkflowResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (ForkWorkflowResponse) Status

func (r ForkWorkflowResponse) Status() string

Status returns HTTPResponse.Status

func (ForkWorkflowResponse) StatusCode

func (r ForkWorkflowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ForkWorkflowResponse201Headers

type ForkWorkflowResponse201Headers struct {
	Location *string
}

ForkWorkflowResponse201Headers the declared response headers of an HTTP 201 response for ForkWorkflow

type GenerateSecretOutputBody

type GenerateSecretOutputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/GenerateSecretOutputBody.json
	Schema *string `json:"$schema,omitempty"`
	Secret string  `json:"secret"`
}

GenerateSecretOutputBody defines model for GenerateSecretOutputBody.

type GenerateSecretResponse

type GenerateSecretResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *GenerateSecretOutputBody
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseGenerateSecretResponse

func ParseGenerateSecretResponse(rsp *http.Response) (*GenerateSecretResponse, error)

ParseGenerateSecretResponse parses an HTTP response from a GenerateSecretWithResponse call

func (GenerateSecretResponse) ContentType

func (r GenerateSecretResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GenerateSecretResponse) GetApplicationproblemJSONDefault

func (r GenerateSecretResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GenerateSecretResponse) GetBody

func (r GenerateSecretResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GenerateSecretResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (GenerateSecretResponse) Status

func (r GenerateSecretResponse) Status() string

Status returns HTTPResponse.Status

func (GenerateSecretResponse) StatusCode

func (r GenerateSecretResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAppResponse

type GetAppResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Application
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseGetAppResponse

func ParseGetAppResponse(rsp *http.Response) (*GetAppResponse, error)

ParseGetAppResponse parses an HTTP response from a GetAppWithResponse call

func (GetAppResponse) ContentType

func (r GetAppResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAppResponse) GetApplicationproblemJSONDefault

func (r GetAppResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetAppResponse) GetBody

func (r GetAppResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAppResponse) GetJSON200

func (r GetAppResponse) GetJSON200() *Application

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAppResponse) Status

func (r GetAppResponse) Status() string

Status returns HTTPResponse.Status

func (GetAppResponse) StatusCode

func (r GetAppResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAutoscaleResponse

type GetAutoscaleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]QueueAutoscale
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseGetAutoscaleResponse

func ParseGetAutoscaleResponse(rsp *http.Response) (*GetAutoscaleResponse, error)

ParseGetAutoscaleResponse parses an HTTP response from a GetAutoscaleWithResponse call

func (GetAutoscaleResponse) ContentType

func (r GetAutoscaleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAutoscaleResponse) GetApplicationproblemJSONDefault

func (r GetAutoscaleResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetAutoscaleResponse) GetBody

func (r GetAutoscaleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAutoscaleResponse) GetJSON200

func (r GetAutoscaleResponse) GetJSON200() *[]QueueAutoscale

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAutoscaleResponse) Status

func (r GetAutoscaleResponse) Status() string

Status returns HTTPResponse.Status

func (GetAutoscaleResponse) StatusCode

func (r GetAutoscaleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAutoscaleVersionResponse added in v0.11.0

type GetAutoscaleVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *QueueAutoscale
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseGetAutoscaleVersionResponse added in v0.11.0

func ParseGetAutoscaleVersionResponse(rsp *http.Response) (*GetAutoscaleVersionResponse, error)

ParseGetAutoscaleVersionResponse parses an HTTP response from a GetAutoscaleVersionWithResponse call

func (GetAutoscaleVersionResponse) ContentType added in v0.11.0

func (r GetAutoscaleVersionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAutoscaleVersionResponse) GetApplicationproblemJSONDefault added in v0.11.0

func (r GetAutoscaleVersionResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetAutoscaleVersionResponse) GetBody added in v0.11.0

func (r GetAutoscaleVersionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAutoscaleVersionResponse) GetJSON200 added in v0.11.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAutoscaleVersionResponse) Status added in v0.11.0

Status returns HTTPResponse.Status

func (GetAutoscaleVersionResponse) StatusCode added in v0.11.0

func (r GetAutoscaleVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAutoscalingPolicyResponse

type GetAutoscalingPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PolicyOutputBody
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseGetAutoscalingPolicyResponse

func ParseGetAutoscalingPolicyResponse(rsp *http.Response) (*GetAutoscalingPolicyResponse, error)

ParseGetAutoscalingPolicyResponse parses an HTTP response from a GetAutoscalingPolicyWithResponse call

func (GetAutoscalingPolicyResponse) ContentType

func (r GetAutoscalingPolicyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAutoscalingPolicyResponse) GetApplicationproblemJSONDefault

func (r GetAutoscalingPolicyResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetAutoscalingPolicyResponse) GetBody

func (r GetAutoscalingPolicyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAutoscalingPolicyResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAutoscalingPolicyResponse) Status

Status returns HTTPResponse.Status

func (GetAutoscalingPolicyResponse) StatusCode

func (r GetAutoscalingPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCurrentUserResponse

type GetCurrentUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UserProfile
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseGetCurrentUserResponse

func ParseGetCurrentUserResponse(rsp *http.Response) (*GetCurrentUserResponse, error)

ParseGetCurrentUserResponse parses an HTTP response from a GetCurrentUserWithResponse call

func (GetCurrentUserResponse) ContentType

func (r GetCurrentUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetCurrentUserResponse) GetApplicationproblemJSONDefault

func (r GetCurrentUserResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetCurrentUserResponse) GetBody

func (r GetCurrentUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetCurrentUserResponse) GetJSON200

func (r GetCurrentUserResponse) GetJSON200() *UserProfile

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetCurrentUserResponse) Status

func (r GetCurrentUserResponse) Status() string

Status returns HTTPResponse.Status

func (GetCurrentUserResponse) StatusCode

func (r GetCurrentUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEntitlementsResponse added in v0.13.0

type GetEntitlementsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *EntitlementsResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseGetEntitlementsResponse added in v0.13.0

func ParseGetEntitlementsResponse(rsp *http.Response) (*GetEntitlementsResponse, error)

ParseGetEntitlementsResponse parses an HTTP response from a GetEntitlementsWithResponse call

func (GetEntitlementsResponse) ContentType added in v0.13.0

func (r GetEntitlementsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetEntitlementsResponse) GetApplicationproblemJSONDefault added in v0.13.0

func (r GetEntitlementsResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetEntitlementsResponse) GetBody added in v0.13.0

func (r GetEntitlementsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetEntitlementsResponse) GetJSON200 added in v0.13.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetEntitlementsResponse) Status added in v0.13.0

func (r GetEntitlementsResponse) Status() string

Status returns HTTPResponse.Status

func (GetEntitlementsResponse) StatusCode added in v0.13.0

func (r GetEntitlementsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrgResponse

type GetOrgResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Organization
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseGetOrgResponse

func ParseGetOrgResponse(rsp *http.Response) (*GetOrgResponse, error)

ParseGetOrgResponse parses an HTTP response from a GetOrgWithResponse call

func (GetOrgResponse) ContentType

func (r GetOrgResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetOrgResponse) GetApplicationproblemJSONDefault

func (r GetOrgResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetOrgResponse) GetBody

func (r GetOrgResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOrgResponse) GetJSON200

func (r GetOrgResponse) GetJSON200() *Organization

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetOrgResponse) Status

func (r GetOrgResponse) Status() string

Status returns HTTPResponse.Status

func (GetOrgResponse) StatusCode

func (r GetOrgResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetQueueResponse

type GetQueueResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Queue
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseGetQueueResponse

func ParseGetQueueResponse(rsp *http.Response) (*GetQueueResponse, error)

ParseGetQueueResponse parses an HTTP response from a GetQueueWithResponse call

func (GetQueueResponse) ContentType

func (r GetQueueResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetQueueResponse) GetApplicationproblemJSONDefault

func (r GetQueueResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetQueueResponse) GetBody

func (r GetQueueResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetQueueResponse) GetJSON200

func (r GetQueueResponse) GetJSON200() *Queue

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetQueueResponse) Status

func (r GetQueueResponse) Status() string

Status returns HTTPResponse.Status

func (GetQueueResponse) StatusCode

func (r GetQueueResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetScheduleResponse

type GetScheduleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Schedule
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseGetScheduleResponse

func ParseGetScheduleResponse(rsp *http.Response) (*GetScheduleResponse, error)

ParseGetScheduleResponse parses an HTTP response from a GetScheduleWithResponse call

func (GetScheduleResponse) ContentType

func (r GetScheduleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetScheduleResponse) GetApplicationproblemJSONDefault

func (r GetScheduleResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetScheduleResponse) GetBody

func (r GetScheduleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetScheduleResponse) GetJSON200

func (r GetScheduleResponse) GetJSON200() *Schedule

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetScheduleResponse) Status

func (r GetScheduleResponse) Status() string

Status returns HTTPResponse.Status

func (GetScheduleResponse) StatusCode

func (r GetScheduleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetStepAggregatesJSONRequestBody

type GetStepAggregatesJSONRequestBody = StepAggregatesBody

GetStepAggregatesJSONRequestBody defines body for GetStepAggregates for application/json ContentType.

type GetStepAggregatesResponse

type GetStepAggregatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]StepAggregate
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseGetStepAggregatesResponse

func ParseGetStepAggregatesResponse(rsp *http.Response) (*GetStepAggregatesResponse, error)

ParseGetStepAggregatesResponse parses an HTTP response from a GetStepAggregatesWithResponse call

func (GetStepAggregatesResponse) ContentType

func (r GetStepAggregatesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetStepAggregatesResponse) GetApplicationproblemJSONDefault

func (r GetStepAggregatesResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetStepAggregatesResponse) GetBody

func (r GetStepAggregatesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetStepAggregatesResponse) GetJSON200

func (r GetStepAggregatesResponse) GetJSON200() *[]StepAggregate

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetStepAggregatesResponse) Status

func (r GetStepAggregatesResponse) Status() string

Status returns HTTPResponse.Status

func (GetStepAggregatesResponse) StatusCode

func (r GetStepAggregatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWorkflowAggregatesJSONRequestBody

type GetWorkflowAggregatesJSONRequestBody = WorkflowAggregatesBody

GetWorkflowAggregatesJSONRequestBody defines body for GetWorkflowAggregates for application/json ContentType.

type GetWorkflowAggregatesResponse

type GetWorkflowAggregatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]WorkflowAggregate
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseGetWorkflowAggregatesResponse

func ParseGetWorkflowAggregatesResponse(rsp *http.Response) (*GetWorkflowAggregatesResponse, error)

ParseGetWorkflowAggregatesResponse parses an HTTP response from a GetWorkflowAggregatesWithResponse call

func (GetWorkflowAggregatesResponse) ContentType

func (r GetWorkflowAggregatesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWorkflowAggregatesResponse) GetApplicationproblemJSONDefault

func (r GetWorkflowAggregatesResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetWorkflowAggregatesResponse) GetBody

func (r GetWorkflowAggregatesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetWorkflowAggregatesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetWorkflowAggregatesResponse) Status

Status returns HTTPResponse.Status

func (GetWorkflowAggregatesResponse) StatusCode

func (r GetWorkflowAggregatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWorkflowMetricsHistoryJSONRequestBody added in v0.13.0

type GetWorkflowMetricsHistoryJSONRequestBody = WorkflowMetricsHistoryBody

GetWorkflowMetricsHistoryJSONRequestBody defines body for GetWorkflowMetricsHistory for application/json ContentType.

type GetWorkflowMetricsHistoryResponse added in v0.13.0

type GetWorkflowMetricsHistoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WorkflowMetricHistoryResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseGetWorkflowMetricsHistoryResponse added in v0.13.0

func ParseGetWorkflowMetricsHistoryResponse(rsp *http.Response) (*GetWorkflowMetricsHistoryResponse, error)

ParseGetWorkflowMetricsHistoryResponse parses an HTTP response from a GetWorkflowMetricsHistoryWithResponse call

func (GetWorkflowMetricsHistoryResponse) ContentType added in v0.13.0

func (r GetWorkflowMetricsHistoryResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWorkflowMetricsHistoryResponse) GetApplicationproblemJSONDefault added in v0.13.0

func (r GetWorkflowMetricsHistoryResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetWorkflowMetricsHistoryResponse) GetBody added in v0.13.0

GetBody returns the raw response body bytes

func (GetWorkflowMetricsHistoryResponse) GetJSON200 added in v0.13.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetWorkflowMetricsHistoryResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (GetWorkflowMetricsHistoryResponse) StatusCode added in v0.13.0

func (r GetWorkflowMetricsHistoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWorkflowMetricsLiveJSONRequestBody added in v0.13.0

type GetWorkflowMetricsLiveJSONRequestBody = WorkflowMetricsLiveBody

GetWorkflowMetricsLiveJSONRequestBody defines body for GetWorkflowMetricsLive for application/json ContentType.

type GetWorkflowMetricsLiveResponse added in v0.13.0

type GetWorkflowMetricsLiveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WorkflowMetricLiveResponse
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseGetWorkflowMetricsLiveResponse added in v0.13.0

func ParseGetWorkflowMetricsLiveResponse(rsp *http.Response) (*GetWorkflowMetricsLiveResponse, error)

ParseGetWorkflowMetricsLiveResponse parses an HTTP response from a GetWorkflowMetricsLiveWithResponse call

func (GetWorkflowMetricsLiveResponse) ContentType added in v0.13.0

func (r GetWorkflowMetricsLiveResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWorkflowMetricsLiveResponse) GetApplicationproblemJSONDefault added in v0.13.0

func (r GetWorkflowMetricsLiveResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetWorkflowMetricsLiveResponse) GetBody added in v0.13.0

func (r GetWorkflowMetricsLiveResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetWorkflowMetricsLiveResponse) GetJSON200 added in v0.13.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetWorkflowMetricsLiveResponse) Status added in v0.13.0

Status returns HTTPResponse.Status

func (GetWorkflowMetricsLiveResponse) StatusCode added in v0.13.0

func (r GetWorkflowMetricsLiveResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWorkflowParams added in v0.13.0

type GetWorkflowParams struct {
	// ShardKey The workflow's shard key. Required when the application's system database is sharded.
	ShardKey *string `form:"shardKey,omitempty" json:"shardKey,omitempty"`
}

GetWorkflowParams defines parameters for GetWorkflow.

type GetWorkflowResponse

type GetWorkflowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Workflow
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseGetWorkflowResponse

func ParseGetWorkflowResponse(rsp *http.Response) (*GetWorkflowResponse, error)

ParseGetWorkflowResponse parses an HTTP response from a GetWorkflowWithResponse call

func (GetWorkflowResponse) ContentType

func (r GetWorkflowResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWorkflowResponse) GetApplicationproblemJSONDefault

func (r GetWorkflowResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GetWorkflowResponse) GetBody

func (r GetWorkflowResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetWorkflowResponse) GetJSON200

func (r GetWorkflowResponse) GetJSON200() *Workflow

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetWorkflowResponse) Status

func (r GetWorkflowResponse) Status() string

Status returns HTTPResponse.Status

func (GetWorkflowResponse) StatusCode

func (r GetWorkflowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GrantRoleResponse

type GrantRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseGrantRoleResponse

func ParseGrantRoleResponse(rsp *http.Response) (*GrantRoleResponse, error)

ParseGrantRoleResponse parses an HTTP response from a GrantRoleWithResponse call

func (GrantRoleResponse) ContentType

func (r GrantRoleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GrantRoleResponse) GetApplicationproblemJSONDefault

func (r GrantRoleResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GrantRoleResponse) GetBody

func (r GrantRoleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GrantRoleResponse) Status

func (r GrantRoleResponse) Status() string

Status returns HTTPResponse.Status

func (GrantRoleResponse) StatusCode

func (r GrantRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GrantWorkspaceRoleResponse added in v0.14.0

type GrantWorkspaceRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseGrantWorkspaceRoleResponse added in v0.14.0

func ParseGrantWorkspaceRoleResponse(rsp *http.Response) (*GrantWorkspaceRoleResponse, error)

ParseGrantWorkspaceRoleResponse parses an HTTP response from a GrantWorkspaceRoleWithResponse call

func (GrantWorkspaceRoleResponse) ContentType added in v0.14.0

func (r GrantWorkspaceRoleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GrantWorkspaceRoleResponse) GetApplicationproblemJSONDefault added in v0.14.0

func (r GrantWorkspaceRoleResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (GrantWorkspaceRoleResponse) GetBody added in v0.14.0

func (r GrantWorkspaceRoleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GrantWorkspaceRoleResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (GrantWorkspaceRoleResponse) StatusCode added in v0.14.0

func (r GrantWorkspaceRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ImportWorkflowInputBody

type ImportWorkflowInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/ImportWorkflowInputBody.json
	Schema             *string `json:"$schema,omitempty"`
	SerializedWorkflow string  `json:"serializedWorkflow"`
}

ImportWorkflowInputBody defines model for ImportWorkflowInputBody.

type ImportWorkflowJSONRequestBody

type ImportWorkflowJSONRequestBody = ImportWorkflowInputBody

ImportWorkflowJSONRequestBody defines body for ImportWorkflow for application/json ContentType.

type ImportWorkflowResponse

type ImportWorkflowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseImportWorkflowResponse

func ParseImportWorkflowResponse(rsp *http.Response) (*ImportWorkflowResponse, error)

ParseImportWorkflowResponse parses an HTTP response from a ImportWorkflowWithResponse call

func (ImportWorkflowResponse) ContentType

func (r ImportWorkflowResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ImportWorkflowResponse) GetApplicationproblemJSONDefault

func (r ImportWorkflowResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ImportWorkflowResponse) GetBody

func (r ImportWorkflowResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ImportWorkflowResponse) Status

func (r ImportWorkflowResponse) Status() string

Status returns HTTPResponse.Status

func (ImportWorkflowResponse) StatusCode

func (r ImportWorkflowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type JoinOrgInputBody

type JoinOrgInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/JoinOrgInputBody.json
	Schema *string `json:"$schema,omitempty"`
	Secret string  `json:"secret"`
}

JoinOrgInputBody defines model for JoinOrgInputBody.

type JoinOrgJSONRequestBody

type JoinOrgJSONRequestBody = JoinOrgInputBody

JoinOrgJSONRequestBody defines body for JoinOrg for application/json ContentType.

type JoinOrgResponse

type JoinOrgResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseJoinOrgResponse

func ParseJoinOrgResponse(rsp *http.Response) (*JoinOrgResponse, error)

ParseJoinOrgResponse parses an HTTP response from a JoinOrgWithResponse call

func (JoinOrgResponse) ContentType

func (r JoinOrgResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (JoinOrgResponse) GetApplicationproblemJSONDefault

func (r JoinOrgResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (JoinOrgResponse) GetBody

func (r JoinOrgResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (JoinOrgResponse) Status

func (r JoinOrgResponse) Status() string

Status returns HTTPResponse.Status

func (JoinOrgResponse) StatusCode

func (r JoinOrgResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAlertingRulesResponse

type ListAlertingRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]AlertingRule
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseListAlertingRulesResponse

func ParseListAlertingRulesResponse(rsp *http.Response) (*ListAlertingRulesResponse, error)

ParseListAlertingRulesResponse parses an HTTP response from a ListAlertingRulesWithResponse call

func (ListAlertingRulesResponse) ContentType

func (r ListAlertingRulesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListAlertingRulesResponse) GetApplicationproblemJSONDefault

func (r ListAlertingRulesResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListAlertingRulesResponse) GetBody

func (r ListAlertingRulesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListAlertingRulesResponse) GetJSON200

func (r ListAlertingRulesResponse) GetJSON200() *[]AlertingRule

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListAlertingRulesResponse) Status

func (r ListAlertingRulesResponse) Status() string

Status returns HTTPResponse.Status

func (ListAlertingRulesResponse) StatusCode

func (r ListAlertingRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAppVersionsResponse

type ListAppVersionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]ApplicationVersion
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseListAppVersionsResponse

func ParseListAppVersionsResponse(rsp *http.Response) (*ListAppVersionsResponse, error)

ParseListAppVersionsResponse parses an HTTP response from a ListAppVersionsWithResponse call

func (ListAppVersionsResponse) ContentType

func (r ListAppVersionsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListAppVersionsResponse) GetApplicationproblemJSONDefault

func (r ListAppVersionsResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListAppVersionsResponse) GetBody

func (r ListAppVersionsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListAppVersionsResponse) GetJSON200

func (r ListAppVersionsResponse) GetJSON200() *[]ApplicationVersion

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListAppVersionsResponse) Status

func (r ListAppVersionsResponse) Status() string

Status returns HTTPResponse.Status

func (ListAppVersionsResponse) StatusCode

func (r ListAppVersionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAppsParams added in v0.14.0

type ListAppsParams struct {
	// Workspace Lists only the applications in the workspace of this name.
	Workspace *string `form:"workspace,omitempty" json:"workspace,omitempty"`
}

ListAppsParams defines parameters for ListApps.

type ListAppsResponse

type ListAppsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Application
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseListAppsResponse

func ParseListAppsResponse(rsp *http.Response) (*ListAppsResponse, error)

ParseListAppsResponse parses an HTTP response from a ListAppsWithResponse call

func (ListAppsResponse) ContentType

func (r ListAppsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListAppsResponse) GetApplicationproblemJSONDefault

func (r ListAppsResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListAppsResponse) GetBody

func (r ListAppsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListAppsResponse) GetJSON200

func (r ListAppsResponse) GetJSON200() *[]Application

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListAppsResponse) Status

func (r ListAppsResponse) Status() string

Status returns HTTPResponse.Status

func (ListAppsResponse) StatusCode

func (r ListAppsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAuditLogsParams

type ListAuditLogsParams struct {
	StartTime *time.Time `form:"startTime,omitempty" json:"startTime,omitempty"`
	EndTime   *time.Time `form:"endTime,omitempty" json:"endTime,omitempty"`
	Operation *string    `form:"operation,omitempty" json:"operation,omitempty"`
	Subject   *string    `form:"subject,omitempty" json:"subject,omitempty"`
	Target    *string    `form:"target,omitempty" json:"target,omitempty"`
	Limit     *int64     `form:"limit,omitempty" json:"limit,omitempty"`
	Offset    *int64     `form:"offset,omitempty" json:"offset,omitempty"`
}

ListAuditLogsParams defines parameters for ListAuditLogs.

type ListAuditLogsResponse

type ListAuditLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]AuditLogEntry
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseListAuditLogsResponse

func ParseListAuditLogsResponse(rsp *http.Response) (*ListAuditLogsResponse, error)

ParseListAuditLogsResponse parses an HTTP response from a ListAuditLogsWithResponse call

func (ListAuditLogsResponse) ContentType

func (r ListAuditLogsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListAuditLogsResponse) GetApplicationproblemJSONDefault

func (r ListAuditLogsResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListAuditLogsResponse) GetBody

func (r ListAuditLogsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListAuditLogsResponse) GetJSON200

func (r ListAuditLogsResponse) GetJSON200() *[]AuditLogEntry

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListAuditLogsResponse) Status

func (r ListAuditLogsResponse) Status() string

Status returns HTTPResponse.Status

func (ListAuditLogsResponse) StatusCode

func (r ListAuditLogsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListDomainClaimsOutputBody

type ListDomainClaimsOutputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/ListDomainClaimsOutputBody.json
	Schema *string       `json:"$schema,omitempty"`
	Claims []DomainClaim `json:"claims"`
}

ListDomainClaimsOutputBody defines model for ListDomainClaimsOutputBody.

type ListDomainClaimsResponse

type ListDomainClaimsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ListDomainClaimsOutputBody
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseListDomainClaimsResponse

func ParseListDomainClaimsResponse(rsp *http.Response) (*ListDomainClaimsResponse, error)

ParseListDomainClaimsResponse parses an HTTP response from a ListDomainClaimsWithResponse call

func (ListDomainClaimsResponse) ContentType

func (r ListDomainClaimsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListDomainClaimsResponse) GetApplicationproblemJSONDefault

func (r ListDomainClaimsResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListDomainClaimsResponse) GetBody

func (r ListDomainClaimsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListDomainClaimsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListDomainClaimsResponse) Status

func (r ListDomainClaimsResponse) Status() string

Status returns HTTPResponse.Status

func (ListDomainClaimsResponse) StatusCode

func (r ListDomainClaimsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListExecutorsResponse

type ListExecutorsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Executor
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseListExecutorsResponse

func ParseListExecutorsResponse(rsp *http.Response) (*ListExecutorsResponse, error)

ParseListExecutorsResponse parses an HTTP response from a ListExecutorsWithResponse call

func (ListExecutorsResponse) ContentType

func (r ListExecutorsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListExecutorsResponse) GetApplicationproblemJSONDefault

func (r ListExecutorsResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListExecutorsResponse) GetBody

func (r ListExecutorsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListExecutorsResponse) GetJSON200

func (r ListExecutorsResponse) GetJSON200() *[]Executor

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListExecutorsResponse) Status

func (r ListExecutorsResponse) Status() string

Status returns HTTPResponse.Status

func (ListExecutorsResponse) StatusCode

func (r ListExecutorsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMembersResponse

type ListMembersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OrgMembers
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseListMembersResponse

func ParseListMembersResponse(rsp *http.Response) (*ListMembersResponse, error)

ParseListMembersResponse parses an HTTP response from a ListMembersWithResponse call

func (ListMembersResponse) ContentType

func (r ListMembersResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListMembersResponse) GetApplicationproblemJSONDefault

func (r ListMembersResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListMembersResponse) GetBody

func (r ListMembersResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListMembersResponse) GetJSON200

func (r ListMembersResponse) GetJSON200() *OrgMembers

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListMembersResponse) Status

func (r ListMembersResponse) Status() string

Status returns HTTPResponse.Status

func (ListMembersResponse) StatusCode

func (r ListMembersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMetricsParams

type ListMetricsParams struct {
	StartTime time.Time `form:"startTime" json:"startTime"`
	EndTime   time.Time `form:"endTime" json:"endTime"`
}

ListMetricsParams defines parameters for ListMetrics.

type ListMetricsResponse

type ListMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Metric
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseListMetricsResponse

func ParseListMetricsResponse(rsp *http.Response) (*ListMetricsResponse, error)

ParseListMetricsResponse parses an HTTP response from a ListMetricsWithResponse call

func (ListMetricsResponse) ContentType

func (r ListMetricsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListMetricsResponse) GetApplicationproblemJSONDefault

func (r ListMetricsResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListMetricsResponse) GetBody

func (r ListMetricsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListMetricsResponse) GetJSON200

func (r ListMetricsResponse) GetJSON200() *[]Metric

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListMetricsResponse) Status

func (r ListMetricsResponse) Status() string

Status returns HTTPResponse.Status

func (ListMetricsResponse) StatusCode

func (r ListMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPermissionsResponse

type ListPermissionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]string
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseListPermissionsResponse

func ParseListPermissionsResponse(rsp *http.Response) (*ListPermissionsResponse, error)

ParseListPermissionsResponse parses an HTTP response from a ListPermissionsWithResponse call

func (ListPermissionsResponse) ContentType

func (r ListPermissionsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListPermissionsResponse) GetApplicationproblemJSONDefault

func (r ListPermissionsResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListPermissionsResponse) GetBody

func (r ListPermissionsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListPermissionsResponse) GetJSON200

func (r ListPermissionsResponse) GetJSON200() *[]string

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListPermissionsResponse) Status

func (r ListPermissionsResponse) Status() string

Status returns HTTPResponse.Status

func (ListPermissionsResponse) StatusCode

func (r ListPermissionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListQueuesResponse

type ListQueuesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Queue
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseListQueuesResponse

func ParseListQueuesResponse(rsp *http.Response) (*ListQueuesResponse, error)

ParseListQueuesResponse parses an HTTP response from a ListQueuesWithResponse call

func (ListQueuesResponse) ContentType

func (r ListQueuesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListQueuesResponse) GetApplicationproblemJSONDefault

func (r ListQueuesResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListQueuesResponse) GetBody

func (r ListQueuesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListQueuesResponse) GetJSON200

func (r ListQueuesResponse) GetJSON200() *[]Queue

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListQueuesResponse) Status

func (r ListQueuesResponse) Status() string

Status returns HTTPResponse.Status

func (ListQueuesResponse) StatusCode

func (r ListQueuesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListRolesResponse

type ListRolesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]RoleOutput
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseListRolesResponse

func ParseListRolesResponse(rsp *http.Response) (*ListRolesResponse, error)

ParseListRolesResponse parses an HTTP response from a ListRolesWithResponse call

func (ListRolesResponse) ContentType

func (r ListRolesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListRolesResponse) GetApplicationproblemJSONDefault

func (r ListRolesResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListRolesResponse) GetBody

func (r ListRolesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListRolesResponse) GetJSON200

func (r ListRolesResponse) GetJSON200() *[]RoleOutput

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListRolesResponse) Status

func (r ListRolesResponse) Status() string

Status returns HTTPResponse.Status

func (ListRolesResponse) StatusCode

func (r ListRolesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSavedViewsResponse added in v0.14.0

type ListSavedViewsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]SavedView
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseListSavedViewsResponse added in v0.14.0

func ParseListSavedViewsResponse(rsp *http.Response) (*ListSavedViewsResponse, error)

ParseListSavedViewsResponse parses an HTTP response from a ListSavedViewsWithResponse call

func (ListSavedViewsResponse) ContentType added in v0.14.0

func (r ListSavedViewsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListSavedViewsResponse) GetApplicationproblemJSONDefault added in v0.14.0

func (r ListSavedViewsResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListSavedViewsResponse) GetBody added in v0.14.0

func (r ListSavedViewsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListSavedViewsResponse) GetJSON200 added in v0.14.0

func (r ListSavedViewsResponse) GetJSON200() *[]SavedView

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListSavedViewsResponse) Status added in v0.14.0

func (r ListSavedViewsResponse) Status() string

Status returns HTTPResponse.Status

func (ListSavedViewsResponse) StatusCode added in v0.14.0

func (r ListSavedViewsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSchedulesParams

type ListSchedulesParams struct {
	// Status Filter by schedule status as defined by DBOS Transact. Known values: ACTIVE, PAUSED. Not an enforced enum; unrecognized values simply match nothing.
	Status             *string `form:"status,omitempty" json:"status,omitempty"`
	WorkflowName       *string `form:"workflowName,omitempty" json:"workflowName,omitempty"`
	ScheduleNamePrefix *string `form:"scheduleNamePrefix,omitempty" json:"scheduleNamePrefix,omitempty"`
	LoadContext        *bool   `form:"loadContext,omitempty" json:"loadContext,omitempty"`
}

ListSchedulesParams defines parameters for ListSchedules.

type ListSchedulesResponse

type ListSchedulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Schedule
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseListSchedulesResponse

func ParseListSchedulesResponse(rsp *http.Response) (*ListSchedulesResponse, error)

ParseListSchedulesResponse parses an HTTP response from a ListSchedulesWithResponse call

func (ListSchedulesResponse) ContentType

func (r ListSchedulesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListSchedulesResponse) GetApplicationproblemJSONDefault

func (r ListSchedulesResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListSchedulesResponse) GetBody

func (r ListSchedulesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListSchedulesResponse) GetJSON200

func (r ListSchedulesResponse) GetJSON200() *[]Schedule

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListSchedulesResponse) Status

func (r ListSchedulesResponse) Status() string

Status returns HTTPResponse.Status

func (ListSchedulesResponse) StatusCode

func (r ListSchedulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTokensResponse

type ListTokensResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Token
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseListTokensResponse

func ParseListTokensResponse(rsp *http.Response) (*ListTokensResponse, error)

ParseListTokensResponse parses an HTTP response from a ListTokensWithResponse call

func (ListTokensResponse) ContentType

func (r ListTokensResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListTokensResponse) GetApplicationproblemJSONDefault

func (r ListTokensResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListTokensResponse) GetBody

func (r ListTokensResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListTokensResponse) GetJSON200

func (r ListTokensResponse) GetJSON200() *[]Token

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListTokensResponse) Status

func (r ListTokensResponse) Status() string

Status returns HTTPResponse.Status

func (ListTokensResponse) StatusCode

func (r ListTokensResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWorkflowEventsParams added in v0.13.0

type ListWorkflowEventsParams struct {
	// ShardKey The workflow's shard key. Required when the application's system database is sharded.
	ShardKey *string `form:"shardKey,omitempty" json:"shardKey,omitempty"`
}

ListWorkflowEventsParams defines parameters for ListWorkflowEvents.

type ListWorkflowEventsResponse

type ListWorkflowEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Event
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseListWorkflowEventsResponse

func ParseListWorkflowEventsResponse(rsp *http.Response) (*ListWorkflowEventsResponse, error)

ParseListWorkflowEventsResponse parses an HTTP response from a ListWorkflowEventsWithResponse call

func (ListWorkflowEventsResponse) ContentType

func (r ListWorkflowEventsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListWorkflowEventsResponse) GetApplicationproblemJSONDefault

func (r ListWorkflowEventsResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListWorkflowEventsResponse) GetBody

func (r ListWorkflowEventsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListWorkflowEventsResponse) GetJSON200

func (r ListWorkflowEventsResponse) GetJSON200() *[]Event

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListWorkflowEventsResponse) Status

Status returns HTTPResponse.Status

func (ListWorkflowEventsResponse) StatusCode

func (r ListWorkflowEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWorkflowNotificationsParams added in v0.13.0

type ListWorkflowNotificationsParams struct {
	// ShardKey The workflow's shard key. Required when the application's system database is sharded.
	ShardKey *string `form:"shardKey,omitempty" json:"shardKey,omitempty"`
}

ListWorkflowNotificationsParams defines parameters for ListWorkflowNotifications.

type ListWorkflowNotificationsResponse

type ListWorkflowNotificationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Notification
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseListWorkflowNotificationsResponse

func ParseListWorkflowNotificationsResponse(rsp *http.Response) (*ListWorkflowNotificationsResponse, error)

ParseListWorkflowNotificationsResponse parses an HTTP response from a ListWorkflowNotificationsWithResponse call

func (ListWorkflowNotificationsResponse) ContentType

func (r ListWorkflowNotificationsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListWorkflowNotificationsResponse) GetApplicationproblemJSONDefault

func (r ListWorkflowNotificationsResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListWorkflowNotificationsResponse) GetBody

GetBody returns the raw response body bytes

func (ListWorkflowNotificationsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListWorkflowNotificationsResponse) Status

Status returns HTTPResponse.Status

func (ListWorkflowNotificationsResponse) StatusCode

func (r ListWorkflowNotificationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWorkflowStepsParams

type ListWorkflowStepsParams struct {
	Limit  *int64 `form:"limit,omitempty" json:"limit,omitempty"`
	Offset *int64 `form:"offset,omitempty" json:"offset,omitempty"`

	// ShardKey The workflow's shard key. Required when the application's system database is sharded.
	ShardKey *string `form:"shardKey,omitempty" json:"shardKey,omitempty"`
}

ListWorkflowStepsParams defines parameters for ListWorkflowSteps.

type ListWorkflowStepsResponse

type ListWorkflowStepsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Step
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseListWorkflowStepsResponse

func ParseListWorkflowStepsResponse(rsp *http.Response) (*ListWorkflowStepsResponse, error)

ParseListWorkflowStepsResponse parses an HTTP response from a ListWorkflowStepsWithResponse call

func (ListWorkflowStepsResponse) ContentType

func (r ListWorkflowStepsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListWorkflowStepsResponse) GetApplicationproblemJSONDefault

func (r ListWorkflowStepsResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListWorkflowStepsResponse) GetBody

func (r ListWorkflowStepsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListWorkflowStepsResponse) GetJSON200

func (r ListWorkflowStepsResponse) GetJSON200() *[]Step

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListWorkflowStepsResponse) Status

func (r ListWorkflowStepsResponse) Status() string

Status returns HTTPResponse.Status

func (ListWorkflowStepsResponse) StatusCode

func (r ListWorkflowStepsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWorkflowStreamsParams added in v0.13.0

type ListWorkflowStreamsParams struct {
	// ShardKey The workflow's shard key. Required when the application's system database is sharded.
	ShardKey *string `form:"shardKey,omitempty" json:"shardKey,omitempty"`
}

ListWorkflowStreamsParams defines parameters for ListWorkflowStreams.

type ListWorkflowStreamsResponse

type ListWorkflowStreamsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]StreamEntry
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseListWorkflowStreamsResponse

func ParseListWorkflowStreamsResponse(rsp *http.Response) (*ListWorkflowStreamsResponse, error)

ParseListWorkflowStreamsResponse parses an HTTP response from a ListWorkflowStreamsWithResponse call

func (ListWorkflowStreamsResponse) ContentType

func (r ListWorkflowStreamsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListWorkflowStreamsResponse) GetApplicationproblemJSONDefault

func (r ListWorkflowStreamsResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListWorkflowStreamsResponse) GetBody

func (r ListWorkflowStreamsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListWorkflowStreamsResponse) GetJSON200

func (r ListWorkflowStreamsResponse) GetJSON200() *[]StreamEntry

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListWorkflowStreamsResponse) Status

Status returns HTTPResponse.Status

func (ListWorkflowStreamsResponse) StatusCode

func (r ListWorkflowStreamsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWorkflowsParams

type ListWorkflowsParams struct {
	Status       *string `form:"status,omitempty" json:"status,omitempty"`
	WorkflowName *string `form:"workflowName,omitempty" json:"workflowName,omitempty"`
	Limit        *int64  `form:"limit,omitempty" json:"limit,omitempty"`
	Offset       *int64  `form:"offset,omitempty" json:"offset,omitempty"`
	SortDesc     *bool   `form:"sortDesc,omitempty" json:"sortDesc,omitempty"`
	LoadInput    *bool   `form:"loadInput,omitempty" json:"loadInput,omitempty"`
	LoadOutput   *bool   `form:"loadOutput,omitempty" json:"loadOutput,omitempty"`
}

ListWorkflowsParams defines parameters for ListWorkflows.

type ListWorkflowsResponse

type ListWorkflowsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Workflow
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseListWorkflowsResponse

func ParseListWorkflowsResponse(rsp *http.Response) (*ListWorkflowsResponse, error)

ParseListWorkflowsResponse parses an HTTP response from a ListWorkflowsWithResponse call

func (ListWorkflowsResponse) ContentType

func (r ListWorkflowsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListWorkflowsResponse) GetApplicationproblemJSONDefault

func (r ListWorkflowsResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListWorkflowsResponse) GetBody

func (r ListWorkflowsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListWorkflowsResponse) GetJSON200

func (r ListWorkflowsResponse) GetJSON200() *[]Workflow

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListWorkflowsResponse) Status

func (r ListWorkflowsResponse) Status() string

Status returns HTTPResponse.Status

func (ListWorkflowsResponse) StatusCode

func (r ListWorkflowsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWorkspacesResponse added in v0.14.0

type ListWorkspacesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Workspace
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseListWorkspacesResponse added in v0.14.0

func ParseListWorkspacesResponse(rsp *http.Response) (*ListWorkspacesResponse, error)

ParseListWorkspacesResponse parses an HTTP response from a ListWorkspacesWithResponse call

func (ListWorkspacesResponse) ContentType added in v0.14.0

func (r ListWorkspacesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListWorkspacesResponse) GetApplicationproblemJSONDefault added in v0.14.0

func (r ListWorkspacesResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ListWorkspacesResponse) GetBody added in v0.14.0

func (r ListWorkspacesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListWorkspacesResponse) GetJSON200 added in v0.14.0

func (r ListWorkspacesResponse) GetJSON200() *[]Workspace

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListWorkspacesResponse) Status added in v0.14.0

func (r ListWorkspacesResponse) Status() string

Status returns HTTPResponse.Status

func (ListWorkspacesResponse) StatusCode added in v0.14.0

func (r ListWorkspacesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Member

type Member struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/Member.json
	Schema     *string `json:"$schema,omitempty"`
	Company    string  `json:"company"`
	Email      string  `json:"email"`
	FamilyName string  `json:"familyName"`
	GivenName  string  `json:"givenName"`
	Id         string  `json:"id"`
	Name       string  `json:"name"`
	OrgId      string  `json:"orgId"`
}

Member defines model for Member.

type Metric

type Metric struct {
	AppId       string `json:"appId"`
	Granularity int32  `json:"granularity"`
	MetricName  string `json:"metricName"`

	// MetricType Metric type. Known values: workflow_count, step_count (reported by executor SDKs), recovery_count (reported by Conductor). Not an enforced enum; newer SDK versions may report additional values.
	MetricType string    `json:"metricType"`
	TimeBucket time.Time `json:"timeBucket"`
	Value      int64     `json:"value"`
}

Metric defines model for Metric.

type MoveAppInputBody added in v0.14.0

type MoveAppInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/MoveAppInputBody.json
	Schema *string `json:"$schema,omitempty"`

	// Workspace Name of the workspace to move the application to.
	Workspace string `json:"workspace"`
}

MoveAppInputBody defines model for MoveAppInputBody.

type MoveAppJSONRequestBody added in v0.14.0

type MoveAppJSONRequestBody = MoveAppInputBody

MoveAppJSONRequestBody defines body for MoveApp for application/json ContentType.

type MoveAppResponse added in v0.14.0

type MoveAppResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseMoveAppResponse added in v0.14.0

func ParseMoveAppResponse(rsp *http.Response) (*MoveAppResponse, error)

ParseMoveAppResponse parses an HTTP response from a MoveAppWithResponse call

func (MoveAppResponse) ContentType added in v0.14.0

func (r MoveAppResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (MoveAppResponse) GetApplicationproblemJSONDefault added in v0.14.0

func (r MoveAppResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (MoveAppResponse) GetBody added in v0.14.0

func (r MoveAppResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (MoveAppResponse) Status added in v0.14.0

func (r MoveAppResponse) Status() string

Status returns HTTPResponse.Status

func (MoveAppResponse) StatusCode added in v0.14.0

func (r MoveAppResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Notification

type Notification struct {
	Consumed  bool      `json:"consumed"`
	CreatedAt time.Time `json:"createdAt"`
	Message   string    `json:"message"`
	Topic     *string   `json:"topic"`
}

Notification defines model for Notification.

type OrgMembers

type OrgMembers struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/OrgMembers.json
	Schema  *string `json:"$schema,omitempty"`
	OrgName string  `json:"orgName"`

	// Users Each member's role for the whole organization, keyed by user name. A member without one is omitted.
	Users map[string]RoleOutput `json:"users"`

	// WorkspaceRoles Each member's roles in single workspaces, keyed by user name. Lists every member.
	WorkspaceRoles map[string]*[]WorkspaceRole `json:"workspaceRoles"`
}

OrgMembers defines model for OrgMembers.

type Organization

type Organization struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/Organization.json
	Schema                      *string   `json:"$schema,omitempty"`
	AuditLogRetentionDays       int32     `json:"auditLogRetentionDays"`
	CreatedAt                   time.Time `json:"createdAt"`
	DefaultRdsInstanceClassType string    `json:"defaultRdsInstanceClassType"`
	Id                          string    `json:"id"`
	MaxApps                     int32     `json:"maxApps"`
	MaxConductorApps            int32     `json:"maxConductorApps"`
	MaxDatabaseInstances        int32     `json:"maxDatabaseInstances"`
	MaxTeamMembers              int32     `json:"maxTeamMembers"`
	MaxVms                      int32     `json:"maxVms"`

	// MaxWorkspaces How many workspaces the org may have. Only DBOS-managed Conductor enforces it, and only when creating a workspace.
	MaxWorkspaces    int32                        `json:"maxWorkspaces"`
	Name             string                       `json:"name"`
	SubscriptionPlan OrganizationSubscriptionPlan `json:"subscriptionPlan"`
}

Organization defines model for Organization.

type OrganizationSubscriptionPlan

type OrganizationSubscriptionPlan string

OrganizationSubscriptionPlan defines model for Organization.SubscriptionPlan.

const (
	OrganizationSubscriptionPlanEnterprise OrganizationSubscriptionPlan = "enterprise"
	OrganizationSubscriptionPlanFree       OrganizationSubscriptionPlan = "free"
	OrganizationSubscriptionPlanPastLimit  OrganizationSubscriptionPlan = "past_limit"
	OrganizationSubscriptionPlanPro        OrganizationSubscriptionPlan = "pro"
	OrganizationSubscriptionPlanTeam       OrganizationSubscriptionPlan = "team"
)

Defines values for OrganizationSubscriptionPlan.

func (OrganizationSubscriptionPlan) Valid

Valid indicates whether the value is a known member of the OrganizationSubscriptionPlan enum.

type PatchAppInputBody

type PatchAppInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/PatchAppInputBody.json
	Schema              *string `json:"$schema,omitempty"`
	ExecutorTimeoutSecs *int64  `json:"executorTimeoutSecs,omitempty"`
	GcRowsThreshold     *int64  `json:"gcRowsThreshold,omitempty"`
	GcTimeThresholdMs   *int64  `json:"gcTimeThresholdMs,omitempty"`
	GlobalTimeoutMs     *int64  `json:"globalTimeoutMs,omitempty"`
	PrivateMode         *bool   `json:"privateMode,omitempty"`

	// WorkflowMetricsEnabled Turns workflow metrics collection from this application's database on or off. Turning it back on resumes from now: the time it was off is recorded as missing, not collected.
	WorkflowMetricsEnabled *bool `json:"workflowMetricsEnabled,omitempty"`
}

PatchAppInputBody defines model for PatchAppInputBody.

type PatchLatestVersionInputBody

type PatchLatestVersionInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/PatchLatestVersionInputBody.json
	Schema      *string `json:"$schema,omitempty"`
	VersionName string  `json:"versionName"`
}

PatchLatestVersionInputBody defines model for PatchLatestVersionInputBody.

type PauseScheduleResponse

type PauseScheduleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParsePauseScheduleResponse

func ParsePauseScheduleResponse(rsp *http.Response) (*PauseScheduleResponse, error)

ParsePauseScheduleResponse parses an HTTP response from a PauseScheduleWithResponse call

func (PauseScheduleResponse) ContentType

func (r PauseScheduleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PauseScheduleResponse) GetApplicationproblemJSONDefault

func (r PauseScheduleResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (PauseScheduleResponse) GetBody

func (r PauseScheduleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PauseScheduleResponse) Status

func (r PauseScheduleResponse) Status() string

Status returns HTTPResponse.Status

func (PauseScheduleResponse) StatusCode

func (r PauseScheduleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PolicyOutputBody

type PolicyOutputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/PolicyOutputBody.json
	Schema *string         `json:"$schema,omitempty"`
	Policy AutoscalePolicy `json:"policy"`
}

PolicyOutputBody defines model for PolicyOutputBody.

type PutAppInputBody

type PutAppInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/PutAppInputBody.json
	Schema      *string `json:"$schema,omitempty"`
	PrivateMode *bool   `json:"privateMode,omitempty"`

	// Workspace Name of the workspace to register the application in. May be omitted while the org has only one workspace.
	Workspace *string `json:"workspace,omitempty"`
}

PutAppInputBody defines model for PutAppInputBody.

type Queue

type Queue struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/Queue.json
	Schema *string `json:"$schema,omitempty"`

	// ApplicationName The application that owns this queue, when several applications share a system database. Null for in-memory queues and for queues recorded before DBOS Transact tracked application names.
	ApplicationName *string `json:"applicationName"`
	Concurrency     *int32  `json:"concurrency"`
	Name            string  `json:"name"`

	// PartitionConcurrency Maximum workflows running concurrently within each partition. Null when no such limit is set, and for a queue using the deprecated partitionQueue option, where concurrency itself applies per partition.
	PartitionConcurrency *int32 `json:"partitionConcurrency"`
	PartitionQueue       bool   `json:"partitionQueue"`

	// PartitionRateLimitMax Maximum workflows started per rate limit period within each partition. Null when no such limit is set, and for a queue using the deprecated partitionQueue option, where rateLimitMax itself applies per partition.
	PartitionRateLimitMax *int32 `json:"partitionRateLimitMax"`

	// PartitionRateLimitPeriodSecs Length in seconds of the per-partition rate limit period. Null whenever partitionRateLimitMax is null.
	PartitionRateLimitPeriodSecs *float64 `json:"partitionRateLimitPeriodSecs"`

	// PartitionWorkerConcurrency Maximum workflows running concurrently on a single executor within each partition. Null when no such limit is set, and for a queue using the deprecated partitionQueue option, where workerConcurrency itself applies per partition.
	PartitionWorkerConcurrency *int32   `json:"partitionWorkerConcurrency"`
	PollingIntervalSecs        float64  `json:"pollingIntervalSecs"`
	PriorityEnabled            bool     `json:"priorityEnabled"`
	RateLimitMax               *int32   `json:"rateLimitMax"`
	RateLimitPeriodSecs        *float64 `json:"rateLimitPeriodSecs"`
	WorkerConcurrency          *int32   `json:"workerConcurrency"`
}

Queue defines model for Queue.

type QueueAutoscale

type QueueAutoscale struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/QueueAutoscale.json
	Schema *string `json:"$schema,omitempty"`

	// ApplicationVersion The application version this recommendation covers.
	ApplicationVersion string `json:"applicationVersion"`

	// DesiredExecutors Executors of this version needed to satisfy the queue load. At least 1, unless the rollout policy caps old versions lower.
	DesiredExecutors int64 `json:"desiredExecutors"`

	// IsLatest True for the application's latest registered version.
	IsLatest bool `json:"isLatest"`

	// ObservedAt Epoch ms when the underlying workflow aggregate was computed.
	ObservedAt int64 `json:"observedAt"`

	// QueueDepth ENQUEUED+PENDING backlog counted for this version on the policy queue.
	QueueDepth int64 `json:"queueDepth"`

	// QueueName The queue the stored autoscaling policy scales on.
	QueueName string `json:"queueName"`
}

QueueAutoscale defines model for QueueAutoscale.

type RegisterAppJSONRequestBody

type RegisterAppJSONRequestBody = PutAppInputBody

RegisterAppJSONRequestBody defines body for RegisterApp for application/json ContentType.

type RegisterAppResponse

type RegisterAppResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseRegisterAppResponse

func ParseRegisterAppResponse(rsp *http.Response) (*RegisterAppResponse, error)

ParseRegisterAppResponse parses an HTTP response from a RegisterAppWithResponse call

func (RegisterAppResponse) ContentType

func (r RegisterAppResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RegisterAppResponse) GetApplicationproblemJSONDefault

func (r RegisterAppResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RegisterAppResponse) GetBody

func (r RegisterAppResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RegisterAppResponse) Status

func (r RegisterAppResponse) Status() string

Status returns HTTPResponse.Status

func (RegisterAppResponse) StatusCode

func (r RegisterAppResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RegisterUserInputBody

type RegisterUserInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/RegisterUserInputBody.json
	Schema     *string `json:"$schema,omitempty"`
	Company    *string `json:"company,omitempty"`
	FamilyName *string `json:"familyName,omitempty"`
	GivenName  *string `json:"givenName,omitempty"`
	Name       string  `json:"name"`
	Secret     *string `json:"secret,omitempty"`
}

RegisterUserInputBody defines model for RegisterUserInputBody.

type RegisterUserJSONRequestBody

type RegisterUserJSONRequestBody = RegisterUserInputBody

RegisterUserJSONRequestBody defines body for RegisterUser for application/json ContentType.

type RegisterUserOutputBody

type RegisterUserOutputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/RegisterUserOutputBody.json
	Schema *string `json:"$schema,omitempty"`
	Id     string  `json:"id"`
}

RegisterUserOutputBody defines model for RegisterUserOutputBody.

type RegisterUserResponse

type RegisterUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *RegisterUserOutputBody
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseRegisterUserResponse

func ParseRegisterUserResponse(rsp *http.Response) (*RegisterUserResponse, error)

ParseRegisterUserResponse parses an HTTP response from a RegisterUserWithResponse call

func (RegisterUserResponse) ContentType

func (r RegisterUserResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RegisterUserResponse) GetApplicationproblemJSONDefault

func (r RegisterUserResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RegisterUserResponse) GetBody

func (r RegisterUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RegisterUserResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (RegisterUserResponse) Status

func (r RegisterUserResponse) Status() string

Status returns HTTPResponse.Status

func (RegisterUserResponse) StatusCode

func (r RegisterUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReleaseDomainClaimResponse

type ReleaseDomainClaimResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseReleaseDomainClaimResponse

func ParseReleaseDomainClaimResponse(rsp *http.Response) (*ReleaseDomainClaimResponse, error)

ParseReleaseDomainClaimResponse parses an HTTP response from a ReleaseDomainClaimWithResponse call

func (ReleaseDomainClaimResponse) ContentType

func (r ReleaseDomainClaimResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ReleaseDomainClaimResponse) GetApplicationproblemJSONDefault

func (r ReleaseDomainClaimResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ReleaseDomainClaimResponse) GetBody

func (r ReleaseDomainClaimResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ReleaseDomainClaimResponse) Status

Status returns HTTPResponse.Status

func (ReleaseDomainClaimResponse) StatusCode

func (r ReleaseDomainClaimResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveMemberResponse

type RemoveMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Member
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseRemoveMemberResponse

func ParseRemoveMemberResponse(rsp *http.Response) (*RemoveMemberResponse, error)

ParseRemoveMemberResponse parses an HTTP response from a RemoveMemberWithResponse call

func (RemoveMemberResponse) ContentType

func (r RemoveMemberResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RemoveMemberResponse) GetApplicationproblemJSONDefault

func (r RemoveMemberResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RemoveMemberResponse) GetBody

func (r RemoveMemberResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RemoveMemberResponse) GetJSON200

func (r RemoveMemberResponse) GetJSON200() *Member

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RemoveMemberResponse) Status

func (r RemoveMemberResponse) Status() string

Status returns HTTPResponse.Status

func (RemoveMemberResponse) StatusCode

func (r RemoveMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RenameWorkspaceInputBody added in v0.14.0

type RenameWorkspaceInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/RenameWorkspaceInputBody.json
	Schema *string `json:"$schema,omitempty"`

	// Name New name of the workspace, unique in the org. Follows the application name rules.
	Name string `json:"name"`
}

RenameWorkspaceInputBody defines model for RenameWorkspaceInputBody.

type RenameWorkspaceJSONRequestBody added in v0.14.0

type RenameWorkspaceJSONRequestBody = RenameWorkspaceInputBody

RenameWorkspaceJSONRequestBody defines body for RenameWorkspace for application/json ContentType.

type RenameWorkspaceResponse added in v0.14.0

type RenameWorkspaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Workspace
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseRenameWorkspaceResponse added in v0.14.0

func ParseRenameWorkspaceResponse(rsp *http.Response) (*RenameWorkspaceResponse, error)

ParseRenameWorkspaceResponse parses an HTTP response from a RenameWorkspaceWithResponse call

func (RenameWorkspaceResponse) ContentType added in v0.14.0

func (r RenameWorkspaceResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RenameWorkspaceResponse) GetApplicationproblemJSONDefault added in v0.14.0

func (r RenameWorkspaceResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RenameWorkspaceResponse) GetBody added in v0.14.0

func (r RenameWorkspaceResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RenameWorkspaceResponse) GetJSON200 added in v0.14.0

func (r RenameWorkspaceResponse) GetJSON200() *Workspace

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RenameWorkspaceResponse) Status added in v0.14.0

func (r RenameWorkspaceResponse) Status() string

Status returns HTTPResponse.Status

func (RenameWorkspaceResponse) StatusCode added in v0.14.0

func (r RenameWorkspaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestDomainClaimInputBody

type RequestDomainClaimInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/RequestDomainClaimInputBody.json
	Schema *string `json:"$schema,omitempty"`

	// Domain The email domain to claim, e.g. "example.com". On DBOS-managed Conductor the claim has no effect until a DBOS administrator approves it. On self-hosted Conductor it takes effect immediately, with no review. Subdomains are not matched; claim them separately.
	//
	// Examples: example.com
	Domain string `json:"domain"`
}

RequestDomainClaimInputBody defines model for RequestDomainClaimInputBody.

type RequestDomainClaimJSONRequestBody

type RequestDomainClaimJSONRequestBody = RequestDomainClaimInputBody

RequestDomainClaimJSONRequestBody defines body for RequestDomainClaim for application/json ContentType.

type RequestDomainClaimResponse

type RequestDomainClaimResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *DomainClaim
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseRequestDomainClaimResponse

func ParseRequestDomainClaimResponse(rsp *http.Response) (*RequestDomainClaimResponse, error)

ParseRequestDomainClaimResponse parses an HTTP response from a RequestDomainClaimWithResponse call

func (RequestDomainClaimResponse) ContentType

func (r RequestDomainClaimResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RequestDomainClaimResponse) GetApplicationproblemJSONDefault

func (r RequestDomainClaimResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RequestDomainClaimResponse) GetBody

func (r RequestDomainClaimResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RequestDomainClaimResponse) GetJSON201

func (r RequestDomainClaimResponse) GetJSON201() *DomainClaim

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (RequestDomainClaimResponse) Status

Status returns HTTPResponse.Status

func (RequestDomainClaimResponse) StatusCode

func (r RequestDomainClaimResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ResumeScheduleResponse

type ResumeScheduleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseResumeScheduleResponse

func ParseResumeScheduleResponse(rsp *http.Response) (*ResumeScheduleResponse, error)

ParseResumeScheduleResponse parses an HTTP response from a ResumeScheduleWithResponse call

func (ResumeScheduleResponse) ContentType

func (r ResumeScheduleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ResumeScheduleResponse) GetApplicationproblemJSONDefault

func (r ResumeScheduleResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ResumeScheduleResponse) GetBody

func (r ResumeScheduleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ResumeScheduleResponse) Status

func (r ResumeScheduleResponse) Status() string

Status returns HTTPResponse.Status

func (ResumeScheduleResponse) StatusCode

func (r ResumeScheduleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ResumeWorkflowInputBody

type ResumeWorkflowInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/ResumeWorkflowInputBody.json
	Schema    *string `json:"$schema,omitempty"`
	QueueName *string `json:"queueName,omitempty"`

	// ShardKey The workflow's shard key. Required when the application's system database is sharded.
	ShardKey *string `json:"shardKey,omitempty"`
}

ResumeWorkflowInputBody defines model for ResumeWorkflowInputBody.

type ResumeWorkflowJSONRequestBody

type ResumeWorkflowJSONRequestBody = ResumeWorkflowInputBody

ResumeWorkflowJSONRequestBody defines body for ResumeWorkflow for application/json ContentType.

type ResumeWorkflowResponse

type ResumeWorkflowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseResumeWorkflowResponse

func ParseResumeWorkflowResponse(rsp *http.Response) (*ResumeWorkflowResponse, error)

ParseResumeWorkflowResponse parses an HTTP response from a ResumeWorkflowWithResponse call

func (ResumeWorkflowResponse) ContentType

func (r ResumeWorkflowResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ResumeWorkflowResponse) GetApplicationproblemJSONDefault

func (r ResumeWorkflowResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (ResumeWorkflowResponse) GetBody

func (r ResumeWorkflowResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ResumeWorkflowResponse) Status

func (r ResumeWorkflowResponse) Status() string

Status returns HTTPResponse.Status

func (ResumeWorkflowResponse) StatusCode

func (r ResumeWorkflowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RevokeRoleResponse added in v0.14.0

type RevokeRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseRevokeRoleResponse added in v0.14.0

func ParseRevokeRoleResponse(rsp *http.Response) (*RevokeRoleResponse, error)

ParseRevokeRoleResponse parses an HTTP response from a RevokeRoleWithResponse call

func (RevokeRoleResponse) ContentType added in v0.14.0

func (r RevokeRoleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RevokeRoleResponse) GetApplicationproblemJSONDefault added in v0.14.0

func (r RevokeRoleResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RevokeRoleResponse) GetBody added in v0.14.0

func (r RevokeRoleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RevokeRoleResponse) Status added in v0.14.0

func (r RevokeRoleResponse) Status() string

Status returns HTTPResponse.Status

func (RevokeRoleResponse) StatusCode added in v0.14.0

func (r RevokeRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RevokeWorkspaceRoleResponse added in v0.14.0

type RevokeWorkspaceRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseRevokeWorkspaceRoleResponse added in v0.14.0

func ParseRevokeWorkspaceRoleResponse(rsp *http.Response) (*RevokeWorkspaceRoleResponse, error)

ParseRevokeWorkspaceRoleResponse parses an HTTP response from a RevokeWorkspaceRoleWithResponse call

func (RevokeWorkspaceRoleResponse) ContentType added in v0.14.0

func (r RevokeWorkspaceRoleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RevokeWorkspaceRoleResponse) GetApplicationproblemJSONDefault added in v0.14.0

func (r RevokeWorkspaceRoleResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RevokeWorkspaceRoleResponse) GetBody added in v0.14.0

func (r RevokeWorkspaceRoleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RevokeWorkspaceRoleResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (RevokeWorkspaceRoleResponse) StatusCode added in v0.14.0

func (r RevokeWorkspaceRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RewindWorkflowInputBody added in v0.13.0

type RewindWorkflowInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/RewindWorkflowInputBody.json
	Schema *string `json:"$schema,omitempty"`

	// AppVersion Application version to replay the workflow under. Defaults to the version it already ran on, which only an executor still on that version will dequeue.
	AppVersion        *string `json:"appVersion,omitempty"`
	QueueName         *string `json:"queueName,omitempty"`
	QueuePartitionKey *string `json:"queuePartitionKey,omitempty"`

	// ShardKey The workflow's shard key. Required when the application's system database is sharded.
	ShardKey *string `json:"shardKey,omitempty"`

	// StartStep Step to rewind to. Defaults to the workflow's first step, discarding its whole history.
	StartStep *int32 `json:"startStep,omitempty"`
}

RewindWorkflowInputBody defines model for RewindWorkflowInputBody.

type RewindWorkflowJSONRequestBody added in v0.13.0

type RewindWorkflowJSONRequestBody = RewindWorkflowInputBody

RewindWorkflowJSONRequestBody defines body for RewindWorkflow for application/json ContentType.

type RewindWorkflowResponse added in v0.13.0

type RewindWorkflowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseRewindWorkflowResponse added in v0.13.0

func ParseRewindWorkflowResponse(rsp *http.Response) (*RewindWorkflowResponse, error)

ParseRewindWorkflowResponse parses an HTTP response from a RewindWorkflowWithResponse call

func (RewindWorkflowResponse) ContentType added in v0.13.0

func (r RewindWorkflowResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RewindWorkflowResponse) GetApplicationproblemJSONDefault added in v0.13.0

func (r RewindWorkflowResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (RewindWorkflowResponse) GetBody added in v0.13.0

func (r RewindWorkflowResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RewindWorkflowResponse) Status added in v0.13.0

func (r RewindWorkflowResponse) Status() string

Status returns HTTPResponse.Status

func (RewindWorkflowResponse) StatusCode added in v0.13.0

func (r RewindWorkflowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RoleOutput

type RoleOutput struct {
	IsGlobal    bool     `json:"isGlobal"`
	Name        string   `json:"name"`
	Permissions []string `json:"permissions"`
}

RoleOutput defines model for RoleOutput.

type RolloutPolicy

type RolloutPolicy struct {
	// MaxExecutorsForOldApplicationVersions Cap every old version's recommendation at this many executors. Omit to size old versions from their own queue utilization, uncapped.
	MaxExecutorsForOldApplicationVersions *int64 `json:"maxExecutorsForOldApplicationVersions,omitempty"`

	// MaxOldApplicationVersions How many old application versions the autoscale response may include, newest registered first. Defaults to 0: only the latest version is reported.
	MaxOldApplicationVersions *int64 `json:"maxOldApplicationVersions,omitempty"`
}

RolloutPolicy defines model for RolloutPolicy.

type SavedView added in v0.14.0

type SavedView struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/SavedView.json
	Schema    *string   `json:"$schema,omitempty"`
	CreatedAt time.Time `json:"createdAt"`
	Id        string    `json:"id"`
	Name      string    `json:"name"`

	// SearchState The workflow search state: any JSON object, which Conductor stores without interpreting it. At most 16 KiB serialized compactly. It is stored compacted: whitespace is dropped, key order is kept.
	SearchState map[string]interface{} `json:"searchState"`
	UpdatedAt   time.Time              `json:"updatedAt"`
}

SavedView defines model for SavedView.

type Schedule

type Schedule struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/Schedule.json
	Schema *string `json:"$schema,omitempty"`

	// ApplicationName The application that owns this schedule, when several applications share a system database. Null for schedules recorded before DBOS Transact tracked application names.
	ApplicationName   *string    `json:"applicationName"`
	AutomaticBackfill bool       `json:"automaticBackfill"`
	Context           *string    `json:"context"`
	CronExpression    string     `json:"cronExpression"`
	CronTimezone      *string    `json:"cronTimezone"`
	LastFiredAt       *time.Time `json:"lastFiredAt"`
	ScheduleId        string     `json:"scheduleId"`
	ScheduleName      string     `json:"scheduleName"`

	// ShardKey The shard key the schedule's workflows run under. Null on an unsharded system database.
	ShardKey *string `json:"shardKey"`

	// Status Schedule status as reported by DBOS Transact. Known values: ACTIVE, PAUSED. Not an enforced enum; newer SDK versions may report additional values.
	Status        string  `json:"status"`
	WorkflowClass *string `json:"workflowClass"`
	WorkflowName  string  `json:"workflowName"`
}

Schedule defines model for Schedule.

type SearchWorkflowsJSONRequestBody

type SearchWorkflowsJSONRequestBody = WorkflowSearchBody

SearchWorkflowsJSONRequestBody defines body for SearchWorkflows for application/json ContentType.

type SearchWorkflowsResponse

type SearchWorkflowsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Workflow
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseSearchWorkflowsResponse

func ParseSearchWorkflowsResponse(rsp *http.Response) (*SearchWorkflowsResponse, error)

ParseSearchWorkflowsResponse parses an HTTP response from a SearchWorkflowsWithResponse call

func (SearchWorkflowsResponse) ContentType

func (r SearchWorkflowsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SearchWorkflowsResponse) GetApplicationproblemJSONDefault

func (r SearchWorkflowsResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (SearchWorkflowsResponse) GetBody

func (r SearchWorkflowsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SearchWorkflowsResponse) GetJSON200

func (r SearchWorkflowsResponse) GetJSON200() *[]Workflow

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SearchWorkflowsResponse) Status

func (r SearchWorkflowsResponse) Status() string

Status returns HTTPResponse.Status

func (SearchWorkflowsResponse) StatusCode

func (r SearchWorkflowsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetAutoscalingPolicyJSONRequestBody

type SetAutoscalingPolicyJSONRequestBody = AutoscalePolicy

SetAutoscalingPolicyJSONRequestBody defines body for SetAutoscalingPolicy for application/json ContentType.

type SetAutoscalingPolicyResponse

type SetAutoscalingPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PolicyOutputBody
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseSetAutoscalingPolicyResponse

func ParseSetAutoscalingPolicyResponse(rsp *http.Response) (*SetAutoscalingPolicyResponse, error)

ParseSetAutoscalingPolicyResponse parses an HTTP response from a SetAutoscalingPolicyWithResponse call

func (SetAutoscalingPolicyResponse) ContentType

func (r SetAutoscalingPolicyResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetAutoscalingPolicyResponse) GetApplicationproblemJSONDefault

func (r SetAutoscalingPolicyResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (SetAutoscalingPolicyResponse) GetBody

func (r SetAutoscalingPolicyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetAutoscalingPolicyResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetAutoscalingPolicyResponse) Status

Status returns HTTPResponse.Status

func (SetAutoscalingPolicyResponse) StatusCode

func (r SetAutoscalingPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetLatestAppVersionJSONRequestBody

type SetLatestAppVersionJSONRequestBody = PatchLatestVersionInputBody

SetLatestAppVersionJSONRequestBody defines body for SetLatestAppVersion for application/json ContentType.

type SetLatestAppVersionResponse

type SetLatestAppVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseSetLatestAppVersionResponse

func ParseSetLatestAppVersionResponse(rsp *http.Response) (*SetLatestAppVersionResponse, error)

ParseSetLatestAppVersionResponse parses an HTTP response from a SetLatestAppVersionWithResponse call

func (SetLatestAppVersionResponse) ContentType

func (r SetLatestAppVersionResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetLatestAppVersionResponse) GetApplicationproblemJSONDefault

func (r SetLatestAppVersionResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (SetLatestAppVersionResponse) GetBody

func (r SetLatestAppVersionResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetLatestAppVersionResponse) Status

Status returns HTTPResponse.Status

func (SetLatestAppVersionResponse) StatusCode

func (r SetLatestAppVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetOrgLimitsInputBody added in v0.13.0

type SetOrgLimitsInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/SetOrgLimitsInputBody.json
	Schema *string `json:"$schema,omitempty"`

	// MaxConductorApps New maxConductorApps. Must not be below the current value; omit to leave unchanged.
	MaxConductorApps *int32 `json:"maxConductorApps,omitempty"`

	// MaxTeamMembers New maxTeamMembers. Must not be below the current value; omit to leave unchanged.
	MaxTeamMembers *int32 `json:"maxTeamMembers,omitempty"`

	// MaxWorkspaces New maxWorkspaces. Must not be below the current value; omit to leave unchanged.
	MaxWorkspaces *int32 `json:"maxWorkspaces,omitempty"`
}

SetOrgLimitsInputBody defines model for SetOrgLimitsInputBody.

type SetOrgLimitsJSONRequestBody added in v0.13.0

type SetOrgLimitsJSONRequestBody = SetOrgLimitsInputBody

SetOrgLimitsJSONRequestBody defines body for SetOrgLimits for application/json ContentType.

type SetOrgLimitsResponse added in v0.13.0

type SetOrgLimitsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Organization
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseSetOrgLimitsResponse added in v0.13.0

func ParseSetOrgLimitsResponse(rsp *http.Response) (*SetOrgLimitsResponse, error)

ParseSetOrgLimitsResponse parses an HTTP response from a SetOrgLimitsWithResponse call

func (SetOrgLimitsResponse) ContentType added in v0.13.0

func (r SetOrgLimitsResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SetOrgLimitsResponse) GetApplicationproblemJSONDefault added in v0.13.0

func (r SetOrgLimitsResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (SetOrgLimitsResponse) GetBody added in v0.13.0

func (r SetOrgLimitsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SetOrgLimitsResponse) GetJSON200 added in v0.13.0

func (r SetOrgLimitsResponse) GetJSON200() *Organization

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SetOrgLimitsResponse) Status added in v0.13.0

func (r SetOrgLimitsResponse) Status() string

Status returns HTTPResponse.Status

func (SetOrgLimitsResponse) StatusCode added in v0.13.0

func (r SetOrgLimitsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Step

type Step struct {
	// ChildShardKey The child workflow's shard key. Null for a step without a child workflow, or on an unsharded system database.
	ChildShardKey   *string    `json:"childShardKey"`
	ChildWorkflowId *string    `json:"childWorkflowId"`
	CompletedAt     *time.Time `json:"completedAt"`
	Error           *string    `json:"error"`
	Output          *string    `json:"output"`
	StartedAt       *time.Time `json:"startedAt"`
	StepId          int32      `json:"stepId"`
	StepName        string     `json:"stepName"`
}

Step defines model for Step.

type StepAggregate

type StepAggregate struct {
	Count         *int64             `json:"count,omitempty"`
	Group         map[string]*string `json:"group"`
	MaxDurationMs *int64             `json:"maxDurationMs,omitempty"`
}

StepAggregate defines model for StepAggregate.

type StepAggregatesBody

type StepAggregatesBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/StepAggregatesBody.json
	Schema              *string    `json:"$schema,omitempty"`
	CompletedAfter      *time.Time `json:"completedAfter,omitempty"`
	CompletedBefore     *time.Time `json:"completedBefore,omitempty"`
	GroupByFunctionName *bool      `json:"groupByFunctionName,omitempty"`
	GroupByStatus       *bool      `json:"groupByStatus,omitempty"`
	SelectCount         *bool      `json:"selectCount,omitempty"`
	SelectMaxDurationMs *bool      `json:"selectMaxDurationMs,omitempty"`

	// Status Filter by step status as defined by DBOS Transact. Known values: SUCCESS, ERROR. Not an enforced enum; unrecognized values simply match nothing.
	Status           *[]string `json:"status,omitempty"`
	StepName         *[]string `json:"stepName,omitempty"`
	TimeBucketSizeMs *int64    `json:"timeBucketSizeMs,omitempty"`
	WorkflowIdPrefix *[]string `json:"workflowIdPrefix,omitempty"`
}

StepAggregatesBody defines model for StepAggregatesBody.

type StreamEntry

type StreamEntry struct {
	Key    string   `json:"key"`
	Values []string `json:"values"`
}

StreamEntry defines model for StreamEntry.

type Token

type Token struct {
	AppIds      []string  `json:"appIds"`
	CreatedAt   time.Time `json:"createdAt"`
	Permissions []string  `json:"permissions"`
	TokenName   string    `json:"tokenName"`

	// Workspaces Names of the workspaces the API key is limited to; empty when it isn't.
	Workspaces []string `json:"workspaces"`
}

Token defines model for Token.

type TokenCreated

type TokenCreated struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/TokenCreated.json
	Schema    *string `json:"$schema,omitempty"`
	Token     string  `json:"token"`
	TokenName string  `json:"tokenName"`
}

TokenCreated defines model for TokenCreated.

type TriggerOutputBody

type TriggerOutputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/TriggerOutputBody.json
	Schema     *string `json:"$schema,omitempty"`
	WorkflowId string  `json:"workflowId"`
}

TriggerOutputBody defines model for TriggerOutputBody.

type TriggerScheduleResponse

type TriggerScheduleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *TriggerOutputBody
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *TriggerScheduleResponse201Headers
}

func ParseTriggerScheduleResponse

func ParseTriggerScheduleResponse(rsp *http.Response) (*TriggerScheduleResponse, error)

ParseTriggerScheduleResponse parses an HTTP response from a TriggerScheduleWithResponse call

func (TriggerScheduleResponse) ContentType

func (r TriggerScheduleResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TriggerScheduleResponse) GetApplicationproblemJSONDefault

func (r TriggerScheduleResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (TriggerScheduleResponse) GetBody

func (r TriggerScheduleResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (TriggerScheduleResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (TriggerScheduleResponse) Status

func (r TriggerScheduleResponse) Status() string

Status returns HTTPResponse.Status

func (TriggerScheduleResponse) StatusCode

func (r TriggerScheduleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TriggerScheduleResponse201Headers

type TriggerScheduleResponse201Headers struct {
	Location *string
}

TriggerScheduleResponse201Headers the declared response headers of an HTTP 201 response for TriggerSchedule

type UpdateAppJSONRequestBody

type UpdateAppJSONRequestBody = PatchAppInputBody

UpdateAppJSONRequestBody defines body for UpdateApp for application/json ContentType.

type UpdateAppResponse

type UpdateAppResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseUpdateAppResponse

func ParseUpdateAppResponse(rsp *http.Response) (*UpdateAppResponse, error)

ParseUpdateAppResponse parses an HTTP response from a UpdateAppWithResponse call

func (UpdateAppResponse) ContentType

func (r UpdateAppResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateAppResponse) GetApplicationproblemJSONDefault

func (r UpdateAppResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UpdateAppResponse) GetBody

func (r UpdateAppResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateAppResponse) Status

func (r UpdateAppResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateAppResponse) StatusCode

func (r UpdateAppResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateOrgInputBody

type UpdateOrgInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/UpdateOrgInputBody.json
	Schema                *string `json:"$schema,omitempty"`
	AuditLogRetentionDays *int32  `json:"auditLogRetentionDays,omitempty"`
	NewName               *string `json:"newName,omitempty"`
}

UpdateOrgInputBody defines model for UpdateOrgInputBody.

type UpdateOrgJSONRequestBody

type UpdateOrgJSONRequestBody = UpdateOrgInputBody

UpdateOrgJSONRequestBody defines body for UpdateOrg for application/json ContentType.

type UpdateOrgResponse

type UpdateOrgResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseUpdateOrgResponse

func ParseUpdateOrgResponse(rsp *http.Response) (*UpdateOrgResponse, error)

ParseUpdateOrgResponse parses an HTTP response from a UpdateOrgWithResponse call

func (UpdateOrgResponse) ContentType

func (r UpdateOrgResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateOrgResponse) GetApplicationproblemJSONDefault

func (r UpdateOrgResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UpdateOrgResponse) GetBody

func (r UpdateOrgResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateOrgResponse) Status

func (r UpdateOrgResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateOrgResponse) StatusCode

func (r UpdateOrgResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSavedViewInputBody added in v0.14.0

type UpdateSavedViewInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/UpdateSavedViewInputBody.json
	Schema *string `json:"$schema,omitempty"`

	// Name Trimmed by the server; 1–80 characters once trimmed. Unique among the caller's saved views on the application, ignoring case.
	Name *string `json:"name,omitempty"`

	// SearchState The workflow search state: any JSON object, which Conductor stores without interpreting it. At most 16 KiB serialized compactly. It is stored compacted: whitespace is dropped, key order is kept.
	SearchState *map[string]interface{} `json:"searchState,omitempty"`
}

UpdateSavedViewInputBody defines model for UpdateSavedViewInputBody.

type UpdateSavedViewJSONRequestBody added in v0.14.0

type UpdateSavedViewJSONRequestBody = UpdateSavedViewInputBody

UpdateSavedViewJSONRequestBody defines body for UpdateSavedView for application/json ContentType.

type UpdateSavedViewResponse added in v0.14.0

type UpdateSavedViewResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SavedView
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseUpdateSavedViewResponse added in v0.14.0

func ParseUpdateSavedViewResponse(rsp *http.Response) (*UpdateSavedViewResponse, error)

ParseUpdateSavedViewResponse parses an HTTP response from a UpdateSavedViewWithResponse call

func (UpdateSavedViewResponse) ContentType added in v0.14.0

func (r UpdateSavedViewResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateSavedViewResponse) GetApplicationproblemJSONDefault added in v0.14.0

func (r UpdateSavedViewResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UpdateSavedViewResponse) GetBody added in v0.14.0

func (r UpdateSavedViewResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateSavedViewResponse) GetJSON200 added in v0.14.0

func (r UpdateSavedViewResponse) GetJSON200() *SavedView

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateSavedViewResponse) Status added in v0.14.0

func (r UpdateSavedViewResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateSavedViewResponse) StatusCode added in v0.14.0

func (r UpdateSavedViewResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateTokenInputBody added in v0.11.0

type UpdateTokenInputBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/UpdateTokenInputBody.json
	Schema  *string `json:"$schema,omitempty"`
	NewName *string `json:"newName,omitempty"`
}

UpdateTokenInputBody defines model for UpdateTokenInputBody.

type UpdateTokenJSONRequestBody added in v0.11.0

type UpdateTokenJSONRequestBody = UpdateTokenInputBody

UpdateTokenJSONRequestBody defines body for UpdateToken for application/json ContentType.

type UpdateTokenResponse added in v0.11.0

type UpdateTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
	ApplicationproblemJSONDefault *ErrorModel
}

func ParseUpdateTokenResponse added in v0.11.0

func ParseUpdateTokenResponse(rsp *http.Response) (*UpdateTokenResponse, error)

ParseUpdateTokenResponse parses an HTTP response from a UpdateTokenWithResponse call

func (UpdateTokenResponse) ContentType added in v0.11.0

func (r UpdateTokenResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateTokenResponse) GetApplicationproblemJSONDefault added in v0.11.0

func (r UpdateTokenResponse) GetApplicationproblemJSONDefault() *ErrorModel

GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response

func (UpdateTokenResponse) GetBody added in v0.11.0

func (r UpdateTokenResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateTokenResponse) Status added in v0.11.0

func (r UpdateTokenResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateTokenResponse) StatusCode added in v0.11.0

func (r UpdateTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserProfile

type UserProfile struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/UserProfile.json
	Schema    *string   `json:"$schema,omitempty"`
	CreatedAt time.Time `json:"createdAt"`
	Email     string    `json:"email"`

	// IsDbosAdmin Present and true only for DBOS administrators; omitted otherwise.
	IsDbosAdmin *bool  `json:"isDbosAdmin,omitempty"`
	Name        string `json:"name"`
	OrgId       string `json:"orgId"`
	OrgName     string `json:"orgName"`

	// Role The user's role for the whole organization. Omitted when they have none.
	Role             *RoleOutput                 `json:"role,omitempty"`
	SubscriptionPlan UserProfileSubscriptionPlan `json:"subscriptionPlan"`

	// WorkspaceRoles The user's roles in single workspaces.
	WorkspaceRoles []WorkspaceRole `json:"workspaceRoles"`
}

UserProfile defines model for UserProfile.

type UserProfileSubscriptionPlan

type UserProfileSubscriptionPlan string

UserProfileSubscriptionPlan defines model for UserProfile.SubscriptionPlan.

const (
	UserProfileSubscriptionPlanEnterprise UserProfileSubscriptionPlan = "enterprise"
	UserProfileSubscriptionPlanFree       UserProfileSubscriptionPlan = "free"
	UserProfileSubscriptionPlanPastLimit  UserProfileSubscriptionPlan = "past_limit"
	UserProfileSubscriptionPlanPro        UserProfileSubscriptionPlan = "pro"
	UserProfileSubscriptionPlanTeam       UserProfileSubscriptionPlan = "team"
)

Defines values for UserProfileSubscriptionPlan.

func (UserProfileSubscriptionPlan) Valid

Valid indicates whether the value is a known member of the UserProfileSubscriptionPlan enum.

type Workflow

type Workflow struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/Workflow.json
	Schema     *string `json:"$schema,omitempty"`
	AppVersion *string `json:"appVersion"`

	// ApplicationName The application that owns this workflow, when several applications share a system database. Null for workflows recorded before DBOS Transact tracked application names.
	ApplicationName *string    `json:"applicationName"`
	AssumedRole     *string    `json:"assumedRole"`
	Attributes      *string    `json:"attributes"`
	CompletedAt     *time.Time `json:"completedAt"`
	CreatedAt       time.Time  `json:"createdAt"`
	Deadline        *time.Time `json:"deadline"`
	DeduplicationId *string    `json:"deduplicationId"`
	DelayUntil      *time.Time `json:"delayUntil"`
	DequeuedAt      *time.Time `json:"dequeuedAt"`
	Error           *string    `json:"error"`
	ExecutorId      *string    `json:"executorId"`
	ForkedFrom      *string    `json:"forkedFrom"`
	Input           *string    `json:"input"`
	Output          *string    `json:"output"`

	// ParentShardKey The parent workflow's shard key. Null for a workflow without a parent, or on an unsharded system database.
	ParentShardKey    *string `json:"parentShardKey"`
	ParentWorkflowId  *string `json:"parentWorkflowId"`
	Priority          int32   `json:"priority"`
	QueueName         *string `json:"queueName"`
	QueuePartitionKey *string `json:"queuePartitionKey"`
	Roles             *string `json:"roles"`
	ScheduleName      *string `json:"scheduleName"`

	// ShardKey The workflow's shard key. Null on an unsharded system database.
	ShardKey *string `json:"shardKey"`

	// Status Workflow status as reported by DBOS Transact. Known values: ENQUEUED, DELAYED, SUSPENDED, PENDING, SUCCESS, ERROR, MAX_RECOVERY_ATTEMPTS_EXCEEDED, CANCELLED. Not an enforced enum; newer SDK versions may report additional values.
	Status         string    `json:"status"`
	TimeoutMs      *int64    `json:"timeoutMs"`
	UpdatedAt      time.Time `json:"updatedAt"`
	User           *string   `json:"user"`
	WasForkedFrom  bool      `json:"wasForkedFrom"`
	WorkflowClass  *string   `json:"workflowClass"`
	WorkflowConfig *string   `json:"workflowConfig"`
	WorkflowId     string    `json:"workflowId"`
	WorkflowName   *string   `json:"workflowName"`
}

Workflow defines model for Workflow.

type WorkflowAggregate

type WorkflowAggregate struct {
	Count             *int64             `json:"count,omitempty"`
	Group             map[string]*string `json:"group"`
	MaxQueueWaitMs    *int64             `json:"maxQueueWaitMs,omitempty"`
	MaxTotalLatencyMs *int64             `json:"maxTotalLatencyMs,omitempty"`
	MinCreatedAt      *time.Time         `json:"minCreatedAt,omitempty"`
}

WorkflowAggregate defines model for WorkflowAggregate.

type WorkflowAggregatesBody

type WorkflowAggregatesBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/WorkflowAggregatesBody.json
	Schema                  *string                 `json:"$schema,omitempty"`
	AppVersion              *[]string               `json:"appVersion,omitempty"`
	Attributes              *map[string]interface{} `json:"attributes,omitempty"`
	CompletedAfter          *time.Time              `json:"completedAfter,omitempty"`
	CompletedBefore         *time.Time              `json:"completedBefore,omitempty"`
	DequeuedAfter           *time.Time              `json:"dequeuedAfter,omitempty"`
	DequeuedBefore          *time.Time              `json:"dequeuedBefore,omitempty"`
	EndTime                 *time.Time              `json:"endTime,omitempty"`
	ExecutorId              *[]string               `json:"executorId,omitempty"`
	ForkedFrom              *[]string               `json:"forkedFrom,omitempty"`
	GroupByAppVersion       *bool                   `json:"groupByAppVersion,omitempty"`
	GroupByApplicationName  *bool                   `json:"groupByApplicationName,omitempty"`
	GroupByExecutorId       *bool                   `json:"groupByExecutorId,omitempty"`
	GroupByQueueName        *bool                   `json:"groupByQueueName,omitempty"`
	GroupByStatus           *bool                   `json:"groupByStatus,omitempty"`
	GroupByWorkflowName     *bool                   `json:"groupByWorkflowName,omitempty"`
	HasParent               *bool                   `json:"hasParent,omitempty"`
	IsFork                  *bool                   `json:"isFork,omitempty"`
	ParentWorkflowId        *[]string               `json:"parentWorkflowId,omitempty"`
	QueueName               *[]string               `json:"queueName,omitempty"`
	ScheduleName            *[]string               `json:"scheduleName,omitempty"`
	SelectCount             *bool                   `json:"selectCount,omitempty"`
	SelectMaxQueueWaitMs    *bool                   `json:"selectMaxQueueWaitMs,omitempty"`
	SelectMaxTotalLatencyMs *bool                   `json:"selectMaxTotalLatencyMs,omitempty"`
	SelectMinCreatedAt      *bool                   `json:"selectMinCreatedAt,omitempty"`
	StartTime               *time.Time              `json:"startTime,omitempty"`
	Status                  *[]string               `json:"status,omitempty"`
	TimeBucketSizeMs        *int64                  `json:"timeBucketSizeMs,omitempty"`
	User                    *[]string               `json:"user,omitempty"`
	WasForkedFrom           *bool                   `json:"wasForkedFrom,omitempty"`
	WorkflowIdPrefix        *[]string               `json:"workflowIdPrefix,omitempty"`
	WorkflowIds             *[]string               `json:"workflowIds,omitempty"`
	WorkflowName            *[]string               `json:"workflowName,omitempty"`
}

WorkflowAggregatesBody defines model for WorkflowAggregatesBody.

type WorkflowMetricBreakdown added in v0.13.0

type WorkflowMetricBreakdown struct {
	// Buckets Histogram bins with a count, in order; absent for categorical breakdowns and when unavailable. Bins start at the effective start time and step by the bucket width; with an unbounded lower bound they start at multiples of the width from the Unix epoch.
	Buckets *[]WorkflowMetricBucket `json:"buckets,omitempty"`

	// Reasons Why the breakdown is partial or unavailable: unsupported_filter, degraded_bucket, missing_collection, history_before_origin, archive_limit, live_timeout, live_limit, live_unavailable, collection_disabled when the application's workflow metrics collection is turned off, and not_requested for a live part the request did not ask for, which is not a failure.
	Reasons []string                     `json:"reasons"`
	State   WorkflowMetricBreakdownState `json:"state"`

	// Values Categorical counts, most frequent first; absent for the histogram and when unavailable.
	Values *[]WorkflowMetricCategory `json:"values,omitempty"`
}

WorkflowMetricBreakdown defines model for WorkflowMetricBreakdown.

type WorkflowMetricBreakdownState added in v0.13.0

type WorkflowMetricBreakdownState string

WorkflowMetricBreakdownState defines model for WorkflowMetricBreakdown.State.

const (
	WorkflowMetricBreakdownStateAvailable   WorkflowMetricBreakdownState = "available"
	WorkflowMetricBreakdownStatePartial     WorkflowMetricBreakdownState = "partial"
	WorkflowMetricBreakdownStateUnavailable WorkflowMetricBreakdownState = "unavailable"
)

Defines values for WorkflowMetricBreakdownState.

func (WorkflowMetricBreakdownState) Valid added in v0.13.0

Valid indicates whether the value is a known member of the WorkflowMetricBreakdownState enum.

type WorkflowMetricBreakdowns added in v0.13.0

type WorkflowMetricBreakdowns struct {
	AppVersion   WorkflowMetricBreakdown `json:"appVersion"`
	Histogram    WorkflowMetricBreakdown `json:"histogram"`
	QueueName    WorkflowMetricBreakdown `json:"queueName"`
	Status       WorkflowMetricBreakdown `json:"status"`
	WorkflowName WorkflowMetricBreakdown `json:"workflowName"`
}

WorkflowMetricBreakdowns defines model for WorkflowMetricBreakdowns.

type WorkflowMetricBucket added in v0.13.0

type WorkflowMetricBucket struct {
	Count int64     `json:"count"`
	Start time.Time `json:"start"`

	// StatusCounts The count split by workflow status, omitting statuses with none; it sums to count. History and live combine by adding status by status.
	StatusCounts *map[string]int64 `json:"statusCounts,omitempty"`
}

WorkflowMetricBucket defines model for WorkflowMetricBucket.

type WorkflowMetricCategory added in v0.13.0

type WorkflowMetricCategory struct {
	Count int64                      `json:"count"`
	Kind  WorkflowMetricCategoryKind `json:"kind"`

	// MaxQueueWaitMs The longest queue wait (dequeue time minus creation time) among the counted workflows, in milliseconds; absent when none was dequeued. History and live combine by taking the larger value, not by adding.
	MaxQueueWaitMs *int64 `json:"maxQueueWaitMs,omitempty"`

	// StatusCounts The count split by workflow status, omitting statuses with none. Present on queue breakdown values only, where it sums to count. History and live combine by adding status by status.
	StatusCounts *map[string]int64 `json:"statusCounts,omitempty"`

	// Trimmed The value was cut to the length limit, so filtering the list by it is not exact.
	Trimmed bool `json:"trimmed"`

	// Value The observed value, cut to 1,024 characters; empty for null and overflow.
	Value string `json:"value"`
}

WorkflowMetricCategory defines model for WorkflowMetricCategory.

type WorkflowMetricCategoryKind added in v0.13.0

type WorkflowMetricCategoryKind string

WorkflowMetricCategoryKind defines model for WorkflowMetricCategory.Kind.

const (
	Null     WorkflowMetricCategoryKind = "null"
	Overflow WorkflowMetricCategoryKind = "overflow"
	Value    WorkflowMetricCategoryKind = "value"
)

Defines values for WorkflowMetricCategoryKind.

func (WorkflowMetricCategoryKind) Valid added in v0.13.0

func (e WorkflowMetricCategoryKind) Valid() bool

Valid indicates whether the value is a known member of the WorkflowMetricCategoryKind enum.

type WorkflowMetricHistoryMeta added in v0.13.0

type WorkflowMetricHistoryMeta struct {
	// CollectionState lagging: two or more closed five-minute intervals are uncollected. disabled: the application's workflow metrics collection is turned off; every breakdown is unavailable with collection_disabled and the archive's fields are absent.
	CollectionState WorkflowMetricHistoryMetaCollectionState `json:"collectionState"`

	// CoveredEnd The archive's watermark: completions before it are collected or were skipped. Absent while collection is disabled.
	CoveredEnd *time.Time `json:"coveredEnd,omitempty"`

	// EffectiveEndTime The request's upper bound snapped up to the histogram tier; absent when unbounded.
	EffectiveEndTime *time.Time `json:"effectiveEndTime,omitempty"`

	// EffectiveStartTime The request's lower bound snapped down to the histogram tier; absent when unbounded.
	EffectiveStartTime *time.Time `json:"effectiveStartTime,omitempty"`

	// Generation Absent while collection is disabled.
	Generation *int64 `json:"generation,omitempty"`

	// HistogramTier Absent while collection is disabled.
	HistogramTier *WorkflowMetricHistoryMetaHistogramTier `json:"histogramTier,omitempty"`

	// LastGapEnd End of the most recently skipped completion interval; absent when none was skipped. A range starting before it may be missing workflows created in it, and is partial with missing_collection.
	LastGapEnd    *time.Time `json:"lastGapEnd,omitempty"`
	LastReceiptAt *time.Time `json:"lastReceiptAt,omitempty"`

	// LegacyCompletionCoverage Workflows without a completion timestamp (pre-migration history) are never collected.
	LegacyCompletionCoverage WorkflowMetricHistoryMetaLegacyCompletionCoverage `json:"legacyCompletionCoverage"`

	// Origin Completions from here on are collected, minus skipped intervals; nothing before it ever is. Absent while collection is disabled.
	Origin *time.Time `json:"origin,omitempty"`

	// Semantics Counts are terminal contributions observed by the collector, attributed to creation time: deleted workflows stay counted and a resumed workflow can count twice.
	Semantics WorkflowMetricHistoryMetaSemantics `json:"semantics"`

	// StatusOnlyBuckets Buckets with collapsed detail among those the categorical breakdowns read. Absent while collection is disabled.
	StatusOnlyBuckets *int64 `json:"statusOnlyBuckets,omitempty"`

	// TimeBucketSizeMs The effective histogram width. Absent while collection is disabled.
	TimeBucketSizeMs *int64 `json:"timeBucketSizeMs,omitempty"`

	// UnsupportedFilters Active filters the archive could not apply.
	UnsupportedFilters []string `json:"unsupportedFilters"`
}

WorkflowMetricHistoryMeta defines model for WorkflowMetricHistoryMeta.

type WorkflowMetricHistoryMetaCollectionState added in v0.13.0

type WorkflowMetricHistoryMetaCollectionState string

WorkflowMetricHistoryMetaCollectionState lagging: two or more closed five-minute intervals are uncollected. disabled: the application's workflow metrics collection is turned off; every breakdown is unavailable with collection_disabled and the archive's fields are absent.

const (
	WorkflowMetricHistoryMetaCollectionStateDisabled           WorkflowMetricHistoryMetaCollectionState = "disabled"
	WorkflowMetricHistoryMetaCollectionStateLagging            WorkflowMetricHistoryMetaCollectionState = "lagging"
	WorkflowMetricHistoryMetaCollectionStateNoEligibleExecutor WorkflowMetricHistoryMetaCollectionState = "no_eligible_executor"
	WorkflowMetricHistoryMetaCollectionStatePaused             WorkflowMetricHistoryMetaCollectionState = "paused"
	WorkflowMetricHistoryMetaCollectionStateRunning            WorkflowMetricHistoryMetaCollectionState = "running"
)

Defines values for WorkflowMetricHistoryMetaCollectionState.

func (WorkflowMetricHistoryMetaCollectionState) Valid added in v0.13.0

Valid indicates whether the value is a known member of the WorkflowMetricHistoryMetaCollectionState enum.

type WorkflowMetricHistoryMetaHistogramTier added in v0.13.0

type WorkflowMetricHistoryMetaHistogramTier string

WorkflowMetricHistoryMetaHistogramTier Absent while collection is disabled.

Defines values for WorkflowMetricHistoryMetaHistogramTier.

func (WorkflowMetricHistoryMetaHistogramTier) Valid added in v0.13.0

Valid indicates whether the value is a known member of the WorkflowMetricHistoryMetaHistogramTier enum.

type WorkflowMetricHistoryMetaLegacyCompletionCoverage added in v0.13.0

type WorkflowMetricHistoryMetaLegacyCompletionCoverage string

WorkflowMetricHistoryMetaLegacyCompletionCoverage Workflows without a completion timestamp (pre-migration history) are never collected.

const (
	NotGuaranteed WorkflowMetricHistoryMetaLegacyCompletionCoverage = "not_guaranteed"
)

Defines values for WorkflowMetricHistoryMetaLegacyCompletionCoverage.

func (WorkflowMetricHistoryMetaLegacyCompletionCoverage) Valid added in v0.13.0

Valid indicates whether the value is a known member of the WorkflowMetricHistoryMetaLegacyCompletionCoverage enum.

type WorkflowMetricHistoryMetaSemantics added in v0.13.0

type WorkflowMetricHistoryMetaSemantics string

WorkflowMetricHistoryMetaSemantics Counts are terminal contributions observed by the collector, attributed to creation time: deleted workflows stay counted and a resumed workflow can count twice.

const (
	ObservedTerminalActivity WorkflowMetricHistoryMetaSemantics = "observed_terminal_activity"
)

Defines values for WorkflowMetricHistoryMetaSemantics.

func (WorkflowMetricHistoryMetaSemantics) Valid added in v0.13.0

Valid indicates whether the value is a known member of the WorkflowMetricHistoryMetaSemantics enum.

type WorkflowMetricHistoryResponse added in v0.13.0

type WorkflowMetricHistoryResponse struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/WorkflowMetricHistoryResponse.json
	Schema     *string                  `json:"$schema,omitempty"`
	Breakdowns WorkflowMetricBreakdowns `json:"breakdowns"`

	// LiveContext What a live request echoes. Absent while collection is disabled, when there is no supplement to ask for.
	LiveContext *WorkflowMetricLiveContext `json:"liveContext,omitempty"`
	Meta        WorkflowMetricHistoryMeta  `json:"meta"`
}

WorkflowMetricHistoryResponse defines model for WorkflowMetricHistoryResponse.

type WorkflowMetricLiveAvailabilities added in v0.13.0

type WorkflowMetricLiveAvailabilities struct {
	AppVersion   WorkflowMetricLiveAvailability `json:"appVersion"`
	Histogram    WorkflowMetricLiveAvailability `json:"histogram"`
	QueueName    WorkflowMetricLiveAvailability `json:"queueName"`
	Status       WorkflowMetricLiveAvailability `json:"status"`
	WorkflowName WorkflowMetricLiveAvailability `json:"workflowName"`
}

WorkflowMetricLiveAvailabilities defines model for WorkflowMetricLiveAvailabilities.

type WorkflowMetricLiveAvailability added in v0.13.0

type WorkflowMetricLiveAvailability struct {
	// Components The components the chart sums over the archive. The nonterminal component is listed only when the request asked for its part of the chart: the categorical charts under breakdowns, the histogram under bins.
	Components []string `json:"components"`
	Reasons    []string `json:"reasons"`

	// State unavailable for an archive-side reason, whatever live returned; partial when a component the chart sums failed or the live lookback leaves an uncovered completion interval (missing_collection).
	State WorkflowMetricLiveAvailabilityState `json:"state"`
}

WorkflowMetricLiveAvailability defines model for WorkflowMetricLiveAvailability.

type WorkflowMetricLiveAvailabilityState added in v0.13.0

type WorkflowMetricLiveAvailabilityState string

WorkflowMetricLiveAvailabilityState unavailable for an archive-side reason, whatever live returned; partial when a component the chart sums failed or the live lookback leaves an uncovered completion interval (missing_collection).

const (
	WorkflowMetricLiveAvailabilityStateAvailable   WorkflowMetricLiveAvailabilityState = "available"
	WorkflowMetricLiveAvailabilityStatePartial     WorkflowMetricLiveAvailabilityState = "partial"
	WorkflowMetricLiveAvailabilityStateUnavailable WorkflowMetricLiveAvailabilityState = "unavailable"
)

Defines values for WorkflowMetricLiveAvailabilityState.

func (WorkflowMetricLiveAvailabilityState) Valid added in v0.13.0

Valid indicates whether the value is a known member of the WorkflowMetricLiveAvailabilityState enum.

type WorkflowMetricLiveComponent added in v0.13.0

type WorkflowMetricLiveComponent struct {
	// Breakdowns This component's own counts; unavailable with the outcome's reason when it failed.
	Breakdowns WorkflowMetricBreakdowns `json:"breakdowns"`

	// Detail What went wrong, for a failed outcome.
	Detail *string `json:"detail,omitempty"`

	// Outcome empty_window: nothing to ask, the watermark is at the request time (terminal only). not_attempted: an unsupported filter, no source work. not_requested: the request set nonterminal to none, so no source work (nonterminal only). disabled: the application's workflow metrics collection is turned off, so no source work. timeout: the shared 20-second budget elapsed. row_limit: over 20,000 rows. no_executor: no eligible executor. failed: dispatch failed or the reply was unusable. A failed terminal component does not stop the nonterminal one; only the spent budget stops later requests.
	Outcome WorkflowMetricLiveComponentOutcome `json:"outcome"`

	// ReceivedAt When the reply arrived; absent without one.
	ReceivedAt *time.Time `json:"receivedAt,omitempty"`

	// Rows Rows in an accepted reply.
	Rows int64 `json:"rows"`

	// StartedAt When the source request was dispatched; absent when it never was.
	StartedAt *time.Time `json:"startedAt,omitempty"`
	WindowEnd *time.Time `json:"windowEnd,omitempty"`

	// WindowStart Terminal only: the completion window [windowStart, windowEnd); absent when not dispatched.
	WindowStart *time.Time `json:"windowStart,omitempty"`
}

WorkflowMetricLiveComponent defines model for WorkflowMetricLiveComponent.

type WorkflowMetricLiveComponentOutcome added in v0.13.0

type WorkflowMetricLiveComponentOutcome string

WorkflowMetricLiveComponentOutcome empty_window: nothing to ask, the watermark is at the request time (terminal only). not_attempted: an unsupported filter, no source work. not_requested: the request set nonterminal to none, so no source work (nonterminal only). disabled: the application's workflow metrics collection is turned off, so no source work. timeout: the shared 20-second budget elapsed. row_limit: over 20,000 rows. no_executor: no eligible executor. failed: dispatch failed or the reply was unusable. A failed terminal component does not stop the nonterminal one; only the spent budget stops later requests.

const (
	WorkflowMetricLiveComponentOutcomeDisabled     WorkflowMetricLiveComponentOutcome = "disabled"
	WorkflowMetricLiveComponentOutcomeEmptyWindow  WorkflowMetricLiveComponentOutcome = "empty_window"
	WorkflowMetricLiveComponentOutcomeFailed       WorkflowMetricLiveComponentOutcome = "failed"
	WorkflowMetricLiveComponentOutcomeNoExecutor   WorkflowMetricLiveComponentOutcome = "no_executor"
	WorkflowMetricLiveComponentOutcomeNotAttempted WorkflowMetricLiveComponentOutcome = "not_attempted"
	WorkflowMetricLiveComponentOutcomeNotRequested WorkflowMetricLiveComponentOutcome = "not_requested"
	WorkflowMetricLiveComponentOutcomeRowLimit     WorkflowMetricLiveComponentOutcome = "row_limit"
	WorkflowMetricLiveComponentOutcomeSuccess      WorkflowMetricLiveComponentOutcome = "success"
	WorkflowMetricLiveComponentOutcomeTimeout      WorkflowMetricLiveComponentOutcome = "timeout"
)

Defines values for WorkflowMetricLiveComponentOutcome.

func (WorkflowMetricLiveComponentOutcome) Valid added in v0.13.0

Valid indicates whether the value is a known member of the WorkflowMetricLiveComponentOutcome enum.

type WorkflowMetricLiveContext added in v0.13.0

type WorkflowMetricLiveContext struct {
	// EffectiveEndTime Absent for an unbounded upper bound.
	EffectiveEndTime *time.Time `json:"effectiveEndTime,omitempty"`

	// EffectiveStartTime Absent for an unbounded lower bound.
	EffectiveStartTime *time.Time `json:"effectiveStartTime,omitempty"`
	TimeBucketSizeMs   int64      `json:"timeBucketSizeMs"`

	// Watermark The archive's watermark; the live terminal window starts here.
	Watermark time.Time `json:"watermark"`
}

WorkflowMetricLiveContext defines model for WorkflowMetricLiveContext.

type WorkflowMetricLiveMeta added in v0.13.0

type WorkflowMetricLiveMeta struct {
	// RowLimit Rows accepted per component.
	RowLimit int64 `json:"rowLimit"`

	// StatusOnlyBuckets Buckets with collapsed detail among those the history categorical breakdowns read.
	StatusOnlyBuckets int64 `json:"statusOnlyBuckets"`

	// TerminalLookbackMs How far before the request time the terminal window can reach; an older watermark leaves a hole.
	TerminalLookbackMs int64 `json:"terminalLookbackMs"`

	// UnsupportedFilters Active filters the archive could not apply.
	UnsupportedFilters []string `json:"unsupportedFilters"`
}

WorkflowMetricLiveMeta defines model for WorkflowMetricLiveMeta.

type WorkflowMetricLiveResponse added in v0.13.0

type WorkflowMetricLiveResponse struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/WorkflowMetricLiveResponse.json
	Schema   *string                          `json:"$schema,omitempty"`
	Combined WorkflowMetricLiveAvailabilities `json:"combined"`

	// LiveContext The context this supplement was computed for; a late response for a superseded one can be discarded.
	LiveContext WorkflowMetricLiveContext `json:"liveContext"`
	Meta        WorkflowMetricLiveMeta    `json:"meta"`

	// Nonterminal PENDING, ENQUEUED and DELAYED workflows, and SUSPENDED ones on SDK releases that can report them, created in the effective range, regardless of age.
	Nonterminal WorkflowMetricLiveComponent `json:"nonterminal"`

	// Terminal Terminal completions since the watermark, within the lookback, created in the effective range.
	Terminal WorkflowMetricLiveComponent `json:"terminal"`
}

WorkflowMetricLiveResponse defines model for WorkflowMetricLiveResponse.

type WorkflowMetricsHistoryBody added in v0.13.0

type WorkflowMetricsHistoryBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/WorkflowMetricsHistoryBody.json
	Schema     *string   `json:"$schema,omitempty"`
	AppVersion *[]string `json:"appVersion,omitempty"`

	// Attributes Unsupported by the archive; when set the breakdowns are unavailable.
	Attributes *map[string]interface{} `json:"attributes,omitempty"`

	// CompletedAfter Unsupported by the archive; when set the breakdowns are unavailable.
	CompletedAfter *time.Time `json:"completedAfter,omitempty"`

	// CompletedBefore Unsupported by the archive; when set the breakdowns are unavailable.
	CompletedBefore *time.Time `json:"completedBefore,omitempty"`

	// DequeuedAfter Unsupported by the archive; when set the breakdowns are unavailable.
	DequeuedAfter *time.Time `json:"dequeuedAfter,omitempty"`

	// DequeuedBefore Unsupported by the archive; when set the breakdowns are unavailable.
	DequeuedBefore *time.Time `json:"dequeuedBefore,omitempty"`

	// EndTime Creation-time upper bound; omitted means no bound. Ignored by the live endpoint, which uses the effective range.
	EndTime *time.Time `json:"endTime,omitempty"`

	// ExecutorId Unsupported by the archive; when set the breakdowns are unavailable.
	ExecutorId *[]string `json:"executorId,omitempty"`

	// ForkedFrom Unsupported by the archive; when set the breakdowns are unavailable.
	ForkedFrom *[]string `json:"forkedFrom,omitempty"`

	// HasParent Unsupported by the archive; when set the breakdowns are unavailable.
	HasParent *bool `json:"hasParent,omitempty"`

	// ParentWorkflowId Unsupported by the archive; when set the breakdowns are unavailable.
	ParentWorkflowId *[]string `json:"parentWorkflowId,omitempty"`
	QueueName        *[]string `json:"queueName,omitempty"`

	// QueuesOnly Unsupported by the archive; when set the breakdowns are unavailable.
	QueuesOnly *bool `json:"queuesOnly,omitempty"`

	// ScheduleName Unsupported by the archive; when set the breakdowns are unavailable.
	ScheduleName *[]string `json:"scheduleName,omitempty"`

	// StartTime Creation-time lower bound; omitted means all time. Ignored by the live endpoint, which uses the effective range.
	StartTime *time.Time `json:"startTime,omitempty"`
	Status    *[]string  `json:"status,omitempty"`

	// TimeBucketSizeMs Requested histogram width; the effective width is at least a whole minute and widens to keep the histogram under 1,000 bins.
	TimeBucketSizeMs int64 `json:"timeBucketSizeMs"`

	// User Unsupported by the archive; when set the breakdowns are unavailable.
	User *[]string `json:"user,omitempty"`

	// WasForkedFrom Unsupported by the archive; when set the breakdowns are unavailable.
	WasForkedFrom *bool `json:"wasForkedFrom,omitempty"`

	// WorkflowIdPrefix Unsupported by the archive; when set the breakdowns are unavailable.
	WorkflowIdPrefix *[]string `json:"workflowIdPrefix,omitempty"`

	// WorkflowIds Unsupported by the archive; when set the breakdowns are unavailable.
	WorkflowIds  *[]string `json:"workflowIds,omitempty"`
	WorkflowName *[]string `json:"workflowName,omitempty"`

	// WorkflowNameExclude Workflow names to leave out; the name breakdown itself ignores it.
	WorkflowNameExclude *[]string `json:"workflowNameExclude,omitempty"`
}

WorkflowMetricsHistoryBody defines model for WorkflowMetricsHistoryBody.

type WorkflowMetricsLiveBody added in v0.13.0

type WorkflowMetricsLiveBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/WorkflowMetricsLiveBody.json
	Schema     *string   `json:"$schema,omitempty"`
	AppVersion *[]string `json:"appVersion,omitempty"`

	// Attributes Unsupported by the archive; when set the breakdowns are unavailable.
	Attributes *map[string]interface{} `json:"attributes,omitempty"`

	// CompletedAfter Unsupported by the archive; when set the breakdowns are unavailable.
	CompletedAfter *time.Time `json:"completedAfter,omitempty"`

	// CompletedBefore Unsupported by the archive; when set the breakdowns are unavailable.
	CompletedBefore *time.Time `json:"completedBefore,omitempty"`

	// DequeuedAfter Unsupported by the archive; when set the breakdowns are unavailable.
	DequeuedAfter *time.Time `json:"dequeuedAfter,omitempty"`

	// DequeuedBefore Unsupported by the archive; when set the breakdowns are unavailable.
	DequeuedBefore *time.Time `json:"dequeuedBefore,omitempty"`

	// EffectiveEndTime liveContext.effectiveEndTime of the history response; omitted when unbounded.
	EffectiveEndTime *time.Time `json:"effectiveEndTime,omitempty"`

	// EffectiveStartTime liveContext.effectiveStartTime of the history response; omitted when unbounded.
	EffectiveStartTime *time.Time `json:"effectiveStartTime,omitempty"`

	// EndTime Creation-time upper bound; omitted means no bound. Ignored by the live endpoint, which uses the effective range.
	EndTime *time.Time `json:"endTime,omitempty"`

	// ExecutorId Unsupported by the archive; when set the breakdowns are unavailable.
	ExecutorId *[]string `json:"executorId,omitempty"`

	// ForkedFrom Unsupported by the archive; when set the breakdowns are unavailable.
	ForkedFrom *[]string `json:"forkedFrom,omitempty"`

	// HasParent Unsupported by the archive; when set the breakdowns are unavailable.
	HasParent *bool `json:"hasParent,omitempty"`

	// Nonterminal The part of the nonterminal component to compute. breakdowns: the categorical breakdowns; its histogram is unavailable with not_requested. bins: the histogram, with the filter applied at the source; the categorical breakdowns are unavailable with not_requested. none: no nonterminal source work; the component is not_requested. A part not requested joins no combined chart.
	Nonterminal *WorkflowMetricsLiveBodyNonterminal `json:"nonterminal,omitempty"`

	// ParentWorkflowId Unsupported by the archive; when set the breakdowns are unavailable.
	ParentWorkflowId *[]string `json:"parentWorkflowId,omitempty"`
	QueueName        *[]string `json:"queueName,omitempty"`

	// QueuesOnly Unsupported by the archive; when set the breakdowns are unavailable.
	QueuesOnly *bool `json:"queuesOnly,omitempty"`

	// ScheduleName Unsupported by the archive; when set the breakdowns are unavailable.
	ScheduleName *[]string `json:"scheduleName,omitempty"`

	// StartTime Creation-time lower bound; omitted means all time. Ignored by the live endpoint, which uses the effective range.
	StartTime *time.Time `json:"startTime,omitempty"`
	Status    *[]string  `json:"status,omitempty"`

	// TimeBucketSizeMs liveContext.timeBucketSizeMs of the history response; whole minutes.
	TimeBucketSizeMs int64 `json:"timeBucketSizeMs"`

	// User Unsupported by the archive; when set the breakdowns are unavailable.
	User *[]string `json:"user,omitempty"`

	// WasForkedFrom Unsupported by the archive; when set the breakdowns are unavailable.
	WasForkedFrom *bool `json:"wasForkedFrom,omitempty"`

	// Watermark liveContext.watermark of the history response; the terminal window starts here.
	Watermark time.Time `json:"watermark"`

	// WorkflowIdPrefix Unsupported by the archive; when set the breakdowns are unavailable.
	WorkflowIdPrefix *[]string `json:"workflowIdPrefix,omitempty"`

	// WorkflowIds Unsupported by the archive; when set the breakdowns are unavailable.
	WorkflowIds  *[]string `json:"workflowIds,omitempty"`
	WorkflowName *[]string `json:"workflowName,omitempty"`

	// WorkflowNameExclude Workflow names to leave out; the name breakdown itself ignores it.
	WorkflowNameExclude *[]string `json:"workflowNameExclude,omitempty"`
}

WorkflowMetricsLiveBody defines model for WorkflowMetricsLiveBody.

type WorkflowMetricsLiveBodyNonterminal added in v0.13.0

type WorkflowMetricsLiveBodyNonterminal string

WorkflowMetricsLiveBodyNonterminal The part of the nonterminal component to compute. breakdowns: the categorical breakdowns; its histogram is unavailable with not_requested. bins: the histogram, with the filter applied at the source; the categorical breakdowns are unavailable with not_requested. none: no nonterminal source work; the component is not_requested. A part not requested joins no combined chart.

const (
	Bins       WorkflowMetricsLiveBodyNonterminal = "bins"
	Breakdowns WorkflowMetricsLiveBodyNonterminal = "breakdowns"
	None       WorkflowMetricsLiveBodyNonterminal = "none"
)

Defines values for WorkflowMetricsLiveBodyNonterminal.

func (WorkflowMetricsLiveBodyNonterminal) Valid added in v0.13.0

Valid indicates whether the value is a known member of the WorkflowMetricsLiveBodyNonterminal enum.

type WorkflowSearchBody

type WorkflowSearchBody struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/WorkflowSearchBody.json
	Schema          *string                 `json:"$schema,omitempty"`
	AppVersion      *[]string               `json:"appVersion,omitempty"`
	Attributes      *map[string]interface{} `json:"attributes,omitempty"`
	CompletedAfter  *time.Time              `json:"completedAfter,omitempty"`
	CompletedBefore *time.Time              `json:"completedBefore,omitempty"`
	DequeuedAfter   *time.Time              `json:"dequeuedAfter,omitempty"`
	DequeuedBefore  *time.Time              `json:"dequeuedBefore,omitempty"`
	EndTime         *time.Time              `json:"endTime,omitempty"`
	ExecutorId      *[]string               `json:"executorId,omitempty"`
	ForkedFrom      *[]string               `json:"forkedFrom,omitempty"`
	HasParent       *bool                   `json:"hasParent,omitempty"`
	IsFork          *bool                   `json:"isFork,omitempty"`
	Limit           *int64                  `json:"limit,omitempty"`
	LoadInput       *bool                   `json:"loadInput,omitempty"`
	LoadOutput      *bool                   `json:"loadOutput,omitempty"`
	Offset          *int64                  `json:"offset,omitempty"`

	// ParentShardKey Match workflows whose parents are under any of these shard keys.
	ParentShardKey   *[]string `json:"parentShardKey,omitempty"`
	ParentWorkflowId *[]string `json:"parentWorkflowId,omitempty"`
	QueueName        *[]string `json:"queueName,omitempty"`
	QueuesOnly       *bool     `json:"queuesOnly,omitempty"`
	ScheduleName     *[]string `json:"scheduleName,omitempty"`

	// ShardKey Match workflows under any of these shard keys.
	ShardKey         *[]string  `json:"shardKey,omitempty"`
	SortDesc         *bool      `json:"sortDesc,omitempty"`
	StartTime        *time.Time `json:"startTime,omitempty"`
	Status           *[]string  `json:"status,omitempty"`
	User             *[]string  `json:"user,omitempty"`
	WasForkedFrom    *bool      `json:"wasForkedFrom,omitempty"`
	WorkflowIdPrefix *[]string  `json:"workflowIdPrefix,omitempty"`
	WorkflowIds      *[]string  `json:"workflowIds,omitempty"`
	WorkflowName     *[]string  `json:"workflowName,omitempty"`
}

WorkflowSearchBody defines model for WorkflowSearchBody.

type Workspace added in v0.14.0

type Workspace struct {
	// Schema A URL to the JSON Schema for this object.
	//
	// Examples: //schemas/Workspace.json
	Schema    *string   `json:"$schema,omitempty"`
	CreatedAt time.Time `json:"createdAt"`
	Name      string    `json:"name"`
}

Workspace defines model for Workspace.

type WorkspaceRole added in v0.14.0

type WorkspaceRole struct {
	Role RoleOutput `json:"role"`

	// Workspace Name of the workspace.
	Workspace string `json:"workspace"`
}

WorkspaceRole defines model for WorkspaceRole.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL