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 { UpdateCrmTeamSettingsRequestClosedStageIds } from './updateCrmTeamSettingsRequestClosedStageIds';
import type { UpdateCrmTeamSettingsRequestDefaultTeamViewId } from './updateCrmTeamSettingsRequestDefaultTeamViewId';
import type { UpdateCrmTeamSettingsRequestDeleteRecordsRole } from './updateCrmTeamSettingsRequestDeleteRecordsRole';
import type { UpdateCrmTeamSettingsRequestEditStagesRole } from './updateCrmTeamSettingsRequestEditStagesRole';
import type { UpdateCrmTeamSettingsRequestExcludePersonalEmails } from './updateCrmTeamSettingsRequestExcludePersonalEmails';
import type { UpdateCrmTeamSettingsRequestMoveClosedDealsRole } from './updateCrmTeamSettingsRequestMoveClosedDealsRole';
/**
* Request body for `PUT /crm/settings`. Every field is optional:
omitted fields keep their current values.
*/
export interface UpdateCrmTeamSettingsRequest {
/** New closed-stage set. Omit to keep the current value; pass
`null` to clear it (falling back to the client label heuristic). */
closed_stage_ids?: UpdateCrmTeamSettingsRequestClosedStageIds;
/** New default team view id. Omit to keep the current value; pass
`null` to clear it. */
default_team_view_id?: UpdateCrmTeamSettingsRequestDefaultTeamViewId;
delete_records_role?: UpdateCrmTeamSettingsRequestDeleteRecordsRole;
edit_stages_role?: UpdateCrmTeamSettingsRequestEditStagesRole;
/** Whether email sync keeps personal-provider addresses out of the
CRM. Admin/owner only. */
exclude_personal_emails?: UpdateCrmTeamSettingsRequestExcludePersonalEmails;
move_closed_deals_role?: UpdateCrmTeamSettingsRequestMoveClosedDealsRole;
/** Replacement team-views array (whole-blob, last write wins). */
team_views?: unknown;
}