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
//! API layer types - external-facing request and response types.
//!
//! These structs represent the API contract with clients.
//! They use ToSchema for OpenAPI documentation and may use camelCase serialization.
pub mod error;
pub mod property_target;
pub mod query_params;
pub mod requests;
pub mod responses;
pub use error::{
PropertyDefinitionValidationError, PropertyOptionValidationError, PropertyValueValidationError,
QueryParamValidationError,
};
pub use property_target::{PropertyTargetEntityType, PropertyTargetReference};
pub use query_params::{BulkEntityQueryParams, EntityQueryParams};
pub use requests::{
AddNumberOptionRequest, AddPropertyOptionRequest, AddStringOptionRequest,
CreatePropertyDefinitionRequest, CreatePropertyScope, PropertyDataType, SelectNumberOption,
SelectStringOption, SetPropertyValue, UpdatePropertyOptionRequest, is_valid_hex_color,
};
pub use responses::{
BulkEntityPropertiesResponse, EntityPropertiesResponse, EntityPropertyResponse,
EntityPropertyWithDefinitionResponse, PropertyDefinitionDetailResponse,
PropertyDefinitionWithOptionsResponse, PropertyOptionResponse, PropertyOptionValue,
PropertyValue,
};