Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* document_storage_service
* OpenAPI spec version: 0.1.0
*/
import type { GithubPullRequestAdditions } from './githubPullRequestAdditions';
import type { GithubPullRequestChecks } from './githubPullRequestChecks';
import type { GithubPullRequestComments } from './githubPullRequestComments';
import type { GithubPullRequestDeletions } from './githubPullRequestDeletions';
import type { GithubPullRequestForeignEntityId } from './githubPullRequestForeignEntityId';
import type { GithubPullRequestName } from './githubPullRequestName';
import type { GithubPullRequestStatus } from './githubPullRequestStatus';
/**
* Display-ready data for a GitHub pull request associated with a task.
*/
export interface GithubPullRequest {
/**
* The number of added lines in the pull request, when enrichment data is available.
* @minimum 0
*/
additions?: GithubPullRequestAdditions;
/** Check runs collected from the pull request head commit, when enrichment data is available. */
checks?: GithubPullRequestChecks;
/** Comments collected from the pull request, when enrichment data is available. */
comments?: GithubPullRequestComments;
/**
* The number of deleted lines in the pull request, when enrichment data is available.
* @minimum 0
*/
deletions?: GithubPullRequestDeletions;
/** A compact label suitable for display in the UI. */
displayName: string;
/** The internal `foreign_entity.id` UUID for the GitHub pull request row. */
foreignEntityId?: GithubPullRequestForeignEntityId;
/** The stored GitHub association key, in `owner/repo/pull/number` format. */
githubKey: string;
/** The GitHub pull request title, when enrichment data is available. */
name?: GithubPullRequestName;
/**
* The GitHub pull request number.
* @minimum 0
*/
number: number;
/** The GitHub repository owner or organization. */
owner: string;
/** The GitHub repository name. */
repo: string;
/** The GitHub pull request status, when enrichment data is available. */
status?: GithubPullRequestStatus;
/** The public GitHub URL for the pull request. */
url: string;
}