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.
* authentication_service
* OpenAPI spec version: 0.1.0
*/
/**
* Response for `PATCH /team/crm`. Reports both the resulting state
and whether this call changed it; for the enable-flip case it also
reports the backfill fan-out tallies.
*/
export interface PatchTeamCrmSettingsResponse {
/**
* Number of members for whom a `PopulateCrmForUser` message was
enqueued. Non-zero only on a disabled → enabled transition;
per-user enqueue failures are logged and swallowed.
* @minimum 0
*/
backfill_enqueued: number;
/**
* Number of members whose enqueue failed (and was swallowed).
Non-zero only on a disabled → enabled transition.
* @minimum 0
*/
backfill_failed: number;
/** True if this call flipped the value (false → true or true →
false). False if the team was already at the requested state. */
changed: boolean;
/** The resulting `crm_enabled` value after the call. */
enabled: boolean;
}