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.
* agent_harness_service
* OpenAPI spec version: 0.1.0
*/
import type { ChangedFileDto } from './changedFileDto';
import type { ChangesetDtoRepository } from './changesetDtoRepository';
import type { ChangesetSourceDto } from './changesetSourceDto';
import type { GitRefDto } from './gitRefDto';
/**
* One changeset: the files a patch touches and what happened to each.
Clients deserialize this, so both derives are used.
*/
export interface ChangesetDto {
/**
* Lines added across all files.
* @minimum 0
*/
additions: number;
/** The side the work started from. */
base: GitRefDto;
/** When the diff was taken. */
capturedAt: string;
/**
* Lines removed across all files.
* @minimum 0
*/
deletions: number;
/** Every changed file, in patch order. */
files: ChangedFileDto[];
/** The side carrying the work. */
head: GitRefDto;
/** The changeset's id; a different id means different changes. */
id: string;
/**
* Size of the patch the matching patch route serves; zero when nothing
changed.
* @minimum 0
*/
patchBytes: number;
/** `https://github.com/owner/name`, when known. */
repository?: ChangesetDtoRepository;
/** Where the diff was read from. */
source: ChangesetSourceDto;
/** Some files' hunks were left out of the patch. */
truncated: boolean;
}