Documentation
¶
Overview ¶
Package taskautomation provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.
Index ¶
- Constants
- func NewAgentActionOnTaskRequest(server string, taskId PathTaskId, agentAction AgentActionOnTask, ...) (*http.Request, error)
- func NewAgentActionOnTaskRequestWithBody(server string, taskId PathTaskId, agentAction AgentActionOnTask, ...) (*http.Request, error)
- func NewAgentInteractionDurationRequest(server string, agentId PathAgentId) (*http.Request, error)
- func NewAgentInteractionsRequest(server string, agentId PathAgentId) (*http.Request, error)
- func NewChangeAgentLockRequest(server string, lockState PathLockState) (*http.Request, error)
- func NewChangeTaskStateRequest(server string, taskId PathTaskId, taskState PathTaskState) (*http.Request, error)
- func NewCreateSecretsRequest(server string, prefix SecretPrefix, body CreateSecretsJSONRequestBody) (*http.Request, error)
- func NewCreateSecretsRequestWithBody(server string, prefix SecretPrefix, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSelectionConfigurationRequest(server string, body CreateSelectionConfigurationJSONRequestBody) (*http.Request, error)
- func NewCreateSelectionConfigurationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteScriptRequest(server string, pType CodeType, codeId CodeId) (*http.Request, error)
- func NewDeleteSecretKeysRequest(server string, prefix SecretPrefix, body DeleteSecretKeysJSONRequestBody) (*http.Request, error)
- func NewDeleteSecretKeysRequestWithBody(server string, prefix SecretPrefix, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteSelectionConfigurationRequest(server string) (*http.Request, error)
- func NewGetScriptRequest(server string, pType CodeType, codeId CodeId, params *GetScriptParams) (*http.Request, error)
- func NewListRequest(server string, params *ListParams) (*http.Request, error)
- func NewListScriptsRequest(server string, pType CodeType, params *ListScriptsParams) (*http.Request, error)
- func NewListSecretKeysRequest(server string, prefix SecretPrefix) (*http.Request, error)
- func NewListSecretPrefixesRequest(server string) (*http.Request, error)
- func NewManagerInterruptOnTaskRequest(server string, taskId PathTaskId, interruptTo InterruptTo, ...) (*http.Request, error)
- func NewManagerInterruptOnTaskRequestWithBody(server string, taskId PathTaskId, interruptTo InterruptTo, contentType string, ...) (*http.Request, error)
- func NewPatchSecretsRequest(server string, prefix SecretPrefix, body PatchSecretsJSONRequestBody) (*http.Request, error)
- func NewPatchSecretsRequestWithBody(server string, prefix SecretPrefix, contentType string, body io.Reader) (*http.Request, error)
- func NewReadSelectionConfigurationRequest(server string) (*http.Request, error)
- func NewSubmitScriptRequest(server string, pType CodeType, body SubmitScriptJSONRequestBody) (*http.Request, error)
- func NewSubmitScriptRequestWithBody(server string, pType CodeType, contentType string, body io.Reader) (*http.Request, error)
- func NewSubmitTaskRequest(server string, body SubmitTaskJSONRequestBody) (*http.Request, error)
- func NewSubmitTaskRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSubmitTaskTemplateRequest(server string, template string, params *SubmitTaskTemplateParams, ...) (*http.Request, error)
- func NewSubmitTaskTemplateRequestWithBody(server string, template string, params *SubmitTaskTemplateParams, ...) (*http.Request, error)
- func NewTaskJournalRequest(server string, taskId PathTaskId) (*http.Request, error)
- func NewTaskRequest(server string, taskId PathTaskId) (*http.Request, error)
- func NewTaskUsageRequest(server string, params *TaskUsageParams) (*http.Request, error)
- func NewTaskUsageTypesRequest(server string, params *TaskUsageTypesParams) (*http.Request, error)
- func NewTasksRequest(server string, params *TasksParams) (*http.Request, error)
- func NewTestingRequest(server string, body TestingJSONRequestBody) (*http.Request, error)
- func NewTestingRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateScriptRequest(server string, pType CodeType, codeId CodeId, body UpdateScriptJSONRequestBody) (*http.Request, error)
- func NewUpdateScriptRequestWithBody(server string, pType CodeType, codeId CodeId, contentType string, ...) (*http.Request, error)
- func NewUpdateSelectionConfigurationRequest(server string, body UpdateSelectionConfigurationJSONRequestBody) (*http.Request, error)
- func NewUpdateSelectionConfigurationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateTaskRequest(server string, taskId PathTaskId, body UpdateTaskJSONRequestBody) (*http.Request, error)
- func NewUpdateTaskRequestWithBody(server string, taskId PathTaskId, contentType string, body io.Reader) (*http.Request, error)
- func NewZendeskRequest(server string, params *ZendeskParams, body ZendeskJSONRequestBody) (*http.Request, error)
- func NewZendeskRequestWithBody(server string, params *ZendeskParams, contentType string, body io.Reader) (*http.Request, error)
- type AcceptTimeout
- type AccountSelectionConfiguration
- type Action
- type ActionEvent
- type ActionSetting
- type ActionType
- type Actions
- type AgentActionOnTask
- type AgentActionOnTaskHTTPResp
- type AgentActionOnTaskJSONRequestBody
- type AgentActions
- type AgentInteraction
- type AgentInteractionDurationHTTPResp
- type AgentInteractionDurationsResponse
- type AgentInteractionsHTTPResp
- type AgentJournal
- type AgentJournalResponse
- type AgentLockState
- type AgentLockStateState
- type AgentLocking
- type AsyncAction
- type BaseTask
- type Body
- type ChangeAgentLockHTTPResp
- type ChangeTaskStateHTTPResp
- type Client
- func (c *Client) AgentActionOnTask(ctx context.Context, taskId PathTaskId, agentAction AgentActionOnTask, ...) (*http.Response, error)
- func (c *Client) AgentActionOnTaskWithBody(ctx context.Context, taskId PathTaskId, agentAction AgentActionOnTask, ...) (*http.Response, error)
- func (c *Client) AgentInteractionDuration(ctx context.Context, agentId PathAgentId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AgentInteractions(ctx context.Context, agentId PathAgentId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ChangeAgentLock(ctx context.Context, lockState PathLockState, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ChangeTaskState(ctx context.Context, taskId PathTaskId, taskState PathTaskState, ...) (*http.Response, error)
- func (c *Client) CreateSecrets(ctx context.Context, prefix SecretPrefix, body CreateSecretsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSecretsWithBody(ctx context.Context, prefix SecretPrefix, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSelectionConfiguration(ctx context.Context, body CreateSelectionConfigurationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSelectionConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteScript(ctx context.Context, pType CodeType, codeId CodeId, ...) (*http.Response, error)
- func (c *Client) DeleteSecretKeys(ctx context.Context, prefix SecretPrefix, body DeleteSecretKeysJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeleteSecretKeysWithBody(ctx context.Context, prefix SecretPrefix, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteSelectionConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetScript(ctx context.Context, pType CodeType, codeId CodeId, params *GetScriptParams, ...) (*http.Response, error)
- func (c *Client) List(ctx context.Context, params *ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListScripts(ctx context.Context, pType CodeType, params *ListScriptsParams, ...) (*http.Response, error)
- func (c *Client) ListSecretKeys(ctx context.Context, prefix SecretPrefix, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSecretPrefixes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ManagerInterruptOnTask(ctx context.Context, taskId PathTaskId, interruptTo InterruptTo, ...) (*http.Response, error)
- func (c *Client) ManagerInterruptOnTaskWithBody(ctx context.Context, taskId PathTaskId, interruptTo InterruptTo, ...) (*http.Response, error)
- func (c *Client) PatchSecrets(ctx context.Context, prefix SecretPrefix, body PatchSecretsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchSecretsWithBody(ctx context.Context, prefix SecretPrefix, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ReadSelectionConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SubmitScript(ctx context.Context, pType CodeType, body SubmitScriptJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SubmitScriptWithBody(ctx context.Context, pType CodeType, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SubmitTask(ctx context.Context, body SubmitTaskJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SubmitTaskTemplate(ctx context.Context, template string, params *SubmitTaskTemplateParams, ...) (*http.Response, error)
- func (c *Client) SubmitTaskTemplateWithBody(ctx context.Context, template string, params *SubmitTaskTemplateParams, ...) (*http.Response, error)
- func (c *Client) SubmitTaskWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Task(ctx context.Context, taskId PathTaskId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TaskJournal(ctx context.Context, taskId PathTaskId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TaskUsage(ctx context.Context, params *TaskUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TaskUsageTypes(ctx context.Context, params *TaskUsageTypesParams, ...) (*http.Response, error)
- func (c *Client) Tasks(ctx context.Context, params *TasksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Testing(ctx context.Context, body TestingJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) TestingWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateScript(ctx context.Context, pType CodeType, codeId CodeId, ...) (*http.Response, error)
- func (c *Client) UpdateScriptWithBody(ctx context.Context, pType CodeType, codeId CodeId, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateSelectionConfiguration(ctx context.Context, body UpdateSelectionConfigurationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateSelectionConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateTask(ctx context.Context, taskId PathTaskId, body UpdateTaskJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateTaskWithBody(ctx context.Context, taskId PathTaskId, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Zendesk(ctx context.Context, params *ZendeskParams, body ZendeskJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ZendeskWithBody(ctx context.Context, params *ZendeskParams, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AgentActionOnTaskWithBodyWithResponse(ctx context.Context, taskId PathTaskId, agentAction AgentActionOnTask, ...) (*AgentActionOnTaskHTTPResp, error)
- func (c *ClientWithResponses) AgentActionOnTaskWithResponse(ctx context.Context, taskId PathTaskId, agentAction AgentActionOnTask, ...) (*AgentActionOnTaskHTTPResp, error)
- func (c *ClientWithResponses) AgentInteractionDurationWithResponse(ctx context.Context, agentId PathAgentId, reqEditors ...RequestEditorFn) (*AgentInteractionDurationHTTPResp, error)
- func (c *ClientWithResponses) AgentInteractionsWithResponse(ctx context.Context, agentId PathAgentId, reqEditors ...RequestEditorFn) (*AgentInteractionsHTTPResp, error)
- func (c *ClientWithResponses) ChangeAgentLockWithResponse(ctx context.Context, lockState PathLockState, reqEditors ...RequestEditorFn) (*ChangeAgentLockHTTPResp, error)
- func (c *ClientWithResponses) ChangeTaskStateWithResponse(ctx context.Context, taskId PathTaskId, taskState PathTaskState, ...) (*ChangeTaskStateHTTPResp, error)
- func (c *ClientWithResponses) CreateSecretsWithBodyWithResponse(ctx context.Context, prefix SecretPrefix, contentType string, body io.Reader, ...) (*CreateSecretsHTTPResp, error)
- func (c *ClientWithResponses) CreateSecretsWithResponse(ctx context.Context, prefix SecretPrefix, body CreateSecretsJSONRequestBody, ...) (*CreateSecretsHTTPResp, error)
- func (c *ClientWithResponses) CreateSelectionConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateSelectionConfigurationHTTPResp, error)
- func (c *ClientWithResponses) CreateSelectionConfigurationWithResponse(ctx context.Context, body CreateSelectionConfigurationJSONRequestBody, ...) (*CreateSelectionConfigurationHTTPResp, error)
- func (c *ClientWithResponses) DeleteScriptWithResponse(ctx context.Context, pType CodeType, codeId CodeId, ...) (*DeleteScriptHTTPResp, error)
- func (c *ClientWithResponses) DeleteSecretKeysWithBodyWithResponse(ctx context.Context, prefix SecretPrefix, contentType string, body io.Reader, ...) (*DeleteSecretKeysHTTPResp, error)
- func (c *ClientWithResponses) DeleteSecretKeysWithResponse(ctx context.Context, prefix SecretPrefix, body DeleteSecretKeysJSONRequestBody, ...) (*DeleteSecretKeysHTTPResp, error)
- func (c *ClientWithResponses) DeleteSelectionConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteSelectionConfigurationHTTPResp, error)
- func (c *ClientWithResponses) GetScriptWithResponse(ctx context.Context, pType CodeType, codeId CodeId, params *GetScriptParams, ...) (*GetScriptHTTPResp, error)
- func (c *ClientWithResponses) ListScriptsWithResponse(ctx context.Context, pType CodeType, params *ListScriptsParams, ...) (*ListScriptsHTTPResp, error)
- func (c *ClientWithResponses) ListSecretKeysWithResponse(ctx context.Context, prefix SecretPrefix, reqEditors ...RequestEditorFn) (*ListSecretKeysHTTPResp, error)
- func (c *ClientWithResponses) ListSecretPrefixesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSecretPrefixesHTTPResp, error)
- func (c *ClientWithResponses) ListWithResponse(ctx context.Context, params *ListParams, reqEditors ...RequestEditorFn) (*ListHTTPResp, error)
- func (c *ClientWithResponses) ManagerInterruptOnTaskWithBodyWithResponse(ctx context.Context, taskId PathTaskId, interruptTo InterruptTo, ...) (*ManagerInterruptOnTaskHTTPResp, error)
- func (c *ClientWithResponses) ManagerInterruptOnTaskWithResponse(ctx context.Context, taskId PathTaskId, interruptTo InterruptTo, ...) (*ManagerInterruptOnTaskHTTPResp, error)
- func (c *ClientWithResponses) PatchSecretsWithBodyWithResponse(ctx context.Context, prefix SecretPrefix, contentType string, body io.Reader, ...) (*PatchSecretsHTTPResp, error)
- func (c *ClientWithResponses) PatchSecretsWithResponse(ctx context.Context, prefix SecretPrefix, body PatchSecretsJSONRequestBody, ...) (*PatchSecretsHTTPResp, error)
- func (c *ClientWithResponses) ReadSelectionConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadSelectionConfigurationHTTPResp, error)
- func (c *ClientWithResponses) SubmitScriptWithBodyWithResponse(ctx context.Context, pType CodeType, contentType string, body io.Reader, ...) (*SubmitScriptHTTPResp, error)
- func (c *ClientWithResponses) SubmitScriptWithResponse(ctx context.Context, pType CodeType, body SubmitScriptJSONRequestBody, ...) (*SubmitScriptHTTPResp, error)
- func (c *ClientWithResponses) SubmitTaskTemplateWithBodyWithResponse(ctx context.Context, template string, params *SubmitTaskTemplateParams, ...) (*SubmitTaskTemplateHTTPResp, error)
- func (c *ClientWithResponses) SubmitTaskTemplateWithResponse(ctx context.Context, template string, params *SubmitTaskTemplateParams, ...) (*SubmitTaskTemplateHTTPResp, error)
- func (c *ClientWithResponses) SubmitTaskWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SubmitTaskHTTPResp, error)
- func (c *ClientWithResponses) SubmitTaskWithResponse(ctx context.Context, body SubmitTaskJSONRequestBody, ...) (*SubmitTaskHTTPResp, error)
- func (c *ClientWithResponses) TaskJournalWithResponse(ctx context.Context, taskId PathTaskId, reqEditors ...RequestEditorFn) (*TaskJournalHTTPResp, error)
- func (c *ClientWithResponses) TaskUsageTypesWithResponse(ctx context.Context, params *TaskUsageTypesParams, ...) (*TaskUsageTypesHTTPResp, error)
- func (c *ClientWithResponses) TaskUsageWithResponse(ctx context.Context, params *TaskUsageParams, reqEditors ...RequestEditorFn) (*TaskUsageHTTPResp, error)
- func (c *ClientWithResponses) TaskWithResponse(ctx context.Context, taskId PathTaskId, reqEditors ...RequestEditorFn) (*TaskHTTPResp, error)
- func (c *ClientWithResponses) TasksWithResponse(ctx context.Context, params *TasksParams, reqEditors ...RequestEditorFn) (*TasksHTTPResp, error)
- func (c *ClientWithResponses) TestingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TestingHTTPResp, error)
- func (c *ClientWithResponses) TestingWithResponse(ctx context.Context, body TestingJSONRequestBody, ...) (*TestingHTTPResp, error)
- func (c *ClientWithResponses) UpdateScriptWithBodyWithResponse(ctx context.Context, pType CodeType, codeId CodeId, contentType string, ...) (*UpdateScriptHTTPResp, error)
- func (c *ClientWithResponses) UpdateScriptWithResponse(ctx context.Context, pType CodeType, codeId CodeId, ...) (*UpdateScriptHTTPResp, error)
- func (c *ClientWithResponses) UpdateSelectionConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpdateSelectionConfigurationHTTPResp, error)
- func (c *ClientWithResponses) UpdateSelectionConfigurationWithResponse(ctx context.Context, body UpdateSelectionConfigurationJSONRequestBody, ...) (*UpdateSelectionConfigurationHTTPResp, error)
- func (c *ClientWithResponses) UpdateTaskWithBodyWithResponse(ctx context.Context, taskId PathTaskId, contentType string, body io.Reader, ...) (*UpdateTaskHTTPResp, error)
- func (c *ClientWithResponses) UpdateTaskWithResponse(ctx context.Context, taskId PathTaskId, body UpdateTaskJSONRequestBody, ...) (*UpdateTaskHTTPResp, error)
- func (c *ClientWithResponses) ZendeskWithBodyWithResponse(ctx context.Context, params *ZendeskParams, contentType string, body io.Reader, ...) (*ZendeskHTTPResp, error)
- func (c *ClientWithResponses) ZendeskWithResponse(ctx context.Context, params *ZendeskParams, body ZendeskJSONRequestBody, ...) (*ZendeskHTTPResp, error)
- type ClientWithResponsesInterface
- type CodeId
- type CodeType
- type CodeblockAction
- type CodeblockProperties
- type CodeblockReferenceAction
- type CodeblockReferenceProperties
- type CommonActionProperties
- type CommonCodeblockProperties
- type CompleteTimeout
- type CreateSecretsHTTPResp
- type CreateSecretsJSONBody
- type CreateSecretsJSONRequestBody
- type CreateSelectionConfigurationHTTPResp
- type CreateSelectionConfigurationJSONRequestBody
- type DateTime
- type DefaultErrorResponse
- type DeleteScriptHTTPResp
- type DeleteSecretKeysHTTPResp
- type DeleteSecretKeysJSONRequestBody
- type DeleteSelectionConfigurationHTTPResp
- type Error
- type ErrorContextPropagationBehavior
- type ErrorHandlingBehavior
- type ErrorHandlingConfig
- type ErrorResponse
- type ExpireIn
- type GenericAction
- type GetScriptHTTPResp
- type GetScriptParams
- type Http
- type HttpAction
- type HttpActionProperties
- type HttpRequestDoer
- type Id
- type IntegrationProxy
- type IntegrationProxyAction
- type IntegrationProxyProperties
- type InteractionDuration
- type InteractionDurations
- type InterruptTo
- type InterruptionTargetStates
- type IterationAction
- type IterationActionIterationOnError
- type IterationActionIterationResult
- type IterationProperties
- type IterationPropertiesOnError
- type IterationPropertiesResult
- type JWTCreate
- type JWTCreateAction
- type JWTCreateProperties
- type JavaScript
- type JavaScriptAction
- type JavaScriptProperties
- type JavaScriptReference
- type JavaScriptReferenceAction
- type JavaScriptReferenceProperties
- type JournalResponse
- type ListHTTPResp
- type ListParams
- type ListProperties
- type ListScriptsHTTPResp
- type ListScriptsParams
- type ListSecretKeysHTTPResp
- type ListSecretPrefixesHTTPResp
- type LogAction
- type LogActionData
- type LogDetails
- type LogMetadata
- type LogProperties
- type LogType
- type LogsList
- type LogsResponse
- func (t LogsResponse) AsLogsList() (LogsList, error)
- func (t LogsResponse) AsPagedLogsList() (PagedLogsList, error)
- func (t *LogsResponse) FromLogsList(v LogsList) error
- func (t *LogsResponse) FromPagedLogsList(v PagedLogsList) error
- func (t LogsResponse) MarshalJSON() ([]byte, error)
- func (t *LogsResponse) MergeLogsList(v LogsList) error
- func (t *LogsResponse) MergePagedLogsList(v PagedLogsList) error
- func (t *LogsResponse) UnmarshalJSON(b []byte) error
- type ManagerInterruptOnTaskHTTPResp
- type ManagerInterruptOnTaskJSONRequestBody
- type ManualAction
- type ManualActionRequest
- type Milliseconds
- type Noop
- type NoopAction
- type NoopProperties
- type NumberMetric
- type PageMetadata
- type PagedLogsList
- type PatchSecretsHTTPResp
- type PatchSecretsJSONBody
- type PatchSecretsJSONRequestBody
- type PathAgentId
- type PathLockState
- type PathTaskId
- type PathTaskState
- type PipelineAction
- type QueryContext
- type QueryEnd
- type QueryFilter
- type QueryLogDetails
- type QueryLogPresentation
- type QueryLogsFilter
- type QueryPage
- type QueryPageSize
- type QueryRate
- type QueryStart
- type QueryTaskType
- type Rate
- type ReadSelectionConfigurationHTTPResp
- type ReferenceProperties
- type RequestEditorFn
- type RescheduleDelay
- type ScheduledAt
- type Script
- type ScriptFile
- type ScriptFileMetadata
- type ScriptFileMetadataRequest
- type ScriptFilter
- type ScriptList
- type ScriptListResponse
- type ScriptMultipart
- type ScriptResponse
- type ScriptResponseType
- type ScriptResponses
- type ScriptType
- type SecretKeys
- type SecretPrefix
- type SecretPrefixes
- type SelectionConfigurationRequest
- type SelectionConfigurationResponse
- type SelectionEngine
- type SubmitScript
- type SubmitScriptHTTPResp
- type SubmitScriptJSONRequestBody
- type SubmitScriptMultipartRequestBody
- type SubmitTask
- type SubmitTaskBody
- type SubmitTaskHTTPResp
- type SubmitTaskJSONRequestBody
- type SubmitTaskTemplateHTTPResp
- type SubmitTaskTemplateJSONRequestBody
- type SubmitTaskTemplateParams
- type Task
- type TaskCompletionSettings
- type TaskHTTPResp
- type TaskJournal
- type TaskJournalEntry
- type TaskJournalHTTPResp
- type TaskList
- type TaskListResponse
- type TaskResponse
- type TaskSelectionAcdSettings
- type TaskSelectionLegacySettings
- type TaskSelectionSettings
- type TaskState
- type TaskStateEvents
- type TaskTemplateOverrides
- type TaskTimeSeries
- type TaskTimeSeriesResponse
- type TaskType
- type TaskTypes
- type TaskUsageHTTPResp
- type TaskUsageParams
- type TaskUsageTypesHTTPResp
- type TaskUsageTypesParams
- type TaskUsageTypesResponse
- type TasksHTTPResp
- type TasksParams
- type TemplateOverride
- type TemplateStyle
- type TestAction
- type TestActionInput
- type TestActionOutput
- type TestActionRequest
- type TestActionResponse
- type TestActionResult
- type TestingHTTPResp
- type TestingJSONRequestBody
- type TimeSeriesEntry
- type Timestamp
- type TimestampInMsUTC
- type TypedAction
- func (t TypedAction) AsAsyncAction() (AsyncAction, error)
- func (t TypedAction) AsCodeblockAction() (CodeblockAction, error)
- func (t TypedAction) AsCodeblockReferenceAction() (CodeblockReferenceAction, error)
- func (t TypedAction) AsGenericAction() (GenericAction, error)
- func (t TypedAction) AsHttpAction() (HttpAction, error)
- func (t TypedAction) AsIntegrationProxyAction() (IntegrationProxyAction, error)
- func (t TypedAction) AsIterationAction() (IterationAction, error)
- func (t TypedAction) AsJWTCreateAction() (JWTCreateAction, error)
- func (t TypedAction) AsJavaScriptAction() (JavaScriptAction, error)
- func (t TypedAction) AsJavaScriptReferenceAction() (JavaScriptReferenceAction, error)
- func (t TypedAction) AsLogAction() (LogAction, error)
- func (t TypedAction) AsNoopAction() (NoopAction, error)
- func (t TypedAction) AsPipelineAction() (PipelineAction, error)
- func (t TypedAction) Discriminator() (string, error)
- func (t *TypedAction) FromAsyncAction(v AsyncAction) error
- func (t *TypedAction) FromCodeblockAction(v CodeblockAction) error
- func (t *TypedAction) FromCodeblockReferenceAction(v CodeblockReferenceAction) error
- func (t *TypedAction) FromGenericAction(v GenericAction) error
- func (t *TypedAction) FromHttpAction(v HttpAction) error
- func (t *TypedAction) FromIntegrationProxyAction(v IntegrationProxyAction) error
- func (t *TypedAction) FromIterationAction(v IterationAction) error
- func (t *TypedAction) FromJWTCreateAction(v JWTCreateAction) error
- func (t *TypedAction) FromJavaScriptAction(v JavaScriptAction) error
- func (t *TypedAction) FromJavaScriptReferenceAction(v JavaScriptReferenceAction) error
- func (t *TypedAction) FromLogAction(v LogAction) error
- func (t *TypedAction) FromNoopAction(v NoopAction) error
- func (t *TypedAction) FromPipelineAction(v PipelineAction) error
- func (t TypedAction) MarshalJSON() ([]byte, error)
- func (t *TypedAction) MergeAsyncAction(v AsyncAction) error
- func (t *TypedAction) MergeCodeblockAction(v CodeblockAction) error
- func (t *TypedAction) MergeCodeblockReferenceAction(v CodeblockReferenceAction) error
- func (t *TypedAction) MergeGenericAction(v GenericAction) error
- func (t *TypedAction) MergeHttpAction(v HttpAction) error
- func (t *TypedAction) MergeIntegrationProxyAction(v IntegrationProxyAction) error
- func (t *TypedAction) MergeIterationAction(v IterationAction) error
- func (t *TypedAction) MergeJWTCreateAction(v JWTCreateAction) error
- func (t *TypedAction) MergeJavaScriptAction(v JavaScriptAction) error
- func (t *TypedAction) MergeJavaScriptReferenceAction(v JavaScriptReferenceAction) error
- func (t *TypedAction) MergeLogAction(v LogAction) error
- func (t *TypedAction) MergeNoopAction(v NoopAction) error
- func (t *TypedAction) MergePipelineAction(v PipelineAction) error
- func (t *TypedAction) UnmarshalJSON(b []byte) error
- func (t TypedAction) ValueByDiscriminator() (interface{}, error)
- type UUID
- type UpdateScriptHTTPResp
- type UpdateScriptJSONRequestBody
- type UpdateScriptMultipartRequestBody
- type UpdateSelectionConfigurationHTTPResp
- type UpdateSelectionConfigurationJSONRequestBody
- type UpdateTaskBody
- type UpdateTaskHTTPResp
- type UpdateTaskJSONRequestBody
- type ZendeskHTTPResp
- type ZendeskJSONBody
- type ZendeskJSONRequestBody
- type ZendeskParams
- type ZendeskParamsData
Constants ¶
const ( BearerAuthScopes = "bearerAuth.Scopes" Oauth2Scopes = "oauth2.Scopes" )
Variables ¶
This section is empty.
Functions ¶
func NewAgentActionOnTaskRequest ¶
func NewAgentActionOnTaskRequest(server string, taskId PathTaskId, agentAction AgentActionOnTask, body AgentActionOnTaskJSONRequestBody) (*http.Request, error)
NewAgentActionOnTaskRequest calls the generic AgentActionOnTask builder with application/json body
func NewAgentActionOnTaskRequestWithBody ¶
func NewAgentActionOnTaskRequestWithBody(server string, taskId PathTaskId, agentAction AgentActionOnTask, contentType string, body io.Reader) (*http.Request, error)
NewAgentActionOnTaskRequestWithBody generates requests for AgentActionOnTask with any type of body
func NewAgentInteractionDurationRequest ¶
func NewAgentInteractionDurationRequest(server string, agentId PathAgentId) (*http.Request, error)
NewAgentInteractionDurationRequest generates requests for AgentInteractionDuration
func NewAgentInteractionsRequest ¶
func NewAgentInteractionsRequest(server string, agentId PathAgentId) (*http.Request, error)
NewAgentInteractionsRequest generates requests for AgentInteractions
func NewChangeAgentLockRequest ¶
func NewChangeAgentLockRequest(server string, lockState PathLockState) (*http.Request, error)
NewChangeAgentLockRequest generates requests for ChangeAgentLock
func NewChangeTaskStateRequest ¶
func NewChangeTaskStateRequest(server string, taskId PathTaskId, taskState PathTaskState) (*http.Request, error)
NewChangeTaskStateRequest generates requests for ChangeTaskState
func NewCreateSecretsRequest ¶
func NewCreateSecretsRequest(server string, prefix SecretPrefix, body CreateSecretsJSONRequestBody) (*http.Request, error)
NewCreateSecretsRequest calls the generic CreateSecrets builder with application/json body
func NewCreateSecretsRequestWithBody ¶
func NewCreateSecretsRequestWithBody(server string, prefix SecretPrefix, contentType string, body io.Reader) (*http.Request, error)
NewCreateSecretsRequestWithBody generates requests for CreateSecrets with any type of body
func NewCreateSelectionConfigurationRequest ¶
func NewCreateSelectionConfigurationRequest(server string, body CreateSelectionConfigurationJSONRequestBody) (*http.Request, error)
NewCreateSelectionConfigurationRequest calls the generic CreateSelectionConfiguration builder with application/json body
func NewCreateSelectionConfigurationRequestWithBody ¶
func NewCreateSelectionConfigurationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSelectionConfigurationRequestWithBody generates requests for CreateSelectionConfiguration with any type of body
func NewDeleteScriptRequest ¶
NewDeleteScriptRequest generates requests for DeleteScript
func NewDeleteSecretKeysRequest ¶
func NewDeleteSecretKeysRequest(server string, prefix SecretPrefix, body DeleteSecretKeysJSONRequestBody) (*http.Request, error)
NewDeleteSecretKeysRequest calls the generic DeleteSecretKeys builder with application/json body
func NewDeleteSecretKeysRequestWithBody ¶
func NewDeleteSecretKeysRequestWithBody(server string, prefix SecretPrefix, contentType string, body io.Reader) (*http.Request, error)
NewDeleteSecretKeysRequestWithBody generates requests for DeleteSecretKeys with any type of body
func NewDeleteSelectionConfigurationRequest ¶
NewDeleteSelectionConfigurationRequest generates requests for DeleteSelectionConfiguration
func NewGetScriptRequest ¶
func NewGetScriptRequest(server string, pType CodeType, codeId CodeId, params *GetScriptParams) (*http.Request, error)
NewGetScriptRequest generates requests for GetScript
func NewListRequest ¶
func NewListRequest(server string, params *ListParams) (*http.Request, error)
NewListRequest generates requests for List
func NewListScriptsRequest ¶
func NewListScriptsRequest(server string, pType CodeType, params *ListScriptsParams) (*http.Request, error)
NewListScriptsRequest generates requests for ListScripts
func NewListSecretKeysRequest ¶
func NewListSecretKeysRequest(server string, prefix SecretPrefix) (*http.Request, error)
NewListSecretKeysRequest generates requests for ListSecretKeys
func NewListSecretPrefixesRequest ¶
NewListSecretPrefixesRequest generates requests for ListSecretPrefixes
func NewManagerInterruptOnTaskRequest ¶
func NewManagerInterruptOnTaskRequest(server string, taskId PathTaskId, interruptTo InterruptTo, body ManagerInterruptOnTaskJSONRequestBody) (*http.Request, error)
NewManagerInterruptOnTaskRequest calls the generic ManagerInterruptOnTask builder with application/json body
func NewManagerInterruptOnTaskRequestWithBody ¶
func NewManagerInterruptOnTaskRequestWithBody(server string, taskId PathTaskId, interruptTo InterruptTo, contentType string, body io.Reader) (*http.Request, error)
NewManagerInterruptOnTaskRequestWithBody generates requests for ManagerInterruptOnTask with any type of body
func NewPatchSecretsRequest ¶
func NewPatchSecretsRequest(server string, prefix SecretPrefix, body PatchSecretsJSONRequestBody) (*http.Request, error)
NewPatchSecretsRequest calls the generic PatchSecrets builder with application/json body
func NewPatchSecretsRequestWithBody ¶
func NewPatchSecretsRequestWithBody(server string, prefix SecretPrefix, contentType string, body io.Reader) (*http.Request, error)
NewPatchSecretsRequestWithBody generates requests for PatchSecrets with any type of body
func NewReadSelectionConfigurationRequest ¶
NewReadSelectionConfigurationRequest generates requests for ReadSelectionConfiguration
func NewSubmitScriptRequest ¶
func NewSubmitScriptRequest(server string, pType CodeType, body SubmitScriptJSONRequestBody) (*http.Request, error)
NewSubmitScriptRequest calls the generic SubmitScript builder with application/json body
func NewSubmitScriptRequestWithBody ¶
func NewSubmitScriptRequestWithBody(server string, pType CodeType, contentType string, body io.Reader) (*http.Request, error)
NewSubmitScriptRequestWithBody generates requests for SubmitScript with any type of body
func NewSubmitTaskRequest ¶
func NewSubmitTaskRequest(server string, body SubmitTaskJSONRequestBody) (*http.Request, error)
NewSubmitTaskRequest calls the generic SubmitTask builder with application/json body
func NewSubmitTaskRequestWithBody ¶
func NewSubmitTaskRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSubmitTaskRequestWithBody generates requests for SubmitTask with any type of body
func NewSubmitTaskTemplateRequest ¶
func NewSubmitTaskTemplateRequest(server string, template string, params *SubmitTaskTemplateParams, body SubmitTaskTemplateJSONRequestBody) (*http.Request, error)
NewSubmitTaskTemplateRequest calls the generic SubmitTaskTemplate builder with application/json body
func NewSubmitTaskTemplateRequestWithBody ¶
func NewSubmitTaskTemplateRequestWithBody(server string, template string, params *SubmitTaskTemplateParams, contentType string, body io.Reader) (*http.Request, error)
NewSubmitTaskTemplateRequestWithBody generates requests for SubmitTaskTemplate with any type of body
func NewTaskJournalRequest ¶
func NewTaskJournalRequest(server string, taskId PathTaskId) (*http.Request, error)
NewTaskJournalRequest generates requests for TaskJournal
func NewTaskRequest ¶
func NewTaskRequest(server string, taskId PathTaskId) (*http.Request, error)
NewTaskRequest generates requests for Task
func NewTaskUsageRequest ¶
func NewTaskUsageRequest(server string, params *TaskUsageParams) (*http.Request, error)
NewTaskUsageRequest generates requests for TaskUsage
func NewTaskUsageTypesRequest ¶
func NewTaskUsageTypesRequest(server string, params *TaskUsageTypesParams) (*http.Request, error)
NewTaskUsageTypesRequest generates requests for TaskUsageTypes
func NewTasksRequest ¶
func NewTasksRequest(server string, params *TasksParams) (*http.Request, error)
NewTasksRequest generates requests for Tasks
func NewTestingRequest ¶
func NewTestingRequest(server string, body TestingJSONRequestBody) (*http.Request, error)
NewTestingRequest calls the generic Testing builder with application/json body
func NewTestingRequestWithBody ¶
func NewTestingRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTestingRequestWithBody generates requests for Testing with any type of body
func NewUpdateScriptRequest ¶
func NewUpdateScriptRequest(server string, pType CodeType, codeId CodeId, body UpdateScriptJSONRequestBody) (*http.Request, error)
NewUpdateScriptRequest calls the generic UpdateScript builder with application/json body
func NewUpdateScriptRequestWithBody ¶
func NewUpdateScriptRequestWithBody(server string, pType CodeType, codeId CodeId, contentType string, body io.Reader) (*http.Request, error)
NewUpdateScriptRequestWithBody generates requests for UpdateScript with any type of body
func NewUpdateSelectionConfigurationRequest ¶
func NewUpdateSelectionConfigurationRequest(server string, body UpdateSelectionConfigurationJSONRequestBody) (*http.Request, error)
NewUpdateSelectionConfigurationRequest calls the generic UpdateSelectionConfiguration builder with application/json body
func NewUpdateSelectionConfigurationRequestWithBody ¶
func NewUpdateSelectionConfigurationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSelectionConfigurationRequestWithBody generates requests for UpdateSelectionConfiguration with any type of body
func NewUpdateTaskRequest ¶
func NewUpdateTaskRequest(server string, taskId PathTaskId, body UpdateTaskJSONRequestBody) (*http.Request, error)
NewUpdateTaskRequest calls the generic UpdateTask builder with application/json body
func NewUpdateTaskRequestWithBody ¶
func NewUpdateTaskRequestWithBody(server string, taskId PathTaskId, contentType string, body io.Reader) (*http.Request, error)
NewUpdateTaskRequestWithBody generates requests for UpdateTask with any type of body
func NewZendeskRequest ¶
func NewZendeskRequest(server string, params *ZendeskParams, body ZendeskJSONRequestBody) (*http.Request, error)
NewZendeskRequest calls the generic Zendesk builder with application/json body
func NewZendeskRequestWithBody ¶
func NewZendeskRequestWithBody(server string, params *ZendeskParams, contentType string, body io.Reader) (*http.Request, error)
NewZendeskRequestWithBody generates requests for Zendesk with any type of body
Types ¶
type AcceptTimeout ¶
type AcceptTimeout = int64
AcceptTimeout Time in milliseconds the agent has to accept a task before it is auto rejected.
type AccountSelectionConfiguration ¶
type AccountSelectionConfiguration struct {
// AcceptTimeout Time in milliseconds the agent has to accept a task before it is auto rejected.
AcceptTimeout *AcceptTimeout `json:"accept_timeout,omitempty"`
// CompleteTimeout Time in milliseconds the agent has to complete a task before it is auto canceled.
CompleteTimeout *CompleteTimeout `json:"complete_timeout,omitempty"`
// ExpireIn A time in milliseconds after task scheduling, if it is reached the task will be canceled
ExpireIn *ExpireIn `json:"expire_in,omitempty"`
// RescheduleDelay Time in milliseconds the task is delayed after rescheduling.
RescheduleDelay *RescheduleDelay `json:"reschedule_delay,omitempty"`
SelectionEngine *SelectionEngine `json:"selection_engine,omitempty"`
}
AccountSelectionConfiguration defines model for AccountSelectionConfiguration.
type Action ¶
type Action struct {
ActionType string `json:"action_type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
Action defines model for Action.
func (Action) Get ¶
Getter for additional properties for Action. Returns the specified element and whether it was found
func (Action) MarshalJSON ¶
Override default JSON handling for Action to handle AdditionalProperties
func (*Action) UnmarshalJSON ¶
Override default JSON handling for Action to handle AdditionalProperties
type ActionEvent ¶
type ActionEvent struct {
Context *map[string]interface{} `json:"context,omitempty"`
Error map[string]interface{} `json:"error"`
// Id a unique identifier
Id *Id `json:"id,omitempty"`
Input map[string]interface{} `json:"input"`
Meta *LogMetadata `json:"meta,omitempty"`
Output *map[string]interface{} `json:"output,omitempty"`
// Parent a unique identifier
Parent *Id `json:"parent,omitempty"`
Task *struct {
AccountId *string `json:"account_id,omitempty"`
// ExecutionId a unique identifier
ExecutionId *UUID `json:"execution_id,omitempty"`
// Id a unique identifier
Id *UUID `json:"id,omitempty"`
State *TaskState `json:"state,omitempty"`
Type *string `json:"type,omitempty"`
} `json:"task,omitempty"`
Type *ActionType `json:"type,omitempty"`
}
ActionEvent defines model for ActionEvent.
type ActionSetting ¶
type ActionSetting struct {
// Async When set to true, action events on_* will run asynchronously with further state transitions.action will not block
Async *bool `json:"async,omitempty"`
// Timeout Milliseconds
Timeout *Milliseconds `json:"timeout,omitempty"`
Transitions TaskStateEvents `json:"transitions"`
}
ActionSetting defines model for ActionSetting.
type Actions ¶
type Actions struct {
OnAccepted *[]Action `json:"on_accepted,omitempty"`
OnAssigned *[]Action `json:"on_assigned,omitempty"`
OnCanceled *[]Action `json:"on_canceled,omitempty"`
OnCompleted *[]Action `json:"on_completed,omitempty"`
OnFailed *[]Action `json:"on_failed,omitempty"`
OnPending *[]Action `json:"on_pending,omitempty"`
OnProcessing *[]Action `json:"on_processing,omitempty"`
OnRejected *[]Action `json:"on_rejected,omitempty"`
OnRescheduled *[]Action `json:"on_rescheduled,omitempty"`
OnScheduled *[]Action `json:"on_scheduled,omitempty"`
OnSelecting *[]Action `json:"on_selecting,omitempty"`
Settings *[]ActionSetting `json:"settings,omitempty"`
}
Actions defines model for Actions.
type AgentActionOnTask ¶
type AgentActionOnTask = AgentActions
AgentActionOnTask defines model for agentActionOnTask.
type AgentActionOnTaskHTTPResp ¶
type AgentActionOnTaskHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TaskResponse
}
func ParseAgentActionOnTaskHTTPResp ¶
func ParseAgentActionOnTaskHTTPResp(rsp *http.Response) (*AgentActionOnTaskHTTPResp, error)
ParseAgentActionOnTaskHTTPResp parses an HTTP response from a AgentActionOnTaskWithResponse call
func (AgentActionOnTaskHTTPResp) Status ¶
func (r AgentActionOnTaskHTTPResp) Status() string
Status returns HTTPResponse.Status
func (AgentActionOnTaskHTTPResp) StatusCode ¶
func (r AgentActionOnTaskHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentActionOnTaskJSONRequestBody ¶
type AgentActionOnTaskJSONRequestBody = ManualActionRequest
AgentActionOnTaskJSONRequestBody defines body for AgentActionOnTask for application/json ContentType.
type AgentActions ¶
type AgentActions string
AgentActions defines model for AgentActions.
const ( Accept AgentActions = "Accept" Complete AgentActions = "Complete" Reject AgentActions = "Reject" )
Defines values for AgentActions.
type AgentInteraction ¶
type AgentInteraction struct {
AgentAction *AgentActions `json:"agent_action,omitempty"`
// At Timestamp in milliseconds UTC
At *TimestampInMsUTC `json:"at,omitempty"`
Reason *string `json:"reason,omitempty"`
// Task a unique identifier
Task *Id `json:"task,omitempty"`
}
AgentInteraction defines model for AgentInteraction.
type AgentInteractionDurationHTTPResp ¶
type AgentInteractionDurationHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AgentInteractionDurationsResponse
}
func ParseAgentInteractionDurationHTTPResp ¶
func ParseAgentInteractionDurationHTTPResp(rsp *http.Response) (*AgentInteractionDurationHTTPResp, error)
ParseAgentInteractionDurationHTTPResp parses an HTTP response from a AgentInteractionDurationWithResponse call
func (AgentInteractionDurationHTTPResp) Status ¶
func (r AgentInteractionDurationHTTPResp) Status() string
Status returns HTTPResponse.Status
func (AgentInteractionDurationHTTPResp) StatusCode ¶
func (r AgentInteractionDurationHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentInteractionDurationsResponse ¶
type AgentInteractionDurationsResponse = InteractionDurations
AgentInteractionDurationsResponse defines model for agentInteractionDurationsResponse.
type AgentInteractionsHTTPResp ¶
type AgentInteractionsHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AgentJournalResponse
}
func ParseAgentInteractionsHTTPResp ¶
func ParseAgentInteractionsHTTPResp(rsp *http.Response) (*AgentInteractionsHTTPResp, error)
ParseAgentInteractionsHTTPResp parses an HTTP response from a AgentInteractionsWithResponse call
func (AgentInteractionsHTTPResp) Status ¶
func (r AgentInteractionsHTTPResp) Status() string
Status returns HTTPResponse.Status
func (AgentInteractionsHTTPResp) StatusCode ¶
func (r AgentInteractionsHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AgentJournal ¶
type AgentJournal struct {
// Id a unique identifier
Id *Id `json:"id,omitempty"`
InteractionFrequency *map[string]interface{} `json:"interaction_frequency,omitempty"`
Journal *interface{} `json:"journal,omitempty"`
}
AgentJournal defines model for AgentJournal.
type AgentJournalResponse ¶
type AgentJournalResponse = AgentJournal
AgentJournalResponse defines model for agentJournalResponse.
type AgentLockState ¶
type AgentLockState struct {
// AgentId a unique identifier
AgentId *Id `json:"agent_id,omitempty"`
State *AgentLockStateState `json:"state,omitempty"`
}
AgentLockState defines model for AgentLockState.
type AgentLockStateState ¶
type AgentLockStateState string
AgentLockStateState defines model for AgentLockState.State.
const ( Locked AgentLockStateState = "locked" Unlocked AgentLockStateState = "unlocked" )
Defines values for AgentLockStateState.
type AgentLocking ¶
type AgentLocking string
AgentLocking defines model for AgentLocking.
const (
Unlock AgentLocking = "unlock"
)
Defines values for AgentLocking.
type AsyncAction ¶
type AsyncAction struct {
ActionType string `json:"action_type"`
Async *ListProperties `json:"async,omitempty"`
}
AsyncAction defines model for AsyncAction.
type BaseTask ¶
type BaseTask struct {
Actions *Actions `json:"actions,omitempty"`
// AgentId a unique identifier
AgentId *Id `json:"agent_id,omitempty"`
Body Body `json:"body"`
// CreatedAt Timestamp in milliseconds UTC
CreatedAt *TimestampInMsUTC `json:"created_at,omitempty"`
// CustomerId a unique identifier
CustomerId *Id `json:"customer_id,omitempty"`
// Id a unique identifier
Id *UUID `json:"id,omitempty"`
// QueueId a unique identifier
QueueId *Id `json:"queue_id,omitempty"`
// ScheduledAt defines when the task will be scheduled for execution. now - as soon as possible at 1654075565950 - at the given timestamp in 1w 3d 5h 10min 5sec - in 1 week 3 days 5 hours 10 minutes and 5 seconds
ScheduledAt *ScheduledAt `json:"scheduled_at,omitempty"`
SelectionSettings *TaskSelectionSettings `json:"selection_settings,omitempty"`
// SessionId a unique identifier
SessionId *Id `json:"session_id,omitempty"`
State *TaskState `json:"state,omitempty"`
TaskCompletion *TaskCompletionSettings `json:"task_completion,omitempty"`
Type *TaskType `json:"type,omitempty"`
}
BaseTask defines model for BaseTask.
type ChangeAgentLockHTTPResp ¶
type ChangeAgentLockHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AgentLockState
JSONDefault *DefaultErrorResponse
}
func ParseChangeAgentLockHTTPResp ¶
func ParseChangeAgentLockHTTPResp(rsp *http.Response) (*ChangeAgentLockHTTPResp, error)
ParseChangeAgentLockHTTPResp parses an HTTP response from a ChangeAgentLockWithResponse call
func (ChangeAgentLockHTTPResp) Status ¶
func (r ChangeAgentLockHTTPResp) Status() string
Status returns HTTPResponse.Status
func (ChangeAgentLockHTTPResp) StatusCode ¶
func (r ChangeAgentLockHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ChangeTaskStateHTTPResp ¶
func ParseChangeTaskStateHTTPResp ¶
func ParseChangeTaskStateHTTPResp(rsp *http.Response) (*ChangeTaskStateHTTPResp, error)
ParseChangeTaskStateHTTPResp parses an HTTP response from a ChangeTaskStateWithResponse call
func (ChangeTaskStateHTTPResp) Status ¶
func (r ChangeTaskStateHTTPResp) Status() string
Status returns HTTPResponse.Status
func (ChangeTaskStateHTTPResp) StatusCode ¶
func (r ChangeTaskStateHTTPResp) 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) AgentActionOnTask ¶
func (c *Client) AgentActionOnTask(ctx context.Context, taskId PathTaskId, agentAction AgentActionOnTask, body AgentActionOnTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentActionOnTaskWithBody ¶
func (c *Client) AgentActionOnTaskWithBody(ctx context.Context, taskId PathTaskId, agentAction AgentActionOnTask, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentInteractionDuration ¶
func (c *Client) AgentInteractionDuration(ctx context.Context, agentId PathAgentId, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AgentInteractions ¶
func (c *Client) AgentInteractions(ctx context.Context, agentId PathAgentId, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ChangeAgentLock ¶
func (c *Client) ChangeAgentLock(ctx context.Context, lockState PathLockState, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ChangeTaskState ¶
func (c *Client) ChangeTaskState(ctx context.Context, taskId PathTaskId, taskState PathTaskState, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSecrets ¶
func (c *Client) CreateSecrets(ctx context.Context, prefix SecretPrefix, body CreateSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSecretsWithBody ¶
func (*Client) CreateSelectionConfiguration ¶
func (c *Client) CreateSelectionConfiguration(ctx context.Context, body CreateSelectionConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSelectionConfigurationWithBody ¶
func (*Client) DeleteScript ¶
func (*Client) DeleteSecretKeys ¶
func (c *Client) DeleteSecretKeys(ctx context.Context, prefix SecretPrefix, body DeleteSecretKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteSecretKeysWithBody ¶
func (*Client) DeleteSelectionConfiguration ¶
func (*Client) GetScript ¶
func (c *Client) GetScript(ctx context.Context, pType CodeType, codeId CodeId, params *GetScriptParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) List ¶
func (c *Client) List(ctx context.Context, params *ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListScripts ¶
func (c *Client) ListScripts(ctx context.Context, pType CodeType, params *ListScriptsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListSecretKeys ¶
func (c *Client) ListSecretKeys(ctx context.Context, prefix SecretPrefix, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListSecretPrefixes ¶
func (*Client) ManagerInterruptOnTask ¶
func (c *Client) ManagerInterruptOnTask(ctx context.Context, taskId PathTaskId, interruptTo InterruptTo, body ManagerInterruptOnTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ManagerInterruptOnTaskWithBody ¶
func (c *Client) ManagerInterruptOnTaskWithBody(ctx context.Context, taskId PathTaskId, interruptTo InterruptTo, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchSecrets ¶
func (c *Client) PatchSecrets(ctx context.Context, prefix SecretPrefix, body PatchSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchSecretsWithBody ¶
func (*Client) ReadSelectionConfiguration ¶
func (*Client) SubmitScript ¶
func (c *Client) SubmitScript(ctx context.Context, pType CodeType, body SubmitScriptJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SubmitScriptWithBody ¶
func (*Client) SubmitTask ¶
func (c *Client) SubmitTask(ctx context.Context, body SubmitTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SubmitTaskTemplate ¶
func (c *Client) SubmitTaskTemplate(ctx context.Context, template string, params *SubmitTaskTemplateParams, body SubmitTaskTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SubmitTaskTemplateWithBody ¶
func (*Client) SubmitTaskWithBody ¶
func (*Client) Task ¶
func (c *Client) Task(ctx context.Context, taskId PathTaskId, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TaskJournal ¶
func (c *Client) TaskJournal(ctx context.Context, taskId PathTaskId, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TaskUsage ¶
func (c *Client) TaskUsage(ctx context.Context, params *TaskUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TaskUsageTypes ¶
func (c *Client) TaskUsageTypes(ctx context.Context, params *TaskUsageTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) Tasks ¶
func (c *Client) Tasks(ctx context.Context, params *TasksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) Testing ¶
func (c *Client) Testing(ctx context.Context, body TestingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TestingWithBody ¶
func (*Client) UpdateScript ¶
func (c *Client) UpdateScript(ctx context.Context, pType CodeType, codeId CodeId, body UpdateScriptJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateScriptWithBody ¶
func (*Client) UpdateSelectionConfiguration ¶
func (c *Client) UpdateSelectionConfiguration(ctx context.Context, body UpdateSelectionConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateSelectionConfigurationWithBody ¶
func (*Client) UpdateTask ¶
func (c *Client) UpdateTask(ctx context.Context, taskId PathTaskId, body UpdateTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateTaskWithBody ¶
func (*Client) Zendesk ¶
func (c *Client) Zendesk(ctx context.Context, params *ZendeskParams, body ZendeskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ZendeskWithBody ¶
type ClientInterface ¶
type ClientInterface interface {
// ZendeskWithBody request with any body
ZendeskWithBody(ctx context.Context, params *ZendeskParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
Zendesk(ctx context.Context, params *ZendeskParams, body ZendeskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ChangeAgentLock request
ChangeAgentLock(ctx context.Context, lockState PathLockState, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentActionOnTaskWithBody request with any body
AgentActionOnTaskWithBody(ctx context.Context, taskId PathTaskId, agentAction AgentActionOnTask, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AgentActionOnTask(ctx context.Context, taskId PathTaskId, agentAction AgentActionOnTask, body AgentActionOnTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// Tasks request
Tasks(ctx context.Context, params *TasksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SubmitTaskWithBody request with any body
SubmitTaskWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SubmitTask(ctx context.Context, body SubmitTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TestingWithBody request with any body
TestingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
Testing(ctx context.Context, body TestingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSecretPrefixes request
ListSecretPrefixes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSecretKeysWithBody request with any body
DeleteSecretKeysWithBody(ctx context.Context, prefix SecretPrefix, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteSecretKeys(ctx context.Context, prefix SecretPrefix, body DeleteSecretKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSecretKeys request
ListSecretKeys(ctx context.Context, prefix SecretPrefix, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchSecretsWithBody request with any body
PatchSecretsWithBody(ctx context.Context, prefix SecretPrefix, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchSecrets(ctx context.Context, prefix SecretPrefix, body PatchSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSecretsWithBody request with any body
CreateSecretsWithBody(ctx context.Context, prefix SecretPrefix, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSecrets(ctx context.Context, prefix SecretPrefix, body CreateSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSelectionConfiguration request
DeleteSelectionConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReadSelectionConfiguration request
ReadSelectionConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSelectionConfigurationWithBody request with any body
CreateSelectionConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSelectionConfiguration(ctx context.Context, body CreateSelectionConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSelectionConfigurationWithBody request with any body
UpdateSelectionConfigurationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSelectionConfiguration(ctx context.Context, body UpdateSelectionConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// List request
List(ctx context.Context, params *ListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentInteractionDuration request
AgentInteractionDuration(ctx context.Context, agentId PathAgentId, reqEditors ...RequestEditorFn) (*http.Response, error)
// AgentInteractions request
AgentInteractions(ctx context.Context, agentId PathAgentId, reqEditors ...RequestEditorFn) (*http.Response, error)
// TaskJournal request
TaskJournal(ctx context.Context, taskId PathTaskId, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListScripts request
ListScripts(ctx context.Context, pType CodeType, params *ListScriptsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SubmitScriptWithBody request with any body
SubmitScriptWithBody(ctx context.Context, pType CodeType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SubmitScript(ctx context.Context, pType CodeType, body SubmitScriptJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteScript request
DeleteScript(ctx context.Context, pType CodeType, codeId CodeId, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetScript request
GetScript(ctx context.Context, pType CodeType, codeId CodeId, params *GetScriptParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateScriptWithBody request with any body
UpdateScriptWithBody(ctx context.Context, pType CodeType, codeId CodeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateScript(ctx context.Context, pType CodeType, codeId CodeId, body UpdateScriptJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SubmitTaskTemplateWithBody request with any body
SubmitTaskTemplateWithBody(ctx context.Context, template string, params *SubmitTaskTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SubmitTaskTemplate(ctx context.Context, template string, params *SubmitTaskTemplateParams, body SubmitTaskTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TaskUsage request
TaskUsage(ctx context.Context, params *TaskUsageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// TaskUsageTypes request
TaskUsageTypes(ctx context.Context, params *TaskUsageTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// Task request
Task(ctx context.Context, taskId PathTaskId, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateTaskWithBody request with any body
UpdateTaskWithBody(ctx context.Context, taskId PathTaskId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateTask(ctx context.Context, taskId PathTaskId, body UpdateTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManagerInterruptOnTaskWithBody request with any body
ManagerInterruptOnTaskWithBody(ctx context.Context, taskId PathTaskId, interruptTo InterruptTo, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ManagerInterruptOnTask(ctx context.Context, taskId PathTaskId, interruptTo InterruptTo, body ManagerInterruptOnTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ChangeTaskState request
ChangeTaskState(ctx context.Context, taskId PathTaskId, taskState PathTaskState, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
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) AgentActionOnTaskWithBodyWithResponse ¶
func (c *ClientWithResponses) AgentActionOnTaskWithBodyWithResponse(ctx context.Context, taskId PathTaskId, agentAction AgentActionOnTask, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentActionOnTaskHTTPResp, error)
AgentActionOnTaskWithBodyWithResponse request with arbitrary body returning *AgentActionOnTaskHTTPResp
func (*ClientWithResponses) AgentActionOnTaskWithResponse ¶
func (c *ClientWithResponses) AgentActionOnTaskWithResponse(ctx context.Context, taskId PathTaskId, agentAction AgentActionOnTask, body AgentActionOnTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentActionOnTaskHTTPResp, error)
func (*ClientWithResponses) AgentInteractionDurationWithResponse ¶
func (c *ClientWithResponses) AgentInteractionDurationWithResponse(ctx context.Context, agentId PathAgentId, reqEditors ...RequestEditorFn) (*AgentInteractionDurationHTTPResp, error)
AgentInteractionDurationWithResponse request returning *AgentInteractionDurationHTTPResp
func (*ClientWithResponses) AgentInteractionsWithResponse ¶
func (c *ClientWithResponses) AgentInteractionsWithResponse(ctx context.Context, agentId PathAgentId, reqEditors ...RequestEditorFn) (*AgentInteractionsHTTPResp, error)
AgentInteractionsWithResponse request returning *AgentInteractionsHTTPResp
func (*ClientWithResponses) ChangeAgentLockWithResponse ¶
func (c *ClientWithResponses) ChangeAgentLockWithResponse(ctx context.Context, lockState PathLockState, reqEditors ...RequestEditorFn) (*ChangeAgentLockHTTPResp, error)
ChangeAgentLockWithResponse request returning *ChangeAgentLockHTTPResp
func (*ClientWithResponses) ChangeTaskStateWithResponse ¶
func (c *ClientWithResponses) ChangeTaskStateWithResponse(ctx context.Context, taskId PathTaskId, taskState PathTaskState, reqEditors ...RequestEditorFn) (*ChangeTaskStateHTTPResp, error)
ChangeTaskStateWithResponse request returning *ChangeTaskStateHTTPResp
func (*ClientWithResponses) CreateSecretsWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSecretsWithBodyWithResponse(ctx context.Context, prefix SecretPrefix, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretsHTTPResp, error)
CreateSecretsWithBodyWithResponse request with arbitrary body returning *CreateSecretsHTTPResp
func (*ClientWithResponses) CreateSecretsWithResponse ¶
func (c *ClientWithResponses) CreateSecretsWithResponse(ctx context.Context, prefix SecretPrefix, body CreateSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretsHTTPResp, error)
func (*ClientWithResponses) CreateSelectionConfigurationWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSelectionConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSelectionConfigurationHTTPResp, error)
CreateSelectionConfigurationWithBodyWithResponse request with arbitrary body returning *CreateSelectionConfigurationHTTPResp
func (*ClientWithResponses) CreateSelectionConfigurationWithResponse ¶
func (c *ClientWithResponses) CreateSelectionConfigurationWithResponse(ctx context.Context, body CreateSelectionConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSelectionConfigurationHTTPResp, error)
func (*ClientWithResponses) DeleteScriptWithResponse ¶
func (c *ClientWithResponses) DeleteScriptWithResponse(ctx context.Context, pType CodeType, codeId CodeId, reqEditors ...RequestEditorFn) (*DeleteScriptHTTPResp, error)
DeleteScriptWithResponse request returning *DeleteScriptHTTPResp
func (*ClientWithResponses) DeleteSecretKeysWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteSecretKeysWithBodyWithResponse(ctx context.Context, prefix SecretPrefix, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteSecretKeysHTTPResp, error)
DeleteSecretKeysWithBodyWithResponse request with arbitrary body returning *DeleteSecretKeysHTTPResp
func (*ClientWithResponses) DeleteSecretKeysWithResponse ¶
func (c *ClientWithResponses) DeleteSecretKeysWithResponse(ctx context.Context, prefix SecretPrefix, body DeleteSecretKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteSecretKeysHTTPResp, error)
func (*ClientWithResponses) DeleteSelectionConfigurationWithResponse ¶
func (c *ClientWithResponses) DeleteSelectionConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteSelectionConfigurationHTTPResp, error)
DeleteSelectionConfigurationWithResponse request returning *DeleteSelectionConfigurationHTTPResp
func (*ClientWithResponses) GetScriptWithResponse ¶
func (c *ClientWithResponses) GetScriptWithResponse(ctx context.Context, pType CodeType, codeId CodeId, params *GetScriptParams, reqEditors ...RequestEditorFn) (*GetScriptHTTPResp, error)
GetScriptWithResponse request returning *GetScriptHTTPResp
func (*ClientWithResponses) ListScriptsWithResponse ¶
func (c *ClientWithResponses) ListScriptsWithResponse(ctx context.Context, pType CodeType, params *ListScriptsParams, reqEditors ...RequestEditorFn) (*ListScriptsHTTPResp, error)
ListScriptsWithResponse request returning *ListScriptsHTTPResp
func (*ClientWithResponses) ListSecretKeysWithResponse ¶
func (c *ClientWithResponses) ListSecretKeysWithResponse(ctx context.Context, prefix SecretPrefix, reqEditors ...RequestEditorFn) (*ListSecretKeysHTTPResp, error)
ListSecretKeysWithResponse request returning *ListSecretKeysHTTPResp
func (*ClientWithResponses) ListSecretPrefixesWithResponse ¶
func (c *ClientWithResponses) ListSecretPrefixesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSecretPrefixesHTTPResp, error)
ListSecretPrefixesWithResponse request returning *ListSecretPrefixesHTTPResp
func (*ClientWithResponses) ListWithResponse ¶
func (c *ClientWithResponses) ListWithResponse(ctx context.Context, params *ListParams, reqEditors ...RequestEditorFn) (*ListHTTPResp, error)
ListWithResponse request returning *ListHTTPResp
func (*ClientWithResponses) ManagerInterruptOnTaskWithBodyWithResponse ¶
func (c *ClientWithResponses) ManagerInterruptOnTaskWithBodyWithResponse(ctx context.Context, taskId PathTaskId, interruptTo InterruptTo, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagerInterruptOnTaskHTTPResp, error)
ManagerInterruptOnTaskWithBodyWithResponse request with arbitrary body returning *ManagerInterruptOnTaskHTTPResp
func (*ClientWithResponses) ManagerInterruptOnTaskWithResponse ¶
func (c *ClientWithResponses) ManagerInterruptOnTaskWithResponse(ctx context.Context, taskId PathTaskId, interruptTo InterruptTo, body ManagerInterruptOnTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagerInterruptOnTaskHTTPResp, error)
func (*ClientWithResponses) PatchSecretsWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchSecretsWithBodyWithResponse(ctx context.Context, prefix SecretPrefix, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchSecretsHTTPResp, error)
PatchSecretsWithBodyWithResponse request with arbitrary body returning *PatchSecretsHTTPResp
func (*ClientWithResponses) PatchSecretsWithResponse ¶
func (c *ClientWithResponses) PatchSecretsWithResponse(ctx context.Context, prefix SecretPrefix, body PatchSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchSecretsHTTPResp, error)
func (*ClientWithResponses) ReadSelectionConfigurationWithResponse ¶
func (c *ClientWithResponses) ReadSelectionConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadSelectionConfigurationHTTPResp, error)
ReadSelectionConfigurationWithResponse request returning *ReadSelectionConfigurationHTTPResp
func (*ClientWithResponses) SubmitScriptWithBodyWithResponse ¶
func (c *ClientWithResponses) SubmitScriptWithBodyWithResponse(ctx context.Context, pType CodeType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubmitScriptHTTPResp, error)
SubmitScriptWithBodyWithResponse request with arbitrary body returning *SubmitScriptHTTPResp
func (*ClientWithResponses) SubmitScriptWithResponse ¶
func (c *ClientWithResponses) SubmitScriptWithResponse(ctx context.Context, pType CodeType, body SubmitScriptJSONRequestBody, reqEditors ...RequestEditorFn) (*SubmitScriptHTTPResp, error)
func (*ClientWithResponses) SubmitTaskTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) SubmitTaskTemplateWithBodyWithResponse(ctx context.Context, template string, params *SubmitTaskTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubmitTaskTemplateHTTPResp, error)
SubmitTaskTemplateWithBodyWithResponse request with arbitrary body returning *SubmitTaskTemplateHTTPResp
func (*ClientWithResponses) SubmitTaskTemplateWithResponse ¶
func (c *ClientWithResponses) SubmitTaskTemplateWithResponse(ctx context.Context, template string, params *SubmitTaskTemplateParams, body SubmitTaskTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*SubmitTaskTemplateHTTPResp, error)
func (*ClientWithResponses) SubmitTaskWithBodyWithResponse ¶
func (c *ClientWithResponses) SubmitTaskWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubmitTaskHTTPResp, error)
SubmitTaskWithBodyWithResponse request with arbitrary body returning *SubmitTaskHTTPResp
func (*ClientWithResponses) SubmitTaskWithResponse ¶
func (c *ClientWithResponses) SubmitTaskWithResponse(ctx context.Context, body SubmitTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*SubmitTaskHTTPResp, error)
func (*ClientWithResponses) TaskJournalWithResponse ¶
func (c *ClientWithResponses) TaskJournalWithResponse(ctx context.Context, taskId PathTaskId, reqEditors ...RequestEditorFn) (*TaskJournalHTTPResp, error)
TaskJournalWithResponse request returning *TaskJournalHTTPResp
func (*ClientWithResponses) TaskUsageTypesWithResponse ¶
func (c *ClientWithResponses) TaskUsageTypesWithResponse(ctx context.Context, params *TaskUsageTypesParams, reqEditors ...RequestEditorFn) (*TaskUsageTypesHTTPResp, error)
TaskUsageTypesWithResponse request returning *TaskUsageTypesHTTPResp
func (*ClientWithResponses) TaskUsageWithResponse ¶
func (c *ClientWithResponses) TaskUsageWithResponse(ctx context.Context, params *TaskUsageParams, reqEditors ...RequestEditorFn) (*TaskUsageHTTPResp, error)
TaskUsageWithResponse request returning *TaskUsageHTTPResp
func (*ClientWithResponses) TaskWithResponse ¶
func (c *ClientWithResponses) TaskWithResponse(ctx context.Context, taskId PathTaskId, reqEditors ...RequestEditorFn) (*TaskHTTPResp, error)
TaskWithResponse request returning *TaskHTTPResp
func (*ClientWithResponses) TasksWithResponse ¶
func (c *ClientWithResponses) TasksWithResponse(ctx context.Context, params *TasksParams, reqEditors ...RequestEditorFn) (*TasksHTTPResp, error)
TasksWithResponse request returning *TasksHTTPResp
func (*ClientWithResponses) TestingWithBodyWithResponse ¶
func (c *ClientWithResponses) TestingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TestingHTTPResp, error)
TestingWithBodyWithResponse request with arbitrary body returning *TestingHTTPResp
func (*ClientWithResponses) TestingWithResponse ¶
func (c *ClientWithResponses) TestingWithResponse(ctx context.Context, body TestingJSONRequestBody, reqEditors ...RequestEditorFn) (*TestingHTTPResp, error)
func (*ClientWithResponses) UpdateScriptWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateScriptWithBodyWithResponse(ctx context.Context, pType CodeType, codeId CodeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateScriptHTTPResp, error)
UpdateScriptWithBodyWithResponse request with arbitrary body returning *UpdateScriptHTTPResp
func (*ClientWithResponses) UpdateScriptWithResponse ¶
func (c *ClientWithResponses) UpdateScriptWithResponse(ctx context.Context, pType CodeType, codeId CodeId, body UpdateScriptJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateScriptHTTPResp, error)
func (*ClientWithResponses) UpdateSelectionConfigurationWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSelectionConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSelectionConfigurationHTTPResp, error)
UpdateSelectionConfigurationWithBodyWithResponse request with arbitrary body returning *UpdateSelectionConfigurationHTTPResp
func (*ClientWithResponses) UpdateSelectionConfigurationWithResponse ¶
func (c *ClientWithResponses) UpdateSelectionConfigurationWithResponse(ctx context.Context, body UpdateSelectionConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSelectionConfigurationHTTPResp, error)
func (*ClientWithResponses) UpdateTaskWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateTaskWithBodyWithResponse(ctx context.Context, taskId PathTaskId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTaskHTTPResp, error)
UpdateTaskWithBodyWithResponse request with arbitrary body returning *UpdateTaskHTTPResp
func (*ClientWithResponses) UpdateTaskWithResponse ¶
func (c *ClientWithResponses) UpdateTaskWithResponse(ctx context.Context, taskId PathTaskId, body UpdateTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTaskHTTPResp, error)
func (*ClientWithResponses) ZendeskWithBodyWithResponse ¶
func (c *ClientWithResponses) ZendeskWithBodyWithResponse(ctx context.Context, params *ZendeskParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ZendeskHTTPResp, error)
ZendeskWithBodyWithResponse request with arbitrary body returning *ZendeskHTTPResp
func (*ClientWithResponses) ZendeskWithResponse ¶
func (c *ClientWithResponses) ZendeskWithResponse(ctx context.Context, params *ZendeskParams, body ZendeskJSONRequestBody, reqEditors ...RequestEditorFn) (*ZendeskHTTPResp, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// ZendeskWithBodyWithResponse request with any body
ZendeskWithBodyWithResponse(ctx context.Context, params *ZendeskParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ZendeskHTTPResp, error)
ZendeskWithResponse(ctx context.Context, params *ZendeskParams, body ZendeskJSONRequestBody, reqEditors ...RequestEditorFn) (*ZendeskHTTPResp, error)
// ChangeAgentLockWithResponse request
ChangeAgentLockWithResponse(ctx context.Context, lockState PathLockState, reqEditors ...RequestEditorFn) (*ChangeAgentLockHTTPResp, error)
// AgentActionOnTaskWithBodyWithResponse request with any body
AgentActionOnTaskWithBodyWithResponse(ctx context.Context, taskId PathTaskId, agentAction AgentActionOnTask, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentActionOnTaskHTTPResp, error)
AgentActionOnTaskWithResponse(ctx context.Context, taskId PathTaskId, agentAction AgentActionOnTask, body AgentActionOnTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentActionOnTaskHTTPResp, error)
// TasksWithResponse request
TasksWithResponse(ctx context.Context, params *TasksParams, reqEditors ...RequestEditorFn) (*TasksHTTPResp, error)
// SubmitTaskWithBodyWithResponse request with any body
SubmitTaskWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubmitTaskHTTPResp, error)
SubmitTaskWithResponse(ctx context.Context, body SubmitTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*SubmitTaskHTTPResp, error)
// TestingWithBodyWithResponse request with any body
TestingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TestingHTTPResp, error)
TestingWithResponse(ctx context.Context, body TestingJSONRequestBody, reqEditors ...RequestEditorFn) (*TestingHTTPResp, error)
// ListSecretPrefixesWithResponse request
ListSecretPrefixesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSecretPrefixesHTTPResp, error)
// DeleteSecretKeysWithBodyWithResponse request with any body
DeleteSecretKeysWithBodyWithResponse(ctx context.Context, prefix SecretPrefix, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteSecretKeysHTTPResp, error)
DeleteSecretKeysWithResponse(ctx context.Context, prefix SecretPrefix, body DeleteSecretKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteSecretKeysHTTPResp, error)
// ListSecretKeysWithResponse request
ListSecretKeysWithResponse(ctx context.Context, prefix SecretPrefix, reqEditors ...RequestEditorFn) (*ListSecretKeysHTTPResp, error)
// PatchSecretsWithBodyWithResponse request with any body
PatchSecretsWithBodyWithResponse(ctx context.Context, prefix SecretPrefix, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchSecretsHTTPResp, error)
PatchSecretsWithResponse(ctx context.Context, prefix SecretPrefix, body PatchSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchSecretsHTTPResp, error)
// CreateSecretsWithBodyWithResponse request with any body
CreateSecretsWithBodyWithResponse(ctx context.Context, prefix SecretPrefix, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretsHTTPResp, error)
CreateSecretsWithResponse(ctx context.Context, prefix SecretPrefix, body CreateSecretsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretsHTTPResp, error)
// DeleteSelectionConfigurationWithResponse request
DeleteSelectionConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteSelectionConfigurationHTTPResp, error)
// ReadSelectionConfigurationWithResponse request
ReadSelectionConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadSelectionConfigurationHTTPResp, error)
// CreateSelectionConfigurationWithBodyWithResponse request with any body
CreateSelectionConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSelectionConfigurationHTTPResp, error)
CreateSelectionConfigurationWithResponse(ctx context.Context, body CreateSelectionConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSelectionConfigurationHTTPResp, error)
// UpdateSelectionConfigurationWithBodyWithResponse request with any body
UpdateSelectionConfigurationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSelectionConfigurationHTTPResp, error)
UpdateSelectionConfigurationWithResponse(ctx context.Context, body UpdateSelectionConfigurationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSelectionConfigurationHTTPResp, error)
// ListWithResponse request
ListWithResponse(ctx context.Context, params *ListParams, reqEditors ...RequestEditorFn) (*ListHTTPResp, error)
// AgentInteractionDurationWithResponse request
AgentInteractionDurationWithResponse(ctx context.Context, agentId PathAgentId, reqEditors ...RequestEditorFn) (*AgentInteractionDurationHTTPResp, error)
// AgentInteractionsWithResponse request
AgentInteractionsWithResponse(ctx context.Context, agentId PathAgentId, reqEditors ...RequestEditorFn) (*AgentInteractionsHTTPResp, error)
// TaskJournalWithResponse request
TaskJournalWithResponse(ctx context.Context, taskId PathTaskId, reqEditors ...RequestEditorFn) (*TaskJournalHTTPResp, error)
// ListScriptsWithResponse request
ListScriptsWithResponse(ctx context.Context, pType CodeType, params *ListScriptsParams, reqEditors ...RequestEditorFn) (*ListScriptsHTTPResp, error)
// SubmitScriptWithBodyWithResponse request with any body
SubmitScriptWithBodyWithResponse(ctx context.Context, pType CodeType, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubmitScriptHTTPResp, error)
SubmitScriptWithResponse(ctx context.Context, pType CodeType, body SubmitScriptJSONRequestBody, reqEditors ...RequestEditorFn) (*SubmitScriptHTTPResp, error)
// DeleteScriptWithResponse request
DeleteScriptWithResponse(ctx context.Context, pType CodeType, codeId CodeId, reqEditors ...RequestEditorFn) (*DeleteScriptHTTPResp, error)
// GetScriptWithResponse request
GetScriptWithResponse(ctx context.Context, pType CodeType, codeId CodeId, params *GetScriptParams, reqEditors ...RequestEditorFn) (*GetScriptHTTPResp, error)
// UpdateScriptWithBodyWithResponse request with any body
UpdateScriptWithBodyWithResponse(ctx context.Context, pType CodeType, codeId CodeId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateScriptHTTPResp, error)
UpdateScriptWithResponse(ctx context.Context, pType CodeType, codeId CodeId, body UpdateScriptJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateScriptHTTPResp, error)
// SubmitTaskTemplateWithBodyWithResponse request with any body
SubmitTaskTemplateWithBodyWithResponse(ctx context.Context, template string, params *SubmitTaskTemplateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubmitTaskTemplateHTTPResp, error)
SubmitTaskTemplateWithResponse(ctx context.Context, template string, params *SubmitTaskTemplateParams, body SubmitTaskTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*SubmitTaskTemplateHTTPResp, error)
// TaskUsageWithResponse request
TaskUsageWithResponse(ctx context.Context, params *TaskUsageParams, reqEditors ...RequestEditorFn) (*TaskUsageHTTPResp, error)
// TaskUsageTypesWithResponse request
TaskUsageTypesWithResponse(ctx context.Context, params *TaskUsageTypesParams, reqEditors ...RequestEditorFn) (*TaskUsageTypesHTTPResp, error)
// TaskWithResponse request
TaskWithResponse(ctx context.Context, taskId PathTaskId, reqEditors ...RequestEditorFn) (*TaskHTTPResp, error)
// UpdateTaskWithBodyWithResponse request with any body
UpdateTaskWithBodyWithResponse(ctx context.Context, taskId PathTaskId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTaskHTTPResp, error)
UpdateTaskWithResponse(ctx context.Context, taskId PathTaskId, body UpdateTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTaskHTTPResp, error)
// ManagerInterruptOnTaskWithBodyWithResponse request with any body
ManagerInterruptOnTaskWithBodyWithResponse(ctx context.Context, taskId PathTaskId, interruptTo InterruptTo, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManagerInterruptOnTaskHTTPResp, error)
ManagerInterruptOnTaskWithResponse(ctx context.Context, taskId PathTaskId, interruptTo InterruptTo, body ManagerInterruptOnTaskJSONRequestBody, reqEditors ...RequestEditorFn) (*ManagerInterruptOnTaskHTTPResp, error)
// ChangeTaskStateWithResponse request
ChangeTaskStateWithResponse(ctx context.Context, taskId PathTaskId, taskState PathTaskState, reqEditors ...RequestEditorFn) (*ChangeTaskStateHTTPResp, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CodeblockAction ¶
type CodeblockAction struct {
ActionType string `json:"action_type"`
Codeblock *struct {
Actions []Action `json:"actions"`
Arguments *[]map[string]interface{} `json:"arguments,omitempty"`
// Condition a javascript if not set or if it returns true then the action is executed
Condition *string `json:"condition,omitempty"`
Error *ErrorHandlingConfig `json:"error,omitempty"`
Parameter *map[string]interface{} `json:"parameter,omitempty"`
Timeout *int64 `json:"timeout,omitempty"`
Var *string `json:"var,omitempty"`
} `json:"codeblock,omitempty"`
}
CodeblockAction defines model for CodeblockAction.
type CodeblockProperties ¶
type CodeblockProperties struct {
Actions []Action `json:"actions"`
}
CodeblockProperties defines model for CodeblockProperties.
type CodeblockReferenceAction ¶
type CodeblockReferenceAction struct {
ActionType string `json:"action_type"`
Codeblock *struct {
Arguments *[]map[string]interface{} `json:"arguments,omitempty"`
// Condition a javascript if not set or if it returns true then the action is executed
Condition *string `json:"condition,omitempty"`
Error *ErrorHandlingConfig `json:"error,omitempty"`
Parameter *map[string]interface{} `json:"parameter,omitempty"`
Ref ReferenceProperties `json:"ref"`
Timeout *int64 `json:"timeout,omitempty"`
Var *string `json:"var,omitempty"`
} `json:"codeblock,omitempty"`
}
CodeblockReferenceAction defines model for CodeblockReferenceAction.
type CodeblockReferenceProperties ¶
type CodeblockReferenceProperties struct {
Ref ReferenceProperties `json:"ref"`
}
CodeblockReferenceProperties A reference to a stored codeblock. Either the identifier or the name need to be specified.
type CommonActionProperties ¶
type CommonActionProperties struct {
Arguments *[]map[string]interface{} `json:"arguments,omitempty"`
// Condition a javascript if not set or if it returns true then the action is executed
Condition *string `json:"condition,omitempty"`
Error *ErrorHandlingConfig `json:"error,omitempty"`
Timeout *int64 `json:"timeout,omitempty"`
Var *string `json:"var,omitempty"`
}
CommonActionProperties defines model for CommonActionProperties.
type CommonCodeblockProperties ¶
type CommonCodeblockProperties struct {
Parameter *map[string]interface{} `json:"parameter,omitempty"`
}
CommonCodeblockProperties defines model for CommonCodeblockProperties.
type CompleteTimeout ¶
type CompleteTimeout = int64
CompleteTimeout Time in milliseconds the agent has to complete a task before it is auto canceled.
type CreateSecretsHTTPResp ¶
func ParseCreateSecretsHTTPResp ¶
func ParseCreateSecretsHTTPResp(rsp *http.Response) (*CreateSecretsHTTPResp, error)
ParseCreateSecretsHTTPResp parses an HTTP response from a CreateSecretsWithResponse call
func (CreateSecretsHTTPResp) Status ¶
func (r CreateSecretsHTTPResp) Status() string
Status returns HTTPResponse.Status
func (CreateSecretsHTTPResp) StatusCode ¶
func (r CreateSecretsHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSecretsJSONBody ¶
type CreateSecretsJSONBody map[string]interface{}
CreateSecretsJSONBody defines parameters for CreateSecrets.
type CreateSecretsJSONRequestBody ¶
type CreateSecretsJSONRequestBody CreateSecretsJSONBody
CreateSecretsJSONRequestBody defines body for CreateSecrets for application/json ContentType.
type CreateSelectionConfigurationHTTPResp ¶
type CreateSelectionConfigurationHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON201 *SelectionConfigurationResponse
}
func ParseCreateSelectionConfigurationHTTPResp ¶
func ParseCreateSelectionConfigurationHTTPResp(rsp *http.Response) (*CreateSelectionConfigurationHTTPResp, error)
ParseCreateSelectionConfigurationHTTPResp parses an HTTP response from a CreateSelectionConfigurationWithResponse call
func (CreateSelectionConfigurationHTTPResp) Status ¶
func (r CreateSelectionConfigurationHTTPResp) Status() string
Status returns HTTPResponse.Status
func (CreateSelectionConfigurationHTTPResp) StatusCode ¶
func (r CreateSelectionConfigurationHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSelectionConfigurationJSONRequestBody ¶
type CreateSelectionConfigurationJSONRequestBody = AccountSelectionConfiguration
CreateSelectionConfigurationJSONRequestBody defines body for CreateSelectionConfiguration for application/json ContentType.
type DefaultErrorResponse ¶
type DefaultErrorResponse = ErrorResponse
DefaultErrorResponse Babelforce error response, indicating in error_message the problem and details in error_detail
type DeleteScriptHTTPResp ¶
func ParseDeleteScriptHTTPResp ¶
func ParseDeleteScriptHTTPResp(rsp *http.Response) (*DeleteScriptHTTPResp, error)
ParseDeleteScriptHTTPResp parses an HTTP response from a DeleteScriptWithResponse call
func (DeleteScriptHTTPResp) Status ¶
func (r DeleteScriptHTTPResp) Status() string
Status returns HTTPResponse.Status
func (DeleteScriptHTTPResp) StatusCode ¶
func (r DeleteScriptHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSecretKeysHTTPResp ¶
func ParseDeleteSecretKeysHTTPResp ¶
func ParseDeleteSecretKeysHTTPResp(rsp *http.Response) (*DeleteSecretKeysHTTPResp, error)
ParseDeleteSecretKeysHTTPResp parses an HTTP response from a DeleteSecretKeysWithResponse call
func (DeleteSecretKeysHTTPResp) Status ¶
func (r DeleteSecretKeysHTTPResp) Status() string
Status returns HTTPResponse.Status
func (DeleteSecretKeysHTTPResp) StatusCode ¶
func (r DeleteSecretKeysHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSecretKeysJSONRequestBody ¶
type DeleteSecretKeysJSONRequestBody = SecretKeys
DeleteSecretKeysJSONRequestBody defines body for DeleteSecretKeys for application/json ContentType.
type DeleteSelectionConfigurationHTTPResp ¶
func ParseDeleteSelectionConfigurationHTTPResp ¶
func ParseDeleteSelectionConfigurationHTTPResp(rsp *http.Response) (*DeleteSelectionConfigurationHTTPResp, error)
ParseDeleteSelectionConfigurationHTTPResp parses an HTTP response from a DeleteSelectionConfigurationWithResponse call
func (DeleteSelectionConfigurationHTTPResp) Status ¶
func (r DeleteSelectionConfigurationHTTPResp) Status() string
Status returns HTTPResponse.Status
func (DeleteSelectionConfigurationHTTPResp) StatusCode ¶
func (r DeleteSelectionConfigurationHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Error ¶
type Error = bool
Error true - an error occured during task execution, false - no errors during execution
type ErrorContextPropagationBehavior ¶
type ErrorContextPropagationBehavior string
ErrorContextPropagationBehavior controls if an error response should be added to the context, an error is only added if there is a var for that action. show - an error response is added to the context in {varName}.["error.response"], hide - does not add the error response to the context.
const ( Hide ErrorContextPropagationBehavior = "hide" Show ErrorContextPropagationBehavior = "show" )
Defines values for ErrorContextPropagationBehavior.
type ErrorHandlingBehavior ¶
type ErrorHandlingBehavior string
ErrorHandlingBehavior changes behavior if an error continues. stop - does not execute further actions in the same pipeline, continue - executes the next action regardless of a failure, enables that an error can be handled explicitly.
const ( ErrorHandlingBehaviorContinue ErrorHandlingBehavior = "continue" ErrorHandlingBehaviorStop ErrorHandlingBehavior = "stop" )
Defines values for ErrorHandlingBehavior.
type ErrorHandlingConfig ¶
type ErrorHandlingConfig struct {
// Handling changes behavior if an error continues. stop - does not execute further actions in the same pipeline, continue - executes the next action regardless of a failure, enables that an error can be handled explicitly.
Handling *ErrorHandlingBehavior `json:"handling,omitempty"`
// Visibility controls if an error response should be added to the context, an error is only added if there is a var for that action. show - an error response is added to the context in {varName}.["error.response"], hide - does not add the error response to the context.
Visibility *ErrorContextPropagationBehavior `json:"visibility,omitempty"`
}
ErrorHandlingConfig defines model for ErrorHandlingConfig.
type ErrorResponse ¶
type ErrorResponse struct {
// ErrorDetail detailed description of what went wrong during the request
ErrorDetail *string `json:"error_detail,omitempty"`
// ErrorMessage generic error message
ErrorMessage *string `json:"error_message,omitempty"`
}
ErrorResponse Babelforce error response, indicating in error_message the problem and details in error_detail
type ExpireIn ¶
type ExpireIn = int64
ExpireIn A time in milliseconds after task scheduling, if it is reached the task will be canceled
type GetScriptHTTPResp ¶
type GetScriptHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScriptResponse
}
func ParseGetScriptHTTPResp ¶
func ParseGetScriptHTTPResp(rsp *http.Response) (*GetScriptHTTPResp, error)
ParseGetScriptHTTPResp parses an HTTP response from a GetScriptWithResponse call
func (GetScriptHTTPResp) Status ¶
func (r GetScriptHTTPResp) Status() string
Status returns HTTPResponse.Status
func (GetScriptHTTPResp) StatusCode ¶
func (r GetScriptHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetScriptParams ¶
type GetScriptParams struct {
// Response explicit response type, to either select script payload or metadata
Response *ScriptResponseType `form:"response,omitempty" json:"response,omitempty"`
}
GetScriptParams defines parameters for GetScript.
type Http ¶
type Http struct {
Arguments *[]map[string]interface{} `json:"arguments,omitempty"`
// Body payload of the http call
Body *map[string]interface{} `json:"body,omitempty"`
CheckCertificate *bool `json:"checkCertificate,omitempty"`
// Condition a javascript if not set or if it returns true then the action is executed
Condition *string `json:"condition,omitempty"`
Error *ErrorHandlingConfig `json:"error,omitempty"`
Header *map[string]interface{} `json:"header,omitempty"`
// MTLS any parameters of mTLS should be referenced as {{secrets.whatever.key}}, {{secrets.whatever.cert}}, {{secrets.whatever.ca_cert}} etc.
MTLS *struct {
// CaCert public CA certificate used to create the server certificate
CaCert string `json:"ca_cert"`
// Cert client certificate accepted by the target server
Cert string `json:"cert"`
// Key client private key
Key string `json:"key"`
} `json:"mTLS,omitempty"`
// Method http method
Method string `json:"method"`
// QueryParams flat key value object
QueryParams *map[string]interface{} `json:"queryParams,omitempty"`
Timeout *int64 `json:"timeout,omitempty"`
Url string `json:"url"`
Var *string `json:"var,omitempty"`
}
Http defines model for Http.
type HttpAction ¶
type HttpAction struct {
ActionType string `json:"action_type"`
Http *Http `json:"http,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
HttpAction defines model for HttpAction.
func (HttpAction) Get ¶
func (a HttpAction) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for HttpAction. Returns the specified element and whether it was found
func (HttpAction) MarshalJSON ¶
func (a HttpAction) MarshalJSON() ([]byte, error)
Override default JSON handling for HttpAction to handle AdditionalProperties
func (*HttpAction) Set ¶
func (a *HttpAction) Set(fieldName string, value interface{})
Setter for additional properties for HttpAction
func (*HttpAction) UnmarshalJSON ¶
func (a *HttpAction) UnmarshalJSON(b []byte) error
Override default JSON handling for HttpAction to handle AdditionalProperties
type HttpActionProperties ¶
type HttpActionProperties struct {
// Body payload of the http call
Body *map[string]interface{} `json:"body,omitempty"`
CheckCertificate *bool `json:"checkCertificate,omitempty"`
Header *map[string]interface{} `json:"header,omitempty"`
// MTLS any parameters of mTLS should be referenced as {{secrets.whatever.key}}, {{secrets.whatever.cert}}, {{secrets.whatever.ca_cert}} etc.
MTLS *struct {
// CaCert public CA certificate used to create the server certificate
CaCert string `json:"ca_cert"`
// Cert client certificate accepted by the target server
Cert string `json:"cert"`
// Key client private key
Key string `json:"key"`
} `json:"mTLS,omitempty"`
// Method http method
Method string `json:"method"`
// QueryParams flat key value object
QueryParams *map[string]interface{} `json:"queryParams,omitempty"`
Url string `json:"url"`
}
HttpActionProperties defines model for HttpActionProperties.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type IntegrationProxy ¶
type IntegrationProxy struct {
Arguments *[]map[string]interface{} `json:"arguments,omitempty"`
// Condition a javascript if not set or if it returns true then the action is executed
Condition *string `json:"condition,omitempty"`
Context *map[string]interface{} `json:"context,omitempty"`
Error *ErrorHandlingConfig `json:"error,omitempty"`
IntegrationId string `json:"integration_id"`
Params *map[string]interface{} `json:"params,omitempty"`
// QueryParams flat object of query parameters
QueryParams *map[string]interface{} `json:"queryParams,omitempty"`
Timeout *int64 `json:"timeout,omitempty"`
Type string `json:"type"`
Var *string `json:"var,omitempty"`
}
IntegrationProxy defines model for IntegrationProxy.
type IntegrationProxyAction ¶
type IntegrationProxyAction struct {
Action *IntegrationProxy `json:"action,omitempty"`
ActionType string `json:"action_type"`
AdditionalProperties map[string]interface{} `json:"-"`
}
IntegrationProxyAction defines model for IntegrationProxyAction.
func (IntegrationProxyAction) Get ¶
func (a IntegrationProxyAction) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for IntegrationProxyAction. Returns the specified element and whether it was found
func (IntegrationProxyAction) MarshalJSON ¶
func (a IntegrationProxyAction) MarshalJSON() ([]byte, error)
Override default JSON handling for IntegrationProxyAction to handle AdditionalProperties
func (*IntegrationProxyAction) Set ¶
func (a *IntegrationProxyAction) Set(fieldName string, value interface{})
Setter for additional properties for IntegrationProxyAction
func (*IntegrationProxyAction) UnmarshalJSON ¶
func (a *IntegrationProxyAction) UnmarshalJSON(b []byte) error
Override default JSON handling for IntegrationProxyAction to handle AdditionalProperties
type IntegrationProxyProperties ¶
type IntegrationProxyProperties struct {
Context *map[string]interface{} `json:"context,omitempty"`
IntegrationId string `json:"integration_id"`
Params *map[string]interface{} `json:"params,omitempty"`
// QueryParams flat object of query parameters
QueryParams *map[string]interface{} `json:"queryParams,omitempty"`
Type string `json:"type"`
}
IntegrationProxyProperties defines model for IntegrationProxyProperties.
type InteractionDuration ¶
type InteractionDuration struct {
Durations *interface{} `json:"durations,omitempty"`
TaskId *string `json:"task_id,omitempty"`
}
InteractionDuration defines model for InteractionDuration.
type InteractionDurations ¶
type InteractionDurations struct {
// AgentId a unique identifier
AgentId *Id `json:"agent_id,omitempty"`
Items *interface{} `json:"items,omitempty"`
Meta *interface{} `json:"meta,omitempty"`
}
InteractionDurations defines model for InteractionDurations.
type InterruptTo ¶
type InterruptTo = InterruptionTargetStates
InterruptTo defines model for interruptTo.
type InterruptionTargetStates ¶
type InterruptionTargetStates string
InterruptionTargetStates defines model for InterruptionTargetStates.
const ( InterruptionTargetStatesCanceled InterruptionTargetStates = "Canceled" InterruptionTargetStatesCompleted InterruptionTargetStates = "Completed" InterruptionTargetStatesFailed InterruptionTargetStates = "Failed" )
Defines values for InterruptionTargetStates.
type IterationAction ¶
type IterationAction struct {
ActionType string `json:"action_type"`
Iteration *struct {
Actions *[]TypedAction `json:"actions,omitempty"`
Arguments *[]map[string]interface{} `json:"arguments,omitempty"`
// Condition a javascript if not set or if it returns true then the action is executed
Condition *string `json:"condition,omitempty"`
Error *ErrorHandlingConfig `json:"error,omitempty"`
Items []map[string]interface{} `json:"items"`
// ItemsMax The number of items specified for iteration. If you supply more elements, a runtime error will occur. Additionally, when increasing this limit beyond the default, consider setting the timeout property on both the state, parents and iteration.
ItemsMax *int `json:"items_max,omitempty"`
// OnError on child error continue or fail the iteration
OnError *IterationActionIterationOnError `json:"onError,omitempty"`
Result IterationActionIterationResult `json:"result"`
Timeout *int64 `json:"timeout,omitempty"`
Var *string `json:"var,omitempty"`
} `json:"iteration,omitempty"`
}
IterationAction defines model for IterationAction.
type IterationActionIterationOnError ¶
type IterationActionIterationOnError string
IterationActionIterationOnError on child error continue or fail the iteration
const ( IterationActionIterationOnErrorContinue IterationActionIterationOnError = "continue" IterationActionIterationOnErrorFail IterationActionIterationOnError = "fail" )
Defines values for IterationActionIterationOnError.
type IterationActionIterationResult ¶
type IterationActionIterationResult string
IterationActionIterationResult defines model for IterationAction.Iteration.Result.
const ( IterationActionIterationResultFull IterationActionIterationResult = "full" IterationActionIterationResultSingle IterationActionIterationResult = "single" )
Defines values for IterationActionIterationResult.
type IterationProperties ¶
type IterationProperties struct {
Actions *[]TypedAction `json:"actions,omitempty"`
Items []map[string]interface{} `json:"items"`
// ItemsMax The number of items specified for iteration. If you supply more elements, a runtime error will occur. Additionally, when increasing this limit beyond the default, consider setting the timeout property on both the state, parents and iteration.
ItemsMax *int `json:"items_max,omitempty"`
// OnError on child error continue or fail the iteration
OnError *IterationPropertiesOnError `json:"onError,omitempty"`
Result IterationPropertiesResult `json:"result"`
}
IterationProperties defines model for IterationProperties.
type IterationPropertiesOnError ¶
type IterationPropertiesOnError string
IterationPropertiesOnError on child error continue or fail the iteration
const ( Continue IterationPropertiesOnError = "continue" Fail IterationPropertiesOnError = "fail" )
Defines values for IterationPropertiesOnError.
type IterationPropertiesResult ¶
type IterationPropertiesResult string
IterationPropertiesResult defines model for IterationProperties.Result.
const ( IterationPropertiesResultFull IterationPropertiesResult = "full" IterationPropertiesResultSingle IterationPropertiesResult = "single" )
Defines values for IterationPropertiesResult.
type JWTCreate ¶
type JWTCreate struct {
Arguments *[]map[string]interface{} `json:"arguments,omitempty"`
// Condition a javascript if not set or if it returns true then the action is executed
Condition *string `json:"condition,omitempty"`
Error *ErrorHandlingConfig `json:"error,omitempty"`
// ExpireIn Milliseconds
ExpireIn *Milliseconds `json:"expireIn,omitempty"`
// Header The header typically consists of two parts. Type of the token, which is JWT, and the signing algorithm being used, such as HMAC SHA256 or RSA see https://jwt.io/introduction
Header map[string]interface{} `json:"header"`
// Payload Payload that contains claims that are statements about an entity (typically, the user) and additional data see https://jwt.io/introduction
Payload map[string]interface{} `json:"payload"`
// SignKey Key ued to sign the JWT, must match the type specified in the header 'alg'.
SignKey *string `json:"signKey,omitempty"`
Timeout *int64 `json:"timeout,omitempty"`
Var *string `json:"var,omitempty"`
}
JWTCreate defines model for JWTCreate.
type JWTCreateAction ¶
type JWTCreateAction struct {
ActionType string `json:"action_type"`
Jwt *JWTCreate `json:"jwt,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
JWTCreateAction defines model for JWTCreateAction.
func (JWTCreateAction) Get ¶
func (a JWTCreateAction) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for JWTCreateAction. Returns the specified element and whether it was found
func (JWTCreateAction) MarshalJSON ¶
func (a JWTCreateAction) MarshalJSON() ([]byte, error)
Override default JSON handling for JWTCreateAction to handle AdditionalProperties
func (*JWTCreateAction) Set ¶
func (a *JWTCreateAction) Set(fieldName string, value interface{})
Setter for additional properties for JWTCreateAction
func (*JWTCreateAction) UnmarshalJSON ¶
func (a *JWTCreateAction) UnmarshalJSON(b []byte) error
Override default JSON handling for JWTCreateAction to handle AdditionalProperties
type JWTCreateProperties ¶
type JWTCreateProperties struct {
// ExpireIn Milliseconds
ExpireIn *Milliseconds `json:"expireIn,omitempty"`
// Header The header typically consists of two parts. Type of the token, which is JWT, and the signing algorithm being used, such as HMAC SHA256 or RSA see https://jwt.io/introduction
Header map[string]interface{} `json:"header"`
// Payload Payload that contains claims that are statements about an entity (typically, the user) and additional data see https://jwt.io/introduction
Payload map[string]interface{} `json:"payload"`
// SignKey Key ued to sign the JWT, must match the type specified in the header 'alg'.
SignKey *string `json:"signKey,omitempty"`
}
JWTCreateProperties defines model for JWTCreateProperties.
type JavaScript ¶
type JavaScript struct {
Arguments *[]map[string]interface{} `json:"arguments,omitempty"`
Code string `json:"code"`
// Condition a javascript if not set or if it returns true then the action is executed
Condition *string `json:"condition,omitempty"`
Error *ErrorHandlingConfig `json:"error,omitempty"`
Timeout *int64 `json:"timeout,omitempty"`
Var *string `json:"var,omitempty"`
}
JavaScript defines model for JavaScript.
type JavaScriptAction ¶
type JavaScriptAction struct {
ActionType string `json:"action_type"`
Js *JavaScript `json:"js,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
JavaScriptAction defines model for JavaScriptAction.
func (JavaScriptAction) Get ¶
func (a JavaScriptAction) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for JavaScriptAction. Returns the specified element and whether it was found
func (JavaScriptAction) MarshalJSON ¶
func (a JavaScriptAction) MarshalJSON() ([]byte, error)
Override default JSON handling for JavaScriptAction to handle AdditionalProperties
func (*JavaScriptAction) Set ¶
func (a *JavaScriptAction) Set(fieldName string, value interface{})
Setter for additional properties for JavaScriptAction
func (*JavaScriptAction) UnmarshalJSON ¶
func (a *JavaScriptAction) UnmarshalJSON(b []byte) error
Override default JSON handling for JavaScriptAction to handle AdditionalProperties
type JavaScriptProperties ¶
type JavaScriptProperties struct {
Code string `json:"code"`
}
JavaScriptProperties defines model for JavaScriptProperties.
type JavaScriptReference ¶
type JavaScriptReference struct {
Arguments *[]map[string]interface{} `json:"arguments,omitempty"`
// Condition a javascript if not set or if it returns true then the action is executed
Condition *string `json:"condition,omitempty"`
Error *ErrorHandlingConfig `json:"error,omitempty"`
Ref ReferenceProperties `json:"ref"`
Timeout *int64 `json:"timeout,omitempty"`
Var *string `json:"var,omitempty"`
}
JavaScriptReference defines model for JavaScriptReference.
type JavaScriptReferenceAction ¶
type JavaScriptReferenceAction struct {
ActionType string `json:"action_type"`
JsRef *JavaScriptReference `json:"js_ref,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
JavaScriptReferenceAction defines model for JavaScriptReferenceAction.
func (JavaScriptReferenceAction) Get ¶
func (a JavaScriptReferenceAction) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for JavaScriptReferenceAction. Returns the specified element and whether it was found
func (JavaScriptReferenceAction) MarshalJSON ¶
func (a JavaScriptReferenceAction) MarshalJSON() ([]byte, error)
Override default JSON handling for JavaScriptReferenceAction to handle AdditionalProperties
func (*JavaScriptReferenceAction) Set ¶
func (a *JavaScriptReferenceAction) Set(fieldName string, value interface{})
Setter for additional properties for JavaScriptReferenceAction
func (*JavaScriptReferenceAction) UnmarshalJSON ¶
func (a *JavaScriptReferenceAction) UnmarshalJSON(b []byte) error
Override default JSON handling for JavaScriptReferenceAction to handle AdditionalProperties
type JavaScriptReferenceProperties ¶
type JavaScriptReferenceProperties struct {
Ref ReferenceProperties `json:"ref"`
}
JavaScriptReferenceProperties A reference to a stored java script. Either the identifier or the name need to be specified.
type JournalResponse ¶
type JournalResponse = TaskJournal
JournalResponse defines model for journalResponse.
type ListHTTPResp ¶
type ListHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *LogsResponse
}
func ParseListHTTPResp ¶
func ParseListHTTPResp(rsp *http.Response) (*ListHTTPResp, error)
ParseListHTTPResp parses an HTTP response from a ListWithResponse call
func (ListHTTPResp) Status ¶
func (r ListHTTPResp) Status() string
Status returns HTTPResponse.Status
func (ListHTTPResp) StatusCode ¶
func (r ListHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListParams ¶
type ListParams struct {
// Filter Available filter fields:
// -id: task id (uuid)
// -state: task state (Scheduled, Assigned, etc.)
// -type: task type
// -has_error: if any action has an error, basically acts as only actions with errors on action level
// -queue_id: task queue id (uuid)
// -actions.id: action.uuid
// -actions.type: action type (js, http, action, etc.)
// -actions.has_error: boolean flag if true - the action executed with an error, false - the action executed successfully
// -actions.parent: action parent id
// -meta.start: start of execution millis since epoche
// -meta.end: end of execution millis since epoche
Filter *QueryLogsFilter `form:"filter,omitempty" json:"filter,omitempty"`
Type *QueryLogPresentation `form:"type,omitempty" json:"type,omitempty"`
Details *QueryLogDetails `form:"details,omitempty" json:"details,omitempty"`
// PageSize page size, "1..100" based.
PageSize *QueryPageSize `form:"page_size,omitempty" json:"page_size,omitempty"`
// Page page index, "1" based.
Page *QueryPage `form:"page,omitempty" json:"page,omitempty"`
Context *QueryContext `form:"context,omitempty" json:"context,omitempty"`
}
ListParams defines parameters for List.
type ListProperties ¶
type ListProperties = []TypedAction
ListProperties defines model for ListProperties.
type ListScriptsHTTPResp ¶
type ListScriptsHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ScriptListResponse
}
func ParseListScriptsHTTPResp ¶
func ParseListScriptsHTTPResp(rsp *http.Response) (*ListScriptsHTTPResp, error)
ParseListScriptsHTTPResp parses an HTTP response from a ListScriptsWithResponse call
func (ListScriptsHTTPResp) Status ¶
func (r ListScriptsHTTPResp) Status() string
Status returns HTTPResponse.Status
func (ListScriptsHTTPResp) StatusCode ¶
func (r ListScriptsHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListScriptsParams ¶
type ListScriptsParams struct {
// Filter currently unsupported
Filter *ScriptFilter `form:"filter,omitempty" json:"filter,omitempty"`
// Page page index, "1" based.
Page *QueryPage `form:"page,omitempty" json:"page,omitempty"`
// PageSize page size, "1..100" based.
PageSize *QueryPageSize `form:"page_size,omitempty" json:"page_size,omitempty"`
}
ListScriptsParams defines parameters for ListScripts.
type ListSecretKeysHTTPResp ¶
type ListSecretKeysHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SecretKeys
}
func ParseListSecretKeysHTTPResp ¶
func ParseListSecretKeysHTTPResp(rsp *http.Response) (*ListSecretKeysHTTPResp, error)
ParseListSecretKeysHTTPResp parses an HTTP response from a ListSecretKeysWithResponse call
func (ListSecretKeysHTTPResp) Status ¶
func (r ListSecretKeysHTTPResp) Status() string
Status returns HTTPResponse.Status
func (ListSecretKeysHTTPResp) StatusCode ¶
func (r ListSecretKeysHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSecretPrefixesHTTPResp ¶
type ListSecretPrefixesHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SecretPrefixes
}
func ParseListSecretPrefixesHTTPResp ¶
func ParseListSecretPrefixesHTTPResp(rsp *http.Response) (*ListSecretPrefixesHTTPResp, error)
ParseListSecretPrefixesHTTPResp parses an HTTP response from a ListSecretPrefixesWithResponse call
func (ListSecretPrefixesHTTPResp) Status ¶
func (r ListSecretPrefixesHTTPResp) Status() string
Status returns HTTPResponse.Status
func (ListSecretPrefixesHTTPResp) StatusCode ¶
func (r ListSecretPrefixesHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LogAction ¶
type LogAction struct {
ActionType string `json:"action_type"`
Log *LogActionData `json:"log,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
LogAction defines model for LogAction.
func (LogAction) Get ¶
Getter for additional properties for LogAction. Returns the specified element and whether it was found
func (LogAction) MarshalJSON ¶
Override default JSON handling for LogAction to handle AdditionalProperties
func (*LogAction) UnmarshalJSON ¶
Override default JSON handling for LogAction to handle AdditionalProperties
type LogActionData ¶
type LogActionData struct {
Arguments *[]map[string]interface{} `json:"arguments,omitempty"`
// Condition a javascript if not set or if it returns true then the action is executed
Condition *string `json:"condition,omitempty"`
Error *ErrorHandlingConfig `json:"error,omitempty"`
Message *string `json:"message,omitempty"`
Timeout *int64 `json:"timeout,omitempty"`
Var *string `json:"var,omitempty"`
}
LogActionData defines model for LogActionData.
type LogDetails ¶
type LogDetails string
LogDetails defines model for LogDetails.
const ( Full LogDetails = "full" Short LogDetails = "short" )
Defines values for LogDetails.
type LogMetadata ¶
type LogMetadata struct {
CreatedAt *Timestamp `json:"created_at,omitempty"`
// End Milliseconds
End *Milliseconds `json:"end,omitempty"`
// Start Milliseconds
Start *Milliseconds `json:"start,omitempty"`
}
LogMetadata defines model for LogMetadata.
type LogProperties ¶
type LogProperties struct {
Message *string `json:"message,omitempty"`
}
LogProperties defines model for LogProperties.
type LogsList ¶
type LogsList struct {
Items *[]map[string]interface{} `json:"items,omitempty"`
}
LogsList defines model for LogsList.
type LogsResponse ¶
type LogsResponse struct {
// contains filtered or unexported fields
}
LogsResponse defines model for LogsResponse.
func (LogsResponse) AsLogsList ¶
func (t LogsResponse) AsLogsList() (LogsList, error)
AsLogsList returns the union data inside the LogsResponse as a LogsList
func (LogsResponse) AsPagedLogsList ¶
func (t LogsResponse) AsPagedLogsList() (PagedLogsList, error)
AsPagedLogsList returns the union data inside the LogsResponse as a PagedLogsList
func (*LogsResponse) FromLogsList ¶
func (t *LogsResponse) FromLogsList(v LogsList) error
FromLogsList overwrites any union data inside the LogsResponse as the provided LogsList
func (*LogsResponse) FromPagedLogsList ¶
func (t *LogsResponse) FromPagedLogsList(v PagedLogsList) error
FromPagedLogsList overwrites any union data inside the LogsResponse as the provided PagedLogsList
func (LogsResponse) MarshalJSON ¶
func (t LogsResponse) MarshalJSON() ([]byte, error)
func (*LogsResponse) MergeLogsList ¶
func (t *LogsResponse) MergeLogsList(v LogsList) error
MergeLogsList performs a merge with any union data inside the LogsResponse, using the provided LogsList
func (*LogsResponse) MergePagedLogsList ¶
func (t *LogsResponse) MergePagedLogsList(v PagedLogsList) error
MergePagedLogsList performs a merge with any union data inside the LogsResponse, using the provided PagedLogsList
func (*LogsResponse) UnmarshalJSON ¶
func (t *LogsResponse) UnmarshalJSON(b []byte) error
type ManagerInterruptOnTaskHTTPResp ¶
type ManagerInterruptOnTaskHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSONDefault *DefaultErrorResponse
}
func ParseManagerInterruptOnTaskHTTPResp ¶
func ParseManagerInterruptOnTaskHTTPResp(rsp *http.Response) (*ManagerInterruptOnTaskHTTPResp, error)
ParseManagerInterruptOnTaskHTTPResp parses an HTTP response from a ManagerInterruptOnTaskWithResponse call
func (ManagerInterruptOnTaskHTTPResp) Status ¶
func (r ManagerInterruptOnTaskHTTPResp) Status() string
Status returns HTTPResponse.Status
func (ManagerInterruptOnTaskHTTPResp) StatusCode ¶
func (r ManagerInterruptOnTaskHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ManagerInterruptOnTaskJSONRequestBody ¶
type ManagerInterruptOnTaskJSONRequestBody = ManualActionRequest
ManagerInterruptOnTaskJSONRequestBody defines body for ManagerInterruptOnTask for application/json ContentType.
type ManualAction ¶
type ManualAction = ManualActionRequest
ManualAction defines model for manualAction.
type ManualActionRequest ¶
type ManualActionRequest struct {
Reason string `json:"reason"`
}
ManualActionRequest defines model for ManualActionRequest.
type Noop ¶
type Noop struct {
Arguments *[]map[string]interface{} `json:"arguments,omitempty"`
// Condition a javascript if not set or if it returns true then the action is executed
Condition *string `json:"condition,omitempty"`
Error *ErrorHandlingConfig `json:"error,omitempty"`
Timeout *int64 `json:"timeout,omitempty"`
Var *string `json:"var,omitempty"`
}
Noop defines model for Noop.
type NoopAction ¶
type NoopAction struct {
ActionType string `json:"action_type"`
Noop *Noop `json:"noop,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
NoopAction defines model for NoopAction.
func (NoopAction) Get ¶
func (a NoopAction) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for NoopAction. Returns the specified element and whether it was found
func (NoopAction) MarshalJSON ¶
func (a NoopAction) MarshalJSON() ([]byte, error)
Override default JSON handling for NoopAction to handle AdditionalProperties
func (*NoopAction) Set ¶
func (a *NoopAction) Set(fieldName string, value interface{})
Setter for additional properties for NoopAction
func (*NoopAction) UnmarshalJSON ¶
func (a *NoopAction) UnmarshalJSON(b []byte) error
Override default JSON handling for NoopAction to handle AdditionalProperties
type NoopProperties ¶
type NoopProperties = map[string]interface{}
NoopProperties defines model for NoopProperties.
type NumberMetric ¶
type NumberMetric struct {
Name *string `json:"name,omitempty"`
Value *int64 `json:"value,omitempty"`
}
NumberMetric defines model for NumberMetric.
type PageMetadata ¶
type PageMetadata struct {
Page *int `json:"page,omitempty"`
PageCount *int `json:"page_count,omitempty"`
PerPage *int `json:"per_page,omitempty"`
TotalCount *int `json:"total_count,omitempty"`
}
PageMetadata defines model for PageMetadata.
type PagedLogsList ¶
type PagedLogsList struct {
Metadata *PageMetadata `json:"_metadata,omitempty"`
Records *[]map[string]interface{} `json:"records,omitempty"`
}
PagedLogsList defines model for PagedLogsList.
type PatchSecretsHTTPResp ¶
func ParsePatchSecretsHTTPResp ¶
func ParsePatchSecretsHTTPResp(rsp *http.Response) (*PatchSecretsHTTPResp, error)
ParsePatchSecretsHTTPResp parses an HTTP response from a PatchSecretsWithResponse call
func (PatchSecretsHTTPResp) Status ¶
func (r PatchSecretsHTTPResp) Status() string
Status returns HTTPResponse.Status
func (PatchSecretsHTTPResp) StatusCode ¶
func (r PatchSecretsHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchSecretsJSONBody ¶
type PatchSecretsJSONBody map[string]interface{}
PatchSecretsJSONBody defines parameters for PatchSecrets.
type PatchSecretsJSONRequestBody ¶
type PatchSecretsJSONRequestBody PatchSecretsJSONBody
PatchSecretsJSONRequestBody defines body for PatchSecrets for application/json ContentType.
type PathLockState ¶
type PathLockState = AgentLocking
PathLockState defines model for pathLockState.
type PipelineAction ¶
type PipelineAction struct {
ActionType string `json:"action_type"`
Pipeline *ListProperties `json:"pipeline,omitempty"`
}
PipelineAction defines model for PipelineAction.
type QueryLogDetails ¶
type QueryLogDetails = LogDetails
QueryLogDetails defines model for queryLogDetails.
type QueryLogPresentation ¶
type QueryLogPresentation = LogType
QueryLogPresentation defines model for queryLogPresentation.
type QueryLogsFilter ¶
type QueryLogsFilter = string
QueryLogsFilter defines model for queryLogsFilter.
type ReadSelectionConfigurationHTTPResp ¶
type ReadSelectionConfigurationHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SelectionConfigurationResponse
}
func ParseReadSelectionConfigurationHTTPResp ¶
func ParseReadSelectionConfigurationHTTPResp(rsp *http.Response) (*ReadSelectionConfigurationHTTPResp, error)
ParseReadSelectionConfigurationHTTPResp parses an HTTP response from a ReadSelectionConfigurationWithResponse call
func (ReadSelectionConfigurationHTTPResp) Status ¶
func (r ReadSelectionConfigurationHTTPResp) Status() string
Status returns HTTPResponse.Status
func (ReadSelectionConfigurationHTTPResp) StatusCode ¶
func (r ReadSelectionConfigurationHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReferenceProperties ¶
type ReferenceProperties struct {
// Identifier system unique id to address the reference.
Identifier *string `json:"identifier,omitempty"`
// Name account unique name of the reference to address it
Name *string `json:"name,omitempty"`
}
ReferenceProperties defines model for ReferenceProperties.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RescheduleDelay ¶
type RescheduleDelay = int64
RescheduleDelay Time in milliseconds the task is delayed after rescheduling.
type ScheduledAt ¶
type ScheduledAt = string
ScheduledAt defines when the task will be scheduled for execution. now - as soon as possible at 1654075565950 - at the given timestamp in 1w 3d 5h 10min 5sec - in 1 week 3 days 5 hours 10 minutes and 5 seconds
type Script ¶
type Script struct {
File ScriptFile `json:"file"`
Metadata *ScriptFileMetadata `json:"metadata,omitempty"`
}
Script defines model for Script.
type ScriptFileMetadata ¶
type ScriptFileMetadata struct {
// Id a unique identifier
Id *Id `json:"id,omitempty"`
Name string `json:"name"`
}
ScriptFileMetadata defines model for ScriptFileMetadata.
type ScriptFileMetadataRequest ¶
type ScriptFileMetadataRequest struct {
// Id a unique identifier
Id *Id `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
}
ScriptFileMetadataRequest defines model for ScriptFileMetadataRequest.
type ScriptList ¶
type ScriptList struct {
Metadata *PageMetadata `json:"_metadata,omitempty"`
Records *[]ScriptFileMetadata `json:"records,omitempty"`
}
ScriptList defines model for ScriptList.
type ScriptListResponse ¶
type ScriptListResponse = ScriptList
ScriptListResponse defines model for scriptListResponse.
type ScriptMultipart ¶
type ScriptMultipart struct {
File *[]byte `json:"file,omitempty"`
Metadata *struct {
Name *string `json:"name,omitempty"`
} `json:"metadata,omitempty"`
}
ScriptMultipart defines model for ScriptMultipart.
type ScriptResponse ¶
type ScriptResponse = ScriptResponses
ScriptResponse defines model for scriptResponse.
type ScriptResponseType ¶
type ScriptResponseType string
ScriptResponseType defines model for ScriptResponseType.
const ( Combined ScriptResponseType = "combined" Metadata ScriptResponseType = "metadata" Payload ScriptResponseType = "payload" )
Defines values for ScriptResponseType.
type ScriptResponses ¶
type ScriptResponses = Script
ScriptResponses defines model for ScriptResponses.
type ScriptType ¶
type ScriptType string
ScriptType defines model for ScriptType.
const ( BabelforceCodeblock ScriptType = "babelforce.codeblock" BabelforceTemplate ScriptType = "babelforce.template" Codeblock ScriptType = "codeblock" Js ScriptType = "js" Template ScriptType = "template" )
Defines values for ScriptType.
type SecretPrefixes ¶
type SecretPrefixes = []string
SecretPrefixes defines model for SecretPrefixes.
type SelectionConfigurationRequest ¶
type SelectionConfigurationRequest = AccountSelectionConfiguration
SelectionConfigurationRequest defines model for selectionConfigurationRequest.
type SelectionConfigurationResponse ¶
type SelectionConfigurationResponse = AccountSelectionConfiguration
SelectionConfigurationResponse defines model for selectionConfigurationResponse.
type SelectionEngine ¶
type SelectionEngine string
SelectionEngine defines model for SelectionEngine.
const ( Acd SelectionEngine = "acd" Legacy SelectionEngine = "legacy" )
Defines values for SelectionEngine.
type SubmitScriptHTTPResp ¶
type SubmitScriptHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON201 *ScriptResponse
}
func ParseSubmitScriptHTTPResp ¶
func ParseSubmitScriptHTTPResp(rsp *http.Response) (*SubmitScriptHTTPResp, error)
ParseSubmitScriptHTTPResp parses an HTTP response from a SubmitScriptWithResponse call
func (SubmitScriptHTTPResp) Status ¶
func (r SubmitScriptHTTPResp) Status() string
Status returns HTTPResponse.Status
func (SubmitScriptHTTPResp) StatusCode ¶
func (r SubmitScriptHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SubmitScriptJSONRequestBody ¶
type SubmitScriptJSONRequestBody = Script
SubmitScriptJSONRequestBody defines body for SubmitScript for application/json ContentType.
type SubmitScriptMultipartRequestBody ¶
type SubmitScriptMultipartRequestBody = ScriptMultipart
SubmitScriptMultipartRequestBody defines body for SubmitScript for multipart/form-data ContentType.
type SubmitTask ¶
type SubmitTask struct {
Actions *Actions `json:"actions,omitempty"`
Body *Body `json:"body,omitempty"`
// Id a unique identifier
Id *UUID `json:"id,omitempty"`
// QueueId a unique identifier
QueueId *Id `json:"queue_id,omitempty"`
// ScheduledAt defines when the task will be scheduled for execution. now - as soon as possible at 1654075565950 - at the given timestamp in 1w 3d 5h 10min 5sec - in 1 week 3 days 5 hours 10 minutes and 5 seconds
ScheduledAt *ScheduledAt `json:"scheduled_at,omitempty"`
SelectionSettings *TaskSelectionSettings `json:"selection_settings,omitempty"`
TaskCompletion *TaskCompletionSettings `json:"task_completion,omitempty"`
Type *TaskType `json:"type,omitempty"`
}
SubmitTask defines model for SubmitTask.
type SubmitTaskBody ¶
type SubmitTaskBody = SubmitTask
SubmitTaskBody defines model for submitTaskBody.
type SubmitTaskHTTPResp ¶
type SubmitTaskHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TaskResponse
}
func ParseSubmitTaskHTTPResp ¶
func ParseSubmitTaskHTTPResp(rsp *http.Response) (*SubmitTaskHTTPResp, error)
ParseSubmitTaskHTTPResp parses an HTTP response from a SubmitTaskWithResponse call
func (SubmitTaskHTTPResp) Status ¶
func (r SubmitTaskHTTPResp) Status() string
Status returns HTTPResponse.Status
func (SubmitTaskHTTPResp) StatusCode ¶
func (r SubmitTaskHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SubmitTaskJSONRequestBody ¶
type SubmitTaskJSONRequestBody = SubmitTask
SubmitTaskJSONRequestBody defines body for SubmitTask for application/json ContentType.
type SubmitTaskTemplateHTTPResp ¶
type SubmitTaskTemplateHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TaskResponse
}
func ParseSubmitTaskTemplateHTTPResp ¶
func ParseSubmitTaskTemplateHTTPResp(rsp *http.Response) (*SubmitTaskTemplateHTTPResp, error)
ParseSubmitTaskTemplateHTTPResp parses an HTTP response from a SubmitTaskTemplateWithResponse call
func (SubmitTaskTemplateHTTPResp) Status ¶
func (r SubmitTaskTemplateHTTPResp) Status() string
Status returns HTTPResponse.Status
func (SubmitTaskTemplateHTTPResp) StatusCode ¶
func (r SubmitTaskTemplateHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SubmitTaskTemplateJSONRequestBody ¶
type SubmitTaskTemplateJSONRequestBody = TemplateOverride
SubmitTaskTemplateJSONRequestBody defines body for SubmitTaskTemplate for application/json ContentType.
type SubmitTaskTemplateParams ¶
type SubmitTaskTemplateParams struct {
Style *TemplateStyle `form:"style,omitempty" json:"style,omitempty"`
}
SubmitTaskTemplateParams defines parameters for SubmitTaskTemplate.
type Task ¶
type Task struct {
Actions *Actions `json:"actions,omitempty"`
// AgentId a unique identifier
AgentId *Id `json:"agent_id,omitempty"`
Body Body `json:"body"`
// CreatedAt Timestamp in milliseconds UTC
CreatedAt *TimestampInMsUTC `json:"created_at,omitempty"`
// CustomerId a unique identifier
CustomerId *Id `json:"customer_id,omitempty"`
// HasError true - an error occured during task execution, false - no errors during execution
HasError *Error `json:"has_error,omitempty"`
// Id a unique identifier
Id *UUID `json:"id,omitempty"`
// QueueId a unique identifier
QueueId *Id `json:"queue_id,omitempty"`
// ScheduledAt defines when the task will be scheduled for execution. now - as soon as possible at 1654075565950 - at the given timestamp in 1w 3d 5h 10min 5sec - in 1 week 3 days 5 hours 10 minutes and 5 seconds
ScheduledAt *ScheduledAt `json:"scheduled_at,omitempty"`
SelectionSettings *TaskSelectionSettings `json:"selection_settings,omitempty"`
// SessionId a unique identifier
SessionId *Id `json:"session_id,omitempty"`
State *TaskState `json:"state,omitempty"`
TaskCompletion *TaskCompletionSettings `json:"task_completion,omitempty"`
Type *TaskType `json:"type,omitempty"`
}
Task defines model for Task.
type TaskCompletionSettings ¶
type TaskCompletionSettings struct {
// AutoComplete True = tasks are not waiting for agent interactions when pending. False = task may wait forever in pending state until an agent or the system completes the task.
AutoComplete *bool `json:"autoComplete,omitempty"`
}
TaskCompletionSettings defines model for TaskCompletionSettings.
type TaskHTTPResp ¶
type TaskHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TaskResponse
}
func ParseTaskHTTPResp ¶
func ParseTaskHTTPResp(rsp *http.Response) (*TaskHTTPResp, error)
ParseTaskHTTPResp parses an HTTP response from a TaskWithResponse call
func (TaskHTTPResp) Status ¶
func (r TaskHTTPResp) Status() string
Status returns HTTPResponse.Status
func (TaskHTTPResp) StatusCode ¶
func (r TaskHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TaskJournal ¶
type TaskJournal struct {
// AcceptDuration Timestamp in milliseconds UTC
AcceptDuration *TimestampInMsUTC `json:"accept_duration,omitempty"`
// CreatedAt Timestamp in milliseconds UTC
CreatedAt *TimestampInMsUTC `json:"created_at,omitempty"`
// Id a unique identifier
Id *Id `json:"id,omitempty"`
Journal *[]TaskJournalEntry `json:"journal,omitempty"`
// ScheduledAt Timestamp in milliseconds UTC
ScheduledAt *TimestampInMsUTC `json:"scheduled_at,omitempty"`
// TotalDuration Timestamp in milliseconds UTC
TotalDuration *TimestampInMsUTC `json:"total_duration,omitempty"`
}
TaskJournal defines model for TaskJournal.
type TaskJournalEntry ¶
type TaskJournalEntry struct {
// At Timestamp in milliseconds UTC
At *TimestampInMsUTC `json:"at,omitempty"`
Meta *map[string]interface{} `json:"meta,omitempty"`
State *TaskState `json:"state,omitempty"`
}
TaskJournalEntry defines model for TaskJournalEntry.
type TaskJournalHTTPResp ¶
type TaskJournalHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *JournalResponse
}
func ParseTaskJournalHTTPResp ¶
func ParseTaskJournalHTTPResp(rsp *http.Response) (*TaskJournalHTTPResp, error)
ParseTaskJournalHTTPResp parses an HTTP response from a TaskJournalWithResponse call
func (TaskJournalHTTPResp) Status ¶
func (r TaskJournalHTTPResp) Status() string
Status returns HTTPResponse.Status
func (TaskJournalHTTPResp) StatusCode ¶
func (r TaskJournalHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TaskList ¶
type TaskList struct {
Metadata *PageMetadata `json:"_metadata,omitempty"`
Records *[]Task `json:"records,omitempty"`
}
TaskList defines model for TaskList.
type TaskListResponse ¶
type TaskListResponse = TaskList
TaskListResponse defines model for taskListResponse.
type TaskSelectionAcdSettings ¶
type TaskSelectionAcdSettings struct {
LineStatus *string `json:"line_status,omitempty"`
Priority *float32 `json:"priority,omitempty"`
ReachableByPhone *bool `json:"reachable_by_phone,omitempty"`
Timeout *int `json:"timeout,omitempty"`
}
TaskSelectionAcdSettings defines model for TaskSelectionAcdSettings.
type TaskSelectionLegacySettings ¶
type TaskSelectionLegacySettings struct {
CallId *string `json:"call_id,omitempty"`
Exclusive *bool `json:"exclusive,omitempty"`
LineStatus *string `json:"line_status,omitempty"`
Max *int `json:"max,omitempty"`
ReachableByPhone *bool `json:"reachable_by_phone,omitempty"`
}
TaskSelectionLegacySettings defines model for TaskSelectionLegacySettings.
type TaskSelectionSettings ¶
type TaskSelectionSettings struct {
// AcceptTimeout Time in milliseconds the agent has to accept a task before it is auto rejected.
AcceptTimeout *AcceptTimeout `json:"accept_timeout,omitempty"`
AcdSettings *TaskSelectionAcdSettings `json:"acd_settings,omitempty"`
// AutoAccept True = the selected agent has to accept the task before it will be assigned to him. False = the agent will get the task forceably assigned
AutoAccept *bool `json:"auto_accept,omitempty"`
// CompleteTimeout Time in milliseconds the agent has to complete a task before it is auto canceled.
CompleteTimeout *CompleteTimeout `json:"complete_timeout,omitempty"`
// Enable True = agent selection is enabled False = No agent selection will be attempted
Enable *bool `json:"enable,omitempty"`
// ExpireIn A time in milliseconds after task scheduling, if it is reached the task will be canceled
ExpireIn *ExpireIn `json:"expire_in,omitempty"`
LegacySettings *TaskSelectionLegacySettings `json:"legacy_settings,omitempty"`
// Priority 0 = lowest priority ... 256 = higher priority ... max integer = highest priority
Priority *int32 `json:"priority,omitempty"`
// RescheduleDelay Time in milliseconds the task is delayed after rescheduling.
RescheduleDelay *RescheduleDelay `json:"reschedule_delay,omitempty"`
SelectionEngine *SelectionEngine `json:"selection_engine,omitempty"`
}
TaskSelectionSettings defines model for TaskSelectionSettings.
type TaskState ¶
type TaskState string
TaskState defines model for TaskState.
const ( TaskStateAccepted TaskState = "Accepted" TaskStateAssigned TaskState = "Assigned" TaskStateCanceled TaskState = "Canceled" TaskStateCompleted TaskState = "Completed" TaskStateFailed TaskState = "Failed" TaskStatePending TaskState = "Pending" TaskStateProcessing TaskState = "Processing" TaskStateRejected TaskState = "Rejected" TaskStateRescheduled TaskState = "Rescheduled" TaskStateScheduled TaskState = "Scheduled" TaskStateSelecting TaskState = "Selecting" )
Defines values for TaskState.
type TaskStateEvents ¶
type TaskStateEvents string
TaskStateEvents defines model for TaskStateEvents.
const ( OnAccepted TaskStateEvents = "on_accepted" OnAssigned TaskStateEvents = "on_assigned" OnCanceled TaskStateEvents = "on_canceled" OnCompleted TaskStateEvents = "on_completed" OnFailed TaskStateEvents = "on_failed" OnPending TaskStateEvents = "on_pending" OnProcessing TaskStateEvents = "on_processing" OnRejected TaskStateEvents = "on_rejected" OnRescheduled TaskStateEvents = "on_rescheduled" OnScheduled TaskStateEvents = "on_scheduled" OnSelecting TaskStateEvents = "on_selecting" )
Defines values for TaskStateEvents.
type TaskTemplateOverrides ¶
type TaskTemplateOverrides = TemplateOverride
TaskTemplateOverrides defines model for taskTemplateOverrides.
type TaskTimeSeries ¶
type TaskTimeSeries struct {
End *DateTime `json:"end,omitempty"`
// Rate Rate of the contained time series.
Rate *Rate `json:"rate,omitempty"`
Start *DateTime `json:"start,omitempty"`
// Timeseries A ordered list of n time series entries ordered from newest [0] to oldest [n]. Each entry represents a specific Any values that are 0 are omitted.
Timeseries *[]TimeSeriesEntry `json:"timeseries,omitempty"`
Type *TaskType `json:"type,omitempty"`
}
TaskTimeSeries defines model for TaskTimeSeries.
type TaskTimeSeriesResponse ¶
type TaskTimeSeriesResponse = TaskTimeSeries
TaskTimeSeriesResponse defines model for taskTimeSeriesResponse.
type TaskUsageHTTPResp ¶
type TaskUsageHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TaskTimeSeriesResponse
}
func ParseTaskUsageHTTPResp ¶
func ParseTaskUsageHTTPResp(rsp *http.Response) (*TaskUsageHTTPResp, error)
ParseTaskUsageHTTPResp parses an HTTP response from a TaskUsageWithResponse call
func (TaskUsageHTTPResp) Status ¶
func (r TaskUsageHTTPResp) Status() string
Status returns HTTPResponse.Status
func (TaskUsageHTTPResp) StatusCode ¶
func (r TaskUsageHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TaskUsageParams ¶
type TaskUsageParams struct {
Type *QueryTaskType `form:"type,omitempty" json:"type,omitempty"`
Start *QueryStart `form:"start,omitempty" json:"start,omitempty"`
End *QueryEnd `form:"end,omitempty" json:"end,omitempty"`
// Rate Allows to downgrade the automatic sampling rate, e.g. start=2017-06-01T00:00:00 -> start=2017-06-01T00:03:00 would select with a minute rate. You can downgrade to a hourly or daily rate.
Rate *QueryRate `form:"rate,omitempty" json:"rate,omitempty"`
}
TaskUsageParams defines parameters for TaskUsage.
type TaskUsageTypesHTTPResp ¶
type TaskUsageTypesHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TaskUsageTypesResponse
}
func ParseTaskUsageTypesHTTPResp ¶
func ParseTaskUsageTypesHTTPResp(rsp *http.Response) (*TaskUsageTypesHTTPResp, error)
ParseTaskUsageTypesHTTPResp parses an HTTP response from a TaskUsageTypesWithResponse call
func (TaskUsageTypesHTTPResp) Status ¶
func (r TaskUsageTypesHTTPResp) Status() string
Status returns HTTPResponse.Status
func (TaskUsageTypesHTTPResp) StatusCode ¶
func (r TaskUsageTypesHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TaskUsageTypesParams ¶
type TaskUsageTypesParams struct {
Start *QueryStart `form:"start,omitempty" json:"start,omitempty"`
End *QueryEnd `form:"end,omitempty" json:"end,omitempty"`
}
TaskUsageTypesParams defines parameters for TaskUsageTypes.
type TaskUsageTypesResponse ¶
type TaskUsageTypesResponse = TaskTypes
TaskUsageTypesResponse defines model for taskUsageTypesResponse.
type TasksHTTPResp ¶
type TasksHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TaskListResponse
}
func ParseTasksHTTPResp ¶
func ParseTasksHTTPResp(rsp *http.Response) (*TasksHTTPResp, error)
ParseTasksHTTPResp parses an HTTP response from a TasksWithResponse call
func (TasksHTTPResp) Status ¶
func (r TasksHTTPResp) Status() string
Status returns HTTPResponse.Status
func (TasksHTTPResp) StatusCode ¶
func (r TasksHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TasksParams ¶
type TasksParams struct {
Filter *QueryFilter `form:"filter,omitempty" json:"filter,omitempty"`
// Page page index, "1" based.
Page *QueryPage `form:"page,omitempty" json:"page,omitempty"`
// PageSize page size, "1..100" based.
PageSize *QueryPageSize `form:"page_size,omitempty" json:"page_size,omitempty"`
}
TasksParams defines parameters for Tasks.
type TemplateOverride ¶
type TemplateOverride = map[string]interface{}
TemplateOverride defines model for TemplateOverride.
type TemplateStyle ¶
type TemplateStyle string
TemplateStyle defines model for TemplateStyle.
const ( Flat TemplateStyle = "flat" Hierarchy TemplateStyle = "hierarchy" )
Defines values for TemplateStyle.
type TestAction ¶
type TestAction struct {
Actions *Action `json:"actions,omitempty"`
Input *TestActionInput `json:"input,omitempty"`
}
TestAction defines model for TestAction.
type TestActionInput ¶
type TestActionInput struct {
Context *map[string]interface{} `json:"context,omitempty"`
Task *map[string]interface{} `json:"task,omitempty"`
}
TestActionInput defines model for TestActionInput.
type TestActionOutput ¶
type TestActionOutput struct {
Context *map[string]interface{} `json:"context,omitempty"`
Events *interface{} `json:"events,omitempty"`
}
TestActionOutput defines model for TestActionOutput.
type TestActionRequest ¶
type TestActionRequest = TestAction
TestActionRequest defines model for testActionRequest.
type TestActionResponse ¶
type TestActionResponse = TestActionResult
TestActionResponse defines model for testActionResponse.
type TestActionResult ¶
type TestActionResult struct {
Actions *Action `json:"actions,omitempty"`
Input *TestActionInput `json:"input,omitempty"`
Output *TestActionOutput `json:"output,omitempty"`
}
TestActionResult defines model for TestActionResult.
type TestingHTTPResp ¶
type TestingHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TestActionResponse
}
func ParseTestingHTTPResp ¶
func ParseTestingHTTPResp(rsp *http.Response) (*TestingHTTPResp, error)
ParseTestingHTTPResp parses an HTTP response from a TestingWithResponse call
func (TestingHTTPResp) Status ¶
func (r TestingHTTPResp) Status() string
Status returns HTTPResponse.Status
func (TestingHTTPResp) StatusCode ¶
func (r TestingHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TestingJSONRequestBody ¶
type TestingJSONRequestBody = TestAction
TestingJSONRequestBody defines body for Testing for application/json ContentType.
type TimeSeriesEntry ¶
type TimeSeriesEntry struct {
At *DateTime `json:"at,omitempty"`
ErrorsPerTask *int `json:"errors_per_task,omitempty"`
Tasks *int `json:"tasks,omitempty"`
}
TimeSeriesEntry defines model for TimeSeriesEntry.
type TimestampInMsUTC ¶
type TimestampInMsUTC = int64
TimestampInMsUTC Timestamp in milliseconds UTC
type TypedAction ¶
type TypedAction struct {
// contains filtered or unexported fields
}
TypedAction defines model for TypedAction.
func (TypedAction) AsAsyncAction ¶
func (t TypedAction) AsAsyncAction() (AsyncAction, error)
AsAsyncAction returns the union data inside the TypedAction as a AsyncAction
func (TypedAction) AsCodeblockAction ¶
func (t TypedAction) AsCodeblockAction() (CodeblockAction, error)
AsCodeblockAction returns the union data inside the TypedAction as a CodeblockAction
func (TypedAction) AsCodeblockReferenceAction ¶
func (t TypedAction) AsCodeblockReferenceAction() (CodeblockReferenceAction, error)
AsCodeblockReferenceAction returns the union data inside the TypedAction as a CodeblockReferenceAction
func (TypedAction) AsGenericAction ¶
func (t TypedAction) AsGenericAction() (GenericAction, error)
AsGenericAction returns the union data inside the TypedAction as a GenericAction
func (TypedAction) AsHttpAction ¶
func (t TypedAction) AsHttpAction() (HttpAction, error)
AsHttpAction returns the union data inside the TypedAction as a HttpAction
func (TypedAction) AsIntegrationProxyAction ¶
func (t TypedAction) AsIntegrationProxyAction() (IntegrationProxyAction, error)
AsIntegrationProxyAction returns the union data inside the TypedAction as a IntegrationProxyAction
func (TypedAction) AsIterationAction ¶
func (t TypedAction) AsIterationAction() (IterationAction, error)
AsIterationAction returns the union data inside the TypedAction as a IterationAction
func (TypedAction) AsJWTCreateAction ¶
func (t TypedAction) AsJWTCreateAction() (JWTCreateAction, error)
AsJWTCreateAction returns the union data inside the TypedAction as a JWTCreateAction
func (TypedAction) AsJavaScriptAction ¶
func (t TypedAction) AsJavaScriptAction() (JavaScriptAction, error)
AsJavaScriptAction returns the union data inside the TypedAction as a JavaScriptAction
func (TypedAction) AsJavaScriptReferenceAction ¶
func (t TypedAction) AsJavaScriptReferenceAction() (JavaScriptReferenceAction, error)
AsJavaScriptReferenceAction returns the union data inside the TypedAction as a JavaScriptReferenceAction
func (TypedAction) AsLogAction ¶
func (t TypedAction) AsLogAction() (LogAction, error)
AsLogAction returns the union data inside the TypedAction as a LogAction
func (TypedAction) AsNoopAction ¶
func (t TypedAction) AsNoopAction() (NoopAction, error)
AsNoopAction returns the union data inside the TypedAction as a NoopAction
func (TypedAction) AsPipelineAction ¶
func (t TypedAction) AsPipelineAction() (PipelineAction, error)
AsPipelineAction returns the union data inside the TypedAction as a PipelineAction
func (TypedAction) Discriminator ¶
func (t TypedAction) Discriminator() (string, error)
func (*TypedAction) FromAsyncAction ¶
func (t *TypedAction) FromAsyncAction(v AsyncAction) error
FromAsyncAction overwrites any union data inside the TypedAction as the provided AsyncAction
func (*TypedAction) FromCodeblockAction ¶
func (t *TypedAction) FromCodeblockAction(v CodeblockAction) error
FromCodeblockAction overwrites any union data inside the TypedAction as the provided CodeblockAction
func (*TypedAction) FromCodeblockReferenceAction ¶
func (t *TypedAction) FromCodeblockReferenceAction(v CodeblockReferenceAction) error
FromCodeblockReferenceAction overwrites any union data inside the TypedAction as the provided CodeblockReferenceAction
func (*TypedAction) FromGenericAction ¶
func (t *TypedAction) FromGenericAction(v GenericAction) error
FromGenericAction overwrites any union data inside the TypedAction as the provided GenericAction
func (*TypedAction) FromHttpAction ¶
func (t *TypedAction) FromHttpAction(v HttpAction) error
FromHttpAction overwrites any union data inside the TypedAction as the provided HttpAction
func (*TypedAction) FromIntegrationProxyAction ¶
func (t *TypedAction) FromIntegrationProxyAction(v IntegrationProxyAction) error
FromIntegrationProxyAction overwrites any union data inside the TypedAction as the provided IntegrationProxyAction
func (*TypedAction) FromIterationAction ¶
func (t *TypedAction) FromIterationAction(v IterationAction) error
FromIterationAction overwrites any union data inside the TypedAction as the provided IterationAction
func (*TypedAction) FromJWTCreateAction ¶
func (t *TypedAction) FromJWTCreateAction(v JWTCreateAction) error
FromJWTCreateAction overwrites any union data inside the TypedAction as the provided JWTCreateAction
func (*TypedAction) FromJavaScriptAction ¶
func (t *TypedAction) FromJavaScriptAction(v JavaScriptAction) error
FromJavaScriptAction overwrites any union data inside the TypedAction as the provided JavaScriptAction
func (*TypedAction) FromJavaScriptReferenceAction ¶
func (t *TypedAction) FromJavaScriptReferenceAction(v JavaScriptReferenceAction) error
FromJavaScriptReferenceAction overwrites any union data inside the TypedAction as the provided JavaScriptReferenceAction
func (*TypedAction) FromLogAction ¶
func (t *TypedAction) FromLogAction(v LogAction) error
FromLogAction overwrites any union data inside the TypedAction as the provided LogAction
func (*TypedAction) FromNoopAction ¶
func (t *TypedAction) FromNoopAction(v NoopAction) error
FromNoopAction overwrites any union data inside the TypedAction as the provided NoopAction
func (*TypedAction) FromPipelineAction ¶
func (t *TypedAction) FromPipelineAction(v PipelineAction) error
FromPipelineAction overwrites any union data inside the TypedAction as the provided PipelineAction
func (TypedAction) MarshalJSON ¶
func (t TypedAction) MarshalJSON() ([]byte, error)
func (*TypedAction) MergeAsyncAction ¶
func (t *TypedAction) MergeAsyncAction(v AsyncAction) error
MergeAsyncAction performs a merge with any union data inside the TypedAction, using the provided AsyncAction
func (*TypedAction) MergeCodeblockAction ¶
func (t *TypedAction) MergeCodeblockAction(v CodeblockAction) error
MergeCodeblockAction performs a merge with any union data inside the TypedAction, using the provided CodeblockAction
func (*TypedAction) MergeCodeblockReferenceAction ¶
func (t *TypedAction) MergeCodeblockReferenceAction(v CodeblockReferenceAction) error
MergeCodeblockReferenceAction performs a merge with any union data inside the TypedAction, using the provided CodeblockReferenceAction
func (*TypedAction) MergeGenericAction ¶
func (t *TypedAction) MergeGenericAction(v GenericAction) error
MergeGenericAction performs a merge with any union data inside the TypedAction, using the provided GenericAction
func (*TypedAction) MergeHttpAction ¶
func (t *TypedAction) MergeHttpAction(v HttpAction) error
MergeHttpAction performs a merge with any union data inside the TypedAction, using the provided HttpAction
func (*TypedAction) MergeIntegrationProxyAction ¶
func (t *TypedAction) MergeIntegrationProxyAction(v IntegrationProxyAction) error
MergeIntegrationProxyAction performs a merge with any union data inside the TypedAction, using the provided IntegrationProxyAction
func (*TypedAction) MergeIterationAction ¶
func (t *TypedAction) MergeIterationAction(v IterationAction) error
MergeIterationAction performs a merge with any union data inside the TypedAction, using the provided IterationAction
func (*TypedAction) MergeJWTCreateAction ¶
func (t *TypedAction) MergeJWTCreateAction(v JWTCreateAction) error
MergeJWTCreateAction performs a merge with any union data inside the TypedAction, using the provided JWTCreateAction
func (*TypedAction) MergeJavaScriptAction ¶
func (t *TypedAction) MergeJavaScriptAction(v JavaScriptAction) error
MergeJavaScriptAction performs a merge with any union data inside the TypedAction, using the provided JavaScriptAction
func (*TypedAction) MergeJavaScriptReferenceAction ¶
func (t *TypedAction) MergeJavaScriptReferenceAction(v JavaScriptReferenceAction) error
MergeJavaScriptReferenceAction performs a merge with any union data inside the TypedAction, using the provided JavaScriptReferenceAction
func (*TypedAction) MergeLogAction ¶
func (t *TypedAction) MergeLogAction(v LogAction) error
MergeLogAction performs a merge with any union data inside the TypedAction, using the provided LogAction
func (*TypedAction) MergeNoopAction ¶
func (t *TypedAction) MergeNoopAction(v NoopAction) error
MergeNoopAction performs a merge with any union data inside the TypedAction, using the provided NoopAction
func (*TypedAction) MergePipelineAction ¶
func (t *TypedAction) MergePipelineAction(v PipelineAction) error
MergePipelineAction performs a merge with any union data inside the TypedAction, using the provided PipelineAction
func (*TypedAction) UnmarshalJSON ¶
func (t *TypedAction) UnmarshalJSON(b []byte) error
func (TypedAction) ValueByDiscriminator ¶
func (t TypedAction) ValueByDiscriminator() (interface{}, error)
type UpdateScriptHTTPResp ¶
type UpdateScriptHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON201 *ScriptResponse
}
func ParseUpdateScriptHTTPResp ¶
func ParseUpdateScriptHTTPResp(rsp *http.Response) (*UpdateScriptHTTPResp, error)
ParseUpdateScriptHTTPResp parses an HTTP response from a UpdateScriptWithResponse call
func (UpdateScriptHTTPResp) Status ¶
func (r UpdateScriptHTTPResp) Status() string
Status returns HTTPResponse.Status
func (UpdateScriptHTTPResp) StatusCode ¶
func (r UpdateScriptHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateScriptJSONRequestBody ¶
type UpdateScriptJSONRequestBody = Script
UpdateScriptJSONRequestBody defines body for UpdateScript for application/json ContentType.
type UpdateScriptMultipartRequestBody ¶
type UpdateScriptMultipartRequestBody = ScriptMultipart
UpdateScriptMultipartRequestBody defines body for UpdateScript for multipart/form-data ContentType.
type UpdateSelectionConfigurationHTTPResp ¶
type UpdateSelectionConfigurationHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SelectionConfigurationResponse
}
func ParseUpdateSelectionConfigurationHTTPResp ¶
func ParseUpdateSelectionConfigurationHTTPResp(rsp *http.Response) (*UpdateSelectionConfigurationHTTPResp, error)
ParseUpdateSelectionConfigurationHTTPResp parses an HTTP response from a UpdateSelectionConfigurationWithResponse call
func (UpdateSelectionConfigurationHTTPResp) Status ¶
func (r UpdateSelectionConfigurationHTTPResp) Status() string
Status returns HTTPResponse.Status
func (UpdateSelectionConfigurationHTTPResp) StatusCode ¶
func (r UpdateSelectionConfigurationHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSelectionConfigurationJSONRequestBody ¶
type UpdateSelectionConfigurationJSONRequestBody = AccountSelectionConfiguration
UpdateSelectionConfigurationJSONRequestBody defines body for UpdateSelectionConfiguration for application/json ContentType.
type UpdateTaskHTTPResp ¶
type UpdateTaskHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TaskResponse
}
func ParseUpdateTaskHTTPResp ¶
func ParseUpdateTaskHTTPResp(rsp *http.Response) (*UpdateTaskHTTPResp, error)
ParseUpdateTaskHTTPResp parses an HTTP response from a UpdateTaskWithResponse call
func (UpdateTaskHTTPResp) Status ¶
func (r UpdateTaskHTTPResp) Status() string
Status returns HTTPResponse.Status
func (UpdateTaskHTTPResp) StatusCode ¶
func (r UpdateTaskHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateTaskJSONRequestBody ¶
type UpdateTaskJSONRequestBody = Task
UpdateTaskJSONRequestBody defines body for UpdateTask for application/json ContentType.
type ZendeskHTTPResp ¶
type ZendeskHTTPResp struct {
Body []byte
HTTPResponse *http.Response
JSON202 *TaskResponse
JSONDefault *DefaultErrorResponse
}
func ParseZendeskHTTPResp ¶
func ParseZendeskHTTPResp(rsp *http.Response) (*ZendeskHTTPResp, error)
ParseZendeskHTTPResp parses an HTTP response from a ZendeskWithResponse call
func (ZendeskHTTPResp) Status ¶
func (r ZendeskHTTPResp) Status() string
Status returns HTTPResponse.Status
func (ZendeskHTTPResp) StatusCode ¶
func (r ZendeskHTTPResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ZendeskJSONBody ¶
type ZendeskJSONBody map[string]interface{}
ZendeskJSONBody defines parameters for Zendesk.
type ZendeskJSONRequestBody ¶
type ZendeskJSONRequestBody ZendeskJSONBody
ZendeskJSONRequestBody defines body for Zendesk for application/json ContentType.
type ZendeskParams ¶
type ZendeskParams struct {
// TemplateId template id to execute on arrival of a http invocation
TemplateId string `form:"templateId" json:"templateId"`
// Data data representation that should be used to send to taskrouter from zendesk, all (queryParams, header, body) or default (body)
Data *ZendeskParamsData `form:"data,omitempty" json:"data,omitempty"`
}
ZendeskParams defines parameters for Zendesk.
type ZendeskParamsData ¶
type ZendeskParamsData string
ZendeskParamsData defines parameters for Zendesk.
const ( All ZendeskParamsData = "all" Default ZendeskParamsData = "default" )
Defines values for ZendeskParamsData.