Properties
Private
rest
rest: Promise<Got>
Private
userAgentString
userAgentString: string
Methods
assignTask
- assignTask(__namedParameters): Promise<Response<string>>
Parameters
- __namedParameters: {
action: string;
allowOverride?: boolean;
assignee: string;
userTaskKey: string;
}action: string
Optional
allowOverride?: boolean
assignee: string
userTaskKey: string
Returns Promise<Response<string>>
completeUserTask
- completeUserTask(__namedParameters): Promise<Response<string>>
Parameters
- __namedParameters: {
action?: string;
userTaskKey: string;
variables?: Record<string, unknown>;
}Optional
action?: string
userTaskKey: string
Optional
variables?: Record<string, unknown>
Returns Promise<Response<string>>
Private
getHeaders
- getHeaders(): Promise<{
accept: string;
authorization: string;
content-type: string;
user-agent: string;
}> Returns Promise<{
accept: string;
authorization: string;
content-type: string;
user-agent: string;
}>
removeAssignee
- removeAssignee(__namedParameters): Promise<Response<string>>
Parameters
- __namedParameters: {
userTaskKey: string;
}
Returns Promise<Response<string>>
updateTask
- updateTask(__namedParameters): Promise<Response<string>>
Parameters
- __namedParameters: {
changeset: TaskChangeSet;
userTaskKey: string;
}
Returns Promise<Response<string>>
Deprecated
Since 8.6. Please use
C8RestClient
instead.