@archastro/sdk
    Preparing search index...
    Index

    Constructors

    Methods

    • ApplyDrafts task Epic drafts

      Parameters

      • epic: string
      • input: {
            expected_drafts_version: number;
            removes?: string[];
            upserts?: {
                blocker_keys?: string[];
                blocker_tasks?: string[];
                description?: string;
                file_ids?: string[];
                initial_status?: "paused" | "open";
                key?: string;
                metadata?: Record<string, unknown>;
                name: string;
                priority?: number;
                tags?: string[];
            }[];
        }

        Request body.

      Returns Promise<TaskEpicDrafts>

      Successful response

    • PutDraft task Epic drafts

      Parameters

      • epic: string
      • key: string
      • input: {
            draft: {
                blocker_keys?: string[];
                blocker_tasks?: string[];
                description?: string;
                file_ids?: string[];
                initial_status?: "paused" | "open";
                key?: string;
                metadata?: Record<string, unknown>;
                name: string;
                priority?: number;
                tags?: string[];
            };
            expected_drafts_version: number;
        }

        Request body.

        • draft: {
              blocker_keys?: string[];
              blocker_tasks?: string[];
              description?: string;
              file_ids?: string[];
              initial_status?: "paused" | "open";
              key?: string;
              metadata?: Record<string, unknown>;
              name: string;
              priority?: number;
              tags?: string[];
          }

          Shared input boundary for batch and single Epic draft writes.

        • expected_drafts_version: number

      Returns Promise<TaskEpicDrafts>

      Successful response