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 { CreateChannelScopedBotRequestAvatarUrl } from './createChannelScopedBotRequestAvatarUrl';
import type { CreateChannelScopedBotRequestDescription } from './createChannelScopedBotRequestDescription';
import type { CreateChannelScopedBotRequestHasAgent } from './createChannelScopedBotRequestHasAgent';
import type { CreateChannelScopedBotRequestTeamId } from './createChannelScopedBotRequestTeamId';
import type { CreateChannelScopedBotRequestTokenExpiresAt } from './createChannelScopedBotRequestTokenExpiresAt';
import type { CreateChannelScopedBotRequestTokenLabel } from './createChannelScopedBotRequestTokenLabel';
/**
* Request to create a bot scoped to a channel.
*/
export interface CreateChannelScopedBotRequest {
/** Optional avatar URL. */
avatar_url?: CreateChannelScopedBotRequestAvatarUrl;
/** Optional description. */
description?: CreateChannelScopedBotRequestDescription;
/** Stable handle. */
handle: string;
/** Whether this bot runs as an AI agent: mentions and DMs start an agent session. Defaults to false. */
has_agent?: CreateChannelScopedBotRequestHasAgent;
/** Display name. */
name: string;
/** Team owner. The caller must be a team administrator or owner. Omit for a user-owned bot. */
team_id?: CreateChannelScopedBotRequestTeamId;
/** Optional token expiration timestamp. */
token_expires_at?: CreateChannelScopedBotRequestTokenExpiresAt;
/** Optional token label. */
token_label?: CreateChannelScopedBotRequestTokenLabel;
}