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
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
syntax = "proto2";
package WAAICommonDeprecated;
option go_package = "go.mau.fi/whatsmeow/proto/waAICommonDeprecated";
enum AIRichResponseMessageType {
AI_RICH_RESPONSE_TYPE_UNKNOWN = 0;
AI_RICH_RESPONSE_TYPE_STANDARD = 1;
}
enum AIRichResponseSubMessageType {
AI_RICH_RESPONSE_UNKNOWN = 0;
AI_RICH_RESPONSE_GRID_IMAGE = 1;
AI_RICH_RESPONSE_TEXT = 2;
AI_RICH_RESPONSE_INLINE_IMAGE = 3;
AI_RICH_RESPONSE_TABLE = 4;
AI_RICH_RESPONSE_CODE = 5;
AI_RICH_RESPONSE_DYNAMIC = 6;
AI_RICH_RESPONSE_MAP = 7;
AI_RICH_RESPONSE_LATEX = 8;
AI_RICH_RESPONSE_CONTENT_ITEMS = 9;
}
message AIRichResponseInlineImageMetadata {
enum AIRichResponseImageAlignment {
AI_RICH_RESPONSE_IMAGE_LAYOUT_LEADING_ALIGNED = 0;
AI_RICH_RESPONSE_IMAGE_LAYOUT_TRAILING_ALIGNED = 1;
AI_RICH_RESPONSE_IMAGE_LAYOUT_CENTER_ALIGNED = 2;
}
optional AIRichResponseImageURL imageURL = 1;
optional string imageText = 2;
optional AIRichResponseImageAlignment alignment = 3;
optional string tapLinkURL = 4;
}
message AIRichResponseCodeMetadata {
enum AIRichResponseCodeHighlightType {
AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT = 0;
AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD = 1;
AI_RICH_RESPONSE_CODE_HIGHLIGHT_METHOD = 2;
AI_RICH_RESPONSE_CODE_HIGHLIGHT_STRING = 3;
AI_RICH_RESPONSE_CODE_HIGHLIGHT_NUMBER = 4;
AI_RICH_RESPONSE_CODE_HIGHLIGHT_COMMENT = 5;
}
message AIRichResponseCodeBlock {
optional AIRichResponseCodeHighlightType highlightType = 1;
optional string codeContent = 2;
}
optional string codeLanguage = 1;
repeated AIRichResponseCodeBlock codeBlocks = 2;
}
message AIRichResponseDynamicMetadata {
enum AIRichResponseDynamicMetadataType {
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_UNKNOWN = 0;
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_IMAGE = 1;
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_GIF = 2;
}
optional AIRichResponseDynamicMetadataType type = 1;
optional uint64 version = 2;
optional string URL = 3;
optional uint32 loopCount = 4;
}
message AIRichResponseContentItemsMetadata {
enum ContentType {
DEFAULT = 0;
CAROUSEL = 1;
}
message AIRichResponseContentItemMetadata {
oneof aIRichResponseContentItem {
AIRichResponseReelItem reelItem = 1;
}
}
message AIRichResponseReelItem {
optional string title = 1;
optional string profileIconURL = 2;
optional string thumbnailURL = 3;
optional string videoURL = 4;
}
repeated AIRichResponseContentItemMetadata itemsMetadata = 1;
optional ContentType contentType = 2;
}
message AIRichResponseImageURL {
optional string imagePreviewURL = 1;
optional string imageHighResURL = 2;
optional string sourceURL = 3;
}
message AIRichResponseGridImageMetadata {
optional AIRichResponseImageURL gridImageURL = 1;
repeated AIRichResponseImageURL imageURLs = 2;
}
message AIRichResponseTableMetadata {
message AIRichResponseTableRow {
repeated string items = 1;
optional bool isHeading = 2;
}
repeated AIRichResponseTableRow rows = 1;
optional string title = 2;
}
message AIRichResponseLatexMetadata {
message AIRichResponseLatexExpression {
optional string latexExpression = 1;
optional string URL = 2;
optional double width = 3;
optional double height = 4;
optional double fontHeight = 5;
optional double imageTopPadding = 6;
optional double imageLeadingPadding = 7;
optional double imageBottomPadding = 8;
optional double imageTrailingPadding = 9;
}
optional string text = 1;
repeated AIRichResponseLatexExpression expressions = 2;
}
message AIRichResponseMapMetadata {
message AIRichResponseMapAnnotation {
optional uint32 annotationNumber = 1;
optional double latitude = 2;
optional double longitude = 3;
optional string title = 4;
optional string body = 5;
}
optional double centerLatitude = 1;
optional double centerLongitude = 2;
optional double latitudeDelta = 3;
optional double longitudeDelta = 4;
repeated AIRichResponseMapAnnotation annotations = 5;
optional bool showInfoList = 6;
}
message AIRichResponseSubMessage {
optional AIRichResponseSubMessageType messageType = 1;
optional AIRichResponseGridImageMetadata gridImageMetadata = 2;
optional string messageText = 3;
optional AIRichResponseInlineImageMetadata imageMetadata = 4;
optional AIRichResponseCodeMetadata codeMetadata = 5;
optional AIRichResponseTableMetadata tableMetadata = 6;
optional AIRichResponseDynamicMetadata dynamicMetadata = 7;
optional AIRichResponseLatexMetadata latexMetadata = 8;
optional AIRichResponseMapMetadata mapMetadata = 9;
optional AIRichResponseContentItemsMetadata contentItemsMetadata = 10;
}