Deprecated

Since 8.6. Please use C8RestClient instead.

Constructors

Properties

oAuthProvider: IOAuthProvider
rest: Promise<Got>
userAgentString: string

Methods

  • Parameters

    • __namedParameters: {
          action: string;
          allowOverride?: boolean;
          assignee: string;
          userTaskKey: string;
      }
      • action: string
      • Optional allowOverride?: boolean
      • assignee: string
      • userTaskKey: string

    Returns 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>>

  • Returns Promise<{
        accept: string;
        authorization: string;
        content-type: string;
        user-agent: string;
    }>

  • Parameters

    • __namedParameters: {
          userTaskKey: string;
      }
      • userTaskKey: string

    Returns Promise<Response<string>>

  • Update a user task with the given key.

    Parameters

    Returns Promise<Response<string>>

Generated using TypeDoc